baseui 11.0.1 → 11.1.0

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 (266) hide show
  1. package/a11y/index.d.ts +1 -1
  2. package/accordion/index.d.ts +25 -28
  3. package/app-nav-bar/app-nav-bar.js +33 -40
  4. package/app-nav-bar/app-nav-bar.js.flow +46 -62
  5. package/app-nav-bar/index.d.ts +9 -8
  6. package/app-nav-bar/styled-components.js +49 -29
  7. package/app-nav-bar/styled-components.js.flow +25 -8
  8. package/app-nav-bar/types.js.flow +2 -0
  9. package/aspect-ratio-box/index.d.ts +2 -4
  10. package/avatar/index.d.ts +6 -12
  11. package/badge/badge.js +109 -0
  12. package/badge/badge.js.flow +91 -0
  13. package/badge/constants.js +54 -0
  14. package/badge/constants.js.flow +52 -0
  15. package/badge/hint-dot.js +96 -0
  16. package/badge/hint-dot.js.flow +68 -0
  17. package/badge/index.d.ts +97 -0
  18. package/badge/index.js +80 -0
  19. package/badge/index.js.flow +20 -0
  20. package/badge/notification-circle.js +103 -0
  21. package/badge/notification-circle.js.flow +81 -0
  22. package/badge/package.json +4 -0
  23. package/badge/styled-components.js +242 -0
  24. package/badge/styled-components.js.flow +325 -0
  25. package/badge/types.js +11 -0
  26. package/badge/types.js.flow +59 -0
  27. package/badge/utils.js +33 -0
  28. package/badge/utils.js.flow +23 -0
  29. package/banner/banner.js +283 -0
  30. package/banner/banner.js.flow +253 -0
  31. package/banner/constants.js +35 -0
  32. package/banner/constants.js.flow +33 -0
  33. package/banner/index.d.ts +75 -0
  34. package/banner/index.js +44 -0
  35. package/banner/index.js.flow +16 -0
  36. package/banner/package.json +4 -0
  37. package/banner/styled-components.js +131 -0
  38. package/banner/styled-components.js.flow +119 -0
  39. package/banner/types.js +11 -0
  40. package/banner/types.js.flow +66 -0
  41. package/block/index.d.ts +4 -4
  42. package/breadcrumbs/breadcrumbs.js +5 -1
  43. package/breadcrumbs/breadcrumbs.js.flow +2 -2
  44. package/breadcrumbs/index.d.ts +5 -5
  45. package/button/button.js +2 -1
  46. package/button/button.js.flow +1 -0
  47. package/button/index.d.ts +19 -29
  48. package/button-group/index.d.ts +18 -24
  49. package/card/index.d.ts +16 -14
  50. package/checkbox/index.d.ts +17 -21
  51. package/combobox/index.d.ts +7 -11
  52. package/data-table/index.d.ts +7 -10
  53. package/datepicker/calendar.js +16 -11
  54. package/datepicker/calendar.js.flow +12 -9
  55. package/datepicker/datepicker.js +58 -58
  56. package/datepicker/datepicker.js.flow +51 -34
  57. package/datepicker/index.d.ts +42 -63
  58. package/datepicker/stateful-calendar.js +6 -1
  59. package/datepicker/stateful-calendar.js.flow +8 -1
  60. package/datepicker/stateful-container.js +23 -2
  61. package/datepicker/stateful-container.js.flow +17 -4
  62. package/datepicker/stateful-datepicker.js +6 -1
  63. package/datepicker/stateful-datepicker.js.flow +7 -1
  64. package/datepicker/types.js.flow +21 -43
  65. package/datepicker/utils/date-helpers.js +1 -1
  66. package/datepicker/utils/date-helpers.js.flow +1 -1
  67. package/dnd-list/index.d.ts +22 -35
  68. package/drawer/index.d.ts +22 -27
  69. package/es/app-nav-bar/app-nav-bar.js +9 -19
  70. package/es/app-nav-bar/styled-components.js +32 -13
  71. package/es/badge/badge.js +70 -0
  72. package/es/badge/constants.js +42 -0
  73. package/es/badge/hint-dot.js +55 -0
  74. package/es/badge/index.js +11 -0
  75. package/es/badge/notification-circle.js +65 -0
  76. package/es/badge/styled-components.js +296 -0
  77. package/es/badge/types.js +8 -0
  78. package/es/badge/utils.js +17 -0
  79. package/es/banner/banner.js +213 -0
  80. package/es/banner/constants.js +24 -0
  81. package/es/banner/index.js +9 -0
  82. package/es/banner/styled-components.js +122 -0
  83. package/es/banner/types.js +8 -0
  84. package/es/breadcrumbs/breadcrumbs.js +5 -1
  85. package/es/button/button.js +1 -0
  86. package/es/datepicker/calendar.js +15 -10
  87. package/es/datepicker/datepicker.js +52 -52
  88. package/es/datepicker/stateful-calendar.js +6 -1
  89. package/es/datepicker/stateful-container.js +22 -2
  90. package/es/datepicker/stateful-datepicker.js +6 -1
  91. package/es/datepicker/utils/date-helpers.js +1 -1
  92. package/es/helper/helper-steps.js +3 -1
  93. package/es/input/base-input.js +18 -11
  94. package/es/input/input.js +15 -10
  95. package/es/input/masked-input.js +5 -2
  96. package/es/input/utils.js +4 -2
  97. package/es/locale/tr_TR.js +115 -0
  98. package/es/notification/notification.js +16 -1
  99. package/es/payment-card/custom-cards.config.js +22 -0
  100. package/es/payment-card/icons/uatp.js +52 -0
  101. package/es/payment-card/payment-card.js +8 -3
  102. package/es/popover/popover.js +2 -1
  103. package/es/popover/stateful-container.js +2 -0
  104. package/es/popover/styled-components.js +2 -1
  105. package/es/progress-steps/numbered-step.js +2 -2
  106. package/es/select/select-component.js +48 -23
  107. package/es/select/utils/default-filter-options.js +1 -1
  108. package/es/snackbar/snackbar-context.js +1 -1
  109. package/es/table-semantic/styled-components.js +14 -0
  110. package/es/table-semantic/table-builder.js +12 -5
  111. package/es/textarea/textarea.js +15 -9
  112. package/es/themes/dark-theme/color-component-tokens.js +8 -0
  113. package/es/themes/light-theme/color-component-tokens.js +8 -0
  114. package/es/tree-view/tree-label.js +9 -1
  115. package/esm/app-nav-bar/app-nav-bar.js +32 -38
  116. package/esm/app-nav-bar/styled-components.js +46 -28
  117. package/esm/badge/badge.js +97 -0
  118. package/esm/badge/constants.js +42 -0
  119. package/esm/badge/hint-dot.js +83 -0
  120. package/esm/badge/index.js +11 -0
  121. package/esm/badge/notification-circle.js +91 -0
  122. package/esm/badge/styled-components.js +235 -0
  123. package/esm/badge/types.js +8 -0
  124. package/esm/badge/utils.js +17 -0
  125. package/esm/banner/banner.js +271 -0
  126. package/esm/banner/constants.js +24 -0
  127. package/esm/banner/index.js +9 -0
  128. package/esm/banner/styled-components.js +113 -0
  129. package/esm/banner/types.js +8 -0
  130. package/esm/breadcrumbs/breadcrumbs.js +5 -1
  131. package/esm/button/button.js +2 -1
  132. package/esm/datepicker/calendar.js +16 -11
  133. package/esm/datepicker/datepicker.js +58 -58
  134. package/esm/datepicker/stateful-calendar.js +6 -1
  135. package/esm/datepicker/stateful-container.js +23 -2
  136. package/esm/datepicker/stateful-datepicker.js +6 -1
  137. package/esm/datepicker/utils/date-helpers.js +1 -1
  138. package/esm/helper/helper-steps.js +3 -1
  139. package/esm/input/base-input.js +18 -11
  140. package/esm/input/input.js +15 -10
  141. package/esm/input/masked-input.js +6 -3
  142. package/esm/input/utils.js +4 -2
  143. package/esm/locale/tr_TR.js +115 -0
  144. package/esm/notification/notification.js +17 -1
  145. package/esm/payment-card/custom-cards.config.js +22 -0
  146. package/esm/payment-card/icons/uatp.js +53 -0
  147. package/esm/payment-card/payment-card.js +9 -7
  148. package/esm/popover/popover.js +2 -1
  149. package/esm/popover/stateful-container.js +2 -0
  150. package/esm/popover/styled-components.js +3 -2
  151. package/esm/progress-steps/numbered-step.js +2 -2
  152. package/esm/select/select-component.js +85 -59
  153. package/esm/select/utils/default-filter-options.js +1 -1
  154. package/esm/snackbar/snackbar-context.js +1 -1
  155. package/esm/table-semantic/styled-components.js +31 -18
  156. package/esm/table-semantic/table-builder.js +34 -23
  157. package/esm/textarea/textarea.js +15 -9
  158. package/esm/themes/dark-theme/color-component-tokens.js +8 -0
  159. package/esm/themes/light-theme/color-component-tokens.js +8 -0
  160. package/esm/tree-view/tree-label.js +10 -2
  161. package/file-uploader/index.d.ts +11 -11
  162. package/flex-grid/index.d.ts +3 -3
  163. package/form-control/index.d.ts +7 -19
  164. package/header-navigation/index.d.ts +8 -9
  165. package/heading/index.d.ts +3 -4
  166. package/helper/helper-steps.js +19 -13
  167. package/helper/helper-steps.js.flow +3 -1
  168. package/helper/index.d.ts +7 -7
  169. package/helpers/base-provider.d.ts +16 -0
  170. package/helpers/overrides.d.ts +23 -0
  171. package/icon/index.d.ts +32 -32
  172. package/index.d.ts +34 -114
  173. package/input/base-input.js +18 -11
  174. package/input/base-input.js.flow +18 -6
  175. package/input/index.d.ts +29 -32
  176. package/input/input.js +15 -10
  177. package/input/input.js.flow +10 -5
  178. package/input/masked-input.js +6 -3
  179. package/input/masked-input.js.flow +3 -0
  180. package/input/types.js.flow +4 -0
  181. package/input/utils.js +4 -2
  182. package/input/utils.js.flow +2 -1
  183. package/layer/index.d.ts +6 -11
  184. package/layout-grid/index.d.ts +25 -7
  185. package/link/index.d.ts +2 -2
  186. package/list/index.d.ts +26 -31
  187. package/{locale.ts → locale/index.d.ts} +8 -0
  188. package/locale/tr_TR.js +123 -0
  189. package/locale/tr_TR.js.flow +124 -0
  190. package/map-marker/index.d.ts +41 -47
  191. package/menu/index.d.ts +27 -37
  192. package/modal/index.d.ts +28 -38
  193. package/notification/index.d.ts +2 -3
  194. package/notification/notification.js +18 -1
  195. package/notification/notification.js.flow +15 -1
  196. package/overrides.ts +2 -22
  197. package/package.json +26 -17
  198. package/pagination/index.d.ts +22 -26
  199. package/payment-card/custom-cards.config.js +30 -0
  200. package/payment-card/custom-cards.config.js.flow +29 -0
  201. package/payment-card/icons/uatp.js +67 -0
  202. package/payment-card/icons/uatp.js.flow +62 -0
  203. package/payment-card/index.d.ts +8 -8
  204. package/payment-card/payment-card.js +12 -7
  205. package/payment-card/payment-card.js.flow +12 -0
  206. package/phone-input/index.d.ts +261 -269
  207. package/pin-code/index.d.ts +11 -18
  208. package/popover/index.d.ts +39 -55
  209. package/popover/popover.js +2 -1
  210. package/popover/popover.js.flow +2 -1
  211. package/popover/stateful-container.js +2 -0
  212. package/popover/stateful-container.js.flow +2 -0
  213. package/popover/styled-components.js +3 -2
  214. package/popover/styled-components.js.flow +2 -1
  215. package/popover/types.js.flow +1 -0
  216. package/progress-bar/index.d.ts +11 -12
  217. package/progress-steps/index.d.ts +16 -16
  218. package/progress-steps/numbered-step.js.flow +2 -2
  219. package/radio/index.d.ts +12 -15
  220. package/rating/index.d.ts +9 -12
  221. package/select/index.d.ts +34 -36
  222. package/select/select-component.js +82 -56
  223. package/select/select-component.js.flow +46 -34
  224. package/select/types.js.flow +1 -0
  225. package/select/utils/default-filter-options.js +1 -1
  226. package/select/utils/default-filter-options.js.flow +1 -1
  227. package/side-navigation/index.d.ts +11 -13
  228. package/skeleton/index.d.ts +1 -1
  229. package/slider/index.d.ts +17 -26
  230. package/snackbar/index.d.ts +8 -8
  231. package/snackbar/snackbar-context.js +1 -1
  232. package/snackbar/snackbar-context.js.flow +1 -1
  233. package/spinner/index.d.ts +4 -3
  234. package/styles/index.d.ts +82 -2
  235. package/table/index.d.ts +16 -16
  236. package/table-grid/index.d.ts +6 -8
  237. package/table-semantic/index.d.ts +26 -32
  238. package/table-semantic/styled-components.js +33 -19
  239. package/table-semantic/styled-components.js.flow +12 -0
  240. package/table-semantic/table-builder.js +38 -22
  241. package/table-semantic/table-builder.js.flow +32 -17
  242. package/table-semantic/types.js.flow +1 -0
  243. package/tabs/index.d.ts +20 -23
  244. package/tabs-motion/index.d.ts +23 -23
  245. package/tag/index.d.ts +14 -18
  246. package/tag/types.js.flow +1 -1
  247. package/textarea/index.d.ts +11 -14
  248. package/textarea/textarea.js +15 -9
  249. package/textarea/textarea.js.flow +11 -5
  250. package/textarea/types.js.flow +1 -0
  251. package/theme.ts +36 -777
  252. package/themes/dark-theme/color-component-tokens.js +8 -0
  253. package/themes/dark-theme/color-component-tokens.js.flow +9 -0
  254. package/themes/index.d.ts +765 -0
  255. package/themes/light-theme/color-component-tokens.js +8 -0
  256. package/themes/light-theme/color-component-tokens.js.flow +9 -0
  257. package/themes/types.js.flow +9 -0
  258. package/timepicker/index.d.ts +5 -8
  259. package/timezonepicker/index.d.ts +5 -8
  260. package/toast/index.d.ts +26 -40
  261. package/tokens/index.d.ts +1 -1
  262. package/tooltip/index.d.ts +7 -9
  263. package/tree-view/index.d.ts +15 -19
  264. package/tree-view/tree-label.js +10 -2
  265. package/tree-view/tree-label.js.flow +4 -4
  266. package/typography/index.d.ts +37 -37
