@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.
Files changed (159) hide show
  1. package/package.json +3 -3
  2. package/src/accordion/Accordion.css +0 -74
  3. package/src/actionButton/ActionButton.css +0 -64
  4. package/src/actionOption/ActionOption.css +0 -4
  5. package/src/alert/Alert.css +0 -7
  6. package/src/avatar/Avatar.css +0 -250
  7. package/src/avatarLayout/AvatarLayout.css +0 -42
  8. package/src/avatarView/AvatarView.css +0 -44
  9. package/src/avatarView/Dot.css +0 -26
  10. package/src/badge/Badge.css +0 -65
  11. package/src/body/Body.css +0 -3
  12. package/src/button/Button.css +0 -246
  13. package/src/button/Button.vars.css +0 -46
  14. package/src/button/LegacyButton.css +0 -23
  15. package/src/card/Card.css +0 -100
  16. package/src/carousel/Carousel.css +0 -134
  17. package/src/checkboxButton/CheckboxButton.css +0 -43
  18. package/src/chips/Chip.css +0 -190
  19. package/src/circularButton/CircularButton.css +0 -34
  20. package/src/common/Option/Option.css +0 -120
  21. package/src/common/RadioButton/RadioButton.css +0 -4
  22. package/src/common/baseCard/BaseCard.css +0 -49
  23. package/src/common/bottomSheet/BottomSheet.css +0 -53
  24. package/src/common/circle/Circle.css +0 -43
  25. package/src/common/closeButton/CloseButton.css +0 -94
  26. package/src/common/liveRegion/LiveRegion.css +0 -3
  27. package/src/common/panel/Panel.css +0 -73
  28. package/src/container/Container.css +0 -38
  29. package/src/criticalBanner/CriticalCommsBanner.css +0 -63
  30. package/src/dateInput/DateInput.css +0 -16
  31. package/src/dateLookup/DateLookup.css +0 -93
  32. package/src/dateLookup/dateTrigger/DateTrigger.css +0 -29
  33. package/src/decision/Decision.css +0 -17
  34. package/src/definitionList/DefinitionList.css +0 -53
  35. package/src/dimmer/Dimmer.css +0 -70
  36. package/src/divider/Divider.css +0 -24
  37. package/src/drawer/Drawer.css +0 -56
  38. package/src/dropFade/DropFade.css +0 -19
  39. package/src/emphasis/Emphasis.css +0 -31
  40. package/src/expressiveMoneyInput/ExpressiveMoneyInput.css +0 -60
  41. package/src/expressiveMoneyInput/amountInput/AmountInput.css +0 -34
  42. package/src/expressiveMoneyInput/chevron/Chevron.css +0 -12
  43. package/src/expressiveMoneyInput/currencySelector/CurrencySelector.css +0 -6
  44. package/src/field/Field.css +0 -29
  45. package/src/flowNavigation/FlowNavigation.css +0 -76
  46. package/src/flowNavigation/animatedLabel/AnimatedLabel.css +0 -30
  47. package/src/header/Header.css +0 -33
  48. package/src/iconButton/IconButton.css +0 -82
  49. package/src/image/Image.css +0 -13
  50. package/src/info/Info.css +0 -9
  51. package/src/inputs/Input.css +0 -158
  52. package/src/inputs/InputGroup.css +0 -71
  53. package/src/inputs/SelectInput/BottomSheet/SelectInputBottomSheet.css +0 -96
  54. package/src/inputs/SelectInput/ButtonInput/SelectInputButtonInput.css +0 -20
  55. package/src/inputs/SelectInput/ClearButton/SelectInputClearButton.css +0 -46
  56. package/src/inputs/SelectInput/ItemView/SelectInputItemView.css +0 -16
  57. package/src/inputs/SelectInput/Option/SelectInputOption.css +0 -33
  58. package/src/inputs/SelectInput/OptionContent/SelectInputOptionContent.css +0 -37
  59. package/src/inputs/SelectInput/Options/SelectInputOptions.css +0 -81
  60. package/src/inputs/SelectInput/Popover/SelectInputPopover.css +0 -46
  61. package/src/inputs/SelectInput/SelectInput.css +0 -384
  62. package/src/inputs/TextArea.css +0 -161
  63. package/src/instructionsList/InstructionsList.css +0 -26
  64. package/src/legacylistItem/LegacyListItem.css +0 -6
  65. package/src/link/Link.css +0 -24
  66. package/src/listItem/ListItem.css +0 -660
  67. package/src/listItem/ListItem.grid.css +0 -384
  68. package/src/listItem/ListItem.vars.css +0 -0
  69. package/src/listItem/Prompt/ListItemPrompt.css +0 -4
  70. package/src/loader/Loader.css +0 -237
  71. package/src/logo/Logo.css +0 -6
  72. package/src/main.css +0 -34572
  73. package/src/modal/Modal.css +0 -82
  74. package/src/moneyInput/MoneyInput.css +0 -78
  75. package/src/navigationOption/NavigationOption.css +0 -69
  76. package/src/navigationOptionsList/NavigationOptionsList.css +0 -13
  77. package/src/nudge/Nudge.css +0 -206
  78. package/src/overlayHeader/OverlayHeader.css +0 -15
  79. package/src/phoneNumberInput/PhoneNumberInput.css +0 -28
  80. package/src/popover/Popover.css +0 -76
  81. package/src/progress/Progress.css +0 -43
  82. package/src/progressBar/ProgressBar.css +0 -14
  83. package/src/promoCard/PromoCard.css +0 -186
  84. package/src/prompt/ActionPrompt/ActionPrompt.css +0 -30
  85. package/src/prompt/CriticalBanner/CriticalBanner.css +0 -134
  86. package/src/prompt/CriticalBanner/CriticalBanner.vars.css +0 -0
  87. package/src/prompt/InfoPrompt/InfoPrompt.css +0 -57
  88. package/src/prompt/InlinePrompt/InlinePrompt.css +0 -57
  89. package/src/prompt/PrimitivePrompt/PrimitivePrompt.css +0 -51
  90. package/src/prompt/common/Expander/Expander.css +0 -8
  91. package/src/radioGroup/RadioGroup.css +0 -3
  92. package/src/section/Section.css +0 -10
  93. package/src/segmentedControl/SegmentedControl.css +0 -101
  94. package/src/select/Select.css +0 -369
  95. package/src/sentimentSurface/SentimentSurface.css +0 -487
  96. package/src/slidingPanel/SlidingPanel.css +0 -105
  97. package/src/snackbar/Snackbar.css +0 -93
  98. package/src/statusIcon/StatusIcon.css +0 -37
  99. package/src/stepper/Stepper.css +0 -77
  100. package/src/styles/less/accordion.css +0 -255
  101. package/src/styles/less/alerts.css +0 -751
  102. package/src/styles/less/background.css +0 -20
  103. package/src/styles/less/badge.css +0 -90
  104. package/src/styles/less/border-radius.css +0 -3
  105. package/src/styles/less/breadcrumbs.css +0 -20
  106. package/src/styles/less/button-groups.css +0 -495
  107. package/src/styles/less/buttons.css +0 -1390
  108. package/src/styles/less/chevron.css +0 -35
  109. package/src/styles/less/circles.css +0 -248
  110. package/src/styles/less/close.css +0 -47
  111. package/src/styles/less/column-layout.css +0 -164
  112. package/src/styles/less/core/viewport-themes.css +0 -63
  113. package/src/styles/less/currency-flags.css +0 -46
  114. package/src/styles/less/decision.css +0 -136
  115. package/src/styles/less/dropdowns.css +0 -472
  116. package/src/styles/less/droppable.css +0 -221
  117. package/src/styles/less/flex.css +0 -596
  118. package/src/styles/less/footer.css +0 -129
  119. package/src/styles/less/forms/bootstrap-forms.css +0 -2277
  120. package/src/styles/less/forms/checkbox-radio.css +0 -367
  121. package/src/styles/less/grid.css +0 -2369
  122. package/src/styles/less/input-groups.css +0 -2740
  123. package/src/styles/less/link-callout.css +0 -20
  124. package/src/styles/less/list-group.css +0 -350
  125. package/src/styles/less/loaders.css +0 -76
  126. package/src/styles/less/media.css +0 -74
  127. package/src/styles/less/modals.css +0 -185
  128. package/src/styles/less/navbar.css +0 -2406
  129. package/src/styles/less/navs.css +0 -296
  130. package/src/styles/less/neptune-social-media.css +0 -144
  131. package/src/styles/less/neptune.css +0 -25468
  132. package/src/styles/less/panels.css +0 -528
  133. package/src/styles/less/popovers.css +0 -661
  134. package/src/styles/less/process.css +0 -483
  135. package/src/styles/less/progress-bars.css +0 -64
  136. package/src/styles/less/ring.css +0 -55
  137. package/src/styles/less/select.css +0 -99
  138. package/src/styles/less/sequences.css +0 -855
  139. package/src/styles/less/table.css +0 -446
  140. package/src/styles/less/tick.css +0 -32
  141. package/src/styles/less/tooltip.css +0 -160
  142. package/src/styles/less/utilities.css +0 -133
  143. package/src/styles/less/wells.css +0 -60
  144. package/src/styles/variables/legacy-variables.css +0 -0
  145. package/src/styles/variables/neptune-tokens.css +0 -0
  146. package/src/styles/variables/zindex.css +0 -0
  147. package/src/summary/Summary.css +0 -81
  148. package/src/switch/Switch.css +0 -63
  149. package/src/switchOption/SwitchOption.css +0 -4
  150. package/src/table/Table.css +0 -274
  151. package/src/tabs/Tabs.css +0 -121
  152. package/src/tile/Tile.css +0 -68
  153. package/src/tooltip/Tooltip.css +0 -50
  154. package/src/typeahead/Typeahead.css +0 -187
  155. package/src/typeahead/typeaheadOption/TypeaheadOption.css +0 -9
  156. package/src/upload/Upload.css +0 -34
  157. package/src/uploadInput/UploadInput.css +0 -18
  158. package/src/uploadInput/uploadButton/UploadButton.css +0 -90
  159. package/src/uploadInput/uploadItem/UploadItem.css +0 -166
