@transferwise/components 0.0.0-experimental-fa56c29 → 0.0.0-experimental-644f437
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/build/index.js +5594 -5803
- package/build/index.js.map +1 -1
- package/build/index.mjs +5573 -5781
- package/build/index.mjs.map +1 -1
- package/build/main.css +0 -138
- package/build/styles/main.css +0 -138
- package/build/types/common/DOMOperations/DOMOperations.d.ts +10 -2
- package/build/types/common/DOMOperations/DOMOperations.d.ts.map +1 -1
- package/build/types/common/DOMOperations/index.d.ts +1 -3
- package/build/types/common/DOMOperations/index.d.ts.map +1 -1
- package/build/types/common/bottomSheet/BottomSheet.d.ts +2 -2
- package/build/types/common/bottomSheet/BottomSheet.d.ts.map +1 -1
- package/build/types/common/bottomSheet/index.d.ts +2 -1
- package/build/types/common/bottomSheet/index.d.ts.map +1 -1
- package/build/types/common/card/Card.d.ts +2 -2
- package/build/types/common/card/Card.d.ts.map +1 -1
- package/build/types/common/closeButton/CloseButton.messages.d.ts +7 -7
- package/build/types/common/closeButton/CloseButton.messages.d.ts.map +1 -1
- package/build/types/common/closeButton/index.d.ts +0 -1
- package/build/types/common/closeButton/index.d.ts.map +1 -1
- package/build/types/common/deviceDetection/deviceDetection.d.ts +1 -1
- package/build/types/common/deviceDetection/deviceDetection.d.ts.map +1 -1
- package/build/types/common/deviceDetection/index.d.ts +1 -1
- package/build/types/common/deviceDetection/index.d.ts.map +1 -1
- package/build/types/common/domHelpers/documentIosClick.d.ts +7 -2
- package/build/types/common/domHelpers/documentIosClick.d.ts.map +1 -1
- package/build/types/common/domHelpers/index.d.ts +1 -6
- package/build/types/common/domHelpers/index.d.ts.map +1 -1
- package/build/types/common/flowHeader/index.d.ts +2 -0
- package/build/types/common/flowHeader/index.d.ts.map +1 -0
- package/build/types/common/focusBoundary/index.d.ts +1 -1
- package/build/types/common/focusBoundary/index.d.ts.map +1 -1
- package/build/types/common/historyNavigator/historyNavigator.d.ts +8 -8
- package/build/types/common/historyNavigator/historyNavigator.d.ts.map +1 -1
- package/build/types/common/historyNavigator/index.d.ts +1 -1
- package/build/types/common/historyNavigator/index.d.ts.map +1 -1
- package/build/types/common/panel/Panel.d.ts +1 -1
- package/build/types/common/panel/Panel.d.ts.map +1 -1
- package/build/types/common/panel/index.d.ts +1 -1
- package/build/types/common/panel/index.d.ts.map +1 -1
- package/build/types/dimmer/Dimmer.d.ts +1 -1
- package/build/types/dimmer/Dimmer.d.ts.map +1 -1
- package/build/types/dimmer/index.d.ts +2 -1
- package/build/types/dimmer/index.d.ts.map +1 -1
- package/build/types/flowNavigation/FlowNavigation.d.ts.map +1 -1
- package/build/types/index.d.ts +42 -43
- package/build/types/index.d.ts.map +1 -1
- package/build/types/promoCard/PromoCard.d.ts +5 -16
- package/build/types/promoCard/PromoCard.d.ts.map +1 -1
- package/package.json +3 -3
- package/src/common/DOMOperations/index.ts +1 -0
- package/src/common/bottomSheet/BottomSheet.tsx +6 -3
- package/src/common/bottomSheet/index.ts +2 -0
- package/src/common/card/Card.tsx +43 -51
- package/src/common/closeButton/{CloseButton.spec.js → CloseButton.spec.tsx} +1 -0
- package/src/common/closeButton/index.ts +0 -1
- package/src/common/deviceDetection/{deviceDetection.spec.js → deviceDetection.spec.ts} +1 -1
- package/src/common/deviceDetection/deviceDetection.ts +7 -0
- package/src/common/domHelpers/{documentIosClick.spec.js → documentIosClick.spec.ts} +7 -13
- package/src/common/domHelpers/{documentIosClick.js → documentIosClick.ts} +23 -0
- package/src/common/domHelpers/index.ts +4 -23
- package/src/common/flowHeader/{FlowHeader.spec.js → FlowHeader.spec.tsx} +2 -1
- package/src/common/flowHeader/index.ts +1 -0
- package/src/common/historyNavigator/{historyNavigator.js → historyNavigator.ts} +9 -5
- package/src/common/panel/{Panel.spec.js → Panel.spec.tsx} +14 -9
- package/src/common/panel/Panel.tsx +3 -3
- package/src/common/responsivePanel/ResponsivePanel.tsx +1 -1
- package/src/dimmer/Dimmer.tsx +1 -1
- package/src/dimmer/index.ts +2 -0
- package/src/flowNavigation/FlowNavigation.tsx +1 -2
- package/src/index.ts +68 -68
- package/src/main.css +0 -138
- package/src/main.less +0 -1
- package/src/overlayHeader/OverlayHeader.js +1 -1
- package/src/promoCard/PromoCard.story.tsx +2 -2
- package/src/promoCard/PromoCard.tsx +10 -31
- package/src/withDisplayFormat/WithDisplayFormat.tsx +2 -2
- package/build/styles/carousel/Carousel.css +0 -138
- package/build/types/carousel/Carousel.d.ts +0 -26
- package/build/types/carousel/Carousel.d.ts.map +0 -1
- package/build/types/carousel/index.d.ts +0 -3
- package/build/types/carousel/index.d.ts.map +0 -1
- package/src/carousel/Carousel.css +0 -138
- package/src/carousel/Carousel.less +0 -137
- package/src/carousel/Carousel.spec.tsx +0 -221
- package/src/carousel/Carousel.story.tsx +0 -63
- package/src/carousel/Carousel.tsx +0 -345
- package/src/carousel/index.ts +0 -3
- package/src/common/DOMOperations/index.js +0 -3
- package/src/common/bottomSheet/index.js +0 -1
- package/src/common/deviceDetection/deviceDetection.js +0 -7
- package/src/dimmer/index.js +0 -1
- /package/src/common/DOMOperations/{DOMOperations.spec.js → DOMOperations.spec.tsx} +0 -0
- /package/src/common/DOMOperations/{DOMOperations.js → DOMOperations.ts} +0 -0
- /package/src/common/closeButton/{CloseButton.messages.js → CloseButton.messages.ts} +0 -0
- /package/src/common/closeButton/__snapshots__/{CloseButton.spec.js.snap → CloseButton.spec.tsx.snap} +0 -0
- /package/src/common/deviceDetection/{index.js → index.ts} +0 -0
- /package/src/common/flowHeader/__snapshots__/{FlowHeader.spec.js.snap → FlowHeader.spec.tsx.snap} +0 -0
- /package/src/common/focusBoundary/{index.js → index.ts} +0 -0
- /package/src/common/historyNavigator/{historyNavigator.spec.js → historyNavigator.spec.ts} +0 -0
- /package/src/common/historyNavigator/{index.js → index.ts} +0 -0
- /package/src/common/panel/__snapshots__/{Panel.spec.js.snap → Panel.spec.tsx.snap} +0 -0
- /package/src/common/panel/{index.js → index.ts} +0 -0
package/build/main.css
CHANGED
|
@@ -643,144 +643,6 @@ div.critical-comms .critical-comms-body {
|
|
|
643
643
|
border-radius: 16px 16px 0 0;
|
|
644
644
|
border-radius: var(--radius-medium) var(--radius-medium) 0 0;
|
|
645
645
|
}
|
|
646
|
-
.carousel {
|
|
647
|
-
display: flex;
|
|
648
|
-
align-items: center;
|
|
649
|
-
overflow-x: scroll;
|
|
650
|
-
overflow-y: hidden;
|
|
651
|
-
scroll-snap-type: x mandatory;
|
|
652
|
-
scroll-behavior: smooth;
|
|
653
|
-
gap: 16px;
|
|
654
|
-
gap: var(--size-16);
|
|
655
|
-
}
|
|
656
|
-
@media (max-width: 767px) {
|
|
657
|
-
.carousel {
|
|
658
|
-
gap: 8px;
|
|
659
|
-
gap: var(--size-8);
|
|
660
|
-
}
|
|
661
|
-
}
|
|
662
|
-
.carousel__header {
|
|
663
|
-
display: flex;
|
|
664
|
-
align-items: center;
|
|
665
|
-
overflow: hidden;
|
|
666
|
-
min-height: 32px;
|
|
667
|
-
min-height: var(--size-32);
|
|
668
|
-
padding-bottom: 16px;
|
|
669
|
-
padding-bottom: var(--size-16);
|
|
670
|
-
}
|
|
671
|
-
.carousel__card,
|
|
672
|
-
.carousel__card:hover,
|
|
673
|
-
.carousel__card:focus,
|
|
674
|
-
.carousel__card:focus-within {
|
|
675
|
-
-webkit-text-decoration: none;
|
|
676
|
-
text-decoration: none;
|
|
677
|
-
outline: none !important;
|
|
678
|
-
}
|
|
679
|
-
.carousel__card {
|
|
680
|
-
display: block;
|
|
681
|
-
position: relative;
|
|
682
|
-
text-align: left;
|
|
683
|
-
border: none;
|
|
684
|
-
overflow: hidden;
|
|
685
|
-
background: rgba(134,167,189,0.10196);
|
|
686
|
-
background: var(--color-background-neutral);
|
|
687
|
-
border-radius: 32px;
|
|
688
|
-
border-radius: var(--size-32);
|
|
689
|
-
scroll-snap-align: center;
|
|
690
|
-
-webkit-scroll-snap-align: center;
|
|
691
|
-
transition: all 0.4s !important;
|
|
692
|
-
}
|
|
693
|
-
@media (min-width: 1200px) {
|
|
694
|
-
.carousel__card {
|
|
695
|
-
min-width: 280px;
|
|
696
|
-
width: 280px;
|
|
697
|
-
height: 280px;
|
|
698
|
-
}
|
|
699
|
-
}
|
|
700
|
-
@media (max-width: 1199px) {
|
|
701
|
-
.carousel__card {
|
|
702
|
-
min-width: 242px;
|
|
703
|
-
width: 242px;
|
|
704
|
-
height: 242px;
|
|
705
|
-
}
|
|
706
|
-
}
|
|
707
|
-
@media (max-width: 767px) {
|
|
708
|
-
.carousel__card {
|
|
709
|
-
min-width: 336px;
|
|
710
|
-
width: 336px;
|
|
711
|
-
height: 336px;
|
|
712
|
-
scroll-snap-stop: always;
|
|
713
|
-
}
|
|
714
|
-
}
|
|
715
|
-
.carousel__card:focus {
|
|
716
|
-
outline: 0;
|
|
717
|
-
}
|
|
718
|
-
.carousel__card:focus:after,
|
|
719
|
-
.carousel__card:focus-within:after {
|
|
720
|
-
content: '';
|
|
721
|
-
position: absolute;
|
|
722
|
-
z-index: 4;
|
|
723
|
-
top: 0;
|
|
724
|
-
left: 0;
|
|
725
|
-
width: 100%;
|
|
726
|
-
height: 100%;
|
|
727
|
-
border-radius: 32px;
|
|
728
|
-
border-radius: var(--size-32);
|
|
729
|
-
box-shadow: inset 0 0 0 2px var(--ring-outline-color);
|
|
730
|
-
}
|
|
731
|
-
.carousel__card:hover {
|
|
732
|
-
background-color: var(--color-background-neutral-hover);
|
|
733
|
-
}
|
|
734
|
-
.carousel__card:focus {
|
|
735
|
-
background-color: var(--color-background-neutral-hover);
|
|
736
|
-
}
|
|
737
|
-
.carousel__card-content {
|
|
738
|
-
height: 100%;
|
|
739
|
-
font-weight: normal;
|
|
740
|
-
padding: 24px;
|
|
741
|
-
padding: var(--size-24);
|
|
742
|
-
}
|
|
743
|
-
.carousel__scroll-button {
|
|
744
|
-
width: 32px;
|
|
745
|
-
width: var(--size-32);
|
|
746
|
-
height: 32px;
|
|
747
|
-
height: var(--size-32);
|
|
748
|
-
align-items: center;
|
|
749
|
-
justify-content: center;
|
|
750
|
-
}
|
|
751
|
-
.carousel__indicators {
|
|
752
|
-
display: flex;
|
|
753
|
-
justify-content: center;
|
|
754
|
-
padding-top: 8px;
|
|
755
|
-
padding-top: var(--size-8);
|
|
756
|
-
gap: 8px;
|
|
757
|
-
gap: var(--size-8);
|
|
758
|
-
}
|
|
759
|
-
.carousel__indicator {
|
|
760
|
-
width: 12px;
|
|
761
|
-
width: var(--size-12);
|
|
762
|
-
height: 12px;
|
|
763
|
-
height: var(--size-12);
|
|
764
|
-
border-radius: 8px;
|
|
765
|
-
border-radius: var(--size-8);
|
|
766
|
-
background: #c9cbce;
|
|
767
|
-
background: var(--color-interactive-secondary);
|
|
768
|
-
border: none;
|
|
769
|
-
-webkit-appearance: none;
|
|
770
|
-
-moz-appearance: none;
|
|
771
|
-
appearance: none;
|
|
772
|
-
transition: all 0.1s;
|
|
773
|
-
}
|
|
774
|
-
.carousel__indicator:hover {
|
|
775
|
-
width: 16px;
|
|
776
|
-
width: var(--size-16);
|
|
777
|
-
}
|
|
778
|
-
.carousel__indicator--selected,
|
|
779
|
-
.carousel__indicator--selected:hover {
|
|
780
|
-
background: var(--color-interactive-primary);
|
|
781
|
-
width: 24px;
|
|
782
|
-
width: var(--size-24);
|
|
783
|
-
}
|
|
784
646
|
.np-checkbox-button input[type="checkbox"] {
|
|
785
647
|
position: absolute;
|
|
786
648
|
width: 24px;
|
package/build/styles/main.css
CHANGED
|
@@ -643,144 +643,6 @@ div.critical-comms .critical-comms-body {
|
|
|
643
643
|
border-radius: 16px 16px 0 0;
|
|
644
644
|
border-radius: var(--radius-medium) var(--radius-medium) 0 0;
|
|
645
645
|
}
|
|
646
|
-
.carousel {
|
|
647
|
-
display: flex;
|
|
648
|
-
align-items: center;
|
|
649
|
-
overflow-x: scroll;
|
|
650
|
-
overflow-y: hidden;
|
|
651
|
-
scroll-snap-type: x mandatory;
|
|
652
|
-
scroll-behavior: smooth;
|
|
653
|
-
gap: 16px;
|
|
654
|
-
gap: var(--size-16);
|
|
655
|
-
}
|
|
656
|
-
@media (max-width: 767px) {
|
|
657
|
-
.carousel {
|
|
658
|
-
gap: 8px;
|
|
659
|
-
gap: var(--size-8);
|
|
660
|
-
}
|
|
661
|
-
}
|
|
662
|
-
.carousel__header {
|
|
663
|
-
display: flex;
|
|
664
|
-
align-items: center;
|
|
665
|
-
overflow: hidden;
|
|
666
|
-
min-height: 32px;
|
|
667
|
-
min-height: var(--size-32);
|
|
668
|
-
padding-bottom: 16px;
|
|
669
|
-
padding-bottom: var(--size-16);
|
|
670
|
-
}
|
|
671
|
-
.carousel__card,
|
|
672
|
-
.carousel__card:hover,
|
|
673
|
-
.carousel__card:focus,
|
|
674
|
-
.carousel__card:focus-within {
|
|
675
|
-
-webkit-text-decoration: none;
|
|
676
|
-
text-decoration: none;
|
|
677
|
-
outline: none !important;
|
|
678
|
-
}
|
|
679
|
-
.carousel__card {
|
|
680
|
-
display: block;
|
|
681
|
-
position: relative;
|
|
682
|
-
text-align: left;
|
|
683
|
-
border: none;
|
|
684
|
-
overflow: hidden;
|
|
685
|
-
background: rgba(134,167,189,0.10196);
|
|
686
|
-
background: var(--color-background-neutral);
|
|
687
|
-
border-radius: 32px;
|
|
688
|
-
border-radius: var(--size-32);
|
|
689
|
-
scroll-snap-align: center;
|
|
690
|
-
-webkit-scroll-snap-align: center;
|
|
691
|
-
transition: all 0.4s !important;
|
|
692
|
-
}
|
|
693
|
-
@media (min-width: 1200px) {
|
|
694
|
-
.carousel__card {
|
|
695
|
-
min-width: 280px;
|
|
696
|
-
width: 280px;
|
|
697
|
-
height: 280px;
|
|
698
|
-
}
|
|
699
|
-
}
|
|
700
|
-
@media (max-width: 1199px) {
|
|
701
|
-
.carousel__card {
|
|
702
|
-
min-width: 242px;
|
|
703
|
-
width: 242px;
|
|
704
|
-
height: 242px;
|
|
705
|
-
}
|
|
706
|
-
}
|
|
707
|
-
@media (max-width: 767px) {
|
|
708
|
-
.carousel__card {
|
|
709
|
-
min-width: 336px;
|
|
710
|
-
width: 336px;
|
|
711
|
-
height: 336px;
|
|
712
|
-
scroll-snap-stop: always;
|
|
713
|
-
}
|
|
714
|
-
}
|
|
715
|
-
.carousel__card:focus {
|
|
716
|
-
outline: 0;
|
|
717
|
-
}
|
|
718
|
-
.carousel__card:focus:after,
|
|
719
|
-
.carousel__card:focus-within:after {
|
|
720
|
-
content: '';
|
|
721
|
-
position: absolute;
|
|
722
|
-
z-index: 4;
|
|
723
|
-
top: 0;
|
|
724
|
-
left: 0;
|
|
725
|
-
width: 100%;
|
|
726
|
-
height: 100%;
|
|
727
|
-
border-radius: 32px;
|
|
728
|
-
border-radius: var(--size-32);
|
|
729
|
-
box-shadow: inset 0 0 0 2px var(--ring-outline-color);
|
|
730
|
-
}
|
|
731
|
-
.carousel__card:hover {
|
|
732
|
-
background-color: var(--color-background-neutral-hover);
|
|
733
|
-
}
|
|
734
|
-
.carousel__card:focus {
|
|
735
|
-
background-color: var(--color-background-neutral-hover);
|
|
736
|
-
}
|
|
737
|
-
.carousel__card-content {
|
|
738
|
-
height: 100%;
|
|
739
|
-
font-weight: normal;
|
|
740
|
-
padding: 24px;
|
|
741
|
-
padding: var(--size-24);
|
|
742
|
-
}
|
|
743
|
-
.carousel__scroll-button {
|
|
744
|
-
width: 32px;
|
|
745
|
-
width: var(--size-32);
|
|
746
|
-
height: 32px;
|
|
747
|
-
height: var(--size-32);
|
|
748
|
-
align-items: center;
|
|
749
|
-
justify-content: center;
|
|
750
|
-
}
|
|
751
|
-
.carousel__indicators {
|
|
752
|
-
display: flex;
|
|
753
|
-
justify-content: center;
|
|
754
|
-
padding-top: 8px;
|
|
755
|
-
padding-top: var(--size-8);
|
|
756
|
-
gap: 8px;
|
|
757
|
-
gap: var(--size-8);
|
|
758
|
-
}
|
|
759
|
-
.carousel__indicator {
|
|
760
|
-
width: 12px;
|
|
761
|
-
width: var(--size-12);
|
|
762
|
-
height: 12px;
|
|
763
|
-
height: var(--size-12);
|
|
764
|
-
border-radius: 8px;
|
|
765
|
-
border-radius: var(--size-8);
|
|
766
|
-
background: #c9cbce;
|
|
767
|
-
background: var(--color-interactive-secondary);
|
|
768
|
-
border: none;
|
|
769
|
-
-webkit-appearance: none;
|
|
770
|
-
-moz-appearance: none;
|
|
771
|
-
appearance: none;
|
|
772
|
-
transition: all 0.1s;
|
|
773
|
-
}
|
|
774
|
-
.carousel__indicator:hover {
|
|
775
|
-
width: 16px;
|
|
776
|
-
width: var(--size-16);
|
|
777
|
-
}
|
|
778
|
-
.carousel__indicator--selected,
|
|
779
|
-
.carousel__indicator--selected:hover {
|
|
780
|
-
background: var(--color-interactive-primary);
|
|
781
|
-
width: 24px;
|
|
782
|
-
width: var(--size-24);
|
|
783
|
-
}
|
|
784
646
|
.np-checkbox-button input[type="checkbox"] {
|
|
785
647
|
position: absolute;
|
|
786
648
|
width: 24px;
|
|
@@ -1,3 +1,11 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
1
|
+
/**
|
|
2
|
+
* Apply {@link NO_SCROLL_CLASS} that disables scroll on page (e.g use in Dimmer to disable scroll behind the component)
|
|
3
|
+
*
|
|
4
|
+
* CSS class needs to be applied for `html` and not `body`, as this doing both will break any position sticky in the document.
|
|
5
|
+
*/
|
|
6
|
+
export declare const addNoScrollClass: () => void;
|
|
7
|
+
/**
|
|
8
|
+
* Clean up after {@link addNoScrollClass} function
|
|
9
|
+
*/
|
|
10
|
+
export declare const removeNoScrollClass: () => void;
|
|
3
11
|
//# sourceMappingURL=DOMOperations.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DOMOperations.d.ts","sourceRoot":"","sources":["../../../../src/common/DOMOperations/DOMOperations.
|
|
1
|
+
{"version":3,"file":"DOMOperations.d.ts","sourceRoot":"","sources":["../../../../src/common/DOMOperations/DOMOperations.ts"],"names":[],"mappings":"AAKA;;;;GAIG;AACH,eAAO,MAAM,gBAAgB,YAE5B,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,mBAAmB,YAE/B,CAAC"}
|
|
@@ -1,4 +1,2 @@
|
|
|
1
|
-
|
|
2
|
-
import { removeNoScrollClass } from "./DOMOperations";
|
|
3
|
-
export { addNoScrollClass, removeNoScrollClass };
|
|
1
|
+
export { addNoScrollClass, removeNoScrollClass } from './DOMOperations';
|
|
4
2
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/common/DOMOperations/index.
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/common/DOMOperations/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,gBAAgB,EAAE,mBAAmB,EAAE,MAAM,iBAAiB,CAAC"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { ReactElement, PropsWithChildren, SyntheticEvent } from 'react';
|
|
2
2
|
import { CommonProps } from '../commonProps';
|
|
3
|
-
type
|
|
3
|
+
export type BottomSheetProps = PropsWithChildren<{
|
|
4
4
|
onClose?: (event: Event | SyntheticEvent) => void;
|
|
5
5
|
open: boolean;
|
|
6
6
|
} & CommonProps>;
|
|
@@ -10,6 +10,6 @@ type Props = PropsWithChildren<{
|
|
|
10
10
|
* Neptune Web: https://transferwise.github.io/neptune-web/components/overlays/BottomSheet
|
|
11
11
|
*
|
|
12
12
|
*/
|
|
13
|
-
declare const BottomSheet: (props:
|
|
13
|
+
declare const BottomSheet: (props: BottomSheetProps) => ReactElement;
|
|
14
14
|
export default BottomSheet;
|
|
15
15
|
//# sourceMappingURL=BottomSheet.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"BottomSheet.d.ts","sourceRoot":"","sources":["../../../../src/common/bottomSheet/BottomSheet.tsx"],"names":[],"mappings":"AACA,OAAO,EAGL,YAAY,EACZ,iBAAiB,EAEjB,cAAc,EACf,MAAM,OAAO,CAAC;AAMf,OAAO,EAAE,WAAW,EAAE,MAAM,gBAAgB,CAAC;AAa7C,
|
|
1
|
+
{"version":3,"file":"BottomSheet.d.ts","sourceRoot":"","sources":["../../../../src/common/bottomSheet/BottomSheet.tsx"],"names":[],"mappings":"AACA,OAAO,EAGL,YAAY,EACZ,iBAAiB,EAEjB,cAAc,EACf,MAAM,OAAO,CAAC;AAMf,OAAO,EAAE,WAAW,EAAE,MAAM,gBAAgB,CAAC;AAa7C,MAAM,MAAM,gBAAgB,GAAG,iBAAiB,CAC9C;IACE,OAAO,CAAC,EAAE,CAAC,KAAK,EAAE,KAAK,GAAG,cAAc,KAAK,IAAI,CAAC;IAClD,IAAI,EAAE,OAAO,CAAC;CACf,GAAG,WAAW,CAChB,CAAC;AAEF;;;;;GAKG;AACH,QAAA,MAAM,WAAW,UAAW,gBAAgB,KAAG,YAiL9C,CAAC;AAEF,eAAe,WAAW,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/common/bottomSheet/index.
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/common/bottomSheet/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,eAAe,CAAC;AACxC,YAAY,EAAE,gBAAgB,EAAE,MAAM,eAAe,CAAC"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { ReactNode } from 'react';
|
|
2
2
|
export interface CardProps {
|
|
3
3
|
/** Content to display inside Card. */
|
|
4
4
|
children: ReactNode;
|
|
@@ -36,6 +36,6 @@ export interface CardProps {
|
|
|
36
36
|
* <p>Hello World!</p>
|
|
37
37
|
* </Card>
|
|
38
38
|
*/
|
|
39
|
-
declare const Card:
|
|
39
|
+
declare const Card: React.FC<CardProps>;
|
|
40
40
|
export default Card;
|
|
41
41
|
//# sourceMappingURL=Card.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Card.d.ts","sourceRoot":"","sources":["../../../../src/common/card/Card.tsx"],"names":[],"mappings":"AACA,OAAO,EAAc,
|
|
1
|
+
{"version":3,"file":"Card.d.ts","sourceRoot":"","sources":["../../../../src/common/card/Card.tsx"],"names":[],"mappings":"AACA,OAAO,EAAc,SAAS,EAAU,MAAM,OAAO,CAAC;AAKtD,MAAM,WAAW,SAAS;IACxB,sCAAsC;IACtC,QAAQ,EAAE,SAAS,CAAC;IAEpB,wDAAwD;IACxD,SAAS,CAAC,EAAE,MAAM,CAAC;IAEnB,kDAAkD;IAClD,EAAE,CAAC,EAAE,MAAM,CAAC;IAEZ,mDAAmD;IACnD,UAAU,CAAC,EAAE,OAAO,CAAC;IAErB,qDAAqD;IACrD,OAAO,CAAC,EAAE,OAAO,CAAC;IAElB,iDAAiD;IACjD,SAAS,CAAC,EAAE,MAAM,IAAI,CAAC;IAEvB,uDAAuD;IACvD,MAAM,CAAC,EAAE,MAAM,CAAC;CACjB;AAED;;;;;;;;;;;;;;;;;;;;GAoBG;AACH,QAAA,MAAM,IAAI,EAAE,KAAK,CAAC,EAAE,CAAC,SAAS,CA0C7B,CAAC;AAEF,eAAe,IAAI,CAAC"}
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
declare
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
}
|
|
7
|
-
}
|
|
1
|
+
declare const _default: {
|
|
2
|
+
ariaLabel: {
|
|
3
|
+
id: string;
|
|
4
|
+
defaultMessage: string;
|
|
5
|
+
description: string;
|
|
6
|
+
};
|
|
7
|
+
};
|
|
8
8
|
export default _default;
|
|
9
9
|
//# sourceMappingURL=CloseButton.messages.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CloseButton.messages.d.ts","sourceRoot":"","sources":["../../../../src/common/closeButton/CloseButton.messages.
|
|
1
|
+
{"version":3,"file":"CloseButton.messages.d.ts","sourceRoot":"","sources":["../../../../src/common/closeButton/CloseButton.messages.ts"],"names":[],"mappings":";;;;;;;AAEA,wBAMG"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/common/closeButton/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/common/closeButton/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC"}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export function isIosDevice(): boolean;
|
|
1
|
+
export declare function isIosDevice(): boolean;
|
|
2
2
|
//# sourceMappingURL=deviceDetection.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"deviceDetection.d.ts","sourceRoot":"","sources":["../../../../src/common/deviceDetection/deviceDetection.
|
|
1
|
+
{"version":3,"file":"deviceDetection.d.ts","sourceRoot":"","sources":["../../../../src/common/deviceDetection/deviceDetection.ts"],"names":[],"mappings":"AAAA,wBAAgB,WAAW,YAM1B"}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export { isIosDevice } from
|
|
1
|
+
export { isIosDevice } from './deviceDetection';
|
|
2
2
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/common/deviceDetection/index.
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/common/deviceDetection/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,MAAM,mBAAmB,CAAC"}
|
|
@@ -1,3 +1,8 @@
|
|
|
1
|
-
|
|
2
|
-
export function
|
|
1
|
+
import { SyntheticEvent } from 'react';
|
|
2
|
+
export declare function addClickClassToDocumentOnIos(): void;
|
|
3
|
+
export declare function removeClickClassFromDocumentOnIos(): void;
|
|
4
|
+
export declare function isServerSide(): boolean;
|
|
5
|
+
export declare function isBrowser(): boolean;
|
|
6
|
+
export declare function stopPropagation(event: SyntheticEvent): void;
|
|
7
|
+
export declare function getSimpleRandomId(prefix: string): string;
|
|
3
8
|
//# sourceMappingURL=documentIosClick.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"documentIosClick.d.ts","sourceRoot":"","sources":["../../../../src/common/domHelpers/documentIosClick.
|
|
1
|
+
{"version":3,"file":"documentIosClick.d.ts","sourceRoot":"","sources":["../../../../src/common/domHelpers/documentIosClick.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,OAAO,CAAC;AAUvC,wBAAgB,4BAA4B,SAI3C;AAED,wBAAgB,iCAAiC,SAIhD;AAED,wBAAgB,YAAY,IAAI,OAAO,CAEtC;AAED,wBAAgB,SAAS,IAAI,OAAO,CAEnC;AAED,wBAAgB,eAAe,CAAC,KAAK,EAAE,cAAc,QAMpD;AAED,wBAAgB,iBAAiB,CAAC,MAAM,EAAE,MAAM,GAAG,MAAM,CAGxD"}
|
|
@@ -1,7 +1,2 @@
|
|
|
1
|
-
|
|
2
|
-
export declare function isServerSide(): boolean;
|
|
3
|
-
export declare function isBrowser(): boolean;
|
|
4
|
-
export declare function stopPropagation(event: SyntheticEvent): void;
|
|
5
|
-
export declare function getSimpleRandomId(prefix: string): string;
|
|
6
|
-
export { addClickClassToDocumentOnIos, removeClickClassFromDocumentOnIos, } from './documentIosClick';
|
|
1
|
+
export { addClickClassToDocumentOnIos, getSimpleRandomId, isBrowser, isServerSide, removeClickClassFromDocumentOnIos, stopPropagation, } from './documentIosClick';
|
|
7
2
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/common/domHelpers/index.ts"],"names":[],"mappings":"AAAA,OAAO,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/common/domHelpers/index.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,4BAA4B,EAC5B,iBAAiB,EACjB,SAAS,EACT,YAAY,EACZ,iCAAiC,EACjC,eAAe,GAChB,MAAM,oBAAoB,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/common/flowHeader/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,cAAc,CAAC"}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export { default } from
|
|
1
|
+
export { default } from './FocusBoundary';
|
|
2
2
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/common/focusBoundary/index.
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/common/focusBoundary/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,iBAAiB,CAAC"}
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
export default HistoryNavigator;
|
|
2
1
|
declare class HistoryNavigator {
|
|
3
|
-
|
|
4
|
-
history: any[];
|
|
2
|
+
history: (string | number)[];
|
|
5
3
|
currIndex: number;
|
|
6
|
-
historyLimit: number |
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
4
|
+
historyLimit: number | undefined;
|
|
5
|
+
constructor(history?: (string | number)[], historyLimit?: number);
|
|
6
|
+
reset: (newHistory?: (string | number)[], historyLimit?: number) => void;
|
|
7
|
+
add: (element: string | number) => void;
|
|
8
|
+
redo: () => string | number;
|
|
9
|
+
undo: () => string | number;
|
|
11
10
|
}
|
|
11
|
+
export default HistoryNavigator;
|
|
12
12
|
//# sourceMappingURL=historyNavigator.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"historyNavigator.d.ts","sourceRoot":"","sources":["../../../../src/common/historyNavigator/historyNavigator.
|
|
1
|
+
{"version":3,"file":"historyNavigator.d.ts","sourceRoot":"","sources":["../../../../src/common/historyNavigator/historyNavigator.ts"],"names":[],"mappings":"AAAA,cAAM,gBAAgB;IACpB,OAAO,EAAE,CAAC,MAAM,GAAG,MAAM,CAAC,EAAE,CAAC;IAC7B,SAAS,EAAE,MAAM,CAAC;IAClB,YAAY,EAAE,MAAM,GAAG,SAAS,CAAC;gBAErB,OAAO,CAAC,EAAE,CAAC,MAAM,GAAG,MAAM,CAAC,EAAE,EAAE,YAAY,CAAC,EAAE,MAAM;IAMhE,KAAK,gBAAiB,CAAC,MAAM,GAAG,MAAM,CAAC,EAAE,iCAIvC;IAEF,GAAG,YAAa,MAAM,GAAG,MAAM,UAS7B;IAEF,IAAI,wBAIF;IAEF,IAAI,wBAGF;CACH;AAED,eAAe,gBAAgB,CAAC"}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export { default } from
|
|
1
|
+
export { default } from './historyNavigator';
|
|
2
2
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/common/historyNavigator/index.
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/common/historyNavigator/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,oBAAoB,CAAC"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { PropsWithChildren, RefObject, SyntheticEvent, HTMLAttributes } from 'react';
|
|
2
2
|
import { PositionBottom, PositionLeft, PositionRight, PositionTop } from '..';
|
|
3
|
-
export type
|
|
3
|
+
export type PanelProps = PropsWithChildren<{
|
|
4
4
|
arrow?: boolean;
|
|
5
5
|
flip?: boolean;
|
|
6
6
|
altAxis?: boolean;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Panel.d.ts","sourceRoot":"","sources":["../../../../src/common/panel/Panel.tsx"],"names":[],"mappings":"AACA,OAAO,EAIL,iBAAiB,EACjB,SAAS,EACT,cAAc,EACd,cAAc,EAEf,MAAM,OAAO,CAAC;AAGf,OAAO,EAAY,cAAc,EAAE,YAAY,EAAE,aAAa,EAAE,WAAW,EAAE,MAAM,IAAI,CAAC;AAexF,MAAM,MAAM,
|
|
1
|
+
{"version":3,"file":"Panel.d.ts","sourceRoot":"","sources":["../../../../src/common/panel/Panel.tsx"],"names":[],"mappings":"AACA,OAAO,EAIL,iBAAiB,EACjB,SAAS,EACT,cAAc,EACd,cAAc,EAEf,MAAM,OAAO,CAAC;AAGf,OAAO,EAAY,cAAc,EAAE,YAAY,EAAE,aAAa,EAAE,WAAW,EAAE,MAAM,IAAI,CAAC;AAexF,MAAM,MAAM,UAAU,GAAG,iBAAiB,CAAC;IACzC,KAAK,CAAC,EAAE,OAAO,CAAC;IAChB,IAAI,CAAC,EAAE,OAAO,CAAC;IACf,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,IAAI,CAAC,EAAE,OAAO,CAAC;IACf,OAAO,CAAC,EAAE,CAAC,KAAK,EAAE,KAAK,GAAG,cAAc,KAAK,IAAI,CAAC;IAClD,QAAQ,CAAC,EAAE,cAAc,GAAG,YAAY,GAAG,aAAa,GAAG,WAAW,CAAC;IACvE,SAAS,EAAE,SAAS,CAAC,OAAO,CAAC,CAAC;IAC9B,WAAW,CAAC,EAAE,OAAO,CAAC;CACvB,CAAC,GACA,cAAc,CAAC,cAAc,CAAC,CAAC;AAEjC,QAAA,MAAM,KAAK;;;;;uBAPS,KAAK,GAAG,cAAc,KAAK,IAAI;;eAEtC,UAAU,OAAO,CAAC;;;;mFA4G9B,CAAC;AAEF,eAAe,KAAK,CAAC"}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export { default } from
|
|
1
|
+
export { default } from './Panel';
|
|
2
2
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/common/panel/index.
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/common/panel/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,SAAS,CAAC"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { MouseEvent, ReactElement, ReactNode } from 'react';
|
|
2
2
|
import { CommonProps, PositionBottom, PositionCenter, PositionTop } from '../common';
|
|
3
3
|
export declare const EXIT_ANIMATION = 350;
|
|
4
|
-
type DimmerProps = CommonProps & {
|
|
4
|
+
export type DimmerProps = CommonProps & {
|
|
5
5
|
children?: ReactNode;
|
|
6
6
|
disableClickToClose?: boolean;
|
|
7
7
|
contentPosition?: PositionTop | PositionCenter | PositionBottom;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Dimmer.d.ts","sourceRoot":"","sources":["../../../src/dimmer/Dimmer.tsx"],"names":[],"mappings":"AAEA,OAAO,EACL,UAAU,EACV,YAAY,EACZ,SAAS,EAKV,MAAM,OAAO,CAAC;AAGf,OAAO,EAEL,WAAW,EACX,cAAc,EACd,cAAc,EACd,WAAW,EAEZ,MAAM,WAAW,CAAC;AAOnB,eAAO,MAAM,cAAc,MAAM,CAAC;AAIlC,
|
|
1
|
+
{"version":3,"file":"Dimmer.d.ts","sourceRoot":"","sources":["../../../src/dimmer/Dimmer.tsx"],"names":[],"mappings":"AAEA,OAAO,EACL,UAAU,EACV,YAAY,EACZ,SAAS,EAKV,MAAM,OAAO,CAAC;AAGf,OAAO,EAEL,WAAW,EACX,cAAc,EACd,cAAc,EACd,WAAW,EAEZ,MAAM,WAAW,CAAC;AAOnB,eAAO,MAAM,cAAc,MAAM,CAAC;AAIlC,MAAM,MAAM,WAAW,GAAG,WAAW,GAAG;IACtC,QAAQ,CAAC,EAAE,SAAS,CAAC;IACrB,mBAAmB,CAAC,EAAE,OAAO,CAAC;IAC9B,eAAe,CAAC,EAAE,WAAW,GAAG,cAAc,GAAG,cAAc,CAAC;IAChE,kBAAkB,CAAC,EAAE,OAAO,CAAC;IAC7B,iBAAiB,CAAC,EAAE,OAAO,CAAC;IAC5B,IAAI,CAAC,EAAE,OAAO,CAAC;IACf,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,WAAW,CAAC,EAAE,OAAO,CAAC;IACtB,OAAO,CAAC,EAAE,CAAC,KAAK,EAAE,aAAa,GAAG,UAAU,KAAK,IAAI,CAAC;CACvD,CAAC;AAEF,eAAO,MAAM,eAAe,UAAW,KAAK,SAU3C,CAAC;AAEF,QAAA,MAAM,MAAM,kJAWT,WAAW,gCAiHb,CAAC;AAsBF,eAAO,MAAM,oBAAoB;cAIrB,YAAY;gBACV,OAAO;4EAepB,CAAC;AAGF,OAAO,EAAE,MAAM,EAAE,CAAC;;;;;;;;;;;;AAElB,wBAAsC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/dimmer/index.
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/dimmer/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,UAAU,CAAC;AACnC,YAAY,EAAE,WAAW,EAAE,MAAM,UAAU,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"FlowNavigation.d.ts","sourceRoot":"","sources":["../../../src/flowNavigation/FlowNavigation.tsx"],"names":[],"mappings":";
|
|
1
|
+
{"version":3,"file":"FlowNavigation.d.ts","sourceRoot":"","sources":["../../../src/flowNavigation/FlowNavigation.tsx"],"names":[],"mappings":";AAOA,OAAgB,EAAE,KAAK,IAAI,EAAE,MAAM,oBAAoB,CAAC;AAOxD,MAAM,WAAW,mBAAmB;IAClC,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,MAAM,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IACzB,IAAI,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IACvB,IAAI,CAAC,EAAE,OAAO,CAAC;IACf,2FAA2F;IAC3F,OAAO,CAAC,EAAE,MAAM,IAAI,CAAC;IACrB,sIAAsI;IACtI,QAAQ,CAAC,EAAE,MAAM,IAAI,CAAC;IACtB,wGAAwG;IACxG,KAAK,EAAE,SAAS,IAAI,EAAE,CAAC;CACxB;AAED,QAAA,MAAM,cAAc,kEAQjB,mBAAmB,gCAmErB,CAAC;AAEF,eAAe,cAAc,CAAC"}
|