@vireo-ai/trellis-ui 0.1.27 → 0.1.30

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 (203) hide show
  1. package/package.json +7 -2
  2. package/packages/client/src/components/checkbox/styles.css +7 -0
  3. package/packages/client/src/components/field/styles.css +71 -0
  4. package/packages/client/src/components/file-upload/styles.css +68 -0
  5. package/packages/client/src/components/radio/styles.css +2 -8
  6. package/packages/client/src/components/tabs/styles.css +73 -0
  7. package/packages/client/src/components/toast/styles.css +123 -0
  8. package/packages/client/src/styles/components.css +15 -4
  9. package/packages/client/src/styles/generated/theme-fonts.css +1 -1
  10. package/packages/client/src/styles/generated/theme-palette.css +77 -1462
  11. package/packages/client/src/styles/generated/theme-runtime.css +1 -1390
  12. package/packages/client/src/styles/generated-sources.css +1 -1
  13. package/packages/client/src/styles/recipes/action.css +175 -0
  14. package/packages/client/src/styles/recipes/disabled.css +16 -0
  15. package/packages/client/src/styles/recipes/option.css +123 -0
  16. package/packages/client/src/styles/recipes/selection.css +78 -0
  17. package/packages/client/src/styles/theme.css +45 -719
  18. package/packages/client/types/assets/full-runtime.generated.d.ts +1 -1
  19. package/packages/client/types/capabilities/motion.entry.generated.d.ts +3 -0
  20. package/packages/client/types/capabilities/resizable.entry.generated.d.ts +3 -0
  21. package/packages/client/types/capabilities/sortable.entry.generated.d.ts +3 -0
  22. package/packages/client/types/component-api.d.ts +10 -10
  23. package/packages/client/types/components/accordion/index.d.ts +7 -4
  24. package/packages/client/types/components/accordion/machine.d.ts +51 -57
  25. package/packages/client/types/components/card/contract.d.ts +5 -2
  26. package/packages/client/types/components/checkbox/contract.d.ts +17 -7
  27. package/packages/client/types/components/common.d.ts +6 -1
  28. package/packages/client/types/components/date-picker/index.d.ts +7 -4
  29. package/packages/client/types/components/date-picker/machine.d.ts +46 -362
  30. package/packages/client/types/components/dropdown/index.d.ts +7 -4
  31. package/packages/client/types/components/dropdown/machine.d.ts +5 -67
  32. package/packages/client/types/components/field/index.d.ts +1 -2
  33. package/packages/client/types/components/file-upload/index.d.ts +7 -4
  34. package/packages/client/types/components/file-upload/machine.d.ts +17 -39
  35. package/packages/client/types/components/input/index.d.ts +1 -2
  36. package/packages/client/types/components/modal/index.d.ts +6 -2
  37. package/packages/client/types/components/modal/machine.d.ts +5 -103
  38. package/packages/client/types/components/panels/index.d.ts +6 -2
  39. package/packages/client/types/components/panels/machine.d.ts +59 -81
  40. package/packages/client/types/components/radio/contract.d.ts +12 -4
  41. package/packages/client/types/components/runtime.d.ts +10 -10
  42. package/packages/client/types/components/scroll-area/index.d.ts +1 -2
  43. package/packages/client/types/components/select/index.d.ts +7 -4
  44. package/packages/client/types/components/select/machine.d.ts +37 -331
  45. package/packages/client/types/components/sidebar/index.d.ts +6 -2
  46. package/packages/client/types/components/sidebar/machine.d.ts +11 -47
  47. package/packages/client/types/components/slider/index.d.ts +1 -2
  48. package/packages/client/types/components/switch/index.d.ts +1 -2
  49. package/packages/client/types/components/tabs/contract.d.ts +6 -2
  50. package/packages/client/types/components/tabs/index.d.ts +7 -4
  51. package/packages/client/types/components/tabs/machine.d.ts +11 -29
  52. package/packages/client/types/components/toast/index.d.ts +6 -2
  53. package/packages/client/types/components/toast/machine.d.ts +7 -66
  54. package/packages/client/types/core.d.ts +2 -2
  55. package/packages/client/types/runtime/alpine-data.d.ts +6 -0
  56. package/packages/client/types/runtime/alpine-machine.d.ts +3 -8
  57. package/packages/client/types/runtime/engine/request.d.ts +1 -0
  58. package/packages/client/types/runtime/index.d.ts +7 -3
  59. package/packages/client/types/runtime/transition-coordinator.d.ts +41 -7
  60. package/packages/server/trellis_ui/static/trellis_ui/assets/css/trellis.css +638 -3428
  61. package/packages/server/trellis_ui/static/trellis_ui/assets/css/trellis.min.css +1 -1
  62. package/packages/server/trellis_ui/static/trellis_ui/assets/js/esm/build-metadata.json +492 -376
  63. package/packages/server/trellis_ui/static/trellis_ui/assets/js/esm/capabilities/motion.js +2 -0
  64. package/packages/server/trellis_ui/static/trellis_ui/assets/js/esm/capabilities/motion.js.map +1 -0
  65. package/packages/server/trellis_ui/static/trellis_ui/assets/js/esm/capabilities/resizable.js +2 -0
  66. package/packages/server/trellis_ui/static/trellis_ui/assets/js/esm/capabilities/resizable.js.map +1 -0
  67. package/packages/server/trellis_ui/static/trellis_ui/assets/js/esm/capabilities/sortable.js +2 -0
  68. package/packages/server/trellis_ui/static/trellis_ui/assets/js/esm/capabilities/sortable.js.map +1 -0
  69. package/packages/server/trellis_ui/static/trellis_ui/assets/js/esm/chunks/alpine-data-DZ17j0jc.js +2 -0
  70. package/packages/server/trellis_ui/static/trellis_ui/assets/js/esm/chunks/alpine-data-DZ17j0jc.js.map +1 -0
  71. package/packages/server/trellis_ui/static/trellis_ui/assets/js/esm/chunks/alpine-machine-BS13dbK4.js +2 -0
  72. package/packages/server/trellis_ui/static/trellis_ui/assets/js/esm/chunks/alpine-machine-BS13dbK4.js.map +1 -0
  73. package/packages/server/trellis_ui/static/trellis_ui/assets/js/esm/chunks/capability-motion-wMoceguq.js +2 -0
  74. package/packages/server/trellis_ui/static/trellis_ui/assets/js/esm/chunks/capability-motion-wMoceguq.js.map +1 -0
  75. package/packages/server/trellis_ui/static/trellis_ui/assets/js/esm/chunks/capability-resizable-C6LKIbpv.js +2 -0
  76. package/packages/server/trellis_ui/static/trellis_ui/assets/js/esm/chunks/capability-resizable-C6LKIbpv.js.map +1 -0
  77. package/packages/server/trellis_ui/static/trellis_ui/assets/js/esm/chunks/capability-sortable-BurX5yRd.js +3 -0
  78. package/packages/server/trellis_ui/static/trellis_ui/assets/js/esm/chunks/capability-sortable-BurX5yRd.js.map +1 -0
  79. package/packages/server/trellis_ui/static/trellis_ui/assets/js/esm/chunks/{common-DAxHCzB-.js → common-BOd_thC-.js} +2 -2
  80. package/packages/server/trellis_ui/static/trellis_ui/assets/js/esm/chunks/{common-DAxHCzB-.js.map → common-BOd_thC-.js.map} +1 -1
  81. package/packages/server/trellis_ui/static/trellis_ui/assets/js/esm/chunks/core-BuKz1uWk.js +2 -0
  82. package/packages/server/trellis_ui/static/trellis_ui/assets/js/esm/chunks/{core-DjoX4J-6.js.map → core-BuKz1uWk.js.map} +1 -1
  83. package/packages/server/trellis_ui/static/trellis_ui/assets/js/esm/chunks/drag-and-drop-BV6kB47L.js +2 -0
  84. package/packages/server/trellis_ui/static/trellis_ui/assets/js/esm/chunks/drag-and-drop-BV6kB47L.js.map +1 -0
  85. package/packages/server/trellis_ui/static/trellis_ui/assets/js/esm/chunks/entry.generated-9sxiaVVI.js +2 -0
  86. package/packages/server/trellis_ui/static/trellis_ui/assets/js/esm/chunks/entry.generated-9sxiaVVI.js.map +1 -0
  87. package/packages/server/trellis_ui/static/trellis_ui/assets/js/esm/chunks/entry.generated-BehM6Hle.js +2 -0
  88. package/packages/server/trellis_ui/static/trellis_ui/assets/js/esm/chunks/entry.generated-BehM6Hle.js.map +1 -0
  89. package/packages/server/trellis_ui/static/trellis_ui/assets/js/esm/chunks/entry.generated-BhPEF6oz.js +2 -0
  90. package/packages/server/trellis_ui/static/trellis_ui/assets/js/esm/chunks/{entry.generated-xcXw-cEl.js.map → entry.generated-BhPEF6oz.js.map} +1 -1
  91. package/packages/server/trellis_ui/static/trellis_ui/assets/js/esm/chunks/entry.generated-BqOi_tIN.js +2 -0
  92. package/packages/server/trellis_ui/static/trellis_ui/assets/js/esm/chunks/entry.generated-BqOi_tIN.js.map +1 -0
  93. package/packages/server/trellis_ui/static/trellis_ui/assets/js/esm/chunks/entry.generated-BuXeU4zt.js +2 -0
  94. package/packages/server/trellis_ui/static/trellis_ui/assets/js/esm/chunks/entry.generated-BuXeU4zt.js.map +1 -0
  95. package/packages/server/trellis_ui/static/trellis_ui/assets/js/esm/chunks/entry.generated-C-MH09sf.js +2 -0
  96. package/packages/server/trellis_ui/static/trellis_ui/assets/js/esm/chunks/entry.generated-C-MH09sf.js.map +1 -0
  97. package/packages/server/trellis_ui/static/trellis_ui/assets/js/esm/chunks/entry.generated-C3h9Czzn.js +2 -0
  98. package/packages/server/trellis_ui/static/trellis_ui/assets/js/esm/chunks/entry.generated-C3h9Czzn.js.map +1 -0
  99. package/packages/server/trellis_ui/static/trellis_ui/assets/js/esm/chunks/entry.generated-C5Bueyfb.js +2 -0
  100. package/packages/server/trellis_ui/static/trellis_ui/assets/js/esm/chunks/entry.generated-C5Bueyfb.js.map +1 -0
  101. package/packages/server/trellis_ui/static/trellis_ui/assets/js/esm/chunks/entry.generated-CCka3fIO.js +2 -0
  102. package/packages/server/trellis_ui/static/trellis_ui/assets/js/esm/chunks/entry.generated-CCka3fIO.js.map +1 -0
  103. package/packages/server/trellis_ui/static/trellis_ui/assets/js/esm/chunks/entry.generated-CSxEK8G9.js +2 -0
  104. package/packages/server/trellis_ui/static/trellis_ui/assets/js/esm/chunks/entry.generated-CSxEK8G9.js.map +1 -0
  105. package/packages/server/trellis_ui/static/trellis_ui/assets/js/esm/chunks/entry.generated-CoJxfxlc.js +2 -0
  106. package/packages/server/trellis_ui/static/trellis_ui/assets/js/esm/chunks/entry.generated-CoJxfxlc.js.map +1 -0
  107. package/packages/server/trellis_ui/static/trellis_ui/assets/js/esm/chunks/entry.generated-D6cdmqiV.js +2 -0
  108. package/packages/server/trellis_ui/static/trellis_ui/assets/js/esm/chunks/entry.generated-D6cdmqiV.js.map +1 -0
  109. package/packages/server/trellis_ui/static/trellis_ui/assets/js/esm/chunks/entry.generated-DBSwLHmm.js +2 -0
  110. package/packages/server/trellis_ui/static/trellis_ui/assets/js/esm/chunks/entry.generated-DBSwLHmm.js.map +1 -0
  111. package/packages/server/trellis_ui/static/trellis_ui/assets/js/esm/chunks/entry.generated-DEiL4FhC.js +2 -0
  112. package/packages/server/trellis_ui/static/trellis_ui/assets/js/esm/chunks/entry.generated-DEiL4FhC.js.map +1 -0
  113. package/packages/server/trellis_ui/static/trellis_ui/assets/js/esm/chunks/entry.generated-DRqap77P.js +2 -0
  114. package/packages/server/trellis_ui/static/trellis_ui/assets/js/esm/chunks/entry.generated-DRqap77P.js.map +1 -0
  115. package/packages/server/trellis_ui/static/trellis_ui/assets/js/esm/chunks/entry.generated-Dzw2Rg5F.js +2 -0
  116. package/packages/server/trellis_ui/static/trellis_ui/assets/js/esm/chunks/entry.generated-Dzw2Rg5F.js.map +1 -0
  117. package/packages/server/trellis_ui/static/trellis_ui/assets/js/esm/chunks/entry.generated-EtCfrZfr.js +2 -0
  118. package/packages/server/trellis_ui/static/trellis_ui/assets/js/esm/chunks/entry.generated-EtCfrZfr.js.map +1 -0
  119. package/packages/server/trellis_ui/static/trellis_ui/assets/js/esm/chunks/entry.generated-cMueWbY7.js +2 -0
  120. package/packages/server/trellis_ui/static/trellis_ui/assets/js/esm/chunks/entry.generated-cMueWbY7.js.map +1 -0
  121. package/packages/server/trellis_ui/static/trellis_ui/assets/js/esm/chunks/machine-Dqut4h89.js +2 -0
  122. package/packages/server/trellis_ui/static/trellis_ui/assets/js/esm/chunks/machine-Dqut4h89.js.map +1 -0
  123. package/packages/server/trellis_ui/static/trellis_ui/assets/js/esm/chunks/motion-BRaHJwNf.js +3 -0
  124. package/packages/server/trellis_ui/static/trellis_ui/assets/js/esm/chunks/motion-BRaHJwNf.js.map +1 -0
  125. package/packages/server/trellis_ui/static/trellis_ui/assets/js/esm/chunks/semantic-observer-BUswpsNx.js +2 -0
  126. package/packages/server/trellis_ui/static/trellis_ui/assets/js/esm/chunks/{semantic-observer-9VxzbQBi.js.map → semantic-observer-BUswpsNx.js.map} +1 -1
  127. package/packages/server/trellis_ui/static/trellis_ui/assets/js/esm/chunks/stream-pMBGbBZH.js +4 -0
  128. package/packages/server/trellis_ui/static/trellis_ui/assets/js/esm/chunks/stream-pMBGbBZH.js.map +1 -0
  129. package/packages/server/trellis_ui/static/trellis_ui/assets/js/esm/chunks/ui-H3t7UHMs.js +2 -0
  130. package/packages/server/trellis_ui/static/trellis_ui/assets/js/esm/chunks/ui-H3t7UHMs.js.map +1 -0
  131. package/packages/server/trellis_ui/static/trellis_ui/assets/js/esm/components/accordion.js +1 -1
  132. package/packages/server/trellis_ui/static/trellis_ui/assets/js/esm/components/checkbox.js +1 -1
  133. package/packages/server/trellis_ui/static/trellis_ui/assets/js/esm/components/date-picker.js +1 -1
  134. package/packages/server/trellis_ui/static/trellis_ui/assets/js/esm/components/dropdown.js +1 -1
  135. package/packages/server/trellis_ui/static/trellis_ui/assets/js/esm/components/field.js +1 -1
  136. package/packages/server/trellis_ui/static/trellis_ui/assets/js/esm/components/file-upload.js +1 -1
  137. package/packages/server/trellis_ui/static/trellis_ui/assets/js/esm/components/index.js +2 -1
  138. package/packages/server/trellis_ui/static/trellis_ui/assets/js/esm/components/index.js.map +1 -0
  139. package/packages/server/trellis_ui/static/trellis_ui/assets/js/esm/components/input.js +1 -1
  140. package/packages/server/trellis_ui/static/trellis_ui/assets/js/esm/components/modal.js +1 -1
  141. package/packages/server/trellis_ui/static/trellis_ui/assets/js/esm/components/panels.js +1 -1
  142. package/packages/server/trellis_ui/static/trellis_ui/assets/js/esm/components/radio.js +1 -1
  143. package/packages/server/trellis_ui/static/trellis_ui/assets/js/esm/components/scroll-area.js +1 -1
  144. package/packages/server/trellis_ui/static/trellis_ui/assets/js/esm/components/select.js +1 -1
  145. package/packages/server/trellis_ui/static/trellis_ui/assets/js/esm/components/sidebar.js +1 -1
  146. package/packages/server/trellis_ui/static/trellis_ui/assets/js/esm/components/slider.js +1 -1
  147. package/packages/server/trellis_ui/static/trellis_ui/assets/js/esm/components/switch.js +1 -1
  148. package/packages/server/trellis_ui/static/trellis_ui/assets/js/esm/components/table.js +1 -1
  149. package/packages/server/trellis_ui/static/trellis_ui/assets/js/esm/components/tabs.js +1 -1
  150. package/packages/server/trellis_ui/static/trellis_ui/assets/js/esm/components/toast.js +1 -1
  151. package/packages/server/trellis_ui/static/trellis_ui/assets/js/esm/core.js +1 -1
  152. package/packages/server/trellis_ui/static/trellis_ui/assets/js/esm/index.js +1 -1
  153. package/packages/server/trellis_ui/static/trellis_ui/assets/js/esm/index.js.map +1 -1
  154. package/packages/server/trellis_ui/static/trellis_ui/assets/js/esm/logical-entry-manifest.json +232 -127
  155. package/packages/server/trellis_ui/static/trellis_ui/assets/js/trellis.js +9 -9
  156. package/packages/server/trellis_ui/static/trellis_ui/assets/js/trellis.min.js +9 -9
  157. package/packages/server/trellis_ui/static/trellis_ui/assets/js/esm/chunks/core-DjoX4J-6.js +0 -2
  158. package/packages/server/trellis_ui/static/trellis_ui/assets/js/esm/chunks/entry.generated-5kNpQFGr.js +0 -2
  159. package/packages/server/trellis_ui/static/trellis_ui/assets/js/esm/chunks/entry.generated-5kNpQFGr.js.map +0 -1
  160. package/packages/server/trellis_ui/static/trellis_ui/assets/js/esm/chunks/entry.generated-B85L90Qp.js +0 -2
  161. package/packages/server/trellis_ui/static/trellis_ui/assets/js/esm/chunks/entry.generated-B85L90Qp.js.map +0 -1
  162. package/packages/server/trellis_ui/static/trellis_ui/assets/js/esm/chunks/entry.generated-BGCM6LAW.js +0 -2
  163. package/packages/server/trellis_ui/static/trellis_ui/assets/js/esm/chunks/entry.generated-BGCM6LAW.js.map +0 -1
  164. package/packages/server/trellis_ui/static/trellis_ui/assets/js/esm/chunks/entry.generated-Bc-uE56r.js +0 -2
  165. package/packages/server/trellis_ui/static/trellis_ui/assets/js/esm/chunks/entry.generated-Bc-uE56r.js.map +0 -1
  166. package/packages/server/trellis_ui/static/trellis_ui/assets/js/esm/chunks/entry.generated-C6ldtrmy.js +0 -2
  167. package/packages/server/trellis_ui/static/trellis_ui/assets/js/esm/chunks/entry.generated-C6ldtrmy.js.map +0 -1
  168. package/packages/server/trellis_ui/static/trellis_ui/assets/js/esm/chunks/entry.generated-CPWoMIwn.js +0 -2
  169. package/packages/server/trellis_ui/static/trellis_ui/assets/js/esm/chunks/entry.generated-CPWoMIwn.js.map +0 -1
  170. package/packages/server/trellis_ui/static/trellis_ui/assets/js/esm/chunks/entry.generated-Co0bLLZE.js +0 -2
  171. package/packages/server/trellis_ui/static/trellis_ui/assets/js/esm/chunks/entry.generated-Co0bLLZE.js.map +0 -1
  172. package/packages/server/trellis_ui/static/trellis_ui/assets/js/esm/chunks/entry.generated-CtyXH8zf.js +0 -2
  173. package/packages/server/trellis_ui/static/trellis_ui/assets/js/esm/chunks/entry.generated-CtyXH8zf.js.map +0 -1
  174. package/packages/server/trellis_ui/static/trellis_ui/assets/js/esm/chunks/entry.generated-DGrOItIx.js +0 -2
  175. package/packages/server/trellis_ui/static/trellis_ui/assets/js/esm/chunks/entry.generated-DGrOItIx.js.map +0 -1
  176. package/packages/server/trellis_ui/static/trellis_ui/assets/js/esm/chunks/entry.generated-DHMRhcYF.js +0 -2
  177. package/packages/server/trellis_ui/static/trellis_ui/assets/js/esm/chunks/entry.generated-DHMRhcYF.js.map +0 -1
  178. package/packages/server/trellis_ui/static/trellis_ui/assets/js/esm/chunks/entry.generated-DgmqZx_W.js +0 -2
  179. package/packages/server/trellis_ui/static/trellis_ui/assets/js/esm/chunks/entry.generated-DgmqZx_W.js.map +0 -1
  180. package/packages/server/trellis_ui/static/trellis_ui/assets/js/esm/chunks/entry.generated-DoOgk6l4.js +0 -2
  181. package/packages/server/trellis_ui/static/trellis_ui/assets/js/esm/chunks/entry.generated-DoOgk6l4.js.map +0 -1
  182. package/packages/server/trellis_ui/static/trellis_ui/assets/js/esm/chunks/entry.generated-DxUOcPkU.js +0 -2
  183. package/packages/server/trellis_ui/static/trellis_ui/assets/js/esm/chunks/entry.generated-DxUOcPkU.js.map +0 -1
  184. package/packages/server/trellis_ui/static/trellis_ui/assets/js/esm/chunks/entry.generated-DyIjCOhT.js +0 -2
  185. package/packages/server/trellis_ui/static/trellis_ui/assets/js/esm/chunks/entry.generated-DyIjCOhT.js.map +0 -1
  186. package/packages/server/trellis_ui/static/trellis_ui/assets/js/esm/chunks/entry.generated-DzG9Lai4.js +0 -3
  187. package/packages/server/trellis_ui/static/trellis_ui/assets/js/esm/chunks/entry.generated-DzG9Lai4.js.map +0 -1
  188. package/packages/server/trellis_ui/static/trellis_ui/assets/js/esm/chunks/entry.generated-K6qKowpw.js +0 -2
  189. package/packages/server/trellis_ui/static/trellis_ui/assets/js/esm/chunks/entry.generated-K6qKowpw.js.map +0 -1
  190. package/packages/server/trellis_ui/static/trellis_ui/assets/js/esm/chunks/entry.generated-oAIExc1V.js +0 -2
  191. package/packages/server/trellis_ui/static/trellis_ui/assets/js/esm/chunks/entry.generated-oAIExc1V.js.map +0 -1
  192. package/packages/server/trellis_ui/static/trellis_ui/assets/js/esm/chunks/entry.generated-wHjTggCn.js +0 -2
  193. package/packages/server/trellis_ui/static/trellis_ui/assets/js/esm/chunks/entry.generated-wHjTggCn.js.map +0 -1
  194. package/packages/server/trellis_ui/static/trellis_ui/assets/js/esm/chunks/entry.generated-xcXw-cEl.js +0 -2
  195. package/packages/server/trellis_ui/static/trellis_ui/assets/js/esm/chunks/machine-CX3wFSoV.js +0 -2
  196. package/packages/server/trellis_ui/static/trellis_ui/assets/js/esm/chunks/machine-CX3wFSoV.js.map +0 -1
  197. package/packages/server/trellis_ui/static/trellis_ui/assets/js/esm/chunks/motion-Bpttk6iZ.js +0 -3
  198. package/packages/server/trellis_ui/static/trellis_ui/assets/js/esm/chunks/motion-Bpttk6iZ.js.map +0 -1
  199. package/packages/server/trellis_ui/static/trellis_ui/assets/js/esm/chunks/resizable-BixtYF9M.js +0 -2
  200. package/packages/server/trellis_ui/static/trellis_ui/assets/js/esm/chunks/resizable-BixtYF9M.js.map +0 -1
  201. package/packages/server/trellis_ui/static/trellis_ui/assets/js/esm/chunks/semantic-observer-9VxzbQBi.js +0 -2
  202. package/packages/server/trellis_ui/static/trellis_ui/assets/js/esm/chunks/ui-xTjuF3uC.js +0 -4
  203. package/packages/server/trellis_ui/static/trellis_ui/assets/js/esm/chunks/ui-xTjuF3uC.js.map +0 -1
