@elastic/eui 71.0.0 → 72.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 (270) hide show
  1. package/README.md +0 -7
  2. package/dist/eui_theme_dark.css +7747 -5854
  3. package/dist/eui_theme_dark.min.css +1 -1
  4. package/dist/eui_theme_light.css +7737 -5844
  5. package/dist/eui_theme_light.min.css +1 -1
  6. package/es/components/datagrid/data_grid.a11y.js +251 -0
  7. package/es/components/date_picker/auto_refresh/refresh_interval.js +3 -1
  8. package/es/components/date_picker/date_picker.a11y.js +83 -0
  9. package/es/components/date_picker/super_date_picker/quick_select_popover/commonly_used_time_ranges.js +5 -2
  10. package/es/components/date_picker/super_date_picker/quick_select_popover/quick_select.js +3 -1
  11. package/es/components/date_picker/super_date_picker/quick_select_popover/quick_select_popover.js +160 -173
  12. package/es/components/date_picker/super_date_picker/quick_select_popover/recently_used.js +5 -2
  13. package/es/components/date_picker/super_date_picker/super_date_picker.js +16 -0
  14. package/es/components/delay_hide/delay_hide.a11y.js +106 -0
  15. package/es/components/delay_render/delay_render.a11y.js +106 -0
  16. package/es/components/empty_prompt/empty_prompt.a11y.js +63 -0
  17. package/es/components/error_boundary/error_boundary.a11y.js +67 -0
  18. package/es/components/error_boundary/error_boundary.js +45 -27
  19. package/es/components/expression/expression.a11y.js +254 -0
  20. package/es/components/filter_group/filter_group.a11y.js +281 -0
  21. package/es/components/focus_trap/focus_trap.a11y.js +131 -0
  22. package/es/components/form/file_picker/file_picker.js +1 -0
  23. package/es/components/header/header.a11y.js +374 -0
  24. package/es/components/icon/icon_ML.a11y.js +33 -0
  25. package/es/components/icon/icon_apps.a11y.js +33 -0
  26. package/es/components/icon/icon_editor.a11y.js +33 -0
  27. package/es/components/icon/icon_elastic.a11y.js +33 -0
  28. package/es/components/icon/icon_glyphs.a11y.js +33 -0
  29. package/es/components/icon/icon_tokens.a11y.js +33 -0
  30. package/es/components/markdown_editor/plugins/markdown_default_plugins/parsing_plugins.js +1 -1
  31. package/es/components/page/page_side_bar/page_side_bar.js +3 -0
  32. package/es/components/page/page_template.js +1 -15
  33. package/es/components/selectable/selectable.js +4 -3
  34. package/es/components/selectable/selectable_list/selectable_list.js +17 -5
  35. package/es/components/tabs/tab.js +7 -17
  36. package/es/components/tabs/tabbed_content/tabbed_content.js +0 -16
  37. package/es/components/tabs/tabs.js +7 -11
  38. package/es/components/tabs/tabs_context.js +13 -0
  39. package/eui.d.ts +60 -43
  40. package/i18ntokens.json +34 -18
  41. package/lib/components/datagrid/data_grid.a11y.js +255 -0
  42. package/lib/components/date_picker/auto_refresh/refresh_interval.js +3 -1
  43. package/lib/components/date_picker/date_picker.a11y.js +89 -0
  44. package/lib/components/date_picker/super_date_picker/quick_select_popover/commonly_used_time_ranges.js +5 -2
  45. package/lib/components/date_picker/super_date_picker/quick_select_popover/quick_select.js +3 -1
  46. package/lib/components/date_picker/super_date_picker/quick_select_popover/quick_select_popover.js +155 -168
  47. package/lib/components/date_picker/super_date_picker/quick_select_popover/recently_used.js +5 -2
  48. package/lib/components/date_picker/super_date_picker/super_date_picker.js +16 -0
  49. package/lib/components/delay_hide/delay_hide.a11y.js +111 -0
  50. package/lib/components/delay_render/delay_render.a11y.js +111 -0
  51. package/lib/components/empty_prompt/empty_prompt.a11y.js +72 -0
  52. package/lib/components/error_boundary/error_boundary.a11y.js +75 -0
  53. package/lib/components/error_boundary/error_boundary.js +49 -29
  54. package/lib/components/expression/expression.a11y.js +262 -0
  55. package/lib/components/filter_group/filter_group.a11y.js +287 -0
  56. package/lib/components/focus_trap/focus_trap.a11y.js +140 -0
  57. package/lib/components/form/file_picker/file_picker.js +1 -0
  58. package/lib/components/header/header.a11y.js +385 -0
  59. package/lib/components/icon/icon_ML.a11y.js +40 -0
  60. package/lib/components/icon/icon_apps.a11y.js +40 -0
  61. package/lib/components/icon/icon_editor.a11y.js +40 -0
  62. package/lib/components/icon/icon_elastic.a11y.js +40 -0
  63. package/lib/components/icon/icon_glyphs.a11y.js +40 -0
  64. package/lib/components/icon/icon_tokens.a11y.js +40 -0
  65. package/lib/components/markdown_editor/plugins/markdown_default_plugins/parsing_plugins.js +2 -2
  66. package/lib/components/page/page_side_bar/page_side_bar.js +4 -0
  67. package/lib/components/page/page_template.js +1 -15
  68. package/lib/components/selectable/selectable.js +4 -3
  69. package/lib/components/selectable/selectable_list/selectable_list.js +17 -5
  70. package/lib/components/tabs/tab.js +14 -17
  71. package/lib/components/tabs/tabbed_content/tabbed_content.js +0 -16
  72. package/lib/components/tabs/tabs.js +8 -14
  73. package/lib/components/tabs/tabs_context.js +23 -0
  74. package/optimize/es/components/datagrid/data_grid.a11y.js +234 -0
  75. package/optimize/es/components/date_picker/auto_refresh/refresh_interval.js +3 -1
  76. package/optimize/es/components/date_picker/date_picker.a11y.js +73 -0
  77. package/optimize/es/components/date_picker/super_date_picker/quick_select_popover/commonly_used_time_ranges.js +5 -2
  78. package/optimize/es/components/date_picker/super_date_picker/quick_select_popover/quick_select.js +3 -1
  79. package/optimize/es/components/date_picker/super_date_picker/quick_select_popover/quick_select_popover.js +145 -169
  80. package/optimize/es/components/date_picker/super_date_picker/quick_select_popover/recently_used.js +5 -2
  81. package/optimize/es/components/date_picker/super_date_picker/super_date_picker.js +2 -0
  82. package/optimize/es/components/delay_hide/delay_hide.a11y.js +96 -0
  83. package/optimize/es/components/delay_render/delay_render.a11y.js +96 -0
  84. package/optimize/es/components/empty_prompt/empty_prompt.a11y.js +63 -0
  85. package/optimize/es/components/error_boundary/error_boundary.a11y.js +67 -0
  86. package/optimize/es/components/error_boundary/error_boundary.js +37 -26
  87. package/optimize/es/components/expression/expression.a11y.js +243 -0
  88. package/optimize/es/components/filter_group/filter_group.a11y.js +271 -0
  89. package/optimize/es/components/focus_trap/focus_trap.a11y.js +120 -0
  90. package/optimize/es/components/form/file_picker/file_picker.js +1 -0
  91. package/optimize/es/components/header/header.a11y.js +364 -0
  92. package/optimize/es/components/icon/icon_ML.a11y.js +33 -0
  93. package/optimize/es/components/icon/icon_apps.a11y.js +33 -0
  94. package/optimize/es/components/icon/icon_editor.a11y.js +33 -0
  95. package/optimize/es/components/icon/icon_elastic.a11y.js +33 -0
  96. package/optimize/es/components/icon/icon_glyphs.a11y.js +33 -0
  97. package/optimize/es/components/icon/icon_tokens.a11y.js +33 -0
  98. package/optimize/es/components/markdown_editor/plugins/markdown_default_plugins/parsing_plugins.js +1 -1
  99. package/optimize/es/components/page/page_side_bar/page_side_bar.js +3 -0
  100. package/optimize/es/components/selectable/selectable.js +2 -2
  101. package/optimize/es/components/selectable/selectable_list/selectable_list.js +15 -4
  102. package/optimize/es/components/tabs/tab.js +7 -5
  103. package/optimize/es/components/tabs/tabs.js +7 -11
  104. package/optimize/es/components/tabs/tabs_context.js +13 -0
  105. package/optimize/lib/components/datagrid/data_grid.a11y.js +248 -0
  106. package/optimize/lib/components/date_picker/auto_refresh/refresh_interval.js +3 -1
  107. package/optimize/lib/components/date_picker/date_picker.a11y.js +87 -0
  108. package/optimize/lib/components/date_picker/super_date_picker/quick_select_popover/commonly_used_time_ranges.js +5 -2
  109. package/optimize/lib/components/date_picker/super_date_picker/quick_select_popover/quick_select.js +3 -1
  110. package/optimize/lib/components/date_picker/super_date_picker/quick_select_popover/quick_select_popover.js +146 -167
  111. package/optimize/lib/components/date_picker/super_date_picker/quick_select_popover/recently_used.js +5 -2
  112. package/optimize/lib/components/date_picker/super_date_picker/super_date_picker.js +2 -0
  113. package/optimize/lib/components/delay_hide/delay_hide.a11y.js +111 -0
  114. package/optimize/lib/components/delay_render/delay_render.a11y.js +111 -0
  115. package/optimize/lib/components/empty_prompt/empty_prompt.a11y.js +72 -0
  116. package/optimize/lib/components/error_boundary/error_boundary.a11y.js +75 -0
  117. package/optimize/lib/components/error_boundary/error_boundary.js +41 -28
  118. package/optimize/lib/components/expression/expression.a11y.js +254 -0
  119. package/optimize/lib/components/filter_group/filter_group.a11y.js +287 -0
  120. package/optimize/lib/components/focus_trap/focus_trap.a11y.js +140 -0
  121. package/optimize/lib/components/form/file_picker/file_picker.js +1 -0
  122. package/optimize/lib/components/header/header.a11y.js +385 -0
  123. package/optimize/lib/components/icon/icon_ML.a11y.js +40 -0
  124. package/optimize/lib/components/icon/icon_apps.a11y.js +40 -0
  125. package/optimize/lib/components/icon/icon_editor.a11y.js +40 -0
  126. package/optimize/lib/components/icon/icon_elastic.a11y.js +40 -0
  127. package/optimize/lib/components/icon/icon_glyphs.a11y.js +40 -0
  128. package/optimize/lib/components/icon/icon_tokens.a11y.js +40 -0
  129. package/optimize/lib/components/markdown_editor/plugins/markdown_default_plugins/parsing_plugins.js +2 -2
  130. package/optimize/lib/components/page/page_side_bar/page_side_bar.js +4 -0
  131. package/optimize/lib/components/selectable/selectable.js +2 -2
  132. package/optimize/lib/components/selectable/selectable_list/selectable_list.js +15 -4
  133. package/optimize/lib/components/tabs/tab.js +15 -5
  134. package/optimize/lib/components/tabs/tabs.js +8 -14
  135. package/optimize/lib/components/tabs/tabs_context.js +23 -0
  136. package/package.json +14 -19
  137. package/src/components/basic_table/_basic_table.scss +1 -4
  138. package/src/components/button/button_empty/_button_empty.scss +2 -4
  139. package/src/components/button/button_group/_button_group.scss +1 -1
  140. package/src/components/button/button_group/_button_group_button.scss +3 -4
  141. package/src/components/button/button_icon/_button_icon.scss +0 -3
  142. package/src/components/collapsible_nav/_collapsible_nav.scss +1 -1
  143. package/src/components/collapsible_nav/collapsible_nav_group/_collapsible_nav_group.scss +1 -1
  144. package/src/components/color_picker/_color_picker.scss +3 -2
  145. package/src/components/color_picker/_hue.scss +7 -7
  146. package/src/components/color_picker/_saturation.scss +1 -1
  147. package/src/components/color_picker/color_palette_display/_mixins.scss +1 -1
  148. package/src/components/color_picker/color_stops/_color_stops.scss +2 -3
  149. package/src/components/combo_box/_combo_box.scss +7 -6
  150. package/src/components/combo_box/combo_box_input/_combo_box_input.scss +2 -1
  151. package/src/components/combo_box/combo_box_input/_combo_box_placeholder.scss +1 -1
  152. package/src/components/combo_box/combo_box_options_list/_combo_box_options_list.scss +2 -3
  153. package/src/components/control_bar/_variables.scss +0 -1
  154. package/src/components/datagrid/_data_grid_data_row.scss +4 -5
  155. package/src/components/datagrid/_mixins.scss +1 -1
  156. package/src/components/datagrid/body/_data_grid_footer_row.scss +2 -1
  157. package/src/components/datagrid/body/header/_data_grid_column_resizer.scss +3 -4
  158. package/src/components/datagrid/body/header/_data_grid_header_row.scss +1 -1
  159. package/src/components/datagrid/controls/_data_grid_column_sorting.scss +1 -2
  160. package/src/components/date_picker/_date_picker_range.scss +1 -1
  161. package/src/components/date_picker/super_date_picker/_super_date_picker.scss +1 -4
  162. package/src/components/date_picker/super_date_picker/quick_select_popover/_quick_select_popover.scss +15 -1
  163. package/src/components/drag_and_drop/_draggable.scss +3 -5
  164. package/src/components/drag_and_drop/_droppable.scss +1 -1
  165. package/src/components/empty_prompt/_empty_prompt.scss +1 -1
  166. package/src/components/filter_group/_filter_group.scss +2 -2
  167. package/src/components/filter_group/_filter_select_item.scss +0 -1
  168. package/src/components/form/checkbox/_checkbox.scss +5 -3
  169. package/src/components/form/described_form_group/_described_form_group.scss +0 -1
  170. package/src/components/form/field_password/_field_password.scss +1 -1
  171. package/src/components/form/field_search/_field_search.scss +1 -1
  172. package/src/components/form/file_picker/_file_picker.scss +15 -16
  173. package/src/components/form/form_control_layout/_form_control_layout.scss +6 -7
  174. package/src/components/form/form_control_layout/_form_control_layout_delimited.scss +4 -6
  175. package/src/components/form/form_row/_form_row.scss +3 -0
  176. package/src/components/form/radio/_radio.scss +5 -3
  177. package/src/components/form/select/_select.scss +1 -1
  178. package/src/components/form/switch/_switch.scss +3 -1
  179. package/src/components/header/_mixins.scss +1 -1
  180. package/src/components/header/header_section/_header_section_item.scss +4 -4
  181. package/src/components/header/header_section/_header_section_item_button.scss +0 -1
  182. package/src/components/key_pad_menu/_key_pad_menu_item.scss +2 -7
  183. package/src/components/markdown_editor/_markdown_editor_drop_zone.scss +4 -4
  184. package/src/components/markdown_editor/_markdown_editor_footer.scss +1 -1
  185. package/src/components/markdown_editor/_markdown_editor_text_area.scss +2 -3
  186. package/src/components/markdown_editor/_markdown_format.scss +4 -2
  187. package/src/components/notification/_notification_event.scss +2 -2
  188. package/src/components/page/page_content/_page_content_body.scss +0 -1
  189. package/src/components/page/page_content/_page_content_header_section.scss +0 -1
  190. package/src/components/page/page_side_bar/_page_side_bar.scss +0 -1
  191. package/src/components/panel/split_panel/_split_panel.scss +2 -2
  192. package/src/components/resizable_container/_resizable_button.scss +31 -31
  193. package/src/components/resizable_container/_resizable_collapse_button.scss +9 -9
  194. package/src/components/selectable/selectable_templates/_selectable_template_sitewide_option.scss +1 -1
  195. package/src/components/side_nav/_mixins.scss +1 -1
  196. package/src/components/side_nav/_side_nav.scss +2 -1
  197. package/src/components/side_nav/_side_nav_item.scss +2 -3
  198. package/src/components/steps/_steps.scss +2 -1
  199. package/src/components/suggest/_suggest_input.scss +1 -1
  200. package/src/components/suggest/_suggest_item.scss +4 -3
  201. package/src/components/table/_responsive.scss +5 -3
  202. package/src/components/table/_table.scss +2 -4
  203. package/src/components/table/mobile/_mobile.scss +0 -2
  204. package/src/components/tree_view/tree_view.scss +2 -2
  205. package/src/global_styling/mixins/_form.scss +7 -18
  206. package/src/global_styling/mixins/_header.scss +2 -2
  207. package/src/global_styling/mixins/_helpers.scss +1 -2
  208. package/src/global_styling/mixins/_icons.scss +1 -1
  209. package/src/global_styling/mixins/_range.scss +4 -8
  210. package/src/global_styling/mixins/_responsive.scss +3 -8
  211. package/src/global_styling/mixins/_shadow.scss +5 -9
  212. package/src/global_styling/mixins/_states.scss +2 -2
  213. package/src/global_styling/mixins/_typography.scss +16 -19
  214. package/src/global_styling/variables/_colors_vis.scss +1 -1
  215. package/src/global_styling/variables/_typography.scss +1 -3
  216. package/src/themes/amsterdam/_colors_dark.scss +2 -1
  217. package/src/themes/amsterdam/_colors_light.scss +2 -0
  218. package/src/themes/amsterdam/global_styling/mixins/_link.scss +1 -1
  219. package/src/themes/amsterdam/global_styling/mixins/_states.scss +0 -1
  220. package/src/themes/amsterdam/global_styling/mixins/_typography.scss +1 -2
  221. package/src/themes/amsterdam/global_styling/react_date_picker/_date_picker_days.scss +0 -1
  222. package/src/themes/amsterdam/global_styling/react_date_picker/_date_picker_month_year.scss +0 -1
  223. package/src/themes/amsterdam/global_styling/react_date_picker/_date_picker_times.scss +3 -4
  224. package/src/themes/amsterdam/global_styling/react_date_picker/_mixins.scss +0 -1
  225. package/src/themes/amsterdam/global_styling/variables/_typography.scss +1 -2
  226. package/src/themes/amsterdam/overrides/_color_stops.scss +4 -5
  227. package/src/themes/amsterdam/overrides/_combo_box.scss +3 -0
  228. package/src/themes/amsterdam/overrides/_form_control_layout.scss +3 -0
  229. package/src/themes/amsterdam/overrides/_form_control_layout_delimited.scss +5 -4
  230. package/src/themes/amsterdam/overrides/_header.scss +2 -2
  231. package/src/themes/amsterdam/overrides/_hue.scss +6 -6
  232. package/src/themes/amsterdam/overrides/_key_pad_menu.scss +2 -2
  233. package/src/themes/amsterdam/overrides/_steps.scss +1 -2
  234. package/src/themes/legacy/_colors_dark.scss +2 -1
  235. package/src/themes/legacy/_colors_light.scss +2 -0
  236. package/src/themes/legacy/reset/_reset.scss +8 -7
  237. package/test-env/components/datagrid/data_grid.a11y.js +248 -0
  238. package/test-env/components/date_picker/auto_refresh/refresh_interval.js +3 -1
  239. package/test-env/components/date_picker/date_picker.a11y.js +87 -0
  240. package/test-env/components/date_picker/super_date_picker/quick_select_popover/commonly_used_time_ranges.js +5 -2
  241. package/test-env/components/date_picker/super_date_picker/quick_select_popover/quick_select.js +3 -1
  242. package/test-env/components/date_picker/super_date_picker/quick_select_popover/quick_select_popover.js +153 -166
  243. package/test-env/components/date_picker/super_date_picker/quick_select_popover/recently_used.js +5 -2
  244. package/test-env/components/date_picker/super_date_picker/super_date_picker.js +16 -0
  245. package/test-env/components/delay_hide/delay_hide.a11y.js +111 -0
  246. package/test-env/components/delay_render/delay_render.a11y.js +111 -0
  247. package/test-env/components/empty_prompt/empty_prompt.a11y.js +72 -0
  248. package/test-env/components/error_boundary/error_boundary.a11y.js +75 -0
  249. package/test-env/components/error_boundary/error_boundary.js +48 -28
  250. package/test-env/components/expression/expression.a11y.js +254 -0
  251. package/test-env/components/filter_group/filter_group.a11y.js +287 -0
  252. package/test-env/components/focus_trap/focus_trap.a11y.js +140 -0
  253. package/test-env/components/form/file_picker/file_picker.js +1 -0
  254. package/test-env/components/header/header.a11y.js +385 -0
  255. package/test-env/components/icon/icon_ML.a11y.js +40 -0
  256. package/test-env/components/icon/icon_apps.a11y.js +40 -0
  257. package/test-env/components/icon/icon_editor.a11y.js +40 -0
  258. package/test-env/components/icon/icon_elastic.a11y.js +40 -0
  259. package/test-env/components/icon/icon_glyphs.a11y.js +40 -0
  260. package/test-env/components/icon/icon_tokens.a11y.js +40 -0
  261. package/test-env/components/markdown_editor/plugins/markdown_default_plugins/parsing_plugins.js +2 -2
  262. package/test-env/components/page/page_side_bar/page_side_bar.js +4 -0
  263. package/test-env/components/page/page_template.js +1 -15
  264. package/test-env/components/selectable/selectable.js +4 -3
  265. package/test-env/components/selectable/selectable_list/selectable_list.js +17 -5
  266. package/test-env/components/tabs/tab.js +15 -17
  267. package/test-env/components/tabs/tabbed_content/tabbed_content.js +0 -16
  268. package/test-env/components/tabs/tabs.js +8 -14
  269. package/test-env/components/tabs/tabs_context.js +23 -0
  270. package/scripts/postinstall.js +0 -9
