@foldkit/ui 0.162.0 → 0.163.0-canary.4187988d5940

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 (109) hide show
  1. package/dist/anchor/anchor.d.ts.map +1 -1
  2. package/dist/anchor/anchor.js +10 -1
  3. package/dist/animation/index.d.ts +3 -0
  4. package/dist/animation/index.d.ts.map +1 -1
  5. package/dist/animation/schema.d.ts +13 -4
  6. package/dist/animation/schema.d.ts.map +1 -1
  7. package/dist/animation/schema.js +8 -4
  8. package/dist/animation/update.d.ts +15 -5
  9. package/dist/animation/update.d.ts.map +1 -1
  10. package/dist/animation/update.js +59 -27
  11. package/dist/calendar/index.d.ts.map +1 -1
  12. package/dist/calendar/index.js +27 -19
  13. package/dist/checkbox/index.d.ts +1 -1
  14. package/dist/checkbox/index.js +1 -1
  15. package/dist/combobox/multi.d.ts +5 -0
  16. package/dist/combobox/multi.d.ts.map +1 -1
  17. package/dist/combobox/multi.js +2 -2
  18. package/dist/combobox/shared.d.ts +12 -2
  19. package/dist/combobox/shared.d.ts.map +1 -1
  20. package/dist/combobox/shared.js +21 -21
  21. package/dist/combobox/single.d.ts +5 -0
  22. package/dist/combobox/single.d.ts.map +1 -1
  23. package/dist/combobox/single.js +4 -4
  24. package/dist/datePicker/index.d.ts +13 -2
  25. package/dist/datePicker/index.d.ts.map +1 -1
  26. package/dist/datePicker/index.js +10 -10
  27. package/dist/dialog/index.d.ts +13 -2
  28. package/dist/dialog/index.d.ts.map +1 -1
  29. package/dist/dialog/index.js +28 -14
  30. package/dist/disclosure/index.d.ts +2 -2
  31. package/dist/disclosure/index.js +1 -1
  32. package/dist/dragAndDrop/index.js +14 -14
  33. package/dist/fileDrop/index.d.ts.map +1 -1
  34. package/dist/fileDrop/index.js +7 -5
  35. package/dist/hoverIntent/hoverIntent.d.ts.map +1 -1
  36. package/dist/hoverIntent/hoverIntent.js +16 -16
  37. package/dist/index.d.ts +2 -0
  38. package/dist/index.d.ts.map +1 -1
  39. package/dist/index.js +2 -0
  40. package/dist/internal/accessibleName.d.ts +9 -0
  41. package/dist/internal/accessibleName.d.ts.map +1 -0
  42. package/dist/internal/accessibleName.js +12 -0
  43. package/dist/internal/range.d.ts +7 -0
  44. package/dist/internal/range.d.ts.map +1 -0
  45. package/dist/internal/range.js +12 -0
  46. package/dist/listbox/multi.d.ts +5 -0
  47. package/dist/listbox/multi.d.ts.map +1 -1
  48. package/dist/listbox/shared.d.ts +12 -2
  49. package/dist/listbox/shared.d.ts.map +1 -1
  50. package/dist/listbox/shared.js +26 -24
  51. package/dist/listbox/single.d.ts +5 -0
  52. package/dist/listbox/single.d.ts.map +1 -1
  53. package/dist/menu/index.d.ts +13 -2
  54. package/dist/menu/index.d.ts.map +1 -1
  55. package/dist/menu/index.js +29 -23
  56. package/dist/meter/index.d.ts +26 -0
  57. package/dist/meter/index.d.ts.map +1 -0
  58. package/dist/meter/index.js +67 -0
  59. package/dist/meter/public.d.ts +3 -0
  60. package/dist/meter/public.d.ts.map +1 -0
  61. package/dist/meter/public.js +1 -0
  62. package/dist/popover/index.d.ts +16 -2
  63. package/dist/popover/index.d.ts.map +1 -1
  64. package/dist/popover/index.js +18 -16
  65. package/dist/progress/index.d.ts +24 -0
  66. package/dist/progress/index.d.ts.map +1 -0
  67. package/dist/progress/index.js +85 -0
  68. package/dist/progress/public.d.ts +3 -0
  69. package/dist/progress/public.d.ts.map +1 -0
  70. package/dist/progress/public.js +1 -0
  71. package/dist/radioGroup/index.d.ts.map +1 -1
  72. package/dist/radioGroup/index.js +5 -3
  73. package/dist/slider/index.d.ts +61 -28
  74. package/dist/slider/index.d.ts.map +1 -1
  75. package/dist/slider/index.js +163 -87
  76. package/dist/slider/public.d.ts +1 -1
  77. package/dist/slider/public.d.ts.map +1 -1
  78. package/dist/slider/public.js +1 -1
  79. package/dist/switch/index.d.ts +1 -1
  80. package/dist/switch/index.js +1 -1
  81. package/dist/tabs/index.d.ts.map +1 -1
  82. package/dist/tabs/index.js +5 -3
  83. package/dist/test/apps/disabledButton.d.ts +12 -4
  84. package/dist/test/apps/disabledButton.d.ts.map +1 -1
  85. package/dist/test/apps/disabledButton.js +3 -3
  86. package/dist/toast/index.d.ts +869 -45
  87. package/dist/toast/index.d.ts.map +1 -1
  88. package/dist/toast/index.js +77 -17
  89. package/dist/toast/public.d.ts +2 -2
  90. package/dist/toast/public.d.ts.map +1 -1
  91. package/dist/toast/public.js +1 -1
  92. package/dist/toast/schema.d.ts +160 -6
  93. package/dist/toast/schema.d.ts.map +1 -1
  94. package/dist/toast/schema.js +69 -2
  95. package/dist/toast/swipeTarget.d.ts +5 -0
  96. package/dist/toast/swipeTarget.d.ts.map +1 -0
  97. package/dist/toast/swipeTarget.js +18 -0
  98. package/dist/toast/test.d.ts +7 -1
  99. package/dist/toast/test.d.ts.map +1 -1
  100. package/dist/toast/test.js +37 -3
  101. package/dist/toast/update.d.ts +768 -7
  102. package/dist/toast/update.d.ts.map +1 -1
  103. package/dist/toast/update.js +283 -68
  104. package/dist/tooltip/tooltip.d.ts +7 -7
  105. package/dist/tooltip/tooltip.d.ts.map +1 -1
  106. package/dist/tooltip/tooltip.js +14 -12
  107. package/dist/virtualList/index.d.ts.map +1 -1
  108. package/dist/virtualList/index.js +8 -6
  109. package/package.json +9 -9
