@elastic/eui 99.3.0-classic.0 → 99.4.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (763) hide show
  1. package/dist/{eui_theme_amsterdam_dark.json → eui_theme_dark.json} +65 -177
  2. package/dist/{eui_theme_borealis_dark.json.d.ts → eui_theme_dark.json.d.ts} +66 -178
  3. package/dist/{eui_theme_amsterdam_light.json → eui_theme_light.json} +65 -177
  4. package/dist/{eui_theme_amsterdam_dark.json.d.ts → eui_theme_light.json.d.ts} +66 -178
  5. package/es/components/accordion/accordion_trigger/accordion_trigger.js +1 -0
  6. package/es/components/avatar/avatar.js +4 -4
  7. package/es/components/badge/badge.styles.js +2 -1
  8. package/es/components/badge/beta_badge/beta_badge.styles.js +1 -3
  9. package/es/components/badge/color_utils.js +8 -9
  10. package/es/components/beacon/beacon.styles.js +2 -2
  11. package/es/components/bottom_bar/bottom_bar.styles.js +3 -2
  12. package/es/components/breadcrumbs/_breadcrumb_content.styles.js +7 -5
  13. package/es/components/button/button.js +1 -1
  14. package/es/components/button/button_display/_button_display.styles.js +1 -1
  15. package/es/components/button/button_empty/button_empty.js +1 -1
  16. package/es/components/button/button_group/button_group_button.js +1 -1
  17. package/es/components/button/button_group/button_group_button.styles.js +6 -6
  18. package/es/components/button/button_icon/button_icon.js +1 -1
  19. package/es/components/button/button_icon/button_icon.styles.js +1 -1
  20. package/es/components/call_out/call_out.styles.js +4 -4
  21. package/es/components/card/card.js +1 -1
  22. package/es/components/card/card.styles.js +3 -6
  23. package/es/components/code/code_block_annotations.js +1 -1
  24. package/es/components/code/code_block_line.styles.js +2 -1
  25. package/es/components/code/code_syntax.styles.js +28 -24
  26. package/es/components/collapsible_nav/collapsible_nav_group/collapsible_nav_group.styles.js +5 -3
  27. package/es/components/collapsible_nav_beta/collapsible_nav_item/collapsed/collapsed_nav_button.js +9 -9
  28. package/es/components/collapsible_nav_beta/collapsible_nav_item/collapsed/collapsed_nav_item.js +19 -19
  29. package/es/components/collapsible_nav_beta/collapsible_nav_item/collapsed/collapsed_nav_popover.js +19 -19
  30. package/es/components/collapsible_nav_beta/collapsible_nav_item/collapsible_nav_group.js +3 -3
  31. package/es/components/collapsible_nav_beta/collapsible_nav_item/collapsible_nav_item.js +45 -45
  32. package/es/components/collapsible_nav_beta/collapsible_nav_item/collapsible_nav_item.styles.js +8 -6
  33. package/es/components/color_picker/color_palette_display/color_palette_display.styles.js +2 -1
  34. package/es/components/color_picker/color_picker.js +3 -4
  35. package/es/components/color_picker/color_picker.styles.js +2 -1
  36. package/es/components/color_picker/color_picker_swatch.styles.js +1 -1
  37. package/es/components/combo_box/combo_box.js +5 -1
  38. package/es/components/combo_box/combo_box_input/combo_box_input.js +1 -0
  39. package/es/components/combo_box/combo_box_options_list/combo_box_options_list.js +6 -2
  40. package/es/components/comment_list/comment.js +1 -1
  41. package/es/components/comment_list/comment_event.js +4 -5
  42. package/es/components/comment_list/comment_list.js +1 -1
  43. package/es/components/common.js +28 -0
  44. package/es/components/datagrid/data_grid.styles.js +7 -6
  45. package/es/components/date_picker/date_picker.styles.js +1 -1
  46. package/es/components/date_picker/date_picker_range.styles.js +1 -1
  47. package/es/components/date_picker/react_date_picker.styles.js +1 -2
  48. package/es/components/date_picker/super_date_picker/quick_select_popover/quick_select_popover.js +63 -7
  49. package/es/components/date_picker/super_date_picker/super_date_picker.js +12 -2
  50. package/es/components/date_picker/super_date_picker/super_date_picker.styles.js +5 -4
  51. package/es/components/drag_and_drop/droppable.styles.js +4 -2
  52. package/es/components/empty_prompt/empty_prompt.js +1 -1
  53. package/es/components/empty_prompt/empty_prompt.styles.js +2 -6
  54. package/es/components/expression/expression.styles.js +13 -13
  55. package/es/components/filter_group/filter_select_item.js +1 -1
  56. package/es/components/filter_group/filter_select_item.styles.js +2 -1
  57. package/es/components/flyout/_flyout_close_button.styles.js +3 -2
  58. package/es/components/flyout/flyout.js +1 -1
  59. package/es/components/flyout/flyout.styles.js +3 -8
  60. package/es/components/flyout/flyout_footer.styles.js +1 -1
  61. package/es/components/form/form.styles.js +32 -28
  62. package/es/components/form/range/range_tooltip.styles.js +13 -11
  63. package/es/components/form/switch/switch.js +7 -3
  64. package/es/components/form/switch/switch.styles.js +19 -16
  65. package/es/components/header/header.styles.js +10 -9
  66. package/es/components/icon/icon.styles.js +8 -9
  67. package/es/components/icon/named_colors.js +1 -1
  68. package/es/components/image/image.styles.js +1 -1
  69. package/es/components/image/image_button.styles.js +1 -1
  70. package/es/components/inline_edit/inline_edit_form.styles.js +2 -1
  71. package/es/components/key_pad_menu/key_pad_menu_item.styles.js +7 -9
  72. package/es/components/link/link.styles.js +6 -6
  73. package/es/components/list_group/list_group_item.styles.js +11 -9
  74. package/es/components/loading/loading_chart.styles.js +5 -18
  75. package/es/components/loading/loading_spinner.styles.js +2 -2
  76. package/es/components/mark/mark.styles.js +9 -2
  77. package/es/components/markdown_editor/markdown_editor_drop_zone.styles.js +3 -2
  78. package/es/components/markdown_editor/markdown_format.styles.js +2 -2
  79. package/es/components/modal/modal.styles.js +2 -2
  80. package/es/components/overlay_mask/overlay_mask.styles.js +2 -1
  81. package/es/components/page_template/inner/page_inner.styles.js +3 -3
  82. package/es/components/pagination/pagination.styles.js +2 -2
  83. package/es/components/panel/panel.js +1 -1
  84. package/es/components/panel/panel.styles.js +2 -3
  85. package/es/components/panel/split_panel/split_panel.js +1 -1
  86. package/es/components/popover/popover.js +4 -3
  87. package/es/components/popover/popover_arrow/_popover_arrow.js +3 -8
  88. package/es/components/popover/popover_arrow/_popover_arrow.styles.js +13 -18
  89. package/es/components/popover/popover_footer.styles.js +1 -1
  90. package/es/components/popover/popover_panel/_popover_panel.styles.js +6 -7
  91. package/es/components/progress/progress.js +1 -1
  92. package/es/components/progress/progress.styles.js +28 -30
  93. package/es/components/provider/provider.js +1 -1
  94. package/es/components/resizable_container/resizable_collapse_button.styles.js +1 -1
  95. package/es/components/resizable_container/resizable_panel.js +1 -1
  96. package/es/components/selectable/selectable_list/selectable_list_item.styles.js +3 -2
  97. package/es/components/selectable/selectable_templates/selectable_template_sitewide.styles.js +1 -1
  98. package/es/components/side_nav/side_nav_item.styles.js +7 -6
  99. package/es/components/skeleton/utils.js +7 -5
  100. package/es/components/stat/stat.styles.js +5 -5
  101. package/es/components/steps/step_number.styles.js +1 -1
  102. package/es/components/table/table_cells_shared.styles.js +8 -3
  103. package/es/components/table/table_row.styles.js +11 -9
  104. package/es/components/tabs/tab.styles.js +2 -2
  105. package/es/components/text/text.styles.js +2 -2
  106. package/es/components/text/text_color.js +1 -1
  107. package/es/components/text/text_color.styles.js +5 -6
  108. package/es/components/text_diff/text_diff.styles.js +1 -1
  109. package/es/components/toast/toast.styles.js +2 -2
  110. package/es/components/token/token.js +4 -10
  111. package/es/components/token/token.styles.js +5 -14
  112. package/es/components/token/token_map.js +1 -243
  113. package/es/components/tool_tip/tool_tip.styles.js +25 -13
  114. package/es/components/tour/_tour_footer.styles.js +4 -2
  115. package/es/components/tour/tour.styles.js +12 -8
  116. package/es/components/tree_view/tree_view_item.styles.js +2 -1
  117. package/es/global_styling/functions/math.js +49 -1
  118. package/es/global_styling/functions/size.js +17 -1
  119. package/es/global_styling/mixins/_color.js +31 -39
  120. package/es/global_styling/mixins/index.js +1 -3
  121. package/es/global_styling/reset/global_styles.js +3 -3
  122. package/es/global_styling/variables/_colors_vis.js +61 -0
  123. package/es/global_styling/variables/animations.js +22 -1
  124. package/es/global_styling/variables/breakpoint.js +7 -1
  125. package/es/global_styling/variables/levels.js +17 -1
  126. package/es/global_styling/variables/shadow.js +11 -1
  127. package/es/global_styling/variables/size.js +1 -1
  128. package/es/global_styling/variables/typography.js +32 -1
  129. package/es/services/color/eui_palettes.js +54 -148
  130. package/es/services/color/index.js +0 -2
  131. package/es/services/index.js +1 -2
  132. package/es/services/popover/index.js +1 -4
  133. package/es/services/popover/popover_positioning.js +17 -6
  134. package/es/services/theme/provider.js +2 -15
  135. package/es/services/theme/types.js +6 -1
  136. package/es/services/theme/utils.js +303 -1
  137. package/es/themes/amsterdam/global_styling/functions/shadows.js +10 -1
  138. package/es/themes/amsterdam/global_styling/mixins/button.js +203 -1
  139. package/es/themes/amsterdam/global_styling/mixins/shadow.js +146 -1
  140. package/es/themes/amsterdam/global_styling/variables/_borders.js +3 -3
  141. package/es/themes/amsterdam/global_styling/variables/_breakpoint.js +7 -1
  142. package/es/themes/amsterdam/global_styling/variables/_colors.js +19 -612
  143. package/es/themes/amsterdam/theme.js +1 -7
  144. package/es/themes/index.js +2 -1
  145. package/es/themes/themes.js +21 -1
  146. package/eui.d.ts +1362 -897
  147. package/i18ntokens.json +36 -36
  148. package/lib/components/accordion/accordion_trigger/accordion_trigger.js +1 -0
  149. package/lib/components/avatar/avatar.js +2 -2
  150. package/lib/components/badge/badge.styles.js +2 -1
  151. package/lib/components/badge/beta_badge/beta_badge.styles.js +1 -3
  152. package/lib/components/badge/color_utils.js +13 -14
  153. package/lib/components/beacon/beacon.styles.js +2 -2
  154. package/lib/components/bottom_bar/bottom_bar.styles.js +3 -2
  155. package/lib/components/breadcrumbs/_breadcrumb_content.styles.js +7 -5
  156. package/lib/components/button/button.js +1 -1
  157. package/lib/components/button/button_display/_button_display.styles.js +1 -1
  158. package/lib/components/button/button_empty/button_empty.js +1 -1
  159. package/lib/components/button/button_group/button_group_button.js +1 -1
  160. package/lib/components/button/button_group/button_group_button.styles.js +5 -5
  161. package/lib/components/button/button_icon/button_icon.js +1 -1
  162. package/lib/components/button/button_icon/button_icon.styles.js +1 -1
  163. package/lib/components/call_out/call_out.styles.js +4 -4
  164. package/lib/components/card/card.js +1 -1
  165. package/lib/components/card/card.styles.js +2 -5
  166. package/lib/components/code/code_block_annotations.js +1 -1
  167. package/lib/components/code/code_block_line.styles.js +2 -1
  168. package/lib/components/code/code_syntax.styles.js +28 -24
  169. package/lib/components/collapsible_nav/collapsible_nav_group/collapsible_nav_group.styles.js +5 -3
  170. package/lib/components/collapsible_nav_beta/collapsible_nav_item/collapsed/collapsed_nav_button.js +9 -9
  171. package/lib/components/collapsible_nav_beta/collapsible_nav_item/collapsed/collapsed_nav_item.js +19 -19
  172. package/lib/components/collapsible_nav_beta/collapsible_nav_item/collapsed/collapsed_nav_popover.js +19 -19
  173. package/lib/components/collapsible_nav_beta/collapsible_nav_item/collapsible_nav_group.js +3 -3
  174. package/lib/components/collapsible_nav_beta/collapsible_nav_item/collapsible_nav_item.js +45 -45
  175. package/lib/components/collapsible_nav_beta/collapsible_nav_item/collapsible_nav_item.styles.js +8 -6
  176. package/lib/components/color_picker/color_palette_display/color_palette_display.styles.js +2 -1
  177. package/lib/components/color_picker/color_picker.js +2 -3
  178. package/lib/components/color_picker/color_picker.styles.js +2 -1
  179. package/lib/components/color_picker/color_picker_swatch.styles.js +1 -1
  180. package/lib/components/combo_box/combo_box.js +5 -1
  181. package/lib/components/combo_box/combo_box_input/combo_box_input.js +1 -0
  182. package/lib/components/combo_box/combo_box_options_list/combo_box_options_list.js +6 -2
  183. package/lib/components/comment_list/comment.js +1 -1
  184. package/lib/components/comment_list/comment_event.js +4 -5
  185. package/lib/components/comment_list/comment_list.js +1 -1
  186. package/lib/components/common.js +28 -0
  187. package/lib/components/datagrid/data_grid.styles.js +7 -6
  188. package/lib/components/date_picker/date_picker.styles.js +2 -2
  189. package/lib/components/date_picker/date_picker_range.styles.js +2 -2
  190. package/lib/components/date_picker/react_date_picker.styles.js +2 -3
  191. package/lib/components/date_picker/super_date_picker/quick_select_popover/quick_select_popover.js +62 -7
  192. package/lib/components/date_picker/super_date_picker/super_date_picker.js +12 -2
  193. package/lib/components/date_picker/super_date_picker/super_date_picker.styles.js +4 -3
  194. package/lib/components/drag_and_drop/droppable.styles.js +4 -2
  195. package/lib/components/empty_prompt/empty_prompt.js +1 -1
  196. package/lib/components/empty_prompt/empty_prompt.styles.js +1 -5
  197. package/lib/components/expression/expression.styles.js +13 -13
  198. package/lib/components/filter_group/filter_select_item.js +1 -1
  199. package/lib/components/filter_group/filter_select_item.styles.js +2 -1
  200. package/lib/components/flyout/_flyout_close_button.styles.js +4 -3
  201. package/lib/components/flyout/flyout.js +1 -1
  202. package/lib/components/flyout/flyout.styles.js +3 -8
  203. package/lib/components/flyout/flyout_footer.styles.js +1 -1
  204. package/lib/components/form/form.styles.js +31 -27
  205. package/lib/components/form/range/range_tooltip.styles.js +13 -11
  206. package/lib/components/form/switch/switch.js +7 -3
  207. package/lib/components/form/switch/switch.styles.js +19 -16
  208. package/lib/components/header/header.styles.js +9 -8
  209. package/lib/components/icon/icon.styles.js +8 -9
  210. package/lib/components/icon/named_colors.js +1 -1
  211. package/lib/components/image/image.styles.js +2 -2
  212. package/lib/components/image/image_button.styles.js +3 -3
  213. package/lib/components/inline_edit/inline_edit_form.styles.js +2 -1
  214. package/lib/components/key_pad_menu/key_pad_menu_item.styles.js +7 -9
  215. package/lib/components/link/link.styles.js +6 -6
  216. package/lib/components/list_group/list_group_item.styles.js +10 -8
  217. package/lib/components/loading/loading_chart.styles.js +5 -18
  218. package/lib/components/loading/loading_spinner.styles.js +2 -2
  219. package/lib/components/mark/mark.styles.js +9 -2
  220. package/lib/components/markdown_editor/markdown_editor_drop_zone.styles.js +3 -2
  221. package/lib/components/markdown_editor/markdown_format.styles.js +2 -2
  222. package/lib/components/modal/modal.styles.js +3 -3
  223. package/lib/components/overlay_mask/overlay_mask.styles.js +2 -1
  224. package/lib/components/page_template/inner/page_inner.styles.js +2 -2
  225. package/lib/components/pagination/pagination.styles.js +2 -2
  226. package/lib/components/panel/panel.js +1 -1
  227. package/lib/components/panel/panel.styles.js +3 -4
  228. package/lib/components/panel/split_panel/split_panel.js +1 -1
  229. package/lib/components/popover/popover.js +4 -3
  230. package/lib/components/popover/popover_arrow/_popover_arrow.js +3 -8
  231. package/lib/components/popover/popover_arrow/_popover_arrow.styles.js +15 -18
  232. package/lib/components/popover/popover_footer.styles.js +1 -1
  233. package/lib/components/popover/popover_panel/_popover_panel.styles.js +9 -10
  234. package/lib/components/progress/progress.js +1 -1
  235. package/lib/components/progress/progress.styles.js +27 -29
  236. package/lib/components/provider/provider.js +1 -1
  237. package/lib/components/resizable_container/resizable_collapse_button.styles.js +2 -2
  238. package/lib/components/resizable_container/resizable_panel.js +1 -1
  239. package/lib/components/selectable/selectable_list/selectable_list_item.styles.js +3 -2
  240. package/lib/components/selectable/selectable_templates/selectable_template_sitewide.styles.js +1 -1
  241. package/lib/components/side_nav/side_nav_item.styles.js +7 -6
  242. package/lib/components/skeleton/utils.js +6 -4
  243. package/lib/components/stat/stat.styles.js +5 -5
  244. package/lib/components/steps/step_number.styles.js +1 -1
  245. package/lib/components/table/table_cells_shared.styles.js +8 -3
  246. package/lib/components/table/table_row.styles.js +10 -8
  247. package/lib/components/tabs/tab.styles.js +2 -2
  248. package/lib/components/text/text.styles.js +1 -1
  249. package/lib/components/text/text_color.js +1 -1
  250. package/lib/components/text/text_color.styles.js +5 -6
  251. package/lib/components/text_diff/text_diff.styles.js +1 -1
  252. package/lib/components/toast/toast.styles.js +2 -2
  253. package/lib/components/token/token.js +4 -12
  254. package/lib/components/token/token.styles.js +5 -14
  255. package/lib/components/token/token_map.js +2 -244
  256. package/lib/components/tool_tip/tool_tip.styles.js +24 -12
  257. package/lib/components/tour/_tour_footer.styles.js +4 -2
  258. package/lib/components/tour/tour.styles.js +12 -8
  259. package/lib/components/tree_view/tree_view_item.styles.js +2 -1
  260. package/lib/global_styling/functions/math.js +58 -7
  261. package/lib/global_styling/functions/size.js +26 -7
  262. package/lib/global_styling/mixins/_color.js +30 -38
  263. package/lib/global_styling/mixins/index.js +0 -22
  264. package/lib/global_styling/reset/global_styles.js +2 -2
  265. package/lib/global_styling/variables/_colors_vis.js +67 -0
  266. package/lib/global_styling/variables/animations.js +31 -25
  267. package/lib/global_styling/variables/breakpoint.js +16 -7
  268. package/lib/global_styling/variables/levels.js +26 -7
  269. package/lib/global_styling/variables/shadow.js +20 -13
  270. package/lib/global_styling/variables/size.js +10 -7
  271. package/lib/global_styling/variables/typography.js +41 -19
  272. package/lib/services/color/eui_palettes.js +54 -148
  273. package/lib/services/color/index.js +0 -20
  274. package/lib/services/index.js +0 -19
  275. package/lib/services/popover/index.js +1 -8
  276. package/lib/services/popover/popover_positioning.js +17 -6
  277. package/lib/services/theme/provider.js +2 -15
  278. package/lib/services/theme/types.js +14 -13
  279. package/lib/services/theme/utils.js +303 -54
  280. package/lib/themes/amsterdam/global_styling/functions/shadows.js +19 -7
  281. package/lib/themes/amsterdam/global_styling/mixins/button.js +206 -45
  282. package/lib/themes/amsterdam/global_styling/mixins/shadow.js +154 -10
  283. package/lib/themes/amsterdam/global_styling/variables/_borders.js +3 -3
  284. package/lib/themes/amsterdam/global_styling/variables/_breakpoint.js +16 -7
  285. package/lib/themes/amsterdam/global_styling/variables/_colors.js +24 -616
  286. package/lib/themes/amsterdam/theme.js +1 -7
  287. package/lib/themes/index.js +11 -4
  288. package/lib/themes/themes.js +23 -1
  289. package/optimize/es/components/accordion/accordion_trigger/accordion_trigger.js +1 -0
  290. package/optimize/es/components/avatar/avatar.js +4 -4
  291. package/optimize/es/components/badge/badge.styles.js +2 -1
  292. package/optimize/es/components/badge/beta_badge/beta_badge.styles.js +1 -3
  293. package/optimize/es/components/badge/color_utils.js +8 -9
  294. package/optimize/es/components/beacon/beacon.styles.js +2 -2
  295. package/optimize/es/components/bottom_bar/bottom_bar.styles.js +3 -2
  296. package/optimize/es/components/breadcrumbs/_breadcrumb_content.styles.js +7 -5
  297. package/optimize/es/components/button/button.js +1 -1
  298. package/optimize/es/components/button/button_display/_button_display.styles.js +1 -1
  299. package/optimize/es/components/button/button_empty/button_empty.js +1 -1
  300. package/optimize/es/components/button/button_group/button_group_button.js +1 -1
  301. package/optimize/es/components/button/button_group/button_group_button.styles.js +6 -6
  302. package/optimize/es/components/button/button_icon/button_icon.js +1 -1
  303. package/optimize/es/components/button/button_icon/button_icon.styles.js +1 -1
  304. package/optimize/es/components/call_out/call_out.styles.js +4 -4
  305. package/optimize/es/components/card/card.styles.js +3 -6
  306. package/optimize/es/components/code/code_block_annotations.js +1 -1
  307. package/optimize/es/components/code/code_block_line.styles.js +2 -1
  308. package/optimize/es/components/code/code_syntax.styles.js +28 -24
  309. package/optimize/es/components/collapsible_nav/collapsible_nav_group/collapsible_nav_group.styles.js +5 -3
  310. package/optimize/es/components/collapsible_nav_beta/collapsible_nav_item/collapsible_nav_group.js +2 -2
  311. package/optimize/es/components/collapsible_nav_beta/collapsible_nav_item/collapsible_nav_item.js +3 -3
  312. package/optimize/es/components/collapsible_nav_beta/collapsible_nav_item/collapsible_nav_item.styles.js +8 -6
  313. package/optimize/es/components/color_picker/color_palette_display/color_palette_display.styles.js +2 -1
  314. package/optimize/es/components/color_picker/color_picker.js +3 -4
  315. package/optimize/es/components/color_picker/color_picker.styles.js +2 -1
  316. package/optimize/es/components/color_picker/color_picker_swatch.styles.js +1 -1
  317. package/optimize/es/components/combo_box/combo_box.js +5 -1
  318. package/optimize/es/components/combo_box/combo_box_input/combo_box_input.js +1 -0
  319. package/optimize/es/components/combo_box/combo_box_options_list/combo_box_options_list.js +6 -2
  320. package/optimize/es/components/comment_list/comment_event.js +3 -4
  321. package/optimize/es/components/common.js +28 -0
  322. package/optimize/es/components/datagrid/data_grid.styles.js +7 -6
  323. package/optimize/es/components/date_picker/date_picker.styles.js +1 -1
  324. package/optimize/es/components/date_picker/date_picker_range.styles.js +1 -1
  325. package/optimize/es/components/date_picker/react_date_picker.styles.js +1 -2
  326. package/optimize/es/components/date_picker/super_date_picker/quick_select_popover/quick_select_popover.js +19 -6
  327. package/optimize/es/components/date_picker/super_date_picker/super_date_picker.js +4 -2
  328. package/optimize/es/components/date_picker/super_date_picker/super_date_picker.styles.js +5 -4
  329. package/optimize/es/components/drag_and_drop/droppable.styles.js +4 -2
  330. package/optimize/es/components/empty_prompt/empty_prompt.styles.js +2 -6
  331. package/optimize/es/components/expression/expression.styles.js +13 -13
  332. package/optimize/es/components/filter_group/filter_select_item.js +1 -1
  333. package/optimize/es/components/filter_group/filter_select_item.styles.js +2 -1
  334. package/optimize/es/components/flyout/_flyout_close_button.styles.js +3 -2
  335. package/optimize/es/components/flyout/flyout.js +1 -1
  336. package/optimize/es/components/flyout/flyout.styles.js +3 -8
  337. package/optimize/es/components/flyout/flyout_footer.styles.js +1 -1
  338. package/optimize/es/components/form/form.styles.js +32 -28
  339. package/optimize/es/components/form/range/range_tooltip.styles.js +13 -11
  340. package/optimize/es/components/form/switch/switch.js +2 -3
  341. package/optimize/es/components/form/switch/switch.styles.js +19 -16
  342. package/optimize/es/components/header/header.styles.js +10 -9
  343. package/optimize/es/components/icon/icon.styles.js +8 -9
  344. package/optimize/es/components/icon/named_colors.js +1 -1
  345. package/optimize/es/components/image/image.styles.js +1 -1
  346. package/optimize/es/components/image/image_button.styles.js +1 -1
  347. package/optimize/es/components/inline_edit/inline_edit_form.styles.js +2 -1
  348. package/optimize/es/components/key_pad_menu/key_pad_menu_item.styles.js +7 -9
  349. package/optimize/es/components/link/link.styles.js +6 -6
  350. package/optimize/es/components/list_group/list_group_item.styles.js +11 -9
  351. package/optimize/es/components/loading/loading_chart.styles.js +5 -13
  352. package/optimize/es/components/loading/loading_spinner.styles.js +2 -2
  353. package/optimize/es/components/mark/mark.styles.js +9 -2
  354. package/optimize/es/components/markdown_editor/markdown_editor_drop_zone.styles.js +3 -2
  355. package/optimize/es/components/markdown_editor/markdown_format.styles.js +2 -2
  356. package/optimize/es/components/modal/modal.styles.js +2 -2
  357. package/optimize/es/components/overlay_mask/overlay_mask.styles.js +2 -1
  358. package/optimize/es/components/page_template/inner/page_inner.styles.js +3 -3
  359. package/optimize/es/components/pagination/pagination.styles.js +2 -2
  360. package/optimize/es/components/panel/panel.styles.js +2 -3
  361. package/optimize/es/components/popover/popover.js +4 -3
  362. package/optimize/es/components/popover/popover_arrow/_popover_arrow.js +3 -8
  363. package/optimize/es/components/popover/popover_arrow/_popover_arrow.styles.js +13 -15
  364. package/optimize/es/components/popover/popover_footer.styles.js +1 -1
  365. package/optimize/es/components/popover/popover_panel/_popover_panel.styles.js +6 -7
  366. package/optimize/es/components/progress/progress.js +1 -1
  367. package/optimize/es/components/progress/progress.styles.js +28 -30
  368. package/optimize/es/components/provider/provider.js +1 -1
  369. package/optimize/es/components/resizable_container/resizable_collapse_button.styles.js +1 -1
  370. package/optimize/es/components/selectable/selectable_list/selectable_list_item.styles.js +3 -2
  371. package/optimize/es/components/selectable/selectable_templates/selectable_template_sitewide.styles.js +1 -1
  372. package/optimize/es/components/side_nav/side_nav_item.styles.js +7 -6
  373. package/optimize/es/components/skeleton/utils.js +7 -5
  374. package/optimize/es/components/stat/stat.styles.js +5 -5
  375. package/optimize/es/components/steps/step_number.styles.js +1 -1
  376. package/optimize/es/components/table/table_cells_shared.styles.js +8 -3
  377. package/optimize/es/components/table/table_row.styles.js +11 -9
  378. package/optimize/es/components/tabs/tab.styles.js +2 -2
  379. package/optimize/es/components/text/text.styles.js +2 -2
  380. package/optimize/es/components/text/text_color.js +1 -1
  381. package/optimize/es/components/text/text_color.styles.js +5 -6
  382. package/optimize/es/components/text_diff/text_diff.styles.js +1 -1
  383. package/optimize/es/components/toast/toast.styles.js +2 -2
  384. package/optimize/es/components/token/token.js +4 -10
  385. package/optimize/es/components/token/token.styles.js +5 -14
  386. package/optimize/es/components/token/token_map.js +1 -243
  387. package/optimize/es/components/tool_tip/tool_tip.styles.js +25 -13
  388. package/optimize/es/components/tour/_tour_footer.styles.js +4 -2
  389. package/optimize/es/components/tour/tour.styles.js +12 -8
  390. package/optimize/es/components/tree_view/tree_view_item.styles.js +2 -1
  391. package/optimize/es/global_styling/functions/math.js +49 -1
  392. package/optimize/es/global_styling/functions/size.js +17 -1
  393. package/optimize/es/global_styling/mixins/_color.js +31 -39
  394. package/optimize/es/global_styling/mixins/index.js +1 -3
  395. package/optimize/es/global_styling/reset/global_styles.js +3 -3
  396. package/optimize/es/global_styling/variables/_colors_vis.js +61 -0
  397. package/optimize/es/global_styling/variables/animations.js +22 -1
  398. package/optimize/es/global_styling/variables/breakpoint.js +7 -1
  399. package/optimize/es/global_styling/variables/levels.js +17 -1
  400. package/optimize/es/global_styling/variables/shadow.js +11 -1
  401. package/optimize/es/global_styling/variables/size.js +1 -1
  402. package/optimize/es/global_styling/variables/typography.js +32 -1
  403. package/optimize/es/services/color/eui_palettes.js +54 -148
  404. package/optimize/es/services/color/index.js +0 -2
  405. package/optimize/es/services/index.js +1 -2
  406. package/optimize/es/services/popover/index.js +1 -4
  407. package/optimize/es/services/popover/popover_positioning.js +17 -6
  408. package/optimize/es/services/theme/provider.js +2 -15
  409. package/optimize/es/services/theme/types.js +6 -1
  410. package/optimize/es/services/theme/utils.js +295 -1
  411. package/optimize/es/themes/amsterdam/global_styling/functions/shadows.js +10 -1
  412. package/optimize/es/themes/amsterdam/global_styling/mixins/button.js +198 -1
  413. package/optimize/es/themes/amsterdam/global_styling/mixins/shadow.js +146 -1
  414. package/optimize/es/themes/amsterdam/global_styling/variables/_borders.js +3 -3
  415. package/optimize/es/themes/amsterdam/global_styling/variables/_breakpoint.js +7 -1
  416. package/optimize/es/themes/amsterdam/global_styling/variables/_colors.js +19 -612
  417. package/optimize/es/themes/amsterdam/theme.js +1 -7
  418. package/optimize/es/themes/index.js +2 -1
  419. package/optimize/es/themes/themes.js +21 -1
  420. package/optimize/lib/components/accordion/accordion_trigger/accordion_trigger.js +1 -0
  421. package/optimize/lib/components/avatar/avatar.js +2 -2
  422. package/optimize/lib/components/badge/badge.styles.js +2 -1
  423. package/optimize/lib/components/badge/beta_badge/beta_badge.styles.js +1 -3
  424. package/optimize/lib/components/badge/color_utils.js +13 -14
  425. package/optimize/lib/components/beacon/beacon.styles.js +2 -2
  426. package/optimize/lib/components/bottom_bar/bottom_bar.styles.js +3 -2
  427. package/optimize/lib/components/breadcrumbs/_breadcrumb_content.styles.js +7 -5
  428. package/optimize/lib/components/button/button.js +1 -1
  429. package/optimize/lib/components/button/button_display/_button_display.styles.js +1 -1
  430. package/optimize/lib/components/button/button_empty/button_empty.js +1 -1
  431. package/optimize/lib/components/button/button_group/button_group_button.js +1 -1
  432. package/optimize/lib/components/button/button_group/button_group_button.styles.js +5 -5
  433. package/optimize/lib/components/button/button_icon/button_icon.js +1 -1
  434. package/optimize/lib/components/button/button_icon/button_icon.styles.js +1 -1
  435. package/optimize/lib/components/call_out/call_out.styles.js +4 -4
  436. package/optimize/lib/components/card/card.styles.js +2 -5
  437. package/optimize/lib/components/code/code_block_annotations.js +1 -1
  438. package/optimize/lib/components/code/code_block_line.styles.js +2 -1
  439. package/optimize/lib/components/code/code_syntax.styles.js +28 -24
  440. package/optimize/lib/components/collapsible_nav/collapsible_nav_group/collapsible_nav_group.styles.js +5 -3
  441. package/optimize/lib/components/collapsible_nav_beta/collapsible_nav_item/collapsible_nav_group.js +2 -2
  442. package/optimize/lib/components/collapsible_nav_beta/collapsible_nav_item/collapsible_nav_item.js +3 -3
  443. package/optimize/lib/components/collapsible_nav_beta/collapsible_nav_item/collapsible_nav_item.styles.js +8 -6
  444. package/optimize/lib/components/color_picker/color_palette_display/color_palette_display.styles.js +2 -1
  445. package/optimize/lib/components/color_picker/color_picker.js +2 -3
  446. package/optimize/lib/components/color_picker/color_picker.styles.js +2 -1
  447. package/optimize/lib/components/color_picker/color_picker_swatch.styles.js +1 -1
  448. package/optimize/lib/components/combo_box/combo_box.js +5 -1
  449. package/optimize/lib/components/combo_box/combo_box_input/combo_box_input.js +1 -0
  450. package/optimize/lib/components/combo_box/combo_box_options_list/combo_box_options_list.js +6 -2
  451. package/optimize/lib/components/comment_list/comment_event.js +3 -4
  452. package/optimize/lib/components/common.js +28 -0
  453. package/optimize/lib/components/datagrid/data_grid.styles.js +7 -6
  454. package/optimize/lib/components/date_picker/date_picker.styles.js +2 -2
  455. package/optimize/lib/components/date_picker/date_picker_range.styles.js +2 -2
  456. package/optimize/lib/components/date_picker/react_date_picker.styles.js +2 -3
  457. package/optimize/lib/components/date_picker/super_date_picker/quick_select_popover/quick_select_popover.js +19 -6
  458. package/optimize/lib/components/date_picker/super_date_picker/super_date_picker.js +4 -2
  459. package/optimize/lib/components/date_picker/super_date_picker/super_date_picker.styles.js +4 -3
  460. package/optimize/lib/components/drag_and_drop/droppable.styles.js +4 -2
  461. package/optimize/lib/components/empty_prompt/empty_prompt.styles.js +1 -5
  462. package/optimize/lib/components/expression/expression.styles.js +13 -13
  463. package/optimize/lib/components/filter_group/filter_select_item.js +1 -1
  464. package/optimize/lib/components/filter_group/filter_select_item.styles.js +2 -1
  465. package/optimize/lib/components/flyout/_flyout_close_button.styles.js +4 -3
  466. package/optimize/lib/components/flyout/flyout.js +1 -1
  467. package/optimize/lib/components/flyout/flyout.styles.js +3 -8
  468. package/optimize/lib/components/flyout/flyout_footer.styles.js +1 -1
  469. package/optimize/lib/components/form/form.styles.js +31 -27
  470. package/optimize/lib/components/form/range/range_tooltip.styles.js +13 -11
  471. package/optimize/lib/components/form/switch/switch.js +2 -3
  472. package/optimize/lib/components/form/switch/switch.styles.js +19 -16
  473. package/optimize/lib/components/header/header.styles.js +9 -8
  474. package/optimize/lib/components/icon/icon.styles.js +8 -9
  475. package/optimize/lib/components/icon/named_colors.js +1 -1
  476. package/optimize/lib/components/image/image.styles.js +2 -2
  477. package/optimize/lib/components/image/image_button.styles.js +3 -3
  478. package/optimize/lib/components/inline_edit/inline_edit_form.styles.js +2 -1
  479. package/optimize/lib/components/key_pad_menu/key_pad_menu_item.styles.js +7 -9
  480. package/optimize/lib/components/link/link.styles.js +6 -6
  481. package/optimize/lib/components/list_group/list_group_item.styles.js +10 -8
  482. package/optimize/lib/components/loading/loading_chart.styles.js +5 -13
  483. package/optimize/lib/components/loading/loading_spinner.styles.js +2 -2
  484. package/optimize/lib/components/mark/mark.styles.js +9 -2
  485. package/optimize/lib/components/markdown_editor/markdown_editor_drop_zone.styles.js +3 -2
  486. package/optimize/lib/components/markdown_editor/markdown_format.styles.js +2 -2
  487. package/optimize/lib/components/modal/modal.styles.js +3 -3
  488. package/optimize/lib/components/overlay_mask/overlay_mask.styles.js +2 -1
  489. package/optimize/lib/components/page_template/inner/page_inner.styles.js +2 -2
  490. package/optimize/lib/components/pagination/pagination.styles.js +2 -2
  491. package/optimize/lib/components/panel/panel.styles.js +3 -4
  492. package/optimize/lib/components/popover/popover.js +4 -3
  493. package/optimize/lib/components/popover/popover_arrow/_popover_arrow.js +3 -8
  494. package/optimize/lib/components/popover/popover_arrow/_popover_arrow.styles.js +15 -16
  495. package/optimize/lib/components/popover/popover_footer.styles.js +1 -1
  496. package/optimize/lib/components/popover/popover_panel/_popover_panel.styles.js +9 -10
  497. package/optimize/lib/components/progress/progress.js +1 -1
  498. package/optimize/lib/components/progress/progress.styles.js +27 -29
  499. package/optimize/lib/components/provider/provider.js +1 -1
  500. package/optimize/lib/components/resizable_container/resizable_collapse_button.styles.js +2 -2
  501. package/optimize/lib/components/selectable/selectable_list/selectable_list_item.styles.js +3 -2
  502. package/optimize/lib/components/selectable/selectable_templates/selectable_template_sitewide.styles.js +1 -1
  503. package/optimize/lib/components/side_nav/side_nav_item.styles.js +7 -6
  504. package/optimize/lib/components/skeleton/utils.js +6 -4
  505. package/optimize/lib/components/stat/stat.styles.js +5 -5
  506. package/optimize/lib/components/steps/step_number.styles.js +1 -1
  507. package/optimize/lib/components/table/table_cells_shared.styles.js +8 -3
  508. package/optimize/lib/components/table/table_row.styles.js +10 -8
  509. package/optimize/lib/components/tabs/tab.styles.js +2 -2
  510. package/optimize/lib/components/text/text.styles.js +1 -1
  511. package/optimize/lib/components/text/text_color.js +1 -1
  512. package/optimize/lib/components/text/text_color.styles.js +5 -6
  513. package/optimize/lib/components/text_diff/text_diff.styles.js +1 -1
  514. package/optimize/lib/components/toast/toast.styles.js +2 -2
  515. package/optimize/lib/components/token/token.js +4 -13
  516. package/optimize/lib/components/token/token.styles.js +5 -14
  517. package/optimize/lib/components/token/token_map.js +2 -244
  518. package/optimize/lib/components/tool_tip/tool_tip.styles.js +24 -12
  519. package/optimize/lib/components/tour/_tour_footer.styles.js +4 -2
  520. package/optimize/lib/components/tour/tour.styles.js +12 -8
  521. package/optimize/lib/components/tree_view/tree_view_item.styles.js +2 -1
  522. package/optimize/lib/global_styling/functions/math.js +59 -7
  523. package/optimize/lib/global_styling/functions/size.js +27 -7
  524. package/optimize/lib/global_styling/mixins/_color.js +30 -38
  525. package/optimize/lib/global_styling/mixins/index.js +0 -22
  526. package/optimize/lib/global_styling/reset/global_styles.js +2 -2
  527. package/optimize/lib/global_styling/variables/_colors_vis.js +67 -0
  528. package/optimize/lib/global_styling/variables/animations.js +31 -25
  529. package/optimize/lib/global_styling/variables/breakpoint.js +16 -7
  530. package/optimize/lib/global_styling/variables/levels.js +26 -7
  531. package/optimize/lib/global_styling/variables/shadow.js +20 -13
  532. package/optimize/lib/global_styling/variables/size.js +10 -7
  533. package/optimize/lib/global_styling/variables/typography.js +41 -19
  534. package/optimize/lib/services/color/eui_palettes.js +54 -148
  535. package/optimize/lib/services/color/index.js +0 -20
  536. package/optimize/lib/services/index.js +0 -19
  537. package/optimize/lib/services/popover/index.js +1 -8
  538. package/optimize/lib/services/popover/popover_positioning.js +17 -6
  539. package/optimize/lib/services/theme/provider.js +2 -15
  540. package/optimize/lib/services/theme/types.js +14 -13
  541. package/optimize/lib/services/theme/utils.js +296 -54
  542. package/optimize/lib/themes/amsterdam/global_styling/functions/shadows.js +19 -7
  543. package/optimize/lib/themes/amsterdam/global_styling/mixins/button.js +203 -45
  544. package/optimize/lib/themes/amsterdam/global_styling/mixins/shadow.js +154 -10
  545. package/optimize/lib/themes/amsterdam/global_styling/variables/_borders.js +3 -3
  546. package/optimize/lib/themes/amsterdam/global_styling/variables/_breakpoint.js +16 -7
  547. package/optimize/lib/themes/amsterdam/global_styling/variables/_colors.js +24 -616
  548. package/optimize/lib/themes/amsterdam/theme.js +1 -7
  549. package/optimize/lib/themes/index.js +11 -4
  550. package/optimize/lib/themes/themes.js +23 -1
  551. package/package.json +3 -7
  552. package/src/global_styling/functions/_colors.scss +3 -3
  553. package/src/global_styling/functions/_index.scss +5 -1
  554. package/src/global_styling/index.scss +10 -1
  555. package/src/global_styling/mixins/_shadow.scss +1 -1
  556. package/src/global_styling/mixins/_typography.scss +2 -2
  557. package/src/global_styling/variables/_animations.scss +8 -1
  558. package/src/global_styling/variables/_borders.scss +9 -1
  559. package/src/global_styling/variables/_buttons.scss +18 -1
  560. package/src/global_styling/variables/_font_weight.scss +7 -1
  561. package/src/global_styling/variables/_form.scss +21 -2
  562. package/src/global_styling/variables/_index.scss +1 -0
  563. package/src/global_styling/variables/_responsive.scss +9 -1
  564. package/src/global_styling/variables/_shadows.scss +1 -1
  565. package/src/global_styling/variables/_size.scss +13 -1
  566. package/src/global_styling/variables/_states.scss +14 -1
  567. package/src/global_styling/variables/_typography.scss +75 -1
  568. package/src/global_styling/variables/_z_index.scss +33 -1
  569. package/src/themes/amsterdam/_colors_dark.scss +8 -80
  570. package/src/themes/amsterdam/_colors_light.scss +8 -80
  571. package/src/themes/amsterdam/global_styling/variables/_index.scss +0 -2
  572. package/test-env/components/accordion/accordion_trigger/accordion_trigger.js +1 -0
  573. package/test-env/components/avatar/avatar.js +2 -2
  574. package/test-env/components/badge/badge.styles.js +2 -1
  575. package/test-env/components/badge/beta_badge/beta_badge.styles.js +1 -3
  576. package/test-env/components/badge/color_utils.js +13 -14
  577. package/test-env/components/beacon/beacon.styles.js +2 -2
  578. package/test-env/components/bottom_bar/bottom_bar.styles.js +3 -2
  579. package/test-env/components/breadcrumbs/_breadcrumb_content.styles.js +7 -5
  580. package/test-env/components/button/button.js +1 -1
  581. package/test-env/components/button/button_display/_button_display.styles.js +1 -1
  582. package/test-env/components/button/button_empty/button_empty.js +1 -1
  583. package/test-env/components/button/button_group/button_group_button.js +1 -1
  584. package/test-env/components/button/button_group/button_group_button.styles.js +5 -5
  585. package/test-env/components/button/button_icon/button_icon.js +1 -1
  586. package/test-env/components/button/button_icon/button_icon.styles.js +1 -1
  587. package/test-env/components/call_out/call_out.styles.js +4 -4
  588. package/test-env/components/card/card.js +1 -1
  589. package/test-env/components/card/card.styles.js +2 -5
  590. package/test-env/components/code/code_block_annotations.js +1 -1
  591. package/test-env/components/code/code_block_line.styles.js +2 -1
  592. package/test-env/components/code/code_syntax.styles.js +28 -24
  593. package/test-env/components/collapsible_nav/collapsible_nav_group/collapsible_nav_group.styles.js +5 -3
  594. package/test-env/components/collapsible_nav_beta/collapsible_nav_item/collapsed/collapsed_nav_button.js +9 -9
  595. package/test-env/components/collapsible_nav_beta/collapsible_nav_item/collapsed/collapsed_nav_item.js +19 -19
  596. package/test-env/components/collapsible_nav_beta/collapsible_nav_item/collapsed/collapsed_nav_popover.js +19 -19
  597. package/test-env/components/collapsible_nav_beta/collapsible_nav_item/collapsible_nav_group.js +3 -3
  598. package/test-env/components/collapsible_nav_beta/collapsible_nav_item/collapsible_nav_item.js +45 -45
  599. package/test-env/components/collapsible_nav_beta/collapsible_nav_item/collapsible_nav_item.styles.js +8 -6
  600. package/test-env/components/color_picker/color_palette_display/color_palette_display.styles.js +2 -1
  601. package/test-env/components/color_picker/color_picker.js +2 -3
  602. package/test-env/components/color_picker/color_picker.styles.js +2 -1
  603. package/test-env/components/color_picker/color_picker_swatch.styles.js +1 -1
  604. package/test-env/components/combo_box/combo_box.js +5 -1
  605. package/test-env/components/combo_box/combo_box_input/combo_box_input.js +1 -0
  606. package/test-env/components/combo_box/combo_box_options_list/combo_box_options_list.js +6 -2
  607. package/test-env/components/comment_list/comment.js +1 -1
  608. package/test-env/components/comment_list/comment_event.js +4 -5
  609. package/test-env/components/comment_list/comment_list.js +1 -1
  610. package/test-env/components/common.js +28 -0
  611. package/test-env/components/datagrid/data_grid.styles.js +7 -6
  612. package/test-env/components/date_picker/date_picker.styles.js +2 -2
  613. package/test-env/components/date_picker/date_picker_range.styles.js +2 -2
  614. package/test-env/components/date_picker/react_date_picker.styles.js +2 -3
  615. package/test-env/components/date_picker/super_date_picker/quick_select_popover/quick_select_popover.js +60 -7
  616. package/test-env/components/date_picker/super_date_picker/super_date_picker.js +12 -2
  617. package/test-env/components/date_picker/super_date_picker/super_date_picker.styles.js +4 -3
  618. package/test-env/components/drag_and_drop/droppable.styles.js +4 -2
  619. package/test-env/components/empty_prompt/empty_prompt.js +1 -1
  620. package/test-env/components/empty_prompt/empty_prompt.styles.js +1 -5
  621. package/test-env/components/expression/expression.styles.js +13 -13
  622. package/test-env/components/filter_group/filter_select_item.js +1 -1
  623. package/test-env/components/filter_group/filter_select_item.styles.js +2 -1
  624. package/test-env/components/flyout/_flyout_close_button.styles.js +4 -3
  625. package/test-env/components/flyout/flyout.styles.js +3 -8
  626. package/test-env/components/flyout/flyout_footer.styles.js +1 -1
  627. package/test-env/components/form/form.styles.js +31 -27
  628. package/test-env/components/form/range/range_tooltip.styles.js +13 -11
  629. package/test-env/components/form/switch/switch.js +2 -3
  630. package/test-env/components/form/switch/switch.styles.js +19 -16
  631. package/test-env/components/header/header.styles.js +9 -8
  632. package/test-env/components/icon/icon.styles.js +8 -9
  633. package/test-env/components/icon/named_colors.js +1 -1
  634. package/test-env/components/image/image.styles.js +2 -2
  635. package/test-env/components/image/image_button.styles.js +3 -3
  636. package/test-env/components/inline_edit/inline_edit_form.styles.js +2 -1
  637. package/test-env/components/key_pad_menu/key_pad_menu_item.styles.js +7 -9
  638. package/test-env/components/link/link.styles.js +6 -6
  639. package/test-env/components/list_group/list_group_item.styles.js +10 -8
  640. package/test-env/components/loading/loading_chart.styles.js +5 -13
  641. package/test-env/components/loading/loading_spinner.styles.js +2 -2
  642. package/test-env/components/mark/mark.styles.js +9 -2
  643. package/test-env/components/markdown_editor/markdown_editor_drop_zone.styles.js +3 -2
  644. package/test-env/components/markdown_editor/markdown_format.styles.js +2 -2
  645. package/test-env/components/modal/modal.styles.js +3 -3
  646. package/test-env/components/overlay_mask/overlay_mask.styles.js +2 -1
  647. package/test-env/components/page_template/inner/page_inner.styles.js +2 -2
  648. package/test-env/components/pagination/pagination.styles.js +2 -2
  649. package/test-env/components/panel/panel.js +1 -1
  650. package/test-env/components/panel/panel.styles.js +3 -4
  651. package/test-env/components/panel/split_panel/split_panel.js +1 -1
  652. package/test-env/components/popover/popover.js +4 -3
  653. package/test-env/components/popover/popover_arrow/_popover_arrow.js +3 -8
  654. package/test-env/components/popover/popover_arrow/_popover_arrow.styles.js +15 -16
  655. package/test-env/components/popover/popover_footer.styles.js +1 -1
  656. package/test-env/components/popover/popover_panel/_popover_panel.styles.js +9 -10
  657. package/test-env/components/progress/progress.js +1 -1
  658. package/test-env/components/progress/progress.styles.js +27 -29
  659. package/test-env/components/provider/provider.js +1 -1
  660. package/test-env/components/resizable_container/resizable_collapse_button.styles.js +2 -2
  661. package/test-env/components/resizable_container/resizable_panel.js +1 -1
  662. package/test-env/components/selectable/selectable_list/selectable_list_item.styles.js +3 -2
  663. package/test-env/components/selectable/selectable_templates/selectable_template_sitewide.styles.js +1 -1
  664. package/test-env/components/side_nav/side_nav_item.styles.js +7 -6
  665. package/test-env/components/skeleton/utils.js +6 -4
  666. package/test-env/components/stat/stat.styles.js +5 -5
  667. package/test-env/components/steps/step_number.styles.js +1 -1
  668. package/test-env/components/table/table_cells_shared.styles.js +8 -3
  669. package/test-env/components/table/table_row.styles.js +10 -8
  670. package/test-env/components/tabs/tab.styles.js +2 -2
  671. package/test-env/components/text/text.styles.js +1 -1
  672. package/test-env/components/text/text_color.js +1 -1
  673. package/test-env/components/text/text_color.styles.js +5 -6
  674. package/test-env/components/text_diff/text_diff.styles.js +1 -1
  675. package/test-env/components/toast/toast.styles.js +2 -2
  676. package/test-env/components/token/token.js +4 -13
  677. package/test-env/components/token/token.styles.js +5 -14
  678. package/test-env/components/token/token_map.js +2 -244
  679. package/test-env/components/tool_tip/tool_tip.styles.js +24 -12
  680. package/test-env/components/tour/_tour_footer.styles.js +4 -2
  681. package/test-env/components/tour/tour.styles.js +12 -8
  682. package/test-env/components/tree_view/tree_view_item.styles.js +2 -1
  683. package/test-env/global_styling/functions/math.js +59 -7
  684. package/test-env/global_styling/functions/size.js +27 -7
  685. package/test-env/global_styling/mixins/_color.js +30 -38
  686. package/test-env/global_styling/mixins/index.js +0 -22
  687. package/test-env/global_styling/reset/global_styles.js +2 -2
  688. package/test-env/global_styling/variables/_colors_vis.js +67 -0
  689. package/test-env/global_styling/variables/animations.js +31 -25
  690. package/test-env/global_styling/variables/breakpoint.js +16 -7
  691. package/test-env/global_styling/variables/levels.js +26 -7
  692. package/test-env/global_styling/variables/shadow.js +20 -13
  693. package/test-env/global_styling/variables/size.js +10 -7
  694. package/test-env/global_styling/variables/typography.js +41 -19
  695. package/test-env/services/breakpoint/current_breakpoint_hook.js +3 -3
  696. package/test-env/services/color/eui_palettes.js +54 -148
  697. package/test-env/services/color/index.js +0 -20
  698. package/test-env/services/index.js +0 -19
  699. package/test-env/services/popover/index.js +1 -8
  700. package/test-env/services/popover/popover_positioning.js +17 -6
  701. package/test-env/services/theme/provider.js +2 -15
  702. package/test-env/services/theme/types.js +14 -13
  703. package/test-env/services/theme/utils.js +296 -54
  704. package/test-env/themes/amsterdam/global_styling/functions/shadows.js +19 -7
  705. package/test-env/themes/amsterdam/global_styling/mixins/button.js +203 -45
  706. package/test-env/themes/amsterdam/global_styling/mixins/shadow.js +154 -10
  707. package/test-env/themes/amsterdam/global_styling/variables/_borders.js +3 -3
  708. package/test-env/themes/amsterdam/global_styling/variables/_breakpoint.js +16 -7
  709. package/test-env/themes/amsterdam/global_styling/variables/_colors.js +24 -616
  710. package/test-env/themes/amsterdam/theme.js +1 -7
  711. package/test-env/themes/index.js +11 -4
  712. package/test-env/themes/themes.js +23 -1
  713. package/dist/eui_theme_amsterdam_light.json.d.ts +0 -425
  714. package/dist/eui_theme_borealis_dark.json +0 -422
  715. package/dist/eui_theme_borealis_light.json +0 -422
  716. package/dist/eui_theme_borealis_light.json.d.ts +0 -425
  717. package/es/global_styling/mixins/_button.js +0 -159
  718. package/es/global_styling/mixins/_shadow.js +0 -31
  719. package/es/services/color/eui_palettes_hooks.js +0 -74
  720. package/es/services/color/vis_color_store.js +0 -13
  721. package/es/services/popover/popover_arrow.styles.js +0 -31
  722. package/es/themes/amsterdam/global_styling/variables/_buttons.js +0 -281
  723. package/es/themes/amsterdam/global_styling/variables/_colors_vis.js +0 -133
  724. package/es/themes/amsterdam/global_styling/variables/_components.js +0 -619
  725. package/es/themes/amsterdam/global_styling/variables/_forms.js +0 -161
  726. package/lib/global_styling/mixins/_button.js +0 -164
  727. package/lib/global_styling/mixins/_shadow.js +0 -84
  728. package/lib/services/color/eui_palettes_hooks.js +0 -78
  729. package/lib/services/color/vis_color_store.js +0 -18
  730. package/lib/services/popover/popover_arrow.styles.js +0 -37
  731. package/lib/themes/amsterdam/global_styling/variables/_buttons.js +0 -285
  732. package/lib/themes/amsterdam/global_styling/variables/_colors_vis.js +0 -139
  733. package/lib/themes/amsterdam/global_styling/variables/_components.js +0 -623
  734. package/lib/themes/amsterdam/global_styling/variables/_forms.js +0 -165
  735. package/optimize/es/global_styling/mixins/_button.js +0 -159
  736. package/optimize/es/global_styling/mixins/_shadow.js +0 -31
  737. package/optimize/es/services/color/eui_palettes_hooks.js +0 -71
  738. package/optimize/es/services/color/vis_color_store.js +0 -13
  739. package/optimize/es/services/popover/popover_arrow.styles.js +0 -31
  740. package/optimize/es/themes/amsterdam/global_styling/variables/_buttons.js +0 -270
  741. package/optimize/es/themes/amsterdam/global_styling/variables/_colors_vis.js +0 -133
  742. package/optimize/es/themes/amsterdam/global_styling/variables/_components.js +0 -611
  743. package/optimize/es/themes/amsterdam/global_styling/variables/_forms.js +0 -153
  744. package/optimize/lib/global_styling/mixins/_button.js +0 -165
  745. package/optimize/lib/global_styling/mixins/_shadow.js +0 -84
  746. package/optimize/lib/services/color/eui_palettes_hooks.js +0 -76
  747. package/optimize/lib/services/color/vis_color_store.js +0 -18
  748. package/optimize/lib/services/popover/popover_arrow.styles.js +0 -37
  749. package/optimize/lib/themes/amsterdam/global_styling/variables/_buttons.js +0 -275
  750. package/optimize/lib/themes/amsterdam/global_styling/variables/_colors_vis.js +0 -139
  751. package/optimize/lib/themes/amsterdam/global_styling/variables/_components.js +0 -616
  752. package/optimize/lib/themes/amsterdam/global_styling/variables/_forms.js +0 -158
  753. package/src/themes/amsterdam/global_styling/variables/_forms.scss +0 -12
  754. package/test-env/global_styling/mixins/_button.js +0 -165
  755. package/test-env/global_styling/mixins/_shadow.js +0 -84
  756. package/test-env/services/color/eui_palettes_hooks.js +0 -76
  757. package/test-env/services/color/vis_color_store.js +0 -18
  758. package/test-env/services/popover/popover_arrow.styles.js +0 -37
  759. package/test-env/themes/amsterdam/global_styling/variables/_buttons.js +0 -275
  760. package/test-env/themes/amsterdam/global_styling/variables/_colors_vis.js +0 -139
  761. package/test-env/themes/amsterdam/global_styling/variables/_components.js +0 -616
  762. package/test-env/themes/amsterdam/global_styling/variables/_forms.js +0 -158
  763. /package/src/{themes/amsterdam/global_styling → global_styling}/variables/_colors_vis.scss +0 -0
