@stytch/vanilla-js 6.0.1 → 6.0.2

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,12 +1,12 @@
1
1
  # @stytch/vanilla-js
2
2
 
3
- ## 6.0.1
3
+ ## 6.0.2
4
4
 
5
5
  ### Patch Changes
6
6
 
7
- - 3d08061: Fix package issue
7
+ - 5f66066: Fix font size issue on some anchor buttons
8
8
 
9
- ## 6.0.0
9
+ ## 6.0.1
10
10
 
11
11
  This is a major release, containing a redesign of our frontend components and package structure.
12
12
 
@@ -30,6 +30,10 @@ This is a major release, containing a redesign of our frontend components and pa
30
30
  - Clientside validation for configs now only occur in development build to reduce bundle size from validation message strings
31
31
  - @stytch/vanilla-js now exports standard web components (custom element), allowing for easy integration with other frameworks like Vue.js and Svelte
32
32
 
33
+ ## 6.0.0
34
+
35
+ This version was released with broken packaging. We recommend upgrading to 6.0.1 if you have this version.
36
+
33
37
  ## 5.45.0
34
38
 
35
39
  ### Minor Changes
@@ -46,9 +50,7 @@ This is a major release, containing a redesign of our frontend components and pa
46
50
 
47
51
  ### Patch Changes
48
52
 
49
- - 5a0ad5c: Add external_id to Member and User types and add organization_external_id to Organization type
50
- - Updated dependencies [5a0ad5c]
51
- - @stytch/core@2.66.1
53
+ - 5a0ad5c: Add `external_id` to Member and User types and add `organization_external_id` to Organization type
52
54
 
53
55
  ## 5.44.0
54
56
 
@@ -65,13 +67,13 @@ This is a major release, containing a redesign of our frontend components and pa
65
67
 
66
68
  ### Minor Changes
67
69
 
68
- - 2da1e4d: Add keepSessionAlive boolean flag to StytchClientOptions. When set, the client will automatically refresh the session as long as the client is active
70
+ - 2da1e4d: Add `keepSessionAlive` boolean flag to `StytchClientOptions`. When set, the client will automatically refresh the session as long as the client is active
69
71
  - f181abf: Include custom org roles in local authorization checks
70
72
  - e4445f3: Add TypeScript typings for strings prop / param. The types is available as Strings and is opt in. We recommend using them like `const strings: Strings = { 'button.usePassword': 'Log in with password' }`. `Strings` is a partial since we recommend you only include strings that you need, but if you need every string mapped (such as in a full localization), you can use `Required<Strings>`.
71
73
 
72
74
  ### Patch Changes
73
75
 
74
- - 17e589c: B2B: Add support for 'ALL_ALLOWED' organization email_jit_provisioning setting
76
+ - 17e589c: B2B: Add support for `ALL_ALLOWED` organization `email_jit_provisioning` setting
75
77
  - Updated dependencies [2da1e4d]
76
78
  - Updated dependencies [f181abf]
77
79
  - Updated dependencies [17e589c]
@@ -109,7 +111,7 @@ This is a major release, containing a redesign of our frontend components and pa
109
111
 
110
112
  ### Patch Changes
111
113
 
112
- - 9054b80: Guarantee response_type will always be present again
114
+ - 9054b80: Guarantee `response_type` will always be present again
113
115
  - a640aa9: Fix missing breached password error message for zxcvbn password config in pre-built UI
114
116
  - 3d625ba: Fix error message when B2B discovery EML auth encounters an error in prebuilt UI
115
117
  - Updated dependencies [9a503d3]
@@ -188,7 +190,7 @@ This is a major release, containing a redesign of our frontend components and pa
188
190
  ### Minor Changes
189
191
 
190
192
  - 2f9917a: Add Reinvite user button to Admin Portal Member Management
191
- - 0c1a944: Update labels to use <label> element and improve accessibility
193
+ - 0c1a944: Update labels to use `<label>` element and improve accessibility
192
194
  New `formField.phone.label` string for phone number input label and `formField.countryCode.label` for country code label
