@transferwise/components 0.0.0-experimental-850e2db → 0.0.0-experimental-308f971
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/dateInput/DateInput.js +4 -4
- package/build/dateInput/DateInput.js.map +1 -1
- package/build/dateInput/DateInput.mjs +4 -4
- package/build/dateInput/DateInput.mjs.map +1 -1
- package/build/index.js +0 -1
- package/build/index.js.map +1 -1
- package/build/index.mjs +1 -1
- package/build/main.css +13 -213
- package/build/styles/dateInput/DateInput.css +13 -1
- package/build/styles/main.css +13 -213
- package/build/types/index.d.ts +0 -2
- package/build/types/index.d.ts.map +1 -1
- package/package.json +2 -2
- package/src/dateInput/DateInput.css +13 -1
- package/src/dateInput/DateInput.less +20 -3
- package/src/dateInput/DateInput.tests.story.tsx +14 -2
- package/src/dateInput/DateInput.tsx +4 -4
- package/src/index.ts +0 -2
- package/src/main.css +13 -213
- package/src/main.less +0 -1
- package/build/styles/listItem/ListItem.css +0 -212
- package/build/types/listItem/ListItem.d.ts +0 -50
- package/build/types/listItem/ListItem.d.ts.map +0 -1
- package/build/types/listItem/ListItemAdditionalInfo.d.ts +0 -9
- package/build/types/listItem/ListItemAdditionalInfo.d.ts.map +0 -1
- package/build/types/listItem/ListItemButton.d.ts +0 -6
- package/build/types/listItem/ListItemButton.d.ts.map +0 -1
- package/build/types/listItem/ListItemCheckbox.d.ts +0 -4
- package/build/types/listItem/ListItemCheckbox.d.ts.map +0 -1
- package/build/types/listItem/ListItemIconButton.d.ts +0 -8
- package/build/types/listItem/ListItemIconButton.d.ts.map +0 -1
- package/build/types/listItem/ListItemMedia.d.ts +0 -19
- package/build/types/listItem/ListItemMedia.d.ts.map +0 -1
- package/build/types/listItem/ListItemNavigation.d.ts +0 -4
- package/build/types/listItem/ListItemNavigation.d.ts.map +0 -1
- package/build/types/listItem/ListItemSwitch.d.ts +0 -3
- package/build/types/listItem/ListItemSwitch.d.ts.map +0 -1
- package/build/types/listItem/index.d.ts +0 -6
- package/build/types/listItem/index.d.ts.map +0 -1
- package/build/types/listItem/prompt/Prompt.d.ts +0 -12
- package/build/types/listItem/prompt/Prompt.d.ts.map +0 -1
- package/build/types/listItem/useItemControl.d.ts +0 -5
- package/build/types/listItem/useItemControl.d.ts.map +0 -1
- package/src/listItem/ListItem.css +0 -212
- package/src/listItem/ListItem.less +0 -210
- package/src/listItem/ListItem.spec.tsx +0 -35
- package/src/listItem/ListItem.story.tsx +0 -461
- package/src/listItem/ListItem.tsx +0 -282
- package/src/listItem/ListItemAdditionalInfo.tsx +0 -31
- package/src/listItem/ListItemButton.spec.tsx +0 -92
- package/src/listItem/ListItemButton.tsx +0 -24
- package/src/listItem/ListItemCheckbox.tsx +0 -14
- package/src/listItem/ListItemIconButton.tsx +0 -16
- package/src/listItem/ListItemMedia.tsx +0 -52
- package/src/listItem/ListItemNavigation.tsx +0 -23
- package/src/listItem/ListItemSwitch.tsx +0 -8
- package/src/listItem/index.ts +0 -10
- package/src/listItem/prompt/Prompt.spec.tsx +0 -77
- package/src/listItem/prompt/Prompt.story.tsx +0 -170
- package/src/listItem/prompt/Prompt.tsx +0 -44
- package/src/listItem/useItemControl.tsx +0 -23
package/build/styles/main.css
CHANGED
|
@@ -1866,10 +1866,22 @@ button.np-option {
|
|
|
1866
1866
|
border-color: rgba(0,0,0,0.10196);
|
|
1867
1867
|
border-color: var(--color-border-neutral);
|
|
1868
1868
|
}
|
|
1869
|
-
.
|
|
1869
|
+
.tw-date label {
|
|
1870
1870
|
width: 100%;
|
|
1871
|
+
}
|
|
1872
|
+
.tw-date .tw-date--year label {
|
|
1873
|
+
margin-bottom: 0;
|
|
1874
|
+
}
|
|
1875
|
+
.tw-date .tw-date--year,
|
|
1876
|
+
.tw-date .tw-date--month,
|
|
1877
|
+
.tw-date .tw-date--day {
|
|
1871
1878
|
margin-bottom: 0;
|
|
1872
1879
|
}
|
|
1880
|
+
@media (min-width: 576px) {
|
|
1881
|
+
.np-theme-personal .tw-date label {
|
|
1882
|
+
margin-bottom: 0;
|
|
1883
|
+
}
|
|
1884
|
+
}
|
|
1873
1885
|
.tw-date-lookup-menu {
|
|
1874
1886
|
width: 400px;
|
|
1875
1887
|
}
|
|
@@ -2618,218 +2630,6 @@ html:not([dir="rtl"]) .np-flow-navigation--sm .np-flow-navigation__stepper {
|
|
|
2618
2630
|
border-radius: 9999px !important;
|
|
2619
2631
|
border-radius: var(--radius-full) !important;
|
|
2620
2632
|
}
|
|
2621
|
-
.wds-list-item {
|
|
2622
|
-
list-style: none;
|
|
2623
|
-
width: 100%;
|
|
2624
|
-
padding: 0;
|
|
2625
|
-
border-radius: 16px;
|
|
2626
|
-
border-radius: var(--radius-medium);
|
|
2627
|
-
background-color: #ffffff;
|
|
2628
|
-
background-color: var(--color-background-screen);
|
|
2629
|
-
gap: 16px;
|
|
2630
|
-
gap: var(--size-16);
|
|
2631
|
-
}
|
|
2632
|
-
.wds-list-item .partially-interactive {
|
|
2633
|
-
padding: 16px;
|
|
2634
|
-
padding: var(--size-16);
|
|
2635
|
-
}
|
|
2636
|
-
.wds-list-item label,
|
|
2637
|
-
.wds-list-item a {
|
|
2638
|
-
padding: 16px;
|
|
2639
|
-
padding: var(--size-16);
|
|
2640
|
-
}
|
|
2641
|
-
.wds-list-item-interactive label {
|
|
2642
|
-
cursor: pointer;
|
|
2643
|
-
}
|
|
2644
|
-
.wds-list-item-interactive:hover {
|
|
2645
|
-
background-color: var(--color-background-screen-hover);
|
|
2646
|
-
}
|
|
2647
|
-
.wds-list-item-interactive:hover .wds-list-item-control .wds-Button {
|
|
2648
|
-
background-color: var(--Button-background-hover);
|
|
2649
|
-
color: var(--Button-color-hover);
|
|
2650
|
-
transition: none;
|
|
2651
|
-
}
|
|
2652
|
-
.wds-list-item-interactive:active {
|
|
2653
|
-
background-color: var(--color-background-screen-active);
|
|
2654
|
-
}
|
|
2655
|
-
.wds-list-item-interactive .wds-list-item-control .wds-Button {
|
|
2656
|
-
transition: none;
|
|
2657
|
-
}
|
|
2658
|
-
.wds-list-item-media-image {
|
|
2659
|
-
width: var(--item-media-image-size);
|
|
2660
|
-
height: var(--item-media-image-size);
|
|
2661
|
-
}
|
|
2662
|
-
.wds-list-item-body {
|
|
2663
|
-
width: 100%;
|
|
2664
|
-
}
|
|
2665
|
-
.wds-list-item-title {
|
|
2666
|
-
color: #37517e;
|
|
2667
|
-
color: var(--color-content-primary);
|
|
2668
|
-
}
|
|
2669
|
-
.wds-list-item-additional-info {
|
|
2670
|
-
color: #768e9c;
|
|
2671
|
-
color: var(--color-content-tertiary);
|
|
2672
|
-
}
|
|
2673
|
-
.wds-list-item-value {
|
|
2674
|
-
flex: 0 0 auto;
|
|
2675
|
-
}
|
|
2676
|
-
.wds-list-item-control {
|
|
2677
|
-
flex: 0 0 auto;
|
|
2678
|
-
}
|
|
2679
|
-
.wds-list-item-navigation,
|
|
2680
|
-
.wds-list-item-navigation:hover,
|
|
2681
|
-
.wds-list-item-navigation:focus {
|
|
2682
|
-
-webkit-text-decoration: none;
|
|
2683
|
-
text-decoration: none;
|
|
2684
|
-
}
|
|
2685
|
-
.wds-list-item-spotlight-active {
|
|
2686
|
-
background-color: rgba(134,167,189,0.10196);
|
|
2687
|
-
background-color: var(--color-background-neutral);
|
|
2688
|
-
}
|
|
2689
|
-
.wds-list-item-spotlight-active:not(.disabled):not(:disabled):hover {
|
|
2690
|
-
background-color: var(--color-background-neutral-hover);
|
|
2691
|
-
}
|
|
2692
|
-
.wds-list-item-spotlight-active:not(.disabled):not(:disabled):active {
|
|
2693
|
-
background-color: var(--color-background-neutral-active);
|
|
2694
|
-
}
|
|
2695
|
-
.wds-list-item-spotlight-inactive {
|
|
2696
|
-
background-color: rgba(134, 167, 189, 0.025);
|
|
2697
|
-
border: 1px dashed rgba(0,0,0,0.10196);
|
|
2698
|
-
border: 1px dashed var(--color-border-neutral);
|
|
2699
|
-
}
|
|
2700
|
-
@supports (color: color-mix(in lch, red, blue)) {
|
|
2701
|
-
.wds-list-item-spotlight-inactive {
|
|
2702
|
-
background-color: color-mix(in srgb, var(--color-background-neutral) 25%, transparent);
|
|
2703
|
-
}
|
|
2704
|
-
}
|
|
2705
|
-
.wds-list-item-spotlight-inactive:not(.disabled):not(:disabled):hover {
|
|
2706
|
-
background-color: color-mix(in srgb, var(--color-background-neutral-hover) 25%, transparent);
|
|
2707
|
-
}
|
|
2708
|
-
.wds-list-item-spotlight-inactive:not(.disabled):not(:disabled):active {
|
|
2709
|
-
background-color: color-mix(in srgb, var(--color-background-neutral-active) 25%, transparent);
|
|
2710
|
-
}
|
|
2711
|
-
.wds-list-item-prompt {
|
|
2712
|
-
display: inline-flex;
|
|
2713
|
-
padding-top: calc(8px / 2);
|
|
2714
|
-
padding-top: calc(var(--padding-x-small) / 2);
|
|
2715
|
-
padding-bottom: calc(8px / 2);
|
|
2716
|
-
padding-bottom: calc(var(--padding-x-small) / 2);
|
|
2717
|
-
padding-left: calc(8px - 1px);
|
|
2718
|
-
padding-left: calc(var(--padding-x-small) - 1px);
|
|
2719
|
-
padding-right: 8px;
|
|
2720
|
-
padding-right: var(--padding-x-small);
|
|
2721
|
-
border-radius: 10px;
|
|
2722
|
-
border-radius: var(--radius-small);
|
|
2723
|
-
word-break: break-word;
|
|
2724
|
-
word-wrap: break-word;
|
|
2725
|
-
}
|
|
2726
|
-
.wds-list-item-prompt .np-prompt-icon {
|
|
2727
|
-
padding-right: calc(12px / 2);
|
|
2728
|
-
padding-right: calc(var(--size-12) / 2);
|
|
2729
|
-
padding-top: calc(4px - 1px);
|
|
2730
|
-
padding-top: calc(var(--size-4) - 1px);
|
|
2731
|
-
padding-bottom: calc(4px - 1px);
|
|
2732
|
-
padding-bottom: calc(var(--size-4) - 1px);
|
|
2733
|
-
}
|
|
2734
|
-
.wds-list-item-prompt .np-prompt-icon .tw-icon-tags,
|
|
2735
|
-
.wds-list-item-prompt .np-prompt-icon .tw-icon-confetti {
|
|
2736
|
-
color: var(--color-sentiment-positive-primary);
|
|
2737
|
-
}
|
|
2738
|
-
.wds-list-item-prompt a {
|
|
2739
|
-
text-underline-offset: calc(4px / 2);
|
|
2740
|
-
text-underline-offset: calc(var(--size-4) / 2);
|
|
2741
|
-
}
|
|
2742
|
-
.wds-list-item-prompt.np-prompt-interactive {
|
|
2743
|
-
-webkit-text-decoration: none;
|
|
2744
|
-
text-decoration: none;
|
|
2745
|
-
cursor: pointer;
|
|
2746
|
-
border: none;
|
|
2747
|
-
}
|
|
2748
|
-
.wds-list-item-prompt.negative {
|
|
2749
|
-
background-color: var(--color-sentiment-negative-secondary);
|
|
2750
|
-
color: var(--color-sentiment-negative-primary);
|
|
2751
|
-
}
|
|
2752
|
-
.wds-list-item-prompt.negative a {
|
|
2753
|
-
color: var(--color-sentiment-negative-primary);
|
|
2754
|
-
}
|
|
2755
|
-
.wds-list-item-prompt.negative a:hover {
|
|
2756
|
-
color: var(--color-sentiment-negative-primary-hover);
|
|
2757
|
-
}
|
|
2758
|
-
.wds-list-item-prompt.negative a:active {
|
|
2759
|
-
color: var(--color-sentiment-negative-primary-active);
|
|
2760
|
-
}
|
|
2761
|
-
.np-prompt-interactive.wds-list-item-prompt.negative:hover {
|
|
2762
|
-
background-color: color-mix(in srgb, var(--color-sentiment-negative-secondary) 95%, var(--color-sentiment-negative-primary));
|
|
2763
|
-
}
|
|
2764
|
-
.np-prompt-interactive.wds-list-item-prompt.negative:active {
|
|
2765
|
-
background-color: color-mix(in srgb, var(--color-sentiment-negative-secondary) 90%, var(--color-sentiment-negative-primary));
|
|
2766
|
-
}
|
|
2767
|
-
.wds-list-item-prompt.positive,
|
|
2768
|
-
.wds-list-item-prompt.discount,
|
|
2769
|
-
.wds-list-item-prompt.savings {
|
|
2770
|
-
background-color: var(--color-sentiment-positive-secondary);
|
|
2771
|
-
color: var(--color-sentiment-positive-primary);
|
|
2772
|
-
}
|
|
2773
|
-
.wds-list-item-prompt.positive a,
|
|
2774
|
-
.wds-list-item-prompt.discount a,
|
|
2775
|
-
.wds-list-item-prompt.savings a {
|
|
2776
|
-
color: var(--color-sentiment-positive-primary);
|
|
2777
|
-
}
|
|
2778
|
-
.wds-list-item-prompt.positive a:hover,
|
|
2779
|
-
.wds-list-item-prompt.discount a:hover,
|
|
2780
|
-
.wds-list-item-prompt.savings a:hover {
|
|
2781
|
-
color: var(--color-sentiment-positive-primary-hover);
|
|
2782
|
-
}
|
|
2783
|
-
.wds-list-item-prompt.positive a:active,
|
|
2784
|
-
.wds-list-item-prompt.discount a:active,
|
|
2785
|
-
.wds-list-item-prompt.savings a:active {
|
|
2786
|
-
color: var(--color-sentiment-positive-primary-active);
|
|
2787
|
-
}
|
|
2788
|
-
.np-prompt-interactive.wds-list-item-prompt.positive:hover,
|
|
2789
|
-
.np-prompt-interactive.wds-list-item-prompt.discount:hover,
|
|
2790
|
-
.np-prompt-interactive.wds-list-item-prompt.savings:hover {
|
|
2791
|
-
background-color: color-mix(in srgb, var(--color-sentiment-positive-secondary) 95%, var(--color-sentiment-positive-primary));
|
|
2792
|
-
}
|
|
2793
|
-
.np-prompt-interactive.wds-list-item-prompt.positive:active,
|
|
2794
|
-
.np-prompt-interactive.wds-list-item-prompt.discount:active,
|
|
2795
|
-
.np-prompt-interactive.wds-list-item-prompt.savings:active {
|
|
2796
|
-
background-color: color-mix(in srgb, var(--color-sentiment-positive-secondary) 90%, var(--color-sentiment-positive-primary));
|
|
2797
|
-
}
|
|
2798
|
-
.wds-list-item-prompt.neutral {
|
|
2799
|
-
background-color: rgba(134,167,189,0.10196);
|
|
2800
|
-
background-color: var(--color-background-neutral);
|
|
2801
|
-
color: #37517e;
|
|
2802
|
-
color: var(--color-content-primary);
|
|
2803
|
-
}
|
|
2804
|
-
.wds-list-item-prompt.neutral a {
|
|
2805
|
-
color: #37517e;
|
|
2806
|
-
color: var(--color-content-primary);
|
|
2807
|
-
}
|
|
2808
|
-
.np-prompt-interactive.wds-list-item-prompt.neutral:hover {
|
|
2809
|
-
background-color: var(--color-background-neutral-hover);
|
|
2810
|
-
}
|
|
2811
|
-
.np-prompt-interactive.wds-list-item-prompt.neutral:active {
|
|
2812
|
-
background-color: var(--color-background-neutral-active);
|
|
2813
|
-
}
|
|
2814
|
-
.wds-list-item-prompt.warning {
|
|
2815
|
-
background-color: var(--color-sentiment-warning-secondary);
|
|
2816
|
-
color: var(--color-sentiment-warning-content);
|
|
2817
|
-
}
|
|
2818
|
-
.wds-list-item-prompt.warning a {
|
|
2819
|
-
color: var(--color-sentiment-warning-content);
|
|
2820
|
-
}
|
|
2821
|
-
.wds-list-item-prompt.warning a:hover {
|
|
2822
|
-
color: var(--color-sentiment-warning-content-hover);
|
|
2823
|
-
}
|
|
2824
|
-
.wds-list-item-prompt.warning a:active {
|
|
2825
|
-
color: var(--color-sentiment-warning-content-active);
|
|
2826
|
-
}
|
|
2827
|
-
.np-prompt-interactive.wds-list-item-prompt.warning:hover {
|
|
2828
|
-
background-color: color-mix(in srgb, var(--color-sentiment-warning-secondary) 90%, var(--color-sentiment-warning-primary));
|
|
2829
|
-
}
|
|
2830
|
-
.np-prompt-interactive.wds-list-item-prompt.warning:active {
|
|
2831
|
-
background-color: color-mix(in srgb, var(--color-sentiment-warning-secondary) 80%, var(--color-sentiment-warning-primary));
|
|
2832
|
-
}
|
|
2833
2633
|
.np-field-control {
|
|
2834
2634
|
margin-top: 4px;
|
|
2835
2635
|
margin-top: var(--size-4);
|
package/build/types/index.d.ts
CHANGED
|
@@ -71,7 +71,6 @@ export type { UploadError, UploadResponse, UploadedFile } from './uploadInput/ty
|
|
|
71
71
|
export type { WithIdProps } from './withId';
|
|
72
72
|
export type { IconButtonProps } from './iconButton';
|
|
73
73
|
export type { TableProps, TableRowType, TableRowClickableType, TableHeaderType, TableCellLeading, TableCellText, TableCellCurrency, TableCellStatus, TableCellType, } from './table';
|
|
74
|
-
export type { ListItemProps, ListItemAdditionalInfoProps, ListItemCheckboxProps } from './listItem';
|
|
75
74
|
/**
|
|
76
75
|
* Components
|
|
77
76
|
*/
|
|
@@ -168,7 +167,6 @@ export { default as Typeahead } from './typeahead';
|
|
|
168
167
|
export { default as Upload } from './upload';
|
|
169
168
|
export { default as UploadInput } from './uploadInput';
|
|
170
169
|
export { default as Table } from './table';
|
|
171
|
-
export { default as Item } from './table';
|
|
172
170
|
/**
|
|
173
171
|
* Hooks
|
|
174
172
|
*/
|
|
@@ -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,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,EAAE,mBAAmB,EAAE,MAAM,kBAAkB,CAAC;AAC5D,YAAY,EACV,SAAS,EACT,YAAY,EACZ,eAAe,EACf,SAAS,EACT,UAAU,EACV,eAAe,GAChB,MAAM,UAAU,CAAC;AAClB,YAAY,EAAE,gBAAgB,EAAE,MAAM,sBAAsB,CAAC;AAC7D,YAAY,EAAE,cAAc,EAAE,MAAM,aAAa,CAAC;AAClD,YAAY,EAAE,eAAe,EAAE,MAAM,cAAc,CAAC;AACpD,YAAY,EAAE,aAAa,EAAE,MAA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ACV,OAAO,EACP,KAAK,GACN,MAAM,UAAU,CAAC;AAClB,OAAO,EAAE,oBAAoB,EAAE,YAAY,EAAE,MAAM,YAAY,CAAC;AAChE,OAAO,EAAE,gBAAgB,EAAE,MAAM,QAAQ,CAAC;AAC1C,OAAO,EAAE,QAAQ,EAAE,MAAM,QAAQ,CAAC;AAClC,OAAO,EAAE,UAAU,EAAE,MAAM,UAAU,CAAC;AAEtC;;GAEG;AACH,OAAO,EACL,YAAY,EACZ,cAAc,EACd,aAAa,EACb,mBAAmB,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"}
|
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-308f971",
|
|
4
4
|
"description": "Neptune React components",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"repository": {
|
|
@@ -91,8 +91,8 @@
|
|
|
91
91
|
"rollup": "^4.41.1",
|
|
92
92
|
"rollup-preserve-directives": "^1.1.3",
|
|
93
93
|
"storybook": "^8.6.14",
|
|
94
|
-
"@transferwise/neptune-css": "14.24.4",
|
|
95
94
|
"@transferwise/less-config": "3.1.2",
|
|
95
|
+
"@transferwise/neptune-css": "14.24.4",
|
|
96
96
|
"@wise/components-theming": "1.6.3",
|
|
97
97
|
"@wise/wds-configs": "0.0.0"
|
|
98
98
|
},
|
|
@@ -1,4 +1,16 @@
|
|
|
1
|
-
.
|
|
1
|
+
.tw-date label {
|
|
2
2
|
width: 100%;
|
|
3
|
+
}
|
|
4
|
+
.tw-date .tw-date--year label {
|
|
5
|
+
margin-bottom: 0;
|
|
6
|
+
}
|
|
7
|
+
.tw-date .tw-date--year,
|
|
8
|
+
.tw-date .tw-date--month,
|
|
9
|
+
.tw-date .tw-date--day {
|
|
3
10
|
margin-bottom: 0;
|
|
4
11
|
}
|
|
12
|
+
@media (min-width: 576px) {
|
|
13
|
+
.np-theme-personal .tw-date label {
|
|
14
|
+
margin-bottom: 0;
|
|
15
|
+
}
|
|
16
|
+
}
|
|
@@ -1,8 +1,25 @@
|
|
|
1
|
-
.
|
|
2
|
-
|
|
1
|
+
.tw-date {
|
|
2
|
+
label {
|
|
3
|
+
width: 100%;
|
|
4
|
+
}
|
|
5
|
+
.tw-date--year {
|
|
3
6
|
label {
|
|
4
|
-
width: 100%;
|
|
5
7
|
margin-bottom: 0;
|
|
6
8
|
}
|
|
7
9
|
}
|
|
10
|
+
.tw-date--year,
|
|
11
|
+
.tw-date--month,
|
|
12
|
+
.tw-date--day {
|
|
13
|
+
margin-bottom: 0;
|
|
14
|
+
}
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
@media (--screen-sm) {
|
|
18
|
+
.np-theme-personal {
|
|
19
|
+
.tw-date {
|
|
20
|
+
label {
|
|
21
|
+
margin-bottom: 0;
|
|
22
|
+
}
|
|
23
|
+
}
|
|
24
|
+
}
|
|
8
25
|
}
|
|
@@ -50,9 +50,21 @@ export const WithLabel: Story = {
|
|
|
50
50
|
export const InputError: Story = {
|
|
51
51
|
...Basic,
|
|
52
52
|
render: (args) => (
|
|
53
|
-
|
|
53
|
+
<>
|
|
54
|
+
pure date input:
|
|
54
55
|
<DateInput {...args} value={new Date('2010-04-05')} />
|
|
55
|
-
|
|
56
|
+
<div className="p-b-3">show padding right below</div>
|
|
57
|
+
date input wrapped in Field:
|
|
58
|
+
<Field>
|
|
59
|
+
<DateInput {...args} value={new Date('2010-04-05')} />
|
|
60
|
+
</Field>
|
|
61
|
+
<div className="p-b-3">show padding right below</div>
|
|
62
|
+
error date input wrapped in Field:
|
|
63
|
+
<Field sentiment="negative" message={lorem10}>
|
|
64
|
+
<DateInput {...args} value={new Date('2010-04-05')} />
|
|
65
|
+
</Field>
|
|
66
|
+
<div className="p-b-3">show padding right below</div>
|
|
67
|
+
</>
|
|
56
68
|
),
|
|
57
69
|
};
|
|
58
70
|
|
|
@@ -242,8 +242,8 @@ const DateInput = ({
|
|
|
242
242
|
const monthYearOnly = mode === DateMode.MONTH_YEAR;
|
|
243
243
|
|
|
244
244
|
const monthWidth = clsx({
|
|
245
|
-
'col-sm-8': monthYearOnly,
|
|
246
|
-
'col-sm-5': !monthYearOnly,
|
|
245
|
+
'col-sm-8 tw-date--month': monthYearOnly,
|
|
246
|
+
'col-sm-5 tw-date--month': !monthYearOnly,
|
|
247
247
|
});
|
|
248
248
|
|
|
249
249
|
const getMonth = () => {
|
|
@@ -252,7 +252,7 @@ const DateInput = ({
|
|
|
252
252
|
|
|
253
253
|
const getDay = () => {
|
|
254
254
|
return (
|
|
255
|
-
<div className="col-sm-3">
|
|
255
|
+
<div className="col-sm-3 tw-date--day">
|
|
256
256
|
<label>
|
|
257
257
|
<Body type={Typography.BODY_DEFAULT}>{dayLabel}</Body>
|
|
258
258
|
<div className={`input-group input-group-${size}`}>
|
|
@@ -279,7 +279,7 @@ const DateInput = ({
|
|
|
279
279
|
|
|
280
280
|
const getYear = () => {
|
|
281
281
|
return (
|
|
282
|
-
<div className="col-sm-4">
|
|
282
|
+
<div className="col-sm-4 tw-date--year">
|
|
283
283
|
<label>
|
|
284
284
|
<Body type={Typography.BODY_DEFAULT}>{yearLabel}</Body>
|
|
285
285
|
<div className={`input-group input-group-${size}`}>
|
package/src/index.ts
CHANGED
|
@@ -108,7 +108,6 @@ export type {
|
|
|
108
108
|
TableCellStatus,
|
|
109
109
|
TableCellType,
|
|
110
110
|
} from './table';
|
|
111
|
-
export type { ListItemProps, ListItemAdditionalInfoProps, ListItemCheckboxProps } from './listItem';
|
|
112
111
|
|
|
113
112
|
/**
|
|
114
113
|
* Components
|
|
@@ -210,7 +209,6 @@ export { default as Typeahead } from './typeahead';
|
|
|
210
209
|
export { default as Upload } from './upload';
|
|
211
210
|
export { default as UploadInput } from './uploadInput';
|
|
212
211
|
export { default as Table } from './table';
|
|
213
|
-
export { default as Item } from './table';
|
|
214
212
|
|
|
215
213
|
/**
|
|
216
214
|
* Hooks
|
package/src/main.css
CHANGED
|
@@ -1866,10 +1866,22 @@ button.np-option {
|
|
|
1866
1866
|
border-color: rgba(0,0,0,0.10196);
|
|
1867
1867
|
border-color: var(--color-border-neutral);
|
|
1868
1868
|
}
|
|
1869
|
-
.
|
|
1869
|
+
.tw-date label {
|
|
1870
1870
|
width: 100%;
|
|
1871
|
+
}
|
|
1872
|
+
.tw-date .tw-date--year label {
|
|
1873
|
+
margin-bottom: 0;
|
|
1874
|
+
}
|
|
1875
|
+
.tw-date .tw-date--year,
|
|
1876
|
+
.tw-date .tw-date--month,
|
|
1877
|
+
.tw-date .tw-date--day {
|
|
1871
1878
|
margin-bottom: 0;
|
|
1872
1879
|
}
|
|
1880
|
+
@media (min-width: 576px) {
|
|
1881
|
+
.np-theme-personal .tw-date label {
|
|
1882
|
+
margin-bottom: 0;
|
|
1883
|
+
}
|
|
1884
|
+
}
|
|
1873
1885
|
.tw-date-lookup-menu {
|
|
1874
1886
|
width: 400px;
|
|
1875
1887
|
}
|
|
@@ -2618,218 +2630,6 @@ html:not([dir="rtl"]) .np-flow-navigation--sm .np-flow-navigation__stepper {
|
|
|
2618
2630
|
border-radius: 9999px !important;
|
|
2619
2631
|
border-radius: var(--radius-full) !important;
|
|
2620
2632
|
}
|
|
2621
|
-
.wds-list-item {
|
|
2622
|
-
list-style: none;
|
|
2623
|
-
width: 100%;
|
|
2624
|
-
padding: 0;
|
|
2625
|
-
border-radius: 16px;
|
|
2626
|
-
border-radius: var(--radius-medium);
|
|
2627
|
-
background-color: #ffffff;
|
|
2628
|
-
background-color: var(--color-background-screen);
|
|
2629
|
-
gap: 16px;
|
|
2630
|
-
gap: var(--size-16);
|
|
2631
|
-
}
|
|
2632
|
-
.wds-list-item .partially-interactive {
|
|
2633
|
-
padding: 16px;
|
|
2634
|
-
padding: var(--size-16);
|
|
2635
|
-
}
|
|
2636
|
-
.wds-list-item label,
|
|
2637
|
-
.wds-list-item a {
|
|
2638
|
-
padding: 16px;
|
|
2639
|
-
padding: var(--size-16);
|
|
2640
|
-
}
|
|
2641
|
-
.wds-list-item-interactive label {
|
|
2642
|
-
cursor: pointer;
|
|
2643
|
-
}
|
|
2644
|
-
.wds-list-item-interactive:hover {
|
|
2645
|
-
background-color: var(--color-background-screen-hover);
|
|
2646
|
-
}
|
|
2647
|
-
.wds-list-item-interactive:hover .wds-list-item-control .wds-Button {
|
|
2648
|
-
background-color: var(--Button-background-hover);
|
|
2649
|
-
color: var(--Button-color-hover);
|
|
2650
|
-
transition: none;
|
|
2651
|
-
}
|
|
2652
|
-
.wds-list-item-interactive:active {
|
|
2653
|
-
background-color: var(--color-background-screen-active);
|
|
2654
|
-
}
|
|
2655
|
-
.wds-list-item-interactive .wds-list-item-control .wds-Button {
|
|
2656
|
-
transition: none;
|
|
2657
|
-
}
|
|
2658
|
-
.wds-list-item-media-image {
|
|
2659
|
-
width: var(--item-media-image-size);
|
|
2660
|
-
height: var(--item-media-image-size);
|
|
2661
|
-
}
|
|
2662
|
-
.wds-list-item-body {
|
|
2663
|
-
width: 100%;
|
|
2664
|
-
}
|
|
2665
|
-
.wds-list-item-title {
|
|
2666
|
-
color: #37517e;
|
|
2667
|
-
color: var(--color-content-primary);
|
|
2668
|
-
}
|
|
2669
|
-
.wds-list-item-additional-info {
|
|
2670
|
-
color: #768e9c;
|
|
2671
|
-
color: var(--color-content-tertiary);
|
|
2672
|
-
}
|
|
2673
|
-
.wds-list-item-value {
|
|
2674
|
-
flex: 0 0 auto;
|
|
2675
|
-
}
|
|
2676
|
-
.wds-list-item-control {
|
|
2677
|
-
flex: 0 0 auto;
|
|
2678
|
-
}
|
|
2679
|
-
.wds-list-item-navigation,
|
|
2680
|
-
.wds-list-item-navigation:hover,
|
|
2681
|
-
.wds-list-item-navigation:focus {
|
|
2682
|
-
-webkit-text-decoration: none;
|
|
2683
|
-
text-decoration: none;
|
|
2684
|
-
}
|
|
2685
|
-
.wds-list-item-spotlight-active {
|
|
2686
|
-
background-color: rgba(134,167,189,0.10196);
|
|
2687
|
-
background-color: var(--color-background-neutral);
|
|
2688
|
-
}
|
|
2689
|
-
.wds-list-item-spotlight-active:not(.disabled):not(:disabled):hover {
|
|
2690
|
-
background-color: var(--color-background-neutral-hover);
|
|
2691
|
-
}
|
|
2692
|
-
.wds-list-item-spotlight-active:not(.disabled):not(:disabled):active {
|
|
2693
|
-
background-color: var(--color-background-neutral-active);
|
|
2694
|
-
}
|
|
2695
|
-
.wds-list-item-spotlight-inactive {
|
|
2696
|
-
background-color: rgba(134, 167, 189, 0.025);
|
|
2697
|
-
border: 1px dashed rgba(0,0,0,0.10196);
|
|
2698
|
-
border: 1px dashed var(--color-border-neutral);
|
|
2699
|
-
}
|
|
2700
|
-
@supports (color: color-mix(in lch, red, blue)) {
|
|
2701
|
-
.wds-list-item-spotlight-inactive {
|
|
2702
|
-
background-color: color-mix(in srgb, var(--color-background-neutral) 25%, transparent);
|
|
2703
|
-
}
|
|
2704
|
-
}
|
|
2705
|
-
.wds-list-item-spotlight-inactive:not(.disabled):not(:disabled):hover {
|
|
2706
|
-
background-color: color-mix(in srgb, var(--color-background-neutral-hover) 25%, transparent);
|
|
2707
|
-
}
|
|
2708
|
-
.wds-list-item-spotlight-inactive:not(.disabled):not(:disabled):active {
|
|
2709
|
-
background-color: color-mix(in srgb, var(--color-background-neutral-active) 25%, transparent);
|
|
2710
|
-
}
|
|
2711
|
-
.wds-list-item-prompt {
|
|
2712
|
-
display: inline-flex;
|
|
2713
|
-
padding-top: calc(8px / 2);
|
|
2714
|
-
padding-top: calc(var(--padding-x-small) / 2);
|
|
2715
|
-
padding-bottom: calc(8px / 2);
|
|
2716
|
-
padding-bottom: calc(var(--padding-x-small) / 2);
|
|
2717
|
-
padding-left: calc(8px - 1px);
|
|
2718
|
-
padding-left: calc(var(--padding-x-small) - 1px);
|
|
2719
|
-
padding-right: 8px;
|
|
2720
|
-
padding-right: var(--padding-x-small);
|
|
2721
|
-
border-radius: 10px;
|
|
2722
|
-
border-radius: var(--radius-small);
|
|
2723
|
-
word-break: break-word;
|
|
2724
|
-
word-wrap: break-word;
|
|
2725
|
-
}
|
|
2726
|
-
.wds-list-item-prompt .np-prompt-icon {
|
|
2727
|
-
padding-right: calc(12px / 2);
|
|
2728
|
-
padding-right: calc(var(--size-12) / 2);
|
|
2729
|
-
padding-top: calc(4px - 1px);
|
|
2730
|
-
padding-top: calc(var(--size-4) - 1px);
|
|
2731
|
-
padding-bottom: calc(4px - 1px);
|
|
2732
|
-
padding-bottom: calc(var(--size-4) - 1px);
|
|
2733
|
-
}
|
|
2734
|
-
.wds-list-item-prompt .np-prompt-icon .tw-icon-tags,
|
|
2735
|
-
.wds-list-item-prompt .np-prompt-icon .tw-icon-confetti {
|
|
2736
|
-
color: var(--color-sentiment-positive-primary);
|
|
2737
|
-
}
|
|
2738
|
-
.wds-list-item-prompt a {
|
|
2739
|
-
text-underline-offset: calc(4px / 2);
|
|
2740
|
-
text-underline-offset: calc(var(--size-4) / 2);
|
|
2741
|
-
}
|
|
2742
|
-
.wds-list-item-prompt.np-prompt-interactive {
|
|
2743
|
-
-webkit-text-decoration: none;
|
|
2744
|
-
text-decoration: none;
|
|
2745
|
-
cursor: pointer;
|
|
2746
|
-
border: none;
|
|
2747
|
-
}
|
|
2748
|
-
.wds-list-item-prompt.negative {
|
|
2749
|
-
background-color: var(--color-sentiment-negative-secondary);
|
|
2750
|
-
color: var(--color-sentiment-negative-primary);
|
|
2751
|
-
}
|
|
2752
|
-
.wds-list-item-prompt.negative a {
|
|
2753
|
-
color: var(--color-sentiment-negative-primary);
|
|
2754
|
-
}
|
|
2755
|
-
.wds-list-item-prompt.negative a:hover {
|
|
2756
|
-
color: var(--color-sentiment-negative-primary-hover);
|
|
2757
|
-
}
|
|
2758
|
-
.wds-list-item-prompt.negative a:active {
|
|
2759
|
-
color: var(--color-sentiment-negative-primary-active);
|
|
2760
|
-
}
|
|
2761
|
-
.np-prompt-interactive.wds-list-item-prompt.negative:hover {
|
|
2762
|
-
background-color: color-mix(in srgb, var(--color-sentiment-negative-secondary) 95%, var(--color-sentiment-negative-primary));
|
|
2763
|
-
}
|
|
2764
|
-
.np-prompt-interactive.wds-list-item-prompt.negative:active {
|
|
2765
|
-
background-color: color-mix(in srgb, var(--color-sentiment-negative-secondary) 90%, var(--color-sentiment-negative-primary));
|
|
2766
|
-
}
|
|
2767
|
-
.wds-list-item-prompt.positive,
|
|
2768
|
-
.wds-list-item-prompt.discount,
|
|
2769
|
-
.wds-list-item-prompt.savings {
|
|
2770
|
-
background-color: var(--color-sentiment-positive-secondary);
|
|
2771
|
-
color: var(--color-sentiment-positive-primary);
|
|
2772
|
-
}
|
|
2773
|
-
.wds-list-item-prompt.positive a,
|
|
2774
|
-
.wds-list-item-prompt.discount a,
|
|
2775
|
-
.wds-list-item-prompt.savings a {
|
|
2776
|
-
color: var(--color-sentiment-positive-primary);
|
|
2777
|
-
}
|
|
2778
|
-
.wds-list-item-prompt.positive a:hover,
|
|
2779
|
-
.wds-list-item-prompt.discount a:hover,
|
|
2780
|
-
.wds-list-item-prompt.savings a:hover {
|
|
2781
|
-
color: var(--color-sentiment-positive-primary-hover);
|
|
2782
|
-
}
|
|
2783
|
-
.wds-list-item-prompt.positive a:active,
|
|
2784
|
-
.wds-list-item-prompt.discount a:active,
|
|
2785
|
-
.wds-list-item-prompt.savings a:active {
|
|
2786
|
-
color: var(--color-sentiment-positive-primary-active);
|
|
2787
|
-
}
|
|
2788
|
-
.np-prompt-interactive.wds-list-item-prompt.positive:hover,
|
|
2789
|
-
.np-prompt-interactive.wds-list-item-prompt.discount:hover,
|
|
2790
|
-
.np-prompt-interactive.wds-list-item-prompt.savings:hover {
|
|
2791
|
-
background-color: color-mix(in srgb, var(--color-sentiment-positive-secondary) 95%, var(--color-sentiment-positive-primary));
|
|
2792
|
-
}
|
|
2793
|
-
.np-prompt-interactive.wds-list-item-prompt.positive:active,
|
|
2794
|
-
.np-prompt-interactive.wds-list-item-prompt.discount:active,
|
|
2795
|
-
.np-prompt-interactive.wds-list-item-prompt.savings:active {
|
|
2796
|
-
background-color: color-mix(in srgb, var(--color-sentiment-positive-secondary) 90%, var(--color-sentiment-positive-primary));
|
|
2797
|
-
}
|
|
2798
|
-
.wds-list-item-prompt.neutral {
|
|
2799
|
-
background-color: rgba(134,167,189,0.10196);
|
|
2800
|
-
background-color: var(--color-background-neutral);
|
|
2801
|
-
color: #37517e;
|
|
2802
|
-
color: var(--color-content-primary);
|
|
2803
|
-
}
|
|
2804
|
-
.wds-list-item-prompt.neutral a {
|
|
2805
|
-
color: #37517e;
|
|
2806
|
-
color: var(--color-content-primary);
|
|
2807
|
-
}
|
|
2808
|
-
.np-prompt-interactive.wds-list-item-prompt.neutral:hover {
|
|
2809
|
-
background-color: var(--color-background-neutral-hover);
|
|
2810
|
-
}
|
|
2811
|
-
.np-prompt-interactive.wds-list-item-prompt.neutral:active {
|
|
2812
|
-
background-color: var(--color-background-neutral-active);
|
|
2813
|
-
}
|
|
2814
|
-
.wds-list-item-prompt.warning {
|
|
2815
|
-
background-color: var(--color-sentiment-warning-secondary);
|
|
2816
|
-
color: var(--color-sentiment-warning-content);
|
|
2817
|
-
}
|
|
2818
|
-
.wds-list-item-prompt.warning a {
|
|
2819
|
-
color: var(--color-sentiment-warning-content);
|
|
2820
|
-
}
|
|
2821
|
-
.wds-list-item-prompt.warning a:hover {
|
|
2822
|
-
color: var(--color-sentiment-warning-content-hover);
|
|
2823
|
-
}
|
|
2824
|
-
.wds-list-item-prompt.warning a:active {
|
|
2825
|
-
color: var(--color-sentiment-warning-content-active);
|
|
2826
|
-
}
|
|
2827
|
-
.np-prompt-interactive.wds-list-item-prompt.warning:hover {
|
|
2828
|
-
background-color: color-mix(in srgb, var(--color-sentiment-warning-secondary) 90%, var(--color-sentiment-warning-primary));
|
|
2829
|
-
}
|
|
2830
|
-
.np-prompt-interactive.wds-list-item-prompt.warning:active {
|
|
2831
|
-
background-color: color-mix(in srgb, var(--color-sentiment-warning-secondary) 80%, var(--color-sentiment-warning-primary));
|
|
2832
|
-
}
|
|
2833
2633
|
.np-field-control {
|
|
2834
2634
|
margin-top: 4px;
|
|
2835
2635
|
margin-top: var(--size-4);
|