@transferwise/components 0.0.0-experimental-4b93e2b → 0.0.0-experimental-f144cf1
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/Calendar/DateHeader/DateHeader.js +6 -2
- package/build/Calendar/DateHeader/DateHeader.js.map +1 -1
- package/build/Calendar/DateHeader/DateHeader.mjs +7 -3
- package/build/Calendar/DateHeader/DateHeader.mjs.map +1 -1
- package/build/Carousel/Carousel.js +2 -2
- package/build/Carousel/Carousel.js.map +1 -1
- package/build/Carousel/Carousel.mjs +3 -3
- package/build/Carousel/Carousel.mjs.map +1 -1
- package/build/Inputs/SelectInput/OptionContent/SelectInputOptionContent.js +3 -4
- package/build/Inputs/SelectInput/OptionContent/SelectInputOptionContent.js.map +1 -1
- package/build/Inputs/SelectInput/OptionContent/SelectInputOptionContent.mjs +3 -4
- package/build/Inputs/SelectInput/OptionContent/SelectInputOptionContent.mjs.map +1 -1
- package/build/ListItem/Navigation/ListItemNavigation.js +1 -1
- package/build/ListItem/Navigation/ListItemNavigation.js.map +1 -1
- package/build/ListItem/Navigation/ListItemNavigation.mjs +2 -2
- package/build/ListItem/Navigation/ListItemNavigation.mjs.map +1 -1
- package/build/PhoneNumberInput/PhoneNumberInput.js +1 -2
- package/build/PhoneNumberInput/PhoneNumberInput.js.map +1 -1
- package/build/PhoneNumberInput/PhoneNumberInput.mjs +1 -2
- package/build/PhoneNumberInput/PhoneNumberInput.mjs.map +1 -1
- package/build/PromoCard/Indicator/PromoCardIndicator.js +1 -1
- package/build/PromoCard/Indicator/PromoCardIndicator.js.map +1 -1
- package/build/PromoCard/Indicator/PromoCardIndicator.mjs +2 -2
- package/build/PromoCard/Indicator/PromoCardIndicator.mjs.map +1 -1
- package/build/Snackbar/Snackbar.js +212 -108
- package/build/Snackbar/Snackbar.js.map +1 -1
- package/build/Snackbar/Snackbar.messages.js +14 -0
- package/build/Snackbar/Snackbar.messages.js.map +1 -0
- package/build/Snackbar/Snackbar.messages.mjs +10 -0
- package/build/Snackbar/Snackbar.messages.mjs.map +1 -0
- package/build/Snackbar/Snackbar.mjs +213 -107
- package/build/Snackbar/Snackbar.mjs.map +1 -1
- package/build/Snackbar/SnackbarContext.js.map +1 -1
- package/build/Snackbar/SnackbarContext.mjs.map +1 -1
- package/build/Snackbar/SnackbarPortal.js +92 -0
- package/build/Snackbar/SnackbarPortal.js.map +1 -0
- package/build/Snackbar/SnackbarPortal.mjs +89 -0
- package/build/Snackbar/SnackbarPortal.mjs.map +1 -0
- package/build/Snackbar/SnackbarProvider.js +21 -31
- package/build/Snackbar/SnackbarProvider.js.map +1 -1
- package/build/Snackbar/SnackbarProvider.mjs +22 -32
- package/build/Snackbar/SnackbarProvider.mjs.map +1 -1
- package/build/Snackbar/constants.js +14 -0
- package/build/Snackbar/constants.js.map +1 -0
- package/build/Snackbar/constants.mjs +8 -0
- package/build/Snackbar/constants.mjs.map +1 -0
- package/build/Snackbar/useSnackbarAutoDismiss.js +135 -0
- package/build/Snackbar/useSnackbarAutoDismiss.js.map +1 -0
- package/build/Snackbar/useSnackbarAutoDismiss.mjs +131 -0
- package/build/Snackbar/useSnackbarAutoDismiss.mjs.map +1 -0
- package/build/Snackbar/useSnackbarManager.js +164 -0
- package/build/Snackbar/useSnackbarManager.js.map +1 -0
- package/build/Snackbar/useSnackbarManager.mjs +160 -0
- package/build/Snackbar/useSnackbarManager.mjs.map +1 -0
- package/build/Snackbar/useSnackbarSwipeDismiss.js +114 -0
- package/build/Snackbar/useSnackbarSwipeDismiss.js.map +1 -0
- package/build/Snackbar/useSnackbarSwipeDismiss.mjs +110 -0
- package/build/Snackbar/useSnackbarSwipeDismiss.mjs.map +1 -0
- package/build/common/PropsValues/typography.js +0 -6
- package/build/common/PropsValues/typography.js.map +1 -1
- package/build/common/PropsValues/typography.mjs +0 -6
- package/build/common/PropsValues/typography.mjs.map +1 -1
- package/build/i18n/en.json +1 -0
- package/build/i18n/en.json.js +1 -0
- package/build/i18n/en.json.js.map +1 -1
- package/build/i18n/en.json.mjs +1 -0
- package/build/i18n/en.json.mjs.map +1 -1
- package/build/index.js +3 -1
- package/build/index.js.map +1 -1
- package/build/index.mjs +2 -1
- package/build/index.mjs.map +1 -1
- package/build/main.css +864 -1509
- package/build/styles/Button/Button.css +3 -0
- package/build/styles/DateInput/DateInput.css +0 -13
- package/build/styles/Inputs/Input/Input.css +24 -0
- package/build/styles/Inputs/TextArea/TextArea.css +24 -0
- package/build/styles/ListItem/ListItem.css +1 -1
- package/build/styles/PhoneNumberInput/PhoneNumberInput.css +0 -3
- package/build/styles/Popover/Popover.css +6 -0
- package/build/styles/PromoCard/PromoCard.css +3 -0
- package/build/styles/Snackbar/Snackbar.css +182 -61
- package/build/styles/_deprecated/Select/Select.css +6 -0
- package/build/styles/css/accordion.css +12 -0
- package/build/styles/css/button-groups.css +6 -0
- package/build/styles/css/buttons.css +2 -0
- package/build/styles/css/decision.css +12 -0
- package/build/styles/css/dropdowns.css +18 -2
- package/build/styles/css/droppable.css +6 -0
- package/build/styles/css/footer.css +12 -0
- package/build/styles/css/input-groups.css +42 -2
- package/build/styles/css/list-group.css +6 -0
- package/build/styles/css/navbar.css +18 -2
- package/build/styles/css/neptune-core.css +512 -4
- package/build/styles/css/neptune.css +640 -1426
- package/build/styles/css/popovers.css +18 -0
- package/build/styles/css/tooltip.css +6 -0
- package/build/styles/less/neptune-tokens.less +0 -8
- package/build/styles/main.css +864 -1509
- package/build/styles/props/neptune-tokens.css +0 -8
- package/build/styles/styles/less/accordion.css +12 -0
- package/build/styles/styles/less/button-groups.css +6 -0
- package/build/styles/styles/less/buttons.css +2 -0
- package/build/styles/styles/less/decision.css +12 -0
- package/build/styles/styles/less/dropdowns.css +18 -2
- package/build/styles/styles/less/droppable.css +6 -0
- package/build/styles/styles/less/footer.css +12 -0
- package/build/styles/styles/less/forms/bootstrap-forms.css +24 -2
- package/build/styles/styles/less/input-groups.css +42 -2
- package/build/styles/styles/less/list-group.css +6 -0
- package/build/styles/styles/less/navbar.css +18 -2
- package/build/styles/styles/less/neptune-core.css +512 -4
- package/build/styles/styles/less/neptune.css +640 -1426
- package/build/styles/styles/less/popovers.css +18 -0
- package/build/styles/styles/less/tooltip.css +6 -0
- package/build/types/Inputs/SelectInput/OptionContent/SelectInputOptionContent.d.ts +1 -2
- package/build/types/Inputs/SelectInput/OptionContent/SelectInputOptionContent.d.ts.map +1 -1
- package/build/types/PhoneNumberInput/PhoneNumberInput.d.ts.map +1 -1
- package/build/types/Snackbar/Snackbar.d.ts +41 -24
- package/build/types/Snackbar/Snackbar.d.ts.map +1 -1
- package/build/types/Snackbar/Snackbar.messages.d.ts +9 -0
- package/build/types/Snackbar/Snackbar.messages.d.ts.map +1 -0
- package/build/types/Snackbar/Snackbar.types.d.ts +21 -0
- package/build/types/Snackbar/Snackbar.types.d.ts.map +1 -0
- package/build/types/Snackbar/SnackbarContext.d.ts +2 -2
- package/build/types/Snackbar/SnackbarContext.d.ts.map +1 -1
- package/build/types/Snackbar/SnackbarPortal.d.ts +5 -0
- package/build/types/Snackbar/SnackbarPortal.d.ts.map +1 -0
- package/build/types/Snackbar/SnackbarProvider.d.ts +6 -0
- package/build/types/Snackbar/SnackbarProvider.d.ts.map +1 -1
- package/build/types/Snackbar/constants.d.ts +6 -0
- package/build/types/Snackbar/constants.d.ts.map +1 -0
- package/build/types/Snackbar/index.d.ts +3 -1
- package/build/types/Snackbar/index.d.ts.map +1 -1
- package/build/types/Snackbar/useSnackbar.d.ts +1 -1
- package/build/types/Snackbar/useSnackbar.d.ts.map +1 -1
- package/build/types/Snackbar/useSnackbarAutoDismiss.d.ts +18 -0
- package/build/types/Snackbar/useSnackbarAutoDismiss.d.ts.map +1 -0
- package/build/types/Snackbar/useSnackbarManager.d.ts +17 -0
- package/build/types/Snackbar/useSnackbarManager.d.ts.map +1 -0
- package/build/types/Snackbar/useSnackbarSwipeDismiss.d.ts +11 -0
- package/build/types/Snackbar/useSnackbarSwipeDismiss.d.ts.map +1 -0
- package/build/types/common/PropsValues/typography.d.ts +1 -13
- package/build/types/common/PropsValues/typography.d.ts.map +1 -1
- package/build/types/index.d.ts +2 -2
- package/build/types/index.d.ts.map +1 -1
- package/build/types/test-utils/index.d.ts +2 -0
- package/build/types/test-utils/index.d.ts.map +1 -1
- package/package.json +2 -2
- package/src/Button/Button.css +3 -0
- package/src/Button/Button.less +16 -0
- package/src/Button/_stories/Button.test.story.tsx +12 -12
- package/src/Calendar/DateHeader/DateHeader.tsx +3 -3
- package/src/Carousel/Carousel.tsx +3 -3
- package/src/DateInput/DateInput.css +0 -13
- package/src/DateInput/DateInput.less +2 -10
- package/src/DateInput/_stories/DateInput.test.story.tsx +13 -0
- package/src/Display/_stories/Display.story.tsx +6 -20
- package/src/ExpressiveMoneyInput/_stories/ExpressiveMoneyInput.rtl.test.story.tsx +1 -1
- package/src/InputWithDisplayFormat/_stories/InputWithDisplayFormat.test.story.tsx +0 -52
- package/src/Inputs/Input/Input.css +24 -0
- package/src/Inputs/SelectInput/OptionContent/SelectInputOptionContent.tsx +1 -4
- package/src/Inputs/SelectInput/SelectInput.test.tsx +0 -74
- package/src/Inputs/TextArea/TextArea.css +24 -0
- package/src/ListItem/ListItem.css +1 -1
- package/src/ListItem/ListItem.grid.less +4 -4
- package/src/ListItem/ListItem.less +1 -1
- package/src/ListItem/Navigation/ListItemNavigation.tsx +2 -2
- package/src/PhoneNumberInput/PhoneNumberInput.css +0 -3
- package/src/PhoneNumberInput/PhoneNumberInput.less +2 -10
- package/src/PhoneNumberInput/PhoneNumberInput.tsx +0 -1
- package/src/PhoneNumberInput/_stories/PhoneNumberInput.rtl.test.story.tsx +1 -1
- package/src/Popover/Popover.css +6 -0
- package/src/PromoCard/Indicator/PromoCardIndicator.tsx +2 -2
- package/src/PromoCard/PromoCard.css +3 -0
- package/src/PromoCard/PromoCard.less +5 -0
- package/src/Prompt/CriticalBanner/_stories/CriticalBanner.test.story.tsx +1 -1
- package/src/Snackbar/Snackbar.css +182 -61
- package/src/Snackbar/Snackbar.less +185 -56
- package/src/Snackbar/Snackbar.messages.ts +9 -0
- package/src/Snackbar/Snackbar.test.tsx +697 -0
- package/src/Snackbar/Snackbar.tsx +227 -96
- package/src/Snackbar/Snackbar.types.ts +26 -0
- package/src/Snackbar/SnackbarContext.ts +2 -2
- package/src/Snackbar/SnackbarPortal.tsx +110 -0
- package/src/Snackbar/SnackbarProvider.test.tsx +202 -0
- package/src/Snackbar/SnackbarProvider.tsx +25 -25
- package/src/Snackbar/_stories/Snackbar.accessibility.docs.mdx +73 -0
- package/src/Snackbar/_stories/Snackbar.rtl.test.story.tsx +1 -12
- package/src/Snackbar/_stories/Snackbar.story.tsx +447 -62
- package/src/Snackbar/_stories/Snackbar.test.story.tsx +91 -16
- package/src/Snackbar/constants.ts +5 -0
- package/src/Snackbar/index.ts +3 -1
- package/src/Snackbar/useSnackbarAutoDismiss.ts +155 -0
- package/src/Snackbar/useSnackbarManager.ts +181 -0
- package/src/Snackbar/useSnackbarSwipeDismiss.ts +129 -0
- package/src/_deprecated/Select/Select.css +6 -0
- package/src/common/PropsValues/typography.ts +1 -20
- package/src/i18n/en.json +1 -1
- package/src/index.ts +7 -2
- package/src/main.css +864 -1509
- package/src/styles/less/accordion.css +12 -0
- package/src/styles/less/button-groups.css +6 -0
- package/src/styles/less/buttons.css +2 -0
- package/src/styles/less/core/_typography.less +194 -26
- package/src/styles/less/decision.css +12 -0
- package/src/styles/less/dropdowns.css +18 -2
- package/src/styles/less/droppable.css +6 -0
- package/src/styles/less/footer.css +12 -0
- package/src/styles/less/forms/bootstrap-forms.css +24 -2
- package/src/styles/less/input-groups.css +42 -2
- package/src/styles/less/list-group.css +6 -0
- package/src/styles/less/navbar.css +18 -2
- package/src/styles/less/neptune-core.css +512 -4
- package/src/styles/less/neptune.bundle.less +0 -2
- package/src/styles/less/neptune.css +640 -1426
- package/src/styles/less/popovers.css +18 -0
- package/src/styles/less/tooltip.css +6 -0
- package/src/DateInput/_stories/DateInput.rtl.test.story.tsx +0 -36
|
@@ -241,3 +241,6 @@
|
|
|
241
241
|
.np-theme-personal--bright-green .wds-Button--secondary-neutral .wds-Button-avatars .np-circle {
|
|
242
242
|
--circle-border-color: color-mix(in srgb, var(--Button-color) 12%, transparent);
|
|
243
243
|
}
|
|
244
|
+
[dir="rtl"] .wds-Button .tw-icon-chevron-right,[dir="rtl"] .wds-Button .tw-icon-arrow-right,[dir="rtl"] .wds-Button .tw-icon-chevron-left,[dir="rtl"] .wds-Button .tw-icon-arrow-left,[dir="rtl"] .wds-Button .tw-icon-arrow-diagonal-down,[dir="rtl"] .wds-Button .tw-icon-arrow-diagonal-up,[dir="rtl"] .wds-Button .tw-icon-list,[dir="rtl"] .wds-Button .tw-icon-activity {
|
|
245
|
+
scale: -1 1;
|
|
246
|
+
}
|
|
@@ -9,19 +9,6 @@
|
|
|
9
9
|
.tw-date .tw-date--day {
|
|
10
10
|
margin-block-end: 0;
|
|
11
11
|
}
|
|
12
|
-
[dir="rtl"] .tw-date .np-input {
|
|
13
|
-
text-align: end;
|
|
14
|
-
}
|
|
15
|
-
[dir="rtl"] .tw-date .np-input::-moz-placeholder {
|
|
16
|
-
text-align: start;
|
|
17
|
-
}
|
|
18
|
-
[dir="rtl"] .tw-date .np-input:-moz-placeholder {
|
|
19
|
-
text-align: start;
|
|
20
|
-
}
|
|
21
|
-
[dir="rtl"] .tw-date .np-input::placeholder,
|
|
22
|
-
[dir="rtl"] .tw-date .np-input:placeholder-shown {
|
|
23
|
-
text-align: start;
|
|
24
|
-
}
|
|
25
12
|
@media (min-width: 600px) {
|
|
26
13
|
.np-theme-personal .tw-date label {
|
|
27
14
|
margin-block-end: 0;
|
|
@@ -39,6 +39,12 @@
|
|
|
39
39
|
--ring-color: var(--color-interactive-primary);
|
|
40
40
|
}
|
|
41
41
|
.np-form-control--size-auto {
|
|
42
|
+
font-weight: 400;
|
|
43
|
+
font-weight: var(--font-weight-regular);
|
|
44
|
+
font-size: 1rem;
|
|
45
|
+
font-size: var(--font-size-16);
|
|
46
|
+
line-height: 150%;
|
|
47
|
+
letter-spacing: -0.011em;
|
|
42
48
|
word-wrap: break-word;
|
|
43
49
|
padding-block-start: 12px;
|
|
44
50
|
padding-block-start: var(--size-12);
|
|
@@ -80,6 +86,12 @@
|
|
|
80
86
|
padding-block-end: 0 !important;
|
|
81
87
|
}
|
|
82
88
|
.np-form-control--size-sm {
|
|
89
|
+
font-size: 0.875rem;
|
|
90
|
+
font-size: var(--font-size-14);
|
|
91
|
+
line-height: 155%;
|
|
92
|
+
letter-spacing: -0.006em;
|
|
93
|
+
font-weight: 400;
|
|
94
|
+
font-weight: var(--font-weight-regular);
|
|
83
95
|
word-wrap: break-word;
|
|
84
96
|
block-size: 32px !important;
|
|
85
97
|
block-size: var(--size-32) !important;
|
|
@@ -119,6 +131,12 @@
|
|
|
119
131
|
}
|
|
120
132
|
}
|
|
121
133
|
.np-form-control--size-md {
|
|
134
|
+
font-weight: 400;
|
|
135
|
+
font-weight: var(--font-weight-regular);
|
|
136
|
+
font-size: 1rem;
|
|
137
|
+
font-size: var(--font-size-16);
|
|
138
|
+
line-height: 150%;
|
|
139
|
+
letter-spacing: -0.011em;
|
|
122
140
|
word-wrap: break-word;
|
|
123
141
|
block-size: 48px !important;
|
|
124
142
|
block-size: var(--size-48) !important;
|
|
@@ -166,6 +184,12 @@
|
|
|
166
184
|
letter-spacing: 0;
|
|
167
185
|
word-wrap: break-word;
|
|
168
186
|
margin-block-end: initial;
|
|
187
|
+
font-size: 1.375rem;
|
|
188
|
+
font-size: var(--font-size-22);
|
|
189
|
+
font-weight: 600;
|
|
190
|
+
font-weight: var(--font-weight-semi-bold);
|
|
191
|
+
letter-spacing: -0.018em;
|
|
192
|
+
line-height: 125%;
|
|
169
193
|
block-size: 72px !important;
|
|
170
194
|
block-size: var(--size-72) !important;
|
|
171
195
|
}
|
|
@@ -39,6 +39,12 @@
|
|
|
39
39
|
--ring-color: var(--color-interactive-primary);
|
|
40
40
|
}
|
|
41
41
|
.np-form-control--size-auto {
|
|
42
|
+
font-weight: 400;
|
|
43
|
+
font-weight: var(--font-weight-regular);
|
|
44
|
+
font-size: 1rem;
|
|
45
|
+
font-size: var(--font-size-16);
|
|
46
|
+
line-height: 150%;
|
|
47
|
+
letter-spacing: -0.011em;
|
|
42
48
|
word-wrap: break-word;
|
|
43
49
|
padding-block-start: 12px;
|
|
44
50
|
padding-block-start: var(--size-12);
|
|
@@ -80,6 +86,12 @@
|
|
|
80
86
|
padding-block-end: 0 !important;
|
|
81
87
|
}
|
|
82
88
|
.np-form-control--size-sm {
|
|
89
|
+
font-size: 0.875rem;
|
|
90
|
+
font-size: var(--font-size-14);
|
|
91
|
+
line-height: 155%;
|
|
92
|
+
letter-spacing: -0.006em;
|
|
93
|
+
font-weight: 400;
|
|
94
|
+
font-weight: var(--font-weight-regular);
|
|
83
95
|
word-wrap: break-word;
|
|
84
96
|
block-size: 32px !important;
|
|
85
97
|
block-size: var(--size-32) !important;
|
|
@@ -119,6 +131,12 @@
|
|
|
119
131
|
}
|
|
120
132
|
}
|
|
121
133
|
.np-form-control--size-md {
|
|
134
|
+
font-weight: 400;
|
|
135
|
+
font-weight: var(--font-weight-regular);
|
|
136
|
+
font-size: 1rem;
|
|
137
|
+
font-size: var(--font-size-16);
|
|
138
|
+
line-height: 150%;
|
|
139
|
+
letter-spacing: -0.011em;
|
|
122
140
|
word-wrap: break-word;
|
|
123
141
|
block-size: 48px !important;
|
|
124
142
|
block-size: var(--size-48) !important;
|
|
@@ -166,6 +184,12 @@
|
|
|
166
184
|
letter-spacing: 0;
|
|
167
185
|
word-wrap: break-word;
|
|
168
186
|
margin-block-end: initial;
|
|
187
|
+
font-size: 1.375rem;
|
|
188
|
+
font-size: var(--font-size-22);
|
|
189
|
+
font-weight: 600;
|
|
190
|
+
font-weight: var(--font-weight-semi-bold);
|
|
191
|
+
letter-spacing: -0.018em;
|
|
192
|
+
line-height: 125%;
|
|
169
193
|
block-size: 72px !important;
|
|
170
194
|
block-size: var(--size-72) !important;
|
|
171
195
|
}
|
|
@@ -567,7 +567,7 @@
|
|
|
567
567
|
.wds-list-item-control-wrapper {
|
|
568
568
|
grid-area: control;
|
|
569
569
|
}
|
|
570
|
-
.wds-list-item-navigation .tw-icon-chevron-
|
|
570
|
+
.wds-list-item-navigation .tw-icon-chevron-right {
|
|
571
571
|
color: #c9cbce;
|
|
572
572
|
color: var(--color-interactive-secondary);
|
|
573
573
|
display: block;
|
|
@@ -31,6 +31,12 @@
|
|
|
31
31
|
letter-spacing: 0;
|
|
32
32
|
word-wrap: break-word;
|
|
33
33
|
margin-block-end: initial;
|
|
34
|
+
font-weight: 600;
|
|
35
|
+
font-weight: var(--font-weight-semi-bold);
|
|
36
|
+
font-size: 1.625rem;
|
|
37
|
+
font-size: var(--font-size-26);
|
|
38
|
+
letter-spacing: -0.02em;
|
|
39
|
+
line-height: 122%;
|
|
34
40
|
}
|
|
35
41
|
@supports (hyphenate-limit-chars: 1) {
|
|
36
42
|
.np-popover__container.np-bottom-sheet .np-popover__title {
|
|
@@ -1,79 +1,200 @@
|
|
|
1
|
-
.
|
|
2
|
-
|
|
1
|
+
.wds-Snackbar {
|
|
2
|
+
display: flex;
|
|
3
|
+
justify-content: center;
|
|
4
|
+
box-sizing: border-box;
|
|
5
|
+
padding-inline: 16px;
|
|
6
|
+
padding-inline: var(--size-16);
|
|
7
|
+
padding-block-end: calc(16px + env(safe-area-inset-bottom));
|
|
8
|
+
padding-block-end: calc(var(--size-16) + env(safe-area-inset-bottom));
|
|
3
9
|
position: fixed;
|
|
4
10
|
inset-block-end: 0;
|
|
5
11
|
inset-inline-start: 0;
|
|
6
12
|
inset-inline-end: 0;
|
|
7
13
|
z-index: 1060;
|
|
8
14
|
}
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
margin-block: 0;
|
|
21
|
-
margin-inline: 16px;
|
|
22
|
-
margin-inline: var(--size-16);
|
|
23
|
-
padding-block: 8px;
|
|
24
|
-
padding-block: var(--size-8);
|
|
25
|
-
padding-inline: 16px;
|
|
26
|
-
padding-inline: var(--size-16);
|
|
27
|
-
inline-size: calc(100% - 32px);
|
|
28
|
-
inline-size: calc(100% - var(--size-32));
|
|
29
|
-
transition: 400ms cubic-bezier(0.215, 0.61, 0.355, 1);
|
|
30
|
-
}
|
|
31
|
-
.np-theme-personal .snackbar__text {
|
|
32
|
-
box-shadow: 0 2px 4px 0 rgba(69, 71, 69, 0.35);
|
|
33
|
-
position: relative;
|
|
34
|
-
background: var(--color-contrast-theme);
|
|
35
|
-
border-radius: 10px;
|
|
36
|
-
border-radius: var(--radius-small);
|
|
37
|
-
color: var(--color-contrast-overlay);
|
|
38
|
-
}
|
|
39
|
-
.np-theme-personal .snackbar__text::after {
|
|
40
|
-
display: block;
|
|
41
|
-
border-radius: inherit;
|
|
42
|
-
block-size: 100%;
|
|
15
|
+
@media (min-width: 600px) {
|
|
16
|
+
.wds-Snackbar {
|
|
17
|
+
padding-block-end: 24px;
|
|
18
|
+
padding-block-end: var(--size-24);
|
|
19
|
+
}
|
|
20
|
+
}
|
|
21
|
+
.wds-Snackbar--swipe-dismiss {
|
|
22
|
+
transition: transform 150ms cubic-bezier(1, 0, 1, 1);
|
|
23
|
+
}
|
|
24
|
+
.wds-Snackbar-container.wds-prompt {
|
|
25
|
+
box-sizing: border-box;
|
|
43
26
|
inline-size: 100%;
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
27
|
+
max-inline-size: 480px;
|
|
28
|
+
padding: 12px;
|
|
29
|
+
padding: var(--size-12);
|
|
30
|
+
gap: 8px;
|
|
31
|
+
gap: var(--size-8);
|
|
32
|
+
border-radius: 16px;
|
|
33
|
+
border-radius: var(--radius-medium);
|
|
34
|
+
text-align: start;
|
|
35
|
+
touch-action: pan-x pinch-zoom;
|
|
51
36
|
}
|
|
52
|
-
.
|
|
53
|
-
|
|
54
|
-
|
|
37
|
+
.wds-Snackbar-container.wds-prompt .wds-prompt__content-wrapper--with-dismiss {
|
|
38
|
+
gap: 8px;
|
|
39
|
+
gap: var(--size-8);
|
|
40
|
+
grid-template-columns: auto minmax(0, 1fr);
|
|
55
41
|
}
|
|
56
42
|
@media (min-width: 600px) {
|
|
57
|
-
.
|
|
58
|
-
|
|
59
|
-
max-inline-size: 600px;
|
|
43
|
+
.wds-Snackbar-container.wds-prompt .wds-prompt__content-wrapper--with-dismiss {
|
|
44
|
+
grid-template-columns: auto minmax(0, 1fr) auto;
|
|
60
45
|
}
|
|
61
46
|
}
|
|
62
|
-
.
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
47
|
+
.wds-Snackbar-container.wds-prompt .wds-prompt__media-wrapper {
|
|
48
|
+
color: var(--color-sentiment-content-primary);
|
|
49
|
+
}
|
|
50
|
+
@media (max-width: 320px) {
|
|
51
|
+
.wds-Snackbar-container.wds-prompt .wds-prompt__media-wrapper {
|
|
52
|
+
padding-block-start: 4px;
|
|
53
|
+
padding-block-start: var(--size-4);
|
|
54
|
+
}
|
|
55
|
+
}
|
|
56
|
+
@media (max-width: 320px) {
|
|
57
|
+
.wds-Snackbar-container.wds-prompt .wds-prompt__media-wrapper:has(.wds-Snackbar__media-asset > .tw-icon) {
|
|
58
|
+
padding-block-start: 8px;
|
|
59
|
+
padding-block-start: var(--size-8);
|
|
60
|
+
}
|
|
61
|
+
}
|
|
62
|
+
@media (max-width: 320px) {
|
|
63
|
+
.wds-Snackbar-container.wds-prompt .wds-prompt__media-wrapper:has(+ .wds-Snackbar__content .wds-Snackbar__action) {
|
|
64
|
+
padding-block-start: 8px;
|
|
65
|
+
padding-block-start: var(--size-8);
|
|
66
|
+
}
|
|
67
|
+
}
|
|
68
|
+
@media (max-width: 320px) {
|
|
69
|
+
.wds-Snackbar-container.wds-prompt .wds-prompt__media-wrapper:has(+ .wds-Snackbar__content .wds-Snackbar__action):has(.wds-Snackbar__media-asset > .tw-icon) {
|
|
70
|
+
padding-block-start: 12px;
|
|
71
|
+
padding-block-start: var(--size-12);
|
|
72
|
+
}
|
|
73
|
+
}
|
|
74
|
+
.wds-Snackbar-container.wds-prompt .wds-Snackbar__media-asset svg {
|
|
75
|
+
inline-size: 24px;
|
|
76
|
+
inline-size: var(--size-24);
|
|
77
|
+
block-size: 24px;
|
|
78
|
+
block-size: var(--size-24);
|
|
66
79
|
}
|
|
67
|
-
.
|
|
68
|
-
|
|
69
|
-
transform: translateY(calc(100% + 10px));
|
|
80
|
+
.wds-Snackbar-container.wds-prompt .wds-Snackbar__process-indicator .process-circle {
|
|
81
|
+
stroke: currentColor;
|
|
70
82
|
}
|
|
71
|
-
.
|
|
72
|
-
|
|
73
|
-
|
|
83
|
+
.wds-Snackbar-container.wds-prompt .wds-prompt__dismiss.np-icon-button {
|
|
84
|
+
display: none;
|
|
85
|
+
align-self: flex-start;
|
|
86
|
+
margin-block-start: calc(4px - 1px);
|
|
87
|
+
margin-block-start: calc(var(--size-4) - 1px);
|
|
88
|
+
color: var(--color-sentiment-content-primary);
|
|
89
|
+
fill: var(--color-sentiment-content-primary);
|
|
90
|
+
background-color: transparent;
|
|
74
91
|
}
|
|
75
92
|
@media (min-width: 600px) {
|
|
76
|
-
.
|
|
77
|
-
|
|
93
|
+
.wds-Snackbar-container.wds-prompt .wds-prompt__dismiss.np-icon-button {
|
|
94
|
+
display: flex;
|
|
95
|
+
}
|
|
96
|
+
}
|
|
97
|
+
.wds-Snackbar-container.wds-prompt .wds-prompt__dismiss.np-icon-button:not(.disabled):not(:disabled):hover,
|
|
98
|
+
.wds-Snackbar-container.wds-prompt .wds-prompt__dismiss.np-icon-button:not(.disabled):not(:disabled):active {
|
|
99
|
+
background-color: var(--color-sentiment-interactive-secondary-neutral);
|
|
100
|
+
}
|
|
101
|
+
.wds-Snackbar-container.wds-prompt .wds-prompt__dismiss.np-icon-button:before {
|
|
102
|
+
inset: calc(-1 * 12px);
|
|
103
|
+
inset: calc(-1 * var(--size-12));
|
|
104
|
+
inline-size: calc(24px + 12px * 2);
|
|
105
|
+
inline-size: calc(var(--size-24) + var(--size-12) * 2);
|
|
106
|
+
block-size: calc(24px + 12px * 2);
|
|
107
|
+
block-size: calc(var(--size-24) + var(--size-12) * 2);
|
|
108
|
+
border-radius: 16px;
|
|
109
|
+
border-radius: var(--radius-medium);
|
|
110
|
+
}
|
|
111
|
+
.wds-Snackbar-container.wds-prompt .wds-Snackbar__action {
|
|
112
|
+
flex-shrink: 0;
|
|
113
|
+
}
|
|
114
|
+
.wds-Snackbar-container.wds-prompt .wds-Snackbar__action .wds-Button-labelText {
|
|
115
|
+
color: var(--color-sentiment-content-primary);
|
|
116
|
+
font-weight: 500;
|
|
117
|
+
font-weight: var(--font-weight-medium);
|
|
118
|
+
}
|
|
119
|
+
.wds-Snackbar__content {
|
|
120
|
+
display: flex;
|
|
121
|
+
align-items: flex-start;
|
|
122
|
+
gap: 8px;
|
|
123
|
+
gap: var(--size-8);
|
|
124
|
+
flex: 1 0 0;
|
|
125
|
+
min-block-size: 32px;
|
|
126
|
+
min-block-size: var(--size-32);
|
|
127
|
+
min-inline-size: 0;
|
|
128
|
+
}
|
|
129
|
+
.wds-Snackbar__message {
|
|
130
|
+
display: flex;
|
|
131
|
+
inline-size: auto;
|
|
132
|
+
flex: 1 0 0;
|
|
133
|
+
min-inline-size: 0;
|
|
134
|
+
align-self: stretch;
|
|
135
|
+
}
|
|
136
|
+
.wds-Snackbar__message > div {
|
|
137
|
+
display: flex;
|
|
138
|
+
flex: 1 0 0;
|
|
139
|
+
min-inline-size: 0;
|
|
140
|
+
}
|
|
141
|
+
.wds-Snackbar__body {
|
|
142
|
+
display: flex;
|
|
143
|
+
flex-direction: column;
|
|
144
|
+
justify-content: center;
|
|
145
|
+
flex: 1 0 0;
|
|
146
|
+
min-inline-size: 0;
|
|
147
|
+
align-self: stretch;
|
|
148
|
+
word-wrap: break-word;
|
|
149
|
+
word-break: break-word;
|
|
150
|
+
color: var(--color-sentiment-content-primary);
|
|
151
|
+
font-feature-settings: "liga" off, "clig" off;
|
|
152
|
+
font-family: 'Inter', Helvetica, Arial, sans-serif;
|
|
153
|
+
font-family: var(--font-family-regular);
|
|
154
|
+
font-size: 0.875rem;
|
|
155
|
+
font-size: var(--font-size-14);
|
|
156
|
+
font-style: normal;
|
|
157
|
+
font-weight: 500;
|
|
158
|
+
font-weight: var(--font-weight-medium);
|
|
159
|
+
line-height: 155%;
|
|
160
|
+
letter-spacing: -0.006em;
|
|
161
|
+
}
|
|
162
|
+
.wds-Snackbar-container-appear,
|
|
163
|
+
.wds-Snackbar-container-enter {
|
|
164
|
+
opacity: 0;
|
|
165
|
+
transform: translateY(80px) scale(0.5);
|
|
166
|
+
}
|
|
167
|
+
.wds-Snackbar-container-appear-active,
|
|
168
|
+
.wds-Snackbar-container-enter-active {
|
|
169
|
+
opacity: 1;
|
|
170
|
+
transform: translateY(0) scale(1);
|
|
171
|
+
transition: opacity 150ms linear, transform 300ms cubic-bezier(0, 0, 0, 1);
|
|
172
|
+
}
|
|
173
|
+
.wds-Snackbar-container-exit {
|
|
174
|
+
opacity: 1;
|
|
175
|
+
transform: translateY(0) scale(1);
|
|
176
|
+
}
|
|
177
|
+
.wds-Snackbar-container-exit-active {
|
|
178
|
+
opacity: 0;
|
|
179
|
+
transform: translateY(80px) scale(0.5);
|
|
180
|
+
transition: opacity 50ms linear 50ms, transform 150ms cubic-bezier(1, 0, 1, 1);
|
|
181
|
+
}
|
|
182
|
+
@media (prefers-reduced-motion: reduce) {
|
|
183
|
+
.wds-Snackbar--swipe-dismiss {
|
|
184
|
+
transition: none;
|
|
185
|
+
}
|
|
186
|
+
.wds-Snackbar-container-appear,
|
|
187
|
+
.wds-Snackbar-container-appear-active,
|
|
188
|
+
.wds-Snackbar-container-enter,
|
|
189
|
+
.wds-Snackbar-container-enter-active,
|
|
190
|
+
.wds-Snackbar-container-exit {
|
|
191
|
+
opacity: 1;
|
|
192
|
+
transform: none;
|
|
193
|
+
transition: none;
|
|
194
|
+
}
|
|
195
|
+
.wds-Snackbar-container-exit-active {
|
|
196
|
+
opacity: 0;
|
|
197
|
+
transform: none;
|
|
198
|
+
transition: none;
|
|
78
199
|
}
|
|
79
200
|
}
|
|
@@ -146,6 +146,12 @@
|
|
|
146
146
|
border-radius: var(--radius-small);
|
|
147
147
|
color: #37517e;
|
|
148
148
|
color: var(--color-content-primary);
|
|
149
|
+
font-size: 0.875rem;
|
|
150
|
+
font-size: var(--font-size-14);
|
|
151
|
+
line-height: 155%;
|
|
152
|
+
letter-spacing: -0.006em;
|
|
153
|
+
font-weight: 400;
|
|
154
|
+
font-weight: var(--font-weight-regular);
|
|
149
155
|
word-wrap: break-word;
|
|
150
156
|
}
|
|
151
157
|
.np-theme-personal .np-dropdown-menu > li > a {
|
|
@@ -60,6 +60,12 @@
|
|
|
60
60
|
line-height: var(--line-height-title);
|
|
61
61
|
letter-spacing: 0;
|
|
62
62
|
word-wrap: break-word;
|
|
63
|
+
font-size: 1.125rem;
|
|
64
|
+
font-size: var(--font-size-18);
|
|
65
|
+
font-weight: 600;
|
|
66
|
+
font-weight: var(--font-weight-semi-bold);
|
|
67
|
+
letter-spacing: -0.014em;
|
|
68
|
+
line-height: 135%;
|
|
63
69
|
}
|
|
64
70
|
@supports (hyphenate-limit-chars: 1) {
|
|
65
71
|
.decision__title {
|
|
@@ -96,6 +102,12 @@
|
|
|
96
102
|
margin-block-start: var(--size-8);
|
|
97
103
|
}
|
|
98
104
|
.decision__content {
|
|
105
|
+
font-size: 0.875rem;
|
|
106
|
+
font-size: var(--font-size-14);
|
|
107
|
+
line-height: 155%;
|
|
108
|
+
letter-spacing: -0.006em;
|
|
109
|
+
font-weight: 400;
|
|
110
|
+
font-weight: var(--font-weight-regular);
|
|
99
111
|
word-wrap: break-word;
|
|
100
112
|
margin-block-start: 4px;
|
|
101
113
|
margin-block-start: var(--size-4);
|
|
@@ -346,6 +346,12 @@
|
|
|
346
346
|
}
|
|
347
347
|
}
|
|
348
348
|
.btn-group .secondary {
|
|
349
|
+
font-size: 0.875rem;
|
|
350
|
+
font-size: var(--font-size-14);
|
|
351
|
+
line-height: 155%;
|
|
352
|
+
letter-spacing: -0.006em;
|
|
353
|
+
font-weight: 400;
|
|
354
|
+
font-weight: var(--font-weight-regular);
|
|
349
355
|
word-wrap: break-word;
|
|
350
356
|
color: #5d7079;
|
|
351
357
|
color: var(--color-content-secondary);
|
|
@@ -22,6 +22,12 @@
|
|
|
22
22
|
line-height: var(--line-height-title);
|
|
23
23
|
letter-spacing: 0;
|
|
24
24
|
word-wrap: break-word;
|
|
25
|
+
font-size: 1.125rem;
|
|
26
|
+
font-size: var(--font-size-18);
|
|
27
|
+
font-weight: 600;
|
|
28
|
+
font-weight: var(--font-weight-semi-bold);
|
|
29
|
+
letter-spacing: -0.014em;
|
|
30
|
+
line-height: 135%;
|
|
25
31
|
}
|
|
26
32
|
@supports (hyphenate-limit-chars: 1) {
|
|
27
33
|
.decision__title {
|
|
@@ -58,6 +64,12 @@
|
|
|
58
64
|
margin-block-start: var(--size-8);
|
|
59
65
|
}
|
|
60
66
|
.decision__content {
|
|
67
|
+
font-size: 0.875rem;
|
|
68
|
+
font-size: var(--font-size-14);
|
|
69
|
+
line-height: 155%;
|
|
70
|
+
letter-spacing: -0.006em;
|
|
71
|
+
font-weight: 400;
|
|
72
|
+
font-weight: var(--font-weight-regular);
|
|
61
73
|
word-wrap: break-word;
|
|
62
74
|
margin-block-start: 4px;
|
|
63
75
|
margin-block-start: var(--size-4);
|
|
@@ -11,6 +11,12 @@
|
|
|
11
11
|
padding: 8px;
|
|
12
12
|
margin: 0;
|
|
13
13
|
list-style: none;
|
|
14
|
+
font-size: 0.875rem;
|
|
15
|
+
font-size: var(--font-size-14);
|
|
16
|
+
line-height: 155%;
|
|
17
|
+
letter-spacing: -0.006em;
|
|
18
|
+
font-weight: 400;
|
|
19
|
+
font-weight: var(--font-weight-regular);
|
|
14
20
|
word-wrap: break-word;
|
|
15
21
|
text-align: start;
|
|
16
22
|
background-color: #ffffff;
|
|
@@ -89,6 +95,12 @@
|
|
|
89
95
|
padding: var(--dropdown-link-padding);
|
|
90
96
|
clear: both;
|
|
91
97
|
border-radius: 3px;
|
|
98
|
+
font-size: 0.875rem;
|
|
99
|
+
font-size: var(--font-size-14);
|
|
100
|
+
line-height: 155%;
|
|
101
|
+
letter-spacing: -0.006em;
|
|
102
|
+
font-weight: 400;
|
|
103
|
+
font-weight: var(--font-weight-regular);
|
|
92
104
|
word-wrap: break-word;
|
|
93
105
|
color: #37517e;
|
|
94
106
|
color: var(--color-content-primary);
|
|
@@ -285,8 +297,6 @@
|
|
|
285
297
|
display: block;
|
|
286
298
|
padding-block: 8px;
|
|
287
299
|
padding-inline: 16px;
|
|
288
|
-
font-size: 0.875rem;
|
|
289
|
-
font-size: var(--font-size-14);
|
|
290
300
|
line-height: 1.5;
|
|
291
301
|
line-height: var(--line-height-body);
|
|
292
302
|
color: #5d7079;
|
|
@@ -299,6 +309,12 @@
|
|
|
299
309
|
line-height: var(--line-height-title);
|
|
300
310
|
letter-spacing: 0;
|
|
301
311
|
word-wrap: break-word;
|
|
312
|
+
font-weight: 500;
|
|
313
|
+
font-weight: var(--font-weight-medium);
|
|
314
|
+
font-size: 0.875rem;
|
|
315
|
+
font-size: var(--font-size-14);
|
|
316
|
+
letter-spacing: -0.006em;
|
|
317
|
+
line-height: 140%;
|
|
302
318
|
}
|
|
303
319
|
@supports (hyphenate-limit-chars: 1) {
|
|
304
320
|
.dropdown-header {
|
|
@@ -1,5 +1,11 @@
|
|
|
1
1
|
.droppable {
|
|
2
2
|
position: relative;
|
|
3
|
+
font-weight: 400;
|
|
4
|
+
font-weight: var(--font-weight-regular);
|
|
5
|
+
font-size: 1rem;
|
|
6
|
+
font-size: var(--font-size-16);
|
|
7
|
+
line-height: 150%;
|
|
8
|
+
letter-spacing: -0.011em;
|
|
3
9
|
word-wrap: break-word;
|
|
4
10
|
text-align: center;
|
|
5
11
|
border: 1px solid #c9cbce;
|
|
@@ -1,6 +1,12 @@
|
|
|
1
1
|
.footer {
|
|
2
2
|
background-color: rgba(134,167,189,0.10196);
|
|
3
3
|
background-color: var(--color-background-neutral);
|
|
4
|
+
font-size: 0.875rem;
|
|
5
|
+
font-size: var(--font-size-14);
|
|
6
|
+
line-height: 155%;
|
|
7
|
+
letter-spacing: -0.006em;
|
|
8
|
+
font-weight: 400;
|
|
9
|
+
font-weight: var(--font-weight-regular);
|
|
4
10
|
word-wrap: break-word;
|
|
5
11
|
padding-block-start: calc(8px * 10);
|
|
6
12
|
padding-block-start: calc(var(--size-8) * 10);
|
|
@@ -55,6 +61,12 @@
|
|
|
55
61
|
.footer .link-icon {
|
|
56
62
|
color: #5d7079;
|
|
57
63
|
color: var(--color-content-secondary);
|
|
64
|
+
font-size: 0.875rem;
|
|
65
|
+
font-size: var(--font-size-14);
|
|
66
|
+
line-height: 155%;
|
|
67
|
+
letter-spacing: -0.006em;
|
|
68
|
+
font-weight: 400;
|
|
69
|
+
font-weight: var(--font-weight-regular);
|
|
58
70
|
word-wrap: break-word;
|
|
59
71
|
}
|
|
60
72
|
@supports (hyphenate-limit-chars: 1) {
|