@elastic/eui 106.7.0 → 107.0.1

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 (114) hide show
  1. package/dist/eui_theme_amsterdam_dark.json +36 -0
  2. package/dist/eui_theme_amsterdam_dark.json.d.ts +36 -0
  3. package/dist/eui_theme_amsterdam_light.json +36 -0
  4. package/dist/eui_theme_amsterdam_light.json.d.ts +36 -0
  5. package/dist/eui_theme_borealis_dark.json +36 -0
  6. package/dist/eui_theme_borealis_dark.json.d.ts +36 -0
  7. package/dist/eui_theme_borealis_light.json +37 -1
  8. package/dist/eui_theme_borealis_light.json.d.ts +36 -0
  9. package/es/components/badge/beta_badge/beta_badge.js +1 -0
  10. package/es/components/basic_table/basic_table.styles.js +6 -4
  11. package/es/components/bottom_bar/bottom_bar.styles.js +4 -2
  12. package/es/components/code/code_syntax.styles.js +1 -1
  13. package/es/components/collapsible_nav_beta/collapsible_nav_beta.js +1 -1
  14. package/es/components/collapsible_nav_beta/collapsible_nav_beta.styles.js +3 -1
  15. package/es/components/flyout/flyout.styles.js +18 -7
  16. package/es/components/header/header.styles.js +3 -1
  17. package/es/components/icon/icon.js +31 -14
  18. package/es/components/icon/icon_map.js +1 -1
  19. package/es/components/page_template/inner/page_inner.styles.js +3 -1
  20. package/es/components/panel/panel.styles.js +6 -6
  21. package/es/components/table/table_row.styles.js +3 -3
  22. package/es/global_styling/mixins/_shadow.js +14 -2
  23. package/es/themes/amsterdam/global_styling/variables/_shadows.js +439 -0
  24. package/es/themes/amsterdam/theme.js +4 -1
  25. package/es/themes/json/eui_theme_amsterdam_dark.json +36 -0
  26. package/es/themes/json/eui_theme_amsterdam_light.json +36 -0
  27. package/es/themes/json/eui_theme_borealis_dark.json +36 -0
  28. package/es/themes/json/eui_theme_borealis_light.json +37 -1
  29. package/eui.d.ts +159 -4
  30. package/lib/components/badge/beta_badge/beta_badge.js +1 -0
  31. package/lib/components/basic_table/basic_table.styles.js +5 -3
  32. package/lib/components/bottom_bar/bottom_bar.styles.js +4 -2
  33. package/lib/components/code/code_syntax.styles.js +1 -1
  34. package/lib/components/collapsible_nav_beta/collapsible_nav_beta.js +1 -1
  35. package/lib/components/collapsible_nav_beta/collapsible_nav_beta.styles.js +3 -1
  36. package/lib/components/flyout/flyout.styles.js +18 -7
  37. package/lib/components/header/header.styles.js +3 -1
  38. package/lib/components/icon/icon.js +31 -14
  39. package/lib/components/icon/icon_map.js +1 -1
  40. package/lib/components/page_template/inner/page_inner.styles.js +3 -1
  41. package/lib/components/panel/panel.styles.js +5 -5
  42. package/lib/components/table/table_row.styles.js +3 -3
  43. package/lib/global_styling/mixins/_shadow.js +18 -1
  44. package/lib/themes/amsterdam/global_styling/variables/_shadows.js +442 -0
  45. package/lib/themes/amsterdam/theme.js +4 -1
  46. package/lib/themes/json/eui_theme_amsterdam_dark.json +36 -0
  47. package/lib/themes/json/eui_theme_amsterdam_light.json +36 -0
  48. package/lib/themes/json/eui_theme_borealis_dark.json +36 -0
  49. package/lib/themes/json/eui_theme_borealis_light.json +37 -1
  50. package/optimize/es/components/badge/beta_badge/beta_badge.js +1 -0
  51. package/optimize/es/components/basic_table/basic_table.styles.js +6 -4
  52. package/optimize/es/components/bottom_bar/bottom_bar.styles.js +4 -2
  53. package/optimize/es/components/code/code_syntax.styles.js +1 -1
  54. package/optimize/es/components/collapsible_nav_beta/collapsible_nav_beta.js +1 -1
  55. package/optimize/es/components/collapsible_nav_beta/collapsible_nav_beta.styles.js +3 -1
  56. package/optimize/es/components/flyout/flyout.styles.js +18 -7
  57. package/optimize/es/components/header/header.styles.js +3 -1
  58. package/optimize/es/components/icon/icon.js +31 -14
  59. package/optimize/es/components/icon/icon_map.js +1 -1
  60. package/optimize/es/components/page_template/inner/page_inner.styles.js +3 -1
  61. package/optimize/es/components/panel/panel.styles.js +6 -6
  62. package/optimize/es/components/table/table_row.styles.js +3 -3
  63. package/optimize/es/global_styling/mixins/_shadow.js +14 -2
  64. package/optimize/es/themes/amsterdam/global_styling/variables/_shadows.js +436 -0
  65. package/optimize/es/themes/amsterdam/theme.js +4 -1
  66. package/optimize/es/themes/json/eui_theme_amsterdam_dark.json +36 -0
  67. package/optimize/es/themes/json/eui_theme_amsterdam_light.json +36 -0
  68. package/optimize/es/themes/json/eui_theme_borealis_dark.json +36 -0
  69. package/optimize/es/themes/json/eui_theme_borealis_light.json +37 -1
  70. package/optimize/lib/components/badge/beta_badge/beta_badge.js +1 -0
  71. package/optimize/lib/components/basic_table/basic_table.styles.js +5 -3
  72. package/optimize/lib/components/bottom_bar/bottom_bar.styles.js +4 -2
  73. package/optimize/lib/components/code/code_syntax.styles.js +1 -1
  74. package/optimize/lib/components/collapsible_nav_beta/collapsible_nav_beta.js +1 -1
  75. package/optimize/lib/components/collapsible_nav_beta/collapsible_nav_beta.styles.js +3 -1
  76. package/optimize/lib/components/flyout/flyout.styles.js +18 -7
  77. package/optimize/lib/components/header/header.styles.js +3 -1
  78. package/optimize/lib/components/icon/icon.js +31 -14
  79. package/optimize/lib/components/icon/icon_map.js +1 -1
  80. package/optimize/lib/components/page_template/inner/page_inner.styles.js +3 -1
  81. package/optimize/lib/components/panel/panel.styles.js +5 -5
  82. package/optimize/lib/components/table/table_row.styles.js +3 -3
  83. package/optimize/lib/global_styling/mixins/_shadow.js +18 -1
  84. package/optimize/lib/themes/amsterdam/global_styling/variables/_shadows.js +440 -0
  85. package/optimize/lib/themes/amsterdam/theme.js +4 -1
  86. package/optimize/lib/themes/json/eui_theme_amsterdam_dark.json +36 -0
  87. package/optimize/lib/themes/json/eui_theme_amsterdam_light.json +36 -0
  88. package/optimize/lib/themes/json/eui_theme_borealis_dark.json +36 -0
  89. package/optimize/lib/themes/json/eui_theme_borealis_light.json +37 -1
  90. package/package/eui.d.ts +33359 -0
  91. package/package.json +5 -5
  92. package/src/themes/amsterdam/global_styling/mixins/_index.scss +1 -1
  93. package/src/themes/amsterdam/global_styling/mixins/_shadow.scss +100 -0
  94. package/src/themes/amsterdam/global_styling/variables/_index.scss +1 -0
  95. package/src/themes/amsterdam/global_styling/variables/_shadows.scss +20 -0
  96. package/test-env/components/badge/beta_badge/beta_badge.js +1 -0
  97. package/test-env/components/basic_table/basic_table.styles.js +5 -3
  98. package/test-env/components/bottom_bar/bottom_bar.styles.js +4 -2
  99. package/test-env/components/code/code_syntax.styles.js +1 -1
  100. package/test-env/components/collapsible_nav_beta/collapsible_nav_beta.js +1 -1
  101. package/test-env/components/collapsible_nav_beta/collapsible_nav_beta.styles.js +3 -1
  102. package/test-env/components/flyout/flyout.styles.js +18 -7
  103. package/test-env/components/header/header.styles.js +3 -1
  104. package/test-env/components/icon/icon_map.js +1 -1
  105. package/test-env/components/page_template/inner/page_inner.styles.js +3 -1
  106. package/test-env/components/panel/panel.styles.js +5 -5
  107. package/test-env/components/table/table_row.styles.js +3 -3
  108. package/test-env/global_styling/mixins/_shadow.js +18 -1
  109. package/test-env/themes/amsterdam/global_styling/variables/_shadows.js +440 -0
  110. package/test-env/themes/amsterdam/theme.js +4 -1
  111. package/test-env/themes/json/eui_theme_amsterdam_dark.json +36 -0
  112. package/test-env/themes/json/eui_theme_amsterdam_light.json +36 -0
  113. package/test-env/themes/json/eui_theme_borealis_dark.json +36 -0
  114. package/test-env/themes/json/eui_theme_borealis_light.json +37 -1
