elseware-ui 2.29.1 → 2.29.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.css +1362 -21
- package/dist/index.css.map +1 -1
- package/dist/index.d.mts +80 -75
- package/dist/index.d.ts +80 -75
- package/dist/index.js +239 -188
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +238 -188
- package/dist/index.mjs.map +1 -1
- package/package.json +2 -12
package/dist/index.d.mts
CHANGED
|
@@ -20,6 +20,12 @@ interface BaseComponentProps<T extends HTMLElement = HTMLDivElement> extends Omi
|
|
|
20
20
|
className?: string;
|
|
21
21
|
}
|
|
22
22
|
|
|
23
|
+
declare const CURRENCIES: {
|
|
24
|
+
name: string;
|
|
25
|
+
symbol: string;
|
|
26
|
+
code: string;
|
|
27
|
+
}[];
|
|
28
|
+
|
|
23
29
|
type Variant$1 = "default" | "primary" | "secondary" | "success" | "danger" | "warning" | "info" | "light" | "dark";
|
|
24
30
|
type Shape$1 = "circle" | "roundedSquare" | "softRoundedSquare" | "square";
|
|
25
31
|
type Size$1 = "xs" | "sm" | "md" | "lg" | "xl";
|
|
@@ -36,6 +42,7 @@ type ListBulletType = "dot" | "diamond" | "number" | "none";
|
|
|
36
42
|
type ListAlign = "start" | "center";
|
|
37
43
|
type ListDirection = "vertical" | "horizontal";
|
|
38
44
|
type RouteTabMode = "route" | "state";
|
|
45
|
+
type CurrencyCode = (typeof CURRENCIES)[number]["code"];
|
|
39
46
|
|
|
40
47
|
interface AvatarProps extends BaseComponentProps {
|
|
41
48
|
alt?: string;
|
|
@@ -315,7 +322,7 @@ interface InfoProps extends BaseComponentProps {
|
|
|
315
322
|
shape?: Shape$1;
|
|
316
323
|
children?: ReactNode;
|
|
317
324
|
}
|
|
318
|
-
declare function Info({ children,
|
|
325
|
+
declare function Info({ children, variant, appearance, shape, className, ...rest }: InfoProps): react_jsx_runtime.JSX.Element;
|
|
319
326
|
|
|
320
327
|
interface ListItemData {
|
|
321
328
|
content: React$1.ReactNode;
|
|
@@ -347,81 +354,30 @@ interface ListItemProps {
|
|
|
347
354
|
}
|
|
348
355
|
declare const ListItem: ({ content, TypographyComponent, bulletType, renderBullet, index, align, className, }: ListItemProps) => react_jsx_runtime.JSX.Element;
|
|
349
356
|
|
|
350
|
-
interface PriceTagProps {
|
|
357
|
+
interface PriceTagProps extends BaseComponentProps {
|
|
351
358
|
discount?: number;
|
|
352
359
|
price: number;
|
|
353
|
-
code?:
|
|
354
|
-
styles?: string;
|
|
355
|
-
}
|
|
356
|
-
declare function PriceTag({ discount, price, code, styles }: PriceTagProps): react_jsx_runtime.JSX.Element | undefined;
|
|
357
|
-
|
|
358
|
-
declare enum Variant {
|
|
359
|
-
default = "default",
|
|
360
|
-
primary = "primary",
|
|
361
|
-
secondary = "secondary",
|
|
362
|
-
success = "success",
|
|
363
|
-
danger = "danger",
|
|
364
|
-
warning = "warning",
|
|
365
|
-
info = "info",
|
|
366
|
-
light = "light",
|
|
367
|
-
dark = "dark"
|
|
368
|
-
}
|
|
369
|
-
declare enum TextVariant {
|
|
370
|
-
default = "default",
|
|
371
|
-
primary = "primary",
|
|
372
|
-
secondary = "secondary",
|
|
373
|
-
success = "success",
|
|
374
|
-
danger = "danger",
|
|
375
|
-
warning = "warning",
|
|
376
|
-
info = "info",
|
|
377
|
-
light = "light",
|
|
378
|
-
dark = "dark"
|
|
379
|
-
}
|
|
380
|
-
declare enum Shape {
|
|
381
|
-
circle = "circle",
|
|
382
|
-
roundedSquare = "roundedSquare",
|
|
383
|
-
softRoundedSquare = "softRoundedSquare",
|
|
384
|
-
square = "square"
|
|
385
|
-
}
|
|
386
|
-
declare enum Size {
|
|
387
|
-
xs = "xs",
|
|
388
|
-
sm = "sm",
|
|
389
|
-
md = "md",
|
|
390
|
-
lg = "lg",
|
|
391
|
-
xl = "xl"
|
|
392
|
-
}
|
|
393
|
-
declare enum Decoration {
|
|
394
|
-
underline = "underline",
|
|
395
|
-
overline = "overline",
|
|
396
|
-
lineThrough = "lineThrough",
|
|
397
|
-
noUnderline = "noUnderline"
|
|
398
|
-
}
|
|
399
|
-
declare enum Target {
|
|
400
|
-
blank = "blank",
|
|
401
|
-
self = "self",
|
|
402
|
-
parent = "parent",
|
|
403
|
-
top = "top"
|
|
360
|
+
code?: CurrencyCode;
|
|
404
361
|
}
|
|
362
|
+
declare function PriceTag({ discount, price, code, className, ...rest }: PriceTagProps): react_jsx_runtime.JSX.Element | undefined;
|
|
405
363
|
|
|
406
|
-
interface ProgressBarProps {
|
|
364
|
+
interface ProgressBarProps extends BaseComponentProps {
|
|
407
365
|
value: number;
|
|
408
|
-
variant?:
|
|
409
|
-
size?:
|
|
366
|
+
variant?: Variant$1;
|
|
367
|
+
size?: Size$1;
|
|
410
368
|
showLabel?: boolean;
|
|
411
369
|
label?: string;
|
|
412
370
|
labelPlacement?: "top" | "overlay";
|
|
413
|
-
styles?: string;
|
|
414
371
|
}
|
|
415
|
-
declare const ProgressBar: ({ value, variant, size, showLabel, label, labelPlacement,
|
|
372
|
+
declare const ProgressBar: ({ value, variant, size, showLabel, label, labelPlacement, className, ...rest }: ProgressBarProps) => react_jsx_runtime.JSX.Element;
|
|
416
373
|
|
|
417
|
-
interface StarRatingProps {
|
|
374
|
+
interface StarRatingProps extends BaseComponentProps {
|
|
418
375
|
rating: number;
|
|
419
376
|
isNumericRatingEnabled?: boolean;
|
|
420
377
|
reviewAmount?: number;
|
|
421
378
|
isReviewAmountEnabled?: boolean;
|
|
422
|
-
styles?: string;
|
|
423
379
|
}
|
|
424
|
-
declare function StarRating({ rating, reviewAmount, isNumericRatingEnabled, isReviewAmountEnabled,
|
|
380
|
+
declare function StarRating({ rating, reviewAmount, isNumericRatingEnabled, isReviewAmountEnabled, className, ...rest }: StarRatingProps): react_jsx_runtime.JSX.Element;
|
|
425
381
|
|
|
426
382
|
declare function StarRatingDistribution({ numericRating, progressBarsRating, ratingDistribution, }: {
|
|
427
383
|
numericRating?: boolean | undefined;
|
|
@@ -432,14 +388,6 @@ declare function StarRatingDistribution({ numericRating, progressBarsRating, rat
|
|
|
432
388
|
}[] | undefined;
|
|
433
389
|
}): react_jsx_runtime.JSX.Element;
|
|
434
390
|
|
|
435
|
-
interface SliderProps {
|
|
436
|
-
isLoading?: boolean;
|
|
437
|
-
isSuccess?: boolean;
|
|
438
|
-
coverArt: string;
|
|
439
|
-
screenshots: string[];
|
|
440
|
-
}
|
|
441
|
-
declare function Slider({ isLoading, isSuccess, coverArt, screenshots }: SliderProps): react_jsx_runtime.JSX.Element;
|
|
442
|
-
|
|
443
391
|
interface TableColumnConfig<T> {
|
|
444
392
|
key: keyof T | string;
|
|
445
393
|
header: string;
|
|
@@ -478,6 +426,54 @@ interface QuoteProps {
|
|
|
478
426
|
}
|
|
479
427
|
declare const Quote: ({ children, styles }: QuoteProps) => react_jsx_runtime.JSX.Element;
|
|
480
428
|
|
|
429
|
+
declare enum Variant {
|
|
430
|
+
default = "default",
|
|
431
|
+
primary = "primary",
|
|
432
|
+
secondary = "secondary",
|
|
433
|
+
success = "success",
|
|
434
|
+
danger = "danger",
|
|
435
|
+
warning = "warning",
|
|
436
|
+
info = "info",
|
|
437
|
+
light = "light",
|
|
438
|
+
dark = "dark"
|
|
439
|
+
}
|
|
440
|
+
declare enum TextVariant {
|
|
441
|
+
default = "default",
|
|
442
|
+
primary = "primary",
|
|
443
|
+
secondary = "secondary",
|
|
444
|
+
success = "success",
|
|
445
|
+
danger = "danger",
|
|
446
|
+
warning = "warning",
|
|
447
|
+
info = "info",
|
|
448
|
+
light = "light",
|
|
449
|
+
dark = "dark"
|
|
450
|
+
}
|
|
451
|
+
declare enum Shape {
|
|
452
|
+
circle = "circle",
|
|
453
|
+
roundedSquare = "roundedSquare",
|
|
454
|
+
softRoundedSquare = "softRoundedSquare",
|
|
455
|
+
square = "square"
|
|
456
|
+
}
|
|
457
|
+
declare enum Size {
|
|
458
|
+
xs = "xs",
|
|
459
|
+
sm = "sm",
|
|
460
|
+
md = "md",
|
|
461
|
+
lg = "lg",
|
|
462
|
+
xl = "xl"
|
|
463
|
+
}
|
|
464
|
+
declare enum Decoration {
|
|
465
|
+
underline = "underline",
|
|
466
|
+
overline = "overline",
|
|
467
|
+
lineThrough = "lineThrough",
|
|
468
|
+
noUnderline = "noUnderline"
|
|
469
|
+
}
|
|
470
|
+
declare enum Target {
|
|
471
|
+
blank = "blank",
|
|
472
|
+
self = "self",
|
|
473
|
+
parent = "parent",
|
|
474
|
+
top = "top"
|
|
475
|
+
}
|
|
476
|
+
|
|
481
477
|
interface ParagraphProps {
|
|
482
478
|
level: 1 | 2 | 3;
|
|
483
479
|
children?: string;
|
|
@@ -772,11 +768,10 @@ interface BackdropProps {
|
|
|
772
768
|
}
|
|
773
769
|
declare const Backdrop: ({ children, styles }: BackdropProps) => react_jsx_runtime.JSX.Element;
|
|
774
770
|
|
|
775
|
-
interface SkeletonProps {
|
|
771
|
+
interface SkeletonProps extends BaseComponentProps {
|
|
776
772
|
children?: React$1.ReactNode;
|
|
777
|
-
styles?: string;
|
|
778
773
|
}
|
|
779
|
-
declare const Skeleton: ({ children,
|
|
774
|
+
declare const Skeleton: ({ children, className, ...rest }: SkeletonProps) => react_jsx_runtime.JSX.Element;
|
|
780
775
|
|
|
781
776
|
declare function sendToast(data?: {
|
|
782
777
|
status: string;
|
|
@@ -1354,6 +1349,14 @@ interface DocumentationPanelProps {
|
|
|
1354
1349
|
}
|
|
1355
1350
|
declare function DocumentationPanel({ value, toc }: DocumentationPanelProps): react_jsx_runtime.JSX.Element;
|
|
1356
1351
|
|
|
1352
|
+
interface SliderProps {
|
|
1353
|
+
isLoading?: boolean;
|
|
1354
|
+
isSuccess?: boolean;
|
|
1355
|
+
coverArt: string;
|
|
1356
|
+
screenshots: string[];
|
|
1357
|
+
}
|
|
1358
|
+
declare function Slider({ isLoading, isSuccess, coverArt, screenshots }: SliderProps): react_jsx_runtime.JSX.Element;
|
|
1359
|
+
|
|
1357
1360
|
interface WorldMapCountryTableProps {
|
|
1358
1361
|
title?: string;
|
|
1359
1362
|
data: WorldMapPoint[];
|
|
@@ -1534,11 +1537,13 @@ declare function ScrollToTop({ trigger, behavior, target, }: ScrollToTopProps):
|
|
|
1534
1537
|
|
|
1535
1538
|
declare function cn(...inputs: ClassValue[]): string;
|
|
1536
1539
|
|
|
1537
|
-
declare const getCurrencySymbol: (code: string) => string | null;
|
|
1538
|
-
|
|
1539
1540
|
declare function isRenderFn(children: ReactNode | ((activeTab: string) => ReactNode)): children is (activeTab: string) => ReactNode;
|
|
1540
1541
|
|
|
1542
|
+
declare const getCurrencySymbol: (code: CurrencyCode) => string | null;
|
|
1543
|
+
|
|
1544
|
+
declare const enumValues: <T extends Record<string, string>>(enumObject: T) => string[];
|
|
1545
|
+
|
|
1541
1546
|
declare const normalize: (path?: string) => string;
|
|
1542
1547
|
declare const isMatch: (itemPath?: string, currentPath?: string) => boolean;
|
|
1543
1548
|
|
|
1544
|
-
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, ScrollToTop, 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 };
|
|
1549
|
+
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, type CurrencyCode, 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, ScrollToTop, 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, enumValues, getCurrencySymbol, getLayout, isMatch, isRenderFn, normalize, registerLayout, resolveWithGlobal, sendToast, useClickOutside, useCloudinaryConfig, useCurrentTheme, useDrawer, useEUIConfig, useIsMobile, useModal, useTheme };
|
package/dist/index.d.ts
CHANGED
|
@@ -20,6 +20,12 @@ interface BaseComponentProps<T extends HTMLElement = HTMLDivElement> extends Omi
|
|
|
20
20
|
className?: string;
|
|
21
21
|
}
|
|
22
22
|
|
|
23
|
+
declare const CURRENCIES: {
|
|
24
|
+
name: string;
|
|
25
|
+
symbol: string;
|
|
26
|
+
code: string;
|
|
27
|
+
}[];
|
|
28
|
+
|
|
23
29
|
type Variant$1 = "default" | "primary" | "secondary" | "success" | "danger" | "warning" | "info" | "light" | "dark";
|
|
24
30
|
type Shape$1 = "circle" | "roundedSquare" | "softRoundedSquare" | "square";
|
|
25
31
|
type Size$1 = "xs" | "sm" | "md" | "lg" | "xl";
|
|
@@ -36,6 +42,7 @@ type ListBulletType = "dot" | "diamond" | "number" | "none";
|
|
|
36
42
|
type ListAlign = "start" | "center";
|
|
37
43
|
type ListDirection = "vertical" | "horizontal";
|
|
38
44
|
type RouteTabMode = "route" | "state";
|
|
45
|
+
type CurrencyCode = (typeof CURRENCIES)[number]["code"];
|
|
39
46
|
|
|
40
47
|
interface AvatarProps extends BaseComponentProps {
|
|
41
48
|
alt?: string;
|
|
@@ -315,7 +322,7 @@ interface InfoProps extends BaseComponentProps {
|
|
|
315
322
|
shape?: Shape$1;
|
|
316
323
|
children?: ReactNode;
|
|
317
324
|
}
|
|
318
|
-
declare function Info({ children,
|
|
325
|
+
declare function Info({ children, variant, appearance, shape, className, ...rest }: InfoProps): react_jsx_runtime.JSX.Element;
|
|
319
326
|
|
|
320
327
|
interface ListItemData {
|
|
321
328
|
content: React$1.ReactNode;
|
|
@@ -347,81 +354,30 @@ interface ListItemProps {
|
|
|
347
354
|
}
|
|
348
355
|
declare const ListItem: ({ content, TypographyComponent, bulletType, renderBullet, index, align, className, }: ListItemProps) => react_jsx_runtime.JSX.Element;
|
|
349
356
|
|
|
350
|
-
interface PriceTagProps {
|
|
357
|
+
interface PriceTagProps extends BaseComponentProps {
|
|
351
358
|
discount?: number;
|
|
352
359
|
price: number;
|
|
353
|
-
code?:
|
|
354
|
-
styles?: string;
|
|
355
|
-
}
|
|
356
|
-
declare function PriceTag({ discount, price, code, styles }: PriceTagProps): react_jsx_runtime.JSX.Element | undefined;
|
|
357
|
-
|
|
358
|
-
declare enum Variant {
|
|
359
|
-
default = "default",
|
|
360
|
-
primary = "primary",
|
|
361
|
-
secondary = "secondary",
|
|
362
|
-
success = "success",
|
|
363
|
-
danger = "danger",
|
|
364
|
-
warning = "warning",
|
|
365
|
-
info = "info",
|
|
366
|
-
light = "light",
|
|
367
|
-
dark = "dark"
|
|
368
|
-
}
|
|
369
|
-
declare enum TextVariant {
|
|
370
|
-
default = "default",
|
|
371
|
-
primary = "primary",
|
|
372
|
-
secondary = "secondary",
|
|
373
|
-
success = "success",
|
|
374
|
-
danger = "danger",
|
|
375
|
-
warning = "warning",
|
|
376
|
-
info = "info",
|
|
377
|
-
light = "light",
|
|
378
|
-
dark = "dark"
|
|
379
|
-
}
|
|
380
|
-
declare enum Shape {
|
|
381
|
-
circle = "circle",
|
|
382
|
-
roundedSquare = "roundedSquare",
|
|
383
|
-
softRoundedSquare = "softRoundedSquare",
|
|
384
|
-
square = "square"
|
|
385
|
-
}
|
|
386
|
-
declare enum Size {
|
|
387
|
-
xs = "xs",
|
|
388
|
-
sm = "sm",
|
|
389
|
-
md = "md",
|
|
390
|
-
lg = "lg",
|
|
391
|
-
xl = "xl"
|
|
392
|
-
}
|
|
393
|
-
declare enum Decoration {
|
|
394
|
-
underline = "underline",
|
|
395
|
-
overline = "overline",
|
|
396
|
-
lineThrough = "lineThrough",
|
|
397
|
-
noUnderline = "noUnderline"
|
|
398
|
-
}
|
|
399
|
-
declare enum Target {
|
|
400
|
-
blank = "blank",
|
|
401
|
-
self = "self",
|
|
402
|
-
parent = "parent",
|
|
403
|
-
top = "top"
|
|
360
|
+
code?: CurrencyCode;
|
|
404
361
|
}
|
|
362
|
+
declare function PriceTag({ discount, price, code, className, ...rest }: PriceTagProps): react_jsx_runtime.JSX.Element | undefined;
|
|
405
363
|
|
|
406
|
-
interface ProgressBarProps {
|
|
364
|
+
interface ProgressBarProps extends BaseComponentProps {
|
|
407
365
|
value: number;
|
|
408
|
-
variant?:
|
|
409
|
-
size?:
|
|
366
|
+
variant?: Variant$1;
|
|
367
|
+
size?: Size$1;
|
|
410
368
|
showLabel?: boolean;
|
|
411
369
|
label?: string;
|
|
412
370
|
labelPlacement?: "top" | "overlay";
|
|
413
|
-
styles?: string;
|
|
414
371
|
}
|
|
415
|
-
declare const ProgressBar: ({ value, variant, size, showLabel, label, labelPlacement,
|
|
372
|
+
declare const ProgressBar: ({ value, variant, size, showLabel, label, labelPlacement, className, ...rest }: ProgressBarProps) => react_jsx_runtime.JSX.Element;
|
|
416
373
|
|
|
417
|
-
interface StarRatingProps {
|
|
374
|
+
interface StarRatingProps extends BaseComponentProps {
|
|
418
375
|
rating: number;
|
|
419
376
|
isNumericRatingEnabled?: boolean;
|
|
420
377
|
reviewAmount?: number;
|
|
421
378
|
isReviewAmountEnabled?: boolean;
|
|
422
|
-
styles?: string;
|
|
423
379
|
}
|
|
424
|
-
declare function StarRating({ rating, reviewAmount, isNumericRatingEnabled, isReviewAmountEnabled,
|
|
380
|
+
declare function StarRating({ rating, reviewAmount, isNumericRatingEnabled, isReviewAmountEnabled, className, ...rest }: StarRatingProps): react_jsx_runtime.JSX.Element;
|
|
425
381
|
|
|
426
382
|
declare function StarRatingDistribution({ numericRating, progressBarsRating, ratingDistribution, }: {
|
|
427
383
|
numericRating?: boolean | undefined;
|
|
@@ -432,14 +388,6 @@ declare function StarRatingDistribution({ numericRating, progressBarsRating, rat
|
|
|
432
388
|
}[] | undefined;
|
|
433
389
|
}): react_jsx_runtime.JSX.Element;
|
|
434
390
|
|
|
435
|
-
interface SliderProps {
|
|
436
|
-
isLoading?: boolean;
|
|
437
|
-
isSuccess?: boolean;
|
|
438
|
-
coverArt: string;
|
|
439
|
-
screenshots: string[];
|
|
440
|
-
}
|
|
441
|
-
declare function Slider({ isLoading, isSuccess, coverArt, screenshots }: SliderProps): react_jsx_runtime.JSX.Element;
|
|
442
|
-
|
|
443
391
|
interface TableColumnConfig<T> {
|
|
444
392
|
key: keyof T | string;
|
|
445
393
|
header: string;
|
|
@@ -478,6 +426,54 @@ interface QuoteProps {
|
|
|
478
426
|
}
|
|
479
427
|
declare const Quote: ({ children, styles }: QuoteProps) => react_jsx_runtime.JSX.Element;
|
|
480
428
|
|
|
429
|
+
declare enum Variant {
|
|
430
|
+
default = "default",
|
|
431
|
+
primary = "primary",
|
|
432
|
+
secondary = "secondary",
|
|
433
|
+
success = "success",
|
|
434
|
+
danger = "danger",
|
|
435
|
+
warning = "warning",
|
|
436
|
+
info = "info",
|
|
437
|
+
light = "light",
|
|
438
|
+
dark = "dark"
|
|
439
|
+
}
|
|
440
|
+
declare enum TextVariant {
|
|
441
|
+
default = "default",
|
|
442
|
+
primary = "primary",
|
|
443
|
+
secondary = "secondary",
|
|
444
|
+
success = "success",
|
|
445
|
+
danger = "danger",
|
|
446
|
+
warning = "warning",
|
|
447
|
+
info = "info",
|
|
448
|
+
light = "light",
|
|
449
|
+
dark = "dark"
|
|
450
|
+
}
|
|
451
|
+
declare enum Shape {
|
|
452
|
+
circle = "circle",
|
|
453
|
+
roundedSquare = "roundedSquare",
|
|
454
|
+
softRoundedSquare = "softRoundedSquare",
|
|
455
|
+
square = "square"
|
|
456
|
+
}
|
|
457
|
+
declare enum Size {
|
|
458
|
+
xs = "xs",
|
|
459
|
+
sm = "sm",
|
|
460
|
+
md = "md",
|
|
461
|
+
lg = "lg",
|
|
462
|
+
xl = "xl"
|
|
463
|
+
}
|
|
464
|
+
declare enum Decoration {
|
|
465
|
+
underline = "underline",
|
|
466
|
+
overline = "overline",
|
|
467
|
+
lineThrough = "lineThrough",
|
|
468
|
+
noUnderline = "noUnderline"
|
|
469
|
+
}
|
|
470
|
+
declare enum Target {
|
|
471
|
+
blank = "blank",
|
|
472
|
+
self = "self",
|
|
473
|
+
parent = "parent",
|
|
474
|
+
top = "top"
|
|
475
|
+
}
|
|
476
|
+
|
|
481
477
|
interface ParagraphProps {
|
|
482
478
|
level: 1 | 2 | 3;
|
|
483
479
|
children?: string;
|
|
@@ -772,11 +768,10 @@ interface BackdropProps {
|
|
|
772
768
|
}
|
|
773
769
|
declare const Backdrop: ({ children, styles }: BackdropProps) => react_jsx_runtime.JSX.Element;
|
|
774
770
|
|
|
775
|
-
interface SkeletonProps {
|
|
771
|
+
interface SkeletonProps extends BaseComponentProps {
|
|
776
772
|
children?: React$1.ReactNode;
|
|
777
|
-
styles?: string;
|
|
778
773
|
}
|
|
779
|
-
declare const Skeleton: ({ children,
|
|
774
|
+
declare const Skeleton: ({ children, className, ...rest }: SkeletonProps) => react_jsx_runtime.JSX.Element;
|
|
780
775
|
|
|
781
776
|
declare function sendToast(data?: {
|
|
782
777
|
status: string;
|
|
@@ -1354,6 +1349,14 @@ interface DocumentationPanelProps {
|
|
|
1354
1349
|
}
|
|
1355
1350
|
declare function DocumentationPanel({ value, toc }: DocumentationPanelProps): react_jsx_runtime.JSX.Element;
|
|
1356
1351
|
|
|
1352
|
+
interface SliderProps {
|
|
1353
|
+
isLoading?: boolean;
|
|
1354
|
+
isSuccess?: boolean;
|
|
1355
|
+
coverArt: string;
|
|
1356
|
+
screenshots: string[];
|
|
1357
|
+
}
|
|
1358
|
+
declare function Slider({ isLoading, isSuccess, coverArt, screenshots }: SliderProps): react_jsx_runtime.JSX.Element;
|
|
1359
|
+
|
|
1357
1360
|
interface WorldMapCountryTableProps {
|
|
1358
1361
|
title?: string;
|
|
1359
1362
|
data: WorldMapPoint[];
|
|
@@ -1534,11 +1537,13 @@ declare function ScrollToTop({ trigger, behavior, target, }: ScrollToTopProps):
|
|
|
1534
1537
|
|
|
1535
1538
|
declare function cn(...inputs: ClassValue[]): string;
|
|
1536
1539
|
|
|
1537
|
-
declare const getCurrencySymbol: (code: string) => string | null;
|
|
1538
|
-
|
|
1539
1540
|
declare function isRenderFn(children: ReactNode | ((activeTab: string) => ReactNode)): children is (activeTab: string) => ReactNode;
|
|
1540
1541
|
|
|
1542
|
+
declare const getCurrencySymbol: (code: CurrencyCode) => string | null;
|
|
1543
|
+
|
|
1544
|
+
declare const enumValues: <T extends Record<string, string>>(enumObject: T) => string[];
|
|
1545
|
+
|
|
1541
1546
|
declare const normalize: (path?: string) => string;
|
|
1542
1547
|
declare const isMatch: (itemPath?: string, currentPath?: string) => boolean;
|
|
1543
1548
|
|
|
1544
|
-
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, ScrollToTop, 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 };
|
|
1549
|
+
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, type CurrencyCode, 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, ScrollToTop, 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, enumValues, getCurrencySymbol, getLayout, isMatch, isRenderFn, normalize, registerLayout, resolveWithGlobal, sendToast, useClickOutside, useCloudinaryConfig, useCurrentTheme, useDrawer, useEUIConfig, useIsMobile, useModal, useTheme };
|