@transferwise/components 46.0.8 → 46.1.1
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/README.md +3 -5
- package/build/index.esm.js +8 -9
- package/build/index.esm.js.map +1 -1
- package/build/index.js +8 -9
- package/build/index.js.map +1 -1
- package/build/main.css +5481 -1
- package/build/styles/accordion/Accordion.css +60 -1
- package/build/styles/actionButton/ActionButton.css +53 -1
- package/build/styles/avatar/Avatar.css +205 -1
- package/build/styles/badge/Badge.css +68 -1
- package/build/styles/button/Button.css +20 -1
- package/build/styles/card/Card.css +100 -1
- package/build/styles/checkboxButton/CheckboxButton.css +24 -1
- package/build/styles/chips/Chip.css +190 -1
- package/build/styles/circularButton/CircularButton.css +211 -1
- package/build/styles/common/Option/Option.css +100 -1
- package/build/styles/common/RadioButton/RadioButton.css +4 -1
- package/build/styles/common/bottomSheet/BottomSheet.css +53 -1
- package/build/styles/common/card/Card.css +53 -1
- package/build/styles/common/closeButton/CloseButton.css +79 -1
- package/build/styles/common/panel/Panel.css +73 -1
- package/build/styles/criticalBanner/CriticalCommsBanner.css +77 -1
- package/build/styles/dateInput/DateInput.css +3 -1
- package/build/styles/dateLookup/DateLookup.css +98 -1
- package/build/styles/dateLookup/dateTrigger/DateTrigger.css +68 -1
- package/build/styles/decision/Decision.css +93 -1
- package/build/styles/definitionList/DefinitionList.css +53 -1
- package/build/styles/dimmer/Dimmer.css +70 -1
- package/build/styles/drawer/Drawer.css +100 -1
- package/build/styles/dropFade/DropFade.css +19 -1
- package/build/styles/dynamicFieldDefinitionList/FormattedValue/FormattedValue.css +5 -1
- package/build/styles/emphasis/Emphasis.css +31 -1
- package/build/styles/flowNavigation/FlowNavigation.css +50 -1
- package/build/styles/flowNavigation/animatedLabel/AnimatedLabel.css +21 -1
- package/build/styles/flowNavigation/backButton/BackButton.css +32 -1
- package/build/styles/header/Header.css +28 -1
- package/build/styles/image/Image.css +13 -1
- package/build/styles/info/Info.css +32 -1
- package/build/styles/inputs/Input.css +106 -1
- package/build/styles/inputs/InputGroup.css +62 -1
- package/build/styles/inputs/SelectInput.css +374 -1
- package/build/styles/inputs/TextArea.css +110 -1
- package/build/styles/instructionsList/InstructionsList.css +22 -1
- package/build/styles/link/Link.css +15 -1
- package/build/styles/listItem/ListItem.css +6 -1
- package/build/styles/loader/Loader.css +313 -1
- package/build/styles/logo/Logo.css +26 -1
- package/build/styles/main.css +5481 -1
- package/build/styles/modal/Modal.css +155 -1
- package/build/styles/moneyInput/MoneyInput.css +66 -1
- package/build/styles/navigationOption/NavigationOption.css +69 -1
- package/build/styles/navigationOptionsList/NavigationOptionsList.css +13 -1
- package/build/styles/nudge/Nudge.css +182 -1
- package/build/styles/overlayHeader/OverlayHeader.css +15 -1
- package/build/styles/phoneNumberInput/PhoneNumberInput.css +23 -1
- package/build/styles/popover/Popover.css +43 -1
- package/build/styles/progress/Progress.css +43 -1
- package/build/styles/progressBar/ProgressBar.css +14 -1
- package/build/styles/promoCard/PromoCard.css +186 -1
- package/build/styles/section/Section.css +10 -1
- package/build/styles/select/Select.css +309 -1
- package/build/styles/slidingPanel/SlidingPanel.css +105 -1
- package/build/styles/snackbar/Snackbar.css +93 -1
- package/build/styles/statusIcon/StatusIcon.css +78 -1
- package/build/styles/stepper/Stepper.css +108 -1
- package/build/styles/summary/Summary.css +81 -1
- package/build/styles/switch/Switch.css +68 -1
- package/build/styles/tabs/Tabs.css +121 -1
- package/build/styles/tile/Tile.css +55 -1
- package/build/styles/tooltip/Tooltip.css +50 -1
- package/build/styles/typeahead/Typeahead.css +183 -1
- package/build/styles/typeahead/typeaheadOption/TypeaheadOption.css +9 -1
- package/build/styles/upload/Upload.css +15 -1
- package/build/styles/uploadInput/UploadInput.css +71 -1
- package/build/styles/uploadInput/uploadButton/UploadButton.css +49 -1
- package/build/styles/uploadInput/uploadItem/UploadItem.css +74 -1
- package/build/types/dateLookup/DateLookup.d.ts +1 -1
- package/build/types/select/option/Option.d.ts.map +1 -1
- package/build/types/typeahead/typeaheadOption/TypeaheadOption.d.ts.map +1 -1
- package/build/types/typeahead/util/highlight.d.ts +1 -1
- package/build/types/typeahead/util/highlight.d.ts.map +1 -1
- package/package.json +4 -10
- package/src/accordion/Accordion.css +60 -1
- package/src/actionButton/ActionButton.css +53 -1
- package/src/avatar/Avatar.css +205 -1
- package/src/badge/Badge.css +68 -1
- package/src/button/Button.css +20 -1
- package/src/card/Card.css +100 -1
- package/src/checkboxButton/CheckboxButton.css +24 -1
- package/src/chips/Chip.css +190 -1
- package/src/circularButton/CircularButton.css +211 -1
- package/src/common/Option/Option.css +100 -1
- package/src/common/RadioButton/RadioButton.css +4 -1
- package/src/common/bottomSheet/BottomSheet.css +53 -1
- package/src/common/card/Card.css +53 -1
- package/src/common/closeButton/CloseButton.css +79 -1
- package/src/common/panel/Panel.css +73 -1
- package/src/criticalBanner/CriticalCommsBanner.css +77 -1
- package/src/dateInput/DateInput.css +3 -1
- package/src/dateLookup/DateLookup.css +98 -1
- package/src/dateLookup/DateLookup.js +2 -1
- package/src/dateLookup/DateLookup.proptypes.spec.js +28 -0
- package/src/dateLookup/DateLookup.story.js +12 -8
- package/src/dateLookup/dateTrigger/DateTrigger.css +68 -1
- package/src/decision/Decision.css +93 -1
- package/src/definitionList/DefinitionList.css +53 -1
- package/src/dimmer/Dimmer.css +70 -1
- package/src/drawer/Drawer.css +100 -1
- package/src/dropFade/DropFade.css +19 -1
- package/src/dynamicFieldDefinitionList/FormattedValue/FormattedValue.css +5 -1
- package/src/emphasis/Emphasis.css +31 -1
- package/src/flowNavigation/FlowNavigation.css +50 -1
- package/src/flowNavigation/animatedLabel/AnimatedLabel.css +21 -1
- package/src/flowNavigation/backButton/BackButton.css +32 -1
- package/src/header/Header.css +28 -1
- package/src/image/Image.css +13 -1
- package/src/info/Info.css +32 -1
- package/src/inputs/Input.css +106 -1
- package/src/inputs/InputGroup.css +62 -1
- package/src/inputs/SelectInput.css +374 -1
- package/src/inputs/TextArea.css +110 -1
- package/src/instructionsList/InstructionsList.css +22 -1
- package/src/link/Link.css +15 -1
- package/src/listItem/ListItem.css +6 -1
- package/src/loader/Loader.css +313 -1
- package/src/logo/Logo.css +26 -1
- package/src/main.css +5481 -1
- package/src/modal/Modal.css +155 -1
- package/src/moneyInput/MoneyInput.css +66 -1
- package/src/navigationOption/NavigationOption.css +69 -1
- package/src/navigationOptionsList/NavigationOptionsList.css +13 -1
- package/src/nudge/Nudge.css +182 -1
- package/src/overlayHeader/OverlayHeader.css +15 -1
- package/src/phoneNumberInput/PhoneNumberInput.css +23 -1
- package/src/popover/Popover.css +43 -1
- package/src/progress/Progress.css +43 -1
- package/src/progressBar/ProgressBar.css +14 -1
- package/src/promoCard/PromoCard.css +186 -1
- package/src/section/Section.css +10 -1
- package/src/select/Select.css +309 -1
- package/src/select/Select.less +1 -8
- package/src/select/option/Option.spec.js +3 -21
- package/src/select/option/Option.tsx +2 -7
- package/src/slidingPanel/SlidingPanel.css +105 -1
- package/src/snackbar/Snackbar.css +93 -1
- package/src/statusIcon/StatusIcon.css +78 -1
- package/src/stepper/Stepper.css +108 -1
- package/src/summary/Summary.css +81 -1
- package/src/switch/Switch.css +68 -1
- package/src/tabs/Tabs.css +121 -1
- package/src/tile/Tile.css +55 -1
- package/src/tooltip/Tooltip.css +50 -1
- package/src/typeahead/Typeahead.css +183 -1
- package/src/typeahead/typeaheadOption/TypeaheadOption.css +9 -1
- package/src/typeahead/typeaheadOption/TypeaheadOption.js +5 -3
- package/src/typeahead/util/highlight.js +1 -1
- package/src/upload/Upload.css +15 -1
- package/src/uploadInput/UploadInput.css +71 -1
- package/src/uploadInput/uploadButton/UploadButton.css +49 -1
- package/src/uploadInput/uploadItem/UploadItem.css +74 -1
|
@@ -1 +1,155 @@
|
|
|
1
|
-
.tw-modal--scrollable
|
|
1
|
+
.tw-modal--scrollable {
|
|
2
|
+
max-height: 100%;
|
|
3
|
+
/* mobile viewport bug fix */
|
|
4
|
+
max-height: -webkit-fill-available;
|
|
5
|
+
}
|
|
6
|
+
.tw-modal .tw-modal-dialog {
|
|
7
|
+
transition: transform 0.3s ease-out;
|
|
8
|
+
transform: translateY(-25%);
|
|
9
|
+
box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
|
|
10
|
+
background: #ffffff;
|
|
11
|
+
background: var(--color-background-elevated);
|
|
12
|
+
}
|
|
13
|
+
.np-theme-personal .tw-modal .tw-modal-dialog {
|
|
14
|
+
background: #ffffff;
|
|
15
|
+
background: var(--color-background-elevated);
|
|
16
|
+
box-shadow: none;
|
|
17
|
+
border-radius: 24px;
|
|
18
|
+
border-radius: var(--radius-large);
|
|
19
|
+
}
|
|
20
|
+
.tw-modal.in .tw-modal-dialog {
|
|
21
|
+
transform: translate(0);
|
|
22
|
+
}
|
|
23
|
+
.tw-modal .tw-modal-content {
|
|
24
|
+
width: 100%;
|
|
25
|
+
}
|
|
26
|
+
.tw-modal .tw-modal-content .tw-modal-body {
|
|
27
|
+
flex: 1;
|
|
28
|
+
word-break: break-word;
|
|
29
|
+
}
|
|
30
|
+
.tw-modal .tw-modal-content .tw-modal-body--scrollable {
|
|
31
|
+
overflow-y: auto;
|
|
32
|
+
}
|
|
33
|
+
.tw-modal .tw-modal-content .tw-modal-header {
|
|
34
|
+
box-shadow: inset 0 -1px 0 0 #e2e6e8;
|
|
35
|
+
}
|
|
36
|
+
.np-theme-personal .tw-modal .tw-modal-content .tw-modal-header {
|
|
37
|
+
box-shadow: inset 0 -1px 0 0 rgba(0,0,0,0.10196);
|
|
38
|
+
box-shadow: inset 0 -1px 0 0 var(--color-border-neutral);
|
|
39
|
+
}
|
|
40
|
+
.np-theme-personal .tw-modal .tw-modal-content .tw-modal-header .np-close-button {
|
|
41
|
+
margin: calc(8px * -1) calc(8px * -1) calc(8px * -1) 0;
|
|
42
|
+
margin: calc(var(--size-8) * -1) calc(var(--size-8) * -1) calc(var(--size-8) * -1) 0;
|
|
43
|
+
}
|
|
44
|
+
.tw-modal .tw-modal-content .tw-modal-header.modal--withoutborder {
|
|
45
|
+
box-shadow: none;
|
|
46
|
+
}
|
|
47
|
+
.tw-modal .tw-modal-content .tw-modal-header .tw-icon {
|
|
48
|
+
fill: #0097c7;
|
|
49
|
+
fill: var(--color-content-accent);
|
|
50
|
+
cursor: pointer;
|
|
51
|
+
display: block;
|
|
52
|
+
}
|
|
53
|
+
.tw-modal .tw-modal-content .tw-modal-header,
|
|
54
|
+
.tw-modal .tw-modal-content .tw-modal-footer,
|
|
55
|
+
.tw-modal .tw-modal-content .tw-modal-body {
|
|
56
|
+
padding: 16px;
|
|
57
|
+
padding: var(--size-16);
|
|
58
|
+
}
|
|
59
|
+
.tw-modal .tw-modal-content .tw-modal-title {
|
|
60
|
+
max-width: 85%;
|
|
61
|
+
}
|
|
62
|
+
.tw-modal .tw-modal-content .tw-modal-footer {
|
|
63
|
+
padding-top: 12px;
|
|
64
|
+
padding-top: var(--size-12);
|
|
65
|
+
padding-bottom: 12px;
|
|
66
|
+
padding-bottom: var(--size-12);
|
|
67
|
+
box-shadow: inset 0 1px 0 0 #e2e6e8;
|
|
68
|
+
}
|
|
69
|
+
.np-theme-personal .tw-modal .tw-modal-content .tw-modal-footer {
|
|
70
|
+
border-top: 1px solid rgba(0,0,0,0.10196);
|
|
71
|
+
border-top: 1px solid var(--color-border-neutral);
|
|
72
|
+
}
|
|
73
|
+
.np-theme-personal .tw-modal .tw-modal-content .tw-modal-footer,
|
|
74
|
+
.tw-modal .tw-modal-content .tw-modal-footer.modal--withoutborder {
|
|
75
|
+
box-shadow: none;
|
|
76
|
+
}
|
|
77
|
+
.tw-modal .tw-modal-content.tw-modal-no-title .tw-modal-body {
|
|
78
|
+
padding-top: 0 !important;
|
|
79
|
+
}
|
|
80
|
+
.tw-modal .tw-modal-content.tw-modal-no-title .tw-modal-header {
|
|
81
|
+
min-height: 32px;
|
|
82
|
+
min-height: var(--size-32);
|
|
83
|
+
padding-bottom: 4px !important;
|
|
84
|
+
}
|
|
85
|
+
.tw-modal table,
|
|
86
|
+
.tw-modal .table {
|
|
87
|
+
background-color: transparent;
|
|
88
|
+
}
|
|
89
|
+
@media (min-width: 576px) {
|
|
90
|
+
.tw-modal .tw-modal-content .tw-modal-header,
|
|
91
|
+
.tw-modal .tw-modal-content .tw-modal-footer,
|
|
92
|
+
.tw-modal .tw-modal-content .tw-modal-body {
|
|
93
|
+
padding: 32px 24px;
|
|
94
|
+
padding: var(--size-32) var(--size-24);
|
|
95
|
+
}
|
|
96
|
+
.np-theme-personal .tw-modal .tw-modal-content .tw-modal-header,
|
|
97
|
+
.np-theme-personal .tw-modal .tw-modal-content .tw-modal-footer,
|
|
98
|
+
.np-theme-personal .tw-modal .tw-modal-content .tw-modal-body {
|
|
99
|
+
padding: 24px;
|
|
100
|
+
padding: var(--size-24);
|
|
101
|
+
}
|
|
102
|
+
.tw-modal .tw-modal-compact .tw-modal-header {
|
|
103
|
+
min-height: calc(8px * 7);
|
|
104
|
+
min-height: calc(var(--size-8) * 7);
|
|
105
|
+
}
|
|
106
|
+
.tw-modal .tw-modal-compact .tw-modal-header,
|
|
107
|
+
.tw-modal .tw-modal-compact .tw-modal-footer,
|
|
108
|
+
.tw-modal .tw-modal-compact .tw-modal-body {
|
|
109
|
+
padding-top: 16px;
|
|
110
|
+
padding-top: var(--size-16);
|
|
111
|
+
padding-bottom: 16px;
|
|
112
|
+
padding-bottom: var(--size-16);
|
|
113
|
+
}
|
|
114
|
+
}
|
|
115
|
+
@media (min-width: 480px) {
|
|
116
|
+
.tw-modal-dialog.tw-modal-sm {
|
|
117
|
+
width: 300px;
|
|
118
|
+
}
|
|
119
|
+
}
|
|
120
|
+
@media (min-width: 576px) {
|
|
121
|
+
.tw-modal {
|
|
122
|
+
padding: 40px;
|
|
123
|
+
padding: var(--size-40);
|
|
124
|
+
}
|
|
125
|
+
.tw-modal .tw-modal-dialog .tw-modal-content {
|
|
126
|
+
border-radius: 10px;
|
|
127
|
+
border-radius: var(--radius-small);
|
|
128
|
+
}
|
|
129
|
+
.tw-modal .tw-modal-dialog.tw-modal-md {
|
|
130
|
+
width: 540px;
|
|
131
|
+
}
|
|
132
|
+
}
|
|
133
|
+
@media (min-width: 768px) {
|
|
134
|
+
.tw-modal-dialog.tw-modal-lg {
|
|
135
|
+
width: 720px;
|
|
136
|
+
}
|
|
137
|
+
}
|
|
138
|
+
@media (min-width: 992px) {
|
|
139
|
+
.tw-modal-dialog.tw-modal-xl {
|
|
140
|
+
width: 1000px;
|
|
141
|
+
}
|
|
142
|
+
}
|
|
143
|
+
/* Internet explorer hack */
|
|
144
|
+
@media all and (-ms-high-contrast: none) {
|
|
145
|
+
/* IE11 */
|
|
146
|
+
/* stylelint-disable selector-no-vendor-prefix, selector-type-no-unknown */
|
|
147
|
+
_:-ms-fullscreen,
|
|
148
|
+
:root .tw-modal {
|
|
149
|
+
height: 100%;
|
|
150
|
+
}
|
|
151
|
+
_:-ms-fullscreen .tw-modal-dialog,
|
|
152
|
+
:root .tw-modal .tw-modal-dialog {
|
|
153
|
+
height: 100%;
|
|
154
|
+
}
|
|
155
|
+
}
|
|
@@ -1 +1,66 @@
|
|
|
1
|
-
.tw-money-input
|
|
1
|
+
.tw-money-input {
|
|
2
|
+
display: flex;
|
|
3
|
+
}
|
|
4
|
+
.tw-money-input .tw-money-input__fixed-currency {
|
|
5
|
+
padding-left: 0 !important;
|
|
6
|
+
}
|
|
7
|
+
[dir="rtl"] .tw-money-input .tw-money-input__fixed-currency {
|
|
8
|
+
padding-right: 0 !important;
|
|
9
|
+
padding-left: 0 !important;
|
|
10
|
+
padding-left: initial !important;
|
|
11
|
+
}
|
|
12
|
+
.tw-money-input .tw-money-input__fixed-currency .np-text-title-subsection {
|
|
13
|
+
color: #768e9c;
|
|
14
|
+
color: var(--color-content-tertiary);
|
|
15
|
+
font-weight: 600;
|
|
16
|
+
font-weight: var(--font-weight-semi-bold);
|
|
17
|
+
}
|
|
18
|
+
.tw-money-input.input-group-sm .form-control {
|
|
19
|
+
min-height: 34px;
|
|
20
|
+
}
|
|
21
|
+
.tw-money-input.input-group-sm .np-text-title-subsection {
|
|
22
|
+
font-size: 0.875rem;
|
|
23
|
+
font-size: var(--font-size-14);
|
|
24
|
+
}
|
|
25
|
+
.tw-money-input.input-group-md .form-control {
|
|
26
|
+
min-height: 53px;
|
|
27
|
+
}
|
|
28
|
+
.tw-money-input.input-group-md .np-text-title-subsection {
|
|
29
|
+
font-size: 1rem;
|
|
30
|
+
font-size: var(--font-size-16);
|
|
31
|
+
}
|
|
32
|
+
.tw-money-input .input-group-addon {
|
|
33
|
+
flex-shrink: 0;
|
|
34
|
+
}
|
|
35
|
+
.tw-money-input .input-group-addon:not(.amount-currency-select-btn) {
|
|
36
|
+
display: flex;
|
|
37
|
+
align-items: center;
|
|
38
|
+
flex-shrink: 0;
|
|
39
|
+
width: auto;
|
|
40
|
+
}
|
|
41
|
+
.tw-money-input .amount-currency-select-btn {
|
|
42
|
+
flex-shrink: 0;
|
|
43
|
+
width: auto;
|
|
44
|
+
line-height: normal;
|
|
45
|
+
}
|
|
46
|
+
.tw-money-input .np-button-input {
|
|
47
|
+
border-top-right-radius: 10px !important;
|
|
48
|
+
border-top-right-radius: var(--radius-small) !important;
|
|
49
|
+
border-bottom-right-radius: 10px !important;
|
|
50
|
+
border-bottom-right-radius: var(--radius-small) !important;
|
|
51
|
+
}
|
|
52
|
+
.tw-money-input .np-button-input:not(.disabled):not(:disabled):focus-visible {
|
|
53
|
+
border-radius: 10px !important;
|
|
54
|
+
border-radius: var(--radius-small) !important;
|
|
55
|
+
}
|
|
56
|
+
.tw-money-input .np-button-input,
|
|
57
|
+
.tw-money-input .np-button-input:active,
|
|
58
|
+
.tw-money-input .np-button-input:not(.disabled):not(:disabled):hover,
|
|
59
|
+
.has-error .tw-money-input .np-button-input,
|
|
60
|
+
.has-error .tw-money-input .np-button-input:not(.disabled):not(:disabled):hover {
|
|
61
|
+
box-shadow: none;
|
|
62
|
+
}
|
|
63
|
+
.tw-money-input:not(.disabled):not(:disabled):not(.np-button-input:active):has(.np-button-input:focus-visible) {
|
|
64
|
+
box-shadow: inset 0 0 0 1px #c9cbce !important;
|
|
65
|
+
box-shadow: inset 0 0 0 1px var(--color-interactive-secondary) !important;
|
|
66
|
+
}
|
|
@@ -1 +1,69 @@
|
|
|
1
|
-
.np-navigation-option
|
|
1
|
+
.np-navigation-option {
|
|
2
|
+
-webkit-text-decoration: none;
|
|
3
|
+
text-decoration: none;
|
|
4
|
+
background-color: transparent;
|
|
5
|
+
text-align: left;
|
|
6
|
+
width: 100%;
|
|
7
|
+
--ring-outline-offset: 0;
|
|
8
|
+
}
|
|
9
|
+
[dir="rtl"] .np-navigation-option {
|
|
10
|
+
border-right: 0 ;
|
|
11
|
+
}
|
|
12
|
+
html:not([dir="rtl"]) .np-navigation-option {
|
|
13
|
+
border-left: 0 ;
|
|
14
|
+
}
|
|
15
|
+
[dir="rtl"] .np-navigation-option {
|
|
16
|
+
border-left: 0 ;
|
|
17
|
+
}
|
|
18
|
+
html:not([dir="rtl"]) .np-navigation-option {
|
|
19
|
+
border-right: 0 ;
|
|
20
|
+
}
|
|
21
|
+
[dir="rtl"] .np-navigation-option {
|
|
22
|
+
text-align: right;
|
|
23
|
+
}
|
|
24
|
+
.np-navigation-option:hover,
|
|
25
|
+
.np-navigation-option:focus {
|
|
26
|
+
-webkit-text-decoration: none;
|
|
27
|
+
text-decoration: none;
|
|
28
|
+
}
|
|
29
|
+
.np-navigation-option:not(.disabled):not(:disabled):hover .tw-avatar__content {
|
|
30
|
+
background-color: #ffffff;
|
|
31
|
+
background-color: var(--color-background-screen);
|
|
32
|
+
}
|
|
33
|
+
.np-theme-personal .np-navigation-option:not(.disabled):not(:disabled):hover .tw-avatar__content {
|
|
34
|
+
background-color: rgba(134,167,189,0.10196);
|
|
35
|
+
background-color: var(--color-background-neutral);
|
|
36
|
+
}
|
|
37
|
+
.np-navigation-option .circle {
|
|
38
|
+
border: none;
|
|
39
|
+
}
|
|
40
|
+
.np-navigation-option:focus {
|
|
41
|
+
outline: none;
|
|
42
|
+
}
|
|
43
|
+
.np-navigation-option:focus-visible {
|
|
44
|
+
outline: var(--ring-outline-color) solid var(--ring-outline-width);
|
|
45
|
+
outline-offset: var(--ring-outline-offset);
|
|
46
|
+
}
|
|
47
|
+
.np-theme-personal .np-navigation-option {
|
|
48
|
+
-webkit-text-decoration: none;
|
|
49
|
+
text-decoration: none;
|
|
50
|
+
}
|
|
51
|
+
.np-navigation-option__chevron {
|
|
52
|
+
padding: 0;
|
|
53
|
+
border: none;
|
|
54
|
+
outline: none;
|
|
55
|
+
background: none;
|
|
56
|
+
}
|
|
57
|
+
.np-navigation-option__chevron:not(.disabled):not(:disabled):hover,
|
|
58
|
+
.np-navigation-option__chevron:not(.disabled):not(:disabled):focus {
|
|
59
|
+
color: #0084b3;
|
|
60
|
+
color: var(--color-content-accent-hover);
|
|
61
|
+
}
|
|
62
|
+
.np-navigation-option__chevron:not(.disabled):not(:disabled):active {
|
|
63
|
+
color: #0077a5;
|
|
64
|
+
color: var(--color-content-accent-active);
|
|
65
|
+
}
|
|
66
|
+
.np-theme-personal .np-option__container-aligned {
|
|
67
|
+
width: calc(100% + 2 * 16px);
|
|
68
|
+
width: calc(100% + 2 * var(--space-content-horizontal));
|
|
69
|
+
}
|
|
@@ -1 +1,13 @@
|
|
|
1
|
-
.np-navigation-options-list
|
|
1
|
+
.np-navigation-options-list {
|
|
2
|
+
list-style-type: none;
|
|
3
|
+
padding-left: 0;
|
|
4
|
+
margin-bottom: 0;
|
|
5
|
+
}
|
|
6
|
+
[dir="rtl"] .np-navigation-options-list {
|
|
7
|
+
padding-right: 0;
|
|
8
|
+
padding-left: 0;
|
|
9
|
+
padding-left: initial;
|
|
10
|
+
}
|
|
11
|
+
.np-navigation-options-list__item + .np-navigation-options-list__item {
|
|
12
|
+
margin-top: -1px;
|
|
13
|
+
}
|
|
@@ -1 +1,182 @@
|
|
|
1
|
-
.wds-nudge
|
|
1
|
+
.wds-nudge {
|
|
2
|
+
--nudge-background-color: var(--color-background-neutral);
|
|
3
|
+
--nudge-border-radius: var(--radius-medium);
|
|
4
|
+
--nudge-min-height: 106px;
|
|
5
|
+
--nudge-padding: 0;
|
|
6
|
+
--nudge-flex-gap: var(--size-16);
|
|
7
|
+
--nudge-media-width: 104px;
|
|
8
|
+
--nudge-link-text-decoration: underline;
|
|
9
|
+
--nudge-container-padding: var(--size-16);
|
|
10
|
+
--nudge-content-flex-alignment: center;
|
|
11
|
+
--nudge-title-color: var(--color-content-primary);
|
|
12
|
+
--nudge-title-font-weight: var(--font-weight-semi-bold);
|
|
13
|
+
--nudge-title-line-height: var(--line-height-title);
|
|
14
|
+
--nudge-control-width: var(--size-24);
|
|
15
|
+
--nudge-control-background-color: var(--color-background-neutral);
|
|
16
|
+
align-items: stretch;
|
|
17
|
+
background-color: rgba(134,167,189,0.10196);
|
|
18
|
+
background-color: var(--color-background-neutral);
|
|
19
|
+
background-color: var(--nudge-background-color);
|
|
20
|
+
border-radius: 16px;
|
|
21
|
+
border-radius: var(--radius-medium);
|
|
22
|
+
border-radius: var(--nudge-border-radius);
|
|
23
|
+
display: flex;
|
|
24
|
+
flex: 1;
|
|
25
|
+
gap: 16px;
|
|
26
|
+
gap: var(--size-16);
|
|
27
|
+
gap: var(--nudge-flex-gap);
|
|
28
|
+
min-height: 106px;
|
|
29
|
+
min-height: var(--nudge-min-height);
|
|
30
|
+
padding: 0;
|
|
31
|
+
padding: var(--nudge-padding);
|
|
32
|
+
position: relative;
|
|
33
|
+
overflow: hidden;
|
|
34
|
+
width: 100%;
|
|
35
|
+
}
|
|
36
|
+
.wds-nudge-media {
|
|
37
|
+
flex-basis: var(--nudge-media-width);
|
|
38
|
+
max-width: var(--nudge-media-width);
|
|
39
|
+
}
|
|
40
|
+
.wds-nudge-media-globe {
|
|
41
|
+
margin-left: -76px;
|
|
42
|
+
margin-top: -5px;
|
|
43
|
+
position: absolute;
|
|
44
|
+
width: 161px;
|
|
45
|
+
}
|
|
46
|
+
[dir="rtl"] .wds-nudge-media-globe {
|
|
47
|
+
transform: scaleX(-1);
|
|
48
|
+
margin-left: 0;
|
|
49
|
+
margin-right: -76px;
|
|
50
|
+
}
|
|
51
|
+
.wds-nudge-media-lock {
|
|
52
|
+
margin-left: -11px;
|
|
53
|
+
margin-top: 18px;
|
|
54
|
+
position: absolute;
|
|
55
|
+
width: 104px;
|
|
56
|
+
transform: rotate(-14.86deg);
|
|
57
|
+
}
|
|
58
|
+
[dir="rtl"] .wds-nudge-media-lock {
|
|
59
|
+
transform: scaleX(-1);
|
|
60
|
+
margin-left: 0;
|
|
61
|
+
margin-right: -11px;
|
|
62
|
+
}
|
|
63
|
+
.wds-nudge-media-wallet {
|
|
64
|
+
margin-left: -15px;
|
|
65
|
+
margin-top: 18px;
|
|
66
|
+
position: absolute;
|
|
67
|
+
width: 107px;
|
|
68
|
+
}
|
|
69
|
+
[dir="rtl"] .wds-nudge-media-wallet {
|
|
70
|
+
transform: scaleX(-1);
|
|
71
|
+
margin-left: 0;
|
|
72
|
+
margin-right: -15px;
|
|
73
|
+
}
|
|
74
|
+
.wds-nudge-media-gear {
|
|
75
|
+
margin-left: -18px;
|
|
76
|
+
margin-top: 19px;
|
|
77
|
+
position: absolute;
|
|
78
|
+
width: 111px;
|
|
79
|
+
}
|
|
80
|
+
[dir="rtl"] .wds-nudge-media-gear {
|
|
81
|
+
transform: scaleX(-1);
|
|
82
|
+
margin-left: 0;
|
|
83
|
+
margin-right: -18px;
|
|
84
|
+
}
|
|
85
|
+
.wds-nudge-media-invite-letter {
|
|
86
|
+
margin-left: -17px;
|
|
87
|
+
margin-top: -2px;
|
|
88
|
+
position: absolute;
|
|
89
|
+
width: 105px;
|
|
90
|
+
}
|
|
91
|
+
[dir="rtl"] .wds-nudge-media-invite-letter {
|
|
92
|
+
transform: scaleX(-1);
|
|
93
|
+
margin-left: 0;
|
|
94
|
+
margin-right: -17px;
|
|
95
|
+
}
|
|
96
|
+
.wds-nudge-media-personal-card,
|
|
97
|
+
.wds-nudge-media-business-card {
|
|
98
|
+
margin-left: -15px;
|
|
99
|
+
margin-top: 2px;
|
|
100
|
+
position: absolute;
|
|
101
|
+
width: 104px;
|
|
102
|
+
}
|
|
103
|
+
[dir="rtl"] .wds-nudge-media-personal-card,
|
|
104
|
+
[dir="rtl"] .wds-nudge-media-business-card {
|
|
105
|
+
transform: scaleX(-1);
|
|
106
|
+
margin-left: 0;
|
|
107
|
+
margin-right: -15px;
|
|
108
|
+
}
|
|
109
|
+
.wds-nudge-media-heart {
|
|
110
|
+
margin-left: -7px;
|
|
111
|
+
margin-top: 11px;
|
|
112
|
+
position: absolute;
|
|
113
|
+
width: 95px;
|
|
114
|
+
}
|
|
115
|
+
[dir="rtl"] .wds-nudge-media-heart {
|
|
116
|
+
transform: scaleX(-1);
|
|
117
|
+
margin-left: 0;
|
|
118
|
+
margin-right: -7px;
|
|
119
|
+
}
|
|
120
|
+
.wds-nudge-media-multi-currency {
|
|
121
|
+
margin-left: -30px;
|
|
122
|
+
margin-top: 1px;
|
|
123
|
+
position: absolute;
|
|
124
|
+
width: 131px;
|
|
125
|
+
}
|
|
126
|
+
[dir="rtl"] .wds-nudge-media-multi-currency {
|
|
127
|
+
transform: scaleX(-1);
|
|
128
|
+
margin-left: 0;
|
|
129
|
+
margin-right: -30px;
|
|
130
|
+
}
|
|
131
|
+
.wds-nudge-media-shopping-bag {
|
|
132
|
+
margin-left: 1px;
|
|
133
|
+
margin-top: 14px;
|
|
134
|
+
position: absolute;
|
|
135
|
+
width: 116px;
|
|
136
|
+
}
|
|
137
|
+
[dir="rtl"] .wds-nudge-media-shopping-bag {
|
|
138
|
+
transform: scaleX(-1);
|
|
139
|
+
margin-left: 0;
|
|
140
|
+
margin-right: 1px;
|
|
141
|
+
}
|
|
142
|
+
.wds-nudge-container {
|
|
143
|
+
align-items: stretch;
|
|
144
|
+
display: flex;
|
|
145
|
+
flex: 1;
|
|
146
|
+
gap: var(--nudge-flex-gap);
|
|
147
|
+
justify-content: space-between;
|
|
148
|
+
padding: var(--nudge-container-padding) var(--nudge-container-padding) var(--nudge-container-padding) 0;
|
|
149
|
+
width: 100%;
|
|
150
|
+
}
|
|
151
|
+
[dir="rtl"] .wds-nudge-container {
|
|
152
|
+
padding: var(--nudge-container-padding) 0 var(--nudge-container-padding) var(--nudge-container-padding);
|
|
153
|
+
}
|
|
154
|
+
.np-theme-personal .wds-nudge-container:first-child {
|
|
155
|
+
padding-left: var(--nudge-flex-gap);
|
|
156
|
+
}
|
|
157
|
+
.wds-nudge-container .wds-nudge-content {
|
|
158
|
+
align-self: var(--nudge-content-flex-alignment);
|
|
159
|
+
display: flex;
|
|
160
|
+
flex-direction: column;
|
|
161
|
+
}
|
|
162
|
+
.wds-nudge-container .wds-nudge-content .wds-nudge-title {
|
|
163
|
+
color: var(--nudge-title-color);
|
|
164
|
+
font-weight: var(--nudge-title-font-weight);
|
|
165
|
+
line-height: var(--nudge-title-line-height);
|
|
166
|
+
margin: 0;
|
|
167
|
+
}
|
|
168
|
+
.wds-nudge-container .wds-nudge-content .wds-nudge-link {
|
|
169
|
+
font-weight: 600;
|
|
170
|
+
font-weight: var(--font-weight-semi-bold);
|
|
171
|
+
margin-top: 4px;
|
|
172
|
+
margin-top: var(--size-4);
|
|
173
|
+
-webkit-text-decoration: var(--nudge-link-text-decoration);
|
|
174
|
+
text-decoration: var(--nudge-link-text-decoration);
|
|
175
|
+
}
|
|
176
|
+
.wds-nudge-container .wds-nudge-control {
|
|
177
|
+
max-width: var(--nudge-control-width);
|
|
178
|
+
flex-basis: var(--nudge-control-width);
|
|
179
|
+
flex: 0 0 var(--nudge-control-width);
|
|
180
|
+
height: var(--nudge-control-width);
|
|
181
|
+
background-color: var(--nudge-control-background-color);
|
|
182
|
+
}
|
|
@@ -1 +1,15 @@
|
|
|
1
|
-
.np-overlay-header .np-overlay-header__content
|
|
1
|
+
.np-overlay-header .np-overlay-header__content {
|
|
2
|
+
min-height: 97px;
|
|
3
|
+
width: 100%;
|
|
4
|
+
min-width: 320px;
|
|
5
|
+
max-width: 1164px;
|
|
6
|
+
}
|
|
7
|
+
.np-theme-personal .np-overlay-header {
|
|
8
|
+
border-bottom: 1px solid rgba(0,0,0,0.10196);
|
|
9
|
+
border-bottom: 1px solid var(--color-border-neutral);
|
|
10
|
+
}
|
|
11
|
+
.np-theme-personal--forest-green .np-overlay-header .np-flow-header__left path,
|
|
12
|
+
.np-theme-personal--bright-green .np-overlay-header .np-flow-header__left path,
|
|
13
|
+
.np-theme-personal--dark .np-overlay-header .np-flow-header__left path {
|
|
14
|
+
fill: var(--color-interactive-primary);
|
|
15
|
+
}
|
|
@@ -1 +1,23 @@
|
|
|
1
|
-
.tw-telephone
|
|
1
|
+
.tw-telephone {
|
|
2
|
+
display: flex;
|
|
3
|
+
}
|
|
4
|
+
.tw-telephone .tw-telephone__number-input {
|
|
5
|
+
margin-left: 12px;
|
|
6
|
+
margin-left: var(--size-12);
|
|
7
|
+
}
|
|
8
|
+
[dir="rtl"] .tw-telephone .tw-telephone__number-input {
|
|
9
|
+
margin-right: 12px;
|
|
10
|
+
margin-right: var(--size-12);
|
|
11
|
+
margin-left: 0;
|
|
12
|
+
margin-left: initial;
|
|
13
|
+
}
|
|
14
|
+
.tw-telephone__country-select {
|
|
15
|
+
flex-basis: 120px;
|
|
16
|
+
flex-shrink: 0;
|
|
17
|
+
}
|
|
18
|
+
.tw-telephone__country-select .np-input-group {
|
|
19
|
+
width: 100%;
|
|
20
|
+
}
|
|
21
|
+
.tw-telephone__number-input {
|
|
22
|
+
flex: auto 1 1;
|
|
23
|
+
}
|
|
@@ -1 +1,43 @@
|
|
|
1
|
-
|
|
1
|
+
@media (min-width: 768px) {
|
|
2
|
+
}@media (min-width: 768px) {
|
|
3
|
+
}.np-theme-personal .np-popover__container {
|
|
4
|
+
border-radius: 16px;
|
|
5
|
+
border-radius: var(--radius-medium);
|
|
6
|
+
}.np-popover__container .np-popover__content {
|
|
7
|
+
color: #5d7079;
|
|
8
|
+
color: var(--color-content-secondary);
|
|
9
|
+
font-size: 0.875rem;
|
|
10
|
+
font-size: var(--font-size-14);
|
|
11
|
+
}.np-popover__container .np-popover__content p:last-child {
|
|
12
|
+
margin-bottom: 0;
|
|
13
|
+
}.np-popover__container.np-panel .np-popover__content {
|
|
14
|
+
padding: 16px 24px;
|
|
15
|
+
padding: var(--size-16) var(--size-24);
|
|
16
|
+
max-width: 276px;
|
|
17
|
+
}.np-theme-personal .np-popover__container.np-panel .np-popover__content {
|
|
18
|
+
padding: 24px;
|
|
19
|
+
padding: var(--size-24);
|
|
20
|
+
}.np-popover__container.np-bottom-sheet .np-popover__title {
|
|
21
|
+
margin: 0;
|
|
22
|
+
color: #37517e;
|
|
23
|
+
color: var(--color-content-primary);
|
|
24
|
+
line-height: 1.2;
|
|
25
|
+
line-height: var(--line-height-title);
|
|
26
|
+
letter-spacing: 0;
|
|
27
|
+
margin-bottom: 0;
|
|
28
|
+
margin-bottom: initial;
|
|
29
|
+
font-weight: 600;
|
|
30
|
+
font-weight: var(--font-weight-semi-bold);
|
|
31
|
+
font-size: 1.625rem;
|
|
32
|
+
font-size: var(--font-size-26);
|
|
33
|
+
letter-spacing: -0.02em;
|
|
34
|
+
line-height: 122%;
|
|
35
|
+
}.np-popover__container.np-bottom-sheet .np-popover__title + p,
|
|
36
|
+
.np-popover__container.np-bottom-sheet .np-popover__title + ul:not(.list-unstyled),
|
|
37
|
+
.np-popover__container.np-bottom-sheet .np-popover__title + ol:not(.list-unstyled) {
|
|
38
|
+
margin-top: 8px;
|
|
39
|
+
margin-top: var(--size-8);
|
|
40
|
+
}.np-popover__container.np-bottom-sheet .np-popover__content {
|
|
41
|
+
padding: 32px 24px;
|
|
42
|
+
padding: var(--size-32) var(--size-24);
|
|
43
|
+
}
|
|
@@ -1 +1,43 @@
|
|
|
1
|
-
.np-progress
|
|
1
|
+
.np-progress {
|
|
2
|
+
border-radius: 10px;
|
|
3
|
+
border-radius: var(--radius-small);
|
|
4
|
+
width: 100%;
|
|
5
|
+
height: 8px;
|
|
6
|
+
height: var(--size-8);
|
|
7
|
+
}
|
|
8
|
+
.np-progress::-webkit-progress-bar {
|
|
9
|
+
background-color: rgba(134,167,189,0.10196);
|
|
10
|
+
background-color: var(--color-background-neutral);
|
|
11
|
+
border-radius: 10px;
|
|
12
|
+
border-radius: var(--radius-small);
|
|
13
|
+
}
|
|
14
|
+
.np-progress::-webkit-progress-value {
|
|
15
|
+
background-color: #0097c7;
|
|
16
|
+
background-color: var(--color-content-accent);
|
|
17
|
+
border-radius: 10px;
|
|
18
|
+
border-radius: var(--radius-small);
|
|
19
|
+
}
|
|
20
|
+
.np-theme-personal .np-progress::-webkit-progress-value {
|
|
21
|
+
background-color: var(--color-interactive-primary);
|
|
22
|
+
}
|
|
23
|
+
.np-progress::-moz-progress-bar {
|
|
24
|
+
background-color: #0097c7;
|
|
25
|
+
background-color: var(--color-content-accent);
|
|
26
|
+
border-radius: 10px;
|
|
27
|
+
border-radius: var(--radius-small);
|
|
28
|
+
}
|
|
29
|
+
.np-theme-personal .np-progress::-moz-progress-bar {
|
|
30
|
+
background-color: var(--color-interactive-primary);
|
|
31
|
+
}
|
|
32
|
+
@media (prefers-reduced-motion: no-preference) {
|
|
33
|
+
.np-progress::-webkit-progress-value {
|
|
34
|
+
-webkit-transition: width 0.5s ease;
|
|
35
|
+
transition: width 0.5s ease;
|
|
36
|
+
transition-delay: 0.2s;
|
|
37
|
+
}
|
|
38
|
+
.np-progress::-moz-progress-bar {
|
|
39
|
+
-moz-transition: width 0.5s ease;
|
|
40
|
+
transition: width 0.5s ease;
|
|
41
|
+
transition-delay: 0.2s;
|
|
42
|
+
}
|
|
43
|
+
}
|
|
@@ -1 +1,14 @@
|
|
|
1
|
-
.np-progress-bar__title .h4
|
|
1
|
+
.np-progress-bar__title .h4 {
|
|
2
|
+
color: #37517e;
|
|
3
|
+
color: var(--color-content-primary);
|
|
4
|
+
margin-bottom: 4px;
|
|
5
|
+
margin-bottom: var(--size-4);
|
|
6
|
+
}
|
|
7
|
+
.np-progress-bar p {
|
|
8
|
+
color: #37517e;
|
|
9
|
+
color: var(--color-content-primary);
|
|
10
|
+
margin-top: 4px;
|
|
11
|
+
margin-top: var(--size-4);
|
|
12
|
+
font-weight: 600;
|
|
13
|
+
font-weight: var(--font-weight-semi-bold);
|
|
14
|
+
}
|