q2-tecton-elements 1.14.2 → 1.15.1-alpha.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/{index-0fec9f3b.js → index-afc50fbb.js} +18 -0
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/cjs/q2-avatar.cjs.entry.js +7 -2
- package/dist/cjs/{q2-input.cjs.entry.js → q2-badge_2.cjs.entry.js} +77 -18
- package/dist/cjs/q2-btn_2.cjs.entry.js +7 -6
- package/dist/cjs/q2-calendar.cjs.entry.js +5 -6
- package/dist/cjs/q2-card.cjs.entry.js +15 -8
- package/dist/cjs/q2-carousel-pane.cjs.entry.js +2 -2
- package/dist/cjs/q2-carousel.cjs.entry.js +2 -2
- package/dist/cjs/q2-chart-donut.cjs.entry.js +9 -4
- package/dist/cjs/q2-checkbox-group.cjs.entry.js +2 -2
- package/dist/cjs/q2-checkbox.cjs.entry.js +12 -13
- package/dist/cjs/q2-dropdown-item.cjs.entry.js +2 -2
- package/dist/cjs/q2-dropdown.cjs.entry.js +2 -2
- package/dist/cjs/q2-editable-field.cjs.entry.js +4 -4
- package/dist/cjs/q2-icon.cjs.entry.js +2 -2
- package/dist/cjs/q2-loc.cjs.entry.js +2 -2
- package/dist/cjs/q2-message.cjs.entry.js +2 -2
- package/dist/cjs/q2-optgroup.cjs.entry.js +2 -2
- package/dist/cjs/q2-option-list.cjs.entry.js +6 -6
- package/dist/cjs/q2-option.cjs.entry.js +12 -1
- package/dist/cjs/q2-pagination.cjs.entry.js +2 -2
- package/dist/cjs/q2-pill.cjs.entry.js +10 -3
- package/dist/cjs/q2-radio-group.cjs.entry.js +2 -2
- package/dist/cjs/q2-radio.cjs.entry.js +3 -2
- package/dist/cjs/q2-section.cjs.entry.js +2 -2
- package/dist/cjs/q2-select.cjs.entry.js +300 -195
- package/dist/cjs/q2-stepper-pane.cjs.entry.js +2 -2
- package/dist/cjs/q2-stepper-vertical.cjs.entry.js +3 -2
- package/dist/cjs/q2-stepper.cjs.entry.js +21 -4
- package/dist/cjs/q2-tab-container.cjs.entry.js +16 -6
- package/dist/cjs/q2-tab-pane.cjs.entry.js +8 -1
- package/dist/cjs/q2-tag.cjs.entry.js +2 -2
- package/dist/cjs/q2-tecton-elements.cjs.js +1 -1
- package/dist/cjs/q2-textarea.cjs.entry.js +2 -2
- package/dist/cjs/q2-tooltip.cjs.entry.js +33 -0
- package/dist/cjs/tecton-tab-pane.cjs.entry.js +6 -1
- package/dist/collection/collection-manifest.json +1 -0
- package/dist/collection/components/q2-avatar/index.js +8 -2
- package/dist/collection/components/q2-avatar/styles.css +9 -1
- package/dist/collection/components/q2-badge/index.js +4 -9
- package/dist/collection/components/q2-badge/styles.css +21 -14
- package/dist/collection/components/q2-btn/index.js +7 -6
- package/dist/collection/components/q2-btn/styles.css +10 -12
- package/dist/collection/components/q2-calendar/helpers.js +1 -1
- package/dist/collection/components/q2-calendar/index.js +2 -3
- package/dist/collection/components/q2-calendar/styles.css +7 -7
- package/dist/collection/components/q2-card/index.js +33 -8
- package/dist/collection/components/q2-card/styles.css +33 -36
- package/dist/collection/components/q2-carousel/styles.css +1 -1
- package/dist/collection/components/q2-carousel-pane/styles.css +1 -1
- package/dist/collection/components/q2-chart-donut/index.js +13 -6
- package/dist/collection/components/q2-chart-donut/styles.css +20 -10
- package/dist/collection/components/q2-checkbox/index.js +10 -11
- package/dist/collection/components/q2-checkbox/styles.css +2 -2
- package/dist/collection/components/q2-checkbox-group/styles.css +3 -3
- package/dist/collection/components/q2-dropdown/styles.css +6 -6
- package/dist/collection/components/q2-dropdown-item/styles.css +3 -3
- package/dist/collection/components/q2-editable-field/index.js +19 -2
- package/dist/collection/components/q2-editable-field/styles.css +4 -4
- package/dist/collection/components/q2-icon/styles.css +1 -1
- package/dist/collection/components/q2-input/index.js +90 -23
- package/dist/collection/components/q2-input/styles.css +33 -26
- package/dist/collection/components/q2-loading/styles.css +4 -4
- package/dist/collection/components/q2-loc/styles.css +1 -1
- package/dist/collection/components/q2-message/styles.css +19 -17
- package/dist/collection/components/q2-optgroup/styles.css +7 -11
- package/dist/collection/components/q2-option/index.js +15 -3
- package/dist/collection/components/q2-option/styles.css +12 -5
- package/dist/collection/components/q2-option-list/index.js +22 -7
- package/dist/collection/components/q2-option-list/styles.css +5 -5
- package/dist/collection/components/q2-pagination/styles.css +1 -1
- package/dist/collection/components/q2-pill/index.js +26 -2
- package/dist/collection/components/q2-pill/styles.css +18 -17
- package/dist/collection/components/q2-radio/index.js +1 -0
- package/dist/collection/components/q2-radio/styles.css +2 -2
- package/dist/collection/components/q2-radio-group/styles.css +3 -3
- package/dist/collection/components/q2-section/styles.css +6 -6
- package/dist/collection/components/q2-select/index.js +316 -202
- package/dist/collection/components/q2-select/styles.css +24 -13
- package/dist/collection/components/q2-stepper/index.js +30 -6
- package/dist/collection/components/q2-stepper/styles.css +50 -12
- package/dist/collection/components/q2-stepper-pane/styles.css +1 -1
- package/dist/collection/components/q2-stepper-vertical/index.js +1 -0
- package/dist/collection/components/q2-stepper-vertical/styles.css +14 -14
- package/dist/collection/components/q2-tab-container/index.js +22 -4
- package/dist/collection/components/q2-tab-container/styles.css +23 -9
- package/dist/collection/components/q2-tab-pane/index.js +58 -1
- package/dist/collection/components/q2-tab-pane/styles.css +1 -1
- package/dist/collection/components/q2-tag/styles.css +4 -6
- package/dist/collection/components/q2-textarea/styles.css +2 -2
- package/dist/collection/components/q2-tooltip/index.js +120 -0
- package/dist/collection/components/q2-tooltip/styles.css +276 -0
- package/dist/collection/components/tecton-tab-pane/index.js +57 -1
- package/dist/collection/components/tecton-tab-pane/styles.css +1 -1
- package/dist/collection/utils/index.js +18 -2
- package/dist/esm/{index-14e81efa.js → index-2ca8c93c.js} +18 -2
- package/dist/esm/loader.js +1 -1
- package/dist/esm/q2-avatar.entry.js +7 -2
- package/dist/esm/{q2-input.entry.js → q2-badge_2.entry.js} +78 -20
- package/dist/esm/q2-btn_2.entry.js +7 -6
- package/dist/esm/q2-calendar.entry.js +5 -6
- package/dist/esm/q2-card.entry.js +15 -8
- package/dist/esm/q2-carousel-pane.entry.js +2 -2
- package/dist/esm/q2-carousel.entry.js +2 -2
- package/dist/esm/q2-chart-donut.entry.js +9 -4
- package/dist/esm/q2-checkbox-group.entry.js +2 -2
- package/dist/esm/q2-checkbox.entry.js +12 -13
- package/dist/esm/q2-dropdown-item.entry.js +2 -2
- package/dist/esm/q2-dropdown.entry.js +2 -2
- package/dist/esm/q2-editable-field.entry.js +4 -4
- package/dist/esm/q2-icon.entry.js +2 -2
- package/dist/esm/q2-loc.entry.js +2 -2
- package/dist/esm/q2-message.entry.js +2 -2
- package/dist/esm/q2-optgroup.entry.js +2 -2
- package/dist/esm/q2-option-list.entry.js +6 -6
- package/dist/esm/q2-option.entry.js +12 -1
- package/dist/esm/q2-pagination.entry.js +2 -2
- package/dist/esm/q2-pill.entry.js +10 -3
- package/dist/esm/q2-radio-group.entry.js +2 -2
- package/dist/esm/q2-radio.entry.js +3 -2
- package/dist/esm/q2-section.entry.js +2 -2
- package/dist/esm/q2-select.entry.js +300 -195
- package/dist/esm/q2-stepper-pane.entry.js +2 -2
- package/dist/esm/q2-stepper-vertical.entry.js +3 -2
- package/dist/esm/q2-stepper.entry.js +21 -4
- package/dist/esm/q2-tab-container.entry.js +16 -6
- package/dist/esm/q2-tab-pane.entry.js +9 -2
- package/dist/esm/q2-tag.entry.js +2 -2
- package/dist/esm/q2-tecton-elements.js +1 -1
- package/dist/esm/q2-textarea.entry.js +2 -2
- package/dist/esm/q2-tooltip.entry.js +29 -0
- package/dist/esm/tecton-tab-pane.entry.js +7 -2
- package/dist/q2-tecton-elements/p-0a8b8d14.entry.js +1 -0
- package/dist/q2-tecton-elements/p-0b5fbbe8.entry.js +1 -0
- package/dist/q2-tecton-elements/p-0d00030f.entry.js +1 -0
- package/dist/q2-tecton-elements/{p-85cff6ec.entry.js → p-0e9c7220.entry.js} +1 -1
- package/dist/q2-tecton-elements/p-1b0f826e.entry.js +1 -0
- package/dist/q2-tecton-elements/p-1c430c2a.entry.js +1 -0
- package/dist/q2-tecton-elements/p-2d2008fd.entry.js +1 -0
- package/dist/q2-tecton-elements/p-34f99830.entry.js +1 -0
- package/dist/q2-tecton-elements/{p-ead64414.entry.js → p-35bde69c.entry.js} +1 -1
- package/dist/q2-tecton-elements/{p-d46efe36.entry.js → p-376988ef.entry.js} +1 -1
- package/dist/q2-tecton-elements/p-41fcf343.js +1 -0
- package/dist/q2-tecton-elements/p-49612230.entry.js +1 -0
- package/dist/q2-tecton-elements/p-4b48fde6.entry.js +1 -0
- package/dist/q2-tecton-elements/p-4ec2cb69.entry.js +1 -0
- package/dist/q2-tecton-elements/{p-ea2a290e.entry.js → p-5270b0ff.entry.js} +1 -1
- package/dist/q2-tecton-elements/p-5e990654.entry.js +1 -0
- package/dist/q2-tecton-elements/p-60a7a11e.entry.js +1 -0
- package/dist/q2-tecton-elements/p-677faf2c.entry.js +1 -0
- package/dist/q2-tecton-elements/p-6e10db80.entry.js +1 -0
- package/dist/q2-tecton-elements/p-6f884c60.entry.js +1 -0
- package/dist/q2-tecton-elements/p-822d3d6c.entry.js +1 -0
- package/dist/q2-tecton-elements/p-8584c6bc.entry.js +1 -0
- package/dist/q2-tecton-elements/p-87766054.entry.js +1 -0
- package/dist/q2-tecton-elements/{p-eeb4a008.entry.js → p-879aa7ac.entry.js} +2 -2
- package/dist/q2-tecton-elements/p-92e9f290.entry.js +1 -0
- package/dist/q2-tecton-elements/{p-627df469.entry.js → p-b6c45ef6.entry.js} +1 -1
- package/dist/q2-tecton-elements/{p-cf9e8120.entry.js → p-b7dc4e93.entry.js} +1 -1
- package/dist/q2-tecton-elements/p-c59d601e.entry.js +1 -0
- package/dist/q2-tecton-elements/p-d040bf99.entry.js +1 -0
- package/dist/q2-tecton-elements/p-d79386c6.entry.js +1 -0
- package/dist/q2-tecton-elements/{p-fbfb3615.entry.js → p-dd3f64a7.entry.js} +1 -1
- package/dist/q2-tecton-elements/{p-58e42fc5.entry.js → p-dd792081.entry.js} +1 -1
- package/dist/q2-tecton-elements/p-ef2f68b2.entry.js +1 -0
- package/dist/q2-tecton-elements/{p-882eaf0f.entry.js → p-f617c54a.entry.js} +1 -1
- package/dist/q2-tecton-elements/p-f66adef0.entry.js +1 -0
- package/dist/q2-tecton-elements/q2-tecton-elements.esm.js +1 -1
- package/dist/types/components/q2-avatar/index.d.ts +2 -0
- package/dist/types/components/q2-badge/index.d.ts +0 -1
- package/dist/types/components/q2-card/index.d.ts +1 -0
- package/dist/types/components/q2-checkbox/index.d.ts +0 -1
- package/dist/types/components/q2-editable-field/index.d.ts +1 -0
- package/dist/types/components/q2-input/index.d.ts +6 -2
- package/dist/types/components/q2-option/index.d.ts +2 -0
- package/dist/types/components/q2-option-list/index.d.ts +4 -4
- package/dist/types/components/q2-pill/index.d.ts +2 -0
- package/dist/types/components/q2-select/index.d.ts +37 -24
- package/dist/types/components/q2-stepper/index.d.ts +1 -0
- package/dist/types/components/q2-tab-container/index.d.ts +4 -0
- package/dist/types/components/q2-tab-pane/index.d.ts +5 -1
- package/dist/types/components/q2-tooltip/index.d.ts +10 -0
- package/dist/types/components/tecton-tab-pane/index.d.ts +5 -1
- package/dist/types/components.d.ts +43 -0
- package/dist/types/utils/index.d.ts +3 -1
- package/dist/types/workspace/workspace/{tecton-production_release_1.14.x → tecton-production_release_1.16.x}/packages/q2-tecton-elements/.stencil/test/elements/q2-tag-test.d.ts +0 -0
- package/dist/types/workspace/workspace/{tecton-production_release_1.14.x → tecton-production_release_1.16.x}/packages/q2-tecton-elements/.stencil/test/helpers.d.ts +0 -0
- package/package.json +2 -2
- package/dist/cjs/q2-badge.cjs.entry.js +0 -43
- package/dist/esm/q2-badge.entry.js +0 -39
- package/dist/q2-tecton-elements/p-0675f9c8.entry.js +0 -1
- package/dist/q2-tecton-elements/p-09464226.entry.js +0 -1
- package/dist/q2-tecton-elements/p-0e13d5ba.entry.js +0 -1
- package/dist/q2-tecton-elements/p-1eed57aa.entry.js +0 -1
- package/dist/q2-tecton-elements/p-3796397e.entry.js +0 -1
- package/dist/q2-tecton-elements/p-37f1984c.entry.js +0 -1
- package/dist/q2-tecton-elements/p-3cfc0cb4.entry.js +0 -1
- package/dist/q2-tecton-elements/p-431bf43e.js +0 -1
- package/dist/q2-tecton-elements/p-65e2df25.entry.js +0 -1
- package/dist/q2-tecton-elements/p-663cb6e8.entry.js +0 -1
- package/dist/q2-tecton-elements/p-6727f6d0.entry.js +0 -1
- package/dist/q2-tecton-elements/p-6ced7858.entry.js +0 -1
- package/dist/q2-tecton-elements/p-706249e1.entry.js +0 -1
- package/dist/q2-tecton-elements/p-7249de38.entry.js +0 -1
- package/dist/q2-tecton-elements/p-7ddb159c.entry.js +0 -1
- package/dist/q2-tecton-elements/p-87f448ab.entry.js +0 -1
- package/dist/q2-tecton-elements/p-8f815678.entry.js +0 -1
- package/dist/q2-tecton-elements/p-92886dbe.entry.js +0 -1
- package/dist/q2-tecton-elements/p-94303312.entry.js +0 -1
- package/dist/q2-tecton-elements/p-9af46ffc.entry.js +0 -1
- package/dist/q2-tecton-elements/p-9d8a963b.entry.js +0 -1
- package/dist/q2-tecton-elements/p-b066cdd1.entry.js +0 -1
- package/dist/q2-tecton-elements/p-bd6c6239.entry.js +0 -1
- package/dist/q2-tecton-elements/p-c4eff511.entry.js +0 -1
- package/dist/q2-tecton-elements/p-e435159b.entry.js +0 -1
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
|
|
9
9
|
*:focus {
|
|
10
10
|
outline: none;
|
|
11
|
-
box-shadow: var(--const-global-focus);
|
|
11
|
+
box-shadow: var(--const-global-focus, 0 0 0 2px #33b4ff);
|
|
12
12
|
}
|
|
13
13
|
|
|
14
14
|
:host {
|
|
@@ -137,7 +137,7 @@ textarea {
|
|
|
137
137
|
box-sizing: border-box;
|
|
138
138
|
min-height: var(--tct-textarea-min-height, var(--t-textarea-min-height, var(--comp-textarea-min-height)));
|
|
139
139
|
padding: var(--tct-textarea-vertical-padding, var(--t-textarea-vertical-padding, var(--tct-scale-2x, var(--app-scale-2x, 10px)))) var(--tct-textarea-horizontal-padding, var(--t-textarea-horizontal-padding, var(--tct-scale-2x, var(--app-scale-2x, 10px))));
|
|
140
|
-
background-color: var(--tct-textarea-bg, var(--t-textarea-bg, var(--
|
|
140
|
+
background-color: var(--tct-textarea-bg, var(--t-textarea-bg, var(--tct-input-bg, var(--t-input-bg, var(--t-gray-14, #fcfcfd)))));
|
|
141
141
|
color: var(--tct-textarea-font-color, var(--t-textarea-font-color, var(--t-input-font-color, inherit)));
|
|
142
142
|
border-width: var(--comp-textarea-border-width);
|
|
143
143
|
border-style: solid;
|
|
@@ -0,0 +1,120 @@
|
|
|
1
|
+
import { Component, Prop, h, Element, Fragment } from '@stencil/core';
|
|
2
|
+
export class Q2Tooltip {
|
|
3
|
+
constructor() {
|
|
4
|
+
this.position = 'n';
|
|
5
|
+
}
|
|
6
|
+
render() {
|
|
7
|
+
const classList = ['q2-tooltip-container', 'tooltipped'];
|
|
8
|
+
classList.push(`tooltipped-${this.position}`);
|
|
9
|
+
if (this.block) {
|
|
10
|
+
classList.push('block');
|
|
11
|
+
this.hostElement.style.display = 'block';
|
|
12
|
+
}
|
|
13
|
+
if (this.multiline) {
|
|
14
|
+
classList.push('tooltipped-multiline');
|
|
15
|
+
}
|
|
16
|
+
if (this.persistent) {
|
|
17
|
+
classList.push('persistent');
|
|
18
|
+
}
|
|
19
|
+
return this.label ? (h(Fragment, null,
|
|
20
|
+
h("div", { class: classList.join(' '), "aria-label": this.label },
|
|
21
|
+
h("slot", null)))) : (h("slot", null));
|
|
22
|
+
}
|
|
23
|
+
static get is() { return "q2-tooltip"; }
|
|
24
|
+
static get encapsulation() { return "shadow"; }
|
|
25
|
+
static get originalStyleUrls() { return {
|
|
26
|
+
"$": ["styles.scss"]
|
|
27
|
+
}; }
|
|
28
|
+
static get styleUrls() { return {
|
|
29
|
+
"$": ["styles.css"]
|
|
30
|
+
}; }
|
|
31
|
+
static get properties() { return {
|
|
32
|
+
"label": {
|
|
33
|
+
"type": "string",
|
|
34
|
+
"mutable": false,
|
|
35
|
+
"complexType": {
|
|
36
|
+
"original": "string",
|
|
37
|
+
"resolved": "string",
|
|
38
|
+
"references": {}
|
|
39
|
+
},
|
|
40
|
+
"required": false,
|
|
41
|
+
"optional": false,
|
|
42
|
+
"docs": {
|
|
43
|
+
"tags": [],
|
|
44
|
+
"text": ""
|
|
45
|
+
},
|
|
46
|
+
"attribute": "label",
|
|
47
|
+
"reflect": true
|
|
48
|
+
},
|
|
49
|
+
"block": {
|
|
50
|
+
"type": "boolean",
|
|
51
|
+
"mutable": false,
|
|
52
|
+
"complexType": {
|
|
53
|
+
"original": "boolean",
|
|
54
|
+
"resolved": "boolean",
|
|
55
|
+
"references": {}
|
|
56
|
+
},
|
|
57
|
+
"required": false,
|
|
58
|
+
"optional": false,
|
|
59
|
+
"docs": {
|
|
60
|
+
"tags": [],
|
|
61
|
+
"text": ""
|
|
62
|
+
},
|
|
63
|
+
"attribute": "block",
|
|
64
|
+
"reflect": true
|
|
65
|
+
},
|
|
66
|
+
"multiline": {
|
|
67
|
+
"type": "boolean",
|
|
68
|
+
"mutable": false,
|
|
69
|
+
"complexType": {
|
|
70
|
+
"original": "boolean",
|
|
71
|
+
"resolved": "boolean",
|
|
72
|
+
"references": {}
|
|
73
|
+
},
|
|
74
|
+
"required": false,
|
|
75
|
+
"optional": false,
|
|
76
|
+
"docs": {
|
|
77
|
+
"tags": [],
|
|
78
|
+
"text": ""
|
|
79
|
+
},
|
|
80
|
+
"attribute": "multiline",
|
|
81
|
+
"reflect": true
|
|
82
|
+
},
|
|
83
|
+
"persistent": {
|
|
84
|
+
"type": "boolean",
|
|
85
|
+
"mutable": false,
|
|
86
|
+
"complexType": {
|
|
87
|
+
"original": "boolean",
|
|
88
|
+
"resolved": "boolean",
|
|
89
|
+
"references": {}
|
|
90
|
+
},
|
|
91
|
+
"required": false,
|
|
92
|
+
"optional": false,
|
|
93
|
+
"docs": {
|
|
94
|
+
"tags": [],
|
|
95
|
+
"text": ""
|
|
96
|
+
},
|
|
97
|
+
"attribute": "persistent",
|
|
98
|
+
"reflect": true
|
|
99
|
+
},
|
|
100
|
+
"position": {
|
|
101
|
+
"type": "string",
|
|
102
|
+
"mutable": false,
|
|
103
|
+
"complexType": {
|
|
104
|
+
"original": "'n' | 's' | 'e' | 'w' | 'nw' | 'ne' | 'sw' | 'se'",
|
|
105
|
+
"resolved": "\"e\" | \"n\" | \"ne\" | \"nw\" | \"s\" | \"se\" | \"sw\" | \"w\"",
|
|
106
|
+
"references": {}
|
|
107
|
+
},
|
|
108
|
+
"required": false,
|
|
109
|
+
"optional": false,
|
|
110
|
+
"docs": {
|
|
111
|
+
"tags": [],
|
|
112
|
+
"text": ""
|
|
113
|
+
},
|
|
114
|
+
"attribute": "position",
|
|
115
|
+
"reflect": true,
|
|
116
|
+
"defaultValue": "'n'"
|
|
117
|
+
}
|
|
118
|
+
}; }
|
|
119
|
+
static get elementRef() { return "hostElement"; }
|
|
120
|
+
}
|
|
@@ -0,0 +1,276 @@
|
|
|
1
|
+
* {
|
|
2
|
+
box-sizing: border-box;
|
|
3
|
+
}
|
|
4
|
+
|
|
5
|
+
*:active {
|
|
6
|
+
outline: none;
|
|
7
|
+
}
|
|
8
|
+
|
|
9
|
+
*:focus {
|
|
10
|
+
outline: none;
|
|
11
|
+
box-shadow: var(--const-global-focus, 0 0 0 2px #33b4ff);
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
:host {
|
|
15
|
+
box-shadow: none !important;
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
::-moz-focus-inner {
|
|
19
|
+
border: none;
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
input,
|
|
23
|
+
textarea,
|
|
24
|
+
button {
|
|
25
|
+
font-family: inherit;
|
|
26
|
+
font-size: inherit;
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
:host(.sr),
|
|
30
|
+
:host(.sr) button {
|
|
31
|
+
border: 0;
|
|
32
|
+
clip: rect(0 0 0 0);
|
|
33
|
+
height: 1px;
|
|
34
|
+
margin: -1px;
|
|
35
|
+
overflow: hidden;
|
|
36
|
+
padding: 0;
|
|
37
|
+
position: absolute;
|
|
38
|
+
width: 1px;
|
|
39
|
+
white-space: nowrap;
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
.sr,
|
|
43
|
+
.sr button {
|
|
44
|
+
border: 0;
|
|
45
|
+
clip: rect(0 0 0 0);
|
|
46
|
+
height: 1px;
|
|
47
|
+
margin: -1px;
|
|
48
|
+
overflow: hidden;
|
|
49
|
+
padding: 0;
|
|
50
|
+
position: absolute;
|
|
51
|
+
width: 1px;
|
|
52
|
+
white-space: nowrap;
|
|
53
|
+
}
|
|
54
|
+
|
|
55
|
+
.hidden {
|
|
56
|
+
display: none;
|
|
57
|
+
}
|
|
58
|
+
|
|
59
|
+
:host([hidden]) {
|
|
60
|
+
display: none;
|
|
61
|
+
}
|
|
62
|
+
|
|
63
|
+
.invisible {
|
|
64
|
+
visibility: hidden;
|
|
65
|
+
}
|
|
66
|
+
|
|
67
|
+
:host {
|
|
68
|
+
display: inline-block;
|
|
69
|
+
}
|
|
70
|
+
|
|
71
|
+
.tooltipped {
|
|
72
|
+
--comp-background: var(--tct-tooltip-background-color, var(--t-tooltip-background-color, var(--t-top-a3, rgba(13, 13, 13, 0.85))));
|
|
73
|
+
--comp-offset-default: calc(var(--app-scale-1x, 5px) * -1);
|
|
74
|
+
--comp-offset: var(--tct-tooltip-offset, var(--t-tooltip-offset, var(--comp-offset-default)));
|
|
75
|
+
--comp-position: var(--tct-tooltip-position, var(--t-tooltip-position, var(--app-scale-1x, 5px)));
|
|
76
|
+
--comp-body-offset-default: calc(var(--app-scale-3x, 15px) * -1);
|
|
77
|
+
--comp-body-offset: var(--tct-tooltip-body-offset, var(--t-tooltip-body-offset, var(--comp-body-offset-default)));
|
|
78
|
+
--comp-duration: var(--tct-tooltip-animation-duration, var(--t-tooltip-animation-duration, var(--app-duration-1, 0.2s)));
|
|
79
|
+
--comp-visible-duration: var(--tct-tooltip-animation-visible-duration, var(--t-tooltip-animation-visible-duration, 2s));
|
|
80
|
+
position: relative;
|
|
81
|
+
}
|
|
82
|
+
@keyframes tooltippedFade {
|
|
83
|
+
from {
|
|
84
|
+
opacity: 0;
|
|
85
|
+
}
|
|
86
|
+
to {
|
|
87
|
+
opacity: 1;
|
|
88
|
+
}
|
|
89
|
+
}
|
|
90
|
+
.tooltipped:before {
|
|
91
|
+
position: absolute;
|
|
92
|
+
z-index: 1000001;
|
|
93
|
+
width: 0;
|
|
94
|
+
height: 0;
|
|
95
|
+
color: var(--comp-background);
|
|
96
|
+
pointer-events: none;
|
|
97
|
+
content: "";
|
|
98
|
+
border: var(--tct-tooltip-arrow-size, var(--t-tooltip-arrow-size, var(--app-scale-1x, 5px))) solid transparent;
|
|
99
|
+
}
|
|
100
|
+
.tooltipped:after {
|
|
101
|
+
--comp-padding: var(--app-scale-1x, 5px) 8px;
|
|
102
|
+
position: absolute;
|
|
103
|
+
z-index: 1000000;
|
|
104
|
+
padding: var(--tct-tooltip-padding, var(--t-tooltip-padding, var(--comp-padding)));
|
|
105
|
+
font-weight: 600;
|
|
106
|
+
font-size: 12px;
|
|
107
|
+
line-height: 1.5;
|
|
108
|
+
color: var(--tct-tooltip-color, var(--t-tooltip-color, var(--app-white, #ffffff)));
|
|
109
|
+
text-align: center;
|
|
110
|
+
text-decoration: none;
|
|
111
|
+
text-shadow: none;
|
|
112
|
+
text-transform: none;
|
|
113
|
+
letter-spacing: normal;
|
|
114
|
+
word-wrap: break-word;
|
|
115
|
+
white-space: pre;
|
|
116
|
+
pointer-events: none;
|
|
117
|
+
content: attr(aria-label);
|
|
118
|
+
background: var(--comp-background);
|
|
119
|
+
border-radius: 3px;
|
|
120
|
+
}
|
|
121
|
+
.tooltipped[label][stencil-hydrated]:after {
|
|
122
|
+
content: attr(label);
|
|
123
|
+
}
|
|
124
|
+
.tooltipped:before, .tooltipped:after {
|
|
125
|
+
display: inline-block;
|
|
126
|
+
visibility: hidden;
|
|
127
|
+
opacity: 0;
|
|
128
|
+
transition: all var(--comp-duration) ease-in-out 0s;
|
|
129
|
+
}
|
|
130
|
+
.tooltipped:hover:before, .tooltipped:hover:after, .tooltipped:active:before, .tooltipped:active:after, .tooltipped:focus:before, .tooltipped:focus:after, .tooltipped:focus-within:before, .tooltipped:focus-within:after {
|
|
131
|
+
text-decoration: none;
|
|
132
|
+
visibility: visible;
|
|
133
|
+
opacity: 1;
|
|
134
|
+
}
|
|
135
|
+
.tooltipped:hover:before, .tooltipped:hover:after, .tooltipped:active:before, .tooltipped:active:after {
|
|
136
|
+
transition: all var(--comp-duration) ease-in-out;
|
|
137
|
+
}
|
|
138
|
+
.tooltipped:hover:before, .tooltipped:hover:after {
|
|
139
|
+
transition-delay: 1s;
|
|
140
|
+
}
|
|
141
|
+
.tooltipped:focus:before, .tooltipped:focus:after, .tooltipped:focus-within:before, .tooltipped:focus-within:after {
|
|
142
|
+
animation-timing-function: ease-in-out;
|
|
143
|
+
animation-fill-mode: forwards;
|
|
144
|
+
animation-name: tooltippedFade, tooltippedFade;
|
|
145
|
+
animation-direction: normal, reverse;
|
|
146
|
+
animation-duration: var(--comp-duration);
|
|
147
|
+
animation-delay: 0ms, calc(var(--comp-visible-duration) + var(--comp-duration));
|
|
148
|
+
}
|
|
149
|
+
.tooltipped[stencil-hydrated]:not([label]):not([aria-label]):hover:before, .tooltipped[stencil-hydrated]:not([label]):not([aria-label]):hover:after, .tooltipped[stencil-hydrated]:not([label]):not([aria-label]):active:before, .tooltipped[stencil-hydrated]:not([label]):not([aria-label]):active:after, .tooltipped[stencil-hydrated]:not([label]):not([aria-label]):focus:before, .tooltipped[stencil-hydrated]:not([label]):not([aria-label]):focus:after, .tooltipped:not([stencil-hydrated])[aria-label=""]:hover:before, .tooltipped:not([stencil-hydrated])[aria-label=""]:hover:after, .tooltipped:not([stencil-hydrated])[aria-label=""]:active:before, .tooltipped:not([stencil-hydrated])[aria-label=""]:active:after, .tooltipped:not([stencil-hydrated])[aria-label=""]:focus:before, .tooltipped:not([stencil-hydrated])[aria-label=""]:focus:after, .tooltipped:not([stencil-hydrated]):not([aria-label]):hover:before, .tooltipped:not([stencil-hydrated]):not([aria-label]):hover:after, .tooltipped:not([stencil-hydrated]):not([aria-label]):active:before, .tooltipped:not([stencil-hydrated]):not([aria-label]):active:after, .tooltipped:not([stencil-hydrated]):not([aria-label]):focus:before, .tooltipped:not([stencil-hydrated]):not([aria-label]):focus:after {
|
|
150
|
+
display: none;
|
|
151
|
+
}
|
|
152
|
+
.tooltipped[stencil-hydrated]:not([label]):not([aria-label]):focus-within:before, .tooltipped[stencil-hydrated]:not([label]):not([aria-label]):focus-within:after, .tooltipped:not([stencil-hydrated])[aria-label=""]:focus-within:before, .tooltipped:not([stencil-hydrated])[aria-label=""]:focus-within:after, .tooltipped:not([stencil-hydrated]):not([aria-label]):focus-within:before, .tooltipped:not([stencil-hydrated]):not([aria-label]):focus-within:after {
|
|
153
|
+
display: none;
|
|
154
|
+
}
|
|
155
|
+
.tooltipped-multiline:after {
|
|
156
|
+
width: max-content;
|
|
157
|
+
max-width: var(--tct-tooltip-max-width, var(--t-tooltip-max-width, 200px));
|
|
158
|
+
word-break: break-word;
|
|
159
|
+
word-wrap: normal;
|
|
160
|
+
white-space: pre-line;
|
|
161
|
+
border-collapse: separate;
|
|
162
|
+
text-align: left;
|
|
163
|
+
}
|
|
164
|
+
.tooltipped-multiline.tooltipped-s:after, .tooltipped-multiline.tooltipped-n:after {
|
|
165
|
+
right: auto;
|
|
166
|
+
left: 50%;
|
|
167
|
+
transform: translateX(-50%);
|
|
168
|
+
}
|
|
169
|
+
.tooltipped-multiline.tooltipped-w:after, .tooltipped-multiline.tooltipped-e:after {
|
|
170
|
+
right: 100%;
|
|
171
|
+
}
|
|
172
|
+
.tooltipped-multiline:hover:after, .tooltipped-multiline:active:after, .tooltipped-multiline:focus:after {
|
|
173
|
+
display: table-cell;
|
|
174
|
+
}
|
|
175
|
+
.tooltipped-multiline:focus-within:after {
|
|
176
|
+
display: table-cell;
|
|
177
|
+
}
|
|
178
|
+
.tooltipped-sticky:before, .tooltipped-sticky:after {
|
|
179
|
+
display: inline-block;
|
|
180
|
+
}
|
|
181
|
+
.tooltipped-sticky.tooltipped-multiline:after {
|
|
182
|
+
display: table-cell;
|
|
183
|
+
}
|
|
184
|
+
.tooltipped-s:after, .tooltipped-se:after, .tooltipped-sw:after {
|
|
185
|
+
top: 100%;
|
|
186
|
+
right: 50%;
|
|
187
|
+
margin-top: var(--comp-position);
|
|
188
|
+
}
|
|
189
|
+
.tooltipped-s:before, .tooltipped-se:before, .tooltipped-sw:before {
|
|
190
|
+
top: auto;
|
|
191
|
+
right: 50%;
|
|
192
|
+
bottom: var(--comp-offset);
|
|
193
|
+
margin-right: var(--comp-offset);
|
|
194
|
+
border-bottom-color: var(--comp-background);
|
|
195
|
+
}
|
|
196
|
+
.tooltipped-se:after {
|
|
197
|
+
right: auto;
|
|
198
|
+
left: 50%;
|
|
199
|
+
margin-left: var(--comp-body-offset);
|
|
200
|
+
}
|
|
201
|
+
.tooltipped-sw:after {
|
|
202
|
+
margin-right: var(--comp-body-offset);
|
|
203
|
+
}
|
|
204
|
+
.tooltipped-n:after, .tooltipped-ne:after, .tooltipped-nw:after {
|
|
205
|
+
right: 50%;
|
|
206
|
+
bottom: 100%;
|
|
207
|
+
margin-bottom: var(--comp-position);
|
|
208
|
+
}
|
|
209
|
+
.tooltipped-n:before, .tooltipped-ne:before, .tooltipped-nw:before {
|
|
210
|
+
top: var(--comp-offset);
|
|
211
|
+
right: 50%;
|
|
212
|
+
bottom: auto;
|
|
213
|
+
margin-right: var(--comp-offset);
|
|
214
|
+
border-top-color: var(--comp-background);
|
|
215
|
+
}
|
|
216
|
+
.tooltipped-ne:after {
|
|
217
|
+
right: auto;
|
|
218
|
+
left: 50%;
|
|
219
|
+
margin-left: var(--comp-body-offset);
|
|
220
|
+
}
|
|
221
|
+
.tooltipped-nw:after {
|
|
222
|
+
margin-right: var(--comp-body-offset);
|
|
223
|
+
}
|
|
224
|
+
.tooltipped-s:after, .tooltipped-n:after {
|
|
225
|
+
transform: translateX(50%);
|
|
226
|
+
}
|
|
227
|
+
.tooltipped-w:after {
|
|
228
|
+
right: 100%;
|
|
229
|
+
bottom: 50%;
|
|
230
|
+
margin-right: var(--comp-position);
|
|
231
|
+
transform: translateY(50%);
|
|
232
|
+
}
|
|
233
|
+
.tooltipped-w:before {
|
|
234
|
+
top: 50%;
|
|
235
|
+
bottom: 50%;
|
|
236
|
+
left: var(--comp-offset);
|
|
237
|
+
margin-top: var(--comp-offset);
|
|
238
|
+
border-left-color: var(--comp-background);
|
|
239
|
+
}
|
|
240
|
+
.tooltipped-e:after {
|
|
241
|
+
bottom: 50%;
|
|
242
|
+
left: 100%;
|
|
243
|
+
margin-left: var(--comp-position);
|
|
244
|
+
transform: translateY(50%);
|
|
245
|
+
}
|
|
246
|
+
.tooltipped-e:before {
|
|
247
|
+
top: 50%;
|
|
248
|
+
right: var(--comp-offset);
|
|
249
|
+
bottom: 50%;
|
|
250
|
+
margin-top: var(--comp-offset);
|
|
251
|
+
border-right-color: var(--comp-background);
|
|
252
|
+
}
|
|
253
|
+
|
|
254
|
+
.phone .tooltipped:not(.tooltip-popover):hover:before, .phone .tooltipped:not(.tooltip-popover):hover:after, .phone .tooltipped:not(.tooltip-popover):active:before, .phone .tooltipped:not(.tooltip-popover):active:after, .phone .tooltipped:not(.tooltip-popover):focus:before, .phone .tooltipped:not(.tooltip-popover):focus:after, .phone .tooltipped:not(.tooltip-popover):focus-within:before, .phone .tooltipped:not(.tooltip-popover):focus-within:after,
|
|
255
|
+
.tablet .tooltipped:not(.tooltip-popover):hover:before,
|
|
256
|
+
.tablet .tooltipped:not(.tooltip-popover):hover:after,
|
|
257
|
+
.tablet .tooltipped:not(.tooltip-popover):active:before,
|
|
258
|
+
.tablet .tooltipped:not(.tooltip-popover):active:after,
|
|
259
|
+
.tablet .tooltipped:not(.tooltip-popover):focus:before,
|
|
260
|
+
.tablet .tooltipped:not(.tooltip-popover):focus:after,
|
|
261
|
+
.tablet .tooltipped:not(.tooltip-popover):focus-within:before,
|
|
262
|
+
.tablet .tooltipped:not(.tooltip-popover):focus-within:after {
|
|
263
|
+
display: none;
|
|
264
|
+
}
|
|
265
|
+
|
|
266
|
+
.q2-tooltip-container {
|
|
267
|
+
display: inline-block;
|
|
268
|
+
transition: all var(--comp-duration) ease-in-out 0s;
|
|
269
|
+
}
|
|
270
|
+
.q2-tooltip-container.block {
|
|
271
|
+
display: block;
|
|
272
|
+
}
|
|
273
|
+
.q2-tooltip-container.persistent.tooltipped:before, .q2-tooltip-container.persistent.tooltipped:after {
|
|
274
|
+
visibility: visible;
|
|
275
|
+
opacity: 1;
|
|
276
|
+
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Component, Element, h, Prop, State, Watch } from '@stencil/core';
|
|
1
|
+
import { Component, Element, h, Prop, State, Event, Watch } from '@stencil/core';
|
|
2
2
|
export class TectonTabPane {
|
|
3
3
|
constructor() {
|
|
4
4
|
///////// Actions /////////
|
|
@@ -8,6 +8,9 @@ export class TectonTabPane {
|
|
|
8
8
|
iframe.contentWindow.postMessage(`[iFrameSizer]${this.moduleId}:0:false:false:32:true:true:null:documentElementOffset`, '*');
|
|
9
9
|
};
|
|
10
10
|
}
|
|
11
|
+
badgeObserver() {
|
|
12
|
+
this.badge.emit();
|
|
13
|
+
}
|
|
11
14
|
get iframeTitle() {
|
|
12
15
|
return this.moduleId.split('.').slice(-2).join('-');
|
|
13
16
|
}
|
|
@@ -227,6 +230,40 @@ export class TectonTabPane {
|
|
|
227
230
|
"attribute": "min-height",
|
|
228
231
|
"reflect": true
|
|
229
232
|
},
|
|
233
|
+
"badgeCount": {
|
|
234
|
+
"type": "number",
|
|
235
|
+
"mutable": false,
|
|
236
|
+
"complexType": {
|
|
237
|
+
"original": "number",
|
|
238
|
+
"resolved": "number",
|
|
239
|
+
"references": {}
|
|
240
|
+
},
|
|
241
|
+
"required": false,
|
|
242
|
+
"optional": false,
|
|
243
|
+
"docs": {
|
|
244
|
+
"tags": [],
|
|
245
|
+
"text": ""
|
|
246
|
+
},
|
|
247
|
+
"attribute": "badge-count",
|
|
248
|
+
"reflect": true
|
|
249
|
+
},
|
|
250
|
+
"badgeDescription": {
|
|
251
|
+
"type": "string",
|
|
252
|
+
"mutable": false,
|
|
253
|
+
"complexType": {
|
|
254
|
+
"original": "string",
|
|
255
|
+
"resolved": "string",
|
|
256
|
+
"references": {}
|
|
257
|
+
},
|
|
258
|
+
"required": false,
|
|
259
|
+
"optional": false,
|
|
260
|
+
"docs": {
|
|
261
|
+
"tags": [],
|
|
262
|
+
"text": ""
|
|
263
|
+
},
|
|
264
|
+
"attribute": "badge-description",
|
|
265
|
+
"reflect": true
|
|
266
|
+
},
|
|
230
267
|
"authPayload": {
|
|
231
268
|
"type": "unknown",
|
|
232
269
|
"mutable": false,
|
|
@@ -263,8 +300,27 @@ export class TectonTabPane {
|
|
|
263
300
|
static get states() { return {
|
|
264
301
|
"_showForm": {}
|
|
265
302
|
}; }
|
|
303
|
+
static get events() { return [{
|
|
304
|
+
"method": "badge",
|
|
305
|
+
"name": "badge",
|
|
306
|
+
"bubbles": true,
|
|
307
|
+
"cancelable": true,
|
|
308
|
+
"composed": true,
|
|
309
|
+
"docs": {
|
|
310
|
+
"tags": [],
|
|
311
|
+
"text": ""
|
|
312
|
+
},
|
|
313
|
+
"complexType": {
|
|
314
|
+
"original": "boolean",
|
|
315
|
+
"resolved": "boolean",
|
|
316
|
+
"references": {}
|
|
317
|
+
}
|
|
318
|
+
}]; }
|
|
266
319
|
static get elementRef() { return "hostElement"; }
|
|
267
320
|
static get watchers() { return [{
|
|
321
|
+
"propName": "badgeCount",
|
|
322
|
+
"methodName": "badgeObserver"
|
|
323
|
+
}, {
|
|
268
324
|
"propName": "selected",
|
|
269
325
|
"methodName": "selectedObserver"
|
|
270
326
|
}]; }
|
|
@@ -1,5 +1,8 @@
|
|
|
1
1
|
import { h } from '@stencil/core';
|
|
2
|
-
import
|
|
2
|
+
import smoothScroll from 'smoothscroll-polyfill';
|
|
3
|
+
export function isRelatedTargetWithinHost(event, element) {
|
|
4
|
+
return event.relatedTarget !== element && !element.contains(event.relatedTarget);
|
|
5
|
+
}
|
|
3
6
|
export function isEventFromElement(event, element) {
|
|
4
7
|
var _a;
|
|
5
8
|
return ((_a = event.composedPath) === null || _a === void 0 ? void 0 : _a.call(event)[0]) === element;
|
|
@@ -10,7 +13,7 @@ export function overrideFocus(hostElement) {
|
|
|
10
13
|
export function addSmoothScrollPolyfill() {
|
|
11
14
|
if (!isSafari())
|
|
12
15
|
return false;
|
|
13
|
-
|
|
16
|
+
smoothScroll.polyfill();
|
|
14
17
|
return (window.__forceSmoothScrollPolyfill__ = true);
|
|
15
18
|
}
|
|
16
19
|
export function isFirefox() {
|
|
@@ -123,6 +126,7 @@ export function setPopProperties(target) {
|
|
|
123
126
|
return (target.privatePopDirection = 'down');
|
|
124
127
|
}
|
|
125
128
|
else if (canShowFullSizeAbove || !minPopHeight) {
|
|
129
|
+
determinePopOffset(target);
|
|
126
130
|
return (target.privatePopDirection = 'up');
|
|
127
131
|
}
|
|
128
132
|
// If full size will not fit and minHeight is set, then make as tall as possible
|
|
@@ -136,6 +140,18 @@ export function setPopProperties(target) {
|
|
|
136
140
|
else {
|
|
137
141
|
const maxAboveHeight = Math.max(topOffset, minPopHeight);
|
|
138
142
|
dropdownContainer.style.maxHeight = `${maxAboveHeight}px`;
|
|
143
|
+
determinePopOffset(target);
|
|
139
144
|
return (target.privatePopDirection = 'up');
|
|
140
145
|
}
|
|
141
146
|
}
|
|
147
|
+
const determinePopOffset = ({ dropdownContainer, inputField }) => {
|
|
148
|
+
var _a, _b;
|
|
149
|
+
if (!inputField)
|
|
150
|
+
return;
|
|
151
|
+
const inputFieldHeight = (_b = (_a = inputField.shadowRoot) === null || _a === void 0 ? void 0 : _a.querySelector('.input-field')) === null || _b === void 0 ? void 0 : _b.getBoundingClientRect().height;
|
|
152
|
+
dropdownContainer.style.setProperty('--comp-dropup-offset', `${inputFieldHeight}px`);
|
|
153
|
+
};
|
|
154
|
+
export const resizeIframe = () => {
|
|
155
|
+
var _a, _b;
|
|
156
|
+
return (_b = (_a = window.TectonElements) === null || _a === void 0 ? void 0 : _a.resizeIframe) === null || _b === void 0 ? void 0 : _b.call(_a);
|
|
157
|
+
};
|
|
@@ -446,6 +446,9 @@ var smoothscroll = createCommonjsModule(function (module, exports) {
|
|
|
446
446
|
}());
|
|
447
447
|
});
|
|
448
448
|
|
|
449
|
+
function isRelatedTargetWithinHost(event, element) {
|
|
450
|
+
return event.relatedTarget !== element && !element.contains(event.relatedTarget);
|
|
451
|
+
}
|
|
449
452
|
function isEventFromElement(event, element) {
|
|
450
453
|
var _a;
|
|
451
454
|
return ((_a = event.composedPath) === null || _a === void 0 ? void 0 : _a.call(event)[0]) === element;
|
|
@@ -559,6 +562,7 @@ function setPopProperties(target) {
|
|
|
559
562
|
return (target.privatePopDirection = 'down');
|
|
560
563
|
}
|
|
561
564
|
else if (canShowFullSizeAbove || !minPopHeight) {
|
|
565
|
+
determinePopOffset(target);
|
|
562
566
|
return (target.privatePopDirection = 'up');
|
|
563
567
|
}
|
|
564
568
|
// If full size will not fit and minHeight is set, then make as tall as possible
|
|
@@ -572,8 +576,20 @@ function setPopProperties(target) {
|
|
|
572
576
|
else {
|
|
573
577
|
const maxAboveHeight = Math.max(topOffset, minPopHeight);
|
|
574
578
|
dropdownContainer.style.maxHeight = `${maxAboveHeight}px`;
|
|
579
|
+
determinePopOffset(target);
|
|
575
580
|
return (target.privatePopDirection = 'up');
|
|
576
581
|
}
|
|
577
582
|
}
|
|
578
|
-
|
|
579
|
-
|
|
583
|
+
const determinePopOffset = ({ dropdownContainer, inputField }) => {
|
|
584
|
+
var _a, _b;
|
|
585
|
+
if (!inputField)
|
|
586
|
+
return;
|
|
587
|
+
const inputFieldHeight = (_b = (_a = inputField.shadowRoot) === null || _a === void 0 ? void 0 : _a.querySelector('.input-field')) === null || _b === void 0 ? void 0 : _b.getBoundingClientRect().height;
|
|
588
|
+
dropdownContainer.style.setProperty('--comp-dropup-offset', `${inputFieldHeight}px`);
|
|
589
|
+
};
|
|
590
|
+
const resizeIframe = () => {
|
|
591
|
+
var _a, _b;
|
|
592
|
+
return (_b = (_a = window.TectonElements) === null || _a === void 0 ? void 0 : _a.resizeIframe) === null || _b === void 0 ? void 0 : _b.call(_a);
|
|
593
|
+
};
|
|
594
|
+
|
|
595
|
+
export { isTouchDevice as a, isRelatedTargetWithinHost as b, createGuid as c, addSmoothScrollPolyfill as d, setMessageHeight as e, labelDOM as f, isFirefox as g, handleAriaLabel as h, isEventFromElement as i, loc as l, messagesDOM as m, nextPaint as n, overrideFocus as o, resizeIframe as r, setPopProperties as s };
|