@transferwise/components 0.0.0-experimental-8032b6c → 0.0.0-experimental-31e4d9a
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/card/Card.js.map +1 -1
- package/build/card/Card.mjs.map +1 -1
- package/build/main.css +1918 -1179
- package/build/styles/accordion/Accordion.css +27 -17
- package/build/styles/actionButton/ActionButton.css +16 -5
- package/build/styles/actionOption/ActionOption.css +2 -1
- package/build/styles/alert/Alert.css +2 -1
- package/build/styles/avatar/Avatar.css +84 -69
- package/build/styles/avatarLayout/AvatarLayout.css +22 -16
- package/build/styles/avatarView/AvatarView.css +11 -4
- package/build/styles/avatarView/Dot.css +9 -4
- package/build/styles/badge/Badge.css +19 -14
- package/build/styles/button/Button.css +20 -19
- package/build/styles/button/LegacyButton.css +7 -4
- package/build/styles/card/Card.css +24 -20
- package/build/styles/carousel/Carousel.css +45 -26
- package/build/styles/checkboxButton/CheckboxButton.css +15 -10
- package/build/styles/chips/Chip.css +61 -39
- package/build/styles/circularButton/CircularButton.css +8 -8
- package/build/styles/common/Option/Option.css +57 -30
- package/build/styles/common/RadioButton/RadioButton.css +1 -0
- package/build/styles/common/bottomSheet/BottomSheet.css +20 -21
- package/build/styles/common/card/Card.css +10 -6
- package/build/styles/common/circle/Circle.css +16 -11
- package/build/styles/common/closeButton/CloseButton.css +45 -24
- package/build/styles/common/panel/Panel.css +13 -7
- package/build/styles/criticalBanner/CriticalCommsBanner.css +8 -5
- package/build/styles/dateInput/DateInput.css +5 -5
- package/build/styles/dateLookup/DateLookup.css +26 -13
- package/build/styles/dateLookup/dateTrigger/DateTrigger.css +13 -8
- package/build/styles/decision/Decision.css +4 -0
- package/build/styles/definitionList/DefinitionList.css +13 -8
- package/build/styles/dimmer/Dimmer.css +15 -13
- package/build/styles/divider/Divider.css +7 -5
- package/build/styles/drawer/Drawer.css +21 -15
- package/build/styles/dropFade/DropFade.css +2 -2
- package/build/styles/emphasis/Emphasis.css +6 -0
- package/build/styles/expressiveMoneyInput/ExpressiveMoneyInput.css +12 -8
- package/build/styles/expressiveMoneyInput/amountInput/AmountInput.css +4 -4
- package/build/styles/expressiveMoneyInput/chevron/Chevron.css +5 -3
- package/build/styles/expressiveMoneyInput/currencySelector/CurrencySelector.css +1 -0
- package/build/styles/field/Field.css +5 -3
- package/build/styles/flowNavigation/FlowNavigation.css +28 -22
- package/build/styles/flowNavigation/animatedLabel/AnimatedLabel.css +6 -5
- package/build/styles/header/Header.css +16 -8
- package/build/styles/iconButton/IconButton.css +17 -12
- package/build/styles/image/Image.css +7 -6
- package/build/styles/info/Info.css +1 -1
- package/build/styles/inputs/Input.css +51 -20
- package/build/styles/inputs/InputGroup.css +14 -5
- package/build/styles/inputs/SelectInput.css +101 -42
- package/build/styles/inputs/TextArea.css +54 -21
- package/build/styles/instructionsList/InstructionsList.css +5 -3
- package/build/styles/legacylistItem/LegacyListItem.css +1 -1
- package/build/styles/link/Link.css +6 -3
- package/build/styles/listItem/ListItem.css +88 -44
- package/build/styles/listItem/ListItem.grid.css +15 -7
- package/build/styles/loader/Loader.css +36 -21
- package/build/styles/logo/Logo.css +2 -2
- package/build/styles/main.css +1918 -1179
- package/build/styles/modal/Modal.css +27 -19
- package/build/styles/moneyInput/MoneyInput.css +26 -16
- package/build/styles/navigationOption/NavigationOption.css +21 -13
- package/build/styles/navigationOptionsList/NavigationOptionsList.css +6 -5
- package/build/styles/nudge/Nudge.css +77 -71
- package/build/styles/overlayHeader/OverlayHeader.css +6 -5
- package/build/styles/phoneNumberInput/PhoneNumberInput.css +7 -4
- package/build/styles/popover/Popover.css +21 -11
- package/build/styles/progress/Progress.css +12 -2
- package/build/styles/progressBar/ProgressBar.css +7 -2
- package/build/styles/promoCard/PromoCard.css +57 -37
- package/build/styles/prompt/ActionPrompt/ActionPrompt.css +11 -6
- package/build/styles/prompt/InfoPrompt/InfoPrompt.css +7 -4
- package/build/styles/prompt/InlinePrompt/InlinePrompt.css +8 -3
- package/build/styles/prompt/PrimitivePrompt/PrimitivePrompt.css +15 -7
- package/build/styles/radioGroup/RadioGroup.css +1 -1
- package/build/styles/section/Section.css +6 -3
- package/build/styles/segmentedControl/SegmentedControl.css +25 -14
- package/build/styles/select/Select.css +129 -71
- package/build/styles/slidingPanel/SlidingPanel.css +26 -17
- package/build/styles/snackbar/Snackbar.css +32 -25
- package/build/styles/stepper/Stepper.css +14 -10
- package/build/styles/summary/Summary.css +30 -17
- package/build/styles/switch/Switch.css +10 -6
- package/build/styles/table/Table.css +71 -47
- package/build/styles/tabs/Tabs.css +34 -19
- package/build/styles/tile/Tile.css +21 -9
- package/build/styles/tooltip/Tooltip.css +7 -3
- package/build/styles/typeahead/Typeahead.css +53 -38
- package/build/styles/typeahead/typeaheadOption/TypeaheadOption.css +2 -0
- package/build/styles/upload/Upload.css +10 -8
- package/build/styles/uploadInput/UploadInput.css +6 -4
- package/build/styles/uploadInput/uploadButton/UploadButton.css +24 -14
- package/build/styles/uploadInput/uploadItem/UploadItem.css +58 -35
- package/build/types/card/Card.d.ts +1 -1
- package/package.json +2 -2
- package/src/accordion/Accordion.css +27 -17
- package/src/actionButton/ActionButton.css +16 -5
- package/src/actionOption/ActionOption.css +2 -1
- package/src/alert/Alert.css +2 -1
- package/src/avatar/Avatar.css +84 -69
- package/src/avatarLayout/AvatarLayout.css +22 -16
- package/src/avatarView/AvatarView.css +11 -4
- package/src/avatarView/Dot.css +9 -4
- package/src/badge/Badge.css +19 -14
- package/src/button/Button.css +20 -19
- package/src/button/LegacyButton.css +7 -4
- package/src/card/Card.css +24 -20
- package/src/card/Card.story.tsx +3 -2
- package/src/card/Card.tsx +1 -1
- package/src/carousel/Carousel.css +45 -26
- package/src/checkboxButton/CheckboxButton.css +15 -10
- package/src/chips/Chip.css +61 -39
- package/src/circularButton/CircularButton.css +8 -8
- package/src/common/Option/Option.css +57 -30
- package/src/common/RadioButton/RadioButton.css +1 -0
- package/src/common/bottomSheet/BottomSheet.css +20 -21
- package/src/common/card/Card.css +10 -6
- package/src/common/circle/Circle.css +16 -11
- package/src/common/closeButton/CloseButton.css +45 -24
- package/src/common/panel/Panel.css +13 -7
- package/src/criticalBanner/CriticalCommsBanner.css +8 -5
- package/src/dateInput/DateInput.css +5 -5
- package/src/dateLookup/DateLookup.css +26 -13
- package/src/dateLookup/dateTrigger/DateTrigger.css +13 -8
- package/src/decision/Decision.css +4 -0
- package/src/definitionList/DefinitionList.css +13 -8
- package/src/dimmer/Dimmer.css +15 -13
- package/src/divider/Divider.css +7 -5
- package/src/drawer/Drawer.css +21 -15
- package/src/dropFade/DropFade.css +2 -2
- package/src/emphasis/Emphasis.css +6 -0
- package/src/expressiveMoneyInput/ExpressiveMoneyInput.css +12 -8
- package/src/expressiveMoneyInput/amountInput/AmountInput.css +4 -4
- package/src/expressiveMoneyInput/chevron/Chevron.css +5 -3
- package/src/expressiveMoneyInput/currencySelector/CurrencySelector.css +1 -0
- package/src/field/Field.css +5 -3
- package/src/flowNavigation/FlowNavigation.css +28 -22
- package/src/flowNavigation/animatedLabel/AnimatedLabel.css +6 -5
- package/src/header/Header.css +16 -8
- package/src/iconButton/IconButton.css +17 -12
- package/src/image/Image.css +7 -6
- package/src/info/Info.css +1 -1
- package/src/inputs/Input.css +51 -20
- package/src/inputs/InputGroup.css +14 -5
- package/src/inputs/SelectInput.css +101 -42
- package/src/inputs/TextArea.css +54 -21
- package/src/instructionsList/InstructionsList.css +5 -3
- package/src/legacylistItem/LegacyListItem.css +1 -1
- package/src/link/Link.css +6 -3
- package/src/listItem/ListItem.css +88 -44
- package/src/listItem/ListItem.grid.css +15 -7
- package/src/loader/Loader.css +36 -21
- package/src/logo/Logo.css +2 -2
- package/src/main.css +1918 -1179
- package/src/modal/Modal.css +27 -19
- package/src/moneyInput/MoneyInput.css +26 -16
- package/src/navigationOption/NavigationOption.css +21 -13
- package/src/navigationOptionsList/NavigationOptionsList.css +6 -5
- package/src/nudge/Nudge.css +77 -71
- package/src/overlayHeader/OverlayHeader.css +6 -5
- package/src/phoneNumberInput/PhoneNumberInput.css +7 -4
- package/src/popover/Popover.css +21 -11
- package/src/progress/Progress.css +12 -2
- package/src/progressBar/ProgressBar.css +7 -2
- package/src/promoCard/PromoCard.css +57 -37
- package/src/prompt/ActionPrompt/ActionPrompt.css +11 -6
- package/src/prompt/InfoPrompt/InfoPrompt.css +7 -4
- package/src/prompt/InlinePrompt/InlinePrompt.css +8 -3
- package/src/prompt/PrimitivePrompt/PrimitivePrompt.css +15 -7
- package/src/radioGroup/RadioGroup.css +1 -1
- package/src/section/Section.css +6 -3
- package/src/segmentedControl/SegmentedControl.css +25 -14
- package/src/select/Select.css +129 -71
- package/src/slidingPanel/SlidingPanel.css +26 -17
- package/src/snackbar/Snackbar.css +32 -25
- package/src/stepper/Stepper.css +14 -10
- package/src/summary/Summary.css +30 -17
- package/src/switch/Switch.css +10 -6
- package/src/table/Table.css +71 -47
- package/src/tabs/Tabs.css +34 -19
- package/src/tile/Tile.css +21 -9
- package/src/tooltip/Tooltip.css +7 -3
- package/src/typeahead/Typeahead.css +53 -38
- package/src/typeahead/typeaheadOption/TypeaheadOption.css +2 -0
- package/src/upload/Upload.css +10 -8
- package/src/uploadInput/UploadInput.css +6 -4
- package/src/uploadInput/uploadButton/UploadButton.css +24 -14
- package/src/uploadInput/uploadItem/UploadItem.css +58 -35
|
@@ -2,23 +2,28 @@
|
|
|
2
2
|
overflow: hidden;
|
|
3
3
|
text-overflow: ellipsis;
|
|
4
4
|
white-space: nowrap;
|
|
5
|
-
|
|
5
|
+
width: 100%;
|
|
6
6
|
}
|
|
7
7
|
.np-theme-personal .np-date-trigger {
|
|
8
|
-
padding-
|
|
8
|
+
padding-left: 16px;
|
|
9
|
+
padding-left: var(--size-16);
|
|
9
10
|
}
|
|
10
11
|
.clear-btn {
|
|
11
12
|
position: absolute;
|
|
12
|
-
|
|
13
|
-
|
|
13
|
+
top: 8px;
|
|
14
|
+
top: var(--size-8);
|
|
15
|
+
right: 8px;
|
|
16
|
+
right: var(--size-8);
|
|
14
17
|
}
|
|
15
18
|
[dir="rtl"] .clear-btn {
|
|
16
|
-
|
|
17
|
-
|
|
19
|
+
left: 8px;
|
|
20
|
+
left: var(--size-8);
|
|
21
|
+
right: auto;
|
|
22
|
+
right: initial;
|
|
18
23
|
}
|
|
19
24
|
.clear-btn--sm {
|
|
20
|
-
|
|
25
|
+
top: 0;
|
|
21
26
|
}
|
|
22
27
|
.clear-btn--lg {
|
|
23
|
-
|
|
28
|
+
top: 20px;
|
|
24
29
|
}
|
|
@@ -2,12 +2,16 @@
|
|
|
2
2
|
display: flex;
|
|
3
3
|
}
|
|
4
4
|
.np-decision__tile--small .np-text-title-subsection {
|
|
5
|
+
font-size: 1rem;
|
|
5
6
|
font-size: var(--font-size-16);
|
|
7
|
+
line-height: 1.2;
|
|
6
8
|
line-height: var(--line-height-title);
|
|
7
9
|
}
|
|
8
10
|
.np-decision:not(.flex-column) {
|
|
11
|
+
gap: 24px;
|
|
9
12
|
gap: var(--size-24);
|
|
10
13
|
}
|
|
11
14
|
.np-decision:not(.flex-column).np-decision--small {
|
|
15
|
+
gap: 16px;
|
|
12
16
|
gap: var(--size-16);
|
|
13
17
|
}
|
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
flex-shrink: 0;
|
|
8
8
|
}
|
|
9
9
|
.tw-definition-list__button {
|
|
10
|
-
margin-
|
|
10
|
+
margin-top: -50%;
|
|
11
11
|
}
|
|
12
12
|
@media (max-width: 576px) {
|
|
13
13
|
.tw-definition-list--right-aligned-desktop {
|
|
@@ -22,27 +22,32 @@
|
|
|
22
22
|
flex-wrap: wrap;
|
|
23
23
|
}
|
|
24
24
|
.tw-definition-list.tw-definition-list--columns .tw-definition-list__item {
|
|
25
|
-
|
|
25
|
+
width: 50%;
|
|
26
26
|
}
|
|
27
27
|
.tw-definition-list.tw-definition-list--horizontal .tw-definition-list__item {
|
|
28
28
|
display: flex;
|
|
29
29
|
}
|
|
30
30
|
.tw-definition-list.tw-definition-list--horizontal .tw-definition-list__item dt {
|
|
31
31
|
flex: 1;
|
|
32
|
-
min-
|
|
33
|
-
max-
|
|
34
|
-
margin-
|
|
32
|
+
min-width: 150px;
|
|
33
|
+
max-width: 30%;
|
|
34
|
+
margin-right: 8px;
|
|
35
|
+
margin-right: var(--size-8);
|
|
35
36
|
}
|
|
36
37
|
[dir="rtl"] .tw-definition-list.tw-definition-list--horizontal .tw-definition-list__item dt {
|
|
37
|
-
margin-
|
|
38
|
-
margin-
|
|
38
|
+
margin-left: 8px;
|
|
39
|
+
margin-left: var(--size-8);
|
|
40
|
+
margin-right: 0;
|
|
41
|
+
margin-right: initial;
|
|
39
42
|
}
|
|
40
43
|
.tw-definition-list.tw-definition-list--horizontal .tw-definition-list__item dd {
|
|
41
44
|
flex: 1;
|
|
42
45
|
align-items: center;
|
|
43
|
-
margin-
|
|
46
|
+
margin-bottom: 8px;
|
|
47
|
+
margin-bottom: var(--size-8);
|
|
44
48
|
}
|
|
45
49
|
}
|
|
46
50
|
.np-theme-personal .tw-definition-list dt {
|
|
51
|
+
color: #5d7079;
|
|
47
52
|
color: var(--color-content-secondary);
|
|
48
53
|
}
|
package/src/dimmer/Dimmer.css
CHANGED
|
@@ -4,25 +4,27 @@
|
|
|
4
4
|
.dimmer {
|
|
5
5
|
position: fixed;
|
|
6
6
|
z-index: 1050;
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
7
|
+
top: 0;
|
|
8
|
+
right: 0;
|
|
9
|
+
bottom: 0;
|
|
10
|
+
left: 0;
|
|
11
|
+
width: 100vw;
|
|
12
|
+
height: 100vh;
|
|
13
|
+
height: 100dvh;
|
|
14
14
|
transition: background-color cubic-bezier(0, 0.94, 0.62, 1) 350ms;
|
|
15
15
|
}
|
|
16
16
|
.dimmer--scrollable {
|
|
17
17
|
overflow-y: auto;
|
|
18
18
|
}
|
|
19
19
|
[dir="rtl"] .dimmer {
|
|
20
|
-
|
|
21
|
-
|
|
20
|
+
left: 0;
|
|
21
|
+
right: auto;
|
|
22
|
+
right: initial;
|
|
22
23
|
}
|
|
23
24
|
[dir="rtl"] .dimmer {
|
|
24
|
-
|
|
25
|
-
|
|
25
|
+
right: 0;
|
|
26
|
+
left: auto;
|
|
27
|
+
left: initial;
|
|
26
28
|
}
|
|
27
29
|
.dimmer.dimmer--enter-done {
|
|
28
30
|
background: rgba(0, 0, 0, 0.4);
|
|
@@ -57,11 +59,11 @@
|
|
|
57
59
|
opacity: 0;
|
|
58
60
|
}
|
|
59
61
|
.dimmer-content-positioner {
|
|
60
|
-
min-
|
|
62
|
+
min-height: 100%;
|
|
61
63
|
pointer-events: none;
|
|
62
64
|
}
|
|
63
65
|
:not(.dimmer--scrollable) > .dimmer-content-positioner {
|
|
64
|
-
|
|
66
|
+
height: 100%;
|
|
65
67
|
}
|
|
66
68
|
.dimmer-content-positioner > * {
|
|
67
69
|
pointer-events: all;
|
package/src/divider/Divider.css
CHANGED
|
@@ -4,17 +4,19 @@
|
|
|
4
4
|
--Divider-border-style: solid;
|
|
5
5
|
--Divider-dash-length: 4px;
|
|
6
6
|
--Divider-dash-spacing: 4px;
|
|
7
|
-
border-
|
|
7
|
+
border-top: 4px solid rgba(0,0,0,0.10196);
|
|
8
|
+
border-top: var(--Divider-border-width) var(--Divider-border-style) var(--Divider-border-color);
|
|
8
9
|
display: inline-block;
|
|
9
10
|
margin: 0;
|
|
10
11
|
padding: 0;
|
|
11
|
-
|
|
12
|
-
|
|
12
|
+
height: 4px;
|
|
13
|
+
height: var(--Divider-border-width);
|
|
14
|
+
width: 100%;
|
|
13
15
|
}
|
|
14
16
|
.wds-Divider--content {
|
|
15
|
-
border-
|
|
17
|
+
border-top: none;
|
|
16
18
|
background: repeating-linear-gradient(to right, var(--Divider-border-color), var(--Divider-border-color) var(--Divider-dash-length), transparent var(--Divider-dash-length), transparent calc(var(--Divider-dash-length) + var(--Divider-dash-spacing)));
|
|
17
|
-
|
|
19
|
+
height: var(--Divider-border-width);
|
|
18
20
|
}
|
|
19
21
|
.wds-Divider--content,
|
|
20
22
|
.wds-Divider--subsection {
|
package/src/drawer/Drawer.css
CHANGED
|
@@ -2,29 +2,33 @@
|
|
|
2
2
|
display: flex;
|
|
3
3
|
flex-direction: column;
|
|
4
4
|
justify-content: space-between;
|
|
5
|
-
|
|
6
|
-
max-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
max-
|
|
10
|
-
max-
|
|
5
|
+
width: 100vw;
|
|
6
|
+
max-width: 600px;
|
|
7
|
+
height: 100vh;
|
|
8
|
+
height: 100dvh;
|
|
9
|
+
max-height: 100vh;
|
|
10
|
+
max-height: 100dvh;
|
|
11
11
|
}
|
|
12
12
|
@media (max-width: 770px) {
|
|
13
13
|
.np-drawer {
|
|
14
|
-
max-
|
|
14
|
+
max-width: none;
|
|
15
|
+
max-width: initial;
|
|
15
16
|
}
|
|
16
17
|
}
|
|
17
18
|
.np-drawer .np-drawer-header {
|
|
18
|
-
min-
|
|
19
|
+
min-height: 56px;
|
|
20
|
+
min-height: var(--size-56);
|
|
21
|
+
padding: 24px;
|
|
19
22
|
padding: var(--size-24);
|
|
20
23
|
}
|
|
21
|
-
@media (
|
|
24
|
+
@media (max-width: 320px) {
|
|
22
25
|
.np-drawer .np-drawer-header {
|
|
26
|
+
padding: 16px;
|
|
23
27
|
padding: var(--size-16);
|
|
24
28
|
}
|
|
25
29
|
}
|
|
26
30
|
.np-drawer .np-drawer-title {
|
|
27
|
-
max-
|
|
31
|
+
max-width: 85%;
|
|
28
32
|
}
|
|
29
33
|
.np-drawer .np-drawer-content {
|
|
30
34
|
overflow-y: auto;
|
|
@@ -32,19 +36,21 @@
|
|
|
32
36
|
background-color: transparent;
|
|
33
37
|
}
|
|
34
38
|
.np-drawer .np-drawer-footer {
|
|
39
|
+
padding: 16px;
|
|
35
40
|
padding: var(--size-16);
|
|
36
41
|
}
|
|
37
42
|
.np-drawer .np-drawer-content {
|
|
38
|
-
padding
|
|
39
|
-
padding
|
|
43
|
+
padding: 0 16px;
|
|
44
|
+
padding: 0 var(--size-16);
|
|
40
45
|
}
|
|
41
|
-
@media (
|
|
46
|
+
@media (min-width: 768px) {
|
|
42
47
|
.np-drawer .np-drawer-header,
|
|
43
48
|
.np-drawer .np-drawer-footer {
|
|
49
|
+
padding: 24px;
|
|
44
50
|
padding: var(--size-24);
|
|
45
51
|
}
|
|
46
52
|
.np-drawer .np-drawer-content {
|
|
47
|
-
padding
|
|
48
|
-
padding
|
|
53
|
+
padding: 0 24px;
|
|
54
|
+
padding: 0 var(--size-24);
|
|
49
55
|
}
|
|
50
56
|
}
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
.np-dropfade-enter {
|
|
3
3
|
opacity: 0;
|
|
4
4
|
overflow: hidden;
|
|
5
|
-
|
|
5
|
+
height: 0;
|
|
6
6
|
}
|
|
7
7
|
.np-dropfade-enter-active {
|
|
8
8
|
transition: height 150ms ease-in, opacity 150ms ease-in 150ms;
|
|
@@ -11,7 +11,7 @@
|
|
|
11
11
|
.np-dropfade-enter-done,
|
|
12
12
|
.np-dropfade-exit {
|
|
13
13
|
opacity: 1;
|
|
14
|
-
|
|
14
|
+
height: auto;
|
|
15
15
|
}
|
|
16
16
|
.np-dropfade-exit-active {
|
|
17
17
|
transition: opacity 150ms ease-in, height 150ms ease-in 150ms;
|
|
@@ -1,25 +1,31 @@
|
|
|
1
1
|
.emphasis {
|
|
2
|
+
font-weight: 600;
|
|
2
3
|
font-weight: var(--font-weight-semi-bold);
|
|
3
4
|
font-style: normal;
|
|
4
5
|
}
|
|
5
6
|
.emphasis--important {
|
|
7
|
+
color: #37517e;
|
|
6
8
|
color: var(--color-content-primary);
|
|
7
9
|
}
|
|
8
10
|
.emphasis--positive {
|
|
11
|
+
color: #008026;
|
|
9
12
|
color: var(--color-content-positive);
|
|
10
13
|
}
|
|
11
14
|
.np-theme-personal .emphasis--positive {
|
|
12
15
|
color: var(--color-sentiment-positive);
|
|
13
16
|
}
|
|
14
17
|
.emphasis--negative {
|
|
18
|
+
color: #cf2929;
|
|
15
19
|
color: var(--color-content-negative);
|
|
16
20
|
}
|
|
17
21
|
.np-theme-personal .emphasis--negative {
|
|
18
22
|
color: var(--color-sentiment-negative);
|
|
19
23
|
}
|
|
20
24
|
.emphasis--warning {
|
|
25
|
+
color: #9a6500;
|
|
21
26
|
color: var(--color-content-warning);
|
|
22
27
|
}
|
|
23
28
|
.np-theme-personal .emphasis--warning {
|
|
29
|
+
color: #5d7079;
|
|
24
30
|
color: var(--color-content-secondary);
|
|
25
31
|
}
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
.wds-amount-input-container {
|
|
2
|
-
|
|
2
|
+
width: 100%;
|
|
3
3
|
}
|
|
4
4
|
.wds-amount-input-input-container {
|
|
5
5
|
display: flex;
|
|
6
6
|
justify-content: right;
|
|
7
|
-
|
|
7
|
+
width: 100%;
|
|
8
8
|
transition: font-size 0.4s cubic-bezier(0.3, 0, 0.1, 1), height 0.4s cubic-bezier(0.3, 0, 0.1, 1), margin-top 0.4s cubic-bezier(0.3, 0, 0.1, 1), color 0.4s ease;
|
|
9
9
|
color: var(--color-interactive-primary);
|
|
10
10
|
overflow: hidden;
|
|
11
|
-
margin-
|
|
11
|
+
margin-bottom: 0 !important;
|
|
12
12
|
}
|
|
13
13
|
@media (prefers-reduced-motion: reduce) {
|
|
14
14
|
.wds-amount-input-input-container {
|
|
@@ -19,7 +19,7 @@
|
|
|
19
19
|
border: none;
|
|
20
20
|
outline: none;
|
|
21
21
|
flex-grow: 1;
|
|
22
|
-
text-align:
|
|
22
|
+
text-align: right;
|
|
23
23
|
background-color: transparent;
|
|
24
24
|
}
|
|
25
25
|
.wds-amount-input-input:focus-visible {
|
|
@@ -32,22 +32,26 @@
|
|
|
32
32
|
}
|
|
33
33
|
.wds-currency-selector:disabled {
|
|
34
34
|
opacity: 1 !important;
|
|
35
|
+
cursor: auto !important;
|
|
35
36
|
cursor: initial !important;
|
|
36
37
|
mix-blend-mode: initial !important;
|
|
37
38
|
}
|
|
38
39
|
.wds-chevron-container {
|
|
39
|
-
|
|
40
|
+
width: 32px;
|
|
41
|
+
width: var(--size-32);
|
|
40
42
|
overflow: hidden;
|
|
41
43
|
color: var(--color-interactive-primary);
|
|
42
|
-
margin-
|
|
44
|
+
margin-left: 8px;
|
|
45
|
+
margin-left: var(--size-8);
|
|
43
46
|
transition: width 0.3s ease;
|
|
44
47
|
}
|
|
45
48
|
.wds-chevron-hidden {
|
|
46
|
-
|
|
49
|
+
width: 0;
|
|
47
50
|
}
|
|
48
51
|
.wds-expressive-money-input-currency-selector {
|
|
49
52
|
flex-shrink: 0;
|
|
50
|
-
margin-
|
|
53
|
+
margin-right: 24px;
|
|
54
|
+
margin-right: var(--size-24);
|
|
51
55
|
}
|
|
52
56
|
.wds-expressive-money-input-chevron {
|
|
53
57
|
transform: translateY(-5%);
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
.wds-amount-input-container {
|
|
2
|
-
|
|
2
|
+
width: 100%;
|
|
3
3
|
}
|
|
4
4
|
.wds-amount-input-input-container {
|
|
5
5
|
display: flex;
|
|
6
6
|
justify-content: right;
|
|
7
|
-
|
|
7
|
+
width: 100%;
|
|
8
8
|
transition: font-size 0.4s cubic-bezier(0.3, 0, 0.1, 1), height 0.4s cubic-bezier(0.3, 0, 0.1, 1), margin-top 0.4s cubic-bezier(0.3, 0, 0.1, 1), color 0.4s ease;
|
|
9
9
|
color: var(--color-interactive-primary);
|
|
10
10
|
overflow: hidden;
|
|
11
|
-
margin-
|
|
11
|
+
margin-bottom: 0 !important;
|
|
12
12
|
}
|
|
13
13
|
@media (prefers-reduced-motion: reduce) {
|
|
14
14
|
.wds-amount-input-input-container {
|
|
@@ -19,7 +19,7 @@
|
|
|
19
19
|
border: none;
|
|
20
20
|
outline: none;
|
|
21
21
|
flex-grow: 1;
|
|
22
|
-
text-align:
|
|
22
|
+
text-align: right;
|
|
23
23
|
background-color: transparent;
|
|
24
24
|
}
|
|
25
25
|
.wds-amount-input-input:focus-visible {
|
|
@@ -1,10 +1,12 @@
|
|
|
1
1
|
.wds-chevron-container {
|
|
2
|
-
|
|
2
|
+
width: 32px;
|
|
3
|
+
width: var(--size-32);
|
|
3
4
|
overflow: hidden;
|
|
4
5
|
color: var(--color-interactive-primary);
|
|
5
|
-
margin-
|
|
6
|
+
margin-left: 8px;
|
|
7
|
+
margin-left: var(--size-8);
|
|
6
8
|
transition: width 0.3s ease;
|
|
7
9
|
}
|
|
8
10
|
.wds-chevron-hidden {
|
|
9
|
-
|
|
11
|
+
width: 0;
|
|
10
12
|
}
|
package/src/field/Field.css
CHANGED
|
@@ -1,11 +1,13 @@
|
|
|
1
1
|
.np-field-control,
|
|
2
2
|
.np-field__prompt {
|
|
3
|
-
margin-
|
|
3
|
+
margin-top: 4px;
|
|
4
|
+
margin-top: var(--size-4);
|
|
4
5
|
}
|
|
5
6
|
.np-field .form-group--typeahead[class],
|
|
6
7
|
.np-field .np-checkbox-label[class] {
|
|
7
|
-
margin-
|
|
8
|
+
margin-bottom: 0;
|
|
8
9
|
}
|
|
9
10
|
.np-field:has(.wds-radio-group) .np-field__prompt {
|
|
10
|
-
margin-
|
|
11
|
+
margin-top: 12px;
|
|
12
|
+
margin-top: var(--size-12);
|
|
11
13
|
}
|
|
@@ -1,64 +1,70 @@
|
|
|
1
1
|
.np-flow-navigation {
|
|
2
|
-
|
|
3
|
-
min-
|
|
2
|
+
width: 100%;
|
|
3
|
+
min-height: 97px;
|
|
4
4
|
}
|
|
5
5
|
.np-flow-navigation--border-bottom {
|
|
6
|
-
min-
|
|
7
|
-
border-
|
|
6
|
+
min-height: 96px;
|
|
7
|
+
border-bottom: 1px solid rgba(0,0,0,0.10196);
|
|
8
|
+
border-bottom: 1px solid var(--color-border-neutral);
|
|
8
9
|
}
|
|
9
10
|
.np-flow-navigation__content {
|
|
10
|
-
|
|
11
|
-
min-
|
|
12
|
-
max-
|
|
11
|
+
width: 100%;
|
|
12
|
+
min-width: 320px;
|
|
13
|
+
max-width: 1164px;
|
|
13
14
|
}
|
|
14
15
|
.np-flow-navigation__stepper {
|
|
15
|
-
padding-
|
|
16
|
+
padding-bottom: 0 !important;
|
|
16
17
|
}
|
|
17
18
|
[dir="rtl"] .np-flow-navigation__stepper {
|
|
18
|
-
padding-
|
|
19
|
+
padding-right: 0 !important;
|
|
19
20
|
}
|
|
20
21
|
html:not([dir="rtl"]) .np-flow-navigation__stepper {
|
|
21
|
-
padding-
|
|
22
|
+
padding-left: 0 !important;
|
|
22
23
|
}
|
|
23
24
|
[dir="rtl"] .np-flow-navigation__stepper {
|
|
24
|
-
padding-
|
|
25
|
+
padding-left: 0 !important;
|
|
25
26
|
}
|
|
26
27
|
html:not([dir="rtl"]) .np-flow-navigation__stepper {
|
|
27
|
-
padding-
|
|
28
|
+
padding-right: 0 !important;
|
|
28
29
|
}
|
|
29
30
|
.np-flow-navigation--xs-max .np-flow-navigation__stepper .tw-stepper-steps {
|
|
30
31
|
display: none;
|
|
31
32
|
}
|
|
32
33
|
.np-flow-navigation--xs-max .np-flow-navigation__stepper .progress {
|
|
33
|
-
margin-
|
|
34
|
+
margin-bottom: 0;
|
|
34
35
|
}
|
|
35
36
|
.np-flow-navigation--xs-max .np-animated-label {
|
|
36
|
-
|
|
37
|
+
height: auto;
|
|
37
38
|
}
|
|
38
39
|
.np-flow-navigation--xs-max .np-animated-label .tw-icon-chevron-down {
|
|
39
|
-
margin-
|
|
40
|
+
margin-left: 4px;
|
|
41
|
+
margin-left: var(--size-4);
|
|
40
42
|
}
|
|
41
43
|
.np-flow-navigation--sm .np-flow-navigation__stepper {
|
|
42
|
-
min-
|
|
44
|
+
min-height: 56px;
|
|
43
45
|
}
|
|
44
46
|
[dir="rtl"] .np-flow-navigation--sm .np-flow-navigation__stepper {
|
|
45
|
-
padding-
|
|
47
|
+
padding-right: 24px !important;
|
|
48
|
+
padding-right: var(--size-24) !important;
|
|
46
49
|
}
|
|
47
50
|
html:not([dir="rtl"]) .np-flow-navigation--sm .np-flow-navigation__stepper {
|
|
48
|
-
padding-
|
|
51
|
+
padding-left: 24px !important;
|
|
52
|
+
padding-left: var(--size-24) !important;
|
|
49
53
|
}
|
|
50
54
|
[dir="rtl"] .np-flow-navigation--sm .np-flow-navigation__stepper {
|
|
51
|
-
padding-
|
|
55
|
+
padding-left: 24px !important;
|
|
56
|
+
padding-left: var(--size-24) !important;
|
|
52
57
|
}
|
|
53
58
|
html:not([dir="rtl"]) .np-flow-navigation--sm .np-flow-navigation__stepper {
|
|
54
|
-
padding-
|
|
59
|
+
padding-right: 24px !important;
|
|
60
|
+
padding-right: var(--size-24) !important;
|
|
55
61
|
}
|
|
56
62
|
.np-flow-navigation--lg .np-flow-navigation__stepper {
|
|
57
|
-
max-
|
|
63
|
+
max-width: 562px;
|
|
58
64
|
}
|
|
59
65
|
.np-flow-navigation--lg .np-flow-header__left,
|
|
60
66
|
.np-flow-navigation--lg .np-flow-header__right {
|
|
61
|
-
|
|
67
|
+
width: 180px;
|
|
62
68
|
}
|
|
63
69
|
.np-flow-navigation--hidden {
|
|
64
70
|
visibility: hidden;
|
|
@@ -1,25 +1,26 @@
|
|
|
1
1
|
.np-animated-label {
|
|
2
|
-
|
|
2
|
+
height: 24px;
|
|
3
3
|
overflow: hidden;
|
|
4
4
|
position: relative;
|
|
5
|
-
padding-
|
|
5
|
+
padding-top: 1px;
|
|
6
6
|
}
|
|
7
7
|
.np-animated-label > * {
|
|
8
|
-
|
|
8
|
+
height: 0;
|
|
9
9
|
opacity: 0;
|
|
10
10
|
position: absolute;
|
|
11
11
|
transform: translateX(-8px);
|
|
12
12
|
transition: all 0.3s ease-in;
|
|
13
13
|
}
|
|
14
14
|
.np-animated-label--active {
|
|
15
|
-
|
|
15
|
+
height: auto;
|
|
16
16
|
opacity: 1;
|
|
17
17
|
position: relative;
|
|
18
|
-
|
|
18
|
+
top: auto;
|
|
19
19
|
transform: translateX(0);
|
|
20
20
|
transition: all 0.3s ease-in 0.3s;
|
|
21
21
|
}
|
|
22
22
|
.np-animated-label-option {
|
|
23
|
+
border-radius: 10px;
|
|
23
24
|
border-radius: var(--radius-small);
|
|
24
25
|
}
|
|
25
26
|
.np-animated-label-option:not(.disabled):hover,
|
package/src/header/Header.css
CHANGED
|
@@ -1,25 +1,33 @@
|
|
|
1
1
|
.np-header {
|
|
2
2
|
display: grid;
|
|
3
3
|
grid-template-columns: 1fr auto;
|
|
4
|
-
column-gap:
|
|
4
|
+
grid-column-gap: 24px;
|
|
5
|
+
grid-column-gap: var(--size-24);
|
|
6
|
+
-moz-column-gap: 24px;
|
|
7
|
+
column-gap: 24px;
|
|
8
|
+
-moz-column-gap: var(--size-24);
|
|
9
|
+
column-gap: var(--size-24);
|
|
5
10
|
align-items: center;
|
|
6
|
-
margin-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
padding
|
|
10
|
-
|
|
11
|
+
margin-bottom: 8px;
|
|
12
|
+
margin-bottom: var(--size-8);
|
|
13
|
+
max-width: 100%;
|
|
14
|
+
padding: 8px 0;
|
|
15
|
+
padding: var(--size-8) 0;
|
|
16
|
+
width: 100%;
|
|
11
17
|
}
|
|
12
18
|
.np-header--group {
|
|
13
19
|
align-items: flex-end;
|
|
14
|
-
border-
|
|
20
|
+
border-bottom: 1px solid rgba(0,0,0,0.10196);
|
|
21
|
+
border-bottom: 1px solid var(--color-border-neutral);
|
|
15
22
|
}
|
|
16
23
|
.np-header--group,
|
|
17
24
|
.np-header--group .np-header__title {
|
|
25
|
+
color: #5d7079;
|
|
18
26
|
color: var(--color-content-secondary);
|
|
19
27
|
}
|
|
20
28
|
.np-header__action {
|
|
21
29
|
margin: 0;
|
|
22
|
-
|
|
30
|
+
height: 20px;
|
|
23
31
|
display: flex;
|
|
24
32
|
align-items: center;
|
|
25
33
|
}
|