@@ -0,0 +1,115 @@
1
+ /*
2
+ Copyright (c) Uber Technologies, Inc.
3
+
4
+ This source code is licensed under the MIT license found in the
5
+ LICENSE file in the root directory of this source tree.
6
+ */
7
+ export default {
8
+ accordion: {
9
+ collapse: 'Daralt',
10
+ expand: 'Genişlet'
11
+ },
12
+ breadcrumbs: {
13
+ ariaLabel: 'Navigasyon'
14
+ },
15
+ datepicker: {
16
+ ariaLabel: 'Bir tarih seçin.',
17
+ ariaLabelRange: 'Bir tarih aralığı seçin',
18
+ ariaLabelCalendar: 'Takvim',
19
+ ariaRoleDescriptionCalendarMonth: 'Aylık Takvim',
20
+ previousMonth: 'Geçtiğimiz ay.',
21
+ nextMonth: 'Gelecek ay.',
22
+ pastWeek: 'Geçen Hafta',
23
+ pastMonth: 'Geçen Ay',
24
+ pastThreeMonths: 'Son 3 Ay',
25
+ pastSixMonths: 'Son 6 Ay',
26
+ pastYear: 'Geçen Yıl',
27
+ pastTwoYears: 'Son 2 Yıl',
28
+ screenReaderMessageInput: 'Takvimle etkileşim kurmak ve bir tarih seçmek için aşağı ok tuşuna basın. Takvimi kapatmak için kaçış (ESC) düğmesine basın.',
29
+ selectedDate: 'Seçilen tarih ${date}.',
30
+ selectedDateRange: 'Seçilen tarih aralığı ${startDate} ile ${endDate} arasındadır.',
31
+ selectSecondDatePrompt: 'İkinci tarihi seçin.',
32
+ quickSelectLabel: 'Bir tarih aralığı seçin',
33
+ quickSelectAriaLabel: 'Bir tarih aralığı seçin',
34
+ quickSelectPlaceholder: 'Hiçbiri',
35
+ timeSelectEndLabel: 'Bitiş zamanı',
36
+ timeSelectStartLabel: 'Başlangıç zamanı',
37
+ timePickerAriaLabel12Hour: 'Bir zaman seçin, 12-saat formatında.',
38
+ timePickerAriaLabel24Hour: 'Bir zaman seçin, 24-saat formatında.',
39
+ timezonePickerAriaLabel: 'Bir saat dilimi seçin.',
40
+ selectedStartDateLabel: 'Seçilen başlangıç tarihi.',
41
+ selectedEndDateLabel: 'Seçilen bitiş tarihi.',
42
+ dateNotAvailableLabel: 'Kullanılabilir değil.',
43
+ dateAvailableLabel: 'Kullanılabilir.',
44
+ selectedLabel: 'Seçildi.',
45
+ chooseLabel: 'Seç'
46
+ },
47
+ datatable: {
48
+ emptyState: 'Tanımlanan filtre kriterleriyle eşleşen satır yok. Daha fazla veri görüntülemek için lütfen bir veya daha fazla filtreyi kaldırın.',
49
+ loadingState: 'Satır yükleniyor.',
50
+ searchAriaLabel: 'Metne göre ara',
51
+ filterAdd: 'Filtre Ekle',
52
+ filterExclude: 'Dahil etme',
53
+ filterApply: 'Uygula',
54
+ filterExcludeRange: 'Exclude range',
55
+ filterExcludeValue: 'Exclude value',
56
+ filterAppliedTo: 'uygulanan filtre',
57
+ optionsLabel: 'Filtrelenecek sütunu seçin',
58
+ optionsSearch: 'Filtrelemek için bir sütun arayın...',
59
+ optionsEmpty: 'Sütun yok.',
60
+ categoricalFilterSelectAll: 'Tümünü Seç',
61
+ categoricalFilterSelectClear: 'Temizle',
62
+ categoricalFilterEmpty: 'Kategori bulunamadı',
63
+ datetimeFilterRange: 'Aralık',
64
+ datetimeFilterRangeDatetime: 'Tarih, Zaman',
65
+ datetimeFilterRangeDate: 'Tarih',
66
+ datetimeFilterRangeTime: 'Zaman',
67
+ datetimeFilterCategorical: 'Kategorik',
68
+ datetimeFilterCategoricalWeekday: 'Hafta içi',
69
+ datetimeFilterCategoricalMonth: 'Ay',
70
+ datetimeFilterCategoricalQuarter: 'Çeyrek',
71
+ datetimeFilterCategoricalHalf: 'Yarım',
72
+ datetimeFilterCategoricalFirstHalf: 'H1',
73
+ datetimeFilterCategoricalSecondHalf: 'H2',
74
+ datetimeFilterCategoricalYear: 'Yıl',
75
+ numericalFilterRange: 'Aralık',
76
+ numericalFilterSingleValue: 'Single Value',
77
+ booleanFilterTrue: 'doğru',
78
+ booleanFilterFalse: 'yanlış',
79
+ booleanColumnTrueShort: 'D',
80
+ booleanColumnFalseShort: 'Y'
81
+ },
82
+ buttongroup: {
83
+ ariaLabel: 'buton grup'
84
+ },
85
+ fileuploader: {
86
+ dropFilesToUpload: 'Dosyaları yüklemek için buraya bırakın...',
87
+ or: '',
88
+ browseFiles: 'Dosyalara göz atın',
89
+ retry: 'Yüklemeyi Yeniden Dene',
90
+ cancel: 'İptal'
91
+ },
92
+ menu: {
93
+ noResultsMsg: 'Sonuç yok',
94
+ parentMenuItemAriaLabel: 'Şu anda iç içe bir liste kutusu açan bir öğedesiniz. Bu öğeye girmek için sağ ok ve geri dönmek için sol ok tuşuna basın.'
95
+ },
96
+ modal: {
97
+ close: 'Kapat'
98
+ },
99
+ drawer: {
100
+ close: 'Kapat'
101
+ },
102
+ pagination: {
103
+ prev: 'Önceki',
104
+ next: 'Sonraki',
105
+ preposition: 'nın'
106
+ },
107
+ select: {
108
+ noResultsMsg: 'Sonuç bulunamadı',
109
+ placeholder: 'Seç...',
110
+ create: 'Oluştur'
111
+ },
112
+ toast: {
113
+ close: 'Kapat'
114
+ }
115
+ };
@@ -10,11 +10,26 @@ LICENSE file in the root directory of this source tree.
10
10
  */
