@cloudscape-design/components-themeable 3.0.890 → 3.0.891
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/lib/internal/manifest.json +1 -1
- package/lib/internal/scss/date-range-picker/calendar/grids/styles.scss +5 -16
- package/lib/internal/scss/date-range-picker/test-classes/styles.scss +9 -0
- package/lib/internal/scss/popover/styles.scss +1 -25
- package/lib/internal/template/calendar/grid/use-calendar-grid-rows.d.ts +1 -1
- package/lib/internal/template/calendar/grid/use-calendar-grid-rows.d.ts.map +1 -1
- package/lib/internal/template/calendar/grid/use-calendar-grid-rows.js +11 -12
- package/lib/internal/template/calendar/grid/use-calendar-grid-rows.js.map +1 -1
- package/lib/internal/template/date-range-picker/calendar/grids/index.d.ts.map +1 -1
- package/lib/internal/template/date-range-picker/calendar/grids/index.js +2 -2
- package/lib/internal/template/date-range-picker/calendar/grids/index.js.map +1 -1
- package/lib/internal/template/date-range-picker/calendar/grids/monthly-grid.d.ts +2 -1
- package/lib/internal/template/date-range-picker/calendar/grids/monthly-grid.d.ts.map +1 -1
- package/lib/internal/template/date-range-picker/calendar/grids/monthly-grid.js +28 -34
- package/lib/internal/template/date-range-picker/calendar/grids/monthly-grid.js.map +1 -1
- package/lib/internal/template/date-range-picker/calendar/grids/styles.css.js +24 -28
- package/lib/internal/template/date-range-picker/calendar/grids/styles.scoped.css +42 -51
- package/lib/internal/template/date-range-picker/calendar/grids/styles.selectors.js +24 -28
- package/lib/internal/template/date-range-picker/test-classes/styles.css.js +7 -0
- package/lib/internal/template/date-range-picker/test-classes/styles.scoped.css +8 -0
- package/lib/internal/template/date-range-picker/test-classes/styles.selectors.js +8 -0
- package/lib/internal/template/internal/components/tooltip/index.d.ts.map +1 -1
- package/lib/internal/template/internal/components/tooltip/index.js +2 -3
- package/lib/internal/template/internal/components/tooltip/index.js.map +1 -1
- package/lib/internal/template/internal/environment.js +1 -1
- package/lib/internal/template/internal/environment.json +1 -1
- package/lib/internal/template/internal/utils/date-time/calendar.d.ts +34 -0
- package/lib/internal/template/internal/utils/date-time/calendar.d.ts.map +1 -0
- package/lib/internal/template/internal/utils/date-time/calendar.js +114 -0
- package/lib/internal/template/internal/utils/date-time/calendar.js.map +1 -0
- package/lib/internal/template/internal/utils/locale/index.d.ts +1 -1
- package/lib/internal/template/internal/utils/locale/index.d.ts.map +1 -1
- package/lib/internal/template/internal/utils/locale/index.js.map +1 -1
- package/lib/internal/template/internal/utils/locale/normalize-start-of-week.d.ts +1 -2
- package/lib/internal/template/internal/utils/locale/normalize-start-of-week.d.ts.map +1 -1
- package/lib/internal/template/internal/utils/locale/normalize-start-of-week.js.map +1 -1
- package/lib/internal/template/popover/container.d.ts +2 -1
- package/lib/internal/template/popover/container.d.ts.map +1 -1
- package/lib/internal/template/popover/container.js +2 -2
- package/lib/internal/template/popover/container.js.map +1 -1
- package/lib/internal/template/popover/interfaces.d.ts +2 -3
- package/lib/internal/template/popover/interfaces.d.ts.map +1 -1
- package/lib/internal/template/popover/interfaces.js.map +1 -1
- package/lib/internal/template/popover/internal.js +2 -2
- package/lib/internal/template/popover/internal.js.map +1 -1
- package/lib/internal/template/popover/styles.css.js +53 -54
- package/lib/internal/template/popover/styles.scoped.css +70 -96
- package/lib/internal/template/popover/styles.selectors.js +53 -54
- package/lib/internal/template/test-utils/dom/date-range-picker/index.js +2 -1
- package/lib/internal/template/test-utils/dom/date-range-picker/index.js.map +1 -1
- package/lib/internal/template/test-utils/selectors/date-range-picker/index.js +2 -1
- package/lib/internal/template/test-utils/selectors/date-range-picker/index.js.map +1 -1
- package/lib/internal/template/test-utils/tsconfig.tsbuildinfo +1 -1
- package/package.json +1 -1
|
@@ -286,11 +286,11 @@ surrounding text. (WCAG F73) https://www.w3.org/WAI/WCAG21/Techniques/failures/F
|
|
|
286
286
|
Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
|
|
287
287
|
SPDX-License-Identifier: Apache-2.0
|
|
288
288
|
*/
|
|
289
|
-
.
|
|
289
|
+
.awsui_arrow_xjuzf_1mxcv_289:not(#\9) {
|
|
290
290
|
inline-size: 20px;
|
|
291
291
|
block-size: 10px;
|
|
292
292
|
}
|
|
293
|
-
.awsui_arrow-
|
|
293
|
+
.awsui_arrow-outer_xjuzf_1mxcv_293:not(#\9), .awsui_arrow-inner_xjuzf_1mxcv_293:not(#\9) {
|
|
294
294
|
position: absolute;
|
|
295
295
|
overflow: hidden;
|
|
296
296
|
inline-size: 20px;
|
|
@@ -299,7 +299,7 @@ surrounding text. (WCAG F73) https://www.w3.org/WAI/WCAG21/Techniques/failures/F
|
|
|
299
299
|
inset-inline-start: 0;
|
|
300
300
|
/* stylelint-disable-next-line plugin/no-unsupported-browser-features */
|
|
301
301
|
}
|
|
302
|
-
.awsui_arrow-
|
|
302
|
+
.awsui_arrow-outer_xjuzf_1mxcv_293:not(#\9)::after, .awsui_arrow-inner_xjuzf_1mxcv_293:not(#\9)::after {
|
|
303
303
|
content: "";
|
|
304
304
|
box-sizing: border-box;
|
|
305
305
|
display: inline-block;
|
|
@@ -315,33 +315,33 @@ surrounding text. (WCAG F73) https://www.w3.org/WAI/WCAG21/Techniques/failures/F
|
|
|
315
315
|
transform: rotate(45deg);
|
|
316
316
|
transform-origin: 0 100%;
|
|
317
317
|
}
|
|
318
|
-
.awsui_arrow-
|
|
318
|
+
.awsui_arrow-outer_xjuzf_1mxcv_293:not(#\9):dir(rtl)::after, .awsui_arrow-inner_xjuzf_1mxcv_293:not(#\9):dir(rtl)::after {
|
|
319
319
|
transform: rotate(-45deg);
|
|
320
320
|
transform-origin: 100% 100%;
|
|
321
321
|
}
|
|
322
|
-
.awsui_arrow-
|
|
322
|
+
.awsui_arrow-outer_xjuzf_1mxcv_293:not(#\9)::after {
|
|
323
323
|
background-color: var(--color-border-popover-x1jxjw, #d5dbdb);
|
|
324
324
|
}
|
|
325
|
-
.awsui_arrow-
|
|
325
|
+
.awsui_arrow-inner_xjuzf_1mxcv_293:not(#\9) {
|
|
326
326
|
inset-block-start: calc(var(--border-width-popover-ymjvav, 1px) + 1px);
|
|
327
327
|
}
|
|
328
|
-
.awsui_arrow-
|
|
328
|
+
.awsui_arrow-inner_xjuzf_1mxcv_293:not(#\9)::after {
|
|
329
329
|
border-start-start-radius: 1px;
|
|
330
330
|
border-start-end-radius: 0;
|
|
331
331
|
border-end-start-radius: 0;
|
|
332
332
|
border-end-end-radius: 0;
|
|
333
333
|
background-color: var(--color-background-popover-jk60jt, #ffffff);
|
|
334
334
|
}
|
|
335
|
-
.awsui_arrow-position-right-
|
|
335
|
+
.awsui_arrow-position-right-top_xjuzf_1mxcv_335 > .awsui_arrow-outer_xjuzf_1mxcv_293:not(#\9)::after, .awsui_arrow-position-right-bottom_xjuzf_1mxcv_335 > .awsui_arrow-outer_xjuzf_1mxcv_293:not(#\9)::after {
|
|
336
336
|
box-shadow: -0.71px 0.71px 4px -2px var(--color-shadow-default-2h7lgk, rgba(0, 28, 36, 0.5));
|
|
337
337
|
}
|
|
338
|
-
.awsui_arrow-position-left-
|
|
338
|
+
.awsui_arrow-position-left-top_xjuzf_1mxcv_338 > .awsui_arrow-outer_xjuzf_1mxcv_293:not(#\9)::after, .awsui_arrow-position-left-bottom_xjuzf_1mxcv_338 > .awsui_arrow-outer_xjuzf_1mxcv_293:not(#\9)::after {
|
|
339
339
|
box-shadow: 0.71px -0.71px 4px -2px var(--color-shadow-default-2h7lgk, rgba(0, 28, 36, 0.5));
|
|
340
340
|
}
|
|
341
|
-
.awsui_arrow-position-top-
|
|
341
|
+
.awsui_arrow-position-top-center_xjuzf_1mxcv_341 > .awsui_arrow-outer_xjuzf_1mxcv_293:not(#\9)::after, .awsui_arrow-position-top-right_xjuzf_1mxcv_341 > .awsui_arrow-outer_xjuzf_1mxcv_293:not(#\9)::after, .awsui_arrow-position-top-left_xjuzf_1mxcv_341 > .awsui_arrow-outer_xjuzf_1mxcv_293:not(#\9)::after, .awsui_arrow-position-top-responsive_xjuzf_1mxcv_341 > .awsui_arrow-outer_xjuzf_1mxcv_293:not(#\9)::after {
|
|
342
342
|
box-shadow: -0.71px -0.71px 4px -2px var(--color-shadow-default-2h7lgk, rgba(0, 28, 36, 0.5));
|
|
343
343
|
}
|
|
344
|
-
.awsui_arrow-position-bottom-
|
|
344
|
+
.awsui_arrow-position-bottom-center_xjuzf_1mxcv_344 > .awsui_arrow-outer_xjuzf_1mxcv_293:not(#\9)::after, .awsui_arrow-position-bottom-right_xjuzf_1mxcv_344 > .awsui_arrow-outer_xjuzf_1mxcv_293:not(#\9)::after, .awsui_arrow-position-bottom-left_xjuzf_1mxcv_344 > .awsui_arrow-outer_xjuzf_1mxcv_293:not(#\9)::after, .awsui_arrow-position-bottom-responsive_xjuzf_1mxcv_344 > .awsui_arrow-outer_xjuzf_1mxcv_293:not(#\9)::after {
|
|
345
345
|
box-shadow: 0.71px 0.71px 4px -2px var(--color-shadow-default-2h7lgk, rgba(0, 28, 36, 0.5));
|
|
346
346
|
}
|
|
347
347
|
|
|
@@ -489,7 +489,7 @@ surrounding text. (WCAG F73) https://www.w3.org/WAI/WCAG21/Techniques/failures/F
|
|
|
489
489
|
Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
|
|
490
490
|
SPDX-License-Identifier: Apache-2.0
|
|
491
491
|
*/
|
|
492
|
-
.
|
|
492
|
+
.awsui_body_xjuzf_1mxcv_492:not(#\9) {
|
|
493
493
|
border-collapse: separate;
|
|
494
494
|
border-spacing: 0;
|
|
495
495
|
box-sizing: border-box;
|
|
@@ -526,16 +526,16 @@ surrounding text. (WCAG F73) https://www.w3.org/WAI/WCAG21/Techniques/failures/F
|
|
|
526
526
|
padding-block: var(--space-s-vmutj3, 12px);
|
|
527
527
|
padding-inline: var(--space-m-u91ipm, 16px);
|
|
528
528
|
}
|
|
529
|
-
.awsui_body-overflow-
|
|
529
|
+
.awsui_body-overflow-visible_xjuzf_1mxcv_528:not(#\9) {
|
|
530
530
|
overflow: visible;
|
|
531
531
|
}
|
|
532
532
|
|
|
533
|
-
.awsui_has-
|
|
533
|
+
.awsui_has-dismiss_xjuzf_1mxcv_532:not(#\9) {
|
|
534
534
|
display: flex;
|
|
535
535
|
align-items: baseline;
|
|
536
536
|
}
|
|
537
537
|
|
|
538
|
-
.
|
|
538
|
+
.awsui_dismiss_xjuzf_1mxcv_537:not(#\9) {
|
|
539
539
|
margin-block: calc(-1 * var(--space-xs-6dgkww, 8px));
|
|
540
540
|
margin-inline-start: 0;
|
|
541
541
|
margin-inline-end: calc(-1 * (var(--space-xxs-y2432o, 4px) + var(--border-width-popover-ymjvav, 1px)));
|
|
@@ -543,15 +543,15 @@ surrounding text. (WCAG F73) https://www.w3.org/WAI/WCAG21/Techniques/failures/F
|
|
|
543
543
|
order: 1;
|
|
544
544
|
}
|
|
545
545
|
|
|
546
|
-
.awsui_dismiss-
|
|
546
|
+
.awsui_dismiss-control_xjuzf_1mxcv_545:not(#\9) {
|
|
547
547
|
/* used in test-utils */
|
|
548
548
|
}
|
|
549
549
|
|
|
550
|
-
.awsui_header-
|
|
550
|
+
.awsui_header-row_xjuzf_1mxcv_549:not(#\9) {
|
|
551
551
|
margin-block-end: var(--space-xs-6dgkww, 8px);
|
|
552
552
|
}
|
|
553
553
|
|
|
554
|
-
.
|
|
554
|
+
.awsui_header_xjuzf_1mxcv_549:not(#\9) {
|
|
555
555
|
word-wrap: break-word;
|
|
556
556
|
max-inline-size: 100%;
|
|
557
557
|
overflow: hidden;
|
|
@@ -563,7 +563,7 @@ surrounding text. (WCAG F73) https://www.w3.org/WAI/WCAG21/Techniques/failures/F
|
|
|
563
563
|
flex: 1 1 auto;
|
|
564
564
|
/* stylelint-disable-next-line selector-max-type */
|
|
565
565
|
}
|
|
566
|
-
.
|
|
566
|
+
.awsui_header_xjuzf_1mxcv_549 > h2:not(#\9) {
|
|
567
567
|
font-size: var(--font-size-heading-xs-grnyyg, 16px);
|
|
568
568
|
line-height: var(--line-height-heading-xs-funjxm, 20px);
|
|
569
569
|
font-weight: var(--font-weight-heading-xs-y5uryl, 400);
|
|
@@ -572,7 +572,7 @@ surrounding text. (WCAG F73) https://www.w3.org/WAI/WCAG21/Techniques/failures/F
|
|
|
572
572
|
display: inline;
|
|
573
573
|
}
|
|
574
574
|
|
|
575
|
-
.
|
|
575
|
+
.awsui_content_xjuzf_1mxcv_574:not(#\9) {
|
|
576
576
|
word-wrap: break-word;
|
|
577
577
|
max-inline-size: 100%;
|
|
578
578
|
overflow: hidden;
|
|
@@ -580,7 +580,7 @@ surrounding text. (WCAG F73) https://www.w3.org/WAI/WCAG21/Techniques/failures/F
|
|
|
580
580
|
flex: 1 1 auto;
|
|
581
581
|
min-inline-size: 0;
|
|
582
582
|
}
|
|
583
|
-
.awsui_content-overflow-
|
|
583
|
+
.awsui_content-overflow-visible_xjuzf_1mxcv_582:not(#\9) {
|
|
584
584
|
overflow: visible;
|
|
585
585
|
}
|
|
586
586
|
|
|
@@ -728,7 +728,7 @@ surrounding text. (WCAG F73) https://www.w3.org/WAI/WCAG21/Techniques/failures/F
|
|
|
728
728
|
Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
|
|
729
729
|
SPDX-License-Identifier: Apache-2.0
|
|
730
730
|
*/
|
|
731
|
-
.
|
|
731
|
+
.awsui_container_xjuzf_1mxcv_730:not(#\9) {
|
|
732
732
|
display: inline-block;
|
|
733
733
|
position: fixed;
|
|
734
734
|
inset-block-start: -9999px;
|
|
@@ -736,7 +736,7 @@ surrounding text. (WCAG F73) https://www.w3.org/WAI/WCAG21/Techniques/failures/F
|
|
|
736
736
|
z-index: 2000;
|
|
737
737
|
}
|
|
738
738
|
|
|
739
|
-
.awsui_container-
|
|
739
|
+
.awsui_container-body_xjuzf_1mxcv_738:not(#\9) {
|
|
740
740
|
border-collapse: separate;
|
|
741
741
|
border-spacing: 0;
|
|
742
742
|
box-sizing: border-box;
|
|
@@ -777,100 +777,100 @@ surrounding text. (WCAG F73) https://www.w3.org/WAI/WCAG21/Techniques/failures/F
|
|
|
777
777
|
border-inline: var(--border-width-popover-ymjvav, 1px) solid var(--color-border-popover-x1jxjw, #d5dbdb);
|
|
778
778
|
}
|
|
779
779
|
|
|
780
|
-
.awsui_container-body-variant-
|
|
780
|
+
.awsui_container-body-variant-annotation_xjuzf_1mxcv_778:not(#\9) {
|
|
781
781
|
background-color: var(--color-background-status-info-zgt1yi, #f1faff);
|
|
782
782
|
border-color: var(--color-border-status-info-7kw04i, #0073bb);
|
|
783
783
|
}
|
|
784
784
|
|
|
785
|
-
.awsui_container-body-size-
|
|
785
|
+
.awsui_container-body-size-small_xjuzf_1mxcv_783:not(#\9) {
|
|
786
786
|
max-inline-size: 210px;
|
|
787
787
|
}
|
|
788
|
-
.awsui_container-body-size-
|
|
788
|
+
.awsui_container-body-size-small_xjuzf_1mxcv_783.awsui_fixed-width_xjuzf_1mxcv_786:not(#\9) {
|
|
789
789
|
inline-size: 210px;
|
|
790
790
|
}
|
|
791
791
|
|
|
792
|
-
.awsui_container-body-size-
|
|
792
|
+
.awsui_container-body-size-medium_xjuzf_1mxcv_790:not(#\9) {
|
|
793
793
|
max-inline-size: 310px;
|
|
794
794
|
}
|
|
795
|
-
.awsui_container-body-size-
|
|
795
|
+
.awsui_container-body-size-medium_xjuzf_1mxcv_790.awsui_fixed-width_xjuzf_1mxcv_786:not(#\9) {
|
|
796
796
|
inline-size: 310px;
|
|
797
797
|
}
|
|
798
798
|
|
|
799
|
-
.awsui_container-body-size-
|
|
799
|
+
.awsui_container-body-size-large_xjuzf_1mxcv_797:not(#\9) {
|
|
800
800
|
max-inline-size: 482px;
|
|
801
801
|
}
|
|
802
802
|
@media (max-width: 482px) {
|
|
803
|
-
.awsui_container-body-size-
|
|
803
|
+
.awsui_container-body-size-large_xjuzf_1mxcv_797:not(#\9) {
|
|
804
804
|
max-inline-size: 310px;
|
|
805
805
|
}
|
|
806
806
|
}
|
|
807
|
-
.awsui_container-body-size-
|
|
807
|
+
.awsui_container-body-size-large_xjuzf_1mxcv_797.awsui_fixed-width_xjuzf_1mxcv_786:not(#\9) {
|
|
808
808
|
inline-size: 482px;
|
|
809
809
|
}
|
|
810
810
|
|
|
811
|
-
.awsui_container-
|
|
811
|
+
.awsui_container-arrow_xjuzf_1mxcv_809:not(#\9) {
|
|
812
812
|
position: absolute;
|
|
813
813
|
display: inline-block;
|
|
814
814
|
}
|
|
815
|
-
.awsui_container-arrow-position-right-
|
|
815
|
+
.awsui_container-arrow-position-right-top_xjuzf_1mxcv_813:not(#\9), .awsui_container-arrow-position-right-bottom_xjuzf_1mxcv_813:not(#\9) {
|
|
816
816
|
transform: rotate(-90deg);
|
|
817
817
|
transform-origin: 0 100%;
|
|
818
818
|
/* stylelint-disable-next-line plugin/no-unsupported-browser-features */
|
|
819
819
|
}
|
|
820
|
-
.awsui_container-arrow-position-right-
|
|
820
|
+
.awsui_container-arrow-position-right-top_xjuzf_1mxcv_813:not(#\9):dir(rtl), .awsui_container-arrow-position-right-bottom_xjuzf_1mxcv_813:not(#\9):dir(rtl) {
|
|
821
821
|
transform: rotate(90deg);
|
|
822
822
|
transform-origin: 100% 100%;
|
|
823
823
|
}
|
|
824
|
-
.awsui_container-arrow-position-right-
|
|
824
|
+
.awsui_container-arrow-position-right-top_xjuzf_1mxcv_813:not(#\9) {
|
|
825
825
|
inset-block-start: calc(12px + 10px);
|
|
826
826
|
inset-inline-start: 0;
|
|
827
827
|
}
|
|
828
|
-
.awsui_container-arrow-position-right-
|
|
828
|
+
.awsui_container-arrow-position-right-bottom_xjuzf_1mxcv_813:not(#\9) {
|
|
829
829
|
inset-block-end: 12px;
|
|
830
830
|
inset-inline-start: 0;
|
|
831
831
|
}
|
|
832
|
-
.awsui_container-arrow-position-left-
|
|
832
|
+
.awsui_container-arrow-position-left-top_xjuzf_1mxcv_830:not(#\9), .awsui_container-arrow-position-left-bottom_xjuzf_1mxcv_830:not(#\9) {
|
|
833
833
|
transform: rotate(90deg);
|
|
834
834
|
transform-origin: 100% 100%;
|
|
835
835
|
/* stylelint-disable-next-line plugin/no-unsupported-browser-features */
|
|
836
836
|
}
|
|
837
|
-
.awsui_container-arrow-position-left-
|
|
837
|
+
.awsui_container-arrow-position-left-top_xjuzf_1mxcv_830:not(#\9):dir(rtl), .awsui_container-arrow-position-left-bottom_xjuzf_1mxcv_830:not(#\9):dir(rtl) {
|
|
838
838
|
transform: rotate(-90deg);
|
|
839
839
|
transform-origin: 0% 100%;
|
|
840
840
|
}
|
|
841
|
-
.awsui_container-arrow-position-left-
|
|
841
|
+
.awsui_container-arrow-position-left-top_xjuzf_1mxcv_830:not(#\9) {
|
|
842
842
|
inset-block-start: calc(12px + 10px);
|
|
843
843
|
inset-inline-end: 0;
|
|
844
844
|
}
|
|
845
|
-
.awsui_container-arrow-position-left-
|
|
845
|
+
.awsui_container-arrow-position-left-bottom_xjuzf_1mxcv_830:not(#\9) {
|
|
846
846
|
inset-block-end: 12px;
|
|
847
847
|
inset-inline-end: 0;
|
|
848
848
|
}
|
|
849
|
-
.awsui_container-arrow-position-top-
|
|
849
|
+
.awsui_container-arrow-position-top-center_xjuzf_1mxcv_847:not(#\9), .awsui_container-arrow-position-top-right_xjuzf_1mxcv_847:not(#\9), .awsui_container-arrow-position-top-left_xjuzf_1mxcv_847:not(#\9), .awsui_container-arrow-position-top-responsive_xjuzf_1mxcv_847:not(#\9) {
|
|
850
850
|
transform: rotate(180deg);
|
|
851
851
|
transform-origin: 50% 50%;
|
|
852
852
|
}
|
|
853
|
-
.awsui_container-arrow-position-top-
|
|
853
|
+
.awsui_container-arrow-position-top-center_xjuzf_1mxcv_847:not(#\9) {
|
|
854
854
|
inset-block-end: -10px;
|
|
855
855
|
inset-inline-start: calc(50% - 10px);
|
|
856
856
|
}
|
|
857
|
-
.awsui_container-arrow-position-top-
|
|
857
|
+
.awsui_container-arrow-position-top-right_xjuzf_1mxcv_847:not(#\9) {
|
|
858
858
|
inset-block-end: -10px;
|
|
859
859
|
inset-inline-start: 12px;
|
|
860
860
|
}
|
|
861
|
-
.awsui_container-arrow-position-top-
|
|
861
|
+
.awsui_container-arrow-position-top-left_xjuzf_1mxcv_847:not(#\9) {
|
|
862
862
|
inset-block-end: -10px;
|
|
863
863
|
inset-inline-start: calc(100% - 20px - 12px);
|
|
864
864
|
}
|
|
865
|
-
.awsui_container-arrow-position-bottom-
|
|
865
|
+
.awsui_container-arrow-position-bottom-center_xjuzf_1mxcv_863:not(#\9) {
|
|
866
866
|
inset-block-start: -10px;
|
|
867
867
|
inset-inline-start: calc(50% - 10px);
|
|
868
868
|
}
|
|
869
|
-
.awsui_container-arrow-position-bottom-
|
|
869
|
+
.awsui_container-arrow-position-bottom-right_xjuzf_1mxcv_867:not(#\9) {
|
|
870
870
|
inset-block-start: -10px;
|
|
871
871
|
inset-inline-start: 12px;
|
|
872
872
|
}
|
|
873
|
-
.awsui_container-arrow-position-bottom-
|
|
873
|
+
.awsui_container-arrow-position-bottom-left_xjuzf_1mxcv_871:not(#\9) {
|
|
874
874
|
inset-block-start: -10px;
|
|
875
875
|
inset-inline-start: calc(100% - 20px - 12px);
|
|
876
876
|
}
|
|
@@ -1019,10 +1019,10 @@ surrounding text. (WCAG F73) https://www.w3.org/WAI/WCAG21/Techniques/failures/F
|
|
|
1019
1019
|
Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
|
|
1020
1020
|
SPDX-License-Identifier: Apache-2.0
|
|
1021
1021
|
*/
|
|
1022
|
-
.
|
|
1023
|
-
animation: awsui_awsui-motion-fade-
|
|
1022
|
+
.awsui_container_xjuzf_1mxcv_730:not(#\9) {
|
|
1023
|
+
animation: awsui_awsui-motion-fade-in_xjuzf_1mxcv_1 var(--motion-duration-show-paced-kxd6k3, 180ms) var(--motion-easing-show-paced-2zwyek, ease-out);
|
|
1024
1024
|
}
|
|
1025
|
-
@keyframes awsui_awsui-motion-fade-
|
|
1025
|
+
@keyframes awsui_awsui-motion-fade-in_xjuzf_1mxcv_1 {
|
|
1026
1026
|
from {
|
|
1027
1027
|
opacity: 0.2;
|
|
1028
1028
|
}
|
|
@@ -1031,19 +1031,19 @@ surrounding text. (WCAG F73) https://www.w3.org/WAI/WCAG21/Techniques/failures/F
|
|
|
1031
1031
|
}
|
|
1032
1032
|
}
|
|
1033
1033
|
@media (prefers-reduced-motion: reduce) {
|
|
1034
|
-
.
|
|
1034
|
+
.awsui_container_xjuzf_1mxcv_730:not(#\9) {
|
|
1035
1035
|
animation: none;
|
|
1036
1036
|
transition: none;
|
|
1037
1037
|
}
|
|
1038
1038
|
}
|
|
1039
|
-
.awsui-motion-disabled .
|
|
1039
|
+
.awsui-motion-disabled .awsui_container_xjuzf_1mxcv_730:not(#\9), .awsui-mode-entering .awsui_container_xjuzf_1mxcv_730:not(#\9) {
|
|
1040
1040
|
animation: none;
|
|
1041
1041
|
transition: none;
|
|
1042
1042
|
}
|
|
1043
|
-
.
|
|
1044
|
-
animation: awsui_awsui-motion-fade-
|
|
1043
|
+
.awsui_container_xjuzf_1mxcv_730.awsui_refresh_xjuzf_1mxcv_1041:not(#\9) {
|
|
1044
|
+
animation: awsui_awsui-motion-fade-in_xjuzf_1mxcv_1 var(--motion-duration-refresh-only-fast-ww2eh4, 0ms) var(--motion-easing-refresh-only-a-tqkxvq, cubic-bezier(0, 0, 0, 1));
|
|
1045
1045
|
}
|
|
1046
|
-
@keyframes awsui_awsui-motion-fade-
|
|
1046
|
+
@keyframes awsui_awsui-motion-fade-in_xjuzf_1mxcv_1 {
|
|
1047
1047
|
from {
|
|
1048
1048
|
opacity: 0.2;
|
|
1049
1049
|
}
|
|
@@ -1052,17 +1052,17 @@ surrounding text. (WCAG F73) https://www.w3.org/WAI/WCAG21/Techniques/failures/F
|
|
|
1052
1052
|
}
|
|
1053
1053
|
}
|
|
1054
1054
|
@media (prefers-reduced-motion: reduce) {
|
|
1055
|
-
.
|
|
1055
|
+
.awsui_container_xjuzf_1mxcv_730.awsui_refresh_xjuzf_1mxcv_1041:not(#\9) {
|
|
1056
1056
|
animation: none;
|
|
1057
1057
|
transition: none;
|
|
1058
1058
|
}
|
|
1059
1059
|
}
|
|
1060
|
-
.awsui-motion-disabled .
|
|
1060
|
+
.awsui-motion-disabled .awsui_container_xjuzf_1mxcv_730.awsui_refresh_xjuzf_1mxcv_1041:not(#\9), .awsui-mode-entering .awsui_container_xjuzf_1mxcv_730.awsui_refresh_xjuzf_1mxcv_1041:not(#\9) {
|
|
1061
1061
|
animation: none;
|
|
1062
1062
|
transition: none;
|
|
1063
1063
|
}
|
|
1064
1064
|
|
|
1065
|
-
.
|
|
1065
|
+
.awsui_root_xjuzf_1mxcv_1063:not(#\9) {
|
|
1066
1066
|
border-collapse: separate;
|
|
1067
1067
|
border-spacing: 0;
|
|
1068
1068
|
box-sizing: border-box;
|
|
@@ -1095,22 +1095,22 @@ surrounding text. (WCAG F73) https://www.w3.org/WAI/WCAG21/Techniques/failures/F
|
|
|
1095
1095
|
-moz-osx-font-smoothing: auto;
|
|
1096
1096
|
color: inherit;
|
|
1097
1097
|
}
|
|
1098
|
-
.
|
|
1098
|
+
.awsui_root_xjuzf_1mxcv_1063.awsui_no-wrap_xjuzf_1mxcv_1095:not(#\9) {
|
|
1099
1099
|
white-space: nowrap;
|
|
1100
1100
|
}
|
|
1101
1101
|
|
|
1102
|
-
.awsui_root-filtering-
|
|
1102
|
+
.awsui_root-filtering-token_xjuzf_1mxcv_1099:not(#\9) {
|
|
1103
1103
|
display: flex;
|
|
1104
1104
|
}
|
|
1105
1105
|
|
|
1106
|
-
.
|
|
1106
|
+
.awsui_trigger_xjuzf_1mxcv_1103:not(#\9) {
|
|
1107
1107
|
display: inline-block;
|
|
1108
1108
|
max-inline-size: 100%;
|
|
1109
1109
|
color: inherit;
|
|
1110
1110
|
text-align: inherit;
|
|
1111
1111
|
}
|
|
1112
1112
|
|
|
1113
|
-
.awsui_overflow-
|
|
1113
|
+
.awsui_overflow-ellipsis_xjuzf_1mxcv_1110:not(#\9) {
|
|
1114
1114
|
white-space: nowrap;
|
|
1115
1115
|
overflow: hidden;
|
|
1116
1116
|
text-overflow: ellipsis;
|
|
@@ -1118,31 +1118,8 @@ surrounding text. (WCAG F73) https://www.w3.org/WAI/WCAG21/Techniques/failures/F
|
|
|
1118
1118
|
word-break: break-word;
|
|
1119
1119
|
}
|
|
1120
1120
|
|
|
1121
|
-
.awsui_trigger-type-
|
|
1121
|
+
.awsui_trigger-type-text_xjuzf_1mxcv_1118:not(#\9) {
|
|
1122
1122
|
border-block: 0;
|
|
1123
|
-
/*
|
|
1124
|
-
This transparent border is necessary to maintain space between the trigger and the bottom-positioned popover.
|
|
1125
|
-
*/
|
|
1126
|
-
border-block-end: var(--border-divider-list-width-x6rz7e, 1px) dashed transparent;
|
|
1127
|
-
-webkit-text-decoration: underline dashed currentColor;
|
|
1128
|
-
text-decoration: underline dashed currentColor;
|
|
1129
|
-
text-decoration-thickness: var(--border-divider-list-width-x6rz7e, 1px);
|
|
1130
|
-
text-underline-offset: 0.25em;
|
|
1131
|
-
}
|
|
1132
|
-
.awsui_trigger-type-text-inline_xjuzf_29tqc_1118.awsui_overflow-ellipsis_xjuzf_29tqc_1110:not(#\9) {
|
|
1133
|
-
/*
|
|
1134
|
-
This line-height needs to be overridden because the overflow: hidden would otherwise conceal the underline styles.
|
|
1135
|
-
*/
|
|
1136
|
-
line-height: calc(1 + 0.25em + var(--border-divider-list-width-x6rz7e, 1px));
|
|
1137
|
-
}
|
|
1138
|
-
|
|
1139
|
-
.awsui_trigger-type-text_xjuzf_29tqc_1118:not(#\9) {
|
|
1140
|
-
border-block: 0;
|
|
1141
|
-
border-block-end: var(--border-divider-list-width-x6rz7e, 1px) dashed currentColor;
|
|
1142
|
-
}
|
|
1143
|
-
|
|
1144
|
-
.awsui_trigger-type-text-inline_xjuzf_29tqc_1118:not(#\9),
|
|
1145
|
-
.awsui_trigger-type-text_xjuzf_29tqc_1118:not(#\9) {
|
|
1146
1123
|
border-inline: 0;
|
|
1147
1124
|
margin-block: 0;
|
|
1148
1125
|
margin-inline: 0;
|
|
@@ -1150,22 +1127,19 @@ surrounding text. (WCAG F73) https://www.w3.org/WAI/WCAG21/Techniques/failures/F
|
|
|
1150
1127
|
padding-inline: 0;
|
|
1151
1128
|
background-color: transparent;
|
|
1152
1129
|
cursor: pointer;
|
|
1130
|
+
border-block-end: var(--border-divider-list-width-x6rz7e, 1px) dashed currentColor;
|
|
1153
1131
|
}
|
|
1154
|
-
.awsui_trigger-type-
|
|
1155
|
-
.awsui_trigger-type-text_xjuzf_29tqc_1118:not(#\9):focus {
|
|
1132
|
+
.awsui_trigger-type-text_xjuzf_1mxcv_1118:not(#\9):focus {
|
|
1156
1133
|
outline: none;
|
|
1157
1134
|
}
|
|
1158
|
-
body[data-awsui-focus-visible=true] .awsui_trigger-type-
|
|
1159
|
-
body[data-awsui-focus-visible=true] .awsui_trigger-type-text_xjuzf_29tqc_1118:not(#\9):focus {
|
|
1135
|
+
body[data-awsui-focus-visible=true] .awsui_trigger-type-text_xjuzf_1mxcv_1118:not(#\9):focus {
|
|
1160
1136
|
position: relative;
|
|
1161
1137
|
}
|
|
1162
|
-
body[data-awsui-focus-visible=true] .awsui_trigger-type-
|
|
1163
|
-
body[data-awsui-focus-visible=true] .awsui_trigger-type-text_xjuzf_29tqc_1118:not(#\9):focus {
|
|
1138
|
+
body[data-awsui-focus-visible=true] .awsui_trigger-type-text_xjuzf_1mxcv_1118:not(#\9):focus {
|
|
1164
1139
|
outline: 2px dotted transparent;
|
|
1165
1140
|
outline-offset: calc(1px - 1px);
|
|
1166
1141
|
}
|
|
1167
|
-
body[data-awsui-focus-visible=true] .awsui_trigger-type-
|
|
1168
|
-
body[data-awsui-focus-visible=true] .awsui_trigger-type-text_xjuzf_29tqc_1118:not(#\9):focus::before {
|
|
1142
|
+
body[data-awsui-focus-visible=true] .awsui_trigger-type-text_xjuzf_1mxcv_1118:not(#\9):focus::before {
|
|
1169
1143
|
content: " ";
|
|
1170
1144
|
display: block;
|
|
1171
1145
|
position: absolute;
|
|
@@ -1180,10 +1154,10 @@ body[data-awsui-focus-visible=true] .awsui_trigger-type-text_xjuzf_29tqc_1118:no
|
|
|
1180
1154
|
box-shadow: 0 0 0 2px var(--color-border-item-focused-q68bgg, #0073bb);
|
|
1181
1155
|
}
|
|
1182
1156
|
|
|
1183
|
-
.awsui_trigger-type-filtering-
|
|
1157
|
+
.awsui_trigger-type-filtering-token_xjuzf_1mxcv_1154:not(#\9) {
|
|
1184
1158
|
display: flex;
|
|
1185
1159
|
}
|
|
1186
1160
|
|
|
1187
|
-
.awsui_popover-inline-
|
|
1161
|
+
.awsui_popover-inline-content_xjuzf_1mxcv_1158:not(#\9) {
|
|
1188
1162
|
display: inline;
|
|
1189
1163
|
}
|
|
@@ -2,59 +2,58 @@
|
|
|
2
2
|
// es-module interop with Babel and Typescript
|
|
3
3
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4
4
|
module.exports.default = {
|
|
5
|
-
"arrow": "
|
|
6
|
-
"arrow-outer": "awsui_arrow-
|
|
7
|
-
"arrow-inner": "awsui_arrow-
|
|
8
|
-
"arrow-position-right-top": "awsui_arrow-position-right-
|
|
9
|
-
"arrow-position-right-bottom": "awsui_arrow-position-right-
|
|
10
|
-
"arrow-position-left-top": "awsui_arrow-position-left-
|
|
11
|
-
"arrow-position-left-bottom": "awsui_arrow-position-left-
|
|
12
|
-
"arrow-position-top-center": "awsui_arrow-position-top-
|
|
13
|
-
"arrow-position-top-right": "awsui_arrow-position-top-
|
|
14
|
-
"arrow-position-top-left": "awsui_arrow-position-top-
|
|
15
|
-
"arrow-position-top-responsive": "awsui_arrow-position-top-
|
|
16
|
-
"arrow-position-bottom-center": "awsui_arrow-position-bottom-
|
|
17
|
-
"arrow-position-bottom-right": "awsui_arrow-position-bottom-
|
|
18
|
-
"arrow-position-bottom-left": "awsui_arrow-position-bottom-
|
|
19
|
-
"arrow-position-bottom-responsive": "awsui_arrow-position-bottom-
|
|
20
|
-
"body": "
|
|
21
|
-
"body-overflow-visible": "awsui_body-overflow-
|
|
22
|
-
"has-dismiss": "awsui_has-
|
|
23
|
-
"dismiss": "
|
|
24
|
-
"dismiss-control": "awsui_dismiss-
|
|
25
|
-
"header-row": "awsui_header-
|
|
26
|
-
"header": "
|
|
27
|
-
"content": "
|
|
28
|
-
"content-overflow-visible": "awsui_content-overflow-
|
|
29
|
-
"container": "
|
|
30
|
-
"container-body": "awsui_container-
|
|
31
|
-
"container-body-variant-annotation": "awsui_container-body-variant-
|
|
32
|
-
"container-body-size-small": "awsui_container-body-size-
|
|
33
|
-
"fixed-width": "awsui_fixed-
|
|
34
|
-
"container-body-size-medium": "awsui_container-body-size-
|
|
35
|
-
"container-body-size-large": "awsui_container-body-size-
|
|
36
|
-
"container-arrow": "awsui_container-
|
|
37
|
-
"container-arrow-position-right-top": "awsui_container-arrow-position-right-
|
|
38
|
-
"container-arrow-position-right-bottom": "awsui_container-arrow-position-right-
|
|
39
|
-
"container-arrow-position-left-top": "awsui_container-arrow-position-left-
|
|
40
|
-
"container-arrow-position-left-bottom": "awsui_container-arrow-position-left-
|
|
41
|
-
"container-arrow-position-top-center": "awsui_container-arrow-position-top-
|
|
42
|
-
"container-arrow-position-top-right": "awsui_container-arrow-position-top-
|
|
43
|
-
"container-arrow-position-top-left": "awsui_container-arrow-position-top-
|
|
44
|
-
"container-arrow-position-top-responsive": "awsui_container-arrow-position-top-
|
|
45
|
-
"container-arrow-position-bottom-center": "awsui_container-arrow-position-bottom-
|
|
46
|
-
"container-arrow-position-bottom-right": "awsui_container-arrow-position-bottom-
|
|
47
|
-
"container-arrow-position-bottom-left": "awsui_container-arrow-position-bottom-
|
|
48
|
-
"awsui-motion-fade-in": "awsui_awsui-motion-fade-
|
|
49
|
-
"refresh": "
|
|
50
|
-
"root": "
|
|
51
|
-
"no-wrap": "awsui_no-
|
|
52
|
-
"root-filtering-token": "awsui_root-filtering-
|
|
53
|
-
"trigger": "
|
|
54
|
-
"overflow-ellipsis": "awsui_overflow-
|
|
55
|
-
"trigger-type-text
|
|
56
|
-
"trigger-type-
|
|
57
|
-
"
|
|
58
|
-
"popover-inline-content": "awsui_popover-inline-content_xjuzf_29tqc_1183"
|
|
5
|
+
"arrow": "awsui_arrow_xjuzf_1mxcv_289",
|
|
6
|
+
"arrow-outer": "awsui_arrow-outer_xjuzf_1mxcv_293",
|
|
7
|
+
"arrow-inner": "awsui_arrow-inner_xjuzf_1mxcv_293",
|
|
8
|
+
"arrow-position-right-top": "awsui_arrow-position-right-top_xjuzf_1mxcv_335",
|
|
9
|
+
"arrow-position-right-bottom": "awsui_arrow-position-right-bottom_xjuzf_1mxcv_335",
|
|
10
|
+
"arrow-position-left-top": "awsui_arrow-position-left-top_xjuzf_1mxcv_338",
|
|
11
|
+
"arrow-position-left-bottom": "awsui_arrow-position-left-bottom_xjuzf_1mxcv_338",
|
|
12
|
+
"arrow-position-top-center": "awsui_arrow-position-top-center_xjuzf_1mxcv_341",
|
|
13
|
+
"arrow-position-top-right": "awsui_arrow-position-top-right_xjuzf_1mxcv_341",
|
|
14
|
+
"arrow-position-top-left": "awsui_arrow-position-top-left_xjuzf_1mxcv_341",
|
|
15
|
+
"arrow-position-top-responsive": "awsui_arrow-position-top-responsive_xjuzf_1mxcv_341",
|
|
16
|
+
"arrow-position-bottom-center": "awsui_arrow-position-bottom-center_xjuzf_1mxcv_344",
|
|
17
|
+
"arrow-position-bottom-right": "awsui_arrow-position-bottom-right_xjuzf_1mxcv_344",
|
|
18
|
+
"arrow-position-bottom-left": "awsui_arrow-position-bottom-left_xjuzf_1mxcv_344",
|
|
19
|
+
"arrow-position-bottom-responsive": "awsui_arrow-position-bottom-responsive_xjuzf_1mxcv_344",
|
|
20
|
+
"body": "awsui_body_xjuzf_1mxcv_492",
|
|
21
|
+
"body-overflow-visible": "awsui_body-overflow-visible_xjuzf_1mxcv_528",
|
|
22
|
+
"has-dismiss": "awsui_has-dismiss_xjuzf_1mxcv_532",
|
|
23
|
+
"dismiss": "awsui_dismiss_xjuzf_1mxcv_537",
|
|
24
|
+
"dismiss-control": "awsui_dismiss-control_xjuzf_1mxcv_545",
|
|
25
|
+
"header-row": "awsui_header-row_xjuzf_1mxcv_549",
|
|
26
|
+
"header": "awsui_header_xjuzf_1mxcv_549",
|
|
27
|
+
"content": "awsui_content_xjuzf_1mxcv_574",
|
|
28
|
+
"content-overflow-visible": "awsui_content-overflow-visible_xjuzf_1mxcv_582",
|
|
29
|
+
"container": "awsui_container_xjuzf_1mxcv_730",
|
|
30
|
+
"container-body": "awsui_container-body_xjuzf_1mxcv_738",
|
|
31
|
+
"container-body-variant-annotation": "awsui_container-body-variant-annotation_xjuzf_1mxcv_778",
|
|
32
|
+
"container-body-size-small": "awsui_container-body-size-small_xjuzf_1mxcv_783",
|
|
33
|
+
"fixed-width": "awsui_fixed-width_xjuzf_1mxcv_786",
|
|
34
|
+
"container-body-size-medium": "awsui_container-body-size-medium_xjuzf_1mxcv_790",
|
|
35
|
+
"container-body-size-large": "awsui_container-body-size-large_xjuzf_1mxcv_797",
|
|
36
|
+
"container-arrow": "awsui_container-arrow_xjuzf_1mxcv_809",
|
|
37
|
+
"container-arrow-position-right-top": "awsui_container-arrow-position-right-top_xjuzf_1mxcv_813",
|
|
38
|
+
"container-arrow-position-right-bottom": "awsui_container-arrow-position-right-bottom_xjuzf_1mxcv_813",
|
|
39
|
+
"container-arrow-position-left-top": "awsui_container-arrow-position-left-top_xjuzf_1mxcv_830",
|
|
40
|
+
"container-arrow-position-left-bottom": "awsui_container-arrow-position-left-bottom_xjuzf_1mxcv_830",
|
|
41
|
+
"container-arrow-position-top-center": "awsui_container-arrow-position-top-center_xjuzf_1mxcv_847",
|
|
42
|
+
"container-arrow-position-top-right": "awsui_container-arrow-position-top-right_xjuzf_1mxcv_847",
|
|
43
|
+
"container-arrow-position-top-left": "awsui_container-arrow-position-top-left_xjuzf_1mxcv_847",
|
|
44
|
+
"container-arrow-position-top-responsive": "awsui_container-arrow-position-top-responsive_xjuzf_1mxcv_847",
|
|
45
|
+
"container-arrow-position-bottom-center": "awsui_container-arrow-position-bottom-center_xjuzf_1mxcv_863",
|
|
46
|
+
"container-arrow-position-bottom-right": "awsui_container-arrow-position-bottom-right_xjuzf_1mxcv_867",
|
|
47
|
+
"container-arrow-position-bottom-left": "awsui_container-arrow-position-bottom-left_xjuzf_1mxcv_871",
|
|
48
|
+
"awsui-motion-fade-in": "awsui_awsui-motion-fade-in_xjuzf_1mxcv_1",
|
|
49
|
+
"refresh": "awsui_refresh_xjuzf_1mxcv_1041",
|
|
50
|
+
"root": "awsui_root_xjuzf_1mxcv_1063",
|
|
51
|
+
"no-wrap": "awsui_no-wrap_xjuzf_1mxcv_1095",
|
|
52
|
+
"root-filtering-token": "awsui_root-filtering-token_xjuzf_1mxcv_1099",
|
|
53
|
+
"trigger": "awsui_trigger_xjuzf_1mxcv_1103",
|
|
54
|
+
"overflow-ellipsis": "awsui_overflow-ellipsis_xjuzf_1mxcv_1110",
|
|
55
|
+
"trigger-type-text": "awsui_trigger-type-text_xjuzf_1mxcv_1118",
|
|
56
|
+
"trigger-type-filtering-token": "awsui_trigger-type-filtering-token_xjuzf_1mxcv_1154",
|
|
57
|
+
"popover-inline-content": "awsui_popover-inline-content_xjuzf_1mxcv_1158"
|
|
59
58
|
};
|
|
60
59
|
|
|
@@ -19,6 +19,7 @@ const select_1 = require("../select");
|
|
|
19
19
|
const styles_selectors_js_1 = require("../../../date-range-picker/calendar/grids/styles.selectors.js");
|
|
20
20
|
const styles_selectors_js_2 = require("../../../date-range-picker/relative-range/styles.selectors.js");
|
|
21
21
|
const styles_selectors_js_3 = require("../../../date-range-picker/styles.selectors.js");
|
|
22
|
+
const styles_selectors_js_4 = require("../../../date-range-picker/test-classes/styles.selectors.js");
|
|
22
23
|
class CalendarDateWrapper extends dom_1.ComponentWrapper {
|
|
23
24
|
findDisabledReason() {
|
|
24
25
|
return (0, dom_1.createWrapper)().find(`.${styles_selectors_js_1.default['disabled-reason-tooltip']}`);
|
|
@@ -112,7 +113,7 @@ class DrpDropdownWrapper extends dom_1.ComponentWrapper {
|
|
|
112
113
|
*/
|
|
113
114
|
findDateAt(grid, row, column) {
|
|
114
115
|
const gridClassName = grid === 'right' ? styles_selectors_js_3.default['second-grid'] : styles_selectors_js_3.default['first-grid'];
|
|
115
|
-
return this.findComponent(`.${gridClassName} .${
|
|
116
|
+
return this.findComponent(`.${gridClassName} .${styles_selectors_js_4.default['calendar-week']}[data-awsui-weekindex="${row}"] .${styles_selectors_js_4.default['calendar-date']}:nth-child(${column})`, CalendarDateWrapper);
|
|
116
117
|
}
|
|
117
118
|
findSelectedStartDate() {
|
|
118
119
|
return this.findByClassName(styles_selectors_js_1.default['start-date']);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/test-utils/dom/date-range-picker/index.ts"],"names":[],"mappings":";;;;;;;;;AAAA,qEAAqE;AACrE,sCAAsC;AACtC,gEAAkH;AAClH,4EAAmE;AAEnE,sCAAsC;AACtC,oCAAoC;AACpC,gDAA+C;AAC/C,4DAA2D;AAC3D,sCAAsC;AAEtC,uGAAuF;AACvF,uGAAgG;AAChG,wFAAoE;
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/test-utils/dom/date-range-picker/index.ts"],"names":[],"mappings":";;;;;;;;;AAAA,qEAAqE;AACrE,sCAAsC;AACtC,gEAAkH;AAClH,4EAAmE;AAEnE,sCAAsC;AACtC,oCAAoC;AACpC,gDAA+C;AAC/C,4DAA2D;AAC3D,sCAAsC;AAEtC,uGAAuF;AACvF,uGAAgG;AAChG,wFAAoE;AACpE,qGAAqF;AAErF,MAAa,mBAAoB,SAAQ,sBAAgB;IACvD,kBAAkB;QAChB,OAAO,IAAA,mBAAa,GAAE,CAAC,IAAI,CAAC,IAAI,6BAAU,CAAC,yBAAyB,CAAC,EAAE,CAAC,CAAC;IAC3E,CAAC;CACF;AAJD,kDAIC;AAED,MAAqB,sBAAuB,SAAQ,sBAAgB;IAGlE;;;OAGG;IACH,SAAS;QACP,OAAO,IAAI,CAAC,WAAW,EAAE,C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e,CAAC,6BAAU,CAAC,UAAU,CAAC,CAAC,CAAC;IACtD,CAAC;IAED,kBAAkB;QAChB,OAAO,IAAI,CAAC,aAAa,CAAC,IAAI,6BAAM,CAAC,kBAAkB,CAAC,EAAE,EAAE,eAAY,CAAC,CAAC;IAC5E,CAAC;IAED,kBAAkB;QAChB,OAAO,IAAI,CAAC,aAAa,CAAC,IAAI,6BAAM,CAAC,kBAAkB,CAAC,EAAE,EAAE,eAAY,CAAC,CAAC;IAC5E,CAAC;IAED,gBAAgB;QACd,OAAO,IAAI,CAAC,aAAa,CAAC,IAAI,6BAAM,CAAC,gBAAgB,CAAC,EAAE,EAAE,eAAY,CAAC,CAAC;IAC1E,CAAC;IAED,gBAAgB;QACd,OAAO,IAAI,CAAC,aAAa,CAAC,IAAI,6BAAM,CAAC,gBAAgB,CAAC,EAAE,EAAE,eAAY,CAAC,CAAC;IAC1E,CAAC;IAED,eAAe;IAEf,eAAe;QACb,OAAO,IAAI,CAAC,aAAa,CAAC,IAAI,6BAAM,CAAC,cAAc,CAAC,EAAE,EAAE,gBAAa,CAAC,CAAC;IACzE,CAAC;IAED,gBAAgB;QACd,OAAO,IAAI,CAAC,aAAa,CAAC,IAAI,6BAAM,CAAC,eAAe,CAAC,EAAE,EAAE,gBAAa,CAAE,CAAC;IAC3E,CAAC;IAED,eAAe;QACb,OAAO,IAAI,CAAC,aAAa,CAAC,IAAI,6BAAM,CAAC,cAAc,CAAC,EAAE,EAAE,gBAAa,CAAE,CAAC;IAC1E,CAAC;CACF;AA7FD,gDA6FC"}
|
|
@@ -12,6 +12,7 @@ const select_1 = require("../select");
|
|
|
12
12
|
const styles_selectors_js_1 = require("../../../date-range-picker/calendar/grids/styles.selectors.js");
|
|
13
13
|
const styles_selectors_js_2 = require("../../../date-range-picker/relative-range/styles.selectors.js");
|
|
14
14
|
const styles_selectors_js_3 = require("../../../date-range-picker/styles.selectors.js");
|
|
15
|
+
const styles_selectors_js_4 = require("../../../date-range-picker/test-classes/styles.selectors.js");
|
|
15
16
|
class CalendarDateWrapper extends selectors_1.ComponentWrapper {
|
|
16
17
|
findDisabledReason() {
|
|
17
18
|
return (0, selectors_1.createWrapper)().find(`.${styles_selectors_js_1.default['disabled-reason-tooltip']}`);
|
|
@@ -99,7 +100,7 @@ class DrpDropdownWrapper extends selectors_1.ComponentWrapper {
|
|
|
99
100
|
*/
|
|
100
101
|
findDateAt(grid, row, column) {
|
|
101
102
|
const gridClassName = grid === 'right' ? styles_selectors_js_3.default['second-grid'] : styles_selectors_js_3.default['first-grid'];
|
|
102
|
-
return this.findComponent(`.${gridClassName} .${
|
|
103
|
+
return this.findComponent(`.${gridClassName} .${styles_selectors_js_4.default['calendar-week']}[data-awsui-weekindex="${row}"] .${styles_selectors_js_4.default['calendar-date']}:nth-child(${column})`, CalendarDateWrapper);
|
|
103
104
|
}
|
|
104
105
|
findSelectedStartDate() {
|
|
105
106
|
return this.findByClassName(styles_selectors_js_1.default['start-date']);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/test-utils/selectors/date-range-picker/index.ts"],"names":[],"mappings":";;;AAAA,qEAAqE;AACrE,sCAAsC;AACtC,4EAA+G;AAC/G,sCAAsC;AACtC,oCAAoC;AACpC,gDAA+C;AAC/C,4DAA2D;AAC3D,sCAAsC;AACtC,uGAAuF;AACvF,uGAAgG;AAChG,wFAAoE;AACpE,MAAa,mBAAoB,SAAQ,4BAAgB;IACvD,kBAAkB;QAChB,OAAO,IAAA,yBAAa,GAAE,CAAC,IAAI,CAAC,IAAI,6BAAU,CAAC,yBAAyB,CAAC,EAAE,CAAC,CAAC;IAC3E,CAAC;CACF;AAJD,kDAIC;AACD,MAAqB,sBAAuB,SAAQ,4BAAgB;IAGlE;;;OAGG;IACH,SAAS;QACP,OAAO,IAAI,CAAC,WAAW,EAAE,CAAC;IAC5B,CAAC;IACD;;OAEG;IACH,WAAW;QACT,OAAO,IAAI,CAAC,eAAe,CAAC,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AAO,IAAI,CAAC,aAAa,CAAC,IAAI,6BAAmB,CAAC,0BAA0B,CAAC,EAAE,EAAE,gBAAa,CAAC,CAAC;IAClG,CAAC;IAED,sBAAsB;IAEtB,UAAU;QACR,OAAO,IAAI,CAAC,eAAe,CAAC,6BAAM,CAAC,iBAAiB,CAAC,CAAE,CAAC;IAC1D,CAAC;IACD,uBAAuB;QACrB,OAAO,IAAI,CAAC,aAAa,CAAC,IAAI,6BAAM,CAAC,yBAAyB,CAAC,EAAE,EAAE,gBAAa,CAAE,CAAC;IACrF,CAAC;IACD,mBAAmB;QACjB,OAAO,IAAI,CAAC,aAAa,CAAC,IAAI,6BAAM,CAAC,yBAAyB,CAAC,EAAE,EAAE,gBAAa,CAAE,CAAC;IACrF,CAAC;IAED;;;;;;OAMG;IACH,UAAU,CAAC,IAAsB,EAAE,GAA0B,EAAE,MAAiC;QAC9F,MAAM,aAAa,GAAG,IAAI,KAAK,OAAO,CAAC,CAAC,CAAC,6BAAM,CAAC,aAAa,CAAC,CAAC,CAAC,CAAC,6BAAM,CAAC,YAAY,CAAC,CAAC;QACtF,OAAO,IAAI,CAAC,aAAa,CAAC,IAAI,aAAa,KAAK,6BAAU,CAAC,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/test-utils/selectors/date-range-picker/index.ts"],"names":[],"mappings":";;;AAAA,qEAAqE;AACrE,sCAAsC;AACtC,4EAA+G;AAC/G,sCAAsC;AACtC,oCAAoC;AACpC,gDAA+C;AAC/C,4DAA2D;AAC3D,sCAAsC;AACtC,uGAAuF;AACvF,uGAAgG;AAChG,wFAAoE;AACpE,qGAAqF;AACrF,MAAa,mBAAoB,SAAQ,4BAAgB;IACvD,kBAAkB;QAChB,OAAO,IAAA,yBAAa,GAAE,CAAC,IAAI,CAAC,IAAI,6BAAU,CAAC,yBAAyB,CAAC,EAAE,CAAC,CAAC;IAC3E,CAAC;CACF;AAJD,kDAIC;AACD,MAAqB,sBAAuB,SAAQ,4BA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