foldkit 0.111.1 → 0.112.1

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 (224) hide show
  1. package/README.md +2 -2
  2. package/dist/devTools/host.d.ts +6 -0
  3. package/dist/devTools/host.d.ts.map +1 -0
  4. package/dist/devTools/host.js +4 -0
  5. package/dist/dom/dom.d.ts +6 -1
  6. package/dist/dom/dom.d.ts.map +1 -1
  7. package/dist/dom/dom.js +24 -1
  8. package/dist/html/index.d.ts +4 -3
  9. package/dist/html/index.d.ts.map +1 -1
  10. package/dist/html/index.js +4 -3
  11. package/dist/html/submodel.d.ts +2 -2
  12. package/dist/html/submodel.d.ts.map +1 -1
  13. package/dist/index.d.ts +0 -1
  14. package/dist/index.d.ts.map +1 -1
  15. package/dist/index.js +0 -1
  16. package/dist/runtime/browserListeners.d.ts.map +1 -1
  17. package/dist/runtime/browserListeners.js +12 -7
  18. package/dist/runtime/public.d.ts +1 -1
  19. package/dist/runtime/public.d.ts.map +1 -1
  20. package/dist/runtime/runtime.d.ts +14 -1
  21. package/dist/runtime/runtime.d.ts.map +1 -1
  22. package/dist/runtime/runtime.js +25 -8
  23. package/dist/runtime/subscription.d.ts +1 -1
  24. package/dist/subscription/public.d.ts +1 -1
  25. package/dist/subscription/public.d.ts.map +1 -1
  26. package/package.json +12 -93
  27. package/dist/devTools/overlay-styles.d.ts +0 -3
  28. package/dist/devTools/overlay-styles.d.ts.map +0 -1
  29. package/dist/devTools/overlay-styles.js +0 -706
  30. package/dist/devTools/overlay.d.ts +0 -63
  31. package/dist/devTools/overlay.d.ts.map +0 -1
  32. package/dist/devTools/overlay.js +0 -1244
  33. package/dist/test/apps/disabledButton.d.ts +0 -38
  34. package/dist/test/apps/disabledButton.d.ts.map +0 -1
  35. package/dist/test/apps/disabledButton.js +0 -71
  36. package/dist/ui/anchor.d.ts +0 -38
  37. package/dist/ui/anchor.d.ts.map +0 -1
  38. package/dist/ui/anchor.js +0 -142
  39. package/dist/ui/animation/index.d.ts +0 -49
  40. package/dist/ui/animation/index.d.ts.map +0 -1
  41. package/dist/ui/animation/index.js +0 -74
  42. package/dist/ui/animation/public.d.ts +0 -3
  43. package/dist/ui/animation/public.d.ts.map +0 -1
  44. package/dist/ui/animation/public.js +0 -1
  45. package/dist/ui/animation/schema.d.ts +0 -43
  46. package/dist/ui/animation/schema.d.ts.map +0 -1
  47. package/dist/ui/animation/schema.js +0 -41
  48. package/dist/ui/animation/update.d.ts +0 -24
  49. package/dist/ui/animation/update.d.ts.map +0 -1
  50. package/dist/ui/animation/update.js +0 -67
  51. package/dist/ui/button/index.d.ts +0 -17
  52. package/dist/ui/button/index.d.ts.map +0 -1
  53. package/dist/ui/button/index.js +0 -22
  54. package/dist/ui/button/public.d.ts +0 -3
  55. package/dist/ui/button/public.d.ts.map +0 -1
  56. package/dist/ui/button/public.js +0 -1
  57. package/dist/ui/calendar/index.d.ts +0 -462
  58. package/dist/ui/calendar/index.d.ts.map +0 -1
  59. package/dist/ui/calendar/index.js +0 -824
  60. package/dist/ui/calendar/public.d.ts +0 -3
  61. package/dist/ui/calendar/public.d.ts.map +0 -1
  62. package/dist/ui/calendar/public.js +0 -1
  63. package/dist/ui/checkbox/index.d.ts +0 -119
  64. package/dist/ui/checkbox/index.d.ts.map +0 -1
  65. package/dist/ui/checkbox/index.js +0 -110
  66. package/dist/ui/checkbox/public.d.ts +0 -3
  67. package/dist/ui/checkbox/public.d.ts.map +0 -1
  68. package/dist/ui/checkbox/public.js +0 -1
  69. package/dist/ui/combobox/multi.d.ts +0 -184
  70. package/dist/ui/combobox/multi.d.ts.map +0 -1
  71. package/dist/ui/combobox/multi.js +0 -81
  72. package/dist/ui/combobox/multiPublic.d.ts +0 -3
  73. package/dist/ui/combobox/multiPublic.d.ts.map +0 -1
  74. package/dist/ui/combobox/multiPublic.js +0 -1
  75. package/dist/ui/combobox/public.d.ts +0 -7
  76. package/dist/ui/combobox/public.d.ts.map +0 -1
  77. package/dist/ui/combobox/public.js +0 -3
  78. package/dist/ui/combobox/shared.d.ts +0 -422
  79. package/dist/ui/combobox/shared.d.ts.map +0 -1
  80. package/dist/ui/combobox/shared.js +0 -707
  81. package/dist/ui/combobox/single.d.ts +0 -199
  82. package/dist/ui/combobox/single.d.ts.map +0 -1
  83. package/dist/ui/combobox/single.js +0 -106
  84. package/dist/ui/datePicker/index.d.ts +0 -457
  85. package/dist/ui/datePicker/index.d.ts.map +0 -1
  86. package/dist/ui/datePicker/index.js +0 -317
  87. package/dist/ui/datePicker/public.d.ts +0 -3
  88. package/dist/ui/datePicker/public.d.ts.map +0 -1
  89. package/dist/ui/datePicker/public.js +0 -1
  90. package/dist/ui/dialog/index.d.ts +0 -155
  91. package/dist/ui/dialog/index.d.ts.map +0 -1
  92. package/dist/ui/dialog/index.js +0 -208
  93. package/dist/ui/dialog/public.d.ts +0 -3
  94. package/dist/ui/dialog/public.d.ts.map +0 -1
  95. package/dist/ui/dialog/public.js +0 -1
  96. package/dist/ui/disclosure/index.d.ts +0 -110
  97. package/dist/ui/disclosure/index.d.ts.map +0 -1
  98. package/dist/ui/disclosure/index.js +0 -110
  99. package/dist/ui/disclosure/public.d.ts +0 -3
  100. package/dist/ui/disclosure/public.d.ts.map +0 -1
  101. package/dist/ui/disclosure/public.js +0 -1
  102. package/dist/ui/dragAndDrop/index.d.ts +0 -540
  103. package/dist/ui/dragAndDrop/index.d.ts.map +0 -1
  104. package/dist/ui/dragAndDrop/index.js +0 -535
  105. package/dist/ui/dragAndDrop/public.d.ts +0 -3
  106. package/dist/ui/dragAndDrop/public.d.ts.map +0 -1
  107. package/dist/ui/dragAndDrop/public.js +0 -1
  108. package/dist/ui/fieldset/index.d.ts +0 -21
  109. package/dist/ui/fieldset/index.d.ts.map +0 -1
  110. package/dist/ui/fieldset/index.js +0 -25
  111. package/dist/ui/fieldset/public.d.ts +0 -3
  112. package/dist/ui/fieldset/public.d.ts.map +0 -1
  113. package/dist/ui/fieldset/public.js +0 -1
  114. package/dist/ui/fileDrop/index.d.ts +0 -109
  115. package/dist/ui/fileDrop/index.d.ts.map +0 -1
  116. package/dist/ui/fileDrop/index.js +0 -126
  117. package/dist/ui/fileDrop/public.d.ts +0 -3
  118. package/dist/ui/fileDrop/public.d.ts.map +0 -1
  119. package/dist/ui/fileDrop/public.js +0 -1
  120. package/dist/ui/group.d.ts +0 -8
  121. package/dist/ui/group.d.ts.map +0 -1
  122. package/dist/ui/group.js +0 -13
  123. package/dist/ui/index.d.ts +0 -25
  124. package/dist/ui/index.d.ts.map +0 -1
  125. package/dist/ui/index.js +0 -24
  126. package/dist/ui/input/index.d.ts +0 -26
  127. package/dist/ui/input/index.d.ts.map +0 -1
  128. package/dist/ui/input/index.js +0 -43
  129. package/dist/ui/input/public.d.ts +0 -3
  130. package/dist/ui/input/public.d.ts.map +0 -1
  131. package/dist/ui/input/public.js +0 -1
  132. package/dist/ui/keyboard.d.ts +0 -6
  133. package/dist/ui/keyboard.d.ts.map +0 -1
  134. package/dist/ui/keyboard.js +0 -9
  135. package/dist/ui/listbox/multi.d.ts +0 -190
  136. package/dist/ui/listbox/multi.d.ts.map +0 -1
  137. package/dist/ui/listbox/multi.js +0 -65
  138. package/dist/ui/listbox/multiPublic.d.ts +0 -3
  139. package/dist/ui/listbox/multiPublic.d.ts.map +0 -1
  140. package/dist/ui/listbox/multiPublic.js +0 -1
  141. package/dist/ui/listbox/public.d.ts +0 -7
  142. package/dist/ui/listbox/public.d.ts.map +0 -1
  143. package/dist/ui/listbox/public.js +0 -3
  144. package/dist/ui/listbox/shared.d.ts +0 -431
  145. package/dist/ui/listbox/shared.d.ts.map +0 -1
  146. package/dist/ui/listbox/shared.js +0 -669
  147. package/dist/ui/listbox/single.d.ts +0 -208
  148. package/dist/ui/listbox/single.d.ts.map +0 -1
  149. package/dist/ui/listbox/single.js +0 -73
  150. package/dist/ui/menu/index.d.ts +0 -367
  151. package/dist/ui/menu/index.d.ts.map +0 -1
  152. package/dist/ui/menu/index.js +0 -681
  153. package/dist/ui/menu/public.d.ts +0 -4
  154. package/dist/ui/menu/public.d.ts.map +0 -1
  155. package/dist/ui/menu/public.js +0 -1
  156. package/dist/ui/popover/index.d.ts +0 -267
  157. package/dist/ui/popover/index.d.ts.map +0 -1
  158. package/dist/ui/popover/index.js +0 -345
  159. package/dist/ui/popover/public.d.ts +0 -4
  160. package/dist/ui/popover/public.d.ts.map +0 -1
  161. package/dist/ui/popover/public.js +0 -1
  162. package/dist/ui/radioGroup/index.d.ts +0 -169
  163. package/dist/ui/radioGroup/index.d.ts.map +0 -1
  164. package/dist/ui/radioGroup/index.js +0 -196
  165. package/dist/ui/radioGroup/public.d.ts +0 -3
  166. package/dist/ui/radioGroup/public.d.ts.map +0 -1
  167. package/dist/ui/radioGroup/public.js +0 -1
  168. package/dist/ui/select/index.d.ts +0 -24
  169. package/dist/ui/select/index.d.ts.map +0 -1
  170. package/dist/ui/select/index.js +0 -40
  171. package/dist/ui/select/public.d.ts +0 -3
  172. package/dist/ui/select/public.d.ts.map +0 -1
  173. package/dist/ui/select/public.js +0 -1
  174. package/dist/ui/slider/index.d.ts +0 -318
  175. package/dist/ui/slider/index.d.ts.map +0 -1
  176. package/dist/ui/slider/index.js +0 -336
  177. package/dist/ui/slider/public.d.ts +0 -3
  178. package/dist/ui/slider/public.d.ts.map +0 -1
  179. package/dist/ui/slider/public.js +0 -1
  180. package/dist/ui/switch/index.d.ts +0 -99
  181. package/dist/ui/switch/index.d.ts.map +0 -1
  182. package/dist/ui/switch/index.js +0 -106
  183. package/dist/ui/switch/public.d.ts +0 -3
  184. package/dist/ui/switch/public.d.ts.map +0 -1
  185. package/dist/ui/switch/public.js +0 -1
  186. package/dist/ui/tabs/index.d.ts +0 -155
  187. package/dist/ui/tabs/index.d.ts.map +0 -1
  188. package/dist/ui/tabs/index.js +0 -184
  189. package/dist/ui/tabs/public.d.ts +0 -3
  190. package/dist/ui/tabs/public.d.ts.map +0 -1
  191. package/dist/ui/tabs/public.js +0 -1
  192. package/dist/ui/textarea/index.d.ts +0 -26
  193. package/dist/ui/textarea/index.d.ts.map +0 -1
  194. package/dist/ui/textarea/index.js +0 -44
  195. package/dist/ui/textarea/public.d.ts +0 -3
  196. package/dist/ui/textarea/public.d.ts.map +0 -1
  197. package/dist/ui/textarea/public.js +0 -1
  198. package/dist/ui/toast/index.d.ts +0 -608
  199. package/dist/ui/toast/index.d.ts.map +0 -1
  200. package/dist/ui/toast/index.js +0 -145
  201. package/dist/ui/toast/public.d.ts +0 -4
  202. package/dist/ui/toast/public.d.ts.map +0 -1
  203. package/dist/ui/toast/public.js +0 -1
  204. package/dist/ui/toast/schema.d.ts +0 -154
  205. package/dist/ui/toast/schema.d.ts.map +0 -1
  206. package/dist/ui/toast/schema.js +0 -93
  207. package/dist/ui/toast/update.d.ts +0 -510
  208. package/dist/ui/toast/update.d.ts.map +0 -1
  209. package/dist/ui/toast/update.js +0 -225
  210. package/dist/ui/tooltip/index.d.ts +0 -170
  211. package/dist/ui/tooltip/index.d.ts.map +0 -1
  212. package/dist/ui/tooltip/index.js +0 -252
  213. package/dist/ui/tooltip/public.d.ts +0 -4
  214. package/dist/ui/tooltip/public.d.ts.map +0 -1
  215. package/dist/ui/tooltip/public.js +0 -1
  216. package/dist/ui/typeahead.d.ts +0 -4
  217. package/dist/ui/typeahead.d.ts.map +0 -1
  218. package/dist/ui/typeahead.js +0 -14
  219. package/dist/ui/virtualList/index.d.ts +0 -202
  220. package/dist/ui/virtualList/index.d.ts.map +0 -1
  221. package/dist/ui/virtualList/index.js +0 -391
  222. package/dist/ui/virtualList/public.d.ts +0 -3
  223. package/dist/ui/virtualList/public.d.ts.map +0 -1
  224. package/dist/ui/virtualList/public.js +0 -1