@@ -136,6 +136,42 @@
136
136
  },
137
137
  "euiBreakpointKeys": "'xs', 's', 'm', 'l', 'xl'",
138
138
  "euiShadowColor": "#000000",
139
+ "euiShadows": {
140
+ "xs": {
141
+ "down": "0px 0.8px 0.8px 0px hsla(0,0%,0%,0.14), 0px 2.3px 2px 0px hsla(0,0%,0%,0.105)",
142
+ "up": "0px 0.8px 0.8px 0px hsla(0,0%,0%,0.14), 0px -2.3px 2px 0px hsla(0,0%,0%,0.105)"
143
+ },
144
+ "s": {
145
+ "down": "0px 0.7px 1.4px 0px hsla(0,0%,0%,0.245), 0px 1.9px 4px 0px hsla(0,0%,0%,0.175), 0px 4.5px 10px 0px hsla(0,0%,0%,0.175)",
146
+ "up": "0px 0.7px 1.4px 0px hsla(0,0%,0%,0.245), 0px -1.9px 4px 0px hsla(0,0%,0%,0.175), 0px -4.5px 10px 0px hsla(0,0%,0%,0.175)"
147
+ },
148
+ "m": {
149
+ "down": "0px 0.9px 4px 0px hsla(0,0%,0%,0.28), 0px 2.6px 8px 0px hsla(0,0%,0%,0.21), 0px 5.7px 12px 0px hsla(0,0%,0%,0.175), 0px 15px 15px 0px hsla(0,0%,0%,0.14)",
150
+ "up": "0px 0.9px 4px 0px hsla(0,0%,0%,0.28), 0px -2.6px 8px 0px hsla(0,0%,0%,0.21), 0px -5.7px 12px 0px hsla(0,0%,0%,0.175), 0px -15px 15px 0px hsla(0,0%,0%,0.14)"
151
+ },
152
+ "l": {
153
+ "down": "0px 1px 5px 0px hsla(0,0%,0%,0.350), 0px 3.6px 13px 0px hsla(0,0%,0%,0.245), 0px 8.4px 23px 0px hsla(0,0%,0%,0.21), 0px 23px 35px 0px hsla(0,0%,0%,0.175)",
154
+ "up": "0px 1px 5px 0px hsla(0,0%,0%,0.350), 0px -3.6px 13px 0px hsla(0,0%,0%,0.245), 0px -8.4px 23px 0px hsla(0,0%,0%,0.21), 0px -23px 35px 0px hsla(0,0%,0%,0.175)"
155
+ },
156
+ "xl": {
157
+ "down": "0px 2.7px 9px 0px hsla(0,0%,0%,0.455), 0px 9.4px 24px 0px hsla(0,0%,0%,0.315), 0px 21.8px 43px 0px hsla(0,0%,0%,0.28)",
158
+ "up": "0px 2.7px 9px 0px hsla(0,0%,0%,0.455), 0px -9.4px 24px 0px hsla(0,0%,0%,0.315), 0px -21.8px 43px 0px hsla(0,0%,0%,0.28)"
159
+ },
160
+ "hover": {
161
+ "base": {
162
+ "down": "0px 1.9px 4px 0px hsla(0,0%,0%,0.175), 0px 4.5px 10px 0px hsla(0,0%,0%,0.175)",
163
+ "up": "0px 1.9px 4px 0px hsla(0,0%,0%,0.175), 0px -4.5px 10px 0px hsla(0,0%,0%,0.175)"
164
+ },
165
+ "xl": {
166
+ "down": "none",
167
+ "up": "none"
168
+ }
169
+ },
170
+ "flat": {
171
+ "down": "0px 0px 0.8px 0px hsla(0,0%,0%,0.21), 0px 0px 2px 0px hsla(0,0%,0%,0.14), 0px 0px 5px 0px hsla(0,0%,0%,0.14), 0px 0px 17px 0px hsla(0,0%,0%,0.105)",
172
+ "up": "0px 0px 0.8px 0px hsla(0,0%,0%,0.21), 0px 0px 2px 0px hsla(0,0%,0%,0.14), 0px 0px 5px 0px hsla(0,0%,0%,0.14), 0px 0px 17px 0px hsla(0,0%,0%,0.105)"
173
+ }
174
+ },
139
175
  "euiSize": "16px",
140
176
  "euiSizeXS": "4px",
141
177
  "euiSizeS": "8px",
@@ -137,6 +137,42 @@ declare module '@elastic/eui/dist/eui_theme_amsterdam_dark.json' {
137
137
  };
138
138
  euiBreakpointKeys: string;
139
139
  euiShadowColor: string;
