@vireo-ai/trellis-ui 0.1.21 → 0.1.23

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 (189) hide show
  1. package/package.json +37 -11
  2. package/packages/client/types/assets/bridge.d.ts +27 -0
  3. package/packages/client/types/assets/full-runtime.generated.d.ts +2 -0
  4. package/packages/client/types/capabilities/calendar.d.ts +3 -0
  5. package/packages/client/types/capabilities/motion.d.ts +5 -0
  6. package/packages/client/types/capabilities/resizable.d.ts +5 -0
  7. package/packages/client/types/capabilities/sortable.d.ts +6 -0
  8. package/packages/client/types/components/accordion/entry.generated.d.ts +5 -0
  9. package/packages/client/types/components/app/contract.d.ts +8 -8
  10. package/packages/client/types/components/badge/contract.d.ts +2 -2
  11. package/packages/client/types/components/box/contract.d.ts +9 -9
  12. package/packages/client/types/components/button/contract.d.ts +3 -3
  13. package/packages/client/types/components/button/entry.generated.d.ts +4 -0
  14. package/packages/client/types/components/card/contract.d.ts +3 -3
  15. package/packages/client/types/components/checkbox/entry.generated.d.ts +5 -0
  16. package/packages/client/types/components/container/contract.d.ts +5 -5
  17. package/packages/client/types/components/date-picker/contract.d.ts +6 -6
  18. package/packages/client/types/components/date-picker/entry.generated.d.ts +5 -0
  19. package/packages/client/types/components/date-picker/index.d.ts +0 -1
  20. package/packages/client/types/components/date-picker/machine.d.ts +40 -40
  21. package/packages/client/types/components/dropdown/contract.d.ts +2 -2
  22. package/packages/client/types/components/dropdown/entry.generated.d.ts +5 -0
  23. package/packages/client/types/components/dropdown/machine.d.ts +8 -8
  24. package/packages/client/types/components/entry.generated.d.ts +28 -0
  25. package/packages/client/types/components/field/entry.generated.d.ts +5 -0
  26. package/packages/client/types/components/file-upload/contract.d.ts +1 -1
  27. package/packages/client/types/components/file-upload/entry.generated.d.ts +5 -0
  28. package/packages/client/types/components/file-upload/machine.d.ts +2 -2
  29. package/packages/client/types/components/flex/contract.d.ts +7 -7
  30. package/packages/client/types/components/frame/contract.d.ts +6 -6
  31. package/packages/client/types/components/grid/contract.d.ts +11 -11
  32. package/packages/client/types/components/image/contract.d.ts +2 -2
  33. package/packages/client/types/components/input/entry.generated.d.ts +5 -0
  34. package/packages/client/types/components/layout.d.ts +6 -6
  35. package/packages/client/types/components/menu/contract.d.ts +3 -3
  36. package/packages/client/types/components/modal/contract.d.ts +3 -3
  37. package/packages/client/types/components/modal/entry.generated.d.ts +5 -0
  38. package/packages/client/types/components/modal/machine.d.ts +12 -12
  39. package/packages/client/types/components/panels/contract.d.ts +1 -1
  40. package/packages/client/types/components/panels/entry.generated.d.ts +5 -0
  41. package/packages/client/types/components/radio/entry.generated.d.ts +5 -0
  42. package/packages/client/types/components/scroll-area/entry.generated.d.ts +5 -0
  43. package/packages/client/types/components/section/contract.d.ts +4 -4
  44. package/packages/client/types/components/select/contract.d.ts +4 -4
  45. package/packages/client/types/components/select/entry.generated.d.ts +5 -0
  46. package/packages/client/types/components/select/machine.d.ts +32 -32
  47. package/packages/client/types/components/sidebar/contract.d.ts +5 -5
  48. package/packages/client/types/components/sidebar/entry.generated.d.ts +5 -0
  49. package/packages/client/types/components/sidebar/index.d.ts +1 -1
  50. package/packages/client/types/components/slider/entry.generated.d.ts +5 -0
  51. package/packages/client/types/components/stack/contract.d.ts +7 -7
  52. package/packages/client/types/components/switch/entry.generated.d.ts +5 -0
  53. package/packages/client/types/components/table/contract.d.ts +9 -9
  54. package/packages/client/types/components/table/entry.generated.d.ts +5 -0
  55. package/packages/client/types/components/tabs/contract.d.ts +1 -1
  56. package/packages/client/types/components/tabs/entry.generated.d.ts +5 -0
  57. package/packages/client/types/components/tabs/machine.d.ts +2 -2
  58. package/packages/client/types/components/toast/contract.d.ts +2 -2
  59. package/packages/client/types/components/toast/entry.generated.d.ts +5 -0
  60. package/packages/client/types/components/toast/machine.d.ts +8 -8
  61. package/packages/client/types/core.d.ts +10 -0
  62. package/packages/client/types/directives/sortable.d.ts +1 -1
  63. package/packages/client/types/index.d.ts +3 -11
  64. package/packages/client/types/motion/animate.d.ts +1 -1
  65. package/packages/client/types/motion/controller.d.ts +1 -1
  66. package/packages/client/types/motion/index.d.ts +1 -1
  67. package/packages/client/types/motion/owned.d.ts +1 -1
  68. package/packages/client/types/motion/plan.d.ts +1 -1
  69. package/packages/client/types/motion/recipe.d.ts +1 -1
  70. package/packages/client/types/motion/reduced-motion.d.ts +1 -1
  71. package/packages/client/types/motion/targets.d.ts +1 -6
  72. package/packages/client/types/motion/view.d.ts +1 -1
  73. package/packages/client/types/runtime/engine/stream.d.ts +9 -3
  74. package/packages/client/types/runtime/layout-participant.d.ts +9 -0
  75. package/packages/client/types/runtime/ui.d.ts +10 -4
  76. package/packages/server/trellis_ui/static/trellis_ui/assets/js/esm/bridge.js +1 -0
  77. package/packages/server/trellis_ui/static/trellis_ui/assets/js/esm/build-metadata.json +1268 -0
  78. package/packages/server/trellis_ui/static/trellis_ui/assets/js/esm/chunks/anchored-popover-BXEMsLrA.js +2 -0
  79. package/packages/server/trellis_ui/static/trellis_ui/assets/js/esm/chunks/anchored-popover-BXEMsLrA.js.map +1 -0
  80. package/packages/server/trellis_ui/static/trellis_ui/assets/js/esm/chunks/bridge-B4S_D6hV.js +2 -0
  81. package/packages/server/trellis_ui/static/trellis_ui/assets/js/esm/chunks/bridge-B4S_D6hV.js.map +1 -0
  82. package/packages/server/trellis_ui/static/trellis_ui/assets/js/esm/chunks/cally-Z6G-rzr-.js +2 -0
  83. package/packages/server/trellis_ui/static/trellis_ui/assets/js/esm/chunks/cally-Z6G-rzr-.js.map +1 -0
  84. package/packages/server/trellis_ui/static/trellis_ui/assets/js/esm/chunks/codecs-Cb1ns_47.js +2 -0
  85. package/packages/server/trellis_ui/static/trellis_ui/assets/js/esm/chunks/codecs-Cb1ns_47.js.map +1 -0
  86. package/packages/server/trellis_ui/static/trellis_ui/assets/js/esm/chunks/collection-navigation-CtNDGKcQ.js +2 -0
  87. package/packages/server/trellis_ui/static/trellis_ui/assets/js/esm/chunks/collection-navigation-CtNDGKcQ.js.map +1 -0
  88. package/packages/server/trellis_ui/static/trellis_ui/assets/js/esm/chunks/common-DAxHCzB-.js +2 -0
  89. package/packages/server/trellis_ui/static/trellis_ui/assets/js/esm/chunks/common-DAxHCzB-.js.map +1 -0
  90. package/packages/server/trellis_ui/static/trellis_ui/assets/js/esm/chunks/controlled-open-Hy4-OT-6.js +2 -0
  91. package/packages/server/trellis_ui/static/trellis_ui/assets/js/esm/chunks/controlled-open-Hy4-OT-6.js.map +1 -0
  92. package/packages/server/trellis_ui/static/trellis_ui/assets/js/esm/chunks/core-DjoX4J-6.js +2 -0
  93. package/packages/server/trellis_ui/static/trellis_ui/assets/js/esm/chunks/core-DjoX4J-6.js.map +1 -0
  94. package/packages/server/trellis_ui/static/trellis_ui/assets/js/esm/chunks/dismissable-layer-BROE-Ln2.js +2 -0
  95. package/packages/server/trellis_ui/static/trellis_ui/assets/js/esm/chunks/dismissable-layer-BROE-Ln2.js.map +1 -0
  96. package/packages/server/trellis_ui/static/trellis_ui/assets/js/esm/chunks/dom-qAeVl7dc.js +2 -0
  97. package/packages/server/trellis_ui/static/trellis_ui/assets/js/esm/chunks/dom-qAeVl7dc.js.map +1 -0
  98. package/packages/server/trellis_ui/static/trellis_ui/assets/js/esm/chunks/element-adapter-native-data-key-CW8suC9A.js +6 -0
  99. package/packages/server/trellis_ui/static/trellis_ui/assets/js/esm/chunks/element-adapter-native-data-key-CW8suC9A.js.map +1 -0
  100. package/packages/server/trellis_ui/static/trellis_ui/assets/js/esm/chunks/entry.generated-5kNpQFGr.js +2 -0
  101. package/packages/server/trellis_ui/static/trellis_ui/assets/js/esm/chunks/entry.generated-5kNpQFGr.js.map +1 -0
  102. package/packages/server/trellis_ui/static/trellis_ui/assets/js/esm/chunks/entry.generated-B85L90Qp.js +2 -0
  103. package/packages/server/trellis_ui/static/trellis_ui/assets/js/esm/chunks/entry.generated-B85L90Qp.js.map +1 -0
  104. package/packages/server/trellis_ui/static/trellis_ui/assets/js/esm/chunks/entry.generated-BGCM6LAW.js +2 -0
  105. package/packages/server/trellis_ui/static/trellis_ui/assets/js/esm/chunks/entry.generated-BGCM6LAW.js.map +1 -0
  106. package/packages/server/trellis_ui/static/trellis_ui/assets/js/esm/chunks/entry.generated-Bc-uE56r.js +2 -0
  107. package/packages/server/trellis_ui/static/trellis_ui/assets/js/esm/chunks/entry.generated-Bc-uE56r.js.map +1 -0
  108. package/packages/server/trellis_ui/static/trellis_ui/assets/js/esm/chunks/entry.generated-C-lyYGbo.js +2 -0
  109. package/packages/server/trellis_ui/static/trellis_ui/assets/js/esm/chunks/entry.generated-C-lyYGbo.js.map +1 -0
  110. package/packages/server/trellis_ui/static/trellis_ui/assets/js/esm/chunks/entry.generated-C6ldtrmy.js +2 -0
  111. package/packages/server/trellis_ui/static/trellis_ui/assets/js/esm/chunks/entry.generated-C6ldtrmy.js.map +1 -0
  112. package/packages/server/trellis_ui/static/trellis_ui/assets/js/esm/chunks/entry.generated-CPWoMIwn.js +2 -0
  113. package/packages/server/trellis_ui/static/trellis_ui/assets/js/esm/chunks/entry.generated-CPWoMIwn.js.map +1 -0
  114. package/packages/server/trellis_ui/static/trellis_ui/assets/js/esm/chunks/entry.generated-Co0bLLZE.js +2 -0
  115. package/packages/server/trellis_ui/static/trellis_ui/assets/js/esm/chunks/entry.generated-Co0bLLZE.js.map +1 -0
  116. package/packages/server/trellis_ui/static/trellis_ui/assets/js/esm/chunks/entry.generated-CtyXH8zf.js +2 -0
  117. package/packages/server/trellis_ui/static/trellis_ui/assets/js/esm/chunks/entry.generated-CtyXH8zf.js.map +1 -0
  118. package/packages/server/trellis_ui/static/trellis_ui/assets/js/esm/chunks/entry.generated-DGrOItIx.js +2 -0
  119. package/packages/server/trellis_ui/static/trellis_ui/assets/js/esm/chunks/entry.generated-DGrOItIx.js.map +1 -0
  120. package/packages/server/trellis_ui/static/trellis_ui/assets/js/esm/chunks/entry.generated-DHMRhcYF.js +2 -0
  121. package/packages/server/trellis_ui/static/trellis_ui/assets/js/esm/chunks/entry.generated-DHMRhcYF.js.map +1 -0
  122. package/packages/server/trellis_ui/static/trellis_ui/assets/js/esm/chunks/entry.generated-De12QrT5.js +3 -0
  123. package/packages/server/trellis_ui/static/trellis_ui/assets/js/esm/chunks/entry.generated-De12QrT5.js.map +1 -0
  124. package/packages/server/trellis_ui/static/trellis_ui/assets/js/esm/chunks/entry.generated-DgmqZx_W.js +2 -0
  125. package/packages/server/trellis_ui/static/trellis_ui/assets/js/esm/chunks/entry.generated-DgmqZx_W.js.map +1 -0
  126. package/packages/server/trellis_ui/static/trellis_ui/assets/js/esm/chunks/entry.generated-Dn6MRCe0.js +2 -0
  127. package/packages/server/trellis_ui/static/trellis_ui/assets/js/esm/chunks/entry.generated-Dn6MRCe0.js.map +1 -0
  128. package/packages/server/trellis_ui/static/trellis_ui/assets/js/esm/chunks/entry.generated-DoOgk6l4.js +2 -0
  129. package/packages/server/trellis_ui/static/trellis_ui/assets/js/esm/chunks/entry.generated-DoOgk6l4.js.map +1 -0
  130. package/packages/server/trellis_ui/static/trellis_ui/assets/js/esm/chunks/entry.generated-DxUOcPkU.js +2 -0
  131. package/packages/server/trellis_ui/static/trellis_ui/assets/js/esm/chunks/entry.generated-DxUOcPkU.js.map +1 -0
  132. package/packages/server/trellis_ui/static/trellis_ui/assets/js/esm/chunks/entry.generated-DyIjCOhT.js +2 -0
  133. package/packages/server/trellis_ui/static/trellis_ui/assets/js/esm/chunks/entry.generated-DyIjCOhT.js.map +1 -0
  134. package/packages/server/trellis_ui/static/trellis_ui/assets/js/esm/chunks/entry.generated-K6qKowpw.js +2 -0
  135. package/packages/server/trellis_ui/static/trellis_ui/assets/js/esm/chunks/entry.generated-K6qKowpw.js.map +1 -0
  136. package/packages/server/trellis_ui/static/trellis_ui/assets/js/esm/chunks/entry.generated-oAIExc1V.js +2 -0
  137. package/packages/server/trellis_ui/static/trellis_ui/assets/js/esm/chunks/entry.generated-oAIExc1V.js.map +1 -0
  138. package/packages/server/trellis_ui/static/trellis_ui/assets/js/esm/chunks/entry.generated-xcXw-cEl.js +2 -0
  139. package/packages/server/trellis_ui/static/trellis_ui/assets/js/esm/chunks/entry.generated-xcXw-cEl.js.map +1 -0
  140. package/packages/server/trellis_ui/static/trellis_ui/assets/js/esm/chunks/focus-scope-DtaPVNl5.js +2 -0
  141. package/packages/server/trellis_ui/static/trellis_ui/assets/js/esm/chunks/focus-scope-DtaPVNl5.js.map +1 -0
  142. package/packages/server/trellis_ui/static/trellis_ui/assets/js/esm/chunks/form-control-BkVb2Qed.js +2 -0
  143. package/packages/server/trellis_ui/static/trellis_ui/assets/js/esm/chunks/form-control-BkVb2Qed.js.map +1 -0
  144. package/packages/server/trellis_ui/static/trellis_ui/assets/js/esm/chunks/machine-CX3wFSoV.js +2 -0
  145. package/packages/server/trellis_ui/static/trellis_ui/assets/js/esm/chunks/machine-CX3wFSoV.js.map +1 -0
  146. package/packages/server/trellis_ui/static/trellis_ui/assets/js/esm/chunks/merge-bindings-C8ewA_FD.js +2 -0
  147. package/packages/server/trellis_ui/static/trellis_ui/assets/js/esm/chunks/merge-bindings-C8ewA_FD.js.map +1 -0
  148. package/packages/server/trellis_ui/static/trellis_ui/assets/js/esm/chunks/motion-Bpttk6iZ.js +3 -0
  149. package/packages/server/trellis_ui/static/trellis_ui/assets/js/esm/chunks/motion-Bpttk6iZ.js.map +1 -0
  150. package/packages/server/trellis_ui/static/trellis_ui/assets/js/esm/chunks/number-BCZdoG0B.js +2 -0
  151. package/packages/server/trellis_ui/static/trellis_ui/assets/js/esm/chunks/number-BCZdoG0B.js.map +1 -0
  152. package/packages/server/trellis_ui/static/trellis_ui/assets/js/esm/chunks/props-change-2xfsIAEN.js +2 -0
  153. package/packages/server/trellis_ui/static/trellis_ui/assets/js/esm/chunks/props-change-2xfsIAEN.js.map +1 -0
  154. package/packages/server/trellis_ui/static/trellis_ui/assets/js/esm/chunks/resizable-BixtYF9M.js +2 -0
  155. package/packages/server/trellis_ui/static/trellis_ui/assets/js/esm/chunks/resizable-BixtYF9M.js.map +1 -0
  156. package/packages/server/trellis_ui/static/trellis_ui/assets/js/esm/chunks/scroll-lock-DOw7dmi1.js +2 -0
  157. package/packages/server/trellis_ui/static/trellis_ui/assets/js/esm/chunks/scroll-lock-DOw7dmi1.js.map +1 -0
  158. package/packages/server/trellis_ui/static/trellis_ui/assets/js/esm/chunks/semantic-observer-9VxzbQBi.js +2 -0
  159. package/packages/server/trellis_ui/static/trellis_ui/assets/js/esm/chunks/semantic-observer-9VxzbQBi.js.map +1 -0
  160. package/packages/server/trellis_ui/static/trellis_ui/assets/js/esm/chunks/styles-TfvwVPGw.js +2 -0
  161. package/packages/server/trellis_ui/static/trellis_ui/assets/js/esm/chunks/styles-TfvwVPGw.js.map +1 -0
  162. package/packages/server/trellis_ui/static/trellis_ui/assets/js/esm/chunks/ui-xTjuF3uC.js +4 -0
  163. package/packages/server/trellis_ui/static/trellis_ui/assets/js/esm/chunks/ui-xTjuF3uC.js.map +1 -0
  164. package/packages/server/trellis_ui/static/trellis_ui/assets/js/esm/components/accordion.js +1 -0
  165. package/packages/server/trellis_ui/static/trellis_ui/assets/js/esm/components/button.js +1 -0
  166. package/packages/server/trellis_ui/static/trellis_ui/assets/js/esm/components/checkbox.js +1 -0
  167. package/packages/server/trellis_ui/static/trellis_ui/assets/js/esm/components/date-picker.js +1 -0
  168. package/packages/server/trellis_ui/static/trellis_ui/assets/js/esm/components/dropdown.js +1 -0
  169. package/packages/server/trellis_ui/static/trellis_ui/assets/js/esm/components/field.js +1 -0
  170. package/packages/server/trellis_ui/static/trellis_ui/assets/js/esm/components/file-upload.js +1 -0
  171. package/packages/server/trellis_ui/static/trellis_ui/assets/js/esm/components/index.js +1 -0
  172. package/packages/server/trellis_ui/static/trellis_ui/assets/js/esm/components/input.js +1 -0
  173. package/packages/server/trellis_ui/static/trellis_ui/assets/js/esm/components/modal.js +1 -0
  174. package/packages/server/trellis_ui/static/trellis_ui/assets/js/esm/components/panels.js +1 -0
  175. package/packages/server/trellis_ui/static/trellis_ui/assets/js/esm/components/radio.js +1 -0
  176. package/packages/server/trellis_ui/static/trellis_ui/assets/js/esm/components/scroll-area.js +1 -0
  177. package/packages/server/trellis_ui/static/trellis_ui/assets/js/esm/components/select.js +1 -0
  178. package/packages/server/trellis_ui/static/trellis_ui/assets/js/esm/components/sidebar.js +1 -0
  179. package/packages/server/trellis_ui/static/trellis_ui/assets/js/esm/components/slider.js +1 -0
  180. package/packages/server/trellis_ui/static/trellis_ui/assets/js/esm/components/switch.js +1 -0
  181. package/packages/server/trellis_ui/static/trellis_ui/assets/js/esm/components/table.js +1 -0
  182. package/packages/server/trellis_ui/static/trellis_ui/assets/js/esm/components/tabs.js +1 -0
  183. package/packages/server/trellis_ui/static/trellis_ui/assets/js/esm/components/toast.js +1 -0
  184. package/packages/server/trellis_ui/static/trellis_ui/assets/js/esm/core.js +1 -0
  185. package/packages/server/trellis_ui/static/trellis_ui/assets/js/esm/index.js +1 -22146
  186. package/packages/server/trellis_ui/static/trellis_ui/assets/js/esm/index.js.map +1 -1
  187. package/packages/server/trellis_ui/static/trellis_ui/assets/js/esm/logical-entry-manifest.json +395 -0
  188. package/packages/server/trellis_ui/static/trellis_ui/assets/js/trellis.js +9 -9
  189. package/packages/server/trellis_ui/static/trellis_ui/assets/js/trellis.min.js +9 -9
