@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,337 +3,337 @@
|
|
|
3
3
|
@import '../variables';
|
|
4
4
|
|
|
5
5
|
.ard-segment-container {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
6
|
+
@include coloringMixins.typeColors();
|
|
7
|
+
--ard-_segment-padding: 0.15rem;
|
|
8
|
+
padding: var(--ard-_segment-padding);
|
|
9
|
+
font-family: 'Roboto', sans-serif;
|
|
10
|
+
margin: 2px;
|
|
11
|
+
border: 1px solid transparent;
|
|
12
|
+
font-weight: 500;
|
|
13
|
+
width: max-content;
|
|
14
|
+
height: max-content;
|
|
15
|
+
gap: var(--ard-_segment-padding);
|
|
16
|
+
overflow: hidden; //hide click indicator overflowing rounded corners on touchscreens
|
|
17
|
+
|
|
18
|
+
@include defaultMixins.formAppearances();
|
|
19
|
+
@include defaultMixins.formVariants();
|
|
20
|
+
|
|
21
|
+
//! button focus inficator
|
|
22
|
+
.ard-focus-overlay {
|
|
23
|
+
@include defaultMixins.focus-overlay;
|
|
24
|
+
background-color: var(--ard-cmpcl--content);
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
//! row & option styling
|
|
28
|
+
.ard-segment-row {
|
|
15
29
|
gap: var(--ard-_segment-padding);
|
|
16
|
-
|
|
30
|
+
--ard-_font-size: 0.85em;
|
|
31
|
+
height: calc(2.42em + 1px);
|
|
32
|
+
font-size: var(--ard-_font-size);
|
|
17
33
|
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
border: 1px solid transparent;
|
|
41
|
-
background: transparent;
|
|
42
|
-
position: relative;
|
|
43
|
-
cursor: pointer;
|
|
44
|
-
transition:
|
|
45
|
-
color 0.1s $timing-fn,
|
|
46
|
-
border-color 0.1s $timing-fn,
|
|
47
|
-
background-color 0.1s $timing-fn;
|
|
48
|
-
outline: none;
|
|
49
|
-
display: flex;
|
|
50
|
-
align-items: center;
|
|
51
|
-
|
|
52
|
-
&.ard-option-selected {
|
|
53
|
-
position: relative;
|
|
54
|
-
z-index: 2;
|
|
55
|
-
}
|
|
34
|
+
.ard-segment-option {
|
|
35
|
+
margin: 0;
|
|
36
|
+
padding: 0 1em;
|
|
37
|
+
height: 100%;
|
|
38
|
+
font-size: 1em;
|
|
39
|
+
min-width: 2.42em;
|
|
40
|
+
border: 1px solid transparent;
|
|
41
|
+
background: transparent;
|
|
42
|
+
position: relative;
|
|
43
|
+
cursor: pointer;
|
|
44
|
+
transition:
|
|
45
|
+
color 0.1s $timing-fn,
|
|
46
|
+
border-color 0.1s $timing-fn,
|
|
47
|
+
background-color 0.1s $timing-fn;
|
|
48
|
+
outline: none;
|
|
49
|
+
display: flex;
|
|
50
|
+
align-items: center;
|
|
51
|
+
|
|
52
|
+
&.ard-option-selected {
|
|
53
|
+
position: relative;
|
|
54
|
+
z-index: 2;
|
|
55
|
+
}
|
|
56
56
|
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
57
|
+
&.ard-option-disabled {
|
|
58
|
+
opacity: 60%;
|
|
59
|
+
pointer-events: none;
|
|
60
|
+
}
|
|
61
61
|
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
62
|
+
.ard-button-content {
|
|
63
|
+
position: relative;
|
|
64
|
+
z-index: 1;
|
|
65
|
+
width: max-content;
|
|
66
66
|
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
}
|
|
71
|
-
}
|
|
67
|
+
.ard-option-label {
|
|
68
|
+
display: flex;
|
|
69
|
+
align-items: center;
|
|
72
70
|
}
|
|
71
|
+
}
|
|
72
|
+
}
|
|
73
|
+
}
|
|
74
|
+
//! highlighted/selected styling
|
|
75
|
+
.ard-segment-option {
|
|
76
|
+
&.ard-option-highlighted {
|
|
77
|
+
.ard-focus-overlay {
|
|
78
|
+
opacity: 4%;
|
|
79
|
+
}
|
|
80
|
+
}
|
|
81
|
+
&:active {
|
|
82
|
+
.ard-focus-overlay {
|
|
83
|
+
opacity: 12%;
|
|
84
|
+
}
|
|
73
85
|
}
|
|
74
|
-
|
|
86
|
+
&.ard-option-selected {
|
|
87
|
+
.ard-focus-overlay {
|
|
88
|
+
opacity: 16%;
|
|
89
|
+
}
|
|
90
|
+
}
|
|
91
|
+
}
|
|
92
|
+
&.ard-using-keyboard {
|
|
75
93
|
.ard-segment-option {
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
}
|
|
94
|
+
&.ard-option-highlighted {
|
|
95
|
+
.ard-focus-overlay {
|
|
96
|
+
opacity: 28%;
|
|
80
97
|
}
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
98
|
+
}
|
|
99
|
+
&:active {
|
|
100
|
+
.ard-focus-overlay {
|
|
101
|
+
opacity: 34%;
|
|
102
|
+
}
|
|
103
|
+
}
|
|
104
|
+
}
|
|
105
|
+
}
|
|
106
|
+
|
|
107
|
+
//! appearances
|
|
108
|
+
&.ard-appearance-transparent {
|
|
109
|
+
background: transparent;
|
|
110
|
+
|
|
111
|
+
.ard-segment-row {
|
|
112
|
+
.ard-segment-option {
|
|
113
|
+
.ard-focus-overlay {
|
|
114
|
+
background-color: var(--ard-cmpcl--content);
|
|
85
115
|
}
|
|
116
|
+
|
|
86
117
|
&.ard-option-selected {
|
|
87
|
-
|
|
88
|
-
opacity: 16%;
|
|
89
|
-
}
|
|
118
|
+
color: var(--ard-cmpcl--content);
|
|
90
119
|
}
|
|
120
|
+
}
|
|
91
121
|
}
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
122
|
+
}
|
|
123
|
+
&.ard-appearance-outlined,
|
|
124
|
+
&.ard-appearance-outlined-strong {
|
|
125
|
+
background: $bg;
|
|
126
|
+
padding: 0;
|
|
127
|
+
|
|
128
|
+
.ard-segment-option {
|
|
129
|
+
border: 1px solid $border-light;
|
|
130
|
+
|
|
131
|
+
&.ard-option-selected {
|
|
132
|
+
border-color: var(--ard-cmpcl--border);
|
|
133
|
+
color: var(--ard-cmpcl--content);
|
|
134
|
+
}
|
|
105
135
|
}
|
|
136
|
+
&.ard-variant-rounded-connected,
|
|
137
|
+
&.ard-variant-sharp-connected {
|
|
138
|
+
gap: 0;
|
|
106
139
|
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
background: transparent;
|
|
140
|
+
.ard-segment-row {
|
|
141
|
+
gap: 0;
|
|
110
142
|
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
background-color: var(--ard-cmpcl--content);
|
|
115
|
-
}
|
|
143
|
+
&:not(:first-child) {
|
|
144
|
+
margin-top: -1px;
|
|
145
|
+
}
|
|
116
146
|
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
}
|
|
120
|
-
}
|
|
147
|
+
.ard-segment-option:not(:first-child) {
|
|
148
|
+
margin-left: -1px;
|
|
121
149
|
}
|
|
150
|
+
}
|
|
122
151
|
}
|
|
123
|
-
&.ard-
|
|
124
|
-
|
|
125
|
-
background: $bg;
|
|
126
|
-
padding: 0;
|
|
127
|
-
|
|
152
|
+
&.ard-variant-rounded-connected {
|
|
153
|
+
.ard-segment-row {
|
|
128
154
|
.ard-segment-option {
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
155
|
+
border-radius: 0 !important;
|
|
156
|
+
}
|
|
157
|
+
&:first-child {
|
|
158
|
+
.ard-segment-option {
|
|
159
|
+
&:first-child {
|
|
160
|
+
border-top-left-radius: var(--ard-variant-border-radius) !important;
|
|
134
161
|
}
|
|
162
|
+
&:last-child {
|
|
163
|
+
border-top-right-radius: var(--ard-variant-border-radius) !important;
|
|
164
|
+
}
|
|
165
|
+
&:first-child:last-child {
|
|
166
|
+
border-top-right-radius: var(--ard-variant-border-radius) !important;
|
|
167
|
+
border-top-left-radius: var(--ard-variant-border-radius) !important;
|
|
168
|
+
}
|
|
169
|
+
}
|
|
135
170
|
}
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
&:not(:first-child) {
|
|
144
|
-
margin-top: -1px;
|
|
145
|
-
}
|
|
146
|
-
|
|
147
|
-
.ard-segment-option:not(:first-child) {
|
|
148
|
-
margin-left: -1px;
|
|
149
|
-
}
|
|
171
|
+
&:last-child {
|
|
172
|
+
.ard-segment-option {
|
|
173
|
+
&:first-child {
|
|
174
|
+
border-bottom-left-radius: var(--ard-variant-border-radius) !important;
|
|
175
|
+
}
|
|
176
|
+
&:last-child {
|
|
177
|
+
border-bottom-right-radius: var(--ard-variant-border-radius) !important;
|
|
150
178
|
}
|
|
179
|
+
&:first-child:last-child {
|
|
180
|
+
border-bottom-right-radius: var(--ard-variant-border-radius) !important;
|
|
181
|
+
border-bottom-left-radius: var(--ard-variant-border-radius) !important;
|
|
182
|
+
}
|
|
183
|
+
}
|
|
151
184
|
}
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
}
|
|
162
|
-
&:last-child {
|
|
163
|
-
border-top-right-radius: var(--ard-variant-border-radius) !important;
|
|
164
|
-
}
|
|
165
|
-
&:first-child:last-child {
|
|
166
|
-
border-top-right-radius: var(--ard-variant-border-radius) !important;
|
|
167
|
-
border-top-left-radius: var(--ard-variant-border-radius) !important;
|
|
168
|
-
}
|
|
169
|
-
}
|
|
170
|
-
}
|
|
171
|
-
&:last-child {
|
|
172
|
-
.ard-segment-option {
|
|
173
|
-
&:first-child {
|
|
174
|
-
border-bottom-left-radius: var(--ard-variant-border-radius) !important;
|
|
175
|
-
}
|
|
176
|
-
&:last-child {
|
|
177
|
-
border-bottom-right-radius: var(--ard-variant-border-radius) !important;
|
|
178
|
-
}
|
|
179
|
-
&:first-child:last-child {
|
|
180
|
-
border-bottom-right-radius: var(--ard-variant-border-radius) !important;
|
|
181
|
-
border-bottom-left-radius: var(--ard-variant-border-radius) !important;
|
|
182
|
-
}
|
|
183
|
-
}
|
|
184
|
-
}
|
|
185
|
-
&:first-child:last-child {
|
|
186
|
-
.ard-segment-option {
|
|
187
|
-
&:first-child {
|
|
188
|
-
border-top-left-radius: var(--ard-variant-border-radius) !important;
|
|
189
|
-
border-bottom-left-radius: var(--ard-variant-border-radius) !important;
|
|
190
|
-
}
|
|
191
|
-
&:last-child {
|
|
192
|
-
border-top-right-radius: var(--ard-variant-border-radius) !important;
|
|
193
|
-
border-bottom-right-radius: var(--ard-variant-border-radius) !important;
|
|
194
|
-
}
|
|
195
|
-
&:first-child:last-child {
|
|
196
|
-
border-radius: var(--ard-variant-border-radius) !important;
|
|
197
|
-
}
|
|
198
|
-
}
|
|
199
|
-
}
|
|
185
|
+
&:first-child:last-child {
|
|
186
|
+
.ard-segment-option {
|
|
187
|
+
&:first-child {
|
|
188
|
+
border-top-left-radius: var(--ard-variant-border-radius) !important;
|
|
189
|
+
border-bottom-left-radius: var(--ard-variant-border-radius) !important;
|
|
190
|
+
}
|
|
191
|
+
&:last-child {
|
|
192
|
+
border-top-right-radius: var(--ard-variant-border-radius) !important;
|
|
193
|
+
border-bottom-right-radius: var(--ard-variant-border-radius) !important;
|
|
200
194
|
}
|
|
195
|
+
&:first-child:last-child {
|
|
196
|
+
border-radius: var(--ard-variant-border-radius) !important;
|
|
197
|
+
}
|
|
198
|
+
}
|
|
201
199
|
}
|
|
200
|
+
}
|
|
202
201
|
}
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
202
|
+
}
|
|
203
|
+
&.ard-appearance-outlined-strong {
|
|
204
|
+
.ard-segment-option.ard-option-selected {
|
|
205
|
+
background-color: var(--ard-cmpcl--bg);
|
|
206
|
+
color: var(--ard-cmpcl--on-bg);
|
|
207
|
+
}
|
|
208
|
+
}
|
|
209
|
+
&.ard-appearance-filled {
|
|
210
|
+
position: relative;
|
|
211
|
+
|
|
212
|
+
&::before {
|
|
213
|
+
content: '';
|
|
214
|
+
position: absolute;
|
|
215
|
+
top: 0;
|
|
216
|
+
bottom: 0;
|
|
217
|
+
left: 0;
|
|
218
|
+
right: 0;
|
|
219
|
+
border-radius: inherit;
|
|
220
|
+
background: var(--ard-cmpcl--bg);
|
|
221
|
+
opacity: 15%;
|
|
208
222
|
}
|
|
209
|
-
&.ard-appearance-filled {
|
|
210
|
-
position: relative;
|
|
211
223
|
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
bottom: 0;
|
|
217
|
-
left: 0;
|
|
218
|
-
right: 0;
|
|
219
|
-
border-radius: inherit;
|
|
220
|
-
background: var(--ard-cmpcl--bg);
|
|
221
|
-
opacity: 15%;
|
|
224
|
+
.ard-segment-option {
|
|
225
|
+
&.ard-option-highlighted {
|
|
226
|
+
.ard-focus-overlay {
|
|
227
|
+
opacity: 8%;
|
|
222
228
|
}
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
opacity: 8%;
|
|
228
|
-
}
|
|
229
|
-
}
|
|
230
|
-
&.ard-option-selected {
|
|
231
|
-
.ard-focus-overlay {
|
|
232
|
-
opacity: 20%;
|
|
233
|
-
}
|
|
234
|
-
}
|
|
229
|
+
}
|
|
230
|
+
&.ard-option-selected {
|
|
231
|
+
.ard-focus-overlay {
|
|
232
|
+
opacity: 20%;
|
|
235
233
|
}
|
|
234
|
+
}
|
|
236
235
|
}
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
|
|
236
|
+
}
|
|
237
|
+
&.ard-appearance-filled-strong {
|
|
238
|
+
background: var(--ard-cmpcl--bg);
|
|
239
|
+
border-radius: var(--ard-variant-border-radius);
|
|
240
240
|
|
|
241
|
-
|
|
242
|
-
|
|
243
|
-
|
|
244
|
-
|
|
245
|
-
.ard-focus-overlay {
|
|
246
|
-
background-color: var(--ard-cmpcl--on-bg);
|
|
247
|
-
}
|
|
248
|
-
&.ard-option-highlighted {
|
|
249
|
-
.ard-focus-overlay {
|
|
250
|
-
opacity: 16%;
|
|
251
|
-
}
|
|
252
|
-
}
|
|
253
|
-
&.ard-option-selected {
|
|
254
|
-
color: var(--ard-cmpcl--content);
|
|
255
|
-
background: var(--ard-cmpcl--on-bg);
|
|
256
|
-
|
|
257
|
-
.ard-focus-overlay {
|
|
258
|
-
opacity: 0;
|
|
259
|
-
}
|
|
260
|
-
}
|
|
261
|
-
}
|
|
262
|
-
}
|
|
263
|
-
}
|
|
241
|
+
.ard-segment-row {
|
|
242
|
+
.ard-segment-option {
|
|
243
|
+
color: var(--ard-cmpcl--on-bg);
|
|
264
244
|
|
|
265
|
-
|
|
266
|
-
|
|
267
|
-
|
|
245
|
+
.ard-focus-overlay {
|
|
246
|
+
background-color: var(--ard-cmpcl--on-bg);
|
|
247
|
+
}
|
|
248
|
+
&.ard-option-highlighted {
|
|
249
|
+
.ard-focus-overlay {
|
|
250
|
+
opacity: 16%;
|
|
251
|
+
}
|
|
252
|
+
}
|
|
253
|
+
&.ard-option-selected {
|
|
254
|
+
color: var(--ard-cmpcl--content);
|
|
255
|
+
background: var(--ard-cmpcl--on-bg);
|
|
268
256
|
|
|
269
|
-
|
|
270
|
-
|
|
271
|
-
|
|
272
|
-
}
|
|
257
|
+
.ard-focus-overlay {
|
|
258
|
+
opacity: 0;
|
|
259
|
+
}
|
|
273
260
|
}
|
|
261
|
+
}
|
|
274
262
|
}
|
|
275
|
-
|
|
276
|
-
|
|
277
|
-
|
|
263
|
+
}
|
|
264
|
+
|
|
265
|
+
//! variants
|
|
266
|
+
&.ard-variant-pill {
|
|
267
|
+
border-radius: 16px;
|
|
268
|
+
|
|
269
|
+
.ard-segment-row {
|
|
270
|
+
.ard-segment-option {
|
|
278
271
|
border-radius: var(--ard-variant-border-radius);
|
|
272
|
+
}
|
|
273
|
+
}
|
|
274
|
+
}
|
|
275
|
+
&.ard-variant-rounded,
|
|
276
|
+
&.ard-variant-rounded-connected {
|
|
277
|
+
--ard-variant-border-radius: 8px;
|
|
278
|
+
border-radius: var(--ard-variant-border-radius);
|
|
279
279
|
|
|
280
|
-
|
|
281
|
-
|
|
282
|
-
|
|
283
|
-
|
|
284
|
-
}
|
|
280
|
+
.ard-segment-row {
|
|
281
|
+
.ard-segment-option {
|
|
282
|
+
border-radius: max(1px, calc(var(--ard-variant-border-radius) - var(--ard-_segment-padding)));
|
|
283
|
+
}
|
|
285
284
|
}
|
|
286
|
-
|
|
287
|
-
|
|
288
|
-
|
|
285
|
+
}
|
|
286
|
+
&.ard-variant-sharp,
|
|
287
|
+
&.ard-variant-sharp-connected {
|
|
288
|
+
border-radius: var(--ard-variant-border-radius);
|
|
289
289
|
|
|
290
|
-
|
|
291
|
-
|
|
292
|
-
|
|
293
|
-
|
|
294
|
-
}
|
|
290
|
+
.ard-segment-row {
|
|
291
|
+
.ard-segment-option {
|
|
292
|
+
border-radius: calc(var(--ard-variant-border-radius));
|
|
293
|
+
}
|
|
295
294
|
}
|
|
295
|
+
}
|
|
296
296
|
|
|
297
|
-
|
|
298
|
-
|
|
299
|
-
|
|
300
|
-
|
|
301
|
-
|
|
297
|
+
//! compact
|
|
298
|
+
&.ard-compact {
|
|
299
|
+
.ard-segment-row {
|
|
300
|
+
--ard-_font-size: 0.85em;
|
|
301
|
+
height: calc(1.85em + 1px);
|
|
302
302
|
|
|
303
|
-
|
|
304
|
-
|
|
305
|
-
|
|
306
|
-
|
|
307
|
-
}
|
|
303
|
+
.ard-segment-option {
|
|
304
|
+
padding: 0 0.5em;
|
|
305
|
+
min-width: 1.85em;
|
|
306
|
+
}
|
|
308
307
|
}
|
|
309
|
-
|
|
310
|
-
|
|
311
|
-
|
|
312
|
-
|
|
313
|
-
|
|
314
|
-
|
|
315
|
-
|
|
316
|
-
|
|
308
|
+
}
|
|
309
|
+
|
|
310
|
+
&.ard-icon-based {
|
|
311
|
+
.ard-segment-row .ard-segment-option {
|
|
312
|
+
padding: 0;
|
|
313
|
+
min-width: unset;
|
|
314
|
+
aspect-ratio: 1;
|
|
315
|
+
justify-content: center;
|
|
317
316
|
}
|
|
317
|
+
}
|
|
318
318
|
|
|
319
|
-
|
|
320
|
-
|
|
321
|
-
|
|
322
|
-
|
|
319
|
+
//! disabled styling
|
|
320
|
+
&.ard-disabled {
|
|
321
|
+
pointer-events: none;
|
|
322
|
+
opacity: 50%;
|
|
323
323
|
|
|
324
|
-
|
|
325
|
-
|
|
326
|
-
|
|
324
|
+
.ard-focus-overlay {
|
|
325
|
+
opacity: 10%;
|
|
326
|
+
}
|
|
327
327
|
|
|
328
|
-
|
|
329
|
-
|
|
330
|
-
|
|
331
|
-
|
|
332
|
-
|
|
333
|
-
|
|
334
|
-
|
|
335
|
-
|
|
336
|
-
|
|
337
|
-
}
|
|
328
|
+
//edge case for no coloring
|
|
329
|
+
&.ard-color-none {
|
|
330
|
+
.ard-button-icon,
|
|
331
|
+
.ard-button-content {
|
|
332
|
+
opacity: 60%;
|
|
333
|
+
}
|
|
334
|
+
.ard-focus-overlay {
|
|
335
|
+
background: var(--ard-cmpcl--overlay);
|
|
336
|
+
}
|
|
338
337
|
}
|
|
338
|
+
}
|
|
339
339
|
}
|