@xaui/native 0.9.1-alpha.94 → 0.9.1-beta.100

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-AXKDHX5V.cjs → chunk-2IOL3VDP.cjs} +3 -3
  2. package/dist/{chunk-LUPU7FJK.js → chunk-356DND54.js} +1 -1
  3. package/dist/{chunk-B5DBFS6M.js → chunk-3BRVAMXQ.js} +1 -1
  4. package/dist/{chunk-4LRVB6WR.cjs → chunk-3DQCHPB6.cjs} +12 -12
  5. package/dist/{chunk-5O7E73QP.cjs → chunk-3MMOZP4Y.cjs} +8 -8
  6. package/dist/{chunk-X6GT4H4I.cjs → chunk-3TBT6ORW.cjs} +15 -15
  7. package/dist/{chunk-DN3X5WIB.js → chunk-3VMKOQXH.js} +1 -1
  8. package/dist/{chunk-WPYJW3WM.cjs → chunk-435MOVG2.cjs} +3 -3
  9. package/dist/{chunk-V4IFH65I.cjs → chunk-5CXOSDFI.cjs} +2 -2
  10. package/dist/{chunk-5XTF2JDK.js → chunk-5G36GMFS.js} +1 -1
  11. package/dist/{chunk-VBS6VWW4.cjs → chunk-5UT5I53X.cjs} +3 -3
  12. package/dist/{chunk-4AIIAF6U.js → chunk-73EVNWZI.js} +16 -16
  13. package/dist/{chunk-7OVYYZ7H.js → chunk-7EPH24S2.js} +15 -15
  14. package/dist/{chunk-G2YHGLN3.cjs → chunk-7JWOAGB3.cjs} +9 -9
  15. package/dist/{chunk-6SRFQSPR.cjs → chunk-ADGHFLBJ.cjs} +1 -1
  16. package/dist/{chunk-OZLOYXLW.js → chunk-BBQQIO6L.js} +4 -4
  17. package/dist/{chunk-X22PLAP6.cjs → chunk-BGBJTBFC.cjs} +1 -1
  18. package/dist/{chunk-33BA4LVN.js → chunk-BH4IN6H6.js} +1 -1
  19. package/dist/{chunk-WLWZG2PA.cjs → chunk-BKY5YQ7W.cjs} +1 -1
  20. package/dist/{chunk-AHJLQJOE.cjs → chunk-C2S6J27O.cjs} +1 -1
  21. package/dist/chunk-C6JO2RTV.cjs +752 -0
  22. package/dist/{chunk-2TLPFGGR.cjs → chunk-CS6CYB4I.cjs} +34 -25
  23. package/dist/{chunk-WYRM77XM.cjs → chunk-ENZBKNFJ.cjs} +15 -15
  24. package/dist/{chunk-ERIGD4SE.cjs → chunk-ETY5PM3E.cjs} +150 -39
  25. package/dist/{chunk-YJIVPYMG.cjs → chunk-FLKTJ46K.cjs} +15 -15
  26. package/dist/{chunk-OX23MW5E.js → chunk-FSVZXWLZ.js} +44 -44
  27. package/dist/{chunk-E5E2QA4K.js → chunk-GVZJNIHN.js} +176 -62
  28. package/dist/{chunk-6W45YHTF.js → chunk-HDERVGWZ.js} +1 -1
  29. package/dist/{chunk-KHPODIQV.cjs → chunk-IHRPAKCZ.cjs} +15 -15
  30. package/dist/{chunk-2XEQDQAN.js → chunk-IVELCJEN.js} +99 -99
  31. package/dist/{chunk-5YZUYSV7.js → chunk-JYV53WUN.js} +1 -1
  32. package/dist/{chunk-DE4RSR7Q.cjs → chunk-KAYZH7ZN.cjs} +1 -1
  33. package/dist/{chunk-IMIY34F4.cjs → chunk-KIXHSX3L.cjs} +1 -1
  34. package/dist/{chunk-7M6YKCHX.js → chunk-KZZWNDDO.js} +2 -2
  35. package/dist/{chunk-J5COSALO.cjs → chunk-L4B6Z45Q.cjs} +5 -5
  36. package/dist/{chunk-KFB24VYT.js → chunk-LMMHAGOM.js} +26 -17
  37. package/dist/{chunk-EQUD3NHO.js → chunk-LYWXGEED.js} +43 -43
  38. package/dist/{chunk-BYDGJU5A.js → chunk-M352N6PQ.js} +5 -5
  39. package/dist/{chunk-XOZMGNVS.js → chunk-MXSIY6QQ.js} +3 -3
  40. package/dist/{chunk-3CPLJJWX.js → chunk-MZUYTCCB.js} +1 -1
  41. package/dist/{chunk-K7VDLVLE.js → chunk-NQDTGYHC.js} +3 -3
  42. package/dist/{chunk-NADCILBL.cjs → chunk-NRU5APUE.cjs} +4 -4
  43. package/dist/{chunk-43S673KF.js → chunk-NTVPLDJC.js} +1 -1
  44. package/dist/{chunk-7AVZ2FST.cjs → chunk-NXVSNESK.cjs} +12 -12
  45. package/dist/{chunk-E4FWGZH2.js → chunk-OUNTRW6E.js} +5 -5
  46. package/dist/{chunk-MNBEUNC5.cjs → chunk-QRH45OO3.cjs} +144 -33
  47. package/dist/chunk-SVS726BW.js +822 -0
  48. package/dist/{chunk-YOPWQHNO.js → chunk-TNFLBURM.js} +1 -1
  49. package/dist/{chunk-YCQEX25B.cjs → chunk-U6YD3UBO.cjs} +7 -7
  50. package/dist/{chunk-GN7BWYXP.cjs → chunk-USQK6SFZ.cjs} +15 -15
  51. package/dist/{chunk-QT7KLGO3.js → chunk-V5FYHQKQ.js} +102 -87
  52. package/dist/{chunk-KMK6FUTK.cjs → chunk-V5V2QYFH.cjs} +9 -9
  53. package/dist/{chunk-YGETADPV.js → chunk-V7YT4SDX.js} +2 -2
  54. package/dist/{chunk-DBP5CA5R.js → chunk-VL2ZT4BB.js} +3 -3
  55. package/dist/{chunk-Q6OVVUAT.js → chunk-VTGWFZCA.js} +2 -2
  56. package/dist/{chunk-YI5D4QZP.js → chunk-WIGDDZHO.js} +190 -76
  57. package/dist/{chunk-NGXLJ5ZF.cjs → chunk-WSDDUVF6.cjs} +22 -22
  58. package/dist/{chunk-AIHKBSQ5.cjs → chunk-YUCK5VJO.cjs} +8 -8
  59. package/dist/{chunk-SIOSYITD.cjs → chunk-ZBFBF7S4.cjs} +60 -45
  60. package/dist/{chunk-SX5U5UJQ.js → chunk-ZBY7Q7WJ.js} +2 -2
  61. package/dist/{chunk-53E2E7GS.cjs → chunk-ZNKHL5O6.cjs} +15 -15
  62. package/dist/{chunk-U5CUBDJA.js → chunk-ZR5YOCOQ.js} +15 -15
  63. package/dist/components/accordion/accordion.animation.d.cts +1 -1
  64. package/dist/components/accordion/accordion.animation.d.ts +1 -1
  65. package/dist/components/accordion/accordion.type.d.cts +1 -1
  66. package/dist/components/accordion/accordion.type.d.ts +1 -1
  67. package/dist/components/accordion/index.cjs +2 -2
  68. package/dist/components/accordion/index.js +1 -1
  69. package/dist/components/agenda-calendar/agenda-calendar-today-button.d.cts +4 -0
  70. package/dist/components/agenda-calendar/agenda-calendar-today-button.d.ts +4 -0
  71. package/dist/components/agenda-calendar/agenda-calendar.recipe.d.cts +1 -1
  72. package/dist/components/agenda-calendar/agenda-calendar.recipe.d.ts +1 -1
  73. package/dist/components/agenda-calendar/agenda-calendar.type.d.cts +4 -1
  74. package/dist/components/agenda-calendar/agenda-calendar.type.d.ts +4 -1
  75. package/dist/components/agenda-calendar/index.cjs +2 -2
  76. package/dist/components/agenda-calendar/index.js +1 -1
  77. package/dist/components/alert/alert-icon.d.cts +2 -2
  78. package/dist/components/alert/alert-icon.d.ts +2 -2
  79. package/dist/components/alert/alert.type.d.cts +1 -1
  80. package/dist/components/alert/alert.type.d.ts +1 -1
  81. package/dist/components/alert/index.cjs +2 -2
  82. package/dist/components/alert/index.js +1 -1
  83. package/dist/components/autocomplete/autocomplete-description.d.cts +14 -0
  84. package/dist/components/autocomplete/autocomplete-description.d.ts +14 -0
  85. package/dist/components/autocomplete/autocomplete-error.d.cts +12 -0
  86. package/dist/components/autocomplete/autocomplete-error.d.ts +12 -0
  87. package/dist/components/autocomplete/autocomplete-label.d.cts +15 -0
  88. package/dist/components/autocomplete/autocomplete-label.d.ts +15 -0
  89. package/dist/components/autocomplete/autocomplete.d.cts +50 -7
  90. package/dist/components/autocomplete/autocomplete.d.ts +50 -7
  91. package/dist/components/autocomplete/autocomplete.type.d.cts +21 -4
  92. package/dist/components/autocomplete/autocomplete.type.d.ts +21 -4
  93. package/dist/components/autocomplete/index.cjs +10 -3
  94. package/dist/components/autocomplete/index.d.cts +50 -3
  95. package/dist/components/autocomplete/index.d.ts +50 -3
  96. package/dist/components/autocomplete/index.js +9 -2
  97. package/dist/components/avatar/avatar-fallback.d.cts +1 -1
  98. package/dist/components/avatar/avatar-fallback.d.ts +1 -1
  99. package/dist/components/avatar/avatar.d.cts +1 -1
  100. package/dist/components/avatar/avatar.d.ts +1 -1
  101. package/dist/components/avatar/avatar.type.d.cts +1 -1
  102. package/dist/components/avatar/avatar.type.d.ts +1 -1
  103. package/dist/components/avatar/index.cjs +2 -2
  104. package/dist/components/avatar/index.js +1 -1
  105. package/dist/components/bottom-sheet/bottom-sheet.d.cts +1 -1
  106. package/dist/components/bottom-sheet/bottom-sheet.d.ts +1 -1
  107. package/dist/components/bottom-sheet/index.cjs +2 -2
  108. package/dist/components/bottom-sheet/index.js +1 -1
  109. package/dist/components/card/card-background.d.cts +1 -1
  110. package/dist/components/card/card-background.d.ts +1 -1
  111. package/dist/components/card/card.utils.d.cts +1 -1
  112. package/dist/components/card/card.utils.d.ts +1 -1
  113. package/dist/components/checkbox/checkbox.recipe.d.cts +1 -1
  114. package/dist/components/checkbox/checkbox.recipe.d.ts +1 -1
  115. package/dist/components/checkbox/checkbox.type.d.cts +1 -1
  116. package/dist/components/checkbox/checkbox.type.d.ts +1 -1
  117. package/dist/components/checkbox/index.cjs +2 -2
  118. package/dist/components/checkbox/index.js +1 -1
  119. package/dist/components/chip/chip.type.d.cts +1 -1
  120. package/dist/components/chip/chip.type.d.ts +1 -1
  121. package/dist/components/chip/index.cjs +2 -2
  122. package/dist/components/chip/index.js +1 -1
  123. package/dist/components/color-picker/index.cjs +7 -7
  124. package/dist/components/color-picker/index.js +6 -6
  125. package/dist/components/combobox/combobox.type.d.cts +5 -1
  126. package/dist/components/combobox/combobox.type.d.ts +5 -1
  127. package/dist/components/combobox/index.cjs +5 -4
  128. package/dist/components/combobox/index.d.cts +15 -1
  129. package/dist/components/combobox/index.d.ts +15 -1
  130. package/dist/components/combobox/index.js +4 -3
  131. package/dist/components/date-picker/index.cjs +4 -4
  132. package/dist/components/date-picker/index.js +3 -3
  133. package/dist/components/date-range-picker/index.cjs +4 -4
  134. package/dist/components/date-range-picker/index.js +3 -3
  135. package/dist/components/date-time-picker/index.cjs +5 -5
  136. package/dist/components/date-time-picker/index.js +4 -4
  137. package/dist/components/dialog/index.cjs +2 -2
  138. package/dist/components/dialog/index.js +1 -1
  139. package/dist/components/dummy-field/index.cjs +5 -5
  140. package/dist/components/dummy-field/index.js +4 -4
  141. package/dist/components/field-group/field-group-icon.d.cts +1 -1
  142. package/dist/components/field-group/field-group-icon.d.ts +1 -1
  143. package/dist/components/field-group/index.cjs +4 -4
  144. package/dist/components/field-group/index.js +3 -3
  145. package/dist/components/index.d.cts +1 -0
  146. package/dist/components/index.d.ts +1 -0
  147. package/dist/components/input-otp/input-otp.type.d.cts +1 -1
  148. package/dist/components/input-otp/input-otp.type.d.ts +1 -1
  149. package/dist/components/list-box/list-box-item-suffix.d.cts +1 -1
  150. package/dist/components/list-box/list-box-item-suffix.d.ts +1 -1
  151. package/dist/components/mask-field/index.cjs +5 -5
  152. package/dist/components/mask-field/index.js +4 -4
  153. package/dist/components/menu/index.cjs +2 -2
  154. package/dist/components/menu/index.js +1 -1
  155. package/dist/components/number-field/index.cjs +5 -5
  156. package/dist/components/number-field/index.js +4 -4
  157. package/dist/components/phone-number-field/index.cjs +37 -30
  158. package/dist/components/phone-number-field/index.js +13 -6
  159. package/dist/components/popover/index.cjs +2 -2
  160. package/dist/components/popover/index.js +1 -1
  161. package/dist/components/popover/popover.recipe.d.cts +1 -1
  162. package/dist/components/popover/popover.recipe.d.ts +1 -1
  163. package/dist/components/search-field/index.cjs +5 -5
  164. package/dist/components/search-field/index.js +4 -4
  165. package/dist/components/select/index.cjs +10 -3
  166. package/dist/components/select/index.d.cts +45 -4
  167. package/dist/components/select/index.d.ts +45 -4
  168. package/dist/components/select/index.js +9 -2
  169. package/dist/components/select/select-description.d.cts +14 -0
  170. package/dist/components/select/select-description.d.ts +14 -0
  171. package/dist/components/select/select-error.d.cts +13 -0
  172. package/dist/components/select/select-error.d.ts +13 -0
  173. package/dist/components/select/select-group-label.d.cts +11 -0
  174. package/dist/components/select/select-group-label.d.ts +11 -0
  175. package/dist/components/select/select-indicator.d.cts +1 -1
  176. package/dist/components/select/select-indicator.d.ts +1 -1
  177. package/dist/components/select/select-label.d.cts +11 -2
  178. package/dist/components/select/select-label.d.ts +11 -2
  179. package/dist/components/select/select.d.cts +49 -9
  180. package/dist/components/select/select.d.ts +49 -9
  181. package/dist/components/select/select.recipe.d.cts +1 -1
  182. package/dist/components/select/select.recipe.d.ts +1 -1
  183. package/dist/components/select/select.type.d.cts +33 -9
  184. package/dist/components/select/select.type.d.ts +33 -9
  185. package/dist/components/skeleton/skeleton.type.d.cts +1 -1
  186. package/dist/components/skeleton/skeleton.type.d.ts +1 -1
  187. package/dist/components/slide-button/index.cjs +30 -0
  188. package/dist/components/slide-button/index.d.cts +44 -0
  189. package/dist/components/slide-button/index.d.ts +44 -0
  190. package/dist/components/slide-button/index.js +30 -0
  191. package/dist/components/slide-button/slide-button-fill.d.cts +29 -0
  192. package/dist/components/slide-button/slide-button-fill.d.ts +29 -0
  193. package/dist/components/slide-button/slide-button-icon.d.cts +10 -0
  194. package/dist/components/slide-button/slide-button-icon.d.ts +10 -0
  195. package/dist/components/slide-button/slide-button-label.d.cts +20 -0
  196. package/dist/components/slide-button/slide-button-label.d.ts +20 -0
  197. package/dist/components/slide-button/slide-button-thumb.d.cts +20 -0
  198. package/dist/components/slide-button/slide-button-thumb.d.ts +20 -0
  199. package/dist/components/slide-button/slide-button.animation.d.cts +33 -0
  200. package/dist/components/slide-button/slide-button.animation.d.ts +33 -0
  201. package/dist/components/slide-button/slide-button.context.d.cts +7 -0
  202. package/dist/components/slide-button/slide-button.context.d.ts +7 -0
  203. package/dist/components/slide-button/slide-button.d.cts +56 -0
  204. package/dist/components/slide-button/slide-button.d.ts +56 -0
  205. package/dist/components/slide-button/slide-button.recipe.d.cts +31 -0
  206. package/dist/components/slide-button/slide-button.recipe.d.ts +31 -0
  207. package/dist/components/slide-button/slide-button.type.d.cts +79 -0
  208. package/dist/components/slide-button/slide-button.type.d.ts +79 -0
  209. package/dist/components/slider/slider-thumb.d.cts +1 -1
  210. package/dist/components/slider/slider-thumb.d.ts +1 -1
  211. package/dist/components/slider/slider.recipe.d.cts +1 -1
  212. package/dist/components/slider/slider.recipe.d.ts +1 -1
  213. package/dist/components/spinner/spinner.d.cts +1 -1
  214. package/dist/components/spinner/spinner.d.ts +1 -1
  215. package/dist/components/switch/switch.style.d.cts +1 -1
  216. package/dist/components/switch/switch.style.d.ts +1 -1
  217. package/dist/components/table/index.cjs +3 -3
  218. package/dist/components/table/index.js +2 -2
  219. package/dist/components/text-area/index.cjs +4 -4
  220. package/dist/components/text-area/index.js +3 -3
  221. package/dist/components/text-area/text-area.d.cts +1 -1
  222. package/dist/components/text-area/text-area.d.ts +1 -1
  223. package/dist/components/text-field/index.cjs +3 -3
  224. package/dist/components/text-field/index.js +2 -2
  225. package/dist/components/text-field/text-field.type.d.cts +4 -4
  226. package/dist/components/text-field/text-field.type.d.ts +4 -4
  227. package/dist/components/time-picker/index.cjs +4 -4
  228. package/dist/components/time-picker/index.js +3 -3
  229. package/dist/components/toast/index.cjs +2 -2
  230. package/dist/components/toast/index.js +1 -1
  231. package/dist/components/toast/toast.animation.d.cts +2 -2
  232. package/dist/components/toast/toast.animation.d.ts +2 -2
  233. package/dist/components/toast/toast.utils.d.cts +1 -1
  234. package/dist/components/toast/toast.utils.d.ts +1 -1
  235. package/dist/components/typography/typography.type.d.cts +1 -1
  236. package/dist/components/typography/typography.type.d.ts +1 -1
  237. package/dist/hooks/use-rotation.d.cts +1 -1
  238. package/dist/hooks/use-rotation.d.ts +1 -1
  239. package/dist/index.cjs +66 -42
  240. package/dist/index.js +74 -50
  241. package/dist/system/anchored/indicator-spring.d.cts +2 -2
  242. package/dist/system/anchored/indicator-spring.d.ts +2 -2
  243. package/dist/theme/derive-colors.d.cts +1 -1
  244. package/dist/theme/derive-colors.d.ts +1 -1
  245. package/dist/theme/index.cjs +2 -2
  246. package/dist/theme/index.js +1 -1
  247. package/package.json +11 -1
