@fusion.dev/helix-headless 0.178.0 → 0.179.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 +384 -96
- package/dist/button/root/button-root.d.ts +12 -0
- package/dist/button/root/button-root.js +9 -0
- package/dist/drilldown/item/drilldown-item.d.ts +6 -0
- package/dist/drilldown/item/drilldown-item.js +9 -0
- package/dist/element-events.generated.js +7 -1
- package/dist/heatmap/root/heatmap-root.d.ts +54 -42
- package/dist/heatmap/root/heatmap-root.js +72 -54
- package/dist/menu/item/menu-item.d.ts +6 -0
- package/dist/menu/item/menu-item.js +9 -0
- package/dist/notifications/notification/notification.d.ts +37 -9
- package/dist/notifications/notification/notification.js +21 -4
- package/dist/speed-dial/item/speed-dial-item.d.ts +6 -0
- package/dist/speed-dial/item/speed-dial-item.js +9 -0
- package/dist/tabs/tab/tab.d.ts +6 -0
- package/dist/tabs/tab/tab.js +9 -0
- package/lint.json +1 -1
- package/package.json +5 -5
- package/types/jsx.d.ts +262 -114
- package/types/vue.d.ts +46 -39
- package/types/words.d.ts +13 -6
|
@@ -87,6 +87,12 @@ export declare class HelixHeadlessSpeedDialItem extends HelixElement {
|
|
|
87
87
|
* keyboard controller uses for the arrow keys.
|
|
88
88
|
*/
|
|
89
89
|
focusItem(): void;
|
|
90
|
+
/**
|
|
91
|
+
* Presses the action, as `click()` presses a native button: passed to the
|
|
92
|
+
* control inside, which is what answers a click, so a script's `click()`
|
|
93
|
+
* chooses the action and follows its link, once.
|
|
94
|
+
*/
|
|
95
|
+
click(): void;
|
|
90
96
|
/** Chooses the action, the same as pressing it. */
|
|
91
97
|
select(): void;
|
|
92
98
|
/**
|
|
@@ -43,6 +43,15 @@ let HelixHeadlessSpeedDialItem = class HelixHeadlessSpeedDialItem extends HelixE
|
|
|
43
43
|
focusItem() {
|
|
44
44
|
this.focus();
|
|
45
45
|
}
|
|
46
|
+
click() {
|
|
47
|
+
const control = this.partNamed('item');
|
|
48
|
+
if (control) {
|
|
49
|
+
control.click();
|
|
50
|
+
}
|
|
51
|
+
else {
|
|
52
|
+
super.click();
|
|
53
|
+
}
|
|
54
|
+
}
|
|
46
55
|
select() {
|
|
47
56
|
this.choose();
|
|
48
57
|
}
|
package/dist/tabs/tab/tab.d.ts
CHANGED
|
@@ -112,6 +112,12 @@ export declare class HelixHeadlessTab extends HelixHeadlessTab_base {
|
|
|
112
112
|
* which changes nothing and so re-renders nothing.
|
|
113
113
|
*/
|
|
114
114
|
protected firstUpdated(changed: PropertyValues): void;
|
|
115
|
+
/**
|
|
116
|
+
* Presses the tab, as `click()` presses a native button: passed to the
|
|
117
|
+
* control inside, which is what answers a click, so a script's `click()`
|
|
118
|
+
* selects the tab, or follows its link, once.
|
|
119
|
+
*/
|
|
120
|
+
click(): void;
|
|
115
121
|
protected render(): TemplateResult;
|
|
116
122
|
}
|
|
117
123
|
declare global {
|
package/dist/tabs/tab/tab.js
CHANGED
|
@@ -67,6 +67,15 @@ let HelixHeadlessTab = class HelixHeadlessTab extends MixinDismissible(MixinSele
|
|
|
67
67
|
super.firstUpdated(changed);
|
|
68
68
|
this.finishHydration();
|
|
69
69
|
}
|
|
70
|
+
click() {
|
|
71
|
+
const control = this.partNamed('tab');
|
|
72
|
+
if (control) {
|
|
73
|
+
control.click();
|
|
74
|
+
}
|
|
75
|
+
else {
|
|
76
|
+
super.click();
|
|
77
|
+
}
|
|
78
|
+
}
|
|
70
79
|
render() {
|
|
71
80
|
const tabindex = this.selected || !this.childrenKnown ? '0' : '-1';
|
|
72
81
|
const shortcut = this.dismissible && !this.disabled ? 'Delete' : nothing;
|