@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,5 +1,6 @@
|
|
|
1
1
|
.np-option:has(:focus-visible) {
|
|
2
2
|
outline: var(--ring-outline-color) solid var(--ring-outline-width);
|
|
3
|
+
outline-offset: 0;
|
|
3
4
|
outline-offset: var(--ring-outline-offset);
|
|
4
5
|
--ring-outline-offset: 0;
|
|
5
6
|
}
|
|
@@ -7,21 +8,30 @@
|
|
|
7
8
|
outline: none;
|
|
8
9
|
}
|
|
9
10
|
.np-option .circle-sm {
|
|
10
|
-
|
|
11
|
-
|
|
11
|
+
width: 40px;
|
|
12
|
+
width: var(--size-40);
|
|
13
|
+
height: 40px;
|
|
14
|
+
height: var(--size-40);
|
|
12
15
|
}
|
|
13
16
|
.np-option__title {
|
|
17
|
+
color: #37517e;
|
|
14
18
|
color: var(--color-content-primary);
|
|
15
19
|
font-size: 1rem;
|
|
20
|
+
font-weight: 600;
|
|
16
21
|
font-weight: var(--font-weight-semi-bold);
|
|
17
22
|
letter-spacing: 0;
|
|
23
|
+
line-height: 1.5;
|
|
18
24
|
line-height: var(--line-height-body);
|
|
19
25
|
margin: 0;
|
|
20
26
|
}
|
|
21
27
|
.np-option__body {
|
|
22
|
-
margin-
|
|
28
|
+
margin-top: 4px;
|
|
29
|
+
margin-top: var(--size-4);
|
|
30
|
+
color: #5d7079;
|
|
23
31
|
color: var(--color-content-secondary);
|
|
32
|
+
font-size: 0.875rem;
|
|
24
33
|
font-size: var(--font-size-14);
|
|
34
|
+
font-weight: 400;
|
|
25
35
|
font-weight: var(--font-weight-regular);
|
|
26
36
|
line-height: 1.42857;
|
|
27
37
|
}
|
|
@@ -29,67 +39,84 @@
|
|
|
29
39
|
display: block;
|
|
30
40
|
}
|
|
31
41
|
.np-option__no-media-circle {
|
|
32
|
-
min-
|
|
33
|
-
|
|
42
|
+
min-width: 48px;
|
|
43
|
+
min-width: var(--size-48);
|
|
44
|
+
max-width: 64px;
|
|
45
|
+
max-width: var(--size-64);
|
|
34
46
|
display: flex;
|
|
35
47
|
justify-content: center;
|
|
36
48
|
}
|
|
37
49
|
.np-option__no-media-circle > * {
|
|
38
|
-
max-
|
|
50
|
+
max-height: 76px;
|
|
39
51
|
}
|
|
40
52
|
button.np-option {
|
|
41
53
|
background-color: transparent;
|
|
42
|
-
|
|
43
|
-
text-align:
|
|
54
|
+
width: 100%;
|
|
55
|
+
text-align: left;
|
|
44
56
|
}
|
|
45
57
|
[dir="rtl"] button.np-option {
|
|
46
|
-
text-align:
|
|
58
|
+
text-align: right;
|
|
47
59
|
}
|
|
48
60
|
.np-theme-personal .np-option .circle {
|
|
49
61
|
overflow: visible;
|
|
50
62
|
}
|
|
51
63
|
.np-theme-personal .np-option .circle-sm {
|
|
52
|
-
|
|
53
|
-
|
|
64
|
+
width: 48px;
|
|
65
|
+
width: var(--size-48);
|
|
66
|
+
height: 48px;
|
|
67
|
+
height: var(--size-48);
|
|
68
|
+
line-height: 48px;
|
|
54
69
|
line-height: var(--size-48);
|
|
55
70
|
}
|
|
56
|
-
@media (
|
|
71
|
+
@media (max-width: 320px) {
|
|
57
72
|
.np-theme-personal .np-option .circle-sm {
|
|
58
|
-
|
|
59
|
-
|
|
73
|
+
width: 96px;
|
|
74
|
+
width: var(--size-96);
|
|
75
|
+
height: 96px;
|
|
76
|
+
height: var(--size-96);
|
|
77
|
+
line-height: 96px;
|
|
60
78
|
line-height: var(--size-96);
|
|
61
79
|
}
|
|
62
80
|
}
|
|
63
81
|
.np-theme-personal .np-option__body {
|
|
64
|
-
margin
|
|
65
|
-
margin
|
|
82
|
+
margin: 4px 0 0;
|
|
83
|
+
margin: var(--size-4) 0 0;
|
|
84
|
+
-webkit-text-decoration: none;
|
|
66
85
|
text-decoration: none;
|
|
67
86
|
}
|
|
68
87
|
.np-theme-personal .np-option__container-aligned {
|
|
69
|
-
margin-
|
|
70
|
-
margin-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
88
|
+
margin-right: calc(-1 * 16px);
|
|
89
|
+
margin-right: calc(-1 * var(--space-content-horizontal));
|
|
90
|
+
margin-left: calc(-1 * 16px);
|
|
91
|
+
margin-left: calc(-1 * var(--space-content-horizontal));
|
|
92
|
+
max-width: none;
|
|
93
|
+
width: auto;
|
|
94
|
+
}
|
|
95
|
+
@media (min-width: 576px) {
|
|
75
96
|
.np-theme-personal .np-option {
|
|
97
|
+
border-radius: 10px;
|
|
76
98
|
border-radius: var(--radius-small);
|
|
77
99
|
}
|
|
78
100
|
}
|
|
79
101
|
.np-theme-personal .np-option-additional-content {
|
|
80
|
-
margin-
|
|
81
|
-
margin-
|
|
82
|
-
margin-
|
|
83
|
-
|
|
84
|
-
|
|
102
|
+
margin-left: 80px;
|
|
103
|
+
margin-left: var(--size-80);
|
|
104
|
+
margin-right: 16px;
|
|
105
|
+
margin-right: var(--size-16);
|
|
106
|
+
margin-top: -10px;
|
|
107
|
+
padding-bottom: 16px;
|
|
108
|
+
padding-bottom: var(--size-16);
|
|
109
|
+
max-width: -moz-fit-content;
|
|
110
|
+
max-width: fit-content;
|
|
85
111
|
}
|
|
86
112
|
@media (max-width: 480px) {
|
|
87
113
|
.np-theme-personal :not(.np-option__sm-media) > .np-option-additional-content {
|
|
88
|
-
margin-
|
|
114
|
+
margin-left: 16px;
|
|
115
|
+
margin-left: var(--size-16);
|
|
89
116
|
}
|
|
90
117
|
}
|
|
91
|
-
@media (
|
|
118
|
+
@media (max-width: 320px) {
|
|
92
119
|
.np-theme-personal .np-option-additional-content {
|
|
93
|
-
margin-
|
|
120
|
+
margin-top: -3px;
|
|
94
121
|
}
|
|
95
122
|
}
|
|
@@ -1,13 +1,10 @@
|
|
|
1
1
|
.np-bottom-sheet {
|
|
2
|
-
border-
|
|
3
|
-
border-start-end-radius: 10px;
|
|
4
|
-
border-end-end-radius: 0;
|
|
5
|
-
border-end-start-radius: 0;
|
|
2
|
+
border-radius: 10px 10px 0 0;
|
|
6
3
|
}
|
|
7
4
|
.np-bottom-sheet--top-bar {
|
|
8
5
|
cursor: grab;
|
|
9
|
-
padding
|
|
10
|
-
padding
|
|
6
|
+
padding: 8px 0 calc(16px + 4px);
|
|
7
|
+
padding: var(--size-8) 0 calc(var(--size-16) + var(--size-4));
|
|
11
8
|
display: flex;
|
|
12
9
|
flex-direction: column;
|
|
13
10
|
align-items: center;
|
|
@@ -21,34 +18,36 @@
|
|
|
21
18
|
box-shadow: none;
|
|
22
19
|
}
|
|
23
20
|
.np-bottom-sheet--handler {
|
|
24
|
-
|
|
25
|
-
|
|
21
|
+
width: 40px;
|
|
22
|
+
height: 4px;
|
|
23
|
+
background: #c9cbce;
|
|
26
24
|
background: var(--color-interactive-secondary);
|
|
25
|
+
border-radius: 10px;
|
|
27
26
|
border-radius: var(--radius-small);
|
|
28
27
|
}
|
|
29
28
|
.np-bottom-sheet--close-btn {
|
|
30
29
|
position: absolute;
|
|
31
|
-
|
|
30
|
+
right: 8px;
|
|
31
|
+
right: var(--size-8);
|
|
32
32
|
}
|
|
33
33
|
.np-bottom-sheet--content {
|
|
34
34
|
overflow-y: auto;
|
|
35
|
-
padding
|
|
36
|
-
padding
|
|
37
|
-
padding-
|
|
35
|
+
padding: 0 16px;
|
|
36
|
+
padding: 0 var(--space-content-horizontal);
|
|
37
|
+
padding-bottom: env(safe-area-inset-bottom);
|
|
38
38
|
}
|
|
39
39
|
.np-theme-personal .np-bottom-sheet--top-bar--shadow {
|
|
40
40
|
box-shadow: 0 4px 40px rgba(69, 71, 69, 0.2);
|
|
41
41
|
}
|
|
42
42
|
.np-theme-personal .np-bottom-sheet {
|
|
43
|
-
border-
|
|
44
|
-
border-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
inline-size: calc(100% - var(--size-16)) !important;
|
|
43
|
+
border-radius: 32px 32px 0 0;
|
|
44
|
+
border-radius: var(--radius-xlarge, 32px) var(--radius-xlarge, 32px) 0 0;
|
|
45
|
+
margin: 0px 8px;
|
|
46
|
+
margin: 0px var(--size-8);
|
|
47
|
+
width: calc(100% - 16px) !important;
|
|
48
|
+
width: calc(100% - var(--size-16)) !important;
|
|
50
49
|
}
|
|
51
50
|
.np-theme-personal .np-bottom-sheet--content {
|
|
52
|
-
padding
|
|
53
|
-
padding
|
|
51
|
+
padding: 0 16px 16px;
|
|
52
|
+
padding: 0 var(--size-16) var(--size-16);
|
|
54
53
|
}
|
|
@@ -9,17 +9,21 @@
|
|
|
9
9
|
display: flex;
|
|
10
10
|
flex-direction: column;
|
|
11
11
|
align-items: stretch;
|
|
12
|
+
background-color: rgba(134,167,189,0.10196);
|
|
12
13
|
background-color: var(--Card-background-color);
|
|
14
|
+
border-radius: 32px;
|
|
13
15
|
border-radius: var(--Card-border-radius);
|
|
16
|
+
gap: 16px;
|
|
14
17
|
gap: var(--Card-flex-gap);
|
|
18
|
+
padding: 24px;
|
|
15
19
|
padding: var(--Card-padding);
|
|
16
20
|
position: relative;
|
|
17
21
|
box-sizing: border-box;
|
|
18
22
|
overflow: hidden;
|
|
19
23
|
}
|
|
20
|
-
@media (
|
|
24
|
+
@media (min-width: 576px) {
|
|
21
25
|
.np-Card {
|
|
22
|
-
max-
|
|
26
|
+
max-width: var(--Card-max-width);
|
|
23
27
|
}
|
|
24
28
|
}
|
|
25
29
|
.np-Card.is-disabled .np-Card-closeButton {
|
|
@@ -31,12 +35,12 @@
|
|
|
31
35
|
.np-Card-closeButton {
|
|
32
36
|
position: absolute;
|
|
33
37
|
z-index: 100;
|
|
34
|
-
|
|
35
|
-
|
|
38
|
+
top: var(--Card-closeButton-position);
|
|
39
|
+
right: var(--Card-closeButton-position);
|
|
36
40
|
}
|
|
37
41
|
[dir="rtl"] .np-Card-closeButton {
|
|
38
|
-
|
|
39
|
-
|
|
42
|
+
left: var(--Card-closeButton-position);
|
|
43
|
+
right: auto;
|
|
40
44
|
}
|
|
41
45
|
.np-Card--small {
|
|
42
46
|
--Card-border-radius: var(--size-16);
|
|
@@ -1,11 +1,13 @@
|
|
|
1
1
|
.np-circle {
|
|
2
|
+
border-radius: 9999px;
|
|
2
3
|
border-radius: var(--radius-full);
|
|
3
|
-
|
|
4
|
-
|
|
4
|
+
width: var(--circle-size);
|
|
5
|
+
height: var(--circle-size);
|
|
5
6
|
flex-shrink: 0;
|
|
6
7
|
--circle-border-color: var(--color-border-neutral);
|
|
7
8
|
--circle-border-width: 1px;
|
|
8
9
|
font-size: var(--circle-font-size);
|
|
10
|
+
font-weight: 600;
|
|
9
11
|
font-weight: var(--font-weight-semi-bold);
|
|
10
12
|
line-height: 1;
|
|
11
13
|
}
|
|
@@ -13,15 +15,17 @@
|
|
|
13
15
|
font-size: var(--circle-font-size);
|
|
14
16
|
}
|
|
15
17
|
.np-circle .tw-icon > svg {
|
|
16
|
-
|
|
17
|
-
|
|
18
|
+
height: var(--circle-icon-size);
|
|
19
|
+
width: var(--circle-icon-size);
|
|
18
20
|
}
|
|
19
21
|
.np-circle img,
|
|
20
22
|
.np-circle .wds-flag {
|
|
23
|
+
border-radius: 9999px;
|
|
21
24
|
border-radius: var(--radius-full);
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
object-fit: cover;
|
|
25
|
+
width: 100%;
|
|
26
|
+
height: 100%;
|
|
27
|
+
-o-object-fit: cover;
|
|
28
|
+
object-fit: cover;
|
|
25
29
|
}
|
|
26
30
|
.np-circle-border {
|
|
27
31
|
position: relative;
|
|
@@ -29,10 +33,11 @@
|
|
|
29
33
|
.np-circle-border::after {
|
|
30
34
|
content: "";
|
|
31
35
|
position: absolute;
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
+
top: 0;
|
|
37
|
+
left: 0;
|
|
38
|
+
width: 100%;
|
|
39
|
+
height: 100%;
|
|
40
|
+
border-radius: 9999px;
|
|
36
41
|
border-radius: var(--radius-full);
|
|
37
42
|
box-shadow: inset 0 0 0 var(--circle-border-width) var(--circle-border-color);
|
|
38
43
|
}
|
|
@@ -1,73 +1,94 @@
|
|
|
1
1
|
.np-close-button {
|
|
2
2
|
transition: color 0.15s ease-in-out;
|
|
3
|
+
color: #00a2dd;
|
|
3
4
|
color: var(--color-interactive-accent);
|
|
4
5
|
border: none;
|
|
5
6
|
background: none;
|
|
6
7
|
padding: 0;
|
|
7
|
-
|
|
8
|
+
height: 16px;
|
|
9
|
+
height: var(--size-16);
|
|
8
10
|
--ring-outline-offset: 0;
|
|
9
11
|
}
|
|
10
12
|
.np-close-button--large,
|
|
11
13
|
.np-close-button--x-large {
|
|
12
|
-
|
|
14
|
+
height: 24px;
|
|
15
|
+
height: var(--size-24);
|
|
13
16
|
}
|
|
14
17
|
.np-close-button:hover {
|
|
18
|
+
color: #008fc9;
|
|
15
19
|
color: var(--color-interactive-accent-hover);
|
|
16
20
|
}
|
|
17
21
|
.np-theme-personal .np-close-button {
|
|
18
22
|
color: var(--color-interactive-primary);
|
|
19
|
-
|
|
20
|
-
|
|
23
|
+
height: 32px;
|
|
24
|
+
height: var(--size-32);
|
|
25
|
+
width: 32px;
|
|
26
|
+
width: var(--size-32);
|
|
21
27
|
display: inline-flex;
|
|
22
28
|
align-items: center;
|
|
23
29
|
justify-content: center;
|
|
30
|
+
border-radius: 9999px;
|
|
24
31
|
border-radius: var(--radius-full);
|
|
25
32
|
transition: background-color 0.1s ease;
|
|
26
33
|
}
|
|
27
|
-
@media (
|
|
34
|
+
@media (max-width: 320px) {
|
|
28
35
|
.np-theme-personal .np-close-button {
|
|
29
|
-
|
|
30
|
-
|
|
36
|
+
height: 64px;
|
|
37
|
+
height: var(--size-64);
|
|
38
|
+
width: 64px;
|
|
39
|
+
width: var(--size-64);
|
|
31
40
|
}
|
|
32
41
|
}
|
|
33
42
|
.np-theme-personal .np-close-button--x-small {
|
|
34
|
-
|
|
35
|
-
|
|
43
|
+
height: 24px;
|
|
44
|
+
height: var(--size-24);
|
|
45
|
+
width: 24px;
|
|
46
|
+
width: var(--size-24);
|
|
36
47
|
flex-shrink: 0;
|
|
37
48
|
}
|
|
38
|
-
@media (
|
|
49
|
+
@media (max-width: 320px) {
|
|
39
50
|
.np-theme-personal .np-close-button--x-small {
|
|
40
|
-
|
|
41
|
-
|
|
51
|
+
height: 48px;
|
|
52
|
+
height: var(--size-48);
|
|
53
|
+
width: 48px;
|
|
54
|
+
width: var(--size-48);
|
|
42
55
|
}
|
|
43
56
|
}
|
|
44
57
|
.np-theme-personal .np-close-button--large {
|
|
45
|
-
|
|
46
|
-
|
|
58
|
+
height: 40px;
|
|
59
|
+
height: var(--size-40);
|
|
60
|
+
width: 40px;
|
|
61
|
+
width: var(--size-40);
|
|
47
62
|
flex-shrink: 0;
|
|
48
63
|
}
|
|
49
|
-
@media (
|
|
64
|
+
@media (max-width: 320px) {
|
|
50
65
|
.np-theme-personal .np-close-button--large {
|
|
51
|
-
|
|
52
|
-
|
|
66
|
+
height: 80px;
|
|
67
|
+
height: var(--size-80);
|
|
68
|
+
width: 80px;
|
|
69
|
+
width: var(--size-80);
|
|
53
70
|
}
|
|
54
71
|
}
|
|
55
72
|
.np-theme-personal .np-close-button--x-large {
|
|
56
|
-
|
|
57
|
-
|
|
73
|
+
height: 48px;
|
|
74
|
+
height: var(--size-48);
|
|
75
|
+
width: 48px;
|
|
76
|
+
width: var(--size-48);
|
|
58
77
|
flex-shrink: 0;
|
|
59
78
|
}
|
|
60
|
-
@media (
|
|
79
|
+
@media (max-width: 320px) {
|
|
61
80
|
.np-theme-personal .np-close-button--x-large {
|
|
62
|
-
|
|
63
|
-
|
|
81
|
+
height: 96px;
|
|
82
|
+
height: var(--size-96);
|
|
83
|
+
width: 96px;
|
|
84
|
+
width: var(--size-96);
|
|
64
85
|
}
|
|
65
86
|
}
|
|
66
|
-
.np-theme-personal .np-close-button:not(.disabled
|
|
87
|
+
.np-theme-personal .np-close-button:not(.disabled):not(:disabled):hover {
|
|
67
88
|
color: var(--color-interactive-primary-hover);
|
|
68
89
|
background-color: var(--color-background-neutral-hover);
|
|
69
90
|
}
|
|
70
|
-
.np-theme-personal .np-close-button:not(.disabled
|
|
91
|
+
.np-theme-personal .np-close-button:not(.disabled):not(:disabled):active {
|
|
71
92
|
color: var(--color-interactive-primary-active);
|
|
72
93
|
background-color: var(--color-background-neutral-active);
|
|
73
94
|
}
|
|
@@ -1,12 +1,15 @@
|
|
|
1
1
|
.np-panel__content {
|
|
2
2
|
opacity: 0;
|
|
3
3
|
visibility: hidden;
|
|
4
|
+
background-color: #ffffff;
|
|
4
5
|
background-color: var(--color-background-elevated);
|
|
6
|
+
border-radius: 10px;
|
|
5
7
|
border-radius: var(--radius-small);
|
|
6
8
|
box-shadow: 0 0 40px rgba(69, 71, 69, 0.2);
|
|
7
9
|
transition: opacity 0.2s cubic-bezier(0.6, 0.2, 0.1, 1), transform 0.2s cubic-bezier(0.6, 0.2, 0.1, 1), visibility 0s linear 0.2s;
|
|
8
10
|
}
|
|
9
11
|
.np-theme-personal .np-panel__content {
|
|
12
|
+
border-radius: 10px;
|
|
10
13
|
border-radius: var(--radius-small);
|
|
11
14
|
}
|
|
12
15
|
.np-theme-personal--forest-green .np-panel__content,
|
|
@@ -23,45 +26,48 @@
|
|
|
23
26
|
.np-panel__arrow,
|
|
24
27
|
.np-panel__arrow::before {
|
|
25
28
|
position: absolute;
|
|
26
|
-
|
|
27
|
-
|
|
29
|
+
width: 14px;
|
|
30
|
+
height: 14px;
|
|
28
31
|
}
|
|
29
32
|
.np-panel__arrow::before {
|
|
30
|
-
|
|
33
|
+
left: 0;
|
|
31
34
|
content: "";
|
|
32
35
|
transform: rotate(45deg);
|
|
36
|
+
background: #ffffff;
|
|
33
37
|
background: var(--color-background-elevated);
|
|
34
38
|
}
|
|
35
39
|
.np-panel[data-popper-placement^="top"] > .np-panel__content {
|
|
36
40
|
transform: translateY(10px) scale(0.95);
|
|
37
41
|
}
|
|
38
42
|
.np-panel[data-popper-placement^="top"] > .np-panel__content .np-panel__arrow {
|
|
39
|
-
|
|
43
|
+
bottom: -6px;
|
|
40
44
|
}
|
|
41
45
|
.np-panel[data-popper-placement^="right"] > .np-panel__content {
|
|
42
46
|
transform: translateX(-10px) scale(0.95);
|
|
43
47
|
}
|
|
44
48
|
.np-panel[data-popper-placement^="right"] > .np-panel__content .np-panel__arrow {
|
|
45
|
-
|
|
49
|
+
left: -6px;
|
|
46
50
|
}
|
|
47
51
|
.np-panel[data-popper-placement^="bottom"] > .np-panel__content {
|
|
48
52
|
transform: translateY(-10px) scale(0.95);
|
|
49
53
|
}
|
|
50
54
|
.np-panel[data-popper-placement^="bottom"] > .np-panel__content .np-panel__arrow {
|
|
51
|
-
|
|
55
|
+
top: -6px;
|
|
52
56
|
}
|
|
53
57
|
.np-panel[data-popper-placement^="left"] > .np-panel__content {
|
|
54
58
|
transform: translateX(10px) scale(0.95);
|
|
55
59
|
}
|
|
56
60
|
.np-panel[data-popper-placement^="left"] > .np-panel__content .np-panel__arrow {
|
|
57
|
-
|
|
61
|
+
right: -6px;
|
|
58
62
|
}
|
|
59
63
|
.np-theme-personal .np-panel__content {
|
|
64
|
+
border-radius: 16px;
|
|
60
65
|
border-radius: var(--radius-medium);
|
|
61
66
|
box-shadow: 0 0 40px rgba(69, 71, 69, 0.2);
|
|
62
67
|
}
|
|
63
68
|
.np-theme-personal--forest-green .np-dropdown-menu,
|
|
64
69
|
.np-theme-personal--bright-green .np-dropdown-menu,
|
|
65
70
|
.np-theme-personal--dark .np-dropdown-menu {
|
|
71
|
+
background-color: #ffffff;
|
|
66
72
|
background-color: var(--color-background-elevated);
|
|
67
73
|
}
|
|
@@ -6,28 +6,31 @@
|
|
|
6
6
|
color: var(--color-contrast-overlay);
|
|
7
7
|
}
|
|
8
8
|
.np-theme-personal .critical-comms .status-circle.warning {
|
|
9
|
+
background-color: #ffffff;
|
|
9
10
|
background-color: var(--color-background-screen);
|
|
10
11
|
}
|
|
11
12
|
.np-theme-personal .critical-comms .status-circle.warning .status-icon {
|
|
12
13
|
color: var(--color-contrast-theme);
|
|
13
14
|
}
|
|
14
15
|
.np-theme-personal .critical-comms .alert__message .alert__action {
|
|
15
|
-
margin-
|
|
16
|
+
margin-top: 16px;
|
|
17
|
+
margin-top: var(--size-16);
|
|
16
18
|
}
|
|
17
19
|
.np-theme-personal .critical-comms .wds-Button {
|
|
18
20
|
--Button-background: var(--color-contrast-overlay);
|
|
19
21
|
--Button-background-hover: var(--color-sentiment-negative-secondary-hover);
|
|
20
22
|
--Button-background-active: var(--color-sentiment-negative-secondary-active);
|
|
21
23
|
}
|
|
22
|
-
@media (
|
|
24
|
+
@media (min-width: 768px) {
|
|
23
25
|
.np-theme-personal .critical-comms .alert-warning .alert__message {
|
|
24
26
|
flex-direction: row;
|
|
25
27
|
justify-content: space-between;
|
|
26
28
|
align-items: center;
|
|
27
|
-
|
|
29
|
+
width: 100%;
|
|
28
30
|
}
|
|
29
31
|
.np-theme-personal .critical-comms .alert-warning .alert__message .alert__action {
|
|
30
|
-
margin-
|
|
31
|
-
margin-
|
|
32
|
+
margin-top: 0;
|
|
33
|
+
margin-left: 16px;
|
|
34
|
+
margin-left: var(--padding-small);
|
|
32
35
|
}
|
|
33
36
|
}
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
.tw-date label {
|
|
2
|
-
|
|
2
|
+
width: 100%;
|
|
3
3
|
}
|
|
4
4
|
.tw-date .tw-date--year label {
|
|
5
|
-
margin-
|
|
5
|
+
margin-bottom: 0;
|
|
6
6
|
}
|
|
7
7
|
.tw-date .tw-date--year,
|
|
8
8
|
.tw-date .tw-date--month,
|
|
9
9
|
.tw-date .tw-date--day {
|
|
10
|
-
margin-
|
|
10
|
+
margin-bottom: 0;
|
|
11
11
|
}
|
|
12
|
-
@media (
|
|
12
|
+
@media (min-width: 576px) {
|
|
13
13
|
.np-theme-personal .tw-date label {
|
|
14
|
-
margin-
|
|
14
|
+
margin-bottom: 0;
|
|
15
15
|
}
|
|
16
16
|
}
|
|
@@ -1,19 +1,21 @@
|
|
|
1
1
|
.tw-date-lookup-menu {
|
|
2
|
-
|
|
2
|
+
width: 400px;
|
|
3
3
|
}
|
|
4
4
|
.tw-date-lookup-calendar {
|
|
5
|
-
min-
|
|
5
|
+
min-width: 300px;
|
|
6
6
|
text-align: center;
|
|
7
7
|
table-layout: fixed;
|
|
8
8
|
background-color: inherit;
|
|
9
9
|
}
|
|
10
10
|
.tw-date-lookup-calendar > tbody > tr > td.weekend button {
|
|
11
|
+
color: #5d7079;
|
|
11
12
|
color: var(--color-content-secondary);
|
|
12
13
|
}
|
|
13
14
|
.tw-date-lookup-calendar > tbody > tr > td {
|
|
15
|
+
padding: 4px;
|
|
14
16
|
padding: var(--size-4);
|
|
15
17
|
}
|
|
16
|
-
@media (
|
|
18
|
+
@media (max-width: 320px) {
|
|
17
19
|
.tw-date-lookup-calendar > tbody > tr > td {
|
|
18
20
|
padding: 0;
|
|
19
21
|
}
|
|
@@ -22,45 +24,55 @@
|
|
|
22
24
|
padding: 1px;
|
|
23
25
|
}
|
|
24
26
|
.tw-date-lookup-calendar > tbody > tr > td button {
|
|
25
|
-
|
|
26
|
-
padding
|
|
27
|
-
padding
|
|
27
|
+
width: 100%;
|
|
28
|
+
padding: 4px 0;
|
|
29
|
+
padding: var(--size-4) 0;
|
|
30
|
+
color: #0097c7;
|
|
28
31
|
color: var(--color-content-accent);
|
|
29
32
|
border: transparent;
|
|
33
|
+
border-radius: 10px;
|
|
30
34
|
border-radius: var(--radius-small);
|
|
31
35
|
background-color: transparent;
|
|
36
|
+
font-weight: 600;
|
|
32
37
|
font-weight: var(--font-weight-semi-bold);
|
|
38
|
+
color: #37517e;
|
|
33
39
|
color: var(--color-content-primary);
|
|
34
40
|
}
|
|
35
|
-
@media (
|
|
41
|
+
@media (max-width: 320px) {
|
|
36
42
|
.tw-date-lookup-calendar > tbody > tr > td button {
|
|
37
43
|
padding: 0;
|
|
38
44
|
}
|
|
39
45
|
}
|
|
40
46
|
.tw-date-lookup-calendar > tbody > tr > td button.tw-date-lookup-day-option {
|
|
41
|
-
|
|
47
|
+
height: 40px;
|
|
48
|
+
height: var(--size-40);
|
|
49
|
+
border-radius: 9999px;
|
|
42
50
|
border-radius: var(--radius-full);
|
|
51
|
+
line-height: 40px;
|
|
43
52
|
line-height: var(--size-40);
|
|
44
|
-
|
|
53
|
+
width: 40px;
|
|
54
|
+
width: var(--size-40);
|
|
45
55
|
padding: 0;
|
|
46
56
|
display: inline-flex;
|
|
47
57
|
align-items: center;
|
|
48
58
|
justify-content: center;
|
|
49
59
|
}
|
|
50
60
|
.tw-date-lookup-calendar > tbody > tr > td button.tw-date-lookup-day-option.today {
|
|
61
|
+
-webkit-text-decoration: underline;
|
|
51
62
|
text-decoration: underline;
|
|
52
63
|
text-decoration-thickness: 2px;
|
|
53
64
|
text-underline-offset: 4px;
|
|
54
65
|
}
|
|
55
|
-
.tw-date-lookup-calendar > tbody > tr > td:not(.disabled
|
|
56
|
-
.tw-date-lookup-calendar > tbody > tr > td:hover button:not(.disabled
|
|
66
|
+
.tw-date-lookup-calendar > tbody > tr > td:not(.disabled):not(:disabled) button.show-focus,
|
|
67
|
+
.tw-date-lookup-calendar > tbody > tr > td:hover button:not(.disabled):not(:disabled) {
|
|
57
68
|
background-color: var(--color-background-screen-hover);
|
|
58
69
|
}
|
|
59
|
-
.tw-date-lookup-calendar > tbody > tr > td:not(.disabled
|
|
70
|
+
.tw-date-lookup-calendar > tbody > tr > td:not(.disabled):not(:disabled) button.active {
|
|
60
71
|
background-color: var(--color-interactive-primary);
|
|
61
72
|
color: var(--color-interactive-contrast);
|
|
62
73
|
}
|
|
63
74
|
.tw-date-lookup-calendar abbr {
|
|
75
|
+
-webkit-text-decoration: none;
|
|
64
76
|
text-decoration: none;
|
|
65
77
|
}
|
|
66
78
|
.tw-date-lookup-header-current-container {
|
|
@@ -72,7 +84,8 @@
|
|
|
72
84
|
}
|
|
73
85
|
.np-theme-personal.tw-date-lookup-menu thead,
|
|
74
86
|
.np-theme-personal .tw-date-lookup-menu thead {
|
|
75
|
-
background-color:
|
|
87
|
+
background-color: transparent;
|
|
88
|
+
background-color: initial;
|
|
76
89
|
}
|
|
77
90
|
.np-theme-personal.tw-date-lookup-menu td,
|
|
78
91
|
.np-theme-personal .tw-date-lookup-menu td {
|