@ardium-ui/ui 5.0.0-alpha.75 → 5.0.0-alpha.77
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/fesm2022/ardium-ui-ui.mjs +106 -106
- package/fesm2022/ardium-ui-ui.mjs.map +1 -1
- package/package.json +1 -1
- package/prebuilt-themes/default/badge.css +234 -234
- package/prebuilt-themes/default/badge.css.map +1 -1
- package/prebuilt-themes/default/buttons/button.css +324 -324
- package/prebuilt-themes/default/buttons/button.css.map +1 -1
- package/prebuilt-themes/default/buttons/fab.css +317 -319
- package/prebuilt-themes/default/buttons/fab.css.map +1 -1
- package/prebuilt-themes/default/buttons/icon-button.css +299 -300
- package/prebuilt-themes/default/buttons/icon-button.css.map +1 -1
- package/prebuilt-themes/default/calendar.css +390 -391
- package/prebuilt-themes/default/calendar.css.map +1 -1
- package/prebuilt-themes/default/card.css +151 -159
- package/prebuilt-themes/default/card.css.map +1 -1
- package/prebuilt-themes/default/checkbox-list.css +89 -88
- package/prebuilt-themes/default/checkbox-list.css.map +1 -1
- package/prebuilt-themes/default/checkbox.css +349 -349
- package/prebuilt-themes/default/checkbox.css.map +1 -1
- package/prebuilt-themes/default/chips.css +412 -412
- package/prebuilt-themes/default/chips.css.map +1 -1
- package/prebuilt-themes/default/color-display.css +34 -33
- package/prebuilt-themes/default/color-display.css.map +1 -1
- package/prebuilt-themes/default/color-picker.css +105 -103
- package/prebuilt-themes/default/color-picker.css.map +1 -1
- package/prebuilt-themes/default/core.css +108 -106
- package/prebuilt-themes/default/core.css.map +1 -1
- package/prebuilt-themes/default/dialog.css +19 -20
- package/prebuilt-themes/default/dialog.css.map +1 -1
- package/prebuilt-themes/default/divider.css +84 -83
- package/prebuilt-themes/default/divider.css.map +1 -1
- package/prebuilt-themes/default/dropdown-panel.css +42 -42
- package/prebuilt-themes/default/dropdown-panel.css.map +1 -1
- package/prebuilt-themes/default/file-drop-area.css +329 -329
- package/prebuilt-themes/default/file-drop-area.css.map +1 -1
- package/prebuilt-themes/default/form-field-frame.css +102 -102
- package/prebuilt-themes/default/form-field-frame.css.map +1 -1
- package/prebuilt-themes/default/form-field.css +148 -151
- package/prebuilt-themes/default/form-field.css.map +1 -1
- package/prebuilt-themes/default/inputs/autocomplete-input.css +183 -183
- package/prebuilt-themes/default/inputs/autocomplete-input.css.map +1 -1
- package/prebuilt-themes/default/inputs/color-input.css +99 -98
- package/prebuilt-themes/default/inputs/color-input.css.map +1 -1
- package/prebuilt-themes/default/inputs/date-input.css +134 -135
- package/prebuilt-themes/default/inputs/date-input.css.map +1 -1
- package/prebuilt-themes/default/inputs/digit-input.css +120 -122
- package/prebuilt-themes/default/inputs/digit-input.css.map +1 -1
- package/prebuilt-themes/default/inputs/file-input.css +385 -387
- package/prebuilt-themes/default/inputs/file-input.css.map +1 -1
- package/prebuilt-themes/default/inputs/hex-input.css +150 -149
- package/prebuilt-themes/default/inputs/hex-input.css.map +1 -1
- package/prebuilt-themes/default/inputs/input.css +137 -136
- package/prebuilt-themes/default/inputs/input.css.map +1 -1
- package/prebuilt-themes/default/inputs/number-input.css +213 -214
- package/prebuilt-themes/default/inputs/number-input.css.map +1 -1
- package/prebuilt-themes/default/inputs/password-input.css +120 -120
- package/prebuilt-themes/default/inputs/password-input.css.map +1 -1
- package/prebuilt-themes/default/kbd-shortcut.css +14 -13
- package/prebuilt-themes/default/kbd-shortcut.css.map +1 -1
- package/prebuilt-themes/default/kbd.css +26 -25
- package/prebuilt-themes/default/kbd.css.map +1 -1
- package/prebuilt-themes/default/modal.css +96 -95
- package/prebuilt-themes/default/modal.css.map +1 -1
- package/prebuilt-themes/default/progress-bar.css +250 -235
- package/prebuilt-themes/default/progress-bar.css.map +1 -1
- package/prebuilt-themes/default/progress-circle.css +178 -177
- package/prebuilt-themes/default/progress-circle.css.map +1 -1
- package/prebuilt-themes/default/radio.css +246 -248
- package/prebuilt-themes/default/radio.css.map +1 -1
- package/prebuilt-themes/default/segment.css +432 -431
- package/prebuilt-themes/default/segment.css.map +1 -1
- package/prebuilt-themes/default/select.css +302 -304
- package/prebuilt-themes/default/select.css.map +1 -1
- package/prebuilt-themes/default/slide-toggle.css +319 -319
- package/prebuilt-themes/default/slide-toggle.css.map +1 -1
- package/prebuilt-themes/default/slider.css +399 -399
- package/prebuilt-themes/default/slider.css.map +1 -1
- package/prebuilt-themes/default/snackbar.css +185 -185
- package/prebuilt-themes/default/snackbar.css.map +1 -1
- package/prebuilt-themes/default/spinner.css +161 -161
- package/prebuilt-themes/default/spinner.css.map +1 -1
- package/prebuilt-themes/default/stars.css +271 -275
- package/prebuilt-themes/default/stars.css.map +1 -1
- package/prebuilt-themes/default/tabber.css +250 -250
- package/prebuilt-themes/default/tabber.css.map +1 -1
- package/prebuilt-themes/default/table-pagination.css +57 -57
- package/prebuilt-themes/default/table-pagination.css.map +1 -1
- package/prebuilt-themes/default/table.css +464 -463
- package/prebuilt-themes/default/table.css.map +1 -1
- package/themes/default/badge.scss +112 -110
- package/themes/default/buttons/button.scss +91 -89
- package/themes/default/buttons/fab.scss +80 -76
- package/themes/default/buttons/icon-button.scss +73 -71
- package/themes/default/calendar.scss +246 -242
- package/themes/default/card.scss +161 -159
- package/themes/default/checkbox-list.scss +85 -83
- package/themes/default/checkbox.scss +68 -66
- package/themes/default/chips.scss +202 -195
- package/themes/default/color-display.scss +40 -38
- package/themes/default/color-picker.scss +95 -93
- package/themes/default/core.scss +124 -121
- package/themes/default/dialog.scss +21 -19
- package/themes/default/divider.scss +92 -90
- package/themes/default/dropdown-panel.scss +49 -47
- package/themes/default/file-drop-area.scss +197 -195
- package/themes/default/form-field-frame.scss +69 -67
- package/themes/default/form-field.scss +135 -133
- package/themes/default/inputs/autocomplete-input.scss +99 -97
- package/themes/default/inputs/color-input.scss +34 -32
- package/themes/default/inputs/date-input.scss +88 -86
- package/themes/default/inputs/digit-input.scss +103 -101
- package/themes/default/inputs/file-input.scss +158 -156
- package/themes/default/inputs/hex-input.scss +66 -64
- package/themes/default/inputs/input.scss +52 -50
- package/themes/default/inputs/number-input.scss +162 -160
- package/themes/default/inputs/password-input.scss +99 -97
- package/themes/default/kbd-shortcut.scss +15 -13
- package/themes/default/kbd.scss +34 -32
- package/themes/default/modal.scss +106 -104
- package/themes/default/progress-bar.scss +126 -102
- package/themes/default/progress-circle.scss +50 -48
- package/themes/default/radio.scss +110 -108
- package/themes/default/segment.scss +282 -277
- package/themes/default/select.scss +255 -253
- package/themes/default/slide-toggle.scss +173 -171
- package/themes/default/slider.scss +223 -217
- package/themes/default/snackbar.scss +49 -47
- package/themes/default/spinner.scss +23 -21
- package/themes/default/stars.scss +95 -93
- package/themes/default/tabber.scss +105 -103
- package/themes/default/table-pagination.scss +60 -59
- package/themes/default/table.scss +375 -373
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sourceRoot":"","sources":["../../../../../projects/ui/src/themes/default/inputs/_shared.scss","../../../../../projects/ui/src/themes/default/inputs/file-input.scss","../../../../../projects/ui/src/themes/default/_coloring.scss","../../../../../projects/ui/src/themes/default/_mixins.scss","../../../../../projects/ui/src/themes/default/_clear-button.scss","../../../../../projects/ui/src/themes/_variables.scss"],"names":[],"mappings":"AAEA;AAAA;AAAA;
|
|
1
|
+
{"version":3,"sourceRoot":"","sources":["../../../../../projects/ui/src/themes/default/inputs/_shared.scss","../../../../../projects/ui/src/themes/default/inputs/file-input.scss","../../../../../projects/ui/src/themes/default/_coloring.scss","../../../../../projects/ui/src/themes/default/_mixins.scss","../../../../../projects/ui/src/themes/default/_clear-button.scss","../../../../../projects/ui/src/themes/_variables.scss"],"names":[],"mappings":"AAEA;AAAA;AAAA;ACIA;EAGE;IAGE;IAGA;IACA;IACA;IAWA;IAEA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IAGA;IAEA;IACA;IACA;IACA;IACA;IACA;;EAIA;IACE;;EAGJ;IDlCA,QCoCI;IDnCJ;IACA;IACA;IACA;IACA;IACA,KCgCI;ID/BJ;IACA;IACA,WC8BI;ID7BJ,aC+BI;ID9BJ,aCgCI;ID/BJ,cCmCI;IDlCJ,eCgCI;ID/BJ,aC8BI;ID7BJ,gBC+BI;ID9BJ,OCoCI;IAKF;IACA;IACA;IACA;IACA;;ED3CF;IACE;IACA;IACA;IACA;IACA;IACA;;EAEA;IACE;IACA;IACA;IACA;;EAEF;IACE;IACA,SCoBA;IDnBA,OCkBA;IDjBA;IACA;IACA;IACA;IACA;IACA;;EAGF;IACE;IACA;IACA;IACA;IACA;IACA;;EAIJ;IACE,QClBE;IDmBF,WChBE;IDiBF,aCfE;IDgBF,cCPE;IDQF,eCVE;IDWF,aCZE;IDaF,gBCXE;;ECzEJ;IACE;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;;EAEF;IACE;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;;EAEF;IACE;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;;EAEF;IACE;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;;EAEF;IACE;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;;EAEF;IACE;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;;EAEF;IACE;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;;EAEF;IACE;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;;EDpDA;IACE;IACA;;EAGF;IACE;;EAIF;IACE;IACA;IACA;IACA;;EAEF;IACE;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;;EAEA;IE7GJ;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IAEA;IFsGM;IACA;;EAGA;IACE;;EAIF;IACE;;EAIF;IACE;;EAIF;IACE;;EG5IR;IACE,QCmCgB;IDlChB,OCkCgB;IDjChB;;EAGF;IACE;IACA;IACA,OCGK;IDFL,OC0BgB;IDzBhB,QCyBgB;IDxBhB;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;;EAEA;IACE;IACA;IACA;IACA;IACA;;EAGF;IDvBF;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IAEA;ICgBI;;EAGF;IACE;IACA;IACA;IACA;;EAEA;IACE;ID7CN;IACA;IACA,yBACE;IC4CI;;EAKF;IACE;;EAKF;IACE;;EAKF;IACE;;EHmFJ;IACE;;EAEF;AAAA;AAAA;AAAA;AAAA;IAKE;IACA;IACA;;EAEF;IACE;IACA;;EAEA;IACE;;EAEF;IACE;;EAIN;IACE;;EAIE;AAAA;IAEE","file":"file-input.css"}
|
|
@@ -1,155 +1,156 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Should be applied to the first element in the component's template.
|
|
3
3
|
*/
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
.ard-hex-input {
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
}
|
|
36
|
-
.ard-hex-input .ard-input-container {
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
}
|
|
44
|
-
.ard-hex-input .ard-input-container > * {
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
}
|
|
50
|
-
.ard-hex-input .ard-input-container .ard-placeholder {
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
}
|
|
61
|
-
.ard-hex-input .ard-input-container input {
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
}
|
|
69
|
-
.ard-hex-input.ard-compact {
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
}
|
|
78
|
-
.ard-hex-input ard-clear-button {
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
}
|
|
83
|
-
.ard-hex-input .ard-clear-btn-wrapper {
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
}
|
|
101
|
-
.ard-hex-input .ard-clear-btn-wrapper .ard-hitbox {
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
}
|
|
108
|
-
.ard-hex-input .ard-clear-btn-wrapper .ard-focus-overlay {
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
}
|
|
120
|
-
.ard-hex-input .ard-clear-btn-wrapper .ard-clear-btn {
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
}
|
|
126
|
-
.ard-hex-input .ard-clear-btn-wrapper .ard-clear-btn::before {
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
}
|
|
133
|
-
.ard-hex-input .ard-clear-btn-wrapper:hover .ard-focus-overlay {
|
|
134
|
-
|
|
135
|
-
}
|
|
136
|
-
.ard-hex-input .ard-clear-btn-wrapper:focus .ard-focus-overlay {
|
|
137
|
-
|
|
138
|
-
}
|
|
139
|
-
.ard-hex-input .ard-clear-btn-wrapper:active .ard-focus-overlay {
|
|
140
|
-
|
|
141
|
-
}
|
|
142
|
-
.ard-hex-input .ard-input-container input {
|
|
143
|
-
|
|
144
|
-
}
|
|
145
|
-
.ard-hex-input .ard-hash-container {
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
4
|
+
@layer ard-theme {
|
|
5
|
+
:root {
|
|
6
|
+
--ard-hex-input-gap: 0.625rem;
|
|
7
|
+
--ard-hex-input-line-height: 1.25;
|
|
8
|
+
--ard-hex-input-line-height-compact: 1;
|
|
9
|
+
--ard-hex-input-font-weight: 400;
|
|
10
|
+
--ard-hex-input-placeholder-opacity: 60%;
|
|
11
|
+
--ard-hex-input-min-width: 10rem;
|
|
12
|
+
--ard-hex-input-max-width: 100%;
|
|
13
|
+
--ard-hex-input-hash-opacity: 70%;
|
|
14
|
+
}
|
|
15
|
+
.ard-hex-input {
|
|
16
|
+
height: var(--ard-hex-input-height, var(--ard-form-field-height, 2.3125rem));
|
|
17
|
+
position: relative;
|
|
18
|
+
font-family: var(--ard-font-family);
|
|
19
|
+
display: flex;
|
|
20
|
+
align-items: center;
|
|
21
|
+
justify-content: stretch;
|
|
22
|
+
gap: var(--ard-hex-input-gap, 0.625rem);
|
|
23
|
+
cursor: text;
|
|
24
|
+
box-sizing: border-box;
|
|
25
|
+
font-size: var(--ard-hex-input-font-size, var(--ard-form-field-font-size, 1rem));
|
|
26
|
+
line-height: var(--ard-hex-input-line-height, 1.25);
|
|
27
|
+
font-weight: var(--ard-hex-input-font-weight, 400);
|
|
28
|
+
padding-left: var(--ard-hex-input-padding-left, var(--ard-form-field-padding-left, 0.375rem));
|
|
29
|
+
padding-right: var(--ard-hex-input-padding-right, var(--ard-form-field-padding-right, 0.375rem));
|
|
30
|
+
padding-top: var(--ard-hex-input-padding-top, var(--ard-form-field-padding-top, 0));
|
|
31
|
+
padding-bottom: var(--ard-hex-input-padding-bottom, var(--ard-form-field-padding-bottom, 0));
|
|
32
|
+
color: var(--ard-hex-input-color, var(--ard-text));
|
|
33
|
+
min-width: var(--ard-hex-input-min-width, 10rem);
|
|
34
|
+
max-width: var(--ard-hex-input-max-width, 100%);
|
|
35
|
+
}
|
|
36
|
+
.ard-hex-input .ard-input-container {
|
|
37
|
+
flex-grow: 1;
|
|
38
|
+
text-size-adjust: 100%;
|
|
39
|
+
display: flex;
|
|
40
|
+
align-items: center;
|
|
41
|
+
height: 100%;
|
|
42
|
+
position: relative;
|
|
43
|
+
}
|
|
44
|
+
.ard-hex-input .ard-input-container > * {
|
|
45
|
+
position: absolute;
|
|
46
|
+
inset: 0;
|
|
47
|
+
max-width: 100%;
|
|
48
|
+
padding: 0;
|
|
49
|
+
}
|
|
50
|
+
.ard-hex-input .ard-input-container .ard-placeholder {
|
|
51
|
+
font: inherit;
|
|
52
|
+
opacity: var(--ard-hex-input-placeholder-opacity, 60%);
|
|
53
|
+
color: var(--ard-hex-input-placeholder-color, var(--ard-text));
|
|
54
|
+
white-space: nowrap;
|
|
55
|
+
overflow: hidden;
|
|
56
|
+
text-overflow: ellipsis;
|
|
57
|
+
pointer-events: none;
|
|
58
|
+
display: flex;
|
|
59
|
+
align-items: center;
|
|
60
|
+
}
|
|
61
|
+
.ard-hex-input .ard-input-container input {
|
|
62
|
+
border: none;
|
|
63
|
+
background: transparent;
|
|
64
|
+
outline: none;
|
|
65
|
+
font: inherit;
|
|
66
|
+
color: inherit;
|
|
67
|
+
display: block;
|
|
68
|
+
}
|
|
69
|
+
.ard-hex-input.ard-compact {
|
|
70
|
+
height: var(--ard-hex-input-height-compact, var(--ard-form-field-height-compact, 1.6875rem));
|
|
71
|
+
font-size: var(--ard-hex-input-font-size-compact, var(--ard-form-field-font-size-compact, 0.875rem));
|
|
72
|
+
line-height: var(--ard-hex-input-line-height-compact, 1);
|
|
73
|
+
padding-left: var(--ard-hex-input-padding-left-compact, var(--ard-form-field-padding-left-compact, 0.375rem));
|
|
74
|
+
padding-right: var(--ard-hex-input-padding-right-compact, var(--ard-form-field-padding-right-compact, 0.375rem));
|
|
75
|
+
padding-top: var(--ard-hex-input-padding-top-compact, var(--ard-form-field-padding-top-compact, 0));
|
|
76
|
+
padding-bottom: var(--ard-hex-input-padding-bottom-compact, var(--ard-form-field-padding-bottom-compact, 0));
|
|
77
|
+
}
|
|
78
|
+
.ard-hex-input ard-clear-button {
|
|
79
|
+
height: var(--ard-clear-button-size);
|
|
80
|
+
width: var(--ard-clear-button-size);
|
|
81
|
+
position: relative;
|
|
82
|
+
}
|
|
83
|
+
.ard-hex-input .ard-clear-btn-wrapper {
|
|
84
|
+
cursor: pointer;
|
|
85
|
+
font-size: medium;
|
|
86
|
+
color: var(--ard-detail);
|
|
87
|
+
width: var(--ard-clear-button-size);
|
|
88
|
+
height: var(--ard-clear-button-size);
|
|
89
|
+
line-height: 1em;
|
|
90
|
+
border-radius: 999px;
|
|
91
|
+
border: none;
|
|
92
|
+
padding: 0;
|
|
93
|
+
background: transparent;
|
|
94
|
+
position: absolute;
|
|
95
|
+
left: 50%;
|
|
96
|
+
top: 50%;
|
|
97
|
+
transform: translate(-50%, -50%);
|
|
98
|
+
outline: none;
|
|
99
|
+
color: inherit;
|
|
100
|
+
}
|
|
101
|
+
.ard-hex-input .ard-clear-btn-wrapper .ard-hitbox {
|
|
102
|
+
position: absolute;
|
|
103
|
+
left: -1px;
|
|
104
|
+
right: -1px;
|
|
105
|
+
top: -1px;
|
|
106
|
+
bottom: -1px;
|
|
107
|
+
}
|
|
108
|
+
.ard-hex-input .ard-clear-btn-wrapper .ard-focus-overlay {
|
|
109
|
+
position: absolute;
|
|
110
|
+
top: calc(-1 * 1px);
|
|
111
|
+
bottom: calc(-1 * 1px);
|
|
112
|
+
left: calc(-1 * 1px);
|
|
113
|
+
right: calc(-1 * 1px);
|
|
114
|
+
opacity: 0;
|
|
115
|
+
border-radius: inherit;
|
|
116
|
+
pointer-events: none;
|
|
117
|
+
transition: opacity 0.2s ease;
|
|
118
|
+
background: currentColor;
|
|
119
|
+
}
|
|
120
|
+
.ard-hex-input .ard-clear-btn-wrapper .ard-clear-btn {
|
|
121
|
+
position: absolute;
|
|
122
|
+
left: 50%;
|
|
123
|
+
top: 50%;
|
|
124
|
+
transform: translate(-50%, -50%);
|
|
125
|
+
}
|
|
126
|
+
.ard-hex-input .ard-clear-btn-wrapper .ard-clear-btn::before {
|
|
127
|
+
content: "close";
|
|
128
|
+
font-family: "Material Symbols Outlined";
|
|
129
|
+
font-size: 1.5em;
|
|
130
|
+
font-variation-settings: "FILL" 0, "wght" 500, "GRAD" 0, "opsz" 48;
|
|
131
|
+
font-size: 70%;
|
|
132
|
+
}
|
|
133
|
+
.ard-hex-input .ard-clear-btn-wrapper:hover .ard-focus-overlay {
|
|
134
|
+
opacity: 5%;
|
|
135
|
+
}
|
|
136
|
+
.ard-hex-input .ard-clear-btn-wrapper:focus .ard-focus-overlay {
|
|
137
|
+
opacity: 8%;
|
|
138
|
+
}
|
|
139
|
+
.ard-hex-input .ard-clear-btn-wrapper:active .ard-focus-overlay {
|
|
140
|
+
opacity: 15%;
|
|
141
|
+
}
|
|
142
|
+
.ard-hex-input .ard-input-container input {
|
|
143
|
+
font-family: var(--ard-font-family-mono);
|
|
144
|
+
}
|
|
145
|
+
.ard-hex-input .ard-hash-container {
|
|
146
|
+
color: var(--ard-hex-input-hash-color, var(--ard-text));
|
|
147
|
+
opacity: var(--ard-hex-input-hash-opacity, 70%);
|
|
148
|
+
user-select: none;
|
|
149
|
+
font-family: var(--ard-font-family-mono);
|
|
150
|
+
display: flex;
|
|
151
|
+
align-items: center;
|
|
152
|
+
height: 100%;
|
|
153
|
+
}
|
|
153
154
|
}
|
|
154
155
|
|
|
155
156
|
/*# sourceMappingURL=hex-input.css.map */
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sourceRoot":"","sources":["../../../../../projects/ui/src/themes/default/inputs/_shared.scss","../../../../../projects/ui/src/themes/default/inputs/hex-input.scss","../../../../../projects/ui/src/themes/default/_clear-button.scss","../../../../../projects/ui/src/themes/_variables.scss","../../../../../projects/ui/src/themes/default/_mixins.scss"],"names":[],"mappings":"AAEA;AAAA;AAAA;
|
|
1
|
+
{"version":3,"sourceRoot":"","sources":["../../../../../projects/ui/src/themes/default/inputs/_shared.scss","../../../../../projects/ui/src/themes/default/inputs/hex-input.scss","../../../../../projects/ui/src/themes/default/_clear-button.scss","../../../../../projects/ui/src/themes/_variables.scss","../../../../../projects/ui/src/themes/default/_mixins.scss"],"names":[],"mappings":"AAEA;AAAA;AAAA;ACGA;EAGE;IAGE;IAGA;IACA;IACA;IAWA;IAEA;IACA;IAEA;;EAGF;IDTA,QCWI;IDVJ;IACA;IACA;IACA;IACA;IACA,KCOI;IDNJ;IACA;IACA,WCKI;IDJJ,aCMI;IDLJ,aCOI;IDNJ,cCUI;IDTJ,eCOI;IDNJ,aCKI;IDJJ,gBCMI;IDLJ,OCWI;IAIF;IACA;;EDdF;IACE;IACA;IACA;IACA;IACA;IACA;;EAEA;IACE;IACA;IACA;IACA;;EAEF;IACE;IACA,SCLA;IDMA,OCPA;IDQA;IACA;IACA;IACA;IACA;IACA;;EAGF;IACE;IACA;IACA;IACA;IACA;IACA;;EAIJ;IACE,QC3CE;ID4CF,WCzCE;ID0CF,aCxCE;IDyCF,cChCE;IDiCF,eCnCE;IDoCF,aCrCE;IDsCF,gBCpCE;;EC/CJ;IACE,QCmCgB;IDlChB,OCkCgB;IDjChB;;EAGF;IACE;IACA;IACA,OCGK;IDFL,OC0BgB;IDzBhB,QCyBgB;IDxBhB;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;;EAEA;IACE;IACA;IACA;IACA;IACA;;EAGF;IEvBF;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IAEA;IFgBI;;EAGF;IACE;IACA;IACA;IACA;;EAEA;IACE;IE7CN;IACA;IACA,yBACE;IF4CI;;EAKF;IACE;;EAKF;IACE;;EAKF;IACE;;EDLF;IACE;;EAIJ;IACE;IACA;IACA;IACA;IACA;IACA;IACA","file":"hex-input.css"}
|
|
@@ -1,142 +1,143 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Should be applied to the first element in the component's template.
|
|
3
3
|
*/
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
.ard-input {
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
}
|
|
35
|
-
.ard-input .ard-input-container {
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
}
|
|
43
|
-
.ard-input .ard-input-container > * {
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
}
|
|
49
|
-
.ard-input .ard-input-container .ard-placeholder {
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
}
|
|
60
|
-
.ard-input .ard-input-container input {
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
}
|
|
68
|
-
.ard-input.ard-compact {
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
}
|
|
77
|
-
.ard-input ard-clear-button {
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
}
|
|
82
|
-
.ard-input .ard-clear-btn-wrapper {
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
}
|
|
100
|
-
.ard-input .ard-clear-btn-wrapper .ard-hitbox {
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
}
|
|
107
|
-
.ard-input .ard-clear-btn-wrapper .ard-focus-overlay {
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
}
|
|
119
|
-
.ard-input .ard-clear-btn-wrapper .ard-clear-btn {
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
}
|
|
125
|
-
.ard-input .ard-clear-btn-wrapper .ard-clear-btn::before {
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
}
|
|
132
|
-
.ard-input .ard-clear-btn-wrapper:hover .ard-focus-overlay {
|
|
133
|
-
|
|
134
|
-
}
|
|
135
|
-
.ard-input .ard-clear-btn-wrapper:focus .ard-focus-overlay {
|
|
136
|
-
|
|
137
|
-
}
|
|
138
|
-
.ard-input .ard-clear-btn-wrapper:active .ard-focus-overlay {
|
|
139
|
-
|
|
4
|
+
@layer ard-theme {
|
|
5
|
+
:root {
|
|
6
|
+
--ard-input-gap: 0.625rem;
|
|
7
|
+
--ard-input-line-height: 1.25;
|
|
8
|
+
--ard-input-line-height-compact: 1;
|
|
9
|
+
--ard-input-font-weight: 400;
|
|
10
|
+
--ard-input-placeholder-opacity: 60%;
|
|
11
|
+
--ard-input-min-width: 10rem;
|
|
12
|
+
--ard-input-max-width: 100%;
|
|
13
|
+
}
|
|
14
|
+
.ard-input {
|
|
15
|
+
height: var(--ard-input-height, var(--ard-form-field-height, 2.3125rem));
|
|
16
|
+
position: relative;
|
|
17
|
+
font-family: var(--ard-font-family);
|
|
18
|
+
display: flex;
|
|
19
|
+
align-items: center;
|
|
20
|
+
justify-content: stretch;
|
|
21
|
+
gap: var(--ard-input-gap, 0.625rem);
|
|
22
|
+
cursor: text;
|
|
23
|
+
box-sizing: border-box;
|
|
24
|
+
font-size: var(--ard-input-font-size, var(--ard-form-field-font-size, 1rem));
|
|
25
|
+
line-height: var(--ard-input-line-height, 1.25);
|
|
26
|
+
font-weight: var(--ard-input-font-weight, 400);
|
|
27
|
+
padding-left: var(--ard-input-padding-left, var(--ard-form-field-padding-left, 0.375rem));
|
|
28
|
+
padding-right: var(--ard-input-padding-right, var(--ard-form-field-padding-right, 0.375rem));
|
|
29
|
+
padding-top: var(--ard-input-padding-top, var(--ard-form-field-padding-top, 0));
|
|
30
|
+
padding-bottom: var(--ard-input-padding-bottom, var(--ard-form-field-padding-bottom, 0));
|
|
31
|
+
color: var(--ard-input-color, var(--ard-text));
|
|
32
|
+
min-width: var(--ard-input-min-width, 10rem);
|
|
33
|
+
max-width: var(--ard-input-max-width, 100%);
|
|
34
|
+
}
|
|
35
|
+
.ard-input .ard-input-container {
|
|
36
|
+
flex-grow: 1;
|
|
37
|
+
text-size-adjust: 100%;
|
|
38
|
+
display: flex;
|
|
39
|
+
align-items: center;
|
|
40
|
+
height: 100%;
|
|
41
|
+
position: relative;
|
|
42
|
+
}
|
|
43
|
+
.ard-input .ard-input-container > * {
|
|
44
|
+
position: absolute;
|
|
45
|
+
inset: 0;
|
|
46
|
+
max-width: 100%;
|
|
47
|
+
padding: 0;
|
|
48
|
+
}
|
|
49
|
+
.ard-input .ard-input-container .ard-placeholder {
|
|
50
|
+
font: inherit;
|
|
51
|
+
opacity: var(--ard-input-placeholder-opacity, 60%);
|
|
52
|
+
color: var(--ard-input-placeholder-color, var(--ard-text));
|
|
53
|
+
white-space: nowrap;
|
|
54
|
+
overflow: hidden;
|
|
55
|
+
text-overflow: ellipsis;
|
|
56
|
+
pointer-events: none;
|
|
57
|
+
display: flex;
|
|
58
|
+
align-items: center;
|
|
59
|
+
}
|
|
60
|
+
.ard-input .ard-input-container input {
|
|
61
|
+
border: none;
|
|
62
|
+
background: transparent;
|
|
63
|
+
outline: none;
|
|
64
|
+
font: inherit;
|
|
65
|
+
color: inherit;
|
|
66
|
+
display: block;
|
|
67
|
+
}
|
|
68
|
+
.ard-input.ard-compact {
|
|
69
|
+
height: var(--ard-input-height-compact, var(--ard-form-field-height-compact, 1.6875rem));
|
|
70
|
+
font-size: var(--ard-input-font-size-compact, var(--ard-form-field-font-size-compact, 0.875rem));
|
|
71
|
+
line-height: var(--ard-input-line-height-compact, 1);
|
|
72
|
+
padding-left: var(--ard-input-padding-left-compact, var(--ard-form-field-padding-left-compact, 0.375rem));
|
|
73
|
+
padding-right: var(--ard-input-padding-right-compact, var(--ard-form-field-padding-right-compact, 0.375rem));
|
|
74
|
+
padding-top: var(--ard-input-padding-top-compact, var(--ard-form-field-padding-top-compact, 0));
|
|
75
|
+
padding-bottom: var(--ard-input-padding-bottom-compact, var(--ard-form-field-padding-bottom-compact, 0));
|
|
76
|
+
}
|
|
77
|
+
.ard-input ard-clear-button {
|
|
78
|
+
height: var(--ard-clear-button-size);
|
|
79
|
+
width: var(--ard-clear-button-size);
|
|
80
|
+
position: relative;
|
|
81
|
+
}
|
|
82
|
+
.ard-input .ard-clear-btn-wrapper {
|
|
83
|
+
cursor: pointer;
|
|
84
|
+
font-size: medium;
|
|
85
|
+
color: var(--ard-detail);
|
|
86
|
+
width: var(--ard-clear-button-size);
|
|
87
|
+
height: var(--ard-clear-button-size);
|
|
88
|
+
line-height: 1em;
|
|
89
|
+
border-radius: 999px;
|
|
90
|
+
border: none;
|
|
91
|
+
padding: 0;
|
|
92
|
+
background: transparent;
|
|
93
|
+
position: absolute;
|
|
94
|
+
left: 50%;
|
|
95
|
+
top: 50%;
|
|
96
|
+
transform: translate(-50%, -50%);
|
|
97
|
+
outline: none;
|
|
98
|
+
color: inherit;
|
|
99
|
+
}
|
|
100
|
+
.ard-input .ard-clear-btn-wrapper .ard-hitbox {
|
|
101
|
+
position: absolute;
|
|
102
|
+
left: -1px;
|
|
103
|
+
right: -1px;
|
|
104
|
+
top: -1px;
|
|
105
|
+
bottom: -1px;
|
|
106
|
+
}
|
|
107
|
+
.ard-input .ard-clear-btn-wrapper .ard-focus-overlay {
|
|
108
|
+
position: absolute;
|
|
109
|
+
top: calc(-1 * 1px);
|
|
110
|
+
bottom: calc(-1 * 1px);
|
|
111
|
+
left: calc(-1 * 1px);
|
|
112
|
+
right: calc(-1 * 1px);
|
|
113
|
+
opacity: 0;
|
|
114
|
+
border-radius: inherit;
|
|
115
|
+
pointer-events: none;
|
|
116
|
+
transition: opacity 0.2s ease;
|
|
117
|
+
background: currentColor;
|
|
118
|
+
}
|
|
119
|
+
.ard-input .ard-clear-btn-wrapper .ard-clear-btn {
|
|
120
|
+
position: absolute;
|
|
121
|
+
left: 50%;
|
|
122
|
+
top: 50%;
|
|
123
|
+
transform: translate(-50%, -50%);
|
|
124
|
+
}
|
|
125
|
+
.ard-input .ard-clear-btn-wrapper .ard-clear-btn::before {
|
|
126
|
+
content: "close";
|
|
127
|
+
font-family: "Material Symbols Outlined";
|
|
128
|
+
font-size: 1.5em;
|
|
129
|
+
font-variation-settings: "FILL" 0, "wght" 500, "GRAD" 0, "opsz" 48;
|
|
130
|
+
font-size: 70%;
|
|
131
|
+
}
|
|
132
|
+
.ard-input .ard-clear-btn-wrapper:hover .ard-focus-overlay {
|
|
133
|
+
opacity: 5%;
|
|
134
|
+
}
|
|
135
|
+
.ard-input .ard-clear-btn-wrapper:focus .ard-focus-overlay {
|
|
136
|
+
opacity: 8%;
|
|
137
|
+
}
|
|
138
|
+
.ard-input .ard-clear-btn-wrapper:active .ard-focus-overlay {
|
|
139
|
+
opacity: 15%;
|
|
140
|
+
}
|
|
140
141
|
}
|
|
141
142
|
|
|
142
143
|
/*# sourceMappingURL=input.css.map */
|