@transferwise/components 0.0.0-experimental-9b6c3f8 → 0.0.0-experimental-c70eb7d
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/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 +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/main.css +98 -117
- package/build/styles/Accordion/Accordion.css +1 -2
- package/build/styles/Body/Body.css +1 -1
- package/build/styles/Chips/Chip/Chip.css +2 -4
- package/build/styles/Decision/Decision.css +1 -2
- package/build/styles/Inputs/Input/Input.css +38 -0
- package/build/styles/Inputs/TextArea/TextArea.css +38 -0
- package/build/styles/MoneyInput/MoneyInput.css +3 -6
- package/build/styles/Popover/Popover.css +38 -0
- package/build/styles/ProgressBar/ProgressBar.css +1 -2
- package/build/styles/Table/Table.css +5 -15
- package/build/styles/Tile/Tile.css +1 -2
- package/build/styles/Typeahead/Typeahead.css +2 -4
- package/build/styles/_deprecated/CriticalBanner/CriticalCommsBanner.css +1 -2
- package/build/styles/_deprecated/Select/Select.css +4 -17
- package/build/styles/main.css +98 -117
- package/build/types/common/PropsValues/typography.d.ts +1 -13
- package/build/types/common/PropsValues/typography.d.ts.map +1 -1
- package/package.json +1 -1
- package/src/Accordion/Accordion.css +1 -2
- package/src/Accordion/Accordion.less +1 -2
- 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 +2 -4
- package/src/Chips/Chip/Chip.less +1 -2
- package/src/Decision/Decision.css +1 -2
- package/src/Decision/Decision.less +1 -2
- package/src/DefinitionList/_stories/DefinitionList.story.tsx +1 -1
- package/src/Display/_stories/Display.story.tsx +6 -20
- package/src/FlowNavigation/AnimatedLabel/AnimatedLabel.tsx +1 -1
- package/src/Inputs/Input/Input.css +38 -0
- 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 +38 -0
- package/src/Inputs/_common.less +5 -5
- package/src/Label/Label.tsx +1 -1
- package/src/MoneyInput/MoneyInput.css +3 -6
- package/src/MoneyInput/MoneyInput.less +4 -7
- package/src/PocketSurface/_stories/PocketSurface.story.tsx +2 -2
- package/src/Popover/Popover.css +38 -0
- package/src/Popover/Popover.less +1 -1
- package/src/ProgressBar/ProgressBar.css +1 -2
- package/src/ProgressBar/ProgressBar.less +11 -12
- package/src/SentimentSurface/_stories/SentimentSurface.story.tsx +1 -1
- 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 +5 -15
- package/src/Table/Table.less +6 -17
- 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 +1 -2
- package/src/Tile/Tile.less +1 -2
- package/src/Typeahead/Typeahead.css +2 -4
- package/src/Typeahead/Typeahead.less +1 -2
- 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 +1 -2
- package/src/_deprecated/CriticalBanner/CriticalCommsBanner.less +1 -2
- package/src/_deprecated/NavigationOption/_stories/NavigationOption.story.tsx +6 -6
- package/src/_deprecated/Select/Select.css +4 -17
- package/src/_deprecated/Select/Select.less +5 -10
- package/src/_deprecated/Select/Select.tsx +2 -2
- package/src/common/PropsValues/typography.ts +1 -20
- package/src/main.css +98 -117
|
@@ -180,14 +180,12 @@
|
|
|
180
180
|
.np-theme-personal .typeahead .np-chip {
|
|
181
181
|
margin-block-start: 9px !important;
|
|
182
182
|
}
|
|
183
|
-
.np-theme-personal .typeahead .np-chip--removable .np-text-body-default-bold
|
|
184
|
-
.np-theme-personal .typeahead .np-chip--removable .wds-text-body-default-bold {
|
|
183
|
+
.np-theme-personal .typeahead .np-chip--removable .np-text-body-default-bold {
|
|
185
184
|
padding-inline-end: 16px;
|
|
186
185
|
padding-inline-end: var(--size-16);
|
|
187
186
|
}
|
|
188
187
|
@media (max-width: 320px) {
|
|
189
|
-
.np-theme-personal .typeahead .np-chip--removable .np-text-body-default-bold
|
|
190
|
-
.np-theme-personal .typeahead .np-chip--removable .wds-text-body-default-bold {
|
|
188
|
+
.np-theme-personal .typeahead .np-chip--removable .np-text-body-default-bold {
|
|
191
189
|
padding-inline-end: 32px;
|
|
192
190
|
padding-inline-end: var(--size-32);
|
|
193
191
|
}
|
|
@@ -8,8 +8,7 @@
|
|
|
8
8
|
color: var(--color-sentiment-content-primary);
|
|
9
9
|
margin-block-end: 0;
|
|
10
10
|
}
|
|
11
|
-
.critical-comms .alert .np-text-title-body
|
|
12
|
-
.critical-comms .alert .wds-text-title-body {
|
|
11
|
+
.critical-comms .alert .np-text-title-body {
|
|
13
12
|
color: var(--color-sentiment-content-primary);
|
|
14
13
|
}
|
|
15
14
|
.critical-comms .status-circle.negative {
|
|
@@ -250,12 +250,8 @@
|
|
|
250
250
|
.np-dropdown-menu > .selected > a strong {
|
|
251
251
|
color: inherit;
|
|
252
252
|
}
|
|
253
|
-
.np-dropdown-menu > .active > a .body-2,
|
|
254
|
-
.np-dropdown-menu > .selected > a .body-2,
|
|
255
253
|
.np-dropdown-menu > .active > 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 {
|
|
254
|
+
.np-dropdown-menu > .selected > a .np-text-body-default {
|
|
259
255
|
color: #c9cbce;
|
|
260
256
|
}
|
|
261
257
|
.np-dropdown-menu .np-select-filter,
|
|
@@ -295,9 +291,7 @@
|
|
|
295
291
|
vertical-align: middle;
|
|
296
292
|
}
|
|
297
293
|
.np-select .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 {
|
|
294
|
+
.np-dropdown-menu .np-text-body-default {
|
|
301
295
|
color: #5d7079;
|
|
302
296
|
color: var(--color-content-secondary);
|
|
303
297
|
}
|
|
@@ -358,13 +352,7 @@
|
|
|
358
352
|
.np-theme-personal .np-dropdown-menu .active a:focus .np-text-body-default,
|
|
359
353
|
.np-theme-personal .np-dropdown-menu .selected a:focus .np-text-body-default,
|
|
360
354
|
.np-theme-personal .np-dropdown-menu .active 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 {
|
|
355
|
+
.np-theme-personal .np-dropdown-menu .selected a:hover .np-text-body-default {
|
|
368
356
|
color: var(--color-interactive-primary);
|
|
369
357
|
}
|
|
370
358
|
.np-theme-personal .np-dropdown-menu li:not(.active):not(.selected):not(:has(input)) a:not([disabled]):not(.disabled):active {
|
|
@@ -372,8 +360,7 @@
|
|
|
372
360
|
background-color: var(--color-background-neutral-active) !important;
|
|
373
361
|
}
|
|
374
362
|
.np-theme-personal .np-dropdown-menu li:not(.active):not(.selected):not(:has(input)) a:not([disabled]):not(.disabled):active .body-2,
|
|
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 {
|
|
363
|
+
.np-theme-personal .np-dropdown-menu li:not(.active):not(.selected):not(:has(input)) a:not([disabled]):not(.disabled):active .np-text-body-default {
|
|
377
364
|
color: var(--color-interactive-primary);
|
|
378
365
|
}
|
|
379
366
|
.np-theme-personal .np-dropdown-menu .np-dropdown-item {
|
package/build/styles/main.css
CHANGED
|
@@ -27588,8 +27588,7 @@ a[data-toggle="tooltip"] {
|
|
|
27588
27588
|
color: var(--color-sentiment-content-primary);
|
|
27589
27589
|
margin-block-end: 0;
|
|
27590
27590
|
}
|
|
27591
|
-
.critical-comms .alert .np-text-title-body
|
|
27592
|
-
.critical-comms .alert .wds-text-title-body {
|
|
27591
|
+
.critical-comms .alert .np-text-title-body {
|
|
27593
27592
|
color: var(--color-sentiment-content-primary);
|
|
27594
27593
|
}
|
|
27595
27594
|
.critical-comms .status-circle.negative {
|
|
@@ -27653,8 +27652,7 @@ a[data-toggle="tooltip"] {
|
|
|
27653
27652
|
background-color: transparent;
|
|
27654
27653
|
}
|
|
27655
27654
|
.np-accordion-item.np-accordion-item--dark .media-body,
|
|
27656
|
-
.np-accordion-item.np-accordion-item--dark .np-text-title-body
|
|
27657
|
-
.np-accordion-item.np-accordion-item--dark .wds-text-title-body {
|
|
27655
|
+
.np-accordion-item.np-accordion-item--dark .np-text-title-body {
|
|
27658
27656
|
color: #ffffff;
|
|
27659
27657
|
}
|
|
27660
27658
|
.np-accordion-item__content {
|
|
@@ -28303,7 +28301,7 @@ a[data-toggle="tooltip"] {
|
|
|
28303
28301
|
border-width: 1px;
|
|
28304
28302
|
border-color: var(--badge-border-color);
|
|
28305
28303
|
}
|
|
28306
|
-
.
|
|
28304
|
+
.np-text--pre-line {
|
|
28307
28305
|
white-space: pre-line;
|
|
28308
28306
|
}
|
|
28309
28307
|
.wds-Button {
|
|
@@ -29154,14 +29152,12 @@ a[data-toggle="tooltip"] {
|
|
|
29154
29152
|
.np-theme-personal .np-chip.np-chip--removable {
|
|
29155
29153
|
position: relative;
|
|
29156
29154
|
}
|
|
29157
|
-
.np-theme-personal .np-chip.np-chip--removable .np-text-body-default-bold
|
|
29158
|
-
.np-theme-personal .np-chip.np-chip--removable .wds-text-body-default-bold {
|
|
29155
|
+
.np-theme-personal .np-chip.np-chip--removable .np-text-body-default-bold {
|
|
29159
29156
|
padding-inline-end: 24px;
|
|
29160
29157
|
padding-inline-end: var(--size-24);
|
|
29161
29158
|
}
|
|
29162
29159
|
@media (max-width: 320px) {
|
|
29163
|
-
.np-theme-personal .np-chip.np-chip--removable .np-text-body-default-bold
|
|
29164
|
-
.np-theme-personal .np-chip.np-chip--removable .wds-text-body-default-bold {
|
|
29160
|
+
.np-theme-personal .np-chip.np-chip--removable .np-text-body-default-bold {
|
|
29165
29161
|
padding-inline-end: 48px;
|
|
29166
29162
|
padding-inline-end: var(--size-48);
|
|
29167
29163
|
}
|
|
@@ -29753,8 +29749,7 @@ button.np-option {
|
|
|
29753
29749
|
.np-decision .decision {
|
|
29754
29750
|
display: flex;
|
|
29755
29751
|
}
|
|
29756
|
-
.np-decision__tile--small .np-text-title-subsection
|
|
29757
|
-
.np-decision__tile--small .wds-text-title-subsection {
|
|
29752
|
+
.np-decision__tile--small .np-text-title-subsection {
|
|
29758
29753
|
font-size: 1rem;
|
|
29759
29754
|
font-size: var(--font-size-16);
|
|
29760
29755
|
line-height: 1.2;
|
|
@@ -30234,16 +30229,6 @@ button.np-option {
|
|
|
30234
30229
|
--ring-color: var(--color-interactive-primary);
|
|
30235
30230
|
}
|
|
30236
30231
|
.np-form-control--size-auto {
|
|
30237
|
-
font-family: 'Inter', Helvetica, Arial, sans-serif;
|
|
30238
|
-
font-family: var(--wds-font-family-regular);
|
|
30239
|
-
font-weight: 400;
|
|
30240
|
-
font-weight: var(--wds-font-weight-body-large-regular);
|
|
30241
|
-
font-size: 1rem;
|
|
30242
|
-
font-size: var(--wds-font-size-body-large);
|
|
30243
|
-
line-height: 1.5;
|
|
30244
|
-
line-height: var(--wds-line-height-body-large);
|
|
30245
|
-
letter-spacing: -0.011em;
|
|
30246
|
-
letter-spacing: var(--wds-letter-spacing-body-large);
|
|
30247
30232
|
word-wrap: break-word;
|
|
30248
30233
|
padding-block-start: 12px;
|
|
30249
30234
|
padding-block-start: var(--size-12);
|
|
@@ -30285,16 +30270,6 @@ button.np-option {
|
|
|
30285
30270
|
padding-block-end: 0 !important;
|
|
30286
30271
|
}
|
|
30287
30272
|
.np-form-control--size-sm {
|
|
30288
|
-
font-family: 'Inter', Helvetica, Arial, sans-serif;
|
|
30289
|
-
font-family: var(--wds-font-family-regular);
|
|
30290
|
-
font-weight: 400;
|
|
30291
|
-
font-weight: var(--wds-font-weight-body-regular);
|
|
30292
|
-
font-size: 0.875rem;
|
|
30293
|
-
font-size: var(--wds-font-size-body);
|
|
30294
|
-
line-height: 1.55;
|
|
30295
|
-
line-height: var(--wds-line-height-body);
|
|
30296
|
-
letter-spacing: -0.006em;
|
|
30297
|
-
letter-spacing: var(--wds-letter-spacing-body);
|
|
30298
30273
|
word-wrap: break-word;
|
|
30299
30274
|
block-size: 32px !important;
|
|
30300
30275
|
block-size: var(--size-32) !important;
|
|
@@ -30334,16 +30309,6 @@ button.np-option {
|
|
|
30334
30309
|
}
|
|
30335
30310
|
}
|
|
30336
30311
|
.np-form-control--size-md {
|
|
30337
|
-
font-family: 'Inter', Helvetica, Arial, sans-serif;
|
|
30338
|
-
font-family: var(--wds-font-family-regular);
|
|
30339
|
-
font-weight: 400;
|
|
30340
|
-
font-weight: var(--wds-font-weight-body-large-regular);
|
|
30341
|
-
font-size: 1rem;
|
|
30342
|
-
font-size: var(--wds-font-size-body-large);
|
|
30343
|
-
line-height: 1.5;
|
|
30344
|
-
line-height: var(--wds-line-height-body-large);
|
|
30345
|
-
letter-spacing: -0.011em;
|
|
30346
|
-
letter-spacing: var(--wds-letter-spacing-body-large);
|
|
30347
30312
|
word-wrap: break-word;
|
|
30348
30313
|
block-size: 48px !important;
|
|
30349
30314
|
block-size: var(--size-48) !important;
|
|
@@ -30383,20 +30348,48 @@ button.np-option {
|
|
|
30383
30348
|
}
|
|
30384
30349
|
}
|
|
30385
30350
|
.np-form-control--size-lg {
|
|
30386
|
-
|
|
30387
|
-
|
|
30388
|
-
|
|
30389
|
-
|
|
30390
|
-
font-size: 1.375rem;
|
|
30391
|
-
font-size: var(--wds-font-size-title-subsection);
|
|
30392
|
-
line-height: 1.25;
|
|
30393
|
-
line-height: var(--wds-line-height-title-subsection);
|
|
30394
|
-
letter-spacing: -0.018em;
|
|
30395
|
-
letter-spacing: var(--wds-letter-spacing-title-subsection);
|
|
30351
|
+
margin: 0;
|
|
30352
|
+
color: #37517e;
|
|
30353
|
+
color: var(--color-content-primary);
|
|
30354
|
+
word-wrap: break-word;
|
|
30396
30355
|
margin-block-end: initial;
|
|
30397
30356
|
block-size: 72px !important;
|
|
30398
30357
|
block-size: var(--size-72) !important;
|
|
30399
30358
|
}
|
|
30359
|
+
@supports (hyphenate-limit-chars: 1) {
|
|
30360
|
+
.np-form-control--size-lg {
|
|
30361
|
+
hyphens: auto;
|
|
30362
|
+
hyphenate-limit-chars: 7 3;
|
|
30363
|
+
}
|
|
30364
|
+
@media (min-width: 840px) {
|
|
30365
|
+
.np-form-control--size-lg {
|
|
30366
|
+
hyphenate-limit-chars: 8 3;
|
|
30367
|
+
}
|
|
30368
|
+
}
|
|
30369
|
+
@media (min-width: 1160px) {
|
|
30370
|
+
.np-form-control--size-lg {
|
|
30371
|
+
hyphenate-limit-chars: 10 4 3;
|
|
30372
|
+
}
|
|
30373
|
+
}
|
|
30374
|
+
}
|
|
30375
|
+
@supports (not (hyphenate-limit-chars: 1)) and (-webkit-hyphenate-limit-before: 1) {
|
|
30376
|
+
.np-form-control--size-lg {
|
|
30377
|
+
hyphens: auto;
|
|
30378
|
+
-webkit-hyphenate-limit-before: 3;
|
|
30379
|
+
-webkit-hyphenate-limit-after: 3;
|
|
30380
|
+
}
|
|
30381
|
+
@media (min-width: 1160px) {
|
|
30382
|
+
.np-form-control--size-lg {
|
|
30383
|
+
-webkit-hyphenate-limit-before: 4;
|
|
30384
|
+
}
|
|
30385
|
+
}
|
|
30386
|
+
}
|
|
30387
|
+
.np-form-control--size-lg + p,
|
|
30388
|
+
.np-form-control--size-lg + ul:not(.list-unstyled),
|
|
30389
|
+
.np-form-control--size-lg + ol:not(.list-unstyled) {
|
|
30390
|
+
margin-block-start: 8px;
|
|
30391
|
+
margin-block-start: var(--size-8);
|
|
30392
|
+
}
|
|
30400
30393
|
.np-input::-moz-placeholder {
|
|
30401
30394
|
color: #768e9c;
|
|
30402
30395
|
color: var(--color-content-tertiary);
|
|
@@ -32039,8 +32032,7 @@ button.np-link {
|
|
|
32039
32032
|
.tw-money-input .tw-money-input__fixed-currency {
|
|
32040
32033
|
padding-inline-start: 0 !important;
|
|
32041
32034
|
}
|
|
32042
|
-
.tw-money-input .tw-money-input__fixed-currency .np-text-title-subsection
|
|
32043
|
-
.tw-money-input .tw-money-input__fixed-currency .wds-text-title-subsection {
|
|
32035
|
+
.tw-money-input .tw-money-input__fixed-currency .np-text-title-subsection {
|
|
32044
32036
|
color: #768e9c;
|
|
32045
32037
|
color: var(--color-content-tertiary);
|
|
32046
32038
|
font-weight: 600;
|
|
@@ -32056,16 +32048,14 @@ button.np-link {
|
|
|
32056
32048
|
.tw-money-input.input-group-sm .form-control {
|
|
32057
32049
|
min-block-size: 34px;
|
|
32058
32050
|
}
|
|
32059
|
-
.tw-money-input.input-group-sm .np-text-title-subsection
|
|
32060
|
-
.tw-money-input.input-group-sm .wds-text-title-subsection {
|
|
32051
|
+
.tw-money-input.input-group-sm .np-text-title-subsection {
|
|
32061
32052
|
font-size: 0.875rem;
|
|
32062
32053
|
font-size: var(--font-size-14);
|
|
32063
32054
|
}
|
|
32064
32055
|
.tw-money-input.input-group-md .form-control {
|
|
32065
32056
|
min-block-size: 53px;
|
|
32066
32057
|
}
|
|
32067
|
-
.tw-money-input.input-group-md .np-text-title-subsection
|
|
32068
|
-
.tw-money-input.input-group-md .wds-text-title-subsection {
|
|
32058
|
+
.tw-money-input.input-group-md .np-text-title-subsection {
|
|
32069
32059
|
font-size: 1rem;
|
|
32070
32060
|
font-size: var(--font-size-16);
|
|
32071
32061
|
}
|
|
@@ -32451,18 +32441,46 @@ button.np-link {
|
|
|
32451
32441
|
padding: var(--size-24);
|
|
32452
32442
|
}
|
|
32453
32443
|
.np-popover__container.np-bottom-sheet .np-popover__title {
|
|
32454
|
-
|
|
32455
|
-
|
|
32456
|
-
|
|
32457
|
-
|
|
32458
|
-
font-size: 1.625rem;
|
|
32459
|
-
font-size: var(--wds-font-size-title-section);
|
|
32460
|
-
line-height: 1.22;
|
|
32461
|
-
line-height: var(--wds-line-height-title-section);
|
|
32462
|
-
letter-spacing: -0.02em;
|
|
32463
|
-
letter-spacing: var(--wds-letter-spacing-title-section);
|
|
32444
|
+
margin: 0;
|
|
32445
|
+
color: #37517e;
|
|
32446
|
+
color: var(--color-content-primary);
|
|
32447
|
+
word-wrap: break-word;
|
|
32464
32448
|
margin-block-end: initial;
|
|
32465
32449
|
}
|
|
32450
|
+
@supports (hyphenate-limit-chars: 1) {
|
|
32451
|
+
.np-popover__container.np-bottom-sheet .np-popover__title {
|
|
32452
|
+
hyphens: auto;
|
|
32453
|
+
hyphenate-limit-chars: 7 3;
|
|
32454
|
+
}
|
|
32455
|
+
@media (min-width: 840px) {
|
|
32456
|
+
.np-popover__container.np-bottom-sheet .np-popover__title {
|
|
32457
|
+
hyphenate-limit-chars: 8 3;
|
|
32458
|
+
}
|
|
32459
|
+
}
|
|
32460
|
+
@media (min-width: 1160px) {
|
|
32461
|
+
.np-popover__container.np-bottom-sheet .np-popover__title {
|
|
32462
|
+
hyphenate-limit-chars: 10 4 3;
|
|
32463
|
+
}
|
|
32464
|
+
}
|
|
32465
|
+
}
|
|
32466
|
+
@supports (not (hyphenate-limit-chars: 1)) and (-webkit-hyphenate-limit-before: 1) {
|
|
32467
|
+
.np-popover__container.np-bottom-sheet .np-popover__title {
|
|
32468
|
+
hyphens: auto;
|
|
32469
|
+
-webkit-hyphenate-limit-before: 3;
|
|
32470
|
+
-webkit-hyphenate-limit-after: 3;
|
|
32471
|
+
}
|
|
32472
|
+
@media (min-width: 1160px) {
|
|
32473
|
+
.np-popover__container.np-bottom-sheet .np-popover__title {
|
|
32474
|
+
-webkit-hyphenate-limit-before: 4;
|
|
32475
|
+
}
|
|
32476
|
+
}
|
|
32477
|
+
}
|
|
32478
|
+
.np-popover__container.np-bottom-sheet .np-popover__title + p,
|
|
32479
|
+
.np-popover__container.np-bottom-sheet .np-popover__title + ul:not(.list-unstyled),
|
|
32480
|
+
.np-popover__container.np-bottom-sheet .np-popover__title + ol:not(.list-unstyled) {
|
|
32481
|
+
margin-block-start: 8px;
|
|
32482
|
+
margin-block-start: var(--size-8);
|
|
32483
|
+
}
|
|
32466
32484
|
.np-popover__container.np-bottom-sheet .np-popover__content {
|
|
32467
32485
|
padding-block: 32px;
|
|
32468
32486
|
padding-block: var(--size-32);
|
|
@@ -33507,16 +33525,6 @@ button.np-link {
|
|
|
33507
33525
|
border-radius: var(--radius-small);
|
|
33508
33526
|
color: #37517e;
|
|
33509
33527
|
color: var(--color-content-primary);
|
|
33510
|
-
font-family: 'Inter', Helvetica, Arial, sans-serif;
|
|
33511
|
-
font-family: var(--wds-font-family-regular);
|
|
33512
|
-
font-weight: 400;
|
|
33513
|
-
font-weight: var(--wds-font-weight-body-regular);
|
|
33514
|
-
font-size: 0.875rem;
|
|
33515
|
-
font-size: var(--wds-font-size-body);
|
|
33516
|
-
line-height: 1.55;
|
|
33517
|
-
line-height: var(--wds-line-height-body);
|
|
33518
|
-
letter-spacing: -0.006em;
|
|
33519
|
-
letter-spacing: var(--wds-letter-spacing-body);
|
|
33520
33528
|
word-wrap: break-word;
|
|
33521
33529
|
}
|
|
33522
33530
|
.np-theme-personal .np-dropdown-menu > li > a {
|
|
@@ -33595,12 +33603,8 @@ button.np-link {
|
|
|
33595
33603
|
.np-dropdown-menu > .selected > a strong {
|
|
33596
33604
|
color: inherit;
|
|
33597
33605
|
}
|
|
33598
|
-
.np-dropdown-menu > .active > a .body-2,
|
|
33599
|
-
.np-dropdown-menu > .selected > a .body-2,
|
|
33600
33606
|
.np-dropdown-menu > .active > a .np-text-body-default,
|
|
33601
|
-
.np-dropdown-menu > .selected > a .np-text-body-default
|
|
33602
|
-
.np-dropdown-menu > .active > a .wds-text-body-default,
|
|
33603
|
-
.np-dropdown-menu > .selected > a .wds-text-body-default {
|
|
33607
|
+
.np-dropdown-menu > .selected > a .np-text-body-default {
|
|
33604
33608
|
color: #c9cbce;
|
|
33605
33609
|
}
|
|
33606
33610
|
.np-dropdown-menu .np-select-filter,
|
|
@@ -33640,9 +33644,7 @@ button.np-link {
|
|
|
33640
33644
|
vertical-align: middle;
|
|
33641
33645
|
}
|
|
33642
33646
|
.np-select .np-text-body-default,
|
|
33643
|
-
.np-dropdown-menu .np-text-body-default
|
|
33644
|
-
.np-select .wds-text-body-default,
|
|
33645
|
-
.np-dropdown-menu .wds-text-body-default {
|
|
33647
|
+
.np-dropdown-menu .np-text-body-default {
|
|
33646
33648
|
color: #5d7079;
|
|
33647
33649
|
color: var(--color-content-secondary);
|
|
33648
33650
|
}
|
|
@@ -33703,13 +33705,7 @@ button.np-link {
|
|
|
33703
33705
|
.np-theme-personal .np-dropdown-menu .active a:focus .np-text-body-default,
|
|
33704
33706
|
.np-theme-personal .np-dropdown-menu .selected a:focus .np-text-body-default,
|
|
33705
33707
|
.np-theme-personal .np-dropdown-menu .active a:hover .np-text-body-default,
|
|
33706
|
-
.np-theme-personal .np-dropdown-menu .selected a:hover .np-text-body-default
|
|
33707
|
-
.np-theme-personal .np-dropdown-menu .active a .wds-text-body-default,
|
|
33708
|
-
.np-theme-personal .np-dropdown-menu .selected a .wds-text-body-default,
|
|
33709
|
-
.np-theme-personal .np-dropdown-menu .active a:focus .wds-text-body-default,
|
|
33710
|
-
.np-theme-personal .np-dropdown-menu .selected a:focus .wds-text-body-default,
|
|
33711
|
-
.np-theme-personal .np-dropdown-menu .active a:hover .wds-text-body-default,
|
|
33712
|
-
.np-theme-personal .np-dropdown-menu .selected a:hover .wds-text-body-default {
|
|
33708
|
+
.np-theme-personal .np-dropdown-menu .selected a:hover .np-text-body-default {
|
|
33713
33709
|
color: var(--color-interactive-primary);
|
|
33714
33710
|
}
|
|
33715
33711
|
.np-theme-personal .np-dropdown-menu li:not(.active):not(.selected):not(:has(input)) a:not([disabled]):not(.disabled):active {
|
|
@@ -33717,8 +33713,7 @@ button.np-link {
|
|
|
33717
33713
|
background-color: var(--color-background-neutral-active) !important;
|
|
33718
33714
|
}
|
|
33719
33715
|
.np-theme-personal .np-dropdown-menu li:not(.active):not(.selected):not(:has(input)) a:not([disabled]):not(.disabled):active .body-2,
|
|
33720
|
-
.np-theme-personal .np-dropdown-menu li:not(.active):not(.selected):not(:has(input)) a:not([disabled]):not(.disabled):active .np-text-body-default
|
|
33721
|
-
.np-theme-personal .np-dropdown-menu li:not(.active):not(.selected):not(:has(input)) a:not([disabled]):not(.disabled):active .wds-text-body-default {
|
|
33716
|
+
.np-theme-personal .np-dropdown-menu li:not(.active):not(.selected):not(:has(input)) a:not([disabled]):not(.disabled):active .np-text-body-default {
|
|
33722
33717
|
color: var(--color-interactive-primary);
|
|
33723
33718
|
}
|
|
33724
33719
|
.np-theme-personal .np-dropdown-menu .np-dropdown-item {
|
|
@@ -34143,16 +34138,10 @@ button.np-link {
|
|
|
34143
34138
|
}
|
|
34144
34139
|
.np-table-inner-container {
|
|
34145
34140
|
background-image: linear-gradient(to right, var(--color-contrast-overlay), var(--color-contrast-overlay)), linear-gradient(to right, var(--color-contrast-overlay), var(--color-contrast-overlay)), linear-gradient(to right, rgba(0, 0, 0, 0.1), rgba(255, 255, 255, 0)), linear-gradient(to left, rgba(0, 0, 0, 0.1), rgba(255, 255, 255, 0));
|
|
34146
|
-
background-position: left center,
|
|
34147
|
-
right center,
|
|
34148
|
-
left center,
|
|
34149
|
-
right center;
|
|
34141
|
+
background-position: left center, right center, left center, right center;
|
|
34150
34142
|
background-repeat: no-repeat;
|
|
34151
34143
|
background-color: var(--color-contrast-overlay);
|
|
34152
|
-
background-size: 15px 100%,
|
|
34153
|
-
15px 100%,
|
|
34154
|
-
15px 100%,
|
|
34155
|
-
15px 100%;
|
|
34144
|
+
background-size: 15px 100%, 15px 100%, 15px 100%, 15px 100%;
|
|
34156
34145
|
background-attachment: local, local, scroll, scroll;
|
|
34157
34146
|
overflow-x: auto;
|
|
34158
34147
|
border-radius: 10px;
|
|
@@ -34249,9 +34238,7 @@ button.np-link {
|
|
|
34249
34238
|
padding-inline-end: 0;
|
|
34250
34239
|
}
|
|
34251
34240
|
.np-table-header.np-table-header--right > .np-text-body-default,
|
|
34252
|
-
.np-table-cell.np-table-cell--right > .np-text-body-default
|
|
34253
|
-
.np-table-header.np-table-header--right > .wds-text-body-default,
|
|
34254
|
-
.np-table-cell.np-table-cell--right > .wds-text-body-default {
|
|
34241
|
+
.np-table-cell.np-table-cell--right > .np-text-body-default {
|
|
34255
34242
|
text-align: end;
|
|
34256
34243
|
}
|
|
34257
34244
|
.np-table-header.np-table-header--right + .np-table-header:not(.np-table-header--right),
|
|
@@ -34310,8 +34297,7 @@ button.np-link {
|
|
|
34310
34297
|
.np-table-cell--primary {
|
|
34311
34298
|
min-inline-size: 200px;
|
|
34312
34299
|
}
|
|
34313
|
-
.np-table-cell--currency .np-text-body-default
|
|
34314
|
-
.np-table-cell--currency .wds-text-body-default {
|
|
34300
|
+
.np-table-cell--currency .np-text-body-default {
|
|
34315
34301
|
white-space: nowrap;
|
|
34316
34302
|
}
|
|
34317
34303
|
.np-table-cell .tw-chevron {
|
|
@@ -34328,8 +34314,7 @@ button.np-link {
|
|
|
34328
34314
|
background-color: var(--color-background-neutral);
|
|
34329
34315
|
padding: 0;
|
|
34330
34316
|
}
|
|
34331
|
-
.np-table-cell .np-text-body-default-bold
|
|
34332
|
-
.np-table-cell .wds-text-body-default-bold {
|
|
34317
|
+
.np-table-cell .np-text-body-default-bold {
|
|
34333
34318
|
display: flex;
|
|
34334
34319
|
align-items: center;
|
|
34335
34320
|
color: #37517e;
|
|
@@ -34447,8 +34432,7 @@ button.np-link {
|
|
|
34447
34432
|
.np-theme-personal .np-tile.decision:active {
|
|
34448
34433
|
background-color: var(--color-background-neutral-active);
|
|
34449
34434
|
}
|
|
34450
|
-
.np-theme-personal .np-tile.decision .np-text-body-default
|
|
34451
|
-
.np-theme-personal .np-tile.decision .wds-text-body-default {
|
|
34435
|
+
.np-theme-personal .np-tile.decision .np-text-body-default {
|
|
34452
34436
|
color: #5d7079;
|
|
34453
34437
|
color: var(--color-content-secondary);
|
|
34454
34438
|
}
|
|
@@ -34717,14 +34701,12 @@ button.np-link {
|
|
|
34717
34701
|
.np-theme-personal .typeahead .np-chip {
|
|
34718
34702
|
margin-block-start: 9px !important;
|
|
34719
34703
|
}
|
|
34720
|
-
.np-theme-personal .typeahead .np-chip--removable .np-text-body-default-bold
|
|
34721
|
-
.np-theme-personal .typeahead .np-chip--removable .wds-text-body-default-bold {
|
|
34704
|
+
.np-theme-personal .typeahead .np-chip--removable .np-text-body-default-bold {
|
|
34722
34705
|
padding-inline-end: 16px;
|
|
34723
34706
|
padding-inline-end: var(--size-16);
|
|
34724
34707
|
}
|
|
34725
34708
|
@media (max-width: 320px) {
|
|
34726
|
-
.np-theme-personal .typeahead .np-chip--removable .np-text-body-default-bold
|
|
34727
|
-
.np-theme-personal .typeahead .np-chip--removable .wds-text-body-default-bold {
|
|
34709
|
+
.np-theme-personal .typeahead .np-chip--removable .np-text-body-default-bold {
|
|
34728
34710
|
padding-inline-end: 32px;
|
|
34729
34711
|
padding-inline-end: var(--size-32);
|
|
34730
34712
|
}
|
|
@@ -35099,8 +35081,7 @@ button.np-link {
|
|
|
35099
35081
|
transition-delay: 0.2s;
|
|
35100
35082
|
}
|
|
35101
35083
|
}
|
|
35102
|
-
.np-progress-bar__title .h4
|
|
35103
|
-
.np-progress-bar__title .wds-text-title-body {
|
|
35084
|
+
.np-progress-bar__title .h4 {
|
|
35104
35085
|
color: #37517e;
|
|
35105
35086
|
color: var(--color-content-primary);
|
|
35106
35087
|
margin-block-end: 4px;
|
|
@@ -6,13 +6,7 @@ export declare 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
|
-
*/
|
|
12
9
|
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",
|
|
16
10
|
TITLE_SCREEN = "title-screen",
|
|
17
11
|
TITLE_SECTION = "title-section",
|
|
18
12
|
TITLE_SUBSECTION = "title-subsection",
|
|
@@ -32,14 +26,8 @@ export type DisplayExtraLarge = 'display-extra-large';
|
|
|
32
26
|
export type DisplayLarge = 'display-large';
|
|
33
27
|
export type DisplayMedium = 'display-medium';
|
|
34
28
|
export type DisplaySmall = 'display-small';
|
|
35
|
-
/**
|
|
36
|
-
* @deprecated Use {@link DisplayNumberSmall} instead.
|
|
37
|
-
*/
|
|
38
29
|
export type DisplayNumber = 'display-number';
|
|
39
|
-
export type
|
|
40
|
-
export type DisplayNumberMedium = 'display-number-medium';
|
|
41
|
-
export type DisplayNumberLarge = 'display-number-large';
|
|
42
|
-
export type DisplayTypes = DisplayExtraLarge | DisplayLarge | DisplayMedium | DisplaySmall | DisplayNumber | DisplayNumberSmall | DisplayNumberMedium | DisplayNumberLarge;
|
|
30
|
+
export type DisplayTypes = DisplayExtraLarge | DisplayLarge | DisplayMedium | DisplaySmall | DisplayNumber;
|
|
43
31
|
export type TitleScreen = 'title-screen';
|
|
44
32
|
export type TitleSection = 'title-section';
|
|
45
33
|
export type TitleSubsection = 'title-subsection';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"typography.d.ts","sourceRoot":"","sources":["../../../../src/common/PropsValues/typography.ts"],"names":[],"mappings":"AAAA,oBAAY,UAAU;IACpB;;OAEG;IACH,mBAAmB,wBAAwB;IAC3C,aAAa,kBAAkB;IAC/B,cAAc,mBAAmB;IACjC,aAAa,kBAAkB;IAC/B
|
|
1
|
+
{"version":3,"file":"typography.d.ts","sourceRoot":"","sources":["../../../../src/common/PropsValues/typography.ts"],"names":[],"mappings":"AAAA,oBAAY,UAAU;IACpB;;OAEG;IACH,mBAAmB,wBAAwB;IAC3C,aAAa,kBAAkB;IAC/B,cAAc,mBAAmB;IACjC,aAAa,kBAAkB;IAC/B,cAAc,mBAAmB;IAEjC,YAAY,iBAAiB;IAC7B,aAAa,kBAAkB;IAC/B,gBAAgB,qBAAqB;IACrC,UAAU,eAAe;IACzB,WAAW,gBAAgB;IAE3B,UAAU,eAAe;IACzB,YAAY,iBAAiB;IAC7B,iBAAiB,sBAAsB;IACvC,eAAe,oBAAoB;IAEnC,UAAU,eAAe;IACzB,YAAY,iBAAiB;CAC9B;AAED;;GAEG;AACH,MAAM,MAAM,iBAAiB,GAAG,qBAAqB,CAAC;AACtD,MAAM,MAAM,YAAY,GAAG,eAAe,CAAC;AAC3C,MAAM,MAAM,aAAa,GAAG,gBAAgB,CAAC;AAC7C,MAAM,MAAM,YAAY,GAAG,eAAe,CAAC;AAC3C,MAAM,MAAM,aAAa,GAAG,gBAAgB,CAAC;AAE7C,MAAM,MAAM,YAAY,GACtB,iBAAiB,GAAG,YAAY,GAAG,aAAa,GAAG,YAAY,GAAG,aAAa,CAAC;AAElF,MAAM,MAAM,WAAW,GAAG,cAAc,CAAC;AACzC,MAAM,MAAM,YAAY,GAAG,eAAe,CAAC;AAC3C,MAAM,MAAM,eAAe,GAAG,kBAAkB,CAAC;AACjD,MAAM,MAAM,SAAS,GAAG,YAAY,CAAC;AACrC,MAAM,MAAM,UAAU,GAAG,aAAa,CAAC;AAEvC,MAAM,MAAM,UAAU,GAAG,WAAW,GAAG,YAAY,GAAG,eAAe,GAAG,SAAS,GAAG,UAAU,CAAC;AAE/F,MAAM,MAAM,WAAW,GAAG,cAAc,CAAC;AACzC,MAAM,MAAM,aAAa,GAAG,iBAAiB,CAAC;AAC9C,MAAM,MAAM,eAAe,GAAG,mBAAmB,CAAC;AAClD,MAAM,MAAM,SAAS,GAAG,YAAY,CAAC;AAErC,MAAM,MAAM,SAAS,GAAG,aAAa,GAAG,WAAW,GAAG,SAAS,GAAG,eAAe,CAAC;AAElF,MAAM,MAAM,WAAW,GAAG,cAAc,CAAC;AACzC,MAAM,MAAM,SAAS,GAAG,YAAY,CAAC;AAErC,MAAM,MAAM,SAAS,GAAG,WAAW,GAAG,SAAS,CAAC;AAEhD,MAAM,MAAM,eAAe,GACvB,WAAW,GACX,YAAY,GACZ,eAAe,GACf,SAAS,GACT,UAAU,GACV,WAAW,GACX,aAAa,GACb,eAAe,GACf,SAAS,GACT,WAAW,GACX,SAAS,CAAC"}
|
package/package.json
CHANGED
|
@@ -9,8 +9,7 @@
|
|
|
9
9
|
background-color: transparent;
|
|
10
10
|
}
|
|
11
11
|
.np-accordion-item.np-accordion-item--dark .media-body,
|
|
12
|
-
.np-accordion-item.np-accordion-item--dark .np-text-title-body
|
|
13
|
-
.np-accordion-item.np-accordion-item--dark .wds-text-title-body {
|
|
12
|
+
.np-accordion-item.np-accordion-item--dark .np-text-title-body {
|
|
14
13
|
color: #ffffff;
|
|
15
14
|
}
|
|
16
15
|
.np-accordion-item__content {
|
package/src/Body/Body.css
CHANGED
package/src/Body/Body.less
CHANGED
package/src/Body/Body.test.tsx
CHANGED
|
@@ -9,7 +9,7 @@ describe('Body', () => {
|
|
|
9
9
|
const copy = screen.getByText('Test');
|
|
10
10
|
expect(copy).toBeInTheDocument();
|
|
11
11
|
expect(copy.tagName).toBe('DIV');
|
|
12
|
-
expect(copy).toHaveClass(`
|
|
12
|
+
expect(copy).toHaveClass(`np-text-${Typography.BODY_DEFAULT}`);
|
|
13
13
|
});
|
|
14
14
|
|
|
15
15
|
it('enforces tag via `as` prop', () => {
|
|
@@ -17,7 +17,7 @@ describe('Body', () => {
|
|
|
17
17
|
const copy = screen.getByText('Test');
|
|
18
18
|
expect(copy).toBeInTheDocument();
|
|
19
19
|
expect(copy.tagName).toBe('P');
|
|
20
|
-
expect(copy).toHaveClass(`
|
|
20
|
+
expect(copy).toHaveClass(`np-text-${Typography.BODY_DEFAULT}`);
|
|
21
21
|
});
|
|
22
22
|
|
|
23
23
|
it('supports native HTML attrs', () => {
|
|
@@ -35,7 +35,7 @@ describe('Body', () => {
|
|
|
35
35
|
it('renders newlines as line breaks when preserveNewlines is true', () => {
|
|
36
36
|
render(<Body preserveNewlines>{'Line 1.\nLine 2'}</Body>);
|
|
37
37
|
const copy = screen.getByText(/Line 1\.\s*Line 2/);
|
|
38
|
-
expect(copy).toHaveClass('
|
|
38
|
+
expect(copy).toHaveClass('np-text--pre-line');
|
|
39
39
|
expect(copy).toHaveTextContent('Line 1.');
|
|
40
40
|
expect(copy).toHaveTextContent('Line 2');
|
|
41
41
|
});
|
|
@@ -47,6 +47,6 @@ describe('Body', () => {
|
|
|
47
47
|
const copy = screen.getByText('Test');
|
|
48
48
|
expect(copy).toBeInTheDocument();
|
|
49
49
|
expect(copy.tagName).toBe('DIV');
|
|
50
|
-
expect(copy).toHaveClass(`
|
|
50
|
+
expect(copy).toHaveClass(`np-text-${Typography.BODY_DEFAULT}`);
|
|
51
51
|
});
|
|
52
52
|
});
|
package/src/Body/Body.tsx
CHANGED
|
@@ -41,8 +41,8 @@ const Body = forwardRef(function Body(
|
|
|
41
41
|
// See: https://fettblog.eu/typescript-react-generic-forward-refs/
|
|
42
42
|
ref={reference}
|
|
43
43
|
className={clsx(
|
|
44
|
-
`
|
|
45
|
-
preserveNewlines && '
|
|
44
|
+
`np-text-${isTypeSupported ? type : DEFAULT_TYPE}`,
|
|
45
|
+
preserveNewlines && 'np-text--pre-line',
|
|
46
46
|
className,
|
|
47
47
|
)}
|
|
48
48
|
/>
|
|
@@ -134,8 +134,8 @@ class DayCalendarTable extends PureComponent<DayCalendarTableProps> {
|
|
|
134
134
|
key={day}
|
|
135
135
|
className={
|
|
136
136
|
index > 4
|
|
137
|
-
? 'text-xs-center
|
|
138
|
-
: 'text-xs-center
|
|
137
|
+
? 'text-xs-center np-text-body-default'
|
|
138
|
+
: 'text-xs-center np-text-body-default-bold'
|
|
139
139
|
}
|
|
140
140
|
>
|
|
141
141
|
<span className="hidden-xs">
|
|
@@ -76,7 +76,7 @@ const MonthCalendarTable = ({
|
|
|
76
76
|
})();
|
|
77
77
|
|
|
78
78
|
return (
|
|
79
|
-
<table className="table table-condensed table-bordered tw-date-lookup-calendar
|
|
79
|
+
<table className="table table-condensed table-bordered tw-date-lookup-calendar np-text-body-default-bold m-b-0">
|
|
80
80
|
<thead className="sr-only">
|
|
81
81
|
<tr>
|
|
82
82
|
<th colSpan={COLS}>{placeholder}</th>
|
|
@@ -96,7 +96,7 @@ const TableLink = ({
|
|
|
96
96
|
aria-pressed={active}
|
|
97
97
|
className={clsx(
|
|
98
98
|
`wds-Calendar__option--${type}`,
|
|
99
|
-
`tw-date-lookup-${type}-option
|
|
99
|
+
`tw-date-lookup-${type}-option np-text-body-default-bold`,
|
|
100
100
|
{ active: !!active },
|
|
101
101
|
{ today: !!today },
|
|
102
102
|
{ disabled: !!isUnavailable },
|
package/src/Chips/Chip/Chip.css
CHANGED
|
@@ -134,14 +134,12 @@
|
|
|
134
134
|
.np-theme-personal .np-chip.np-chip--removable {
|
|
135
135
|
position: relative;
|
|
136
136
|
}
|
|
137
|
-
.np-theme-personal .np-chip.np-chip--removable .np-text-body-default-bold
|
|
138
|
-
.np-theme-personal .np-chip.np-chip--removable .wds-text-body-default-bold {
|
|
137
|
+
.np-theme-personal .np-chip.np-chip--removable .np-text-body-default-bold {
|
|
139
138
|
padding-inline-end: 24px;
|
|
140
139
|
padding-inline-end: var(--size-24);
|
|
141
140
|
}
|
|
142
141
|
@media (max-width: 320px) {
|
|
143
|
-
.np-theme-personal .np-chip.np-chip--removable .np-text-body-default-bold
|
|
144
|
-
.np-theme-personal .np-chip.np-chip--removable .wds-text-body-default-bold {
|
|
142
|
+
.np-theme-personal .np-chip.np-chip--removable .np-text-body-default-bold {
|
|
145
143
|
padding-inline-end: 48px;
|
|
146
144
|
padding-inline-end: var(--size-48);
|
|
147
145
|
}
|
package/src/Chips/Chip/Chip.less
CHANGED