lizaui 9.0.2 → 9.0.4

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.
Files changed (108) hide show
  1. package/dist/button/index.cjs.js +1 -1
  2. package/dist/button/index.es.js +1 -1
  3. package/dist/calendar/index.cjs.js +64 -800
  4. package/dist/calendar/index.cjs.js.map +1 -1
  5. package/dist/calendar/index.es.js +29 -765
  6. package/dist/calendar/index.es.js.map +1 -1
  7. package/dist/checkbox/index.cjs.js +1 -1
  8. package/dist/checkbox/index.es.js +1 -1
  9. package/dist/chip/index.cjs.js +9 -9
  10. package/dist/chip/index.cjs.js.map +1 -1
  11. package/dist/chip/index.es.js +2 -2
  12. package/dist/chunks/{button-MKhaqe0K.js → button-B0fpJrMg.js} +3 -3
  13. package/dist/chunks/{button-MKhaqe0K.js.map → button-B0fpJrMg.js.map} +1 -1
  14. package/dist/chunks/{button-BKebd9mx.js → button-d5z8H59K.js} +13 -13
  15. package/dist/chunks/{button-BKebd9mx.js.map → button-d5z8H59K.js.map} +1 -1
  16. package/dist/chunks/{checkbox-DpLEjjb9.js → checkbox-C1Sssumg.js} +3 -3
  17. package/dist/chunks/{checkbox-DpLEjjb9.js.map → checkbox-C1Sssumg.js.map} +1 -1
  18. package/dist/chunks/{checkbox-BoxBfskJ.js → checkbox-ovjcc7jF.js} +15 -15
  19. package/dist/chunks/{checkbox-BoxBfskJ.js.map → checkbox-ovjcc7jF.js.map} +1 -1
  20. package/dist/chunks/{index-BHpUy2Ix.js → index-CEKmKomA.js} +2 -2
  21. package/dist/chunks/{index-BHpUy2Ix.js.map → index-CEKmKomA.js.map} +1 -1
  22. package/dist/chunks/{index-CATvGmak.js → index-C_sOsPRt.js} +5 -5
  23. package/dist/chunks/{index-CATvGmak.js.map → index-C_sOsPRt.js.map} +1 -1
  24. package/dist/chunks/{index-CNDtGisb.js → index-DaMyCNJ8.js} +2 -2
  25. package/dist/chunks/{index-CNDtGisb.js.map → index-DaMyCNJ8.js.map} +1 -1
  26. package/dist/chunks/{label-error-DkVGsF5w.js → label-error-BTCuInp7.js} +2 -2
  27. package/dist/chunks/{label-error-DkVGsF5w.js.map → label-error-BTCuInp7.js.map} +1 -1
  28. package/dist/chunks/label-error-C8lIsfXu.js +9 -0
  29. package/dist/chunks/{label-error-2QXnvbxJ.js.map → label-error-C8lIsfXu.js.map} +1 -1
  30. package/dist/chunks/{ripple-CTAKSntE.js → ripple-Bm6QamOy.js} +4 -4
  31. package/dist/chunks/{ripple-CTAKSntE.js.map → ripple-Bm6QamOy.js.map} +1 -1
  32. package/dist/chunks/{scroll-area-CNEU8oOo.js → scroll-area-C0NhSIO2.js} +31 -31
  33. package/dist/chunks/{scroll-area-CNEU8oOo.js.map → scroll-area-C0NhSIO2.js.map} +1 -1
  34. package/dist/chunks/{scroll-area-3h3tgoqp.js → scroll-area-JgKF61tc.js} +3 -3
  35. package/dist/chunks/{scroll-area-3h3tgoqp.js.map → scroll-area-JgKF61tc.js.map} +1 -1
  36. package/dist/chunks/{select-BW-plZA9.js → select-DGnc8VJi.js} +73 -73
  37. package/dist/chunks/{select-BW-plZA9.js.map → select-DGnc8VJi.js.map} +1 -1
  38. package/dist/chunks/{select-wGmz50gN.js → select-Dpyj5dUk.js} +3 -3
  39. package/dist/chunks/{select-wGmz50gN.js.map → select-Dpyj5dUk.js.map} +1 -1
  40. package/dist/chunks/{styled-components.browser.esm-DbYXI9h_.js → styled-components.browser.esm-CPR7VH_x.js} +3 -3
  41. package/dist/chunks/{styled-components.browser.esm-DbYXI9h_.js.map → styled-components.browser.esm-CPR7VH_x.js.map} +1 -1
  42. package/dist/chunks/{textarea-CPHr2RpC.js → textarea-D2_KC-J4.js} +98 -98
  43. package/dist/chunks/{textarea-CPHr2RpC.js.map → textarea-D2_KC-J4.js.map} +1 -1
  44. package/dist/chunks/{textarea-CXQO1MMF.js → textarea-_HQpXiCX.js} +8 -8
  45. package/dist/chunks/{textarea-CXQO1MMF.js.map → textarea-_HQpXiCX.js.map} +1 -1
  46. package/dist/chunks/{tooltip-05Mv2hjx.js → tooltip-GGFk8ALK.js} +15 -15
  47. package/dist/chunks/{tooltip-05Mv2hjx.js.map → tooltip-GGFk8ALK.js.map} +1 -1
  48. package/dist/chunks/{tooltip-D3J0_sJU.js → tooltip-JwIbppjO.js} +3 -3
  49. package/dist/chunks/{tooltip-D3J0_sJU.js.map → tooltip-JwIbppjO.js.map} +1 -1
  50. package/dist/chunks/tv-B0li4IsO.js +41 -0
  51. package/dist/chunks/tv-B0li4IsO.js.map +1 -0
  52. package/dist/chunks/tv-CGbWb8zP.js +40 -0
  53. package/dist/chunks/tv-CGbWb8zP.js.map +1 -0
  54. package/dist/chunks/utils-H80jjgLf.js +9 -0
  55. package/dist/chunks/{utils-BnY7EXd5.js.map → utils-H80jjgLf.js.map} +1 -1
  56. package/dist/chunks/utils-ij3i9zTT.js +8 -0
  57. package/dist/chunks/{utils-nIKS3WsJ.js.map → utils-ij3i9zTT.js.map} +1 -1
  58. package/dist/components/calendar/date-picker/date-picker.d.ts +1 -1
  59. package/dist/components/calendar/date-picker/date-picker.d.ts.map +1 -1
  60. package/dist/components/calendar/date-picker/date-picker.style.d.ts +1 -0
  61. package/dist/components/calendar/date-picker/date-picker.style.d.ts.map +1 -1
  62. package/dist/components/calendar/date-picker/interface/date-picker.interface.d.ts +1 -0
  63. package/dist/components/calendar/date-picker/interface/date-picker.interface.d.ts.map +1 -1
  64. package/dist/divider/index.cjs.js +4 -4
  65. package/dist/divider/index.es.js +1 -1
  66. package/dist/modal/index.cjs.js +17 -17
  67. package/dist/modal/index.es.js +3 -3
  68. package/dist/pagination/index.cjs.js +29 -29
  69. package/dist/pagination/index.cjs.js.map +1 -1
  70. package/dist/pagination/index.es.js +5 -5
  71. package/dist/phone-input/index.cjs.js +32 -31
  72. package/dist/phone-input/index.cjs.js.map +1 -1
  73. package/dist/phone-input/index.es.js +7 -6
  74. package/dist/phone-input/index.es.js.map +1 -1
  75. package/dist/ripple/index.cjs.js +1 -1
  76. package/dist/select-input/index.cjs.js +39 -39
  77. package/dist/select-input/index.cjs.js.map +1 -1
  78. package/dist/select-input/index.es.js +5 -5
  79. package/dist/table/index.cjs.js +44 -44
  80. package/dist/table/index.cjs.js.map +1 -1
  81. package/dist/table/index.es.js +5 -5
  82. package/dist/time-input/index.cjs.js +53 -53
  83. package/dist/time-input/index.cjs.js.map +1 -1
  84. package/dist/time-input/index.es.js +5 -5
  85. package/dist/tooltip/index.cjs.js +1 -1
  86. package/dist/tooltip/index.es.js +1 -1
  87. package/dist/ui/index.cjs.js +324 -324
  88. package/dist/ui/index.es.js +10 -10
  89. package/package.json +8 -2
  90. package/dist/chunks/bundle-mjs-BWLS65yY.js +0 -3003
  91. package/dist/chunks/bundle-mjs-BWLS65yY.js.map +0 -1
  92. package/dist/chunks/bundle-mjs-DB1IOBLD.js +0 -3004
  93. package/dist/chunks/bundle-mjs-DB1IOBLD.js.map +0 -1
  94. package/dist/chunks/clsx-CBkIpawf.js +0 -16
  95. package/dist/chunks/clsx-CBkIpawf.js.map +0 -1
  96. package/dist/chunks/clsx-DgYk2OaC.js +0 -17
  97. package/dist/chunks/clsx-DgYk2OaC.js.map +0 -1
  98. package/dist/chunks/label-error-2QXnvbxJ.js +0 -9
  99. package/dist/chunks/tv-C-wpiWwh.js +0 -274
  100. package/dist/chunks/tv-C-wpiWwh.js.map +0 -1
  101. package/dist/chunks/tv-C4gJMNo3.js +0 -275
  102. package/dist/chunks/tv-C4gJMNo3.js.map +0 -1
  103. package/dist/chunks/utils-BnY7EXd5.js +0 -9
  104. package/dist/chunks/utils-nIKS3WsJ.js +0 -8
  105. package/dist/chunks/v4-BQ42ZlDJ.js +0 -39
  106. package/dist/chunks/v4-BQ42ZlDJ.js.map +0 -1
  107. package/dist/chunks/v4-C3omdoBX.js +0 -40
  108. package/dist/chunks/v4-C3omdoBX.js.map +0 -1