11
11
  import * as React from 'react';
12
12
  import { Toast, TYPE } from '../toast/index.js';
13
+ import { mergeOverrides } from '../helpers/overrides.js';
13
14
  export default class Notification extends React.Component {
14
15
  render() {
16
+ const overrides = mergeOverrides({
17
+ Body: {
18
+ style: ({
19
+ $theme
20
+ }) => ({
21
+ marginTop: $theme.sizing.scale600,
22
+ marginRight: $theme.sizing.scale600,
23
+ marginBottom: $theme.sizing.scale600,
24
+ marginLeft: $theme.sizing.scale600
25
+ })
26
+ }
27
+ }, this.props.overrides);
15
28
  return /*#__PURE__*/React.createElement(Toast, _extends({
16
29
  "data-baseweb": "notification"
17
- }, this.props));
30
+ }, this.props, {
31
+ overrides: overrides
32
+ }));
18
33
  }
19
34
 
20
35
  }
@@ -0,0 +1,22 @@
1
+ /*
2
+ Copyright (c) Uber Technologies, Inc.
3
+
4
+ This source code is licensed under the MIT license found in the
5
+ LICENSE file in the root directory of this source tree.
6
+ */
7
+
8
+ /*
9
+ This file should be used for adding new card type configuration
10
+ */
11
+ const UATP_CARD_TYPE_CONFIG = {
12
+ niceType: 'Uatp',
13
+ type: 'uatp',
14
+ patterns: [[1001, 1999]],
15
+ gaps: [4, 9],
16
+ lengths: [15],
17
+ code: {
18
+ name: 'CVV',
19
+ size: 0
20
+ }
21
+ };
22
+ export const CUSTOM_CARDS_CONFIGURATION = [UATP_CARD_TYPE_CONFIG];
@@ -0,0 +1,52 @@
1
+ /*
2
+ Copyright (c) Uber Technologies, Inc.
3
+
4
+ This source code is licensed under the MIT license found in the
5
+ LICENSE file in the root directory of this source tree.
6
+ */
7
+ import * as React from 'react';
8
+
9
+ const UatpIcon = ({
10
+ size
11
+ }) => /*#__PURE__*/React.createElement("svg", {
12
+ width: size,
13
+ height: size,
14
+ viewBox: "0 0 24 24",
15
+ fill: "none",
16
+ xmlns: "http://www.w3.org/2000/svg"
17
+ }, /*#__PURE__*/React.createElement("path", {
18
+ d: "M23 4H1V20H23V4Z",
19
+ fill: "#F0F0F0"
20
+ }), /*#__PURE__*/React.createElement("g", {
21
+ clipPath: "url(#clip0_90345_28085)"
22
+ }, /*#__PURE__*/React.createElement("path", {
23
+ d: "M10.5057 9.64723H10.1817H9.70679V10.9659L10.3044 12.6255L11.4708 12.133L10.5057 9.64723Z",
24
+ fill: "#0A2C1B"
25
+ }), /*#__PURE__*/React.createElement("path", {
26
+ d: "M6.34592 14.6471L6.34001 9.64723H5.07682V13.7451C4.94173 13.7928 4.80176 13.8253 4.65948 13.8421C4.38337 13.8743 3.9371 13.9265 3.60459 13.6339C3.27002 13.3394 3.26507 12.8846 3.26655 12.7802V9.64723H2.00336V12.7802C1.96122 13.7182 2.32658 14.1754 2.45948 14.3209C3.17638 15.1058 4.54287 14.9387 5.39513 14.8345C5.71171 14.7958 6.02491 14.7331 6.33204 14.6471L6.32786 14.6427L6.34592 14.6471Z",
27
+ fill: "#0A2C1B"
28
+ }), /*#__PURE__*/React.createElement("path", {
29
+ d: "M21.999 11.453C21.9951 11.2269 21.9447 10.4929 21.3738 10.0162C21.1483 9.82795 20.9283 9.75218 20.7469 9.6897C20.5867 9.63455 20.2633 9.54148 19.3754 9.58086C18.9585 9.59952 18.5429 9.64148 18.1306 9.70653V14.8388H19.3938V13.3179C19.4958 13.3263 19.6189 13.3331 19.7586 13.3337C19.9448 13.3351 20.1309 13.325 20.3158 13.3033C20.4802 13.2817 21.266 13.1786 21.709 12.5414C22.0104 12.1079 22.0024 11.6443 21.999 11.453ZM20.5118 11.9928C20.3546 12.1594 20.1557 12.1903 19.9414 12.2236C19.7608 12.2514 19.5768 12.2484 19.3972 12.2148V10.7433C19.4924 10.7303 19.5885 10.7245 19.6845 10.7259C19.9706 10.73 20.2799 10.7344 20.4943 10.9523C20.6881 11.1491 20.6983 11.4123 20.699 11.4747C20.6996 11.5392 20.6985 11.7948 20.5118 11.9928Z",
30
+ fill: "#0A2C1B"
31
+ }), /*#__PURE__*/React.createElement("path", {
32
+ d: "M10.4995 13.1673L11.1015 14.8388H12.5212L11.6926 12.7045C11.3054 12.8761 10.9077 13.0304 10.4995 13.1673Z",
33
+ fill: "#0A2C1B"
34
+ }), /*#__PURE__*/React.createElement("path", {
35
+ d: "M6.60772 13.6849C6.59882 13.6856 6.59 13.6828 6.58303 13.6773C6.57607 13.6717 6.57148 13.6637 6.57019 13.6548C6.56891 13.646 6.57102 13.637 6.5761 13.6297C6.58119 13.6223 6.58887 13.6172 6.59759 13.6153C7.44534 13.4378 8.27682 13.1899 9.08338 12.8742C12.0436 11.7142 12.5355 10.4597 14.7222 9.60822C17.2224 8.63467 19.7225 9.06335 20.7271 9.30762C20.7338 9.30921 20.7396 9.31329 20.7433 9.31903C20.7471 9.32476 20.7485 9.3317 20.7473 9.33844C20.746 9.34518 20.7423 9.35119 20.7368 9.35525C20.7313 9.35931 20.7244 9.3611 20.7176 9.36026C19.7189 9.24529 18.7085 9.28396 17.7216 9.47491C15.1767 9.96677 14.237 11.2345 11.9094 12.341C10.7268 12.9032 8.98995 13.517 6.60772 13.6849Z",
36
+ fill: "#3EB54A"
37
+ }), /*#__PURE__*/React.createElement("path", {
38
+ d: "M16.9918 9.64723H12.6013V10.7793H14.1649V14.8388H15.4281V10.7793H16.9918V9.64723Z",
39
+ fill: "#0A2C1B"
40
+ }), /*#__PURE__*/React.createElement("path", {
41
+ d: "M9.23192 9.64723H8.95198L6.93652 14.8388H8.31211L9.70682 10.9659V9.64723H9.23192Z",
42
+ fill: "#0A2C1B"
43
+ })), /*#__PURE__*/React.createElement("defs", null, /*#__PURE__*/React.createElement("clipPath", {
44
+ id: "clip0_90345_28085"
45
+ }, /*#__PURE__*/React.createElement("rect", {
46
+ width: "20",
47
+ height: "5.92493",
48
+ fill: "white",
49
+ transform: "translate(2 9)"
50
+ }))));
51
+
52
+ export default UatpIcon;
@@ -24,7 +24,9 @@ import MaestroIcon from './icons/maestro.js';
24
24
  import MastercardIcon from './icons/mastercard.js';
