@espressif/dashboard-ui-components 1.3.0 → 1.4.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/CHANGELOG.md CHANGED
@@ -4,6 +4,39 @@ All notable changes to this project are documented here. The format is based on
4
4
  [Keep a Changelog](https://keepachangelog.com/en/1.1.0/), and this project adheres
5
5
  to [Semantic Versioning](https://semver.org/).
6
6
 
7
+ ## [1.4.0] - 2026-09-18
8
+
9
+ A minor release that lets `ConfirmationDialog` be opened without a trigger, and
10
+ makes `DynamicList` value treatments finally honour the list's `size`.
11
+
12
+ ### Added
13
+ - **`ConfirmationDialog`** — `open` / `onOpenChange` for controlled open state.
14
+ Omit them and the dialog behaves exactly as before, opening from `children` as
15
+ its trigger. Supplying `open` lets the dialog be opened from somewhere that
16
+ cannot host a trigger, such as a `Menu` / `List` item. `children` is now
17
+ optional in practice as well as in the types: the `DialogTrigger` is rendered
18
+ only when `children` is supplied.
19
+ - **`ConfirmationDialog`** — `cancelButtonStartIcon` and `confirmButtonEndIcon`
20
+ for icons on the two action buttons. Both default to no icon, so existing
21
+ dialogs are unchanged.
22
+ - **`CopiableText`** — `size` (`"sm" | "default" | "lg"`, default `"default"`)
23
+ scaling the row height and the copy button. Pass any `actions` at a matching
24
+ size so the segmented button group stays even.
25
+ - **`MonospaceContent`** — `size` (`"sm" | "default" | "lg"`, default
26
+ `"default"`) scaling the title, the value text, the surface padding and both
27
+ action buttons together.
28
+
29
+ ### Fixed
30
+ - **`DynamicList`** — the `mono`, `info`, `error` and `badge` value treatments
31
+ ignored the list's `size` and rendered at their own defaults. They now track
32
+ it. **This changes rendering at the default size:** `mono`, `info` and `error`
33
+ rows were previously pinned to `Alert`'s own `"sm"` default regardless of the
34
+ list, so at `size="default"` they now render slightly larger. At `size="sm"`
35
+ they correctly shrink for the first time. The `badge` treatment no longer
36
+ hardcodes `text-sm`.
37
+ The `Code` treatment is deliberately left alone — `Code` owns its own scale
38
+ for syntax highlighting.
39
+
7
40
  ## [1.3.0] - 2026-09-10
8
41
 
9
42
  A minor release that adds three new components (`NavBar`, `FileInput`,
@@ -1,4 +1,4 @@
1
- import { ProgressBar } from './chunk-O5BFYRPY.js';
1
+ import { ProgressBar } from './chunk-XMEZ2BP6.js';
2
2
  import { Card, CardContent } from './chunk-KCMVLNM5.js';
3
3
  import { Tooltip2 } from './chunk-UHRNPXO5.js';
4
4
  import { jsx, jsxs } from 'react/jsx-runtime';
@@ -56919,13 +56919,26 @@ function Pagination({
56919
56919
 
56920
56920
  // src/components/pagination/pagination.props.ts
56921
56921
  var DEFAULT_PAGE_SIZE_OPTIONS = [5, 10, 15, 20, 25];
56922
- function CopiableText({ text: text2, actions, alwaysShowActions = false, className }) {
56922
+ var COPIABLE_TEXT_SIZE_STYLES = {
56923
+ sm: { row: "min-h-6", action: "size-5" },
56924
+ default: { row: "min-h-7", action: "size-6" },
56925
+ lg: { row: "min-h-8", action: "size-7" }
56926
+ };
56927
+ function CopiableText({
56928
+ text: text2,
56929
+ actions,
56930
+ alwaysShowActions = false,
56931
+ size = "default",
56932
+ className
56933
+ }) {
56923
56934
  const content3 = typeof text2 === "number" ? String(text2) : text2;
56935
+ const sizeStyles9 = COPIABLE_TEXT_SIZE_STYLES[size];
56924
56936
  return /* @__PURE__ */ jsxs(
56925
56937
  "span",
56926
56938
  {
56927
56939
  className: cn(
56928
- "relative inline-flex min-h-7 min-w-0 max-w-full items-center overflow-hidden group/copiable-text",
56940
+ "relative inline-flex min-w-0 max-w-full items-center overflow-hidden group/copiable-text",
56941
+ sizeStyles9.row,
56929
56942
  className
56930
56943
  ),
56931
56944
  children: [
@@ -56945,7 +56958,7 @@ function CopiableText({ text: text2, actions, alwaysShowActions = false, classNa
56945
56958
  CopyButton,
56946
56959
  {
56947
56960
  content: content3,
56948
- className: "size-6",
56961
+ className: sizeStyles9.action,
56949
56962
  variant: "outline",
56950
56963
  size: "sm",
56951
56964
  hoverScale: 1,
@@ -59459,10 +59472,19 @@ function ConfirmationDialog({
59459
59472
  confirmButtonVariant = "default",
59460
59473
  cancelButtonColor,
59461
59474
  confirmButtonColor = "error",
59475
+ cancelButtonStartIcon,
59476
+ confirmButtonEndIcon,
59462
59477
  isLoading = false,
59463
- error = null
59478
+ error = null,
59479
+ open,
59480
+ onOpenChange
59464
59481
  }) {
59465
- const [open, setOpen] = useState(false);
59482
+ const [uncontrolledOpen, setUncontrolledOpen] = useState(false);
59483
+ const isOpen = open ?? uncontrolledOpen;
59484
+ const setOpen = (next) => {
59485
+ setUncontrolledOpen(next);
59486
+ onOpenChange?.(next);
59487
+ };
59466
59488
  const handleConfirm = async () => {
59467
59489
  try {
59468
59490
  await onConfirm();
@@ -59470,8 +59492,8 @@ function ConfirmationDialog({
59470
59492
  } catch {
59471
59493
  }
59472
59494
  };
59473
- return /* @__PURE__ */ jsxs(Dialog2, { open, onOpenChange: setOpen, children: [
59474
- /* @__PURE__ */ jsx(DialogTrigger2, { asChild: true, children }),
59495
+ return /* @__PURE__ */ jsxs(Dialog2, { open: isOpen, onOpenChange: setOpen, children: [
59496
+ children != null && /* @__PURE__ */ jsx(DialogTrigger2, { asChild: true, children }),
59475
59497
  /* @__PURE__ */ jsxs(DialogContent2, { showCloseButton: false, children: [
59476
59498
  /* @__PURE__ */ jsxs(DialogHeader2, { children: [
59477
59499
  /* @__PURE__ */ jsx(DialogTitle2, { className: "leading-relaxed", children: title }),
@@ -59489,6 +59511,7 @@ function ConfirmationDialog({
59489
59511
  fullWidth: false,
59490
59512
  className: "text-foreground",
59491
59513
  disabled: isLoading,
59514
+ startIcon: cancelButtonStartIcon,
59492
59515
  children: cancelButtonText
59493
59516
  }
59494
59517
  ) }),
@@ -59501,6 +59524,7 @@ function ConfirmationDialog({
59501
59524
  color: confirmButtonColor,
59502
59525
  onClick: handleConfirm,
59503
59526
  loading: isLoading,
59527
+ endIcon: confirmButtonEndIcon,
59504
59528
  children: confirmButtonText
59505
59529
  }
59506
59530
  )
@@ -59921,34 +59945,50 @@ function Code({
59921
59945
  }
59922
59946
  );
59923
59947
  }
59948
+ var MONOSPACE_SIZE_STYLES = {
59949
+ sm: { title: "text-xs", value: "text-xs", action: "size-5", gap: "gap-1.5" },
59950
+ default: { title: "text-sm", value: "text-sm", action: "size-6", gap: "gap-2" },
59951
+ lg: { title: "text-base", value: "text-base", action: "size-7", gap: "gap-2.5" }
59952
+ };
59924
59953
  var MonospaceContent = React10.forwardRef(
59925
- function MonospaceContent2({ title, value: value2, color = "info", mask: mask2 = false, allowUnmask = true, className }, ref) {
59954
+ function MonospaceContent2({ title, value: value2, color = "info", mask: mask2 = false, allowUnmask = true, size = "default", className }, ref) {
59926
59955
  const [revealed, setRevealed] = React10.useState(false);
59927
59956
  const canUnmask = mask2 && allowUnmask;
59928
59957
  const masked = mask2 && !(canUnmask && revealed);
59958
+ const sizeStyles9 = MONOSPACE_SIZE_STYLES[size];
59929
59959
  const unmaskToggle = canUnmask ? /* @__PURE__ */ jsxs(
59930
59960
  "button",
59931
59961
  {
59932
59962
  type: "button",
59933
59963
  "aria-pressed": !masked,
59934
59964
  onClick: () => setRevealed((prev) => !prev),
59935
- className: cn(buttonVariants$1({ variant: "outline", size: "sm" }), "size-6"),
59965
+ className: cn(buttonVariants$1({ variant: "outline", size: "sm" }), sizeStyles9.action),
59936
59966
  children: [
59937
59967
  masked ? /* @__PURE__ */ jsx(Eye, { "aria-hidden": true }) : /* @__PURE__ */ jsx(EyeOff, { "aria-hidden": true }),
59938
59968
  /* @__PURE__ */ jsx("span", { className: "sr-only", children: masked ? "Show value" : "Hide value" })
59939
59969
  ]
59940
59970
  }
59941
59971
  ) : void 0;
59942
- return /* @__PURE__ */ jsxs("div", { ref, className: cn("flex min-w-0 max-w-full flex-col gap-2 overflow-hidden", className), children: [
59943
- title != null && (typeof title === "string" ? /* @__PURE__ */ jsx("div", { className: cn(inputLabelClassName, "title"), children: title }) : /* @__PURE__ */ jsx(Typography, { variant: "subtitle2", as: "div", className: cn(inputLabelClassName, "title"), children: title })),
59944
- /* @__PURE__ */ jsx(Alert, { variant: "soft", color, type: "info", hideIcon: true, className: cn("min-w-0 max-w-full", "content"), children: /* @__PURE__ */ jsx(
59972
+ return /* @__PURE__ */ jsxs("div", { ref, className: cn("flex min-w-0 max-w-full flex-col overflow-hidden", sizeStyles9.gap, className), children: [
59973
+ title != null && (typeof title === "string" ? /* @__PURE__ */ jsx("div", { className: cn(inputLabelClassName, sizeStyles9.title, "title"), children: title }) : /* @__PURE__ */ jsx(
59974
+ Typography,
59975
+ {
59976
+ variant: "subtitle2",
59977
+ as: "div",
59978
+ className: cn(inputLabelClassName, sizeStyles9.title, "title"),
59979
+ children: title
59980
+ }
59981
+ )),
59982
+ /* @__PURE__ */ jsx(Alert, { variant: "soft", color, type: "info", hideIcon: true, size, className: cn("min-w-0 max-w-full", "content"), children: /* @__PURE__ */ jsx(
59945
59983
  CopiableText,
59946
59984
  {
59947
59985
  text: value2,
59986
+ size,
59948
59987
  actions: unmaskToggle,
59949
59988
  alwaysShowActions: mask2,
59950
59989
  className: cn(
59951
59990
  "w-full min-w-0 max-w-full font-mono tabular-nums",
59991
+ sizeStyles9.value,
59952
59992
  // `-webkit-text-security` is inherited, so it reaches the text span while the
59953
59993
  // real value stays intact for the copy button.
59954
59994
  masked && "select-none [-webkit-text-security:disc]"
@@ -60417,14 +60457,17 @@ function wrapTypedValue(value2, rowMeta, key2, opts, effectiveType) {
60417
60457
  {
60418
60458
  variant: "solid",
60419
60459
  color: "gray",
60420
- className: "w-fit max-w-full self-start text-sm font-medium",
60460
+ className: cn(
60461
+ "w-fit max-w-full self-start font-medium",
60462
+ DYNAMIC_LIST_SIZE_STYLES[opts.size].valueTypography
60463
+ ),
60421
60464
  children: base
60422
60465
  }
60423
60466
  );
60424
60467
  case "info":
60425
- return /* @__PURE__ */ jsx(Alert, { variant: "soft", color: "info", type: "info", children: base });
60468
+ return /* @__PURE__ */ jsx(Alert, { variant: "soft", color: "info", type: "info", size: opts.size, children: base });
60426
60469
  case "error":
60427
- return /* @__PURE__ */ jsx(Alert, { variant: "soft", color: "error", type: "error", children: base });
60470
+ return /* @__PURE__ */ jsx(Alert, { variant: "soft", color: "error", type: "error", size: opts.size, children: base });
60428
60471
  case "mono":
60429
60472
  if (rowMeta?.valueRender) {
60430
60473
  return base;
@@ -60449,7 +60492,8 @@ function wrapTypedValue(value2, rowMeta, key2, opts, effectiveType) {
60449
60492
  MonospaceContent,
60450
60493
  {
60451
60494
  value: resolveMonoString(value2, rowMeta, key2),
60452
- color: "gray"
60495
+ color: "gray",
60496
+ size: opts.size
60453
60497
  }
60454
60498
  );
60455
60499
  case "url":
@@ -60536,7 +60580,7 @@ function DynamicList({
60536
60580
  }) {
60537
60581
  const keyWidthPct = Math.min(100, Math.max(1, keyWidth));
60538
60582
  const valueWidthPct = 100 - keyWidthPct;
60539
- const resolveOpts = { useIconsForBoolean };
60583
+ const resolveOpts = { useIconsForBoolean, size };
60540
60584
  const sizeStyles9 = DYNAMIC_LIST_SIZE_STYLES[size];
60541
60585
  if (simple) {
60542
60586
  return /* @__PURE__ */ jsx(
@@ -1,5 +1,5 @@
1
- export { CopyrightCard, PageLoader } from '../chunk-RKAFXJRD.js';
2
- export { AnimatedRainmakerLogo } from '../chunk-O5BFYRPY.js';
1
+ export { CopyrightCard, PageLoader } from '../chunk-CPVDY4CV.js';
2
+ export { AnimatedRainmakerLogo } from '../chunk-XMEZ2BP6.js';
3
3
  import '../chunk-KCMVLNM5.js';
4
4
  export { AppLogo, FooterCard, MyAccountMenu, ProfileCard } from '../chunk-TSNA6BHK.js';
5
5
  import '../chunk-UHRNPXO5.js';
@@ -17993,9 +17993,16 @@ interface CopiableTextProps {
17993
17993
  * takes layout space, so the text truncates beside the buttons rather than sliding under them.
17994
17994
  */
17995
17995
  alwaysShowActions?: boolean;
17996
+ /**
17997
+ * Scale of the row height and the action buttons. Pass any `actions` at a matching
17998
+ * size so the segmented group stays even.
17999
+ *
18000
+ * @default 'default'
18001
+ */
18002
+ size?: Size;
17996
18003
  className?: string;
17997
18004
  }
17998
- declare function CopiableText({ text, actions, alwaysShowActions, className }: CopiableTextProps): React$1.JSX.Element;
18005
+ declare function CopiableText({ text, actions, alwaysShowActions, size, className, }: CopiableTextProps): React$1.JSX.Element;
17999
18006
 
18000
18007
  interface TableSkeletonProps {
18001
18008
  totalRows?: number;
@@ -18317,10 +18324,21 @@ interface ConfirmationDialogProps {
18317
18324
  confirmButtonVariant?: ButtonProps$1["variant"];
18318
18325
  cancelButtonColor?: ButtonProps$1["color"];
18319
18326
  confirmButtonColor?: ButtonProps$1["color"];
18327
+ /** Leading icon on the cancel button. Omit for no icon. */
18328
+ cancelButtonStartIcon?: React.ReactNode;
18329
+ /** Trailing icon on the confirm button. Omit for no icon. */
18330
+ confirmButtonEndIcon?: React.ReactNode;
18320
18331
  isLoading?: boolean;
18321
18332
  error?: string | React.ReactNode | null;
18333
+ /**
18334
+ * Controlled open state. Omit to let the dialog manage its own, driven by `children`
18335
+ * as the trigger. Use this to open the dialog from somewhere that cannot host a
18336
+ * trigger, such as a menu item.
18337
+ */
18338
+ open?: boolean;
18339
+ onOpenChange?: (open: boolean) => void;
18322
18340
  }
18323
- declare function ConfirmationDialog({ title, description, onConfirm, onCancel, children, cancelButtonText, confirmButtonText, cancelButtonVariant, confirmButtonVariant, cancelButtonColor, confirmButtonColor, isLoading, error, }: ConfirmationDialogProps): React$1.JSX.Element;
18341
+ declare function ConfirmationDialog({ title, description, onConfirm, onCancel, children, cancelButtonText, confirmButtonText, cancelButtonVariant, confirmButtonVariant, cancelButtonColor, confirmButtonColor, cancelButtonStartIcon, confirmButtonEndIcon, isLoading, error, open, onOpenChange, }: ConfirmationDialogProps): React$1.JSX.Element;
18324
18342
 
18325
18343
  type PreviewCardProps$1 = React$1.ComponentProps<typeof PreviewCard$1.Root> & {
18326
18344
  followCursor?: boolean | 'x' | 'y';
@@ -18733,6 +18751,12 @@ interface MonospaceContentProps {
18733
18751
  * @default true
18734
18752
  */
18735
18753
  allowUnmask?: boolean;
18754
+ /**
18755
+ * Scale of the title, value text, surface padding and action buttons.
18756
+ *
18757
+ * @default "default"
18758
+ */
18759
+ size?: Size;
18736
18760
  className?: string;
18737
18761
  }
18738
18762
 
@@ -1,4 +1,4 @@
1
- export { Accordion, AdvancedSearchBox, Alert, AnimatedCard, AreaChart, AsyncCombobox, AsyncMultiSelect, BarChart, BasicDetailsCard, CHART_CATEGORY_COLORS, CHART_SERIES_COLORS, Calendar, CalendarDayButton, Carousel, ChartContainer, ChartLegend, ChartLegendContent, ChartStyle, ChartTooltip, ChartTooltipContent, Checkbox, CircularProgress, Code, CollapsibleCard, ComposedChart, ConfirmationDialog, ContentContainer, CopiableText, DEFAULT_CHART_SERIES_COLORS, DEFAULT_PAGE_SIZE_OPTIONS, DataTable, DatePicker, DateRangePicker, DeviceIcon, Dialog, DialogClose, DialogContent, DialogDescription, DialogFooter, DialogHeader, DialogTitle, DialogTrigger, DonutChart, DynamicList, FileInput, FileUpload, Form, FormControl, FormDescription, FormField, FormItem, FormLabel, FormMessage, FullSizeError, FullscreenDialog, IconAvatar, IconTextActionCard, Illustration, InlineError, InputOTP, InputOTPSeparator, KeyValueManager, LineChart, ListDetails, LottieAnimationContainer, MarkdownContent, MonospaceContent, NavBar, no_data_card_default as NoDataCard, OverflowBadgeList, PRESET_IDS, PRESET_LABELS, PageContainer, PageContainerSkeleton, Pagination, PopCollectionItem, PreviewCard, PreviewCardBackdrop, PreviewCardPanel, PreviewCardTrigger, ProgressBar, RadioGroup, RequirementList, ScrollableSections, SearchBox, SectionCard, Select, SelectContent, SelectGroup, SelectItem, SelectLabel, SelectScrollDownButton, SelectScrollUpButton, SelectSeparator, SelectTrigger, SelectValue, SelectableCardList, SimpleCard, SimpleClickableCard, SimpleInfoCard, SimpleList, SimplePaginatedList, SimplifiedDate, Spinner, StatCard, StatusBadge, StatusCardList, Switch, TYPOGRAPHY_VARIANTS, Table, TableBody, TableCaption, TableCell, TableFooter, TableHead, TableHeader, TableRow, TableSkeleton, Tabs, TabsContent, TabsContents, TabsList, TabsTrigger, Tag, TagInput, Textarea, TimePicker, Toast, Toaster, TogglableItemsList, ToggleGroup, ToggleGroupItem, TransferList, TreemapChart, Typography, UserTypeBadge, VerificationInProgress, VerticalStepper, animatedCardAnimations, animatedCardTypeKeys, buildSeriesChartConfig, computeDateRange, getChartSeriesColor, illustrationRegistry, illustrationsById, parseSvgViewBoxAspectRatio, statusBadgeSizeVariants, toast, typographyDefaultElement, typographyVariantClasses, useFormField, userTypeBadgeRegistry, userTypeBadgeSizeVariants, userTypeBadgeUserTypes } from '../chunk-O5BFYRPY.js';
1
+ export { Accordion, AdvancedSearchBox, Alert, AnimatedCard, AreaChart, AsyncCombobox, AsyncMultiSelect, BarChart, BasicDetailsCard, CHART_CATEGORY_COLORS, CHART_SERIES_COLORS, Calendar, CalendarDayButton, Carousel, ChartContainer, ChartLegend, ChartLegendContent, ChartStyle, ChartTooltip, ChartTooltipContent, Checkbox, CircularProgress, Code, CollapsibleCard, ComposedChart, ConfirmationDialog, ContentContainer, CopiableText, DEFAULT_CHART_SERIES_COLORS, DEFAULT_PAGE_SIZE_OPTIONS, DataTable, DatePicker, DateRangePicker, DeviceIcon, Dialog, DialogClose, DialogContent, DialogDescription, DialogFooter, DialogHeader, DialogTitle, DialogTrigger, DonutChart, DynamicList, FileInput, FileUpload, Form, FormControl, FormDescription, FormField, FormItem, FormLabel, FormMessage, FullSizeError, FullscreenDialog, IconAvatar, IconTextActionCard, Illustration, InlineError, InputOTP, InputOTPSeparator, KeyValueManager, LineChart, ListDetails, LottieAnimationContainer, MarkdownContent, MonospaceContent, NavBar, no_data_card_default as NoDataCard, OverflowBadgeList, PRESET_IDS, PRESET_LABELS, PageContainer, PageContainerSkeleton, Pagination, PopCollectionItem, PreviewCard, PreviewCardBackdrop, PreviewCardPanel, PreviewCardTrigger, ProgressBar, RadioGroup, RequirementList, ScrollableSections, SearchBox, SectionCard, Select, SelectContent, SelectGroup, SelectItem, SelectLabel, SelectScrollDownButton, SelectScrollUpButton, SelectSeparator, SelectTrigger, SelectValue, SelectableCardList, SimpleCard, SimpleClickableCard, SimpleInfoCard, SimpleList, SimplePaginatedList, SimplifiedDate, Spinner, StatCard, StatusBadge, StatusCardList, Switch, TYPOGRAPHY_VARIANTS, Table, TableBody, TableCaption, TableCell, TableFooter, TableHead, TableHeader, TableRow, TableSkeleton, Tabs, TabsContent, TabsContents, TabsList, TabsTrigger, Tag, TagInput, Textarea, TimePicker, Toast, Toaster, TogglableItemsList, ToggleGroup, ToggleGroupItem, TransferList, TreemapChart, Typography, UserTypeBadge, VerificationInProgress, VerticalStepper, animatedCardAnimations, animatedCardTypeKeys, buildSeriesChartConfig, computeDateRange, getChartSeriesColor, illustrationRegistry, illustrationsById, parseSvgViewBoxAspectRatio, statusBadgeSizeVariants, toast, typographyDefaultElement, typographyVariantClasses, useFormField, userTypeBadgeRegistry, userTypeBadgeSizeVariants, userTypeBadgeUserTypes } from '../chunk-XMEZ2BP6.js';
2
2
  export { Badge, ButtonGroup, ButtonGroupSeparator, ButtonGroupText, Card, CardContent, CardDescription, CardFooter, CardHeader, CardTitle, Label, PRESET_GRADIENT_BACKDROP, PRESET_GRADIENT_FRAME, Popover, PopoverAnchor, PopoverContent, PopoverTrigger, VARIANTS, VARIANT_GRADIENT_BACKDROP_BASE, VARIANT_GRADIENT_DURATION_CLASS, VARIANT_GRADIENT_HOVER_OVERLAY_CLASS, VARIANT_GRADIENT_TRANSITION_DURATION_MS, arbitraryGradientBackgroundImage, badgeVariants, buttonGroupVariants, resolveVariantStyles } from '../chunk-KCMVLNM5.js';
3
3
  export { Avatar, Button, CopyButton, DropdownMenu, DropdownMenuCheckboxItem, DropdownMenuContent, DropdownMenuGroup, DropdownMenuItem, DropdownMenuLabel, DropdownMenuRadioGroup, DropdownMenuRadioItem, DropdownMenuSeparator, DropdownMenuShortcut, DropdownMenuSub, DropdownMenuSubContent, DropdownMenuSubTrigger, DropdownMenuTrigger, FlashButton, GlitchText, GradientText, HighlightText, Input, InputPassword, InvertButton, LIST_CLASS_NAMES, Link, List, Menu, ScrollArea, ScrollBar, Sheet, SheetClose, SheetContent, SheetDescription, SheetFooter, SheetHeader, SheetTitle, SheetTrigger, ShimmeringText, Sidebar2 as Sidebar, SidebarContent, SidebarFooter, SidebarGroup, SidebarGroupAction, SidebarGroupContent, SidebarGroupLabel, SidebarHeader, SidebarInput, SidebarInset, SidebarMenu, SidebarMenuAction, SidebarMenuBadge, SidebarMenuButton, SidebarMenuItem, SidebarMenuSkeleton, SidebarMenuSub, SidebarMenuSubButton, SidebarMenuSubItem, Sidebar as SidebarPrimitive, SidebarProvider, SidebarRail, SidebarSeparator, SidebarTrigger, Tooltip2 as Tooltip, TooltipContent, TooltipProvider, Tooltip as TooltipRoot, TooltipTrigger, isSidebarGroup, parseTextMarkup, useSidebar } from '../chunk-UHRNPXO5.js';
4
4
  export { Breadcrumb, BreadcrumbEllipsis, BreadcrumbItem, BreadcrumbLink, BreadcrumbList, BreadcrumbPage, BreadcrumbSeparator, Collapsible, CollapsibleContent, CollapsibleTrigger, Separator, Skeleton, buttonVariants, useIsMobile } from '../chunk-7BO76CNB.js';
package/dist/index.js CHANGED
@@ -1,5 +1,5 @@
1
- export { CopyrightCard, PageLoader } from './chunk-RKAFXJRD.js';
2
- export { Accordion, AdvancedSearchBox, Alert, AnimatedCard, AnimatedRainmakerLogo, AreaChart, AsyncCombobox, AsyncMultiSelect, BarChart, BasicDetailsCard, CHART_CATEGORY_COLORS, CHART_SERIES_COLORS, Calendar, CalendarDayButton, Carousel, ChartContainer, ChartLegend, ChartLegendContent, ChartStyle, ChartTooltip, ChartTooltipContent, Checkbox, CircularProgress, Code, CollapsibleCard, ComposedChart, ConfirmationDialog, ContentContainer, CopiableText, DEFAULT_CHART_SERIES_COLORS, DEFAULT_PAGE_SIZE_OPTIONS, DataTable, DatePicker, DateRangePicker, DeviceIcon, Dialog, DialogClose, DialogContent, DialogDescription, DialogFooter, DialogHeader, DialogTitle, DialogTrigger, DonutChart, DynamicList, FileInput, FileUpload, Form, FormControl, FormDescription, FormField, FormItem, FormLabel, FormMessage, FullSizeError, FullscreenDialog, IconAvatar, IconTextActionCard, Illustration, InlineError, InputOTP, InputOTPSeparator, KeyValueManager, LineChart, ListDetails, LottieAnimationContainer, MarkdownContent, MonospaceContent, NavBar, no_data_card_default as NoDataCard, OverflowBadgeList, PRESET_IDS, PRESET_LABELS, PageContainer, PageContainerSkeleton, Pagination, PopCollectionItem, PreviewCard, PreviewCardBackdrop, PreviewCardPanel, PreviewCardTrigger, ProgressBar, RadioGroup, RequirementList, ScrollableSections, SearchBox, SectionCard, Select, SelectContent, SelectGroup, SelectItem, SelectLabel, SelectScrollDownButton, SelectScrollUpButton, SelectSeparator, SelectTrigger, SelectValue, SelectableCardList, SimpleCard, SimpleClickableCard, SimpleInfoCard, SimpleList, SimplePaginatedList, SimplifiedDate, Spinner, StatCard, StatusBadge, StatusCardList, Switch, TYPOGRAPHY_VARIANTS, Table, TableBody, TableCaption, TableCell, TableFooter, TableHead, TableHeader, TableRow, TableSkeleton, Tabs, TabsContent, TabsContents, TabsList, TabsTrigger, Tag, TagInput, Textarea, TimePicker, Toast, Toaster, TogglableItemsList, ToggleGroup, ToggleGroupItem, TransferList, TreemapChart, Typography, UserTypeBadge, VerificationInProgress, VerticalStepper, animatedCardAnimations, animatedCardTypeKeys, buildSeriesChartConfig, computeDateRange, getChartSeriesColor, illustrationRegistry, illustrationsById, parseSvgViewBoxAspectRatio, statusBadgeSizeVariants, toast, typographyDefaultElement, typographyVariantClasses, useFormField, userTypeBadgeRegistry, userTypeBadgeSizeVariants, userTypeBadgeUserTypes } from './chunk-O5BFYRPY.js';
1
+ export { CopyrightCard, PageLoader } from './chunk-CPVDY4CV.js';
2
+ export { Accordion, AdvancedSearchBox, Alert, AnimatedCard, AnimatedRainmakerLogo, AreaChart, AsyncCombobox, AsyncMultiSelect, BarChart, BasicDetailsCard, CHART_CATEGORY_COLORS, CHART_SERIES_COLORS, Calendar, CalendarDayButton, Carousel, ChartContainer, ChartLegend, ChartLegendContent, ChartStyle, ChartTooltip, ChartTooltipContent, Checkbox, CircularProgress, Code, CollapsibleCard, ComposedChart, ConfirmationDialog, ContentContainer, CopiableText, DEFAULT_CHART_SERIES_COLORS, DEFAULT_PAGE_SIZE_OPTIONS, DataTable, DatePicker, DateRangePicker, DeviceIcon, Dialog, DialogClose, DialogContent, DialogDescription, DialogFooter, DialogHeader, DialogTitle, DialogTrigger, DonutChart, DynamicList, FileInput, FileUpload, Form, FormControl, FormDescription, FormField, FormItem, FormLabel, FormMessage, FullSizeError, FullscreenDialog, IconAvatar, IconTextActionCard, Illustration, InlineError, InputOTP, InputOTPSeparator, KeyValueManager, LineChart, ListDetails, LottieAnimationContainer, MarkdownContent, MonospaceContent, NavBar, no_data_card_default as NoDataCard, OverflowBadgeList, PRESET_IDS, PRESET_LABELS, PageContainer, PageContainerSkeleton, Pagination, PopCollectionItem, PreviewCard, PreviewCardBackdrop, PreviewCardPanel, PreviewCardTrigger, ProgressBar, RadioGroup, RequirementList, ScrollableSections, SearchBox, SectionCard, Select, SelectContent, SelectGroup, SelectItem, SelectLabel, SelectScrollDownButton, SelectScrollUpButton, SelectSeparator, SelectTrigger, SelectValue, SelectableCardList, SimpleCard, SimpleClickableCard, SimpleInfoCard, SimpleList, SimplePaginatedList, SimplifiedDate, Spinner, StatCard, StatusBadge, StatusCardList, Switch, TYPOGRAPHY_VARIANTS, Table, TableBody, TableCaption, TableCell, TableFooter, TableHead, TableHeader, TableRow, TableSkeleton, Tabs, TabsContent, TabsContents, TabsList, TabsTrigger, Tag, TagInput, Textarea, TimePicker, Toast, Toaster, TogglableItemsList, ToggleGroup, ToggleGroupItem, TransferList, TreemapChart, Typography, UserTypeBadge, VerificationInProgress, VerticalStepper, animatedCardAnimations, animatedCardTypeKeys, buildSeriesChartConfig, computeDateRange, getChartSeriesColor, illustrationRegistry, illustrationsById, parseSvgViewBoxAspectRatio, statusBadgeSizeVariants, toast, typographyDefaultElement, typographyVariantClasses, useFormField, userTypeBadgeRegistry, userTypeBadgeSizeVariants, userTypeBadgeUserTypes } from './chunk-XMEZ2BP6.js';
3
3
  export { Badge, ButtonGroup, ButtonGroupSeparator, ButtonGroupText, Card, CardContent, CardDescription, CardFooter, CardHeader, CardTitle, Label, PRESET_GRADIENT_BACKDROP, PRESET_GRADIENT_FRAME, Popover, PopoverAnchor, PopoverContent, PopoverTrigger, VARIANTS, VARIANT_GRADIENT_BACKDROP_BASE, VARIANT_GRADIENT_DURATION_CLASS, VARIANT_GRADIENT_HOVER_OVERLAY_CLASS, VARIANT_GRADIENT_TRANSITION_DURATION_MS, arbitraryGradientBackgroundImage, badgeVariants, buttonGroupVariants, resolveVariantStyles } from './chunk-KCMVLNM5.js';
4
4
  export { AccountMenu, EntryLayout, Footer as WorkspaceFooter, Header as WorkspaceHeader, WorkspaceLayout } from './chunk-RCRU3JW2.js';
5
5
  export { AppLogo, FooterCard, MyAccountMenu, ProfileCard } from './chunk-TSNA6BHK.js';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@espressif/dashboard-ui-components",
3
- "version": "1.3.0",
3
+ "version": "1.4.0",
4
4
  "description": "Reusable React UI components, page layouts, and utilities — Espressif's dashboard design system.",
5
5
  "keywords": [
6
6
  "react",