@ory/elements-react 1.0.0-next.5 → 1.0.0-next.6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md CHANGED
@@ -1,5 +1,16 @@
1
- ## 1.0.0-next.5 (2024-09-17)
1
+ ## 1.0.0-next.6 (2024-09-18)
2
+
3
+
4
+ ### 🩹 Fixes
5
+
6
+ - **intl:** export locales object from package root
7
+
8
+
9
+ ### ❤️ Thank You
10
+
11
+ - Jonas Hungershausen
2
12
 
13
+ ## 1.0.0-next.5 (2024-09-17)
3
14
 
4
15
  ### 🚀 Features
5
16
 
@@ -7,7 +18,6 @@
7
18
 
8
19
  - **theme:** show resend code button on top of code input
9
20
 
10
-
11
21
  ### 🩹 Fixes
12
22
 
13
23
  - **core:** use SDK instead of HTML form submissions
@@ -16,7 +26,7 @@
16
26
 
17
27
  - **core:** code form submission precendence
18
28
 
19
- - ⚠️ **theme:** scope css classes with .ory-default-theme
29
+ - ⚠️ **theme:** scope css classes with .ory-default-theme
20
30
 
21
31
  - **theme:** social sign in button styling
22
32
 
@@ -24,12 +34,11 @@
24
34
 
25
35
  - **core:** passkey script discovery
26
36
 
37
+ #### ⚠️ Breaking Changes
27
38
 
28
- #### ⚠️ Breaking Changes
29
-
30
- - ⚠️ **theme:** scope css classes with .ory-default-theme
39
+ - ⚠️ **theme:** scope css classes with .ory-default-theme
31
40
 
32
- ### ❤️ Thank You
41
+ ### ❤️ Thank You
33
42
 
34
43
  - Jonas Hungershausen
