@xaui/native 0.9.1-alpha.92 → 0.9.1-alpha.94

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 (247) hide show
  1. package/dist/{chunk-PAQZOD2L.js → chunk-2JFMCW5E.js} +1 -1
  2. package/dist/chunk-2TLPFGGR.cjs +251 -0
  3. package/dist/{chunk-TPYOQSKT.js → chunk-2UNLQRXY.js} +1 -1
  4. package/dist/{chunk-JKDWYNSG.js → chunk-2XEQDQAN.js} +109 -107
  5. package/dist/{chunk-RXEUKYM5.js → chunk-33BA4LVN.js} +1 -1
  6. package/dist/{chunk-ODQHAPQW.js → chunk-4AIIAF6U.js} +24 -22
  7. package/dist/{chunk-QCH7X7O2.cjs → chunk-4LRVB6WR.cjs} +14 -14
  8. package/dist/{chunk-QUSQEYLP.cjs → chunk-53E2E7GS.cjs} +26 -28
  9. package/dist/{chunk-2B6PUYTP.cjs → chunk-55KGHYYU.cjs} +4 -4
  10. package/dist/{chunk-B33OU34Z.cjs → chunk-5O7E73QP.cjs} +12 -12
  11. package/dist/{chunk-FVEMTBU4.js → chunk-5XTF2JDK.js} +2 -2
  12. package/dist/{chunk-V2CEKPJ6.js → chunk-6MVKLRLZ.js} +1 -1
  13. package/dist/{chunk-RSIWSVXI.js → chunk-6NAZ2IHL.js} +1 -1
  14. package/dist/{chunk-LPJ3UBSO.cjs → chunk-6NRWZR7T.cjs} +2 -2
  15. package/dist/{chunk-FXN32S75.cjs → chunk-6SRFQSPR.cjs} +3 -3
  16. package/dist/{chunk-7EVW6O2Q.js → chunk-6W45YHTF.js} +1 -1
  17. package/dist/{chunk-7NQL5DXY.js → chunk-6XY3XAEQ.js} +1 -1
  18. package/dist/{chunk-UEW3GAP5.cjs → chunk-6ZWQDTGQ.cjs} +5 -5
  19. package/dist/{chunk-VMPCXS4S.js → chunk-7OVYYZ7H.js} +22 -20
  20. package/dist/{chunk-CYOUOQXT.cjs → chunk-AHJLQJOE.cjs} +5 -5
  21. package/dist/chunk-AHKKEM3K.cjs +536 -0
  22. package/dist/{chunk-WIX4SYZI.cjs → chunk-AIHKBSQ5.cjs} +2 -2
  23. package/dist/{chunk-WRZV6ORJ.js → chunk-AYOJXFHR.js} +1 -1
  24. package/dist/{chunk-OD6H7ANY.js → chunk-B5DBFS6M.js} +1 -1
  25. package/dist/{chunk-VQGNLX5C.js → chunk-BYDGJU5A.js} +1 -1
  26. package/dist/{chunk-NVODH2PR.js → chunk-CCTAJXZ3.js} +63 -61
  27. package/dist/{chunk-ORXVXYKC.cjs → chunk-CHGBWFDI.cjs} +63 -26
  28. package/dist/{chunk-WLJPO3AS.cjs → chunk-CZ2NUGUI.cjs} +357 -201
  29. package/dist/{chunk-PYQ2P3M5.cjs → chunk-CZEWWCWG.cjs} +58 -58
  30. package/dist/{chunk-PDSR42YC.cjs → chunk-D22K3NZU.cjs} +3 -3
  31. package/dist/{chunk-TRWZEOCO.js → chunk-DBP5CA5R.js} +2 -2
  32. package/dist/{chunk-QN2D5ZCS.cjs → chunk-DE4RSR7Q.cjs} +3 -3
  33. package/dist/{chunk-FOOXBVOQ.js → chunk-E5E2QA4K.js} +22 -20
  34. package/dist/{chunk-LECYGVIH.js → chunk-EQUD3NHO.js} +50 -48
  35. package/dist/chunk-ERIGD4SE.cjs +686 -0
  36. package/dist/{chunk-62AYYMZP.cjs → chunk-FDYPWVNP.cjs} +3 -3
  37. package/dist/chunk-GN7BWYXP.cjs +627 -0
  38. package/dist/chunk-GWTURY4S.cjs +999 -0
  39. package/dist/{chunk-OW4N2C3M.cjs → chunk-HBYT7B47.cjs} +88 -61
  40. package/dist/{chunk-XWIPLZTD.cjs → chunk-HOV25N3M.cjs} +2 -2
  41. package/dist/{chunk-5MMBEDZG.cjs → chunk-I3XIZWCV.cjs} +29 -29
  42. package/dist/{chunk-EDNCHCIN.cjs → chunk-IAJG7GYE.cjs} +2 -2
  43. package/dist/{chunk-P7OHZCU3.js → chunk-IAWLQN2W.js} +2 -2
  44. package/dist/{chunk-RCSEVEIR.js → chunk-ICVIWXK4.js} +1 -1
  45. package/dist/{chunk-RREJUSAS.cjs → chunk-IMIY34F4.cjs} +3 -3
  46. package/dist/{chunk-ZWS3FQ3J.js → chunk-IUDQG3JI.js} +57 -57
  47. package/dist/{chunk-O6B72H4B.js → chunk-K7VDLVLE.js} +6 -8
  48. package/dist/{chunk-P2CJNTAP.js → chunk-KFB24VYT.js} +22 -20
  49. package/dist/chunk-KHPODIQV.cjs +540 -0
  50. package/dist/{chunk-CBRW53GN.cjs → chunk-KMK6FUTK.cjs} +39 -23
  51. package/dist/{chunk-2AFA5HA2.js → chunk-KQW25RCC.js} +77 -75
  52. package/dist/{chunk-X4CZYJZ6.cjs → chunk-LCGJA37L.cjs} +12 -12
  53. package/dist/{chunk-SUJLTC2K.js → chunk-LPGY2IDX.js} +1 -1
  54. package/dist/{chunk-P5M5URAB.js → chunk-LSZW4G7B.js} +31 -31
  55. package/dist/{chunk-GYEQEF5H.js → chunk-LUPU7FJK.js} +1 -1
  56. package/dist/chunk-MNBEUNC5.cjs +792 -0
  57. package/dist/{chunk-AIND5F7P.js → chunk-MTQGFUW5.js} +29 -29
  58. package/dist/chunk-NGXLJ5ZF.cjs +395 -0
  59. package/dist/{chunk-DYQB54JA.cjs → chunk-NPAGA6SH.cjs} +2 -2
  60. package/dist/{chunk-QELEKXN3.cjs → chunk-OMI2FRCU.cjs} +5 -5
  61. package/dist/{chunk-EBCAPIBD.js → chunk-OX23MW5E.js} +70 -50
  62. package/dist/{chunk-MMFIMQMQ.js → chunk-OZLOYXLW.js} +2 -2
  63. package/dist/{chunk-JBZ7SBRV.cjs → chunk-Q3ZKZ2Y6.cjs} +3 -3
  64. package/dist/{chunk-TCWW7JI2.js → chunk-QT7KLGO3.js} +65 -63
  65. package/dist/{chunk-6RU6GUJP.js → chunk-QZF7RSVV.js} +1 -1
  66. package/dist/{chunk-UYQLW7OD.js → chunk-RAYO2TJL.js} +2 -2
  67. package/dist/{chunk-FRLWG5LM.js → chunk-RFT5MGJC.js} +25 -25
  68. package/dist/chunk-SIOSYITD.cjs +1039 -0
  69. package/dist/{chunk-USIWPESU.js → chunk-SIX5AVXG.js} +1 -1
  70. package/dist/{chunk-52XUGOLD.js → chunk-SX5U5UJQ.js} +3 -3
  71. package/dist/{chunk-GGP2ERSV.js → chunk-T5ES7FOL.js} +1 -1
  72. package/dist/{chunk-MSORLKO7.cjs → chunk-V3C3ATRO.cjs} +2 -2
  73. package/dist/{chunk-BI5ME4QP.cjs → chunk-VBS6VWW4.cjs} +5 -5
  74. package/dist/{chunk-KPKEZWZM.js → chunk-VQ4OTVET.js} +189 -211
  75. package/dist/{chunk-6GQ7UTJ7.cjs → chunk-VXAIFOXL.cjs} +2 -2
  76. package/dist/{chunk-BJVO7DWJ.js → chunk-W4F4NQXM.js} +1 -1
  77. package/dist/{chunk-ZE4IHUUO.cjs → chunk-WNEDQTH6.cjs} +2 -2
  78. package/dist/{chunk-CBXILKQZ.cjs → chunk-WPYJW3WM.cjs} +3 -3
  79. package/dist/{chunk-QHXTO525.js → chunk-WYJHDTU7.js} +1 -1
  80. package/dist/{chunk-PROLOLZ5.cjs → chunk-X22PLAP6.cjs} +2 -2
  81. package/dist/chunk-X6GT4H4I.cjs +662 -0
  82. package/dist/{chunk-RLC3EXMV.js → chunk-XM4IN4Q6.js} +2 -2
  83. package/dist/{chunk-ZKGVOXLQ.js → chunk-XOZMGNVS.js} +1 -1
  84. package/dist/chunk-XXXR2AD3.cjs +94 -0
  85. package/dist/{chunk-JC4YCKKL.js → chunk-YI5D4QZP.js} +22 -20
  86. package/dist/{chunk-AR7667VN.cjs → chunk-YJA7OQQZ.cjs} +4 -4
  87. package/dist/{chunk-PAQD6UUF.cjs → chunk-YJIVPYMG.cjs} +3 -3
  88. package/dist/{chunk-JJYHW4PV.js → chunk-YOPWQHNO.js} +1 -1
  89. package/dist/{chunk-LKRQUQZQ.cjs → chunk-YRANVNJG.cjs} +2 -2
  90. package/dist/chunk-ZDJQ643D.js +62 -0
  91. package/dist/components/accordion/index.cjs +3 -3
  92. package/dist/components/accordion/index.js +2 -2
  93. package/dist/components/agenda-calendar/index.cjs +4 -4
  94. package/dist/components/agenda-calendar/index.js +3 -3
  95. package/dist/components/alert/index.cjs +4 -4
  96. package/dist/components/alert/index.js +3 -3
  97. package/dist/components/autocomplete/index.cjs +3 -3
  98. package/dist/components/autocomplete/index.js +2 -2
  99. package/dist/components/bottom-sheet/index.cjs +3 -3
  100. package/dist/components/bottom-sheet/index.js +2 -2
  101. package/dist/components/button/index.cjs +3 -3
  102. package/dist/components/button/index.js +2 -2
  103. package/dist/components/calendar/index.cjs +3 -3
  104. package/dist/components/calendar/index.js +2 -2
  105. package/dist/components/card/index.cjs +3 -3
  106. package/dist/components/card/index.js +2 -2
  107. package/dist/components/carousel/index.cjs +3 -3
  108. package/dist/components/carousel/index.js +2 -2
  109. package/dist/components/checkbox/index.cjs +3 -3
  110. package/dist/components/checkbox/index.js +2 -2
  111. package/dist/components/chip/index.cjs +4 -4
  112. package/dist/components/chip/index.js +3 -3
  113. package/dist/components/close-button/index.cjs +4 -4
  114. package/dist/components/close-button/index.js +3 -3
  115. package/dist/components/color-picker/index.cjs +6 -6
  116. package/dist/components/color-picker/index.js +5 -5
  117. package/dist/components/combobox/index.cjs +4 -4
  118. package/dist/components/combobox/index.js +3 -3
  119. package/dist/components/date-picker/index.cjs +4 -4
  120. package/dist/components/date-picker/index.js +3 -3
  121. package/dist/components/date-range-picker/index.cjs +6 -6
  122. package/dist/components/date-range-picker/index.js +5 -5
  123. package/dist/components/date-time-picker/date-time-picker-indicator.d.cts +2 -2
  124. package/dist/components/date-time-picker/date-time-picker-indicator.d.ts +2 -2
  125. package/dist/components/date-time-picker/date-time-picker.type.d.cts +3 -2
  126. package/dist/components/date-time-picker/date-time-picker.type.d.ts +3 -2
  127. package/dist/components/date-time-picker/index.cjs +8 -9
  128. package/dist/components/date-time-picker/index.d.cts +1 -1
  129. package/dist/components/date-time-picker/index.d.ts +1 -1
  130. package/dist/components/date-time-picker/index.js +7 -8
  131. package/dist/components/dialog/index.cjs +4 -4
  132. package/dist/components/dialog/index.js +3 -3
  133. package/dist/components/dummy-field/index.cjs +3 -3
  134. package/dist/components/dummy-field/index.js +2 -2
  135. package/dist/components/fab/index.cjs +3 -3
  136. package/dist/components/fab/index.js +2 -2
  137. package/dist/components/flip-card/index.cjs +3 -3
  138. package/dist/components/flip-card/index.js +2 -2
  139. package/dist/components/index.d.cts +0 -1
  140. package/dist/components/index.d.ts +0 -1
  141. package/dist/components/list-box/index.cjs +2 -2
  142. package/dist/components/list-box/index.js +1 -1
  143. package/dist/components/menu/index.cjs +3 -3
  144. package/dist/components/menu/index.js +2 -2
  145. package/dist/components/morph-button/index.cjs +3 -3
  146. package/dist/components/morph-button/index.js +2 -2
  147. package/dist/components/number-field/number-field-increment.d.cts +2 -2
  148. package/dist/components/number-field/number-field-increment.d.ts +2 -2
  149. package/dist/components/number-pad/index.cjs +3 -3
  150. package/dist/components/number-pad/index.js +2 -2
  151. package/dist/components/number-stepper/index.cjs +3 -3
  152. package/dist/components/number-stepper/index.js +2 -2
  153. package/dist/components/pager/index.cjs +4 -2
  154. package/dist/components/pager/index.d.cts +2 -2
  155. package/dist/components/pager/index.d.ts +2 -2
  156. package/dist/components/pager/index.js +3 -1
  157. package/dist/components/pager/pager.d.cts +3 -4
  158. package/dist/components/pager/pager.d.ts +3 -4
  159. package/dist/components/pager/pager.recipe.d.cts +19 -1
  160. package/dist/components/pager/pager.recipe.d.ts +19 -1
  161. package/dist/components/pager/pager.type.d.cts +5 -6
  162. package/dist/components/pager/pager.type.d.ts +5 -6
  163. package/dist/components/phone-number-field/index.cjs +14 -14
  164. package/dist/components/phone-number-field/index.js +3 -3
  165. package/dist/components/popover/index.cjs +3 -3
  166. package/dist/components/popover/index.js +2 -2
  167. package/dist/components/radio/index.cjs +3 -3
  168. package/dist/components/radio/index.js +2 -2
  169. package/dist/components/range-calendar/index.cjs +4 -4
  170. package/dist/components/range-calendar/index.js +3 -3
  171. package/dist/components/rating/index.cjs +3 -3
  172. package/dist/components/rating/index.js +2 -2
  173. package/dist/components/search-field/index.cjs +4 -4
  174. package/dist/components/search-field/index.js +3 -3
  175. package/dist/components/segment/index.cjs +4 -4
  176. package/dist/components/segment/index.js +2 -2
  177. package/dist/components/select/index.cjs +3 -3
  178. package/dist/components/select/index.js +2 -2
  179. package/dist/components/slider/index.cjs +2 -2
  180. package/dist/components/slider/index.js +1 -1
  181. package/dist/components/snackbar/index.cjs +3 -3
  182. package/dist/components/snackbar/index.js +2 -2
  183. package/dist/components/switch/index.cjs +3 -3
  184. package/dist/components/switch/index.js +2 -2
  185. package/dist/components/table/index.cjs +4 -4
  186. package/dist/components/table/index.js +3 -3
  187. package/dist/components/tabs/index.cjs +4 -4
  188. package/dist/components/tabs/index.js +3 -3
  189. package/dist/components/tag-group/index.cjs +4 -4
  190. package/dist/components/tag-group/index.js +3 -3
  191. package/dist/components/time-picker/index.cjs +4 -5
  192. package/dist/components/time-picker/index.d.cts +1 -1
  193. package/dist/components/time-picker/index.d.ts +1 -1
  194. package/dist/components/time-picker/index.js +3 -4
  195. package/dist/components/time-picker/time-picker-display.d.cts +3 -3
  196. package/dist/components/time-picker/time-picker-display.d.ts +3 -3
  197. package/dist/components/time-picker/time-picker-indicator.d.cts +2 -2
  198. package/dist/components/time-picker/time-picker-indicator.d.ts +2 -2
  199. package/dist/components/time-picker/time-picker.d.cts +1 -1
  200. package/dist/components/time-picker/time-picker.d.ts +1 -1
  201. package/dist/components/time-picker/time-picker.type.d.cts +11 -1
  202. package/dist/components/time-picker/time-picker.type.d.ts +11 -1
  203. package/dist/components/toast/index.cjs +3 -3
  204. package/dist/components/toast/index.js +2 -2
  205. package/dist/components/toggle-button/index.cjs +3 -3
  206. package/dist/components/toggle-button/index.js +2 -2
  207. package/dist/components/wheel-picker/index.cjs +2 -2
  208. package/dist/components/wheel-picker/index.js +1 -1
  209. package/dist/index.cjs +48 -59
  210. package/dist/index.js +52 -63
  211. package/dist/system/index.cjs +3 -3
  212. package/dist/system/index.js +2 -2
  213. package/dist/utils/time.d.cts +29 -0
  214. package/dist/utils/time.d.ts +29 -0
  215. package/package.json +1 -11
  216. package/dist/chunk-3MRCSXGT.js +0 -73
  217. package/dist/chunk-5E6SHYEQ.cjs +0 -631
  218. package/dist/chunk-6JAGPPZU.cjs +0 -788
  219. package/dist/chunk-CEPX7CKM.cjs +0 -365
  220. package/dist/chunk-CHFPFYNV.js +0 -60
  221. package/dist/chunk-ECR6GPJ6.js +0 -198
  222. package/dist/chunk-GBTNFQXN.cjs +0 -33
  223. package/dist/chunk-GZAGWNQM.cjs +0 -719
  224. package/dist/chunk-ILXKBDC6.cjs +0 -209
  225. package/dist/chunk-IPD3IUE2.cjs +0 -640
  226. package/dist/chunk-P2V6PIM7.cjs +0 -478
  227. package/dist/chunk-Q2BWXT55.cjs +0 -1011
  228. package/dist/chunk-UFKSUELU.cjs +0 -453
  229. package/dist/chunk-UR37LVPU.cjs +0 -382
  230. package/dist/chunk-W4IPOWLY.cjs +0 -198
  231. package/dist/chunk-YSTLHVQV.cjs +0 -73
  232. package/dist/components/time-field/index.cjs +0 -27
  233. package/dist/components/time-field/index.d.cts +0 -52
  234. package/dist/components/time-field/index.d.ts +0 -52
  235. package/dist/components/time-field/index.js +0 -27
  236. package/dist/components/time-field/time-field-field.d.cts +0 -11
  237. package/dist/components/time-field/time-field-field.d.ts +0 -11
  238. package/dist/components/time-field/time-field-period.d.cts +0 -34
  239. package/dist/components/time-field/time-field-period.d.ts +0 -34
  240. package/dist/components/time-field/time-field.context.d.cts +0 -9
  241. package/dist/components/time-field/time-field.context.d.ts +0 -9
  242. package/dist/components/time-field/time-field.d.cts +0 -56
  243. package/dist/components/time-field/time-field.d.ts +0 -56
  244. package/dist/components/time-field/time-field.type.d.cts +0 -72
  245. package/dist/components/time-field/time-field.type.d.ts +0 -72
  246. package/dist/utils/time-mask.d.cts +0 -68
  247. package/dist/utils/time-mask.d.ts +0 -68
