@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,32 +1,34 @@
1
1
  .np-summary {
2
- min-inline-size: 280px;
2
+ min-width: 280px;
3
3
  }
4
4
  .np-summary__body {
5
5
  flex: 1;
6
6
  }
7
7
  .np-summary__title {
8
- margin-block-start: 2px;
8
+ margin-top: 2px;
9
9
  line-height: calc(22 / 16);
10
+ font-weight: 600;
10
11
  font-weight: var(--font-weight-semi-bold);
11
12
  justify-content: space-between;
12
- margin-block-start: 0;
13
+ margin-top: 0;
13
14
  }
14
15
  .np-summary__title span {
15
16
  line-height: 1.375;
16
- margin-block-end: 0 !important;
17
+ margin-bottom: 0 !important;
17
18
  letter-spacing: normal;
18
19
  }
19
20
  .np-summary__title .np-info button {
20
- margin-block-start: 0;
21
+ margin-top: 0;
21
22
  }
22
23
  .np-summary__title .np-info__small {
23
- margin-block-start: 0;
24
+ margin-top: 0;
24
25
  }
25
26
  .np-summary__title .np-info .tw-icon {
26
27
  color: var(--color-interactive-primary);
27
28
  }
28
29
  .np-summary__icon {
29
30
  position: relative;
31
+ color: #37517e;
30
32
  color: var(--color-content-primary);
31
33
  }
32
34
  .np-summary__icon .np-summary-icon__done {
@@ -39,30 +41,41 @@
39
41
  background-color: transparent;
40
42
  border-radius: 50%;
41
43
  position: absolute;
42
- inset-inline-end: calc(var(--size-8) * -1);
43
- inset-block-end: -6px;
44
+ right: calc(8px * -1);
45
+ right: calc(var(--size-8) * -1);
46
+ bottom: -6px;
44
47
  }
45
48
  [dir="rtl"] .np-summary__icon :nth-child(2) {
46
- inset-inline-start: calc(var(--size-8) * -1);
47
- inset-inline-end: initial;
49
+ left: calc(8px * -1);
50
+ left: calc(var(--size-8) * -1);
51
+ right: auto;
52
+ right: initial;
48
53
  }
49
54
  .np-summary__description {
50
- margin-block-start: var(--size-4);
55
+ margin-top: 4px;
56
+ margin-top: var(--size-4);
57
+ font-size: 0.875rem;
51
58
  font-size: var(--font-size-14);
52
59
  line-height: calc(20 / 14);
60
+ color: #5d7079;
53
61
  color: var(--color-content-secondary);
54
- padding-inline-end: calc(var(--size-24) + var(--size-8));
62
+ padding-right: calc(24px + 8px);
63
+ padding-right: calc(var(--size-24) + var(--size-8));
55
64
  }
56
65
  [dir="rtl"] .np-summary__description {
57
- padding-inline-start: calc(var(--size-24) + var(--size-8));
58
- padding-inline-end: 0;
66
+ padding-left: calc(24px + 8px);
67
+ padding-left: calc(var(--size-24) + var(--size-8));
68
+ padding-right: 0;
59
69
  }
60
70
  .np-summary__description-icon {
61
- margin-block-start: var(--size-4);
71
+ margin-top: 4px;
72
+ margin-top: var(--size-4);
62
73
  }
63
74
  .np-summary__action {
64
- margin-block-start: var(--size-4);
75
+ margin-top: 4px;
76
+ margin-top: var(--size-4);
65
77
  }
66
78
  .np-summary + .np-summary {
67
- margin-block-start: var(--size-24);
79
+ margin-top: 24px;
80
+ margin-top: var(--size-24);
68
81
  }
@@ -3,10 +3,12 @@
3
3
  box-sizing: border-box;
4
4
  display: inline-flex;
5
5
  overflow: hidden;
6
- inline-size: 50px;
6
+ width: 50px;
7
7
  padding: 2px;
8
8
  border-radius: 16px;
9
- user-select: none;
9
+ -webkit-user-select: none;
10
+ -moz-user-select: none;
11
+ user-select: none;
10
12
  cursor: pointer;
11
13
  }
12
14
  .np-switch:focus {
@@ -24,12 +26,14 @@
24
26
  color: #fff;
25
27
  }
26
28
  .np-switch--unchecked {
29
+ background: #c9cbce;
27
30
  background: var(--color-interactive-secondary);
28
31
  }
