q2-tecton-elements 1.10.4 → 1.10.7
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 -9
- 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 +16 -10
- 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 -9
- 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 -1
- 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-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-9cb0fc37.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,444 +1,363 @@
|
|
|
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-input-margin-top, var(--app-scale-6x, 30px));
|
|
70
|
+
margin-bottom: var(--tct-input-margin-bottom, var(--app-scale-6x, 30px));
|
|
71
|
+
font-size: var(--tct-input-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
|
.field-container,
|
|
80
79
|
.input-container {
|
|
81
|
-
|
|
80
|
+
position: relative;
|
|
82
81
|
}
|
|
83
82
|
|
|
84
83
|
label {
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
text-transform: var(--tct-input-label-text-transform, none);
|
|
97
|
-
letter-spacing: var(--tct-input-label-letter-spacing, normal);
|
|
98
|
-
transition: color var(--tct-input-tween, var(--tct-tween-2, var(--app-tween-2, 0.4s ease)));
|
|
84
|
+
display: block;
|
|
85
|
+
padding-left: var(--tct-input-label-padding-left, 0);
|
|
86
|
+
padding-right: var(--tct-input-label-padding-right, 0);
|
|
87
|
+
margin-top: var(--tct-input-label-margin-top, 0);
|
|
88
|
+
margin-bottom: var(--tct-input-label-margin-bottom, var(--tct-scale-1, var(--app-scale-1, 5px)));
|
|
89
|
+
color: var(--tct-input-label-font-color, inherit);
|
|
90
|
+
font-size: var(--tct-input-label-font-size, inherit);
|
|
91
|
+
font-weight: var(--tct-input-label-font-weight, 600);
|
|
92
|
+
text-transform: var(--tct-input-label-text-transform, none);
|
|
93
|
+
letter-spacing: var(--tct-input-label-letter-spacing, normal);
|
|
94
|
+
transition: color var(--tct-input-tween, var(--tct-tween-2, var(--app-tween-2, 0.4s ease)));
|
|
99
95
|
}
|
|
100
96
|
|
|
101
97
|
.optional-tag {
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
color: var(
|
|
107
|
-
--tct-input-label-optional-font-color,
|
|
108
|
-
var(--tct-a11y-color, var(--t-a11y-gray-color, #767676))
|
|
109
|
-
);
|
|
110
|
-
font-size: var(--tct-input-label-optional-font-size, 12px);
|
|
111
|
-
font-weight: var(--tct-input-label-optional-font-weight, 400);
|
|
98
|
+
margin-left: var(--tct-input-label-optional-margin-left, var(--tct-scale-1, var(--app-scale-1, 5px)));
|
|
99
|
+
color: var(--tct-input-label-optional-font-color, var(--tct-a11y-color, var(--t-a11y-gray-color, #767676)));
|
|
100
|
+
font-size: var(--tct-input-label-optional-font-size, 12px);
|
|
101
|
+
font-weight: var(--tct-input-label-optional-font-weight, 400);
|
|
112
102
|
}
|
|
113
103
|
|
|
114
104
|
.input-container {
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
border-color: var(
|
|
160
|
-
--tct-input-border-color,
|
|
161
|
-
var(--t-input-border, var(--tct-gray-11, var(--t-gray-11, #cccccc)))
|
|
162
|
-
);
|
|
163
|
-
border-radius: var(--comp-input-border-radius);
|
|
164
|
-
box-shadow: var(--tct-input-box-shadow, none);
|
|
165
|
-
transition: border-width
|
|
166
|
-
var(--tct-input-tween, var(--tct-tween-2, var(--app-tween-2, 0.4s ease))),
|
|
167
|
-
border-color var(--tct-input-tween, var(--tct-tween-2, var(--app-tween-2, 0.4s ease))),
|
|
168
|
-
box-shadow var(--tct-input-tween, var(--tct-tween-2, var(--app-tween-2, 0.4s ease)));
|
|
105
|
+
background-color: var(--tct-input-bg, var(--t-input-bg, var(--tct-gray-14, var(--t-gray-14, #f2f2f2))));
|
|
106
|
+
display: flex;
|
|
107
|
+
align-items: center;
|
|
108
|
+
--comp-input-horizontal-gap: var(
|
|
109
|
+
--tct-input-horizontal-gap,
|
|
110
|
+
var(--t-input-horizontal-gap, 8px)
|
|
111
|
+
);
|
|
112
|
+
--comp-input-border-top-left-radius: var(
|
|
113
|
+
--tct-input-border-top-left-radius,
|
|
114
|
+
var(--tct-border-radius-1, var(--app-border-radius-1, 3px))
|
|
115
|
+
);
|
|
116
|
+
--comp-input-border-top-right-radius: var(
|
|
117
|
+
--tct-input-border-top-right-radius,
|
|
118
|
+
var(--tct-border-radius-1, var(--app-border-radius-1, 3px))
|
|
119
|
+
);
|
|
120
|
+
--comp-input-border-bottom-right-radius: var(
|
|
121
|
+
--tct-input-border-bottom-right-radius,
|
|
122
|
+
var(--tct-border-radius-1, var(--app-border-radius-1, 3px))
|
|
123
|
+
);
|
|
124
|
+
--comp-input-border-bottom-left-radius: var(
|
|
125
|
+
--tct-input-border-bottom-left-radius,
|
|
126
|
+
var(--tct-border-radius-1, var(--app-border-radius-1, 3px))
|
|
127
|
+
);
|
|
128
|
+
--comp-input-border-radius: var(--comp-input-border-top-left-radius)
|
|
129
|
+
var(--comp-input-border-top-right-radius) var(--comp-input-border-bottom-right-radius)
|
|
130
|
+
var(--comp-input-border-bottom-left-radius);
|
|
131
|
+
--comp-input-border-width: var(--tct-input-border-top-width, 1px)
|
|
132
|
+
var(--tct-input-border-right-width, 1px) var(--tct-input-border-bottom-width, 1px)
|
|
133
|
+
var(--tct-input-border-left-width, 1px);
|
|
134
|
+
--comp-input-focus-border-width: var(--tct-input-focus-border-top-width, 1px)
|
|
135
|
+
var(--tct-input-focus-border-right-width, 1px)
|
|
136
|
+
var(--tct-input-focus-border-bottom-width, 1px)
|
|
137
|
+
var(--tct-input-focus-border-left-width, 1px);
|
|
138
|
+
--comp-input-prefix-clearance: calc(
|
|
139
|
+
3 * var(--tct-input-prefix-font-size, 14px) + var(--tct-scale-1, 5px)
|
|
140
|
+
);
|
|
141
|
+
--comp-input-icon-clearance: 34px;
|
|
142
|
+
--comp-input-min-height: 44px;
|
|
143
|
+
border-width: var(--comp-input-border-width);
|
|
144
|
+
border-style: solid;
|
|
145
|
+
border-color: var(--tct-input-border-color, var(--t-input-border, var(--tct-gray-11, var(--t-gray-11, #cccccc))));
|
|
146
|
+
border-radius: var(--comp-input-border-radius);
|
|
147
|
+
box-shadow: var(--tct-input-box-shadow, none);
|
|
148
|
+
transition: border-width var(--tct-input-tween, var(--tct-tween-2, var(--app-tween-2, 0.4s ease))), border-color var(--tct-input-tween, var(--tct-tween-2, var(--app-tween-2, 0.4s ease))), box-shadow var(--tct-input-tween, var(--tct-tween-2, var(--app-tween-2, 0.4s ease)));
|
|
169
149
|
}
|
|
170
150
|
|
|
171
151
|
.input-field {
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
152
|
+
flex: 1;
|
|
153
|
+
border: 0;
|
|
154
|
+
-webkit-appearance: none;
|
|
155
|
+
appearance: none;
|
|
156
|
+
box-sizing: border-box;
|
|
157
|
+
min-height: var(--comp-input-min-height);
|
|
158
|
+
height: var(--tct-input-height, 44px);
|
|
159
|
+
width: 100%;
|
|
160
|
+
padding: 0 var(--tct-input-horizontal-padding, var(--tct-scale-2, var(--app-scale-2, 10px)));
|
|
161
|
+
background-color: transparent;
|
|
162
|
+
color: var(--tct-input-font-color, var(--t-input-font-color, var(--t-text, inherit)));
|
|
183
163
|
}
|
|
184
164
|
|
|
185
165
|
input {
|
|
186
|
-
|
|
166
|
+
display: inline-block;
|
|
187
167
|
}
|
|
188
168
|
|
|
189
169
|
.input-field:focus {
|
|
190
|
-
|
|
191
|
-
|
|
170
|
+
outline: none;
|
|
171
|
+
box-shadow: none;
|
|
192
172
|
}
|
|
173
|
+
|
|
193
174
|
/* To remove up/down arrow in number field for webkit based browser */
|
|
194
175
|
.input-field::-webkit-outer-spin-button,
|
|
195
176
|
.input-field::-webkit-inner-spin-button {
|
|
196
|
-
|
|
197
|
-
|
|
177
|
+
-webkit-appearance: none;
|
|
178
|
+
margin: 0;
|
|
198
179
|
}
|
|
180
|
+
|
|
199
181
|
/* For Firefox */
|
|
200
|
-
.input-field[type=
|
|
201
|
-
|
|
182
|
+
.input-field[type=number] {
|
|
183
|
+
-moz-appearance: textfield;
|
|
202
184
|
}
|
|
203
185
|
|
|
204
186
|
.input-container:focus-within {
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
var(--t-input-focus, var(--tct-gray-9, var(--t-gray-9, #999999)))
|
|
209
|
-
);
|
|
210
|
-
box-shadow: var(--tct-global-focus, var(--const-global-focus, 0 0 0 2px #33b4ff)),
|
|
211
|
-
var(--tct-input-focus-box-shadow, 0 0 transparent);
|
|
187
|
+
border-width: var(--comp-input-focus-border-width, 1px);
|
|
188
|
+
border-color: var(--tct-input-focus-border-color, var(--t-input-focus, var(--tct-gray-9, var(--t-gray-9, #999999))));
|
|
189
|
+
box-shadow: var(--tct-global-focus, var(--const-global-focus, 0 0 0 2px #33b4ff)), var(--tct-input-focus-box-shadow, 0 0 transparent);
|
|
212
190
|
}
|
|
213
191
|
|
|
214
192
|
input::-ms-clear {
|
|
215
|
-
|
|
193
|
+
display: none;
|
|
216
194
|
}
|
|
217
195
|
|
|
218
|
-
input[type=
|
|
219
|
-
input[type=
|
|
220
|
-
input[type=
|
|
221
|
-
input[type=
|
|
222
|
-
|
|
196
|
+
input[type=search]::-webkit-search-decoration,
|
|
197
|
+
input[type=search]::-webkit-search-cancel-button,
|
|
198
|
+
input[type=search]::-webkit-search-results-button,
|
|
199
|
+
input[type=search]::-webkit-search-results-decoration {
|
|
200
|
+
display: none;
|
|
223
201
|
}
|
|
224
202
|
|
|
225
203
|
input::placeholder,
|
|
226
204
|
.placeholder-text {
|
|
227
|
-
|
|
228
|
-
--tct-input-placeholder-font-color,
|
|
229
|
-
var(
|
|
230
|
-
--t-input-placeholder-font-color,
|
|
231
|
-
var(--tct-gray-7, var(--t-gray-7, var(--tct-gray-d1, var(--app-gray-d1, #666666))))
|
|
232
|
-
)
|
|
233
|
-
);
|
|
205
|
+
color: var(--tct-input-placeholder-font-color, var(--t-input-placeholder-font-color, var(--tct-gray-7, var(--t-gray-7, var(--tct-gray-d1, var(--app-gray-d1, #666666))))));
|
|
234
206
|
}
|
|
235
207
|
|
|
236
208
|
.pseudo-input {
|
|
237
|
-
|
|
238
|
-
|
|
209
|
+
display: inline-flex;
|
|
210
|
+
align-items: center;
|
|
239
211
|
}
|
|
240
212
|
|
|
241
213
|
.pseudo-input span {
|
|
242
|
-
|
|
243
|
-
|
|
244
|
-
|
|
214
|
+
white-space: nowrap;
|
|
215
|
+
overflow: hidden;
|
|
216
|
+
text-overflow: ellipsis;
|
|
245
217
|
}
|
|
246
218
|
|
|
247
219
|
.input-icons-container-left:empty {
|
|
248
|
-
|
|
220
|
+
display: none;
|
|
249
221
|
}
|
|
222
|
+
|
|
250
223
|
.input-icons-container-left {
|
|
251
|
-
|
|
252
|
-
|
|
253
|
-
|
|
254
|
-
|
|
255
|
-
|
|
224
|
+
display: flex;
|
|
225
|
+
flex-direction: row;
|
|
226
|
+
align-items: center;
|
|
227
|
+
gap: var(--comp-input-horizontal-gap);
|
|
228
|
+
padding-left: var(--comp-input-horizontal-gap);
|
|
256
229
|
}
|
|
257
230
|
|
|
258
231
|
.input-icons-container-right:empty {
|
|
259
|
-
|
|
232
|
+
display: none;
|
|
260
233
|
}
|
|
261
234
|
|
|
262
235
|
.input-icons-container-right {
|
|
263
|
-
|
|
264
|
-
|
|
265
|
-
|
|
266
|
-
|
|
267
|
-
|
|
236
|
+
display: flex;
|
|
237
|
+
flex-direction: row;
|
|
238
|
+
align-items: center;
|
|
239
|
+
gap: var(--comp-input-horizontal-gap);
|
|
240
|
+
padding-right: var(--comp-input-horizontal-gap);
|
|
268
241
|
}
|
|
242
|
+
|
|
269
243
|
.input-icons-container-right .btn-visibility-toggle {
|
|
270
|
-
|
|
271
|
-
|
|
244
|
+
color: var(--tct-primary, var(--t-primary, #006eb2));
|
|
245
|
+
font-size: 12px;
|
|
272
246
|
}
|
|
273
247
|
|
|
274
248
|
q2-icon {
|
|
275
|
-
|
|
276
|
-
|
|
277
|
-
|
|
278
|
-
|
|
279
|
-
|
|
280
|
-
|
|
281
|
-
|
|
282
|
-
|
|
283
|
-
|
|
284
|
-
|
|
285
|
-
|
|
286
|
-
|
|
287
|
-
--tct-input-icon-stroke-primary,
|
|
288
|
-
var(--tct-gray-9, var(--t-gray-9, var(--tct-gray, var(--app-gray, #999999))))
|
|
289
|
-
);
|
|
249
|
+
margin-top: calc(var(--tct-input-border-top-width, 1px) / 2);
|
|
250
|
+
margin-bottom: calc(var(--tct-input-border-bottom-width, 1px) / 2);
|
|
251
|
+
pointer-events: none;
|
|
252
|
+
color: var(--tct-input-icon-stroke-primary, var(--t-gray-9, var(--tct-gray, var(--app-gray, #999999))));
|
|
253
|
+
--tct-icon-stroke-primary: var(
|
|
254
|
+
--tct-input-icon-stroke-primary,
|
|
255
|
+
var(--tct-gray-9, var(--t-gray-9, var(--tct-gray, var(--app-gray, #999999))))
|
|
256
|
+
);
|
|
257
|
+
--t-icon-stroke-primary: var(
|
|
258
|
+
--tct-input-icon-stroke-primary,
|
|
259
|
+
var(--tct-gray-9, var(--t-gray-9, var(--tct-gray, var(--app-gray, #999999))))
|
|
260
|
+
);
|
|
290
261
|
}
|
|
291
262
|
|
|
292
263
|
.icon-left-muted {
|
|
293
|
-
|
|
264
|
+
opacity: 0.5;
|
|
294
265
|
}
|
|
295
266
|
|
|
296
267
|
.input-prefix,
|
|
297
268
|
.input-suffix {
|
|
298
|
-
|
|
299
|
-
|
|
300
|
-
|
|
301
|
-
|
|
302
|
-
|
|
303
|
-
|
|
304
|
-
|
|
305
|
-
|
|
306
|
-
|
|
307
|
-
|
|
308
|
-
|
|
309
|
-
|
|
310
|
-
var(--tct-input-focus-border-bottom-width, 1px)
|
|
311
|
-
);
|
|
312
|
-
font-size: var(--tct-input-prefix-font-size, inherit);
|
|
313
|
-
color: var(--tct-input-prefix-font-color, inherit);
|
|
314
|
-
background-color: var(
|
|
315
|
-
--tct-input-prefix-bg,
|
|
316
|
-
var(--tct-input-bg, var(--t-input-bg, var(--tct-gray-14, var(--t-gray-14, #f2f2f2))))
|
|
317
|
-
);
|
|
318
|
-
transition: color var(--tct-input-tween, var(--tct-tween-2, var(--app-tween-2, 0.4s ease))),
|
|
319
|
-
background-color var(--tct-input-tween, var(--tct-tween-2, var(--app-tween-2, 0.4s ease)));
|
|
269
|
+
margin-left: calc(var(--comp-input-horizontal-gap) * -1);
|
|
270
|
+
margin-right: calc(var(--comp-input-horizontal-gap) * -1);
|
|
271
|
+
width: 3em;
|
|
272
|
+
display: inline-flex;
|
|
273
|
+
align-items: center;
|
|
274
|
+
justify-content: center;
|
|
275
|
+
min-height: calc( var(--comp-input-min-height) - var(--tct-input-focus-border-top-width, 1px) - var(--tct-input-focus-border-bottom-width, 1px) );
|
|
276
|
+
height: calc( var(--tct-input-height, 44px) - var(--tct-input-focus-border-top-width, 1px) - var(--tct-input-focus-border-bottom-width, 1px) );
|
|
277
|
+
font-size: var(--tct-input-prefix-font-size, inherit);
|
|
278
|
+
color: var(--tct-input-prefix-font-color, inherit);
|
|
279
|
+
background-color: var(--tct-input-prefix-bg, var(--tct-input-bg, var(--t-input-bg, var(--tct-gray-14, var(--t-gray-14, #f2f2f2)))));
|
|
280
|
+
transition: color var(--tct-input-tween, var(--tct-tween-2, var(--app-tween-2, 0.4s ease))), background-color var(--tct-input-tween, var(--tct-tween-2, var(--app-tween-2, 0.4s ease)));
|
|
320
281
|
}
|
|
321
282
|
|
|
322
283
|
.input-prefix {
|
|
323
|
-
|
|
324
|
-
|
|
325
|
-
|
|
326
|
-
|
|
327
|
-
border-bottom-left-radius: calc(
|
|
328
|
-
var(--comp-input-border-bottom-left-radius) - var(--tct-input-border-bottom-width, 1px) -
|
|
329
|
-
var(--tct-input-border-left-width, 1px)
|
|
330
|
-
);
|
|
331
|
-
pointer-events: none; /* used to allow iOS voiceover to display keyboard in input TCT-1194 */
|
|
284
|
+
border-top-left-radius: calc( var(--comp-input-border-top-left-radius) - var(--tct-input-border-top-width, 1px) - var(--tct-input-border-left-width, 1px) );
|
|
285
|
+
border-bottom-left-radius: calc( var(--comp-input-border-bottom-left-radius) - var(--tct-input-border-bottom-width, 1px) - var(--tct-input-border-left-width, 1px) );
|
|
286
|
+
pointer-events: none;
|
|
287
|
+
/* used to allow iOS voiceover to display keyboard in input TCT-1194 */
|
|
332
288
|
}
|
|
333
289
|
|
|
334
290
|
.input-suffix {
|
|
335
|
-
|
|
336
|
-
|
|
337
|
-
var(--tct-input-border-right-width, 1px)
|
|
338
|
-
);
|
|
339
|
-
border-bottom-right-radius: calc(
|
|
340
|
-
var(--comp-input-border-bottom-right-radius) - var(--tct-input-border-bottom-width, 1px) -
|
|
341
|
-
var(--tct-input-border-right-width, 1px)
|
|
342
|
-
);
|
|
291
|
+
border-top-right-radius: calc( var(--comp-input-border-top-right-radius) - var(--tct-input-border-top-width, 1px) - var(--tct-input-border-right-width, 1px) );
|
|
292
|
+
border-bottom-right-radius: calc( var(--comp-input-border-bottom-right-radius) - var(--tct-input-border-bottom-width, 1px) - var(--tct-input-border-right-width, 1px) );
|
|
343
293
|
}
|
|
344
294
|
|
|
345
295
|
.icon-error {
|
|
346
|
-
|
|
347
|
-
|
|
348
|
-
|
|
296
|
+
color: var(--tct-stoplight-error, var(--const-stoplight-alert, #c30000));
|
|
297
|
+
--tct-icon-stroke-primary: var(--tct-stoplight-error, var(--const-stoplight-alert, #c30000));
|
|
298
|
+
--t-icon-stroke-primary: var(--tct-stoplight-error, var(--const-stoplight-alert, #c30000));
|
|
349
299
|
}
|
|
350
300
|
|
|
351
301
|
.pw-show {
|
|
352
|
-
|
|
353
|
-
|
|
302
|
+
position: absolute;
|
|
303
|
+
margin-right: var(--tct-scale-2, var(--app-scale-2, 20px));
|
|
354
304
|
}
|
|
355
305
|
|
|
356
306
|
.btn-clear {
|
|
357
|
-
|
|
358
|
-
|
|
359
|
-
|
|
360
|
-
|
|
361
|
-
|
|
362
|
-
|
|
307
|
+
margin-top: calc(var(--tct-input-border-top-width, 1px) / 2);
|
|
308
|
+
margin-bottom: calc(var(--tct-input-border-bottom-width, 1px) / 2);
|
|
309
|
+
height: 22px;
|
|
310
|
+
--tct-btn-icon-width: 17px;
|
|
311
|
+
--tct-btn-icon-height: 22px;
|
|
312
|
+
--tct-icon-size: 17px;
|
|
363
313
|
}
|
|
364
314
|
|
|
365
315
|
.messages-container {
|
|
366
|
-
|
|
367
|
-
|
|
368
|
-
|
|
369
|
-
|
|
370
|
-
|
|
371
|
-
|
|
372
|
-
|
|
373
|
-
|
|
374
|
-
|
|
375
|
-
|
|
376
|
-
transition: height
|
|
377
|
-
var(--tct-input-messages-tween, var(--tct-tween-1, var(--app-tween-1, 0.2s ease)));
|
|
378
|
-
margin-top: 2px;
|
|
379
|
-
z-index: 1;
|
|
380
|
-
position: absolute;
|
|
381
|
-
width: 100%;
|
|
382
|
-
color: var(--tct-input-messages-font-color, inherit);
|
|
316
|
+
height: 0px;
|
|
317
|
+
overflow: hidden;
|
|
318
|
+
background-color: var(--tct-message-bg, var(--tct-gray-14, var(--t-gray-14, var(--tct-gray-l3, var(--app-gray-l3, #f2f2f2)))));
|
|
319
|
+
box-shadow: var(--tct-input-message-box-shadow, var(--tct-box-shadow-1, var(--app-shadow-1, 0 2px 4px rgba(0, 0, 0, 0.3))));
|
|
320
|
+
transition: height var(--tct-input-messages-tween, var(--tct-tween-1, var(--app-tween-1, 0.2s ease)));
|
|
321
|
+
margin-top: 2px;
|
|
322
|
+
z-index: 1;
|
|
323
|
+
position: absolute;
|
|
324
|
+
width: 100%;
|
|
325
|
+
color: var(--tct-input-messages-font-color, inherit);
|
|
383
326
|
}
|
|
384
327
|
|
|
385
328
|
:host([disabled]) .input-container {
|
|
386
|
-
|
|
387
|
-
|
|
388
|
-
--tct-input-disabled-opacity,
|
|
389
|
-
var(--tct-disabled-opacity, var(--app-disabled-opacity, 0.4))
|
|
390
|
-
);
|
|
329
|
+
cursor: not-allowed;
|
|
330
|
+
opacity: var(--tct-input-disabled-opacity, var(--tct-disabled-opacity, var(--app-disabled-opacity, 0.4)));
|
|
391
331
|
}
|
|
392
332
|
|
|
393
333
|
.input-field[disabled] {
|
|
394
|
-
|
|
334
|
+
cursor: not-allowed;
|
|
395
335
|
}
|
|
396
336
|
|
|
397
337
|
.right-aligned .input-field {
|
|
398
|
-
|
|
338
|
+
text-align: right;
|
|
399
339
|
}
|
|
400
340
|
|
|
401
341
|
.has-error label {
|
|
402
|
-
|
|
342
|
+
color: var(--tct-input-error-label-font-color, var(--tct-input-label-font-color, inherit));
|
|
403
343
|
}
|
|
404
344
|
|
|
405
345
|
.has-error:not(.has-focus) .input-prefix,
|
|
406
346
|
.has-error:not(.has-focus) .input-suffix {
|
|
407
|
-
|
|
408
|
-
|
|
409
|
-
--tct-input-error-prefix-bg,
|
|
410
|
-
var(
|
|
411
|
-
--tct-input-bg,
|
|
412
|
-
var(
|
|
413
|
-
--t-input-bg,
|
|
414
|
-
var(--tct-gray-14, var(--app-var(--tct-gray-l3, var(--app-gray-l3, #f2f2f2))))
|
|
415
|
-
)
|
|
416
|
-
)
|
|
417
|
-
);
|
|
347
|
+
color: var(--tct-input-error-prefix-font-color, inherit);
|
|
348
|
+
background-color: var(--tct-input-error-prefix-bg, var(--tct-input-bg, var(--t-input-bg, var(--tct-gray-14, var(--app-var(--tct-gray-l3, var(--app-gray-l3, #f2f2f2)))))));
|
|
418
349
|
}
|
|
419
350
|
|
|
420
351
|
.has-error .input-container:not(:focus-within) {
|
|
421
|
-
|
|
352
|
+
border-color: var(--tct-input-error-border-color, var(--const-stoplight-alert, #c30000));
|
|
422
353
|
}
|
|
423
354
|
|
|
424
355
|
.icon-left {
|
|
425
|
-
|
|
426
|
-
|
|
356
|
+
width: 26px;
|
|
357
|
+
height: 26px;
|
|
427
358
|
}
|
|
359
|
+
|
|
428
360
|
.vertical-separator {
|
|
429
|
-
|
|
430
|
-
|
|
431
|
-
|
|
432
|
-
--tct-input-prefix-border-color,
|
|
433
|
-
var(
|
|
434
|
-
--tct-input-border-color,
|
|
435
|
-
var(
|
|
436
|
-
--t-input-border,
|
|
437
|
-
var(
|
|
438
|
-
--tct-gray-11,
|
|
439
|
-
var(--t-gray-11, var(--tct-gray-l1, var(--app-gray-l1, #cccccc)))
|
|
440
|
-
)
|
|
441
|
-
)
|
|
442
|
-
)
|
|
443
|
-
);
|
|
444
|
-
}
|
|
361
|
+
height: calc(var(--comp-input-min-height) - 2px);
|
|
362
|
+
border-right: 1px solid var(--tct-input-prefix-border-color, var(--tct-input-border-color, var(--t-input-border, var(--tct-gray-11, var(--t-gray-11, var(--tct-gray-l1, var(--app-gray-l1, #cccccc)))))));
|
|
363
|
+
}
|
|
@@ -63,7 +63,7 @@ export class Q2Loading {
|
|
|
63
63
|
static get is() { return "q2-loading"; }
|
|
64
64
|
static get encapsulation() { return "shadow"; }
|
|
65
65
|
static get originalStyleUrls() { return {
|
|
66
|
-
"$": ["styles.
|
|
66
|
+
"$": ["styles.scss"]
|
|
67
67
|
}; }
|
|
68
68
|
static get styleUrls() { return {
|
|
69
69
|
"$": ["styles.css"]
|