@@ -3,11 +3,12 @@ import { type Update } from 'foldkit';
3
3
  import { type ChildAttribute, type Html } from 'foldkit/html';
4
4
  import { type Reflect } from 'foldkit/submodel';
5
5
  import * as Subscription from 'foldkit/subscription';
6
- /** Schema for the slider component's private interaction state. The current
6
+ export { fractionOfValue } from '../internal/range.js';
7
+ /** Schema for the Slider's private interaction state. The current
7
8
  * value is owned by the parent and passed in via `ViewInputs.value`, so it is
8
- * not stored here. `min`/`max`/`step` are configuration the drag subscription
9
- * reads to map pointer positions into values. `dragState` tracks the active
10
- * drag phase and captures the pre-drag value so Escape can restore it. */
9
+ * not stored here. `min`, `max`, and `step` configure how the drag Subscription
10
+ * maps pointer positions into values. `dragState` tracks the active drag phase
11
+ * and captures the pre-drag value so Escape can restore it. */
11
12
  export declare const Model: Schema.Struct<{
12
13
  readonly id: Schema.String;
13
14
  readonly min: Schema.Number;
@@ -21,7 +22,7 @@ export declare const Model: Schema.Struct<{
21
22
  }>;
22
23
  }>;
23
24
  export type Model = typeof Model.Type;