package/dist/index.js CHANGED
@@ -1,8 +1,3 @@
1
- import {
2
- TextSpan,
3
- Typography,
4
- typographyRecipe
5
- } from "./chunk-3VJQDSII.js";
6
1
  import {
7
2
  Column,
8
3
  Grid,
@@ -20,7 +15,7 @@ import {
20
15
  useWheelPickerColumn,
21
16
  wheelGeometry,
22
17
  wheelPickerRecipe
23
- } from "./chunk-AIND5F7P.js";
18
+ } from "./chunk-MTQGFUW5.js";
24
19
  import {
25
20
  Widget,
26
21
  WidgetContent,
@@ -70,14 +65,7 @@ import {
70
65
  toggleButtonRecipe,
71
66
  useToggleButton,
72
67
  useToggleButtonGroup
73
- } from "./chunk-BJVO7DWJ.js";
74
- import {
75
- TimeField,
76
- TimeFieldField,
77
- TimeFieldPeriod,
78
- TimeFieldRoot,
79
- useTimeField
80
- } from "./chunk-ECR6GPJ6.js";
68
+ } from "./chunk-W4F4NQXM.js";
81
69
  import {
82
70
  Toast,
83
71
  Toast2,
@@ -89,7 +77,12 @@ import {
89
77
  toastRecipe,
90
78
  useToast,
91
79
  useToastContext
92
- } from "./chunk-JKDWYNSG.js";
80
+ } from "./chunk-2XEQDQAN.js";
81
+ import {
82
+ TextSpan,
83
+ Typography,
84
+ typographyRecipe
85
+ } from "./chunk-3VJQDSII.js";
93
86
  import {
94
87
  Slider,
95
88
  SliderFill,
@@ -102,7 +95,7 @@ import {
102
95
  snap,
103
96
  toFraction,
104
97
  useSlider
105
- } from "./chunk-NVODH2PR.js";
98
+ } from "./chunk-CCTAJXZ3.js";
106
99
  import {
107
100
  Spinner,
108
101
  spinnerRecipe
@@ -119,7 +112,7 @@ import {
119
112
  SwitchTrack,
120
113
  switchRecipe,
121
114
  useSwitch
122
- } from "./chunk-ZWS3FQ3J.js";
115
+ } from "./chunk-IUDQG3JI.js";
123
116
  import {
124
117
  Table,
125
118
  TableBody,
@@ -136,7 +129,7 @@ import {
136
129
  tableRecipe,
137
130
  useTable,
138
131
  useTableRow
139
- } from "./chunk-GYEQEF5H.js";
132
+ } from "./chunk-LUPU7FJK.js";
140
133
  import {
141
134
  TagGroup,
142
135
  TagGroupItem,
@@ -148,7 +141,7 @@ import {
148
141
  tagGroupRecipe,
149
142
  useTagGroup,
150
143
  useTagGroupItem
151
- } from "./chunk-RLC3EXMV.js";
144
+ } from "./chunk-XM4IN4Q6.js";
152
145
  import {
153
146
  Radio,
154
147
  RadioGroup,
@@ -160,7 +153,7 @@ import {
160
153
  radioRecipe,
161
154
  useRadio,
162
155
  useRadioGroup
163
- } from "./chunk-TPYOQSKT.js";
156
+ } from "./chunk-2UNLQRXY.js";
164
157
  import {
165
158
  Scaffold,
166
159
  mergeScreenOptions,
@@ -176,7 +169,7 @@ import {
176
169
  SearchIcon,
177
170
  searchFieldRecipe,
178
171
  useSearchField
179
- } from "./chunk-VQGNLX5C.js";
172
+ } from "./chunk-BYDGJU5A.js";
180
173
  import {
181
174
  CheckIcon,
182
175
  Select,
@@ -193,7 +186,7 @@ import {
193
186
  SelectValue,
194
187
  useSelect,
195
188
  useSelectItem
196
- } from "./chunk-JC4YCKKL.js";
189
+ } from "./chunk-YI5D4QZP.js";
197
190
  import {
198
191
  Snackbar,
199
192
  SnackbarAction,
@@ -205,7 +198,7 @@ import {
205
198
  SnackbarStack,
206
199
  snackbarRecipe,
207
200
  useSnackbar
208
- } from "./chunk-PAQZOD2L.js";
201
+ } from "./chunk-2JFMCW5E.js";
209
202
  import {
210
203
  Skeleton,
211
204
  skeletonRecipe
@@ -218,7 +211,7 @@ import {
218
211
  ratingRecipe,
219
212
  useRating,
220
213
  useRatingLayer
221
- } from "./chunk-7NQL5DXY.js";
214
+ } from "./chunk-6XY3XAEQ.js";
222
215
  import {
223
216
  NumberStepper,
224
217
  NumberStepperDecrement,
@@ -228,7 +221,7 @@ import {
228
221
  NumberStepperValue,
229
222
  numberStepperRecipe,
230
223
  useNumberStepper
231
- } from "./chunk-WRZV6ORJ.js";
224
+ } from "./chunk-AYOJXFHR.js";
232
225
  import {
233
226
  PieChart,
234
227
  pieChartRecipe
@@ -244,7 +237,7 @@ import {
244
237
  PopoverTrigger,
245
238
  popoverRecipe,
246
239
  usePopover
247
- } from "./chunk-RXEUKYM5.js";
240
+ } from "./chunk-33BA4LVN.js";
248
241
  import {
249
242
  ProgressBar,
250
243
  ProgressBarFill,
@@ -318,7 +311,7 @@ import {
318
311
  menuRecipe,
319
312
  useMenu,
320
313
  useMenuItem
321
- } from "./chunk-JJYHW4PV.js";
314
+ } from "./chunk-YOPWQHNO.js";
322
315
  import {
323
316
  MORPH_SPRING,
324
317
  MorphButton,
@@ -331,7 +324,7 @@ import {
331
324
  MorphButtonTitle,
332
325
  morphButtonRecipe,
333
326
  useMorphButton
334
- } from "./chunk-RCSEVEIR.js";
327
+ } from "./chunk-ICVIWXK4.js";
335
328
  import {
336
329
  NumberField,
337
330
  NumberFieldDecrement,
@@ -362,8 +355,9 @@ import {
362
355
  numberPadRecipe,
363
356
  useNumberPad,
364
357
  useNumberPadCell
365
- } from "./chunk-GGP2ERSV.js";
358
+ } from "./chunk-T5ES7FOL.js";
366
359
  import {
360
+ DOT_REST_OPACITY,
367
361
  Pager,
368
362
  PagerContent,
369
363
  PagerDot,
@@ -372,7 +366,7 @@ import {
372
366
  PagerRoot,
373
367
  pagerRecipe,
374
368
  usePager
375
- } from "./chunk-KPKEZWZM.js";
369
+ } from "./chunk-VQ4OTVET.js";
376
370
  import {
377
371
  Divider,
378
372
  dividerRecipe
@@ -416,7 +410,7 @@ import {
416
410
  useFab,
417
411
  useFabDiscovery,
418
412
  useFabMenu
419
- } from "./chunk-SUJLTC2K.js";
413
+ } from "./chunk-LPGY2IDX.js";
420
414
  import "./chunk-734MFAX4.js";
