elseware-ui 3.0.15 → 3.1.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +20 -20
- package/dist/index.css +214 -16
- package/dist/index.css.map +1 -1
- package/dist/index.d.mts +273 -12
- package/dist/index.d.ts +273 -12
- package/dist/index.js +654 -310
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +645 -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,149 @@ 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
|
+
rel,
|
|
10211
|
+
bold,
|
|
10212
|
+
italic,
|
|
10213
|
+
styles,
|
|
10214
|
+
onClick
|
|
10215
|
+
}) => {
|
|
10216
|
+
const handleClick = (event) => {
|
|
10217
|
+
if (onClick) {
|
|
10218
|
+
event.preventDefault();
|
|
10219
|
+
onClick();
|
|
10220
|
+
}
|
|
10221
|
+
};
|
|
10123
10222
|
return /* @__PURE__ */ jsx(
|
|
10124
|
-
"
|
|
10223
|
+
"a",
|
|
10125
10224
|
{
|
|
10126
|
-
|
|
10225
|
+
href: href || "#",
|
|
10226
|
+
target: targets[target],
|
|
10227
|
+
rel,
|
|
10228
|
+
onClick: handleClick,
|
|
10229
|
+
className: classNames67({
|
|
10230
|
+
[`${textVariants[variant]}`]: variant,
|
|
10231
|
+
[`${decorations[decoration]}`]: decoration,
|
|
10232
|
+
"font-bold": bold,
|
|
10233
|
+
italic,
|
|
10234
|
+
"hover:cursor-pointer hover:brightness-125": true,
|
|
10235
|
+
"transition-all ease-in-out": true,
|
|
10127
10236
|
[`${styles}`]: styles
|
|
10128
10237
|
}),
|
|
10129
|
-
children:
|
|
10238
|
+
children: children3 ? children3 : "Link"
|
|
10130
10239
|
}
|
|
10131
10240
|
);
|
|
10132
|
-
}
|
|
10133
|
-
var FooterNav_default = FooterNav;
|
|
10241
|
+
};
|
|
10134
10242
|
var FooterNavItemContext = ({
|
|
10135
10243
|
icon,
|
|
10136
10244
|
name: name2,
|
|
@@ -10146,76 +10254,60 @@ var FooterNavItemContext = ({
|
|
|
10146
10254
|
badge && /* @__PURE__ */ jsx("div", { children: badge })
|
|
10147
10255
|
] });
|
|
10148
10256
|
};
|
|
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
10257
|
var FooterNavItem = ({
|
|
10193
10258
|
icon,
|
|
10194
10259
|
name: name2,
|
|
10195
10260
|
description,
|
|
10196
10261
|
badge,
|
|
10197
10262
|
to,
|
|
10263
|
+
external,
|
|
10198
10264
|
onClick,
|
|
10199
|
-
|
|
10265
|
+
navigate,
|
|
10266
|
+
styles,
|
|
10267
|
+
className
|
|
10200
10268
|
}) => {
|
|
10201
|
-
const
|
|
10202
|
-
if (
|
|
10203
|
-
window.location.href = to;
|
|
10204
|
-
} else if (onClick) {
|
|
10269
|
+
const handleClick = () => {
|
|
10270
|
+
if (onClick) {
|
|
10205
10271
|
onClick();
|
|
10272
|
+
return;
|
|
10273
|
+
}
|
|
10274
|
+
if (!to) return;
|
|
10275
|
+
if (external) {
|
|
10276
|
+
window.open(to, "_blank", "noopener,noreferrer");
|
|
10277
|
+
return;
|
|
10278
|
+
}
|
|
10279
|
+
if (navigate) {
|
|
10280
|
+
navigate(to);
|
|
10281
|
+
return;
|
|
10206
10282
|
}
|
|
10283
|
+
window.location.href = to;
|
|
10207
10284
|
};
|
|
10285
|
+
const isSimpleLink = !icon && !description && !badge;
|
|
10286
|
+
if (isSimpleLink) {
|
|
10287
|
+
const useJsNav = Boolean(onClick) || Boolean(navigate) && Boolean(to);
|
|
10288
|
+
return /* @__PURE__ */ jsx(
|
|
10289
|
+
Link,
|
|
10290
|
+
{
|
|
10291
|
+
href: to || "#",
|
|
10292
|
+
target: external ? "blank" : "self",
|
|
10293
|
+
variant: "default",
|
|
10294
|
+
decoration: "noUnderline",
|
|
10295
|
+
onClick: useJsNav ? handleClick : void 0,
|
|
10296
|
+
styles: cn("block py-1 text-sm", styles, className),
|
|
10297
|
+
children: name2
|
|
10298
|
+
}
|
|
10299
|
+
);
|
|
10300
|
+
}
|
|
10208
10301
|
return /* @__PURE__ */ jsx(
|
|
10209
10302
|
"div",
|
|
10210
10303
|
{
|
|
10211
|
-
onClick:
|
|
10212
|
-
className:
|
|
10213
|
-
"flex flex-row items-center gap-3
|
|
10214
|
-
"
|
|
10215
|
-
|
|
10216
|
-
|
|
10217
|
-
|
|
10218
|
-
}),
|
|
10304
|
+
onClick: handleClick,
|
|
10305
|
+
className: cn(
|
|
10306
|
+
"flex w-full cursor-pointer flex-row items-center gap-3 py-1 text-sm",
|
|
10307
|
+
"eui-text-md eui-theme-transition hover:brightness-125",
|
|
10308
|
+
styles,
|
|
10309
|
+
className
|
|
10310
|
+
),
|
|
10219
10311
|
children: /* @__PURE__ */ jsx(
|
|
10220
10312
|
FooterNavItemContext,
|
|
10221
10313
|
{
|
|
@@ -10238,7 +10330,7 @@ var FooterNavItemTitle = ({
|
|
|
10238
10330
|
return /* @__PURE__ */ jsx(
|
|
10239
10331
|
"div",
|
|
10240
10332
|
{
|
|
10241
|
-
className:
|
|
10333
|
+
className: classNames67({
|
|
10242
10334
|
"": true,
|
|
10243
10335
|
"py-2 font-thin eui-text-md": !styles,
|
|
10244
10336
|
[`${styles}`]: styles
|
|
@@ -10291,7 +10383,7 @@ function HeaderNav({ data = [], styles }) {
|
|
|
10291
10383
|
return /* @__PURE__ */ jsx(
|
|
10292
10384
|
"div",
|
|
10293
10385
|
{
|
|
10294
|
-
className:
|
|
10386
|
+
className: classNames67({
|
|
10295
10387
|
[`${styles}`]: styles
|
|
10296
10388
|
}),
|
|
10297
10389
|
children: childrenContent
|
|
@@ -10335,7 +10427,7 @@ var HeaderNavGroup = ({
|
|
|
10335
10427
|
/* @__PURE__ */ jsxs(
|
|
10336
10428
|
"div",
|
|
10337
10429
|
{
|
|
10338
|
-
className:
|
|
10430
|
+
className: classNames67({
|
|
10339
10431
|
"flex flex-row gap-2 items-center justify-between cursor-pointer p-3 w-full": true,
|
|
10340
10432
|
"transition-all duration-300 ease-in-out": true,
|
|
10341
10433
|
"eui-text-md bg-gradient-to-t from-eui-dark-500/10 dark:from-green-700/10": !styles,
|
|
@@ -10363,7 +10455,7 @@ var HeaderNavGroup = ({
|
|
|
10363
10455
|
children3 && /* @__PURE__ */ jsx(
|
|
10364
10456
|
BsChevronDown,
|
|
10365
10457
|
{
|
|
10366
|
-
className:
|
|
10458
|
+
className: classNames67({
|
|
10367
10459
|
"text-md": true,
|
|
10368
10460
|
"transition-all ease-in-out duration-300": true,
|
|
10369
10461
|
"rotate-180": !collapsed
|
|
@@ -10376,7 +10468,7 @@ var HeaderNavGroup = ({
|
|
|
10376
10468
|
!collapsed && children3 && /* @__PURE__ */ jsx(
|
|
10377
10469
|
"div",
|
|
10378
10470
|
{
|
|
10379
|
-
className:
|
|
10471
|
+
className: classNames67({
|
|
10380
10472
|
"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
10473
|
"transition-all duration-300 ease-in-out": true
|
|
10382
10474
|
}),
|
|
@@ -10406,7 +10498,7 @@ var HeaderNavItem = ({
|
|
|
10406
10498
|
"div",
|
|
10407
10499
|
{
|
|
10408
10500
|
onClick: handleNavigation,
|
|
10409
|
-
className:
|
|
10501
|
+
className: classNames67({
|
|
10410
10502
|
"flex flex-row items-center gap-3 cursor-pointer p-3 w-full": true,
|
|
10411
10503
|
"transition-all duration-200 ease-in-out": true,
|
|
10412
10504
|
"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 +10527,7 @@ var HeaderNavItemTitle = ({
|
|
|
10435
10527
|
return /* @__PURE__ */ jsx(
|
|
10436
10528
|
"div",
|
|
10437
10529
|
{
|
|
10438
|
-
className:
|
|
10530
|
+
className: classNames67({
|
|
10439
10531
|
"p-3 font-thin": true,
|
|
10440
10532
|
"eui-text-md": !styles,
|
|
10441
10533
|
[`${styles}`]: styles
|
|
@@ -10452,42 +10544,6 @@ var HeaderNavItemTitle = ({
|
|
|
10452
10544
|
}
|
|
10453
10545
|
);
|
|
10454
10546
|
};
|
|
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
10547
|
var MIContext = ({ icon, name: name2, badge }) => {
|
|
10492
10548
|
return /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
10493
10549
|
icon && /* @__PURE__ */ jsx("div", { className: "text-base text-gray-500 dark:text-gray-400", children: icon }),
|
|
@@ -13667,7 +13723,7 @@ function Accordion({
|
|
|
13667
13723
|
/* @__PURE__ */ jsxs(
|
|
13668
13724
|
"div",
|
|
13669
13725
|
{
|
|
13670
|
-
className:
|
|
13726
|
+
className: classNames67(
|
|
13671
13727
|
"inline-flex gap-3 items-center px-3 py-2 w-full eui-gradient-to-r-general-xs",
|
|
13672
13728
|
{
|
|
13673
13729
|
"hover:cursor-pointer": toggleOnSummaryClick
|
|
@@ -13688,7 +13744,7 @@ function Accordion({
|
|
|
13688
13744
|
children: /* @__PURE__ */ jsx(
|
|
13689
13745
|
FaCircleChevronDown,
|
|
13690
13746
|
{
|
|
13691
|
-
className:
|
|
13747
|
+
className: classNames67("text-xl transition-transform duration-300", {
|
|
13692
13748
|
"rotate-180": collapse
|
|
13693
13749
|
})
|
|
13694
13750
|
}
|
|
@@ -13702,7 +13758,7 @@ function Accordion({
|
|
|
13702
13758
|
/* @__PURE__ */ jsx(TransitionAccordion_default, { visibility: collapse, children: /* @__PURE__ */ jsx(
|
|
13703
13759
|
"div",
|
|
13704
13760
|
{
|
|
13705
|
-
className:
|
|
13761
|
+
className: classNames67(
|
|
13706
13762
|
"border-t border-t-eui-dark-400/40 eui-text-sm",
|
|
13707
13763
|
{
|
|
13708
13764
|
"p-5": enableChildrenPadding
|
|
@@ -13759,7 +13815,7 @@ function CardHeader({ icon, title, description, className }) {
|
|
|
13759
13815
|
return /* @__PURE__ */ jsxs(
|
|
13760
13816
|
"div",
|
|
13761
13817
|
{
|
|
13762
|
-
className:
|
|
13818
|
+
className: classNames67(
|
|
13763
13819
|
"flex items-start gap-4 p-6 border-b border-white/10",
|
|
13764
13820
|
className
|
|
13765
13821
|
),
|
|
@@ -13775,14 +13831,14 @@ function CardHeader({ icon, title, description, className }) {
|
|
|
13775
13831
|
}
|
|
13776
13832
|
var CardHeader_default = CardHeader;
|
|
13777
13833
|
function CardContent({ children: children3, className }) {
|
|
13778
|
-
return /* @__PURE__ */ jsx("div", { className:
|
|
13834
|
+
return /* @__PURE__ */ jsx("div", { className: classNames67("p-6 text-gray-300 text-sm", className), children: children3 });
|
|
13779
13835
|
}
|
|
13780
13836
|
var CardContent_default = CardContent;
|
|
13781
13837
|
function CardFooter({ children: children3, className }) {
|
|
13782
13838
|
return /* @__PURE__ */ jsx(
|
|
13783
13839
|
"div",
|
|
13784
13840
|
{
|
|
13785
|
-
className:
|
|
13841
|
+
className: classNames67(
|
|
13786
13842
|
"flex items-center gap-3 p-5 border-t border-white/10 text-sm text-gray-400",
|
|
13787
13843
|
className
|
|
13788
13844
|
),
|
|
@@ -13824,7 +13880,7 @@ function GradientAnimation({
|
|
|
13824
13880
|
return /* @__PURE__ */ jsx(
|
|
13825
13881
|
"div",
|
|
13826
13882
|
{
|
|
13827
|
-
className:
|
|
13883
|
+
className: classNames67("absolute inset-0"),
|
|
13828
13884
|
style: {
|
|
13829
13885
|
background: `linear-gradient(${cfg.angle}deg, ${cfg.colors?.join(",")})`,
|
|
13830
13886
|
backgroundSize: cfg.backgroundSize,
|
|
@@ -13970,7 +14026,7 @@ function MotionSurface({
|
|
|
13970
14026
|
}) {
|
|
13971
14027
|
const AnimationComponent = animationVariant === "custom" ? CustomAnimation : animationRegistry[animationVariant];
|
|
13972
14028
|
const OverlayComponent = overlay === "custom" ? CustomOverlay : overlayRegistry[overlay];
|
|
13973
|
-
return /* @__PURE__ */ jsxs("div", { className:
|
|
14029
|
+
return /* @__PURE__ */ jsxs("div", { className: classNames67("relative overflow-hidden", className), children: [
|
|
13974
14030
|
AnimationComponent && /* @__PURE__ */ jsx(AnimationComponent, { config: animationConfig, animated }),
|
|
13975
14031
|
OverlayComponent && /* @__PURE__ */ jsx(OverlayComponent, { config: overlayConfig }),
|
|
13976
14032
|
/* @__PURE__ */ jsx("div", { className: "relative z-10", children: children3 })
|
|
@@ -17526,21 +17582,6 @@ var typographyLevels = {
|
|
|
17526
17582
|
3: "text-xs leading-[20px]"
|
|
17527
17583
|
}
|
|
17528
17584
|
};
|
|
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
17585
|
var Chapter = ({
|
|
17545
17586
|
level = 1,
|
|
17546
17587
|
children: children3,
|
|
@@ -17755,33 +17796,6 @@ var Lead = ({
|
|
|
17755
17796
|
}
|
|
17756
17797
|
);
|
|
17757
17798
|
};
|
|
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
17799
|
var Display = ({
|
|
17786
17800
|
level = 1,
|
|
17787
17801
|
children: children3,
|
|
@@ -19067,7 +19081,7 @@ var ThemeSwitch = () => {
|
|
|
19067
19081
|
/* @__PURE__ */ jsx(
|
|
19068
19082
|
"div",
|
|
19069
19083
|
{
|
|
19070
|
-
className:
|
|
19084
|
+
className: classNames67(
|
|
19071
19085
|
"w-6 h-6 bg-white dark:bg-gray-600 rounded-full shadow-md transition-transform duration-300",
|
|
19072
19086
|
theme === "dark" ? "translate-x-8" : "translate-x-0"
|
|
19073
19087
|
)
|
|
@@ -30836,7 +30850,7 @@ function Modal({
|
|
|
30836
30850
|
"div",
|
|
30837
30851
|
{
|
|
30838
30852
|
ref: modalRef,
|
|
30839
|
-
className:
|
|
30853
|
+
className: classNames67(
|
|
30840
30854
|
"eui-bg-md eui-shadow-lg border border-gray-700/80 w-fit h-fit",
|
|
30841
30855
|
shapes[resolvedShape],
|
|
30842
30856
|
styles
|
|
@@ -30848,7 +30862,7 @@ function Modal({
|
|
|
30848
30862
|
"button",
|
|
30849
30863
|
{
|
|
30850
30864
|
type: "button",
|
|
30851
|
-
className:
|
|
30865
|
+
className: classNames67(
|
|
30852
30866
|
"w-[60px] h-[60px] flex items-center justify-center transition-standard-fast",
|
|
30853
30867
|
"hover:cursor-pointer hover:bg-eui-dark-500"
|
|
30854
30868
|
),
|
|
@@ -31240,7 +31254,7 @@ var ContentArea = forwardRef(
|
|
|
31240
31254
|
"div",
|
|
31241
31255
|
{
|
|
31242
31256
|
ref,
|
|
31243
|
-
className:
|
|
31257
|
+
className: classNames67({
|
|
31244
31258
|
"min-h-screen h-full w-full transition-all duration-[200ms]": true,
|
|
31245
31259
|
"py-3 px-5": !enablePadding,
|
|
31246
31260
|
"py-3 px-5 lg:px-[150px]": enablePadding,
|
|
@@ -31257,7 +31271,7 @@ function FlexCol({ children: children3, gap = 3, styles }) {
|
|
|
31257
31271
|
return /* @__PURE__ */ jsx(
|
|
31258
31272
|
"div",
|
|
31259
31273
|
{
|
|
31260
|
-
className:
|
|
31274
|
+
className: classNames67({
|
|
31261
31275
|
[`flex flex-col gap-${gap}`]: true,
|
|
31262
31276
|
[`${styles}`]: styles
|
|
31263
31277
|
}),
|
|
@@ -31270,7 +31284,7 @@ function FlexRow({ children: children3, gap = 3, styles }) {
|
|
|
31270
31284
|
return /* @__PURE__ */ jsx(
|
|
31271
31285
|
"div",
|
|
31272
31286
|
{
|
|
31273
|
-
className:
|
|
31287
|
+
className: classNames67({
|
|
31274
31288
|
[`flex flex-row gap-${gap}`]: true,
|
|
31275
31289
|
[`${styles}`]: styles
|
|
31276
31290
|
}),
|
|
@@ -31289,7 +31303,7 @@ function Grid({ children: children3, styles }) {
|
|
|
31289
31303
|
return /* @__PURE__ */ jsx(
|
|
31290
31304
|
"div",
|
|
31291
31305
|
{
|
|
31292
|
-
className:
|
|
31306
|
+
className: classNames67({
|
|
31293
31307
|
[`grid`]: true,
|
|
31294
31308
|
[`${styles}`]: styles
|
|
31295
31309
|
}),
|
|
@@ -31306,7 +31320,7 @@ var Layout = ({
|
|
|
31306
31320
|
return /* @__PURE__ */ jsx(
|
|
31307
31321
|
"div",
|
|
31308
31322
|
{
|
|
31309
|
-
className:
|
|
31323
|
+
className: classNames67({
|
|
31310
31324
|
// "flex h-full w-screen bg-gray-100 overflow-auto": true,
|
|
31311
31325
|
"flex bg-eui-light-600": true,
|
|
31312
31326
|
"flex-col": flexDirection === "vertical",
|
|
@@ -31328,7 +31342,7 @@ var Header = ({
|
|
|
31328
31342
|
return /* @__PURE__ */ jsx(
|
|
31329
31343
|
"div",
|
|
31330
31344
|
{
|
|
31331
|
-
className:
|
|
31345
|
+
className: classNames67({
|
|
31332
31346
|
static: position4 === "static",
|
|
31333
31347
|
fixed: position4 === "fixed",
|
|
31334
31348
|
sticky: position4 === "sticky",
|
|
@@ -31363,7 +31377,7 @@ var Content = ({
|
|
|
31363
31377
|
return /* @__PURE__ */ jsx(
|
|
31364
31378
|
"div",
|
|
31365
31379
|
{
|
|
31366
|
-
className:
|
|
31380
|
+
className: classNames67({
|
|
31367
31381
|
"w-full min-h-screen transition-all duration-200 eui-bg-sm": true,
|
|
31368
31382
|
"md:pl-[300px]": !overlayedSidebar && sidebarVisible && !isMobile,
|
|
31369
31383
|
// Shift when sidebar is open (desktop)
|
|
@@ -31379,7 +31393,7 @@ var Footer = ({ children: children3, styles }) => {
|
|
|
31379
31393
|
return /* @__PURE__ */ jsx(
|
|
31380
31394
|
"div",
|
|
31381
31395
|
{
|
|
31382
|
-
className:
|
|
31396
|
+
className: classNames67({
|
|
31383
31397
|
"bottom-0 w-full h-fit": true,
|
|
31384
31398
|
"border-t border-eui-dark-500/40 dark:border-eui-secondary-800 eui-bg-md": !styles,
|
|
31385
31399
|
[`${styles}`]: styles
|
|
@@ -31567,7 +31581,7 @@ function ShowMore({ text: text10, limit }) {
|
|
|
31567
31581
|
/* @__PURE__ */ jsx(
|
|
31568
31582
|
"div",
|
|
31569
31583
|
{
|
|
31570
|
-
className:
|
|
31584
|
+
className: classNames67({
|
|
31571
31585
|
"text-blue-300 px-1 pb-1 mt-1": true,
|
|
31572
31586
|
"bg-slate-900/70": !showMore,
|
|
31573
31587
|
"bg-gradient-to-t from-slate-900/50 to-transparent": showMore
|
|
@@ -32483,7 +32497,7 @@ function DocumentationPanel({
|
|
|
32483
32497
|
return /* @__PURE__ */ jsx(MarkdownProvider_default, { markdown: value, children: /* @__PURE__ */ jsxs(
|
|
32484
32498
|
"section",
|
|
32485
32499
|
{
|
|
32486
|
-
className:
|
|
32500
|
+
className: classNames67(
|
|
32487
32501
|
"eui-documentation-panel",
|
|
32488
32502
|
"min-h-0 overflow-hidden bg-white text-gray-900",
|
|
32489
32503
|
"dark:bg-gray-950 dark:text-gray-100",
|
|
@@ -32497,7 +32511,7 @@ function DocumentationPanel({
|
|
|
32497
32511
|
/* @__PURE__ */ jsx(
|
|
32498
32512
|
"main",
|
|
32499
32513
|
{
|
|
32500
|
-
className:
|
|
32514
|
+
className: classNames67(
|
|
32501
32515
|
"eui-documentation-panel-viewer",
|
|
32502
32516
|
"documentation-panel-scrollbar min-w-0 overflow-y-auto scroll-smooth",
|
|
32503
32517
|
viewerClassName
|
|
@@ -32505,7 +32519,7 @@ function DocumentationPanel({
|
|
|
32505
32519
|
children: /* @__PURE__ */ jsx(
|
|
32506
32520
|
"div",
|
|
32507
32521
|
{
|
|
32508
|
-
className:
|
|
32522
|
+
className: classNames67(
|
|
32509
32523
|
"mx-auto px-5 py-8 sm:px-6 lg:px-8",
|
|
32510
32524
|
contentMaxWidthClassName,
|
|
32511
32525
|
contentClassName
|
|
@@ -32518,7 +32532,7 @@ function DocumentationPanel({
|
|
|
32518
32532
|
toc ? /* @__PURE__ */ jsx(
|
|
32519
32533
|
"aside",
|
|
32520
32534
|
{
|
|
32521
|
-
className:
|
|
32535
|
+
className: classNames67(
|
|
32522
32536
|
"eui-documentation-panel-toc",
|
|
32523
32537
|
"hidden min-w-0 border-l border-gray-200 bg-white lg:block",
|
|
32524
32538
|
"dark:border-gray-800 dark:bg-gray-950",
|
|
@@ -32527,7 +32541,7 @@ function DocumentationPanel({
|
|
|
32527
32541
|
children: /* @__PURE__ */ jsx(
|
|
32528
32542
|
"div",
|
|
32529
32543
|
{
|
|
32530
|
-
className:
|
|
32544
|
+
className: classNames67(
|
|
32531
32545
|
"documentation-panel-scrollbar h-full overflow-y-auto px-5 py-8"
|
|
32532
32546
|
),
|
|
32533
32547
|
children: /* @__PURE__ */ jsx("div", { className: "sticky top-0", children: /* @__PURE__ */ jsx(MarkdownTOC_default, {}) })
|
|
@@ -32803,7 +32817,7 @@ function BoxNavItem({ icon, name: name2, to, selected, onClick }) {
|
|
|
32803
32817
|
type: "button",
|
|
32804
32818
|
onClick: handleClick,
|
|
32805
32819
|
"aria-current": selected ? "page" : void 0,
|
|
32806
|
-
className:
|
|
32820
|
+
className: classNames67(
|
|
32807
32821
|
"w-full min-w-[80px] flex flex-col items-center justify-center py-3 text-center",
|
|
32808
32822
|
"hover:text-secondary-700 hover:bg-gray-300/10 hover:cursor-pointer",
|
|
32809
32823
|
selected ? "text-eui-secondary-700 bg-gray-300/10" : "text-gray-400",
|
|
@@ -32847,6 +32861,327 @@ function BoxNav({ data = [], currentPath, onNavigate, navigate }) {
|
|
|
32847
32861
|
}) });
|
|
32848
32862
|
}
|
|
32849
32863
|
var BoxNav_default = BoxNav;
|
|
32864
|
+
function FooterBrand({
|
|
32865
|
+
brand,
|
|
32866
|
+
brandSrc,
|
|
32867
|
+
brandAlt,
|
|
32868
|
+
className
|
|
32869
|
+
}) {
|
|
32870
|
+
if (brand) {
|
|
32871
|
+
return /* @__PURE__ */ jsx("div", { className: cn("inline-flex", className), children: brand });
|
|
32872
|
+
}
|
|
32873
|
+
return /* @__PURE__ */ jsx(Brand, { src: brandSrc, alt: brandAlt, className });
|
|
32874
|
+
}
|
|
32875
|
+
function FooterDescription({
|
|
32876
|
+
children: children3,
|
|
32877
|
+
className
|
|
32878
|
+
}) {
|
|
32879
|
+
if (!children3) return null;
|
|
32880
|
+
return /* @__PURE__ */ jsx(Paragraph, { level: 2, className: cn("max-w-sm text-sm", className), children: children3 });
|
|
32881
|
+
}
|
|
32882
|
+
function FooterSocial({ item, className }) {
|
|
32883
|
+
const { name: name2, href, icon, external = true, onClick } = item;
|
|
32884
|
+
const target = item.target ?? (external ? "blank" : void 0);
|
|
32885
|
+
return /* @__PURE__ */ jsx(
|
|
32886
|
+
"a",
|
|
32887
|
+
{
|
|
32888
|
+
href,
|
|
32889
|
+
onClick,
|
|
32890
|
+
target: target ? `_${target}` : void 0,
|
|
32891
|
+
rel: target === "blank" ? "noopener noreferrer" : void 0,
|
|
32892
|
+
"aria-label": name2,
|
|
32893
|
+
title: name2,
|
|
32894
|
+
className: cn(
|
|
32895
|
+
"flex h-9 w-9 items-center justify-center rounded-full text-base",
|
|
32896
|
+
"eui-text-md border border-eui-dark-500/30 dark:border-eui-light-600/30",
|
|
32897
|
+
"eui-theme-transition hover:brightness-125",
|
|
32898
|
+
"hover:bg-eui-dark-500/5 dark:hover:bg-eui-light-600/10",
|
|
32899
|
+
"focus-visible:outline focus-visible:outline-2 focus-visible:outline-offset-2 focus-visible:outline-current",
|
|
32900
|
+
className
|
|
32901
|
+
),
|
|
32902
|
+
children: icon
|
|
32903
|
+
}
|
|
32904
|
+
);
|
|
32905
|
+
}
|
|
32906
|
+
function FooterSocials({
|
|
32907
|
+
items,
|
|
32908
|
+
social,
|
|
32909
|
+
className,
|
|
32910
|
+
itemClassName
|
|
32911
|
+
}) {
|
|
32912
|
+
if (!items || items.length === 0) return null;
|
|
32913
|
+
const Social = social ?? FooterSocial;
|
|
32914
|
+
return /* @__PURE__ */ jsx("div", { className: cn("flex flex-wrap items-center gap-3", className), children: items.map((item, index3) => /* @__PURE__ */ jsx(
|
|
32915
|
+
Social,
|
|
32916
|
+
{
|
|
32917
|
+
item,
|
|
32918
|
+
className: itemClassName
|
|
32919
|
+
},
|
|
32920
|
+
item.key ?? item.name ?? item.href ?? index3
|
|
32921
|
+
)) });
|
|
32922
|
+
}
|
|
32923
|
+
function FooterLink({ item, navigate, className }) {
|
|
32924
|
+
const { label, to, icon, description, badge, external, onClick } = item;
|
|
32925
|
+
const target = item.target ?? (external ? "blank" : "self");
|
|
32926
|
+
const isSelfTarget = target === "self";
|
|
32927
|
+
const useJsNav = Boolean(onClick) || Boolean(navigate) && Boolean(to) && isSelfTarget;
|
|
32928
|
+
const handleClick = () => {
|
|
32929
|
+
if (onClick) {
|
|
32930
|
+
onClick();
|
|
32931
|
+
return;
|
|
32932
|
+
}
|
|
32933
|
+
if (to && navigate) navigate(to);
|
|
32934
|
+
};
|
|
32935
|
+
const link3 = /* @__PURE__ */ jsx(
|
|
32936
|
+
Link,
|
|
32937
|
+
{
|
|
32938
|
+
href: to || "#",
|
|
32939
|
+
target,
|
|
32940
|
+
rel: target === "blank" ? "noopener noreferrer" : void 0,
|
|
32941
|
+
variant: "default",
|
|
32942
|
+
decoration: "noUnderline",
|
|
32943
|
+
onClick: useJsNav ? handleClick : void 0,
|
|
32944
|
+
styles: cn(
|
|
32945
|
+
"text-sm",
|
|
32946
|
+
!icon && !description && "block py-1",
|
|
32947
|
+
item.className,
|
|
32948
|
+
className
|
|
32949
|
+
),
|
|
32950
|
+
children: label
|
|
32951
|
+
}
|
|
32952
|
+
);
|
|
32953
|
+
if (!icon && !description && !badge) return link3;
|
|
32954
|
+
return /* @__PURE__ */ jsxs("div", { className: "flex items-start gap-3 py-1 text-sm", children: [
|
|
32955
|
+
icon && /* @__PURE__ */ jsx("span", { className: "eui-text-sm mt-0.5 shrink-0 text-base", children: icon }),
|
|
32956
|
+
/* @__PURE__ */ jsxs("div", { className: "flex min-w-0 flex-col", children: [
|
|
32957
|
+
link3,
|
|
32958
|
+
description && /* @__PURE__ */ jsx("span", { className: "eui-text-sm text-xs", children: description })
|
|
32959
|
+
] }),
|
|
32960
|
+
badge && /* @__PURE__ */ jsx("span", { className: "ml-auto", children: badge })
|
|
32961
|
+
] });
|
|
32962
|
+
}
|
|
32963
|
+
function FooterColumn({
|
|
32964
|
+
column,
|
|
32965
|
+
navigate,
|
|
32966
|
+
link: link3,
|
|
32967
|
+
className,
|
|
32968
|
+
titleClassName,
|
|
32969
|
+
linkClassName
|
|
32970
|
+
}) {
|
|
32971
|
+
const Link2 = link3 ?? FooterLink;
|
|
32972
|
+
return /* @__PURE__ */ jsx(
|
|
32973
|
+
FooterNavGroup,
|
|
32974
|
+
{
|
|
32975
|
+
title: column.title,
|
|
32976
|
+
className,
|
|
32977
|
+
titleClassName,
|
|
32978
|
+
children: column.items.map((item, index3) => /* @__PURE__ */ jsx(
|
|
32979
|
+
Link2,
|
|
32980
|
+
{
|
|
32981
|
+
item,
|
|
32982
|
+
navigate,
|
|
32983
|
+
className: linkClassName
|
|
32984
|
+
},
|
|
32985
|
+
item.key ?? index3
|
|
32986
|
+
))
|
|
32987
|
+
}
|
|
32988
|
+
);
|
|
32989
|
+
}
|
|
32990
|
+
var gridColsClassName = (count) => {
|
|
32991
|
+
const map3 = {
|
|
32992
|
+
1: "grid-cols-1",
|
|
32993
|
+
2: "grid-cols-2",
|
|
32994
|
+
3: "grid-cols-2 sm:grid-cols-3",
|
|
32995
|
+
4: "grid-cols-2 sm:grid-cols-4"
|
|
32996
|
+
};
|
|
32997
|
+
return map3[Math.min(Math.max(count, 1), 4)] ?? map3[4];
|
|
32998
|
+
};
|
|
32999
|
+
function FooterColumns({
|
|
33000
|
+
columns,
|
|
33001
|
+
navigate,
|
|
33002
|
+
column,
|
|
33003
|
+
link: link3,
|
|
33004
|
+
className,
|
|
33005
|
+
columnClassName,
|
|
33006
|
+
titleClassName,
|
|
33007
|
+
linkClassName
|
|
33008
|
+
}) {
|
|
33009
|
+
if (!columns || columns.length === 0) return null;
|
|
33010
|
+
const Column = column ?? FooterColumn;
|
|
33011
|
+
return /* @__PURE__ */ jsx(
|
|
33012
|
+
"div",
|
|
33013
|
+
{
|
|
33014
|
+
className: cn("grid gap-8", gridColsClassName(columns.length), className),
|
|
33015
|
+
children: columns.map((col, index3) => {
|
|
33016
|
+
const ColumnComponent = col.component ?? Column;
|
|
33017
|
+
return /* @__PURE__ */ jsx(
|
|
33018
|
+
ColumnComponent,
|
|
33019
|
+
{
|
|
33020
|
+
column: col,
|
|
33021
|
+
navigate,
|
|
33022
|
+
link: link3,
|
|
33023
|
+
className: cn(columnClassName, col.className),
|
|
33024
|
+
titleClassName,
|
|
33025
|
+
linkClassName
|
|
33026
|
+
},
|
|
33027
|
+
col.key ?? index3
|
|
33028
|
+
);
|
|
33029
|
+
})
|
|
33030
|
+
}
|
|
33031
|
+
);
|
|
33032
|
+
}
|
|
33033
|
+
function FooterBottom({
|
|
33034
|
+
copyright,
|
|
33035
|
+
legalLinks = [],
|
|
33036
|
+
bottomNote,
|
|
33037
|
+
navigate,
|
|
33038
|
+
classNames: classNames71
|
|
33039
|
+
}) {
|
|
33040
|
+
const hasLegal = legalLinks.length > 0;
|
|
33041
|
+
if (!copyright && !hasLegal && !bottomNote) return null;
|
|
33042
|
+
return /* @__PURE__ */ jsxs(
|
|
33043
|
+
"div",
|
|
33044
|
+
{
|
|
33045
|
+
className: cn(
|
|
33046
|
+
"mt-14 flex flex-col gap-4 pt-8",
|
|
33047
|
+
"border-t border-eui-dark-500/15 dark:border-eui-light-600/15",
|
|
33048
|
+
"md:flex-row md:items-center md:justify-between",
|
|
33049
|
+
classNames71?.bottom
|
|
33050
|
+
),
|
|
33051
|
+
children: [
|
|
33052
|
+
copyright && /* @__PURE__ */ jsx(
|
|
33053
|
+
Caption,
|
|
33054
|
+
{
|
|
33055
|
+
className: cn("max-w-3xl leading-relaxed", classNames71?.copyright),
|
|
33056
|
+
children: copyright
|
|
33057
|
+
}
|
|
33058
|
+
),
|
|
33059
|
+
(hasLegal || bottomNote) && /* @__PURE__ */ jsxs("div", { className: "flex flex-wrap items-center gap-x-5 gap-y-2 md:justify-end", children: [
|
|
33060
|
+
legalLinks.map((item, index3) => {
|
|
33061
|
+
const useJsNav = Boolean(item.onClick) || Boolean(navigate) && Boolean(item.to);
|
|
33062
|
+
return /* @__PURE__ */ jsx(
|
|
33063
|
+
Link,
|
|
33064
|
+
{
|
|
33065
|
+
href: item.to || "#",
|
|
33066
|
+
target: item.external ? "blank" : "self",
|
|
33067
|
+
variant: "default",
|
|
33068
|
+
decoration: "noUnderline",
|
|
33069
|
+
onClick: useJsNav ? () => item.onClick ? item.onClick() : item.to && navigate?.(item.to) : void 0,
|
|
33070
|
+
styles: cn("whitespace-nowrap text-xs", classNames71?.legalLink),
|
|
33071
|
+
children: item.label
|
|
33072
|
+
},
|
|
33073
|
+
item.key ?? index3
|
|
33074
|
+
);
|
|
33075
|
+
}),
|
|
33076
|
+
bottomNote && /* @__PURE__ */ jsx(Caption, { children: bottomNote })
|
|
33077
|
+
] })
|
|
33078
|
+
]
|
|
33079
|
+
}
|
|
33080
|
+
);
|
|
33081
|
+
}
|
|
33082
|
+
function SiteFooter({
|
|
33083
|
+
brand,
|
|
33084
|
+
brandSrc,
|
|
33085
|
+
brandAlt,
|
|
33086
|
+
description,
|
|
33087
|
+
columns = [],
|
|
33088
|
+
socials = [],
|
|
33089
|
+
copyright,
|
|
33090
|
+
legalLinks = [],
|
|
33091
|
+
bottomNote,
|
|
33092
|
+
navigate,
|
|
33093
|
+
components,
|
|
33094
|
+
classNames: classNames71,
|
|
33095
|
+
className,
|
|
33096
|
+
styles,
|
|
33097
|
+
maxWidth = "max-w-7xl",
|
|
33098
|
+
showBrand = true,
|
|
33099
|
+
showColumns = true,
|
|
33100
|
+
showSocials = true,
|
|
33101
|
+
showBottom = true,
|
|
33102
|
+
children: children3
|
|
33103
|
+
}) {
|
|
33104
|
+
const Root = components?.root ?? Footer;
|
|
33105
|
+
const Container = components?.container;
|
|
33106
|
+
const BrandSlot = components?.brand ?? FooterBrand;
|
|
33107
|
+
const DescriptionSlot = components?.description ?? FooterDescription;
|
|
33108
|
+
const SocialsSlot = components?.socials ?? FooterSocials;
|
|
33109
|
+
const ColumnsSlot = components?.columns ?? FooterColumns;
|
|
33110
|
+
const BottomSlot = components?.bottom ?? FooterBottom;
|
|
33111
|
+
const hasBrandBlock = showBrand && (Boolean(brand) || Boolean(brandSrc) || Boolean(description) || showSocials && socials.length > 0);
|
|
33112
|
+
const hasColumns = showColumns && columns.length > 0;
|
|
33113
|
+
const brandBlock = hasBrandBlock ? /* @__PURE__ */ jsxs("div", { className: cn("flex flex-col gap-6", classNames71?.brandBlock), children: [
|
|
33114
|
+
showBrand && (Boolean(brand) || Boolean(brandSrc)) && /* @__PURE__ */ jsx(BrandSlot, { brand, brandSrc, brandAlt }),
|
|
33115
|
+
description && /* @__PURE__ */ jsx(DescriptionSlot, { className: classNames71?.description, children: description }),
|
|
33116
|
+
showSocials && socials.length > 0 && /* @__PURE__ */ jsx(
|
|
33117
|
+
SocialsSlot,
|
|
33118
|
+
{
|
|
33119
|
+
items: socials,
|
|
33120
|
+
social: components?.social,
|
|
33121
|
+
className: classNames71?.socials,
|
|
33122
|
+
itemClassName: classNames71?.social
|
|
33123
|
+
}
|
|
33124
|
+
)
|
|
33125
|
+
] }) : null;
|
|
33126
|
+
const columnsBlock = hasColumns ? /* @__PURE__ */ jsx(
|
|
33127
|
+
ColumnsSlot,
|
|
33128
|
+
{
|
|
33129
|
+
columns,
|
|
33130
|
+
navigate,
|
|
33131
|
+
column: components?.column,
|
|
33132
|
+
link: components?.link,
|
|
33133
|
+
className: cn(classNames71?.columns, brandBlock && "lg:col-span-3"),
|
|
33134
|
+
columnClassName: classNames71?.column,
|
|
33135
|
+
titleClassName: classNames71?.columnTitle,
|
|
33136
|
+
linkClassName: classNames71?.link
|
|
33137
|
+
}
|
|
33138
|
+
) : null;
|
|
33139
|
+
const topSection = children3 ?? (brandBlock || columnsBlock ? /* @__PURE__ */ jsxs(
|
|
33140
|
+
"div",
|
|
33141
|
+
{
|
|
33142
|
+
className: cn(
|
|
33143
|
+
"grid gap-12",
|
|
33144
|
+
brandBlock && columnsBlock && "lg:grid-cols-4",
|
|
33145
|
+
classNames71?.top
|
|
33146
|
+
),
|
|
33147
|
+
children: [
|
|
33148
|
+
brandBlock,
|
|
33149
|
+
columnsBlock
|
|
33150
|
+
]
|
|
33151
|
+
}
|
|
33152
|
+
) : null);
|
|
33153
|
+
const content3 = /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
33154
|
+
topSection,
|
|
33155
|
+
showBottom && /* @__PURE__ */ jsx(
|
|
33156
|
+
BottomSlot,
|
|
33157
|
+
{
|
|
33158
|
+
copyright,
|
|
33159
|
+
legalLinks,
|
|
33160
|
+
bottomNote,
|
|
33161
|
+
navigate,
|
|
33162
|
+
classNames: classNames71
|
|
33163
|
+
}
|
|
33164
|
+
)
|
|
33165
|
+
] });
|
|
33166
|
+
const containerClassName = cn(
|
|
33167
|
+
"mx-auto px-6 py-16 md:px-10 lg:px-16",
|
|
33168
|
+
maxWidth,
|
|
33169
|
+
classNames71?.container
|
|
33170
|
+
);
|
|
33171
|
+
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 }) });
|
|
33172
|
+
}
|
|
33173
|
+
|
|
33174
|
+
// src/compositions/navigation/site-footer/index.tsx
|
|
33175
|
+
var SiteFooter2 = Object.assign(SiteFooter, {
|
|
33176
|
+
Brand: FooterBrand,
|
|
33177
|
+
Description: FooterDescription,
|
|
33178
|
+
Socials: FooterSocials,
|
|
33179
|
+
Social: FooterSocial,
|
|
33180
|
+
Columns: FooterColumns,
|
|
33181
|
+
Column: FooterColumn,
|
|
33182
|
+
Link: FooterLink,
|
|
33183
|
+
Bottom: FooterBottom
|
|
33184
|
+
});
|
|
32850
33185
|
function Sidebar({
|
|
32851
33186
|
items = [],
|
|
32852
33187
|
navigate,
|
|
@@ -33147,7 +33482,7 @@ var TopNav = ({
|
|
|
33147
33482
|
currentPath,
|
|
33148
33483
|
navigate,
|
|
33149
33484
|
components,
|
|
33150
|
-
classNames:
|
|
33485
|
+
classNames: classNames71,
|
|
33151
33486
|
className
|
|
33152
33487
|
}) => {
|
|
33153
33488
|
const pathname = currentPath ?? (typeof window !== "undefined" ? window.location.pathname : "");
|
|
@@ -33199,8 +33534,8 @@ var TopNav = ({
|
|
|
33199
33534
|
return /* @__PURE__ */ jsx(
|
|
33200
33535
|
TNThemeProvider,
|
|
33201
33536
|
{
|
|
33202
|
-
value: { components: components || {}, classNames:
|
|
33203
|
-
children: /* @__PURE__ */ jsx("div", { className: cn("flex items-center",
|
|
33537
|
+
value: { components: components || {}, classNames: classNames71 || {} },
|
|
33538
|
+
children: /* @__PURE__ */ jsx("div", { className: cn("flex items-center", classNames71?.root, className), children: items.map(renderNode) })
|
|
33204
33539
|
}
|
|
33205
33540
|
);
|
|
33206
33541
|
};
|
|
@@ -35383,11 +35718,11 @@ function addChildren(props, children3) {
|
|
|
35383
35718
|
}
|
|
35384
35719
|
}
|
|
35385
35720
|
}
|
|
35386
|
-
function productionCreate(_2,
|
|
35721
|
+
function productionCreate(_2, jsx265, jsxs130) {
|
|
35387
35722
|
return create3;
|
|
35388
35723
|
function create3(_3, type2, props, key) {
|
|
35389
35724
|
const isStaticChildren = Array.isArray(props.children);
|
|
35390
|
-
const fn = isStaticChildren ?
|
|
35725
|
+
const fn = isStaticChildren ? jsxs130 : jsx265;
|
|
35391
35726
|
return key ? fn(type2, props, key) : fn(type2, props);
|
|
35392
35727
|
}
|
|
35393
35728
|
}
|
|
@@ -55418,7 +55753,7 @@ function MarkdownHeading({
|
|
|
55418
55753
|
id: id2,
|
|
55419
55754
|
level: typographyLevel,
|
|
55420
55755
|
bold: true,
|
|
55421
|
-
className:
|
|
55756
|
+
className: classNames67(
|
|
55422
55757
|
"eui-markdown-heading group relative scroll-mt-24 font-bold leading-tight text-gray-900 dark:text-gray-100",
|
|
55423
55758
|
HEADING_STYLES[level],
|
|
55424
55759
|
className
|
|
@@ -55581,18 +55916,18 @@ function powerSetPermutations(arr) {
|
|
|
55581
55916
|
}
|
|
55582
55917
|
}
|
|
55583
55918
|
var classNameCombinations = {};
|
|
55584
|
-
function getClassNameCombinations(
|
|
55585
|
-
if (
|
|
55586
|
-
var key =
|
|
55919
|
+
function getClassNameCombinations(classNames71) {
|
|
55920
|
+
if (classNames71.length === 0 || classNames71.length === 1) return classNames71;
|
|
55921
|
+
var key = classNames71.join(".");
|
|
55587
55922
|
if (!classNameCombinations[key]) {
|
|
55588
|
-
classNameCombinations[key] = powerSetPermutations(
|
|
55923
|
+
classNameCombinations[key] = powerSetPermutations(classNames71);
|
|
55589
55924
|
}
|
|
55590
55925
|
return classNameCombinations[key];
|
|
55591
55926
|
}
|
|
55592
|
-
function createStyleObject(
|
|
55927
|
+
function createStyleObject(classNames71) {
|
|
55593
55928
|
var elementStyle = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {};
|
|
55594
55929
|
var stylesheet = arguments.length > 2 ? arguments[2] : void 0;
|
|
55595
|
-
var nonTokenClassNames =
|
|
55930
|
+
var nonTokenClassNames = classNames71.filter(function(className) {
|
|
55596
55931
|
return className !== "token";
|
|
55597
55932
|
});
|
|
55598
55933
|
var classNamesCombinations = getClassNameCombinations(nonTokenClassNames);
|
|
@@ -55600,8 +55935,8 @@ function createStyleObject(classNames73) {
|
|
|
55600
55935
|
return _objectSpread(_objectSpread({}, styleObject), stylesheet[className]);
|
|
55601
55936
|
}, elementStyle);
|
|
55602
55937
|
}
|
|
55603
|
-
function createClassNameString(
|
|
55604
|
-
return
|
|
55938
|
+
function createClassNameString(classNames71) {
|
|
55939
|
+
return classNames71.join(" ");
|
|
55605
55940
|
}
|
|
55606
55941
|
function createChildren2(stylesheet, useInlineStyles) {
|
|
55607
55942
|
var childrenCount = 0;
|
|
@@ -55774,8 +56109,8 @@ function flattenCodeTree(tree) {
|
|
|
55774
56109
|
}));
|
|
55775
56110
|
} else if (node2.children) {
|
|
55776
56111
|
var _node$properties;
|
|
55777
|
-
var
|
|
55778
|
-
flattenCodeTree(node2.children,
|
|
56112
|
+
var classNames71 = className.concat(((_node$properties = node2.properties) === null || _node$properties === void 0 ? void 0 : _node$properties.className) || []);
|
|
56113
|
+
flattenCodeTree(node2.children, classNames71).forEach(function(i2) {
|
|
55779
56114
|
return newTree.push(i2);
|
|
55780
56115
|
});
|
|
55781
56116
|
}
|
|
@@ -56306,7 +56641,7 @@ var json_default = json;
|
|
|
56306
56641
|
|
|
56307
56642
|
// node_modules/react-syntax-highlighter/dist/esm/languages/prism/jsx.js
|
|
56308
56643
|
init_jsx();
|
|
56309
|
-
var jsx_default =
|
|
56644
|
+
var jsx_default = jsx226;
|
|
56310
56645
|
|
|
56311
56646
|
// node_modules/react-syntax-highlighter/dist/esm/languages/prism/markup.js
|
|
56312
56647
|
init_markup();
|
|
@@ -56439,7 +56774,7 @@ function MarkdownCodeBlock({
|
|
|
56439
56774
|
"div",
|
|
56440
56775
|
{
|
|
56441
56776
|
...props,
|
|
56442
|
-
className:
|
|
56777
|
+
className: classNames67(
|
|
56443
56778
|
"eui-markdown-code my-6 overflow-hidden rounded-md border border-slate-700 bg-[#0d1117] text-slate-300",
|
|
56444
56779
|
className
|
|
56445
56780
|
),
|
|
@@ -56510,7 +56845,7 @@ function MarkdownInlineCode({
|
|
|
56510
56845
|
Code,
|
|
56511
56846
|
{
|
|
56512
56847
|
...props,
|
|
56513
|
-
className:
|
|
56848
|
+
className: classNames67(
|
|
56514
56849
|
"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
56850
|
className
|
|
56516
56851
|
),
|
|
@@ -56551,7 +56886,7 @@ function MarkdownLink({
|
|
|
56551
56886
|
href: safeHref,
|
|
56552
56887
|
target: resolvedTarget,
|
|
56553
56888
|
rel,
|
|
56554
|
-
className:
|
|
56889
|
+
className: classNames67(
|
|
56555
56890
|
"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
56891
|
className
|
|
56557
56892
|
),
|
|
@@ -56586,7 +56921,7 @@ function MarkdownImage({
|
|
|
56586
56921
|
title,
|
|
56587
56922
|
loading: "lazy",
|
|
56588
56923
|
decoding: "async",
|
|
56589
|
-
className:
|
|
56924
|
+
className: classNames67(
|
|
56590
56925
|
"eui-markdown-image my-6 h-auto max-w-full rounded-md border border-gray-200 dark:border-gray-700",
|
|
56591
56926
|
className
|
|
56592
56927
|
)
|
|
@@ -56603,7 +56938,7 @@ function MarkdownTable({
|
|
|
56603
56938
|
TableElement,
|
|
56604
56939
|
{
|
|
56605
56940
|
...props,
|
|
56606
|
-
className:
|
|
56941
|
+
className: classNames67(
|
|
56607
56942
|
"eui-markdown-table w-full border-collapse text-[0.925rem]",
|
|
56608
56943
|
className
|
|
56609
56944
|
),
|
|
@@ -56620,7 +56955,7 @@ function MarkdownTableCell({
|
|
|
56620
56955
|
TableCell,
|
|
56621
56956
|
{
|
|
56622
56957
|
...props,
|
|
56623
|
-
className:
|
|
56958
|
+
className: classNames67(
|
|
56624
56959
|
"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
56960
|
className
|
|
56626
56961
|
),
|
|
@@ -56637,7 +56972,7 @@ function MarkdownTableHeaderCell({
|
|
|
56637
56972
|
TableHeaderCell,
|
|
56638
56973
|
{
|
|
56639
56974
|
...props,
|
|
56640
|
-
className:
|
|
56975
|
+
className: classNames67(
|
|
56641
56976
|
"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
56977
|
className
|
|
56643
56978
|
),
|
|
@@ -56653,7 +56988,7 @@ function MarkdownTableHead({
|
|
|
56653
56988
|
TableHead,
|
|
56654
56989
|
{
|
|
56655
56990
|
...props,
|
|
56656
|
-
className:
|
|
56991
|
+
className: classNames67(
|
|
56657
56992
|
"eui-markdown-table-head bg-gray-50 dark:bg-gray-900",
|
|
56658
56993
|
className
|
|
56659
56994
|
)
|
|
@@ -56668,7 +57003,7 @@ function MarkdownTableBody({
|
|
|
56668
57003
|
TableBody,
|
|
56669
57004
|
{
|
|
56670
57005
|
...props,
|
|
56671
|
-
className:
|
|
57006
|
+
className: classNames67("eui-markdown-table-body", className)
|
|
56672
57007
|
}
|
|
56673
57008
|
);
|
|
56674
57009
|
}
|
|
@@ -56680,7 +57015,7 @@ function MarkdownTableRow({
|
|
|
56680
57015
|
TableRow,
|
|
56681
57016
|
{
|
|
56682
57017
|
...props,
|
|
56683
|
-
className:
|
|
57018
|
+
className: classNames67(
|
|
56684
57019
|
"eui-markdown-table-row even:bg-gray-50/70 dark:even:bg-gray-900/60",
|
|
56685
57020
|
className
|
|
56686
57021
|
)
|
|
@@ -56698,7 +57033,7 @@ function MarkdownBlockquote({
|
|
|
56698
57033
|
{
|
|
56699
57034
|
...props,
|
|
56700
57035
|
as: "blockquote",
|
|
56701
|
-
className:
|
|
57036
|
+
className: classNames67(
|
|
56702
57037
|
"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
57038
|
className
|
|
56704
57039
|
),
|
|
@@ -56717,7 +57052,7 @@ function MarkdownParagraph({
|
|
|
56717
57052
|
{
|
|
56718
57053
|
...props,
|
|
56719
57054
|
level: 1,
|
|
56720
|
-
className:
|
|
57055
|
+
className: classNames67("eui-markdown-paragraph my-4", className),
|
|
56721
57056
|
children: /* @__PURE__ */ jsx(Fragment, { children: children3 })
|
|
56722
57057
|
}
|
|
56723
57058
|
);
|
|
@@ -56728,7 +57063,7 @@ function MarkdownStrong({ className, ...props }) {
|
|
|
56728
57063
|
"strong",
|
|
56729
57064
|
{
|
|
56730
57065
|
...props,
|
|
56731
|
-
className:
|
|
57066
|
+
className: classNames67(
|
|
56732
57067
|
"eui-markdown-strong font-semibold text-gray-950 dark:text-gray-100",
|
|
56733
57068
|
className
|
|
56734
57069
|
)
|
|
@@ -56741,7 +57076,7 @@ function MarkdownEmphasis({ className, ...props }) {
|
|
|
56741
57076
|
"em",
|
|
56742
57077
|
{
|
|
56743
57078
|
...props,
|
|
56744
|
-
className:
|
|
57079
|
+
className: classNames67("eui-markdown-emphasis italic", className)
|
|
56745
57080
|
}
|
|
56746
57081
|
);
|
|
56747
57082
|
}
|
|
@@ -56754,7 +57089,7 @@ function MarkdownStrikethrough({
|
|
|
56754
57089
|
"del",
|
|
56755
57090
|
{
|
|
56756
57091
|
...props,
|
|
56757
|
-
className:
|
|
57092
|
+
className: classNames67(
|
|
56758
57093
|
"eui-markdown-strikethrough text-gray-500 dark:text-gray-400",
|
|
56759
57094
|
className
|
|
56760
57095
|
)
|
|
@@ -56815,7 +57150,7 @@ function MarkdownTaskCheckbox({
|
|
|
56815
57150
|
"input",
|
|
56816
57151
|
{
|
|
56817
57152
|
...props,
|
|
56818
|
-
className:
|
|
57153
|
+
className: classNames67(
|
|
56819
57154
|
"eui-markdown-task-checkbox mr-2 translate-y-px accent-blue-600",
|
|
56820
57155
|
className
|
|
56821
57156
|
)
|
|
@@ -56831,7 +57166,7 @@ function MarkdownThematicBreak({
|
|
|
56831
57166
|
"hr",
|
|
56832
57167
|
{
|
|
56833
57168
|
...props,
|
|
56834
|
-
className:
|
|
57169
|
+
className: classNames67(
|
|
56835
57170
|
"eui-markdown-thematic-break my-8 border-0 border-t border-gray-200 dark:border-gray-800",
|
|
56836
57171
|
className
|
|
56837
57172
|
)
|
|
@@ -56848,7 +57183,7 @@ function MarkdownDetails({ className, ...props }) {
|
|
|
56848
57183
|
"details",
|
|
56849
57184
|
{
|
|
56850
57185
|
...props,
|
|
56851
|
-
className:
|
|
57186
|
+
className: classNames67(
|
|
56852
57187
|
"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
57188
|
className
|
|
56854
57189
|
)
|
|
@@ -56860,7 +57195,7 @@ function MarkdownSummary({ className, ...props }) {
|
|
|
56860
57195
|
"summary",
|
|
56861
57196
|
{
|
|
56862
57197
|
...props,
|
|
56863
|
-
className:
|
|
57198
|
+
className: classNames67(
|
|
56864
57199
|
"eui-markdown-summary cursor-pointer font-semibold text-gray-950 dark:text-gray-100",
|
|
56865
57200
|
className
|
|
56866
57201
|
)
|
|
@@ -56872,7 +57207,7 @@ function MarkdownFigure({ className, ...props }) {
|
|
|
56872
57207
|
"figure",
|
|
56873
57208
|
{
|
|
56874
57209
|
...props,
|
|
56875
|
-
className:
|
|
57210
|
+
className: classNames67("eui-markdown-figure my-6", className)
|
|
56876
57211
|
}
|
|
56877
57212
|
);
|
|
56878
57213
|
}
|
|
@@ -56884,7 +57219,7 @@ function MarkdownFigcaption({
|
|
|
56884
57219
|
return /* @__PURE__ */ jsx("figcaption", { ...props, className: "eui-markdown-figcaption mt-2 text-center", children: /* @__PURE__ */ jsx(
|
|
56885
57220
|
Caption,
|
|
56886
57221
|
{
|
|
56887
|
-
className:
|
|
57222
|
+
className: classNames67(
|
|
56888
57223
|
"text-gray-500 opacity-100 dark:text-gray-400",
|
|
56889
57224
|
className
|
|
56890
57225
|
),
|
|
@@ -57283,14 +57618,14 @@ function MarkdownRenderer({
|
|
|
57283
57618
|
return /* @__PURE__ */ jsx(
|
|
57284
57619
|
"div",
|
|
57285
57620
|
{
|
|
57286
|
-
className:
|
|
57621
|
+
className: classNames67(
|
|
57287
57622
|
"eui-markdown markdown-body break-words bg-transparent text-[0.95rem] leading-7 text-gray-800 dark:text-gray-300",
|
|
57288
57623
|
className
|
|
57289
57624
|
),
|
|
57290
57625
|
children: /* @__PURE__ */ jsx(
|
|
57291
57626
|
"div",
|
|
57292
57627
|
{
|
|
57293
|
-
className:
|
|
57628
|
+
className: classNames67(
|
|
57294
57629
|
"[&>*:first-child]:mt-0 [&>*:last-child]:mb-0",
|
|
57295
57630
|
contentClassName
|
|
57296
57631
|
),
|
|
@@ -57368,11 +57703,11 @@ function MarkdownTOCItem({
|
|
|
57368
57703
|
onClick: () => onSelect?.(heading3),
|
|
57369
57704
|
"aria-current": active ? "location" : void 0,
|
|
57370
57705
|
title: label,
|
|
57371
|
-
className:
|
|
57706
|
+
className: classNames67(
|
|
57372
57707
|
"eui-markdown-toc-item",
|
|
57373
57708
|
"block w-full text-left text-sm transition-all ease-in-out duration-150",
|
|
57374
57709
|
"hover:text-primary",
|
|
57375
|
-
active ?
|
|
57710
|
+
active ? classNames67("text-primary font-semibold underline", activeClassName) : classNames67("text-gray-500 dark:text-gray-400", inactiveClassName),
|
|
57376
57711
|
className
|
|
57377
57712
|
),
|
|
57378
57713
|
style: {
|
|
@@ -57438,7 +57773,7 @@ function MarkdownTOC({
|
|
|
57438
57773
|
return emptyState ? /* @__PURE__ */ jsx(
|
|
57439
57774
|
"div",
|
|
57440
57775
|
{
|
|
57441
|
-
className:
|
|
57776
|
+
className: classNames67(
|
|
57442
57777
|
"eui-markdown-toc",
|
|
57443
57778
|
"text-sm text-gray-500 dark:text-gray-400",
|
|
57444
57779
|
className
|
|
@@ -57458,7 +57793,7 @@ function MarkdownTOC({
|
|
|
57458
57793
|
{
|
|
57459
57794
|
type: "button",
|
|
57460
57795
|
onClick: () => setCollapsed((value) => !value),
|
|
57461
|
-
className:
|
|
57796
|
+
className: classNames67(
|
|
57462
57797
|
"eui-markdown-toc-title",
|
|
57463
57798
|
"flex w-full items-center justify-between gap-2 text-left",
|
|
57464
57799
|
"text-sm font-semibold uppercase tracking-wide",
|
|
@@ -57471,7 +57806,7 @@ function MarkdownTOC({
|
|
|
57471
57806
|
/* @__PURE__ */ jsx(
|
|
57472
57807
|
"span",
|
|
57473
57808
|
{
|
|
57474
|
-
className:
|
|
57809
|
+
className: classNames67(
|
|
57475
57810
|
"text-xs opacity-60 transition-transform duration-150",
|
|
57476
57811
|
!collapsed && "rotate-90"
|
|
57477
57812
|
),
|
|
@@ -57484,7 +57819,7 @@ function MarkdownTOC({
|
|
|
57484
57819
|
) : /* @__PURE__ */ jsx(
|
|
57485
57820
|
"h2",
|
|
57486
57821
|
{
|
|
57487
|
-
className:
|
|
57822
|
+
className: classNames67(
|
|
57488
57823
|
"eui-markdown-toc-title",
|
|
57489
57824
|
"text-sm font-semibold uppercase tracking-wide",
|
|
57490
57825
|
"text-gray-900 dark:text-gray-100",
|
|
@@ -57496,7 +57831,7 @@ function MarkdownTOC({
|
|
|
57496
57831
|
!collapsed ? /* @__PURE__ */ jsx(
|
|
57497
57832
|
"nav",
|
|
57498
57833
|
{
|
|
57499
|
-
className:
|
|
57834
|
+
className: classNames67(
|
|
57500
57835
|
"eui-markdown-toc-list",
|
|
57501
57836
|
"space-y-1",
|
|
57502
57837
|
listClassName
|
|
@@ -57520,7 +57855,7 @@ function MarkdownTOC({
|
|
|
57520
57855
|
}
|
|
57521
57856
|
) : null
|
|
57522
57857
|
] });
|
|
57523
|
-
return /* @__PURE__ */ jsx("aside", { className:
|
|
57858
|
+
return /* @__PURE__ */ jsx("aside", { className: classNames67("eui-markdown-toc", "space-y-4", className), children: content3 });
|
|
57524
57859
|
}
|
|
57525
57860
|
var MarkdownTOC_default = MarkdownTOC;
|
|
57526
57861
|
var DEFAULT_MARKDOWN_TOOLBAR_ACTIONS = [
|
|
@@ -57619,7 +57954,7 @@ function MarkdownToolbar({
|
|
|
57619
57954
|
return /* @__PURE__ */ jsxs(
|
|
57620
57955
|
"div",
|
|
57621
57956
|
{
|
|
57622
|
-
className:
|
|
57957
|
+
className: classNames67(
|
|
57623
57958
|
"eui-markdown-toolbar",
|
|
57624
57959
|
"flex flex-wrap items-center gap-1 border-b border-gray-200 bg-gray-50 p-2",
|
|
57625
57960
|
"dark:border-gray-700 dark:bg-gray-900",
|
|
@@ -57633,7 +57968,7 @@ function MarkdownToolbar({
|
|
|
57633
57968
|
disabled: disabled || actionsDisabled,
|
|
57634
57969
|
title: action.shortcut ? `${action.title || action.label} (${action.shortcut})` : action.title || action.label,
|
|
57635
57970
|
onClick: () => onAction?.(action.id),
|
|
57636
|
-
className:
|
|
57971
|
+
className: classNames67(
|
|
57637
57972
|
"eui-markdown-toolbar-button",
|
|
57638
57973
|
"inline-flex items-center justify-center rounded border border-transparent",
|
|
57639
57974
|
"text-gray-700 transition-colors hover:border-gray-300 hover:bg-white",
|
|
@@ -57653,7 +57988,7 @@ function MarkdownToolbar({
|
|
|
57653
57988
|
disabled,
|
|
57654
57989
|
onClick: onViewModeToggle,
|
|
57655
57990
|
title: isPreviewMode ? "Switch to Markdown syntax" : "Switch to preview",
|
|
57656
|
-
className:
|
|
57991
|
+
className: classNames67(
|
|
57657
57992
|
"eui-markdown-view-toggle",
|
|
57658
57993
|
"inline-flex items-center justify-center rounded border font-medium transition-colors",
|
|
57659
57994
|
"border-gray-300 bg-white text-gray-700 hover:bg-gray-100",
|
|
@@ -57910,7 +58245,7 @@ function MarkdownSourceEditor({
|
|
|
57910
58245
|
return /* @__PURE__ */ jsxs(
|
|
57911
58246
|
"div",
|
|
57912
58247
|
{
|
|
57913
|
-
className:
|
|
58248
|
+
className: classNames67(
|
|
57914
58249
|
"eui-markdown-editor",
|
|
57915
58250
|
"overflow-hidden rounded border border-gray-300 bg-white",
|
|
57916
58251
|
"dark:border-gray-700 dark:bg-gray-950",
|
|
@@ -57926,7 +58261,7 @@ function MarkdownSourceEditor({
|
|
|
57926
58261
|
actionsDisabled: readOnly,
|
|
57927
58262
|
viewMode: currentViewMode,
|
|
57928
58263
|
showViewModeToggle,
|
|
57929
|
-
className:
|
|
58264
|
+
className: classNames67(toolbarClassName, toolbarProps?.className),
|
|
57930
58265
|
onViewModeToggle: toggleViewMode,
|
|
57931
58266
|
onAction: handleToolbarAction
|
|
57932
58267
|
}
|
|
@@ -57934,7 +58269,7 @@ function MarkdownSourceEditor({
|
|
|
57934
58269
|
currentViewMode === "preview" ? /* @__PURE__ */ jsx(
|
|
57935
58270
|
"div",
|
|
57936
58271
|
{
|
|
57937
|
-
className:
|
|
58272
|
+
className: classNames67(
|
|
57938
58273
|
"eui-markdown-editor-preview",
|
|
57939
58274
|
"min-h-[260px] p-4",
|
|
57940
58275
|
previewClassName
|
|
@@ -57957,7 +58292,7 @@ function MarkdownSourceEditor({
|
|
|
57957
58292
|
onChange: (event) => updateValue(event.target.value),
|
|
57958
58293
|
onBlur,
|
|
57959
58294
|
onKeyDown: handleKeyDown,
|
|
57960
|
-
className:
|
|
58295
|
+
className: classNames67(
|
|
57961
58296
|
"eui-markdown-source-textarea",
|
|
57962
58297
|
"block w-full resize-y border-0 bg-transparent p-4 font-mono text-sm leading-7",
|
|
57963
58298
|
"text-gray-900 outline-none placeholder:text-gray-400",
|
|
@@ -57987,7 +58322,7 @@ function MarkdownPreviewPane({
|
|
|
57987
58322
|
return /* @__PURE__ */ jsx(
|
|
57988
58323
|
"div",
|
|
57989
58324
|
{
|
|
57990
|
-
className:
|
|
58325
|
+
className: classNames67(
|
|
57991
58326
|
"eui-markdown-preview-pane",
|
|
57992
58327
|
"rounded border border-gray-300 bg-white p-4",
|
|
57993
58328
|
"dark:border-gray-700 dark:bg-gray-950",
|
|
@@ -58037,7 +58372,7 @@ function MarkdownSplitEditor({
|
|
|
58037
58372
|
return /* @__PURE__ */ jsxs(
|
|
58038
58373
|
"div",
|
|
58039
58374
|
{
|
|
58040
|
-
className:
|
|
58375
|
+
className: classNames67(
|
|
58041
58376
|
"eui-markdown-split-editor",
|
|
58042
58377
|
"grid gap-4",
|
|
58043
58378
|
isHorizontal ? "grid-cols-1 lg:grid-cols-2" : "grid-cols-1",
|
|
@@ -58047,7 +58382,7 @@ function MarkdownSplitEditor({
|
|
|
58047
58382
|
/* @__PURE__ */ jsxs(
|
|
58048
58383
|
"div",
|
|
58049
58384
|
{
|
|
58050
|
-
className:
|
|
58385
|
+
className: classNames67(
|
|
58051
58386
|
"eui-markdown-split-source",
|
|
58052
58387
|
"min-w-0 space-y-2",
|
|
58053
58388
|
sourceWrapperClassName
|
|
@@ -58071,7 +58406,7 @@ function MarkdownSplitEditor({
|
|
|
58071
58406
|
/* @__PURE__ */ jsxs(
|
|
58072
58407
|
"div",
|
|
58073
58408
|
{
|
|
58074
|
-
className:
|
|
58409
|
+
className: classNames67(
|
|
58075
58410
|
"eui-markdown-split-preview",
|
|
58076
58411
|
"min-w-0 space-y-2",
|
|
58077
58412
|
previewWrapperClassName
|
|
@@ -58161,7 +58496,7 @@ function MarkdownField({
|
|
|
58161
58496
|
return /* @__PURE__ */ jsxs(
|
|
58162
58497
|
"div",
|
|
58163
58498
|
{
|
|
58164
|
-
className:
|
|
58499
|
+
className: classNames67(
|
|
58165
58500
|
"eui-markdown-field",
|
|
58166
58501
|
"relative space-y-2",
|
|
58167
58502
|
wrapperClassName
|
|
@@ -58171,7 +58506,7 @@ function MarkdownField({
|
|
|
58171
58506
|
"label",
|
|
58172
58507
|
{
|
|
58173
58508
|
htmlFor: editorProps.id || field.name,
|
|
58174
|
-
className:
|
|
58509
|
+
className: classNames67(
|
|
58175
58510
|
"block text-sm font-medium text-gray-700 dark:text-gray-200",
|
|
58176
58511
|
labelClassName
|
|
58177
58512
|
),
|
|
@@ -58196,7 +58531,7 @@ function MarkdownField({
|
|
|
58196
58531
|
helperText && !hasError ? /* @__PURE__ */ jsx(
|
|
58197
58532
|
"p",
|
|
58198
58533
|
{
|
|
58199
|
-
className:
|
|
58534
|
+
className: classNames67(
|
|
58200
58535
|
"text-sm text-gray-500 dark:text-gray-400",
|
|
58201
58536
|
helperTextClassName
|
|
58202
58537
|
),
|
|
@@ -58251,7 +58586,7 @@ function CodeMirrorMarkdownEditor({
|
|
|
58251
58586
|
{
|
|
58252
58587
|
id: id2,
|
|
58253
58588
|
"data-name": name2,
|
|
58254
|
-
className:
|
|
58589
|
+
className: classNames67(
|
|
58255
58590
|
"eui-markdown-adapter",
|
|
58256
58591
|
"eui-markdown-codemirror-adapter",
|
|
58257
58592
|
"overflow-hidden rounded border border-gray-300 bg-white",
|
|
@@ -58285,7 +58620,7 @@ function CodeMirrorMarkdownEditor({
|
|
|
58285
58620
|
closeBrackets: true,
|
|
58286
58621
|
bracketMatching: true
|
|
58287
58622
|
},
|
|
58288
|
-
className:
|
|
58623
|
+
className: classNames67("eui-markdown-codemirror", editorClassName),
|
|
58289
58624
|
onChange: updateValue,
|
|
58290
58625
|
onBlur
|
|
58291
58626
|
}
|
|
@@ -58386,7 +58721,7 @@ function createDefaultPlugins({
|
|
|
58386
58721
|
...showToolbar ? [
|
|
58387
58722
|
toolbarPlugin({
|
|
58388
58723
|
toolbarContents: toolbarContents ?? DefaultToolbar,
|
|
58389
|
-
toolbarClassName:
|
|
58724
|
+
toolbarClassName: classNames67(
|
|
58390
58725
|
"eui-markdown-mdx-toolbar",
|
|
58391
58726
|
toolbarClassName
|
|
58392
58727
|
),
|
|
@@ -58506,7 +58841,7 @@ var MDXMarkdownEditor = forwardRef(
|
|
|
58506
58841
|
"aria-invalid": invalid || void 0,
|
|
58507
58842
|
"data-theme": dark ? "dark" : void 0,
|
|
58508
58843
|
onBlurCapture: handleBlur,
|
|
58509
|
-
className:
|
|
58844
|
+
className: classNames67(
|
|
58510
58845
|
"eui-markdown-adapter",
|
|
58511
58846
|
"eui-markdown-mdx-adapter",
|
|
58512
58847
|
dark && ["dark", "dark-theme"],
|
|
@@ -58524,12 +58859,12 @@ var MDXMarkdownEditor = forwardRef(
|
|
|
58524
58859
|
markdown: currentValue ?? "",
|
|
58525
58860
|
readOnly: disabled || readOnly,
|
|
58526
58861
|
plugins: plugins ?? defaultPlugins,
|
|
58527
|
-
className:
|
|
58862
|
+
className: classNames67(
|
|
58528
58863
|
"eui-markdown-mdx-editor",
|
|
58529
58864
|
dark && ["dark", "dark-theme"],
|
|
58530
58865
|
editorClassName
|
|
58531
58866
|
),
|
|
58532
|
-
contentEditableClassName:
|
|
58867
|
+
contentEditableClassName: classNames67(
|
|
58533
58868
|
"eui-markdown-mdx-content",
|
|
58534
58869
|
contentEditableClassName
|
|
58535
58870
|
),
|
|
@@ -58566,7 +58901,7 @@ function MDXMarkdownField({
|
|
|
58566
58901
|
return /* @__PURE__ */ jsxs(
|
|
58567
58902
|
"div",
|
|
58568
58903
|
{
|
|
58569
|
-
className:
|
|
58904
|
+
className: classNames67(
|
|
58570
58905
|
"eui-markdown-mdx-field",
|
|
58571
58906
|
"relative space-y-2",
|
|
58572
58907
|
wrapperClassName
|
|
@@ -58576,7 +58911,7 @@ function MDXMarkdownField({
|
|
|
58576
58911
|
"label",
|
|
58577
58912
|
{
|
|
58578
58913
|
htmlFor: editorId,
|
|
58579
|
-
className:
|
|
58914
|
+
className: classNames67(
|
|
58580
58915
|
"block text-sm font-medium text-gray-700 dark:text-gray-200",
|
|
58581
58916
|
labelClassName
|
|
58582
58917
|
),
|
|
@@ -58610,7 +58945,7 @@ function MDXMarkdownField({
|
|
|
58610
58945
|
"p",
|
|
58611
58946
|
{
|
|
58612
58947
|
id: helperId,
|
|
58613
|
-
className:
|
|
58948
|
+
className: classNames67(
|
|
58614
58949
|
"text-sm text-gray-500 dark:text-gray-400",
|
|
58615
58950
|
helperTextClassName
|
|
58616
58951
|
),
|
|
@@ -58670,10 +59005,10 @@ function MarkdownLayout({
|
|
|
58670
59005
|
};
|
|
58671
59006
|
const hasLeftToc = hasToc && tocPosition === "left";
|
|
58672
59007
|
const hasRightToc = hasToc && tocPosition === "right";
|
|
58673
|
-
return /* @__PURE__ */ jsx("div", { className:
|
|
59008
|
+
return /* @__PURE__ */ jsx("div", { className: classNames67("eui-markdown-layout", "w-full", className), children: /* @__PURE__ */ jsxs(
|
|
58674
59009
|
"div",
|
|
58675
59010
|
{
|
|
58676
|
-
className:
|
|
59011
|
+
className: classNames67(
|
|
58677
59012
|
"eui-markdown-layout-container",
|
|
58678
59013
|
"mx-auto w-full px-4 sm:px-6 lg:px-8",
|
|
58679
59014
|
containerClassName
|
|
@@ -58685,7 +59020,7 @@ function MarkdownLayout({
|
|
|
58685
59020
|
header ? /* @__PURE__ */ jsx(
|
|
58686
59021
|
"header",
|
|
58687
59022
|
{
|
|
58688
|
-
className:
|
|
59023
|
+
className: classNames67(
|
|
58689
59024
|
"eui-markdown-layout-header",
|
|
58690
59025
|
"mb-8",
|
|
58691
59026
|
headerClassName
|
|
@@ -58696,7 +59031,7 @@ function MarkdownLayout({
|
|
|
58696
59031
|
/* @__PURE__ */ jsxs(
|
|
58697
59032
|
"div",
|
|
58698
59033
|
{
|
|
58699
|
-
className:
|
|
59034
|
+
className: classNames67(
|
|
58700
59035
|
"eui-markdown-layout-grid",
|
|
58701
59036
|
"grid grid-cols-1 gap-8",
|
|
58702
59037
|
hasSidebar && hasToc && "xl:grid-cols-[16rem_minmax(0,1fr)_18rem]",
|
|
@@ -58709,7 +59044,7 @@ function MarkdownLayout({
|
|
|
58709
59044
|
hasSidebar ? /* @__PURE__ */ jsx(
|
|
58710
59045
|
"aside",
|
|
58711
59046
|
{
|
|
58712
|
-
className:
|
|
59047
|
+
className: classNames67(
|
|
58713
59048
|
"eui-markdown-layout-sidebar",
|
|
58714
59049
|
"min-w-0",
|
|
58715
59050
|
stickySidebar && "lg:sticky lg:self-start",
|
|
@@ -58722,7 +59057,7 @@ function MarkdownLayout({
|
|
|
58722
59057
|
hasLeftToc ? /* @__PURE__ */ jsx(
|
|
58723
59058
|
"aside",
|
|
58724
59059
|
{
|
|
58725
|
-
className:
|
|
59060
|
+
className: classNames67(
|
|
58726
59061
|
"eui-markdown-layout-toc",
|
|
58727
59062
|
"min-w-0",
|
|
58728
59063
|
stickyToc && "lg:sticky lg:self-start",
|
|
@@ -58735,7 +59070,7 @@ function MarkdownLayout({
|
|
|
58735
59070
|
/* @__PURE__ */ jsx(
|
|
58736
59071
|
"main",
|
|
58737
59072
|
{
|
|
58738
|
-
className:
|
|
59073
|
+
className: classNames67(
|
|
58739
59074
|
"eui-markdown-layout-content",
|
|
58740
59075
|
"min-w-0",
|
|
58741
59076
|
contentClassName
|
|
@@ -58746,7 +59081,7 @@ function MarkdownLayout({
|
|
|
58746
59081
|
hasRightToc ? /* @__PURE__ */ jsx(
|
|
58747
59082
|
"aside",
|
|
58748
59083
|
{
|
|
58749
|
-
className:
|
|
59084
|
+
className: classNames67(
|
|
58750
59085
|
"eui-markdown-layout-toc",
|
|
58751
59086
|
"min-w-0",
|
|
58752
59087
|
stickyToc && "lg:sticky lg:self-start",
|
|
@@ -58759,7 +59094,7 @@ function MarkdownLayout({
|
|
|
58759
59094
|
hasAside ? /* @__PURE__ */ jsx(
|
|
58760
59095
|
"aside",
|
|
58761
59096
|
{
|
|
58762
|
-
className:
|
|
59097
|
+
className: classNames67(
|
|
58763
59098
|
"eui-markdown-layout-aside",
|
|
58764
59099
|
"min-w-0",
|
|
58765
59100
|
stickyAside && "2xl:sticky 2xl:self-start",
|
|
@@ -58775,7 +59110,7 @@ function MarkdownLayout({
|
|
|
58775
59110
|
footer2 ? /* @__PURE__ */ jsx(
|
|
58776
59111
|
"footer",
|
|
58777
59112
|
{
|
|
58778
|
-
className:
|
|
59113
|
+
className: classNames67(
|
|
58779
59114
|
"eui-markdown-layout-footer",
|
|
58780
59115
|
"mt-10",
|
|
58781
59116
|
footerClassName
|
|
@@ -58812,7 +59147,7 @@ function MarkdownDocsLayoutContent({
|
|
|
58812
59147
|
const resolvedHeader = header ?? (title || description || headerActions ? /* @__PURE__ */ jsx(
|
|
58813
59148
|
"div",
|
|
58814
59149
|
{
|
|
58815
|
-
className:
|
|
59150
|
+
className: classNames67(
|
|
58816
59151
|
"eui-markdown-docs-header",
|
|
58817
59152
|
"flex flex-col gap-4 border-b border-gray-200 pb-6",
|
|
58818
59153
|
"dark:border-gray-700",
|
|
@@ -58823,7 +59158,7 @@ function MarkdownDocsLayoutContent({
|
|
|
58823
59158
|
title ? /* @__PURE__ */ jsx(
|
|
58824
59159
|
"h1",
|
|
58825
59160
|
{
|
|
58826
|
-
className:
|
|
59161
|
+
className: classNames67(
|
|
58827
59162
|
"eui-markdown-docs-title",
|
|
58828
59163
|
"text-3xl font-bold tracking-tight text-gray-950",
|
|
58829
59164
|
"dark:text-gray-50",
|
|
@@ -58835,7 +59170,7 @@ function MarkdownDocsLayoutContent({
|
|
|
58835
59170
|
description ? /* @__PURE__ */ jsx(
|
|
58836
59171
|
"div",
|
|
58837
59172
|
{
|
|
58838
|
-
className:
|
|
59173
|
+
className: classNames67(
|
|
58839
59174
|
"eui-markdown-docs-description",
|
|
58840
59175
|
"max-w-3xl text-base leading-7 text-gray-600",
|
|
58841
59176
|
"dark:text-gray-400",
|
|
@@ -58923,7 +59258,7 @@ function GenericLayout({
|
|
|
58923
59258
|
return /* @__PURE__ */ jsx(ThemeProvider, { defaultTheme, children: /* @__PURE__ */ jsx(
|
|
58924
59259
|
"div",
|
|
58925
59260
|
{
|
|
58926
|
-
className:
|
|
59261
|
+
className: classNames67({
|
|
58927
59262
|
[`${styles}`]: styles
|
|
58928
59263
|
}),
|
|
58929
59264
|
children: children3
|
|
@@ -58972,7 +59307,7 @@ function SidemenuLayout({ data, children: children3 }) {
|
|
|
58972
59307
|
return /* @__PURE__ */ jsx(DefaultLayout_default, { children: /* @__PURE__ */ jsxs(
|
|
58973
59308
|
"div",
|
|
58974
59309
|
{
|
|
58975
|
-
className:
|
|
59310
|
+
className: classNames67({
|
|
58976
59311
|
grid: true,
|
|
58977
59312
|
"grid-cols-7 gap-10": !isMobile,
|
|
58978
59313
|
"grid-cols-1 gap-": isMobile
|
|
@@ -59052,6 +59387,6 @@ function ScrollToTop({
|
|
|
59052
59387
|
}
|
|
59053
59388
|
var ScrollToTop_default = ScrollToTop;
|
|
59054
59389
|
|
|
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 };
|
|
59390
|
+
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
59391
|
//# sourceMappingURL=index.mjs.map
|
|
59057
59392
|
//# sourceMappingURL=index.mjs.map
|