elseware-ui 2.27.10 → 2.28.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.css +10 -7
- package/dist/index.css.map +1 -1
- package/dist/index.d.mts +7 -7
- package/dist/index.d.ts +7 -7
- package/dist/index.js +10 -10
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +10 -10
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.d.mts
CHANGED
|
@@ -1348,6 +1348,12 @@ interface DataViewTableProps<T> {
|
|
|
1348
1348
|
}
|
|
1349
1349
|
declare function DataViewTable<T extends Record<string, any>>({ title, columns, data, sortOptions, sortConfig, searchPlaceholder, defaultPageSize, isLoading, isSuccess, isError, error, }: DataViewTableProps<T>): react_jsx_runtime.JSX.Element;
|
|
1350
1350
|
|
|
1351
|
+
interface DocumentationPanelProps {
|
|
1352
|
+
value: string;
|
|
1353
|
+
toc?: boolean;
|
|
1354
|
+
}
|
|
1355
|
+
declare function DocumentationPanel({ value, toc }: DocumentationPanelProps): react_jsx_runtime.JSX.Element;
|
|
1356
|
+
|
|
1351
1357
|
interface WorldMapCountryTableProps {
|
|
1352
1358
|
title?: string;
|
|
1353
1359
|
data: WorldMapPoint[];
|
|
@@ -1512,12 +1518,6 @@ interface SidemenuLayoutProps {
|
|
|
1512
1518
|
}
|
|
1513
1519
|
declare function SidemenuLayout({ data, children }: SidemenuLayoutProps): react_jsx_runtime.JSX.Element;
|
|
1514
1520
|
|
|
1515
|
-
interface DocumentationLayoutProps {
|
|
1516
|
-
value: string;
|
|
1517
|
-
toc?: boolean;
|
|
1518
|
-
}
|
|
1519
|
-
declare function DocumentationLayout({ value, toc }: DocumentationLayoutProps): react_jsx_runtime.JSX.Element;
|
|
1520
|
-
|
|
1521
1521
|
interface EUIDevLayoutProps {
|
|
1522
1522
|
children?: ReactNode;
|
|
1523
1523
|
header?: ReactNode;
|
|
@@ -1534,4 +1534,4 @@ declare function isRenderFn(children: ReactNode | ((activeTab: string) => ReactN
|
|
|
1534
1534
|
declare const normalize: (path?: string) => string;
|
|
1535
1535
|
declare const isMatch: (itemPath?: string, currentPath?: string) => boolean;
|
|
1536
1536
|
|
|
1537
|
-
export { Accordion, type AnimationComponentProps, type AnimationVariant, type Appearance, AsyncComponentWrapper, Avatar, Backdrop, Badge, BarChart, type BaseAnimationConfig, type BaseComponentProps, type BaseMenuNode, type BaseOverlayConfig, type BaseTopNavNode, type BlobAnimationConfig, Block, BlockGroup, BoxNav, BoxNavItem, Brand, Breadcrumb, BreadcrumbItem, Button, Card, CardContent, CardFooter, CardHeader, type CardinalPosition, Chapter, Checkbox, Chip, CloudinaryImage, CloudinaryProvider, CloudinaryVideo, Content, ContentArea, type CornerPosition, DataView, DataViewTable, DateSelector, DefaultLayout, type DefaultMenuElements,
|
|
1537
|
+
export { Accordion, type AnimationComponentProps, type AnimationVariant, type Appearance, AsyncComponentWrapper, Avatar, Backdrop, Badge, BarChart, type BaseAnimationConfig, type BaseComponentProps, type BaseMenuNode, type BaseOverlayConfig, type BaseTopNavNode, type BlobAnimationConfig, Block, BlockGroup, BoxNav, BoxNavItem, Brand, Breadcrumb, BreadcrumbItem, Button, Card, CardContent, CardFooter, CardHeader, type CardinalPosition, Chapter, Checkbox, Chip, CloudinaryImage, CloudinaryProvider, CloudinaryVideo, Content, ContentArea, type CornerPosition, DataView, DataViewTable, DateSelector, DefaultLayout, type DefaultMenuElements, DocumentationPanel, Drawer, DrawerToggler, type EUIComponentDefaults, type EUIConfigs, EUIDevLayout, EUIProvider, type EUIRoute, Flag, Flex, FlexCol, FlexRow, Footer, FooterNav, FooterNavGroup, FooterNavItem, FooterNavItemContext, FooterNavItemTitle, Form, FormResponse, GenericLayout, GlowWrapper, type GradientAnimationConfig, Graph, type GraphData, GraphEdge, type GraphEdgeType, type GraphLayoutType, GraphNode, type GraphNodeType, type GraphProps, GraphRenderer, Grid, Header, HeaderNav, HeaderNavGroup, HeaderNavItem, HeaderNavItemContext, HeaderNavItemTitle, HomeLayout, type HyperRefTarget, Image, ImageInput, Info, Input, InputFile, InputLabel, InputList, InputListGroup, InputResponse, Layout, type LayoutContext, type LayoutExecutor, LineChart, Link, List, type ListAlign, type ListBulletType, type ListDirection, ListItem, type ListItemData, MarkdownEditor, MarkdownProvider, MarkdownTOC, MarkdownViewer, Menu, type MenuElementType, MenuGroup, type MenuGroupNode, MenuItem, type MenuItemNode, MenuItemTitle, type MenuNode, type MenuProps, type MenuTitleNode, type MeshAnimationConfig, Modal, MotionSurface, MultiImageInput, type NavItem, type OctilePosition, type OverlayVariant, Paragraph, PieChart, PriceTag, ProgressBar, type ProgressBarProps, Quote, Radio, RouteTab, type RouteTabMode, RouteTabs, Section, Select, type Shape$1 as Shape, ShapeSwitch, ShowMore, Sidebar, SidebarLayout, SidemenuLayout, type Size$1 as Size, Skeleton, Slider, StarRating, StarRatingDistribution, StarRatingInput, Switch, TNDropdown, TNDropdownItem, TNDropdownTitle, TNGroup, Table, Tag, Tags, TextArea, type TextDecoration, ThemeContext, ThemeProvider, ThemeSwitch, TitleBanner, type TitleBannerLevel, Toast, Tooltip, TopNav, type TopNavComponents, type TopNavGroupNode, type TopNavItemNode, type TopNavNode, type TopNavProps, type TopNavTitleNode, Transition, TransitionDropdown, TransitionFadeIn, Typography, UnderConstructionBanner, ValueBadge, type Variant$1 as Variant, WorldMap, WorldMapCountryTable, YoutubeVideoPlayer, cn, createForceLayout, createGridLayout, createTreeLayout, getCurrencySymbol, getLayout, isMatch, isRenderFn, normalize, registerLayout, resolveWithGlobal, sendToast, useClickOutside, useCloudinaryConfig, useCurrentTheme, useDrawer, useEUIConfig, useIsMobile, useModal, useTheme };
|
package/dist/index.d.ts
CHANGED
|
@@ -1348,6 +1348,12 @@ interface DataViewTableProps<T> {
|
|
|
1348
1348
|
}
|
|
1349
1349
|
declare function DataViewTable<T extends Record<string, any>>({ title, columns, data, sortOptions, sortConfig, searchPlaceholder, defaultPageSize, isLoading, isSuccess, isError, error, }: DataViewTableProps<T>): react_jsx_runtime.JSX.Element;
|
|
1350
1350
|
|
|
1351
|
+
interface DocumentationPanelProps {
|
|
1352
|
+
value: string;
|
|
1353
|
+
toc?: boolean;
|
|
1354
|
+
}
|
|
1355
|
+
declare function DocumentationPanel({ value, toc }: DocumentationPanelProps): react_jsx_runtime.JSX.Element;
|
|
1356
|
+
|
|
1351
1357
|
interface WorldMapCountryTableProps {
|
|
1352
1358
|
title?: string;
|
|
1353
1359
|
data: WorldMapPoint[];
|
|
@@ -1512,12 +1518,6 @@ interface SidemenuLayoutProps {
|
|
|
1512
1518
|
}
|
|
1513
1519
|
declare function SidemenuLayout({ data, children }: SidemenuLayoutProps): react_jsx_runtime.JSX.Element;
|
|
1514
1520
|
|
|
1515
|
-
interface DocumentationLayoutProps {
|
|
1516
|
-
value: string;
|
|
1517
|
-
toc?: boolean;
|
|
1518
|
-
}
|
|
1519
|
-
declare function DocumentationLayout({ value, toc }: DocumentationLayoutProps): react_jsx_runtime.JSX.Element;
|
|
1520
|
-
|
|
1521
1521
|
interface EUIDevLayoutProps {
|
|
1522
1522
|
children?: ReactNode;
|
|
1523
1523
|
header?: ReactNode;
|
|
@@ -1534,4 +1534,4 @@ declare function isRenderFn(children: ReactNode | ((activeTab: string) => ReactN
|
|
|
1534
1534
|
declare const normalize: (path?: string) => string;
|
|
1535
1535
|
declare const isMatch: (itemPath?: string, currentPath?: string) => boolean;
|
|
1536
1536
|
|
|
1537
|
-
export { Accordion, type AnimationComponentProps, type AnimationVariant, type Appearance, AsyncComponentWrapper, Avatar, Backdrop, Badge, BarChart, type BaseAnimationConfig, type BaseComponentProps, type BaseMenuNode, type BaseOverlayConfig, type BaseTopNavNode, type BlobAnimationConfig, Block, BlockGroup, BoxNav, BoxNavItem, Brand, Breadcrumb, BreadcrumbItem, Button, Card, CardContent, CardFooter, CardHeader, type CardinalPosition, Chapter, Checkbox, Chip, CloudinaryImage, CloudinaryProvider, CloudinaryVideo, Content, ContentArea, type CornerPosition, DataView, DataViewTable, DateSelector, DefaultLayout, type DefaultMenuElements,
|
|
1537
|
+
export { Accordion, type AnimationComponentProps, type AnimationVariant, type Appearance, AsyncComponentWrapper, Avatar, Backdrop, Badge, BarChart, type BaseAnimationConfig, type BaseComponentProps, type BaseMenuNode, type BaseOverlayConfig, type BaseTopNavNode, type BlobAnimationConfig, Block, BlockGroup, BoxNav, BoxNavItem, Brand, Breadcrumb, BreadcrumbItem, Button, Card, CardContent, CardFooter, CardHeader, type CardinalPosition, Chapter, Checkbox, Chip, CloudinaryImage, CloudinaryProvider, CloudinaryVideo, Content, ContentArea, type CornerPosition, DataView, DataViewTable, DateSelector, DefaultLayout, type DefaultMenuElements, DocumentationPanel, Drawer, DrawerToggler, type EUIComponentDefaults, type EUIConfigs, EUIDevLayout, EUIProvider, type EUIRoute, Flag, Flex, FlexCol, FlexRow, Footer, FooterNav, FooterNavGroup, FooterNavItem, FooterNavItemContext, FooterNavItemTitle, Form, FormResponse, GenericLayout, GlowWrapper, type GradientAnimationConfig, Graph, type GraphData, GraphEdge, type GraphEdgeType, type GraphLayoutType, GraphNode, type GraphNodeType, type GraphProps, GraphRenderer, Grid, Header, HeaderNav, HeaderNavGroup, HeaderNavItem, HeaderNavItemContext, HeaderNavItemTitle, HomeLayout, type HyperRefTarget, Image, ImageInput, Info, Input, InputFile, InputLabel, InputList, InputListGroup, InputResponse, Layout, type LayoutContext, type LayoutExecutor, LineChart, Link, List, type ListAlign, type ListBulletType, type ListDirection, ListItem, type ListItemData, MarkdownEditor, MarkdownProvider, MarkdownTOC, MarkdownViewer, Menu, type MenuElementType, MenuGroup, type MenuGroupNode, MenuItem, type MenuItemNode, MenuItemTitle, type MenuNode, type MenuProps, type MenuTitleNode, type MeshAnimationConfig, Modal, MotionSurface, MultiImageInput, type NavItem, type OctilePosition, type OverlayVariant, Paragraph, PieChart, PriceTag, ProgressBar, type ProgressBarProps, Quote, Radio, RouteTab, type RouteTabMode, RouteTabs, Section, Select, type Shape$1 as Shape, ShapeSwitch, ShowMore, Sidebar, SidebarLayout, SidemenuLayout, type Size$1 as Size, Skeleton, Slider, StarRating, StarRatingDistribution, StarRatingInput, Switch, TNDropdown, TNDropdownItem, TNDropdownTitle, TNGroup, Table, Tag, Tags, TextArea, type TextDecoration, ThemeContext, ThemeProvider, ThemeSwitch, TitleBanner, type TitleBannerLevel, Toast, Tooltip, TopNav, type TopNavComponents, type TopNavGroupNode, type TopNavItemNode, type TopNavNode, type TopNavProps, type TopNavTitleNode, Transition, TransitionDropdown, TransitionFadeIn, Typography, UnderConstructionBanner, ValueBadge, type Variant$1 as Variant, WorldMap, WorldMapCountryTable, YoutubeVideoPlayer, cn, createForceLayout, createGridLayout, createTreeLayout, getCurrencySymbol, getLayout, isMatch, isRenderFn, normalize, registerLayout, resolveWithGlobal, sendToast, useClickOutside, useCloudinaryConfig, useCurrentTheme, useDrawer, useEUIConfig, useIsMobile, useModal, useTheme };
|
package/dist/index.js
CHANGED
|
@@ -15613,9 +15613,9 @@ function MarkdownTOC({ title = "Table of Contents" }) {
|
|
|
15613
15613
|
{
|
|
15614
15614
|
onClick: () => scrollToHeading(heading.id),
|
|
15615
15615
|
className: classNames28__default.default(
|
|
15616
|
-
"block w-full text-left text-sm transition-
|
|
15616
|
+
"block w-full text-left text-sm transition-all ease-in-out duration-150",
|
|
15617
15617
|
"hover:text-primary",
|
|
15618
|
-
activeHeading === heading.id ? "text-primary font-semibold" : "text-gray-500 dark:text-gray-400"
|
|
15618
|
+
activeHeading === heading.id ? "text-primary font-semibold underline" : "text-gray-500 dark:text-gray-400"
|
|
15619
15619
|
),
|
|
15620
15620
|
style: {
|
|
15621
15621
|
paddingLeft: `${(heading.level - 1) * 12}px`
|
|
@@ -17007,6 +17007,13 @@ function DataViewTable({
|
|
|
17007
17007
|
);
|
|
17008
17008
|
}
|
|
17009
17009
|
var DataViewTable_default = DataViewTable;
|
|
17010
|
+
function DocumentationPanel({ value, toc = true }) {
|
|
17011
|
+
return /* @__PURE__ */ jsxRuntime.jsx(MarkdownProvider_default, { markdown: value, children: /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "h-screen overflow-hidden grid grid-cols-[minmax(0,1fr)_280px] gap-10", children: [
|
|
17012
|
+
/* @__PURE__ */ jsxRuntime.jsx("div", { className: "documentation_scrollbar min-w-0 h-screen overflow-y-auto scroll-smooth", children: /* @__PURE__ */ jsxRuntime.jsx("div", { className: "max-w-4xl mx-auto px-6", children: /* @__PURE__ */ jsxRuntime.jsx(MarkdownViewer_default, {}) }) }),
|
|
17013
|
+
toc && /* @__PURE__ */ jsxRuntime.jsx("div", { className: "hidden lg:block h-screen border-l border-gray-200 dark:border-gray-800", children: /* @__PURE__ */ jsxRuntime.jsx("div", { className: "documentation_scrollbar h-full overflow-y-auto px-6 pt-0 pb-10", children: /* @__PURE__ */ jsxRuntime.jsx(MarkdownTOC_default, {}) }) })
|
|
17014
|
+
] }) });
|
|
17015
|
+
}
|
|
17016
|
+
var DocumentationPanel_default = DocumentationPanel;
|
|
17010
17017
|
function WorldMapCountryTable({
|
|
17011
17018
|
title = "Country Breakdown",
|
|
17012
17019
|
data
|
|
@@ -17555,13 +17562,6 @@ function SidemenuLayout({ data, children }) {
|
|
|
17555
17562
|
) });
|
|
17556
17563
|
}
|
|
17557
17564
|
var SidemenuLayout_default = SidemenuLayout;
|
|
17558
|
-
function DocumentationLayout({ value, toc = true }) {
|
|
17559
|
-
return /* @__PURE__ */ jsxRuntime.jsx(MarkdownProvider_default, { markdown: value, children: /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "h-screen overflow-hidden grid grid-cols-[minmax(0,1fr)_280px] gap-10", children: [
|
|
17560
|
-
/* @__PURE__ */ jsxRuntime.jsx("div", { className: "min-w-0 h-screen overflow-y-auto scroll-smooth", children: /* @__PURE__ */ jsxRuntime.jsx("div", { className: "max-w-4xl mx-auto px-6", children: /* @__PURE__ */ jsxRuntime.jsx(MarkdownViewer_default, {}) }) }),
|
|
17561
|
-
toc && /* @__PURE__ */ jsxRuntime.jsx("div", { className: "hidden lg:block h-screen border-l border-gray-200 dark:border-gray-800", children: /* @__PURE__ */ jsxRuntime.jsx("div", { className: "h-full overflow-y-auto px-6 pt-0 pb-10", children: /* @__PURE__ */ jsxRuntime.jsx(MarkdownTOC_default, {}) }) })
|
|
17562
|
-
] }) });
|
|
17563
|
-
}
|
|
17564
|
-
var DocumentationLayout_default = DocumentationLayout;
|
|
17565
17565
|
function EUIDevLayout({
|
|
17566
17566
|
children,
|
|
17567
17567
|
header = /* @__PURE__ */ jsxRuntime.jsx(Header, {}),
|
|
@@ -17617,7 +17617,7 @@ exports.DataView = DataView;
|
|
|
17617
17617
|
exports.DataViewTable = DataViewTable_default;
|
|
17618
17618
|
exports.DateSelector = DateSelector_default;
|
|
17619
17619
|
exports.DefaultLayout = DefaultLayout_default;
|
|
17620
|
-
exports.
|
|
17620
|
+
exports.DocumentationPanel = DocumentationPanel_default;
|
|
17621
17621
|
exports.Drawer = Drawer;
|
|
17622
17622
|
exports.DrawerToggler = DrawerToggler_default;
|
|
17623
17623
|
exports.EUIDevLayout = EUIDevLayout_default;
|