@@ -33,252 +33,32 @@ type CreateDatePickerMachineOptions = {
33
33
  context: DatePickerContext;
34
34
  effects: DatePickerMachineEffects;
35
35
  };
36
- declare const datePickerHooks: readonly [Readonly<{
36
+ declare const datePickerHooks: readonly [{
37
37
  name: "opening";
38
38
  state: string;
39
+ project: () => {};
39
40
  onDone: string;
40
41
  onError: string;
41
- required?: boolean;
42
- sends?: Record<string, import("../..").TransitionEventCreator>;
43
- project?: (snapshot: Readonly<{
44
- value: import("../..").MachineStateValue;
45
- tags: readonly string[];
46
- context: Readonly<DatePickerContext>;
47
- props: Readonly<import("../..").SchemaToProps<{
48
- name: import("../../runtime/codecs").StringCodec;
49
- value: import("../../runtime/codecs").StringCodec;
50
- startName: import("../../runtime/codecs").StringCodec;
51
- endName: import("../../runtime/codecs").StringCodec;
52
- mode: import("../../runtime/codecs").OneOfCodec<"single" | "range">;
53
- placeholder: import("../../runtime/codecs").StringCodec;
54
- min: import("../../runtime/codecs").StringCodec;
55
- max: import("../../runtime/codecs").StringCodec;
56
- today: import("../../runtime/codecs").StringCodec;
57
- openTo: import("../../runtime/codecs").StringCodec;
58
- forceOpenTo: import("../../runtime/codecs").BoolCodec;
59
- months: import("../../runtime/codecs").NumberCodec;
60
- firstDayOfWeek: import("../../runtime/codecs").NumberCodec;
61
- locale: import("../../runtime/codecs").StringCodec;
62
- format: import("../../runtime/codecs").StringCodec;
63
- rangeSeparator: import("../../runtime/codecs").StringCodec;
64
- showOutsideDays: import("../../runtime/codecs").BoolCodec;
65
- showWeekNumbers: import("../../runtime/codecs").BoolCodec;
66
- fixedWeeks: import("../../runtime/codecs").BoolCodec;
67
- selectableHeader: import("../../runtime/codecs").BoolCodec;
68
- withToday: import("../../runtime/codecs").BoolCodec;
69
- clearable: import("../../runtime/codecs").BoolCodec;
70
- disabled: import("../../runtime/codecs").BoolCodec;
71
- readonly: import("../../runtime/codecs").BoolCodec;
72
- required: import("../../runtime/codecs").BoolCodec;
73
- invalid: import("../../runtime/codecs").BoolCodec;
74
- side: import("../../runtime/codecs").OneOfCodec<"bottom" | "left" | "right" | "top">;
75
- align: import("../../runtime/codecs").OneOfCodec<"end" | "center" | "start">;
76
- offset: import("../../runtime/codecs").NumberCodec;
77
- gap: import("../../runtime/codecs").NumberCodec;
78
- variant: import("../../runtime/codecs").OneOfCodec<"enhanced" | "native">;
79
- color: import("../../runtime/codecs").OneOfCodec<"accent" | "neutral">;
80
- radius: import("../../runtime/codecs").OneOfCodec<"none" | "xs" | "sm" | "md" | "lg" | "full">;
81
- surface: import("../../runtime/codecs").OneOfCodec<"inherit" | "0" | "1" | "2" | "3" | "4" | "5" | "6" | "7" | "8" | "+1" | "+2" | "+3" | "+4" | "+5" | "+6" | "+7" | "+8">;
82
- elevation: import("../../runtime/codecs").OneOfCodec<"match" | "1" | "2" | "3" | "4" | "5" | "6" | "7" | "8" | "none">;
83
- close: import("../../runtime/codecs").OneOfCodec<"auto" | "confirm">;
84
- presets: import("../../runtime/codecs").JsonCodec<import("./contract").DatePickerPreset[]>;
85
- presetsPosition: import("../../runtime/codecs").OneOfCodec<"bottom" | "left" | "right" | "top">;
86
- preset: import("../../runtime/codecs").StringCodec;
87
- presetName: import("../../runtime/codecs").StringCodec;
88
- triggerClass: import("../../runtime/codecs").StringCodec;
89
- inputClass: import("../../runtime/codecs").StringCodec;
90
- popoverClass: import("../../runtime/codecs").StringCodec;
91
- calendarClass: import("../../runtime/codecs").StringCodec;
92
- presetsClass: import("../../runtime/codecs").StringCodec;
93
- presetClass: import("../../runtime/codecs").StringCodec;
94
- class: import("../../runtime/codecs").StringCodec;
95
- form: import("../../runtime/codecs").StringCodec;
96
- }>>;
97
- generations: Readonly<Record<string, number>>;
98
- }>) => Record<string, never>;
99
- projectEach?: (snapshot: Readonly<{
100
- value: import("../..").MachineStateValue;
101
- tags: readonly string[];
102
- context: Readonly<DatePickerContext>;
103
- props: Readonly<import("../..").SchemaToProps<{
104
- name: import("../../runtime/codecs").StringCodec;
105
- value: import("../../runtime/codecs").StringCodec;
106
- startName: import("../../runtime/codecs").StringCodec;
107
- endName: import("../../runtime/codecs").StringCodec;
108
- mode: import("../../runtime/codecs").OneOfCodec<"single" | "range">;
109
- placeholder: import("../../runtime/codecs").StringCodec;
110
- min: import("../../runtime/codecs").StringCodec;
111
- max: import("../../runtime/codecs").StringCodec;
112
- today: import("../../runtime/codecs").StringCodec;
113
- openTo: import("../../runtime/codecs").StringCodec;
114
- forceOpenTo: import("../../runtime/codecs").BoolCodec;
115
- months: import("../../runtime/codecs").NumberCodec;
116
- firstDayOfWeek: import("../../runtime/codecs").NumberCodec;
117
- locale: import("../../runtime/codecs").StringCodec;
118
- format: import("../../runtime/codecs").StringCodec;
119
- rangeSeparator: import("../../runtime/codecs").StringCodec;
120
- showOutsideDays: import("../../runtime/codecs").BoolCodec;
121
- showWeekNumbers: import("../../runtime/codecs").BoolCodec;
122
- fixedWeeks: import("../../runtime/codecs").BoolCodec;
123
- selectableHeader: import("../../runtime/codecs").BoolCodec;
124
- withToday: import("../../runtime/codecs").BoolCodec;
125
- clearable: import("../../runtime/codecs").BoolCodec;
126
- disabled: import("../../runtime/codecs").BoolCodec;
127
- readonly: import("../../runtime/codecs").BoolCodec;
128
- required: import("../../runtime/codecs").BoolCodec;
129
- invalid: import("../../runtime/codecs").BoolCodec;
130
- side: import("../../runtime/codecs").OneOfCodec<"bottom" | "left" | "right" | "top">;
131
- align: import("../../runtime/codecs").OneOfCodec<"end" | "center" | "start">;
132
- offset: import("../../runtime/codecs").NumberCodec;
133
- gap: import("../../runtime/codecs").NumberCodec;
134
- variant: import("../../runtime/codecs").OneOfCodec<"enhanced" | "native">;
135
- color: import("../../runtime/codecs").OneOfCodec<"accent" | "neutral">;
136
- radius: import("../../runtime/codecs").OneOfCodec<"none" | "xs" | "sm" | "md" | "lg" | "full">;
137
- surface: import("../../runtime/codecs").OneOfCodec<"inherit" | "0" | "1" | "2" | "3" | "4" | "5" | "6" | "7" | "8" | "+1" | "+2" | "+3" | "+4" | "+5" | "+6" | "+7" | "+8">;
138
- elevation: import("../../runtime/codecs").OneOfCodec<"match" | "1" | "2" | "3" | "4" | "5" | "6" | "7" | "8" | "none">;
139
- close: import("../../runtime/codecs").OneOfCodec<"auto" | "confirm">;
140
- presets: import("../../runtime/codecs").JsonCodec<import("./contract").DatePickerPreset[]>;
141
- presetsPosition: import("../../runtime/codecs").OneOfCodec<"bottom" | "left" | "right" | "top">;
142
- preset: import("../../runtime/codecs").StringCodec;
143
- presetName: import("../../runtime/codecs").StringCodec;
144
- triggerClass: import("../../runtime/codecs").StringCodec;
145
- inputClass: import("../../runtime/codecs").StringCodec;
146
- popoverClass: import("../../runtime/codecs").StringCodec;
147
- calendarClass: import("../../runtime/codecs").StringCodec;
148
- presetsClass: import("../../runtime/codecs").StringCodec;
149
- presetClass: import("../../runtime/codecs").StringCodec;
150
- class: import("../../runtime/codecs").StringCodec;
151
- form: import("../../runtime/codecs").StringCodec;
152
- }>>;
153
- generations: Readonly<Record<string, number>>;
154
- }>) => readonly Record<string, never>[];
155
- }>, Readonly<{
42
+ sends: {
43
+ close: () => {
44
+ type: string;
45
+ };
46
+ };
47
+ }, {
156
48
  name: "closing";
157
49
  state: string;
50
+ project: () => {};
158
51
  onDone: string;
159
52
  onError: string;
160
- required?: boolean;
161
- sends?: Record<string, import("../..").TransitionEventCreator>;
162
- project?: (snapshot: Readonly<{
163
- value: import("../..").MachineStateValue;
164
- tags: readonly string[];
165
- context: Readonly<DatePickerContext>;
166
- props: Readonly<import("../..").SchemaToProps<{
167
- name: import("../../runtime/codecs").StringCodec;
168
- value: import("../../runtime/codecs").StringCodec;
169
- startName: import("../../runtime/codecs").StringCodec;
170
- endName: import("../../runtime/codecs").StringCodec;
171
- mode: import("../../runtime/codecs").OneOfCodec<"single" | "range">;
172
- placeholder: import("../../runtime/codecs").StringCodec;
173
- min: import("../../runtime/codecs").StringCodec;
174
- max: import("../../runtime/codecs").StringCodec;
175
- today: import("../../runtime/codecs").StringCodec;
176
- openTo: import("../../runtime/codecs").StringCodec;
177
- forceOpenTo: import("../../runtime/codecs").BoolCodec;
178
- months: import("../../runtime/codecs").NumberCodec;
179
- firstDayOfWeek: import("../../runtime/codecs").NumberCodec;
180
- locale: import("../../runtime/codecs").StringCodec;
181
- format: import("../../runtime/codecs").StringCodec;
182
- rangeSeparator: import("../../runtime/codecs").StringCodec;
183
- showOutsideDays: import("../../runtime/codecs").BoolCodec;
184
- showWeekNumbers: import("../../runtime/codecs").BoolCodec;
185
- fixedWeeks: import("../../runtime/codecs").BoolCodec;
186
- selectableHeader: import("../../runtime/codecs").BoolCodec;
187
- withToday: import("../../runtime/codecs").BoolCodec;
188
- clearable: import("../../runtime/codecs").BoolCodec;
189
- disabled: import("../../runtime/codecs").BoolCodec;
190
- readonly: import("../../runtime/codecs").BoolCodec;
191
- required: import("../../runtime/codecs").BoolCodec;
192
- invalid: import("../../runtime/codecs").BoolCodec;
193
- side: import("../../runtime/codecs").OneOfCodec<"bottom" | "left" | "right" | "top">;
194
- align: import("../../runtime/codecs").OneOfCodec<"end" | "center" | "start">;
195
- offset: import("../../runtime/codecs").NumberCodec;
196
- gap: import("../../runtime/codecs").NumberCodec;
197
- variant: import("../../runtime/codecs").OneOfCodec<"enhanced" | "native">;
198
- color: import("../../runtime/codecs").OneOfCodec<"accent" | "neutral">;
199
- radius: import("../../runtime/codecs").OneOfCodec<"none" | "xs" | "sm" | "md" | "lg" | "full">;
200
- surface: import("../../runtime/codecs").OneOfCodec<"inherit" | "0" | "1" | "2" | "3" | "4" | "5" | "6" | "7" | "8" | "+1" | "+2" | "+3" | "+4" | "+5" | "+6" | "+7" | "+8">;
201
- elevation: import("../../runtime/codecs").OneOfCodec<"match" | "1" | "2" | "3" | "4" | "5" | "6" | "7" | "8" | "none">;
202
- close: import("../../runtime/codecs").OneOfCodec<"auto" | "confirm">;
203
- presets: import("../../runtime/codecs").JsonCodec<import("./contract").DatePickerPreset[]>;
204
- presetsPosition: import("../../runtime/codecs").OneOfCodec<"bottom" | "left" | "right" | "top">;
205
- preset: import("../../runtime/codecs").StringCodec;
206
- presetName: import("../../runtime/codecs").StringCodec;
207
- triggerClass: import("../../runtime/codecs").StringCodec;
208
- inputClass: import("../../runtime/codecs").StringCodec;
209
- popoverClass: import("../../runtime/codecs").StringCodec;
210
- calendarClass: import("../../runtime/codecs").StringCodec;
211
- presetsClass: import("../../runtime/codecs").StringCodec;
212
- presetClass: import("../../runtime/codecs").StringCodec;
213
- class: import("../../runtime/codecs").StringCodec;
214
- form: import("../../runtime/codecs").StringCodec;
215
- }>>;
216
- generations: Readonly<Record<string, number>>;
217
- }>) => Record<string, never>;
218
- projectEach?: (snapshot: Readonly<{
219
- value: import("../..").MachineStateValue;
220
- tags: readonly string[];
221
- context: Readonly<DatePickerContext>;
222
- props: Readonly<import("../..").SchemaToProps<{
223
- name: import("../../runtime/codecs").StringCodec;
224
- value: import("../../runtime/codecs").StringCodec;
225
- startName: import("../../runtime/codecs").StringCodec;
226
- endName: import("../../runtime/codecs").StringCodec;
227
- mode: import("../../runtime/codecs").OneOfCodec<"single" | "range">;
228
- placeholder: import("../../runtime/codecs").StringCodec;
229
- min: import("../../runtime/codecs").StringCodec;
230
- max: import("../../runtime/codecs").StringCodec;
231
- today: import("../../runtime/codecs").StringCodec;
232
- openTo: import("../../runtime/codecs").StringCodec;
233
- forceOpenTo: import("../../runtime/codecs").BoolCodec;
234
- months: import("../../runtime/codecs").NumberCodec;
235
- firstDayOfWeek: import("../../runtime/codecs").NumberCodec;
236
- locale: import("../../runtime/codecs").StringCodec;
237
- format: import("../../runtime/codecs").StringCodec;
238
- rangeSeparator: import("../../runtime/codecs").StringCodec;
239
- showOutsideDays: import("../../runtime/codecs").BoolCodec;
240
- showWeekNumbers: import("../../runtime/codecs").BoolCodec;
241
- fixedWeeks: import("../../runtime/codecs").BoolCodec;
242
- selectableHeader: import("../../runtime/codecs").BoolCodec;
243
- withToday: import("../../runtime/codecs").BoolCodec;
244
- clearable: import("../../runtime/codecs").BoolCodec;
245
- disabled: import("../../runtime/codecs").BoolCodec;
246
- readonly: import("../../runtime/codecs").BoolCodec;
247
- required: import("../../runtime/codecs").BoolCodec;
248
- invalid: import("../../runtime/codecs").BoolCodec;
249
- side: import("../../runtime/codecs").OneOfCodec<"bottom" | "left" | "right" | "top">;
250
- align: import("../../runtime/codecs").OneOfCodec<"end" | "center" | "start">;
251
- offset: import("../../runtime/codecs").NumberCodec;
252
- gap: import("../../runtime/codecs").NumberCodec;
253
- variant: import("../../runtime/codecs").OneOfCodec<"enhanced" | "native">;
254
- color: import("../../runtime/codecs").OneOfCodec<"accent" | "neutral">;
255
- radius: import("../../runtime/codecs").OneOfCodec<"none" | "xs" | "sm" | "md" | "lg" | "full">;
256
- surface: import("../../runtime/codecs").OneOfCodec<"inherit" | "0" | "1" | "2" | "3" | "4" | "5" | "6" | "7" | "8" | "+1" | "+2" | "+3" | "+4" | "+5" | "+6" | "+7" | "+8">;
257
- elevation: import("../../runtime/codecs").OneOfCodec<"match" | "1" | "2" | "3" | "4" | "5" | "6" | "7" | "8" | "none">;
258
- close: import("../../runtime/codecs").OneOfCodec<"auto" | "confirm">;
259
- presets: import("../../runtime/codecs").JsonCodec<import("./contract").DatePickerPreset[]>;
260
- presetsPosition: import("../../runtime/codecs").OneOfCodec<"bottom" | "left" | "right" | "top">;
261
- preset: import("../../runtime/codecs").StringCodec;
262
- presetName: import("../../runtime/codecs").StringCodec;
263
- triggerClass: import("../../runtime/codecs").StringCodec;
264
- inputClass: import("../../runtime/codecs").StringCodec;
265
- popoverClass: import("../../runtime/codecs").StringCodec;
266
- calendarClass: import("../../runtime/codecs").StringCodec;
267
- presetsClass: import("../../runtime/codecs").StringCodec;
268
- presetClass: import("../../runtime/codecs").StringCodec;
269
- class: import("../../runtime/codecs").StringCodec;
270
- form: import("../../runtime/codecs").StringCodec;
271
- }>>;
272
- generations: Readonly<Record<string, number>>;
273
- }>) => readonly Record<string, never>[];
274
- }>, Readonly<{
53
+ sends: {
54
+ open: () => {
55
+ type: string;
56
+ };
57
+ };
58
+ }, {
275
59
  name: "parsing";
276
60
  state: string;
277
- onDone: string;
278
- onError: string;
279
- required?: boolean;
280
- sends?: Record<string, import("../..").TransitionEventCreator>;
281
- project?: (snapshot: Readonly<{
61
+ project: (snapshot: Readonly<{
282
62
  value: import("../..").MachineStateValue;
283
63
  tags: readonly string[];
284
64
  context: Readonly<DatePickerContext>;
@@ -336,72 +116,22 @@ declare const datePickerHooks: readonly [Readonly<{
336
116
  }>) => {
337
117
  input: string;
338
118
  };
339
- projectEach?: (snapshot: Readonly<{
340
- value: import("../..").MachineStateValue;
341
- tags: readonly string[];
342
- context: Readonly<DatePickerContext>;
343
- props: Readonly<import("../..").SchemaToProps<{
344
- name: import("../../runtime/codecs").StringCodec;
345
- value: import("../../runtime/codecs").StringCodec;
346
- startName: import("../../runtime/codecs").StringCodec;
347
- endName: import("../../runtime/codecs").StringCodec;
348
- mode: import("../../runtime/codecs").OneOfCodec<"single" | "range">;
349
- placeholder: import("../../runtime/codecs").StringCodec;
350
- min: import("../../runtime/codecs").StringCodec;
351
- max: import("../../runtime/codecs").StringCodec;
352
- today: import("../../runtime/codecs").StringCodec;
353
- openTo: import("../../runtime/codecs").StringCodec;
354
- forceOpenTo: import("../../runtime/codecs").BoolCodec;
355
- months: import("../../runtime/codecs").NumberCodec;
356
- firstDayOfWeek: import("../../runtime/codecs").NumberCodec;
357
- locale: import("../../runtime/codecs").StringCodec;
358
- format: import("../../runtime/codecs").StringCodec;
359
- rangeSeparator: import("../../runtime/codecs").StringCodec;
360
- showOutsideDays: import("../../runtime/codecs").BoolCodec;
361
- showWeekNumbers: import("../../runtime/codecs").BoolCodec;
362
- fixedWeeks: import("../../runtime/codecs").BoolCodec;
363
- selectableHeader: import("../../runtime/codecs").BoolCodec;
364
- withToday: import("../../runtime/codecs").BoolCodec;
365
- clearable: import("../../runtime/codecs").BoolCodec;
366
- disabled: import("../../runtime/codecs").BoolCodec;
367
- readonly: import("../../runtime/codecs").BoolCodec;
368
- required: import("../../runtime/codecs").BoolCodec;
369
- invalid: import("../../runtime/codecs").BoolCodec;
370
- side: import("../../runtime/codecs").OneOfCodec<"bottom" | "left" | "right" | "top">;
371
- align: import("../../runtime/codecs").OneOfCodec<"end" | "center" | "start">;
372
- offset: import("../../runtime/codecs").NumberCodec;
373
- gap: import("../../runtime/codecs").NumberCodec;
374
- variant: import("../../runtime/codecs").OneOfCodec<"enhanced" | "native">;
375
- color: import("../../runtime/codecs").OneOfCodec<"accent" | "neutral">;
376
- radius: import("../../runtime/codecs").OneOfCodec<"none" | "xs" | "sm" | "md" | "lg" | "full">;
377
- surface: import("../../runtime/codecs").OneOfCodec<"inherit" | "0" | "1" | "2" | "3" | "4" | "5" | "6" | "7" | "8" | "+1" | "+2" | "+3" | "+4" | "+5" | "+6" | "+7" | "+8">;
378
- elevation: import("../../runtime/codecs").OneOfCodec<"match" | "1" | "2" | "3" | "4" | "5" | "6" | "7" | "8" | "none">;
379
- close: import("../../runtime/codecs").OneOfCodec<"auto" | "confirm">;
380
- presets: import("../../runtime/codecs").JsonCodec<import("./contract").DatePickerPreset[]>;
381
- presetsPosition: import("../../runtime/codecs").OneOfCodec<"bottom" | "left" | "right" | "top">;
382
- preset: import("../../runtime/codecs").StringCodec;
383
- presetName: import("../../runtime/codecs").StringCodec;
384
- triggerClass: import("../../runtime/codecs").StringCodec;
385
- inputClass: import("../../runtime/codecs").StringCodec;
386
- popoverClass: import("../../runtime/codecs").StringCodec;
387
- calendarClass: import("../../runtime/codecs").StringCodec;
388
- presetsClass: import("../../runtime/codecs").StringCodec;
389
- presetClass: import("../../runtime/codecs").StringCodec;
390
- class: import("../../runtime/codecs").StringCodec;
391
- form: import("../../runtime/codecs").StringCodec;
392
- }>>;
393
- generations: Readonly<Record<string, number>>;
394
- }>) => readonly {
395
- input: string;
396
- }[];
397
- }>, Readonly<{
398
- name: "selecting";
399
- state: string;
400
119
  onDone: string;
401
120
  onError: string;
402
- required?: boolean;
403
- sends?: Record<string, import("../..").TransitionEventCreator>;
404
- project?: (snapshot: Readonly<{
121
+ sends: {
122
+ select: (value: string) => {
123
+ type: string;
124
+ value: string;
125
+ source: string;
126
+ };
127
+ clear: () => {
128
+ type: string;
129
+ };
130
+ };
131
+ }, {
132
+ name: "selecting";
133
+ state: string;
134
+ project: (snapshot: Readonly<{
405
135
  value: import("../..").MachineStateValue;
406
136
  tags: readonly string[];
407
137
  context: Readonly<DatePickerContext>;
@@ -462,68 +192,22 @@ declare const datePickerHooks: readonly [Readonly<{
462
192
  source: SelectionSource;
463
193
  preset: string;
464
194
  };
465
- projectEach?: (snapshot: Readonly<{
466
- value: import("../..").MachineStateValue;
467
- tags: readonly string[];
468
- context: Readonly<DatePickerContext>;
469
- props: Readonly<import("../..").SchemaToProps<{
470
- name: import("../../runtime/codecs").StringCodec;
471
- value: import("../../runtime/codecs").StringCodec;
472
- startName: import("../../runtime/codecs").StringCodec;
473
- endName: import("../../runtime/codecs").StringCodec;
474
- mode: import("../../runtime/codecs").OneOfCodec<"single" | "range">;
475
- placeholder: import("../../runtime/codecs").StringCodec;
476
- min: import("../../runtime/codecs").StringCodec;
477
- max: import("../../runtime/codecs").StringCodec;
478
- today: import("../../runtime/codecs").StringCodec;
479
- openTo: import("../../runtime/codecs").StringCodec;
480
- forceOpenTo: import("../../runtime/codecs").BoolCodec;
481
- months: import("../../runtime/codecs").NumberCodec;
482
- firstDayOfWeek: import("../../runtime/codecs").NumberCodec;
483
- locale: import("../../runtime/codecs").StringCodec;
484
- format: import("../../runtime/codecs").StringCodec;
485
- rangeSeparator: import("../../runtime/codecs").StringCodec;
486
- showOutsideDays: import("../../runtime/codecs").BoolCodec;
487
- showWeekNumbers: import("../../runtime/codecs").BoolCodec;
488
- fixedWeeks: import("../../runtime/codecs").BoolCodec;
489
- selectableHeader: import("../../runtime/codecs").BoolCodec;
490
- withToday: import("../../runtime/codecs").BoolCodec;
491
- clearable: import("../../runtime/codecs").BoolCodec;
492
- disabled: import("../../runtime/codecs").BoolCodec;
493
- readonly: import("../../runtime/codecs").BoolCodec;
494
- required: import("../../runtime/codecs").BoolCodec;
495
- invalid: import("../../runtime/codecs").BoolCodec;
496
- side: import("../../runtime/codecs").OneOfCodec<"bottom" | "left" | "right" | "top">;
497
- align: import("../../runtime/codecs").OneOfCodec<"end" | "center" | "start">;
498
- offset: import("../../runtime/codecs").NumberCodec;
499
- gap: import("../../runtime/codecs").NumberCodec;
500
- variant: import("../../runtime/codecs").OneOfCodec<"enhanced" | "native">;
501
- color: import("../../runtime/codecs").OneOfCodec<"accent" | "neutral">;
502
- radius: import("../../runtime/codecs").OneOfCodec<"none" | "xs" | "sm" | "md" | "lg" | "full">;
503
- surface: import("../../runtime/codecs").OneOfCodec<"inherit" | "0" | "1" | "2" | "3" | "4" | "5" | "6" | "7" | "8" | "+1" | "+2" | "+3" | "+4" | "+5" | "+6" | "+7" | "+8">;
504
- elevation: import("../../runtime/codecs").OneOfCodec<"match" | "1" | "2" | "3" | "4" | "5" | "6" | "7" | "8" | "none">;
505
- close: import("../../runtime/codecs").OneOfCodec<"auto" | "confirm">;
506
- presets: import("../../runtime/codecs").JsonCodec<import("./contract").DatePickerPreset[]>;
507
- presetsPosition: import("../../runtime/codecs").OneOfCodec<"bottom" | "left" | "right" | "top">;
508
- preset: import("../../runtime/codecs").StringCodec;
509
- presetName: import("../../runtime/codecs").StringCodec;
510
- triggerClass: import("../../runtime/codecs").StringCodec;
511
- inputClass: import("../../runtime/codecs").StringCodec;
512
- popoverClass: import("../../runtime/codecs").StringCodec;
513
- calendarClass: import("../../runtime/codecs").StringCodec;
514
- presetsClass: import("../../runtime/codecs").StringCodec;
515
- presetClass: import("../../runtime/codecs").StringCodec;
516
- class: import("../../runtime/codecs").StringCodec;
517
- form: import("../../runtime/codecs").StringCodec;
518
- }>>;
519
- generations: Readonly<Record<string, number>>;
520
- }>) => readonly {
521
- value: string;
522
- previousValue: string;
523
- source: SelectionSource;
524
- preset: string;
525
- }[];
526
- }>];
195
+ onDone: string;
196
+ onError: string;
197
+ sends: {
198
+ select: (value: string) => {
199
+ type: string;
200
+ value: string;
201
+ source: string;
202
+ };
203
+ clear: () => {
204
+ type: string;
205
+ };
206
+ close: () => {
207
+ type: string;
208
+ };
209
+ };
210
+ }];
527
211
  declare const createDatePickerMachine: ({ props, context, effects, }: CreateDatePickerMachineOptions) => Machine<DatePickerContext, DatePickerProps>;
528
212
  export { createDatePickerMachine, datePickerHooks };
529
213
  export type { CreateDatePickerMachineOptions, DatePickerContext, DatePickerMachineEffects, SelectionSource, };
@@ -1,8 +1,11 @@
1
- import type Alpine from 'alpinejs';
2
- import { type AlpineMachine, type TrellisAlpineComponent } from '../../runtime';
1
+ import { type AlpineMachine, type TransitionForHook, type TrellisAlpineComponent } from '../../runtime';
3
2
  import { type BindingObject } from '../../runtime/merge-bindings';
4
3
  import { type DropdownProps } from './contract';
5
4
  import { dropdownHooks, type DropdownContext } from './machine';
5
+ type DropdownTransitionName = (typeof dropdownHooks)[number]['name'];
6
+ type DropdownTransition<TName extends DropdownTransitionName = DropdownTransitionName> = TransitionForHook<Extract<(typeof dropdownHooks)[number], {
7
+ name: TName;
8
+ }>, HTMLElement>;
6
9
  /**
7
10
  * Public Alpine API for `ui.dropdown`.
8
11
  *
@@ -25,6 +28,6 @@ type DropdownData = AlpineMachine<DropdownContext, DropdownProps, typeof dropdow
25
28
  destroy(): void;
26
29
  };
27
30
  declare const UiDropdown: () => TrellisAlpineComponent<DropdownData>;
28
- declare const registerDropdown: (AlpineInstance: Alpine.Alpine) => void;
31
+ declare const registerDropdown: import("../../runtime").AlpineDataRegistrar;
29
32
  export { registerDropdown, UiDropdown };
30
- export type { DropdownData, UiDropdownApi };
33
+ export type { DropdownData, DropdownTransition, UiDropdownApi };
@@ -13,81 +13,19 @@ type CreateDropdownMachineOptions = {
13
13
  props: DropdownProps;
14
14
  effects: DropdownMachineEffects;
15
15
  };
16
- declare const dropdownHooks: readonly [Readonly<{
16
+ declare const dropdownHooks: readonly [{
17
17
  name: "opening";
18
18
  state: string;
19
+ project: () => {};
19
20
  onDone: string;
20
21
  onError: string;
21
- required?: boolean;
22
- sends?: Record<string, import("../..").TransitionEventCreator>;
23
- project?: (snapshot: Readonly<{
24
- value: import("../..").MachineStateValue;
25
- tags: readonly string[];
26
- context: Readonly<DropdownContext>;
27
- props: Readonly<import("../..").SchemaToProps<{
28
- side: import("../../runtime/codecs").OneOfCodec<"bottom" | "left" | "right" | "top">;
29
- align: import("../../runtime/codecs").OneOfCodec<"end" | "center" | "start">;
30
- offset: import("../../runtime/codecs").NumberCodec;
31
- gap: import("../../runtime/codecs").NumberCodec;
32
- open: import("../../runtime/codecs").BoolCodec;
33
- disabled: import("../../runtime/codecs").BoolCodec;
34
- class: import("../../runtime/codecs").StringCodec;
35
- }>>;
36
- generations: Readonly<Record<string, number>>;
37
- }>) => Record<string, never>;
38
- projectEach?: (snapshot: Readonly<{
39
- value: import("../..").MachineStateValue;
40
- tags: readonly string[];
41
- context: Readonly<DropdownContext>;
42
- props: Readonly<import("../..").SchemaToProps<{
43
- side: import("../../runtime/codecs").OneOfCodec<"bottom" | "left" | "right" | "top">;
44
- align: import("../../runtime/codecs").OneOfCodec<"end" | "center" | "start">;
45
- offset: import("../../runtime/codecs").NumberCodec;
46
- gap: import("../../runtime/codecs").NumberCodec;
47
- open: import("../../runtime/codecs").BoolCodec;
48
- disabled: import("../../runtime/codecs").BoolCodec;
49
- class: import("../../runtime/codecs").StringCodec;
50
- }>>;
51
- generations: Readonly<Record<string, number>>;
52
- }>) => readonly Record<string, never>[];
53
- }>, Readonly<{
22
+ }, {
54
23
  name: "closing";
55
24
  state: string;
25
+ project: () => {};
56
26
  onDone: string;
57
27
  onError: string;
58
- required?: boolean;
59
- sends?: Record<string, import("../..").TransitionEventCreator>;
60
- project?: (snapshot: Readonly<{
61
- value: import("../..").MachineStateValue;
62
- tags: readonly string[];
63
- context: Readonly<DropdownContext>;
64
- props: Readonly<import("../..").SchemaToProps<{
65
- side: import("../../runtime/codecs").OneOfCodec<"bottom" | "left" | "right" | "top">;
66
- align: import("../../runtime/codecs").OneOfCodec<"end" | "center" | "start">;
67
- offset: import("../../runtime/codecs").NumberCodec;
68
- gap: import("../../runtime/codecs").NumberCodec;
69
- open: import("../../runtime/codecs").BoolCodec;
70
- disabled: import("../../runtime/codecs").BoolCodec;
71
- class: import("../../runtime/codecs").StringCodec;
72
- }>>;
73
- generations: Readonly<Record<string, number>>;
74
- }>) => Record<string, never>;
75
- projectEach?: (snapshot: Readonly<{
76
- value: import("../..").MachineStateValue;
77
- tags: readonly string[];
78
- context: Readonly<DropdownContext>;
79
- props: Readonly<import("../..").SchemaToProps<{
80
- side: import("../../runtime/codecs").OneOfCodec<"bottom" | "left" | "right" | "top">;
81
- align: import("../../runtime/codecs").OneOfCodec<"end" | "center" | "start">;
82
- offset: import("../../runtime/codecs").NumberCodec;
83
- gap: import("../../runtime/codecs").NumberCodec;
84
- open: import("../../runtime/codecs").BoolCodec;
85
- disabled: import("../../runtime/codecs").BoolCodec;
86
- class: import("../../runtime/codecs").StringCodec;
87
- }>>;
88
- generations: Readonly<Record<string, number>>;
89
- }>) => readonly Record<string, never>[];
90
- }>];
28
+ }];
91
29
  declare const createDropdownMachine: ({ props, effects, }: CreateDropdownMachineOptions) => Machine<DropdownContext, DropdownProps>;
92
30
  export { createDropdownMachine, dropdownHooks };
93
31
  export type { CreateDropdownMachineOptions, DropdownContext, DropdownFocus, DropdownMachineEffects, };
@@ -1,4 +1,3 @@
1
- import type Alpine from 'alpinejs';
2
1
  import { type AlpineMachine, type TrellisAlpineComponent } from '../../runtime';
3
2
  import { type FieldRuntimeProps } from './contract';
4
3
  import { fieldHooks, type FieldContext } from './machine';
@@ -7,5 +6,5 @@ type FieldData = AlpineMachine<FieldContext, FieldRuntimeProps, typeof fieldHook
7
6
  destroy(): void;
8
7
  };
9
8
  declare const UiField: () => TrellisAlpineComponent<FieldData>;
10
- declare const registerField: (AlpineInstance: Alpine.Alpine) => void;
9
+ declare const registerField: import("../../runtime").AlpineDataRegistrar;
11
10
  export { registerField, UiField };
@@ -1,7 +1,10 @@
1
- import type Alpine from 'alpinejs';
2
- import { type AlpineMachine, type TrellisAlpineComponent } from '../../runtime';
1
+ import { type AlpineMachine, type TransitionForHook, type TrellisAlpineComponent } from '../../runtime';
3
2
  import { type FileUploadProps } from './contract';
4
3
  import { fileUploadHooks, type FileTransferStatus, type FileUploadContext, type FileUploadMetadata, type FileUploadRecord } from './machine';
4
+ type FileUploadTransitionName = (typeof fileUploadHooks)[number]['name'];
5
+ type FileUploadTransition<TName extends FileUploadTransitionName = FileUploadTransitionName> = TransitionForHook<Extract<(typeof fileUploadHooks)[number], {
6
+ name: TName;
7
+ }>, HTMLElement>;
5
8
  /**
6
9
  * Public Alpine API for `ui.file-upload`.
7
10
  *
@@ -34,6 +37,6 @@ type FileUploadData = AlpineMachine<FileUploadContext, FileUploadProps, typeof f
34
37
  destroy(): void;
35
38
  };
36
39
  declare const UiFileUpload: () => TrellisAlpineComponent<FileUploadData>;
37
- declare const registerFileUpload: (AlpineInstance: Alpine.Alpine) => void;
40
+ declare const registerFileUpload: import("../../runtime").AlpineDataRegistrar;
38
41
  export { registerFileUpload, UiFileUpload };
39
- export type { FileTransferStatus, FileUploadData, FileUploadMetadata, FileUploadRecord, UiFileUploadApi };
42
+ export type { FileTransferStatus, FileUploadData, FileUploadMetadata, FileUploadRecord, FileUploadTransition, UiFileUploadApi, };