@transferwise/components 0.0.0-experimental-305fdc6 → 0.0.0-experimental-1605d4e
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/flowNavigation/animatedLabel/AnimatedLabel.js +1 -1
- package/build/flowNavigation/animatedLabel/AnimatedLabel.js.map +1 -1
- package/build/flowNavigation/animatedLabel/AnimatedLabel.mjs +1 -1
- package/build/flowNavigation/animatedLabel/AnimatedLabel.mjs.map +1 -1
- package/build/index.js +4 -4
- package/build/index.mjs +3 -3
- package/build/listItem/List.js.map +1 -0
- package/build/listItem/List.mjs.map +1 -0
- package/build/{legacylistItem/LegacyListItem.js → listItem/ListItem.js} +3 -3
- package/build/listItem/ListItem.js.map +1 -0
- package/build/{legacylistItem/LegacyListItem.mjs → listItem/ListItem.mjs} +3 -3
- package/build/listItem/ListItem.mjs.map +1 -0
- package/build/main.css +183 -3
- package/build/styles/item/Item.css +183 -0
- package/build/styles/main.css +183 -3
- package/build/styles/switch/Switch.css +0 -3
- package/build/test-utils/assets/apple-pay-logo.svg +84 -0
- package/build/types/index.d.ts +4 -2
- package/build/types/index.d.ts.map +1 -1
- package/build/types/item/Item.d.ts +44 -0
- package/build/types/item/Item.d.ts.map +1 -0
- package/build/types/item/ItemAdditionalInfo.d.ts +9 -0
- package/build/types/item/ItemAdditionalInfo.d.ts.map +1 -0
- package/build/types/item/ItemButton.d.ts +7 -0
- package/build/types/item/ItemButton.d.ts.map +1 -0
- package/build/types/item/ItemCheckbox.d.ts +4 -0
- package/build/types/item/ItemCheckbox.d.ts.map +1 -0
- package/build/types/item/ItemIconButton.d.ts +4 -0
- package/build/types/item/ItemIconButton.d.ts.map +1 -0
- package/build/types/item/ItemMedia.d.ts +19 -0
- package/build/types/item/ItemMedia.d.ts.map +1 -0
- package/build/types/item/ItemNavigation.d.ts +4 -0
- package/build/types/item/ItemNavigation.d.ts.map +1 -0
- package/build/types/item/ItemSwitch.d.ts +3 -0
- package/build/types/item/ItemSwitch.d.ts.map +1 -0
- package/build/types/item/index.d.ts +6 -0
- package/build/types/item/index.d.ts.map +1 -0
- package/build/types/item/prompt/Prompt.d.ts +12 -0
- package/build/types/item/prompt/Prompt.d.ts.map +1 -0
- package/build/types/listItem/List.d.ts.map +1 -0
- package/build/types/{legacylistItem/LegacyListItem.d.ts → listItem/ListItem.d.ts} +4 -4
- package/build/types/listItem/ListItem.d.ts.map +1 -0
- package/build/types/listItem/index.d.ts +5 -0
- package/build/types/listItem/index.d.ts.map +1 -0
- package/build/types/test-utils/fake-data.d.ts +2 -0
- package/build/types/test-utils/fake-data.d.ts.map +1 -1
- package/package.json +3 -3
- package/src/flowNavigation/animatedLabel/AnimatedLabel.tsx +1 -1
- package/src/index.ts +4 -2
- package/src/item/Item.css +183 -0
- package/src/item/Item.less +177 -0
- package/src/item/Item.story.tsx +175 -0
- package/src/item/Item.tsx +177 -0
- package/src/item/ItemAdditionalInfo.tsx +31 -0
- package/src/item/ItemButton.tsx +25 -0
- package/src/item/ItemCheckbox.tsx +16 -0
- package/src/item/ItemIconButton.tsx +15 -0
- package/src/item/ItemMedia.tsx +52 -0
- package/src/item/ItemNavigation.tsx +16 -0
- package/src/item/ItemSwitch.tsx +13 -0
- package/src/item/index.ts +6 -0
- package/src/item/prompt/Prompt.spec.tsx +77 -0
- package/src/item/prompt/Prompt.story.tsx +170 -0
- package/src/item/prompt/Prompt.tsx +44 -0
- package/src/{legacylistItem/LegacyListItem.tests.story.tsx → listItem/ListItem.tests.story.tsx} +2 -2
- package/src/{legacylistItem/LegacyListItem.tsx → listItem/ListItem.tsx} +3 -3
- package/src/listItem/index.ts +4 -0
- package/src/main.css +183 -3
- package/src/main.less +2 -1
- package/src/switch/Switch.css +0 -3
- package/src/switch/Switch.less +0 -1
- package/src/test-utils/assets/apple-pay-logo.svg +84 -0
- package/src/test-utils/fake-data.ts +5 -0
- package/build/legacylistItem/LegacyListItem.js.map +0 -1
- package/build/legacylistItem/LegacyListItem.mjs.map +0 -1
- package/build/legacylistItem/List.js.map +0 -1
- package/build/legacylistItem/List.mjs.map +0 -1
- package/build/types/legacylistItem/LegacyListItem.d.ts.map +0 -1
- package/build/types/legacylistItem/List.d.ts.map +0 -1
- package/build/types/legacylistItem/index.d.ts +0 -5
- package/build/types/legacylistItem/index.d.ts.map +0 -1
- package/src/legacylistItem/index.ts +0 -4
- /package/build/{legacylistItem → listItem}/List.js +0 -0
- /package/build/{legacylistItem → listItem}/List.mjs +0 -0
- /package/build/styles/{legacylistItem/LegacyListItem.css → listItem/ListItem.css} +0 -0
- /package/build/types/{legacylistItem → listItem}/List.d.ts +0 -0
- /package/src/{legacylistItem → listItem}/List.tsx +0 -0
- /package/src/{legacylistItem/LegacyListItem.css → listItem/ListItem.css} +0 -0
- /package/src/{legacylistItem/LegacyListItem.less → listItem/ListItem.less} +0 -0
- /package/src/{legacylistItem/LegacyListItem.spec.tsx → listItem/ListItem.spec.tsx} +0 -0
- /package/src/{legacylistItem/LegacyListItem.story.tsx → listItem/ListItem.story.tsx} +0 -0
package/build/styles/main.css
CHANGED
|
@@ -2648,6 +2648,189 @@ html:not([dir="rtl"]) .np-flow-navigation--sm .np-flow-navigation__stepper {
|
|
|
2648
2648
|
border-radius: 9999px !important;
|
|
2649
2649
|
border-radius: var(--radius-full) !important;
|
|
2650
2650
|
}
|
|
2651
|
+
.np-item {
|
|
2652
|
+
padding: 16px;
|
|
2653
|
+
padding: var(--size-16);
|
|
2654
|
+
border-radius: 24px;
|
|
2655
|
+
border-radius: var(--radius-large);
|
|
2656
|
+
background-color: #ffffff;
|
|
2657
|
+
background-color: var(--color-background-screen);
|
|
2658
|
+
gap: 16px;
|
|
2659
|
+
gap: var(--size-16);
|
|
2660
|
+
cursor: pointer;
|
|
2661
|
+
}
|
|
2662
|
+
.np-item:hover {
|
|
2663
|
+
background-color: var(--color-background-screen-hover);
|
|
2664
|
+
}
|
|
2665
|
+
.np-item:active {
|
|
2666
|
+
background-color: var(--color-background-screen-active);
|
|
2667
|
+
}
|
|
2668
|
+
.np-item-media-image {
|
|
2669
|
+
width: var(--item-media-image-size);
|
|
2670
|
+
height: var(--item-media-image-size);
|
|
2671
|
+
}
|
|
2672
|
+
.np-item-title {
|
|
2673
|
+
color: #37517e;
|
|
2674
|
+
color: var(--color-content-primary);
|
|
2675
|
+
}
|
|
2676
|
+
.np-item-additional-info {
|
|
2677
|
+
color: #768e9c;
|
|
2678
|
+
color: var(--color-content-tertiary);
|
|
2679
|
+
}
|
|
2680
|
+
.np-item-value {
|
|
2681
|
+
flex: 0 0 auto;
|
|
2682
|
+
}
|
|
2683
|
+
.np-item-control {
|
|
2684
|
+
flex: 0 0 auto;
|
|
2685
|
+
}
|
|
2686
|
+
.np-item-spotlight-active {
|
|
2687
|
+
background-color: rgba(134,167,189,0.10196);
|
|
2688
|
+
background-color: var(--color-background-neutral);
|
|
2689
|
+
}
|
|
2690
|
+
.np-item-spotlight-active:hover {
|
|
2691
|
+
background-color: var(--color-background-neutral-hover);
|
|
2692
|
+
}
|
|
2693
|
+
.np-item-spotlight-active:active {
|
|
2694
|
+
background-color: var(--color-background-neutral-active);
|
|
2695
|
+
}
|
|
2696
|
+
.np-item-spotlight-inactive {
|
|
2697
|
+
background-color: rgba(134, 167, 189, 0.025);
|
|
2698
|
+
border: 1px dashed rgba(0,0,0,0.10196);
|
|
2699
|
+
border: 1px dashed var(--color-border-neutral);
|
|
2700
|
+
}
|
|
2701
|
+
@supports (color: color-mix(in lch, red, blue)) {
|
|
2702
|
+
.np-item-spotlight-inactive {
|
|
2703
|
+
background-color: color-mix(in srgb, var(--color-background-neutral) 25%, transparent);
|
|
2704
|
+
}
|
|
2705
|
+
}
|
|
2706
|
+
.np-item-spotlight-inactive:hover {
|
|
2707
|
+
background-color: color-mix(in srgb, var(--color-background-neutral-hover) 25%, transparent);
|
|
2708
|
+
}
|
|
2709
|
+
.np-item-spotlight-inactive:active {
|
|
2710
|
+
background-color: color-mix(in srgb, var(--color-background-neutral-active) 25%, transparent);
|
|
2711
|
+
}
|
|
2712
|
+
.np-item-prompt {
|
|
2713
|
+
display: inline-flex;
|
|
2714
|
+
padding-top: calc(8px / 2);
|
|
2715
|
+
padding-top: calc(var(--padding-x-small) / 2);
|
|
2716
|
+
padding-bottom: calc(8px / 2);
|
|
2717
|
+
padding-bottom: calc(var(--padding-x-small) / 2);
|
|
2718
|
+
padding-left: calc(8px - 1px);
|
|
2719
|
+
padding-left: calc(var(--padding-x-small) - 1px);
|
|
2720
|
+
padding-right: 8px;
|
|
2721
|
+
padding-right: var(--padding-x-small);
|
|
2722
|
+
border-radius: 10px;
|
|
2723
|
+
border-radius: var(--radius-small);
|
|
2724
|
+
word-break: break-word;
|
|
2725
|
+
word-wrap: break-word;
|
|
2726
|
+
}
|
|
2727
|
+
.np-item-prompt .np-prompt-icon {
|
|
2728
|
+
padding-right: calc(12px / 2);
|
|
2729
|
+
padding-right: calc(var(--size-12) / 2);
|
|
2730
|
+
padding-top: calc(4px - 1px);
|
|
2731
|
+
padding-top: calc(var(--size-4) - 1px);
|
|
2732
|
+
padding-bottom: calc(4px - 1px);
|
|
2733
|
+
padding-bottom: calc(var(--size-4) - 1px);
|
|
2734
|
+
}
|
|
2735
|
+
.np-item-prompt .np-prompt-icon .tw-icon-tags,
|
|
2736
|
+
.np-item-prompt .np-prompt-icon .tw-icon-confetti {
|
|
2737
|
+
color: var(--color-sentiment-positive-primary);
|
|
2738
|
+
}
|
|
2739
|
+
.np-item-prompt a {
|
|
2740
|
+
text-underline-offset: calc(4px / 2);
|
|
2741
|
+
text-underline-offset: calc(var(--size-4) / 2);
|
|
2742
|
+
}
|
|
2743
|
+
.np-item-prompt.np-prompt-interactive {
|
|
2744
|
+
-webkit-text-decoration: none;
|
|
2745
|
+
text-decoration: none;
|
|
2746
|
+
cursor: pointer;
|
|
2747
|
+
border: none;
|
|
2748
|
+
}
|
|
2749
|
+
.np-item-prompt.negative {
|
|
2750
|
+
background-color: var(--color-sentiment-negative-secondary);
|
|
2751
|
+
color: var(--color-sentiment-negative-primary);
|
|
2752
|
+
}
|
|
2753
|
+
.np-item-prompt.negative a {
|
|
2754
|
+
color: var(--color-sentiment-negative-primary);
|
|
2755
|
+
}
|
|
2756
|
+
.np-item-prompt.negative a:hover {
|
|
2757
|
+
color: var(--color-sentiment-negative-primary-hover);
|
|
2758
|
+
}
|
|
2759
|
+
.np-item-prompt.negative a:active {
|
|
2760
|
+
color: var(--color-sentiment-negative-primary-active);
|
|
2761
|
+
}
|
|
2762
|
+
.np-prompt-interactive.np-item-prompt.negative:hover {
|
|
2763
|
+
background-color: color-mix(in srgb, var(--color-sentiment-negative-secondary) 95%, var(--color-sentiment-negative-primary));
|
|
2764
|
+
}
|
|
2765
|
+
.np-prompt-interactive.np-item-prompt.negative:active {
|
|
2766
|
+
background-color: color-mix(in srgb, var(--color-sentiment-negative-secondary) 90%, var(--color-sentiment-negative-primary));
|
|
2767
|
+
}
|
|
2768
|
+
.np-item-prompt.positive,
|
|
2769
|
+
.np-item-prompt.discount,
|
|
2770
|
+
.np-item-prompt.savings {
|
|
2771
|
+
background-color: var(--color-sentiment-positive-secondary);
|
|
2772
|
+
color: var(--color-sentiment-positive-primary);
|
|
2773
|
+
}
|
|
2774
|
+
.np-item-prompt.positive a,
|
|
2775
|
+
.np-item-prompt.discount a,
|
|
2776
|
+
.np-item-prompt.savings a {
|
|
2777
|
+
color: var(--color-sentiment-positive-primary);
|
|
2778
|
+
}
|
|
2779
|
+
.np-item-prompt.positive a:hover,
|
|
2780
|
+
.np-item-prompt.discount a:hover,
|
|
2781
|
+
.np-item-prompt.savings a:hover {
|
|
2782
|
+
color: var(--color-sentiment-positive-primary-hover);
|
|
2783
|
+
}
|
|
2784
|
+
.np-item-prompt.positive a:active,
|
|
2785
|
+
.np-item-prompt.discount a:active,
|
|
2786
|
+
.np-item-prompt.savings a:active {
|
|
2787
|
+
color: var(--color-sentiment-positive-primary-active);
|
|
2788
|
+
}
|
|
2789
|
+
.np-prompt-interactive.np-item-prompt.positive:hover,
|
|
2790
|
+
.np-prompt-interactive.np-item-prompt.discount:hover,
|
|
2791
|
+
.np-prompt-interactive.np-item-prompt.savings:hover {
|
|
2792
|
+
background-color: color-mix(in srgb, var(--color-sentiment-positive-secondary) 95%, var(--color-sentiment-positive-primary));
|
|
2793
|
+
}
|
|
2794
|
+
.np-prompt-interactive.np-item-prompt.positive:active,
|
|
2795
|
+
.np-prompt-interactive.np-item-prompt.discount:active,
|
|
2796
|
+
.np-prompt-interactive.np-item-prompt.savings:active {
|
|
2797
|
+
background-color: color-mix(in srgb, var(--color-sentiment-positive-secondary) 90%, var(--color-sentiment-positive-primary));
|
|
2798
|
+
}
|
|
2799
|
+
.np-item-prompt.neutral {
|
|
2800
|
+
background-color: rgba(134,167,189,0.10196);
|
|
2801
|
+
background-color: var(--color-background-neutral);
|
|
2802
|
+
color: #37517e;
|
|
2803
|
+
color: var(--color-content-primary);
|
|
2804
|
+
}
|
|
2805
|
+
.np-item-prompt.neutral a {
|
|
2806
|
+
color: #37517e;
|
|
2807
|
+
color: var(--color-content-primary);
|
|
2808
|
+
}
|
|
2809
|
+
.np-prompt-interactive.np-item-prompt.neutral:hover {
|
|
2810
|
+
background-color: var(--color-background-neutral-hover);
|
|
2811
|
+
}
|
|
2812
|
+
.np-prompt-interactive.np-item-prompt.neutral:active {
|
|
2813
|
+
background-color: var(--color-background-neutral-active);
|
|
2814
|
+
}
|
|
2815
|
+
.np-item-prompt.warning {
|
|
2816
|
+
background-color: var(--color-sentiment-warning-secondary);
|
|
2817
|
+
color: var(--color-sentiment-warning-content);
|
|
2818
|
+
}
|
|
2819
|
+
.np-item-prompt.warning a {
|
|
2820
|
+
color: var(--color-sentiment-warning-content);
|
|
2821
|
+
}
|
|
2822
|
+
.np-item-prompt.warning a:hover {
|
|
2823
|
+
color: var(--color-sentiment-warning-content-hover);
|
|
2824
|
+
}
|
|
2825
|
+
.np-item-prompt.warning a:active {
|
|
2826
|
+
color: var(--color-sentiment-warning-content-active);
|
|
2827
|
+
}
|
|
2828
|
+
.np-prompt-interactive.np-item-prompt.warning:hover {
|
|
2829
|
+
background-color: color-mix(in srgb, var(--color-sentiment-warning-secondary) 90%, var(--color-sentiment-warning-primary));
|
|
2830
|
+
}
|
|
2831
|
+
.np-prompt-interactive.np-item-prompt.warning:active {
|
|
2832
|
+
background-color: color-mix(in srgb, var(--color-sentiment-warning-secondary) 80%, var(--color-sentiment-warning-primary));
|
|
2833
|
+
}
|
|
2651
2834
|
.np-field-control {
|
|
2652
2835
|
margin-top: 4px;
|
|
2653
2836
|
margin-top: var(--size-4);
|
|
@@ -5165,9 +5348,6 @@ html:not([dir="rtl"]) .np-navigation-option {
|
|
|
5165
5348
|
width: 50px;
|
|
5166
5349
|
padding: 2px;
|
|
5167
5350
|
border-radius: 16px;
|
|
5168
|
-
-webkit-user-select: none;
|
|
5169
|
-
-moz-user-select: none;
|
|
5170
|
-
user-select: none;
|
|
5171
5351
|
}
|
|
5172
5352
|
.np-switch:focus {
|
|
5173
5353
|
outline: none;
|
|
@@ -0,0 +1,84 @@
|
|
|
1
|
+
<?xml version="1.0" encoding="utf-8"?>
|
|
2
|
+
<!-- Generator: Adobe Illustrator 21.1.0, SVG Export Plug-In . SVG Version: 6.00 Build 0) -->
|
|
3
|
+
<svg version="1.1" id="Artwork" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px"
|
|
4
|
+
width="165.52107px" height="105.9651px" viewBox="0 0 165.52107 105.9651" enable-background="new 0 0 165.52107 105.9651"
|
|
5
|
+
xml:space="preserve">
|
|
6
|
+
<g>
|
|
7
|
+
<path id="XMLID_4_" d="M150.69807,0H14.82318c-0.5659,0-1.1328,0-1.69769,0.0033c-0.47751,0.0034-0.95391,0.0087-1.43031,0.0217
|
|
8
|
+
c-1.039,0.0281-2.0869,0.0894-3.1129,0.2738c-1.0424,0.1876-2.0124,0.4936-2.9587,0.9754
|
|
9
|
+
c-0.9303,0.4731-1.782,1.0919-2.52009,1.8303c-0.73841,0.7384-1.35721,1.5887-1.83021,2.52
|
|
10
|
+
c-0.4819,0.9463-0.7881,1.9166-0.9744,2.9598c-0.18539,1.0263-0.2471,2.074-0.2751,3.1119
|
|
11
|
+
c-0.0128,0.4764-0.01829,0.9528-0.0214,1.4291c-0.0033,0.5661-0.0022,1.1318-0.0022,1.6989V91.142
|
|
12
|
+
c0,0.5671-0.0011,1.13181,0.0022,1.69901c0.00311,0.4763,0.0086,0.9527,0.0214,1.4291
|
|
13
|
+
c0.028,1.03699,0.08971,2.08469,0.2751,3.11069c0.1863,1.0436,0.4925,2.0135,0.9744,2.9599
|
|
14
|
+
c0.473,0.9313,1.0918,1.7827,1.83021,2.52c0.73809,0.7396,1.58979,1.3583,2.52009,1.8302
|
|
15
|
+
c0.9463,0.4831,1.9163,0.7892,2.9587,0.9767c1.026,0.1832,2.0739,0.2456,3.1129,0.2737c0.4764,0.0108,0.9528,0.0172,1.43031,0.0194
|
|
16
|
+
c0.56489,0.0044,1.13179,0.0044,1.69769,0.0044h135.87489c0.5649,0,1.13181,0,1.69659-0.0044
|
|
17
|
+
c0.47641-0.0022,0.95282-0.0086,1.4314-0.0194c1.0368-0.0281,2.0845-0.0905,3.11301-0.2737
|
|
18
|
+
c1.041-0.1875,2.0112-0.4936,2.9576-0.9767c0.9313-0.4719,1.7805-1.0906,2.52011-1.8302c0.7372-0.7373,1.35599-1.5887,1.8302-2.52
|
|
19
|
+
c0.48299-0.9464,0.78889-1.9163,0.97429-2.9599c0.1855-1.026,0.2457-2.0737,0.2738-3.11069
|
|
20
|
+
c0.013-0.4764,0.01941-0.9528,0.02161-1.4291c0.00439-0.5672,0.00439-1.1319,0.00439-1.69901V14.8242
|
|
21
|
+
c0-0.5671,0-1.1328-0.00439-1.6989c-0.0022-0.4763-0.00861-0.9527-0.02161-1.4291c-0.02811-1.0379-0.0883-2.0856-0.2738-3.1119
|
|
22
|
+
c-0.18539-1.0432-0.4913-2.0135-0.97429-2.9598c-0.47421-0.9313-1.093-1.7816-1.8302-2.52
|
|
23
|
+
c-0.73961-0.7384-1.58881-1.3572-2.52011-1.8303c-0.9464-0.4818-1.9166-0.7878-2.9576-0.9754
|
|
24
|
+
c-1.0285-0.1844-2.0762-0.2457-3.11301-0.2738c-0.47858-0.013-0.95499-0.0183-1.4314-0.0217C151.82988,0,151.26297,0,150.69807,0
|
|
25
|
+
L150.69807,0z"/>
|
|
26
|
+
<path id="XMLID_3_" fill="#FFFFFF" d="M150.69807,3.532l1.67149,0.0032c0.4528,0.0032,0.90561,0.0081,1.36092,0.0205
|
|
27
|
+
c0.79201,0.0214,1.71849,0.0643,2.58209,0.2191c0.7507,0.1352,1.38029,0.3408,1.9845,0.6484
|
|
28
|
+
c0.5965,0.3031,1.14301,0.7003,1.62019,1.1768c0.479,0.4797,0.87671,1.0271,1.18381,1.6302
|
|
29
|
+
c0.30589,0.5995,0.51019,1.2261,0.64459,1.9823c0.1544,0.8542,0.1971,1.7832,0.21881,2.5801
|
|
30
|
+
c0.01219,0.4498,0.01819,0.8996,0.0204,1.3601c0.00429,0.5569,0.0042,1.1135,0.0042,1.6715V91.142
|
|
31
|
+
c0,0.558,0.00009,1.1136-0.0043,1.6824c-0.00211,0.4497-0.0081,0.8995-0.0204,1.3501c-0.02161,0.7957-0.0643,1.7242-0.2206,2.5885
|
|
32
|
+
c-0.13251,0.7458-0.3367,1.3725-0.64429,1.975c-0.30621,0.6016-0.70331,1.1484-1.18022,1.6251
|
|
33
|
+
c-0.47989,0.48-1.0246,0.876-1.62819,1.1819c-0.5997,0.3061-1.22821,0.51151-1.97151,0.6453
|
|
34
|
+
c-0.88109,0.157-1.84639,0.2002-2.57339,0.2199c-0.4574,0.0103-0.9126,0.01649-1.37889,0.0187
|
|
35
|
+
c-0.55571,0.0043-1.1134,0.0042-1.6692,0.0042H14.82318c-0.0074,0-0.0146,0-0.0221,0c-0.5494,0-1.0999,0-1.6593-0.0043
|
|
36
|
+
c-0.4561-0.00211-0.9112-0.0082-1.3512-0.0182c-0.7436-0.0201-1.7095-0.0632-2.5834-0.2193
|
|
37
|
+
c-0.74969-0.1348-1.3782-0.3402-1.9858-0.6503c-0.59789-0.3032-1.1422-0.6988-1.6223-1.1797
|
|
38
|
+
c-0.4764-0.4756-0.8723-1.0207-1.1784-1.6232c-0.3064-0.6019-0.5114-1.2305-0.64619-1.9852
|
|
39
|
+
c-0.15581-0.8626-0.19861-1.7874-0.22-2.5777c-0.01221-0.4525-0.01731-0.9049-0.02021-1.3547l-0.0022-1.3279l0.0001-0.3506V14.8242
|
|
40
|
+
l-0.0001-0.3506l0.0021-1.3251c0.003-0.4525,0.0081-0.9049,0.02031-1.357c0.02139-0.7911,0.06419-1.7163,0.22129-2.5861
|
|
41
|
+
c0.1336-0.7479,0.3385-1.3765,0.6465-1.9814c0.3037-0.5979,0.7003-1.1437,1.17921-1.6225
|
|
42
|
+
c0.477-0.4772,1.02309-0.8739,1.62479-1.1799c0.6011-0.3061,1.2308-0.5116,1.9805-0.6465c0.8638-0.1552,1.7909-0.198,2.5849-0.2195
|
|
43
|
+
c0.4526-0.0123,0.9052-0.0172,1.3544-0.0203l1.6771-0.0033H150.69807"/>
|
|
44
|
+
<g>
|
|
45
|
+
<g>
|
|
46
|
+
<path d="M45.1862,35.64053c1.41724-1.77266,2.37897-4.15282,2.12532-6.58506c-2.07464,0.10316-4.60634,1.36871-6.07207,3.14276
|
|
47
|
+
c-1.31607,1.5192-2.4809,3.99902-2.17723,6.3293C41.39111,38.72954,43.71785,37.36345,45.1862,35.64053"/>
|
|
48
|
+
<path d="M47.28506,38.98252c-3.38211-0.20146-6.25773,1.91951-7.87286,1.91951c-1.61602,0-4.08931-1.81799-6.76438-1.76899
|
|
49
|
+
c-3.48177,0.05114-6.71245,2.01976-8.4793,5.15079c-3.63411,6.2636-0.95904,15.55471,2.57494,20.65606
|
|
50
|
+
c1.71618,2.5238,3.78447,5.30269,6.50976,5.20287c2.57494-0.10104,3.58421-1.66732,6.71416-1.66732
|
|
51
|
+
c3.12765,0,4.03679,1.66732,6.76252,1.61681c2.82665-0.05054,4.59381-2.52506,6.30997-5.05132
|
|
52
|
+
c1.96878-2.877,2.77473-5.65498,2.82542-5.80748c-0.0507-0.05051-5.45058-2.12204-5.50065-8.33358
|
|
53
|
+
c-0.05098-5.20101,4.23951-7.6749,4.44144-7.82832C52.3832,39.4881,48.5975,39.08404,47.28506,38.98252"/>
|
|
54
|
+
</g>
|
|
55
|
+
<g>
|
|
56
|
+
<path d="M76.73385,31.94381c7.35096,0,12.4697,5.06708,12.4697,12.44437c0,7.40363-5.22407,12.49704-12.65403,12.49704h-8.13892
|
|
57
|
+
v12.94318h-5.88037v-37.8846H76.73385z M68.41059,51.9493h6.74732c5.11975,0,8.0336-2.75636,8.0336-7.53479
|
|
58
|
+
c0-4.77792-2.91385-7.50845-8.00727-7.50845h-6.77365V51.9493z"/>
|
|
59
|
+
<path d="M90.73997,61.97864c0-4.8311,3.70182-7.79761,10.26583-8.16526l7.56061-0.44614v-2.12639
|
|
60
|
+
c0-3.07185-2.07423-4.90959-5.53905-4.90959c-3.28251,0-5.33041,1.57492-5.82871,4.04313h-5.35574
|
|
61
|
+
c0.31499-4.98859,4.56777-8.66407,11.3941-8.66407c6.69466,0,10.97377,3.54432,10.97377,9.08388v19.03421h-5.43472v-4.54194
|
|
62
|
+
h-0.13065c-1.60125,3.07185-5.09341,5.01441-8.71623,5.01441C94.52078,70.30088,90.73997,66.94038,90.73997,61.97864z
|
|
63
|
+
M108.56641,59.4846v-2.17905l-6.8,0.41981c-3.38683,0.23649-5.30306,1.73291-5.30306,4.09579
|
|
64
|
+
c0,2.41504,1.99523,3.99046,5.04075,3.99046C105.46823,65.81161,108.56641,63.08108,108.56641,59.4846z"/>
|
|
65
|
+
<path d="M119.34167,79.9889v-4.5946c0.4193,0.10483,1.36425,0.10483,1.83723,0.10483c2.6252,0,4.04313-1.10245,4.90908-3.9378
|
|
66
|
+
c0-0.05267,0.49931-1.68025,0.49931-1.70658l-9.97616-27.64562h6.14268l6.98432,22.47371h0.10432l6.98433-22.47371h5.9857
|
|
67
|
+
l-10.34483,29.06304c-2.36186,6.69517-5.0924,8.84789-10.81577,8.84789C121.17891,80.12006,119.76098,80.06739,119.34167,79.9889
|
|
68
|
+
z"/>
|
|
69
|
+
</g>
|
|
70
|
+
</g>
|
|
71
|
+
</g>
|
|
72
|
+
<g>
|
|
73
|
+
</g>
|
|
74
|
+
<g>
|
|
75
|
+
</g>
|
|
76
|
+
<g>
|
|
77
|
+
</g>
|
|
78
|
+
<g>
|
|
79
|
+
</g>
|
|
80
|
+
<g>
|
|
81
|
+
</g>
|
|
82
|
+
<g>
|
|
83
|
+
</g>
|
|
84
|
+
</svg>
|
package/build/types/index.d.ts
CHANGED
|
@@ -34,7 +34,7 @@ export type { SelectInputGroupItem, SelectInputItem, SelectInputOptionContentPro
|
|
|
34
34
|
export type { TextAreaProps } from './inputs/TextArea';
|
|
35
35
|
export type { InstructionsListProps } from './instructionsList';
|
|
36
36
|
export type { LabelProps, LabelOptionalProps, LabelDescriptionProps } from './label/Label';
|
|
37
|
-
export type { ListProps,
|
|
37
|
+
export type { ListProps, ListItemProps } from './listItem';
|
|
38
38
|
export type { LoaderProps } from './loader';
|
|
39
39
|
export type { MarkdownProps } from './markdown';
|
|
40
40
|
export type { ModalProps } from './modal';
|
|
@@ -72,6 +72,7 @@ export type { UploadError, UploadResponse, UploadedFile } from './uploadInput/ty
|
|
|
72
72
|
export type { WithIdProps } from './withId';
|
|
73
73
|
export type { IconButtonProps } from './iconButton';
|
|
74
74
|
export type { TableProps, TableRowType, TableRowClickableType, TableHeaderType, TableCellLeading, TableCellText, TableCellCurrency, TableCellStatus, TableCellType, } from './table';
|
|
75
|
+
export type { ItemProps, ItemAdditionalInfoProps, ItemCheckboxProps } from './item';
|
|
75
76
|
/**
|
|
76
77
|
* Components
|
|
77
78
|
*/
|
|
@@ -125,7 +126,7 @@ export { TextArea } from './inputs/TextArea';
|
|
|
125
126
|
export { default as InstructionsList } from './instructionsList';
|
|
126
127
|
export { Label } from './label/Label';
|
|
127
128
|
export { default as Link } from './link';
|
|
128
|
-
export { List, default as ListItem
|
|
129
|
+
export { List, default as ListItem } from './listItem';
|
|
129
130
|
export { default as Loader } from './loader';
|
|
130
131
|
export { default as Logo } from './logo';
|
|
131
132
|
export { default as Markdown } from './markdown';
|
|
@@ -169,6 +170,7 @@ export { default as Typeahead } from './typeahead';
|
|
|
169
170
|
export { default as Upload } from './upload';
|
|
170
171
|
export { default as UploadInput } from './uploadInput';
|
|
171
172
|
export { default as Table } from './table';
|
|
173
|
+
export { default as Item } from './table';
|
|
172
174
|
/**
|
|
173
175
|
* Hooks
|
|
174
176
|
*/
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAEA;;GAEG;AACH,YAAY,EAAE,aAAa,EAAE,cAAc,EAAE,MAAM,aAAa,CAAC;AACjE,YAAY,EAAE,iBAAiB,EAAE,MAAM,gBAAgB,CAAC;AACxD,YAAY,EAAE,iBAAiB,EAAE,iBAAiB,EAAE,oBAAoB,EAAE,MAAM,gBAAgB,CAAC;AACjG,YAAY,EAAE,WAAW,EAAE,UAAU,EAAE,SAAS,EAAE,MAAM,SAAS,CAAC;AAClE,YAAY,EAAE,WAAW,EAAE,MAAM,UAAU,CAAC;AAC5C,YAAY,EAAE,eAAe,EAAE,MAAM,cAAc,CAAC;AACpD,YAAY,EAAE,iBAAiB,EAAE,MAAM,gBAAgB,CAAC;AACxD,YAAY,EAAE,UAAU,EAAE,MAAM,SAAS,CAAC;AAC1C,YAAY,EAAE,cAAc,IAAI,WAAW,EAAE,MAAM,UAAU,CAAC;AAC9D,YAAY,EAAE,SAAS,EAAE,MAAM,QAAQ,CAAC;AACxC,YAAY,EAAE,aAAa,EAAE,MAAM,YAAY,CAAC;AAChD,YAAY,EAAE,aAAa,EAAE,MAAM,YAAY,CAAC;AAChD,YAAY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EACnB,YAAY,EACZ,oBAAoB,EACpB,sBAAsB,EACtB,iBAAiB,EACjB,SAAS,EACT,YAAY,EACZ,qBAAqB,GACtB,MAAM,UAAU,CAAC;AAElB;;GAEG;AACH,OAAO,EAAE,OAAO,IAAI,YAAY,EAAE,MAAM,QAAQ,CAAC;AAEjD;;GAEG;AACH,OAAO,EAAE,OAAO,IAAI,MAAM,EAAE,MAAM,UAAU,CAAC"}
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
import { ReactNode } from 'react';
|
|
2
|
+
export type ItemTypes = 'none' | 'navigation' | 'radio' | 'checkbox' | 'switch' | 'button' | 'icon-button';
|
|
3
|
+
export type Props = {
|
|
4
|
+
as?: 'li' | 'div' | 'span';
|
|
5
|
+
inverted?: boolean;
|
|
6
|
+
disabled?: boolean;
|
|
7
|
+
partialInteractivity?: boolean;
|
|
8
|
+
spotlight?: 'active' | 'inactive';
|
|
9
|
+
title: ReactNode;
|
|
10
|
+
subtitle?: ReactNode;
|
|
11
|
+
additionalInfo?: ReactNode;
|
|
12
|
+
valueTitle?: ReactNode;
|
|
13
|
+
valueSubtitle?: ReactNode;
|
|
14
|
+
media?: ReactNode;
|
|
15
|
+
control?: ReactNode;
|
|
16
|
+
prompt?: ReactNode;
|
|
17
|
+
};
|
|
18
|
+
export type ItemContextData = {
|
|
19
|
+
setControlType: (type: ItemTypes) => void;
|
|
20
|
+
ids: {
|
|
21
|
+
label: string;
|
|
22
|
+
additionalInfo: string;
|
|
23
|
+
value: string;
|
|
24
|
+
control: string;
|
|
25
|
+
prompt: string;
|
|
26
|
+
};
|
|
27
|
+
props: Pick<Props, 'as' | 'disabled' | 'inverted'>;
|
|
28
|
+
};
|
|
29
|
+
export declare const ItemContext: import("react").Context<ItemContextData>;
|
|
30
|
+
export declare const Item: {
|
|
31
|
+
({ as: View, title, subtitle, additionalInfo, prompt, inverted, media, spotlight, valueTitle, valueSubtitle, control, disabled, }: Props): import("react").JSX.Element;
|
|
32
|
+
Image: ({ alt, size, ...props }: import("./ItemMedia").ItemImageProps) => import("react").JSX.Element;
|
|
33
|
+
AvatarView: ({ className, size, ...props }: import("./ItemMedia").ItemAvatarViewProps) => import("react").JSX.Element;
|
|
34
|
+
AvatarLayout: ({ className, size, ...props }: import("./ItemMedia").ItemAvatarLayoutProps) => import("react").JSX.Element;
|
|
35
|
+
AdditionalInfo: ({ children, action }: import("./ItemAdditionalInfo").ItemAdditionalInfoProps) => import("react").JSX.Element;
|
|
36
|
+
Checkbox: (props: import("./ItemCheckbox").ItemCheckboxProps) => import("react").JSX.Element;
|
|
37
|
+
IconButton: (props: import("./ItemIconButton").ItemIconButtonProps) => import("react").JSX.Element;
|
|
38
|
+
Navigation: ({ onClick }: import("./ItemNavigation").ItemNavigationProps) => import("react").JSX.Element;
|
|
39
|
+
Button: ({ priority, ...props }: import("./ItemButton").ItemButtonProps) => import("react").JSX.Element;
|
|
40
|
+
Switch: (props: import("..").SwitchProps) => import("react").JSX.Element;
|
|
41
|
+
Prompt: ({ type, children, action }: import("./prompt/Prompt").ItemPromptProps) => import("react").JSX.Element;
|
|
42
|
+
};
|
|
43
|
+
export default Item;
|
|
44
|
+
//# sourceMappingURL=Item.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Item.d.ts","sourceRoot":"","sources":["../../../src/item/Item.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAiB,SAAS,EAA4B,MAAM,OAAO,CAAC;AAa3E,MAAM,MAAM,SAAS,GACjB,MAAM,GACN,YAAY,GACZ,OAAO,GACP,UAAU,GACV,QAAQ,GACR,QAAQ,GACR,aAAa,CAAC;AAElB,MAAM,MAAM,KAAK,GAAG;IAClB,EAAE,CAAC,EAAE,IAAI,GAAG,KAAK,GAAG,MAAM,CAAC;IAC3B,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,oBAAoB,CAAC,EAAE,OAAO,CAAC;IAC/B,SAAS,CAAC,EAAE,QAAQ,GAAG,UAAU,CAAC;IAClC,KAAK,EAAE,SAAS,CAAC;IACjB,QAAQ,CAAC,EAAE,SAAS,CAAC;IACrB,cAAc,CAAC,EAAE,SAAS,CAAC;IAC3B,UAAU,CAAC,EAAE,SAAS,CAAC;IACvB,aAAa,CAAC,EAAE,SAAS,CAAC;IAC1B,KAAK,CAAC,EAAE,SAAS,CAAC;IAClB,OAAO,CAAC,EAAE,SAAS,CAAC;IACpB,MAAM,CAAC,EAAE,SAAS,CAAC;CACpB,CAAC;AAEF,MAAM,MAAM,eAAe,GAAG;IAC5B,cAAc,EAAE,CAAC,IAAI,EAAE,SAAS,KAAK,IAAI,CAAC;IAC1C,GAAG,EAAE;QACH,KAAK,EAAE,MAAM,CAAC;QACd,cAAc,EAAE,MAAM,CAAC;QACvB,KAAK,EAAE,MAAM,CAAC;QACd,OAAO,EAAE,MAAM,CAAC;QAChB,MAAM,EAAE,MAAM,CAAC;KAChB,CAAC;IACF,KAAK,EAAE,IAAI,CAAC,KAAK,EAAE,IAAI,GAAG,UAAU,GAAG,UAAU,CAAC,CAAC;CACpD,CAAC;AAIF,eAAO,MAAM,WAAW,0CAAuC,CAAC;AAEhE,eAAO,MAAM,IAAI;uIAad,KAAK;;;;;;;;;;;CA8FP,CAAC;AAeF,eAAe,IAAI,CAAC"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { PropsWithChildren } from 'react';
|
|
2
|
+
import { LinkProps } from '../link';
|
|
3
|
+
export type ItemAdditionalInfoProps = PropsWithChildren<{
|
|
4
|
+
action?: Pick<LinkProps, 'href' | 'onClick' | 'target'> & {
|
|
5
|
+
label?: string;
|
|
6
|
+
};
|
|
7
|
+
}>;
|
|
8
|
+
export declare const AdditionalInfo: ({ children, action }: ItemAdditionalInfoProps) => import("react").JSX.Element;
|
|
9
|
+
//# sourceMappingURL=ItemAdditionalInfo.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ItemAdditionalInfo.d.ts","sourceRoot":"","sources":["../../../src/item/ItemAdditionalInfo.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,iBAAiB,EAAc,MAAM,OAAO,CAAC;AAGtD,OAAa,EAAE,SAAS,EAAE,MAAM,SAAS,CAAC;AAG1C,MAAM,MAAM,uBAAuB,GAAG,iBAAiB,CAAC;IACtD,MAAM,CAAC,EAAE,IAAI,CAAC,SAAS,EAAE,MAAM,GAAG,SAAS,GAAG,QAAQ,CAAC,GAAG;QAAE,KAAK,CAAC,EAAE,MAAM,CAAA;KAAE,CAAC;CAC9E,CAAC,CAAC;AAEH,eAAO,MAAM,cAAc,yBAAmC,uBAAuB,gCAoBpF,CAAC"}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { NewButtonProps } from '../button';
|
|
2
|
+
import { ButtonPriority } from '../button/Button.types';
|
|
3
|
+
export type ItemButtonProps = Omit<NewButtonProps, 'v2' | 'size'> & {
|
|
4
|
+
priority?: ButtonPriority;
|
|
5
|
+
};
|
|
6
|
+
export declare const Button: ({ priority, ...props }: ItemButtonProps) => import("react").JSX.Element;
|
|
7
|
+
//# sourceMappingURL=ItemButton.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ItemButton.d.ts","sourceRoot":"","sources":["../../../src/item/ItemButton.tsx"],"names":[],"mappings":"AACA,OAAO,EAAyB,cAAc,EAAE,MAAM,WAAW,CAAC;AAClE,OAAO,EAAE,cAAc,EAAE,MAAM,wBAAwB,CAAC;AAGxD,MAAM,MAAM,eAAe,GAAG,IAAI,CAAC,cAAc,EAAE,IAAI,GAAG,MAAM,CAAC,GAAG;IAClE,QAAQ,CAAC,EAAE,cAAc,CAAC;CAC3B,CAAC;AAEF,eAAO,MAAM,MAAM,2BAA0C,eAAe,gCAe3E,CAAC"}
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import { CheckboxButtonProps } from '../checkboxButton/CheckboxButton';
|
|
2
|
+
export type ItemCheckboxProps = Pick<CheckboxButtonProps, 'checked' | 'indeterminate' | 'onChange'>;
|
|
3
|
+
export declare const Checkbox: (props: ItemCheckboxProps) => import("react").JSX.Element;
|
|
4
|
+
//# sourceMappingURL=ItemCheckbox.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ItemCheckbox.d.ts","sourceRoot":"","sources":["../../../src/item/ItemCheckbox.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,mBAAmB,EAAE,MAAM,kCAAkC,CAAC;AAGvE,MAAM,MAAM,iBAAiB,GAAG,IAAI,CAAC,mBAAmB,EAAE,SAAS,GAAG,eAAe,GAAG,UAAU,CAAC,CAAC;AAEpG,eAAO,MAAM,QAAQ,UAAoB,iBAAiB,gCAQzD,CAAC"}
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import { IconButtonProps } from '../iconButton';
|
|
2
|
+
export type ItemIconButtonProps = Pick<IconButtonProps, 'onClick' | 'href' | 'target'>;
|
|
3
|
+
export declare const IconButton: (props: ItemIconButtonProps) => import("react").JSX.Element;
|
|
4
|
+
//# sourceMappingURL=ItemIconButton.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ItemIconButton.d.ts","sourceRoot":"","sources":["../../../src/item/ItemIconButton.tsx"],"names":[],"mappings":"AACA,OAAO,EAA6B,eAAe,EAAE,MAAM,eAAe,CAAC;AAG3E,MAAM,MAAM,mBAAmB,GAAG,IAAI,CAAC,eAAe,EAAE,SAAS,GAAG,MAAM,GAAG,QAAQ,CAAC,CAAC;AAEvF,eAAO,MAAM,UAAU,UAAoB,mBAAmB,gCAQ7D,CAAC"}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { AvatarViewProps } from '../avatarView';
|
|
2
|
+
import { AvatarLayoutProps } from '../avatarLayout';
|
|
3
|
+
import { ImageProps } from '../image/Image';
|
|
4
|
+
type SizeProp = {
|
|
5
|
+
size?: 32 | 40 | 48 | 56 | 72;
|
|
6
|
+
};
|
|
7
|
+
export type ItemAvatarViewProps = Omit<AvatarViewProps, 'size' | 'interactive'> & SizeProp;
|
|
8
|
+
export declare const AvatarView: ({ className, size, ...props }: ItemAvatarViewProps) => import("react").JSX.Element;
|
|
9
|
+
export type ItemAvatarLayoutProps = Omit<AvatarLayoutProps, 'size' | 'interactive'> & SizeProp;
|
|
10
|
+
export declare const AvatarLayout: ({ className, size, ...props }: ItemAvatarLayoutProps) => import("react").JSX.Element;
|
|
11
|
+
export type ItemImageProps = Omit<ImageProps, 'stretch' | 'shrink' | 'id' | 'alt'> & SizeProp & {
|
|
12
|
+
alt?: string;
|
|
13
|
+
};
|
|
14
|
+
/**
|
|
15
|
+
* TODO: mention that image is for rare cases not for DS illustrations, they discouraged
|
|
16
|
+
*/
|
|
17
|
+
export declare const Image: ({ alt, size, ...props }: ItemImageProps) => import("react").JSX.Element;
|
|
18
|
+
export {};
|
|
19
|
+
//# sourceMappingURL=ItemMedia.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ItemMedia.d.ts","sourceRoot":"","sources":["../../../src/item/ItemMedia.tsx"],"names":[],"mappings":"AAAA,OAAO,EAA6B,eAAe,EAAE,MAAM,eAAe,CAAC;AAC3E,OAAO,EAA+B,iBAAiB,EAAE,MAAM,iBAAiB,CAAC;AACjF,OAAO,EAAwB,UAAU,EAAE,MAAM,gBAAgB,CAAC;AAGlE,KAAK,QAAQ,GAAG;IAAE,IAAI,CAAC,EAAE,EAAE,GAAG,EAAE,GAAG,EAAE,GAAG,EAAE,GAAG,EAAE,CAAA;CAAE,CAAC;AAElD,MAAM,MAAM,mBAAmB,GAAG,IAAI,CAAC,eAAe,EAAE,MAAM,GAAG,aAAa,CAAC,GAAG,QAAQ,CAAC;AAE3F,eAAO,MAAM,UAAU,kCAAwC,mBAAmB,gCAQjF,CAAC;AAEF,MAAM,MAAM,qBAAqB,GAAG,IAAI,CAAC,iBAAiB,EAAE,MAAM,GAAG,aAAa,CAAC,GAAG,QAAQ,CAAC;AAE/F,eAAO,MAAM,YAAY,kCAAwC,qBAAqB,gCAQrF,CAAC;AAEF,MAAM,MAAM,cAAc,GAAG,IAAI,CAAC,UAAU,EAAE,SAAS,GAAG,QAAQ,GAAG,IAAI,GAAG,KAAK,CAAC,GAChF,QAAQ,GAAG;IACT,GAAG,CAAC,EAAE,MAAM,CAAC;CACd,CAAC;AAEJ;;GAEG;AACH,eAAO,MAAM,KAAK,4BAAuC,cAAc,gCAYtE,CAAC"}
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import { ButtonProps } from '../button/Button.types';
|
|
2
|
+
export type ItemNavigationProps = Pick<ButtonProps, 'onClick' | 'href'>;
|
|
3
|
+
export declare const Navigation: ({ onClick }: ItemNavigationProps) => import("react").JSX.Element;
|
|
4
|
+
//# sourceMappingURL=ItemNavigation.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ItemNavigation.d.ts","sourceRoot":"","sources":["../../../src/item/ItemNavigation.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,WAAW,EAAE,MAAM,wBAAwB,CAAC;AAIrD,MAAM,MAAM,mBAAmB,GAAG,IAAI,CAAC,WAAW,EAAE,SAAS,GAAG,MAAM,CAAC,CAAC;AAExE,eAAO,MAAM,UAAU,gBAAoC,mBAAmB,gCAQ7E,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ItemSwitch.d.ts","sourceRoot":"","sources":["../../../src/item/ItemSwitch.tsx"],"names":[],"mappings":"AACA,OAAO,EAAyB,WAAW,EAAE,MAAM,WAAW,CAAC;AAG/D,eAAO,MAAM,MAAM,UAAoB,WAAW,gCAQjD,CAAC"}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
export type { Props as ItemProps } from './Item';
|
|
2
|
+
export type { ItemAdditionalInfoProps } from './ItemAdditionalInfo';
|
|
3
|
+
export type { ItemCheckboxProps } from './ItemCheckbox';
|
|
4
|
+
export type { ItemImageProps, ItemAvatarViewProps, ItemAvatarLayoutProps } from './ItemMedia';
|
|
5
|
+
export { default } from './Item';
|
|
6
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/item/index.ts"],"names":[],"mappings":"AAAA,YAAY,EAAE,KAAK,IAAI,SAAS,EAAE,MAAM,QAAQ,CAAC;AACjD,YAAY,EAAE,uBAAuB,EAAE,MAAM,sBAAsB,CAAC;AACpE,YAAY,EAAE,iBAAiB,EAAE,MAAM,gBAAgB,CAAC;AACxD,YAAY,EAAE,cAAc,EAAE,mBAAmB,EAAE,qBAAqB,EAAE,MAAM,aAAa,CAAC;AAE9F,OAAO,EAAE,OAAO,EAAE,MAAM,QAAQ,CAAC"}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { Sentiment } from '../../common';
|
|
2
|
+
import { LinkProps } from '../../link';
|
|
3
|
+
export type ItemPromptProps = {
|
|
4
|
+
type: `${Sentiment.POSITIVE | Sentiment.NEGATIVE | Sentiment.NEUTRAL | Sentiment.WARNING}` | 'discount' | 'savings';
|
|
5
|
+
children: React.ReactNode;
|
|
6
|
+
action?: Pick<LinkProps, 'href' | 'target' | 'onClick'> & {
|
|
7
|
+
'aria-label'?: string;
|
|
8
|
+
};
|
|
9
|
+
};
|
|
10
|
+
export declare const ItemPrompt: ({ type, children, action }: ItemPromptProps) => import("react").JSX.Element;
|
|
11
|
+
export default ItemPrompt;
|
|
12
|
+
//# sourceMappingURL=Prompt.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Prompt.d.ts","sourceRoot":"","sources":["../../../../src/item/prompt/Prompt.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,SAAS,EAAE,MAAM,cAAc,CAAC;AAGzC,OAAO,EAAE,SAAS,EAAE,MAAM,YAAY,CAAC;AAGvC,MAAM,MAAM,eAAe,GAAG;IAC5B,IAAI,EACA,GAAG,SAAS,CAAC,QAAQ,GAAG,SAAS,CAAC,QAAQ,GAAG,SAAS,CAAC,OAAO,GAAG,SAAS,CAAC,OAAO,EAAE,GACpF,UAAU,GACV,SAAS,CAAC;IACd,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAC;IAC1B,MAAM,CAAC,EAAE,IAAI,CAAC,SAAS,EAAE,MAAM,GAAG,QAAQ,GAAG,SAAS,CAAC,GAAG;QAAE,YAAY,CAAC,EAAE,MAAM,CAAA;KAAE,CAAC;CACrF,CAAC;AAEF,eAAO,MAAM,UAAU,+BAAgC,eAAe,gCAyBrE,CAAC;AAEF,eAAe,UAAU,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"List.d.ts","sourceRoot":"","sources":["../../../src/listItem/List.tsx"],"names":[],"mappings":"AAEA,MAAM,WAAW,SAAS;IACxB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,QAAQ,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;CAC5B;AAED,wBAAgB,IAAI,CAAC,EAAE,SAAS,EAAE,QAAQ,EAAE,EAAE,SAAS,+BAEtD"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { ElementType, FC, ReactNode } from 'react';
|
|
2
|
-
export type
|
|
2
|
+
export type ListItemProps = {
|
|
3
3
|
title: ReactNode;
|
|
4
4
|
value: ReactNode;
|
|
5
5
|
media?: ReactNode;
|
|
@@ -8,6 +8,6 @@ export type LegacyListItemProps = {
|
|
|
8
8
|
isContainerAligned?: boolean;
|
|
9
9
|
as?: ElementType;
|
|
10
10
|
};
|
|
11
|
-
declare const
|
|
12
|
-
export default
|
|
13
|
-
//# sourceMappingURL=
|
|
11
|
+
declare const ListItem: FC<ListItemProps>;
|
|
12
|
+
export default ListItem;
|
|
13
|
+
//# sourceMappingURL=ListItem.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ListItem.d.ts","sourceRoot":"","sources":["../../../src/listItem/ListItem.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,WAAW,EAAE,EAAE,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAInD,MAAM,MAAM,aAAa,GAAG;IAC1B,KAAK,EAAE,SAAS,CAAC;IACjB,KAAK,EAAE,SAAS,CAAC;IACjB,KAAK,CAAC,EAAE,SAAS,CAAC;IAClB,MAAM,CAAC,EAAE,SAAS,CAAC;IACnB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,kBAAkB,CAAC,EAAE,OAAO,CAAC;IAC7B,EAAE,CAAC,EAAE,WAAW,CAAC;CAClB,CAAC;AAEF,QAAA,MAAM,QAAQ,EAAE,EAAE,CAAC,aAAa,CAmC/B,CAAC;AAEF,eAAe,QAAQ,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/listItem/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,IAAI,EAAE,MAAM,QAAQ,CAAC;AAC9B,YAAY,EAAE,SAAS,EAAE,MAAM,QAAQ,CAAC;AACxC,OAAO,EAAE,OAAO,EAAE,MAAM,YAAY,CAAC;AACrC,YAAY,EAAE,aAAa,EAAE,MAAM,YAAY,CAAC"}
|
|
@@ -1,4 +1,6 @@
|
|
|
1
|
+
export declare const lorem5 = "Lorem ipsum dolor sit amet.";
|
|
1
2
|
export declare const lorem10 = "Lorem ipsum, dolor sit amet consectetur adipisicing elit. Iste, architecto?";
|
|
3
|
+
export declare const lorem20 = "Lorem ipsum dolor sit amet consectetur adipisicing elit. Dolorum non explicabo doloribus rerum saepe ut beatae adipisci rem vero optio.";
|
|
2
4
|
export declare const lorem40 = "Lorem ipsum dolor sit amet consectetur, adipisicing elit. Illo esse quod et iure deserunt facilis similique voluptatem reprehenderit mollitia inventore, ab voluptate dignissimos autem repellat accusamus perferendis sed pariatur tempore possimus ipsam praesentium ipsum? Nesciunt cumque repellendus impedit aliquam! Error?";
|
|
3
5
|
export declare const lorem100 = "Lorem ipsum dolor, sit amet consectetur adipisicing elit. Ipsum quisquam fuga dolore veritatis assumenda rerum, non, sint aliquam, excepturi architecto temporibus quis? Quo, deleniti nobis, illo necessitatibus accusamus commodi error fuga culpa sequi, incidunt voluptatum tempore quisquam quos eos modi impedit sit! Eveniet libero optio assumenda rem accusantium quod quas, recusandae, incidunt mollitia harum dolorum. Dolor porro hic mollitia accusantium vel commodi, ipsam a suscipit iusto placeat numquam excepturi amet nostrum aliquid aperiam sequi deleniti asperiores fugit cumque ipsa voluptatem culpa non libero iste. Placeat rem dolore quisquam aperiam, eligendi facere quos minima totam a ut corporis culpa! Veniam, illo!";
|
|
4
6
|
export declare const lorem500 = "Lorem ipsum dolor sit amet consectetur adipisicing elit. Modi commodi eos placeat aut quidem et error ex qui. Reprehenderit animi officiis magnam dicta, alias eligendi facilis sit fuga suscipit qui voluptatibus, quam harum beatae omnis sint sapiente dolorum cum officia dignissimos ab ipsa, deleniti voluptates exercitationem tempore! Fugit consequuntur ullam, similique tenetur corporis laborum sed sint, necessitatibus natus voluptatem, eius eveniet placeat quos quaerat officia officiis magni reprehenderit eaque! Dolorum odio iste vitae magnam, voluptatum pariatur unde, quod at adipisci reprehenderit dignissimos id modi quaerat rerum et dolorem. Rerum ratione beatae, repudiandae temporibus ipsam accusamus deserunt! Maiores, eos nisi laboriosam soluta rem minus expedita repudiandae accusamus aperiam rerum facere ducimus voluptas! Rerum fugit eum quasi. At sapiente quaerat, similique inventore quia magni cupiditate molestias odio voluptate quasi culpa ullam sit unde veritatis ut dicta ad nihil veniam accusamus eveniet vel placeat minus numquam nostrum! Delectus quas adipisci debitis cumque doloremque, nobis, obcaecati dolorem commodi possimus nesciunt vero? Excepturi saepe explicabo dolorem facere itaque optio, totam tempore earum culpa fugit ullam officia maiores dolores facilis voluptate consequuntur a voluptas, asperiores obcaecati voluptatem. Rerum suscipit quod nulla harum illum sequi praesentium tenetur neque architecto, molestias earum! Necessitatibus, ullam molestiae voluptas, esse dolorem officiis aut, inventore dolore provident beatae error nesciunt incidunt neque quam molestias iusto minus rem nam. Eum, provident id. Molestias vitae ex sequi veritatis totam minima labore quasi eligendi nemo, ipsa accusamus eaque quae maiores eum ipsam inventore illo voluptatem sapiente velit, quos aspernatur commodi quibusdam. A expedita, adipisci aut voluptatum repellat fugit saepe accusamus debitis, quis dolorem, incidunt corrupti magni? Inventore nulla fugit quisquam dolorum temporibus corporis error voluptates? Impedit possimus provident a vero exercitationem doloribus est voluptatibus distinctio, ipsum iste sit repellat sapiente tenetur deleniti ullam dolorem soluta accusantium! Ab, placeat rerum explicabo corporis impedit quam quos veritatis expedita hic veniam harum qui dolor neque! Laboriosam officiis, dignissimos corporis, ducimus iure nemo quisquam pariatur molestias repellat aliquam tempore impedit dolore tempora eaque accusamus fugiat facilis dolor sint laborum molestiae sapiente deserunt quasi obcaecati! Veniam, doloribus! Unde, fugiat odit sunt facere maiores nobis tempora, natus quam consectetur deleniti nesciunt perferendis aut praesentium. Libero, neque cumque beatae recusandae qui repudiandae sunt quod dolorum nemo voluptates et culpa temporibus perferendis est expedita vel laboriosam! Accusamus incidunt consectetur delectus voluptate sunt repudiandae deleniti ut consequuntur, facilis assumenda nostrum soluta unde repellat reiciendis ipsum quidem quam numquam optio voluptates eius. Molestias quibusdam assumenda earum atque ullam delectus explicabo recusandae quasi aperiam, est placeat? Officia molestiae accusamus rem placeat adipisci officiis harum vel. Neque sit qui alias magni illum! Ipsam, necessitatibus unde sit possimus ipsum quis neque voluptate reprehenderit tempore nobis quo sunt molestiae atque rerum similique natus minus eum? Maiores aspernatur ut ullam eos vitae aperiam odit deleniti eveniet delectus totam harum iste, blanditiis ab laboriosam mollitia. Esse incidunt odit voluptate minus cum molestiae reprehenderit minima voluptatibus id. Molestias aliquid repellendus dolores cupiditate, nemo reiciendis ad facilis quo est, a error culpa similique libero dolor labore! Facere laborum cupiditate iste laboriosam culpa consectetur.";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"fake-data.d.ts","sourceRoot":"","sources":["../../../src/test-utils/fake-data.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,OAAO,gFAC2D,CAAC;AAEhF,eAAO,MAAM,OAAO,sUACiT,CAAC;AAEtU,eAAO,MAAM,QAAQ,+tBACysB,CAAC;AAE/tB,eAAO,MAAM,QAAQ,2uHACqtH,CAAC;AAE3uH,eAAO,MAAM,SAAS,28OACo7O,CAAC"}
|
|
1
|
+
{"version":3,"file":"fake-data.d.ts","sourceRoot":"","sources":["../../../src/test-utils/fake-data.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,MAAM,gCAAgC,CAAC;AAEpD,eAAO,MAAM,OAAO,gFAC2D,CAAC;AAEhF,eAAO,MAAM,OAAO,4IACuH,CAAC;AAE5I,eAAO,MAAM,OAAO,sUACiT,CAAC;AAEtU,eAAO,MAAM,QAAQ,+tBACysB,CAAC;AAE/tB,eAAO,MAAM,QAAQ,2uHACqtH,CAAC;AAE3uH,eAAO,MAAM,SAAS,28OACo7O,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@transferwise/components",
|
|
3
|
-
"version": "0.0.0-experimental-
|
|
3
|
+
"version": "0.0.0-experimental-1605d4e",
|
|
4
4
|
"description": "Neptune React components",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"repository": {
|
|
@@ -95,13 +95,13 @@
|
|
|
95
95
|
"rollup-preserve-directives": "^1.1.1",
|
|
96
96
|
"storybook": "^8.2.2",
|
|
97
97
|
"@transferwise/less-config": "3.1.1",
|
|
98
|
-
"@transferwise/neptune-css": "
|
|
98
|
+
"@transferwise/neptune-css": "0.0.0-experimental-1605d4e",
|
|
99
99
|
"@wise/components-theming": "1.6.2",
|
|
100
100
|
"@wise/wds-configs": "0.0.0"
|
|
101
101
|
},
|
|
102
102
|
"peerDependencies": {
|
|
103
103
|
"@transferwise/icons": "^3.21.0",
|
|
104
|
-
"@transferwise/neptune-css": "
|
|
104
|
+
"@transferwise/neptune-css": "0.0.0-experimental-1605d4e",
|
|
105
105
|
"@wise/art": "^2.16",
|
|
106
106
|
"@wise/components-theming": "^1.0.0",
|
|
107
107
|
"react": ">=18",
|