@transferwise/components 46.128.3 → 46.130.0
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/alert/Alert.js +1 -1
- package/build/alert/Alert.mjs +1 -1
- package/build/card/Card.js.map +1 -1
- package/build/card/Card.mjs.map +1 -1
- package/build/common/{card/Card.js → baseCard/BaseCard.js} +4 -4
- package/build/common/baseCard/BaseCard.js.map +1 -0
- package/build/common/{card/Card.mjs → baseCard/BaseCard.mjs} +4 -4
- package/build/common/baseCard/BaseCard.mjs.map +1 -0
- package/build/common/liveRegion/LiveRegion.js +42 -0
- package/build/common/liveRegion/LiveRegion.js.map +1 -0
- package/build/common/liveRegion/LiveRegion.mjs +40 -0
- package/build/common/liveRegion/LiveRegion.mjs.map +1 -0
- package/build/criticalBanner/CriticalCommsBanner.js +68 -3
- package/build/criticalBanner/CriticalCommsBanner.js.map +1 -1
- package/build/criticalBanner/CriticalCommsBanner.mjs +69 -4
- package/build/criticalBanner/CriticalCommsBanner.mjs.map +1 -1
- package/build/flowNavigation/FlowNavigation.js +1 -1
- package/build/flowNavigation/FlowNavigation.mjs +1 -1
- package/build/index.js +4 -4
- package/build/index.mjs +1 -1
- package/build/inputs/SelectInput.js +1 -1
- package/build/inputs/SelectInput.js.map +1 -1
- package/build/inputs/SelectInput.mjs +1 -1
- package/build/inputs/SelectInput.mjs.map +1 -1
- package/build/inputs/_ButtonInput.js +2 -2
- package/build/inputs/_ButtonInput.js.map +1 -1
- package/build/inputs/_ButtonInput.mjs +2 -2
- package/build/inputs/_ButtonInput.mjs.map +1 -1
- package/build/main.css +191 -165
- package/build/overlayHeader/OverlayHeader.js +1 -1
- package/build/overlayHeader/OverlayHeader.mjs +1 -1
- package/build/promoCard/PromoCard.js +2 -2
- package/build/promoCard/PromoCard.js.map +1 -1
- package/build/promoCard/PromoCard.mjs +2 -2
- package/build/promoCard/PromoCard.mjs.map +1 -1
- package/build/prompt/InfoPrompt/InfoPrompt.js +35 -29
- package/build/prompt/InfoPrompt/InfoPrompt.js.map +1 -1
- package/build/prompt/InfoPrompt/InfoPrompt.mjs +35 -29
- package/build/prompt/InfoPrompt/InfoPrompt.mjs.map +1 -1
- package/build/sentimentSurface/SentimentSurface.js +5 -1
- package/build/sentimentSurface/SentimentSurface.js.map +1 -1
- package/build/sentimentSurface/SentimentSurface.mjs +5 -1
- package/build/sentimentSurface/SentimentSurface.mjs.map +1 -1
- package/build/styles/criticalBanner/CriticalCommsBanner.css +33 -15
- package/build/styles/inputs/SelectInput.css +8 -0
- package/build/styles/listItem/ListItem.css +1 -1
- package/build/styles/main.css +191 -165
- package/build/styles/sentimentSurface/SentimentSurface.css +100 -100
- package/build/types/card/Card.d.ts +1 -1
- package/build/types/common/{card/Card.d.ts → baseCard/BaseCard.d.ts} +8 -8
- package/build/types/common/baseCard/BaseCard.d.ts.map +1 -0
- package/build/types/common/baseCard/index.d.ts +3 -0
- package/build/types/common/baseCard/index.d.ts.map +1 -0
- package/build/types/common/index.d.ts +2 -0
- package/build/types/common/index.d.ts.map +1 -1
- package/build/types/common/liveRegion/LiveRegion.d.ts +23 -0
- package/build/types/common/liveRegion/LiveRegion.d.ts.map +1 -0
- package/build/types/common/liveRegion/index.d.ts +3 -0
- package/build/types/common/liveRegion/index.d.ts.map +1 -0
- package/build/types/criticalBanner/CriticalCommsBanner.d.ts +4 -1
- package/build/types/criticalBanner/CriticalCommsBanner.d.ts.map +1 -1
- package/build/types/criticalBanner/index.d.ts +1 -0
- package/build/types/criticalBanner/index.d.ts.map +1 -1
- package/build/types/index.d.ts +2 -1
- package/build/types/index.d.ts.map +1 -1
- package/build/types/inputs/SelectInput.d.ts.map +1 -1
- package/build/types/promoCard/PromoCard.d.ts +3 -3
- package/build/types/promoCard/PromoCard.d.ts.map +1 -1
- package/build/types/prompt/InfoPrompt/InfoPrompt.d.ts +11 -2
- package/build/types/prompt/InfoPrompt/InfoPrompt.d.ts.map +1 -1
- package/build/types/sentimentSurface/SentimentSurface.d.ts.map +1 -1
- package/package.json +2 -2
- package/src/card/Card.story.tsx +3 -2
- package/src/card/Card.tsx +1 -1
- package/src/common/{card/Card.less → baseCard/BaseCard.less} +1 -1
- package/src/common/{card/Card.story.tsx → baseCard/BaseCard.story.tsx} +5 -5
- package/src/common/{card/Card.test.tsx → baseCard/BaseCard.test.tsx} +11 -12
- package/src/common/{card/Card.tsx → baseCard/BaseCard.tsx} +9 -9
- package/src/common/baseCard/index.ts +2 -0
- package/src/common/index.ts +2 -0
- package/src/common/liveRegion/LiveRegion.test.tsx +56 -0
- package/src/common/liveRegion/LiveRegion.tsx +49 -0
- package/src/common/liveRegion/index.ts +2 -0
- package/src/criticalBanner/CriticalCommsBanner.css +33 -15
- package/src/criticalBanner/CriticalCommsBanner.less +46 -36
- package/src/criticalBanner/CriticalCommsBanner.story.tsx +9 -15
- package/src/criticalBanner/CriticalCommsBanner.test.story.tsx +70 -0
- package/src/criticalBanner/CriticalCommsBanner.test.tsx +66 -0
- package/src/criticalBanner/CriticalCommsBanner.tsx +54 -5
- package/src/criticalBanner/index.ts +1 -0
- package/src/index.ts +2 -1
- package/src/inputs/SelectInput.css +8 -0
- package/src/inputs/SelectInput.story.tsx +2 -2
- package/src/inputs/SelectInput.test.story.tsx +57 -1
- package/src/inputs/SelectInput.test.tsx +33 -1
- package/src/inputs/SelectInput.tsx +2 -1
- package/src/inputs/_ButtonInput.less +8 -0
- package/src/inputs/_ButtonInput.tsx +1 -1
- package/src/listItem/ListItem.css +1 -1
- package/src/listItem/ListItem.less +4 -2
- package/src/listItem/_stories/Breakpoints/ListItem.noMedia.test.story.tsx +62 -0
- package/src/listItem/_stories/Breakpoints/ListItem.sideMedia.test.story.tsx +62 -0
- package/src/listItem/_stories/Breakpoints/ListItem.stackedMedia.test.story.tsx +62 -0
- package/src/listItem/_stories/ListItem.story.tsx +3 -2
- package/src/main.css +191 -165
- package/src/main.less +2 -2
- package/src/promoCard/PromoCard.tsx +6 -5
- package/src/prompt/InfoPrompt/InfoPrompt.test.story.tsx +119 -0
- package/src/prompt/InfoPrompt/InfoPrompt.tsx +47 -34
- package/src/sentimentSurface/SentimentSurface.css +100 -100
- package/src/sentimentSurface/SentimentSurface.less +50 -50
- package/src/sentimentSurface/SentimentSurface.test.story.tsx +19 -0
- package/src/sentimentSurface/SentimentSurface.tsx +3 -0
- package/build/common/card/Card.js.map +0 -1
- package/build/common/card/Card.mjs.map +0 -1
- package/build/types/common/card/Card.d.ts.map +0 -1
- package/build/types/common/card/index.d.ts +0 -3
- package/build/types/common/card/index.d.ts.map +0 -1
- package/src/common/card/index.ts +0 -2
- /package/build/styles/common/{card/Card.css → baseCard/BaseCard.css} +0 -0
- /package/src/common/{card/Card.css → baseCard/BaseCard.css} +0 -0
package/build/main.css
CHANGED
|
@@ -5,11 +5,11 @@
|
|
|
5
5
|
background-color: var(--color-sentiment-background-surface);
|
|
6
6
|
color: var(--color-sentiment-content-primary);
|
|
7
7
|
}
|
|
8
|
-
.np-theme-personal
|
|
9
|
-
.np-theme-business
|
|
10
|
-
.np-theme-platform
|
|
11
|
-
.np-theme-personal--bright-green
|
|
12
|
-
.np-theme-business--bright-green
|
|
8
|
+
.np-theme-personal.wds-sentiment-surface-negative-base,
|
|
9
|
+
.np-theme-business.wds-sentiment-surface-negative-base,
|
|
10
|
+
.np-theme-platform.wds-sentiment-surface-negative-base,
|
|
11
|
+
.np-theme-personal--bright-green.wds-sentiment-surface-negative-base,
|
|
12
|
+
.np-theme-business--bright-green.wds-sentiment-surface-negative-base {
|
|
13
13
|
--color-sentiment-content-primary: #CB272F;
|
|
14
14
|
--color-sentiment-content-primary-hover: #B8232B;
|
|
15
15
|
--color-sentiment-content-primary-active: #A72027;
|
|
@@ -29,11 +29,11 @@
|
|
|
29
29
|
--color-sentiment-background-surface-hover: #F9E1E1;
|
|
30
30
|
--color-sentiment-background-surface-active: #F8D8D8;
|
|
31
31
|
}
|
|
32
|
-
.np-theme-personal
|
|
33
|
-
.np-theme-business
|
|
34
|
-
.np-theme-platform
|
|
35
|
-
.np-theme-personal--bright-green
|
|
36
|
-
.np-theme-business--bright-green
|
|
32
|
+
.np-theme-personal.wds-sentiment-surface-negative-elevated,
|
|
33
|
+
.np-theme-business.wds-sentiment-surface-negative-elevated,
|
|
34
|
+
.np-theme-platform.wds-sentiment-surface-negative-elevated,
|
|
35
|
+
.np-theme-personal--bright-green.wds-sentiment-surface-negative-elevated,
|
|
36
|
+
.np-theme-business--bright-green.wds-sentiment-surface-negative-elevated {
|
|
37
37
|
--color-sentiment-content-primary: #FFFFFF;
|
|
38
38
|
--color-sentiment-content-primary-hover: #F5CCCC;
|
|
39
39
|
--color-sentiment-content-primary-active: #F1B7B7;
|
|
@@ -53,11 +53,11 @@
|
|
|
53
53
|
--color-sentiment-background-surface-hover: #B8232B;
|
|
54
54
|
--color-sentiment-background-surface-active: #A72027;
|
|
55
55
|
}
|
|
56
|
-
.np-theme-personal--dark
|
|
57
|
-
.np-theme-business--dark
|
|
58
|
-
.np-theme-personal--forest-green
|
|
59
|
-
.np-theme-business--forest-green
|
|
60
|
-
.np-theme-platform--forest-green
|
|
56
|
+
.np-theme-personal--dark.wds-sentiment-surface-negative-base,
|
|
57
|
+
.np-theme-business--dark.wds-sentiment-surface-negative-base,
|
|
58
|
+
.np-theme-personal--forest-green.wds-sentiment-surface-negative-base,
|
|
59
|
+
.np-theme-business--forest-green.wds-sentiment-surface-negative-base,
|
|
60
|
+
.np-theme-platform--forest-green.wds-sentiment-surface-negative-base {
|
|
61
61
|
--color-sentiment-content-primary: #FFA8AD;
|
|
62
62
|
--color-sentiment-content-primary-hover: #FFBDC0;
|
|
63
63
|
--color-sentiment-content-primary-active: #FFD1D3;
|
|
@@ -77,11 +77,11 @@
|
|
|
77
77
|
--color-sentiment-background-surface-hover: #641115;
|
|
78
78
|
--color-sentiment-background-surface-active: #761418;
|
|
79
79
|
}
|
|
80
|
-
.np-theme-personal--dark
|
|
81
|
-
.np-theme-business--dark
|
|
82
|
-
.np-theme-personal--forest-green
|
|
83
|
-
.np-theme-business--forest-green
|
|
84
|
-
.np-theme-platform--forest-green
|
|
80
|
+
.np-theme-personal--dark.wds-sentiment-surface-negative-elevated,
|
|
81
|
+
.np-theme-business--dark.wds-sentiment-surface-negative-elevated,
|
|
82
|
+
.np-theme-personal--forest-green.wds-sentiment-surface-negative-elevated,
|
|
83
|
+
.np-theme-business--forest-green.wds-sentiment-surface-negative-elevated,
|
|
84
|
+
.np-theme-platform--forest-green.wds-sentiment-surface-negative-elevated {
|
|
85
85
|
--color-sentiment-content-primary: #410B0D;
|
|
86
86
|
--color-sentiment-content-primary-hover: #641115;
|
|
87
87
|
--color-sentiment-content-primary-active: #761418;
|
|
@@ -101,11 +101,11 @@
|
|
|
101
101
|
--color-sentiment-background-surface-hover: #FFBDC0;
|
|
102
102
|
--color-sentiment-background-surface-active: #FFD1D3;
|
|
103
103
|
}
|
|
104
|
-
.np-theme-personal
|
|
105
|
-
.np-theme-business
|
|
106
|
-
.np-theme-platform
|
|
107
|
-
.np-theme-personal--bright-green
|
|
108
|
-
.np-theme-business--bright-green
|
|
104
|
+
.np-theme-personal.wds-sentiment-surface-warning-base,
|
|
105
|
+
.np-theme-business.wds-sentiment-surface-warning-base,
|
|
106
|
+
.np-theme-platform.wds-sentiment-surface-warning-base,
|
|
107
|
+
.np-theme-personal--bright-green.wds-sentiment-surface-warning-base,
|
|
108
|
+
.np-theme-business--bright-green.wds-sentiment-surface-warning-base {
|
|
109
109
|
--color-sentiment-content-primary: #4A3B1C;
|
|
110
110
|
--color-sentiment-content-primary-hover: #302612;
|
|
111
111
|
--color-sentiment-content-primary-active: #2C2311;
|
|
@@ -125,11 +125,11 @@
|
|
|
125
125
|
--color-sentiment-background-surface-hover: #FFF0B2;
|
|
126
126
|
--color-sentiment-background-surface-active: #FFE98F;
|
|
127
127
|
}
|
|
128
|
-
.np-theme-personal
|
|
129
|
-
.np-theme-business
|
|
130
|
-
.np-theme-platform
|
|
131
|
-
.np-theme-personal--bright-green
|
|
132
|
-
.np-theme-business--bright-green
|
|
128
|
+
.np-theme-personal.wds-sentiment-surface-warning-elevated,
|
|
129
|
+
.np-theme-business.wds-sentiment-surface-warning-elevated,
|
|
130
|
+
.np-theme-platform.wds-sentiment-surface-warning-elevated,
|
|
131
|
+
.np-theme-personal--bright-green.wds-sentiment-surface-warning-elevated,
|
|
132
|
+
.np-theme-business--bright-green.wds-sentiment-surface-warning-elevated {
|
|
133
133
|
--color-sentiment-content-primary: #4A3B1C;
|
|
134
134
|
--color-sentiment-content-primary-hover: #302612;
|
|
135
135
|
--color-sentiment-content-primary-active: #2C2311;
|
|
@@ -149,11 +149,11 @@
|
|
|
149
149
|
--color-sentiment-background-surface-hover: #FFBF0F;
|
|
150
150
|
--color-sentiment-background-surface-active: #FFBB00;
|
|
151
151
|
}
|
|
152
|
-
.np-theme-personal--dark
|
|
153
|
-
.np-theme-business--dark
|
|
154
|
-
.np-theme-personal--forest-green
|
|
155
|
-
.np-theme-business--forest-green
|
|
156
|
-
.np-theme-platform--forest-green
|
|
152
|
+
.np-theme-personal--dark.wds-sentiment-surface-warning-base,
|
|
153
|
+
.np-theme-business--dark.wds-sentiment-surface-warning-base,
|
|
154
|
+
.np-theme-personal--forest-green.wds-sentiment-surface-warning-base,
|
|
155
|
+
.np-theme-business--forest-green.wds-sentiment-surface-warning-base,
|
|
156
|
+
.np-theme-platform--forest-green.wds-sentiment-surface-warning-base {
|
|
157
157
|
--color-sentiment-content-primary: #FADC65;
|
|
158
158
|
--color-sentiment-content-primary-hover: #F9D648;
|
|
159
159
|
--color-sentiment-content-primary-active: #F8CD20;
|
|
@@ -173,11 +173,11 @@
|
|
|
173
173
|
--color-sentiment-background-surface-hover: #504930;
|
|
174
174
|
--color-sentiment-background-surface-active: #665D3D;
|
|
175
175
|
}
|
|
176
|
-
.np-theme-personal--dark
|
|
177
|
-
.np-theme-business--dark
|
|
178
|
-
.np-theme-personal--forest-green
|
|
179
|
-
.np-theme-business--forest-green
|
|
180
|
-
.np-theme-platform--forest-green
|
|
176
|
+
.np-theme-personal--dark.wds-sentiment-surface-warning-elevated,
|
|
177
|
+
.np-theme-business--dark.wds-sentiment-surface-warning-elevated,
|
|
178
|
+
.np-theme-personal--forest-green.wds-sentiment-surface-warning-elevated,
|
|
179
|
+
.np-theme-business--forest-green.wds-sentiment-surface-warning-elevated,
|
|
180
|
+
.np-theme-platform--forest-green.wds-sentiment-surface-warning-elevated {
|
|
181
181
|
--color-sentiment-content-primary: #3A3523;
|
|
182
182
|
--color-sentiment-content-primary-hover: #504930;
|
|
183
183
|
--color-sentiment-content-primary-active: #665D3D;
|
|
@@ -197,11 +197,11 @@
|
|
|
197
197
|
--color-sentiment-background-surface-hover: #F9D648;
|
|
198
198
|
--color-sentiment-background-surface-active: #F8CD20;
|
|
199
199
|
}
|
|
200
|
-
.np-theme-personal
|
|
201
|
-
.np-theme-business
|
|
202
|
-
.np-theme-platform
|
|
203
|
-
.np-theme-personal--bright-green
|
|
204
|
-
.np-theme-business--bright-green
|
|
200
|
+
.np-theme-personal.wds-sentiment-surface-success-base,
|
|
201
|
+
.np-theme-business.wds-sentiment-surface-success-base,
|
|
202
|
+
.np-theme-platform.wds-sentiment-surface-success-base,
|
|
203
|
+
.np-theme-personal--bright-green.wds-sentiment-surface-success-base,
|
|
204
|
+
.np-theme-business--bright-green.wds-sentiment-surface-success-base {
|
|
205
205
|
--color-sentiment-content-primary: #054D28;
|
|
206
206
|
--color-sentiment-content-primary-hover: #043A1E;
|
|
207
207
|
--color-sentiment-content-primary-active: #022614;
|
|
@@ -221,11 +221,11 @@
|
|
|
221
221
|
--color-sentiment-background-surface-hover: #D3F2C0;
|
|
222
222
|
--color-sentiment-background-surface-active: #C5EDAB;
|
|
223
223
|
}
|
|
224
|
-
.np-theme-personal
|
|
225
|
-
.np-theme-business
|
|
226
|
-
.np-theme-platform
|
|
227
|
-
.np-theme-personal--bright-green
|
|
228
|
-
.np-theme-business--bright-green
|
|
224
|
+
.np-theme-personal.wds-sentiment-surface-success-elevated,
|
|
225
|
+
.np-theme-business.wds-sentiment-surface-success-elevated,
|
|
226
|
+
.np-theme-platform.wds-sentiment-surface-success-elevated,
|
|
227
|
+
.np-theme-personal--bright-green.wds-sentiment-surface-success-elevated,
|
|
228
|
+
.np-theme-business--bright-green.wds-sentiment-surface-success-elevated {
|
|
229
229
|
--color-sentiment-content-primary: #E2F6D5;
|
|
230
230
|
--color-sentiment-content-primary-hover: #D3F2C0;
|
|
231
231
|
--color-sentiment-content-primary-active: #C5EDAB;
|
|
@@ -245,11 +245,11 @@
|
|
|
245
245
|
--color-sentiment-background-surface-hover: #043A1E;
|
|
246
246
|
--color-sentiment-background-surface-active: #022614;
|
|
247
247
|
}
|
|
248
|
-
.np-theme-personal--dark
|
|
249
|
-
.np-theme-business--dark
|
|
250
|
-
.np-theme-personal--forest-green
|
|
251
|
-
.np-theme-business--forest-green
|
|
252
|
-
.np-theme-platform--forest-green
|
|
248
|
+
.np-theme-personal--dark.wds-sentiment-surface-success-base,
|
|
249
|
+
.np-theme-business--dark.wds-sentiment-surface-success-base,
|
|
250
|
+
.np-theme-personal--forest-green.wds-sentiment-surface-success-base,
|
|
251
|
+
.np-theme-business--forest-green.wds-sentiment-surface-success-base,
|
|
252
|
+
.np-theme-platform--forest-green.wds-sentiment-surface-success-base {
|
|
253
253
|
--color-sentiment-content-primary: #BAE5A0;
|
|
254
254
|
--color-sentiment-content-primary-hover: #C8EAB3;
|
|
255
255
|
--color-sentiment-content-primary-active: #D6F0C7;
|
|
@@ -269,11 +269,11 @@
|
|
|
269
269
|
--color-sentiment-background-surface-hover: #323B2B;
|
|
270
270
|
--color-sentiment-background-surface-active: #3E4A36;
|
|
271
271
|
}
|
|
272
|
-
.np-theme-personal--dark
|
|
273
|
-
.np-theme-business--dark
|
|
274
|
-
.np-theme-personal--forest-green
|
|
275
|
-
.np-theme-business--forest-green
|
|
276
|
-
.np-theme-platform--forest-green
|
|
272
|
+
.np-theme-personal--dark.wds-sentiment-surface-success-elevated,
|
|
273
|
+
.np-theme-business--dark.wds-sentiment-surface-success-elevated,
|
|
274
|
+
.np-theme-personal--forest-green.wds-sentiment-surface-success-elevated,
|
|
275
|
+
.np-theme-business--forest-green.wds-sentiment-surface-success-elevated,
|
|
276
|
+
.np-theme-platform--forest-green.wds-sentiment-surface-success-elevated {
|
|
277
277
|
--color-sentiment-content-primary: #252C20;
|
|
278
278
|
--color-sentiment-content-primary-hover: #323B2B;
|
|
279
279
|
--color-sentiment-content-primary-active: #3E4A36;
|
|
@@ -293,11 +293,11 @@
|
|
|
293
293
|
--color-sentiment-background-surface-hover: #C8EAB3;
|
|
294
294
|
--color-sentiment-background-surface-active: #D6F0C7;
|
|
295
295
|
}
|
|
296
|
-
.np-theme-personal
|
|
297
|
-
.np-theme-business
|
|
298
|
-
.np-theme-platform
|
|
299
|
-
.np-theme-personal--bright-green
|
|
300
|
-
.np-theme-business--bright-green
|
|
296
|
+
.np-theme-personal.wds-sentiment-surface-neutral-base,
|
|
297
|
+
.np-theme-business.wds-sentiment-surface-neutral-base,
|
|
298
|
+
.np-theme-platform.wds-sentiment-surface-neutral-base,
|
|
299
|
+
.np-theme-personal--bright-green.wds-sentiment-surface-neutral-base,
|
|
300
|
+
.np-theme-business--bright-green.wds-sentiment-surface-neutral-base {
|
|
301
301
|
--color-sentiment-content-primary: #454745;
|
|
302
302
|
--color-sentiment-content-primary-hover: #353635;
|
|
303
303
|
--color-sentiment-content-primary-active: #232423;
|
|
@@ -317,11 +317,11 @@
|
|
|
317
317
|
--color-sentiment-background-surface-hover: rgba(62, 59, 7, 0.12);
|
|
318
318
|
--color-sentiment-background-surface-active: rgba(62, 59, 7, 0.17);
|
|
319
319
|
}
|
|
320
|
-
.np-theme-personal
|
|
321
|
-
.np-theme-business
|
|
322
|
-
.np-theme-platform
|
|
323
|
-
.np-theme-personal--bright-green
|
|
324
|
-
.np-theme-business--bright-green
|
|
320
|
+
.np-theme-personal.wds-sentiment-surface-neutral-elevated,
|
|
321
|
+
.np-theme-business.wds-sentiment-surface-neutral-elevated,
|
|
322
|
+
.np-theme-platform.wds-sentiment-surface-neutral-elevated,
|
|
323
|
+
.np-theme-personal--bright-green.wds-sentiment-surface-neutral-elevated,
|
|
324
|
+
.np-theme-business--bright-green.wds-sentiment-surface-neutral-elevated {
|
|
325
325
|
--color-sentiment-content-primary: #F1F1ED;
|
|
326
326
|
--color-sentiment-content-primary-hover: #E7E7E1;
|
|
327
327
|
--color-sentiment-content-primary-active: #DFDED5;
|
|
@@ -341,11 +341,11 @@
|
|
|
341
341
|
--color-sentiment-background-surface-hover: #353635;
|
|
342
342
|
--color-sentiment-background-surface-active: #232423;
|
|
343
343
|
}
|
|
344
|
-
.np-theme-personal--dark
|
|
345
|
-
.np-theme-business--dark
|
|
346
|
-
.np-theme-personal--forest-green
|
|
347
|
-
.np-theme-business--forest-green
|
|
348
|
-
.np-theme-platform--forest-green
|
|
344
|
+
.np-theme-personal--dark.wds-sentiment-surface-neutral-base,
|
|
345
|
+
.np-theme-business--dark.wds-sentiment-surface-neutral-base,
|
|
346
|
+
.np-theme-personal--forest-green.wds-sentiment-surface-neutral-base,
|
|
347
|
+
.np-theme-business--forest-green.wds-sentiment-surface-neutral-base,
|
|
348
|
+
.np-theme-platform--forest-green.wds-sentiment-surface-neutral-base {
|
|
349
349
|
--color-sentiment-content-primary: #F1F1ED;
|
|
350
350
|
--color-sentiment-content-primary-hover: #E7E7E1;
|
|
351
351
|
--color-sentiment-content-primary-active: #DFDED5;
|
|
@@ -365,11 +365,11 @@
|
|
|
365
365
|
--color-sentiment-background-surface-hover: rgba(255, 255, 255, 0.2);
|
|
366
366
|
--color-sentiment-background-surface-active: rgba(255, 255, 255, 0.3);
|
|
367
367
|
}
|
|
368
|
-
.np-theme-personal--dark
|
|
369
|
-
.np-theme-business--dark
|
|
370
|
-
.np-theme-personal--forest-green
|
|
371
|
-
.np-theme-business--forest-green
|
|
372
|
-
.np-theme-platform--forest-green
|
|
368
|
+
.np-theme-personal--dark.wds-sentiment-surface-neutral-elevated,
|
|
369
|
+
.np-theme-business--dark.wds-sentiment-surface-neutral-elevated,
|
|
370
|
+
.np-theme-personal--forest-green.wds-sentiment-surface-neutral-elevated,
|
|
371
|
+
.np-theme-business--forest-green.wds-sentiment-surface-neutral-elevated,
|
|
372
|
+
.np-theme-platform--forest-green.wds-sentiment-surface-neutral-elevated {
|
|
373
373
|
--color-sentiment-content-primary: #2A2C29;
|
|
374
374
|
--color-sentiment-content-primary-hover: #414441;
|
|
375
375
|
--color-sentiment-content-primary-active: #595B58;
|
|
@@ -389,11 +389,11 @@
|
|
|
389
389
|
--color-sentiment-background-surface-hover: #E7E7E1;
|
|
390
390
|
--color-sentiment-background-surface-active: #DFDED5;
|
|
391
391
|
}
|
|
392
|
-
.np-theme-personal
|
|
393
|
-
.np-theme-business
|
|
394
|
-
.np-theme-platform
|
|
395
|
-
.np-theme-personal--bright-green
|
|
396
|
-
.np-theme-business--bright-green
|
|
392
|
+
.np-theme-personal.wds-sentiment-surface-proposition-base,
|
|
393
|
+
.np-theme-business.wds-sentiment-surface-proposition-base,
|
|
394
|
+
.np-theme-platform.wds-sentiment-surface-proposition-base,
|
|
395
|
+
.np-theme-personal--bright-green.wds-sentiment-surface-proposition-base,
|
|
396
|
+
.np-theme-business--bright-green.wds-sentiment-surface-proposition-base {
|
|
397
397
|
--color-sentiment-content-primary: #0E0F0C;
|
|
398
398
|
--color-sentiment-content-primary-hover: #0A2826;
|
|
399
399
|
--color-sentiment-content-primary-active: #074140;
|
|
@@ -413,11 +413,11 @@
|
|
|
413
413
|
--color-sentiment-background-surface-hover: #CAF1F1;
|
|
414
414
|
--color-sentiment-background-surface-active: #B6ECEC;
|
|
415
415
|
}
|
|
416
|
-
.np-theme-personal
|
|
417
|
-
.np-theme-business
|
|
418
|
-
.np-theme-platform
|
|
419
|
-
.np-theme-personal--bright-green
|
|
420
|
-
.np-theme-business--bright-green
|
|
416
|
+
.np-theme-personal.wds-sentiment-surface-proposition-elevated,
|
|
417
|
+
.np-theme-business.wds-sentiment-surface-proposition-elevated,
|
|
418
|
+
.np-theme-platform.wds-sentiment-surface-proposition-elevated,
|
|
419
|
+
.np-theme-personal--bright-green.wds-sentiment-surface-proposition-elevated,
|
|
420
|
+
.np-theme-business--bright-green.wds-sentiment-surface-proposition-elevated {
|
|
421
421
|
--color-sentiment-content-primary: #FFFFFF;
|
|
422
422
|
--color-sentiment-content-primary-hover: #EAF9F9;
|
|
423
423
|
--color-sentiment-content-primary-active: #D5F4F4;
|
|
@@ -437,11 +437,11 @@
|
|
|
437
437
|
--color-sentiment-background-surface-hover: #043A3A;
|
|
438
438
|
--color-sentiment-background-surface-active: #022626;
|
|
439
439
|
}
|
|
440
|
-
.np-theme-personal--dark
|
|
441
|
-
.np-theme-business--dark
|
|
442
|
-
.np-theme-personal--forest-green
|
|
443
|
-
.np-theme-business--forest-green
|
|
444
|
-
.np-theme-platform--forest-green
|
|
440
|
+
.np-theme-personal--dark.wds-sentiment-surface-proposition-base,
|
|
441
|
+
.np-theme-business--dark.wds-sentiment-surface-proposition-base,
|
|
442
|
+
.np-theme-personal--forest-green.wds-sentiment-surface-proposition-base,
|
|
443
|
+
.np-theme-business--forest-green.wds-sentiment-surface-proposition-base,
|
|
444
|
+
.np-theme-platform--forest-green.wds-sentiment-surface-proposition-base {
|
|
445
445
|
--color-sentiment-content-primary: #FFFFFF;
|
|
446
446
|
--color-sentiment-content-primary-hover: #EAF9F9;
|
|
447
447
|
--color-sentiment-content-primary-active: #D5F4F4;
|
|
@@ -461,11 +461,11 @@
|
|
|
461
461
|
--color-sentiment-background-surface-hover: #124F4C;
|
|
462
462
|
--color-sentiment-background-surface-active: #176460;
|
|
463
463
|
}
|
|
464
|
-
.np-theme-personal--dark
|
|
465
|
-
.np-theme-business--dark
|
|
466
|
-
.np-theme-personal--forest-green
|
|
467
|
-
.np-theme-business--forest-green
|
|
468
|
-
.np-theme-platform--forest-green
|
|
464
|
+
.np-theme-personal--dark.wds-sentiment-surface-proposition-elevated,
|
|
465
|
+
.np-theme-business--dark.wds-sentiment-surface-proposition-elevated,
|
|
466
|
+
.np-theme-personal--forest-green.wds-sentiment-surface-proposition-elevated,
|
|
467
|
+
.np-theme-business--forest-green.wds-sentiment-surface-proposition-elevated,
|
|
468
|
+
.np-theme-platform--forest-green.wds-sentiment-surface-proposition-elevated {
|
|
469
469
|
--color-sentiment-content-primary: #0E0F0C;
|
|
470
470
|
--color-sentiment-content-primary-hover: #0A2826;
|
|
471
471
|
--color-sentiment-content-primary-active: #074140;
|
|
@@ -485,37 +485,55 @@
|
|
|
485
485
|
--color-sentiment-background-surface-hover: #CAF1F1;
|
|
486
486
|
--color-sentiment-background-surface-active: #B6ECEC;
|
|
487
487
|
}
|
|
488
|
-
.
|
|
489
|
-
|
|
490
|
-
|
|
488
|
+
.critical-comms {
|
|
489
|
+
border-radius: 16px;
|
|
490
|
+
border-radius: var(--radius-medium);
|
|
491
|
+
overflow: hidden;
|
|
491
492
|
}
|
|
492
|
-
.
|
|
493
|
-
color: var(--color-
|
|
493
|
+
.critical-comms .alert {
|
|
494
|
+
background-color: var(--color-sentiment-background-surface);
|
|
495
|
+
color: var(--color-sentiment-content-primary);
|
|
496
|
+
margin-bottom: 0;
|
|
497
|
+
}
|
|
498
|
+
.critical-comms .alert .np-text-title-body {
|
|
499
|
+
color: var(--color-sentiment-content-primary);
|
|
494
500
|
}
|
|
495
|
-
.
|
|
501
|
+
.critical-comms .status-circle.negative {
|
|
496
502
|
background-color: #ffffff;
|
|
497
503
|
background-color: var(--color-background-screen);
|
|
498
504
|
}
|
|
499
|
-
.
|
|
500
|
-
color:
|
|
505
|
+
.critical-comms .status-circle.negative .status-icon {
|
|
506
|
+
color: #37517e;
|
|
507
|
+
color: var(--color-content-primary);
|
|
501
508
|
}
|
|
502
|
-
.
|
|
509
|
+
.critical-comms .alert__message .alert__action {
|
|
503
510
|
margin-top: 16px;
|
|
504
511
|
margin-top: var(--size-16);
|
|
505
512
|
}
|
|
506
|
-
.
|
|
507
|
-
--Button-
|
|
508
|
-
--Button-
|
|
509
|
-
--Button-
|
|
513
|
+
.critical-comms .wds-Button {
|
|
514
|
+
--Button-color: var(--color-content-primary);
|
|
515
|
+
--Button-color-hover: var(--color-content-primary);
|
|
516
|
+
--Button-color-active: var(--color-content-primary);
|
|
517
|
+
--Button-background: var(--color-background-screen);
|
|
518
|
+
--Button-background-hover: var(--color-sentiment-interactive-primary-hover);
|
|
519
|
+
--Button-background-active: var(--color-sentiment-interactive-primary-active);
|
|
520
|
+
}
|
|
521
|
+
.critical-comms .alert-warning .wds-Button {
|
|
522
|
+
--Button-background-hover: var(--color-sentiment-interactive-secondary-neutral-hover);
|
|
523
|
+
--Button-background-active: var(--color-sentiment-interactive-secondary-neutral-active);
|
|
510
524
|
}
|
|
511
525
|
@media (min-width: 768px) {
|
|
512
|
-
.
|
|
526
|
+
.critical-comms .alert-warning .alert__message,
|
|
527
|
+
.critical-comms .alert-negative .alert__message,
|
|
528
|
+
.critical-comms .alert-neutral .alert__message {
|
|
513
529
|
flex-direction: row;
|
|
514
530
|
justify-content: space-between;
|
|
515
531
|
align-items: center;
|
|
516
532
|
width: 100%;
|
|
517
533
|
}
|
|
518
|
-
.
|
|
534
|
+
.critical-comms .alert-warning .alert__message .alert__action,
|
|
535
|
+
.critical-comms .alert-negative .alert__message .alert__action,
|
|
536
|
+
.critical-comms .alert-neutral .alert__message .alert__action {
|
|
519
537
|
margin-top: 0;
|
|
520
538
|
margin-left: 16px;
|
|
521
539
|
margin-left: var(--padding-small);
|
|
@@ -1969,6 +1987,55 @@
|
|
|
1969
1987
|
border-radius: var(--radius-full);
|
|
1970
1988
|
box-shadow: inset 0 0 0 var(--circle-border-width) var(--circle-border-color);
|
|
1971
1989
|
}
|
|
1990
|
+
/* @define Card */
|
|
1991
|
+
.np-Card {
|
|
1992
|
+
--Card-background-color: var(--color-background-neutral);
|
|
1993
|
+
--Card-border-radius: var(--size-32);
|
|
1994
|
+
--Card-flex-gap: var(--size-16);
|
|
1995
|
+
--Card-padding: var(--size-24);
|
|
1996
|
+
--Card-closeButton-position: var(--size-16);
|
|
1997
|
+
--Card-max-width: initial;
|
|
1998
|
+
display: flex;
|
|
1999
|
+
flex-direction: column;
|
|
2000
|
+
align-items: stretch;
|
|
2001
|
+
background-color: rgba(134,167,189,0.10196);
|
|
2002
|
+
background-color: var(--Card-background-color);
|
|
2003
|
+
border-radius: 32px;
|
|
2004
|
+
border-radius: var(--Card-border-radius);
|
|
2005
|
+
gap: 16px;
|
|
2006
|
+
gap: var(--Card-flex-gap);
|
|
2007
|
+
padding: 24px;
|
|
2008
|
+
padding: var(--Card-padding);
|
|
2009
|
+
position: relative;
|
|
2010
|
+
box-sizing: border-box;
|
|
2011
|
+
overflow: hidden;
|
|
2012
|
+
}
|
|
2013
|
+
@media (min-width: 576px) {
|
|
2014
|
+
.np-Card {
|
|
2015
|
+
max-width: var(--Card-max-width);
|
|
2016
|
+
}
|
|
2017
|
+
}
|
|
2018
|
+
.np-Card.is-disabled .np-Card-closeButton {
|
|
2019
|
+
cursor: not-allowed;
|
|
2020
|
+
}
|
|
2021
|
+
.np-theme-personal--dark .np-Card {
|
|
2022
|
+
--Card-background-color: var(--color-background-elevated);
|
|
2023
|
+
}
|
|
2024
|
+
.np-Card-closeButton {
|
|
2025
|
+
position: absolute;
|
|
2026
|
+
z-index: 100;
|
|
2027
|
+
top: var(--Card-closeButton-position);
|
|
2028
|
+
right: var(--Card-closeButton-position);
|
|
2029
|
+
}
|
|
2030
|
+
[dir="rtl"] .np-Card-closeButton {
|
|
2031
|
+
left: var(--Card-closeButton-position);
|
|
2032
|
+
right: auto;
|
|
2033
|
+
}
|
|
2034
|
+
.np-Card--small {
|
|
2035
|
+
--Card-border-radius: var(--size-16);
|
|
2036
|
+
--Card-closeButton-position: var(--size-8);
|
|
2037
|
+
--Card-padding: var(--size-16);
|
|
2038
|
+
}
|
|
1972
2039
|
.np-bottom-sheet {
|
|
1973
2040
|
border-radius: 10px 10px 0 0;
|
|
1974
2041
|
}
|
|
@@ -2022,55 +2089,6 @@
|
|
|
2022
2089
|
padding: 0 16px 16px;
|
|
2023
2090
|
padding: 0 var(--size-16) var(--size-16);
|
|
2024
2091
|
}
|
|
2025
|
-
/* @define Card */
|
|
2026
|
-
.np-Card {
|
|
2027
|
-
--Card-background-color: var(--color-background-neutral);
|
|
2028
|
-
--Card-border-radius: var(--size-32);
|
|
2029
|
-
--Card-flex-gap: var(--size-16);
|
|
2030
|
-
--Card-padding: var(--size-24);
|
|
2031
|
-
--Card-closeButton-position: var(--size-16);
|
|
2032
|
-
--Card-max-width: initial;
|
|
2033
|
-
display: flex;
|
|
2034
|
-
flex-direction: column;
|
|
2035
|
-
align-items: stretch;
|
|
2036
|
-
background-color: rgba(134,167,189,0.10196);
|
|
2037
|
-
background-color: var(--Card-background-color);
|
|
2038
|
-
border-radius: 32px;
|
|
2039
|
-
border-radius: var(--Card-border-radius);
|
|
2040
|
-
gap: 16px;
|
|
2041
|
-
gap: var(--Card-flex-gap);
|
|
2042
|
-
padding: 24px;
|
|
2043
|
-
padding: var(--Card-padding);
|
|
2044
|
-
position: relative;
|
|
2045
|
-
box-sizing: border-box;
|
|
2046
|
-
overflow: hidden;
|
|
2047
|
-
}
|
|
2048
|
-
@media (min-width: 576px) {
|
|
2049
|
-
.np-Card {
|
|
2050
|
-
max-width: var(--Card-max-width);
|
|
2051
|
-
}
|
|
2052
|
-
}
|
|
2053
|
-
.np-Card.is-disabled .np-Card-closeButton {
|
|
2054
|
-
cursor: not-allowed;
|
|
2055
|
-
}
|
|
2056
|
-
.np-theme-personal--dark .np-Card {
|
|
2057
|
-
--Card-background-color: var(--color-background-elevated);
|
|
2058
|
-
}
|
|
2059
|
-
.np-Card-closeButton {
|
|
2060
|
-
position: absolute;
|
|
2061
|
-
z-index: 100;
|
|
2062
|
-
top: var(--Card-closeButton-position);
|
|
2063
|
-
right: var(--Card-closeButton-position);
|
|
2064
|
-
}
|
|
2065
|
-
[dir="rtl"] .np-Card-closeButton {
|
|
2066
|
-
left: var(--Card-closeButton-position);
|
|
2067
|
-
right: auto;
|
|
2068
|
-
}
|
|
2069
|
-
.np-Card--small {
|
|
2070
|
-
--Card-border-radius: var(--size-16);
|
|
2071
|
-
--Card-closeButton-position: var(--size-8);
|
|
2072
|
-
--Card-padding: var(--size-16);
|
|
2073
|
-
}
|
|
2074
2092
|
.np-close-button {
|
|
2075
2093
|
transition: color 0.15s ease-in-out;
|
|
2076
2094
|
color: #00a2dd;
|
|
@@ -3692,7 +3710,7 @@ html:not([dir="rtl"]) .np-flow-navigation--sm .np-flow-navigation__stepper {
|
|
|
3692
3710
|
.wds-list-item.disabled--has-prompt-reason .wds-list-item-prompt {
|
|
3693
3711
|
opacity: 0.93;
|
|
3694
3712
|
}
|
|
3695
|
-
.wds-list-item-spotlight {
|
|
3713
|
+
.wds-list-item-spotlight .wds-list-item-gridWrapper {
|
|
3696
3714
|
padding-left: 12px;
|
|
3697
3715
|
padding-left: var(--size-12);
|
|
3698
3716
|
padding-right: 12px;
|
|
@@ -3930,6 +3948,14 @@ html:not([dir="rtl"]) .np-flow-navigation--sm .np-flow-navigation__stepper {
|
|
|
3930
3948
|
border-radius: var(--size-10);
|
|
3931
3949
|
text-align: start;
|
|
3932
3950
|
}
|
|
3951
|
+
.np-button-input:has(.np-select-input-option-description-in-trigger) {
|
|
3952
|
+
height: auto !important;
|
|
3953
|
+
align-content: start;
|
|
3954
|
+
padding-top: 12px !important;
|
|
3955
|
+
padding-top: var(--size-12) !important;
|
|
3956
|
+
padding-bottom: 12px !important;
|
|
3957
|
+
padding-bottom: var(--size-12) !important;
|
|
3958
|
+
}
|
|
3933
3959
|
.np-popover-v2-container {
|
|
3934
3960
|
z-index: 1060;
|
|
3935
3961
|
display: flex;
|
|
@@ -23,9 +23,9 @@ require('../common/propsValues/scroll.js');
|
|
|
23
23
|
require('../common/propsValues/markdownNodeType.js');
|
|
24
24
|
require('../common/fileType.js');
|
|
25
25
|
var CloseButton = require('../common/closeButton/CloseButton.js');
|
|
26
|
+
var jsxRuntime = require('react/jsx-runtime');
|
|
26
27
|
var FlowHeader = require('../common/flowHeader/FlowHeader.js');
|
|
27
28
|
var Logo = require('../logo/Logo.js');
|
|
28
|
-
var jsxRuntime = require('react/jsx-runtime');
|
|
29
29
|
|
|
30
30
|
const defaultLogo = /*#__PURE__*/jsxRuntime.jsx(Logo.default, {});
|
|
31
31
|
function OverlayHeader({
|
|
@@ -19,9 +19,9 @@ import '../common/propsValues/scroll.mjs';
|
|
|
19
19
|
import '../common/propsValues/markdownNodeType.mjs';
|
|
20
20
|
import '../common/fileType.mjs';
|
|
21
21
|
import { CloseButton } from '../common/closeButton/CloseButton.mjs';
|
|
22
|
+
import { jsx, jsxs } from 'react/jsx-runtime';
|
|
22
23
|
import FlowHeader from '../common/flowHeader/FlowHeader.mjs';
|
|
23
24
|
import Logo from '../logo/Logo.mjs';
|
|
24
|
-
import { jsx, jsxs } from 'react/jsx-runtime';
|
|
25
25
|
|
|
26
26
|
const defaultLogo = /*#__PURE__*/jsx(Logo, {});
|
|
27
27
|
function OverlayHeader({
|
|
@@ -28,7 +28,7 @@ require('../common/fileType.js');
|
|
|
28
28
|
require('react-intl');
|
|
29
29
|
require('../common/closeButton/CloseButton.messages.js');
|
|
30
30
|
var jsxRuntime = require('react/jsx-runtime');
|
|
31
|
-
var
|
|
31
|
+
var BaseCard = require('../common/baseCard/BaseCard.js');
|
|
32
32
|
var Display = require('../display/Display.js');
|
|
33
33
|
var Image = require('../image/Image.js');
|
|
34
34
|
var Title = require('../title/Title.js');
|
|
@@ -175,7 +175,7 @@ const PromoCard$1 = /*#__PURE__*/React.forwardRef(({
|
|
|
175
175
|
React.useEffect(() => {
|
|
176
176
|
setChecked(defaultChecked ?? isChecked ?? false);
|
|
177
177
|
}, [defaultChecked, isChecked]);
|
|
178
|
-
return /*#__PURE__*/jsxRuntime.jsxs(
|
|
178
|
+
return /*#__PURE__*/jsxRuntime.jsxs(BaseCard.default, {
|
|
179
179
|
...commonProps,
|
|
180
180
|
...checkedProps,
|
|
181
181
|
...props,
|