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