@elastic/eui 98.2.0 → 98.2.1-borealis.1

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 (599) hide show
  1. package/dist/{eui_theme_dark.json.d.ts → eui_theme_amsterdam_dark.json.d.ts} +1 -1
  2. package/dist/{eui_theme_light.json.d.ts → eui_theme_amsterdam_light.json.d.ts} +1 -1
  3. package/dist/eui_theme_borealis_dark.json +314 -0
  4. package/dist/eui_theme_borealis_dark.json.d.ts +317 -0
  5. package/dist/eui_theme_borealis_light.json +314 -0
  6. package/dist/eui_theme_borealis_light.json.d.ts +317 -0
  7. package/es/components/avatar/avatar.js +10 -4
  8. package/es/components/badge/badge.styles.js +1 -2
  9. package/es/components/badge/beta_badge/beta_badge.styles.js +3 -1
  10. package/es/components/badge/color_utils.js +9 -8
  11. package/es/components/beacon/beacon.styles.js +2 -2
  12. package/es/components/bottom_bar/bottom_bar.styles.js +1 -2
  13. package/es/components/breadcrumbs/_breadcrumb_content.styles.js +5 -7
  14. package/es/components/button/button.js +1 -1
  15. package/es/components/button/button_display/_button_display.styles.js +1 -1
  16. package/es/components/button/button_empty/button_empty.js +1 -1
  17. package/es/components/button/button_group/button_group_button.js +1 -1
  18. package/es/components/button/button_group/button_group_button.styles.js +6 -6
  19. package/es/components/button/button_icon/button_icon.js +1 -1
  20. package/es/components/card/card.js +1 -1
  21. package/es/components/card/card.styles.js +6 -3
  22. package/es/components/code/code_block_annotations.js +1 -1
  23. package/es/components/code/code_block_line.styles.js +1 -2
  24. package/es/components/code/code_syntax.styles.js +23 -27
  25. package/es/components/collapsible_nav/collapsible_nav_group/collapsible_nav_group.styles.js +3 -5
  26. package/es/components/collapsible_nav_beta/collapsible_nav_item/collapsible_nav_item.styles.js +1 -1
  27. package/es/components/color_picker/color_palette_display/color_palette_display.styles.js +1 -2
  28. package/es/components/color_picker/color_picker.js +9 -3
  29. package/es/components/color_picker/color_picker.styles.js +1 -2
  30. package/es/components/color_picker/color_picker_swatch.styles.js +1 -1
  31. package/es/components/comment_list/comment.js +1 -1
  32. package/es/components/comment_list/comment_event.js +5 -4
  33. package/es/components/comment_list/comment_list.js +1 -1
  34. package/es/components/common.js +0 -28
  35. package/es/components/datagrid/data_grid.styles.js +6 -7
  36. package/es/components/date_picker/react_date_picker.styles.js +2 -1
  37. package/es/components/date_picker/super_date_picker/super_date_picker.styles.js +3 -4
  38. package/es/components/drag_and_drop/droppable.styles.js +2 -4
  39. package/es/components/empty_prompt/empty_prompt.js +1 -1
  40. package/es/components/empty_prompt/empty_prompt.styles.js +6 -2
  41. package/es/components/filter_group/filter_select_item.styles.js +1 -2
  42. package/es/components/flyout/_flyout_close_button.styles.js +1 -2
  43. package/es/components/flyout/flyout.js +1 -1
  44. package/es/components/flyout/flyout.styles.js +7 -2
  45. package/es/components/flyout/flyout_footer.styles.js +1 -1
  46. package/es/components/form/form.styles.js +28 -32
  47. package/es/components/form/range/range_tooltip.styles.js +11 -13
  48. package/es/components/form/switch/switch.js +3 -7
  49. package/es/components/form/switch/switch.styles.js +16 -19
  50. package/es/components/header/header.styles.js +6 -7
  51. package/es/components/icon/icon.styles.js +9 -8
  52. package/es/components/icon/named_colors.js +1 -1
  53. package/es/components/inline_edit/inline_edit_form.styles.js +1 -2
  54. package/es/components/key_pad_menu/key_pad_menu_item.styles.js +1 -2
  55. package/es/components/list_group/list_group_item.styles.js +9 -11
  56. package/es/components/loading/loading_chart.styles.js +18 -5
  57. package/es/components/mark/mark.styles.js +2 -9
  58. package/es/components/markdown_editor/markdown_editor_drop_zone.styles.js +2 -3
  59. package/es/components/markdown_editor/markdown_format.styles.js +2 -2
  60. package/es/components/modal/modal.styles.js +1 -1
  61. package/es/components/overlay_mask/overlay_mask.styles.js +1 -2
  62. package/es/components/page_template/inner/page_inner.styles.js +2 -2
  63. package/es/components/panel/panel.js +1 -1
  64. package/es/components/panel/panel.styles.js +1 -1
  65. package/es/components/panel/split_panel/split_panel.js +1 -1
  66. package/es/components/popover/popover.js +1 -1
  67. package/es/components/popover/popover_arrow/_popover_arrow.js +8 -3
  68. package/es/components/popover/popover_arrow/_popover_arrow.styles.js +18 -13
  69. package/es/components/popover/popover_footer.styles.js +1 -1
  70. package/es/components/popover/popover_panel/_popover_panel.styles.js +4 -4
  71. package/es/components/progress/progress.js +1 -1
  72. package/es/components/progress/progress.styles.js +30 -28
  73. package/es/components/resizable_container/resizable_panel.js +1 -1
  74. package/es/components/selectable/selectable_list/selectable_list_item.styles.js +1 -2
  75. package/es/components/side_nav/side_nav_item.styles.js +1 -2
  76. package/es/components/skeleton/utils.js +5 -7
  77. package/es/components/steps/step_number.styles.js +1 -1
  78. package/es/components/table/table_cells_shared.styles.js +2 -7
  79. package/es/components/table/table_row.styles.js +8 -10
  80. package/es/components/text/text.styles.js +2 -2
  81. package/es/components/text/text_color.js +1 -1
  82. package/es/components/text/text_color.styles.js +6 -5
  83. package/es/components/toast/toast.styles.js +1 -1
  84. package/es/components/token/token.js +10 -4
  85. package/es/components/token/token.styles.js +12 -3
  86. package/es/components/token/token_map.js +243 -1
  87. package/es/components/tool_tip/tool_tip.styles.js +12 -24
  88. package/es/components/tour/_tour_footer.styles.js +2 -4
  89. package/es/components/tour/tour.styles.js +8 -12
  90. package/es/components/tree_view/tree_view_item.styles.js +1 -2
  91. package/es/global_styling/functions/math.js +1 -49
  92. package/es/global_styling/functions/size.js +1 -17
  93. package/es/global_styling/mixins/_button.js +159 -0
  94. package/es/global_styling/mixins/_color.js +39 -31
  95. package/es/global_styling/mixins/index.js +2 -1
  96. package/es/global_styling/reset/global_styles.js +2 -2
  97. package/es/global_styling/variables/_colors_vis.js +1 -53
  98. package/es/global_styling/variables/animations.js +1 -22
  99. package/es/global_styling/variables/breakpoint.js +1 -7
  100. package/es/global_styling/variables/levels.js +1 -17
  101. package/es/global_styling/variables/shadow.js +1 -11
  102. package/es/global_styling/variables/size.js +1 -1
  103. package/es/global_styling/variables/typography.js +1 -32
  104. package/es/services/color/eui_palettes.js +116 -47
  105. package/es/services/color/index.js +1 -0
  106. package/es/services/color/vis_color_store.js +13 -0
  107. package/es/services/index.js +1 -1
  108. package/es/services/popover/index.js +4 -1
  109. package/es/services/popover/popover_arrow.styles.js +31 -0
  110. package/es/services/popover/popover_positioning.js +6 -17
  111. package/es/services/theme/provider.js +26 -2
  112. package/es/services/theme/types.js +1 -6
  113. package/es/services/theme/utils.js +1 -303
  114. package/es/themes/amsterdam/global_styling/mixins/button.js +1 -203
  115. package/es/themes/amsterdam/global_styling/variables/_borders.js +3 -3
  116. package/es/themes/amsterdam/global_styling/variables/_buttons.js +281 -0
  117. package/es/themes/amsterdam/global_styling/variables/_colors.js +618 -25
  118. package/es/themes/amsterdam/global_styling/variables/_colors_vis.js +109 -0
  119. package/es/themes/amsterdam/global_styling/variables/_components.js +604 -0
  120. package/es/themes/amsterdam/global_styling/variables/_forms.js +161 -0
  121. package/es/themes/amsterdam/theme.js +7 -1
  122. package/es/themes/index.js +1 -1
  123. package/es/themes/themes.js +9 -6
  124. package/eui.d.ts +2382 -2830
  125. package/lib/components/avatar/avatar.js +8 -2
  126. package/lib/components/badge/badge.styles.js +1 -2
  127. package/lib/components/badge/beta_badge/beta_badge.styles.js +3 -1
  128. package/lib/components/badge/color_utils.js +14 -13
  129. package/lib/components/beacon/beacon.styles.js +2 -2
  130. package/lib/components/bottom_bar/bottom_bar.styles.js +1 -2
  131. package/lib/components/breadcrumbs/_breadcrumb_content.styles.js +5 -7
  132. package/lib/components/button/button.js +1 -1
  133. package/lib/components/button/button_display/_button_display.styles.js +1 -1
  134. package/lib/components/button/button_empty/button_empty.js +1 -1
  135. package/lib/components/button/button_group/button_group_button.js +1 -1
  136. package/lib/components/button/button_group/button_group_button.styles.js +5 -5
  137. package/lib/components/button/button_icon/button_icon.js +1 -1
  138. package/lib/components/card/card.js +1 -1
  139. package/lib/components/card/card.styles.js +5 -2
  140. package/lib/components/code/code_block_annotations.js +1 -1
  141. package/lib/components/code/code_block_line.styles.js +1 -2
  142. package/lib/components/code/code_syntax.styles.js +23 -27
  143. package/lib/components/collapsible_nav/collapsible_nav_group/collapsible_nav_group.styles.js +3 -5
  144. package/lib/components/collapsible_nav_beta/collapsible_nav_item/collapsible_nav_item.styles.js +1 -1
  145. package/lib/components/color_picker/color_palette_display/color_palette_display.styles.js +1 -2
  146. package/lib/components/color_picker/color_picker.js +8 -2
  147. package/lib/components/color_picker/color_picker.styles.js +1 -2
  148. package/lib/components/color_picker/color_picker_swatch.styles.js +1 -1
  149. package/lib/components/comment_list/comment.js +1 -1
  150. package/lib/components/comment_list/comment_event.js +5 -4
  151. package/lib/components/comment_list/comment_list.js +1 -1
  152. package/lib/components/common.js +0 -28
  153. package/lib/components/datagrid/data_grid.styles.js +6 -7
  154. package/lib/components/date_picker/react_date_picker.styles.js +3 -2
  155. package/lib/components/date_picker/super_date_picker/super_date_picker.styles.js +2 -3
  156. package/lib/components/drag_and_drop/droppable.styles.js +2 -4
  157. package/lib/components/empty_prompt/empty_prompt.js +1 -1
  158. package/lib/components/empty_prompt/empty_prompt.styles.js +5 -1
  159. package/lib/components/filter_group/filter_select_item.styles.js +1 -2
  160. package/lib/components/flyout/_flyout_close_button.styles.js +1 -2
  161. package/lib/components/flyout/flyout.js +1 -1
  162. package/lib/components/flyout/flyout.styles.js +7 -2
  163. package/lib/components/flyout/flyout_footer.styles.js +1 -1
  164. package/lib/components/form/form.styles.js +27 -31
  165. package/lib/components/form/range/range_tooltip.styles.js +11 -13
  166. package/lib/components/form/switch/switch.js +3 -7
  167. package/lib/components/form/switch/switch.styles.js +16 -19
  168. package/lib/components/header/header.styles.js +5 -6
  169. package/lib/components/icon/icon.styles.js +9 -8
  170. package/lib/components/icon/named_colors.js +1 -1
  171. package/lib/components/inline_edit/inline_edit_form.styles.js +1 -2
  172. package/lib/components/key_pad_menu/key_pad_menu_item.styles.js +1 -2
  173. package/lib/components/list_group/list_group_item.styles.js +8 -10
  174. package/lib/components/loading/loading_chart.styles.js +18 -5
  175. package/lib/components/mark/mark.styles.js +2 -9
  176. package/lib/components/markdown_editor/markdown_editor_drop_zone.styles.js +2 -3
  177. package/lib/components/markdown_editor/markdown_format.styles.js +2 -2
  178. package/lib/components/modal/modal.styles.js +1 -1
  179. package/lib/components/overlay_mask/overlay_mask.styles.js +1 -2
  180. package/lib/components/page_template/inner/page_inner.styles.js +1 -1
  181. package/lib/components/panel/panel.js +1 -1
  182. package/lib/components/panel/panel.styles.js +1 -1
  183. package/lib/components/panel/split_panel/split_panel.js +1 -1
  184. package/lib/components/popover/popover.js +1 -1
  185. package/lib/components/popover/popover_arrow/_popover_arrow.js +8 -3
  186. package/lib/components/popover/popover_arrow/_popover_arrow.styles.js +18 -15
  187. package/lib/components/popover/popover_footer.styles.js +1 -1
  188. package/lib/components/popover/popover_panel/_popover_panel.styles.js +4 -4
  189. package/lib/components/progress/progress.js +1 -1
  190. package/lib/components/progress/progress.styles.js +29 -27
  191. package/lib/components/resizable_container/resizable_panel.js +1 -1
  192. package/lib/components/selectable/selectable_list/selectable_list_item.styles.js +1 -2
  193. package/lib/components/side_nav/side_nav_item.styles.js +1 -2
  194. package/lib/components/skeleton/utils.js +4 -6
  195. package/lib/components/steps/step_number.styles.js +1 -1
  196. package/lib/components/table/table_cells_shared.styles.js +2 -7
  197. package/lib/components/table/table_row.styles.js +7 -9
  198. package/lib/components/text/text.styles.js +1 -1
  199. package/lib/components/text/text_color.js +1 -1
  200. package/lib/components/text/text_color.styles.js +6 -5
  201. package/lib/components/toast/toast.styles.js +1 -1
  202. package/lib/components/token/token.js +12 -4
  203. package/lib/components/token/token.styles.js +12 -3
  204. package/lib/components/token/token_map.js +244 -2
  205. package/lib/components/tool_tip/tool_tip.styles.js +11 -23
  206. package/lib/components/tour/_tour_footer.styles.js +2 -4
  207. package/lib/components/tour/tour.styles.js +8 -12
  208. package/lib/components/tree_view/tree_view_item.styles.js +1 -2
  209. package/lib/global_styling/functions/math.js +7 -58
  210. package/lib/global_styling/functions/size.js +7 -26
  211. package/lib/global_styling/mixins/_button.js +164 -0
  212. package/lib/global_styling/mixins/_color.js +38 -30
  213. package/lib/global_styling/mixins/index.js +11 -0
  214. package/lib/global_styling/reset/global_styles.js +1 -1
  215. package/lib/global_styling/variables/_colors_vis.js +6 -61
  216. package/lib/global_styling/variables/animations.js +25 -31
  217. package/lib/global_styling/variables/breakpoint.js +7 -16
  218. package/lib/global_styling/variables/levels.js +7 -26
  219. package/lib/global_styling/variables/shadow.js +13 -20
  220. package/lib/global_styling/variables/size.js +7 -10
  221. package/lib/global_styling/variables/typography.js +19 -41
  222. package/lib/services/color/eui_palettes.js +116 -47
  223. package/lib/services/color/index.js +8 -0
  224. package/lib/services/color/vis_color_store.js +18 -0
  225. package/lib/services/index.js +7 -0
  226. package/lib/services/popover/index.js +8 -1
  227. package/lib/services/popover/popover_arrow.styles.js +37 -0
  228. package/lib/services/popover/popover_positioning.js +6 -17
  229. package/lib/services/theme/provider.js +26 -2
  230. package/lib/services/theme/types.js +13 -14
  231. package/lib/services/theme/utils.js +54 -303
  232. package/lib/themes/amsterdam/global_styling/mixins/button.js +45 -206
  233. package/lib/themes/amsterdam/global_styling/variables/_borders.js +3 -3
  234. package/lib/themes/amsterdam/global_styling/variables/_buttons.js +285 -0
  235. package/lib/themes/amsterdam/global_styling/variables/_colors.js +617 -25
  236. package/lib/themes/amsterdam/global_styling/variables/_colors_vis.js +115 -0
  237. package/lib/themes/amsterdam/global_styling/variables/_components.js +608 -0
  238. package/lib/themes/amsterdam/global_styling/variables/_forms.js +165 -0
  239. package/lib/themes/amsterdam/theme.js +7 -1
  240. package/lib/themes/index.js +7 -0
  241. package/lib/themes/themes.js +10 -7
  242. package/optimize/es/components/avatar/avatar.js +10 -4
  243. package/optimize/es/components/badge/badge.styles.js +1 -2
  244. package/optimize/es/components/badge/beta_badge/beta_badge.styles.js +3 -1
  245. package/optimize/es/components/badge/color_utils.js +9 -8
  246. package/optimize/es/components/beacon/beacon.styles.js +2 -2
  247. package/optimize/es/components/bottom_bar/bottom_bar.styles.js +1 -2
  248. package/optimize/es/components/breadcrumbs/_breadcrumb_content.styles.js +5 -7
  249. package/optimize/es/components/button/button.js +1 -1
  250. package/optimize/es/components/button/button_display/_button_display.styles.js +1 -1
  251. package/optimize/es/components/button/button_empty/button_empty.js +1 -1
  252. package/optimize/es/components/button/button_group/button_group_button.js +1 -1
  253. package/optimize/es/components/button/button_group/button_group_button.styles.js +6 -6
  254. package/optimize/es/components/button/button_icon/button_icon.js +1 -1
  255. package/optimize/es/components/card/card.styles.js +6 -3
  256. package/optimize/es/components/code/code_block_annotations.js +1 -1
  257. package/optimize/es/components/code/code_block_line.styles.js +1 -2
  258. package/optimize/es/components/code/code_syntax.styles.js +23 -27
  259. package/optimize/es/components/collapsible_nav/collapsible_nav_group/collapsible_nav_group.styles.js +3 -5
  260. package/optimize/es/components/collapsible_nav_beta/collapsible_nav_item/collapsible_nav_item.styles.js +1 -1
  261. package/optimize/es/components/color_picker/color_palette_display/color_palette_display.styles.js +1 -2
  262. package/optimize/es/components/color_picker/color_picker.js +9 -3
  263. package/optimize/es/components/color_picker/color_picker.styles.js +1 -2
  264. package/optimize/es/components/color_picker/color_picker_swatch.styles.js +1 -1
  265. package/optimize/es/components/comment_list/comment_event.js +4 -3
  266. package/optimize/es/components/common.js +0 -28
  267. package/optimize/es/components/datagrid/data_grid.styles.js +6 -7
  268. package/optimize/es/components/date_picker/react_date_picker.styles.js +2 -1
  269. package/optimize/es/components/date_picker/super_date_picker/super_date_picker.styles.js +3 -4
  270. package/optimize/es/components/drag_and_drop/droppable.styles.js +2 -4
  271. package/optimize/es/components/empty_prompt/empty_prompt.styles.js +6 -2
  272. package/optimize/es/components/filter_group/filter_select_item.styles.js +1 -2
  273. package/optimize/es/components/flyout/_flyout_close_button.styles.js +1 -2
  274. package/optimize/es/components/flyout/flyout.js +1 -1
  275. package/optimize/es/components/flyout/flyout.styles.js +7 -2
  276. package/optimize/es/components/flyout/flyout_footer.styles.js +1 -1
  277. package/optimize/es/components/form/form.styles.js +28 -32
  278. package/optimize/es/components/form/range/range_tooltip.styles.js +11 -13
  279. package/optimize/es/components/form/switch/switch.js +3 -2
  280. package/optimize/es/components/form/switch/switch.styles.js +16 -19
  281. package/optimize/es/components/header/header.styles.js +6 -7
  282. package/optimize/es/components/icon/icon.styles.js +9 -8
  283. package/optimize/es/components/icon/named_colors.js +1 -1
  284. package/optimize/es/components/inline_edit/inline_edit_form.styles.js +1 -2
  285. package/optimize/es/components/key_pad_menu/key_pad_menu_item.styles.js +1 -2
  286. package/optimize/es/components/list_group/list_group_item.styles.js +9 -11
  287. package/optimize/es/components/loading/loading_chart.styles.js +13 -5
  288. package/optimize/es/components/mark/mark.styles.js +2 -9
  289. package/optimize/es/components/markdown_editor/markdown_editor_drop_zone.styles.js +2 -3
  290. package/optimize/es/components/markdown_editor/markdown_format.styles.js +2 -2
  291. package/optimize/es/components/modal/modal.styles.js +1 -1
  292. package/optimize/es/components/overlay_mask/overlay_mask.styles.js +1 -2
  293. package/optimize/es/components/page_template/inner/page_inner.styles.js +2 -2
  294. package/optimize/es/components/panel/panel.styles.js +1 -1
  295. package/optimize/es/components/popover/popover.js +1 -1
  296. package/optimize/es/components/popover/popover_arrow/_popover_arrow.js +8 -3
  297. package/optimize/es/components/popover/popover_arrow/_popover_arrow.styles.js +15 -13
  298. package/optimize/es/components/popover/popover_footer.styles.js +1 -1
  299. package/optimize/es/components/popover/popover_panel/_popover_panel.styles.js +4 -4
  300. package/optimize/es/components/progress/progress.js +1 -1
  301. package/optimize/es/components/progress/progress.styles.js +30 -28
  302. package/optimize/es/components/selectable/selectable_list/selectable_list_item.styles.js +1 -2
  303. package/optimize/es/components/side_nav/side_nav_item.styles.js +1 -2
  304. package/optimize/es/components/skeleton/utils.js +5 -7
  305. package/optimize/es/components/steps/step_number.styles.js +1 -1
  306. package/optimize/es/components/table/table_cells_shared.styles.js +2 -7
  307. package/optimize/es/components/table/table_row.styles.js +8 -10
  308. package/optimize/es/components/text/text.styles.js +2 -2
  309. package/optimize/es/components/text/text_color.js +1 -1
  310. package/optimize/es/components/text/text_color.styles.js +6 -5
  311. package/optimize/es/components/toast/toast.styles.js +1 -1
  312. package/optimize/es/components/token/token.js +10 -4
  313. package/optimize/es/components/token/token.styles.js +12 -3
  314. package/optimize/es/components/token/token_map.js +243 -1
  315. package/optimize/es/components/tool_tip/tool_tip.styles.js +12 -24
  316. package/optimize/es/components/tour/_tour_footer.styles.js +2 -4
  317. package/optimize/es/components/tour/tour.styles.js +8 -12
  318. package/optimize/es/components/tree_view/tree_view_item.styles.js +1 -2
  319. package/optimize/es/global_styling/functions/math.js +1 -49
  320. package/optimize/es/global_styling/functions/size.js +1 -17
  321. package/optimize/es/global_styling/mixins/_button.js +159 -0
  322. package/optimize/es/global_styling/mixins/_color.js +39 -31
  323. package/optimize/es/global_styling/mixins/index.js +2 -1
  324. package/optimize/es/global_styling/reset/global_styles.js +2 -2
  325. package/optimize/es/global_styling/variables/_colors_vis.js +1 -53
  326. package/optimize/es/global_styling/variables/animations.js +1 -22
  327. package/optimize/es/global_styling/variables/breakpoint.js +1 -7
  328. package/optimize/es/global_styling/variables/levels.js +1 -17
  329. package/optimize/es/global_styling/variables/shadow.js +1 -11
  330. package/optimize/es/global_styling/variables/size.js +1 -1
  331. package/optimize/es/global_styling/variables/typography.js +1 -32
  332. package/optimize/es/services/color/eui_palettes.js +116 -47
  333. package/optimize/es/services/color/index.js +1 -0
  334. package/optimize/es/services/color/vis_color_store.js +13 -0
  335. package/optimize/es/services/index.js +1 -1
  336. package/optimize/es/services/popover/index.js +4 -1
  337. package/optimize/es/services/popover/popover_arrow.styles.js +31 -0
  338. package/optimize/es/services/popover/popover_positioning.js +6 -17
  339. package/optimize/es/services/theme/provider.js +26 -2
  340. package/optimize/es/services/theme/types.js +1 -6
  341. package/optimize/es/services/theme/utils.js +1 -295
  342. package/optimize/es/themes/amsterdam/global_styling/mixins/button.js +1 -198
  343. package/optimize/es/themes/amsterdam/global_styling/variables/_borders.js +3 -3
  344. package/optimize/es/themes/amsterdam/global_styling/variables/_buttons.js +270 -0
  345. package/optimize/es/themes/amsterdam/global_styling/variables/_colors.js +618 -25
  346. package/optimize/es/themes/amsterdam/global_styling/variables/_colors_vis.js +109 -0
  347. package/optimize/es/themes/amsterdam/global_styling/variables/_components.js +596 -0
  348. package/optimize/es/themes/amsterdam/global_styling/variables/_forms.js +153 -0
  349. package/optimize/es/themes/amsterdam/theme.js +7 -1
  350. package/optimize/es/themes/index.js +1 -1
  351. package/optimize/es/themes/themes.js +9 -6
  352. package/optimize/lib/components/avatar/avatar.js +8 -2
  353. package/optimize/lib/components/badge/badge.styles.js +1 -2
  354. package/optimize/lib/components/badge/beta_badge/beta_badge.styles.js +3 -1
  355. package/optimize/lib/components/badge/color_utils.js +14 -13
  356. package/optimize/lib/components/beacon/beacon.styles.js +2 -2
  357. package/optimize/lib/components/bottom_bar/bottom_bar.styles.js +1 -2
  358. package/optimize/lib/components/breadcrumbs/_breadcrumb_content.styles.js +5 -7
  359. package/optimize/lib/components/button/button.js +1 -1
  360. package/optimize/lib/components/button/button_display/_button_display.styles.js +1 -1
  361. package/optimize/lib/components/button/button_empty/button_empty.js +1 -1
  362. package/optimize/lib/components/button/button_group/button_group_button.js +1 -1
  363. package/optimize/lib/components/button/button_group/button_group_button.styles.js +5 -5
  364. package/optimize/lib/components/button/button_icon/button_icon.js +1 -1
  365. package/optimize/lib/components/card/card.styles.js +5 -2
  366. package/optimize/lib/components/code/code_block_annotations.js +1 -1
  367. package/optimize/lib/components/code/code_block_line.styles.js +1 -2
  368. package/optimize/lib/components/code/code_syntax.styles.js +23 -27
  369. package/optimize/lib/components/collapsible_nav/collapsible_nav_group/collapsible_nav_group.styles.js +3 -5
  370. package/optimize/lib/components/collapsible_nav_beta/collapsible_nav_item/collapsible_nav_item.styles.js +1 -1
  371. package/optimize/lib/components/color_picker/color_palette_display/color_palette_display.styles.js +1 -2
  372. package/optimize/lib/components/color_picker/color_picker.js +8 -2
  373. package/optimize/lib/components/color_picker/color_picker.styles.js +1 -2
  374. package/optimize/lib/components/color_picker/color_picker_swatch.styles.js +1 -1
  375. package/optimize/lib/components/comment_list/comment_event.js +4 -3
  376. package/optimize/lib/components/common.js +0 -28
  377. package/optimize/lib/components/datagrid/data_grid.styles.js +6 -7
  378. package/optimize/lib/components/date_picker/react_date_picker.styles.js +3 -2
  379. package/optimize/lib/components/date_picker/super_date_picker/super_date_picker.styles.js +2 -3
  380. package/optimize/lib/components/drag_and_drop/droppable.styles.js +2 -4
  381. package/optimize/lib/components/empty_prompt/empty_prompt.styles.js +5 -1
  382. package/optimize/lib/components/filter_group/filter_select_item.styles.js +1 -2
  383. package/optimize/lib/components/flyout/_flyout_close_button.styles.js +1 -2
  384. package/optimize/lib/components/flyout/flyout.js +1 -1
  385. package/optimize/lib/components/flyout/flyout.styles.js +7 -2
  386. package/optimize/lib/components/flyout/flyout_footer.styles.js +1 -1
  387. package/optimize/lib/components/form/form.styles.js +27 -31
  388. package/optimize/lib/components/form/range/range_tooltip.styles.js +11 -13
  389. package/optimize/lib/components/form/switch/switch.js +3 -2
  390. package/optimize/lib/components/form/switch/switch.styles.js +16 -19
  391. package/optimize/lib/components/header/header.styles.js +5 -6
  392. package/optimize/lib/components/icon/icon.styles.js +9 -8
  393. package/optimize/lib/components/icon/named_colors.js +1 -1
  394. package/optimize/lib/components/inline_edit/inline_edit_form.styles.js +1 -2
  395. package/optimize/lib/components/key_pad_menu/key_pad_menu_item.styles.js +1 -2
  396. package/optimize/lib/components/list_group/list_group_item.styles.js +8 -10
  397. package/optimize/lib/components/loading/loading_chart.styles.js +13 -5
  398. package/optimize/lib/components/mark/mark.styles.js +2 -9
  399. package/optimize/lib/components/markdown_editor/markdown_editor_drop_zone.styles.js +2 -3
  400. package/optimize/lib/components/markdown_editor/markdown_format.styles.js +2 -2
  401. package/optimize/lib/components/modal/modal.styles.js +1 -1
  402. package/optimize/lib/components/overlay_mask/overlay_mask.styles.js +1 -2
  403. package/optimize/lib/components/page_template/inner/page_inner.styles.js +1 -1
  404. package/optimize/lib/components/panel/panel.styles.js +1 -1
  405. package/optimize/lib/components/popover/popover.js +1 -1
  406. package/optimize/lib/components/popover/popover_arrow/_popover_arrow.js +8 -3
  407. package/optimize/lib/components/popover/popover_arrow/_popover_arrow.styles.js +16 -15
  408. package/optimize/lib/components/popover/popover_footer.styles.js +1 -1
  409. package/optimize/lib/components/popover/popover_panel/_popover_panel.styles.js +4 -4
  410. package/optimize/lib/components/progress/progress.js +1 -1
  411. package/optimize/lib/components/progress/progress.styles.js +29 -27
  412. package/optimize/lib/components/selectable/selectable_list/selectable_list_item.styles.js +1 -2
  413. package/optimize/lib/components/side_nav/side_nav_item.styles.js +1 -2
  414. package/optimize/lib/components/skeleton/utils.js +4 -6
  415. package/optimize/lib/components/steps/step_number.styles.js +1 -1
  416. package/optimize/lib/components/table/table_cells_shared.styles.js +2 -7
  417. package/optimize/lib/components/table/table_row.styles.js +7 -9
  418. package/optimize/lib/components/text/text.styles.js +1 -1
  419. package/optimize/lib/components/text/text_color.js +1 -1
  420. package/optimize/lib/components/text/text_color.styles.js +6 -5
  421. package/optimize/lib/components/toast/toast.styles.js +1 -1
  422. package/optimize/lib/components/token/token.js +13 -4
  423. package/optimize/lib/components/token/token.styles.js +12 -3
  424. package/optimize/lib/components/token/token_map.js +244 -2
  425. package/optimize/lib/components/tool_tip/tool_tip.styles.js +11 -23
  426. package/optimize/lib/components/tour/_tour_footer.styles.js +2 -4
  427. package/optimize/lib/components/tour/tour.styles.js +8 -12
  428. package/optimize/lib/components/tree_view/tree_view_item.styles.js +1 -2
  429. package/optimize/lib/global_styling/functions/math.js +7 -59
  430. package/optimize/lib/global_styling/functions/size.js +7 -27
  431. package/optimize/lib/global_styling/mixins/_button.js +165 -0
  432. package/optimize/lib/global_styling/mixins/_color.js +38 -30
  433. package/optimize/lib/global_styling/mixins/index.js +11 -0
  434. package/optimize/lib/global_styling/reset/global_styles.js +1 -1
  435. package/optimize/lib/global_styling/variables/_colors_vis.js +6 -61
  436. package/optimize/lib/global_styling/variables/animations.js +25 -31
  437. package/optimize/lib/global_styling/variables/breakpoint.js +7 -16
  438. package/optimize/lib/global_styling/variables/levels.js +7 -26
  439. package/optimize/lib/global_styling/variables/shadow.js +13 -20
  440. package/optimize/lib/global_styling/variables/size.js +7 -10
  441. package/optimize/lib/global_styling/variables/typography.js +19 -41
  442. package/optimize/lib/services/color/eui_palettes.js +116 -47
  443. package/optimize/lib/services/color/index.js +8 -0
  444. package/optimize/lib/services/color/vis_color_store.js +18 -0
  445. package/optimize/lib/services/index.js +7 -0
  446. package/optimize/lib/services/popover/index.js +8 -1
  447. package/optimize/lib/services/popover/popover_arrow.styles.js +37 -0
  448. package/optimize/lib/services/popover/popover_positioning.js +6 -17
  449. package/optimize/lib/services/theme/provider.js +26 -2
  450. package/optimize/lib/services/theme/types.js +13 -14
  451. package/optimize/lib/services/theme/utils.js +54 -296
  452. package/optimize/lib/themes/amsterdam/global_styling/mixins/button.js +45 -203
  453. package/optimize/lib/themes/amsterdam/global_styling/variables/_borders.js +3 -3
  454. package/optimize/lib/themes/amsterdam/global_styling/variables/_buttons.js +275 -0
  455. package/optimize/lib/themes/amsterdam/global_styling/variables/_colors.js +617 -25
  456. package/optimize/lib/themes/amsterdam/global_styling/variables/_colors_vis.js +115 -0
  457. package/optimize/lib/themes/amsterdam/global_styling/variables/_components.js +601 -0
  458. package/optimize/lib/themes/amsterdam/global_styling/variables/_forms.js +158 -0
  459. package/optimize/lib/themes/amsterdam/theme.js +7 -1
  460. package/optimize/lib/themes/index.js +7 -0
  461. package/optimize/lib/themes/themes.js +10 -7
  462. package/package.json +7 -3
  463. package/src/global_styling/functions/_index.scss +1 -5
  464. package/src/global_styling/index.scss +1 -10
  465. package/src/global_styling/variables/_animations.scss +1 -8
  466. package/src/global_styling/variables/_borders.scss +1 -9
  467. package/src/global_styling/variables/_buttons.scss +1 -18
  468. package/src/global_styling/variables/_colors_vis.scss +1 -70
  469. package/src/global_styling/variables/_font_weight.scss +1 -7
  470. package/src/global_styling/variables/_form.scss +2 -21
  471. package/src/global_styling/variables/_responsive.scss +1 -9
  472. package/src/global_styling/variables/_shadows.scss +1 -1
  473. package/src/global_styling/variables/_size.scss +1 -13
  474. package/src/global_styling/variables/_states.scss +1 -14
  475. package/src/global_styling/variables/_typography.scss +1 -75
  476. package/src/global_styling/variables/_z_index.scss +1 -33
  477. package/src/themes/amsterdam/_colors_dark.scss +80 -8
  478. package/src/themes/amsterdam/_colors_light.scss +80 -8
  479. package/src/themes/amsterdam/global_styling/variables/_colors_vis.scss +72 -0
  480. package/src/themes/amsterdam/global_styling/variables/_forms.scss +12 -0
  481. package/src/themes/amsterdam/global_styling/variables/_index.scss +2 -0
  482. package/test-env/components/avatar/avatar.js +8 -2
  483. package/test-env/components/badge/badge.styles.js +1 -2
  484. package/test-env/components/badge/beta_badge/beta_badge.styles.js +3 -1
  485. package/test-env/components/badge/color_utils.js +14 -13
  486. package/test-env/components/beacon/beacon.styles.js +2 -2
  487. package/test-env/components/bottom_bar/bottom_bar.styles.js +1 -2
  488. package/test-env/components/breadcrumbs/_breadcrumb_content.styles.js +5 -7
  489. package/test-env/components/button/button.js +1 -1
  490. package/test-env/components/button/button_display/_button_display.styles.js +1 -1
  491. package/test-env/components/button/button_empty/button_empty.js +1 -1
  492. package/test-env/components/button/button_group/button_group_button.js +1 -1
  493. package/test-env/components/button/button_group/button_group_button.styles.js +5 -5
  494. package/test-env/components/button/button_icon/button_icon.js +1 -1
  495. package/test-env/components/card/card.js +1 -1
  496. package/test-env/components/card/card.styles.js +5 -2
  497. package/test-env/components/code/code_block_annotations.js +1 -1
  498. package/test-env/components/code/code_block_line.styles.js +1 -2
  499. package/test-env/components/code/code_syntax.styles.js +23 -27
  500. package/test-env/components/collapsible_nav/collapsible_nav_group/collapsible_nav_group.styles.js +3 -5
  501. package/test-env/components/collapsible_nav_beta/collapsible_nav_item/collapsible_nav_item.styles.js +1 -1
  502. package/test-env/components/color_picker/color_palette_display/color_palette_display.styles.js +1 -2
  503. package/test-env/components/color_picker/color_picker.js +8 -2
  504. package/test-env/components/color_picker/color_picker.styles.js +1 -2
  505. package/test-env/components/color_picker/color_picker_swatch.styles.js +1 -1
  506. package/test-env/components/comment_list/comment.js +1 -1
  507. package/test-env/components/comment_list/comment_event.js +5 -4
  508. package/test-env/components/comment_list/comment_list.js +1 -1
  509. package/test-env/components/common.js +0 -28
  510. package/test-env/components/datagrid/data_grid.styles.js +6 -7
  511. package/test-env/components/date_picker/react_date_picker.styles.js +3 -2
  512. package/test-env/components/date_picker/super_date_picker/super_date_picker.styles.js +2 -3
  513. package/test-env/components/drag_and_drop/droppable.styles.js +2 -4
  514. package/test-env/components/empty_prompt/empty_prompt.js +1 -1
  515. package/test-env/components/empty_prompt/empty_prompt.styles.js +5 -1
  516. package/test-env/components/filter_group/filter_select_item.styles.js +1 -2
  517. package/test-env/components/flyout/_flyout_close_button.styles.js +1 -2
  518. package/test-env/components/flyout/flyout.styles.js +7 -2
  519. package/test-env/components/flyout/flyout_footer.styles.js +1 -1
  520. package/test-env/components/form/form.styles.js +27 -31
  521. package/test-env/components/form/range/range_tooltip.styles.js +11 -13
  522. package/test-env/components/form/switch/switch.js +3 -2
  523. package/test-env/components/form/switch/switch.styles.js +16 -19
  524. package/test-env/components/header/header.styles.js +5 -6
  525. package/test-env/components/icon/icon.styles.js +9 -8
  526. package/test-env/components/icon/named_colors.js +1 -1
  527. package/test-env/components/inline_edit/inline_edit_form.styles.js +1 -2
  528. package/test-env/components/key_pad_menu/key_pad_menu_item.styles.js +1 -2
  529. package/test-env/components/list_group/list_group_item.styles.js +8 -10
  530. package/test-env/components/loading/loading_chart.styles.js +13 -5
  531. package/test-env/components/mark/mark.styles.js +2 -9
  532. package/test-env/components/markdown_editor/markdown_editor_drop_zone.styles.js +2 -3
  533. package/test-env/components/markdown_editor/markdown_format.styles.js +2 -2
  534. package/test-env/components/modal/modal.styles.js +1 -1
  535. package/test-env/components/overlay_mask/overlay_mask.styles.js +1 -2
  536. package/test-env/components/page_template/inner/page_inner.styles.js +1 -1
  537. package/test-env/components/panel/panel.js +1 -1
  538. package/test-env/components/panel/panel.styles.js +1 -1
  539. package/test-env/components/panel/split_panel/split_panel.js +1 -1
  540. package/test-env/components/popover/popover.js +1 -1
  541. package/test-env/components/popover/popover_arrow/_popover_arrow.js +8 -3
  542. package/test-env/components/popover/popover_arrow/_popover_arrow.styles.js +16 -15
  543. package/test-env/components/popover/popover_footer.styles.js +1 -1
  544. package/test-env/components/popover/popover_panel/_popover_panel.styles.js +4 -4
  545. package/test-env/components/progress/progress.js +1 -1
  546. package/test-env/components/progress/progress.styles.js +29 -27
  547. package/test-env/components/resizable_container/resizable_panel.js +1 -1
  548. package/test-env/components/selectable/selectable_list/selectable_list_item.styles.js +1 -2
  549. package/test-env/components/side_nav/side_nav_item.styles.js +1 -2
  550. package/test-env/components/skeleton/utils.js +4 -6
  551. package/test-env/components/steps/step_number.styles.js +1 -1
  552. package/test-env/components/table/table_cells_shared.styles.js +2 -7
  553. package/test-env/components/table/table_row.styles.js +7 -9
  554. package/test-env/components/text/text.styles.js +1 -1
  555. package/test-env/components/text/text_color.js +1 -1
  556. package/test-env/components/text/text_color.styles.js +6 -5
  557. package/test-env/components/toast/toast.styles.js +1 -1
  558. package/test-env/components/token/token.js +13 -4
  559. package/test-env/components/token/token.styles.js +12 -3
  560. package/test-env/components/token/token_map.js +244 -2
  561. package/test-env/components/tool_tip/tool_tip.styles.js +11 -23
  562. package/test-env/components/tour/_tour_footer.styles.js +2 -4
  563. package/test-env/components/tour/tour.styles.js +8 -12
  564. package/test-env/components/tree_view/tree_view_item.styles.js +1 -2
  565. package/test-env/global_styling/functions/math.js +7 -59
  566. package/test-env/global_styling/functions/size.js +7 -27
  567. package/test-env/global_styling/mixins/_button.js +165 -0
  568. package/test-env/global_styling/mixins/_color.js +38 -30
  569. package/test-env/global_styling/mixins/index.js +11 -0
  570. package/test-env/global_styling/reset/global_styles.js +1 -1
  571. package/test-env/global_styling/variables/_colors_vis.js +6 -61
  572. package/test-env/global_styling/variables/animations.js +25 -31
  573. package/test-env/global_styling/variables/breakpoint.js +7 -16
  574. package/test-env/global_styling/variables/levels.js +7 -26
  575. package/test-env/global_styling/variables/shadow.js +13 -20
  576. package/test-env/global_styling/variables/size.js +7 -10
  577. package/test-env/global_styling/variables/typography.js +19 -41
  578. package/test-env/services/color/eui_palettes.js +116 -47
  579. package/test-env/services/color/index.js +8 -0
  580. package/test-env/services/color/vis_color_store.js +18 -0
  581. package/test-env/services/index.js +7 -0
  582. package/test-env/services/popover/index.js +8 -1
  583. package/test-env/services/popover/popover_arrow.styles.js +37 -0
  584. package/test-env/services/popover/popover_positioning.js +6 -17
  585. package/test-env/services/theme/provider.js +26 -2
  586. package/test-env/services/theme/types.js +13 -14
  587. package/test-env/services/theme/utils.js +54 -296
  588. package/test-env/themes/amsterdam/global_styling/mixins/button.js +45 -203
  589. package/test-env/themes/amsterdam/global_styling/variables/_borders.js +3 -3
  590. package/test-env/themes/amsterdam/global_styling/variables/_buttons.js +275 -0
  591. package/test-env/themes/amsterdam/global_styling/variables/_colors.js +617 -25
  592. package/test-env/themes/amsterdam/global_styling/variables/_colors_vis.js +115 -0
  593. package/test-env/themes/amsterdam/global_styling/variables/_components.js +601 -0
  594. package/test-env/themes/amsterdam/global_styling/variables/_forms.js +158 -0
  595. package/test-env/themes/amsterdam/theme.js +7 -1
  596. package/test-env/themes/index.js +7 -0
  597. package/test-env/themes/themes.js +10 -7
  598. /package/dist/{eui_theme_dark.json → eui_theme_amsterdam_dark.json} +0 -0
  599. /package/dist/{eui_theme_light.json → eui_theme_amsterdam_light.json} +0 -0
