@elastic/eui 95.0.0-backport.0 → 95.1.0-backport.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 (165) hide show
  1. package/dist/eui_theme_dark.css +191 -1421
  2. package/dist/eui_theme_dark.min.css +1 -1
  3. package/dist/eui_theme_light.css +191 -1421
  4. package/dist/eui_theme_light.min.css +1 -1
  5. package/es/components/color_picker/color_picker.js +1 -5
  6. package/es/components/date_picker/date_picker.js +21 -23
  7. package/es/components/date_picker/date_picker_range.js +8 -13
  8. package/es/components/date_picker/date_picker_range.styles.js +3 -8
  9. package/es/components/date_picker/react-datepicker/src/index.js +6 -5
  10. package/es/components/form/field_number/field_number.js +7 -22
  11. package/es/components/form/field_number/field_number.styles.js +25 -0
  12. package/es/components/form/field_password/field_password.js +38 -41
  13. package/es/components/form/field_password/field_password.styles.js +35 -0
  14. package/es/components/form/field_search/field_search.js +19 -22
  15. package/es/components/form/field_search/field_search.styles.js +24 -0
  16. package/es/components/form/field_text/field_text.js +7 -21
  17. package/es/components/form/field_text/field_text.styles.js +25 -0
  18. package/es/components/form/form.styles.js +71 -20
  19. package/es/components/form/form_control_layout/_num_icons.js +34 -0
  20. package/es/components/form/form_control_layout/form_control_layout.js +109 -137
  21. package/es/components/form/range/range_wrapper.js +1 -1
  22. package/es/components/form/range/range_wrapper.styles.js +7 -5
  23. package/es/components/form/select/select.js +24 -34
  24. package/es/components/form/select/select.styles.js +36 -0
  25. package/es/components/form/super_select/super_select.js +15 -18
  26. package/es/components/form/super_select/super_select.styles.js +45 -0
  27. package/es/components/form/super_select/super_select_control.js +10 -15
  28. package/es/components/form/super_select/super_select_item.js +42 -0
  29. package/es/components/form/text_area/text_area.js +12 -24
  30. package/es/components/form/text_area/text_area.styles.js +68 -0
  31. package/es/components/markdown_editor/markdown_editor_drop_zone.styles.js +1 -1
  32. package/es/components/markdown_editor/markdown_editor_text_area.styles.js +4 -3
  33. package/eui.d.ts +314 -167
  34. package/i18ntokens.json +16 -16
  35. package/lib/components/color_picker/color_picker.js +1 -5
  36. package/lib/components/date_picker/date_picker.js +21 -23
  37. package/lib/components/date_picker/date_picker_range.js +6 -11
  38. package/lib/components/date_picker/date_picker_range.styles.js +3 -8
  39. package/lib/components/date_picker/react-datepicker/src/index.js +6 -5
  40. package/lib/components/form/field_number/field_number.js +6 -20
  41. package/lib/components/form/field_number/field_number.styles.js +31 -0
  42. package/lib/components/form/field_password/field_password.js +37 -40
  43. package/lib/components/form/field_password/field_password.styles.js +39 -0
  44. package/lib/components/form/field_search/field_search.js +19 -22
  45. package/lib/components/form/field_search/field_search.styles.js +30 -0
  46. package/lib/components/form/field_text/field_text.js +7 -21
  47. package/lib/components/form/field_text/field_text.styles.js +31 -0
  48. package/lib/components/form/form.styles.js +71 -20
  49. package/lib/components/form/form_control_layout/_num_icons.js +35 -3
  50. package/lib/components/form/form_control_layout/form_control_layout.js +115 -141
  51. package/lib/components/form/range/range_wrapper.js +1 -1
  52. package/lib/components/form/range/range_wrapper.styles.js +6 -4
  53. package/lib/components/form/select/select.js +27 -34
  54. package/lib/components/form/select/select.styles.js +42 -0
  55. package/lib/components/form/super_select/super_select.js +15 -18
  56. package/lib/components/form/super_select/super_select.styles.js +51 -0
  57. package/lib/components/form/super_select/super_select_control.js +10 -15
  58. package/lib/components/form/super_select/super_select_item.js +46 -0
  59. package/lib/components/form/text_area/text_area.js +11 -23
  60. package/lib/components/form/text_area/text_area.styles.js +72 -0
  61. package/lib/components/markdown_editor/markdown_editor_drop_zone.styles.js +1 -1
  62. package/lib/components/markdown_editor/markdown_editor_text_area.styles.js +4 -3
  63. package/optimize/es/components/color_picker/color_picker.js +1 -5
  64. package/optimize/es/components/date_picker/date_picker.js +21 -23
  65. package/optimize/es/components/date_picker/date_picker_range.js +8 -13
  66. package/optimize/es/components/date_picker/date_picker_range.styles.js +3 -8
  67. package/optimize/es/components/date_picker/react-datepicker/src/index.js +6 -5
  68. package/optimize/es/components/form/field_number/field_number.js +7 -19
  69. package/optimize/es/components/form/field_number/field_number.styles.js +25 -0
  70. package/optimize/es/components/form/field_password/field_password.js +38 -41
  71. package/optimize/es/components/form/field_password/field_password.styles.js +35 -0
  72. package/optimize/es/components/form/field_search/field_search.js +18 -21
  73. package/optimize/es/components/form/field_search/field_search.styles.js +24 -0
  74. package/optimize/es/components/form/field_text/field_text.js +7 -18
  75. package/optimize/es/components/form/field_text/field_text.styles.js +25 -0
  76. package/optimize/es/components/form/form.styles.js +71 -20
  77. package/optimize/es/components/form/form_control_layout/_num_icons.js +29 -0
  78. package/optimize/es/components/form/form_control_layout/form_control_layout.js +97 -130
  79. package/optimize/es/components/form/range/range_wrapper.js +1 -1
  80. package/optimize/es/components/form/range/range_wrapper.styles.js +7 -5
  81. package/optimize/es/components/form/select/select.js +24 -34
  82. package/optimize/es/components/form/select/select.styles.js +36 -0
  83. package/optimize/es/components/form/super_select/super_select.js +15 -18
  84. package/optimize/es/components/form/super_select/super_select.styles.js +45 -0
  85. package/optimize/es/components/form/super_select/super_select_control.js +10 -15
  86. package/optimize/es/components/form/super_select/super_select_item.js +37 -0
  87. package/optimize/es/components/form/text_area/text_area.js +11 -23
  88. package/optimize/es/components/form/text_area/text_area.styles.js +68 -0
  89. package/optimize/es/components/markdown_editor/markdown_editor_drop_zone.styles.js +1 -1
  90. package/optimize/es/components/markdown_editor/markdown_editor_text_area.styles.js +4 -3
  91. package/optimize/lib/components/color_picker/color_picker.js +1 -5
  92. package/optimize/lib/components/date_picker/date_picker.js +21 -23
  93. package/optimize/lib/components/date_picker/date_picker_range.js +6 -11
  94. package/optimize/lib/components/date_picker/date_picker_range.styles.js +3 -8
  95. package/optimize/lib/components/date_picker/react-datepicker/src/index.js +6 -5
  96. package/optimize/lib/components/form/field_number/field_number.js +6 -18
  97. package/optimize/lib/components/form/field_number/field_number.styles.js +31 -0
  98. package/optimize/lib/components/form/field_password/field_password.js +37 -40
  99. package/optimize/lib/components/form/field_password/field_password.styles.js +39 -0
  100. package/optimize/lib/components/form/field_search/field_search.js +18 -21
  101. package/optimize/lib/components/form/field_search/field_search.styles.js +30 -0
  102. package/optimize/lib/components/form/field_text/field_text.js +7 -18
  103. package/optimize/lib/components/form/field_text/field_text.styles.js +31 -0
  104. package/optimize/lib/components/form/form.styles.js +71 -20
  105. package/optimize/lib/components/form/form_control_layout/_num_icons.js +31 -1
  106. package/optimize/lib/components/form/form_control_layout/form_control_layout.js +98 -130
  107. package/optimize/lib/components/form/range/range_wrapper.js +1 -1
  108. package/optimize/lib/components/form/range/range_wrapper.styles.js +6 -4
  109. package/optimize/lib/components/form/select/select.js +27 -34
  110. package/optimize/lib/components/form/select/select.styles.js +42 -0
  111. package/optimize/lib/components/form/super_select/super_select.js +15 -18
  112. package/optimize/lib/components/form/super_select/super_select.styles.js +51 -0
  113. package/optimize/lib/components/form/super_select/super_select_control.js +10 -15
  114. package/optimize/lib/components/form/super_select/super_select_item.js +41 -0
  115. package/optimize/lib/components/form/text_area/text_area.js +10 -22
  116. package/optimize/lib/components/form/text_area/text_area.styles.js +72 -0
  117. package/optimize/lib/components/markdown_editor/markdown_editor_drop_zone.styles.js +1 -1
  118. package/optimize/lib/components/markdown_editor/markdown_editor_text_area.styles.js +4 -3
  119. package/package.json +2 -2
  120. package/src/components/color_picker/_color_picker.scss +3 -11
  121. package/src/components/form/_index.scss +0 -10
  122. package/src/components/form/form_control_layout/_form_control_layout.scss +1 -0
  123. package/test-env/components/color_picker/color_picker.js +1 -5
  124. package/test-env/components/date_picker/date_picker.js +21 -23
  125. package/test-env/components/date_picker/date_picker_range.js +6 -11
  126. package/test-env/components/date_picker/date_picker_range.styles.js +3 -8
  127. package/test-env/components/date_picker/react-datepicker/src/index.js +6 -5
  128. package/test-env/components/form/field_number/field_number.js +6 -18
  129. package/test-env/components/form/field_number/field_number.styles.js +31 -0
  130. package/test-env/components/form/field_password/field_password.js +37 -40
  131. package/test-env/components/form/field_password/field_password.styles.js +39 -0
  132. package/test-env/components/form/field_search/field_search.js +19 -22
  133. package/test-env/components/form/field_search/field_search.styles.js +30 -0
  134. package/test-env/components/form/field_text/field_text.js +7 -18
  135. package/test-env/components/form/field_text/field_text.styles.js +31 -0
  136. package/test-env/components/form/form.styles.js +71 -20
  137. package/test-env/components/form/form_control_layout/_num_icons.js +31 -1
  138. package/test-env/components/form/form_control_layout/form_control_layout.js +110 -131
  139. package/test-env/components/form/range/range_wrapper.js +1 -1
  140. package/test-env/components/form/range/range_wrapper.styles.js +6 -4
  141. package/test-env/components/form/select/select.js +27 -34
  142. package/test-env/components/form/select/select.styles.js +42 -0
  143. package/test-env/components/form/super_select/super_select.js +15 -18
  144. package/test-env/components/form/super_select/super_select.styles.js +51 -0
  145. package/test-env/components/form/super_select/super_select_control.js +10 -15
  146. package/test-env/components/form/super_select/super_select_item.js +45 -0
  147. package/test-env/components/form/text_area/text_area.js +11 -23
  148. package/test-env/components/form/text_area/text_area.styles.js +72 -0
  149. package/test-env/components/markdown_editor/markdown_editor_drop_zone.styles.js +1 -1
  150. package/test-env/components/markdown_editor/markdown_editor_text_area.styles.js +4 -3
  151. package/src/components/form/field_number/_field_number.scss +0 -8
  152. package/src/components/form/field_number/_index.scss +0 -1
  153. package/src/components/form/field_password/_field_password.scss +0 -14
  154. package/src/components/form/field_password/_index.scss +0 -1
  155. package/src/components/form/field_search/_field_search.scss +0 -22
  156. package/src/components/form/field_search/_index.scss +0 -1
  157. package/src/components/form/field_text/_field_text.scss +0 -8
  158. package/src/components/form/field_text/_index.scss +0 -1
  159. package/src/components/form/select/_index.scss +0 -1
  160. package/src/components/form/select/_select.scss +0 -42
  161. package/src/components/form/super_select/_index.scss +0 -2
  162. package/src/components/form/super_select/_super_select.scss +0 -16
  163. package/src/components/form/super_select/_super_select_control.scss +0 -36
  164. package/src/components/form/text_area/_index.scss +0 -1
  165. package/src/components/form/text_area/_text_area.scss +0 -39
