@stytch/react 20.0.1 → 20.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/react
2
2
 
3
- ## 20.0.1
3
+ ## 20.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
+ ## 20.0.1
10
10
 
11
11
  This is a major release, containing a redesign of our frontend components and package structure.
12
12
 
@@ -28,11 +28,15 @@ This is a major release, containing a redesign of our frontend components and pa
28
28
  - Significantly smaller bundle sizes through modern transpilation targets and tree shaking
29
29
  - Clientside validation for configs now only occur in development build to reduce bundle size from validation message strings
30
30
 
31
+ ## 20.0.0
32
+
33
+ This version was released with broken packaging. We recommend upgrading to 20.0.1 if you have this version.
34
+
31
35
  ## 19.18.1
32
36
 
33
37
  ### Patch Changes
34
38
 
35
- - 5a0ad5c: Add external_id to Member and User types and add organization_external_id to Organization type
39
+ - 5a0ad5c: Add `external_id` to Member and User types and add `organization_external_id` to Organization type
36
40
 
37
41
  ## 19.18.0
38
42
 
@@ -44,12 +48,12 @@ This is a major release, containing a redesign of our frontend components and pa
44
48
 
45
49
  ### Minor Changes
46
50
 
47
- - 2da1e4d: Add keepSessionAlive boolean flag to StytchClientOptions. When set, the client will automatically refresh the session as long as the client is active
51
+ - 2da1e4d: Add `keepSessionAlive` boolean flag to `StytchClientOptions`. When set, the client will automatically refresh the session as long as the client is active
48
52
  - 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>`.
49
53
 
50
54
  ### Patch Changes
51
55
 
52
- - 17e589c: B2B: Add support for 'ALL_ALLOWED' organization email_jit_provisioning setting
56
+ - 17e589c: B2B: Add support for `ALL_ALLOWED` organization `email_jit_provisioning` setting
53
57
 
54
58
  ## 19.16.0
55
59
 
@@ -62,8 +66,8 @@ This is a major release, containing a redesign of our frontend components and pa
62
66
  ### Patch Changes
63
67
 
64
68
  - 2fabc69: Fix endpoint options still being preferred for custom endpoint config
65
- - 4311e82: Fix last used Oauth method not updated when Google One Tap fallback button is clicked
66
- - 25e43f0: Add types for Member.is_admin
69
+ - 4311e82: Fix last used OAuth method not updated when Google One Tap fallback button is clicked
70
+ - 25e43f0: Add types for `Member.is_admin`
67
71
 
68
72
  ## 19.15.1
69
73
 
@@ -99,7 +103,7 @@ This is a major release, containing a redesign of our frontend components and pa
99
103
 
100
104
  ### Minor Changes
101
105
 
102
- - 0c1a944: Update labels to use <label> element and improve accessibility
106
+ - 0c1a944: Update labels to use `<label>` element and improve accessibility
103
107
  New `formField.phone.label` string for phone number input label and `formField.countryCode.label` for country code label
104
108
  `formField.password.ariaLabel` string has been folded into `formField.password.label` and can be removed
105
109
 
@@ -112,13 +116,13 @@ This is a major release, containing a redesign of our frontend components and pa
112
116
 
113
117
  ### Patch Changes
114
118
 
115
- - 0af9049: bug fixes
119
+ - 0af9049: Bug fixes
116
120
 
117
121
  ## 19.11.0
118
122
 
119
123
  ### Minor Changes
120
124
 
121
- - 21b1777: refactor trusted auth token attestation in IDPConsentScreen components
125
+ - 21b1777: Refactor trusted auth token attestation in IDPConsentScreen components
122
126
 
123
127
  ## 19.10.0
124
128
 
@@ -250,7 +254,7 @@ This is a major release, containing a redesign of our frontend components and pa
250
254
 
251
255
  ### Minor Changes
252
256
 
253
- - d5ed50c: Added User Impersonation to Consumer
257
+ - d5ed50c: Add User Impersonation to Consumer
254
258
  - 9eb8e8c: Add dfpCdnDomain endpoint configuration
255
259
 
256
260
  ## 19.2.0
@@ -267,7 +271,7 @@ This is a major release, containing a redesign of our frontend components and pa
267
271
 
268
272
  ### Patch Changes
269
273
 
270
- - 26a2e95: Fixed <StytchB2B /> error message
274
+ - 26a2e95: Fixed `<StytchB2B />` error message
271
275
 
272
276
  ## 19.1.1
273
277
 
@@ -534,7 +538,7 @@ This is a major release, containing a redesign of our frontend components and pa
534
538
 
535
539
  ### Patch Changes
536
540
 
537
- - c924765: Include the b2b directory in package.json for the B2B SDK entrypoint
541
+ - c924765: Include the B2B directory in package.json for the B2B SDK entrypoint
538
542
  - Updated dependencies [c924765]
539
543
  - @stytch/vanilla-js@0.11.2
540
544
 
@@ -4,7 +4,7 @@ var b2b_index_headless = require('./index.headless.cjs');
4
4
  var React = require('react');
5
5
  var StytchB2BContext = require('../StytchB2BContext-C7WFy1M0.js');
6
6
  var StytchSSRProxy = require('../StytchSSRProxy-9SPT89Z8.js');
7
- var shadcn = require('../shadcn-Du-ZeW8t.js');
7
+ var shadcn = require('../shadcn-DhFLwrw_.js');
8
8
  var uniqueId = require('../uniqueId-C-3bPIDs.js');
9
9
  var idpHelpers = require('../idpHelpers-ChdktIkr.js');
10
10
  var ReactDOM = require('react-dom');
@@ -4,7 +4,7 @@ var index_headless = require('./index.headless.cjs');
4
4
  var React = require('react');
5
5
  var StytchSSRProxy = require('./StytchSSRProxy-9SPT89Z8.js');
6
6
  var uniqueId = require('./uniqueId-C-3bPIDs.js');
7
- var shadcn = require('./shadcn-Du-ZeW8t.js');
7
+ var shadcn = require('./shadcn-DhFLwrw_.js');
8
8
  var idpHelpers = require('./idpHelpers-ChdktIkr.js');
9
9
  var jsxRuntime = require('react/jsx-runtime');
10
10
  var ReactDOM = require('react-dom');
@@ -1340,7 +1340,7 @@ const LoadingScreen = ()=>/*#__PURE__*/ React__namespace.createElement("div", {
1340
1340
  size: 32
1341
1341
  }));
1342
1342
 
1343
- var css$l = ".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)}";
1343
+ var css$l = ".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)}";
1344
1344
  collectCss(css$l);
1345
1345
 
1346
1346
  var css$k = ".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}";
@@ -1463,7 +1463,7 @@ const Watermark = ({ poweredBy, label })=>/*#__PURE__*/ React__namespace.default
1463
1463
 
1464
1464
  var css$g = ".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}";
1465
1465
  collectCss(css$g);
1466
- var modules_852c89cd = {"container":"MainContainer_module_container__d1278a0c Root_module_root__5a8e6e98","watermarkContainer":"MainContainer_module_watermarkContainer__d1278a0c"};
1466
+ var modules_852c89cd = {"container":"MainContainer_module_container__d1278a0c Root_module_root__870c11a1","watermarkContainer":"MainContainer_module_watermarkContainer__d1278a0c"};
1467
1467
 
1468
1468
  // This order is important - we need mixins to appear first so later styles can override them
1469
1469
  const MainContainer = ({ children, displayWatermark, theme })=>{
@@ -4523,4 +4523,4 @@ exports.usePresentationWithDefault = usePresentationWithDefault;
4523
4523
  exports.useStytch = useStytch;
4524
4524
  exports.useTimedBoolean = useTimedBoolean;
4525
4525
  exports.useTrustedAuthTokenParams = useTrustedAuthTokenParams;
4526
- //# sourceMappingURL=shadcn-Du-ZeW8t.js.map
4526
+ //# sourceMappingURL=shadcn-DhFLwrw_.js.map