elseware-ui 2.29.2 → 2.30.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.d.mts CHANGED
@@ -292,21 +292,15 @@ type LayoutExecutor = (ctx: LayoutContext) => {
292
292
  declare const registerLayout: (type: GraphLayoutType, executor: LayoutExecutor) => void;
293
293
  declare const getLayout: (type: GraphLayoutType) => LayoutExecutor;
294
294
 
295
- interface CloudinaryImageProps extends BaseComponentProps {
295
+ interface CloudinaryImageProps extends BaseComponentProps<HTMLImageElement> {
296
296
  publicId?: string;
297
297
  cloudName?: string;
298
298
  secure?: boolean;
299
299
  alt?: string;
300
+ fallbackSrc?: string;
301
+ loading?: "lazy" | "eager";
300
302
  }
301
- declare function CloudinaryImage({ publicId, cloudName, secure, alt, className, ...rest }: CloudinaryImageProps): react_jsx_runtime.JSX.Element;
302
-
303
- interface CloudinaryConfig {
304
- cloudName: string;
305
- }
306
- declare const CloudinaryProvider: ({ cloudName, children, }: CloudinaryConfig & {
307
- children: React.ReactNode;
308
- }) => react_jsx_runtime.JSX.Element;
309
- declare const useCloudinaryConfig: () => CloudinaryConfig;
303
+ declare function CloudinaryImage({ publicId, cloudName, secure, alt, fallbackSrc, loading, className, ...rest }: CloudinaryImageProps): react_jsx_runtime.JSX.Element;
310
304
 
311
305
  interface ImageProps extends BaseComponentProps {
312
306
  alt?: string;
@@ -402,29 +396,123 @@ interface TableProps<T> {
402
396
  }
403
397
  declare function Table<T extends Record<string, any>>({ title, columns, data, shape, }: TableProps<T>): react_jsx_runtime.JSX.Element;
404
398
 
405
- interface TagProps {
399
+ interface TagProps extends BaseComponentProps {
406
400
  text: string;
407
- styles?: string;
408
401
  }
409
- declare function Tag({ text, styles }: TagProps): react_jsx_runtime.JSX.Element;
402
+ declare function Tag({ text, className, ...rest }: TagProps): react_jsx_runtime.JSX.Element;
410
403
 
411
- interface TooltipProps {
412
- content: ReactNode;
404
+ interface TooltipProps extends BaseComponentProps {
405
+ children: ReactNode;
413
406
  show: boolean;
414
407
  offsetX?: number;
415
408
  offsetY?: number;
409
+ }
410
+ declare function Tooltip({ children, show, offsetX, offsetY, className, ...rest }: TooltipProps): react_jsx_runtime.JSX.Element | null;
411
+
412
+ interface TypographyProps extends BaseComponentProps {
413
+ children?: ReactNode;
414
+ level?: 1 | 2 | 3;
415
+ variant?: Variant$1;
416
+ decoration?: TextDecoration;
417
+ bold?: boolean;
418
+ italic?: boolean;
419
+ }
420
+
421
+ interface DisplayProps extends TypographyProps {
422
+ level?: 1 | 2 | 3;
423
+ }
424
+ declare const Display: ({ level, children, variant, decoration, bold, italic, className, ...rest }: DisplayProps) => react_jsx_runtime.JSX.Element;
425
+
426
+ declare const Chapter: ({ level, children, variant, decoration, bold, italic, className, ...rest }: TypographyProps) => react_jsx_runtime.JSX.Element;
427
+
428
+ declare const Section: ({ level, children, variant, decoration, bold, italic, className, ...rest }: TypographyProps) => react_jsx_runtime.JSX.Element;
429
+
430
+ declare const Paragraph: ({ level, children, variant, decoration, bold, italic, className, ...rest }: TypographyProps) => react_jsx_runtime.JSX.Element;
431
+
432
+ declare const Quote: ({ level, children, variant, decoration, bold, italic, className, ...rest }: TypographyProps) => react_jsx_runtime.JSX.Element;
433
+
434
+ declare const Caption: ({ children, variant, decoration, bold, italic, className, ...rest }: TypographyProps) => react_jsx_runtime.JSX.Element;
435
+
436
+ declare const Label: ({ children, variant, decoration, bold, italic, className, ...rest }: TypographyProps) => react_jsx_runtime.JSX.Element;
437
+
438
+ declare const Code: ({ children, className, ...rest }: TypographyProps) => react_jsx_runtime.JSX.Element;
439
+
440
+ declare const Lead: ({ children, variant, decoration, bold, italic, className, ...rest }: TypographyProps) => react_jsx_runtime.JSX.Element;
441
+
442
+ declare const Overline: ({ children, variant, decoration, bold, italic, className, ...rest }: TypographyProps) => react_jsx_runtime.JSX.Element;
443
+
444
+ declare const Typography: {
445
+ Display: ({ level, children, variant, decoration, bold, italic, className, ...rest }: DisplayProps) => react_jsx_runtime.JSX.Element;
446
+ Chapter: ({ level, children, variant, decoration, bold, italic, className, ...rest }: TypographyProps) => react_jsx_runtime.JSX.Element;
447
+ Section: ({ level, children, variant, decoration, bold, italic, className, ...rest }: TypographyProps) => react_jsx_runtime.JSX.Element;
448
+ Paragraph: ({ level, children, variant, decoration, bold, italic, className, ...rest }: TypographyProps) => react_jsx_runtime.JSX.Element;
449
+ Quote: ({ level, children, variant, decoration, bold, italic, className, ...rest }: TypographyProps) => react_jsx_runtime.JSX.Element;
450
+ Lead: ({ children, variant, decoration, bold, italic, className, ...rest }: TypographyProps) => react_jsx_runtime.JSX.Element;
451
+ Caption: ({ children, variant, decoration, bold, italic, className, ...rest }: TypographyProps) => react_jsx_runtime.JSX.Element;
452
+ Label: ({ children, variant, decoration, bold, italic, className, ...rest }: TypographyProps) => react_jsx_runtime.JSX.Element;
453
+ Code: ({ children, className, ...rest }: TypographyProps) => react_jsx_runtime.JSX.Element;
454
+ Overline: ({ children, variant, decoration, bold, italic, className, ...rest }: TypographyProps) => react_jsx_runtime.JSX.Element;
455
+ };
456
+
457
+ interface Tier {
458
+ condition: (percent: number) => boolean;
459
+ style: {
460
+ bg: string;
461
+ color: string;
462
+ };
463
+ }
464
+ interface ValueBadgeProps {
465
+ value: number;
466
+ tiers?: Tier[];
467
+ lowerBound?: number;
468
+ upperBound?: number;
469
+ formatValue?: (value: number) => string | number;
416
470
  className?: string;
471
+ noBackground?: boolean;
417
472
  }
418
- /**
419
- * A generalized tooltip that automatically follows the mouse cursor.
420
- */
421
- declare function Tooltip({ content, show, offsetX, offsetY, className, }: TooltipProps): react_jsx_runtime.JSX.Element | null;
473
+ declare const ValueBadge: ({ value, tiers, lowerBound, upperBound, formatValue, className, noBackground, }: ValueBadgeProps) => react_jsx_runtime.JSX.Element;
422
474
 
423
- interface QuoteProps {
424
- children?: string;
425
- styles?: string;
475
+ interface CloudinaryVideoProps extends BaseComponentProps<HTMLVideoElement> {
476
+ publicId?: string;
477
+ cloudName?: string;
478
+ secure?: boolean;
479
+ controls?: boolean;
480
+ autoPlay?: boolean;
481
+ muted?: boolean;
482
+ loop?: boolean;
483
+ playsInline?: boolean;
484
+ poster?: string;
485
+ preload?: "none" | "metadata" | "auto";
486
+ }
487
+ declare function CloudinaryVideo({ publicId, cloudName, secure, controls, autoPlay, muted, loop, playsInline, poster, preload, className, ...rest }: CloudinaryVideoProps): react_jsx_runtime.JSX.Element;
488
+
489
+ interface YoutubeVideoProps extends BaseComponentProps<HTMLIFrameElement> {
490
+ videoUrl: string;
491
+ width?: number;
492
+ height?: number;
493
+ autoPlay?: boolean;
494
+ muted?: boolean;
495
+ controls?: boolean;
496
+ loop?: boolean;
497
+ privacyMode?: boolean;
426
498
  }
427
- declare const Quote: ({ children, styles }: QuoteProps) => react_jsx_runtime.JSX.Element;
499
+ declare function YoutubeVideo({ videoUrl, width, height, autoPlay, muted, controls, className, ...rest }: YoutubeVideoProps): react_jsx_runtime.JSX.Element;
500
+
501
+ interface WorldMapPoint {
502
+ code: string;
503
+ value: number;
504
+ }
505
+ interface WorldMapProps extends BaseComponentProps {
506
+ data: WorldMapPoint[];
507
+ title?: string;
508
+ bubbleColor?: string;
509
+ bubbleStroke?: string;
510
+ bubbleScale?: number;
511
+ minBubble?: number;
512
+ disableCountryHover?: boolean;
513
+ disableCountrySelect?: boolean;
514
+ }
515
+ declare function WorldMap({ data, title, bubbleColor, bubbleStroke, bubbleScale, minBubble, disableCountryHover, disableCountrySelect, className, ...rest }: WorldMapProps): react_jsx_runtime.JSX.Element;
428
516
 
429
517
  declare enum Variant {
430
518
  default = "default",
@@ -474,93 +562,6 @@ declare enum Target {
474
562
  top = "top"
475
563
  }
476
564
 
477
- interface ParagraphProps {
478
- level: 1 | 2 | 3;
479
- children?: string;
480
- variant?: keyof typeof TextVariant;
481
- styles?: string;
482
- decoration?: keyof typeof Decoration;
483
- bold?: boolean;
484
- italic?: boolean;
485
- onClick?: () => void;
486
- }
487
- declare const Paragraph: ({ level, children, variant, decoration, bold, italic, styles, onClick, }: ParagraphProps) => react_jsx_runtime.JSX.Element;
488
-
489
- interface SectionProps {
490
- level: 1 | 2 | 3;
491
- children?: string;
492
- variant?: keyof typeof TextVariant;
493
- styles?: string;
494
- decoration?: keyof typeof Decoration;
495
- bold?: boolean;
496
- italic?: boolean;
497
- onClick?: () => void;
498
- }
499
- declare const Section: ({ level, children, variant, decoration, bold, italic, styles, onClick, }: SectionProps) => react_jsx_runtime.JSX.Element;
500
-
501
- interface ChapterProps {
502
- level: 1 | 2 | 3;
503
- children?: string;
504
- variant?: keyof typeof TextVariant;
505
- styles?: string;
506
- decoration?: keyof typeof Decoration;
507
- bold?: boolean;
508
- italic?: boolean;
509
- onClick?: () => void;
510
- }
511
- declare const Chapter: ({ level, children, variant, decoration, bold, italic, styles, onClick, }: ChapterProps) => react_jsx_runtime.JSX.Element;
512
-
513
- declare const Typography: {
514
- Chapter: ({ level, children, variant, decoration, bold, italic, styles, onClick, }: ChapterProps) => react_jsx_runtime.JSX.Element;
515
- Section: ({ level, children, variant, decoration, bold, italic, styles, onClick, }: SectionProps) => react_jsx_runtime.JSX.Element;
516
- Paragraph: ({ level, children, variant, decoration, bold, italic, styles, onClick, }: ParagraphProps) => react_jsx_runtime.JSX.Element;
517
- Quote: ({ children, styles }: QuoteProps) => react_jsx_runtime.JSX.Element;
518
- };
519
-
520
- interface Tier {
521
- condition: (percent: number) => boolean;
522
- style: {
523
- bg: string;
524
- color: string;
525
- };
526
- }
527
- interface ValueBadgeProps {
528
- value: number;
529
- tiers?: Tier[];
530
- lowerBound?: number;
531
- upperBound?: number;
532
- formatValue?: (value: number) => string | number;
533
- className?: string;
534
- noBackground?: boolean;
535
- }
536
- declare const ValueBadge: ({ value, tiers, lowerBound, upperBound, formatValue, className, noBackground, }: ValueBadgeProps) => react_jsx_runtime.JSX.Element;
537
-
538
- declare function CloudinaryVideo(): react_jsx_runtime.JSX.Element;
539
-
540
- interface YoutubeVideoPlayerProps {
541
- videoUrl: string;
542
- width?: number;
543
- height?: number;
544
- }
545
- declare function YoutubeVideoPlayer({ videoUrl, width, height, }: YoutubeVideoPlayerProps): react_jsx_runtime.JSX.Element;
546
-
547
- interface WorldMapPoint {
548
- code: string;
549
- value: number;
550
- }
551
- interface WorldMapProps {
552
- data: WorldMapPoint[];
553
- title?: string;
554
- bubbleColor?: string;
555
- bubbleStroke?: string;
556
- bubbleScale?: number;
557
- minBubble?: number;
558
- styles?: string;
559
- disableCountryHover?: boolean;
560
- disableCountrySelect?: boolean;
561
- }
562
- declare function WorldMap({ data, title, bubbleColor, bubbleStroke, bubbleScale, minBubble, styles, disableCountryHover, disableCountrySelect, }: WorldMapProps): react_jsx_runtime.JSX.Element;
563
-
564
565
  interface ButtonProps {
565
566
  type?: "button" | "submit";
566
567
  icon?: ReactNode;
@@ -1546,4 +1547,4 @@ declare const enumValues: <T extends Record<string, string>>(enumObject: T) => s
1546
1547
  declare const normalize: (path?: string) => string;
1547
1548
  declare const isMatch: (itemPath?: string, currentPath?: string) => boolean;
1548
1549
 
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 };
1550
+ 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, Caption, Card, CardContent, CardFooter, CardHeader, type CardinalPosition, Chapter, Checkbox, Chip, CloudinaryImage, CloudinaryVideo, Code, Content, ContentArea, type CornerPosition, type CurrencyCode, DataView, DataViewTable, DateSelector, DefaultLayout, type DefaultMenuElements, Display, 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, Label, Layout, type LayoutContext, type LayoutExecutor, Lead, 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, Overline, 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, YoutubeVideo as YoutubeVideoPlayer, cn, createForceLayout, createGridLayout, createTreeLayout, enumValues, getCurrencySymbol, getLayout, isMatch, isRenderFn, normalize, registerLayout, resolveWithGlobal, sendToast, useClickOutside, useCurrentTheme, useDrawer, useEUIConfig, useIsMobile, useModal, useTheme };
package/dist/index.d.ts CHANGED
@@ -292,21 +292,15 @@ type LayoutExecutor = (ctx: LayoutContext) => {
292
292
  declare const registerLayout: (type: GraphLayoutType, executor: LayoutExecutor) => void;
293
293
  declare const getLayout: (type: GraphLayoutType) => LayoutExecutor;
294
294
 
295
- interface CloudinaryImageProps extends BaseComponentProps {
295
+ interface CloudinaryImageProps extends BaseComponentProps<HTMLImageElement> {
296
296
  publicId?: string;
297
297
  cloudName?: string;
298
298
  secure?: boolean;
299
299
  alt?: string;
300
+ fallbackSrc?: string;
301
+ loading?: "lazy" | "eager";
300
302
  }
301
- declare function CloudinaryImage({ publicId, cloudName, secure, alt, className, ...rest }: CloudinaryImageProps): react_jsx_runtime.JSX.Element;
302
-
303
- interface CloudinaryConfig {
304
- cloudName: string;
305
- }
306
- declare const CloudinaryProvider: ({ cloudName, children, }: CloudinaryConfig & {
307
- children: React.ReactNode;
308
- }) => react_jsx_runtime.JSX.Element;
309
- declare const useCloudinaryConfig: () => CloudinaryConfig;
303
+ declare function CloudinaryImage({ publicId, cloudName, secure, alt, fallbackSrc, loading, className, ...rest }: CloudinaryImageProps): react_jsx_runtime.JSX.Element;
310
304
 
311
305
  interface ImageProps extends BaseComponentProps {
312
306
  alt?: string;
@@ -402,29 +396,123 @@ interface TableProps<T> {
402
396
  }
403
397
  declare function Table<T extends Record<string, any>>({ title, columns, data, shape, }: TableProps<T>): react_jsx_runtime.JSX.Element;
404
398
 
405
- interface TagProps {
399
+ interface TagProps extends BaseComponentProps {
406
400
  text: string;
407
- styles?: string;
408
401
  }
409
- declare function Tag({ text, styles }: TagProps): react_jsx_runtime.JSX.Element;
402
+ declare function Tag({ text, className, ...rest }: TagProps): react_jsx_runtime.JSX.Element;
410
403
 
411
- interface TooltipProps {
412
- content: ReactNode;
404
+ interface TooltipProps extends BaseComponentProps {
405
+ children: ReactNode;
413
406
  show: boolean;
414
407
  offsetX?: number;
415
408
  offsetY?: number;
409
+ }
410
+ declare function Tooltip({ children, show, offsetX, offsetY, className, ...rest }: TooltipProps): react_jsx_runtime.JSX.Element | null;
411
+
412
+ interface TypographyProps extends BaseComponentProps {
413
+ children?: ReactNode;
414
+ level?: 1 | 2 | 3;
415
+ variant?: Variant$1;
416
+ decoration?: TextDecoration;
417
+ bold?: boolean;
418
+ italic?: boolean;
419
+ }
420
+
421
+ interface DisplayProps extends TypographyProps {
422
+ level?: 1 | 2 | 3;
423
+ }
424
+ declare const Display: ({ level, children, variant, decoration, bold, italic, className, ...rest }: DisplayProps) => react_jsx_runtime.JSX.Element;
425
+
426
+ declare const Chapter: ({ level, children, variant, decoration, bold, italic, className, ...rest }: TypographyProps) => react_jsx_runtime.JSX.Element;
427
+
428
+ declare const Section: ({ level, children, variant, decoration, bold, italic, className, ...rest }: TypographyProps) => react_jsx_runtime.JSX.Element;
429
+
430
+ declare const Paragraph: ({ level, children, variant, decoration, bold, italic, className, ...rest }: TypographyProps) => react_jsx_runtime.JSX.Element;
431
+
432
+ declare const Quote: ({ level, children, variant, decoration, bold, italic, className, ...rest }: TypographyProps) => react_jsx_runtime.JSX.Element;
433
+
434
+ declare const Caption: ({ children, variant, decoration, bold, italic, className, ...rest }: TypographyProps) => react_jsx_runtime.JSX.Element;
435
+
436
+ declare const Label: ({ children, variant, decoration, bold, italic, className, ...rest }: TypographyProps) => react_jsx_runtime.JSX.Element;
437
+
438
+ declare const Code: ({ children, className, ...rest }: TypographyProps) => react_jsx_runtime.JSX.Element;
439
+
440
+ declare const Lead: ({ children, variant, decoration, bold, italic, className, ...rest }: TypographyProps) => react_jsx_runtime.JSX.Element;
441
+
442
+ declare const Overline: ({ children, variant, decoration, bold, italic, className, ...rest }: TypographyProps) => react_jsx_runtime.JSX.Element;
443
+
444
+ declare const Typography: {
445
+ Display: ({ level, children, variant, decoration, bold, italic, className, ...rest }: DisplayProps) => react_jsx_runtime.JSX.Element;
446
+ Chapter: ({ level, children, variant, decoration, bold, italic, className, ...rest }: TypographyProps) => react_jsx_runtime.JSX.Element;
447
+ Section: ({ level, children, variant, decoration, bold, italic, className, ...rest }: TypographyProps) => react_jsx_runtime.JSX.Element;
448
+ Paragraph: ({ level, children, variant, decoration, bold, italic, className, ...rest }: TypographyProps) => react_jsx_runtime.JSX.Element;
449
+ Quote: ({ level, children, variant, decoration, bold, italic, className, ...rest }: TypographyProps) => react_jsx_runtime.JSX.Element;
450
+ Lead: ({ children, variant, decoration, bold, italic, className, ...rest }: TypographyProps) => react_jsx_runtime.JSX.Element;
451
+ Caption: ({ children, variant, decoration, bold, italic, className, ...rest }: TypographyProps) => react_jsx_runtime.JSX.Element;
452
+ Label: ({ children, variant, decoration, bold, italic, className, ...rest }: TypographyProps) => react_jsx_runtime.JSX.Element;
453
+ Code: ({ children, className, ...rest }: TypographyProps) => react_jsx_runtime.JSX.Element;
454
+ Overline: ({ children, variant, decoration, bold, italic, className, ...rest }: TypographyProps) => react_jsx_runtime.JSX.Element;
455
+ };
456
+
457
+ interface Tier {
458
+ condition: (percent: number) => boolean;
459
+ style: {
460
+ bg: string;
461
+ color: string;
462
+ };
463
+ }
464
+ interface ValueBadgeProps {
465
+ value: number;
466
+ tiers?: Tier[];
467
+ lowerBound?: number;
468
+ upperBound?: number;
469
+ formatValue?: (value: number) => string | number;
416
470
  className?: string;
471
+ noBackground?: boolean;
417
472
  }
418
- /**
419
- * A generalized tooltip that automatically follows the mouse cursor.
420
- */
421
- declare function Tooltip({ content, show, offsetX, offsetY, className, }: TooltipProps): react_jsx_runtime.JSX.Element | null;
473
+ declare const ValueBadge: ({ value, tiers, lowerBound, upperBound, formatValue, className, noBackground, }: ValueBadgeProps) => react_jsx_runtime.JSX.Element;
422
474
 
423
- interface QuoteProps {
424
- children?: string;
425
- styles?: string;
475
+ interface CloudinaryVideoProps extends BaseComponentProps<HTMLVideoElement> {
476
+ publicId?: string;
477
+ cloudName?: string;
478
+ secure?: boolean;
479
+ controls?: boolean;
480
+ autoPlay?: boolean;
481
+ muted?: boolean;
482
+ loop?: boolean;
483
+ playsInline?: boolean;
484
+ poster?: string;
485
+ preload?: "none" | "metadata" | "auto";
486
+ }
487
+ declare function CloudinaryVideo({ publicId, cloudName, secure, controls, autoPlay, muted, loop, playsInline, poster, preload, className, ...rest }: CloudinaryVideoProps): react_jsx_runtime.JSX.Element;
488
+
489
+ interface YoutubeVideoProps extends BaseComponentProps<HTMLIFrameElement> {
490
+ videoUrl: string;
491
+ width?: number;
492
+ height?: number;
493
+ autoPlay?: boolean;
494
+ muted?: boolean;
495
+ controls?: boolean;
496
+ loop?: boolean;
497
+ privacyMode?: boolean;
426
498
  }
427
- declare const Quote: ({ children, styles }: QuoteProps) => react_jsx_runtime.JSX.Element;
499
+ declare function YoutubeVideo({ videoUrl, width, height, autoPlay, muted, controls, className, ...rest }: YoutubeVideoProps): react_jsx_runtime.JSX.Element;
500
+
501
+ interface WorldMapPoint {
502
+ code: string;
503
+ value: number;
504
+ }
505
+ interface WorldMapProps extends BaseComponentProps {
506
+ data: WorldMapPoint[];
507
+ title?: string;
508
+ bubbleColor?: string;
509
+ bubbleStroke?: string;
510
+ bubbleScale?: number;
511
+ minBubble?: number;
512
+ disableCountryHover?: boolean;
513
+ disableCountrySelect?: boolean;
514
+ }
515
+ declare function WorldMap({ data, title, bubbleColor, bubbleStroke, bubbleScale, minBubble, disableCountryHover, disableCountrySelect, className, ...rest }: WorldMapProps): react_jsx_runtime.JSX.Element;
428
516
 
429
517
  declare enum Variant {
430
518
  default = "default",
@@ -474,93 +562,6 @@ declare enum Target {
474
562
  top = "top"
475
563
  }
476
564
 
477
- interface ParagraphProps {
478
- level: 1 | 2 | 3;
479
- children?: string;
480
- variant?: keyof typeof TextVariant;
481
- styles?: string;
482
- decoration?: keyof typeof Decoration;
483
- bold?: boolean;
484
- italic?: boolean;
485
- onClick?: () => void;
486
- }
487
- declare const Paragraph: ({ level, children, variant, decoration, bold, italic, styles, onClick, }: ParagraphProps) => react_jsx_runtime.JSX.Element;
488
-
489
- interface SectionProps {
490
- level: 1 | 2 | 3;
491
- children?: string;
492
- variant?: keyof typeof TextVariant;
493
- styles?: string;
494
- decoration?: keyof typeof Decoration;
495
- bold?: boolean;
496
- italic?: boolean;
497
- onClick?: () => void;
498
- }
499
- declare const Section: ({ level, children, variant, decoration, bold, italic, styles, onClick, }: SectionProps) => react_jsx_runtime.JSX.Element;
500
-
501
- interface ChapterProps {
502
- level: 1 | 2 | 3;
503
- children?: string;
504
- variant?: keyof typeof TextVariant;
505
- styles?: string;
506
- decoration?: keyof typeof Decoration;
507
- bold?: boolean;
508
- italic?: boolean;
509
- onClick?: () => void;
510
- }
511
- declare const Chapter: ({ level, children, variant, decoration, bold, italic, styles, onClick, }: ChapterProps) => react_jsx_runtime.JSX.Element;
512
-
513
- declare const Typography: {
514
- Chapter: ({ level, children, variant, decoration, bold, italic, styles, onClick, }: ChapterProps) => react_jsx_runtime.JSX.Element;
515
- Section: ({ level, children, variant, decoration, bold, italic, styles, onClick, }: SectionProps) => react_jsx_runtime.JSX.Element;
516
- Paragraph: ({ level, children, variant, decoration, bold, italic, styles, onClick, }: ParagraphProps) => react_jsx_runtime.JSX.Element;
517
- Quote: ({ children, styles }: QuoteProps) => react_jsx_runtime.JSX.Element;
518
- };
519
-
520
- interface Tier {
521
- condition: (percent: number) => boolean;
522
- style: {
523
- bg: string;
524
- color: string;
525
- };
526
- }
527
- interface ValueBadgeProps {
528
- value: number;
529
- tiers?: Tier[];
530
- lowerBound?: number;
531
- upperBound?: number;
532
- formatValue?: (value: number) => string | number;
533
- className?: string;
534
- noBackground?: boolean;
535
- }
536
- declare const ValueBadge: ({ value, tiers, lowerBound, upperBound, formatValue, className, noBackground, }: ValueBadgeProps) => react_jsx_runtime.JSX.Element;
537
-
538
- declare function CloudinaryVideo(): react_jsx_runtime.JSX.Element;
539
-
540
- interface YoutubeVideoPlayerProps {
541
- videoUrl: string;
542
- width?: number;
543
- height?: number;
544
- }
545
- declare function YoutubeVideoPlayer({ videoUrl, width, height, }: YoutubeVideoPlayerProps): react_jsx_runtime.JSX.Element;
546
-
547
- interface WorldMapPoint {
548
- code: string;
549
- value: number;
550
- }
551
- interface WorldMapProps {
552
- data: WorldMapPoint[];
553
- title?: string;
554
- bubbleColor?: string;
555
- bubbleStroke?: string;
556
- bubbleScale?: number;
557
- minBubble?: number;
558
- styles?: string;
559
- disableCountryHover?: boolean;
560
- disableCountrySelect?: boolean;
561
- }
562
- declare function WorldMap({ data, title, bubbleColor, bubbleStroke, bubbleScale, minBubble, styles, disableCountryHover, disableCountrySelect, }: WorldMapProps): react_jsx_runtime.JSX.Element;
563
-
564
565
  interface ButtonProps {
565
566
  type?: "button" | "submit";
566
567
  icon?: ReactNode;
@@ -1546,4 +1547,4 @@ declare const enumValues: <T extends Record<string, string>>(enumObject: T) => s
1546
1547
  declare const normalize: (path?: string) => string;
1547
1548
  declare const isMatch: (itemPath?: string, currentPath?: string) => boolean;
1548
1549
 
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 };
1550
+ 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, Caption, Card, CardContent, CardFooter, CardHeader, type CardinalPosition, Chapter, Checkbox, Chip, CloudinaryImage, CloudinaryVideo, Code, Content, ContentArea, type CornerPosition, type CurrencyCode, DataView, DataViewTable, DateSelector, DefaultLayout, type DefaultMenuElements, Display, 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, Label, Layout, type LayoutContext, type LayoutExecutor, Lead, 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, Overline, 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, YoutubeVideo as YoutubeVideoPlayer, cn, createForceLayout, createGridLayout, createTreeLayout, enumValues, getCurrencySymbol, getLayout, isMatch, isRenderFn, normalize, registerLayout, resolveWithGlobal, sendToast, useClickOutside, useCurrentTheme, useDrawer, useEUIConfig, useIsMobile, useModal, useTheme };