@@ -1,422 +0,0 @@
1
- import { Effect, Option, Schema as S } from 'effect';
2
- import * as Command from '../../command/index.js';
3
- import { type ChildAttribute, type Html, type SubmodelView } from '../../html/index.js';
4
- import * as Mount from '../../mount/index.js';
5
- import { AnchorConfig } from '../anchor.js';
6
- import { groupContiguous } from '../group.js';
7
- export { groupContiguous };
8
- /** Schema for the activation trigger: whether the user interacted via mouse or keyboard. */
9
- export declare const ActivationTrigger: S.Literals<readonly ["Pointer", "Keyboard"]>;
10
- export type ActivationTrigger = typeof ActivationTrigger.Type;
11
- /** Schema fields shared by all combobox variants (single-select and multi-select). Spread into each variant's `S.Struct` to avoid duplicating field definitions. */
12
- export declare const BaseModel: S.Struct<{
13
- readonly id: S.String;
14
- readonly isOpen: S.Boolean;
15
- readonly isAnimated: S.Boolean;
16
- readonly isModal: S.Boolean;
17
- readonly nullable: S.Boolean;
18
- readonly immediate: S.Boolean;
19
- readonly selectInputOnFocus: S.Boolean;
20
- readonly animation: S.Struct<{
21
- readonly id: S.String;
22
- readonly isShowing: S.Boolean;
23
- readonly transitionState: S.Literals<readonly ["Idle", "EnterStart", "EnterAnimating", "LeaveStart", "LeaveAnimating"]>;
24
- }>;
25
- readonly maybeActiveItemIndex: S.Option<S.Number>;
26
- readonly activationTrigger: S.Literals<readonly ["Pointer", "Keyboard"]>;
27
- readonly inputValue: S.String;
28
- readonly maybeLastPointerPosition: S.Option<S.Struct<{
29
- readonly screenX: S.Number;
30
- readonly screenY: S.Number;
31
- }>>;
32
- }>;
33
- export type BaseModel = typeof BaseModel.Type;
34
- /** Configuration fields shared by all combobox variant `init` functions. */
35
- export type BaseInitConfig = Readonly<{
36
- id: string;
37
- isAnimated?: boolean;
38
- isModal?: boolean;
39
- nullable?: boolean;
40
- immediate?: boolean;
41
- selectInputOnFocus?: boolean;
42
- }>;
43
- /** Creates the shared base fields for a combobox model from a config. Each variant spreads this and adds its selection fields. */
44
- export declare const baseInit: (config: BaseInitConfig) => BaseModel;
45
- /** Sent when the combobox popup opens. Contains an optional initial active item index. */
46
- export declare const Opened: import("../../schema/index.js").CallableTaggedStruct<"Opened", {
47
- maybeActiveItemIndex: S.Option<S.Number>;
48
- }>;
49
- /** Sent when the combobox closes via Escape key or backdrop click. */
50
- export declare const Closed: import("../../schema/index.js").CallableTaggedStruct<"Closed", {}>;
51
- /** Sent when the combobox input loses focus. */
52
- export declare const BlurredInput: import("../../schema/index.js").CallableTaggedStruct<"BlurredInput", {}>;
53
- /** Sent when an item is highlighted via arrow keys or mouse hover. Includes activation trigger and optional immediate selection info. */
54
- export declare const ActivatedItem: import("../../schema/index.js").CallableTaggedStruct<"ActivatedItem", {
55
- index: S.Number;
56
- activationTrigger: S.Literals<readonly ["Pointer", "Keyboard"]>;
57
- maybeImmediateSelection: S.Option<S.Struct<{
58
- readonly item: S.String;
59
- readonly displayText: S.String;
60
- }>>;
61
- }>;
62
- /** Sent when the mouse leaves an enabled item. */
63
- export declare const DeactivatedItem: import("../../schema/index.js").CallableTaggedStruct<"DeactivatedItem", {}>;
64
- /** Sent when an item is selected via Enter or click. Includes display text for restoring input value on close. */
65
- export declare const SelectedItem: import("../../schema/index.js").CallableTaggedStruct<"SelectedItem", {
66
- item: S.String;
67
- displayText: S.String;
68
- }>;
69
- /** Sent when the pointer moves over a combobox item. */
70
- export declare const MovedPointerOverItem: import("../../schema/index.js").CallableTaggedStruct<"MovedPointerOverItem", {
71
- index: S.Number;
72
- screenX: S.Number;
73
- screenY: S.Number;
74
- }>;
75
- /** Sent when Enter or Space is pressed on the active item, triggering a programmatic click. */
76
- export declare const RequestedItemClick: import("../../schema/index.js").CallableTaggedStruct<"RequestedItemClick", {
77
- index: S.Number;
78
- }>;
79
- /** Sent when the scroll lock command completes. */
80
- export declare const CompletedLockScroll: import("../../schema/index.js").CallableTaggedStruct<"CompletedLockScroll", {}>;
81
- /** Sent when the scroll unlock command completes. */
82
- export declare const CompletedUnlockScroll: import("../../schema/index.js").CallableTaggedStruct<"CompletedUnlockScroll", {}>;
83
- /** Sent when the inert-others command completes. */
84
- export declare const CompletedInertOthers: import("../../schema/index.js").CallableTaggedStruct<"CompletedInertOthers", {}>;
85
- /** Sent when the restore-inert command completes. */
86
- export declare const CompletedRestoreInert: import("../../schema/index.js").CallableTaggedStruct<"CompletedRestoreInert", {}>;
87
- /** Sent when the focus-input command completes. */
88
- export declare const CompletedFocusInput: import("../../schema/index.js").CallableTaggedStruct<"CompletedFocusInput", {}>;
89
- /** Sent when the scroll-into-view command completes after keyboard activation. */
90
- export declare const CompletedScrollIntoView: import("../../schema/index.js").CallableTaggedStruct<"CompletedScrollIntoView", {}>;
91
- /** Sent when the programmatic item click command completes. */
92
- export declare const CompletedClickItem: import("../../schema/index.js").CallableTaggedStruct<"CompletedClickItem", {}>;
93
- /** Sent when the items panel mounts and Floating UI has positioned it. Update no-ops; surfaces the positioning side effect for DevTools. */
94
- export declare const CompletedAnchorCombobox: import("../../schema/index.js").CallableTaggedStruct<"CompletedAnchorCombobox", {}>;
95
- /** Sent when the items panel mounts and the capture-phase pointerdown listener is attached (with or without anchor). Update no-ops; surfaces the listener-attach side effect for DevTools. */
96
- export declare const CompletedAttachComboboxPreventBlur: import("../../schema/index.js").CallableTaggedStruct<"CompletedAttachComboboxPreventBlur", {}>;
97
- /** Sent when the input mounts and the focus listener that auto-selects on focus is attached. Update no-ops; surfaces the listener-attach side effect for DevTools. */
98
- export declare const CompletedAttachComboboxSelectOnFocus: import("../../schema/index.js").CallableTaggedStruct<"CompletedAttachComboboxSelectOnFocus", {}>;
99
- /** Sent when the combobox backdrop mounts and is portaled to the document body. Update no-ops; surfaces the portal side effect for DevTools. */
100
- export declare const CompletedPortalComboboxBackdrop: import("../../schema/index.js").CallableTaggedStruct<"CompletedPortalComboboxBackdrop", {}>;
101
- /** Wraps an Animation submodel message for delegation. */
102
- export declare const GotAnimationMessage: import("../../schema/index.js").CallableTaggedStruct<"GotAnimationMessage", {
103
- message: S.Union<[import("../../schema/index.js").CallableTaggedStruct<"Showed", {}>, import("../../schema/index.js").CallableTaggedStruct<"Hid", {}>, import("../../schema/index.js").CallableTaggedStruct<"AdvancedAnimationFrame", {}>, import("../../schema/index.js").CallableTaggedStruct<"EndedAnimation", {}>]>;
104
- }>;
105
- /** Sent when the user types in the input. */
106
- export declare const UpdatedInputValue: import("../../schema/index.js").CallableTaggedStruct<"UpdatedInputValue", {
107
- value: S.String;
108
- }>;
109
- /** Sent when the optional toggle button is clicked. */
110
- export declare const PressedToggleButton: import("../../schema/index.js").CallableTaggedStruct<"PressedToggleButton", {}>;
111
- /** Union of all messages the combobox component can produce. */
112
- export declare const Message: S.Union<[
113
- typeof Opened,
114
- typeof Closed,
115
- typeof BlurredInput,
116
- typeof ActivatedItem,
117
- typeof DeactivatedItem,
118
- typeof SelectedItem,
119
- typeof MovedPointerOverItem,
120
- typeof RequestedItemClick,
121
- typeof CompletedLockScroll,
122
- typeof CompletedUnlockScroll,
123
- typeof CompletedInertOthers,
124
- typeof CompletedRestoreInert,
125
- typeof CompletedFocusInput,
126
- typeof CompletedScrollIntoView,
127
- typeof CompletedClickItem,
128
- typeof CompletedAnchorCombobox,
129
- typeof CompletedAttachComboboxPreventBlur,
130
- typeof CompletedAttachComboboxSelectOnFocus,
131
- typeof CompletedPortalComboboxBackdrop,
132
- typeof GotAnimationMessage,
133
- typeof UpdatedInputValue,
134
- typeof PressedToggleButton
135
- ]>;
136
- export type Opened = typeof Opened.Type;
137
- export type Closed = typeof Closed.Type;
138
- export type BlurredInput = typeof BlurredInput.Type;
139
- export type ActivatedItem = typeof ActivatedItem.Type;
140
- export type DeactivatedItem = typeof DeactivatedItem.Type;
141
- export type SelectedItem = typeof SelectedItem.Type;
142
- export type MovedPointerOverItem = typeof MovedPointerOverItem.Type;
143
- export type RequestedItemClick = typeof RequestedItemClick.Type;
144
- export type CompletedLockScroll = typeof CompletedLockScroll.Type;
145
- export type CompletedUnlockScroll = typeof CompletedUnlockScroll.Type;
146
- export type CompletedInertOthers = typeof CompletedInertOthers.Type;
147
- export type CompletedRestoreInert = typeof CompletedRestoreInert.Type;
148
- export type CompletedFocusInput = typeof CompletedFocusInput.Type;
149
- export type CompletedScrollIntoView = typeof CompletedScrollIntoView.Type;
150
- export type CompletedClickItem = typeof CompletedClickItem.Type;
151
- export type UpdatedInputValue = typeof UpdatedInputValue.Type;
152
- export type PressedToggleButton = typeof PressedToggleButton.Type;
153
- export type Message = typeof Message.Type;
154
- /** Sent when a single-select combobox commits a selection, or when a multi-select combobox toggles an item on. The `value` is the string key; consumers that need a richer domain type should look it up from their own state or, in the multi case, branch on `wasAdded` to distinguish add vs remove. */
155
- export declare const Selected: import("../../schema/index.js").CallableTaggedStruct<"Selected", {
156
- value: S.String;
157
- wasAdded: S.Boolean;
158
- }>;
159
- export type Selected<Value extends string = string> = Readonly<{
160
- readonly _tag: 'Selected';
161
- readonly value: Value;
162
- readonly wasAdded: boolean;
163
- }>;
164
- /** Union of out-messages the combobox component can produce. Single-select comboboxes always emit `wasAdded: true`. Multi-select comboboxes emit `wasAdded: true` when adding to the selection and `wasAdded: false` when toggling off. */
165
- export declare const OutMessage: S.Union<readonly [import("../../schema/index.js").CallableTaggedStruct<"Selected", {
166
- value: S.String;
167
- wasAdded: S.Boolean;
168
- }>]>;
169
- /** Generic over `Value extends string` so consumers who create the combobox
170
- * via `Ui.Combobox.create<MyUnion>()` receive `value: MyUnion` in the
171
- * `Selected` OutMessage from the factory's `update`, instead of
172
- * `value: string`. Defaults to `string`. */
173
- export type OutMessage<Value extends string = string> = Selected<Value>;
174
- export declare const inputSelector: (id: string) => string;
175
- export declare const inputWrapperSelector: (id: string) => string;
176
- export declare const itemsSelector: (id: string) => string;
177
- export declare const itemSelector: (id: string, index: number) => string;
178
- export declare const itemId: (id: string, index: number) => string;
179
- /** Resets only shared base fields to their closed state. Does not touch inputValue or selection. Those are variant-specific. */
180
- export declare const closedBaseModel: <Model extends BaseModel>(model: Model) => Model;
181
- /** Context passed to the `handleSelectedItem` handler with commands for focus management and modal cleanup. */
182
- export type SelectedItemContext = Readonly<{
183
- focusInput: Command.Command<Message>;
184
- maybeUnlockScroll: Option.Option<Command.Command<Message>>;
185
- maybeRestoreInert: Option.Option<Command.Command<Message>>;
186
- }>;
187
- /** Prevents page scrolling while the combobox popup is open in modal mode. */
188
- export declare const LockScroll: Command.CommandDefinitionNoArgs<"LockScroll", Effect.Effect<{
189
- readonly _tag: "CompletedLockScroll";
190
- }, never, never>>;
191
- /** Re-enables page scrolling after the combobox popup closes. */
192
- export declare const UnlockScroll: Command.CommandDefinitionNoArgs<"UnlockScroll", Effect.Effect<{
193
- readonly _tag: "CompletedUnlockScroll";
194
- }, never, never>>;
195
- /** Marks all elements outside the combobox as inert for modal behavior. */
196
- export declare const InertOthers: Command.CommandDefinitionWithArgs<"InertOthers", {
197
- id: S.String;
198
- }, Effect.Effect<{
199
- readonly _tag: "CompletedInertOthers";
200
- }, never, never>>;
201
- /** Removes the inert attribute from elements outside the combobox. */
202
- export declare const RestoreInert: Command.CommandDefinitionWithArgs<"RestoreInert", {
203
- id: S.String;
204
- }, Effect.Effect<{
205
- readonly _tag: "CompletedRestoreInert";
206
- }, never, never>>;
207
- /** Moves focus to the combobox input after selection or close. */
208
- export declare const FocusInput: Command.CommandDefinitionWithArgs<"FocusInput", {
209
- id: S.String;
210
- }, Effect.Effect<{
211
- readonly _tag: "CompletedFocusInput";
212
- }, never, never>>;
213
- /** Scrolls the active combobox item into view after keyboard navigation. */
214
- export declare const ScrollIntoView: Command.CommandDefinitionWithArgs<"ScrollIntoView", {
215
- id: S.String;
216
- index: S.Number;
217
- }, Effect.Effect<{
218
- readonly _tag: "CompletedScrollIntoView";
219
- }, never, never>>;
220
- /** Programmatically clicks the active combobox item's DOM element. */
221
- export declare const ClickItem: Command.CommandDefinitionWithArgs<"ClickItem", {
222
- id: S.String;
223
- index: S.Number;
224
- }, Effect.Effect<{
225
- readonly _tag: "CompletedClickItem";
226
- }, never, never>>;
227
- /** Detects whether the combobox input wrapper moved or the leave animation ended. Whichever comes first; both outcomes signal the Animation submodel that leave is complete. */
228
- export declare const DetectMovementOrAnimationEnd: Command.CommandDefinitionWithArgs<"DetectMovementOrAnimationEnd", {
229
- id: S.String;
230
- }, Effect.Effect<{
231
- readonly _tag: "GotAnimationMessage";
232
- readonly message: {
233
- readonly _tag: "Showed";
234
- } | {
235
- readonly _tag: "Hid";
236
- } | {
237
- readonly _tag: "AdvancedAnimationFrame";
238
- } | {
239
- readonly _tag: "EndedAnimation";
240
- };
241
- }, never, never>>;
242
- /** Creates a combobox update function from variant-specific handlers. Shared logic (open, close, activate, transition) is handled internally; only close, selection, and immediate-activation behavior varies by variant. */
243
- export declare const makeUpdate: <Model extends BaseModel>(handlers: Readonly<{
244
- handleClose: (model: Model) => Model;
245
- handleSelectedItem: (model: Model, item: string, displayText: string, context: SelectedItemContext) => readonly [Model, ReadonlyArray<Command.Command<Message>>, Option.Option<OutMessage>];
246
- handleImmediateActivation: (model: Model, item: string, displayText: string) => Model;
247
- }>) => (model: Model, message: Message) => readonly [Model, readonly Readonly<{
248
- name: string;
249
- args?: Record<string, unknown>;
250
- effect: Effect.Effect<{
251
- readonly _tag: "Closed";
252
- } | {
253
- readonly _tag: "DeactivatedItem";
254
- } | {
255
- readonly _tag: "CompletedLockScroll";
256
- } | {
257
- readonly _tag: "CompletedUnlockScroll";
258
- } | {
259
- readonly _tag: "CompletedInertOthers";
260
- } | {
261
- readonly _tag: "CompletedRestoreInert";
262
- } | {
263
- readonly _tag: "CompletedScrollIntoView";
264
- } | {
265
- readonly _tag: "CompletedClickItem";
266
- } | {
267
- readonly _tag: "Opened";
268
- readonly maybeActiveItemIndex: Option.Option<number>;
269
- } | {
270
- readonly _tag: "BlurredInput";
271
- } | {
272
- readonly _tag: "ActivatedItem";
273
- readonly index: number;
274
- readonly activationTrigger: "Pointer" | "Keyboard";
275
- readonly maybeImmediateSelection: Option.Option<{
276
- readonly item: string;
277
- readonly displayText: string;
278
- }>;
279
- } | {
280
- readonly _tag: "SelectedItem";
281
- readonly item: string;
282
- readonly displayText: string;
283
- } | {
284
- readonly _tag: "MovedPointerOverItem";
285
- readonly index: number;
286
- readonly screenX: number;
287
- readonly screenY: number;
288
- } | {
289
- readonly _tag: "RequestedItemClick";
290
- readonly index: number;
291
- } | {
292
- readonly _tag: "CompletedFocusInput";
293
- } | {
294
- readonly _tag: "CompletedAnchorCombobox";
295
- } | {
296
- readonly _tag: "CompletedAttachComboboxPreventBlur";
297
- } | {
298
- readonly _tag: "CompletedAttachComboboxSelectOnFocus";
299
- } | {
300
- readonly _tag: "CompletedPortalComboboxBackdrop";
301
- } | {
302
- readonly _tag: "GotAnimationMessage";
303
- readonly message: {
304
- readonly _tag: "Showed";
305
- } | {
306
- readonly _tag: "Hid";
307
- } | {
308
- readonly _tag: "AdvancedAnimationFrame";
309
- } | {
310
- readonly _tag: "EndedAnimation";
311
- };
312
- } | {
313
- readonly _tag: "UpdatedInputValue";
314
- readonly value: string;
315
- } | {
316
- readonly _tag: "PressedToggleButton";
317
- }, never, never>;
318
- }>[], Option.Option<Readonly<{
319
- readonly _tag: "Selected";
320
- readonly value: string;
321
- readonly wasAdded: boolean;
322
- }>>];
323
- /** The anchor-positioning Mount this Combobox renders on its items panel.
324
- * The panel is always anchored to the input wrapper via Floating UI and
325
- * portaled to the document body (opt out of portaling with
326
- * `anchor.portal: false`), so it escapes ancestor stacking contexts and
327
- * overflow clipping. The Mount also installs the `pointerdown`-cancelling
328
- * capture listener that prevents input blur on item presses. Exposed so
329
- * Scene tests can call
330
- * `Scene.Mount.resolve(AnchorCombobox, CompletedAnchorCombobox())`. */
331
- export declare const AnchorCombobox: Mount.MountDefinitionWithArgs<"AnchorCombobox", {
332
- buttonId: S.String;
333
- anchor: S.Struct<{
334
- readonly placement: S.optional<S.Literals<readonly ["top", "right", "bottom", "left", "top-start", "top-end", "right-start", "right-end", "bottom-start", "bottom-end", "left-start", "left-end"]>>;
335
- readonly gap: S.optional<S.Number>;
336
- readonly offset: S.optional<S.Number>;
337
- readonly padding: S.optional<S.Number>;
338
- readonly portal: S.optional<S.Boolean>;
339
- }>;
340
- }, {
341
- readonly _tag: "CompletedAnchorCombobox";
342
- }>;
343
- /** The Mount this Combobox renders to install a `pointerdown`-cancelling
344
- * capture listener that prevents blur on item presses. Exposed so Scene
345
- * tests can call
346
- * `Scene.Mount.resolve(AttachComboboxPreventBlur, CompletedAttachComboboxPreventBlur())`. */
347
- export declare const AttachComboboxPreventBlur: Mount.MountDefinitionNoArgs<"AttachComboboxPreventBlur", {
348
- readonly _tag: "CompletedAttachComboboxPreventBlur";
349
- }>;
350
- /** The Mount this Combobox renders to install the input's select-on-focus
351
- * behavior. Exposed so Scene tests can call
352
- * `Scene.Mount.resolve(AttachComboboxSelectOnFocus, CompletedAttachComboboxSelectOnFocus())`. */
353
- export declare const AttachComboboxSelectOnFocus: Mount.MountDefinitionNoArgs<"AttachComboboxSelectOnFocus", {
354
- readonly _tag: "CompletedAttachComboboxSelectOnFocus";
355
- }>;
356
- /** The backdrop-portaling Mount this Combobox renders. Exposed so Scene tests can
357
- * call `Scene.Mount.resolve(PortalComboboxBackdrop, CompletedPortalComboboxBackdrop())` to
358
- * acknowledge the mount produced by the rendered backdrop. */
359
- export declare const PortalComboboxBackdrop: Mount.MountDefinitionNoArgs<"PortalComboboxBackdrop", {
360
- readonly _tag: "CompletedPortalComboboxBackdrop";
361
- }>;
362
- /** Configuration for an individual combobox item's appearance. */
363
- export type ItemConfig = Readonly<{
364
- className?: string;
365
- content: Html;
366
- }>;
367
- /** Configuration for a group heading rendered above a group of items. */
368
- export type GroupHeading = Readonly<{
369
- content: Html;
370
- className?: string;
371
- }>;
372
- /** Per-render view inputs passed to `view` via `h.submodel`'s `viewInputs` field.
373
- *
374
- * The Combobox emits a `Selected({ value, wasAdded })` OutMessage on
375
- * commit (single-select always `wasAdded: true`, multi-select toggles).
376
- * Consumers pattern-match this in their `GotComboboxMessage` handler. */
377
- export type BaseViewInputs<Item extends string> = Readonly<{
378
- items: ReadonlyArray<Item>;
379
- itemToConfig: (item: Item, context: Readonly<{
380
- isActive: boolean;
381
- isDisabled: boolean;
382
- isSelected: boolean;
383
- }>) => ItemConfig;
384
- itemToValue: (item: Item, index: number) => Item;
385
- itemToDisplayText: (item: Item, index: number) => string;
386
- isItemDisabled?: (item: Item, index: number) => boolean;
387
- inputClassName?: string;
388
- inputAttributes?: ReadonlyArray<ChildAttribute>;
389
- inputPlaceholder?: string;
390
- inputWrapperClassName?: string;
391
- inputWrapperAttributes?: ReadonlyArray<ChildAttribute>;
392
- itemsClassName?: string;
393
- itemsAttributes?: ReadonlyArray<ChildAttribute>;
394
- itemsScrollClassName?: string;
395
- itemsScrollAttributes?: ReadonlyArray<ChildAttribute>;
396
- backdropClassName?: string;
397
- backdropAttributes?: ReadonlyArray<ChildAttribute>;
398
- className?: string;
399
- attributes?: ReadonlyArray<ChildAttribute>;
400
- buttonContent?: Html;
401
- buttonClassName?: string;
402
- buttonAttributes?: ReadonlyArray<ChildAttribute>;
403
- formName?: string;
404
- isDisabled?: boolean;
405
- isInvalid?: boolean;
406
- openOnFocus?: boolean;
407
- itemGroupKey?: (item: Item, index: number) => string;
408
- groupToHeading?: (groupKey: string) => GroupHeading | undefined;
409
- groupClassName?: string;
410
- groupAttributes?: ReadonlyArray<ChildAttribute>;
411
- separatorClassName?: string;
412
- separatorAttributes?: ReadonlyArray<ChildAttribute>;
413
- anchor?: AnchorConfig;
414
- }>;
415
- /** Variant-specific view behavior injected into the shared combobox view factory. */
416
- export type ViewBehavior<Model extends BaseModel> = Readonly<{
417
- isItemSelected: (model: Model, itemValue: string) => boolean;
418
- ariaMultiSelectable: boolean;
419
- }>;
420
- /** Creates a combobox view function from variant-specific behavior. Shared rendering logic (input, items, transitions, keyboard navigation) is handled internally; only selection display varies by variant. */
421
- export declare const makeView: <Model extends BaseModel>(behavior: ViewBehavior<Model>) => <Item extends string>() => SubmodelView<Model, Message, BaseViewInputs<Item>>;
422
- //# sourceMappingURL=shared.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"shared.d.ts","sourceRoot":"","sources":["../../../src/ui/combobox/shared.ts"],"names":[],"mappings":"AAAA,OAAO,EAEL,MAAM,EAEN,MAAM,EAGN,MAAM,IAAI,CAAC,EAEZ,MAAM,QAAQ,CAAA;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