29
32
  .np-switch--unchecked .switch--thumb {
30
33
  transform: translateX(0);
31
34
  }
32
35
  .np-switch--checked {
36
+ background: #00a2dd;
33
37
  background: var(--color-interactive-accent);
34
38
  }
35
39
  .np-switch--checked .np-switch--thumb {
@@ -44,16 +48,16 @@
44
48
  cursor: not-allowed !important;
45
49
  }
46
50
  .np-theme-personal .np-switch {
47
- padding-block: 1px;
48
- padding-inline: 2px;
51
+ padding: 1px 2px;
49
52
  }
50
53
  .np-theme-personal .np-switch--checked {
51
54
  background: var(--color-interactive-primary);
52
55
  }
53
56
  .np-theme-personal .np-switch--thumb {
54
- inline-size: 20px;
55
- block-size: 20px;
57
+ width: 20px;
58
+ height: 20px;
56
59
  margin: 3px;
57
60
  border-radius: 50%;
61
+ background-color: #ffffff;
58
62
  background-color: var(--color-background-screen);
59
63
  }
@@ -1,8 +1,9 @@
1
1
  .np-table {
2
- inline-size: 100%;
2
+ width: 100%;
3
3
  background-color: transparent;
4
4
  }
5
5
  .np-table-outer-container {
6
+ border-radius: 16px;
6
7
  border-radius: var(--radius-medium);
7
8
  }
8
9
  .np-table-outer-container:focus {
@@ -16,19 +17,21 @@
16
17
  outline-offset: 0;
17
18
  }
18
19
  .np-table-outer-container--center {
19
- margin-inline-end: auto;
20
- margin-inline-start: auto;
20
+ margin-right: auto;
21
+ margin-left: auto;
21
22
  }
22
- @media (--screen-sm-max) {
23
+ @media (max-width: 767px) {
23
24
  .np-table-outer-container--center {
24
- inline-size: 100%;
25
+ width: 100%;
25
26
  }
26
27
  }
27
28
  .np-table-outer-container--full-width {
28
- inline-size: 100%;
29
+ width: 100%;
29
30
  }
30
31
  .np-table-container {
32
+ padding: 8px;
31
33
  padding: var(--size-8);
34
+ background-color: rgba(134,167,189,0.10196);
32
35
  background-color: var(--color-background-neutral);
33
36
  border-radius: inherit;
34
37
  }
@@ -49,10 +52,10 @@
49
52
  background-image: linear-gradient(to right, var(--color-contrast-overlay), var(--color-contrast-overlay)), linear-gradient(to right, var(--color-contrast-overlay), var(--color-contrast-overlay)), linear-gradient(to right, #000000, rgba(0, 0, 0, 0)), linear-gradient(to left, #000000, rgba(0, 0, 0, 0));
50
53
  }
51
54
  .np-table-row:last-child .np-table-cell:first-child {
52
- border-end-start-radius: 10px;
55
+ border-bottom-left-radius: 10px;
53
56
  }
54
57
  .np-table-row:last-child .np-table-cell:last-child {
55
- border-end-end-radius: 10px;
58
+ border-bottom-right-radius: 10px;
56
59
  }
57
60
  .np-table-row:focus {
58
61
  outline: none;
@@ -72,37 +75,40 @@
72
75
  display: none;
73
76
  content: "";
74
77
  position: absolute;
75
- block-size: 100%;
76
- inline-size: 100%;
77
- inset-block-start: 0;
78
- inset-inline-start: 0;
78
+ height: 100%;
79
+ width: 100%;
80
+ top: 0;
81
+ left: 0;
79
82
  background-color: var(--color-background-screen-hover);
80
83
  }
81
84
  .np-table-row--clickable .np-table-cell:first-child:before,
82
85
  .np-table-row--clickable .np-table-cell:last-child:before {
83
- inline-size: calc(100% - var(--size-8));
86
+ width: calc(100% - 8px);
87
+ width: calc(100% - var(--size-8));
84
88
  }
85
89
  .np-table-row--clickable .np-table-cell:first-child:before {
86
- inset-inline-start: var(--size-8);
87
- border-start-start-radius: 6px;
88
- border-end-start-radius: 6px;
90
+ left: 8px;
91
+ left: var(--size-8);
92
+ border-top-left-radius: 6px;
93
+ border-bottom-left-radius: 6px;
89
94
  }
90
95
  .np-table-row--clickable .np-table-cell:last-child:before {
91
- border-start-end-radius: 6px;
92
- border-end-end-radius: 6px;
96
+ border-top-right-radius: 6px;
97
+ border-bottom-right-radius: 6px;
93
98
  }
94
99
  .np-table-row--clickable:hover .np-table-cell:before {
95
100
  display: block;
96
101
  }
97
102
  .np-table-row--clickable:hover:focus-visible .np-table-cell:first-child:before,
98
103
  .np-table-row--clickable:hover:focus-visible .np-table-cell:last-child:before {
99
- inline-size: 100%;
104
+ width: 100%;
100
105
  }
101
106
  .np-table-row--clickable:hover:focus-visible .np-table-cell:first-child:before {
102
- inset-inline-start: 0;
107
+ left: 0;
103
108
  }
104
109
  .np-table-row--cosmetic .np-table-cell {
105
- block-size: var(--size-8);
110
+ height: 8px;
111
+ height: var(--size-8);
106
112
  padding: 0;
107
113
  }
108
114
  .np-table-header,
@@ -111,31 +117,34 @@
111
117
  }