@@ -1,14 +1,14 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
3
- const require$$0 = require("react/jsx-runtime");
3
+ const jsxRuntime = require("react/jsx-runtime");
4
4
  const React = require("react");
5
5
  const ReactDOM = require("react-dom");
6
- const clsx = require("../chunks/clsx-CBkIpawf.js");
7
- const styledComponents_browser_esm = require("../chunks/styled-components.browser.esm-DbYXI9h_.js");
8
- const utils = require("../chunks/utils-nIKS3WsJ.js");
9
- require("../chunks/textarea-CPHr2RpC.js");
10
- const labelError = require("../chunks/label-error-2QXnvbxJ.js");
11
- require("../chunks/button-BKebd9mx.js");
6
+ const clsx = require("clsx");
7
+ const styledComponents_browser_esm = require("../chunks/styled-components.browser.esm-CPR7VH_x.js");
8
+ const utils = require("../chunks/utils-ij3i9zTT.js");
9
+ require("../chunks/textarea-D2_KC-J4.js");
10
+ const labelError = require("../chunks/label-error-C8lIsfXu.js");
11
+ require("../chunks/button-d5z8H59K.js");
12
12
  function getHours(date) {
13
13
  if (date instanceof Date) {
14
14
  return date.getHours();
@@ -96,9 +96,9 @@ function getHoursMinutesSeconds(date) {
96
96
  }
97
97
  function Hand(_a) {
98
98
  var _b = _a.angle, angle = _b === void 0 ? 0 : _b, name = _a.name, _c = _a.length, length = _c === void 0 ? 100 : _c, _d = _a.oppositeLength, oppositeLength = _d === void 0 ? 10 : _d, _e = _a.width, width = _e === void 0 ? 1 : _e;
99
- return require$$0.jsx("div", { className: "react-clock__hand react-clock__".concat(name, "-hand"), style: {
99
+ return jsxRuntime.jsx("div", { className: "react-clock__hand react-clock__".concat(name, "-hand"), style: {
100
100
  transform: "rotate(".concat(angle, "deg)")
101
- }, children: require$$0.jsx("div", { className: "react-clock__hand__body react-clock__".concat(name, "-hand__body"), style: {
101
+ }, children: jsxRuntime.jsx("div", { className: "react-clock__hand__body react-clock__".concat(name, "-hand__body"), style: {
102
102
  width: "".concat(width, "px"),
103
103
  top: "".concat(50 - length / 2, "%"),
104
104
  bottom: "".concat(50 - oppositeLength / 2, "%")
@@ -106,9 +106,9 @@ function Hand(_a) {
106
106
  }
107
107
  var Mark = React.memo(function Mark2(_a) {
108
108
  var _b = _a.angle, angle = _b === void 0 ? 0 : _b, _c = _a.length, length = _c === void 0 ? 10 : _c, name = _a.name, _d = _a.width, width = _d === void 0 ? 1 : _d;
109
- return require$$0.jsx("div", { className: "react-clock__mark react-clock__".concat(name, "-mark"), style: {
109
+ return jsxRuntime.jsx("div", { className: "react-clock__mark react-clock__".concat(name, "-mark"), style: {
110
110
  transform: "rotate(".concat(angle, "deg)")
111
- }, children: require$$0.jsx("div", { className: "react-clock__mark__body react-clock__".concat(name, "-mark__body"), style: {
111
+ }, children: jsxRuntime.jsx("div", { className: "react-clock__mark__body react-clock__".concat(name, "-mark__body"), style: {
112
112
  width: "".concat(width, "px"),
113
113
  top: 0,
114
114
  bottom: "".concat(100 - length / 2, "%")
@@ -116,9 +116,9 @@ var Mark = React.memo(function Mark2(_a) {
116
116
  });
117
117
  var MarkNumber = React.memo(function MarkNumber2(_a) {
118
118
  var _b = _a.angle, angle = _b === void 0 ? 0 : _b, _c = _a.length, length = _c === void 0 ? 10 : _c, name = _a.name, number = _a.number;
119
- return require$$0.jsx("div", { className: "react-clock__mark react-clock__".concat(name, "-mark"), style: {
119
+ return jsxRuntime.jsx("div", { className: "react-clock__mark react-clock__".concat(name, "-mark"), style: {
120
120
  transform: "rotate(".concat(angle, "deg)")
121
- }, children: require$$0.jsx("div", { className: "react-clock__mark__number", style: {
121
+ }, children: jsxRuntime.jsx("div", { className: "react-clock__mark__number", style: {
122
122
  transform: "rotate(-".concat(angle, "deg)"),
123
123
  top: "".concat(length / 2, "%")
124
124
  }, children: number }) });
@@ -291,7 +291,7 @@ function Clock(_a) {
291
291
  for (var i = 1; i <= 60; i += 1) {
292
292
  var isHourMark = renderHourMarks && !(i % 5);
293
293
  if (!isHourMark) {
294
- minuteMarks.push(require$$0.jsx(Mark, { angle: i * 6, length: minuteMarksLength, name: "minute", width: minuteMarksWidth }, "minute_".concat(i)));
294
+ minuteMarks.push(jsxRuntime.jsx(Mark, { angle: i * 6, length: minuteMarksLength, name: "minute", width: minuteMarksWidth }, "minute_".concat(i)));
295
295
  }
296
296
  }
297
297
  return minuteMarks;
@@ -302,7 +302,7 @@ function Clock(_a) {
302
302
  }
303
303
  var hourMarks = [];
304
304
  for (var i = 1; i <= 12; i += 1) {
305
- hourMarks.push(require$$0.jsx(Mark, { angle: i * 30, length: hourMarksLength, name: "hour", width: hourMarksWidth }, "hour_".concat(i)));
305
+ hourMarks.push(jsxRuntime.jsx(Mark, { angle: i * 30, length: hourMarksLength, name: "hour", width: hourMarksWidth }, "hour_".concat(i)));
306
306
  }
307
307
  return hourMarks;
308
308
  }
@@ -312,32 +312,32 @@ function Clock(_a) {
312
312
  }
313
313
  var numbers = [];
314
314
  for (var i = 1; i <= 12; i += 1) {
315
- numbers.push(require$$0.jsx(MarkNumber, { angle: i * 30, length: safeMax$1(renderHourMarks && hourMarksLength, renderMinuteMarks && minuteMarksLength, 0), name: "number", number: formatHour$1(locale, i) }, "number_".concat(i)));
315
+ numbers.push(jsxRuntime.jsx(MarkNumber, { angle: i * 30, length: safeMax$1(renderHourMarks && hourMarksLength, renderMinuteMarks && minuteMarksLength, 0), name: "number", number: formatHour$1(locale, i) }, "number_".concat(i)));
316
316
  }
317
317
  return numbers;
318
318
  }
319
319
  function renderFace() {
320
- return require$$0.jsxs("div", { className: "react-clock__face", children: [renderMinuteMarksFn(), renderHourMarksFn(), renderNumbersFn()] });
320
+ return jsxRuntime.jsxs("div", { className: "react-clock__face", children: [renderMinuteMarksFn(), renderHourMarksFn(), renderNumbersFn()] });
321
321
  }
322
322
  function renderHourHandFn() {
323
323
  var angle = value ? getHours(value) * 30 + getMinutes(value) / 2 + getSeconds(value) / 120 + (useMillisecondPrecision ? getMilliseconds(value) / 12e4 : 0) : 0;
324
- return require$$0.jsx(Hand, { angle, length: hourHandLength, name: "hour", oppositeLength: hourHandOppositeLength, width: hourHandWidth });
324
+ return jsxRuntime.jsx(Hand, { angle, length: hourHandLength, name: "hour", oppositeLength: hourHandOppositeLength, width: hourHandWidth });
325
325
  }
326
326
  function renderMinuteHandFn() {
327
327
  if (!renderMinuteHand) {
328
328
  return null;
329
329
  }
330
330
  var angle = value ? getHours(value) * 360 + getMinutes(value) * 6 + getSeconds(value) / 10 + (useMillisecondPrecision ? getMilliseconds(value) / 1e4 : 0) : 0;
331
- return require$$0.jsx(Hand, { angle, length: minuteHandLength, name: "minute", oppositeLength: minuteHandOppositeLength, width: minuteHandWidth });
331
+ return jsxRuntime.jsx(Hand, { angle, length: minuteHandLength, name: "minute", oppositeLength: minuteHandOppositeLength, width: minuteHandWidth });
332
332
  }
333
333
  function renderSecondHandFn() {
334
334
  if (!renderSecondHand) {
335
335
  return null;
336
336
  }
337
337
  var angle = value ? getMinutes(value) * 360 + getSeconds(value) * 6 + (useMillisecondPrecision ? getMilliseconds(value) * 6e-3 : 0) : 0;
338
- return require$$0.jsx(Hand, { angle, length: secondHandLength, name: "second", oppositeLength: secondHandOppositeLength, width: secondHandWidth });
338
+ return jsxRuntime.jsx(Hand, { angle, length: secondHandLength, name: "second", oppositeLength: secondHandOppositeLength, width: secondHandWidth });
339
339
  }
340
- return require$$0.jsxs("time", { className: clsx.clsx("react-clock", className), dateTime: value instanceof Date ? (
340
+ return jsxRuntime.jsxs("time", { className: clsx("react-clock", className), dateTime: value instanceof Date ? (
341
341
  // Returns a string in the format "HH:MM" or "HH:MM:SS"
342
342
  value.toLocaleTimeString("en", {
343
343
  hourCycle: "h23",
@@ -351,7 +351,7 @@ function Clock(_a) {
351
351
  }, children: [renderFace(), renderHourHandFn(), renderMinuteHandFn(), renderSecondHandFn()] });
352
352
  }
353
353
  function Divider({ children }) {
354
- return require$$0.jsx("span", { className: "react-time-picker__inputGroup__divider", children });
354
+ return jsxRuntime.jsx("span", { className: "react-time-picker__inputGroup__divider", children });
355
355
  }
356
356
  function convert12to24(hour12, amPm) {
357
357
  let hour24 = Number(hour12);
@@ -426,11 +426,11 @@ function AmPm({ ariaLabel, autoFocus, className, disabled, inputRef, locale, max
426
426
  const pmDisabled = maxTime ? convert24to12(getHours(maxTime))[1] === "am" : false;
427
427
  const name = "amPm";
428
428
  const [amLabel, pmLabel] = getAmPmLabels(locale);
429
- return require$$0.jsxs("select", {
429
+ return jsxRuntime.jsxs("select", {
430
430
  "aria-label": ariaLabel,
431
431
  // biome-ignore lint/a11y/noAutofocus: This is up to developers' decision
432
432
  autoFocus,
433
- className: clsx.clsx(`${className}__input`, `${className}__${name}`),
433
+ className: clsx(`${className}__input`, `${className}__${name}`),
434
434
  "data-input": "true",
435
435
  "data-select": "true",
436
436
  disabled,
@@ -441,7 +441,7 @@ function AmPm({ ariaLabel, autoFocus, className, disabled, inputRef, locale, max
441
441
  ref: inputRef,
442
442
  required,
443
443
  value: value !== null ? value : "",
444
- children: [!value && require$$0.jsx("option", { value: "", children: "--" }), require$$0.jsx("option", { disabled: amDisabled, value: "am", children: amLabel }), require$$0.jsx("option", { disabled: pmDisabled, value: "pm", children: pmLabel })]
444
+ children: [!value && jsxRuntime.jsx("option", { value: "", children: "--" }), jsxRuntime.jsx("option", { disabled: amDisabled, value: "am", children: amLabel }), jsxRuntime.jsx("option", { disabled: pmDisabled, value: "pm", children: pmLabel })]
445
445
  });
446
446
  }
447
447
  var allowedVariants = ["normal", "small-caps"];
@@ -560,12 +560,12 @@ function Input({ ariaLabel, autoFocus, className, disabled, inputRef, max, min,
560
560
  }, [inputRef, value]);
561
561
  const hasLeadingZero = showLeadingZeros && value && Number(value) < 10 && (value === "0" || !value.toString().startsWith("0"));
562
562
  const maxLength = max ? max.toString().length : null;
563
- return require$$0.jsxs(require$$0.Fragment, { children: [hasLeadingZero ? require$$0.jsx("span", { className: `${className}__leadingZero`, children: "0" }) : null, require$$0.jsx("input", {
563
+ return jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [hasLeadingZero ? jsxRuntime.jsx("span", { className: `${className}__leadingZero`, children: "0" }) : null, jsxRuntime.jsx("input", {
564
564
  "aria-label": ariaLabel,
565
565
  autoComplete: "off",
566
566
  // biome-ignore lint/a11y/noAutofocus: This is up to developers' decision
567
567
  autoFocus,
568
- className: clsx.clsx(`${className}__input`, `${className}__${nameForClass || name}`, hasLeadingZero && `${className}__input--hasLeadingZero`),
568
+ className: clsx(`${className}__input`, `${className}__${nameForClass || name}`, hasLeadingZero && `${className}__input--hasLeadingZero`),
569
569
  "data-input": "true",
570
570
  disabled,
571
571
  inputMode: "numeric",
@@ -611,12 +611,12 @@ function Hour12Input({ amPm, maxTime, minTime, value, ...otherProps }) {
611
611
  return minHourResult;
612
612
  })());
613
613
  const value12 = value ? convert24to12(value)[0].toString() : "";
614
- return require$$0.jsx(Input, { max: maxHour, min: minHour, name: "hour12", nameForClass: "hour", value: value12, ...otherProps });
614
+ return jsxRuntime.jsx(Input, { max: maxHour, min: minHour, name: "hour12", nameForClass: "hour", value: value12, ...otherProps });
615
615
  }
616
616
  function Hour24Input({ maxTime, minTime, ...otherProps }) {
617
617
  const maxHour = safeMin(23, maxTime && getHours(maxTime));
618
618
  const minHour = safeMax(0, minTime && getHours(minTime));
619
- return require$$0.jsx(Input, { max: maxHour, min: minHour, name: "hour24", nameForClass: "hour", ...otherProps });
619
+ return jsxRuntime.jsx(Input, { max: maxHour, min: minHour, name: "hour24", nameForClass: "hour", ...otherProps });
620
620
  }
621
621
  function MinuteInput({ hour, maxTime, minTime, showLeadingZeros = true, ...otherProps }) {
622
622
  function isSameHour(date) {
@@ -624,7 +624,7 @@ function MinuteInput({ hour, maxTime, minTime, showLeadingZeros = true, ...other
624
624
  }
625
625
  const maxMinute = safeMin(59, maxTime && isSameHour(maxTime) && getMinutes(maxTime));
626
626
  const minMinute = safeMax(0, minTime && isSameHour(minTime) && getMinutes(minTime));
627
- return require$$0.jsx(Input, { max: maxMinute, min: minMinute, name: "minute", showLeadingZeros, ...otherProps });
627
+ return jsxRuntime.jsx(Input, { max: maxMinute, min: minMinute, name: "minute", showLeadingZeros, ...otherProps });
628
628
  }
629
629
  function NativeInput({ ariaLabel, disabled, maxTime, minTime, name, onChange, required, value, valueType }) {
630
630
  const nativeValueParser = (() => {
@@ -654,7 +654,7 @@ function NativeInput({ ariaLabel, disabled, maxTime, minTime, name, onChange, re
654
654
  function stopPropagation(event) {
655
655
  event.stopPropagation();
656
656
  }
657
- return require$$0.jsx("input", { "aria-label": ariaLabel, disabled, hidden: true, max: maxTime ? nativeValueParser(maxTime) : void 0, min: minTime ? nativeValueParser(minTime) : void 0, name, onChange, onFocus: stopPropagation, required, step, style: {
657
+ return jsxRuntime.jsx("input", { "aria-label": ariaLabel, disabled, hidden: true, max: maxTime ? nativeValueParser(maxTime) : void 0, min: minTime ? nativeValueParser(minTime) : void 0, name, onChange, onFocus: stopPropagation, required, step, style: {
658
658
  visibility: "hidden",
659
659
  position: "absolute",
660
660
  zIndex: "-999"
@@ -666,7 +666,7 @@ function SecondInput({ hour, maxTime, minTime, minute, showLeadingZeros = true,
666
666
  }
667
667
  const maxSecond = safeMin(59, maxTime && isSameMinute(maxTime) && getSeconds(maxTime));
668
668
  const minSecond = safeMax(0, minTime && isSameMinute(minTime) && getSeconds(minTime));
669
- return require$$0.jsx(Input, { max: maxSecond, min: minSecond, name: "second", showLeadingZeros, ...otherProps });
669
+ return jsxRuntime.jsx(Input, { max: maxSecond, min: minSecond, name: "second", showLeadingZeros, ...otherProps });
670
670
  }
671
671
  const getFormatterOptionsCache = {};
672
672
  const allViews = ["hour", "minute", "second"];
@@ -691,7 +691,7 @@ function renderCustomInputs(placeholder, elementFunctions, allowMultipleInstance
691
691
  const matches = placeholder.match(pattern);
692
692
  return placeholder.split(pattern).reduce((arr, element, index) => {
693
693
  const divider = element && // biome-ignore lint/suspicious/noArrayIndexKey: index is stable here
694
- require$$0.jsx(Divider, { children: element }, `separator_${index}`);
694
+ jsxRuntime.jsx(Divider, { children: element }, `separator_${index}`);
695
695
  arr.push(divider);
696
696
  const currentMatch = matches === null || matches === void 0 ? void 0 : matches[index];
697
697
  if (currentMatch) {
@@ -919,14 +919,14 @@ function TimeInput({ amPmAriaLabel, autoFocus, className, disabled, format, hour
919
919
  throw new Error(`Unsupported token: ${currentMatch}`);
920
920
  }
921
921
  const showLeadingZeros = currentMatch ? currentMatch.length === 2 : false;
922
- return require$$0.jsx(Hour12Input, { ...commonInputProps, amPm, ariaLabel: hourAriaLabel, autoFocus: index === 0 && autoFocus, inputRef: hour12Input, placeholder: hourPlaceholder, showLeadingZeros, value: hour }, "hour12");
922
+ return jsxRuntime.jsx(Hour12Input, { ...commonInputProps, amPm, ariaLabel: hourAriaLabel, autoFocus: index === 0 && autoFocus, inputRef: hour12Input, placeholder: hourPlaceholder, showLeadingZeros, value: hour }, "hour12");
923
923
  }
924
924
  function renderHour24(currentMatch, index) {
925
925
  if (currentMatch && currentMatch.length > 2) {
926
926
  throw new Error(`Unsupported token: ${currentMatch}`);
927
927
  }
928
928
  const showLeadingZeros = currentMatch ? currentMatch.length === 2 : false;
929
- return require$$0.jsx(Hour24Input, { ...commonInputProps, ariaLabel: hourAriaLabel, autoFocus: index === 0 && autoFocus, inputRef: hour24Input, placeholder: hourPlaceholder, showLeadingZeros, value: hour }, "hour24");
929
+ return jsxRuntime.jsx(Hour24Input, { ...commonInputProps, ariaLabel: hourAriaLabel, autoFocus: index === 0 && autoFocus, inputRef: hour24Input, placeholder: hourPlaceholder, showLeadingZeros, value: hour }, "hour24");
930
930
  }
931
931
  function renderHour(currentMatch, index) {
932
932
  if (/h/.test(currentMatch)) {
@@ -939,17 +939,17 @@ function TimeInput({ amPmAriaLabel, autoFocus, className, disabled, format, hour
939
939
  throw new Error(`Unsupported token: ${currentMatch}`);
940
940
  }
941
941
  const showLeadingZeros = currentMatch ? currentMatch.length === 2 : false;
942
- return require$$0.jsx(MinuteInput, { ...commonInputProps, ariaLabel: minuteAriaLabel, autoFocus: index === 0 && autoFocus, hour, inputRef: minuteInput, placeholder: minutePlaceholder, showLeadingZeros, value: minute }, "minute");
942
+ return jsxRuntime.jsx(MinuteInput, { ...commonInputProps, ariaLabel: minuteAriaLabel, autoFocus: index === 0 && autoFocus, hour, inputRef: minuteInput, placeholder: minutePlaceholder, showLeadingZeros, value: minute }, "minute");
943
943
  }
944
944
  function renderSecond(currentMatch, index) {
945
945
  if (currentMatch && currentMatch.length > 2) {
946
946
  throw new Error(`Unsupported token: ${currentMatch}`);
947
947
  }
948
948
  const showLeadingZeros = currentMatch ? currentMatch.length === 2 : true;
949
- return require$$0.jsx(SecondInput, { ...commonInputProps, ariaLabel: secondAriaLabel, autoFocus: index === 0 && autoFocus, hour, inputRef: secondInput, minute, placeholder: secondPlaceholder, showLeadingZeros, value: second }, "second");
949
+ return jsxRuntime.jsx(SecondInput, { ...commonInputProps, ariaLabel: secondAriaLabel, autoFocus: index === 0 && autoFocus, hour, inputRef: secondInput, minute, placeholder: secondPlaceholder, showLeadingZeros, value: second }, "second");
950
950
  }
951
951
  function renderAmPm(_currentMatch, index) {
952
- return require$$0.jsx(AmPm, { ...commonInputProps, ariaLabel: amPmAriaLabel, autoFocus: index === 0 && autoFocus, inputRef: amPmInput, locale, onChange, value: amPm }, "ampm");
952
+ return jsxRuntime.jsx(AmPm, { ...commonInputProps, ariaLabel: amPmAriaLabel, autoFocus: index === 0 && autoFocus, inputRef: amPmInput, locale, onChange, value: amPm }, "ampm");
953
953
  }
954
954
  function renderCustomInputsInternal() {
955
955
  const elementFunctions = {
@@ -963,12 +963,12 @@ function TimeInput({ amPmAriaLabel, autoFocus, className, disabled, format, hour
963
963
  return renderCustomInputs(placeholder, elementFunctions, allowMultipleInstances);
964
964
  }
965
965
  function renderNativeInput() {
966
- return require$$0.jsx(NativeInput, { ariaLabel: nativeInputAriaLabel, disabled, maxTime, minTime, name, onChange: onChangeNative, required, value, valueType }, "time");
966
+ return jsxRuntime.jsx(NativeInput, { ariaLabel: nativeInputAriaLabel, disabled, maxTime, minTime, name, onChange: onChangeNative, required, value, valueType }, "time");
967
967
  }
968
968
  return (
969
969
  // biome-ignore lint/a11y/useKeyWithClickEvents: This interaction is designed for mouse users only
970
970
  // biome-ignore lint/a11y/noStaticElementInteractions: This interaction is designed for mouse users only
971
- require$$0.jsxs("div", { className, onClick, children: [renderNativeInput(), renderCustomInputsInternal()] })
971
+ jsxRuntime.jsxs("div", { className, onClick, children: [renderNativeInput(), renderCustomInputsInternal()] })
972
972
  );
973
973
  }
974
974
  const baseClassName = "react-time-picker";
@@ -981,8 +981,8 @@ const iconProps = {
981
981
  stroke: "black",
982
982
  strokeWidth: 2
983
983
  };
984
- const ClockIcon = require$$0.jsxs("svg", { ...iconProps, "aria-hidden": "true", className: `${baseClassName}__clock-button__icon ${baseClassName}__button__icon`, fill: "none", children: [require$$0.jsx("circle", { cx: "9.5", cy: "9.5", r: "7.5" }), require$$0.jsx("path", { d: "M9.5 4.5 v5 h4" })] });
985
- const ClearIcon = require$$0.jsxs("svg", { ...iconProps, "aria-hidden": "true", className: `${baseClassName}__clear-button__icon ${baseClassName}__button__icon`, children: [require$$0.jsx("line", { x1: "4", x2: "15", y1: "4", y2: "15" }), require$$0.jsx("line", { x1: "15", x2: "4", y1: "4", y2: "15" })] });
984
+ const ClockIcon = jsxRuntime.jsxs("svg", { ...iconProps, "aria-hidden": "true", className: `${baseClassName}__clock-button__icon ${baseClassName}__button__icon`, fill: "none", children: [jsxRuntime.jsx("circle", { cx: "9.5", cy: "9.5", r: "7.5" }), jsxRuntime.jsx("path", { d: "M9.5 4.5 v5 h4" })] });
985
+ const ClearIcon = jsxRuntime.jsxs("svg", { ...iconProps, "aria-hidden": "true", className: `${baseClassName}__clear-button__icon ${baseClassName}__button__icon`, children: [jsxRuntime.jsx("line", { x1: "4", x2: "15", y1: "4", y2: "15" }), jsxRuntime.jsx("line", { x1: "15", x2: "4", y1: "4", y2: "15" })] });
986
986
  function TimePicker(props) {
987
987
  const { amPmAriaLabel, autoFocus, className, clearAriaLabel, clearIcon = ClearIcon, clockAriaLabel, clockIcon = ClockIcon, closeClock: shouldCloseClockOnSelect = true, "data-testid": dataTestid, hourAriaLabel, hourPlaceholder, disableClock, disabled, format, id, isOpen: isOpenProps = null, locale, maxTime, maxDetail = "minute", minTime, minuteAriaLabel, minutePlaceholder, name = "time", nativeInputAriaLabel, onClockClose, onClockOpen, onChange: onChangeProps, onFocus: onFocusProps, onInvalidChange, openClockOnFocus = true, required, value, secondAriaLabel, secondPlaceholder, shouldCloseClock, shouldOpenClock, ...otherProps } = props;
988
988
  const [isOpen, setIsOpen] = React.useState(isOpenProps);
@@ -1093,7 +1093,7 @@ function TimePicker(props) {
1093
1093
  minutePlaceholder,
1094
1094
  secondPlaceholder
1095
1095
  };
1096
- return require$$0.jsxs("div", { className: `${baseClassName}__wrapper`, children: [require$$0.jsx(TimeInput, { ...ariaLabelProps, ...placeholderProps, autoFocus, className: `${baseClassName}__inputGroup`, disabled, format, isClockOpen: isOpen, locale, maxDetail, maxTime, minTime, name, onChange, onInvalidChange, required, value: valueFrom }), clearIcon !== null && require$$0.jsx("button", { "aria-label": clearAriaLabel, className: `${baseClassName}__clear-button ${baseClassName}__button`, disabled, onClick: clear, onFocus: stopPropagation, type: "button", children: typeof clearIcon === "function" ? React.createElement(clearIcon) : clearIcon }), clockIcon !== null && !disableClock && require$$0.jsx("button", { "aria-expanded": isOpen || false, "aria-label": clockAriaLabel, className: `${baseClassName}__clock-button ${baseClassName}__button`, disabled, onClick: toggleClock, onFocus: stopPropagation, type: "button", children: typeof clockIcon === "function" ? React.createElement(clockIcon) : clockIcon })] });
1096
+ return jsxRuntime.jsxs("div", { className: `${baseClassName}__wrapper`, children: [jsxRuntime.jsx(TimeInput, { ...ariaLabelProps, ...placeholderProps, autoFocus, className: `${baseClassName}__inputGroup`, disabled, format, isClockOpen: isOpen, locale, maxDetail, maxTime, minTime, name, onChange, onInvalidChange, required, value: valueFrom }), clearIcon !== null && jsxRuntime.jsx("button", { "aria-label": clearAriaLabel, className: `${baseClassName}__clear-button ${baseClassName}__button`, disabled, onClick: clear, onFocus: stopPropagation, type: "button", children: typeof clearIcon === "function" ? React.createElement(clearIcon) : clearIcon }), clockIcon !== null && !disableClock && jsxRuntime.jsx("button", { "aria-expanded": isOpen || false, "aria-label": clockAriaLabel, className: `${baseClassName}__clock-button ${baseClassName}__button`, disabled, onClick: toggleClock, onFocus: stopPropagation, type: "button", children: typeof clockIcon === "function" ? React.createElement(clockIcon) : clockIcon })] });
1097
1097
  }
1098
1098
  function renderClock() {
1099
1099
  if (isOpen === null || disableClock) {
@@ -1101,10 +1101,10 @@ function TimePicker(props) {
1101
1101
  }
1102
1102
  const { clockProps, portalContainer, value: value2 } = props;
1103
1103
  const className2 = `${baseClassName}__clock`;
1104
- const classNames = clsx.clsx(className2, `${className2}--${isOpen ? "open" : "closed"}`);
1104
+ const classNames = clsx(className2, `${className2}--${isOpen ? "open" : "closed"}`);
1105
1105
  const [valueFrom] = Array.isArray(value2) ? value2 : [value2];
1106
- const clock = require$$0.jsx(Clock, { locale, value: valueFrom, ...clockProps });
1107
- return portalContainer ? ReactDOM.createPortal(require$$0.jsx("div", { ref: clockWrapper, className: classNames, children: clock }), portalContainer) : require$$0.jsx(styledComponents_browser_esm.Fit, { children: require$$0.jsx("div", { ref: (ref) => {
1106
+ const clock = jsxRuntime.jsx(Clock, { locale, value: valueFrom, ...clockProps });
1107
+ return portalContainer ? ReactDOM.createPortal(jsxRuntime.jsx("div", { ref: clockWrapper, className: classNames, children: clock }), portalContainer) : jsxRuntime.jsx(styledComponents_browser_esm.Fit, { children: jsxRuntime.jsx("div", { ref: (ref) => {
1108
1108
  if (ref && !isOpen) {
1109
1109
  ref.removeAttribute("style");
1110
1110
  }
@@ -1117,7 +1117,7 @@ function TimePicker(props) {
1117
1117
  );
1118
1118
  return (
1119
1119
  // biome-ignore lint/a11y/noStaticElementInteractions: False positive caused by non interactive wrapper listening for bubbling events
1120
- require$$0.jsxs("div", { className: clsx.clsx(baseClassName, `${baseClassName}--${isOpen ? "open" : "closed"}`, `${baseClassName}--${disabled ? "disabled" : "enabled"}`, className), "data-testid": dataTestid, id, ...eventProps, onFocus: onFocus2, ref: wrapper, children: [renderInputs(), renderClock()] })
1120
+ jsxRuntime.jsxs("div", { className: clsx(baseClassName, `${baseClassName}--${isOpen ? "open" : "closed"}`, `${baseClassName}--${disabled ? "disabled" : "enabled"}`, className), "data-testid": dataTestid, id, ...eventProps, onFocus: onFocus2, ref: wrapper, children: [renderInputs(), renderClock()] })
1121
1121
  );
1122
1122
  }
1123
1123
  const TimePickerInputStyled = styledComponents_browser_esm.dt.div`
@@ -1288,7 +1288,7 @@ const TimePickerInput = ({
1288
1288
  }
1289
1289
  };
1290
1290
  }, [handleAddTime, name]);
1291
- return /* @__PURE__ */ require$$0.jsxs(
1291
+ return /* @__PURE__ */ jsxRuntime.jsxs(
1292
1292
  TimePickerInputStyled,
1293
1293
  {
1294
1294
  ref: refTimePicker,
@@ -1296,12 +1296,12 @@ const TimePickerInput = ({
1296
1296
  className: "time-picker-input relative flex flex-col",
1297
1297
  onBlurCapture: () => onBlurField?.(name),
1298
1298
  children: [
1299
- label && /* @__PURE__ */ require$$0.jsxs("label", { htmlFor: resolvedId, className: labelClass, children: [
1299
+ label && /* @__PURE__ */ jsxRuntime.jsxs("label", { htmlFor: resolvedId, className: labelClass, children: [
1300
1300
  label,
1301
1301
  " ",
1302
- required && /* @__PURE__ */ require$$0.jsx("span", { className: "text-danger", children: "*" })
1302
+ required && /* @__PURE__ */ jsxRuntime.jsx("span", { className: "text-danger", children: "*" })
1303
1303
  ] }),
1304
- /* @__PURE__ */ require$$0.jsx(
1304
+ /* @__PURE__ */ jsxRuntime.jsx(
1305
1305
  TimePicker,
1306
1306
  {
1307
1307
  id: resolvedId,
@@ -1315,7 +1315,7 @@ const TimePickerInput = ({
1315
1315
  minutePlaceholder: "mm",
1316
1316
  disabled,
1317
1317
  required,
1318
- clearIcon: isClearable ? /* @__PURE__ */ require$$0.jsx("svg", { "aria-hidden": "true", focusable: "false", height: "1em", role: "presentation", viewBox: "0 0 24 24", width: "1em", children: /* @__PURE__ */ require$$0.jsx(
1318
+ clearIcon: isClearable ? /* @__PURE__ */ jsxRuntime.jsx("svg", { "aria-hidden": "true", focusable: "false", height: "1em", role: "presentation", viewBox: "0 0 24 24", width: "1em", children: /* @__PURE__ */ jsxRuntime.jsx(
1319
1319
  "path",
1320
1320
  {
1321
1321
  d: "M12 2a10 10 0 1010 10A10.016 10.016 0 0012 2zm3.36 12.3a.754.754 0 010 1.06.748.748 0 01-1.06 0l-2.3-2.3-2.3 2.3a.748.748 0 01-1.06 0 .754.754 0 010-1.06l2.3-2.3-2.3-2.3A.75.75 0 019.7 8.64l2.3 2.3 2.3-2.3a.75.75 0 011.06 1.06l-2.3 2.3z",
@@ -1325,7 +1325,7 @@ const TimePickerInput = ({
1325
1325
  ...rest
1326
1326
  }
1327
1327
  ),
1328
- !disabled && error && touched && isErrorText && /* @__PURE__ */ require$$0.jsx(labelError.LabelError, { text: error })
1328
+ !disabled && error && touched && isErrorText && /* @__PURE__ */ jsxRuntime.jsx(labelError.LabelError, { text: error })
1329
1329
  ]
1330
1330
  }
1331
1331
  );