@descope/flow-components 3.3.5 → 3.5.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.
package/dist/index.d.ts CHANGED
@@ -1116,6 +1116,8 @@ type Props$7 = React.JSX.IntrinsicElements['button'] & {
1116
1116
  'timer-seconds'?: number;
1117
1117
  'timer-hide-icon'?: boolean;
1118
1118
  'timer-paused'?: boolean;
1119
+ 'timer-position'?: 'start' | 'end';
1120
+ 'timer-inside'?: boolean;
1119
1121
  };
1120
1122
  declare global {
1121
1123
  namespace React.JSX {
@@ -1134,6 +1136,8 @@ declare const TimerButton: React.ForwardRefExoticComponent<Omit<React.ClassAttri
1134
1136
  'timer-seconds'?: number;
1135
1137
  'timer-hide-icon'?: boolean;
1136
1138
  'timer-paused'?: boolean;
1139
+ 'timer-position'?: "start" | "end";
1140
+ 'timer-inside'?: boolean;
1137
1141
  }, "ref"> & React.RefAttributes<HTMLButtonElement>>;
1138
1142
 
1139
1143
  type Never<T extends Record<string, any>> = {
package/dist/index.esm.js CHANGED
@@ -560,7 +560,7 @@ const AddressField = React.forwardRef(({ size = 'md', ...props }, ref) => (React
560
560
 
561
561
  const CountrySubdivisionCityField = React.forwardRef(({ size = 'md', ...props }, ref) => (React.createElement("descope-country-subdivision-city-field", { size: size, ...props, ref: ref })));
562
562
 
563
- const TimerButton = React.forwardRef(({ children, color = 'primary', size = 'md', variant = 'contained', horizontal = false, 'text-align': textAlign = 'center', 'timer-seconds': timerSeconds = 0, 'timer-hide-icon': timerHideIcon = false, 'timer-paused': timerPause = false, ...props }, ref) => (React.createElement("descope-timer-button", { ...props, size: size, "text-align": textAlign, horizontal: horizontal, "button-variant": variant, "button-mode": color, "timer-hide-icon": timerHideIcon, "timer-seconds": timerSeconds, "timer-paused": timerPause, ref: ref }, children)));
563
+ const TimerButton = React.forwardRef(({ children, color = 'primary', size = 'md', variant = 'contained', horizontal = false, 'text-align': textAlign = 'center', 'timer-seconds': timerSeconds = 0, 'timer-hide-icon': timerHideIcon = false, 'timer-paused': timerPause = false, 'timer-position': timerPosition = 'start', 'timer-inside': timerInside = false, ...props }, ref) => (React.createElement("descope-timer-button", { ...props, size: size, "text-align": textAlign, horizontal: horizontal, "button-variant": variant, "button-mode": color, "timer-hide-icon": timerHideIcon, "timer-seconds": timerSeconds, "timer-paused": timerPause, "timer-position": timerPosition, "timer-inside": timerInside, ref: ref }, children)));
564
564
 
565
565
  const applyDefaults = ({ paddingX, paddingY, background, spaceBetween }) => ({
566
566
  'st-horizontal-padding': !paddingX || isNumeric(paddingX)
@@ -10,6 +10,8 @@ type Props = React.JSX.IntrinsicElements['button'] & {
10
10
  'timer-seconds'?: number;
11
11
  'timer-hide-icon'?: boolean;
12
12
  'timer-paused'?: boolean;
13
+ 'timer-position'?: 'start' | 'end';
14
+ 'timer-inside'?: boolean;
13
15
  };
14
16
  declare global {
15
17
  namespace React.JSX {
@@ -28,5 +30,7 @@ declare const TimerButton: React.ForwardRefExoticComponent<Omit<React.ClassAttri
28
30
  'timer-seconds'?: number;
29
31
  'timer-hide-icon'?: boolean;
30
32
  'timer-paused'?: boolean;
33
+ 'timer-position'?: "start" | "end";
34
+ 'timer-inside'?: boolean;
31
35
  }, "ref"> & React.RefAttributes<HTMLButtonElement>>;
32
36
  export default TimerButton;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@descope/flow-components",
3
- "version": "3.3.5",
3
+ "version": "3.5.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.3.5"
100
+ "@descope/web-components-ui": "3.5.0"
101
101
  },
102
102
  "peerDependencies": {
103
103
  "react": ">= 18"