@fusion.dev/helix-headless 0.236.0 → 0.237.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 (119) hide show
  1. package/api.json +1 -1
  2. package/custom-elements.json +1 -1
  3. package/dist/app-header/root/app-header-root.d.ts +9 -0
  4. package/dist/app-header/root/app-header-root.js +21 -0
  5. package/dist/area-chart/root/area-chart-root.d.ts +29 -15
  6. package/dist/area-chart/root/area-chart-root.js +10 -7
  7. package/dist/bar-chart/root/bar-chart-root.d.ts +41 -23
  8. package/dist/bar-chart/root/bar-chart-root.js +15 -10
  9. package/dist/button/root/button-root.js +1 -1
  10. package/dist/canvas/root/canvas-root.d.ts +10 -3
  11. package/dist/canvas/root/canvas-root.js +31 -14
  12. package/dist/color-input/root/color-input-root.d.ts +4 -2
  13. package/dist/color-input/root/color-input-root.js +1 -1
  14. package/dist/combobox/root/combobox-root.d.ts +8 -7
  15. package/dist/combobox/root/combobox-root.js +7 -3
  16. package/dist/command/root/command-root.d.ts +22 -2
  17. package/dist/command/root/command-root.js +39 -5
  18. package/dist/data-table/root/data-table-root.d.ts +10 -7
  19. package/dist/data-table/root/data-table-root.js +6 -1
  20. package/dist/date-picker/root/date-picker-root.d.ts +1 -1
  21. package/dist/date-picker/root/date-picker-root.js +9 -2
  22. package/dist/dialog/root/dialog-root.d.ts +13 -3
  23. package/dist/dialog/root/dialog-root.js +33 -2
  24. package/dist/donut-chart/root/donut-chart-root.d.ts +23 -1
  25. package/dist/donut-chart/root/donut-chart-root.js +41 -13
  26. package/dist/drawer/root/drawer-root.d.ts +10 -2
  27. package/dist/drawer/root/drawer-root.js +34 -1
  28. package/dist/filter-input/chip/filter-chip.js +2 -2
  29. package/dist/find/root/find-root.d.ts +11 -1
  30. package/dist/find/root/find-root.js +11 -0
  31. package/dist/heatmap/root/heatmap-root.d.ts +11 -8
  32. package/dist/heatmap/root/heatmap-root.js +27 -2
  33. package/dist/kbd/root/kbd-root.d.ts +4 -0
  34. package/dist/kbd/root/kbd-root.js +2 -1
  35. package/dist/lightbox/root/lightbox-root.js +3 -2
  36. package/dist/line-chart/root/line-chart-root.d.ts +36 -23
  37. package/dist/line-chart/root/line-chart-root.js +20 -13
  38. package/dist/list/item/list-item.d.ts +2 -1
  39. package/dist/list/item/list-item.js +4 -1
  40. package/dist/list/root/list-root.d.ts +33 -8
  41. package/dist/list/root/list-root.js +17 -3
  42. package/dist/listbox/root/listbox-root.d.ts +48 -15
  43. package/dist/listbox/root/listbox-root.js +65 -6
  44. package/dist/map/root/map-root.js +7 -7
  45. package/dist/markdown/tree.d.ts +6 -1
  46. package/dist/markdown/tree.js +1 -1
  47. package/dist/megamenu/root/megamenu-root.d.ts +19 -0
  48. package/dist/megamenu/root/megamenu-root.js +24 -0
  49. package/dist/menu/filter/menu-filter.js +3 -1
  50. package/dist/menu/item/menu-item.d.ts +12 -0
  51. package/dist/menu/item/menu-item.js +3 -0
  52. package/dist/menu/root/menu-root.d.ts +7 -1
  53. package/dist/menu/root/menu-root.js +6 -3
  54. package/dist/motion-toggle/root/motion-toggle-root.js +2 -2
  55. package/dist/notifications/notification/notification.d.ts +1 -0
  56. package/dist/notifications/notification/notification.js +1 -0
  57. package/dist/notifications/root/notifications-root.d.ts +7 -5
  58. package/dist/notifications/root/notifications-root.js +1 -1
  59. package/dist/number-input/root/number-input-root.d.ts +6 -0
  60. package/dist/number-input/root/number-input-root.js +14 -4
  61. package/dist/object-inspector/root/object-inspector-root.d.ts +6 -5
  62. package/dist/object-inspector/root/object-inspector-root.js +9 -3
  63. package/dist/option/root/option-root.d.ts +14 -0
  64. package/dist/option/root/option-root.js +3 -0
  65. package/dist/pagination/root/pagination-root.d.ts +36 -0
  66. package/dist/pagination/root/pagination-root.js +55 -2
  67. package/dist/pin-input/code.js +1 -1
  68. package/dist/qr-code/root/qr-code-root.d.ts +1 -0
  69. package/dist/qr-code/root/qr-code-root.js +1 -0
  70. package/dist/rating/root/rating-root.d.ts +1 -0
  71. package/dist/rating/root/rating-root.js +1 -0
  72. package/dist/scatter-chart/root/scatter-chart-root.d.ts +6 -0
  73. package/dist/select/root/select-root.d.ts +27 -1
  74. package/dist/select/root/select-root.js +34 -3
  75. package/dist/shortcut-overlay/root/shortcut-overlay-root.d.ts +5 -0
  76. package/dist/shortcut-overlay/root/shortcut-overlay-root.js +15 -1
  77. package/dist/skeleton/root/skeleton-root.d.ts +1 -0
  78. package/dist/skeleton/root/skeleton-root.js +3 -0
  79. package/dist/sparkline/root/sparkline-root.d.ts +53 -0
  80. package/dist/sparkline/root/sparkline-root.js +37 -1
  81. package/dist/spatial-bar-chart/root/spatial-bar-chart-root.d.ts +4 -1
  82. package/dist/spatial-bar-chart/root/spatial-bar-chart-root.js +2 -2
  83. package/dist/spatial-ribbon-chart/root/spatial-ribbon-chart-root.d.ts +3 -0
  84. package/dist/spatial-ribbon-chart/root/spatial-ribbon-chart-root.js +2 -2
  85. package/dist/spatial-scatter-chart/root/spatial-scatter-chart-root.d.ts +3 -0
  86. package/dist/spatial-scatter-chart/root/spatial-scatter-chart-root.js +2 -2
  87. package/dist/spatial-scatter-chart/view.d.ts +17 -8
  88. package/dist/spatial-scatter-chart/view.js +7 -6
  89. package/dist/spatial-surface-chart/root/spatial-surface-chart-root.d.ts +3 -0
  90. package/dist/spatial-surface-chart/root/spatial-surface-chart-root.js +2 -2
  91. package/dist/spatial-treemap/root/spatial-treemap-root.d.ts +3 -0
  92. package/dist/spatial-treemap/root/spatial-treemap-root.js +2 -2
  93. package/dist/splitter/root/splitter-root.js +3 -1
  94. package/dist/stat/group/stat-group.d.ts +13 -0
  95. package/dist/stat/group/stat-group.js +22 -1
  96. package/dist/stat/root/stat-root.d.ts +62 -1
  97. package/dist/stat/root/stat-root.js +146 -4
  98. package/dist/table/cell/table-cell.d.ts +1 -0
  99. package/dist/table/cell/table-cell.js +4 -0
  100. package/dist/table/root/table-root.d.ts +7 -6
  101. package/dist/table/root/table-root.js +1 -1
  102. package/dist/tabs/tab/tab.js +2 -2
  103. package/dist/tag/root/tag-root.js +2 -2
  104. package/dist/timeline/root/timeline-root.d.ts +2 -2
  105. package/dist/timeline/root/timeline-root.js +1 -1
  106. package/dist/toast/root/toast-root.d.ts +53 -6
  107. package/dist/toast/root/toast-root.js +158 -1
  108. package/dist/toggle/root/toggle-root.d.ts +1 -0
  109. package/dist/toggle/root/toggle-root.js +1 -1
  110. package/dist/video-playlist/root/video-playlist-root.d.ts +1 -0
  111. package/dist/video-playlist/root/video-playlist-root.js +2 -0
  112. package/dist/virtual-list/root/virtual-list-root.d.ts +2 -2
  113. package/dist/virtual-list/root/virtual-list-root.js +1 -1
  114. package/examples.json +1 -1
  115. package/lint.json +1 -1
  116. package/package.json +5 -5
  117. package/types/jsx.d.ts +633 -168
  118. package/types/vue.d.ts +379 -95
  119. package/types/words.d.ts +51 -12