112
118
  .np-table-header:first-child,
113
119
  .np-table-cell:first-child {
114
- padding-inline-start: var(--size-16);
120
+ padding-left: 16px;
121
+ padding-left: var(--size-16);
115
122
  }
116
123
  .np-table-header:first-child .np-table-header-content,
117
124
  .np-table-cell:first-child .np-table-header-content,
118
125
  .np-table-header:first-child .np-table-cell-content,
119
126
  .np-table-cell:first-child .np-table-cell-content {
120
- padding-inline-start: 0;
127
+ padding-left: 0;
121
128
  }
122
129
  .np-table-header:last-child,
123
130
  .np-table-cell:last-child {
124
- padding-inline-end: var(--size-16);
131
+ padding-right: 16px;
132
+ padding-right: var(--size-16);
125
133
  }
126
134
  .np-table-header:last-child .np-table-header-content,
127
135
  .np-table-cell:last-child .np-table-header-content,
128
136
  .np-table-header:last-child .np-table-cell-content,
129
137
  .np-table-cell:last-child .np-table-cell-content {
130
- padding-inline-end: 0;
138
+ padding-right: 0;
131
139
  }
132
140
  .np-table-header.np-table-header--right > .np-text-body-default,
133
141
  .np-table-cell.np-table-cell--right > .np-text-body-default {
134
- text-align: end;
142
+ text-align: right;
135
143
  }
136
144
  .np-table-header.np-table-header--right + .np-table-header:not(.np-table-header--right),
137
145
  .np-table-cell.np-table-cell--right + .np-table-cell:not(.np-table-cell--right) {
138
- padding-inline-start: calc(var(--size-8) + var(--size-12));
146
+ padding-left: calc(8px + 12px);
147
+ padding-left: calc(var(--size-8) + var(--size-12));
139
148
  }
140
149
  .np-table-header.np-table-header--right .np-table-header-content,
141
150
  .np-table-cell.np-table-cell--right .np-table-content {
@@ -148,54 +157,65 @@
148
157
  justify-content: start;
149
158
  }
150
159
  .np-table-header {
151
- min-inline-size: 160px;
152
- padding-inline-end: var(--size-8);
153
- padding-block-end: var(--size-8);
154
- padding-inline-start: var(--size-8);
160
+ min-width: 160px;
161
+ padding-right: 8px;
162
+ padding-right: var(--size-8);
163
+ padding-bottom: 8px;
164
+ padding-bottom: var(--size-8);
165
+ padding-left: 8px;
166
+ padding-left: var(--size-8);
167
+ background-color: rgba(134,167,189,0.10196);
155
168
  background-color: var(--color-background-neutral);
156
169
  color: var(--color-interactive-primary);
157
170
  }
158
171
  .np-table-header-content {
159
- padding-block-start: 5px;
160
- padding-block-end: 5px;
172
+ padding-top: 5px;
173
+ padding-bottom: 5px;
161
174
  white-space: nowrap;
175
+ line-height: 1.375rem;
162
176
  line-height: var(--line-height-22);
177
+ letter-spacing: 0.0125em;
163
178
  letter-spacing: var(--letter-spacing-sm);
164
179
  }
165
180
  .np-table-header--error {
166
181
  color: var(--color-sentiment-negative);
167
182
  }
