@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,82 +0,0 @@
1
- /**
2
- The MIT License (MIT)
3
-
4
- Copyright (c) 2015 strarsis https://github.com/strarsis/sass-math-pow
5
-
6
- Permission is hereby granted, free of charge, to any person obtaining a copy
7
- of this software and associated documentation files (the "Software"), to deal
8
- in the Software without restriction, including without limitation the rights
9
- to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
10
- copies of the Software, and to permit persons to whom the Software is
11
- furnished to do so, subject to the following conditions:
12
-
13
- The above copyright notice and this permission notice shall be included in all
14
- copies or substantial portions of the Software.
15
-
16
- THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
17
- IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
18
- FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
19
- AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
20
- LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
21
- OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
22
- SOFTWARE.
23
- */
24
-
25
- @function pow($number, $exp) {
26
- $exp1: round($exp);
27
- $result: powInt($number, $exp1);
28
-
29
- @if ($exp1 != $exp) {
30
- $result: $result * mathExp(($exp - $exp1) * mathLn($number));
31
- }
32
-
33
- @return $result;
34
- }
35
-
36
- @function powInt($number, $exp) {
37
- @if $exp == 0 {
38
- @return 1;
39
- } @else if $exp < 0 {
40
- @return 1 / powInt($number, -$exp);
41
- } @else {
42
- $e: floor($exp / 2);
43
- $pow: pow($number, $e);
44
- @if $e * 2 == $exp {
45
- @return $pow * $pow;
46
- } @else {
47
- @return $pow * $pow * $number;
48
- }
49
- }
50
- }
51
-
52
- @function mathExp($value) {
53
- $item: 1;
54
- $result: 1;
55
-
56
- @for $index from 1 to 100 {
57
- $item: $item * $value / $index;
58
- $result: $result + $item;
59
- }
60
-
61
- @return $result;
62
- }
63
-
64
- @function mathLn($value) {
65
- $tenExp: 0;
66
- $lnTen: 2.30258509;
67
-
68
- @while ($value > 1) {
69
- $tenExp: $tenExp + 1;
70
- $value: $value / 10;
71
- }
72
-
73
- $item: -1;
74
- $result: 0;
75
-
76
- @for $index from 1 to 100 {
77
- $item: $item * (1 - $value);
78
- $result: $result + $item / $index;
79
- }
80
-
81
- @return $result + $tenExp * $lnTen;
82
- }
@@ -1,3 +0,0 @@
1
- // Core
2
-
3
- @import 'node_modules/@elastic/eui-theme-common/src/global_styling/index';
@@ -1,117 +0,0 @@
1
- // Helper mixins
2
-
3
- // Set scroll bar appearance on Chrome (and firefox).
4
- @mixin euiScrollBar($thumbColor: $euiColorDarkShade, $trackBackgroundColor: transparent, $size: 'thin') {
5
- // Firefox's scrollbar coloring cascades, but the sizing does not,
6
- // so it's being added to this mixin for allowing support wherever custom scrollbars are
7
- scrollbar-color: transparentize($thumbColor, .5) $trackBackgroundColor; // Firefox support
8
-
9
- @if ($size == 'thin') {
10
- scrollbar-width: thin;
11
- }
12
-
13
- // stylelint-disable selector-no-vendor-prefix
14
- &::-webkit-scrollbar {
15
- width: $euiScrollBar;
16
- height: $euiScrollBar;
17
- }
18
-
19
- &::-webkit-scrollbar-thumb {
20
- background-color: transparentize($thumbColor, .5);
21
- background-clip: content-box;
22
- border-radius: $euiScrollBar;
23
-
24
- @if ($size == 'thin') {
25
- border: $euiScrollBarCornerThin solid $trackBackgroundColor;
26
- } @else {
27
- border: $euiScrollBarCorner solid $trackBackgroundColor;
28
- }
29
- }
30
-
31
- &::-webkit-scrollbar-corner,
32
- &::-webkit-scrollbar-track {
33
- background-color: $trackBackgroundColor;
34
- }
35
- }
36
-
37
- /**
38
- * 1. Focus rings shouldn't be visible on scrollable regions, but a11y requires them to be focusable.
39
- * Browser's supporting `:focus-visible` will still show outline on keyboard focus only.
40
- * Others like Safari, won't show anything at all.
41
- * 2. Force the `:focus-visible` when the `tabindex=0` (is tabbable)
42
- */
43
-
44
- // Just overflow and scrollbars
45
- @mixin euiYScroll {
46
- @include euiScrollBar;
47
- height: 100%;
48
- overflow-y: auto;
49
- overflow-x: hidden;
50
-
51
- &:focus {
52
- outline: none; /* 1 */
53
- }
54
-
55
- &[tabindex='0']:focus:focus-visible {
56
- outline-style: auto; /* 2 */
57
- }
58
- }
59
-
60
- @mixin euiXScroll {
61
- @include euiScrollBar;
62
- overflow-x: auto;
63
-
64
- &:focus {
65
- outline: none; /* 1 */
66
- }
67
-
68
- &[tabindex='0']:focus:focus-visible {
69
- outline-style: auto; /* 2 */
70
- }
71
- }
72
-
73
- // The full overflow with shadow
74
- @mixin euiYScrollWithShadows {
75
- @include euiYScroll;
76
- @include euiOverflowShadow('y');
77
- }
78
-
79
- @mixin euiXScrollWithShadows {
80
- @include euiXScroll;
81
- @include euiOverflowShadow('x');
82
- }
83
-
84
- // Hiding elements offscreen to only be read by screen reader
85
- // See https://github.com/elastic/eui/pull/5130 and https://github.com/elastic/eui/pull/5152 for more info
86
- @mixin euiScreenReaderOnly {
87
- // Take the element out of the layout
88
- position: absolute;
89
- // Keep it vertically inline
90
- top: auto;
91
- // Chrome requires a left value, and Selenium (used by Kibana's FTR) requires an off-screen position for its .getVisibleText() to not register SR-only text
92
- left: -10000px;
93
- // The element must have a size (for some screen readers)
94
- width: 1px;
95
- height: 1px;
96
- // But reduce the visible size to nothing
97
- clip: rect(0 0 0 0);
98
- clip-path: inset(50%);
99
- // And ensure no overflows occur
100
- overflow: hidden;
101
- // Chrome requires the negative margin to not cause overflows of parent containers
102
- margin: -1px;
103
- }
104
-
105
- // Doesn't have reduced motion turned on
106
- @mixin euiCanAnimate {
107
- @media screen and (prefers-reduced-motion: no-preference) {
108
- @content;
109
- }
110
- }
111
-
112
- // Does have reduced motion turned on
113
- @mixin euiCantAnimate {
114
- @media screen and (prefers-reduced-motion: reduce) {
115
- @content;
116
- }
117
- }
@@ -1,8 +0,0 @@
1
- @import 'responsive';
2
- @import 'shadow';
3
- @import 'size';
4
- @import 'typography';
5
- @import 'helpers';
6
- @import 'states';
7
-
8
- @import 'tool_tip'; // Needed by Elastic Charts
@@ -1,44 +0,0 @@
1
- // A sem-complicated mixin for breakpoints, that takes any number of
2
- // named breakpoints that exists in $euiBreakpoints.
3
-
4
- @mixin euiBreakpoint($sizes...) {
5
- // Loop through each size parameter
6
- @each $size in $sizes {
7
- // Store the location of the size in the list to check against
8
- $index: index($euiBreakpointKeys, $size);
9
-
10
- // Check to make sure it exists in the allowed breakpoint names
11
- @if ( $index ) {
12
-
13
- // Set the min size to the value of the size
14
- $minSize: map-get($euiBreakpoints, $size);
15
-
16
- // If it is the last item, don't give it a max-width
17
- @if ( $index == length($euiBreakpointKeys) ) {
18
- @media only screen and (min-width: $minSize) {
19
- @content;
20
- }
21
- // If it's not the last item, add a max-width
22
- } @else {
23
-
24
- // Set the max size to the value of the next size (-1px as to not overlap)
25
- $maxSize: map-get($euiBreakpoints, nth($euiBreakpointKeys, $index + 1)) - 1px;
26
-
27
- // If it's the the first item, don't set a min-width
28
- @if ( $index == 1 ) {
29
- @media only screen and (max-width: $maxSize) {
30
- @content;
31
- }
32
- // Otherwise it should have a min and max width
33
- } @else {
34
- @media only screen and (min-width: $minSize) and (max-width: $maxSize) {
35
- @content;
36
- }
37
- }
38
- }
39
- // If it's not a known breakpoint, throw a warning
40
- } @else {
41
- @warn "euiBreakpoint(): '#{$size}' is not a valid size in $euiBreakpoints. Accepted values are '#{$euiBreakpointKeys}'";
42
- }
43
- }
44
- }
@@ -1,100 +0,0 @@
1
- @function shadowOpacity($opacity) {
2
- @if (lightness($euiColorTextParagraph) < 50) {
3
- @return $opacity * 1;
4
- } @else {
5
- @return $opacity * 2.5;
6
- }
7
- }
8
-
9
- @mixin euiSlightShadow($color: $euiShadowColor) {
10
- box-shadow:
11
- 0 .8px .8px rgba($color, shadowOpacity(.04)),
12
- 0 2.3px 2px rgba($color, shadowOpacity(.03));
13
- }
14
-
15
- @mixin euiBottomShadowSmall($color: $euiShadowColor) {
16
- box-shadow:
17
- 0 .7px 1.4px rgba($color, shadowOpacity(.07)),
18
- 0 1.9px 4px rgba($color, shadowOpacity(.05)),
19
- 0 4.5px 10px rgba($color, shadowOpacity(.05));
20
- }
21
-
22
- @mixin euiBottomShadowMedium($color: $euiShadowColor) {
23
- box-shadow:
24
- 0 .9px 4px -1px rgba($color, shadowOpacity(.08)),
25
- 0 2.6px 8px -1px rgba($color, shadowOpacity(.06)),
26
- 0 5.7px 12px -1px rgba($color, shadowOpacity(.05)),
27
- 0 15px 15px -1px rgba($color, shadowOpacity(.04));
28
- }
29
-
30
- // Similar to shadow medium but without the bottom depth. Useful for popovers
31
- // that drop UP rather than DOWN.
32
- @mixin euiBottomShadowFlat($color: $euiShadowColor) {
33
- box-shadow:
34
- 0 0 .8px rgba($color, shadowOpacity(.06)),
35
- 0 0 2px rgba($color, shadowOpacity(.04)),
36
- 0 0 5px rgba($color, shadowOpacity(.04)),
37
- 0 0 17px rgba($color, shadowOpacity(.03));
38
- }
39
-
40
- @mixin euiBottomShadow($color: $euiShadowColor) {
41
- box-shadow:
42
- 0 1px 5px rgba($color, shadowOpacity(.1)),
43
- 0 3.6px 13px rgba($color, shadowOpacity(.07)),
44
- 0 8.4px 23px rgba($color, shadowOpacity(.06)),
45
- 0 23px 35px rgba($color, shadowOpacity(.05));
46
- }
47
-
48
- @mixin euiBottomShadowLarge(
49
- $color: $euiShadowColor,
50
- $opacity: 0,
51
- $reverse: false
52
- ) {
53
- @if ($reverse) {
54
- box-shadow:
55
- 0 -2.7px 9px rgba($color, shadowOpacity(.13)),
56
- 0 -9.4px 24px rgba($color, shadowOpacity(.09)),
57
- 0 -21.8px 43px rgba($color, shadowOpacity(.08));
58
- } @else {
59
- box-shadow:
60
- 0 2.7px 9px rgba($color, shadowOpacity(.13)),
61
- 0 9.4px 24px rgba($color, shadowOpacity(.09)),
62
- 0 21.8px 43px rgba($color, shadowOpacity(.08));
63
- }
64
- }
65
-
66
- // stylelint-disable color-named
67
- @mixin euiOverflowShadow($direction: 'y', $side: 'both') {
68
- $hideHeight: $euiScrollBarCornerThin * 1.25;
69
- $gradient: null;
70
- $gradientStart:
71
- transparentize(red, .9) 0%,
72
- transparentize(red, 0) $hideHeight;
73
- $gradientEnd:
74
- transparentize(red, 0) calc(100% - #{$hideHeight}),
75
- transparentize(red, .9) 100%;
76
- @if ($side == 'both' or $side == 'start' or $side == 'end') {
77
- @if ($side == 'both') {
78
- $gradient: $gradientStart, $gradientEnd;
79
- } @else if ($side == 'start') {
80
- $gradient: $gradientStart;
81
- } @else {
82
- $gradient: $gradientEnd;
83
- }
84
- } @else {
85
- @warn "euiOverflowShadow() expects side to be 'both', 'start' or 'end' but got '#{$side}'";
86
- }
87
-
88
- @if ($direction == 'y') {
89
- mask-image: linear-gradient(to bottom, #{$gradient});
90
- } @else if ($direction == 'x') {
91
- mask-image: linear-gradient(to right, #{$gradient});
92
- } @else {
93
- @warn "euiOverflowShadow() expects direction to be 'y' or 'x' but got '#{$direction}'";
94
- }
95
-
96
- // Chrome+Edge has a very bizarre edge case bug where `mask-image` stops working
97
- // This workaround forces a stacking context on the scrolling container, which
98
- // hopefully addresses the bug. @see https://github.com/elastic/eui/pull/7855
99
- transform: translateZ(0);
100
- }
@@ -1,4 +0,0 @@
1
- @mixin size($size) {
2
- width: $size;
3
- height: $size;
4
- }
@@ -1,17 +0,0 @@
1
- @mixin euiFocusRing($size: 'small', $amsterdamOnlyProp: null) {
2
- @if $size == 'large' {
3
- // It's always OK to use the focus animation. This will take precedence over times we turn it off individually like EuiButtonEmpty
4
- // stylelint-disable-next-line declaration-no-important
5
- animation: $euiAnimSpeedSlow $euiAnimSlightResistance 1 normal forwards focusRingAnimateLarge !important;
6
- } @else {
7
- // stylelint-disable-next-line declaration-no-important
8
- animation: $euiAnimSpeedSlow $euiAnimSlightResistance 1 normal forwards focusRingAnimate !important;
9
- }
10
- }
11
-
12
- // Keyframe animation declarations can be found in
13
- // utility/animations.scss
14
-
15
- @mixin euiFocusBackground($color: $euiColorPrimary) {
16
- background-color: tintOrShade($euiColorPrimary, ((1 - $euiFocusTransparency) * 100%), ((1 - $euiFocusTransparency) * 100%));
17
- }
@@ -1,18 +0,0 @@
1
- @mixin euiToolTipStyle($size: null) {
2
- @include euiBottomShadow($color: $euiColorInk);
3
-
4
- $euiTooltipBackgroundColor: tintOrShade($euiColorFullShade, 25%, 100%) !default;
5
- $euiTooltipBorderColor: tintOrShade($euiColorFullShade, 35%, 80%) !default;
6
-
7
- border-radius: $euiBorderRadius;
8
- background-color: $euiTooltipBackgroundColor;
9
- color: $euiColorGhost;
10
- z-index: $euiZLevel9;
11
- max-width: 256px;
12
- overflow-wrap: break-word;
13
- padding: $euiSizeS;
14
-
15
- .euiHorizontalRule {
16
- background-color: $euiTooltipBorderColor;
17
- }
18
- }
@@ -1,166 +0,0 @@
1
- // stylelint-disable property-no-vendor-prefix
2
- // stylelint-disable declaration-no-important
3
-
4
- @function fontSizeToRemOrEm($size, $sizingMethod: 'rem') {
5
- @if ($sizingMethod == 'rem') {
6
- @return #{$size / $euiFontSize}rem;
7
- } @else if ($sizingMethod == 'em') {
8
- @return #{$size / $euiFontSize}em;
9
- }
10
- }
11
-
12
- // It can also be applied to calculate paddings
13
- @function marginToRemOrEm($elementSize, $elementFontSize, $sizingMethod: 'rem') {
14
- @if ($sizingMethod == 'rem') {
15
- @return #{$elementSize / $euiFontSize}rem;
16
- } @else if ($sizingMethod == 'em') {
17
- @return #{$elementSize / $elementFontSize}em;
18
- }
19
- }
20
-
21
- // Spit out rem and px
22
- @mixin fontSize($size: $euiFontSize, $sizingMethod: 'rem') {
23
- @if ($sizingMethod == 'rem') {
24
- font-size: $size;
25
- font-size: fontSizeToRemOrEm($size, 'rem');
26
- } @else if ($sizingMethod == 'em') {
27
- font-size: fontSizeToRemOrEm($size, 'em');
28
- }
29
- }
30
-
31
- @mixin lineHeightFromBaseline($multiplier: 3) {
32
- line-height: lineHeightFromBaseline($multiplier);
33
- }
34
-
35
- // Some mixins that help us deal with browser scaling of text more consistently.
36
- // Essentially, fonts across eui should scale against the root html element, not
37
- // against parent inheritance.
38
-
39
- // Our base fonts
40
-
41
- @mixin euiFont {
42
- font-family: $euiFontFamily;
43
- font-weight: $euiFontWeightRegular;
44
- letter-spacing: -.005em;
45
- -webkit-text-size-adjust: 100%;
46
- font-kerning: normal;
47
- }
48
-
49
- @mixin euiCodeFont {
50
- font-family: $euiCodeFontFamily;
51
- letter-spacing: normal;
52
- }
53
-
54
- @mixin euiText {
55
- color: $euiColorTextParagraph;
56
- font-weight: $euiFontWeightRegular;
57
- }
58
-
59
- @mixin euiTitle($size: 'm') {
60
- @include euiTextBreakWord;
61
- color: $euiColorTextHeading;
62
-
63
- @if (map-has-key($euiTitles, $size)) {
64
- @each $property, $value in map-get($euiTitles, $size) {
65
- @if ($property == 'font-size') {
66
- @include fontSize($value);
67
- } @else {
68
- #{$property}: $value;
69
- }
70
- }
71
- } @else {
72
- @include fontSize($size);
73
- @include lineHeightFromBaseline(3);
74
- }
75
- }
76
-
77
- // Font sizing extends, using rem mixin
78
-
79
- @mixin euiFontSizeXS {
80
- @include fontSize($euiFontSizeXS);
81
- line-height: $euiLineHeight;
82
- }
83
-
84
- @mixin euiFontSizeS {
85
- @include fontSize($euiFontSizeS);
86
- line-height: $euiLineHeight;
87
- }
88
-
89
- @mixin euiFontSize {
90
- @include fontSize($euiFontSize);
91
- line-height: $euiLineHeight;
92
- }
93
-
94
- @mixin euiFontSizeM {
95
- @include fontSize($euiFontSizeM);
96
- line-height: $euiLineHeight;
97
- }
98
-
99
- @mixin euiFontSizeL {
100
- @include fontSize($euiFontSizeL);
101
- line-height: $euiLineHeight;
102
- }
103
-
104
- @mixin euiFontSizeXL {
105
- @each $property, $value in map-get($euiTitles, 'm') {
106
- @if ($property == 'font-size') {
107
- @include fontSize($value);
108
- } @else {
109
- #{$property}: $value;
110
- }
111
- }
112
- line-height: 1.25;
113
- }
114
-
115
- @mixin euiFontSizeXXL {
116
- @each $property, $value in map-get($euiTitles, 'l') {
117
- @if ($property == 'font-size') {
118
- @include fontSize($value);
119
- } @else {
120
- #{$property}: $value;
121
- }
122
- }
123
- line-height: 1.25;
124
- }
125
-
126
- @mixin euiTextBreakWord {
127
- // https://css-tricks.com/snippets/css/prevent-long-urls-from-breaking-out-of-container/
128
- overflow-wrap: break-word !important; // makes sure the long string will wrap and not bust out of the container
129
- word-break: break-word;
130
- }
131
-
132
- /**
133
- * Text truncation
134
- *
135
- * Prevent text from wrapping onto multiple lines, and truncate with an ellipsis.
136
- *
137
- * 1. Ensure that the node has a maximum width after which truncation can occur.
138
- */
139
- @mixin euiTextTruncate {
140
- max-width: 100%; // 1
141
- overflow: hidden !important;
142
- text-overflow: ellipsis !important;
143
- white-space: nowrap !important;
144
- }
145
-
146
- @mixin euiNumberFormat {
147
- font-feature-settings: $euiFontFeatureSettings, 'tnum' 1; // Fixed-width numbers for tabular data
148
- }
149
-
150
- /**
151
- * Text weight shifting
152
- *
153
- * When changing the font-weight based the state of the component
154
- * this mixin will ensure that the sizing is dependent on the boldest
155
- * weight so it doesn't shifter sibling content.
156
- */
157
- @mixin euiTextShift($fontWeight: $euiFontWeightBold, $attr: 'data-text') {
158
- &::after {
159
- display: block;
160
- content: attr(#{$attr});
161
- font-weight: $fontWeight;
162
- height: 0;
163
- overflow: hidden;
164
- visibility: hidden;
165
- }
166
- }
@@ -1,6 +0,0 @@
1
- // Animations
2
-
3
- @import 'node_modules/@elastic/eui-theme-common/src/global_styling/variables/animations'
4
-
5
- // Keyframe animation declarations can be found in
6
- // utility/animations.scss
@@ -1,3 +0,0 @@
1
- // Borders
2
-
3
- @import 'node_modules/@elastic/eui-theme-common/src/global_styling/variables/borders'
@@ -1 +0,0 @@
1
- @import 'node_modules/@elastic/eui-theme-common/src/global_styling/variables/buttons'
@@ -1,4 +0,0 @@
1
- // Separated out to its own file for easy import into docs
2
-
3
- // Font weights
4
- @import 'node_modules/@elastic/eui-theme-common/src/global_styling/variables/font_weight'
@@ -1,2 +0,0 @@
1
- // Form
2
- @import 'node_modules/@elastic/eui-theme-common/src/global_styling/variables/form'
@@ -1,22 +0,0 @@
1
- // --------------------------------------------------------------------------------------
2
- // EUI global variables
3
- // --------------------------------------------------------------------------------------
4
- // This module contains all global variables available within EUI. Every variable in this
5
- // document should be prefixed with $eui. This lets us know where the variable is
6
- // coming from when looking inside the individual component files. Any component local
7
- // variables should be declared at the top of those documents prefixed with $componentName.
8
-
9
- // Global colors are established and importer per theme, before this manifest
10
- // Import order is important. Size, vis colors, ...etc are used in other variables.
11
- @import 'size';
12
- @import 'animations';
13
- @import 'font_weight';
14
- @import 'typography';
15
- @import 'borders';
16
- @import 'responsive';
17
- @import 'shadows';
18
- @import 'states';
19
- @import 'z_index';
20
-
21
- @import 'buttons';
22
- @import 'form';
@@ -1 +0,0 @@
1
- @import 'node_modules/@elastic/eui-theme-common/src/global_styling/variables/responsive'
@@ -1,2 +0,0 @@
1
- // Shadows
2
- @import 'node_modules/@elastic/eui-theme-common/src/global_styling/variables/shadows'
@@ -1 +0,0 @@
1
- @import 'node_modules/@elastic/eui-theme-common/src/global_styling/variables/size'
@@ -1 +0,0 @@
1
- @import 'node_modules/@elastic/eui-theme-common/src/global_styling/variables/states'
@@ -1 +0,0 @@
1
- @import 'node_modules/@elastic/eui-theme-common/src/global_styling/variables/typography'
@@ -1,2 +0,0 @@
1
- // Z-Index
2
- @import 'node_modules/@elastic/eui-theme-common/src/global_styling/variables/z_index'