421
415
  import {
422
416
  FLIP_SPRING,
@@ -425,7 +419,7 @@ import {
425
419
  FlipCardFront,
426
420
  FlipCardRoot,
427
421
  useFlipCard
428
- } from "./chunk-FRLWG5LM.js";
422
+ } from "./chunk-RFT5MGJC.js";
429
423
  import {
430
424
  InputOTP,
431
425
  OTP_ALPHANUMERIC,
@@ -444,11 +438,11 @@ import {
444
438
  Chip,
445
439
  chipRecipe,
446
440
  useChip
447
- } from "./chunk-TRWZEOCO.js";
441
+ } from "./chunk-DBP5CA5R.js";
448
442
  import {
449
443
  CloseButton,
450
444
  closeButtonRecipe
451
- } from "./chunk-6RU6GUJP.js";
445
+ } from "./chunk-QZF7RSVV.js";
452
446
  import {
453
447
  ColorPicker,
454
448
  ColorPickerContent,
@@ -461,7 +455,7 @@ import {
461
455
  TAILWIND_PALETTE,
462
456
  colorPickerRecipe,
463
457
  useColorPicker
464
- } from "./chunk-52XUGOLD.js";
458
+ } from "./chunk-SX5U5UJQ.js";
465
459
  import {
466
460
  DummyField,
467
461
  DummyFieldDescription,
@@ -472,7 +466,7 @@ import {
472
466
  DummyFieldRoot,
473
467
  DummyFieldValue,
474
468
  useDummyField
475
- } from "./chunk-ZKGVOXLQ.js";
469
+ } from "./chunk-XOZMGNVS.js";
476
470
  import {
477
471
  FieldGroup,
478
472
  FieldGroupField,
@@ -499,7 +493,7 @@ import {
499
493
  ComboboxInput,
500
494
  ComboboxRoot,
501
495
  ComboboxTrigger
502
- } from "./chunk-P2CJNTAP.js";
496
+ } from "./chunk-KFB24VYT.js";
503
497
  import {
504
498
  CalendarGlyphIcon,
505
499
  DatePicker,
@@ -516,7 +510,7 @@ import {
516
510
  DatePickerValue,
517
511
  datePickerRecipe,
518
512
  useDatePicker
519
- } from "./chunk-MMFIMQMQ.js";
513
+ } from "./chunk-OZLOYXLW.js";
520
514
  import {
521
515
  FIELD_GLYPH_SIZES,
522
516
  textFieldRecipe
@@ -530,7 +524,7 @@ import {
530
524
  DateRangePickerTrigger,
531
525
  DateRangePickerValue,
532
526
  useDateRangePicker
533
- } from "./chunk-ODQHAPQW.js";
527
+ } from "./chunk-4AIIAF6U.js";
534
528
  import {
535
529
  RangeCalendar,
536
530
  RangeCalendarDay,
@@ -538,7 +532,7 @@ import {
538
532
  RangeCalendarRoot,
539
533
  rangeCalendarRecipe,
540
534
  useRangeCalendar
541
- } from "./chunk-P7OHZCU3.js";
535
+ } from "./chunk-IAWLQN2W.js";
542
536
  import {
543
537
  DateTimePicker,
544
538
  DateTimePicker2,
@@ -550,7 +544,7 @@ import {
550
544
  DateTimePickerTrigger,
551
545
  DateTimePickerValue,
552
546
  useDateTimePicker
553
- } from "./chunk-O6B72H4B.js";
547
+ } from "./chunk-K7VDLVLE.js";
554
548
  import {
555
549
  TimePicker,
556
550
  TimePicker2,
@@ -562,8 +556,7 @@ import {
562
556
  TimePickerValue,
563
557
  timePickerRecipe,
564
558
  useTimePicker
565
- } from "./chunk-EBCAPIBD.js";
566
- import "./chunk-3MRCSXGT.js";
559
+ } from "./chunk-OX23MW5E.js";
567
560
  import {
568
561
  Tabs,
569
562
  TabsContent,
@@ -575,8 +568,8 @@ import {
575
568
  tabsRecipe,
576
569
  useTabs,
577
570
  useTabsTrigger
578
- } from "./chunk-UYQLW7OD.js";
579
- import "./chunk-CHFPFYNV.js";
571
+ } from "./chunk-RAYO2TJL.js";
572
+ import "./chunk-ZDJQ643D.js";
580
573
  import {
581
574
  Dialog,
582
575
  Dialog2,
@@ -588,7 +581,7 @@ import {
588
581
  DialogTrigger,
589
582
  dialogRecipe,
590
583
  useDialog
591
- } from "./chunk-FVEMTBU4.js";
584
+ } from "./chunk-5XTF2JDK.js";
592
585
  import {
593
586
  Badge,
594
587
  badgeRecipe,
@@ -607,12 +600,12 @@ import {
607
600
  BottomSheetTrigger,
608
601
  bottomSheetRecipe,
609
602
  useBottomSheet
610
- } from "./chunk-LECYGVIH.js";
603
+ } from "./chunk-EQUD3NHO.js";
611
604
  import {
612
605
  Button,
613
606
  buttonRecipe,
614
607
  useButton
615
- } from "./chunk-V2CEKPJ6.js";
608
+ } from "./chunk-6MVKLRLZ.js";
616
609
  import {
617
610
  ROTATION_DURATION,
618
611
  usePrevious,
@@ -625,7 +618,7 @@ import {
625
618
  cardRecipe,
626
619
  markBackground,
627
620
  useCard
628
- } from "./chunk-QHXTO525.js";
621
+ } from "./chunk-WYJHDTU7.js";
629
622
  import {
630
623
  Carousel,
631
624
  CarouselContent,
@@ -640,7 +633,7 @@ import {
640
633
  CarouselThumbnails,
641
634
  carouselRecipe,
642
635
  useCarousel
643
- } from "./chunk-P5M5URAB.js";
636
+ } from "./chunk-LSZW4G7B.js";
644
637
  import "./chunk-3A5RK2R7.js";
