@transferwise/components 0.0.0-experimental-4533565 → 0.0.0-experimental-feb2ddf
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 +3 -3
- package/build/index.mjs +2 -2
- package/build/{listItem/ListItem.js → legacylistItem/LegacyListItem.js} +3 -3
- package/build/legacylistItem/LegacyListItem.js.map +1 -0
- package/build/{listItem/ListItem.mjs → legacylistItem/LegacyListItem.mjs} +3 -3
- package/build/legacylistItem/LegacyListItem.mjs.map +1 -0
- package/build/legacylistItem/List.js.map +1 -0
- package/build/legacylistItem/List.mjs.map +1 -0
- package/build/main.css +60 -57
- package/build/phoneNumberInput/PhoneNumberInput.js +1 -1
- package/build/phoneNumberInput/PhoneNumberInput.js.map +1 -1
- package/build/phoneNumberInput/PhoneNumberInput.mjs +1 -1
- package/build/phoneNumberInput/PhoneNumberInput.mjs.map +1 -1
- package/build/phoneNumberInput/utils/isValidPhoneNumber/isValidPhoneNumber.js +2 -2
- package/build/phoneNumberInput/utils/isValidPhoneNumber/isValidPhoneNumber.js.map +1 -1
- package/build/phoneNumberInput/utils/isValidPhoneNumber/isValidPhoneNumber.mjs +2 -2
- package/build/phoneNumberInput/utils/isValidPhoneNumber/isValidPhoneNumber.mjs.map +1 -1
- package/build/styles/legacylistItem/LegacyListItem.css +6 -0
- package/build/styles/listItem/ListItem.css +185 -3
- package/build/styles/main.css +60 -57
- package/build/styles/switch/Switch.css +3 -0
- package/build/types/index.d.ts +3 -3
- package/build/types/index.d.ts.map +1 -1
- package/build/types/legacylistItem/LegacyListItem.d.ts +13 -0
- package/build/types/legacylistItem/LegacyListItem.d.ts.map +1 -0
- package/build/types/legacylistItem/List.d.ts.map +1 -0
- package/build/types/legacylistItem/index.d.ts +5 -0
- package/build/types/legacylistItem/index.d.ts.map +1 -0
- package/build/types/listItem/ListItem.d.ts +38 -8
- package/build/types/listItem/ListItem.d.ts.map +1 -1
- package/build/types/{item/ItemAdditionalInfo.d.ts → listItem/ListItemAdditionalInfo.d.ts} +1 -1
- package/build/types/listItem/ListItemAdditionalInfo.d.ts.map +1 -0
- package/build/types/{item/ItemButton.d.ts → listItem/ListItemButton.d.ts} +1 -1
- package/build/types/listItem/ListItemButton.d.ts.map +1 -0
- package/build/types/{item/ItemCheckbox.d.ts → listItem/ListItemCheckbox.d.ts} +1 -1
- package/build/types/listItem/ListItemCheckbox.d.ts.map +1 -0
- package/build/types/{item/ItemIconButton.d.ts → listItem/ListItemIconButton.d.ts} +1 -1
- package/build/types/listItem/ListItemIconButton.d.ts.map +1 -0
- package/build/types/{item/ItemMedia.d.ts → listItem/ListItemMedia.d.ts} +1 -1
- package/build/types/listItem/ListItemMedia.d.ts.map +1 -0
- package/build/types/{item/ItemNavigation.d.ts → listItem/ListItemNavigation.d.ts} +1 -1
- package/build/types/listItem/ListItemNavigation.d.ts.map +1 -0
- package/build/types/{item/ItemSwitch.d.ts → listItem/ListItemSwitch.d.ts} +1 -1
- package/build/types/listItem/ListItemSwitch.d.ts.map +1 -0
- package/build/types/listItem/index.d.ts +4 -3
- package/build/types/listItem/index.d.ts.map +1 -1
- package/build/types/listItem/prompt/Prompt.d.ts.map +1 -0
- package/build/types/listItem/useItemControl.d.ts +5 -0
- package/build/types/listItem/useItemControl.d.ts.map +1 -0
- package/build/types/phoneNumberInput/utils/isValidPhoneNumber/isValidPhoneNumber.d.ts +2 -2
- package/build/types/phoneNumberInput/utils/isValidPhoneNumber/isValidPhoneNumber.d.ts.map +1 -1
- package/package.json +3 -3
- package/src/flowNavigation/animatedLabel/AnimatedLabel.tsx +1 -1
- package/src/index.ts +3 -3
- package/src/legacylistItem/LegacyListItem.css +6 -0
- package/src/legacylistItem/LegacyListItem.less +7 -0
- package/src/legacylistItem/LegacyListItem.story.tsx +120 -0
- package/src/{listItem/ListItem.tests.story.tsx → legacylistItem/LegacyListItem.tests.story.tsx} +2 -2
- package/src/legacylistItem/LegacyListItem.tsx +53 -0
- package/src/legacylistItem/index.ts +4 -0
- package/src/listItem/ListItem.css +185 -3
- package/src/listItem/ListItem.less +180 -5
- package/src/listItem/ListItem.story.tsx +250 -97
- package/src/listItem/ListItem.tsx +167 -37
- package/src/{item/ItemAdditionalInfo.tsx → listItem/ListItemAdditionalInfo.tsx} +2 -2
- package/src/{item/ItemButton.spec.tsx → listItem/ListItemButton.spec.tsx} +4 -4
- package/src/listItem/index.ts +5 -3
- package/src/listItem/useItemControl.tsx +12 -0
- package/src/main.css +60 -57
- package/src/main.less +2 -2
- package/src/phoneNumberInput/PhoneNumberInput.spec.tsx +4 -4
- package/src/phoneNumberInput/PhoneNumberInput.story.tsx +22 -0
- package/src/phoneNumberInput/PhoneNumberInput.tsx +1 -1
- package/src/phoneNumberInput/utils/isValidPhoneNumber/isValidPhoneNumber.ts +4 -3
- package/src/switch/Switch.css +3 -0
- package/src/switch/Switch.less +1 -0
- package/build/listItem/List.js.map +0 -1
- package/build/listItem/List.mjs.map +0 -1
- package/build/listItem/ListItem.js.map +0 -1
- package/build/listItem/ListItem.mjs.map +0 -1
- package/build/styles/item/Item.css +0 -188
- package/build/types/item/Item.d.ts +0 -43
- package/build/types/item/Item.d.ts.map +0 -1
- package/build/types/item/ItemAdditionalInfo.d.ts.map +0 -1
- package/build/types/item/ItemButton.d.ts.map +0 -1
- package/build/types/item/ItemCheckbox.d.ts.map +0 -1
- package/build/types/item/ItemIconButton.d.ts.map +0 -1
- package/build/types/item/ItemMedia.d.ts.map +0 -1
- package/build/types/item/ItemNavigation.d.ts.map +0 -1
- package/build/types/item/ItemSwitch.d.ts.map +0 -1
- package/build/types/item/index.d.ts +0 -6
- package/build/types/item/index.d.ts.map +0 -1
- package/build/types/item/prompt/Prompt.d.ts.map +0 -1
- package/build/types/item/useItemControl.d.ts +0 -5
- package/build/types/item/useItemControl.d.ts.map +0 -1
- package/build/types/listItem/List.d.ts.map +0 -1
- package/src/item/Item.css +0 -188
- package/src/item/Item.less +0 -182
- package/src/item/Item.story.tsx +0 -273
- package/src/item/Item.tsx +0 -181
- package/src/item/index.ts +0 -6
- package/src/item/useItemControl.tsx +0 -12
- /package/build/{listItem → legacylistItem}/List.js +0 -0
- /package/build/{listItem → legacylistItem}/List.mjs +0 -0
- /package/build/types/{listItem → legacylistItem}/List.d.ts +0 -0
- /package/build/types/{item → listItem}/prompt/Prompt.d.ts +0 -0
- /package/src/{listItem/ListItem.spec.tsx → legacylistItem/LegacyListItem.spec.tsx} +0 -0
- /package/src/{listItem → legacylistItem}/List.tsx +0 -0
- /package/src/{item/ItemButton.tsx → listItem/ListItemButton.tsx} +0 -0
- /package/src/{item/ItemCheckbox.tsx → listItem/ListItemCheckbox.tsx} +0 -0
- /package/src/{item/ItemIconButton.tsx → listItem/ListItemIconButton.tsx} +0 -0
- /package/src/{item/ItemMedia.tsx → listItem/ListItemMedia.tsx} +0 -0
- /package/src/{item/ItemNavigation.tsx → listItem/ListItemNavigation.tsx} +0 -0
- /package/src/{item/ItemSwitch.tsx → listItem/ListItemSwitch.tsx} +0 -0
- /package/src/{item → listItem}/prompt/Prompt.spec.tsx +0 -0
- /package/src/{item → listItem}/prompt/Prompt.story.tsx +0 -0
- /package/src/{item → listItem}/prompt/Prompt.tsx +0 -0
|
@@ -3,9 +3,9 @@
|
|
|
3
3
|
/**
|
|
4
4
|
*
|
|
5
5
|
* @param phoneNumber
|
|
6
|
-
* @returns True if number that starts with "+" and contains a mix of digits and spaces with
|
|
6
|
+
* @returns True if number that starts with "+" and contains a mix of digits and spaces with a configurable min length that defaults to 4.
|
|
7
7
|
*/
|
|
8
|
-
const isValidPhoneNumber = phoneNumber => /^\+[\d-\s]+$/.test(phoneNumber) && (phoneNumber.match(/\d+/g)?.join('').length ?? 0) >=
|
|
8
|
+
const isValidPhoneNumber = (phoneNumber, minLength = 4) => /^\+[\d-\s]+$/.test(phoneNumber) && (phoneNumber.match(/\d+/g)?.join('').length ?? 0) >= minLength;
|
|
9
9
|
|
|
10
10
|
exports.isValidPhoneNumber = isValidPhoneNumber;
|
|
11
11
|
//# sourceMappingURL=isValidPhoneNumber.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"isValidPhoneNumber.js","sources":["../../../../src/phoneNumberInput/utils/isValidPhoneNumber/isValidPhoneNumber.ts"],"sourcesContent":["/**\n *\n * @param phoneNumber\n * @returns True if number that starts with \"+\" and contains a mix of digits and spaces with
|
|
1
|
+
{"version":3,"file":"isValidPhoneNumber.js","sources":["../../../../src/phoneNumberInput/utils/isValidPhoneNumber/isValidPhoneNumber.ts"],"sourcesContent":["/**\n *\n * @param phoneNumber\n * @returns True if number that starts with \"+\" and contains a mix of digits and spaces with a configurable min length that defaults to 4.\n */\nexport const isValidPhoneNumber = (phoneNumber: string, minLength = 4) =>\n /^\\+[\\d-\\s]+$/.test(phoneNumber) &&\n (phoneNumber.match(/\\d+/g)?.join('').length ?? 0) >= minLength;\n"],"names":["isValidPhoneNumber","phoneNumber","minLength","test","match","join","length"],"mappings":";;AAAA;;;;AAIG;AACUA,MAAAA,kBAAkB,GAAGA,CAACC,WAAmB,EAAEC,SAAS,GAAG,CAAC,KACnE,cAAc,CAACC,IAAI,CAACF,WAAW,CAAC,IAChC,CAACA,WAAW,CAACG,KAAK,CAAC,MAAM,CAAC,EAAEC,IAAI,CAAC,EAAE,CAAC,CAACC,MAAM,IAAI,CAAC,KAAKJ;;;;"}
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
/**
|
|
2
2
|
*
|
|
3
3
|
* @param phoneNumber
|
|
4
|
-
* @returns True if number that starts with "+" and contains a mix of digits and spaces with
|
|
4
|
+
* @returns True if number that starts with "+" and contains a mix of digits and spaces with a configurable min length that defaults to 4.
|
|
5
5
|
*/
|
|
6
|
-
const isValidPhoneNumber = phoneNumber => /^\+[\d-\s]+$/.test(phoneNumber) && (phoneNumber.match(/\d+/g)?.join('').length ?? 0) >=
|
|
6
|
+
const isValidPhoneNumber = (phoneNumber, minLength = 4) => /^\+[\d-\s]+$/.test(phoneNumber) && (phoneNumber.match(/\d+/g)?.join('').length ?? 0) >= minLength;
|
|
7
7
|
|
|
8
8
|
export { isValidPhoneNumber };
|
|
9
9
|
//# sourceMappingURL=isValidPhoneNumber.mjs.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"isValidPhoneNumber.mjs","sources":["../../../../src/phoneNumberInput/utils/isValidPhoneNumber/isValidPhoneNumber.ts"],"sourcesContent":["/**\n *\n * @param phoneNumber\n * @returns True if number that starts with \"+\" and contains a mix of digits and spaces with
|
|
1
|
+
{"version":3,"file":"isValidPhoneNumber.mjs","sources":["../../../../src/phoneNumberInput/utils/isValidPhoneNumber/isValidPhoneNumber.ts"],"sourcesContent":["/**\n *\n * @param phoneNumber\n * @returns True if number that starts with \"+\" and contains a mix of digits and spaces with a configurable min length that defaults to 4.\n */\nexport const isValidPhoneNumber = (phoneNumber: string, minLength = 4) =>\n /^\\+[\\d-\\s]+$/.test(phoneNumber) &&\n (phoneNumber.match(/\\d+/g)?.join('').length ?? 0) >= minLength;\n"],"names":["isValidPhoneNumber","phoneNumber","minLength","test","match","join","length"],"mappings":"AAAA;;;;AAIG;AACUA,MAAAA,kBAAkB,GAAGA,CAACC,WAAmB,EAAEC,SAAS,GAAG,CAAC,KACnE,cAAc,CAACC,IAAI,CAACF,WAAW,CAAC,IAChC,CAACA,WAAW,CAACG,KAAK,CAAC,MAAM,CAAC,EAAEC,IAAI,CAAC,EAAE,CAAC,CAACC,MAAM,IAAI,CAAC,KAAKJ;;;;"}
|
|
@@ -1,6 +1,188 @@
|
|
|
1
|
-
.
|
|
1
|
+
.wds-list-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
|
+
gap: 16px;
|
|
9
|
+
gap: var(--size-16);
|
|
10
|
+
}
|
|
11
|
+
.wds-list-item-interactive {
|
|
12
|
+
cursor: pointer;
|
|
13
|
+
}
|
|
14
|
+
.wds-list-item-interactive:hover {
|
|
15
|
+
background-color: var(--color-background-screen-hover);
|
|
16
|
+
}
|
|
17
|
+
.wds-list-item-interactive:active {
|
|
18
|
+
background-color: var(--color-background-screen-active);
|
|
19
|
+
}
|
|
20
|
+
.wds-list-item-media-image {
|
|
21
|
+
width: var(--item-media-image-size);
|
|
22
|
+
height: var(--item-media-image-size);
|
|
23
|
+
}
|
|
24
|
+
.wds-list-item-body {
|
|
2
25
|
width: 100%;
|
|
3
26
|
}
|
|
4
|
-
.
|
|
5
|
-
|
|
27
|
+
.wds-list-item-title {
|
|
28
|
+
color: #37517e;
|
|
29
|
+
color: var(--color-content-primary);
|
|
30
|
+
}
|
|
31
|
+
.wds-list-item-additional-info {
|
|
32
|
+
color: #768e9c;
|
|
33
|
+
color: var(--color-content-tertiary);
|
|
34
|
+
}
|
|
35
|
+
.wds-list-item-value {
|
|
36
|
+
flex: 0 0 auto;
|
|
37
|
+
}
|
|
38
|
+
.wds-list-item-control {
|
|
39
|
+
flex: 0 0 auto;
|
|
40
|
+
}
|
|
41
|
+
.wds-list-item-spotlight-active {
|
|
42
|
+
background-color: rgba(134,167,189,0.10196);
|
|
43
|
+
background-color: var(--color-background-neutral);
|
|
44
|
+
}
|
|
45
|
+
.wds-list-item-spotlight-active:hover {
|
|
46
|
+
background-color: var(--color-background-neutral-hover);
|
|
47
|
+
}
|
|
48
|
+
.wds-list-item-spotlight-active:active {
|
|
49
|
+
background-color: var(--color-background-neutral-active);
|
|
50
|
+
}
|
|
51
|
+
.wds-list-item-spotlight-inactive {
|
|
52
|
+
background-color: rgba(134, 167, 189, 0.025);
|
|
53
|
+
border: 1px dashed rgba(0,0,0,0.10196);
|
|
54
|
+
border: 1px dashed var(--color-border-neutral);
|
|
55
|
+
}
|
|
56
|
+
@supports (color: color-mix(in lch, red, blue)) {
|
|
57
|
+
.wds-list-item-spotlight-inactive {
|
|
58
|
+
background-color: color-mix(in srgb, var(--color-background-neutral) 25%, transparent);
|
|
59
|
+
}
|
|
60
|
+
}
|
|
61
|
+
.wds-list-item-spotlight-inactive:hover {
|
|
62
|
+
background-color: color-mix(in srgb, var(--color-background-neutral-hover) 25%, transparent);
|
|
63
|
+
}
|
|
64
|
+
.wds-list-item-spotlight-inactive:active {
|
|
65
|
+
background-color: color-mix(in srgb, var(--color-background-neutral-active) 25%, transparent);
|
|
66
|
+
}
|
|
67
|
+
.wds-list-item-prompt {
|
|
68
|
+
display: inline-flex;
|
|
69
|
+
padding-top: calc(8px / 2);
|
|
70
|
+
padding-top: calc(var(--padding-x-small) / 2);
|
|
71
|
+
padding-bottom: calc(8px / 2);
|
|
72
|
+
padding-bottom: calc(var(--padding-x-small) / 2);
|
|
73
|
+
padding-left: calc(8px - 1px);
|
|
74
|
+
padding-left: calc(var(--padding-x-small) - 1px);
|
|
75
|
+
padding-right: 8px;
|
|
76
|
+
padding-right: var(--padding-x-small);
|
|
77
|
+
border-radius: 10px;
|
|
78
|
+
border-radius: var(--radius-small);
|
|
79
|
+
word-break: break-word;
|
|
80
|
+
word-wrap: break-word;
|
|
81
|
+
}
|
|
82
|
+
.wds-list-item-prompt .np-prompt-icon {
|
|
83
|
+
padding-right: calc(12px / 2);
|
|
84
|
+
padding-right: calc(var(--size-12) / 2);
|
|
85
|
+
padding-top: calc(4px - 1px);
|
|
86
|
+
padding-top: calc(var(--size-4) - 1px);
|
|
87
|
+
padding-bottom: calc(4px - 1px);
|
|
88
|
+
padding-bottom: calc(var(--size-4) - 1px);
|
|
89
|
+
}
|
|
90
|
+
.wds-list-item-prompt .np-prompt-icon .tw-icon-tags,
|
|
91
|
+
.wds-list-item-prompt .np-prompt-icon .tw-icon-confetti {
|
|
92
|
+
color: var(--color-sentiment-positive-primary);
|
|
93
|
+
}
|
|
94
|
+
.wds-list-item-prompt a {
|
|
95
|
+
text-underline-offset: calc(4px / 2);
|
|
96
|
+
text-underline-offset: calc(var(--size-4) / 2);
|
|
97
|
+
}
|
|
98
|
+
.wds-list-item-prompt.np-prompt-interactive {
|
|
99
|
+
-webkit-text-decoration: none;
|
|
100
|
+
text-decoration: none;
|
|
101
|
+
cursor: pointer;
|
|
102
|
+
border: none;
|
|
103
|
+
}
|
|
104
|
+
.wds-list-item-prompt.negative {
|
|
105
|
+
background-color: var(--color-sentiment-negative-secondary);
|
|
106
|
+
color: var(--color-sentiment-negative-primary);
|
|
107
|
+
}
|
|
108
|
+
.wds-list-item-prompt.negative a {
|
|
109
|
+
color: var(--color-sentiment-negative-primary);
|
|
110
|
+
}
|
|
111
|
+
.wds-list-item-prompt.negative a:hover {
|
|
112
|
+
color: var(--color-sentiment-negative-primary-hover);
|
|
113
|
+
}
|
|
114
|
+
.wds-list-item-prompt.negative a:active {
|
|
115
|
+
color: var(--color-sentiment-negative-primary-active);
|
|
116
|
+
}
|
|
117
|
+
.np-prompt-interactive.wds-list-item-prompt.negative:hover {
|
|
118
|
+
background-color: color-mix(in srgb, var(--color-sentiment-negative-secondary) 95%, var(--color-sentiment-negative-primary));
|
|
119
|
+
}
|
|
120
|
+
.np-prompt-interactive.wds-list-item-prompt.negative:active {
|
|
121
|
+
background-color: color-mix(in srgb, var(--color-sentiment-negative-secondary) 90%, var(--color-sentiment-negative-primary));
|
|
122
|
+
}
|
|
123
|
+
.wds-list-item-prompt.positive,
|
|
124
|
+
.wds-list-item-prompt.discount,
|
|
125
|
+
.wds-list-item-prompt.savings {
|
|
126
|
+
background-color: var(--color-sentiment-positive-secondary);
|
|
127
|
+
color: var(--color-sentiment-positive-primary);
|
|
128
|
+
}
|
|
129
|
+
.wds-list-item-prompt.positive a,
|
|
130
|
+
.wds-list-item-prompt.discount a,
|
|
131
|
+
.wds-list-item-prompt.savings a {
|
|
132
|
+
color: var(--color-sentiment-positive-primary);
|
|
133
|
+
}
|
|
134
|
+
.wds-list-item-prompt.positive a:hover,
|
|
135
|
+
.wds-list-item-prompt.discount a:hover,
|
|
136
|
+
.wds-list-item-prompt.savings a:hover {
|
|
137
|
+
color: var(--color-sentiment-positive-primary-hover);
|
|
138
|
+
}
|
|
139
|
+
.wds-list-item-prompt.positive a:active,
|
|
140
|
+
.wds-list-item-prompt.discount a:active,
|
|
141
|
+
.wds-list-item-prompt.savings a:active {
|
|
142
|
+
color: var(--color-sentiment-positive-primary-active);
|
|
143
|
+
}
|
|
144
|
+
.np-prompt-interactive.wds-list-item-prompt.positive:hover,
|
|
145
|
+
.np-prompt-interactive.wds-list-item-prompt.discount:hover,
|
|
146
|
+
.np-prompt-interactive.wds-list-item-prompt.savings:hover {
|
|
147
|
+
background-color: color-mix(in srgb, var(--color-sentiment-positive-secondary) 95%, var(--color-sentiment-positive-primary));
|
|
148
|
+
}
|
|
149
|
+
.np-prompt-interactive.wds-list-item-prompt.positive:active,
|
|
150
|
+
.np-prompt-interactive.wds-list-item-prompt.discount:active,
|
|
151
|
+
.np-prompt-interactive.wds-list-item-prompt.savings:active {
|
|
152
|
+
background-color: color-mix(in srgb, var(--color-sentiment-positive-secondary) 90%, var(--color-sentiment-positive-primary));
|
|
153
|
+
}
|
|
154
|
+
.wds-list-item-prompt.neutral {
|
|
155
|
+
background-color: rgba(134,167,189,0.10196);
|
|
156
|
+
background-color: var(--color-background-neutral);
|
|
157
|
+
color: #37517e;
|
|
158
|
+
color: var(--color-content-primary);
|
|
159
|
+
}
|
|
160
|
+
.wds-list-item-prompt.neutral a {
|
|
161
|
+
color: #37517e;
|
|
162
|
+
color: var(--color-content-primary);
|
|
163
|
+
}
|
|
164
|
+
.np-prompt-interactive.wds-list-item-prompt.neutral:hover {
|
|
165
|
+
background-color: var(--color-background-neutral-hover);
|
|
166
|
+
}
|
|
167
|
+
.np-prompt-interactive.wds-list-item-prompt.neutral:active {
|
|
168
|
+
background-color: var(--color-background-neutral-active);
|
|
169
|
+
}
|
|
170
|
+
.wds-list-item-prompt.warning {
|
|
171
|
+
background-color: var(--color-sentiment-warning-secondary);
|
|
172
|
+
color: var(--color-sentiment-warning-content);
|
|
173
|
+
}
|
|
174
|
+
.wds-list-item-prompt.warning a {
|
|
175
|
+
color: var(--color-sentiment-warning-content);
|
|
176
|
+
}
|
|
177
|
+
.wds-list-item-prompt.warning a:hover {
|
|
178
|
+
color: var(--color-sentiment-warning-content-hover);
|
|
179
|
+
}
|
|
180
|
+
.wds-list-item-prompt.warning a:active {
|
|
181
|
+
color: var(--color-sentiment-warning-content-active);
|
|
182
|
+
}
|
|
183
|
+
.np-prompt-interactive.wds-list-item-prompt.warning:hover {
|
|
184
|
+
background-color: color-mix(in srgb, var(--color-sentiment-warning-secondary) 90%, var(--color-sentiment-warning-primary));
|
|
185
|
+
}
|
|
186
|
+
.np-prompt-interactive.wds-list-item-prompt.warning:active {
|
|
187
|
+
background-color: color-mix(in srgb, var(--color-sentiment-warning-secondary) 80%, var(--color-sentiment-warning-primary));
|
|
6
188
|
}
|
package/build/styles/main.css
CHANGED
|
@@ -2648,7 +2648,7 @@ 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
|
-
.
|
|
2651
|
+
.wds-list-item {
|
|
2652
2652
|
padding: 16px;
|
|
2653
2653
|
padding: var(--size-16);
|
|
2654
2654
|
border-radius: 24px;
|
|
@@ -2658,63 +2658,63 @@ html:not([dir="rtl"]) .np-flow-navigation--sm .np-flow-navigation__stepper {
|
|
|
2658
2658
|
gap: 16px;
|
|
2659
2659
|
gap: var(--size-16);
|
|
2660
2660
|
}
|
|
2661
|
-
.
|
|
2661
|
+
.wds-list-item-interactive {
|
|
2662
2662
|
cursor: pointer;
|
|
2663
2663
|
}
|
|
2664
|
-
.
|
|
2664
|
+
.wds-list-item-interactive:hover {
|
|
2665
2665
|
background-color: var(--color-background-screen-hover);
|
|
2666
2666
|
}
|
|
2667
|
-
.
|
|
2667
|
+
.wds-list-item-interactive:active {
|
|
2668
2668
|
background-color: var(--color-background-screen-active);
|
|
2669
2669
|
}
|
|
2670
|
-
.
|
|
2670
|
+
.wds-list-item-media-image {
|
|
2671
2671
|
width: var(--item-media-image-size);
|
|
2672
2672
|
height: var(--item-media-image-size);
|
|
2673
2673
|
}
|
|
2674
|
-
.
|
|
2674
|
+
.wds-list-item-body {
|
|
2675
2675
|
width: 100%;
|
|
2676
2676
|
}
|
|
2677
|
-
.
|
|
2677
|
+
.wds-list-item-title {
|
|
2678
2678
|
color: #37517e;
|
|
2679
2679
|
color: var(--color-content-primary);
|
|
2680
2680
|
}
|
|
2681
|
-
.
|
|
2681
|
+
.wds-list-item-additional-info {
|
|
2682
2682
|
color: #768e9c;
|
|
2683
2683
|
color: var(--color-content-tertiary);
|
|
2684
2684
|
}
|
|
2685
|
-
.
|
|
2685
|
+
.wds-list-item-value {
|
|
2686
2686
|
flex: 0 0 auto;
|
|
2687
2687
|
}
|
|
2688
|
-
.
|
|
2688
|
+
.wds-list-item-control {
|
|
2689
2689
|
flex: 0 0 auto;
|
|
2690
2690
|
}
|
|
2691
|
-
.
|
|
2691
|
+
.wds-list-item-spotlight-active {
|
|
2692
2692
|
background-color: rgba(134,167,189,0.10196);
|
|
2693
2693
|
background-color: var(--color-background-neutral);
|
|
2694
2694
|
}
|
|
2695
|
-
.
|
|
2695
|
+
.wds-list-item-spotlight-active:hover {
|
|
2696
2696
|
background-color: var(--color-background-neutral-hover);
|
|
2697
2697
|
}
|
|
2698
|
-
.
|
|
2698
|
+
.wds-list-item-spotlight-active:active {
|
|
2699
2699
|
background-color: var(--color-background-neutral-active);
|
|
2700
2700
|
}
|
|
2701
|
-
.
|
|
2701
|
+
.wds-list-item-spotlight-inactive {
|
|
2702
2702
|
background-color: rgba(134, 167, 189, 0.025);
|
|
2703
2703
|
border: 1px dashed rgba(0,0,0,0.10196);
|
|
2704
2704
|
border: 1px dashed var(--color-border-neutral);
|
|
2705
2705
|
}
|
|
2706
2706
|
@supports (color: color-mix(in lch, red, blue)) {
|
|
2707
|
-
.
|
|
2707
|
+
.wds-list-item-spotlight-inactive {
|
|
2708
2708
|
background-color: color-mix(in srgb, var(--color-background-neutral) 25%, transparent);
|
|
2709
2709
|
}
|
|
2710
2710
|
}
|
|
2711
|
-
.
|
|
2711
|
+
.wds-list-item-spotlight-inactive:hover {
|
|
2712
2712
|
background-color: color-mix(in srgb, var(--color-background-neutral-hover) 25%, transparent);
|
|
2713
2713
|
}
|
|
2714
|
-
.
|
|
2714
|
+
.wds-list-item-spotlight-inactive:active {
|
|
2715
2715
|
background-color: color-mix(in srgb, var(--color-background-neutral-active) 25%, transparent);
|
|
2716
2716
|
}
|
|
2717
|
-
.
|
|
2717
|
+
.wds-list-item-prompt {
|
|
2718
2718
|
display: inline-flex;
|
|
2719
2719
|
padding-top: calc(8px / 2);
|
|
2720
2720
|
padding-top: calc(var(--padding-x-small) / 2);
|
|
@@ -2729,7 +2729,7 @@ html:not([dir="rtl"]) .np-flow-navigation--sm .np-flow-navigation__stepper {
|
|
|
2729
2729
|
word-break: break-word;
|
|
2730
2730
|
word-wrap: break-word;
|
|
2731
2731
|
}
|
|
2732
|
-
.
|
|
2732
|
+
.wds-list-item-prompt .np-prompt-icon {
|
|
2733
2733
|
padding-right: calc(12px / 2);
|
|
2734
2734
|
padding-right: calc(var(--size-12) / 2);
|
|
2735
2735
|
padding-top: calc(4px - 1px);
|
|
@@ -2737,103 +2737,103 @@ html:not([dir="rtl"]) .np-flow-navigation--sm .np-flow-navigation__stepper {
|
|
|
2737
2737
|
padding-bottom: calc(4px - 1px);
|
|
2738
2738
|
padding-bottom: calc(var(--size-4) - 1px);
|
|
2739
2739
|
}
|
|
2740
|
-
.
|
|
2741
|
-
.
|
|
2740
|
+
.wds-list-item-prompt .np-prompt-icon .tw-icon-tags,
|
|
2741
|
+
.wds-list-item-prompt .np-prompt-icon .tw-icon-confetti {
|
|
2742
2742
|
color: var(--color-sentiment-positive-primary);
|
|
2743
2743
|
}
|
|
2744
|
-
.
|
|
2744
|
+
.wds-list-item-prompt a {
|
|
2745
2745
|
text-underline-offset: calc(4px / 2);
|
|
2746
2746
|
text-underline-offset: calc(var(--size-4) / 2);
|
|
2747
2747
|
}
|
|
2748
|
-
.
|
|
2748
|
+
.wds-list-item-prompt.np-prompt-interactive {
|
|
2749
2749
|
-webkit-text-decoration: none;
|
|
2750
2750
|
text-decoration: none;
|
|
2751
2751
|
cursor: pointer;
|
|
2752
2752
|
border: none;
|
|
2753
2753
|
}
|
|
2754
|
-
.
|
|
2754
|
+
.wds-list-item-prompt.negative {
|
|
2755
2755
|
background-color: var(--color-sentiment-negative-secondary);
|
|
2756
2756
|
color: var(--color-sentiment-negative-primary);
|
|
2757
2757
|
}
|
|
2758
|
-
.
|
|
2758
|
+
.wds-list-item-prompt.negative a {
|
|
2759
2759
|
color: var(--color-sentiment-negative-primary);
|
|
2760
2760
|
}
|
|
2761
|
-
.
|
|
2761
|
+
.wds-list-item-prompt.negative a:hover {
|
|
2762
2762
|
color: var(--color-sentiment-negative-primary-hover);
|
|
2763
2763
|
}
|
|
2764
|
-
.
|
|
2764
|
+
.wds-list-item-prompt.negative a:active {
|
|
2765
2765
|
color: var(--color-sentiment-negative-primary-active);
|
|
2766
2766
|
}
|
|
2767
|
-
.np-prompt-interactive.
|
|
2767
|
+
.np-prompt-interactive.wds-list-item-prompt.negative:hover {
|
|
2768
2768
|
background-color: color-mix(in srgb, var(--color-sentiment-negative-secondary) 95%, var(--color-sentiment-negative-primary));
|
|
2769
2769
|
}
|
|
2770
|
-
.np-prompt-interactive.
|
|
2770
|
+
.np-prompt-interactive.wds-list-item-prompt.negative:active {
|
|
2771
2771
|
background-color: color-mix(in srgb, var(--color-sentiment-negative-secondary) 90%, var(--color-sentiment-negative-primary));
|
|
2772
2772
|
}
|
|
2773
|
-
.
|
|
2774
|
-
.
|
|
2775
|
-
.
|
|
2773
|
+
.wds-list-item-prompt.positive,
|
|
2774
|
+
.wds-list-item-prompt.discount,
|
|
2775
|
+
.wds-list-item-prompt.savings {
|
|
2776
2776
|
background-color: var(--color-sentiment-positive-secondary);
|
|
2777
2777
|
color: var(--color-sentiment-positive-primary);
|
|
2778
2778
|
}
|
|
2779
|
-
.
|
|
2780
|
-
.
|
|
2781
|
-
.
|
|
2779
|
+
.wds-list-item-prompt.positive a,
|
|
2780
|
+
.wds-list-item-prompt.discount a,
|
|
2781
|
+
.wds-list-item-prompt.savings a {
|
|
2782
2782
|
color: var(--color-sentiment-positive-primary);
|
|
2783
2783
|
}
|
|
2784
|
-
.
|
|
2785
|
-
.
|
|
2786
|
-
.
|
|
2784
|
+
.wds-list-item-prompt.positive a:hover,
|
|
2785
|
+
.wds-list-item-prompt.discount a:hover,
|
|
2786
|
+
.wds-list-item-prompt.savings a:hover {
|
|
2787
2787
|
color: var(--color-sentiment-positive-primary-hover);
|
|
2788
2788
|
}
|
|
2789
|
-
.
|
|
2790
|
-
.
|
|
2791
|
-
.
|
|
2789
|
+
.wds-list-item-prompt.positive a:active,
|
|
2790
|
+
.wds-list-item-prompt.discount a:active,
|
|
2791
|
+
.wds-list-item-prompt.savings a:active {
|
|
2792
2792
|
color: var(--color-sentiment-positive-primary-active);
|
|
2793
2793
|
}
|
|
2794
|
-
.np-prompt-interactive.
|
|
2795
|
-
.np-prompt-interactive.
|
|
2796
|
-
.np-prompt-interactive.
|
|
2794
|
+
.np-prompt-interactive.wds-list-item-prompt.positive:hover,
|
|
2795
|
+
.np-prompt-interactive.wds-list-item-prompt.discount:hover,
|
|
2796
|
+
.np-prompt-interactive.wds-list-item-prompt.savings:hover {
|
|
2797
2797
|
background-color: color-mix(in srgb, var(--color-sentiment-positive-secondary) 95%, var(--color-sentiment-positive-primary));
|
|
2798
2798
|
}
|
|
2799
|
-
.np-prompt-interactive.
|
|
2800
|
-
.np-prompt-interactive.
|
|
2801
|
-
.np-prompt-interactive.
|
|
2799
|
+
.np-prompt-interactive.wds-list-item-prompt.positive:active,
|
|
2800
|
+
.np-prompt-interactive.wds-list-item-prompt.discount:active,
|
|
2801
|
+
.np-prompt-interactive.wds-list-item-prompt.savings:active {
|
|
2802
2802
|
background-color: color-mix(in srgb, var(--color-sentiment-positive-secondary) 90%, var(--color-sentiment-positive-primary));
|
|
2803
2803
|
}
|
|
2804
|
-
.
|
|
2804
|
+
.wds-list-item-prompt.neutral {
|
|
2805
2805
|
background-color: rgba(134,167,189,0.10196);
|
|
2806
2806
|
background-color: var(--color-background-neutral);
|
|
2807
2807
|
color: #37517e;
|
|
2808
2808
|
color: var(--color-content-primary);
|
|
2809
2809
|
}
|
|
2810
|
-
.
|
|
2810
|
+
.wds-list-item-prompt.neutral a {
|
|
2811
2811
|
color: #37517e;
|
|
2812
2812
|
color: var(--color-content-primary);
|
|
2813
2813
|
}
|
|
2814
|
-
.np-prompt-interactive.
|
|
2814
|
+
.np-prompt-interactive.wds-list-item-prompt.neutral:hover {
|
|
2815
2815
|
background-color: var(--color-background-neutral-hover);
|
|
2816
2816
|
}
|
|
2817
|
-
.np-prompt-interactive.
|
|
2817
|
+
.np-prompt-interactive.wds-list-item-prompt.neutral:active {
|
|
2818
2818
|
background-color: var(--color-background-neutral-active);
|
|
2819
2819
|
}
|
|
2820
|
-
.
|
|
2820
|
+
.wds-list-item-prompt.warning {
|
|
2821
2821
|
background-color: var(--color-sentiment-warning-secondary);
|
|
2822
2822
|
color: var(--color-sentiment-warning-content);
|
|
2823
2823
|
}
|
|
2824
|
-
.
|
|
2824
|
+
.wds-list-item-prompt.warning a {
|
|
2825
2825
|
color: var(--color-sentiment-warning-content);
|
|
2826
2826
|
}
|
|
2827
|
-
.
|
|
2827
|
+
.wds-list-item-prompt.warning a:hover {
|
|
2828
2828
|
color: var(--color-sentiment-warning-content-hover);
|
|
2829
2829
|
}
|
|
2830
|
-
.
|
|
2830
|
+
.wds-list-item-prompt.warning a:active {
|
|
2831
2831
|
color: var(--color-sentiment-warning-content-active);
|
|
2832
2832
|
}
|
|
2833
|
-
.np-prompt-interactive.
|
|
2833
|
+
.np-prompt-interactive.wds-list-item-prompt.warning:hover {
|
|
2834
2834
|
background-color: color-mix(in srgb, var(--color-sentiment-warning-secondary) 90%, var(--color-sentiment-warning-primary));
|
|
2835
2835
|
}
|
|
2836
|
-
.np-prompt-interactive.
|
|
2836
|
+
.np-prompt-interactive.wds-list-item-prompt.warning:active {
|
|
2837
2837
|
background-color: color-mix(in srgb, var(--color-sentiment-warning-secondary) 80%, var(--color-sentiment-warning-primary));
|
|
2838
2838
|
}
|
|
2839
2839
|
.np-field-control {
|
|
@@ -5353,6 +5353,9 @@ html:not([dir="rtl"]) .np-navigation-option {
|
|
|
5353
5353
|
width: 50px;
|
|
5354
5354
|
padding: 2px;
|
|
5355
5355
|
border-radius: 16px;
|
|
5356
|
+
-webkit-user-select: none;
|
|
5357
|
+
-moz-user-select: none;
|
|
5358
|
+
user-select: none;
|
|
5356
5359
|
}
|
|
5357
5360
|
.np-switch:focus {
|
|
5358
5361
|
outline: none;
|
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, LegacyListItemProps } from './legacylistItem';
|
|
38
38
|
export type { LoaderProps } from './loader';
|
|
39
39
|
export type { MarkdownProps } from './markdown';
|
|
40
40
|
export type { ModalProps } from './modal';
|
|
@@ -72,7 +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 './
|
|
75
|
+
export type { ItemProps, ItemAdditionalInfoProps, ItemCheckboxProps } from './listItem';
|
|
76
76
|
/**
|
|
77
77
|
* Components
|
|
78
78
|
*/
|
|
@@ -126,7 +126,7 @@ export { TextArea } from './inputs/TextArea';
|
|
|
126
126
|
export { default as InstructionsList } from './instructionsList';
|
|
127
127
|
export { Label } from './label/Label';
|
|
128
128
|
export { default as Link } from './link';
|
|
129
|
-
export { List, default as
|
|
129
|
+
export { List, default as LegacyListItem } from './legacylistItem';
|
|
130
130
|
export { default as Loader } from './loader';
|
|
131
131
|
export { default as Logo } from './logo';
|
|
132
132
|
export { default as Markdown } from './markdown';
|
|
@@ -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,U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AC1C,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,13 @@
|
|
|
1
|
+
import { ElementType, FC, ReactNode } from 'react';
|
|
2
|
+
export type LegacyListItemProps = {
|
|
3
|
+
title: ReactNode;
|
|
4
|
+
value: ReactNode;
|
|
5
|
+
media?: ReactNode;
|
|
6
|
+
action?: ReactNode;
|
|
7
|
+
className?: string;
|
|
8
|
+
isContainerAligned?: boolean;
|
|
9
|
+
as?: ElementType;
|
|
10
|
+
};
|
|
11
|
+
declare const LegacyListItem: FC<LegacyListItemProps>;
|
|
12
|
+
export default LegacyListItem;
|
|
13
|
+
//# sourceMappingURL=LegacyListItem.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"LegacyListItem.d.ts","sourceRoot":"","sources":["../../../src/legacylistItem/LegacyListItem.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,WAAW,EAAE,EAAE,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAInD,MAAM,MAAM,mBAAmB,GAAG;IAChC,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,cAAc,EAAE,EAAE,CAAC,mBAAmB,CAmC3C,CAAC;AAEF,eAAe,cAAc,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"List.d.ts","sourceRoot":"","sources":["../../../src/legacylistItem/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"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/legacylistItem/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,kBAAkB,CAAC;AAC3C,YAAY,EAAE,mBAAmB,EAAE,MAAM,kBAAkB,CAAC"}
|