@velocis/timepicker1 0.2.0 → 0.3.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.cjs +2 -1
- package/dist/index.d.cts +3 -1
- package/dist/index.d.ts +3 -1
- package/dist/index.js +2 -1
- package/package.json +3 -3
package/dist/index.cjs
CHANGED
|
@@ -481,6 +481,7 @@ function TimePicker1Root({
|
|
|
481
481
|
closeOnSelect = TIMEPICKER1_DEFAULTS.closeOnSelect,
|
|
482
482
|
closeOnScroll = TIMEPICKER1_DEFAULTS.closeOnScroll,
|
|
483
483
|
contentZIndex = TIMEPICKER1_DEFAULTS.contentZIndex,
|
|
484
|
+
zIndex,
|
|
484
485
|
testId,
|
|
485
486
|
contentTestId
|
|
486
487
|
}) {
|
|
@@ -563,7 +564,7 @@ function TimePicker1Root({
|
|
|
563
564
|
className: (0, import_core3.cn)(timePicker1ContentVariants(), contentClassName),
|
|
564
565
|
style: {
|
|
565
566
|
...positionStyle,
|
|
566
|
-
zIndex: contentZIndex,
|
|
567
|
+
zIndex: zIndex ?? contentZIndex,
|
|
567
568
|
backgroundColor: resolvedColors.panelBgColor
|
|
568
569
|
},
|
|
569
570
|
children: /* @__PURE__ */ (0, import_jsx_runtime2.jsx)(
|
package/dist/index.d.cts
CHANGED
|
@@ -101,11 +101,13 @@ type TimePicker1Props = {
|
|
|
101
101
|
closeOnSelect?: boolean;
|
|
102
102
|
closeOnScroll?: boolean;
|
|
103
103
|
contentZIndex?: number | string;
|
|
104
|
+
/** Alias for contentZIndex */
|
|
105
|
+
zIndex?: number | string;
|
|
104
106
|
testId?: string;
|
|
105
107
|
contentTestId?: string;
|
|
106
108
|
};
|
|
107
109
|
|
|
108
|
-
declare function TimePicker1Root({ trigger, value: controlledValue, defaultValue, onChange, open: controlledOpen, defaultOpen, onOpenChange, colors, locale: localeProp, use24Hour, minuteStep, slotCount, startFromNow, minTime, maxTime, disabledRules, listHeight, listClassName, triggerClassName, contentClassName, contentWidth, fullWidth, disabled, closeOnSelect, closeOnScroll, contentZIndex, testId, contentTestId, }: TimePicker1Props): react.JSX.Element;
|
|
110
|
+
declare function TimePicker1Root({ trigger, value: controlledValue, defaultValue, onChange, open: controlledOpen, defaultOpen, onOpenChange, colors, locale: localeProp, use24Hour, minuteStep, slotCount, startFromNow, minTime, maxTime, disabledRules, listHeight, listClassName, triggerClassName, contentClassName, contentWidth, fullWidth, disabled, closeOnSelect, closeOnScroll, contentZIndex, zIndex, testId, contentTestId, }: TimePicker1Props): react.JSX.Element;
|
|
109
111
|
|
|
110
112
|
declare const TIMEPICKER1_DEFAULTS: {
|
|
111
113
|
readonly contentWidth: "w-40";
|
package/dist/index.d.ts
CHANGED
|
@@ -101,11 +101,13 @@ type TimePicker1Props = {
|
|
|
101
101
|
closeOnSelect?: boolean;
|
|
102
102
|
closeOnScroll?: boolean;
|
|
103
103
|
contentZIndex?: number | string;
|
|
104
|
+
/** Alias for contentZIndex */
|
|
105
|
+
zIndex?: number | string;
|
|
104
106
|
testId?: string;
|
|
105
107
|
contentTestId?: string;
|
|
106
108
|
};
|
|
107
109
|
|
|
108
|
-
declare function TimePicker1Root({ trigger, value: controlledValue, defaultValue, onChange, open: controlledOpen, defaultOpen, onOpenChange, colors, locale: localeProp, use24Hour, minuteStep, slotCount, startFromNow, minTime, maxTime, disabledRules, listHeight, listClassName, triggerClassName, contentClassName, contentWidth, fullWidth, disabled, closeOnSelect, closeOnScroll, contentZIndex, testId, contentTestId, }: TimePicker1Props): react.JSX.Element;
|
|
110
|
+
declare function TimePicker1Root({ trigger, value: controlledValue, defaultValue, onChange, open: controlledOpen, defaultOpen, onOpenChange, colors, locale: localeProp, use24Hour, minuteStep, slotCount, startFromNow, minTime, maxTime, disabledRules, listHeight, listClassName, triggerClassName, contentClassName, contentWidth, fullWidth, disabled, closeOnSelect, closeOnScroll, contentZIndex, zIndex, testId, contentTestId, }: TimePicker1Props): react.JSX.Element;
|
|
109
111
|
|
|
110
112
|
declare const TIMEPICKER1_DEFAULTS: {
|
|
111
113
|
readonly contentWidth: "w-40";
|
package/dist/index.js
CHANGED
|
@@ -444,6 +444,7 @@ function TimePicker1Root({
|
|
|
444
444
|
closeOnSelect = TIMEPICKER1_DEFAULTS.closeOnSelect,
|
|
445
445
|
closeOnScroll = TIMEPICKER1_DEFAULTS.closeOnScroll,
|
|
446
446
|
contentZIndex = TIMEPICKER1_DEFAULTS.contentZIndex,
|
|
447
|
+
zIndex,
|
|
447
448
|
testId,
|
|
448
449
|
contentTestId
|
|
449
450
|
}) {
|
|
@@ -526,7 +527,7 @@ function TimePicker1Root({
|
|
|
526
527
|
className: cn2(timePicker1ContentVariants(), contentClassName),
|
|
527
528
|
style: {
|
|
528
529
|
...positionStyle,
|
|
529
|
-
zIndex: contentZIndex,
|
|
530
|
+
zIndex: zIndex ?? contentZIndex,
|
|
530
531
|
backgroundColor: resolvedColors.panelBgColor
|
|
531
532
|
},
|
|
532
533
|
children: /* @__PURE__ */ jsx2(
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@velocis/timepicker1",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.3.0",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"sideEffects": false,
|
|
6
6
|
"type": "module",
|
|
@@ -23,8 +23,8 @@
|
|
|
23
23
|
},
|
|
24
24
|
"dependencies": {
|
|
25
25
|
"class-variance-authority": "^0.7.1",
|
|
26
|
-
"@velocis/core": "0.
|
|
27
|
-
"@velocis/theme": "0.
|
|
26
|
+
"@velocis/core": "0.2.0",
|
|
27
|
+
"@velocis/theme": "0.3.0"
|
|
28
28
|
},
|
|
29
29
|
"devDependencies": {
|
|
30
30
|
"@types/react": "^19.0.2",
|