@ardium-ui/ui 1.0.0 → 1.0.2
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/esm2022/lib/_internal/boolean-component.mjs +1 -1
- package/esm2022/lib/_internal/clear-button/clear-button.component.mjs +1 -1
- package/esm2022/lib/_internal/clear-button/clear-button.module.mjs +1 -1
- package/esm2022/lib/_internal/disablable-component.mjs +1 -1
- package/esm2022/lib/_internal/focusable-component.mjs +1 -1
- package/esm2022/lib/_internal/item-storages/dropdown-item-storage.mjs +1 -1
- package/esm2022/lib/_internal/item-storages/simple-item-storage.mjs +1 -1
- package/esm2022/lib/_internal/item-storages/simplest-item-storage.mjs +1 -1
- package/esm2022/lib/_internal/models/pagination.model.mjs +1 -1
- package/esm2022/lib/_internal/ngmodel-component.mjs +1 -1
- package/esm2022/lib/_internal/queue.mjs +1 -1
- package/esm2022/lib/_internal/selectable-list-component.mjs +1 -1
- package/esm2022/lib/badge/badge.directive.mjs +1 -1
- package/esm2022/lib/badge/badge.module.mjs +1 -1
- package/esm2022/lib/badge/badge.types.mjs +1 -1
- package/esm2022/lib/buttons/_button-base.mjs +1 -1
- package/esm2022/lib/buttons/button/button.component.mjs +1 -1
- package/esm2022/lib/buttons/button/button.module.mjs +1 -1
- package/esm2022/lib/buttons/fab/fab.component.mjs +1 -1
- package/esm2022/lib/buttons/fab/fab.module.mjs +1 -1
- package/esm2022/lib/buttons/general-button.types.mjs +1 -1
- package/esm2022/lib/buttons/icon-button/icon-button.component.mjs +1 -1
- package/esm2022/lib/buttons/icon-button/icon-button.module.mjs +1 -1
- package/esm2022/lib/calendar/calendar.component.mjs +2 -5
- package/esm2022/lib/calendar/calendar.directives.mjs +1 -1
- package/esm2022/lib/calendar/calendar.helpers.mjs +1 -1
- package/esm2022/lib/calendar/calendar.module.mjs +1 -1
- package/esm2022/lib/calendar/calendar.types.mjs +1 -1
- package/esm2022/lib/card/card.children.mjs +1 -1
- package/esm2022/lib/card/card.component.mjs +1 -1
- package/esm2022/lib/card/card.module.mjs +1 -1
- package/esm2022/lib/card/card.types.mjs +1 -1
- package/esm2022/lib/checkbox/checkbox.component.mjs +1 -1
- package/esm2022/lib/checkbox/checkbox.module.mjs +1 -1
- package/esm2022/lib/checkbox/checkbox.types.mjs +1 -1
- package/esm2022/lib/checkbox-list/checkbox-list.component.mjs +1 -1
- package/esm2022/lib/checkbox-list/checkbox-list.module.mjs +1 -1
- package/esm2022/lib/checkbox-list/checkbox-list.types.mjs +1 -1
- package/esm2022/lib/chip/chip.component.mjs +1 -1
- package/esm2022/lib/chip/chip.module.mjs +1 -1
- package/esm2022/lib/chip/deletable-chip/deletable-chip.component.mjs +1 -1
- package/esm2022/lib/chip/selectable-chip/selectable-chip.component.mjs +1 -1
- package/esm2022/lib/color/color-display/color-display.component.mjs +1 -1
- package/esm2022/lib/color/color-display/color-display.module.mjs +1 -1
- package/esm2022/lib/color/color-display/color-display.types.mjs +1 -1
- package/esm2022/lib/color/color-picker/color-picker.component.mjs +1 -1
- package/esm2022/lib/color/color-picker/color-picker.directives.mjs +1 -1
- package/esm2022/lib/color/color-picker/color-picker.module.mjs +1 -1
- package/esm2022/lib/color/color-picker/color-picker.types.mjs +1 -1
- package/esm2022/lib/dialog/dialog.component.mjs +1 -1
- package/esm2022/lib/dialog/dialog.directives.mjs +1 -1
- package/esm2022/lib/dialog/dialog.module.mjs +1 -1
- package/esm2022/lib/dialog/dialog.types.mjs +1 -1
- package/esm2022/lib/divider/divider.component.mjs +1 -1
- package/esm2022/lib/divider/divider.module.mjs +1 -1
- package/esm2022/lib/dropdown-panel/dropdown-panel.component.mjs +1 -1
- package/esm2022/lib/dropdown-panel/dropdown-panel.module.mjs +1 -1
- package/esm2022/lib/dropdown-panel/dropdown-panel.types.mjs +1 -1
- package/esm2022/lib/file-inputs/file-drop-area/file-drop-area.component.mjs +1 -1
- package/esm2022/lib/file-inputs/file-drop-area/file-drop-area.directives.mjs +1 -1
- package/esm2022/lib/file-inputs/file-drop-area/file-drop-area.module.mjs +1 -1
- package/esm2022/lib/file-inputs/file-input/file-input.component.mjs +1 -1
- package/esm2022/lib/file-inputs/file-input/file-input.directives.mjs +1 -1
- package/esm2022/lib/file-inputs/file-input/file-input.module.mjs +1 -1
- package/esm2022/lib/file-inputs/file-input-base.mjs +1 -1
- package/esm2022/lib/file-inputs/file-input-types.mjs +1 -1
- package/esm2022/lib/form-field-frame/form-field-frame.component.mjs +1 -1
- package/esm2022/lib/form-field-frame/form-field-frame.directives.mjs +1 -1
- package/esm2022/lib/form-field-frame/form-field-frame.module.mjs +1 -1
- package/esm2022/lib/icon/icon.component.mjs +1 -1
- package/esm2022/lib/icon/icon.module.mjs +1 -1
- package/esm2022/lib/icon/icon.pipe.mjs +1 -1
- package/esm2022/lib/inputs/color-input/color-input.component.mjs +1 -1
- package/esm2022/lib/inputs/color-input/color-input.directives.mjs +1 -1
- package/esm2022/lib/inputs/color-input/color-input.module.mjs +1 -1
- package/esm2022/lib/inputs/color-input/color-input.types.mjs +1 -1
- package/esm2022/lib/inputs/digit-input/digit-input.component.mjs +1 -1
- package/esm2022/lib/inputs/digit-input/digit-input.model.mjs +1 -1
- package/esm2022/lib/inputs/digit-input/digit-input.module.mjs +1 -1
- package/esm2022/lib/inputs/digit-input/digit-input.types.mjs +1 -1
- package/esm2022/lib/inputs/digit-input/digit-input.utils.mjs +1 -1
- package/esm2022/lib/inputs/hex-input/hex-input.component.mjs +2 -3
- package/esm2022/lib/inputs/hex-input/hex-input.directives.mjs +1 -1
- package/esm2022/lib/inputs/hex-input/hex-input.module.mjs +1 -1
- package/esm2022/lib/inputs/hex-input.model.mjs +1 -1
- package/esm2022/lib/inputs/input/input.component.mjs +1 -1
- package/esm2022/lib/inputs/input/input.directives.mjs +1 -1
- package/esm2022/lib/inputs/input/input.module.mjs +1 -1
- package/esm2022/lib/inputs/input-transformers.mjs +1 -1
- package/esm2022/lib/inputs/input-types.mjs +1 -1
- package/esm2022/lib/inputs/input-utils.mjs +1 -1
- package/esm2022/lib/inputs/number-input/number-input.component.mjs +2 -3
- package/esm2022/lib/inputs/number-input/number-input.directives.mjs +1 -1
- package/esm2022/lib/inputs/number-input/number-input.module.mjs +1 -1
- package/esm2022/lib/inputs/password-input/password-input.component.mjs +2 -3
- package/esm2022/lib/inputs/password-input/password-input.directives.mjs +1 -1
- package/esm2022/lib/inputs/password-input/password-input.module.mjs +1 -1
- package/esm2022/lib/inputs/password-input/password-input.types.mjs +1 -1
- package/esm2022/lib/inputs/simple-input/simple-input.component.mjs +2 -3
- package/esm2022/lib/inputs/simple-input/simple-input.directives.mjs +1 -1
- package/esm2022/lib/inputs/simple-input/simple-input.module.mjs +1 -1
- package/esm2022/lib/kbd/kbd.component.mjs +1 -1
- package/esm2022/lib/kbd/kbd.module.mjs +1 -1
- package/esm2022/lib/kbd/kbd.pipe.mjs +1 -1
- package/esm2022/lib/kbd-shortcut/kbd-shortcut.component.mjs +1 -1
- package/esm2022/lib/kbd-shortcut/kbd-shortcut.module.mjs +1 -1
- package/esm2022/lib/modal/modal.component.mjs +1 -1
- package/esm2022/lib/modal/modal.module.mjs +1 -1
- package/esm2022/lib/option/option.component.mjs +1 -1
- package/esm2022/lib/option/option.module.mjs +1 -1
- package/esm2022/lib/progress-bar/progress-bar.component.mjs +1 -1
- package/esm2022/lib/progress-bar/progress-bar.directive.mjs +1 -1
- package/esm2022/lib/progress-bar/progress-bar.module.mjs +1 -1
- package/esm2022/lib/progress-bar/progress-bar.types.mjs +1 -1
- package/esm2022/lib/progress-circle/progress-circle.component.mjs +1 -1
- package/esm2022/lib/progress-circle/progress-circle.directive.mjs +1 -1
- package/esm2022/lib/progress-circle/progress-circle.module.mjs +1 -1
- package/esm2022/lib/progress-circle/progress-circle.types.mjs +1 -1
- package/esm2022/lib/radio/radio/radio.component.mjs +1 -1
- package/esm2022/lib/radio/radio-group.component.mjs +1 -1
- package/esm2022/lib/radio/radio.module.mjs +1 -1
- package/esm2022/lib/search-functions.mjs +1 -1
- package/esm2022/lib/segment/segment.component.mjs +1 -1
- package/esm2022/lib/segment/segment.directives.mjs +1 -1
- package/esm2022/lib/segment/segment.module.mjs +1 -1
- package/esm2022/lib/segment/segment.types.mjs +1 -1
- package/esm2022/lib/select/select.component.mjs +2 -4
- package/esm2022/lib/select/select.directive.mjs +1 -1
- package/esm2022/lib/select/select.module.mjs +1 -1
- package/esm2022/lib/select/select.types.mjs +1 -1
- package/esm2022/lib/slide-toggle/slide-toggle.component.mjs +1 -1
- package/esm2022/lib/slide-toggle/slide-toggle.module.mjs +1 -1
- package/esm2022/lib/slider/abstract-slider.mjs +1 -1
- package/esm2022/lib/slider/range-slider/range-slider.component.mjs +1 -1
- package/esm2022/lib/slider/range-slider/range-slider.module.mjs +1 -1
- package/esm2022/lib/slider/slider.component.mjs +1 -1
- package/esm2022/lib/slider/slider.directive.mjs +1 -1
- package/esm2022/lib/slider/slider.module.mjs +1 -1
- package/esm2022/lib/slider/slider.types.mjs +1 -1
- package/esm2022/lib/snackbar/snackbar-ref.mjs +1 -1
- package/esm2022/lib/snackbar/snackbar.component.mjs +1 -1
- package/esm2022/lib/snackbar/snackbar.service.mjs +1 -1
- package/esm2022/lib/snackbar/snackbar.token.mjs +1 -1
- package/esm2022/lib/snackbar/snackbar.types.mjs +1 -1
- package/esm2022/lib/spinner/spinner.component.mjs +1 -1
- package/esm2022/lib/spinner/spinner.module.mjs +1 -1
- package/esm2022/lib/star/star-button/star-button.component.mjs +1 -1
- package/esm2022/lib/star/star-button/star-button.module.mjs +1 -1
- package/esm2022/lib/star/star-display/star-display.component.mjs +1 -1
- package/esm2022/lib/star/star-display/star-display.module.mjs +1 -1
- package/esm2022/lib/star/star-input/star-input.component.mjs +1 -1
- package/esm2022/lib/star/star-input/star-input.module.mjs +1 -1
- package/esm2022/lib/star/star.component.mjs +1 -1
- package/esm2022/lib/star/star.module.mjs +1 -1
- package/esm2022/lib/star/star.types.mjs +1 -1
- package/esm2022/lib/statebox/statebox.component.mjs +1 -1
- package/esm2022/lib/statebox/statebox.module.mjs +1 -1
- package/esm2022/lib/statebox/statebox.types.mjs +1 -1
- package/esm2022/lib/table/table-item-storage.mjs +1 -1
- package/esm2022/lib/table/table.component.mjs +2 -2
- package/esm2022/lib/table/table.directives.mjs +1 -1
- package/esm2022/lib/table/table.module.mjs +1 -1
- package/esm2022/lib/table/table.types.mjs +1 -1
- package/esm2022/lib/table/utils.mjs +1 -1
- package/esm2022/lib/table-from-csv/table-from-csv.component.mjs +1 -1
- package/esm2022/lib/table-from-csv/table-from-csv.module.mjs +1 -1
- package/esm2022/lib/table-pagination/table-pagination.component.mjs +1 -1
- package/esm2022/lib/table-pagination/table-pagination.module.mjs +1 -1
- package/esm2022/lib/table-pagination/table-pagination.types.mjs +1 -1
- package/esm2022/lib/types/alignment.types.mjs +1 -1
- package/esm2022/lib/types/colors.types.mjs +1 -1
- package/esm2022/lib/types/item-storage.types.mjs +1 -1
- package/esm2022/lib/types/theming.types.mjs +1 -1
- package/esm2022/lib/types/utility.types.mjs +1 -1
- package/fesm2022/ardium-ui-ui.mjs +7 -16
- package/fesm2022/ardium-ui-ui.mjs.map +1 -1
- package/lib/color/color-picker/color-picker.component.d.ts +12 -12
- package/lib/inputs/color-input/color-input.component.d.ts +24 -24
- package/package.json +6 -2
- package/prebuilt-themes/default/badge.css.map +1 -1
- package/prebuilt-themes/default/buttons/button.css.map +1 -1
- package/prebuilt-themes/default/buttons/fab.css.map +1 -1
- package/prebuilt-themes/default/buttons/icon-button.css.map +1 -1
- package/prebuilt-themes/default/calendar.css.map +1 -1
- package/prebuilt-themes/default/card.css.map +1 -1
- package/prebuilt-themes/default/checkbox-list.css.map +1 -1
- package/prebuilt-themes/default/checkbox.css.map +1 -1
- package/prebuilt-themes/default/chips.css.map +1 -1
- package/prebuilt-themes/default/color-display.css.map +1 -1
- package/prebuilt-themes/default/color-picker.css.map +1 -1
- package/prebuilt-themes/default/core.css.map +1 -1
- package/prebuilt-themes/default/dialog.css.map +1 -1
- package/prebuilt-themes/default/divider.css.map +1 -1
- package/prebuilt-themes/default/dropdown-panel.css.map +1 -1
- package/prebuilt-themes/default/file-drop-area.css.map +1 -1
- package/prebuilt-themes/default/form-field-frame.css.map +1 -1
- package/prebuilt-themes/default/inputs/color-input.css.map +1 -1
- package/prebuilt-themes/default/inputs/digit-input.css.map +1 -1
- package/prebuilt-themes/default/inputs/file-input.css.map +1 -1
- package/prebuilt-themes/default/inputs/hex-input.css.map +1 -1
- package/prebuilt-themes/default/inputs/input.css.map +1 -1
- package/prebuilt-themes/default/inputs/number-input.css.map +1 -1
- package/prebuilt-themes/default/inputs/password-input.css.map +1 -1
- package/prebuilt-themes/default/inputs/search-bar.css.map +1 -1
- package/prebuilt-themes/default/inputs/simple-input.css.map +1 -1
- package/prebuilt-themes/default/kbd-shortcut.css.map +1 -1
- package/prebuilt-themes/default/kbd.css.map +1 -1
- package/prebuilt-themes/default/modal.css.map +1 -1
- package/prebuilt-themes/default/progress-bar.css.map +1 -1
- package/prebuilt-themes/default/progress-circle.css.map +1 -1
- package/prebuilt-themes/default/radio.css.map +1 -1
- package/prebuilt-themes/default/segment.css.map +1 -1
- package/prebuilt-themes/default/select.css.map +1 -1
- package/prebuilt-themes/default/slide-toggle.css.map +1 -1
- package/prebuilt-themes/default/slider.css.map +1 -1
- package/prebuilt-themes/default/snackbar.css.map +1 -1
- package/prebuilt-themes/default/spinner.css.map +1 -1
- package/prebuilt-themes/default/stars.css.map +1 -1
- package/prebuilt-themes/default/statebox.css.map +1 -1
- package/prebuilt-themes/default/table-pagination.css.map +1 -1
- package/prebuilt-themes/default/table.css.map +1 -1
- package/themes/default/_clear-button.scss +59 -59
- package/themes/default/_coloring.scss +133 -133
- package/themes/default/_dropdown-arrow.scss +8 -8
- package/themes/default/_mixins.scss +50 -50
- package/themes/default/badge.scss +79 -79
- package/themes/default/buttons/_button-mixins.scss +112 -112
- package/themes/default/buttons/button.scss +47 -47
- package/themes/default/buttons/fab.scss +53 -53
- package/themes/default/buttons/icon-button.scss +40 -40
- package/themes/default/calendar.scss +154 -154
- package/themes/default/card.scss +90 -90
- package/themes/default/checkbox-list.scss +67 -67
- package/themes/default/checkbox.scss +87 -87
- package/themes/default/chips.scss +167 -167
- package/themes/default/color-display.scss +29 -29
- package/themes/default/color-picker.scss +97 -97
- package/themes/default/core.scss +75 -75
- package/themes/default/dialog.scss +8 -8
- package/themes/default/divider.scss +7 -7
- package/themes/default/dropdown-panel.scss +33 -33
- package/themes/default/file-drop-area.scss +139 -139
- package/themes/default/form-field-frame.scss +59 -59
- package/themes/default/inputs/_shared.scss +34 -34
- package/themes/default/inputs/color-input.scss +30 -30
- package/themes/default/inputs/digit-input.scss +37 -37
- package/themes/default/inputs/file-input.scss +62 -62
- package/themes/default/inputs/hex-input.scss +16 -16
- package/themes/default/inputs/input.scss +34 -34
- package/themes/default/inputs/number-input.scss +95 -95
- package/themes/default/inputs/password-input.scss +31 -31
- package/themes/default/inputs/search-bar.scss +9 -9
- package/themes/default/inputs/simple-input.scss +9 -9
- package/themes/default/kbd-shortcut.scss +8 -8
- package/themes/default/kbd.scss +15 -15
- package/themes/default/modal.scss +75 -75
- package/themes/default/progress-bar.scss +140 -140
- package/themes/default/progress-circle.scss +43 -43
- package/themes/default/radio.scss +87 -87
- package/themes/default/segment.scss +283 -283
- package/themes/default/select.scss +226 -226
- package/themes/default/slide-toggle.scss +121 -121
- package/themes/default/slider.scss +206 -206
- package/themes/default/snackbar.scss +40 -40
- package/themes/default/spinner.scss +12 -12
- package/themes/default/stars.scss +93 -93
- package/themes/default/statebox.scss +91 -91
- package/themes/default/table-pagination.scss +44 -44
- package/themes/default/table.scss +345 -345
|
@@ -2,165 +2,165 @@
|
|
|
2
2
|
@import '../variables';
|
|
3
3
|
|
|
4
4
|
.ard-progress-bar {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
5
|
+
@include CM.typeColors();
|
|
6
|
+
width: 100%;
|
|
7
|
+
margin: 0.5rem 0;
|
|
8
|
+
overflow: hidden;
|
|
9
9
|
|
|
10
|
-
|
|
10
|
+
.ard-progress-bar__background,
|
|
11
|
+
.ard-progress-bar__overlay {
|
|
12
|
+
position: absolute;
|
|
13
|
+
background-color: var(--ard-cmpcl--bg-colored);
|
|
14
|
+
top: 0;
|
|
15
|
+
bottom: 0;
|
|
16
|
+
left: 0;
|
|
17
|
+
}
|
|
18
|
+
.ard-progress-bar__background {
|
|
19
|
+
background-color: var(--ard-cmpcl--bg-colored-light);
|
|
20
|
+
top: 0;
|
|
21
|
+
bottom: 0;
|
|
22
|
+
left: 0;
|
|
23
|
+
right: 0;
|
|
24
|
+
opacity: 30%;
|
|
25
|
+
}
|
|
26
|
+
.ard-progress-bar__overlay {
|
|
27
|
+
width: var(--ard-_progress-bar-main, 0);
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
//! variants
|
|
31
|
+
&.ard-variant-sharp {
|
|
32
|
+
border-radius: 0;
|
|
33
|
+
}
|
|
34
|
+
&.ard-variant-pill {
|
|
35
|
+
border-radius: 9999px;
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
//! sizes
|
|
39
|
+
&.ard-progress-bar__size-default {
|
|
40
|
+
height: 0.25rem;
|
|
41
|
+
}
|
|
42
|
+
&.ard-progress-bar__size-auto:not(.ard-progress-bar__mode-buffer) {
|
|
43
|
+
height: 100%;
|
|
44
|
+
}
|
|
45
|
+
|
|
46
|
+
//! modes
|
|
47
|
+
&.ard-progress-bar__mode-determinate,
|
|
48
|
+
&.ard-progress-bar__mode-buffer {
|
|
49
|
+
.ard-progress-bar__overlay {
|
|
50
|
+
transition: width 0.1s $timing-fn;
|
|
51
|
+
}
|
|
52
|
+
}
|
|
53
|
+
&.ard-progress-bar__mode-indeterminate,
|
|
54
|
+
&.ard-progress-bar__mode-query {
|
|
11
55
|
.ard-progress-bar__overlay {
|
|
56
|
+
position: unset;
|
|
57
|
+
|
|
58
|
+
&::before,
|
|
59
|
+
&::after {
|
|
60
|
+
content: '';
|
|
12
61
|
position: absolute;
|
|
13
|
-
background-color:
|
|
62
|
+
background-color: inherit;
|
|
14
63
|
top: 0;
|
|
15
|
-
bottom: 0;
|
|
16
64
|
left: 0;
|
|
17
|
-
|
|
65
|
+
bottom: 0;
|
|
66
|
+
}
|
|
67
|
+
&::before {
|
|
68
|
+
animation: indeterminate 2.1s cubic-bezier(0.65, 0.815, 0.735, 0.395) infinite;
|
|
69
|
+
}
|
|
70
|
+
&::after {
|
|
71
|
+
animation: indeterminate-short 2.1s cubic-bezier(0.165, 0.84, 0.44, 1) infinite;
|
|
72
|
+
animation-delay: 1.15s;
|
|
73
|
+
}
|
|
74
|
+
}
|
|
75
|
+
}
|
|
76
|
+
&.ard-progress-bar__mode-query {
|
|
77
|
+
transform: rotate(180deg);
|
|
78
|
+
}
|
|
79
|
+
&.ard-progress-bar__mode-buffer {
|
|
18
80
|
.ard-progress-bar__background {
|
|
19
|
-
|
|
81
|
+
background: none !important;
|
|
82
|
+
left: var(--ard-_progress-bar-buffer, 100%);
|
|
83
|
+
overflow: hidden;
|
|
84
|
+
|
|
85
|
+
&::after {
|
|
86
|
+
content: '';
|
|
87
|
+
position: absolute;
|
|
88
|
+
right: -0.5rem;
|
|
20
89
|
top: 0;
|
|
21
90
|
bottom: 0;
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
91
|
+
width: 9999px;
|
|
92
|
+
animation: buffer 0.4s linear infinite;
|
|
93
|
+
border-bottom: 0.25rem dotted var(--ard-cmpcl--bg-colored);
|
|
94
|
+
}
|
|
95
|
+
}
|
|
96
|
+
.ard-progress-bar__overlay-buffer {
|
|
97
|
+
background: var(--ard-cmpcl--bg-colored-light);
|
|
98
|
+
position: absolute;
|
|
99
|
+
left: 0;
|
|
100
|
+
width: var(--ard-_progress-bar-buffer, 0);
|
|
101
|
+
top: 0;
|
|
102
|
+
bottom: 0;
|
|
103
|
+
transition: width 0.1s $timing-fn;
|
|
104
|
+
}
|
|
105
|
+
}
|
|
29
106
|
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
}
|
|
107
|
+
//! hiding the value
|
|
108
|
+
&.ard-progress-bar__size-default,
|
|
109
|
+
&.ard-progress-bar__hide-value,
|
|
110
|
+
&.ard-progress-bar__mode-buffer {
|
|
111
|
+
> .ard-progress-bar__value {
|
|
112
|
+
display: none;
|
|
113
|
+
}
|
|
114
|
+
}
|
|
37
115
|
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
height: 100%;
|
|
44
|
-
}
|
|
45
|
-
|
|
46
|
-
//! modes
|
|
47
|
-
&.ard-progress-bar__mode-determinate,
|
|
48
|
-
&.ard-progress-bar__mode-buffer {
|
|
49
|
-
.ard-progress-bar__overlay {
|
|
50
|
-
transition: width 0.1s $timing-fn;
|
|
51
|
-
}
|
|
52
|
-
}
|
|
53
|
-
&.ard-progress-bar__mode-indeterminate,
|
|
54
|
-
&.ard-progress-bar__mode-query {
|
|
55
|
-
.ard-progress-bar__overlay {
|
|
56
|
-
position: unset;
|
|
57
|
-
|
|
58
|
-
&::before,
|
|
59
|
-
&::after {
|
|
60
|
-
content: '';
|
|
61
|
-
position: absolute;
|
|
62
|
-
background-color: inherit;
|
|
63
|
-
top: 0;
|
|
64
|
-
left: 0;
|
|
65
|
-
bottom: 0;
|
|
66
|
-
}
|
|
67
|
-
&::before {
|
|
68
|
-
animation: indeterminate 2.1s cubic-bezier(0.65, 0.815, 0.735, 0.395) infinite;
|
|
69
|
-
}
|
|
70
|
-
&::after {
|
|
71
|
-
animation: indeterminate-short 2.1s cubic-bezier(0.165, 0.84, 0.44, 1) infinite;
|
|
72
|
-
animation-delay: 1.15s;
|
|
73
|
-
}
|
|
74
|
-
}
|
|
75
|
-
}
|
|
76
|
-
&.ard-progress-bar__mode-query {
|
|
77
|
-
transform: rotate(180deg);
|
|
78
|
-
}
|
|
79
|
-
&.ard-progress-bar__mode-buffer {
|
|
80
|
-
.ard-progress-bar__background {
|
|
81
|
-
background: none !important;
|
|
82
|
-
left: var(--ard-_progress-bar-buffer, 100%);
|
|
83
|
-
overflow: hidden;
|
|
84
|
-
|
|
85
|
-
&::after {
|
|
86
|
-
content: '';
|
|
87
|
-
position: absolute;
|
|
88
|
-
right: -0.5rem;
|
|
89
|
-
top: 0;
|
|
90
|
-
bottom: 0;
|
|
91
|
-
width: 9999px;
|
|
92
|
-
animation: buffer 0.4s linear infinite;
|
|
93
|
-
border-bottom: 0.25rem dotted var(--ard-cmpcl--bg-colored);
|
|
94
|
-
}
|
|
95
|
-
}
|
|
96
|
-
.ard-progress-bar__overlay-buffer {
|
|
97
|
-
background: var(--ard-cmpcl--bg-colored-light);
|
|
98
|
-
position: absolute;
|
|
99
|
-
left: 0;
|
|
100
|
-
width: var(--ard-_progress-bar-buffer, 0);
|
|
101
|
-
top: 0;
|
|
102
|
-
bottom: 0;
|
|
103
|
-
transition: width 0.1s $timing-fn;
|
|
104
|
-
}
|
|
105
|
-
}
|
|
106
|
-
|
|
107
|
-
//! hiding the value
|
|
108
|
-
&.ard-progress-bar__size-default,
|
|
109
|
-
&.ard-progress-bar__hide-value,
|
|
110
|
-
&.ard-progress-bar__mode-buffer {
|
|
111
|
-
> .ard-progress-bar__value {
|
|
112
|
-
display: none;
|
|
113
|
-
}
|
|
116
|
+
//! currentColor special case
|
|
117
|
+
&.ard-color-currentColor {
|
|
118
|
+
.ard-progress-bar__background {
|
|
119
|
+
opacity: 22.5%;
|
|
120
|
+
background: var(--ard-cmpcl--bg-colored);
|
|
114
121
|
}
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
.ard-progress-bar__background {
|
|
119
|
-
opacity: 22.5%;
|
|
120
|
-
background: var(--ard-cmpcl--bg-colored);
|
|
121
|
-
}
|
|
122
|
-
.ard-progress-bar__overlay-buffer {
|
|
123
|
-
opacity: 30%;
|
|
124
|
-
background: var(--ard-cmpcl--bg-colored);
|
|
125
|
-
}
|
|
122
|
+
.ard-progress-bar__overlay-buffer {
|
|
123
|
+
opacity: 30%;
|
|
124
|
+
background: var(--ard-cmpcl--bg-colored);
|
|
126
125
|
}
|
|
126
|
+
}
|
|
127
127
|
}
|
|
128
128
|
|
|
129
129
|
@keyframes indeterminate {
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
130
|
+
0% {
|
|
131
|
+
left: -35%;
|
|
132
|
+
right: 100%;
|
|
133
|
+
}
|
|
134
|
+
60% {
|
|
135
|
+
left: 100%;
|
|
136
|
+
right: -90%;
|
|
137
|
+
}
|
|
138
|
+
100% {
|
|
139
|
+
left: 100%;
|
|
140
|
+
right: -90%;
|
|
141
|
+
}
|
|
142
142
|
}
|
|
143
143
|
|
|
144
144
|
@keyframes indeterminate-short {
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
145
|
+
0% {
|
|
146
|
+
left: -200%;
|
|
147
|
+
right: 100%;
|
|
148
|
+
}
|
|
149
|
+
60% {
|
|
150
|
+
left: 107%;
|
|
151
|
+
right: -8%;
|
|
152
|
+
}
|
|
153
|
+
100% {
|
|
154
|
+
left: 107%;
|
|
155
|
+
right: -8%;
|
|
156
|
+
}
|
|
157
157
|
}
|
|
158
158
|
|
|
159
159
|
@keyframes buffer {
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
160
|
+
0% {
|
|
161
|
+
transform: translateX(0);
|
|
162
|
+
}
|
|
163
|
+
100% {
|
|
164
|
+
transform: translateX(-0.5rem);
|
|
165
|
+
}
|
|
166
166
|
}
|
|
@@ -2,55 +2,55 @@
|
|
|
2
2
|
@import '../variables';
|
|
3
3
|
|
|
4
4
|
.ard-progress-circle {
|
|
5
|
-
|
|
6
|
-
|
|
5
|
+
@include coloringMixins.typeColors;
|
|
6
|
+
width: 3em;
|
|
7
7
|
|
|
8
|
-
|
|
8
|
+
--ard-_progress-circle-fill-color: var(--ard-cmpcl--bg-colored);
|
|
9
9
|
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
}
|
|
10
|
+
//! appearances
|
|
11
|
+
&.ard-appearance-transparent {
|
|
12
|
+
.ard-progress-circle-background {
|
|
13
|
+
background: transparent;
|
|
15
14
|
}
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
15
|
+
}
|
|
16
|
+
&.ard-appearance-colorless {
|
|
17
|
+
.ard-progress-circle-background {
|
|
18
|
+
background: $darken-overlay-medium;
|
|
20
19
|
}
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
//special case for no coloring
|
|
27
|
-
&.ard-color-none {
|
|
28
|
-
.ard-progress-circle-background {
|
|
29
|
-
opacity: 8%;
|
|
30
|
-
}
|
|
31
|
-
}
|
|
20
|
+
}
|
|
21
|
+
&.ard-appearance-colored {
|
|
22
|
+
.ard-progress-circle-background {
|
|
23
|
+
opacity: 16%;
|
|
24
|
+
background: var(--ard-cmpcl--bg-colored);
|
|
32
25
|
}
|
|
33
|
-
|
|
34
|
-
&.ard-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
//don't know why this value specifically looks good
|
|
39
|
-
mask: radial-gradient(transparent 59%, #000 59%);
|
|
40
|
-
}
|
|
26
|
+
//special case for no coloring
|
|
27
|
+
&.ard-color-none {
|
|
28
|
+
.ard-progress-circle-background {
|
|
29
|
+
opacity: 8%;
|
|
30
|
+
}
|
|
41
31
|
}
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
32
|
+
}
|
|
33
|
+
//! ring variant
|
|
34
|
+
&.ard-progress-circle-variant-ring {
|
|
35
|
+
.ard-progress-circle-background,
|
|
36
|
+
.ard-progress-circle-overlay {
|
|
37
|
+
//magic number
|
|
38
|
+
//don't know why this value specifically looks good
|
|
39
|
+
mask: radial-gradient(transparent 59%, #000 59%);
|
|
50
40
|
}
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
41
|
+
}
|
|
42
|
+
//! value
|
|
43
|
+
.ard-progress-circle-value {
|
|
44
|
+
position: absolute;
|
|
45
|
+
left: 50%;
|
|
46
|
+
top: 50%;
|
|
47
|
+
transform: translate(-50%, -50%);
|
|
48
|
+
font-weight: bold;
|
|
49
|
+
font-size: 0.9em;
|
|
50
|
+
}
|
|
51
|
+
&.ard-progress-circle-variant-full {
|
|
52
|
+
.ard-progress-circle-value {
|
|
53
|
+
display: none;
|
|
55
54
|
}
|
|
55
|
+
}
|
|
56
56
|
}
|
|
@@ -3,110 +3,110 @@
|
|
|
3
3
|
@import '../variables';
|
|
4
4
|
|
|
5
5
|
ard-radio-group {
|
|
6
|
-
|
|
7
|
-
|
|
6
|
+
display: flex;
|
|
7
|
+
gap: 0.5rem 1rem;
|
|
8
8
|
}
|
|
9
9
|
|
|
10
10
|
ard-radio {
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
11
|
+
display: inline-block;
|
|
12
|
+
width: max-content;
|
|
13
|
+
max-width: 100%;
|
|
14
14
|
}
|
|
15
15
|
|
|
16
16
|
.ard-radio {
|
|
17
|
-
|
|
17
|
+
@include CM.typeColors();
|
|
18
18
|
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
19
|
+
outline: none;
|
|
20
|
+
font-size: 1em;
|
|
21
|
+
display: flex;
|
|
22
|
+
gap: 0.375em;
|
|
23
|
+
padding: 0;
|
|
24
|
+
width: 100%;
|
|
25
25
|
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
26
|
+
> .ard-radio-circles {
|
|
27
|
+
position: relative;
|
|
28
|
+
width: 1.25em;
|
|
29
|
+
height: 1.25em;
|
|
30
30
|
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
31
|
+
> .ard-radio-outer-circle {
|
|
32
|
+
position: absolute;
|
|
33
|
+
left: 0;
|
|
34
|
+
right: 0;
|
|
35
|
+
top: 0;
|
|
36
|
+
bottom: 0;
|
|
37
|
+
border: 2px solid $detail;
|
|
38
|
+
border-radius: 9999px;
|
|
39
|
+
transition: border-color 0.2s $timing-fn;
|
|
40
|
+
}
|
|
41
|
+
> .ard-radio-inner-circle {
|
|
42
|
+
position: absolute;
|
|
43
|
+
left: 25%;
|
|
44
|
+
right: 25%;
|
|
45
|
+
top: 25%;
|
|
46
|
+
bottom: 25%;
|
|
47
|
+
background: var(--ard-cmpcl--bg-colored);
|
|
48
|
+
border-radius: 9999px;
|
|
49
|
+
transform: scale(0);
|
|
50
|
+
transition: transform 0.2s $timing-fn;
|
|
51
|
+
}
|
|
52
|
+
> .ard-focus-overlay {
|
|
53
|
+
@include GM.focus-overlay(0.375em);
|
|
54
|
+
border-radius: 9999px;
|
|
55
|
+
background-color: $overlay;
|
|
56
56
|
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
57
|
+
transition:
|
|
58
|
+
opacity 0.2s ease,
|
|
59
|
+
background-color 0.2s ease;
|
|
60
|
+
}
|
|
61
|
+
> .ard-hitbox {
|
|
62
|
+
position: absolute;
|
|
63
|
+
top: -0.375em;
|
|
64
|
+
bottom: -0.375em;
|
|
65
|
+
left: -0.375em;
|
|
66
|
+
right: -0.375em;
|
|
67
|
+
cursor: pointer;
|
|
68
|
+
}
|
|
69
69
|
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
}
|
|
70
|
+
&:hover {
|
|
71
|
+
> .ard-focus-overlay {
|
|
72
|
+
opacity: 7.5%;
|
|
73
|
+
}
|
|
75
74
|
}
|
|
75
|
+
}
|
|
76
76
|
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
}
|
|
77
|
+
&.ard-radio-selected {
|
|
78
|
+
> .ard-radio-circles {
|
|
79
|
+
> .ard-radio-outer-circle {
|
|
80
|
+
border-color: var(--ard-cmpcl--bg-colored);
|
|
81
|
+
}
|
|
82
|
+
> .ard-radio-inner-circle {
|
|
83
|
+
transform: scale(1);
|
|
84
|
+
}
|
|
85
|
+
> .ard-focus-overlay {
|
|
86
|
+
background-color: var(--ard-cmpcl--bg-colored);
|
|
87
|
+
}
|
|
89
88
|
}
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
89
|
+
}
|
|
90
|
+
&:focus {
|
|
91
|
+
> .ard-radio-circles {
|
|
92
|
+
> .ard-focus-overlay {
|
|
93
|
+
opacity: 15%;
|
|
94
|
+
}
|
|
96
95
|
}
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
96
|
+
}
|
|
97
|
+
&:active {
|
|
98
|
+
> .ard-radio-circles {
|
|
99
|
+
> .ard-focus-overlay {
|
|
100
|
+
opacity: 25%;
|
|
101
|
+
}
|
|
103
102
|
}
|
|
103
|
+
}
|
|
104
104
|
}
|
|
105
105
|
|
|
106
106
|
.ard-disabled {
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
107
|
+
.ard-radio {
|
|
108
|
+
pointer-events: none;
|
|
109
|
+
opacity: 50%;
|
|
110
|
+
user-select: none;
|
|
111
|
+
}
|
|
112
112
|
}
|