From 21e5cd7143cdc2fd4443bc465998a7c64cc026a8 Mon Sep 17 00:00:00 2001 From: Jonas Hungershausen Date: Tue, 26 Nov 2024 11:00:24 +0100 Subject: [PATCH] chore: upgrade ory client to 1.15.12 (#291) --- package-lock.json | 8 ++++---- packages/elements-react-stories/.storybook/global.css | 6 ++++++ packages/elements-react-stories/.storybook/preview.tsx | 1 + packages/elements-react/package.json | 2 +- 4 files changed, 12 insertions(+), 5 deletions(-) create mode 100644 packages/elements-react-stories/.storybook/global.css diff --git a/package-lock.json b/package-lock.json index c48202dc..03d0d512 100644 --- a/package-lock.json +++ b/package-lock.json @@ -33009,7 +33009,7 @@ "version": "1.0.0-next.15", "license": "Apache License 2.0", "dependencies": { - "@ory/client-fetch": "1.15.6", + "@ory/client-fetch": "^1.15.12", "@radix-ui/react-dropdown-menu": "2.1.2", "class-variance-authority": "0.7.0", "clsx": "2.1.1", @@ -33502,9 +33502,9 @@ } }, "packages/elements-react/node_modules/@ory/client-fetch": { - "version": "1.15.6", - "resolved": "https://registry.npmjs.org/@ory/client-fetch/-/client-fetch-1.15.6.tgz", - "integrity": "sha512-etWhiJC5kF/qbXugAtUHGi+8Z8L/v+dKXzkRA7jy90tlfSTVem+rmwCPtaH3KaLaYWQ4ltAjOh0LEOCetrE2sQ==", + "version": "1.15.12", + "resolved": "https://registry.npmjs.org/@ory/client-fetch/-/client-fetch-1.15.12.tgz", + "integrity": "sha512-oY6v1ywYfFH6DtgZG/bWLkn0elBUDkxBk9ToaaX3gF5WmwN2I37JKElteZGV7GchzA9uCUJ5BmWgHvRnv3hj3A==", "license": "Apache-2.0" }, "packages/elements-react/node_modules/@types/react": { diff --git a/packages/elements-react-stories/.storybook/global.css b/packages/elements-react-stories/.storybook/global.css new file mode 100644 index 00000000..b49350df --- /dev/null +++ b/packages/elements-react-stories/.storybook/global.css @@ -0,0 +1,6 @@ +/* Copyright © 2024 Ory Corp */ +/* SPDX-License-Identifier: Apache-2.0 */ + +html { + --font-sans: "Inter", "Helvetica Neue", "Helvetica", "Arial", sans-serif; +} diff --git a/packages/elements-react-stories/.storybook/preview.tsx b/packages/elements-react-stories/.storybook/preview.tsx index ed3c18ce..77c5df5f 100644 --- a/packages/elements-react-stories/.storybook/preview.tsx +++ b/packages/elements-react-stories/.storybook/preview.tsx @@ -5,6 +5,7 @@ import type { Decorator, Preview } from "@storybook/react" import { chromaticModes } from "./modes" import "@ory/elements-react/theme/styles.css" import { merge } from "lodash" +import "./global.css" const preview: Preview = { parameters: { diff --git a/packages/elements-react/package.json b/packages/elements-react/package.json index 239abcc2..0c14d34a 100644 --- a/packages/elements-react/package.json +++ b/packages/elements-react/package.json @@ -36,7 +36,7 @@ "module": "./dist/index.mjs", "types": "./dist/index.d.ts", "dependencies": { - "@ory/client-fetch": "1.15.6", + "@ory/client-fetch": "^1.15.12", "@radix-ui/react-dropdown-menu": "2.1.2", "class-variance-authority": "0.7.0", "clsx": "2.1.1",