193
195
  `formField.password.ariaLabel` string has been folded into `formField.password.label` and can be removed
194
196
 
@@ -241,7 +243,7 @@ This is a major release, containing a redesign of our frontend components and pa
241
243
 
242
244
  ### Minor Changes
243
245
 
244
- - d850be0: Add organization_slug to MemberSession type
246
+ - d850be0: Add `organization_slug` to MemberSession type
245
247
 
246
248
  ### Patch Changes
247
249
 
@@ -836,7 +838,7 @@ This is a major release, containing a redesign of our frontend components and pa
836
838
 
837
839
  ### Patch Changes
838
840
 
839
- - f5334f1: Added the option to change sso_jit_provisioning in Admin Portal's Organization Settings
841
+ - f5334f1: Added the option to change `sso_jit_provisioning` in Admin Portal's Organization Settings
840
842
  - 59fbc0c: Add OAuth Tenant settings to Admin Portal's Organization Settings
841
843
  - 59fbc0c: Improve Admin Portal's Organization settings User onboarding UI
842
844
  - Updated dependencies [5f9a5bf]
@@ -913,7 +915,7 @@ This is a major release, containing a redesign of our frontend components and pa
913
915
 
914
916
  ### Patch Changes
915
917
 
916
- - 37b3dcd7: Improved error message for ad_blocker_detected
918
+ - 37b3dcd7: Improved error message for `ad_blocker_detected`
917
919
  - fd5c8b0e: Remove workaround for setting cookies in older versions of Firefox
918
920
  - a8572550: Error messages in the StytchLogin component no longer overflows the container
919
921
 
@@ -1683,7 +1685,7 @@ This is a major release, containing a redesign of our frontend components and pa
1683
1685
  ### Patch Changes
1684
1686
 
1685
1687
  - 8c587e3: Update B2B Password Reset by Session to stay logged in
1686
- - 70475b5: remove unnecessary organization_id param from passwords.resetBySession in B2B client
1688
+ - 70475b5: remove unnecessary `organization_id` param from passwords.resetBySession in B2B client
1687
1689
  - 5d13cfe: Minor copy change on the B2B Passwords UI component
1688
1690
  - Updated dependencies [70475b5]
1689
1691
  - Updated dependencies [311388d]
@@ -1,6 +1,6 @@
1
1
  'use strict';
2
2
 
3
- var shadcn = require('../shadcn-CyIAo-yO.js');
3
+ var shadcn = require('../shadcn-DEJIbMOE.js');
4
4
  var uniqueId = require('../uniqueId-DLJHPADm.js');
5
5
  var storage = require('../storage-MqgW9SGA.js');
6
6
  var index$1 = require('../index-DQfLs1N5.js');
@@ -1,6 +1,6 @@
1
1
  'use strict';
2
2
 
3
- var shadcn = require('./shadcn-CyIAo-yO.js');
3
+ var shadcn = require('./shadcn-DEJIbMOE.js');
4
4
  var uniqueId = require('./uniqueId-DLJHPADm.js');
5
5
  var storage = require('./storage-MqgW9SGA.js');
6
6
  var StytchSSRProxy = require('./StytchSSRProxy-CCeaM1wX.js');
@@ -327,7 +327,7 @@ const Logo = ({ orgLogo, appLogo })=>{
327
327
  }));
328
328
  };
329
329
 