@@ -0,0 +1,608 @@
1
+ "use strict";
2
+
3
+ function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, _typeof(o); }
4
+ Object.defineProperty(exports, "__esModule", {
5
+ value: true
6
+ });
7
+ exports.components = void 0;
8
+ var _utils = require("../../../../services/theme/utils");
9
+ var _manipulation = require("../../../../services/color/manipulation");
10
+ var _contrast = require("../../../../services/color/contrast");
11
+ var _buttons = require("./_buttons");
12
+ var _forms = require("./_forms");
13
+ var _colors_vis = require("./_colors_vis");
14
+ function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
15
+ function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
16
+ function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }
17
+ function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : i + ""; }
18
+ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != _typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
19
+ function _slicedToArray(r, e) { return _arrayWithHoles(r) || _iterableToArrayLimit(r, e) || _unsupportedIterableToArray(r, e) || _nonIterableRest(); }
20
+ function _nonIterableRest() { throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); }
21
+ function _unsupportedIterableToArray(r, a) { if (r) { if ("string" == typeof r) return _arrayLikeToArray(r, a); var t = {}.toString.call(r).slice(8, -1); return "Object" === t && r.constructor && (t = r.constructor.name), "Map" === t || "Set" === t ? Array.from(r) : "Arguments" === t || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t) ? _arrayLikeToArray(r, a) : void 0; } }
22
+ function _arrayLikeToArray(r, a) { (null == a || a > r.length) && (a = r.length); for (var e = 0, n = Array(a); e < a; e++) n[e] = r[e]; return n; }
23
+ function _iterableToArrayLimit(r, l) { var t = null == r ? null : "undefined" != typeof Symbol && r[Symbol.iterator] || r["@@iterator"]; if (null != t) { var e, n, i, u, a = [], f = !0, o = !1; try { if (i = (t = t.call(r)).next, 0 === l) { if (Object(t) !== t) return; f = !1; } else for (; !(f = (e = i.call(t)).done) && (a.push(e.value), a.length !== l); f = !0); } catch (r) { o = !0, n = r; } finally { try { if (!f && null != t.return && (u = t.return(), Object(u) !== u)) return; } finally { if (o) throw n; } } return a; } }
24
+ function _arrayWithHoles(r) { if (Array.isArray(r)) return r; } /*
25
+ * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one
26
+ * or more contributor license agreements. Licensed under the Elastic License
27
+ * 2.0 and the Server Side Public License, v 1; you may not use this file except
28
+ * in compliance with, at your election, the Elastic License 2.0 or the Server
29
+ * Side Public License, v 1.
30
+ */
31
+ var component_colors = {
32
+ badgeBackground: (0, _utils.computed)(function (_ref) {
33
+ var _ref2 = _slicedToArray(_ref, 1),
34
+ lightShade = _ref2[0];
35
+ return lightShade;
36
+ }, ['colors.lightShade']),
37
+ badgeBackgroundSubdued: (0, _utils.computed)(function (_ref3) {
38
+ var _ref4 = _slicedToArray(_ref3, 1),
39
+ lightShade = _ref4[0];
40
+ return (0, _manipulation.tint)(lightShade, 0.3);
41
+ }, ['colors.lightShade']),
42
+ badgeBorderColorHollow: (0, _utils.computed)(function (_ref5) {
43
+ var _ref6 = _slicedToArray(_ref5, 1),
44
+ color = _ref6[0];
45
+ return color;
46
+ }, ['border.color']),
47
+ badgeIconButtonBackgroundHover: (0, _utils.computed)(function (_ref7) {
48
+ var _ref8 = _slicedToArray(_ref7, 1),
49
+ ghost = _ref8[0];
50
+ return (0, _manipulation.transparentize)(ghost, 0.8);
51
+ }, ['colors.ghost']),
52
+ breadcrumbsApplicationBackground: (0, _utils.computed)(function (_ref9) {
53
+ var _ref10 = _slicedToArray(_ref9, 1),
54
+ darkestShade = _ref10[0];
55
+ return (0, _manipulation.tint)(darkestShade, 0.85);
56
+ }, ['colors.darkestShade']),
57
+ breadcrumbsApplicationColor: (0, _utils.computed)(function (_ref11) {
58
+ var _ref12 = _slicedToArray(_ref11, 1),
59
+ darkestShade = _ref12[0];
60
+ return (0, _manipulation.tint)(darkestShade, 0.2);
61
+ }, ['colors.darkestShade']),
62
+ buttonGroupBorderColor: (0, _utils.computed)(function (_ref13) {
63
+ var _ref14 = _slicedToArray(_ref13, 1),
64
+ fullShade = _ref14[0];
65
+ return (0, _manipulation.transparentize)(fullShade, 0.1);
66
+ }, ['colors.fullShade']),
67
+ buttonGroupBorderColorSelected: (0, _utils.computed)(function (_ref15) {
68
+ var _ref16 = _slicedToArray(_ref15, 1),
69
+ emptyShade = _ref16[0];
70
+ return (0, _manipulation.transparentize)(emptyShade, 0.2);
71
+ }, ['colors.emptyShade']),
72
+ buttonGroupFocusColor: (0, _utils.computed)(function (_ref17) {
73
+ var _ref18 = _slicedToArray(_ref17, 1),
74
+ fullShade = _ref18[0];
75
+ return fullShade;
76
+ }, ['colors.fullShade']),
77
+ bottomBarBackground: (0, _utils.computed)(function (_ref19) {
78
+ var _ref20 = _slicedToArray(_ref19, 1),
79
+ lightestShade = _ref20[0];
80
+ return (0, _manipulation.shade)(lightestShade, 0.5);
81
+ }, ['colors.lightestShade']),
82
+ codeBackground: (0, _utils.computed)(function (_ref21) {
83
+ var _ref22 = _slicedToArray(_ref21, 1),
84
+ lightestShade = _ref22[0];
85
+ return lightestShade;
86
+ }, ['colors.lightestShade']),
87
+ codeBackgroundSelected: 'inherit',
88
+ codeColor: (0, _utils.computed)(function (_ref23) {
89
+ var _ref24 = _slicedToArray(_ref23, 2),
90
+ lightestShade = _ref24[0],
91
+ text = _ref24[1];
92
+ return (0, _contrast.makeHighContrastColor)(text)(lightestShade);
93
+ }, ['colors.lightestShade', 'colors.text']),
94
+ codeInlineColor: (0, _utils.computed)(function (_ref25) {
95
+ var _ref26 = _slicedToArray(_ref25, 1),
96
+ lightestShade = _ref26[0];
97
+ return (0, _contrast.makeHighContrastColor)(_colors_vis.colorVis.euiColorVis3)(lightestShade);
98
+ }, ['colors.lightestShade']),
99
+ codeCommentColor: (0, _utils.computed)(function (_ref27) {
100
+ var _ref28 = _slicedToArray(_ref27, 2),
101
+ lightestShade = _ref28[0],
102
+ subduedText = _ref28[1];
103
+ return (0, _contrast.makeHighContrastColor)(subduedText)(lightestShade);
104
+ }, ['colors.lightestShade', 'colors.subduedText']),
105
+ codeSelectorColor: 'inherit',
106
+ codeStringColor: (0, _utils.computed)(function (_ref29) {
107
+ var _ref30 = _slicedToArray(_ref29, 1),
108
+ lightestShade = _ref30[0];
109
+ return (0, _contrast.makeHighContrastColor)(_colors_vis.colorVis.euiColorVis2)(lightestShade);
110
+ }, ['colors.lightestShade']),
111
+ codeTagColor: (0, _utils.computed)(function (_ref31) {
112
+ var _ref32 = _slicedToArray(_ref31, 1),
113
+ lightestShade = _ref32[0];
114
+ return (0, _contrast.makeHighContrastColor)(_colors_vis.colorVis.euiColorVis1)(lightestShade);
115
+ }, ['colors.lightestShade']),
116
+ codeNameColor: (0, _utils.computed)(function (_ref33) {
117
+ var _ref34 = _slicedToArray(_ref33, 1),
118
+ lightestShade = _ref34[0];
119
+ return (0, _contrast.makeHighContrastColor)(_colors_vis.colorVis.euiColorVis1)(lightestShade);
120
+ }, ['colors.lightestShade']),
121
+ codeNumberColor: (0, _utils.computed)(function (_ref35) {
122
+ var _ref36 = _slicedToArray(_ref35, 1),
123
+ lightestShade = _ref36[0];
124
+ return (0, _contrast.makeHighContrastColor)(_colors_vis.colorVis.euiColorVis0)(lightestShade);
125
+ }, ['colors.lightestShade']),
126
+ codeKeywordColor: (0, _utils.computed)(function (_ref37) {
127
+ var _ref38 = _slicedToArray(_ref37, 1),
128
+ lightestShade = _ref38[0];
129
+ return (0, _contrast.makeHighContrastColor)(_colors_vis.colorVis.euiColorVis3)(lightestShade);
130
+ }, ['colors.lightestShade']),
131
+ codeFunctionTitleColor: 'inherit',
132
+ codeTypeColor: (0, _utils.computed)(function (_ref39) {
133
+ var _ref40 = _slicedToArray(_ref39, 1),
134
+ lightestShade = _ref40[0];
135
+ return (0, _contrast.makeHighContrastColor)(_colors_vis.colorVis.euiColorVis1)(lightestShade);
136
+ }, ['colors.lightestShade']),
137
+ codeAttributeColor: 'inherit',
138
+ codeSymbolColor: (0, _utils.computed)(function (_ref41) {
139
+ var _ref42 = _slicedToArray(_ref41, 1),
140
+ lightestShade = _ref42[0];
141
+ return (0, _contrast.makeHighContrastColor)(_colors_vis.colorVis.euiColorVis9)(lightestShade);
142
+ }, ['colors.lightestShade']),
143
+ codeParamsColor: 'inherit',
144
+ codeMetaColor: (0, _utils.computed)(function (_ref43) {
145
+ var _ref44 = _slicedToArray(_ref43, 2),
146
+ lightestShade = _ref44[0],
147
+ subduedText = _ref44[1];
148
+ return (0, _contrast.makeHighContrastColor)(subduedText)(lightestShade);
149
+ }, ['colors.lightestShade', 'colors.subduedText']),
150
+ codeTitleColor: (0, _utils.computed)(function (_ref45) {
151
+ var _ref46 = _slicedToArray(_ref45, 1),
152
+ lightestShade = _ref46[0];
153
+ return (0, _contrast.makeHighContrastColor)(_colors_vis.colorVis.euiColorVis7)(lightestShade);
154
+ }, ['colors.lightestShade']),
155
+ codeSectionColor: (0, _utils.computed)(function (_ref47) {
156
+ var _ref48 = _slicedToArray(_ref47, 1),
157
+ lightestShade = _ref48[0];
158
+ return (0, _contrast.makeHighContrastColor)(_colors_vis.colorVis.euiColorVis9)(lightestShade);
159
+ }, ['colors.lightestShade']),
160
+ codeAdditionColor: (0, _utils.computed)(function (_ref49) {
161
+ var _ref50 = _slicedToArray(_ref49, 1),
162
+ lightestShade = _ref50[0];
163
+ return (0, _contrast.makeHighContrastColor)(_colors_vis.colorVis.euiColorVis0)(lightestShade);
164
+ }, ['colors.lightestShade']),
165
+ codeDeletionColor: (0, _utils.computed)(function (_ref51) {
166
+ var _ref52 = _slicedToArray(_ref51, 2),
167
+ lightestShade = _ref52[0],
168
+ danger = _ref52[1];
169
+ return (0, _contrast.makeHighContrastColor)(danger)(lightestShade);
170
+ }, ['colors.lightestShade', 'colors.danger']),
171
+ codeSelectorClassColor: 'inherit',
172
+ codeSelectorIdColor: 'inherit',
173
+ collapsibleNavGroupBackground: (0, _utils.computed)(function (_ref53) {
174
+ var _ref54 = _slicedToArray(_ref53, 1),
175
+ body = _ref54[0];
176
+ return body;
177
+ }, ['colors.body']),
178
+ collapsibleNavGroupBackgroundDark: (0, _utils.computed)(function (_ref55) {
179
+ var _ref56 = _slicedToArray(_ref55, 1),
180
+ darkestShade = _ref56[0];
181
+ return (0, _manipulation.shade)(darkestShade, 0.2);
182
+ }, ['colors.darkestShade']),
183
+ dataGridBorderColor: (0, _utils.computed)(function (_ref57) {
184
+ var _ref58 = _slicedToArray(_ref57, 1),
185
+ color = _ref58[0];
186
+ return color;
187
+ }, ['border.color']),
188
+ dataGridVerticalLineBorderColor: (0, _utils.computed)(function (_ref59) {
189
+ var _ref60 = _slicedToArray(_ref59, 1),
190
+ color = _ref60[0];
191
+ return (0, _manipulation.tint)(color, 0.3);
192
+ }, ['border.color']),
193
+ dataGridRowBackgroundStriped: (0, _utils.computed)(function (_ref61) {
194
+ var _ref62 = _slicedToArray(_ref61, 1),
195
+ lightestShade = _ref62[0];
196
+ return lightestShade;
197
+ }, ['colors.lightestShade']),
198
+ dataGridRowBackgroundHover: (0, _utils.computed)(function (_ref63) {
199
+ var _ref64 = _slicedToArray(_ref63, 1),
200
+ highlight = _ref64[0];
201
+ return highlight;
202
+ }, ['colors.highlight']),
203
+ dataGridRowBackgroundSelect: (0, _utils.computed)(function (_ref65) {
204
+ var _ref66 = _slicedToArray(_ref65, 1),
205
+ highlight = _ref66[0];
206
+ return highlight;
207
+ }, ['colors.highlight']),
208
+ dragDropDraggingBackground: (0, _utils.computed)(function (_ref67) {
209
+ var _ref68 = _slicedToArray(_ref67, 1),
210
+ success = _ref68[0];
211
+ return (0, _manipulation.transparentize)(success, 0.1);
212
+ }, ['colors.success']),
213
+ dragDropDraggingOverBackground: (0, _utils.computed)(function (_ref69) {
214
+ var _ref70 = _slicedToArray(_ref69, 1),
215
+ success = _ref70[0];
216
+ return (0, _manipulation.transparentize)(success, 0.25);
217
+ }, ['colors.success']),
218
+ filterSelectItemBackgroundFocusDisabled: (0, _utils.computed)(function (_ref71) {
219
+ var _ref72 = _slicedToArray(_ref71, 1),
220
+ disabled = _ref72[0];
221
+ return (0, _manipulation.transparentize)(disabled, 0.1);
222
+ }, ['colors.disabled']),
223
+ flyoutFooterBackground: (0, _utils.computed)(function (_ref73) {
224
+ var _ref74 = _slicedToArray(_ref73, 1),
225
+ lightestShade = _ref74[0];
226
+ return lightestShade;
227
+ }, ['colors.lightestShade']),
228
+ flyoutCloseButtonInsideBackground: (0, _utils.computed)(function (_ref75) {
229
+ var _ref76 = _slicedToArray(_ref75, 1),
230
+ emptyShade = _ref76[0];
231
+ return (0, _manipulation.transparentize)(emptyShade, 0.9);
232
+ }, ['colors.emptyShade']),
233
+ headerBackground: (0, _utils.computed)(function (_ref77) {
234
+ var _ref78 = _slicedToArray(_ref77, 1),
235
+ emptyShade = _ref78[0];
236
+ return emptyShade;
237
+ }, ['colors.emptyShade']),
238
+ headerDarkBackground: (0, _utils.computed)(function (_ref79) {
239
+ var _ref80 = _slicedToArray(_ref79, 1),
240
+ darkestShade = _ref80[0];
241
+ return (0, _manipulation.shade)(darkestShade, 0.28);
242
+ }, ['colors.darkestShade']),
243
+ headerDarkSearchBorderColor: (0, _utils.computed)(function (_ref81) {
244
+ var _ref82 = _slicedToArray(_ref81, 1),
245
+ ghost = _ref82[0];
246
+ return (0, _manipulation.transparentize)(ghost, 0.3);
247
+ }, ['colors.ghost']),
248
+ headerDarkSectionItemBackgroundFocus: (0, _utils.computed)(function (_ref83) {
249
+ var _ref84 = _slicedToArray(_ref83, 1),
250
+ primary = _ref84[0];
251
+ return (0, _manipulation.shade)(primary, 0.5);
252
+ }, ['colors.primary']),
253
+ keyPadMenuItemBackgroundDisabledSelect: (0, _utils.computed)(function (_ref85) {
254
+ var _ref86 = _slicedToArray(_ref85, 1),
255
+ disabled = _ref86[0];
256
+ return (0, _manipulation.transparentize)(disabled, 0.1);
257
+ }, ['colors.disabled']),
258
+ listGroupItemBackgroundPrimaryActive: (0, _utils.computed)(function (_ref87) {
259
+ var _ref88 = _slicedToArray(_ref87, 1),
260
+ lightShade = _ref88[0];
261
+ return (0, _manipulation.transparentize)(lightShade, 0.2);
262
+ }, ['colors.lightShade']),
263
+ listGroupItemBackgroundSubduedActive: (0, _utils.computed)(function (_ref89) {
264
+ var _ref90 = _slicedToArray(_ref89, 1),
265
+ primary = _ref90[0];
266
+ return (0, _manipulation.transparentize)(primary, 0.1);
267
+ }, ['colors.primary']),
268
+ listGroupItemBackgroundHover: (0, _utils.computed)(function (_ref91) {
269
+ var _ref92 = _slicedToArray(_ref91, 1),
270
+ lightShade = _ref92[0];
271
+ return (0, _manipulation.transparentize)(lightShade, 0.2);
272
+ }, ['colors.lightShade']),
273
+ listGroupItemBackgroundPrimaryHover: (0, _utils.computed)(function (_ref93) {
274
+ var _ref94 = _slicedToArray(_ref93, 1),
275
+ primary = _ref94[0];
276
+ return (0, _manipulation.transparentize)(primary, 0.1);
277
+ }, ['colors.primary']),
278
+ loadingChartMonoBackground0: (0, _utils.computed)(function (_ref95) {
279
+ var _ref96 = _slicedToArray(_ref95, 1),
280
+ lightShade = _ref96[0];
281
+ return lightShade;
282
+ }, ['colors.lightShade']),
283
+ loadingChartMonoBackground1: (0, _utils.computed)(function (_ref97) {
284
+ var _ref98 = _slicedToArray(_ref97, 1),
285
+ lightShade = _ref98[0];
286
+ return (0, _manipulation.shade)(lightShade, 0.04);
287
+ }, ['colors.lightShade']),
288
+ loadingChartMonoBackground2: (0, _utils.computed)(function (_ref99) {
289
+ var _ref100 = _slicedToArray(_ref99, 1),
290
+ lightShade = _ref100[0];
291
+ return (0, _manipulation.shade)(lightShade, 0.08);
292
+ }, ['colors.lightShade']),
293
+ loadingChartMonoBackground3: (0, _utils.computed)(function (_ref101) {
294
+ var _ref102 = _slicedToArray(_ref101, 1),
295
+ lightShade = _ref102[0];
296
+ return (0, _manipulation.shade)(lightShade, 0.12);
297
+ }, ['colors.lightShade']),
298
+ markBackground: (0, _utils.computed)(function (_ref103) {
299
+ var _ref104 = _slicedToArray(_ref103, 1),
300
+ primary = _ref104[0];
301
+ return (0, _manipulation.transparentize)(primary, 0.1);
302
+ }, ['colors.primary']),
303
+ markdownFormatTableBorderColor: (0, _utils.computed)(function (_ref105) {
304
+ var _ref106 = _slicedToArray(_ref105, 1),
305
+ fullShade = _ref106[0];
306
+ return (0, _manipulation.transparentize)(fullShade, 0.15);
307
+ }, ['colors.fullShade']),
308
+ popoverPanelBackground: (0, _utils.computed)(function (_ref107) {
309
+ var _ref108 = _slicedToArray(_ref107, 1),
310
+ emptyShade = _ref108[0];
311
+ return emptyShade;
312
+ }, ['colors.emptyShade']),
313
+ popoverFooterBorderColor: (0, _utils.computed)(function (_ref109) {
314
+ var _ref110 = _slicedToArray(_ref109, 1),
315
+ color = _ref110[0];
316
+ return color;
317
+ }, ['border.color']),
318
+ scrollbarTrackColor: (0, _utils.computed)(function (_ref111) {
319
+ var _ref112 = _slicedToArray(_ref111, 1),
320
+ body = _ref112[0];
321
+ return (0, _manipulation.shade)(body, 0.03);
322
+ }, ['colors.body']),
323
+ sideNavItemEmphasizedBackground: (0, _utils.computed)(function (_ref113) {
324
+ var _ref114 = _slicedToArray(_ref113, 1),
325
+ lightShade = _ref114[0];
326
+ return (0, _manipulation.transparentize)(lightShade, 0.3);
327
+ }, ['colors.lightShade']),
328
+ selectableListItemBorderColor: (0, _utils.computed)(function (_ref115) {
329
+ var _ref116 = _slicedToArray(_ref115, 1),
330
+ color = _ref116[0];
331
+ return (0, _manipulation.transparentize)(color, 0.4);
332
+ }, ['border.color']),
333
+ superDatePickerBackgroundSuccees: (0, _utils.computed)(function (_ref117) {
334
+ var _ref118 = _slicedToArray(_ref117, 1),
335
+ success = _ref118[0];
336
+ return (0, _manipulation.tint)(success, 0.9);
337
+ }, ['colors.success']),
338
+ switchBackgroundOn: (0, _utils.computed)(function (_ref119) {
339
+ var _ref120 = _slicedToArray(_ref119, 1),
340
+ primary = _ref120[0];
341
+ return primary;
342
+ }, ['colors.primary']),
343
+ switchBackgroundOff: (0, _utils.computed)(function (_ref121) {
344
+ var _ref122 = _slicedToArray(_ref121, 1),
345
+ lightestShade = _ref122[0];
346
+ return (0, _manipulation.shade)(lightestShade, 0.4);
347
+ }, ['colors.lightestShade']),
348
+ switchUncompressedBackgroundDisabled: (0, _utils.computed)(function (_ref123) {
349
+ var _ref124 = _slicedToArray(_ref123, 1),
350
+ lightShade = _ref124[0];
351
+ return (0, _manipulation.tint)(lightShade, 0.5);
352
+ }, ['colors.lightShade']),
353
+ switchCompressedBackgroundDisabled: (0, _utils.computed)(function (_ref125) {
354
+ var _ref126 = _slicedToArray(_ref125, 1),
355
+ lightShade = _ref126[0];
356
+ return (0, _manipulation.tint)(lightShade, 0.25);
357
+ }, ['colors.lightShade']),
358
+ switchMiniBackgroundDisabled: (0, _utils.computed)(function (_ref127) {
359
+ var _ref128 = _slicedToArray(_ref127, 1),
360
+ lightShade = _ref128[0];
361
+ return (0, _manipulation.tint)(lightShade, 0);
362
+ }, ['colors.lightShade']),
363
+ switchThumbBackgroundDisabled: 'transparent',
364
+ switchThumbBorderOn: (0, _utils.computed)(function (_ref129) {
365
+ var _ref130 = _slicedToArray(_ref129, 1),
366
+ lightestShade = _ref130[0];
367
+ return (0, _manipulation.shade)(lightestShade, 0.4);
368
+ }, ['colors.lightestShade']),
369
+ switchThumbBorderOff: (0, _utils.computed)(function (_ref131) {
370
+ var _ref132 = _slicedToArray(_ref131, 1),
371
+ lightestShade = _ref132[0];
372
+ return (0, _manipulation.shade)(lightestShade, 0.4);
373
+ }, ['colors.lightestShade']),
374
+ switchIconDisabled: (0, _utils.computed)(function (_ref133) {
375
+ var _ref134 = _slicedToArray(_ref133, 1),
376
+ lightestShade = _ref134[0];
377
+ return (0, _manipulation.shade)(lightestShade, 0.4);
378
+ }, ['colors.lightestShade']),
379
+ tableRowBackgroundHover: (0, _utils.computed)(function (_ref135) {
380
+ var _ref136 = _slicedToArray(_ref135, 1),
381
+ lightestShade = _ref136[0];
382
+ return (0, _manipulation.tint)(lightestShade, 0.5);
383
+ }, ['colors.lightestShade']),
384
+ tableRowBackgroundSelected: (0, _utils.computed)(function (_ref137) {
385
+ var _ref138 = _slicedToArray(_ref137, 1),
386
+ primary = _ref138[0];
387
+ return (0, _manipulation.tint)(primary, 0.96);
388
+ }, ['colors.primary']),
389
+ tableRowBackgroundSelectedHover: (0, _utils.computed)(function (_ref139) {
390
+ var _ref140 = _slicedToArray(_ref139, 1),
391
+ primary = _ref140[0];
392
+ return (0, _manipulation.tint)(primary, 0.9);
393
+ }, ['colors.primary']),
394
+ tableRowInteractiveBackgroundHover: (0, _utils.computed)(function (_ref141) {
395
+ var _ref142 = _slicedToArray(_ref141, 1),
396
+ primary = _ref142[0];
397
+ return (0, _manipulation.transparentize)(primary, 0.05);
398
+ }, ['colors.primary']),
399
+ tableRowInteractiveBackgroundFocus: (0, _utils.computed)(function (_ref143) {
400
+ var _ref144 = _slicedToArray(_ref143, 1),
401
+ primary = _ref144[0];
402
+ return (0, _manipulation.transparentize)(primary, 0.1);
403
+ }, ['colors.primary']),
404
+ tableCellSortableIconColor: (0, _utils.computed)(function (_ref145) {
405
+ var _ref146 = _slicedToArray(_ref145, 2),
406
+ emptyShade = _ref146[0],
407
+ subduedText = _ref146[1];
408
+ var color = (0, _manipulation.tint)(subduedText, 0.9);
409
+ return (0, _contrast.makeHighContrastColor)(
410
+ // Tint it arbitrarily high, the contrast util will take care of lowering back down to WCAG
411
+ color, 3 // 3:1 ratio from https://www.w3.org/WAI/WCAG22/Understanding/non-text-contrast.html
412
+ )(emptyShade);
413
+ }, ['colors.emptyShade', 'colors.subduedText']),
414
+ tooltipBackground: (0, _utils.computed)(function (_ref147) {
415
+ var _ref148 = _slicedToArray(_ref147, 1),
416
+ fullShade = _ref148[0];
417
+ return (0, _manipulation.tint)(fullShade, 0.25);
418
+ }, ['colors.fullShade']),
419
+ tooltipBorder: (0, _utils.computed)(function (_ref149) {
420
+ var _ref150 = _slicedToArray(_ref149, 1),
421
+ fullShade = _ref150[0];
422
+ return (0, _manipulation.tint)(fullShade, 0.35);
423
+ }, ['colors.fullShade']),
424
+ tooltipBorderFloating: (0, _utils.computed)(function (_ref151) {
425
+ var _ref152 = _slicedToArray(_ref151, 1),
426
+ borderBaseFloating = _ref152[0];
427
+ return borderBaseFloating;
428
+ }, ['colors.borderBaseFloating']),
429
+ tourFooterBackground: (0, _utils.computed)(function (_ref153) {
430
+ var _ref154 = _slicedToArray(_ref153, 1),
431
+ lightestShade = _ref154[0];
432
+ return (0, _manipulation.tint)(lightestShade, 0.5);
433
+ }, ['colors.lightestShade']),
434
+ treeViewItemBackgroundHover: (0, _utils.computed)(function (_ref155) {
435
+ var _ref156 = _slicedToArray(_ref155, 1),
436
+ text = _ref156[0];
437
+ return (0, _manipulation.transparentize)(text, 0.1);
438
+ }, ['colors.text'])
439
+ };
440
+ var components = exports.components = {
441
+ buttons: _buttons.buttons,
442
+ forms: _forms.forms,
443
+ LIGHT: component_colors,
444
+ DARK: _objectSpread(_objectSpread({}, component_colors), {}, {
445
+ badgeBorderColorHollow: (0, _utils.computed)(function (_ref157) {
446
+ var _ref158 = _slicedToArray(_ref157, 1),
447
+ color = _ref158[0];
448
+ return (0, _manipulation.tint)(color, 0.15);
449
+ }, ['border.color']),
450
+ breadcrumbsApplicationBackground: (0, _utils.computed)(function (_ref159) {
451
+ var _ref160 = _slicedToArray(_ref159, 1),
452
+ darkestShade = _ref160[0];
453
+ return (0, _manipulation.shade)(darkestShade, 0.7);
454
+ }, ['colors.darkestShade']),
455
+ breadcrumbsApplicationColor: (0, _utils.computed)(function (_ref161) {
456
+ var _ref162 = _slicedToArray(_ref161, 1),
457
+ darkestShade = _ref162[0];
458
+ return (0, _manipulation.shade)(darkestShade, 0.2);
459
+ }, ['colors.darkestShade']),
460
+ collapsibleNavGroupBackground: (0, _utils.computed)(function (_ref163) {
461
+ var _ref164 = _slicedToArray(_ref163, 1),
462
+ lightestShade = _ref164[0];
463
+ return (0, _manipulation.shade)(lightestShade, 0.5);
464
+ }, ['colors.lightestShade']),
465
+ collapsibleNavGroupBackgroundDark: (0, _utils.computed)(function (_ref165) {
466
+ var _ref166 = _slicedToArray(_ref165, 1),
467
+ lightestShade = _ref166[0];
468
+ return (0, _manipulation.shade)(lightestShade, 0.5);
469
+ }, ['colors.lightestShade']),
470
+ dataGridVerticalLineBorderColor: (0, _utils.computed)(function (_ref167) {
471
+ var _ref168 = _slicedToArray(_ref167, 1),
472
+ color = _ref168[0];
473
+ return (0, _manipulation.shade)(color, 0.3);
474
+ }, ['border.color']),
475
+ headerDarkBackground: (0, _utils.computed)(function (_ref169) {
476
+ var _ref170 = _slicedToArray(_ref169, 1),
477
+ lightestShade = _ref170[0];
478
+ return (0, _manipulation.shade)(lightestShade, 0.5);
479
+ }, ['colors.lightestShade']),
480
+ keyPadMenuItemBackgroundDisabledSelect: (0, _utils.computed)(function (_ref171) {
481
+ var _ref172 = _slicedToArray(_ref171, 1),
482
+ disabled = _ref172[0];
483
+ return (0, _manipulation.transparentize)(disabled, 0.2);
484
+ }, ['colors.disabled']),
485
+ listGroupItemBackgroundSubduedActive: (0, _utils.computed)(function (_ref173) {
486
+ var _ref174 = _slicedToArray(_ref173, 1),
487
+ lightShade = _ref174[0];
488
+ return (0, _manipulation.transparentize)(lightShade, 0.4);
489
+ }, ['colors.lightShade']),
490
+ loadingChartMonoBackground0: (0, _utils.computed)(function (_ref175) {
491
+ var _ref176 = _slicedToArray(_ref175, 1),
492
+ lightShade = _ref176[0];
493
+ return lightShade;
494
+ }, ['colors.lightShade']),
495
+ loadingChartMonoBackground1: (0, _utils.computed)(function (_ref177) {
496
+ var _ref178 = _slicedToArray(_ref177, 1),
497
+ lightShade = _ref178[0];
498
+ return (0, _manipulation.tint)(lightShade, 0.04);
499
+ }, ['colors.lightShade']),
500
+ loadingChartMonoBackground2: (0, _utils.computed)(function (_ref179) {
501
+ var _ref180 = _slicedToArray(_ref179, 1),
502
+ lightShade = _ref180[0];
503
+ return (0, _manipulation.tint)(lightShade, 0.08);
504
+ }, ['colors.lightShade']),
505
+ loadingChartMonoBackground3: (0, _utils.computed)(function (_ref181) {
506
+ var _ref182 = _slicedToArray(_ref181, 1),
507
+ lightShade = _ref182[0];
508
+ return (0, _manipulation.tint)(lightShade, 0.12);
509
+ }, ['colors.lightShade']),
510
+ markBackground: (0, _utils.computed)(function (_ref183) {
511
+ var _ref184 = _slicedToArray(_ref183, 1),
512
+ primary = _ref184[0];
513
+ return (0, _manipulation.transparentize)(primary, 0.3);
514
+ }, ['colors.primary']),
515
+ popoverPanelBackground: (0, _utils.computed)(function (_ref185) {
516
+ var _ref186 = _slicedToArray(_ref185, 1),
517
+ emptyShade = _ref186[0];
518
+ return (0, _manipulation.tint)(emptyShade, 0.025);
519
+ }, ['colors.emptyShade']),
520
+ scrollbarTrackColor: (0, _utils.computed)(function (_ref187) {
521
+ var _ref188 = _slicedToArray(_ref187, 1),
522
+ body = _ref188[0];
523
+ return (0, _manipulation.tint)(body, 0.07);
524
+ }, ['colors.body']),
525
+ superDatePickerBackgroundSuccees: (0, _utils.computed)(function (_ref189) {
526
+ var _ref190 = _slicedToArray(_ref189, 1),
527
+ success = _ref190[0];
528
+ return (0, _manipulation.shade)(success, 0.7);
529
+ }, ['colors.success']),
530
+ switchBackgroundOff: (0, _utils.computed)(function (_ref191) {
531
+ var _ref192 = _slicedToArray(_ref191, 1),
532
+ lightestShade = _ref192[0];
533
+ return (0, _manipulation.tint)(lightestShade, 0.31);
534
+ }, ['colors.lightestShade']),
535
+ switchUncompressedBackgroundDisabled: (0, _utils.computed)(function (_ref193) {
536
+ var _ref194 = _slicedToArray(_ref193, 1),
537
+ lightShade = _ref194[0];
538
+ return lightShade;
539
+ }, ['colors.lightShade']),
540
+ switchCompressedBackgroundDisabled: (0, _utils.computed)(function (_ref195) {
541
+ var _ref196 = _slicedToArray(_ref195, 1),
542
+ lightShade = _ref196[0];
543
+ return lightShade;
544
+ }, ['colors.lightShade']),
545
+ switchMiniBackgroundDisabled: (0, _utils.computed)(function (_ref197) {
546
+ var _ref198 = _slicedToArray(_ref197, 1),
547
+ lightShade = _ref198[0];
548
+ return lightShade;
549
+ }, ['colors.lightShade']),
550
+ switchThumbBorderOn: (0, _utils.computed)(function (_ref199) {
551
+ var _ref200 = _slicedToArray(_ref199, 1),
552
+ lightestShade = _ref200[0];
553
+ return (0, _manipulation.tint)(lightestShade, 0.31);
554
+ }, ['colors.lightestShade']),
555
+ switchThumbBorderOff: (0, _utils.computed)(function (_ref201) {
556
+ var _ref202 = _slicedToArray(_ref201, 1),
557
+ lightestShade = _ref202[0];
558
+ return (0, _manipulation.tint)(lightestShade, 0.31);
559
+ }, ['colors.lightestShade']),
560
+ switchIconDisabled: (0, _utils.computed)(function (_ref203) {
561
+ var _ref204 = _slicedToArray(_ref203, 1),
562
+ lightestShade = _ref204[0];
563
+ return (0, _manipulation.tint)(lightestShade, 0.31);
564
+ }, ['colors.lightestShade']),
565
+ tableRowBackgroundHover: (0, _utils.computed)(function (_ref205) {
566
+ var _ref206 = _slicedToArray(_ref205, 1),
567
+ lightestShade = _ref206[0];
568
+ return lightestShade;
569
+ }, ['colors.lightestShade']),
570
+ tableRowBackgroundSelected: (0, _utils.computed)(function (_ref207) {
571
+ var _ref208 = _slicedToArray(_ref207, 1),
572
+ primary = _ref208[0];
573
+ return (0, _manipulation.shade)(primary, 0.7);
574
+ }, ['colors.primary']),
575
+ tableRowBackgroundSelectedHover: (0, _utils.computed)(function (_ref209) {
576
+ var _ref210 = _slicedToArray(_ref209, 1),
577
+ primary = _ref210[0];
578
+ return (0, _manipulation.shade)(primary, 0.75);
579
+ }, ['colors.primary']),
580
+ tableCellSortableIconColor: (0, _utils.computed)(function (_ref211) {
581
+ var _ref212 = _slicedToArray(_ref211, 2),
582
+ emptyShade = _ref212[0],
583
+ subduedText = _ref212[1];
584
+ var color = (0, _manipulation.shade)(subduedText, 0.9);
585
+ return (0, _contrast.makeHighContrastColor)(color, 3)(emptyShade);
586
+ }, ['colors.emptyShade', 'colors.subduedText']),
587
+ tooltipBackground: (0, _utils.computed)(function (_ref213) {
588
+ var _ref214 = _slicedToArray(_ref213, 1),
589
+ emptyShade = _ref214[0];
590
+ return (0, _manipulation.shade)(emptyShade, 1);
591
+ }, ['colors.emptyShade']),
592
+ tooltipBorder: (0, _utils.computed)(function (_ref215) {
593
+ var _ref216 = _slicedToArray(_ref215, 1),
594
+ fullShade = _ref216[0];
595
+ return (0, _manipulation.shade)(fullShade, 0.8);
596
+ }, ['colors.fullShade']),
597
+ tourFooterBackground: (0, _utils.computed)(function (_ref217) {
598
+ var _ref218 = _slicedToArray(_ref217, 1),
599
+ lightestShade = _ref218[0];
600
+ return (0, _manipulation.shade)(lightestShade, 0.45);
601
+ }, ['colors.lightestShade']),
602
+ treeViewItemBackgroundHover: (0, _utils.computed)(function (_ref219) {
603
+ var _ref220 = _slicedToArray(_ref219, 1),
604
+ text = _ref220[0];
605
+ return (0, _manipulation.transparentize)(text, 0.2);
606
+ }, ['colors.text'])
607
+ })
608
+ };