@transferwise/components 0.0.0-experimental-433b018 → 0.0.0-experimental-642671c
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/main.css +1242 -1295
- package/build/styles/accordion/Accordion.css +19 -25
- package/build/styles/actionButton/ActionButton.css +6 -8
- package/build/styles/alert/Alert.css +2 -2
- package/build/styles/avatar/Avatar.css +65 -65
- package/build/styles/avatarLayout/AvatarLayout.css +11 -11
- package/build/styles/avatarView/AvatarView.css +3 -3
- package/build/styles/avatarView/Dot.css +3 -3
- package/build/styles/badge/Badge.css +10 -10
- package/build/styles/button/Button.css +6 -6
- package/build/styles/button/LegacyButton.css +7 -6
- package/build/styles/card/Card.css +16 -28
- package/build/styles/carousel/Carousel.css +27 -28
- package/build/styles/checkboxButton/CheckboxButton.css +13 -12
- package/build/styles/chips/Chip.css +27 -28
- package/build/styles/common/Option/Option.css +42 -43
- package/build/styles/common/baseCard/BaseCard.css +5 -5
- package/build/styles/common/bottomSheet/BottomSheet.css +18 -30
- package/build/styles/common/circle/Circle.css +10 -10
- package/build/styles/common/closeButton/CloseButton.css +36 -36
- package/build/styles/common/panel/Panel.css +7 -7
- package/build/styles/criticalBanner/CriticalCommsBanner.css +6 -6
- package/build/styles/dateInput/DateInput.css +4 -4
- package/build/styles/dateLookup/DateLookup.css +9 -10
- package/build/styles/dateLookup/dateTrigger/DateTrigger.css +13 -12
- package/build/styles/definitionList/DefinitionList.css +12 -11
- package/build/styles/dimmer/Dimmer.css +15 -13
- package/build/styles/divider/Divider.css +7 -8
- package/build/styles/drawer/Drawer.css +15 -16
- package/build/styles/dropFade/DropFade.css +2 -2
- package/build/styles/expressiveMoneyInput/ExpressiveMoneyInput.css +11 -11
- package/build/styles/expressiveMoneyInput/amountInput/AmountInput.css +4 -4
- package/build/styles/expressiveMoneyInput/chevron/Chevron.css +5 -5
- package/build/styles/field/Field.css +5 -5
- package/build/styles/flowNavigation/FlowNavigation.css +28 -29
- package/build/styles/flowNavigation/animatedLabel/AnimatedLabel.css +5 -5
- package/build/styles/header/Header.css +9 -11
- package/build/styles/image/Image.css +7 -7
- package/build/styles/info/Info.css +1 -1
- package/build/styles/inputs/Input.css +25 -24
- package/build/styles/inputs/InputGroup.css +9 -9
- package/build/styles/inputs/SelectInput.css +47 -54
- package/build/styles/inputs/TextArea.css +27 -26
- package/build/styles/instructionsList/InstructionsList.css +5 -5
- package/build/styles/legacylistItem/LegacyListItem.css +1 -1
- package/build/styles/link/Link.css +6 -5
- package/build/styles/listItem/ListItem.css +35 -38
- package/build/styles/listItem/ListItem.grid.css +7 -7
- package/build/styles/loader/Loader.css +30 -30
- package/build/styles/main.css +1242 -1295
- package/build/styles/modal/Modal.css +16 -17
- package/build/styles/moneyInput/MoneyInput.css +16 -14
- package/build/styles/navigationOption/NavigationOption.css +9 -9
- package/build/styles/navigationOptionsList/NavigationOptionsList.css +6 -5
- package/build/styles/nudge/Nudge.css +70 -72
- package/build/styles/overlayHeader/OverlayHeader.css +6 -7
- package/build/styles/phoneNumberInput/PhoneNumberInput.css +7 -6
- package/build/styles/popover/Popover.css +10 -13
- package/build/styles/progress/Progress.css +3 -3
- package/build/styles/progressBar/ProgressBar.css +4 -4
- package/build/styles/promoCard/PromoCard.css +35 -36
- package/build/styles/prompt/ActionPrompt/ActionPrompt.css +8 -8
- package/build/styles/prompt/InfoPrompt/InfoPrompt.css +7 -7
- package/build/styles/prompt/InlinePrompt/InlinePrompt.css +6 -5
- package/build/styles/prompt/PrimitivePrompt/PrimitivePrompt.css +6 -6
- package/build/styles/radioGroup/RadioGroup.css +1 -1
- package/build/styles/section/Section.css +6 -6
- package/build/styles/segmentedControl/SegmentedControl.css +15 -18
- package/build/styles/select/Select.css +76 -74
- package/build/styles/slidingPanel/SlidingPanel.css +21 -17
- package/build/styles/snackbar/Snackbar.css +27 -29
- package/build/styles/stepper/Stepper.css +8 -8
- package/build/styles/summary/Summary.css +26 -25
- package/build/styles/switch/Switch.css +4 -5
- package/build/styles/table/Table.css +57 -60
- package/build/styles/tabs/Tabs.css +14 -18
- package/build/styles/tile/Tile.css +12 -12
- package/build/styles/tooltip/Tooltip.css +2 -2
- package/build/styles/typeahead/Typeahead.css +48 -46
- package/build/styles/upload/Upload.css +10 -11
- package/build/styles/uploadInput/UploadInput.css +4 -4
- package/build/styles/uploadInput/uploadButton/UploadButton.css +19 -20
- package/build/styles/uploadInput/uploadItem/UploadItem.css +44 -45
- package/package.json +2 -2
- package/src/accordion/Accordion.css +19 -25
- package/src/accordion/Accordion.less +2 -2
- package/src/actionButton/ActionButton.css +6 -8
- package/src/alert/Alert.css +2 -2
- package/src/avatar/Avatar.css +65 -65
- package/src/avatarLayout/AvatarLayout.css +11 -11
- package/src/avatarView/AvatarView.css +3 -3
- package/src/avatarView/Dot.css +3 -3
- package/src/badge/Badge.css +10 -10
- package/src/button/Button.css +6 -6
- package/src/button/LegacyButton.css +7 -6
- package/src/card/Card.css +16 -28
- package/src/carousel/Carousel.css +27 -28
- package/src/checkboxButton/CheckboxButton.css +13 -12
- package/src/chips/Chip.css +27 -28
- package/src/common/Option/Option.css +42 -43
- package/src/common/baseCard/BaseCard.css +5 -5
- package/src/common/bottomSheet/BottomSheet.css +18 -30
- package/src/common/circle/Circle.css +10 -10
- package/src/common/closeButton/CloseButton.css +36 -36
- package/src/common/panel/Panel.css +7 -7
- package/src/criticalBanner/CriticalCommsBanner.css +6 -6
- package/src/dateInput/DateInput.css +4 -4
- package/src/dateLookup/DateLookup.css +9 -10
- package/src/dateLookup/dateTrigger/DateTrigger.css +13 -12
- package/src/definitionList/DefinitionList.css +12 -11
- package/src/dimmer/Dimmer.css +15 -13
- package/src/divider/Divider.css +7 -8
- package/src/drawer/Drawer.css +15 -16
- package/src/dropFade/DropFade.css +2 -2
- package/src/expressiveMoneyInput/ExpressiveMoneyInput.css +11 -11
- package/src/expressiveMoneyInput/amountInput/AmountInput.css +4 -4
- package/src/expressiveMoneyInput/chevron/Chevron.css +5 -5
- package/src/field/Field.css +5 -5
- package/src/flowNavigation/FlowNavigation.css +28 -29
- package/src/flowNavigation/animatedLabel/AnimatedLabel.css +5 -5
- package/src/header/Header.css +9 -11
- package/src/image/Image.css +7 -7
- package/src/info/Info.css +1 -1
- package/src/inputs/Input.css +25 -24
- package/src/inputs/InputGroup.css +9 -9
- package/src/inputs/SelectInput.css +47 -54
- package/src/inputs/TextArea.css +27 -26
- package/src/instructionsList/InstructionsList.css +5 -5
- package/src/legacylistItem/LegacyListItem.css +1 -1
- package/src/link/Link.css +6 -5
- package/src/listItem/ListItem.css +35 -38
- package/src/listItem/ListItem.grid.css +7 -7
- package/src/loader/Loader.css +30 -30
- package/src/main.css +1242 -1295
- package/src/modal/Modal.css +16 -17
- package/src/moneyInput/MoneyInput.css +16 -14
- package/src/navigationOption/NavigationOption.css +9 -9
- package/src/navigationOptionsList/NavigationOptionsList.css +6 -5
- package/src/nudge/Nudge.css +70 -72
- package/src/overlayHeader/OverlayHeader.css +6 -7
- package/src/phoneNumberInput/PhoneNumberInput.css +7 -6
- package/src/popover/Popover.css +10 -13
- package/src/progress/Progress.css +3 -3
- package/src/progressBar/ProgressBar.css +4 -4
- package/src/promoCard/PromoCard.css +35 -36
- package/src/prompt/ActionPrompt/ActionPrompt.css +8 -8
- package/src/prompt/InfoPrompt/InfoPrompt.css +7 -7
- package/src/prompt/InlinePrompt/InlinePrompt.css +6 -5
- package/src/prompt/PrimitivePrompt/PrimitivePrompt.css +6 -6
- package/src/radioGroup/RadioGroup.css +1 -1
- package/src/section/Section.css +6 -6
- package/src/segmentedControl/SegmentedControl.css +15 -18
- package/src/select/Select.css +76 -74
- package/src/slidingPanel/SlidingPanel.css +21 -17
- package/src/snackbar/Snackbar.css +27 -29
- package/src/stepper/Stepper.css +8 -8
- package/src/summary/Summary.css +26 -25
- package/src/switch/Switch.css +4 -5
- package/src/table/Table.css +57 -60
- package/src/tabs/Tabs.css +14 -18
- package/src/tile/Tile.css +12 -12
- package/src/tooltip/Tooltip.css +2 -2
- package/src/typeahead/Typeahead.css +48 -46
- package/src/upload/Upload.css +10 -11
- package/src/uploadInput/UploadInput.css +4 -4
- package/src/uploadInput/uploadButton/UploadButton.css +19 -20
- package/src/uploadInput/uploadItem/UploadItem.css +44 -45
|
@@ -17,20 +17,19 @@
|
|
|
17
17
|
.np-Card-image {
|
|
18
18
|
transform: scale(var(--Card-image-scale)) translateY(var(--Card-image-translate));
|
|
19
19
|
transition: transform 0.5s ease-in-out;
|
|
20
|
-
margin
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
inset-inline-start: calc(var(--size-24) * -1);
|
|
20
|
+
margin: 0 auto;
|
|
21
|
+
width: 100%;
|
|
22
|
+
height: auto;
|
|
23
|
+
width: calc(100% + 48px);
|
|
24
|
+
width: calc(100% + var(--size-48));
|
|
25
|
+
left: calc(24px * -1);
|
|
26
|
+
left: calc(var(--size-24) * -1);
|
|
28
27
|
position: relative;
|
|
29
28
|
}
|
|
30
29
|
[dir="rtl"] .np-Card-image {
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
30
|
+
left: auto;
|
|
31
|
+
right: calc(24px * -1);
|
|
32
|
+
right: calc(var(--size-24) * -1);
|
|
34
33
|
}
|
|
35
34
|
.np-Card-description {
|
|
36
35
|
color: #5d7079;
|
|
@@ -38,23 +37,23 @@
|
|
|
38
37
|
}
|
|
39
38
|
.np-Card-indicator {
|
|
40
39
|
position: absolute;
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
40
|
+
right: 8px;
|
|
41
|
+
right: var(--size-8);
|
|
42
|
+
bottom: 8px;
|
|
43
|
+
bottom: var(--size-8);
|
|
45
44
|
display: flex;
|
|
46
45
|
gap: 4px;
|
|
47
46
|
gap: var(--size-4);
|
|
48
47
|
}
|
|
49
48
|
[dir="rtl"] .np-Card-indicator {
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
49
|
+
right: auto;
|
|
50
|
+
left: 8px;
|
|
51
|
+
left: var(--size-8);
|
|
53
52
|
}
|
|
54
53
|
.np-Card-indicatorText {
|
|
55
54
|
display: inline-block;
|
|
56
55
|
vertical-align: middle;
|
|
57
|
-
text-align:
|
|
56
|
+
text-align: left;
|
|
58
57
|
background: var(--Card-indicator-text-background-color);
|
|
59
58
|
padding: 16px;
|
|
60
59
|
padding: var(--size-16);
|
|
@@ -133,10 +132,10 @@
|
|
|
133
132
|
.np-Card--link .np-Card-titleLink::after {
|
|
134
133
|
content: '';
|
|
135
134
|
display: block;
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
135
|
+
width: 100%;
|
|
136
|
+
height: 100%;
|
|
137
|
+
left: 0;
|
|
138
|
+
top: 0;
|
|
140
139
|
position: absolute;
|
|
141
140
|
z-index: 10;
|
|
142
141
|
}
|
|
@@ -150,22 +149,22 @@
|
|
|
150
149
|
border-radius: 9999px;
|
|
151
150
|
border-radius: var(--radius-full);
|
|
152
151
|
display: flex;
|
|
153
|
-
|
|
154
|
-
|
|
152
|
+
height: 40px;
|
|
153
|
+
height: var(--size-40);
|
|
155
154
|
position: absolute;
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
155
|
+
right: 8px;
|
|
156
|
+
right: var(--size-8);
|
|
157
|
+
top: 8px;
|
|
158
|
+
top: var(--size-8);
|
|
159
|
+
width: 40px;
|
|
160
|
+
width: var(--size-40);
|
|
162
161
|
justify-content: center;
|
|
163
162
|
align-items: center;
|
|
164
163
|
}
|
|
165
164
|
[dir="rtl"] .np-Card--checked.is-checked .np-Card-check {
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
165
|
+
right: auto;
|
|
166
|
+
left: 8px;
|
|
167
|
+
left: var(--size-8);
|
|
169
168
|
}
|
|
170
169
|
.np-Card--checked.is-checked:focus-visible:not(.is-disabled):not(:disabled) {
|
|
171
170
|
box-shadow: none;
|
|
@@ -175,7 +174,7 @@
|
|
|
175
174
|
flex-direction: column;
|
|
176
175
|
gap: 24px;
|
|
177
176
|
gap: var(--size-24);
|
|
178
|
-
|
|
177
|
+
width: 100%;
|
|
179
178
|
}
|
|
180
179
|
@media (min-width: 768px) {
|
|
181
180
|
.np-CardGroup {
|
|
@@ -183,5 +182,5 @@
|
|
|
183
182
|
}
|
|
184
183
|
}
|
|
185
184
|
.np-CardGroup .np-Card.np-Card--promoCard {
|
|
186
|
-
max-
|
|
185
|
+
max-width: 100%;
|
|
187
186
|
}
|
|
@@ -5,21 +5,21 @@
|
|
|
5
5
|
--Prompt-border-radius: var(--radius-large);
|
|
6
6
|
}
|
|
7
7
|
.wds-action-prompt--media-image {
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
8
|
+
width: 48px;
|
|
9
|
+
width: var(--size-48);
|
|
10
|
+
height: 48px;
|
|
11
|
+
height: var(--size-48);
|
|
12
12
|
-o-object-fit: contain;
|
|
13
13
|
object-fit: contain;
|
|
14
14
|
}
|
|
15
15
|
@media (max-width: 767px) {
|
|
16
16
|
.wds-action-prompt--with-two-actions .wds-prompt__actions-wrapper .wds-Button {
|
|
17
17
|
flex: 1 1 calc(50% - (var(--Prompt-actions-gap) / 2));
|
|
18
|
-
min-
|
|
19
|
-
min-
|
|
18
|
+
min-width: -moz-fit-content;
|
|
19
|
+
min-width: fit-content;
|
|
20
20
|
}
|
|
21
21
|
}
|
|
22
22
|
.wds-action-prompt__content {
|
|
23
|
-
max-
|
|
24
|
-
max-
|
|
23
|
+
max-width: calc(48px * 10);
|
|
24
|
+
max-width: calc(var(--size-48) * 10);
|
|
25
25
|
}
|
|
@@ -7,8 +7,8 @@
|
|
|
7
7
|
display: flex;
|
|
8
8
|
flex-direction: column;
|
|
9
9
|
justify-content: center;
|
|
10
|
-
max-
|
|
11
|
-
max-
|
|
10
|
+
max-width: calc(48px * 10);
|
|
11
|
+
max-width: calc(var(--size-48) * 10);
|
|
12
12
|
}
|
|
13
13
|
.wds-info-prompt__content:has(.wds-info-prompt__title) {
|
|
14
14
|
justify-content: flex-start;
|
|
@@ -20,13 +20,13 @@
|
|
|
20
20
|
}
|
|
21
21
|
.wds-info-prompt__action {
|
|
22
22
|
align-self: flex-start;
|
|
23
|
-
margin-
|
|
23
|
+
margin-top: var(--Prompt-gap);
|
|
24
24
|
}
|
|
25
25
|
.wds-info-prompt__media svg {
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
26
|
+
width: 24px;
|
|
27
|
+
width: var(--size-24);
|
|
28
|
+
height: 24px;
|
|
29
|
+
height: var(--size-24);
|
|
30
30
|
}
|
|
31
31
|
.wds-info-prompt .wds-prompt__media-wrapper {
|
|
32
32
|
padding: 0;
|
|
@@ -19,7 +19,8 @@
|
|
|
19
19
|
background-color: var(--color-sentiment-background-surface-active);
|
|
20
20
|
}
|
|
21
21
|
.wds-inline-prompt--auto-width {
|
|
22
|
-
|
|
22
|
+
width: auto;
|
|
23
|
+
width: initial;
|
|
23
24
|
}
|
|
24
25
|
.wds-inline-prompt--muted {
|
|
25
26
|
opacity: 0.93;
|
|
@@ -46,10 +47,10 @@
|
|
|
46
47
|
inset: 0;
|
|
47
48
|
}
|
|
48
49
|
.wds-inline-prompt .wds-inline-prompt-process-indicator {
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
50
|
+
width: 16px;
|
|
51
|
+
width: var(--size-16);
|
|
52
|
+
height: 16px;
|
|
53
|
+
height: var(--size-16);
|
|
53
54
|
}
|
|
54
55
|
.wds-inline-prompt .wds-inline-prompt-process-indicator .process-circle {
|
|
55
56
|
stroke: currentColor;
|
|
@@ -7,9 +7,9 @@
|
|
|
7
7
|
word-wrap: break-word;
|
|
8
8
|
padding: 8px;
|
|
9
9
|
padding: var(--Prompt-padding, var(--padding-x-small));
|
|
10
|
-
text-align:
|
|
10
|
+
text-align: left;
|
|
11
11
|
word-break: break-word;
|
|
12
|
-
|
|
12
|
+
width: 100%;
|
|
13
13
|
}
|
|
14
14
|
.wds-prompt__content-wrapper {
|
|
15
15
|
display: grid;
|
|
@@ -18,15 +18,15 @@
|
|
|
18
18
|
gap: 16px;
|
|
19
19
|
gap: var(--Prompt-gap, var(--size-16));
|
|
20
20
|
grid-template-columns: auto 1fr;
|
|
21
|
-
|
|
21
|
+
width: 100%;
|
|
22
22
|
}
|
|
23
23
|
.wds-prompt__content-wrapper--with-dismiss {
|
|
24
24
|
grid-template-columns: auto 1fr auto;
|
|
25
25
|
}
|
|
26
26
|
.wds-prompt__media-wrapper {
|
|
27
27
|
align-self: flex-start;
|
|
28
|
-
padding-
|
|
29
|
-
padding-
|
|
28
|
+
padding-top: calc(4px - 1px);
|
|
29
|
+
padding-top: calc(var(--size-4) - 1px);
|
|
30
30
|
}
|
|
31
31
|
.wds-prompt__media-wrapper .tw-icon-tags,
|
|
32
32
|
.wds-prompt__media-wrapper .tw-icon-confetti {
|
|
@@ -43,7 +43,7 @@
|
|
|
43
43
|
@media (max-width: 767px) {
|
|
44
44
|
.wds-prompt__actions-wrapper {
|
|
45
45
|
grid-column: span 2;
|
|
46
|
-
|
|
46
|
+
width: 100%;
|
|
47
47
|
}
|
|
48
48
|
.wds-prompt__content-wrapper--with-dismiss .wds-prompt__actions-wrapper {
|
|
49
49
|
grid-column: span 3;
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
.np-section {
|
|
2
|
-
margin-
|
|
3
|
-
margin-
|
|
2
|
+
margin-top: 32px;
|
|
3
|
+
margin-top: var(--size-32);
|
|
4
4
|
}
|
|
5
5
|
.np-section--with-horizontal-padding {
|
|
6
|
-
padding-
|
|
7
|
-
padding-
|
|
8
|
-
padding-
|
|
9
|
-
padding-
|
|
6
|
+
padding-right: 16px;
|
|
7
|
+
padding-right: var(--space-content-horizontal);
|
|
8
|
+
padding-left: 16px;
|
|
9
|
+
padding-left: var(--space-content-horizontal);
|
|
10
10
|
}
|
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
position: relative;
|
|
9
9
|
padding: 4px;
|
|
10
10
|
padding: var(--size-4);
|
|
11
|
-
|
|
11
|
+
width: 100%;
|
|
12
12
|
justify-content: center;
|
|
13
13
|
align-items: center;
|
|
14
14
|
background: rgba(134,167,189,0.10196);
|
|
@@ -24,12 +24,12 @@
|
|
|
24
24
|
.segmented-control__segments::after {
|
|
25
25
|
content: "";
|
|
26
26
|
position: absolute;
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
27
|
+
width: var(--segment-highlight-width);
|
|
28
|
+
top: 4px;
|
|
29
|
+
top: var(--size-4);
|
|
30
|
+
bottom: 4px;
|
|
31
|
+
bottom: var(--size-4);
|
|
32
|
+
left: var(--segment-highlight-x);
|
|
33
33
|
z-index: 0;
|
|
34
34
|
background: #ffffff;
|
|
35
35
|
background: var(--color-background-screen);
|
|
@@ -44,14 +44,11 @@
|
|
|
44
44
|
position: relative;
|
|
45
45
|
flex: 1 1 100%;
|
|
46
46
|
flex-flow: column;
|
|
47
|
-
padding
|
|
48
|
-
padding
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
margin-inline: 4px 0;
|
|
53
|
-
margin-inline: var(--size-4) 0;
|
|
54
|
-
min-inline-size: 0;
|
|
47
|
+
padding: 8px 16px;
|
|
48
|
+
padding: var(--size-8) var(--size-16);
|
|
49
|
+
margin: 0 0 0 4px;
|
|
50
|
+
margin: 0 0 0 var(--size-4);
|
|
51
|
+
min-width: 0;
|
|
55
52
|
line-height: inherit;
|
|
56
53
|
align-items: center;
|
|
57
54
|
text-align: center;
|
|
@@ -64,7 +61,7 @@
|
|
|
64
61
|
color: var(--color-interactive-primary);
|
|
65
62
|
}
|
|
66
63
|
.segmented-control__segment:first-child {
|
|
67
|
-
margin-
|
|
64
|
+
margin-left: 0;
|
|
68
65
|
}
|
|
69
66
|
.segmented-control__segment:hover {
|
|
70
67
|
background: rgba(0,0,0,0.10196);
|
|
@@ -76,8 +73,8 @@
|
|
|
76
73
|
pointer-events: none;
|
|
77
74
|
}
|
|
78
75
|
.segmented-control__button {
|
|
79
|
-
|
|
80
|
-
|
|
76
|
+
width: 100%;
|
|
77
|
+
height: 100%;
|
|
81
78
|
background: none;
|
|
82
79
|
-webkit-appearance: none;
|
|
83
80
|
-moz-appearance: none;
|
|
@@ -10,14 +10,14 @@
|
|
|
10
10
|
font-weight: 400;
|
|
11
11
|
font-weight: var(--font-weight-regular);
|
|
12
12
|
overflow: hidden;
|
|
13
|
-
padding-
|
|
14
|
-
padding-
|
|
15
|
-
text-align:
|
|
13
|
+
padding-left: 16px;
|
|
14
|
+
padding-left: var(--size-16);
|
|
15
|
+
text-align: left;
|
|
16
16
|
text-overflow: ellipsis;
|
|
17
|
-
max-
|
|
17
|
+
max-width: 100%;
|
|
18
18
|
}
|
|
19
19
|
[dir="rtl"] .np-select .np-dropdown-toggle {
|
|
20
|
-
text-align:
|
|
20
|
+
text-align: right;
|
|
21
21
|
}
|
|
22
22
|
.np-select .np-dropdown-toggle:focus-visible {
|
|
23
23
|
outline: none;
|
|
@@ -39,61 +39,66 @@
|
|
|
39
39
|
--color-interactive-secondary-hover: #2e4369;
|
|
40
40
|
}
|
|
41
41
|
.np-select .np-dropdown-toggle.np-btn-sm {
|
|
42
|
-
padding-
|
|
43
|
-
padding-
|
|
42
|
+
padding-right: 32px;
|
|
43
|
+
padding-right: var(--size-32);
|
|
44
44
|
}
|
|
45
45
|
[dir="rtl"] .np-select .np-dropdown-toggle.np-btn-sm {
|
|
46
|
-
padding-
|
|
47
|
-
padding-
|
|
48
|
-
padding-
|
|
46
|
+
padding-left: 32px;
|
|
47
|
+
padding-left: var(--size-32);
|
|
48
|
+
padding-right: 0;
|
|
49
|
+
padding-right: initial;
|
|
49
50
|
}
|
|
50
51
|
.np-select .np-dropdown-toggle.np-btn-md {
|
|
51
|
-
padding-
|
|
52
|
-
padding-
|
|
52
|
+
padding-right: 40px;
|
|
53
|
+
padding-right: var(--size-40);
|
|
53
54
|
}
|
|
54
55
|
[dir="rtl"] .np-select .np-dropdown-toggle.np-btn-md {
|
|
55
|
-
padding-
|
|
56
|
-
padding-
|
|
57
|
-
padding-
|
|
56
|
+
padding-left: 40px;
|
|
57
|
+
padding-left: var(--size-40);
|
|
58
|
+
padding-right: 0;
|
|
59
|
+
padding-right: initial;
|
|
58
60
|
}
|
|
59
61
|
.np-select .np-dropdown-toggle.np-btn-lg {
|
|
60
|
-
padding-
|
|
61
|
-
padding-
|
|
62
|
+
padding-right: 48px;
|
|
63
|
+
padding-right: var(--size-48);
|
|
62
64
|
}
|
|
63
65
|
[dir="rtl"] .np-select .np-dropdown-toggle.np-btn-lg {
|
|
64
|
-
padding-
|
|
65
|
-
padding-
|
|
66
|
-
padding-
|
|
66
|
+
padding-left: 48px;
|
|
67
|
+
padding-left: var(--size-48);
|
|
68
|
+
padding-right: 0;
|
|
69
|
+
padding-right: initial;
|
|
67
70
|
}
|
|
68
71
|
.np-select .np-dropdown-toggle .np-select-chevron {
|
|
69
72
|
margin: 0 ;
|
|
70
73
|
position: absolute;
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
74
|
+
right: 16px;
|
|
75
|
+
right: var(--size-16);
|
|
76
|
+
top: 16px;
|
|
77
|
+
top: var(--size-16);
|
|
75
78
|
}
|
|
76
79
|
[dir="rtl"] .np-select .np-dropdown-toggle .np-select-chevron {
|
|
77
80
|
margin: 0 ;
|
|
78
81
|
}
|
|
79
82
|
[dir="rtl"] .np-select .np-dropdown-toggle .np-select-chevron {
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
+
left: 16px;
|
|
84
|
+
left: var(--size-16);
|
|
85
|
+
right: auto;
|
|
86
|
+
right: initial;
|
|
83
87
|
}
|
|
84
88
|
.np-select .np-dropdown-toggle.np-btn-sm .np-select-chevron {
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
+
right: 8px;
|
|
90
|
+
right: var(--size-8);
|
|
91
|
+
top: 8px;
|
|
92
|
+
top: var(--size-8);
|
|
89
93
|
}
|
|
90
94
|
[dir="rtl"] .np-select .np-dropdown-toggle.np-btn-sm .np-select-chevron {
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
95
|
+
left: 8px;
|
|
96
|
+
left: var(--size-8);
|
|
97
|
+
right: auto;
|
|
98
|
+
right: initial;
|
|
94
99
|
}
|
|
95
100
|
.np-select .np-dropdown-toggle.np-btn-lg .np-select-chevron {
|
|
96
|
-
|
|
101
|
+
top: 27px;
|
|
97
102
|
}
|
|
98
103
|
.np-select .btn:not(.disabled):not(:disabled):not(.btn-loading) {
|
|
99
104
|
color: #37517e;
|
|
@@ -112,20 +117,20 @@
|
|
|
112
117
|
border-color: var(--color-interactive-secondary);
|
|
113
118
|
}
|
|
114
119
|
.np-option-content {
|
|
115
|
-
max-
|
|
120
|
+
max-width: 100%;
|
|
116
121
|
}
|
|
117
122
|
.np-option-content .d-flex:last-child {
|
|
118
|
-
max-
|
|
123
|
+
max-width: calc(100% - 32px);
|
|
119
124
|
}
|
|
120
125
|
.np-dropdown-menu-desktop {
|
|
121
|
-
max-
|
|
122
|
-
max-
|
|
123
|
-
min-
|
|
124
|
-
max-
|
|
126
|
+
max-height: 70vh;
|
|
127
|
+
max-height: 70svh;
|
|
128
|
+
min-width: 160px;
|
|
129
|
+
max-width: calc(100vw - 32px);
|
|
125
130
|
}
|
|
126
131
|
@media (min-height: 592px) {
|
|
127
132
|
.np-dropdown-menu-desktop {
|
|
128
|
-
max-
|
|
133
|
+
max-height: 592px;
|
|
129
134
|
}
|
|
130
135
|
}
|
|
131
136
|
.np-dropdown-menu {
|
|
@@ -135,7 +140,7 @@
|
|
|
135
140
|
margin: 0;
|
|
136
141
|
padding: 0 ;
|
|
137
142
|
list-style: none;
|
|
138
|
-
text-align:
|
|
143
|
+
text-align: left;
|
|
139
144
|
background-color: #ffffff;
|
|
140
145
|
background-color: var(--color-background-screen);
|
|
141
146
|
}
|
|
@@ -143,20 +148,20 @@
|
|
|
143
148
|
padding: 0 ;
|
|
144
149
|
}
|
|
145
150
|
[dir="rtl"] .np-dropdown-menu {
|
|
146
|
-
text-align:
|
|
151
|
+
text-align: right;
|
|
147
152
|
}
|
|
148
153
|
.np-theme-personal .np-dropdown-menu {
|
|
149
154
|
border-radius: 10px;
|
|
150
155
|
border-radius: var(--radius-small);
|
|
151
156
|
}
|
|
152
157
|
.np-dropdown-menu-sm {
|
|
153
|
-
|
|
158
|
+
width: 220px;
|
|
154
159
|
}
|
|
155
160
|
.np-dropdown-menu-md {
|
|
156
|
-
|
|
161
|
+
width: 300px;
|
|
157
162
|
}
|
|
158
163
|
.np-dropdown-menu-lg {
|
|
159
|
-
|
|
164
|
+
width: 420px;
|
|
160
165
|
}
|
|
161
166
|
.np-dropdown-menu .np-dropdown-item--focused {
|
|
162
167
|
background-color: rgba(134,167,189,0.10196);
|
|
@@ -173,10 +178,8 @@
|
|
|
173
178
|
text-decoration: none;
|
|
174
179
|
white-space: nowrap;
|
|
175
180
|
display: block;
|
|
176
|
-
padding
|
|
177
|
-
padding
|
|
178
|
-
padding-inline: 16px;
|
|
179
|
-
padding-inline: var(--size-16);
|
|
181
|
+
padding: 12px 16px;
|
|
182
|
+
padding: var(--size-12) var(--size-16);
|
|
180
183
|
clear: both;
|
|
181
184
|
border-radius: 10px;
|
|
182
185
|
border-radius: var(--radius-small);
|
|
@@ -194,24 +197,24 @@
|
|
|
194
197
|
border-radius: var(--radius-small);
|
|
195
198
|
}
|
|
196
199
|
.np-dropdown-menu > li:first-child > a {
|
|
197
|
-
border-
|
|
198
|
-
border-
|
|
200
|
+
border-top-right-radius: 3px;
|
|
201
|
+
border-top-left-radius: 3px;
|
|
199
202
|
}
|
|
200
203
|
.np-theme-personal .np-dropdown-menu > li:first-child > a {
|
|
201
|
-
border-
|
|
202
|
-
border-
|
|
203
|
-
border-
|
|
204
|
-
border-
|
|
204
|
+
border-top-right-radius: 10px;
|
|
205
|
+
border-top-right-radius: var(--radius-small);
|
|
206
|
+
border-top-left-radius: 10px;
|
|
207
|
+
border-top-left-radius: var(--radius-small);
|
|
205
208
|
}
|
|
206
209
|
.np-dropdown-menu > li:last-child > a {
|
|
207
|
-
border-
|
|
208
|
-
border-
|
|
210
|
+
border-bottom-right-radius: 3px;
|
|
211
|
+
border-bottom-left-radius: 3px;
|
|
209
212
|
}
|
|
210
213
|
.np-theme-personal .np-dropdown-menu > li:last-child > a {
|
|
211
|
-
border-
|
|
212
|
-
border-
|
|
213
|
-
border-
|
|
214
|
-
border-
|
|
214
|
+
border-bottom-right-radius: 10px;
|
|
215
|
+
border-bottom-right-radius: var(--radius-small);
|
|
216
|
+
border-bottom-left-radius: 10px;
|
|
217
|
+
border-bottom-left-radius: var(--radius-small);
|
|
215
218
|
}
|
|
216
219
|
.np-dropdown-menu > li:not(.active):not(.selected):not(:has(input)) > a:not([disabled]):not(.disabled):hover,
|
|
217
220
|
.np-dropdown-menu > li:not(.active):not(.selected):not(:has(input)) > a:not([disabled]):not(.disabled):focus {
|
|
@@ -246,17 +249,15 @@
|
|
|
246
249
|
border: 0;
|
|
247
250
|
}
|
|
248
251
|
.np-dropdown-menu .np-separator {
|
|
249
|
-
|
|
252
|
+
height: 1px;
|
|
250
253
|
margin: 0;
|
|
251
254
|
overflow: hidden;
|
|
252
255
|
background-color: rgba(134,167,189,0.10196);
|
|
253
256
|
background-color: var(--color-background-neutral);
|
|
254
257
|
}
|
|
255
258
|
.np-dropdown-menu .np-dropdown-header {
|
|
256
|
-
padding
|
|
257
|
-
padding
|
|
258
|
-
padding-inline: 16px;
|
|
259
|
-
padding-inline: var(--size-16);
|
|
259
|
+
padding: 8px 16px;
|
|
260
|
+
padding: var(--size-8) var(--size-16);
|
|
260
261
|
color: #5d7079;
|
|
261
262
|
color: var(--color-content-secondary);
|
|
262
263
|
display: block;
|
|
@@ -272,8 +273,8 @@
|
|
|
272
273
|
.np-dropdown-menu .tw-icon,
|
|
273
274
|
.np-select img,
|
|
274
275
|
.np-dropdown-menu img {
|
|
275
|
-
margin-
|
|
276
|
-
margin-
|
|
276
|
+
margin-right: 8px;
|
|
277
|
+
margin-right: var(--size-8);
|
|
277
278
|
display: inline-block;
|
|
278
279
|
vertical-align: middle;
|
|
279
280
|
}
|
|
@@ -281,9 +282,10 @@
|
|
|
281
282
|
[dir="rtl"] .np-dropdown-menu .tw-icon,
|
|
282
283
|
[dir="rtl"] .np-select img,
|
|
283
284
|
[dir="rtl"] .np-dropdown-menu img {
|
|
284
|
-
margin-
|
|
285
|
-
margin-
|
|
286
|
-
margin-
|
|
285
|
+
margin-left: 8px;
|
|
286
|
+
margin-left: var(--size-8);
|
|
287
|
+
margin-right: 0;
|
|
288
|
+
margin-right: initial;
|
|
287
289
|
}
|
|
288
290
|
.np-select .np-text-body-default,
|
|
289
291
|
.np-dropdown-menu .np-text-body-default {
|
|
@@ -292,7 +294,7 @@
|
|
|
292
294
|
}
|
|
293
295
|
.np-select .tw-icon-search,
|
|
294
296
|
.np-dropdown-menu .tw-icon-search {
|
|
295
|
-
margin-
|
|
297
|
+
margin-right: 0;
|
|
296
298
|
}
|
|
297
299
|
.np-theme-personal {
|
|
298
300
|
/* stylelint-disable-next-line no-duplicate-selectors */
|