@@ -55,7 +55,7 @@
55
55
  }
56
56
 
57
57
  @mixin euiPlaceholderPerBrowser {
58
- // sass-lint:disable-block no-vendor-prefixes
58
+ // stylelint-disable selector-no-vendor-prefix
59
59
  // Each prefix must be its own content block
60
60
  &::-webkit-input-placeholder { @content; opacity: 1; }
61
61
  &::-moz-placeholder { @content; opacity: 1; }
@@ -78,7 +78,6 @@
78
78
  font-size: $euiFontSizeS;
79
79
  color: $euiTextColor;
80
80
 
81
- // sass-lint:disable-block mixins-before-declarations
82
81
  @include euiPlaceholderPerBrowser {
83
82
  color: $euiFormControlPlaceholderText;
84
83
  }
@@ -143,7 +142,6 @@
143
142
  // 1. Must supply both values to background-size or some browsers apply the single value to both directions
144
143
 
145
144
  @mixin euiFormControlDefaultShadow($borderOnly: false) {
146
- // sass-lint:disable-block indentation
147
145
  background-color: $euiFormBackgroundColor;
148
146
  background-repeat: no-repeat;
149
147
  background-size: 0% 100%; // 1
@@ -164,14 +162,13 @@
164
162
 
165
163
  // Fixes bug in Firefox where adding a transition to the background-color
166
164
  // caused a flash of differently styled dropdown.
167
- @supports (-moz-appearance: none) { // sass-lint:disable-line no-vendor-prefixes
165
+ @supports (-moz-appearance: none) {
168
166
  // List *must* be in the same order as the above.
169
167
  transition-property: box-shadow, background-image, background-size;
170
168
  }
171
169
  }
172
170
 
173
171
  @mixin euiFormControlFocusStyle($borderOnly: false) {
174
- // sass-lint:disable-block indentation, empty-args
175
172
  background-color: tintOrShade($euiColorEmptyShade, 0%, 40%);
176
173
  background-image: euiFormControlGradient();
177
174
  background-size: 100% 100%; // 1
@@ -180,8 +177,7 @@
180
177
  @if ($borderOnly) {
181
178
  box-shadow: inset 0 0 0 1px $euiFormBorderColor;
182
179
  } @else {
183
- box-shadow:
184
- inset 0 0 0 1px $euiFormBorderColor;
180
+ box-shadow: inset 0 0 0 1px $euiFormBorderColor;
185
181
  }
186
182
  }
187
183
 
@@ -191,7 +187,6 @@
191
187
  }
192
188
 
193
189
  @mixin euiFormControlDisabledTextStyle {
194
- // sass-lint:disable-block no-vendor-prefixes
195
190
  color: $euiFormControlDisabledColor;
196
191
  -webkit-text-fill-color: $euiFormControlDisabledColor; // Required for Safari
197
192
  }
@@ -202,14 +197,12 @@
202
197
  background: $euiFormBackgroundDisabledColor;
203
198
  box-shadow: inset 0 0 0 1px $euiFormBorderDisabledColor;
204
199
 
205
- // sass-lint:disable-block mixins-before-declarations
206
200
  @include euiPlaceholderPerBrowser {
207
201
  color: $euiFormControlDisabledColor;
208
202
  }
209
203
  }
