@stytch/vanilla-js 6.0.0-next.8 → 6.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,34 @@
1
1
  # @stytch/vanilla-js
2
2
 
3
- ## 6.0.0-next.8
3
+ ## 6.0.1
4
4
 
5
5
  ### Patch Changes
6
6
 
7
- - Fix OneTap mounting in StrictMode
7
+ - 3d08061: Fix package issue
8
8
 
9
- ## 6.0.0-next.7
9
+ ## 6.0.0
10
10
 
11
- ### Patch Changes
12
-
13
- - Update watermark
14
-
15
- ## 6.0.0-next.6
16
-
17
- ### Patch Changes
18
-
19
- - Improve style isolation
20
-
21
- ## 6.0.0-next.5
22
-
23
- ### Patch Changes
24
-
25
- - Fix typo
26
-
27
- ## 6.0.0-next.4
28
-
29
- ### Patch Changes
30
-
31
- - Beta bug fixes, add buttonId option
32
-
33
- ## 6.0.0-next.3
34
-
35
- ### Patch Changes
36
-
37
- - Various beta bug fixes
38
-
39
- ## 6.0.0-next.2
40
-
41
- ### Patch Changes
42
-
43
- - Beta bug fixes
44
-
45
- ## 6.0.0-next.1
46
-
47
- ### Patch Changes
48
-
49
- - 76ae314: Beta bug fixes
50
-
51
- ## 6.0.0-next.0
52
-
53
- ### Major Changes
54
-
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/vanilla-js/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` now ships standard custom elements which need to be registered before usage
18
+ - `@stytch/vanilla-js/ui` is now merged into the main export
19
+ - `config.products` must use `Products` and `B2BProducts` enum, not strings
20
+ - Styling is now done through a new presentation configuration object
21
+ - Code is now transpiled only up to our browser support level to reduce sizes
64
22
 
65
- ### Notable changes
23
+ ### Update highlights
66
24
 
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
25
+ - Redesigned frontend components that are more modern, accessible and configurable
26
+ - Components have now been reviewed and tested for accessibility
27
+ - shadcn UI theming compatibility out of the box
28
+ - Automatic light / dark mode switching now supported
29
+ - Significantly smaller bundle sizes through modern transpilation targets and tree shaking
30
+ - Clientside validation for configs now only occur in development build to reduce bundle size from validation message strings
31
+ - @stytch/vanilla-js now exports standard web components (custom element), allowing for easy integration with other frameworks like Vue.js and Svelte
74
32
 
75
33
  ## 5.45.0
76
34
 
@@ -36057,35 +36057,35 @@ const useDeleteConnection = ({ onConfirm } = {})=>{
36057
36057
  const deepEqual = storage.createDeepEqual();
36058
36058
 
36059
36059
  const adminPortalAssets = {
36060
- "oktaSamlSettingsConfig": "files/admin-portal/okta-saml-settings-config.049ebf3598cc.png",
36061
- "oktaSamlGetMetadataUrl": "files/admin-portal/okta-saml-get-metadata-url.310a36ea0837.png",
36062
- "oktaOidcAppType": "files/admin-portal/okta-oidc-app-type.2172f86151db.png",
36063
- "oktaGrantType": "files/admin-portal/okta-grant-type.0bbe2086ef52.png",
36064
- "oktaCreateAppIntegration": "files/admin-portal/okta-create-app-integration.46221fab936f.png",
36065
- "oktaClientSecret": "files/admin-portal/okta-client-secret.bb3ddf78497b.png",
36066
- "oktaAssign": "files/admin-portal/okta-assign.77e9445e9acb.png",
36067
- "oktaAccessType": "files/admin-portal/okta-access-type.58ef0aa94ef1.png",
36068
- "googleUserAccess": "files/admin-portal/google-user-access.4e4479da549e.png",
36069
- "googleSamlSpDetails": "files/admin-portal/google-saml-sp-details.9c783667840d.png",
36070
- "googleSamlConfigInfo": "files/admin-portal/google-saml-config-info.09f18e61cce4.png",
36071
- "googleAppsTab": "files/admin-portal/google-apps-tab.cbc30bc52b34.png",
36072
- "googleAddSamlApp": "files/admin-portal/google-add-saml-app.07f9157ae4bb.png",
36073
- "googleAccessOn": "files/admin-portal/google-access-on.58368c19de00.png",
36074
- "entraSetupSso": "files/admin-portal/entra-setup-sso.496e93f748d0.png",
36075
- "entraSamlMetadataUrl": "files/admin-portal/entra-saml-metadata-url.0fbcdb6ddcf6.png",
36076
- "entraOidcSecretValue": "files/admin-portal/entra-oidc-secret-value.6bfcfc829897.png",
36077
- "entraOidcRegisterApp": "files/admin-portal/entra-oidc-register-app.0ac40c5381a7.png",
36078
- "entraOidcNewClientSecret": "files/admin-portal/entra-oidc-new-client-secret.d73205af2795.png",
36079
- "entraOidcConfigureRedirectUri": "files/admin-portal/entra-oidc-configure-redirect-uri.5b379bc58e5b.png",
36080
- "entraOidcClientIdAndIssuer": "files/admin-portal/entra-oidc-client-id-and-issuer.6090565bf994.png",
36081
- "entraOidcAuthSetup": "files/admin-portal/entra-oidc-auth-setup.8f8319db81e9.png",
36082
- "entraOidcAppRegistrations": "files/admin-portal/entra-oidc-app-registrations.8eb337ec38b7.png",
36083
- "entraEditNameidClaim": "files/admin-portal/entra-edit-nameid-claim.1ced8152c89d.png",
36084
- "entraCreateOwnApp": "files/admin-portal/entra-create-own-app.7cc98a7d5c53.png",
36085
- "entraCreateNewApplication": "files/admin-portal/entra-create-new-application.1344b6b515b5.png",
36086
- "entraBasicSamlConfig": "files/admin-portal/entra-basic-saml-config.65a1e3a8120d.png",
36087
- "entraAttributesAndClaims": "files/admin-portal/entra-attributes-and-claims.e6c5f9b4efb9.png",
36088
- "entraAddUsersAndGroups": "files/admin-portal/entra-add-users-and-groups.949270ce6d26.png"};
36060
+ "oktaSamlSettingsConfig": "https://js.stytch.com/sdk-assets/admin-portal/okta-saml-settings-config.049ebf3598cc.png",
36061
+ "oktaSamlGetMetadataUrl": "https://js.stytch.com/sdk-assets/admin-portal/okta-saml-get-metadata-url.310a36ea0837.png",
36062
+ "oktaOidcAppType": "https://js.stytch.com/sdk-assets/admin-portal/okta-oidc-app-type.2172f86151db.png",
36063
+ "oktaGrantType": "https://js.stytch.com/sdk-assets/admin-portal/okta-grant-type.0bbe2086ef52.png",
36064
+ "oktaCreateAppIntegration": "https://js.stytch.com/sdk-assets/admin-portal/okta-create-app-integration.46221fab936f.png",
36065
+ "oktaClientSecret": "https://js.stytch.com/sdk-assets/admin-portal/okta-client-secret.bb3ddf78497b.png",
36066
+ "oktaAssign": "https://js.stytch.com/sdk-assets/admin-portal/okta-assign.77e9445e9acb.png",
36067
+ "oktaAccessType": "https://js.stytch.com/sdk-assets/admin-portal/okta-access-type.58ef0aa94ef1.png",
36068
+ "googleUserAccess": "https://js.stytch.com/sdk-assets/admin-portal/google-user-access.4e4479da549e.png",
36069
+ "googleSamlSpDetails": "https://js.stytch.com/sdk-assets/admin-portal/google-saml-sp-details.9c783667840d.png",
36070
+ "googleSamlConfigInfo": "https://js.stytch.com/sdk-assets/admin-portal/google-saml-config-info.09f18e61cce4.png",
36071
+ "googleAppsTab": "https://js.stytch.com/sdk-assets/admin-portal/google-apps-tab.cbc30bc52b34.png",
36072
+ "googleAddSamlApp": "https://js.stytch.com/sdk-assets/admin-portal/google-add-saml-app.07f9157ae4bb.png",
36073
+ "googleAccessOn": "https://js.stytch.com/sdk-assets/admin-portal/google-access-on.58368c19de00.png",
36074
+ "entraSetupSso": "https://js.stytch.com/sdk-assets/admin-portal/entra-setup-sso.496e93f748d0.png",
36075
+ "entraSamlMetadataUrl": "https://js.stytch.com/sdk-assets/admin-portal/entra-saml-metadata-url.0fbcdb6ddcf6.png",
36076
+ "entraOidcSecretValue": "https://js.stytch.com/sdk-assets/admin-portal/entra-oidc-secret-value.6bfcfc829897.png",
36077
+ "entraOidcRegisterApp": "https://js.stytch.com/sdk-assets/admin-portal/entra-oidc-register-app.0ac40c5381a7.png",
36078
+ "entraOidcNewClientSecret": "https://js.stytch.com/sdk-assets/admin-portal/entra-oidc-new-client-secret.d73205af2795.png",
36079
+ "entraOidcConfigureRedirectUri": "https://js.stytch.com/sdk-assets/admin-portal/entra-oidc-configure-redirect-uri.5b379bc58e5b.png",
36080
+ "entraOidcClientIdAndIssuer": "https://js.stytch.com/sdk-assets/admin-portal/entra-oidc-client-id-and-issuer.6090565bf994.png",
36081
+ "entraOidcAuthSetup": "https://js.stytch.com/sdk-assets/admin-portal/entra-oidc-auth-setup.8f8319db81e9.png",
36082
+ "entraOidcAppRegistrations": "https://js.stytch.com/sdk-assets/admin-portal/entra-oidc-app-registrations.8eb337ec38b7.png",
36083
+ "entraEditNameidClaim": "https://js.stytch.com/sdk-assets/admin-portal/entra-edit-nameid-claim.1ced8152c89d.png",
36084
+ "entraCreateOwnApp": "https://js.stytch.com/sdk-assets/admin-portal/entra-create-own-app.7cc98a7d5c53.png",
36085
+ "entraCreateNewApplication": "https://js.stytch.com/sdk-assets/admin-portal/entra-create-new-application.1344b6b515b5.png",
36086
+ "entraBasicSamlConfig": "https://js.stytch.com/sdk-assets/admin-portal/entra-basic-saml-config.65a1e3a8120d.png",
36087
+ "entraAttributesAndClaims": "https://js.stytch.com/sdk-assets/admin-portal/entra-attributes-and-claims.e6c5f9b4efb9.png",
36088
+ "entraAddUsersAndGroups": "https://js.stytch.com/sdk-assets/admin-portal/entra-add-users-and-groups.949270ce6d26.png"};
36089
36089
 
36090
36090
  const Instruction = ({ children })=>/*#__PURE__*/ uniqueId.wn.createElement(Typography, {
36091
36091
  variant: "body2"