@elastic/eui 107.0.0 → 108.0.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 (499) hide show
  1. package/es/components/badge/beta_badge/beta_badge.js +1 -0
  2. package/es/components/badge/beta_badge/beta_badge.styles.js +1 -3
  3. package/es/components/badge/notification_badge/badge_notification.styles.js +2 -4
  4. package/es/components/basic_table/basic_table.styles.js +6 -4
  5. package/es/components/button/button_display/_button_display.styles.js +1 -4
  6. package/es/components/button/button_display/_button_display_content.styles.js +1 -4
  7. package/es/components/button/button_empty/button_empty.styles.js +4 -7
  8. package/es/components/button/button_group/button_group.styles.js +2 -12
  9. package/es/components/button/button_group/button_group_button.js +2 -4
  10. package/es/components/button/button_group/button_group_button.styles.js +22 -36
  11. package/es/components/button/button_icon/button_icon.js +3 -6
  12. package/es/components/code/code_syntax.styles.js +1 -1
  13. package/es/components/collapsible_nav_beta/collapsible_nav_beta.styles.js +1 -1
  14. package/es/components/collapsible_nav_beta/collapsible_nav_item/collapsible_nav_item.styles.js +1 -4
  15. package/es/components/combo_box/combo_box_input/combo_box_input.js +62 -65
  16. package/es/components/combo_box/combo_box_input/combo_box_input.styles.js +2 -4
  17. package/es/components/datagrid/controls/column_selector.styles.js +1 -1
  18. package/es/components/datagrid/controls/column_sorting.styles.js +1 -1
  19. package/es/components/datagrid/controls/data_grid_toolbar_control.js +2 -15
  20. package/es/components/datagrid/data_grid.styles.js +0 -1
  21. package/es/components/date_picker/date_picker.styles.js +1 -4
  22. package/es/components/date_picker/date_picker_range.styles.js +4 -8
  23. package/es/components/date_picker/super_date_picker/super_date_picker.styles.js +12 -26
  24. package/es/components/filter_group/filter_button.js +7 -10
  25. package/es/components/filter_group/filter_button.styles.js +28 -39
  26. package/es/components/filter_group/filter_group.styles.js +8 -29
  27. package/es/components/form/field_number/field_number.styles.js +1 -4
  28. package/es/components/form/field_text/field_text.styles.js +1 -4
  29. package/es/components/form/file_picker/file_picker.js +102 -107
  30. package/es/components/form/file_picker/file_picker.styles.js +5 -7
  31. package/es/components/form/form.styles.js +17 -40
  32. package/es/components/form/form_control_layout/form_control_layout.styles.js +9 -22
  33. package/es/components/form/form_control_layout/form_control_layout_clear_button.styles.js +1 -3
  34. package/es/components/form/form_control_layout/form_control_layout_delimited.js +6 -8
  35. package/es/components/form/form_control_layout/form_control_layout_delimited.styles.js +12 -25
  36. package/es/components/form/form_control_layout/form_control_layout_icons.js +25 -47
  37. package/es/components/form/form_error_text/form_error_text.styles.js +1 -3
  38. package/es/components/form/form_label/form_label.js +1 -1
  39. package/es/components/form/form_label/form_label.styles.js +1 -5
  40. package/es/components/form/range/range_input.styles.js +1 -3
  41. package/es/components/header/header.styles.js +4 -19
  42. package/es/components/header/header_section/header_section_item_button.styles.js +4 -6
  43. package/es/components/icon/icon.js +31 -14
  44. package/es/components/icon/icon_map.js +1 -1
  45. package/es/components/key_pad_menu/key_pad_menu_item.styles.js +5 -9
  46. package/es/components/markdown_editor/markdown_editor_drop_zone.styles.js +3 -5
  47. package/es/components/modal/modal.js +23 -5
  48. package/es/components/panel/panel.styles.js +4 -12
  49. package/es/components/resizable_container/resizable_collapse_button.js +2 -3
  50. package/es/components/selectable/selectable_templates/selectable_template_sitewide.js +4 -5
  51. package/es/components/table/table_row.styles.js +3 -3
  52. package/es/components/toast/toast.styles.js +1 -3
  53. package/es/components/token/token.js +1 -3
  54. package/es/components/token/token.styles.js +2 -3
  55. package/es/components/token/token_map.js +1 -231
  56. package/es/global_styling/mixins/_button.js +14 -24
  57. package/es/index.js +0 -1
  58. package/es/services/color/eui_palettes.js +7 -21
  59. package/es/services/color/eui_palettes_hooks.js +6 -10
  60. package/es/services/color/vis_color_store.js +2 -2
  61. package/es/services/theme/provider.js +4 -9
  62. package/eui.d.ts +20 -2103
  63. package/lib/components/badge/beta_badge/beta_badge.js +1 -0
  64. package/lib/components/badge/beta_badge/beta_badge.styles.js +1 -3
  65. package/lib/components/badge/notification_badge/badge_notification.styles.js +2 -4
  66. package/lib/components/basic_table/basic_table.styles.js +5 -3
  67. package/lib/components/button/button_display/_button_display.styles.js +1 -4
  68. package/lib/components/button/button_display/_button_display_content.styles.js +1 -4
  69. package/lib/components/button/button_empty/button_empty.styles.js +4 -7
  70. package/lib/components/button/button_group/button_group.styles.js +2 -12
  71. package/lib/components/button/button_group/button_group_button.js +1 -3
  72. package/lib/components/button/button_group/button_group_button.styles.js +21 -35
  73. package/lib/components/button/button_icon/button_icon.js +1 -4
  74. package/lib/components/code/code_syntax.styles.js +1 -1
  75. package/lib/components/collapsible_nav_beta/collapsible_nav_beta.styles.js +2 -2
  76. package/lib/components/collapsible_nav_beta/collapsible_nav_item/collapsible_nav_item.styles.js +1 -4
  77. package/lib/components/combo_box/combo_box_input/combo_box_input.js +61 -64
  78. package/lib/components/combo_box/combo_box_input/combo_box_input.styles.js +2 -4
  79. package/lib/components/datagrid/controls/column_selector.styles.js +2 -2
  80. package/lib/components/datagrid/controls/column_sorting.styles.js +2 -2
  81. package/lib/components/datagrid/controls/data_grid_toolbar_control.js +1 -14
  82. package/lib/components/datagrid/data_grid.styles.js +0 -1
  83. package/lib/components/date_picker/date_picker.styles.js +1 -4
  84. package/lib/components/date_picker/date_picker_range.styles.js +4 -8
  85. package/lib/components/date_picker/super_date_picker/super_date_picker.styles.js +10 -24
  86. package/lib/components/filter_group/filter_button.js +6 -9
  87. package/lib/components/filter_group/filter_button.styles.js +27 -38
  88. package/lib/components/filter_group/filter_group.styles.js +8 -29
  89. package/lib/components/form/field_number/field_number.styles.js +1 -4
  90. package/lib/components/form/field_text/field_text.styles.js +1 -4
  91. package/lib/components/form/file_picker/file_picker.js +101 -106
  92. package/lib/components/form/file_picker/file_picker.styles.js +5 -7
  93. package/lib/components/form/form.styles.js +16 -39
  94. package/lib/components/form/form_control_layout/form_control_layout.styles.js +8 -21
  95. package/lib/components/form/form_control_layout/form_control_layout_clear_button.styles.js +1 -3
  96. package/lib/components/form/form_control_layout/form_control_layout_delimited.js +5 -7
  97. package/lib/components/form/form_control_layout/form_control_layout_delimited.styles.js +12 -25
  98. package/lib/components/form/form_control_layout/form_control_layout_icons.js +24 -46
  99. package/lib/components/form/form_error_text/form_error_text.styles.js +1 -3
  100. package/lib/components/form/form_label/form_label.js +1 -1
  101. package/lib/components/form/form_label/form_label.styles.js +1 -5
  102. package/lib/components/form/range/range_input.styles.js +1 -3
  103. package/lib/components/header/header.styles.js +2 -18
  104. package/lib/components/header/header_section/header_section_item_button.styles.js +4 -6
  105. package/lib/components/icon/icon.js +31 -14
  106. package/lib/components/icon/icon_map.js +1 -1
  107. package/lib/components/key_pad_menu/key_pad_menu_item.styles.js +5 -9
  108. package/lib/components/markdown_editor/markdown_editor_drop_zone.styles.js +3 -5
  109. package/lib/components/modal/modal.js +25 -5
  110. package/lib/components/panel/panel.styles.js +4 -12
  111. package/lib/components/resizable_container/resizable_collapse_button.js +1 -2
  112. package/lib/components/selectable/selectable_templates/selectable_template_sitewide.js +3 -4
  113. package/lib/components/table/table_row.styles.js +3 -3
  114. package/lib/components/toast/toast.styles.js +1 -3
  115. package/lib/components/token/token.js +1 -3
  116. package/lib/components/token/token.styles.js +1 -2
  117. package/lib/components/token/token_map.js +2 -232
  118. package/lib/global_styling/mixins/_button.js +11 -21
  119. package/lib/index.js +0 -11
  120. package/lib/services/color/eui_palettes.js +7 -21
  121. package/lib/services/color/eui_palettes_hooks.js +6 -10
  122. package/lib/services/color/vis_color_store.js +2 -2
  123. package/lib/services/theme/provider.js +4 -9
  124. package/optimize/es/components/badge/beta_badge/beta_badge.js +1 -0
  125. package/optimize/es/components/badge/beta_badge/beta_badge.styles.js +1 -3
  126. package/optimize/es/components/badge/notification_badge/badge_notification.styles.js +2 -4
  127. package/optimize/es/components/basic_table/basic_table.styles.js +6 -4
  128. package/optimize/es/components/button/button_display/_button_display.styles.js +1 -4
  129. package/optimize/es/components/button/button_display/_button_display_content.styles.js +1 -4
  130. package/optimize/es/components/button/button_empty/button_empty.styles.js +4 -7
  131. package/optimize/es/components/button/button_group/button_group.styles.js +2 -12
  132. package/optimize/es/components/button/button_group/button_group_button.js +2 -4
  133. package/optimize/es/components/button/button_group/button_group_button.styles.js +22 -36
  134. package/optimize/es/components/button/button_icon/button_icon.js +3 -6
  135. package/optimize/es/components/code/code_syntax.styles.js +1 -1
  136. package/optimize/es/components/collapsible_nav_beta/collapsible_nav_beta.styles.js +1 -1
  137. package/optimize/es/components/collapsible_nav_beta/collapsible_nav_item/collapsible_nav_item.styles.js +1 -4
  138. package/optimize/es/components/combo_box/combo_box_input/combo_box_input.js +62 -65
  139. package/optimize/es/components/combo_box/combo_box_input/combo_box_input.styles.js +2 -4
  140. package/optimize/es/components/datagrid/controls/column_selector.styles.js +1 -1
  141. package/optimize/es/components/datagrid/controls/column_sorting.styles.js +1 -1
  142. package/optimize/es/components/datagrid/controls/data_grid_toolbar_control.js +2 -15
  143. package/optimize/es/components/datagrid/data_grid.styles.js +0 -1
  144. package/optimize/es/components/date_picker/date_picker.styles.js +1 -4
  145. package/optimize/es/components/date_picker/date_picker_range.styles.js +4 -8
  146. package/optimize/es/components/date_picker/super_date_picker/super_date_picker.styles.js +12 -26
  147. package/optimize/es/components/filter_group/filter_button.js +7 -10
  148. package/optimize/es/components/filter_group/filter_button.styles.js +28 -39
  149. package/optimize/es/components/filter_group/filter_group.styles.js +8 -29
  150. package/optimize/es/components/form/field_number/field_number.styles.js +1 -4
  151. package/optimize/es/components/form/field_text/field_text.styles.js +1 -4
  152. package/optimize/es/components/form/file_picker/file_picker.js +102 -107
  153. package/optimize/es/components/form/file_picker/file_picker.styles.js +5 -7
  154. package/optimize/es/components/form/form.styles.js +17 -40
  155. package/optimize/es/components/form/form_control_layout/form_control_layout.styles.js +9 -22
  156. package/optimize/es/components/form/form_control_layout/form_control_layout_clear_button.styles.js +1 -3
  157. package/optimize/es/components/form/form_control_layout/form_control_layout_delimited.js +6 -8
  158. package/optimize/es/components/form/form_control_layout/form_control_layout_delimited.styles.js +12 -25
  159. package/optimize/es/components/form/form_control_layout/form_control_layout_icons.js +25 -47
  160. package/optimize/es/components/form/form_error_text/form_error_text.styles.js +1 -3
  161. package/optimize/es/components/form/form_label/form_label.js +1 -1
  162. package/optimize/es/components/form/form_label/form_label.styles.js +1 -5
  163. package/optimize/es/components/form/range/range_input.styles.js +1 -3
  164. package/optimize/es/components/header/header.styles.js +4 -19
  165. package/optimize/es/components/header/header_section/header_section_item_button.styles.js +4 -6
  166. package/optimize/es/components/icon/icon.js +31 -14
  167. package/optimize/es/components/icon/icon_map.js +1 -1
  168. package/optimize/es/components/key_pad_menu/key_pad_menu_item.styles.js +5 -9
  169. package/optimize/es/components/markdown_editor/markdown_editor_drop_zone.styles.js +3 -5
  170. package/optimize/es/components/modal/modal.js +17 -4
  171. package/optimize/es/components/panel/panel.styles.js +4 -12
  172. package/optimize/es/components/resizable_container/resizable_collapse_button.js +2 -3
  173. package/optimize/es/components/selectable/selectable_templates/selectable_template_sitewide.js +4 -5
  174. package/optimize/es/components/table/table_row.styles.js +3 -3
  175. package/optimize/es/components/toast/toast.styles.js +1 -3
  176. package/optimize/es/components/token/token.js +1 -3
  177. package/optimize/es/components/token/token.styles.js +2 -3
  178. package/optimize/es/components/token/token_map.js +1 -231
  179. package/optimize/es/global_styling/mixins/_button.js +14 -24
  180. package/optimize/es/index.js +0 -1
  181. package/optimize/es/services/color/eui_palettes.js +7 -21
  182. package/optimize/es/services/color/eui_palettes_hooks.js +6 -10
  183. package/optimize/es/services/color/vis_color_store.js +2 -2
  184. package/optimize/es/services/theme/provider.js +4 -9
  185. package/optimize/lib/components/badge/beta_badge/beta_badge.js +1 -0
  186. package/optimize/lib/components/badge/beta_badge/beta_badge.styles.js +1 -3
  187. package/optimize/lib/components/badge/notification_badge/badge_notification.styles.js +2 -4
  188. package/optimize/lib/components/basic_table/basic_table.styles.js +5 -3
  189. package/optimize/lib/components/button/button_display/_button_display.styles.js +1 -4
  190. package/optimize/lib/components/button/button_display/_button_display_content.styles.js +1 -4
  191. package/optimize/lib/components/button/button_empty/button_empty.styles.js +4 -7
  192. package/optimize/lib/components/button/button_group/button_group.styles.js +2 -12
  193. package/optimize/lib/components/button/button_group/button_group_button.js +1 -3
  194. package/optimize/lib/components/button/button_group/button_group_button.styles.js +21 -35
  195. package/optimize/lib/components/button/button_icon/button_icon.js +1 -4
  196. package/optimize/lib/components/code/code_syntax.styles.js +1 -1
  197. package/optimize/lib/components/collapsible_nav_beta/collapsible_nav_beta.styles.js +2 -2
  198. package/optimize/lib/components/collapsible_nav_beta/collapsible_nav_item/collapsible_nav_item.styles.js +1 -4
  199. package/optimize/lib/components/combo_box/combo_box_input/combo_box_input.js +61 -64
  200. package/optimize/lib/components/combo_box/combo_box_input/combo_box_input.styles.js +2 -4
  201. package/optimize/lib/components/datagrid/controls/column_selector.styles.js +2 -2
  202. package/optimize/lib/components/datagrid/controls/column_sorting.styles.js +2 -2
  203. package/optimize/lib/components/datagrid/controls/data_grid_toolbar_control.js +1 -14
  204. package/optimize/lib/components/datagrid/data_grid.styles.js +0 -1
  205. package/optimize/lib/components/date_picker/date_picker.styles.js +1 -4
  206. package/optimize/lib/components/date_picker/date_picker_range.styles.js +4 -8
  207. package/optimize/lib/components/date_picker/super_date_picker/super_date_picker.styles.js +10 -24
  208. package/optimize/lib/components/filter_group/filter_button.js +6 -9
  209. package/optimize/lib/components/filter_group/filter_button.styles.js +27 -38
  210. package/optimize/lib/components/filter_group/filter_group.styles.js +8 -29
  211. package/optimize/lib/components/form/field_number/field_number.styles.js +1 -4
  212. package/optimize/lib/components/form/field_text/field_text.styles.js +1 -4
  213. package/optimize/lib/components/form/file_picker/file_picker.js +101 -106
  214. package/optimize/lib/components/form/file_picker/file_picker.styles.js +5 -7
  215. package/optimize/lib/components/form/form.styles.js +16 -39
  216. package/optimize/lib/components/form/form_control_layout/form_control_layout.styles.js +8 -21
  217. package/optimize/lib/components/form/form_control_layout/form_control_layout_clear_button.styles.js +1 -3
  218. package/optimize/lib/components/form/form_control_layout/form_control_layout_delimited.js +5 -7
  219. package/optimize/lib/components/form/form_control_layout/form_control_layout_delimited.styles.js +12 -25
  220. package/optimize/lib/components/form/form_control_layout/form_control_layout_icons.js +24 -46
  221. package/optimize/lib/components/form/form_error_text/form_error_text.styles.js +1 -3
  222. package/optimize/lib/components/form/form_label/form_label.js +1 -1
  223. package/optimize/lib/components/form/form_label/form_label.styles.js +1 -5
  224. package/optimize/lib/components/form/range/range_input.styles.js +1 -3
  225. package/optimize/lib/components/header/header.styles.js +2 -18
  226. package/optimize/lib/components/header/header_section/header_section_item_button.styles.js +4 -6
  227. package/optimize/lib/components/icon/icon.js +31 -14
  228. package/optimize/lib/components/icon/icon_map.js +1 -1
  229. package/optimize/lib/components/key_pad_menu/key_pad_menu_item.styles.js +5 -9
  230. package/optimize/lib/components/markdown_editor/markdown_editor_drop_zone.styles.js +3 -5
  231. package/optimize/lib/components/modal/modal.js +20 -4
  232. package/optimize/lib/components/panel/panel.styles.js +4 -12
  233. package/optimize/lib/components/resizable_container/resizable_collapse_button.js +1 -2
  234. package/optimize/lib/components/selectable/selectable_templates/selectable_template_sitewide.js +3 -4
  235. package/optimize/lib/components/table/table_row.styles.js +3 -3
  236. package/optimize/lib/components/toast/toast.styles.js +1 -3
  237. package/optimize/lib/components/token/token.js +1 -3
  238. package/optimize/lib/components/token/token.styles.js +1 -2
  239. package/optimize/lib/components/token/token_map.js +2 -232
  240. package/optimize/lib/global_styling/mixins/_button.js +11 -21
  241. package/optimize/lib/index.js +0 -11
  242. package/optimize/lib/services/color/eui_palettes.js +7 -21
  243. package/optimize/lib/services/color/eui_palettes_hooks.js +6 -10
  244. package/optimize/lib/services/color/vis_color_store.js +2 -2
  245. package/optimize/lib/services/theme/provider.js +4 -9
  246. package/package.json +6 -7
  247. package/test-env/components/badge/beta_badge/beta_badge.js +1 -0
  248. package/test-env/components/badge/beta_badge/beta_badge.styles.js +1 -3
  249. package/test-env/components/badge/notification_badge/badge_notification.styles.js +2 -4
  250. package/test-env/components/basic_table/basic_table.styles.js +5 -3
  251. package/test-env/components/button/button_display/_button_display.styles.js +1 -4
  252. package/test-env/components/button/button_display/_button_display_content.styles.js +1 -4
  253. package/test-env/components/button/button_empty/button_empty.styles.js +4 -7
  254. package/test-env/components/button/button_group/button_group.styles.js +2 -12
  255. package/test-env/components/button/button_group/button_group_button.js +1 -3
  256. package/test-env/components/button/button_group/button_group_button.styles.js +21 -35
  257. package/test-env/components/button/button_icon/button_icon.js +1 -4
  258. package/test-env/components/code/code_syntax.styles.js +1 -1
  259. package/test-env/components/collapsible_nav_beta/collapsible_nav_beta.styles.js +2 -2
  260. package/test-env/components/collapsible_nav_beta/collapsible_nav_item/collapsible_nav_item.styles.js +1 -4
  261. package/test-env/components/combo_box/combo_box_input/combo_box_input.js +61 -64
  262. package/test-env/components/combo_box/combo_box_input/combo_box_input.styles.js +2 -4
  263. package/test-env/components/datagrid/controls/column_selector.styles.js +2 -2
  264. package/test-env/components/datagrid/controls/column_sorting.styles.js +2 -2
  265. package/test-env/components/datagrid/controls/data_grid_toolbar_control.js +1 -14
  266. package/test-env/components/datagrid/data_grid.styles.js +0 -1
  267. package/test-env/components/date_picker/date_picker.styles.js +1 -4
  268. package/test-env/components/date_picker/date_picker_range.styles.js +4 -8
  269. package/test-env/components/date_picker/super_date_picker/super_date_picker.styles.js +10 -24
  270. package/test-env/components/filter_group/filter_button.js +6 -9
  271. package/test-env/components/filter_group/filter_button.styles.js +27 -38
  272. package/test-env/components/filter_group/filter_group.styles.js +8 -29
  273. package/test-env/components/form/field_number/field_number.styles.js +1 -4
  274. package/test-env/components/form/field_text/field_text.styles.js +1 -4
  275. package/test-env/components/form/file_picker/file_picker.js +101 -106
  276. package/test-env/components/form/file_picker/file_picker.styles.js +5 -7
  277. package/test-env/components/form/form.styles.js +16 -39
  278. package/test-env/components/form/form_control_layout/form_control_layout.styles.js +8 -21
  279. package/test-env/components/form/form_control_layout/form_control_layout_clear_button.styles.js +1 -3
  280. package/test-env/components/form/form_control_layout/form_control_layout_delimited.js +5 -7
  281. package/test-env/components/form/form_control_layout/form_control_layout_delimited.styles.js +12 -25
  282. package/test-env/components/form/form_control_layout/form_control_layout_icons.js +24 -46
  283. package/test-env/components/form/form_error_text/form_error_text.styles.js +1 -3
  284. package/test-env/components/form/form_label/form_label.js +1 -1
  285. package/test-env/components/form/form_label/form_label.styles.js +1 -5
  286. package/test-env/components/form/range/range_input.styles.js +1 -3
  287. package/test-env/components/header/header.styles.js +2 -18
  288. package/test-env/components/header/header_section/header_section_item_button.styles.js +4 -6
  289. package/test-env/components/icon/icon_map.js +1 -1
  290. package/test-env/components/key_pad_menu/key_pad_menu_item.styles.js +5 -9
  291. package/test-env/components/markdown_editor/markdown_editor_drop_zone.styles.js +3 -5
  292. package/test-env/components/modal/modal.js +26 -5
  293. package/test-env/components/panel/panel.styles.js +4 -12
  294. package/test-env/components/resizable_container/resizable_collapse_button.js +1 -2
  295. package/test-env/components/selectable/selectable_templates/selectable_template_sitewide.js +3 -4
  296. package/test-env/components/table/table_row.styles.js +3 -3
  297. package/test-env/components/toast/toast.styles.js +1 -3
  298. package/test-env/components/token/token.js +1 -3
  299. package/test-env/components/token/token.styles.js +1 -2
  300. package/test-env/components/token/token_map.js +2 -232
  301. package/test-env/global_styling/mixins/_button.js +11 -21
  302. package/test-env/index.js +0 -11
  303. package/test-env/services/breakpoint/current_breakpoint_hook.js +1 -1
  304. package/test-env/services/color/eui_palettes.js +7 -21
  305. package/test-env/services/color/eui_palettes_hooks.js +6 -10
  306. package/test-env/services/color/vis_color_store.js +2 -2
  307. package/test-env/services/theme/provider.js +4 -9
  308. package/dist/eui_theme_amsterdam_dark.json +0 -463
  309. package/dist/eui_theme_amsterdam_dark.json.d.ts +0 -466
  310. package/dist/eui_theme_amsterdam_light.json +0 -463
  311. package/dist/eui_theme_amsterdam_light.json.d.ts +0 -466
  312. package/dist/eui_theme_borealis_dark.json +0 -463
  313. package/dist/eui_theme_borealis_dark.json.d.ts +0 -466
  314. package/dist/eui_theme_borealis_light.json +0 -463
  315. package/dist/eui_theme_borealis_light.json.d.ts +0 -466
  316. package/es/themes/amsterdam/global_styling/functions/index.js +0 -9
  317. package/es/themes/amsterdam/global_styling/functions/shadows.js +0 -9
  318. package/es/themes/amsterdam/global_styling/mixins/button.js +0 -9
  319. package/es/themes/amsterdam/global_styling/mixins/index.js +0 -10
  320. package/es/themes/amsterdam/global_styling/mixins/shadow.js +0 -9
  321. package/es/themes/amsterdam/global_styling/variables/_animation.js +0 -26
  322. package/es/themes/amsterdam/global_styling/variables/_borders.js +0 -49
  323. package/es/themes/amsterdam/global_styling/variables/_breakpoint.js +0 -9
  324. package/es/themes/amsterdam/global_styling/variables/_buttons.js +0 -529
  325. package/es/themes/amsterdam/global_styling/variables/_colors.js +0 -797
  326. package/es/themes/amsterdam/global_styling/variables/_colors_severity.js +0 -21
  327. package/es/themes/amsterdam/global_styling/variables/_colors_vis_dark.js +0 -33
  328. package/es/themes/amsterdam/global_styling/variables/_colors_vis_light.js +0 -125
  329. package/es/themes/amsterdam/global_styling/variables/_components.js +0 -724
  330. package/es/themes/amsterdam/global_styling/variables/_forms.js +0 -204
  331. package/es/themes/amsterdam/global_styling/variables/_levels.js +0 -19
  332. package/es/themes/amsterdam/global_styling/variables/_shadows.js +0 -439
  333. package/es/themes/amsterdam/global_styling/variables/_size.js +0 -23
  334. package/es/themes/amsterdam/global_styling/variables/_states.js +0 -26
  335. package/es/themes/amsterdam/global_styling/variables/_typography.js +0 -66
  336. package/es/themes/amsterdam/index.js +0 -10
  337. package/es/themes/amsterdam/theme.js +0 -41
  338. package/es/themes/index.js +0 -12
  339. package/es/themes/json/eui_theme_amsterdam_dark.json +0 -463
  340. package/es/themes/json/eui_theme_amsterdam_light.json +0 -463
  341. package/es/themes/json/eui_theme_borealis_dark.json +0 -463
  342. package/es/themes/json/eui_theme_borealis_light.json +0 -463
  343. package/es/themes/themes.js +0 -1
  344. package/lib/themes/amsterdam/global_styling/functions/index.js +0 -16
  345. package/lib/themes/amsterdam/global_styling/functions/shadows.js +0 -12
  346. package/lib/themes/amsterdam/global_styling/mixins/button.js +0 -54
  347. package/lib/themes/amsterdam/global_styling/mixins/index.js +0 -27
  348. package/lib/themes/amsterdam/global_styling/mixins/shadow.js +0 -16
  349. package/lib/themes/amsterdam/global_styling/variables/_animation.js +0 -32
  350. package/lib/themes/amsterdam/global_styling/variables/_borders.js +0 -53
  351. package/lib/themes/amsterdam/global_styling/variables/_breakpoint.js +0 -12
  352. package/lib/themes/amsterdam/global_styling/variables/_buttons.js +0 -533
  353. package/lib/themes/amsterdam/global_styling/variables/_colors.js +0 -800
  354. package/lib/themes/amsterdam/global_styling/variables/_colors_severity.js +0 -27
  355. package/lib/themes/amsterdam/global_styling/variables/_colors_vis_dark.js +0 -37
  356. package/lib/themes/amsterdam/global_styling/variables/_colors_vis_light.js +0 -130
  357. package/lib/themes/amsterdam/global_styling/variables/_components.js +0 -728
  358. package/lib/themes/amsterdam/global_styling/variables/_forms.js +0 -208
  359. package/lib/themes/amsterdam/global_styling/variables/_levels.js +0 -25
  360. package/lib/themes/amsterdam/global_styling/variables/_shadows.js +0 -442
  361. package/lib/themes/amsterdam/global_styling/variables/_size.js +0 -29
  362. package/lib/themes/amsterdam/global_styling/variables/_states.js +0 -32
  363. package/lib/themes/amsterdam/global_styling/variables/_typography.js +0 -70
  364. package/lib/themes/amsterdam/index.js +0 -16
  365. package/lib/themes/amsterdam/theme.js +0 -47
  366. package/lib/themes/index.js +0 -57
  367. package/lib/themes/json/eui_theme_amsterdam_dark.json +0 -463
  368. package/lib/themes/json/eui_theme_amsterdam_light.json +0 -463
  369. package/lib/themes/json/eui_theme_borealis_dark.json +0 -463
  370. package/lib/themes/json/eui_theme_borealis_light.json +0 -463
  371. package/lib/themes/themes.js +0 -5
  372. package/optimize/es/themes/amsterdam/global_styling/functions/index.js +0 -9
  373. package/optimize/es/themes/amsterdam/global_styling/functions/shadows.js +0 -9
  374. package/optimize/es/themes/amsterdam/global_styling/mixins/button.js +0 -9
  375. package/optimize/es/themes/amsterdam/global_styling/mixins/index.js +0 -10
  376. package/optimize/es/themes/amsterdam/global_styling/mixins/shadow.js +0 -9
  377. package/optimize/es/themes/amsterdam/global_styling/variables/_animation.js +0 -23
  378. package/optimize/es/themes/amsterdam/global_styling/variables/_borders.js +0 -44
  379. package/optimize/es/themes/amsterdam/global_styling/variables/_breakpoint.js +0 -9
  380. package/optimize/es/themes/amsterdam/global_styling/variables/_buttons.js +0 -518
  381. package/optimize/es/themes/amsterdam/global_styling/variables/_colors.js +0 -789
  382. package/optimize/es/themes/amsterdam/global_styling/variables/_colors_severity.js +0 -21
  383. package/optimize/es/themes/amsterdam/global_styling/variables/_colors_vis_dark.js +0 -30
  384. package/optimize/es/themes/amsterdam/global_styling/variables/_colors_vis_light.js +0 -125
  385. package/optimize/es/themes/amsterdam/global_styling/variables/_components.js +0 -716
  386. package/optimize/es/themes/amsterdam/global_styling/variables/_forms.js +0 -196
  387. package/optimize/es/themes/amsterdam/global_styling/variables/_levels.js +0 -19
  388. package/optimize/es/themes/amsterdam/global_styling/variables/_shadows.js +0 -436
  389. package/optimize/es/themes/amsterdam/global_styling/variables/_size.js +0 -23
  390. package/optimize/es/themes/amsterdam/global_styling/variables/_states.js +0 -26
  391. package/optimize/es/themes/amsterdam/global_styling/variables/_typography.js +0 -58
  392. package/optimize/es/themes/amsterdam/index.js +0 -10
  393. package/optimize/es/themes/amsterdam/theme.js +0 -41
  394. package/optimize/es/themes/index.js +0 -12
  395. package/optimize/es/themes/json/eui_theme_amsterdam_dark.json +0 -463
  396. package/optimize/es/themes/json/eui_theme_amsterdam_light.json +0 -463
  397. package/optimize/es/themes/json/eui_theme_borealis_dark.json +0 -463
  398. package/optimize/es/themes/json/eui_theme_borealis_light.json +0 -463
  399. package/optimize/es/themes/themes.js +0 -1
  400. package/optimize/lib/themes/amsterdam/global_styling/functions/index.js +0 -16
  401. package/optimize/lib/themes/amsterdam/global_styling/functions/shadows.js +0 -12
  402. package/optimize/lib/themes/amsterdam/global_styling/mixins/button.js +0 -54
  403. package/optimize/lib/themes/amsterdam/global_styling/mixins/index.js +0 -27
  404. package/optimize/lib/themes/amsterdam/global_styling/mixins/shadow.js +0 -16
  405. package/optimize/lib/themes/amsterdam/global_styling/variables/_animation.js +0 -30
  406. package/optimize/lib/themes/amsterdam/global_styling/variables/_borders.js +0 -51
  407. package/optimize/lib/themes/amsterdam/global_styling/variables/_breakpoint.js +0 -12
  408. package/optimize/lib/themes/amsterdam/global_styling/variables/_buttons.js +0 -523
  409. package/optimize/lib/themes/amsterdam/global_styling/variables/_colors.js +0 -793
  410. package/optimize/lib/themes/amsterdam/global_styling/variables/_colors_severity.js +0 -27
  411. package/optimize/lib/themes/amsterdam/global_styling/variables/_colors_vis_dark.js +0 -35
  412. package/optimize/lib/themes/amsterdam/global_styling/variables/_colors_vis_light.js +0 -130
  413. package/optimize/lib/themes/amsterdam/global_styling/variables/_components.js +0 -721
  414. package/optimize/lib/themes/amsterdam/global_styling/variables/_forms.js +0 -201
  415. package/optimize/lib/themes/amsterdam/global_styling/variables/_levels.js +0 -25
  416. package/optimize/lib/themes/amsterdam/global_styling/variables/_shadows.js +0 -440
  417. package/optimize/lib/themes/amsterdam/global_styling/variables/_size.js +0 -29
  418. package/optimize/lib/themes/amsterdam/global_styling/variables/_states.js +0 -32
  419. package/optimize/lib/themes/amsterdam/global_styling/variables/_typography.js +0 -63
  420. package/optimize/lib/themes/amsterdam/index.js +0 -16
  421. package/optimize/lib/themes/amsterdam/theme.js +0 -47
  422. package/optimize/lib/themes/index.js +0 -57
  423. package/optimize/lib/themes/json/eui_theme_amsterdam_dark.json +0 -463
  424. package/optimize/lib/themes/json/eui_theme_amsterdam_light.json +0 -463
  425. package/optimize/lib/themes/json/eui_theme_borealis_dark.json +0 -463
  426. package/optimize/lib/themes/json/eui_theme_borealis_light.json +0 -463
  427. package/optimize/lib/themes/themes.js +0 -5
  428. package/src/global_styling/functions/_colors.scss +0 -138
  429. package/src/global_styling/functions/_index.scss +0 -1
  430. package/src/global_styling/functions/_math.scss +0 -1
  431. package/src/global_styling/functions/_math_pow.scss +0 -82
  432. package/src/global_styling/index.scss +0 -3
  433. package/src/global_styling/mixins/_helpers.scss +0 -117
  434. package/src/global_styling/mixins/_index.scss +0 -8
  435. package/src/global_styling/mixins/_responsive.scss +0 -44
  436. package/src/global_styling/mixins/_shadow.scss +0 -100
  437. package/src/global_styling/mixins/_size.scss +0 -4
  438. package/src/global_styling/mixins/_states.scss +0 -17
  439. package/src/global_styling/mixins/_tool_tip.scss +0 -18
  440. package/src/global_styling/mixins/_typography.scss +0 -166
  441. package/src/global_styling/variables/_animations.scss +0 -6
  442. package/src/global_styling/variables/_borders.scss +0 -3
  443. package/src/global_styling/variables/_buttons.scss +0 -1
  444. package/src/global_styling/variables/_font_weight.scss +0 -4
  445. package/src/global_styling/variables/_form.scss +0 -2
  446. package/src/global_styling/variables/_index.scss +0 -22
  447. package/src/global_styling/variables/_responsive.scss +0 -1
  448. package/src/global_styling/variables/_shadows.scss +0 -2
  449. package/src/global_styling/variables/_size.scss +0 -1
  450. package/src/global_styling/variables/_states.scss +0 -1
  451. package/src/global_styling/variables/_typography.scss +0 -1
  452. package/src/global_styling/variables/_z_index.scss +0 -2
  453. package/src/themes/amsterdam/_colors_dark.scss +0 -139
  454. package/src/themes/amsterdam/_colors_light.scss +0 -139
  455. package/src/themes/amsterdam/_globals.scss +0 -11
  456. package/src/themes/amsterdam/global_styling/index.scss +0 -12
  457. package/src/themes/amsterdam/global_styling/mixins/_index.scss +0 -10
  458. package/src/themes/amsterdam/global_styling/mixins/_shadow.scss +0 -100
  459. package/src/themes/amsterdam/global_styling/mixins/_states.scss +0 -41
  460. package/src/themes/amsterdam/global_styling/mixins/_typography.scss +0 -81
  461. package/src/themes/amsterdam/global_styling/variables/_colors_severity.scss +0 -9
  462. package/src/themes/amsterdam/global_styling/variables/_colors_vis.scss +0 -72
  463. package/src/themes/amsterdam/global_styling/variables/_colors_vis_dark.scss +0 -14
  464. package/src/themes/amsterdam/global_styling/variables/_colors_vis_light.scss +0 -14
  465. package/src/themes/amsterdam/global_styling/variables/_forms.scss +0 -12
  466. package/src/themes/amsterdam/global_styling/variables/_index.scss +0 -8
  467. package/src/themes/amsterdam/global_styling/variables/_shadows.scss +0 -20
  468. package/src/themes/amsterdam/global_styling/variables/_states.scss +0 -11
  469. package/src/themes/amsterdam/global_styling/variables/_typography.scss +0 -64
  470. package/src/themes/amsterdam/theme_dark.scss +0 -5
  471. package/src/themes/amsterdam/theme_light.scss +0 -5
  472. package/test-env/themes/amsterdam/global_styling/functions/index.js +0 -16
  473. package/test-env/themes/amsterdam/global_styling/functions/shadows.js +0 -12
  474. package/test-env/themes/amsterdam/global_styling/mixins/button.js +0 -54
  475. package/test-env/themes/amsterdam/global_styling/mixins/index.js +0 -27
  476. package/test-env/themes/amsterdam/global_styling/mixins/shadow.js +0 -16
  477. package/test-env/themes/amsterdam/global_styling/variables/_animation.js +0 -30
  478. package/test-env/themes/amsterdam/global_styling/variables/_borders.js +0 -51
  479. package/test-env/themes/amsterdam/global_styling/variables/_breakpoint.js +0 -12
  480. package/test-env/themes/amsterdam/global_styling/variables/_buttons.js +0 -523
  481. package/test-env/themes/amsterdam/global_styling/variables/_colors.js +0 -793
  482. package/test-env/themes/amsterdam/global_styling/variables/_colors_severity.js +0 -27
  483. package/test-env/themes/amsterdam/global_styling/variables/_colors_vis_dark.js +0 -35
  484. package/test-env/themes/amsterdam/global_styling/variables/_colors_vis_light.js +0 -130
  485. package/test-env/themes/amsterdam/global_styling/variables/_components.js +0 -721
  486. package/test-env/themes/amsterdam/global_styling/variables/_forms.js +0 -201
  487. package/test-env/themes/amsterdam/global_styling/variables/_levels.js +0 -25
  488. package/test-env/themes/amsterdam/global_styling/variables/_shadows.js +0 -440
  489. package/test-env/themes/amsterdam/global_styling/variables/_size.js +0 -29
  490. package/test-env/themes/amsterdam/global_styling/variables/_states.js +0 -32
  491. package/test-env/themes/amsterdam/global_styling/variables/_typography.js +0 -63
  492. package/test-env/themes/amsterdam/index.js +0 -16
  493. package/test-env/themes/amsterdam/theme.js +0 -47
  494. package/test-env/themes/index.js +0 -57
  495. package/test-env/themes/json/eui_theme_amsterdam_dark.json +0 -463
  496. package/test-env/themes/json/eui_theme_amsterdam_light.json +0 -463
  497. package/test-env/themes/json/eui_theme_borealis_dark.json +0 -463
  498. package/test-env/themes/json/eui_theme_borealis_light.json +0 -463
  499. package/test-env/themes/themes.js +0 -5