210
204
 
211
205
  @mixin euiFormControlReadOnlyStyle {
212
- // sass-lint:disable-block no-vendor-prefixes
213
206
  cursor: default;
214
207
  color: $euiTextColor;
215
208
  -webkit-text-fill-color: $euiTextColor; // Required for Safari
@@ -219,7 +212,6 @@
219
212
  box-shadow: inset 0 0 0 1px $euiFormBorderDisabledColor;
220
213
  }
221
214
 
222
-
223
215
  // 2. Override invalid state with focus state.
224
216
 
225
217
  @mixin euiFormControlStyle($borderOnly: false, $includeStates: true, $includeSizes: true) {
@@ -249,7 +241,6 @@
249
241
  }
250
242
 
251
243
  // Needs to be set for autofill
252
- // sass-lint:disable-block no-vendor-prefixes
253
244
  &:-webkit-autofill {
254
245
  -webkit-text-fill-color: lightOrDarkTheme($euiColorDarkestShade, $euiColorLightShade);
255
246
 
@@ -257,7 +248,6 @@
257
248
  color: lightOrDarkTheme($euiColorDarkestShade, $euiColorLightShade);
258
249
  }
259
250
  }
260
-
261
251
  }
262
252
 
263
253
  @if ($includeSizes) {
@@ -266,7 +256,7 @@
266
256
  }