package/types/words.d.ts CHANGED
@@ -1112,9 +1112,10 @@ declare module '@fusion.dev/helix-core' {
1112
1112
  */
1113
1113
  createLabel: Message
1114
1114
  /**
1115
- * Text shown when the filter hides every option.
1115
+ * The text shown when the list has no options. Typing that hides every
1116
+ * option shows `no-results-text`.
1116
1117
  *
1117
- * English: `No matches`
1118
+ * English: `No options`
1118
1119
  */
1119
1120
  emptyText: Message
1120
1121
  /**
@@ -1136,6 +1137,13 @@ declare module '@fusion.dev/helix-core' {
1136
1137
  * English: `Loading`
1137
1138
  */
1138
1139
  loadingText: Message
1140
+ /**
1141
+ * The text shown when typing hides every one of the options, where there are
1142
+ * some. See Listbox's `no-results-text`.
1143
+ *
1144
+ * English: `No matches`
1145
+ */
1146
+ noResultsText: Message
1139
1147
  /**
1140
1148
  * The name of the control that removes one chosen option, with `{name}`
1141
1149
  * filled in.
@@ -2886,13 +2894,15 @@ declare module '@fusion.dev/helix-core' {
2886
2894
  * The text of the row shown while the list has no rows, where the `empty`
2887
2895
  * slot is empty. An empty string shows no row.
2888
2896
  *
2889
- * English: `No items`
2897
+ * English: `Nothing to show`
2890
2898
  */
2891
2899
  emptyText: Message
2892
2900
  /**
2893
- * The text of the row drawn while `loading` is set, where the `loading` slot is empty.
2901
+ * The text of the row drawn while `loading` is set, where the `loading` slot
2902
+ * is empty. "Loading", the word every collection uses, since the same row
2903
+ * stands alone in a list that has no rows yet.
2894
2904
  *
2895
- * English: `Loading more`
2905
+ * English: `Loading`
2896
2906
  */
2897
2907
  loadingText: Message
2898
2908
  /**
@@ -2938,9 +2948,10 @@ declare module '@fusion.dev/helix-core' {
2938
2948
  */
2939
2949
  dictationUnreachableLabel: Message
2940
2950
  /**
2941
- * The text shown when the filter hides every option.
2951
+ * The text shown when the list has no options. A filter that hides every
2952
+ * option shows `no-results-text`.
2942
2953
  *
2943
- * English: `No matches`
2954
+ * English: `No options`
2944
2955
  */
2945
2956
  emptyText: Message
2946
2957
  /**
@@ -2961,6 +2972,13 @@ declare module '@fusion.dev/helix-core' {
2961
2972
  * English: `Loading`
2962
2973
  */
2963
2974
  loadingText: Message
2975
+ /**
2976
+ * The text shown when a filter hides every option of a list that has some.
2977
+ * `empty-text` is what a list with no options says.
2978
+ *
2979
+ * English: `No matches`
2980
+ */
2981
+ noResultsText: Message
2964
2982
  /**
2965
2983
  * What a screen reader hears when a filter narrows the list. `{count}` is
2966
2984
  * how many options are left, written in the locale, and each language
@@ -3676,7 +3694,7 @@ declare module '@fusion.dev/helix-core' {
3676
3694
  resultsLabel: Message
3677
3695
  /**
3678
3696
  * The tree's accessible name when `label` is empty and the host names it
3679
- * with neither `aria-label` nor `aria-labelledby`.
3697
+ * with neither `aria-label` nor `aria-labeledby`.
3680
3698
  *
3681
3699
  * English: `Value`
3682
3700
  */
@@ -3930,9 +3948,10 @@ declare module '@fusion.dev/helix-core' {
3930
3948
  }
3931
3949
  'helix-select': {
3932
3950
  /**
3933
- * The text shown when no options match the filter.
3951
+ * The text shown when the list has no options. A filter that hides every
3952
+ * option shows `no-results-text`.
3934
3953
  *
3935
- * English: `No matches`
3954
+ * English: `No options`
3936
3955
  */
3937
3956
  emptyText: Message
3938
3957
  /**
@@ -3948,6 +3967,12 @@ declare module '@fusion.dev/helix-core' {
3948
3967
  * English: `Loading`
3949
3968
  */
3950
3969
  loadingText: Message
3970
+ /**
3971
+ * The text shown when typing hides every option, under `filterable`.
3972
+ *
3973
+ * English: `No matches`
3974
+ */
3975
+ noResultsText: Message
3951
3976
  /**
3952
3977
  * Shown on the trigger while nothing is chosen.
3953
3978
  *
@@ -4015,6 +4040,20 @@ declare module '@fusion.dev/helix-core' {
4015
4040
  thumbLabel: Message
4016
4041
  }
4017
4042
  'helix-sparkline': {
4043
+ /**
4044
+ * The words shown in place of the line when there are no readings, and the
4045
+ * fallback of the `empty` slot.
4046
+ *
4047
+ * English: `No readings`
4048
+ */
4049
+ emptyText: Message
4050
+ /**
4051
+ * The words shown in place of the line while `loading` is set and there are
4052
+ * no readings yet, and the fallback of the `loading` slot.
4053
+ *
4054
+ * English: `Loading readings`
4055
+ */
4056
+ loadingText: Message
4018
4057
  /**
4019
4058
  * What the readings come to, said after the name: `{first}` and `{last}`
4020
4059
  * for the first and the last reading, `{high}` and `{low}` for the highest
@@ -5177,7 +5216,7 @@ declare module '@fusion.dev/helix-core' {
5177
5216
  /**
5178
5217
  * The text of the entry drawn while `loading` is set, where the `loading` slot is empty.
5179
5218
  *
5180
- * English: `Loading more`
5219
+ * English: `Loading`
5181
5220
  */
5182
5221
  loadingText: Message
5183
5222
  }
@@ -5621,7 +5660,7 @@ declare module '@fusion.dev/helix-core' {
5621
5660
  /**
5622
5661
  * The text of the row drawn while `loading` is set, where the `loading` slot is empty.
5623
5662
  *
5624
- * English: `Loading more`
5663
+ * English: `Loading`
5625
5664
  */
5626
5665
  loadingText: Message
5627
5666
  }