@fusion.dev/helix-headless 0.179.0 → 0.180.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.
- package/custom-elements.json +160 -50
- package/dist/chat/composer/chat-composer.d.ts +2 -1
- package/dist/chat/composer/chat-composer.js +1 -1
- package/dist/combobox/root/combobox-root.d.ts +12 -0
- package/dist/combobox/root/combobox-root.js +3 -2
- package/dist/command/root/command-root.d.ts +12 -0
- package/dist/command/root/command-root.js +3 -2
- package/dist/data-table/root/data-table-root.d.ts +13 -1
- package/dist/data-table/root/data-table-root.js +18 -15
- package/dist/date-input/root/date-input-root.d.ts +7 -0
- package/dist/date-input/root/date-input-root.js +12 -0
- package/dist/date-picker/root/date-picker-root.d.ts +7 -1
- package/dist/date-picker/root/date-picker-root.js +12 -0
- package/dist/drilldown/root/drilldown-root.js +9 -0
- package/dist/filter-input/root/filter-input-root.d.ts +13 -0
- package/dist/filter-input/root/filter-input-root.js +2 -1
- package/dist/listbox/root/listbox-root.d.ts +16 -2
- package/dist/listbox/root/listbox-root.js +8 -4
- package/dist/meter/root/meter-root.js +1 -2
- package/dist/notifications/notification/notification.js +14 -1
- package/dist/option/among.d.ts +23 -0
- package/dist/option/among.js +2 -0
- package/dist/option/root/option-root.d.ts +1 -17
- package/dist/option/root/option-root.js +1 -4
- package/dist/scatter-chart/root/scatter-chart-root.d.ts +5 -4
- package/dist/scatter-chart/root/scatter-chart-root.js +1 -0
- package/dist/select/root/select-root.d.ts +13 -2
- package/dist/select/root/select-root.js +3 -3
- package/dist/table/column/table-column.d.ts +1 -10
- package/dist/table/column/table-column.js +1 -2
- package/dist/table/edge.d.ts +10 -0
- package/dist/table/edge.js +2 -0
- package/dist/tabs/root/tabs-root.d.ts +1 -0
- package/dist/tabs/root/tabs-root.js +13 -0
- package/dist/tooltip/root/tooltip-root.js +1 -0
- package/lint.json +1 -1
- package/package.json +5 -5
- package/types/jsx.d.ts +210 -16
- package/types/vue.d.ts +25 -11
- package/types/words.d.ts +14 -0
|
@@ -68,6 +68,9 @@ let HelixHeadlessTabs = class HelixHeadlessTabs extends MixinControllerActive(He
|
|
|
68
68
|
};
|
|
69
69
|
this.handleSlotChange = () => {
|
|
70
70
|
this.sync();
|
|
71
|
+
if (this.active === '') {
|
|
72
|
+
this.requestUpdate();
|
|
73
|
+
}
|
|
71
74
|
this.indicator.place();
|
|
72
75
|
this.refocus();
|
|
73
76
|
this.measure();
|
|
@@ -161,6 +164,16 @@ let HelixHeadlessTabs = class HelixHeadlessTabs extends MixinControllerActive(He
|
|
|
161
164
|
this.resizing?.disconnect();
|
|
162
165
|
this.resizing = undefined;
|
|
163
166
|
}
|
|
167
|
+
willUpdate(changed) {
|
|
168
|
+
super.willUpdate(changed);
|
|
169
|
+
if (this.active === '' && this.childrenKnown) {
|
|
170
|
+
const tabs = this.tabs;
|
|
171
|
+
const shown = tabs.find((tab) => tab.selected) ?? this.resolveActive(tabs);
|
|
172
|
+
if (shown) {
|
|
173
|
+
this.active = shown.value;
|
|
174
|
+
}
|
|
175
|
+
}
|
|
176
|
+
}
|
|
164
177
|
firstUpdated(changed) {
|
|
165
178
|
super.firstUpdated(changed);
|
|
166
179
|
this.sync();
|
|
@@ -353,6 +353,7 @@ let HelixHeadlessTooltip = class HelixHeadlessTooltip extends MixinControllerOpe
|
|
|
353
353
|
hostAria(this.internals, {
|
|
354
354
|
describedBy: this.hasContent ? [bubble] : [],
|
|
355
355
|
label: this.describedText,
|
|
356
|
+
role: 'none',
|
|
356
357
|
});
|
|
357
358
|
this.internals.ariaHidden = this.for !== '' && !this.open ? 'true' : null;
|
|
358
359
|
}
|