267
257
 
268
258
  &--inGroup {
269
- // sass-lint:disable-block no-important
259
+ // stylelint-disable-next-line declaration-no-important
270
260
  box-shadow: none !important;
271
261
  border-radius: 0;
272
262
  }
@@ -313,12 +303,11 @@
313
303
  } @else if $type == 'square' {
314
304
  border-radius: $euiCheckboxBorderRadius;
315
305
  }
316
- // sass-lint:disable-block indentation
306
+
317
307
  transition: background-color $euiAnimSpeedFast ease-in,
318
- border-color $euiAnimSpeedFast ease-in;
308
+ border-color $euiAnimSpeedFast ease-in; // stylelint-disable-line indentation
319
309
  }
320
310
 
321
-
322
311
  @mixin euiCustomControlSelected($type: null) {
323
312
  border-color: $euiColorPrimary;
324
313
  background-color: $euiColorPrimary;
@@ -363,7 +352,7 @@
363
352
 
364
353
  @mixin euiHiddenSelectableInput {
365
354
  position: absolute;
366
- // sass-lint:disable no-important
355
+ // stylelint-disable-next-line declaration-no-important
367
356
  opacity: 0 !important; // Make sure it's still hidden when :disabled
368
357
  width: 100%;
369
358
  height: 100%;
@@ -1,9 +1,9 @@
1
1
  @import '../variables/header';
2
2
 
3
3
  @mixin euiHeaderAffordForFixed($headerHeight: $euiHeaderHeightCompensation) {
4
- // The `&` allows for grouping inside another specific body class.
4
+ // The `@at-root #{&}` allows for grouping alongside another specific body class.
5
5
  // When not applied inside of another selector, it simply renders with the single class
6
- &.euiBody--headerIsFixed {
6
+ @at-root #{&}.euiBody--headerIsFixed {
7
7
  padding-top: $headerHeight;
8
8
 
9
9
  // When the EuiHeader is fixed, we need to account for it in the position of the flyout
@@ -4,14 +4,13 @@
4
4
  @mixin euiScrollBar($thumbColor: $euiColorDarkShade, $trackBackgroundColor: transparent, $size: 'thin') {
5
5
  // Firefox's scrollbar coloring cascades, but the sizing does not,
6
6
  // so it's being added to this mixin for allowing support wherever custom scrollbars are
7
- // sass-lint:disable-block no-misspelled-properties
8
7
  scrollbar-color: transparentize($thumbColor, .5) $trackBackgroundColor; // Firefox support
9
8
 
10
9
  @if ($size == 'thin') {
11
10
  scrollbar-width: thin;
12
11
  }
13
12
 
14
- // sass-lint:disable-block no-vendor-prefixes
13
+ // stylelint-disable selector-no-vendor-prefix
15
14
  &::-webkit-scrollbar {
16
15
  width: $euiScrollBar;
17
16
  height: $euiScrollBar;
@@ -1,6 +1,6 @@
1
1
  // For using icons as background images (data-uri)
2
2
  @mixin euiIconBackground($type, $color: $euiColorEmptyShade) {
3
- // sass-lint:disable-block quotes
3
+ // stylelint-disable string-quotes
4
4
  @if variable-exists(type) == false {
5
5
  @error 'A $type:string must be provided to @mixin euiIconBackground().';
6
6
  } @else if type-of($color) != color {
@@ -1,6 +1,3 @@
1
- // Prefixes are unique in this file
2
- // sass-lint:disable no-vendor-prefixes
3
-
4
1
  /*
5
2
  The CSS in JS version of this file lives in:
6
3
  - src/components/form/range/range.styles.ts
@@ -31,10 +28,10 @@ The following files still use the Sass version:
31
28
  }
32
29
 
33
30
  @mixin euiRangeThumbBoxShadow {
34
- // sass-lint:disable-block no-color-literals
35
- box-shadow: 0 0 0 1px $euiRangeThumbBorderColor,
36
- 0 2px 2px -1px rgba($euiShadowColor, .2),
37
- 0 1px 5px -2px rgba($euiShadowColor, .2);
31
+ box-shadow:
32
+ 0 0 0 1px $euiRangeThumbBorderColor,
33
+ 0 2px 2px -1px rgba($euiShadowColor, .2),
34
+ 0 1px 5px -2px rgba($euiShadowColor, .2);
38
35
  }
39
36
 
40
37
  @mixin euiRangeThumbFocusBoxShadow {
@@ -58,7 +55,6 @@ The following files still use the Sass version:
58
55
  &::-ms-thumb { @content; }
59
56
  }
60
57
 
61
-
62
58
  @mixin euiRangeThumbFocus {
63
59
  @include euiRangeThumbBorder;
64
60
  @include euiRangeThumbFocusBoxShadow;
@@ -1,8 +1,3 @@
1
- // This file makes use of double quotes to format errors with nested single quotes
2
- // The indentation linting freaks out on comments above else statements and is disabled.
3
-
4
- // sass-lint:disable quotes, no-warn, indentation
5
-
6
1
  // A sem-complicated mixin for breakpoints, that takes any number of
7
2
  // named breakpoints that exists in $euiBreakpoints.
8
3
 
@@ -23,7 +18,7 @@
23
18
  @media only screen and (min-width: $minSize) {
24
19
  @content;
25
20
  }
26
- // If it's not the last item, add a max-width
21
+ // If it's not the last item, add a max-width
27
22
  } @else {
28
23
 
29
24
  // Set the max size to the value of the next size (-1px as to not overlap)
@@ -34,14 +29,14 @@
34
29
  @media only screen and (max-width: $maxSize) {
35
30
  @content;
36
31
  }
37
- // Otherwise it should have a min and max width
32
+ // Otherwise it should have a min and max width
38
33
  } @else {
39
34
  @media only screen and (min-width: $minSize) and (max-width: $maxSize) {
40
35
  @content;
41
36
  }
42
37
  }
43
38
  }
44
- // If it's not a known breakpoint, throw a warning
39
+ // If it's not a known breakpoint, throw a warning
45
40
  } @else {
46
41
  @warn "euiBreakpoint(): '#{$size}' is not a valid size in $euiBreakpoints. Accepted values are '#{$euiBreakpointKeys}'";
47
42
  }
@@ -1,8 +1,3 @@
1
- // This file uses RGBA literal values responsibly
2
- // This file uses off-pattern indentation to be more readable
3
-
4
- // sass-lint:disable no-color-literals, no-color-keywords, indentation, quotes
5
-
6
1
  @function shadowOpacity($opacity) {
7
2
  @if (lightness($euiTextColor) < 50) {
8
3
  @return $opacity * 1;
@@ -76,15 +71,16 @@
76
71
  0 23px 35px rgba($color, shadowOpacity(.05));
77
72
  }
78
73
 
74
+ // stylelint-disable color-named
79
75
  @mixin euiOverflowShadow($direction: 'y', $side: 'both') {
80
76
  $hideHeight: $euiScrollBarCornerThin * 1.25;
81
77
  $gradient: null;
82
78
  $gradientStart:
83
- transparentize(red, .9) 0%,
84
- transparentize(red, 0) $hideHeight;
79
+ transparentize(red, .9) 0%,
80
+ transparentize(red, 0) $hideHeight;
85
81
  $gradientEnd:
86
- transparentize(red, 0) calc(100% - #{$hideHeight}),
87
- transparentize(red, .9) 100%;
82
+ transparentize(red, 0) calc(100% - #{$hideHeight}),
83
+ transparentize(red, .9) 100%;
88
84
  @if ($side == 'both' or $side == 'start' or $side == 'end') {
89
85
  @if ($side == 'both') {
90
86
  $gradient: $gradientStart, $gradientEnd;
@@ -1,10 +1,10 @@
1
1
  @mixin euiFocusRing($size: 'small', $amsterdamOnlyProp: null) {
2
2
  @if $size == 'large' {
3
3
  // It's always OK to use the focus animation. This will take precedence over times we turn it off individually like EuiButtonEmpty
4
- // sass-lint:disable-block no-important
4
+ // stylelint-disable-next-line declaration-no-important
5
5
  animation: $euiAnimSpeedSlow $euiAnimSlightResistance 1 normal forwards focusRingAnimateLarge !important;
6
6
  } @else {
7
- // sass-lint:disable-block no-important
7
+ // stylelint-disable-next-line declaration-no-important
8
8
  animation: $euiAnimSpeedSlow $euiAnimSlightResistance 1 normal forwards focusRingAnimate !important;
9
9
  }
10
10
  }
@@ -1,5 +1,5 @@
1
- // sass-lint:disable no-vendor-prefixes
2
- // sass-lint:disable no-important
1
+ // stylelint-disable property-no-vendor-prefix
2
+ // stylelint-disable declaration-no-important
3
3
 
4
4
  @function fontSizeToRemOrEm($size, $sizingMethod: 'rem') {
5
5
  @if ($sizingMethod == 'rem') {
@@ -130,16 +130,14 @@
130
130
  word-break: break-word;
131
131
  }
132
132
 
133
- // Text truncation
134
- //
135
- // Prevent text from wrapping onto multiple lines, and truncate with an
136
- // ellipsis.
137
- //
138
- // 1. Ensure that the node has a maximum width after which truncation can
139
- // occur.
140
-
133
+ /**
134
+ * Text truncation
135
+ *
136
+ * Prevent text from wrapping onto multiple lines, and truncate with an ellipsis.
137
+ *
138
+ * 1. Ensure that the node has a maximum width after which truncation can occur.
139
+ */
141
140
  @mixin euiTextTruncate {
142
- // sass-lint:disable-block no-important
143
141
  max-width: 100%; // 1
144
142
  overflow: hidden !important;
145
143
  text-overflow: ellipsis !important;
@@ -150,13 +148,13 @@
150
148
  font-feature-settings: $euiFontFeatureSettings, 'tnum' 1; // Fixed-width numbers for tabular data
151
149
  }
152
150
 
153
-
154
- // Text weight shifting
155
- //
156
- // When changing the font-weight based the state of the component
157
- // this mixin will ensure that the sizing is dependent on the boldest
158
- // weight so it doesn't shifter sibling content.
159
-
151
+ /**
152
+ * Text weight shifting
153
+ *
154
+ * When changing the font-weight based the state of the component
155
+ * this mixin will ensure that the sizing is dependent on the boldest
156
+ * weight so it doesn't shifter sibling content.
157
+ */
160
158
  @mixin euiTextShift($fontWeight: $euiFontWeightBold, $attr: 'data-text') {
161
159
  &::after {
162
160
  display: block;
@@ -167,4 +165,3 @@
167
165
  visibility: hidden;
168
166
  }
169
167
  }
170
-
@@ -1,4 +1,5 @@
1
1
  // Visualization colors
2
+ // stylelint-disable color-no-hex
2
3
 
3
4
  // Maps allow for easier JSON usage
4
5
  // Use map_merge($euiColorVisColors, $yourMap) to change individual colors after importing ths file
@@ -59,7 +60,6 @@ $euiColorVis7: map-get(map-get($euiPaletteColorBlind, 'euiColorVis7'), 'graphic'
59
60
  $euiColorVis8: map-get(map-get($euiPaletteColorBlind, 'euiColorVis8'), 'graphic') !default;
60
61
  $euiColorVis9: map-get(map-get($euiPaletteColorBlind, 'euiColorVis9'), 'graphic') !default;
61
62
 
62
- // sass-lint:disable-block variable-name-format
63
63
  $euiColorVis0_behindText: map-get(map-get($euiPaletteColorBlind, 'euiColorVis0'), 'behindText') !default;
64
64
  $euiColorVis1_behindText: map-get(map-get($euiPaletteColorBlind, 'euiColorVis1'), 'behindText') !default;
65
65
  $euiColorVis2_behindText: map-get(map-get($euiPaletteColorBlind, 'euiColorVis2'), 'behindText') !default;
@@ -20,7 +20,6 @@ $euiFontSizeXXL: $euiFontSize * nth($euiTextScale, 1) !default; // 36px
20
20
  $euiLineHeight: 1.5 !default;
21
21
  $euiBodyLineHeight: 1 !default;
22
22
 
23
-
24
23
  // Normally functions are imported before variables in `_index.scss` files
25
24
  // But because they need to consume some typography variables they need to live here
26
25
  @function convertToRem($size) {
@@ -32,10 +31,9 @@ $euiBodyLineHeight: 1 !default;
32
31
  // If our base font size (euiFontSize) is 16, our baseline is 8 (16*1.5 / 3). To ensure the
33
32
  // text stays on the baseline, we pass a multiplier to calculate a line-height in rems.
34
33
  @function lineHeightFromBaseline($multiplier: 3) {
35
- @return convertToRem(($euiFontSize/2)*$multiplier);
34
+ @return convertToRem(($euiFontSize / 2) * $multiplier);
36
35
  }
37
36
 
38
-
39
37
  // Titles map
40
38
  // Lists all the properties per EuiTitle size that then gets looped through to create the selectors.
41
39
  // The map allows for tokenization and easier customization per theme, otherwise you'd have to override the selectors themselves
@@ -1,3 +1,5 @@
1
+ // stylelint-disable color-no-hex
2
+
1
3
  // This extra import allows any variables that are created via functions to work when loaded into JS
2
4
  @import '../../global_styling/functions/index';
3
5
 
@@ -45,4 +47,3 @@ $euiLinkColor: $euiColorPrimaryText !default;
45
47
  // Charts
46
48
  $euiColorChartLines: $euiColorLightShade !default;
47
49
  $euiColorChartBand: tint($euiColorLightestShade, 2.5%) !default;
48
-
@@ -1,3 +1,5 @@
1
+ // stylelint-disable color-no-hex
2
+
1
3
  // This extra import allows any variables that are created via functions to work when loaded into JS
2
4
  @import '../../global_styling/functions/index';
3
5
 
@@ -18,6 +18,6 @@
18
18
 
19
19
  @mixin euiLinkFocus {
20
20
  text-decoration: underline;
21
- // sass-lint:disable-block no-misspelled-properties no-important
21
+ // stylelint-disable-next-line declaration-no-important
22
22
  text-decoration-thickness: $euiBorderWidthThick !important;
23
23
  }
@@ -63,4 +63,3 @@
63
63
  @include euiDisabledState($disabledColor);
64
64
  }
65
65
  }
66
-
@@ -1,7 +1,6 @@
1
1
  // Font sizing extends, using rem mixin
2
2
  // All line-heights are aligned to baseline grid
3
- // sass-lint:disable no-vendor-prefixes
4
-
3
+ // stylelint-disable property-no-vendor-prefix
5
4
 
6
5
  @function fontSizeToRemOrEm($size, $sizingMethod: 'rem') {
7
6
  @if ($sizingMethod == 'rem') {
@@ -82,7 +82,6 @@
82
82
  &--in-range#{&}--disabled:not(.react-datepicker__day--selected):hover {
83
83
  $backgroundColor: transparentize($euiColorPrimary, $euiButtonDefaultTransparency);
84
84
 
85
- // sass-lint:disable-block indentation
86
85
  box-shadow: -2px 0 $backgroundColor,
87
86
  2px 0 $backgroundColor;
88
87
  border-radius: 0;
@@ -23,7 +23,6 @@
23
23
  .react-datepicker__header__dropdown {
24
24
  padding: $euiDatePickerGap * 2;
25
25
  display: flex;
26
- // sass-lint:disable-block no-misspelled-properties
27
26
  gap: $euiDatePickerGap;
28
27
  position: absolute;
29
28
  top: 0;
@@ -43,7 +43,7 @@
43
43
  @include euiYScroll;
44
44
  padding: $euiSizeXS $euiSizeM;
45
45
  // Set the min-height with the following, but it should stretch to fit if the container is larger
46
- height: 100px !important; // sass-lint:disable-line no-important
46
+ height: 100px !important;
47
47
  display: flex;
48
48
  flex-direction: column;
49
49
  flex-grow: 1;
@@ -54,7 +54,6 @@
54
54
  // Mainly a copy/paste of .euiEmptyButton
55
55
  .react-datepicker__time-list-item {
56
56
  @include euiButton;
57
- // sass-lint:disable-block no-important
58
57
  transform: none !important; /* 1 */
59
58
  animation: none !important; /* 1 */
60
59
  transition-timing-function: ease-in; /* 2 */
@@ -93,7 +92,7 @@
93
92
 
94
93
  // When in time only mode we make the dropdown look more like the combo box styling.
95
94
  .react-datepicker--time-only {
96
- padding: 0 !important; // sass-lint:disable-line no-important
95
+ padding: 0 !important;
97
96
 
98
97
  .react-datepicker__time-container {
99
98
  background-color: transparent;
@@ -101,7 +100,7 @@
101
100
  }
102
101
 
103
102
  .react-datepicker__time-list {
104
- height: 204px !important; // sass-lint:disable-line no-important
103
+ height: 204px !important;
105
104
  }
106
105
 
107
106
  .react-datepicker__time-list-item {
@@ -1,6 +1,5 @@
1
1
  // Because we don't have control over react-datepicker's dom we use SVG URIs for the navigation arrows.
2
2
  // There is one for light and dark.
3
- // sass-lint:disable-block url-quotes
4
3
  @mixin datePickerCaret {
5
4
  background-position: center;
6
5
  @if (lightness($euiColorEmptyShade) > 50) {
@@ -19,7 +19,6 @@ $euiBodyLineHeight: 1.142857143; // 16px from a 14px base font size to ensure it
19
19
  $euiCodeFontWeightRegular: 400;
20
20
  $euiCodeFontWeightBold: 700;
21
21
 
22
-
23
22
  // Normally functions are imported before variables in `_index.scss` files
24
23
  // But because they need to consume some typography variables they need to live here
25
24
  @function convertToRem($size) {
@@ -28,7 +27,7 @@ $euiCodeFontWeightBold: 700;
28
27
 
29
28
  // Use 8px increments for base gridline
30
29
  @function lineHeightFromBaseline($multiplier: 3) {
31
- @return convertToRem(($euiSize/2)*$multiplier);
30
+ @return convertToRem(($euiSize / 2) * $multiplier);
32
31
  }
33
32
 
34
33
  $euiTitles: (
@@ -9,7 +9,6 @@
9
9
  }
10
10
 
11
11
  .euiColorStopThumb.euiRangeThumb:not(:disabled) {
12
- // sass-lint:disable-block no-important no-color-literals
13
12
  @include euiRangeThumbBorder;
14
13
  @include euiRangeThumbBoxShadow;;
15
14
 
@@ -19,7 +18,7 @@
19
18
  }
20
19
 
21
20
  // in Chrome/FF/Edge we don't want to focus on click
22
- &:focus:not(:focus-visible) {
21
+ &:focus:not(:focus-visible) {
23
22
  @include euiRangeThumbBoxShadow;
24
23
  outline: none;
25
24
  }
@@ -37,9 +36,9 @@
37
36
  outline: none;
38
37
 
39
38
  .euiRangeTrack::after {
40
- // sass-lint:disable-block no-color-literals
41
- box-shadow: 0 0 0 1px rgba($euiColorEmptyShade, .8),
42
- 0 0 0 3px $euiFocusRingColor;
39
+ box-shadow:
40
+ 0 0 0 1px rgba($euiColorEmptyShade, .8),
41
+ 0 0 0 3px $euiFocusRingColor;
43
42
  }
44
43
  }
45
44
 
@@ -1,3 +1,6 @@
1
+ // TODO: Address nesting during Emotion conversion, if possible
2
+ // stylelint-disable max-nesting-depth
3
+
1
4
  .euiComboBox {
2
5
  // Round the left border when we append a label
3
6
  &--appended {
@@ -1,3 +1,6 @@
1
+ // TODO: Address nesting during Emotion conversion, if possible
2
+ // stylelint-disable max-nesting-depth
3
+
1
4
  .euiFormControlLayout--group {
2
5
  border-radius: $euiFormControlBorderRadius;
3
6
  background-color: $euiFormInputGroupLabelBackground;
@@ -1,3 +1,6 @@
1
+ // TODO: Address nesting during Emotion conversion, if possible
2
+ // stylelint-disable max-nesting-depth
3
+
1
4
  .euiFormControlLayoutDelimited {
2
5
  border-radius: $euiFormControlBorderRadius;
3
6
 
@@ -12,8 +15,7 @@
12
15
  overflow: hidden;
13
16
  }
14
17
 
15
- .euiFormControlLayout__prepend +
16
- .euiFormControlLayout__childrenWrapper {
18
+ .euiFormControlLayout__prepend + .euiFormControlLayout__childrenWrapper {
17
19
  &:last-child {
18
20
  border-radius: 0 $euiFormControlBorderRadius $euiFormControlBorderRadius 0;
19
21
  }
@@ -31,8 +33,7 @@
31
33
  overflow: hidden;
32
34
  }
33
35
 
34
- .euiFormControlLayout__prepend +
35
- .euiFormControlLayout__childrenWrapper {
36
+ .euiFormControlLayout__prepend + .euiFormControlLayout__childrenWrapper {
36
37
  &:last-child {
37
38
  border-radius: 0 $euiFormControlCompressedBorderRadius $euiFormControlCompressedBorderRadius 0;
38
39
  }
@@ -5,8 +5,8 @@
5
5
  }
6
6
 
7
7
  // Remove borders without deleting the prop just yet
8
- .euiHeaderSectionItem:after {
9
- display: none !important; // sass-lint:disable-line no-important
8
+ .euiHeaderSectionItem::after {
9
+ display: none !important; // stylelint-disable-line declaration-no-important
10
10
  }
11
11
 
12
12
  .euiHeaderLogo {
@@ -11,10 +11,10 @@
11
11
 
12
12
  &__range {
13
13
  @include euiRangeThumbPerBrowser {
14
- // sass-lint:disable-block no-color-literals
15
14
  border: 3px solid $euiRangeThumbBorderColor;
16
- box-shadow: 0 2px 2px -1px rgba($euiShadowColor, .2),
17
- 0 1px 5px -2px rgba($euiShadowColor, .2);
15
+ box-shadow:
16
+ 0 2px 2px -1px rgba($euiShadowColor, .2),
17
+ 0 1px 5px -2px rgba($euiShadowColor, .2);
18
18
  background-color: inherit;
19
19
  }
20
20
 
@@ -31,9 +31,9 @@
31
31
 
32
32
  &:focus:not(:focus-visible) {
33
33
  @include euiRangeThumbPerBrowser {
34
- // sass-lint:disable-block no-color-literals
35
- box-shadow: 0 2px 2px -1px rgba($euiShadowColor, .2),
36
- 0 1px 5px -2px rgba($euiShadowColor, .2);
34
+ box-shadow:
35
+ 0 2px 2px -1px rgba($euiShadowColor, .2),
36
+ 0 1px 5px -2px rgba($euiShadowColor, .2);
37
37
  }
38
38
  }
39
39
 
@@ -1,12 +1,12 @@
1
1
  .euiKeyPadMenuItem {
2
- border: none !important; // sass-lint:disable-line no-important
2
+ border: none !important; // stylelint-disable-line declaration-no-important
3
3
  box-shadow: none;
4
4
 
5
5
  // Focus and Hover states (when not disabled)
6
6
  &:not(.euiKeyPadMenuItem-isDisabled) {
7
7
  &:hover,
8
8
  &:focus:hover,
9
- &:focus-within {
9
+ &:focus-within {
10
10
  @include euiBottomShadowSmall;
11
11
  }
12
12
 
@@ -34,7 +34,7 @@
34
34
  &--#{$name} {
35
35
  background-color: $color;
36
36
  color: chooseLightOrDarkText($color, $euiColorGhost, $euiColorInk);
37
- outline-color: chooseLightOrDarkText($color, $color, $euiColorInk) !important; // sass-lint:disable-line no-important
37
+ outline-color: chooseLightOrDarkText($color, $color, $euiColorInk) !important; // stylelint-disable-line declaration-no-important
38
38
  }
39
39
  }
40
40
 
@@ -99,4 +99,3 @@
99
99
  .euiStepHorizontal:focus:not(.euiStepHorizontal-isDisabled) .euiStepHorizontal__number:not(:focus-visible) {
100
100
  outline: $euiFocusRingSize solid $euiColorPrimary;
101
101
  }
102
-
@@ -1,3 +1,5 @@
1
+ // stylelint-disable color-no-hex
2
+
1
3
  // This extra import allows any variables that are created via functions to work when loaded into JS
2
4
  @import '../../global_styling/functions/index';
3
5
 
@@ -45,4 +47,3 @@ $euiLinkColor: $euiColorPrimaryText !default;
45
47
  // Charts
46
48
  $euiColorChartLines: $euiColorLightShade !default;
47
49
  $euiColorChartBand: tint($euiColorLightestShade, 2.5%) !default;
48
-
@@ -1,3 +1,5 @@
1
+ // stylelint-disable color-no-hex
2
+
1
3
  // This extra import allows any variables that are created via functions to work when loaded into JS
2
4
  @import '../../global_styling/functions/index';
3
5