168
183
  .np-table-header--action {
169
- min-inline-size: 0;
184
+ min-width: 0;
170
185
  padding: 0;
171
186
  }
172
187
  .np-table-cell {
173
- padding-block: var(--size-16);
174
- padding-inline: var(--size-8);
188
+ padding: 16px 8px;
189
+ padding: var(--size-16) var(--size-8);
175
190
  position: relative;
176
191
  }
177
192
  .np-table-cell--cosmetic {
178
193
  padding: 0;
179
194
  }
180
195
  .np-table-cell--primary {
181
- min-inline-size: 200px;
196
+ min-width: 200px;
182
197
  }
183
198
  .np-table-cell--currency .np-text-body-default {
184
199
  white-space: nowrap;
185
200
  }
186
201
  .np-table-cell .tw-chevron {
187
- margin-inline-start: var(--size-8);
202
+ margin-left: 8px;
203
+ margin-left: var(--size-8);
188
204
  }
189
205
  .np-table-cell-separator {
190
- margin-block-start: var(--size-4);
191
- margin-block-end: var(--size-4);
192
- block-size: 1px;
206
+ margin-top: 4px;
207
+ margin-top: var(--size-4);
208
+ margin-bottom: 4px;
209
+ margin-bottom: var(--size-4);
210
+ height: 1px;
211
+ background-color: rgba(134,167,189,0.10196);
193
212
  background-color: var(--color-background-neutral);
194
213
  padding: 0;
195
214
  }
196
215
  .np-table-cell .np-text-body-default-bold {
197
216
  display: flex;
198
217
  align-items: center;
218
+ color: #37517e;
199
219
  color: var(--color-content-primary);
200
220
  white-space: nowrap;
201
221
  }
@@ -206,20 +226,21 @@
206
226
  color: var(--color-sentiment-negative);
207
227
  }
208
228
  .np-table-cell .tw-loader {
209
- margin-block: 150px;
210
- margin-inline: auto;
229
+ margin: 150px auto;
211
230
  }
212
- @media (--screen-400-zoom) {
231
+ @media (max-width: 320px) {
213
232
  .np-table-cell .tw-loader {
214
- margin-block-start: 70px;
215
- margin-block-end: 70px;
233
+ margin-top: 70px;
234
+ margin-bottom: 70px;
216
235
  }
217
236
  }
218
237
  .np-table-content {
238
+ gap: 12px;
219
239
  gap: var(--size-12);
220
240
  }
221
241
  .np-table-content--success,
222
242
  .np-table-content--error {
243
+ gap: 4px;
223
244
  gap: var(--size-4);
224
245
  }
225
246
  .np-table-content--success .np-table-content-text,
@@ -232,7 +253,9 @@
232
253
  .np-table-content-body {
233
254
  display: flex;
234
255
  flex-direction: column;
256
+ font-size: 0.75rem;
235
257
  font-size: var(--font-size-12);
258
+ color: #768e9c;
236
259
  color: var(--color-content-tertiary);
237
260
  }
238
261
  .np-table-content--reversed {
@@ -246,5 +269,6 @@
246
269
  align-items: center;
247
270
  }
248
271
  .np-table-empty-data .status-circle {
249
- margin-inline-end: var(--size-12);
272
+ margin-right: 12px;
273
+ margin-right: var(--size-12);
250
274
  }
package/src/tabs/Tabs.css CHANGED
@@ -5,47 +5,57 @@
5
5
  display: inline-block;
6
6
  outline: none;
7
7
  text-align: center;
8
+ padding: 8px;
8
9
  padding: var(--size-8);
9
- margin-block-end: -2px;
10
+ margin-bottom: -2px;
11
+ color: #37517e;
10
12
  color: var(--color-content-primary);
13
+ font-weight: 600;
11
14
  font-weight: var(--font-weight-semi-bold);
12
15
  transition: color 0.15s ease-in-out;
13
16
  }
14
17
  .np-theme-personal .tabs__tab {
18
+ color: #5d7079;
15
19
  color: var(--color-content-secondary);
20
+ font-weight: 400;
16
21
  font-weight: var(--font-weight-regular);
17
22
  }
18
23
  .tabs__tab--selected {
24
+ color: #0097c7;
19
25
  color: var(--color-content-accent);
20
26
  }
21
27
  .np-theme-personal .tabs__tab--selected {
22
28
  color: var(--color-interactive-primary);
29
+ font-weight: 600;
23
30
  font-weight: var(--font-weight-semi-bold);
24
31
  }
