@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
|
@@ -1,20 +1,22 @@
|
|
|
1
1
|
.tw-modal--scrollable {
|
|
2
|
-
max-
|
|
2
|
+
max-height: 100%;
|
|
3
3
|
/* mobile viewport bug fix */
|
|
4
|
-
max-
|
|
4
|
+
max-height: -webkit-fill-available;
|
|
5
5
|
}
|
|
6
6
|
.tw-modal .tw-modal-dialog {
|
|
7
7
|
transition: transform 0.3s ease-out;
|
|
8
8
|
transform: translateY(-25%);
|
|
9
9
|
box-shadow: none;
|
|
10
|
+
background: #ffffff;
|
|
10
11
|
background: var(--color-background-elevated);
|
|
12
|
+
border-radius: 24px;
|
|
11
13
|
border-radius: var(--radius-large);
|
|
12
14
|
}
|
|
13
15
|
.tw-modal.in .tw-modal-dialog {
|
|
14
16
|
transform: translate(0);
|
|
15
17
|
}
|
|
16
18
|
.tw-modal .tw-modal-content {
|
|
17
|
-
|
|
19
|
+
width: 100%;
|
|
18
20
|
background-color: transparent;
|
|
19
21
|
}
|
|
20
22
|
.tw-modal .tw-modal-content .tw-modal-body {
|
|
@@ -27,49 +29,55 @@
|
|
|
27
29
|
.tw-modal .tw-modal-content .tw-modal-header,
|
|
28
30
|
.tw-modal .tw-modal-content .tw-modal-footer,
|
|
29
31
|
.tw-modal .tw-modal-content .tw-modal-body {
|
|
32
|
+
padding: 16px;
|
|
30
33
|
padding: var(--size-16);
|
|
31
34
|
}
|
|
32
35
|
.tw-modal .tw-modal-content .tw-modal-title {
|
|
33
|
-
max-
|
|
36
|
+
max-width: 85%;
|
|
34
37
|
}
|
|
35
38
|
.tw-modal .tw-modal-content .tw-modal-footer {
|
|
36
|
-
padding-
|
|
37
|
-
padding-
|
|
39
|
+
padding-top: 12px;
|
|
40
|
+
padding-top: var(--size-12);
|
|
41
|
+
padding-bottom: 12px;
|
|
42
|
+
padding-bottom: var(--size-12);
|
|
38
43
|
}
|
|
39
|
-
@media (
|
|
44
|
+
@media (min-width: 576px) {
|
|
40
45
|
.tw-modal .tw-modal-content .tw-modal-header,
|
|
41
46
|
.tw-modal .tw-modal-content .tw-modal-footer {
|
|
47
|
+
padding: 24px;
|
|
42
48
|
padding: var(--size-24);
|
|
43
49
|
}
|
|
44
50
|
.tw-modal .tw-modal-content .tw-modal-body {
|
|
45
|
-
padding
|
|
46
|
-
padding
|
|
51
|
+
padding: 0 24px;
|
|
52
|
+
padding: 0 var(--size-24);
|
|
47
53
|
}
|
|
48
54
|
}
|
|
49
|
-
@media (
|
|
55
|
+
@media (min-width: 480px) {
|
|
50
56
|
.tw-modal-dialog.tw-modal-sm {
|
|
51
|
-
|
|
57
|
+
width: 300px;
|
|
52
58
|
}
|
|
53
59
|
}
|
|
54
|
-
@media (
|
|
60
|
+
@media (min-width: 576px) {
|
|
55
61
|
.tw-modal {
|
|
62
|
+
padding: 40px;
|
|
56
63
|
padding: var(--size-40);
|
|
57
64
|
}
|
|
58
65
|
.tw-modal .tw-modal-dialog .tw-modal-content {
|
|
66
|
+
border-radius: 10px;
|
|
59
67
|
border-radius: var(--radius-small);
|
|
60
68
|
}
|
|
61
69
|
.tw-modal .tw-modal-dialog.tw-modal-md {
|
|
62
|
-
|
|
70
|
+
width: 540px;
|
|
63
71
|
}
|
|
64
72
|
}
|
|
65
|
-
@media (
|
|
73
|
+
@media (min-width: 768px) {
|
|
66
74
|
.tw-modal-dialog.tw-modal-lg {
|
|
67
|
-
|
|
75
|
+
width: 720px;
|
|
68
76
|
}
|
|
69
77
|
}
|
|
70
|
-
@media (
|
|
78
|
+
@media (min-width: 992px) {
|
|
71
79
|
.tw-modal-dialog.tw-modal-xl {
|
|
72
|
-
|
|
80
|
+
width: 1000px;
|
|
73
81
|
}
|
|
74
82
|
}
|
|
75
83
|
/* Internet explorer hack */
|
|
@@ -78,10 +86,10 @@
|
|
|
78
86
|
/* stylelint-disable selector-no-vendor-prefix, selector-type-no-unknown */
|
|
79
87
|
_:-ms-fullscreen,
|
|
80
88
|
:root .tw-modal {
|
|
81
|
-
|
|
89
|
+
height: 100%;
|
|
82
90
|
}
|
|
83
91
|
_:-ms-fullscreen .tw-modal-dialog,
|
|
84
92
|
:root .tw-modal .tw-modal-dialog {
|
|
85
|
-
|
|
93
|
+
height: 100%;
|
|
86
94
|
}
|
|
87
95
|
}
|
|
@@ -2,26 +2,31 @@
|
|
|
2
2
|
display: flex;
|
|
3
3
|
}
|
|
4
4
|
.tw-money-input .tw-money-input__fixed-currency {
|
|
5
|
-
padding-
|
|
5
|
+
padding-left: 0 !important;
|
|
6
6
|
}
|
|
7
7
|
[dir="rtl"] .tw-money-input .tw-money-input__fixed-currency {
|
|
8
|
-
padding-
|
|
9
|
-
padding-
|
|
8
|
+
padding-right: 0 !important;
|
|
9
|
+
padding-left: 0 !important;
|
|
10
|
+
padding-left: initial !important;
|
|
10
11
|
}
|
|
11
12
|
.tw-money-input .tw-money-input__fixed-currency .np-text-title-subsection {
|
|
13
|
+
color: #768e9c;
|
|
12
14
|
color: var(--color-content-tertiary);
|
|
15
|
+
font-weight: 600;
|
|
13
16
|
font-weight: var(--font-weight-semi-bold);
|
|
14
17
|
}
|
|
15
18
|
.tw-money-input.input-group-sm .form-control {
|
|
16
|
-
min-
|
|
19
|
+
min-height: 34px;
|
|
17
20
|
}
|
|
18
21
|
.tw-money-input.input-group-sm .np-text-title-subsection {
|
|
22
|
+
font-size: 0.875rem;
|
|
19
23
|
font-size: var(--font-size-14);
|
|
20
24
|
}
|
|
21
25
|
.tw-money-input.input-group-md .form-control {
|
|
22
|
-
min-
|
|
26
|
+
min-height: 53px;
|
|
23
27
|
}
|
|
24
28
|
.tw-money-input.input-group-md .np-text-title-subsection {
|
|
29
|
+
font-size: 1rem;
|
|
25
30
|
font-size: var(--font-size-16);
|
|
26
31
|
}
|
|
27
32
|
.tw-money-input .input-group-addon {
|
|
@@ -31,34 +36,39 @@
|
|
|
31
36
|
display: flex;
|
|
32
37
|
align-items: center;
|
|
33
38
|
flex-shrink: 0;
|
|
34
|
-
|
|
39
|
+
width: auto;
|
|
35
40
|
}
|
|
36
41
|
.tw-money-input .input-group-addon:not(.amount-currency-select-btn):not(.tw-money-input__fixed-currency):not(:has(~ .tw-money-input__fixed-currency)) {
|
|
37
|
-
padding-
|
|
42
|
+
padding-right: 0 !important;
|
|
38
43
|
}
|
|
39
44
|
[dir="rtl"] .tw-money-input .input-group-addon:not(.amount-currency-select-btn):not(.tw-money-input__fixed-currency):not(:has(~ .tw-money-input__fixed-currency)) {
|
|
40
|
-
padding-
|
|
41
|
-
padding-
|
|
45
|
+
padding-left: 0 !important;
|
|
46
|
+
padding-right: 0 !important;
|
|
47
|
+
padding-right: initial !important;
|
|
42
48
|
}
|
|
43
49
|
.tw-money-input .amount-currency-select-btn {
|
|
44
50
|
flex-shrink: 0;
|
|
45
|
-
|
|
51
|
+
width: auto;
|
|
46
52
|
line-height: normal;
|
|
47
53
|
}
|
|
48
54
|
.tw-money-input .np-button-input {
|
|
49
|
-
border-
|
|
50
|
-
border-
|
|
55
|
+
border-top-right-radius: 10px !important;
|
|
56
|
+
border-top-right-radius: var(--radius-small) !important;
|
|
57
|
+
border-bottom-right-radius: 10px !important;
|
|
58
|
+
border-bottom-right-radius: var(--radius-small) !important;
|
|
51
59
|
}
|
|
52
|
-
.tw-money-input .np-button-input:not(.disabled
|
|
60
|
+
.tw-money-input .np-button-input:not(.disabled):not(:disabled):focus-visible {
|
|
61
|
+
border-radius: 10px !important;
|
|
53
62
|
border-radius: var(--radius-small) !important;
|
|
54
63
|
}
|
|
55
64
|
.tw-money-input .np-button-input,
|
|
56
65
|
.tw-money-input .np-button-input:active,
|
|
57
|
-
.tw-money-input .np-button-input:not(.disabled
|
|
66
|
+
.tw-money-input .np-button-input:not(.disabled):not(:disabled):hover,
|
|
58
67
|
.has-error .tw-money-input .np-button-input,
|
|
59
|
-
.has-error .tw-money-input .np-button-input:not(.disabled
|
|
68
|
+
.has-error .tw-money-input .np-button-input:not(.disabled):not(:disabled):hover {
|
|
60
69
|
box-shadow: none;
|
|
61
70
|
}
|
|
62
|
-
.tw-money-input:not(.disabled
|
|
71
|
+
.tw-money-input:not(.disabled):not(:disabled):not(.np-button-input:active):has(.np-button-input:focus-visible) {
|
|
72
|
+
box-shadow: inset 0 0 0 1px #c9cbce !important;
|
|
63
73
|
box-shadow: inset 0 0 0 1px var(--color-interactive-secondary) !important;
|
|
64
74
|
}
|
|
@@ -1,33 +1,37 @@
|
|
|
1
1
|
.np-navigation-option {
|
|
2
|
+
-webkit-text-decoration: none;
|
|
2
3
|
text-decoration: none;
|
|
3
4
|
background-color: transparent;
|
|
4
|
-
text-align:
|
|
5
|
-
|
|
5
|
+
text-align: left;
|
|
6
|
+
width: 100%;
|
|
6
7
|
--ring-outline-offset: 0;
|
|
7
8
|
}
|
|
8
9
|
[dir="rtl"] .np-navigation-option {
|
|
9
|
-
border-
|
|
10
|
+
border-right: 0 ;
|
|
10
11
|
}
|
|
11
12
|
html:not([dir="rtl"]) .np-navigation-option {
|
|
12
|
-
border-
|
|
13
|
+
border-left: 0 ;
|
|
13
14
|
}
|
|
14
15
|
[dir="rtl"] .np-navigation-option {
|
|
15
|
-
border-
|
|
16
|
+
border-left: 0 ;
|
|
16
17
|
}
|
|
17
18
|
html:not([dir="rtl"]) .np-navigation-option {
|
|
18
|
-
border-
|
|
19
|
+
border-right: 0 ;
|
|
19
20
|
}
|
|
20
21
|
[dir="rtl"] .np-navigation-option {
|
|
21
|
-
text-align:
|
|
22
|
+
text-align: right;
|
|
22
23
|
}
|
|
23
24
|
.np-navigation-option:hover,
|
|
24
25
|
.np-navigation-option:focus {
|
|
26
|
+
-webkit-text-decoration: none;
|
|
25
27
|
text-decoration: none;
|
|
26
28
|
}
|
|
27
|
-
.np-navigation-option:not(.disabled
|
|
29
|
+
.np-navigation-option:not(.disabled):not(:disabled):hover .tw-avatar__content {
|
|
30
|
+
background-color: #ffffff;
|
|
28
31
|
background-color: var(--color-background-screen);
|
|
29
32
|
}
|
|
30
|
-
.np-theme-personal .np-navigation-option:not(.disabled
|
|
33
|
+
.np-theme-personal .np-navigation-option:not(.disabled):not(:disabled):hover .tw-avatar__content {
|
|
34
|
+
background-color: rgba(134,167,189,0.10196);
|
|
31
35
|
background-color: var(--color-background-neutral);
|
|
32
36
|
}
|
|
33
37
|
.np-navigation-option .circle {
|
|
@@ -41,6 +45,7 @@ html:not([dir="rtl"]) .np-navigation-option {
|
|
|
41
45
|
outline-offset: var(--ring-outline-offset);
|
|
42
46
|
}
|
|
43
47
|
.np-theme-personal .np-navigation-option {
|
|
48
|
+
-webkit-text-decoration: none;
|
|
44
49
|
text-decoration: none;
|
|
45
50
|
}
|
|
46
51
|
.np-navigation-option__chevron {
|
|
@@ -49,13 +54,16 @@ html:not([dir="rtl"]) .np-navigation-option {
|
|
|
49
54
|
outline: none;
|
|
50
55
|
background: none;
|
|
51
56
|
}
|
|
52
|
-
.np-navigation-option__chevron:not(.disabled
|
|
53
|
-
.np-navigation-option__chevron:not(.disabled
|
|
57
|
+
.np-navigation-option__chevron:not(.disabled):not(:disabled):hover,
|
|
58
|
+
.np-navigation-option__chevron:not(.disabled):not(:disabled):focus {
|
|
59
|
+
color: #0084b3;
|
|
54
60
|
color: var(--color-content-accent-hover);
|
|
55
61
|
}
|
|
56
|
-
.np-navigation-option__chevron:not(.disabled
|
|
62
|
+
.np-navigation-option__chevron:not(.disabled):not(:disabled):active {
|
|
63
|
+
color: #0077a5;
|
|
57
64
|
color: var(--color-content-accent-active);
|
|
58
65
|
}
|
|
59
66
|
.np-theme-personal .np-option__container-aligned {
|
|
60
|
-
|
|
67
|
+
width: calc(100% + 2 * 16px);
|
|
68
|
+
width: calc(100% + 2 * var(--space-content-horizontal));
|
|
61
69
|
}
|
|
@@ -1,12 +1,13 @@
|
|
|
1
1
|
.np-navigation-options-list {
|
|
2
2
|
list-style-type: none;
|
|
3
|
-
padding-
|
|
4
|
-
margin-
|
|
3
|
+
padding-left: 0;
|
|
4
|
+
margin-bottom: 0;
|
|
5
5
|
}
|
|
6
6
|
[dir="rtl"] .np-navigation-options-list {
|
|
7
|
-
padding-
|
|
8
|
-
padding-
|
|
7
|
+
padding-right: 0;
|
|
8
|
+
padding-left: 0;
|
|
9
|
+
padding-left: initial;
|
|
9
10
|
}
|
|
10
11
|
.np-navigation-options-list__item + .np-navigation-options-list__item {
|
|
11
|
-
margin-
|
|
12
|
+
margin-top: -1px;
|
|
12
13
|
}
|
|
@@ -14,155 +14,160 @@
|
|
|
14
14
|
--nudge-control-width: var(--size-24);
|
|
15
15
|
--nudge-control-background-color: var(--color-background-neutral);
|
|
16
16
|
align-items: stretch;
|
|
17
|
+
background-color: rgba(134,167,189,0.10196);
|
|
17
18
|
background-color: var(--nudge-background-color);
|
|
19
|
+
border-radius: 16px;
|
|
18
20
|
border-radius: var(--nudge-border-radius);
|
|
19
21
|
display: flex;
|
|
20
22
|
flex: 1;
|
|
23
|
+
gap: 16px;
|
|
21
24
|
gap: var(--nudge-flex-gap);
|
|
22
|
-
min-
|
|
25
|
+
min-height: 106px;
|
|
26
|
+
min-height: var(--nudge-min-height);
|
|
27
|
+
padding: 0;
|
|
23
28
|
padding: var(--nudge-padding);
|
|
24
29
|
position: relative;
|
|
25
30
|
overflow: hidden;
|
|
26
|
-
|
|
31
|
+
width: 100%;
|
|
27
32
|
}
|
|
28
33
|
.wds-nudge-media {
|
|
29
34
|
flex-basis: var(--nudge-media-width);
|
|
30
|
-
max-
|
|
35
|
+
max-width: var(--nudge-media-width);
|
|
31
36
|
}
|
|
32
37
|
.wds-nudge-media-globe {
|
|
33
|
-
margin-
|
|
34
|
-
margin-
|
|
38
|
+
margin-left: -76px;
|
|
39
|
+
margin-top: -5px;
|
|
35
40
|
position: absolute;
|
|
36
|
-
|
|
41
|
+
width: 161px;
|
|
37
42
|
}
|
|
38
43
|
[dir="rtl"] .wds-nudge-media-globe {
|
|
39
44
|
transform: scaleX(-1);
|
|
40
|
-
margin-
|
|
41
|
-
margin-
|
|
45
|
+
margin-left: 0;
|
|
46
|
+
margin-right: -76px;
|
|
42
47
|
}
|
|
43
48
|
.wds-nudge-media-lock {
|
|
44
|
-
margin-
|
|
45
|
-
margin-
|
|
49
|
+
margin-left: -11px;
|
|
50
|
+
margin-top: 18px;
|
|
46
51
|
position: absolute;
|
|
47
|
-
|
|
52
|
+
width: 104px;
|
|
48
53
|
transform: rotate(-14.86deg);
|
|
49
54
|
}
|
|
50
55
|
[dir="rtl"] .wds-nudge-media-lock {
|
|
51
56
|
transform: scaleX(-1);
|
|
52
|
-
margin-
|
|
53
|
-
margin-
|
|
57
|
+
margin-left: 0;
|
|
58
|
+
margin-right: -11px;
|
|
54
59
|
}
|
|
55
60
|
.wds-nudge-media-wallet {
|
|
56
|
-
margin-
|
|
57
|
-
margin-
|
|
61
|
+
margin-left: -15px;
|
|
62
|
+
margin-top: 18px;
|
|
58
63
|
position: absolute;
|
|
59
|
-
|
|
64
|
+
width: 107px;
|
|
60
65
|
}
|
|
61
66
|
[dir="rtl"] .wds-nudge-media-wallet {
|
|
62
67
|
transform: scaleX(-1);
|
|
63
|
-
margin-
|
|
64
|
-
margin-
|
|
68
|
+
margin-left: 0;
|
|
69
|
+
margin-right: -15px;
|
|
65
70
|
}
|
|
66
71
|
.wds-nudge-media-gear {
|
|
67
|
-
margin-
|
|
68
|
-
margin-
|
|
72
|
+
margin-left: -18px;
|
|
73
|
+
margin-top: 19px;
|
|
69
74
|
position: absolute;
|
|
70
|
-
|
|
75
|
+
width: 111px;
|
|
71
76
|
}
|
|
72
77
|
[dir="rtl"] .wds-nudge-media-gear {
|
|
73
78
|
transform: scaleX(-1);
|
|
74
|
-
margin-
|
|
75
|
-
margin-
|
|
79
|
+
margin-left: 0;
|
|
80
|
+
margin-right: -18px;
|
|
76
81
|
}
|
|
77
82
|
.wds-nudge-media-invite-letter {
|
|
78
|
-
margin-
|
|
79
|
-
margin-
|
|
83
|
+
margin-left: -17px;
|
|
84
|
+
margin-top: -2px;
|
|
80
85
|
position: absolute;
|
|
81
|
-
|
|
86
|
+
width: 105px;
|
|
82
87
|
}
|
|
83
88
|
[dir="rtl"] .wds-nudge-media-invite-letter {
|
|
84
89
|
transform: scaleX(-1);
|
|
85
|
-
margin-
|
|
86
|
-
margin-
|
|
90
|
+
margin-left: 0;
|
|
91
|
+
margin-right: -17px;
|
|
87
92
|
}
|
|
88
93
|
.wds-nudge-media-personal-card,
|
|
89
94
|
.wds-nudge-media-business-card {
|
|
90
|
-
margin-
|
|
91
|
-
margin-
|
|
95
|
+
margin-left: -15px;
|
|
96
|
+
margin-top: 2px;
|
|
92
97
|
position: absolute;
|
|
93
|
-
|
|
98
|
+
width: 104px;
|
|
94
99
|
}
|
|
95
100
|
[dir="rtl"] .wds-nudge-media-personal-card,
|
|
96
101
|
[dir="rtl"] .wds-nudge-media-business-card {
|
|
97
102
|
transform: scaleX(-1);
|
|
98
|
-
margin-
|
|
99
|
-
margin-
|
|
103
|
+
margin-left: 0;
|
|
104
|
+
margin-right: -15px;
|
|
100
105
|
}
|
|
101
106
|
.wds-nudge-media-heart {
|
|
102
|
-
margin-
|
|
103
|
-
margin-
|
|
107
|
+
margin-left: -7px;
|
|
108
|
+
margin-top: 11px;
|
|
104
109
|
position: absolute;
|
|
105
|
-
|
|
110
|
+
width: 95px;
|
|
106
111
|
}
|
|
107
112
|
[dir="rtl"] .wds-nudge-media-heart {
|
|
108
113
|
transform: scaleX(-1);
|
|
109
|
-
margin-
|
|
110
|
-
margin-
|
|
114
|
+
margin-left: 0;
|
|
115
|
+
margin-right: -7px;
|
|
111
116
|
}
|
|
112
117
|
.wds-nudge-media-multi-currency {
|
|
113
|
-
margin-
|
|
114
|
-
margin-
|
|
118
|
+
margin-left: -30px;
|
|
119
|
+
margin-top: 1px;
|
|
115
120
|
position: absolute;
|
|
116
|
-
|
|
121
|
+
width: 131px;
|
|
117
122
|
}
|
|
118
123
|
[dir="rtl"] .wds-nudge-media-multi-currency {
|
|
119
124
|
transform: scaleX(-1);
|
|
120
|
-
margin-
|
|
121
|
-
margin-
|
|
125
|
+
margin-left: 0;
|
|
126
|
+
margin-right: -30px;
|
|
122
127
|
}
|
|
123
128
|
.wds-nudge-media-shopping-bag {
|
|
124
|
-
margin-
|
|
125
|
-
margin-
|
|
129
|
+
margin-left: -9px;
|
|
130
|
+
margin-top: 14px;
|
|
126
131
|
position: absolute;
|
|
127
|
-
|
|
132
|
+
width: 116px;
|
|
128
133
|
}
|
|
129
134
|
[dir="rtl"] .wds-nudge-media-shopping-bag {
|
|
130
135
|
transform: scaleX(-1);
|
|
131
|
-
margin-
|
|
132
|
-
margin-
|
|
136
|
+
margin-left: 0;
|
|
137
|
+
margin-right: -9px;
|
|
133
138
|
}
|
|
134
139
|
.wds-nudge-media-flower {
|
|
135
|
-
margin-
|
|
136
|
-
margin-
|
|
140
|
+
margin-left: -24px;
|
|
141
|
+
margin-top: 11px;
|
|
137
142
|
position: absolute;
|
|
138
|
-
|
|
143
|
+
width: 156px;
|
|
139
144
|
}
|
|
140
145
|
[dir="rtl"] .wds-nudge-media-flower {
|
|
141
146
|
transform: scaleX(-1);
|
|
142
|
-
margin-
|
|
143
|
-
margin-
|
|
147
|
+
margin-left: 0;
|
|
148
|
+
margin-right: -24px;
|
|
144
149
|
}
|
|
145
150
|
.wds-nudge-media-backpack {
|
|
146
|
-
margin-
|
|
147
|
-
margin-
|
|
151
|
+
margin-left: -16px;
|
|
152
|
+
margin-top: 6px;
|
|
148
153
|
position: absolute;
|
|
149
|
-
|
|
154
|
+
width: 123px;
|
|
150
155
|
}
|
|
151
156
|
[dir="rtl"] .wds-nudge-media-backpack {
|
|
152
157
|
transform: scaleX(-1);
|
|
153
|
-
margin-
|
|
154
|
-
margin-
|
|
158
|
+
margin-left: 0;
|
|
159
|
+
margin-right: -16px;
|
|
155
160
|
}
|
|
156
161
|
.wds-nudge-media-gift-box {
|
|
157
|
-
margin-
|
|
158
|
-
margin-
|
|
162
|
+
margin-left: -22px;
|
|
163
|
+
margin-top: 6px;
|
|
159
164
|
position: absolute;
|
|
160
|
-
|
|
165
|
+
width: 129px;
|
|
161
166
|
}
|
|
162
167
|
[dir="rtl"] .wds-nudge-media-gift-box {
|
|
163
168
|
transform: scaleX(-1);
|
|
164
|
-
margin-
|
|
165
|
-
margin-
|
|
169
|
+
margin-left: 0;
|
|
170
|
+
margin-right: -22px;
|
|
166
171
|
}
|
|
167
172
|
.wds-nudge-container {
|
|
168
173
|
align-items: stretch;
|
|
@@ -170,16 +175,14 @@
|
|
|
170
175
|
flex: 1;
|
|
171
176
|
gap: var(--nudge-flex-gap);
|
|
172
177
|
justify-content: space-between;
|
|
173
|
-
padding
|
|
174
|
-
|
|
175
|
-
inline-size: 100%;
|
|
178
|
+
padding: var(--nudge-container-padding) var(--nudge-container-padding) var(--nudge-container-padding) 0;
|
|
179
|
+
width: 100%;
|
|
176
180
|
}
|
|
177
181
|
[dir="rtl"] .wds-nudge-container {
|
|
178
|
-
padding
|
|
179
|
-
padding-inline: 0 var(--nudge-container-padding);
|
|
182
|
+
padding: var(--nudge-container-padding) 0 var(--nudge-container-padding) var(--nudge-container-padding);
|
|
180
183
|
}
|
|
181
184
|
.np-theme-personal .wds-nudge-container:first-child {
|
|
182
|
-
padding-
|
|
185
|
+
padding-left: var(--nudge-flex-gap);
|
|
183
186
|
}
|
|
184
187
|
.wds-nudge-container .wds-nudge-content {
|
|
185
188
|
align-self: var(--nudge-content-flex-alignment);
|
|
@@ -194,7 +197,10 @@
|
|
|
194
197
|
margin: 0;
|
|
195
198
|
}
|
|
196
199
|
.wds-nudge-container .wds-nudge-content .wds-nudge-link {
|
|
200
|
+
font-weight: 600;
|
|
197
201
|
font-weight: var(--font-weight-semi-bold);
|
|
198
|
-
margin-
|
|
199
|
-
|
|
202
|
+
margin-top: 4px;
|
|
203
|
+
margin-top: var(--size-4);
|
|
204
|
+
-webkit-text-decoration: var(--nudge-link-text-decoration);
|
|
205
|
+
text-decoration: var(--nudge-link-text-decoration);
|
|
200
206
|
}
|
|
@@ -1,11 +1,12 @@
|
|
|
1
1
|
.np-overlay-header .np-overlay-header__content {
|
|
2
|
-
min-
|
|
3
|
-
|
|
4
|
-
min-
|
|
5
|
-
max-
|
|
2
|
+
min-height: 97px;
|
|
3
|
+
width: 100%;
|
|
4
|
+
min-width: 320px;
|
|
5
|
+
max-width: 1164px;
|
|
6
6
|
}
|
|
7
7
|
.np-theme-personal .np-overlay-header {
|
|
8
|
-
border-
|
|
8
|
+
border-bottom: 1px solid rgba(0,0,0,0.10196);
|
|
9
|
+
border-bottom: 1px solid var(--color-border-neutral);
|
|
9
10
|
}
|
|
10
11
|
.np-theme-personal--forest-green .np-overlay-header .np-flow-header__left path,
|
|
11
12
|
.np-theme-personal--bright-green .np-overlay-header .np-flow-header__left path,
|
|
@@ -2,18 +2,21 @@
|
|
|
2
2
|
display: flex;
|
|
3
3
|
}
|
|
4
4
|
.tw-telephone .tw-telephone__number-input {
|
|
5
|
-
margin-
|
|
5
|
+
margin-left: 12px;
|
|
6
|
+
margin-left: var(--size-12);
|
|
6
7
|
}
|
|
7
8
|
[dir="rtl"] .tw-telephone .tw-telephone__number-input {
|
|
8
|
-
margin-
|
|
9
|
-
margin-
|
|
9
|
+
margin-right: 12px;
|
|
10
|
+
margin-right: var(--size-12);
|
|
11
|
+
margin-left: 0;
|
|
12
|
+
margin-left: initial;
|
|
10
13
|
}
|
|
11
14
|
.tw-telephone__country-select {
|
|
12
15
|
flex-basis: 120px;
|
|
13
16
|
flex-shrink: 0;
|
|
14
17
|
}
|
|
15
18
|
.tw-telephone__country-select .np-input-group {
|
|
16
|
-
|
|
19
|
+
width: 100%;
|
|
17
20
|
}
|
|
18
21
|
.tw-telephone__number-input {
|
|
19
22
|
flex: auto 1 1;
|
|
@@ -1,28 +1,37 @@
|
|
|
1
1
|
.np-theme-personal .np-popover__container {
|
|
2
|
+
border-radius: 16px;
|
|
2
3
|
border-radius: var(--radius-medium);
|
|
3
4
|
}
|
|
4
5
|
.np-popover__container .np-popover__content {
|
|
6
|
+
color: #5d7079;
|
|
5
7
|
color: var(--color-content-secondary);
|
|
8
|
+
font-size: 0.875rem;
|
|
6
9
|
font-size: var(--font-size-14);
|
|
7
10
|
}
|
|
8
11
|
.np-popover__container .np-popover__content p:last-child {
|
|
9
|
-
margin-
|
|
12
|
+
margin-bottom: 0;
|
|
10
13
|
}
|
|
11
14
|
.np-popover__container.np-panel .np-popover__content {
|
|
12
|
-
padding
|
|
13
|
-
padding
|
|
14
|
-
max-
|
|
15
|
+
padding: 16px 24px;
|
|
16
|
+
padding: var(--size-16) var(--size-24);
|
|
17
|
+
max-width: 276px;
|
|
15
18
|
}
|
|
16
19
|
.np-theme-personal .np-popover__container.np-panel .np-popover__content {
|
|
20
|
+
padding: 24px;
|
|
17
21
|
padding: var(--size-24);
|
|
18
22
|
}
|
|
19
23
|
.np-popover__container.np-bottom-sheet .np-popover__title {
|
|
20
24
|
margin: 0;
|
|
25
|
+
color: #37517e;
|
|
21
26
|
color: var(--color-content-primary);
|
|
27
|
+
line-height: 1.2;
|
|
22
28
|
line-height: var(--line-height-title);
|
|
23
29
|
letter-spacing: 0;
|
|
24
|
-
margin-
|
|
30
|
+
margin-bottom: 0;
|
|
31
|
+
margin-bottom: initial;
|
|
32
|
+
font-weight: 600;
|
|
25
33
|
font-weight: var(--font-weight-semi-bold);
|
|
34
|
+
font-size: 1.625rem;
|
|
26
35
|
font-size: var(--font-size-26);
|
|
27
36
|
letter-spacing: -0.02em;
|
|
28
37
|
line-height: 122%;
|
|
@@ -32,12 +41,12 @@
|
|
|
32
41
|
hyphens: auto;
|
|
33
42
|
hyphenate-limit-chars: 7 3;
|
|
34
43
|
}
|
|
35
|
-
@media (
|
|
44
|
+
@media (min-width: 768px) {
|
|
36
45
|
.np-popover__container.np-bottom-sheet .np-popover__title {
|
|
37
46
|
hyphenate-limit-chars: 8 3;
|
|
38
47
|
}
|
|
39
48
|
}
|
|
40
|
-
@media (
|
|
49
|
+
@media (min-width: 992px) {
|
|
41
50
|
.np-popover__container.np-bottom-sheet .np-popover__title {
|
|
42
51
|
hyphenate-limit-chars: 10 4 3;
|
|
43
52
|
}
|
|
@@ -49,7 +58,7 @@
|
|
|
49
58
|
-webkit-hyphenate-limit-before: 3;
|
|
50
59
|
-webkit-hyphenate-limit-after: 3;
|
|
51
60
|
}
|
|
52
|
-
@media (
|
|
61
|
+
@media (min-width: 992px) {
|
|
53
62
|
.np-popover__container.np-bottom-sheet .np-popover__title {
|
|
54
63
|
-webkit-hyphenate-limit-before: 4;
|
|
55
64
|
}
|
|
@@ -58,9 +67,10 @@
|
|
|
58
67
|
.np-popover__container.np-bottom-sheet .np-popover__title + p,
|
|
59
68
|
.np-popover__container.np-bottom-sheet .np-popover__title + ul:not(.list-unstyled),
|
|
60
69
|
.np-popover__container.np-bottom-sheet .np-popover__title + ol:not(.list-unstyled) {
|
|
61
|
-
margin-
|
|
70
|
+
margin-top: 8px;
|
|
71
|
+
margin-top: var(--size-8);
|
|
62
72
|
}
|
|
63
73
|
.np-popover__container.np-bottom-sheet .np-popover__content {
|
|
64
|
-
padding
|
|
65
|
-
padding
|
|
74
|
+
padding: 32px 24px;
|
|
75
|
+
padding: var(--size-32) var(--size-24);
|
|
66
76
|
}
|