@fusion.dev/helix-headless 0.30.2 → 0.32.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 (89) hide show
  1. package/custom-elements.json +2171 -152
  2. package/dist/accordion/item/accordion-item.d.ts +2 -0
  3. package/dist/app-header/root/app-header-root.d.ts +2 -0
  4. package/dist/area-chart/root/area-chart-root.d.ts +1 -0
  5. package/dist/bar-chart/root/bar-chart-root.d.ts +2 -0
  6. package/dist/bar-chart/root/bar-chart-root.js +4 -1
  7. package/dist/carousel/root/carousel-root.d.ts +1 -0
  8. package/dist/carousel/root/carousel-root.js +14 -9
  9. package/dist/chat/root/chat-root.d.ts +12 -0
  10. package/dist/chat/root/chat-root.js +4 -0
  11. package/dist/checkbox/root/checkbox-root.d.ts +6 -0
  12. package/dist/checkbox/root/checkbox-root.js +4 -1
  13. package/dist/checkbox-group/root/checkbox-group-root.d.ts +2 -0
  14. package/dist/color-input/root/color-input-root.d.ts +3 -0
  15. package/dist/combobox/root/combobox-root.d.ts +3 -0
  16. package/dist/command/root/command-root.d.ts +2 -0
  17. package/dist/data-table/root/data-table-root.d.ts +16 -0
  18. package/dist/data-table/root/data-table-root.js +13 -5
  19. package/dist/date-input/root/date-input-root.d.ts +10 -0
  20. package/dist/date-input/root/date-input-root.js +6 -2
  21. package/dist/date-picker/root/date-picker-root.d.ts +7 -0
  22. package/dist/date-picker/root/date-picker-root.js +12 -6
  23. package/dist/dialog/root/dialog-root.d.ts +2 -0
  24. package/dist/donut-chart/root/donut-chart-root.d.ts +2 -0
  25. package/dist/donut-chart/root/donut-chart-root.js +3 -2
  26. package/dist/drawer/root/drawer-root.d.ts +2 -0
  27. package/dist/drilldown/item/drilldown-item.d.ts +36 -1
  28. package/dist/drilldown/item/drilldown-item.js +30 -3
  29. package/dist/file-input/root/file-input-root.d.ts +2 -0
  30. package/dist/filter-input/menu/filter-menu.d.ts +16 -0
  31. package/dist/filter-input/menu/filter-menu.js +30 -4
  32. package/dist/filter-input/root/filter-input-root.d.ts +3 -0
  33. package/dist/heatmap/root/heatmap-root.d.ts +1 -0
  34. package/dist/input/root/input-root.d.ts +3 -0
  35. package/dist/input/root/input-root.js +1 -1
  36. package/dist/line-chart/root/line-chart-root.d.ts +1 -0
  37. package/dist/listbox/root/listbox-root.d.ts +2 -0
  38. package/dist/megamenu/root/megamenu-root.d.ts +2 -0
  39. package/dist/menu/root/menu-root.d.ts +5 -0
  40. package/dist/menu/root/menu-root.js +1 -0
  41. package/dist/meter/root/meter-root.d.ts +12 -4
  42. package/dist/meter/root/meter-root.js +10 -6
  43. package/dist/notifications/group/notification-group.d.ts +2 -0
  44. package/dist/notifications/notification/notification.d.ts +4 -0
  45. package/dist/notifications/root/notifications-root.d.ts +2 -0
  46. package/dist/number-input/root/number-input-root.d.ts +2 -0
  47. package/dist/object-inspector/root/object-inspector-root.d.ts +1 -0
  48. package/dist/object-inspector/root/object-inspector-root.js +5 -4
  49. package/dist/option/root/option-root.d.ts +4 -0
  50. package/dist/option/root/option-root.js +4 -1
  51. package/dist/pagination/root/pagination-root.d.ts +5 -0
  52. package/dist/pagination/root/pagination-root.js +2 -2
  53. package/dist/pagination/size/pagination-size.d.ts +27 -3
  54. package/dist/pagination/size/pagination-size.js +16 -2
  55. package/dist/pin-input/root/pin-input-root.d.ts +2 -0
  56. package/dist/popover/root/popover-root.d.ts +2 -0
  57. package/dist/radio/group/radio-group.d.ts +2 -0
  58. package/dist/radio/root/radio-root.d.ts +2 -0
  59. package/dist/rating/root/rating-root.d.ts +2 -0
  60. package/dist/scatter-chart/root/scatter-chart-root.d.ts +2 -0
  61. package/dist/scatter-chart/root/scatter-chart-root.js +1 -1
  62. package/dist/scroll-area/root/scroll-area-root.d.ts +6 -0
  63. package/dist/scroll-area/root/scroll-area-root.js +4 -3
  64. package/dist/select/root/select-root.d.ts +3 -0
  65. package/dist/slider/root/slider-root.d.ts +2 -0
  66. package/dist/speed-dial/root/speed-dial-root.d.ts +2 -0
  67. package/dist/switch/root/switch-root.d.ts +3 -0
  68. package/dist/table/column/table-column.d.ts +16 -2
  69. package/dist/table/column/table-column.js +3 -8
  70. package/dist/tabs/panel/tab-panel.d.ts +2 -0
  71. package/dist/tabs/tab/tab.d.ts +2 -0
  72. package/dist/textarea/root/textarea-root.d.ts +2 -0
  73. package/dist/time-input/root/time-input-root.d.ts +6 -0
  74. package/dist/time-input/root/time-input-root.js +2 -0
  75. package/dist/time-picker/root/time-picker-root.d.ts +20 -5
  76. package/dist/time-picker/root/time-picker-root.js +30 -11
  77. package/dist/toggle/group/toggle-group.d.ts +2 -0
  78. package/dist/toggle/root/toggle-root.d.ts +2 -0
  79. package/dist/tooltip/root/tooltip-root.d.ts +2 -0
  80. package/dist/tour/stop/tour-stop.d.ts +5 -0
  81. package/dist/tour/stop/tour-stop.js +11 -0
  82. package/dist/tree/item/tree-item.d.ts +3 -0
  83. package/dist/video/root/video-root.d.ts +1 -0
  84. package/dist/video/root/video-root.js +1 -1
  85. package/dist/video-playlist/item/video-playlist-item.d.ts +1 -0
  86. package/dist/video-playlist/item/video-playlist-item.js +1 -1
  87. package/package.json +5 -5
  88. package/types/jsx.d.ts +2000 -26
  89. package/types/vue.d.ts +17 -4