@@ -883,14 +883,8 @@ The following files still use the Sass version:
883
883
  padding-bottom: 0 !important;
884
884
  }
885
885
 
886
- .euiColorPicker__input--inGroup {
887
- height: 38px !important;
888
- box-shadow: none !important;
889
- border-radius: 0;
890
- }
891
- .euiColorPicker__input--inGroup.euiFieldText--compressed {
892
- height: 30px !important;
893
- border-radius: 0;
886
+ .euiColorPicker__input {
887
+ --euiFormControlLeftIconsCount: 1;
894
888
  }
895
889
 
896
890
  .euiColorPicker__alphaRange .euiRangeInput {
@@ -2881,99 +2875,90 @@ The following files still use the Sass version:
2881
2875
  min-width: min(20rem, 50%);
2882
2876
  }
2883
2877
 
2884
- .euiFieldNumber {
2878
+ /**
2879
+ * REMEMBER: --large modifiers must come last to override --compressed
2880
+ */
2881
+ .euiFilePicker {
2885
2882
  max-width: 400px;
2886
2883
  width: 100%;
2887
2884
  height: 40px;
2888
- background-color: #16171c;
2889
- background-repeat: no-repeat;
2890
- background-size: 0% 100%;
2891
- box-shadow: 0 0 transparent, inset 0 0 0 1px rgba(255, 255, 255, 0.1);
2892
- transition: box-shadow 150ms ease-in, background-image 150ms ease-in, background-size 150ms ease-in, background-color 150ms ease-in;
2893
- font-family: "Inter", BlinkMacSystemFont, Helvetica, Arial, sans-serif;
2894
- font-weight: 400;
2895
- letter-spacing: normal;
2896
- -webkit-text-size-adjust: 100%;
2897
- -ms-text-size-adjust: 100%;
2898
- -webkit-font-kerning: normal;
2899
- font-kerning: normal;
2900
- font-size: 14px;
2901
- color: #DFE5EF;
2902
- border: none;
2903
- border-radius: 6px;
2904
- padding: 12px;
2885
+ position: relative;
2905
2886
  }
2906
- .euiFieldNumber--fullWidth {
2887
+ .euiFilePicker--fullWidth {
2907
2888
  max-width: 100%;
2908
2889
  }
2909
- .euiFieldNumber--compressed {
2890
+ .euiFilePicker--compressed {
2910
2891
  height: 32px;
2911
2892
  }
2912
- .euiFieldNumber--inGroup {
2893
+ .euiFilePicker--inGroup {
2913
2894
  height: 100%;
2914
2895
  }
2915
- @supports (-moz-appearance: none) {
2916
- .euiFieldNumber {
2917
- transition-property: box-shadow, background-image, background-size;
2918
- }
2919
- }
2920
- .euiFieldNumber::-webkit-input-placeholder {
2921
- color: #81858f;
2922
- opacity: 1;
2923
- }
2924
- .euiFieldNumber::-moz-placeholder {
2925
- color: #81858f;
2926
- opacity: 1;
2896
+ .euiFilePicker.euiFilePicker--large {
2897
+ border-radius: 6px;
2898
+ overflow: hidden;
2899
+ height: auto;
2927
2900
  }
2928
- .euiFieldNumber::placeholder {
2929
- color: #81858f;
2930
- opacity: 1;
2901
+ .euiFilePicker.euiFilePicker--large.euiFilePicker--compressed {
2902
+ border-radius: 4px;
2931
2903
  }
2932
- .euiFieldNumber:invalid {
2933
- background-image: linear-gradient(to top, #F86B63, #F86B63 2px, transparent 2px, transparent 100%);
2934
- background-size: 100%;
2904
+
2905
+ .euiFilePicker__input {
2906
+ position: absolute;
2907
+ left: 0;
2908
+ top: 0;
2909
+ width: 100%;
2910
+ height: 100%;
2911
+ opacity: 0;
2912
+ overflow: hidden;
2935
2913
  }
2936
- .euiFieldNumber:focus {
2937
- background-color: #111216;
2938
- background-image: linear-gradient(to top, #36A2EF, #36A2EF 2px, transparent 2px, transparent 100%);
2939
- background-size: 100% 100%;
2940
- outline: none;
2941
- box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.1);
2914
+ .euiFilePicker__input:hover {
2915
+ cursor: pointer;
2942
2916
  }
2943
- .euiFieldNumber:disabled {
2944
- color: #535966;
2945
- -webkit-text-fill-color: #535966;
2917
+ .euiFilePicker__input:hover:disabled {
2946
2918
  cursor: not-allowed;
2947
- background: #202128;
2948
- box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.1);
2949
2919
  }
2950
- .euiFieldNumber:disabled::-webkit-input-placeholder {
2951
- color: #535966;
2952
- opacity: 1;
2920
+ .euiFilePicker__input:disabled {
2921
+ opacity: 0;
2953
2922
  }
2954
- .euiFieldNumber:disabled::-moz-placeholder {
2923
+ .euiFilePicker__input:disabled ~ .euiFilePicker__prompt {
2955
2924
  color: #535966;
2956
- opacity: 1;
2957
2925
  }
2958
- .euiFieldNumber:disabled::placeholder {
2959
- color: #535966;
2960
- opacity: 1;
2926
+
2927
+ .euiFilePicker__icon {
2928
+ position: absolute;
2929
+ left: 12px;
2930
+ top: 12px;
2931
+ transition: -webkit-transform 150ms cubic-bezier(0.694, 0.0482, 0.335, 1);
2932
+ transition: transform 150ms cubic-bezier(0.694, 0.0482, 0.335, 1);
2933
+ transition: transform 150ms cubic-bezier(0.694, 0.0482, 0.335, 1), -webkit-transform 150ms cubic-bezier(0.694, 0.0482, 0.335, 1);
2961
2934
  }
2962
- .euiFieldNumber[readOnly] {
2963
- cursor: default;
2964
- color: #DFE5EF;
2965
- -webkit-text-fill-color: #DFE5EF;
2966
- background: #1D1E24;
2967
- border-color: transparent;
2968
- box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.1);
2935
+ .euiFilePicker--compressed .euiFilePicker__icon {
2936
+ top: 8px;
2937
+ left: 8px;
2969
2938
  }
2970
- .euiFieldNumber:-webkit-autofill {
2971
- -webkit-text-fill-color: #343741;
2939
+ .euiFilePicker--large .euiFilePicker__icon {
2940
+ position: static;
2941
+ margin-bottom: 16px;
2972
2942
  }
2973
- .euiFieldNumber:-webkit-autofill ~ .euiFormControlLayoutIcons {
2974
- color: #343741;
2943
+
2944
+ /**
2945
+ * 1. Don't block the user from dropping files onto the filepicker.
2946
+ * 2. Ensure space for import icon, loading spinner, and clear button (only if it has files)
2947
+ * 4. Static height so that it doesn't shift its surrounding contents around
2948
+ */
2949
+ .euiFilePicker__prompt {
2950
+ padding-left: 40px;
2951
+ /* 2 */
2952
+ height: 40px;
2953
+ padding-top: 12px;
2954
+ padding-right: 12px;
2955
+ padding-bottom: 12px;
2956
+ pointer-events: none; /* 1 */
2957
+ border: 2px dashed #343741;
2958
+ border-radius: 6px;
2959
+ transition: border-color 150ms ease-in, background-color 150ms ease-in;
2975
2960
  }
2976
- .euiFieldNumber--compressed {
2961
+ .euiFilePicker--compressed .euiFilePicker__prompt {
2977
2962
  background-color: #16171c;
2978
2963
  background-repeat: no-repeat;
2979
2964
  background-size: 0% 100%;
@@ -2981,1201 +2966,164 @@ The following files still use the Sass version:
2981
2966
  transition: box-shadow 150ms ease-in, background-image 150ms ease-in, background-size 150ms ease-in, background-color 150ms ease-in;
2982
2967
  padding: 8px;
2983
2968
  border-radius: 4px;
2969
+ padding-left: 32px;
2970
+ /* 2 */
2971
+ height: 32px;
2972
+ border-radius: 4px;
2973
+ box-shadow: none;
2984
2974
  }
2985
2975
  @supports (-moz-appearance: none) {
2986
- .euiFieldNumber--compressed {
2976
+ .euiFilePicker--compressed .euiFilePicker__prompt {
2987
2977
  transition-property: box-shadow, background-image, background-size;
2988
2978
  }
2989
2979
  }
2990
- .euiFieldNumber--compressed:invalid {
2991
- background-image: linear-gradient(to top, #F86B63, #F86B63 2px, transparent 2px, transparent 100%);
2992
- background-size: 100%;
2980
+ .euiFilePicker--large .euiFilePicker__prompt {
2981
+ height: 128px; /* 4 */
2982
+ padding: 0 24px;
2983
+ display: -webkit-flex;
2984
+ display: flex;
2985
+ -webkit-flex-direction: column;
2986
+ flex-direction: column;
2987
+ -webkit-align-items: center;
2988
+ align-items: center;
2989
+ -webkit-justify-content: center;
2990
+ justify-content: center;
2993
2991
  }
2994
- .euiFieldNumber--compressed:focus {
2995
- background-color: #111216;
2996
- background-image: linear-gradient(to top, #36A2EF, #36A2EF 2px, transparent 2px, transparent 100%);
2997
- background-size: 100% 100%;
2992
+ .euiFilePicker--large.euiFilePicker--compressed .euiFilePicker__prompt {
2993
+ height: 104px; /* 4 */
2994
+ }
2995
+ .euiFilePicker-isInvalid:not(.euiFilePicker__showDrop) .euiFilePicker__input:not(:disabled):not(:focus) + .euiFilePicker__prompt {
2996
+ border-color: #F86B63;
2997
+ }
2998
+
2999
+ .euiFilePicker__promptText {
3000
+ font-size: 14px;
3001
+ font-size: 1rem;
3002
+ line-height: 1.7142857143rem;
3003
+ max-width: 100%;
3004
+ overflow: hidden !important;
3005
+ text-overflow: ellipsis !important;
3006
+ white-space: nowrap !important;
3007
+ line-height: 16px;
3008
+ }
3009
+ .euiFilePicker:not(.euiFilePicker--large):not(.euiFilePicker-hasFiles) .euiFilePicker__promptText {
3010
+ color: #36A2EF;
3011
+ }
3012
+ .euiFilePicker:not(.euiFilePicker--large) .euiFilePicker__promptText {
3013
+ margin-top: -2px;
3014
+ }
3015
+
3016
+ .euiFilePicker__clearButton,
3017
+ .euiFilePicker__loadingSpinner {
3018
+ position: absolute;
3019
+ right: 12px;
3020
+ top: 12px;
3021
+ }
3022
+ .euiFilePicker--compressed .euiFilePicker__clearButton,
3023
+ .euiFilePicker--compressed .euiFilePicker__loadingSpinner {
3024
+ top: 8px;
3025
+ }
3026
+
3027
+ /**
3028
+ * 1. Undo the pointer-events: none applied to the enclosing prompt.
3029
+ */
3030
+ .euiFilePicker__clearButton {
3031
+ pointer-events: auto; /* 1 */
3032
+ }
3033
+ .euiFilePicker:not(.euiFilePicker--large) .euiFilePicker__clearButton {
3034
+ width: 16px;
3035
+ height: 16px;
3036
+ pointer-events: all;
3037
+ background-color: #98A2B3;
3038
+ border-radius: 16px;
3039
+ line-height: 0;
3040
+ }
3041
+ .euiFilePicker:not(.euiFilePicker--large) .euiFilePicker__clearButton:focus {
3042
+ outline: 2px solid currentColor;
3043
+ }
3044
+ .euiFilePicker:not(.euiFilePicker--large) .euiFilePicker__clearButton:focus:focus-visible {
3045
+ outline-style: auto;
3046
+ }
3047
+ .euiFilePicker:not(.euiFilePicker--large) .euiFilePicker__clearButton:focus:not(:focus-visible) {
2998
3048
  outline: none;
2999
- box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.1);
3000
3049
  }
3001
- .euiFieldNumber--compressed:disabled {
3050
+ .euiFilePicker:not(.euiFilePicker--large) .euiFilePicker__clearButton .euiFilePicker__clearIcon {
3051
+ width: 8px;
3052
+ height: 8px;
3053
+ fill: #1D1E24;
3054
+ stroke: #1D1E24;
3055
+ stroke-width: 2px;
3056
+ }
3057
+ .euiFilePicker--large .euiFilePicker__clearButton {
3058
+ position: relative;
3059
+ top: 0;
3060
+ right: 0;
3061
+ }
3062
+
3063
+ .euiFilePicker__showDrop .euiFilePicker__prompt,
3064
+ .euiFilePicker__input:focus + .euiFilePicker__prompt {
3065
+ border-color: #36A2EF;
3066
+ }
3067
+
3068
+ .euiFilePicker__input:disabled + .euiFilePicker__prompt {
3002
3069
  color: #535966;
3003
3070
  -webkit-text-fill-color: #535966;
3004
3071
  cursor: not-allowed;
3005
3072
  background: #202128;
3006
3073
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.1);
3074
+ box-shadow: none;
3007
3075
  }
3008
- .euiFieldNumber--compressed:disabled::-webkit-input-placeholder {
3076
+ .euiFilePicker__input:disabled + .euiFilePicker__prompt::-webkit-input-placeholder {
3009
3077
  color: #535966;
3010
3078
  opacity: 1;
3011
3079
  }
3012
- .euiFieldNumber--compressed:disabled::-moz-placeholder {
3080
+ .euiFilePicker__input:disabled + .euiFilePicker__prompt::-moz-placeholder {
3013
3081
  color: #535966;
3014
3082
  opacity: 1;
3015
3083
  }
3016
- .euiFieldNumber--compressed:disabled::placeholder {
3084
+ .euiFilePicker__input:disabled + .euiFilePicker__prompt::placeholder {
3017
3085
  color: #535966;
3018
3086
  opacity: 1;
3019
3087
  }
3020
- .euiFieldNumber--compressed[readOnly] {
3021
- cursor: default;
3088
+
3089
+ .euiFilePicker:not(.euiFilePicker--large).euiFilePicker-isLoading .euiFilePicker__prompt, .euiFilePicker:not(.euiFilePicker--large).euiFilePicker-hasFiles .euiFilePicker__prompt {
3090
+ padding-right: 40px;
3091
+ /* 2 */
3092
+ }
3093
+
3094
+ .euiFilePicker-hasFiles .euiFilePicker__promptText {
3022
3095
  color: #DFE5EF;
3023
- -webkit-text-fill-color: #DFE5EF;
3024
- background: #1D1E24;
3025
- border-color: transparent;
3026
- box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.1);
3027
3096
  }
3028
- .euiFieldNumber--inGroup {
3029
- box-shadow: none !important;
3030
- border-radius: 0;
3097
+
3098
+ .euiFilePicker--large .euiFilePicker__input:hover:not(:disabled) + .euiFilePicker__prompt .euiFilePicker__promptText,
3099
+ .euiFilePicker--large .euiFilePicker__input:focus + .euiFilePicker__prompt .euiFilePicker__promptText {
3100
+ text-decoration: underline;
3031
3101
  }
3032
- .euiFieldNumber--withIcon {
3033
- padding-left: 40px;
3102
+ .euiFilePicker--large .euiFilePicker__input:hover:not(:disabled) + .euiFilePicker__prompt .euiFilePicker__icon,
3103
+ .euiFilePicker--large .euiFilePicker__input:focus + .euiFilePicker__prompt .euiFilePicker__icon {
3104
+ -webkit-transform: scale(1.1);
3105
+ transform: scale(1.1);
3106
+ }
3107
+ .euiFilePicker--large.euiFilePicker__showDrop .euiFilePicker__prompt .euiFilePicker__promptText {
3108
+ text-decoration: underline;
3109
+ }
3110
+ .euiFilePicker--large.euiFilePicker__showDrop .euiFilePicker__prompt .euiFilePicker__icon {
3111
+ -webkit-transform: scale(1.1);
3112
+ transform: scale(1.1);
3113
+ }
3114
+ .euiFilePicker--large.euiFilePicker-hasFiles .euiFilePicker__promptText {
3115
+ font-weight: 700;
3034
3116
  }
3035
3117
 
3036
- .euiFieldNumber--withIcon.euiFieldNumber--compressed {
3037
- padding-left: 32px;
3118
+ .euiForm__error {
3119
+ font-size: 14px;
3120
+ font-size: 1rem;
3121
+ line-height: 1.7142857143rem;
3122
+ list-style: disc;
3038
3123
  }
3039
3124
 
3040
- .euiFieldPassword {
3041
- max-width: 400px;
3042
- width: 100%;
3043
- height: 40px;
3044
- background-color: #16171c;
3045
- background-repeat: no-repeat;
3046
- background-size: 0% 100%;
3047
- box-shadow: 0 0 transparent, inset 0 0 0 1px rgba(255, 255, 255, 0.1);
3048
- transition: box-shadow 150ms ease-in, background-image 150ms ease-in, background-size 150ms ease-in, background-color 150ms ease-in;
3049
- font-family: "Inter", BlinkMacSystemFont, Helvetica, Arial, sans-serif;
3050
- font-weight: 400;
3051
- letter-spacing: normal;
3052
- -webkit-text-size-adjust: 100%;
3053
- -ms-text-size-adjust: 100%;
3054
- -webkit-font-kerning: normal;
3055
- font-kerning: normal;
3056
- font-size: 14px;
3057
- color: #DFE5EF;
3058
- border: none;
3059
- border-radius: 6px;
3060
- padding: 12px;
3061
- padding-left: 40px;
3062
- }
3063
- .euiFieldPassword--fullWidth {
3064
- max-width: 100%;
3065
- }
3066
- .euiFieldPassword--compressed {
3067
- height: 32px;
3068
- }
3069
- .euiFieldPassword--inGroup {
3070
- height: 100%;
3071
- }
3072
- @supports (-moz-appearance: none) {
3073
- .euiFieldPassword {
3074
- transition-property: box-shadow, background-image, background-size;
3075
- }
3076
- }
3077
- .euiFieldPassword::-webkit-input-placeholder {
3078
- color: #81858f;
3079
- opacity: 1;
3080
- }
3081
- .euiFieldPassword::-moz-placeholder {
3082
- color: #81858f;
3083
- opacity: 1;
3084
- }
3085
- .euiFieldPassword::placeholder {
3086
- color: #81858f;
3087
- opacity: 1;
3088
- }
3089
- .euiFieldPassword:invalid {
3090
- background-image: linear-gradient(to top, #F86B63, #F86B63 2px, transparent 2px, transparent 100%);
3091
- background-size: 100%;
3092
- }
3093
- .euiFieldPassword:focus {
3094
- background-color: #111216;
3095
- background-image: linear-gradient(to top, #36A2EF, #36A2EF 2px, transparent 2px, transparent 100%);
3096
- background-size: 100% 100%;
3097
- outline: none;
3098
- box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.1);
3099
- }
3100
- .euiFieldPassword:disabled {
3101
- color: #535966;
3102
- -webkit-text-fill-color: #535966;
3103
- cursor: not-allowed;
3104
- background: #202128;
3105
- box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.1);
3106
- }
3107
- .euiFieldPassword:disabled::-webkit-input-placeholder {
3108
- color: #535966;
3109
- opacity: 1;
3110
- }
3111
- .euiFieldPassword:disabled::-moz-placeholder {
3112
- color: #535966;
3113
- opacity: 1;
3114
- }
3115
- .euiFieldPassword:disabled::placeholder {
3116
- color: #535966;
3117
- opacity: 1;
3118
- }
3119
- .euiFieldPassword[readOnly] {
3120
- cursor: default;
3121
- color: #DFE5EF;
3122
- -webkit-text-fill-color: #DFE5EF;
3123
- background: #1D1E24;
3124
- border-color: transparent;
3125
- box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.1);
3126
- }
3127
- .euiFieldPassword:-webkit-autofill {
3128
- -webkit-text-fill-color: #343741;
3129
- }
3130
- .euiFieldPassword:-webkit-autofill ~ .euiFormControlLayoutIcons {
3131
- color: #343741;
3132
- }
3133
- .euiFieldPassword--compressed {
3134
- background-color: #16171c;
3135
- background-repeat: no-repeat;
3136
- background-size: 0% 100%;
3137
- box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.1);
3138
- transition: box-shadow 150ms ease-in, background-image 150ms ease-in, background-size 150ms ease-in, background-color 150ms ease-in;
3139
- padding: 8px;
3140
- border-radius: 4px;
3141
- }
3142
- @supports (-moz-appearance: none) {
3143
- .euiFieldPassword--compressed {
3144
- transition-property: box-shadow, background-image, background-size;
3145
- }
3146
- }
3147
- .euiFieldPassword--compressed:invalid {
3148
- background-image: linear-gradient(to top, #F86B63, #F86B63 2px, transparent 2px, transparent 100%);
3149
- background-size: 100%;
3150
- }
3151
- .euiFieldPassword--compressed:focus {
3152
- background-color: #111216;
3153
- background-image: linear-gradient(to top, #36A2EF, #36A2EF 2px, transparent 2px, transparent 100%);
3154
- background-size: 100% 100%;
3155
- outline: none;
3156
- box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.1);
3157
- }
3158
- .euiFieldPassword--compressed:disabled {
3159
- color: #535966;
3160
- -webkit-text-fill-color: #535966;
3161
- cursor: not-allowed;
3162
- background: #202128;
3163
- box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.1);
3164
- }
3165
- .euiFieldPassword--compressed:disabled::-webkit-input-placeholder {
3166
- color: #535966;
3167
- opacity: 1;
3168
- }
3169
- .euiFieldPassword--compressed:disabled::-moz-placeholder {
3170
- color: #535966;
3171
- opacity: 1;
3172
- }
3173
- .euiFieldPassword--compressed:disabled::placeholder {
3174
- color: #535966;
3175
- opacity: 1;
3176
- }
3177
- .euiFieldPassword--compressed[readOnly] {
3178
- cursor: default;
3179
- color: #DFE5EF;
3180
- -webkit-text-fill-color: #DFE5EF;
3181
- background: #1D1E24;
3182
- border-color: transparent;
3183
- box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.1);
3184
- }
3185
- .euiFieldPassword--inGroup {
3186
- box-shadow: none !important;
3187
- border-radius: 0;
3188
- }
3189
- .euiFieldPassword.euiFieldPassword--compressed {
3190
- padding-left: 32px;
3191
- }
3192
-
3193
- .euiFieldPassword--withToggle::-ms-reveal {
3194
- display: none;
3195
- }
3196
-
3197
- /*
3198
- * 1. Fix for Safari to ensure that it renders like a normal text input
3199
- * and doesn't add extra spacing around text
3200
- */
3201
- .euiFieldSearch {
3202
- max-width: 400px;
3203
- width: 100%;
3204
- height: 40px;
3205
- background-color: #16171c;
3206
- background-repeat: no-repeat;
3207
- background-size: 0% 100%;
3208
- box-shadow: 0 0 transparent, inset 0 0 0 1px rgba(255, 255, 255, 0.1);
3209
- transition: box-shadow 150ms ease-in, background-image 150ms ease-in, background-size 150ms ease-in, background-color 150ms ease-in;
3210
- font-family: "Inter", BlinkMacSystemFont, Helvetica, Arial, sans-serif;
3211
- font-weight: 400;
3212
- letter-spacing: normal;
3213
- -webkit-text-size-adjust: 100%;
3214
- -ms-text-size-adjust: 100%;
3215
- -webkit-font-kerning: normal;
3216
- font-kerning: normal;
3217
- font-size: 14px;
3218
- color: #DFE5EF;
3219
- border: none;
3220
- border-radius: 6px;
3221
- padding: 12px;
3222
- padding-left: 40px;
3223
- -webkit-appearance: textfield; /* 1 */
3224
- }
3225
- .euiFieldSearch--fullWidth {
3226
- max-width: 100%;
3227
- }
3228
- .euiFieldSearch--compressed {
3229
- height: 32px;
3230
- }
3231
- .euiFieldSearch--inGroup {
3232
- height: 100%;
3233
- }
3234
- @supports (-moz-appearance: none) {
3235
- .euiFieldSearch {
3236
- transition-property: box-shadow, background-image, background-size;
3237
- }
3238
- }
3239
- .euiFieldSearch::-webkit-input-placeholder {
3240
- color: #81858f;
3241
- opacity: 1;
3242
- }
3243
- .euiFieldSearch::-moz-placeholder {
3244
- color: #81858f;
3245
- opacity: 1;
3246
- }
3247
- .euiFieldSearch::placeholder {
3248
- color: #81858f;
3249
- opacity: 1;
3250
- }
3251
- .euiFieldSearch:invalid {
3252
- background-image: linear-gradient(to top, #F86B63, #F86B63 2px, transparent 2px, transparent 100%);
3253
- background-size: 100%;
3254
- }
3255
- .euiFieldSearch:focus {
3256
- background-color: #111216;
3257
- background-image: linear-gradient(to top, #36A2EF, #36A2EF 2px, transparent 2px, transparent 100%);
3258
- background-size: 100% 100%;
3259
- outline: none;
3260
- box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.1);
3261
- }
3262
- .euiFieldSearch:disabled {
3263
- color: #535966;
3264
- -webkit-text-fill-color: #535966;
3265
- cursor: not-allowed;
3266
- background: #202128;
3267
- box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.1);
3268
- }
3269
- .euiFieldSearch:disabled::-webkit-input-placeholder {
3270
- color: #535966;
3271
- opacity: 1;
3272
- }
3273
- .euiFieldSearch:disabled::-moz-placeholder {
3274
- color: #535966;
3275
- opacity: 1;
3276
- }
3277
- .euiFieldSearch:disabled::placeholder {
3278
- color: #535966;
3279
- opacity: 1;
3280
- }
3281
- .euiFieldSearch[readOnly] {
3282
- cursor: default;
3283
- color: #DFE5EF;
3284
- -webkit-text-fill-color: #DFE5EF;
3285
- background: #1D1E24;
3286
- border-color: transparent;
3287
- box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.1);
3288
- }
3289
- .euiFieldSearch:-webkit-autofill {
3290
- -webkit-text-fill-color: #343741;
3291
- }
3292
- .euiFieldSearch:-webkit-autofill ~ .euiFormControlLayoutIcons {
3293
- color: #343741;
3294
- }
3295
- .euiFieldSearch--compressed {
3296
- background-color: #16171c;
3297
- background-repeat: no-repeat;
3298
- background-size: 0% 100%;
3299
- box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.1);
3300
- transition: box-shadow 150ms ease-in, background-image 150ms ease-in, background-size 150ms ease-in, background-color 150ms ease-in;
3301
- padding: 8px;
3302
- border-radius: 4px;
3303
- }
3304
- @supports (-moz-appearance: none) {
3305
- .euiFieldSearch--compressed {
3306
- transition-property: box-shadow, background-image, background-size;
3307
- }
3308
- }
3309
- .euiFieldSearch--compressed:invalid {
3310
- background-image: linear-gradient(to top, #F86B63, #F86B63 2px, transparent 2px, transparent 100%);
3311
- background-size: 100%;
3312
- }
3313
- .euiFieldSearch--compressed:focus {
3314
- background-color: #111216;
3315
- background-image: linear-gradient(to top, #36A2EF, #36A2EF 2px, transparent 2px, transparent 100%);
3316
- background-size: 100% 100%;
3317
- outline: none;
3318
- box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.1);
3319
- }
3320
- .euiFieldSearch--compressed:disabled {
3321
- color: #535966;
3322
- -webkit-text-fill-color: #535966;
3323
- cursor: not-allowed;
3324
- background: #202128;
3325
- box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.1);
3326
- }
3327
- .euiFieldSearch--compressed:disabled::-webkit-input-placeholder {
3328
- color: #535966;
3329
- opacity: 1;
3330
- }
3331
- .euiFieldSearch--compressed:disabled::-moz-placeholder {
3332
- color: #535966;
3333
- opacity: 1;
3334
- }
3335
- .euiFieldSearch--compressed:disabled::placeholder {
3336
- color: #535966;
3337
- opacity: 1;
3338
- }
3339
- .euiFieldSearch--compressed[readOnly] {
3340
- cursor: default;
3341
- color: #DFE5EF;
3342
- -webkit-text-fill-color: #DFE5EF;
3343
- background: #1D1E24;
3344
- border-color: transparent;
3345
- box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.1);
3346
- }
3347
- .euiFieldSearch--inGroup {
3348
- box-shadow: none !important;
3349
- border-radius: 0;
3350
- }
3351
- .euiFieldSearch-isLoading {
3352
- padding-right: 40px;
3353
- }
3354
-
3355
- .euiFieldSearch-isLoading.euiFieldSearch--compressed {
3356
- padding-right: 32px;
3357
- }
3358
-
3359
- .euiFieldSearch::-webkit-search-decoration, .euiFieldSearch::-webkit-search-cancel-button {
3360
- -webkit-appearance: none; /* 1, 2 */
3361
- }
3362
-
3363
- .euiFieldSearch--compressed {
3364
- padding-left: 32px;
3365
- }
3366
-
3367
- .euiFieldText {
3368
- max-width: 400px;
3369
- width: 100%;
3370
- height: 40px;
3371
- background-color: #16171c;
3372
- background-repeat: no-repeat;
3373
- background-size: 0% 100%;
3374
- box-shadow: 0 0 transparent, inset 0 0 0 1px rgba(255, 255, 255, 0.1);
3375
- transition: box-shadow 150ms ease-in, background-image 150ms ease-in, background-size 150ms ease-in, background-color 150ms ease-in;
3376
- font-family: "Inter", BlinkMacSystemFont, Helvetica, Arial, sans-serif;
3377
- font-weight: 400;
3378
- letter-spacing: normal;
3379
- -webkit-text-size-adjust: 100%;
3380
- -ms-text-size-adjust: 100%;
3381
- -webkit-font-kerning: normal;
3382
- font-kerning: normal;
3383
- font-size: 14px;
3384
- color: #DFE5EF;
3385
- border: none;
3386
- border-radius: 6px;
3387
- padding: 12px;
3388
- }
3389
- .euiFieldText--fullWidth {
3390
- max-width: 100%;
3391
- }
3392
- .euiFieldText--compressed {
3393
- height: 32px;
3394
- }
3395
- .euiFieldText--inGroup {
3396
- height: 100%;
3397
- }
3398
- @supports (-moz-appearance: none) {
3399
- .euiFieldText {
3400
- transition-property: box-shadow, background-image, background-size;
3401
- }
3402
- }
3403
- .euiFieldText::-webkit-input-placeholder {
3404
- color: #81858f;
3405
- opacity: 1;
3406
- }
3407
- .euiFieldText::-moz-placeholder {
3408
- color: #81858f;
3409
- opacity: 1;
3410
- }
3411
- .euiFieldText::placeholder {
3412
- color: #81858f;
3413
- opacity: 1;
3414
- }
3415
- .euiFieldText:invalid {
3416
- background-image: linear-gradient(to top, #F86B63, #F86B63 2px, transparent 2px, transparent 100%);
3417
- background-size: 100%;
3418
- }
3419
- .euiFieldText:focus {
3420
- background-color: #111216;
3421
- background-image: linear-gradient(to top, #36A2EF, #36A2EF 2px, transparent 2px, transparent 100%);
3422
- background-size: 100% 100%;
3423
- outline: none;
3424
- box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.1);
3425
- }
3426
- .euiFieldText:disabled {
3427
- color: #535966;
3428
- -webkit-text-fill-color: #535966;
3429
- cursor: not-allowed;
3430
- background: #202128;
3431
- box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.1);
3432
- }
3433
- .euiFieldText:disabled::-webkit-input-placeholder {
3434
- color: #535966;
3435
- opacity: 1;
3436
- }
3437
- .euiFieldText:disabled::-moz-placeholder {
3438
- color: #535966;
3439
- opacity: 1;
3440
- }
3441
- .euiFieldText:disabled::placeholder {
3442
- color: #535966;
3443
- opacity: 1;
3444
- }
3445
- .euiFieldText[readOnly] {
3446
- cursor: default;
3447
- color: #DFE5EF;
3448
- -webkit-text-fill-color: #DFE5EF;
3449
- background: #1D1E24;
3450
- border-color: transparent;
3451
- box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.1);
3452
- }
3453
- .euiFieldText:-webkit-autofill {
3454
- -webkit-text-fill-color: #343741;
3455
- }
3456
- .euiFieldText:-webkit-autofill ~ .euiFormControlLayoutIcons {
3457
- color: #343741;
3458
- }
3459
- .euiFieldText--compressed {
3460
- background-color: #16171c;
3461
- background-repeat: no-repeat;
3462
- background-size: 0% 100%;
3463
- box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.1);
3464
- transition: box-shadow 150ms ease-in, background-image 150ms ease-in, background-size 150ms ease-in, background-color 150ms ease-in;
3465
- padding: 8px;
3466
- border-radius: 4px;
3467
- }
3468
- @supports (-moz-appearance: none) {
3469
- .euiFieldText--compressed {
3470
- transition-property: box-shadow, background-image, background-size;
3471
- }
3472
- }
3473
- .euiFieldText--compressed:invalid {
3474
- background-image: linear-gradient(to top, #F86B63, #F86B63 2px, transparent 2px, transparent 100%);
3475
- background-size: 100%;
3476
- }
3477
- .euiFieldText--compressed:focus {
3478
- background-color: #111216;
3479
- background-image: linear-gradient(to top, #36A2EF, #36A2EF 2px, transparent 2px, transparent 100%);
3480
- background-size: 100% 100%;
3481
- outline: none;
3482
- box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.1);
3483
- }
3484
- .euiFieldText--compressed:disabled {
3485
- color: #535966;
3486
- -webkit-text-fill-color: #535966;
3487
- cursor: not-allowed;
3488
- background: #202128;
3489
- box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.1);
3490
- }
3491
- .euiFieldText--compressed:disabled::-webkit-input-placeholder {
3492
- color: #535966;
3493
- opacity: 1;
3494
- }
3495
- .euiFieldText--compressed:disabled::-moz-placeholder {
3496
- color: #535966;
3497
- opacity: 1;
3498
- }
3499
- .euiFieldText--compressed:disabled::placeholder {
3500
- color: #535966;
3501
- opacity: 1;
3502
- }
3503
- .euiFieldText--compressed[readOnly] {
3504
- cursor: default;
3505
- color: #DFE5EF;
3506
- -webkit-text-fill-color: #DFE5EF;
3507
- background: #1D1E24;
3508
- border-color: transparent;
3509
- box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.1);
3510
- }
3511
- .euiFieldText--inGroup {
3512
- box-shadow: none !important;
3513
- border-radius: 0;
3514
- }
3515
- .euiFieldText--withIcon {
3516
- padding-left: 40px;
3517
- }
3518
-
3519
- .euiFieldText--withIcon.euiFieldText--compressed {
3520
- padding-left: 32px;
3521
- }
3522
-
3523
- /**
3524
- * REMEMBER: --large modifiers must come last to override --compressed
3525
- */
3526
- .euiFilePicker {
3527
- max-width: 400px;
3528
- width: 100%;
3529
- height: 40px;
3530
- position: relative;
3531
- }
3532
- .euiFilePicker--fullWidth {
3533
- max-width: 100%;
3534
- }
3535
- .euiFilePicker--compressed {
3536
- height: 32px;
3537
- }
3538
- .euiFilePicker--inGroup {
3539
- height: 100%;
3540
- }
3541
- .euiFilePicker.euiFilePicker--large {
3542
- border-radius: 6px;
3543
- overflow: hidden;
3544
- height: auto;
3545
- }
3546
- .euiFilePicker.euiFilePicker--large.euiFilePicker--compressed {
3547
- border-radius: 4px;
3548
- }
3549
-
3550
- .euiFilePicker__input {
3551
- position: absolute;
3552
- left: 0;
3553
- top: 0;
3554
- width: 100%;
3555
- height: 100%;
3556
- opacity: 0;
3557
- overflow: hidden;
3558
- }
3559
- .euiFilePicker__input:hover {
3560
- cursor: pointer;
3561
- }
3562
- .euiFilePicker__input:hover:disabled {
3563
- cursor: not-allowed;
3564
- }
3565
- .euiFilePicker__input:disabled {
3566
- opacity: 0;
3567
- }
3568
- .euiFilePicker__input:disabled ~ .euiFilePicker__prompt {
3569
- color: #535966;
3570
- }
3571
-
3572
- .euiFilePicker__icon {
3573
- position: absolute;
3574
- left: 12px;
3575
- top: 12px;
3576
- transition: -webkit-transform 150ms cubic-bezier(0.694, 0.0482, 0.335, 1);
3577
- transition: transform 150ms cubic-bezier(0.694, 0.0482, 0.335, 1);
3578
- transition: transform 150ms cubic-bezier(0.694, 0.0482, 0.335, 1), -webkit-transform 150ms cubic-bezier(0.694, 0.0482, 0.335, 1);
3579
- }
3580
- .euiFilePicker--compressed .euiFilePicker__icon {
3581
- top: 8px;
3582
- left: 8px;
3583
- }
3584
- .euiFilePicker--large .euiFilePicker__icon {
3585
- position: static;
3586
- margin-bottom: 16px;
3587
- }
3588
-
3589
- /**
3590
- * 1. Don't block the user from dropping files onto the filepicker.
3591
- * 2. Ensure space for import icon, loading spinner, and clear button (only if it has files)
3592
- * 4. Static height so that it doesn't shift its surrounding contents around
3593
- */
3594
- .euiFilePicker__prompt {
3595
- padding-left: 40px;
3596
- /* 2 */
3597
- height: 40px;
3598
- padding-top: 12px;
3599
- padding-right: 12px;
3600
- padding-bottom: 12px;
3601
- pointer-events: none; /* 1 */
3602
- border: 2px dashed #343741;
3603
- border-radius: 6px;
3604
- transition: border-color 150ms ease-in, background-color 150ms ease-in;
3605
- }
3606
- .euiFilePicker--compressed .euiFilePicker__prompt {
3607
- background-color: #16171c;
3608
- background-repeat: no-repeat;
3609
- background-size: 0% 100%;
3610
- box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.1);
3611
- transition: box-shadow 150ms ease-in, background-image 150ms ease-in, background-size 150ms ease-in, background-color 150ms ease-in;
3612
- padding: 8px;
3613
- border-radius: 4px;
3614
- padding-left: 32px;
3615
- /* 2 */
3616
- height: 32px;
3617
- border-radius: 4px;
3618
- box-shadow: none;
3619
- }
3620
- @supports (-moz-appearance: none) {
3621
- .euiFilePicker--compressed .euiFilePicker__prompt {
3622
- transition-property: box-shadow, background-image, background-size;
3623
- }
3624
- }
3625
- .euiFilePicker--large .euiFilePicker__prompt {
3626
- height: 128px; /* 4 */
3627
- padding: 0 24px;
3628
- display: -webkit-flex;
3629
- display: flex;
3630
- -webkit-flex-direction: column;
3631
- flex-direction: column;
3632
- -webkit-align-items: center;
3633
- align-items: center;
3634
- -webkit-justify-content: center;
3635
- justify-content: center;
3636
- }
3637
- .euiFilePicker--large.euiFilePicker--compressed .euiFilePicker__prompt {
3638
- height: 104px; /* 4 */
3639
- }
3640
- .euiFilePicker-isInvalid:not(.euiFilePicker__showDrop) .euiFilePicker__input:not(:disabled):not(:focus) + .euiFilePicker__prompt {
3641
- border-color: #F86B63;
3642
- }
3643
-
3644
- .euiFilePicker__promptText {
3645
- font-size: 14px;
3646
- font-size: 1rem;
3647
- line-height: 1.7142857143rem;
3648
- max-width: 100%;
3649
- overflow: hidden !important;
3650
- text-overflow: ellipsis !important;
3651
- white-space: nowrap !important;
3652
- line-height: 16px;
3653
- }
3654
- .euiFilePicker:not(.euiFilePicker--large):not(.euiFilePicker-hasFiles) .euiFilePicker__promptText {
3655
- color: #36A2EF;
3656
- }
3657
- .euiFilePicker:not(.euiFilePicker--large) .euiFilePicker__promptText {
3658
- margin-top: -2px;
3659
- }
3660
-
3661
- .euiFilePicker__clearButton,
3662
- .euiFilePicker__loadingSpinner {
3663
- position: absolute;
3664
- right: 12px;
3665
- top: 12px;
3666
- }
3667
- .euiFilePicker--compressed .euiFilePicker__clearButton,
3668
- .euiFilePicker--compressed .euiFilePicker__loadingSpinner {
3669
- top: 8px;
3670
- }
3671
-
3672
- /**
3673
- * 1. Undo the pointer-events: none applied to the enclosing prompt.
3674
- */
3675
- .euiFilePicker__clearButton {
3676
- pointer-events: auto; /* 1 */
3677
- }
3678
- .euiFilePicker:not(.euiFilePicker--large) .euiFilePicker__clearButton {
3679
- width: 16px;
3680
- height: 16px;
3681
- pointer-events: all;
3682
- background-color: #98A2B3;
3683
- border-radius: 16px;
3684
- line-height: 0;
3685
- }
3686
- .euiFilePicker:not(.euiFilePicker--large) .euiFilePicker__clearButton:focus {
3687
- outline: 2px solid currentColor;
3688
- }
3689
- .euiFilePicker:not(.euiFilePicker--large) .euiFilePicker__clearButton:focus:focus-visible {
3690
- outline-style: auto;
3691
- }
3692
- .euiFilePicker:not(.euiFilePicker--large) .euiFilePicker__clearButton:focus:not(:focus-visible) {
3693
- outline: none;
3694
- }
3695
- .euiFilePicker:not(.euiFilePicker--large) .euiFilePicker__clearButton .euiFilePicker__clearIcon {
3696
- width: 8px;
3697
- height: 8px;
3698
- fill: #1D1E24;
3699
- stroke: #1D1E24;
3700
- stroke-width: 2px;
3701
- }
3702
- .euiFilePicker--large .euiFilePicker__clearButton {
3703
- position: relative;
3704
- top: 0;
3705
- right: 0;
3706
- }
3707
-
3708
- .euiFilePicker__showDrop .euiFilePicker__prompt,
3709
- .euiFilePicker__input:focus + .euiFilePicker__prompt {
3710
- border-color: #36A2EF;
3711
- }
3712
-
3713
- .euiFilePicker__input:disabled + .euiFilePicker__prompt {
3714
- color: #535966;
3715
- -webkit-text-fill-color: #535966;
3716
- cursor: not-allowed;
3717
- background: #202128;
3718
- box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.1);
3719
- box-shadow: none;
3720
- }
3721
- .euiFilePicker__input:disabled + .euiFilePicker__prompt::-webkit-input-placeholder {
3722
- color: #535966;
3723
- opacity: 1;
3724
- }
3725
- .euiFilePicker__input:disabled + .euiFilePicker__prompt::-moz-placeholder {
3726
- color: #535966;
3727
- opacity: 1;
3728
- }
3729
- .euiFilePicker__input:disabled + .euiFilePicker__prompt::placeholder {
3730
- color: #535966;
3731
- opacity: 1;
3732
- }
3733
-
3734
- .euiFilePicker:not(.euiFilePicker--large).euiFilePicker-isLoading .euiFilePicker__prompt, .euiFilePicker:not(.euiFilePicker--large).euiFilePicker-hasFiles .euiFilePicker__prompt {
3735
- padding-right: 40px;
3736
- /* 2 */
3737
- }
3738
-
3739
- .euiFilePicker-hasFiles .euiFilePicker__promptText {
3740
- color: #DFE5EF;
3741
- }
3742
-
3743
- .euiFilePicker--large .euiFilePicker__input:hover:not(:disabled) + .euiFilePicker__prompt .euiFilePicker__promptText,
3744
- .euiFilePicker--large .euiFilePicker__input:focus + .euiFilePicker__prompt .euiFilePicker__promptText {
3745
- text-decoration: underline;
3746
- }
3747
- .euiFilePicker--large .euiFilePicker__input:hover:not(:disabled) + .euiFilePicker__prompt .euiFilePicker__icon,
3748
- .euiFilePicker--large .euiFilePicker__input:focus + .euiFilePicker__prompt .euiFilePicker__icon {
3749
- -webkit-transform: scale(1.1);
3750
- transform: scale(1.1);
3751
- }
3752
- .euiFilePicker--large.euiFilePicker__showDrop .euiFilePicker__prompt .euiFilePicker__promptText {
3753
- text-decoration: underline;
3754
- }
3755
- .euiFilePicker--large.euiFilePicker__showDrop .euiFilePicker__prompt .euiFilePicker__icon {
3756
- -webkit-transform: scale(1.1);
3757
- transform: scale(1.1);
3758
- }
3759
- .euiFilePicker--large.euiFilePicker-hasFiles .euiFilePicker__promptText {
3760
- font-weight: 700;
3761
- }
3762
-
3763
- .euiForm__error {
3764
- font-size: 14px;
3765
- font-size: 1rem;
3766
- line-height: 1.7142857143rem;
3767
- list-style: disc;
3768
- }
3769
-
3770
- .euiForm__errors {
3771
- margin-bottom: 16px;
3772
- }
3773
-
3774
- /**
3775
- * 1. Ensure the descenders don't get cut off
3776
- */
3777
- .euiSelect {
3778
- max-width: 400px;
3779
- width: 100%;
3780
- height: 40px;
3781
- background-color: #16171c;
3782
- background-repeat: no-repeat;
3783
- background-size: 0% 100%;
3784
- box-shadow: 0 0 transparent, inset 0 0 0 1px rgba(255, 255, 255, 0.1);
3785
- transition: box-shadow 150ms ease-in, background-image 150ms ease-in, background-size 150ms ease-in, background-color 150ms ease-in;
3786
- font-family: "Inter", BlinkMacSystemFont, Helvetica, Arial, sans-serif;
3787
- font-weight: 400;
3788
- letter-spacing: normal;
3789
- -webkit-text-size-adjust: 100%;
3790
- -ms-text-size-adjust: 100%;
3791
- -webkit-font-kerning: normal;
3792
- font-kerning: normal;
3793
- font-size: 14px;
3794
- color: #DFE5EF;
3795
- border: none;
3796
- border-radius: 6px;
3797
- padding: 12px;
3798
- -webkit-appearance: none;
3799
- -moz-appearance: none;
3800
- appearance: none;
3801
- line-height: 40px; /* 1 */
3802
- padding-top: 0; /* 1 */
3803
- padding-bottom: 0; /* 1 */
3804
- }
3805
- .euiSelect--fullWidth {
3806
- max-width: 100%;
3807
- }
3808
- .euiSelect--compressed {
3809
- height: 32px;
3810
- }
3811
- .euiSelect--inGroup {
3812
- height: 100%;
3813
- }
3814
- @supports (-moz-appearance: none) {
3815
- .euiSelect {
3816
- transition-property: box-shadow, background-image, background-size;
3817
- }
3818
- }
3819
- .euiSelect::-webkit-input-placeholder {
3820
- color: #81858f;
3821
- opacity: 1;
3822
- }
3823
- .euiSelect::-moz-placeholder {
3824
- color: #81858f;
3825
- opacity: 1;
3826
- }
3827
- .euiSelect::placeholder {
3828
- color: #81858f;
3829
- opacity: 1;
3830
- }
3831
- .euiSelect:invalid {
3832
- background-image: linear-gradient(to top, #F86B63, #F86B63 2px, transparent 2px, transparent 100%);
3833
- background-size: 100%;
3834
- }
3835
- .euiSelect:focus {
3836
- background-color: #111216;
3837
- background-image: linear-gradient(to top, #36A2EF, #36A2EF 2px, transparent 2px, transparent 100%);
3838
- background-size: 100% 100%;
3839
- outline: none;
3840
- box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.1);
3841
- }
3842
- .euiSelect:disabled {
3843
- color: #535966;
3844
- -webkit-text-fill-color: #535966;
3845
- cursor: not-allowed;
3846
- background: #202128;
3847
- box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.1);
3848
- }
3849
- .euiSelect:disabled::-webkit-input-placeholder {
3850
- color: #535966;
3851
- opacity: 1;
3852
- }
3853
- .euiSelect:disabled::-moz-placeholder {
3854
- color: #535966;
3855
- opacity: 1;
3856
- }
3857
- .euiSelect:disabled::placeholder {
3858
- color: #535966;
3859
- opacity: 1;
3860
- }
3861
- .euiSelect[readOnly] {
3862
- cursor: default;
3863
- color: #DFE5EF;
3864
- -webkit-text-fill-color: #DFE5EF;
3865
- background: #1D1E24;
3866
- border-color: transparent;
3867
- box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.1);
3868
- }
3869
- .euiSelect:-webkit-autofill {
3870
- -webkit-text-fill-color: #343741;
3871
- }
3872
- .euiSelect:-webkit-autofill ~ .euiFormControlLayoutIcons {
3873
- color: #343741;
3874
- }
3875
- .euiSelect--compressed {
3876
- background-color: #16171c;
3877
- background-repeat: no-repeat;
3878
- background-size: 0% 100%;
3879
- box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.1);
3880
- transition: box-shadow 150ms ease-in, background-image 150ms ease-in, background-size 150ms ease-in, background-color 150ms ease-in;
3881
- padding: 8px;
3882
- border-radius: 4px;
3883
- }
3884
- @supports (-moz-appearance: none) {
3885
- .euiSelect--compressed {
3886
- transition-property: box-shadow, background-image, background-size;
3887
- }
3888
- }
3889
- .euiSelect--compressed:invalid {
3890
- background-image: linear-gradient(to top, #F86B63, #F86B63 2px, transparent 2px, transparent 100%);
3891
- background-size: 100%;
3892
- }
3893
- .euiSelect--compressed:focus {
3894
- background-color: #111216;
3895
- background-image: linear-gradient(to top, #36A2EF, #36A2EF 2px, transparent 2px, transparent 100%);
3896
- background-size: 100% 100%;
3897
- outline: none;
3898
- box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.1);
3899
- }
3900
- .euiSelect--compressed:disabled {
3901
- color: #535966;
3902
- -webkit-text-fill-color: #535966;
3903
- cursor: not-allowed;
3904
- background: #202128;
3905
- box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.1);
3906
- }
3907
- .euiSelect--compressed:disabled::-webkit-input-placeholder {
3908
- color: #535966;
3909
- opacity: 1;
3910
- }
3911
- .euiSelect--compressed:disabled::-moz-placeholder {
3912
- color: #535966;
3913
- opacity: 1;
3914
- }
3915
- .euiSelect--compressed:disabled::placeholder {
3916
- color: #535966;
3917
- opacity: 1;
3918
- }
3919
- .euiSelect--compressed[readOnly] {
3920
- cursor: default;
3921
- color: #DFE5EF;
3922
- -webkit-text-fill-color: #DFE5EF;
3923
- background: #1D1E24;
3924
- border-color: transparent;
3925
- box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.1);
3926
- }
3927
- .euiSelect--inGroup {
3928
- box-shadow: none !important;
3929
- border-radius: 0;
3930
- }
3931
- .euiSelect--compressed {
3932
- line-height: 32px; /* 1 */
3933
- padding-top: 0; /* 1 */
3934
- padding-bottom: 0; /* 1 */
3935
- }
3936
- .euiSelect--inGroup {
3937
- line-height: 38px; /* 1 */
3938
- }
3939
- .euiSelect--inGroup.euiSelect--compressed {
3940
- line-height: 30px; /* 1 */
3941
- }
3942
- .euiSelect::-ms-expand {
3943
- display: none;
3944
- }
3945
- .euiSelect:focus::-ms-value {
3946
- color: #DFE5EF;
3947
- background: transparent;
3948
- }
3949
- .euiSelect:-moz-focusring {
3950
- color: transparent;
3951
- text-shadow: 0 0 0 #DFE5EF;
3952
- }
3953
-
3954
- .euiSuperSelect__listbox {
3955
- scrollbar-color: rgba(152, 162, 179, 0.5) transparent;
3956
- scrollbar-width: thin;
3957
- max-height: 300px;
3958
- overflow: hidden;
3959
- overflow-y: auto;
3960
- }
3961
- .euiSuperSelect__listbox::-webkit-scrollbar {
3962
- width: 16px;
3963
- height: 16px;
3964
- }
3965
- .euiSuperSelect__listbox::-webkit-scrollbar-thumb {
3966
- background-color: rgba(152, 162, 179, 0.5);
3967
- background-clip: content-box;
3968
- border-radius: 16px;
3969
- border: 6px solid transparent;
3970
- }
3971
- .euiSuperSelect__listbox::-webkit-scrollbar-corner, .euiSuperSelect__listbox::-webkit-scrollbar-track {
3972
- background-color: transparent;
3973
- }
3974
-
3975
- .euiSuperSelect__item {
3976
- font-size: 14px;
3977
- font-size: 1rem;
3978
- line-height: 1.7142857143rem;
3979
- padding: 8px;
3980
- }
3981
- .euiSuperSelect__item:hover {
3982
- cursor: pointer;
3983
- text-decoration: underline;
3984
- }
3985
- .euiSuperSelect__item:focus {
3986
- cursor: pointer;
3987
- text-decoration: underline;
3988
- background-color: rgba(54, 162, 239, 0.2);
3989
- }
3990
- .euiSuperSelect__item:disabled {
3991
- cursor: not-allowed;
3992
- text-decoration: none;
3993
- color: #515761;
3994
- }
3995
-
3996
- .euiSuperSelect__item--hasDividers:not(:last-of-type) {
3997
- border-bottom: 1px solid #343741;
3998
- }
3999
-
4000
- /**
4001
- * 1. Ensure the descenders don't get cut off
4002
- * 2. Makes sure the height is correct when there's no selection
4003
- */
4004
- .euiSuperSelectControl {
4005
- max-width: 400px;
4006
- width: 100%;
4007
- height: 40px;
4008
- background-color: #16171c;
4009
- background-repeat: no-repeat;
4010
- background-size: 0% 100%;
4011
- box-shadow: 0 0 transparent, inset 0 0 0 1px rgba(255, 255, 255, 0.1);
4012
- transition: box-shadow 150ms ease-in, background-image 150ms ease-in, background-size 150ms ease-in, background-color 150ms ease-in;
4013
- font-family: "Inter", BlinkMacSystemFont, Helvetica, Arial, sans-serif;
4014
- font-weight: 400;
4015
- letter-spacing: normal;
4016
- -webkit-text-size-adjust: 100%;
4017
- -ms-text-size-adjust: 100%;
4018
- -webkit-font-kerning: normal;
4019
- font-kerning: normal;
4020
- font-size: 14px;
4021
- color: #DFE5EF;
4022
- border: none;
4023
- border-radius: 6px;
4024
- padding: 12px;
4025
- display: block; /* 2 */
4026
- text-align: left;
4027
- line-height: 40px; /* 1 */
4028
- padding-top: 0; /* 1 */
4029
- padding-bottom: 0; /* 1 */
4030
- overflow: hidden;
4031
- text-overflow: ellipsis;
4032
- white-space: nowrap;
4033
- }
4034
- .euiSuperSelectControl--fullWidth {
4035
- max-width: 100%;
4036
- }
4037
- .euiSuperSelectControl--compressed {
4038
- height: 32px;
4039
- }
4040
- .euiSuperSelectControl--inGroup {
4041
- height: 100%;
4042
- }
4043
- @supports (-moz-appearance: none) {
4044
- .euiSuperSelectControl {
4045
- transition-property: box-shadow, background-image, background-size;
4046
- }
4047
- }
4048
- .euiSuperSelectControl::-webkit-input-placeholder {
4049
- color: #81858f;
4050
- opacity: 1;
4051
- }
4052
- .euiSuperSelectControl::-moz-placeholder {
4053
- color: #81858f;
4054
- opacity: 1;
4055
- }
4056
- .euiSuperSelectControl::placeholder {
4057
- color: #81858f;
4058
- opacity: 1;
4059
- }
4060
- .euiSuperSelectControl:invalid {
4061
- background-image: linear-gradient(to top, #F86B63, #F86B63 2px, transparent 2px, transparent 100%);
4062
- background-size: 100%;
4063
- }
4064
- .euiSuperSelectControl:focus {
4065
- background-color: #111216;
4066
- background-image: linear-gradient(to top, #36A2EF, #36A2EF 2px, transparent 2px, transparent 100%);
4067
- background-size: 100% 100%;
4068
- outline: none;
4069
- box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.1);
4070
- }
4071
- .euiSuperSelectControl:disabled {
4072
- color: #535966;
4073
- -webkit-text-fill-color: #535966;
4074
- cursor: not-allowed;
4075
- background: #202128;
4076
- box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.1);
4077
- }
4078
- .euiSuperSelectControl:disabled::-webkit-input-placeholder {
4079
- color: #535966;
4080
- opacity: 1;
4081
- }
4082
- .euiSuperSelectControl:disabled::-moz-placeholder {
4083
- color: #535966;
4084
- opacity: 1;
4085
- }
4086
- .euiSuperSelectControl:disabled::placeholder {
4087
- color: #535966;
4088
- opacity: 1;
4089
- }
4090
- .euiSuperSelectControl[readOnly] {
4091
- cursor: default;
4092
- color: #DFE5EF;
4093
- -webkit-text-fill-color: #DFE5EF;
4094
- background: #1D1E24;
4095
- border-color: transparent;
4096
- box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.1);
4097
- }
4098
- .euiSuperSelectControl:-webkit-autofill {
4099
- -webkit-text-fill-color: #343741;
4100
- }
4101
- .euiSuperSelectControl:-webkit-autofill ~ .euiFormControlLayoutIcons {
4102
- color: #343741;
4103
- }
4104
- .euiSuperSelectControl--compressed {
4105
- background-color: #16171c;
4106
- background-repeat: no-repeat;
4107
- background-size: 0% 100%;
4108
- box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.1);
4109
- transition: box-shadow 150ms ease-in, background-image 150ms ease-in, background-size 150ms ease-in, background-color 150ms ease-in;
4110
- padding: 8px;
4111
- border-radius: 4px;
4112
- }
4113
- @supports (-moz-appearance: none) {
4114
- .euiSuperSelectControl--compressed {
4115
- transition-property: box-shadow, background-image, background-size;
4116
- }
4117
- }
4118
- .euiSuperSelectControl--compressed:invalid {
4119
- background-image: linear-gradient(to top, #F86B63, #F86B63 2px, transparent 2px, transparent 100%);
4120
- background-size: 100%;
4121
- }
4122
- .euiSuperSelectControl--compressed:focus {
4123
- background-color: #111216;
4124
- background-image: linear-gradient(to top, #36A2EF, #36A2EF 2px, transparent 2px, transparent 100%);
4125
- background-size: 100% 100%;
4126
- outline: none;
4127
- box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.1);
4128
- }
4129
- .euiSuperSelectControl--compressed:disabled {
4130
- color: #535966;
4131
- -webkit-text-fill-color: #535966;
4132
- cursor: not-allowed;
4133
- background: #202128;
4134
- box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.1);
4135
- }
4136
- .euiSuperSelectControl--compressed:disabled::-webkit-input-placeholder {
4137
- color: #535966;
4138
- opacity: 1;
4139
- }
4140
- .euiSuperSelectControl--compressed:disabled::-moz-placeholder {
4141
- color: #535966;
4142
- opacity: 1;
4143
- }
4144
- .euiSuperSelectControl--compressed:disabled::placeholder {
4145
- color: #535966;
4146
- opacity: 1;
4147
- }
4148
- .euiSuperSelectControl--compressed[readOnly] {
4149
- cursor: default;
4150
- color: #DFE5EF;
4151
- -webkit-text-fill-color: #DFE5EF;
4152
- background: #1D1E24;
4153
- border-color: transparent;
4154
- box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.1);
4155
- }
4156
- .euiSuperSelectControl--inGroup {
4157
- box-shadow: none !important;
4158
- border-radius: 0;
4159
- }
4160
- .euiSuperSelectControl-isInvalid {
4161
- background-image: linear-gradient(to top, #F86B63, #F86B63 2px, transparent 2px, transparent 100%);
4162
- background-size: 100%;
4163
- }
4164
- .euiSuperSelectControl--compressed {
4165
- line-height: 32px; /* 1 */
4166
- padding-top: 0; /* 1 */
4167
- padding-bottom: 0; /* 1 */
4168
- }
4169
- .euiSuperSelectControl__placeholder {
4170
- color: #535966;
4171
- -webkit-text-fill-color: #535966;
4172
- }
4173
- .euiSuperSelectControl.euiSuperSelect--isOpen__button {
4174
- background-color: #111216;
4175
- background-image: linear-gradient(to top, #36A2EF, #36A2EF 2px, transparent 2px, transparent 100%);
4176
- background-size: 100% 100%;
4177
- outline: none;
4178
- box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.1);
3125
+ .euiForm__errors {
3126
+ margin-bottom: 16px;
4179
3127
  }
4180
3128
 
4181
3129
  .euiFormControlLayout {
@@ -5041,184 +3989,6 @@ The following files still use the Sass version:
5041
3989
  border-color: #36A2EF;
5042
3990
  }
5043
3991
 
5044
- .euiTextArea {
5045
- max-width: 400px;
5046
- width: 100%;
5047
- height: 40px;
5048
- background-color: #16171c;
5049
- background-repeat: no-repeat;
5050
- background-size: 0% 100%;
5051
- box-shadow: 0 0 transparent, inset 0 0 0 1px rgba(255, 255, 255, 0.1);
5052
- transition: box-shadow 150ms ease-in, background-image 150ms ease-in, background-size 150ms ease-in, background-color 150ms ease-in;
5053
- font-family: "Inter", BlinkMacSystemFont, Helvetica, Arial, sans-serif;
5054
- font-weight: 400;
5055
- letter-spacing: normal;
5056
- -webkit-text-size-adjust: 100%;
5057
- -ms-text-size-adjust: 100%;
5058
- -webkit-font-kerning: normal;
5059
- font-kerning: normal;
5060
- font-size: 14px;
5061
- color: #DFE5EF;
5062
- border: none;
5063
- border-radius: 6px;
5064
- padding: 12px;
5065
- line-height: 1.5;
5066
- display: block;
5067
- }
5068
- .euiTextArea--fullWidth {
5069
- max-width: 100%;
5070
- }
5071
- .euiTextArea--compressed {
5072
- height: 32px;
5073
- }
5074
- .euiTextArea--inGroup {
5075
- height: 100%;
5076
- }
5077
- @supports (-moz-appearance: none) {
5078
- .euiTextArea {
5079
- transition-property: box-shadow, background-image, background-size;
5080
- }
5081
- }
5082
- .euiTextArea::-webkit-input-placeholder {
5083
- color: #81858f;
5084
- opacity: 1;
5085
- }
5086
- .euiTextArea::-moz-placeholder {
5087
- color: #81858f;
5088
- opacity: 1;
5089
- }
5090
- .euiTextArea::placeholder {
5091
- color: #81858f;
5092
- opacity: 1;
5093
- }
5094
- .euiTextArea:invalid {
5095
- background-image: linear-gradient(to top, #F86B63, #F86B63 2px, transparent 2px, transparent 100%);
5096
- background-size: 100%;
5097
- }
5098
- .euiTextArea:focus {
5099
- background-color: #111216;
5100
- background-image: linear-gradient(to top, #36A2EF, #36A2EF 2px, transparent 2px, transparent 100%);
5101
- background-size: 100% 100%;
5102
- outline: none;
5103
- box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.1);
5104
- }
5105
- .euiTextArea:disabled {
5106
- color: #535966;
5107
- -webkit-text-fill-color: #535966;
5108
- cursor: not-allowed;
5109
- background: #202128;
5110
- box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.1);
5111
- }
5112
- .euiTextArea:disabled::-webkit-input-placeholder {
5113
- color: #535966;
5114
- opacity: 1;
5115
- }
5116
- .euiTextArea:disabled::-moz-placeholder {
5117
- color: #535966;
5118
- opacity: 1;
5119
- }
5120
- .euiTextArea:disabled::placeholder {
5121
- color: #535966;
5122
- opacity: 1;
5123
- }
5124
- .euiTextArea[readOnly] {
5125
- cursor: default;
5126
- color: #DFE5EF;
5127
- -webkit-text-fill-color: #DFE5EF;
5128
- background: #1D1E24;
5129
- border-color: transparent;
5130
- box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.1);
5131
- }
5132
- .euiTextArea:-webkit-autofill {
5133
- -webkit-text-fill-color: #343741;
5134
- }
5135
- .euiTextArea:-webkit-autofill ~ .euiFormControlLayoutIcons {
5136
- color: #343741;
5137
- }
5138
- .euiTextArea--compressed {
5139
- background-color: #16171c;
5140
- background-repeat: no-repeat;
5141
- background-size: 0% 100%;
5142
- box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.1);
5143
- transition: box-shadow 150ms ease-in, background-image 150ms ease-in, background-size 150ms ease-in, background-color 150ms ease-in;
5144
- padding: 8px;
5145
- border-radius: 4px;
5146
- }
5147
- @supports (-moz-appearance: none) {
5148
- .euiTextArea--compressed {
5149
- transition-property: box-shadow, background-image, background-size;
5150
- }
5151
- }
5152
- .euiTextArea--compressed:invalid {
5153
- background-image: linear-gradient(to top, #F86B63, #F86B63 2px, transparent 2px, transparent 100%);
5154
- background-size: 100%;
5155
- }
5156
- .euiTextArea--compressed:focus {
5157
- background-color: #111216;
5158
- background-image: linear-gradient(to top, #36A2EF, #36A2EF 2px, transparent 2px, transparent 100%);
5159
- background-size: 100% 100%;
5160
- outline: none;
5161
- box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.1);
5162
- }
5163
- .euiTextArea--compressed:disabled {
5164
- color: #535966;
5165
- -webkit-text-fill-color: #535966;
5166
- cursor: not-allowed;
5167
- background: #202128;
5168
- box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.1);
5169
- }
5170
- .euiTextArea--compressed:disabled::-webkit-input-placeholder {
5171
- color: #535966;
5172
- opacity: 1;
5173
- }
5174
- .euiTextArea--compressed:disabled::-moz-placeholder {
5175
- color: #535966;
5176
- opacity: 1;
5177
- }
5178
- .euiTextArea--compressed:disabled::placeholder {
5179
- color: #535966;
5180
- opacity: 1;
5181
- }
5182
- .euiTextArea--compressed[readOnly] {
5183
- cursor: default;
5184
- color: #DFE5EF;
5185
- -webkit-text-fill-color: #DFE5EF;
5186
- background: #1D1E24;
5187
- border-color: transparent;
5188
- box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.1);
5189
- }
5190
- .euiTextArea--inGroup {
5191
- box-shadow: none !important;
5192
- border-radius: 0;
5193
- }
5194
- .euiTextArea, .euiTextArea--compressed {
5195
- height: auto;
5196
- }
5197
-
5198
- .euiFormControlLayout--euiTextArea {
5199
- height: auto;
5200
- }
5201
- .euiFormControlLayout--euiTextArea .euiFormControlLayoutIcons {
5202
- top: auto;
5203
- bottom: 12px;
5204
- }
5205
-
5206
- .euiTextArea--resizeVertical {
5207
- resize: vertical;
5208
- }
5209
-
5210
- .euiTextArea--resizeHorizontal {
5211
- resize: horizontal;
5212
- }
5213
-
5214
- .euiTextArea--resizeBoth {
5215
- resize: both;
5216
- }
5217
-
5218
- .euiTextArea--resizeNone {
5219
- resize: none;
5220
- }
5221
-
5222
3992
  .euiSelectable {
5223
3993
  display: -webkit-flex;
5224
3994
  display: flex;