@stytch/react 20.0.0-next.8 → 20.0.1

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,76 +1,32 @@
1
1
  # @stytch/react
2
2
 
3
- ## 20.0.0-next.8
3
+ ## 20.0.1
4
4
 
5
5
  ### Patch Changes
6
6
 
7
- - Fix OneTap mounting in StrictMode
7
+ - 3d08061: Fix package issue
8
8
 
9
- ## 20.0.0-next.7
10
-
11
- ### Patch Changes
12
-
13
- - Update watermark
14
-
15
- ## 20.0.0-next.6
16
-
17
- ### Patch Changes
18
-
19
- - Improve style isolation
20
-
21
- ## 20.0.0-next.5
22
-
23
- ### Patch Changes
24
-
25
- - Fix typo
26
-
27
- ## 20.0.0-next.4
28
-
29
- ### Patch Changes
30
-
31
- - Beta bug fixes, add buttonId option
32
-
33
- ## 20.0.0-next.3
34
-
35
- ### Patch Changes
36
-
37
- - Various beta bug fixes
38
-
39
- ## 20.0.0-next.2
40
-
41
- ### Patch Changes
42
-
43
- - Beta bug fixes
44
-
45
- ## 20.0.0-next.1
46
-
47
- ### Patch Changes
48
-
49
- - 76ae314: Beta bug fixes
50
-
51
- ## 20.0.0-next.0
52
-
53
- ### Major Changes
9
+ ## 6.0.0
54
10
 
55
- - 872ebff: ## Stytch UI redesign preview
11
+ This is a major release, containing a redesign of our frontend components and package structure.
56
12
 