package/types/vue.d.ts CHANGED
@@ -4707,8 +4707,10 @@ answer, and asking them to encode it as thresholds so this can decode it
4707
4707
  again is a worse API than letting them say it.
4708
4708
 
4709
4709
  Not reflected. Nothing selects on it: the band reaches the stylesheet as
4710
- `data-band` on the fill, because that is the element being colored, so
4711
- reflecting here would write an attribute onto the host for no reader. */
4710
+ `data-band` on the fill, because that is the element being colored, and a
4711
+ stylesheet outside as `indicator-good`, `-fair` or `-poor` among the fill's
4712
+ part names, so reflecting here would write an attribute onto the host for
4713
+ no reader. */
4712
4714
  band?: (HelixHeadlessMeter["band"]) | undefined;
4713
4715
  /** Bottom of the high band.
4714
4716
 
@@ -6832,7 +6834,18 @@ export type HelixHeadlessTableColumnVueProps = {
6832
6834
 
6833
6835
  `end` is what a column of numbers wants, so digits of the same magnitude sit
6834
6836
  above each other. Left unset the cell inherits the table's own alignment,
6835
- which is `start` for text in either writing direction. */
6837
+ which is `start` for text in either writing direction. `helix-data-table`
6838
+ aligns the cells it draws; a `helix-table`'s cells are markup the consumer
6839
+ wrote, and align as the consumer styles them. The heading is this element's
6840
+ own, and `@fusion.dev/helix` sets it to the same edge in either table.
6841
+
6842
+ **Reflected, because the heading is drawn by a stylesheet and has no other
6843
+ way to learn it.** Set as a property, which is how React sets it, an
6844
+ unreflected `align` left no attribute to select on, so the heading stayed at
6845
+ the start over a column of digits set to the end. It is the author's
6846
+ declaration and nothing moves it afterwards, so an attribute cannot come to
6847
+ disagree with the element, which is the reason `open` records a custom
6848
+ state instead. No default, so an unset column writes nothing onto its host. */
6836
6849
  align?: (HelixHeadlessTableColumn["align"]) | undefined;
6837
6850
  /** The key this column reads out of a row.
6838
6851
 
@@ -9018,7 +9031,7 @@ export interface WcToolkitVueGlobalComponents {
9018
9031
  HelixHeadlessDrawerVueProps,
9019
9032
  HelixHeadlessDrawerVueEvents
9020
9033
  >;
9021
- /** A row that opens a page *contains* that page: its rows are this row's own children, assigned to the 'page' slot. The tree is the structure, so there are no ids to wire and a consumer who moves a row has moved its page with it. **It renders one of three things**, and which one is the stack's business rather than its own. On the page showing, it is a row. Showing its own page, it contributes that page's rows and nothing else, because its row belongs to the page above. On neither, it renders nothing at all: the rows are in the light DOM and come back untouched, so there is no state to keep and nothing to hide with an attribute this element would have to write onto itself. Choosing is announced, never applied. The row dispatches and the stack decides whether that means drilling in or choosing a command. */
9034
+ /** A row that opens a page *contains* that page: its rows are this row's own children, assigned to the 'page' slot. The tree is the structure, so there are no ids to wire and a consumer who moves a row has moved its page with it. **It renders one of three things**, and which one is the stack's business rather than its own. On the page showing, it is a row. Showing its own page, it contributes that page's rows and nothing else, because its row belongs to the page above. On neither, it renders nothing at all: the rows are in the light DOM and come back untouched, so there is no state to keep and nothing to hide with an attribute this element would have to write onto itself. Choosing is announced, never applied. The row dispatches and the stack decides whether that means drilling in or choosing a command. **A row that opens a page says so**, with a caret after its words and 'aria-haspopup', the way 'Menu' marks a row with a submenu: a row that goes somewhere and a row that does something otherwise look the same until one is pressed. Not on the server, which cannot see the children and so cannot know. */
9022
9035
  "helix-headless-drilldown-item": DefineCustomElement<
9023
9036
  HelixHeadlessDrilldownItem,
9024
9037
  HelixHeadlessDrilldownItemVueProps,