330
- var css$p = ".Root_module_root__5a8e6e98{color-scheme:var(--st-color-scheme);font-family:var(--st-font-family);isolation:isolate}:where(.Root_module_root__5a8e6e98),:where(.Root_module_root__5a8e6e98) *{box-sizing:border-box;margin:0;padding:0}.Root_module_root__5a8e6e98 a{-webkit-text-decoration:none;text-decoration:none}.Root_module_root__5a8e6e98 :is(span,strong,em,p,a){font-feature-settings:inherit;font-size:inherit;font-variant:inherit;line-height:inherit}.Root_module_root__5a8e6e98 :is(span,strong,em,p){color:inherit}.Root_module_root__5a8e6e98 :is(span,em,p){font-weight:inherit}:where(.Root_module_root__5a8e6e98) :is(b,strong){font-weight:var(--st-font-weight-bold)}:where(.Root_module_root__5a8e6e98) :is(img,svg){display:block}.Root_module_root__5a8e6e98{--st-font-weight-normal:400;--st-font-weight-medium:500;--st-font-weight-semibold:600;--st-font-weight-bold:700;--st-rounded-md:calc(var(--st-rounded-base)*2);--st-rounded-2xl:calc(var(--st-rounded-base)*6);--st-rounded-full:calc(var(--st-rounded-base)*9999);--st-text-xs:calc(var(--st-text-base)*0.75);--st-text-sm:calc(var(--st-text-base)*0.875);--st-text-2xl:calc(var(--st-text-base)*1.5);--st-line-height-xs:1.33333;--st-line-height-sm:1.42857;--st-line-height-base:1.5;--st-line-height-2xl:1.33333;--st-spacing-0_5:calc(var(--st-spacing)*0.5);--st-spacing-2:calc(var(--st-spacing)*2);--st-spacing-3:calc(var(--st-spacing)*3);--st-spacing-4:calc(var(--st-spacing)*4);--st-spacing-5:calc(var(--st-spacing)*5);--st-spacing-6:calc(var(--st-spacing)*6);--st-spacing-7:calc(var(--st-spacing)*7);--st-spacing-8:calc(var(--st-spacing)*8);--st-spacing-9:calc(var(--st-spacing)*9);--st-spacing-10:calc(var(--st-spacing)*10);--st-tab-background:color-mix(in oklab,var(--st-accent) 80%,transparent);--st-primary-button-hover:color-mix(in oklab,var(--st-primary) 90%,transparent);--st-secondary-button-hover:color-mix(in oklab,var(--st-secondary) 80%,transparent);--st-destructive-button-hover:color-mix(in oklab,var(--st-destructive) 80%,transparent);--st-divider-color:color-mix(in oklab,var(--st-border) 50%,transparent);--st-focus-ring-shadow:0 0 0 3px color-mix(in oklab,var(--st-ring) 50%,transparent);--st-shadow:0 0;--st-shadow-input:var(--st-shadow);--st-shadow-button:var(--st-shadow);--st-button-radius:var(--st-rounded-md);--st-input-radius:var(--st-rounded-md);--st-container-radius:var(--st-rounded-2xl);--st-container-border:var(--st-border);--st-header-font:var(--st-font-family)}";
330
+ var css$p = ".Root_module_root__870c11a1{color-scheme:var(--st-color-scheme);font-family:var(--st-font-family);isolation:isolate}:where(.Root_module_root__870c11a1),:where(.Root_module_root__870c11a1) *{box-sizing:border-box;margin:0;padding:0}:where(.Root_module_root__870c11a1) :is(span,strong,em,p,a){font-feature-settings:inherit;font-size:inherit;font-variant:inherit;line-height:inherit}:where(.Root_module_root__870c11a1) :is(span,strong,em,p){color:inherit}:where(.Root_module_root__870c11a1) :is(span,em,p){font-weight:inherit}:where(.Root_module_root__870c11a1) :is(img,svg){display:block}.Root_module_root__870c11a1 a{-webkit-text-decoration:none;text-decoration:none}.Root_module_root__870c11a1 :is(b,strong){font-weight:var(--st-font-weight-bold)}.Root_module_root__870c11a1{--st-font-weight-normal:400;--st-font-weight-medium:500;--st-font-weight-semibold:600;--st-font-weight-bold:700;--st-rounded-md:calc(var(--st-rounded-base)*2);--st-rounded-2xl:calc(var(--st-rounded-base)*6);--st-rounded-full:calc(var(--st-rounded-base)*9999);--st-text-xs:calc(var(--st-text-base)*0.75);--st-text-sm:calc(var(--st-text-base)*0.875);--st-text-2xl:calc(var(--st-text-base)*1.5);--st-line-height-xs:1.33333;--st-line-height-sm:1.42857;--st-line-height-base:1.5;--st-line-height-2xl:1.33333;--st-spacing-0_5:calc(var(--st-spacing)*0.5);--st-spacing-2:calc(var(--st-spacing)*2);--st-spacing-3:calc(var(--st-spacing)*3);--st-spacing-4:calc(var(--st-spacing)*4);--st-spacing-5:calc(var(--st-spacing)*5);--st-spacing-6:calc(var(--st-spacing)*6);--st-spacing-7:calc(var(--st-spacing)*7);--st-spacing-8:calc(var(--st-spacing)*8);--st-spacing-9:calc(var(--st-spacing)*9);--st-spacing-10:calc(var(--st-spacing)*10);--st-tab-background:color-mix(in oklab,var(--st-accent) 80%,transparent);--st-primary-button-hover:color-mix(in oklab,var(--st-primary) 90%,transparent);--st-secondary-button-hover:color-mix(in oklab,var(--st-secondary) 80%,transparent);--st-destructive-button-hover:color-mix(in oklab,var(--st-destructive) 80%,transparent);--st-divider-color:color-mix(in oklab,var(--st-border) 50%,transparent);--st-focus-ring-shadow:0 0 0 3px color-mix(in oklab,var(--st-ring) 50%,transparent);--st-shadow:0 0;--st-shadow-input:var(--st-shadow);--st-shadow-button:var(--st-shadow);--st-button-radius:var(--st-rounded-md);--st-input-radius:var(--st-rounded-md);--st-container-radius:var(--st-rounded-2xl);--st-container-border:var(--st-border);--st-header-font:var(--st-font-family)}";
331
331
  uniqueId.collectCss(css$p);
