@ixfx/components 0.16.5 → 0.17.0

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 (217) hide show
  1. package/bundle/index.d.ts +4043 -1746
  2. package/bundle/index.js +1061 -204
  3. package/bundle/rolldown-runtime-CAoDHAWh.js +1 -0
  4. package/dist/ac-text.d.ts +11 -14
  5. package/dist/ac-text.js +8 -9
  6. package/dist/{ac-token-qEs3FsQv.d.ts → ac-token-CTBa93hF.d.ts} +2 -6
  7. package/dist/ac-token.d.ts +1 -1
  8. package/dist/ac-token.js +8 -9
  9. package/dist/{button-ikByJJPN.js → button-BOX1dfyd.js} +5 -7
  10. package/dist/{button-N92DKoWb.d.ts → button-DyJyyCsb.d.ts} +0 -4
  11. package/dist/button.d.ts +1 -1
  12. package/dist/button.js +1 -2
  13. package/dist/checkbox.d.ts +42 -9
  14. package/dist/checkbox.js +4 -5
  15. package/dist/{checked-select-CBUidG7n.js → checked-select-BmwqpgGr.js} +8 -10
  16. package/dist/{checked-select-CglRukbP.d.ts → checked-select-CNv5zNvR.d.ts} +0 -4
  17. package/dist/checked-select.d.ts +33 -1
  18. package/dist/checked-select.js +1 -2
  19. package/dist/{colour-picker-DwAa6RDh.js → colour-picker-D8g-bTSF.js} +6 -9
  20. package/dist/colour-picker.d.ts +1 -1
  21. package/dist/colour-picker.js +1 -2
  22. package/dist/{crumb-navigation-D3ndPgFg.js → crumb-navigation-D7dAC0H-.js} +11 -13
  23. package/dist/{crumb-navigation-BbqfmkYs.d.ts → crumb-navigation-Tm4fnsvN.d.ts} +6 -10
  24. package/dist/crumbs.d.ts +1 -1
  25. package/dist/crumbs.js +1 -2
  26. package/dist/{data-controller-DOlmqNKb.js → data-controller-q-rXRMzJ.js} +1 -2
  27. package/dist/data-display.d.ts +5 -8
  28. package/dist/data-display.js +3 -4
  29. package/dist/{data-grid-8TsiF2ES.js → data-grid-BcO3SMac.js} +20 -23
  30. package/dist/{data-grid-CslzF16R.d.ts → data-grid-vasJtjFP.d.ts} +9 -15
  31. package/dist/data-grid.d.ts +2 -2
  32. package/dist/data-grid.js +1 -2
  33. package/dist/{data-provider-35TyWclX.js → data-provider-C6ZNAcaT.js} +1 -2
  34. package/dist/{data-provider-BAn_-oR1.d.ts → data-provider-Cq_ylpET.d.ts} +0 -2
  35. package/dist/date-input.d.ts +9 -12
  36. package/dist/date-input.js +3 -4
  37. package/dist/{decorate-VRK8rslU.js → decorate-Dxs8sFX8.js} +2 -4
  38. package/dist/{defaults-B4ePs4LB.js → defaults-_6ELsqLb.js} +2 -3
  39. package/dist/{detail-list-n1MbNbhF.d.ts → detail-list-E9WdMVbE.d.ts} +10 -16
  40. package/dist/{detail-list-w3GXKO2k.js → detail-list-vPVwE1CP.js} +17 -20
  41. package/dist/detail-list.d.ts +5 -5
  42. package/dist/detail-list.js +1 -2
  43. package/dist/{drag-ghost-DtSDvjri.js → drag-ghost-DNWu_RyN.js} +1 -2
  44. package/dist/{editable-label-rzXkjf1H.d.ts → editable-label-CiHCDlhC.d.ts} +0 -2
  45. package/dist/editable-label.d.ts +31 -1
  46. package/dist/editable-label.js +3 -4
  47. package/dist/{fallbacks-DQ_5OsmR.js → fallbacks-BPjjBoED.js} +1 -2
  48. package/dist/{flat-list-D_4y3wgn.d.ts → flat-list-CfutGqKY.d.ts} +8 -12
  49. package/dist/flat-list.d.ts +1 -1
  50. package/dist/flat-list.js +10 -11
  51. package/dist/{form-CY0nibZ5.js → form-Cxx2sO8_.js} +5 -9
  52. package/dist/{form-BGZK3jZd.d.ts → form-raTQNAWF.d.ts} +0 -4
  53. package/dist/form.d.ts +1 -1
  54. package/dist/form.js +1 -2
  55. package/dist/{grid-list-Cz2tKcNZ.js → grid-list-BHo9TBxX.js} +20 -24
  56. package/dist/{grid-list-CqYS28NY.d.ts → grid-list-Dg8hIiKO.d.ts} +9 -23
  57. package/dist/grid-list.d.ts +4 -4
  58. package/dist/grid-list.js +1 -2
  59. package/dist/{grouped-item-lister-CS4yInuw.d.ts → grouped-item-lister-1MlvJORP.d.ts} +2 -6
  60. package/dist/grouped-item-lister.d.ts +1 -1
  61. package/dist/grouped-item-lister.js +3 -4
  62. package/dist/{grouping-CUKgmkMm.d.ts → grouping-OoQ8WaKc.d.ts} +0 -2
  63. package/dist/{grouping-RYPnHkrS.js → grouping-kENdqzSV.js} +1 -2
  64. package/dist/{handle-DAXs7kbJ.js → handle-BVUWv97X.js} +1 -2
  65. package/dist/{hex-editor-Caq8vNQk.d.ts → hex-editor-BCBKRU9D.d.ts} +0 -4
  66. package/dist/{hex-editor-DiYpgIKs.js → hex-editor-DephDhuu.js} +12 -13
  67. package/dist/hex.d.ts +1 -1
  68. package/dist/hex.js +1 -2
  69. package/dist/{highlight-B-eQrhhb.js → highlight-noLHFSKZ.js} +1 -2
  70. package/dist/{icon-CDGprSdE.d.ts → icon-Bhz0c6Yf.d.ts} +0 -2
  71. package/dist/{icon-1gpwtPx8.js → icon-DvTQuylG.js} +4 -5
  72. package/dist/icons.d.ts +2 -2
  73. package/dist/icons.js +4 -5
  74. package/dist/{incr-search-Dc6gYpJG.js → incr-search-C5114RxZ.js} +14 -26
  75. package/dist/incr-search.d.ts +1 -1
  76. package/dist/incr-search.js +2 -2
  77. package/dist/{index-ZaA90u09.d.ts → index-0smh4WCH.d.ts} +3 -21
  78. package/dist/{index-VAs9akt4.d.ts → index-88ra6YHP.d.ts} +8 -22
  79. package/dist/{index-UvnoZUAo.d.ts → index-B7odjrlg.d.ts} +4 -8
  80. package/dist/{index-Bm9a9S3_.d.ts → index-CRLTVAyt.d.ts} +4 -30
  81. package/dist/{index-9ttcdwlL.d.ts → index-Cdcek1Oj.d.ts} +1 -3
  82. package/dist/index-Cn0qsz9a.d.ts +1632 -0
  83. package/dist/{index-YCDugjdu.d.ts → index-CzhYJJsx.d.ts} +7 -17
  84. package/dist/{index-CYndvTWH.d.ts → index-D6N4Lzek.d.ts} +1 -5
  85. package/dist/{index-CoqtMSd9.d.ts → index-DN6kC6an.d.ts} +1 -3
  86. package/dist/{index-DV3iaUBW2.d.ts → index-DrYQBts2.d.ts} +0 -14
  87. package/dist/{index-o-CWDt11.d.ts → index-DzocgUef.d.ts} +0 -4
  88. package/dist/{index-DN2BWctP.d.ts → index-PIrgX1bP.d.ts} +1 -7
  89. package/dist/index.d.ts +364 -491
  90. package/dist/index.js +139 -207
  91. package/dist/interaction-8Kbbf6xN.js +3 -0
  92. package/dist/{item-appearance-BjcMyauw.js → item-appearance-FRO3TRFI.js} +1 -2
  93. package/dist/{keyboard-B5xD7Fz-.js → keyboard-DMwjIYh7.js} +0 -1
  94. package/dist/{labelled-input-base-BFa4xlYV.js → labelled-input-base-KUhD02dh.js} +3 -5
  95. package/dist/{labelled-input-base-DiTme1JO.d.ts → labelled-input-base-jyr_SR6t.d.ts} +0 -2
  96. package/dist/labelled-radial-input.d.ts +4 -7
  97. package/dist/labelled-radial-input.js +5 -6
  98. package/dist/labelled-range-input.d.ts +1 -1
  99. package/dist/labelled-range-input.js +3 -4
  100. package/dist/{labelled-slider-input-FdCRi6st.js → labelled-slider-input-CfRKd5kC.js} +9 -11
  101. package/dist/labelled-slider-input.d.ts +1 -1
  102. package/dist/labelled-slider-input.js +1 -2
  103. package/dist/led.d.ts +3 -6
  104. package/dist/led.js +2 -3
  105. package/dist/list-group-header.d.ts +3 -6
  106. package/dist/list-group-header.js +3 -4
  107. package/dist/{list-native-drag-controller-CcXoS0YX.js → list-native-drag-controller-ByftBooJ.js} +5 -9
  108. package/dist/{list-native-drag-controller-D_UrXipS.d.ts → list-native-drag-controller-CgXKdmjr.d.ts} +1 -3
  109. package/dist/{list-selection-controller-D4iIrvJH.js → list-selection-controller-Dkh3m3hX.js} +3 -5
  110. package/dist/{list-selection-types-Dnamh2Lu.d.ts → list-selection-types-CKTt7Rrw.d.ts} +0 -2
  111. package/dist/{list-viewport-types-BRZsLcvp.d.ts → list-viewport-types-BJ8c6qur.d.ts} +0 -2
  112. package/dist/{menu-BX1FHxY8.js → menu-C3DhTjHx.js} +17 -27
  113. package/dist/{menu-item-oxU1VKiJ.js → menu-item-BSxhlWnW.js} +30 -15
  114. package/dist/{menu-item-bF6narIz.d.ts → menu-item-DJhaWy9z.d.ts} +10 -7
  115. package/dist/menu.d.ts +2 -2
  116. package/dist/menu.js +2 -2
  117. package/dist/{miller-BrmBywNZ.js → miller-DqDEaXqT.js} +15 -19
  118. package/dist/miller.d.ts +3 -3
  119. package/dist/miller.js +1 -2
  120. package/dist/narrowed-text.d.ts +1 -1
  121. package/dist/narrowed-text.js +8 -9
  122. package/dist/node-graph-DqEGv5QR.js +5369 -0
  123. package/dist/node-graph.d.ts +2 -0
  124. package/dist/node-graph.js +1 -0
  125. package/dist/{notification-pill-DyZydXoZ.d.ts → notification-pill-BiHEJk-o.d.ts} +0 -4
  126. package/dist/notifier.d.ts +1 -1
  127. package/dist/notifier.js +4 -5
  128. package/dist/{pan-text-CoYmt2qd.d.ts → pan-text-DKe2zinH.d.ts} +0 -2
  129. package/dist/{pan-text-CqtvjPyK.js → pan-text-DrJYKQKN.js} +3 -4
  130. package/dist/panel.d.ts +11 -14
  131. package/dist/panel.js +3 -4
  132. package/dist/{partial-keys-Ck6CiprB.js → partial-keys-D4l_ede_.js} +2 -3
  133. package/dist/{pending-BGidHppL.js → pending-Afl4LT64.js} +1 -2
  134. package/dist/plots.d.ts +1 -1
  135. package/dist/plots.js +1 -2
  136. package/dist/polar-pad.d.ts +5 -7
  137. package/dist/polar-pad.js +6 -7
  138. package/dist/{popup-D80sj2QC.js → popup-D8IxN1Eq.js} +1 -2
  139. package/dist/{prominence-DlFShic3.js → prominence-BOOQVWF-.js} +1 -2
  140. package/dist/{radial-input-KMVltQfe.js → radial-input-Cxys4TOG.js} +7 -9
  141. package/dist/{radial-input-DU6t2hYO.d.ts → radial-input-DNCSwRGF.d.ts} +1 -5
  142. package/dist/radial-input.d.ts +10 -1
  143. package/dist/radial-input.js +1 -2
  144. package/dist/range-input.d.ts +4 -6
  145. package/dist/range-input.js +5 -6
  146. package/dist/range.d.ts +4 -6
  147. package/dist/range.js +6 -7
  148. package/dist/{registry-BEtb8_wB.js → registry-DcF0fO7l.js} +1 -2
  149. package/dist/rolldown-runtime-D3KUYPsf.js +12 -0
  150. package/dist/{scroll-fade-Xx28D7mH.js → scroll-fade-DH8OXSqL.js} +1 -2
  151. package/dist/{scroll-hover-guard-Cjw6179Q.js → scroll-hover-guard-BGAjtyXT.js} +1 -2
  152. package/dist/select-horiz.d.ts +7 -9
  153. package/dist/select-horiz.js +8 -9
  154. package/dist/{slider-input-ByHdotzp.js → slider-input-C3mbUBZi.js} +6 -8
  155. package/dist/{slider-input-BxURAAmD.d.ts → slider-input-DHLGJKWF.d.ts} +1 -5
  156. package/dist/slider-input.d.ts +34 -1
  157. package/dist/slider-input.js +1 -2
  158. package/dist/snackbar.d.ts +5 -8
  159. package/dist/snackbar.js +4 -5
  160. package/dist/snap-container.d.ts +8 -11
  161. package/dist/snap-container.js +2 -3
  162. package/dist/{split-layout-DTY4PJRp.js → split-layout-BMN_s6d7.js} +10 -15
  163. package/dist/{split-layout-CophkNeU.d.ts → split-layout-HytcG1Bn.d.ts} +2 -8
  164. package/dist/split-layout.d.ts +1 -1
  165. package/dist/split-layout.js +1 -2
  166. package/dist/sunburst-tree.d.ts +1 -1
  167. package/dist/sunburst-tree.js +1 -2
  168. package/dist/{sunbursttree-list-DQF6DcsS.js → sunbursttree-list-C-FuZB5z.js} +23 -32
  169. package/dist/{sunbursttree-list-Bk20giTF.d.ts → sunbursttree-list-CsrmVSB8.d.ts} +5 -11
  170. package/dist/swipe.d.ts +7 -9
  171. package/dist/swipe.js +5 -6
  172. package/dist/{tab-list-Df371rqw.d.ts → tab-list-BXMRYJeR.d.ts} +1 -5
  173. package/dist/{tab-list-R_bGbDvO.js → tab-list-CFJy3hVm.js} +6 -15
  174. package/dist/tabs.d.ts +1 -1
  175. package/dist/tabs.js +1 -2
  176. package/dist/{tickled-controller-D-HZymaZ.js → tickled-controller-BVhGKzjZ.js} +1 -2
  177. package/dist/{tickled-controller-DodxD3eQ.d.ts → tickled-controller-DSPoG551.d.ts} +0 -2
  178. package/dist/{tickled-styles-BrAHEj1q.js → tickled-styles-pnieYweS.js} +1 -2
  179. package/dist/{timeline-BP1Ux2EV.js → timeline-Br5JIeLI.js} +9 -15
  180. package/dist/timeline.d.ts +1 -1
  181. package/dist/timeline.js +1 -2
  182. package/dist/{titlebar-Tqu-VvMU.d.ts → titlebar-BtLAF2ws.d.ts} +1 -3
  183. package/dist/titlebar.d.ts +1 -1
  184. package/dist/titlebar.js +4 -5
  185. package/dist/{tooltip-CJt3WLmN.js → tooltip-B7t_u6EY.js} +1 -2
  186. package/dist/{tooltip-BlvBUQxx.d.ts → tooltip-Bl4HpBue.d.ts} +0 -2
  187. package/dist/transitory-label.d.ts +3 -6
  188. package/dist/transitory-label.js +2 -3
  189. package/dist/{tree-BaXYyt5U.js → tree-BP5fxvEX.js} +24 -34
  190. package/dist/{tree-CftHwtEb.js → tree-DUc-iQcg.js} +2 -3
  191. package/dist/{tree-component-DgfkxmVY.d.ts → tree-component-DNuzfo6R.d.ts} +2 -8
  192. package/dist/tree.d.ts +3 -3
  193. package/dist/tree.js +1 -2
  194. package/dist/{types-LU1u0CB8.d.ts → types-16GC5k1z.d.ts} +0 -2
  195. package/dist/{types-Jky6oNAp.d.ts → types-6hpXRKt7.d.ts} +1 -3
  196. package/dist/unit-input.d.ts +11 -14
  197. package/dist/unit-input.js +3 -4
  198. package/dist/{vertical-list-o5hfqH87.js → vertical-list-B9z1lbjM.js} +13 -15
  199. package/dist/{vertical-list-DtHX26JO.d.ts → vertical-list-BzeXehBt.d.ts} +7 -13
  200. package/dist/vertical-list.d.ts +4 -4
  201. package/dist/vertical-list.js +1 -2
  202. package/dist/{view-state-controller-BdyXWUUM.js → view-state-controller-DiPAPiA7.js} +3 -6
  203. package/dist/{wheel-nudge-D5rmht3v.js → wheel-nudge-DgJzrL28.js} +2 -3
  204. package/dist/{wheel-nudge-By5s_ioH.d.ts → wheel-nudge-oMFKat9P.d.ts} +1 -3
  205. package/dist/{xy-axis-DQqd2yXJ.d.ts → xy-axis-Bf6WfOS2.d.ts} +0 -12
  206. package/dist/{xy-axis-CyMd_Bn1.js → xy-axis-CBpml-3S.js} +11 -20
  207. package/dist/xy-pad.d.ts +7 -9
  208. package/dist/xy-pad.js +6 -7
  209. package/docs-user/README.md +1 -0
  210. package/docs-user/index.json +7 -2
  211. package/docs-user/llms.txt +1 -0
  212. package/docs-user/node-graph.md +376 -0
  213. package/llms.txt +1 -0
  214. package/package.json +39 -24
  215. package/bundle/rolldown-runtime-CEoa-xHZ.js +0 -1
  216. package/dist/interaction-E-uMGHkJ.js +0 -3
  217. package/dist/rolldown-runtime-D7D4PA-g.js +0 -13
