@ardium-ui/ui 5.0.0-alpha.92 → 5.0.0-alpha.93
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 +267 -67
- package/fesm2022/ardium-ui-ui.mjs.map +1 -1
- package/lib/_internal/disablable-component.d.ts +3 -3
- package/lib/chip/deletable-chip/deletable-chip.component.d.ts +1 -0
- package/lib/file-inputs/file-input/file-input.component.d.ts +3 -3
- package/lib/file-inputs/file-input/file-input.directives.d.ts +3 -3
- package/lib/file-inputs/file-input/file-input.module.d.ts +1 -1
- package/lib/inputs/password-input/password-input.component.d.ts +2 -2
- package/lib/radio/radio-group.component.d.ts +1 -0
- package/package.json +1 -1
- package/prebuilt-themes/default/buttons/fab.css +6 -3
- package/prebuilt-themes/default/buttons/fab.css.map +1 -1
- package/prebuilt-themes/default/checkbox-list.css +9 -0
- package/prebuilt-themes/default/checkbox-list.css.map +1 -1
- package/prebuilt-themes/default/checkbox.css +9 -3
- package/prebuilt-themes/default/checkbox.css.map +1 -1
- package/prebuilt-themes/default/chips.css +16 -10
- package/prebuilt-themes/default/chips.css.map +1 -1
- package/prebuilt-themes/default/core.css +1 -2
- package/prebuilt-themes/default/core.css.map +1 -1
- package/prebuilt-themes/default/form-field-frame.css.map +1 -1
- package/prebuilt-themes/default/inputs/autocomplete-input.css +6 -0
- package/prebuilt-themes/default/inputs/autocomplete-input.css.map +1 -1
- package/prebuilt-themes/default/inputs/color-input.css +3 -0
- package/prebuilt-themes/default/inputs/color-input.css.map +1 -1
- package/prebuilt-themes/default/inputs/date-input.css +5 -0
- package/prebuilt-themes/default/inputs/date-input.css.map +1 -1
- package/prebuilt-themes/default/inputs/digit-input.css +6 -0
- package/prebuilt-themes/default/inputs/digit-input.css.map +1 -1
- package/prebuilt-themes/default/inputs/file-input.css +6 -0
- package/prebuilt-themes/default/inputs/file-input.css.map +1 -1
- package/prebuilt-themes/default/inputs/hex-input.css +6 -0
- package/prebuilt-themes/default/inputs/hex-input.css.map +1 -1
- package/prebuilt-themes/default/inputs/input.css +6 -0
- package/prebuilt-themes/default/inputs/input.css.map +1 -1
- package/prebuilt-themes/default/inputs/number-input.css +9 -2
- package/prebuilt-themes/default/inputs/number-input.css.map +1 -1
- package/prebuilt-themes/default/inputs/password-input.css +3 -0
- package/prebuilt-themes/default/inputs/password-input.css.map +1 -1
- package/prebuilt-themes/default/radio.css +12 -0
- package/prebuilt-themes/default/radio.css.map +1 -1
- package/prebuilt-themes/default/segment.css +15 -9
- package/prebuilt-themes/default/segment.css.map +1 -1
- package/prebuilt-themes/default/select.css +3 -0
- package/prebuilt-themes/default/select.css.map +1 -1
- package/prebuilt-themes/default/slider.css +32 -6
- package/prebuilt-themes/default/slider.css.map +1 -1
- package/prebuilt-themes/default/stars.css +15 -5
- package/prebuilt-themes/default/stars.css.map +1 -1
- package/themes/default/_clear-button.scss +5 -0
- package/themes/default/_mixins.scss +5 -3
- package/themes/default/checkbox-list.scss +14 -0
- package/themes/default/checkbox.scss +10 -1
- package/themes/default/chips.scss +47 -38
- package/themes/default/core.scss +2 -3
- package/themes/default/inputs/_shared.scss +6 -1
- package/themes/default/inputs/autocomplete-input.scss +3 -1
- package/themes/default/inputs/date-input.scss +3 -1
- package/themes/default/inputs/digit-input.scss +10 -0
- package/themes/default/inputs/file-input.scss +3 -1
- package/themes/default/inputs/hex-input.scss +3 -1
- package/themes/default/inputs/input.scss +3 -1
- package/themes/default/inputs/number-input.scss +16 -6
- package/themes/default/inputs/password-input.scss +3 -1
- package/themes/default/radio.scss +19 -0
- package/themes/default/segment.scss +36 -23
- package/themes/default/slider.scss +22 -2
- package/themes/default/stars.scss +19 -2
|
@@ -244,6 +244,18 @@
|
|
|
244
244
|
opacity: var(--ard-radio-disabled-opacity, 50%);
|
|
245
245
|
user-select: none;
|
|
246
246
|
}
|
|
247
|
+
.ard-readonly .ard-radio {
|
|
248
|
+
cursor: var(--ard-radio-readonly-cursor, var(--ard-readonly-cursor, default));
|
|
249
|
+
}
|
|
250
|
+
.ard-readonly .ard-radio > .ard-radio-circles {
|
|
251
|
+
pointer-events: none;
|
|
252
|
+
}
|
|
253
|
+
.ard-readonly .ard-radio > .ard-radio-circles .ard-focus-overlay {
|
|
254
|
+
display: none;
|
|
255
|
+
}
|
|
256
|
+
.ard-readonly .ard-radio:focus-visible > .ard-radio-circles > .ard-focus-overlay {
|
|
257
|
+
display: block;
|
|
258
|
+
}
|
|
247
259
|
}
|
|
248
260
|
|
|
249
261
|
/*# sourceMappingURL=radio.css.map */
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sourceRoot":"","sources":["../../../../projects/ui/src/themes/default/radio.scss","../../../../projects/ui/src/themes/default/_coloring.scss","../../../../projects/ui/src/themes/default/_mixins.scss","../../../../projects/ui/src/themes/_variables.scss"],"names":[],"mappings":"AAIA;EAGE;IAEE;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;;
|
|
1
|
+
{"version":3,"sourceRoot":"","sources":["../../../../projects/ui/src/themes/default/radio.scss","../../../../projects/ui/src/themes/default/_coloring.scss","../../../../projects/ui/src/themes/default/_mixins.scss","../../../../projects/ui/src/themes/_variables.scss"],"names":[],"mappings":"AAIA;EAGE;IAEE;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;;EAIF;IACE;IACA;;EAGF;IACE;IACA;IACA;;EAGF;IAGE;IACA;IACA;IACA;IACA;IACA;IACA;;EC1CF;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;;ED9FA;IACE;IACA;IACA;IACA;;EAEA;IACE;IACA;IACA;IACA;IACA;IACA;IACA;IACA;;EAEF;IACE;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;;EAEF;IE7DJ;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IAEA;IFsDM;IACA,kBG3EE;IH6EF,YACE;;EAGJ;IACE;IACA;IACA;IACA;IACA;IACA;;EAIA;IACE;;EAOF;IACE;;EAEF;IACE;;EAEF;IACE;;EAMF;IACE;;EAMF;IACE;;EAON;IACE;IACA;IACA;;EAIF;IACE;;EAEA;IACE;;EAEA;IACE;;EAIF;IACE","file":"radio.css"}
|
|
@@ -258,16 +258,16 @@
|
|
|
258
258
|
.ard-segment-container .ard-segment-option.ard-option-highlighted .ard-focus-overlay {
|
|
259
259
|
opacity: var(--ard-segment-option-highlighted-bg-opacity, 4%);
|
|
260
260
|
}
|
|
261
|
-
.ard-segment-container .ard-segment-option:active .ard-focus-overlay {
|
|
262
|
-
opacity: var(--ard-segment-option-active-bg-opacity, 12%);
|
|
263
|
-
}
|
|
264
261
|
.ard-segment-container .ard-segment-option.ard-option-selected .ard-focus-overlay {
|
|
265
262
|
opacity: var(--ard-segment-option-selected-bg-opacity, 16%);
|
|
266
263
|
}
|
|
264
|
+
ard-segment:not(.ard-disabled):not(.ard-readonly) .ard-segment-container .ard-segment-option:active .ard-focus-overlay {
|
|
265
|
+
opacity: var(--ard-segment-option-active-bg-opacity, 12%);
|
|
266
|
+
}
|
|
267
267
|
.ard-segment-container.ard-using-keyboard .ard-segment-option.ard-option-highlighted .ard-focus-overlay {
|
|
268
268
|
opacity: var(--ard-segment-option-highlighted-keyboard-bg-opacity, 28%);
|
|
269
269
|
}
|
|
270
|
-
.ard-segment-container.ard-using-keyboard .ard-segment-option:active .ard-focus-overlay {
|
|
270
|
+
ard-segment:not(.ard-disabled):not(.ard-readonly) .ard-segment-container.ard-using-keyboard .ard-segment-option:active .ard-focus-overlay {
|
|
271
271
|
opacity: var(--ard-segment-option-active-keyboard-bg-opacity, 34%);
|
|
272
272
|
}
|
|
273
273
|
.ard-segment-container.ard-appearance-transparent {
|
|
@@ -416,20 +416,26 @@
|
|
|
416
416
|
aspect-ratio: 1;
|
|
417
417
|
justify-content: center;
|
|
418
418
|
}
|
|
419
|
-
.ard-segment-container
|
|
419
|
+
.ard-disabled > .ard-segment-container {
|
|
420
420
|
pointer-events: none;
|
|
421
421
|
opacity: var(--ard-segment-option-disabled-opacity, 50%);
|
|
422
422
|
}
|
|
423
|
-
.ard-segment-container
|
|
423
|
+
.ard-disabled > .ard-segment-container .ard-focus-overlay {
|
|
424
424
|
opacity: 10%;
|
|
425
425
|
}
|
|
426
|
-
.ard-segment-container.ard-
|
|
427
|
-
.ard-segment-container.ard-
|
|
426
|
+
.ard-disabled > .ard-segment-container.ard-color-none .ard-button-icon,
|
|
427
|
+
.ard-disabled > .ard-segment-container.ard-color-none .ard-button-content {
|
|
428
428
|
opacity: calc(var(--ard-segment-option-disabled-opacity, 50%) * 1.2);
|
|
429
429
|
}
|
|
430
|
-
.ard-segment-container.ard-
|
|
430
|
+
.ard-disabled > .ard-segment-container.ard-color-none .ard-focus-overlay {
|
|
431
431
|
background: var(--ard-cmpcl--overlay);
|
|
432
432
|
}
|
|
433
|
+
.ard-readonly > .ard-segment-container {
|
|
434
|
+
cursor: var(--ard-segment-readonly-cursor, var(--ard-readonly-cursor, default));
|
|
435
|
+
}
|
|
436
|
+
.ard-readonly > .ard-segment-container .ard-segment-row .ard-segment-option {
|
|
437
|
+
cursor: inherit;
|
|
438
|
+
}
|
|
433
439
|
}
|
|
434
440
|
|
|
435
441
|
/*# sourceMappingURL=segment.css.map */
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sourceRoot":"","sources":["../../../../projects/ui/src/themes/default/segment.scss","../../../../projects/ui/src/themes/default/_mixins.scss","../../../../projects/ui/src/themes/default/_coloring.scss","../../../../projects/ui/src/themes/_variables.scss"],"names":[],"mappings":"AAIA;EAGE;IACE;IACA;IAGA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;;
|
|
1
|
+
{"version":3,"sourceRoot":"","sources":["../../../../projects/ui/src/themes/default/segment.scss","../../../../projects/ui/src/themes/default/_mixins.scss","../../../../projects/ui/src/themes/default/_coloring.scss","../../../../projects/ui/src/themes/_variables.scss"],"names":[],"mappings":"AAIA;EAGE;IACE;IACA;IAGA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;;EAKF;IAEE;IACA;IACA;IACA;IACA;IACA;IACA;IACA;ICuCF;;EC3EA;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;;EDjGF;IACE;IACA;IACA;;EAEA;IACE;;EAEF;IACE;;EAEF;IACE;IACA;;EAGJ;IACE;IACA;;EAEA;IACE;;EAEF;IACE;;EAGJ;IACE;IACA;;EAOF;IAEE;;EAEF;IACE;;EAEF;IACE;;ED3CA;IChCF;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IAEA;IDyBI;;EAIF;IACE;IACA;IACA;;EAEA;IACE;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA,YACE;IAIF;IACA;IACA;;EAEA;IACE;IACA;;EAGF;IACE;IACA;;EAGF;IACE;IACA;IACA;;EAEA;IACE;IACA;;EAQJ;IACE;;EAIF;IACE;;EAKA;IACE;;EAQF;IACE;;EAKA;IACE;;EAQV;IACE;;EAII;IACE;;EAGF;IACE;;EAKR;IAEE,YGxJD;IHyJC;;EAEA;IACE;;EAEA;IACE;IACA;;EAGJ;IAGE;;EAEA;IACE;;EAEA;IACE;;EAGF;IACE;;EAOF;IACE;;EAIE;IACE;;EAEF;IACE;;EAEF;IACE;IACA;;EAMF;IACE;;EAEF;IACE;;EAEF;IACE;IACA;;EAMF;IACE;IACA;;EAEF;IACE;IACA;;EAEF;IACE;;EAQN;IACE;;EAEF;IACE;;EAMN;IACE;IACA;;EAGJ;IACE;;EAEA;IACE;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;;EAGJ;IACE;IACA;;EAGE;IACE;;EAEA;IACE;;EAGA;IACE;;EAGJ;IACE;IACA;;EAEA;IACE;;EAQV;IAGE;IACA;;EAGE;IACE;;EAON;IAEE;;EAGE;IACE;;EAIN;IAEE;;EAGE;IACE;;EAIN;IACE;;EAKA;IACE;IACA;;EAEA;IACE;IACA;;EAMJ;IACE;IACA;IACA;IACA;;EAMN;IACE;IACA;;EAEA;IACE;;EAKA;AAAA;IAEE;;EAEF;IACE;;EAKN;IACE;;EAEA;IACE","file":"segment.css"}
|
|
@@ -104,6 +104,9 @@
|
|
|
104
104
|
.ard-select .ard-clear-btn-wrapper:active .ard-focus-overlay {
|
|
105
105
|
opacity: 15%;
|
|
106
106
|
}
|
|
107
|
+
.ard-select .ard-disabled .ard-clear-btn-wrapper, .ard-select .ard-readonly .ard-clear-btn-wrapper {
|
|
108
|
+
pointer-events: none;
|
|
109
|
+
}
|
|
107
110
|
.ard-select .ard-select-value-container {
|
|
108
111
|
position: relative;
|
|
109
112
|
height: 2em;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sourceRoot":"","sources":["../../../../projects/ui/src/themes/default/select.scss","../../../../projects/ui/src/themes/default/_clear-button.scss","../../../../projects/ui/src/themes/_variables.scss","../../../../projects/ui/src/themes/default/_mixins.scss"],"names":[],"mappings":"AAIA;EAGE;IAGE;IACA;IACA;IACA;IACA;IACA;IAMA;IAEA;IACA;IAEA;IACA;IAEA;IACA;IACA;IACA;IAGA;IACA;IAEA;IACA;IACA;IACA;IAEA;IAGA;IAGA;IAEA;IACA;;EAGF;IACE;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;;EC9DF;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;;
|
|
1
|
+
{"version":3,"sourceRoot":"","sources":["../../../../projects/ui/src/themes/default/select.scss","../../../../projects/ui/src/themes/default/_clear-button.scss","../../../../projects/ui/src/themes/_variables.scss","../../../../projects/ui/src/themes/default/_mixins.scss"],"names":[],"mappings":"AAIA;EAGE;IAGE;IACA;IACA;IACA;IACA;IACA;IAMA;IAEA;IACA;IAEA;IACA;IAEA;IACA;IACA;IACA;IAGA;IACA;IAEA;IACA;IACA;IACA;IAEA;IAGA;IAGA;IAEA;IACA;;EAGF;IACE;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;;EC9DF;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;;EAKJ;IACE;;EDHF;IACE;IACA;IACA;IACA;IACA;IACA;IACA;IACA;;EAEA;IACE;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;;EAGF;IACE;IACA;;EAEA;IACE;IACA;IACA;IACA;IACA;IACA;IACA;IACA;;EAIN;IACE;IACA;IACA;IACA;;EAIA;IACE;IACA;;EAKF;IACE;IACA;IACA;IACA;IACA;;EAEA;IACE;;EAIN;IACE;;EAEF;IACE;;EAEA;IACE;IACA;IACA;IACA;IACA;IACA;IACA;;EAEA;IACE;;EAGJ;IACE;IACA;IACA;;EAEA;IACE;;EAGJ;IACE;;EAIJ;IACE;IACA;IACA;IACA;IACA;IACA;IACA;IACA;;EAEA;IACE;IACA;IACA;IACA;IACA;;EAIF;IACE;;EAKJ;IACE;IACA;IACA;;EAEA;IACE;;EAEF;IACE;;EAMN;IACE;IACA;IACA;IACA;IACA;;EAEA;IACE;IACA;IACA;;EAEF;IACE;IACA;IACA;;EAEF;IACE;;EAGF;IACE;IACA;IACA;IACA;;EAGF;IACE;IACA;IACA;;EAEA;IACE;;EAGF;IACE;IACA;;EAEA;IACE;;EAIJ;IACE;IACA;;EAIJ;IACE;IACA;IACA;IACA;;EAGF;IACE;;EAGF;IACE;IACA;IACA;;EAEA;IACE;;EAKJ;IACE;;EAKJ;IACE;IACA;IACA;IACA;IACA;;EAEA;IACE;IACA;IACA;IACA;IACA;IACA;IACA;;;AAKN;EACE;IACE;;EAGF;IACE","file":"select.css"}
|
|
@@ -265,6 +265,7 @@
|
|
|
265
265
|
cursor: grab;
|
|
266
266
|
transition: box-shadow 0.15s ease, left var(--_ard-slider-transition) ease;
|
|
267
267
|
box-shadow: var(--ard-simple-shadow);
|
|
268
|
+
--_ard-focus-overlay-scale: 0.2;
|
|
268
269
|
}
|
|
269
270
|
.ard-slider-container-master .ard-slider-handle .ard-focus-overlay,
|
|
270
271
|
.ard-range-slider-container-master .ard-slider-handle .ard-focus-overlay {
|
|
@@ -281,13 +282,14 @@
|
|
|
281
282
|
}
|
|
282
283
|
.ard-slider-container-master .ard-slider-handle > .ard-focus-overlay,
|
|
283
284
|
.ard-range-slider-container-master .ard-slider-handle > .ard-focus-overlay {
|
|
284
|
-
transform: scale(
|
|
285
|
+
transform: scale(var(--_ard-focus-overlay-scale));
|
|
285
286
|
transition: opacity 0.2s ease, transform 0.1s ease;
|
|
286
287
|
}
|
|
287
|
-
.ard-slider-container-master .ard-slider-handle:hover > .ard-focus-overlay, .ard-slider-container-master .ard-slider-handle:focus > .ard-focus-overlay,
|
|
288
|
+
.ard-slider-container-master .ard-slider-handle:hover > .ard-focus-overlay, .ard-slider-container-master .ard-slider-handle:focus > .ard-focus-overlay, .ard-slider-container-master .ard-slider-handle:focus-visible > .ard-focus-overlay,
|
|
288
289
|
.ard-range-slider-container-master .ard-slider-handle:hover > .ard-focus-overlay,
|
|
289
|
-
.ard-range-slider-container-master .ard-slider-handle:focus > .ard-focus-overlay
|
|
290
|
-
|
|
290
|
+
.ard-range-slider-container-master .ard-slider-handle:focus > .ard-focus-overlay,
|
|
291
|
+
.ard-range-slider-container-master .ard-slider-handle:focus-visible > .ard-focus-overlay {
|
|
292
|
+
--_ard-focus-overlay-scale: 1;
|
|
291
293
|
}
|
|
292
294
|
.ard-slider-container-master .ard-slider-handle .ard-hitbox,
|
|
293
295
|
.ard-range-slider-container-master .ard-slider-handle .ard-hitbox {
|
|
@@ -362,7 +364,7 @@
|
|
|
362
364
|
.ard-slider-container-master.ard-tooltip-top .ard-slider-tooltip::before,
|
|
363
365
|
.ard-range-slider-container-master.ard-tooltip-top .ard-slider-tooltip::before {
|
|
364
366
|
bottom: 0;
|
|
365
|
-
border-top-color: var(--ard-slider-label-
|
|
367
|
+
border-top-color: var(--ard-slider-label-b, var(--ard-text3));
|
|
366
368
|
transform: translate(-50%, 100%);
|
|
367
369
|
}
|
|
368
370
|
.ard-slider-container-master.ard-tooltip-bottom .ard-slider-tooltip,
|
|
@@ -373,7 +375,7 @@
|
|
|
373
375
|
.ard-slider-container-master.ard-tooltip-bottom .ard-slider-tooltip::before,
|
|
374
376
|
.ard-range-slider-container-master.ard-tooltip-bottom .ard-slider-tooltip::before {
|
|
375
377
|
top: 0;
|
|
376
|
-
border-bottom-color: var(--ard-slider-label-bg);
|
|
378
|
+
border-bottom-color: var(--ard-slider-label-bg, var(--ard-text3));
|
|
377
379
|
transform: translate(-50%, -100%);
|
|
378
380
|
}
|
|
379
381
|
.ard-slider-container-master .ard-slider-handle:hover + .ard-slider-tooltip-wrapper .ard-slider-tooltip,
|
|
@@ -397,6 +399,30 @@
|
|
|
397
399
|
cursor: grabbing !important;
|
|
398
400
|
pointer-events: none !important;
|
|
399
401
|
}
|
|
402
|
+
.ard-disabled .ard-slider-container-master,
|
|
403
|
+
.ard-disabled .ard-range-slider-container-master,
|
|
404
|
+
.ard-readonly .ard-slider-container-master,
|
|
405
|
+
.ard-readonly .ard-range-slider-container-master {
|
|
406
|
+
cursor: var(--ard-slider-readonly-cursor, var(--ard-readonly-cursor, default));
|
|
407
|
+
}
|
|
408
|
+
.ard-disabled .ard-slider-container-master .ard-slider-container,
|
|
409
|
+
.ard-disabled .ard-range-slider-container-master .ard-slider-container,
|
|
410
|
+
.ard-readonly .ard-slider-container-master .ard-slider-container,
|
|
411
|
+
.ard-readonly .ard-range-slider-container-master .ard-slider-container {
|
|
412
|
+
cursor: inherit;
|
|
413
|
+
}
|
|
414
|
+
.ard-disabled .ard-slider-container-master .ard-slider-container .ard-slider-handle,
|
|
415
|
+
.ard-disabled .ard-range-slider-container-master .ard-slider-container .ard-slider-handle,
|
|
416
|
+
.ard-readonly .ard-slider-container-master .ard-slider-container .ard-slider-handle,
|
|
417
|
+
.ard-readonly .ard-range-slider-container-master .ard-slider-container .ard-slider-handle {
|
|
418
|
+
cursor: inherit;
|
|
419
|
+
}
|
|
420
|
+
.ard-disabled .ard-slider-container-master .ard-slider-container .ard-slider-handle .ard-focus-overlay,
|
|
421
|
+
.ard-disabled .ard-range-slider-container-master .ard-slider-container .ard-slider-handle .ard-focus-overlay,
|
|
422
|
+
.ard-readonly .ard-slider-container-master .ard-slider-container .ard-slider-handle .ard-focus-overlay,
|
|
423
|
+
.ard-readonly .ard-range-slider-container-master .ard-slider-container .ard-slider-handle .ard-focus-overlay {
|
|
424
|
+
display: none;
|
|
425
|
+
}
|
|
400
426
|
}
|
|
401
427
|
|
|
402
428
|
/*# sourceMappingURL=slider.css.map */
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sourceRoot":"","sources":["../../../../projects/ui/src/themes/default/slider.scss","../../../../projects/ui/src/themes/default/_coloring.scss","../../../../projects/ui/src/themes/_variables.scss","../../../../projects/ui/src/themes/default/_mixins.scss"],"names":[],"mappings":"AAKA;EAGE;IAGE;IACA;IACA;IAEA;IACA;IACA;IAEA;IACA;IACA;IACA;IACA;IAEA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IAGA;IACA;IACA;IACA;IACA;IACA;IACA;;
|
|
1
|
+
{"version":3,"sourceRoot":"","sources":["../../../../projects/ui/src/themes/default/slider.scss","../../../../projects/ui/src/themes/default/_coloring.scss","../../../../projects/ui/src/themes/_variables.scss","../../../../projects/ui/src/themes/default/_mixins.scss"],"names":[],"mappings":"AAKA;EAGE;IAGE;IACA;IACA;IAEA;IACA;IACA;IAEA;IACA;IACA;IACA;IACA;IAEA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IAGA;IACA;IACA;IACA;IACA;IACA;IACA;;EAIF;AAAA;IAIE;IACA;IACA;IACA;IACA;IACA;IACA;;ECrDF;AAAA;IACE;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;;EAEF;AAAA;IACE;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;;EAEF;AAAA;IACE;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;;EAEF;AAAA;IACE;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;;EAEF;AAAA;IACE;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;;EAEF;AAAA;IACE;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;;EAEF;AAAA;IACE;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;;EAEF;AAAA;IACE;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;;EDlFA;AAAA;IACE;;EAEA;AAAA;IACE;;EAKJ;AAAA;IACE;IACA;IACA;IACA;IACA;IACA;;EAGF;AAAA;IACE;IACA;IACA,YEhFD;;EFkFC;AAAA;IACE;IACA;IACA;IACA;IACA;IACA;;EAEA;AAAA;IACE;IACA;IACA;IACA;IACA;IACA;IACA,YACE;;EAIN;AAAA;IACE;IACA;;EAEF;AAAA;IACE;IACA;IACA;IACA;;EAEF;AAAA;IACE;IACA;IACA;IACA;IACA,YE9GD;IF+GC;IACA;;EAIJ;AAAA;IACE;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IAEA,YACE;IAEF,YEzGU;ICTd;;EHoHI;AAAA;IGhIJ;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IAEA;IHyHM;;EGrHN;AAAA;IACE;IAEA,YACE;;EAOF;AAAA;AAAA;AAAA;IACE;;EH6GA;AAAA;IACE;IACA;IACA;;EAGA;AAAA;IACE;;EAGJ;AAAA;IACE,YE3HS;;EF6HT;AAAA;IACE;;EAKF;AAAA;AAAA;IACE;;EAIN;AAAA;IACE;IACA;IACA;IACA;IACA;;EAEA;AAAA;IACE;;EAIJ;AAAA;IACE;IACA;;EAEF;AAAA;IACE;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IAEA;IACA;;EAEA;AAAA;IACE;IACA;IACA;IACA;;EAIF;AAAA;IACE;IACA;;EAEA;AAAA;IACE;IACA;IACA;;EAKJ;AAAA;IACE;IACA;;EAEA;AAAA;IACE;IACA;IACA;;EAQJ;AAAA;AAAA;AAAA;IACE;;EAMA;AAAA;IACE;;EAMJ;AAAA;IACE;;EAIN;IACE;;EAEA;IACE;IACA;;EAKF;AAAA;AAAA;AAAA;IAEE;;EAEA;AAAA;AAAA;AAAA;IACE;;EAEA;AAAA;AAAA;AAAA;IACE;;EAEA;AAAA;AAAA;AAAA;IACE","file":"slider.css"}
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
--ard-star-button-overlay-offset: -0.125em;
|
|
6
6
|
--ard-star-button-hover-overlay-opacity: 10%;
|
|
7
7
|
--ard-star-button-focus-overlay-opacity: 0;
|
|
8
|
-
--ard-star-button-focus-visible-overlay-opacity:
|
|
8
|
+
--ard-star-button-focus-visible-overlay-opacity: 30%;
|
|
9
9
|
--ard-star-button-active-overlay-opacity: 20%;
|
|
10
10
|
--ard-star-button-disabled-opacity: 50%;
|
|
11
11
|
--ard-rating-input-not-in-value-opacity: 50%;
|
|
@@ -216,6 +216,7 @@
|
|
|
216
216
|
justify-content: center;
|
|
217
217
|
align-items: center;
|
|
218
218
|
outline: none;
|
|
219
|
+
--_ard-focus-overlay-scale: 0.2;
|
|
219
220
|
}
|
|
220
221
|
.ard-star-button .ard-hitbox {
|
|
221
222
|
position: absolute;
|
|
@@ -243,11 +244,11 @@
|
|
|
243
244
|
background: currentColor;
|
|
244
245
|
}
|
|
245
246
|
.ard-star-button > .ard-focus-overlay {
|
|
246
|
-
transform: scale(
|
|
247
|
+
transform: scale(var(--_ard-focus-overlay-scale));
|
|
247
248
|
transition: opacity 0.2s ease, transform 0.1s ease;
|
|
248
249
|
}
|
|
249
|
-
.ard-star-button:hover > .ard-focus-overlay, .ard-star-button:focus > .ard-focus-overlay {
|
|
250
|
-
|
|
250
|
+
.ard-star-button:hover > .ard-focus-overlay, .ard-star-button:focus > .ard-focus-overlay, .ard-star-button:focus-visible > .ard-focus-overlay {
|
|
251
|
+
--_ard-focus-overlay-scale: 1;
|
|
251
252
|
}
|
|
252
253
|
.ard-star-button:hover .ard-focus-overlay {
|
|
253
254
|
opacity: var(--ard-star-button-hover-overlay-opacity, 10%);
|
|
@@ -256,7 +257,7 @@
|
|
|
256
257
|
opacity: var(--ard-star-button-focus-overlay-opacity, 0%);
|
|
257
258
|
}
|
|
258
259
|
.ard-star-button:focus-visible .ard-focus-overlay {
|
|
259
|
-
opacity: var(--ard-star-button-focus-visible-overlay-opacity,
|
|
260
|
+
opacity: var(--ard-star-button-focus-visible-overlay-opacity, 30%);
|
|
260
261
|
}
|
|
261
262
|
.ard-star-button:active .ard-focus-overlay {
|
|
262
263
|
opacity: var(--ard-star-button-active-overlay-opacity, 20%);
|
|
@@ -269,6 +270,15 @@
|
|
|
269
270
|
pointer-events: none;
|
|
270
271
|
opacity: var(--ard-rating-input-disabled-opacity, 50%);
|
|
271
272
|
}
|
|
273
|
+
.ard-readonly > .ard-star-button {
|
|
274
|
+
cursor: var(--ard-star-button-readonly-cursor, var(--ard-readonly-cursor, default));
|
|
275
|
+
}
|
|
276
|
+
.ard-readonly > .ard-star-button .ard-focus-overlay {
|
|
277
|
+
display: none;
|
|
278
|
+
}
|
|
279
|
+
.ard-readonly > .ard-rating-input {
|
|
280
|
+
cursor: var(--ard-rating-input-readonly-cursor, var(--ard-readonly-cursor, default));
|
|
281
|
+
}
|
|
272
282
|
}
|
|
273
283
|
|
|
274
284
|
/*# sourceMappingURL=stars.css.map */
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sourceRoot":"","sources":["../../../../projects/ui/src/themes/default/stars.scss","../../../../projects/ui/src/themes/default/_coloring.scss","../../../../projects/ui/src/themes/_variables.scss","../../../../projects/ui/src/themes/default/_mixins.scss"],"names":[],"mappings":"AAIA;EAGE;IACE;IAEA;IACA;IACA;IACA;IACA;IACA;IACA;IAEA;IACA;;
|
|
1
|
+
{"version":3,"sourceRoot":"","sources":["../../../../projects/ui/src/themes/default/stars.scss","../../../../projects/ui/src/themes/default/_coloring.scss","../../../../projects/ui/src/themes/_variables.scss","../../../../projects/ui/src/themes/default/_mixins.scss"],"names":[],"mappings":"AAIA;EAGE;IACE;IAEA;IACA;IACA;IACA;IACA;IACA;IACA;IAEA;IACA;;EAMF;AAAA;AAAA;AAAA;IAKE;;EC3BF;AAAA;AAAA;AAAA;IACE;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;;EAEF;AAAA;AAAA;AAAA;IACE;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;;EAEF;AAAA;AAAA;AAAA;IACE;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;;EAEF;AAAA;AAAA;AAAA;IACE;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;;EAEF;AAAA;AAAA;AAAA;IACE;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;;EAEF;AAAA;AAAA;AAAA;IACE;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;;EAEF;AAAA;AAAA;AAAA;IACE;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;;EAEF;AAAA;AAAA;AAAA;IACE;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;;ED7GA;AAAA;AAAA;AAAA;IACE,OEYC;;EFTL;IACE;IACA;IACA;IACA;;EAEF;AAAA;IAEE;IACA;;EAEF;IACE;;EAEA;IACE;;EAGJ;IACE;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IGxCF;;EH0CE;IACE;IACA;IACA;IACA;IACA;;EAGF;IG9DF;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IAEA;IHuDI;IACA;IACA;IACA;IACA;IACA;IACA;;EGzDJ;IACE;IAEA,YACE;;EAOF;IACE;;EHkDA;IACE;;EAIF;IACE;;EAIF;IACE;;EAIF;IACE;;EAMJ;IACE;IACA;;EAEF;IACE;IACA;;EAKF;IACE;;EAEA;IACE;;EAGJ;IACE","file":"stars.css"}
|
|
@@ -23,8 +23,9 @@
|
|
|
23
23
|
transition: opacity 0.2s ease;
|
|
24
24
|
}
|
|
25
25
|
@mixin focus-overlay-scale-addon() {
|
|
26
|
+
--_ard-focus-overlay-scale: 0.2;
|
|
26
27
|
> .ard-focus-overlay {
|
|
27
|
-
transform: scale(
|
|
28
|
+
transform: scale(var(--_ard-focus-overlay-scale));
|
|
28
29
|
|
|
29
30
|
transition:
|
|
30
31
|
opacity 0.2s ease,
|
|
@@ -32,9 +33,10 @@
|
|
|
32
33
|
}
|
|
33
34
|
|
|
34
35
|
&:hover,
|
|
35
|
-
&:focus
|
|
36
|
+
&:focus,
|
|
37
|
+
&:focus-visible {
|
|
36
38
|
> .ard-focus-overlay {
|
|
37
|
-
|
|
39
|
+
--_ard-focus-overlay-scale: 1;
|
|
38
40
|
}
|
|
39
41
|
}
|
|
40
42
|
}
|
|
@@ -16,6 +16,7 @@
|
|
|
16
16
|
--ard-checkbox-list-item-gap: 0.5rem;
|
|
17
17
|
--ard-checkbox-list-item-gap-compact: 0.325rem;
|
|
18
18
|
--ard-checkbox-list-disabled-opacity: 50%;
|
|
19
|
+
// --ard-checkbox-list-readonly-cursor: ;
|
|
19
20
|
}
|
|
20
21
|
|
|
21
22
|
.ard-checkbox-list {
|
|
@@ -108,4 +109,17 @@
|
|
|
108
109
|
}
|
|
109
110
|
}
|
|
110
111
|
}
|
|
112
|
+
.ard-disabled, .ard-readonly {
|
|
113
|
+
.ard-checkbox-list {
|
|
114
|
+
.ard-focus-overlay {
|
|
115
|
+
display: none;
|
|
116
|
+
}
|
|
117
|
+
}
|
|
118
|
+
}
|
|
119
|
+
.ard-disabled > .ard-checkbox-list {
|
|
120
|
+
pointer-events: none;
|
|
121
|
+
}
|
|
122
|
+
.ard-readonly > .ard-checkbox-list {
|
|
123
|
+
cursor: var(--ard-checkbox-list-readonly-cursor, var(--ard-readonly-cursor, default));
|
|
124
|
+
}
|
|
111
125
|
}
|
|
@@ -15,6 +15,7 @@
|
|
|
15
15
|
--ard-checkbox-indeterminate-disabled-opacity: 50%;
|
|
16
16
|
--ard-checkbox-selected-disabled-opacity: 50%;
|
|
17
17
|
// --ard-checkbox-base-color: ;
|
|
18
|
+
// --ard-checkbox-readonly-cursor: ;
|
|
18
19
|
}
|
|
19
20
|
|
|
20
21
|
.ard-checkbox {
|
|
@@ -68,7 +69,7 @@
|
|
|
68
69
|
}
|
|
69
70
|
}
|
|
70
71
|
//! disabled state
|
|
71
|
-
.ard-disabled .ard-checkbox {
|
|
72
|
+
.ard-disabled > .ard-checkbox {
|
|
72
73
|
pointer-events: none;
|
|
73
74
|
opacity: var(--ard-checkbox-unselected-disabled-opacity, 40%);
|
|
74
75
|
|
|
@@ -79,4 +80,12 @@
|
|
|
79
80
|
opacity: var(--ard-checkbox-indeterminate-disabled-opacity, 50%);
|
|
80
81
|
}
|
|
81
82
|
}
|
|
83
|
+
//! readonly state
|
|
84
|
+
.ard-readonly > .ard-checkbox {
|
|
85
|
+
cursor: var(--ard-checkbox-readonly-cursor, var(--ard-readonly-cursor, default));
|
|
86
|
+
|
|
87
|
+
.ard-focus-overlay {
|
|
88
|
+
display: none;
|
|
89
|
+
}
|
|
90
|
+
}
|
|
82
91
|
}
|
|
@@ -39,6 +39,7 @@
|
|
|
39
39
|
--ard-chip-transition: 0.15s ease;
|
|
40
40
|
--ard-chip-disabled-opacity: 60%;
|
|
41
41
|
--ard-chip-disabled-selected-opacity: 40%;
|
|
42
|
+
// --ard-chip-readonly-cursor: ;
|
|
42
43
|
}
|
|
43
44
|
|
|
44
45
|
//! general css
|
|
@@ -77,15 +78,17 @@
|
|
|
77
78
|
display: flex;
|
|
78
79
|
align-items: center;
|
|
79
80
|
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
81
|
+
:not(.ard-disabled):not(.ard-readonly) > & {
|
|
82
|
+
&:hover,
|
|
83
|
+
&:focus {
|
|
84
|
+
> .ard-focus-overlay {
|
|
85
|
+
opacity: var(--ard-chip-selectable-hover-overlay-opacity, 7.5%);
|
|
86
|
+
}
|
|
84
87
|
}
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
88
|
+
&:active {
|
|
89
|
+
> .ard-focus-overlay {
|
|
90
|
+
opacity: var(--ard-chip-selectable-active-overlay-opacity, 20%);
|
|
91
|
+
}
|
|
89
92
|
}
|
|
90
93
|
}
|
|
91
94
|
|
|
@@ -141,15 +144,17 @@
|
|
|
141
144
|
opacity: 0;
|
|
142
145
|
background: var(--ard-cmpcl--bg-colored);
|
|
143
146
|
}
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
147
|
+
:not(.ard-disabled):not(.ard-readonly) > & {
|
|
148
|
+
&:hover,
|
|
149
|
+
&:focus {
|
|
150
|
+
> .ard-focus-overlay {
|
|
151
|
+
opacity: var(--ard-chip-outlined-hover-overlay-opacity, 4%);
|
|
152
|
+
}
|
|
148
153
|
}
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
154
|
+
&:active {
|
|
155
|
+
> .ard-focus-overlay {
|
|
156
|
+
opacity: var(--ard-chip-outlined-active-overlay-opacity, 10%);
|
|
157
|
+
}
|
|
153
158
|
}
|
|
154
159
|
}
|
|
155
160
|
|
|
@@ -160,24 +165,26 @@
|
|
|
160
165
|
> .ard-focus-overlay {
|
|
161
166
|
opacity: var(--ard-chip-outlined-selected-overlay-opacity, 12%);
|
|
162
167
|
}
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
168
|
+
:not(.ard-disabled):not(.ard-readonly) > & {
|
|
169
|
+
&:hover {
|
|
170
|
+
> .ard-focus-overlay {
|
|
171
|
+
opacity: var(--ard-chip-outlined-selected-hover-overlay-opacity, 17%);
|
|
172
|
+
}
|
|
166
173
|
}
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
174
|
+
&:focus {
|
|
175
|
+
> .ard-focus-overlay {
|
|
176
|
+
opacity: var(--ard-chip-outlined-selected-focus-overlay-opacity, 0%);
|
|
177
|
+
}
|
|
171
178
|
}
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
179
|
+
&:focus-visible {
|
|
180
|
+
> .ard-focus-overlay {
|
|
181
|
+
opacity: var(--ard-chip-outlined-selected-focus-visible-overlay-opacity, 17%);
|
|
182
|
+
}
|
|
176
183
|
}
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
184
|
+
&:active {
|
|
185
|
+
> .ard-focus-overlay {
|
|
186
|
+
opacity: var(--ard-chip-outlined-selected-active-overlay-opacity, 22%);
|
|
187
|
+
}
|
|
181
188
|
}
|
|
182
189
|
}
|
|
183
190
|
}
|
|
@@ -247,14 +254,16 @@
|
|
|
247
254
|
}
|
|
248
255
|
}
|
|
249
256
|
//! disabled state
|
|
250
|
-
.ard-disabled {
|
|
251
|
-
|
|
252
|
-
|
|
253
|
-
opacity: var(--ard-chip-disabled-opacity, 60%);
|
|
257
|
+
.ard-disabled > .ard-chip-wrapper {
|
|
258
|
+
pointer-events: none;
|
|
259
|
+
opacity: var(--ard-chip-disabled-opacity, 60%);
|
|
254
260
|
|
|
255
|
-
|
|
256
|
-
|
|
257
|
-
}
|
|
261
|
+
&.ard-chip-selected {
|
|
262
|
+
opacity: var(--ard-chip-disabled-selected-opacity, 40%);
|
|
258
263
|
}
|
|
259
264
|
}
|
|
265
|
+
//! readonly state
|
|
266
|
+
.ard-readonly > .ard-chip-wrapper {
|
|
267
|
+
cursor: var(--ard-chip-readonly-cursor, var(--ard-readonly-cursor, default));
|
|
268
|
+
}
|
|
260
269
|
}
|
package/themes/default/core.scss
CHANGED
|
@@ -1,8 +1,5 @@
|
|
|
1
1
|
@use '../variables';
|
|
2
2
|
|
|
3
|
-
@import url('https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100;0,300;0,400;0,500;0,700;0,900;1,100;1,300;1,400;1,500;1,700;1,900&display=swap');
|
|
4
|
-
@import url('https://fonts.googleapis.com/css2?family=Material+Symbols+Outlined:opsz,wght,FILL,GRAD@20..48,100..700,0..1,-50..200');
|
|
5
|
-
|
|
6
3
|
@layer ard-ui {
|
|
7
4
|
:root {
|
|
8
5
|
--ard-bg: white;
|
|
@@ -39,6 +36,8 @@
|
|
|
39
36
|
--ard-font-family: 'Roboto', sans-serif;
|
|
40
37
|
--ard-font-family-mono: monospace;
|
|
41
38
|
|
|
39
|
+
--ard-readonly-cursor: default;
|
|
40
|
+
|
|
42
41
|
--ard-gold: #ffc107;
|
|
43
42
|
|
|
44
43
|
--ard-clear-button-size: 0.9rem;
|
|
@@ -22,7 +22,8 @@
|
|
|
22
22
|
$padding-left-compact,
|
|
23
23
|
$color,
|
|
24
24
|
$placeholder-color,
|
|
25
|
-
$placeholder-opacity
|
|
25
|
+
$placeholder-opacity,
|
|
26
|
+
$readonly-cursor
|
|
26
27
|
) {
|
|
27
28
|
height: $height;
|
|
28
29
|
position: relative;
|
|
@@ -87,4 +88,8 @@
|
|
|
87
88
|
padding-top: $padding-top-compact;
|
|
88
89
|
padding-bottom: $padding-bottom-compact;
|
|
89
90
|
}
|
|
91
|
+
//! readonly
|
|
92
|
+
.ard-readonly > & {
|
|
93
|
+
cursor: $readonly-cursor;
|
|
94
|
+
}
|
|
90
95
|
}
|
|
@@ -42,6 +42,7 @@
|
|
|
42
42
|
// --ard-autocomplete-input-selected-background: ;
|
|
43
43
|
--ard-autocomplete-input-selected-font-weight: 500;
|
|
44
44
|
--ard-autocomplete-input-disabled-opacity: 50%;
|
|
45
|
+
// --ard-autocomplete-input-readonly-cursor: ;
|
|
45
46
|
}
|
|
46
47
|
|
|
47
48
|
.ard-autocomplete-input {
|
|
@@ -64,7 +65,8 @@
|
|
|
64
65
|
var(--ard-autocomplete-input-padding-left-compact, var(--ard-form-field-padding-left-compact, 0.375rem)),
|
|
65
66
|
var(--ard-autocomplete-input-color, #{ARD.$text}),
|
|
66
67
|
var(--ard-autocomplete-input-placeholder-color, #{ARD.$text}),
|
|
67
|
-
var(--ard-autocomplete-input-placeholder-opacity, 60%)
|
|
68
|
+
var(--ard-autocomplete-input-placeholder-opacity, 60%),
|
|
69
|
+
var(--ard-autocomplete-input-readonly-cursor, var(--ard-readonly-cursor, default))
|
|
68
70
|
);
|
|
69
71
|
min-width: var(--ard-autocomplete-input-min-width, 10rem);
|
|
70
72
|
max-width: var(--ard-autocomplete-input-max-width, 100%);
|
|
@@ -24,6 +24,7 @@
|
|
|
24
24
|
// --ard-date-input-color: ;
|
|
25
25
|
// --ard-date-input-placeholder-color: ;
|
|
26
26
|
--ard-date-input-placeholder-opacity: 60%;
|
|
27
|
+
// --ard-date-input-readonly-cursor: ;
|
|
27
28
|
|
|
28
29
|
--ard-date-input-multipage-gap: 0;
|
|
29
30
|
}
|
|
@@ -50,7 +51,8 @@
|
|
|
50
51
|
var(--ard-date-input-padding-left-compact, var(--ard-form-field-padding-left-compact, 0.375rem)),
|
|
51
52
|
var(--ard-date-input-color, #{ARD.$text}),
|
|
52
53
|
var(--ard-date-input-placeholder-color, #{ARD.$text}),
|
|
53
|
-
var(--ard-date-input-placeholder-opacity, 60%)
|
|
54
|
+
var(--ard-date-input-placeholder-opacity, 60%),
|
|
55
|
+
var(--ard-date-input-readonly-cursor, var(--ard-readonly-cursor, default))
|
|
54
56
|
);
|
|
55
57
|
display: grid;
|
|
56
58
|
grid-template-columns: 1fr max-content;
|
|
@@ -22,6 +22,7 @@
|
|
|
22
22
|
// --ard-digit-input-error-background-color: ;
|
|
23
23
|
// --ard-digit-input-error-border-color: ;
|
|
24
24
|
--ard-digit-input-disabled-opacity: 50%;
|
|
25
|
+
// --ard-digit-input-readonly-cursor: ;
|
|
25
26
|
}
|
|
26
27
|
|
|
27
28
|
ard-digit-input {
|
|
@@ -125,4 +126,13 @@
|
|
|
125
126
|
pointer-events: none;
|
|
126
127
|
}
|
|
127
128
|
}
|
|
129
|
+
.ard-readonly {
|
|
130
|
+
> .ard-digit-input {
|
|
131
|
+
cursor: var(--ard-digit-input-readonly-cursor, var(--ard-readonly-cursor, default));
|
|
132
|
+
|
|
133
|
+
.ard-digit-input__input {
|
|
134
|
+
outline: none;
|
|
135
|
+
}
|
|
136
|
+
}
|
|
137
|
+
}
|
|
128
138
|
}
|
|
@@ -27,6 +27,7 @@
|
|
|
27
27
|
// --ard-file-input-color: ;
|
|
28
28
|
// --ard-file-input-placeholder-color: ;
|
|
29
29
|
--ard-file-input-placeholder-opacity: 60%;
|
|
30
|
+
// --ard-file-input-readonly-cursor: ;
|
|
30
31
|
|
|
31
32
|
--ard-file-input-min-width: 10rem;
|
|
32
33
|
--ard-file-input-max-width: 100%;
|
|
@@ -78,7 +79,8 @@
|
|
|
78
79
|
var(--ard-file-input-padding-left-compact, var(--ard-form-field-padding-left-compact, 0.375rem)),
|
|
79
80
|
var(--ard-file-input-color, #{ARD.$text}),
|
|
80
81
|
var(--ard-file-input-placeholder-color, #{ARD.$text}),
|
|
81
|
-
var(--ard-file-input-placeholder-opacity, 60%)
|
|
82
|
+
var(--ard-file-input-placeholder-opacity, 60%),
|
|
83
|
+
var(--ard-file-input-readonly-cursor, var(--ard-readonly-cursor, default))
|
|
82
84
|
);
|
|
83
85
|
@include CM.typeColors();
|
|
84
86
|
min-width: var(--ard-file-input-min-width, 10rem);
|
|
@@ -26,6 +26,7 @@
|
|
|
26
26
|
// --ard-hex-input-color: ;
|
|
27
27
|
// --ard-hex-input-placeholder-color: ;
|
|
28
28
|
--ard-hex-input-placeholder-opacity: 60%;
|
|
29
|
+
// --ard-hex-input-readonly-cursor: ;
|
|
29
30
|
|
|
30
31
|
--ard-hex-input-min-width: 10rem;
|
|
31
32
|
--ard-hex-input-max-width: 100%;
|
|
@@ -53,7 +54,8 @@
|
|
|
53
54
|
var(--ard-hex-input-padding-left-compact, var(--ard-form-field-padding-left-compact, 0.375rem)),
|
|
54
55
|
var(--ard-hex-input-color, #{ARD.$text}),
|
|
55
56
|
var(--ard-hex-input-placeholder-color, #{ARD.$text}),
|
|
56
|
-
var(--ard-hex-input-placeholder-opacity, 60%)
|
|
57
|
+
var(--ard-hex-input-placeholder-opacity, 60%),
|
|
58
|
+
var(--ard-hex-input-readonly-cursor, var(--ard-readonly-cursor, default))
|
|
57
59
|
);
|
|
58
60
|
min-width: var(--ard-hex-input-min-width, 10rem);
|
|
59
61
|
max-width: var(--ard-hex-input-max-width, 100%);
|
|
@@ -26,6 +26,7 @@
|
|
|
26
26
|
// --ard-input-color: ;
|
|
27
27
|
// --ard-input-placeholder-color: ;
|
|
28
28
|
--ard-input-placeholder-opacity: 60%;
|
|
29
|
+
// --ard-input-readonly-cursor: ;
|
|
29
30
|
|
|
30
31
|
--ard-input-min-width: 10rem;
|
|
31
32
|
--ard-input-max-width: 100%;
|
|
@@ -51,7 +52,8 @@
|
|
|
51
52
|
var(--ard-input-padding-left-compact, var(--ard-form-field-padding-left-compact, 0.375rem)),
|
|
52
53
|
var(--ard-input-color, #{ARD.$text}),
|
|
53
54
|
var(--ard-input-placeholder-color, #{ARD.$text}),
|
|
54
|
-
var(--ard-input-placeholder-opacity, 60%)
|
|
55
|
+
var(--ard-input-placeholder-opacity, 60%),
|
|
56
|
+
var(--ard-input-readonly-cursor, var(--ard-readonly-cursor, default))
|
|
55
57
|
);
|
|
56
58
|
min-width: var(--ard-input-min-width, 10rem);
|
|
57
59
|
max-width: var(--ard-input-max-width, 100%);
|