57
- This is the beta for our major Stytch prebuilt UI component redesign.
13
+ **We recommend [reading our upgrade guide](https://stytch.com/docs/api-reference/consumer/frontend-sdks/nextjs/upgrade-guide) when updating to this version**.
58
14
 
59
- ### Breaking changes
15
+ ### Breaking changes
60
16
 
61
- - @stytch/vanilla-js is no longer required if you use @stytch/react and @stytch/nextjs
62
- - Code is now transpiled only up to browser support level to reduce sizes
63
- - See migration guide for more details
17
+ - `@stytch/vanilla-js` is no longer required. All imports from vanilla-js should be made through @stytch/react or @stytch/nextjs if you use those SDKs
18
+ - `config.products` must use `Products` and `B2BProducts` enum, not strings
19
+ - Styling is now done through a new presentation configuration object
20
+ - Code is now transpiled only up to our browser support level to reduce sizes
64
21
 
65
- ### Notable changes
22
+ ### Update highlights
66
23
 
67
- - Components have been redesigned to match modern design systems like shadcn. The new design is less opinionated to fit the designs of more sites while also being more customizable.
68
- - All components have been reviewed and updated for accessibility
69
- - Tree shaking now works for consumer components to reduce bundle size
70
- - React and Next.js components no longer use Preact as renderer
71
- - Components can automatically switch between light and dark mode depending on the user's OS color scheme
72
- - @stytch/vanilla-js now exports standard web components (custom element), allowing for easy integration with other frameworks like Vue.js and Svelte
73
- - Clientside validation for configs now only occur in development build to reduce bundle size from validation message strings
24
+ - Redesigned frontend components that are more modern, accessible and configurable
25
+ - Components have now been reviewed and tested for accessibility
26
+ - shadcn UI theming compatibility out of the box
27
+ - Automatic light / dark mode switching now supported
28
+ - Significantly smaller bundle sizes through modern transpilation targets and tree shaking
29
+ - Clientside validation for configs now only occur in development build to reduce bundle size from validation message strings
74
30
 
75
31
  ## 19.18.1
76
32
 
@@ -36081,35 +36081,35 @@ const useDeleteConnection = ({ onConfirm } = {})=>{
36081
36081
  const deepEqual = StytchSSRProxy.createDeepEqual();
36082
36082
 
36083
36083
  const adminPortalAssets = {
36084
- "oktaSamlSettingsConfig": "files/admin-portal/okta-saml-settings-config.049ebf3598cc.png",
36085
- "oktaSamlGetMetadataUrl": "files/admin-portal/okta-saml-get-metadata-url.310a36ea0837.png",
36086
- "oktaOidcAppType": "files/admin-portal/okta-oidc-app-type.2172f86151db.png",
36087
- "oktaGrantType": "files/admin-portal/okta-grant-type.0bbe2086ef52.png",
36088
- "oktaCreateAppIntegration": "files/admin-portal/okta-create-app-integration.46221fab936f.png",
36089
- "oktaClientSecret": "files/admin-portal/okta-client-secret.bb3ddf78497b.png",
36090
- "oktaAssign": "files/admin-portal/okta-assign.77e9445e9acb.png",
36091
- "oktaAccessType": "files/admin-portal/okta-access-type.58ef0aa94ef1.png",
36092
- "googleUserAccess": "files/admin-portal/google-user-access.4e4479da549e.png",
36093
- "googleSamlSpDetails": "files/admin-portal/google-saml-sp-details.9c783667840d.png",
36094
- "googleSamlConfigInfo": "files/admin-portal/google-saml-config-info.09f18e61cce4.png",
36095
- "googleAppsTab": "files/admin-portal/google-apps-tab.cbc30bc52b34.png",
36096
- "googleAddSamlApp": "files/admin-portal/google-add-saml-app.07f9157ae4bb.png",
36097
- "googleAccessOn": "files/admin-portal/google-access-on.58368c19de00.png",
36098
- "entraSetupSso": "files/admin-portal/entra-setup-sso.496e93f748d0.png",
36099
- "entraSamlMetadataUrl": "files/admin-portal/entra-saml-metadata-url.0fbcdb6ddcf6.png",
36100
- "entraOidcSecretValue": "files/admin-portal/entra-oidc-secret-value.6bfcfc829897.png",
36101
- "entraOidcRegisterApp": "files/admin-portal/entra-oidc-register-app.0ac40c5381a7.png",
36102
- "entraOidcNewClientSecret": "files/admin-portal/entra-oidc-new-client-secret.d73205af2795.png",
36103
- "entraOidcConfigureRedirectUri": "files/admin-portal/entra-oidc-configure-redirect-uri.5b379bc58e5b.png",
36104
- "entraOidcClientIdAndIssuer": "files/admin-portal/entra-oidc-client-id-and-issuer.6090565bf994.png",
36105
- "entraOidcAuthSetup": "files/admin-portal/entra-oidc-auth-setup.8f8319db81e9.png",
36106
- "entraOidcAppRegistrations": "files/admin-portal/entra-oidc-app-registrations.8eb337ec38b7.png",
36107
- "entraEditNameidClaim": "files/admin-portal/entra-edit-nameid-claim.1ced8152c89d.png",
36108
- "entraCreateOwnApp": "files/admin-portal/entra-create-own-app.7cc98a7d5c53.png",
36109
- "entraCreateNewApplication": "files/admin-portal/entra-create-new-application.1344b6b515b5.png",
36110
- "entraBasicSamlConfig": "files/admin-portal/entra-basic-saml-config.65a1e3a8120d.png",
36111
- "entraAttributesAndClaims": "files/admin-portal/entra-attributes-and-claims.e6c5f9b4efb9.png",
36112
- "entraAddUsersAndGroups": "files/admin-portal/entra-add-users-and-groups.949270ce6d26.png"};
36084
+ "oktaSamlSettingsConfig": "https://js.stytch.com/sdk-assets/admin-portal/okta-saml-settings-config.049ebf3598cc.png",
36085
+ "oktaSamlGetMetadataUrl": "https://js.stytch.com/sdk-assets/admin-portal/okta-saml-get-metadata-url.310a36ea0837.png",
36086
+ "oktaOidcAppType": "https://js.stytch.com/sdk-assets/admin-portal/okta-oidc-app-type.2172f86151db.png",
36087
+ "oktaGrantType": "https://js.stytch.com/sdk-assets/admin-portal/okta-grant-type.0bbe2086ef52.png",
36088
+ "oktaCreateAppIntegration": "https://js.stytch.com/sdk-assets/admin-portal/okta-create-app-integration.46221fab936f.png",
36089
+ "oktaClientSecret": "https://js.stytch.com/sdk-assets/admin-portal/okta-client-secret.bb3ddf78497b.png",
36090
+ "oktaAssign": "https://js.stytch.com/sdk-assets/admin-portal/okta-assign.77e9445e9acb.png",
36091
+ "oktaAccessType": "https://js.stytch.com/sdk-assets/admin-portal/okta-access-type.58ef0aa94ef1.png",
36092
+ "googleUserAccess": "https://js.stytch.com/sdk-assets/admin-portal/google-user-access.4e4479da549e.png",
36093
+ "googleSamlSpDetails": "https://js.stytch.com/sdk-assets/admin-portal/google-saml-sp-details.9c783667840d.png",
36094
+ "googleSamlConfigInfo": "https://js.stytch.com/sdk-assets/admin-portal/google-saml-config-info.09f18e61cce4.png",
36095
+ "googleAppsTab": "https://js.stytch.com/sdk-assets/admin-portal/google-apps-tab.cbc30bc52b34.png",
36096
+ "googleAddSamlApp": "https://js.stytch.com/sdk-assets/admin-portal/google-add-saml-app.07f9157ae4bb.png",
36097
+ "googleAccessOn": "https://js.stytch.com/sdk-assets/admin-portal/google-access-on.58368c19de00.png",
36098
+ "entraSetupSso": "https://js.stytch.com/sdk-assets/admin-portal/entra-setup-sso.496e93f748d0.png",
36099
+ "entraSamlMetadataUrl": "https://js.stytch.com/sdk-assets/admin-portal/entra-saml-metadata-url.0fbcdb6ddcf6.png",
36100
+ "entraOidcSecretValue": "https://js.stytch.com/sdk-assets/admin-portal/entra-oidc-secret-value.6bfcfc829897.png",
36101
+ "entraOidcRegisterApp": "https://js.stytch.com/sdk-assets/admin-portal/entra-oidc-register-app.0ac40c5381a7.png",
36102
+ "entraOidcNewClientSecret": "https://js.stytch.com/sdk-assets/admin-portal/entra-oidc-new-client-secret.d73205af2795.png",
36103
+ "entraOidcConfigureRedirectUri": "https://js.stytch.com/sdk-assets/admin-portal/entra-oidc-configure-redirect-uri.5b379bc58e5b.png",
36104
+ "entraOidcClientIdAndIssuer": "https://js.stytch.com/sdk-assets/admin-portal/entra-oidc-client-id-and-issuer.6090565bf994.png",
36105
+ "entraOidcAuthSetup": "https://js.stytch.com/sdk-assets/admin-portal/entra-oidc-auth-setup.8f8319db81e9.png",
36106
+ "entraOidcAppRegistrations": "https://js.stytch.com/sdk-assets/admin-portal/entra-oidc-app-registrations.8eb337ec38b7.png",
36107
+ "entraEditNameidClaim": "https://js.stytch.com/sdk-assets/admin-portal/entra-edit-nameid-claim.1ced8152c89d.png",
36108
+ "entraCreateOwnApp": "https://js.stytch.com/sdk-assets/admin-portal/entra-create-own-app.7cc98a7d5c53.png",
36109
+ "entraCreateNewApplication": "https://js.stytch.com/sdk-assets/admin-portal/entra-create-new-application.1344b6b515b5.png",
36110
+ "entraBasicSamlConfig": "https://js.stytch.com/sdk-assets/admin-portal/entra-basic-saml-config.65a1e3a8120d.png",
36111
+ "entraAttributesAndClaims": "https://js.stytch.com/sdk-assets/admin-portal/entra-attributes-and-claims.e6c5f9b4efb9.png",
36112
+ "entraAddUsersAndGroups": "https://js.stytch.com/sdk-assets/admin-portal/entra-add-users-and-groups.949270ce6d26.png"};
36113
36113
 
36114
36114
  const Instruction = ({ children })=>/*#__PURE__*/ React__namespace.default.createElement(Typography, {
36115
36115
  variant: "body2"