140
+ euiShadows: {
141
+ xs: {
142
+ down: string;
143
+ up: string;
144
+ };
145
+ s: {
146
+ down: string;
147
+ up: string;
148
+ };
149
+ m: {
150
+ down: string;
151
+ up: string;
152
+ };
153
+ l: {
154
+ down: string;
155
+ up: string;
156
+ };
157
+ xl: {
158
+ down: string;
159
+ up: string;
160
+ };
161
+ hover: {
162
+ base: {
163
+ down: string;
164
+ up: string;
165
+ };
166
+ xl: {
167
+ down: string;
168
+ up: string;
169
+ };
170
+ };
171
+ flat: {
172
+ down: string;
173
+ up: string;
174
+ };
175
+ };
140
176
  euiSize: string;
141
177
  euiSizeXS: string;
142
178
  euiSizeS: string;
@@ -136,6 +136,42 @@
136
136
  },
137
137
  "euiBreakpointKeys": "'xs', 's', 'm', 'l', 'xl'",
138
138
  "euiShadowColor": "#000000",
139
+ "euiShadows": {
140
+ "xs": {
141
+ "down": "0px 0.8px 0.8px 0px hsla(0,0%,0%,0.04), 0px 2.3px 2px 0px hsla(0,0%,0%,0.03)",
142
+ "up": "0px 0.8px 0.8px 0px hsla(0,0%,0%,0.04), 0px -2.3px 2px 0px hsla(0,0%,0%,0.03)"
143
+ },
144
+ "s": {
145
+ "down": "0px 0.7px 1.4px 0px hsla(0,0%,0%,0.07), 0px 1.9px 4px 0px hsla(0,0%,0%,0.05), 0px 4.5px 10px 0px hsla(0,0%,0%,0.05)",
146
+ "up": "0px 0.7px 1.4px 0px hsla(0,0%,0%,0.07), 0px -1.9px 4px 0px hsla(0,0%,0%,0.05), 0px -4.5px 10px 0px hsla(0,0%,0%,0.05)"
147
+ },
148
+ "m": {
149
+ "down": "0px 0.9px 4px 0px hsla(0,0%,0%,0.08), 0px 2.6px 8px 0px hsla(0,0%,0%,0.06), 0px 5.7px 12px 0px hsla(0,0%,0%,0.05), 0px 15px 15px 0px hsla(0,0%,0%,0.04)",
150
+ "up": "0px 0.9px 4px 0px hsla(0,0%,0%,0.08), 0px -2.6px 8px 0px hsla(0,0%,0%,0.06), 0px -5.7px 12px 0px hsla(0,0%,0%,0.05), 0px -15px 15px 0px hsla(0,0%,0%,0.04)"
151
+ },
152
+ "l": {
153
+ "down": "0px 1px 5px 0px hsla(0,0%,0%,0.1), 0px 3.6px 13px 0px hsla(0,0%,0%,0.07), 0px 8.4px 23px 0px hsla(0,0%,0%,0.06), 0px 23px 35px 0px hsla(0,0%,0%,0.05)",
154
+ "up": "0px 1px 5px 0px hsla(0,0%,0%,0.1), 0px -3.6px 13px 0px hsla(0,0%,0%,0.07), 0px -8.4px 23px 0px hsla(0,0%,0%,0.06), 0px -23px 35px 0px hsla(0,0%,0%,0.05)"
155
+ },
156
+ "xl": {
157
+ "down": "0px 2.7px 9px 0px hsla(0,0%,0%,0.13), 0px 9.4px 24px 0px hsla(0,0%,0%,0.09), 0px 21.8px 43px 0px hsla(0,0%,0%,0.08)",
158
+ "up": "0px 2.7px 9px 0px hsla(0,0%,0%,0.13), 0px -9.4px 24px 0px hsla(0,0%,0%,0.09), 0px -21.8px 43px 0px hsla(0,0%,0%,0.08)"
159
+ },
160
+ "hover": {
161
+ "base": {
162
+ "down": "0px 1.9px 4px 0px hsla(0,0%,0%,0.05), 0px 4.5px 10px 0px hsla(0,0%,0%,0.05)",
163
+ "up": "0px 1.9px 4px 0px hsla(0,0%,0%,0.05), 0px -4.5px 10px 0px hsla(0,0%,0%,0.05)"
164
+ },
165
+ "xl": {
166
+ "down": "none",
167
+ "up": "none"
168
+ }
169
+ },
170
+ "flat": {
171
+ "down": "0px 0px 0.8px 0px hsla(0,0%,0%,0.06), 0px 0px 2px 0px hsla(0,0%,0%,0.04), 0px 0px 5px 0px hsla(0,0%,0%,0.04), 0px 0px 17px 0px hsla(0,0%,0%,0.03)",
172
+ "up": "0px 0px 0.8px 0px hsla(0,0%,0%,0.06), 0px 0px 2px 0px hsla(0,0%,0%,0.04), 0px 0px 5px 0px hsla(0,0%,0%,0.04), 0px 0px 17px 0px hsla(0,0%,0%,0.03)"
173
+ }
174
+ },
139
175
  "euiSize": "16px",
140
176
  "euiSizeXS": "4px",
141
177
  "euiSizeS": "8px",
@@ -137,6 +137,42 @@ declare module '@elastic/eui/dist/eui_theme_amsterdam_light.json' {
137
137
  };
138
138
  euiBreakpointKeys: string;
139
139
  euiShadowColor: string;
140
+ euiShadows: {
141
+ xs: {
142
+ down: string;
143
+ up: string;
144
+ };
145
+ s: {
146
+ down: string;
147
+ up: string;
148
+ };
149
+ m: {
150
+ down: string;
151
+ up: string;
152
+ };
153
+ l: {
154
+ down: string;
155
+ up: string;
156
+ };
157
+ xl: {
158
+ down: string;
159
+ up: string;
160
+ };
161
+ hover: {
162
+ base: {
163
+ down: string;
164
+ up: string;
165
+ };
166
+ xl: {
167
+ down: string;
168
+ up: string;
169
+ };
170
+ };
171
+ flat: {
172
+ down: string;
173
+ up: string;
174
+ };
175
+ };
140
176
  euiSize: string;
141
177
  euiSizeXS: string;
142
178
  euiSizeS: string;
@@ -136,6 +136,42 @@
136
136
  },
137
137
  "euiBreakpointKeys": "'xs', 's', 'm', 'l', 'xl'",
138
138
  "euiShadowColor": "#000000",
