elseware-ui 3.0.15 → 3.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +20 -20
- package/dist/index.css +214 -16
- package/dist/index.css.map +1 -1
- package/dist/index.d.mts +266 -11
- package/dist/index.d.ts +266 -11
- package/dist/index.js +648 -310
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +639 -310
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
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 classNames67 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, MdDragIndicator, MdKeyboardArrowLeft, MdKeyboardArrowRight, MdOutlineDelete } from 'react-icons/md/index.js';
|
|
@@ -4718,7 +4718,7 @@ var init_python = __esm({
|
|
|
4718
4718
|
});
|
|
4719
4719
|
|
|
4720
4720
|
// node_modules/refractor/lang/jsx.js
|
|
4721
|
-
function
|
|
4721
|
+
function jsx226(Prism2) {
|
|
4722
4722
|
Prism2.register(javascript);
|
|
4723
4723
|
Prism2.register(markup);
|
|
4724
4724
|
(function(Prism3) {
|
|
@@ -4851,14 +4851,14 @@ var init_jsx = __esm({
|
|
|
4851
4851
|
"node_modules/refractor/lang/jsx.js"() {
|
|
4852
4852
|
init_javascript();
|
|
4853
4853
|
init_markup();
|
|
4854
|
-
|
|
4855
|
-
|
|
4854
|
+
jsx226.displayName = "jsx";
|
|
4855
|
+
jsx226.aliases = [];
|
|
4856
4856
|
}
|
|
4857
4857
|
});
|
|
4858
4858
|
|
|
4859
4859
|
// node_modules/refractor/lang/tsx.js
|
|
4860
4860
|
function tsx(Prism2) {
|
|
4861
|
-
Prism2.register(
|
|
4861
|
+
Prism2.register(jsx226);
|
|
4862
4862
|
Prism2.register(typescript);
|
|
4863
4863
|
(function(Prism3) {
|
|
4864
4864
|
var typescript2 = Prism3.util.clone(Prism3.languages.typescript);
|
|
@@ -6538,7 +6538,7 @@ var Backdrop = ({ children: children3, styles }) => {
|
|
|
6538
6538
|
return /* @__PURE__ */ jsx(
|
|
6539
6539
|
"div",
|
|
6540
6540
|
{
|
|
6541
|
-
className:
|
|
6541
|
+
className: classNames67({
|
|
6542
6542
|
"bg-black/75 top-0 bottom-0 left-0 right-0 z-50 fixed inset-0 flex items-center justify-center overflow-hidden": true,
|
|
6543
6543
|
[`${styles}`]: styles
|
|
6544
6544
|
}),
|
|
@@ -7128,7 +7128,7 @@ function renderTransitionChild(children3, className) {
|
|
|
7128
7128
|
}
|
|
7129
7129
|
const element7 = child;
|
|
7130
7130
|
return React26.cloneElement(element7, {
|
|
7131
|
-
className:
|
|
7131
|
+
className: classNames67(element7.props.className, className)
|
|
7132
7132
|
});
|
|
7133
7133
|
}
|
|
7134
7134
|
function TransitionBase({
|
|
@@ -7148,7 +7148,7 @@ function TransitionBase({
|
|
|
7148
7148
|
if (!mounted && unmountOnExit) {
|
|
7149
7149
|
return null;
|
|
7150
7150
|
}
|
|
7151
|
-
const transitionClassName =
|
|
7151
|
+
const transitionClassName = classNames67(
|
|
7152
7152
|
visibility ? enterClassName : leaveClassName,
|
|
7153
7153
|
active ? visibleClassName : hiddenClassName
|
|
7154
7154
|
);
|
|
@@ -7652,7 +7652,7 @@ function InputFile(inputFileProps) {
|
|
|
7652
7652
|
className: cn(
|
|
7653
7653
|
inputControlClassName,
|
|
7654
7654
|
"block truncate pointer-events-none",
|
|
7655
|
-
|
|
7655
|
+
classNames67({
|
|
7656
7656
|
"text-gray-500 dark:text-gray-300": !fileName
|
|
7657
7657
|
}),
|
|
7658
7658
|
inputClassName
|
|
@@ -7733,7 +7733,7 @@ var InputList = ({ name: name2, placeholder, shape }) => {
|
|
|
7733
7733
|
/* @__PURE__ */ jsx("div", { className: "mt-2", children: /* @__PURE__ */ jsx(FieldArray, { name: name2, children: ({ push: push2, remove: remove2, move }) => /* @__PURE__ */ jsxs(
|
|
7734
7734
|
"div",
|
|
7735
7735
|
{
|
|
7736
|
-
className:
|
|
7736
|
+
className: classNames67(
|
|
7737
7737
|
"flex w-full flex-col space-y-2 bg-eui-primary-300/10",
|
|
7738
7738
|
shapes[resolvedShape]
|
|
7739
7739
|
),
|
|
@@ -7762,7 +7762,7 @@ var InputList = ({ name: name2, placeholder, shape }) => {
|
|
|
7762
7762
|
ref: provided2.innerRef,
|
|
7763
7763
|
...draggableProps,
|
|
7764
7764
|
style: draggableStyle,
|
|
7765
|
-
className:
|
|
7765
|
+
className: classNames67(
|
|
7766
7766
|
"flex items-center space-x-2 bg-eui-primary-300/10 p-2",
|
|
7767
7767
|
shapes[resolvedShape]
|
|
7768
7768
|
),
|
|
@@ -7773,7 +7773,7 @@ var InputList = ({ name: name2, placeholder, shape }) => {
|
|
|
7773
7773
|
{
|
|
7774
7774
|
name: `${name2}[${index3}]`,
|
|
7775
7775
|
placeholder: `Item ${index3 + 1}`,
|
|
7776
|
-
className:
|
|
7776
|
+
className: classNames67(
|
|
7777
7777
|
"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",
|
|
7778
7778
|
shapes[resolvedShape],
|
|
7779
7779
|
hasItemError ? "border-eui-danger-500" : "border-eui-primary-400 focus:border-eui-secondary-500"
|
|
@@ -7869,7 +7869,7 @@ var InputListGroup = ({
|
|
|
7869
7869
|
return /* @__PURE__ */ jsxs(
|
|
7870
7870
|
"div",
|
|
7871
7871
|
{
|
|
7872
|
-
className:
|
|
7872
|
+
className: classNames67(
|
|
7873
7873
|
"flex flex-col gap-2 bg-eui-primary-300/10 p-3",
|
|
7874
7874
|
shapes[resolvedShape]
|
|
7875
7875
|
),
|
|
@@ -7881,7 +7881,7 @@ var InputListGroup = ({
|
|
|
7881
7881
|
{
|
|
7882
7882
|
name: `${name2}[${groupIndex}].name`,
|
|
7883
7883
|
placeholder: `Group ${groupIndex + 1}`,
|
|
7884
|
-
className:
|
|
7884
|
+
className: classNames67(
|
|
7885
7885
|
"h-[40px] w-full border bg-eui-primary-300/10 px-3 py-2 text-md focus:outline-none",
|
|
7886
7886
|
shapes[resolvedShape],
|
|
7887
7887
|
"border-eui-primary-400 focus:border-eui-secondary-500"
|
|
@@ -7912,7 +7912,7 @@ var InputListGroup = ({
|
|
|
7912
7912
|
{
|
|
7913
7913
|
ref: provided.innerRef,
|
|
7914
7914
|
...provided.droppableProps,
|
|
7915
|
-
className:
|
|
7915
|
+
className: classNames67(
|
|
7916
7916
|
"space-y-2 bg-eui-primary-300/10 p-2",
|
|
7917
7917
|
shapes[resolvedShape]
|
|
7918
7918
|
),
|
|
@@ -7932,7 +7932,7 @@ var InputListGroup = ({
|
|
|
7932
7932
|
ref: provided2.innerRef,
|
|
7933
7933
|
...draggableProps,
|
|
7934
7934
|
style: draggableStyle,
|
|
7935
|
-
className:
|
|
7935
|
+
className: classNames67(
|
|
7936
7936
|
"flex items-center gap-2 bg-eui-primary-300/10 p-2",
|
|
7937
7937
|
shapes[resolvedShape]
|
|
7938
7938
|
),
|
|
@@ -7943,7 +7943,7 @@ var InputListGroup = ({
|
|
|
7943
7943
|
{
|
|
7944
7944
|
name: `${itemsFieldName}[${itemIndex}]`,
|
|
7945
7945
|
placeholder: `Item ${itemIndex + 1}`,
|
|
7946
|
-
className:
|
|
7946
|
+
className: classNames67(
|
|
7947
7947
|
"h-[40px] w-full border bg-eui-primary-300/10 px-3 py-2 text-md focus:outline-none",
|
|
7948
7948
|
shapes[resolvedShape],
|
|
7949
7949
|
"border-eui-primary-400 focus:border-eui-secondary-500"
|
|
@@ -8696,7 +8696,7 @@ var ImageInput = forwardRef(
|
|
|
8696
8696
|
/* @__PURE__ */ jsxs(
|
|
8697
8697
|
"label",
|
|
8698
8698
|
{
|
|
8699
|
-
className:
|
|
8699
|
+
className: classNames67({
|
|
8700
8700
|
"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,
|
|
8701
8701
|
"hover:cursor-pointer hover:border-solid hover:border-gray-600 hover:bg-gray-900/80": true,
|
|
8702
8702
|
"transition-all ease-in-out duration-150": true
|
|
@@ -8884,7 +8884,7 @@ function MultiImageInput({
|
|
|
8884
8884
|
onDragOver: handleDragOver,
|
|
8885
8885
|
onDrop: () => handleDrop(index3),
|
|
8886
8886
|
onDragEnd: () => setDraggedIndex(null),
|
|
8887
|
-
className:
|
|
8887
|
+
className: classNames67(
|
|
8888
8888
|
"relative h-[200px] w-[300px] overflow-hidden bg-gray-900",
|
|
8889
8889
|
"transition-all duration-150",
|
|
8890
8890
|
draggedIndex === index3 && "opacity-60",
|
|
@@ -9014,7 +9014,7 @@ function Radio({
|
|
|
9014
9014
|
return /* @__PURE__ */ jsxs(
|
|
9015
9015
|
"div",
|
|
9016
9016
|
{
|
|
9017
|
-
className:
|
|
9017
|
+
className: classNames67({
|
|
9018
9018
|
"flex flex-row gap-2 items-center mx-1 my-2": true
|
|
9019
9019
|
}),
|
|
9020
9020
|
children: [
|
|
@@ -9027,7 +9027,7 @@ function Radio({
|
|
|
9027
9027
|
...props,
|
|
9028
9028
|
value: option.value,
|
|
9029
9029
|
checked: field2.value === option.value,
|
|
9030
|
-
className:
|
|
9030
|
+
className: classNames67({
|
|
9031
9031
|
"appearance-none w-4 h-4 border-2 border-eui-primary-400 rounded-full cursor-pointer transition-all duration-300": true,
|
|
9032
9032
|
// base radio button styles
|
|
9033
9033
|
"checked:bg-eui-secondary-700 checked:border-eui-primary-400": field2.value === option.value
|
|
@@ -9039,7 +9039,7 @@ function Radio({
|
|
|
9039
9039
|
"label",
|
|
9040
9040
|
{
|
|
9041
9041
|
htmlFor: option.value,
|
|
9042
|
-
className:
|
|
9042
|
+
className: classNames67({
|
|
9043
9043
|
"eui-text-md text-sm": true
|
|
9044
9044
|
}),
|
|
9045
9045
|
children: option.label
|
|
@@ -9082,7 +9082,7 @@ function StarRatingInput({
|
|
|
9082
9082
|
return /* @__PURE__ */ jsxs(
|
|
9083
9083
|
"div",
|
|
9084
9084
|
{
|
|
9085
|
-
className:
|
|
9085
|
+
className: classNames67({
|
|
9086
9086
|
"inline-flex gap-[4px] text-[20px]": true,
|
|
9087
9087
|
[`${styles}`]: styles
|
|
9088
9088
|
}),
|
|
@@ -9095,7 +9095,7 @@ function StarRatingInput({
|
|
|
9095
9095
|
onClick: () => handleOnClick(index3),
|
|
9096
9096
|
onMouseEnter: () => setHover(index3),
|
|
9097
9097
|
onMouseLeave: () => setHover(null),
|
|
9098
|
-
className:
|
|
9098
|
+
className: classNames67({
|
|
9099
9099
|
"text-yellow-600": index3 <= (hover ?? rating - 1),
|
|
9100
9100
|
"text-gray-400": index3 > (hover ?? rating - 1)
|
|
9101
9101
|
}),
|
|
@@ -9500,7 +9500,7 @@ function Switch({
|
|
|
9500
9500
|
"div",
|
|
9501
9501
|
{
|
|
9502
9502
|
onClick: () => helpers.setValue(!field.value),
|
|
9503
|
-
className:
|
|
9503
|
+
className: classNames67(
|
|
9504
9504
|
"w-11 h-6 bg-gray-200 peer-focus:outline-none rounded-full peer dark:bg-eui-dark-100",
|
|
9505
9505
|
"peer-checked:after:translate-x-full peer-checked:after:border-white",
|
|
9506
9506
|
"after:content-[''] after:absolute after:top-[2px] after:left-[2px] after:bg-white",
|
|
@@ -9887,7 +9887,7 @@ function BreadcrumbItem({
|
|
|
9887
9887
|
{
|
|
9888
9888
|
href,
|
|
9889
9889
|
onClick,
|
|
9890
|
-
className:
|
|
9890
|
+
className: classNames67({
|
|
9891
9891
|
"text-lg font-semibold": true,
|
|
9892
9892
|
"text-gray-400 hover:text-gray-600 cursor-pointer": !active,
|
|
9893
9893
|
"text-eui-light-800": active,
|
|
@@ -9964,7 +9964,7 @@ var Breadcrumb = ({
|
|
|
9964
9964
|
index3 < resolvedData.length - 1 && /* @__PURE__ */ jsx(
|
|
9965
9965
|
"span",
|
|
9966
9966
|
{
|
|
9967
|
-
className:
|
|
9967
|
+
className: classNames67({
|
|
9968
9968
|
"text-lg font-semibold text-gray-500": true,
|
|
9969
9969
|
[`px-${gap}`]: gap
|
|
9970
9970
|
}),
|
|
@@ -9978,7 +9978,7 @@ var Breadcrumb = ({
|
|
|
9978
9978
|
return /* @__PURE__ */ jsx(
|
|
9979
9979
|
"div",
|
|
9980
9980
|
{
|
|
9981
|
-
className:
|
|
9981
|
+
className: classNames67({
|
|
9982
9982
|
"inline-flex": true,
|
|
9983
9983
|
[`${styles}`]: styles
|
|
9984
9984
|
}),
|
|
@@ -10022,7 +10022,7 @@ var Drawer = ({
|
|
|
10022
10022
|
isMobile && showBackdrop && /* @__PURE__ */ jsx(TransitionFade_default, { visibility, leaveDuration: 200, children: /* @__PURE__ */ jsx(
|
|
10023
10023
|
"div",
|
|
10024
10024
|
{
|
|
10025
|
-
className:
|
|
10025
|
+
className: classNames67(
|
|
10026
10026
|
"fixed inset-0 bg-black/50 z-40",
|
|
10027
10027
|
backdropStyles
|
|
10028
10028
|
),
|
|
@@ -10033,7 +10033,7 @@ var Drawer = ({
|
|
|
10033
10033
|
"div",
|
|
10034
10034
|
{
|
|
10035
10035
|
style: drawerStyle,
|
|
10036
|
-
className:
|
|
10036
|
+
className: classNames67(
|
|
10037
10037
|
"fixed shadow-lg z-50",
|
|
10038
10038
|
{
|
|
10039
10039
|
"h-full w-[300px] top-0": isHorizontal && !hasOffset,
|
|
@@ -10062,7 +10062,7 @@ function DrawerToggler({
|
|
|
10062
10062
|
return /* @__PURE__ */ jsx(
|
|
10063
10063
|
"div",
|
|
10064
10064
|
{
|
|
10065
|
-
className:
|
|
10065
|
+
className: classNames67({
|
|
10066
10066
|
"text-xl p-3 cursor-pointer": true,
|
|
10067
10067
|
"transition-all ease-in-out": true,
|
|
10068
10068
|
"text-eui-dark-500 dark:text-eui-secondary-600": !styles,
|
|
@@ -10075,8 +10075,16 @@ function DrawerToggler({
|
|
|
10075
10075
|
);
|
|
10076
10076
|
}
|
|
10077
10077
|
var DrawerToggler_default = DrawerToggler;
|
|
10078
|
-
|
|
10079
|
-
const
|
|
10078
|
+
var columnsClassName = (count) => {
|
|
10079
|
+
const map3 = {
|
|
10080
|
+
1: "grid-cols-1",
|
|
10081
|
+
2: "grid-cols-1 sm:grid-cols-2",
|
|
10082
|
+
3: "grid-cols-2 sm:grid-cols-3",
|
|
10083
|
+
4: "grid-cols-2 sm:grid-cols-2 lg:grid-cols-4"
|
|
10084
|
+
};
|
|
10085
|
+
return map3[Math.min(Math.max(count, 1), 4)] ?? map3[4];
|
|
10086
|
+
};
|
|
10087
|
+
function FooterNav({ data = [], navigate, styles }) {
|
|
10080
10088
|
const renderFooterNavItem = (item, index3) => {
|
|
10081
10089
|
const { icon, name: name2, badge, to, onClick, component, ...rest } = item;
|
|
10082
10090
|
const Component = component;
|
|
@@ -10088,49 +10096,147 @@ function FooterNav({ data = [], styles }) {
|
|
|
10088
10096
|
badge,
|
|
10089
10097
|
to,
|
|
10090
10098
|
onClick,
|
|
10099
|
+
navigate,
|
|
10091
10100
|
...rest
|
|
10092
10101
|
},
|
|
10093
10102
|
index3
|
|
10094
10103
|
);
|
|
10095
10104
|
};
|
|
10096
10105
|
const renderFooterNavGroup = (item, index3) => {
|
|
10097
|
-
const { icon, name: name2, badge, to, items, component, ...rest } = item;
|
|
10106
|
+
const { icon, name: name2, badge, to, items: items2, component, ...rest } = item;
|
|
10098
10107
|
const Component = component;
|
|
10099
|
-
const groupItems =
|
|
10108
|
+
const groupItems = items2 && Array.isArray(items2) ? items2.map(
|
|
10100
10109
|
(i, idx) => "items" in i ? renderFooterNavGroup(i, idx) : renderFooterNavItem(i, idx)
|
|
10101
10110
|
) : null;
|
|
10102
10111
|
return /* @__PURE__ */ jsx(Component, { icon, name: name2, badge, ...rest, children: groupItems }, index3);
|
|
10103
10112
|
};
|
|
10104
|
-
|
|
10105
|
-
|
|
10106
|
-
|
|
10107
|
-
|
|
10108
|
-
|
|
10109
|
-
|
|
10110
|
-
|
|
10113
|
+
if (data.length === 0) return null;
|
|
10114
|
+
const items = data.map(
|
|
10115
|
+
(item, index3) => "items" in item ? renderFooterNavGroup(item, index3) : renderFooterNavItem(item, index3)
|
|
10116
|
+
);
|
|
10117
|
+
return /* @__PURE__ */ jsx(
|
|
10118
|
+
"div",
|
|
10119
|
+
{
|
|
10120
|
+
className: classNames67(
|
|
10121
|
+
"grid w-full gap-8",
|
|
10122
|
+
columnsClassName(data.length),
|
|
10123
|
+
{
|
|
10124
|
+
[`${styles}`]: styles
|
|
10125
|
+
}
|
|
10126
|
+
),
|
|
10127
|
+
children: items
|
|
10128
|
+
}
|
|
10129
|
+
);
|
|
10130
|
+
}
|
|
10131
|
+
var FooterNav_default = FooterNav;
|
|
10132
|
+
|
|
10133
|
+
// src/components/data-display/typography/shared/typography.styles.ts
|
|
10134
|
+
var typographyStyles = ({
|
|
10135
|
+
variant = "default",
|
|
10136
|
+
decoration = "noUnderline",
|
|
10137
|
+
bold,
|
|
10138
|
+
italic,
|
|
10139
|
+
className
|
|
10140
|
+
}) => cn(
|
|
10141
|
+
textVariants[variant],
|
|
10142
|
+
decorations[decoration],
|
|
10143
|
+
bold && "font-bold",
|
|
10144
|
+
italic && "italic",
|
|
10145
|
+
className
|
|
10146
|
+
);
|
|
10147
|
+
var Overline = ({
|
|
10148
|
+
children: children3,
|
|
10149
|
+
variant,
|
|
10150
|
+
decoration,
|
|
10151
|
+
bold = true,
|
|
10152
|
+
italic,
|
|
10153
|
+
className,
|
|
10154
|
+
...rest
|
|
10155
|
+
}) => {
|
|
10156
|
+
return /* @__PURE__ */ jsx(
|
|
10157
|
+
"div",
|
|
10158
|
+
{
|
|
10159
|
+
...rest,
|
|
10160
|
+
className: cn(
|
|
10161
|
+
"text-xs uppercase tracking-[0.2em]",
|
|
10162
|
+
typographyStyles({
|
|
10163
|
+
variant,
|
|
10164
|
+
decoration,
|
|
10165
|
+
bold,
|
|
10166
|
+
italic,
|
|
10167
|
+
className
|
|
10168
|
+
})
|
|
10169
|
+
),
|
|
10170
|
+
children: children3 || "Overline"
|
|
10171
|
+
}
|
|
10172
|
+
);
|
|
10173
|
+
};
|
|
10174
|
+
var FooterNavGroup = ({
|
|
10175
|
+
icon,
|
|
10176
|
+
name: name2,
|
|
10177
|
+
badge,
|
|
10178
|
+
title,
|
|
10179
|
+
children: children3,
|
|
10180
|
+
styles,
|
|
10181
|
+
className,
|
|
10182
|
+
titleClassName
|
|
10183
|
+
}) => {
|
|
10184
|
+
const heading3 = title ?? (name2 ? /* @__PURE__ */ jsx(Overline, { children: name2 }) : null);
|
|
10185
|
+
return /* @__PURE__ */ jsxs("div", { className: cn("flex flex-col", styles, className), children: [
|
|
10186
|
+
heading3 && /* @__PURE__ */ jsxs(
|
|
10111
10187
|
"div",
|
|
10112
10188
|
{
|
|
10113
|
-
className:
|
|
10114
|
-
"
|
|
10115
|
-
|
|
10116
|
-
|
|
10117
|
-
|
|
10118
|
-
|
|
10119
|
-
|
|
10189
|
+
className: cn(
|
|
10190
|
+
"mb-3 flex items-center gap-2 text-eui-dark-700 dark:text-eui-light-600",
|
|
10191
|
+
titleClassName
|
|
10192
|
+
),
|
|
10193
|
+
children: [
|
|
10194
|
+
icon && /* @__PURE__ */ jsx("span", { className: "text-base", children: icon }),
|
|
10195
|
+
heading3,
|
|
10196
|
+
badge && /* @__PURE__ */ jsx("span", { children: badge })
|
|
10197
|
+
]
|
|
10120
10198
|
}
|
|
10121
|
-
)
|
|
10122
|
-
|
|
10199
|
+
),
|
|
10200
|
+
/* @__PURE__ */ jsx("div", { className: "flex flex-col gap-1", children: children3 })
|
|
10201
|
+
] });
|
|
10202
|
+
};
|
|
10203
|
+
var FooterNavGroup_default = FooterNavGroup;
|
|
10204
|
+
var Link = ({
|
|
10205
|
+
children: children3,
|
|
10206
|
+
href,
|
|
10207
|
+
target = "self",
|
|
10208
|
+
variant = "info",
|
|
10209
|
+
decoration = "underline",
|
|
10210
|
+
bold,
|
|
10211
|
+
italic,
|
|
10212
|
+
styles,
|
|
10213
|
+
onClick
|
|
10214
|
+
}) => {
|
|
10215
|
+
const handleClick = (event) => {
|
|
10216
|
+
if (onClick) {
|
|
10217
|
+
event.preventDefault();
|
|
10218
|
+
onClick();
|
|
10219
|
+
}
|
|
10220
|
+
};
|
|
10123
10221
|
return /* @__PURE__ */ jsx(
|
|
10124
|
-
"
|
|
10222
|
+
"a",
|
|
10125
10223
|
{
|
|
10126
|
-
|
|
10224
|
+
href: href || "#",
|
|
10225
|
+
target: targets[target],
|
|
10226
|
+
onClick: handleClick,
|
|
10227
|
+
className: classNames67({
|
|
10228
|
+
[`${textVariants[variant]}`]: variant,
|
|
10229
|
+
[`${decorations[decoration]}`]: decoration,
|
|
10230
|
+
"font-bold": bold,
|
|
10231
|
+
italic,
|
|
10232
|
+
"hover:cursor-pointer hover:brightness-125": true,
|
|
10233
|
+
"transition-all ease-in-out": true,
|
|
10127
10234
|
[`${styles}`]: styles
|
|
10128
10235
|
}),
|
|
10129
|
-
children:
|
|
10236
|
+
children: children3 ? children3 : "Link"
|
|
10130
10237
|
}
|
|
10131
10238
|
);
|
|
10132
|
-
}
|
|
10133
|
-
var FooterNav_default = FooterNav;
|
|
10239
|
+
};
|
|
10134
10240
|
var FooterNavItemContext = ({
|
|
10135
10241
|
icon,
|
|
10136
10242
|
name: name2,
|
|
@@ -10146,76 +10252,60 @@ var FooterNavItemContext = ({
|
|
|
10146
10252
|
badge && /* @__PURE__ */ jsx("div", { children: badge })
|
|
10147
10253
|
] });
|
|
10148
10254
|
};
|
|
10149
|
-
var FooterNavGroup = ({
|
|
10150
|
-
icon,
|
|
10151
|
-
name: name2,
|
|
10152
|
-
description,
|
|
10153
|
-
badge,
|
|
10154
|
-
to,
|
|
10155
|
-
styles,
|
|
10156
|
-
children: children3
|
|
10157
|
-
}) => {
|
|
10158
|
-
const handleNavigation = () => {
|
|
10159
|
-
if (to) {
|
|
10160
|
-
window.location.href = to;
|
|
10161
|
-
}
|
|
10162
|
-
};
|
|
10163
|
-
return /* @__PURE__ */ jsxs("div", { children: [
|
|
10164
|
-
/* @__PURE__ */ jsx(
|
|
10165
|
-
"div",
|
|
10166
|
-
{
|
|
10167
|
-
className: classNames69({
|
|
10168
|
-
"": true,
|
|
10169
|
-
"py-2 font-semibold eui-text-lg": !styles,
|
|
10170
|
-
[`${styles}`]: styles
|
|
10171
|
-
}),
|
|
10172
|
-
onClick: () => {
|
|
10173
|
-
if (!children3) {
|
|
10174
|
-
handleNavigation();
|
|
10175
|
-
}
|
|
10176
|
-
},
|
|
10177
|
-
children: /* @__PURE__ */ jsx(
|
|
10178
|
-
FooterNavItemContext,
|
|
10179
|
-
{
|
|
10180
|
-
icon,
|
|
10181
|
-
name: name2,
|
|
10182
|
-
description,
|
|
10183
|
-
badge
|
|
10184
|
-
}
|
|
10185
|
-
)
|
|
10186
|
-
}
|
|
10187
|
-
),
|
|
10188
|
-
/* @__PURE__ */ jsx("div", { children: children3 })
|
|
10189
|
-
] });
|
|
10190
|
-
};
|
|
10191
|
-
var FooterNavGroup_default = FooterNavGroup;
|
|
10192
10255
|
var FooterNavItem = ({
|
|
10193
10256
|
icon,
|
|
10194
10257
|
name: name2,
|
|
10195
10258
|
description,
|
|
10196
10259
|
badge,
|
|
10197
10260
|
to,
|
|
10261
|
+
external,
|
|
10198
10262
|
onClick,
|
|
10199
|
-
|
|
10263
|
+
navigate,
|
|
10264
|
+
styles,
|
|
10265
|
+
className
|
|
10200
10266
|
}) => {
|
|
10201
|
-
const
|
|
10202
|
-
if (
|
|
10203
|
-
window.location.href = to;
|
|
10204
|
-
} else if (onClick) {
|
|
10267
|
+
const handleClick = () => {
|
|
10268
|
+
if (onClick) {
|
|
10205
10269
|
onClick();
|
|
10270
|
+
return;
|
|
10271
|
+
}
|
|
10272
|
+
if (!to) return;
|
|
10273
|
+
if (external) {
|
|
10274
|
+
window.open(to, "_blank", "noopener,noreferrer");
|
|
10275
|
+
return;
|
|
10276
|
+
}
|
|
10277
|
+
if (navigate) {
|
|
10278
|
+
navigate(to);
|
|
10279
|
+
return;
|
|
10206
10280
|
}
|
|
10281
|
+
window.location.href = to;
|
|
10207
10282
|
};
|
|
10283
|
+
const isSimpleLink = !icon && !description && !badge;
|
|
10284
|
+
if (isSimpleLink) {
|
|
10285
|
+
const useJsNav = Boolean(onClick) || Boolean(navigate) && Boolean(to);
|
|
10286
|
+
return /* @__PURE__ */ jsx(
|
|
10287
|
+
Link,
|
|
10288
|
+
{
|
|
10289
|
+
href: to || "#",
|
|
10290
|
+
target: external ? "blank" : "self",
|
|
10291
|
+
variant: "default",
|
|
10292
|
+
decoration: "noUnderline",
|
|
10293
|
+
onClick: useJsNav ? handleClick : void 0,
|
|
10294
|
+
styles: cn("block py-1 text-sm", styles, className),
|
|
10295
|
+
children: name2
|
|
10296
|
+
}
|
|
10297
|
+
);
|
|
10298
|
+
}
|
|
10208
10299
|
return /* @__PURE__ */ jsx(
|
|
10209
10300
|
"div",
|
|
10210
10301
|
{
|
|
10211
|
-
onClick:
|
|
10212
|
-
className:
|
|
10213
|
-
"flex flex-row items-center gap-3
|
|
10214
|
-
"
|
|
10215
|
-
|
|
10216
|
-
|
|
10217
|
-
|
|
10218
|
-
}),
|
|
10302
|
+
onClick: handleClick,
|
|
10303
|
+
className: cn(
|
|
10304
|
+
"flex w-full cursor-pointer flex-row items-center gap-3 py-1 text-sm",
|
|
10305
|
+
"eui-text-md eui-theme-transition hover:brightness-125",
|
|
10306
|
+
styles,
|
|
10307
|
+
className
|
|
10308
|
+
),
|
|
10219
10309
|
children: /* @__PURE__ */ jsx(
|
|
10220
10310
|
FooterNavItemContext,
|
|
10221
10311
|
{
|
|
@@ -10238,7 +10328,7 @@ var FooterNavItemTitle = ({
|
|
|
10238
10328
|
return /* @__PURE__ */ jsx(
|
|
10239
10329
|
"div",
|
|
10240
10330
|
{
|
|
10241
|
-
className:
|
|
10331
|
+
className: classNames67({
|
|
10242
10332
|
"": true,
|
|
10243
10333
|
"py-2 font-thin eui-text-md": !styles,
|
|
10244
10334
|
[`${styles}`]: styles
|
|
@@ -10291,7 +10381,7 @@ function HeaderNav({ data = [], styles }) {
|
|
|
10291
10381
|
return /* @__PURE__ */ jsx(
|
|
10292
10382
|
"div",
|
|
10293
10383
|
{
|
|
10294
|
-
className:
|
|
10384
|
+
className: classNames67({
|
|
10295
10385
|
[`${styles}`]: styles
|
|
10296
10386
|
}),
|
|
10297
10387
|
children: childrenContent
|
|
@@ -10335,7 +10425,7 @@ var HeaderNavGroup = ({
|
|
|
10335
10425
|
/* @__PURE__ */ jsxs(
|
|
10336
10426
|
"div",
|
|
10337
10427
|
{
|
|
10338
|
-
className:
|
|
10428
|
+
className: classNames67({
|
|
10339
10429
|
"flex flex-row gap-2 items-center justify-between cursor-pointer p-3 w-full": true,
|
|
10340
10430
|
"transition-all duration-300 ease-in-out": true,
|
|
10341
10431
|
"eui-text-md bg-gradient-to-t from-eui-dark-500/10 dark:from-green-700/10": !styles,
|
|
@@ -10363,7 +10453,7 @@ var HeaderNavGroup = ({
|
|
|
10363
10453
|
children3 && /* @__PURE__ */ jsx(
|
|
10364
10454
|
BsChevronDown,
|
|
10365
10455
|
{
|
|
10366
|
-
className:
|
|
10456
|
+
className: classNames67({
|
|
10367
10457
|
"text-md": true,
|
|
10368
10458
|
"transition-all ease-in-out duration-300": true,
|
|
10369
10459
|
"rotate-180": !collapsed
|
|
@@ -10376,7 +10466,7 @@ var HeaderNavGroup = ({
|
|
|
10376
10466
|
!collapsed && children3 && /* @__PURE__ */ jsx(
|
|
10377
10467
|
"div",
|
|
10378
10468
|
{
|
|
10379
|
-
className:
|
|
10469
|
+
className: classNames67({
|
|
10380
10470
|
"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,
|
|
10381
10471
|
"transition-all duration-300 ease-in-out": true
|
|
10382
10472
|
}),
|
|
@@ -10406,7 +10496,7 @@ var HeaderNavItem = ({
|
|
|
10406
10496
|
"div",
|
|
10407
10497
|
{
|
|
10408
10498
|
onClick: handleNavigation,
|
|
10409
|
-
className:
|
|
10499
|
+
className: classNames67({
|
|
10410
10500
|
"flex flex-row items-center gap-3 cursor-pointer p-3 w-full": true,
|
|
10411
10501
|
"transition-all duration-200 ease-in-out": true,
|
|
10412
10502
|
"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,
|
|
@@ -10435,7 +10525,7 @@ var HeaderNavItemTitle = ({
|
|
|
10435
10525
|
return /* @__PURE__ */ jsx(
|
|
10436
10526
|
"div",
|
|
10437
10527
|
{
|
|
10438
|
-
className:
|
|
10528
|
+
className: classNames67({
|
|
10439
10529
|
"p-3 font-thin": true,
|
|
10440
10530
|
"eui-text-md": !styles,
|
|
10441
10531
|
[`${styles}`]: styles
|
|
@@ -10452,42 +10542,6 @@ var HeaderNavItemTitle = ({
|
|
|
10452
10542
|
}
|
|
10453
10543
|
);
|
|
10454
10544
|
};
|
|
10455
|
-
var Link = ({
|
|
10456
|
-
children: children3,
|
|
10457
|
-
href,
|
|
10458
|
-
target = "self",
|
|
10459
|
-
variant = "info",
|
|
10460
|
-
decoration = "underline",
|
|
10461
|
-
bold,
|
|
10462
|
-
italic,
|
|
10463
|
-
styles,
|
|
10464
|
-
onClick
|
|
10465
|
-
}) => {
|
|
10466
|
-
const handleClick = (event) => {
|
|
10467
|
-
if (onClick) {
|
|
10468
|
-
event.preventDefault();
|
|
10469
|
-
onClick();
|
|
10470
|
-
}
|
|
10471
|
-
};
|
|
10472
|
-
return /* @__PURE__ */ jsx(
|
|
10473
|
-
"a",
|
|
10474
|
-
{
|
|
10475
|
-
href: href || "#",
|
|
10476
|
-
target: targets[target],
|
|
10477
|
-
onClick: handleClick,
|
|
10478
|
-
className: classNames69({
|
|
10479
|
-
[`${textVariants[variant]}`]: variant,
|
|
10480
|
-
[`${decorations[decoration]}`]: decoration,
|
|
10481
|
-
"font-bold": bold,
|
|
10482
|
-
italic,
|
|
10483
|
-
"hover:cursor-pointer hover:brightness-125": true,
|
|
10484
|
-
"transition-all ease-in-out": true,
|
|
10485
|
-
[`${styles}`]: styles
|
|
10486
|
-
}),
|
|
10487
|
-
children: children3 ? children3 : "Link"
|
|
10488
|
-
}
|
|
10489
|
-
);
|
|
10490
|
-
};
|
|
10491
10545
|
var MIContext = ({ icon, name: name2, badge }) => {
|
|
10492
10546
|
return /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
10493
10547
|
icon && /* @__PURE__ */ jsx("div", { className: "text-base text-gray-500 dark:text-gray-400", children: icon }),
|
|
@@ -13667,7 +13721,7 @@ function Accordion({
|
|
|
13667
13721
|
/* @__PURE__ */ jsxs(
|
|
13668
13722
|
"div",
|
|
13669
13723
|
{
|
|
13670
|
-
className:
|
|
13724
|
+
className: classNames67(
|
|
13671
13725
|
"inline-flex gap-3 items-center px-3 py-2 w-full eui-gradient-to-r-general-xs",
|
|
13672
13726
|
{
|
|
13673
13727
|
"hover:cursor-pointer": toggleOnSummaryClick
|
|
@@ -13688,7 +13742,7 @@ function Accordion({
|
|
|
13688
13742
|
children: /* @__PURE__ */ jsx(
|
|
13689
13743
|
FaCircleChevronDown,
|
|
13690
13744
|
{
|
|
13691
|
-
className:
|
|
13745
|
+
className: classNames67("text-xl transition-transform duration-300", {
|
|
13692
13746
|
"rotate-180": collapse
|
|
13693
13747
|
})
|
|
13694
13748
|
}
|
|
@@ -13702,7 +13756,7 @@ function Accordion({
|
|
|
13702
13756
|
/* @__PURE__ */ jsx(TransitionAccordion_default, { visibility: collapse, children: /* @__PURE__ */ jsx(
|
|
13703
13757
|
"div",
|
|
13704
13758
|
{
|
|
13705
|
-
className:
|
|
13759
|
+
className: classNames67(
|
|
13706
13760
|
"border-t border-t-eui-dark-400/40 eui-text-sm",
|
|
13707
13761
|
{
|
|
13708
13762
|
"p-5": enableChildrenPadding
|
|
@@ -13759,7 +13813,7 @@ function CardHeader({ icon, title, description, className }) {
|
|
|
13759
13813
|
return /* @__PURE__ */ jsxs(
|
|
13760
13814
|
"div",
|
|
13761
13815
|
{
|
|
13762
|
-
className:
|
|
13816
|
+
className: classNames67(
|
|
13763
13817
|
"flex items-start gap-4 p-6 border-b border-white/10",
|
|
13764
13818
|
className
|
|
13765
13819
|
),
|
|
@@ -13775,14 +13829,14 @@ function CardHeader({ icon, title, description, className }) {
|
|
|
13775
13829
|
}
|
|
13776
13830
|
var CardHeader_default = CardHeader;
|
|
13777
13831
|
function CardContent({ children: children3, className }) {
|
|
13778
|
-
return /* @__PURE__ */ jsx("div", { className:
|
|
13832
|
+
return /* @__PURE__ */ jsx("div", { className: classNames67("p-6 text-gray-300 text-sm", className), children: children3 });
|
|
13779
13833
|
}
|
|
13780
13834
|
var CardContent_default = CardContent;
|
|
13781
13835
|
function CardFooter({ children: children3, className }) {
|
|
13782
13836
|
return /* @__PURE__ */ jsx(
|
|
13783
13837
|
"div",
|
|
13784
13838
|
{
|
|
13785
|
-
className:
|
|
13839
|
+
className: classNames67(
|
|
13786
13840
|
"flex items-center gap-3 p-5 border-t border-white/10 text-sm text-gray-400",
|
|
13787
13841
|
className
|
|
13788
13842
|
),
|
|
@@ -13824,7 +13878,7 @@ function GradientAnimation({
|
|
|
13824
13878
|
return /* @__PURE__ */ jsx(
|
|
13825
13879
|
"div",
|
|
13826
13880
|
{
|
|
13827
|
-
className:
|
|
13881
|
+
className: classNames67("absolute inset-0"),
|
|
13828
13882
|
style: {
|
|
13829
13883
|
background: `linear-gradient(${cfg.angle}deg, ${cfg.colors?.join(",")})`,
|
|
13830
13884
|
backgroundSize: cfg.backgroundSize,
|
|
@@ -13970,7 +14024,7 @@ function MotionSurface({
|
|
|
13970
14024
|
}) {
|
|
13971
14025
|
const AnimationComponent = animationVariant === "custom" ? CustomAnimation : animationRegistry[animationVariant];
|
|
13972
14026
|
const OverlayComponent = overlay === "custom" ? CustomOverlay : overlayRegistry[overlay];
|
|
13973
|
-
return /* @__PURE__ */ jsxs("div", { className:
|
|
14027
|
+
return /* @__PURE__ */ jsxs("div", { className: classNames67("relative overflow-hidden", className), children: [
|
|
13974
14028
|
AnimationComponent && /* @__PURE__ */ jsx(AnimationComponent, { config: animationConfig, animated }),
|
|
13975
14029
|
OverlayComponent && /* @__PURE__ */ jsx(OverlayComponent, { config: overlayConfig }),
|
|
13976
14030
|
/* @__PURE__ */ jsx("div", { className: "relative z-10", children: children3 })
|
|
@@ -17526,21 +17580,6 @@ var typographyLevels = {
|
|
|
17526
17580
|
3: "text-xs leading-[20px]"
|
|
17527
17581
|
}
|
|
17528
17582
|
};
|
|
17529
|
-
|
|
17530
|
-
// src/components/data-display/typography/shared/typography.styles.ts
|
|
17531
|
-
var typographyStyles = ({
|
|
17532
|
-
variant = "default",
|
|
17533
|
-
decoration = "noUnderline",
|
|
17534
|
-
bold,
|
|
17535
|
-
italic,
|
|
17536
|
-
className
|
|
17537
|
-
}) => cn(
|
|
17538
|
-
textVariants[variant],
|
|
17539
|
-
decorations[decoration],
|
|
17540
|
-
bold && "font-bold",
|
|
17541
|
-
italic && "italic",
|
|
17542
|
-
className
|
|
17543
|
-
);
|
|
17544
17583
|
var Chapter = ({
|
|
17545
17584
|
level = 1,
|
|
17546
17585
|
children: children3,
|
|
@@ -17755,33 +17794,6 @@ var Lead = ({
|
|
|
17755
17794
|
}
|
|
17756
17795
|
);
|
|
17757
17796
|
};
|
|
17758
|
-
var Overline = ({
|
|
17759
|
-
children: children3,
|
|
17760
|
-
variant,
|
|
17761
|
-
decoration,
|
|
17762
|
-
bold = true,
|
|
17763
|
-
italic,
|
|
17764
|
-
className,
|
|
17765
|
-
...rest
|
|
17766
|
-
}) => {
|
|
17767
|
-
return /* @__PURE__ */ jsx(
|
|
17768
|
-
"div",
|
|
17769
|
-
{
|
|
17770
|
-
...rest,
|
|
17771
|
-
className: cn(
|
|
17772
|
-
"text-xs uppercase tracking-[0.2em]",
|
|
17773
|
-
typographyStyles({
|
|
17774
|
-
variant,
|
|
17775
|
-
decoration,
|
|
17776
|
-
bold,
|
|
17777
|
-
italic,
|
|
17778
|
-
className
|
|
17779
|
-
})
|
|
17780
|
-
),
|
|
17781
|
-
children: children3 || "Overline"
|
|
17782
|
-
}
|
|
17783
|
-
);
|
|
17784
|
-
};
|
|
17785
17797
|
var Display = ({
|
|
17786
17798
|
level = 1,
|
|
17787
17799
|
children: children3,
|
|
@@ -19067,7 +19079,7 @@ var ThemeSwitch = () => {
|
|
|
19067
19079
|
/* @__PURE__ */ jsx(
|
|
19068
19080
|
"div",
|
|
19069
19081
|
{
|
|
19070
|
-
className:
|
|
19082
|
+
className: classNames67(
|
|
19071
19083
|
"w-6 h-6 bg-white dark:bg-gray-600 rounded-full shadow-md transition-transform duration-300",
|
|
19072
19084
|
theme === "dark" ? "translate-x-8" : "translate-x-0"
|
|
19073
19085
|
)
|
|
@@ -30836,7 +30848,7 @@ function Modal({
|
|
|
30836
30848
|
"div",
|
|
30837
30849
|
{
|
|
30838
30850
|
ref: modalRef,
|
|
30839
|
-
className:
|
|
30851
|
+
className: classNames67(
|
|
30840
30852
|
"eui-bg-md eui-shadow-lg border border-gray-700/80 w-fit h-fit",
|
|
30841
30853
|
shapes[resolvedShape],
|
|
30842
30854
|
styles
|
|
@@ -30848,7 +30860,7 @@ function Modal({
|
|
|
30848
30860
|
"button",
|
|
30849
30861
|
{
|
|
30850
30862
|
type: "button",
|
|
30851
|
-
className:
|
|
30863
|
+
className: classNames67(
|
|
30852
30864
|
"w-[60px] h-[60px] flex items-center justify-center transition-standard-fast",
|
|
30853
30865
|
"hover:cursor-pointer hover:bg-eui-dark-500"
|
|
30854
30866
|
),
|
|
@@ -31240,7 +31252,7 @@ var ContentArea = forwardRef(
|
|
|
31240
31252
|
"div",
|
|
31241
31253
|
{
|
|
31242
31254
|
ref,
|
|
31243
|
-
className:
|
|
31255
|
+
className: classNames67({
|
|
31244
31256
|
"min-h-screen h-full w-full transition-all duration-[200ms]": true,
|
|
31245
31257
|
"py-3 px-5": !enablePadding,
|
|
31246
31258
|
"py-3 px-5 lg:px-[150px]": enablePadding,
|
|
@@ -31257,7 +31269,7 @@ function FlexCol({ children: children3, gap = 3, styles }) {
|
|
|
31257
31269
|
return /* @__PURE__ */ jsx(
|
|
31258
31270
|
"div",
|
|
31259
31271
|
{
|
|
31260
|
-
className:
|
|
31272
|
+
className: classNames67({
|
|
31261
31273
|
[`flex flex-col gap-${gap}`]: true,
|
|
31262
31274
|
[`${styles}`]: styles
|
|
31263
31275
|
}),
|
|
@@ -31270,7 +31282,7 @@ function FlexRow({ children: children3, gap = 3, styles }) {
|
|
|
31270
31282
|
return /* @__PURE__ */ jsx(
|
|
31271
31283
|
"div",
|
|
31272
31284
|
{
|
|
31273
|
-
className:
|
|
31285
|
+
className: classNames67({
|
|
31274
31286
|
[`flex flex-row gap-${gap}`]: true,
|
|
31275
31287
|
[`${styles}`]: styles
|
|
31276
31288
|
}),
|
|
@@ -31289,7 +31301,7 @@ function Grid({ children: children3, styles }) {
|
|
|
31289
31301
|
return /* @__PURE__ */ jsx(
|
|
31290
31302
|
"div",
|
|
31291
31303
|
{
|
|
31292
|
-
className:
|
|
31304
|
+
className: classNames67({
|
|
31293
31305
|
[`grid`]: true,
|
|
31294
31306
|
[`${styles}`]: styles
|
|
31295
31307
|
}),
|
|
@@ -31306,7 +31318,7 @@ var Layout = ({
|
|
|
31306
31318
|
return /* @__PURE__ */ jsx(
|
|
31307
31319
|
"div",
|
|
31308
31320
|
{
|
|
31309
|
-
className:
|
|
31321
|
+
className: classNames67({
|
|
31310
31322
|
// "flex h-full w-screen bg-gray-100 overflow-auto": true,
|
|
31311
31323
|
"flex bg-eui-light-600": true,
|
|
31312
31324
|
"flex-col": flexDirection === "vertical",
|
|
@@ -31328,7 +31340,7 @@ var Header = ({
|
|
|
31328
31340
|
return /* @__PURE__ */ jsx(
|
|
31329
31341
|
"div",
|
|
31330
31342
|
{
|
|
31331
|
-
className:
|
|
31343
|
+
className: classNames67({
|
|
31332
31344
|
static: position4 === "static",
|
|
31333
31345
|
fixed: position4 === "fixed",
|
|
31334
31346
|
sticky: position4 === "sticky",
|
|
@@ -31363,7 +31375,7 @@ var Content = ({
|
|
|
31363
31375
|
return /* @__PURE__ */ jsx(
|
|
31364
31376
|
"div",
|
|
31365
31377
|
{
|
|
31366
|
-
className:
|
|
31378
|
+
className: classNames67({
|
|
31367
31379
|
"w-full min-h-screen transition-all duration-200 eui-bg-sm": true,
|
|
31368
31380
|
"md:pl-[300px]": !overlayedSidebar && sidebarVisible && !isMobile,
|
|
31369
31381
|
// Shift when sidebar is open (desktop)
|
|
@@ -31379,7 +31391,7 @@ var Footer = ({ children: children3, styles }) => {
|
|
|
31379
31391
|
return /* @__PURE__ */ jsx(
|
|
31380
31392
|
"div",
|
|
31381
31393
|
{
|
|
31382
|
-
className:
|
|
31394
|
+
className: classNames67({
|
|
31383
31395
|
"bottom-0 w-full h-fit": true,
|
|
31384
31396
|
"border-t border-eui-dark-500/40 dark:border-eui-secondary-800 eui-bg-md": !styles,
|
|
31385
31397
|
[`${styles}`]: styles
|
|
@@ -31567,7 +31579,7 @@ function ShowMore({ text: text10, limit }) {
|
|
|
31567
31579
|
/* @__PURE__ */ jsx(
|
|
31568
31580
|
"div",
|
|
31569
31581
|
{
|
|
31570
|
-
className:
|
|
31582
|
+
className: classNames67({
|
|
31571
31583
|
"text-blue-300 px-1 pb-1 mt-1": true,
|
|
31572
31584
|
"bg-slate-900/70": !showMore,
|
|
31573
31585
|
"bg-gradient-to-t from-slate-900/50 to-transparent": showMore
|
|
@@ -32483,7 +32495,7 @@ function DocumentationPanel({
|
|
|
32483
32495
|
return /* @__PURE__ */ jsx(MarkdownProvider_default, { markdown: value, children: /* @__PURE__ */ jsxs(
|
|
32484
32496
|
"section",
|
|
32485
32497
|
{
|
|
32486
|
-
className:
|
|
32498
|
+
className: classNames67(
|
|
32487
32499
|
"eui-documentation-panel",
|
|
32488
32500
|
"min-h-0 overflow-hidden bg-white text-gray-900",
|
|
32489
32501
|
"dark:bg-gray-950 dark:text-gray-100",
|
|
@@ -32497,7 +32509,7 @@ function DocumentationPanel({
|
|
|
32497
32509
|
/* @__PURE__ */ jsx(
|
|
32498
32510
|
"main",
|
|
32499
32511
|
{
|
|
32500
|
-
className:
|
|
32512
|
+
className: classNames67(
|
|
32501
32513
|
"eui-documentation-panel-viewer",
|
|
32502
32514
|
"documentation-panel-scrollbar min-w-0 overflow-y-auto scroll-smooth",
|
|
32503
32515
|
viewerClassName
|
|
@@ -32505,7 +32517,7 @@ function DocumentationPanel({
|
|
|
32505
32517
|
children: /* @__PURE__ */ jsx(
|
|
32506
32518
|
"div",
|
|
32507
32519
|
{
|
|
32508
|
-
className:
|
|
32520
|
+
className: classNames67(
|
|
32509
32521
|
"mx-auto px-5 py-8 sm:px-6 lg:px-8",
|
|
32510
32522
|
contentMaxWidthClassName,
|
|
32511
32523
|
contentClassName
|
|
@@ -32518,7 +32530,7 @@ function DocumentationPanel({
|
|
|
32518
32530
|
toc ? /* @__PURE__ */ jsx(
|
|
32519
32531
|
"aside",
|
|
32520
32532
|
{
|
|
32521
|
-
className:
|
|
32533
|
+
className: classNames67(
|
|
32522
32534
|
"eui-documentation-panel-toc",
|
|
32523
32535
|
"hidden min-w-0 border-l border-gray-200 bg-white lg:block",
|
|
32524
32536
|
"dark:border-gray-800 dark:bg-gray-950",
|
|
@@ -32527,7 +32539,7 @@ function DocumentationPanel({
|
|
|
32527
32539
|
children: /* @__PURE__ */ jsx(
|
|
32528
32540
|
"div",
|
|
32529
32541
|
{
|
|
32530
|
-
className:
|
|
32542
|
+
className: classNames67(
|
|
32531
32543
|
"documentation-panel-scrollbar h-full overflow-y-auto px-5 py-8"
|
|
32532
32544
|
),
|
|
32533
32545
|
children: /* @__PURE__ */ jsx("div", { className: "sticky top-0", children: /* @__PURE__ */ jsx(MarkdownTOC_default, {}) })
|
|
@@ -32803,7 +32815,7 @@ function BoxNavItem({ icon, name: name2, to, selected, onClick }) {
|
|
|
32803
32815
|
type: "button",
|
|
32804
32816
|
onClick: handleClick,
|
|
32805
32817
|
"aria-current": selected ? "page" : void 0,
|
|
32806
|
-
className:
|
|
32818
|
+
className: classNames67(
|
|
32807
32819
|
"w-full min-w-[80px] flex flex-col items-center justify-center py-3 text-center",
|
|
32808
32820
|
"hover:text-secondary-700 hover:bg-gray-300/10 hover:cursor-pointer",
|
|
32809
32821
|
selected ? "text-eui-secondary-700 bg-gray-300/10" : "text-gray-400",
|
|
@@ -32847,6 +32859,323 @@ function BoxNav({ data = [], currentPath, onNavigate, navigate }) {
|
|
|
32847
32859
|
}) });
|
|
32848
32860
|
}
|
|
32849
32861
|
var BoxNav_default = BoxNav;
|
|
32862
|
+
function FooterBrand({
|
|
32863
|
+
brand,
|
|
32864
|
+
brandSrc,
|
|
32865
|
+
brandAlt,
|
|
32866
|
+
className
|
|
32867
|
+
}) {
|
|
32868
|
+
if (brand) {
|
|
32869
|
+
return /* @__PURE__ */ jsx("div", { className: cn("inline-flex", className), children: brand });
|
|
32870
|
+
}
|
|
32871
|
+
return /* @__PURE__ */ jsx(Brand, { src: brandSrc, alt: brandAlt, className });
|
|
32872
|
+
}
|
|
32873
|
+
function FooterDescription({
|
|
32874
|
+
children: children3,
|
|
32875
|
+
className
|
|
32876
|
+
}) {
|
|
32877
|
+
if (!children3) return null;
|
|
32878
|
+
return /* @__PURE__ */ jsx(Paragraph, { level: 2, className: cn("max-w-sm text-sm", className), children: children3 });
|
|
32879
|
+
}
|
|
32880
|
+
function FooterSocial({ item, className }) {
|
|
32881
|
+
const { name: name2, href, icon, external = true, onClick } = item;
|
|
32882
|
+
return /* @__PURE__ */ jsx(
|
|
32883
|
+
"a",
|
|
32884
|
+
{
|
|
32885
|
+
href,
|
|
32886
|
+
onClick,
|
|
32887
|
+
target: external ? "_blank" : void 0,
|
|
32888
|
+
rel: external ? "noopener noreferrer" : void 0,
|
|
32889
|
+
"aria-label": name2,
|
|
32890
|
+
title: name2,
|
|
32891
|
+
className: cn(
|
|
32892
|
+
"flex h-9 w-9 items-center justify-center rounded-full text-base",
|
|
32893
|
+
"eui-text-md border border-eui-dark-500/30 dark:border-eui-light-600/30",
|
|
32894
|
+
"eui-theme-transition hover:brightness-125",
|
|
32895
|
+
"hover:bg-eui-dark-500/5 dark:hover:bg-eui-light-600/10",
|
|
32896
|
+
"focus-visible:outline focus-visible:outline-2 focus-visible:outline-offset-2 focus-visible:outline-current",
|
|
32897
|
+
className
|
|
32898
|
+
),
|
|
32899
|
+
children: icon
|
|
32900
|
+
}
|
|
32901
|
+
);
|
|
32902
|
+
}
|
|
32903
|
+
function FooterSocials({
|
|
32904
|
+
items,
|
|
32905
|
+
social,
|
|
32906
|
+
className,
|
|
32907
|
+
itemClassName
|
|
32908
|
+
}) {
|
|
32909
|
+
if (!items || items.length === 0) return null;
|
|
32910
|
+
const Social = social ?? FooterSocial;
|
|
32911
|
+
return /* @__PURE__ */ jsx("div", { className: cn("flex flex-wrap items-center gap-3", className), children: items.map((item, index3) => /* @__PURE__ */ jsx(
|
|
32912
|
+
Social,
|
|
32913
|
+
{
|
|
32914
|
+
item,
|
|
32915
|
+
className: itemClassName
|
|
32916
|
+
},
|
|
32917
|
+
item.key ?? item.name ?? item.href ?? index3
|
|
32918
|
+
)) });
|
|
32919
|
+
}
|
|
32920
|
+
function FooterLink({ item, navigate, className }) {
|
|
32921
|
+
const { label, to, icon, description, badge, external, onClick } = item;
|
|
32922
|
+
const useJsNav = Boolean(onClick) || Boolean(navigate) && Boolean(to);
|
|
32923
|
+
const handleClick = () => {
|
|
32924
|
+
if (onClick) {
|
|
32925
|
+
onClick();
|
|
32926
|
+
return;
|
|
32927
|
+
}
|
|
32928
|
+
if (to && navigate) navigate(to);
|
|
32929
|
+
};
|
|
32930
|
+
const link3 = /* @__PURE__ */ jsx(
|
|
32931
|
+
Link,
|
|
32932
|
+
{
|
|
32933
|
+
href: to || "#",
|
|
32934
|
+
target: external ? "blank" : "self",
|
|
32935
|
+
variant: "default",
|
|
32936
|
+
decoration: "noUnderline",
|
|
32937
|
+
onClick: useJsNav ? handleClick : void 0,
|
|
32938
|
+
styles: cn(
|
|
32939
|
+
"text-sm",
|
|
32940
|
+
!icon && !description && "block py-1",
|
|
32941
|
+
item.className,
|
|
32942
|
+
className
|
|
32943
|
+
),
|
|
32944
|
+
children: label
|
|
32945
|
+
}
|
|
32946
|
+
);
|
|
32947
|
+
if (!icon && !description && !badge) return link3;
|
|
32948
|
+
return /* @__PURE__ */ jsxs("div", { className: "flex items-start gap-3 py-1 text-sm", children: [
|
|
32949
|
+
icon && /* @__PURE__ */ jsx("span", { className: "eui-text-sm mt-0.5 shrink-0 text-base", children: icon }),
|
|
32950
|
+
/* @__PURE__ */ jsxs("div", { className: "flex min-w-0 flex-col", children: [
|
|
32951
|
+
link3,
|
|
32952
|
+
description && /* @__PURE__ */ jsx("span", { className: "eui-text-sm text-xs", children: description })
|
|
32953
|
+
] }),
|
|
32954
|
+
badge && /* @__PURE__ */ jsx("span", { className: "ml-auto", children: badge })
|
|
32955
|
+
] });
|
|
32956
|
+
}
|
|
32957
|
+
function FooterColumn({
|
|
32958
|
+
column,
|
|
32959
|
+
navigate,
|
|
32960
|
+
link: link3,
|
|
32961
|
+
className,
|
|
32962
|
+
titleClassName,
|
|
32963
|
+
linkClassName
|
|
32964
|
+
}) {
|
|
32965
|
+
const Link2 = link3 ?? FooterLink;
|
|
32966
|
+
return /* @__PURE__ */ jsx(
|
|
32967
|
+
FooterNavGroup,
|
|
32968
|
+
{
|
|
32969
|
+
title: column.title,
|
|
32970
|
+
className,
|
|
32971
|
+
titleClassName,
|
|
32972
|
+
children: column.items.map((item, index3) => /* @__PURE__ */ jsx(
|
|
32973
|
+
Link2,
|
|
32974
|
+
{
|
|
32975
|
+
item,
|
|
32976
|
+
navigate,
|
|
32977
|
+
className: linkClassName
|
|
32978
|
+
},
|
|
32979
|
+
item.key ?? index3
|
|
32980
|
+
))
|
|
32981
|
+
}
|
|
32982
|
+
);
|
|
32983
|
+
}
|
|
32984
|
+
var gridColsClassName = (count) => {
|
|
32985
|
+
const map3 = {
|
|
32986
|
+
1: "grid-cols-1",
|
|
32987
|
+
2: "grid-cols-2",
|
|
32988
|
+
3: "grid-cols-2 sm:grid-cols-3",
|
|
32989
|
+
4: "grid-cols-2 sm:grid-cols-4"
|
|
32990
|
+
};
|
|
32991
|
+
return map3[Math.min(Math.max(count, 1), 4)] ?? map3[4];
|
|
32992
|
+
};
|
|
32993
|
+
function FooterColumns({
|
|
32994
|
+
columns,
|
|
32995
|
+
navigate,
|
|
32996
|
+
column,
|
|
32997
|
+
link: link3,
|
|
32998
|
+
className,
|
|
32999
|
+
columnClassName,
|
|
33000
|
+
titleClassName,
|
|
33001
|
+
linkClassName
|
|
33002
|
+
}) {
|
|
33003
|
+
if (!columns || columns.length === 0) return null;
|
|
33004
|
+
const Column = column ?? FooterColumn;
|
|
33005
|
+
return /* @__PURE__ */ jsx(
|
|
33006
|
+
"div",
|
|
33007
|
+
{
|
|
33008
|
+
className: cn("grid gap-8", gridColsClassName(columns.length), className),
|
|
33009
|
+
children: columns.map((col, index3) => {
|
|
33010
|
+
const ColumnComponent = col.component ?? Column;
|
|
33011
|
+
return /* @__PURE__ */ jsx(
|
|
33012
|
+
ColumnComponent,
|
|
33013
|
+
{
|
|
33014
|
+
column: col,
|
|
33015
|
+
navigate,
|
|
33016
|
+
link: link3,
|
|
33017
|
+
className: cn(columnClassName, col.className),
|
|
33018
|
+
titleClassName,
|
|
33019
|
+
linkClassName
|
|
33020
|
+
},
|
|
33021
|
+
col.key ?? index3
|
|
33022
|
+
);
|
|
33023
|
+
})
|
|
33024
|
+
}
|
|
33025
|
+
);
|
|
33026
|
+
}
|
|
33027
|
+
function FooterBottom({
|
|
33028
|
+
copyright,
|
|
33029
|
+
legalLinks = [],
|
|
33030
|
+
bottomNote,
|
|
33031
|
+
navigate,
|
|
33032
|
+
classNames: classNames71
|
|
33033
|
+
}) {
|
|
33034
|
+
const hasLegal = legalLinks.length > 0;
|
|
33035
|
+
if (!copyright && !hasLegal && !bottomNote) return null;
|
|
33036
|
+
return /* @__PURE__ */ jsxs(
|
|
33037
|
+
"div",
|
|
33038
|
+
{
|
|
33039
|
+
className: cn(
|
|
33040
|
+
"mt-14 flex flex-col gap-4 pt-8",
|
|
33041
|
+
"border-t border-eui-dark-500/15 dark:border-eui-light-600/15",
|
|
33042
|
+
"md:flex-row md:items-center md:justify-between",
|
|
33043
|
+
classNames71?.bottom
|
|
33044
|
+
),
|
|
33045
|
+
children: [
|
|
33046
|
+
copyright && /* @__PURE__ */ jsx(
|
|
33047
|
+
Caption,
|
|
33048
|
+
{
|
|
33049
|
+
className: cn("max-w-3xl leading-relaxed", classNames71?.copyright),
|
|
33050
|
+
children: copyright
|
|
33051
|
+
}
|
|
33052
|
+
),
|
|
33053
|
+
(hasLegal || bottomNote) && /* @__PURE__ */ jsxs("div", { className: "flex flex-wrap items-center gap-x-5 gap-y-2 md:justify-end", children: [
|
|
33054
|
+
legalLinks.map((item, index3) => {
|
|
33055
|
+
const useJsNav = Boolean(item.onClick) || Boolean(navigate) && Boolean(item.to);
|
|
33056
|
+
return /* @__PURE__ */ jsx(
|
|
33057
|
+
Link,
|
|
33058
|
+
{
|
|
33059
|
+
href: item.to || "#",
|
|
33060
|
+
target: item.external ? "blank" : "self",
|
|
33061
|
+
variant: "default",
|
|
33062
|
+
decoration: "noUnderline",
|
|
33063
|
+
onClick: useJsNav ? () => item.onClick ? item.onClick() : item.to && navigate?.(item.to) : void 0,
|
|
33064
|
+
styles: cn("whitespace-nowrap text-xs", classNames71?.legalLink),
|
|
33065
|
+
children: item.label
|
|
33066
|
+
},
|
|
33067
|
+
item.key ?? index3
|
|
33068
|
+
);
|
|
33069
|
+
}),
|
|
33070
|
+
bottomNote && /* @__PURE__ */ jsx(Caption, { children: bottomNote })
|
|
33071
|
+
] })
|
|
33072
|
+
]
|
|
33073
|
+
}
|
|
33074
|
+
);
|
|
33075
|
+
}
|
|
33076
|
+
function SiteFooter({
|
|
33077
|
+
brand,
|
|
33078
|
+
brandSrc,
|
|
33079
|
+
brandAlt,
|
|
33080
|
+
description,
|
|
33081
|
+
columns = [],
|
|
33082
|
+
socials = [],
|
|
33083
|
+
copyright,
|
|
33084
|
+
legalLinks = [],
|
|
33085
|
+
bottomNote,
|
|
33086
|
+
navigate,
|
|
33087
|
+
components,
|
|
33088
|
+
classNames: classNames71,
|
|
33089
|
+
className,
|
|
33090
|
+
styles,
|
|
33091
|
+
maxWidth = "max-w-7xl",
|
|
33092
|
+
showBrand = true,
|
|
33093
|
+
showColumns = true,
|
|
33094
|
+
showSocials = true,
|
|
33095
|
+
showBottom = true,
|
|
33096
|
+
children: children3
|
|
33097
|
+
}) {
|
|
33098
|
+
const Root = components?.root ?? Footer;
|
|
33099
|
+
const Container = components?.container;
|
|
33100
|
+
const BrandSlot = components?.brand ?? FooterBrand;
|
|
33101
|
+
const DescriptionSlot = components?.description ?? FooterDescription;
|
|
33102
|
+
const SocialsSlot = components?.socials ?? FooterSocials;
|
|
33103
|
+
const ColumnsSlot = components?.columns ?? FooterColumns;
|
|
33104
|
+
const BottomSlot = components?.bottom ?? FooterBottom;
|
|
33105
|
+
const hasBrandBlock = showBrand && (Boolean(brand) || Boolean(brandSrc) || Boolean(description) || showSocials && socials.length > 0);
|
|
33106
|
+
const hasColumns = showColumns && columns.length > 0;
|
|
33107
|
+
const brandBlock = hasBrandBlock ? /* @__PURE__ */ jsxs("div", { className: cn("flex flex-col gap-6", classNames71?.brandBlock), children: [
|
|
33108
|
+
showBrand && (Boolean(brand) || Boolean(brandSrc)) && /* @__PURE__ */ jsx(BrandSlot, { brand, brandSrc, brandAlt }),
|
|
33109
|
+
description && /* @__PURE__ */ jsx(DescriptionSlot, { className: classNames71?.description, children: description }),
|
|
33110
|
+
showSocials && socials.length > 0 && /* @__PURE__ */ jsx(
|
|
33111
|
+
SocialsSlot,
|
|
33112
|
+
{
|
|
33113
|
+
items: socials,
|
|
33114
|
+
social: components?.social,
|
|
33115
|
+
className: classNames71?.socials,
|
|
33116
|
+
itemClassName: classNames71?.social
|
|
33117
|
+
}
|
|
33118
|
+
)
|
|
33119
|
+
] }) : null;
|
|
33120
|
+
const columnsBlock = hasColumns ? /* @__PURE__ */ jsx(
|
|
33121
|
+
ColumnsSlot,
|
|
33122
|
+
{
|
|
33123
|
+
columns,
|
|
33124
|
+
navigate,
|
|
33125
|
+
column: components?.column,
|
|
33126
|
+
link: components?.link,
|
|
33127
|
+
className: cn(classNames71?.columns, brandBlock && "lg:col-span-3"),
|
|
33128
|
+
columnClassName: classNames71?.column,
|
|
33129
|
+
titleClassName: classNames71?.columnTitle,
|
|
33130
|
+
linkClassName: classNames71?.link
|
|
33131
|
+
}
|
|
33132
|
+
) : null;
|
|
33133
|
+
const topSection = children3 ?? (brandBlock || columnsBlock ? /* @__PURE__ */ jsxs(
|
|
33134
|
+
"div",
|
|
33135
|
+
{
|
|
33136
|
+
className: cn(
|
|
33137
|
+
"grid gap-12",
|
|
33138
|
+
brandBlock && columnsBlock && "lg:grid-cols-4",
|
|
33139
|
+
classNames71?.top
|
|
33140
|
+
),
|
|
33141
|
+
children: [
|
|
33142
|
+
brandBlock,
|
|
33143
|
+
columnsBlock
|
|
33144
|
+
]
|
|
33145
|
+
}
|
|
33146
|
+
) : null);
|
|
33147
|
+
const content3 = /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
33148
|
+
topSection,
|
|
33149
|
+
showBottom && /* @__PURE__ */ jsx(
|
|
33150
|
+
BottomSlot,
|
|
33151
|
+
{
|
|
33152
|
+
copyright,
|
|
33153
|
+
legalLinks,
|
|
33154
|
+
bottomNote,
|
|
33155
|
+
navigate,
|
|
33156
|
+
classNames: classNames71
|
|
33157
|
+
}
|
|
33158
|
+
)
|
|
33159
|
+
] });
|
|
33160
|
+
const containerClassName = cn(
|
|
33161
|
+
"mx-auto px-6 py-16 md:px-10 lg:px-16",
|
|
33162
|
+
maxWidth,
|
|
33163
|
+
classNames71?.container
|
|
33164
|
+
);
|
|
33165
|
+
return /* @__PURE__ */ jsx(Root, { styles: cn(styles, classNames71?.root, className), children: Container ? /* @__PURE__ */ jsx(Container, { className: containerClassName, children: content3 }) : /* @__PURE__ */ jsx("div", { className: containerClassName, children: content3 }) });
|
|
33166
|
+
}
|
|
33167
|
+
|
|
33168
|
+
// src/compositions/navigation/site-footer/index.tsx
|
|
33169
|
+
var SiteFooter2 = Object.assign(SiteFooter, {
|
|
33170
|
+
Brand: FooterBrand,
|
|
33171
|
+
Description: FooterDescription,
|
|
33172
|
+
Socials: FooterSocials,
|
|
33173
|
+
Social: FooterSocial,
|
|
33174
|
+
Columns: FooterColumns,
|
|
33175
|
+
Column: FooterColumn,
|
|
33176
|
+
Link: FooterLink,
|
|
33177
|
+
Bottom: FooterBottom
|
|
33178
|
+
});
|
|
32850
33179
|
function Sidebar({
|
|
32851
33180
|
items = [],
|
|
32852
33181
|
navigate,
|
|
@@ -33147,7 +33476,7 @@ var TopNav = ({
|
|
|
33147
33476
|
currentPath,
|
|
33148
33477
|
navigate,
|
|
33149
33478
|
components,
|
|
33150
|
-
classNames:
|
|
33479
|
+
classNames: classNames71,
|
|
33151
33480
|
className
|
|
33152
33481
|
}) => {
|
|
33153
33482
|
const pathname = currentPath ?? (typeof window !== "undefined" ? window.location.pathname : "");
|
|
@@ -33199,8 +33528,8 @@ var TopNav = ({
|
|
|
33199
33528
|
return /* @__PURE__ */ jsx(
|
|
33200
33529
|
TNThemeProvider,
|
|
33201
33530
|
{
|
|
33202
|
-
value: { components: components || {}, classNames:
|
|
33203
|
-
children: /* @__PURE__ */ jsx("div", { className: cn("flex items-center",
|
|
33531
|
+
value: { components: components || {}, classNames: classNames71 || {} },
|
|
33532
|
+
children: /* @__PURE__ */ jsx("div", { className: cn("flex items-center", classNames71?.root, className), children: items.map(renderNode) })
|
|
33204
33533
|
}
|
|
33205
33534
|
);
|
|
33206
33535
|
};
|
|
@@ -35383,11 +35712,11 @@ function addChildren(props, children3) {
|
|
|
35383
35712
|
}
|
|
35384
35713
|
}
|
|
35385
35714
|
}
|
|
35386
|
-
function productionCreate(_2,
|
|
35715
|
+
function productionCreate(_2, jsx265, jsxs130) {
|
|
35387
35716
|
return create3;
|
|
35388
35717
|
function create3(_3, type2, props, key) {
|
|
35389
35718
|
const isStaticChildren = Array.isArray(props.children);
|
|
35390
|
-
const fn = isStaticChildren ?
|
|
35719
|
+
const fn = isStaticChildren ? jsxs130 : jsx265;
|
|
35391
35720
|
return key ? fn(type2, props, key) : fn(type2, props);
|
|
35392
35721
|
}
|
|
35393
35722
|
}
|
|
@@ -55418,7 +55747,7 @@ function MarkdownHeading({
|
|
|
55418
55747
|
id: id2,
|
|
55419
55748
|
level: typographyLevel,
|
|
55420
55749
|
bold: true,
|
|
55421
|
-
className:
|
|
55750
|
+
className: classNames67(
|
|
55422
55751
|
"eui-markdown-heading group relative scroll-mt-24 font-bold leading-tight text-gray-900 dark:text-gray-100",
|
|
55423
55752
|
HEADING_STYLES[level],
|
|
55424
55753
|
className
|
|
@@ -55581,18 +55910,18 @@ function powerSetPermutations(arr) {
|
|
|
55581
55910
|
}
|
|
55582
55911
|
}
|
|
55583
55912
|
var classNameCombinations = {};
|
|
55584
|
-
function getClassNameCombinations(
|
|
55585
|
-
if (
|
|
55586
|
-
var key =
|
|
55913
|
+
function getClassNameCombinations(classNames71) {
|
|
55914
|
+
if (classNames71.length === 0 || classNames71.length === 1) return classNames71;
|
|
55915
|
+
var key = classNames71.join(".");
|
|
55587
55916
|
if (!classNameCombinations[key]) {
|
|
55588
|
-
classNameCombinations[key] = powerSetPermutations(
|
|
55917
|
+
classNameCombinations[key] = powerSetPermutations(classNames71);
|
|
55589
55918
|
}
|
|
55590
55919
|
return classNameCombinations[key];
|
|
55591
55920
|
}
|
|
55592
|
-
function createStyleObject(
|
|
55921
|
+
function createStyleObject(classNames71) {
|
|
55593
55922
|
var elementStyle = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {};
|
|
55594
55923
|
var stylesheet = arguments.length > 2 ? arguments[2] : void 0;
|
|
55595
|
-
var nonTokenClassNames =
|
|
55924
|
+
var nonTokenClassNames = classNames71.filter(function(className) {
|
|
55596
55925
|
return className !== "token";
|
|
55597
55926
|
});
|
|
55598
55927
|
var classNamesCombinations = getClassNameCombinations(nonTokenClassNames);
|
|
@@ -55600,8 +55929,8 @@ function createStyleObject(classNames73) {
|
|
|
55600
55929
|
return _objectSpread(_objectSpread({}, styleObject), stylesheet[className]);
|
|
55601
55930
|
}, elementStyle);
|
|
55602
55931
|
}
|
|
55603
|
-
function createClassNameString(
|
|
55604
|
-
return
|
|
55932
|
+
function createClassNameString(classNames71) {
|
|
55933
|
+
return classNames71.join(" ");
|
|
55605
55934
|
}
|
|
55606
55935
|
function createChildren2(stylesheet, useInlineStyles) {
|
|
55607
55936
|
var childrenCount = 0;
|
|
@@ -55774,8 +56103,8 @@ function flattenCodeTree(tree) {
|
|
|
55774
56103
|
}));
|
|
55775
56104
|
} else if (node2.children) {
|
|
55776
56105
|
var _node$properties;
|
|
55777
|
-
var
|
|
55778
|
-
flattenCodeTree(node2.children,
|
|
56106
|
+
var classNames71 = className.concat(((_node$properties = node2.properties) === null || _node$properties === void 0 ? void 0 : _node$properties.className) || []);
|
|
56107
|
+
flattenCodeTree(node2.children, classNames71).forEach(function(i2) {
|
|
55779
56108
|
return newTree.push(i2);
|
|
55780
56109
|
});
|
|
55781
56110
|
}
|
|
@@ -56306,7 +56635,7 @@ var json_default = json;
|
|
|
56306
56635
|
|
|
56307
56636
|
// node_modules/react-syntax-highlighter/dist/esm/languages/prism/jsx.js
|
|
56308
56637
|
init_jsx();
|
|
56309
|
-
var jsx_default =
|
|
56638
|
+
var jsx_default = jsx226;
|
|
56310
56639
|
|
|
56311
56640
|
// node_modules/react-syntax-highlighter/dist/esm/languages/prism/markup.js
|
|
56312
56641
|
init_markup();
|
|
@@ -56439,7 +56768,7 @@ function MarkdownCodeBlock({
|
|
|
56439
56768
|
"div",
|
|
56440
56769
|
{
|
|
56441
56770
|
...props,
|
|
56442
|
-
className:
|
|
56771
|
+
className: classNames67(
|
|
56443
56772
|
"eui-markdown-code my-6 overflow-hidden rounded-md border border-slate-700 bg-[#0d1117] text-slate-300",
|
|
56444
56773
|
className
|
|
56445
56774
|
),
|
|
@@ -56510,7 +56839,7 @@ function MarkdownInlineCode({
|
|
|
56510
56839
|
Code,
|
|
56511
56840
|
{
|
|
56512
56841
|
...props,
|
|
56513
|
-
className:
|
|
56842
|
+
className: classNames67(
|
|
56514
56843
|
"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",
|
|
56515
56844
|
className
|
|
56516
56845
|
),
|
|
@@ -56551,7 +56880,7 @@ function MarkdownLink({
|
|
|
56551
56880
|
href: safeHref,
|
|
56552
56881
|
target: resolvedTarget,
|
|
56553
56882
|
rel,
|
|
56554
|
-
className:
|
|
56883
|
+
className: classNames67(
|
|
56555
56884
|
"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",
|
|
56556
56885
|
className
|
|
56557
56886
|
),
|
|
@@ -56586,7 +56915,7 @@ function MarkdownImage({
|
|
|
56586
56915
|
title,
|
|
56587
56916
|
loading: "lazy",
|
|
56588
56917
|
decoding: "async",
|
|
56589
|
-
className:
|
|
56918
|
+
className: classNames67(
|
|
56590
56919
|
"eui-markdown-image my-6 h-auto max-w-full rounded-md border border-gray-200 dark:border-gray-700",
|
|
56591
56920
|
className
|
|
56592
56921
|
)
|
|
@@ -56603,7 +56932,7 @@ function MarkdownTable({
|
|
|
56603
56932
|
TableElement,
|
|
56604
56933
|
{
|
|
56605
56934
|
...props,
|
|
56606
|
-
className:
|
|
56935
|
+
className: classNames67(
|
|
56607
56936
|
"eui-markdown-table w-full border-collapse text-[0.925rem]",
|
|
56608
56937
|
className
|
|
56609
56938
|
),
|
|
@@ -56620,7 +56949,7 @@ function MarkdownTableCell({
|
|
|
56620
56949
|
TableCell,
|
|
56621
56950
|
{
|
|
56622
56951
|
...props,
|
|
56623
|
-
className:
|
|
56952
|
+
className: classNames67(
|
|
56624
56953
|
"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",
|
|
56625
56954
|
className
|
|
56626
56955
|
),
|
|
@@ -56637,7 +56966,7 @@ function MarkdownTableHeaderCell({
|
|
|
56637
56966
|
TableHeaderCell,
|
|
56638
56967
|
{
|
|
56639
56968
|
...props,
|
|
56640
|
-
className:
|
|
56969
|
+
className: classNames67(
|
|
56641
56970
|
"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",
|
|
56642
56971
|
className
|
|
56643
56972
|
),
|
|
@@ -56653,7 +56982,7 @@ function MarkdownTableHead({
|
|
|
56653
56982
|
TableHead,
|
|
56654
56983
|
{
|
|
56655
56984
|
...props,
|
|
56656
|
-
className:
|
|
56985
|
+
className: classNames67(
|
|
56657
56986
|
"eui-markdown-table-head bg-gray-50 dark:bg-gray-900",
|
|
56658
56987
|
className
|
|
56659
56988
|
)
|
|
@@ -56668,7 +56997,7 @@ function MarkdownTableBody({
|
|
|
56668
56997
|
TableBody,
|
|
56669
56998
|
{
|
|
56670
56999
|
...props,
|
|
56671
|
-
className:
|
|
57000
|
+
className: classNames67("eui-markdown-table-body", className)
|
|
56672
57001
|
}
|
|
56673
57002
|
);
|
|
56674
57003
|
}
|
|
@@ -56680,7 +57009,7 @@ function MarkdownTableRow({
|
|
|
56680
57009
|
TableRow,
|
|
56681
57010
|
{
|
|
56682
57011
|
...props,
|
|
56683
|
-
className:
|
|
57012
|
+
className: classNames67(
|
|
56684
57013
|
"eui-markdown-table-row even:bg-gray-50/70 dark:even:bg-gray-900/60",
|
|
56685
57014
|
className
|
|
56686
57015
|
)
|
|
@@ -56698,7 +57027,7 @@ function MarkdownBlockquote({
|
|
|
56698
57027
|
{
|
|
56699
57028
|
...props,
|
|
56700
57029
|
as: "blockquote",
|
|
56701
|
-
className:
|
|
57030
|
+
className: classNames67(
|
|
56702
57031
|
"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",
|
|
56703
57032
|
className
|
|
56704
57033
|
),
|
|
@@ -56717,7 +57046,7 @@ function MarkdownParagraph({
|
|
|
56717
57046
|
{
|
|
56718
57047
|
...props,
|
|
56719
57048
|
level: 1,
|
|
56720
|
-
className:
|
|
57049
|
+
className: classNames67("eui-markdown-paragraph my-4", className),
|
|
56721
57050
|
children: /* @__PURE__ */ jsx(Fragment, { children: children3 })
|
|
56722
57051
|
}
|
|
56723
57052
|
);
|
|
@@ -56728,7 +57057,7 @@ function MarkdownStrong({ className, ...props }) {
|
|
|
56728
57057
|
"strong",
|
|
56729
57058
|
{
|
|
56730
57059
|
...props,
|
|
56731
|
-
className:
|
|
57060
|
+
className: classNames67(
|
|
56732
57061
|
"eui-markdown-strong font-semibold text-gray-950 dark:text-gray-100",
|
|
56733
57062
|
className
|
|
56734
57063
|
)
|
|
@@ -56741,7 +57070,7 @@ function MarkdownEmphasis({ className, ...props }) {
|
|
|
56741
57070
|
"em",
|
|
56742
57071
|
{
|
|
56743
57072
|
...props,
|
|
56744
|
-
className:
|
|
57073
|
+
className: classNames67("eui-markdown-emphasis italic", className)
|
|
56745
57074
|
}
|
|
56746
57075
|
);
|
|
56747
57076
|
}
|
|
@@ -56754,7 +57083,7 @@ function MarkdownStrikethrough({
|
|
|
56754
57083
|
"del",
|
|
56755
57084
|
{
|
|
56756
57085
|
...props,
|
|
56757
|
-
className:
|
|
57086
|
+
className: classNames67(
|
|
56758
57087
|
"eui-markdown-strikethrough text-gray-500 dark:text-gray-400",
|
|
56759
57088
|
className
|
|
56760
57089
|
)
|
|
@@ -56815,7 +57144,7 @@ function MarkdownTaskCheckbox({
|
|
|
56815
57144
|
"input",
|
|
56816
57145
|
{
|
|
56817
57146
|
...props,
|
|
56818
|
-
className:
|
|
57147
|
+
className: classNames67(
|
|
56819
57148
|
"eui-markdown-task-checkbox mr-2 translate-y-px accent-blue-600",
|
|
56820
57149
|
className
|
|
56821
57150
|
)
|
|
@@ -56831,7 +57160,7 @@ function MarkdownThematicBreak({
|
|
|
56831
57160
|
"hr",
|
|
56832
57161
|
{
|
|
56833
57162
|
...props,
|
|
56834
|
-
className:
|
|
57163
|
+
className: classNames67(
|
|
56835
57164
|
"eui-markdown-thematic-break my-8 border-0 border-t border-gray-200 dark:border-gray-800",
|
|
56836
57165
|
className
|
|
56837
57166
|
)
|
|
@@ -56848,7 +57177,7 @@ function MarkdownDetails({ className, ...props }) {
|
|
|
56848
57177
|
"details",
|
|
56849
57178
|
{
|
|
56850
57179
|
...props,
|
|
56851
|
-
className:
|
|
57180
|
+
className: classNames67(
|
|
56852
57181
|
"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",
|
|
56853
57182
|
className
|
|
56854
57183
|
)
|
|
@@ -56860,7 +57189,7 @@ function MarkdownSummary({ className, ...props }) {
|
|
|
56860
57189
|
"summary",
|
|
56861
57190
|
{
|
|
56862
57191
|
...props,
|
|
56863
|
-
className:
|
|
57192
|
+
className: classNames67(
|
|
56864
57193
|
"eui-markdown-summary cursor-pointer font-semibold text-gray-950 dark:text-gray-100",
|
|
56865
57194
|
className
|
|
56866
57195
|
)
|
|
@@ -56872,7 +57201,7 @@ function MarkdownFigure({ className, ...props }) {
|
|
|
56872
57201
|
"figure",
|
|
56873
57202
|
{
|
|
56874
57203
|
...props,
|
|
56875
|
-
className:
|
|
57204
|
+
className: classNames67("eui-markdown-figure my-6", className)
|
|
56876
57205
|
}
|
|
56877
57206
|
);
|
|
56878
57207
|
}
|
|
@@ -56884,7 +57213,7 @@ function MarkdownFigcaption({
|
|
|
56884
57213
|
return /* @__PURE__ */ jsx("figcaption", { ...props, className: "eui-markdown-figcaption mt-2 text-center", children: /* @__PURE__ */ jsx(
|
|
56885
57214
|
Caption,
|
|
56886
57215
|
{
|
|
56887
|
-
className:
|
|
57216
|
+
className: classNames67(
|
|
56888
57217
|
"text-gray-500 opacity-100 dark:text-gray-400",
|
|
56889
57218
|
className
|
|
56890
57219
|
),
|
|
@@ -57283,14 +57612,14 @@ function MarkdownRenderer({
|
|
|
57283
57612
|
return /* @__PURE__ */ jsx(
|
|
57284
57613
|
"div",
|
|
57285
57614
|
{
|
|
57286
|
-
className:
|
|
57615
|
+
className: classNames67(
|
|
57287
57616
|
"eui-markdown markdown-body break-words bg-transparent text-[0.95rem] leading-7 text-gray-800 dark:text-gray-300",
|
|
57288
57617
|
className
|
|
57289
57618
|
),
|
|
57290
57619
|
children: /* @__PURE__ */ jsx(
|
|
57291
57620
|
"div",
|
|
57292
57621
|
{
|
|
57293
|
-
className:
|
|
57622
|
+
className: classNames67(
|
|
57294
57623
|
"[&>*:first-child]:mt-0 [&>*:last-child]:mb-0",
|
|
57295
57624
|
contentClassName
|
|
57296
57625
|
),
|
|
@@ -57368,11 +57697,11 @@ function MarkdownTOCItem({
|
|
|
57368
57697
|
onClick: () => onSelect?.(heading3),
|
|
57369
57698
|
"aria-current": active ? "location" : void 0,
|
|
57370
57699
|
title: label,
|
|
57371
|
-
className:
|
|
57700
|
+
className: classNames67(
|
|
57372
57701
|
"eui-markdown-toc-item",
|
|
57373
57702
|
"block w-full text-left text-sm transition-all ease-in-out duration-150",
|
|
57374
57703
|
"hover:text-primary",
|
|
57375
|
-
active ?
|
|
57704
|
+
active ? classNames67("text-primary font-semibold underline", activeClassName) : classNames67("text-gray-500 dark:text-gray-400", inactiveClassName),
|
|
57376
57705
|
className
|
|
57377
57706
|
),
|
|
57378
57707
|
style: {
|
|
@@ -57438,7 +57767,7 @@ function MarkdownTOC({
|
|
|
57438
57767
|
return emptyState ? /* @__PURE__ */ jsx(
|
|
57439
57768
|
"div",
|
|
57440
57769
|
{
|
|
57441
|
-
className:
|
|
57770
|
+
className: classNames67(
|
|
57442
57771
|
"eui-markdown-toc",
|
|
57443
57772
|
"text-sm text-gray-500 dark:text-gray-400",
|
|
57444
57773
|
className
|
|
@@ -57458,7 +57787,7 @@ function MarkdownTOC({
|
|
|
57458
57787
|
{
|
|
57459
57788
|
type: "button",
|
|
57460
57789
|
onClick: () => setCollapsed((value) => !value),
|
|
57461
|
-
className:
|
|
57790
|
+
className: classNames67(
|
|
57462
57791
|
"eui-markdown-toc-title",
|
|
57463
57792
|
"flex w-full items-center justify-between gap-2 text-left",
|
|
57464
57793
|
"text-sm font-semibold uppercase tracking-wide",
|
|
@@ -57471,7 +57800,7 @@ function MarkdownTOC({
|
|
|
57471
57800
|
/* @__PURE__ */ jsx(
|
|
57472
57801
|
"span",
|
|
57473
57802
|
{
|
|
57474
|
-
className:
|
|
57803
|
+
className: classNames67(
|
|
57475
57804
|
"text-xs opacity-60 transition-transform duration-150",
|
|
57476
57805
|
!collapsed && "rotate-90"
|
|
57477
57806
|
),
|
|
@@ -57484,7 +57813,7 @@ function MarkdownTOC({
|
|
|
57484
57813
|
) : /* @__PURE__ */ jsx(
|
|
57485
57814
|
"h2",
|
|
57486
57815
|
{
|
|
57487
|
-
className:
|
|
57816
|
+
className: classNames67(
|
|
57488
57817
|
"eui-markdown-toc-title",
|
|
57489
57818
|
"text-sm font-semibold uppercase tracking-wide",
|
|
57490
57819
|
"text-gray-900 dark:text-gray-100",
|
|
@@ -57496,7 +57825,7 @@ function MarkdownTOC({
|
|
|
57496
57825
|
!collapsed ? /* @__PURE__ */ jsx(
|
|
57497
57826
|
"nav",
|
|
57498
57827
|
{
|
|
57499
|
-
className:
|
|
57828
|
+
className: classNames67(
|
|
57500
57829
|
"eui-markdown-toc-list",
|
|
57501
57830
|
"space-y-1",
|
|
57502
57831
|
listClassName
|
|
@@ -57520,7 +57849,7 @@ function MarkdownTOC({
|
|
|
57520
57849
|
}
|
|
57521
57850
|
) : null
|
|
57522
57851
|
] });
|
|
57523
|
-
return /* @__PURE__ */ jsx("aside", { className:
|
|
57852
|
+
return /* @__PURE__ */ jsx("aside", { className: classNames67("eui-markdown-toc", "space-y-4", className), children: content3 });
|
|
57524
57853
|
}
|
|
57525
57854
|
var MarkdownTOC_default = MarkdownTOC;
|
|
57526
57855
|
var DEFAULT_MARKDOWN_TOOLBAR_ACTIONS = [
|
|
@@ -57619,7 +57948,7 @@ function MarkdownToolbar({
|
|
|
57619
57948
|
return /* @__PURE__ */ jsxs(
|
|
57620
57949
|
"div",
|
|
57621
57950
|
{
|
|
57622
|
-
className:
|
|
57951
|
+
className: classNames67(
|
|
57623
57952
|
"eui-markdown-toolbar",
|
|
57624
57953
|
"flex flex-wrap items-center gap-1 border-b border-gray-200 bg-gray-50 p-2",
|
|
57625
57954
|
"dark:border-gray-700 dark:bg-gray-900",
|
|
@@ -57633,7 +57962,7 @@ function MarkdownToolbar({
|
|
|
57633
57962
|
disabled: disabled || actionsDisabled,
|
|
57634
57963
|
title: action.shortcut ? `${action.title || action.label} (${action.shortcut})` : action.title || action.label,
|
|
57635
57964
|
onClick: () => onAction?.(action.id),
|
|
57636
|
-
className:
|
|
57965
|
+
className: classNames67(
|
|
57637
57966
|
"eui-markdown-toolbar-button",
|
|
57638
57967
|
"inline-flex items-center justify-center rounded border border-transparent",
|
|
57639
57968
|
"text-gray-700 transition-colors hover:border-gray-300 hover:bg-white",
|
|
@@ -57653,7 +57982,7 @@ function MarkdownToolbar({
|
|
|
57653
57982
|
disabled,
|
|
57654
57983
|
onClick: onViewModeToggle,
|
|
57655
57984
|
title: isPreviewMode ? "Switch to Markdown syntax" : "Switch to preview",
|
|
57656
|
-
className:
|
|
57985
|
+
className: classNames67(
|
|
57657
57986
|
"eui-markdown-view-toggle",
|
|
57658
57987
|
"inline-flex items-center justify-center rounded border font-medium transition-colors",
|
|
57659
57988
|
"border-gray-300 bg-white text-gray-700 hover:bg-gray-100",
|
|
@@ -57910,7 +58239,7 @@ function MarkdownSourceEditor({
|
|
|
57910
58239
|
return /* @__PURE__ */ jsxs(
|
|
57911
58240
|
"div",
|
|
57912
58241
|
{
|
|
57913
|
-
className:
|
|
58242
|
+
className: classNames67(
|
|
57914
58243
|
"eui-markdown-editor",
|
|
57915
58244
|
"overflow-hidden rounded border border-gray-300 bg-white",
|
|
57916
58245
|
"dark:border-gray-700 dark:bg-gray-950",
|
|
@@ -57926,7 +58255,7 @@ function MarkdownSourceEditor({
|
|
|
57926
58255
|
actionsDisabled: readOnly,
|
|
57927
58256
|
viewMode: currentViewMode,
|
|
57928
58257
|
showViewModeToggle,
|
|
57929
|
-
className:
|
|
58258
|
+
className: classNames67(toolbarClassName, toolbarProps?.className),
|
|
57930
58259
|
onViewModeToggle: toggleViewMode,
|
|
57931
58260
|
onAction: handleToolbarAction
|
|
57932
58261
|
}
|
|
@@ -57934,7 +58263,7 @@ function MarkdownSourceEditor({
|
|
|
57934
58263
|
currentViewMode === "preview" ? /* @__PURE__ */ jsx(
|
|
57935
58264
|
"div",
|
|
57936
58265
|
{
|
|
57937
|
-
className:
|
|
58266
|
+
className: classNames67(
|
|
57938
58267
|
"eui-markdown-editor-preview",
|
|
57939
58268
|
"min-h-[260px] p-4",
|
|
57940
58269
|
previewClassName
|
|
@@ -57957,7 +58286,7 @@ function MarkdownSourceEditor({
|
|
|
57957
58286
|
onChange: (event) => updateValue(event.target.value),
|
|
57958
58287
|
onBlur,
|
|
57959
58288
|
onKeyDown: handleKeyDown,
|
|
57960
|
-
className:
|
|
58289
|
+
className: classNames67(
|
|
57961
58290
|
"eui-markdown-source-textarea",
|
|
57962
58291
|
"block w-full resize-y border-0 bg-transparent p-4 font-mono text-sm leading-7",
|
|
57963
58292
|
"text-gray-900 outline-none placeholder:text-gray-400",
|
|
@@ -57987,7 +58316,7 @@ function MarkdownPreviewPane({
|
|
|
57987
58316
|
return /* @__PURE__ */ jsx(
|
|
57988
58317
|
"div",
|
|
57989
58318
|
{
|
|
57990
|
-
className:
|
|
58319
|
+
className: classNames67(
|
|
57991
58320
|
"eui-markdown-preview-pane",
|
|
57992
58321
|
"rounded border border-gray-300 bg-white p-4",
|
|
57993
58322
|
"dark:border-gray-700 dark:bg-gray-950",
|
|
@@ -58037,7 +58366,7 @@ function MarkdownSplitEditor({
|
|
|
58037
58366
|
return /* @__PURE__ */ jsxs(
|
|
58038
58367
|
"div",
|
|
58039
58368
|
{
|
|
58040
|
-
className:
|
|
58369
|
+
className: classNames67(
|
|
58041
58370
|
"eui-markdown-split-editor",
|
|
58042
58371
|
"grid gap-4",
|
|
58043
58372
|
isHorizontal ? "grid-cols-1 lg:grid-cols-2" : "grid-cols-1",
|
|
@@ -58047,7 +58376,7 @@ function MarkdownSplitEditor({
|
|
|
58047
58376
|
/* @__PURE__ */ jsxs(
|
|
58048
58377
|
"div",
|
|
58049
58378
|
{
|
|
58050
|
-
className:
|
|
58379
|
+
className: classNames67(
|
|
58051
58380
|
"eui-markdown-split-source",
|
|
58052
58381
|
"min-w-0 space-y-2",
|
|
58053
58382
|
sourceWrapperClassName
|
|
@@ -58071,7 +58400,7 @@ function MarkdownSplitEditor({
|
|
|
58071
58400
|
/* @__PURE__ */ jsxs(
|
|
58072
58401
|
"div",
|
|
58073
58402
|
{
|
|
58074
|
-
className:
|
|
58403
|
+
className: classNames67(
|
|
58075
58404
|
"eui-markdown-split-preview",
|
|
58076
58405
|
"min-w-0 space-y-2",
|
|
58077
58406
|
previewWrapperClassName
|
|
@@ -58161,7 +58490,7 @@ function MarkdownField({
|
|
|
58161
58490
|
return /* @__PURE__ */ jsxs(
|
|
58162
58491
|
"div",
|
|
58163
58492
|
{
|
|
58164
|
-
className:
|
|
58493
|
+
className: classNames67(
|
|
58165
58494
|
"eui-markdown-field",
|
|
58166
58495
|
"relative space-y-2",
|
|
58167
58496
|
wrapperClassName
|
|
@@ -58171,7 +58500,7 @@ function MarkdownField({
|
|
|
58171
58500
|
"label",
|
|
58172
58501
|
{
|
|
58173
58502
|
htmlFor: editorProps.id || field.name,
|
|
58174
|
-
className:
|
|
58503
|
+
className: classNames67(
|
|
58175
58504
|
"block text-sm font-medium text-gray-700 dark:text-gray-200",
|
|
58176
58505
|
labelClassName
|
|
58177
58506
|
),
|
|
@@ -58196,7 +58525,7 @@ function MarkdownField({
|
|
|
58196
58525
|
helperText && !hasError ? /* @__PURE__ */ jsx(
|
|
58197
58526
|
"p",
|
|
58198
58527
|
{
|
|
58199
|
-
className:
|
|
58528
|
+
className: classNames67(
|
|
58200
58529
|
"text-sm text-gray-500 dark:text-gray-400",
|
|
58201
58530
|
helperTextClassName
|
|
58202
58531
|
),
|
|
@@ -58251,7 +58580,7 @@ function CodeMirrorMarkdownEditor({
|
|
|
58251
58580
|
{
|
|
58252
58581
|
id: id2,
|
|
58253
58582
|
"data-name": name2,
|
|
58254
|
-
className:
|
|
58583
|
+
className: classNames67(
|
|
58255
58584
|
"eui-markdown-adapter",
|
|
58256
58585
|
"eui-markdown-codemirror-adapter",
|
|
58257
58586
|
"overflow-hidden rounded border border-gray-300 bg-white",
|
|
@@ -58285,7 +58614,7 @@ function CodeMirrorMarkdownEditor({
|
|
|
58285
58614
|
closeBrackets: true,
|
|
58286
58615
|
bracketMatching: true
|
|
58287
58616
|
},
|
|
58288
|
-
className:
|
|
58617
|
+
className: classNames67("eui-markdown-codemirror", editorClassName),
|
|
58289
58618
|
onChange: updateValue,
|
|
58290
58619
|
onBlur
|
|
58291
58620
|
}
|
|
@@ -58386,7 +58715,7 @@ function createDefaultPlugins({
|
|
|
58386
58715
|
...showToolbar ? [
|
|
58387
58716
|
toolbarPlugin({
|
|
58388
58717
|
toolbarContents: toolbarContents ?? DefaultToolbar,
|
|
58389
|
-
toolbarClassName:
|
|
58718
|
+
toolbarClassName: classNames67(
|
|
58390
58719
|
"eui-markdown-mdx-toolbar",
|
|
58391
58720
|
toolbarClassName
|
|
58392
58721
|
),
|
|
@@ -58506,7 +58835,7 @@ var MDXMarkdownEditor = forwardRef(
|
|
|
58506
58835
|
"aria-invalid": invalid || void 0,
|
|
58507
58836
|
"data-theme": dark ? "dark" : void 0,
|
|
58508
58837
|
onBlurCapture: handleBlur,
|
|
58509
|
-
className:
|
|
58838
|
+
className: classNames67(
|
|
58510
58839
|
"eui-markdown-adapter",
|
|
58511
58840
|
"eui-markdown-mdx-adapter",
|
|
58512
58841
|
dark && ["dark", "dark-theme"],
|
|
@@ -58524,12 +58853,12 @@ var MDXMarkdownEditor = forwardRef(
|
|
|
58524
58853
|
markdown: currentValue ?? "",
|
|
58525
58854
|
readOnly: disabled || readOnly,
|
|
58526
58855
|
plugins: plugins ?? defaultPlugins,
|
|
58527
|
-
className:
|
|
58856
|
+
className: classNames67(
|
|
58528
58857
|
"eui-markdown-mdx-editor",
|
|
58529
58858
|
dark && ["dark", "dark-theme"],
|
|
58530
58859
|
editorClassName
|
|
58531
58860
|
),
|
|
58532
|
-
contentEditableClassName:
|
|
58861
|
+
contentEditableClassName: classNames67(
|
|
58533
58862
|
"eui-markdown-mdx-content",
|
|
58534
58863
|
contentEditableClassName
|
|
58535
58864
|
),
|
|
@@ -58566,7 +58895,7 @@ function MDXMarkdownField({
|
|
|
58566
58895
|
return /* @__PURE__ */ jsxs(
|
|
58567
58896
|
"div",
|
|
58568
58897
|
{
|
|
58569
|
-
className:
|
|
58898
|
+
className: classNames67(
|
|
58570
58899
|
"eui-markdown-mdx-field",
|
|
58571
58900
|
"relative space-y-2",
|
|
58572
58901
|
wrapperClassName
|
|
@@ -58576,7 +58905,7 @@ function MDXMarkdownField({
|
|
|
58576
58905
|
"label",
|
|
58577
58906
|
{
|
|
58578
58907
|
htmlFor: editorId,
|
|
58579
|
-
className:
|
|
58908
|
+
className: classNames67(
|
|
58580
58909
|
"block text-sm font-medium text-gray-700 dark:text-gray-200",
|
|
58581
58910
|
labelClassName
|
|
58582
58911
|
),
|
|
@@ -58610,7 +58939,7 @@ function MDXMarkdownField({
|
|
|
58610
58939
|
"p",
|
|
58611
58940
|
{
|
|
58612
58941
|
id: helperId,
|
|
58613
|
-
className:
|
|
58942
|
+
className: classNames67(
|
|
58614
58943
|
"text-sm text-gray-500 dark:text-gray-400",
|
|
58615
58944
|
helperTextClassName
|
|
58616
58945
|
),
|
|
@@ -58670,10 +58999,10 @@ function MarkdownLayout({
|
|
|
58670
58999
|
};
|
|
58671
59000
|
const hasLeftToc = hasToc && tocPosition === "left";
|
|
58672
59001
|
const hasRightToc = hasToc && tocPosition === "right";
|
|
58673
|
-
return /* @__PURE__ */ jsx("div", { className:
|
|
59002
|
+
return /* @__PURE__ */ jsx("div", { className: classNames67("eui-markdown-layout", "w-full", className), children: /* @__PURE__ */ jsxs(
|
|
58674
59003
|
"div",
|
|
58675
59004
|
{
|
|
58676
|
-
className:
|
|
59005
|
+
className: classNames67(
|
|
58677
59006
|
"eui-markdown-layout-container",
|
|
58678
59007
|
"mx-auto w-full px-4 sm:px-6 lg:px-8",
|
|
58679
59008
|
containerClassName
|
|
@@ -58685,7 +59014,7 @@ function MarkdownLayout({
|
|
|
58685
59014
|
header ? /* @__PURE__ */ jsx(
|
|
58686
59015
|
"header",
|
|
58687
59016
|
{
|
|
58688
|
-
className:
|
|
59017
|
+
className: classNames67(
|
|
58689
59018
|
"eui-markdown-layout-header",
|
|
58690
59019
|
"mb-8",
|
|
58691
59020
|
headerClassName
|
|
@@ -58696,7 +59025,7 @@ function MarkdownLayout({
|
|
|
58696
59025
|
/* @__PURE__ */ jsxs(
|
|
58697
59026
|
"div",
|
|
58698
59027
|
{
|
|
58699
|
-
className:
|
|
59028
|
+
className: classNames67(
|
|
58700
59029
|
"eui-markdown-layout-grid",
|
|
58701
59030
|
"grid grid-cols-1 gap-8",
|
|
58702
59031
|
hasSidebar && hasToc && "xl:grid-cols-[16rem_minmax(0,1fr)_18rem]",
|
|
@@ -58709,7 +59038,7 @@ function MarkdownLayout({
|
|
|
58709
59038
|
hasSidebar ? /* @__PURE__ */ jsx(
|
|
58710
59039
|
"aside",
|
|
58711
59040
|
{
|
|
58712
|
-
className:
|
|
59041
|
+
className: classNames67(
|
|
58713
59042
|
"eui-markdown-layout-sidebar",
|
|
58714
59043
|
"min-w-0",
|
|
58715
59044
|
stickySidebar && "lg:sticky lg:self-start",
|
|
@@ -58722,7 +59051,7 @@ function MarkdownLayout({
|
|
|
58722
59051
|
hasLeftToc ? /* @__PURE__ */ jsx(
|
|
58723
59052
|
"aside",
|
|
58724
59053
|
{
|
|
58725
|
-
className:
|
|
59054
|
+
className: classNames67(
|
|
58726
59055
|
"eui-markdown-layout-toc",
|
|
58727
59056
|
"min-w-0",
|
|
58728
59057
|
stickyToc && "lg:sticky lg:self-start",
|
|
@@ -58735,7 +59064,7 @@ function MarkdownLayout({
|
|
|
58735
59064
|
/* @__PURE__ */ jsx(
|
|
58736
59065
|
"main",
|
|
58737
59066
|
{
|
|
58738
|
-
className:
|
|
59067
|
+
className: classNames67(
|
|
58739
59068
|
"eui-markdown-layout-content",
|
|
58740
59069
|
"min-w-0",
|
|
58741
59070
|
contentClassName
|
|
@@ -58746,7 +59075,7 @@ function MarkdownLayout({
|
|
|
58746
59075
|
hasRightToc ? /* @__PURE__ */ jsx(
|
|
58747
59076
|
"aside",
|
|
58748
59077
|
{
|
|
58749
|
-
className:
|
|
59078
|
+
className: classNames67(
|
|
58750
59079
|
"eui-markdown-layout-toc",
|
|
58751
59080
|
"min-w-0",
|
|
58752
59081
|
stickyToc && "lg:sticky lg:self-start",
|
|
@@ -58759,7 +59088,7 @@ function MarkdownLayout({
|
|
|
58759
59088
|
hasAside ? /* @__PURE__ */ jsx(
|
|
58760
59089
|
"aside",
|
|
58761
59090
|
{
|
|
58762
|
-
className:
|
|
59091
|
+
className: classNames67(
|
|
58763
59092
|
"eui-markdown-layout-aside",
|
|
58764
59093
|
"min-w-0",
|
|
58765
59094
|
stickyAside && "2xl:sticky 2xl:self-start",
|
|
@@ -58775,7 +59104,7 @@ function MarkdownLayout({
|
|
|
58775
59104
|
footer2 ? /* @__PURE__ */ jsx(
|
|
58776
59105
|
"footer",
|
|
58777
59106
|
{
|
|
58778
|
-
className:
|
|
59107
|
+
className: classNames67(
|
|
58779
59108
|
"eui-markdown-layout-footer",
|
|
58780
59109
|
"mt-10",
|
|
58781
59110
|
footerClassName
|
|
@@ -58812,7 +59141,7 @@ function MarkdownDocsLayoutContent({
|
|
|
58812
59141
|
const resolvedHeader = header ?? (title || description || headerActions ? /* @__PURE__ */ jsx(
|
|
58813
59142
|
"div",
|
|
58814
59143
|
{
|
|
58815
|
-
className:
|
|
59144
|
+
className: classNames67(
|
|
58816
59145
|
"eui-markdown-docs-header",
|
|
58817
59146
|
"flex flex-col gap-4 border-b border-gray-200 pb-6",
|
|
58818
59147
|
"dark:border-gray-700",
|
|
@@ -58823,7 +59152,7 @@ function MarkdownDocsLayoutContent({
|
|
|
58823
59152
|
title ? /* @__PURE__ */ jsx(
|
|
58824
59153
|
"h1",
|
|
58825
59154
|
{
|
|
58826
|
-
className:
|
|
59155
|
+
className: classNames67(
|
|
58827
59156
|
"eui-markdown-docs-title",
|
|
58828
59157
|
"text-3xl font-bold tracking-tight text-gray-950",
|
|
58829
59158
|
"dark:text-gray-50",
|
|
@@ -58835,7 +59164,7 @@ function MarkdownDocsLayoutContent({
|
|
|
58835
59164
|
description ? /* @__PURE__ */ jsx(
|
|
58836
59165
|
"div",
|
|
58837
59166
|
{
|
|
58838
|
-
className:
|
|
59167
|
+
className: classNames67(
|
|
58839
59168
|
"eui-markdown-docs-description",
|
|
58840
59169
|
"max-w-3xl text-base leading-7 text-gray-600",
|
|
58841
59170
|
"dark:text-gray-400",
|
|
@@ -58923,7 +59252,7 @@ function GenericLayout({
|
|
|
58923
59252
|
return /* @__PURE__ */ jsx(ThemeProvider, { defaultTheme, children: /* @__PURE__ */ jsx(
|
|
58924
59253
|
"div",
|
|
58925
59254
|
{
|
|
58926
|
-
className:
|
|
59255
|
+
className: classNames67({
|
|
58927
59256
|
[`${styles}`]: styles
|
|
58928
59257
|
}),
|
|
58929
59258
|
children: children3
|
|
@@ -58972,7 +59301,7 @@ function SidemenuLayout({ data, children: children3 }) {
|
|
|
58972
59301
|
return /* @__PURE__ */ jsx(DefaultLayout_default, { children: /* @__PURE__ */ jsxs(
|
|
58973
59302
|
"div",
|
|
58974
59303
|
{
|
|
58975
|
-
className:
|
|
59304
|
+
className: classNames67({
|
|
58976
59305
|
grid: true,
|
|
58977
59306
|
"grid-cols-7 gap-10": !isMobile,
|
|
58978
59307
|
"grid-cols-1 gap-": isMobile
|
|
@@ -59052,6 +59381,6 @@ function ScrollToTop({
|
|
|
59052
59381
|
}
|
|
59053
59382
|
var ScrollToTop_default = ScrollToTop;
|
|
59054
59383
|
|
|
59055
|
-
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, 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_web_default as ImageInput, ImageView, 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_web_default as MultiImageInput, NumericRating, Overline, Paragraph, PiePlot, PollingChartDataSource, PreviewSwitch, PriceTag, ProgressBar, ProgressBarRating, Quote, Radio_default as Radio, RealtimeChartDataSource, ReviewComposer_default as ReviewComposer, ReviewForm_default as ReviewForm, ReviewThread_default as ReviewThread, RouteTab_default as RouteTab, RouteTabs_default as RouteTabs, ScatterPlot, ScrollToTop_default as ScrollToTop, Section, 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, TNContext, TNDropdown, TNDropdownGroup, TNDropdownItem, TNDropdownTitle, TNGroup, TNItem, Table, TableBody, TableCell, TableElement, TableFrame, TableHead, TableHeaderCell, TableRow, Tag, Tags, 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, extractTextColorClasses, 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, useTNSlot, useTNTheme, useTheme_default as useTheme, writeAnalyticsQueueStorage, writeConsentStorage };
|
|
59384
|
+
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, 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, FooterBottom, FooterBrand, FooterColumn, FooterColumns, FooterDescription, FooterLink, FooterNav_default as FooterNav, FooterNavGroup_default as FooterNavGroup, FooterNavItem, FooterNavItemContext, FooterNavItemTitle, FooterSocial, FooterSocials, 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_web_default as ImageInput, ImageView, 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_web_default as MultiImageInput, NumericRating, Overline, Paragraph, PiePlot, PollingChartDataSource, PreviewSwitch, PriceTag, ProgressBar, ProgressBarRating, Quote, Radio_default as Radio, RealtimeChartDataSource, ReviewComposer_default as ReviewComposer, ReviewForm_default as ReviewForm, ReviewThread_default as ReviewThread, RouteTab_default as RouteTab, RouteTabs_default as RouteTabs, ScatterPlot, ScrollToTop_default as ScrollToTop, Section, Select, ShapeSwitch, ShowMore_default as ShowMore, Sidebar_default as Sidebar, SidebarLayout_default as SidebarLayout, SidemenuLayout_default as SidemenuLayout, SiteFooter2 as SiteFooter, Skeleton, Slider_default as Slider, Spinner, StarRating, StarRatingDistribution_default as StarRatingDistribution, StarRatingInput_default as StarRatingInput, StatPlot, StaticChartDataSource, Switch_default as Switch, TNContext, TNDropdown, TNDropdownGroup, TNDropdownItem, TNDropdownTitle, TNGroup, TNItem, Table, TableBody, TableCell, TableElement, TableFrame, TableHead, TableHeaderCell, TableRow, Tag, Tags, 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, extractTextColorClasses, 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, useTNSlot, useTNTheme, useTheme_default as useTheme, writeAnalyticsQueueStorage, writeConsentStorage };
|
|
59056
59385
|
//# sourceMappingURL=index.mjs.map
|
|
59057
59386
|
//# sourceMappingURL=index.mjs.map
|