332
332
 
333
333
  var css$o = ".inputBase_module_inputBase__06c14ae4{background-color:var(--st-background);border:1px solid var(--st-input);border-radius:var(--st-input-radius);box-shadow:var(--st-shadow-input);color:var(--st-foreground);font-family:var(--st-font-family);font-size:var(--st-text-sm);line-height:var(--st-line-height-sm)}.inputBase_module_forceFocusRing__06c14ae4,:is(.inputBase_module_focusRing__06c14ae4,.inputBase_module_inputBase__06c14ae4):focus-visible{border-color:var(--st-ring);box-shadow:var(--st-shadow-input),var(--st-focus-ring-shadow);outline:0}";
@@ -559,7 +559,7 @@ const Watermark = ({ poweredBy, label })=>/*#__PURE__*/ uniqueId.wn.createElemen
559
559
 
560
560
  var css$j = ".MainContainer_module_container__d1278a0c{background-color:var(--st-background);border:1px solid var(--st-container-border);border-radius:var(--st-container-radius);color:var(--st-foreground);max-width:var(--st-container-width);padding:var(--st-spacing-10) var(--st-spacing-9);width:100%}.MainContainer_module_watermarkContainer__d1278a0c{display:flex;justify-content:center}";
561
561
  uniqueId.collectCss(css$j);
562
- var modules_852c89cd = {"container":"MainContainer_module_container__d1278a0c Root_module_root__5a8e6e98","watermarkContainer":"MainContainer_module_watermarkContainer__d1278a0c"};
562
+ var modules_852c89cd = {"container":"MainContainer_module_container__d1278a0c Root_module_root__870c11a1","watermarkContainer":"MainContainer_module_watermarkContainer__d1278a0c"};
563
563
 
564
564
  // This order is important - we need mixins to appear first so later styles can override them
565
565
  const MainContainer = ({ children, displayWatermark, theme })=>{
@@ -4709,4 +4709,4 @@ exports.usePresentationWithDefault = usePresentationWithDefault;
4709
4709
  exports.useStytch = useStytch;
4710
4710
  exports.useTimedBoolean = useTimedBoolean;
4711
4711
  exports.useTrustedAuthTokenParams = useTrustedAuthTokenParams;
4712
- //# sourceMappingURL=shadcn-CyIAo-yO.js.map
4712
+ //# sourceMappingURL=shadcn-DEJIbMOE.js.map