elseware-ui 3.0.1 → 3.0.2
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/README.md +289 -289
- package/dist/index.css +12 -32
- package/dist/index.css.map +1 -1
- package/dist/index.d.mts +7 -27
- package/dist/index.d.ts +7 -27
- package/dist/index.js +268 -217
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +267 -216
- package/dist/index.mjs.map +1 -1
- package/dist/index.native.d.mts +8 -4
- package/dist/index.native.d.ts +8 -4
- package/dist/index.native.js +140 -1
- package/dist/index.native.js.map +1 -1
- package/dist/index.native.mjs +140 -3
- package/dist/index.native.mjs.map +1 -1
- package/dist/{resolveGlobalConfigs-Cuiq_Zix.d.mts → resolveGlobalConfigs-CL-Puk7Y.d.mts} +28 -2
- package/dist/{resolveGlobalConfigs-Cuiq_Zix.d.ts → resolveGlobalConfigs-CL-Puk7Y.d.ts} +28 -2
- package/package.json +173 -173
- package/tailwind.preset.js +116 -116
package/dist/index.js
CHANGED
|
@@ -6,7 +6,7 @@ var tailwindMerge = require('tailwind-merge');
|
|
|
6
6
|
var index_js$1 = require('react-icons/ai/index.js');
|
|
7
7
|
var formik = require('formik');
|
|
8
8
|
var index_js$2 = require('react-icons/fa/index.js');
|
|
9
|
-
var
|
|
9
|
+
var classNames72 = require('classnames');
|
|
10
10
|
var reactBeautifulDnd = require('react-beautiful-dnd');
|
|
11
11
|
var cloudinaryReact = require('cloudinary-react');
|
|
12
12
|
var index_js = require('react-icons/md/index.js');
|
|
@@ -27,7 +27,7 @@ require('@mdxeditor/editor/style.css');
|
|
|
27
27
|
function _interopDefault (e) { return e && e.__esModule ? e : { default: e }; }
|
|
28
28
|
|
|
29
29
|
var React26__default = /*#__PURE__*/_interopDefault(React26);
|
|
30
|
-
var
|
|
30
|
+
var classNames72__default = /*#__PURE__*/_interopDefault(classNames72);
|
|
31
31
|
var ReactWorldFlags__default = /*#__PURE__*/_interopDefault(ReactWorldFlags);
|
|
32
32
|
var emojiFlags__default = /*#__PURE__*/_interopDefault(emojiFlags);
|
|
33
33
|
var CodeMirror__default = /*#__PURE__*/_interopDefault(CodeMirror);
|
|
@@ -6463,7 +6463,7 @@ var Backdrop = ({ children: children3, styles }) => {
|
|
|
6463
6463
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
6464
6464
|
"div",
|
|
6465
6465
|
{
|
|
6466
|
-
className:
|
|
6466
|
+
className: classNames72__default.default({
|
|
6467
6467
|
"bg-black/75 top-0 bottom-0 left-0 right-0 z-50 fixed inset-0 flex items-center justify-center overflow-hidden": true,
|
|
6468
6468
|
[`${styles}`]: styles
|
|
6469
6469
|
}),
|
|
@@ -7053,7 +7053,7 @@ function renderTransitionChild(children3, className) {
|
|
|
7053
7053
|
}
|
|
7054
7054
|
const element7 = child;
|
|
7055
7055
|
return React26__default.default.cloneElement(element7, {
|
|
7056
|
-
className:
|
|
7056
|
+
className: classNames72__default.default(element7.props.className, className)
|
|
7057
7057
|
});
|
|
7058
7058
|
}
|
|
7059
7059
|
function TransitionBase({
|
|
@@ -7073,7 +7073,7 @@ function TransitionBase({
|
|
|
7073
7073
|
if (!mounted && unmountOnExit) {
|
|
7074
7074
|
return null;
|
|
7075
7075
|
}
|
|
7076
|
-
const transitionClassName =
|
|
7076
|
+
const transitionClassName = classNames72__default.default(
|
|
7077
7077
|
visibility ? enterClassName : leaveClassName,
|
|
7078
7078
|
active ? visibleClassName : hiddenClassName
|
|
7079
7079
|
);
|
|
@@ -7426,7 +7426,7 @@ var InputFile = ({
|
|
|
7426
7426
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
7427
7427
|
"div",
|
|
7428
7428
|
{
|
|
7429
|
-
className:
|
|
7429
|
+
className: classNames72__default.default(
|
|
7430
7430
|
"border rounded-sm bg-eui-primary-300/10 px-3 pt-3 text-md text-eui-dark-100 cursor-pointer h-[50px] flex items-center",
|
|
7431
7431
|
{
|
|
7432
7432
|
"border-eui-primary-400 focus:border-eui-secondary-500": !(meta.touched && meta.error),
|
|
@@ -7452,7 +7452,7 @@ var InputFile = ({
|
|
|
7452
7452
|
InputLabel,
|
|
7453
7453
|
{
|
|
7454
7454
|
text: placeholder,
|
|
7455
|
-
className:
|
|
7455
|
+
className: classNames72__default.default({
|
|
7456
7456
|
"absolute left-2 eui-text-sm peer-placeholder-shown:text-base peer-placeholder-shown:top-3 pointer-events-none": true,
|
|
7457
7457
|
"top-[0.7px]": showFloatingLabel,
|
|
7458
7458
|
"top-[13px] text-base": !showFloatingLabel
|
|
@@ -7505,7 +7505,7 @@ var InputList = ({ name: name2, placeholder, shape }) => {
|
|
|
7505
7505
|
/* @__PURE__ */ jsxRuntime.jsx("div", { className: "mt-2", children: /* @__PURE__ */ jsxRuntime.jsx(formik.FieldArray, { name: name2, children: ({ push: push2, remove: remove2, move }) => /* @__PURE__ */ jsxRuntime.jsxs(
|
|
7506
7506
|
"div",
|
|
7507
7507
|
{
|
|
7508
|
-
className:
|
|
7508
|
+
className: classNames72__default.default(
|
|
7509
7509
|
"flex w-full flex-col space-y-2 bg-eui-primary-300/10",
|
|
7510
7510
|
shapes[resolvedShape]
|
|
7511
7511
|
),
|
|
@@ -7534,7 +7534,7 @@ var InputList = ({ name: name2, placeholder, shape }) => {
|
|
|
7534
7534
|
ref: provided2.innerRef,
|
|
7535
7535
|
...draggableProps,
|
|
7536
7536
|
style: draggableStyle,
|
|
7537
|
-
className:
|
|
7537
|
+
className: classNames72__default.default(
|
|
7538
7538
|
"flex items-center space-x-2 bg-eui-primary-300/10 p-2",
|
|
7539
7539
|
shapes[resolvedShape]
|
|
7540
7540
|
),
|
|
@@ -7545,7 +7545,7 @@ var InputList = ({ name: name2, placeholder, shape }) => {
|
|
|
7545
7545
|
{
|
|
7546
7546
|
name: `${name2}[${index3}]`,
|
|
7547
7547
|
placeholder: `Item ${index3 + 1}`,
|
|
7548
|
-
className:
|
|
7548
|
+
className: classNames72__default.default(
|
|
7549
7549
|
"peer h-[50px] w-full border bg-eui-primary-300/10 px-3 pb-2 pt-5 text-md placeholder-transparent placeholder-shown:p-3 focus:outline-none eui-text-md",
|
|
7550
7550
|
shapes[resolvedShape],
|
|
7551
7551
|
hasItemError ? "border-eui-danger-500" : "border-eui-primary-400 focus:border-eui-secondary-500"
|
|
@@ -7641,7 +7641,7 @@ var InputListGroup = ({
|
|
|
7641
7641
|
return /* @__PURE__ */ jsxRuntime.jsxs(
|
|
7642
7642
|
"div",
|
|
7643
7643
|
{
|
|
7644
|
-
className:
|
|
7644
|
+
className: classNames72__default.default(
|
|
7645
7645
|
"flex flex-col gap-2 bg-eui-primary-300/10 p-3",
|
|
7646
7646
|
shapes[resolvedShape]
|
|
7647
7647
|
),
|
|
@@ -7653,7 +7653,7 @@ var InputListGroup = ({
|
|
|
7653
7653
|
{
|
|
7654
7654
|
name: `${name2}[${groupIndex}].name`,
|
|
7655
7655
|
placeholder: `Group ${groupIndex + 1}`,
|
|
7656
|
-
className:
|
|
7656
|
+
className: classNames72__default.default(
|
|
7657
7657
|
"h-[40px] w-full border bg-eui-primary-300/10 px-3 py-2 text-md focus:outline-none",
|
|
7658
7658
|
shapes[resolvedShape],
|
|
7659
7659
|
"border-eui-primary-400 focus:border-eui-secondary-500"
|
|
@@ -7684,7 +7684,7 @@ var InputListGroup = ({
|
|
|
7684
7684
|
{
|
|
7685
7685
|
ref: provided.innerRef,
|
|
7686
7686
|
...provided.droppableProps,
|
|
7687
|
-
className:
|
|
7687
|
+
className: classNames72__default.default(
|
|
7688
7688
|
"space-y-2 bg-eui-primary-300/10 p-2",
|
|
7689
7689
|
shapes[resolvedShape]
|
|
7690
7690
|
),
|
|
@@ -7704,7 +7704,7 @@ var InputListGroup = ({
|
|
|
7704
7704
|
ref: provided2.innerRef,
|
|
7705
7705
|
...draggableProps,
|
|
7706
7706
|
style: draggableStyle,
|
|
7707
|
-
className:
|
|
7707
|
+
className: classNames72__default.default(
|
|
7708
7708
|
"flex items-center gap-2 bg-eui-primary-300/10 p-2",
|
|
7709
7709
|
shapes[resolvedShape]
|
|
7710
7710
|
),
|
|
@@ -7715,7 +7715,7 @@ var InputListGroup = ({
|
|
|
7715
7715
|
{
|
|
7716
7716
|
name: `${itemsFieldName}[${itemIndex}]`,
|
|
7717
7717
|
placeholder: `Item ${itemIndex + 1}`,
|
|
7718
|
-
className:
|
|
7718
|
+
className: classNames72__default.default(
|
|
7719
7719
|
"h-[40px] w-full border bg-eui-primary-300/10 px-3 py-2 text-md focus:outline-none",
|
|
7720
7720
|
shapes[resolvedShape],
|
|
7721
7721
|
"border-eui-primary-400 focus:border-eui-secondary-500"
|
|
@@ -7923,7 +7923,11 @@ function Checkbox(checkboxProps) {
|
|
|
7923
7923
|
checkedIconClassName,
|
|
7924
7924
|
labelClassName
|
|
7925
7925
|
} = checkboxProps;
|
|
7926
|
-
const {
|
|
7926
|
+
const {
|
|
7927
|
+
shape: resolvedShape,
|
|
7928
|
+
variant: resolvedVariant,
|
|
7929
|
+
label: resolvedLabel
|
|
7930
|
+
} = useResolvedCheckboxConfig({
|
|
7927
7931
|
label,
|
|
7928
7932
|
placeholder,
|
|
7929
7933
|
variant,
|
|
@@ -8080,7 +8084,7 @@ var DateSelector = ({
|
|
|
8080
8084
|
...field,
|
|
8081
8085
|
...props,
|
|
8082
8086
|
placeholder,
|
|
8083
|
-
className:
|
|
8087
|
+
className: classNames72__default.default({
|
|
8084
8088
|
"border border-eui-primary-400 peer w-full bg-eui-primary-300/10 pt-5 px-3 pb-2 text-md eui-text-md placeholder-transparent placeholder-shown:p-3 focus:border-eui-secondary-500 focus:outline-none h-[50px]": true,
|
|
8085
8089
|
"border-eui-danger-500": meta.touched && meta.error,
|
|
8086
8090
|
"transition-all ease-in-out": true,
|
|
@@ -8093,8 +8097,18 @@ var DateSelector = ({
|
|
|
8093
8097
|
] });
|
|
8094
8098
|
};
|
|
8095
8099
|
var DateSelector_default = DateSelector;
|
|
8096
|
-
|
|
8100
|
+
function renderFormChildren(children3, formik) {
|
|
8101
|
+
return typeof children3 === "function" ? children3(formik) : children3;
|
|
8102
|
+
}
|
|
8103
|
+
function FormObservers({
|
|
8104
|
+
formik,
|
|
8105
|
+
onChange,
|
|
8106
|
+
onDirtyChange
|
|
8107
|
+
}) {
|
|
8097
8108
|
const prevValuesRef = React26.useRef(formik.values);
|
|
8109
|
+
React26.useEffect(() => {
|
|
8110
|
+
onDirtyChange?.(formik.dirty);
|
|
8111
|
+
}, [formik.dirty, onDirtyChange]);
|
|
8098
8112
|
React26.useEffect(() => {
|
|
8099
8113
|
if (!onChange) return;
|
|
8100
8114
|
const currentValues = formik.values;
|
|
@@ -8111,24 +8125,17 @@ var FormObserver = ({ formik, onChange }) => {
|
|
|
8111
8125
|
prevValuesRef.current = currentValues;
|
|
8112
8126
|
}, [formik.values, onChange]);
|
|
8113
8127
|
return null;
|
|
8114
|
-
}
|
|
8115
|
-
|
|
8116
|
-
|
|
8117
|
-
|
|
8118
|
-
|
|
8119
|
-
onDirtyChange(formik.dirty);
|
|
8120
|
-
}
|
|
8121
|
-
}, [formik.dirty, onDirtyChange]);
|
|
8122
|
-
return null;
|
|
8123
|
-
};
|
|
8124
|
-
var DirtyObserver_default = DirtyObserver;
|
|
8125
|
-
var UnsavedChangesGuard = ({ formik, enabled }) => {
|
|
8128
|
+
}
|
|
8129
|
+
function UnsavedChangesGuard({
|
|
8130
|
+
formik,
|
|
8131
|
+
enabled
|
|
8132
|
+
}) {
|
|
8126
8133
|
React26.useEffect(() => {
|
|
8127
8134
|
if (!enabled) return;
|
|
8128
|
-
const handleBeforeUnload = (
|
|
8135
|
+
const handleBeforeUnload = (event) => {
|
|
8129
8136
|
if (!formik.dirty) return;
|
|
8130
|
-
|
|
8131
|
-
|
|
8137
|
+
event.preventDefault();
|
|
8138
|
+
event.returnValue = "";
|
|
8132
8139
|
};
|
|
8133
8140
|
window.addEventListener("beforeunload", handleBeforeUnload);
|
|
8134
8141
|
return () => {
|
|
@@ -8136,19 +8143,19 @@ var UnsavedChangesGuard = ({ formik, enabled }) => {
|
|
|
8136
8143
|
};
|
|
8137
8144
|
}, [formik.dirty, enabled]);
|
|
8138
8145
|
return null;
|
|
8139
|
-
}
|
|
8140
|
-
|
|
8141
|
-
var Form = ({
|
|
8146
|
+
}
|
|
8147
|
+
function Form({
|
|
8142
8148
|
initialValues = {},
|
|
8143
8149
|
validationSchema,
|
|
8144
8150
|
enableReinitialize,
|
|
8145
8151
|
children: children3,
|
|
8146
|
-
|
|
8152
|
+
className,
|
|
8153
|
+
contentClassName,
|
|
8147
8154
|
onSubmit,
|
|
8148
8155
|
onChange,
|
|
8149
8156
|
warnOnUnsavedChanges = false,
|
|
8150
8157
|
onDirtyChange
|
|
8151
|
-
})
|
|
8158
|
+
}) {
|
|
8152
8159
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
8153
8160
|
formik.Formik,
|
|
8154
8161
|
{
|
|
@@ -8158,44 +8165,88 @@ var Form = ({
|
|
|
8158
8165
|
onSubmit: async (values, helpers) => {
|
|
8159
8166
|
await onSubmit(values, helpers);
|
|
8160
8167
|
},
|
|
8161
|
-
children: (formik$1) => /* @__PURE__ */ jsxRuntime.jsxs(formik.Form, { children: [
|
|
8162
|
-
/* @__PURE__ */ jsxRuntime.jsx(
|
|
8163
|
-
/* @__PURE__ */ jsxRuntime.jsx(
|
|
8164
|
-
|
|
8165
|
-
|
|
8168
|
+
children: (formik$1) => /* @__PURE__ */ jsxRuntime.jsxs(formik.Form, { className, children: [
|
|
8169
|
+
/* @__PURE__ */ jsxRuntime.jsx(UnsavedChangesGuard, { formik: formik$1, enabled: warnOnUnsavedChanges }),
|
|
8170
|
+
/* @__PURE__ */ jsxRuntime.jsx(
|
|
8171
|
+
FormObservers,
|
|
8172
|
+
{
|
|
8173
|
+
formik: formik$1,
|
|
8174
|
+
onChange,
|
|
8175
|
+
onDirtyChange
|
|
8176
|
+
}
|
|
8177
|
+
),
|
|
8178
|
+
/* @__PURE__ */ jsxRuntime.jsx("div", { className: cn(contentClassName), children: renderFormChildren(children3, formik$1) })
|
|
8166
8179
|
] })
|
|
8167
8180
|
}
|
|
8168
8181
|
);
|
|
8182
|
+
}
|
|
8183
|
+
|
|
8184
|
+
// src/components/data-entry/form/form-response/base/FormResponse.styles.ts
|
|
8185
|
+
var formResponseSizeStyles = {
|
|
8186
|
+
xs: {
|
|
8187
|
+
root: "px-2 py-1",
|
|
8188
|
+
text: "text-xs"
|
|
8189
|
+
},
|
|
8190
|
+
sm: {
|
|
8191
|
+
root: "px-3 py-2",
|
|
8192
|
+
text: "text-sm"
|
|
8193
|
+
},
|
|
8194
|
+
md: {
|
|
8195
|
+
root: "px-4 py-2",
|
|
8196
|
+
text: "text-base"
|
|
8197
|
+
},
|
|
8198
|
+
lg: {
|
|
8199
|
+
root: "px-5 py-3",
|
|
8200
|
+
text: "text-lg"
|
|
8201
|
+
},
|
|
8202
|
+
xl: {
|
|
8203
|
+
root: "px-6 py-4",
|
|
8204
|
+
text: "text-xl"
|
|
8205
|
+
}
|
|
8169
8206
|
};
|
|
8170
|
-
|
|
8171
|
-
|
|
8172
|
-
|
|
8173
|
-
|
|
8174
|
-
|
|
8175
|
-
|
|
8176
|
-
|
|
8207
|
+
function isTextClassName(token) {
|
|
8208
|
+
const styleToken = token.split(":").pop() ?? token;
|
|
8209
|
+
return styleToken.startsWith("text-");
|
|
8210
|
+
}
|
|
8211
|
+
function splitClassName(className) {
|
|
8212
|
+
const tokens = className.split(/\s+/).filter(Boolean);
|
|
8213
|
+
return {
|
|
8214
|
+
root: tokens.filter((token) => !isTextClassName(token)).join(" "),
|
|
8215
|
+
text: tokens.filter(isTextClassName).join(" ")
|
|
8216
|
+
};
|
|
8217
|
+
}
|
|
8218
|
+
function resolveFormResponseStyles({
|
|
8219
|
+
shape,
|
|
8220
|
+
size,
|
|
8221
|
+
variant
|
|
8222
|
+
}) {
|
|
8223
|
+
const variantClassNames = splitClassName(variantsLite[variant]);
|
|
8224
|
+
const sizeClassNames = formResponseSizeStyles[size];
|
|
8225
|
+
return {
|
|
8226
|
+
rootClassName: [
|
|
8227
|
+
"border",
|
|
8228
|
+
variantClassNames.root,
|
|
8229
|
+
shapes[shape],
|
|
8230
|
+
sizeClassNames.root
|
|
8231
|
+
].filter(Boolean).join(" "),
|
|
8232
|
+
textClassName: [
|
|
8233
|
+
"font-poppins font-light",
|
|
8234
|
+
variantClassNames.text,
|
|
8235
|
+
sizeClassNames.text
|
|
8236
|
+
].filter(Boolean).join(" ")
|
|
8237
|
+
};
|
|
8238
|
+
}
|
|
8177
8239
|
function FormResponse({
|
|
8178
8240
|
text: text10,
|
|
8179
8241
|
variant = "default",
|
|
8180
8242
|
shape = "roundedSquare",
|
|
8181
8243
|
size = "md",
|
|
8182
|
-
|
|
8244
|
+
className,
|
|
8245
|
+
textClassName
|
|
8183
8246
|
}) {
|
|
8184
|
-
|
|
8185
|
-
|
|
8186
|
-
{
|
|
8187
|
-
className: classNames74__default.default({
|
|
8188
|
-
"font-poppins font-light text-sm": true,
|
|
8189
|
-
[`${variantsLite[variant]}`]: variant,
|
|
8190
|
-
[`${shapes[shape]}`]: shape,
|
|
8191
|
-
[`${sizes[size]}`]: size,
|
|
8192
|
-
[`${styles}`]: styles
|
|
8193
|
-
}),
|
|
8194
|
-
children: text10
|
|
8195
|
-
}
|
|
8196
|
-
) });
|
|
8247
|
+
const styles = resolveFormResponseStyles({ shape, size, variant });
|
|
8248
|
+
return /* @__PURE__ */ jsxRuntime.jsx(Transition.TransitionDropdown, { visibility: Boolean(text10), children: /* @__PURE__ */ jsxRuntime.jsx("div", { className: cn(styles.rootClassName, className), children: /* @__PURE__ */ jsxRuntime.jsx("span", { className: cn(styles.textClassName, textClassName), children: text10 }) }) });
|
|
8197
8249
|
}
|
|
8198
|
-
var FormResponse_default = FormResponse;
|
|
8199
8250
|
function ImageView({ imageUrl, secure = true, alt = "image" }) {
|
|
8200
8251
|
return /* @__PURE__ */ jsxRuntime.jsx("div", { className: "h-[200px] w-[300px]", children: /* @__PURE__ */ jsxRuntime.jsx("div", { className: "w-full h-full overflow-hidden bg-gray-900 flex items-center justify-center", children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
8201
8252
|
cloudinaryReact.Image,
|
|
@@ -8292,7 +8343,7 @@ var ImageInput = React26.forwardRef(
|
|
|
8292
8343
|
/* @__PURE__ */ jsxRuntime.jsxs(
|
|
8293
8344
|
"label",
|
|
8294
8345
|
{
|
|
8295
|
-
className:
|
|
8346
|
+
className: classNames72__default.default({
|
|
8296
8347
|
"border-2 border-dashed border-gray-700 bg-gray-900 h-[200px] w-[300px] flex flex-col gap-2 items-center justify-center group": true,
|
|
8297
8348
|
"hover:cursor-pointer hover:border-solid hover:border-gray-600 hover:bg-gray-900/80": true,
|
|
8298
8349
|
"transition-all ease-in-out duration-150": true
|
|
@@ -8409,7 +8460,7 @@ function Radio({
|
|
|
8409
8460
|
return /* @__PURE__ */ jsxRuntime.jsxs(
|
|
8410
8461
|
"div",
|
|
8411
8462
|
{
|
|
8412
|
-
className:
|
|
8463
|
+
className: classNames72__default.default({
|
|
8413
8464
|
"flex flex-row gap-2 items-center mx-1 my-2": true
|
|
8414
8465
|
}),
|
|
8415
8466
|
children: [
|
|
@@ -8422,7 +8473,7 @@ function Radio({
|
|
|
8422
8473
|
...props,
|
|
8423
8474
|
value: option.value,
|
|
8424
8475
|
checked: field2.value === option.value,
|
|
8425
|
-
className:
|
|
8476
|
+
className: classNames72__default.default({
|
|
8426
8477
|
"appearance-none w-4 h-4 border-2 border-eui-primary-400 rounded-full cursor-pointer transition-all duration-300": true,
|
|
8427
8478
|
// base radio button styles
|
|
8428
8479
|
"checked:bg-eui-secondary-700 checked:border-eui-primary-400": field2.value === option.value
|
|
@@ -8434,7 +8485,7 @@ function Radio({
|
|
|
8434
8485
|
"label",
|
|
8435
8486
|
{
|
|
8436
8487
|
htmlFor: option.value,
|
|
8437
|
-
className:
|
|
8488
|
+
className: classNames72__default.default({
|
|
8438
8489
|
"eui-text-md text-sm": true
|
|
8439
8490
|
}),
|
|
8440
8491
|
children: option.label
|
|
@@ -8477,7 +8528,7 @@ function StarRatingInput({
|
|
|
8477
8528
|
return /* @__PURE__ */ jsxRuntime.jsxs(
|
|
8478
8529
|
"div",
|
|
8479
8530
|
{
|
|
8480
|
-
className:
|
|
8531
|
+
className: classNames72__default.default({
|
|
8481
8532
|
"inline-flex gap-[4px] text-[20px]": true,
|
|
8482
8533
|
[`${styles}`]: styles
|
|
8483
8534
|
}),
|
|
@@ -8490,7 +8541,7 @@ function StarRatingInput({
|
|
|
8490
8541
|
onClick: () => handleOnClick(index3),
|
|
8491
8542
|
onMouseEnter: () => setHover(index3),
|
|
8492
8543
|
onMouseLeave: () => setHover(null),
|
|
8493
|
-
className:
|
|
8544
|
+
className: classNames72__default.default({
|
|
8494
8545
|
"text-yellow-600": index3 <= (hover ?? rating - 1),
|
|
8495
8546
|
"text-gray-400": index3 > (hover ?? rating - 1)
|
|
8496
8547
|
}),
|
|
@@ -8534,7 +8585,7 @@ function Select({
|
|
|
8534
8585
|
{
|
|
8535
8586
|
as: "select",
|
|
8536
8587
|
...props,
|
|
8537
|
-
className:
|
|
8588
|
+
className: classNames72__default.default({
|
|
8538
8589
|
"border peer w-full bg-eui-primary-300/10 pt-5 px-3 pb-2 text-md eui-text-md placeholder-transparent placeholder-shown:p-3 focus:border-eui-secondary-500 focus:outline-none h-[50px]": true,
|
|
8539
8590
|
"border-eui-primary-400": !(meta.touched && meta.error),
|
|
8540
8591
|
"border-red-500": meta.touched && meta.error,
|
|
@@ -8586,7 +8637,7 @@ function Switch({
|
|
|
8586
8637
|
"div",
|
|
8587
8638
|
{
|
|
8588
8639
|
onClick: () => helpers.setValue(!field.value),
|
|
8589
|
-
className:
|
|
8640
|
+
className: classNames72__default.default(
|
|
8590
8641
|
"w-11 h-6 bg-gray-200 peer-focus:outline-none rounded-full peer dark:bg-eui-dark-100",
|
|
8591
8642
|
"peer-checked:after:translate-x-full peer-checked:after:border-white",
|
|
8592
8643
|
"after:content-[''] after:absolute after:top-[2px] after:left-[2px] after:bg-white",
|
|
@@ -8643,7 +8694,7 @@ function Tags({
|
|
|
8643
8694
|
/* @__PURE__ */ jsxRuntime.jsxs(
|
|
8644
8695
|
"div",
|
|
8645
8696
|
{
|
|
8646
|
-
className:
|
|
8697
|
+
className: classNames72__default.default(
|
|
8647
8698
|
"border rounded-sm flex flex-wrap items-center gap-2 px-2 pt-2 pb-6 min-h-[3rem]",
|
|
8648
8699
|
{
|
|
8649
8700
|
"bg-eui-primary-300/10 eui-text-md": true,
|
|
@@ -8691,7 +8742,7 @@ function Tags({
|
|
|
8691
8742
|
InputLabel,
|
|
8692
8743
|
{
|
|
8693
8744
|
text: placeholder,
|
|
8694
|
-
className:
|
|
8745
|
+
className: classNames72__default.default(
|
|
8695
8746
|
"absolute left-2 transition-all pointer-events-none text-eui-dark-200",
|
|
8696
8747
|
input.length > 0 || field.value.length > 0 ? "top-[2px] text-[13.5px]" : "top-3 text-base"
|
|
8697
8748
|
)
|
|
@@ -8732,7 +8783,7 @@ function TextArea({
|
|
|
8732
8783
|
as: "textarea",
|
|
8733
8784
|
...field,
|
|
8734
8785
|
...props,
|
|
8735
|
-
className:
|
|
8786
|
+
className: classNames72__default.default({
|
|
8736
8787
|
"border peer w-full bg-eui-primary-300/10 eui-text-md outline-none px-3 py-5 resize-none focus:resize-none focus:outline-none": true,
|
|
8737
8788
|
"transition-all ease-in-out": true,
|
|
8738
8789
|
"border-eui-primary-400 focus:border-eui-secondary-500": !(meta.touched && meta.error),
|
|
@@ -8746,7 +8797,7 @@ function TextArea({
|
|
|
8746
8797
|
InputLabel,
|
|
8747
8798
|
{
|
|
8748
8799
|
text: placeholder,
|
|
8749
|
-
className:
|
|
8800
|
+
className: classNames72__default.default(
|
|
8750
8801
|
"absolute left-2 transition-all pointer-events-none text-eui-dark-200",
|
|
8751
8802
|
field.value ? "top-[2px] text-[13.5px]" : "top-3 text-base"
|
|
8752
8803
|
)
|
|
@@ -8780,7 +8831,7 @@ function BreadcrumbItem({
|
|
|
8780
8831
|
{
|
|
8781
8832
|
href,
|
|
8782
8833
|
onClick,
|
|
8783
|
-
className:
|
|
8834
|
+
className: classNames72__default.default({
|
|
8784
8835
|
"text-lg font-semibold": true,
|
|
8785
8836
|
"text-gray-400 hover:text-gray-600 cursor-pointer": !active,
|
|
8786
8837
|
"text-eui-light-800": active,
|
|
@@ -8857,7 +8908,7 @@ var Breadcrumb = ({
|
|
|
8857
8908
|
index3 < resolvedData.length - 1 && /* @__PURE__ */ jsxRuntime.jsx(
|
|
8858
8909
|
"span",
|
|
8859
8910
|
{
|
|
8860
|
-
className:
|
|
8911
|
+
className: classNames72__default.default({
|
|
8861
8912
|
"text-lg font-semibold text-gray-500": true,
|
|
8862
8913
|
[`px-${gap}`]: gap
|
|
8863
8914
|
}),
|
|
@@ -8871,7 +8922,7 @@ var Breadcrumb = ({
|
|
|
8871
8922
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
8872
8923
|
"div",
|
|
8873
8924
|
{
|
|
8874
|
-
className:
|
|
8925
|
+
className: classNames72__default.default({
|
|
8875
8926
|
"inline-flex": true,
|
|
8876
8927
|
[`${styles}`]: styles
|
|
8877
8928
|
}),
|
|
@@ -8915,7 +8966,7 @@ var Drawer = ({
|
|
|
8915
8966
|
isMobile && showBackdrop && /* @__PURE__ */ jsxRuntime.jsx(TransitionFade_default, { visibility, leaveDuration: 200, children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
8916
8967
|
"div",
|
|
8917
8968
|
{
|
|
8918
|
-
className:
|
|
8969
|
+
className: classNames72__default.default(
|
|
8919
8970
|
"fixed inset-0 bg-black/50 z-40",
|
|
8920
8971
|
backdropStyles
|
|
8921
8972
|
),
|
|
@@ -8926,7 +8977,7 @@ var Drawer = ({
|
|
|
8926
8977
|
"div",
|
|
8927
8978
|
{
|
|
8928
8979
|
style: drawerStyle,
|
|
8929
|
-
className:
|
|
8980
|
+
className: classNames72__default.default(
|
|
8930
8981
|
"fixed shadow-lg z-50",
|
|
8931
8982
|
{
|
|
8932
8983
|
"h-full w-[300px] top-0": isHorizontal && !hasOffset,
|
|
@@ -8955,7 +9006,7 @@ function DrawerToggler({
|
|
|
8955
9006
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
8956
9007
|
"div",
|
|
8957
9008
|
{
|
|
8958
|
-
className:
|
|
9009
|
+
className: classNames72__default.default({
|
|
8959
9010
|
"text-xl p-3 cursor-pointer": true,
|
|
8960
9011
|
"transition-all ease-in-out": true,
|
|
8961
9012
|
"text-eui-dark-500 dark:text-eui-secondary-600": !styles,
|
|
@@ -9003,7 +9054,7 @@ function FooterNav({ data = [], styles }) {
|
|
|
9003
9054
|
childrenContent = /* @__PURE__ */ jsxRuntime.jsx(
|
|
9004
9055
|
"div",
|
|
9005
9056
|
{
|
|
9006
|
-
className:
|
|
9057
|
+
className: classNames72__default.default({
|
|
9007
9058
|
"grid w-full": true,
|
|
9008
9059
|
"grid-cols-1": isMobile,
|
|
9009
9060
|
"grid-cols-3": !isMobile,
|
|
@@ -9016,7 +9067,7 @@ function FooterNav({ data = [], styles }) {
|
|
|
9016
9067
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
9017
9068
|
"div",
|
|
9018
9069
|
{
|
|
9019
|
-
className:
|
|
9070
|
+
className: classNames72__default.default({
|
|
9020
9071
|
[`${styles}`]: styles
|
|
9021
9072
|
}),
|
|
9022
9073
|
children: childrenContent
|
|
@@ -9057,7 +9108,7 @@ var FooterNavGroup = ({
|
|
|
9057
9108
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
9058
9109
|
"div",
|
|
9059
9110
|
{
|
|
9060
|
-
className:
|
|
9111
|
+
className: classNames72__default.default({
|
|
9061
9112
|
"": true,
|
|
9062
9113
|
"py-2 font-semibold eui-text-lg": !styles,
|
|
9063
9114
|
[`${styles}`]: styles
|
|
@@ -9102,7 +9153,7 @@ var FooterNavItem = ({
|
|
|
9102
9153
|
"div",
|
|
9103
9154
|
{
|
|
9104
9155
|
onClick: handleNavigation,
|
|
9105
|
-
className:
|
|
9156
|
+
className: classNames72__default.default({
|
|
9106
9157
|
"flex flex-row items-center gap-3 cursor-pointer p-1 w-full": true,
|
|
9107
9158
|
"transition-all duration-200 ease-in-out": true,
|
|
9108
9159
|
"text-sm eui-text-sm": !styles,
|
|
@@ -9131,7 +9182,7 @@ var FooterNavItemTitle = ({
|
|
|
9131
9182
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
9132
9183
|
"div",
|
|
9133
9184
|
{
|
|
9134
|
-
className:
|
|
9185
|
+
className: classNames72__default.default({
|
|
9135
9186
|
"": true,
|
|
9136
9187
|
"py-2 font-thin eui-text-md": !styles,
|
|
9137
9188
|
[`${styles}`]: styles
|
|
@@ -9184,7 +9235,7 @@ function HeaderNav({ data = [], styles }) {
|
|
|
9184
9235
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
9185
9236
|
"div",
|
|
9186
9237
|
{
|
|
9187
|
-
className:
|
|
9238
|
+
className: classNames72__default.default({
|
|
9188
9239
|
[`${styles}`]: styles
|
|
9189
9240
|
}),
|
|
9190
9241
|
children: childrenContent
|
|
@@ -9246,7 +9297,7 @@ var HeaderNavGroup = ({
|
|
|
9246
9297
|
/* @__PURE__ */ jsxRuntime.jsxs(
|
|
9247
9298
|
"div",
|
|
9248
9299
|
{
|
|
9249
|
-
className:
|
|
9300
|
+
className: classNames72__default.default({
|
|
9250
9301
|
"flex flex-row gap-2 items-center justify-between cursor-pointer p-3 w-full": true,
|
|
9251
9302
|
"transition-all duration-300 ease-in-out": true,
|
|
9252
9303
|
"eui-text-md bg-gradient-to-t from-eui-dark-500/10 dark:from-green-700/10": !styles,
|
|
@@ -9274,7 +9325,7 @@ var HeaderNavGroup = ({
|
|
|
9274
9325
|
children3 && /* @__PURE__ */ jsxRuntime.jsx(
|
|
9275
9326
|
index_js$3.BsChevronDown,
|
|
9276
9327
|
{
|
|
9277
|
-
className:
|
|
9328
|
+
className: classNames72__default.default({
|
|
9278
9329
|
"text-md": true,
|
|
9279
9330
|
"transition-all ease-in-out duration-300": true,
|
|
9280
9331
|
"rotate-180": !collapsed
|
|
@@ -9287,7 +9338,7 @@ var HeaderNavGroup = ({
|
|
|
9287
9338
|
!collapsed && children3 && /* @__PURE__ */ jsxRuntime.jsx(
|
|
9288
9339
|
"div",
|
|
9289
9340
|
{
|
|
9290
|
-
className:
|
|
9341
|
+
className: classNames72__default.default({
|
|
9291
9342
|
"absolute min-w-80 left-0 top-full mt-1 border border-eui-dark-300/10 dark:border-eui-dark-300/50 shadow-lg eui-shadow-lg z-50 w-full eui-bg-md": true,
|
|
9292
9343
|
"transition-all duration-300 ease-in-out": true
|
|
9293
9344
|
}),
|
|
@@ -9317,7 +9368,7 @@ var HeaderNavItem = ({
|
|
|
9317
9368
|
"div",
|
|
9318
9369
|
{
|
|
9319
9370
|
onClick: handleNavigation,
|
|
9320
|
-
className:
|
|
9371
|
+
className: classNames72__default.default({
|
|
9321
9372
|
"flex flex-row items-center gap-3 cursor-pointer p-3 w-full": true,
|
|
9322
9373
|
"transition-all duration-200 ease-in-out": true,
|
|
9323
9374
|
"eui-text-md border-b border-eui-dark-500/20 dark:border-eui-secondary-900/20 bg-gradient-to-r from-eui-dark-500/10 dark:from-eui-secondary-900/10": !styles,
|
|
@@ -9346,7 +9397,7 @@ var HeaderNavItemTitle = ({
|
|
|
9346
9397
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
9347
9398
|
"div",
|
|
9348
9399
|
{
|
|
9349
|
-
className:
|
|
9400
|
+
className: classNames72__default.default({
|
|
9350
9401
|
"p-3 font-thin": true,
|
|
9351
9402
|
"eui-text-md": !styles,
|
|
9352
9403
|
[`${styles}`]: styles
|
|
@@ -9386,7 +9437,7 @@ var Link = ({
|
|
|
9386
9437
|
href: href || "#",
|
|
9387
9438
|
target: targets[target],
|
|
9388
9439
|
onClick: handleClick,
|
|
9389
|
-
className:
|
|
9440
|
+
className: classNames72__default.default({
|
|
9390
9441
|
[`${textVariants[variant]}`]: variant,
|
|
9391
9442
|
[`${decorations[decoration]}`]: decoration,
|
|
9392
9443
|
"font-bold": bold,
|
|
@@ -12578,7 +12629,7 @@ function Accordion({
|
|
|
12578
12629
|
/* @__PURE__ */ jsxRuntime.jsxs(
|
|
12579
12630
|
"div",
|
|
12580
12631
|
{
|
|
12581
|
-
className:
|
|
12632
|
+
className: classNames72__default.default(
|
|
12582
12633
|
"inline-flex gap-3 items-center px-3 py-2 w-full eui-gradient-to-r-general-xs",
|
|
12583
12634
|
{
|
|
12584
12635
|
"hover:cursor-pointer": toggleOnSummaryClick
|
|
@@ -12599,7 +12650,7 @@ function Accordion({
|
|
|
12599
12650
|
children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
12600
12651
|
index_js$4.FaCircleChevronDown,
|
|
12601
12652
|
{
|
|
12602
|
-
className:
|
|
12653
|
+
className: classNames72__default.default("text-xl transition-transform duration-300", {
|
|
12603
12654
|
"rotate-180": collapse
|
|
12604
12655
|
})
|
|
12605
12656
|
}
|
|
@@ -12613,7 +12664,7 @@ function Accordion({
|
|
|
12613
12664
|
/* @__PURE__ */ jsxRuntime.jsx(TransitionAccordion_default, { visibility: collapse, children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
12614
12665
|
"div",
|
|
12615
12666
|
{
|
|
12616
|
-
className:
|
|
12667
|
+
className: classNames72__default.default(
|
|
12617
12668
|
"border-t border-t-eui-dark-400/40 eui-text-sm",
|
|
12618
12669
|
{
|
|
12619
12670
|
"p-5": enableChildrenPadding
|
|
@@ -12670,7 +12721,7 @@ function CardHeader({ icon, title, description, className }) {
|
|
|
12670
12721
|
return /* @__PURE__ */ jsxRuntime.jsxs(
|
|
12671
12722
|
"div",
|
|
12672
12723
|
{
|
|
12673
|
-
className:
|
|
12724
|
+
className: classNames72__default.default(
|
|
12674
12725
|
"flex items-start gap-4 p-6 border-b border-white/10",
|
|
12675
12726
|
className
|
|
12676
12727
|
),
|
|
@@ -12686,14 +12737,14 @@ function CardHeader({ icon, title, description, className }) {
|
|
|
12686
12737
|
}
|
|
12687
12738
|
var CardHeader_default = CardHeader;
|
|
12688
12739
|
function CardContent({ children: children3, className }) {
|
|
12689
|
-
return /* @__PURE__ */ jsxRuntime.jsx("div", { className:
|
|
12740
|
+
return /* @__PURE__ */ jsxRuntime.jsx("div", { className: classNames72__default.default("p-6 text-gray-300 text-sm", className), children: children3 });
|
|
12690
12741
|
}
|
|
12691
12742
|
var CardContent_default = CardContent;
|
|
12692
12743
|
function CardFooter({ children: children3, className }) {
|
|
12693
12744
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
12694
12745
|
"div",
|
|
12695
12746
|
{
|
|
12696
|
-
className:
|
|
12747
|
+
className: classNames72__default.default(
|
|
12697
12748
|
"flex items-center gap-3 p-5 border-t border-white/10 text-sm text-gray-400",
|
|
12698
12749
|
className
|
|
12699
12750
|
),
|
|
@@ -12735,7 +12786,7 @@ function GradientAnimation({
|
|
|
12735
12786
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
12736
12787
|
"div",
|
|
12737
12788
|
{
|
|
12738
|
-
className:
|
|
12789
|
+
className: classNames72__default.default("absolute inset-0"),
|
|
12739
12790
|
style: {
|
|
12740
12791
|
background: `linear-gradient(${cfg.angle}deg, ${cfg.colors?.join(",")})`,
|
|
12741
12792
|
backgroundSize: cfg.backgroundSize,
|
|
@@ -12881,7 +12932,7 @@ function MotionSurface({
|
|
|
12881
12932
|
}) {
|
|
12882
12933
|
const AnimationComponent = animationVariant === "custom" ? CustomAnimation : animationRegistry[animationVariant];
|
|
12883
12934
|
const OverlayComponent = overlay === "custom" ? CustomOverlay : overlayRegistry[overlay];
|
|
12884
|
-
return /* @__PURE__ */ jsxRuntime.jsxs("div", { className:
|
|
12935
|
+
return /* @__PURE__ */ jsxRuntime.jsxs("div", { className: classNames72__default.default("relative overflow-hidden", className), children: [
|
|
12885
12936
|
AnimationComponent && /* @__PURE__ */ jsxRuntime.jsx(AnimationComponent, { config: animationConfig, animated }),
|
|
12886
12937
|
OverlayComponent && /* @__PURE__ */ jsxRuntime.jsx(OverlayComponent, { config: overlayConfig }),
|
|
12887
12938
|
/* @__PURE__ */ jsxRuntime.jsx("div", { className: "relative z-10", children: children3 })
|
|
@@ -17127,7 +17178,7 @@ var ProgressBar = ({
|
|
|
17127
17178
|
hasBottomLabel && /* @__PURE__ */ jsxRuntime.jsx("div", { className: "mt-2", children: labelNode })
|
|
17128
17179
|
] });
|
|
17129
17180
|
};
|
|
17130
|
-
var
|
|
17181
|
+
var sizes = {
|
|
17131
17182
|
["xs" /* xs */]: "text-[10px]",
|
|
17132
17183
|
["sm" /* sm */]: "text-xs",
|
|
17133
17184
|
["md" /* md */]: "text-sm",
|
|
@@ -17157,7 +17208,7 @@ var StarRating = ({
|
|
|
17157
17208
|
className: cn(
|
|
17158
17209
|
"inline-flex items-center gap-[2px]",
|
|
17159
17210
|
"text-yellow-500 dark:text-yellow-400",
|
|
17160
|
-
|
|
17211
|
+
sizes[size],
|
|
17161
17212
|
iconClassName
|
|
17162
17213
|
),
|
|
17163
17214
|
children: [
|
|
@@ -17170,7 +17221,7 @@ var StarRating = ({
|
|
|
17170
17221
|
showValue && valuePosition === "end" && ratingValue
|
|
17171
17222
|
] });
|
|
17172
17223
|
};
|
|
17173
|
-
var
|
|
17224
|
+
var sizes2 = {
|
|
17174
17225
|
["xs" /* xs */]: {
|
|
17175
17226
|
value: "text-2xl",
|
|
17176
17227
|
review: "text-xs"
|
|
@@ -17202,7 +17253,7 @@ var NumericRating = ({
|
|
|
17202
17253
|
className,
|
|
17203
17254
|
...rest
|
|
17204
17255
|
}) => {
|
|
17205
|
-
const sizeStyles =
|
|
17256
|
+
const sizeStyles = sizes2[size];
|
|
17206
17257
|
return /* @__PURE__ */ jsxRuntime.jsxs(
|
|
17207
17258
|
"div",
|
|
17208
17259
|
{
|
|
@@ -17878,7 +17929,7 @@ var YoutubeVideo = ({
|
|
|
17878
17929
|
}) => {
|
|
17879
17930
|
const videoId = getYoutubeVideoId(videoUrl);
|
|
17880
17931
|
if (!videoId) {
|
|
17881
|
-
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
17932
|
+
return /* @__PURE__ */ jsxRuntime.jsx(FormResponse, { text: "Invalid YouTube URL", variant: "danger" });
|
|
17882
17933
|
}
|
|
17883
17934
|
const params = new URLSearchParams({
|
|
17884
17935
|
autoplay: autoPlay ? "1" : "0",
|
|
@@ -17966,7 +18017,7 @@ var ThemeSwitch = () => {
|
|
|
17966
18017
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
17967
18018
|
"div",
|
|
17968
18019
|
{
|
|
17969
|
-
className:
|
|
18020
|
+
className: classNames72__default.default(
|
|
17970
18021
|
"w-6 h-6 bg-white dark:bg-gray-600 rounded-full shadow-md transition-transform duration-300",
|
|
17971
18022
|
theme === "dark" ? "translate-x-8" : "translate-x-0"
|
|
17972
18023
|
)
|
|
@@ -29511,7 +29562,7 @@ function AsyncStateCard({
|
|
|
29511
29562
|
),
|
|
29512
29563
|
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex flex-col gap-2", children: [
|
|
29513
29564
|
/* @__PURE__ */ jsxRuntime.jsx("h3", { className: "text-lg font-semibold text-eui-dark-900 dark:text-eui-light-600", children: title }),
|
|
29514
|
-
isError ? /* @__PURE__ */ jsxRuntime.jsx(
|
|
29565
|
+
isError ? /* @__PURE__ */ jsxRuntime.jsx(FormResponse, { text: message, variant: "danger" }) : /* @__PURE__ */ jsxRuntime.jsx("p", { className: "text-sm text-eui-dark-500 dark:text-eui-light-400", children: message })
|
|
29515
29566
|
] }),
|
|
29516
29567
|
onAction && actionText && /* @__PURE__ */ jsxRuntime.jsx(
|
|
29517
29568
|
Button_web_default,
|
|
@@ -29735,7 +29786,7 @@ function Modal({
|
|
|
29735
29786
|
"div",
|
|
29736
29787
|
{
|
|
29737
29788
|
ref: modalRef,
|
|
29738
|
-
className:
|
|
29789
|
+
className: classNames72__default.default(
|
|
29739
29790
|
"eui-bg-md eui-shadow-lg border border-gray-700/80 w-fit h-fit",
|
|
29740
29791
|
shapes[resolvedShape],
|
|
29741
29792
|
styles
|
|
@@ -29747,7 +29798,7 @@ function Modal({
|
|
|
29747
29798
|
"button",
|
|
29748
29799
|
{
|
|
29749
29800
|
type: "button",
|
|
29750
|
-
className:
|
|
29801
|
+
className: classNames72__default.default(
|
|
29751
29802
|
"w-[60px] h-[60px] flex items-center justify-center transition-standard-fast",
|
|
29752
29803
|
"hover:cursor-pointer hover:bg-eui-dark-500"
|
|
29753
29804
|
),
|
|
@@ -30139,7 +30190,7 @@ var ContentArea = React26.forwardRef(
|
|
|
30139
30190
|
"div",
|
|
30140
30191
|
{
|
|
30141
30192
|
ref,
|
|
30142
|
-
className:
|
|
30193
|
+
className: classNames72__default.default({
|
|
30143
30194
|
"min-h-screen h-full w-full transition-all duration-[200ms]": true,
|
|
30144
30195
|
"py-3 px-5": !enablePadding,
|
|
30145
30196
|
"py-3 px-5 lg:px-[150px]": enablePadding,
|
|
@@ -30156,7 +30207,7 @@ function FlexCol({ children: children3, gap = 3, styles }) {
|
|
|
30156
30207
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
30157
30208
|
"div",
|
|
30158
30209
|
{
|
|
30159
|
-
className:
|
|
30210
|
+
className: classNames72__default.default({
|
|
30160
30211
|
[`flex flex-col gap-${gap}`]: true,
|
|
30161
30212
|
[`${styles}`]: styles
|
|
30162
30213
|
}),
|
|
@@ -30169,7 +30220,7 @@ function FlexRow({ children: children3, gap = 3, styles }) {
|
|
|
30169
30220
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
30170
30221
|
"div",
|
|
30171
30222
|
{
|
|
30172
|
-
className:
|
|
30223
|
+
className: classNames72__default.default({
|
|
30173
30224
|
[`flex flex-row gap-${gap}`]: true,
|
|
30174
30225
|
[`${styles}`]: styles
|
|
30175
30226
|
}),
|
|
@@ -30188,7 +30239,7 @@ function Grid({ children: children3, styles }) {
|
|
|
30188
30239
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
30189
30240
|
"div",
|
|
30190
30241
|
{
|
|
30191
|
-
className:
|
|
30242
|
+
className: classNames72__default.default({
|
|
30192
30243
|
[`grid`]: true,
|
|
30193
30244
|
[`${styles}`]: styles
|
|
30194
30245
|
}),
|
|
@@ -30205,7 +30256,7 @@ var Layout = ({
|
|
|
30205
30256
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
30206
30257
|
"div",
|
|
30207
30258
|
{
|
|
30208
|
-
className:
|
|
30259
|
+
className: classNames72__default.default({
|
|
30209
30260
|
// "flex h-full w-screen bg-gray-100 overflow-auto": true,
|
|
30210
30261
|
"flex bg-eui-light-600": true,
|
|
30211
30262
|
"flex-col": flexDirection === "vertical",
|
|
@@ -30227,7 +30278,7 @@ var Header = ({
|
|
|
30227
30278
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
30228
30279
|
"div",
|
|
30229
30280
|
{
|
|
30230
|
-
className:
|
|
30281
|
+
className: classNames72__default.default({
|
|
30231
30282
|
static: position4 === "static",
|
|
30232
30283
|
fixed: position4 === "fixed",
|
|
30233
30284
|
sticky: position4 === "sticky",
|
|
@@ -30262,7 +30313,7 @@ var Content = ({
|
|
|
30262
30313
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
30263
30314
|
"div",
|
|
30264
30315
|
{
|
|
30265
|
-
className:
|
|
30316
|
+
className: classNames72__default.default({
|
|
30266
30317
|
"w-full min-h-screen transition-all duration-200 eui-bg-sm": true,
|
|
30267
30318
|
"md:pl-[300px]": !overlayedSidebar && sidebarVisible && !isMobile,
|
|
30268
30319
|
// Shift when sidebar is open (desktop)
|
|
@@ -30278,7 +30329,7 @@ var Footer = ({ children: children3, styles }) => {
|
|
|
30278
30329
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
30279
30330
|
"div",
|
|
30280
30331
|
{
|
|
30281
|
-
className:
|
|
30332
|
+
className: classNames72__default.default({
|
|
30282
30333
|
"bottom-0 w-full h-fit": true,
|
|
30283
30334
|
"border-t border-eui-dark-500/40 dark:border-eui-secondary-800 eui-bg-md": !styles,
|
|
30284
30335
|
[`${styles}`]: styles
|
|
@@ -30412,7 +30463,7 @@ var GlowWrapper = ({
|
|
|
30412
30463
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
30413
30464
|
"span",
|
|
30414
30465
|
{
|
|
30415
|
-
className: "\
|
|
30466
|
+
className: "\n pointer-events-none absolute inset-0 opacity-0 \n group-hover:opacity-100 transition-opacity duration-300\n ",
|
|
30416
30467
|
style: { background: "var(--glow-bg)" }
|
|
30417
30468
|
}
|
|
30418
30469
|
),
|
|
@@ -30466,7 +30517,7 @@ function ShowMore({ text: text10, limit }) {
|
|
|
30466
30517
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
30467
30518
|
"div",
|
|
30468
30519
|
{
|
|
30469
|
-
className:
|
|
30520
|
+
className: classNames72__default.default({
|
|
30470
30521
|
"text-blue-300 px-1 pb-1 mt-1": true,
|
|
30471
30522
|
"bg-slate-900/70": !showMore,
|
|
30472
30523
|
"bg-gradient-to-t from-slate-900/50 to-transparent": showMore
|
|
@@ -31382,7 +31433,7 @@ function DocumentationPanel({
|
|
|
31382
31433
|
return /* @__PURE__ */ jsxRuntime.jsx(MarkdownProvider_default, { markdown: value, children: /* @__PURE__ */ jsxRuntime.jsxs(
|
|
31383
31434
|
"section",
|
|
31384
31435
|
{
|
|
31385
|
-
className:
|
|
31436
|
+
className: classNames72__default.default(
|
|
31386
31437
|
"eui-documentation-panel",
|
|
31387
31438
|
"min-h-0 overflow-hidden bg-white text-gray-900",
|
|
31388
31439
|
"dark:bg-gray-950 dark:text-gray-100",
|
|
@@ -31396,7 +31447,7 @@ function DocumentationPanel({
|
|
|
31396
31447
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
31397
31448
|
"main",
|
|
31398
31449
|
{
|
|
31399
|
-
className:
|
|
31450
|
+
className: classNames72__default.default(
|
|
31400
31451
|
"eui-documentation-panel-viewer",
|
|
31401
31452
|
"documentation-panel-scrollbar min-w-0 overflow-y-auto scroll-smooth",
|
|
31402
31453
|
viewerClassName
|
|
@@ -31404,7 +31455,7 @@ function DocumentationPanel({
|
|
|
31404
31455
|
children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
31405
31456
|
"div",
|
|
31406
31457
|
{
|
|
31407
|
-
className:
|
|
31458
|
+
className: classNames72__default.default(
|
|
31408
31459
|
"mx-auto px-5 py-8 sm:px-6 lg:px-8",
|
|
31409
31460
|
contentMaxWidthClassName,
|
|
31410
31461
|
contentClassName
|
|
@@ -31417,7 +31468,7 @@ function DocumentationPanel({
|
|
|
31417
31468
|
toc ? /* @__PURE__ */ jsxRuntime.jsx(
|
|
31418
31469
|
"aside",
|
|
31419
31470
|
{
|
|
31420
|
-
className:
|
|
31471
|
+
className: classNames72__default.default(
|
|
31421
31472
|
"eui-documentation-panel-toc",
|
|
31422
31473
|
"hidden min-w-0 border-l border-gray-200 bg-white lg:block",
|
|
31423
31474
|
"dark:border-gray-800 dark:bg-gray-950",
|
|
@@ -31426,7 +31477,7 @@ function DocumentationPanel({
|
|
|
31426
31477
|
children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
31427
31478
|
"div",
|
|
31428
31479
|
{
|
|
31429
|
-
className:
|
|
31480
|
+
className: classNames72__default.default(
|
|
31430
31481
|
"documentation-panel-scrollbar h-full overflow-y-auto px-5 py-8"
|
|
31431
31482
|
),
|
|
31432
31483
|
children: /* @__PURE__ */ jsxRuntime.jsx("div", { className: "sticky top-0", children: /* @__PURE__ */ jsxRuntime.jsx(MarkdownTOC_default, {}) })
|
|
@@ -31702,7 +31753,7 @@ function BoxNavItem({ icon, name: name2, to, selected, onClick }) {
|
|
|
31702
31753
|
type: "button",
|
|
31703
31754
|
onClick: handleClick,
|
|
31704
31755
|
"aria-current": selected ? "page" : void 0,
|
|
31705
|
-
className:
|
|
31756
|
+
className: classNames72__default.default(
|
|
31706
31757
|
"w-full min-w-[80px] flex flex-col items-center justify-center py-3 text-center",
|
|
31707
31758
|
"hover:text-secondary-700 hover:bg-gray-300/10 hover:cursor-pointer",
|
|
31708
31759
|
selected ? "text-eui-secondary-700 bg-gray-300/10" : "text-gray-400",
|
|
@@ -42798,7 +42849,7 @@ function markdownTable(table2, options) {
|
|
|
42798
42849
|
let rowIndex = -1;
|
|
42799
42850
|
while (++rowIndex < table2.length) {
|
|
42800
42851
|
const row2 = [];
|
|
42801
|
-
const
|
|
42852
|
+
const sizes4 = [];
|
|
42802
42853
|
let columnIndex2 = -1;
|
|
42803
42854
|
if (table2[rowIndex].length > mostCellsPerRow) {
|
|
42804
42855
|
mostCellsPerRow = table2[rowIndex].length;
|
|
@@ -42807,7 +42858,7 @@ function markdownTable(table2, options) {
|
|
|
42807
42858
|
const cell = serialize2(table2[rowIndex][columnIndex2]);
|
|
42808
42859
|
if (settings.alignDelimiters !== false) {
|
|
42809
42860
|
const size = stringLength(cell);
|
|
42810
|
-
|
|
42861
|
+
sizes4[columnIndex2] = size;
|
|
42811
42862
|
if (longestCellByColumn[columnIndex2] === void 0 || size > longestCellByColumn[columnIndex2]) {
|
|
42812
42863
|
longestCellByColumn[columnIndex2] = size;
|
|
42813
42864
|
}
|
|
@@ -42815,7 +42866,7 @@ function markdownTable(table2, options) {
|
|
|
42815
42866
|
row2.push(cell);
|
|
42816
42867
|
}
|
|
42817
42868
|
cellMatrix[rowIndex] = row2;
|
|
42818
|
-
sizeMatrix[rowIndex] =
|
|
42869
|
+
sizeMatrix[rowIndex] = sizes4;
|
|
42819
42870
|
}
|
|
42820
42871
|
let columnIndex = -1;
|
|
42821
42872
|
if (typeof align === "object" && "length" in align) {
|
|
@@ -42830,7 +42881,7 @@ function markdownTable(table2, options) {
|
|
|
42830
42881
|
}
|
|
42831
42882
|
columnIndex = -1;
|
|
42832
42883
|
const row = [];
|
|
42833
|
-
const
|
|
42884
|
+
const sizes3 = [];
|
|
42834
42885
|
while (++columnIndex < mostCellsPerRow) {
|
|
42835
42886
|
const code4 = alignments[columnIndex];
|
|
42836
42887
|
let before = "";
|
|
@@ -42853,17 +42904,17 @@ function markdownTable(table2, options) {
|
|
|
42853
42904
|
if (size > longestCellByColumn[columnIndex]) {
|
|
42854
42905
|
longestCellByColumn[columnIndex] = size;
|
|
42855
42906
|
}
|
|
42856
|
-
|
|
42907
|
+
sizes3[columnIndex] = size;
|
|
42857
42908
|
}
|
|
42858
42909
|
row[columnIndex] = cell;
|
|
42859
42910
|
}
|
|
42860
42911
|
cellMatrix.splice(1, 0, row);
|
|
42861
|
-
sizeMatrix.splice(1, 0,
|
|
42912
|
+
sizeMatrix.splice(1, 0, sizes3);
|
|
42862
42913
|
rowIndex = -1;
|
|
42863
42914
|
const lines = [];
|
|
42864
42915
|
while (++rowIndex < cellMatrix.length) {
|
|
42865
42916
|
const row2 = cellMatrix[rowIndex];
|
|
42866
|
-
const
|
|
42917
|
+
const sizes4 = sizeMatrix[rowIndex];
|
|
42867
42918
|
columnIndex = -1;
|
|
42868
42919
|
const line = [];
|
|
42869
42920
|
while (++columnIndex < mostCellsPerRow) {
|
|
@@ -42871,7 +42922,7 @@ function markdownTable(table2, options) {
|
|
|
42871
42922
|
let before = "";
|
|
42872
42923
|
let after = "";
|
|
42873
42924
|
if (settings.alignDelimiters !== false) {
|
|
42874
|
-
const size = longestCellByColumn[columnIndex] - (
|
|
42925
|
+
const size = longestCellByColumn[columnIndex] - (sizes4[columnIndex] || 0);
|
|
42875
42926
|
const code4 = alignments[columnIndex];
|
|
42876
42927
|
if (code4 === 114) {
|
|
42877
42928
|
before = " ".repeat(size);
|
|
@@ -54439,7 +54490,7 @@ function MarkdownHeading({
|
|
|
54439
54490
|
id: id2,
|
|
54440
54491
|
level: typographyLevel,
|
|
54441
54492
|
bold: true,
|
|
54442
|
-
className:
|
|
54493
|
+
className: classNames72__default.default(
|
|
54443
54494
|
"eui-markdown-heading group relative scroll-mt-24 font-bold leading-tight text-gray-900 dark:text-gray-100",
|
|
54444
54495
|
HEADING_STYLES[level],
|
|
54445
54496
|
className
|
|
@@ -54602,18 +54653,18 @@ function powerSetPermutations(arr) {
|
|
|
54602
54653
|
}
|
|
54603
54654
|
}
|
|
54604
54655
|
var classNameCombinations = {};
|
|
54605
|
-
function getClassNameCombinations(
|
|
54606
|
-
if (
|
|
54607
|
-
var key =
|
|
54656
|
+
function getClassNameCombinations(classNames76) {
|
|
54657
|
+
if (classNames76.length === 0 || classNames76.length === 1) return classNames76;
|
|
54658
|
+
var key = classNames76.join(".");
|
|
54608
54659
|
if (!classNameCombinations[key]) {
|
|
54609
|
-
classNameCombinations[key] = powerSetPermutations(
|
|
54660
|
+
classNameCombinations[key] = powerSetPermutations(classNames76);
|
|
54610
54661
|
}
|
|
54611
54662
|
return classNameCombinations[key];
|
|
54612
54663
|
}
|
|
54613
|
-
function createStyleObject(
|
|
54664
|
+
function createStyleObject(classNames76) {
|
|
54614
54665
|
var elementStyle = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {};
|
|
54615
54666
|
var stylesheet = arguments.length > 2 ? arguments[2] : void 0;
|
|
54616
|
-
var nonTokenClassNames =
|
|
54667
|
+
var nonTokenClassNames = classNames76.filter(function(className) {
|
|
54617
54668
|
return className !== "token";
|
|
54618
54669
|
});
|
|
54619
54670
|
var classNamesCombinations = getClassNameCombinations(nonTokenClassNames);
|
|
@@ -54621,8 +54672,8 @@ function createStyleObject(classNames78) {
|
|
|
54621
54672
|
return _objectSpread(_objectSpread({}, styleObject), stylesheet[className]);
|
|
54622
54673
|
}, elementStyle);
|
|
54623
54674
|
}
|
|
54624
|
-
function createClassNameString(
|
|
54625
|
-
return
|
|
54675
|
+
function createClassNameString(classNames76) {
|
|
54676
|
+
return classNames76.join(" ");
|
|
54626
54677
|
}
|
|
54627
54678
|
function createChildren2(stylesheet, useInlineStyles) {
|
|
54628
54679
|
var childrenCount = 0;
|
|
@@ -54795,8 +54846,8 @@ function flattenCodeTree(tree) {
|
|
|
54795
54846
|
}));
|
|
54796
54847
|
} else if (node2.children) {
|
|
54797
54848
|
var _node$properties;
|
|
54798
|
-
var
|
|
54799
|
-
flattenCodeTree(node2.children,
|
|
54849
|
+
var classNames76 = className.concat(((_node$properties = node2.properties) === null || _node$properties === void 0 ? void 0 : _node$properties.className) || []);
|
|
54850
|
+
flattenCodeTree(node2.children, classNames76).forEach(function(i2) {
|
|
54800
54851
|
return newTree.push(i2);
|
|
54801
54852
|
});
|
|
54802
54853
|
}
|
|
@@ -55460,7 +55511,7 @@ function MarkdownCodeBlock({
|
|
|
55460
55511
|
"div",
|
|
55461
55512
|
{
|
|
55462
55513
|
...props,
|
|
55463
|
-
className:
|
|
55514
|
+
className: classNames72__default.default(
|
|
55464
55515
|
"eui-markdown-code my-6 overflow-hidden rounded-md border border-slate-700 bg-[#0d1117] text-slate-300",
|
|
55465
55516
|
className
|
|
55466
55517
|
),
|
|
@@ -55531,7 +55582,7 @@ function MarkdownInlineCode({
|
|
|
55531
55582
|
Code,
|
|
55532
55583
|
{
|
|
55533
55584
|
...props,
|
|
55534
|
-
className:
|
|
55585
|
+
className: classNames72__default.default(
|
|
55535
55586
|
"eui-markdown-inline-code whitespace-break-spaces rounded-md border border-gray-300/70 bg-gray-200/60 px-1.5 py-0.5 font-mono text-[0.875em] font-medium text-gray-900 dark:border-gray-600/70 dark:bg-gray-700/50 dark:text-gray-200",
|
|
55536
55587
|
className
|
|
55537
55588
|
),
|
|
@@ -55572,7 +55623,7 @@ function MarkdownLink({
|
|
|
55572
55623
|
href: safeHref,
|
|
55573
55624
|
target: resolvedTarget,
|
|
55574
55625
|
rel,
|
|
55575
|
-
className:
|
|
55626
|
+
className: classNames72__default.default(
|
|
55576
55627
|
"eui-markdown-link font-medium text-blue-600 underline underline-offset-4 transition-colors hover:text-blue-700 dark:text-blue-400 dark:hover:text-blue-300",
|
|
55577
55628
|
className
|
|
55578
55629
|
),
|
|
@@ -55607,7 +55658,7 @@ function MarkdownImage({
|
|
|
55607
55658
|
title,
|
|
55608
55659
|
loading: "lazy",
|
|
55609
55660
|
decoding: "async",
|
|
55610
|
-
className:
|
|
55661
|
+
className: classNames72__default.default(
|
|
55611
55662
|
"eui-markdown-image my-6 h-auto max-w-full rounded-md border border-gray-200 dark:border-gray-700",
|
|
55612
55663
|
className
|
|
55613
55664
|
)
|
|
@@ -55624,7 +55675,7 @@ function MarkdownTable({
|
|
|
55624
55675
|
TableElement,
|
|
55625
55676
|
{
|
|
55626
55677
|
...props,
|
|
55627
|
-
className:
|
|
55678
|
+
className: classNames72__default.default(
|
|
55628
55679
|
"eui-markdown-table w-full border-collapse text-[0.925rem]",
|
|
55629
55680
|
className
|
|
55630
55681
|
),
|
|
@@ -55641,7 +55692,7 @@ function MarkdownTableCell({
|
|
|
55641
55692
|
TableCell,
|
|
55642
55693
|
{
|
|
55643
55694
|
...props,
|
|
55644
|
-
className:
|
|
55695
|
+
className: classNames72__default.default(
|
|
55645
55696
|
"eui-markdown-table-cell border-b border-r border-gray-200 p-3 text-left align-top last:border-r-0 dark:border-gray-700",
|
|
55646
55697
|
className
|
|
55647
55698
|
),
|
|
@@ -55658,7 +55709,7 @@ function MarkdownTableHeaderCell({
|
|
|
55658
55709
|
TableHeaderCell,
|
|
55659
55710
|
{
|
|
55660
55711
|
...props,
|
|
55661
|
-
className:
|
|
55712
|
+
className: classNames72__default.default(
|
|
55662
55713
|
"eui-markdown-table-header-cell border-b border-r border-gray-200 p-3 text-left align-top font-bold text-gray-900 last:border-r-0 dark:border-gray-700 dark:text-gray-100",
|
|
55663
55714
|
className
|
|
55664
55715
|
),
|
|
@@ -55674,7 +55725,7 @@ function MarkdownTableHead({
|
|
|
55674
55725
|
TableHead,
|
|
55675
55726
|
{
|
|
55676
55727
|
...props,
|
|
55677
|
-
className:
|
|
55728
|
+
className: classNames72__default.default(
|
|
55678
55729
|
"eui-markdown-table-head bg-gray-50 dark:bg-gray-900",
|
|
55679
55730
|
className
|
|
55680
55731
|
)
|
|
@@ -55689,7 +55740,7 @@ function MarkdownTableBody({
|
|
|
55689
55740
|
TableBody,
|
|
55690
55741
|
{
|
|
55691
55742
|
...props,
|
|
55692
|
-
className:
|
|
55743
|
+
className: classNames72__default.default("eui-markdown-table-body", className)
|
|
55693
55744
|
}
|
|
55694
55745
|
);
|
|
55695
55746
|
}
|
|
@@ -55701,7 +55752,7 @@ function MarkdownTableRow({
|
|
|
55701
55752
|
TableRow,
|
|
55702
55753
|
{
|
|
55703
55754
|
...props,
|
|
55704
|
-
className:
|
|
55755
|
+
className: classNames72__default.default(
|
|
55705
55756
|
"eui-markdown-table-row even:bg-gray-50/70 dark:even:bg-gray-900/60",
|
|
55706
55757
|
className
|
|
55707
55758
|
)
|
|
@@ -55719,7 +55770,7 @@ function MarkdownBlockquote({
|
|
|
55719
55770
|
{
|
|
55720
55771
|
...props,
|
|
55721
55772
|
as: "blockquote",
|
|
55722
|
-
className:
|
|
55773
|
+
className: classNames72__default.default(
|
|
55723
55774
|
"eui-markdown-blockquote my-6 border-l-4 border-gray-300 bg-transparent px-4 py-0 text-gray-600 [&>*:first-child]:mt-0 [&>*:last-child]:mb-0 dark:border-gray-700 dark:text-gray-400",
|
|
55724
55775
|
className
|
|
55725
55776
|
),
|
|
@@ -55738,7 +55789,7 @@ function MarkdownParagraph({
|
|
|
55738
55789
|
{
|
|
55739
55790
|
...props,
|
|
55740
55791
|
level: 1,
|
|
55741
|
-
className:
|
|
55792
|
+
className: classNames72__default.default("eui-markdown-paragraph my-4", className),
|
|
55742
55793
|
children: /* @__PURE__ */ jsxRuntime.jsx(jsxRuntime.Fragment, { children: children3 })
|
|
55743
55794
|
}
|
|
55744
55795
|
);
|
|
@@ -55749,7 +55800,7 @@ function MarkdownStrong({ className, ...props }) {
|
|
|
55749
55800
|
"strong",
|
|
55750
55801
|
{
|
|
55751
55802
|
...props,
|
|
55752
|
-
className:
|
|
55803
|
+
className: classNames72__default.default(
|
|
55753
55804
|
"eui-markdown-strong font-semibold text-gray-950 dark:text-gray-100",
|
|
55754
55805
|
className
|
|
55755
55806
|
)
|
|
@@ -55762,7 +55813,7 @@ function MarkdownEmphasis({ className, ...props }) {
|
|
|
55762
55813
|
"em",
|
|
55763
55814
|
{
|
|
55764
55815
|
...props,
|
|
55765
|
-
className:
|
|
55816
|
+
className: classNames72__default.default("eui-markdown-emphasis italic", className)
|
|
55766
55817
|
}
|
|
55767
55818
|
);
|
|
55768
55819
|
}
|
|
@@ -55775,7 +55826,7 @@ function MarkdownStrikethrough({
|
|
|
55775
55826
|
"del",
|
|
55776
55827
|
{
|
|
55777
55828
|
...props,
|
|
55778
|
-
className:
|
|
55829
|
+
className: classNames72__default.default(
|
|
55779
55830
|
"eui-markdown-strikethrough text-gray-500 dark:text-gray-400",
|
|
55780
55831
|
className
|
|
55781
55832
|
)
|
|
@@ -55836,7 +55887,7 @@ function MarkdownTaskCheckbox({
|
|
|
55836
55887
|
"input",
|
|
55837
55888
|
{
|
|
55838
55889
|
...props,
|
|
55839
|
-
className:
|
|
55890
|
+
className: classNames72__default.default(
|
|
55840
55891
|
"eui-markdown-task-checkbox mr-2 translate-y-px accent-blue-600",
|
|
55841
55892
|
className
|
|
55842
55893
|
)
|
|
@@ -55852,7 +55903,7 @@ function MarkdownThematicBreak({
|
|
|
55852
55903
|
"hr",
|
|
55853
55904
|
{
|
|
55854
55905
|
...props,
|
|
55855
|
-
className:
|
|
55906
|
+
className: classNames72__default.default(
|
|
55856
55907
|
"eui-markdown-thematic-break my-8 border-0 border-t border-gray-200 dark:border-gray-800",
|
|
55857
55908
|
className
|
|
55858
55909
|
)
|
|
@@ -55869,7 +55920,7 @@ function MarkdownDetails({ className, ...props }) {
|
|
|
55869
55920
|
"details",
|
|
55870
55921
|
{
|
|
55871
55922
|
...props,
|
|
55872
|
-
className:
|
|
55923
|
+
className: classNames72__default.default(
|
|
55873
55924
|
"eui-markdown-details my-4 rounded-md border border-gray-200 bg-gray-50 px-4 py-3 dark:border-gray-800 dark:bg-gray-900",
|
|
55874
55925
|
className
|
|
55875
55926
|
)
|
|
@@ -55881,7 +55932,7 @@ function MarkdownSummary({ className, ...props }) {
|
|
|
55881
55932
|
"summary",
|
|
55882
55933
|
{
|
|
55883
55934
|
...props,
|
|
55884
|
-
className:
|
|
55935
|
+
className: classNames72__default.default(
|
|
55885
55936
|
"eui-markdown-summary cursor-pointer font-semibold text-gray-950 dark:text-gray-100",
|
|
55886
55937
|
className
|
|
55887
55938
|
)
|
|
@@ -55893,7 +55944,7 @@ function MarkdownFigure({ className, ...props }) {
|
|
|
55893
55944
|
"figure",
|
|
55894
55945
|
{
|
|
55895
55946
|
...props,
|
|
55896
|
-
className:
|
|
55947
|
+
className: classNames72__default.default("eui-markdown-figure my-6", className)
|
|
55897
55948
|
}
|
|
55898
55949
|
);
|
|
55899
55950
|
}
|
|
@@ -55905,7 +55956,7 @@ function MarkdownFigcaption({
|
|
|
55905
55956
|
return /* @__PURE__ */ jsxRuntime.jsx("figcaption", { ...props, className: "eui-markdown-figcaption mt-2 text-center", children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
55906
55957
|
Caption,
|
|
55907
55958
|
{
|
|
55908
|
-
className:
|
|
55959
|
+
className: classNames72__default.default(
|
|
55909
55960
|
"text-gray-500 opacity-100 dark:text-gray-400",
|
|
55910
55961
|
className
|
|
55911
55962
|
),
|
|
@@ -56304,14 +56355,14 @@ function MarkdownRenderer({
|
|
|
56304
56355
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
56305
56356
|
"div",
|
|
56306
56357
|
{
|
|
56307
|
-
className:
|
|
56358
|
+
className: classNames72__default.default(
|
|
56308
56359
|
"eui-markdown markdown-body break-words bg-transparent text-[0.95rem] leading-7 text-gray-800 dark:text-gray-300",
|
|
56309
56360
|
className
|
|
56310
56361
|
),
|
|
56311
56362
|
children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
56312
56363
|
"div",
|
|
56313
56364
|
{
|
|
56314
|
-
className:
|
|
56365
|
+
className: classNames72__default.default(
|
|
56315
56366
|
"[&>*:first-child]:mt-0 [&>*:last-child]:mb-0",
|
|
56316
56367
|
contentClassName
|
|
56317
56368
|
),
|
|
@@ -56389,11 +56440,11 @@ function MarkdownTOCItem({
|
|
|
56389
56440
|
onClick: () => onSelect?.(heading3),
|
|
56390
56441
|
"aria-current": active ? "location" : void 0,
|
|
56391
56442
|
title: label,
|
|
56392
|
-
className:
|
|
56443
|
+
className: classNames72__default.default(
|
|
56393
56444
|
"eui-markdown-toc-item",
|
|
56394
56445
|
"block w-full text-left text-sm transition-all ease-in-out duration-150",
|
|
56395
56446
|
"hover:text-primary",
|
|
56396
|
-
active ?
|
|
56447
|
+
active ? classNames72__default.default("text-primary font-semibold underline", activeClassName) : classNames72__default.default("text-gray-500 dark:text-gray-400", inactiveClassName),
|
|
56397
56448
|
className
|
|
56398
56449
|
),
|
|
56399
56450
|
style: {
|
|
@@ -56459,7 +56510,7 @@ function MarkdownTOC({
|
|
|
56459
56510
|
return emptyState ? /* @__PURE__ */ jsxRuntime.jsx(
|
|
56460
56511
|
"div",
|
|
56461
56512
|
{
|
|
56462
|
-
className:
|
|
56513
|
+
className: classNames72__default.default(
|
|
56463
56514
|
"eui-markdown-toc",
|
|
56464
56515
|
"text-sm text-gray-500 dark:text-gray-400",
|
|
56465
56516
|
className
|
|
@@ -56479,7 +56530,7 @@ function MarkdownTOC({
|
|
|
56479
56530
|
{
|
|
56480
56531
|
type: "button",
|
|
56481
56532
|
onClick: () => setCollapsed((value) => !value),
|
|
56482
|
-
className:
|
|
56533
|
+
className: classNames72__default.default(
|
|
56483
56534
|
"eui-markdown-toc-title",
|
|
56484
56535
|
"flex w-full items-center justify-between gap-2 text-left",
|
|
56485
56536
|
"text-sm font-semibold uppercase tracking-wide",
|
|
@@ -56492,7 +56543,7 @@ function MarkdownTOC({
|
|
|
56492
56543
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
56493
56544
|
"span",
|
|
56494
56545
|
{
|
|
56495
|
-
className:
|
|
56546
|
+
className: classNames72__default.default(
|
|
56496
56547
|
"text-xs opacity-60 transition-transform duration-150",
|
|
56497
56548
|
!collapsed && "rotate-90"
|
|
56498
56549
|
),
|
|
@@ -56505,7 +56556,7 @@ function MarkdownTOC({
|
|
|
56505
56556
|
) : /* @__PURE__ */ jsxRuntime.jsx(
|
|
56506
56557
|
"h2",
|
|
56507
56558
|
{
|
|
56508
|
-
className:
|
|
56559
|
+
className: classNames72__default.default(
|
|
56509
56560
|
"eui-markdown-toc-title",
|
|
56510
56561
|
"text-sm font-semibold uppercase tracking-wide",
|
|
56511
56562
|
"text-gray-900 dark:text-gray-100",
|
|
@@ -56517,7 +56568,7 @@ function MarkdownTOC({
|
|
|
56517
56568
|
!collapsed ? /* @__PURE__ */ jsxRuntime.jsx(
|
|
56518
56569
|
"nav",
|
|
56519
56570
|
{
|
|
56520
|
-
className:
|
|
56571
|
+
className: classNames72__default.default(
|
|
56521
56572
|
"eui-markdown-toc-list",
|
|
56522
56573
|
"space-y-1",
|
|
56523
56574
|
listClassName
|
|
@@ -56541,7 +56592,7 @@ function MarkdownTOC({
|
|
|
56541
56592
|
}
|
|
56542
56593
|
) : null
|
|
56543
56594
|
] });
|
|
56544
|
-
return /* @__PURE__ */ jsxRuntime.jsx("aside", { className:
|
|
56595
|
+
return /* @__PURE__ */ jsxRuntime.jsx("aside", { className: classNames72__default.default("eui-markdown-toc", "space-y-4", className), children: content3 });
|
|
56545
56596
|
}
|
|
56546
56597
|
var MarkdownTOC_default = MarkdownTOC;
|
|
56547
56598
|
var DEFAULT_MARKDOWN_TOOLBAR_ACTIONS = [
|
|
@@ -56640,7 +56691,7 @@ function MarkdownToolbar({
|
|
|
56640
56691
|
return /* @__PURE__ */ jsxRuntime.jsxs(
|
|
56641
56692
|
"div",
|
|
56642
56693
|
{
|
|
56643
|
-
className:
|
|
56694
|
+
className: classNames72__default.default(
|
|
56644
56695
|
"eui-markdown-toolbar",
|
|
56645
56696
|
"flex flex-wrap items-center gap-1 border-b border-gray-200 bg-gray-50 p-2",
|
|
56646
56697
|
"dark:border-gray-700 dark:bg-gray-900",
|
|
@@ -56654,7 +56705,7 @@ function MarkdownToolbar({
|
|
|
56654
56705
|
disabled: disabled || actionsDisabled,
|
|
56655
56706
|
title: action.shortcut ? `${action.title || action.label} (${action.shortcut})` : action.title || action.label,
|
|
56656
56707
|
onClick: () => onAction?.(action.id),
|
|
56657
|
-
className:
|
|
56708
|
+
className: classNames72__default.default(
|
|
56658
56709
|
"eui-markdown-toolbar-button",
|
|
56659
56710
|
"inline-flex items-center justify-center rounded border border-transparent",
|
|
56660
56711
|
"text-gray-700 transition-colors hover:border-gray-300 hover:bg-white",
|
|
@@ -56674,7 +56725,7 @@ function MarkdownToolbar({
|
|
|
56674
56725
|
disabled,
|
|
56675
56726
|
onClick: onViewModeToggle,
|
|
56676
56727
|
title: isPreviewMode ? "Switch to Markdown syntax" : "Switch to preview",
|
|
56677
|
-
className:
|
|
56728
|
+
className: classNames72__default.default(
|
|
56678
56729
|
"eui-markdown-view-toggle",
|
|
56679
56730
|
"inline-flex items-center justify-center rounded border font-medium transition-colors",
|
|
56680
56731
|
"border-gray-300 bg-white text-gray-700 hover:bg-gray-100",
|
|
@@ -56931,7 +56982,7 @@ function MarkdownSourceEditor({
|
|
|
56931
56982
|
return /* @__PURE__ */ jsxRuntime.jsxs(
|
|
56932
56983
|
"div",
|
|
56933
56984
|
{
|
|
56934
|
-
className:
|
|
56985
|
+
className: classNames72__default.default(
|
|
56935
56986
|
"eui-markdown-editor",
|
|
56936
56987
|
"overflow-hidden rounded border border-gray-300 bg-white",
|
|
56937
56988
|
"dark:border-gray-700 dark:bg-gray-950",
|
|
@@ -56947,7 +56998,7 @@ function MarkdownSourceEditor({
|
|
|
56947
56998
|
actionsDisabled: readOnly,
|
|
56948
56999
|
viewMode: currentViewMode,
|
|
56949
57000
|
showViewModeToggle,
|
|
56950
|
-
className:
|
|
57001
|
+
className: classNames72__default.default(toolbarClassName, toolbarProps?.className),
|
|
56951
57002
|
onViewModeToggle: toggleViewMode,
|
|
56952
57003
|
onAction: handleToolbarAction
|
|
56953
57004
|
}
|
|
@@ -56955,7 +57006,7 @@ function MarkdownSourceEditor({
|
|
|
56955
57006
|
currentViewMode === "preview" ? /* @__PURE__ */ jsxRuntime.jsx(
|
|
56956
57007
|
"div",
|
|
56957
57008
|
{
|
|
56958
|
-
className:
|
|
57009
|
+
className: classNames72__default.default(
|
|
56959
57010
|
"eui-markdown-editor-preview",
|
|
56960
57011
|
"min-h-[260px] p-4",
|
|
56961
57012
|
previewClassName
|
|
@@ -56978,7 +57029,7 @@ function MarkdownSourceEditor({
|
|
|
56978
57029
|
onChange: (event) => updateValue(event.target.value),
|
|
56979
57030
|
onBlur,
|
|
56980
57031
|
onKeyDown: handleKeyDown,
|
|
56981
|
-
className:
|
|
57032
|
+
className: classNames72__default.default(
|
|
56982
57033
|
"eui-markdown-source-textarea",
|
|
56983
57034
|
"block w-full resize-y border-0 bg-transparent p-4 font-mono text-sm leading-7",
|
|
56984
57035
|
"text-gray-900 outline-none placeholder:text-gray-400",
|
|
@@ -57008,7 +57059,7 @@ function MarkdownPreviewPane({
|
|
|
57008
57059
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
57009
57060
|
"div",
|
|
57010
57061
|
{
|
|
57011
|
-
className:
|
|
57062
|
+
className: classNames72__default.default(
|
|
57012
57063
|
"eui-markdown-preview-pane",
|
|
57013
57064
|
"rounded border border-gray-300 bg-white p-4",
|
|
57014
57065
|
"dark:border-gray-700 dark:bg-gray-950",
|
|
@@ -57058,7 +57109,7 @@ function MarkdownSplitEditor({
|
|
|
57058
57109
|
return /* @__PURE__ */ jsxRuntime.jsxs(
|
|
57059
57110
|
"div",
|
|
57060
57111
|
{
|
|
57061
|
-
className:
|
|
57112
|
+
className: classNames72__default.default(
|
|
57062
57113
|
"eui-markdown-split-editor",
|
|
57063
57114
|
"grid gap-4",
|
|
57064
57115
|
isHorizontal ? "grid-cols-1 lg:grid-cols-2" : "grid-cols-1",
|
|
@@ -57068,7 +57119,7 @@ function MarkdownSplitEditor({
|
|
|
57068
57119
|
/* @__PURE__ */ jsxRuntime.jsxs(
|
|
57069
57120
|
"div",
|
|
57070
57121
|
{
|
|
57071
|
-
className:
|
|
57122
|
+
className: classNames72__default.default(
|
|
57072
57123
|
"eui-markdown-split-source",
|
|
57073
57124
|
"min-w-0 space-y-2",
|
|
57074
57125
|
sourceWrapperClassName
|
|
@@ -57092,7 +57143,7 @@ function MarkdownSplitEditor({
|
|
|
57092
57143
|
/* @__PURE__ */ jsxRuntime.jsxs(
|
|
57093
57144
|
"div",
|
|
57094
57145
|
{
|
|
57095
|
-
className:
|
|
57146
|
+
className: classNames72__default.default(
|
|
57096
57147
|
"eui-markdown-split-preview",
|
|
57097
57148
|
"min-w-0 space-y-2",
|
|
57098
57149
|
previewWrapperClassName
|
|
@@ -57182,7 +57233,7 @@ function MarkdownField({
|
|
|
57182
57233
|
return /* @__PURE__ */ jsxRuntime.jsxs(
|
|
57183
57234
|
"div",
|
|
57184
57235
|
{
|
|
57185
|
-
className:
|
|
57236
|
+
className: classNames72__default.default(
|
|
57186
57237
|
"eui-markdown-field",
|
|
57187
57238
|
"relative space-y-2",
|
|
57188
57239
|
wrapperClassName
|
|
@@ -57192,7 +57243,7 @@ function MarkdownField({
|
|
|
57192
57243
|
"label",
|
|
57193
57244
|
{
|
|
57194
57245
|
htmlFor: editorProps.id || field.name,
|
|
57195
|
-
className:
|
|
57246
|
+
className: classNames72__default.default(
|
|
57196
57247
|
"block text-sm font-medium text-gray-700 dark:text-gray-200",
|
|
57197
57248
|
labelClassName
|
|
57198
57249
|
),
|
|
@@ -57217,7 +57268,7 @@ function MarkdownField({
|
|
|
57217
57268
|
helperText && !hasError ? /* @__PURE__ */ jsxRuntime.jsx(
|
|
57218
57269
|
"p",
|
|
57219
57270
|
{
|
|
57220
|
-
className:
|
|
57271
|
+
className: classNames72__default.default(
|
|
57221
57272
|
"text-sm text-gray-500 dark:text-gray-400",
|
|
57222
57273
|
helperTextClassName
|
|
57223
57274
|
),
|
|
@@ -57272,7 +57323,7 @@ function CodeMirrorMarkdownEditor({
|
|
|
57272
57323
|
{
|
|
57273
57324
|
id: id2,
|
|
57274
57325
|
"data-name": name2,
|
|
57275
|
-
className:
|
|
57326
|
+
className: classNames72__default.default(
|
|
57276
57327
|
"eui-markdown-adapter",
|
|
57277
57328
|
"eui-markdown-codemirror-adapter",
|
|
57278
57329
|
"overflow-hidden rounded border border-gray-300 bg-white",
|
|
@@ -57306,7 +57357,7 @@ function CodeMirrorMarkdownEditor({
|
|
|
57306
57357
|
closeBrackets: true,
|
|
57307
57358
|
bracketMatching: true
|
|
57308
57359
|
},
|
|
57309
|
-
className:
|
|
57360
|
+
className: classNames72__default.default("eui-markdown-codemirror", editorClassName),
|
|
57310
57361
|
onChange: updateValue,
|
|
57311
57362
|
onBlur
|
|
57312
57363
|
}
|
|
@@ -57401,7 +57452,7 @@ function createDefaultPlugins({
|
|
|
57401
57452
|
...showToolbar ? [
|
|
57402
57453
|
editor.toolbarPlugin({
|
|
57403
57454
|
toolbarContents: toolbarContents ?? DefaultToolbar,
|
|
57404
|
-
toolbarClassName:
|
|
57455
|
+
toolbarClassName: classNames72__default.default(
|
|
57405
57456
|
"eui-markdown-mdx-toolbar",
|
|
57406
57457
|
toolbarClassName
|
|
57407
57458
|
),
|
|
@@ -57518,7 +57569,7 @@ var MDXMarkdownEditor = React26.forwardRef(
|
|
|
57518
57569
|
"aria-required": required || void 0,
|
|
57519
57570
|
"aria-invalid": invalid || void 0,
|
|
57520
57571
|
onBlurCapture: handleBlur,
|
|
57521
|
-
className:
|
|
57572
|
+
className: classNames72__default.default(
|
|
57522
57573
|
"eui-markdown-adapter",
|
|
57523
57574
|
"eui-markdown-mdx-adapter",
|
|
57524
57575
|
dark && ["dark", "dark-theme"],
|
|
@@ -57536,8 +57587,8 @@ var MDXMarkdownEditor = React26.forwardRef(
|
|
|
57536
57587
|
markdown: currentValue ?? "",
|
|
57537
57588
|
readOnly: disabled || readOnly,
|
|
57538
57589
|
plugins: plugins ?? defaultPlugins,
|
|
57539
|
-
className:
|
|
57540
|
-
contentEditableClassName:
|
|
57590
|
+
className: classNames72__default.default("eui-markdown-mdx-editor", editorClassName),
|
|
57591
|
+
contentEditableClassName: classNames72__default.default(
|
|
57541
57592
|
"eui-markdown-mdx-content",
|
|
57542
57593
|
contentEditableClassName
|
|
57543
57594
|
),
|
|
@@ -57574,7 +57625,7 @@ function MDXMarkdownField({
|
|
|
57574
57625
|
return /* @__PURE__ */ jsxRuntime.jsxs(
|
|
57575
57626
|
"div",
|
|
57576
57627
|
{
|
|
57577
|
-
className:
|
|
57628
|
+
className: classNames72__default.default(
|
|
57578
57629
|
"eui-markdown-mdx-field",
|
|
57579
57630
|
"relative space-y-2",
|
|
57580
57631
|
wrapperClassName
|
|
@@ -57584,7 +57635,7 @@ function MDXMarkdownField({
|
|
|
57584
57635
|
"label",
|
|
57585
57636
|
{
|
|
57586
57637
|
htmlFor: editorId,
|
|
57587
|
-
className:
|
|
57638
|
+
className: classNames72__default.default(
|
|
57588
57639
|
"block text-sm font-medium text-gray-700 dark:text-gray-200",
|
|
57589
57640
|
labelClassName
|
|
57590
57641
|
),
|
|
@@ -57618,7 +57669,7 @@ function MDXMarkdownField({
|
|
|
57618
57669
|
"p",
|
|
57619
57670
|
{
|
|
57620
57671
|
id: helperId,
|
|
57621
|
-
className:
|
|
57672
|
+
className: classNames72__default.default(
|
|
57622
57673
|
"text-sm text-gray-500 dark:text-gray-400",
|
|
57623
57674
|
helperTextClassName
|
|
57624
57675
|
),
|
|
@@ -57678,10 +57729,10 @@ function MarkdownLayout({
|
|
|
57678
57729
|
};
|
|
57679
57730
|
const hasLeftToc = hasToc && tocPosition === "left";
|
|
57680
57731
|
const hasRightToc = hasToc && tocPosition === "right";
|
|
57681
|
-
return /* @__PURE__ */ jsxRuntime.jsx("div", { className:
|
|
57732
|
+
return /* @__PURE__ */ jsxRuntime.jsx("div", { className: classNames72__default.default("eui-markdown-layout", "w-full", className), children: /* @__PURE__ */ jsxRuntime.jsxs(
|
|
57682
57733
|
"div",
|
|
57683
57734
|
{
|
|
57684
|
-
className:
|
|
57735
|
+
className: classNames72__default.default(
|
|
57685
57736
|
"eui-markdown-layout-container",
|
|
57686
57737
|
"mx-auto w-full px-4 sm:px-6 lg:px-8",
|
|
57687
57738
|
containerClassName
|
|
@@ -57693,7 +57744,7 @@ function MarkdownLayout({
|
|
|
57693
57744
|
header ? /* @__PURE__ */ jsxRuntime.jsx(
|
|
57694
57745
|
"header",
|
|
57695
57746
|
{
|
|
57696
|
-
className:
|
|
57747
|
+
className: classNames72__default.default(
|
|
57697
57748
|
"eui-markdown-layout-header",
|
|
57698
57749
|
"mb-8",
|
|
57699
57750
|
headerClassName
|
|
@@ -57704,7 +57755,7 @@ function MarkdownLayout({
|
|
|
57704
57755
|
/* @__PURE__ */ jsxRuntime.jsxs(
|
|
57705
57756
|
"div",
|
|
57706
57757
|
{
|
|
57707
|
-
className:
|
|
57758
|
+
className: classNames72__default.default(
|
|
57708
57759
|
"eui-markdown-layout-grid",
|
|
57709
57760
|
"grid grid-cols-1 gap-8",
|
|
57710
57761
|
hasSidebar && hasToc && "xl:grid-cols-[16rem_minmax(0,1fr)_18rem]",
|
|
@@ -57717,7 +57768,7 @@ function MarkdownLayout({
|
|
|
57717
57768
|
hasSidebar ? /* @__PURE__ */ jsxRuntime.jsx(
|
|
57718
57769
|
"aside",
|
|
57719
57770
|
{
|
|
57720
|
-
className:
|
|
57771
|
+
className: classNames72__default.default(
|
|
57721
57772
|
"eui-markdown-layout-sidebar",
|
|
57722
57773
|
"min-w-0",
|
|
57723
57774
|
stickySidebar && "lg:sticky lg:self-start",
|
|
@@ -57730,7 +57781,7 @@ function MarkdownLayout({
|
|
|
57730
57781
|
hasLeftToc ? /* @__PURE__ */ jsxRuntime.jsx(
|
|
57731
57782
|
"aside",
|
|
57732
57783
|
{
|
|
57733
|
-
className:
|
|
57784
|
+
className: classNames72__default.default(
|
|
57734
57785
|
"eui-markdown-layout-toc",
|
|
57735
57786
|
"min-w-0",
|
|
57736
57787
|
stickyToc && "lg:sticky lg:self-start",
|
|
@@ -57743,7 +57794,7 @@ function MarkdownLayout({
|
|
|
57743
57794
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
57744
57795
|
"main",
|
|
57745
57796
|
{
|
|
57746
|
-
className:
|
|
57797
|
+
className: classNames72__default.default(
|
|
57747
57798
|
"eui-markdown-layout-content",
|
|
57748
57799
|
"min-w-0",
|
|
57749
57800
|
contentClassName
|
|
@@ -57754,7 +57805,7 @@ function MarkdownLayout({
|
|
|
57754
57805
|
hasRightToc ? /* @__PURE__ */ jsxRuntime.jsx(
|
|
57755
57806
|
"aside",
|
|
57756
57807
|
{
|
|
57757
|
-
className:
|
|
57808
|
+
className: classNames72__default.default(
|
|
57758
57809
|
"eui-markdown-layout-toc",
|
|
57759
57810
|
"min-w-0",
|
|
57760
57811
|
stickyToc && "lg:sticky lg:self-start",
|
|
@@ -57767,7 +57818,7 @@ function MarkdownLayout({
|
|
|
57767
57818
|
hasAside ? /* @__PURE__ */ jsxRuntime.jsx(
|
|
57768
57819
|
"aside",
|
|
57769
57820
|
{
|
|
57770
|
-
className:
|
|
57821
|
+
className: classNames72__default.default(
|
|
57771
57822
|
"eui-markdown-layout-aside",
|
|
57772
57823
|
"min-w-0",
|
|
57773
57824
|
stickyAside && "2xl:sticky 2xl:self-start",
|
|
@@ -57783,7 +57834,7 @@ function MarkdownLayout({
|
|
|
57783
57834
|
footer2 ? /* @__PURE__ */ jsxRuntime.jsx(
|
|
57784
57835
|
"footer",
|
|
57785
57836
|
{
|
|
57786
|
-
className:
|
|
57837
|
+
className: classNames72__default.default(
|
|
57787
57838
|
"eui-markdown-layout-footer",
|
|
57788
57839
|
"mt-10",
|
|
57789
57840
|
footerClassName
|
|
@@ -57820,7 +57871,7 @@ function MarkdownDocsLayoutContent({
|
|
|
57820
57871
|
const resolvedHeader = header ?? (title || description || headerActions ? /* @__PURE__ */ jsxRuntime.jsx(
|
|
57821
57872
|
"div",
|
|
57822
57873
|
{
|
|
57823
|
-
className:
|
|
57874
|
+
className: classNames72__default.default(
|
|
57824
57875
|
"eui-markdown-docs-header",
|
|
57825
57876
|
"flex flex-col gap-4 border-b border-gray-200 pb-6",
|
|
57826
57877
|
"dark:border-gray-700",
|
|
@@ -57831,7 +57882,7 @@ function MarkdownDocsLayoutContent({
|
|
|
57831
57882
|
title ? /* @__PURE__ */ jsxRuntime.jsx(
|
|
57832
57883
|
"h1",
|
|
57833
57884
|
{
|
|
57834
|
-
className:
|
|
57885
|
+
className: classNames72__default.default(
|
|
57835
57886
|
"eui-markdown-docs-title",
|
|
57836
57887
|
"text-3xl font-bold tracking-tight text-gray-950",
|
|
57837
57888
|
"dark:text-gray-50",
|
|
@@ -57843,7 +57894,7 @@ function MarkdownDocsLayoutContent({
|
|
|
57843
57894
|
description ? /* @__PURE__ */ jsxRuntime.jsx(
|
|
57844
57895
|
"div",
|
|
57845
57896
|
{
|
|
57846
|
-
className:
|
|
57897
|
+
className: classNames72__default.default(
|
|
57847
57898
|
"eui-markdown-docs-description",
|
|
57848
57899
|
"max-w-3xl text-base leading-7 text-gray-600",
|
|
57849
57900
|
"dark:text-gray-400",
|
|
@@ -57931,7 +57982,7 @@ function GenericLayout({
|
|
|
57931
57982
|
return /* @__PURE__ */ jsxRuntime.jsx(ThemeProvider, { defaultTheme, children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
57932
57983
|
"div",
|
|
57933
57984
|
{
|
|
57934
|
-
className:
|
|
57985
|
+
className: classNames72__default.default({
|
|
57935
57986
|
[`${styles}`]: styles
|
|
57936
57987
|
}),
|
|
57937
57988
|
children: children3
|
|
@@ -57980,7 +58031,7 @@ function SidemenuLayout({ data, children: children3 }) {
|
|
|
57980
58031
|
return /* @__PURE__ */ jsxRuntime.jsx(DefaultLayout_default, { children: /* @__PURE__ */ jsxRuntime.jsxs(
|
|
57981
58032
|
"div",
|
|
57982
58033
|
{
|
|
57983
|
-
className:
|
|
58034
|
+
className: classNames72__default.default({
|
|
57984
58035
|
grid: true,
|
|
57985
58036
|
"grid-cols-7 gap-10": !isMobile,
|
|
57986
58037
|
"grid-cols-1 gap-": isMobile
|
|
@@ -58169,7 +58220,7 @@ exports.FooterNavItem = FooterNavItem;
|
|
|
58169
58220
|
exports.FooterNavItemContext = FooterNavItemContext;
|
|
58170
58221
|
exports.FooterNavItemTitle = FooterNavItemTitle;
|
|
58171
58222
|
exports.Form = Form;
|
|
58172
|
-
exports.FormResponse =
|
|
58223
|
+
exports.FormResponse = FormResponse;
|
|
58173
58224
|
exports.GaugePlot = GaugePlot;
|
|
58174
58225
|
exports.GenericLayout = GenericLayout_default;
|
|
58175
58226
|
exports.GlowWrapper = GlowWrapper_default;
|