q2-tecton-elements 1.25.1 → 1.26.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/dist/cjs/loader.cjs.js +1 -1
- package/dist/cjs/q2-badge_2.cjs.entry.js +22 -22
- package/dist/cjs/q2-btn_2.cjs.entry.js +4 -4
- package/dist/cjs/q2-calendar.cjs.entry.js +2 -2
- package/dist/cjs/q2-carousel.cjs.entry.js +1 -1
- package/dist/cjs/q2-checkbox-group.cjs.entry.js +1 -1
- package/dist/cjs/q2-checkbox.cjs.entry.js +4 -4
- package/dist/cjs/q2-dropdown-item.cjs.entry.js +1 -1
- package/dist/cjs/q2-dropdown.cjs.entry.js +1 -1
- package/dist/cjs/q2-editable-field.cjs.entry.js +1 -1
- package/dist/cjs/q2-option-list_2.cjs.entry.js +55 -16
- package/dist/cjs/q2-pill.cjs.entry.js +1 -1
- package/dist/cjs/q2-radio-group.cjs.entry.js +8 -6
- package/dist/cjs/q2-radio.cjs.entry.js +4 -4
- package/dist/cjs/q2-select.cjs.entry.js +5 -2
- package/dist/cjs/q2-tab-container.cjs.entry.js +14 -2
- package/dist/cjs/q2-tab-pane.cjs.entry.js +6 -1
- package/dist/cjs/q2-tecton-elements.cjs.js +1 -1
- package/dist/cjs/q2-tooltip.cjs.entry.js +17 -2
- package/dist/cjs/tecton-tab-pane.cjs.entry.js +5 -0
- package/dist/collection/collection-manifest.json +2 -2
- package/dist/collection/components/q2-btn/index.js +52 -43
- package/dist/collection/components/q2-calendar/index.js +48 -39
- package/dist/collection/components/q2-carousel/index.js +21 -18
- package/dist/collection/components/q2-checkbox/index.js +42 -36
- package/dist/collection/components/q2-checkbox-group/index.js +1 -1
- package/dist/collection/components/q2-dropdown/index.js +25 -22
- package/dist/collection/components/q2-dropdown-item/index.js +11 -8
- package/dist/collection/components/q2-editable-field/index.js +32 -24
- package/dist/collection/components/q2-input/index.js +72 -50
- package/dist/collection/components/q2-loading/index.js +18 -15
- package/dist/collection/components/q2-pill/styles.css +1 -1
- package/dist/collection/components/q2-popover/index.js +55 -16
- package/dist/collection/components/q2-popover/styles.css +1 -1
- package/dist/collection/components/q2-radio/index.js +24 -21
- package/dist/collection/components/q2-radio/styles.css +6 -6
- package/dist/collection/components/q2-radio-group/index.js +14 -9
- package/dist/collection/components/q2-select/index.js +25 -19
- package/dist/collection/components/q2-tab-container/index.js +18 -6
- package/dist/collection/components/q2-tab-pane/index.js +55 -0
- package/dist/collection/components/q2-tooltip/index.js +42 -3
- package/dist/collection/components/tecton-tab-pane/index.js +55 -0
- package/dist/components/index14.js +56 -17
- package/dist/components/index5.js +7 -7
- package/dist/components/index6.js +4 -4
- package/dist/components/index8.js +23 -23
- package/dist/components/index9.js +3 -3
- package/dist/components/q2-calendar.js +6 -6
- package/dist/components/q2-carousel.js +2 -2
- package/dist/components/q2-checkbox-group.js +1 -1
- package/dist/components/q2-checkbox.js +7 -7
- package/dist/components/q2-dropdown.js +4 -4
- package/dist/components/q2-editable-field.js +4 -4
- package/dist/components/q2-pill.js +1 -1
- package/dist/components/q2-radio-group.js +10 -8
- package/dist/components/q2-radio.js +7 -7
- package/dist/components/q2-select.js +6 -3
- package/dist/components/q2-tab-container.js +14 -2
- package/dist/components/q2-tab-pane.js +8 -1
- package/dist/components/q2-tooltip.js +19 -3
- package/dist/components/tecton-tab-pane.js +7 -0
- package/dist/docs.json +427 -40
- package/dist/esm/loader.js +1 -1
- package/dist/esm/q2-badge_2.entry.js +22 -22
- package/dist/esm/q2-btn_2.entry.js +4 -4
- package/dist/esm/q2-calendar.entry.js +2 -2
- package/dist/esm/q2-carousel.entry.js +1 -1
- package/dist/esm/q2-checkbox-group.entry.js +1 -1
- package/dist/esm/q2-checkbox.entry.js +4 -4
- package/dist/esm/q2-dropdown-item.entry.js +1 -1
- package/dist/esm/q2-dropdown.entry.js +1 -1
- package/dist/esm/q2-editable-field.entry.js +1 -1
- package/dist/esm/q2-option-list_2.entry.js +55 -16
- package/dist/esm/q2-pill.entry.js +1 -1
- package/dist/esm/q2-radio-group.entry.js +8 -6
- package/dist/esm/q2-radio.entry.js +4 -4
- package/dist/esm/q2-select.entry.js +5 -2
- package/dist/esm/q2-tab-container.entry.js +14 -2
- package/dist/esm/q2-tab-pane.entry.js +6 -1
- package/dist/esm/q2-tecton-elements.js +1 -1
- package/dist/esm/q2-tooltip.entry.js +17 -2
- package/dist/esm/tecton-tab-pane.entry.js +5 -0
- package/dist/q2-tecton-elements/p-09639e95.entry.js +1 -0
- package/dist/q2-tecton-elements/p-0b82891e.entry.js +1 -0
- package/dist/q2-tecton-elements/{p-73c12774.entry.js → p-0cbad3bc.entry.js} +1 -1
- package/dist/q2-tecton-elements/p-159d94cc.entry.js +1 -0
- package/dist/q2-tecton-elements/p-18808c27.entry.js +1 -0
- package/dist/q2-tecton-elements/p-4734a577.entry.js +1 -0
- package/dist/q2-tecton-elements/{p-fa8cb091.entry.js → p-55d192b3.entry.js} +1 -1
- package/dist/q2-tecton-elements/p-5878b8bd.entry.js +1 -0
- package/dist/q2-tecton-elements/{p-f573fe5a.entry.js → p-721d0aee.entry.js} +1 -1
- package/dist/q2-tecton-elements/{p-d4909df7.entry.js → p-74ac19cd.entry.js} +1 -1
- package/dist/q2-tecton-elements/{p-82fef3f9.entry.js → p-87cecc80.entry.js} +1 -1
- package/dist/q2-tecton-elements/p-8d703466.entry.js +1 -0
- package/dist/q2-tecton-elements/{p-3fe98171.entry.js → p-a411f2f3.entry.js} +1 -1
- package/dist/q2-tecton-elements/{p-30069b63.entry.js → p-a7679912.entry.js} +1 -1
- package/dist/q2-tecton-elements/p-b8420bfe.entry.js +1 -0
- package/dist/q2-tecton-elements/{p-406f8ca9.entry.js → p-bc8a507b.entry.js} +1 -1
- package/dist/q2-tecton-elements/{p-f83d2df5.entry.js → p-bfaff58b.entry.js} +1 -1
- package/dist/q2-tecton-elements/p-e43d437d.entry.js +1 -0
- package/dist/q2-tecton-elements/q2-tecton-elements.esm.js +1 -1
- package/dist/test/helpers.js +11 -0
- package/dist/types/components/q2-btn/index.d.ts +6 -3
- package/dist/types/components/q2-calendar/index.d.ts +5 -2
- package/dist/types/components/q2-carousel/index.d.ts +2 -1
- package/dist/types/components/q2-checkbox/index.d.ts +6 -4
- package/dist/types/components/q2-checkbox-group/index.d.ts +1 -1
- package/dist/types/components/q2-dropdown/index.d.ts +3 -2
- package/dist/types/components/q2-dropdown-item/index.d.ts +2 -1
- package/dist/types/components/q2-editable-field/index.d.ts +5 -3
- package/dist/types/components/q2-input/index.d.ts +31 -7
- package/dist/types/components/q2-loading/index.d.ts +4 -3
- package/dist/types/components/q2-popover/index.d.ts +5 -1
- package/dist/types/components/q2-radio/index.d.ts +3 -2
- package/dist/types/components/q2-radio-group/index.d.ts +3 -2
- package/dist/types/components/q2-select/index.d.ts +2 -1
- package/dist/types/components/q2-tab-container/index.d.ts +5 -2
- package/dist/types/components/q2-tab-pane/index.d.ts +3 -0
- package/dist/types/components/q2-tooltip/index.d.ts +4 -1
- package/dist/types/components/tecton-tab-pane/index.d.ts +3 -0
- package/dist/types/components.d.ts +140 -24
- package/dist/types/workspace/workspace/{tecton-production_release_1.25.x → Tecton_tecton-production_master}/packages/q2-tecton-elements/.stencil/test/helpers.d.ts +2 -1
- package/package.json +3 -3
- package/dist/q2-tecton-elements/p-18d9cea8.entry.js +0 -1
- package/dist/q2-tecton-elements/p-2313e9a9.entry.js +0 -1
- package/dist/q2-tecton-elements/p-2b9c1815.entry.js +0 -1
- package/dist/q2-tecton-elements/p-3410c675.entry.js +0 -1
- package/dist/q2-tecton-elements/p-471e5d58.entry.js +0 -1
- package/dist/q2-tecton-elements/p-a6bfe392.entry.js +0 -1
- package/dist/q2-tecton-elements/p-c01d0332.entry.js +0 -1
- package/dist/q2-tecton-elements/p-df91e954.entry.js +0 -1
- package/dist/q2-tecton-elements/p-e8e113c2.entry.js +0 -1
|
@@ -31,11 +31,13 @@ const Q2TabContainer$1 = /*@__PURE__*/ proxyCustomElement(class extends HTMLElem
|
|
|
31
31
|
});
|
|
32
32
|
};
|
|
33
33
|
this.setTabs = () => {
|
|
34
|
-
this.tabs = this.tabPanes.map(({ label, value, badgeCount, badgeDescription }) => ({
|
|
34
|
+
this.tabs = this.tabPanes.map(({ label, value, badgeCount, badgeDescription, badgeTheme, badgeStatus }) => ({
|
|
35
35
|
label: (label && loc(label)) || '',
|
|
36
36
|
value,
|
|
37
37
|
badgeCount,
|
|
38
38
|
badgeDescription,
|
|
39
|
+
badgeTheme,
|
|
40
|
+
badgeStatus,
|
|
39
41
|
}));
|
|
40
42
|
};
|
|
41
43
|
this.onTabClick = (event) => {
|
|
@@ -226,7 +228,17 @@ const Q2TabContainer$1 = /*@__PURE__*/ proxyCustomElement(class extends HTMLElem
|
|
|
226
228
|
return (h("li", { role: "presentation" }, h("button", { id: `tab-${this.guid}-${index}`, "data-value": value, "test-id": "tabLink", tabIndex: isSelected ? 0 : -1, role: "tab", "aria-selected": isSelected ? 'true' : 'false', "aria-controls": `tab-pane-${this.guid}-${index}`, onClick: this.onTabClick, onKeyDown: this.onTabKeyDown }, tab.badgeCount === undefined ? label : this.generateTabWithBadge(tab, isSelected))));
|
|
227
229
|
}
|
|
228
230
|
generateTabWithBadge(tab, isSelected) {
|
|
229
|
-
|
|
231
|
+
let theme;
|
|
232
|
+
if (!tab.badgeStatus && isSelected)
|
|
233
|
+
theme = tab.badgeTheme || 'primary';
|
|
234
|
+
let description;
|
|
235
|
+
if (tab.badgeDescription)
|
|
236
|
+
description = loc(tab.badgeDescription);
|
|
237
|
+
else if (tab.badgeStatus)
|
|
238
|
+
description = loc(`tecton.element.tab.pane.${tab.badgeStatus}`, [tab.badgeCount]);
|
|
239
|
+
else
|
|
240
|
+
description = loc('tecton.element.tab.pane.new');
|
|
241
|
+
return (h("div", { class: "tab-pane-badge", "aria-label": `${tab.label}, ${tab.badgeCount} ${description}` }, tab.label, h("q2-badge", { value: tab.badgeCount, theme: theme, status: tab.badgeStatus })));
|
|
230
242
|
}
|
|
231
243
|
get hostElement() { return this; }
|
|
232
244
|
static get watchers() { return {
|
|
@@ -14,6 +14,8 @@ const Q2TabPane$1 = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement {
|
|
|
14
14
|
this.selected = undefined;
|
|
15
15
|
this.badgeCount = undefined;
|
|
16
16
|
this.badgeDescription = undefined;
|
|
17
|
+
this.badgeTheme = undefined;
|
|
18
|
+
this.badgeStatus = undefined;
|
|
17
19
|
this.index = undefined;
|
|
18
20
|
this.guid = undefined;
|
|
19
21
|
}
|
|
@@ -24,7 +26,10 @@ const Q2TabPane$1 = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement {
|
|
|
24
26
|
return (h("div", { id: `tab-pane-${this.guid}-${this.index}`, class: `tab-pane${this.selected ? '' : ' hidden'}`, role: "tabpanel", tabindex: "-1", "aria-hidden": `${!this.selected}`, "aria-labelledby": `tab-${this.guid}-${this.index}` }, h("slot", null)));
|
|
25
27
|
}
|
|
26
28
|
static get watchers() { return {
|
|
27
|
-
"badgeCount": ["badgeObserver"]
|
|
29
|
+
"badgeCount": ["badgeObserver"],
|
|
30
|
+
"badgeDescription": ["badgeObserver"],
|
|
31
|
+
"badgeTheme": ["badgeObserver"],
|
|
32
|
+
"badgeStatus": ["badgeObserver"]
|
|
28
33
|
}; }
|
|
29
34
|
static get style() { return stylesCss; }
|
|
30
35
|
}, [1, "q2-tab-pane", {
|
|
@@ -34,6 +39,8 @@ const Q2TabPane$1 = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement {
|
|
|
34
39
|
"selected": [516],
|
|
35
40
|
"badgeCount": [514, "badge-count"],
|
|
36
41
|
"badgeDescription": [513, "badge-description"],
|
|
42
|
+
"badgeTheme": [513, "badge-theme"],
|
|
43
|
+
"badgeStatus": [513, "badge-status"],
|
|
37
44
|
"index": [2],
|
|
38
45
|
"guid": [2]
|
|
39
46
|
}]);
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { proxyCustomElement, HTMLElement, h, Fragment } from '@stencil/core/internal/client';
|
|
2
|
+
import { o as overrideFocus, a as isEventFromElement } from './index15.js';
|
|
2
3
|
|
|
3
4
|
const stylesCss = "*{box-sizing:border-box}*:active{outline:none}*:focus{outline:none;box-shadow:var(--const-double-focus-ring, 0 0 0 2px #ffffff, 0 0 0 4px #33b4ff #06C)}:host{box-shadow:none !important}::-moz-focus-inner{border:none}input,textarea,button{font-family:inherit;font-size:inherit;font-stretch:inherit}:host(.sr),:host(.sr) button{border:0;clip:rect(0 0 0 0);height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;width:1px;white-space:nowrap}.sr,.sr button{border:0;clip:rect(0 0 0 0);height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;width:1px;white-space:nowrap}.hidden{display:none}:host([hidden]){display:none}.invisible{visibility:hidden}:host{display:inline-block}:host([block]){display:block}.tooltip{--comp-background:var(--tct-tooltip-background-color, var(--t-tooltip-background-color, var(--t-top-a3, rgba(13, 13, 13, 0.85))));--comp-offset-default:calc(var(--app-scale-1x, 5px) * -1);--comp-offset:var(--tct-tooltip-offset, var(--t-tooltip-offset, var(--comp-offset-default)));--comp-position:var(--tct-tooltip-position, var(--t-tooltip-position, var(--app-scale-1x, 5px)));--comp-body-offset-default:calc(var(--app-scale-3x, 15px) * -1);--comp-body-offset:var(--tct-tooltip-body-offset, var(--t-tooltip-body-offset, var(--comp-body-offset-default)));--comp-duration:var(--tct-tooltip-transition-duration, var(--t-tooltip-transition-duration, var(--app-duration-1, 0.2s)));--comp-visible-duration:var(--tct-tooltip-transition-visible-duration, var(--t-tooltip-transition-visible-duration, 2s));--comp-delay:var(--tct-tooltip-transition-delay, var(--t-tooltip-transition-delay, 0s));display:inline-block;position:relative}.tooltip:hover{--comp-delay:var(--tct-tooltip-transition-delay, var(--t-tooltip-transition-delay, 1s))}.tooltip:before{position:absolute;z-index:2;width:0;height:0;color:var(--comp-background);pointer-events:none;content:\"\";border:var(--tct-tooltip-arrow-size, var(--t-tooltip-arrow-size, var(--app-scale-1x, 5px))) solid transparent}.tooltip:after{--comp-padding:var(--app-scale-1x, 5px) 8px;position:absolute;z-index:1;padding:var(--tct-tooltip-padding, var(--t-tooltip-padding, var(--comp-padding)));font-weight:var(--tct-tooltip-font-weight, var(--t-tooltip-font-weight, 600));font-size:var(--tct-tooltip-font-size, var(--t-tooltip-font-size, var(--app-font-size-small, 12px)));line-height:1.5;color:var(--tct-tooltip-color, var(--t-tooltip-color, var(--app-white, #ffffff)));text-align:center;text-decoration:none;text-shadow:none;text-transform:none;letter-spacing:normal;word-wrap:break-word;white-space:pre;pointer-events:none;content:attr(aria-label);background:var(--comp-background);border-radius:var(--tct-tooltip-border-radius, var(--t-tooltip-border-radius, var(--app-border-radius-1, 3px)))}.tooltip:before,.tooltip:after{display:inline-block;visibility:hidden;opacity:0;transition:all var(--comp-duration) ease-in-out var(--comp-delay)}:host([block]) .tooltip{display:block}.tooltip:hover:before,.tooltip:hover:after,.tooltip.has-keyboard-focus:focus-within:before,.tooltip.has-keyboard-focus:focus-within:after,:host([persistent]) .tooltip:before,:host([persistent]) .tooltip:after{text-decoration:none;visibility:visible;opacity:1}@keyframes tooltippedFade{from{opacity:0}to{opacity:1}}.tooltip.has-generic-focus:focus-within:before,.tooltip.has-generic-focus:focus-within:after{visibility:visible;opacity:0;transition:none;animation-timing-function:ease-in-out;animation-fill-mode:forwards;animation-name:tooltippedFade, tooltippedFade;animation-direction:normal, reverse;animation-duration:var(--comp-duration);animation-delay:0ms, calc(var(--comp-visible-duration) + var(--comp-duration))}.tooltip.has-generic-focus-out:before,.tooltip.has-generic-focus-out:after{visibility:visible;opacity:0;transition:none;animation-timing-function:ease-in-out;animation-fill-mode:forwards;animation-name:tooltippedFade;animation-direction:reverse;animation-duration:var(--comp-duration)}:host([multiline]) .tooltip:after{width:max-content;max-width:var(--tct-tooltip-max-width, var(--t-tooltip-max-width, 200px));word-break:break-word;word-wrap:normal;white-space:pre-line;border-collapse:separate;text-align:left}:host([position=s]) :host([multiline]) .tooltip:after,:host([position=n]) :host([multiline]) .tooltip:after{right:auto;left:50%;transform:translateX(-50%)}:host([position=w]) :host([multiline]) .tooltip:after,:host([position=e]) :host([multiline]) .tooltip:after{right:100%}:host([multiline]) .tooltip:hover:after,:host([multiline]) .tooltip:active:after,:host([multiline]) .tooltip:focus:after{display:table-cell}:host([multiline]) .tooltip:focus-within:after{display:table-cell}:host([position=s]) .tooltip:after,:host([position=se]) .tooltip:after,:host([position=sw]) .tooltip:after{top:100%;right:50%;margin-top:var(--comp-position)}:host([position=s]) .tooltip:before,:host([position=se]) .tooltip:before,:host([position=sw]) .tooltip:before{top:auto;right:50%;bottom:var(--comp-offset);margin-right:var(--comp-offset);border-bottom-color:var(--comp-background)}:host([position=n]) .tooltip:after,:host([position=ne]) .tooltip:after,:host([position=nw]) .tooltip:after{right:50%;bottom:100%;margin-bottom:var(--comp-position)}:host([position=n]) .tooltip:before,:host([position=ne]) .tooltip:before,:host([position=nw]) .tooltip:before{top:var(--comp-offset);right:50%;bottom:auto;margin-right:var(--comp-offset);border-top-color:var(--comp-background)}:host([position=se]) .tooltip:after,:host([position=ne]) .tooltip:after{right:auto;left:50%;margin-left:var(--comp-body-offset)}:host([position=sw]) .tooltip:after{margin-right:var(--comp-body-offset)}:host([position=nw]) .tooltip:after{margin-right:var(--comp-body-offset)}:host([position=s]) .tooltip:after,:host([position=n]) .tooltip:after{transform:translateX(50%)}:host([position=w]) .tooltip:after{right:100%;bottom:50%;margin-right:var(--comp-position);transform:translateY(50%)}:host([position=w]) .tooltip:before{top:50%;bottom:50%;left:var(--comp-offset);margin-top:var(--comp-offset);border-left-color:var(--comp-background)}:host([position=e]) .tooltip:after{bottom:50%;left:100%;margin-left:var(--comp-position);transform:translateY(50%)}:host([position=e]) .tooltip:before{top:50%;right:var(--comp-offset);bottom:50%;margin-top:var(--comp-offset);border-right-color:var(--comp-background)}";
|
|
4
5
|
|
|
@@ -13,9 +14,14 @@ const Q2Tooltip$1 = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement {
|
|
|
13
14
|
this.multiline = undefined;
|
|
14
15
|
this.persistent = undefined;
|
|
15
16
|
this.immediate = undefined;
|
|
17
|
+
this.focusable = false;
|
|
16
18
|
this.position = 'n';
|
|
17
19
|
this.focusClass = undefined;
|
|
18
20
|
}
|
|
21
|
+
/// LifeCycle Hooks ///
|
|
22
|
+
componentDidLoad() {
|
|
23
|
+
overrideFocus(this.hostElement);
|
|
24
|
+
}
|
|
19
25
|
/// Getters ///
|
|
20
26
|
get shouldBeVisible() {
|
|
21
27
|
if (this.persistent)
|
|
@@ -64,21 +70,30 @@ const Q2Tooltip$1 = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement {
|
|
|
64
70
|
break;
|
|
65
71
|
}
|
|
66
72
|
}
|
|
67
|
-
|
|
73
|
+
focusCaptureHandler() {
|
|
68
74
|
this.checkFocusClass();
|
|
69
75
|
}
|
|
76
|
+
focusHandler(event) {
|
|
77
|
+
if (!isEventFromElement(event, this.hostElement))
|
|
78
|
+
return;
|
|
79
|
+
if (!this.focusable)
|
|
80
|
+
return;
|
|
81
|
+
this.tooltipElement.focus();
|
|
82
|
+
}
|
|
70
83
|
focusOutHandler() {
|
|
71
84
|
if (this.shouldBeVisible)
|
|
72
85
|
return;
|
|
73
86
|
if (this.focusClass === 'has-generic-focus')
|
|
74
87
|
this.focusClass = 'has-generic-focus-out';
|
|
88
|
+
else
|
|
89
|
+
this.focusClass = null;
|
|
75
90
|
}
|
|
76
91
|
render() {
|
|
77
92
|
const { focusClass } = this;
|
|
78
93
|
const classes = ['tooltip'];
|
|
79
94
|
if (focusClass)
|
|
80
95
|
classes.push(focusClass);
|
|
81
|
-
return this.label ? (h(Fragment, null, h("div", { ref: el => (this.tooltipElement = el), class: classes.join(' '), "aria-label": this.label, onAnimationEnd: () => this.animationEndHandler(), role: "tooltip" }, h("slot", null)))) : (h("slot", null));
|
|
96
|
+
return this.label ? (h(Fragment, null, h("div", { tabindex: this.focusable ? 0 : undefined, ref: el => (this.tooltipElement = el), class: classes.join(' '), "aria-label": this.label, onAnimationEnd: () => this.animationEndHandler(), role: "tooltip", "test-id": "tooltipContainer" }, h("slot", null)))) : (h("slot", null));
|
|
82
97
|
}
|
|
83
98
|
get hostElement() { return this; }
|
|
84
99
|
static get style() { return stylesCss; }
|
|
@@ -88,9 +103,10 @@ const Q2Tooltip$1 = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement {
|
|
|
88
103
|
"multiline": [516],
|
|
89
104
|
"persistent": [516],
|
|
90
105
|
"immediate": [516],
|
|
106
|
+
"focusable": [516],
|
|
91
107
|
"position": [513],
|
|
92
108
|
"focusClass": [32]
|
|
93
|
-
}, [[0, "keyup", "keyUpHandler"], [2, "focus", "focusHandler"], [0, "focusout", "focusOutHandler"]]]);
|
|
109
|
+
}, [[0, "keyup", "keyUpHandler"], [2, "focus", "focusCaptureHandler"], [0, "focus", "focusHandler"], [0, "focusout", "focusOutHandler"]]]);
|
|
94
110
|
function defineCustomElement$1() {
|
|
95
111
|
if (typeof customElements === "undefined") {
|
|
96
112
|
return;
|
|
@@ -26,6 +26,8 @@ const TectonTabPane$1 = /*@__PURE__*/ proxyCustomElement(class extends HTMLEleme
|
|
|
26
26
|
this.minHeight = undefined;
|
|
27
27
|
this.badgeCount = undefined;
|
|
28
28
|
this.badgeDescription = undefined;
|
|
29
|
+
this.badgeTheme = undefined;
|
|
30
|
+
this.badgeStatus = undefined;
|
|
29
31
|
this.authPayload = undefined;
|
|
30
32
|
this.showForm = undefined;
|
|
31
33
|
this._showForm = undefined;
|
|
@@ -70,6 +72,9 @@ const TectonTabPane$1 = /*@__PURE__*/ proxyCustomElement(class extends HTMLEleme
|
|
|
70
72
|
get hostElement() { return this; }
|
|
71
73
|
static get watchers() { return {
|
|
72
74
|
"badgeCount": ["badgeObserver"],
|
|
75
|
+
"badgeDescription": ["badgeObserver"],
|
|
76
|
+
"badgeTheme": ["badgeObserver"],
|
|
77
|
+
"badgeStatus": ["badgeObserver"],
|
|
73
78
|
"selected": ["selectedObserver"]
|
|
74
79
|
}; }
|
|
75
80
|
static get style() { return stylesCss; }
|
|
@@ -86,6 +91,8 @@ const TectonTabPane$1 = /*@__PURE__*/ proxyCustomElement(class extends HTMLEleme
|
|
|
86
91
|
"minHeight": [513, "min-height"],
|
|
87
92
|
"badgeCount": [514, "badge-count"],
|
|
88
93
|
"badgeDescription": [513, "badge-description"],
|
|
94
|
+
"badgeTheme": [513, "badge-theme"],
|
|
95
|
+
"badgeStatus": [513, "badge-status"],
|
|
89
96
|
"authPayload": [16],
|
|
90
97
|
"showForm": [4, "show-form"],
|
|
91
98
|
"_showForm": [32]
|