@descope/flow-components 3.7.2 → 3.8.0

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.
@@ -5,7 +5,7 @@
5
5
  "name": "flowComponents",
6
6
  "type": "app",
7
7
  "buildInfo": {
8
- "buildVersion": "3.7.2",
8
+ "buildVersion": "3.8.0",
9
9
  "buildName": "@descope/flow-components"
10
10
  },
11
11
  "remoteEntry": {
@@ -5,7 +5,7 @@
5
5
  "name": "flowComponents",
6
6
  "type": "app",
7
7
  "buildInfo": {
8
- "buildVersion": "3.7.2",
8
+ "buildVersion": "3.8.0",
9
9
  "buildName": "@descope/flow-components"
10
10
  },
11
11
  "remoteEntry": {
package/dist/index.cjs.js CHANGED
@@ -106325,6 +106325,7 @@ const defaultProps = {
106325
106325
  'data-password-policy-pattern-minlength': '^.{{{value}},}$',
106326
106326
  'data-password-policy-pattern-lowercase': '[a-z]',
106327
106327
  'data-password-policy-pattern-uppercase': '[A-Z]',
106328
+ 'data-password-policy-pattern-anyletter': '[a-zA-Z]',
106328
106329
  'data-password-policy-pattern-number': '\\d',
106329
106330
  'data-password-policy-pattern-nonalphanumeric': '[^a-zA-Z0-9]',
106330
106331
  // non-user-editable comparisons
@@ -106335,6 +106336,7 @@ const defaultProps = {
106335
106336
  'data-password-policy-message-minlength': 'At least {{value}} characters',
106336
106337
  'data-password-policy-message-lowercase': '1 lowercase letter',
106337
106338
  'data-password-policy-message-uppercase': '1 uppercase letter',
106339
+ 'data-password-policy-message-anyletter': '1 letter (any case)',
106338
106340
  'data-password-policy-message-number': '1 number',
106339
106341
  'data-password-policy-message-nonalphanumeric': '1 symbol',
106340
106342
  'data-password-policy-message-passwordstrength': 'Password strength',
@@ -106350,6 +106352,7 @@ const NewPassword = React__default.default.forwardRef((props, ref) => {
106350
106352
  'minlength',
106351
106353
  'lowercase',
106352
106354
  'uppercase',
106355
+ 'anyletter',
106353
106356
  'number',
106354
106357
  'nonalphanumeric',
106355
106358
  'passwordstrength'
@@ -106655,7 +106658,7 @@ const Attachment = React__default.default.forwardRef(({ children, attachment, of
106655
106658
  children,
106656
106659
  attachment && React__default.default.cloneElement(attachment, { slot: 'attachment' }))));
106657
106660
 
106658
- const LastAuthBadge = React__default.default.forwardRef(({ children, offsetX, offsetY, badgeLabel, ...props }, ref) => {
106661
+ const LastAuthBadge = React__default.default.forwardRef(({ children, offsetX, offsetY, badgeLabel = 'Last Used', ...props }, ref) => {
106659
106662
  const attachment = (React__default.default.createElement(Badge, { mode: "primary", variant: "contained", bordered: true, size: "xs", slot: "attachment", shrinkToIndicator: true }, badgeLabel));
106660
106663
  return (React__default.default.createElement(Attachment, { ...props, ref: ref, offsetX: offsetX, offsetY: offsetY, attachment: attachment }, children));
106661
106664
  });
package/dist/index.d.ts CHANGED
@@ -344,11 +344,13 @@ type Props$G = {
344
344
  'data-password-policy-pattern-minlength'?: string;
345
345
  'data-password-policy-pattern-lowercase'?: string;
346
346
  'data-password-policy-pattern-uppercase'?: string;
347
+ 'data-password-policy-pattern-anyletter'?: string;
347
348
  'data-password-policy-pattern-number'?: string;
348
349
  'data-password-policy-pattern-nonalphanumeric'?: string;
349
350
  'data-password-policy-message-minlength'?: string;
350
351
  'data-password-policy-message-lowercase'?: string;
351
352
  'data-password-policy-message-uppercase'?: string;
353
+ 'data-password-policy-message-anyletter'?: string;
352
354
  'data-password-policy-message-number'?: string;
353
355
  'data-password-policy-message-nonalphanumeric'?: string;
354
356
  'data-password-policy-message-passwordstrength'?: string;
@@ -1335,7 +1337,7 @@ declare const LastAuthBadge: React.ForwardRefExoticComponent<Omit<Omit<{
1335
1337
  offsetX?: number;
1336
1338
  offsetY?: number;
1337
1339
  } & React.HTMLAttributes<HTMLElement, unknown> & React.RefAttributes<HTMLElement>, "attachment"> & {
1338
- badgeLabel: string;
1340
+ badgeLabel?: string;
1339
1341
  } & React.HTMLAttributes<HTMLElement, unknown>, "ref"> & React.RefAttributes<HTMLElement>>;
1340
1342
 
1341
1343
  interface IComponentThemeManager {
package/dist/index.esm.js CHANGED
@@ -294,6 +294,7 @@ const defaultProps = {
294
294
  'data-password-policy-pattern-minlength': '^.{{{value}},}$',
295
295
  'data-password-policy-pattern-lowercase': '[a-z]',
296
296
  'data-password-policy-pattern-uppercase': '[A-Z]',
297
+ 'data-password-policy-pattern-anyletter': '[a-zA-Z]',
297
298
  'data-password-policy-pattern-number': '\\d',
298
299
  'data-password-policy-pattern-nonalphanumeric': '[^a-zA-Z0-9]',
299
300
  // non-user-editable comparisons
@@ -304,6 +305,7 @@ const defaultProps = {
304
305
  'data-password-policy-message-minlength': 'At least {{value}} characters',
305
306
  'data-password-policy-message-lowercase': '1 lowercase letter',
306
307
  'data-password-policy-message-uppercase': '1 uppercase letter',
308
+ 'data-password-policy-message-anyletter': '1 letter (any case)',
307
309
  'data-password-policy-message-number': '1 number',
308
310
  'data-password-policy-message-nonalphanumeric': '1 symbol',
309
311
  'data-password-policy-message-passwordstrength': 'Password strength',
@@ -319,6 +321,7 @@ const NewPassword = React.forwardRef((props, ref) => {
319
321
  'minlength',
320
322
  'lowercase',
321
323
  'uppercase',
324
+ 'anyletter',
322
325
  'number',
323
326
  'nonalphanumeric',
324
327
  'passwordstrength'
@@ -624,7 +627,7 @@ const Attachment = React.forwardRef(({ children, attachment, offsetX, offsetY, .
624
627
  children,
625
628
  attachment && React.cloneElement(attachment, { slot: 'attachment' }))));
626
629
 
627
- const LastAuthBadge = React.forwardRef(({ children, offsetX, offsetY, badgeLabel, ...props }, ref) => {
630
+ const LastAuthBadge = React.forwardRef(({ children, offsetX, offsetY, badgeLabel = 'Last Used', ...props }, ref) => {
628
631
  const attachment = (React.createElement(Badge, { mode: "primary", variant: "contained", bordered: true, size: "xs", slot: "attachment", shrinkToIndicator: true }, badgeLabel));
629
632
  return (React.createElement(Attachment, { ...props, ref: ref, offsetX: offsetX, offsetY: offsetY, attachment: attachment }, children));
630
633
  });
@@ -5,6 +5,6 @@ declare const LastAuthBadge: React.ForwardRefExoticComponent<Omit<Omit<{
5
5
  offsetX?: number;
6
6
  offsetY?: number;
7
7
  } & React.HTMLAttributes<HTMLElement, unknown> & React.RefAttributes<HTMLElement>, "attachment"> & {
8
- badgeLabel: string;
8
+ badgeLabel?: string;
9
9
  } & React.HTMLAttributes<HTMLElement, unknown>, "ref"> & React.RefAttributes<HTMLElement>>;
10
10
  export default LastAuthBadge;
@@ -12,11 +12,13 @@ export type Props = {
12
12
  'data-password-policy-pattern-minlength'?: string;
13
13
  'data-password-policy-pattern-lowercase'?: string;
14
14
  'data-password-policy-pattern-uppercase'?: string;
15
+ 'data-password-policy-pattern-anyletter'?: string;
15
16
  'data-password-policy-pattern-number'?: string;
16
17
  'data-password-policy-pattern-nonalphanumeric'?: string;
17
18
  'data-password-policy-message-minlength'?: string;
18
19
  'data-password-policy-message-lowercase'?: string;
19
20
  'data-password-policy-message-uppercase'?: string;
21
+ 'data-password-policy-message-anyletter'?: string;
20
22
  'data-password-policy-message-number'?: string;
21
23
  'data-password-policy-message-nonalphanumeric'?: string;
22
24
  'data-password-policy-message-passwordstrength'?: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@descope/flow-components",
3
- "version": "3.7.2",
3
+ "version": "3.8.0",
4
4
  "description": "",
5
5
  "main": "dist/index.cjs.js",
6
6
  "module": "dist/index.esm.js",
@@ -97,7 +97,7 @@
97
97
  "webpack-subresource-integrity": "5.2.0-rc.1"
98
98
  },
99
99
  "dependencies": {
100
- "@descope/web-components-ui": "3.7.2"
100
+ "@descope/web-components-ui": "3.8.0"
101
101
  },
102
102
  "peerDependencies": {
103
103
  "react": ">= 18"