@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.
Files changed (189) hide show
  1. package/build/card/Card.js.map +1 -1
  2. package/build/card/Card.mjs.map +1 -1
  3. package/build/main.css +1918 -1179
  4. package/build/styles/accordion/Accordion.css +27 -17
  5. package/build/styles/actionButton/ActionButton.css +16 -5
  6. package/build/styles/actionOption/ActionOption.css +2 -1
  7. package/build/styles/alert/Alert.css +2 -1
  8. package/build/styles/avatar/Avatar.css +84 -69
  9. package/build/styles/avatarLayout/AvatarLayout.css +22 -16
  10. package/build/styles/avatarView/AvatarView.css +11 -4
  11. package/build/styles/avatarView/Dot.css +9 -4
  12. package/build/styles/badge/Badge.css +19 -14
  13. package/build/styles/button/Button.css +20 -19
  14. package/build/styles/button/LegacyButton.css +7 -4
  15. package/build/styles/card/Card.css +24 -20
  16. package/build/styles/carousel/Carousel.css +45 -26
  17. package/build/styles/checkboxButton/CheckboxButton.css +15 -10
  18. package/build/styles/chips/Chip.css +61 -39
  19. package/build/styles/circularButton/CircularButton.css +8 -8
  20. package/build/styles/common/Option/Option.css +57 -30
  21. package/build/styles/common/RadioButton/RadioButton.css +1 -0
  22. package/build/styles/common/bottomSheet/BottomSheet.css +20 -21
  23. package/build/styles/common/card/Card.css +10 -6
  24. package/build/styles/common/circle/Circle.css +16 -11
  25. package/build/styles/common/closeButton/CloseButton.css +45 -24
  26. package/build/styles/common/panel/Panel.css +13 -7
  27. package/build/styles/criticalBanner/CriticalCommsBanner.css +8 -5
  28. package/build/styles/dateInput/DateInput.css +5 -5
  29. package/build/styles/dateLookup/DateLookup.css +26 -13
  30. package/build/styles/dateLookup/dateTrigger/DateTrigger.css +13 -8
  31. package/build/styles/decision/Decision.css +4 -0
  32. package/build/styles/definitionList/DefinitionList.css +13 -8
  33. package/build/styles/dimmer/Dimmer.css +15 -13
  34. package/build/styles/divider/Divider.css +7 -5
  35. package/build/styles/drawer/Drawer.css +21 -15
  36. package/build/styles/dropFade/DropFade.css +2 -2
  37. package/build/styles/emphasis/Emphasis.css +6 -0
  38. package/build/styles/expressiveMoneyInput/ExpressiveMoneyInput.css +12 -8
  39. package/build/styles/expressiveMoneyInput/amountInput/AmountInput.css +4 -4
  40. package/build/styles/expressiveMoneyInput/chevron/Chevron.css +5 -3
  41. package/build/styles/expressiveMoneyInput/currencySelector/CurrencySelector.css +1 -0
  42. package/build/styles/field/Field.css +5 -3
  43. package/build/styles/flowNavigation/FlowNavigation.css +28 -22
  44. package/build/styles/flowNavigation/animatedLabel/AnimatedLabel.css +6 -5
  45. package/build/styles/header/Header.css +16 -8
  46. package/build/styles/iconButton/IconButton.css +17 -12
  47. package/build/styles/image/Image.css +7 -6
  48. package/build/styles/info/Info.css +1 -1
  49. package/build/styles/inputs/Input.css +51 -20
  50. package/build/styles/inputs/InputGroup.css +14 -5
  51. package/build/styles/inputs/SelectInput.css +101 -42
  52. package/build/styles/inputs/TextArea.css +54 -21
  53. package/build/styles/instructionsList/InstructionsList.css +5 -3
  54. package/build/styles/legacylistItem/LegacyListItem.css +1 -1
  55. package/build/styles/link/Link.css +6 -3
  56. package/build/styles/listItem/ListItem.css +88 -44
  57. package/build/styles/listItem/ListItem.grid.css +15 -7
  58. package/build/styles/loader/Loader.css +36 -21
  59. package/build/styles/logo/Logo.css +2 -2
  60. package/build/styles/main.css +1918 -1179
  61. package/build/styles/modal/Modal.css +27 -19
  62. package/build/styles/moneyInput/MoneyInput.css +26 -16
  63. package/build/styles/navigationOption/NavigationOption.css +21 -13
  64. package/build/styles/navigationOptionsList/NavigationOptionsList.css +6 -5
  65. package/build/styles/nudge/Nudge.css +77 -71
  66. package/build/styles/overlayHeader/OverlayHeader.css +6 -5
  67. package/build/styles/phoneNumberInput/PhoneNumberInput.css +7 -4
  68. package/build/styles/popover/Popover.css +21 -11
  69. package/build/styles/progress/Progress.css +12 -2
  70. package/build/styles/progressBar/ProgressBar.css +7 -2
  71. package/build/styles/promoCard/PromoCard.css +57 -37
  72. package/build/styles/prompt/ActionPrompt/ActionPrompt.css +11 -6
  73. package/build/styles/prompt/InfoPrompt/InfoPrompt.css +7 -4
  74. package/build/styles/prompt/InlinePrompt/InlinePrompt.css +8 -3
  75. package/build/styles/prompt/PrimitivePrompt/PrimitivePrompt.css +15 -7
  76. package/build/styles/radioGroup/RadioGroup.css +1 -1
  77. package/build/styles/section/Section.css +6 -3
  78. package/build/styles/segmentedControl/SegmentedControl.css +25 -14
  79. package/build/styles/select/Select.css +129 -71
  80. package/build/styles/slidingPanel/SlidingPanel.css +26 -17
  81. package/build/styles/snackbar/Snackbar.css +32 -25
  82. package/build/styles/stepper/Stepper.css +14 -10
  83. package/build/styles/summary/Summary.css +30 -17
  84. package/build/styles/switch/Switch.css +10 -6
  85. package/build/styles/table/Table.css +71 -47
  86. package/build/styles/tabs/Tabs.css +34 -19
  87. package/build/styles/tile/Tile.css +21 -9
  88. package/build/styles/tooltip/Tooltip.css +7 -3
  89. package/build/styles/typeahead/Typeahead.css +53 -38
  90. package/build/styles/typeahead/typeaheadOption/TypeaheadOption.css +2 -0
  91. package/build/styles/upload/Upload.css +10 -8
  92. package/build/styles/uploadInput/UploadInput.css +6 -4
  93. package/build/styles/uploadInput/uploadButton/UploadButton.css +24 -14
  94. package/build/styles/uploadInput/uploadItem/UploadItem.css +58 -35
  95. package/build/types/card/Card.d.ts +1 -1
  96. package/package.json +2 -2
  97. package/src/accordion/Accordion.css +27 -17
  98. package/src/actionButton/ActionButton.css +16 -5
  99. package/src/actionOption/ActionOption.css +2 -1
  100. package/src/alert/Alert.css +2 -1
  101. package/src/avatar/Avatar.css +84 -69
  102. package/src/avatarLayout/AvatarLayout.css +22 -16
  103. package/src/avatarView/AvatarView.css +11 -4
  104. package/src/avatarView/Dot.css +9 -4
  105. package/src/badge/Badge.css +19 -14
  106. package/src/button/Button.css +20 -19
  107. package/src/button/LegacyButton.css +7 -4
  108. package/src/card/Card.css +24 -20
  109. package/src/card/Card.story.tsx +3 -2
  110. package/src/card/Card.tsx +1 -1
  111. package/src/carousel/Carousel.css +45 -26
  112. package/src/checkboxButton/CheckboxButton.css +15 -10
  113. package/src/chips/Chip.css +61 -39
  114. package/src/circularButton/CircularButton.css +8 -8
  115. package/src/common/Option/Option.css +57 -30
  116. package/src/common/RadioButton/RadioButton.css +1 -0
  117. package/src/common/bottomSheet/BottomSheet.css +20 -21
  118. package/src/common/card/Card.css +10 -6
  119. package/src/common/circle/Circle.css +16 -11
  120. package/src/common/closeButton/CloseButton.css +45 -24
  121. package/src/common/panel/Panel.css +13 -7
  122. package/src/criticalBanner/CriticalCommsBanner.css +8 -5
  123. package/src/dateInput/DateInput.css +5 -5
  124. package/src/dateLookup/DateLookup.css +26 -13
  125. package/src/dateLookup/dateTrigger/DateTrigger.css +13 -8
  126. package/src/decision/Decision.css +4 -0
  127. package/src/definitionList/DefinitionList.css +13 -8
  128. package/src/dimmer/Dimmer.css +15 -13
  129. package/src/divider/Divider.css +7 -5
  130. package/src/drawer/Drawer.css +21 -15
  131. package/src/dropFade/DropFade.css +2 -2
  132. package/src/emphasis/Emphasis.css +6 -0
  133. package/src/expressiveMoneyInput/ExpressiveMoneyInput.css +12 -8
  134. package/src/expressiveMoneyInput/amountInput/AmountInput.css +4 -4
  135. package/src/expressiveMoneyInput/chevron/Chevron.css +5 -3
  136. package/src/expressiveMoneyInput/currencySelector/CurrencySelector.css +1 -0
  137. package/src/field/Field.css +5 -3
  138. package/src/flowNavigation/FlowNavigation.css +28 -22
  139. package/src/flowNavigation/animatedLabel/AnimatedLabel.css +6 -5
  140. package/src/header/Header.css +16 -8
  141. package/src/iconButton/IconButton.css +17 -12
  142. package/src/image/Image.css +7 -6
  143. package/src/info/Info.css +1 -1
  144. package/src/inputs/Input.css +51 -20
  145. package/src/inputs/InputGroup.css +14 -5
  146. package/src/inputs/SelectInput.css +101 -42
  147. package/src/inputs/TextArea.css +54 -21
  148. package/src/instructionsList/InstructionsList.css +5 -3
  149. package/src/legacylistItem/LegacyListItem.css +1 -1
  150. package/src/link/Link.css +6 -3
  151. package/src/listItem/ListItem.css +88 -44
  152. package/src/listItem/ListItem.grid.css +15 -7
  153. package/src/loader/Loader.css +36 -21
  154. package/src/logo/Logo.css +2 -2
  155. package/src/main.css +1918 -1179
  156. package/src/modal/Modal.css +27 -19
  157. package/src/moneyInput/MoneyInput.css +26 -16
  158. package/src/navigationOption/NavigationOption.css +21 -13
  159. package/src/navigationOptionsList/NavigationOptionsList.css +6 -5
  160. package/src/nudge/Nudge.css +77 -71
  161. package/src/overlayHeader/OverlayHeader.css +6 -5
  162. package/src/phoneNumberInput/PhoneNumberInput.css +7 -4
  163. package/src/popover/Popover.css +21 -11
  164. package/src/progress/Progress.css +12 -2
  165. package/src/progressBar/ProgressBar.css +7 -2
  166. package/src/promoCard/PromoCard.css +57 -37
  167. package/src/prompt/ActionPrompt/ActionPrompt.css +11 -6
  168. package/src/prompt/InfoPrompt/InfoPrompt.css +7 -4
  169. package/src/prompt/InlinePrompt/InlinePrompt.css +8 -3
  170. package/src/prompt/PrimitivePrompt/PrimitivePrompt.css +15 -7
  171. package/src/radioGroup/RadioGroup.css +1 -1
  172. package/src/section/Section.css +6 -3
  173. package/src/segmentedControl/SegmentedControl.css +25 -14
  174. package/src/select/Select.css +129 -71
  175. package/src/slidingPanel/SlidingPanel.css +26 -17
  176. package/src/snackbar/Snackbar.css +32 -25
  177. package/src/stepper/Stepper.css +14 -10
  178. package/src/summary/Summary.css +30 -17
  179. package/src/switch/Switch.css +10 -6
  180. package/src/table/Table.css +71 -47
  181. package/src/tabs/Tabs.css +34 -19
  182. package/src/tile/Tile.css +21 -9
  183. package/src/tooltip/Tooltip.css +7 -3
  184. package/src/typeahead/Typeahead.css +53 -38
  185. package/src/typeahead/typeaheadOption/TypeaheadOption.css +2 -0
  186. package/src/upload/Upload.css +10 -8
  187. package/src/uploadInput/UploadInput.css +6 -4
  188. package/src/uploadInput/uploadButton/UploadButton.css +24 -14
  189. 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