645
638
  import {
646
639
  Checkbox,
@@ -649,7 +642,7 @@ import {
649
642
  CheckboxRoot,
650
643
  checkboxRecipe,
651
644
  useCheckbox
652
- } from "./chunk-OD6H7ANY.js";
645
+ } from "./chunk-B5DBFS6M.js";
653
646
  import "./chunk-BTKWPEOF.js";
654
647
  import {
655
648
  SelectionFill
@@ -665,7 +658,7 @@ import {
665
658
  accordionRecipe,
666
659
  useAccordion,
667
660
  useAccordionItem
668
- } from "./chunk-VMPCXS4S.js";
661
+ } from "./chunk-7OVYYZ7H.js";
669
662
  import {
670
663
  AgendaCalendar,
671
664
  AgendaCalendarDay,
@@ -682,7 +675,7 @@ import {
682
675
  AgendaCalendarYearPicker,
683
676
  agendaCalendarRecipe,
684
677
  useAgendaCalendar
685
- } from "./chunk-TCWW7JI2.js";
678
+ } from "./chunk-QT7KLGO3.js";
686
679
  import {
687
680
  Calendar,
688
681
  CalendarDay,
@@ -698,23 +691,23 @@ import {
698
691
  SIZES,
699
692
  calendarRecipe,
700
693
  useCalendar
701
- } from "./chunk-RSIWSVXI.js";
694
+ } from "./chunk-6NAZ2IHL.js";
702
695
  import "./chunk-SHFUQVLX.js";