@@ -1,6 +1,5 @@
1
- import { n as WheelNudgeConsumer, t as WheelDirection } from "./wheel-nudge-By5s_ioH.js";
1
+ import { n as WheelNudgeConsumer, t as WheelDirection } from "./wheel-nudge-oMFKat9P.js";
2
2
  import { LitElement, PropertyValues } from "lit";
3
- //#region src/slider-input/types.d.ts
4
3
  /**
5
4
  * Type definitions for slider-input component
6
5
  */
@@ -87,8 +86,6 @@ interface SliderInputElementEventMap {
87
86
  input: SliderInputInputEvent;
88
87
  change: SliderInputChangeEvent;
89
88
  }
90
- //#endregion
91
- //#region src/slider-input/slider-input.d.ts
92
89
  declare const SliderInputElement_base: typeof LitElement & (new (...args: any[]) => WheelNudgeConsumer);
93
90
  declare class SliderInputElement extends SliderInputElement_base {
94
91
  #private;
@@ -168,5 +165,4 @@ declare global {
168
165
  interface SliderInputElement {
169
166
  addEventListener: (<K extends keyof SliderInputElementEventMap>(type: K, listener: (this: SliderInputElement, event: SliderInputElementEventMap[K]) => void, options?: boolean | AddEventListenerOptions) => void) & ((type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions) => void);
170
167
  }
171
- //#endregion
172
168
  export { SliderValueMode as _, SliderInputChangeDetail as a, SliderInputInputDetail as c, SliderLaneType as d, SliderMarkerStyle as f, SliderValueDrag as g, SliderValueCFollow as h, SliderHandleKey as i, SliderInputInputEvent as l, SliderSingleStyle as m, SliderChangedField as n, SliderInputChangeEvent as o, SliderOrientation as p, SliderCrossover as r, SliderInputElementEventMap as s, SliderInputElement as t, SliderLaneData as u };
@@ -1,2 +1,35 @@
1
- import { t as SliderInputElement } from "./slider-input-BxURAAmD.js";
1
+ /**
2
+ * <ixfx-slider-input> — linear SVG-based slider.
3
+ *
4
+ * Mirrors `ixfx-radial-input` as closely as possible, swapping arc geometry
5
+ * for a linear track. Supports horizontal and vertical orientations, three
6
+ * value modes (single/dual/triple), triple-segment "value" lanes, and
7
+ * `value-drag` length-drag gestures for dual/triple modes.
8
+ *
9
+ * Attributes / properties
10
+ * value-a, value-b, value-c — primary/secondary/tertiary handle values
11
+ * min, max — value range
12
+ * step, stops — keyboard/wheel/pointer step resolution
13
+ * value-mode — 'single' | 'dual' | 'triple'
14
+ * single-style — 'range' | 'bipolar' | 'unipolar' (single mode only)
15
+ * orientation — 'horizontal' | 'vertical'
16
+ * marker-style — 'needle' | 'dot' | 'none'
17
+ * crossover — 'none' | 'allow' (dual/triple modes)
18
+ * value-drag — 'none' | 'stop' | 'flex' (dual/triple modes)
19
+ * value-min — minimum gap between A and B (dual/triple modes)
20
+ * disabled — boolean
21
+ * lighttouch — boolean — wheel adjusts value on hover instead of requiring focus
22
+ * swipeable — boolean — swipe-to-draw gesture (no pointer capture,
23
+ * enter/move with buttons pressed sets value, for
24
+ * step-sequencer layouts; mirrors ixfx-range-input)
25
+ *
26
+ * Events
27
+ * input — fires continuously during user interaction
28
+ * change — debounced 150ms after interaction; immediate for programmatic
29
+ *
30
+ * Mouse wheel (via WheelNudgeMixin): up = increase, down = decrease. In multi-handle
31
+ * modes wheel targets the last-interacted-with handle (focus or pointerdown).
32
+ * Shift+wheel halves the step. See docs/infra-mousewheel.md.
33
+ */
34
+ import { t as SliderInputElement } from "./slider-input-DHLGJKWF.js";
2
35
  export { SliderInputElement };
@@ -1,2 +1 @@
1
- import { t as SliderInputElement } from "./slider-input-ByHdotzp.js";
2
- export { SliderInputElement };
1
+ export { t as SliderInputElement } from "./slider-input-C3mbUBZi.js";
@@ -1,15 +1,14 @@
1
1
  import { LitElement } from "lit";
2
- //#region src/snackbar/snackbar.d.ts
3
- type SnackbarMode = `explicit` | `manual` | `implicit`;
4
- type SnackbarPlacement = `top` | `bottom` | `left` | `right`;
5
- type SnackbarDismiss = `auto` | `manual`;
2
+ export type SnackbarMode = `explicit` | `manual` | `implicit`;
3
+ export type SnackbarPlacement = `top` | `bottom` | `left` | `right`;
4
+ export type SnackbarDismiss = `auto` | `manual`;
6
5
  /**
7
6
  * `ixfx-snackbar` is itself the popover panel (`popover="auto"` set on the host) -
8
7
  * unlike `ixfx-menu-trigger`/`ixfx-colour-picker-popup` there's no separate always-visible
9
8
  * trigger living inside the component to keep out of the top layer; the trigger is the
10
9
  * external `for` target, so the whole host can be the popover content.
11
10
  */
12
- declare class SnackbarElement extends LitElement {
11
+ export declare class SnackbarElement extends LitElement {
13
12
  for: string;
14
13
  mode: SnackbarMode;
15
14
  placement: SnackbarPlacement;
@@ -52,6 +51,4 @@ declare global {
52
51
  interface HTMLElementTagNameMap {
53
52
  'ixfx-snackbar': SnackbarElement;
54
53
  }
55
- }
56
- //#endregion
57
- export { SnackbarDismiss, SnackbarElement, SnackbarMode, SnackbarPlacement };
54
+ }
package/dist/snackbar.js CHANGED
@@ -1,9 +1,9 @@
1
- import { t as themeFallbacks } from "./fallbacks-DQ_5OsmR.js";
2
- import { t as popupSurfaceStyles } from "./popup-D80sj2QC.js";
3
- import { n as safeCustomElement, t as __decorate } from "./decorate-VRK8rslU.js";
1
+ import { t as themeFallbacks } from "./fallbacks-BPjjBoED.js";
2
+ import { t as popupSurfaceStyles } from "./popup-D8IxN1Eq.js";
3
+ import { n as safeCustomElement, t as __decorate } from "./decorate-Dxs8sFX8.js";
4
4
  import { LitElement, css, html } from "lit";
5
5
  import { property, state } from "lit/decorators.js";
6
- //#region src/snackbar/snackbar.ts
6
+ // src/snackbar/snackbar.ts
7
7
  let _instanceCounter = 0;
8
8
  let SnackbarElement = class SnackbarElement extends LitElement {
9
9
  constructor(..._args) {
@@ -259,5 +259,4 @@ __decorate([property({
259
259
  })], SnackbarElement.prototype, "hideDelay", void 0);
260
260
  __decorate([state()], SnackbarElement.prototype, "_isOpen", void 0);
261
261
  SnackbarElement = __decorate([safeCustomElement(`ixfx-snackbar`)], SnackbarElement);
262
- //#endregion
263
262
  export { SnackbarElement };
@@ -1,8 +1,7 @@
1
1
  import { LitElement, html } from "lit";
2
- //#region src/snap-container/snap-container.d.ts
3
- type SnapLogic = `centre` | `balanced`;
4
- type ClickSnapMode = `closest` | `step`;
5
- declare class SnapContainer extends LitElement {
2
+ export type SnapLogic = `centre` | `balanced`;
3
+ export type ClickSnapMode = `closest` | `step`;
4
+ export declare class SnapContainer extends LitElement {
6
5
  static styles: import("lit").CSSResult;
7
6
  orientation: `horizontal` | `vertical`;
8
7
  snapPositions: number;
@@ -29,19 +28,17 @@ declare class SnapContainer extends LitElement {
29
28
  updated(changedProperties: Map<string, unknown>): void;
30
29
  render(): ReturnType<typeof html>;
31
30
  }
32
- type SnapChangeDetail = {
31
+ export type SnapChangeDetail = {
33
32
  readonly previousSnap: number;
34
33
  readonly newSnap: number;
35
34
  };
36
- type SnapChangeEvent = CustomEvent<SnapChangeDetail>;
37
- type SnapInputDetail = {
35
+ export type SnapChangeEvent = CustomEvent<SnapChangeDetail>;
36
+ export type SnapInputDetail = {
38
37
  readonly index: number;
39
38
  };
40
- type SnapInputEvent = CustomEvent<SnapInputDetail>;
39
+ export type SnapInputEvent = CustomEvent<SnapInputDetail>;
41
40
  declare global {
42
41
  interface HTMLElementTagNameMap {
43
42
  'ixfx-snap-container': SnapContainer;
44
43
  }
45
- }
46
- //#endregion
47
- export { ClickSnapMode, SnapChangeDetail, SnapChangeEvent, SnapContainer, SnapInputDetail, SnapInputEvent, SnapLogic };
44
+ }
@@ -1,7 +1,7 @@
1
- import { n as safeCustomElement, t as __decorate } from "./decorate-VRK8rslU.js";
1
+ import { n as safeCustomElement, t as __decorate } from "./decorate-Dxs8sFX8.js";
2
2
  import { LitElement, css, html } from "lit";
3
3
  import { property, state } from "lit/decorators.js";
4
- //#region src/snap-container/snap-container.ts
4
+ // src/snap-container/snap-container.ts
5
5
  let SnapContainer = class SnapContainer extends LitElement {
6
6
  constructor(..._args) {
7
7
  super(..._args);
@@ -292,5 +292,4 @@ __decorate([property({
292
292
  __decorate([property({ type: Number })], SnapContainer.prototype, "snap", void 0);
293
293
  __decorate([state()], SnapContainer.prototype, "_dragging", void 0);
294
294
  SnapContainer = __decorate([safeCustomElement(`ixfx-snap-container`)], SnapContainer);
295
- //#endregion
296
295
  export { SnapContainer };
@@ -1,11 +1,11 @@
1
- import { t as themeFallbacks } from "./fallbacks-DQ_5OsmR.js";
2
- import { n as safeCustomElement, t as __decorate } from "./decorate-VRK8rslU.js";
3
- import { t as handleStyles } from "./handle-DAXs7kbJ.js";
4
- import { r as MAX_PENDING_KEYS } from "./pending-BGidHppL.js";
5
- import { t as ViewStateController } from "./view-state-controller-BdyXWUUM.js";
1
+ import { t as themeFallbacks } from "./fallbacks-BPjjBoED.js";
2
+ import { t as handleStyles } from "./handle-BVUWv97X.js";
3
+ import { n as safeCustomElement, t as __decorate } from "./decorate-Dxs8sFX8.js";
4
+ import { r as MAX_PENDING_KEYS } from "./pending-Afl4LT64.js";
5
+ import { t as ViewStateController } from "./view-state-controller-DiPAPiA7.js";
6
6
  import { LitElement, css, html, nothing } from "lit";
7
7
  import { property, query, state } from "lit/decorators.js";
8
- //#region src/split-layout/split-drag.ts
8
+ // src/split-layout/split-drag.ts
9
9
  function createDragMachine(handlers) {
10
10
  let state = null;
11
11
  let rafId = null;
@@ -61,8 +61,7 @@ function createDragMachine(handlers) {
61
61
  getState: () => state
62
62
  };
63
63
  }
64
- //#endregion
65
- //#region src/split-layout/split-model.ts
64
+ // src/split-layout/split-model.ts
66
65
  let panelIdCounter = 0;
67
66
  let groupIdCounter = 0;
68
67
  function generatePanelId() {
@@ -390,8 +389,7 @@ function walkInner(node, path, visitor) {
390
389
  visitor(node, path);
391
390
  if (node.kind === `group`) for (let i = 0; i < node.children.length; i++) walkInner(node.children[i], [...path, i], visitor);
392
391
  }
393
- //#endregion
394
- //#region src/split-layout/split-view-state.ts
392
+ // src/split-layout/split-view-state.ts
395
393
  const EMPTY_ENTRIES = /* @__PURE__ */ new Map();
396
394
  /** Whether `node` has an author-given id (and can therefore carry view state). */
397
395
  function isKeyed(node) {
@@ -547,8 +545,7 @@ function mergeShares(children, shares) {
547
545
  };
548
546
  });
549
547
  }
550
- //#endregion
551
- //#region src/split-layout/split-panel.ts
548
+ // src/split-layout/split-panel.ts
552
549
  let SplitPanelElement = class SplitPanelElement extends LitElement {
553
550
  constructor(..._args) {
554
551
  super(..._args);
@@ -599,8 +596,7 @@ __decorate([property({
599
596
  })], SplitPanelElement.prototype, "collapsed", void 0);
600
597
  __decorate([property({ type: String })], SplitPanelElement.prototype, "snap", void 0);
601
598
  SplitPanelElement = __decorate([safeCustomElement(`ixfx-split-panel`)], SplitPanelElement);
602
- //#endregion
603
- //#region src/split-layout/split-layout.ts
599
+ // src/split-layout/split-layout.ts
604
600
  let SplitLayoutElement = class SplitLayoutElement extends LitElement {
605
601
  constructor(..._args) {
606
602
  super(..._args);
@@ -1254,5 +1250,4 @@ function isOwnAttributeChange(host, record) {
1254
1250
  if (target !== host && target.parentElement !== host) return false;
1255
1251
  return target.getAttribute(record.attributeName) !== record.oldValue;
1256
1252
  }
1257
- //#endregion
1258
1253
  export { distribute as a, preserveRestoreWeights as c, toSnapshot as d, walk as f, buildModel as i, resolveTracks as l, SplitPanelElement as n, findPanelNode as o, applySnapshot as r, normalise as s, SplitLayoutElement as t, setPanelRestoreWeight as u };
@@ -1,7 +1,6 @@
1
- import { a as ViewStateBase, t as GetViewStateOptions } from "./types-LU1u0CB8.js";
2
- import "./index-9ttcdwlL.js";
1
+ import { a as ViewStateBase, t as GetViewStateOptions } from "./types-16GC5k1z.js";
2
+ import "./index-Cdcek1Oj.js";
3
3
  import { LitElement, nothing } from "lit";
4
- //#region src/split-layout/types.d.ts
5
4
  type Axis = `row` | `column`;
6
5
  type WhenSmall = `prevent` | `collapse` | `close`;
7
6
  interface PanelNode {
@@ -97,8 +96,6 @@ interface SplitLayoutElementEventMap {
97
96
  'ixfx-split-close': SplitCloseEvent;
98
97
  'ixfx-split-change': SplitChangeEvent;
99
98
  }
100
- //#endregion
101
- //#region src/split-layout/split-panel.d.ts
102
99
  declare class SplitPanelElement extends LitElement {
103
100
  id: string;
104
101
  size: string;
@@ -117,8 +114,6 @@ declare global {
117
114
  'ixfx-split-panel': SplitPanelElement;
118
115
  }
119
116
  }
120
- //#endregion
121
- //#region src/split-layout/split-layout.d.ts
122
117
  declare class SplitLayoutElement extends LitElement {
123
118
  #private;
124
119
  direction: Axis;
@@ -212,5 +207,4 @@ declare global {
212
207
  'ixfx-split-change': CustomEvent<SplitChangeDetail>;
213
208
  }
214
209
  }
215
- //#endregion
216
210
  export { WhenSmall as C, SplitResizeEvent as S, SplitExpandEvent as _, LayoutNode as a, SplitPanelViewState as b, PanelNode as c, SplitChangeEvent as d, SplitCloseDetail as f, SplitExpandDetail as g, SplitCollapseEvent as h, GroupNode as i, SnapshotNode as l, SplitCollapseDetail as m, SplitPanelElement as n, LayoutSnapshot as o, SplitCloseEvent as p, Axis as r, PanelInfo as s, SplitLayoutElement as t, SplitChangeDetail as u, SplitLayoutElementEventMap as v, SplitResizeDetail as x, SplitLayoutViewState as y };
@@ -1,2 +1,2 @@
1
- import { t as SplitLayoutElement } from "./split-layout-CophkNeU.js";
1
+ import { t as SplitLayoutElement } from "./split-layout-HytcG1Bn.js";
2
2
  export { SplitLayoutElement };
@@ -1,2 +1 @@
1
- import { t as SplitLayoutElement } from "./split-layout-DTY4PJRp.js";
2
- export { SplitLayoutElement };
1
+ export { t as SplitLayoutElement } from "./split-layout-BMN_s6d7.js";
@@ -1,2 +1,2 @@
1
- import { a as SunburstViewState, i as SunburstZoomEvent, n as SunburstTreeListElementEventMap, r as SunburstZoomDetail, t as SunburstTreeListElement } from "./sunbursttree-list-Bk20giTF.js";
1
+ import { a as SunburstViewState, i as SunburstZoomEvent, n as SunburstTreeListElementEventMap, r as SunburstZoomDetail, t as SunburstTreeListElement } from "./sunbursttree-list-CsrmVSB8.js";
2
2
  export { SunburstTreeListElement, SunburstTreeListElementEventMap, type SunburstViewState, SunburstZoomDetail, SunburstZoomEvent };
@@ -1,2 +1 @@
1
- import { t as SunburstTreeListElement } from "./sunbursttree-list-DQF6DcsS.js";
2
- export { SunburstTreeListElement };
1
+ export { t as SunburstTreeListElement } from "./sunbursttree-list-C-FuZB5z.js";
@@ -1,41 +1,40 @@
1
- import { t as TickledController } from "./tickled-controller-D-HZymaZ.js";
2
- import { t as themeFallbacks } from "./fallbacks-DQ_5OsmR.js";
3
- import { n as safeCustomElement, t as __decorate } from "./decorate-VRK8rslU.js";
4
- import { i as ListSearchController, n as listSearchStyles, o as registerListSearchCommands, r as LIST_SEARCH_MODES, t as createTreeListSearchAdapter } from "./incr-search-Dc6gYpJG.js";
5
- import { a as capKeys, l as keysToArray, n as EMPTY_KEYS } from "./pending-BGidHppL.js";
6
- import { t as collectDataResult } from "./data-provider-35TyWclX.js";
7
- import { t as ViewStateController } from "./view-state-controller-BdyXWUUM.js";
8
- import { a as resolveKeyPath } from "./tree-CftHwtEb.js";
1
+ import { t as collectDataResult } from "./data-provider-C6ZNAcaT.js";
2
+ import { a as resolveKeyPath } from "./tree-DUc-iQcg.js";
3
+ import { i as ListSearchController, n as listSearchStyles, o as registerListSearchCommands, r as LIST_SEARCH_MODES, t as createTreeListSearchAdapter } from "./incr-search-C5114RxZ.js";
4
+ import { t as TickledController } from "./tickled-controller-BVhGKzjZ.js";
5
+ import { a as capKeys, l as keysToArray, n as EMPTY_KEYS } from "./pending-Afl4LT64.js";
6
+ import { t as themeFallbacks } from "./fallbacks-BPjjBoED.js";
7
+ import { t as ViewStateController } from "./view-state-controller-DiPAPiA7.js";
8
+ import { n as safeCustomElement, t as __decorate } from "./decorate-Dxs8sFX8.js";
9
9
  import { LitElement, css, html, nothing, svg } from "lit";
10
10
  import { property, state } from "lit/decorators.js";
11
11
  import { createCommandRegistry } from "@clinth/ui-commands";
12
12
  import { repeat } from "lit/directives/repeat.js";
13
- //#region src/sunburst-tree/types.ts
13
+ // src/sunburst-tree/types.ts
14
14
  /** Ids are key paths; keys only need to be unique among siblings. */
15
15
  const SUNBURST_PATH_SEPARATOR = `\u001F`;
16
- //#endregion
17
- //#region src/sunburst-tree/layout.ts
16
+ // src/sunburst-tree/layout.ts
18
17
  /** Default accessor: the shared `TreeItem.weight` field. */
19
18
  const defaultSunburstValueAccessor = (item) => item.weight;
20
19
  /** Id of the child `key` under `parentId`. */
21
20
  function sunburstChildId(parentId, key) {
22
- return `${parentId}${SUNBURST_PATH_SEPARATOR}${key}`;
21
+ return `${parentId}${key}`;
23
22
  }
24
23
  /** Join a key path (root key first) into an id. */
25
24
  function sunburstPathToId(path) {
26
- return path.join(SUNBURST_PATH_SEPARATOR);
25
+ return path.join("");
27
26
  }
28
27
  /** True when `ancestorId` is a strict ancestor of `id`. */
29
28
  function isSunburstAncestorId(ancestorId, id) {
30
- return id.startsWith(`${ancestorId}${SUNBURST_PATH_SEPARATOR}`);
29
+ return id.startsWith(`${ancestorId}`);
31
30
  }
32
31
  /** Split an id back into its key path. */
33
32
  function sunburstIdToPath(id) {
34
- return id.split(SUNBURST_PATH_SEPARATOR);
33
+ return id.split("");
35
34
  }
36
35
  /** Parent id, or `undefined` for the root id. */
37
36
  function sunburstParentId(id) {
38
- const at = id.lastIndexOf(SUNBURST_PATH_SEPARATOR);
37
+ const at = id.lastIndexOf("");
39
38
  return at < 0 ? void 0 : id.slice(0, at);
40
39
  }
41
40
  /** Resolve an id (key path from the root, root key included) to a node. */
@@ -151,8 +150,7 @@ function computeSunburstLayout(root, options = {}) {
151
150
  }
152
151
  return out;
153
152
  }
154
- //#endregion
155
- //#region src/sunburst-tree/geometry.ts
153
+ // src/sunburst-tree/geometry.ts
156
154
  const TAU = Math.PI * 2;
157
155
  /** Spans at least this close to a full turn are drawn as full rings. */
158
156
  const FULL_TURN = 1 - 1e-6;
@@ -336,8 +334,7 @@ function computeTargets(input) {
336
334
  }
337
335
  return targets;
338
336
  }
339
- //#endregion
340
- //#region src/sunburst-tree/keyboard.ts
337
+ // src/sunburst-tree/keyboard.ts
341
338
  /**
342
339
  * Id the cursor moves to for `key`, or `undefined` when the key isn't a
343
340
  * navigation key or there's nowhere to go. With no current arc, any
@@ -353,7 +350,7 @@ function sunburstKeyTarget(arcs, currentId, key) {
353
350
  `ArrowRight`,
354
351
  `ArrowUp`,
355
352
  `ArrowDown`
356
- ].includes(key)) return void 0;
353
+ ].includes(key)) return;
357
354
  if (!current) return arcs[0].id;
358
355
  switch (key) {
359
356
  case `ArrowLeft`:
@@ -365,8 +362,7 @@ function sunburstKeyTarget(arcs, currentId, key) {
365
362
  default: return arcs.find((a) => a.parentId === current.id)?.id;
366
363
  }
367
364
  }
368
- //#endregion
369
- //#region src/sunburst-tree/render.ts
365
+ // src/sunburst-tree/render.ts
370
366
  function renderSunburstLabels(input) {
371
367
  const labels = [];
372
368
  const guides = [];
@@ -404,8 +400,7 @@ function renderSunburstReadout(zoom, tickled, rings, fontSize, formatter) {
404
400
  <text class="center-meta" y=${(line / 2).toFixed(2)}>${formatter(shown.value, shown.node)}${share}</text>
405
401
  </g>`;
406
402
  }
407
- //#endregion
408
- //#region src/sunburst-tree/styles.ts
403
+ // src/sunburst-tree/styles.ts
409
404
  /**
410
405
  * Shadow-DOM styles for `ixfx-sunbursttree-list`.
411
406
  *
@@ -528,8 +523,7 @@ const sunburstTreeStyles = css`
528
523
  font-size: var(--text-s);
529
524
  }
530
525
  `;
531
- //#endregion
532
- //#region src/sunburst-tree/sunburst-view-state.ts
526
+ // src/sunburst-tree/sunburst-view-state.ts
533
527
  /** Index the loaded tree by id, node and key. */
534
528
  function indexSunburstTree(root) {
535
529
  const byId = /* @__PURE__ */ new Map();
@@ -620,8 +614,7 @@ function reconcileSunburstSelection(input) {
620
614
  changed: true
621
615
  };
622
616
  }
623
- //#endregion
624
- //#region src/sunburst-tree/tween.ts
617
+ // src/sunburst-tree/tween.ts
625
618
  function easeInOutCubic(t) {
626
619
  return t < .5 ? 4 * t * t * t : 1 - (-2 * t + 2) ** 3 / 2;
627
620
  }
@@ -695,8 +688,7 @@ function sameTargets(a, b) {
695
688
  }
696
689
  return true;
697
690
  }
698
- //#endregion
699
- //#region src/sunburst-tree/sunbursttree-list.ts
691
+ // src/sunburst-tree/sunbursttree-list.ts
700
692
  const defaultFormatter = (value) => value.toLocaleString(void 0, { maximumFractionDigits: 2 });
701
693
  let instanceCount = 0;
702
694
  /** Size used before the element has been measured (and in DOM-less tests). */
@@ -1552,5 +1544,4 @@ __decorate([state()], SunburstTreeListElement.prototype, "_zoomId", void 0);
1552
1544
  __decorate([property({ attribute: false })], SunburstTreeListElement.prototype, "restoreLoads", void 0);
1553
1545
  __decorate([state()], SunburstTreeListElement.prototype, "_size", void 0);
1554
1546
  SunburstTreeListElement = __decorate([safeCustomElement(`ixfx-sunbursttree-list`)], SunburstTreeListElement);
1555
- //#endregion
1556
1547
  export { findSunburstId as a, sunburstChildId as c, sunburstParentId as d, sunburstPathToId as f, defaultSunburstValueAccessor as i, sunburstHasChildren as l, computeSunburstLayout as n, findSunburstNodeById as o, SUNBURST_PATH_SEPARATOR as p, createValueResolver as r, isSunburstAncestorId as s, SunburstTreeListElement as t, sunburstIdToPath as u };
@@ -1,11 +1,10 @@
1
- import { C as TreeItemDblClickEvent, E as TreeSearchHost, M as TreeDataModel, a as TreeComponent, i as TreeCollapseEvent, j as TreeTickleEvent, k as TreeSelectEvent, n as TreeActivateEvent, o as TreeComponentEventMap, x as TreeItemClickEvent, y as TreeExpandEvent } from "./tree-component-DgfkxmVY.js";
2
- import { a as TreeItem, n as TreeExclusivity, o as TreeNode, r as TreeFilterPredicate, s as TreeSelectionFilter, t as LoadChildrenCallback } from "./types-Jky6oNAp.js";
3
- import { a as ViewStateBase, t as GetViewStateOptions } from "./types-LU1u0CB8.js";
4
- import "./index-9ttcdwlL.js";
5
- import { S as ListSearchController } from "./index-Bm9a9S3_.js";
1
+ import { C as TreeItemDblClickEvent, E as TreeSearchHost, M as TreeDataModel, a as TreeComponent, i as TreeCollapseEvent, j as TreeTickleEvent, k as TreeSelectEvent, n as TreeActivateEvent, o as TreeComponentEventMap, x as TreeItemClickEvent, y as TreeExpandEvent } from "./tree-component-DNuzfo6R.js";
2
+ import { a as TreeItem, n as TreeExclusivity, o as TreeNode, r as TreeFilterPredicate, s as TreeSelectionFilter, t as LoadChildrenCallback } from "./types-6hpXRKt7.js";
3
+ import { a as ViewStateBase, t as GetViewStateOptions } from "./types-16GC5k1z.js";
4
+ import "./index-Cdcek1Oj.js";
5
+ import { S as ListSearchController } from "./index-CRLTVAyt.js";
6
6
  import { LitElement, PropertyValues } from "lit";
7
7
  import { CommandRegistry } from "@clinth/ui-commands";
8
- //#region src/sunburst-tree/types.d.ts
9
8
  /**
10
9
  * Value accessor — returns the magnitude of a node, branches included.
11
10
  *
@@ -121,8 +120,6 @@ type SunburstLabelPlacement = {
121
120
  };
122
121
  /** Ids are key paths; keys only need to be unique among siblings. */
123
122
  declare const SUNBURST_PATH_SEPARATOR = "";
124
- //#endregion
125
- //#region src/sunburst-tree/sunburst-view-state.d.ts
126
123
  /**
127
124
  * Pure helpers behind `ixfx-sunbursttree-list` view state. Arcs are
128
125
  * identified by key *path* (keys need only be unique among siblings), so live
@@ -139,8 +136,6 @@ type SunburstViewState = ViewStateBase & {
139
136
  */
140
137
  readonly zoom?: readonly string[];
141
138
  };
142
- //#endregion
143
- //#region src/sunburst-tree/sunbursttree-list.d.ts
144
139
  /** Fired when the zoom root changes. `node` is `undefined` on zoom-out to the full tree. */
145
140
  type SunburstZoomDetail = {
146
141
  readonly node: TreeNode | undefined;
@@ -299,5 +294,4 @@ interface SunburstTreeListElement {
299
294
  addEventListener: (<K extends keyof SunburstTreeListElementEventMap>(type: K, listener: (this: SunburstTreeListElement, event: SunburstTreeListElementEventMap[K]) => void, options?: boolean | AddEventListenerOptions) => void) & ((type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions) => void);
300
295
  removeEventListener: (<K extends keyof SunburstTreeListElementEventMap>(type: K, listener: (this: SunburstTreeListElement, event: SunburstTreeListElementEventMap[K]) => void, options?: boolean | EventListenerOptions) => void) & ((type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions) => void);
301
296
  }
302
- //#endregion
303
297
  export { SunburstViewState as a, SunburstArcVisual as c, SunburstLayout as d, SunburstLayoutNode as f, SunburstView as g, SunburstValueFormatter as h, SunburstZoomEvent as i, SunburstInteractionMode as l, SunburstValueAccessor as m, SunburstTreeListElementEventMap as n, ComputeSunburstLayoutOptions as o, SunburstRings as p, SunburstZoomDetail as r, SUNBURST_PATH_SEPARATOR as s, SunburstTreeListElement as t, SunburstLabelPlacement as u };
package/dist/swipe.d.ts CHANGED
@@ -1,14 +1,13 @@
1
- import { n as WheelNudgeConsumer, t as WheelDirection } from "./wheel-nudge-By5s_ioH.js";
1
+ import { n as WheelNudgeConsumer, t as WheelDirection } from "./wheel-nudge-oMFKat9P.js";
2
2
  import { CSSResultGroup, LitElement, html } from "lit";
3
- //#region src/swipe/swipe.d.ts
4
- type SwipeInputDetail = {
3
+ export type SwipeInputDetail = {
5
4
  readonly value: number;
6
5
  };
7
- type SwipeInputEvent = CustomEvent<SwipeInputDetail>;
8
- interface SwipeElementEventMap {
6
+ export type SwipeInputEvent = CustomEvent<SwipeInputDetail>;
7
+ export interface SwipeElementEventMap {
9
8
  input: SwipeInputEvent;
10
9
  }
11
- interface SwipeElement {
10
+ export interface SwipeElement {
12
11
  addEventListener: (<K extends keyof SwipeElementEventMap>(type: K, listener: (this: SwipeElement, event: SwipeElementEventMap[K]) => void, options?: boolean | AddEventListenerOptions) => void) & ((type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions) => void);
13
12
  }
14
13
  declare global {
@@ -17,7 +16,7 @@ declare global {
17
16
  }
18
17
  }
19
18
  declare const SwipeElement_base: typeof LitElement & (new (...args: any[]) => WheelNudgeConsumer);
20
- declare class SwipeElement extends SwipeElement_base {
19
+ export declare class SwipeElement extends SwipeElement_base {
21
20
  #private;
22
21
  barSpacing: number;
23
22
  barWidth: number;
@@ -52,5 +51,4 @@ declare class SwipeElement extends SwipeElement_base {
52
51
  static styles: CSSResultGroup;
53
52
  render(): ReturnType<typeof html>;
54
53
  }
55
- //#endregion
56
- export { SwipeElement, SwipeElementEventMap, SwipeInputDetail, SwipeInputEvent };
54
+ export {};
package/dist/swipe.js CHANGED
@@ -1,10 +1,10 @@
1
- import { t as themeFallbacks } from "./fallbacks-DQ_5OsmR.js";
2
- import { n as safeCustomElement, t as __decorate } from "./decorate-VRK8rslU.js";
3
- import { t as prominenceStyles } from "./prominence-DlFShic3.js";
4
- import { t as WheelNudgeMixin } from "./wheel-nudge-D5rmht3v.js";
1
+ import { t as WheelNudgeMixin } from "./wheel-nudge-DgJzrL28.js";
2
+ import { t as themeFallbacks } from "./fallbacks-BPjjBoED.js";
3
+ import { t as prominenceStyles } from "./prominence-BOOQVWF-.js";
4
+ import { n as safeCustomElement, t as __decorate } from "./decorate-Dxs8sFX8.js";
5
5
  import { LitElement, css, html, svg } from "lit";
6
6
  import { property } from "lit/decorators.js";
7
- //#region src/swipe/swipe.ts
7
+ // src/swipe/swipe.ts
8
8
  let SwipeElement = class SwipeElement extends WheelNudgeMixin(LitElement) {
9
9
  constructor(..._args) {
10
10
  super(..._args);
@@ -222,5 +222,4 @@ __decorate([property({ type: Number })], SwipeElement.prototype, "barWidth", voi
222
222
  __decorate([property({ type: Number })], SwipeElement.prototype, "debounceMs", void 0);
223
223
  __decorate([property({ type: Number })], SwipeElement.prototype, "retractDurationMs", void 0);
224
224
  SwipeElement = __decorate([safeCustomElement(`ixfx-swipe`)], SwipeElement);
225
- //#endregion
226
225
  export { SwipeElement };
@@ -1,7 +1,6 @@
1
- import "./icon-CDGprSdE.js";
1
+ import "./icon-Bhz0c6Yf.js";
2
2
  import { LitElement, PropertyValues } from "lit";
3
3
  import { CommandRegistry } from "@clinth/ui-commands";
4
- //#region src/tabs/tab-list-item.d.ts
5
4
  /**
6
5
  * CSS vars (can be overridden per-instance):
7
6
  * --selected-colour: text colour when selected
@@ -66,8 +65,6 @@ declare global {
66
65
  "ixfx-tab-list-item": TabListItemElement;
67
66
  }
68
67
  }
69
- //#endregion
70
- //#region src/tabs/tab-list.d.ts
71
68
  /**
72
69
  * Events
73
70
  * 'change' - new tab selected { previous:string, selected:string, for:string }
@@ -113,5 +110,4 @@ declare global {
113
110
  "ixfx-tab-list": TabListElement;
114
111
  }
115
112
  }
116
- //#endregion
117
113
  export { TabListReorderDetail as a, TabListElement as i, TabListChangeEvent as n, TabListReorderEvent as o, TabListDragMode as r, TabListItemElement as s, TabListChangeDetail as t };
@@ -1,16 +1,9 @@
1
- import { t as themeFallbacks } from "./fallbacks-DQ_5OsmR.js";
2
- import { n as safeCustomElement, t as __decorate } from "./decorate-VRK8rslU.js";
3
- import { t as scrollFadeStyles } from "./scroll-fade-Xx28D7mH.js";
4
- import { t as createDragGhost } from "./drag-ghost-DtSDvjri.js";
1
+ import { t as themeFallbacks } from "./fallbacks-BPjjBoED.js";
2
+ import { t as scrollFadeStyles } from "./scroll-fade-DH8OXSqL.js";
3
+ import { n as safeCustomElement, t as __decorate } from "./decorate-Dxs8sFX8.js";
4
+ import { t as createDragGhost } from "./drag-ghost-DNWu_RyN.js";
5
5
  import { LitElement, css, html, nothing } from "lit";
6
6
  import { property } from "lit/decorators.js";
7
- //#region src/tabs/indicator-transition.ts
8
- /**
9
- * Smoothstep, 3t² − 2t³, expressed exactly as a cubic Bézier: control points
10
- * at x = 1/3 and 2/3 make x linear in the curve parameter, leaving y as the
11
- * smoothstep polynomial.
12
- */
13
- const SMOOTHSTEP = `cubic-bezier(0.3333, 0, 0.6667, 1)`;
14
7
  let counter = 0;
15
8
  /** A document-unique `view-transition-name` for one tab list's indicator. */
16
9
  function nextIndicatorName() {
@@ -30,7 +23,7 @@ function readTiming(el) {
30
23
  if (!(Number.parseFloat(duration) > 0)) return void 0;
31
24
  return {
32
25
  duration,
33
- easing: style.getPropertyValue(`--ixfx-tab-transition-easing`).trim() || SMOOTHSTEP
26
+ easing: style.getPropertyValue(`--ixfx-tab-transition-easing`).trim() || "cubic-bezier(0.3333, 0, 0.6667, 1)"
34
27
  };
35
28
  }
36
29
  const baseRule = `ixfx-tab-list-item[selected]::after { view-transition-name: var(--ixfx-tab-indicator-name, none); }`;
@@ -60,8 +53,7 @@ function runTransition(name, timing, update) {
60
53
  applyTiming(name, timing);
61
54
  return document.startViewTransition(update);
62
55
  }
63
- //#endregion
64
- //#region src/tabs/tab-list.ts
56
+ // src/tabs/tab-list.ts
65
57
  /** Pointer movement threshold (px) before a press becomes a drag. */
66
58
  const DRAG_THRESHOLD_PX = 5;
67
59
  let TabListElement = class TabListElement extends LitElement {
@@ -762,5 +754,4 @@ __decorate([property({
762
754
  attribute: `drag-mode`
763
755
  })], TabListElement.prototype, "dragMode", void 0);
764
756
  TabListElement = __decorate([safeCustomElement(`ixfx-tab-list`)], TabListElement);
765
- //#endregion
766
757
  export { TabListElement as t };
package/dist/tabs.d.ts CHANGED
@@ -1,2 +1,2 @@
1
- import { a as TabListReorderDetail, i as TabListElement, n as TabListChangeEvent, o as TabListReorderEvent, r as TabListDragMode, t as TabListChangeDetail } from "./tab-list-Df371rqw.js";
1
+ import { a as TabListReorderDetail, i as TabListElement, n as TabListChangeEvent, o as TabListReorderEvent, r as TabListDragMode, t as TabListChangeDetail } from "./tab-list-BXMRYJeR.js";
2
2
  export { TabListChangeDetail, TabListChangeEvent, TabListDragMode, TabListElement, TabListReorderDetail, TabListReorderEvent };
package/dist/tabs.js CHANGED
@@ -1,2 +1 @@
1
- import { t as TabListElement } from "./tab-list-R_bGbDvO.js";
2
- export { TabListElement };
1
+ export { t as TabListElement } from "./tab-list-CFJy3hVm.js";
@@ -1,4 +1,4 @@
1
- //#region src/interaction/tickled-controller.ts
1
+ // src/interaction/tickled-controller.ts
2
2
  /**
3
3
  * ReactiveController that manages "tickled" state for interactive lists.
4
4
  *
@@ -252,5 +252,4 @@ var TickledController = class TickledController {
252
252
  }
253
253
  }
254
254
  };
255
- //#endregion
256
255
  export { TickledController as t };
@@ -1,5 +1,4 @@
1
1
  import { ReactiveController, ReactiveControllerHost } from "lit";
2
- //#region src/interaction/tickled-controller.d.ts
3
2
  /**
4
3
  * Represents an item that can be tickled (highlighted via hover or keyboard navigation)
5
4
  */
@@ -218,5 +217,4 @@ declare class TickledController<T = number> implements ReactiveController {
218
217
  */
219
218
  setInputMode(mode: InputMode): void;
220
219
  }
221
- //#endregion
222
220
  export { TickledItem as i, TickledController as n, TickledControllerConfig as r, InputMode as t };