35
- - Miłosz
44
+ - Miłosz
package/dist/index.d.mts CHANGED
@@ -1772,4 +1772,4 @@ declare function onSubmitVerification({ config, flow }: FlowContainer, { setFlow
1772
1772
  */
1773
1773
  declare function onSubmitRegistration({ config, flow }: FlowContainer, { setFlowContainer, body, onRedirect, }: OnSubmitHandlerProps<UpdateRegistrationFlowBody>): Promise<void>;
1774
1774
 
1775
- export { type CustomLanguageFormats, type CustomTranslations, type ErrorFlowContainer, type FlowContainer, type FlowContainerSetter, type FlowContextValue, type FormValues, type HeadlessAuthMethodListItemProps, type HeadlessButtonProps, type HeadlessFormProps, type HeadlessGroupContainerProps, type HeadlessGroupProps, type HeadlessImageProps, type HeadlessInputProps, type HeadlessLabelProps, type HeadlessLinkButtonProps, HeadlessMessage, type HeadlessMessageProps, type HeadlessMessagesProps, type HeadlessSocialButtonContainerProps, type HeadlessSocialButtonProps, type HeadlessSocialButtonsProps, type HeadlessTextProps, type HorizontalDividerProps, IntlProvider, type IntlProviderProps, LanguageCodes, type Locale, type LoginFlowContainer, type OnSubmitHandlerProps, OryCard, type OryCardComponents, OryCardContent, type OryCardContentProps, OryCardFooter, type OryCardFooterProps, OryCardHeader, type OryCardHeaderProps, type OryCardProps, OryCardValidationMessages, type OryClientConfiguration, OryComponentProvider, type OryFlowComponents, OryFlowProvider, type OryFlowProviderProps, OryForm, type OryFormComponents, OryFormGroupDivider, OryFormGroups, type OryFormProps, OryFormSocialButtons, OryProvider, type ProviderProps, type RecoveryFlowContainer, type RegistrationFlowContainer, type SettingsFlowContainer, type SupportedTranslations, type TranslationFile, type VerificationFlowContainer, formElementId, formLabelId, formatMessage, isCustomTranslations, messageTestId, onSubmitLogin, onSubmitRecovery, onSubmitRegistration, onSubmitSettings, onSubmitVerification, uiTextToFormattedMessage, useComponents, useNodeSorter, useOryFlow };
1775
+ export { type CustomLanguageFormats, type CustomTranslations, type ErrorFlowContainer, type FlowContainer, type FlowContainerSetter, type FlowContextValue, type FormValues, type HeadlessAuthMethodListItemProps, type HeadlessButtonProps, type HeadlessFormProps, type HeadlessGroupContainerProps, type HeadlessGroupProps, type HeadlessImageProps, type HeadlessInputProps, type HeadlessLabelProps, type HeadlessLinkButtonProps, HeadlessMessage, type HeadlessMessageProps, type HeadlessMessagesProps, type HeadlessSocialButtonContainerProps, type HeadlessSocialButtonProps, type HeadlessSocialButtonsProps, type HeadlessTextProps, type HorizontalDividerProps, IntlProvider, type IntlProviderProps, LanguageCodes, type Locale, type LoginFlowContainer, type OnSubmitHandlerProps, OryCard, type OryCardComponents, OryCardContent, type OryCardContentProps, OryCardFooter, type OryCardFooterProps, OryCardHeader, type OryCardHeaderProps, type OryCardProps, OryCardValidationMessages, type OryClientConfiguration, OryComponentProvider, type OryFlowComponents, OryFlowProvider, type OryFlowProviderProps, OryForm, type OryFormComponents, OryFormGroupDivider, OryFormGroups, type OryFormProps, OryFormSocialButtons, locales as OryLocales, OryProvider, type ProviderProps, type RecoveryFlowContainer, type RegistrationFlowContainer, type SettingsFlowContainer, type SupportedTranslations, type TranslationFile, type VerificationFlowContainer, formElementId, formLabelId, formatMessage, isCustomTranslations, messageTestId, onSubmitLogin, onSubmitRecovery, onSubmitRegistration, onSubmitSettings, onSubmitVerification, uiTextToFormattedMessage, useComponents, useNodeSorter, useOryFlow };
package/dist/index.d.ts CHANGED
@@ -1772,4 +1772,4 @@ declare function onSubmitVerification({ config, flow }: FlowContainer, { setFlow
1772
1772
  */
1773
1773
  declare function onSubmitRegistration({ config, flow }: FlowContainer, { setFlowContainer, body, onRedirect, }: OnSubmitHandlerProps<UpdateRegistrationFlowBody>): Promise<void>;
1774
1774
 
1775
- export { type CustomLanguageFormats, type CustomTranslations, type ErrorFlowContainer, type FlowContainer, type FlowContainerSetter, type FlowContextValue, type FormValues, type HeadlessAuthMethodListItemProps, type HeadlessButtonProps, type HeadlessFormProps, type HeadlessGroupContainerProps, type HeadlessGroupProps, type HeadlessImageProps, type HeadlessInputProps, type HeadlessLabelProps, type HeadlessLinkButtonProps, HeadlessMessage, type HeadlessMessageProps, type HeadlessMessagesProps, type HeadlessSocialButtonContainerProps, type HeadlessSocialButtonProps, type HeadlessSocialButtonsProps, type HeadlessTextProps, type HorizontalDividerProps, IntlProvider, type IntlProviderProps, LanguageCodes, type Locale, type LoginFlowContainer, type OnSubmitHandlerProps, OryCard, type OryCardComponents, OryCardContent, type OryCardContentProps, OryCardFooter, type OryCardFooterProps, OryCardHeader, type OryCardHeaderProps, type OryCardProps, OryCardValidationMessages, type OryClientConfiguration, OryComponentProvider, type OryFlowComponents, OryFlowProvider, type OryFlowProviderProps, OryForm, type OryFormComponents, OryFormGroupDivider, OryFormGroups, type OryFormProps, OryFormSocialButtons, OryProvider, type ProviderProps, type RecoveryFlowContainer, type RegistrationFlowContainer, type SettingsFlowContainer, type SupportedTranslations, type TranslationFile, type VerificationFlowContainer, formElementId, formLabelId, formatMessage, isCustomTranslations, messageTestId, onSubmitLogin, onSubmitRecovery, onSubmitRegistration, onSubmitSettings, onSubmitVerification, uiTextToFormattedMessage, useComponents, useNodeSorter, useOryFlow };
1775
+ export { type CustomLanguageFormats, type CustomTranslations, type ErrorFlowContainer, type FlowContainer, type FlowContainerSetter, type FlowContextValue, type FormValues, type HeadlessAuthMethodListItemProps, type HeadlessButtonProps, type HeadlessFormProps, type HeadlessGroupContainerProps, type HeadlessGroupProps, type HeadlessImageProps, type HeadlessInputProps, type HeadlessLabelProps, type HeadlessLinkButtonProps, HeadlessMessage, type HeadlessMessageProps, type HeadlessMessagesProps, type HeadlessSocialButtonContainerProps, type HeadlessSocialButtonProps, type HeadlessSocialButtonsProps, type HeadlessTextProps, type HorizontalDividerProps, IntlProvider, type IntlProviderProps, LanguageCodes, type Locale, type LoginFlowContainer, type OnSubmitHandlerProps, OryCard, type OryCardComponents, OryCardContent, type OryCardContentProps, OryCardFooter, type OryCardFooterProps, OryCardHeader, type OryCardHeaderProps, type OryCardProps, OryCardValidationMessages, type OryClientConfiguration, OryComponentProvider, type OryFlowComponents, OryFlowProvider, type OryFlowProviderProps, OryForm, type OryFormComponents, OryFormGroupDivider, OryFormGroups, type OryFormProps, OryFormSocialButtons, locales as OryLocales, OryProvider, type ProviderProps, type RecoveryFlowContainer, type RegistrationFlowContainer, type SettingsFlowContainer, type SupportedTranslations, type TranslationFile, type VerificationFlowContainer, formElementId, formLabelId, formatMessage, isCustomTranslations, messageTestId, onSubmitLogin, onSubmitRecovery, onSubmitRegistration, onSubmitSettings, onSubmitVerification, uiTextToFormattedMessage, useComponents, useNodeSorter, useOryFlow };
package/dist/index.js CHANGED
@@ -1711,7 +1711,7 @@ function OryProvider({
1711
1711
  ...props
1712
1712
  }) {
1713
1713
  const { locale, defaultLocale, ...oryFlowProps } = props;
1714
- return /* @__PURE__ */ jsxRuntime.jsx(IntlProvider, { locale: locale != null ? locale : "sv", defaultLocale: defaultLocale != null ? defaultLocale : "en", children: /* @__PURE__ */ jsxRuntime.jsx(OryFlowProvider, { ...oryFlowProps, children: /* @__PURE__ */ jsxRuntime.jsx(OryComponentProvider, { components: Components, children }) }) });
1714
+ return /* @__PURE__ */ jsxRuntime.jsx(IntlProvider, { locale: locale != null ? locale : "en", defaultLocale: defaultLocale != null ? defaultLocale : "en", children: /* @__PURE__ */ jsxRuntime.jsx(OryFlowProvider, { ...oryFlowProps, children: /* @__PURE__ */ jsxRuntime.jsx(OryComponentProvider, { components: Components, children }) }) });
1715
1715
  }
1716
1716
 
1717
1717
  // src/util/ui/index.ts
@@ -2415,6 +2415,7 @@ exports.OryForm = OryForm;
2415
2415
  exports.OryFormGroupDivider = OryFormGroupDivider;
2416
2416
  exports.OryFormGroups = OryFormGroups;
2417
2417
  exports.OryFormSocialButtons = OryFormSocialButtons;
2418
+ exports.OryLocales = locales_exports;
2418
2419
  exports.OryProvider = OryProvider;
2419
2420
  exports.formElementId = formElementId;
2420
2421
  exports.formLabelId = formLabelId;