@elastic/eui 77.1.1 → 77.2.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 (108) hide show
  1. package/README.md +30 -29
  2. package/dist/eui_theme_dark.css +70 -158
  3. package/dist/eui_theme_dark.min.css +1 -1
  4. package/dist/eui_theme_light.css +70 -158
  5. package/dist/eui_theme_light.min.css +1 -1
  6. package/es/components/basic_table/basic_table.a11y.js +202 -0
  7. package/es/components/basic_table/{table.a11y.js → in_memory_table.a11y.js} +1 -1
  8. package/es/components/date_picker/date_picker.js +23 -15
  9. package/es/components/date_picker/date_picker_range.js +36 -42
  10. package/es/components/date_picker/super_date_picker/super_date_picker.js +99 -84
  11. package/es/components/form/field_number/field_number.js +39 -8
  12. package/es/components/form/field_text/field_text.js +1 -1
  13. package/es/components/form/form_control_layout/form_control_layout.js +67 -30
  14. package/es/components/form/form_control_layout/form_control_layout_delimited.js +31 -11
  15. package/es/components/form/form_control_layout/form_control_layout_icons.js +12 -20
  16. package/es/components/form/range/dual_range.js +2 -4
  17. package/es/components/form/range/range.js +0 -2
  18. package/es/components/form/range/range_input.js +54 -13
  19. package/es/components/form/validatable_control/validatable_control.js +15 -5
  20. package/es/components/search_bar/query/ast_to_es_query_dsl.js +6 -1
  21. package/es/components/search_bar/query/ast_to_es_query_string.js +3 -0
  22. package/es/components/suggest/suggest.a11y.js +70 -0
  23. package/es/components/table/table.a11y.js +75 -0
  24. package/eui.d.ts +54 -54
  25. package/i18ntokens.json +26 -8
  26. package/lib/components/basic_table/basic_table.a11y.js +194 -0
  27. package/lib/components/basic_table/{table.a11y.js → in_memory_table.a11y.js} +2 -2
  28. package/lib/components/date_picker/date_picker.js +23 -15
  29. package/lib/components/date_picker/date_picker_range.js +35 -41
  30. package/lib/components/date_picker/super_date_picker/super_date_picker.js +99 -84
  31. package/lib/components/form/field_number/field_number.js +42 -8
  32. package/lib/components/form/field_text/field_text.js +1 -1
  33. package/lib/components/form/form_control_layout/form_control_layout.js +67 -35
  34. package/lib/components/form/form_control_layout/form_control_layout_delimited.js +31 -11
  35. package/lib/components/form/form_control_layout/form_control_layout_icons.js +11 -19
  36. package/lib/components/form/range/dual_range.js +2 -4
  37. package/lib/components/form/range/range.js +0 -2
  38. package/lib/components/form/range/range_input.js +52 -11
  39. package/lib/components/form/validatable_control/validatable_control.js +14 -12
  40. package/lib/components/search_bar/query/ast_to_es_query_dsl.js +6 -1
  41. package/lib/components/search_bar/query/ast_to_es_query_string.js +3 -0
  42. package/lib/components/suggest/suggest.a11y.js +73 -0
  43. package/lib/components/table/table.a11y.js +78 -0
  44. package/optimize/es/components/basic_table/basic_table.a11y.js +194 -0
  45. package/optimize/es/components/basic_table/{table.a11y.js → in_memory_table.a11y.js} +1 -1
  46. package/optimize/es/components/date_picker/date_picker.js +17 -14
  47. package/optimize/es/components/date_picker/date_picker_range.js +20 -14
  48. package/optimize/es/components/date_picker/super_date_picker/super_date_picker.js +99 -84
  49. package/optimize/es/components/form/field_number/field_number.js +34 -8
  50. package/optimize/es/components/form/field_text/field_text.js +1 -1
  51. package/optimize/es/components/form/form_control_layout/form_control_layout.js +67 -30
  52. package/optimize/es/components/form/form_control_layout/form_control_layout_delimited.js +31 -11
  53. package/optimize/es/components/form/form_control_layout/form_control_layout_icons.js +10 -20
  54. package/optimize/es/components/form/range/dual_range.js +2 -4
  55. package/optimize/es/components/form/range/range.js +0 -2
  56. package/optimize/es/components/form/range/range_input.js +49 -12
  57. package/optimize/es/components/form/validatable_control/validatable_control.js +10 -5
  58. package/optimize/es/components/search_bar/query/ast_to_es_query_dsl.js +6 -1
  59. package/optimize/es/components/search_bar/query/ast_to_es_query_string.js +3 -0
  60. package/optimize/es/components/suggest/suggest.a11y.js +70 -0
  61. package/optimize/es/components/table/table.a11y.js +75 -0
  62. package/optimize/lib/components/basic_table/basic_table.a11y.js +188 -0
  63. package/{test-env/components/basic_table/table.a11y.js → optimize/lib/components/basic_table/in_memory_table.a11y.js} +2 -2
  64. package/optimize/lib/components/date_picker/date_picker.js +17 -14
  65. package/optimize/lib/components/date_picker/date_picker_range.js +19 -13
  66. package/optimize/lib/components/date_picker/super_date_picker/super_date_picker.js +99 -84
  67. package/optimize/lib/components/form/field_number/field_number.js +37 -8
  68. package/optimize/lib/components/form/field_text/field_text.js +1 -1
  69. package/optimize/lib/components/form/form_control_layout/form_control_layout.js +67 -35
  70. package/optimize/lib/components/form/form_control_layout/form_control_layout_delimited.js +31 -11
  71. package/optimize/lib/components/form/form_control_layout/form_control_layout_icons.js +9 -19
  72. package/optimize/lib/components/form/range/dual_range.js +2 -4
  73. package/optimize/lib/components/form/range/range.js +0 -2
  74. package/optimize/lib/components/form/range/range_input.js +47 -10
  75. package/optimize/lib/components/form/validatable_control/validatable_control.js +10 -4
  76. package/optimize/lib/components/search_bar/query/ast_to_es_query_dsl.js +6 -1
  77. package/optimize/lib/components/search_bar/query/ast_to_es_query_string.js +3 -0
  78. package/optimize/lib/components/suggest/suggest.a11y.js +73 -0
  79. package/optimize/lib/components/table/table.a11y.js +78 -0
  80. package/package.json +1 -1
  81. package/src/components/date_picker/_date_picker_range.scss +0 -60
  82. package/src/components/date_picker/super_date_picker/_super_date_picker.scss +23 -11
  83. package/src/components/date_picker/super_date_picker/_variables.scss +3 -0
  84. package/src/components/date_picker/super_date_picker/date_popover/_date_popover_button.scss +5 -7
  85. package/src/components/form/form_control_layout/_form_control_layout.scss +2 -2
  86. package/src/components/form/form_control_layout/_form_control_layout_delimited.scss +12 -36
  87. package/src/components/form/form_control_layout/_form_control_layout_icons.scss +27 -6
  88. package/src/themes/amsterdam/overrides/_date_picker.scss +0 -14
  89. package/src/themes/amsterdam/overrides/_index.scss +0 -1
  90. package/test-env/components/basic_table/basic_table.a11y.js +188 -0
  91. package/{optimize/lib/components/basic_table/table.a11y.js → test-env/components/basic_table/in_memory_table.a11y.js} +2 -2
  92. package/test-env/components/date_picker/date_picker.js +23 -15
  93. package/test-env/components/date_picker/date_picker_range.js +35 -41
  94. package/test-env/components/date_picker/super_date_picker/super_date_picker.js +99 -84
  95. package/test-env/components/form/field_number/field_number.js +37 -8
  96. package/test-env/components/form/field_text/field_text.js +1 -1
  97. package/test-env/components/form/form_control_layout/form_control_layout.js +68 -35
  98. package/test-env/components/form/form_control_layout/form_control_layout_delimited.js +31 -11
  99. package/test-env/components/form/form_control_layout/form_control_layout_icons.js +11 -19
  100. package/test-env/components/form/range/dual_range.js +2 -4
  101. package/test-env/components/form/range/range.js +0 -2
  102. package/test-env/components/form/range/range_input.js +47 -11
  103. package/test-env/components/form/validatable_control/validatable_control.js +9 -4
  104. package/test-env/components/search_bar/query/ast_to_es_query_dsl.js +6 -1
  105. package/test-env/components/search_bar/query/ast_to_es_query_string.js +3 -0
  106. package/test-env/components/suggest/suggest.a11y.js +73 -0
  107. package/test-env/components/table/table.a11y.js +78 -0
  108. package/src/themes/amsterdam/overrides/_date_popover_button.scss +0 -14
