@cloudscape-design/components 3.0.882 → 3.0.884
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/app-layout/visual-refresh-toolbar/toolbar/trigger-button/index.d.ts.map +1 -1
- package/app-layout/visual-refresh-toolbar/toolbar/trigger-button/index.js +1 -1
- package/app-layout/visual-refresh-toolbar/toolbar/trigger-button/index.js.map +1 -1
- package/breadcrumb-group/item/item.d.ts.map +1 -1
- package/breadcrumb-group/item/item.js +1 -1
- package/breadcrumb-group/item/item.js.map +1 -1
- package/button/internal.d.ts.map +1 -1
- package/button/internal.js +1 -1
- package/button/internal.js.map +1 -1
- package/button-group/file-input-item.d.ts +5 -3
- package/button-group/file-input-item.d.ts.map +1 -1
- package/button-group/file-input-item.js +2 -2
- package/button-group/file-input-item.js.map +1 -1
- package/button-group/icon-button-item.d.ts +5 -3
- package/button-group/icon-button-item.d.ts.map +1 -1
- package/button-group/icon-button-item.js +2 -2
- package/button-group/icon-button-item.js.map +1 -1
- package/button-group/icon-toggle-button-item.d.ts +5 -3
- package/button-group/icon-toggle-button-item.d.ts.map +1 -1
- package/button-group/icon-toggle-button-item.js +2 -2
- package/button-group/icon-toggle-button-item.js.map +1 -1
- package/button-group/item-element.d.ts.map +1 -1
- package/button-group/item-element.js +4 -4
- package/button-group/item-element.js.map +1 -1
- package/button-group/menu-dropdown-item.d.ts +1 -0
- package/button-group/menu-dropdown-item.d.ts.map +1 -1
- package/button-group/menu-dropdown-item.js +2 -2
- package/button-group/menu-dropdown-item.js.map +1 -1
- package/calendar/grid/index.d.ts.map +1 -1
- package/calendar/grid/index.js +1 -1
- package/calendar/grid/index.js.map +1 -1
- package/date-range-picker/calendar/grids/grid-cell.d.ts.map +1 -1
- package/date-range-picker/calendar/grids/grid-cell.js +2 -2
- package/date-range-picker/calendar/grids/grid-cell.js.map +1 -1
- package/date-range-picker/calendar/grids/grid.d.ts +18 -0
- package/date-range-picker/calendar/grids/grid.d.ts.map +1 -0
- package/date-range-picker/calendar/grids/grid.js +174 -0
- package/date-range-picker/calendar/grids/grid.js.map +1 -0
- package/date-range-picker/calendar/grids/index.d.ts +3 -20
- package/date-range-picker/calendar/grids/index.d.ts.map +1 -1
- package/date-range-picker/calendar/grids/index.js +51 -22
- package/date-range-picker/calendar/grids/index.js.map +1 -1
- package/date-range-picker/calendar/grids/interfaces.d.ts +47 -0
- package/date-range-picker/calendar/grids/interfaces.d.ts.map +1 -0
- package/date-range-picker/calendar/grids/interfaces.js +2 -0
- package/date-range-picker/calendar/grids/interfaces.js.map +1 -0
- package/date-range-picker/calendar/grids/intl.d.ts +17 -0
- package/date-range-picker/calendar/grids/intl.d.ts.map +1 -0
- package/date-range-picker/calendar/grids/intl.js +56 -0
- package/date-range-picker/calendar/grids/intl.js.map +1 -0
- package/date-range-picker/calendar/grids/styles.css.js +30 -24
- package/date-range-picker/calendar/grids/styles.scoped.css +62 -46
- package/date-range-picker/calendar/grids/styles.selectors.js +30 -24
- package/date-range-picker/calendar/header/header-button.d.ts +5 -4
- package/date-range-picker/calendar/header/header-button.d.ts.map +1 -1
- package/date-range-picker/calendar/header/header-button.js +6 -6
- package/date-range-picker/calendar/header/header-button.js.map +1 -1
- package/date-range-picker/calendar/header/index.d.ts +6 -4
- package/date-range-picker/calendar/header/index.d.ts.map +1 -1
- package/date-range-picker/calendar/header/index.js +18 -13
- package/date-range-picker/calendar/header/index.js.map +1 -1
- package/date-range-picker/calendar/index.d.ts +2 -1
- package/date-range-picker/calendar/index.d.ts.map +1 -1
- package/date-range-picker/calendar/index.js +49 -41
- package/date-range-picker/calendar/index.js.map +1 -1
- package/date-range-picker/calendar/range-inputs.d.ts +4 -3
- package/date-range-picker/calendar/range-inputs.d.ts.map +1 -1
- package/date-range-picker/calendar/range-inputs.js +23 -10
- package/date-range-picker/calendar/range-inputs.js.map +1 -1
- package/date-range-picker/calendar/utils.d.ts +2 -0
- package/date-range-picker/calendar/utils.d.ts.map +1 -1
- package/date-range-picker/calendar/utils.js +27 -1
- package/date-range-picker/calendar/utils.js.map +1 -1
- package/date-range-picker/dropdown.d.ts +3 -2
- package/date-range-picker/dropdown.d.ts.map +1 -1
- package/date-range-picker/dropdown.js +17 -12
- package/date-range-picker/dropdown.js.map +1 -1
- package/date-range-picker/index.d.ts.map +1 -1
- package/date-range-picker/index.js +17 -8
- package/date-range-picker/index.js.map +1 -1
- package/date-range-picker/interfaces.d.ts +89 -14
- package/date-range-picker/interfaces.d.ts.map +1 -1
- package/date-range-picker/interfaces.js.map +1 -1
- package/date-range-picker/mode-switcher.js +2 -2
- package/date-range-picker/mode-switcher.js.map +1 -1
- package/date-range-picker/relative-range/index.d.ts +2 -1
- package/date-range-picker/relative-range/index.d.ts.map +1 -1
- package/date-range-picker/relative-range/index.js +14 -8
- package/date-range-picker/relative-range/index.js.map +1 -1
- package/date-range-picker/relative-range/styles.css.js +6 -9
- package/date-range-picker/relative-range/styles.scoped.css +10 -19
- package/date-range-picker/relative-range/styles.selectors.js +6 -9
- package/date-range-picker/styles.css.js +23 -38
- package/date-range-picker/styles.scoped.css +32 -78
- package/date-range-picker/styles.selectors.js +23 -38
- package/date-range-picker/test-classes/styles.css.js +36 -2
- package/date-range-picker/test-classes/styles.scoped.css +36 -2
- package/date-range-picker/test-classes/styles.selectors.js +36 -2
- package/date-range-picker/utils.d.ts +9 -11
- package/date-range-picker/utils.d.ts.map +1 -1
- package/date-range-picker/utils.js +43 -32
- package/date-range-picker/utils.js.map +1 -1
- package/file-token-group/file-token.d.ts.map +1 -1
- package/file-token-group/file-token.js +1 -1
- package/file-token-group/file-token.js.map +1 -1
- package/i18n/messages/all.all.js +1 -1
- package/i18n/messages/all.all.json +1 -1
- package/i18n/messages/all.en.js +1 -1
- package/i18n/messages/all.en.json +1 -1
- package/i18n/messages-types.d.ts +9 -0
- package/i18n/messages-types.d.ts.map +1 -1
- package/i18n/messages-types.js.map +1 -1
- package/internal/components/tooltip/index.d.ts +2 -1
- package/internal/components/tooltip/index.d.ts.map +1 -1
- package/internal/components/tooltip/index.js +21 -2
- package/internal/components/tooltip/index.js.map +1 -1
- package/internal/environment.js +1 -1
- package/internal/environment.json +1 -1
- package/internal/manifest.json +1 -1
- package/internal/utils/date-time/calendar.d.ts +22 -6
- package/internal/utils/date-time/calendar.d.ts.map +1 -1
- package/internal/utils/date-time/calendar.js +62 -11
- package/internal/utils/date-time/calendar.js.map +1 -1
- package/multiselect/index.d.ts.map +1 -1
- package/multiselect/index.js +2 -3
- package/multiselect/index.js.map +1 -1
- package/package.json +1 -1
- package/progress-bar/index.d.ts.map +1 -1
- package/progress-bar/index.js +4 -3
- package/progress-bar/index.js.map +1 -1
- package/progress-bar/internal.js +2 -2
- package/progress-bar/internal.js.map +1 -1
- package/segmented-control/segment.d.ts.map +1 -1
- package/segmented-control/segment.js +1 -1
- package/segmented-control/segment.js.map +1 -1
- package/select/parts/item.d.ts.map +1 -1
- package/select/parts/item.js +4 -2
- package/select/parts/item.js.map +1 -1
- package/select/parts/multiselect-item.d.ts.map +1 -1
- package/select/parts/multiselect-item.js +4 -2
- package/select/parts/multiselect-item.js.map +1 -1
- package/slider/internal.d.ts.map +1 -1
- package/slider/internal.js +1 -1
- package/slider/internal.js.map +1 -1
- package/tabs/tab-header-bar.d.ts.map +1 -1
- package/tabs/tab-header-bar.js +1 -1
- package/tabs/tab-header-bar.js.map +1 -1
- package/test-utils/dom/date-range-picker/index.d.ts +26 -0
- package/test-utils/dom/date-range-picker/index.js +58 -24
- package/test-utils/dom/date-range-picker/index.js.map +1 -1
- package/test-utils/selectors/date-range-picker/index.d.ts +26 -0
- package/test-utils/selectors/date-range-picker/index.js +58 -24
- package/test-utils/selectors/date-range-picker/index.js.map +1 -1
- package/test-utils/tsconfig.tsbuildinfo +1 -1
- package/date-range-picker/calendar/grids/monthly-grid.d.ts +0 -39
- package/date-range-picker/calendar/grids/monthly-grid.d.ts.map +0 -1
- package/date-range-picker/calendar/grids/monthly-grid.js +0 -97
- package/date-range-picker/calendar/grids/monthly-grid.js.map +0 -1
|
@@ -2,14 +2,11 @@
|
|
|
2
2
|
// es-module interop with Babel and Typescript
|
|
3
3
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4
4
|
module.exports.default = {
|
|
5
|
-
"custom-range": "awsui_custom-
|
|
6
|
-
"custom-range--no-padding": "awsui_custom-range--no-
|
|
7
|
-
"custom-range-form-controls": "awsui_custom-range-form-
|
|
8
|
-
"custom-range-duration": "awsui_custom-range-
|
|
9
|
-
"custom-range-unit": "awsui_custom-range-
|
|
10
|
-
"vertical": "
|
|
11
|
-
"custom-range-duration-input": "awsui_custom-range-duration-input_16zmw_k2gxg_177",
|
|
12
|
-
"custom-range-unit-select": "awsui_custom-range-unit-select_16zmw_k2gxg_178",
|
|
13
|
-
"relative-range-radio-group": "awsui_relative-range-radio-group_16zmw_k2gxg_182"
|
|
5
|
+
"custom-range": "awsui_custom-range_16zmw_12l7m_145",
|
|
6
|
+
"custom-range--no-padding": "awsui_custom-range--no-padding_16zmw_12l7m_151",
|
|
7
|
+
"custom-range-form-controls": "awsui_custom-range-form-controls_16zmw_12l7m_155",
|
|
8
|
+
"custom-range-duration": "awsui_custom-range-duration_16zmw_12l7m_159",
|
|
9
|
+
"custom-range-unit": "awsui_custom-range-unit_16zmw_12l7m_160",
|
|
10
|
+
"vertical": "awsui_vertical_16zmw_12l7m_166"
|
|
14
11
|
};
|
|
15
12
|
|
|
@@ -1,43 +1,28 @@
|
|
|
1
1
|
|
|
2
2
|
import './styles.scoped.css';
|
|
3
3
|
export default {
|
|
4
|
-
"calendar": "
|
|
5
|
-
"awsui-motion-fade-in-0": "awsui_awsui-motion-fade-in-
|
|
6
|
-
"root": "
|
|
7
|
-
"wide": "
|
|
8
|
-
"focus-lock": "awsui_focus-
|
|
9
|
-
"trigger-flexbox": "awsui_trigger-
|
|
10
|
-
"calendar-container": "awsui_calendar-
|
|
11
|
-
"one-grid": "awsui_one-
|
|
12
|
-
"calendar-header": "awsui_calendar-
|
|
13
|
-
"calendar-header-
|
|
14
|
-
"calendar-header-
|
|
15
|
-
"
|
|
16
|
-
"
|
|
17
|
-
"
|
|
18
|
-
"
|
|
19
|
-
"
|
|
20
|
-
"
|
|
21
|
-
"
|
|
22
|
-
"
|
|
23
|
-
"
|
|
24
|
-
"
|
|
25
|
-
"
|
|
26
|
-
"
|
|
27
|
-
"label-text": "awsui_label-text_mgja0_1osv1_317",
|
|
28
|
-
"label-token-nowrap": "awsui_label-token-nowrap_mgja0_1osv1_322",
|
|
29
|
-
"mode-switch": "awsui_mode-switch_mgja0_1osv1_326",
|
|
30
|
-
"dropdown": "awsui_dropdown_mgja0_1osv1_330",
|
|
31
|
-
"dropdown-content": "awsui_dropdown-content_mgja0_1osv1_352",
|
|
32
|
-
"start-date-input": "awsui_start-date-input_mgja0_1osv1_360",
|
|
33
|
-
"start-time-input": "awsui_start-time-input_mgja0_1osv1_361",
|
|
34
|
-
"end-date-input": "awsui_end-date-input_mgja0_1osv1_362",
|
|
35
|
-
"end-time-input": "awsui_end-time-input_mgja0_1osv1_363",
|
|
36
|
-
"validation-section": "awsui_validation-section_mgja0_1osv1_367",
|
|
37
|
-
"validation-error": "awsui_validation-error_mgja0_1osv1_371",
|
|
38
|
-
"clear-button": "awsui_clear-button_mgja0_1osv1_375",
|
|
39
|
-
"apply-button": "awsui_apply-button_mgja0_1osv1_379",
|
|
40
|
-
"cancel-button": "awsui_cancel-button_mgja0_1osv1_383",
|
|
41
|
-
"calendar-aria-live": "awsui_calendar-aria-live_mgja0_1osv1_387"
|
|
4
|
+
"calendar": "awsui_calendar_mgja0_1r3ef_153",
|
|
5
|
+
"awsui-motion-fade-in-0": "awsui_awsui-motion-fade-in-0_mgja0_1r3ef_1",
|
|
6
|
+
"root": "awsui_root_mgja0_1r3ef_176",
|
|
7
|
+
"wide": "awsui_wide_mgja0_1r3ef_207",
|
|
8
|
+
"focus-lock": "awsui_focus-lock_mgja0_1r3ef_214",
|
|
9
|
+
"trigger-flexbox": "awsui_trigger-flexbox_mgja0_1r3ef_218",
|
|
10
|
+
"calendar-container": "awsui_calendar-container_mgja0_1r3ef_222",
|
|
11
|
+
"one-grid": "awsui_one-grid_mgja0_1r3ef_225",
|
|
12
|
+
"calendar-header": "awsui_calendar-header_mgja0_1r3ef_229",
|
|
13
|
+
"calendar-header-pages-wrapper": "awsui_calendar-header-pages-wrapper_mgja0_1r3ef_235",
|
|
14
|
+
"calendar-header-page": "awsui_calendar-header-page_mgja0_1r3ef_235",
|
|
15
|
+
"date-and-time-container": "awsui_date-and-time-container_mgja0_1r3ef_255",
|
|
16
|
+
"date-and-time-wrapper": "awsui_date-and-time-wrapper_mgja0_1r3ef_261",
|
|
17
|
+
"footer": "awsui_footer_mgja0_1r3ef_268",
|
|
18
|
+
"has-clear-button": "awsui_has-clear-button_mgja0_1r3ef_277",
|
|
19
|
+
"footer-button-wrapper": "awsui_footer-button-wrapper_mgja0_1r3ef_286",
|
|
20
|
+
"icon-wrapper": "awsui_icon-wrapper_mgja0_1r3ef_293",
|
|
21
|
+
"label": "awsui_label_mgja0_1r3ef_298",
|
|
22
|
+
"label-enabled": "awsui_label-enabled_mgja0_1r3ef_302",
|
|
23
|
+
"label-text": "awsui_label-text_mgja0_1r3ef_306",
|
|
24
|
+
"label-token-nowrap": "awsui_label-token-nowrap_mgja0_1r3ef_311",
|
|
25
|
+
"dropdown": "awsui_dropdown_mgja0_1r3ef_315",
|
|
26
|
+
"dropdown-content": "awsui_dropdown-content_mgja0_1r3ef_337"
|
|
42
27
|
};
|
|
43
28
|
|
|
@@ -150,11 +150,11 @@ surrounding text. (WCAG F73) https://www.w3.org/WAI/WCAG21/Techniques/failures/F
|
|
|
150
150
|
Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
|
|
151
151
|
SPDX-License-Identifier: Apache-2.0
|
|
152
152
|
*/
|
|
153
|
-
.
|
|
154
|
-
animation: awsui_awsui-motion-fade-in-
|
|
153
|
+
.awsui_calendar_mgja0_1r3ef_153:not(#\9) {
|
|
154
|
+
animation: awsui_awsui-motion-fade-in-0_mgja0_1r3ef_1 var(--motion-duration-show-quick-aq3ump, 135ms) var(--motion-easing-show-quick-vc5zgd, ease-out);
|
|
155
155
|
animation-fill-mode: both;
|
|
156
156
|
}
|
|
157
|
-
@keyframes awsui_awsui-motion-fade-in-
|
|
157
|
+
@keyframes awsui_awsui-motion-fade-in-0_mgja0_1r3ef_1 {
|
|
158
158
|
from {
|
|
159
159
|
opacity: 0;
|
|
160
160
|
}
|
|
@@ -163,17 +163,17 @@ surrounding text. (WCAG F73) https://www.w3.org/WAI/WCAG21/Techniques/failures/F
|
|
|
163
163
|
}
|
|
164
164
|
}
|
|
165
165
|
@media (prefers-reduced-motion: reduce) {
|
|
166
|
-
.
|
|
166
|
+
.awsui_calendar_mgja0_1r3ef_153:not(#\9) {
|
|
167
167
|
animation: none;
|
|
168
168
|
transition: none;
|
|
169
169
|
}
|
|
170
170
|
}
|
|
171
|
-
.awsui-motion-disabled .
|
|
171
|
+
.awsui-motion-disabled .awsui_calendar_mgja0_1r3ef_153:not(#\9), .awsui-mode-entering .awsui_calendar_mgja0_1r3ef_153:not(#\9) {
|
|
172
172
|
animation: none;
|
|
173
173
|
transition: none;
|
|
174
174
|
}
|
|
175
175
|
|
|
176
|
-
.
|
|
176
|
+
.awsui_root_mgja0_1r3ef_176:not(#\9) {
|
|
177
177
|
border-collapse: separate;
|
|
178
178
|
border-spacing: 0;
|
|
179
179
|
box-sizing: border-box;
|
|
@@ -205,35 +205,35 @@ surrounding text. (WCAG F73) https://www.w3.org/WAI/WCAG21/Techniques/failures/F
|
|
|
205
205
|
-webkit-font-smoothing: auto;
|
|
206
206
|
-moz-osx-font-smoothing: auto;
|
|
207
207
|
}
|
|
208
|
-
.
|
|
208
|
+
.awsui_root_mgja0_1r3ef_176:not(#\9):not(.awsui_wide_mgja0_1r3ef_207) {
|
|
209
209
|
max-inline-size: 32em;
|
|
210
210
|
}
|
|
211
|
-
.
|
|
211
|
+
.awsui_root_mgja0_1r3ef_176.awsui_wide_mgja0_1r3ef_207:not(#\9) {
|
|
212
212
|
max-inline-size: 39em;
|
|
213
213
|
}
|
|
214
214
|
|
|
215
|
-
.awsui_focus-
|
|
215
|
+
.awsui_focus-lock_mgja0_1r3ef_214:not(#\9) {
|
|
216
216
|
display: contents;
|
|
217
217
|
}
|
|
218
218
|
|
|
219
|
-
.awsui_trigger-
|
|
219
|
+
.awsui_trigger-flexbox_mgja0_1r3ef_218:not(#\9) {
|
|
220
220
|
display: flex;
|
|
221
221
|
}
|
|
222
222
|
|
|
223
|
-
.awsui_calendar-
|
|
223
|
+
.awsui_calendar-container_mgja0_1r3ef_222:not(#\9) {
|
|
224
224
|
inline-size: calc(2 * var(--size-calendar-grid-width-lrunz7, 238px) + var(--space-xs-zb16t3, 8px));
|
|
225
225
|
}
|
|
226
|
-
.awsui_calendar-
|
|
226
|
+
.awsui_calendar-container_mgja0_1r3ef_222.awsui_one-grid_mgja0_1r3ef_225:not(#\9) {
|
|
227
227
|
inline-size: var(--size-calendar-grid-width-lrunz7, 238px);
|
|
228
228
|
}
|
|
229
229
|
|
|
230
|
-
.awsui_calendar-
|
|
230
|
+
.awsui_calendar-header_mgja0_1r3ef_229:not(#\9) {
|
|
231
231
|
display: flex;
|
|
232
232
|
justify-content: space-between;
|
|
233
233
|
align-items: center;
|
|
234
234
|
position: relative;
|
|
235
235
|
}
|
|
236
|
-
.awsui_calendar-header-
|
|
236
|
+
.awsui_calendar-header-pages-wrapper_mgja0_1r3ef_235:not(#\9) {
|
|
237
237
|
position: absolute;
|
|
238
238
|
inset: 0;
|
|
239
239
|
margin-block: 0;
|
|
@@ -244,7 +244,7 @@ surrounding text. (WCAG F73) https://www.w3.org/WAI/WCAG21/Techniques/failures/F
|
|
|
244
244
|
flex: 1;
|
|
245
245
|
pointer-events: none;
|
|
246
246
|
}
|
|
247
|
-
.awsui_calendar-header-
|
|
247
|
+
.awsui_calendar-header-page_mgja0_1r3ef_235:not(#\9) {
|
|
248
248
|
font-size: var(--font-size-body-m-x4okxb, 14px);
|
|
249
249
|
line-height: var(--line-height-body-m-30ar75, 20px);
|
|
250
250
|
font-weight: 700;
|
|
@@ -252,32 +252,21 @@ surrounding text. (WCAG F73) https://www.w3.org/WAI/WCAG21/Techniques/failures/F
|
|
|
252
252
|
display: flex;
|
|
253
253
|
pointer-events: auto;
|
|
254
254
|
}
|
|
255
|
-
.awsui_calendar-next-month-btn_mgja0_1osv1_254:not(#\9) {
|
|
256
|
-
/* used for identifying element */
|
|
257
|
-
}
|
|
258
|
-
.awsui_calendar-prev-month-btn_mgja0_1osv1_257:not(#\9) {
|
|
259
|
-
/* used for identifying element */
|
|
260
|
-
}
|
|
261
255
|
|
|
262
|
-
.
|
|
263
|
-
.awsui_second-grid_mgja0_1osv1_262:not(#\9) {
|
|
264
|
-
/* used in test-utils */
|
|
265
|
-
}
|
|
266
|
-
|
|
267
|
-
.awsui_date-and-time-container_mgja0_1osv1_266:not(#\9) {
|
|
256
|
+
.awsui_date-and-time-container_mgja0_1r3ef_255:not(#\9) {
|
|
268
257
|
display: grid;
|
|
269
258
|
grid-template-columns: repeat(auto-fit, minmax(var(--size-calendar-grid-width-lrunz7, 238px), 1fr));
|
|
270
259
|
gap: var(--space-xs-zb16t3, 8px);
|
|
271
260
|
}
|
|
272
261
|
|
|
273
|
-
.awsui_date-and-time-
|
|
262
|
+
.awsui_date-and-time-wrapper_mgja0_1r3ef_261:not(#\9) {
|
|
274
263
|
inline-size: var(--size-calendar-grid-width-lrunz7, 238px);
|
|
275
264
|
display: grid;
|
|
276
265
|
gap: var(--space-xs-zb16t3, 8px);
|
|
277
266
|
grid-template-columns: repeat(auto-fit, minmax(0, 1fr));
|
|
278
267
|
}
|
|
279
268
|
|
|
280
|
-
.
|
|
269
|
+
.awsui_footer_mgja0_1r3ef_268:not(#\9) {
|
|
281
270
|
display: flex;
|
|
282
271
|
flex-wrap: wrap;
|
|
283
272
|
justify-content: flex-end;
|
|
@@ -286,49 +275,45 @@ surrounding text. (WCAG F73) https://www.w3.org/WAI/WCAG21/Techniques/failures/F
|
|
|
286
275
|
padding-block-end: var(--space-s-34lx8l, 12px);
|
|
287
276
|
padding-inline: var(--space-l-t419sm, 20px);
|
|
288
277
|
}
|
|
289
|
-
.
|
|
278
|
+
.awsui_footer_mgja0_1r3ef_268.awsui_has-clear-button_mgja0_1r3ef_277:not(#\9) {
|
|
290
279
|
justify-content: space-between;
|
|
291
280
|
}
|
|
292
|
-
.
|
|
281
|
+
.awsui_footer_mgja0_1r3ef_268.awsui_one-grid_mgja0_1r3ef_225:not(#\9) {
|
|
293
282
|
padding-block-start: 0;
|
|
294
283
|
padding-block-end: var(--space-s-34lx8l, 12px);
|
|
295
284
|
padding-inline: var(--space-xs-zb16t3, 8px);
|
|
296
285
|
}
|
|
297
286
|
|
|
298
|
-
.awsui_footer-button-
|
|
287
|
+
.awsui_footer-button-wrapper_mgja0_1r3ef_286:not(#\9) {
|
|
299
288
|
padding-block-start: var(--space-s-34lx8l, 12px);
|
|
300
289
|
}
|
|
301
|
-
.awsui_footer-button-
|
|
290
|
+
.awsui_footer-button-wrapper_mgja0_1r3ef_286:not(#\9):last-child {
|
|
302
291
|
margin-inline-start: auto;
|
|
303
292
|
}
|
|
304
293
|
|
|
305
|
-
.awsui_icon-
|
|
294
|
+
.awsui_icon-wrapper_mgja0_1r3ef_293:not(#\9) {
|
|
306
295
|
color: var(--color-text-interactive-default-tkx8fe, #424650);
|
|
307
296
|
margin-inline-end: var(--space-xs-zb16t3, 8px);
|
|
308
297
|
}
|
|
309
298
|
|
|
310
|
-
.
|
|
299
|
+
.awsui_label_mgja0_1r3ef_298:not(#\9) {
|
|
311
300
|
cursor: default;
|
|
312
301
|
}
|
|
313
302
|
|
|
314
|
-
.
|
|
303
|
+
.awsui_label_mgja0_1r3ef_298.awsui_label-enabled_mgja0_1r3ef_302:not(#\9):hover > .awsui_trigger-flexbox_mgja0_1r3ef_218 > .awsui_icon-wrapper_mgja0_1r3ef_293 {
|
|
315
304
|
color: var(--color-text-interactive-hover-f9gqs8, #0f141a);
|
|
316
305
|
}
|
|
317
306
|
|
|
318
|
-
.awsui_label-
|
|
307
|
+
.awsui_label-text_mgja0_1r3ef_306:not(#\9) {
|
|
319
308
|
color: var(--color-text-input-placeholder-f3x213, #656871);
|
|
320
309
|
font-style: italic;
|
|
321
310
|
}
|
|
322
311
|
|
|
323
|
-
.awsui_label-token-
|
|
312
|
+
.awsui_label-token-nowrap_mgja0_1r3ef_311:not(#\9) {
|
|
324
313
|
white-space: nowrap;
|
|
325
314
|
}
|
|
326
315
|
|
|
327
|
-
.
|
|
328
|
-
/* used in test-utils */
|
|
329
|
-
}
|
|
330
|
-
|
|
331
|
-
.awsui_dropdown_mgja0_1osv1_330:not(#\9) {
|
|
316
|
+
.awsui_dropdown_mgja0_1r3ef_315:not(#\9) {
|
|
332
317
|
overflow: auto;
|
|
333
318
|
border-block-start: 1px solid var(--color-border-container-top-736buh, transparent);
|
|
334
319
|
border-block-end: 1px solid var(--color-border-container-top-736buh, transparent);
|
|
@@ -337,10 +322,10 @@ surrounding text. (WCAG F73) https://www.w3.org/WAI/WCAG21/Techniques/failures/F
|
|
|
337
322
|
border-end-start-radius: var(--border-radius-dropdown-0dhh79, 8px);
|
|
338
323
|
border-end-end-radius: var(--border-radius-dropdown-0dhh79, 8px);
|
|
339
324
|
}
|
|
340
|
-
.
|
|
325
|
+
.awsui_dropdown_mgja0_1r3ef_315:not(#\9):focus {
|
|
341
326
|
outline: none;
|
|
342
327
|
}
|
|
343
|
-
body[data-awsui-focus-visible=true] .
|
|
328
|
+
body[data-awsui-focus-visible=true] .awsui_dropdown_mgja0_1r3ef_315:not(#\9):focus {
|
|
344
329
|
outline: 2px dotted transparent;
|
|
345
330
|
outline-offset: 2px;
|
|
346
331
|
border-start-start-radius: var(--border-radius-dropdown-0dhh79, 8px);
|
|
@@ -350,41 +335,10 @@ body[data-awsui-focus-visible=true] .awsui_dropdown_mgja0_1osv1_330:not(#\9):foc
|
|
|
350
335
|
box-shadow: 0 0 0 2px var(--color-border-item-focused-nv6mhz, #006ce0);
|
|
351
336
|
}
|
|
352
337
|
|
|
353
|
-
.awsui_dropdown-
|
|
338
|
+
.awsui_dropdown-content_mgja0_1r3ef_337:not(#\9) {
|
|
354
339
|
background-color: var(--color-background-container-content-z79u4u, #ffffff);
|
|
355
340
|
inline-size: calc(2 * var(--size-calendar-grid-width-lrunz7, 238px) + var(--space-xs-zb16t3, 8px) + 2 * var(--space-l-t419sm, 20px));
|
|
356
341
|
}
|
|
357
|
-
.awsui_dropdown-
|
|
342
|
+
.awsui_dropdown-content_mgja0_1r3ef_337.awsui_one-grid_mgja0_1r3ef_225:not(#\9) {
|
|
358
343
|
inline-size: calc(var(--size-calendar-grid-width-lrunz7, 238px) + 2 * var(--space-l-t419sm, 20px));
|
|
359
|
-
}
|
|
360
|
-
|
|
361
|
-
.awsui_start-date-input_mgja0_1osv1_360:not(#\9),
|
|
362
|
-
.awsui_start-time-input_mgja0_1osv1_361:not(#\9),
|
|
363
|
-
.awsui_end-date-input_mgja0_1osv1_362:not(#\9),
|
|
364
|
-
.awsui_end-time-input_mgja0_1osv1_363:not(#\9) {
|
|
365
|
-
/* used in test-utils */
|
|
366
|
-
}
|
|
367
|
-
|
|
368
|
-
.awsui_validation-section_mgja0_1osv1_367:not(#\9) {
|
|
369
|
-
/* used in test-utils */
|
|
370
|
-
}
|
|
371
|
-
|
|
372
|
-
.awsui_validation-error_mgja0_1osv1_371:not(#\9) {
|
|
373
|
-
/* used in test-utils */
|
|
374
|
-
}
|
|
375
|
-
|
|
376
|
-
.awsui_clear-button_mgja0_1osv1_375:not(#\9) {
|
|
377
|
-
/* used in test-utils */
|
|
378
|
-
}
|
|
379
|
-
|
|
380
|
-
.awsui_apply-button_mgja0_1osv1_379:not(#\9) {
|
|
381
|
-
/* used in test-utils */
|
|
382
|
-
}
|
|
383
|
-
|
|
384
|
-
.awsui_cancel-button_mgja0_1osv1_383:not(#\9) {
|
|
385
|
-
/* used in test-utils */
|
|
386
|
-
}
|
|
387
|
-
|
|
388
|
-
.awsui_calendar-aria-live_mgja0_1osv1_387:not(#\9) {
|
|
389
|
-
/* used in test-utils */
|
|
390
344
|
}
|
|
@@ -2,43 +2,28 @@
|
|
|
2
2
|
// es-module interop with Babel and Typescript
|
|
3
3
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4
4
|
module.exports.default = {
|
|
5
|
-
"calendar": "
|
|
6
|
-
"awsui-motion-fade-in-0": "awsui_awsui-motion-fade-in-
|
|
7
|
-
"root": "
|
|
8
|
-
"wide": "
|
|
9
|
-
"focus-lock": "awsui_focus-
|
|
10
|
-
"trigger-flexbox": "awsui_trigger-
|
|
11
|
-
"calendar-container": "awsui_calendar-
|
|
12
|
-
"one-grid": "awsui_one-
|
|
13
|
-
"calendar-header": "awsui_calendar-
|
|
14
|
-
"calendar-header-
|
|
15
|
-
"calendar-header-
|
|
16
|
-
"
|
|
17
|
-
"
|
|
18
|
-
"
|
|
19
|
-
"
|
|
20
|
-
"
|
|
21
|
-
"
|
|
22
|
-
"
|
|
23
|
-
"
|
|
24
|
-
"
|
|
25
|
-
"
|
|
26
|
-
"
|
|
27
|
-
"
|
|
28
|
-
"label-text": "awsui_label-text_mgja0_1osv1_317",
|
|
29
|
-
"label-token-nowrap": "awsui_label-token-nowrap_mgja0_1osv1_322",
|
|
30
|
-
"mode-switch": "awsui_mode-switch_mgja0_1osv1_326",
|
|
31
|
-
"dropdown": "awsui_dropdown_mgja0_1osv1_330",
|
|
32
|
-
"dropdown-content": "awsui_dropdown-content_mgja0_1osv1_352",
|
|
33
|
-
"start-date-input": "awsui_start-date-input_mgja0_1osv1_360",
|
|
34
|
-
"start-time-input": "awsui_start-time-input_mgja0_1osv1_361",
|
|
35
|
-
"end-date-input": "awsui_end-date-input_mgja0_1osv1_362",
|
|
36
|
-
"end-time-input": "awsui_end-time-input_mgja0_1osv1_363",
|
|
37
|
-
"validation-section": "awsui_validation-section_mgja0_1osv1_367",
|
|
38
|
-
"validation-error": "awsui_validation-error_mgja0_1osv1_371",
|
|
39
|
-
"clear-button": "awsui_clear-button_mgja0_1osv1_375",
|
|
40
|
-
"apply-button": "awsui_apply-button_mgja0_1osv1_379",
|
|
41
|
-
"cancel-button": "awsui_cancel-button_mgja0_1osv1_383",
|
|
42
|
-
"calendar-aria-live": "awsui_calendar-aria-live_mgja0_1osv1_387"
|
|
5
|
+
"calendar": "awsui_calendar_mgja0_1r3ef_153",
|
|
6
|
+
"awsui-motion-fade-in-0": "awsui_awsui-motion-fade-in-0_mgja0_1r3ef_1",
|
|
7
|
+
"root": "awsui_root_mgja0_1r3ef_176",
|
|
8
|
+
"wide": "awsui_wide_mgja0_1r3ef_207",
|
|
9
|
+
"focus-lock": "awsui_focus-lock_mgja0_1r3ef_214",
|
|
10
|
+
"trigger-flexbox": "awsui_trigger-flexbox_mgja0_1r3ef_218",
|
|
11
|
+
"calendar-container": "awsui_calendar-container_mgja0_1r3ef_222",
|
|
12
|
+
"one-grid": "awsui_one-grid_mgja0_1r3ef_225",
|
|
13
|
+
"calendar-header": "awsui_calendar-header_mgja0_1r3ef_229",
|
|
14
|
+
"calendar-header-pages-wrapper": "awsui_calendar-header-pages-wrapper_mgja0_1r3ef_235",
|
|
15
|
+
"calendar-header-page": "awsui_calendar-header-page_mgja0_1r3ef_235",
|
|
16
|
+
"date-and-time-container": "awsui_date-and-time-container_mgja0_1r3ef_255",
|
|
17
|
+
"date-and-time-wrapper": "awsui_date-and-time-wrapper_mgja0_1r3ef_261",
|
|
18
|
+
"footer": "awsui_footer_mgja0_1r3ef_268",
|
|
19
|
+
"has-clear-button": "awsui_has-clear-button_mgja0_1r3ef_277",
|
|
20
|
+
"footer-button-wrapper": "awsui_footer-button-wrapper_mgja0_1r3ef_286",
|
|
21
|
+
"icon-wrapper": "awsui_icon-wrapper_mgja0_1r3ef_293",
|
|
22
|
+
"label": "awsui_label_mgja0_1r3ef_298",
|
|
23
|
+
"label-enabled": "awsui_label-enabled_mgja0_1r3ef_302",
|
|
24
|
+
"label-text": "awsui_label-text_mgja0_1r3ef_306",
|
|
25
|
+
"label-token-nowrap": "awsui_label-token-nowrap_mgja0_1r3ef_311",
|
|
26
|
+
"dropdown": "awsui_dropdown_mgja0_1r3ef_315",
|
|
27
|
+
"dropdown-content": "awsui_dropdown-content_mgja0_1r3ef_337"
|
|
43
28
|
};
|
|
44
29
|
|
|
@@ -1,7 +1,41 @@
|
|
|
1
1
|
|
|
2
2
|
import './styles.scoped.css';
|
|
3
3
|
export default {
|
|
4
|
-
"
|
|
5
|
-
"
|
|
4
|
+
"root": "awsui_root_1afkv_i99li_5",
|
|
5
|
+
"dropdown": "awsui_dropdown_1afkv_i99li_6",
|
|
6
|
+
"label": "awsui_label_1afkv_i99li_7",
|
|
7
|
+
"relative-range-radio-group": "awsui_relative-range-radio-group_1afkv_i99li_8",
|
|
8
|
+
"custom-range-duration-input": "awsui_custom-range-duration-input_1afkv_i99li_9",
|
|
9
|
+
"custom-range-unit-select": "awsui_custom-range-unit-select_1afkv_i99li_10",
|
|
10
|
+
"mode-switch": "awsui_mode-switch_1afkv_i99li_11",
|
|
11
|
+
"first-grid": "awsui_first-grid_1afkv_i99li_12",
|
|
12
|
+
"second-grid": "awsui_second-grid_1afkv_i99li_13",
|
|
13
|
+
"calendar-header": "awsui_calendar-header_1afkv_i99li_14",
|
|
14
|
+
"calendar-next-page-btn": "awsui_calendar-next-page-btn_1afkv_i99li_15",
|
|
15
|
+
"calendar-prev-page-btn": "awsui_calendar-prev-page-btn_1afkv_i99li_16",
|
|
16
|
+
"calendar-next-month-btn": "awsui_calendar-next-month-btn_1afkv_i99li_17",
|
|
17
|
+
"calendar-prev-month-btn": "awsui_calendar-prev-month-btn_1afkv_i99li_18",
|
|
18
|
+
"calendar-aria-live": "awsui_calendar-aria-live_1afkv_i99li_19",
|
|
19
|
+
"calendar-date": "awsui_calendar-date_1afkv_i99li_20",
|
|
20
|
+
"calendar-week": "awsui_calendar-week_1afkv_i99li_21",
|
|
21
|
+
"calendar-month": "awsui_calendar-month_1afkv_i99li_22",
|
|
22
|
+
"calendar-quarter": "awsui_calendar-quarter_1afkv_i99li_23",
|
|
23
|
+
"today": "awsui_today_1afkv_i99li_24",
|
|
24
|
+
"this-month": "awsui_this-month_1afkv_i99li_25",
|
|
25
|
+
"day-header": "awsui_day-header_1afkv_i99li_26",
|
|
26
|
+
"start-date": "awsui_start-date_1afkv_i99li_27",
|
|
27
|
+
"end-date": "awsui_end-date_1afkv_i99li_28",
|
|
28
|
+
"start-time-input": "awsui_start-time-input_1afkv_i99li_29",
|
|
29
|
+
"end-time-input": "awsui_end-time-input_1afkv_i99li_30",
|
|
30
|
+
"start-date-input": "awsui_start-date-input_1afkv_i99li_31",
|
|
31
|
+
"end-date-input": "awsui_end-date-input_1afkv_i99li_32",
|
|
32
|
+
"start-month-input": "awsui_start-month-input_1afkv_i99li_33",
|
|
33
|
+
"end-month-input": "awsui_end-month-input_1afkv_i99li_34",
|
|
34
|
+
"disabled-reason-tooltip": "awsui_disabled-reason-tooltip_1afkv_i99li_35",
|
|
35
|
+
"validation-section": "awsui_validation-section_1afkv_i99li_36",
|
|
36
|
+
"validation-error": "awsui_validation-error_1afkv_i99li_37",
|
|
37
|
+
"clear-button": "awsui_clear-button_1afkv_i99li_38",
|
|
38
|
+
"apply-button": "awsui_apply-button_1afkv_i99li_39",
|
|
39
|
+
"cancel-button": "awsui_cancel-button_1afkv_i99li_40"
|
|
6
40
|
};
|
|
7
41
|
|
|
@@ -2,7 +2,41 @@
|
|
|
2
2
|
Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
|
|
3
3
|
SPDX-License-Identifier: Apache-2.0
|
|
4
4
|
*/
|
|
5
|
-
.
|
|
6
|
-
.
|
|
5
|
+
.awsui_root_1afkv_i99li_5:not(#\9),
|
|
6
|
+
.awsui_dropdown_1afkv_i99li_6:not(#\9),
|
|
7
|
+
.awsui_label_1afkv_i99li_7:not(#\9),
|
|
8
|
+
.awsui_relative-range-radio-group_1afkv_i99li_8:not(#\9),
|
|
9
|
+
.awsui_custom-range-duration-input_1afkv_i99li_9:not(#\9),
|
|
10
|
+
.awsui_custom-range-unit-select_1afkv_i99li_10:not(#\9),
|
|
11
|
+
.awsui_mode-switch_1afkv_i99li_11:not(#\9),
|
|
12
|
+
.awsui_first-grid_1afkv_i99li_12:not(#\9),
|
|
13
|
+
.awsui_second-grid_1afkv_i99li_13:not(#\9),
|
|
14
|
+
.awsui_calendar-header_1afkv_i99li_14:not(#\9),
|
|
15
|
+
.awsui_calendar-next-page-btn_1afkv_i99li_15:not(#\9),
|
|
16
|
+
.awsui_calendar-prev-page-btn_1afkv_i99li_16:not(#\9),
|
|
17
|
+
.awsui_calendar-next-month-btn_1afkv_i99li_17:not(#\9),
|
|
18
|
+
.awsui_calendar-prev-month-btn_1afkv_i99li_18:not(#\9),
|
|
19
|
+
.awsui_calendar-aria-live_1afkv_i99li_19:not(#\9),
|
|
20
|
+
.awsui_calendar-date_1afkv_i99li_20:not(#\9),
|
|
21
|
+
.awsui_calendar-week_1afkv_i99li_21:not(#\9),
|
|
22
|
+
.awsui_calendar-month_1afkv_i99li_22:not(#\9),
|
|
23
|
+
.awsui_calendar-quarter_1afkv_i99li_23:not(#\9),
|
|
24
|
+
.awsui_today_1afkv_i99li_24:not(#\9),
|
|
25
|
+
.awsui_this-month_1afkv_i99li_25:not(#\9),
|
|
26
|
+
.awsui_day-header_1afkv_i99li_26:not(#\9),
|
|
27
|
+
.awsui_start-date_1afkv_i99li_27:not(#\9),
|
|
28
|
+
.awsui_end-date_1afkv_i99li_28:not(#\9),
|
|
29
|
+
.awsui_start-time-input_1afkv_i99li_29:not(#\9),
|
|
30
|
+
.awsui_end-time-input_1afkv_i99li_30:not(#\9),
|
|
31
|
+
.awsui_start-date-input_1afkv_i99li_31:not(#\9),
|
|
32
|
+
.awsui_end-date-input_1afkv_i99li_32:not(#\9),
|
|
33
|
+
.awsui_start-month-input_1afkv_i99li_33:not(#\9),
|
|
34
|
+
.awsui_end-month-input_1afkv_i99li_34:not(#\9),
|
|
35
|
+
.awsui_disabled-reason-tooltip_1afkv_i99li_35:not(#\9),
|
|
36
|
+
.awsui_validation-section_1afkv_i99li_36:not(#\9),
|
|
37
|
+
.awsui_validation-error_1afkv_i99li_37:not(#\9),
|
|
38
|
+
.awsui_clear-button_1afkv_i99li_38:not(#\9),
|
|
39
|
+
.awsui_apply-button_1afkv_i99li_39:not(#\9),
|
|
40
|
+
.awsui_cancel-button_1afkv_i99li_40:not(#\9) {
|
|
7
41
|
/* used in test-utils */
|
|
8
42
|
}
|
|
@@ -2,7 +2,41 @@
|
|
|
2
2
|
// es-module interop with Babel and Typescript
|
|
3
3
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4
4
|
module.exports.default = {
|
|
5
|
-
"
|
|
6
|
-
"
|
|
5
|
+
"root": "awsui_root_1afkv_i99li_5",
|
|
6
|
+
"dropdown": "awsui_dropdown_1afkv_i99li_6",
|
|
7
|
+
"label": "awsui_label_1afkv_i99li_7",
|
|
8
|
+
"relative-range-radio-group": "awsui_relative-range-radio-group_1afkv_i99li_8",
|
|
9
|
+
"custom-range-duration-input": "awsui_custom-range-duration-input_1afkv_i99li_9",
|
|
10
|
+
"custom-range-unit-select": "awsui_custom-range-unit-select_1afkv_i99li_10",
|
|
11
|
+
"mode-switch": "awsui_mode-switch_1afkv_i99li_11",
|
|
12
|
+
"first-grid": "awsui_first-grid_1afkv_i99li_12",
|
|
13
|
+
"second-grid": "awsui_second-grid_1afkv_i99li_13",
|
|
14
|
+
"calendar-header": "awsui_calendar-header_1afkv_i99li_14",
|
|
15
|
+
"calendar-next-page-btn": "awsui_calendar-next-page-btn_1afkv_i99li_15",
|
|
16
|
+
"calendar-prev-page-btn": "awsui_calendar-prev-page-btn_1afkv_i99li_16",
|
|
17
|
+
"calendar-next-month-btn": "awsui_calendar-next-month-btn_1afkv_i99li_17",
|
|
18
|
+
"calendar-prev-month-btn": "awsui_calendar-prev-month-btn_1afkv_i99li_18",
|
|
19
|
+
"calendar-aria-live": "awsui_calendar-aria-live_1afkv_i99li_19",
|
|
20
|
+
"calendar-date": "awsui_calendar-date_1afkv_i99li_20",
|
|
21
|
+
"calendar-week": "awsui_calendar-week_1afkv_i99li_21",
|
|
22
|
+
"calendar-month": "awsui_calendar-month_1afkv_i99li_22",
|
|
23
|
+
"calendar-quarter": "awsui_calendar-quarter_1afkv_i99li_23",
|
|
24
|
+
"today": "awsui_today_1afkv_i99li_24",
|
|
25
|
+
"this-month": "awsui_this-month_1afkv_i99li_25",
|
|
26
|
+
"day-header": "awsui_day-header_1afkv_i99li_26",
|
|
27
|
+
"start-date": "awsui_start-date_1afkv_i99li_27",
|
|
28
|
+
"end-date": "awsui_end-date_1afkv_i99li_28",
|
|
29
|
+
"start-time-input": "awsui_start-time-input_1afkv_i99li_29",
|
|
30
|
+
"end-time-input": "awsui_end-time-input_1afkv_i99li_30",
|
|
31
|
+
"start-date-input": "awsui_start-date-input_1afkv_i99li_31",
|
|
32
|
+
"end-date-input": "awsui_end-date-input_1afkv_i99li_32",
|
|
33
|
+
"start-month-input": "awsui_start-month-input_1afkv_i99li_33",
|
|
34
|
+
"end-month-input": "awsui_end-month-input_1afkv_i99li_34",
|
|
35
|
+
"disabled-reason-tooltip": "awsui_disabled-reason-tooltip_1afkv_i99li_35",
|
|
36
|
+
"validation-section": "awsui_validation-section_1afkv_i99li_36",
|
|
37
|
+
"validation-error": "awsui_validation-error_1afkv_i99li_37",
|
|
38
|
+
"clear-button": "awsui_clear-button_1afkv_i99li_38",
|
|
39
|
+
"apply-button": "awsui_apply-button_1afkv_i99li_39",
|
|
40
|
+
"cancel-button": "awsui_cancel-button_1afkv_i99li_40"
|
|
7
41
|
};
|
|
8
42
|
|
|
@@ -1,14 +1,4 @@
|
|
|
1
1
|
import { DateRangePickerProps } from './interfaces';
|
|
2
|
-
export declare function formatValue(value: null | DateRangePickerProps.Value, { timeOffset, dateOnly }: {
|
|
3
|
-
timeOffset: {
|
|
4
|
-
startDate?: number;
|
|
5
|
-
endDate?: number;
|
|
6
|
-
};
|
|
7
|
-
dateOnly: boolean;
|
|
8
|
-
}): null | DateRangePickerProps.Value;
|
|
9
|
-
export declare function getDefaultMode(value: null | DateRangePickerProps.Value, relativeOptions: readonly DateRangePickerProps.RelativeOption[], rangeSelectorMode: DateRangePickerProps.RangeSelectorMode): "absolute" | "relative";
|
|
10
|
-
export declare function splitAbsoluteValue(value: null | DateRangePickerProps.AbsoluteValue): DateRangePickerProps.PendingAbsoluteValue;
|
|
11
|
-
export declare function joinAbsoluteValue(value: DateRangePickerProps.PendingAbsoluteValue): DateRangePickerProps.AbsoluteValue;
|
|
12
2
|
type NormalizedTimeOffset = {
|
|
13
3
|
startDate: number;
|
|
14
4
|
endDate: number;
|
|
@@ -16,6 +6,14 @@ type NormalizedTimeOffset = {
|
|
|
16
6
|
startDate: undefined;
|
|
17
7
|
endDate: undefined;
|
|
18
8
|
};
|
|
19
|
-
export declare function
|
|
9
|
+
export declare function formatValue(value: null | DateRangePickerProps.Value, { timeOffset, monthOnly, dateOnly, }: {
|
|
10
|
+
timeOffset: NormalizedTimeOffset | null;
|
|
11
|
+
monthOnly: boolean;
|
|
12
|
+
dateOnly: boolean;
|
|
13
|
+
}): null | DateRangePickerProps.Value;
|
|
14
|
+
export declare function getDefaultMode(value: null | DateRangePickerProps.Value, relativeOptions: readonly DateRangePickerProps.RelativeOption[], rangeSelectorMode: DateRangePickerProps.RangeSelectorMode): 'relative' | 'absolute';
|
|
15
|
+
export declare function splitAbsoluteValue(value: null | DateRangePickerProps.AbsoluteValue, hideTime?: boolean): DateRangePickerProps.PendingAbsoluteValue;
|
|
16
|
+
export declare function joinAbsoluteValue(value: DateRangePickerProps.PendingAbsoluteValue, hideTime?: boolean): DateRangePickerProps.AbsoluteValue;
|
|
17
|
+
export declare function formatInitialValue(value: null | DateRangePickerProps.Value, dateOnly: boolean, monthOnly: boolean, normalizedTimeOffset: NormalizedTimeOffset): DateRangePickerProps.Value | null;
|
|
20
18
|
export {};
|
|
21
19
|
//# sourceMappingURL=utils.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"utils.d.ts","sourceRoot":"","sources":["../../../src/date-range-picker/utils.tsx"],"names":[],"mappings":"AAKA,OAAO,EAAE,oBAAoB,EAAE,MAAM,cAAc,CAAC;AAGpD,wBAAgB,WAAW,CACzB,KAAK,EAAE,IAAI,GAAG,oBAAoB,CAAC,KAAK,EACxC,
|
|
1
|
+
{"version":3,"file":"utils.d.ts","sourceRoot":"","sources":["../../../src/date-range-picker/utils.tsx"],"names":[],"mappings":"AAKA,OAAO,EAAE,oBAAoB,EAAE,MAAM,cAAc,CAAC;AAGpD,KAAK,oBAAoB,GACrB;IACE,SAAS,EAAE,MAAM,CAAC;IAClB,OAAO,EAAE,MAAM,CAAC;CACjB,GACD;IACE,SAAS,EAAE,SAAS,CAAC;IACrB,OAAO,EAAE,SAAS,CAAC;CACpB,CAAC;AAiBN,wBAAgB,WAAW,CACzB,KAAK,EAAE,IAAI,GAAG,oBAAoB,CAAC,KAAK,EACxC,EACE,UAAU,EACV,SAAS,EACT,QAAQ,GACT,EAAE;IACD,UAAU,EAAE,oBAAoB,GAAG,IAAI,CAAC;IACxC,SAAS,EAAE,OAAO,CAAC;IACnB,QAAQ,EAAE,OAAO,CAAC;CACnB,GACA,IAAI,GAAG,oBAAoB,CAAC,KAAK,CAsBnC;AAED,wBAAgB,cAAc,CAC5B,KAAK,EAAE,IAAI,GAAG,oBAAoB,CAAC,KAAK,EACxC,eAAe,EAAE,SAAS,oBAAoB,CAAC,cAAc,EAAE,EAC/D,iBAAiB,EAAE,oBAAoB,CAAC,iBAAiB,GACxD,UAAU,GAAG,UAAU,CAWzB;AAED,wBAAgB,kBAAkB,CAChC,KAAK,EAAE,IAAI,GAAG,oBAAoB,CAAC,aAAa,EAChD,QAAQ,UAAQ,GACf,oBAAoB,CAAC,oBAAoB,CAe3C;AAED,wBAAgB,iBAAiB,CAC/B,KAAK,EAAE,oBAAoB,CAAC,oBAAoB,EAChD,QAAQ,UAAQ,GACf,oBAAoB,CAAC,aAAa,CAOpC;AAED,wBAAgB,kBAAkB,CAChC,KAAK,EAAE,IAAI,GAAG,oBAAoB,CAAC,KAAK,EACxC,QAAQ,EAAE,OAAO,EACjB,SAAS,EAAE,OAAO,EAClB,oBAAoB,EAAE,oBAAoB,GACzC,oBAAoB,CAAC,KAAK,GAAG,IAAI,CAcnC"}
|