@ardium-ui/ui 5.0.0-alpha.36 → 5.0.0-alpha.38
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 +2842 -1364
- package/fesm2022/ardium-ui-ui.mjs.map +1 -1
- package/lib/_internal/utils/date.utils.d.ts +16 -0
- package/lib/buttons/_button-base.d.ts +9 -6
- package/lib/buttons/_button-base.defaults.d.ts +3 -2
- package/lib/buttons/button/button.component.d.ts +3 -4
- package/lib/buttons/button/button.defaults.d.ts +0 -2
- package/lib/buttons/button/button.directive.d.ts +17 -0
- package/lib/buttons/button/button.module.d.ts +3 -2
- package/lib/buttons/button/index.d.ts +1 -0
- package/lib/buttons/fab/fab.component.d.ts +3 -1
- package/lib/buttons/icon-button/icon-button.component.d.ts +2 -1
- package/lib/buttons/icon-button/icon-button.defaults.d.ts +2 -1
- package/lib/calendar/abstract-calendar.d.ts +127 -0
- package/lib/calendar/calendar.component.d.ts +8 -97
- package/lib/calendar/calendar.defaults.d.ts +12 -1
- package/lib/calendar/calendar.internal-directives.d.ts +24 -8
- package/lib/calendar/calendar.internal-types.d.ts +1 -0
- package/lib/calendar/calendar.module.d.ts +4 -9
- package/lib/calendar/calendar.types.d.ts +19 -5
- package/lib/calendar/index.d.ts +3 -0
- package/lib/calendar/range-calendar.component.d.ts +16 -0
- package/lib/calendar/range-calendar.directives.d.ts +51 -0
- package/lib/calendar/range-calendar.module.d.ts +10 -0
- package/lib/calendar/views/calendar-views.module.d.ts +13 -0
- package/lib/calendar/views/days-view/days-view.component.d.ts +20 -2
- package/lib/calendar/views/days-view/days-view.helpers.d.ts +2 -2
- package/lib/calendar/views/months-view/months-view.component.d.ts +15 -3
- package/lib/calendar/views/years-view/years-view.component.d.ts +15 -3
- package/lib/inputs/date-input/abstract-date-input.d.ts +112 -0
- package/lib/inputs/date-input/date-input.component.d.ts +19 -82
- package/lib/inputs/date-input/date-input.defaults.d.ts +21 -3
- package/lib/inputs/date-input/{date-input.directive.d.ts → date-input.directives.d.ts} +2 -2
- package/lib/inputs/date-input/date-input.module.d.ts +5 -4
- package/lib/inputs/date-input/date-input.serializers.d.ts +4 -2
- package/lib/inputs/date-input/date-input.types.d.ts +5 -4
- package/lib/inputs/date-input/date-range-input.component.d.ts +29 -0
- package/lib/inputs/date-input/date-range-input.directives.d.ts +82 -0
- package/lib/inputs/date-input/date-range-input.module.d.ts +17 -0
- package/lib/inputs/date-input/index.d.ts +7 -1
- package/lib/inputs/date-input/multipage-date-range-input.component.d.ts +44 -0
- package/lib/inputs/date-input/multipage-date-range-input.directives.d.ts +82 -0
- package/lib/inputs/date-input/multipage-date-range-input.module.d.ts +17 -0
- package/lib/inputs/number-input/number-input.component.d.ts +3 -2
- package/package.json +1 -1
- package/prebuilt-themes/default/buttons/button.css +26 -37
- package/prebuilt-themes/default/buttons/button.css.map +1 -1
- package/prebuilt-themes/default/buttons/fab.css +27 -33
- package/prebuilt-themes/default/buttons/fab.css.map +1 -1
- package/prebuilt-themes/default/buttons/icon-button.css +23 -30
- package/prebuilt-themes/default/buttons/icon-button.css.map +1 -1
- package/prebuilt-themes/default/calendar.css +134 -54
- package/prebuilt-themes/default/calendar.css.map +1 -1
- package/prebuilt-themes/default/checkbox-list.css +4 -4
- package/prebuilt-themes/default/checkbox.css +4 -4
- package/prebuilt-themes/default/chips.css +8 -8
- package/prebuilt-themes/default/inputs/autocomplete-input.css +69 -24
- package/prebuilt-themes/default/inputs/autocomplete-input.css.map +1 -1
- package/prebuilt-themes/default/inputs/color-input.css +4 -43
- package/prebuilt-themes/default/inputs/color-input.css.map +1 -1
- package/prebuilt-themes/default/inputs/date-input.css +76 -20
- package/prebuilt-themes/default/inputs/date-input.css.map +1 -1
- package/prebuilt-themes/default/inputs/file-input.css +109 -61
- package/prebuilt-themes/default/inputs/file-input.css.map +1 -1
- package/prebuilt-themes/default/inputs/hex-input.css +42 -17
- package/prebuilt-themes/default/inputs/hex-input.css.map +1 -1
- package/prebuilt-themes/default/inputs/input.css +36 -13
- package/prebuilt-themes/default/inputs/input.css.map +1 -1
- package/prebuilt-themes/default/inputs/number-input.css +26 -21
- package/prebuilt-themes/default/inputs/number-input.css.map +1 -1
- package/prebuilt-themes/default/inputs/password-input.css +64 -21
- package/prebuilt-themes/default/inputs/password-input.css.map +1 -1
- package/prebuilt-themes/default/inputs/search-bar.css +38 -15
- package/prebuilt-themes/default/inputs/search-bar.css.map +1 -1
- package/prebuilt-themes/default/radio.css +4 -4
- package/prebuilt-themes/default/segment.css +4 -4
- package/prebuilt-themes/default/select.css +4 -4
- package/prebuilt-themes/default/slide-toggle.css +4 -4
- package/prebuilt-themes/default/slider.css +4 -4
- package/prebuilt-themes/default/stars.css +4 -4
- package/prebuilt-themes/default/statebox.css +4 -4
- package/prebuilt-themes/default/tabber.css +4 -4
- package/themes/default/_mixins.scss +4 -4
- package/themes/default/buttons/_button-mixins.scss +13 -16
- package/themes/default/buttons/button.scss +8 -17
- package/themes/default/buttons/fab.scss +12 -17
- package/themes/default/buttons/icon-button.scss +7 -12
- package/themes/default/calendar.scss +146 -55
- package/themes/default/inputs/_shared.scss +27 -8
- package/themes/default/inputs/autocomplete-input.scss +68 -14
- package/themes/default/inputs/color-input.scss +1 -1
- package/themes/default/inputs/date-input.scss +54 -5
- package/themes/default/inputs/file-input.scss +83 -23
- package/themes/default/inputs/hex-input.scss +42 -7
- package/themes/default/inputs/input.scss +37 -3
- package/themes/default/inputs/number-input.scss +30 -14
- package/themes/default/inputs/password-input.scss +70 -15
- package/themes/default/inputs/search-bar.scss +39 -5
|
@@ -181,10 +181,10 @@
|
|
|
181
181
|
}
|
|
182
182
|
.ard-chip-wrapper .ard-clear-btn-wrapper .ard-focus-overlay {
|
|
183
183
|
position: absolute;
|
|
184
|
-
top: -1px;
|
|
185
|
-
bottom: -1px;
|
|
186
|
-
left: -1px;
|
|
187
|
-
right: -1px;
|
|
184
|
+
top: calc(-1 * 1px);
|
|
185
|
+
bottom: calc(-1 * 1px);
|
|
186
|
+
left: calc(-1 * 1px);
|
|
187
|
+
right: calc(-1 * 1px);
|
|
188
188
|
opacity: 0;
|
|
189
189
|
border-radius: inherit;
|
|
190
190
|
pointer-events: none;
|
|
@@ -227,10 +227,10 @@
|
|
|
227
227
|
}
|
|
228
228
|
.ard-chip-wrapper > .ard-focus-overlay {
|
|
229
229
|
position: absolute;
|
|
230
|
-
top: -0;
|
|
231
|
-
bottom: -0;
|
|
232
|
-
left: -0;
|
|
233
|
-
right: -0;
|
|
230
|
+
top: calc(-1 * 0);
|
|
231
|
+
bottom: calc(-1 * 0);
|
|
232
|
+
left: calc(-1 * 0);
|
|
233
|
+
right: calc(-1 * 0);
|
|
234
234
|
opacity: 0;
|
|
235
235
|
border-radius: inherit;
|
|
236
236
|
pointer-events: none;
|
|
@@ -1,20 +1,54 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Should be applied to the first element in the component's template.
|
|
3
3
|
*/
|
|
4
|
+
:root {
|
|
5
|
+
--ard-autocomplete-input-height: var(--ard-form-field-height, 2.3125rem);
|
|
6
|
+
--ard-autocomplete-input-height-compact: var(--ard-form-field-height-compact, 1.6875rem);
|
|
7
|
+
--ard-autocomplete-input-gap: 0.625rem;
|
|
8
|
+
--ard-autocomplete-input-font-size: var(--ard-form-field-font-size, 1rem);
|
|
9
|
+
--ard-autocomplete-input-font-size-compact: var(--ard-form-field-font-size-compact, 0.875rem);
|
|
10
|
+
--ard-autocomplete-input-line-height: 1.25;
|
|
11
|
+
--ard-autocomplete-input-line-height-compact: 1;
|
|
12
|
+
--ard-autocomplete-input-font-weight: 400;
|
|
13
|
+
--ard-autocomplete-input-padding: var(--ard-form-field-padding, 0 0.375rem);
|
|
14
|
+
--ard-autocomplete-input-padding-compact: var(--ard-form-field-padding-compact, 0 0.375rem);
|
|
15
|
+
--ard-autocomplete-input-color: var(--ard-text);
|
|
16
|
+
--ard-autocomplete-input-placeholder-color: var(--ard-text);
|
|
17
|
+
--ard-autocomplete-input-placeholder-opacity: 60%;
|
|
18
|
+
--ard-autocomplete-input-min-width: 10rem;
|
|
19
|
+
--ard-autocomplete-input-max-width: 100%;
|
|
20
|
+
--ard-autocomplete-input-autocomplete-opacity: 37.5%;
|
|
21
|
+
--ard-autocomplete-input-dropdown-padding: 0;
|
|
22
|
+
--ard-autocomplete-input-dropdown-max-height: 15rem;
|
|
23
|
+
--ard-autocomplete-input-dropdown-gap: 0;
|
|
24
|
+
--ard-autocomplete-input-option-padding: 0.375rem 0.625rem;
|
|
25
|
+
--ard-autocomplete-input-option-padding-compact: 0.25rem 0.5rem;
|
|
26
|
+
--ard-autocomplete-input-font-size: 1rem;
|
|
27
|
+
--ard-autocomplete-input-font-size-compact: 0.875rem;
|
|
28
|
+
--ard-autocomplete-input-color: var(--ard-text2);
|
|
29
|
+
--ard-autocomplete-input-highlighted-background: var(--ard-darken-overlay-light);
|
|
30
|
+
--ard-autocomplete-input-highlighted-font-weight: 400;
|
|
31
|
+
--ard-autocomplete-input-selected-background: var(--ard-darken-overlay-medium);
|
|
32
|
+
--ard-autocomplete-input-selected-font-weight: 500;
|
|
33
|
+
--ard-autocomplete-input-disabled-opacity: 50%;
|
|
34
|
+
}
|
|
35
|
+
|
|
4
36
|
.ard-autocomplete-input {
|
|
37
|
+
height: var(--ard-autocomplete-input-height, var(--ard-form-field-height, 2.3125rem));
|
|
5
38
|
position: relative;
|
|
6
39
|
font-family: var(--ard-font-family);
|
|
7
40
|
display: flex;
|
|
8
41
|
align-items: center;
|
|
9
42
|
justify-content: stretch;
|
|
10
|
-
gap: 0.
|
|
43
|
+
gap: var(--ard-autocomplete-input-gap, 0.625rem);
|
|
11
44
|
cursor: text;
|
|
12
45
|
box-sizing: border-box;
|
|
13
|
-
font-size: 1rem;
|
|
14
|
-
line-height: 1.
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
46
|
+
font-size: var(--ard-autocomplete-input-font-size, var(--ard-form-field-font-size, 1rem));
|
|
47
|
+
line-height: var(--ard-autocomplete-input-line-height, 1.25);
|
|
48
|
+
font-weight: var(--ard-autocomplete-input-font-weight, 400);
|
|
49
|
+
padding: var(--ard-autocomplete-input-padding, var(--ard-form-field-padding, 0 0.375rem));
|
|
50
|
+
min-width: var(--ard-autocomplete-input-min-width, 10rem);
|
|
51
|
+
max-width: var(--ard-autocomplete-input-max-width, 100%);
|
|
18
52
|
}
|
|
19
53
|
.ard-autocomplete-input .ard-input-container {
|
|
20
54
|
flex-grow: 1;
|
|
@@ -24,7 +58,8 @@
|
|
|
24
58
|
}
|
|
25
59
|
.ard-autocomplete-input .ard-input-container .ard-placeholder {
|
|
26
60
|
font: inherit;
|
|
27
|
-
opacity: 60
|
|
61
|
+
opacity: var(--ard-autocomplete-input-placeholder-opacity, 60%);
|
|
62
|
+
color: var(--ard-autocomplete-input-placeholder-color, var(--ard-text));
|
|
28
63
|
white-space: nowrap;
|
|
29
64
|
overflow: hidden;
|
|
30
65
|
text-overflow: ellipsis;
|
|
@@ -41,9 +76,10 @@
|
|
|
41
76
|
width: 100%;
|
|
42
77
|
}
|
|
43
78
|
.ard-autocomplete-input.ard-compact {
|
|
44
|
-
height: 1.
|
|
45
|
-
font-size: 0.
|
|
46
|
-
line-height: 1;
|
|
79
|
+
height: var(--ard-autocomplete-input-height-compact, var(--ard-form-field-height-compact, 1.6875rem));
|
|
80
|
+
font-size: var(--ard-autocomplete-input-font-size-compact, var(--ard-form-field-font-size-compact, 0.875rem));
|
|
81
|
+
line-height: var(--ard-autocomplete-input-line-height-compact, 1);
|
|
82
|
+
padding: var(--ard-autocomplete-input-padding-compact, var(--ard-form-field-padding-compact, 0 0.375rem));
|
|
47
83
|
}
|
|
48
84
|
.ard-autocomplete-input ard-clear-button {
|
|
49
85
|
height: var(--ard-clear-button-size);
|
|
@@ -77,10 +113,10 @@
|
|
|
77
113
|
}
|
|
78
114
|
.ard-autocomplete-input .ard-clear-btn-wrapper .ard-focus-overlay {
|
|
79
115
|
position: absolute;
|
|
80
|
-
top: -1px;
|
|
81
|
-
bottom: -1px;
|
|
82
|
-
left: -1px;
|
|
83
|
-
right: -1px;
|
|
116
|
+
top: calc(-1 * 1px);
|
|
117
|
+
bottom: calc(-1 * 1px);
|
|
118
|
+
left: calc(-1 * 1px);
|
|
119
|
+
right: calc(-1 * 1px);
|
|
84
120
|
opacity: 0;
|
|
85
121
|
border-radius: inherit;
|
|
86
122
|
pointer-events: none;
|
|
@@ -110,29 +146,38 @@
|
|
|
110
146
|
opacity: 15%;
|
|
111
147
|
}
|
|
112
148
|
.ard-autocomplete-input .ard-autocomplete {
|
|
113
|
-
opacity: 37.5
|
|
149
|
+
opacity: var(--ard-autocomplete-input-autocomplete-opacity, 37.5%);
|
|
114
150
|
}
|
|
115
151
|
|
|
152
|
+
.ard-input-suggestions-panel {
|
|
153
|
+
padding: var(--ard-autocomplete-input-dropdown-padding, 0);
|
|
154
|
+
display: flex;
|
|
155
|
+
flex-direction: column;
|
|
156
|
+
gap: var(--ard-autocomplete-input-dropdown-gap, 0);
|
|
157
|
+
max-height: var(--ard-autocomplete-input-dropdown-max-height, 15rem);
|
|
158
|
+
overflow-y: auto;
|
|
159
|
+
}
|
|
116
160
|
.ard-input-suggestions-panel .ard-option {
|
|
117
|
-
padding: 0.375rem 0.625rem;
|
|
118
|
-
font-size: 1rem;
|
|
119
|
-
color: var(--ard-text2);
|
|
161
|
+
padding: var(--ard-autocomplete-input-option-padding, 0.375rem 0.625rem);
|
|
162
|
+
font-size: var(--ard-autocomplete-input-font-size, 1rem);
|
|
163
|
+
color: var(--ard-autocomplete-input-color, var(--ard-text2));
|
|
120
164
|
cursor: pointer;
|
|
121
165
|
}
|
|
122
166
|
.ard-input-suggestions-panel .ard-option.ard-option-highlighted {
|
|
123
|
-
background: var(--ard-darken-overlay-light);
|
|
167
|
+
background: var(--ard-autocomplete-input-highlighted-background, var(--ard-darken-overlay-light));
|
|
168
|
+
font-weight: var(--ard-autocomplete-input-highlighted-font-weight, 400);
|
|
124
169
|
}
|
|
125
170
|
.ard-input-suggestions-panel .ard-option.ard-option-selected {
|
|
126
|
-
|
|
127
|
-
|
|
171
|
+
background: var(--ard-autocomplete-input-selected-background, var(--ard-darken-overlay-medium));
|
|
172
|
+
font-weight: var(--ard-autocomplete-input-selected-font-weight, 500);
|
|
128
173
|
}
|
|
129
174
|
.ard-input-suggestions-panel .ard-option.ard-option-disabled {
|
|
130
175
|
pointer-events: none;
|
|
131
|
-
opacity: 50
|
|
176
|
+
opacity: var(--ard-autocomplete-input-disabled-opacity, 50%);
|
|
132
177
|
}
|
|
133
178
|
.ard-input-suggestions-panel .ard-compact .ard-option {
|
|
134
|
-
padding: 0.25rem 0.5rem;
|
|
135
|
-
font-size: 0.
|
|
179
|
+
padding: var(--ard-autocomplete-input-option-padding-compact, 0.25rem 0.5rem);
|
|
180
|
+
font-size: var(--ard-autocomplete-input-font-size-compact, 0.875rem);
|
|
136
181
|
}
|
|
137
182
|
|
|
138
183
|
/*# sourceMappingURL=autocomplete-input.css.map */
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sourceRoot":"","sources":["../../../../../projects/ui/src/themes/default/inputs/_shared.scss","../../../../../projects/ui/src/themes/default/inputs/autocomplete-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;
|
|
1
|
+
{"version":3,"sourceRoot":"","sources":["../../../../../projects/ui/src/themes/default/inputs/_shared.scss","../../../../../projects/ui/src/themes/default/inputs/autocomplete-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;EACE;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EAEA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;;;AAGF;EDlBE,QCoBE;EDnBF;EACA;EACA;EACA;EACA;EACA,KCgBE;EDfF;EACA;EACA,WCcE;EDbF,aCeE;EDdF,aCgBE;EDfF,SCgBE;EAMF;EACA;;ADrBA;EACE;EACA;EACA;EACA;;AAEA;EACE;EACA,SCUF;EDTE,OCQF;EDPE;EACA;EACA;EACA;EACA;;AAGF;EACE;EACA;EACA;EACA;EACA;EACA;EACA;;AAIJ;EACE,QCtBA;EDuBA,WCpBA;EDqBA,aCnBA;EDoBA,SCjBA;;AC7CF;EACE,QCmCgB;EDlChB,OCkCgB;EDjChB;;AAGF;EACE;EACA;EACA,OCGK;EDFL,OC0BgB;EDzBhB,QCyBgB;EDxBhB;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;;AAEA;EACE;EACA;EACA;EACA;EACA;;AAGF;EEvBF;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EAEA;EFgBI;;AAGF;EACE;EACA;EACA;EACA;;AAEA;EACE;EE7CN;EACA;EACA,yBACE;EF4CI;;AAKF;EACE;;AAKF;EACE;;AAKF;EACE;;ADTN;EACE;;;AAIJ;EACE;EACA;EACA;EACA;EACA;EACA;;AAEA;EACE;EACA;EACA;EACA;;AAEA;EACE;EACA;;AAGF;EACE;EACA;;AAGF;EACE;EACA;;AAIF;EACE;EACA","file":"autocomplete-input.css"}
|
|
@@ -2,50 +2,11 @@
|
|
|
2
2
|
* Should be applied to the first element in the component's template.
|
|
3
3
|
*/
|
|
4
4
|
.ard-color-input {
|
|
5
|
-
position: relative;
|
|
6
|
-
font-family: var(--ard-font-family);
|
|
7
|
-
display: flex;
|
|
8
|
-
align-items: center;
|
|
9
|
-
justify-content: stretch;
|
|
10
|
-
gap: 0.625em;
|
|
11
|
-
cursor: text;
|
|
12
|
-
box-sizing: border-box;
|
|
13
|
-
font-size: 1rem;
|
|
14
|
-
line-height: 1.25em;
|
|
15
5
|
padding: 0 0.375rem;
|
|
16
6
|
min-width: 10rem;
|
|
17
7
|
max-width: 100%;
|
|
18
8
|
cursor: pointer;
|
|
19
9
|
}
|
|
20
|
-
.ard-color-input .ard-input-container {
|
|
21
|
-
flex-grow: 1;
|
|
22
|
-
text-size-adjust: 100%;
|
|
23
|
-
display: flex;
|
|
24
|
-
align-items: center;
|
|
25
|
-
}
|
|
26
|
-
.ard-color-input .ard-input-container .ard-placeholder {
|
|
27
|
-
font: inherit;
|
|
28
|
-
opacity: 60%;
|
|
29
|
-
white-space: nowrap;
|
|
30
|
-
overflow: hidden;
|
|
31
|
-
text-overflow: ellipsis;
|
|
32
|
-
max-width: 100%;
|
|
33
|
-
pointer-events: none;
|
|
34
|
-
}
|
|
35
|
-
.ard-color-input .ard-input-container input {
|
|
36
|
-
border: none;
|
|
37
|
-
background: transparent;
|
|
38
|
-
outline: none;
|
|
39
|
-
font: inherit;
|
|
40
|
-
padding: 0;
|
|
41
|
-
display: block;
|
|
42
|
-
width: 100%;
|
|
43
|
-
}
|
|
44
|
-
.ard-color-input.ard-compact {
|
|
45
|
-
height: 1.5625em;
|
|
46
|
-
font-size: 0.85em;
|
|
47
|
-
line-height: 1;
|
|
48
|
-
}
|
|
49
10
|
.ard-color-input ard-clear-button {
|
|
50
11
|
height: var(--ard-clear-button-size);
|
|
51
12
|
width: var(--ard-clear-button-size);
|
|
@@ -78,10 +39,10 @@
|
|
|
78
39
|
}
|
|
79
40
|
.ard-color-input .ard-clear-btn-wrapper .ard-focus-overlay {
|
|
80
41
|
position: absolute;
|
|
81
|
-
top: -1px;
|
|
82
|
-
bottom: -1px;
|
|
83
|
-
left: -1px;
|
|
84
|
-
right: -1px;
|
|
42
|
+
top: calc(-1 * 1px);
|
|
43
|
+
bottom: calc(-1 * 1px);
|
|
44
|
+
left: calc(-1 * 1px);
|
|
45
|
+
right: calc(-1 * 1px);
|
|
85
46
|
opacity: 0;
|
|
86
47
|
border-radius: inherit;
|
|
87
48
|
pointer-events: none;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sourceRoot":"","sources":["../../../../../projects/ui/src/themes/default/inputs/_shared.scss","../../../../../projects/ui/src/themes/default/inputs/color-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;ACEA;
|
|
1
|
+
{"version":3,"sourceRoot":"","sources":["../../../../../projects/ui/src/themes/default/inputs/_shared.scss","../../../../../projects/ui/src/themes/default/inputs/color-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;ACEA;EAEE;EACA;EACA;EACA;;ACLA;EACE,QCmCgB;EDlChB,OCkCgB;EDjChB;;AAGF;EACE;EACA;EACA,OCGK;EDFL,OC0BgB;EDzBhB,QCyBgB;EDxBhB;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;;AAEA;EACE;EACA;EACA;EACA;EACA;;AAGF;EEvBF;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EAEA;EFgBI;;AAGF;EACE;EACA;EACA;EACA;;AAEA;EACE;EE7CN;EACA;EACA,yBACE;EF4CI;;AAKF;EACE;;AAKF;EACE;;AAKF;EACE;;ADvDN;EACE;;AAEA;EACE;EACA;;AAIJ;EACE;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;;AAEA;EACE;;AAGF;EACE;EACA;;;AAIN;EACE","file":"color-input.css"}
|
|
@@ -1,35 +1,68 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Should be applied to the first element in the component's template.
|
|
3
3
|
*/
|
|
4
|
-
|
|
4
|
+
:root {
|
|
5
|
+
--ard-date-input-height: var(--ard-form-field-height, 2.3125rem);
|
|
6
|
+
--ard-date-input-height-compact: var(--ard-form-field-height-compact, 1.6875rem);
|
|
7
|
+
--ard-date-input-gap: 0.625rem;
|
|
8
|
+
--ard-date-input-font-size: var(--ard-form-field-font-size, 1rem);
|
|
9
|
+
--ard-date-input-font-size-compact: var(--ard-form-field-font-size-compact, 0.875rem);
|
|
10
|
+
--ard-date-input-line-height: 1.25;
|
|
11
|
+
--ard-date-input-line-height-compact: 1;
|
|
12
|
+
--ard-date-input-font-weight: 400;
|
|
13
|
+
--ard-date-input-padding: var(--ard-form-field-padding, 0 0.375rem);
|
|
14
|
+
--ard-date-input-padding-compact: var(--ard-form-field-padding-compact, 0 0.375rem);
|
|
15
|
+
--ard-date-input-color: var(--ard-text);
|
|
16
|
+
--ard-date-input-placeholder-color: var(--ard-text);
|
|
17
|
+
--ard-date-input-placeholder-opacity: 60%;
|
|
18
|
+
--ard-date-input-padding: 0 0 0 0.375rem;
|
|
19
|
+
--ard-date-input-input-padding: 0 2.625rem 0 0.375rem;
|
|
20
|
+
--ard-date-input-multipage-gap: 0;
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
ard-date-input .ard-date-input,
|
|
24
|
+
ard-date-range-input .ard-date-range-input,
|
|
25
|
+
ard-multipage-date-range-input .ard-multipage-date-range-input {
|
|
26
|
+
height: var(--ard-date-input-height, var(--ard-form-field-height, 2.3125rem));
|
|
5
27
|
position: relative;
|
|
6
28
|
font-family: var(--ard-font-family);
|
|
7
29
|
display: flex;
|
|
8
30
|
align-items: center;
|
|
9
31
|
justify-content: stretch;
|
|
10
|
-
gap: 0.
|
|
32
|
+
gap: var(--ard-date-input-gap, 0.625rem);
|
|
11
33
|
cursor: text;
|
|
12
34
|
box-sizing: border-box;
|
|
13
|
-
font-size: 1rem;
|
|
14
|
-
line-height: 1.
|
|
15
|
-
|
|
35
|
+
font-size: var(--ard-date-input-font-size, var(--ard-form-field-font-size, 1rem));
|
|
36
|
+
line-height: var(--ard-date-input-line-height, 1.25);
|
|
37
|
+
font-weight: var(--ard-date-input-font-weight, 400);
|
|
38
|
+
padding: var(--ard-date-input-padding, var(--ard-form-field-padding, 0 0.375rem));
|
|
39
|
+
padding-left: var(--ard-date-input-padding, 0 0 0 0.375rem);
|
|
40
|
+
display: grid;
|
|
41
|
+
grid-template-columns: 1fr max-content;
|
|
16
42
|
}
|
|
17
|
-
ard-date-input .ard-date-input .ard-input-container
|
|
43
|
+
ard-date-input .ard-date-input .ard-input-container,
|
|
44
|
+
ard-date-range-input .ard-date-range-input .ard-input-container,
|
|
45
|
+
ard-multipage-date-range-input .ard-multipage-date-range-input .ard-input-container {
|
|
18
46
|
flex-grow: 1;
|
|
19
47
|
text-size-adjust: 100%;
|
|
20
48
|
display: flex;
|
|
21
49
|
align-items: center;
|
|
22
50
|
}
|
|
23
|
-
ard-date-input .ard-date-input .ard-input-container .ard-placeholder
|
|
51
|
+
ard-date-input .ard-date-input .ard-input-container .ard-placeholder,
|
|
52
|
+
ard-date-range-input .ard-date-range-input .ard-input-container .ard-placeholder,
|
|
53
|
+
ard-multipage-date-range-input .ard-multipage-date-range-input .ard-input-container .ard-placeholder {
|
|
24
54
|
font: inherit;
|
|
25
|
-
opacity: 60
|
|
55
|
+
opacity: var(--ard-date-input-placeholder-opacity, 60%);
|
|
56
|
+
color: var(--ard-date-input-placeholder-color, var(--ard-text));
|
|
26
57
|
white-space: nowrap;
|
|
27
58
|
overflow: hidden;
|
|
28
59
|
text-overflow: ellipsis;
|
|
29
60
|
max-width: 100%;
|
|
30
61
|
pointer-events: none;
|
|
31
62
|
}
|
|
32
|
-
ard-date-input .ard-date-input .ard-input-container input
|
|
63
|
+
ard-date-input .ard-date-input .ard-input-container input,
|
|
64
|
+
ard-date-range-input .ard-date-range-input .ard-input-container input,
|
|
65
|
+
ard-multipage-date-range-input .ard-multipage-date-range-input .ard-input-container input {
|
|
33
66
|
border: none;
|
|
34
67
|
background: transparent;
|
|
35
68
|
outline: none;
|
|
@@ -38,32 +71,55 @@ ard-date-input .ard-date-input .ard-input-container input {
|
|
|
38
71
|
display: block;
|
|
39
72
|
width: 100%;
|
|
40
73
|
}
|
|
41
|
-
ard-date-input .ard-date-input.ard-compact
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
74
|
+
ard-date-input .ard-date-input.ard-compact,
|
|
75
|
+
ard-date-range-input .ard-date-range-input.ard-compact,
|
|
76
|
+
ard-multipage-date-range-input .ard-multipage-date-range-input.ard-compact {
|
|
77
|
+
height: var(--ard-date-input-height-compact, var(--ard-form-field-height-compact, 1.6875rem));
|
|
78
|
+
font-size: var(--ard-date-input-font-size-compact, var(--ard-form-field-font-size-compact, 0.875rem));
|
|
79
|
+
line-height: var(--ard-date-input-line-height-compact, 1);
|
|
80
|
+
padding: var(--ard-date-input-padding-compact, var(--ard-form-field-padding-compact, 0 0.375rem));
|
|
45
81
|
}
|
|
46
|
-
ard-date-input .ard-date-input .ard-date-input__value-container
|
|
47
|
-
|
|
82
|
+
ard-date-input .ard-date-input .ard-date-input__value-container,
|
|
83
|
+
ard-date-range-input .ard-date-range-input .ard-date-input__value-container,
|
|
84
|
+
ard-multipage-date-range-input .ard-multipage-date-range-input .ard-date-input__value-container {
|
|
48
85
|
position: unset;
|
|
49
86
|
}
|
|
50
|
-
ard-date-input .ard-date-input .ard-date-input__placeholder
|
|
87
|
+
ard-date-input .ard-date-input .ard-date-input__placeholder,
|
|
88
|
+
ard-date-range-input .ard-date-range-input .ard-date-input__placeholder,
|
|
89
|
+
ard-multipage-date-range-input .ard-multipage-date-range-input .ard-date-input__placeholder {
|
|
51
90
|
position: absolute;
|
|
52
91
|
}
|
|
53
|
-
ard-date-input .ard-date-input .ard-date-input__input-container
|
|
92
|
+
ard-date-input .ard-date-input .ard-date-input__input-container,
|
|
93
|
+
ard-date-range-input .ard-date-range-input .ard-date-input__input-container,
|
|
94
|
+
ard-multipage-date-range-input .ard-multipage-date-range-input .ard-date-input__input-container {
|
|
54
95
|
position: absolute;
|
|
55
96
|
inset: 0;
|
|
56
97
|
}
|
|
57
|
-
ard-date-input .ard-date-input .ard-date-input__input-container.ard-date-input__input-container-hidden
|
|
98
|
+
ard-date-input .ard-date-input .ard-date-input__input-container.ard-date-input__input-container-hidden,
|
|
99
|
+
ard-date-range-input .ard-date-range-input .ard-date-input__input-container.ard-date-input__input-container-hidden,
|
|
100
|
+
ard-multipage-date-range-input .ard-multipage-date-range-input .ard-date-input__input-container.ard-date-input__input-container-hidden {
|
|
58
101
|
position: absolute;
|
|
59
102
|
opacity: 0;
|
|
60
103
|
appearance: none;
|
|
61
104
|
}
|
|
62
|
-
ard-date-input .ard-date-input .ard-date-input__input-container input
|
|
105
|
+
ard-date-input .ard-date-input .ard-date-input__input-container input,
|
|
106
|
+
ard-date-range-input .ard-date-range-input .ard-date-input__input-container input,
|
|
107
|
+
ard-multipage-date-range-input .ard-multipage-date-range-input .ard-date-input__input-container input {
|
|
63
108
|
box-sizing: border-box;
|
|
64
109
|
width: 100%;
|
|
65
110
|
height: 100%;
|
|
66
|
-
padding: 0 2.625rem 0 0.375rem;
|
|
111
|
+
padding: var(--ard-date-input-input-padding, 0 2.625rem 0 0.375rem);
|
|
112
|
+
}
|
|
113
|
+
|
|
114
|
+
ard-days-view .ard-calendar__header-button {
|
|
115
|
+
font-size: var(--ard-button-font-size, 0.875rem);
|
|
116
|
+
font-weight: var(--ard-button-font-weight, 500);
|
|
117
|
+
}
|
|
118
|
+
|
|
119
|
+
.ard-date-input__multipage-wrapper {
|
|
120
|
+
display: flex;
|
|
121
|
+
flex-direction: row;
|
|
122
|
+
gap: var(--ard-date-input-multipage-gap, 0);
|
|
67
123
|
}
|
|
68
124
|
|
|
69
125
|
/*# sourceMappingURL=date-input.css.map */
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sourceRoot":"","sources":["../../../../../projects/ui/src/themes/default/inputs/_shared.scss","../../../../../projects/ui/src/themes/default/inputs/date-input.scss"],"names":[],"mappings":"AAEA;AAAA;AAAA;ACCA;
|
|
1
|
+
{"version":3,"sourceRoot":"","sources":["../../../../../projects/ui/src/themes/default/inputs/_shared.scss","../../../../../projects/ui/src/themes/default/inputs/date-input.scss"],"names":[],"mappings":"AAEA;AAAA;AAAA;ACCA;EACE;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EAEA;EACA;EACA;;;AAGF;AAAA;AAAA;EDHE,QCOE;EDNF;EACA;EACA;EACA;EACA;EACA,KCGE;EDFF;EACA;EACA,WCCE;EDAF,aCEE;EDDF,aCGE;EDFF,SCGE;EAMF;EACA;EACA;;ADTA;AAAA;AAAA;EACE;EACA;EACA;EACA;;AAEA;AAAA;AAAA;EACE;EACA,SCHF;EDIE,OCLF;EDME;EACA;EACA;EACA;EACA;;AAGF;AAAA;AAAA;EACE;EACA;EACA;EACA;EACA;EACA;EACA;;AAIJ;AAAA;AAAA;EACE,QCnCA;EDoCA,WCjCA;EDkCA,aChCA;EDiCA,SC9BA;;AASF;AAAA;AAAA;EACE;;AAEF;AAAA;AAAA;EACE;;AAEF;AAAA;AAAA;EACE;EACA;;AAEA;AAAA;AAAA;EACE;EACA;EACA;;AAGF;AAAA;AAAA;EACE;EACA;EACA;EACA;;;AAMJ;EACE;EACA;;;AAGJ;EACE;EACA;EACA","file":"date-input.css"}
|
|
@@ -1,28 +1,100 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Should be applied to the first element in the component's template.
|
|
3
3
|
*/
|
|
4
|
+
:root {
|
|
5
|
+
--ard-file-input-height: var(--ard-form-field-height, 2.3125rem);
|
|
6
|
+
--ard-file-input-height-compact: var(--ard-form-field-height-compact, 1.6875rem);
|
|
7
|
+
--ard-file-input-gap: 0.625rem;
|
|
8
|
+
--ard-file-input-font-size: var(--ard-form-field-font-size, 1rem);
|
|
9
|
+
--ard-file-input-font-size-compact: var(--ard-form-field-font-size-compact, 0.875rem);
|
|
10
|
+
--ard-file-input-line-height: 1.25;
|
|
11
|
+
--ard-file-input-line-height-compact: 1;
|
|
12
|
+
--ard-file-input-font-weight: 400;
|
|
13
|
+
--ard-file-input-padding: var(--ard-form-field-padding, 0 0.375rem);
|
|
14
|
+
--ard-file-input-padding-compact: var(--ard-form-field-padding-compact, 0 0.375rem);
|
|
15
|
+
--ard-file-input-color: var(--ard-text);
|
|
16
|
+
--ard-file-input-placeholder-color: var(--ard-text);
|
|
17
|
+
--ard-file-input-placeholder-opacity: 60%;
|
|
18
|
+
--ard-file-input-min-width: 10rem;
|
|
19
|
+
--ard-file-input-max-width: 100%;
|
|
20
|
+
--ard-file-input-gap: 0.375rem;
|
|
21
|
+
--ard-file-input-dragover-outline-width: 2px;
|
|
22
|
+
--ard-file-input-dragover-outline-style: solid;
|
|
23
|
+
--ard-file-input-browse-button-height: calc(100% - 0.25rem);
|
|
24
|
+
--ard-file-input-browse-button-width: unset;
|
|
25
|
+
--ard-file-input-browse-button-margin: 0.125rem;
|
|
26
|
+
--ard-file-input-browse-button-aspect-ratio: 1;
|
|
27
|
+
--ard-file-input-browse-button-border: none;
|
|
28
|
+
--ard-file-input-browse-button-border-radius: 9999px;
|
|
29
|
+
--ard-file-input-browse-button-background: none;
|
|
30
|
+
--ard-file-input-browse-button-padding: 0;
|
|
31
|
+
--ard-file-input-browse-button-color: var(--ard-text2);
|
|
32
|
+
--ard-file-input-browse-button-color-error: rgb(var(--ard-danger-700));
|
|
33
|
+
--ard-file-input-browse-button-overlay-offset: 0rem;
|
|
34
|
+
--ard-file-input-browse-button-overlay-color: var(--ard-overlay);
|
|
35
|
+
--ard-file-input-browse-button-overlay-hover-opacity: 4%;
|
|
36
|
+
--ard-file-input-browse-button-overlay-focus-opacity: 0;
|
|
37
|
+
--ard-file-input-browse-button-overlay-active-opacity: 12%;
|
|
38
|
+
--ard-file-input-browse-button-overlay-focus-visible-opacity: 16%;
|
|
39
|
+
--ard-file-input-file-name-font-weight: 500;
|
|
40
|
+
--ard-file-input-file-ext-font-weight: 500;
|
|
41
|
+
}
|
|
42
|
+
|
|
4
43
|
.ard-file-input-form-field-frame .ard-form-field-overlay {
|
|
5
44
|
display: none;
|
|
6
45
|
}
|
|
7
46
|
|
|
8
47
|
.ard-file-input {
|
|
48
|
+
height: var(--ard-file-input-height, var(--ard-form-field-height, 2.3125rem));
|
|
9
49
|
position: relative;
|
|
10
50
|
font-family: var(--ard-font-family);
|
|
11
51
|
display: flex;
|
|
12
52
|
align-items: center;
|
|
13
53
|
justify-content: stretch;
|
|
14
|
-
gap: 0.
|
|
54
|
+
gap: var(--ard-file-input-gap, 0.625rem);
|
|
15
55
|
cursor: text;
|
|
16
56
|
box-sizing: border-box;
|
|
17
|
-
font-size: 1rem;
|
|
18
|
-
line-height: 1.
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
57
|
+
font-size: var(--ard-file-input-font-size, var(--ard-form-field-font-size, 1rem));
|
|
58
|
+
line-height: var(--ard-file-input-line-height, 1.25);
|
|
59
|
+
font-weight: var(--ard-file-input-font-weight, 400);
|
|
60
|
+
padding: var(--ard-file-input-padding, var(--ard-form-field-padding, 0 0.375rem));
|
|
61
|
+
min-width: var(--ard-file-input-min-width, 10rem);
|
|
62
|
+
max-width: var(--ard-file-input-max-width, 100%);
|
|
63
|
+
gap: var(--ard-file-input-gap, 0.375rem);
|
|
23
64
|
cursor: default;
|
|
24
65
|
border-radius: var(--ard-variant-border-radius);
|
|
25
66
|
}
|
|
67
|
+
.ard-file-input .ard-input-container {
|
|
68
|
+
flex-grow: 1;
|
|
69
|
+
text-size-adjust: 100%;
|
|
70
|
+
display: flex;
|
|
71
|
+
align-items: center;
|
|
72
|
+
}
|
|
73
|
+
.ard-file-input .ard-input-container .ard-placeholder {
|
|
74
|
+
font: inherit;
|
|
75
|
+
opacity: var(--ard-file-input-placeholder-opacity, 60%);
|
|
76
|
+
color: var(--ard-file-input-placeholder-color, var(--ard-text));
|
|
77
|
+
white-space: nowrap;
|
|
78
|
+
overflow: hidden;
|
|
79
|
+
text-overflow: ellipsis;
|
|
80
|
+
max-width: 100%;
|
|
81
|
+
pointer-events: none;
|
|
82
|
+
}
|
|
83
|
+
.ard-file-input .ard-input-container input {
|
|
84
|
+
border: none;
|
|
85
|
+
background: transparent;
|
|
86
|
+
outline: none;
|
|
87
|
+
font: inherit;
|
|
88
|
+
padding: 0;
|
|
89
|
+
display: block;
|
|
90
|
+
width: 100%;
|
|
91
|
+
}
|
|
92
|
+
.ard-file-input.ard-compact {
|
|
93
|
+
height: var(--ard-file-input-height-compact, var(--ard-form-field-height-compact, 1.6875rem));
|
|
94
|
+
font-size: var(--ard-file-input-font-size-compact, var(--ard-form-field-font-size-compact, 0.875rem));
|
|
95
|
+
line-height: var(--ard-file-input-line-height-compact, 1);
|
|
96
|
+
padding: var(--ard-file-input-padding-compact, var(--ard-form-field-padding-compact, 0 0.375rem));
|
|
97
|
+
}
|
|
26
98
|
.ard-file-input.ard-color-none {
|
|
27
99
|
--ard-cmpcl--bg: var(--ard-bg);
|
|
28
100
|
--ard-cmpcl--bg-colored: var(--ard-bg-alt);
|
|
@@ -156,56 +228,27 @@
|
|
|
156
228
|
--ard-cmpcl--overlay-colored: currentColor;
|
|
157
229
|
--ard-cmpcl--overlay-colored-light: currentColor;
|
|
158
230
|
}
|
|
159
|
-
.ard-file-input .ard-input-container {
|
|
160
|
-
flex-grow: 1;
|
|
161
|
-
text-size-adjust: 100%;
|
|
162
|
-
display: flex;
|
|
163
|
-
align-items: center;
|
|
164
|
-
}
|
|
165
|
-
.ard-file-input .ard-input-container .ard-placeholder {
|
|
166
|
-
font: inherit;
|
|
167
|
-
opacity: 60%;
|
|
168
|
-
white-space: nowrap;
|
|
169
|
-
overflow: hidden;
|
|
170
|
-
text-overflow: ellipsis;
|
|
171
|
-
max-width: 100%;
|
|
172
|
-
pointer-events: none;
|
|
173
|
-
}
|
|
174
|
-
.ard-file-input .ard-input-container input {
|
|
175
|
-
border: none;
|
|
176
|
-
background: transparent;
|
|
177
|
-
outline: none;
|
|
178
|
-
font: inherit;
|
|
179
|
-
padding: 0;
|
|
180
|
-
display: block;
|
|
181
|
-
width: 100%;
|
|
182
|
-
}
|
|
183
|
-
.ard-file-input.ard-compact {
|
|
184
|
-
height: 1.5625em;
|
|
185
|
-
font-size: 0.85em;
|
|
186
|
-
line-height: 1;
|
|
187
|
-
}
|
|
188
231
|
.ard-file-input *:not(button):not(ard-clear-button) {
|
|
189
232
|
pointer-events: none;
|
|
190
233
|
user-select: none;
|
|
191
234
|
}
|
|
192
235
|
.ard-file-input.ard-state-dragover {
|
|
193
|
-
outline: 2px solid var(--ard-cmpcl--content-light);
|
|
236
|
+
outline: var(--ard-file-input-dragover-outline-width, 2px) var(--ard-file-input-dragover-outline-style, solid) var(--ard-cmpcl--content-light);
|
|
194
237
|
}
|
|
195
238
|
.ard-file-input .ard-file-input__value {
|
|
196
|
-
font-size: 92%;
|
|
197
239
|
overflow: hidden;
|
|
198
240
|
text-overflow: ellipsis;
|
|
199
|
-
max-height: 1.25rem;
|
|
200
241
|
}
|
|
201
242
|
.ard-file-input .ard-browse-button {
|
|
202
243
|
cursor: pointer;
|
|
203
|
-
height: calc(100% - 0.25rem);
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
244
|
+
height: var(--ard-file-input-browse-button-height, calc(100% - 0.25rem));
|
|
245
|
+
width: var(--ard-file-input-browse-button-width, unset);
|
|
246
|
+
margin: var(--ard-file-input-browse-button-margin, 0.125rem);
|
|
247
|
+
aspect-ratio: var(--ard-file-input-browse-button-aspect-ratio, 1);
|
|
248
|
+
border: var(--ard-file-input-browse-button-border, none);
|
|
249
|
+
border-radius: var(--ard-file-input-browse-button-border-radius, 9999px);
|
|
250
|
+
background: var(--ard-file-input-browse-button-background, none);
|
|
251
|
+
padding: var(--ard-file-input-browse-button-padding, 0);
|
|
209
252
|
position: relative;
|
|
210
253
|
display: flex;
|
|
211
254
|
justify-content: center;
|
|
@@ -214,28 +257,28 @@
|
|
|
214
257
|
}
|
|
215
258
|
.ard-file-input .ard-browse-button .ard-focus-overlay {
|
|
216
259
|
position: absolute;
|
|
217
|
-
top: -0.25rem;
|
|
218
|
-
bottom: -0.25rem;
|
|
219
|
-
left: -0.25rem;
|
|
220
|
-
right: -0.25rem;
|
|
260
|
+
top: calc(-1 * var(--ard-file-input-browse-button-overlay-offset, 0.25rem));
|
|
261
|
+
bottom: calc(-1 * var(--ard-file-input-browse-button-overlay-offset, 0.25rem));
|
|
262
|
+
left: calc(-1 * var(--ard-file-input-browse-button-overlay-offset, 0.25rem));
|
|
263
|
+
right: calc(-1 * var(--ard-file-input-browse-button-overlay-offset, 0.25rem));
|
|
221
264
|
opacity: 0;
|
|
222
265
|
border-radius: inherit;
|
|
223
266
|
pointer-events: none;
|
|
224
267
|
transition: opacity 0.2s ease;
|
|
225
|
-
background: var(--ard-overlay);
|
|
226
|
-
border-radius: 9999px;
|
|
268
|
+
background: var(--ard-file-input-browse-button-overlay-color, var(--ard-overlay));
|
|
269
|
+
border-radius: var(--ard-file-input-browse-button-border-radius, 9999px);
|
|
227
270
|
}
|
|
228
271
|
.ard-file-input .ard-browse-button:hover .ard-focus-overlay {
|
|
229
|
-
opacity: 4
|
|
272
|
+
opacity: var(--ard-file-input-browse-button-overlay-hover-opacity, 4%);
|
|
230
273
|
}
|
|
231
274
|
.ard-file-input .ard-browse-button:focus .ard-focus-overlay {
|
|
232
|
-
opacity: 8
|
|
275
|
+
opacity: var(--ard-file-input-browse-button-overlay-focus-opacity, 8%);
|
|
233
276
|
}
|
|
234
277
|
.ard-file-input .ard-browse-button:active .ard-focus-overlay {
|
|
235
|
-
opacity: 12
|
|
278
|
+
opacity: var(--ard-file-input-browse-button-overlay-active-opacity, 12%);
|
|
236
279
|
}
|
|
237
280
|
.ard-file-input .ard-browse-button:focus-visible .ard-focus-overlay {
|
|
238
|
-
opacity: 16
|
|
281
|
+
opacity: var(--ard-file-input-browse-button-overlay-focus-visible-opacity, 16%);
|
|
239
282
|
}
|
|
240
283
|
.ard-file-input ard-clear-button {
|
|
241
284
|
height: var(--ard-clear-button-size);
|
|
@@ -269,10 +312,10 @@
|
|
|
269
312
|
}
|
|
270
313
|
.ard-file-input .ard-clear-btn-wrapper .ard-focus-overlay {
|
|
271
314
|
position: absolute;
|
|
272
|
-
top: -1px;
|
|
273
|
-
bottom: -1px;
|
|
274
|
-
left: -1px;
|
|
275
|
-
right: -1px;
|
|
315
|
+
top: calc(-1 * 1px);
|
|
316
|
+
bottom: calc(-1 * 1px);
|
|
317
|
+
left: calc(-1 * 1px);
|
|
318
|
+
right: calc(-1 * 1px);
|
|
276
319
|
opacity: 0;
|
|
277
320
|
border-radius: inherit;
|
|
278
321
|
pointer-events: none;
|
|
@@ -316,7 +359,12 @@
|
|
|
316
359
|
.ard-file-input .ard-file-input__full-file-name {
|
|
317
360
|
display: grid;
|
|
318
361
|
grid-template-columns: 1fr max-content;
|
|
319
|
-
|
|
362
|
+
}
|
|
363
|
+
.ard-file-input .ard-file-input__full-file-name .ard-file-input__file-name {
|
|
364
|
+
font-weight: var(--ard-file-input-file-name-font-weight, 500);
|
|
365
|
+
}
|
|
366
|
+
.ard-file-input .ard-file-input__full-file-name .ard-file-input__file-ext {
|
|
367
|
+
font-weight: var(--ard-file-input-file-ext-font-weight, 500);
|
|
320
368
|
}
|
|
321
369
|
|
|
322
370
|
ard-file-input .ard-form-field-content-container {
|
|
@@ -325,7 +373,7 @@ ard-file-input .ard-form-field-content-container {
|
|
|
325
373
|
|
|
326
374
|
ard-file-input .ard-form-field-frame.ard-has-error .ard-file-input .ard-file-input__value,
|
|
327
375
|
ard-file-input .ard-form-field-frame.ard-has-error .ard-file-input .ard-browse-button {
|
|
328
|
-
color: rgb(var(--ard-danger-700));
|
|
376
|
+
color: var(--ard-file-input-browse-button-color-error, rgb(var(--ard-danger-700)));
|
|
329
377
|
}
|
|
330
378
|
|
|
331
379
|
/*# sourceMappingURL=file-input.css.map */
|