@transferwise/components 0.0.0-experimental-8078c24 → 0.0.0-experimental-7d89ae8
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/package.json +3 -3
- package/src/accordion/Accordion.css +0 -74
- package/src/actionButton/ActionButton.css +0 -64
- package/src/actionOption/ActionOption.css +0 -4
- package/src/alert/Alert.css +0 -7
- package/src/avatar/Avatar.css +0 -250
- package/src/avatarLayout/AvatarLayout.css +0 -42
- package/src/avatarView/AvatarView.css +0 -44
- package/src/avatarView/Dot.css +0 -26
- package/src/badge/Badge.css +0 -65
- package/src/body/Body.css +0 -3
- package/src/button/Button.css +0 -246
- package/src/button/Button.vars.css +0 -46
- package/src/button/LegacyButton.css +0 -23
- package/src/card/Card.css +0 -100
- package/src/carousel/Carousel.css +0 -134
- package/src/checkboxButton/CheckboxButton.css +0 -43
- package/src/chips/Chip.css +0 -190
- package/src/circularButton/CircularButton.css +0 -34
- package/src/common/Option/Option.css +0 -120
- package/src/common/RadioButton/RadioButton.css +0 -4
- package/src/common/baseCard/BaseCard.css +0 -49
- package/src/common/bottomSheet/BottomSheet.css +0 -53
- package/src/common/circle/Circle.css +0 -43
- package/src/common/closeButton/CloseButton.css +0 -94
- package/src/common/liveRegion/LiveRegion.css +0 -3
- package/src/common/panel/Panel.css +0 -73
- package/src/container/Container.css +0 -38
- package/src/criticalBanner/CriticalCommsBanner.css +0 -63
- package/src/dateInput/DateInput.css +0 -16
- package/src/dateLookup/DateLookup.css +0 -93
- package/src/dateLookup/dateTrigger/DateTrigger.css +0 -29
- package/src/decision/Decision.css +0 -17
- package/src/definitionList/DefinitionList.css +0 -53
- package/src/dimmer/Dimmer.css +0 -70
- package/src/divider/Divider.css +0 -24
- package/src/drawer/Drawer.css +0 -56
- package/src/dropFade/DropFade.css +0 -19
- package/src/emphasis/Emphasis.css +0 -31
- package/src/expressiveMoneyInput/ExpressiveMoneyInput.css +0 -60
- package/src/expressiveMoneyInput/amountInput/AmountInput.css +0 -34
- package/src/expressiveMoneyInput/chevron/Chevron.css +0 -12
- package/src/expressiveMoneyInput/currencySelector/CurrencySelector.css +0 -6
- package/src/field/Field.css +0 -29
- package/src/flowNavigation/FlowNavigation.css +0 -76
- package/src/flowNavigation/animatedLabel/AnimatedLabel.css +0 -30
- package/src/header/Header.css +0 -33
- package/src/iconButton/IconButton.css +0 -82
- package/src/image/Image.css +0 -13
- package/src/info/Info.css +0 -9
- package/src/inputs/Input.css +0 -158
- package/src/inputs/InputGroup.css +0 -71
- package/src/inputs/SelectInput/BottomSheet/SelectInputBottomSheet.css +0 -96
- package/src/inputs/SelectInput/ButtonInput/SelectInputButtonInput.css +0 -20
- package/src/inputs/SelectInput/ClearButton/SelectInputClearButton.css +0 -46
- package/src/inputs/SelectInput/ItemView/SelectInputItemView.css +0 -16
- package/src/inputs/SelectInput/Option/SelectInputOption.css +0 -33
- package/src/inputs/SelectInput/OptionContent/SelectInputOptionContent.css +0 -37
- package/src/inputs/SelectInput/Options/SelectInputOptions.css +0 -81
- package/src/inputs/SelectInput/Popover/SelectInputPopover.css +0 -46
- package/src/inputs/SelectInput/SelectInput.css +0 -384
- package/src/inputs/TextArea.css +0 -161
- package/src/instructionsList/InstructionsList.css +0 -26
- package/src/legacylistItem/LegacyListItem.css +0 -6
- package/src/link/Link.css +0 -24
- package/src/listItem/ListItem.css +0 -660
- package/src/listItem/ListItem.grid.css +0 -384
- package/src/listItem/ListItem.vars.css +0 -0
- package/src/listItem/Prompt/ListItemPrompt.css +0 -4
- package/src/loader/Loader.css +0 -237
- package/src/logo/Logo.css +0 -6
- package/src/main.css +0 -34572
- package/src/modal/Modal.css +0 -82
- package/src/moneyInput/MoneyInput.css +0 -78
- package/src/navigationOption/NavigationOption.css +0 -69
- package/src/navigationOptionsList/NavigationOptionsList.css +0 -13
- package/src/nudge/Nudge.css +0 -206
- package/src/overlayHeader/OverlayHeader.css +0 -15
- package/src/phoneNumberInput/PhoneNumberInput.css +0 -28
- package/src/popover/Popover.css +0 -76
- package/src/progress/Progress.css +0 -43
- package/src/progressBar/ProgressBar.css +0 -14
- package/src/promoCard/PromoCard.css +0 -186
- package/src/prompt/ActionPrompt/ActionPrompt.css +0 -30
- package/src/prompt/CriticalBanner/CriticalBanner.css +0 -134
- package/src/prompt/CriticalBanner/CriticalBanner.vars.css +0 -0
- package/src/prompt/InfoPrompt/InfoPrompt.css +0 -57
- package/src/prompt/InlinePrompt/InlinePrompt.css +0 -57
- package/src/prompt/PrimitivePrompt/PrimitivePrompt.css +0 -51
- package/src/prompt/common/Expander/Expander.css +0 -8
- package/src/radioGroup/RadioGroup.css +0 -3
- package/src/section/Section.css +0 -10
- package/src/segmentedControl/SegmentedControl.css +0 -101
- package/src/select/Select.css +0 -369
- package/src/sentimentSurface/SentimentSurface.css +0 -487
- package/src/slidingPanel/SlidingPanel.css +0 -105
- package/src/snackbar/Snackbar.css +0 -93
- package/src/statusIcon/StatusIcon.css +0 -37
- package/src/stepper/Stepper.css +0 -77
- package/src/styles/less/accordion.css +0 -255
- package/src/styles/less/alerts.css +0 -751
- package/src/styles/less/background.css +0 -20
- package/src/styles/less/badge.css +0 -90
- package/src/styles/less/border-radius.css +0 -3
- package/src/styles/less/breadcrumbs.css +0 -20
- package/src/styles/less/button-groups.css +0 -495
- package/src/styles/less/buttons.css +0 -1390
- package/src/styles/less/chevron.css +0 -35
- package/src/styles/less/circles.css +0 -248
- package/src/styles/less/close.css +0 -47
- package/src/styles/less/column-layout.css +0 -164
- package/src/styles/less/core/viewport-themes.css +0 -63
- package/src/styles/less/currency-flags.css +0 -46
- package/src/styles/less/decision.css +0 -136
- package/src/styles/less/dropdowns.css +0 -472
- package/src/styles/less/droppable.css +0 -221
- package/src/styles/less/flex.css +0 -596
- package/src/styles/less/footer.css +0 -129
- package/src/styles/less/forms/bootstrap-forms.css +0 -2277
- package/src/styles/less/forms/checkbox-radio.css +0 -367
- package/src/styles/less/grid.css +0 -2369
- package/src/styles/less/input-groups.css +0 -2740
- package/src/styles/less/link-callout.css +0 -20
- package/src/styles/less/list-group.css +0 -350
- package/src/styles/less/loaders.css +0 -76
- package/src/styles/less/media.css +0 -74
- package/src/styles/less/modals.css +0 -185
- package/src/styles/less/navbar.css +0 -2406
- package/src/styles/less/navs.css +0 -296
- package/src/styles/less/neptune-social-media.css +0 -144
- package/src/styles/less/neptune.css +0 -25468
- package/src/styles/less/panels.css +0 -528
- package/src/styles/less/popovers.css +0 -661
- package/src/styles/less/process.css +0 -483
- package/src/styles/less/progress-bars.css +0 -64
- package/src/styles/less/ring.css +0 -55
- package/src/styles/less/select.css +0 -99
- package/src/styles/less/sequences.css +0 -855
- package/src/styles/less/table.css +0 -446
- package/src/styles/less/tick.css +0 -32
- package/src/styles/less/tooltip.css +0 -160
- package/src/styles/less/utilities.css +0 -133
- package/src/styles/less/wells.css +0 -60
- package/src/styles/variables/legacy-variables.css +0 -0
- package/src/styles/variables/neptune-tokens.css +0 -0
- package/src/styles/variables/zindex.css +0 -0
- package/src/summary/Summary.css +0 -81
- package/src/switch/Switch.css +0 -63
- package/src/switchOption/SwitchOption.css +0 -4
- package/src/table/Table.css +0 -274
- package/src/tabs/Tabs.css +0 -121
- package/src/tile/Tile.css +0 -68
- package/src/tooltip/Tooltip.css +0 -50
- package/src/typeahead/Typeahead.css +0 -187
- package/src/typeahead/typeaheadOption/TypeaheadOption.css +0 -9
- package/src/upload/Upload.css +0 -34
- package/src/uploadInput/UploadInput.css +0 -18
- package/src/uploadInput/uploadButton/UploadButton.css +0 -90
- package/src/uploadInput/uploadItem/UploadItem.css +0 -166
package/src/modal/Modal.css
DELETED
|
@@ -1,82 +0,0 @@
|
|
|
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: none;
|
|
10
|
-
background: #ffffff;
|
|
11
|
-
background: var(--color-background-elevated);
|
|
12
|
-
border-radius: 32px;
|
|
13
|
-
border-radius: var(--radius-xlarge);
|
|
14
|
-
}
|
|
15
|
-
.tw-modal.in .tw-modal-dialog {
|
|
16
|
-
transform: translate(0);
|
|
17
|
-
}
|
|
18
|
-
.tw-modal .tw-modal-content {
|
|
19
|
-
width: 100%;
|
|
20
|
-
background-color: transparent;
|
|
21
|
-
}
|
|
22
|
-
.tw-modal .tw-modal-content .tw-modal-body {
|
|
23
|
-
flex: 1;
|
|
24
|
-
word-break: break-word;
|
|
25
|
-
}
|
|
26
|
-
.tw-modal .tw-modal-content .tw-modal-body--scrollable {
|
|
27
|
-
overflow-y: auto;
|
|
28
|
-
}
|
|
29
|
-
.tw-modal .tw-modal-content .tw-modal-header,
|
|
30
|
-
.tw-modal .tw-modal-content .tw-modal-footer,
|
|
31
|
-
.tw-modal .tw-modal-content .tw-modal-body {
|
|
32
|
-
padding: 16px;
|
|
33
|
-
padding: var(--size-16);
|
|
34
|
-
}
|
|
35
|
-
.tw-modal .tw-modal-content .tw-modal-title {
|
|
36
|
-
max-width: 85%;
|
|
37
|
-
}
|
|
38
|
-
.tw-modal .tw-modal-content .tw-modal-footer {
|
|
39
|
-
padding-top: 12px;
|
|
40
|
-
padding-top: var(--size-12);
|
|
41
|
-
padding-bottom: 12px;
|
|
42
|
-
padding-bottom: var(--size-12);
|
|
43
|
-
}
|
|
44
|
-
@media (min-width: 600px) {
|
|
45
|
-
.tw-modal .tw-modal-content .tw-modal-header,
|
|
46
|
-
.tw-modal .tw-modal-content .tw-modal-footer {
|
|
47
|
-
padding: 24px;
|
|
48
|
-
padding: var(--size-24);
|
|
49
|
-
}
|
|
50
|
-
.tw-modal .tw-modal-content .tw-modal-body {
|
|
51
|
-
padding: 0 24px;
|
|
52
|
-
padding: 0 var(--size-24);
|
|
53
|
-
}
|
|
54
|
-
}
|
|
55
|
-
@media (min-width: 320.02px) {
|
|
56
|
-
.tw-modal-dialog.tw-modal-sm {
|
|
57
|
-
width: 300px;
|
|
58
|
-
}
|
|
59
|
-
}
|
|
60
|
-
@media (min-width: 600px) {
|
|
61
|
-
.tw-modal {
|
|
62
|
-
padding: 40px;
|
|
63
|
-
padding: var(--size-40);
|
|
64
|
-
}
|
|
65
|
-
.tw-modal .tw-modal-dialog .tw-modal-content {
|
|
66
|
-
border-radius: 10px;
|
|
67
|
-
border-radius: var(--radius-small);
|
|
68
|
-
}
|
|
69
|
-
.tw-modal .tw-modal-dialog.tw-modal-md {
|
|
70
|
-
width: 576px;
|
|
71
|
-
}
|
|
72
|
-
}
|
|
73
|
-
@media (min-width: 840px) {
|
|
74
|
-
.tw-modal-dialog.tw-modal-lg {
|
|
75
|
-
width: 792px;
|
|
76
|
-
}
|
|
77
|
-
}
|
|
78
|
-
@media (min-width: 1160px) {
|
|
79
|
-
.tw-modal-dialog.tw-modal-xl {
|
|
80
|
-
width: 1000px;
|
|
81
|
-
}
|
|
82
|
-
}
|
|
@@ -1,78 +0,0 @@
|
|
|
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 .money-input-currency-flag {
|
|
19
|
-
display: flex;
|
|
20
|
-
align-items: center;
|
|
21
|
-
}
|
|
22
|
-
.tw-money-input.input-group-sm .form-control {
|
|
23
|
-
min-height: 34px;
|
|
24
|
-
}
|
|
25
|
-
.tw-money-input.input-group-sm .np-text-title-subsection {
|
|
26
|
-
font-size: 0.875rem;
|
|
27
|
-
font-size: var(--font-size-14);
|
|
28
|
-
}
|
|
29
|
-
.tw-money-input.input-group-md .form-control {
|
|
30
|
-
min-height: 53px;
|
|
31
|
-
}
|
|
32
|
-
.tw-money-input.input-group-md .np-text-title-subsection {
|
|
33
|
-
font-size: 1rem;
|
|
34
|
-
font-size: var(--font-size-16);
|
|
35
|
-
}
|
|
36
|
-
.tw-money-input .input-group-addon {
|
|
37
|
-
flex-shrink: 0;
|
|
38
|
-
}
|
|
39
|
-
.tw-money-input .input-group-addon:not(.amount-currency-select-btn) {
|
|
40
|
-
display: flex;
|
|
41
|
-
align-items: center;
|
|
42
|
-
flex-shrink: 0;
|
|
43
|
-
width: auto;
|
|
44
|
-
}
|
|
45
|
-
.tw-money-input .input-group-addon:not(.amount-currency-select-btn):not(.tw-money-input__fixed-currency):not(:has(~ .tw-money-input__fixed-currency)) {
|
|
46
|
-
padding-right: 0 !important;
|
|
47
|
-
}
|
|
48
|
-
[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)) {
|
|
49
|
-
padding-left: 0 !important;
|
|
50
|
-
padding-right: 0 !important;
|
|
51
|
-
padding-right: initial !important;
|
|
52
|
-
}
|
|
53
|
-
.tw-money-input .amount-currency-select-btn {
|
|
54
|
-
flex-shrink: 0;
|
|
55
|
-
width: auto;
|
|
56
|
-
line-height: normal;
|
|
57
|
-
}
|
|
58
|
-
.tw-money-input .np-button-input {
|
|
59
|
-
border-top-right-radius: 10px !important;
|
|
60
|
-
border-top-right-radius: var(--radius-small) !important;
|
|
61
|
-
border-bottom-right-radius: 10px !important;
|
|
62
|
-
border-bottom-right-radius: var(--radius-small) !important;
|
|
63
|
-
}
|
|
64
|
-
.tw-money-input .np-button-input:not(.disabled):not(:disabled):focus-visible {
|
|
65
|
-
border-radius: 10px !important;
|
|
66
|
-
border-radius: var(--radius-small) !important;
|
|
67
|
-
}
|
|
68
|
-
.tw-money-input .np-button-input,
|
|
69
|
-
.tw-money-input .np-button-input:active,
|
|
70
|
-
.tw-money-input .np-button-input:not(.disabled):not(:disabled):hover,
|
|
71
|
-
.has-error .tw-money-input .np-button-input,
|
|
72
|
-
.has-error .tw-money-input .np-button-input:not(.disabled):not(:disabled):hover {
|
|
73
|
-
box-shadow: none;
|
|
74
|
-
}
|
|
75
|
-
.tw-money-input:not(.disabled):not(:disabled):not(.np-button-input:active):has(.np-button-input:focus-visible) {
|
|
76
|
-
box-shadow: inset 0 0 0 1px #c9cbce !important;
|
|
77
|
-
box-shadow: inset 0 0 0 1px var(--color-interactive-secondary) !important;
|
|
78
|
-
}
|
|
@@ -1,69 +0,0 @@
|
|
|
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,13 +0,0 @@
|
|
|
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
|
-
}
|
package/src/nudge/Nudge.css
DELETED
|
@@ -1,206 +0,0 @@
|
|
|
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(--nudge-background-color);
|
|
19
|
-
border-radius: 16px;
|
|
20
|
-
border-radius: var(--nudge-border-radius);
|
|
21
|
-
display: flex;
|
|
22
|
-
flex: 1;
|
|
23
|
-
gap: 16px;
|
|
24
|
-
gap: var(--nudge-flex-gap);
|
|
25
|
-
min-height: 106px;
|
|
26
|
-
min-height: var(--nudge-min-height);
|
|
27
|
-
padding: 0;
|
|
28
|
-
padding: var(--nudge-padding);
|
|
29
|
-
position: relative;
|
|
30
|
-
overflow: hidden;
|
|
31
|
-
width: 100%;
|
|
32
|
-
}
|
|
33
|
-
.wds-nudge-media {
|
|
34
|
-
flex-basis: var(--nudge-media-width);
|
|
35
|
-
max-width: var(--nudge-media-width);
|
|
36
|
-
}
|
|
37
|
-
.wds-nudge-media-globe {
|
|
38
|
-
margin-left: -76px;
|
|
39
|
-
margin-top: -5px;
|
|
40
|
-
position: absolute;
|
|
41
|
-
width: 161px;
|
|
42
|
-
}
|
|
43
|
-
[dir="rtl"] .wds-nudge-media-globe {
|
|
44
|
-
transform: scaleX(-1);
|
|
45
|
-
margin-left: 0;
|
|
46
|
-
margin-right: -76px;
|
|
47
|
-
}
|
|
48
|
-
.wds-nudge-media-lock {
|
|
49
|
-
margin-left: -11px;
|
|
50
|
-
margin-top: 18px;
|
|
51
|
-
position: absolute;
|
|
52
|
-
width: 104px;
|
|
53
|
-
transform: rotate(-14.86deg);
|
|
54
|
-
}
|
|
55
|
-
[dir="rtl"] .wds-nudge-media-lock {
|
|
56
|
-
transform: scaleX(-1);
|
|
57
|
-
margin-left: 0;
|
|
58
|
-
margin-right: -11px;
|
|
59
|
-
}
|
|
60
|
-
.wds-nudge-media-wallet {
|
|
61
|
-
margin-left: -15px;
|
|
62
|
-
margin-top: 18px;
|
|
63
|
-
position: absolute;
|
|
64
|
-
width: 107px;
|
|
65
|
-
}
|
|
66
|
-
[dir="rtl"] .wds-nudge-media-wallet {
|
|
67
|
-
transform: scaleX(-1);
|
|
68
|
-
margin-left: 0;
|
|
69
|
-
margin-right: -15px;
|
|
70
|
-
}
|
|
71
|
-
.wds-nudge-media-gear {
|
|
72
|
-
margin-left: -18px;
|
|
73
|
-
margin-top: 19px;
|
|
74
|
-
position: absolute;
|
|
75
|
-
width: 111px;
|
|
76
|
-
}
|
|
77
|
-
[dir="rtl"] .wds-nudge-media-gear {
|
|
78
|
-
transform: scaleX(-1);
|
|
79
|
-
margin-left: 0;
|
|
80
|
-
margin-right: -18px;
|
|
81
|
-
}
|
|
82
|
-
.wds-nudge-media-invite-letter {
|
|
83
|
-
margin-left: -17px;
|
|
84
|
-
margin-top: -2px;
|
|
85
|
-
position: absolute;
|
|
86
|
-
width: 105px;
|
|
87
|
-
}
|
|
88
|
-
[dir="rtl"] .wds-nudge-media-invite-letter {
|
|
89
|
-
transform: scaleX(-1);
|
|
90
|
-
margin-left: 0;
|
|
91
|
-
margin-right: -17px;
|
|
92
|
-
}
|
|
93
|
-
.wds-nudge-media-personal-card,
|
|
94
|
-
.wds-nudge-media-business-card {
|
|
95
|
-
margin-left: -15px;
|
|
96
|
-
margin-top: 2px;
|
|
97
|
-
position: absolute;
|
|
98
|
-
width: 104px;
|
|
99
|
-
}
|
|
100
|
-
[dir="rtl"] .wds-nudge-media-personal-card,
|
|
101
|
-
[dir="rtl"] .wds-nudge-media-business-card {
|
|
102
|
-
transform: scaleX(-1);
|
|
103
|
-
margin-left: 0;
|
|
104
|
-
margin-right: -15px;
|
|
105
|
-
}
|
|
106
|
-
.wds-nudge-media-heart {
|
|
107
|
-
margin-left: -7px;
|
|
108
|
-
margin-top: 11px;
|
|
109
|
-
position: absolute;
|
|
110
|
-
width: 95px;
|
|
111
|
-
}
|
|
112
|
-
[dir="rtl"] .wds-nudge-media-heart {
|
|
113
|
-
transform: scaleX(-1);
|
|
114
|
-
margin-left: 0;
|
|
115
|
-
margin-right: -7px;
|
|
116
|
-
}
|
|
117
|
-
.wds-nudge-media-multi-currency {
|
|
118
|
-
margin-left: -30px;
|
|
119
|
-
margin-top: 1px;
|
|
120
|
-
position: absolute;
|
|
121
|
-
width: 131px;
|
|
122
|
-
}
|
|
123
|
-
[dir="rtl"] .wds-nudge-media-multi-currency {
|
|
124
|
-
transform: scaleX(-1);
|
|
125
|
-
margin-left: 0;
|
|
126
|
-
margin-right: -30px;
|
|
127
|
-
}
|
|
128
|
-
.wds-nudge-media-shopping-bag {
|
|
129
|
-
margin-left: -9px;
|
|
130
|
-
margin-top: 14px;
|
|
131
|
-
position: absolute;
|
|
132
|
-
width: 116px;
|
|
133
|
-
}
|
|
134
|
-
[dir="rtl"] .wds-nudge-media-shopping-bag {
|
|
135
|
-
transform: scaleX(-1);
|
|
136
|
-
margin-left: 0;
|
|
137
|
-
margin-right: -9px;
|
|
138
|
-
}
|
|
139
|
-
.wds-nudge-media-flower {
|
|
140
|
-
margin-left: -24px;
|
|
141
|
-
margin-top: 11px;
|
|
142
|
-
position: absolute;
|
|
143
|
-
width: 156px;
|
|
144
|
-
}
|
|
145
|
-
[dir="rtl"] .wds-nudge-media-flower {
|
|
146
|
-
transform: scaleX(-1);
|
|
147
|
-
margin-left: 0;
|
|
148
|
-
margin-right: -24px;
|
|
149
|
-
}
|
|
150
|
-
.wds-nudge-media-backpack {
|
|
151
|
-
margin-left: -16px;
|
|
152
|
-
margin-top: 6px;
|
|
153
|
-
position: absolute;
|
|
154
|
-
width: 123px;
|
|
155
|
-
}
|
|
156
|
-
[dir="rtl"] .wds-nudge-media-backpack {
|
|
157
|
-
transform: scaleX(-1);
|
|
158
|
-
margin-left: 0;
|
|
159
|
-
margin-right: -16px;
|
|
160
|
-
}
|
|
161
|
-
.wds-nudge-media-gift-box {
|
|
162
|
-
margin-left: -22px;
|
|
163
|
-
margin-top: 6px;
|
|
164
|
-
position: absolute;
|
|
165
|
-
width: 129px;
|
|
166
|
-
}
|
|
167
|
-
[dir="rtl"] .wds-nudge-media-gift-box {
|
|
168
|
-
transform: scaleX(-1);
|
|
169
|
-
margin-left: 0;
|
|
170
|
-
margin-right: -22px;
|
|
171
|
-
}
|
|
172
|
-
.wds-nudge-container {
|
|
173
|
-
align-items: stretch;
|
|
174
|
-
display: flex;
|
|
175
|
-
flex: 1;
|
|
176
|
-
gap: var(--nudge-flex-gap);
|
|
177
|
-
justify-content: space-between;
|
|
178
|
-
padding: var(--nudge-container-padding) var(--nudge-container-padding) var(--nudge-container-padding) 0;
|
|
179
|
-
width: 100%;
|
|
180
|
-
}
|
|
181
|
-
[dir="rtl"] .wds-nudge-container {
|
|
182
|
-
padding: var(--nudge-container-padding) 0 var(--nudge-container-padding) var(--nudge-container-padding);
|
|
183
|
-
}
|
|
184
|
-
.np-theme-personal .wds-nudge-container:first-child {
|
|
185
|
-
padding-left: var(--nudge-flex-gap);
|
|
186
|
-
}
|
|
187
|
-
.wds-nudge-container .wds-nudge-content {
|
|
188
|
-
align-self: var(--nudge-content-flex-alignment);
|
|
189
|
-
display: flex;
|
|
190
|
-
flex-direction: column;
|
|
191
|
-
align-items: flex-start;
|
|
192
|
-
}
|
|
193
|
-
.wds-nudge-container .wds-nudge-content .wds-nudge-title {
|
|
194
|
-
color: var(--nudge-title-color);
|
|
195
|
-
font-weight: var(--nudge-title-font-weight);
|
|
196
|
-
line-height: var(--nudge-title-line-height);
|
|
197
|
-
margin: 0;
|
|
198
|
-
}
|
|
199
|
-
.wds-nudge-container .wds-nudge-content .wds-nudge-link {
|
|
200
|
-
font-weight: 600;
|
|
201
|
-
font-weight: var(--font-weight-semi-bold);
|
|
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);
|
|
206
|
-
}
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
.np-overlay-header .np-overlay-header__content {
|
|
2
|
-
min-height: 97px;
|
|
3
|
-
width: 100%;
|
|
4
|
-
min-width: 320px;
|
|
5
|
-
max-width: calc(1160px - 36px);
|
|
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,28 +0,0 @@
|
|
|
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__country-select--with-input-group-addon-start .np-button-input {
|
|
22
|
-
padding-inline-start: 48px;
|
|
23
|
-
padding-inline-start: var(--size-48);
|
|
24
|
-
padding-inline-end: 26px !important;
|
|
25
|
-
}
|
|
26
|
-
.tw-telephone__number-input {
|
|
27
|
-
flex: auto 1 1;
|
|
28
|
-
}
|
package/src/popover/Popover.css
DELETED
|
@@ -1,76 +0,0 @@
|
|
|
1
|
-
.np-theme-personal .np-popover__container {
|
|
2
|
-
border-radius: 16px;
|
|
3
|
-
border-radius: var(--radius-medium);
|
|
4
|
-
}
|
|
5
|
-
.np-popover__container .np-popover__content {
|
|
6
|
-
color: #5d7079;
|
|
7
|
-
color: var(--color-content-secondary);
|
|
8
|
-
font-size: 0.875rem;
|
|
9
|
-
font-size: var(--font-size-14);
|
|
10
|
-
}
|
|
11
|
-
.np-popover__container .np-popover__content p:last-child {
|
|
12
|
-
margin-bottom: 0;
|
|
13
|
-
}
|
|
14
|
-
.np-popover__container.np-panel .np-popover__content {
|
|
15
|
-
padding: 16px 24px;
|
|
16
|
-
padding: var(--size-16) var(--size-24);
|
|
17
|
-
max-width: 276px;
|
|
18
|
-
}
|
|
19
|
-
.np-theme-personal .np-popover__container.np-panel .np-popover__content {
|
|
20
|
-
padding: 24px;
|
|
21
|
-
padding: var(--size-24);
|
|
22
|
-
}
|
|
23
|
-
.np-popover__container.np-bottom-sheet .np-popover__title {
|
|
24
|
-
margin: 0;
|
|
25
|
-
color: #37517e;
|
|
26
|
-
color: var(--color-content-primary);
|
|
27
|
-
line-height: 1.2;
|
|
28
|
-
line-height: var(--line-height-title);
|
|
29
|
-
letter-spacing: 0;
|
|
30
|
-
margin-bottom: 0;
|
|
31
|
-
margin-bottom: initial;
|
|
32
|
-
font-weight: 600;
|
|
33
|
-
font-weight: var(--font-weight-semi-bold);
|
|
34
|
-
font-size: 1.625rem;
|
|
35
|
-
font-size: var(--font-size-26);
|
|
36
|
-
letter-spacing: -0.02em;
|
|
37
|
-
line-height: 122%;
|
|
38
|
-
}
|
|
39
|
-
@supports (hyphenate-limit-chars: 1) {
|
|
40
|
-
.np-popover__container.np-bottom-sheet .np-popover__title {
|
|
41
|
-
hyphens: auto;
|
|
42
|
-
hyphenate-limit-chars: 7 3;
|
|
43
|
-
}
|
|
44
|
-
@media (min-width: 840px) {
|
|
45
|
-
.np-popover__container.np-bottom-sheet .np-popover__title {
|
|
46
|
-
hyphenate-limit-chars: 8 3;
|
|
47
|
-
}
|
|
48
|
-
}
|
|
49
|
-
@media (min-width: 1160px) {
|
|
50
|
-
.np-popover__container.np-bottom-sheet .np-popover__title {
|
|
51
|
-
hyphenate-limit-chars: 10 4 3;
|
|
52
|
-
}
|
|
53
|
-
}
|
|
54
|
-
}
|
|
55
|
-
@supports (not (hyphenate-limit-chars: 1)) and (-webkit-hyphenate-limit-before: 1) {
|
|
56
|
-
.np-popover__container.np-bottom-sheet .np-popover__title {
|
|
57
|
-
hyphens: auto;
|
|
58
|
-
-webkit-hyphenate-limit-before: 3;
|
|
59
|
-
-webkit-hyphenate-limit-after: 3;
|
|
60
|
-
}
|
|
61
|
-
@media (min-width: 1160px) {
|
|
62
|
-
.np-popover__container.np-bottom-sheet .np-popover__title {
|
|
63
|
-
-webkit-hyphenate-limit-before: 4;
|
|
64
|
-
}
|
|
65
|
-
}
|
|
66
|
-
}
|
|
67
|
-
.np-popover__container.np-bottom-sheet .np-popover__title + p,
|
|
68
|
-
.np-popover__container.np-bottom-sheet .np-popover__title + ul:not(.list-unstyled),
|
|
69
|
-
.np-popover__container.np-bottom-sheet .np-popover__title + ol:not(.list-unstyled) {
|
|
70
|
-
margin-top: 8px;
|
|
71
|
-
margin-top: var(--size-8);
|
|
72
|
-
}
|
|
73
|
-
.np-popover__container.np-bottom-sheet .np-popover__content {
|
|
74
|
-
padding: 32px 24px;
|
|
75
|
-
padding: var(--size-32) var(--size-24);
|
|
76
|
-
}
|
|
@@ -1,43 +0,0 @@
|
|
|
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,14 +0,0 @@
|
|
|
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
|
-
}
|