139
+ "euiShadows": {
140
+ "xs": {
141
+ "down": "0px 1px 4px 0px hsla(0,0%,0%,0.4), 0px 2px 8px 0px hsla(0,0%,0%,0.24)",
142
+ "up": "0px 1px 4px 0px hsla(0,0%,0%,0.4), 0px -2px 8px 0px hsla(0,0%,0%,0.24)"
143
+ },
144
+ "s":{
145
+ "down": "0px 2px 7px 0px hsla(0,0%,0%,0.46), 0px 4px 11px 0px hsla(0,0%,0%,0.26)",
146
+ "up": "0px 2px 7px 0px hsla(0,0%,0%,0.46), 0px -4px 11px 0px hsla(0,0%,0%,0.26)"
147
+ },
148
+ "m": {
149
+ "down": "0px 3px 10px 0px hsla(0,0%,0%,0.52), 0px 6px 14px 0px hsla(0,0%,0%,0.28)",
150
+ "up": "0px 3px 10px 0px hsla(0,0%,0%,0.52), 0px -6px 14px 0px hsla(0,0%,0%,0.28)"
151
+ },
152
+ "l": {
153
+ "down": "0px 4px 13px 0px hsla(0,0%,0%,0.58), 0px 8px 17px 0px hsla(0,0%,0%,0.3)",
154
+ "up": "0px 4px 13px 0px hsla(0,0%,0%,0.58), 0px -8px 17px 0px hsla(0,0%,0%,0.3)"
155
+ },
156
+ "xl": {
157
+ "down": "0px 5px 16px 0px hsla(0,0%,0%,0.64), 0px 10px 20px 0px hsla(0,0%,0%,0.32)",
158
+ "up": "0px 5px 16px 0px hsla(0,0%,0%,0.64), 0px -10px 20px 0px hsla(0,0%,0%,0.32)"
159
+ },
160
+ "hover": {
161
+ "base": {
162
+ "down": "0px 2px 7px 0px hsla(0,0%,0%,0.46), 0px 4px 11px 0px hsla(0,0%,0%,0.26)",
163
+ "up": "0px -2px 7px 0px hsla(0,0%,0%,0.46), 0px -4px 11px 0px hsla(0,0%,0%,0.26)"
164
+ },
165
+ "xl": {
166
+ "down": "0px 6px 19px 0px hsla(0,0%,0%,0.7), 0px 12px 23px 0px hsla(0,0%,0%,0.34)",
167
+ "up": "0px -6px 19px 0px hsla(0,0%,0%,0.7), 0px -12px 23px 0px hsla(0,0%,0%,0.34)"
168
+ }
169
+ },
170
+ "flat": {
171
+ "down": "0px 1px 4px 0px hsla(0,0%,0%,0.4), 0px 2px 8px 0px hsla(0,0%,0%,0.24)",
172
+ "up": "0px 1px 4px 0px hsla(0,0%,0%,0.4), 0px -2px 8px 0px hsla(0,0%,0%,0.24)"
173
+ }
174
+ },
139
175
  "euiSize": "16px",
140
176
  "euiSizeXS": "4px",
141
177
  "euiSizeS": "8px",
@@ -137,6 +137,42 @@ declare module '@elastic/eui/dist/eui_theme_borealis_dark.json' {
137
137
  };
138
138
  euiBreakpointKeys: string;
139
139
  euiShadowColor: string;
140
+ euiShadows: {
141
+ xs: {
142
+ down: string;
143
+ up: string;
144
+ };
145
+ s: {
146
+ down: string;
147
+ up: string;
148
+ };
149
+ m: {
150
+ down: string;
151
+ up: string;
152
+ };
153
+ l: {
154
+ down: string;
155
+ up: string;
156
+ };
157
+ xl: {
158
+ down: string;
159
+ up: string;
160
+ };
161
+ hover: {
162
+ base: {
163
+ down: string;
164
+ up: string;
165
+ };
166
+ xl: {
167
+ down: string;
168
+ up: string;
169
+ };
170
+ };
171
+ flat: {
172
+ down: string;
173
+ up: string;
174
+ };
175
+ };
140
176
  euiSize: string;
141
177
  euiSizeXS: string;
142
178
  euiSizeS: string;
@@ -135,7 +135,43 @@
135
135
  "xl": "1200px"
136
136
  },
137
137
  "euiBreakpointKeys": "'xs', 's', 'm', 'l', 'xl'",
138
- "euiShadowColor": "#000000",
138
+ "euiShadowColor": "#2B394F",
139
+ "euiShadows": {
140
+ "xs": {
141
+ "down": "0px 0px 2px 0px hsl(216.67deg 29.51% 23.92% / 0.16), 0px 1px 4px 0px hsl(216.67deg 29.51% 23.92% / 0.06), 0px 2px 8px 0px hsl(216.67deg 29.51% 23.92% / 0.04)",
142
+ "up": "0px 0px 2px 0px hsl(216.67deg 29.51% 23.92% / 0.16), 0px -1px 4px 0px hsl(216.67deg 29.51% 23.92% / 0.06), 0px -2px 8px 0px hsl(216.67deg 29.51% 23.92% / 0.04)"
143
+ },
144
+ "s": {
145
+ "down": "0px 0px 2px 0px hsl(216.67deg 29.51% 23.92% / 0.16), 0px 2px 7px 0px hsl(216.67deg 29.51% 23.92% / 0.08), 0px 4px 11px 0px hsl(216.67deg 29.51% 23.92% / 0.05)",
146
+ "up": "0px 0px 2px 0px hsl(216.67deg 29.51% 23.92% / 0.16), 0px -2px 7px 0px hsl(216.67deg 29.51% 23.92% / 0.08), 0px -4px 11px 0px hsl(216.67deg 29.51% 23.92% / 0.05)"
147
+ },
148
+ "m": {
149
+ "down": "0px 0px 2px 0px hsl(216.67deg 29.51% 23.92% / 0.16), 0px 3px 10px 0px hsl(216.67deg 29.51% 23.92% / 0.1), 0px 6px 14px 0px hsl(216.67deg 29.51% 23.92% / 0.06)",
150
+ "up": "0px 0px 2px 0px hsl(216.67deg 29.51% 23.92% / 0.16), 0px -3px 10px 0px hsl(216.67deg 29.51% 23.92% / 0.1), 0px -6px 14px 0px hsl(216.67deg 29.51% 23.92% / 0.06)"
151
+ },
152
+ "l": {
153
+ "down": "0px 0px 2px 0px hsl(216.67deg 29.51% 23.92% / 0.16), 0px 4px 13px 0px hsl(216.67deg 29.51% 23.92% / 0.12), 0px 8px 17px 0px hsl(216.67deg 29.51% 23.92% / 0.07)",
154
+ "up": "0px 0px 2px 0px hsl(216.67deg 29.51% 23.92% / 0.16), 0px -4px 13px 0px hsl(216.67deg 29.51% 23.92% / 0.12), 0px -8px 17px 0px hsl(216.67deg 29.51% 23.92% / 0.07)"
155
+ },
156
+ "xl": {
157
+ "down": "0px 0px 2px 0px hsl(216.67deg 29.51% 23.92% / 0.16), 0px 5px 16px 0px hsl(216.67deg 29.51% 23.92% / 0.14), 0px 10px 20px 0px hsl(216.67deg 29.51% 23.92% / 0.08)",
158
+ "up": "0px 0px 2px 0px hsl(216.67deg 29.51% 23.92% / 0.16), 0px -5px 16px 0px hsl(216.67deg 29.51% 23.92% / 0.14), 0px -10px 20px 0px hsl(216.67deg 29.51% 23.92% / 0.08)"
159
+ },
160
+ "hover": {
161
+ "base": {
162
+ "down": "0px 0px 2px 0px hsla(216.67,29.51%,23.92%,0.16), 0px 2px 7px 0px hsla(216.67,29.51%,23.92%,0.08), 0px 4px 11px 0px hsla(216.67,29.51%,23.92%,0.05)",
163
+ "up": "0px 0px 2px 0px hsla(216.67,29.51%,23.92%,0.16), 0px -2px 7px 0px hsla(216.67,29.51%,23.92%,0.08), 0px -4px 11px 0px hsla(216.67,29.51%,23.92%,0.05)"
164
+ },
165
+ "xl": {
166
+ "down": "0px 0px 2px 0px hsl(216.67deg 29.51% 23.92% / 0.16), 0px 6px 19px 0px hsl(216.67deg 29.51% 23.92% / 0.16), 0px 12px 23px 0px hsl(216.67deg 29.51% 23.92% / 0.09)",
167
+ "up": "0px 0px 2px 0px hsl(216.67deg 29.51% 23.92% / 0.16), 0px -6px 19px 0px hsl(216.67deg 29.51% 23.92% / 0.16), 0px -12px 23px 0px hsl(216.67deg 29.51% 23.92% / 0.09)"
168
+ }
169
+ },
170
+ "flat": {
171
+ "down": "0px 0px 2px 0px hsl(216.67deg 29.51% 23.92% / 0.16), 0px 1px 4px 0px hsl(216.67deg 29.51% 23.92% / 0.06), 0px 2px 8px 0px hsl(216.67deg 29.51% 23.92% / 0.04)",
172
+ "up": "0px 0px 2px 0px hsl(216.67deg 29.51% 23.92% / 0.16), 0px -1px 4px 0px hsl(216.67deg 29.51% 23.92% / 0.06), 0px -2px 8px 0px hsl(216.67deg 29.51% 23.92% / 0.04)"
173
+ }
174
+ },
139
175
  "euiSize": "16px",
