q2-tecton-elements 1.10.5 → 1.10.8
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/{icons-921779df.js → icons-4595ee47.js} +61 -1
- package/dist/cjs/{index-f4153f5a.js → index-a55d3c34.js} +9 -0
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/cjs/q2-avatar.cjs.entry.js +1 -1
- package/dist/cjs/q2-btn_2.cjs.entry.js +10 -6
- package/dist/cjs/q2-calendar.cjs.entry.js +2902 -6078
- package/dist/cjs/q2-carousel-pane.cjs.entry.js +50 -7
- package/dist/cjs/q2-carousel.cjs.entry.js +2719 -6513
- package/dist/cjs/q2-checkbox-group.cjs.entry.js +2 -2
- package/dist/cjs/q2-checkbox.cjs.entry.js +10 -2
- package/dist/cjs/q2-dropdown-item.cjs.entry.js +2 -2
- package/dist/cjs/q2-dropdown.cjs.entry.js +8 -2
- package/dist/cjs/q2-editable-field.cjs.entry.js +26 -11
- package/dist/cjs/q2-icon.cjs.entry.js +2 -2
- package/dist/cjs/q2-input.cjs.entry.js +9 -7
- package/dist/cjs/q2-loading-element.cjs.entry.js +1 -1
- package/dist/cjs/q2-loc.cjs.entry.js +1 -1
- package/dist/cjs/q2-message.cjs.entry.js +11 -3
- package/dist/cjs/q2-optgroup.cjs.entry.js +2 -2
- package/dist/cjs/q2-option.cjs.entry.js +3 -34
- package/dist/cjs/q2-radio-group.cjs.entry.js +10 -2
- package/dist/cjs/q2-radio.cjs.entry.js +10 -2
- package/dist/cjs/q2-section.cjs.entry.js +9 -3
- package/dist/cjs/q2-select.cjs.entry.js +175 -130
- package/dist/cjs/q2-stepper-pane.cjs.entry.js +1 -1
- package/dist/cjs/q2-stepper.cjs.entry.js +10 -4
- package/dist/cjs/q2-tab-container.cjs.entry.js +9 -11
- package/dist/cjs/q2-tab-pane.cjs.entry.js +2 -2
- package/dist/cjs/q2-tecton-elements.cjs.js +1 -1
- package/dist/cjs/q2-textarea.cjs.entry.js +8 -4
- package/dist/cjs/tecton-tab-pane.cjs.entry.js +2 -2
- package/dist/collection/components/q2-avatar/index.js +1 -1
- package/dist/collection/components/q2-avatar/styles.css +63 -61
- package/dist/collection/components/q2-btn/index.js +8 -4
- package/dist/collection/components/q2-btn/styles.css +96 -96
- package/dist/collection/components/q2-calendar/helpers.js +77 -52
- package/dist/collection/components/q2-calendar/index.js +248 -196
- package/dist/collection/components/q2-calendar/styles.css +63 -84
- package/dist/collection/components/q2-calendar/validation.js +100 -166
- package/dist/collection/components/q2-carousel/index.js +204 -266
- package/dist/collection/components/q2-carousel/styles.css +152 -155
- package/dist/collection/components/q2-carousel-pane/index.js +67 -28
- package/dist/collection/components/q2-carousel-pane/styles.css +82 -16
- package/dist/collection/components/q2-checkbox/index.js +16 -2
- package/dist/collection/components/q2-checkbox/styles.css +152 -176
- package/dist/collection/components/q2-checkbox-group/index.js +1 -1
- package/dist/collection/components/q2-checkbox-group/styles.css +65 -81
- package/dist/collection/components/q2-dropdown/index.js +15 -2
- package/dist/collection/components/q2-dropdown/styles.css +49 -36
- package/dist/collection/components/q2-dropdown-item/index.js +1 -1
- package/dist/collection/components/q2-dropdown-item/styles.css +48 -62
- package/dist/collection/components/q2-editable-field/index.js +33 -12
- package/dist/collection/components/q2-editable-field/styles.css +49 -50
- package/dist/collection/components/q2-icon/icons.js +61 -1
- package/dist/collection/components/q2-icon/styles.css +29 -29
- package/dist/collection/components/q2-input/index.js +9 -7
- package/dist/collection/components/q2-input/styles.css +211 -292
- package/dist/collection/components/q2-loading/index.js +1 -1
- package/dist/collection/components/q2-loading/skeleton/q2-loading-element/index.js +1 -1
- package/dist/collection/components/q2-loading/skeleton/q2-loading-element/styles.css +5 -6
- package/dist/collection/components/q2-loading/styles.css +130 -136
- package/dist/collection/components/q2-loc/index.js +1 -1
- package/dist/collection/components/q2-loc/styles.css +30 -31
- package/dist/collection/components/q2-message/index.js +18 -3
- package/dist/collection/components/q2-message/styles.css +32 -29
- package/dist/collection/components/q2-optgroup/index.js +1 -1
- package/dist/collection/components/q2-optgroup/styles.css +42 -47
- package/dist/collection/components/q2-option/index.js +4 -42
- package/dist/collection/components/q2-option/styles.css +29 -29
- package/dist/collection/components/q2-radio/index.js +16 -2
- package/dist/collection/components/q2-radio/styles.css +29 -29
- package/dist/collection/components/q2-radio-group/index.js +16 -2
- package/dist/collection/components/q2-radio-group/styles.css +67 -72
- package/dist/collection/components/q2-section/index.js +15 -3
- package/dist/collection/components/q2-section/styles.css +77 -77
- package/dist/collection/components/q2-select/index.js +182 -131
- package/dist/collection/components/q2-select/styles.css +33 -34
- package/dist/collection/components/q2-stepper/index.js +15 -3
- package/dist/collection/components/q2-stepper/styles.css +32 -32
- package/dist/collection/components/q2-stepper-pane/styles.css +29 -29
- package/dist/collection/components/q2-tab-container/index.js +7 -9
- package/dist/collection/components/q2-tab-container/styles.css +29 -29
- package/dist/collection/components/q2-tab-pane/index.js +2 -2
- package/dist/collection/components/q2-tab-pane/styles.css +34 -36
- package/dist/collection/components/q2-textarea/index.js +8 -4
- package/dist/collection/components/q2-textarea/styles.css +180 -228
- package/dist/collection/components/tecton-tab-pane/index.js +2 -2
- package/dist/collection/components/tecton-tab-pane/styles.css +50 -50
- package/dist/collection/utils/index.js +7 -0
- package/dist/esm/{icons-a3817842.js → icons-3ee662ea.js} +61 -1
- package/dist/esm/{index-476b86cc.js → index-ec6660af.js} +8 -1
- package/dist/esm/loader.js +1 -1
- package/dist/esm/q2-avatar.entry.js +1 -1
- package/dist/esm/q2-btn_2.entry.js +10 -6
- package/dist/esm/q2-calendar.entry.js +2902 -6078
- package/dist/esm/q2-carousel-pane.entry.js +51 -8
- package/dist/esm/q2-carousel.entry.js +2720 -6514
- package/dist/esm/q2-checkbox-group.entry.js +2 -2
- package/dist/esm/q2-checkbox.entry.js +10 -2
- package/dist/esm/q2-dropdown-item.entry.js +2 -2
- package/dist/esm/q2-dropdown.entry.js +8 -2
- package/dist/esm/q2-editable-field.entry.js +26 -11
- package/dist/esm/q2-icon.entry.js +2 -2
- package/dist/esm/q2-input.entry.js +9 -7
- package/dist/esm/q2-loading-element.entry.js +1 -1
- package/dist/esm/q2-loc.entry.js +1 -1
- package/dist/esm/q2-message.entry.js +11 -3
- package/dist/esm/q2-optgroup.entry.js +2 -2
- package/dist/esm/q2-option.entry.js +4 -35
- package/dist/esm/q2-radio-group.entry.js +10 -2
- package/dist/esm/q2-radio.entry.js +10 -2
- package/dist/esm/q2-section.entry.js +9 -3
- package/dist/esm/q2-select.entry.js +175 -130
- package/dist/esm/q2-stepper-pane.entry.js +1 -1
- package/dist/esm/q2-stepper.entry.js +10 -4
- package/dist/esm/q2-tab-container.entry.js +7 -9
- package/dist/esm/q2-tab-pane.entry.js +2 -2
- package/dist/esm/q2-tecton-elements.js +1 -1
- package/dist/esm/q2-textarea.entry.js +8 -4
- package/dist/esm/tecton-tab-pane.entry.js +2 -2
- package/dist/q2-tecton-elements/{p-4830affe.entry.js → p-07a5d703.entry.js} +1 -1
- package/dist/q2-tecton-elements/{p-84c05db6.entry.js → p-32ad664c.entry.js} +1 -1
- package/dist/q2-tecton-elements/p-37aba2a4.js +1 -0
- package/dist/q2-tecton-elements/p-4ae9d1f3.entry.js +1 -0
- package/dist/q2-tecton-elements/{p-67d86e3c.js → p-4cd00f1a.js} +1 -1
- package/dist/q2-tecton-elements/p-52f53e07.entry.js +1 -0
- package/dist/q2-tecton-elements/p-5559f126.entry.js +1 -0
- package/dist/q2-tecton-elements/p-6702eb4d.entry.js +1 -0
- package/dist/q2-tecton-elements/p-750bcd33.entry.js +1 -0
- package/dist/q2-tecton-elements/p-78642b7b.entry.js +1 -0
- package/dist/q2-tecton-elements/p-7e6fc65d.entry.js +1 -0
- package/dist/q2-tecton-elements/p-7eb39c90.entry.js +1 -0
- package/dist/q2-tecton-elements/p-81df91a1.entry.js +1 -0
- package/dist/q2-tecton-elements/{p-01e00610.entry.js → p-843b1ee9.entry.js} +1 -1
- package/dist/q2-tecton-elements/p-8509b171.entry.js +1 -0
- package/dist/q2-tecton-elements/p-8ea2c4f7.entry.js +1 -0
- package/dist/q2-tecton-elements/{p-d1d040ef.entry.js → p-95a73559.entry.js} +1 -1
- package/dist/q2-tecton-elements/p-96c9eb75.entry.js +1 -0
- package/dist/q2-tecton-elements/p-9b50c3c3.entry.js +1 -0
- package/dist/q2-tecton-elements/{p-a9bdd814.entry.js → p-a6f8d09a.entry.js} +1 -1
- package/dist/q2-tecton-elements/p-ab977515.entry.js +1 -0
- package/dist/q2-tecton-elements/{p-9314863f.entry.js → p-bb2e110a.entry.js} +1 -1
- package/dist/q2-tecton-elements/p-bbacb804.entry.js +1 -0
- package/dist/q2-tecton-elements/p-c555f1de.entry.js +1 -0
- package/dist/q2-tecton-elements/p-c5e55b9f.entry.js +1 -0
- package/dist/q2-tecton-elements/{p-4229b057.entry.js → p-df182f61.entry.js} +1 -1
- package/dist/q2-tecton-elements/p-fa6eea5c.entry.js +1 -0
- package/dist/q2-tecton-elements/{p-61c0e5fd.entry.js → p-fbf7c5e6.entry.js} +1 -1
- package/dist/q2-tecton-elements/p-fc804ebd.entry.js +1 -0
- package/dist/q2-tecton-elements/q2-tecton-elements.esm.js +1 -1
- package/dist/test/helpers.js +4 -0
- package/dist/types/components/q2-btn/index.d.ts +1 -0
- package/dist/types/components/q2-calendar/helpers.d.ts +6 -6
- package/dist/types/components/q2-calendar/index.d.ts +16 -17
- package/dist/types/components/q2-calendar/types.d.ts +9 -26
- package/dist/types/components/q2-calendar/validation.d.ts +27 -12
- package/dist/types/components/q2-carousel/index.d.ts +15 -45
- package/dist/types/components/q2-carousel-pane/index.d.ts +5 -2
- package/dist/types/components/q2-checkbox/index.d.ts +2 -0
- package/dist/types/components/q2-dropdown/index.d.ts +1 -0
- package/dist/types/components/q2-editable-field/index.d.ts +5 -1
- package/dist/types/components/q2-input/index.d.ts +1 -1
- package/dist/types/components/q2-message/index.d.ts +2 -0
- package/dist/types/components/q2-option/index.d.ts +0 -4
- package/dist/types/components/q2-radio/index.d.ts +3 -0
- package/dist/types/components/q2-radio-group/index.d.ts +1 -0
- package/dist/types/components/q2-section/index.d.ts +1 -0
- package/dist/types/components/q2-select/index.d.ts +10 -7
- package/dist/types/components/q2-stepper/index.d.ts +2 -1
- package/dist/types/components/q2-tab-container/index.d.ts +1 -1
- package/dist/types/components/q2-textarea/index.d.ts +2 -1
- package/dist/types/components.d.ts +3 -2
- package/dist/types/util.d.ts +1 -0
- package/dist/types/utils/index.d.ts +2 -0
- package/dist/types/workspace/workspace/tecton-production_release_1.10.x/packages/q2-tecton-elements/.stencil/test/helpers.d.ts +2 -1
- package/package.json +4 -5
- package/dist/q2-tecton-elements/p-1fc4e6f6.entry.js +0 -1
- package/dist/q2-tecton-elements/p-25a5f691.js +0 -1
- package/dist/q2-tecton-elements/p-27353237.entry.js +0 -1
- package/dist/q2-tecton-elements/p-3e100450.entry.js +0 -1
- package/dist/q2-tecton-elements/p-428d15fd.entry.js +0 -1
- package/dist/q2-tecton-elements/p-48fc317d.entry.js +0 -1
- package/dist/q2-tecton-elements/p-5222b792.entry.js +0 -1
- package/dist/q2-tecton-elements/p-5469c1e9.entry.js +0 -1
- package/dist/q2-tecton-elements/p-74c1a311.entry.js +0 -1
- package/dist/q2-tecton-elements/p-784af485.entry.js +0 -1
- package/dist/q2-tecton-elements/p-7c99a58b.entry.js +0 -1
- package/dist/q2-tecton-elements/p-7f74b629.entry.js +0 -1
- package/dist/q2-tecton-elements/p-831a461f.entry.js +0 -1
- package/dist/q2-tecton-elements/p-84c52d3b.entry.js +0 -9
- package/dist/q2-tecton-elements/p-997e4c7e.entry.js +0 -1
- package/dist/q2-tecton-elements/p-a224bc9c.entry.js +0 -1
- package/dist/q2-tecton-elements/p-d893fcf2.entry.js +0 -1
- package/dist/q2-tecton-elements/p-da7cca07.entry.js +0 -1
- package/dist/q2-tecton-elements/p-f17761da.entry.js +0 -1
- package/dist/q2-tecton-elements/p-f5e074f8.entry.js +0 -1
|
@@ -1,343 +1,295 @@
|
|
|
1
1
|
* {
|
|
2
|
-
|
|
2
|
+
box-sizing: border-box;
|
|
3
3
|
}
|
|
4
4
|
|
|
5
5
|
*:active {
|
|
6
|
-
|
|
6
|
+
outline: none;
|
|
7
7
|
}
|
|
8
8
|
|
|
9
9
|
*:focus {
|
|
10
|
-
|
|
11
|
-
|
|
10
|
+
outline: none;
|
|
11
|
+
box-shadow: var(--const-global-focus);
|
|
12
12
|
}
|
|
13
13
|
|
|
14
14
|
:host {
|
|
15
|
-
|
|
15
|
+
box-shadow: none !important;
|
|
16
16
|
}
|
|
17
17
|
|
|
18
18
|
::-moz-focus-inner {
|
|
19
|
-
|
|
19
|
+
border: none;
|
|
20
20
|
}
|
|
21
21
|
|
|
22
22
|
input,
|
|
23
23
|
textarea,
|
|
24
24
|
button {
|
|
25
|
-
|
|
26
|
-
|
|
25
|
+
font-family: inherit;
|
|
26
|
+
font-size: inherit;
|
|
27
27
|
}
|
|
28
28
|
|
|
29
29
|
:host(.sr),
|
|
30
30
|
:host(.sr) button {
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
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
40
|
}
|
|
41
41
|
|
|
42
42
|
.sr,
|
|
43
43
|
.sr button {
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
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
53
|
}
|
|
54
54
|
|
|
55
55
|
.hidden {
|
|
56
|
-
|
|
56
|
+
display: none;
|
|
57
57
|
}
|
|
58
58
|
|
|
59
59
|
:host([hidden]) {
|
|
60
|
-
|
|
60
|
+
display: none;
|
|
61
61
|
}
|
|
62
62
|
|
|
63
63
|
.invisible {
|
|
64
|
-
|
|
64
|
+
visibility: hidden;
|
|
65
65
|
}
|
|
66
66
|
|
|
67
|
-
|
|
68
67
|
:host {
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
68
|
+
display: block;
|
|
69
|
+
margin-top: var(--tct-textarea-margin-top, var(--app-scale-6x, 30px));
|
|
70
|
+
margin-bottom: var(--tct-textarea-margin-bottom, var(--app-scale-6x, 30px));
|
|
71
|
+
font-size: var(--tct-textarea-font-size, var(--app-font-size, inherit));
|
|
73
72
|
}
|
|
74
73
|
|
|
75
74
|
:host([hidden]) {
|
|
76
|
-
|
|
75
|
+
display: none;
|
|
77
76
|
}
|
|
78
77
|
|
|
79
78
|
label {
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
text-transform: var(--tct-textarea-label-text-transform, none);
|
|
92
|
-
letter-spacing: var(--tct-textarea-label-letter-spacing, normal);
|
|
93
|
-
transition: color var(--tct-textarea-tween, var(--tct-tween-2, var(--app-tween-2, 0.4s ease)));
|
|
79
|
+
display: block;
|
|
80
|
+
padding-left: var(--tct-textarea-label-padding-left, 0);
|
|
81
|
+
padding-right: var(--tct-textarea-label-padding-right, 0);
|
|
82
|
+
margin-top: var(--tct-textarea-label-margin-top, 0);
|
|
83
|
+
margin-bottom: var(--tct-textarea-label-margin-bottom, var(--tct-scale-1x, var(--app-scale-1x, 5px)));
|
|
84
|
+
color: var(--tct-textarea-label-font-color, inherit);
|
|
85
|
+
font-size: var(--tct-textarea-label-font-size, inherit);
|
|
86
|
+
font-weight: var(--tct-textarea-label-font-weight, 600);
|
|
87
|
+
text-transform: var(--tct-textarea-label-text-transform, none);
|
|
88
|
+
letter-spacing: var(--tct-textarea-label-letter-spacing, normal);
|
|
89
|
+
transition: color var(--tct-textarea-tween, var(--tct-tween-2, var(--app-tween-2, 0.4s ease)));
|
|
94
90
|
}
|
|
95
91
|
|
|
96
92
|
.optional-tag {
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
color: var(
|
|
102
|
-
--tct-textarea-label-optional-font-color,
|
|
103
|
-
var(--tct-a11y-color, var(--t-a11y-gray-color, #767676))
|
|
104
|
-
);
|
|
105
|
-
font-size: var(--tct-textarea-label-optional-font-size, 12px);
|
|
106
|
-
font-weight: var(--tct-textarea-label-optional-font-weight, 400);
|
|
93
|
+
margin-left: var(--tct-textarea-label-optional-margin-left, var(--tct-scale-1x, var(--app-scale-1x, 5px)));
|
|
94
|
+
color: var(--tct-textarea-label-optional-font-color, var(--tct-a11y-color, var(--t-a11y-gray-color, #767676)));
|
|
95
|
+
font-size: var(--tct-textarea-label-optional-font-size, 12px);
|
|
96
|
+
font-weight: var(--tct-textarea-label-optional-font-weight, 400);
|
|
107
97
|
}
|
|
108
98
|
|
|
109
99
|
.input-container {
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
100
|
+
min-height: var(--comp-textarea-min-height, var(--tct-textarea-min-height));
|
|
101
|
+
height: 100%;
|
|
102
|
+
--comp-textarea-border-top-left-radius: var(
|
|
103
|
+
--tct-textarea-border-top-left-radius,
|
|
104
|
+
var(--tct-border-radius-1, var(--app-border-radius-1, 3px))
|
|
105
|
+
);
|
|
106
|
+
--comp-textarea-border-top-right-radius: var(
|
|
107
|
+
--tct-textarea-border-top-right-radius,
|
|
108
|
+
var(--tct-border-radius-1, var(--app-border-radius-1, 3px))
|
|
109
|
+
);
|
|
110
|
+
--comp-textarea-border-bottom-right-radius: var(
|
|
111
|
+
--tct-textarea-border-bottom-right-radius,
|
|
112
|
+
var(--tct-border-radius-1, var(--app-border-radius-1, 3px))
|
|
113
|
+
);
|
|
114
|
+
--comp-textarea-border-bottom-left-radius: var(
|
|
115
|
+
--tct-textarea-border-bottom-left-radius,
|
|
116
|
+
var(--tct-border-radius-1, var(--app-border-radius-1, 3px))
|
|
117
|
+
);
|
|
118
|
+
--comp-textarea-border-radius: var(--comp-textarea-border-top-left-radius)
|
|
119
|
+
var(--comp-textarea-border-top-right-radius) var(--comp-textarea-border-bottom-right-radius)
|
|
120
|
+
var(--comp-textarea-border-bottom-left-radius);
|
|
121
|
+
--comp-textarea-border-width: var(--tct-textarea-border-top-width, 1px)
|
|
122
|
+
var(--tct-textarea-border-right-width, 1px) var(--tct-textarea-border-bottom-width, 1px)
|
|
123
|
+
var(--tct-textarea-border-left-width, 1px);
|
|
124
|
+
--comp-textarea-focus-border-width: var(--tct-textarea-focus-border-top-width, 1px)
|
|
125
|
+
var(--tct-textarea-focus-border-right-width, 1px)
|
|
126
|
+
var(--tct-textarea-focus-border-bottom-width, 1px)
|
|
127
|
+
var(--tct-textarea-focus-border-left-width, 1px);
|
|
128
|
+
--comp-textarea-icon-clearance: 34px;
|
|
139
129
|
}
|
|
140
130
|
|
|
141
131
|
.content-container {
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
132
|
+
--comp-textarea-min-height: 44px;
|
|
133
|
+
--comp-textarea-min-width: 150px;
|
|
134
|
+
position: relative;
|
|
135
|
+
display: inline-block;
|
|
136
|
+
min-height: var(--comp-textarea-min-height, var(--tct-textarea-min-height, 44px));
|
|
137
|
+
min-width: var(--comp-textarea-min-width, var(--tct-textarea-min-width, 150px));
|
|
148
138
|
}
|
|
149
139
|
|
|
150
140
|
:host(:not([cols])) .content-container {
|
|
151
|
-
|
|
141
|
+
width: 100%;
|
|
152
142
|
}
|
|
153
143
|
|
|
154
144
|
textarea {
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
var(--t-input-border, var(--tct-gray-11, var(--app-gray-11, #cccccc)))
|
|
174
|
-
);
|
|
175
|
-
border-radius: var(--comp-textarea-border-radius);
|
|
176
|
-
box-shadow: var(--tct-textarea-box-shadow, none);
|
|
177
|
-
scrollbar-width: thin;
|
|
178
|
-
scrollbar-color: var(--t-a11y-gray-color) transparent;
|
|
179
|
-
transition: border-width
|
|
180
|
-
var(--tct-textarea-tween, var(--tct-tween-2, var(--app-tween-2, 0.4s ease))),
|
|
181
|
-
border-color var(--tct-textarea-tween, var(--tct-tween-2, var(--app-tween-2, 0.4s ease))),
|
|
182
|
-
box-shadow var(--tct-textarea-tween, var(--tct-tween-2, var(--app-tween-2, 0.4s ease)));
|
|
145
|
+
resize: none;
|
|
146
|
+
height: 100%;
|
|
147
|
+
-webkit-appearance: none;
|
|
148
|
+
appearance: none;
|
|
149
|
+
display: block;
|
|
150
|
+
box-sizing: border-box;
|
|
151
|
+
min-height: var(--comp-textarea-min-height, var(--tct-textarea-min-height));
|
|
152
|
+
padding: var(--tct-textarea-vertical-padding, var(--tct-scale-2x, var(--app-scale-2x, 10px))) var(--tct-textarea-horizontal-padding, var(--tct-scale-2x, var(--app-scale-2x, 10px)));
|
|
153
|
+
background-color: var(--tct-textarea-bg, var(--t-input-bg, var(--tct-gray-14, var(--app-gray-14, #f2f2f2))));
|
|
154
|
+
color: var(--tct-textarea-font-color, var(--t-input-font-color, inherit));
|
|
155
|
+
border-width: var(--comp-textarea-border-width);
|
|
156
|
+
border-style: solid;
|
|
157
|
+
border-color: var(--tct-textarea-border-color, var(--t-input-border, var(--tct-gray-11, var(--app-gray-11, #cccccc))));
|
|
158
|
+
border-radius: var(--comp-textarea-border-radius);
|
|
159
|
+
box-shadow: var(--tct-textarea-box-shadow, none);
|
|
160
|
+
scrollbar-width: thin;
|
|
161
|
+
scrollbar-color: var(--t-a11y-gray-color) transparent;
|
|
162
|
+
transition: border-width var(--tct-textarea-tween, var(--tct-tween-2, var(--app-tween-2, 0.4s ease))), border-color var(--tct-textarea-tween, var(--tct-tween-2, var(--app-tween-2, 0.4s ease))), box-shadow var(--tct-textarea-tween, var(--tct-tween-2, var(--app-tween-2, 0.4s ease)));
|
|
183
163
|
}
|
|
184
164
|
|
|
185
165
|
textarea::-webkit-scrollbar {
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
166
|
+
width: var(--app-scale-1x);
|
|
167
|
+
height: var(--app-scale-1x);
|
|
168
|
+
margin: var(--app-scale-1x);
|
|
189
169
|
}
|
|
190
170
|
|
|
191
171
|
textarea::-webkit-scrollbar-thumb {
|
|
192
|
-
|
|
193
|
-
|
|
172
|
+
background: var(--t-a11y-gray-color);
|
|
173
|
+
border-radius: 2px;
|
|
194
174
|
}
|
|
195
175
|
|
|
196
176
|
textarea::-webkit-scrollbar-track {
|
|
197
|
-
|
|
177
|
+
background: transparent;
|
|
198
178
|
}
|
|
199
179
|
|
|
200
180
|
textarea:not([cols]) {
|
|
201
|
-
|
|
181
|
+
width: 100%;
|
|
202
182
|
}
|
|
203
183
|
|
|
204
184
|
textarea:focus {
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
var(--t-input-focus, var(--tct-gray-9, var(--app-gray-9, #999999)))
|
|
209
|
-
);
|
|
210
|
-
box-shadow: var(--tct-global-focus, var(--const-global-focus, 0 0 0 2px #33b4ff)),
|
|
211
|
-
var(--tct-textarea-focus-box-shadow, 0 0 transparent);
|
|
185
|
+
border-width: var(--comp-textarea-focus-border-width, 1px);
|
|
186
|
+
border-color: var(--tct-textarea-focus-border-color, var(--t-input-focus, var(--tct-gray-9, var(--app-gray-9, #999999))));
|
|
187
|
+
box-shadow: var(--tct-global-focus, var(--const-global-focus, 0 0 0 2px #33b4ff)), var(--tct-textarea-focus-box-shadow, 0 0 transparent);
|
|
212
188
|
}
|
|
213
189
|
|
|
214
190
|
textarea::placeholder {
|
|
215
|
-
|
|
216
|
-
--tct-textarea-placeholder-font-color,
|
|
217
|
-
var(
|
|
218
|
-
--t-input-placeholder-font-color,
|
|
219
|
-
var(--tct-gray-7, var(--app-gray-7, var(--tct-gray-d1, var(--app-gray-d1, #666666))))
|
|
220
|
-
)
|
|
221
|
-
);
|
|
191
|
+
color: var(--tct-textarea-placeholder-font-color, var(--t-input-placeholder-font-color, var(--tct-gray-7, var(--app-gray-7, var(--tct-gray-d1, var(--app-gray-d1, #666666))))));
|
|
222
192
|
}
|
|
223
193
|
|
|
224
194
|
q2-icon {
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
|
|
240
|
-
|
|
241
|
-
--tct-textarea-icon-stroke-primary,
|
|
242
|
-
var(--tct-gray-9, var(--app-gray-9, var(--tct-gray, var(--app-gray, #999999))))
|
|
243
|
-
);
|
|
195
|
+
margin-top: calc(var(--tct-textarea-border-top-width, 1px) / 2);
|
|
196
|
+
margin-bottom: calc(var(--tct-textarea-border-bottom-width, 1px) / 2);
|
|
197
|
+
pointer-events: none;
|
|
198
|
+
position: absolute;
|
|
199
|
+
top: var(--tct-textarea-vertical-padding, var(--tct-scale-2x, var(--app-scale-2x, 10px)));
|
|
200
|
+
color: var(--tct-textarea-icon-stroke-primary, var(--app-gray-9, var(--tct-gray, var(--app-gray, #999999))));
|
|
201
|
+
right: 0;
|
|
202
|
+
margin-right: var(--tct-scale-2x, var(--app-scale-2x, 10px));
|
|
203
|
+
--tct-icon-stroke-primary: var(
|
|
204
|
+
--tct-textarea-icon-stroke-primary,
|
|
205
|
+
var(--tct-gray-9, var(--app-gray-9, var(--tct-gray, var(--app-gray, #999999))))
|
|
206
|
+
);
|
|
207
|
+
--t-icon-stroke-primary: var(
|
|
208
|
+
--tct-textarea-icon-stroke-primary,
|
|
209
|
+
var(--tct-gray-9, var(--app-gray-9, var(--tct-gray, var(--app-gray, #999999))))
|
|
210
|
+
);
|
|
244
211
|
}
|
|
245
212
|
|
|
246
213
|
.icon-error {
|
|
247
|
-
|
|
248
|
-
|
|
249
|
-
|
|
214
|
+
color: var(--tct-stoplight-error, var(--const-stoplight-alert, #c30000));
|
|
215
|
+
--tct-icon-stroke-primary: var(--tct-stoplight-error, var(--const-stoplight-alert, #c30000));
|
|
216
|
+
--t-icon-stroke-primary: var(--tct-stoplight-error, var(--const-stoplight-alert, #c30000));
|
|
250
217
|
}
|
|
251
218
|
|
|
252
219
|
.messages-container {
|
|
253
|
-
|
|
254
|
-
|
|
255
|
-
|
|
256
|
-
|
|
257
|
-
|
|
258
|
-
|
|
259
|
-
|
|
260
|
-
|
|
261
|
-
|
|
262
|
-
|
|
263
|
-
transition: height
|
|
264
|
-
var(--tct-textarea-messages-tween, var(--tct-tween-1, var(--app-tween-1, 0.2s ease)));
|
|
265
|
-
margin-top: 2px;
|
|
266
|
-
z-index: 1;
|
|
267
|
-
position: absolute;
|
|
268
|
-
width: 100%;
|
|
269
|
-
color: var(--tct-textarea-messages-font-color, inherit);
|
|
220
|
+
height: 0px;
|
|
221
|
+
overflow: hidden;
|
|
222
|
+
background-color: var(--tct-message-bg, var(--tct-gray-14, var(--app-gray-14, var(--tct-gray-l3, var(--app-gray-l3, #f2f2f2)))));
|
|
223
|
+
box-shadow: var(--tct-textarea-message-box-shadow, var(--tct-box-shadow-1, var(--app-shadow-1, 0 2px 4px rgba(0, 0, 0, 0.3))));
|
|
224
|
+
transition: height var(--tct-textarea-messages-tween, var(--tct-tween-1, var(--app-tween-1, 0.2s ease)));
|
|
225
|
+
margin-top: 2px;
|
|
226
|
+
z-index: 1;
|
|
227
|
+
position: absolute;
|
|
228
|
+
width: 100%;
|
|
229
|
+
color: var(--tct-textarea-messages-font-color, inherit);
|
|
270
230
|
}
|
|
271
231
|
|
|
272
232
|
:host([disabled]) .input-container {
|
|
273
|
-
|
|
274
|
-
|
|
275
|
-
--tct-textarea-disabled-opacity,
|
|
276
|
-
var(--tct-disabled-opacity, var(--app-disabled-opacity, 0.4))
|
|
277
|
-
);
|
|
233
|
+
cursor: not-allowed;
|
|
234
|
+
opacity: var(--tct-textarea-disabled-opacity, var(--tct-disabled-opacity, var(--app-disabled-opacity, 0.4)));
|
|
278
235
|
}
|
|
279
236
|
|
|
280
237
|
textarea[disabled] {
|
|
281
|
-
|
|
238
|
+
cursor: not-allowed;
|
|
282
239
|
}
|
|
283
240
|
|
|
284
241
|
.has-error textarea {
|
|
285
|
-
|
|
242
|
+
padding-right: var(--comp-textarea-icon-clearance);
|
|
286
243
|
}
|
|
287
244
|
|
|
288
245
|
.has-error label {
|
|
289
|
-
|
|
290
|
-
--tct-textarea-error-label-font-color,
|
|
291
|
-
var(--tct-textarea-label-font-color, inherit)
|
|
292
|
-
);
|
|
246
|
+
color: var(--tct-textarea-error-label-font-color, var(--tct-textarea-label-font-color, inherit));
|
|
293
247
|
}
|
|
294
248
|
|
|
295
249
|
.has-error textarea:not(:focus) {
|
|
296
|
-
|
|
250
|
+
border-color: var(--tct-textarea-error-border-color, var(--const-stoplight-alert, #c30000));
|
|
297
251
|
}
|
|
298
252
|
|
|
299
253
|
.max-length {
|
|
300
|
-
|
|
301
|
-
|
|
302
|
-
|
|
303
|
-
|
|
304
|
-
);
|
|
305
|
-
position: absolute;
|
|
306
|
-
right: 0;
|
|
254
|
+
color: var(--tct-textarea-max-length-color, var(--t-textA, rgba(77, 77, 77, 0.77)));
|
|
255
|
+
font-size: var(--tct-textarea-max-length-font-size, var(--tct-font-size-small, var(--app-font-size-small, 12px)));
|
|
256
|
+
position: absolute;
|
|
257
|
+
right: 0;
|
|
307
258
|
}
|
|
308
259
|
|
|
309
260
|
.btn-resize {
|
|
310
|
-
|
|
311
|
-
|
|
312
|
-
|
|
313
|
-
|
|
314
|
-
|
|
315
|
-
|
|
316
|
-
|
|
317
|
-
|
|
318
|
-
|
|
319
|
-
|
|
320
|
-
|
|
321
|
-
|
|
322
|
-
|
|
323
|
-
|
|
324
|
-
|
|
325
|
-
|
|
326
|
-
|
|
261
|
+
--tct-textarea-resize-icon-padding: calc(
|
|
262
|
+
calc(
|
|
263
|
+
var(--tct-textarea-resize-btn-width, var(--tct-btn-icon-width, 44px)) -
|
|
264
|
+
var(--tct-textarea-resize-icon-size, 12px)
|
|
265
|
+
) / 2
|
|
266
|
+
);
|
|
267
|
+
width: var(--tct-textarea-resize-btn-width, var(--tct-btn-icon-width, 44px));
|
|
268
|
+
height: var(--tct-textarea-resize-btn-height, var(--tct-btn-icon-height, 44px));
|
|
269
|
+
background: var(--tct-textarea-resize-btn-background, transparent);
|
|
270
|
+
stroke: var(--tct-textarea-resize-color, var(--t-textA, rgba(77, 77, 77, 0.77)));
|
|
271
|
+
border: 0;
|
|
272
|
+
position: absolute;
|
|
273
|
+
right: calc(var(--tct-textarea-resize-icon-padding) * -1 + 2px);
|
|
274
|
+
bottom: calc(var(--tct-textarea-resize-icon-padding) * -1 + 2px);
|
|
275
|
+
display: block;
|
|
276
|
+
padding: var(--tct-textarea-resize-icon-padding);
|
|
277
|
+
font-size: 0;
|
|
327
278
|
}
|
|
279
|
+
|
|
328
280
|
.btn-resize:focus {
|
|
329
|
-
|
|
330
|
-
|
|
281
|
+
outline: none;
|
|
282
|
+
box-shadow: none;
|
|
331
283
|
}
|
|
332
284
|
|
|
333
|
-
:host([resize=
|
|
334
|
-
|
|
285
|
+
:host([resize=both]) .btn-resize {
|
|
286
|
+
cursor: se-resize;
|
|
335
287
|
}
|
|
336
288
|
|
|
337
|
-
:host([resize=
|
|
338
|
-
|
|
289
|
+
:host([resize=vertical]) .btn-resize {
|
|
290
|
+
cursor: s-resize;
|
|
339
291
|
}
|
|
340
292
|
|
|
341
|
-
:host([resize=
|
|
342
|
-
|
|
343
|
-
}
|
|
293
|
+
:host([resize=horizontal]) .btn-resize {
|
|
294
|
+
cursor: e-resize;
|
|
295
|
+
}
|
|
@@ -41,7 +41,7 @@ export class TectonTabPane {
|
|
|
41
41
|
}
|
|
42
42
|
///////// View Methods /////////
|
|
43
43
|
render() {
|
|
44
|
-
return (h("div", { id: `tab-pane-${this.guid}-${this.index}`, class: `tab-pane${this.selected ? '' : ' hidden'}`, role: "tabpanel", tabindex: "-1", "aria-
|
|
44
|
+
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}` },
|
|
45
45
|
this.selected && this.provided !== undefined && !this.provided && (h("div", null,
|
|
46
46
|
h("slot", { name: "loading-wrapper" }),
|
|
47
47
|
h("iframe", { hidden: true, name: this.moduleId, scrolling: "no", src: this.showForm && this.authPayload.length ? '' : this.url || '', "data-module-id": this.moduleId, style: this.minHeight ? { minHeight: this.minHeight } : null, onLoad: this.onIFrameLoad, title: this.iframeTitle, allow: "geolocation; camera" }),
|
|
@@ -54,7 +54,7 @@ export class TectonTabPane {
|
|
|
54
54
|
static get is() { return "tecton-tab-pane"; }
|
|
55
55
|
static get encapsulation() { return "shadow"; }
|
|
56
56
|
static get originalStyleUrls() { return {
|
|
57
|
-
"$": ["styles.
|
|
57
|
+
"$": ["styles.scss"]
|
|
58
58
|
}; }
|
|
59
59
|
static get styleUrls() { return {
|
|
60
60
|
"$": ["styles.css"]
|