703
696
  import {
704
697
  Alert,
705
698
  alertRecipe,
706
699
  useAlert
707
- } from "./chunk-7EVW6O2Q.js";
700
+ } from "./chunk-6W45YHTF.js";
708
701
  import {
709
702
  CloseButtonBase,
710
703
  closeButtonGeometry
711
- } from "./chunk-USIWPESU.js";
704
+ } from "./chunk-SIX5AVXG.js";
712
705
  import {
713
706
  AreaChart
714
707
  } from "./chunk-3QTXZ44I.js";
715
708
  import {
716
709
  useAutocomplete
717
- } from "./chunk-FOOXBVOQ.js";
710
+ } from "./chunk-E5E2QA4K.js";
718
711
  import "./chunk-4WCBZFAK.js";
719
712
  import "./chunk-Z6FRP4EV.js";
720
713
  import {
@@ -760,7 +753,7 @@ import {
760
753
  resolveSlotAnimation,
761
754
  rippleRadiusFor,
762
755
  useFeedback
763
- } from "./chunk-2AFA5HA2.js";
756
+ } from "./chunk-KQW25RCC.js";
764
757
  import {
765
758
  usePressState
766
759
  } from "./chunk-423RQBOX.js";
@@ -923,6 +916,7 @@ export {
923
916
  ComboboxInput,
924
917
  ComboboxRoot,
925
918
  ComboboxTrigger,
919
+ DOT_REST_OPACITY,
926
920
  DatePicker2 as DatePicker,
927
921
  DatePickerCalendar,
928
922
  DatePickerContent,
@@ -1212,10 +1206,6 @@ export {
1212
1206
  TextFieldRoot,
1213
1207
  TextSpan,
1214
1208
  ThemeContext,
1215
- TimeField,
1216
- TimeFieldField,
1217
- TimeFieldPeriod,
1218
- TimeFieldRoot,
1219
1209
  TimePicker2 as TimePicker,
1220
1210
  TimePickerClock,
1221
1211
  TimePickerDisplay,
@@ -1447,7 +1437,6 @@ export {
1447
1437
  useTextArea,
1448
1438
  useTextField,
1449
1439
  useThemeColor,
1450
- useTimeField,
1451
1440
  useTimePicker,
1452
1441
  useTimeline,
1453
1442
  useTimelineItem,
@@ -5,7 +5,7 @@ var _chunkF6CQ6CBIcjs = require('../chunk-F6CQ6CBI.cjs');
5
5
 
6
6
 
7
7
 
8
- var _chunkZE4IHUUOcjs = require('../chunk-ZE4IHUUO.cjs');
8
+ var _chunkWNEDQTH6cjs = require('../chunk-WNEDQTH6.cjs');
9
9
 
10
10
 
11
11
 
@@ -40,7 +40,7 @@ var _chunkEKS3W46Mcjs = require('../chunk-EKS3W46M.cjs');
40
40
 
41
41
 
42
42
 
43
- var _chunkOW4N2C3Mcjs = require('../chunk-OW4N2C3M.cjs');
43
+ var _chunkHBYT7B47cjs = require('../chunk-HBYT7B47.cjs');
44
44
  require('../chunk-7DPL3ZDS.cjs');
45
45
 
46
46
 
@@ -116,4 +116,4 @@ var _chunkTK44VBIEcjs = require('../chunk-TK44VBIE.cjs');
116
116
 
117
117
 
118
118
 
119
- exports.ChevronDownIcon = _chunkGSZDN6EZcjs.ChevronDownIcon; exports.CloseButtonBase = _chunkZE4IHUUOcjs.CloseButtonBase; exports.FEEDBACK_OVERLAY = _chunkOW4N2C3Mcjs.FEEDBACK_OVERLAY; exports.HIGHLIGHT_DURATION = _chunkOW4N2C3Mcjs.HIGHLIGHT_DURATION; exports.HIGHLIGHT_OPACITY = _chunkOW4N2C3Mcjs.HIGHLIGHT_OPACITY; exports.INDICATOR_ROTATION = _chunkEKS3W46Mcjs.INDICATOR_ROTATION; exports.INDICATOR_SPRING = _chunkEKS3W46Mcjs.INDICATOR_SPRING; exports.Icon = _chunkGSZDN6EZcjs.Icon; exports.IconContext = _chunkGSZDN6EZcjs.IconContext; exports.PRESS_DURATION = _chunkOW4N2C3Mcjs.PRESS_DURATION; exports.PRESS_SCALE = _chunkOW4N2C3Mcjs.PRESS_SCALE; exports.Portal = _chunkWDDXU3OHcjs.Portal; exports.PortalContext = _chunkWDDXU3OHcjs.PortalContext; exports.PortalHost = _chunkWDDXU3OHcjs.PortalHost; exports.PressableFeedback = _chunkOW4N2C3Mcjs.PressableFeedback; exports.RADIUS_KEYS = _chunkSL3V7R2Ycjs.RADIUS_KEYS; exports.RIPPLE_CONFIRM_DURATION = _chunkOW4N2C3Mcjs.RIPPLE_CONFIRM_DURATION; exports.RIPPLE_EXPAND_DURATION = _chunkOW4N2C3Mcjs.RIPPLE_EXPAND_DURATION; exports.RIPPLE_FADE_IN = _chunkOW4N2C3Mcjs.RIPPLE_FADE_IN; exports.RIPPLE_FADE_OUT = _chunkOW4N2C3Mcjs.RIPPLE_FADE_OUT; exports.RIPPLE_FADE_OUT_DELAY = _chunkOW4N2C3Mcjs.RIPPLE_FADE_OUT_DELAY; exports.RIPPLE_OPACITY = _chunkOW4N2C3Mcjs.RIPPLE_OPACITY; exports.RIPPLE_START_SCALE = _chunkOW4N2C3Mcjs.RIPPLE_START_SCALE; exports.SCALE_REFERENCE_WIDTH = _chunkOW4N2C3Mcjs.SCALE_REFERENCE_WIDTH; exports.SelectionFill = _chunkF6CQ6CBIcjs.SelectionFill; exports.Slot = _chunkCDRGTUYFcjs.Slot; exports.anchoredEntering = _chunkEKS3W46Mcjs.anchoredEntering; exports.anchoredExiting = _chunkEKS3W46Mcjs.anchoredExiting; exports.childrenToString = _chunkFHNIGHN5cjs.childrenToString; exports.closeButtonGeometry = _chunkZE4IHUUOcjs.closeButtonGeometry; exports.createRecipe = _chunkSL3V7R2Ycjs.createRecipe; exports.createSlotContext = _chunkCDRGTUYFcjs.createSlotContext; exports.markOverlay = _chunkOW4N2C3Mcjs.markOverlay; exports.mergeProps = _chunkCDRGTUYFcjs.mergeProps; exports.mergeRefs = _chunkH4E4HDEPcjs.mergeRefs; exports.overlayEntering = _chunkEKS3W46Mcjs.overlayEntering; exports.overlayExiting = _chunkEKS3W46Mcjs.overlayExiting; exports.pressScaleFor = _chunkOW4N2C3Mcjs.pressScaleFor; exports.radiusAxis = _chunkSL3V7R2Ycjs.radiusAxis; exports.resolveAnimation = _chunkOW4N2C3Mcjs.resolveAnimation; exports.resolveSlotAnimation = _chunkOW4N2C3Mcjs.resolveSlotAnimation; exports.rippleRadiusFor = _chunkOW4N2C3Mcjs.rippleRadiusFor; exports.useFeedback = _chunkOW4N2C3Mcjs.useFeedback; exports.useIconContext = _chunkGSZDN6EZcjs.useIconContext; exports.useStyleProps = _chunkTK44VBIEcjs.useStyleProps;
119
+ exports.ChevronDownIcon = _chunkGSZDN6EZcjs.ChevronDownIcon; exports.CloseButtonBase = _chunkWNEDQTH6cjs.CloseButtonBase; exports.FEEDBACK_OVERLAY = _chunkHBYT7B47cjs.FEEDBACK_OVERLAY; exports.HIGHLIGHT_DURATION = _chunkHBYT7B47cjs.HIGHLIGHT_DURATION; exports.HIGHLIGHT_OPACITY = _chunkHBYT7B47cjs.HIGHLIGHT_OPACITY; exports.INDICATOR_ROTATION = _chunkEKS3W46Mcjs.INDICATOR_ROTATION; exports.INDICATOR_SPRING = _chunkEKS3W46Mcjs.INDICATOR_SPRING; exports.Icon = _chunkGSZDN6EZcjs.Icon; exports.IconContext = _chunkGSZDN6EZcjs.IconContext; exports.PRESS_DURATION = _chunkHBYT7B47cjs.PRESS_DURATION; exports.PRESS_SCALE = _chunkHBYT7B47cjs.PRESS_SCALE; exports.Portal = _chunkWDDXU3OHcjs.Portal; exports.PortalContext = _chunkWDDXU3OHcjs.PortalContext; exports.PortalHost = _chunkWDDXU3OHcjs.PortalHost; exports.PressableFeedback = _chunkHBYT7B47cjs.PressableFeedback; exports.RADIUS_KEYS = _chunkSL3V7R2Ycjs.RADIUS_KEYS; exports.RIPPLE_CONFIRM_DURATION = _chunkHBYT7B47cjs.RIPPLE_CONFIRM_DURATION; exports.RIPPLE_EXPAND_DURATION = _chunkHBYT7B47cjs.RIPPLE_EXPAND_DURATION; exports.RIPPLE_FADE_IN = _chunkHBYT7B47cjs.RIPPLE_FADE_IN; exports.RIPPLE_FADE_OUT = _chunkHBYT7B47cjs.RIPPLE_FADE_OUT; exports.RIPPLE_FADE_OUT_DELAY = _chunkHBYT7B47cjs.RIPPLE_FADE_OUT_DELAY; exports.RIPPLE_OPACITY = _chunkHBYT7B47cjs.RIPPLE_OPACITY; exports.RIPPLE_START_SCALE = _chunkHBYT7B47cjs.RIPPLE_START_SCALE; exports.SCALE_REFERENCE_WIDTH = _chunkHBYT7B47cjs.SCALE_REFERENCE_WIDTH; exports.SelectionFill = _chunkF6CQ6CBIcjs.SelectionFill; exports.Slot = _chunkCDRGTUYFcjs.Slot; exports.anchoredEntering = _chunkEKS3W46Mcjs.anchoredEntering; exports.anchoredExiting = _chunkEKS3W46Mcjs.anchoredExiting; exports.childrenToString = _chunkFHNIGHN5cjs.childrenToString; exports.closeButtonGeometry = _chunkWNEDQTH6cjs.closeButtonGeometry; exports.createRecipe = _chunkSL3V7R2Ycjs.createRecipe; exports.createSlotContext = _chunkCDRGTUYFcjs.createSlotContext; exports.markOverlay = _chunkHBYT7B47cjs.markOverlay; exports.mergeProps = _chunkCDRGTUYFcjs.mergeProps; exports.mergeRefs = _chunkH4E4HDEPcjs.mergeRefs; exports.overlayEntering = _chunkEKS3W46Mcjs.overlayEntering; exports.overlayExiting = _chunkEKS3W46Mcjs.overlayExiting; exports.pressScaleFor = _chunkHBYT7B47cjs.pressScaleFor; exports.radiusAxis = _chunkSL3V7R2Ycjs.radiusAxis; exports.resolveAnimation = _chunkHBYT7B47cjs.resolveAnimation; exports.resolveSlotAnimation = _chunkHBYT7B47cjs.resolveSlotAnimation; exports.rippleRadiusFor = _chunkHBYT7B47cjs.rippleRadiusFor; exports.useFeedback = _chunkHBYT7B47cjs.useFeedback; exports.useIconContext = _chunkGSZDN6EZcjs.useIconContext; exports.useStyleProps = _chunkTK44VBIEcjs.useStyleProps;
@@ -5,7 +5,7 @@ import {
5
5
  import {
6
6
  CloseButtonBase,
7
7
  closeButtonGeometry
8
- } from "../chunk-USIWPESU.js";
8
+ } from "../chunk-SIX5AVXG.js";
9
9
  import {
10
10
  Portal,
11
11
  PortalContext,
@@ -40,7 +40,7 @@ import {
40
40
  resolveSlotAnimation,
41
41
  rippleRadiusFor,
42
42
  useFeedback
43
- } from "../chunk-2AFA5HA2.js";
43
+ } from "../chunk-KQW25RCC.js";
44
44
  import "../chunk-423RQBOX.js";
45
45
  import {
46
46
  ChevronDownIcon,
@@ -0,0 +1,29 @@
1
+ /** Twenty-four hours, or twelve and a period beside them. */
2
+ export type HourCycle = 12 | 24;
3
+ /** Which half of a twelve-hour day. */
4
+ export type DayPeriod = 'am' | 'pm';
5
+ /** The parts of a time, in the units a clock names them. */
6
+ export type TimeParts = {
7
+ hours: number;
8
+ minutes: number;
9
+ seconds: number;
10
+ };
11
+ /**
12
+ * Whether that locale writes twelve hours or twenty-four.
13
+ *
14
+ * Out of `Intl`, for the reason `dateOrderFor` gives: the platform ships the answer and a
15
+ * table here would be a second one, shorter and out of date. `hour12` is what
16
+ * `resolvedOptions` calls it, and it is absent on a locale with no hour in its default
17
+ * format — twenty-four is the fallback, being what most of the world writes.
18
+ */
19
+ export declare function hourCycleFor(locale: string): HourCycle;
20
+ /** Which half of the day that date falls in, for a field that shows a period. */
21
+ export declare function periodOf(date: Date): DayPeriod;
22
+ /**
23
+ * Those parts, on that day.
24
+ *
25
+ * A time on its own is still a `Date` in this library. The day it lands on is given rather
26
+ * than assumed, so a caller merging a time into a date they already hold gets that date
27
+ * back and not today's.
28
+ */
29
+ export declare function withTime(day: Date, parts: TimeParts): Date;
@@ -0,0 +1,29 @@
1
+ /** Twenty-four hours, or twelve and a period beside them. */
2
+ export type HourCycle = 12 | 24;
3
+ /** Which half of a twelve-hour day. */
4
+ export type DayPeriod = 'am' | 'pm';
5
+ /** The parts of a time, in the units a clock names them. */
6
+ export type TimeParts = {
7
+ hours: number;
8
+ minutes: number;
9
+ seconds: number;
10
+ };
11
+ /**
12
+ * Whether that locale writes twelve hours or twenty-four.
13
+ *
14
+ * Out of `Intl`, for the reason `dateOrderFor` gives: the platform ships the answer and a
15
+ * table here would be a second one, shorter and out of date. `hour12` is what
16
+ * `resolvedOptions` calls it, and it is absent on a locale with no hour in its default
17
+ * format — twenty-four is the fallback, being what most of the world writes.
18
+ */
19
+ export declare function hourCycleFor(locale: string): HourCycle;
20
+ /** Which half of the day that date falls in, for a field that shows a period. */
21
+ export declare function periodOf(date: Date): DayPeriod;
22
+ /**
23
+ * Those parts, on that day.
24
+ *
25
+ * A time on its own is still a `Date` in this library. The day it lands on is given rather
26
+ * than assumed, so a caller merging a time into a date they already hold gets that date
27
+ * back and not today's.
28
+ */
29
+ export declare function withTime(day: Date, parts: TimeParts): Date;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@xaui/native",
3
- "version": "0.9.1-alpha.92",
3
+ "version": "0.9.1-alpha.94",
4
4
  "description": "Composition-first React Native UI components with native animations powered by Reanimated",
5
5
  "keywords": [
6
6
  "react-native",
@@ -647,16 +647,6 @@
647
647
  "default": "./dist/components/text-field/index.cjs"
648
648
  }
649
649
  },
650
- "./time-field": {
651
- "import": {
652
- "types": "./dist/components/time-field/index.d.ts",
653
- "default": "./dist/components/time-field/index.js"
654
- },
655
- "require": {
656
- "types": "./dist/components/time-field/index.d.cts",
657
- "default": "./dist/components/time-field/index.cjs"
658
- }
659
- },
660
650
  "./time-picker": {
661
651
  "import": {
662
652
  "types": "./dist/components/time-picker/index.d.ts",
@@ -1,73 +0,0 @@
1
- // src/utils/time-mask.ts
2
- var MINUTE_CEILING = 59;
3
- var HOURS_IN_HALF_DAY = 12;
4
- var HOURS_IN_DAY = 24;
5
- function hourCycleFor(locale) {
6
- const { hour12 } = new Intl.DateTimeFormat(locale, {
7
- hour: "numeric"
8
- }).resolvedOptions();
9
- return hour12 ? 12 : 24;
10
- }
11
- function timeLength(granularity) {
12
- return granularity === "second" ? 8 : 5;
13
- }
14
- function timePlaceholder(granularity, labels) {
15
- const base = `${labels.hours}:${labels.minutes}`;
16
- return granularity === "second" ? `${base}:${labels.seconds}` : base;
17
- }
18
- function maskTime(input, granularity, hourCycle = 24) {
19
- const width = granularity === "second" ? 6 : 4;
20
- const digits = input.replace(/\D/g, "").slice(0, width);
21
- if (digits.length === 0) return "";
22
- const written = [];
23
- for (let at = 0; at < digits.length; at += 2) {
24
- const raw = digits.slice(at, at + 2);
25
- const ceiling = at === 0 ? hourCeiling(hourCycle) : MINUTE_CEILING;
26
- written.push(raw.length === 2 ? clamp(raw, ceiling) : raw);
27
- }
28
- return written.join(":");
29
- }
30
- function parseTime(text, granularity, hourCycle = 24, period = "am") {
31
- const digits = text.replace(/\D/g, "");
32
- if (digits.length !== (granularity === "second" ? 6 : 4)) return null;
33
- const written = Number(digits.slice(0, 2));
34
- const minutes = Number(digits.slice(2, 4));
35
- const seconds = granularity === "second" ? Number(digits.slice(4, 6)) : 0;
36
- if (minutes > MINUTE_CEILING || seconds > MINUTE_CEILING) return null;
37
- if (written > hourCeiling(hourCycle)) return null;
38
- const hours = hourCycle === 24 ? written : written % HOURS_IN_HALF_DAY + (period === "pm" ? HOURS_IN_HALF_DAY : 0);
39
- return { hours, minutes, seconds };
40
- }
41
- function formatTime(date, granularity, hourCycle = 24) {
42
- const hours = hourCycle === 24 ? date.getHours() : date.getHours() % HOURS_IN_HALF_DAY || HOURS_IN_HALF_DAY;
43
- const base = `${pad(hours)}:${pad(date.getMinutes())}`;
44
- return granularity === "second" ? `${base}:${pad(date.getSeconds())}` : base;
45
- }
46
- function periodOf(date) {
47
- return date.getHours() < HOURS_IN_HALF_DAY ? "am" : "pm";
48
- }
49
- function withTime(day, parts) {
50
- const date = new Date(day);
51
- date.setHours(parts.hours, parts.minutes, parts.seconds, 0);
52
- return date;
53
- }
54
- function hourCeiling(hourCycle) {
55
- return hourCycle === 24 ? HOURS_IN_DAY - 1 : HOURS_IN_HALF_DAY;
56
- }
57
- function clamp(raw, ceiling) {
58
- return Number(raw) > ceiling ? pad(ceiling) : raw;
59
- }
60
- function pad(value) {
61
- return String(value).padStart(2, "0");
62
- }
63
-
64
- export {
65
- hourCycleFor,
66
- timeLength,
67
- timePlaceholder,
68
- maskTime,
69
- parseTime,
70
- formatTime,
71
- periodOf,
72
- withTime
73
- };