@@ -324,14 +324,30 @@ var AgendaCalendarNextButton = navButton(1, "XAUI.AgendaCalendar.NextButton", sh
324
324
  // src/components/agenda-calendar/agenda-calendar.recipe.ts
325
325
  var SLOTS = ["root", "header", "nav", "navButton", "today", "todayDisabled", "todayLabel", "week", "picker", "pickerItem"];
326
326
  var VARIANT_TOKENS = {
327
- // One entry, and it is still a table: `resolveTint` only maps roles a variant declared,
328
- // and without one the `color` a caller writes would never reach the pill's word. `fg` is
329
- // `accent` — the word reads as the accent by default and takes the tint when there is
330
- // one; `foreground` here left it plain, and left it `undefined` (RN's black) in dark
331
- // wherever the token failed to resolve.
332
- default: {
333
- bg: "default",
327
+ // The four the `Calendar` declares, answered on the pill rather than on a disc. The
328
+ // variant is a level of emphasis, and the two controls it reaches are the chosen day and
329
+ // this button — a strip whose chosen day is a soft wash under a pill that kept a hard
330
+ // accent border is two variants on one card.
331
+ //
332
+ // The emphasis runs the other way round from a `Button`'s, and on purpose: `primary`
333
+ // outlines rather than fills. The pill sits between two bare chevrons, so the filled
334
+ // accent that makes a `Button` primary would read here as the primary action of the whole
335
+ // card — the accent goes on the word instead, which is where the strip's own accent is.
336
+ primary: {
337
+ border: "border",
334
338
  fg: "accent"
339
+ },
340
+ secondary: {
341
+ bg: "accentSoft",
342
+ fg: "accentSoftForeground"
343
+ },
344
+ tertiary: {
345
+ bg: "default",
346
+ fg: "defaultForeground"
347
+ },
348
+ // No fill and no border: the word alone, as `ghost` means everywhere else.
349
+ ghost: {
350
+ fg: "foreground"
335
351
  }
336
352
  };
337
353
  var SIZES = {
@@ -410,18 +426,14 @@ var agendaCalendarRecipe = _chunkSL3V7R2Ycjs.createRecipe.call(void 0, {
410
426
  alignItems: "center",
411
427
  justifyContent: "center"
412
428
  },
413
- // A bordered pill rather than a filled one: it sits between two bare chevrons, and a
414
- // filled button there would read as the primary action of the whole card.
429
+ // The box only. Whether it is outlined, washed or bare is the variant's, below.
415
430
  today: {
416
431
  alignItems: "center",
417
- justifyContent: "center",
418
- borderWidth: theme.borderWidth.default,
419
- borderColor: theme.colors.border
432
+ justifyContent: "center"
420
433
  },
421
434
  todayLabel: {
422
435
  fontFamily: theme.fontFamilies.body,
423
- fontWeight: theme.fontWeights.medium,
424
- color: theme.colors.accent
436
+ fontWeight: theme.fontWeights.medium
425
437
  },
426
438
  week: {
427
439
  flexDirection: "row"
@@ -445,14 +457,20 @@ var agendaCalendarRecipe = _chunkSL3V7R2Ycjs.createRecipe.call(void 0, {
445
457
  }
446
458
  }),
447
459
  variantTokens: VARIANT_TOKENS,
448
- // The word is the one thing here a variant colours: the accent by default, the tint when
449
- // a `color` is set. Guarded because a resolve pass with no variant token leaves `fg`
450
- // unset, and spreading `{ color: undefined }` over the base would drop it to RN's black.
451
- paint: (_theme, colors) => colors.fg ? {
460
+ // The `Button`'s own paint, one slot down: the border's *width* follows the presence of
461
+ // the border role rather than a per-variant flag, because which variant outlines is
462
+ // already stated in the table above. `undefined` where a variant names no `bg` is the
463
+ // transparent the outlined and the bare pill both want.
464
+ paint: (theme, colors) => ({
465
+ today: {
466
+ backgroundColor: colors.bg,
467
+ borderColor: colors.border,
468
+ borderWidth: colors.border ? theme.borderWidth.default : 0
469
+ },
452
470
  todayLabel: {
453
471
  color: colors.fg
454
472
  }
455
- } : {},
473
+ }),
456
474
  variants: {
457
475
  size: {
458
476
  sm: sizeAxis(SIZES.sm),
@@ -469,11 +487,12 @@ var agendaCalendarRecipe = _chunkSL3V7R2Ycjs.createRecipe.call(void 0, {
469
487
  }
470
488
  })
471
489
  },
472
- // `variant: 'default'` so both passes resolve the one token — without it `resolve` runs
473
- // `paint` with no colours and `tint` bails before the word, so a `color` prop never
474
- // reached the pill and dark mode fell through to black.
490
+ // The `Calendar`'s default, because the two resolve from the same `variant` prop and a
491
+ // card whose strip defaulted to one and whose pill to another is not one component.
492
+ // Naming it is also what makes `paint` and `tint` run at all — without a variant both are
493
+ // handed no colours, and the pill loses its word to RN's black.
475
494
  defaultVariants: {
476
- variant: "default",
495
+ variant: "primary",
477
496
  size: "md"
478
497
  }
479
498
  });
@@ -528,14 +547,14 @@ var AgendaCalendarRoot = _react.forwardRef.call(void 0, function AgendaCalendar(
528
547
  });
529
548
  const resolvedLocale = _nullishCoalesce(locale, () => deviceLocale());
530
549
  const weekStart = _nullishCoalesce(firstDayOfWeek, () => _chunkISHMSP6Pcjs.firstDayOfWeekFor.call(void 0, resolvedLocale));
531
- const cellSelection = {
550
+ const selection = {
532
551
  variant,
533
552
  size,
534
553
  radius
535
554
  };
536
555
  const cells = _chunk6ZWQDTGQcjs.calendarRecipe.resolve({
537
556
  theme,
538
- selection: cellSelection,
557
+ selection,
539
558
  states: {
540
559
  disabled: isDisabled
541
560
  }
@@ -543,12 +562,8 @@ var AgendaCalendarRoot = _react.forwardRef.call(void 0, function AgendaCalendar(
543
562
  const cellTint = color ? _chunk6ZWQDTGQcjs.calendarRecipe.tint({
544
563
  theme,
545
564
  color,
546
- selection: cellSelection
565
+ selection
547
566
  }) : void 0;
548
- const selection = {
549
- size,
550
- radius
551
- };
552
567
  const styles = agendaCalendarRecipe.resolve({
553
568
  theme,
554
569
  selection,
@@ -646,7 +661,7 @@ var AgendaCalendarRoot = _react.forwardRef.call(void 0, function AgendaCalendar(
646
661
  },
647
662
  pickerItemLabelStyle: cells.dayLabel,
648
663
  pickerItemLabelSelectedStyle: cellTint ? [cells.dayLabelSelected, cellTint.dayLabelSelected] : cells.dayLabelSelected,
649
- todayStyle: styles.today,
664
+ todayStyle: tint ? [styles.today, tint.today] : styles.today,
650
665
  todayDisabledStyle: styles.todayDisabled,
651
666
  todayLabelStyle: tint ? [styles.todayLabel, tint.todayLabel] : styles.todayLabel,
652
667
  weekStyle: styles.week,
@@ -806,10 +821,10 @@ var SPRING = {
806
821
  stiffness: 220,
807
822
  mass: 0.6
808
823
  };
809
- const _worklet_15620349857844_init_data = {
810
- code: "function chunkSIOSYITDCjs1(){const{drag}=this.__closure;return{transform:[{translateX:drag.get()}]};}",
811
- location: "/home/runner/work/xaui/xaui/packages/native/dist/chunk-SIOSYITD.cjs",
812
- sourceMap: "{\"version\":3,\"names\":[\"chunkSIOSYITDCjs1\",\"drag\",\"__closure\",\"transform\",\"translateX\",\"get\"],\"sources\":[\"/home/runner/work/xaui/xaui/packages/native/dist/chunk-SIOSYITD.cjs\"],\"mappings\":\"AAs0BuE,SAAAA,iBAAMA,CAAA,QAAAC,IAAA,OAAAC,SAAA,CAEvE,MAAO,CAAEC,SAAS,CAAE,CAAC,CAAEC,UAAU,CAAEH,IAAI,CAACI,GAAG,CAAC,CAAE,CAAC,CAAE,CAAC,CACpD\",\"ignoreList\":[]}"
824
+ const _worklet_368808865208_init_data = {
825
+ code: "function chunkZBFBF7S4Cjs1(){const{drag}=this.__closure;return{transform:[{translateX:drag.get()}]};}",
826
+ location: "/home/runner/work/xaui/xaui/packages/native/dist/chunk-ZBFBF7S4.cjs",
827
+ sourceMap: "{\"version\":3,\"names\":[\"chunkZBFBF7S4Cjs1\",\"drag\",\"__closure\",\"transform\",\"translateX\",\"get\"],\"sources\":[\"/home/runner/work/xaui/xaui/packages/native/dist/chunk-ZBFBF7S4.cjs\"],\"mappings\":\"AA+0BuE,SAAAA,iBAAMA,CAAA,QAAAC,IAAA,OAAAC,SAAA,CAEvE,MAAO,CAAEC,SAAS,CAAE,CAAC,CAAEC,UAAU,CAAEH,IAAI,CAACI,GAAG,CAAC,CAAE,CAAC,CAAE,CAAC,CACpD\",\"ignoreList\":[]}"
813
828
  };
814
829
  var AgendaCalendarWeek = _react.forwardRef.call(void 0, function AgendaCalendarWeek2({
815
830
  children,
@@ -839,28 +854,28 @@ var AgendaCalendarWeek = _react.forwardRef.call(void 0, function AgendaCalendarW
839
854
  }).onFinalize(() => {
840
855
  drag.set(_reactnativereanimated.withSpring.call(void 0, 0, SPRING));
841
856
  });
842
- const slide = _reactnativereanimated.useAnimatedStyle.call(void 0, function chunkSIOSYITDCjs1Factory({
843
- _worklet_15620349857844_init_data,
857
+ const slide = _reactnativereanimated.useAnimatedStyle.call(void 0, function chunkZBFBF7S4Cjs1Factory({
858
+ _worklet_368808865208_init_data,
844
859
  drag
845
860
  }) {
846
861
  const _e = [new global.Error(), -2, -27];
847
- const chunkSIOSYITDCjs1 = function () {
862
+ const chunkZBFBF7S4Cjs1 = function () {
848
863
  return {
849
864
  transform: [{
850
865
  translateX: drag.get()
851
866
  }]
852
867
  };
853
868
  };
854
- chunkSIOSYITDCjs1.__closure = {
869
+ chunkZBFBF7S4Cjs1.__closure = {
855
870
  drag
856
871
  };
857
- chunkSIOSYITDCjs1.__workletHash = 15620349857844;
858
- chunkSIOSYITDCjs1.__pluginVersion = "0.7.4";
859
- chunkSIOSYITDCjs1.__initData = _worklet_15620349857844_init_data;
860
- chunkSIOSYITDCjs1.__stackDetails = _e;
861
- return chunkSIOSYITDCjs1;
872
+ chunkZBFBF7S4Cjs1.__workletHash = 368808865208;
873
+ chunkZBFBF7S4Cjs1.__pluginVersion = "0.7.4";
874
+ chunkZBFBF7S4Cjs1.__initData = _worklet_368808865208_init_data;
875
+ chunkZBFBF7S4Cjs1.__stackDetails = _e;
876
+ return chunkZBFBF7S4Cjs1;
862
877
  }({
863
- _worklet_15620349857844_init_data,
878
+ _worklet_368808865208_init_data,
864
879
  drag
865
880
  }), [drag]);
866
881
  const cells = days.map(date => /* @__PURE__ */_jsxruntime.jsx.call(void 0, _reactnative.View, {
@@ -4,14 +4,14 @@ import {
4
4
  DummyFieldField,
5
5
  DummyFieldLabel,
6
6
  DummyFieldRoot
7
- } from "./chunk-XOZMGNVS.js";
7
+ } from "./chunk-MXSIY6QQ.js";
8
8
  import {
9
9
  Dialog,
10
10
  DialogClose,
11
11
  DialogContent,
12
12
  DialogOverlay,
13
13
  DialogTitle
14
- } from "./chunk-5XTF2JDK.js";
14
+ } from "./chunk-5G36GMFS.js";
15
15
  import {
16
16
  useControllableState
17
17
  } from "./chunk-F6W3JQ7K.js";
@@ -2,13 +2,13 @@
2
2
 
3
3
 
4
4
 
5
- var _chunkKMK6FUTKcjs = require('./chunk-KMK6FUTK.cjs');
5
+ var _chunkV5V2QYFHcjs = require('./chunk-V5V2QYFH.cjs');
6
6
 
7
7
 
8
8
  var _chunk55KGHYYUcjs = require('./chunk-55KGHYYU.cjs');
9
9
 
10
10
 
11
- var _chunkX6GT4H4Icjs = require('./chunk-X6GT4H4I.cjs');
11
+ var _chunk3TBT6ORWcjs = require('./chunk-3TBT6ORW.cjs');
12
12
 
13
13
 
14
14
  var _chunk6ZWQDTGQcjs = require('./chunk-6ZWQDTGQ.cjs');
@@ -17,7 +17,7 @@ var _chunk6ZWQDTGQcjs = require('./chunk-6ZWQDTGQ.cjs');
17
17
  var _chunkISHMSP6Pcjs = require('./chunk-ISHMSP6P.cjs');
18
18
 
19
19
 
20
- var _chunkJ5COSALOcjs = require('./chunk-J5COSALO.cjs');
20
+ var _chunkL4B6Z45Qcjs = require('./chunk-L4B6Z45Q.cjs');
21
21
 
22
22
 
23
23
  var _chunk7EIHHOHPcjs = require('./chunk-7EIHHOHP.cjs');
@@ -101,22 +101,22 @@ function DateTimePicker({
101
101
  isOpen: isOpen ? "true" : void 0,
102
102
  isInvalid: isInvalid ? "true" : void 0
103
103
  };
104
- const field = _chunkJ5COSALOcjs.selectRecipe.resolve({
104
+ const field = _chunkL4B6Z45Qcjs.selectRecipe.resolve({
105
105
  theme,
106
106
  selection,
107
107
  states: { disabled: isDisabled }
108
108
  });
109
- const fieldPressed = _chunkJ5COSALOcjs.selectRecipe.resolve({
109
+ const fieldPressed = _chunkL4B6Z45Qcjs.selectRecipe.resolve({
110
110
  theme,
111
111
  selection,
112
112
  states: { pressed: true }
113
113
  });
114
- const tint = color ? _chunkJ5COSALOcjs.selectRecipe.tint({ theme, color, selection }) : void 0;
114
+ const tint = color ? _chunkL4B6Z45Qcjs.selectRecipe.tint({ theme, color, selection }) : void 0;
115
115
  const onPickDate = _react.useCallback.call(void 0,
116
116
  (day) => {
117
117
  const start = _chunkISHMSP6Pcjs.startOfDay.call(void 0, day);
118
118
  setValue(
119
- value === void 0 ? start : _chunkKMK6FUTKcjs.withTime.call(void 0, start, {
119
+ value === void 0 ? start : _chunkV5V2QYFHcjs.withTime.call(void 0, start, {
120
120
  hours: value.getHours(),
121
121
  minutes: value.getMinutes(),
122
122
  seconds: 0
@@ -260,10 +260,10 @@ function DateTimePickerSheet({
260
260
  ...props
261
261
  }) {
262
262
  const picker = useDateTimePicker();
263
- return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkX6GT4H4Icjs.BottomSheet2, { isOpen: picker.isOpen, onOpenChange: picker.setOpen, ...props, children: [
264
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkX6GT4H4Icjs.BottomSheet2.Overlay, {}),
265
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkX6GT4H4Icjs.BottomSheet2.Content, { children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, DateTimePickerProvider, { value: picker, children: _nullishCoalesce(children, () => ( /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
266
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkX6GT4H4Icjs.BottomSheet2.Handle, {}),
263
+ return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunk3TBT6ORWcjs.BottomSheet2, { isOpen: picker.isOpen, onOpenChange: picker.setOpen, ...props, children: [
264
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk3TBT6ORWcjs.BottomSheet2.Overlay, {}),
265
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk3TBT6ORWcjs.BottomSheet2.Content, { children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, DateTimePickerProvider, { value: picker, children: _nullishCoalesce(children, () => ( /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
266
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk3TBT6ORWcjs.BottomSheet2.Handle, {}),
267
267
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, DateTimePickerSteps, { labels: stepLabels }),
268
268
  picker.step === "date" ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
269
269
  DateTimePickerCalendar,
@@ -309,7 +309,7 @@ DateTimePickerCalendar.displayName = "XAUI.DateTimePicker.Calendar";
309
309
  function DateTimePickerClock(props) {
310
310
  const { value, onPickTime, clock } = useDateTimePicker();
311
311
  return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
312
- _chunkKMK6FUTKcjs.TimePicker2,
312
+ _chunkV5V2QYFHcjs.TimePicker2,
313
313
  {
314
314
  size: clock.size,
315
315
  color: clock.color,
@@ -321,8 +321,8 @@ function DateTimePickerClock(props) {
321
321
  closeOnSelect: false,
322
322
  ...props,
323
323
  children: [
324
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkKMK6FUTKcjs.TimePicker2.Display, { style: { alignSelf: "center" } }),
325
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkKMK6FUTKcjs.TimePicker2.Clock, { style: { alignSelf: "center" } })
324
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkV5V2QYFHcjs.TimePicker2.Display, { style: { alignSelf: "center" } }),
325
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkV5V2QYFHcjs.TimePicker2.Clock, { style: { alignSelf: "center" } })
326
326
  ]
327
327
  }
328
328
  );
@@ -333,7 +333,7 @@ DateTimePickerClock.displayName = "XAUI.DateTimePicker.Clock";
333
333
 
334
334
  function DateTimePickerIndicator(props) {
335
335
  const { glyph } = useDateTimePicker();
336
- return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkGSZDN6EZcjs.IconContext.Provider, { value: glyph, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkKMK6FUTKcjs.TimePickerIndicator, { ...props }) });
336
+ return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkGSZDN6EZcjs.IconContext.Provider, { value: glyph, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkV5V2QYFHcjs.TimePickerIndicator, { ...props }) });
337
337
  }
338
338
  DateTimePickerIndicator.displayName = "XAUI.DateTimePicker.Indicator";
339
339
 
@@ -106,10 +106,10 @@ var AvatarImage = forwardRef3(function AvatarImage2({
106
106
  });
107
107
  });
108
108
  AvatarImage.displayName = "XAUI.Avatar.Image";
109
- const _worklet_11076164406439_init_data = {
110
- code: "function chunkU5CUBDJAJs1(){const{opacity}=this.__closure;return{opacity:opacity.value};}",
111
- location: "/home/runner/work/xaui/xaui/packages/native/dist/chunk-U5CUBDJA.js",
112
- sourceMap: "{\"version\":3,\"names\":[\"chunkU5CUBDJAJs1\",\"opacity\",\"__closure\",\"value\"],\"sources\":[\"/home/runner/work/xaui/xaui/packages/native/dist/chunk-U5CUBDJA.js\"],\"mappings\":\"AAsG2C,SAAAA,gBAAMA,CAAA,QAAAC,OAAA,OAAAC,SAAA,CAE3C,MAAO,CAAED,OAAO,CAAEA,OAAO,CAACE,KAAM,CAAC,CACnC\",\"ignoreList\":[]}"
109
+ const _worklet_3214403523242_init_data = {
110
+ code: "function chunkZR5YOCOQJs1(){const{opacity}=this.__closure;return{opacity:opacity.value};}",
111
+ location: "/home/runner/work/xaui/xaui/packages/native/dist/chunk-ZR5YOCOQ.js",
112
+ sourceMap: "{\"version\":3,\"names\":[\"chunkZR5YOCOQJs1\",\"opacity\",\"__closure\",\"value\"],\"sources\":[\"/home/runner/work/xaui/xaui/packages/native/dist/chunk-ZR5YOCOQ.js\"],\"mappings\":\"AAsG2C,SAAAA,gBAAMA,CAAA,QAAAC,OAAA,OAAAC,SAAA,CAE3C,MAAO,CAAED,OAAO,CAAEA,OAAO,CAACE,KAAM,CAAC,CACnC\",\"ignoreList\":[]}"
113
113
  };
114
114
  var FadingImage = forwardRef3(function FadingImage2({
115
115
  onLoad,
@@ -123,26 +123,26 @@ var FadingImage = forwardRef3(function FadingImage2({
123
123
  });
124
124
  onLoad?.(event);
125
125
  }, [opacity, onLoad]);
126
- const animatedStyle = useAnimatedStyle(function chunkU5CUBDJAJs1Factory({
127
- _worklet_11076164406439_init_data,
126
+ const animatedStyle = useAnimatedStyle(function chunkZR5YOCOQJs1Factory({
127
+ _worklet_3214403523242_init_data,
128
128
  opacity
129
129
  }) {
130
130
  const _e = [new global.Error(), -2, -27];
131
- const chunkU5CUBDJAJs1 = function () {
131
+ const chunkZR5YOCOQJs1 = function () {
132
132
  return {
133
133
  opacity: opacity.value
134
134
  };
135
135
  };
136
- chunkU5CUBDJAJs1.__closure = {
136
+ chunkZR5YOCOQJs1.__closure = {
137
137
  opacity
138
138
  };
139
- chunkU5CUBDJAJs1.__workletHash = 11076164406439;
140
- chunkU5CUBDJAJs1.__pluginVersion = "0.7.4";
141
- chunkU5CUBDJAJs1.__initData = _worklet_11076164406439_init_data;
142
- chunkU5CUBDJAJs1.__stackDetails = _e;
143
- return chunkU5CUBDJAJs1;
139
+ chunkZR5YOCOQJs1.__workletHash = 3214403523242;
140
+ chunkZR5YOCOQJs1.__pluginVersion = "0.7.4";
141
+ chunkZR5YOCOQJs1.__initData = _worklet_3214403523242_init_data;
142
+ chunkZR5YOCOQJs1.__stackDetails = _e;
143
+ return chunkZR5YOCOQJs1;
144
144
  }({
145
- _worklet_11076164406439_init_data,
145
+ _worklet_3214403523242_init_data,
146
146
  opacity
147
147
  }), [opacity]);
148
148
  return /* @__PURE__ */jsx3(Animated.Image, {
@@ -303,7 +303,7 @@ var avatarRecipe = createRecipe({
303
303
  radius: radiusAxis("root")
304
304
  },
305
305
  /**
306
- * A circle at every size, where HeroUI fixes one large radius for all three — which
306
+ * A circle at every size, where the reference implementation fixes one large radius for all three — which
307
307
  * makes their small avatars round and their large ones squircles. `full` says the shape
308
308
  * the name means once, and `radius` is still there for the logo that wants a square.
309
309
  */
@@ -8,7 +8,7 @@ import { FadeIn, FadeOut } from 'react-native-reanimated';
8
8
  * content grows afterwards — an image loading, a list filling — would be stuck at the
9
9
  * height it had when it was measured.
10
10
  *
11
- * HeroUI's spring, and stiffer than the chevron's: 1600 against 1000. A height is a
11
+ * The reference implementation's spring, and stiffer than the chevron's: 1600 against 1000. A height is a
12
12
  * bigger distance than a rotation, and at the chevron's stiffness the same damping makes
13
13
  * a long panel take almost half a second to settle.
14
14
  */
@@ -8,7 +8,7 @@ import { FadeIn, FadeOut } from 'react-native-reanimated';
8
8
  * content grows afterwards — an image loading, a list filling — would be stuck at the
9
9
  * height it had when it was measured.
10
10
  *
11
- * HeroUI's spring, and stiffer than the chevron's: 1600 against 1000. A height is a
11
+ * The reference implementation's spring, and stiffer than the chevron's: 1600 against 1000. A height is a
12
12
  * bigger distance than a rotation, and at the chevron's stiffness the same damping makes
13
13
  * a long panel take almost half a second to settle.
14
14
  */
@@ -15,7 +15,7 @@ export type AccordionSlot = 'root'
15
15
  * the `Button`'s five nor the `Card`'s four read that cleanly — both put `default`
16
16
  * somewhere in the middle of an order it does not name a position in.
17
17
  *
18
- * `ghost` is the default here, and it is HeroUI's own `default`: rows separated by
18
+ * `ghost` is the default here, and it is the reference implementation's own `default`: rows separated by
19
19
  * hairlines, on whatever page they sit on. `primary` is their `surface`.
20
20
  */
21
21
  export type AccordionVariant = 'primary' | 'secondary' | 'tertiary' | 'ghost';
@@ -15,7 +15,7 @@ export type AccordionSlot = 'root'
15
15
  * the `Button`'s five nor the `Card`'s four read that cleanly — both put `default`
16
16
  * somewhere in the middle of an order it does not name a position in.
17
17
  *
18
- * `ghost` is the default here, and it is HeroUI's own `default`: rows separated by
18
+ * `ghost` is the default here, and it is the reference implementation's own `default`: rows separated by
19
19
  * hairlines, on whatever page they sit on. `primary` is their `surface`.
20
20
  */
21
21
  export type AccordionVariant = 'primary' | 'secondary' | 'tertiary' | 'ghost';
@@ -9,7 +9,7 @@
9
9
 
10
10
 
11
11
 
12
- var _chunkGN7BWYXPcjs = require('../../chunk-GN7BWYXP.cjs');
12
+ var _chunkUSQK6SFZcjs = require('../../chunk-USQK6SFZ.cjs');
13
13
  require('../../chunk-EKS3W46M.cjs');
14
14
  require('../../chunk-7EIHHOHP.cjs');
15
15
  require('../../chunk-HBYT7B47.cjs');
@@ -34,4 +34,4 @@ require('../../chunk-TK44VBIE.cjs');
34
34
 
35
35
 
36
36
 
37
- exports.Accordion = _chunkGN7BWYXPcjs.Accordion; exports.AccordionContent = _chunkGN7BWYXPcjs.AccordionContent; exports.AccordionIndicator = _chunkGN7BWYXPcjs.AccordionIndicator; exports.AccordionItem = _chunkGN7BWYXPcjs.AccordionItem; exports.AccordionRoot = _chunkGN7BWYXPcjs.AccordionRoot; exports.AccordionTrigger = _chunkGN7BWYXPcjs.AccordionTrigger; exports.accordionLayoutTransition = _chunkGN7BWYXPcjs.LAYOUT; exports.accordionRecipe = _chunkGN7BWYXPcjs.accordionRecipe; exports.useAccordion = _chunkGN7BWYXPcjs.useAccordion; exports.useAccordionItem = _chunkGN7BWYXPcjs.useAccordionItem;
37
+ exports.Accordion = _chunkUSQK6SFZcjs.Accordion; exports.AccordionContent = _chunkUSQK6SFZcjs.AccordionContent; exports.AccordionIndicator = _chunkUSQK6SFZcjs.AccordionIndicator; exports.AccordionItem = _chunkUSQK6SFZcjs.AccordionItem; exports.AccordionRoot = _chunkUSQK6SFZcjs.AccordionRoot; exports.AccordionTrigger = _chunkUSQK6SFZcjs.AccordionTrigger; exports.accordionLayoutTransition = _chunkUSQK6SFZcjs.LAYOUT; exports.accordionRecipe = _chunkUSQK6SFZcjs.accordionRecipe; exports.useAccordion = _chunkUSQK6SFZcjs.useAccordion; exports.useAccordionItem = _chunkUSQK6SFZcjs.useAccordionItem;
@@ -9,7 +9,7 @@ import {
9
9
  accordionRecipe,
10
10
  useAccordion,
11
11
  useAccordionItem
12
- } from "../../chunk-7OVYYZ7H.js";
12
+ } from "../../chunk-7EPH24S2.js";
13
13
  import "../../chunk-64MXEVT3.js";
14
14
  import "../../chunk-F6W3JQ7K.js";
15
15
  import "../../chunk-KQW25RCC.js";
@@ -13,6 +13,10 @@ import { View } from 'react-native';
13
13
  *
14
14
  * The word is the caller's: "Today", "Aujourd'hui", "Hoy". R3 wraps a text child into the
15
15
  * label, so `<AgendaCalendar.TodayButton>Today</…>` is the whole call.
16
+ *
17
+ * **It wears the card's `variant`**, the one that aims the chosen day: outlined with the
18
+ * word in the accent on `primary`, a soft fill on `secondary`, a neutral one on `tertiary`,
19
+ * the bare word on `ghost`. Nothing to pass — the pill reads the root's resolution.
16
20
  */
17
21
  export declare const AgendaCalendarTodayButton: import("react").ForwardRefExoticComponent<{
18
22
  children?: import("react").ReactNode;
@@ -13,6 +13,10 @@ import { View } from 'react-native';
13
13
  *
14
14
  * The word is the caller's: "Today", "Aujourd'hui", "Hoy". R3 wraps a text child into the
15
15
  * label, so `<AgendaCalendar.TodayButton>Today</…>` is the whole call.
16
+ *
17
+ * **It wears the card's `variant`**, the one that aims the chosen day: outlined with the
18
+ * word in the accent on `primary`, a soft fill on `secondary`, a neutral one on `tertiary`,
19
+ * the bare word on `ghost`. Nothing to pass — the pill reads the root's resolution.
16
20
  */
17
21
  export declare const AgendaCalendarTodayButton: import("react").ForwardRefExoticComponent<{
18
22
  children?: import("react").ReactNode;
@@ -1,7 +1,7 @@
1
1
  import type { SlotStyles } from '../../system/recipe';
2
2
  import type { XAUITheme } from '../../theme/theme.type';
3
3
  import type { AgendaCalendarSlot } from './agenda-calendar.type';
4
- export declare const agendaCalendarRecipe: import("../..").Recipe<"header" | "nav" | "week" | "root" | "navButton" | "today" | "todayDisabled" | "todayLabel" | "picker" | "pickerItem", "default", {
4
+ export declare const agendaCalendarRecipe: import("../..").Recipe<"header" | "nav" | "week" | "root" | "navButton" | "today" | "todayDisabled" | "todayLabel" | "picker" | "pickerItem", import("..").CalendarVariant, {
5
5
  readonly size: {
6
6
  readonly sm: (theme: XAUITheme) => SlotStyles<AgendaCalendarSlot>;
7
7
  readonly md: (theme: XAUITheme) => SlotStyles<AgendaCalendarSlot>;
@@ -1,7 +1,7 @@
1
1
  import type { SlotStyles } from '../../system/recipe';
2
2
  import type { XAUITheme } from '../../theme/theme.type';
3
3
  import type { AgendaCalendarSlot } from './agenda-calendar.type';
4
- export declare const agendaCalendarRecipe: import("../..").Recipe<"header" | "nav" | "week" | "root" | "navButton" | "today" | "todayDisabled" | "todayLabel" | "picker" | "pickerItem", "default", {
4
+ export declare const agendaCalendarRecipe: import("../..").Recipe<"header" | "nav" | "week" | "root" | "navButton" | "today" | "todayDisabled" | "todayLabel" | "picker" | "pickerItem", import("..").CalendarVariant, {
5
5
  readonly size: {
6
6
  readonly sm: (theme: XAUITheme) => SlotStyles<AgendaCalendarSlot>;
7
7
  readonly md: (theme: XAUITheme) => SlotStyles<AgendaCalendarSlot>;
@@ -7,7 +7,10 @@ import type { RadiusKey, Size } from '../../theme/theme.type';
7
7
  import type { WeekDay } from '../../utils/dates';
8
8
  import type { CalendarVariant } from '../calendar';
9
9
  export type AgendaCalendarSlot = 'root' | 'header' | 'nav' | 'navButton' | 'today' | 'todayDisabled' | 'todayLabel' | 'week' | 'picker' | 'pickerItem';
10
- /** The `Calendar`'s four, because the chosen day is the same day. */
10
+ /**
11
+ * The `Calendar`'s four, because the chosen day is the same day. It aims the pill that says
12
+ * "Today" as well — the variant is the card's one level of emphasis, not the disc's alone.
13
+ */
11
14
  export type AgendaCalendarVariant = CalendarVariant;
12
15
  /**
13
16
  * Which strip is on screen: the week of days, the months of the year, or the years.
@@ -7,7 +7,10 @@ import type { RadiusKey, Size } from '../../theme/theme.type';
7
7
  import type { WeekDay } from '../../utils/dates';
8
8
  import type { CalendarVariant } from '../calendar';
9
9
  export type AgendaCalendarSlot = 'root' | 'header' | 'nav' | 'navButton' | 'today' | 'todayDisabled' | 'todayLabel' | 'week' | 'picker' | 'pickerItem';
10
- /** The `Calendar`'s four, because the chosen day is the same day. */
10
+ /**
11
+ * The `Calendar`'s four, because the chosen day is the same day. It aims the pill that says
12
+ * "Today" as well — the variant is the card's one level of emphasis, not the disc's alone.
13
+ */
11
14
  export type AgendaCalendarVariant = CalendarVariant;
12
15
  /**
13
16
  * Which strip is on screen: the week of days, the months of the year, or the years.
@@ -14,7 +14,7 @@
14
14
 
15
15
 
16
16
 
17
- var _chunkSIOSYITDcjs = require('../../chunk-SIOSYITD.cjs');
17
+ var _chunkZBFBF7S4cjs = require('../../chunk-ZBFBF7S4.cjs');
18
18
  require('../../chunk-6ZWQDTGQ.cjs');
19
19
  require('../../chunk-ISHMSP6P.cjs');
20
20
  require('../../chunk-WFEMJCXO.cjs');
@@ -46,4 +46,4 @@ require('../../chunk-TK44VBIE.cjs');
46
46
 
47
47
 
48
48
 
49
- exports.AgendaCalendar = _chunkSIOSYITDcjs.AgendaCalendar; exports.AgendaCalendarDay = _chunkSIOSYITDcjs.AgendaCalendarDay; exports.AgendaCalendarHeader = _chunkSIOSYITDcjs.AgendaCalendarHeader; exports.AgendaCalendarMonthPicker = _chunkSIOSYITDcjs.AgendaCalendarMonthPicker; exports.AgendaCalendarNav = _chunkSIOSYITDcjs.AgendaCalendarNav; exports.AgendaCalendarNextButton = _chunkSIOSYITDcjs.AgendaCalendarNextButton; exports.AgendaCalendarPreviousButton = _chunkSIOSYITDcjs.AgendaCalendarPreviousButton; exports.AgendaCalendarRoot = _chunkSIOSYITDcjs.AgendaCalendarRoot; exports.AgendaCalendarTitle = _chunkSIOSYITDcjs.AgendaCalendarTitle; exports.AgendaCalendarTodayButton = _chunkSIOSYITDcjs.AgendaCalendarTodayButton; exports.AgendaCalendarWeek = _chunkSIOSYITDcjs.AgendaCalendarWeek; exports.AgendaCalendarWeekdays = _chunkSIOSYITDcjs.AgendaCalendarWeekdays; exports.AgendaCalendarYearPicker = _chunkSIOSYITDcjs.AgendaCalendarYearPicker; exports.agendaCalendarRecipe = _chunkSIOSYITDcjs.agendaCalendarRecipe; exports.useAgendaCalendar = _chunkSIOSYITDcjs.useAgendaCalendar;
49
+ exports.AgendaCalendar = _chunkZBFBF7S4cjs.AgendaCalendar; exports.AgendaCalendarDay = _chunkZBFBF7S4cjs.AgendaCalendarDay; exports.AgendaCalendarHeader = _chunkZBFBF7S4cjs.AgendaCalendarHeader; exports.AgendaCalendarMonthPicker = _chunkZBFBF7S4cjs.AgendaCalendarMonthPicker; exports.AgendaCalendarNav = _chunkZBFBF7S4cjs.AgendaCalendarNav; exports.AgendaCalendarNextButton = _chunkZBFBF7S4cjs.AgendaCalendarNextButton; exports.AgendaCalendarPreviousButton = _chunkZBFBF7S4cjs.AgendaCalendarPreviousButton; exports.AgendaCalendarRoot = _chunkZBFBF7S4cjs.AgendaCalendarRoot; exports.AgendaCalendarTitle = _chunkZBFBF7S4cjs.AgendaCalendarTitle; exports.AgendaCalendarTodayButton = _chunkZBFBF7S4cjs.AgendaCalendarTodayButton; exports.AgendaCalendarWeek = _chunkZBFBF7S4cjs.AgendaCalendarWeek; exports.AgendaCalendarWeekdays = _chunkZBFBF7S4cjs.AgendaCalendarWeekdays; exports.AgendaCalendarYearPicker = _chunkZBFBF7S4cjs.AgendaCalendarYearPicker; exports.agendaCalendarRecipe = _chunkZBFBF7S4cjs.agendaCalendarRecipe; exports.useAgendaCalendar = _chunkZBFBF7S4cjs.useAgendaCalendar;
@@ -14,7 +14,7 @@ import {
14
14
  AgendaCalendarYearPicker,
15
15
  agendaCalendarRecipe,
16
16
  useAgendaCalendar
17
- } from "../../chunk-QT7KLGO3.js";
17
+ } from "../../chunk-V5FYHQKQ.js";
18
18
  import "../../chunk-6NAZ2IHL.js";
19
19
  import "../../chunk-SHFUQVLX.js";
20
20
  import "../../chunk-NCTOTTVW.js";
@@ -13,7 +13,7 @@ import type { AlertIconProps } from './alert.type';
13
13
  * The size and the colour come from the root, which resolved them once; an explicit `size`
14
14
  * or `color` still wins, and that is the escape hatch for the alert whose icon has to
15
15
  * disagree with its variant — a neutral `default` surface with a green check, which is how
16
- * HeroUI colours its own.
16
+ * The reference implementation colours its own.
17
17
  *
18
18
  * **This slot renders a box**, unlike `Button.Icon` and `Chip.Icon`, which hand their
19
19
  * props straight to a third-party component. It has to: an alert's icon sits beside a
@@ -21,7 +21,7 @@ import type { AlertIconProps } from './alert.type';
21
21
  * line's cap-height means offsetting it by half the leading. That is a style, and a style
22
22
  * needs a node — which is also what lets this slot carry style props at all.
23
23
  *
24
- * **No default glyph**, where HeroUI ships three. XAUI publishes no icon set — `@xaui/icons`
24
+ * **No default glyph**, where the reference implementation ships three. XAUI publishes no icon set — `@xaui/icons`
25
25
  * was deleted in P0 — so an icon here is always the caller's, and the alert's job is to
26
26
  * size and colour it rather than to choose it.
27
27
  */
@@ -13,7 +13,7 @@ import type { AlertIconProps } from './alert.type';
13
13
  * The size and the colour come from the root, which resolved them once; an explicit `size`
14
14
  * or `color` still wins, and that is the escape hatch for the alert whose icon has to
15
15
  * disagree with its variant — a neutral `default` surface with a green check, which is how
16
- * HeroUI colours its own.
16
+ * The reference implementation colours its own.
17
17
  *
18
18
  * **This slot renders a box**, unlike `Button.Icon` and `Chip.Icon`, which hand their
19
19
  * props straight to a third-party component. It has to: an alert's icon sits beside a
@@ -21,7 +21,7 @@ import type { AlertIconProps } from './alert.type';
21
21
  * line's cap-height means offsetting it by half the leading. That is a style, and a style
22
22
  * needs a node — which is also what lets this slot carry style props at all.
23
23
  *
24
- * **No default glyph**, where HeroUI ships three. XAUI publishes no icon set — `@xaui/icons`
24
+ * **No default glyph**, where the reference implementation ships three. XAUI publishes no icon set — `@xaui/icons`
25
25
  * was deleted in P0 — so an icon here is always the caller's, and the alert's job is to
26
26
  * size and colour it rather than to choose it.
27
27
  */
@@ -12,7 +12,7 @@ export type AlertSlot = 'root' | 'icon' | 'iconGlyph' | 'content' | 'title' | 'd
12
12
  * status vocabulary of the `Chip` for the rest.
13
13
  *
14
14
  * - **`default`** — the `surface` fill and the surface shadow, exactly the `Card`'s
15
- * `default`. This is HeroUI's alert: a neutral card, with the status carried by the icon
15
+ * `default`. This is the reference implementation's alert: a neutral card, with the status carried by the icon
16
16
  * rather than by the background.
17
17
  * - **`primary` / `secondary`** — the full accent and its soft slice, for the
18
18
  * informational alert that is not an outcome.
@@ -12,7 +12,7 @@ export type AlertSlot = 'root' | 'icon' | 'iconGlyph' | 'content' | 'title' | 'd
12
12
  * status vocabulary of the `Chip` for the rest.
13
13
  *
14
14
  * - **`default`** — the `surface` fill and the surface shadow, exactly the `Card`'s
15
- * `default`. This is HeroUI's alert: a neutral card, with the status carried by the icon
15
+ * `default`. This is the reference implementation's alert: a neutral card, with the status carried by the icon
16
16
  * rather than by the background.
17
17
  * - **`primary` / `secondary`** — the full accent and its soft slice, for the
18
18
  * informational alert that is not an outcome.
@@ -2,7 +2,7 @@
2
2
 
3
3
 
4
4
 
5
- var _chunkIMIY34F4cjs = require('../../chunk-IMIY34F4.cjs');
5
+ var _chunkKIXHSX3Lcjs = require('../../chunk-KIXHSX3L.cjs');
6
6
  require('../../chunk-WNEDQTH6.cjs');
7
7
  require('../../chunk-HBYT7B47.cjs');
8
8
  require('../../chunk-7DPL3ZDS.cjs');
@@ -19,4 +19,4 @@ require('../../chunk-TK44VBIE.cjs');
19
19
 
20
20
 
21
21
 
22
- exports.Alert = _chunkIMIY34F4cjs.Alert; exports.alertRecipe = _chunkIMIY34F4cjs.alertRecipe; exports.useAlert = _chunkIMIY34F4cjs.useAlert;
22
+ exports.Alert = _chunkKIXHSX3Lcjs.Alert; exports.alertRecipe = _chunkKIXHSX3Lcjs.alertRecipe; exports.useAlert = _chunkKIXHSX3Lcjs.useAlert;
@@ -2,7 +2,7 @@ import {
2
2
  Alert,
3
3
  alertRecipe,
4
4
  useAlert
5
- } from "../../chunk-6W45YHTF.js";
5
+ } from "../../chunk-HDERVGWZ.js";
6
6
  import "../../chunk-SIX5AVXG.js";
7
7
  import "../../chunk-KQW25RCC.js";
8
8
  import "../../chunk-423RQBOX.js";