25
32
  .tabs__tab__content {
26
33
  border-radius: 2px;
27
34
  }
28
- .tabs__tab:not(.disabled, :disabled):focus-visible .tabs__tab__content {
35
+ .tabs__tab:not(.disabled):not(:disabled):focus-visible .tabs__tab__content {
36
+ color: #0084b3;
29
37
  color: var(--color-content-accent-hover);
30
38
  }
31
- .np-theme-personal .tabs__tab:not(.disabled, :disabled):focus-visible .tabs__tab__content {
39
+ .np-theme-personal .tabs__tab:not(.disabled):not(:disabled):focus-visible .tabs__tab__content {
32
40
  color: var(--color-interactive-primary-hover);
33
41
  outline: var(--ring-outline-color) solid var(--ring-outline-width);
34
42
  outline-offset: var(--ring-outline-offset);
35
43
  }
36
- @media (--screen-lg) {
37
- .tabs__tab:not(.disabled, :disabled):hover {
44
+ @media (min-width: 992px) {
45
+ .tabs__tab:not(.disabled):not(:disabled):hover {
46
+ color: #0084b3;
38
47
  color: var(--color-content-accent-hover);
39
48
  }
40
- .np-theme-personal .tabs__tab:not(.disabled, :disabled):hover {
49
+ .np-theme-personal .tabs__tab:not(.disabled):not(:disabled):hover {
41
50
  color: var(--color-interactive-primary-hover);
42
51
  }
43
52
  }
44
53
  @media (hover: hover) {
45
- .tabs__tab:not(.disabled, :disabled):hover {
54
+ .tabs__tab:not(.disabled):not(:disabled):hover {
55
+ color: #0084b3;
46
56
  color: var(--color-content-accent-hover);
47
57
  }
48
- .np-theme-personal .tabs__tab:not(.disabled, :disabled):hover {
58
+ .np-theme-personal .tabs__tab:not(.disabled):not(:disabled):hover {
49
59
  color: var(--color-interactive-primary-hover);
50
60
  }
51
61
  }
@@ -53,25 +63,28 @@
53
63
  list-style: none;
54
64
  padding: 0;
55
65
  margin: 0;
56
- border-block-end: 1px solid var(--color-border-neutral);
66
+ border-bottom: 1px solid rgba(0,0,0,0.10196);
67
+ border-bottom: 1px solid var(--color-border-neutral);
57
68
  }
58
69
  .tabs__line {
59
- block-size: 2px;
70
+ height: 2px;
71
+ background-color: #00a2dd;
60
72
  background-color: var(--color-interactive-accent);
61
73
  transition: transform cubic-bezier(0, 0.94, 0.62, 1) 350ms;
62
74
  position: relative;
63
- inset-block-end: -1px;
75
+ bottom: -1px;
64
76
  }
65
77
  .np-theme-personal .tabs__line {
66
78
  background-color: var(--color-interactive-primary);
67
79
  }
68
80
  .tabs__panel-container {
69
- inline-size: 100%;
81
+ width: 100%;
70
82
  }
71
83
  .tabs__slider {
72
84
  display: flex;
73
85
  }
74
86
  .tabs__panel--selected {
87
+ padding: 8px;
75
88
  padding: var(--size-8);
76
89
  }
77
90
  .tabs__panel.enter {
@@ -84,23 +97,25 @@
84
97
  opacity: 0;
85
98
  }
86
99
  .tabs--inverse .tabs__tab-list {
87
- border-block-end-color: var(--color-border-neutral);
100
+ border-bottom-color: rgba(0,0,0,0.10196);
101
+ border-bottom-color: var(--color-border-neutral);
88
102
  }
89
103
  .tabs--inverse .tabs__tab:not(.tabs__tab--selected) {
90
104
  color: #fff;
91
105
  }
92
106
  .tabs.tabs--auto-width .tabs__tab {
93
107
  display: inline-flex;
94
- min-block-size: var(--size-40);
95
- padding-block: 0;
96
- padding-inline: var(--size-12);
108
+ min-height: 40px;
109
+ min-height: var(--size-40);
110
+ padding: 0 12px;
111
+ padding: 0 var(--size-12);
97
112
  justify-content: center;
98
113
  align-items: center;
99
114
  vertical-align: middle;
100
115
  }
101
- @media (--screen-sm) {
116
+ @media (min-width: 576px) {
102
117
  .tabs.tabs--auto-width .tabs__tab {
103
- padding-block: 0;
104
- padding-inline: var(--size-24);
118
+ padding: 0 24px;
119
+ padding: 0 var(--size-24);
105
120
  }
106
121
  }
package/src/tile/Tile.css CHANGED
@@ -1,16 +1,19 @@
1
1
  .np-tile {
2
- min-inline-size: 120px;
2
+ min-width: 120px;
3
+ border-radius: 10px;
3
4
  border-radius: var(--radius-small);
4
- inline-size: 100%;
5
+ width: 100%;
5
6
  }
6
7
  .np-theme-personal .np-tile {
8
+ background-color: rgba(134,167,189,0.10196);
7
9
  background-color: var(--color-background-neutral);
8
10
  }
9
11
  .np-theme-personal .np-tile .tw-avatar .tw-avatar__content {
10
12
  background-color: var(--color-contrast);
11
13
  }
12
14
  .np-tile.decision {
13
- margin-block-start: 0;
15
+ margin-top: 0;
16
+ border: 1px solid rgba(0,0,0,0.10196);
14
17
  border: 1px solid var(--color-border-neutral);
15
18
  }
16
19
  .np-theme-personal .np-tile.decision {
@@ -23,34 +26,43 @@
23
26
  background-color: var(--color-background-neutral-active);
24
27
  }
25
28
  .np-theme-personal .np-tile.decision .np-text-body-default {
29
+ color: #5d7079;
26
30
  color: var(--color-content-secondary);
27
31
  }
28
32
  .np-tile.np-decision__tile--fixed-width {
29
- inline-size: 300px;
33
+ width: 300px;
30
34
  }
31
35
  .np-tile__media {
32
- inline-size: 100%;
36
+ width: 100%;
33
37
  }
34
38
  .np-tile__description {
39
+ color: #5d7079;
35
40
  color: var(--color-content-secondary);
36
- margin-block-start: var(--size-12);
41
+ margin-top: 12px;
42
+ margin-top: var(--size-12);
37
43
  display: inline-block;
38
44
  }
39
45
  .np-tile--small.np-decision__tile--fixed-width {
40
- inline-size: 260px;
46
+ width: 260px;
41
47
  }
42
48
  .np-tile--small .np-tile__description {
43
- margin-block-start: var(--size-4);
49
+ margin-top: 4px;
50
+ margin-top: var(--size-4);
44
51
  }
45
52
  .np-tile:hover .tw-avatar {
46
53
  pointer-events: none;
47
54
  }
48
55
  .np-tile:hover .tw-avatar .tw-avatar__content {
56
+ background-color: #ffffff;
49
57
  background-color: var(--color-background-screen);
50
58
  }
51
59
  .np-tile__description {
60
+ color: #5d7079;
52
61
  color: var(--color-content-secondary);
62
+ font-weight: 400;
53
63
  font-weight: var(--font-weight-regular);
64
+ line-height: 1.5;
54
65
  line-height: var(--line-height-body);
55
- margin-block-start: var(--size-12);
66
+ margin-top: 12px;
67
+ margin-top: var(--size-12);
56
68
  }
@@ -8,7 +8,9 @@
8
8
  }
9
9
  .tw-tooltip-container .tooltip {
10
10
  visibility: visible;
11
- user-select: none;
11
+ -webkit-user-select: none;
12
+ -moz-user-select: none;
13
+ user-select: none;
12
14
  }
13
15
  .tw-tooltip-container .tooltip:not(.in) {
14
16
  pointer-events: none;
@@ -33,14 +35,16 @@
33
35
  visibility: hidden;
34
36
  }
35
37
  .np-tooltip--open {
38
+ visibility: visible;
36
39
  visibility: initial;
37
40
  }
38
41
  .np-tooltip--open .tooltip-inner {
42
+ visibility: visible;
39
43
  visibility: initial;
40
44
  }
41
45
  .np-panel[data-popper-placement^="right"] > .np-panel__content.tooltip-inner .np-panel__arrow {
42
- inset-inline-start: -7px;
46
+ left: -7px;
43
47
  }
44
48
  .np-panel[data-popper-placement^="left"] > .np-panel__content.tooltip-inner .np-panel__arrow {
45
- inset-inline-end: -7px;
49
+ right: -7px;
46
50
  }