@transferwise/components 0.0.0-experimental-6e04f56 → 0.0.0-experimental-542ae69
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/Body/Body.js +1 -1
- package/build/Body/Body.js.map +1 -1
- package/build/Body/Body.mjs +1 -1
- package/build/Body/Body.mjs.map +1 -1
- package/build/Calendar/DayCalendar/Table/DayCalendarTable.js +1 -1
- package/build/Calendar/DayCalendar/Table/DayCalendarTable.js.map +1 -1
- package/build/Calendar/DayCalendar/Table/DayCalendarTable.mjs +1 -1
- package/build/Calendar/DayCalendar/Table/DayCalendarTable.mjs.map +1 -1
- package/build/Calendar/MonthCalendar/Table/MonthCalendarTable.js +1 -1
- package/build/Calendar/MonthCalendar/Table/MonthCalendarTable.js.map +1 -1
- package/build/Calendar/MonthCalendar/Table/MonthCalendarTable.mjs +1 -1
- package/build/Calendar/MonthCalendar/Table/MonthCalendarTable.mjs.map +1 -1
- package/build/Calendar/TableLink/TableLink.js +1 -1
- package/build/Calendar/TableLink/TableLink.js.map +1 -1
- package/build/Calendar/TableLink/TableLink.mjs +1 -1
- package/build/Calendar/TableLink/TableLink.mjs.map +1 -1
- 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/Inputs/SelectInput/BottomSheet/SelectInputBottomSheet.js +2 -2
- package/build/Inputs/SelectInput/BottomSheet/SelectInputBottomSheet.js.map +1 -1
- package/build/Inputs/SelectInput/BottomSheet/SelectInputBottomSheet.mjs +2 -2
- package/build/Inputs/SelectInput/BottomSheet/SelectInputBottomSheet.mjs.map +1 -1
- package/build/Inputs/SelectInput/Option/SelectInputOption.js +1 -1
- package/build/Inputs/SelectInput/Option/SelectInputOption.js.map +1 -1
- package/build/Inputs/SelectInput/Option/SelectInputOption.mjs +1 -1
- package/build/Inputs/SelectInput/Option/SelectInputOption.mjs.map +1 -1
- package/build/Inputs/SelectInput/OptionContent/SelectInputOptionContent.js +3 -3
- package/build/Inputs/SelectInput/OptionContent/SelectInputOptionContent.js.map +1 -1
- package/build/Inputs/SelectInput/OptionContent/SelectInputOptionContent.mjs +3 -3
- package/build/Inputs/SelectInput/OptionContent/SelectInputOptionContent.mjs.map +1 -1
- package/build/Inputs/SelectInput/Popover/SelectInputPopover.js +2 -2
- package/build/Inputs/SelectInput/Popover/SelectInputPopover.js.map +1 -1
- package/build/Inputs/SelectInput/Popover/SelectInputPopover.mjs +2 -2
- package/build/Inputs/SelectInput/Popover/SelectInputPopover.mjs.map +1 -1
- package/build/Label/Label.js +1 -1
- package/build/Label/Label.js.map +1 -1
- package/build/Label/Label.mjs +1 -1
- package/build/Label/Label.mjs.map +1 -1
- package/build/Snackbar/Snackbar.js +101 -98
- package/build/Snackbar/Snackbar.js.map +1 -1
- package/build/Snackbar/Snackbar.mjs +102 -99
- package/build/Snackbar/Snackbar.mjs.map +1 -1
- package/build/Stepper/Stepper.js +1 -1
- package/build/Stepper/Stepper.js.map +1 -1
- package/build/Stepper/Stepper.mjs +1 -1
- package/build/Stepper/Stepper.mjs.map +1 -1
- package/build/Table/Header/TableHeader.js +1 -1
- package/build/Table/Header/TableHeader.js.map +1 -1
- package/build/Table/Header/TableHeader.mjs +1 -1
- package/build/Table/Header/TableHeader.mjs.map +1 -1
- package/build/Tabs/Tab/Tab.js +1 -1
- package/build/Tabs/Tab/Tab.js.map +1 -1
- package/build/Tabs/Tab/Tab.mjs +1 -1
- package/build/Tabs/Tab/Tab.mjs.map +1 -1
- package/build/Tag/Tag.js +1 -1
- package/build/Tag/Tag.js.map +1 -1
- package/build/Tag/Tag.mjs +1 -1
- package/build/Tag/Tag.mjs.map +1 -1
- package/build/Typeahead/TypeaheadOption/TypeaheadOption.js +2 -2
- package/build/Typeahead/TypeaheadOption/TypeaheadOption.js.map +1 -1
- package/build/Typeahead/TypeaheadOption/TypeaheadOption.mjs +2 -2
- package/build/Typeahead/TypeaheadOption/TypeaheadOption.mjs.map +1 -1
- package/build/Upload/Steps/UploadImageStep/UploadImageStep.js +2 -2
- package/build/Upload/Steps/UploadImageStep/UploadImageStep.js.map +1 -1
- package/build/Upload/Steps/UploadImageStep/UploadImageStep.mjs +2 -2
- package/build/Upload/Steps/UploadImageStep/UploadImageStep.mjs.map +1 -1
- package/build/_deprecated/ActionButton/ActionButton.js +1 -1
- package/build/_deprecated/ActionButton/ActionButton.js.map +1 -1
- package/build/_deprecated/ActionButton/ActionButton.mjs +1 -1
- package/build/_deprecated/ActionButton/ActionButton.mjs.map +1 -1
- package/build/_deprecated/Avatar/Avatar.js +1 -1
- package/build/_deprecated/Avatar/Avatar.js.map +1 -1
- package/build/_deprecated/Avatar/Avatar.mjs +1 -1
- package/build/_deprecated/Avatar/Avatar.mjs.map +1 -1
- package/build/_deprecated/Select/Select.js +2 -2
- package/build/_deprecated/Select/Select.js.map +1 -1
- package/build/_deprecated/Select/Select.mjs +2 -2
- package/build/_deprecated/Select/Select.mjs.map +1 -1
- package/build/common/PropsValues/typography.js +6 -0
- package/build/common/PropsValues/typography.js.map +1 -1
- package/build/common/PropsValues/typography.mjs +6 -0
- package/build/common/PropsValues/typography.mjs.map +1 -1
- package/build/main.css +2907 -1535
- package/build/styles/Accordion/Accordion.css +2 -1
- package/build/styles/Body/Body.css +1 -1
- package/build/styles/Chips/Chip/Chip.css +4 -2
- package/build/styles/Decision/Decision.css +2 -1
- package/build/styles/Inputs/Input/Input.css +62 -66
- package/build/styles/Inputs/TextArea/TextArea.css +62 -66
- package/build/styles/MoneyInput/MoneyInput.css +6 -3
- package/build/styles/Popover/Popover.css +3 -47
- package/build/styles/ProgressBar/ProgressBar.css +2 -1
- package/build/styles/Table/Table.css +15 -5
- package/build/styles/Tile/Tile.css +2 -1
- package/build/styles/Typeahead/Typeahead.css +4 -2
- package/build/styles/_deprecated/CriticalBanner/CriticalCommsBanner.css +2 -1
- package/build/styles/_deprecated/Select/Select.css +44 -11
- package/build/styles/css/accordion.css +23 -52
- package/build/styles/css/button-groups.css +29 -8
- package/build/styles/css/buttons.css +26 -2
- package/build/styles/css/decision.css +23 -52
- package/build/styles/css/dropdowns.css +39 -62
- package/build/styles/css/droppable.css +28 -8
- package/build/styles/css/footer.css +41 -14
- package/build/styles/css/input-groups.css +172 -165
- package/build/styles/css/list-group.css +0 -45
- package/build/styles/css/navbar.css +39 -62
- package/build/styles/css/neptune-addons.css +15 -0
- package/build/styles/css/neptune-core.css +250 -526
- package/build/styles/css/neptune.css +2759 -1422
- package/build/styles/css/popovers.css +35 -60
- package/build/styles/css/sequences.css +6 -1
- package/build/styles/css/tooltip.css +27 -7
- package/build/styles/less/neptune-tokens.less +0 -48
- package/build/styles/main.css +2907 -1535
- package/build/styles/props/neptune-tokens.css +793 -1
- package/build/styles/styles/less/accordion.css +23 -52
- package/build/styles/styles/less/button-groups.css +29 -8
- package/build/styles/styles/less/buttons.css +26 -2
- package/build/styles/styles/less/decision.css +23 -52
- package/build/styles/styles/less/dropdowns.css +39 -62
- package/build/styles/styles/less/droppable.css +28 -8
- package/build/styles/styles/less/footer.css +41 -14
- package/build/styles/styles/less/forms/bootstrap-forms.css +137 -91
- package/build/styles/styles/less/input-groups.css +172 -165
- package/build/styles/styles/less/list-group.css +0 -45
- package/build/styles/styles/less/navbar.css +39 -62
- package/build/styles/styles/less/neptune-addons.css +15 -0
- package/build/styles/styles/less/neptune-core.css +250 -526
- package/build/styles/styles/less/neptune.css +2759 -1422
- package/build/styles/styles/less/popovers.css +35 -60
- package/build/styles/styles/less/sequences.css +6 -1
- package/build/styles/styles/less/tooltip.css +27 -7
- package/build/types/Snackbar/Snackbar.d.ts +15 -1
- package/build/types/Snackbar/Snackbar.d.ts.map +1 -1
- package/build/types/common/PropsValues/typography.d.ts +13 -1
- package/build/types/common/PropsValues/typography.d.ts.map +1 -1
- package/package.json +1 -1
- package/src/Accordion/Accordion.css +2 -1
- package/src/Accordion/Accordion.less +2 -1
- package/src/Body/Body.css +1 -1
- package/src/Body/Body.less +1 -1
- package/src/Body/Body.test.tsx +4 -4
- package/src/Body/Body.tsx +2 -2
- package/src/Calendar/DayCalendar/Table/DayCalendarTable.tsx +2 -2
- package/src/Calendar/MonthCalendar/Table/MonthCalendarTable.tsx +1 -1
- package/src/Calendar/TableLink/TableLink.tsx +1 -1
- package/src/Chips/Chip/Chip.css +4 -2
- package/src/Chips/Chip/Chip.less +2 -1
- package/src/Decision/Decision.css +2 -1
- package/src/Decision/Decision.less +2 -1
- package/src/DefinitionList/_stories/DefinitionList.story.tsx +1 -1
- package/src/Display/_stories/Display.story.tsx +20 -6
- package/src/FlowNavigation/AnimatedLabel/AnimatedLabel.tsx +1 -1
- package/src/Inputs/Input/Input.css +62 -66
- package/src/Inputs/SelectInput/BottomSheet/SelectInputBottomSheet.tsx +2 -2
- package/src/Inputs/SelectInput/Option/SelectInputOption.tsx +1 -1
- package/src/Inputs/SelectInput/OptionContent/SelectInputOptionContent.tsx +3 -3
- package/src/Inputs/SelectInput/Popover/SelectInputPopover.tsx +2 -2
- package/src/Inputs/SelectInput/_stories/SelectInput.story.tsx +1 -1
- package/src/Inputs/TextArea/TextArea.css +62 -66
- package/src/Inputs/_common.less +5 -5
- package/src/Label/Label.tsx +1 -1
- package/src/MoneyInput/MoneyInput.css +6 -3
- package/src/MoneyInput/MoneyInput.less +7 -4
- package/src/PocketSurface/_stories/PocketSurface.story.tsx +2 -2
- package/src/Popover/Popover.css +3 -47
- package/src/Popover/Popover.less +1 -1
- package/src/ProgressBar/ProgressBar.css +2 -1
- package/src/ProgressBar/ProgressBar.less +12 -11
- package/src/SentimentSurface/_stories/SentimentSurface.story.tsx +1 -1
- package/src/Snackbar/Snackbar.tsx +88 -90
- package/src/Stepper/Stepper.tsx +1 -1
- package/src/Table/Header/TableHeader.tsx +1 -1
- package/src/Table/StatusText/TableStatusText.test.tsx +5 -5
- package/src/Table/Table.css +15 -5
- package/src/Table/Table.less +17 -6
- package/src/Tabs/Tab/Tab.tsx +1 -1
- package/src/Tag/Tag.tsx +1 -1
- package/src/Tag/_stories/Tag.story.tsx +1 -1
- package/src/Tile/Tile.css +2 -1
- package/src/Tile/Tile.less +2 -1
- package/src/Typeahead/Typeahead.css +4 -2
- package/src/Typeahead/Typeahead.less +2 -1
- package/src/Typeahead/TypeaheadOption/TypeaheadOption.tsx +2 -2
- package/src/Upload/Steps/UploadImageStep/UploadImageStep.tsx +2 -2
- package/src/_deprecated/ActionButton/ActionButton.tsx +1 -1
- package/src/_deprecated/Avatar/Avatar.tsx +1 -1
- package/src/_deprecated/CriticalBanner/CriticalCommsBanner.css +2 -1
- package/src/_deprecated/CriticalBanner/CriticalCommsBanner.less +2 -1
- package/src/_deprecated/NavigationOption/_stories/NavigationOption.story.tsx +6 -6
- package/src/_deprecated/Select/Select.css +44 -11
- package/src/_deprecated/Select/Select.less +10 -5
- package/src/_deprecated/Select/Select.tsx +2 -2
- package/src/common/PropsValues/typography.ts +20 -1
- package/src/main.css +2907 -1535
- package/src/styles/less/accordion.css +23 -52
- package/src/styles/less/addons/_background-utilities.less +5 -0
- package/src/styles/less/button-groups.css +29 -8
- package/src/styles/less/button-groups.less +3 -2
- package/src/styles/less/buttons.css +26 -2
- package/src/styles/less/buttons.less +1 -1
- package/src/styles/less/core/_typography.less +67 -221
- package/src/styles/less/decision.css +23 -52
- package/src/styles/less/decision.less +2 -2
- package/src/styles/less/dropdowns.css +39 -62
- package/src/styles/less/dropdowns.less +6 -5
- package/src/styles/less/droppable.css +28 -8
- package/src/styles/less/droppable.less +4 -4
- package/src/styles/less/footer.css +41 -14
- package/src/styles/less/footer.less +4 -3
- package/src/styles/less/forms/bootstrap-forms.css +137 -91
- package/src/styles/less/forms/bootstrap-forms.less +70 -57
- package/src/styles/less/input-groups.css +172 -165
- package/src/styles/less/input-groups.less +5 -5
- package/src/styles/less/list-group.css +0 -45
- package/src/styles/less/list-group.less +7 -4
- package/src/styles/less/mixins/_text-emphasis.less +7 -1
- package/src/styles/less/navbar.css +39 -62
- package/src/styles/less/neptune-addons.css +15 -0
- package/src/styles/less/neptune-core.css +250 -526
- package/src/styles/less/neptune.bundle.less +4 -0
- package/src/styles/less/neptune.css +2759 -1422
- package/src/styles/less/popovers.css +35 -60
- package/src/styles/less/popovers.less +3 -3
- package/src/styles/less/sequences.css +6 -1
- package/src/styles/less/sequences.less +7 -2
- package/src/styles/less/tooltip.css +27 -7
- package/src/styles/less/tooltip.less +1 -1
- package/src/Snackbar/Snackbar.test.tsx +0 -190
|
@@ -1,4 +1,30 @@
|
|
|
1
|
-
.np-
|
|
1
|
+
.np-dropdown-menu > li > a {
|
|
2
|
+
word-wrap: break-word;
|
|
3
|
+
}
|
|
4
|
+
@supports (hyphenate-limit-chars: 1) {
|
|
5
|
+
.np-dropdown-menu > li > a {
|
|
6
|
+
hyphens: auto;hyphenate-limit-chars: 7 3;
|
|
7
|
+
}
|
|
8
|
+
@media (min-width: 840px) {
|
|
9
|
+
.np-dropdown-menu > li > a {
|
|
10
|
+
hyphenate-limit-chars: 8 3;
|
|
11
|
+
}
|
|
12
|
+
}
|
|
13
|
+
@media (min-width: 1160px) {
|
|
14
|
+
.np-dropdown-menu > li > a {
|
|
15
|
+
hyphenate-limit-chars: 10 4 3;
|
|
16
|
+
}
|
|
17
|
+
}
|
|
18
|
+
}@supports (not (hyphenate-limit-chars: 1)) and (-webkit-hyphenate-limit-before: 1) {
|
|
19
|
+
.np-dropdown-menu > li > a {
|
|
20
|
+
hyphens: auto;-webkit-hyphenate-limit-before: 3;-webkit-hyphenate-limit-after: 3;
|
|
21
|
+
}
|
|
22
|
+
@media (min-width: 1160px) {
|
|
23
|
+
.np-dropdown-menu > li > a {
|
|
24
|
+
-webkit-hyphenate-limit-before: 4;
|
|
25
|
+
}
|
|
26
|
+
}
|
|
27
|
+
}.np-select .np-dropdown-toggle {
|
|
2
28
|
background-color: #ffffff;
|
|
3
29
|
background-color: var(--color-background-screen);
|
|
4
30
|
border: 1px solid #c9cbce;
|
|
@@ -146,12 +172,6 @@
|
|
|
146
172
|
border-radius: var(--radius-small);
|
|
147
173
|
color: #37517e;
|
|
148
174
|
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);
|
|
155
175
|
word-wrap: break-word;
|
|
156
176
|
}
|
|
157
177
|
.np-theme-personal .np-dropdown-menu > li > a {
|
|
@@ -230,8 +250,12 @@
|
|
|
230
250
|
.np-dropdown-menu > .selected > a strong {
|
|
231
251
|
color: inherit;
|
|
232
252
|
}
|
|
253
|
+
.np-dropdown-menu > .active > a .body-2,
|
|
254
|
+
.np-dropdown-menu > .selected > a .body-2,
|
|
233
255
|
.np-dropdown-menu > .active > a .np-text-body-default,
|
|
234
|
-
.np-dropdown-menu > .selected > a .np-text-body-default
|
|
256
|
+
.np-dropdown-menu > .selected > a .np-text-body-default,
|
|
257
|
+
.np-dropdown-menu > .active > a .wds-text-body-default,
|
|
258
|
+
.np-dropdown-menu > .selected > a .wds-text-body-default {
|
|
235
259
|
color: #c9cbce;
|
|
236
260
|
}
|
|
237
261
|
.np-dropdown-menu .np-select-filter,
|
|
@@ -271,7 +295,9 @@
|
|
|
271
295
|
vertical-align: middle;
|
|
272
296
|
}
|
|
273
297
|
.np-select .np-text-body-default,
|
|
274
|
-
.np-dropdown-menu .np-text-body-default
|
|
298
|
+
.np-dropdown-menu .np-text-body-default,
|
|
299
|
+
.np-select .wds-text-body-default,
|
|
300
|
+
.np-dropdown-menu .wds-text-body-default {
|
|
275
301
|
color: #5d7079;
|
|
276
302
|
color: var(--color-content-secondary);
|
|
277
303
|
}
|
|
@@ -332,7 +358,13 @@
|
|
|
332
358
|
.np-theme-personal .np-dropdown-menu .active a:focus .np-text-body-default,
|
|
333
359
|
.np-theme-personal .np-dropdown-menu .selected a:focus .np-text-body-default,
|
|
334
360
|
.np-theme-personal .np-dropdown-menu .active a:hover .np-text-body-default,
|
|
335
|
-
.np-theme-personal .np-dropdown-menu .selected a:hover .np-text-body-default
|
|
361
|
+
.np-theme-personal .np-dropdown-menu .selected a:hover .np-text-body-default,
|
|
362
|
+
.np-theme-personal .np-dropdown-menu .active a .wds-text-body-default,
|
|
363
|
+
.np-theme-personal .np-dropdown-menu .selected a .wds-text-body-default,
|
|
364
|
+
.np-theme-personal .np-dropdown-menu .active a:focus .wds-text-body-default,
|
|
365
|
+
.np-theme-personal .np-dropdown-menu .selected a:focus .wds-text-body-default,
|
|
366
|
+
.np-theme-personal .np-dropdown-menu .active a:hover .wds-text-body-default,
|
|
367
|
+
.np-theme-personal .np-dropdown-menu .selected a:hover .wds-text-body-default {
|
|
336
368
|
color: var(--color-interactive-primary);
|
|
337
369
|
}
|
|
338
370
|
.np-theme-personal .np-dropdown-menu li:not(.active):not(.selected):not(:has(input)) a:not([disabled]):not(.disabled):active {
|
|
@@ -340,7 +372,8 @@
|
|
|
340
372
|
background-color: var(--color-background-neutral-active) !important;
|
|
341
373
|
}
|
|
342
374
|
.np-theme-personal .np-dropdown-menu li:not(.active):not(.selected):not(:has(input)) a:not([disabled]):not(.disabled):active .body-2,
|
|
343
|
-
.np-theme-personal .np-dropdown-menu li:not(.active):not(.selected):not(:has(input)) a:not([disabled]):not(.disabled):active .np-text-body-default
|
|
375
|
+
.np-theme-personal .np-dropdown-menu li:not(.active):not(.selected):not(:has(input)) a:not([disabled]):not(.disabled):active .np-text-body-default,
|
|
376
|
+
.np-theme-personal .np-dropdown-menu li:not(.active):not(.selected):not(:has(input)) a:not([disabled]):not(.disabled):active .wds-text-body-default {
|
|
344
377
|
color: var(--color-interactive-primary);
|
|
345
378
|
}
|
|
346
379
|
.np-theme-personal .np-dropdown-menu .np-dropdown-item {
|
|
@@ -170,7 +170,7 @@
|
|
|
170
170
|
border-radius: var(--radius-small);
|
|
171
171
|
}
|
|
172
172
|
|
|
173
|
-
.
|
|
173
|
+
.wds-text-body-default;
|
|
174
174
|
}
|
|
175
175
|
|
|
176
176
|
> li:first-child > a {
|
|
@@ -215,7 +215,9 @@
|
|
|
215
215
|
color: inherit;
|
|
216
216
|
}
|
|
217
217
|
|
|
218
|
-
.
|
|
218
|
+
.body-2,
|
|
219
|
+
.np-text-body-default,
|
|
220
|
+
.wds-text-body-default {
|
|
219
221
|
color: @color-navy-content-secondary;
|
|
220
222
|
}
|
|
221
223
|
}
|
|
@@ -255,7 +257,8 @@
|
|
|
255
257
|
vertical-align: middle;
|
|
256
258
|
}
|
|
257
259
|
|
|
258
|
-
.np-text-body-default
|
|
260
|
+
.np-text-body-default,
|
|
261
|
+
.wds-text-body-default {
|
|
259
262
|
color: var(--color-content-secondary);
|
|
260
263
|
}
|
|
261
264
|
|
|
@@ -313,7 +316,8 @@
|
|
|
313
316
|
background-color: var(--color-background-neutral-active);
|
|
314
317
|
|
|
315
318
|
.body-2,
|
|
316
|
-
.np-text-body-default
|
|
319
|
+
.np-text-body-default,
|
|
320
|
+
.wds-text-body-default {
|
|
317
321
|
color: var(--color-interactive-primary);
|
|
318
322
|
}
|
|
319
323
|
}
|
|
@@ -324,7 +328,8 @@
|
|
|
324
328
|
background-color: var(--color-background-neutral-active) !important;
|
|
325
329
|
|
|
326
330
|
.body-2,
|
|
327
|
-
.np-text-body-default
|
|
331
|
+
.np-text-body-default,
|
|
332
|
+
.wds-text-body-default {
|
|
328
333
|
color: var(--color-interactive-primary);
|
|
329
334
|
}
|
|
330
335
|
}
|
|
@@ -457,7 +457,7 @@ export default function Select({
|
|
|
457
457
|
function HeaderOption({ children }: { children?: React.ReactNode }) {
|
|
458
458
|
return (
|
|
459
459
|
<li // eslint-disable-line jsx-a11y/no-noninteractive-element-interactions
|
|
460
|
-
className={clsx(s('np-dropdown-header'), s('
|
|
460
|
+
className={clsx(s('np-dropdown-header'), s('wds-text-title-group'))}
|
|
461
461
|
onClick={stopPropagation}
|
|
462
462
|
onKeyPress={stopPropagation}
|
|
463
463
|
>
|
|
@@ -562,7 +562,7 @@ export default function Select({
|
|
|
562
562
|
htmlType="button"
|
|
563
563
|
className={clsx(
|
|
564
564
|
s('np-dropdown-toggle'),
|
|
565
|
-
s('
|
|
565
|
+
s('wds-text-body-large'),
|
|
566
566
|
inverse ? s('np-dropdown-toggle-navy') : null,
|
|
567
567
|
)}
|
|
568
568
|
// reset Button's styles
|
|
@@ -6,7 +6,13 @@ export enum Typography {
|
|
|
6
6
|
DISPLAY_LARGE = 'display-large',
|
|
7
7
|
DISPLAY_MEDIUM = 'display-medium',
|
|
8
8
|
DISPLAY_SMALL = 'display-small',
|
|
9
|
+
/**
|
|
10
|
+
* @deprecated Use {@link Typography.DISPLAY_NUMBER_SMALL} instead.
|
|
11
|
+
*/
|
|
9
12
|
DISPLAY_NUMBER = 'display-number',
|
|
13
|
+
DISPLAY_NUMBER_SMALL = 'display-number-small',
|
|
14
|
+
DISPLAY_NUMBER_MEDIUM = 'display-number-medium',
|
|
15
|
+
DISPLAY_NUMBER_LARGE = 'display-number-large',
|
|
10
16
|
|
|
11
17
|
TITLE_SCREEN = 'title-screen',
|
|
12
18
|
TITLE_SECTION = 'title-section',
|
|
@@ -30,10 +36,23 @@ export type DisplayExtraLarge = 'display-extra-large';
|
|
|
30
36
|
export type DisplayLarge = 'display-large';
|
|
31
37
|
export type DisplayMedium = 'display-medium';
|
|
32
38
|
export type DisplaySmall = 'display-small';
|
|
39
|
+
/**
|
|
40
|
+
* @deprecated Use {@link DisplayNumberSmall} instead.
|
|
41
|
+
*/
|
|
33
42
|
export type DisplayNumber = 'display-number';
|
|
43
|
+
export type DisplayNumberSmall = 'display-number-small';
|
|
44
|
+
export type DisplayNumberMedium = 'display-number-medium';
|
|
45
|
+
export type DisplayNumberLarge = 'display-number-large';
|
|
34
46
|
|
|
35
47
|
export type DisplayTypes =
|
|
36
|
-
|
|
48
|
+
| DisplayExtraLarge
|
|
49
|
+
| DisplayLarge
|
|
50
|
+
| DisplayMedium
|
|
51
|
+
| DisplaySmall
|
|
52
|
+
| DisplayNumber
|
|
53
|
+
| DisplayNumberSmall
|
|
54
|
+
| DisplayNumberMedium
|
|
55
|
+
| DisplayNumberLarge;
|
|
37
56
|
|
|
38
57
|
export type TitleScreen = 'title-screen';
|
|
39
58
|
export type TitleSection = 'title-section';
|