@ember-eui/core 16.1.4 → 16.3.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.
- package/declarations/components/eui-combo-box.d.ts +2 -0
- package/declarations/components/eui-combo-box.d.ts.map +1 -1
- package/declarations/components/eui-data-grid/body.d.ts +6 -0
- package/declarations/components/eui-data-grid/body.d.ts.map +1 -1
- package/declarations/components/eui-data-grid/cell.d.ts +27 -3
- package/declarations/components/eui-data-grid/cell.d.ts.map +1 -1
- package/declarations/utils/data-grid/types.d.ts +9 -0
- package/declarations/utils/data-grid/types.d.ts.map +1 -1
- package/dist/components/eui-combo-box.js +11 -1
- package/dist/components/eui-combo-box.js.map +1 -1
- package/dist/components/eui-data-grid/body.js +18 -1
- package/dist/components/eui-data-grid/body.js.map +1 -1
- package/dist/components/eui-data-grid/cell.js +87 -10
- package/dist/components/eui-data-grid/cell.js.map +1 -1
- package/package.json +1 -5
- package/dist/_app_/components/eui-data-grid/cell-actions.js +0 -1
- package/dist/_app_/components/eui-data-grid/row-tree-hooks.js +0 -1
- package/dist/_app_/components/eui-super-date-picker/utils/pretty-interval.js +0 -1
- package/dist/_app_/components/eui-super-date-picker/utils/time-window.js +0 -1
- package/dist/utils/eui/styles.generated/shared/2KP7ZYVN.js +0 -96
- package/dist/utils/eui/styles.generated/shared/2KP7ZYVN.js.map +0 -1
- package/dist/utils/eui/styles.generated/shared/2PX3JFSX.js +0 -8
- package/dist/utils/eui/styles.generated/shared/2PX3JFSX.js.map +0 -1
- package/dist/utils/eui/styles.generated/shared/3HLX7DYX.js +0 -43
- package/dist/utils/eui/styles.generated/shared/3HLX7DYX.js.map +0 -1
- package/dist/utils/eui/styles.generated/shared/3X7KG6KZ.js +0 -34
- package/dist/utils/eui/styles.generated/shared/3X7KG6KZ.js.map +0 -1
- package/dist/utils/eui/styles.generated/shared/5EH4B2MX.js +0 -54
- package/dist/utils/eui/styles.generated/shared/5EH4B2MX.js.map +0 -1
- package/dist/utils/eui/styles.generated/shared/5YF7BOXJ.js +0 -32
- package/dist/utils/eui/styles.generated/shared/5YF7BOXJ.js.map +0 -1
- package/dist/utils/eui/styles.generated/shared/7BV6JFNX.js +0 -8
- package/dist/utils/eui/styles.generated/shared/7BV6JFNX.js.map +0 -1
- package/dist/utils/eui/styles.generated/shared/7JAANWBO.js +0 -50
- package/dist/utils/eui/styles.generated/shared/7JAANWBO.js.map +0 -1
- package/dist/utils/eui/styles.generated/shared/A7DFBAYP.js +0 -15
- package/dist/utils/eui/styles.generated/shared/A7DFBAYP.js.map +0 -1
- package/dist/utils/eui/styles.generated/shared/AAE5X575.js +0 -15
- package/dist/utils/eui/styles.generated/shared/AAE5X575.js.map +0 -1
- package/dist/utils/eui/styles.generated/shared/ADPZ5ZHU.js +0 -51
- package/dist/utils/eui/styles.generated/shared/ADPZ5ZHU.js.map +0 -1
- package/dist/utils/eui/styles.generated/shared/AK7JHATO.js +0 -94
- package/dist/utils/eui/styles.generated/shared/AK7JHATO.js.map +0 -1
- package/dist/utils/eui/styles.generated/shared/ALXERYI2.js +0 -105
- package/dist/utils/eui/styles.generated/shared/ALXERYI2.js.map +0 -1
- package/dist/utils/eui/styles.generated/shared/AOXFB3IO.js +0 -53
- package/dist/utils/eui/styles.generated/shared/AOXFB3IO.js.map +0 -1
- package/dist/utils/eui/styles.generated/shared/BVOWQNBH.js +0 -52
- package/dist/utils/eui/styles.generated/shared/BVOWQNBH.js.map +0 -1
- package/dist/utils/eui/styles.generated/shared/CB6ESQBS.js +0 -205
- package/dist/utils/eui/styles.generated/shared/CB6ESQBS.js.map +0 -1
- package/dist/utils/eui/styles.generated/shared/CCCFBJVK.js +0 -65
- package/dist/utils/eui/styles.generated/shared/CCCFBJVK.js.map +0 -1
- package/dist/utils/eui/styles.generated/shared/DDMXGYZ4.js +0 -92
- package/dist/utils/eui/styles.generated/shared/DDMXGYZ4.js.map +0 -1
- package/dist/utils/eui/styles.generated/shared/DRBXG4RG.js +0 -34
- package/dist/utils/eui/styles.generated/shared/DRBXG4RG.js.map +0 -1
- package/dist/utils/eui/styles.generated/shared/FF2BUTYE.js +0 -345
- package/dist/utils/eui/styles.generated/shared/FF2BUTYE.js.map +0 -1
- package/dist/utils/eui/styles.generated/shared/FM74KBRW.js +0 -94
- package/dist/utils/eui/styles.generated/shared/FM74KBRW.js.map +0 -1
- package/dist/utils/eui/styles.generated/shared/ISD4LC5N.js +0 -86
- package/dist/utils/eui/styles.generated/shared/ISD4LC5N.js.map +0 -1
- package/dist/utils/eui/styles.generated/shared/ITO4GMBL.js +0 -29
- package/dist/utils/eui/styles.generated/shared/ITO4GMBL.js.map +0 -1
- package/dist/utils/eui/styles.generated/shared/JZFLXET7.js +0 -103
- package/dist/utils/eui/styles.generated/shared/JZFLXET7.js.map +0 -1
- package/dist/utils/eui/styles.generated/shared/K76TL4VL.js +0 -33
- package/dist/utils/eui/styles.generated/shared/K76TL4VL.js.map +0 -1
- package/dist/utils/eui/styles.generated/shared/KTFNPVK5.js +0 -41
- package/dist/utils/eui/styles.generated/shared/KTFNPVK5.js.map +0 -1
- package/dist/utils/eui/styles.generated/shared/LIMINYBX.js +0 -35
- package/dist/utils/eui/styles.generated/shared/LIMINYBX.js.map +0 -1
- package/dist/utils/eui/styles.generated/shared/LXBSAITL.js +0 -59
- package/dist/utils/eui/styles.generated/shared/LXBSAITL.js.map +0 -1
- package/dist/utils/eui/styles.generated/shared/MOWJCDZN.js +0 -249
- package/dist/utils/eui/styles.generated/shared/MOWJCDZN.js.map +0 -1
- package/dist/utils/eui/styles.generated/shared/OB4N5SEF.js +0 -18
- package/dist/utils/eui/styles.generated/shared/OB4N5SEF.js.map +0 -1
- package/dist/utils/eui/styles.generated/shared/OM62WJTY.js +0 -29
- package/dist/utils/eui/styles.generated/shared/OM62WJTY.js.map +0 -1
- package/dist/utils/eui/styles.generated/shared/OMXYFSPG.js +0 -278
- package/dist/utils/eui/styles.generated/shared/OMXYFSPG.js.map +0 -1
- package/dist/utils/eui/styles.generated/shared/PAAU7JXW.js +0 -46
- package/dist/utils/eui/styles.generated/shared/PAAU7JXW.js.map +0 -1
- package/dist/utils/eui/styles.generated/shared/PEESTLDI.js +0 -30
- package/dist/utils/eui/styles.generated/shared/PEESTLDI.js.map +0 -1
- package/dist/utils/eui/styles.generated/shared/QDR655TL.js +0 -109
- package/dist/utils/eui/styles.generated/shared/QDR655TL.js.map +0 -1
- package/dist/utils/eui/styles.generated/shared/RIYBQ4CG.js +0 -114
- package/dist/utils/eui/styles.generated/shared/RIYBQ4CG.js.map +0 -1
- package/dist/utils/eui/styles.generated/shared/RJ25KRVL.js +0 -87
- package/dist/utils/eui/styles.generated/shared/RJ25KRVL.js.map +0 -1
- package/dist/utils/eui/styles.generated/shared/S3GMA7SC.js +0 -67
- package/dist/utils/eui/styles.generated/shared/S3GMA7SC.js.map +0 -1
- package/dist/utils/eui/styles.generated/shared/SL36VYZY.js +0 -40
- package/dist/utils/eui/styles.generated/shared/SL36VYZY.js.map +0 -1
- package/dist/utils/eui/styles.generated/shared/SORCSWXI.js +0 -99
- package/dist/utils/eui/styles.generated/shared/SORCSWXI.js.map +0 -1
- package/dist/utils/eui/styles.generated/shared/T3K55UA5.js +0 -26
- package/dist/utils/eui/styles.generated/shared/T3K55UA5.js.map +0 -1
- package/dist/utils/eui/styles.generated/shared/TWXYPCNK.js +0 -111
- package/dist/utils/eui/styles.generated/shared/TWXYPCNK.js.map +0 -1
- package/dist/utils/eui/styles.generated/shared/TXBWGYWM.js +0 -81
- package/dist/utils/eui/styles.generated/shared/TXBWGYWM.js.map +0 -1
- package/dist/utils/eui/styles.generated/shared/U7GEKFI5.js +0 -62
- package/dist/utils/eui/styles.generated/shared/U7GEKFI5.js.map +0 -1
- package/dist/utils/eui/styles.generated/shared/ULLKMG3C.js +0 -22
- package/dist/utils/eui/styles.generated/shared/ULLKMG3C.js.map +0 -1
- package/dist/utils/eui/styles.generated/shared/UMXTDMKT.js +0 -8
- package/dist/utils/eui/styles.generated/shared/UMXTDMKT.js.map +0 -1
- package/dist/utils/eui/styles.generated/shared/VUJT6GWN.js +0 -29
- package/dist/utils/eui/styles.generated/shared/VUJT6GWN.js.map +0 -1
- package/dist/utils/eui/styles.generated/shared/XFWFA3DO.js +0 -163
- package/dist/utils/eui/styles.generated/shared/XFWFA3DO.js.map +0 -1
- package/dist/utils/eui/styles.generated/shared/ZKVETBHH.js +0 -188
- package/dist/utils/eui/styles.generated/shared/ZKVETBHH.js.map +0 -1
|
@@ -1,114 +0,0 @@
|
|
|
1
|
-
import { euiFormVariables } from './FF2BUTYE.js';
|
|
2
|
-
import { euiTextTruncate } from './OM62WJTY.js';
|
|
3
|
-
import { euiTextShift } from './7JAANWBO.js';
|
|
4
|
-
import { euiButtonSizeMap } from './OMXYFSPG.js';
|
|
5
|
-
import { euiDisabledSelector } from './2PX3JFSX.js';
|
|
6
|
-
import { highContrastModeStyles, preventForcedColors } from './PEESTLDI.js';
|
|
7
|
-
import { logicalCSS } from './ZKVETBHH.js';
|
|
8
|
-
import { css } from './ZAJGS5EL.js';
|
|
9
|
-
import { m as mathWithUnits } from '../../../../eui-theme/math-alopvQAs.js';
|
|
10
|
-
|
|
11
|
-
// @ts-nocheck
|
|
12
|
-
// GENERATED by scripts/generate-eui-styles.mjs. Do not edit.
|
|
13
|
-
// Upstream sources licensed under Elastic License 2.0 or SSPL v1; see vendor/eui-latest.
|
|
14
|
-
|
|
15
|
-
// @elastic/eui/es/components/filter_group/filter_button.styles.js
|
|
16
|
-
var euiFilterButtonDisplay = function euiFilterButtonDisplay2(euiThemeContext) {
|
|
17
|
-
var euiTheme = euiThemeContext.euiTheme;
|
|
18
|
-
return {
|
|
19
|
-
flex: "1 1 auto",
|
|
20
|
-
minInlineSize: mathWithUnits(euiTheme.size.base, function (x) {
|
|
21
|
-
return x * 2.75;
|
|
22
|
-
})
|
|
23
|
-
};
|
|
24
|
-
};
|
|
25
|
-
var _ref5 = {
|
|
26
|
-
name: "1s8pkrf-isIconOnly",
|
|
27
|
-
styles: "inline-size:var(--euiFilterButtonInsetSize);min-inline-size:var(--euiFilterButtonInsetSize);label:isIconOnly;"
|
|
28
|
-
} ;
|
|
29
|
-
var _ref6 = {
|
|
30
|
-
name: "jkp921-noGrow",
|
|
31
|
-
styles: "flex-grow:0;label:noGrow;"
|
|
32
|
-
} ;
|
|
33
|
-
var euiFilterButtonStyles = function euiFilterButtonStyles2(euiThemeContext) {
|
|
34
|
-
var euiTheme = euiThemeContext.euiTheme;
|
|
35
|
-
var buttonSizeMap = euiButtonSizeMap(euiThemeContext);
|
|
36
|
-
var selectedSelector = ".euiFilterButton-isSelected";
|
|
37
|
-
var withNextSelector = "& + .euiFilterButton__wrapper";
|
|
38
|
-
var containerPadding = euiTheme.size.xs;
|
|
39
|
-
return {
|
|
40
|
-
euiFilterButton: /* @__PURE__ */css("--euiFilterButtonInsetSize:", buttonSizeMap.m.getInsetHeight(buttonSizeMap.m.height, containerPadding), ";--euiFilterButtonRadius:", buttonSizeMap.m.radiusInset, ";position:relative;block-size:var(--euiFilterButtonInsetSize);", logicalCSS("width", "100%"), " border:none;border-radius:var(\n --euiFilterButtonRadius,\n ", euiTheme.border.radius.control, "\n );&:not(", selectedSelector, "){&:hover,&:active{.euiFilterButton__notification[class*='subdued']{background-color:", euiTheme.components.filterButtonBadgeBackgroundHover, ";}}}&&:focus-visible{outline-style:auto;outline-offset:0;};label:euiFilterButton;"),
|
|
41
|
-
buttonType: {
|
|
42
|
-
toggle: /* @__PURE__ */css(euiFilterButtonDisplay(euiThemeContext), " &:where(:is(", euiDisabledSelector, '):not([aria-pressed="true"])){background-color:transparent;}', highContrastModeStyles(euiThemeContext, {
|
|
43
|
-
forced: "\n &:is(".concat(selectedSelector, ") {\n ").concat(preventForcedColors(euiThemeContext), "\n color: ").concat(euiTheme.colors.emptyShade, ";\n background-color: ").concat(euiTheme.colors.fullShade, ";\n }\n ")
|
|
44
|
-
}), ";;label:toggle;")
|
|
45
|
-
},
|
|
46
|
-
compressed: /* @__PURE__ */css("--euiFilterButtonInsetSize:", buttonSizeMap.s.getInsetHeight(buttonSizeMap.s.height, containerPadding), ";--euiFilterButtonRadius:", buttonSizeMap.s.radiusInset, ";;label:compressed;"),
|
|
47
|
-
withNext: /* @__PURE__ */css(withNextSelector, "{margin-inline-start:-", containerPadding, ";&:where(.euiFilterGroup[data-dividers='true'] &){margin-inline-start:-", mathWithUnits([containerPadding, euiTheme.border.width.thin], function (x, y) {
|
|
48
|
-
return x + y;
|
|
49
|
-
}), ";}&::before{border:none;}};label:withNext;"),
|
|
50
|
-
noGrow: _ref6,
|
|
51
|
-
hasNotification: /* @__PURE__ */css(logicalCSS("min-width", mathWithUnits(euiTheme.size.base, function (x) {
|
|
52
|
-
return x * 6;
|
|
53
|
-
})), ";;label:hasNotification;"),
|
|
54
|
-
hasActiveFilters: /* @__PURE__ */css("font-weight:", euiTheme.font.weight.medium, ";;label:hasActiveFilters;"),
|
|
55
|
-
isSelected: /* @__PURE__ */css("&", selectedSelector, "{background-color:", euiTheme.colors.backgroundLightText, ";", highContrastModeStyles(euiThemeContext, {
|
|
56
|
-
preferred: "\n border: ".concat(euiTheme.border.thin, ";\n ")
|
|
57
|
-
}), ";};label:isSelected;"),
|
|
58
|
-
isIconOnly: _ref5
|
|
59
|
-
};
|
|
60
|
-
};
|
|
61
|
-
var _ref4 = {
|
|
62
|
-
name: "khp3oe-isIconOnly",
|
|
63
|
-
styles: "min-inline-size:auto;label:isIconOnly;"
|
|
64
|
-
} ;
|
|
65
|
-
var euiFilterButtonWrapperStyles = function euiFilterButtonWrapperStyles2(euiThemeContext) {
|
|
66
|
-
var euiTheme = euiThemeContext.euiTheme;
|
|
67
|
-
var buttonSizeMap = euiButtonSizeMap(euiThemeContext);
|
|
68
|
-
var _euiFormVariables = euiFormVariables(euiThemeContext),
|
|
69
|
-
borderColor = _euiFormVariables.borderColor;
|
|
70
|
-
var border = "".concat(euiTheme.border.width.thin, " solid ").concat(borderColor);
|
|
71
|
-
var containerPadding = euiTheme.size.xs;
|
|
72
|
-
var leftBorder = "\n &::before {\n content: '';\n position: absolute;\n inset-inline-start: -".concat(euiTheme.border.width.thin, ";\n block-size: calc(\n var(--euiFilterButtonSize, ").concat(euiTheme.size.xl, ") - ").concat(euiTheme.size.base, "\n );\n inline-size: ").concat(euiTheme.border.width.thin, ";\n border-inline-start: ").concat(border, ";\n pointer-events: none;\n }\n ");
|
|
73
|
-
var bottomBorder = "\n &::after {\n content: '';\n position: absolute;\n inset-block-start: -".concat(euiTheme.border.width.thin, ";\n inset-inline-start: 0;\n inline-size: calc(100% + ").concat(euiTheme.border.width.thin, ");\n ").concat(logicalCSS("border-bottom", border), "\n pointer-events: none;\n }\n ");
|
|
74
|
-
return {
|
|
75
|
-
wrapper: /* @__PURE__ */css("--euiFilterButtonSize:", buttonSizeMap.m.height, ";", euiFilterButtonDisplay(euiThemeContext), " position:relative;display:flex;align-items:center;block-size:var(--euiFilterButtonSize, ", euiTheme.size.xl, ");padding:", containerPadding, ";&+:where(:has(.euiFilterButton)){margin-inline-start:-", containerPadding, ";};label:wrapper;"),
|
|
76
|
-
compressed: /* @__PURE__ */css("--euiFilterButtonSize:", buttonSizeMap.s.height, ";;label:compressed;"),
|
|
77
|
-
hasDividers: /* @__PURE__ */css(leftBorder, " ", bottomBorder, " &+:where(:has(.euiFilterButton)){margin-inline-start:0;};label:hasDividers;"),
|
|
78
|
-
isIconOnly: _ref4
|
|
79
|
-
};
|
|
80
|
-
};
|
|
81
|
-
var _ref = {
|
|
82
|
-
name: "1w3amc7-disabled",
|
|
83
|
-
styles: "opacity:0.5;label:disabled;"
|
|
84
|
-
} ;
|
|
85
|
-
var _ref2 = {
|
|
86
|
-
name: "zxesfz-euiFilterButton__notification",
|
|
87
|
-
styles: "cursor:inherit;forced-color-adjust:auto;&{transition:none;};label:euiFilterButton__notification;"
|
|
88
|
-
} ;
|
|
89
|
-
var _ref3 = {
|
|
90
|
-
name: "kc7mgj-euiFilterButton__content",
|
|
91
|
-
styles: ".euiThemeProvider{display:inline-flex;};label:euiFilterButton__content;"
|
|
92
|
-
} ;
|
|
93
|
-
var euiFilterButtonChildStyles = function euiFilterButtonChildStyles2(euiThemeContext) {
|
|
94
|
-
var euiTheme = euiThemeContext.euiTheme;
|
|
95
|
-
return {
|
|
96
|
-
content: {
|
|
97
|
-
euiFilterButton__content: _ref3,
|
|
98
|
-
hasIcon: /* @__PURE__ */css("&>.euiIcon:last-child{", logicalCSS("margin-left", "auto"), ";};label:hasIcon;")
|
|
99
|
-
},
|
|
100
|
-
text: {
|
|
101
|
-
euiFilterButton__text: /* @__PURE__ */css(euiTextShift("bold", "data-text", euiTheme), " ", euiTextTruncate(), " ", logicalCSS("padding-horizontal", euiTheme.size.xs), ";;label:euiFilterButton__text;"),
|
|
102
|
-
hasNotification: /* @__PURE__ */css(logicalCSS("min-width", mathWithUnits(euiTheme.size.base, function (x) {
|
|
103
|
-
return x * 2;
|
|
104
|
-
})), ";;label:hasNotification;")
|
|
105
|
-
},
|
|
106
|
-
notification: {
|
|
107
|
-
euiFilterButton__notification: _ref2,
|
|
108
|
-
disabled: _ref
|
|
109
|
-
}
|
|
110
|
-
};
|
|
111
|
-
};
|
|
112
|
-
|
|
113
|
-
export { euiFilterButtonChildStyles, euiFilterButtonDisplay, euiFilterButtonStyles, euiFilterButtonWrapperStyles };
|
|
114
|
-
//# sourceMappingURL=RIYBQ4CG.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"RIYBQ4CG.js","sources":["../../../../../src/utils/eui/styles.generated/shared/RIYBQ4CG.ts"],"sourcesContent":["// @ts-nocheck\n// GENERATED by scripts/generate-eui-styles.mjs. Do not edit.\n// Upstream sources licensed under Elastic License 2.0 or SSPL v1; see vendor/eui-latest.\nimport {\n euiFormVariables\n} from \"./FF2BUTYE.ts\";\nimport {\n euiTextTruncate\n} from \"./OM62WJTY.ts\";\nimport {\n euiTextShift\n} from \"./7JAANWBO.ts\";\nimport {\n mathWithUnits\n} from \"./3X7KG6KZ.ts\";\nimport {\n euiButtonSizeMap\n} from \"./OMXYFSPG.ts\";\nimport {\n euiDisabledSelector\n} from \"./2PX3JFSX.ts\";\nimport {\n highContrastModeStyles,\n preventForcedColors\n} from \"./PEESTLDI.ts\";\nimport {\n logicalCSS\n} from \"./ZKVETBHH.ts\";\nimport {\n css\n} from \"./ZAJGS5EL.ts\";\n\n// @elastic/eui/es/components/filter_group/filter_button.styles.js\nvar euiFilterButtonDisplay = function euiFilterButtonDisplay2(euiThemeContext) {\n var euiTheme = euiThemeContext.euiTheme;\n return {\n flex: \"1 1 auto\",\n minInlineSize: mathWithUnits(euiTheme.size.base, function(x) {\n return x * 2.75;\n })\n };\n};\nvar _ref5 = true ? {\n name: \"1s8pkrf-isIconOnly\",\n styles: \"inline-size:var(--euiFilterButtonInsetSize);min-inline-size:var(--euiFilterButtonInsetSize);label:isIconOnly;\"\n} : {\n name: \"1s8pkrf-isIconOnly\",\n styles: \"inline-size:var(--euiFilterButtonInsetSize);min-inline-size:var(--euiFilterButtonInsetSize);label:isIconOnly;\",\n toString: _EMOTION_STRINGIFIED_CSS_ERROR__\n};\nvar _ref6 = true ? {\n name: \"jkp921-noGrow\",\n styles: \"flex-grow:0;label:noGrow;\"\n} : {\n name: \"jkp921-noGrow\",\n styles: \"flex-grow:0;label:noGrow;\",\n toString: _EMOTION_STRINGIFIED_CSS_ERROR__\n};\nvar euiFilterButtonStyles = function euiFilterButtonStyles2(euiThemeContext) {\n var euiTheme = euiThemeContext.euiTheme;\n var buttonSizeMap = euiButtonSizeMap(euiThemeContext);\n var selectedSelector = \".euiFilterButton-isSelected\";\n var withNextSelector = \"& + .euiFilterButton__wrapper\";\n var containerPadding = euiTheme.size.xs;\n return {\n euiFilterButton: /* @__PURE__ */ css(\"--euiFilterButtonInsetSize:\", buttonSizeMap.m.getInsetHeight(buttonSizeMap.m.height, containerPadding), \";--euiFilterButtonRadius:\", buttonSizeMap.m.radiusInset, \";position:relative;block-size:var(--euiFilterButtonInsetSize);\", logicalCSS(\"width\", \"100%\"), \" border:none;border-radius:var(\\n --euiFilterButtonRadius,\\n \", euiTheme.border.radius.control, \"\\n );&:not(\", selectedSelector, \"){&:hover,&:active{.euiFilterButton__notification[class*='subdued']{background-color:\", euiTheme.components.filterButtonBadgeBackgroundHover, \";}}}&&:focus-visible{outline-style:auto;outline-offset:0;};label:euiFilterButton;\"),\n buttonType: {\n toggle: /* @__PURE__ */ css(euiFilterButtonDisplay(euiThemeContext), \" &:where(:is(\", euiDisabledSelector, '):not([aria-pressed=\"true\"])){background-color:transparent;}', highContrastModeStyles(euiThemeContext, {\n forced: \"\\n &:is(\".concat(selectedSelector, \") {\\n \").concat(preventForcedColors(euiThemeContext), \"\\n color: \").concat(euiTheme.colors.emptyShade, \";\\n background-color: \").concat(euiTheme.colors.fullShade, \";\\n }\\n \")\n }), \";;label:toggle;\")\n },\n compressed: /* @__PURE__ */ css(\"--euiFilterButtonInsetSize:\", buttonSizeMap.s.getInsetHeight(buttonSizeMap.s.height, containerPadding), \";--euiFilterButtonRadius:\", buttonSizeMap.s.radiusInset, \";;label:compressed;\"),\n withNext: /* @__PURE__ */ css(withNextSelector, \"{margin-inline-start:-\", containerPadding, \";&:where(.euiFilterGroup[data-dividers='true'] &){margin-inline-start:-\", mathWithUnits([containerPadding, euiTheme.border.width.thin], function(x, y) {\n return x + y;\n }), \";}&::before{border:none;}};label:withNext;\"),\n noGrow: _ref6,\n hasNotification: /* @__PURE__ */ css(logicalCSS(\"min-width\", mathWithUnits(euiTheme.size.base, function(x) {\n return x * 6;\n })), \";;label:hasNotification;\"),\n hasActiveFilters: /* @__PURE__ */ css(\"font-weight:\", euiTheme.font.weight.medium, \";;label:hasActiveFilters;\"),\n isSelected: /* @__PURE__ */ css(\"&\", selectedSelector, \"{background-color:\", euiTheme.colors.backgroundLightText, \";\", highContrastModeStyles(euiThemeContext, {\n preferred: \"\\n border: \".concat(euiTheme.border.thin, \";\\n \")\n }), \";};label:isSelected;\"),\n isIconOnly: _ref5\n };\n};\nvar _ref4 = true ? {\n name: \"khp3oe-isIconOnly\",\n styles: \"min-inline-size:auto;label:isIconOnly;\"\n} : {\n name: \"khp3oe-isIconOnly\",\n styles: \"min-inline-size:auto;label:isIconOnly;\",\n toString: _EMOTION_STRINGIFIED_CSS_ERROR__\n};\nvar euiFilterButtonWrapperStyles = function euiFilterButtonWrapperStyles2(euiThemeContext) {\n var euiTheme = euiThemeContext.euiTheme;\n var buttonSizeMap = euiButtonSizeMap(euiThemeContext);\n var _euiFormVariables = euiFormVariables(euiThemeContext), borderColor = _euiFormVariables.borderColor;\n var border = \"\".concat(euiTheme.border.width.thin, \" solid \").concat(borderColor);\n var containerPadding = euiTheme.size.xs;\n var leftBorder = \"\\n &::before {\\n content: '';\\n position: absolute;\\n inset-inline-start: -\".concat(euiTheme.border.width.thin, \";\\n block-size: calc(\\n var(--euiFilterButtonSize, \").concat(euiTheme.size.xl, \") - \").concat(euiTheme.size.base, \"\\n );\\n inline-size: \").concat(euiTheme.border.width.thin, \";\\n border-inline-start: \").concat(border, \";\\n pointer-events: none;\\n }\\n \");\n var bottomBorder = \"\\n &::after {\\n content: '';\\n position: absolute;\\n inset-block-start: -\".concat(euiTheme.border.width.thin, \";\\n inset-inline-start: 0;\\n inline-size: calc(100% + \").concat(euiTheme.border.width.thin, \");\\n \").concat(logicalCSS(\"border-bottom\", border), \"\\n pointer-events: none;\\n }\\n \");\n return {\n wrapper: /* @__PURE__ */ css(\"--euiFilterButtonSize:\", buttonSizeMap.m.height, \";\", euiFilterButtonDisplay(euiThemeContext), \" position:relative;display:flex;align-items:center;block-size:var(--euiFilterButtonSize, \", euiTheme.size.xl, \");padding:\", containerPadding, \";&+:where(:has(.euiFilterButton)){margin-inline-start:-\", containerPadding, \";};label:wrapper;\"),\n compressed: /* @__PURE__ */ css(\"--euiFilterButtonSize:\", buttonSizeMap.s.height, \";;label:compressed;\"),\n hasDividers: /* @__PURE__ */ css(leftBorder, \" \", bottomBorder, \" &+:where(:has(.euiFilterButton)){margin-inline-start:0;};label:hasDividers;\"),\n isIconOnly: _ref4\n };\n};\nvar _ref = true ? {\n name: \"1w3amc7-disabled\",\n styles: \"opacity:0.5;label:disabled;\"\n} : {\n name: \"1w3amc7-disabled\",\n styles: \"opacity:0.5;label:disabled;\",\n toString: _EMOTION_STRINGIFIED_CSS_ERROR__\n};\nvar _ref2 = true ? {\n name: \"zxesfz-euiFilterButton__notification\",\n styles: \"cursor:inherit;forced-color-adjust:auto;&{transition:none;};label:euiFilterButton__notification;\"\n} : {\n name: \"zxesfz-euiFilterButton__notification\",\n styles: \"cursor:inherit;forced-color-adjust:auto;&{transition:none;};label:euiFilterButton__notification;\",\n toString: _EMOTION_STRINGIFIED_CSS_ERROR__\n};\nvar _ref3 = true ? {\n name: \"kc7mgj-euiFilterButton__content\",\n styles: \".euiThemeProvider{display:inline-flex;};label:euiFilterButton__content;\"\n} : {\n name: \"kc7mgj-euiFilterButton__content\",\n styles: \".euiThemeProvider{display:inline-flex;};label:euiFilterButton__content;\",\n toString: _EMOTION_STRINGIFIED_CSS_ERROR__\n};\nvar euiFilterButtonChildStyles = function euiFilterButtonChildStyles2(euiThemeContext) {\n var euiTheme = euiThemeContext.euiTheme;\n return {\n content: {\n euiFilterButton__content: _ref3,\n hasIcon: /* @__PURE__ */ css(\"&>.euiIcon:last-child{\", logicalCSS(\"margin-left\", \"auto\"), \";};label:hasIcon;\")\n },\n text: {\n euiFilterButton__text: /* @__PURE__ */ css(euiTextShift(\"bold\", \"data-text\", euiTheme), \" \", euiTextTruncate(), \" \", logicalCSS(\"padding-horizontal\", euiTheme.size.xs), \";;label:euiFilterButton__text;\"),\n hasNotification: /* @__PURE__ */ css(logicalCSS(\"min-width\", mathWithUnits(euiTheme.size.base, function(x) {\n return x * 2;\n })), \";;label:hasNotification;\")\n },\n notification: {\n euiFilterButton__notification: _ref2,\n disabled: _ref\n }\n };\n};\n\nexport {\n euiFilterButtonDisplay,\n euiFilterButtonStyles,\n euiFilterButtonWrapperStyles,\n euiFilterButtonChildStyles\n};\n"],"names":["euiFilterButtonDisplay","euiFilterButtonDisplay2","euiThemeContext","euiTheme","flex","minInlineSize","mathWithUnits","size","base","x","_ref5","name","styles","_ref6","euiFilterButtonStyles","euiFilterButtonStyles2","buttonSizeMap","euiButtonSizeMap","selectedSelector","withNextSelector","containerPadding","xs","euiFilterButton","css","m","getInsetHeight","height","radiusInset","logicalCSS","border","radius","control","components","filterButtonBadgeBackgroundHover","buttonType","toggle","euiDisabledSelector","highContrastModeStyles","forced","concat","preventForcedColors","colors","emptyShade","fullShade","compressed","s","withNext","width","thin","y","noGrow","hasNotification","hasActiveFilters","font","weight","medium","isSelected","backgroundLightText","preferred","isIconOnly","_ref4","euiFilterButtonWrapperStyles","euiFilterButtonWrapperStyles2","_euiFormVariables","euiFormVariables","borderColor","leftBorder","xl","bottomBorder","wrapper","hasDividers","_ref","_ref2","_ref3","euiFilterButtonChildStyles","euiFilterButtonChildStyles2","content","euiFilterButton__content","hasIcon","text","euiFilterButton__text","euiTextShift","euiTextTruncate","notification","euiFilterButton__notification","disabled"],"mappings":";;;;;;;;;;AAAA;AACA;AACA;;AA8BA;AACA,IAAIA,sBAAsB,GAAG,SAASC,uBAAuBA,CAACC,eAAe,EAAE;AAC7E,EAAA,IAAIC,QAAQ,GAAGD,eAAe,CAACC,QAAQ;EACvC,OAAO;AACLC,IAAAA,IAAI,EAAE,UAAU;IAChBC,aAAa,EAAEC,aAAa,CAACH,QAAQ,CAACI,IAAI,CAACC,IAAI,EAAE,UAASC,CAAC,EAAE;MAC3D,OAAOA,CAAC,GAAG,IAAI;IACjB,CAAC;GACF;AACH;AACA,IAAIC,KAAK,GAAU;AACjBC,EAAAA,IAAI,EAAE,oBAAoB;AAC1BC,EAAAA,MAAM,EAAE;AACV,CAAC,CAIA;AACD,IAAIC,KAAK,GAAU;AACjBF,EAAAA,IAAI,EAAE,eAAe;AACrBC,EAAAA,MAAM,EAAE;AACV,CAAC,CAIA;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AM,CAAC,EAAE,mBAAmB;KAC9G;AACDmD,IAAAA,IAAI,EAAE;AACJC,MAAAA,qBAAqB,iBAAkBzD,GAAG,CAAC0D,YAAY,CAAC,MAAM,EAAE,WAAW,EAAE9E,QAAQ,CAAC,EAAE,GAAG,EAAE+E,eAAe,EAAE,EAAE,GAAG,EAAEtD,UAAU,CAAC,oBAAoB,EAAEzB,QAAQ,CAACI,IAAI,CAACc,EAAE,CAAC,EAAE,gCAAgC,CAAC;AAC1M8B,MAAAA,eAAe,iBAAkB5B,GAAG,CAACK,UAAU,CAAC,WAAW,EAAEtB,aAAa,CAACH,QAAQ,CAACI,IAAI,CAACC,IAAI,EAAE,UAASC,CAAC,EAAE;QACzG,OAAOA,CAAC,GAAG,CAAC;MACd,CAAC,CAAC,CAAC,EAAE,0BAA0B;KAChC;AACD0E,IAAAA,YAAY,EAAE;AACZC,MAAAA,6BAA6B,EAAEZ,KAAK;AACpCa,MAAAA,QAAQ,EAAEd;AACZ;GACD;AACH;;"}
|
|
@@ -1,87 +0,0 @@
|
|
|
1
|
-
import { euiCodeTextColors } from './ADPZ5ZHU.js';
|
|
2
|
-
import { euiTitle } from './SORCSWXI.js';
|
|
3
|
-
import { euiLinkCSS } from './3HLX7DYX.js';
|
|
4
|
-
import { logicalShorthandCSS } from './XFWFA3DO.js';
|
|
5
|
-
import { euiFontSize } from './OM62WJTY.js';
|
|
6
|
-
import { highContrastModeStyles } from './PEESTLDI.js';
|
|
7
|
-
import { logicalCSS, logicalTextAlignCSS } from './ZKVETBHH.js';
|
|
8
|
-
import { css } from './ZAJGS5EL.js';
|
|
9
|
-
import { m as mathWithUnits } from '../../../../eui-theme/math-alopvQAs.js';
|
|
10
|
-
|
|
11
|
-
// @ts-nocheck
|
|
12
|
-
// GENERATED by scripts/generate-eui-styles.mjs. Do not edit.
|
|
13
|
-
// Upstream sources licensed under Elastic License 2.0 or SSPL v1; see vendor/eui-latest.
|
|
14
|
-
|
|
15
|
-
// @elastic/eui/es/components/text/text.styles.js
|
|
16
|
-
var euiTextConstrainedMaxWidth = "max(64ch, 75%)";
|
|
17
|
-
var euiText = function euiText2(euiTheme) {
|
|
18
|
-
var inheritColor = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : false;
|
|
19
|
-
return {
|
|
20
|
-
color: inheritColor ? "inherit" : euiTheme.colors.textParagraph,
|
|
21
|
-
fontWeight: euiTheme.font.weight.regular
|
|
22
|
-
};
|
|
23
|
-
};
|
|
24
|
-
var euiScaleText = function euiScaleText2(euiThemeContext, options) {
|
|
25
|
-
var _euiFontSize = euiFontSize(euiThemeContext, "m", options),
|
|
26
|
-
fontSize = _euiFontSize.fontSize,
|
|
27
|
-
lineHeight = _euiFontSize.lineHeight;
|
|
28
|
-
var euiTheme = euiThemeContext.euiTheme;
|
|
29
|
-
var unit = options.unit,
|
|
30
|
-
_customScale = options.customScale;
|
|
31
|
-
var lineHeightSize = unit === "em" ? "".concat(lineHeight, "em") : lineHeight;
|
|
32
|
-
var headings = {
|
|
33
|
-
h1: euiTitle(euiThemeContext, "l", options),
|
|
34
|
-
h2: euiTitle(euiThemeContext, "m", options),
|
|
35
|
-
h3: euiTitle(euiThemeContext, "s", options),
|
|
36
|
-
h4: euiTitle(euiThemeContext, "xs", options),
|
|
37
|
-
h5: euiTitle(euiThemeContext, "xxs", options),
|
|
38
|
-
h6: euiTitle(euiThemeContext, "xxxs", options)
|
|
39
|
-
};
|
|
40
|
-
var customScale = _customScale === "xxxs" ? "xxs" : _customScale || "m";
|
|
41
|
-
var marginSize = euiTheme.size[customScale];
|
|
42
|
-
var headingMarginTop = mathWithUnits(marginSize, function (x) {
|
|
43
|
-
return x * 2;
|
|
44
|
-
});
|
|
45
|
-
var headingMarginBottom = marginSize;
|
|
46
|
-
var blockQuoteBorderWidth = mathWithUnits(fontSize, function (x) {
|
|
47
|
-
return x / 4;
|
|
48
|
-
});
|
|
49
|
-
return "\n font-size: ".concat(fontSize, ";\n line-height: ").concat(lineHeight, ";\n\n h1 {\n font-size: ").concat(headings.h1.fontSize, ";\n line-height: ").concat(headings.h1.lineHeight, ";\n }\n h1:not(:last-child) {\n ").concat(logicalCSS("margin-bottom", headingMarginBottom), "\n }\n\n h2 {\n font-size: ").concat(headings.h2.fontSize, ";\n line-height: ").concat(headings.h2.lineHeight, ";\n\n &:not(:first-child) {\n ").concat(logicalCSS("margin-top", headingMarginTop), "\n }\n\n &:not(:last-child) {\n ").concat(logicalCSS("margin-bottom", headingMarginBottom), "\n }\n }\n\n h3 {\n font-size: ").concat(headings.h3.fontSize, ";\n line-height: ").concat(headings.h3.lineHeight, ";\n\n &:not(:first-child) {\n ").concat(logicalCSS("margin-top", headingMarginTop), "\n }\n\n &:not(:last-child) {\n ").concat(logicalCSS("margin-bottom", headingMarginBottom), "\n }\n }\n\n h4 {\n font-size: ").concat(headings.h4.fontSize, ";\n line-height: ").concat(headings.h4.lineHeight, ";\n\n &:not(:first-child) {\n ").concat(logicalCSS("margin-top", headingMarginTop), "\n }\n\n &:not(:last-child) {\n ").concat(logicalCSS("margin-bottom", headingMarginBottom), "\n }\n }\n\n h5 {\n font-size: ").concat(headings.h5.fontSize, ";\n line-height: ").concat(headings.h5.lineHeight, ";\n\n &:not(:first-child) {\n ").concat(logicalCSS("margin-top", headingMarginTop), "\n }\n\n &:not(:last-child) {\n ").concat(logicalCSS("margin-bottom", headingMarginBottom), "\n }\n }\n\n h6 {\n font-size: ").concat(headings.h6.fontSize, ";\n line-height: ").concat(headings.h6.lineHeight, ";\n\n &:not(:first-child) {\n ").concat(logicalCSS("margin-top", headingMarginTop), "\n }\n\n &:not(:last-child) {\n ").concat(logicalCSS("margin-bottom", headingMarginBottom), "\n }\n }\n\n p,\n dl,\n blockquote,\n pre,\n > ul,\n > ol {\n ").concat(logicalCSS("margin-bottom", lineHeightSize), "\n }\n\n ul,\n ol {\n ").concat(logicalCSS("margin-left", lineHeightSize), "\n }\n\n /* The styles of the nested ordered lists follow the style of GitHub\n which is commonly used in Markdown or MDX formatting. */\n ol ol,\n ul ol {\n list-style-type: lower-roman;\n }\n\n ul ul ol,\n ul ol ol,\n ol ul ol,\n ol ol ol {\n list-style-type: lower-alpha;\n }\n \n blockquote {\n font-size: ").concat(fontSize, ";\n ").concat(logicalShorthandCSS("padding", "0 ".concat(fontSize)), "\n ").concat(logicalCSS("border-left-width", blockQuoteBorderWidth), "\n ").concat(logicalCSS("margin-bottom", fontSize), "\n }\n\n dd + dt {\n ").concat(logicalCSS("margin-top", fontSize), "\n }\n\n dt,\n .eui-definitionListReverse dd {\n font-size: ").concat(fontSize, ";\n line-height: ").concat(lineHeight, ";\n }\n\n .eui-definitionListReverse dt {\n font-size: ").concat(euiFontSize(euiThemeContext, "xs", options).fontSize, ";\n color: ").concat(euiTheme.colors.textParagraph, ";\n }\n\n small {\n font-size: ").concat(euiFontSize(euiThemeContext, "s", options).fontSize, ";\n }\n\n pre:not(.euiCodeBlock__pre) {\n padding: ").concat(lineHeightSize, ";\n }\n\n code:not(.euiCode):not(.euiCodeBlock__code) {\n font-size: .9em; /* 90% of parent font size */\n }\n ").concat(highContrastModeStyles(euiThemeContext, {
|
|
50
|
-
// For EuiCodeBlocks, set the margin on the wrapper instead of on the <pre>
|
|
51
|
-
// so that high contrast mode borders render as expected
|
|
52
|
-
preferred: "\n .euiCodeBlock {\n ".concat(logicalCSS("margin-bottom", lineHeightSize), "\n\n pre {\n ").concat(logicalCSS("margin-bottom", 0), "\n }\n }\n ")
|
|
53
|
-
}), "\n ").concat(
|
|
54
|
-
// when textSize is 'm', the 'kbd' element gets a line between the text and the border-bottom
|
|
55
|
-
_customScale === "m" ? "\n kbd {\n ".concat(logicalCSS("padding-bottom", euiTheme.size.xs), "\n /* Ensures the shape still looks like a square when only one character */\n ").concat(logicalCSS("min-width", euiTheme.size.l), "\n ").concat(logicalTextAlignCSS("center"), "\n }\n \n kbd::after {\n content: '';\n ").concat(logicalCSS("border-bottom", "".concat(euiTheme.border.width.thin, " solid ").concat(euiTheme.colors.textParagraph)), "\n position: absolute;\n ").concat(logicalCSS("bottom", euiTheme.size.xxs), "\n ").concat(logicalCSS("left", 0), "\n ").concat(logicalCSS("width", "100%"), "\n }") : "", "\n ");
|
|
56
|
-
};
|
|
57
|
-
var euiTextStyles = function euiTextStyles2(euiThemeContext) {
|
|
58
|
-
var euiTheme = euiThemeContext.euiTheme;
|
|
59
|
-
var codeColors = euiCodeTextColors(euiThemeContext);
|
|
60
|
-
return {
|
|
61
|
-
euiText: /* @__PURE__ */css(euiText(euiTheme, true), "clear:both;a:not([class]){", euiLinkCSS(euiThemeContext), ";}ul{list-style:disc;}ol{list-style:decimal;}blockquote{border-inline-start-color:", euiTheme.border.color, ";border-inline-start-style:solid;}blockquote:not(.euiMarkdownFormat__blockquote){color:", euiTheme.colors.textSubdued, ";}h1{", euiTitle(euiThemeContext, "l"), ";}h2{", euiTitle(euiThemeContext, "m"), ";}h3{", euiTitle(euiThemeContext, "s"), ";}h4,dt{", euiTitle(euiThemeContext, "xs"), ";}h5{", euiTitle(euiThemeContext, "xxs"), ";}h6{", euiTitle(euiThemeContext, "xxxs"), ";}h1,h2,h3,h4,h5,h6,dt{color:inherit;}pre:not(.euiCodeBlock > pre){white-space:pre-wrap;background-color:", codeColors.backgroundColor, ";color:", codeColors.color, ";", highContrastModeStyles(euiThemeContext, {
|
|
62
|
-
preferred: "border: ".concat(euiTheme.border.thin)
|
|
63
|
-
}), ";}pre:not(.euiCodeBlock__pre),pre:not(.euiCodeBlock__pre) code{display:block;}>:last-child{", logicalCSS("margin-bottom", "0 !important"), ";}kbd{position:relative;display:inline-block;", logicalCSS("padding-vertical", euiTheme.size.xxs), " ", logicalCSS("padding-horizontal", euiTheme.size.xs), " line-height:1;border:", euiTheme.border.width.thin, " solid ", euiTheme.colors.textParagraph, ";border-radius:", mathWithUnits(euiTheme.border.radius.inline, function (x) {
|
|
64
|
-
return x / 2;
|
|
65
|
-
}), ";", highContrastModeStyles(euiThemeContext, {
|
|
66
|
-
// Fixes an odd border issue in Windows high contrast themes
|
|
67
|
-
forced: "\n overflow: hidden;\n vertical-align: middle;\n "
|
|
68
|
-
}), ";};label:euiText;"),
|
|
69
|
-
constrainedWidth: /* @__PURE__ */css(logicalCSS("max-width", euiTextConstrainedMaxWidth), ";;label:constrainedWidth;"),
|
|
70
|
-
// Sizes
|
|
71
|
-
m: /* @__PURE__ */css(euiScaleText(euiThemeContext, {
|
|
72
|
-
customScale: "m"
|
|
73
|
-
}), ";;label:m;"),
|
|
74
|
-
s: /* @__PURE__ */css(euiScaleText(euiThemeContext, {
|
|
75
|
-
customScale: "s"
|
|
76
|
-
}), ";;label:s;"),
|
|
77
|
-
xs: /* @__PURE__ */css(euiScaleText(euiThemeContext, {
|
|
78
|
-
customScale: "xs"
|
|
79
|
-
}), ";;label:xs;"),
|
|
80
|
-
relative: /* @__PURE__ */css(euiScaleText(euiThemeContext, {
|
|
81
|
-
unit: "em"
|
|
82
|
-
}), ";;label:relative;")
|
|
83
|
-
};
|
|
84
|
-
};
|
|
85
|
-
|
|
86
|
-
export { euiText, euiTextStyles };
|
|
87
|
-
//# sourceMappingURL=RJ25KRVL.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"RJ25KRVL.js","sources":["../../../../../src/utils/eui/styles.generated/shared/RJ25KRVL.ts"],"sourcesContent":["// @ts-nocheck\n// GENERATED by scripts/generate-eui-styles.mjs. Do not edit.\n// Upstream sources licensed under Elastic License 2.0 or SSPL v1; see vendor/eui-latest.\nimport {\n euiCodeTextColors\n} from \"./ADPZ5ZHU.ts\";\nimport {\n euiTitle\n} from \"./SORCSWXI.ts\";\nimport {\n euiLinkCSS\n} from \"./3HLX7DYX.ts\";\nimport {\n logicalShorthandCSS\n} from \"./XFWFA3DO.ts\";\nimport {\n euiFontSize\n} from \"./OM62WJTY.ts\";\nimport {\n mathWithUnits\n} from \"./3X7KG6KZ.ts\";\nimport {\n highContrastModeStyles\n} from \"./PEESTLDI.ts\";\nimport {\n logicalCSS,\n logicalTextAlignCSS\n} from \"./ZKVETBHH.ts\";\nimport {\n css\n} from \"./ZAJGS5EL.ts\";\n\n// @elastic/eui/es/components/text/text.styles.js\nvar euiTextConstrainedMaxWidth = \"max(64ch, 75%)\";\nvar euiText = function euiText2(euiTheme) {\n var inheritColor = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : false;\n return {\n color: inheritColor ? \"inherit\" : euiTheme.colors.textParagraph,\n fontWeight: euiTheme.font.weight.regular\n };\n};\nvar euiScaleText = function euiScaleText2(euiThemeContext, options) {\n var _euiFontSize = euiFontSize(euiThemeContext, \"m\", options), fontSize = _euiFontSize.fontSize, lineHeight = _euiFontSize.lineHeight;\n var euiTheme = euiThemeContext.euiTheme;\n var unit = options.unit, _customScale = options.customScale;\n var lineHeightSize = unit === \"em\" ? \"\".concat(lineHeight, \"em\") : lineHeight;\n var headings = {\n h1: euiTitle(euiThemeContext, \"l\", options),\n h2: euiTitle(euiThemeContext, \"m\", options),\n h3: euiTitle(euiThemeContext, \"s\", options),\n h4: euiTitle(euiThemeContext, \"xs\", options),\n h5: euiTitle(euiThemeContext, \"xxs\", options),\n h6: euiTitle(euiThemeContext, \"xxxs\", options)\n };\n var customScale = _customScale === \"xxxs\" ? \"xxs\" : _customScale || \"m\";\n var marginSize = euiTheme.size[customScale];\n var headingMarginTop = mathWithUnits(marginSize, function(x) {\n return x * 2;\n });\n var headingMarginBottom = marginSize;\n var blockQuoteBorderWidth = mathWithUnits(fontSize, function(x) {\n return x / 4;\n });\n return \"\\n font-size: \".concat(fontSize, \";\\n line-height: \").concat(lineHeight, \";\\n\\n h1 {\\n font-size: \").concat(headings.h1.fontSize, \";\\n line-height: \").concat(headings.h1.lineHeight, \";\\n }\\n h1:not(:last-child) {\\n \").concat(logicalCSS(\"margin-bottom\", headingMarginBottom), \"\\n }\\n\\n h2 {\\n font-size: \").concat(headings.h2.fontSize, \";\\n line-height: \").concat(headings.h2.lineHeight, \";\\n\\n &:not(:first-child) {\\n \").concat(logicalCSS(\"margin-top\", headingMarginTop), \"\\n }\\n\\n &:not(:last-child) {\\n \").concat(logicalCSS(\"margin-bottom\", headingMarginBottom), \"\\n }\\n }\\n\\n h3 {\\n font-size: \").concat(headings.h3.fontSize, \";\\n line-height: \").concat(headings.h3.lineHeight, \";\\n\\n &:not(:first-child) {\\n \").concat(logicalCSS(\"margin-top\", headingMarginTop), \"\\n }\\n\\n &:not(:last-child) {\\n \").concat(logicalCSS(\"margin-bottom\", headingMarginBottom), \"\\n }\\n }\\n\\n h4 {\\n font-size: \").concat(headings.h4.fontSize, \";\\n line-height: \").concat(headings.h4.lineHeight, \";\\n\\n &:not(:first-child) {\\n \").concat(logicalCSS(\"margin-top\", headingMarginTop), \"\\n }\\n\\n &:not(:last-child) {\\n \").concat(logicalCSS(\"margin-bottom\", headingMarginBottom), \"\\n }\\n }\\n\\n h5 {\\n font-size: \").concat(headings.h5.fontSize, \";\\n line-height: \").concat(headings.h5.lineHeight, \";\\n\\n &:not(:first-child) {\\n \").concat(logicalCSS(\"margin-top\", headingMarginTop), \"\\n }\\n\\n &:not(:last-child) {\\n \").concat(logicalCSS(\"margin-bottom\", headingMarginBottom), \"\\n }\\n }\\n\\n h6 {\\n font-size: \").concat(headings.h6.fontSize, \";\\n line-height: \").concat(headings.h6.lineHeight, \";\\n\\n &:not(:first-child) {\\n \").concat(logicalCSS(\"margin-top\", headingMarginTop), \"\\n }\\n\\n &:not(:last-child) {\\n \").concat(logicalCSS(\"margin-bottom\", headingMarginBottom), \"\\n }\\n }\\n\\n p,\\n dl,\\n blockquote,\\n pre,\\n > ul,\\n > ol {\\n \").concat(logicalCSS(\"margin-bottom\", lineHeightSize), \"\\n }\\n\\n ul,\\n ol {\\n \").concat(logicalCSS(\"margin-left\", lineHeightSize), \"\\n }\\n\\n /* The styles of the nested ordered lists follow the style of GitHub\\n which is commonly used in Markdown or MDX formatting. */\\n ol ol,\\n ul ol {\\n list-style-type: lower-roman;\\n }\\n\\n ul ul ol,\\n ul ol ol,\\n ol ul ol,\\n ol ol ol {\\n list-style-type: lower-alpha;\\n }\\n \\n blockquote {\\n font-size: \").concat(fontSize, \";\\n \").concat(logicalShorthandCSS(\"padding\", \"0 \".concat(fontSize)), \"\\n \").concat(logicalCSS(\"border-left-width\", blockQuoteBorderWidth), \"\\n \").concat(logicalCSS(\"margin-bottom\", fontSize), \"\\n }\\n\\n dd + dt {\\n \").concat(logicalCSS(\"margin-top\", fontSize), \"\\n }\\n\\n dt,\\n .eui-definitionListReverse dd {\\n font-size: \").concat(fontSize, \";\\n line-height: \").concat(lineHeight, \";\\n }\\n\\n .eui-definitionListReverse dt {\\n font-size: \").concat(euiFontSize(euiThemeContext, \"xs\", options).fontSize, \";\\n color: \").concat(euiTheme.colors.textParagraph, \";\\n }\\n\\n small {\\n font-size: \").concat(euiFontSize(euiThemeContext, \"s\", options).fontSize, \";\\n }\\n\\n pre:not(.euiCodeBlock__pre) {\\n padding: \").concat(lineHeightSize, \";\\n }\\n\\n code:not(.euiCode):not(.euiCodeBlock__code) {\\n font-size: .9em; /* 90% of parent font size */\\n }\\n \").concat(highContrastModeStyles(euiThemeContext, {\n // For EuiCodeBlocks, set the margin on the wrapper instead of on the <pre>\n // so that high contrast mode borders render as expected\n preferred: \"\\n .euiCodeBlock {\\n \".concat(logicalCSS(\"margin-bottom\", lineHeightSize), \"\\n\\n pre {\\n \").concat(logicalCSS(\"margin-bottom\", 0), \"\\n }\\n }\\n \")\n }), \"\\n \").concat(\n // when textSize is 'm', the 'kbd' element gets a line between the text and the border-bottom\n _customScale === \"m\" ? \"\\n kbd {\\n \".concat(logicalCSS(\"padding-bottom\", euiTheme.size.xs), \"\\n /* Ensures the shape still looks like a square when only one character */\\n \").concat(logicalCSS(\"min-width\", euiTheme.size.l), \"\\n \").concat(logicalTextAlignCSS(\"center\"), \"\\n }\\n \\n kbd::after {\\n content: '';\\n \").concat(logicalCSS(\"border-bottom\", \"\".concat(euiTheme.border.width.thin, \" solid \").concat(euiTheme.colors.textParagraph)), \"\\n position: absolute;\\n \").concat(logicalCSS(\"bottom\", euiTheme.size.xxs), \"\\n \").concat(logicalCSS(\"left\", 0), \"\\n \").concat(logicalCSS(\"width\", \"100%\"), \"\\n }\") : \"\",\n \"\\n \"\n );\n};\nvar euiTextStyles = function euiTextStyles2(euiThemeContext) {\n var euiTheme = euiThemeContext.euiTheme;\n var codeColors = euiCodeTextColors(euiThemeContext);\n return {\n euiText: /* @__PURE__ */ css(euiText(euiTheme, true), \"clear:both;a:not([class]){\", euiLinkCSS(euiThemeContext), \";}ul{list-style:disc;}ol{list-style:decimal;}blockquote{border-inline-start-color:\", euiTheme.border.color, \";border-inline-start-style:solid;}blockquote:not(.euiMarkdownFormat__blockquote){color:\", euiTheme.colors.textSubdued, \";}h1{\", euiTitle(euiThemeContext, \"l\"), \";}h2{\", euiTitle(euiThemeContext, \"m\"), \";}h3{\", euiTitle(euiThemeContext, \"s\"), \";}h4,dt{\", euiTitle(euiThemeContext, \"xs\"), \";}h5{\", euiTitle(euiThemeContext, \"xxs\"), \";}h6{\", euiTitle(euiThemeContext, \"xxxs\"), \";}h1,h2,h3,h4,h5,h6,dt{color:inherit;}pre:not(.euiCodeBlock > pre){white-space:pre-wrap;background-color:\", codeColors.backgroundColor, \";color:\", codeColors.color, \";\", highContrastModeStyles(euiThemeContext, {\n preferred: \"border: \".concat(euiTheme.border.thin)\n }), \";}pre:not(.euiCodeBlock__pre),pre:not(.euiCodeBlock__pre) code{display:block;}>:last-child{\", logicalCSS(\"margin-bottom\", \"0 !important\"), \";}kbd{position:relative;display:inline-block;\", logicalCSS(\"padding-vertical\", euiTheme.size.xxs), \" \", logicalCSS(\"padding-horizontal\", euiTheme.size.xs), \" line-height:1;border:\", euiTheme.border.width.thin, \" solid \", euiTheme.colors.textParagraph, \";border-radius:\", mathWithUnits(euiTheme.border.radius.inline, function(x) {\n return x / 2;\n }), \";\", highContrastModeStyles(euiThemeContext, {\n // Fixes an odd border issue in Windows high contrast themes\n forced: \"\\n overflow: hidden;\\n vertical-align: middle;\\n \"\n }), \";};label:euiText;\"),\n constrainedWidth: /* @__PURE__ */ css(logicalCSS(\"max-width\", euiTextConstrainedMaxWidth), \";;label:constrainedWidth;\"),\n // Sizes\n m: /* @__PURE__ */ css(euiScaleText(euiThemeContext, {\n customScale: \"m\"\n }), \";;label:m;\"),\n s: /* @__PURE__ */ css(euiScaleText(euiThemeContext, {\n customScale: \"s\"\n }), \";;label:s;\"),\n xs: /* @__PURE__ */ css(euiScaleText(euiThemeContext, {\n customScale: \"xs\"\n }), \";;label:xs;\"),\n relative: /* @__PURE__ */ css(euiScaleText(euiThemeContext, {\n unit: \"em\"\n }), \";;label:relative;\")\n };\n};\n\nexport {\n euiText,\n euiTextStyles\n};\n"],"names":["euiTextConstrainedMaxWidth","euiText","euiText2","euiTheme","inheritColor","arguments","length","color","colors","textParagraph","fontWeight","font","weight","regular","euiScaleText","euiScaleText2","euiThemeContext","options","_euiFontSize","euiFontSize","fontSize","lineHeight","unit","_customScale","customScale","lineHeightSize","concat","headings","h1","euiTitle","h2","h3","h4","h5","h6","marginSize","size","headingMarginTop","mathWithUnits","x","headingMarginBottom","blockQuoteBorderWidth","logicalCSS","logicalShorthandCSS","highContrastModeStyles","preferred","xs","l","logicalTextAlignCSS","border","width","thin","xxs","euiTextStyles","euiTextStyles2","codeColors","euiCodeTextColors","css","euiLinkCSS","textSubdued","backgroundColor","radius","inline","forced","constrainedWidth","m","s","relative"],"mappings":";;;;;;;;;;AAAA;AACA;AACA;;AA8BA;AACA,IAAIA,0BAA0B,GAAG,gBAAgB;AACjD,IAAIC,OAAO,GAAG,SAASC,QAAQA,CAACC,QAAQ,EAAE;EACxC,IAAIC,YAAY,GAAGC,SAAS,CAACC,MAAM,GAAG,CAAC,IAAID,SAAS,CAAC,CAAC,CAAC,KAAK,MAAM,GAAGA,SAAS,CAAC,CAAC,CAAC,GAAG,KAAK;EACzF,OAAO;IACLE,KAAK,EAAEH,YAAY,GAAG,SAAS,GAAGD,QAAQ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AC,EAAE,YAAY,CAAC;AACjBsB,IAAAA,EAAE,iBAAkBW,GAAG,CAAC3C,YAAY,CAACE,eAAe,EAAE;AACpDQ,MAAAA,WAAW,EAAE;KACd,CAAC,EAAE,aAAa,CAAC;AAClB2C,IAAAA,QAAQ,iBAAkBV,GAAG,CAAC3C,YAAY,CAACE,eAAe,EAAE;AAC1DM,MAAAA,IAAI,EAAE;KACP,CAAC,EAAE,mBAAmB;GACxB;AACH;;"}
|
|
@@ -1,67 +0,0 @@
|
|
|
1
|
-
// @ts-nocheck
|
|
2
|
-
// GENERATED by scripts/generate-eui-styles.mjs. Do not edit.
|
|
3
|
-
// Upstream sources licensed under Elastic License 2.0 or SSPL v1; see vendor/eui-latest.
|
|
4
|
-
// @elastic/eui/es/services/color/hex_to_rgb.js
|
|
5
|
-
function _slicedToArray(r, e) {
|
|
6
|
-
return _arrayWithHoles(r) || _iterableToArrayLimit(r, e) || _unsupportedIterableToArray(r, e) || _nonIterableRest();
|
|
7
|
-
}
|
|
8
|
-
function _nonIterableRest() {
|
|
9
|
-
throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
|
|
10
|
-
}
|
|
11
|
-
function _unsupportedIterableToArray(r, a) {
|
|
12
|
-
if (r) {
|
|
13
|
-
if ("string" == typeof r) return _arrayLikeToArray(r, a);
|
|
14
|
-
var t = {}.toString.call(r).slice(8, -1);
|
|
15
|
-
return "Object" === t && r.constructor && (t = r.constructor.name), "Map" === t || "Set" === t ? Array.from(r) : "Arguments" === t || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t) ? _arrayLikeToArray(r, a) : void 0;
|
|
16
|
-
}
|
|
17
|
-
}
|
|
18
|
-
function _arrayLikeToArray(r, a) {
|
|
19
|
-
(null == a || a > r.length) && (a = r.length);
|
|
20
|
-
for (var e = 0, n = Array(a); e < a; e++) n[e] = r[e];
|
|
21
|
-
return n;
|
|
22
|
-
}
|
|
23
|
-
function _iterableToArrayLimit(r, l) {
|
|
24
|
-
var t = null == r ? null : "undefined" != typeof Symbol && r[Symbol.iterator] || r["@@iterator"];
|
|
25
|
-
if (null != t) {
|
|
26
|
-
var e,
|
|
27
|
-
n,
|
|
28
|
-
i,
|
|
29
|
-
u,
|
|
30
|
-
a = [],
|
|
31
|
-
f = true,
|
|
32
|
-
o = false;
|
|
33
|
-
try {
|
|
34
|
-
if (i = (t = t.call(r)).next, 0 === l) ; else for (; !(f = (e = i.call(t)).done) && (a.push(e.value), a.length !== l); f = true);
|
|
35
|
-
} catch (r2) {
|
|
36
|
-
o = true, n = r2;
|
|
37
|
-
} finally {
|
|
38
|
-
try {
|
|
39
|
-
if (!f && null != t.return && (u = t.return(), Object(u) !== u)) return;
|
|
40
|
-
} finally {
|
|
41
|
-
if (o) throw n;
|
|
42
|
-
}
|
|
43
|
-
}
|
|
44
|
-
return a;
|
|
45
|
-
}
|
|
46
|
-
}
|
|
47
|
-
function _arrayWithHoles(r) {
|
|
48
|
-
if (Array.isArray(r)) return r;
|
|
49
|
-
}
|
|
50
|
-
function hexToRgb(hex) {
|
|
51
|
-
var shorthandRegex = /^#?([a-f\d])([a-f\d])([a-f\d])$/i;
|
|
52
|
-
hex = hex.replace(shorthandRegex, function (m, r1, g1, b1) {
|
|
53
|
-
return r1 + r1 + g1 + g1 + b1 + b1;
|
|
54
|
-
});
|
|
55
|
-
var result = /^#?([a-f\d]{2})([a-f\d]{2})([a-f\d]{2})$/i.exec(hex);
|
|
56
|
-
if (result) {
|
|
57
|
-
var _result = _slicedToArray(result, 4),
|
|
58
|
-
r = _result[1],
|
|
59
|
-
g = _result[2],
|
|
60
|
-
b = _result[3];
|
|
61
|
-
return [parseInt(r, 16), parseInt(g, 16), parseInt(b, 16)];
|
|
62
|
-
}
|
|
63
|
-
return [0, 0, 0];
|
|
64
|
-
}
|
|
65
|
-
|
|
66
|
-
export { hexToRgb };
|
|
67
|
-
//# sourceMappingURL=S3GMA7SC.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"S3GMA7SC.js","sources":["../../../../../src/utils/eui/styles.generated/shared/S3GMA7SC.ts"],"sourcesContent":["// @ts-nocheck\n// GENERATED by scripts/generate-eui-styles.mjs. Do not edit.\n// Upstream sources licensed under Elastic License 2.0 or SSPL v1; see vendor/eui-latest.\n// @elastic/eui/es/services/color/hex_to_rgb.js\nfunction _slicedToArray(r, e) {\n return _arrayWithHoles(r) || _iterableToArrayLimit(r, e) || _unsupportedIterableToArray(r, e) || _nonIterableRest();\n}\nfunction _nonIterableRest() {\n throw new TypeError(\"Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.\");\n}\nfunction _unsupportedIterableToArray(r, a) {\n if (r) {\n if (\"string\" == typeof r) return _arrayLikeToArray(r, a);\n var t = {}.toString.call(r).slice(8, -1);\n return \"Object\" === t && r.constructor && (t = r.constructor.name), \"Map\" === t || \"Set\" === t ? Array.from(r) : \"Arguments\" === t || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t) ? _arrayLikeToArray(r, a) : void 0;\n }\n}\nfunction _arrayLikeToArray(r, a) {\n (null == a || a > r.length) && (a = r.length);\n for (var e = 0, n = Array(a); e < a; e++) n[e] = r[e];\n return n;\n}\nfunction _iterableToArrayLimit(r, l) {\n var t = null == r ? null : \"undefined\" != typeof Symbol && r[Symbol.iterator] || r[\"@@iterator\"];\n if (null != t) {\n var e, n, i, u, a = [], f = true, o = false;\n try {\n if (i = (t = t.call(r)).next, 0 === l) {\n if (Object(t) !== t) return;\n f = false;\n } else for (; !(f = (e = i.call(t)).done) && (a.push(e.value), a.length !== l); f = true) ;\n } catch (r2) {\n o = true, n = r2;\n } finally {\n try {\n if (!f && null != t.return && (u = t.return(), Object(u) !== u)) return;\n } finally {\n if (o) throw n;\n }\n }\n return a;\n }\n}\nfunction _arrayWithHoles(r) {\n if (Array.isArray(r)) return r;\n}\nfunction hexToRgb(hex) {\n var shorthandRegex = /^#?([a-f\\d])([a-f\\d])([a-f\\d])$/i;\n hex = hex.replace(shorthandRegex, function(m, r1, g1, b1) {\n return r1 + r1 + g1 + g1 + b1 + b1;\n });\n var result = /^#?([a-f\\d]{2})([a-f\\d]{2})([a-f\\d]{2})$/i.exec(hex);\n if (result) {\n var _result = _slicedToArray(result, 4), r = _result[1], g = _result[2], b = _result[3];\n return [parseInt(r, 16), parseInt(g, 16), parseInt(b, 16)];\n }\n return [0, 0, 0];\n}\n\nexport {\n hexToRgb\n};\n"],"names":["_slicedToArray","r","e","_arrayWithHoles","_iterableToArrayLimit","_unsupportedIterableToArray","_nonIterableRest","TypeError","a","_arrayLikeToArray","t","toString","call","slice","constructor","name","Array","from","test","length","n","l","Symbol","iterator","i","u","f","o","next","done","push","value","r2","return","Object","isArray","hexToRgb","hex","shorthandRegex","replace","m","r1","g1","b1","result","exec","_result","g","b","parseInt"],"mappings":"AAAA;AACA;AACA;AACA;AACA,SAASA,cAAcA,CAACC,CAAC,EAAEC,CAAC,EAAE;EAC5B,OAAOC,eAAe,CAACF,CAAC,CAAC,IAAIG,qBAAqB,CAACH,CAAC,EAAEC,CAAC,CAAC,IAAIG,2BAA2B,CAACJ,CAAC,EAAEC,CAAC,CAAC,IAAII,gBAAgB,EAAE;AACrH;AACA,SAASA,gBAAgBA,GAAG;AAC1B,EAAA,MAAM,IAAIC,SAAS,CAAC,2IAA2I,CAAC;AAClK;AACA,SAASF,2BAA2BA,CAACJ,CAAC,EAAEO,CAAC,EAAE;AACzC,EAAA,IAAIP,CAAC,EAAE;IACL,IAAI,QAAQ,IAAI,OAAOA,CAAC,EAAE,OAAOQ,iBAAiB,CAACR,CAAC,EAAEO,CAAC,CAAC;AACxD,IAAA,IAAIE,CAAC,GAAG,EAAE,CAACC,QAAQ,CAACC,IAAI,CAACX,CAAC,CAAC,CAACY,KAAK,CAAC,CAAC,EAAE,EAAE,CAAC;IACxC,OAAO,QAAQ,KAAKH,CAAC,IAAIT,C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,IAAIO,MAAM,EAAE;AACV,IAAA,IAAIE,OAAO,GAAG9C,cAAc,CAAC4C,MAAM,EAAE,CAAC,CAAC;AAAE3C,MAAAA,CAAC,GAAG6C,OAAO,CAAC,CAAC,CAAC;AAAEC,MAAAA,CAAC,GAAGD,OAAO,CAAC,CAAC,CAAC;AAAEE,MAAAA,CAAC,GAAGF,OAAO,CAAC,CAAC,CAAC;IACvF,OAAO,CAACG,QAAQ,CAAChD,CAAC,EAAE,EAAE,CAAC,EAAEgD,QAAQ,CAACF,CAAC,EAAE,EAAE,CAAC,EAAEE,QAAQ,CAACD,CAAC,EAAE,EAAE,CAAC,CAAC;AAC5D,EAAA;AACA,EAAA,OAAO,CAAC,CAAC,EAAE,CAAC,EAAE,CAAC,CAAC;AAClB;;"}
|
|
@@ -1,40 +0,0 @@
|
|
|
1
|
-
import './XFWFA3DO.js';
|
|
2
|
-
import { css } from './ZAJGS5EL.js';
|
|
3
|
-
import { e as euiCanAnimate } from '../../../../eui-theme/animations-BPTw9H2f.js';
|
|
4
|
-
|
|
5
|
-
// @ts-nocheck
|
|
6
|
-
// GENERATED by scripts/generate-eui-styles.mjs. Do not edit.
|
|
7
|
-
// Upstream sources licensed under Elastic License 2.0 or SSPL v1; see vendor/eui-latest.
|
|
8
|
-
|
|
9
|
-
// @elastic/eui/es/components/drag_and_drop/droppable.styles.js
|
|
10
|
-
var _ref = {
|
|
11
|
-
name: "jkp921-noGrow",
|
|
12
|
-
styles: "flex-grow:0;label:noGrow;"
|
|
13
|
-
} ;
|
|
14
|
-
var _ref2 = {
|
|
15
|
-
name: "122lw0e-grow",
|
|
16
|
-
styles: "flex-grow:1;label:grow;"
|
|
17
|
-
} ;
|
|
18
|
-
var euiDroppableStyles = function euiDroppableStyles2(euiThemeContext) {
|
|
19
|
-
var euiTheme = euiThemeContext.euiTheme;
|
|
20
|
-
return {
|
|
21
|
-
euiDroppable: /* @__PURE__ */css(euiCanAnimate, "{transition:background-color ", euiTheme.animation.slow, " ease;};label:euiDroppable;"),
|
|
22
|
-
isDragging: /* @__PURE__ */css("background-color:", euiTheme.components.dragDropDraggingBackground, ";;label:isDragging;"),
|
|
23
|
-
isDraggingOver: /* @__PURE__ */css("background-color:", euiTheme.components.dragDropDraggingOverBackground, ";;label:isDraggingOver;"),
|
|
24
|
-
grow: _ref2,
|
|
25
|
-
noGrow: _ref,
|
|
26
|
-
spacing: sharedSpacingPadding(euiThemeContext)
|
|
27
|
-
};
|
|
28
|
-
};
|
|
29
|
-
var sharedSpacingPadding = function sharedSpacingPadding2(_ref3) {
|
|
30
|
-
var euiTheme = _ref3.euiTheme;
|
|
31
|
-
return {
|
|
32
|
-
none: null,
|
|
33
|
-
s: /* @__PURE__ */css("padding:", euiTheme.size.xxs, ";;label:s;"),
|
|
34
|
-
m: /* @__PURE__ */css("padding:", euiTheme.size.xs, ";;label:m;"),
|
|
35
|
-
l: /* @__PURE__ */css("padding:", euiTheme.size.s, ";;label:l;")
|
|
36
|
-
};
|
|
37
|
-
};
|
|
38
|
-
|
|
39
|
-
export { euiDroppableStyles, sharedSpacingPadding };
|
|
40
|
-
//# sourceMappingURL=SL36VYZY.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"SL36VYZY.js","sources":["../../../../../src/utils/eui/styles.generated/shared/SL36VYZY.ts"],"sourcesContent":["// @ts-nocheck\n// GENERATED by scripts/generate-eui-styles.mjs. Do not edit.\n// Upstream sources licensed under Elastic License 2.0 or SSPL v1; see vendor/eui-latest.\nimport {\n euiCanAnimate\n} from \"./XFWFA3DO.ts\";\nimport {\n css\n} from \"./ZAJGS5EL.ts\";\n\n// @elastic/eui/es/components/drag_and_drop/droppable.styles.js\nvar _ref = true ? {\n name: \"jkp921-noGrow\",\n styles: \"flex-grow:0;label:noGrow;\"\n} : {\n name: \"jkp921-noGrow\",\n styles: \"flex-grow:0;label:noGrow;\",\n toString: _EMOTION_STRINGIFIED_CSS_ERROR__\n};\nvar _ref2 = true ? {\n name: \"122lw0e-grow\",\n styles: \"flex-grow:1;label:grow;\"\n} : {\n name: \"122lw0e-grow\",\n styles: \"flex-grow:1;label:grow;\",\n toString: _EMOTION_STRINGIFIED_CSS_ERROR__\n};\nvar euiDroppableStyles = function euiDroppableStyles2(euiThemeContext) {\n var euiTheme = euiThemeContext.euiTheme;\n return {\n euiDroppable: /* @__PURE__ */ css(euiCanAnimate, \"{transition:background-color \", euiTheme.animation.slow, \" ease;};label:euiDroppable;\"),\n isDragging: /* @__PURE__ */ css(\"background-color:\", euiTheme.components.dragDropDraggingBackground, \";;label:isDragging;\"),\n isDraggingOver: /* @__PURE__ */ css(\"background-color:\", euiTheme.components.dragDropDraggingOverBackground, \";;label:isDraggingOver;\"),\n grow: _ref2,\n noGrow: _ref,\n spacing: sharedSpacingPadding(euiThemeContext)\n };\n};\nvar sharedSpacingPadding = function sharedSpacingPadding2(_ref3) {\n var euiTheme = _ref3.euiTheme;\n return {\n none: null,\n s: /* @__PURE__ */ css(\"padding:\", euiTheme.size.xxs, \";;label:s;\"),\n m: /* @__PURE__ */ css(\"padding:\", euiTheme.size.xs, \";;label:m;\"),\n l: /* @__PURE__ */ css(\"padding:\", euiTheme.size.s, \";;label:l;\")\n };\n};\n\nexport {\n euiDroppableStyles,\n sharedSpacingPadding\n};\n"],"names":["_ref","name","styles","_ref2","euiDroppableStyles","euiDroppableStyles2","euiThemeContext","euiTheme","euiDroppable","css","euiCanAnimate","animation","slow","isDragging","components","dragDropDraggingBackground","isDraggingOver","dragDropDraggingOverBackground","grow","noGrow","spacing","sharedSpacingPadding","sharedSpacingPadding2","_ref3","none","s","size","xxs","m","xs","l"],"mappings":";;;;AAAA;AACA;AACA;;AAQA;AACA,IAAIA,IAAI,GAAU;AAChBC,EAAAA,IAAI,EAAE,eAAe;AACrBC,EAAAA,MAAM,EAAE;AACV,CAAC,CAIA;AACD,IAAIC,KAAK,GAAU;AACjBF,EAAAA,IAAI,EAAE,cAAc;AACpBC,EAAAA,MAAM,EAAE;AACV,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from './ZAJGS5EL.js';
|
|
4
|
-
|
|
5
|
-
// @ts-nocheck
|
|
6
|
-
// GENERATED by scripts/generate-eui-styles.mjs. Do not edit.
|
|
7
|
-
// Upstream sources licensed under Elastic License 2.0 or SSPL v1; see vendor/eui-latest.
|
|
8
|
-
|
|
9
|
-
// @elastic/eui/es/components/title/title.styles.js
|
|
10
|
-
function _typeof(o) {
|
|
11
|
-
"@babel/helpers - typeof";
|
|
12
|
-
|
|
13
|
-
return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o2) {
|
|
14
|
-
return typeof o2;
|
|
15
|
-
} : function (o2) {
|
|
16
|
-
return o2 && "function" == typeof Symbol && o2.constructor === Symbol && o2 !== Symbol.prototype ? "symbol" : typeof o2;
|
|
17
|
-
}, _typeof(o);
|
|
18
|
-
}
|
|
19
|
-
function ownKeys(e, r) {
|
|
20
|
-
var t = Object.keys(e);
|
|
21
|
-
if (Object.getOwnPropertySymbols) {
|
|
22
|
-
var o = Object.getOwnPropertySymbols(e);
|
|
23
|
-
r && (o = o.filter(function (r2) {
|
|
24
|
-
return Object.getOwnPropertyDescriptor(e, r2).enumerable;
|
|
25
|
-
})), t.push.apply(t, o);
|
|
26
|
-
}
|
|
27
|
-
return t;
|
|
28
|
-
}
|
|
29
|
-
function _objectSpread(e) {
|
|
30
|
-
for (var r = 1; r < arguments.length; r++) {
|
|
31
|
-
var t = null != arguments[r] ? arguments[r] : {};
|
|
32
|
-
r % 2 ? ownKeys(Object(t), true).forEach(function (r2) {
|
|
33
|
-
_defineProperty(e, r2, t[r2]);
|
|
34
|
-
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r2) {
|
|
35
|
-
Object.defineProperty(e, r2, Object.getOwnPropertyDescriptor(t, r2));
|
|
36
|
-
});
|
|
37
|
-
}
|
|
38
|
-
return e;
|
|
39
|
-
}
|
|
40
|
-
function _defineProperty(e, r, t) {
|
|
41
|
-
return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, {
|
|
42
|
-
value: t,
|
|
43
|
-
enumerable: true,
|
|
44
|
-
configurable: true,
|
|
45
|
-
writable: true
|
|
46
|
-
}) : e[r] = t, e;
|
|
47
|
-
}
|
|
48
|
-
function _toPropertyKey(t) {
|
|
49
|
-
var i = _toPrimitive(t, "string");
|
|
50
|
-
return "symbol" == _typeof(i) ? i : i + "";
|
|
51
|
-
}
|
|
52
|
-
function _toPrimitive(t, r) {
|
|
53
|
-
if ("object" != _typeof(t) || !t) return t;
|
|
54
|
-
var e = t[Symbol.toPrimitive];
|
|
55
|
-
if (void 0 !== e) {
|
|
56
|
-
var i = e.call(t, r);
|
|
57
|
-
if ("object" != _typeof(i)) return i;
|
|
58
|
-
throw new TypeError("@@toPrimitive must return a primitive value.");
|
|
59
|
-
}
|
|
60
|
-
return ("string" === r ? String : Number)(t);
|
|
61
|
-
}
|
|
62
|
-
var euiTitle = function euiTitle2(euiThemeContext) {
|
|
63
|
-
var scale = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : "m";
|
|
64
|
-
var options = arguments.length > 2 ? arguments[2] : void 0;
|
|
65
|
-
var euiTheme = euiThemeContext.euiTheme;
|
|
66
|
-
var titleScaleToFontSizeScaleMap = {
|
|
67
|
-
xxxs: "xs",
|
|
68
|
-
xxs: "s",
|
|
69
|
-
xs: "m",
|
|
70
|
-
s: "l",
|
|
71
|
-
m: "xl",
|
|
72
|
-
l: "xxl"
|
|
73
|
-
};
|
|
74
|
-
return _objectSpread(_objectSpread({}, euiFontSize(euiThemeContext, titleScaleToFontSizeScaleMap[scale], options)), {}, {
|
|
75
|
-
fontWeight: euiTheme.font.weight[euiTheme.font.title.weight],
|
|
76
|
-
color: euiTheme.colors.textHeading,
|
|
77
|
-
letterSpacing: euiTheme.font.title.letterSpacing
|
|
78
|
-
});
|
|
79
|
-
};
|
|
80
|
-
var _ref = {
|
|
81
|
-
name: "1x2qsb1-uppercase",
|
|
82
|
-
styles: "text-transform:uppercase;label:uppercase;"
|
|
83
|
-
} ;
|
|
84
|
-
var euiTitleStyles = function euiTitleStyles2(euiThemeContext) {
|
|
85
|
-
return {
|
|
86
|
-
euiTitle: /* @__PURE__ */css(euiTextBreakWord(), " &+&{", logicalCSS("margin-top", euiThemeContext.euiTheme.size.l), ";};label:euiTitle;"),
|
|
87
|
-
uppercase: _ref,
|
|
88
|
-
// Sizes
|
|
89
|
-
xxxs: /* @__PURE__ */css(euiTitle(euiThemeContext, "xxxs"), ";;label:xxxs;"),
|
|
90
|
-
xxs: /* @__PURE__ */css(euiTitle(euiThemeContext, "xxs"), ";;label:xxs;"),
|
|
91
|
-
xs: /* @__PURE__ */css(euiTitle(euiThemeContext, "xs"), ";;label:xs;"),
|
|
92
|
-
s: /* @__PURE__ */css(euiTitle(euiThemeContext, "s"), ";;label:s;"),
|
|
93
|
-
m: /* @__PURE__ */css(euiTitle(euiThemeContext, "m"), ";;label:m;"),
|
|
94
|
-
l: /* @__PURE__ */css(euiTitle(euiThemeContext, "l"), ";;label:l;")
|
|
95
|
-
};
|
|
96
|
-
};
|
|
97
|
-
|
|
98
|
-
export { euiTitle, euiTitleStyles };
|
|
99
|
-
//# sourceMappingURL=SORCSWXI.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"SORCSWXI.js","sources":["../../../../../src/utils/eui/styles.generated/shared/SORCSWXI.ts"],"sourcesContent":["// @ts-nocheck\n// GENERATED by scripts/generate-eui-styles.mjs. Do not edit.\n// Upstream sources licensed under Elastic License 2.0 or SSPL v1; see vendor/eui-latest.\nimport {\n euiFontSize,\n euiTextBreakWord\n} from \"./OM62WJTY.ts\";\nimport {\n logicalCSS\n} from \"./ZKVETBHH.ts\";\nimport {\n css\n} from \"./ZAJGS5EL.ts\";\n\n// @elastic/eui/es/components/title/title.styles.js\nfunction _typeof(o) {\n \"@babel/helpers - typeof\";\n return _typeof = \"function\" == typeof Symbol && \"symbol\" == typeof Symbol.iterator ? function(o2) {\n return typeof o2;\n } : function(o2) {\n return o2 && \"function\" == typeof Symbol && o2.constructor === Symbol && o2 !== Symbol.prototype ? \"symbol\" : typeof o2;\n }, _typeof(o);\n}\nfunction ownKeys(e, r) {\n var t = Object.keys(e);\n if (Object.getOwnPropertySymbols) {\n var o = Object.getOwnPropertySymbols(e);\n r && (o = o.filter(function(r2) {\n return Object.getOwnPropertyDescriptor(e, r2).enumerable;\n })), t.push.apply(t, o);\n }\n return t;\n}\nfunction _objectSpread(e) {\n for (var r = 1; r < arguments.length; r++) {\n var t = null != arguments[r] ? arguments[r] : {};\n r % 2 ? ownKeys(Object(t), true).forEach(function(r2) {\n _defineProperty(e, r2, t[r2]);\n }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function(r2) {\n Object.defineProperty(e, r2, Object.getOwnPropertyDescriptor(t, r2));\n });\n }\n return e;\n}\nfunction _defineProperty(e, r, t) {\n return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: true, configurable: true, writable: true }) : e[r] = t, e;\n}\nfunction _toPropertyKey(t) {\n var i = _toPrimitive(t, \"string\");\n return \"symbol\" == _typeof(i) ? i : i + \"\";\n}\nfunction _toPrimitive(t, r) {\n if (\"object\" != _typeof(t) || !t) return t;\n var e = t[Symbol.toPrimitive];\n if (void 0 !== e) {\n var i = e.call(t, r || \"default\");\n if (\"object\" != _typeof(i)) return i;\n throw new TypeError(\"@@toPrimitive must return a primitive value.\");\n }\n return (\"string\" === r ? String : Number)(t);\n}\nvar euiTitle = function euiTitle2(euiThemeContext) {\n var scale = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : \"m\";\n var options = arguments.length > 2 ? arguments[2] : void 0;\n var euiTheme = euiThemeContext.euiTheme;\n var titleScaleToFontSizeScaleMap = {\n xxxs: \"xs\",\n xxs: \"s\",\n xs: \"m\",\n s: \"l\",\n m: \"xl\",\n l: \"xxl\"\n };\n return _objectSpread(_objectSpread({}, euiFontSize(euiThemeContext, titleScaleToFontSizeScaleMap[scale], options)), {}, {\n fontWeight: euiTheme.font.weight[euiTheme.font.title.weight],\n color: euiTheme.colors.textHeading,\n letterSpacing: euiTheme.font.title.letterSpacing\n });\n};\nvar _ref = true ? {\n name: \"1x2qsb1-uppercase\",\n styles: \"text-transform:uppercase;label:uppercase;\"\n} : {\n name: \"1x2qsb1-uppercase\",\n styles: \"text-transform:uppercase;label:uppercase;\",\n toString: _EMOTION_STRINGIFIED_CSS_ERROR__\n};\nvar euiTitleStyles = function euiTitleStyles2(euiThemeContext) {\n return {\n euiTitle: /* @__PURE__ */ css(euiTextBreakWord(), \" &+&{\", logicalCSS(\"margin-top\", euiThemeContext.euiTheme.size.l), \";};label:euiTitle;\"),\n uppercase: _ref,\n // Sizes\n xxxs: /* @__PURE__ */ css(euiTitle(euiThemeContext, \"xxxs\"), \";;label:xxxs;\"),\n xxs: /* @__PURE__ */ css(euiTitle(euiThemeContext, \"xxs\"), \";;label:xxs;\"),\n xs: /* @__PURE__ */ css(euiTitle(euiThemeContext, \"xs\"), \";;label:xs;\"),\n s: /* @__PURE__ */ css(euiTitle(euiThemeContext, \"s\"), \";;label:s;\"),\n m: /* @__PURE__ */ css(euiTitle(euiThemeContext, \"m\"), \";;label:m;\"),\n l: /* @__PURE__ */ css(euiTitle(euiThemeContext, \"l\"), \";;label:l;\")\n };\n};\n\nexport {\n euiTitle,\n euiTitleStyles\n};\n"],"names":["_typeof","o","Symbol","iterator","o2","constructor","prototype","ownKeys","e","r","t","Object","keys","getOwnPropertySymbols","filter","r2","getOwnPropertyDescriptor","enumerable","push","apply","_objectSpread","arguments","length","forEach","_defineProperty","getOwnPropertyDescriptors","defineProperties","defineProperty","_toPropertyKey","value","configurable","writable","i","_toPrimitive","toPrimitive","call","TypeError","String","Number","euiTitle","euiTitle2","euiThemeContext","scale","options","euiTheme","titleScaleToFontSizeScaleMap","xxxs","xxs","xs","s","m","l","euiFontSize","fontWeight","font","weight","title","color","colors","textHeading","letterSpacing","_ref","name","styles","euiTitleStyles","euiTitleStyles2","css","euiTextBreakWord","logicalCSS","size","uppercase"],"mappings":";;;;AAAA;AACA;AACA;;AAYA;AACA,SAASA,OAAOA,CAACC,CAAC,EAAE;EAClB,yBAAyB;;AACzB,EAAA,OAAOD,OAAO,GAAG,UAAU,IAAI,OAAOE,MAAM,IAAI,QAAQ,IAAI,OAAOA,MAAM,CAACC,QAAQ,GAAG,UAASC,EAAE,EAAE;AAChG,IAAA,OAAO,OAAOA,EAAE;EAClB,CAAC,GAAG,UAASA,EAAE,EAAE;IACf,OAAOA,EAAE,IAAI,UAAU,IAAI,OAAOF,MAAM,IAAIE,EAAE,CAACC,WAAW,KAAKH,MAAM,IAAIE,EAAE,KAAKF,MAAM,CAACI,SAAS,GAAG,QAAQ,GAAG,OAAOF,EAAE;AACzH,EAAA,CAAC,EAAEJ,OAAO,CAACC,CAAC,CAAC;AACf;AACA,SAASM,OAAOA,CAACC,CAAC,EAAEC,CAAC,EAAE;AACrB,EAAA,IAAIC,CAAC,GAAGC,MAAM,CAACC,IAAI,CAACJ,CAAC,CAAC;EACtB,IAAIG,MAAM,CAACE,qBAAqB,EAAE;AAChC,IAAA,IAAIZ,CAAC,GAAGU,MAAM,CAACE,qBAAqB,CAACL,CAAC,CAAC;IACvCC,CAAC,KAAKR,CAAC,GAAGA,CAAC,CAACa,MAAM,CAAC,UAASC,EAAE,EAAE;MAC9B,OAAOJ,MAAM,CAACK,wBAAwB,CAACR,CAAC,EAAEO,EAAE,CAAC,CAACE,UAAU;AAC1D,IAAA,CAAC,CAAC,CAAC,EAAEP,CAAC,CAACQ,IAAI,CAACC,KAAK,CAACT,CAAC,EAAET,CAAC,CAAC;AACzB,EAAA;AACA,EAAA,OAAOS,CAAC;AACV;AACA,SAASU,aAAaA,CAACZ,CAAC,EAAE;AACxB,EAAA,KAAK,IAAIC,CAAC,GAAG,CAAC,EAAEA,CAAC,GAAG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B,QAAQ,CAACE,eAAe,EAAE,GAAG,CAAC,EAAE,YAAY,CAAC;AACpES,IAAAA,CAAC,iBAAkBgB,GAAG,CAAC3B,QAAQ,CAACE,eAAe,EAAE,GAAG,CAAC,EAAE,YAAY,CAAC;IACpEU,CAAC,iBAAkBe,GAAG,CAAC3B,QAAQ,CAACE,eAAe,EAAE,GAAG,CAAC,EAAE,YAAY;GACpE;AACH;;"}
|
|
@@ -1,26 +0,0 @@
|
|
|
1
|
-
import './XFWFA3DO.js';
|
|
2
|
-
import { euiAnimSlideX } from './VUJT6GWN.js';
|
|
3
|
-
import { logicalCSS } from './ZKVETBHH.js';
|
|
4
|
-
import { css } from './ZAJGS5EL.js';
|
|
5
|
-
import { e as euiCanAnimate, a as euiCantAnimate } from '../../../../eui-theme/animations-BPTw9H2f.js';
|
|
6
|
-
|
|
7
|
-
// @ts-nocheck
|
|
8
|
-
// GENERATED by scripts/generate-eui-styles.mjs. Do not edit.
|
|
9
|
-
// Upstream sources licensed under Elastic License 2.0 or SSPL v1; see vendor/eui-latest.
|
|
10
|
-
|
|
11
|
-
// @elastic/eui/es/components/skeleton/utils.js
|
|
12
|
-
var euiSkeletonGradientAnimation = function euiSkeletonGradientAnimation2(_ref) {
|
|
13
|
-
var euiTheme = _ref.euiTheme,
|
|
14
|
-
highContrastMode = _ref.highContrastMode;
|
|
15
|
-
var _ref2 = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {},
|
|
16
|
-
_ref2$slideSize = _ref2.slideSize,
|
|
17
|
-
slideSize = _ref2$slideSize === void 0 ? "-53%" : _ref2$slideSize,
|
|
18
|
-
_ref2$gradientSize = _ref2.gradientSize,
|
|
19
|
-
gradientSize = _ref2$gradientSize === void 0 ? "220%" : _ref2$gradientSize;
|
|
20
|
-
var gradientStartStop = euiTheme.colors.backgroundBaseSkeletonEdge;
|
|
21
|
-
var gradientMiddle = highContrastMode ? euiTheme.components.skeletonBackgroundSkeletonMiddleHighContrast : euiTheme.colors.backgroundBaseSkeletonMiddle;
|
|
22
|
-
return /* @__PURE__ */css(euiCantAnimate, "{background-color:", gradientStartStop, ";}", euiCanAnimate, "{overflow:hidden;isolation:isolate;&::after{content:'';display:block;", logicalCSS("width", gradientSize), " ", logicalCSS("height", "100%"), " background:linear-gradient(\n 137deg,\n ", gradientStartStop, " 45%,\n ", gradientMiddle, " 50%,\n ", gradientStartStop, " 55%\n );animation:", euiAnimSlideX(slideSize), " 1.5s ", euiTheme.animation.resistance, " infinite;}};label:euiSkeletonGradientAnimation;");
|
|
23
|
-
};
|
|
24
|
-
|
|
25
|
-
export { euiSkeletonGradientAnimation };
|
|
26
|
-
//# sourceMappingURL=T3K55UA5.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"T3K55UA5.js","sources":["../../../../../src/utils/eui/styles.generated/shared/T3K55UA5.ts"],"sourcesContent":["// @ts-nocheck\n// GENERATED by scripts/generate-eui-styles.mjs. Do not edit.\n// Upstream sources licensed under Elastic License 2.0 or SSPL v1; see vendor/eui-latest.\nimport {\n euiCanAnimate,\n euiCantAnimate\n} from \"./XFWFA3DO.ts\";\nimport {\n euiAnimSlideX\n} from \"./VUJT6GWN.ts\";\nimport {\n logicalCSS\n} from \"./ZKVETBHH.ts\";\nimport {\n css\n} from \"./ZAJGS5EL.ts\";\n\n// @elastic/eui/es/components/skeleton/utils.js\nvar euiSkeletonGradientAnimation = function euiSkeletonGradientAnimation2(_ref) {\n var euiTheme = _ref.euiTheme, highContrastMode = _ref.highContrastMode;\n var _ref2 = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, _ref2$slideSize = _ref2.slideSize, slideSize = _ref2$slideSize === void 0 ? \"-53%\" : _ref2$slideSize, _ref2$gradientSize = _ref2.gradientSize, gradientSize = _ref2$gradientSize === void 0 ? \"220%\" : _ref2$gradientSize;\n var gradientStartStop = euiTheme.colors.backgroundBaseSkeletonEdge;\n var gradientMiddle = highContrastMode ? euiTheme.components.skeletonBackgroundSkeletonMiddleHighContrast : euiTheme.colors.backgroundBaseSkeletonMiddle;\n return /* @__PURE__ */ css(euiCantAnimate, \"{background-color:\", gradientStartStop, \";}\", euiCanAnimate, \"{overflow:hidden;isolation:isolate;&::after{content:'';display:block;\", logicalCSS(\"width\", gradientSize), \" \", logicalCSS(\"height\", \"100%\"), \" background:linear-gradient(\\n 137deg,\\n \", gradientStartStop, \" 45%,\\n \", gradientMiddle, \" 50%,\\n \", gradientStartStop, \" 55%\\n );animation:\", euiAnimSlideX(slideSize), \" 1.5s \", euiTheme.animation.resistance, \" infinite;}};label:euiSkeletonGradientAnimation;\");\n};\n\nexport {\n euiSkeletonGradientAnimation\n};\n"],"names":["euiSkeletonGradientAnimation","euiSkeletonGradientAnimation2","_ref","euiTheme","highContrastMode","_ref2","arguments","length","_ref2$slideSize","slideSize","_ref2$gradientSize","gradientSize","gradientStartStop","colors","backgroundBaseSkeletonEdge","gradientMiddle","components","skeletonBackgroundSkeletonMiddleHighContrast","backgroundBaseSkeletonMiddle","css","euiCantAnimate","euiCanAnimate","logicalCSS","euiAnimSlideX","animation","resistance"],"mappings":";;;;;;AAAA;AACA;AACA;;AAeA;AACA,IAAIA,4BAA4B,GAAG,SAASC,6BAA6BA,CAACC,IAAI,EAAE;AAC9E,EAAA,IAAIC,QAAQ,GAAGD,IAAI,CAACC,QAAQ;IAAEC,gBAAgB,GAAGF,IAAI,CAACE,gBAAgB;EACtE,IAAIC,KAAK,GAAGC,SAAS,CAACC,MAAM,GAAG,CAAC,IAAID,SAAS,CAAC,CAAC,CAAC,KAAK,MAAM,GAAGA,SAAS,CAAC,CAAC,CAAC,GAAG,EAAE;IAAEE,eAAe,GAAGH,KAAK,CAACI,SAAS;IAAEA,SAAS,GAAGD,eAAe,KAAK,MAAM,GAAG,MAAM,GAAGA,eAAe;IAAEE,kBAAkB,GAAGL,KAAK,CAACM,YAAY;IAAEA,YAAY,GAAGD,kBAAkB,KAAK,MAAM,GAAG,MAAM,GAAGA,kBAAkB;AAC1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