@@ -1,623 +0,0 @@
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
- codeInlineCodeKeywordColor: (0, _utils.computed)(function (_ref37) {
127
- var _ref38 = _slicedToArray(_ref37, 1),
128
- lightestShade = _ref38[0];
129
- return (0, _contrast.makeHighContrastColor)(_colors_vis.colorVis.euiColorVis6)(lightestShade);
130
- }, ['colors.lightestShade']),
131
- codeKeywordColor: (0, _utils.computed)(function (_ref39) {
132
- var _ref40 = _slicedToArray(_ref39, 1),
133
- lightestShade = _ref40[0];
134
- return (0, _contrast.makeHighContrastColor)(_colors_vis.colorVis.euiColorVis3)(lightestShade);
135
- }, ['colors.lightestShade']),
136
- codeFunctionTitleColor: 'inherit',
137
- codeTypeColor: (0, _utils.computed)(function (_ref41) {
138
- var _ref42 = _slicedToArray(_ref41, 1),
139
- lightestShade = _ref42[0];
140
- return (0, _contrast.makeHighContrastColor)(_colors_vis.colorVis.euiColorVis1)(lightestShade);
141
- }, ['colors.lightestShade']),
142
- codeAttributeColor: 'inherit',
143
- codeSymbolColor: (0, _utils.computed)(function (_ref43) {
144
- var _ref44 = _slicedToArray(_ref43, 1),
145
- lightestShade = _ref44[0];
146
- return (0, _contrast.makeHighContrastColor)(_colors_vis.colorVis.euiColorVis9)(lightestShade);
147
- }, ['colors.lightestShade']),
148
- codeParamsColor: 'inherit',
149
- codeMetaColor: (0, _utils.computed)(function (_ref45) {
150
- var _ref46 = _slicedToArray(_ref45, 2),
151
- lightestShade = _ref46[0],
152
- subduedText = _ref46[1];
153
- return (0, _contrast.makeHighContrastColor)(subduedText)(lightestShade);
154
- }, ['colors.lightestShade', 'colors.subduedText']),
155
- codeTitleColor: (0, _utils.computed)(function (_ref47) {
156
- var _ref48 = _slicedToArray(_ref47, 1),
157
- lightestShade = _ref48[0];
158
- return (0, _contrast.makeHighContrastColor)(_colors_vis.colorVis.euiColorVis7)(lightestShade);
159
- }, ['colors.lightestShade']),
160
- codeSectionColor: (0, _utils.computed)(function (_ref49) {
161
- var _ref50 = _slicedToArray(_ref49, 1),
162
- lightestShade = _ref50[0];
163
- return (0, _contrast.makeHighContrastColor)(_colors_vis.colorVis.euiColorVis9)(lightestShade);
164
- }, ['colors.lightestShade']),
165
- codeAdditionColor: (0, _utils.computed)(function (_ref51) {
166
- var _ref52 = _slicedToArray(_ref51, 1),
167
- lightestShade = _ref52[0];
168
- return (0, _contrast.makeHighContrastColor)(_colors_vis.colorVis.euiColorVis0)(lightestShade);
169
- }, ['colors.lightestShade']),
170
- codeDeletionColor: (0, _utils.computed)(function (_ref53) {
171
- var _ref54 = _slicedToArray(_ref53, 2),
172
- lightestShade = _ref54[0],
173
- danger = _ref54[1];
174
- return (0, _contrast.makeHighContrastColor)(danger)(lightestShade);
175
- }, ['colors.lightestShade', 'colors.danger']),
176
- codeSelectorClassColor: 'inherit',
177
- codeSelectorIdColor: 'inherit',
178
- collapsibleNavGroupBackground: (0, _utils.computed)(function (_ref55) {
179
- var _ref56 = _slicedToArray(_ref55, 1),
180
- body = _ref56[0];
181
- return body;
182
- }, ['colors.body']),
183
- collapsibleNavGroupBackgroundDark: (0, _utils.computed)(function (_ref57) {
184
- var _ref58 = _slicedToArray(_ref57, 1),
185
- darkestShade = _ref58[0];
186
- return (0, _manipulation.shade)(darkestShade, 0.2);
187
- }, ['colors.darkestShade']),
188
- dataGridBorderColor: (0, _utils.computed)(function (_ref59) {
189
- var _ref60 = _slicedToArray(_ref59, 1),
190
- color = _ref60[0];
191
- return color;
192
- }, ['border.color']),
193
- dataGridVerticalLineBorderColor: (0, _utils.computed)(function (_ref61) {
194
- var _ref62 = _slicedToArray(_ref61, 1),
195
- color = _ref62[0];
196
- return (0, _manipulation.tint)(color, 0.3);
197
- }, ['border.color']),
198
- dataGridRowBackgroundStriped: (0, _utils.computed)(function (_ref63) {
199
- var _ref64 = _slicedToArray(_ref63, 1),
200
- lightestShade = _ref64[0];
201
- return lightestShade;
202
- }, ['colors.lightestShade']),
203
- dataGridRowBackgroundHover: (0, _utils.computed)(function (_ref65) {
204
- var _ref66 = _slicedToArray(_ref65, 1),
205
- highlight = _ref66[0];
206
- return highlight;
207
- }, ['colors.highlight']),
208
- dataGridRowBackgroundSelect: (0, _utils.computed)(function (_ref67) {
209
- var _ref68 = _slicedToArray(_ref67, 1),
210
- highlight = _ref68[0];
211
- return highlight;
212
- }, ['colors.highlight']),
213
- dragDropDraggingBackground: (0, _utils.computed)(function (_ref69) {
214
- var _ref70 = _slicedToArray(_ref69, 1),
215
- success = _ref70[0];
216
- return (0, _manipulation.transparentize)(success, 0.1);
217
- }, ['colors.success']),
218
- dragDropDraggingOverBackground: (0, _utils.computed)(function (_ref71) {
219
- var _ref72 = _slicedToArray(_ref71, 1),
220
- success = _ref72[0];
221
- return (0, _manipulation.transparentize)(success, 0.25);
222
- }, ['colors.success']),
223
- filterSelectItemBackgroundFocusDisabled: (0, _utils.computed)(function (_ref73) {
224
- var _ref74 = _slicedToArray(_ref73, 1),
225
- disabled = _ref74[0];
226
- return (0, _manipulation.transparentize)(disabled, 0.1);
227
- }, ['colors.disabled']),
228
- flyoutFooterBackground: (0, _utils.computed)(function (_ref75) {
229
- var _ref76 = _slicedToArray(_ref75, 1),
230
- lightestShade = _ref76[0];
231
- return lightestShade;
232
- }, ['colors.lightestShade']),
233
- flyoutCloseButtonInsideBackground: (0, _utils.computed)(function (_ref77) {
234
- var _ref78 = _slicedToArray(_ref77, 1),
235
- emptyShade = _ref78[0];
236
- return (0, _manipulation.transparentize)(emptyShade, 0.9);
237
- }, ['colors.emptyShade']),
238
- headerBackground: (0, _utils.computed)(function (_ref79) {
239
- var _ref80 = _slicedToArray(_ref79, 1),
240
- emptyShade = _ref80[0];
241
- return emptyShade;
242
- }, ['colors.emptyShade']),
243
- headerDarkBackground: (0, _utils.computed)(function (_ref81) {
244
- var _ref82 = _slicedToArray(_ref81, 1),
245
- darkestShade = _ref82[0];
246
- return (0, _manipulation.shade)(darkestShade, 0.28);
247
- }, ['colors.darkestShade']),
248
- headerDarkSearchBorderColor: (0, _utils.computed)(function (_ref83) {
249
- var _ref84 = _slicedToArray(_ref83, 1),
250
- ghost = _ref84[0];
251
- return (0, _manipulation.transparentize)(ghost, 0.3);
252
- }, ['colors.ghost']),
253
- headerDarkSectionItemBackgroundFocus: (0, _utils.computed)(function (_ref85) {
254
- var _ref86 = _slicedToArray(_ref85, 1),
255
- primary = _ref86[0];
256
- return (0, _manipulation.shade)(primary, 0.5);
257
- }, ['colors.primary']),
258
- keyPadMenuItemBackgroundDisabledSelect: (0, _utils.computed)(function (_ref87) {
259
- var _ref88 = _slicedToArray(_ref87, 1),
260
- disabled = _ref88[0];
261
- return (0, _manipulation.transparentize)(disabled, 0.1);
262
- }, ['colors.disabled']),
263
- listGroupItemBackgroundPrimaryActive: (0, _utils.computed)(function (_ref89) {
264
- var _ref90 = _slicedToArray(_ref89, 1),
265
- lightShade = _ref90[0];
266
- return (0, _manipulation.transparentize)(lightShade, 0.2);
267
- }, ['colors.lightShade']),
268
- listGroupItemBackgroundSubduedActive: (0, _utils.computed)(function (_ref91) {
269
- var _ref92 = _slicedToArray(_ref91, 1),
270
- primary = _ref92[0];
271
- return (0, _manipulation.transparentize)(primary, 0.1);
272
- }, ['colors.primary']),
273
- listGroupItemBackgroundHover: (0, _utils.computed)(function (_ref93) {
274
- var _ref94 = _slicedToArray(_ref93, 1),
275
- lightShade = _ref94[0];
276
- return (0, _manipulation.transparentize)(lightShade, 0.2);
277
- }, ['colors.lightShade']),
278
- listGroupItemBackgroundPrimaryHover: (0, _utils.computed)(function (_ref95) {
279
- var _ref96 = _slicedToArray(_ref95, 1),
280
- primary = _ref96[0];
281
- return (0, _manipulation.transparentize)(primary, 0.1);
282
- }, ['colors.primary']),
283
- loadingSpinnerBorder: (0, _utils.computed)(function (_ref97) {
284
- var _ref98 = _slicedToArray(_ref97, 1),
285
- lightShade = _ref98[0];
286
- return lightShade;
287
- }, ['colors.lightShade']),
288
- loadingSpinnerHighlight: (0, _utils.computed)(function (_ref99) {
289
- var _ref100 = _slicedToArray(_ref99, 1),
290
- primary = _ref100[0];
291
- return primary;
292
- }, ['colors.primary']),
293
- loadingChartMonoBackground0: (0, _utils.computed)(function (_ref101) {
294
- var _ref102 = _slicedToArray(_ref101, 1),
295
- lightShade = _ref102[0];
296
- return lightShade;
297
- }, ['colors.lightShade']),
298
- loadingChartMonoBackground1: (0, _utils.computed)(function (_ref103) {
299
- var _ref104 = _slicedToArray(_ref103, 1),
300
- lightShade = _ref104[0];
301
- return (0, _manipulation.shade)(lightShade, 0.04);
302
- }, ['colors.lightShade']),
303
- loadingChartMonoBackground2: (0, _utils.computed)(function (_ref105) {
304
- var _ref106 = _slicedToArray(_ref105, 1),
305
- lightShade = _ref106[0];
306
- return (0, _manipulation.shade)(lightShade, 0.08);
307
- }, ['colors.lightShade']),
308
- loadingChartMonoBackground3: (0, _utils.computed)(function (_ref107) {
309
- var _ref108 = _slicedToArray(_ref107, 1),
310
- lightShade = _ref108[0];
311
- return (0, _manipulation.shade)(lightShade, 0.12);
312
- }, ['colors.lightShade']),
313
- markBackground: (0, _utils.computed)(function (_ref109) {
314
- var _ref110 = _slicedToArray(_ref109, 1),
315
- primary = _ref110[0];
316
- return (0, _manipulation.transparentize)(primary, 0.1);
317
- }, ['colors.primary']),
318
- markdownFormatTableBorderColor: (0, _utils.computed)(function (_ref111) {
319
- var _ref112 = _slicedToArray(_ref111, 1),
320
- fullShade = _ref112[0];
321
- return (0, _manipulation.transparentize)(fullShade, 0.15);
322
- }, ['colors.fullShade']),
323
- popoverPanelBackground: (0, _utils.computed)(function (_ref113) {
324
- var _ref114 = _slicedToArray(_ref113, 1),
325
- emptyShade = _ref114[0];
326
- return emptyShade;
327
- }, ['colors.emptyShade']),
328
- popoverFooterBorderColor: (0, _utils.computed)(function (_ref115) {
329
- var _ref116 = _slicedToArray(_ref115, 1),
330
- color = _ref116[0];
331
- return color;
332
- }, ['border.color']),
333
- scrollbarTrackColor: (0, _utils.computed)(function (_ref117) {
334
- var _ref118 = _slicedToArray(_ref117, 1),
335
- body = _ref118[0];
336
- return (0, _manipulation.shade)(body, 0.03);
337
- }, ['colors.body']),
338
- sideNavItemEmphasizedBackground: (0, _utils.computed)(function (_ref119) {
339
- var _ref120 = _slicedToArray(_ref119, 1),
340
- lightShade = _ref120[0];
341
- return (0, _manipulation.transparentize)(lightShade, 0.3);
342
- }, ['colors.lightShade']),
343
- selectableListItemBorderColor: (0, _utils.computed)(function (_ref121) {
344
- var _ref122 = _slicedToArray(_ref121, 1),
345
- color = _ref122[0];
346
- return (0, _manipulation.transparentize)(color, 0.4);
347
- }, ['border.color']),
348
- superDatePickerBackgroundSuccees: (0, _utils.computed)(function (_ref123) {
349
- var _ref124 = _slicedToArray(_ref123, 1),
350
- success = _ref124[0];
351
- return (0, _manipulation.tint)(success, 0.9);
352
- }, ['colors.success']),
353
- switchBackgroundOn: (0, _utils.computed)(function (_ref125) {
354
- var _ref126 = _slicedToArray(_ref125, 1),
355
- primary = _ref126[0];
356
- return primary;
357
- }, ['colors.primary']),
358
- switchBackgroundOff: (0, _utils.computed)(function (_ref127) {
359
- var _ref128 = _slicedToArray(_ref127, 1),
360
- lightestShade = _ref128[0];
361
- return (0, _manipulation.shade)(lightestShade, 0.4);
362
- }, ['colors.lightestShade']),
363
- switchUncompressedBackgroundDisabled: (0, _utils.computed)(function (_ref129) {
364
- var _ref130 = _slicedToArray(_ref129, 1),
365
- lightShade = _ref130[0];
366
- return (0, _manipulation.tint)(lightShade, 0.5);
367
- }, ['colors.lightShade']),
368
- switchCompressedBackgroundDisabled: (0, _utils.computed)(function (_ref131) {
369
- var _ref132 = _slicedToArray(_ref131, 1),
370
- lightShade = _ref132[0];
371
- return (0, _manipulation.tint)(lightShade, 0.25);
372
- }, ['colors.lightShade']),
373
- switchMiniBackgroundDisabled: (0, _utils.computed)(function (_ref133) {
374
- var _ref134 = _slicedToArray(_ref133, 1),
375
- lightShade = _ref134[0];
376
- return (0, _manipulation.tint)(lightShade, 0);
377
- }, ['colors.lightShade']),
378
- switchThumbBackgroundDisabled: 'transparent',
379
- switchThumbBorderOn: (0, _utils.computed)(function (_ref135) {
380
- var _ref136 = _slicedToArray(_ref135, 1),
381
- lightestShade = _ref136[0];
382
- return (0, _manipulation.shade)(lightestShade, 0.4);
383
- }, ['colors.lightestShade']),
384
- switchThumbBorderOff: (0, _utils.computed)(function (_ref137) {
385
- var _ref138 = _slicedToArray(_ref137, 1),
386
- lightestShade = _ref138[0];
387
- return (0, _manipulation.shade)(lightestShade, 0.4);
388
- }, ['colors.lightestShade']),
389
- switchIconDisabled: (0, _utils.computed)(function (_ref139) {
390
- var _ref140 = _slicedToArray(_ref139, 1),
391
- lightestShade = _ref140[0];
392
- return (0, _manipulation.shade)(lightestShade, 0.4);
393
- }, ['colors.lightestShade']),
394
- tableRowBackgroundHover: (0, _utils.computed)(function (_ref141) {
395
- var _ref142 = _slicedToArray(_ref141, 1),
396
- lightestShade = _ref142[0];
397
- return (0, _manipulation.tint)(lightestShade, 0.5);
398
- }, ['colors.lightestShade']),
399
- tableRowBackgroundSelected: (0, _utils.computed)(function (_ref143) {
400
- var _ref144 = _slicedToArray(_ref143, 1),
401
- primary = _ref144[0];
402
- return (0, _manipulation.tint)(primary, 0.96);
403
- }, ['colors.primary']),
404
- tableRowBackgroundSelectedHover: (0, _utils.computed)(function (_ref145) {
405
- var _ref146 = _slicedToArray(_ref145, 1),
406
- primary = _ref146[0];
407
- return (0, _manipulation.tint)(primary, 0.9);
408
- }, ['colors.primary']),
409
- tableRowInteractiveBackgroundHover: (0, _utils.computed)(function (_ref147) {
410
- var _ref148 = _slicedToArray(_ref147, 1),
411
- primary = _ref148[0];
412
- return (0, _manipulation.transparentize)(primary, 0.05);
413
- }, ['colors.primary']),
414
- tableRowInteractiveBackgroundFocus: (0, _utils.computed)(function (_ref149) {
415
- var _ref150 = _slicedToArray(_ref149, 1),
416
- primary = _ref150[0];
417
- return (0, _manipulation.transparentize)(primary, 0.1);
418
- }, ['colors.primary']),
419
- tableCellSortableIconColor: (0, _utils.computed)(function (_ref151) {
420
- var _ref152 = _slicedToArray(_ref151, 2),
421
- emptyShade = _ref152[0],
422
- subduedText = _ref152[1];
423
- var color = (0, _manipulation.tint)(subduedText, 0.9);
424
- return (0, _contrast.makeHighContrastColor)(
425
- // Tint it arbitrarily high, the contrast util will take care of lowering back down to WCAG
426
- color, 3 // 3:1 ratio from https://www.w3.org/WAI/WCAG22/Understanding/non-text-contrast.html
427
- )(emptyShade);
428
- }, ['colors.emptyShade', 'colors.subduedText']),
429
- tooltipBackground: (0, _utils.computed)(function (_ref153) {
430
- var _ref154 = _slicedToArray(_ref153, 1),
431
- fullShade = _ref154[0];
432
- return (0, _manipulation.tint)(fullShade, 0.25);
433
- }, ['colors.fullShade']),
434
- tooltipBorder: (0, _utils.computed)(function (_ref155) {
435
- var _ref156 = _slicedToArray(_ref155, 1),
436
- fullShade = _ref156[0];
437
- return (0, _manipulation.tint)(fullShade, 0.35);
438
- }, ['colors.fullShade']),
439
- tooltipBorderFloating: (0, _utils.computed)(function (_ref157) {
440
- var _ref158 = _slicedToArray(_ref157, 1),
441
- borderBaseFloating = _ref158[0];
442
- return borderBaseFloating;
443
- }, ['colors.borderBaseFloating']),
444
- tourFooterBackground: (0, _utils.computed)(function (_ref159) {
445
- var _ref160 = _slicedToArray(_ref159, 1),
446
- lightestShade = _ref160[0];
447
- return (0, _manipulation.tint)(lightestShade, 0.5);
448
- }, ['colors.lightestShade']),
449
- treeViewItemBackgroundHover: (0, _utils.computed)(function (_ref161) {
450
- var _ref162 = _slicedToArray(_ref161, 1),
451
- text = _ref162[0];
452
- return (0, _manipulation.transparentize)(text, 0.1);
453
- }, ['colors.text'])
454
- };
455
- var components = exports.components = {
456
- buttons: _buttons.buttons,
457
- forms: _forms.forms,
458
- LIGHT: component_colors,
459
- DARK: _objectSpread(_objectSpread({}, component_colors), {}, {
460
- badgeBorderColorHollow: (0, _utils.computed)(function (_ref163) {
461
- var _ref164 = _slicedToArray(_ref163, 1),
462
- color = _ref164[0];
463
- return (0, _manipulation.tint)(color, 0.15);
464
- }, ['border.color']),
465
- breadcrumbsApplicationBackground: (0, _utils.computed)(function (_ref165) {
466
- var _ref166 = _slicedToArray(_ref165, 1),
467
- darkestShade = _ref166[0];
468
- return (0, _manipulation.shade)(darkestShade, 0.7);
469
- }, ['colors.darkestShade']),
470
- breadcrumbsApplicationColor: (0, _utils.computed)(function (_ref167) {
471
- var _ref168 = _slicedToArray(_ref167, 1),
472
- darkestShade = _ref168[0];
473
- return (0, _manipulation.shade)(darkestShade, 0.2);
474
- }, ['colors.darkestShade']),
475
- collapsibleNavGroupBackground: (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
- collapsibleNavGroupBackgroundDark: (0, _utils.computed)(function (_ref171) {
481
- var _ref172 = _slicedToArray(_ref171, 1),
482
- lightestShade = _ref172[0];
483
- return (0, _manipulation.shade)(lightestShade, 0.5);
484
- }, ['colors.lightestShade']),
485
- dataGridVerticalLineBorderColor: (0, _utils.computed)(function (_ref173) {
486
- var _ref174 = _slicedToArray(_ref173, 1),
487
- color = _ref174[0];
488
- return (0, _manipulation.shade)(color, 0.3);
489
- }, ['border.color']),
490
- headerDarkBackground: (0, _utils.computed)(function (_ref175) {
491
- var _ref176 = _slicedToArray(_ref175, 1),
492
- lightestShade = _ref176[0];
493
- return (0, _manipulation.shade)(lightestShade, 0.5);
494
- }, ['colors.lightestShade']),
495
- keyPadMenuItemBackgroundDisabledSelect: (0, _utils.computed)(function (_ref177) {
496
- var _ref178 = _slicedToArray(_ref177, 1),
497
- disabled = _ref178[0];
498
- return (0, _manipulation.transparentize)(disabled, 0.2);
499
- }, ['colors.disabled']),
500
- listGroupItemBackgroundSubduedActive: (0, _utils.computed)(function (_ref179) {
501
- var _ref180 = _slicedToArray(_ref179, 1),
502
- lightShade = _ref180[0];
503
- return (0, _manipulation.transparentize)(lightShade, 0.4);
504
- }, ['colors.lightShade']),
505
- loadingChartMonoBackground0: (0, _utils.computed)(function (_ref181) {
506
- var _ref182 = _slicedToArray(_ref181, 1),
507
- lightShade = _ref182[0];
508
- return lightShade;
509
- }, ['colors.lightShade']),
510
- loadingChartMonoBackground1: (0, _utils.computed)(function (_ref183) {
511
- var _ref184 = _slicedToArray(_ref183, 1),
512
- lightShade = _ref184[0];
513
- return (0, _manipulation.tint)(lightShade, 0.04);
514
- }, ['colors.lightShade']),
515
- loadingChartMonoBackground2: (0, _utils.computed)(function (_ref185) {
516
- var _ref186 = _slicedToArray(_ref185, 1),
517
- lightShade = _ref186[0];
518
- return (0, _manipulation.tint)(lightShade, 0.08);
519
- }, ['colors.lightShade']),
520
- loadingChartMonoBackground3: (0, _utils.computed)(function (_ref187) {
521
- var _ref188 = _slicedToArray(_ref187, 1),
522
- lightShade = _ref188[0];
523
- return (0, _manipulation.tint)(lightShade, 0.12);
524
- }, ['colors.lightShade']),
525
- markBackground: (0, _utils.computed)(function (_ref189) {
526
- var _ref190 = _slicedToArray(_ref189, 1),
527
- primary = _ref190[0];
528
- return (0, _manipulation.transparentize)(primary, 0.3);
529
- }, ['colors.primary']),
530
- popoverPanelBackground: (0, _utils.computed)(function (_ref191) {
531
- var _ref192 = _slicedToArray(_ref191, 1),
532
- emptyShade = _ref192[0];
533
- return (0, _manipulation.tint)(emptyShade, 0.025);
534
- }, ['colors.emptyShade']),
535
- scrollbarTrackColor: (0, _utils.computed)(function (_ref193) {
536
- var _ref194 = _slicedToArray(_ref193, 1),
537
- body = _ref194[0];
538
- return (0, _manipulation.tint)(body, 0.07);
539
- }, ['colors.body']),
540
- superDatePickerBackgroundSuccees: (0, _utils.computed)(function (_ref195) {
541
- var _ref196 = _slicedToArray(_ref195, 1),
542
- success = _ref196[0];
543
- return (0, _manipulation.shade)(success, 0.7);
544
- }, ['colors.success']),
545
- switchBackgroundOff: (0, _utils.computed)(function (_ref197) {
546
- var _ref198 = _slicedToArray(_ref197, 1),
547
- lightestShade = _ref198[0];
548
- return (0, _manipulation.tint)(lightestShade, 0.31);
549
- }, ['colors.lightestShade']),
550
- switchUncompressedBackgroundDisabled: (0, _utils.computed)(function (_ref199) {
551
- var _ref200 = _slicedToArray(_ref199, 1),
552
- lightShade = _ref200[0];
553
- return lightShade;
554
- }, ['colors.lightShade']),
555
- switchCompressedBackgroundDisabled: (0, _utils.computed)(function (_ref201) {
556
- var _ref202 = _slicedToArray(_ref201, 1),
557
- lightShade = _ref202[0];
558
- return lightShade;
559
- }, ['colors.lightShade']),
560
- switchMiniBackgroundDisabled: (0, _utils.computed)(function (_ref203) {
561
- var _ref204 = _slicedToArray(_ref203, 1),
562
- lightShade = _ref204[0];
563
- return lightShade;
564
- }, ['colors.lightShade']),
565
- switchThumbBorderOn: (0, _utils.computed)(function (_ref205) {
566
- var _ref206 = _slicedToArray(_ref205, 1),
567
- lightestShade = _ref206[0];
568
- return (0, _manipulation.tint)(lightestShade, 0.31);
569
- }, ['colors.lightestShade']),
570
- switchThumbBorderOff: (0, _utils.computed)(function (_ref207) {
571
- var _ref208 = _slicedToArray(_ref207, 1),
572
- lightestShade = _ref208[0];
573
- return (0, _manipulation.tint)(lightestShade, 0.31);
574
- }, ['colors.lightestShade']),
575
- switchIconDisabled: (0, _utils.computed)(function (_ref209) {
576
- var _ref210 = _slicedToArray(_ref209, 1),
577
- lightestShade = _ref210[0];
578
- return (0, _manipulation.tint)(lightestShade, 0.31);
579
- }, ['colors.lightestShade']),
580
- tableRowBackgroundHover: (0, _utils.computed)(function (_ref211) {
581
- var _ref212 = _slicedToArray(_ref211, 1),
582
- lightestShade = _ref212[0];
583
- return lightestShade;
584
- }, ['colors.lightestShade']),
585
- tableRowBackgroundSelected: (0, _utils.computed)(function (_ref213) {
586
- var _ref214 = _slicedToArray(_ref213, 1),
587
- primary = _ref214[0];
588
- return (0, _manipulation.shade)(primary, 0.7);
589
- }, ['colors.primary']),
590
- tableRowBackgroundSelectedHover: (0, _utils.computed)(function (_ref215) {
591
- var _ref216 = _slicedToArray(_ref215, 1),
592
- primary = _ref216[0];
593
- return (0, _manipulation.shade)(primary, 0.75);
594
- }, ['colors.primary']),
595
- tableCellSortableIconColor: (0, _utils.computed)(function (_ref217) {
596
- var _ref218 = _slicedToArray(_ref217, 2),
597
- emptyShade = _ref218[0],
598
- subduedText = _ref218[1];
599
- var color = (0, _manipulation.shade)(subduedText, 0.9);
600
- return (0, _contrast.makeHighContrastColor)(color, 3)(emptyShade);
601
- }, ['colors.emptyShade', 'colors.subduedText']),
602
- tooltipBackground: (0, _utils.computed)(function (_ref219) {
603
- var _ref220 = _slicedToArray(_ref219, 1),
604
- emptyShade = _ref220[0];
605
- return (0, _manipulation.shade)(emptyShade, 1);
606
- }, ['colors.emptyShade']),
607
- tooltipBorder: (0, _utils.computed)(function (_ref221) {
608
- var _ref222 = _slicedToArray(_ref221, 1),
609
- fullShade = _ref222[0];
610
- return (0, _manipulation.shade)(fullShade, 0.8);
611
- }, ['colors.fullShade']),
612
- tourFooterBackground: (0, _utils.computed)(function (_ref223) {
613
- var _ref224 = _slicedToArray(_ref223, 1),
614
- lightestShade = _ref224[0];
615
- return (0, _manipulation.shade)(lightestShade, 0.45);
616
- }, ['colors.lightestShade']),
617
- treeViewItemBackgroundHover: (0, _utils.computed)(function (_ref225) {
618
- var _ref226 = _slicedToArray(_ref225, 1),
619
- text = _ref226[0];
620
- return (0, _manipulation.transparentize)(text, 0.2);
621
- }, ['colors.text'])
622
- })
623
- };