140
176
  "euiSizeXS": "4px",
141
177
  "euiSizeS": "8px",
@@ -137,6 +137,42 @@ declare module '@elastic/eui/dist/eui_theme_borealis_light.json' {
137
137
  };
138
138
  euiBreakpointKeys: string;
139
139
  euiShadowColor: string;
140
+ euiShadows: {
141
+ xs: {
142
+ down: string;
143
+ up: string;
144
+ };
145
+ s: {
146
+ down: string;
147
+ up: string;
148
+ };
149
+ m: {
150
+ down: string;
151
+ up: string;
152
+ };
153
+ l: {
154
+ down: string;
155
+ up: string;
156
+ };
157
+ xl: {
158
+ down: string;
159
+ up: string;
160
+ };
161
+ hover: {
162
+ base: {
163
+ down: string;
164
+ up: string;
165
+ };
166
+ xl: {
167
+ down: string;
168
+ up: string;
169
+ };
170
+ };
171
+ flat: {
172
+ down: string;
173
+ up: string;
174
+ };
175
+ };
140
176
  euiSize: string;
141
177
  euiSizeXS: string;
142
178
  euiSizeS: string;
@@ -106,6 +106,7 @@ export var EuiBetaBadge = function EuiBetaBadge(_ref) {
106
106
  anchorProps: anchorProps
107
107
  }, ___EmotionJSX("span", _extends({
108
108
  tabIndex: 0,
109
+ role: "button",
109
110
  css: cssStyles,
110
111
  className: classes
111
112
  }, rest), icon || label));
@@ -10,11 +10,13 @@ function _EMOTION_STRINGIFIED_CSS_ERROR__() { return "You have tried to stringif
10
10
  */
11
11
 
12
12
  import { css, keyframes } from '@emotion/react';
13
- import { logicalCSS, euiCantAnimate } from '../../global_styling';
13
+ import { logicalCSS, euiCantAnimate, highContrastModeStyles, preventForcedColors } from '../../global_styling';
14
14
  var tableLoadingLine = keyframes(_templateObject || (_templateObject = _taggedTemplateLiteral(["\n from {\n ", "\n ", "\n }\n\n 20% {\n ", "\n ", "\n }\n\n 80% {\n ", "\n ", "\n }\n\n 100% {\n ", "\n ", "\n }\n"])), logicalCSS('left', 0), logicalCSS('width', 0), logicalCSS('left', 0), logicalCSS('width', '40%'), logicalCSS('left', '60%'), logicalCSS('width', '40%'), logicalCSS('left', '100%'), logicalCSS('width', 0));
15
- export var euiBasicTableBodyLoading = function euiBasicTableBodyLoading(_ref) {
16
- var euiTheme = _ref.euiTheme;
17
- return /*#__PURE__*/css("position:relative;overflow:hidden;&::before{position:absolute;content:'';", logicalCSS('width', '100%'), " ", logicalCSS('height', euiTheme.border.width.thick), " background-color:", euiTheme.colors.primary, ";animation:", tableLoadingLine, " 1s linear infinite;", euiCantAnimate, "{animation-duration:2s;}};label:euiBasicTableBodyLoading;");
15
+ export var euiBasicTableBodyLoading = function euiBasicTableBodyLoading(euiThemeContext) {
16
+ var euiTheme = euiThemeContext.euiTheme;
17
+ return /*#__PURE__*/css("position:relative;overflow:hidden;&::before{position:absolute;content:'';", logicalCSS('width', '100%'), " ", logicalCSS('height', euiTheme.border.width.thick), " background-color:", euiTheme.colors.primary, ";animation:", tableLoadingLine, " 1s linear infinite;", euiCantAnimate, "{animation:none;background:repeating-linear-gradient(\n -45deg,\n ", euiTheme.colors.backgroundBasePlain, ",\n ", euiTheme.colors.backgroundBasePlain, " ", euiTheme.size.xs, ",\n ", euiTheme.colors.primary, " ", euiTheme.size.xs, ",\n ", euiTheme.colors.primary, " ", euiTheme.size.s, "\n );", highContrastModeStyles(euiThemeContext, {
18
+ forced: "\n ".concat(preventForcedColors(euiThemeContext), "\n ")
19
+ }), ";}};label:euiBasicTableBodyLoading;");
18
20
  };
19
21
 
20
22
  // Fix to make the loading indicator position correctly in Safari
@@ -19,8 +19,10 @@ export var euiBottomBarStyles = function euiBottomBarStyles(euiThemeContext) {
19
19
  // Base
20
20
  // `color` is inherited from the wrapping `EuiThemeProvider colorMode="dark"`
21
21
  euiBottomBar: /*#__PURE__*/css("background-color:", euiTheme.components.bottomBarBackground, ";", logicalCSS('border-top', euiTheme.border.thin), " ", highContrastModeStyles(euiThemeContext, {
22
- none: euiShadowFlat(euiThemeContext)
23
- }), " ", euiCanAnimate, "{animation:", euiBottomBarAppear, " ", euiTheme.animation.slow, " ", euiTheme.animation.resistance, ";};label:euiBottomBar;"),
22
+ none: euiShadowFlat(euiThemeContext, {
23
+ border: 'none'
24
+ })
25
+ }), "clip-path:polygon(0 -100vh, 100% -100vh, 100% 100%, 0 100%);", euiCanAnimate, "{animation:", euiBottomBarAppear, " ", euiTheme.animation.slow, " ", euiTheme.animation.resistance, ";};label:euiBottomBar;"),
24
26
  static: /*#__PURE__*/css(";label:static;"),