@@ -1,190 +0,0 @@
1
- .np-chip {
2
- background-color: transparent;
3
- border: 1px solid rgba(0,0,0,0.10196);
4
- border: 1px solid var(--color-border-neutral);
5
- border-radius: 16px;
6
- border-radius: var(--size-16);
7
- color: #5d7079;
8
- color: var(--color-content-secondary);
9
- height: 32px;
10
- height: var(--size-32);
11
- margin-right: 8px;
12
- margin-right: var(--size-8);
13
- padding: 0 12px;
14
- padding: 0 var(--size-12);
15
- transition: color 0.15s ease-in-out, border-color 0.15s ease-in-out, background-color 0.15s ease-in-out;
16
- }
17
- @media (max-width: 320px) {
18
- .np-chip {
19
- height: 40px;
20
- height: var(--size-40);
21
- }
22
- }
23
- .np-chip:hover {
24
- cursor: pointer;
25
- }
26
- .np-chip .np-chip-label {
27
- padding-top: 2px;
28
- }
29
- .np-chip .np-close-button {
30
- pointer-events: auto;
31
- }
32
- .np-chip:last-child {
33
- margin-right: 0;
34
- }
35
- [dir="rtl"] .np-chip:last-child {
36
- margin-left: 0;
37
- margin-right: 0;
38
- margin-right: initial;
39
- }
40
- .np-chip:active {
41
- background-color: #0081ba;
42
- background-color: var(--color-interactive-accent-active);
43
- border-color: #0081ba;
44
- border-color: var(--color-interactive-accent-active);
45
- color: #fff;
46
- }
47
- .np-chip--selected {
48
- color: #fff;
49
- background-color: #00a2dd;
50
- background-color: var(--color-interactive-accent);
51
- border-color: #00a2dd;
52
- border-color: var(--color-interactive-accent);
53
- pointer-events: none;
54
- }
55
- .np-chip--selected:hover,
56
- .np-chip--selected:active {
57
- color: #fff;
58
- background-color: #008fc9;
59
- background-color: var(--color-interactive-accent-hover);
60
- border-color: #008fc9;
61
- border-color: var(--color-interactive-accent-hover);
62
- }
63
- .np-chip--selected .np-close-button {
64
- color: white;
65
- }
66
- .np-chip.has-error {
67
- background: #e74848;
68
- background: var(--color-interactive-negative);
69
- color: #fff;
70
- }
71
- .np-chip.has-error .np-close-button {
72
- color: white;
73
- }
74
- .np-theme-personal .np-chip.has-error {
75
- background: var(--color-sentiment-negative);
76
- }
77
- .np-theme-personal .np-chip.has-error,
78
- .np-theme-personal .np-chip.has-error:not(.disabled):not(:disabled):hover,
79
- .np-theme-personal .np-chip.has-error:not(.disabled):not(:disabled):active {
80
- color: var(--color-contrast);
81
- }
82
- .np-theme-personal .np-chip.has-error:not(.disabled):not(:disabled):hover {
83
- background: var(--color-sentiment-negative-hover);
84
- border-color: var(--color-sentiment-negative-hover) !important;
85
- }
86
- .np-theme-personal .np-chip.has-error:not(.disabled):not(:disabled):active {
87
- background: var(--color-sentiment-negative-active);
88
- border-color: var(--color-sentiment-negative-active) !important;
89
- }
90
- .np-theme-personal .np-chip {
91
- font-weight: 600;
92
- font-weight: var(--font-weight-semi-bold);
93
- color: var(--color-interactive-primary);
94
- padding: 0 16px;
95
- padding: 0 var(--size-16);
96
- border-color: #c9cbce;
97
- border-color: var(--color-interactive-secondary);
98
- }
99
- .np-theme-personal .np-chip:not(.disabled):not(:disabled):hover {
100
- color: var(--color-interactive-primary-hover);
101
- background-color: var(--color-background-screen-hover);
102
- border-color: #b5b7ba;
103
- border-color: var(--color-interactive-secondary-hover);
104
- }
105
- .np-theme-personal .np-chip:not(.disabled):not(:disabled):active {
106
- color: var(--color-interactive-primary-active);
107
- background-color: var(--color-background-screen-active);
108
- border-color: #a7a9ab;
109
- border-color: var(--color-interactive-secondary-active);
110
- }
111
- .np-theme-personal .np-chip .np-close-button {
112
- margin-right: calc(8px * -1);
113
- margin-right: calc(var(--size-8) * -1);
114
- border-radius: inherit;
115
- }
116
- .np-theme-personal .np-chip .np-close-button,
117
- .np-theme-personal .np-chip .np-close-button:hover,
118
- .np-theme-personal .np-chip .np-close-button:not(.disabled):not(:disabled):hover,
119
- .np-theme-personal .np-chip .np-close-button:not(.disabled):not(:disabled):active {
120
- color: inherit !important;
121
- background-color: transparent !important;
122
- }
123
- .np-theme-personal .np-chip:not(.disabled):not(:disabled):focus-visible,
124
- .np-theme-personal .np-chip:not(.disabled):not(:disabled):has(:focus-visible) {
125
- outline: var(--ring-outline-color) solid var(--ring-outline-width);
126
- outline-offset: var(--ring-outline-offset);
127
- }
128
- .np-theme-personal .np-chip:not(.disabled):not(:disabled):focus-visible .np-close-button,
129
- .np-theme-personal .np-chip:not(.disabled):not(:disabled):has(:focus-visible) .np-close-button {
130
- background: transparent;
131
- outline: none;
132
- }
133
- .np-theme-personal .np-chip:not(.disabled):not(:disabled):focus-visible .np-close-button:hover,
134
- .np-theme-personal .np-chip:not(.disabled):not(:disabled):has(:focus-visible) .np-close-button:hover {
135
- color: inherit !important;
136
- }
137
- .np-theme-personal .np-chip.np-chip--removable {
138
- position: relative;
139
- }
140
- .np-theme-personal .np-chip.np-chip--removable .np-text-body-default-bold {
141
- padding-right: 24px;
142
- padding-right: var(--size-24);
143
- }
144
- @media (max-width: 320px) {
145
- .np-theme-personal .np-chip.np-chip--removable .np-text-body-default-bold {
146
- padding-right: 48px;
147
- padding-right: var(--size-48);
148
- }
149
- }
150
- .np-theme-personal .np-chip.np-chip--removable .np-close-button {
151
- justify-content: flex-end;
152
- top: 0;
153
- left: 0;
154
- position: absolute;
155
- padding-right: 8px;
156
- padding-right: var(--size-8);
157
- height: 100%;
158
- width: 100%;
159
- }
160
- .np-theme-personal .np-chip:has(.disabled, :disabled):focus-visible {
161
- outline: none;
162
- }
163
- .np-theme-personal .np-chip--selected,
164
- .np-theme-personal .np-chip--valid {
165
- color: var(--color-interactive-contrast);
166
- background-color: var(--color-interactive-primary);
167
- border-color: var(--color-interactive-primary);
168
- }
169
- .np-theme-personal .np-chip--selected:not(.disabled):not(:disabled):hover,
170
- .np-theme-personal .np-chip--valid:not(.disabled):not(:disabled):hover {
171
- color: var(--color-interactive-contrast-hover);
172
- background-color: var(--color-interactive-primary-hover);
173
- border-color: var(--color-interactive-primary-hover);
174
- }
175
- .np-theme-personal .np-chip--selected:not(.disabled):not(:disabled):active,
176
- .np-theme-personal .np-chip--valid:not(.disabled):not(:disabled):active {
177
- color: var(--color-interactive-contrast-active);
178
- background-color: var(--color-interactive-primary-active);
179
- border-color: var(--color-interactive-primary-active);
180
- }
181
- .np-theme-personal .np-chip--selected .np-close-button,
182
- .np-theme-personal .np-chip--valid .np-close-button {
183
- color: inherit;
184
- }
185
- .np-theme-personal .np-chip--selected .np-close-button:focus,
186
- .np-theme-personal .np-chip--valid .np-close-button:focus,
187
- .np-theme-personal .np-chip--selected .np-close-button:focus-within,
188
- .np-theme-personal .np-chip--valid .np-close-button:focus-within {
189
- outline: none;
190
- }
@@ -1,34 +0,0 @@
1
- .np-circular-btn {
2
- display: inline-flex;
3
- flex-direction: column;
4
- align-items: center;
5
- cursor: pointer;
6
- }
7
- .np-circular-btn-primary-default .np-circular-btn-label,
8
- .np-circular-btn-secondary-default .np-circular-btn-label {
9
- text-align: center;
10
- color: var(--color-interactive-primary);
11
- }
12
- .np-circular-btn-primary-default .np-circular-btn-label:not(.disabled):not(:disabled):hover,
13
- .np-circular-btn-secondary-default .np-circular-btn-label:not(.disabled):not(:disabled):hover {
14
- color: var(--color-interactive-primary-hover);
15
- }
16
- .np-circular-btn-primary-default .np-circular-btn-label:not(.disabled):not(:disabled):active,
17
- .np-circular-btn-secondary-default .np-circular-btn-label:not(.disabled):not(:disabled):active {
18
- color: var(--color-interactive-primary-active);
19
- }
20
- .np-circular-btn-primary-negative .np-circular-btn-label,
21
- .np-circular-btn-secondary-negative .np-circular-btn-label {
22
- color: var(--color-sentiment-negative-primary);
23
- }
24
- .np-circular-btn-primary-negative .np-circular-btn-label:not(.disabled):not(:disabled):hover,
25
- .np-circular-btn-secondary-negative .np-circular-btn-label:not(.disabled):not(:disabled):hover {
26
- color: var(--color-sentiment-negative-primary-hover);
27
- }
28
- .np-circular-btn-primary-negative .np-circular-btn-label:not(.disabled):not(:disabled):active,
29
- .np-circular-btn-secondary-negative .np-circular-btn-label:not(.disabled):not(:disabled):active {
30
- color: var(--color-sentiment-negative-primary-active);
31
- }
32
- .np-circular-btn-disabled {
33
- cursor: not-allowed;
34
- }
@@ -1,120 +0,0 @@
1
- .np-option:has(:focus-visible) {
2
- outline: var(--ring-outline-color) solid var(--ring-outline-width);
3
- outline-offset: 0;
4
- outline-offset: var(--ring-outline-offset);
5
- --ring-outline-offset: 0;
6
- }
7
- .np-option:has(:focus-visible) *:focus-visible {
8
- outline: none;
9
- }
10
- .np-option .circle-sm {
11
- width: 40px;
12
- width: var(--size-40);
13
- height: 40px;
14
- height: var(--size-40);
15
- }
16
- .np-option__title {
17
- color: #37517e;
18
- color: var(--color-content-primary);
19
- font-size: 1rem;
20
- font-weight: 600;
21
- font-weight: var(--font-weight-semi-bold);
22
- letter-spacing: 0;
23
- line-height: 1.5;
24
- line-height: var(--line-height-body);
25
- margin: 0;
26
- }
27
- .np-option__body {
28
- margin-top: 4px;
29
- margin-top: var(--size-4);
30
- color: #5d7079;
31
- color: var(--color-content-secondary);
32
- font-size: 0.875rem;
33
- font-size: var(--font-size-14);
34
- font-weight: 400;
35
- font-weight: var(--font-weight-regular);
36
- line-height: 1.42857;
37
- }
38
- .np-option__sm-media.decision .media-left {
39
- display: block;
40
- }
41
- .np-option__no-media-circle {
42
- min-width: 48px;
43
- min-width: var(--size-48);
44
- max-width: 64px;
45
- max-width: var(--size-64);
46
- display: flex;
47
- justify-content: center;
48
- }
49
- .np-option__no-media-circle > * {
50
- max-height: 76px;
51
- }
52
- button.np-option {
53
- background-color: transparent;
54
- width: 100%;
55
- text-align: left;
56
- }
57
- [dir="rtl"] button.np-option {
58
- text-align: right;
59
- }
60
- .np-theme-personal .np-option .circle {
61
- overflow: visible;
62
- }
63
- .np-theme-personal .np-option .circle-sm {
64
- width: 48px;
65
- width: var(--size-48);
66
- height: 48px;
67
- height: var(--size-48);
68
- line-height: 48px;
69
- line-height: var(--size-48);
70
- }
71
- @media (max-width: 320px) {
72
- .np-theme-personal .np-option .circle-sm {
73
- width: 96px;
74
- width: var(--size-96);
75
- height: 96px;
76
- height: var(--size-96);
77
- line-height: 96px;
78
- line-height: var(--size-96);
79
- }
80
- }
81
- .np-theme-personal .np-option__body {
82
- margin: 4px 0 0;
83
- margin: var(--size-4) 0 0;
84
- -webkit-text-decoration: none;
85
- text-decoration: none;
86
- }
87
- .np-theme-personal .np-option__container-aligned {
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: 600px) {
96
- .np-theme-personal .np-option {
97
- border-radius: 10px;
98
- border-radius: var(--radius-small);
99
- }
100
- }
101
- .np-theme-personal .np-option-additional-content {
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;
111
- }
112
- @media (max-width: 320px) {
113
- .np-theme-personal :not(.np-option__sm-media) > .np-option-additional-content {
114
- margin-left: 16px;
115
- margin-left: var(--size-16);
116
- }
117
- .np-theme-personal .np-option-additional-content {
118
- margin-top: -3px;
119
- }
120
- }
@@ -1,4 +0,0 @@
1
- .radio:hover {
2
- border-color: rgba(0,0,0,0.10196);
3
- border-color: var(--color-border-neutral);
4
- }
@@ -1,49 +0,0 @@
1
- /* @define Card */
2
- .np-Card {
3
- --Card-background-color: var(--color-background-neutral);
4
- --Card-border-radius: var(--size-32);
5
- --Card-flex-gap: var(--size-16);
6
- --Card-padding: var(--size-24);
7
- --Card-closeButton-position: var(--size-16);
8
- --Card-max-width: initial;
9
- display: flex;
10
- flex-direction: column;
11
- align-items: stretch;
12
- background-color: rgba(134,167,189,0.10196);
13
- background-color: var(--Card-background-color);
14
- border-radius: 32px;
15
- border-radius: var(--Card-border-radius);
16
- gap: 16px;
17
- gap: var(--Card-flex-gap);
18
- padding: 24px;
19
- padding: var(--Card-padding);
20
- position: relative;
21
- box-sizing: border-box;
22
- overflow: hidden;
23
- }
24
- @media (min-width: 600px) {
25
- .np-Card {
26
- max-width: var(--Card-max-width);
27
- }
28
- }
29
- .np-Card.is-disabled .np-Card-closeButton {
30
- cursor: not-allowed;
31
- }
32
- .np-theme-personal--dark .np-Card {
33
- --Card-background-color: var(--color-background-elevated);
34
- }
35
- .np-Card-closeButton {
36
- position: absolute;
37
- z-index: 100;
38
- top: var(--Card-closeButton-position);
39
- right: var(--Card-closeButton-position);
40
- }
41
- [dir="rtl"] .np-Card-closeButton {
42
- left: var(--Card-closeButton-position);
43
- right: auto;
44
- }
45
- .np-Card--small {
46
- --Card-border-radius: var(--size-16);
47
- --Card-closeButton-position: var(--size-8);
48
- --Card-padding: var(--size-16);
49
- }
@@ -1,53 +0,0 @@
1
- .np-bottom-sheet {
2
- border-radius: 10px 10px 0 0;
3
- }
4
- .np-bottom-sheet--top-bar {
5
- cursor: grab;
6
- padding: 8px 0 calc(16px + 4px);
7
- padding: var(--size-8) 0 calc(var(--size-16) + var(--size-4));
8
- display: flex;
9
- flex-direction: column;
10
- align-items: center;
11
- }
12
- .np-bottom-sheet--top-bar--shadow {
13
- box-shadow: 0 4px 40px rgba(34, 48, 73, 0.2);
14
- }
15
- .np-theme-personal--forest-green .np-bottom-sheet--top-bar--shadow,
16
- .np-theme-personal--bright-green .np-bottom-sheet--top-bar--shadow,
17
- .np-theme-personal--dark .np-bottom-sheet--top-bar--shadow {
18
- box-shadow: none;
19
- }
20
- .np-bottom-sheet--handler {
21
- width: 40px;
22
- height: 4px;
23
- background: #c9cbce;
24
- background: var(--color-interactive-secondary);
25
- border-radius: 10px;
26
- border-radius: var(--radius-small);
27
- }
28
- .np-bottom-sheet--close-btn {
29
- position: absolute;
30
- right: 8px;
31
- right: var(--size-8);
32
- }
33
- .np-bottom-sheet--content {
34
- overflow-y: auto;
35
- padding: 0 16px;
36
- padding: 0 var(--space-content-horizontal);
37
- padding-bottom: env(safe-area-inset-bottom);
38
- }
39
- .np-theme-personal .np-bottom-sheet--top-bar--shadow {
40
- box-shadow: 0 4px 40px rgba(69, 71, 69, 0.2);
41
- }
42
- .np-theme-personal .np-bottom-sheet {
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;
49
- }
50
- .np-theme-personal .np-bottom-sheet--content {
51
- padding: 0 16px 16px;
52
- padding: 0 var(--size-16) var(--size-16);
53
- }
@@ -1,43 +0,0 @@
1
- .np-circle {
2
- border-radius: 9999px;
3
- border-radius: var(--radius-full);
4
- width: var(--circle-size);
5
- height: var(--circle-size);
6
- flex-shrink: 0;
7
- --circle-border-color: var(--color-border-neutral);
8
- --circle-border-width: 1px;
9
- font-size: var(--circle-font-size);
10
- font-weight: 600;
11
- font-weight: var(--font-weight-semi-bold);
12
- line-height: 1;
13
- }
14
- .np-circle .np-display {
15
- font-size: var(--circle-font-size);
16
- }
17
- .np-circle .tw-icon > svg {
18
- height: var(--circle-icon-size);
19
- width: var(--circle-icon-size);
20
- }
21
- .np-circle img,
22
- .np-circle .wds-flag {
23
- border-radius: 9999px;
24
- border-radius: var(--radius-full);
25
- width: 100%;
26
- height: 100%;
27
- -o-object-fit: cover;
28
- object-fit: cover;
29
- }
30
- .np-circle-border {
31
- position: relative;
32
- }
33
- .np-circle-border::after {
34
- content: "";
35
- position: absolute;
36
- top: 0;
37
- left: 0;
38
- width: 100%;
39
- height: 100%;
40
- border-radius: 9999px;
41
- border-radius: var(--radius-full);
42
- box-shadow: inset 0 0 0 var(--circle-border-width) var(--circle-border-color);
43
- }
@@ -1,94 +0,0 @@
1
- .np-close-button {
2
- transition: color 0.15s ease-in-out;
3
- color: #00a2dd;
4
- color: var(--color-interactive-accent);
5
- border: none;
6
- background: none;
7
- padding: 0;
8
- height: 16px;
9
- height: var(--size-16);
10
- --ring-outline-offset: 0;
11
- }
12
- .np-close-button--large,
13
- .np-close-button--x-large {
14
- height: 24px;
15
- height: var(--size-24);
16
- }
17
- .np-close-button:hover {
18
- color: #008fc9;
19
- color: var(--color-interactive-accent-hover);
20
- }
21
- .np-theme-personal .np-close-button {
22
- color: var(--color-interactive-primary);
23
- height: 32px;
24
- height: var(--size-32);
25
- width: 32px;
26
- width: var(--size-32);
27
- display: inline-flex;
28
- align-items: center;
29
- justify-content: center;
30
- border-radius: 9999px;
31
- border-radius: var(--radius-full);
32
- transition: background-color 0.1s ease;
33
- }
34
- @media (max-width: 320px) {
35
- .np-theme-personal .np-close-button {
36
- height: 64px;
37
- height: var(--size-64);
38
- width: 64px;
39
- width: var(--size-64);
40
- }
41
- }
42
- .np-theme-personal .np-close-button--x-small {
43
- height: 24px;
44
- height: var(--size-24);
45
- width: 24px;
46
- width: var(--size-24);
47
- flex-shrink: 0;
48
- }
49
- @media (max-width: 320px) {
50
- .np-theme-personal .np-close-button--x-small {
51
- height: 48px;
52
- height: var(--size-48);
53
- width: 48px;
54
- width: var(--size-48);
55
- }
56
- }
57
- .np-theme-personal .np-close-button--large {
58
- height: 40px;
59
- height: var(--size-40);
60
- width: 40px;
61
- width: var(--size-40);
62
- flex-shrink: 0;
63
- }
64
- @media (max-width: 320px) {
65
- .np-theme-personal .np-close-button--large {
66
- height: 80px;
67
- height: var(--size-80);
68
- width: 80px;
69
- width: var(--size-80);
70
- }
71
- }
72
- .np-theme-personal .np-close-button--x-large {
73
- height: 48px;
74
- height: var(--size-48);
75
- width: 48px;
76
- width: var(--size-48);
77
- flex-shrink: 0;
78
- }
79
- @media (max-width: 320px) {
80
- .np-theme-personal .np-close-button--x-large {
81
- height: 96px;
82
- height: var(--size-96);
83
- width: 96px;
84
- width: var(--size-96);
85
- }
86
- }
87
- .np-theme-personal .np-close-button:not(.disabled):not(:disabled):hover {
88
- color: var(--color-interactive-primary-hover);
89
- background-color: var(--color-background-neutral-hover);
90
- }
91
- .np-theme-personal .np-close-button:not(.disabled):not(:disabled):active {
92
- color: var(--color-interactive-primary-active);
93
- background-color: var(--color-background-neutral-active);
94
- }
@@ -1,3 +0,0 @@
1
- .wds-LiveRegion {
2
- width: 100%;
3
- }
@@ -1,73 +0,0 @@
1
- .np-panel__content {
2
- opacity: 0;
3
- visibility: hidden;
4
- background-color: #ffffff;
5
- background-color: var(--color-background-elevated);
6
- border-radius: 10px;
7
- border-radius: var(--radius-small);
8
- box-shadow: 0 0 40px rgba(69, 71, 69, 0.2);
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;
10
- }
11
- .np-theme-personal .np-panel__content {
12
- border-radius: 10px;
13
- border-radius: var(--radius-small);
14
- }
15
- .np-theme-personal--forest-green .np-panel__content,
16
- .np-theme-personal--bright-green .np-panel__content,
17
- .np-theme-personal--dark .np-panel__content {
18
- box-shadow: none;
19
- }
20
- .np-panel--open .np-panel__content {
21
- 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 0s;
22
- visibility: visible;
23
- opacity: 1;
24
- transform: none !important;
25
- }
26
- .np-panel__arrow,
27
- .np-panel__arrow::before {
28
- position: absolute;
29
- width: 14px;
30
- height: 14px;
31
- }
32
- .np-panel__arrow::before {
33
- left: 0;
34
- content: "";
35
- transform: rotate(45deg);
36
- background: #ffffff;
37
- background: var(--color-background-elevated);
38
- }
39
- .np-panel[data-popper-placement^="top"] > .np-panel__content {
40
- transform: translateY(10px) scale(0.95);
41
- }
42
- .np-panel[data-popper-placement^="top"] > .np-panel__content .np-panel__arrow {
43
- bottom: -6px;
44
- }
45
- .np-panel[data-popper-placement^="right"] > .np-panel__content {
46
- transform: translateX(-10px) scale(0.95);
47
- }
48
- .np-panel[data-popper-placement^="right"] > .np-panel__content .np-panel__arrow {
49
- left: -6px;
50
- }
51
- .np-panel[data-popper-placement^="bottom"] > .np-panel__content {
52
- transform: translateY(-10px) scale(0.95);
53
- }
54
- .np-panel[data-popper-placement^="bottom"] > .np-panel__content .np-panel__arrow {
55
- top: -6px;
56
- }
57
- .np-panel[data-popper-placement^="left"] > .np-panel__content {
58
- transform: translateX(10px) scale(0.95);
59
- }
60
- .np-panel[data-popper-placement^="left"] > .np-panel__content .np-panel__arrow {
61
- right: -6px;
62
- }
63
- .np-theme-personal .np-panel__content {
64
- border-radius: 16px;
65
- border-radius: var(--radius-medium);
66
- box-shadow: 0 0 40px rgba(69, 71, 69, 0.2);
67
- }
68
- .np-theme-personal--forest-green .np-dropdown-menu,
69
- .np-theme-personal--bright-green .np-dropdown-menu,
70
- .np-theme-personal--dark .np-dropdown-menu {
71
- background-color: #ffffff;
72
- background-color: var(--color-background-elevated);
73
- }
@@ -1,38 +0,0 @@
1
- .wds-container {
2
- --wds-container-padding-inline: 16px;
3
- --wds-container-width-fluid: 100%;
4
- --wds-container-width-standard: 1160px;
5
- --wds-container-width-narrow: 840px;
6
- --wds-container-width-compact: 600px;
7
- width: 100%;
8
- margin-inline: auto;
9
- padding-inline: 16px;
10
- padding-inline: var(--wds-container-padding-inline);
11
- }
12
- @media (min-width: 600px) {
13
- .wds-container {
14
- --wds-container-padding-inline: var(--size-16);
15
- }
16
- }
17
- @media (min-width: 840px) {
18
- .wds-container {
19
- --wds-container-padding-inline: var(--size-32);
20
- }
21
- }
22
- @media (min-width: 1160px) {
23
- .wds-container {
24
- --wds-container-padding-inline: var(--size-40);
25
- }
26
- }
27
- .wds-container--standard {
28
- max-width: var(--wds-container-width-standard);
29
- }
30
- .wds-container--narrow {
31
- max-width: var(--wds-container-width-narrow);
32
- }
33
- .wds-container--compact {
34
- max-width: var(--wds-container-width-compact);
35
- }
36
- .wds-container--fluid {
37
- max-width: var(--wds-container-width-fluid);
38
- }