@descope/flow-components 3.7.2 → 3.7.3

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.7.3",
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.7.3",
9
9
  "buildName": "@descope/flow-components"
10
10
  },
11
11
  "remoteEntry": {
package/dist/index.cjs.js CHANGED
@@ -106655,7 +106655,7 @@ const Attachment = React__default.default.forwardRef(({ children, attachment, of
106655
106655
  children,
106656
106656
  attachment && React__default.default.cloneElement(attachment, { slot: 'attachment' }))));
106657
106657
 
106658
- const LastAuthBadge = React__default.default.forwardRef(({ children, offsetX, offsetY, badgeLabel, ...props }, ref) => {
106658
+ const LastAuthBadge = React__default.default.forwardRef(({ children, offsetX, offsetY, badgeLabel = 'Last Used', ...props }, ref) => {
106659
106659
  const attachment = (React__default.default.createElement(Badge, { mode: "primary", variant: "contained", bordered: true, size: "xs", slot: "attachment", shrinkToIndicator: true }, badgeLabel));
106660
106660
  return (React__default.default.createElement(Attachment, { ...props, ref: ref, offsetX: offsetX, offsetY: offsetY, attachment: attachment }, children));
106661
106661
  });
package/dist/index.d.ts CHANGED
@@ -1335,7 +1335,7 @@ declare const LastAuthBadge: React.ForwardRefExoticComponent<Omit<Omit<{
1335
1335
  offsetX?: number;
1336
1336
  offsetY?: number;
1337
1337
  } & React.HTMLAttributes<HTMLElement, unknown> & React.RefAttributes<HTMLElement>, "attachment"> & {
1338
- badgeLabel: string;
1338
+ badgeLabel?: string;
1339
1339
  } & React.HTMLAttributes<HTMLElement, unknown>, "ref"> & React.RefAttributes<HTMLElement>>;
1340
1340
 
1341
1341
  interface IComponentThemeManager {
package/dist/index.esm.js CHANGED
@@ -624,7 +624,7 @@ const Attachment = React.forwardRef(({ children, attachment, offsetX, offsetY, .
624
624
  children,
625
625
  attachment && React.cloneElement(attachment, { slot: 'attachment' }))));
626
626
 
627
- const LastAuthBadge = React.forwardRef(({ children, offsetX, offsetY, badgeLabel, ...props }, ref) => {
627
+ const LastAuthBadge = React.forwardRef(({ children, offsetX, offsetY, badgeLabel = 'Last Used', ...props }, ref) => {
628
628
  const attachment = (React.createElement(Badge, { mode: "primary", variant: "contained", bordered: true, size: "xs", slot: "attachment", shrinkToIndicator: true }, badgeLabel));
629
629
  return (React.createElement(Attachment, { ...props, ref: ref, offsetX: offsetX, offsetY: offsetY, attachment: attachment }, children));
630
630
  });
@@ -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;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@descope/flow-components",
3
- "version": "3.7.2",
3
+ "version": "3.7.3",
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.7.3"
101
101
  },
102
102
  "peerDependencies": {
103
103
  "react": ">= 18"