25
27
  // Default
26
28
  fixed: /*#__PURE__*/css("position:fixed;z-index:", Number(euiTheme.levels.header) - 2, ";;label:fixed;"),
@@ -50,7 +50,7 @@ export var euiCodeSyntaxVariables = function euiCodeSyntaxVariables(euiThemeCont
50
50
  selectorClassColor: euiTheme.components.codeSelectorClassColor,
51
51
  selectorIdColor: euiTheme.components.codeSelectorIdColor,
52
52
  get tokensCss() {
53
- return "\n .token.punctuation:not(.interpolation-punctuation):not([class*='attr-']) {\n opacity: ".concat(highContrastMode ? '1' : '.7', ";\n }\n\n .token.comment,\n .token.prolog,\n .token.doctype,\n .token.cdata,\n .token.coord,\n .token.blockquote {\n color: ").concat(this.commentColor, ";\n font-style: italic;\n }\n\n .token.selector {\n color: ").concat(this.selectorTagColor, ";\n }\n\n .token.string,\n .token.interpolation,\n .token.interpolation-punctuation,\n .token.doc-comment .token.keyword,\n .token.attr-value,\n .token.url .token.content {\n color: ").concat(this.stringColor, ";\n }\n\n .token.number,\n .token.boolean,\n .token.keyword.nil,\n .token.regex,\n .token.variable,\n .token.unit,\n .token.hexcode,\n .token.attr-name,\n .token.attr-equals {\n color: ").concat(this.numberColor, ";\n }\n\n .token.atrule .token.rule,\n .token.keyword {\n color: ").concat(this.keywordColor, ";\n }\n\n .token.function {\n color: ").concat(this.functionTitleColor, ";\n }\n\n .token.tag {\n color: ").concat(this.tagColor, ";\n }\n\n .token.class-name {\n color: ").concat(this.typeColor, ";\n }\n\n .token.property {\n color: ").concat(this.attributeColor, ";\n }\n\n .token.console,\n .token.list-punctuation,\n .token.url-reference,\n .token.url .token.url {\n color: ").concat(this.symbolColor, ";\n }\n\n .token.paramater {\n color: ").concat(this.paramsColor, ";\n }\n\n .token.meta,\n .token.important {\n color: ").concat(this.metaColor, ";\n }\n\n .token.title {\n color: ").concat(this.titleColor, ";\n }\n\n .token.section {\n color: ").concat(this.sectionColor, ";\n }\n\n .token.prefix.inserted,\n .token.prefix.deleted {\n padding-inline-start: -").concat(euiTheme.size.xs, ";\n margin-inline-start: -").concat(euiTheme.size.xs, ";\n }\n\n .token.prefix.inserted {\n box-shadow: -").concat(euiTheme.size.xs, " 0 ").concat(this.additionColor, ";\n color: ").concat(this.additionColor, ";\n }\n\n .token.prefix.deleted {\n box-shadow: -").concat(euiTheme.size.xs, " 0 ").concat(this.deletionColor, ";\n color: ").concat(this.deletionColor, ";\n }\n\n .token.selector .token.class {\n color: ").concat(this.selectorClassColor, ";\n }\n\n .token.selector .token.id {\n color: ").concat(this.selectorIdColor, ";\n }\n\n .token.italic {\n font-style: italic;\n }\n\n .token.important,\n .token.bold {\n font-weight: ").concat(euiTheme.font.weight.bold, ";\n }\n\n .token.url-reference,\n .token.url .token.url {\n text-decoration: underline;\n }\n\n .token.entity {\n cursor: help;\n }");
53
+ return "\n .token.punctuation:not(.interpolation-punctuation):not([class*='attr-']) {\n opacity: ".concat(highContrastMode ? '1' : '.7', ";\n }\n\n .token.comment,\n .token.prolog,\n .token.doctype,\n .token.cdata,\n .token.coord,\n .token.blockquote {\n color: ").concat(this.commentColor, ";\n font-style: italic;\n }\n\n .token.selector {\n color: ").concat(this.selectorTagColor, ";\n }\n\n .token.string,\n .token.interpolation,\n .token.interpolation-punctuation,\n .token.doc-comment .token.keyword,\n .token.attr-value,\n .token.url .token.content {\n color: ").concat(this.stringColor, ";\n }\n\n .token.number,\n .token.boolean,\n .token.keyword.nil,\n .token.regex,\n .token.variable,\n .token.unit,\n .token.hexcode,\n .token.attr-name,\n .token.attr-equals {\n color: ").concat(this.numberColor, ";\n }\n\n .token.atrule .token.rule,\n .token.key.atrule,\n .token.keyword {\n color: ").concat(this.keywordColor, ";\n }\n\n .token.function {\n color: ").concat(this.functionTitleColor, ";\n }\n\n .token.tag {\n color: ").concat(this.tagColor, ";\n }\n\n .token.class-name {\n color: ").concat(this.typeColor, ";\n }\n\n .token.property {\n color: ").concat(this.attributeColor, ";\n }\n\n .token.console,\n .token.list-punctuation,\n .token.url-reference,\n .token.url .token.url {\n color: ").concat(this.symbolColor, ";\n }\n\n .token.paramater {\n color: ").concat(this.paramsColor, ";\n }\n\n .token.meta,\n .token.important {\n color: ").concat(this.metaColor, ";\n }\n\n .token.title {\n color: ").concat(this.titleColor, ";\n }\n\n .token.section {\n color: ").concat(this.sectionColor, ";\n }\n\n .token.prefix.inserted,\n .token.prefix.deleted {\n padding-inline-start: -").concat(euiTheme.size.xs, ";\n margin-inline-start: -").concat(euiTheme.size.xs, ";\n }\n\n .token.prefix.inserted {\n box-shadow: -").concat(euiTheme.size.xs, " 0 ").concat(this.additionColor, ";\n color: ").concat(this.additionColor, ";\n }\n\n .token.prefix.deleted {\n box-shadow: -").concat(euiTheme.size.xs, " 0 ").concat(this.deletionColor, ";\n color: ").concat(this.deletionColor, ";\n }\n\n .token.selector .token.class {\n color: ").concat(this.selectorClassColor, ";\n }\n\n .token.selector .token.id {\n color: ").concat(this.selectorIdColor, ";\n }\n\n .token.italic {\n font-style: italic;\n }\n\n .token.important,\n .token.bold {\n font-weight: ").concat(euiTheme.font.weight.bold, ";\n }\n\n .token.url-reference,\n .token.url .token.url {\n text-decoration: underline;\n }\n\n .token.entity {\n cursor: help;\n }");
54
54
  }
55
55
  };