@@ -2,7 +2,7 @@ import type Alpine from 'alpinejs';
2
2
  declare const groupSchema: {
3
3
  sortableScope: import("../runtime/codecs").StringCodec;
4
4
  sortableId: import("../runtime/codecs").StringCodec;
5
- orientation: import("../runtime/codecs").OneOfCodec<"vertical" | "horizontal" | "grid">;
5
+ orientation: import("../runtime/codecs").OneOfCodec<"grid" | "vertical" | "horizontal">;
6
6
  columns: import("../runtime/codecs").NumberCodec;
7
7
  accepts: import("../runtime/codecs").JsonCodec<string[]>;
8
8
  disabled: import("../runtime/codecs").BoolCodec;
@@ -1,16 +1,8 @@
1
1
  import type { Alpine as AlpineType } from 'alpinejs';
2
- import { motion } from './motion';
3
- import { bool, createAlpineMachine, createMachine, createResizable, createSortableRegistry, decodeProps, defineManifest, defineProps, defineStyles, json, mergeBindings, number, oneOf, propsFromSchema, resolveStyle, string, sortable } from './runtime';
4
- import { ui } from './runtime/ui';
5
2
  type TrellisUIPlugin = (AlpineInstance: AlpineType) => void;
6
3
  declare const trellisUi: TrellisUIPlugin;
7
- export { trellisUi, ui };
4
+ export { trellisUi };
8
5
  export default trellisUi;
9
6
  export type { TrellisUIPlugin };
10
- export type { ModalCancelDetail, UiDropdownApi, UiInputApi, UiModalApi, UiModalTriggerApi, UiPanelsApi } from './components/runtime';
11
- export { motion };
12
- export { createTransitionCoordinator, defineHook } from './runtime';
13
- export { registerTransitionDirective } from './directives';
14
- export { bool, createAlpineMachine, createMachine, createResizable, createSortableRegistry, decodeProps, defineManifest, defineProps, defineStyles, json, mergeBindings, number, oneOf, propsFromSchema, resolveStyle, string, sortable, };
15
- export type { AlpineMachine, AlpineMachineOwner, AlpinePropsChangedEvent, CodecFn, ComponentManifest, CreateAlpineMachineOptions, DecodePropsOptions, Machine, MachineConfig, MachineEffect, MachineEffectList, MachineEffectRef, MachineEntry, MachineEvent, MachineEventObject, MachineGuard, MachineOptions, MachineReducer, MachineReducerList, MachineReducerRef, MachineScope, MachineSnapshot, MachineStateConfig, MachineStateValue, MachineTransition, MachineTransitionDefinition, MachineUpdate, SortableCanDropContext, SortableDragDetail, DefineManifestOptions, DefineStylesOptions, ManifestPart, ManifestProp, ManifestPropDetails, ManifestToken, MachineFactoryScope, BindingInput, PropState, PropsFromSchemaOptions, MergeBindingsOptions, ResizableOptions, ResizeAxis, ResizeDirection, ResizeEvent, SortableAnchor, SortableCancelReason, SortableDirection, SortableDropDetail, SortableEdge, SortableFeedback, SortableGroup, SortableIndicatorFrame, SortableInsertSource, SortableMoveSource, SortableOperation, SortableOrientation, SortablePlacement, SortableReorderOffset, SortableSource, UiSortableService, ResizeMode, ResizePhase, ResolveStyleOptions, SchemaPropDetails, SchemaToProps, StyleDefinition, StylePart, StyleProps, TrellisAlpineComponent, AnyTransitionHook, TransitionCallback, TransitionContext, TransitionCoordinator, TransitionCoordinatorOptions, TransitionEventCreator, TransitionHookDefinition, UiRuntime, } from './runtime';
16
- export type { Controller, ControllerDefinitions, ControllerOptions, ControllerScalar, ControllerState, ControllerValueDefinition, ControllerValues, MotionHandle, MotionKeyframePreset, MotionPlanOptions, MotionPreference, MotionSpeed, MotionTransition, MotionTarget, StyleProjection, ViewPreset, ViewOptions, ViewScope, } from './motion';
7
+ export * from './core';
8
+ export * from './components/entry.generated';
@@ -1,4 +1,4 @@
1
- import { type AnimationPlaybackControls } from '../motion';
1
+ import { type AnimationPlaybackControls } from 'motion';
2
2
  type MotionHandle = PromiseLike<void> & {
3
3
  finished: Promise<void>;
4
4
  cancel(): void;
@@ -1,4 +1,4 @@
1
- import { type ValueAnimationTransition } from '../motion';
1
+ import { type ValueAnimationTransition } from 'motion';
2
2
  import { type MotionHandle } from './animate';
3
3
  import { type MotionPreference } from './reduced-motion';
4
4
  type ControllerScalar = string | number;
@@ -36,7 +36,7 @@ declare const motion: ((subject: import("./subject").MotionSubject) => import(".
36
36
  readonly inOut: readonly [0.77, 0, 0.175, 1];
37
37
  };
38
38
  readonly createController: <T extends import("./controller").ControllerDefinitions>(options: import("./controller").ControllerOptions<T>) => import("./controller").Controller<import("./controller").ControllerState<T>>;
39
- readonly withReducedMotion: <T extends import("../motion").AnimationOptions>(options: T, reducedOptions?: Partial<T>, preference?: import("./reduced-motion").MotionPreference) => T;
39
+ readonly withReducedMotion: <T extends import("motion").AnimationOptions>(options: T, reducedOptions?: Partial<T>, preference?: import("./reduced-motion").MotionPreference) => T;
40
40
  readonly view: (update: () => void | Promise<void>, options?: import("./view").ViewOptions) => import("./animate").MotionHandle;
41
41
  };
42
42
  export { motion };
@@ -1,4 +1,4 @@
1
- import type { AnimationPlaybackControls } from '../motion';
1
+ import type { AnimationPlaybackControls } from 'motion';
2
2
  import { type MotionHandle } from './animate';
3
3
  import { type ActiveMotion, type MotionProperty } from './registry';
4
4
  declare const ownMotion: (element: Element, start: (previous?: ActiveMotion) => Pick<AnimationPlaybackControls, "finished" | "cancel" | "stop" | "complete">, properties: ReadonlySet<MotionProperty>, signal?: AbortSignal | null, cleanup?: () => void) => MotionHandle;
@@ -1,4 +1,4 @@
1
- import { type DOMKeyframesDefinition } from '../motion';
1
+ import { type DOMKeyframesDefinition } from 'motion';
2
2
  import { type MotionHandle } from './animate';
3
3
  import { type MotionSpeed, type MotionTransition } from './recipe';
4
4
  import { type ResizeOptions } from './resize';
@@ -1,4 +1,4 @@
1
- import type { AnimationOptions, DOMKeyframesDefinition } from '../motion';
1
+ import type { AnimationOptions, DOMKeyframesDefinition } from 'motion';
2
2
  type MotionSpeedName = 'fast' | 'moderate' | 'slow';
3
3
  type DurationSpeed = Readonly<{
4
4
  duration: number;
@@ -1,4 +1,4 @@
1
- import type { AnimationOptions, DOMKeyframesDefinition } from '../motion';
1
+ import type { AnimationOptions, DOMKeyframesDefinition } from 'motion';
2
2
  type MotionPreference = 'user' | 'always' | 'never';
3
3
  declare const reducedMotionQuery = "(prefers-reduced-motion: reduce)";
4
4
  declare const prefersReducedMotion: () => boolean;
@@ -1,3 +1,4 @@
1
+ import { MOTION_KEY_ATTR, MOTION_LAYOUT_ATTR, markLayoutParticipant } from '../runtime/layout-participant';
1
2
  type MotionTarget = Element | string | {
2
3
  selector: string;
3
4
  } | {
@@ -14,15 +15,9 @@ type ResolvedViewTarget = {
14
15
  subject: ViewTargetDefinition;
15
16
  newSubject?: ViewTargetDefinition;
16
17
  };
17
- declare const MOTION_KEY_ATTR = "data-ui-motion-key";
18
- declare const MOTION_LAYOUT_ATTR = "data-ui-motion-layout";
19
18
  declare const cssEscape: (value: string) => string;
20
19
  declare const keySelector: (key: string) => string;
21
20
  declare const partSelector: (part: string) => string;
22
21
  declare const resolveViewTargets: (scope?: ViewScope, targets?: MotionTarget | MotionTarget[] | null) => ResolvedViewTarget[];
23
- declare const markLayoutParticipant: (scope?: ViewScope, options?: {
24
- key?: string;
25
- layout?: boolean;
26
- }) => (() => void);
27
22
  export { MOTION_KEY_ATTR, MOTION_LAYOUT_ATTR, cssEscape, keySelector, markLayoutParticipant, partSelector, resolveViewTargets, };
28
23
  export type { MotionTarget, ResolvedViewTarget, ViewScope, ViewTargetDefinition };
@@ -1,4 +1,4 @@
1
- import { type AnimationOptions, type DOMKeyframesDefinition, type ViewTransitionOptions } from '../motion';
1
+ import { type AnimationOptions, type DOMKeyframesDefinition, type ViewTransitionOptions } from 'motion';
2
2
  import { type MotionHandle } from './animate';
3
3
  import { type MotionPreference } from './reduced-motion';
4
4
  import { type MotionTarget, type ViewScope } from './targets';
@@ -1,11 +1,14 @@
1
1
  import type Alpine from 'alpinejs';
2
+ import { type AssetDescriptor } from '../../assets/bridge';
2
3
  type PatchMode = 'morph' | 'outer' | 'replace' | 'update' | 'append' | 'prepend' | 'before' | 'after' | 'remove';
3
4
  type StreamPatchPayload = {
4
5
  html?: string | null;
5
6
  target?: string | null;
6
7
  selector?: string | null;
7
8
  mode?: PatchMode | null;
9
+ requestId?: string | null;
8
10
  viewTransition?: boolean;
11
+ assets?: AssetDescriptor[];
9
12
  };
10
13
  type StreamEventPayload = {
11
14
  event: string;
@@ -36,9 +39,10 @@ type StreamLifecycle = {
36
39
  reset?(data: string): void;
37
40
  error?(data: string): void;
38
41
  };
42
+ type StreamPatchAnimator = (AlpineInstance: StreamAlpine, patches: StreamPatchPayload[], update: () => void) => void;
39
43
  type MorphOptions = {
40
44
  key?(el: HTMLElement): string | null;
41
- updating?(from: Node, to: Node): void;
45
+ updating?(from: Node, to: Node, childrenOnly?: () => void, skip?: () => void, skipChildren?: () => void, skipUntil?: (predicate: (node: Node) => boolean) => void): void;
42
46
  updated?(from: Node, to: Node): void;
43
47
  };
44
48
  type StreamAlpine = Pick<Alpine.Alpine, 'initTree'> & Partial<Pick<Alpine.Alpine, 'findClosest'>> & {
@@ -46,6 +50,7 @@ type StreamAlpine = Pick<Alpine.Alpine, 'initTree'> & Partial<Pick<Alpine.Alpine
46
50
  };
47
51
  declare const applyStreamPatchNow: (AlpineInstance: StreamAlpine, payload: StreamPatchPayload) => void;
48
52
  declare const applyStreamPatches: (AlpineInstance: StreamAlpine, payload: StreamPatchPayload | StreamPatchPayload[]) => void;
53
+ declare const registerStreamPatchAnimator: (animator: StreamPatchAnimator) => void;
49
54
  declare const applyStreamPatch: (AlpineInstance: StreamAlpine, payload: StreamPatchPayload) => void;
50
55
  declare const dispatchStreamEvent: (payload: StreamEventPayload) => void;
51
56
  declare const applyUiEffect: (AlpineInstance: StreamAlpine, effect: UiEffectPayload) => void;
@@ -55,6 +60,7 @@ declare const streamUrl: (url: string, scopes?: string, client?: string) => stri
55
60
  declare const connectStream: (AlpineInstance: StreamAlpine, url: string, scopes?: string, client?: string, lifecycle?: StreamLifecycle) => StreamController;
56
61
  declare const registerStream: (AlpineInstance: Alpine.Alpine) => void;
57
62
  declare const setEffectRequestFilter: (filter: ((requestId: string | null) => boolean) | null) => void;
63
+ declare const setMorphExclusionFilter: (filter: ((requestId: string | null, element: Element) => boolean) | null) => void;
58
64
  declare const setLocationEffectHandler: (handler: ((payload: LocationPayload) => boolean) | null) => void;
59
- export { applyUiEffect, applyUiEffects, applyStreamPatch, applyStreamPatchNow, applyStreamPatches, applySseFrame, connectStream, dispatchStreamEvent, registerStream, setEffectRequestFilter, setLocationEffectHandler, streamUrl, };
60
- export type { LocationPayload, PatchMode, SseFrame, StreamAlpine, StreamEventPayload, StreamPatchPayload, UiEffectPayload };
65
+ export { applyUiEffect, applyUiEffects, applyStreamPatch, applyStreamPatchNow, applyStreamPatches, applySseFrame, connectStream, dispatchStreamEvent, registerStream, registerStreamPatchAnimator, setEffectRequestFilter, setMorphExclusionFilter, setLocationEffectHandler, streamUrl, };
66
+ export type { LocationPayload, PatchMode, SseFrame, StreamAlpine, StreamEventPayload, StreamPatchAnimator, StreamPatchPayload, UiEffectPayload, };
@@ -0,0 +1,9 @@
1
+ type LayoutScope = Element | Document | string | Iterable<Element>;
2
+ declare const MOTION_KEY_ATTR = "data-ui-motion-key";
3
+ declare const MOTION_LAYOUT_ATTR = "data-ui-motion-layout";
4
+ declare const markLayoutParticipant: (scope?: LayoutScope, options?: {
5
+ key?: string;
6
+ layout?: boolean;
7
+ }) => (() => void);
8
+ export { MOTION_KEY_ATTR, MOTION_LAYOUT_ATTR, markLayoutParticipant };
9
+ export type { LayoutScope };
@@ -1,7 +1,7 @@
1
1
  import type Alpine from 'alpinejs';
2
- import { motion } from '../motion';
2
+ import type { motion } from '../motion';
3
3
  import { del, get, post, put } from './engine/request';
4
- import { type UiSortableService } from './drag-and-drop/sortable';
4
+ import type { sortable, UiSortableService } from './drag-and-drop/sortable';
5
5
  type UiRuntime = {
6
6
  readonly delete: typeof del;
7
7
  readonly get: typeof get;
@@ -11,7 +11,13 @@ type UiRuntime = {
11
11
  readonly motion: typeof motion;
12
12
  readonly sortable: UiSortableService;
13
13
  };
14
+ type UiCapabilities = {
15
+ motion?: typeof motion;
16
+ sortable?: typeof sortable;
17
+ };
14
18
  declare const ui: UiRuntime;
15
19
  declare const registerUiMagic: (AlpineInstance: Alpine.Alpine) => void;
16
- export { registerUiMagic, ui };
17
- export type { UiRuntime };
20
+ declare const registerUiMotion: (value: typeof motion) => void;
21
+ declare const registerUiSortable: (value: typeof sortable) => void;
22
+ export { registerUiMagic, registerUiMotion, registerUiSortable, ui };
23
+ export type { UiCapabilities, UiRuntime };
@@ -0,0 +1 @@
1
+ import{a as e,i as t,n,r,t as i}from"./chunks/bridge-B4S_D6hV.js";export{i as loadAssets,n as markAssetsRegistered,r as prepareInitialAssets,t as resetLoadedAssets,e as setAssetImporter};