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.mjs
CHANGED
|
@@ -4,7 +4,7 @@ import { twMerge } from 'tailwind-merge';
|
|
|
4
4
|
import { AiOutlineLoading } from 'react-icons/ai/index.js';
|
|
5
5
|
import { useField, ErrorMessage, Field, useFormikContext, FieldArray, Formik, Form as Form$1 } from 'formik';
|
|
6
6
|
import { FaGripVertical, FaTrash, FaPlus, FaTimes, FaBars, FaSun, FaMoon, FaEyeSlash, FaEye, FaCircle } from 'react-icons/fa/index.js';
|
|
7
|
-
import
|
|
7
|
+
import classNames72 from 'classnames';
|
|
8
8
|
import { DragDropContext, Droppable, Draggable } from 'react-beautiful-dnd';
|
|
9
9
|
import { Image, CloudinaryContext as CloudinaryContext$1 } from 'cloudinary-react';
|
|
10
10
|
import { MdUpload, MdOutlineDone, MdOutlineRemoveCircleOutline } from 'react-icons/md/index.js';
|
|
@@ -6453,7 +6453,7 @@ var Backdrop = ({ children: children3, styles }) => {
|
|
|
6453
6453
|
return /* @__PURE__ */ jsx(
|
|
6454
6454
|
"div",
|
|
6455
6455
|
{
|
|
6456
|
-
className:
|
|
6456
|
+
className: classNames72({
|
|
6457
6457
|
"bg-black/75 top-0 bottom-0 left-0 right-0 z-50 fixed inset-0 flex items-center justify-center overflow-hidden": true,
|
|
6458
6458
|
[`${styles}`]: styles
|
|
6459
6459
|
}),
|
|
@@ -7043,7 +7043,7 @@ function renderTransitionChild(children3, className) {
|
|
|
7043
7043
|
}
|
|
7044
7044
|
const element7 = child;
|
|
7045
7045
|
return React26.cloneElement(element7, {
|
|
7046
|
-
className:
|
|
7046
|
+
className: classNames72(element7.props.className, className)
|
|
7047
7047
|
});
|
|
7048
7048
|
}
|
|
7049
7049
|
function TransitionBase({
|
|
@@ -7063,7 +7063,7 @@ function TransitionBase({
|
|
|
7063
7063
|
if (!mounted && unmountOnExit) {
|
|
7064
7064
|
return null;
|
|
7065
7065
|
}
|
|
7066
|
-
const transitionClassName =
|
|
7066
|
+
const transitionClassName = classNames72(
|
|
7067
7067
|
visibility ? enterClassName : leaveClassName,
|
|
7068
7068
|
active ? visibleClassName : hiddenClassName
|
|
7069
7069
|
);
|
|
@@ -7416,7 +7416,7 @@ var InputFile = ({
|
|
|
7416
7416
|
/* @__PURE__ */ jsx(
|
|
7417
7417
|
"div",
|
|
7418
7418
|
{
|
|
7419
|
-
className:
|
|
7419
|
+
className: classNames72(
|
|
7420
7420
|
"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",
|
|
7421
7421
|
{
|
|
7422
7422
|
"border-eui-primary-400 focus:border-eui-secondary-500": !(meta.touched && meta.error),
|
|
@@ -7442,7 +7442,7 @@ var InputFile = ({
|
|
|
7442
7442
|
InputLabel,
|
|
7443
7443
|
{
|
|
7444
7444
|
text: placeholder,
|
|
7445
|
-
className:
|
|
7445
|
+
className: classNames72({
|
|
7446
7446
|
"absolute left-2 eui-text-sm peer-placeholder-shown:text-base peer-placeholder-shown:top-3 pointer-events-none": true,
|
|
7447
7447
|
"top-[0.7px]": showFloatingLabel,
|
|
7448
7448
|
"top-[13px] text-base": !showFloatingLabel
|
|
@@ -7495,7 +7495,7 @@ var InputList = ({ name: name2, placeholder, shape }) => {
|
|
|
7495
7495
|
/* @__PURE__ */ jsx("div", { className: "mt-2", children: /* @__PURE__ */ jsx(FieldArray, { name: name2, children: ({ push: push2, remove: remove2, move }) => /* @__PURE__ */ jsxs(
|
|
7496
7496
|
"div",
|
|
7497
7497
|
{
|
|
7498
|
-
className:
|
|
7498
|
+
className: classNames72(
|
|
7499
7499
|
"flex w-full flex-col space-y-2 bg-eui-primary-300/10",
|
|
7500
7500
|
shapes[resolvedShape]
|
|
7501
7501
|
),
|
|
@@ -7524,7 +7524,7 @@ var InputList = ({ name: name2, placeholder, shape }) => {
|
|
|
7524
7524
|
ref: provided2.innerRef,
|
|
7525
7525
|
...draggableProps,
|
|
7526
7526
|
style: draggableStyle,
|
|
7527
|
-
className:
|
|
7527
|
+
className: classNames72(
|
|
7528
7528
|
"flex items-center space-x-2 bg-eui-primary-300/10 p-2",
|
|
7529
7529
|
shapes[resolvedShape]
|
|
7530
7530
|
),
|
|
@@ -7535,7 +7535,7 @@ var InputList = ({ name: name2, placeholder, shape }) => {
|
|
|
7535
7535
|
{
|
|
7536
7536
|
name: `${name2}[${index3}]`,
|
|
7537
7537
|
placeholder: `Item ${index3 + 1}`,
|
|
7538
|
-
className:
|
|
7538
|
+
className: classNames72(
|
|
7539
7539
|
"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",
|
|
7540
7540
|
shapes[resolvedShape],
|
|
7541
7541
|
hasItemError ? "border-eui-danger-500" : "border-eui-primary-400 focus:border-eui-secondary-500"
|
|
@@ -7631,7 +7631,7 @@ var InputListGroup = ({
|
|
|
7631
7631
|
return /* @__PURE__ */ jsxs(
|
|
7632
7632
|
"div",
|
|
7633
7633
|
{
|
|
7634
|
-
className:
|
|
7634
|
+
className: classNames72(
|
|
7635
7635
|
"flex flex-col gap-2 bg-eui-primary-300/10 p-3",
|
|
7636
7636
|
shapes[resolvedShape]
|
|
7637
7637
|
),
|
|
@@ -7643,7 +7643,7 @@ var InputListGroup = ({
|
|
|
7643
7643
|
{
|
|
7644
7644
|
name: `${name2}[${groupIndex}].name`,
|
|
7645
7645
|
placeholder: `Group ${groupIndex + 1}`,
|
|
7646
|
-
className:
|
|
7646
|
+
className: classNames72(
|
|
7647
7647
|
"h-[40px] w-full border bg-eui-primary-300/10 px-3 py-2 text-md focus:outline-none",
|
|
7648
7648
|
shapes[resolvedShape],
|
|
7649
7649
|
"border-eui-primary-400 focus:border-eui-secondary-500"
|
|
@@ -7674,7 +7674,7 @@ var InputListGroup = ({
|
|
|
7674
7674
|
{
|
|
7675
7675
|
ref: provided.innerRef,
|
|
7676
7676
|
...provided.droppableProps,
|
|
7677
|
-
className:
|
|
7677
|
+
className: classNames72(
|
|
7678
7678
|
"space-y-2 bg-eui-primary-300/10 p-2",
|
|
7679
7679
|
shapes[resolvedShape]
|
|
7680
7680
|
),
|
|
@@ -7694,7 +7694,7 @@ var InputListGroup = ({
|
|
|
7694
7694
|
ref: provided2.innerRef,
|
|
7695
7695
|
...draggableProps,
|
|
7696
7696
|
style: draggableStyle,
|
|
7697
|
-
className:
|
|
7697
|
+
className: classNames72(
|
|
7698
7698
|
"flex items-center gap-2 bg-eui-primary-300/10 p-2",
|
|
7699
7699
|
shapes[resolvedShape]
|
|
7700
7700
|
),
|
|
@@ -7705,7 +7705,7 @@ var InputListGroup = ({
|
|
|
7705
7705
|
{
|
|
7706
7706
|
name: `${itemsFieldName}[${itemIndex}]`,
|
|
7707
7707
|
placeholder: `Item ${itemIndex + 1}`,
|
|
7708
|
-
className:
|
|
7708
|
+
className: classNames72(
|
|
7709
7709
|
"h-[40px] w-full border bg-eui-primary-300/10 px-3 py-2 text-md focus:outline-none",
|
|
7710
7710
|
shapes[resolvedShape],
|
|
7711
7711
|
"border-eui-primary-400 focus:border-eui-secondary-500"
|
|
@@ -7913,7 +7913,11 @@ function Checkbox(checkboxProps) {
|
|
|
7913
7913
|
checkedIconClassName,
|
|
7914
7914
|
labelClassName
|
|
7915
7915
|
} = checkboxProps;
|
|
7916
|
-
const {
|
|
7916
|
+
const {
|
|
7917
|
+
shape: resolvedShape,
|
|
7918
|
+
variant: resolvedVariant,
|
|
7919
|
+
label: resolvedLabel
|
|
7920
|
+
} = useResolvedCheckboxConfig({
|
|
7917
7921
|
label,
|
|
7918
7922
|
placeholder,
|
|
7919
7923
|
variant,
|
|
@@ -8070,7 +8074,7 @@ var DateSelector = ({
|
|
|
8070
8074
|
...field,
|
|
8071
8075
|
...props,
|
|
8072
8076
|
placeholder,
|
|
8073
|
-
className:
|
|
8077
|
+
className: classNames72({
|
|
8074
8078
|
"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,
|
|
8075
8079
|
"border-eui-danger-500": meta.touched && meta.error,
|
|
8076
8080
|
"transition-all ease-in-out": true,
|
|
@@ -8083,8 +8087,18 @@ var DateSelector = ({
|
|
|
8083
8087
|
] });
|
|
8084
8088
|
};
|
|
8085
8089
|
var DateSelector_default = DateSelector;
|
|
8086
|
-
|
|
8090
|
+
function renderFormChildren(children3, formik) {
|
|
8091
|
+
return typeof children3 === "function" ? children3(formik) : children3;
|
|
8092
|
+
}
|
|
8093
|
+
function FormObservers({
|
|
8094
|
+
formik,
|
|
8095
|
+
onChange,
|
|
8096
|
+
onDirtyChange
|
|
8097
|
+
}) {
|
|
8087
8098
|
const prevValuesRef = useRef(formik.values);
|
|
8099
|
+
useEffect(() => {
|
|
8100
|
+
onDirtyChange?.(formik.dirty);
|
|
8101
|
+
}, [formik.dirty, onDirtyChange]);
|
|
8088
8102
|
useEffect(() => {
|
|
8089
8103
|
if (!onChange) return;
|
|
8090
8104
|
const currentValues = formik.values;
|
|
@@ -8101,24 +8115,17 @@ var FormObserver = ({ formik, onChange }) => {
|
|
|
8101
8115
|
prevValuesRef.current = currentValues;
|
|
8102
8116
|
}, [formik.values, onChange]);
|
|
8103
8117
|
return null;
|
|
8104
|
-
}
|
|
8105
|
-
|
|
8106
|
-
|
|
8107
|
-
|
|
8108
|
-
|
|
8109
|
-
onDirtyChange(formik.dirty);
|
|
8110
|
-
}
|
|
8111
|
-
}, [formik.dirty, onDirtyChange]);
|
|
8112
|
-
return null;
|
|
8113
|
-
};
|
|
8114
|
-
var DirtyObserver_default = DirtyObserver;
|
|
8115
|
-
var UnsavedChangesGuard = ({ formik, enabled }) => {
|
|
8118
|
+
}
|
|
8119
|
+
function UnsavedChangesGuard({
|
|
8120
|
+
formik,
|
|
8121
|
+
enabled
|
|
8122
|
+
}) {
|
|
8116
8123
|
useEffect(() => {
|
|
8117
8124
|
if (!enabled) return;
|
|
8118
|
-
const handleBeforeUnload = (
|
|
8125
|
+
const handleBeforeUnload = (event) => {
|
|
8119
8126
|
if (!formik.dirty) return;
|
|
8120
|
-
|
|
8121
|
-
|
|
8127
|
+
event.preventDefault();
|
|
8128
|
+
event.returnValue = "";
|
|
8122
8129
|
};
|
|
8123
8130
|
window.addEventListener("beforeunload", handleBeforeUnload);
|
|
8124
8131
|
return () => {
|
|
@@ -8126,19 +8133,19 @@ var UnsavedChangesGuard = ({ formik, enabled }) => {
|
|
|
8126
8133
|
};
|
|
8127
8134
|
}, [formik.dirty, enabled]);
|
|
8128
8135
|
return null;
|
|
8129
|
-
}
|
|
8130
|
-
|
|
8131
|
-
var Form = ({
|
|
8136
|
+
}
|
|
8137
|
+
function Form({
|
|
8132
8138
|
initialValues = {},
|
|
8133
8139
|
validationSchema,
|
|
8134
8140
|
enableReinitialize,
|
|
8135
8141
|
children: children3,
|
|
8136
|
-
|
|
8142
|
+
className,
|
|
8143
|
+
contentClassName,
|
|
8137
8144
|
onSubmit,
|
|
8138
8145
|
onChange,
|
|
8139
8146
|
warnOnUnsavedChanges = false,
|
|
8140
8147
|
onDirtyChange
|
|
8141
|
-
})
|
|
8148
|
+
}) {
|
|
8142
8149
|
return /* @__PURE__ */ jsx(
|
|
8143
8150
|
Formik,
|
|
8144
8151
|
{
|
|
@@ -8148,44 +8155,88 @@ var Form = ({
|
|
|
8148
8155
|
onSubmit: async (values, helpers) => {
|
|
8149
8156
|
await onSubmit(values, helpers);
|
|
8150
8157
|
},
|
|
8151
|
-
children: (formik) => /* @__PURE__ */ jsxs(Form$1, { children: [
|
|
8152
|
-
/* @__PURE__ */ jsx(
|
|
8153
|
-
/* @__PURE__ */ jsx(
|
|
8154
|
-
|
|
8155
|
-
|
|
8158
|
+
children: (formik) => /* @__PURE__ */ jsxs(Form$1, { className, children: [
|
|
8159
|
+
/* @__PURE__ */ jsx(UnsavedChangesGuard, { formik, enabled: warnOnUnsavedChanges }),
|
|
8160
|
+
/* @__PURE__ */ jsx(
|
|
8161
|
+
FormObservers,
|
|
8162
|
+
{
|
|
8163
|
+
formik,
|
|
8164
|
+
onChange,
|
|
8165
|
+
onDirtyChange
|
|
8166
|
+
}
|
|
8167
|
+
),
|
|
8168
|
+
/* @__PURE__ */ jsx("div", { className: cn(contentClassName), children: renderFormChildren(children3, formik) })
|
|
8156
8169
|
] })
|
|
8157
8170
|
}
|
|
8158
8171
|
);
|
|
8172
|
+
}
|
|
8173
|
+
|
|
8174
|
+
// src/components/data-entry/form/form-response/base/FormResponse.styles.ts
|
|
8175
|
+
var formResponseSizeStyles = {
|
|
8176
|
+
xs: {
|
|
8177
|
+
root: "px-2 py-1",
|
|
8178
|
+
text: "text-xs"
|
|
8179
|
+
},
|
|
8180
|
+
sm: {
|
|
8181
|
+
root: "px-3 py-2",
|
|
8182
|
+
text: "text-sm"
|
|
8183
|
+
},
|
|
8184
|
+
md: {
|
|
8185
|
+
root: "px-4 py-2",
|
|
8186
|
+
text: "text-base"
|
|
8187
|
+
},
|
|
8188
|
+
lg: {
|
|
8189
|
+
root: "px-5 py-3",
|
|
8190
|
+
text: "text-lg"
|
|
8191
|
+
},
|
|
8192
|
+
xl: {
|
|
8193
|
+
root: "px-6 py-4",
|
|
8194
|
+
text: "text-xl"
|
|
8195
|
+
}
|
|
8159
8196
|
};
|
|
8160
|
-
|
|
8161
|
-
|
|
8162
|
-
|
|
8163
|
-
|
|
8164
|
-
|
|
8165
|
-
|
|
8166
|
-
|
|
8197
|
+
function isTextClassName(token) {
|
|
8198
|
+
const styleToken = token.split(":").pop() ?? token;
|
|
8199
|
+
return styleToken.startsWith("text-");
|
|
8200
|
+
}
|
|
8201
|
+
function splitClassName(className) {
|
|
8202
|
+
const tokens = className.split(/\s+/).filter(Boolean);
|
|
8203
|
+
return {
|
|
8204
|
+
root: tokens.filter((token) => !isTextClassName(token)).join(" "),
|
|
8205
|
+
text: tokens.filter(isTextClassName).join(" ")
|
|
8206
|
+
};
|
|
8207
|
+
}
|
|
8208
|
+
function resolveFormResponseStyles({
|
|
8209
|
+
shape,
|
|
8210
|
+
size,
|
|
8211
|
+
variant
|
|
8212
|
+
}) {
|
|
8213
|
+
const variantClassNames = splitClassName(variantsLite[variant]);
|
|
8214
|
+
const sizeClassNames = formResponseSizeStyles[size];
|
|
8215
|
+
return {
|
|
8216
|
+
rootClassName: [
|
|
8217
|
+
"border",
|
|
8218
|
+
variantClassNames.root,
|
|
8219
|
+
shapes[shape],
|
|
8220
|
+
sizeClassNames.root
|
|
8221
|
+
].filter(Boolean).join(" "),
|
|
8222
|
+
textClassName: [
|
|
8223
|
+
"font-poppins font-light",
|
|
8224
|
+
variantClassNames.text,
|
|
8225
|
+
sizeClassNames.text
|
|
8226
|
+
].filter(Boolean).join(" ")
|
|
8227
|
+
};
|
|
8228
|
+
}
|
|
8167
8229
|
function FormResponse({
|
|
8168
8230
|
text: text10,
|
|
8169
8231
|
variant = "default",
|
|
8170
8232
|
shape = "roundedSquare",
|
|
8171
8233
|
size = "md",
|
|
8172
|
-
|
|
8234
|
+
className,
|
|
8235
|
+
textClassName
|
|
8173
8236
|
}) {
|
|
8174
|
-
|
|
8175
|
-
|
|
8176
|
-
{
|
|
8177
|
-
className: classNames74({
|
|
8178
|
-
"font-poppins font-light text-sm": true,
|
|
8179
|
-
[`${variantsLite[variant]}`]: variant,
|
|
8180
|
-
[`${shapes[shape]}`]: shape,
|
|
8181
|
-
[`${sizes[size]}`]: size,
|
|
8182
|
-
[`${styles}`]: styles
|
|
8183
|
-
}),
|
|
8184
|
-
children: text10
|
|
8185
|
-
}
|
|
8186
|
-
) });
|
|
8237
|
+
const styles = resolveFormResponseStyles({ shape, size, variant });
|
|
8238
|
+
return /* @__PURE__ */ jsx(Transition.TransitionDropdown, { visibility: Boolean(text10), children: /* @__PURE__ */ jsx("div", { className: cn(styles.rootClassName, className), children: /* @__PURE__ */ jsx("span", { className: cn(styles.textClassName, textClassName), children: text10 }) }) });
|
|
8187
8239
|
}
|
|
8188
|
-
var FormResponse_default = FormResponse;
|
|
8189
8240
|
function ImageView({ imageUrl, secure = true, alt = "image" }) {
|
|
8190
8241
|
return /* @__PURE__ */ jsx("div", { className: "h-[200px] w-[300px]", children: /* @__PURE__ */ jsx("div", { className: "w-full h-full overflow-hidden bg-gray-900 flex items-center justify-center", children: /* @__PURE__ */ jsx(
|
|
8191
8242
|
Image,
|
|
@@ -8282,7 +8333,7 @@ var ImageInput = forwardRef(
|
|
|
8282
8333
|
/* @__PURE__ */ jsxs(
|
|
8283
8334
|
"label",
|
|
8284
8335
|
{
|
|
8285
|
-
className:
|
|
8336
|
+
className: classNames72({
|
|
8286
8337
|
"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,
|
|
8287
8338
|
"hover:cursor-pointer hover:border-solid hover:border-gray-600 hover:bg-gray-900/80": true,
|
|
8288
8339
|
"transition-all ease-in-out duration-150": true
|
|
@@ -8399,7 +8450,7 @@ function Radio({
|
|
|
8399
8450
|
return /* @__PURE__ */ jsxs(
|
|
8400
8451
|
"div",
|
|
8401
8452
|
{
|
|
8402
|
-
className:
|
|
8453
|
+
className: classNames72({
|
|
8403
8454
|
"flex flex-row gap-2 items-center mx-1 my-2": true
|
|
8404
8455
|
}),
|
|
8405
8456
|
children: [
|
|
@@ -8412,7 +8463,7 @@ function Radio({
|
|
|
8412
8463
|
...props,
|
|
8413
8464
|
value: option.value,
|
|
8414
8465
|
checked: field2.value === option.value,
|
|
8415
|
-
className:
|
|
8466
|
+
className: classNames72({
|
|
8416
8467
|
"appearance-none w-4 h-4 border-2 border-eui-primary-400 rounded-full cursor-pointer transition-all duration-300": true,
|
|
8417
8468
|
// base radio button styles
|
|
8418
8469
|
"checked:bg-eui-secondary-700 checked:border-eui-primary-400": field2.value === option.value
|
|
@@ -8424,7 +8475,7 @@ function Radio({
|
|
|
8424
8475
|
"label",
|
|
8425
8476
|
{
|
|
8426
8477
|
htmlFor: option.value,
|
|
8427
|
-
className:
|
|
8478
|
+
className: classNames72({
|
|
8428
8479
|
"eui-text-md text-sm": true
|
|
8429
8480
|
}),
|
|
8430
8481
|
children: option.label
|
|
@@ -8467,7 +8518,7 @@ function StarRatingInput({
|
|
|
8467
8518
|
return /* @__PURE__ */ jsxs(
|
|
8468
8519
|
"div",
|
|
8469
8520
|
{
|
|
8470
|
-
className:
|
|
8521
|
+
className: classNames72({
|
|
8471
8522
|
"inline-flex gap-[4px] text-[20px]": true,
|
|
8472
8523
|
[`${styles}`]: styles
|
|
8473
8524
|
}),
|
|
@@ -8480,7 +8531,7 @@ function StarRatingInput({
|
|
|
8480
8531
|
onClick: () => handleOnClick(index3),
|
|
8481
8532
|
onMouseEnter: () => setHover(index3),
|
|
8482
8533
|
onMouseLeave: () => setHover(null),
|
|
8483
|
-
className:
|
|
8534
|
+
className: classNames72({
|
|
8484
8535
|
"text-yellow-600": index3 <= (hover ?? rating - 1),
|
|
8485
8536
|
"text-gray-400": index3 > (hover ?? rating - 1)
|
|
8486
8537
|
}),
|
|
@@ -8524,7 +8575,7 @@ function Select({
|
|
|
8524
8575
|
{
|
|
8525
8576
|
as: "select",
|
|
8526
8577
|
...props,
|
|
8527
|
-
className:
|
|
8578
|
+
className: classNames72({
|
|
8528
8579
|
"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,
|
|
8529
8580
|
"border-eui-primary-400": !(meta.touched && meta.error),
|
|
8530
8581
|
"border-red-500": meta.touched && meta.error,
|
|
@@ -8576,7 +8627,7 @@ function Switch({
|
|
|
8576
8627
|
"div",
|
|
8577
8628
|
{
|
|
8578
8629
|
onClick: () => helpers.setValue(!field.value),
|
|
8579
|
-
className:
|
|
8630
|
+
className: classNames72(
|
|
8580
8631
|
"w-11 h-6 bg-gray-200 peer-focus:outline-none rounded-full peer dark:bg-eui-dark-100",
|
|
8581
8632
|
"peer-checked:after:translate-x-full peer-checked:after:border-white",
|
|
8582
8633
|
"after:content-[''] after:absolute after:top-[2px] after:left-[2px] after:bg-white",
|
|
@@ -8633,7 +8684,7 @@ function Tags({
|
|
|
8633
8684
|
/* @__PURE__ */ jsxs(
|
|
8634
8685
|
"div",
|
|
8635
8686
|
{
|
|
8636
|
-
className:
|
|
8687
|
+
className: classNames72(
|
|
8637
8688
|
"border rounded-sm flex flex-wrap items-center gap-2 px-2 pt-2 pb-6 min-h-[3rem]",
|
|
8638
8689
|
{
|
|
8639
8690
|
"bg-eui-primary-300/10 eui-text-md": true,
|
|
@@ -8681,7 +8732,7 @@ function Tags({
|
|
|
8681
8732
|
InputLabel,
|
|
8682
8733
|
{
|
|
8683
8734
|
text: placeholder,
|
|
8684
|
-
className:
|
|
8735
|
+
className: classNames72(
|
|
8685
8736
|
"absolute left-2 transition-all pointer-events-none text-eui-dark-200",
|
|
8686
8737
|
input.length > 0 || field.value.length > 0 ? "top-[2px] text-[13.5px]" : "top-3 text-base"
|
|
8687
8738
|
)
|
|
@@ -8722,7 +8773,7 @@ function TextArea({
|
|
|
8722
8773
|
as: "textarea",
|
|
8723
8774
|
...field,
|
|
8724
8775
|
...props,
|
|
8725
|
-
className:
|
|
8776
|
+
className: classNames72({
|
|
8726
8777
|
"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,
|
|
8727
8778
|
"transition-all ease-in-out": true,
|
|
8728
8779
|
"border-eui-primary-400 focus:border-eui-secondary-500": !(meta.touched && meta.error),
|
|
@@ -8736,7 +8787,7 @@ function TextArea({
|
|
|
8736
8787
|
InputLabel,
|
|
8737
8788
|
{
|
|
8738
8789
|
text: placeholder,
|
|
8739
|
-
className:
|
|
8790
|
+
className: classNames72(
|
|
8740
8791
|
"absolute left-2 transition-all pointer-events-none text-eui-dark-200",
|
|
8741
8792
|
field.value ? "top-[2px] text-[13.5px]" : "top-3 text-base"
|
|
8742
8793
|
)
|
|
@@ -8770,7 +8821,7 @@ function BreadcrumbItem({
|
|
|
8770
8821
|
{
|
|
8771
8822
|
href,
|
|
8772
8823
|
onClick,
|
|
8773
|
-
className:
|
|
8824
|
+
className: classNames72({
|
|
8774
8825
|
"text-lg font-semibold": true,
|
|
8775
8826
|
"text-gray-400 hover:text-gray-600 cursor-pointer": !active,
|
|
8776
8827
|
"text-eui-light-800": active,
|
|
@@ -8847,7 +8898,7 @@ var Breadcrumb = ({
|
|
|
8847
8898
|
index3 < resolvedData.length - 1 && /* @__PURE__ */ jsx(
|
|
8848
8899
|
"span",
|
|
8849
8900
|
{
|
|
8850
|
-
className:
|
|
8901
|
+
className: classNames72({
|
|
8851
8902
|
"text-lg font-semibold text-gray-500": true,
|
|
8852
8903
|
[`px-${gap}`]: gap
|
|
8853
8904
|
}),
|
|
@@ -8861,7 +8912,7 @@ var Breadcrumb = ({
|
|
|
8861
8912
|
return /* @__PURE__ */ jsx(
|
|
8862
8913
|
"div",
|
|
8863
8914
|
{
|
|
8864
|
-
className:
|
|
8915
|
+
className: classNames72({
|
|
8865
8916
|
"inline-flex": true,
|
|
8866
8917
|
[`${styles}`]: styles
|
|
8867
8918
|
}),
|
|
@@ -8905,7 +8956,7 @@ var Drawer = ({
|
|
|
8905
8956
|
isMobile && showBackdrop && /* @__PURE__ */ jsx(TransitionFade_default, { visibility, leaveDuration: 200, children: /* @__PURE__ */ jsx(
|
|
8906
8957
|
"div",
|
|
8907
8958
|
{
|
|
8908
|
-
className:
|
|
8959
|
+
className: classNames72(
|
|
8909
8960
|
"fixed inset-0 bg-black/50 z-40",
|
|
8910
8961
|
backdropStyles
|
|
8911
8962
|
),
|
|
@@ -8916,7 +8967,7 @@ var Drawer = ({
|
|
|
8916
8967
|
"div",
|
|
8917
8968
|
{
|
|
8918
8969
|
style: drawerStyle,
|
|
8919
|
-
className:
|
|
8970
|
+
className: classNames72(
|
|
8920
8971
|
"fixed shadow-lg z-50",
|
|
8921
8972
|
{
|
|
8922
8973
|
"h-full w-[300px] top-0": isHorizontal && !hasOffset,
|
|
@@ -8945,7 +8996,7 @@ function DrawerToggler({
|
|
|
8945
8996
|
return /* @__PURE__ */ jsx(
|
|
8946
8997
|
"div",
|
|
8947
8998
|
{
|
|
8948
|
-
className:
|
|
8999
|
+
className: classNames72({
|
|
8949
9000
|
"text-xl p-3 cursor-pointer": true,
|
|
8950
9001
|
"transition-all ease-in-out": true,
|
|
8951
9002
|
"text-eui-dark-500 dark:text-eui-secondary-600": !styles,
|
|
@@ -8993,7 +9044,7 @@ function FooterNav({ data = [], styles }) {
|
|
|
8993
9044
|
childrenContent = /* @__PURE__ */ jsx(
|
|
8994
9045
|
"div",
|
|
8995
9046
|
{
|
|
8996
|
-
className:
|
|
9047
|
+
className: classNames72({
|
|
8997
9048
|
"grid w-full": true,
|
|
8998
9049
|
"grid-cols-1": isMobile,
|
|
8999
9050
|
"grid-cols-3": !isMobile,
|
|
@@ -9006,7 +9057,7 @@ function FooterNav({ data = [], styles }) {
|
|
|
9006
9057
|
return /* @__PURE__ */ jsx(
|
|
9007
9058
|
"div",
|
|
9008
9059
|
{
|
|
9009
|
-
className:
|
|
9060
|
+
className: classNames72({
|
|
9010
9061
|
[`${styles}`]: styles
|
|
9011
9062
|
}),
|
|
9012
9063
|
children: childrenContent
|
|
@@ -9047,7 +9098,7 @@ var FooterNavGroup = ({
|
|
|
9047
9098
|
/* @__PURE__ */ jsx(
|
|
9048
9099
|
"div",
|
|
9049
9100
|
{
|
|
9050
|
-
className:
|
|
9101
|
+
className: classNames72({
|
|
9051
9102
|
"": true,
|
|
9052
9103
|
"py-2 font-semibold eui-text-lg": !styles,
|
|
9053
9104
|
[`${styles}`]: styles
|
|
@@ -9092,7 +9143,7 @@ var FooterNavItem = ({
|
|
|
9092
9143
|
"div",
|
|
9093
9144
|
{
|
|
9094
9145
|
onClick: handleNavigation,
|
|
9095
|
-
className:
|
|
9146
|
+
className: classNames72({
|
|
9096
9147
|
"flex flex-row items-center gap-3 cursor-pointer p-1 w-full": true,
|
|
9097
9148
|
"transition-all duration-200 ease-in-out": true,
|
|
9098
9149
|
"text-sm eui-text-sm": !styles,
|
|
@@ -9121,7 +9172,7 @@ var FooterNavItemTitle = ({
|
|
|
9121
9172
|
return /* @__PURE__ */ jsx(
|
|
9122
9173
|
"div",
|
|
9123
9174
|
{
|
|
9124
|
-
className:
|
|
9175
|
+
className: classNames72({
|
|
9125
9176
|
"": true,
|
|
9126
9177
|
"py-2 font-thin eui-text-md": !styles,
|
|
9127
9178
|
[`${styles}`]: styles
|
|
@@ -9174,7 +9225,7 @@ function HeaderNav({ data = [], styles }) {
|
|
|
9174
9225
|
return /* @__PURE__ */ jsx(
|
|
9175
9226
|
"div",
|
|
9176
9227
|
{
|
|
9177
|
-
className:
|
|
9228
|
+
className: classNames72({
|
|
9178
9229
|
[`${styles}`]: styles
|
|
9179
9230
|
}),
|
|
9180
9231
|
children: childrenContent
|
|
@@ -9236,7 +9287,7 @@ var HeaderNavGroup = ({
|
|
|
9236
9287
|
/* @__PURE__ */ jsxs(
|
|
9237
9288
|
"div",
|
|
9238
9289
|
{
|
|
9239
|
-
className:
|
|
9290
|
+
className: classNames72({
|
|
9240
9291
|
"flex flex-row gap-2 items-center justify-between cursor-pointer p-3 w-full": true,
|
|
9241
9292
|
"transition-all duration-300 ease-in-out": true,
|
|
9242
9293
|
"eui-text-md bg-gradient-to-t from-eui-dark-500/10 dark:from-green-700/10": !styles,
|
|
@@ -9264,7 +9315,7 @@ var HeaderNavGroup = ({
|
|
|
9264
9315
|
children3 && /* @__PURE__ */ jsx(
|
|
9265
9316
|
BsChevronDown,
|
|
9266
9317
|
{
|
|
9267
|
-
className:
|
|
9318
|
+
className: classNames72({
|
|
9268
9319
|
"text-md": true,
|
|
9269
9320
|
"transition-all ease-in-out duration-300": true,
|
|
9270
9321
|
"rotate-180": !collapsed
|
|
@@ -9277,7 +9328,7 @@ var HeaderNavGroup = ({
|
|
|
9277
9328
|
!collapsed && children3 && /* @__PURE__ */ jsx(
|
|
9278
9329
|
"div",
|
|
9279
9330
|
{
|
|
9280
|
-
className:
|
|
9331
|
+
className: classNames72({
|
|
9281
9332
|
"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,
|
|
9282
9333
|
"transition-all duration-300 ease-in-out": true
|
|
9283
9334
|
}),
|
|
@@ -9307,7 +9358,7 @@ var HeaderNavItem = ({
|
|
|
9307
9358
|
"div",
|
|
9308
9359
|
{
|
|
9309
9360
|
onClick: handleNavigation,
|
|
9310
|
-
className:
|
|
9361
|
+
className: classNames72({
|
|
9311
9362
|
"flex flex-row items-center gap-3 cursor-pointer p-3 w-full": true,
|
|
9312
9363
|
"transition-all duration-200 ease-in-out": true,
|
|
9313
9364
|
"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,
|
|
@@ -9336,7 +9387,7 @@ var HeaderNavItemTitle = ({
|
|
|
9336
9387
|
return /* @__PURE__ */ jsx(
|
|
9337
9388
|
"div",
|
|
9338
9389
|
{
|
|
9339
|
-
className:
|
|
9390
|
+
className: classNames72({
|
|
9340
9391
|
"p-3 font-thin": true,
|
|
9341
9392
|
"eui-text-md": !styles,
|
|
9342
9393
|
[`${styles}`]: styles
|
|
@@ -9376,7 +9427,7 @@ var Link = ({
|
|
|
9376
9427
|
href: href || "#",
|
|
9377
9428
|
target: targets[target],
|
|
9378
9429
|
onClick: handleClick,
|
|
9379
|
-
className:
|
|
9430
|
+
className: classNames72({
|
|
9380
9431
|
[`${textVariants[variant]}`]: variant,
|
|
9381
9432
|
[`${decorations[decoration]}`]: decoration,
|
|
9382
9433
|
"font-bold": bold,
|
|
@@ -12568,7 +12619,7 @@ function Accordion({
|
|
|
12568
12619
|
/* @__PURE__ */ jsxs(
|
|
12569
12620
|
"div",
|
|
12570
12621
|
{
|
|
12571
|
-
className:
|
|
12622
|
+
className: classNames72(
|
|
12572
12623
|
"inline-flex gap-3 items-center px-3 py-2 w-full eui-gradient-to-r-general-xs",
|
|
12573
12624
|
{
|
|
12574
12625
|
"hover:cursor-pointer": toggleOnSummaryClick
|
|
@@ -12589,7 +12640,7 @@ function Accordion({
|
|
|
12589
12640
|
children: /* @__PURE__ */ jsx(
|
|
12590
12641
|
FaCircleChevronDown,
|
|
12591
12642
|
{
|
|
12592
|
-
className:
|
|
12643
|
+
className: classNames72("text-xl transition-transform duration-300", {
|
|
12593
12644
|
"rotate-180": collapse
|
|
12594
12645
|
})
|
|
12595
12646
|
}
|
|
@@ -12603,7 +12654,7 @@ function Accordion({
|
|
|
12603
12654
|
/* @__PURE__ */ jsx(TransitionAccordion_default, { visibility: collapse, children: /* @__PURE__ */ jsx(
|
|
12604
12655
|
"div",
|
|
12605
12656
|
{
|
|
12606
|
-
className:
|
|
12657
|
+
className: classNames72(
|
|
12607
12658
|
"border-t border-t-eui-dark-400/40 eui-text-sm",
|
|
12608
12659
|
{
|
|
12609
12660
|
"p-5": enableChildrenPadding
|
|
@@ -12660,7 +12711,7 @@ function CardHeader({ icon, title, description, className }) {
|
|
|
12660
12711
|
return /* @__PURE__ */ jsxs(
|
|
12661
12712
|
"div",
|
|
12662
12713
|
{
|
|
12663
|
-
className:
|
|
12714
|
+
className: classNames72(
|
|
12664
12715
|
"flex items-start gap-4 p-6 border-b border-white/10",
|
|
12665
12716
|
className
|
|
12666
12717
|
),
|
|
@@ -12676,14 +12727,14 @@ function CardHeader({ icon, title, description, className }) {
|
|
|
12676
12727
|
}
|
|
12677
12728
|
var CardHeader_default = CardHeader;
|
|
12678
12729
|
function CardContent({ children: children3, className }) {
|
|
12679
|
-
return /* @__PURE__ */ jsx("div", { className:
|
|
12730
|
+
return /* @__PURE__ */ jsx("div", { className: classNames72("p-6 text-gray-300 text-sm", className), children: children3 });
|
|
12680
12731
|
}
|
|
12681
12732
|
var CardContent_default = CardContent;
|
|
12682
12733
|
function CardFooter({ children: children3, className }) {
|
|
12683
12734
|
return /* @__PURE__ */ jsx(
|
|
12684
12735
|
"div",
|
|
12685
12736
|
{
|
|
12686
|
-
className:
|
|
12737
|
+
className: classNames72(
|
|
12687
12738
|
"flex items-center gap-3 p-5 border-t border-white/10 text-sm text-gray-400",
|
|
12688
12739
|
className
|
|
12689
12740
|
),
|
|
@@ -12725,7 +12776,7 @@ function GradientAnimation({
|
|
|
12725
12776
|
return /* @__PURE__ */ jsx(
|
|
12726
12777
|
"div",
|
|
12727
12778
|
{
|
|
12728
|
-
className:
|
|
12779
|
+
className: classNames72("absolute inset-0"),
|
|
12729
12780
|
style: {
|
|
12730
12781
|
background: `linear-gradient(${cfg.angle}deg, ${cfg.colors?.join(",")})`,
|
|
12731
12782
|
backgroundSize: cfg.backgroundSize,
|
|
@@ -12871,7 +12922,7 @@ function MotionSurface({
|
|
|
12871
12922
|
}) {
|
|
12872
12923
|
const AnimationComponent = animationVariant === "custom" ? CustomAnimation : animationRegistry[animationVariant];
|
|
12873
12924
|
const OverlayComponent = overlay === "custom" ? CustomOverlay : overlayRegistry[overlay];
|
|
12874
|
-
return /* @__PURE__ */ jsxs("div", { className:
|
|
12925
|
+
return /* @__PURE__ */ jsxs("div", { className: classNames72("relative overflow-hidden", className), children: [
|
|
12875
12926
|
AnimationComponent && /* @__PURE__ */ jsx(AnimationComponent, { config: animationConfig, animated }),
|
|
12876
12927
|
OverlayComponent && /* @__PURE__ */ jsx(OverlayComponent, { config: overlayConfig }),
|
|
12877
12928
|
/* @__PURE__ */ jsx("div", { className: "relative z-10", children: children3 })
|
|
@@ -17117,7 +17168,7 @@ var ProgressBar = ({
|
|
|
17117
17168
|
hasBottomLabel && /* @__PURE__ */ jsx("div", { className: "mt-2", children: labelNode })
|
|
17118
17169
|
] });
|
|
17119
17170
|
};
|
|
17120
|
-
var
|
|
17171
|
+
var sizes = {
|
|
17121
17172
|
["xs" /* xs */]: "text-[10px]",
|
|
17122
17173
|
["sm" /* sm */]: "text-xs",
|
|
17123
17174
|
["md" /* md */]: "text-sm",
|
|
@@ -17147,7 +17198,7 @@ var StarRating = ({
|
|
|
17147
17198
|
className: cn(
|
|
17148
17199
|
"inline-flex items-center gap-[2px]",
|
|
17149
17200
|
"text-yellow-500 dark:text-yellow-400",
|
|
17150
|
-
|
|
17201
|
+
sizes[size],
|
|
17151
17202
|
iconClassName
|
|
17152
17203
|
),
|
|
17153
17204
|
children: [
|
|
@@ -17160,7 +17211,7 @@ var StarRating = ({
|
|
|
17160
17211
|
showValue && valuePosition === "end" && ratingValue
|
|
17161
17212
|
] });
|
|
17162
17213
|
};
|
|
17163
|
-
var
|
|
17214
|
+
var sizes2 = {
|
|
17164
17215
|
["xs" /* xs */]: {
|
|
17165
17216
|
value: "text-2xl",
|
|
17166
17217
|
review: "text-xs"
|
|
@@ -17192,7 +17243,7 @@ var NumericRating = ({
|
|
|
17192
17243
|
className,
|
|
17193
17244
|
...rest
|
|
17194
17245
|
}) => {
|
|
17195
|
-
const sizeStyles =
|
|
17246
|
+
const sizeStyles = sizes2[size];
|
|
17196
17247
|
return /* @__PURE__ */ jsxs(
|
|
17197
17248
|
"div",
|
|
17198
17249
|
{
|
|
@@ -17868,7 +17919,7 @@ var YoutubeVideo = ({
|
|
|
17868
17919
|
}) => {
|
|
17869
17920
|
const videoId = getYoutubeVideoId(videoUrl);
|
|
17870
17921
|
if (!videoId) {
|
|
17871
|
-
return /* @__PURE__ */ jsx(
|
|
17922
|
+
return /* @__PURE__ */ jsx(FormResponse, { text: "Invalid YouTube URL", variant: "danger" });
|
|
17872
17923
|
}
|
|
17873
17924
|
const params = new URLSearchParams({
|
|
17874
17925
|
autoplay: autoPlay ? "1" : "0",
|
|
@@ -17956,7 +18007,7 @@ var ThemeSwitch = () => {
|
|
|
17956
18007
|
/* @__PURE__ */ jsx(
|
|
17957
18008
|
"div",
|
|
17958
18009
|
{
|
|
17959
|
-
className:
|
|
18010
|
+
className: classNames72(
|
|
17960
18011
|
"w-6 h-6 bg-white dark:bg-gray-600 rounded-full shadow-md transition-transform duration-300",
|
|
17961
18012
|
theme === "dark" ? "translate-x-8" : "translate-x-0"
|
|
17962
18013
|
)
|
|
@@ -29501,7 +29552,7 @@ function AsyncStateCard({
|
|
|
29501
29552
|
),
|
|
29502
29553
|
/* @__PURE__ */ jsxs("div", { className: "flex flex-col gap-2", children: [
|
|
29503
29554
|
/* @__PURE__ */ jsx("h3", { className: "text-lg font-semibold text-eui-dark-900 dark:text-eui-light-600", children: title }),
|
|
29504
|
-
isError ? /* @__PURE__ */ jsx(
|
|
29555
|
+
isError ? /* @__PURE__ */ jsx(FormResponse, { text: message, variant: "danger" }) : /* @__PURE__ */ jsx("p", { className: "text-sm text-eui-dark-500 dark:text-eui-light-400", children: message })
|
|
29505
29556
|
] }),
|
|
29506
29557
|
onAction && actionText && /* @__PURE__ */ jsx(
|
|
29507
29558
|
Button_web_default,
|
|
@@ -29725,7 +29776,7 @@ function Modal({
|
|
|
29725
29776
|
"div",
|
|
29726
29777
|
{
|
|
29727
29778
|
ref: modalRef,
|
|
29728
|
-
className:
|
|
29779
|
+
className: classNames72(
|
|
29729
29780
|
"eui-bg-md eui-shadow-lg border border-gray-700/80 w-fit h-fit",
|
|
29730
29781
|
shapes[resolvedShape],
|
|
29731
29782
|
styles
|
|
@@ -29737,7 +29788,7 @@ function Modal({
|
|
|
29737
29788
|
"button",
|
|
29738
29789
|
{
|
|
29739
29790
|
type: "button",
|
|
29740
|
-
className:
|
|
29791
|
+
className: classNames72(
|
|
29741
29792
|
"w-[60px] h-[60px] flex items-center justify-center transition-standard-fast",
|
|
29742
29793
|
"hover:cursor-pointer hover:bg-eui-dark-500"
|
|
29743
29794
|
),
|
|
@@ -30129,7 +30180,7 @@ var ContentArea = forwardRef(
|
|
|
30129
30180
|
"div",
|
|
30130
30181
|
{
|
|
30131
30182
|
ref,
|
|
30132
|
-
className:
|
|
30183
|
+
className: classNames72({
|
|
30133
30184
|
"min-h-screen h-full w-full transition-all duration-[200ms]": true,
|
|
30134
30185
|
"py-3 px-5": !enablePadding,
|
|
30135
30186
|
"py-3 px-5 lg:px-[150px]": enablePadding,
|
|
@@ -30146,7 +30197,7 @@ function FlexCol({ children: children3, gap = 3, styles }) {
|
|
|
30146
30197
|
return /* @__PURE__ */ jsx(
|
|
30147
30198
|
"div",
|
|
30148
30199
|
{
|
|
30149
|
-
className:
|
|
30200
|
+
className: classNames72({
|
|
30150
30201
|
[`flex flex-col gap-${gap}`]: true,
|
|
30151
30202
|
[`${styles}`]: styles
|
|
30152
30203
|
}),
|
|
@@ -30159,7 +30210,7 @@ function FlexRow({ children: children3, gap = 3, styles }) {
|
|
|
30159
30210
|
return /* @__PURE__ */ jsx(
|
|
30160
30211
|
"div",
|
|
30161
30212
|
{
|
|
30162
|
-
className:
|
|
30213
|
+
className: classNames72({
|
|
30163
30214
|
[`flex flex-row gap-${gap}`]: true,
|
|
30164
30215
|
[`${styles}`]: styles
|
|
30165
30216
|
}),
|
|
@@ -30178,7 +30229,7 @@ function Grid({ children: children3, styles }) {
|
|
|
30178
30229
|
return /* @__PURE__ */ jsx(
|
|
30179
30230
|
"div",
|
|
30180
30231
|
{
|
|
30181
|
-
className:
|
|
30232
|
+
className: classNames72({
|
|
30182
30233
|
[`grid`]: true,
|
|
30183
30234
|
[`${styles}`]: styles
|
|
30184
30235
|
}),
|
|
@@ -30195,7 +30246,7 @@ var Layout = ({
|
|
|
30195
30246
|
return /* @__PURE__ */ jsx(
|
|
30196
30247
|
"div",
|
|
30197
30248
|
{
|
|
30198
|
-
className:
|
|
30249
|
+
className: classNames72({
|
|
30199
30250
|
// "flex h-full w-screen bg-gray-100 overflow-auto": true,
|
|
30200
30251
|
"flex bg-eui-light-600": true,
|
|
30201
30252
|
"flex-col": flexDirection === "vertical",
|
|
@@ -30217,7 +30268,7 @@ var Header = ({
|
|
|
30217
30268
|
return /* @__PURE__ */ jsx(
|
|
30218
30269
|
"div",
|
|
30219
30270
|
{
|
|
30220
|
-
className:
|
|
30271
|
+
className: classNames72({
|
|
30221
30272
|
static: position4 === "static",
|
|
30222
30273
|
fixed: position4 === "fixed",
|
|
30223
30274
|
sticky: position4 === "sticky",
|
|
@@ -30252,7 +30303,7 @@ var Content = ({
|
|
|
30252
30303
|
return /* @__PURE__ */ jsx(
|
|
30253
30304
|
"div",
|
|
30254
30305
|
{
|
|
30255
|
-
className:
|
|
30306
|
+
className: classNames72({
|
|
30256
30307
|
"w-full min-h-screen transition-all duration-200 eui-bg-sm": true,
|
|
30257
30308
|
"md:pl-[300px]": !overlayedSidebar && sidebarVisible && !isMobile,
|
|
30258
30309
|
// Shift when sidebar is open (desktop)
|
|
@@ -30268,7 +30319,7 @@ var Footer = ({ children: children3, styles }) => {
|
|
|
30268
30319
|
return /* @__PURE__ */ jsx(
|
|
30269
30320
|
"div",
|
|
30270
30321
|
{
|
|
30271
|
-
className:
|
|
30322
|
+
className: classNames72({
|
|
30272
30323
|
"bottom-0 w-full h-fit": true,
|
|
30273
30324
|
"border-t border-eui-dark-500/40 dark:border-eui-secondary-800 eui-bg-md": !styles,
|
|
30274
30325
|
[`${styles}`]: styles
|
|
@@ -30402,7 +30453,7 @@ var GlowWrapper = ({
|
|
|
30402
30453
|
/* @__PURE__ */ jsx(
|
|
30403
30454
|
"span",
|
|
30404
30455
|
{
|
|
30405
|
-
className: "\
|
|
30456
|
+
className: "\n pointer-events-none absolute inset-0 opacity-0 \n group-hover:opacity-100 transition-opacity duration-300\n ",
|
|
30406
30457
|
style: { background: "var(--glow-bg)" }
|
|
30407
30458
|
}
|
|
30408
30459
|
),
|
|
@@ -30456,7 +30507,7 @@ function ShowMore({ text: text10, limit }) {
|
|
|
30456
30507
|
/* @__PURE__ */ jsx(
|
|
30457
30508
|
"div",
|
|
30458
30509
|
{
|
|
30459
|
-
className:
|
|
30510
|
+
className: classNames72({
|
|
30460
30511
|
"text-blue-300 px-1 pb-1 mt-1": true,
|
|
30461
30512
|
"bg-slate-900/70": !showMore,
|
|
30462
30513
|
"bg-gradient-to-t from-slate-900/50 to-transparent": showMore
|
|
@@ -31372,7 +31423,7 @@ function DocumentationPanel({
|
|
|
31372
31423
|
return /* @__PURE__ */ jsx(MarkdownProvider_default, { markdown: value, children: /* @__PURE__ */ jsxs(
|
|
31373
31424
|
"section",
|
|
31374
31425
|
{
|
|
31375
|
-
className:
|
|
31426
|
+
className: classNames72(
|
|
31376
31427
|
"eui-documentation-panel",
|
|
31377
31428
|
"min-h-0 overflow-hidden bg-white text-gray-900",
|
|
31378
31429
|
"dark:bg-gray-950 dark:text-gray-100",
|
|
@@ -31386,7 +31437,7 @@ function DocumentationPanel({
|
|
|
31386
31437
|
/* @__PURE__ */ jsx(
|
|
31387
31438
|
"main",
|
|
31388
31439
|
{
|
|
31389
|
-
className:
|
|
31440
|
+
className: classNames72(
|
|
31390
31441
|
"eui-documentation-panel-viewer",
|
|
31391
31442
|
"documentation-panel-scrollbar min-w-0 overflow-y-auto scroll-smooth",
|
|
31392
31443
|
viewerClassName
|
|
@@ -31394,7 +31445,7 @@ function DocumentationPanel({
|
|
|
31394
31445
|
children: /* @__PURE__ */ jsx(
|
|
31395
31446
|
"div",
|
|
31396
31447
|
{
|
|
31397
|
-
className:
|
|
31448
|
+
className: classNames72(
|
|
31398
31449
|
"mx-auto px-5 py-8 sm:px-6 lg:px-8",
|
|
31399
31450
|
contentMaxWidthClassName,
|
|
31400
31451
|
contentClassName
|
|
@@ -31407,7 +31458,7 @@ function DocumentationPanel({
|
|
|
31407
31458
|
toc ? /* @__PURE__ */ jsx(
|
|
31408
31459
|
"aside",
|
|
31409
31460
|
{
|
|
31410
|
-
className:
|
|
31461
|
+
className: classNames72(
|
|
31411
31462
|
"eui-documentation-panel-toc",
|
|
31412
31463
|
"hidden min-w-0 border-l border-gray-200 bg-white lg:block",
|
|
31413
31464
|
"dark:border-gray-800 dark:bg-gray-950",
|
|
@@ -31416,7 +31467,7 @@ function DocumentationPanel({
|
|
|
31416
31467
|
children: /* @__PURE__ */ jsx(
|
|
31417
31468
|
"div",
|
|
31418
31469
|
{
|
|
31419
|
-
className:
|
|
31470
|
+
className: classNames72(
|
|
31420
31471
|
"documentation-panel-scrollbar h-full overflow-y-auto px-5 py-8"
|
|
31421
31472
|
),
|
|
31422
31473
|
children: /* @__PURE__ */ jsx("div", { className: "sticky top-0", children: /* @__PURE__ */ jsx(MarkdownTOC_default, {}) })
|
|
@@ -31692,7 +31743,7 @@ function BoxNavItem({ icon, name: name2, to, selected, onClick }) {
|
|
|
31692
31743
|
type: "button",
|
|
31693
31744
|
onClick: handleClick,
|
|
31694
31745
|
"aria-current": selected ? "page" : void 0,
|
|
31695
|
-
className:
|
|
31746
|
+
className: classNames72(
|
|
31696
31747
|
"w-full min-w-[80px] flex flex-col items-center justify-center py-3 text-center",
|
|
31697
31748
|
"hover:text-secondary-700 hover:bg-gray-300/10 hover:cursor-pointer",
|
|
31698
31749
|
selected ? "text-eui-secondary-700 bg-gray-300/10" : "text-gray-400",
|
|
@@ -42788,7 +42839,7 @@ function markdownTable(table2, options) {
|
|
|
42788
42839
|
let rowIndex = -1;
|
|
42789
42840
|
while (++rowIndex < table2.length) {
|
|
42790
42841
|
const row2 = [];
|
|
42791
|
-
const
|
|
42842
|
+
const sizes4 = [];
|
|
42792
42843
|
let columnIndex2 = -1;
|
|
42793
42844
|
if (table2[rowIndex].length > mostCellsPerRow) {
|
|
42794
42845
|
mostCellsPerRow = table2[rowIndex].length;
|
|
@@ -42797,7 +42848,7 @@ function markdownTable(table2, options) {
|
|
|
42797
42848
|
const cell = serialize2(table2[rowIndex][columnIndex2]);
|
|
42798
42849
|
if (settings.alignDelimiters !== false) {
|
|
42799
42850
|
const size = stringLength(cell);
|
|
42800
|
-
|
|
42851
|
+
sizes4[columnIndex2] = size;
|
|
42801
42852
|
if (longestCellByColumn[columnIndex2] === void 0 || size > longestCellByColumn[columnIndex2]) {
|
|
42802
42853
|
longestCellByColumn[columnIndex2] = size;
|
|
42803
42854
|
}
|
|
@@ -42805,7 +42856,7 @@ function markdownTable(table2, options) {
|
|
|
42805
42856
|
row2.push(cell);
|
|
42806
42857
|
}
|
|
42807
42858
|
cellMatrix[rowIndex] = row2;
|
|
42808
|
-
sizeMatrix[rowIndex] =
|
|
42859
|
+
sizeMatrix[rowIndex] = sizes4;
|
|
42809
42860
|
}
|
|
42810
42861
|
let columnIndex = -1;
|
|
42811
42862
|
if (typeof align === "object" && "length" in align) {
|
|
@@ -42820,7 +42871,7 @@ function markdownTable(table2, options) {
|
|
|
42820
42871
|
}
|
|
42821
42872
|
columnIndex = -1;
|
|
42822
42873
|
const row = [];
|
|
42823
|
-
const
|
|
42874
|
+
const sizes3 = [];
|
|
42824
42875
|
while (++columnIndex < mostCellsPerRow) {
|
|
42825
42876
|
const code4 = alignments[columnIndex];
|
|
42826
42877
|
let before = "";
|
|
@@ -42843,17 +42894,17 @@ function markdownTable(table2, options) {
|
|
|
42843
42894
|
if (size > longestCellByColumn[columnIndex]) {
|
|
42844
42895
|
longestCellByColumn[columnIndex] = size;
|
|
42845
42896
|
}
|
|
42846
|
-
|
|
42897
|
+
sizes3[columnIndex] = size;
|
|
42847
42898
|
}
|
|
42848
42899
|
row[columnIndex] = cell;
|
|
42849
42900
|
}
|
|
42850
42901
|
cellMatrix.splice(1, 0, row);
|
|
42851
|
-
sizeMatrix.splice(1, 0,
|
|
42902
|
+
sizeMatrix.splice(1, 0, sizes3);
|
|
42852
42903
|
rowIndex = -1;
|
|
42853
42904
|
const lines = [];
|
|
42854
42905
|
while (++rowIndex < cellMatrix.length) {
|
|
42855
42906
|
const row2 = cellMatrix[rowIndex];
|
|
42856
|
-
const
|
|
42907
|
+
const sizes4 = sizeMatrix[rowIndex];
|
|
42857
42908
|
columnIndex = -1;
|
|
42858
42909
|
const line = [];
|
|
42859
42910
|
while (++columnIndex < mostCellsPerRow) {
|
|
@@ -42861,7 +42912,7 @@ function markdownTable(table2, options) {
|
|
|
42861
42912
|
let before = "";
|
|
42862
42913
|
let after = "";
|
|
42863
42914
|
if (settings.alignDelimiters !== false) {
|
|
42864
|
-
const size = longestCellByColumn[columnIndex] - (
|
|
42915
|
+
const size = longestCellByColumn[columnIndex] - (sizes4[columnIndex] || 0);
|
|
42865
42916
|
const code4 = alignments[columnIndex];
|
|
42866
42917
|
if (code4 === 114) {
|
|
42867
42918
|
before = " ".repeat(size);
|
|
@@ -54429,7 +54480,7 @@ function MarkdownHeading({
|
|
|
54429
54480
|
id: id2,
|
|
54430
54481
|
level: typographyLevel,
|
|
54431
54482
|
bold: true,
|
|
54432
|
-
className:
|
|
54483
|
+
className: classNames72(
|
|
54433
54484
|
"eui-markdown-heading group relative scroll-mt-24 font-bold leading-tight text-gray-900 dark:text-gray-100",
|
|
54434
54485
|
HEADING_STYLES[level],
|
|
54435
54486
|
className
|
|
@@ -54592,18 +54643,18 @@ function powerSetPermutations(arr) {
|
|
|
54592
54643
|
}
|
|
54593
54644
|
}
|
|
54594
54645
|
var classNameCombinations = {};
|
|
54595
|
-
function getClassNameCombinations(
|
|
54596
|
-
if (
|
|
54597
|
-
var key =
|
|
54646
|
+
function getClassNameCombinations(classNames76) {
|
|
54647
|
+
if (classNames76.length === 0 || classNames76.length === 1) return classNames76;
|
|
54648
|
+
var key = classNames76.join(".");
|
|
54598
54649
|
if (!classNameCombinations[key]) {
|
|
54599
|
-
classNameCombinations[key] = powerSetPermutations(
|
|
54650
|
+
classNameCombinations[key] = powerSetPermutations(classNames76);
|
|
54600
54651
|
}
|
|
54601
54652
|
return classNameCombinations[key];
|
|
54602
54653
|
}
|
|
54603
|
-
function createStyleObject(
|
|
54654
|
+
function createStyleObject(classNames76) {
|
|
54604
54655
|
var elementStyle = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {};
|
|
54605
54656
|
var stylesheet = arguments.length > 2 ? arguments[2] : void 0;
|
|
54606
|
-
var nonTokenClassNames =
|
|
54657
|
+
var nonTokenClassNames = classNames76.filter(function(className) {
|
|
54607
54658
|
return className !== "token";
|
|
54608
54659
|
});
|
|
54609
54660
|
var classNamesCombinations = getClassNameCombinations(nonTokenClassNames);
|
|
@@ -54611,8 +54662,8 @@ function createStyleObject(classNames78) {
|
|
|
54611
54662
|
return _objectSpread(_objectSpread({}, styleObject), stylesheet[className]);
|
|
54612
54663
|
}, elementStyle);
|
|
54613
54664
|
}
|
|
54614
|
-
function createClassNameString(
|
|
54615
|
-
return
|
|
54665
|
+
function createClassNameString(classNames76) {
|
|
54666
|
+
return classNames76.join(" ");
|
|
54616
54667
|
}
|
|
54617
54668
|
function createChildren2(stylesheet, useInlineStyles) {
|
|
54618
54669
|
var childrenCount = 0;
|
|
@@ -54785,8 +54836,8 @@ function flattenCodeTree(tree) {
|
|
|
54785
54836
|
}));
|
|
54786
54837
|
} else if (node2.children) {
|
|
54787
54838
|
var _node$properties;
|
|
54788
|
-
var
|
|
54789
|
-
flattenCodeTree(node2.children,
|
|
54839
|
+
var classNames76 = className.concat(((_node$properties = node2.properties) === null || _node$properties === void 0 ? void 0 : _node$properties.className) || []);
|
|
54840
|
+
flattenCodeTree(node2.children, classNames76).forEach(function(i2) {
|
|
54790
54841
|
return newTree.push(i2);
|
|
54791
54842
|
});
|
|
54792
54843
|
}
|
|
@@ -55450,7 +55501,7 @@ function MarkdownCodeBlock({
|
|
|
55450
55501
|
"div",
|
|
55451
55502
|
{
|
|
55452
55503
|
...props,
|
|
55453
|
-
className:
|
|
55504
|
+
className: classNames72(
|
|
55454
55505
|
"eui-markdown-code my-6 overflow-hidden rounded-md border border-slate-700 bg-[#0d1117] text-slate-300",
|
|
55455
55506
|
className
|
|
55456
55507
|
),
|
|
@@ -55521,7 +55572,7 @@ function MarkdownInlineCode({
|
|
|
55521
55572
|
Code,
|
|
55522
55573
|
{
|
|
55523
55574
|
...props,
|
|
55524
|
-
className:
|
|
55575
|
+
className: classNames72(
|
|
55525
55576
|
"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",
|
|
55526
55577
|
className
|
|
55527
55578
|
),
|
|
@@ -55562,7 +55613,7 @@ function MarkdownLink({
|
|
|
55562
55613
|
href: safeHref,
|
|
55563
55614
|
target: resolvedTarget,
|
|
55564
55615
|
rel,
|
|
55565
|
-
className:
|
|
55616
|
+
className: classNames72(
|
|
55566
55617
|
"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",
|
|
55567
55618
|
className
|
|
55568
55619
|
),
|
|
@@ -55597,7 +55648,7 @@ function MarkdownImage({
|
|
|
55597
55648
|
title,
|
|
55598
55649
|
loading: "lazy",
|
|
55599
55650
|
decoding: "async",
|
|
55600
|
-
className:
|
|
55651
|
+
className: classNames72(
|
|
55601
55652
|
"eui-markdown-image my-6 h-auto max-w-full rounded-md border border-gray-200 dark:border-gray-700",
|
|
55602
55653
|
className
|
|
55603
55654
|
)
|
|
@@ -55614,7 +55665,7 @@ function MarkdownTable({
|
|
|
55614
55665
|
TableElement,
|
|
55615
55666
|
{
|
|
55616
55667
|
...props,
|
|
55617
|
-
className:
|
|
55668
|
+
className: classNames72(
|
|
55618
55669
|
"eui-markdown-table w-full border-collapse text-[0.925rem]",
|
|
55619
55670
|
className
|
|
55620
55671
|
),
|
|
@@ -55631,7 +55682,7 @@ function MarkdownTableCell({
|
|
|
55631
55682
|
TableCell,
|
|
55632
55683
|
{
|
|
55633
55684
|
...props,
|
|
55634
|
-
className:
|
|
55685
|
+
className: classNames72(
|
|
55635
55686
|
"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",
|
|
55636
55687
|
className
|
|
55637
55688
|
),
|
|
@@ -55648,7 +55699,7 @@ function MarkdownTableHeaderCell({
|
|
|
55648
55699
|
TableHeaderCell,
|
|
55649
55700
|
{
|
|
55650
55701
|
...props,
|
|
55651
|
-
className:
|
|
55702
|
+
className: classNames72(
|
|
55652
55703
|
"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",
|
|
55653
55704
|
className
|
|
55654
55705
|
),
|
|
@@ -55664,7 +55715,7 @@ function MarkdownTableHead({
|
|
|
55664
55715
|
TableHead,
|
|
55665
55716
|
{
|
|
55666
55717
|
...props,
|
|
55667
|
-
className:
|
|
55718
|
+
className: classNames72(
|
|
55668
55719
|
"eui-markdown-table-head bg-gray-50 dark:bg-gray-900",
|
|
55669
55720
|
className
|
|
55670
55721
|
)
|
|
@@ -55679,7 +55730,7 @@ function MarkdownTableBody({
|
|
|
55679
55730
|
TableBody,
|
|
55680
55731
|
{
|
|
55681
55732
|
...props,
|
|
55682
|
-
className:
|
|
55733
|
+
className: classNames72("eui-markdown-table-body", className)
|
|
55683
55734
|
}
|
|
55684
55735
|
);
|
|
55685
55736
|
}
|
|
@@ -55691,7 +55742,7 @@ function MarkdownTableRow({
|
|
|
55691
55742
|
TableRow,
|
|
55692
55743
|
{
|
|
55693
55744
|
...props,
|
|
55694
|
-
className:
|
|
55745
|
+
className: classNames72(
|
|
55695
55746
|
"eui-markdown-table-row even:bg-gray-50/70 dark:even:bg-gray-900/60",
|
|
55696
55747
|
className
|
|
55697
55748
|
)
|
|
@@ -55709,7 +55760,7 @@ function MarkdownBlockquote({
|
|
|
55709
55760
|
{
|
|
55710
55761
|
...props,
|
|
55711
55762
|
as: "blockquote",
|
|
55712
|
-
className:
|
|
55763
|
+
className: classNames72(
|
|
55713
55764
|
"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",
|
|
55714
55765
|
className
|
|
55715
55766
|
),
|
|
@@ -55728,7 +55779,7 @@ function MarkdownParagraph({
|
|
|
55728
55779
|
{
|
|
55729
55780
|
...props,
|
|
55730
55781
|
level: 1,
|
|
55731
|
-
className:
|
|
55782
|
+
className: classNames72("eui-markdown-paragraph my-4", className),
|
|
55732
55783
|
children: /* @__PURE__ */ jsx(Fragment, { children: children3 })
|
|
55733
55784
|
}
|
|
55734
55785
|
);
|
|
@@ -55739,7 +55790,7 @@ function MarkdownStrong({ className, ...props }) {
|
|
|
55739
55790
|
"strong",
|
|
55740
55791
|
{
|
|
55741
55792
|
...props,
|
|
55742
|
-
className:
|
|
55793
|
+
className: classNames72(
|
|
55743
55794
|
"eui-markdown-strong font-semibold text-gray-950 dark:text-gray-100",
|
|
55744
55795
|
className
|
|
55745
55796
|
)
|
|
@@ -55752,7 +55803,7 @@ function MarkdownEmphasis({ className, ...props }) {
|
|
|
55752
55803
|
"em",
|
|
55753
55804
|
{
|
|
55754
55805
|
...props,
|
|
55755
|
-
className:
|
|
55806
|
+
className: classNames72("eui-markdown-emphasis italic", className)
|
|
55756
55807
|
}
|
|
55757
55808
|
);
|
|
55758
55809
|
}
|
|
@@ -55765,7 +55816,7 @@ function MarkdownStrikethrough({
|
|
|
55765
55816
|
"del",
|
|
55766
55817
|
{
|
|
55767
55818
|
...props,
|
|
55768
|
-
className:
|
|
55819
|
+
className: classNames72(
|
|
55769
55820
|
"eui-markdown-strikethrough text-gray-500 dark:text-gray-400",
|
|
55770
55821
|
className
|
|
55771
55822
|
)
|
|
@@ -55826,7 +55877,7 @@ function MarkdownTaskCheckbox({
|
|
|
55826
55877
|
"input",
|
|
55827
55878
|
{
|
|
55828
55879
|
...props,
|
|
55829
|
-
className:
|
|
55880
|
+
className: classNames72(
|
|
55830
55881
|
"eui-markdown-task-checkbox mr-2 translate-y-px accent-blue-600",
|
|
55831
55882
|
className
|
|
55832
55883
|
)
|
|
@@ -55842,7 +55893,7 @@ function MarkdownThematicBreak({
|
|
|
55842
55893
|
"hr",
|
|
55843
55894
|
{
|
|
55844
55895
|
...props,
|
|
55845
|
-
className:
|
|
55896
|
+
className: classNames72(
|
|
55846
55897
|
"eui-markdown-thematic-break my-8 border-0 border-t border-gray-200 dark:border-gray-800",
|
|
55847
55898
|
className
|
|
55848
55899
|
)
|
|
@@ -55859,7 +55910,7 @@ function MarkdownDetails({ className, ...props }) {
|
|
|
55859
55910
|
"details",
|
|
55860
55911
|
{
|
|
55861
55912
|
...props,
|
|
55862
|
-
className:
|
|
55913
|
+
className: classNames72(
|
|
55863
55914
|
"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",
|
|
55864
55915
|
className
|
|
55865
55916
|
)
|
|
@@ -55871,7 +55922,7 @@ function MarkdownSummary({ className, ...props }) {
|
|
|
55871
55922
|
"summary",
|
|
55872
55923
|
{
|
|
55873
55924
|
...props,
|
|
55874
|
-
className:
|
|
55925
|
+
className: classNames72(
|
|
55875
55926
|
"eui-markdown-summary cursor-pointer font-semibold text-gray-950 dark:text-gray-100",
|
|
55876
55927
|
className
|
|
55877
55928
|
)
|
|
@@ -55883,7 +55934,7 @@ function MarkdownFigure({ className, ...props }) {
|
|
|
55883
55934
|
"figure",
|
|
55884
55935
|
{
|
|
55885
55936
|
...props,
|
|
55886
|
-
className:
|
|
55937
|
+
className: classNames72("eui-markdown-figure my-6", className)
|
|
55887
55938
|
}
|
|
55888
55939
|
);
|
|
55889
55940
|
}
|
|
@@ -55895,7 +55946,7 @@ function MarkdownFigcaption({
|
|
|
55895
55946
|
return /* @__PURE__ */ jsx("figcaption", { ...props, className: "eui-markdown-figcaption mt-2 text-center", children: /* @__PURE__ */ jsx(
|
|
55896
55947
|
Caption,
|
|
55897
55948
|
{
|
|
55898
|
-
className:
|
|
55949
|
+
className: classNames72(
|
|
55899
55950
|
"text-gray-500 opacity-100 dark:text-gray-400",
|
|
55900
55951
|
className
|
|
55901
55952
|
),
|
|
@@ -56294,14 +56345,14 @@ function MarkdownRenderer({
|
|
|
56294
56345
|
return /* @__PURE__ */ jsx(
|
|
56295
56346
|
"div",
|
|
56296
56347
|
{
|
|
56297
|
-
className:
|
|
56348
|
+
className: classNames72(
|
|
56298
56349
|
"eui-markdown markdown-body break-words bg-transparent text-[0.95rem] leading-7 text-gray-800 dark:text-gray-300",
|
|
56299
56350
|
className
|
|
56300
56351
|
),
|
|
56301
56352
|
children: /* @__PURE__ */ jsx(
|
|
56302
56353
|
"div",
|
|
56303
56354
|
{
|
|
56304
|
-
className:
|
|
56355
|
+
className: classNames72(
|
|
56305
56356
|
"[&>*:first-child]:mt-0 [&>*:last-child]:mb-0",
|
|
56306
56357
|
contentClassName
|
|
56307
56358
|
),
|
|
@@ -56379,11 +56430,11 @@ function MarkdownTOCItem({
|
|
|
56379
56430
|
onClick: () => onSelect?.(heading3),
|
|
56380
56431
|
"aria-current": active ? "location" : void 0,
|
|
56381
56432
|
title: label,
|
|
56382
|
-
className:
|
|
56433
|
+
className: classNames72(
|
|
56383
56434
|
"eui-markdown-toc-item",
|
|
56384
56435
|
"block w-full text-left text-sm transition-all ease-in-out duration-150",
|
|
56385
56436
|
"hover:text-primary",
|
|
56386
|
-
active ?
|
|
56437
|
+
active ? classNames72("text-primary font-semibold underline", activeClassName) : classNames72("text-gray-500 dark:text-gray-400", inactiveClassName),
|
|
56387
56438
|
className
|
|
56388
56439
|
),
|
|
56389
56440
|
style: {
|
|
@@ -56449,7 +56500,7 @@ function MarkdownTOC({
|
|
|
56449
56500
|
return emptyState ? /* @__PURE__ */ jsx(
|
|
56450
56501
|
"div",
|
|
56451
56502
|
{
|
|
56452
|
-
className:
|
|
56503
|
+
className: classNames72(
|
|
56453
56504
|
"eui-markdown-toc",
|
|
56454
56505
|
"text-sm text-gray-500 dark:text-gray-400",
|
|
56455
56506
|
className
|
|
@@ -56469,7 +56520,7 @@ function MarkdownTOC({
|
|
|
56469
56520
|
{
|
|
56470
56521
|
type: "button",
|
|
56471
56522
|
onClick: () => setCollapsed((value) => !value),
|
|
56472
|
-
className:
|
|
56523
|
+
className: classNames72(
|
|
56473
56524
|
"eui-markdown-toc-title",
|
|
56474
56525
|
"flex w-full items-center justify-between gap-2 text-left",
|
|
56475
56526
|
"text-sm font-semibold uppercase tracking-wide",
|
|
@@ -56482,7 +56533,7 @@ function MarkdownTOC({
|
|
|
56482
56533
|
/* @__PURE__ */ jsx(
|
|
56483
56534
|
"span",
|
|
56484
56535
|
{
|
|
56485
|
-
className:
|
|
56536
|
+
className: classNames72(
|
|
56486
56537
|
"text-xs opacity-60 transition-transform duration-150",
|
|
56487
56538
|
!collapsed && "rotate-90"
|
|
56488
56539
|
),
|
|
@@ -56495,7 +56546,7 @@ function MarkdownTOC({
|
|
|
56495
56546
|
) : /* @__PURE__ */ jsx(
|
|
56496
56547
|
"h2",
|
|
56497
56548
|
{
|
|
56498
|
-
className:
|
|
56549
|
+
className: classNames72(
|
|
56499
56550
|
"eui-markdown-toc-title",
|
|
56500
56551
|
"text-sm font-semibold uppercase tracking-wide",
|
|
56501
56552
|
"text-gray-900 dark:text-gray-100",
|
|
@@ -56507,7 +56558,7 @@ function MarkdownTOC({
|
|
|
56507
56558
|
!collapsed ? /* @__PURE__ */ jsx(
|
|
56508
56559
|
"nav",
|
|
56509
56560
|
{
|
|
56510
|
-
className:
|
|
56561
|
+
className: classNames72(
|
|
56511
56562
|
"eui-markdown-toc-list",
|
|
56512
56563
|
"space-y-1",
|
|
56513
56564
|
listClassName
|
|
@@ -56531,7 +56582,7 @@ function MarkdownTOC({
|
|
|
56531
56582
|
}
|
|
56532
56583
|
) : null
|
|
56533
56584
|
] });
|
|
56534
|
-
return /* @__PURE__ */ jsx("aside", { className:
|
|
56585
|
+
return /* @__PURE__ */ jsx("aside", { className: classNames72("eui-markdown-toc", "space-y-4", className), children: content3 });
|
|
56535
56586
|
}
|
|
56536
56587
|
var MarkdownTOC_default = MarkdownTOC;
|
|
56537
56588
|
var DEFAULT_MARKDOWN_TOOLBAR_ACTIONS = [
|
|
@@ -56630,7 +56681,7 @@ function MarkdownToolbar({
|
|
|
56630
56681
|
return /* @__PURE__ */ jsxs(
|
|
56631
56682
|
"div",
|
|
56632
56683
|
{
|
|
56633
|
-
className:
|
|
56684
|
+
className: classNames72(
|
|
56634
56685
|
"eui-markdown-toolbar",
|
|
56635
56686
|
"flex flex-wrap items-center gap-1 border-b border-gray-200 bg-gray-50 p-2",
|
|
56636
56687
|
"dark:border-gray-700 dark:bg-gray-900",
|
|
@@ -56644,7 +56695,7 @@ function MarkdownToolbar({
|
|
|
56644
56695
|
disabled: disabled || actionsDisabled,
|
|
56645
56696
|
title: action.shortcut ? `${action.title || action.label} (${action.shortcut})` : action.title || action.label,
|
|
56646
56697
|
onClick: () => onAction?.(action.id),
|
|
56647
|
-
className:
|
|
56698
|
+
className: classNames72(
|
|
56648
56699
|
"eui-markdown-toolbar-button",
|
|
56649
56700
|
"inline-flex items-center justify-center rounded border border-transparent",
|
|
56650
56701
|
"text-gray-700 transition-colors hover:border-gray-300 hover:bg-white",
|
|
@@ -56664,7 +56715,7 @@ function MarkdownToolbar({
|
|
|
56664
56715
|
disabled,
|
|
56665
56716
|
onClick: onViewModeToggle,
|
|
56666
56717
|
title: isPreviewMode ? "Switch to Markdown syntax" : "Switch to preview",
|
|
56667
|
-
className:
|
|
56718
|
+
className: classNames72(
|
|
56668
56719
|
"eui-markdown-view-toggle",
|
|
56669
56720
|
"inline-flex items-center justify-center rounded border font-medium transition-colors",
|
|
56670
56721
|
"border-gray-300 bg-white text-gray-700 hover:bg-gray-100",
|
|
@@ -56921,7 +56972,7 @@ function MarkdownSourceEditor({
|
|
|
56921
56972
|
return /* @__PURE__ */ jsxs(
|
|
56922
56973
|
"div",
|
|
56923
56974
|
{
|
|
56924
|
-
className:
|
|
56975
|
+
className: classNames72(
|
|
56925
56976
|
"eui-markdown-editor",
|
|
56926
56977
|
"overflow-hidden rounded border border-gray-300 bg-white",
|
|
56927
56978
|
"dark:border-gray-700 dark:bg-gray-950",
|
|
@@ -56937,7 +56988,7 @@ function MarkdownSourceEditor({
|
|
|
56937
56988
|
actionsDisabled: readOnly,
|
|
56938
56989
|
viewMode: currentViewMode,
|
|
56939
56990
|
showViewModeToggle,
|
|
56940
|
-
className:
|
|
56991
|
+
className: classNames72(toolbarClassName, toolbarProps?.className),
|
|
56941
56992
|
onViewModeToggle: toggleViewMode,
|
|
56942
56993
|
onAction: handleToolbarAction
|
|
56943
56994
|
}
|
|
@@ -56945,7 +56996,7 @@ function MarkdownSourceEditor({
|
|
|
56945
56996
|
currentViewMode === "preview" ? /* @__PURE__ */ jsx(
|
|
56946
56997
|
"div",
|
|
56947
56998
|
{
|
|
56948
|
-
className:
|
|
56999
|
+
className: classNames72(
|
|
56949
57000
|
"eui-markdown-editor-preview",
|
|
56950
57001
|
"min-h-[260px] p-4",
|
|
56951
57002
|
previewClassName
|
|
@@ -56968,7 +57019,7 @@ function MarkdownSourceEditor({
|
|
|
56968
57019
|
onChange: (event) => updateValue(event.target.value),
|
|
56969
57020
|
onBlur,
|
|
56970
57021
|
onKeyDown: handleKeyDown,
|
|
56971
|
-
className:
|
|
57022
|
+
className: classNames72(
|
|
56972
57023
|
"eui-markdown-source-textarea",
|
|
56973
57024
|
"block w-full resize-y border-0 bg-transparent p-4 font-mono text-sm leading-7",
|
|
56974
57025
|
"text-gray-900 outline-none placeholder:text-gray-400",
|
|
@@ -56998,7 +57049,7 @@ function MarkdownPreviewPane({
|
|
|
56998
57049
|
return /* @__PURE__ */ jsx(
|
|
56999
57050
|
"div",
|
|
57000
57051
|
{
|
|
57001
|
-
className:
|
|
57052
|
+
className: classNames72(
|
|
57002
57053
|
"eui-markdown-preview-pane",
|
|
57003
57054
|
"rounded border border-gray-300 bg-white p-4",
|
|
57004
57055
|
"dark:border-gray-700 dark:bg-gray-950",
|
|
@@ -57048,7 +57099,7 @@ function MarkdownSplitEditor({
|
|
|
57048
57099
|
return /* @__PURE__ */ jsxs(
|
|
57049
57100
|
"div",
|
|
57050
57101
|
{
|
|
57051
|
-
className:
|
|
57102
|
+
className: classNames72(
|
|
57052
57103
|
"eui-markdown-split-editor",
|
|
57053
57104
|
"grid gap-4",
|
|
57054
57105
|
isHorizontal ? "grid-cols-1 lg:grid-cols-2" : "grid-cols-1",
|
|
@@ -57058,7 +57109,7 @@ function MarkdownSplitEditor({
|
|
|
57058
57109
|
/* @__PURE__ */ jsxs(
|
|
57059
57110
|
"div",
|
|
57060
57111
|
{
|
|
57061
|
-
className:
|
|
57112
|
+
className: classNames72(
|
|
57062
57113
|
"eui-markdown-split-source",
|
|
57063
57114
|
"min-w-0 space-y-2",
|
|
57064
57115
|
sourceWrapperClassName
|
|
@@ -57082,7 +57133,7 @@ function MarkdownSplitEditor({
|
|
|
57082
57133
|
/* @__PURE__ */ jsxs(
|
|
57083
57134
|
"div",
|
|
57084
57135
|
{
|
|
57085
|
-
className:
|
|
57136
|
+
className: classNames72(
|
|
57086
57137
|
"eui-markdown-split-preview",
|
|
57087
57138
|
"min-w-0 space-y-2",
|
|
57088
57139
|
previewWrapperClassName
|
|
@@ -57172,7 +57223,7 @@ function MarkdownField({
|
|
|
57172
57223
|
return /* @__PURE__ */ jsxs(
|
|
57173
57224
|
"div",
|
|
57174
57225
|
{
|
|
57175
|
-
className:
|
|
57226
|
+
className: classNames72(
|
|
57176
57227
|
"eui-markdown-field",
|
|
57177
57228
|
"relative space-y-2",
|
|
57178
57229
|
wrapperClassName
|
|
@@ -57182,7 +57233,7 @@ function MarkdownField({
|
|
|
57182
57233
|
"label",
|
|
57183
57234
|
{
|
|
57184
57235
|
htmlFor: editorProps.id || field.name,
|
|
57185
|
-
className:
|
|
57236
|
+
className: classNames72(
|
|
57186
57237
|
"block text-sm font-medium text-gray-700 dark:text-gray-200",
|
|
57187
57238
|
labelClassName
|
|
57188
57239
|
),
|
|
@@ -57207,7 +57258,7 @@ function MarkdownField({
|
|
|
57207
57258
|
helperText && !hasError ? /* @__PURE__ */ jsx(
|
|
57208
57259
|
"p",
|
|
57209
57260
|
{
|
|
57210
|
-
className:
|
|
57261
|
+
className: classNames72(
|
|
57211
57262
|
"text-sm text-gray-500 dark:text-gray-400",
|
|
57212
57263
|
helperTextClassName
|
|
57213
57264
|
),
|
|
@@ -57262,7 +57313,7 @@ function CodeMirrorMarkdownEditor({
|
|
|
57262
57313
|
{
|
|
57263
57314
|
id: id2,
|
|
57264
57315
|
"data-name": name2,
|
|
57265
|
-
className:
|
|
57316
|
+
className: classNames72(
|
|
57266
57317
|
"eui-markdown-adapter",
|
|
57267
57318
|
"eui-markdown-codemirror-adapter",
|
|
57268
57319
|
"overflow-hidden rounded border border-gray-300 bg-white",
|
|
@@ -57296,7 +57347,7 @@ function CodeMirrorMarkdownEditor({
|
|
|
57296
57347
|
closeBrackets: true,
|
|
57297
57348
|
bracketMatching: true
|
|
57298
57349
|
},
|
|
57299
|
-
className:
|
|
57350
|
+
className: classNames72("eui-markdown-codemirror", editorClassName),
|
|
57300
57351
|
onChange: updateValue,
|
|
57301
57352
|
onBlur
|
|
57302
57353
|
}
|
|
@@ -57391,7 +57442,7 @@ function createDefaultPlugins({
|
|
|
57391
57442
|
...showToolbar ? [
|
|
57392
57443
|
toolbarPlugin({
|
|
57393
57444
|
toolbarContents: toolbarContents ?? DefaultToolbar,
|
|
57394
|
-
toolbarClassName:
|
|
57445
|
+
toolbarClassName: classNames72(
|
|
57395
57446
|
"eui-markdown-mdx-toolbar",
|
|
57396
57447
|
toolbarClassName
|
|
57397
57448
|
),
|
|
@@ -57508,7 +57559,7 @@ var MDXMarkdownEditor = forwardRef(
|
|
|
57508
57559
|
"aria-required": required || void 0,
|
|
57509
57560
|
"aria-invalid": invalid || void 0,
|
|
57510
57561
|
onBlurCapture: handleBlur,
|
|
57511
|
-
className:
|
|
57562
|
+
className: classNames72(
|
|
57512
57563
|
"eui-markdown-adapter",
|
|
57513
57564
|
"eui-markdown-mdx-adapter",
|
|
57514
57565
|
dark && ["dark", "dark-theme"],
|
|
@@ -57526,8 +57577,8 @@ var MDXMarkdownEditor = forwardRef(
|
|
|
57526
57577
|
markdown: currentValue ?? "",
|
|
57527
57578
|
readOnly: disabled || readOnly,
|
|
57528
57579
|
plugins: plugins ?? defaultPlugins,
|
|
57529
|
-
className:
|
|
57530
|
-
contentEditableClassName:
|
|
57580
|
+
className: classNames72("eui-markdown-mdx-editor", editorClassName),
|
|
57581
|
+
contentEditableClassName: classNames72(
|
|
57531
57582
|
"eui-markdown-mdx-content",
|
|
57532
57583
|
contentEditableClassName
|
|
57533
57584
|
),
|
|
@@ -57564,7 +57615,7 @@ function MDXMarkdownField({
|
|
|
57564
57615
|
return /* @__PURE__ */ jsxs(
|
|
57565
57616
|
"div",
|
|
57566
57617
|
{
|
|
57567
|
-
className:
|
|
57618
|
+
className: classNames72(
|
|
57568
57619
|
"eui-markdown-mdx-field",
|
|
57569
57620
|
"relative space-y-2",
|
|
57570
57621
|
wrapperClassName
|
|
@@ -57574,7 +57625,7 @@ function MDXMarkdownField({
|
|
|
57574
57625
|
"label",
|
|
57575
57626
|
{
|
|
57576
57627
|
htmlFor: editorId,
|
|
57577
|
-
className:
|
|
57628
|
+
className: classNames72(
|
|
57578
57629
|
"block text-sm font-medium text-gray-700 dark:text-gray-200",
|
|
57579
57630
|
labelClassName
|
|
57580
57631
|
),
|
|
@@ -57608,7 +57659,7 @@ function MDXMarkdownField({
|
|
|
57608
57659
|
"p",
|
|
57609
57660
|
{
|
|
57610
57661
|
id: helperId,
|
|
57611
|
-
className:
|
|
57662
|
+
className: classNames72(
|
|
57612
57663
|
"text-sm text-gray-500 dark:text-gray-400",
|
|
57613
57664
|
helperTextClassName
|
|
57614
57665
|
),
|
|
@@ -57668,10 +57719,10 @@ function MarkdownLayout({
|
|
|
57668
57719
|
};
|
|
57669
57720
|
const hasLeftToc = hasToc && tocPosition === "left";
|
|
57670
57721
|
const hasRightToc = hasToc && tocPosition === "right";
|
|
57671
|
-
return /* @__PURE__ */ jsx("div", { className:
|
|
57722
|
+
return /* @__PURE__ */ jsx("div", { className: classNames72("eui-markdown-layout", "w-full", className), children: /* @__PURE__ */ jsxs(
|
|
57672
57723
|
"div",
|
|
57673
57724
|
{
|
|
57674
|
-
className:
|
|
57725
|
+
className: classNames72(
|
|
57675
57726
|
"eui-markdown-layout-container",
|
|
57676
57727
|
"mx-auto w-full px-4 sm:px-6 lg:px-8",
|
|
57677
57728
|
containerClassName
|
|
@@ -57683,7 +57734,7 @@ function MarkdownLayout({
|
|
|
57683
57734
|
header ? /* @__PURE__ */ jsx(
|
|
57684
57735
|
"header",
|
|
57685
57736
|
{
|
|
57686
|
-
className:
|
|
57737
|
+
className: classNames72(
|
|
57687
57738
|
"eui-markdown-layout-header",
|
|
57688
57739
|
"mb-8",
|
|
57689
57740
|
headerClassName
|
|
@@ -57694,7 +57745,7 @@ function MarkdownLayout({
|
|
|
57694
57745
|
/* @__PURE__ */ jsxs(
|
|
57695
57746
|
"div",
|
|
57696
57747
|
{
|
|
57697
|
-
className:
|
|
57748
|
+
className: classNames72(
|
|
57698
57749
|
"eui-markdown-layout-grid",
|
|
57699
57750
|
"grid grid-cols-1 gap-8",
|
|
57700
57751
|
hasSidebar && hasToc && "xl:grid-cols-[16rem_minmax(0,1fr)_18rem]",
|
|
@@ -57707,7 +57758,7 @@ function MarkdownLayout({
|
|
|
57707
57758
|
hasSidebar ? /* @__PURE__ */ jsx(
|
|
57708
57759
|
"aside",
|
|
57709
57760
|
{
|
|
57710
|
-
className:
|
|
57761
|
+
className: classNames72(
|
|
57711
57762
|
"eui-markdown-layout-sidebar",
|
|
57712
57763
|
"min-w-0",
|
|
57713
57764
|
stickySidebar && "lg:sticky lg:self-start",
|
|
@@ -57720,7 +57771,7 @@ function MarkdownLayout({
|
|
|
57720
57771
|
hasLeftToc ? /* @__PURE__ */ jsx(
|
|
57721
57772
|
"aside",
|
|
57722
57773
|
{
|
|
57723
|
-
className:
|
|
57774
|
+
className: classNames72(
|
|
57724
57775
|
"eui-markdown-layout-toc",
|
|
57725
57776
|
"min-w-0",
|
|
57726
57777
|
stickyToc && "lg:sticky lg:self-start",
|
|
@@ -57733,7 +57784,7 @@ function MarkdownLayout({
|
|
|
57733
57784
|
/* @__PURE__ */ jsx(
|
|
57734
57785
|
"main",
|
|
57735
57786
|
{
|
|
57736
|
-
className:
|
|
57787
|
+
className: classNames72(
|
|
57737
57788
|
"eui-markdown-layout-content",
|
|
57738
57789
|
"min-w-0",
|
|
57739
57790
|
contentClassName
|
|
@@ -57744,7 +57795,7 @@ function MarkdownLayout({
|
|
|
57744
57795
|
hasRightToc ? /* @__PURE__ */ jsx(
|
|
57745
57796
|
"aside",
|
|
57746
57797
|
{
|
|
57747
|
-
className:
|
|
57798
|
+
className: classNames72(
|
|
57748
57799
|
"eui-markdown-layout-toc",
|
|
57749
57800
|
"min-w-0",
|
|
57750
57801
|
stickyToc && "lg:sticky lg:self-start",
|
|
@@ -57757,7 +57808,7 @@ function MarkdownLayout({
|
|
|
57757
57808
|
hasAside ? /* @__PURE__ */ jsx(
|
|
57758
57809
|
"aside",
|
|
57759
57810
|
{
|
|
57760
|
-
className:
|
|
57811
|
+
className: classNames72(
|
|
57761
57812
|
"eui-markdown-layout-aside",
|
|
57762
57813
|
"min-w-0",
|
|
57763
57814
|
stickyAside && "2xl:sticky 2xl:self-start",
|
|
@@ -57773,7 +57824,7 @@ function MarkdownLayout({
|
|
|
57773
57824
|
footer2 ? /* @__PURE__ */ jsx(
|
|
57774
57825
|
"footer",
|
|
57775
57826
|
{
|
|
57776
|
-
className:
|
|
57827
|
+
className: classNames72(
|
|
57777
57828
|
"eui-markdown-layout-footer",
|
|
57778
57829
|
"mt-10",
|
|
57779
57830
|
footerClassName
|
|
@@ -57810,7 +57861,7 @@ function MarkdownDocsLayoutContent({
|
|
|
57810
57861
|
const resolvedHeader = header ?? (title || description || headerActions ? /* @__PURE__ */ jsx(
|
|
57811
57862
|
"div",
|
|
57812
57863
|
{
|
|
57813
|
-
className:
|
|
57864
|
+
className: classNames72(
|
|
57814
57865
|
"eui-markdown-docs-header",
|
|
57815
57866
|
"flex flex-col gap-4 border-b border-gray-200 pb-6",
|
|
57816
57867
|
"dark:border-gray-700",
|
|
@@ -57821,7 +57872,7 @@ function MarkdownDocsLayoutContent({
|
|
|
57821
57872
|
title ? /* @__PURE__ */ jsx(
|
|
57822
57873
|
"h1",
|
|
57823
57874
|
{
|
|
57824
|
-
className:
|
|
57875
|
+
className: classNames72(
|
|
57825
57876
|
"eui-markdown-docs-title",
|
|
57826
57877
|
"text-3xl font-bold tracking-tight text-gray-950",
|
|
57827
57878
|
"dark:text-gray-50",
|
|
@@ -57833,7 +57884,7 @@ function MarkdownDocsLayoutContent({
|
|
|
57833
57884
|
description ? /* @__PURE__ */ jsx(
|
|
57834
57885
|
"div",
|
|
57835
57886
|
{
|
|
57836
|
-
className:
|
|
57887
|
+
className: classNames72(
|
|
57837
57888
|
"eui-markdown-docs-description",
|
|
57838
57889
|
"max-w-3xl text-base leading-7 text-gray-600",
|
|
57839
57890
|
"dark:text-gray-400",
|
|
@@ -57921,7 +57972,7 @@ function GenericLayout({
|
|
|
57921
57972
|
return /* @__PURE__ */ jsx(ThemeProvider, { defaultTheme, children: /* @__PURE__ */ jsx(
|
|
57922
57973
|
"div",
|
|
57923
57974
|
{
|
|
57924
|
-
className:
|
|
57975
|
+
className: classNames72({
|
|
57925
57976
|
[`${styles}`]: styles
|
|
57926
57977
|
}),
|
|
57927
57978
|
children: children3
|
|
@@ -57970,7 +58021,7 @@ function SidemenuLayout({ data, children: children3 }) {
|
|
|
57970
58021
|
return /* @__PURE__ */ jsx(DefaultLayout_default, { children: /* @__PURE__ */ jsxs(
|
|
57971
58022
|
"div",
|
|
57972
58023
|
{
|
|
57973
|
-
className:
|
|
58024
|
+
className: classNames72({
|
|
57974
58025
|
grid: true,
|
|
57975
58026
|
"grid-cols-7 gap-10": !isMobile,
|
|
57976
58027
|
"grid-cols-1 gap-": isMobile
|
|
@@ -58050,6 +58101,6 @@ function ScrollToTop({
|
|
|
58050
58101
|
}
|
|
58051
58102
|
var ScrollToTop_default = ScrollToTop;
|
|
58052
58103
|
|
|
58053
|
-
export { Accordion_default as Accordion, AnalyticsContext, AnalyticsProvider, AreaPlot, AsyncComponentWrapper_default as AsyncComponentWrapper, Avatar, Backdrop_default as Backdrop, Badge, BarPlot, BaseChartDataSource, Block_default as Block, BlockGroup_default as BlockGroup, BoxNav_default as BoxNav, BoxNavItem_default as BoxNavItem, Brand, Breadcrumb, BreadcrumbItem_default as BreadcrumbItem, Button_web_default as Button, CHART_COLOR_PALETTE, CHART_DARK_THEME, CHART_DATA_MODES, CHART_DEFAULT_ACTIVE_DOT_RADIUS, CHART_DEFAULT_ANIMATION_DURATION, CHART_DEFAULT_BAR_RADIUS, CHART_DEFAULT_HEIGHT, CHART_DEFAULT_HORIZONTAL_BAR_RADIUS, CHART_DEFAULT_MARGIN, CHART_DEFAULT_MAX_REALTIME_POINTS, CHART_DEFAULT_POLLING_INTERVAL, CHART_DEFAULT_STROKE_WIDTH, CHART_EMPTY_MESSAGE, CHART_ERROR_MESSAGE, CHART_LIGHT_THEME, CHART_LOADING_MESSAGE, CHART_STATUSES, CHART_STATUS_COLORS, CHART_VALUE_FORMATS, Caption, Card_default as Card, CardContent_default as CardContent, CardFooter_default as CardFooter, CardHeader_default as CardHeader, Chapter, Chart, ChartContainer, ChartContext, ChartEmptyState, ChartErrorState, ChartHeader, ChartLegend, ChartLoadingState, ChartPanel, ChartPlotFrame, ChartProvider, ChartToolbar, ChartTooltip, Checkbox, Chip, CloudinaryImage2 as CloudinaryImage, CloudinaryProvider, CloudinaryVideo, Code, CodeMirrorMarkdownEditor_default as CodeMirrorMarkdownEditor, CommentThread_default as CommentThread, ConfigBootstrap_default as ConfigBootstrap, Configurator, ConfiguratorError, Content, ContentArea_default as ContentArea, CookieBanner, CookiePreferencesModal, DEFAULT_ANALYTICS_CONFIG, DEFAULT_COOKIE_CATEGORIES, DEFAULT_REVIEW_THREAD_CONFIG, DataView2 as DataView, DataViewContent, DataViewFilterGroup, DataViewFooter, DataViewHeader, DataViewPageSize, DataViewPagination, DataViewProvider, DataViewSearch, DataViewSidebar, DataViewSort, DataViewTable_default as DataViewTable, DateSelector_default as DateSelector, DefaultLayout_default as DefaultLayout, Display, DocumentationPanel_default as DocumentationPanel, Drawer, DrawerToggler_default as DrawerToggler, EUIDevLayout_default as EUIDevLayout, EUIProvider, EUI_ANALYTICS_ANONYMOUS_ID_STORAGE_KEY, EUI_ANALYTICS_CONSENT_STORAGE_KEY, EUI_ANALYTICS_QUEUE_STORAGE_KEY, EnvErrorScreen_default as EnvErrorScreen, Flag, Flex, FlexCol_default as FlexCol, FlexRow_default as FlexRow, Footer, FooterNav_default as FooterNav, FooterNavGroup_default as FooterNavGroup, FooterNavItem, FooterNavItemContext, FooterNavItemTitle, Form,
|
|
58104
|
+
export { Accordion_default as Accordion, AnalyticsContext, AnalyticsProvider, AreaPlot, AsyncComponentWrapper_default as AsyncComponentWrapper, Avatar, Backdrop_default as Backdrop, Badge, BarPlot, BaseChartDataSource, Block_default as Block, BlockGroup_default as BlockGroup, BoxNav_default as BoxNav, BoxNavItem_default as BoxNavItem, Brand, Breadcrumb, BreadcrumbItem_default as BreadcrumbItem, Button_web_default as Button, CHART_COLOR_PALETTE, CHART_DARK_THEME, CHART_DATA_MODES, CHART_DEFAULT_ACTIVE_DOT_RADIUS, CHART_DEFAULT_ANIMATION_DURATION, CHART_DEFAULT_BAR_RADIUS, CHART_DEFAULT_HEIGHT, CHART_DEFAULT_HORIZONTAL_BAR_RADIUS, CHART_DEFAULT_MARGIN, CHART_DEFAULT_MAX_REALTIME_POINTS, CHART_DEFAULT_POLLING_INTERVAL, CHART_DEFAULT_STROKE_WIDTH, CHART_EMPTY_MESSAGE, CHART_ERROR_MESSAGE, CHART_LIGHT_THEME, CHART_LOADING_MESSAGE, CHART_STATUSES, CHART_STATUS_COLORS, CHART_VALUE_FORMATS, Caption, Card_default as Card, CardContent_default as CardContent, CardFooter_default as CardFooter, CardHeader_default as CardHeader, Chapter, Chart, ChartContainer, ChartContext, ChartEmptyState, ChartErrorState, ChartHeader, ChartLegend, ChartLoadingState, ChartPanel, ChartPlotFrame, ChartProvider, ChartToolbar, ChartTooltip, Checkbox, Chip, CloudinaryImage2 as CloudinaryImage, CloudinaryProvider, CloudinaryVideo, Code, CodeMirrorMarkdownEditor_default as CodeMirrorMarkdownEditor, CommentThread_default as CommentThread, ConfigBootstrap_default as ConfigBootstrap, Configurator, ConfiguratorError, Content, ContentArea_default as ContentArea, CookieBanner, CookiePreferencesModal, DEFAULT_ANALYTICS_CONFIG, DEFAULT_COOKIE_CATEGORIES, DEFAULT_REVIEW_THREAD_CONFIG, DataView2 as DataView, DataViewContent, DataViewFilterGroup, DataViewFooter, DataViewHeader, DataViewPageSize, DataViewPagination, DataViewProvider, DataViewSearch, DataViewSidebar, DataViewSort, DataViewTable_default as DataViewTable, DateSelector_default as DateSelector, DefaultLayout_default as DefaultLayout, Display, DocumentationPanel_default as DocumentationPanel, Drawer, DrawerToggler_default as DrawerToggler, EUIDevLayout_default as EUIDevLayout, EUIProvider, EUI_ANALYTICS_ANONYMOUS_ID_STORAGE_KEY, EUI_ANALYTICS_CONSENT_STORAGE_KEY, EUI_ANALYTICS_QUEUE_STORAGE_KEY, EnvErrorScreen_default as EnvErrorScreen, Flag, Flex, FlexCol_default as FlexCol, FlexRow_default as FlexRow, Footer, FooterNav_default as FooterNav, FooterNavGroup_default as FooterNavGroup, FooterNavItem, FooterNavItemContext, FooterNavItemTitle, Form, FormResponse, GaugePlot, GenericLayout_default as GenericLayout, GlowWrapper_default as GlowWrapper, Graph, GraphEdge, GraphNode, GraphRenderer, Grid_default as Grid, Header, HeaderNav_default as HeaderNav, HeaderNavGroup_default as HeaderNavGroup, HeaderNavItem, HeaderNavItemContext, HeaderNavItemTitle, HomeLayout_default as HomeLayout, Image2 as Image, ImageInput_default as ImageInput, InfiniteScrollTrigger_default as InfiniteScrollTrigger, Info, Input, InputFile, InputLabel, InputList, InputListGroup, InputResponse, Label, Layout, Lead, LinePlot, Link, List, ListItem, ListItemElement, ListRoot, MDXMarkdownEditor_default as MDXMarkdownEditor, MDXMarkdownField_default as MDXMarkdownField, MarkdownBlockquote_default as MarkdownBlockquote, MarkdownBreak_default as MarkdownBreak, MarkdownCodeBlock_default as MarkdownCodeBlock, MarkdownContext, MarkdownDetails, MarkdownDocsLayout_default as MarkdownDocsLayout, MarkdownEditor_default as MarkdownEditor, MarkdownEmphasis_default as MarkdownEmphasis, MarkdownField_default as MarkdownField, MarkdownFigcaption, MarkdownFigure, MarkdownHeading_default as MarkdownHeadingComponent, MarkdownImage_default as MarkdownImage, MarkdownInlineCode_default as MarkdownInlineCode, MarkdownLayout_default as MarkdownLayout, MarkdownLink_default as MarkdownLink, MarkdownListItem_default as MarkdownListItem, MarkdownOrderedList, MarkdownParagraph_default as MarkdownParagraph, MarkdownPreviewPane_default as MarkdownPreviewPane, MarkdownProvider_default as MarkdownProvider, MarkdownRenderer_default as MarkdownRenderer, MarkdownSourceEditor_default as MarkdownSourceEditor, MarkdownSplitEditor_default as MarkdownSplitEditor, MarkdownStrikethrough_default as MarkdownStrikethrough, MarkdownStrong_default as MarkdownStrong, MarkdownSummary, MarkdownTOC_default as MarkdownTOC, MarkdownTOCItem_default as MarkdownTOCItem, MarkdownTable_default as MarkdownTable, MarkdownTableBody, MarkdownTableCell, MarkdownTableHead, MarkdownTableHeaderCell, MarkdownTableRow, MarkdownTaskCheckbox_default as MarkdownTaskCheckbox, MarkdownThematicBreak_default as MarkdownThematicBreak, MarkdownToolbar_default as MarkdownToolbar, MarkdownUnorderedList, MarkdownViewer_default as MarkdownViewer, Menu, MenuGroup, MenuItem, MenuItemTitle, Modal_default as Modal, MotionSurface_default as MotionSurface, MultiImageInput_default as MultiImageInput, NumericRating, Overline, Paragraph, PiePlot, PollingChartDataSource, PreviewSwitch, PriceTag, ProgressBar, ProgressBarRating, Quote, Radio_default as Radio, RealtimeChartDataSource, ReviewThread_default as ReviewThread, RouteTab_default as RouteTab, RouteTabs_default as RouteTabs, ScatterPlot, ScrollToTop_default as ScrollToTop, Section, Select_default as Select, ShapeSwitch, ShowMore_default as ShowMore, Sidebar_default as Sidebar, SidebarLayout_default as SidebarLayout, SidemenuLayout_default as SidemenuLayout, Skeleton, Slider_default as Slider, Spinner, StarRating, StarRatingDistribution_default as StarRatingDistribution, StarRatingInput_default as StarRatingInput, StatPlot, StaticChartDataSource, Switch_default as Switch, TNDropdown, TNDropdownItem, TNDropdownTitle, TNGroup, Table, TableBody, TableCell, TableElement, TableFrame, TableHead, TableHeaderCell, TableRow, Tag, Tags_default as Tags, TextArea_default as TextArea, ThemeContext, ThemeProvider, ThemeSelect, ThemeSwitch, TitleBanner, Toast, Tooltip6 as Tooltip, TopNav, Transition, TransitionAccordion_default as TransitionAccordion, TransitionBase_default as TransitionBase, TransitionDropdown_default as TransitionDropdown, TransitionFade_default as TransitionFade, TransitionFadeIn_default as TransitionFadeIn, TransitionScale_default as TransitionScale, TransitionSlide_default as TransitionSlide, Typography, UnderConstructionBanner, ValueBadge, WorldMap, WorldMapCountryTable, YoutubeVideo, YoutubeVideo as YoutubeVideoPlayer, addReplyToCache, addReviewReply, appendReview, applyReactionState, assertAbsoluteURL, buildURL, canDeleteReview, canDeleteReviewReply, canEditReview, canEditReviewReply, canReplyToReview, canReportReview, canReportReviewReply, clearAnalyticsQueueStorage, clearAnonymousIdStorage, clearConsentStorage, cn, createAnalyticsEvent, createAnalyticsId, createConfigurator, createDefaultConsent, createForceLayout, createGridLayout, createHeadingSlug, createTreeLayout, createURLResolver, decrementReplyCount, defaultFormatValue, defaultTiers, ensureAnonymousIdStorage, enumValues, euiToast, extractHeadings, findReview, formatChartLabel, formatChartValue, formatCommentDate, formatConfigError, formatReviewDate, generateHeadingNumbers, getAllowedOrigins, getBrowserHref, getBrowserOrigin, getBrowserRedirectURL, getConsentStatusFromCategories, getCurrencySymbol, getCurrentFullUrl, getCurrentPath, getCurrentReferrer, getCurrentTitle, getDeviceInfo, getDoNotTrackEnabled, getLayout, getNowISOString, getOptimisticDislikeState, getOptimisticLikeState, getSafeRedirect, getViewport, hasReviewReply, incrementReplyCount, isBrowser, isMatch, isRenderFn, limitRealtimePoints, normalize, normalizeChartData, normalizeChartDataPoint, normalizeMarkdown, normalizeReview, normalizeReviewAuthor, normalizeReviewReply, parseJson, parseJsonRecord, parseUrlMap, prependReview, readAnalyticsQueueStorage, readAnonymousIdStorage, readConsentStorage, registerLayout, removeComment, removeCommentTreeFromCache, removeReview, removeReviewReply, replaceRealtimePoints, replaceReview, replaceReviewReply, resolveAppearanceStyles, resolveChartColor, resolveChartColors, resolveWithGlobal, safeReadStorage, safeRemoveStorage, safeWriteStorage, sanitizeHeading, sendToast, slugify, toConfiguratorError, updateComment, updateReplyCacheComment, updateReview, updateReviewReply, upsertReview, useActiveHeading, useAnalytics, useChartContext, useChartData, useChartPolling, useChartRealtime, useChartSeries, useChartTheme, useClickOutside, useCloudinaryConfig, useCookieConsent, useCurrentTheme_default as useCurrentTheme, useDrawer_default as useDrawer, useEUIConfig, useEUIDevPreviewPlatform, useIsMobile_default as useIsMobile, useMarkdown, useMarkdownHeadings, useModal_default as useModal, usePageTracking, useResolvedChartState, useReviewThreadState, useSessionTracking, useTheme_default as useTheme, writeAnalyticsQueueStorage, writeConsentStorage };
|
|
58054
58105
|
//# sourceMappingURL=index.mjs.map
|
|
58055
58106
|
//# sourceMappingURL=index.mjs.map
|