56
56
  };
@@ -151,7 +151,7 @@ var _EuiCollapsibleNavBeta = function _EuiCollapsibleNavBeta(_ref) {
151
151
  }, [_focusTrapProps]);
152
152
  var classes = classNames('euiCollapsibleNav', 'euiCollapsibleNavBeta', className);
153
153
  var styles = useEuiMemoizedStyles(euiCollapsibleNavBetaStyles);
154
- var cssStyles = [styles.euiCollapsibleNavBeta, styles[side], isPush && styles.isPush, isPush && isCollapsed && styles.isPushCollapsed, isOverlayFullWidth && styles.isOverlayFullWidth];
154
+ var cssStyles = [styles.euiCollapsibleNavBeta, isPush && styles.isPush, styles[side], isPush && isCollapsed && styles.isPushCollapsed, isOverlayFullWidth && styles.isOverlayFullWidth];
155
155
  var flyout = ___EmotionJSX(EuiFlyout, _extends({
156
156
  "aria-label": defaultAriaLabel
157
157
  }, rest, {
@@ -23,7 +23,9 @@ export var euiCollapsibleNavBetaStyles = function euiCollapsibleNavBetaStyles(eu
23
23
  euiCollapsibleNavBeta: /*#__PURE__*/css(logicalCSS('top', fixedHeaderOffset), logicalCSS('padding-bottom', euiTheme.size.xs), ";;label:euiCollapsibleNavBeta;"),
24
24
  left: /*#__PURE__*/css(logicalCSS('border-right', euiTheme.border.thin), ";;label:left;"),
25
25
  right: /*#__PURE__*/css(logicalCSS('border-left', euiTheme.border.thin), ";;label:right;"),
26
- isPush: /*#__PURE__*/css(euiShadowFlat(euiThemeContext), ";;label:isPush;"),
26
+ isPush: /*#__PURE__*/css(euiShadowFlat(euiThemeContext, {
27
+ border: 'none'
28
+ }), ";;label:isPush;"),
27
29
  isPushCollapsed: /*#__PURE__*/css(hideScrollbars, ";;label:isPushCollapsed;"),
28
30
  isOverlayFullWidth: /*#__PURE__*/css("&.euiFlyout{", logicalCSS('max-width', '100% !important'), ";};label:isOverlayFullWidth;")
29
31
  };
@@ -24,9 +24,16 @@ var _ref = process.env.NODE_ENV === "production" ? {
24
24
  styles: "animation-duration:0s!important;label:noAnimation;",
25
25
  toString: _EMOTION_STRINGIFIED_CSS_ERROR__
26
26
  };
27
+ var _ref2 = process.env.NODE_ENV === "production" ? {
28
+ name: "rks1ev-overlay",
29
+ styles: "&:has(.euiResizableButton){border-inline:none;};label:overlay;"
30
+ } : {
31
+ name: "rks1ev-overlay",
32
+ styles: "&:has(.euiResizableButton){border-inline:none;};label:overlay;",
33
+ toString: _EMOTION_STRINGIFIED_CSS_ERROR__
34
+ };
27
35
  export var euiFlyoutStyles = function euiFlyoutStyles(euiThemeContext) {
28
- var euiTheme = euiThemeContext.euiTheme,
29
- colorMode = euiThemeContext.colorMode;
36
+ var euiTheme = euiThemeContext.euiTheme;
30
37
  return {
31
38
  euiFlyout: /*#__PURE__*/css("position:fixed;", logicalCSS('bottom', 0), " ", logicalCSS('top', 'var(--euiFixedHeadersOffset, 0)'), " ", logicalCSS('height', 'inherit'), " z-index:", euiTheme.levels.flyout, ";background:", euiTheme.colors.emptyShade, ";display:flex;flex-direction:column;align-items:stretch;&:focus{outline:none;}", maxedFlyoutWidth(euiThemeContext), ";;label:euiFlyout;"),
32
39
  // Flyout sizes
@@ -41,11 +48,15 @@ export var euiFlyoutStyles = function euiFlyoutStyles(euiThemeContext) {
41
48
  left: /*#__PURE__*/css(logicalCSS('left', 0), " clip-path:polygon(0 0, 150% 0, 150% 100%, 0 100%);", euiCanAnimate, "{animation:", euiFlyoutSlideInLeft, " ", euiTheme.animation.normal, " ", euiTheme.animation.resistance, ";};label:left;"),
42
49
  // Type
43
50
  overlay: {
44
- overlay: /*#__PURE__*/css(euiShadowXLarge(euiThemeContext, {
45
- borderAllInHighContrastMode: true
46
- }), " &:has(.euiResizableButton){border-inline:none;};label:overlay;"),
47
- left: /*#__PURE__*/css("border-inline-end:", colorMode === 'DARK' ? "".concat(euiTheme.border.width.thin, " solid\n ").concat(euiTheme.colors.borderBaseFloating) : 'none', ";;label:left;"),
48
- right: /*#__PURE__*/css("border-inline-start:", colorMode === 'DARK' ? "".concat(euiTheme.border.width.thin, " solid\n ").concat(euiTheme.colors.borderBaseFloating) : 'none', ";;label:right;")
51
+ overlay: _ref2,
52
+ left: /*#__PURE__*/css(euiShadowXLarge(euiThemeContext, {
53
+ borderAllInHighContrastMode: true,
54
+ border: 'right'
55
+ }), ";;label:left;"),
56
+ right: /*#__PURE__*/css(euiShadowXLarge(euiThemeContext, {
57
+ borderAllInHighContrastMode: true,
58
+ border: 'left'
59
+ }), ";;label:right;")
49
60
  },
50
61
  push: {
51
62
  push: /*#__PURE__*/css("clip-path:none;z-index:", Number(euiTheme.levels.flyout) - 1, ";;label:push;"),
@@ -24,7 +24,9 @@ export var euiHeaderStyles = function euiHeaderStyles(euiThemeContext) {
24
24
  height = _euiHeaderVariables.height,
25
25
  padding = _euiHeaderVariables.padding;
26
26
  return {
27
- euiHeader: /*#__PURE__*/css("display:flex;justify-content:space-between;", logicalCSS('height', height), " ", logicalCSS('padding-horizontal', padding), " ", logicalCSS('border-bottom', euiTheme.border.thin), " ", euiShadowXSmall(euiThemeContext), ";;label:euiHeader;"),
27
+ euiHeader: /*#__PURE__*/css("display:flex;justify-content:space-between;", logicalCSS('height', height), " ", logicalCSS('padding-horizontal', padding), " ", logicalCSS('border-bottom', euiTheme.border.thin), " ", euiShadowXSmall(euiThemeContext, {
28
+ border: 'none'
29
+ }), "&+.euiHeader{clip-path:polygon(0 0, 100% 0, 100% 100vh, 0 100vh);};label:euiHeader;"),
28
30
  // Position
29
31
  static: /*#__PURE__*/css("z-index:", Number(euiTheme.levels.header) - 1, ";position:relative;;label:static;"),
30
32
  fixed: /*#__PURE__*/css("z-index:", Number(euiTheme.levels.header) + 1, ";position:fixed;", logicalCSS('top', 0), " ", logicalCSS('horizontal', 0), ";;label:fixed;"),
@@ -1,4 +1,4 @@
1
- var _excluded = ["type", "size", "color", "className", "tabIndex", "title", "onIconLoad", "style", "stylesMemoizer"];
1
+ var _excluded = ["type", "size", "color", "className", "tabIndex", "title", "role", "onIconLoad", "style", "stylesMemoizer", "aria-hidden", "titleId"];
2
2
  function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, _typeof(o); }
3
3
  function _extends() { return _extends = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends.apply(null, arguments); }
4
4
  function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
@@ -183,9 +183,12 @@ export var EuiIconClass = /*#__PURE__*/function (_PureComponent) {
183
183
  className = _this$props.className,
184
184
  tabIndex = _this$props.tabIndex,
185
185
  title = _this$props.title,
186
+ role = _this$props.role,
186
187
  onIconLoad = _this$props.onIconLoad,
187
188
  style = _this$props.style,
188
189
  stylesMemoizer = _this$props.stylesMemoizer,
190
+ ariaHidden = _this$props['aria-hidden'],
191
+ titleId = _this$props.titleId,
189
192
  rest = _objectWithoutProperties(_this$props, _excluded);
190
193
  var _this$state = this.state,
191
194
  isLoading = _this$state.isLoading,
@@ -210,41 +213,55 @@ export var EuiIconClass = /*#__PURE__*/function (_PureComponent) {
210
213
  var styles = stylesMemoizer(euiIconStyles);
211
214
  var cssStyles = [styles.euiIcon, styles[size], color && isNamedColor(color) && styles[color], isCustomColor && styles.customColor, isElasticLogoOutline && styles.logoElasticOutline, isAppIcon && !appIconHasColor && styles.app, isLoading && styles.isLoading, !isLoading && neededLoading && styles.isLoaded];
212
215
  var icon = this.state.icon || empty;
216
+ var isAriaHidden = [true, 'true'].includes(ariaHidden !== null && ariaHidden !== void 0 ? ariaHidden : false);
217
+ var isPresentationOnly = !(title || this.props['aria-label'] || this.props['aria-labelledby']) || ['none', 'presentation'].includes(role !== null && role !== void 0 ? role : '') || isAriaHidden;
218
+ var accessibleTitle = isPresentationOnly ? undefined : title;
219
+
220
+ // implicitly set the ARIA role for the icon only if:
221
+ // - The user did NOT provide a `role` prop
222
+ // - `aria-hidden` is NOT true
223
+ // This ensures user-supplied `role` and `aria-hidden` always take precedence.
224
+ // If set, role is:
225
+ // - 'presentation' for decorative icons
226
+ // - 'img' for meaningful icons
227
+ var accessibleRole = function () {
228
+ if (isAriaHidden) return undefined;
229
+ if (isPresentationOnly) return 'presentation';
230
+ return 'img';
231
+ }();
213
232
  if (typeof icon === 'string') {
214
233
  return ___EmotionJSX("img", _extends({
215
- alt: title ? title : '',
234
+ alt: accessibleTitle,
216
235
  src: icon,
217
236
  className: classes,
218
237
  css: cssStyles,
219
238
  style: style,
220
- tabIndex: tabIndex
239
+ tabIndex: tabIndex,
240
+ role: role !== null && role !== void 0 ? role : accessibleRole,
241
+ "aria-hidden": ariaHidden
221
242
  }, rest));
222
243
  } else {
223
244
  var Svg = icon;
224
245
 
225
- // If there is no aria-label, aria-labelledby, or title it gets aria-hidden true
226
- var isAriaHidden = !(this.props['aria-label'] || this.props['aria-labelledby'] || this.props.title);
227
-
228
246
  // If no aria-label or aria-labelledby is provided but there's a title, a titleId is generated
229
247
  // The svg aria-labelledby attribute gets this titleId
230
248
  // The svg title element gets this titleId as an id
231
- var titleId = !this.props['aria-label'] && !this.props['aria-labelledby'] && title ? {
232
- titleId: generateId()
249
+ var accessibleTitleId = !this.props['aria-label'] && !this.props['aria-labelledby'] && title ? {
250
+ titleId: titleId || generateId()
233
251
  } : undefined;
234
252
  return ___EmotionJSX(Svg, _extends({
235
253
  className: classes,
236
254
  style: optionalCustomStyles,
237
255
  css: cssStyles,
238
256
  tabIndex: tabIndex,
239
- role: "img",
240
- title: title
241
- }, titleId, {
257
+ title: accessibleTitle,
258
+ role: role !== null && role !== void 0 ? role : accessibleRole,
259
+ "aria-hidden": ariaHidden
260
+ }, accessibleTitleId, {
242
261
  "data-icon-type": iconTitle,
243
262
  "data-is-loaded": isLoaded || undefined,
244
263
  "data-is-loading": isLoading || undefined
245
- }, rest, {
246
- "aria-hidden": isAriaHidden || rest['aria-hidden']
247
- }));
264
+ }, rest));
248
265
  }
249
266
  }
250
267
  }]);
@@ -501,7 +501,7 @@ export var typeToPathMap = {
501
501
  vulnerabilityManagementApp: 'app_vulnerability_management',
502
502
  warning: 'warning',
503
503
  warningFilled: 'warning',
504
- // NOTE: To be deprecated in favor of `export`
504
+ // NOTE: To be deprecated in favor of `warning`
505
505
  watchesApp: 'app_watches',
506
506
  web: 'web',
507
507
  wordWrap: 'wordWrap',
@@ -13,7 +13,9 @@ export var euiPageInnerStyles = function euiPageInnerStyles(euiThemeContext) {
13
13
  var euiTheme = euiThemeContext.euiTheme;
14
14
  return {
15
15
  euiPageInner: /*#__PURE__*/css("display:flex;flex-direction:column;align-items:stretch;flex:1 1 100%;", logicalCSS('max-width', '100%'), " ", logicalCSS('min-width', '0'), ";;label:euiPageInner;"),
16
- panelled: /*#__PURE__*/css("background:", euiThemeContext.euiTheme.colors.backgroundBasePlain, ";", euiShadow(euiThemeContext, 'm'), ";;label:panelled;"),
16
+ panelled: /*#__PURE__*/css("background:", euiThemeContext.euiTheme.colors.backgroundBasePlain, ";", euiShadow(euiThemeContext, 'm', {
17
+ border: 'none'
18
+ }), ";;label:panelled;"),
17
19
  border: {
18
20
  top: /*#__PURE__*/css(logicalCSS('border-top', euiTheme.border.thin), ";;label:top;"),
19
21
  left: /*#__PURE__*/css(logicalCSS('border-left', euiTheme.border.thin), ";;label:left;")