@transferwise/components 0.0.0-experimental-69786e7 → 0.0.0-experimental-b6153fb
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 +1 -0
- package/build/index.js.map +1 -1
- package/build/index.mjs +1 -1
- package/build/main.css +68 -60
- package/build/styles/inputs/Input.css +2 -28
- package/build/styles/inputs/TextArea.css +2 -28
- package/build/styles/item/Item.css +64 -0
- package/build/styles/main.css +68 -60
- package/build/styles/popover/Popover.css +2 -28
- package/build/types/index.d.ts +2 -0
- package/build/types/index.d.ts.map +1 -1
- package/build/types/item/Item.d.ts +39 -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/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/ItemImage.d.ts +4 -0
- package/build/types/item/ItemImage.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/index.d.ts +5 -0
- package/build/types/item/index.d.ts.map +1 -0
- package/build/types/test-utils/fake-data.d.ts +1 -0
- package/build/types/test-utils/fake-data.d.ts.map +1 -1
- package/package.json +6 -6
- package/src/index.ts +2 -0
- package/src/inputs/Input.css +2 -28
- package/src/inputs/TextArea.css +2 -28
- package/src/item/Item.css +64 -0
- package/src/item/Item.less +64 -0
- package/src/item/Item.story.tsx +80 -0
- package/src/item/Item.tsx +163 -0
- package/src/item/ItemAdditionalInfo.tsx +31 -0
- package/src/item/ItemCheckbox.tsx +16 -0
- package/src/item/ItemIconButton.tsx +15 -0
- package/src/item/ItemImage.tsx +11 -0
- package/src/item/ItemNavigation.tsx +16 -0
- package/src/item/index.ts +4 -0
- package/src/main.css +68 -60
- package/src/main.less +1 -0
- package/src/popover/Popover.css +2 -28
- package/src/test-utils/fake-data.ts +3 -0
package/build/index.js
CHANGED
|
@@ -274,6 +274,7 @@ Object.defineProperty(exports, "UploadStep", {
|
|
|
274
274
|
get: function () { return Upload.UploadStep; }
|
|
275
275
|
});
|
|
276
276
|
exports.UploadInput = UploadInput.default;
|
|
277
|
+
exports.Item = Table.default;
|
|
277
278
|
exports.Table = Table.default;
|
|
278
279
|
exports.useDirection = useDirection.useDirection;
|
|
279
280
|
exports.useLayout = useLayout.useLayout;
|
package/build/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sources":[],"sourcesContent":[],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
package/build/index.mjs
CHANGED
|
@@ -105,7 +105,7 @@ export { default as Tooltip } from './tooltip/Tooltip.mjs';
|
|
|
105
105
|
export { default as Typeahead } from './typeahead/Typeahead.mjs';
|
|
106
106
|
export { default as Upload, UploadStep } from './upload/Upload.mjs';
|
|
107
107
|
export { default as UploadInput } from './uploadInput/UploadInput.mjs';
|
|
108
|
-
export { default as Table } from './table/Table.mjs';
|
|
108
|
+
export { default as Item, default as Table } from './table/Table.mjs';
|
|
109
109
|
import '@transferwise/neptune-validation';
|
|
110
110
|
export { useDirection } from './common/hooks/useDirection/useDirection.mjs';
|
|
111
111
|
export { useLayout } from './common/hooks/useLayout/useLayout.mjs';
|
package/build/main.css
CHANGED
|
@@ -2585,6 +2585,8 @@ html:not([dir="rtl"]) .np-flow-navigation--sm .np-flow-navigation__stepper {
|
|
|
2585
2585
|
line-height: 1.2;
|
|
2586
2586
|
line-height: var(--line-height-title);
|
|
2587
2587
|
letter-spacing: 0;
|
|
2588
|
+
-webkit-hyphens: auto;
|
|
2589
|
+
hyphens: auto;
|
|
2588
2590
|
margin-bottom: 0;
|
|
2589
2591
|
margin-bottom: initial;
|
|
2590
2592
|
font-size: 1.375rem;
|
|
@@ -2596,36 +2598,6 @@ html:not([dir="rtl"]) .np-flow-navigation--sm .np-flow-navigation__stepper {
|
|
|
2596
2598
|
height: 72px !important;
|
|
2597
2599
|
height: var(--size-72) !important;
|
|
2598
2600
|
}
|
|
2599
|
-
@supports (hyphenate-limit-chars: 1) {
|
|
2600
|
-
.np-form-control--size-lg {
|
|
2601
|
-
-webkit-hyphens: auto;
|
|
2602
|
-
hyphens: auto;
|
|
2603
|
-
hyphenate-limit-chars: 7 3;
|
|
2604
|
-
}
|
|
2605
|
-
@media (min-width: 768px) {
|
|
2606
|
-
.np-form-control--size-lg {
|
|
2607
|
-
hyphenate-limit-chars: 8 3;
|
|
2608
|
-
}
|
|
2609
|
-
}
|
|
2610
|
-
@media (min-width: 992px) {
|
|
2611
|
-
.np-form-control--size-lg {
|
|
2612
|
-
hyphenate-limit-chars: 10 4 3;
|
|
2613
|
-
}
|
|
2614
|
-
}
|
|
2615
|
-
}
|
|
2616
|
-
@supports (not (hyphenate-limit-chars: 1)) and (-webkit-hyphenate-limit-before: 1) {
|
|
2617
|
-
.np-form-control--size-lg {
|
|
2618
|
-
-webkit-hyphens: auto;
|
|
2619
|
-
hyphens: auto;
|
|
2620
|
-
-webkit-hyphenate-limit-before: 3;
|
|
2621
|
-
-webkit-hyphenate-limit-after: 3;
|
|
2622
|
-
}
|
|
2623
|
-
@media (min-width: 992px) {
|
|
2624
|
-
.np-form-control--size-lg {
|
|
2625
|
-
-webkit-hyphenate-limit-before: 4;
|
|
2626
|
-
}
|
|
2627
|
-
}
|
|
2628
|
-
}
|
|
2629
2601
|
.np-form-control--size-lg + p,
|
|
2630
2602
|
.np-form-control--size-lg + ul:not(.list-unstyled),
|
|
2631
2603
|
.np-form-control--size-lg + ol:not(.list-unstyled) {
|
|
@@ -2648,6 +2620,70 @@ html:not([dir="rtl"]) .np-flow-navigation--sm .np-flow-navigation__stepper {
|
|
|
2648
2620
|
border-radius: 9999px !important;
|
|
2649
2621
|
border-radius: var(--radius-full) !important;
|
|
2650
2622
|
}
|
|
2623
|
+
.np-item {
|
|
2624
|
+
padding: 16px;
|
|
2625
|
+
padding: var(--size-16);
|
|
2626
|
+
border-radius: 24px;
|
|
2627
|
+
border-radius: var(--radius-large);
|
|
2628
|
+
background-color: #ffffff;
|
|
2629
|
+
background-color: var(--color-background-screen);
|
|
2630
|
+
display: flex;
|
|
2631
|
+
gap: 16px;
|
|
2632
|
+
gap: var(--size-16);
|
|
2633
|
+
align-items: center;
|
|
2634
|
+
flex-direction: row;
|
|
2635
|
+
cursor: pointer;
|
|
2636
|
+
}
|
|
2637
|
+
.np-item:hover {
|
|
2638
|
+
background-color: var(--color-background-screen-hover);
|
|
2639
|
+
}
|
|
2640
|
+
.np-item:active {
|
|
2641
|
+
background-color: var(--color-background-screen-active);
|
|
2642
|
+
}
|
|
2643
|
+
.np-item-media {
|
|
2644
|
+
flex: 0 0 auto;
|
|
2645
|
+
align-items: flex-start;
|
|
2646
|
+
}
|
|
2647
|
+
.np-item-title {
|
|
2648
|
+
color: #37517e;
|
|
2649
|
+
color: var(--color-content-primary);
|
|
2650
|
+
}
|
|
2651
|
+
.np-item-additional-info {
|
|
2652
|
+
color: #768e9c;
|
|
2653
|
+
color: var(--color-content-tertiary);
|
|
2654
|
+
}
|
|
2655
|
+
.np-item-value {
|
|
2656
|
+
flex: 0 0 auto;
|
|
2657
|
+
}
|
|
2658
|
+
.np-item-control {
|
|
2659
|
+
flex: 0 0 auto;
|
|
2660
|
+
}
|
|
2661
|
+
.np-item-spotlight-active {
|
|
2662
|
+
background-color: rgba(134,167,189,0.10196);
|
|
2663
|
+
background-color: var(--color-background-neutral);
|
|
2664
|
+
}
|
|
2665
|
+
.np-item-spotlight-active:hover {
|
|
2666
|
+
background-color: var(--color-background-neutral-hover);
|
|
2667
|
+
}
|
|
2668
|
+
.np-item-spotlight-active:active {
|
|
2669
|
+
background-color: var(--color-background-neutral-active);
|
|
2670
|
+
}
|
|
2671
|
+
.np-item-spotlight-inactive {
|
|
2672
|
+
background-color: rgba(134, 167, 189, 0.025);
|
|
2673
|
+
border: 1px dashed rgba(0,0,0,0.10196);
|
|
2674
|
+
border: 1px dashed var(--color-border-neutral);
|
|
2675
|
+
}
|
|
2676
|
+
@supports (color: color-mix(in lch, red, blue)) {
|
|
2677
|
+
.np-item-spotlight-inactive {
|
|
2678
|
+
background-color: color-mix(in srgb, var(--color-background-neutral) 25%, transparent);
|
|
2679
|
+
}
|
|
2680
|
+
}
|
|
2681
|
+
.np-item-spotlight-inactive:hover {
|
|
2682
|
+
background-color: color-mix(in srgb, var(--color-background-neutral-hover) 25%, transparent);
|
|
2683
|
+
}
|
|
2684
|
+
.np-item-spotlight-inactive:active {
|
|
2685
|
+
background-color: color-mix(in srgb, var(--color-background-neutral-active) 25%, transparent);
|
|
2686
|
+
}
|
|
2651
2687
|
.np-field-control {
|
|
2652
2688
|
margin-top: 4px;
|
|
2653
2689
|
margin-top: var(--size-4);
|
|
@@ -4051,6 +4087,8 @@ html:not([dir="rtl"]) .np-navigation-option {
|
|
|
4051
4087
|
line-height: 1.2;
|
|
4052
4088
|
line-height: var(--line-height-title);
|
|
4053
4089
|
letter-spacing: 0;
|
|
4090
|
+
-webkit-hyphens: auto;
|
|
4091
|
+
hyphens: auto;
|
|
4054
4092
|
margin-bottom: 0;
|
|
4055
4093
|
margin-bottom: initial;
|
|
4056
4094
|
font-weight: 600;
|
|
@@ -4060,36 +4098,6 @@ html:not([dir="rtl"]) .np-navigation-option {
|
|
|
4060
4098
|
letter-spacing: -0.02em;
|
|
4061
4099
|
line-height: 122%;
|
|
4062
4100
|
}
|
|
4063
|
-
@supports (hyphenate-limit-chars: 1) {
|
|
4064
|
-
.np-popover__container.np-bottom-sheet .np-popover__title {
|
|
4065
|
-
-webkit-hyphens: auto;
|
|
4066
|
-
hyphens: auto;
|
|
4067
|
-
hyphenate-limit-chars: 7 3;
|
|
4068
|
-
}
|
|
4069
|
-
@media (min-width: 768px) {
|
|
4070
|
-
.np-popover__container.np-bottom-sheet .np-popover__title {
|
|
4071
|
-
hyphenate-limit-chars: 8 3;
|
|
4072
|
-
}
|
|
4073
|
-
}
|
|
4074
|
-
@media (min-width: 992px) {
|
|
4075
|
-
.np-popover__container.np-bottom-sheet .np-popover__title {
|
|
4076
|
-
hyphenate-limit-chars: 10 4 3;
|
|
4077
|
-
}
|
|
4078
|
-
}
|
|
4079
|
-
}
|
|
4080
|
-
@supports (not (hyphenate-limit-chars: 1)) and (-webkit-hyphenate-limit-before: 1) {
|
|
4081
|
-
.np-popover__container.np-bottom-sheet .np-popover__title {
|
|
4082
|
-
-webkit-hyphens: auto;
|
|
4083
|
-
hyphens: auto;
|
|
4084
|
-
-webkit-hyphenate-limit-before: 3;
|
|
4085
|
-
-webkit-hyphenate-limit-after: 3;
|
|
4086
|
-
}
|
|
4087
|
-
@media (min-width: 992px) {
|
|
4088
|
-
.np-popover__container.np-bottom-sheet .np-popover__title {
|
|
4089
|
-
-webkit-hyphenate-limit-before: 4;
|
|
4090
|
-
}
|
|
4091
|
-
}
|
|
4092
|
-
}
|
|
4093
4101
|
.np-popover__container.np-bottom-sheet .np-popover__title + p,
|
|
4094
4102
|
.np-popover__container.np-bottom-sheet .np-popover__title + ul:not(.list-unstyled),
|
|
4095
4103
|
.np-popover__container.np-bottom-sheet .np-popover__title + ol:not(.list-unstyled) {
|
|
@@ -71,6 +71,8 @@
|
|
|
71
71
|
line-height: 1.2;
|
|
72
72
|
line-height: var(--line-height-title);
|
|
73
73
|
letter-spacing: 0;
|
|
74
|
+
-webkit-hyphens: auto;
|
|
75
|
+
hyphens: auto;
|
|
74
76
|
margin-bottom: 0;
|
|
75
77
|
margin-bottom: initial;
|
|
76
78
|
font-size: 1.375rem;
|
|
@@ -81,34 +83,6 @@
|
|
|
81
83
|
line-height: 125%;
|
|
82
84
|
height: 72px !important;
|
|
83
85
|
height: var(--size-72) !important;
|
|
84
|
-
}@supports (hyphenate-limit-chars: 1) {
|
|
85
|
-
.np-form-control--size-lg {
|
|
86
|
-
-webkit-hyphens: auto;
|
|
87
|
-
hyphens: auto;
|
|
88
|
-
hyphenate-limit-chars: 7 3;
|
|
89
|
-
}
|
|
90
|
-
@media (min-width: 768px) {
|
|
91
|
-
.np-form-control--size-lg {
|
|
92
|
-
hyphenate-limit-chars: 8 3;
|
|
93
|
-
}
|
|
94
|
-
}
|
|
95
|
-
@media (min-width: 992px) {
|
|
96
|
-
.np-form-control--size-lg {
|
|
97
|
-
hyphenate-limit-chars: 10 4 3;
|
|
98
|
-
}
|
|
99
|
-
}
|
|
100
|
-
}@supports (not (hyphenate-limit-chars: 1)) and (-webkit-hyphenate-limit-before: 1) {
|
|
101
|
-
.np-form-control--size-lg {
|
|
102
|
-
-webkit-hyphens: auto;
|
|
103
|
-
hyphens: auto;
|
|
104
|
-
-webkit-hyphenate-limit-before: 3;
|
|
105
|
-
-webkit-hyphenate-limit-after: 3;
|
|
106
|
-
}
|
|
107
|
-
@media (min-width: 992px) {
|
|
108
|
-
.np-form-control--size-lg {
|
|
109
|
-
-webkit-hyphenate-limit-before: 4;
|
|
110
|
-
}
|
|
111
|
-
}
|
|
112
86
|
}.np-form-control--size-lg + p,
|
|
113
87
|
.np-form-control--size-lg + ul:not(.list-unstyled),
|
|
114
88
|
.np-form-control--size-lg + ol:not(.list-unstyled) {
|
|
@@ -71,6 +71,8 @@
|
|
|
71
71
|
line-height: 1.2;
|
|
72
72
|
line-height: var(--line-height-title);
|
|
73
73
|
letter-spacing: 0;
|
|
74
|
+
-webkit-hyphens: auto;
|
|
75
|
+
hyphens: auto;
|
|
74
76
|
margin-bottom: 0;
|
|
75
77
|
margin-bottom: initial;
|
|
76
78
|
font-size: 1.375rem;
|
|
@@ -81,34 +83,6 @@
|
|
|
81
83
|
line-height: 125%;
|
|
82
84
|
height: 72px !important;
|
|
83
85
|
height: var(--size-72) !important;
|
|
84
|
-
}@supports (hyphenate-limit-chars: 1) {
|
|
85
|
-
.np-form-control--size-lg {
|
|
86
|
-
-webkit-hyphens: auto;
|
|
87
|
-
hyphens: auto;
|
|
88
|
-
hyphenate-limit-chars: 7 3;
|
|
89
|
-
}
|
|
90
|
-
@media (min-width: 768px) {
|
|
91
|
-
.np-form-control--size-lg {
|
|
92
|
-
hyphenate-limit-chars: 8 3;
|
|
93
|
-
}
|
|
94
|
-
}
|
|
95
|
-
@media (min-width: 992px) {
|
|
96
|
-
.np-form-control--size-lg {
|
|
97
|
-
hyphenate-limit-chars: 10 4 3;
|
|
98
|
-
}
|
|
99
|
-
}
|
|
100
|
-
}@supports (not (hyphenate-limit-chars: 1)) and (-webkit-hyphenate-limit-before: 1) {
|
|
101
|
-
.np-form-control--size-lg {
|
|
102
|
-
-webkit-hyphens: auto;
|
|
103
|
-
hyphens: auto;
|
|
104
|
-
-webkit-hyphenate-limit-before: 3;
|
|
105
|
-
-webkit-hyphenate-limit-after: 3;
|
|
106
|
-
}
|
|
107
|
-
@media (min-width: 992px) {
|
|
108
|
-
.np-form-control--size-lg {
|
|
109
|
-
-webkit-hyphenate-limit-before: 4;
|
|
110
|
-
}
|
|
111
|
-
}
|
|
112
86
|
}.np-form-control--size-lg + p,
|
|
113
87
|
.np-form-control--size-lg + ul:not(.list-unstyled),
|
|
114
88
|
.np-form-control--size-lg + ol:not(.list-unstyled) {
|
|
@@ -0,0 +1,64 @@
|
|
|
1
|
+
.np-item {
|
|
2
|
+
padding: 16px;
|
|
3
|
+
padding: var(--size-16);
|
|
4
|
+
border-radius: 24px;
|
|
5
|
+
border-radius: var(--radius-large);
|
|
6
|
+
background-color: #ffffff;
|
|
7
|
+
background-color: var(--color-background-screen);
|
|
8
|
+
display: flex;
|
|
9
|
+
gap: 16px;
|
|
10
|
+
gap: var(--size-16);
|
|
11
|
+
align-items: center;
|
|
12
|
+
flex-direction: row;
|
|
13
|
+
cursor: pointer;
|
|
14
|
+
}
|
|
15
|
+
.np-item:hover {
|
|
16
|
+
background-color: var(--color-background-screen-hover);
|
|
17
|
+
}
|
|
18
|
+
.np-item:active {
|
|
19
|
+
background-color: var(--color-background-screen-active);
|
|
20
|
+
}
|
|
21
|
+
.np-item-media {
|
|
22
|
+
flex: 0 0 auto;
|
|
23
|
+
align-items: flex-start;
|
|
24
|
+
}
|
|
25
|
+
.np-item-title {
|
|
26
|
+
color: #37517e;
|
|
27
|
+
color: var(--color-content-primary);
|
|
28
|
+
}
|
|
29
|
+
.np-item-additional-info {
|
|
30
|
+
color: #768e9c;
|
|
31
|
+
color: var(--color-content-tertiary);
|
|
32
|
+
}
|
|
33
|
+
.np-item-value {
|
|
34
|
+
flex: 0 0 auto;
|
|
35
|
+
}
|
|
36
|
+
.np-item-control {
|
|
37
|
+
flex: 0 0 auto;
|
|
38
|
+
}
|
|
39
|
+
.np-item-spotlight-active {
|
|
40
|
+
background-color: rgba(134,167,189,0.10196);
|
|
41
|
+
background-color: var(--color-background-neutral);
|
|
42
|
+
}
|
|
43
|
+
.np-item-spotlight-active:hover {
|
|
44
|
+
background-color: var(--color-background-neutral-hover);
|
|
45
|
+
}
|
|
46
|
+
.np-item-spotlight-active:active {
|
|
47
|
+
background-color: var(--color-background-neutral-active);
|
|
48
|
+
}
|
|
49
|
+
.np-item-spotlight-inactive {
|
|
50
|
+
background-color: rgba(134, 167, 189, 0.025);
|
|
51
|
+
border: 1px dashed rgba(0,0,0,0.10196);
|
|
52
|
+
border: 1px dashed var(--color-border-neutral);
|
|
53
|
+
}
|
|
54
|
+
@supports (color: color-mix(in lch, red, blue)) {
|
|
55
|
+
.np-item-spotlight-inactive {
|
|
56
|
+
background-color: color-mix(in srgb, var(--color-background-neutral) 25%, transparent);
|
|
57
|
+
}
|
|
58
|
+
}
|
|
59
|
+
.np-item-spotlight-inactive:hover {
|
|
60
|
+
background-color: color-mix(in srgb, var(--color-background-neutral-hover) 25%, transparent);
|
|
61
|
+
}
|
|
62
|
+
.np-item-spotlight-inactive:active {
|
|
63
|
+
background-color: color-mix(in srgb, var(--color-background-neutral-active) 25%, transparent);
|
|
64
|
+
}
|
package/build/styles/main.css
CHANGED
|
@@ -2585,6 +2585,8 @@ html:not([dir="rtl"]) .np-flow-navigation--sm .np-flow-navigation__stepper {
|
|
|
2585
2585
|
line-height: 1.2;
|
|
2586
2586
|
line-height: var(--line-height-title);
|
|
2587
2587
|
letter-spacing: 0;
|
|
2588
|
+
-webkit-hyphens: auto;
|
|
2589
|
+
hyphens: auto;
|
|
2588
2590
|
margin-bottom: 0;
|
|
2589
2591
|
margin-bottom: initial;
|
|
2590
2592
|
font-size: 1.375rem;
|
|
@@ -2596,36 +2598,6 @@ html:not([dir="rtl"]) .np-flow-navigation--sm .np-flow-navigation__stepper {
|
|
|
2596
2598
|
height: 72px !important;
|
|
2597
2599
|
height: var(--size-72) !important;
|
|
2598
2600
|
}
|
|
2599
|
-
@supports (hyphenate-limit-chars: 1) {
|
|
2600
|
-
.np-form-control--size-lg {
|
|
2601
|
-
-webkit-hyphens: auto;
|
|
2602
|
-
hyphens: auto;
|
|
2603
|
-
hyphenate-limit-chars: 7 3;
|
|
2604
|
-
}
|
|
2605
|
-
@media (min-width: 768px) {
|
|
2606
|
-
.np-form-control--size-lg {
|
|
2607
|
-
hyphenate-limit-chars: 8 3;
|
|
2608
|
-
}
|
|
2609
|
-
}
|
|
2610
|
-
@media (min-width: 992px) {
|
|
2611
|
-
.np-form-control--size-lg {
|
|
2612
|
-
hyphenate-limit-chars: 10 4 3;
|
|
2613
|
-
}
|
|
2614
|
-
}
|
|
2615
|
-
}
|
|
2616
|
-
@supports (not (hyphenate-limit-chars: 1)) and (-webkit-hyphenate-limit-before: 1) {
|
|
2617
|
-
.np-form-control--size-lg {
|
|
2618
|
-
-webkit-hyphens: auto;
|
|
2619
|
-
hyphens: auto;
|
|
2620
|
-
-webkit-hyphenate-limit-before: 3;
|
|
2621
|
-
-webkit-hyphenate-limit-after: 3;
|
|
2622
|
-
}
|
|
2623
|
-
@media (min-width: 992px) {
|
|
2624
|
-
.np-form-control--size-lg {
|
|
2625
|
-
-webkit-hyphenate-limit-before: 4;
|
|
2626
|
-
}
|
|
2627
|
-
}
|
|
2628
|
-
}
|
|
2629
2601
|
.np-form-control--size-lg + p,
|
|
2630
2602
|
.np-form-control--size-lg + ul:not(.list-unstyled),
|
|
2631
2603
|
.np-form-control--size-lg + ol:not(.list-unstyled) {
|
|
@@ -2648,6 +2620,70 @@ html:not([dir="rtl"]) .np-flow-navigation--sm .np-flow-navigation__stepper {
|
|
|
2648
2620
|
border-radius: 9999px !important;
|
|
2649
2621
|
border-radius: var(--radius-full) !important;
|
|
2650
2622
|
}
|
|
2623
|
+
.np-item {
|
|
2624
|
+
padding: 16px;
|
|
2625
|
+
padding: var(--size-16);
|
|
2626
|
+
border-radius: 24px;
|
|
2627
|
+
border-radius: var(--radius-large);
|
|
2628
|
+
background-color: #ffffff;
|
|
2629
|
+
background-color: var(--color-background-screen);
|
|
2630
|
+
display: flex;
|
|
2631
|
+
gap: 16px;
|
|
2632
|
+
gap: var(--size-16);
|
|
2633
|
+
align-items: center;
|
|
2634
|
+
flex-direction: row;
|
|
2635
|
+
cursor: pointer;
|
|
2636
|
+
}
|
|
2637
|
+
.np-item:hover {
|
|
2638
|
+
background-color: var(--color-background-screen-hover);
|
|
2639
|
+
}
|
|
2640
|
+
.np-item:active {
|
|
2641
|
+
background-color: var(--color-background-screen-active);
|
|
2642
|
+
}
|
|
2643
|
+
.np-item-media {
|
|
2644
|
+
flex: 0 0 auto;
|
|
2645
|
+
align-items: flex-start;
|
|
2646
|
+
}
|
|
2647
|
+
.np-item-title {
|
|
2648
|
+
color: #37517e;
|
|
2649
|
+
color: var(--color-content-primary);
|
|
2650
|
+
}
|
|
2651
|
+
.np-item-additional-info {
|
|
2652
|
+
color: #768e9c;
|
|
2653
|
+
color: var(--color-content-tertiary);
|
|
2654
|
+
}
|
|
2655
|
+
.np-item-value {
|
|
2656
|
+
flex: 0 0 auto;
|
|
2657
|
+
}
|
|
2658
|
+
.np-item-control {
|
|
2659
|
+
flex: 0 0 auto;
|
|
2660
|
+
}
|
|
2661
|
+
.np-item-spotlight-active {
|
|
2662
|
+
background-color: rgba(134,167,189,0.10196);
|
|
2663
|
+
background-color: var(--color-background-neutral);
|
|
2664
|
+
}
|
|
2665
|
+
.np-item-spotlight-active:hover {
|
|
2666
|
+
background-color: var(--color-background-neutral-hover);
|
|
2667
|
+
}
|
|
2668
|
+
.np-item-spotlight-active:active {
|
|
2669
|
+
background-color: var(--color-background-neutral-active);
|
|
2670
|
+
}
|
|
2671
|
+
.np-item-spotlight-inactive {
|
|
2672
|
+
background-color: rgba(134, 167, 189, 0.025);
|
|
2673
|
+
border: 1px dashed rgba(0,0,0,0.10196);
|
|
2674
|
+
border: 1px dashed var(--color-border-neutral);
|
|
2675
|
+
}
|
|
2676
|
+
@supports (color: color-mix(in lch, red, blue)) {
|
|
2677
|
+
.np-item-spotlight-inactive {
|
|
2678
|
+
background-color: color-mix(in srgb, var(--color-background-neutral) 25%, transparent);
|
|
2679
|
+
}
|
|
2680
|
+
}
|
|
2681
|
+
.np-item-spotlight-inactive:hover {
|
|
2682
|
+
background-color: color-mix(in srgb, var(--color-background-neutral-hover) 25%, transparent);
|
|
2683
|
+
}
|
|
2684
|
+
.np-item-spotlight-inactive:active {
|
|
2685
|
+
background-color: color-mix(in srgb, var(--color-background-neutral-active) 25%, transparent);
|
|
2686
|
+
}
|
|
2651
2687
|
.np-field-control {
|
|
2652
2688
|
margin-top: 4px;
|
|
2653
2689
|
margin-top: var(--size-4);
|
|
@@ -4051,6 +4087,8 @@ html:not([dir="rtl"]) .np-navigation-option {
|
|
|
4051
4087
|
line-height: 1.2;
|
|
4052
4088
|
line-height: var(--line-height-title);
|
|
4053
4089
|
letter-spacing: 0;
|
|
4090
|
+
-webkit-hyphens: auto;
|
|
4091
|
+
hyphens: auto;
|
|
4054
4092
|
margin-bottom: 0;
|
|
4055
4093
|
margin-bottom: initial;
|
|
4056
4094
|
font-weight: 600;
|
|
@@ -4060,36 +4098,6 @@ html:not([dir="rtl"]) .np-navigation-option {
|
|
|
4060
4098
|
letter-spacing: -0.02em;
|
|
4061
4099
|
line-height: 122%;
|
|
4062
4100
|
}
|
|
4063
|
-
@supports (hyphenate-limit-chars: 1) {
|
|
4064
|
-
.np-popover__container.np-bottom-sheet .np-popover__title {
|
|
4065
|
-
-webkit-hyphens: auto;
|
|
4066
|
-
hyphens: auto;
|
|
4067
|
-
hyphenate-limit-chars: 7 3;
|
|
4068
|
-
}
|
|
4069
|
-
@media (min-width: 768px) {
|
|
4070
|
-
.np-popover__container.np-bottom-sheet .np-popover__title {
|
|
4071
|
-
hyphenate-limit-chars: 8 3;
|
|
4072
|
-
}
|
|
4073
|
-
}
|
|
4074
|
-
@media (min-width: 992px) {
|
|
4075
|
-
.np-popover__container.np-bottom-sheet .np-popover__title {
|
|
4076
|
-
hyphenate-limit-chars: 10 4 3;
|
|
4077
|
-
}
|
|
4078
|
-
}
|
|
4079
|
-
}
|
|
4080
|
-
@supports (not (hyphenate-limit-chars: 1)) and (-webkit-hyphenate-limit-before: 1) {
|
|
4081
|
-
.np-popover__container.np-bottom-sheet .np-popover__title {
|
|
4082
|
-
-webkit-hyphens: auto;
|
|
4083
|
-
hyphens: auto;
|
|
4084
|
-
-webkit-hyphenate-limit-before: 3;
|
|
4085
|
-
-webkit-hyphenate-limit-after: 3;
|
|
4086
|
-
}
|
|
4087
|
-
@media (min-width: 992px) {
|
|
4088
|
-
.np-popover__container.np-bottom-sheet .np-popover__title {
|
|
4089
|
-
-webkit-hyphenate-limit-before: 4;
|
|
4090
|
-
}
|
|
4091
|
-
}
|
|
4092
|
-
}
|
|
4093
4101
|
.np-popover__container.np-bottom-sheet .np-popover__title + p,
|
|
4094
4102
|
.np-popover__container.np-bottom-sheet .np-popover__title + ul:not(.list-unstyled),
|
|
4095
4103
|
.np-popover__container.np-bottom-sheet .np-popover__title + ol:not(.list-unstyled) {
|
|
@@ -24,6 +24,8 @@
|
|
|
24
24
|
line-height: 1.2;
|
|
25
25
|
line-height: var(--line-height-title);
|
|
26
26
|
letter-spacing: 0;
|
|
27
|
+
-webkit-hyphens: auto;
|
|
28
|
+
hyphens: auto;
|
|
27
29
|
margin-bottom: 0;
|
|
28
30
|
margin-bottom: initial;
|
|
29
31
|
font-weight: 600;
|
|
@@ -32,34 +34,6 @@
|
|
|
32
34
|
font-size: var(--font-size-26);
|
|
33
35
|
letter-spacing: -0.02em;
|
|
34
36
|
line-height: 122%;
|
|
35
|
-
}@supports (hyphenate-limit-chars: 1) {
|
|
36
|
-
.np-popover__container.np-bottom-sheet .np-popover__title {
|
|
37
|
-
-webkit-hyphens: auto;
|
|
38
|
-
hyphens: auto;
|
|
39
|
-
hyphenate-limit-chars: 7 3;
|
|
40
|
-
}
|
|
41
|
-
@media (min-width: 768px) {
|
|
42
|
-
.np-popover__container.np-bottom-sheet .np-popover__title {
|
|
43
|
-
hyphenate-limit-chars: 8 3;
|
|
44
|
-
}
|
|
45
|
-
}
|
|
46
|
-
@media (min-width: 992px) {
|
|
47
|
-
.np-popover__container.np-bottom-sheet .np-popover__title {
|
|
48
|
-
hyphenate-limit-chars: 10 4 3;
|
|
49
|
-
}
|
|
50
|
-
}
|
|
51
|
-
}@supports (not (hyphenate-limit-chars: 1)) and (-webkit-hyphenate-limit-before: 1) {
|
|
52
|
-
.np-popover__container.np-bottom-sheet .np-popover__title {
|
|
53
|
-
-webkit-hyphens: auto;
|
|
54
|
-
hyphens: auto;
|
|
55
|
-
-webkit-hyphenate-limit-before: 3;
|
|
56
|
-
-webkit-hyphenate-limit-after: 3;
|
|
57
|
-
}
|
|
58
|
-
@media (min-width: 992px) {
|
|
59
|
-
.np-popover__container.np-bottom-sheet .np-popover__title {
|
|
60
|
-
-webkit-hyphenate-limit-before: 4;
|
|
61
|
-
}
|
|
62
|
-
}
|
|
63
37
|
}.np-popover__container.np-bottom-sheet .np-popover__title + p,
|
|
64
38
|
.np-popover__container.np-bottom-sheet .np-popover__title + ul:not(.list-unstyled),
|
|
65
39
|
.np-popover__container.np-bottom-sheet .np-popover__title + ol:not(.list-unstyled) {
|
package/build/types/index.d.ts
CHANGED
|
@@ -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
|
*/
|
|
@@ -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,CA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EACV,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"}
|
|
@@ -0,0 +1,39 @@
|
|
|
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: (props: import("./ItemImage").ItemImageProps) => import("react").JSX.Element;
|
|
33
|
+
AdditionalInfo: ({ children, action }: import("./ItemAdditionalInfo").ItemAdditionalInfoProps) => import("react").JSX.Element;
|
|
34
|
+
Checkbox: (props: import("./ItemCheckbox").ItemCheckboxProps) => import("react").JSX.Element;
|
|
35
|
+
IconButton: (props: import("./ItemIconButton").ItemIconButtonProps) => import("react").JSX.Element;
|
|
36
|
+
Navigation: ({ onClick }: import("./ItemNavigation").ItemNavigationProps) => import("react").JSX.Element;
|
|
37
|
+
};
|
|
38
|
+
export default Item;
|
|
39
|
+
//# 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;AAU3E,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;;;;;;CAwFP,CAAC;AAUF,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,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"}
|