24
- /** Union of all messages the slider component can produce. */
25
+ /** Union of all Messages the Slider can produce. */
25
26
  export declare const Message: import("foldkit/message").MessageUnion<{
26
27
  readonly PressedThumb: {
27
28
  originValue: Schema.Number;
@@ -47,30 +48,27 @@ export type MovedDragPointer = typeof Message.MovedDragPointer.Type;
47
48
  export type ReleasedDragPointer = typeof Message.ReleasedDragPointer.Type;
48
49
  export type CancelledDrag = typeof Message.CancelledDrag.Type;
49
50
  export type PressedKeyboardNavigation = typeof Message.PressedKeyboardNavigation.Type;
50
- /** Union of all out-messages the slider component can emit to its parent. */
51
+ /** Union of all OutMessages the Slider can emit to its parent. */
51
52
  export declare const OutMessage: import("foldkit/message").MessageUnion<{
52
53
  readonly ChangedValue: {
53
54
  value: Schema.Number;
54
55
  };
55
56
  }>;
56
57
  export type OutMessage = typeof OutMessage.Type;
57
- /** Configuration for creating a slider model with `init`. */
58
+ /** Configuration for creating a Slider Model with `init`. */
58
59
  export type InitConfig = Readonly<{
59
60
  id: string;
60
61
  min: number;
61
62
  max: number;
62
63
  step: number;
63
64
  }>;
64
- /** Creates an initial slider model from a config. The value lives in the
65
+ /** Creates an initial Slider Model from a config. The value lives in the
65
66
  * parent Model; initialize it there and snap it with {@link snapAndClamp}. */
66
67
  export declare const init: (config: InitConfig) => Model;
67
68
  /** Snaps a value to the nearest step and clamps it into `[min, max]`. Exported
68
- * so a parent can conform the value it owns to the slider's range, for example
69
+ * so a parent can conform the value it owns to the Slider's range, for example
69
70
  * when seeding the initial value or reacting to an external update. */
70
71
  export declare const snapAndClamp: (value: number, min: number, max: number, step: number) => number;
71
- /** Computes the fraction (0–1) of a value between min and max. Returns 0 when
72
- * the range has zero width. */
73
- export declare const fractionOfValue: (value: number, min: number, max: number) => number;
74
72
  /** Processes a Slider Message and returns the next Model, optional Commands,
75
73
  * and an optional OutMessage for the parent. The value lives in the parent
76
74
  * Model: the view supplies the current value on the Messages that need it,
@@ -121,10 +119,13 @@ export declare const reflectRange: Reflect<Model, Readonly<{
121
119
  min: number;
122
120
  max: number;
123
121
  }>>;
124
- /** Builds slider drag subscriptions, looking up the track
125
- * element through the supplied root resolver. Use this when the slider is
126
- * rendered inside a Shadow DOM. The root is read lazily so consumers can
127
- * resolve it at subscription time. */
122
+ /** Maps a pointer position to a Slider value. Vertical tracks place `min` at
123
+ * the bottom and `max` at the top. Edge-aligned tracks measure the rendered
124
+ * thumb and map the pointer across the same inset range it travels through. */
125
+ export declare const valueFromPointer: (clientX: number, clientY: number, track: Element, min: number, max: number) => number;
126
+ /** Builds Slider drag Subscriptions that find the track through the supplied
127
+ * root resolver. Use this when the Slider is rendered inside a Shadow DOM.
128
+ * The resolver runs at subscription time. */
128
129
  export declare const subscriptionsForRoot: (getTrackRoot: () => Document | ShadowRoot) => {
129
130
  readonly dragPointer: Subscription.EntryWithoutKeepAlive<{
130
131
  readonly id: string;
@@ -198,7 +199,7 @@ export declare const subscriptionsForRoot: (getTrackRoot: () => Document | Shado
198
199
  readonly __subscription: never;
199
200
  };
200
201
  };
201
- /** Default drag subscriptions, with the track looked up via `document`. */
202
+ /** Default drag Subscriptions, with the track looked up via `document`. */
202
203
  export declare const subscriptions: {
203
204
  readonly dragPointer: Subscription.EntryWithoutKeepAlive<{
204
205
  readonly id: string;
@@ -272,8 +273,8 @@ export declare const subscriptions: {
272
273
  readonly __subscription: never;
273
274
  };
274
275
  };
275
- /** Attribute groups the slider component provides to the consumer's `toView`
276
- * callback. Each bundle carries the boundary's captured dispatch, so the
276
+ /** Attribute groups the Slider provides to the consumer's `toView`
277
+ * callback. Each group carries the boundary's captured dispatch, so the
277
278
  * consumer can spread it directly into element attributes without manual
278
279
  * Message wrapping. */
279
280
  export type SliderAttributes = Readonly<{
@@ -284,12 +285,32 @@ export type SliderAttributes = Readonly<{
284
285
  label: ReadonlyArray<ChildAttribute>;
285
286
  hiddenInput: ReadonlyArray<ChildAttribute>;
286
287
  }>;
288
+ /** Direction in which the Slider lays out its track and maps pointer input. */
289
+ export declare const Orientation: Schema.Literals<readonly ["Horizontal", "Vertical"]>;
290
+ export type Orientation = typeof Orientation.Type;
291
+ /** Whether the thumb's center or outer edge aligns with the track endpoints. */
292
+ export declare const ThumbAlignment: Schema.Literals<readonly ["Center", "Edge"]>;
293
+ export type ThumbAlignment = typeof ThumbAlignment.Type;
287
294
  /** Per-render view inputs passed to `view` via `h.submodel`'s `viewInputs` field. */
288
295
  export type ViewInputs = Readonly<{
289
296
  /** The current value, read straight from the parent Model. The thumb
290
297
  * position, `aria-valuenow`, and the filled track all derive from it. */
291
298
  value: number;
292
299
  toView: (attributes: SliderAttributes) => Html;
300
+ /** Layout axis for the track, filled track, and thumb. Vertical Sliders
301
+ * place `min` at the bottom and `max` at the top. */
302
+ orientation?: Orientation;
303
+ /** How the thumb aligns within the track. `Center` keeps the thumb's
304
+ * center on the value point and lets it overflow by half its size at the
305
+ * extremes, matching the Slider's previous behavior. `Edge` insets the
306
+ * thumb's travel by `thumbSize` so it stays fully inside the track.
307
+ * Defaults to `Center` so existing Sliders keep their geometry. */
308
+ thumbAlignment?: ThumbAlignment;
309
+ /** CSS length of the thumb along the track axis, used only when
310
+ * `thumbAlignment` is `Edge` to inset the thumb's travel and align the
311
+ * fill with the thumb's center. Set this to the size your `toView`
312
+ * callback styles the thumb with. Defaults to `0.75rem`. */
313
+ thumbSize?: string;
293
314
  ariaLabel?: string;
294
315
  ariaLabelledBy?: string;
295
316
  formatValue?: (value: number) => string;
@@ -309,17 +330,16 @@ export type ViewInputs = Readonly<{
309
330
  * way. */
310
331
  isReadOnly?: boolean;
311
332
  name?: string;
312
- /** Resolves the root that holds the slider track when looking it up by its
313
- * `data-slider-track-id` attribute. Defaults to `document`. Provide a
314
- * ShadowRoot when rendering the slider inside a shadow tree so pointer
315
- * events on the track can map clientX into a value. */
333
+ /** Resolves the DOM root containing the Slider track. Defaults to `document`.
334
+ * Provide a ShadowRoot when rendering the Slider inside a shadow tree so pointer
335
+ * events on the track can map the pointer position into a value. */
316
336
  getTrackRoot?: () => Document | ShadowRoot;
317
337
  }>;
318
338
  /** Renders an accessible slider by building ARIA attribute groups and
319
339
  * delegating layout to the consumer's `toView` callback. Follows the
320
340
  * WAI-ARIA slider pattern: role="slider" on the thumb, aria-valuemin /
321
341
  * aria-valuemax / aria-valuenow, keyboard navigation by step / page / home /
322
- * end. Pointer drag is handled by the component's drag subscriptions. */
342
+ * end. Pointer drag is handled by the Slider's drag Subscriptions. */
323
343
  export declare const view: import("foldkit/submodel").View<{
324
344
  readonly id: string;
325
345
  readonly min: number;
@@ -354,6 +374,20 @@ export declare const view: import("foldkit/submodel").View<{
354
374
  * position, `aria-valuenow`, and the filled track all derive from it. */
355
375
  value: number;
356
376
  toView: (attributes: SliderAttributes) => Html;
377
+ /** Layout axis for the track, filled track, and thumb. Vertical Sliders
378
+ * place `min` at the bottom and `max` at the top. */
379
+ orientation?: Orientation;
380
+ /** How the thumb aligns within the track. `Center` keeps the thumb's
381
+ * center on the value point and lets it overflow by half its size at the
382
+ * extremes, matching the Slider's previous behavior. `Edge` insets the
383
+ * thumb's travel by `thumbSize` so it stays fully inside the track.
384
+ * Defaults to `Center` so existing Sliders keep their geometry. */
385
+ thumbAlignment?: ThumbAlignment;
386
+ /** CSS length of the thumb along the track axis, used only when
387
+ * `thumbAlignment` is `Edge` to inset the thumb's travel and align the
388
+ * fill with the thumb's center. Set this to the size your `toView`
389
+ * callback styles the thumb with. Defaults to `0.75rem`. */
390
+ thumbSize?: string;
357
391
  ariaLabel?: string;
358
392
  ariaLabelledBy?: string;
359
393
  formatValue?: (value: number) => string;
@@ -373,10 +407,9 @@ export declare const view: import("foldkit/submodel").View<{
373
407
  * way. */
374
408
  isReadOnly?: boolean;
375
409
  name?: string;
376
- /** Resolves the root that holds the slider track when looking it up by its
377
- * `data-slider-track-id` attribute. Defaults to `document`. Provide a
378
- * ShadowRoot when rendering the slider inside a shadow tree so pointer
379
- * events on the track can map clientX into a value. */
410
+ /** Resolves the DOM root containing the Slider track. Defaults to `document`.
411
+ * Provide a ShadowRoot when rendering the Slider inside a shadow tree so pointer
412
+ * events on the track can map the pointer position into a value. */
380
413
  getTrackRoot?: () => Document | ShadowRoot;
381
414
  }>>;
382
415
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/slider/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAML,MAAM,EAIP,MAAM,QAAQ,CAAA;AACf,OAAO,EAAE,KAAK,MAAM,EAAE,MAAM,SAAS,CAAA;AACrC,OAAO,EAAE,KAAK,cAAc,EAAE,KAAK,IAAI,EAAmB,MAAM,cAAc,CAAA;AAI9E,OAAO,EAAE,KAAK,OAAO,EAAc,MAAM,kBAAkB,CAAA;AAC3D,OAAO,KAAK,YAAY,MAAM,sBAAsB,CAAA;AAWpD;;;;2EAI2E;AAC3E,eAAO,MAAM,KAAK;;;;;;;;YARJ,WAAW;;;EAcvB,CAAA;AAEF,MAAM,MAAM,KAAK,GAAG,OAAO,KAAK,CAAC,IAAI,CAAA;AAIrC,8DAA8D;AAC9D,eAAO,MAAM,OAAO;;QACF,WAAW;;;QAEzB,KAAK;QACL,WAAW;;;QAEO,KAAK;;;;;QAIvB,SAAS;QAQT,KAAK;;EAEP,CAAA;AAEF,MAAM,MAAM,OAAO,GAAG,OAAO,OAAO,CAAC,IAAI,CAAA;AAEzC,MAAM,MAAM,YAAY,GAAG,OAAO,OAAO,CAAC,YAAY,CAAC,IAAI,CAAA;AAC3D,MAAM,MAAM,cAAc,GAAG,OAAO,OAAO,CAAC,cAAc,CAAC,IAAI,CAAA;AAC/D,MAAM,MAAM,gBAAgB,GAAG,OAAO,OA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