@ardium-ui/ui 4.0.0 → 4.1.0
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/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/ngmodel-component.mjs +2 -2
- package/esm2022/lib/_internal/public-api.mjs +1 -1
- package/esm2022/lib/_internal/selectable-list-component.mjs +1 -1
- package/esm2022/lib/buttons/_button-base.defaults.mjs +1 -1
- package/esm2022/lib/buttons/_button-base.mjs +4 -2
- package/esm2022/lib/buttons/button/button.component.mjs +1 -1
- package/esm2022/lib/buttons/fab/fab.component.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 +3 -3
- package/esm2022/lib/calendar/calendar.defaults.mjs +1 -1
- package/esm2022/lib/calendar/calendar.internal-types.mjs +1 -1
- package/esm2022/lib/calendar/calendar.module.mjs +1 -1
- package/esm2022/lib/calendar/calendar.types.mjs +1 -1
- package/esm2022/lib/calendar/index.mjs +1 -1
- package/esm2022/lib/calendar/views/days-view/days-view.component.mjs +3 -3
- package/esm2022/lib/calendar/views/days-view/days-view.helpers.mjs +1 -1
- package/esm2022/lib/calendar/views/months-view/months-view.component.mjs +3 -3
- package/esm2022/lib/calendar/views/months-view/months-view.helpers.mjs +1 -1
- package/esm2022/lib/calendar/views/years-view/years-view.component.mjs +3 -3
- package/esm2022/lib/calendar/views/years-view/years-view.helpers.mjs +1 -1
- package/esm2022/lib/checkbox-list/checkbox-list.component.mjs +3 -3
- package/esm2022/lib/checkbox-list/checkbox-list.module.mjs +1 -1
- package/esm2022/lib/dialog/dialog.component.mjs +3 -3
- package/esm2022/lib/dialog/dialog.defaults.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/file-inputs/file-drop-area/file-drop-area.component.mjs +3 -3
- package/esm2022/lib/file-inputs/file-input/file-input.component.mjs +3 -3
- package/esm2022/lib/file-inputs/file-input-base.mjs +1 -1
- package/esm2022/lib/form-field/error/error.component.mjs +1 -1
- package/esm2022/lib/form-field/error/error.directive.mjs +1 -1
- package/esm2022/lib/form-field/form-field.component.mjs +4 -4
- package/esm2022/lib/form-field/form-field.module.mjs +1 -1
- package/esm2022/lib/form-field/hint/hint.component.mjs +1 -1
- package/esm2022/lib/form-field/hint/hint.directive.mjs +1 -1
- package/esm2022/lib/form-field/horizontal-form-field.component.mjs +3 -3
- package/esm2022/lib/form-field/index.mjs +1 -1
- package/esm2022/lib/form-field-frame/form-field-frame.component.mjs +1 -1
- package/esm2022/lib/inputs/_simple-input-base.mjs +2 -2
- package/esm2022/lib/inputs/date-input/date-input.component.mjs +3 -3
- package/esm2022/lib/inputs/date-input/date-input.defaults.mjs +1 -1
- package/esm2022/lib/inputs/date-input/date-input.directive.mjs +1 -1
- package/esm2022/lib/inputs/date-input/date-input.module.mjs +1 -1
- package/esm2022/lib/inputs/date-input/date-input.serializers.mjs +1 -1
- package/esm2022/lib/inputs/date-input/date-input.types.mjs +1 -1
- package/esm2022/lib/inputs/date-input/index.mjs +1 -1
- package/esm2022/lib/inputs/digit-input/digit-input.component.mjs +3 -3
- package/esm2022/lib/inputs/digit-input/digit-input.defaults.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 +3 -3
- package/esm2022/lib/inputs/hex-input/hex-input.defaults.mjs +1 -1
- package/esm2022/lib/inputs/input/input.component.mjs +3 -3
- package/esm2022/lib/inputs/input/input.module.mjs +1 -1
- package/esm2022/lib/inputs/input-utils.mjs +8 -3
- package/esm2022/lib/inputs/number-input/number-input.component.mjs +13 -4
- package/esm2022/lib/inputs/number-input/number-input.defaults.mjs +1 -1
- package/esm2022/lib/inputs/password-input/password-input.component.mjs +3 -3
- package/esm2022/lib/inputs/password-input/password-input.defaults.mjs +1 -1
- package/esm2022/lib/inputs/simple-input/simple-input.component.mjs +5 -5
- package/esm2022/lib/inputs/simple-input/simple-input.defaults.mjs +1 -1
- package/esm2022/lib/modal/index.mjs +1 -1
- package/esm2022/lib/modal/modal.component.mjs +3 -3
- package/esm2022/lib/modal/modal.defaults.mjs +1 -1
- package/esm2022/lib/modal/modal.directives.mjs +1 -1
- package/esm2022/lib/modal/modal.module.mjs +1 -1
- package/esm2022/lib/radio/radio/radio.component.mjs +1 -1
- package/esm2022/lib/radio/radio/radio.defaults.mjs +1 -1
- package/esm2022/lib/radio/radio-group.component.mjs +1 -1
- package/esm2022/lib/segment/segment.component.mjs +3 -3
- package/esm2022/lib/select/select.component.mjs +3 -3
- package/esm2022/lib/select/select.defaults.mjs +1 -1
- package/esm2022/lib/slide-toggle/slide-toggle.component.mjs +1 -1
- package/esm2022/lib/slider/range-slider/range-slider.component.mjs +1 -1
- package/esm2022/lib/slider/slider.component.mjs +3 -3
- package/esm2022/lib/star/index.mjs +1 -1
- package/esm2022/lib/star/rating-display/index.mjs +1 -1
- package/esm2022/lib/star/rating-display/rating-display.component.mjs +3 -3
- package/esm2022/lib/star/rating-display/rating-display.defaults.mjs +1 -1
- package/esm2022/lib/star/rating-display/rating-display.directives.mjs +1 -1
- package/esm2022/lib/star/rating-display/rating-display.module.mjs +1 -1
- package/esm2022/lib/star/rating-display/rating-display.types.mjs +1 -1
- package/esm2022/lib/star/rating-input/index.mjs +1 -1
- package/esm2022/lib/star/rating-input/rating-input.component.mjs +3 -3
- package/esm2022/lib/star/rating-input/rating-input.defaults.mjs +1 -1
- package/esm2022/lib/star/rating-input/rating-input.directives.mjs +2 -2
- package/esm2022/lib/star/rating-input/rating-input.module.mjs +1 -1
- package/esm2022/lib/star/rating-input/rating-input.types.mjs +1 -1
- package/esm2022/lib/star/star-button/index.mjs +1 -1
- package/esm2022/lib/star/star-button/star-button.component.mjs +4 -4
- package/esm2022/lib/star/star-button/star-button.defaults.mjs +1 -1
- package/esm2022/lib/star/star-button/star-button.directives.mjs +2 -2
- package/esm2022/lib/star/star-button/star-button.module.mjs +1 -1
- package/esm2022/lib/star/star-button/star-button.types.mjs +1 -1
- package/esm2022/lib/star/star.component.mjs +3 -3
- package/esm2022/lib/star/star.defaults.mjs +1 -1
- package/esm2022/lib/star/star.directives.mjs +2 -2
- package/esm2022/lib/star/star.module.mjs +1 -1
- package/esm2022/lib/star/star.types.mjs +1 -1
- package/esm2022/lib/text-list/index.mjs +1 -1
- package/esm2022/lib/text-list/text-list.component.mjs +3 -3
- package/esm2022/lib/text-list/text-list.module.mjs +1 -1
- package/esm2022/lib/text-list/text-list.pipe.mjs +1 -1
- package/esm2022/public-api.mjs +1 -1
- package/fesm2022/ardium-ui-ui.mjs +75 -59
- package/fesm2022/ardium-ui-ui.mjs.map +1 -1
- package/lib/dialog/dialog.types.d.ts +1 -1
- package/lib/inputs/date-input/date-input.types.d.ts +1 -1
- package/lib/inputs/number-input/number-input.component.d.ts +3 -1
- package/lib/star/rating-input/rating-input.directives.d.ts +2 -2
- package/lib/star/rating-input/rating-input.types.d.ts +1 -1
- package/lib/star/star-button/star-button.directives.d.ts +2 -2
- package/lib/star/star-button/star-button.types.d.ts +1 -1
- package/lib/star/star.directives.d.ts +2 -2
- package/package.json +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-OLD.css.map +1 -1
- package/prebuilt-themes/default/calendar.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/form-field-frame.css.map +1 -1
- package/prebuilt-themes/default/inputs/color-input.css.map +1 -1
- package/prebuilt-themes/default/inputs/date-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/search-bar.css.map +1 -1
- package/prebuilt-themes/default/inputs/simple-input.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/stars.css.map +1 -1
- package/prebuilt-themes/default/statebox.css.map +1 -1
- package/prebuilt-themes/default/tabber.css.map +1 -1
- package/themes/_variables.scss +121 -121
- package/themes/default/_mixins.scss +8 -2
- package/themes/default/buttons/_button-mixins.scss +3 -1
- package/themes/default/buttons/button.scss +79 -79
- package/themes/default/buttons/fab.scss +81 -81
- package/themes/default/buttons/icon-button.scss +62 -62
- package/themes/default/calendar-OLD.scss +183 -183
- package/themes/default/calendar.scss +4 -2
- package/themes/default/card.scss +135 -135
- package/themes/default/core.scss +102 -102
- package/themes/default/form-field-frame.scss +3 -1
- package/themes/default/form-field.scss +2 -2
- package/themes/default/inputs/_shared.scss +50 -50
- package/themes/default/inputs/date-input.scss +4 -5
- package/themes/default/inputs/digit-input.scss +3 -1
- package/themes/default/inputs/file-input.scss +79 -79
- package/themes/default/inputs/input.scss +1 -1
- package/themes/default/inputs/number-input.scss +131 -131
- package/themes/default/inputs/simple-input.scss +1 -1
- package/themes/default/kbd.scss +21 -21
- package/themes/default/modal.scss +94 -94
- package/themes/default/spinner.scss +21 -21
- package/themes/default/stars.scss +85 -85
package/themes/default/card.scss
CHANGED
|
@@ -1,135 +1,135 @@
|
|
|
1
|
-
@use '../variables' as ARD;
|
|
2
|
-
|
|
3
|
-
ard-card,
|
|
4
|
-
.ard-card {
|
|
5
|
-
position: relative;
|
|
6
|
-
background: ARD.$bg;
|
|
7
|
-
box-sizing: border-box;
|
|
8
|
-
width: 100%;
|
|
9
|
-
height: max-content;
|
|
10
|
-
display: block;
|
|
11
|
-
|
|
12
|
-
//! appearances
|
|
13
|
-
&.ard-appearance-outlined {
|
|
14
|
-
border: 1px solid ARD.$border-light;
|
|
15
|
-
}
|
|
16
|
-
&.ard-appearance-raised {
|
|
17
|
-
box-shadow: ARD.$card-shadow;
|
|
18
|
-
}
|
|
19
|
-
//! variants
|
|
20
|
-
&.ard-variant-sharp {
|
|
21
|
-
border-radius: 0;
|
|
22
|
-
}
|
|
23
|
-
&.ard-variant-rounded {
|
|
24
|
-
border-radius: 8px;
|
|
25
|
-
}
|
|
26
|
-
}
|
|
27
|
-
//! header
|
|
28
|
-
ard-card-header {
|
|
29
|
-
padding: 0.5em 1em 0 1em;
|
|
30
|
-
display: flex;
|
|
31
|
-
align-items: center;
|
|
32
|
-
margin-bottom: 1em;
|
|
33
|
-
max-width: 100%;
|
|
34
|
-
|
|
35
|
-
.ard-card-header-title-container {
|
|
36
|
-
display: flex;
|
|
37
|
-
flex-direction: column;
|
|
38
|
-
justify-content: center;
|
|
39
|
-
}
|
|
40
|
-
|
|
41
|
-
&:first-child {
|
|
42
|
-
padding-top: 1em;
|
|
43
|
-
}
|
|
44
|
-
}
|
|
45
|
-
.ard-card-title,
|
|
46
|
-
.ard-card-subtitle {
|
|
47
|
-
line-height: normal;
|
|
48
|
-
display: block;
|
|
49
|
-
margin: 0;
|
|
50
|
-
font-weight: 500;
|
|
51
|
-
}
|
|
52
|
-
.ard-card-title {
|
|
53
|
-
font-size: 1.375em;
|
|
54
|
-
letter-spacing: 0.0125em;
|
|
55
|
-
color: ARD.$text;
|
|
56
|
-
}
|
|
57
|
-
.ard-card-subtitle {
|
|
58
|
-
font-size: 1em;
|
|
59
|
-
letter-spacing: 0.0078125em;
|
|
60
|
-
color: ARD.$text3;
|
|
61
|
-
margin-top: 0.125rem;
|
|
62
|
-
}
|
|
63
|
-
.ard-card-avatar {
|
|
64
|
-
display: block;
|
|
65
|
-
width: 3em;
|
|
66
|
-
height: 3em;
|
|
67
|
-
border-radius: 9999px;
|
|
68
|
-
flex-shrink: 0;
|
|
69
|
-
object-fit: cover;
|
|
70
|
-
|
|
71
|
-
~ .ard-card-header-title-container {
|
|
72
|
-
padding: 0 1em;
|
|
73
|
-
}
|
|
74
|
-
}
|
|
75
|
-
//! image
|
|
76
|
-
.ard-card-image {
|
|
77
|
-
position: relative;
|
|
78
|
-
box-sizing: border-box;
|
|
79
|
-
background-repeat: no-repeat;
|
|
80
|
-
background-position: center;
|
|
81
|
-
background-size: cover;
|
|
82
|
-
max-width: 100%;
|
|
83
|
-
|
|
84
|
-
&:first-child {
|
|
85
|
-
border-top-left-radius: inherit;
|
|
86
|
-
border-top-right-radius: inherit;
|
|
87
|
-
}
|
|
88
|
-
&:last-child {
|
|
89
|
-
border-bottom-left-radius: inherit;
|
|
90
|
-
border-bottom-right-radius: inherit;
|
|
91
|
-
}
|
|
92
|
-
}
|
|
93
|
-
ard-card,
|
|
94
|
-
.ard-card {
|
|
95
|
-
.ard-appearance-outlined .ard-image {
|
|
96
|
-
border-bottom: 1px solid ARD.$border-light;
|
|
97
|
-
}
|
|
98
|
-
}
|
|
99
|
-
//! content
|
|
100
|
-
.ard-card-content {
|
|
101
|
-
padding: 0 1em;
|
|
102
|
-
display: block;
|
|
103
|
-
max-width: 100%;
|
|
104
|
-
|
|
105
|
-
&:first-child {
|
|
106
|
-
padding-top: 1em;
|
|
107
|
-
}
|
|
108
|
-
&:last-child {
|
|
109
|
-
padding-bottom: 1em;
|
|
110
|
-
}
|
|
111
|
-
|
|
112
|
-
> :last-child {
|
|
113
|
-
margin-bottom: 0;
|
|
114
|
-
}
|
|
115
|
-
}
|
|
116
|
-
//! action buttons
|
|
117
|
-
.ard-card-action-buttons {
|
|
118
|
-
padding: 0.5em;
|
|
119
|
-
display: flex;
|
|
120
|
-
flex-direction: row;
|
|
121
|
-
align-items: center;
|
|
122
|
-
max-width: 100%;
|
|
123
|
-
|
|
124
|
-
&.ard-align-left {
|
|
125
|
-
justify-content: flex-start;
|
|
126
|
-
}
|
|
127
|
-
&.ard-align-middle {
|
|
128
|
-
justify-content: center;
|
|
129
|
-
}
|
|
130
|
-
&.ard-align-right {
|
|
131
|
-
justify-content: flex-end;
|
|
132
|
-
}
|
|
133
|
-
}
|
|
134
|
-
//! footer
|
|
135
|
-
//no styling needed
|
|
1
|
+
@use '../variables' as ARD;
|
|
2
|
+
|
|
3
|
+
ard-card,
|
|
4
|
+
.ard-card {
|
|
5
|
+
position: relative;
|
|
6
|
+
background: ARD.$bg;
|
|
7
|
+
box-sizing: border-box;
|
|
8
|
+
width: 100%;
|
|
9
|
+
height: max-content;
|
|
10
|
+
display: block;
|
|
11
|
+
|
|
12
|
+
//! appearances
|
|
13
|
+
&.ard-appearance-outlined {
|
|
14
|
+
border: 1px solid ARD.$border-light;
|
|
15
|
+
}
|
|
16
|
+
&.ard-appearance-raised {
|
|
17
|
+
box-shadow: ARD.$card-shadow;
|
|
18
|
+
}
|
|
19
|
+
//! variants
|
|
20
|
+
&.ard-variant-sharp {
|
|
21
|
+
border-radius: 0;
|
|
22
|
+
}
|
|
23
|
+
&.ard-variant-rounded {
|
|
24
|
+
border-radius: 8px;
|
|
25
|
+
}
|
|
26
|
+
}
|
|
27
|
+
//! header
|
|
28
|
+
ard-card-header {
|
|
29
|
+
padding: 0.5em 1em 0 1em;
|
|
30
|
+
display: flex;
|
|
31
|
+
align-items: center;
|
|
32
|
+
margin-bottom: 1em;
|
|
33
|
+
max-width: 100%;
|
|
34
|
+
|
|
35
|
+
.ard-card-header-title-container {
|
|
36
|
+
display: flex;
|
|
37
|
+
flex-direction: column;
|
|
38
|
+
justify-content: center;
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
&:first-child {
|
|
42
|
+
padding-top: 1em;
|
|
43
|
+
}
|
|
44
|
+
}
|
|
45
|
+
.ard-card-title,
|
|
46
|
+
.ard-card-subtitle {
|
|
47
|
+
line-height: normal;
|
|
48
|
+
display: block;
|
|
49
|
+
margin: 0;
|
|
50
|
+
font-weight: 500;
|
|
51
|
+
}
|
|
52
|
+
.ard-card-title {
|
|
53
|
+
font-size: 1.375em;
|
|
54
|
+
letter-spacing: 0.0125em;
|
|
55
|
+
color: ARD.$text;
|
|
56
|
+
}
|
|
57
|
+
.ard-card-subtitle {
|
|
58
|
+
font-size: 1em;
|
|
59
|
+
letter-spacing: 0.0078125em;
|
|
60
|
+
color: ARD.$text3;
|
|
61
|
+
margin-top: 0.125rem;
|
|
62
|
+
}
|
|
63
|
+
.ard-card-avatar {
|
|
64
|
+
display: block;
|
|
65
|
+
width: 3em;
|
|
66
|
+
height: 3em;
|
|
67
|
+
border-radius: 9999px;
|
|
68
|
+
flex-shrink: 0;
|
|
69
|
+
object-fit: cover;
|
|
70
|
+
|
|
71
|
+
~ .ard-card-header-title-container {
|
|
72
|
+
padding: 0 1em;
|
|
73
|
+
}
|
|
74
|
+
}
|
|
75
|
+
//! image
|
|
76
|
+
.ard-card-image {
|
|
77
|
+
position: relative;
|
|
78
|
+
box-sizing: border-box;
|
|
79
|
+
background-repeat: no-repeat;
|
|
80
|
+
background-position: center;
|
|
81
|
+
background-size: cover;
|
|
82
|
+
max-width: 100%;
|
|
83
|
+
|
|
84
|
+
&:first-child {
|
|
85
|
+
border-top-left-radius: inherit;
|
|
86
|
+
border-top-right-radius: inherit;
|
|
87
|
+
}
|
|
88
|
+
&:last-child {
|
|
89
|
+
border-bottom-left-radius: inherit;
|
|
90
|
+
border-bottom-right-radius: inherit;
|
|
91
|
+
}
|
|
92
|
+
}
|
|
93
|
+
ard-card,
|
|
94
|
+
.ard-card {
|
|
95
|
+
.ard-appearance-outlined .ard-image {
|
|
96
|
+
border-bottom: 1px solid ARD.$border-light;
|
|
97
|
+
}
|
|
98
|
+
}
|
|
99
|
+
//! content
|
|
100
|
+
.ard-card-content {
|
|
101
|
+
padding: 0 1em;
|
|
102
|
+
display: block;
|
|
103
|
+
max-width: 100%;
|
|
104
|
+
|
|
105
|
+
&:first-child {
|
|
106
|
+
padding-top: 1em;
|
|
107
|
+
}
|
|
108
|
+
&:last-child {
|
|
109
|
+
padding-bottom: 1em;
|
|
110
|
+
}
|
|
111
|
+
|
|
112
|
+
> :last-child {
|
|
113
|
+
margin-bottom: 0;
|
|
114
|
+
}
|
|
115
|
+
}
|
|
116
|
+
//! action buttons
|
|
117
|
+
.ard-card-action-buttons {
|
|
118
|
+
padding: 0.5em;
|
|
119
|
+
display: flex;
|
|
120
|
+
flex-direction: row;
|
|
121
|
+
align-items: center;
|
|
122
|
+
max-width: 100%;
|
|
123
|
+
|
|
124
|
+
&.ard-align-left {
|
|
125
|
+
justify-content: flex-start;
|
|
126
|
+
}
|
|
127
|
+
&.ard-align-middle {
|
|
128
|
+
justify-content: center;
|
|
129
|
+
}
|
|
130
|
+
&.ard-align-right {
|
|
131
|
+
justify-content: flex-end;
|
|
132
|
+
}
|
|
133
|
+
}
|
|
134
|
+
//! footer
|
|
135
|
+
//no styling needed
|
package/themes/default/core.scss
CHANGED
|
@@ -1,102 +1,102 @@
|
|
|
1
|
-
@use '../variables';
|
|
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
|
-
:root {
|
|
7
|
-
--ard-bg: white;
|
|
8
|
-
--ard-bg-alt: black;
|
|
9
|
-
--ard-overlay: black;
|
|
10
|
-
--ard-overlay-rgb: 0, 0, 0;
|
|
11
|
-
--ard-bg-filled: #ebebeb;
|
|
12
|
-
--ard-bg-darker: #f7f7f7;
|
|
13
|
-
--ard-bg-filled-alt: #333;
|
|
14
|
-
--ard-text: rgba(0, 0, 0, 100%);
|
|
15
|
-
--ard-text2: rgba(0, 0, 0, 87%);
|
|
16
|
-
--ard-text3: rgba(0, 0, 0, 75%);
|
|
17
|
-
--ard-text-alt: rgba(255, 255, 255, 100%);
|
|
18
|
-
--ard-text2-alt: rgba(255, 255, 255, 87%);
|
|
19
|
-
--ard-text3-alt: rgba(255, 255, 255, 75%);
|
|
20
|
-
--ard-border: rgba(0, 0, 0, 40%);
|
|
21
|
-
--ard-border-dark: rgba(0, 0, 0, 70%);
|
|
22
|
-
--ard-border-light: rgba(0, 0, 0, 25%);
|
|
23
|
-
--ard-detail: rgba(0, 0, 0, 60%);
|
|
24
|
-
--ard-detail-light: rgba(0, 0, 0, 30%);
|
|
25
|
-
--ard-detail-ultralight: rgba(0, 0, 0, 12%);
|
|
26
|
-
--ard-detail-ultralight-solid: rgb(204, 204, 204);
|
|
27
|
-
--ard-lighten-overlay: rgba(255, 255, 255, 12.5%);
|
|
28
|
-
--ard-lighten-overlay-strong: rgba(255, 255, 255, 20%);
|
|
29
|
-
--ard-lighten-overlay-medium: rgba(255, 255, 255, 10%);
|
|
30
|
-
--ard-lighten-overlay-light: rgba(255, 255, 255, 5%);
|
|
31
|
-
--ard-darken-overlay: rgba(0, 0, 0, 12.5%);
|
|
32
|
-
--ard-darken-overlay-strong: rgba(0, 0, 0, 20%);
|
|
33
|
-
--ard-darken-overlay-medium: rgba(0, 0, 0, 10%);
|
|
34
|
-
--ard-darken-overlay-light: rgba(0, 0, 0, 5%);
|
|
35
|
-
--ard-darken-overlay-ultralight: rgba(0, 0, 0, 3%);
|
|
36
|
-
|
|
37
|
-
--ard-gold: #ffc107;
|
|
38
|
-
|
|
39
|
-
--ard-clear-button-size: 0.9rem;
|
|
40
|
-
--ard-dropdown-button-size: 0.4rem;
|
|
41
|
-
|
|
42
|
-
--ard-primary-50: 234, 235, 243;
|
|
43
|
-
--ard-primary-100: 159, 167, 228;
|
|
44
|
-
--ard-primary-300: 78, 99, 219;
|
|
45
|
-
--ard-primary-500: 36, 56, 185;
|
|
46
|
-
--ard-primary-700: 27, 42, 128;
|
|
47
|
-
--ard-primary-900: 19, 28, 87;
|
|
48
|
-
|
|
49
|
-
--ard-secondary-50: 229, 172, 243;
|
|
50
|
-
--ard-secondary-100: 216, 107, 243;
|
|
51
|
-
--ard-secondary-300: 195, 38, 238;
|
|
52
|
-
--ard-secondary-500: 145, 13, 182;
|
|
53
|
-
--ard-secondary-700: 103, 10, 129;
|
|
54
|
-
--ard-secondary-900: 69, 7, 85;
|
|
55
|
-
|
|
56
|
-
--ard-danger-50: 255, 233, 233;
|
|
57
|
-
--ard-danger-100: 243, 151, 149;
|
|
58
|
-
--ard-danger-300: 245, 103, 100;
|
|
59
|
-
--ard-danger-500: 243, 55, 52;
|
|
60
|
-
--ard-danger-700: 202, 17, 14;
|
|
61
|
-
--ard-danger-900: 165, 13, 11;
|
|
62
|
-
|
|
63
|
-
--ard-warn-50: 248, 224, 192;
|
|
64
|
-
--ard-warn-100: 247, 196, 129;
|
|
65
|
-
--ard-warn-300: 240, 169, 77;
|
|
66
|
-
--ard-warn-500: 224, 140, 38;
|
|
67
|
-
--ard-warn-700: 173, 101, 13;
|
|
68
|
-
--ard-warn-900: 117, 69, 7;
|
|
69
|
-
|
|
70
|
-
--ard-success-50: 184, 240, 187;
|
|
71
|
-
--ard-success-100: 124, 230, 129;
|
|
72
|
-
--ard-success-300: 73, 223, 80;
|
|
73
|
-
--ard-success-500: 33, 179, 40;
|
|
74
|
-
--ard-success-700: 27, 131, 33;
|
|
75
|
-
--ard-success-900: 14, 82, 17;
|
|
76
|
-
|
|
77
|
-
--ard-info-50: 187, 210, 241;
|
|
78
|
-
--ard-info-100: 131, 180, 243;
|
|
79
|
-
--ard-info-300: 76, 147, 240;
|
|
80
|
-
--ard-info-500: 19, 113, 236;
|
|
81
|
-
--ard-info-700: 13, 81, 172;
|
|
82
|
-
--ard-info-900: 8, 49, 102;
|
|
83
|
-
|
|
84
|
-
--ard-box-shadow: 0 0 13px -3px rgba(0, 0, 0, 0.7);
|
|
85
|
-
--ard-card-shadow: 0px 2px 1px -1px rgba(0, 0, 0, 0.2), 0px 1px 1px 0px rgba(0, 0, 0, 0.14), 0px 1px 3px 0px rgba(0, 0, 0, 0.12);
|
|
86
|
-
|
|
87
|
-
--ard-simple-shadow: 0px 3px 1px -2px rgba(0, 0, 0, 0.2), 0px 2px 2px 0px rgba(0, 0, 0, 0.14),
|
|
88
|
-
0px 1px 5px 0px rgba(0, 0, 0, 0.12);
|
|
89
|
-
--ard-simple-shadow2: 0px 2px 4px -1px rgba(0, 0, 0, 0.2), 0px 4px 5px 0px rgba(0, 0, 0, 0.14),
|
|
90
|
-
0px 1px 10px 0px rgba(0, 0, 0, 0.12);
|
|
91
|
-
--ard-simple-shadow3: 0px 5px 5px -3px rgba(0, 0, 0, 0.2), 0px 8px 10px 1px rgba(0, 0, 0, 0.14),
|
|
92
|
-
0px 3px 14px 2px rgba(0, 0, 0, 0.12);
|
|
93
|
-
|
|
94
|
-
--ard-spinner-color: rgba(0, 0, 0, 50%);
|
|
95
|
-
|
|
96
|
-
--ard-horizontal-form-field-label-width: 12rem;
|
|
97
|
-
--ard-horizontal-form-field-label-align: flex-start;
|
|
98
|
-
}
|
|
99
|
-
|
|
100
|
-
.ard-disabled {
|
|
101
|
-
pointer-events: none;
|
|
102
|
-
}
|
|
1
|
+
@use '../variables';
|
|
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
|
+
:root {
|
|
7
|
+
--ard-bg: white;
|
|
8
|
+
--ard-bg-alt: black;
|
|
9
|
+
--ard-overlay: black;
|
|
10
|
+
--ard-overlay-rgb: 0, 0, 0;
|
|
11
|
+
--ard-bg-filled: #ebebeb;
|
|
12
|
+
--ard-bg-darker: #f7f7f7;
|
|
13
|
+
--ard-bg-filled-alt: #333;
|
|
14
|
+
--ard-text: rgba(0, 0, 0, 100%);
|
|
15
|
+
--ard-text2: rgba(0, 0, 0, 87%);
|
|
16
|
+
--ard-text3: rgba(0, 0, 0, 75%);
|
|
17
|
+
--ard-text-alt: rgba(255, 255, 255, 100%);
|
|
18
|
+
--ard-text2-alt: rgba(255, 255, 255, 87%);
|
|
19
|
+
--ard-text3-alt: rgba(255, 255, 255, 75%);
|
|
20
|
+
--ard-border: rgba(0, 0, 0, 40%);
|
|
21
|
+
--ard-border-dark: rgba(0, 0, 0, 70%);
|
|
22
|
+
--ard-border-light: rgba(0, 0, 0, 25%);
|
|
23
|
+
--ard-detail: rgba(0, 0, 0, 60%);
|
|
24
|
+
--ard-detail-light: rgba(0, 0, 0, 30%);
|
|
25
|
+
--ard-detail-ultralight: rgba(0, 0, 0, 12%);
|
|
26
|
+
--ard-detail-ultralight-solid: rgb(204, 204, 204);
|
|
27
|
+
--ard-lighten-overlay: rgba(255, 255, 255, 12.5%);
|
|
28
|
+
--ard-lighten-overlay-strong: rgba(255, 255, 255, 20%);
|
|
29
|
+
--ard-lighten-overlay-medium: rgba(255, 255, 255, 10%);
|
|
30
|
+
--ard-lighten-overlay-light: rgba(255, 255, 255, 5%);
|
|
31
|
+
--ard-darken-overlay: rgba(0, 0, 0, 12.5%);
|
|
32
|
+
--ard-darken-overlay-strong: rgba(0, 0, 0, 20%);
|
|
33
|
+
--ard-darken-overlay-medium: rgba(0, 0, 0, 10%);
|
|
34
|
+
--ard-darken-overlay-light: rgba(0, 0, 0, 5%);
|
|
35
|
+
--ard-darken-overlay-ultralight: rgba(0, 0, 0, 3%);
|
|
36
|
+
|
|
37
|
+
--ard-gold: #ffc107;
|
|
38
|
+
|
|
39
|
+
--ard-clear-button-size: 0.9rem;
|
|
40
|
+
--ard-dropdown-button-size: 0.4rem;
|
|
41
|
+
|
|
42
|
+
--ard-primary-50: 234, 235, 243;
|
|
43
|
+
--ard-primary-100: 159, 167, 228;
|
|
44
|
+
--ard-primary-300: 78, 99, 219;
|
|
45
|
+
--ard-primary-500: 36, 56, 185;
|
|
46
|
+
--ard-primary-700: 27, 42, 128;
|
|
47
|
+
--ard-primary-900: 19, 28, 87;
|
|
48
|
+
|
|
49
|
+
--ard-secondary-50: 229, 172, 243;
|
|
50
|
+
--ard-secondary-100: 216, 107, 243;
|
|
51
|
+
--ard-secondary-300: 195, 38, 238;
|
|
52
|
+
--ard-secondary-500: 145, 13, 182;
|
|
53
|
+
--ard-secondary-700: 103, 10, 129;
|
|
54
|
+
--ard-secondary-900: 69, 7, 85;
|
|
55
|
+
|
|
56
|
+
--ard-danger-50: 255, 233, 233;
|
|
57
|
+
--ard-danger-100: 243, 151, 149;
|
|
58
|
+
--ard-danger-300: 245, 103, 100;
|
|
59
|
+
--ard-danger-500: 243, 55, 52;
|
|
60
|
+
--ard-danger-700: 202, 17, 14;
|
|
61
|
+
--ard-danger-900: 165, 13, 11;
|
|
62
|
+
|
|
63
|
+
--ard-warn-50: 248, 224, 192;
|
|
64
|
+
--ard-warn-100: 247, 196, 129;
|
|
65
|
+
--ard-warn-300: 240, 169, 77;
|
|
66
|
+
--ard-warn-500: 224, 140, 38;
|
|
67
|
+
--ard-warn-700: 173, 101, 13;
|
|
68
|
+
--ard-warn-900: 117, 69, 7;
|
|
69
|
+
|
|
70
|
+
--ard-success-50: 184, 240, 187;
|
|
71
|
+
--ard-success-100: 124, 230, 129;
|
|
72
|
+
--ard-success-300: 73, 223, 80;
|
|
73
|
+
--ard-success-500: 33, 179, 40;
|
|
74
|
+
--ard-success-700: 27, 131, 33;
|
|
75
|
+
--ard-success-900: 14, 82, 17;
|
|
76
|
+
|
|
77
|
+
--ard-info-50: 187, 210, 241;
|
|
78
|
+
--ard-info-100: 131, 180, 243;
|
|
79
|
+
--ard-info-300: 76, 147, 240;
|
|
80
|
+
--ard-info-500: 19, 113, 236;
|
|
81
|
+
--ard-info-700: 13, 81, 172;
|
|
82
|
+
--ard-info-900: 8, 49, 102;
|
|
83
|
+
|
|
84
|
+
--ard-box-shadow: 0 0 13px -3px rgba(0, 0, 0, 0.7);
|
|
85
|
+
--ard-card-shadow: 0px 2px 1px -1px rgba(0, 0, 0, 0.2), 0px 1px 1px 0px rgba(0, 0, 0, 0.14), 0px 1px 3px 0px rgba(0, 0, 0, 0.12);
|
|
86
|
+
|
|
87
|
+
--ard-simple-shadow: 0px 3px 1px -2px rgba(0, 0, 0, 0.2), 0px 2px 2px 0px rgba(0, 0, 0, 0.14),
|
|
88
|
+
0px 1px 5px 0px rgba(0, 0, 0, 0.12);
|
|
89
|
+
--ard-simple-shadow2: 0px 2px 4px -1px rgba(0, 0, 0, 0.2), 0px 4px 5px 0px rgba(0, 0, 0, 0.14),
|
|
90
|
+
0px 1px 10px 0px rgba(0, 0, 0, 0.12);
|
|
91
|
+
--ard-simple-shadow3: 0px 5px 5px -3px rgba(0, 0, 0, 0.2), 0px 8px 10px 1px rgba(0, 0, 0, 0.14),
|
|
92
|
+
0px 3px 14px 2px rgba(0, 0, 0, 0.12);
|
|
93
|
+
|
|
94
|
+
--ard-spinner-color: rgba(0, 0, 0, 50%);
|
|
95
|
+
|
|
96
|
+
--ard-horizontal-form-field-label-width: 12rem;
|
|
97
|
+
--ard-horizontal-form-field-label-align: flex-start;
|
|
98
|
+
}
|
|
99
|
+
|
|
100
|
+
.ard-disabled {
|
|
101
|
+
pointer-events: none;
|
|
102
|
+
}
|
|
@@ -53,7 +53,9 @@
|
|
|
53
53
|
.ard-form-field-overlay {
|
|
54
54
|
background: ARD.$overlay;
|
|
55
55
|
opacity: 0;
|
|
56
|
-
transition:
|
|
56
|
+
transition:
|
|
57
|
+
opacity 0.15s ARD.$timing-fn,
|
|
58
|
+
background-color 0.15s ARD.$timing-fn;
|
|
57
59
|
}
|
|
58
60
|
|
|
59
61
|
&:hover {
|
|
@@ -71,7 +71,7 @@ ard-horizontal-form-field {
|
|
|
71
71
|
justify-content: stretch;
|
|
72
72
|
flex-direction: row;
|
|
73
73
|
gap: 0.5rem;
|
|
74
|
-
|
|
74
|
+
|
|
75
75
|
.ard-form-field__label-container {
|
|
76
76
|
width: var(--ard-horizontal-form-field-label-width, 12rem);
|
|
77
77
|
height: 2.3125rem;
|
|
@@ -97,4 +97,4 @@ ard-horizontal-form-field {
|
|
|
97
97
|
to {
|
|
98
98
|
height: 1.1em;
|
|
99
99
|
}
|
|
100
|
-
}
|
|
100
|
+
}
|
|
@@ -1,50 +1,50 @@
|
|
|
1
|
-
@use '../../variables' as ARD;
|
|
2
|
-
|
|
3
|
-
/**
|
|
4
|
-
* Should be applied to the first element in the component's template.
|
|
5
|
-
*/
|
|
6
|
-
@mixin genericInput() {
|
|
7
|
-
position: relative;
|
|
8
|
-
font-family: 'Roboto', sans-serif;
|
|
9
|
-
display: flex;
|
|
10
|
-
align-items: center;
|
|
11
|
-
justify-content: stretch;
|
|
12
|
-
gap: 0.625em;
|
|
13
|
-
cursor: text;
|
|
14
|
-
box-sizing: border-box;
|
|
15
|
-
font-size: 1rem;
|
|
16
|
-
line-height: 1.25em;
|
|
17
|
-
|
|
18
|
-
.ard-input-container {
|
|
19
|
-
flex-grow: 1;
|
|
20
|
-
text-size-adjust: 100%;
|
|
21
|
-
display: flex;
|
|
22
|
-
align-items: center;
|
|
23
|
-
|
|
24
|
-
.ard-placeholder {
|
|
25
|
-
font: inherit;
|
|
26
|
-
opacity: 60%;
|
|
27
|
-
white-space: nowrap;
|
|
28
|
-
overflow: hidden;
|
|
29
|
-
text-overflow: ellipsis;
|
|
30
|
-
max-width: 100%;
|
|
31
|
-
pointer-events: none;
|
|
32
|
-
}
|
|
33
|
-
|
|
34
|
-
input {
|
|
35
|
-
border: none;
|
|
36
|
-
background: transparent;
|
|
37
|
-
outline: none;
|
|
38
|
-
font: inherit;
|
|
39
|
-
padding: 0;
|
|
40
|
-
display: block;
|
|
41
|
-
width: 100%;
|
|
42
|
-
}
|
|
43
|
-
}
|
|
44
|
-
//! compact
|
|
45
|
-
&.ard-compact {
|
|
46
|
-
height: 1.5625em;
|
|
47
|
-
font-size: 0.85em;
|
|
48
|
-
line-height: 1;
|
|
49
|
-
}
|
|
50
|
-
}
|
|
1
|
+
@use '../../variables' as ARD;
|
|
2
|
+
|
|
3
|
+
/**
|
|
4
|
+
* Should be applied to the first element in the component's template.
|
|
5
|
+
*/
|
|
6
|
+
@mixin genericInput() {
|
|
7
|
+
position: relative;
|
|
8
|
+
font-family: 'Roboto', sans-serif;
|
|
9
|
+
display: flex;
|
|
10
|
+
align-items: center;
|
|
11
|
+
justify-content: stretch;
|
|
12
|
+
gap: 0.625em;
|
|
13
|
+
cursor: text;
|
|
14
|
+
box-sizing: border-box;
|
|
15
|
+
font-size: 1rem;
|
|
16
|
+
line-height: 1.25em;
|
|
17
|
+
|
|
18
|
+
.ard-input-container {
|
|
19
|
+
flex-grow: 1;
|
|
20
|
+
text-size-adjust: 100%;
|
|
21
|
+
display: flex;
|
|
22
|
+
align-items: center;
|
|
23
|
+
|
|
24
|
+
.ard-placeholder {
|
|
25
|
+
font: inherit;
|
|
26
|
+
opacity: 60%;
|
|
27
|
+
white-space: nowrap;
|
|
28
|
+
overflow: hidden;
|
|
29
|
+
text-overflow: ellipsis;
|
|
30
|
+
max-width: 100%;
|
|
31
|
+
pointer-events: none;
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
input {
|
|
35
|
+
border: none;
|
|
36
|
+
background: transparent;
|
|
37
|
+
outline: none;
|
|
38
|
+
font: inherit;
|
|
39
|
+
padding: 0;
|
|
40
|
+
display: block;
|
|
41
|
+
width: 100%;
|
|
42
|
+
}
|
|
43
|
+
}
|
|
44
|
+
//! compact
|
|
45
|
+
&.ard-compact {
|
|
46
|
+
height: 1.5625em;
|
|
47
|
+
font-size: 0.85em;
|
|
48
|
+
line-height: 1;
|
|
49
|
+
}
|
|
50
|
+
}
|
|
@@ -1,8 +1,7 @@
|
|
|
1
1
|
@use './shared' as S;
|
|
2
2
|
@use '../../variables' as ARD;
|
|
3
3
|
|
|
4
|
-
ard-date-input
|
|
5
|
-
.ard-date-input {
|
|
4
|
+
ard-date-input .ard-date-input {
|
|
6
5
|
@include S.genericInput();
|
|
7
6
|
padding-left: 0.375rem;
|
|
8
7
|
|
|
@@ -13,8 +12,8 @@ ard-date-input
|
|
|
13
12
|
position: absolute;
|
|
14
13
|
}
|
|
15
14
|
.ard-date-input__input-container {
|
|
16
|
-
|
|
17
|
-
|
|
15
|
+
position: absolute;
|
|
16
|
+
inset: 0;
|
|
18
17
|
|
|
19
18
|
&.ard-date-input__input-container-hidden {
|
|
20
19
|
position: absolute;
|
|
@@ -29,4 +28,4 @@ ard-date-input
|
|
|
29
28
|
padding: 0 2.625rem 0 0.375rem;
|
|
30
29
|
}
|
|
31
30
|
}
|
|
32
|
-
}
|
|
31
|
+
}
|
|
@@ -39,7 +39,9 @@ ard-digit-input {
|
|
|
39
39
|
background: var(--ard-appearance-background);
|
|
40
40
|
border: var(--ard-appearance-border);
|
|
41
41
|
border-radius: var(--ard-variant-border-radius);
|
|
42
|
-
transition:
|
|
42
|
+
transition:
|
|
43
|
+
border-color 0.15s ARD.$timing-fn,
|
|
44
|
+
background-color 0.15s ARD.$timing-fn;
|
|
43
45
|
|
|
44
46
|
&::placeholder {
|
|
45
47
|
color: ARD.$text3;
|