- inline-size: var(--size-40);
11
- block-size: var(--size-40);
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-block-start: var(--size-4);
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-inline-size: var(--size-48);
33
- max-inline-size: var(--size-64);
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-block-size: 76px;
50
+ max-height: 76px;
39
51
  }
40
52
  button.np-option {
41
53
  background-color: transparent;
42
- inline-size: 100%;
43
- text-align: start;
54
+ width: 100%;
55
+ text-align: left;
44
56
  }
45
57
  [dir="rtl"] button.np-option {
46
- text-align: end;
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
- inline-size: var(--size-48);
53
- block-size: var(--size-48);
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 (--screen-400-zoom) {
71
+ @media (max-width: 320px) {
57
72
  .np-theme-personal .np-option .circle-sm {
58
- inline-size: var(--size-96);
59
- block-size: var(--size-96);
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-block: var(--size-4) 0;
65
- margin-inline: 0;
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-inline-end: calc(-1 * var(--space-content-horizontal));
70
- margin-inline-start: calc(-1 * var(--space-content-horizontal));
71
- max-inline-size: none;
72
- inline-size: auto;
73
- }
74
- @media (--screen-sm) {
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-inline-start: var(--size-80);
81
- margin-inline-end: var(--size-16);
82
- margin-block-start: -10px;
83
- padding-block-end: var(--size-16);
84
- max-inline-size: fit-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;
85
111
  }
86
112
  @media (max-width: 480px) {
87
113
  .np-theme-personal :not(.np-option__sm-media) > .np-option-additional-content {
88
- margin-inline-start: var(--size-16);
114
+ margin-left: 16px;
115
+ margin-left: var(--size-16);
89
116
  }
90
117
  }
91
- @media (--screen-400-zoom) {
118
+ @media (max-width: 320px) {
92
119
  .np-theme-personal .np-option-additional-content {
93
- margin-block-start: -3px;
120
+ margin-top: -3px;
94
121
  }
95
122
  }
@@ -1,3 +1,4 @@
1
1
  .radio:hover {
2
+ border-color: rgba(0,0,0,0.10196);
2
3
  border-color: var(--color-border-neutral);
3
4
  }
@@ -1,13 +1,10 @@
1
1
  .np-bottom-sheet {
2
- border-start-start-radius: 10px;
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-block: var(--size-8) calc(var(--size-16) + var(--size-4));
10
- padding-inline: 0;
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
- inline-size: 40px;
25
- block-size: 4px;
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
- inset-inline-end: var(--size-8);
30
+ right: 8px;
31
+ right: var(--size-8);
32
32
  }
33
33
  .np-bottom-sheet--content {
34
34
  overflow-y: auto;
35
- padding-block: 0;
36
- padding-inline: var(--space-content-horizontal);
37
- padding-block-end: env(safe-area-inset-bottom);
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-start-start-radius: var(--radius-xlarge, 32px);
44
- border-start-end-radius: var(--radius-xlarge, 32px);
45
- border-end-end-radius: 0;
46
- border-end-start-radius: 0;
47
- margin-block: 0px;
48
- margin-inline: var(--size-8);
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-block: 0 var(--size-16);
53
- padding-inline: var(--size-16);
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 (--screen-sm) {
24
+ @media (min-width: 576px) {
21
25
  .np-Card {
22
- max-inline-size: var(--Card-max-width);
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
- inset-block-start: var(--Card-closeButton-position);
35
- inset-inline-end: var(--Card-closeButton-position);
38
+ top: var(--Card-closeButton-position);
39
+ right: var(--Card-closeButton-position);
36
40
  }
37
41
  [dir="rtl"] .np-Card-closeButton {
38
- inset-inline-start: var(--Card-closeButton-position);
39
- inset-inline-end: auto;
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
- inline-size: var(--circle-size);
4
- block-size: var(--circle-size);
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
- block-size: var(--circle-icon-size);
17
- inline-size: var(--circle-icon-size);
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
- inline-size: 100%;
23
- block-size: 100%;
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
- inset-block-start: 0;
33
- inset-inline-start: 0;
34
- inline-size: 100%;
35
- block-size: 100%;
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
- block-size: var(--size-16);
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
- block-size: var(--size-24);
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
- block-size: var(--size-32);
20
- inline-size: var(--size-32);
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 (--screen-400-zoom) {
34
+ @media (max-width: 320px) {
28
35
  .np-theme-personal .np-close-button {
29
- block-size: var(--size-64);
30
- inline-size: var(--size-64);
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
- block-size: var(--size-24);
35
- inline-size: var(--size-24);
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 (--screen-400-zoom) {
49
+ @media (max-width: 320px) {
39
50
  .np-theme-personal .np-close-button--x-small {
40
- block-size: var(--size-48);
41
- inline-size: var(--size-48);
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
- block-size: var(--size-40);
46
- inline-size: var(--size-40);
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 (--screen-400-zoom) {
64
+ @media (max-width: 320px) {
50
65
  .np-theme-personal .np-close-button--large {
51
- block-size: var(--size-80);
52
- inline-size: var(--size-80);
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
- block-size: var(--size-48);
57
- inline-size: var(--size-48);
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 (--screen-400-zoom) {
79
+ @media (max-width: 320px) {
61
80
  .np-theme-personal .np-close-button--x-large {
62
- block-size: var(--size-96);
63
- inline-size: var(--size-96);
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, :disabled):hover {
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, :disabled):active {
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
- inline-size: 14px;
27
- block-size: 14px;
29
+ width: 14px;
30
+ height: 14px;
28
31
  }
29
32
  .np-panel__arrow::before {
30
- inset-inline-start: 0;
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
- inset-block-end: -6px;
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
- inset-inline-start: -6px;
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
- inset-block-start: -6px;
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
- inset-inline-end: -6px;
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-block-start: var(--size-16);
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 (--screen-md) {
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
- inline-size: 100%;
29
+ width: 100%;
28
30
  }
29
31
  .np-theme-personal .critical-comms .alert-warning .alert__message .alert__action {
30
- margin-block-start: 0;
31
- margin-inline-start: var(--padding-small);
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
- inline-size: 100%;
2
+ width: 100%;
3
3
  }
4
4
  .tw-date .tw-date--year label {
5
- margin-block-end: 0;
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-block-end: 0;
10
+ margin-bottom: 0;
11
11
  }
12
- @media (--screen-sm) {
12
+ @media (min-width: 576px) {
13
13
  .np-theme-personal .tw-date label {
14
- margin-block-end: 0;
14
+ margin-bottom: 0;
15
15
  }
16
16
  }
@@ -1,19 +1,21 @@
1
1
  .tw-date-lookup-menu {
2
- inline-size: 400px;
2
+ width: 400px;
3
3
  }
4
4
  .tw-date-lookup-calendar {
5
- min-inline-size: 300px;
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 (--screen-400-zoom) {
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
- inline-size: 100%;
26
- padding-block: var(--size-4);
27
- padding-inline: 0;
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 (--screen-400-zoom) {
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
- block-size: var(--size-40);
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
- inline-size: var(--size-40);
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, :disabled) button.show-focus,
56
- .tw-date-lookup-calendar > tbody > tr > td:hover button:not(.disabled, :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, :disabled) button.active {
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: unset;
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 {