@@ -1,201 +0,0 @@
1
- "use strict";
2
-
3
- var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
4
- Object.defineProperty(exports, "__esModule", {
5
- value: true
6
- });
7
- exports.forms = void 0;
8
- var _defineProperty2 = _interopRequireDefault(require("@babel/runtime/helpers/defineProperty"));
9
- var _slicedToArray2 = _interopRequireDefault(require("@babel/runtime/helpers/slicedToArray"));
10
- var _euiThemeCommon = require("@elastic/eui-theme-common");
11
- var _utils = require("../../../../services/theme/utils");
12
- var _manipulation = require("../../../../services/color/manipulation");
13
- 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; }
14
- 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) { (0, _defineProperty2.default)(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; } /*
15
- * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one
16
- * or more contributor license agreements. Licensed under the Elastic License
17
- * 2.0 and the Server Side Public License, v 1; you may not use this file except
18
- * in compliance with, at your election, the Elastic License 2.0 or the Server
19
- * Side Public License, v 1.
20
- */
21
- var _forms = {
22
- background: (0, _utils.computed)(function (_ref) {
23
- var _ref2 = (0, _slicedToArray2.default)(_ref, 1),
24
- lightestShade = _ref2[0];
25
- return (0, _manipulation.tint)(lightestShade, 0.6);
26
- }, ['colors.lightestShade']),
27
- backgroundDisabled: (0, _utils.computed)(function (_ref3) {
28
- var _ref4 = (0, _slicedToArray2.default)(_ref3, 1),
29
- lightestShade = _ref4[0];
30
- return (0, _manipulation.darken)(lightestShade, 0.05);
31
- }, ['colors.lightestShade']),
32
- backgroundReadOnly: (0, _utils.computed)(function (_ref5) {
33
- var _ref6 = (0, _slicedToArray2.default)(_ref5, 1),
34
- emptyShade = _ref6[0];
35
- return emptyShade;
36
- }, ['colors.emptyShade']),
37
- backgroundFocused: (0, _utils.computed)(function (_ref7) {
38
- var _ref8 = (0, _slicedToArray2.default)(_ref7, 1),
39
- emptyShade = _ref8[0];
40
- return emptyShade;
41
- }, ['colors.emptyShade']),
42
- backgroundAutofilled: (0, _utils.computed)(function (_ref9) {
43
- var _ref10 = (0, _slicedToArray2.default)(_ref9, 1),
44
- primary = _ref10[0];
45
- var background = (0, _manipulation.tint)(primary, 0.8);
46
- return (0, _manipulation.tint)(background, 0.7);
47
- }, ['colors.primary']),
48
- backgroundDropping: 'transparent',
49
- prependBackground: (0, _utils.computed)(function (_ref11) {
50
- var _ref12 = (0, _slicedToArray2.default)(_ref11, 1),
51
- lightShade = _ref12[0];
52
- return (0, _manipulation.tint)(lightShade, 0.5);
53
- }, ['colors.lightShade']),
54
- border: (0, _utils.computed)(function (_ref13) {
55
- var _ref14 = (0, _slicedToArray2.default)(_ref13, 1),
56
- lightShade = _ref14[0];
57
- var color = (0, _manipulation.darken)(lightShade, 4);
58
- return (0, _manipulation.transparentize)(color, 0.1);
59
- }, ['colors.lightShade']),
60
- borderDisabled: (0, _utils.computed)(function (_ref15) {
61
- var _ref16 = (0, _slicedToArray2.default)(_ref15, 1),
62
- lightShade = _ref16[0];
63
- var color = (0, _manipulation.darken)(lightShade, 4);
64
- return (0, _manipulation.transparentize)(color, 0.1);
65
- }, ['colors.lightShade']),
66
- borderFocused: (0, _utils.computed)(function (_ref17) {
67
- var _ref18 = (0, _slicedToArray2.default)(_ref17, 1),
68
- primary = _ref18[0];
69
- return primary;
70
- }, ['colors.primary']),
71
- borderInvalid: (0, _utils.computed)(function (_ref19) {
72
- var _ref20 = (0, _slicedToArray2.default)(_ref19, 1),
73
- danger = _ref20[0];
74
- return danger;
75
- }, ['colors.danger']),
76
- borderHovered: (0, _utils.computed)(function (_ref21) {
77
- var _ref22 = (0, _slicedToArray2.default)(_ref21, 1),
78
- lightShade = _ref22[0];
79
- var color = (0, _manipulation.darken)(lightShade, 4);
80
- return (0, _manipulation.transparentize)(color, 0.1);
81
- }, ['colors.lightShade']),
82
- borderInvalidHovered: (0, _utils.computed)(function (_ref23) {
83
- var _ref24 = (0, _slicedToArray2.default)(_ref23, 1),
84
- danger = _ref24[0];
85
- return danger;
86
- }, ['colors.danger']),
87
- borderAutofilled: (0, _utils.computed)(function (_ref25) {
88
- var _ref26 = (0, _slicedToArray2.default)(_ref25, 1),
89
- primaryText = _ref26[0];
90
- return (0, _manipulation.transparentize)(primaryText, 0.2);
91
- }, ['colors.primaryText']),
92
- borderAutofilledHovered: (0, _utils.computed)(function (_ref27) {
93
- var _ref28 = (0, _slicedToArray2.default)(_ref27, 1),
94
- primaryText = _ref28[0];
95
- return (0, _manipulation.transparentize)(primaryText, 0.2);
96
- }, ['colors.primaryText']),
97
- clearButtonBackground: (0, _utils.computed)(function (_ref29) {
98
- var _ref30 = (0, _slicedToArray2.default)(_ref29, 1),
99
- mediumShade = _ref30[0];
100
- return mediumShade;
101
- }, ['colors.mediumShade']),
102
- controlBorder: (0, _utils.computed)(function (_ref31) {
103
- var _ref32 = (0, _slicedToArray2.default)(_ref31, 1),
104
- lightestShade = _ref32[0];
105
- return (0, _manipulation.shade)(lightestShade, 0.4);
106
- }, ['colors.lightestShade']),
107
- controlBorderSelected: (0, _utils.computed)(function (_ref33) {
108
- var _ref34 = (0, _slicedToArray2.default)(_ref33, 1),
109
- lightestShade = _ref34[0];
110
- return (0, _manipulation.shade)(lightestShade, 0.4);
111
- }, ['colors.lightestShade']),
112
- controlBorderDisabled: (0, _utils.computed)(function (_ref35) {
113
- var _ref36 = (0, _slicedToArray2.default)(_ref35, 1),
114
- lightestShade = _ref36[0];
115
- return (0, _manipulation.shade)(lightestShade, 0.4);
116
- }, ['colors.lightestShade']),
117
- controlBackgroundUnselected: (0, _utils.computed)(function (_ref37) {
118
- var _ref38 = (0, _slicedToArray2.default)(_ref37, 1),
119
- emptyShade = _ref38[0];
120
- return emptyShade;
121
- }, ['colors.emptyShade']),
122
- controlBackgroundDisabled: (0, _utils.computed)(function (_ref39) {
123
- var _ref40 = (0, _slicedToArray2.default)(_ref39, 1),
124
- lightShade = _ref40[0];
125
- return lightShade;
126
- }, ['colors.lightShade']),
127
- colorHasPlaceholder: (0, _utils.computed)(function (_ref41) {
128
- var _ref42 = (0, _slicedToArray2.default)(_ref41, 1),
129
- subduedText = _ref42[0];
130
- return (0, _manipulation.tint)(subduedText, 0.08);
131
- }, ['colors.subduedText']),
132
- colorDisabled: (0, _utils.computed)(function (_ref43) {
133
- var _ref44 = (0, _slicedToArray2.default)(_ref43, 1),
134
- mediumShade = _ref44[0];
135
- return mediumShade;
136
- }, ['colors.mediumShade']),
137
- iconDisabled: (0, _utils.computed)(function (_ref45) {
138
- var _ref46 = (0, _slicedToArray2.default)(_ref45, 1),
139
- darkShade = _ref46[0];
140
- return darkShade;
141
- }, ['colors.darkShade'])
142
- };
143
- var _dark_forms = _objectSpread(_objectSpread({}, _forms), {}, {
144
- background: (0, _utils.computed)(function (_ref47) {
145
- var _ref48 = (0, _slicedToArray2.default)(_ref47, 1),
146
- lightestShade = _ref48[0];
147
- return (0, _manipulation.shade)(lightestShade, 0.4);
148
- }, ['colors.lightestShade']),
149
- backgroundFocused: (0, _utils.computed)(function (_ref49) {
150
- var _ref50 = (0, _slicedToArray2.default)(_ref49, 1),
151
- emptyShade = _ref50[0];
152
- return (0, _manipulation.shade)(emptyShade, 0.4);
153
- }, ['colors.emptyShade']),
154
- backgroundAutofilled: (0, _utils.computed)(function (_ref51) {
155
- var _ref52 = (0, _slicedToArray2.default)(_ref51, 1),
156
- primary = _ref52[0];
157
- var background = (0, _manipulation.shade)(primary, 0.7);
158
- return (0, _manipulation.shade)(background, 0.5);
159
- }, ['colors.primary']),
160
- prependBackground: (0, _utils.computed)(function (_ref53) {
161
- var _ref54 = (0, _slicedToArray2.default)(_ref53, 1),
162
- lightShade = _ref54[0];
163
- return (0, _manipulation.shade)(lightShade, 0.15);
164
- }, ['colors.lightShade']),
165
- border: (0, _utils.computed)(function (_ref55) {
166
- var _ref56 = (0, _slicedToArray2.default)(_ref55, 1),
167
- ghost = _ref56[0];
168
- return (0, _manipulation.transparentize)(ghost, 0.1);
169
- }, ['colors.ghost']),
170
- clearButtonBackground: (0, _utils.computed)(function (_ref57) {
171
- var _ref58 = (0, _slicedToArray2.default)(_ref57, 1),
172
- darkShade = _ref58[0];
173
- return darkShade;
174
- }, ['colors.darkShade']),
175
- controlBorder: (0, _utils.computed)(function (_ref59) {
176
- var _ref60 = (0, _slicedToArray2.default)(_ref59, 1),
177
- lightestShade = _ref60[0];
178
- return (0, _manipulation.tint)(lightestShade, 0.31);
179
- }, ['colors.lightestShade']),
180
- controlBorderSelected: (0, _utils.computed)(function (_ref61) {
181
- var _ref62 = (0, _slicedToArray2.default)(_ref61, 1),
182
- lightestShade = _ref62[0];
183
- return (0, _manipulation.tint)(lightestShade, 0.31);
184
- }, ['colors.lightestShade']),
185
- controlBorderDisabled: (0, _utils.computed)(function (_ref63) {
186
- var _ref64 = (0, _slicedToArray2.default)(_ref63, 1),
187
- lightestShade = _ref64[0];
188
- return (0, _manipulation.tint)(lightestShade, 0.31);
189
- }, ['colors.lightestShade'])
190
- });
191
- var forms = exports.forms = {
192
- maxWidth: (0, _utils.computed)(function (_ref65) {
193
- var _ref66 = (0, _slicedToArray2.default)(_ref65, 1),
194
- base = _ref66[0];
195
- return (0, _euiThemeCommon.mathWithUnits)(base, function (x) {
196
- return x * 25;
197
- });
198
- }, ['size.base']),
199
- LIGHT: _forms,
200
- DARK: _dark_forms
201
- };
@@ -1,25 +0,0 @@
1
- "use strict";
2
-
3
- Object.defineProperty(exports, "__esModule", {
4
- value: true
5
- });
6
- exports.levels = void 0;
7
- /*
8
- * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one
9
- * or more contributor license agreements. Licensed under the Elastic License
10
- * 2.0 and the Server Side Public License, v 1; you may not use this file except
11
- * in compliance with, at your election, the Elastic License 2.0 or the Server
12
- * Side Public License, v 1.
13
- */
14
-
15
- var levels = exports.levels = {
16
- toast: 9000,
17
- modal: 8000,
18
- mask: 6000,
19
- navigation: 6000,
20
- menu: 2000,
21
- header: 1000,
22
- flyout: 1000,
23
- maskBelowHeader: 1000,
24
- content: 0
25
- };
@@ -1,440 +0,0 @@
1
- "use strict";
2
-
3
- var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
4
- Object.defineProperty(exports, "__esModule", {
5
- value: true
6
- });
7
- exports.shadows = exports.shadowPrimitives = void 0;
8
- var _defineProperty2 = _interopRequireDefault(require("@babel/runtime/helpers/defineProperty"));
9
- var _euiThemeCommon = require("@elastic/eui-theme-common");
10
- 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; }
11
- 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) { (0, _defineProperty2.default)(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; } /*
12
- * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one
13
- * or more contributor license agreements. Licensed under the Elastic License
14
- * 2.0 and the Server Side Public License, v 1; you may not use this file except
15
- * in compliance with, at your election, the Elastic License 2.0 or the Server
16
- * Side Public License, v 1.
17
- */
18
- // in Amsterdam this is `color.shadow`, which computes to `ink` (#000)
19
- var SHADOW_COLOR = '#000000';
20
- var shadowPrimitives = exports.shadowPrimitives = {
21
- xs: {
22
- light: [{
23
- opacity: 0.04 * 1,
24
- x: 0,
25
- y: 0.8,
26
- blur: 0.8,
27
- spread: 0
28
- }, {
29
- opacity: 0.03 * 1,
30
- x: 0,
31
- y: 2.3,
32
- blur: 2,
33
- spread: 0
34
- }],
35
- dark: [{
36
- opacity: 0.04 * 3.5,
37
- x: 0,
38
- y: 0.8,
39
- blur: 0.8,
40
- spread: 0
41
- }, {
42
- opacity: 0.03 * 3.5,
43
- x: 0,
44
- y: 2.3,
45
- blur: 2,
46
- spread: 0
47
- }]
48
- },
49
- s: {
50
- light: [{
51
- opacity: 0.07 * 1,
52
- x: 0,
53
- y: 0.7,
54
- blur: 1.4,
55
- spread: 0
56
- }, {
57
- opacity: 0.05 * 1,
58
- x: 0,
59
- y: 1.9,
60
- blur: 4,
61
- spread: 0
62
- }, {
63
- opacity: 0.05 * 1,
64
- x: 0,
65
- y: 4.5,
66
- blur: 10,
67
- spread: 0
68
- }],
69
- dark: [{
70
- opacity: 0.07 * 3.5,
71
- x: 0,
72
- y: 0.7,
73
- blur: 1.4,
74
- spread: 0
75
- }, {
76
- opacity: 0.05 * 3.5,
77
- x: 0,
78
- y: 1.9,
79
- blur: 4,
80
- spread: 0
81
- }, {
82
- opacity: 0.05 * 3.5,
83
- x: 0,
84
- y: 4.5,
85
- blur: 10,
86
- spread: 0
87
- }]
88
- },
89
- m: {
90
- light: [{
91
- opacity: 0.08 * 1,
92
- x: 0,
93
- y: 0.9,
94
- blur: 4,
95
- spread: 0
96
- }, {
97
- opacity: 0.06 * 1,
98
- x: 0,
99
- y: 2.6,
100
- blur: 8,
101
- spread: 0
102
- }, {
103
- opacity: 0.05 * 1,
104
- x: 0,
105
- y: 5.7,
106
- blur: 12,
107
- spread: 0
108
- }, {
109
- opacity: 0.04 * 1,
110
- x: 0,
111
- y: 15,
112
- blur: 15,
113
- spread: 0
114
- }],
115
- dark: [{
116
- opacity: 0.08 * 3.5,
117
- x: 0,
118
- y: 0.9,
119
- blur: 4,
120
- spread: 0
121
- }, {
122
- opacity: 0.06 * 3.5,
123
- x: 0,
124
- y: 2.6,
125
- blur: 8,
126
- spread: 0
127
- }, {
128
- opacity: 0.05 * 3.5,
129
- x: 0,
130
- y: 5.7,
131
- blur: 12,
132
- spread: 0
133
- }, {
134
- opacity: 0.04 * 3.5,
135
- x: 0,
136
- y: 15,
137
- blur: 15,
138
- spread: 0
139
- }]
140
- },
141
- l: {
142
- light: [{
143
- opacity: 0.1 * 1,
144
- x: 0,
145
- y: 1,
146
- blur: 5,
147
- spread: 0
148
- }, {
149
- opacity: 0.07 * 1,
150
- x: 0,
151
- y: 3.6,
152
- blur: 13,
153
- spread: 0
154
- }, {
155
- opacity: 0.06 * 1,
156
- x: 0,
157
- y: 8.4,
158
- blur: 23,
159
- spread: 0
160
- }, {
161
- opacity: 0.05 * 1,
162
- x: 0,
163
- y: 23,
164
- blur: 35,
165
- spread: 0
166
- }],
167
- dark: [{
168
- opacity: 0.1 * 3.5,
169
- x: 0,
170
- y: 1,
171
- blur: 5,
172
- spread: 0
173
- }, {
174
- opacity: 0.07 * 3.5,
175
- x: 0,
176
- y: 3.6,
177
- blur: 13,
178
- spread: 0
179
- }, {
180
- opacity: 0.06 * 3.5,
181
- x: 0,
182
- y: 8.4,
183
- blur: 23,
184
- spread: 0
185
- }, {
186
- opacity: 0.05 * 3.5,
187
- x: 0,
188
- y: 23,
189
- blur: 35,
190
- spread: 0
191
- }]
192
- },
193
- xl: {
194
- light: [{
195
- opacity: 0.13 * 1,
196
- x: 0,
197
- y: 2.7,
198
- blur: 9,
199
- spread: 0
200
- }, {
201
- opacity: 0.09 * 1,
202
- x: 0,
203
- y: 9.4,
204
- blur: 24,
205
- spread: 0
206
- }, {
207
- opacity: 0.08 * 1,
208
- x: 0,
209
- y: 21.8,
210
- blur: 43,
211
- spread: 0
212
- }],
213
- dark: [{
214
- opacity: 0.13 * 3.5,
215
- x: 0,
216
- y: 2.7,
217
- blur: 9,
218
- spread: 0
219
- }, {
220
- opacity: 0.09 * 3.5,
221
- x: 0,
222
- y: 9.4,
223
- blur: 24,
224
- spread: 0
225
- }, {
226
- opacity: 0.08 * 3.5,
227
- x: 0,
228
- y: 21.8,
229
- blur: 43,
230
- spread: 0
231
- }]
232
- },
233
- xxl: {
234
- light: [],
235
- dark: []
236
- },
237
- flat: {
238
- light: [{
239
- opacity: 0.06 * 1,
240
- x: 0,
241
- y: 0,
242
- blur: 0.8,
243
- spread: 0
244
- }, {
245
- opacity: 0.04 * 1,
246
- x: 0,
247
- y: 0,
248
- blur: 2,
249
- spread: 0
250
- }, {
251
- opacity: 0.04 * 1,
252
- x: 0,
253
- y: 0,
254
- blur: 5,
255
- spread: 0
256
- }, {
257
- opacity: 0.03 * 1,
258
- x: 0,
259
- y: 0,
260
- blur: 17,
261
- spread: 0
262
- }],
263
- dark: [{
264
- opacity: 0.06 * 3.5,
265
- x: 0,
266
- y: 0,
267
- blur: 0.8,
268
- spread: 0
269
- }, {
270
- opacity: 0.04 * 3.5,
271
- x: 0,
272
- y: 0,
273
- blur: 2,
274
- spread: 0
275
- }, {
276
- opacity: 0.04 * 3.5,
277
- x: 0,
278
- y: 0,
279
- blur: 5,
280
- spread: 0
281
- }, {
282
- opacity: 0.03 * 3.5,
283
- x: 0,
284
- y: 0,
285
- blur: 17,
286
- spread: 0
287
- }]
288
- }
289
- };
290
- var shadowColors = {
291
- colors: {
292
- base: SHADOW_COLOR
293
- }
294
- };
295
- var shadowsLight = _objectSpread(_objectSpread({}, shadowColors), {}, {
296
- xs: {
297
- down: (0, _euiThemeCommon.formatMultipleBoxShadow)(shadowPrimitives.xs.light, {
298
- color: shadowColors.colors.base
299
- }),
300
- up: (0, _euiThemeCommon.formatMultipleBoxShadow)(shadowPrimitives.xs.light, {
301
- direction: 'up',
302
- color: shadowColors.colors.base
303
- })
304
- },
305
- s: {
306
- down: (0, _euiThemeCommon.formatMultipleBoxShadow)(shadowPrimitives.s.light, {
307
- color: shadowColors.colors.base
308
- }),
309
- up: (0, _euiThemeCommon.formatMultipleBoxShadow)(shadowPrimitives.s.light, {
310
- direction: 'up',
311
- color: shadowColors.colors.base
312
- })
313
- },
314
- m: {
315
- down: (0, _euiThemeCommon.formatMultipleBoxShadow)(shadowPrimitives.m.light, {
316
- color: shadowColors.colors.base
317
- }),
318
- up: (0, _euiThemeCommon.formatMultipleBoxShadow)(shadowPrimitives.m.light, {
319
- direction: 'up',
320
- color: shadowColors.colors.base
321
- })
322
- },
323
- l: {
324
- down: (0, _euiThemeCommon.formatMultipleBoxShadow)(shadowPrimitives.l.light, {
325
- color: shadowColors.colors.base
326
- }),
327
- up: (0, _euiThemeCommon.formatMultipleBoxShadow)(shadowPrimitives.l.light, {
328
- direction: 'up',
329
- color: shadowColors.colors.base
330
- })
331
- },
332
- xl: {
333
- down: (0, _euiThemeCommon.formatMultipleBoxShadow)(shadowPrimitives.xl.light, {
334
- color: shadowColors.colors.base
335
- }),
336
- up: (0, _euiThemeCommon.formatMultipleBoxShadow)(shadowPrimitives.xl.light, {
337
- direction: 'up',
338
- color: shadowColors.colors.base
339
- })
340
- },
341
- hover: {
342
- base: {
343
- down: (0, _euiThemeCommon.formatMultipleBoxShadow)(shadowPrimitives.s.light.slice(1), {
344
- color: shadowColors.colors.base
345
- }),
346
- up: (0, _euiThemeCommon.formatMultipleBoxShadow)(shadowPrimitives.s.light.slice(1), {
347
- direction: 'up',
348
- color: shadowColors.colors.base
349
- })
350
- },
351
- xl: {
352
- down: 'none',
353
- up: 'none'
354
- }
355
- },
356
- flat: {
357
- down: (0, _euiThemeCommon.formatMultipleBoxShadow)(shadowPrimitives.flat.light, {
358
- color: shadowColors.colors.base
359
- }),
360
- up: (0, _euiThemeCommon.formatMultipleBoxShadow)(shadowPrimitives.flat.light, {
361
- direction: 'up',
362
- color: shadowColors.colors.base
363
- })
364
- }
365
- });
366
- var shadowsDark = _objectSpread(_objectSpread({}, shadowColors), {}, {
367
- xs: {
368
- down: (0, _euiThemeCommon.formatMultipleBoxShadow)(shadowPrimitives.xs.dark, {
369
- color: shadowColors.colors.base
370
- }),
371
- up: (0, _euiThemeCommon.formatMultipleBoxShadow)(shadowPrimitives.xs.dark, {
372
- direction: 'up',
373
- color: shadowColors.colors.base
374
- })
375
- },
376
- s: {
377
- down: (0, _euiThemeCommon.formatMultipleBoxShadow)(shadowPrimitives.s.dark, {
378
- color: shadowColors.colors.base
379
- }),
380
- up: (0, _euiThemeCommon.formatMultipleBoxShadow)(shadowPrimitives.s.dark, {
381
- direction: 'up',
382
- color: shadowColors.colors.base
383
- })
384
- },
385
- m: {
386
- down: (0, _euiThemeCommon.formatMultipleBoxShadow)(shadowPrimitives.m.dark, {
387
- color: shadowColors.colors.base
388
- }),
389
- up: (0, _euiThemeCommon.formatMultipleBoxShadow)(shadowPrimitives.m.dark, {
390
- direction: 'up',
391
- color: shadowColors.colors.base
392
- })
393
- },
394
- l: {
395
- down: (0, _euiThemeCommon.formatMultipleBoxShadow)(shadowPrimitives.l.dark, {
396
- color: shadowColors.colors.base
397
- }),
398
- up: (0, _euiThemeCommon.formatMultipleBoxShadow)(shadowPrimitives.l.dark, {
399
- direction: 'up',
400
- color: shadowColors.colors.base
401
- })
402
- },
403
- xl: {
404
- down: (0, _euiThemeCommon.formatMultipleBoxShadow)(shadowPrimitives.xl.dark, {
405
- color: shadowColors.colors.base
406
- }),
407
- up: (0, _euiThemeCommon.formatMultipleBoxShadow)(shadowPrimitives.xl.dark, {
408
- direction: 'up',
409
- color: shadowColors.colors.base
410
- })
411
- },
412
- hover: {
413
- base: {
414
- down: (0, _euiThemeCommon.formatMultipleBoxShadow)(shadowPrimitives.s.dark.slice(1), {
415
- color: shadowColors.colors.base
416
- }),
417
- up: (0, _euiThemeCommon.formatMultipleBoxShadow)(shadowPrimitives.s.dark.slice(1), {
418
- direction: 'up',
419
- color: shadowColors.colors.base
420
- })
421
- },
422
- xl: {
423
- down: 'none',
424
- up: 'none'
425
- }
426
- },
427
- flat: {
428
- down: (0, _euiThemeCommon.formatMultipleBoxShadow)(shadowPrimitives.flat.dark, {
429
- color: shadowColors.colors.base
430
- }),
431
- up: (0, _euiThemeCommon.formatMultipleBoxShadow)(shadowPrimitives.flat.dark, {
432
- direction: 'up',
433
- color: shadowColors.colors.base
434
- })
435
- }
436
- });
437
- var shadows = exports.shadows = {
438
- LIGHT: shadowsLight,
439
- DARK: shadowsDark
440
- };
@@ -1,29 +0,0 @@
1
- "use strict";
2
-
3
- Object.defineProperty(exports, "__esModule", {
4
- value: true
5
- });
6
- exports.size = exports.base = void 0;
7
- var _functions = require("../../../../global_styling/functions");
8
- var _utils = require("../../../../services/theme/utils");
9
- /*
10
- * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one
11
- * or more contributor license agreements. Licensed under the Elastic License
12
- * 2.0 and the Server Side Public License, v 1; you may not use this file except
13
- * in compliance with, at your election, the Elastic License 2.0 or the Server
14
- * Side Public License, v 1.
15
- */
16
-
17
- var base = exports.base = 16;
18
- var size = exports.size = {
19
- xxs: (0, _utils.computed)((0, _functions.sizeToPixel)(0.125)),
20
- xs: (0, _utils.computed)((0, _functions.sizeToPixel)(0.25)),
21
- s: (0, _utils.computed)((0, _functions.sizeToPixel)(0.5)),
22
- m: (0, _utils.computed)((0, _functions.sizeToPixel)(0.75)),
23
- base: (0, _utils.computed)((0, _functions.sizeToPixel)()),
24
- l: (0, _utils.computed)((0, _functions.sizeToPixel)(1.5)),
25
- xl: (0, _utils.computed)((0, _functions.sizeToPixel)(2)),
26
- xxl: (0, _utils.computed)((0, _functions.sizeToPixel)(2.5)),
27
- xxxl: (0, _utils.computed)((0, _functions.sizeToPixel)(3)),
28
- xxxxl: (0, _utils.computed)((0, _functions.sizeToPixel)(4))
29
- };