@ardium-ui/ui 1.0.0 → 1.0.1
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 +4 -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
|
@@ -3,119 +3,119 @@
|
|
|
3
3
|
@import '../../variables';
|
|
4
4
|
|
|
5
5
|
.ard-number-input {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
6
|
+
@include inputMixin.genericInput();
|
|
7
|
+
@include defaultMixins.formAppearances();
|
|
8
|
+
gap: 0;
|
|
9
|
+
width: 100%;
|
|
10
10
|
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
11
|
+
.ard-input-container {
|
|
12
|
+
height: 100%;
|
|
13
|
+
max-width: 100%;
|
|
14
14
|
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
}
|
|
15
|
+
& > input {
|
|
16
|
+
width: 100%;
|
|
18
17
|
}
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
&.decrement {
|
|
37
|
-
left: 1px;
|
|
38
|
-
|
|
39
|
-
.ard-button {
|
|
40
|
-
border-top-right-radius: 0;
|
|
41
|
-
border-bottom-right-radius: 0;
|
|
42
|
-
}
|
|
43
|
-
}
|
|
44
|
-
&.increment {
|
|
45
|
-
right: 1px;
|
|
46
|
-
|
|
47
|
-
.ard-button {
|
|
48
|
-
border-top-left-radius: 0;
|
|
49
|
-
border-bottom-left-radius: 0;
|
|
50
|
-
}
|
|
51
|
-
}
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
.ard-quick-change-button {
|
|
21
|
+
position: relative;
|
|
22
|
+
|
|
23
|
+
.ard-button {
|
|
24
|
+
height: 100%;
|
|
25
|
+
aspect-ratio: 1;
|
|
26
|
+
padding: 0;
|
|
27
|
+
border-color: $border;
|
|
28
|
+
display: flex;
|
|
29
|
+
justify-content: center;
|
|
30
|
+
margin: 0;
|
|
31
|
+
}
|
|
32
|
+
&.ard-disabled .ard-focus-overlay {
|
|
33
|
+
opacity: 0;
|
|
52
34
|
}
|
|
53
35
|
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
border-radius: 8px;
|
|
36
|
+
&.decrement {
|
|
37
|
+
left: 1px;
|
|
57
38
|
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
}
|
|
39
|
+
.ard-button {
|
|
40
|
+
border-top-right-radius: 0;
|
|
41
|
+
border-bottom-right-radius: 0;
|
|
42
|
+
}
|
|
63
43
|
}
|
|
64
|
-
&.
|
|
65
|
-
|
|
44
|
+
&.increment {
|
|
45
|
+
right: 1px;
|
|
46
|
+
|
|
47
|
+
.ard-button {
|
|
48
|
+
border-top-left-radius: 0;
|
|
49
|
+
border-bottom-left-radius: 0;
|
|
50
|
+
}
|
|
66
51
|
}
|
|
67
|
-
|
|
68
|
-
@include defaultMixins.formAppearances();
|
|
52
|
+
}
|
|
69
53
|
|
|
70
|
-
|
|
54
|
+
//! variants
|
|
55
|
+
&.ard-variant-rounded {
|
|
56
|
+
border-radius: 8px;
|
|
71
57
|
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
margin: 0 2px;
|
|
77
|
-
}
|
|
78
|
-
|
|
79
|
-
&.ard-quick-change-false {
|
|
80
|
-
.ard-input-container {
|
|
81
|
-
border-radius: 999px;
|
|
82
|
-
}
|
|
83
|
-
}
|
|
58
|
+
&.ard-quick-change-false {
|
|
59
|
+
.ard-input-container {
|
|
60
|
+
border-radius: 8px;
|
|
61
|
+
}
|
|
84
62
|
}
|
|
63
|
+
}
|
|
64
|
+
&.ard-variant-sharp {
|
|
65
|
+
border-radius: 0;
|
|
66
|
+
}
|
|
67
|
+
&.ard-variant-pill {
|
|
68
|
+
@include defaultMixins.formAppearances();
|
|
85
69
|
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
}
|
|
94
|
-
&.ard-appearance-filled {
|
|
95
|
-
background: var(--ard-appearance-background);
|
|
96
|
-
border: var(--ard-appearance-border);
|
|
97
|
-
}
|
|
98
|
-
}
|
|
99
|
-
&.ard-variant-pill {
|
|
100
|
-
background: var(--ard-appearance-background);
|
|
101
|
-
border: var(--ard-appearance-border);
|
|
70
|
+
border-radius: 999px;
|
|
71
|
+
|
|
72
|
+
.ard-button {
|
|
73
|
+
border-radius: 999px !important;
|
|
74
|
+
height: 30px;
|
|
75
|
+
width: 30px;
|
|
76
|
+
margin: 0 2px;
|
|
102
77
|
}
|
|
103
78
|
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
79
|
+
&.ard-quick-change-false {
|
|
80
|
+
.ard-input-container {
|
|
81
|
+
border-radius: 999px;
|
|
82
|
+
}
|
|
83
|
+
}
|
|
84
|
+
}
|
|
85
|
+
|
|
86
|
+
//! variant-specific appearances
|
|
87
|
+
&.ard-variant-rounded,
|
|
88
|
+
&.ard-variant-sharp {
|
|
89
|
+
&:not(.ard-appearance-filled) .ard-input-container {
|
|
90
|
+
box-sizing: border-box;
|
|
91
|
+
background: var(--ard-appearance-background);
|
|
92
|
+
border: var(--ard-appearance-border);
|
|
107
93
|
}
|
|
94
|
+
&.ard-appearance-filled {
|
|
95
|
+
background: var(--ard-appearance-background);
|
|
96
|
+
border: var(--ard-appearance-border);
|
|
97
|
+
}
|
|
98
|
+
}
|
|
99
|
+
&.ard-variant-pill {
|
|
100
|
+
background: var(--ard-appearance-background);
|
|
101
|
+
border: var(--ard-appearance-border);
|
|
102
|
+
}
|
|
103
|
+
|
|
104
|
+
//! compact
|
|
105
|
+
&.ard-compact {
|
|
106
|
+
font-size: 0.925rem;
|
|
107
|
+
}
|
|
108
108
|
}
|
|
109
109
|
|
|
110
110
|
.ard-disabled {
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
.ard-button .ard-focus-overlay {
|
|
116
|
-
opacity: 0;
|
|
117
|
-
}
|
|
111
|
+
> .ard-number-input {
|
|
112
|
+
pointer-events: none;
|
|
113
|
+
opacity: 50%;
|
|
118
114
|
|
|
119
|
-
|
|
115
|
+
.ard-button .ard-focus-overlay {
|
|
116
|
+
opacity: 0;
|
|
120
117
|
}
|
|
118
|
+
|
|
119
|
+
background: $bg-f;
|
|
120
|
+
}
|
|
121
121
|
}
|
|
@@ -4,40 +4,40 @@
|
|
|
4
4
|
@import '../../variables';
|
|
5
5
|
|
|
6
6
|
.ard-password-input {
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
7
|
+
@include inputMixin.genericInput();
|
|
8
|
+
padding: 0 0.375rem;
|
|
9
|
+
min-width: 10rem;
|
|
10
|
+
max-width: 100%;
|
|
11
11
|
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
12
|
+
&.ard-revealable {
|
|
13
|
+
padding-right: 0;
|
|
14
|
+
}
|
|
15
15
|
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
16
|
+
.ard-reveal-button {
|
|
17
|
+
display: flex;
|
|
18
|
+
align-items: center;
|
|
19
|
+
justify-content: center;
|
|
20
|
+
padding: 0;
|
|
21
|
+
margin: 0.125rem;
|
|
22
|
+
height: calc(100% - 0.25rem);
|
|
23
|
+
aspect-ratio: 1;
|
|
24
|
+
font-size: 0.8rem;
|
|
25
|
+
border-radius: 9999px;
|
|
26
|
+
border: none;
|
|
27
|
+
background: transparent;
|
|
28
|
+
outline: none;
|
|
29
|
+
cursor: pointer;
|
|
30
30
|
|
|
31
|
-
|
|
31
|
+
transition: background-color 0.2s $timing-fn;
|
|
32
32
|
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
}
|
|
33
|
+
&:hover {
|
|
34
|
+
background: rgba(0, 0, 0, 4%);
|
|
35
|
+
}
|
|
36
|
+
&:focus {
|
|
37
|
+
background: rgba(0, 0, 0, 12%);
|
|
38
|
+
}
|
|
39
|
+
&:active {
|
|
40
|
+
background: rgba(0, 0, 0, 20%);
|
|
42
41
|
}
|
|
42
|
+
}
|
|
43
43
|
}
|
|
@@ -3,17 +3,17 @@
|
|
|
3
3
|
@use '../clear-button' as CB;
|
|
4
4
|
|
|
5
5
|
.ard-search-bar {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
6
|
+
@include inputMixin.genericInput();
|
|
7
|
+
padding: 0 0.375rem;
|
|
8
|
+
min-width: 10rem;
|
|
9
|
+
max-width: 100%;
|
|
10
10
|
|
|
11
|
-
|
|
11
|
+
@include CB.clearButton();
|
|
12
12
|
}
|
|
13
13
|
//! disabled state
|
|
14
14
|
.ard-disabled {
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
15
|
+
.ard-search-bar {
|
|
16
|
+
pointer-events: none;
|
|
17
|
+
opacity: 50%;
|
|
18
|
+
}
|
|
19
19
|
}
|
|
@@ -3,17 +3,17 @@
|
|
|
3
3
|
@use '../clear-button' as CB;
|
|
4
4
|
|
|
5
5
|
.ard-simple-input {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
6
|
+
@include inputMixin.genericInput();
|
|
7
|
+
padding: 0 0.375rem;
|
|
8
|
+
min-width: 10rem;
|
|
9
|
+
max-width: 100%;
|
|
10
10
|
|
|
11
|
-
|
|
11
|
+
@include CB.clearButton();
|
|
12
12
|
}
|
|
13
13
|
//! disabled state
|
|
14
14
|
.ard-disabled {
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
15
|
+
.ard-simple-input {
|
|
16
|
+
pointer-events: none;
|
|
17
|
+
opacity: 50%;
|
|
18
|
+
}
|
|
19
19
|
}
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
@import '../variables';
|
|
2
2
|
|
|
3
3
|
.ard-kbd-shortcut {
|
|
4
|
-
|
|
5
|
-
|
|
4
|
+
font-family: monospace;
|
|
5
|
+
color: $text2;
|
|
6
6
|
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
7
|
+
> span {
|
|
8
|
+
font-size: 0.9em;
|
|
9
|
+
}
|
|
10
|
+
&.ard-appearance-transparent > span {
|
|
11
|
+
font-size: 0.75em;
|
|
12
|
+
}
|
|
13
13
|
}
|
package/themes/default/kbd.scss
CHANGED
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
@import '../variables';
|
|
2
2
|
|
|
3
3
|
.ard-kbd {
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
4
|
+
border-radius: 0.2em;
|
|
5
|
+
font-family: monospace;
|
|
6
|
+
font-size: 0.9em;
|
|
7
|
+
margin: 0 0.125em;
|
|
8
|
+
color: $text2;
|
|
9
9
|
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
10
|
+
//! appearance
|
|
11
|
+
&.ard-appearance-outlined,
|
|
12
|
+
&.ard-appearance-filled {
|
|
13
|
+
border: 1px solid $detail-ultralight;
|
|
14
|
+
box-shadow: inset 0 -1px 0 $darken-overlay;
|
|
15
|
+
padding: 0.15em 0.35em;
|
|
16
|
+
}
|
|
17
|
+
&.ard-appearance-filled {
|
|
18
|
+
background: $bg-d;
|
|
19
|
+
}
|
|
20
20
|
}
|
|
@@ -1,93 +1,93 @@
|
|
|
1
1
|
@import '../variables';
|
|
2
2
|
|
|
3
3
|
.ard-modal {
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
4
|
+
position: fixed;
|
|
5
|
+
top: 0;
|
|
6
|
+
bottom: 0;
|
|
7
|
+
left: 0;
|
|
8
|
+
right: 0;
|
|
9
|
+
display: grid;
|
|
10
|
+
place-items: center;
|
|
11
11
|
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
12
|
+
&.ard-modal-backdrop {
|
|
13
|
+
background: $darken-overlay-strong;
|
|
14
|
+
}
|
|
15
|
+
.ard-modal-panel {
|
|
16
|
+
padding: 1.25rem 3rem 1.5rem 3rem;
|
|
17
|
+
background: $bg;
|
|
18
|
+
max-width: calc(100vw - 4rem);
|
|
19
|
+
position: relative;
|
|
20
|
+
display: flex;
|
|
21
|
+
flex-direction: column;
|
|
22
|
+
align-items: start;
|
|
23
|
+
gap: 1.5rem;
|
|
24
24
|
|
|
25
|
-
|
|
26
|
-
|
|
25
|
+
&.ard-modal-no-heading-text {
|
|
26
|
+
gap: 0.25rem;
|
|
27
27
|
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
}
|
|
28
|
+
.ard-modal-close-button {
|
|
29
|
+
position: absolute;
|
|
30
|
+
right: 0.5rem;
|
|
31
|
+
top: 0.5rem;
|
|
32
|
+
}
|
|
33
|
+
}
|
|
34
|
+
&.ard-modal-has-close-button {
|
|
35
|
+
.ard-modal-heading {
|
|
36
|
+
padding-right: 1rem;
|
|
37
|
+
}
|
|
39
38
|
}
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
39
|
+
}
|
|
40
|
+
.ard-modal-heading {
|
|
41
|
+
display: flex;
|
|
42
|
+
align-items: flex-start;
|
|
43
|
+
justify-content: space-between;
|
|
44
44
|
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
}
|
|
51
|
-
.ard-modal-close-button {
|
|
52
|
-
position: absolute;
|
|
53
|
-
right: 0.5rem;
|
|
54
|
-
top: 0.5rem;
|
|
55
|
-
}
|
|
45
|
+
.ard-modal-heading-text {
|
|
46
|
+
font-size: 1.25rem;
|
|
47
|
+
color: $text;
|
|
48
|
+
font-weight: 500;
|
|
49
|
+
font-family: Roboto;
|
|
56
50
|
}
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
}
|
|
51
|
+
.ard-modal-close-button {
|
|
52
|
+
position: absolute;
|
|
53
|
+
right: 0.5rem;
|
|
54
|
+
top: 0.5rem;
|
|
62
55
|
}
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
56
|
+
}
|
|
57
|
+
//! appearances
|
|
58
|
+
&.ard-appearance-raised {
|
|
59
|
+
.ard-modal-panel {
|
|
60
|
+
box-shadow: $simple-shadow2;
|
|
68
61
|
}
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
62
|
+
}
|
|
63
|
+
//! variants
|
|
64
|
+
&.ard-variant-rounded {
|
|
65
|
+
.ard-modal-panel {
|
|
66
|
+
border-radius: 8px;
|
|
73
67
|
}
|
|
68
|
+
}
|
|
69
|
+
&.ard-variant-sharp {
|
|
70
|
+
.ard-modal-panel {
|
|
71
|
+
border-radius: 0;
|
|
72
|
+
}
|
|
73
|
+
}
|
|
74
74
|
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
75
|
+
//! compact
|
|
76
|
+
&.ard-compact {
|
|
77
|
+
.ard-modal-panel {
|
|
78
|
+
font-size: 90%;
|
|
79
|
+
padding: 0.75rem 2rem 1rem 2rem;
|
|
80
|
+
gap: 1rem;
|
|
81
81
|
|
|
82
|
-
|
|
83
|
-
|
|
82
|
+
&.ard-modal-no-heading-text {
|
|
83
|
+
gap: 0.25rem;
|
|
84
84
|
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
}
|
|
90
|
-
}
|
|
85
|
+
.ard-modal-close-button {
|
|
86
|
+
position: absolute;
|
|
87
|
+
right: 0.25rem;
|
|
88
|
+
top: 0.25rem;
|
|
91
89
|
}
|
|
90
|
+
}
|
|
92
91
|
}
|
|
92
|
+
}
|
|
93
93
|
}
|