package/README.md CHANGED
@@ -1,50 +1,51 @@
1
- <img src="https://repository-images.githubusercontent.com/107422373/b6180480-a1d7-11eb-8a3c-902086232aa7" />
1
+ <img src="https://repository-images.githubusercontent.com/107422373/b6180480-a1d7-11eb-8a3c-902086232aa7" alt="" />
2
2
 
3
3
  # Elastic UI Framework
4
4
 
5
5
  **The Elastic UI Framework is a collection of React UI components for quickly building user interfaces at Elastic.**
6
6
 
7
- Check out our [full documentation site][docs] which contains many examples of components in the EUI framework aesthetic, and how to use them in your products. We also have a [FAQ][faq] that covers common usage questions. For other general questions regarding EUI, check out the [Discussions tab](https://github.com/elastic/eui/discussions).
7
+ Check out our [full documentation site][docs] which contains many examples of components in the EUI framework aesthetic, and how to use them in your products. Our FAQ below covers common usage questions for other general questions regarding EUI, check out the [Discussions tab](https://github.com/elastic/eui/discussions).
8
8
 
9
- The rest of this doc will detail how to run and contribute to the **EUI documentation** site locally.
9
+ ## Frequently Asked Questions
10
10
 
11
- ## Running Locally
11
+ ### What is the Elastic UI Framework?
12
12
 
13
- ### Node
13
+ The Elastic UI Framework (EUI) is a design library in use at Elastic to build React applications that need to share our branding and aesthetics. It distributes typed UI React components and static assets for use in building web layouts. Alongside the React components, we ship theme & style utilities that can be used independently on their own.
14
14
 
15
- We depend upon the version of node defined in [.nvmrc](.nvmrc).
15
+ The primary goal of this library is to provide reusable UI components that can be used throughout Elastic's web products. As React components, they remove CSS from the process of building UIs. As a single source of truth, the framework allows our designers to make changes to our aesthetic directly in the code. And unit test coverage for the UI components allows us to deliver a stable "API for user interfaces".
16
16
 
17
- You will probably want to install a node version manager. [nvm](https://github.com/creationix/nvm) is recommended.
17
+ ### Can I use EUI?
18
18
 
19
- To install and use the correct node version with `nvm`:
19
+ Please see Elastic's licensing FAQ: [I’m using EUI or Elastic Charts in my application outside of Kibana, how does this affect me?][licensing-faq]
20
20
 
21
- ```bash
22
- nvm install
23
- ```
21
+ ### Why is EUI open source?
24
22
 
25
- ### Documentation
23
+ Many of Elastic's products are open source and rely upon this library to function. The Elastic UI Framework began as a folder of code in Kibana and we decided it could be used beyond that codebase. It exists as an independent library so that patterns can be shared across teams and design standards can be scaled across our organization. Since most of our products are open source, we treat this one similarly as far as public publishing and conversation even if its usage tends to focus more inward towards Elastic itself.
26
24
 
27
- You can run the documentation locally at [http://localhost:8030/](http://localhost:8030/) by running the following.
25
+ ### What is the versioning, release, and upgrade strategy?
28
26
 
29
- ```bash
30
- yarn
31
- yarn start
32
- ```
27
+ We use [semver](https://semver.org/) for versioning and use that to denote breaking changes in EUI upgrades. Traditionally we consider API changes in our prop names or existing component functionality to be a reason for a breaking change, but do not track the renaming of CSS selectors, mixins or other style changes under this same rigor.
33
28
 
34
- If another process is already listening on port 8030, the next free port will be used. Alternatively, you can specify a port:
29
+ Traditionally releases are made weekly against whatever is in the `main` branch and you can upgrade from NPM as you see fit.
35
30
 
36
- ```bash
37
- yarn start --port 9000
38
- ```
31
+ ### Can I contribute to EUI?
39
32
 
40
- ## Goals
33
+ Yes! We welcome community-contributed PRs, especially around feature requests that the EUI team may not have bandwidth to carry out alone. You can find documentation around creating and submitting new components in [CONTRIBUTING.md](CONTRIBUTING.md).
41
34
 
42
- The primary goal of this library is to provide reusable UI components that can be used throughout
43
- Elastic's web products. As React components, they remove CSS from the process of building UIs.
44
- As a single source of truth, the framework allows our designers to make changes to our aesthetic
45
- directly in the code. And unit test coverage for the UI components allows us to deliver a stable
46
- "API for user interfaces".
35
+ ### What about reporting bugs and feature requests?
47
36
 
37
+ Bug reports and feature requests are most welcome, but our roadmap and prioritization are driven primarily by [internal Elastic usage](./CONTRIBUTING.md#how-we-assign-work-and-define-our-roadmap).
38
+
39
+ Please note that in order to keep our backlog manageable and focused on tasks we intend to complete, feature requests & tech debt issues that are inactive for a year will be auto-closed (bugs will remain open if determined to be reproducible and valid).
40
+
41
+ This activity counter can be soft reset by commenting on the issue directly, but please do so mindfully. We would ask that you proactively let the EUI team know why this request matters to you or how it impacts you or your users, in order to help us prioritize accordingly.
42
+
43
+ The EUI team, like everyone else, has a finite amount of time and resources, and it is not humanly possible for us to implement every task or feature requested of us. However, that's where the beauty of open source comes in - if your request is important to you, we strongly encourage you to [contribute code directly to EUI](CONTRIBUTING.md) that addresses your issue or request!
44
+
45
+ <!-- TODO: Delete this question once the Emotion migration is complete -->
46
+ ### What is the status of EUI's theming?
47
+
48
+ The EUI library was previously built upon Sass and is in the process of migrating to CSS-in-JS (specifically [Emotion](https://emotion.sh)). While this work is in progress, we ask for your patience with our in-between state in areas such as documentation and setup.
48
49
 
49
50
  ## Wiki
50
51
 
@@ -69,9 +70,9 @@ directly in the code. And unit test coverage for the UI components allows us to
69
70
 
70
71
  ## License
71
72
 
72
- [Dual-licensed under Elastic v2 and Server Side Public License, v 1][license] Read the [FAQ][faq] for details.
73
+ [Dual-licensed under Elastic v2 and Server Side Public License, v1][license]. See Elastic's [licensing FAQ][licensing-faq] for details.
73
74
 
74
75
  [license]: LICENSE.txt
75
- [faq]: FAQ.md
76
+ [licensing-faq]: https://www.elastic.co/pricing/faq/licensing#im-using-eui-or-elastic-charts-in-my-application-outside-of-kibana-how-does-this-affect-me
76
77
  [consuming]: wiki/consuming.md
77
78
  [docs]: https://elastic.github.io/eui/
@@ -2743,86 +2743,8 @@ The following files still use the Sass version:
2743
2743
  opacity: 1;
2744
2744
  }
2745
2745
  }
2746
- /**
2747
- * 1. Account for inner box-shadow style border
2748
- */
2749
- .euiDatePickerRange {
2750
- max-width: 400px;
2751
- width: 100%;
2752
- height: auto;
2753
- background-color: #16171c;
2754
- background-repeat: no-repeat;
2755
- background-size: 0% 100%;
2756
- box-shadow: 0 0 transparent, inset 0 0 0 1px rgba(255, 255, 255, 0.1);
2757
- transition: box-shadow 150ms ease-in, background-image 150ms ease-in, background-size 150ms ease-in, background-color 150ms ease-in;
2758
- display: -webkit-flex;
2759
- display: flex;
2760
- -webkit-align-items: center;
2761
- align-items: center;
2762
- padding: 1px; /* 1 */
2763
- }
2764
- .euiDatePickerRange--fullWidth {
2765
- max-width: 100%;
2766
- }
2767
- .euiDatePickerRange--compressed {
2768
- height: 32px;
2769
- }
2770
- .euiDatePickerRange--inGroup {
2771
- height: 100%;
2772
- }
2773
- @supports (-moz-appearance: none) {
2774
- .euiDatePickerRange {
2775
- transition-property: box-shadow, background-image, background-size;
2776
- }
2777
- }
2778
- .euiDatePickerRange > * {
2779
- -webkit-flex-grow: 1;
2780
- flex-grow: 1;
2781
- }
2782
2746
  .euiDatePickerRange .euiFieldText.euiDatePicker {
2783
2747
  height: 38px;
2784
- box-shadow: none !important;
2785
- text-align: center;
2786
- }
2787
- .euiDatePickerRange .euiDatePickerRange__start {
2788
- border-top-right-radius: 0;
2789
- border-bottom-right-radius: 0;
2790
- }
2791
- .euiDatePickerRange .euiDatePickerRange__end {
2792
- border-top-left-radius: 0;
2793
- border-bottom-left-radius: 0;
2794
- }
2795
- .euiDatePickerRange .react-datepicker-popper .euiFieldText.euiDatePicker {
2796
- text-align: left;
2797
- }
2798
- .euiDatePickerRange--inGroup {
2799
- box-shadow: none;
2800
- padding: 0;
2801
- }
2802
-
2803
- .euiDatePickerRange--isDisabled {
2804
- background: #202128;
2805
- }
2806
-
2807
- .euiDatePickerRange--readOnly {
2808
- background: #1D1E24;
2809
- }
2810
-
2811
- .euiDatePickerRange__delimeter {
2812
- -webkit-align-self: stretch;
2813
- align-self: stretch;
2814
- height: auto;
2815
- -webkit-flex-grow: 0;
2816
- flex-grow: 0;
2817
- display: -webkit-flex;
2818
- display: flex;
2819
- -webkit-align-items: center;
2820
- align-items: center;
2821
- }
2822
-
2823
- .euiDatePickerRange--isInvalid:not(.euiDatePickerRange--isDisabled):not(.euiDatePickerRange--readOnly) .euiDatePickerRange__delimeter {
2824
- background-image: linear-gradient(to top, #F86B63, #F86B63 2px, transparent 2px, transparent 100%);
2825
- background-size: 100%;
2826
2748
  }
2827
2749
 
2828
2750
  .euiSuperDatePicker__absoluteDateFormRow {
@@ -2885,16 +2807,17 @@ The following files still use the Sass version:
2885
2807
  }
2886
2808
  .euiDatePopoverButton:disabled {
2887
2809
  background-color: #202128;
2810
+ background-image: none;
2888
2811
  color: #98A2B3;
2889
2812
  cursor: default;
2890
2813
  }
2891
2814
 
2892
2815
  .euiDatePopoverButton--start {
2893
- text-align: right;
2816
+ text-align: center;
2894
2817
  }
2895
2818
 
2896
2819
  .euiDatePopoverButton--end {
2897
- text-align: left;
2820
+ text-align: center;
2898
2821
  }
2899
2822
 
2900
2823
  .euiDatePopoverContent {
@@ -3017,20 +2940,19 @@ The following files still use the Sass version:
3017
2940
  max-width: 100% !important;
3018
2941
  }
3019
2942
  .euiSuperDatePicker > .euiFormControlLayout__childrenWrapper {
3020
- -webkit-flex: 1 1 100%;
3021
- flex: 1 1 100%;
2943
+ display: -webkit-flex;
2944
+ display: flex;
2945
+ -webkit-align-items: center;
2946
+ align-items: center;
3022
2947
  overflow: hidden;
2948
+ background-color: #16171c;
3023
2949
  }
3024
- .euiSuperDatePicker > .euiFormControlLayout__childrenWrapper > .euiDatePickerRange {
3025
- max-width: none;
3026
- width: auto;
2950
+ .euiSuperDatePicker > .euiFormControlLayout__childrenWrapper:last-child {
3027
2951
  border-radius: 0 6px 6px 0;
3028
2952
  }
3029
- .euiSuperDatePicker > .euiFormControlLayout__childrenWrapper:not(:last-child) > .euiDatePickerRange,
3030
- .euiSuperDatePicker > .euiFormControlLayout__childrenWrapper:not(:last-child) > .euiDatePickerRange .euiDatePopoverButton--end,
3031
- .euiSuperDatePicker > .euiFormControlLayout__childrenWrapper:not(:last-child) > .euiDatePickerRange .euiSuperDatePicker__prettyFormat {
3032
- border-top-right-radius: 0;
3033
- border-bottom-right-radius: 0;
2953
+ .euiSuperDatePicker > .euiFormControlLayout__childrenWrapper > .euiFormControlLayoutDelimited__input {
2954
+ -webkit-flex-grow: 1;
2955
+ flex-grow: 1;
3034
2956
  }
3035
2957
 
3036
2958
  .euiSuperDatePicker__prettyFormat {
@@ -3077,6 +2999,20 @@ The following files still use the Sass version:
3077
2999
  cursor: not-allowed;
3078
3000
  }
3079
3001
 
3002
+ /**
3003
+ * Make the arrow delimiter match the colors of `.euiDatePopoverButton-needsUpdating`
3004
+ */
3005
+ .euiSuperDatePicker--needsUpdating.euiFormControlLayoutDelimited .euiFormControlLayout__childrenWrapper {
3006
+ background-color: #264341;
3007
+ }
3008
+ .euiSuperDatePicker--needsUpdating.euiFormControlLayoutDelimited .euiFormControlLayoutDelimited__delimiter {
3009
+ color: #7DDED8;
3010
+ }
3011
+
3012
+ .euiSuperDatePicker .euiFormControlLayout__childrenWrapper {
3013
+ transition: background 150ms ease-in;
3014
+ }
3015
+
3080
3016
  .euiDataGrid {
3081
3017
  display: -webkit-flex;
3082
3018
  display: flex;
@@ -6040,14 +5976,14 @@ The following files still use the Sass version:
6040
5976
  max-width: 50%;
6041
5977
  }
6042
5978
  .euiFormControlLayout--group .euiFormLabel,
6043
- .euiFormControlLayout--group .euiText {
5979
+ .euiFormControlLayout--group .euiText:not(.euiFormControlLayoutDelimited__delimiter) {
6044
5980
  background-color: #2c2f37;
6045
5981
  padding: 12px;
6046
5982
  line-height: 16px !important;
6047
5983
  cursor: default !important;
6048
5984
  }
6049
5985
  .euiFormControlLayout--group .euiFormLabel + *:not(.euiFormControlLayout__childrenWrapper):not(input),
6050
- .euiFormControlLayout--group .euiText + *:not(.euiFormControlLayout__childrenWrapper):not(input) {
5986
+ .euiFormControlLayout--group .euiText:not(.euiFormControlLayoutDelimited__delimiter) + *:not(.euiFormControlLayout__childrenWrapper):not(input) {
6051
5987
  margin-left: -12px;
6052
5988
  }
6053
5989
  .euiFormControlLayout--group > *:not(.euiFormControlLayout__childrenWrapper) + .euiFormLabel,
@@ -6077,11 +6013,11 @@ The following files still use the Sass version:
6077
6013
  }
6078
6014
  }
6079
6015
  .euiFormControlLayout--group.euiFormControlLayout--compressed .euiFormLabel,
6080
- .euiFormControlLayout--group.euiFormControlLayout--compressed .euiText {
6016
+ .euiFormControlLayout--group.euiFormControlLayout--compressed .euiText:not(.euiFormControlLayoutDelimited__delimiter) {
6081
6017
  padding: 8px;
6082
6018
  }
6083
6019
  .euiFormControlLayout--group.euiFormControlLayout--compressed .euiFormLabel + *:not(.euiFormControlLayout__childrenWrapper),
6084
- .euiFormControlLayout--group.euiFormControlLayout--compressed .euiText + *:not(.euiFormControlLayout__childrenWrapper) {
6020
+ .euiFormControlLayout--group.euiFormControlLayout--compressed .euiText:not(.euiFormControlLayoutDelimited__delimiter) + *:not(.euiFormControlLayout__childrenWrapper) {
6085
6021
  margin-left: -8px;
6086
6022
  }
6087
6023
  .euiFormControlLayout--group.euiFormControlLayout--compressed > *:not(.euiFormControlLayout__childrenWrapper) + .euiFormLabel,
@@ -6115,15 +6051,13 @@ The following files still use the Sass version:
6115
6051
  transition-property: box-shadow, background-image, background-size;
6116
6052
  }
6117
6053
  }
6118
- .euiFormControlLayoutDelimited .euiFormControlLayoutDelimited__delimeter {
6119
- background-color: #16171c;
6120
- }
6121
6054
  .euiFormControlLayoutDelimited > .euiFormControlLayout__childrenWrapper {
6122
6055
  display: -webkit-flex;
6123
6056
  display: flex;
6124
6057
  -webkit-align-items: center;
6125
6058
  align-items: center;
6126
6059
  width: 100%;
6060
+ background-color: #16171c;
6127
6061
  }
6128
6062
  .euiFormControlLayoutDelimited[class*="--compressed"] {
6129
6063
  background-color: #16171c;
@@ -6138,17 +6072,7 @@ The following files still use the Sass version:
6138
6072
  transition-property: box-shadow, background-image, background-size;
6139
6073
  }
6140
6074
  }
6141
- .euiFormControlLayoutDelimited[class*="--compressed"] .euiFormControlLayoutDelimited__input {
6142
- height: 100%;
6143
- max-width: none;
6144
- padding-left: 8px;
6145
- padding-right: 8px;
6146
- }
6147
- .euiFormControlLayoutDelimited[class*="--compressed"] .euiFormControlLayoutIcons {
6148
- padding-left: 8px;
6149
- padding-right: 8px;
6150
- }
6151
- .euiFormControlLayoutDelimited[class*="--fullWidth"] .euiFormControlLayout__childrenWrapper, .euiFormControlLayoutDelimited[class*="--fullWidth"] input {
6075
+ .euiFormControlLayoutDelimited[class*="--fullWidth"] .euiFormControlLayout__childrenWrapper, .euiFormControlLayoutDelimited[class*="--fullWidth"] .euiFormControlLayout__childrenWrapper > *:not(.euiFormControlLayoutDelimited__delimiter):not(.euiFormControlLayoutIcons) {
6152
6076
  width: 100%;
6153
6077
  max-width: none;
6154
6078
  }
@@ -6171,7 +6095,7 @@ The following files still use the Sass version:
6171
6095
  color: #535966;
6172
6096
  opacity: 1;
6173
6097
  }
6174
- .euiFormControlLayoutDelimited[class*=-isDisabled] .euiFormControlLayoutDelimited__delimeter {
6098
+ .euiFormControlLayoutDelimited[class*=-isDisabled] .euiFormControlLayout__childrenWrapper {
6175
6099
  background-color: #202128;
6176
6100
  }
6177
6101
  .euiFormControlLayoutDelimited[class*="--readOnly"] {
@@ -6182,18 +6106,12 @@ The following files still use the Sass version:
6182
6106
  border-color: transparent;
6183
6107
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.1);
6184
6108
  }
6185
- .euiFormControlLayoutDelimited[class*="--readOnly"] input,
6186
- .euiFormControlLayoutDelimited[class*="--readOnly"] .euiFormControlLayoutDelimited__delimeter {
6109
+ .euiFormControlLayoutDelimited[class*="--readOnly"] .euiFormControlLayout__childrenWrapper {
6187
6110
  background-color: #1D1E24;
6188
6111
  }
6189
- .euiFormControlLayoutDelimited .euiFormControlLayoutIcons {
6190
- position: static;
6191
- padding-left: 12px;
6192
- padding-right: 12px;
6193
- }
6194
- .euiFormControlLayoutDelimited .euiFormControlLayoutIcons:not(.euiFormControlLayoutIcons--right) {
6195
- -webkit-order: -1;
6196
- order: -1;
6112
+ .euiFormControlLayoutDelimited--isInvalid .euiFormControlLayout__childrenWrapper {
6113
+ background-image: linear-gradient(to top, #F86B63, #F86B63 2px, transparent 2px, transparent 100%);
6114
+ background-size: 100%;
6197
6115
  }
6198
6116
 
6199
6117
  .euiFormControlLayoutDelimited__input {
@@ -6204,20 +6122,20 @@ The following files still use the Sass version:
6204
6122
  min-width: 0;
6205
6123
  }
6206
6124
 
6207
- .euiFormControlLayoutDelimited__delimeter {
6208
- line-height: 1 !important;
6209
- -webkit-flex: 0 0 auto;
6210
- flex: 0 0 auto;
6211
- padding-left: 6px;
6212
- padding-right: 6px;
6125
+ .euiFormControlLayoutDelimited__delimiter {
6126
+ -webkit-align-self: stretch;
6127
+ align-self: stretch;
6128
+ -webkit-flex-grow: 0;
6129
+ flex-grow: 0;
6130
+ display: -webkit-flex;
6131
+ display: flex;
6132
+ -webkit-align-items: center;
6133
+ align-items: center;
6134
+ line-height: 1;
6213
6135
  }
6214
6136
 
6215
6137
  .euiFormControlLayoutIcons {
6216
6138
  pointer-events: none;
6217
- position: absolute;
6218
- top: 0;
6219
- bottom: 0;
6220
- left: 12px;
6221
6139
  display: -webkit-flex;
6222
6140
  display: flex;
6223
6141
  -webkit-align-items: center;
@@ -6226,9 +6144,31 @@ The following files still use the Sass version:
6226
6144
  .euiFormControlLayoutIcons > * + * {
6227
6145
  margin-left: 6px;
6228
6146
  }
6229
- .euiFormControlLayout--compressed .euiFormControlLayoutIcons {
6147
+ .euiFormControlLayoutIcons--absolute {
6148
+ position: absolute;
6149
+ top: 0;
6150
+ bottom: 0;
6151
+ left: 12px;
6152
+ }
6153
+ .euiFormControlLayout--compressed .euiFormControlLayoutIcons--absolute {
6230
6154
  left: 8px;
6231
6155
  }
6156
+ .euiFormControlLayoutIcons--static {
6157
+ position: static;
6158
+ height: 100%;
6159
+ -webkit-align-self: stretch;
6160
+ align-self: stretch;
6161
+ -webkit-flex-grow: 0;
6162
+ flex-grow: 0;
6163
+ padding-inline: 12px;
6164
+ }
6165
+ .euiFormControlLayout--compressed .euiFormControlLayoutIcons--static {
6166
+ padding-inline: 8px;
6167
+ }
6168
+
6169
+ .euiFormControlLayoutIcons--left {
6170
+ z-index: 1;
6171
+ }
6232
6172
 
6233
6173
  .euiFormControlLayoutIcons--right {
6234
6174
  left: auto;
@@ -10316,38 +10256,10 @@ button.euiSuggestItem:hover .euiSuggestItem__label, button.euiSuggestItem:focus
10316
10256
  border-radius: 6px;
10317
10257
  }
10318
10258
 
10319
- .euiDatePickerRange {
10320
- border-radius: 6px;
10321
- }
10322
-
10323
10259
  .euiDatePicker.euiDatePicker--shadow.euiDatePicker--inline .react-datepicker {
10324
10260
  border: none;
10325
10261
  }
10326
10262
 
10327
- .euiSuperDatePicker__prettyFormat {
10328
- border-top-right-radius: 6px;
10329
- border-bottom-right-radius: 6px;
10330
- }
10331
-
10332
- .euiFormControlLayout--compressed.euiSuperDatePicker .euiSuperDatePicker__prettyFormat {
10333
- border-top-right-radius: 4px;
10334
- border-bottom-right-radius: 4px;
10335
- }
10336
-
10337
- .euiDatePopoverButton--start {
10338
- text-align: center;
10339
- }
10340
-
10341
- .euiDatePopoverButton--end {
10342
- text-align: center;
10343
- border-top-right-radius: 6px;
10344
- border-bottom-right-radius: 6px;
10345
- }
10346
- .euiDatePopoverButton--end.euiDatePopoverButton--compressed {
10347
- border-top-right-radius: 4px;
10348
- border-bottom-right-radius: 4px;
10349
- }
10350
-
10351
10263
  .euiDescriptionList.euiDescriptionList--inline.euiDescriptionList--compressed .euiDescriptionList__title {
10352
10264
  line-height: 1.5;
10353
10265
  }