25
25
  import UnionPayIcon from './icons/unionpay.js';
26
26
  import VisaIcon from './icons/visa.js';
27
+ import UatpIcon from './icons/uatp.js';
27
28
  import { IconWrapper as StyledIconWrapper } from './styled-components.js';
29
+ import { CUSTOM_CARDS_CONFIGURATION } from './custom-cards.config.js';
28
30
  const CardTypeToComponent = {
29
31
  visa: VisaIcon,
30
32
  mastercard: MastercardIcon,
@@ -35,16 +37,19 @@ const CardTypeToComponent = {
35
37
  unionpay: UnionPayIcon,
36
38
  maestro: MaestroIcon,
37
39
  elo: EloIcon,
38
- generic: GenericIcon
40
+ generic: GenericIcon,
41
+ uatp: UatpIcon
39
42
  };
40
43
 
41
44
  class PaymentCard extends React.Component {
42
- constructor(...args) {
43
- super(...args);
45
+ constructor(props) {
46
+ super(props); // For adding new custom card type, add card config to custom-cards.config.js
44
47
 
45
48
  _defineProperty(this, "caretPosition", 0);
46
49
 
47
50
  _defineProperty(this, "inRef", null);
51
+
52
+ CUSTOM_CARDS_CONFIGURATION.forEach(cardTypeConfig => valid.creditCardType.addCard(cardTypeConfig));
48
53
  }
49
54
 
50
55
  componentDidUpdate(prevProps) {
@@ -338,6 +338,7 @@ class PopoverInner extends React.Component {
338
338
  $popoverOffset: popoverOffset,
339
339
  $placement: placement,
340
340
  $isAnimating: isAnimating,
341
+ $animationDuration: this.props.animateOutTime || ANIMATE_OUT_TIME,
341
342
  $isOpen: isOpen,
342
343
  $popoverMargin: popoverMargin,
343
344
  $isHoverTrigger: this.isHoverTrigger()
@@ -408,7 +409,7 @@ class PopoverInner extends React.Component {
408
409
  }
409
410
 
410
411
  render() {
411
- const mountedAndOpen = this.state.isMounted && this.props.isOpen;
412
+ const mountedAndOpen = this.state.isMounted && (this.props.isOpen || this.state.isAnimating);
412
413
  const rendered = [this.renderAnchor()];
413
414
  const renderedContent = mountedAndOpen || this.props.renderAll ? this.renderContent() : null;
414
415
  const defaultPopperOptions = {
@@ -143,6 +143,7 @@ class StatefulContainer extends React.Component {
143
143
  const {
144
144
  accessibilityType,
145
145
  autoFocus,
146
+ animateOutTime,
146
147
  dismissOnClickOutside,
147
148
  dismissOnEsc,
148
149
  focusLock,
@@ -167,6 +168,7 @@ class StatefulContainer extends React.Component {
167
168
  } = this.props;
168
169
  const popoverProps = {
169
170
  accessibilityType,
171
+ animateOutTime,
170
172
  autoFocus,
171
173
  content: this.renderContent,
172
174
  focusLock,
@@ -13,6 +13,7 @@ import { getPopoverMarginStyles, getArrowPositionStyles, getStartPosition, getEn
13
13
  */
14
14
  export function getBodyStyles(props) {
15
15
  const {
16
+ $animationDuration,
16
17
  $isOpen,
17
18
  $isAnimating,
18
19
  $placement,
@@ -33,7 +34,7 @@ export function getBodyStyles(props) {
33
34
  borderBottomLeftRadius: $theme.borders.popoverBorderRadius,
34
35
  boxShadow: $theme.lighting.shadow600,
35
36
  transitionProperty: 'opacity,transform',
36
- transitionDuration: $isAnimating ? '0.1s' : '0s',
37
+ transitionDuration: $isAnimating ? $isOpen ? '0.1s' : `${$animationDuration}ms` : '0s',
37
38
  transitionTimingFunction: $isOpen ? $theme.animation.easeOutCurve : $theme.animation.easeInCurve,
38
39
  opacity: $isAnimating && $isOpen ? 1 : 0,
39
40
  transform: $isAnimating && $isOpen ? getEndPosition($popoverOffset) : getStartPosition($popoverOffset, $placement, $showArrow ? ARROW_SIZE : 0, $popoverMargin),
@@ -9,7 +9,7 @@ LICENSE file in the root directory of this source tree.
9
9
  import * as React from 'react';
10
10
  import { getOverrides } from '../helpers/overrides.js';
11
11
  import { StyledNumberStep, StyledNumberIcon, StyledContent, StyledContentTitle, StyledNumberContentTail, StyledContentDescription } from './styled-components.js';
12
- import StyledCheckIcon from '../icon/check.js';
12
+ import Check from '../icon/check.js';
13
13
 
14
14
  function NumberedStep({
15
15
  overrides = {},
@@ -26,7 +26,7 @@ function NumberedStep({
26
26
  const [Content, contentProps] = getOverrides(overrides.Content, StyledContent);
27
27
  const [Title, titleProps] = getOverrides(overrides.Title, StyledContentTitle);
28
28
  const [Description, descriptionProps] = getOverrides(overrides.Description, StyledContentDescription);
29
- const [CheckIcon, checkIconProps] = getOverrides(overrides.Icon, StyledCheckIcon);
29
+ const [CheckIcon, checkIconProps] = getOverrides(overrides.Icon, Check);
30
30
  const sharedProps = {
31
31
  $isCompleted: isCompleted,
32
32
  $isActive: isActive
@@ -11,7 +11,7 @@ LICENSE file in the root directory of this source tree.
11
11
 
12
12
  /* eslint-disable cup/no-undef */
13
13
  import * as React from 'react';
14
- import { getOverrides } from '../helpers/overrides.js';
14
+ import { getOverrides, mergeOverrides } from '../helpers/overrides.js';
15
15
  import DeleteAlt from '../icon/delete-alt.js';
16
16
  import TriangleDownIcon from '../icon/triangle-down.js';
17
17
  import SearchIconComponent from '../icon/search.js';
@@ -19,10 +19,10 @@ import { LocaleContext } from '../locale/index.js';
19
19
  import { Popover, PLACEMENT } from '../popover/index.js';
20
20
  import { UIDConsumer } from 'react-uid';
21
21
  import AutosizeInput from './autosize-input.js';
22
- import { TYPE, STATE_CHANGE_TYPE } from './constants.js';
22
+ import { TYPE, STATE_CHANGE_TYPE, SIZE } from './constants.js';
23
23
  import defaultProps from './default-props.js';
24
24
  import SelectDropdown from './dropdown.js';
25
- import { StyledRoot, StyledControlContainer, StyledPlaceholder, StyledValueContainer, StyledInputContainer, StyledIconsContainer, StyledSelectArrow, StyledClearIcon, StyledSearchIconContainer, StyledLoadingIndicator } from './styled-components.js';
25
+ import { StyledRoot, StyledControlContainer, StyledPlaceholder, StyledValueContainer, StyledInputContainer, StyledIconsContainer, StyledSearchIconContainer, StyledLoadingIndicator } from './styled-components.js';
26
26
  import { expandValue, normalizeOptions } from './utils/index.js';
27
27
 
28
28
  function Noop() {
@@ -224,8 +224,10 @@ class Select extends React.Component {
224
224
  if (containsNode(this.anchor.current, event.relatedTarget) || containsNode(this.dropdown.current, event.relatedTarget)) {
225
225
  return;
226
226
  }
227
- } else if (containsNode(this.anchor.current, event.target)) {
228
- return;
227
+ } else if (event.type !== 'blur') {
228
+ if (containsNode(this.anchor.current, event.target)) {
229
+ return;
230
+ }
229
231
  }
230
232
 
231
233
  if (this.props.onBlur) {
@@ -436,6 +438,12 @@ class Select extends React.Component {
436
438
  _defineProperty(this, "handleInputRef", input => {
437
439
  this.input = input;
438
440
 
441
+ if (typeof this.props.inputRef === 'function') {
442
+ this.props.inputRef(input);
443
+ } else if (this.props.inputRef) {
444
+ this.props.inputRef.current = input;
445
+ }
446
+
439
447
  if (this.props.controlRef && typeof this.props.controlRef === 'function') {
440
448
  this.props.controlRef(input);
441
449
  }
@@ -586,7 +594,7 @@ class Select extends React.Component {
586
594
  }
587
595
 
588
596
  if (!prevState.isFocused && this.state.isFocused) {
589
- document.addEventListener('click', this.handleClickOutside);
597
+ setTimeout(() => document.addEventListener('click', this.handleClickOutside), 0);
590
598
  }
591
599
  }
592
600
  }
@@ -806,24 +814,27 @@ class Select extends React.Component {
806
814
  return;
807
815
  }
808
816
 
809
- const sharedProps = this.getSharedProps();
817
+ const {
818
+ $size,
819
+ ...sharedProps
820
+ } = this.getSharedProps();
810
821
  const {
811
822
  overrides = {}
812
823
  } = this.props;
813
824
  const [ClearIcon, clearIconProps] = getOverrides(overrides.ClearIcon, DeleteAlt);
814
825
  const ariaLabel = this.props.multi ? 'Clear all' : 'Clear value';
826
+ const sizes = {
827
+ [SIZE.mini]: 15,
828
+ [SIZE.compact]: 15,
829
+ [SIZE.default]: 18,
830
+ [SIZE.large]: 22
831
+ };
815
832
  return /*#__PURE__*/React.createElement(ClearIcon, _extends({
816
833
  title: ariaLabel,
817
834
  "aria-label": ariaLabel,
818
835
  onClick: this.clearValue,
819
836
  role: "button",
820
- overrides: {
821
- Svg: {
822
- component: StyledClearIcon,
823
- props: overrides.ClearIcon && overrides.ClearIcon.props ? overrides.ClearIcon.props : {},
824
- style: overrides.ClearIcon && overrides.ClearIcon.style ? overrides.ClearIcon.style : {}
825
- }
826
- }
837
+ size: sizes[this.props.size] || sizes[SIZE.default]
827
838
  }, sharedProps, clearIconProps));
828
839
  }
829
840
 
@@ -832,21 +843,35 @@ class Select extends React.Component {
832
843
  return null;
833
844
  }
834
845
 
846
+ const {
847
+ $size,
848
+ ...sharedProps
849
+ } = this.getSharedProps();
835
850
  const {
836
851
  overrides = {}
837
852
  } = this.props;
838
853
  const [SelectArrow, selectArrowProps] = getOverrides(overrides.SelectArrow, TriangleDownIcon);
839
- const sharedProps = this.getSharedProps();
840
- return /*#__PURE__*/React.createElement(SelectArrow, _extends({
841
- size: 16,
842
- title: 'open',
843
- overrides: {
844
- Svg: {
845
- component: StyledSelectArrow,
846
- props: overrides.SelectArrow && overrides.SelectArrow.props ? overrides.SelectArrow.props : {},
847
- style: overrides.SelectArrow && overrides.SelectArrow.style ? overrides.SelectArrow.style : {}
854
+ selectArrowProps.overrides = mergeOverrides({
855
+ Svg: {
856
+ style: ({
857
+ $theme,
858
+ $disabled
859
+ }) => {
860
+ return {
861
+ color: $disabled ? $theme.colors.inputTextDisabled : $theme.colors.contentPrimary
862
+ };
848
863
  }
849
864
  }
865
+ }, selectArrowProps.overrides);
866
+ const sizes = {
867
+ [SIZE.mini]: 16,
868
+ [SIZE.compact]: 16,
869
+ [SIZE.default]: 20,
870
+ [SIZE.large]: 24
871
+ };
872
+ return /*#__PURE__*/React.createElement(SelectArrow, _extends({
873
+ size: sizes[this.props.size] || sizes[SIZE.default],
874
+ title: 'open'
850
875
  }, sharedProps, selectArrowProps));
851
876
  }
852
877
 
@@ -37,7 +37,7 @@ const filterOptions = (options, filterValue, excludeOptions, newProps) => {
37
37
  acc.add(option[props.valueKey]);
38
38
  return acc;
39
39
  }, new Set());
40
- const re = new RegExp(`${props.matchPos === 'start' ? '$' : ''}${escapeRegExp(filterValue)}`, props.ignoreCase ? 'i' : ''); // $FlowFixMe
40
+ const re = new RegExp(`${props.matchPos === 'start' ? '^' : ''}${escapeRegExp(filterValue)}`, props.ignoreCase ? 'i' : ''); // $FlowFixMe
41
41
 
42
42
  return options.filter(option => {
43
43
  if (excludeValues.has(option[props.valueKey])) return false;
@@ -87,7 +87,7 @@ export default function SnackbarProvider({
87
87
  setTimeout(() => {
88
88
  setAnimating(false);
89
89
  display(duration);
90
- }, 1000);
90
+ }, 0);
91
91
  }
92
92
 
93
93
  function exit() {
@@ -118,6 +118,20 @@ export const StyledTableHeadCellSortable = withStyle(StyledTableHeadCell, ({
118
118
  };
119
119
  });
120
120
  StyledTableHeadCellSortable.displayName = "StyledTableHeadCellSortable";
121
+ export const StyledSortIconContainer = styled('span', ({
122
+ $theme
123
+ }) => {
124
+ return {
125
+ display: 'flex',
126
+ alignItems: 'center',
127
+ position: 'absolute',
128
+ top: '50%',
129
+ right: $theme.sizing.scale500,
130
+ transform: 'translateY(-50%)'
131
+ };
132
+ }); // No longer used, but will maintain for some time to support existing usage
133
+
134
+ StyledSortIconContainer.displayName = "StyledSortIconContainer";
121
135
  export const StyledSortAscIcon = styled(ChevronUp, ({
122
136
  $theme
123
137
  }) => {
@@ -9,8 +9,11 @@ This source code is licensed under the MIT license found in the
9
9
  LICENSE file in the root directory of this source tree.
10
10
  */
11
11
  import * as React from 'react';
12
- import { StyledRoot, StyledTable, StyledTableHead, StyledTableHeadRow, StyledTableHeadCell, StyledTableHeadCellSortable, StyledTableBody, StyledTableBodyRow, StyledTableBodyCell, StyledTableLoadingMessage, StyledTableEmptyMessage, StyledSortAscIcon, StyledSortDescIcon, StyledSortNoneIcon } from './styled-components.js';
12
+ import { StyledRoot, StyledTable, StyledTableHead, StyledTableHeadRow, StyledTableHeadCell, StyledTableHeadCellSortable, StyledTableBody, StyledTableBodyRow, StyledTableBodyCell, StyledTableLoadingMessage, StyledTableEmptyMessage, StyledSortIconContainer } from './styled-components.js';
13
13
  import { getOverrides } from '../helpers/overrides.js';
14
+ import Blank from '../icon/blank.js';
15
+ import ChevronDown from '../icon/chevron-down.js';
16
+ import ChevronUp from '../icon/chevron-up.js';
14
17
  import { isFocusVisible, forkFocus, forkBlur } from '../utils/focusVisible.js';
15
18
  export default class TableBuilder extends React.Component {
16
19
  constructor(...args) {
@@ -64,9 +67,10 @@ export default class TableBuilder extends React.Component {
64
67
  const [TableBodyCell, tableBodyCellProps] = getOverrides(overrides.TableBodyCell, StyledTableBodyCell);
65
68
  const [TableLoadingMessage, tableLoadingMessageProps] = getOverrides(overrides.TableLoadingMessage, StyledTableLoadingMessage);
66
69
  const [TableEmptyMessage, tableEmptyMessageProps] = getOverrides(overrides.TableEmptyMessage, StyledTableEmptyMessage);
67
- const [SortAscIcon, sortAscIconProps] = getOverrides(overrides.SortAscIcon, StyledSortAscIcon);
68
- const [SortDescIcon, sortDescIconProps] = getOverrides(overrides.SortDescIcon, StyledSortDescIcon);
69
- const [SortNoneIcon, sortNoneIconProps] = getOverrides(overrides.SortNoneIcon, StyledSortNoneIcon);
70
+ const [SortIconContainer, sortIconContainerProps] = getOverrides(overrides.SortIconContainer, StyledSortIconContainer);
71
+ const [SortAscIcon, sortAscIconProps] = getOverrides(overrides.SortAscIcon, ChevronUp);
72
+ const [SortDescIcon, sortDescIconProps] = getOverrides(overrides.SortDescIcon, ChevronDown);
73
+ const [SortNoneIcon, sortNoneIconProps] = getOverrides(overrides.SortNoneIcon, Blank);
70
74
  const columns = React.Children.toArray(children).filter(Boolean).map(child => child.props);
71
75
 
72
76
  function renderHeader(col, colIndex, isFocusVisible) {
@@ -91,6 +95,7 @@ export default class TableBuilder extends React.Component {
91
95
  switch (col.id === sortColumn && sortOrder) {
92
96
  case 'ASC':
93
97
  sortIcon = /*#__PURE__*/React.createElement(SortAscIcon, _extends({
98
+ size: "16px",
94
99
  "aria-hidden": true,
95
100
  role: "presentation"
96
101
  }, sortAscIconProps));
@@ -99,6 +104,7 @@ export default class TableBuilder extends React.Component {
99
104
 
100
105
  case 'DESC':
101
106
  sortIcon = /*#__PURE__*/React.createElement(SortDescIcon, _extends({
107
+ size: "16px",
102
108
  "aria-hidden": true,
103
109
  role: "presentation"
104
110
  }, sortDescIconProps));
@@ -107,6 +113,7 @@ export default class TableBuilder extends React.Component {
107
113
 
108
114
  default:
109
115
  sortIcon = /*#__PURE__*/React.createElement(SortNoneIcon, _extends({
116
+ size: "16px",
110
117
  "aria-hidden": true,
111
118
  role: "presentation"
112
119
  }, sortNoneIconProps));
@@ -130,7 +137,7 @@ export default class TableBuilder extends React.Component {
130
137
  onSort && onSort(col.id);
131
138
  }
132
139
  }
133
- }, tableHeadCellSortableProps, colTableHeadCellSortableProps), col.header, sortIcon);
140
+ }, tableHeadCellSortableProps, colTableHeadCellSortableProps), col.header, /*#__PURE__*/React.createElement(SortIconContainer, sortIconContainerProps, sortIcon));
134
141
  }
135
142
 
136
143
  function renderCell(col, colIndex, row, rowIndex, lastRowindex) {
@@ -18,21 +18,25 @@ class Textarea extends React.Component {
18
18
  super(...args);
19
19
 
20
20
  _defineProperty(this, "state", {
21
- isFocused: this.props.autoFocus || false
21
+ isFocused: this.props.autoFocus && !this.props.readOnly || false
22
22
  });
23
23
 
24
24
  _defineProperty(this, "onFocus", e => {
25
- this.setState({
26
- isFocused: true
27
- });
28
- this.props.onFocus(e);
25
+ if (!this.props.readOnly) {
26
+ this.setState({
27
+ isFocused: true
28
+ });
29
+ this.props.onFocus(e);
30
+ }
29
31
  });
30
32
 
31
33
  _defineProperty(this, "onBlur", e => {
32
- this.setState({
33
- isFocused: false
34
- });
35
- this.props.onBlur(e);
34
+ if (!this.props.readOnly) {
35
+ this.setState({
36
+ isFocused: false
37
+ });
38
+ this.props.onBlur(e);
39
+ }
36
40
  });
37
41
  }
38
42
 
@@ -52,6 +56,7 @@ class Textarea extends React.Component {
52
56
  return /*#__PURE__*/React.createElement(Root, _extends({
53
57
  "data-baseweb": "textarea",
54
58
  $isFocused: this.state.isFocused,
59
+ $isReadOnly: this.props.readOnly,
55
60
  $disabled: this.props.disabled,
56
61
  $error: this.props.error,
57
62
  $positive: this.props.positive,
@@ -70,6 +75,7 @@ class Textarea extends React.Component {
70
75
  _defineProperty(Textarea, "defaultProps", {
71
76
  autoFocus: false,
72
77
  disabled: false,
78
+ readOnly: false,
73
79
  error: false,
74
80
  name: '',
75
81
  onBlur: () => {},
@@ -13,6 +13,14 @@ const tagHoverBackground = `rgba(255, 255, 255, 0.2)`;
13
13
  // need to be overrideable through primitives
14
14
 
15
15
  export default ((themePrimitives = colorTokens) => ({
16
+ bannerActionLowInfo: themePrimitives.accent600,
17
+ bannerActionLowNegative: themePrimitives.negative600,
18
+ bannerActionLowPositive: themePrimitives.positive600,
19
+ bannerActionLowWarning: themePrimitives.warning600,
20
+ bannerActionHighInfo: themePrimitives.accent500,
21
+ bannerActionHighNegative: themePrimitives.negative600,
22
+ bannerActionHighPositive: themePrimitives.positive600,
23
+ bannerActionHighWarning: themePrimitives.warning600,
16
24
  // Buttons
17
25
  buttonPrimaryFill: themePrimitives.primary,
18
26
  buttonPrimaryText: themePrimitives.black,
@@ -13,6 +13,14 @@ const tagHoverBackground = `rgba(0, 0, 0, 0.08)`;
13
13
  // overrideable through primitives (`foundation` )
14
14
 
15
15
  export default ((themePrimitives = colorTokens) => ({
16
+ bannerActionLowInfo: themePrimitives.accent100,
17
+ bannerActionLowNegative: themePrimitives.negative100,
18
+ bannerActionLowPositive: themePrimitives.positive100,
19
+ bannerActionLowWarning: themePrimitives.warning200,
20
+ bannerActionHighInfo: themePrimitives.accent500,
21
+ bannerActionHighNegative: themePrimitives.negative500,
22
+ bannerActionHighPositive: themePrimitives.positive500,
23
+ bannerActionHighWarning: themePrimitives.warning200,
16
24
  // Buttons
17
25
  buttonPrimaryFill: themePrimitives.primary,
18
26
  buttonPrimaryText: themePrimitives.white,