@dynamic-framework/ui-react 1.1.5 → 1.2.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/dist/css/dynamic-ui-all.css +1 -0
- package/dist/css/dynamic-ui-react.css +1 -1
- package/dist/css/dynamic-ui.css +1 -0
- package/dist/index.esm.js +192 -54
- package/dist/index.esm.js.map +1 -1
- package/dist/index.js +206 -54
- package/dist/index.js.map +1 -1
- package/dist/types/components/MBoxFile.d.ts +1 -1
- package/dist/types/components/MCard.d.ts +7 -0
- package/dist/types/components/MCardAccount.d.ts +13 -0
- package/dist/types/components/MCardBody.d.ts +6 -0
- package/dist/types/components/MCardFooter.d.ts +6 -0
- package/dist/types/components/MCardHeader.d.ts +6 -0
- package/dist/types/components/MCarousel.d.ts +7 -0
- package/dist/types/components/MCarouselSlide.d.ts +5 -0
- package/dist/types/components/MCollapse.d.ts +1 -1
- package/dist/types/components/MCurrencyText.d.ts +1 -2
- package/dist/types/components/MDatePicker.d.ts +20 -0
- package/dist/types/components/MDatePickerHeader.d.ts +19 -0
- package/dist/types/components/MDatePickerInput.d.ts +9 -0
- package/dist/types/components/MDatePickerTime.d.ts +9 -0
- package/dist/types/components/MFormikInput.d.ts +1 -1
- package/dist/types/components/MFormikInputCurrency.d.ts +7 -0
- package/dist/types/components/MFormikInputSelect.d.ts +1 -1
- package/dist/types/components/MInputCurrency.d.ts +3 -1
- package/dist/types/components/MList.d.ts +10 -0
- package/dist/types/components/MListItem.d.ts +10 -0
- package/dist/types/components/MListItemMovement.d.ts +10 -0
- package/dist/types/components/MMonthPicker.d.ts +7 -0
- package/dist/types/components/MPaginator.d.ts +12 -0
- package/dist/types/components/MPopover.d.ts +1 -1
- package/dist/types/components/MSkeleton.d.ts +1 -1
- package/dist/types/components/MStepper.d.ts +12 -0
- package/dist/types/components/MTabContent.d.ts +1 -1
- package/dist/types/components/MTabs.d.ts +1 -1
- package/dist/types/components/MToastContainer.d.ts +1 -1
- package/dist/types/components/MTooltip.d.ts +1 -1
- package/dist/types/components/banking/MCollapseIconText.d.ts +1 -1
- package/dist/types/components/banking/MPermissionGroup.d.ts +1 -2
- package/dist/types/components/banking/MPermissionItem.d.ts +1 -2
- package/dist/types/components/banking/MSummaryCard.d.ts +1 -1
- package/dist/types/components/index.d.ts +13 -1
- package/dist/types/contexts/LiquidContext.d.ts +1 -1
- package/dist/types/contexts/ModalContext.d.ts +1 -1
- package/dist/types/contexts/OffcanvasContext.d.ts +1 -1
- package/dist/types/stories/components/MCard.stories.d.ts +10 -0
- package/dist/types/stories/components/MCardAccount.stories.d.ts +6 -0
- package/dist/types/stories/components/MCarousel.stories.d.ts +9 -0
- package/dist/types/stories/components/MDatePicker.stories.d.ts +14 -0
- package/dist/types/stories/components/MFormikInputCurrency.stories.d.ts +8 -0
- package/dist/types/stories/components/MList.stories.d.ts +10 -0
- package/dist/types/stories/components/MListItem.stories.d.ts +9 -0
- package/dist/types/stories/components/MListItemMovement.stories.d.ts +7 -0
- package/dist/types/stories/components/MPaginator.stories.d.ts +10 -0
- package/dist/types/stories/components/MStepper.stories.d.ts +7 -0
- package/dist/types/stories/hooks/useFormatCurrency.stories.d.ts +1 -2
- package/dist/types/stories/hooks/useModalContext.stories.d.ts +1 -2
- package/dist/types/stories/hooks/useOffcanvasContext.stories.d.ts +1 -2
- package/dist/types/stories/hooks/useToast.stories.d.ts +1 -2
- package/dist/types/utils/index.d.ts +1 -0
- package/package.json +16 -13
- package/src/style/components/_+import.scss +7 -1
- package/src/style/components/_m-card-account.scss +15 -0
- package/src/style/components/_m-carousel.scss +44 -0
- package/src/style/components/_m-datepicker.scss +224 -0
- package/src/style/components/_m-monthpicker.scss +90 -0
- package/src/style/components/_m-paginator.scss +98 -0
- package/src/style/components/_m-stepper.scss +156 -0
- package/src/style/components/_m-timepicker.scss +37 -0
- package/src/style/dynamic-ui-all.scss +3 -0
- package/src/style/dynamic-ui.scss +1 -0
- package/dist/types/components/MCalendar.d.ts +0 -25
- package/dist/types/stories/components/MCalendar.stories.d.ts +0 -6
- package/src/style/abstracts/variables/_calendar.scss +0 -19
- package/src/style/components/_m-calendar.scss +0 -205
- /package/dist/types/stories/{patterns → components}/MBadge.stories.d.ts +0 -0
- /package/dist/types/stories/{patterns → components}/MChip.stories.d.ts +0 -0
- /package/src/style/{main.scss → dynamic-ui-react.scss} +0 -0
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
.m-card-account {
|
|
2
|
+
// Card
|
|
3
|
+
--#{$prefix}card-border-width: 0px;
|
|
4
|
+
--#{$prefix}card-spacer-y: #{$spacer};
|
|
5
|
+
--#{$prefix}card-spacer-x: #{$spacer};
|
|
6
|
+
--#{$prefix}card-color: var(--#{$prefix}body-color);
|
|
7
|
+
// Card body
|
|
8
|
+
--#{$prefix}card-body-gap: #{$spacer};
|
|
9
|
+
|
|
10
|
+
.card-body {
|
|
11
|
+
display: flex;
|
|
12
|
+
flex-direction: column;
|
|
13
|
+
gap: var(--#{$prefix}card-body-gap);
|
|
14
|
+
}
|
|
15
|
+
}
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
@import "@splidejs/splide/src/css/template/default/index";
|
|
2
|
+
|
|
3
|
+
.m-carousel {
|
|
4
|
+
// Arrows
|
|
5
|
+
--#{$prefix}m-carousel-arrow-space: calc(var(--#{$prefix}ref-spacer-3) * -1);
|
|
6
|
+
// Pagination
|
|
7
|
+
--#{$prefix}m-carousel-pagination-bottom: calc(var(--#{$prefix}ref-spacer-3) * -1);
|
|
8
|
+
--#{$prefix}m-carousel-pagination-page-bg: var(--#{$prefix}secondary-100);
|
|
9
|
+
--#{$prefix}m-carousel-pagination-active-page-bg: var(--#{$prefix}secondary);
|
|
10
|
+
// :focus
|
|
11
|
+
--#{$prefix}m-carousel-focus-outline-color: var(--#{$prefix}focus-ring-color);
|
|
12
|
+
|
|
13
|
+
.m-carousel-arrows {
|
|
14
|
+
|
|
15
|
+
.m-carousel-arrow.m-carousel-arrow-prev {
|
|
16
|
+
left: var(--#{$prefix}m-carousel-arrow-space);
|
|
17
|
+
}
|
|
18
|
+
.m-carousel-arrow.m-carousel-arrow-next {
|
|
19
|
+
right: var(--#{$prefix}m-carousel-arrow-space);
|
|
20
|
+
}
|
|
21
|
+
}
|
|
22
|
+
.m-carousel-pagination {
|
|
23
|
+
bottom: var(--#{$prefix}m-carousel-pagination-bottom);
|
|
24
|
+
|
|
25
|
+
.m-carousel-pagination-page {
|
|
26
|
+
background-color: var(--#{$prefix}m-carousel-pagination-page-bg);
|
|
27
|
+
|
|
28
|
+
&.is-active {
|
|
29
|
+
background-color: var(--#{$prefix}m-carousel-pagination-active-page-bg);
|
|
30
|
+
}
|
|
31
|
+
}
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
&.splide.is-focus-in .m-carousel-arrow:focus,
|
|
35
|
+
&.splide.is-focus-in .m-carousel-pagination-page:focus {
|
|
36
|
+
outline-color: var(--#{$prefix}m-carousel-focus-outline-color);
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
.m-carousel-slide.is-active.is-visible {
|
|
40
|
+
> * {
|
|
41
|
+
// TODO: ASK. Exist active state on slide(?)
|
|
42
|
+
}
|
|
43
|
+
}
|
|
44
|
+
}
|
|
@@ -0,0 +1,224 @@
|
|
|
1
|
+
@import "react-datepicker/src/stylesheets/datepicker";
|
|
2
|
+
|
|
3
|
+
// stylelint-disable selector-class-pattern
|
|
4
|
+
|
|
5
|
+
.react-datepicker {
|
|
6
|
+
--#{$prefix}m-datepicker-font-family: var(--#{$prefix}font-sans-serif);
|
|
7
|
+
--#{$prefix}m-datepicker-border: 0px;
|
|
8
|
+
--#{$prefix}m-datepicker-box-shadow: var(--#{$prefix}box-shadow);
|
|
9
|
+
--#{$prefix}m-datepicker-font-size: var(--#{$prefix}ref-spacer-3);
|
|
10
|
+
|
|
11
|
+
// Header variables
|
|
12
|
+
--#{$prefix}m-datepicker-header-gap: var(--#{$prefix}ref-spacer-3);
|
|
13
|
+
--#{$prefix}m-datepicker-header-padding: var(--#{$prefix}ref-spacer-3) var(--#{$prefix}ref-spacer-4);
|
|
14
|
+
--#{$prefix}m-datepicker-header-background-color: var(--#{$prefix}indigo-soft);
|
|
15
|
+
--#{$prefix}m-datepicker-header-border: 0;
|
|
16
|
+
--#{$prefix}m-datepicker-header-font-size: var(--#{$prefix}ref-fs-6);
|
|
17
|
+
|
|
18
|
+
--#{$prefix}m-datepicker-day-names-margin: 0;
|
|
19
|
+
--#{$prefix}m-datepicker-day-names-font-size: var(--#{$prefix}ref-spacer-3);
|
|
20
|
+
|
|
21
|
+
--#{$prefix}m-datepicker-day-name-weight: var(--#{$prefix}ref-fw-bold);
|
|
22
|
+
--#{$prefix}m-datepicker-day-name-margin: 0;
|
|
23
|
+
--#{$prefix}m-datepicker-day-name-size: 20px;
|
|
24
|
+
--#{$prefix}m-datepicker-day-name-color: var(--#{$prefix}gray-500);
|
|
25
|
+
|
|
26
|
+
// Calendar variables
|
|
27
|
+
--#{$prefix}m-datepicker-month-gap: var(--#{$prefix}ref-fs-subparagraph);
|
|
28
|
+
--#{$prefix}m-datepicker-month-padding: var(--#{$prefix}ref-spacer-3) var(--#{$prefix}ref-spacer-4) var(--#{$prefix}ref-spacer-4);
|
|
29
|
+
--#{$prefix}m-datepicker-month-margin: 0;
|
|
30
|
+
|
|
31
|
+
--#{$prefix}m-datepicker-week-gap: 1.875rem;
|
|
32
|
+
|
|
33
|
+
// Day variables
|
|
34
|
+
--#{$prefix}m-datepicker-day-margin: 0;
|
|
35
|
+
--#{$prefix}m-datepicker-day-font-size: var(--#{$prefix}ref-fs-subparagraph);
|
|
36
|
+
--#{$prefix}m-datepicker-day-size: 20px;
|
|
37
|
+
--#{$prefix}m-datepicker-day-radius: 100%;
|
|
38
|
+
|
|
39
|
+
--#{$prefix}m-datepicker-day-bg-hover: var(--#{$prefix}body);
|
|
40
|
+
--#{$prefix}m-datepicker-day-color-hover: var(--#{$prefix}info-100);
|
|
41
|
+
|
|
42
|
+
--#{$prefix}m-datepicker-day-selected-color: var(--#{$prefix}white);
|
|
43
|
+
--#{$prefix}m-datepicker-day-selected-bg: var(--#{$prefix}secondary-500);
|
|
44
|
+
|
|
45
|
+
--#{$prefix}m-datepicker-day-in-range-color: var(--#{$prefix}dark);
|
|
46
|
+
--#{$prefix}m-datepicker-day-in-range-bg: var(--#{$prefix}secondary-100);
|
|
47
|
+
|
|
48
|
+
--#{$prefix}m-datepicker-day-outside-month-color: var(--#{$prefix}gray-400);
|
|
49
|
+
|
|
50
|
+
--#{$prefix}m-datepicker-day-today-font-weight: var(--#{$prefix}ref-fw-normal);
|
|
51
|
+
--#{$prefix}m-datepicker-day-today-box-shadow: 0 0 0 2px inset var(--#{$prefix}secondary);
|
|
52
|
+
|
|
53
|
+
// Time variables
|
|
54
|
+
--#{$prefix}m-datepicker-time-container-margin: 0;
|
|
55
|
+
--#{$prefix}m-datepicker-time-container-align: center;
|
|
56
|
+
--#{$prefix}m-datepicker-time-input-width: 50%;
|
|
57
|
+
--#{$prefix}m-datepicker-time-input-margin: 0;
|
|
58
|
+
--#{$prefix}m-datepicker-time-input-align: center;
|
|
59
|
+
|
|
60
|
+
--#{$prefix}m-datepicker-time-input-padding: var(--#{$prefix}ref-spacer-3);
|
|
61
|
+
--#{$prefix}m-datepicker-time-input-gap: var(--#{$prefix}ref-spacer-2);
|
|
62
|
+
--#{$prefix}m-datepicker-time-input-label-weight: var(--#{$prefix}ref-fw-bold);
|
|
63
|
+
--#{$prefix}m-datepicker-time-input-label-color: var(--#{$prefix}gray-700);
|
|
64
|
+
--#{$prefix}m-datepicker-time-input-label-size: var(--#{$prefix}ref-fs-small);
|
|
65
|
+
|
|
66
|
+
font-family: var(--#{$prefix}m-datepicker-font-family);
|
|
67
|
+
font-size: var(--#{$prefix}m-datepicker-font-size);
|
|
68
|
+
border: var(--#{$prefix}m-datepicker-border);
|
|
69
|
+
box-shadow: var(--#{$prefix}m-datepicker-box-shadow);
|
|
70
|
+
|
|
71
|
+
.react-datepicker__header {
|
|
72
|
+
display: flex;
|
|
73
|
+
flex-direction: column;
|
|
74
|
+
gap: var(--#{$prefix}m-datepicker-header-gap);
|
|
75
|
+
padding: var(--#{$prefix}m-datepicker-header-padding);
|
|
76
|
+
font-size: var(--#{$prefix}m-datepicker-header-font-size);
|
|
77
|
+
background-color: var(--#{$prefix}m-datepicker-header-background-color);
|
|
78
|
+
border: var(--#{$prefix}m-datepicker-header-border);
|
|
79
|
+
|
|
80
|
+
.react-datepicker__day-names {
|
|
81
|
+
display: flex;
|
|
82
|
+
justify-content: space-between;
|
|
83
|
+
margin: var(--#{$prefix}m-datepicker-day-names-margin);
|
|
84
|
+
font-size: var(--#{$prefix}m-datepicker-day-names-font-size);
|
|
85
|
+
}
|
|
86
|
+
.react-datepicker__day-name {
|
|
87
|
+
width: var(--#{$prefix}m-datepicker-day-name-size);
|
|
88
|
+
height: var(--#{$prefix}m-datepicker-day-name-size);
|
|
89
|
+
margin: var(--#{$prefix}m-datepicker-day-name-margin);
|
|
90
|
+
font-weight: var(--#{$prefix}m-datepicker-day-name-weight);
|
|
91
|
+
line-height: var(--#{$prefix}m-datepicker-day-name-size);
|
|
92
|
+
color: var(--#{$prefix}m-datepicker-day-name-color);
|
|
93
|
+
}
|
|
94
|
+
}
|
|
95
|
+
|
|
96
|
+
.react-datepicker__month {
|
|
97
|
+
display: flex;
|
|
98
|
+
flex-direction: column;
|
|
99
|
+
gap: var(--#{$prefix}m-datepicker-month-gap);
|
|
100
|
+
padding: var(--#{$prefix}m-datepicker-month-padding);
|
|
101
|
+
margin: var(--#{$prefix}m-datepicker-month-margin);
|
|
102
|
+
|
|
103
|
+
.react-datepicker__week {
|
|
104
|
+
display: flex;
|
|
105
|
+
gap: var(--#{$prefix}m-datepicker-week-gap);
|
|
106
|
+
}
|
|
107
|
+
|
|
108
|
+
.react-datepicker__day {
|
|
109
|
+
width: var(--#{$prefix}m-datepicker-day-size);
|
|
110
|
+
height: var(--#{$prefix}m-datepicker-day-size);
|
|
111
|
+
margin: var(--#{$prefix}m-datepicker-day-margin);
|
|
112
|
+
font-size: var(--#{$prefix}m-datepicker-day-font-size);
|
|
113
|
+
line-height: var(--#{$prefix}m-datepicker-day-size);
|
|
114
|
+
}
|
|
115
|
+
}
|
|
116
|
+
|
|
117
|
+
// Hover state
|
|
118
|
+
.react-datepicker__day,
|
|
119
|
+
.react-datepicker__month-text,
|
|
120
|
+
.react-datepicker__quarter-text,
|
|
121
|
+
.react-datepicker__year-text {
|
|
122
|
+
&:not(
|
|
123
|
+
.react-datepicker__day--selected,
|
|
124
|
+
.react-datepicker__month-text--selected,
|
|
125
|
+
.react-datepicker__quarter-text--selected,
|
|
126
|
+
.react-datepicker__year-text--selected):hover {
|
|
127
|
+
color: var(--#{$prefix}m-datepicker-day-bg-hover);
|
|
128
|
+
background-color: var(--#{$prefix}m-datepicker-day-color-hover);
|
|
129
|
+
border-radius: var(--#{$prefix}m-datepicker-day-radius);
|
|
130
|
+
}
|
|
131
|
+
}
|
|
132
|
+
|
|
133
|
+
// Selected single item
|
|
134
|
+
.react-datepicker__day--selected,
|
|
135
|
+
.react-datepicker__month--selected,
|
|
136
|
+
.react-datepicker__quarter--selected,
|
|
137
|
+
.react-datepicker__year--selected {
|
|
138
|
+
color: var(--#{$prefix}m-datepicker-day-selected-color);
|
|
139
|
+
background-color: var(--#{$prefix}m-datepicker-day-selected-bg);
|
|
140
|
+
border-radius: var(--#{$prefix}m-datepicker-day-radius);
|
|
141
|
+
}
|
|
142
|
+
|
|
143
|
+
.react-datepicker__day--selected {
|
|
144
|
+
&.react-datepicker__day--in-range.react-datepicker__day--range-start,
|
|
145
|
+
&.react-datepicker__day--in-selecting-range.react-datepicker__day--selecting-range-start {
|
|
146
|
+
color: var(--#{$prefix}m-datepicker-day-selected-color);
|
|
147
|
+
background-color: var(--#{$prefix}m-datepicker-day-selected-bg);
|
|
148
|
+
}
|
|
149
|
+
}
|
|
150
|
+
.react-datepicker__day {
|
|
151
|
+
&.react-datepicker__day--in-range.react-datepicker__day--range-end,
|
|
152
|
+
&.react-datepicker__day--in-selecting-range.react-datepicker__day--selecting-range-end {
|
|
153
|
+
color: var(--#{$prefix}m-datepicker-day-selected-color);
|
|
154
|
+
background-color: var(--#{$prefix}m-datepicker-day-selected-bg);
|
|
155
|
+
}
|
|
156
|
+
}
|
|
157
|
+
|
|
158
|
+
.react-datepicker__day--in-range,
|
|
159
|
+
.react-datepicker__month-text--in-range,
|
|
160
|
+
.react-datepicker__quarter-text--in-range,
|
|
161
|
+
.react-datepicker__year-text--in-range,
|
|
162
|
+
.react-datepicker__day--in-selecting-range,
|
|
163
|
+
.react-datepicker__month-text--in-selecting-range,
|
|
164
|
+
.react-datepicker__quarter-text--in-selecting-range,
|
|
165
|
+
.react-datepicker__year-text--in-selecting-range,
|
|
166
|
+
.react-datepicker__day--keyboard-selected,
|
|
167
|
+
.react-datepicker__month-text--keyboard-selected,
|
|
168
|
+
.react-datepicker__quarter-text--keyboard-selected,
|
|
169
|
+
.react-datepicker__year-text--keyboard-selected {
|
|
170
|
+
color: var(--#{$prefix}m-datepicker-day-in-range-color);
|
|
171
|
+
background-color: var(--#{$prefix}m-datepicker-day-in-range-bg);
|
|
172
|
+
border-radius: var(--#{$prefix}m-datepicker-day-radius);
|
|
173
|
+
}
|
|
174
|
+
|
|
175
|
+
.react-datepicker__day--outside-month {
|
|
176
|
+
color: var(--#{$prefix}m-datepicker-day-outside-month-color);
|
|
177
|
+
}
|
|
178
|
+
|
|
179
|
+
/* Start time selector */
|
|
180
|
+
.react-datepicker__input-time-container {
|
|
181
|
+
width: 100%;
|
|
182
|
+
margin: var(--#{$prefix}m-datepicker-time-container-margin);
|
|
183
|
+
text-align: var(--#{$prefix}m-datepicker-time-container-align);
|
|
184
|
+
border-top: var(--#{$prefix}border-width) solid var(--#{$prefix}light);
|
|
185
|
+
|
|
186
|
+
.react-datepicker-time__caption {
|
|
187
|
+
display: none;
|
|
188
|
+
}
|
|
189
|
+
|
|
190
|
+
.react-datepicker-time__input-container {
|
|
191
|
+
width: 100%;
|
|
192
|
+
|
|
193
|
+
.react-datepicker-time__input {
|
|
194
|
+
width: var(--#{$prefix}m-datepicker-time-input-width);
|
|
195
|
+
margin: var(--#{$prefix}m-datepicker-time-input-margin);
|
|
196
|
+
text-align: var(--#{$prefix}m-datepicker-time-input-align);
|
|
197
|
+
outline: 0;
|
|
198
|
+
}
|
|
199
|
+
}
|
|
200
|
+
}
|
|
201
|
+
|
|
202
|
+
/* End time selector */
|
|
203
|
+
|
|
204
|
+
.react-datepicker__day--today {
|
|
205
|
+
font-weight: var(--#{$prefix}m-datepicker-day-today-font-weight);
|
|
206
|
+
border-radius: var(--#{$prefix}m-datepicker-day-radius);
|
|
207
|
+
box-shadow: var(--#{$prefix}m-datepicker-day-today-box-shadow);
|
|
208
|
+
}
|
|
209
|
+
|
|
210
|
+
.m-datepicker-time {
|
|
211
|
+
gap: var(--#{$prefix}m-datepicker-time-input-gap);
|
|
212
|
+
padding: var(--#{$prefix}m-datepicker-time-input-padding);
|
|
213
|
+
.m-datepicker-time-label {
|
|
214
|
+
font-size: var(--#{$prefix}m-datepicker-time-input-label-size);
|
|
215
|
+
font-weight: var(--#{$prefix}m-datepicker-time-input-label-weight);
|
|
216
|
+
color: var(--#{$prefix}m-datepicker-time-input-label-color);
|
|
217
|
+
}
|
|
218
|
+
}
|
|
219
|
+
.m-datepicker-header {
|
|
220
|
+
font-size: var(--#{$prefix}ref-fs-6);
|
|
221
|
+
}
|
|
222
|
+
}
|
|
223
|
+
|
|
224
|
+
// stylelint-enable selector-class-pattern
|
|
@@ -0,0 +1,90 @@
|
|
|
1
|
+
// stylelint-disable selector-class-pattern
|
|
2
|
+
|
|
3
|
+
.react-datepicker.m-month-picker {
|
|
4
|
+
// Month variables
|
|
5
|
+
--#{$prefix}m-monthpicker-header-padding: var(--#{$prefix}ref-spacer-3) var(--#{$prefix}ref-spacer-2) 0;
|
|
6
|
+
--#{$prefix}m-monthpicker-font-weight: var(--#{$prefix}ref-fw-normal);
|
|
7
|
+
--#{$prefix}m-monthpicker-header-color: var(--#{$prefix}white);
|
|
8
|
+
--#{$prefix}m-monthpicker-header-bg: var(--#{$prefix}dark);
|
|
9
|
+
|
|
10
|
+
--#{$prefix}m-monthpicker-month-gap: 0;
|
|
11
|
+
--#{$prefix}m-monthpicker-month-padding: var(--#{$prefix}ref-spacer-2) var(--#{$prefix}ref-spacer-4) var(--#{$prefix}ref-spacer-3);
|
|
12
|
+
--#{$prefix}m-monthpicker-month-color: var(--#{$prefix}white);
|
|
13
|
+
--#{$prefix}m-monthpicker-month-bg: var(--#{$prefix}dark);
|
|
14
|
+
|
|
15
|
+
--#{$prefix}m-monthpicker-month-today-color: var(--#{$prefix}white);
|
|
16
|
+
--#{$prefix}m-monthpicker-month-selected-bg: var(--#{$prefix}gray-500);
|
|
17
|
+
--#{$prefix}m-monthpicker-month-selected-box-shadow: 0 0 0 1px inset var(--#{$prefix}gray-100);
|
|
18
|
+
|
|
19
|
+
--#{$prefix}m-monthpicker-month-hover-bg: var(--#{$prefix}gray-700);
|
|
20
|
+
|
|
21
|
+
--#{$prefix}m-monthpicker-month-wrapper-gap: var(--#{$prefix}ref-spacer-2);
|
|
22
|
+
--#{$prefix}m-monthpicker-month-wrapper-font-size: var(--#{$prefix}-ref-fs-small);
|
|
23
|
+
|
|
24
|
+
--#{$prefix}m-monthpicker-single-month-width: 46px;
|
|
25
|
+
--#{$prefix}m-monthpicker-single-month-padding: var(--#{$prefix}ref-spacer-2);
|
|
26
|
+
--#{$prefix}m-monthpicker-single-month-margin: 0;
|
|
27
|
+
--#{$prefix}m-monthpicker-single-month-text-transform: capitalize;
|
|
28
|
+
--#{$prefix}m-monthpicker-single-month-radius: var(--#{$prefix}ref-spacer-4);
|
|
29
|
+
|
|
30
|
+
--#{$prefix}m-monthpicker-single-month-after-display: ".";
|
|
31
|
+
--#{$prefix}m-monthpicker-single-month-after-content: ".";
|
|
32
|
+
|
|
33
|
+
--#{$prefix}m-datepicker-triangle-color: var(--#{$prefix}dark);
|
|
34
|
+
|
|
35
|
+
font-family: var(--#{$prefix}m-datepicker-font-family);
|
|
36
|
+
border: var(--#{$prefix}m-datepicker-border);
|
|
37
|
+
box-shadow: var(--#{$prefix}m-datepicker-box-shadow);
|
|
38
|
+
|
|
39
|
+
.react-datepicker__header {
|
|
40
|
+
padding: var(--#{$prefix}m-monthpicker-header-padding);
|
|
41
|
+
font-weight: var(--#{$prefix}m-monthpicker-font-weight);
|
|
42
|
+
color: var(--#{$prefix}m-monthpicker-header-color);
|
|
43
|
+
background-color: var(--#{$prefix}m-monthpicker-header-bg);
|
|
44
|
+
}
|
|
45
|
+
|
|
46
|
+
.react-datepicker__month.react-datepicker__monthPicker,
|
|
47
|
+
.react-datepicker__header.react-datepicker-year-header {
|
|
48
|
+
gap: var(--#{$prefix}m-monthpicker-month-gap);
|
|
49
|
+
padding: var(--#{$prefix}m-monthpicker-month-padding);
|
|
50
|
+
color: var(--#{$prefix}m-monthpicker-month-color);
|
|
51
|
+
background-color: var(--#{$prefix}m-monthpicker-month-bg);
|
|
52
|
+
|
|
53
|
+
}
|
|
54
|
+
.react-datepicker__month--selected,
|
|
55
|
+
.react-datepicker__month-text--in-range,
|
|
56
|
+
.react-datepicker__month-text--in-selecting-range,
|
|
57
|
+
.react-datepicker__month-text--keyboard-selected {
|
|
58
|
+
color: var(--#{$prefix}m-monthpicker-month-today-color);
|
|
59
|
+
background-color: var(--#{$prefix}m-monthpicker-month-selected-bg);
|
|
60
|
+
box-shadow: var(--#{$prefix}m-monthpicker-month-selected-box-shadow);
|
|
61
|
+
}
|
|
62
|
+
.react-datepicker__month-text:hover {
|
|
63
|
+
background-color: var(--#{$prefix}m-monthpicker-month-hover-bg);
|
|
64
|
+
}
|
|
65
|
+
.react-datepicker__month-wrapper {
|
|
66
|
+
display: flex;
|
|
67
|
+
gap: var(--#{$prefix}m-monthpicker-month-wrapper-gap);
|
|
68
|
+
font-size: var(--#{$prefix}m-monthpicker-month-wrapper-font-size);
|
|
69
|
+
.react-datepicker__month-text {
|
|
70
|
+
width: var(--#{$prefix}m-monthpicker-single-month-width);
|
|
71
|
+
padding: var(--#{$prefix}m-monthpicker-single-month-padding);
|
|
72
|
+
margin: var(--#{$prefix}m-monthpicker-single-month-margin);
|
|
73
|
+
text-transform: var(--#{$prefix}m-monthpicker-single-month-text-transform);
|
|
74
|
+
border-radius: var(--#{$prefix}m-monthpicker-single-month-radius);
|
|
75
|
+
&::after {
|
|
76
|
+
display: var(--#{$prefix}m-monthpicker-single-month-after-display);
|
|
77
|
+
content: var(--#{$prefix}m-monthpicker-single-month-after-content);
|
|
78
|
+
}
|
|
79
|
+
}
|
|
80
|
+
}
|
|
81
|
+
.react-datepicker__triangle {
|
|
82
|
+
&::after,
|
|
83
|
+
&::before {
|
|
84
|
+
top: 0;
|
|
85
|
+
border-bottom-color: var(--#{$prefix}m-datepicker-triangle-color);
|
|
86
|
+
}
|
|
87
|
+
}
|
|
88
|
+
}
|
|
89
|
+
|
|
90
|
+
// stylelint-enable selector-class-pattern
|
|
@@ -0,0 +1,98 @@
|
|
|
1
|
+
.m-pagination {
|
|
2
|
+
// Page link
|
|
3
|
+
--#{$prefix}m-pagination-page-item-size: 2.125rem;
|
|
4
|
+
--#{$prefix}m-pagination-page-link-bg: transparent;
|
|
5
|
+
--#{$prefix}m-pagination-page-border-radius: 50%;
|
|
6
|
+
// Arrow
|
|
7
|
+
--#{$prefix}m-pagination-arrow-font-size: var(--#{$prefix}ref-fs-subparagraph);
|
|
8
|
+
--#{$prefix}m-pagination-arrow-padding-y: var(--#{$prefix}ref-spacer-1);
|
|
9
|
+
--#{$prefix}m-pagination-arrow-padding-x: var(--#{$prefix}ref-spacer-2);
|
|
10
|
+
--#{$prefix}m-pagination-arrow-border-radius: var(--#{$prefix}border-radius);
|
|
11
|
+
--#{$prefix}m-pagination-arrow-color: var(--#{$prefix}secondary);
|
|
12
|
+
// Arrow :focus
|
|
13
|
+
--#{$prefix}m-pagination-focus-arrow-bg: var(--#{$prefix}secondary-100);
|
|
14
|
+
// Arrow previous
|
|
15
|
+
--#{$prefix}m-pagination-arrow-prev-icon-bg-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="%234848b7" class="bi bi-chevron-left" viewBox="0 0 16 16"><path fill-rule="evenodd" d="M11.354 1.646a.5.5 0 0 1 0 .708L5.707 8l5.647 5.646a.5.5 0 0 1-.708.708l-6-6a.5.5 0 0 1 0-.708l6-6a.5.5 0 0 1 .708 0z"/></svg>');
|
|
16
|
+
--#{$prefix}m-pagination-disabled-arrow-prev-icon-bg-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="%23a1a1b5" class="bi bi-chevron-left" viewBox="0 0 16 16"><path fill-rule="evenodd" d="M11.354 1.646a.5.5 0 0 1 0 .708L5.707 8l5.647 5.646a.5.5 0 0 1-.708.708l-6-6a.5.5 0 0 1 0-.708l6-6a.5.5 0 0 1 .708 0z"/></svg>');
|
|
17
|
+
// Arrow next
|
|
18
|
+
--#{$prefix}m-pagination-arrow-next-icon-bg-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="%234848b7" class="bi bi-chevron-right" viewBox="0 0 16 16"><path fill-rule="evenodd" d="M4.646 1.646a.5.5 0 0 1 .708 0l6 6a.5.5 0 0 1 0 .708l-6 6a.5.5 0 0 1-.708-.708L10.293 8 4.646 2.354a.5.5 0 0 1 0-.708z"/></svg>');
|
|
19
|
+
--#{$prefix}m-pagination-disabled-arrow-next-icon-bg-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="%23a1a1b5" class="bi bi-chevron-right" viewBox="0 0 16 16"><path fill-rule="evenodd" d="M4.646 1.646a.5.5 0 0 1 .708 0l6 6a.5.5 0 0 1 0 .708l-6 6a.5.5 0 0 1-.708-.708L10.293 8 4.646 2.354a.5.5 0 0 1 0-.708z"/></svg>');
|
|
20
|
+
margin: 0;
|
|
21
|
+
|
|
22
|
+
.page-item {
|
|
23
|
+
min-width: var(--#{$prefix}m-pagination-page-item-size);
|
|
24
|
+
min-height: var(--#{$prefix}m-pagination-page-item-size);
|
|
25
|
+
|
|
26
|
+
&:not(.active, :hover) .page-link {
|
|
27
|
+
background-color: var(--#{$prefix}m-pagination-page-link-bg);
|
|
28
|
+
}
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
.m-arrow .page-link {
|
|
32
|
+
min-width: fit-content;
|
|
33
|
+
padding: var(--#{$prefix}m-pagination-arrow-padding-y) var(--#{$prefix}m-pagination-arrow-padding-x);
|
|
34
|
+
font-size: var(--#{$prefix}m-pagination-arrow-font-size);
|
|
35
|
+
border-radius: var(--#{$prefix}m-pagination-arrow-border-radius);
|
|
36
|
+
|
|
37
|
+
&:focus {
|
|
38
|
+
background-color: var(--#{$prefix}m-pagination-focus-arrow-bg);
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
&::after,
|
|
42
|
+
&::before {
|
|
43
|
+
position: relative;
|
|
44
|
+
display: flex;
|
|
45
|
+
align-items: center;
|
|
46
|
+
justify-content: center;
|
|
47
|
+
background-repeat: no-repeat;
|
|
48
|
+
background-size: var(--#{$prefix}m-pagination-arrow-font-size);
|
|
49
|
+
}
|
|
50
|
+
}
|
|
51
|
+
|
|
52
|
+
.m-arrow:is(.m-arrow-prev, .m-arrow-next):not(.disabled) .page-link {
|
|
53
|
+
color: var(--#{$prefix}m-pagination-arrow-color);
|
|
54
|
+
}
|
|
55
|
+
|
|
56
|
+
// Arrow prev
|
|
57
|
+
.m-arrow.m-arrow-prev .page-link::before {
|
|
58
|
+
min-width: var(--#{$prefix}m-pagination-arrow-font-size);
|
|
59
|
+
min-height: var(--#{$prefix}m-pagination-arrow-font-size);
|
|
60
|
+
margin-right: var(--#{$prefix}ref-spacer-1);
|
|
61
|
+
content: "";
|
|
62
|
+
background-image: var(--#{$prefix}m-pagination-arrow-prev-icon-bg-image);
|
|
63
|
+
background-position: center left;
|
|
64
|
+
}
|
|
65
|
+
|
|
66
|
+
// Arrow next
|
|
67
|
+
.m-arrow.m-arrow-next .page-link::after {
|
|
68
|
+
width: var(--#{$prefix}m-pagination-arrow-font-size);
|
|
69
|
+
height: var(--#{$prefix}m-pagination-arrow-font-size);
|
|
70
|
+
margin-left: var(--#{$prefix}ref-spacer-1);
|
|
71
|
+
content: "";
|
|
72
|
+
background-image: var(--#{$prefix}m-pagination-arrow-next-icon-bg-image);
|
|
73
|
+
background-position: center right;
|
|
74
|
+
}
|
|
75
|
+
|
|
76
|
+
// Hide default icon
|
|
77
|
+
.m-arrow:is(.m-arrow-next, .m-arrow-prev).no-label .page-link > span {
|
|
78
|
+
display: none;
|
|
79
|
+
}
|
|
80
|
+
|
|
81
|
+
.m-arrow-prev.disabled .page-link::before {
|
|
82
|
+
background-image: var(--#{$prefix}m-pagination-disabled-arrow-prev-icon-bg-image);
|
|
83
|
+
}
|
|
84
|
+
|
|
85
|
+
.m-arrow-next.disabled .page-link::after {
|
|
86
|
+
background-image: var(--#{$prefix}m-pagination-disabled-arrow-next-icon-bg-image);
|
|
87
|
+
}
|
|
88
|
+
|
|
89
|
+
.page-link {
|
|
90
|
+
display: flex;
|
|
91
|
+
align-items: center;
|
|
92
|
+
justify-content: center;
|
|
93
|
+
width: 100%;
|
|
94
|
+
height: 100%;
|
|
95
|
+
padding: 0;
|
|
96
|
+
border-radius: var(--#{$prefix}m-pagination-page-border-radius);
|
|
97
|
+
}
|
|
98
|
+
}
|
|
@@ -0,0 +1,156 @@
|
|
|
1
|
+
.m-stepper {
|
|
2
|
+
/* Icon container */
|
|
3
|
+
--#{$prefix}m-step-icon-container-color: var(--#{$prefix}secondary);
|
|
4
|
+
--#{$prefix}m-step-icon-container-background-color: var(--#{$prefix}white);
|
|
5
|
+
--#{$prefix}m-step-icon-container-size: 34px;
|
|
6
|
+
--#{$prefix}m-step-icon-container-border-width: 1px;
|
|
7
|
+
--#{$prefix}m-step-icon-container-border-color: var(--#{$prefix}secondary);
|
|
8
|
+
--#{$prefix}m-step-icon-container-border-radius: 100%;
|
|
9
|
+
--#{$prefix}m-step-icon-container-z-index: 3;
|
|
10
|
+
|
|
11
|
+
/* Base step */
|
|
12
|
+
--#{$prefix}m-step-label-height: 3rem;
|
|
13
|
+
--#{$prefix}m-step-icon-size: 1.125rem;
|
|
14
|
+
--#{$prefix}m-step-gap: .5rem;
|
|
15
|
+
--#{$prefix}m-step-z-index: 2;
|
|
16
|
+
|
|
17
|
+
/* Checked step */
|
|
18
|
+
--#{$prefix}m-step-check-text-color: var(--#{$prefix}white);
|
|
19
|
+
--#{$prefix}m-step-check-background-color: var(--#{$prefix}success);
|
|
20
|
+
--#{$prefix}m-step-check-border-color: var(--#{$prefix}success);
|
|
21
|
+
|
|
22
|
+
/* Current step */
|
|
23
|
+
--#{$prefix}m-step-current-text-color: var(--#{$prefix}white);
|
|
24
|
+
--#{$prefix}m-step-current-background-color: var(--#{$prefix}secondary);
|
|
25
|
+
|
|
26
|
+
/* Step line */
|
|
27
|
+
--#{$prefix}m-step-line-stroke: 1px;
|
|
28
|
+
--#{$prefix}m-step-line-color: var(--#{$prefix}secondary);
|
|
29
|
+
|
|
30
|
+
/* Step label */
|
|
31
|
+
--#{$prefix}m-step-label-padding: var(--#{$prefix}ref-spacer-4);
|
|
32
|
+
--#{$prefix}m-vertical-step-label-padding: var(--#{$prefix}ref-spacer-3);
|
|
33
|
+
|
|
34
|
+
|
|
35
|
+
position: relative;
|
|
36
|
+
display: flex;
|
|
37
|
+
|
|
38
|
+
.m-step {
|
|
39
|
+
display: flex;
|
|
40
|
+
flex: 1 1 0;
|
|
41
|
+
flex-direction: column;
|
|
42
|
+
gap: var(--#{$prefix}m-step-gap);
|
|
43
|
+
|
|
44
|
+
.m-step-value {
|
|
45
|
+
position: relative;
|
|
46
|
+
display: flex;
|
|
47
|
+
justify-content: center;
|
|
48
|
+
}
|
|
49
|
+
|
|
50
|
+
.m-step-icon-container {
|
|
51
|
+
position: relative;
|
|
52
|
+
z-index: var(--#{$prefix}m-step-icon-container-z-index);
|
|
53
|
+
display: flex;
|
|
54
|
+
align-items: center;
|
|
55
|
+
justify-content: center;
|
|
56
|
+
width: var(--#{$prefix}m-step-icon-container-size);
|
|
57
|
+
height: var(--#{$prefix}m-step-icon-container-size);
|
|
58
|
+
|
|
59
|
+
color: var(--#{$prefix}m-step-icon-container-color);
|
|
60
|
+
background-color: var(--#{$prefix}m-step-icon-container-background-color);
|
|
61
|
+
border: var(--#{$prefix}m-step-icon-container-border-width) solid var(--#{$prefix}m-step-icon-container-border-color);
|
|
62
|
+
border-radius: var(--#{$prefix}m-step-icon-container-border-radius);
|
|
63
|
+
}
|
|
64
|
+
|
|
65
|
+
.m-step-check {
|
|
66
|
+
color: var(--#{$prefix}m-step-check-text-color);
|
|
67
|
+
background-color: var(--#{$prefix}m-step-check-background-color);
|
|
68
|
+
border-color: var(--#{$prefix}m-step-check-border-color);
|
|
69
|
+
}
|
|
70
|
+
|
|
71
|
+
.m-step-current {
|
|
72
|
+
color: var(--#{$prefix}m-step-current-text-color);
|
|
73
|
+
background-color: var(--#{$prefix}m-step-current-background-color);
|
|
74
|
+
}
|
|
75
|
+
|
|
76
|
+
.m-step-value::after {
|
|
77
|
+
position: absolute;
|
|
78
|
+
top: 50%;
|
|
79
|
+
z-index: var(--#{$prefix}m-step-z-index);
|
|
80
|
+
width: 100%;
|
|
81
|
+
height: var(--#{$prefix}m-step-line-stroke);
|
|
82
|
+
content: "";
|
|
83
|
+
background-color: var(--#{$prefix}m-step-line-color);
|
|
84
|
+
}
|
|
85
|
+
|
|
86
|
+
&:first-child .m-step-value::after {
|
|
87
|
+
left: 50%;
|
|
88
|
+
z-index: var(--#{$prefix}m-step-z-index);
|
|
89
|
+
width: 50%;
|
|
90
|
+
}
|
|
91
|
+
|
|
92
|
+
&:last-child .m-step-value::after {
|
|
93
|
+
right: 50%;
|
|
94
|
+
z-index: var(--#{$prefix}m-step-z-index);
|
|
95
|
+
width: 50%;
|
|
96
|
+
}
|
|
97
|
+
|
|
98
|
+
.m-step-label {
|
|
99
|
+
padding-right: var(--#{$prefix}m-step-label-padding);
|
|
100
|
+
padding-left: var(--#{$prefix}m-step-label-padding);
|
|
101
|
+
text-align: center;
|
|
102
|
+
}
|
|
103
|
+
}
|
|
104
|
+
|
|
105
|
+
&.is-vertical {
|
|
106
|
+
flex-direction: column;
|
|
107
|
+
|
|
108
|
+
.m-step {
|
|
109
|
+
flex-direction: row;
|
|
110
|
+
align-items: center;
|
|
111
|
+
|
|
112
|
+
.m-step-value {
|
|
113
|
+
align-items: center;
|
|
114
|
+
height: 100%;
|
|
115
|
+
}
|
|
116
|
+
|
|
117
|
+
.m-step-label {
|
|
118
|
+
display: flex;
|
|
119
|
+
flex-grow: 1;
|
|
120
|
+
align-items: center;
|
|
121
|
+
min-height: var(--#{$prefix}m-step-label-height);
|
|
122
|
+
padding: var(--#{$prefix}m-vertical-step-label-padding);
|
|
123
|
+
text-align: left;
|
|
124
|
+
}
|
|
125
|
+
|
|
126
|
+
.m-step-value::after {
|
|
127
|
+
position: absolute;
|
|
128
|
+
top: 0;
|
|
129
|
+
left: calc(50% - var(--#{$prefix}m-step-line-stroke));
|
|
130
|
+
z-index: var(--#{$prefix}m-step-z-index);
|
|
131
|
+
width: 0;
|
|
132
|
+
height: 100%;
|
|
133
|
+
content: "";
|
|
134
|
+
border: var(--#{$prefix}m-step-icon-container-border-width) solid var(--#{$prefix}m-step-icon-container-border-color);
|
|
135
|
+
}
|
|
136
|
+
|
|
137
|
+
&:first-child .m-step-value::after {
|
|
138
|
+
top: 50%;
|
|
139
|
+
z-index: var(--#{$prefix}m-step-z-index);
|
|
140
|
+
width: 0;
|
|
141
|
+
height: 50%;
|
|
142
|
+
}
|
|
143
|
+
|
|
144
|
+
&:last-child .m-step-value::after {
|
|
145
|
+
z-index: var(--#{$prefix}m-step-z-index);
|
|
146
|
+
width: 0;
|
|
147
|
+
height: 50%;
|
|
148
|
+
}
|
|
149
|
+
}
|
|
150
|
+
}
|
|
151
|
+
|
|
152
|
+
.m-step-icon {
|
|
153
|
+
display: flex;
|
|
154
|
+
font-size: var(--#{$prefix}m-step-icon-size);
|
|
155
|
+
}
|
|
156
|
+
}
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
.m-datepicker-time {
|
|
2
|
+
--#{$prefix}m-datepicker-time-m-input: 100%;
|
|
3
|
+
--#{$prefix}m-datepicker-webkit-time-color: var(--#{$prefix}black);
|
|
4
|
+
--#{$prefix}m-datepicker-webkit-time-align: left;
|
|
5
|
+
--#{$prefix}m-datepicker-webkit-edit-text-padding: 2px;
|
|
6
|
+
|
|
7
|
+
--#{$prefix}m-datepicker-webkit-edit-ampm-padding: 0 4px;
|
|
8
|
+
--#{$prefix}m-datepicker-webkit-edit-ampm-color: var(--#{$prefix}secondary-900);
|
|
9
|
+
--#{$prefix}m-datepicker-webkit-edit-ampm-bg: var(--#{$prefix}secondary-100);
|
|
10
|
+
--#{$prefix}m-datepicker-webkit-edit-ampm-radius: 4px;
|
|
11
|
+
|
|
12
|
+
--#{$prefix}m-datepicker-calendar-picker-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='currentColor' class='bi bi-clock' viewBox='0 0 16 16'%3E%3Cpath d='M8 3.5a.5.5 0 0 0-1 0V9a.5.5 0 0 0 .252.434l3.5 2a.5.5 0 0 0 .496-.868L8 8.71V3.5z'/%3E%3Cpath d='M8 16A8 8 0 1 0 8 0a8 8 0 0 0 0 16zm7-8A7 7 0 1 1 1 8a7 7 0 0 1 14 0z'/%3E%3C/svg%3E");
|
|
13
|
+
|
|
14
|
+
.m-input {
|
|
15
|
+
width: var(--#{$prefix}m-datepicker-time-m-input);
|
|
16
|
+
}
|
|
17
|
+
// stylelint-disable selector-no-qualifying-type
|
|
18
|
+
input[type="time"] {
|
|
19
|
+
&::-webkit-datetime-edit {
|
|
20
|
+
color: var(--#{$prefix}m-datepicker-webkit-time-color);
|
|
21
|
+
text-align: var(--#{$prefix}m-datepicker-webkit-time-align);
|
|
22
|
+
}
|
|
23
|
+
&::-webkit-datetime-edit-text {
|
|
24
|
+
padding-inline: var(--#{$prefix}m-datepicker-webkit-edit-text-padding);
|
|
25
|
+
}
|
|
26
|
+
&::-webkit-datetime-edit-ampm-field {
|
|
27
|
+
padding: var(--#{$prefix}m-datepicker-webkit-edit-ampm-padding);
|
|
28
|
+
color: var(--#{$prefix}m-datepicker-webkit-edit-ampm-color);
|
|
29
|
+
background-color: var(--#{$prefix}m-datepicker-webkit-edit-ampm-bg);
|
|
30
|
+
border-radius: var(--#{$prefix}m-datepicker-webkit-edit-ampm-radius);
|
|
31
|
+
}
|
|
32
|
+
&::-webkit-calendar-picker-indicator {
|
|
33
|
+
background-image: var(--#{$prefix}m-datepicker-calendar-picker-icon);
|
|
34
|
+
}
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
@import "@dynamic-framework/ui/src/style/dynamic-ui";
|