@espressif/dashboard-ui-components 1.2.1 → 1.2.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/CHANGELOG.md CHANGED
@@ -4,6 +4,34 @@ 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.2.2] - 2026-09-02
8
+
9
+ A patch release with layout and component refinements. No breaking changes.
10
+
11
+ ### Added
12
+ - `Sidebar`: `focusActiveGroup` prop — when enabled, only the group containing
13
+ the current route is expanded; other groups collapse automatically whenever
14
+ the active group changes. Users can still expand other groups manually, and
15
+ those manual expansions persist until the active group changes. Useful for
16
+ sidebars with many groups where a fully-expanded tree is noisy. Default
17
+ `false`. Also exposed on `WorkspaceLayout` via
18
+ `sidebarConfig.focusActiveGroup`.
19
+ - `InputOTP`: `expand` prop — when `true`, slots stretch to fill the parent
20
+ width, dividing space equally across groups (each group's `flex-grow` is
21
+ weighted by its slot count so all slots end up the same width). When `false`
22
+ (default), slots use the existing fixed size based on `size`.
23
+
24
+ ### Changed
25
+ - `PageContainer`: the sticky heading strip now uses a translucent background
26
+ with a backdrop blur (`bg-background/75 backdrop-blur-xs`) instead of a solid
27
+ `bg-background`, so content scrolling underneath is subtly visible.
28
+ - `EntryLayout`: reworked scroll behaviour — the outer container is now
29
+ `h-screen overflow-hidden` and the left panel scrolls internally, so the
30
+ background image stays viewport-locked on long forms. The logo is sticky at
31
+ the top of the scroll area with the same translucent backdrop-blur treatment
32
+ as `PageContainer`, and the footer sits at the bottom of the scrollable
33
+ content instead of being pinned to the viewport edge.
34
+
7
35
  ## [1.2.1] - 2026-08-27
8
36
 
9
37
  A patch release that adds one new component (`StatusBadge`). No breaking
@@ -1,4 +1,4 @@
1
- import { Avatar, Menu, List, Button, Link } from './chunk-34PXJOCS.js';
1
+ import { Avatar, Menu, List, Button, Link } from './chunk-KGOWRVSU.js';
2
2
  import { cn } from './chunk-VU4CZ76T.js';
3
3
  import { motion, AnimatePresence } from 'framer-motion';
4
4
  import { jsx, jsxs } from 'react/jsx-runtime';
@@ -1,6 +1,6 @@
1
- import { ProgressBar } from './chunk-KEMHD3KP.js';
1
+ import { ProgressBar } from './chunk-YWRID3U3.js';
2
2
  import { Card, CardContent } from './chunk-JPMN2UMF.js';
3
- import { Tooltip2 } from './chunk-34PXJOCS.js';
3
+ import { Tooltip2 } from './chunk-KGOWRVSU.js';
4
4
  import { jsx, jsxs } from 'react/jsx-runtime';
5
5
 
6
6
  function CopyrightCard({
@@ -3,7 +3,7 @@ import { cn, resolveColor, isPresetColor } from './chunk-VU4CZ76T.js';
3
3
  import { LoaderCircle, EyeOffIcon, EyeIcon, User, CheckIcon, CircleIcon, ChevronRightIcon, ArrowUpRightIcon, CopyIcon, XIcon, PanelLeftIcon, X, ChevronDown, CircleDot, Circle, ChevronRight } from 'lucide-react';
4
4
  import { jsxs, jsx, Fragment } from 'react/jsx-runtime';
5
5
  import * as React from 'react';
6
- import React__default, { useState, useMemo, useRef, useEffect } from 'react';
6
+ import React__default, { useState, useMemo, useEffect, useRef } from 'react';
7
7
  import { Slot as Slot$2, DropdownMenu as DropdownMenu$1, Dialog } from 'radix-ui';
8
8
  import { motion, LayoutGroup, AnimatePresence, isMotionComponent, useInView } from 'motion/react';
9
9
  import * as motion5 from 'motion/react-client';
@@ -3542,21 +3542,35 @@ function Sidebar2({
3542
3542
  footer,
3543
3543
  LinkComponent,
3544
3544
  collapsible = "icon",
3545
- variant = "sidebar"
3545
+ variant = "sidebar",
3546
+ focusActiveGroup = false
3546
3547
  }) {
3547
3548
  const { state, isMobile, setOpenMobile } = useSidebar();
3548
3549
  const isCollapsed = state === "collapsed";
3549
3550
  const closeMobileSidebar = () => {
3550
3551
  if (isMobile) setOpenMobile(false);
3551
3552
  };
3552
- const defaultExpanded = useMemo(() => {
3553
+ const activeGroupId = useMemo(() => {
3554
+ for (const entry of items) {
3555
+ if (!isSidebarGroup(entry)) continue;
3556
+ if (entry.items.some((item) => isPathPrefixOf(item.path, currentPath))) {
3557
+ return entry.id;
3558
+ }
3559
+ }
3560
+ return null;
3561
+ }, [items, currentPath]);
3562
+ const [expandedGroups, setExpandedGroups] = useState(() => {
3563
+ if (focusActiveGroup && activeGroupId) return /* @__PURE__ */ new Set([activeGroupId]);
3553
3564
  const set = /* @__PURE__ */ new Set();
3554
3565
  for (const entry of items) {
3555
3566
  if (isSidebarGroup(entry) && entry.defaultExpanded !== false) set.add(entry.id);
3556
3567
  }
3557
3568
  return set;
3558
- }, [items]);
3559
- const [expandedGroups, setExpandedGroups] = useState(defaultExpanded);
3569
+ });
3570
+ useEffect(() => {
3571
+ if (!focusActiveGroup || !activeGroupId) return;
3572
+ setExpandedGroups(/* @__PURE__ */ new Set([activeGroupId]));
3573
+ }, [focusActiveGroup, activeGroupId]);
3560
3574
  const toggleGroup = (id, open) => {
3561
3575
  setExpandedGroups((prev) => {
3562
3576
  const next = new Set(prev);
@@ -1,5 +1,5 @@
1
- import { FooterCard, MyAccountMenu, ProfileCard, AppLogo } from './chunk-SYEKNRS5.js';
2
- import { useSidebar, SidebarTrigger, SidebarProvider, Sidebar2, SidebarInset, parseTextMarkup, isPathPrefixOf, isSidebarGroup } from './chunk-34PXJOCS.js';
1
+ import { FooterCard, MyAccountMenu, ProfileCard, AppLogo } from './chunk-4J5RO6E2.js';
2
+ import { useSidebar, SidebarTrigger, SidebarProvider, Sidebar2, SidebarInset, parseTextMarkup, isPathPrefixOf, isSidebarGroup } from './chunk-KGOWRVSU.js';
3
3
  import { Button, Breadcrumb, BreadcrumbList, BreadcrumbItem, BreadcrumbLink, BreadcrumbPage, BreadcrumbSeparator } from './chunk-F5P6S7K2.js';
4
4
  import { cn } from './chunk-VU4CZ76T.js';
5
5
  import { Menu, Palette, Check, Globe, LogOut } from 'lucide-react';
@@ -421,7 +421,8 @@ function WorkspaceLayout({
421
421
  footer: sidebarFooter,
422
422
  LinkComponent: sidebarConfig.LinkComponent,
423
423
  collapsible: sidebarConfig.allowCollapsible ? "icon" : "none",
424
- variant: sidebarConfig.variant
424
+ variant: sidebarConfig.variant,
425
+ focusActiveGroup: sidebarConfig.focusActiveGroup
425
426
  }
426
427
  ),
427
428
  /* @__PURE__ */ jsxs(SidebarInset, { className: "overflow-hidden h-dvh max-h-dvh", children: [
@@ -466,14 +467,14 @@ function EntryLayout({
466
467
  }) {
467
468
  const bgImage = backgroundImageUrl ?? entry_layout_bg_default;
468
469
  const resolvedLogo = logo !== void 0 ? logo : logoAssets ? /* @__PURE__ */ jsx(AppLogo, { logo: logoAssets, darkMode, width: 256 }) : appName ? /* @__PURE__ */ jsx(AppLogo, { name: appName, darkMode, width: 256 }) : null;
469
- return /* @__PURE__ */ jsxs("div", { className: "flex min-h-screen w-full", children: [
470
- /* @__PURE__ */ jsxs("div", { className: "w-[40%] flex flex-col py-12 px-10 bg-gradient-to-b from-background to-transparent max-xl:w-full max-xl:py-8 max-xl:px-5", children: [
471
- /* @__PURE__ */ jsxs("div", { className: "flex-1 flex flex-col items-center justify-center", children: [
472
- resolvedLogo !== null && /* @__PURE__ */ jsx("div", { className: "shrink-0 flex justify-center mb-12", children: resolvedLogo }),
473
- children
474
- ] }),
475
- /* @__PURE__ */ jsx("div", { className: "shrink-0 text-center text-xs text-muted-foreground", children: /* @__PURE__ */ jsx(FooterCard, {}) })
476
- ] }),
470
+ return /* @__PURE__ */ jsxs("div", { className: "flex h-screen overflow-hidden w-full", children: [
471
+ /* @__PURE__ */ jsx("div", { className: "w-[40%] flex flex-col overflow-y-auto bg-gradient-to-b from-background to-transparent max-xl:w-full max-xl:py-8 max-xl:px-5", children: /* @__PURE__ */ jsxs("div", { className: "main-content-wrapper h-full flex flex-col justify-center", children: [
472
+ resolvedLogo !== null && /* @__PURE__ */ jsx("div", { className: "sticky top-0 z-10 shrink-0 flex justify-center py-6 bg-background/75 backdrop-blur-xs w-full logo-wrapper", children: resolvedLogo }),
473
+ /* @__PURE__ */ jsxs("div", { children: [
474
+ /* @__PURE__ */ jsx("div", { className: "flex-1 flex flex-col items-center justify-center main-content", children }),
475
+ /* @__PURE__ */ jsx("div", { className: "shrink-0 text-center text-xs text-muted-foreground footer-card-wrapper py-10", children: /* @__PURE__ */ jsx(FooterCard, {}) })
476
+ ] })
477
+ ] }) }),
477
478
  /* @__PURE__ */ jsx(
478
479
  "div",
479
480
  {
@@ -1,5 +1,5 @@
1
1
  import { Card, CardHeader, CardTitle, CardDescription, CardContent, Label, Badge, Popover, PopoverTrigger, PopoverContent, resolveVariantStyles, VariantGradientUnderlay, PRESET_GRADIENT_BACKDROP, PRESET_GRADIENT_FRAME, VARIANT_GRADIENT_BACKDROP_BASE, SILVER_GRADIENT_BACKDROP, VARIANT_GRADIENT_HOVER_OVERLAY_CLASS, arbitraryGradientBackgroundImage, SilverShineOverlay, SilverMetallicBorderOverlay, buttonGroupVariants, useIsInView } from './chunk-JPMN2UMF.js';
2
- import { Button, inputLabelClassName, Input, Tooltip2, TooltipProvider, buttonVariants as buttonVariants$1, CopyButton, Link, Tooltip, TooltipTrigger, TooltipContent, HighlightItem, Slot as Slot$1, Highlight, ScrollArea, DropdownMenu, DropdownMenuTrigger, DropdownMenuContent, DropdownMenuRadioGroup, DropdownMenuRadioItem, DropdownMenuCheckboxItem } from './chunk-34PXJOCS.js';
2
+ import { Button, inputLabelClassName, Input, Tooltip2, TooltipProvider, buttonVariants as buttonVariants$1, CopyButton, Link, Tooltip, TooltipTrigger, TooltipContent, HighlightItem, Slot as Slot$1, Highlight, ScrollArea, DropdownMenu, DropdownMenuTrigger, DropdownMenuContent, DropdownMenuRadioGroup, DropdownMenuRadioItem, DropdownMenuCheckboxItem } from './chunk-KGOWRVSU.js';
3
3
  import { getStrictContext, buttonVariants, Separator, CollapsibleContent, Collapsible, CollapsibleTrigger, Skeleton, Avatar, AvatarFallback, useControlledState } from './chunk-F5P6S7K2.js';
4
4
  import { cn, resolveColor, isPresetColor } from './chunk-VU4CZ76T.js';
5
5
  import { __commonJS, __toESM } from './chunk-TRTQSARU.js';
@@ -53387,6 +53387,11 @@ var slotSizeClasses = {
53387
53387
  default: "h-10 w-10 text-base md:text-sm",
53388
53388
  lg: "h-12 w-12 text-lg"
53389
53389
  };
53390
+ var slotExpandedSizeClasses = {
53391
+ sm: "h-8 text-xs",
53392
+ default: "h-10 text-base md:text-sm",
53393
+ lg: "h-12 text-lg"
53394
+ };
53390
53395
  var InputOTPSeparator = React8.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(
53391
53396
  "div",
53392
53397
  {
@@ -53402,6 +53407,7 @@ InputOTPSeparator.displayName = "InputOTPSeparator";
53402
53407
  var SlotBox = ({
53403
53408
  index: index2,
53404
53409
  size,
53410
+ expand,
53405
53411
  rounded,
53406
53412
  hasError,
53407
53413
  cornerClass
@@ -53425,7 +53431,7 @@ var SlotBox = ({
53425
53431
  // The wrapping row overrides the leading/trailing radii on interior
53426
53432
  // slots so groups read as one connected pill/box.
53427
53433
  cornerClass,
53428
- slotSizeClasses[size]
53434
+ expand ? cn("min-w-0 flex-1", slotExpandedSizeClasses[size]) : slotSizeClasses[size]
53429
53435
  ),
53430
53436
  children: [
53431
53437
  char,
@@ -53477,6 +53483,7 @@ var InputOTP = React8.forwardRef(
53477
53483
  allowAlphaNumeric,
53478
53484
  regex,
53479
53485
  separators,
53486
+ expand,
53480
53487
  value: value2,
53481
53488
  defaultValue,
53482
53489
  onChange,
@@ -53556,30 +53563,39 @@ var InputOTP = React8.forwardRef(
53556
53563
  "aria-describedby": describedBy,
53557
53564
  containerClassName: cn(
53558
53565
  "flex items-center gap-2 has-[:disabled]:opacity-50 has-[:disabled]:cursor-not-allowed",
53566
+ expand && "w-full",
53559
53567
  containerClassName
53560
53568
  ),
53561
53569
  ...restProps,
53562
53570
  children: groups.map((group, groupIndex) => /* @__PURE__ */ jsxs(React8.Fragment, { children: [
53563
53571
  groupIndex > 0 && /* @__PURE__ */ jsx(InputOTPSeparator, {}),
53564
- /* @__PURE__ */ jsx("div", { className: cn("flex items-center", className), children: group.map((slotIndex, positionInGroup) => {
53565
- const isFirst = positionInGroup === 0;
53566
- const isLast = positionInGroup === group.length - 1;
53567
- const cornerClass = cn(
53568
- !isFirst && "-ms-px rounded-s-none",
53569
- !isLast && "rounded-e-none"
53570
- );
53571
- return /* @__PURE__ */ jsx(
53572
- SlotBox,
53573
- {
53574
- index: slotIndex,
53575
- size: effectiveSize,
53576
- rounded: !!rounded,
53577
- hasError,
53578
- cornerClass
53579
- },
53580
- slotIndex
53581
- );
53582
- }) })
53572
+ /* @__PURE__ */ jsx(
53573
+ "div",
53574
+ {
53575
+ className: cn("flex items-center", className),
53576
+ style: expand ? { flex: `${group.length} 1 0%` } : void 0,
53577
+ children: group.map((slotIndex, positionInGroup) => {
53578
+ const isFirst = positionInGroup === 0;
53579
+ const isLast = positionInGroup === group.length - 1;
53580
+ const cornerClass = cn(
53581
+ !isFirst && "-ms-px rounded-s-none",
53582
+ !isLast && "rounded-e-none"
53583
+ );
53584
+ return /* @__PURE__ */ jsx(
53585
+ SlotBox,
53586
+ {
53587
+ index: slotIndex,
53588
+ size: effectiveSize,
53589
+ expand: !!expand,
53590
+ rounded: !!rounded,
53591
+ hasError,
53592
+ cornerClass
53593
+ },
53594
+ slotIndex
53595
+ );
53596
+ })
53597
+ }
53598
+ )
53583
53599
  ] }, `g-${groupIndex}`))
53584
53600
  }
53585
53601
  ),
@@ -66646,7 +66662,7 @@ function PageContainer({
66646
66662
  {
66647
66663
  className: cn(
66648
66664
  "flex flex-col gap-2",
66649
- "sticky top-0 z-11 bg-background",
66665
+ "sticky top-0 z-11 bg-background/75 backdrop-blur-xs",
66650
66666
  elevateHeading && "shadow-md shadow-accent/30"
66651
66667
  ),
66652
66668
  children: [
@@ -1,8 +1,8 @@
1
- export { CopyrightCard, PageLoader } from '../chunk-NHTMHKOR.js';
2
- export { AnimatedRainmakerLogo } from '../chunk-KEMHD3KP.js';
1
+ export { CopyrightCard, PageLoader } from '../chunk-IEHT62YM.js';
2
+ export { AnimatedRainmakerLogo } from '../chunk-YWRID3U3.js';
3
3
  import '../chunk-JPMN2UMF.js';
4
- export { AppLogo, FooterCard, MyAccountMenu, ProfileCard } from '../chunk-SYEKNRS5.js';
5
- import '../chunk-34PXJOCS.js';
4
+ export { AppLogo, FooterCard, MyAccountMenu, ProfileCard } from '../chunk-4J5RO6E2.js';
5
+ import '../chunk-KGOWRVSU.js';
6
6
  import '../chunk-F5P6S7K2.js';
7
7
  import '../chunk-VU4CZ76T.js';
8
8
  import '../chunk-TRTQSARU.js';
@@ -6,8 +6,8 @@ import React__default, { ReactNode, CSSProperties, ReactElement, HTMLAttributes,
6
6
  import { f as ListProps } from '../list.props-DBDJt4C1.js';
7
7
  export { L as LIST_CLASS_NAMES, a as ListGroup, b as ListItem, c as ListItemSize, d as ListItemVariant, e as ListLinkComponentProps, g as ListRole } from '../list.props-DBDJt4C1.js';
8
8
  import { HTMLMotionProps, Transition, SpringOptions, UseInViewOptions } from 'motion/react';
9
- import { e as SidebarProps$1 } from '../types-B_tam56l.js';
10
- export { S as SidebarEndActionConfig, a as SidebarGroupConfig, b as SidebarItemConfig, c as SidebarLinkComponentProps, d as SidebarNavEntry, f as SidebarTopLevelLinkConfig, i as isSidebarGroup } from '../types-B_tam56l.js';
9
+ import { e as SidebarProps$1 } from '../types-4i2wWAqP.js';
10
+ export { S as SidebarEndActionConfig, a as SidebarGroupConfig, b as SidebarItemConfig, c as SidebarLinkComponentProps, d as SidebarNavEntry, f as SidebarTopLevelLinkConfig, i as isSidebarGroup } from '../types-4i2wWAqP.js';
11
11
  import * as class_variance_authority_types from 'class-variance-authority/types';
12
12
  import { VariantProps } from 'class-variance-authority';
13
13
  import { Dialog as Dialog$1, DropdownMenu as DropdownMenu$1, Switch as Switch$1, ToggleGroup as ToggleGroup$1 } from 'radix-ui';
@@ -16381,7 +16381,7 @@ type TooltipContentProps = Omit<TooltipContentProps$1, 'asChild'> & {
16381
16381
  };
16382
16382
  declare function TooltipContent({ className, children, layout, ...props }: TooltipContentProps): React$1.JSX.Element;
16383
16383
 
16384
- declare function Sidebar$1({ items, currentPath, header, headerHeight, footer, LinkComponent, collapsible, variant, }: SidebarProps$1): React$1.JSX.Element;
16384
+ declare function Sidebar$1({ items, currentPath, header, headerHeight, footer, LinkComponent, collapsible, variant, focusActiveGroup, }: SidebarProps$1): React$1.JSX.Element;
16385
16385
 
16386
16386
  interface InputProps extends Omit<React$1.ComponentProps<"input">, "size"> {
16387
16387
  label?: React$1.ReactNode;
@@ -17325,6 +17325,11 @@ interface InputOTPProps {
17325
17325
  * Ignored (with a `console.warn`) when the sum does not equal `length`.
17326
17326
  */
17327
17327
  separators?: number[];
17328
+ /**
17329
+ * When `true`, slots stretch to fill the parent width, dividing space equally.
17330
+ * When `false` (default), slots use a fixed size based on the `size` prop.
17331
+ */
17332
+ expand?: boolean;
17328
17333
  /** Controlled value. */
17329
17334
  value?: string;
17330
17335
  /** Uncontrolled initial value. */
@@ -1,6 +1,6 @@
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, FileUpload, Form, FormControl, FormDescription, FormField, FormItem, FormLabel, FormMessage, FullSizeError, FullscreenDialog, IconAvatar, IconTextActionCard, Illustration, InlineError, InputOTP, InputOTPSeparator, KeyValueManager, LineChart, ListDetails, LottieAnimationContainer, MarkdownContent, MonospaceContent, 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-KEMHD3KP.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, FileUpload, Form, FormControl, FormDescription, FormField, FormItem, FormLabel, FormMessage, FullSizeError, FullscreenDialog, IconAvatar, IconTextActionCard, Illustration, InlineError, InputOTP, InputOTPSeparator, KeyValueManager, LineChart, ListDetails, LottieAnimationContainer, MarkdownContent, MonospaceContent, 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-YWRID3U3.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-JPMN2UMF.js';
3
- export { Avatar, Button, CopyButton, DropdownMenu, DropdownMenuCheckboxItem, DropdownMenuContent, DropdownMenuGroup, DropdownMenuItem, DropdownMenuLabel, DropdownMenuRadioGroup, DropdownMenuRadioItem, DropdownMenuSeparator, DropdownMenuShortcut, DropdownMenuSub, DropdownMenuSubContent, DropdownMenuSubTrigger, DropdownMenuTrigger, 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-34PXJOCS.js';
3
+ export { Avatar, Button, CopyButton, DropdownMenu, DropdownMenuCheckboxItem, DropdownMenuContent, DropdownMenuGroup, DropdownMenuItem, DropdownMenuLabel, DropdownMenuRadioGroup, DropdownMenuRadioItem, DropdownMenuSeparator, DropdownMenuShortcut, DropdownMenuSub, DropdownMenuSubContent, DropdownMenuSubTrigger, DropdownMenuTrigger, 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-KGOWRVSU.js';
4
4
  export { Breadcrumb, BreadcrumbEllipsis, BreadcrumbItem, BreadcrumbLink, BreadcrumbList, BreadcrumbPage, BreadcrumbSeparator, Collapsible, CollapsibleContent, CollapsibleTrigger, Separator, Skeleton, buttonVariants, useIsMobile } from '../chunk-F5P6S7K2.js';
5
5
  import '../chunk-VU4CZ76T.js';
6
6
  import '../chunk-TRTQSARU.js';
package/dist/index.d.ts CHANGED
@@ -2,7 +2,7 @@ export { A as AppName, C as Color, P as PresetColor, S as Size } from './index-C
2
2
  export { B as Badge, a as BadgeProps, b as Breadcrumb, c as BreadcrumbEllipsis, d as BreadcrumbItem, e as BreadcrumbLink, f as BreadcrumbList, g as BreadcrumbPage, h as BreadcrumbSeparator, i as ButtonGroup, j as ButtonGroupSeparator, k as ButtonGroupText, C as Card, l as CardContent, m as CardDescription, n as CardFooter, o as CardHeader, p as CardTitle, q as Collapsible, r as CollapsibleContent, s as CollapsibleTrigger, L as Label, P as PRESET_GRADIENT_BACKDROP, t as PRESET_GRADIENT_FRAME, u as Popover, v as PopoverAnchor, w as PopoverContent, x as PopoverTrigger, S as Separator, y as Skeleton, V as VARIANTS, z as VARIANT_GRADIENT_BACKDROP_BASE, A as VARIANT_GRADIENT_DURATION_CLASS, D as VARIANT_GRADIENT_HOVER_OVERLAY_CLASS, E as VARIANT_GRADIENT_TRANSITION_DURATION_MS, F as Variant, G as VariantStyles, H as arbitraryGradientBackgroundImage, I as badgeVariants, J as buttonGroupVariants, K as buttonVariants, M as resolveVariantStyles, N as useIsMobile } from './popover-CRznb4Q7.js';
3
3
  export { Accordion, AccordionItem, AccordionProps, AccordionSize, AdvancedSearchBox, AdvancedSearchBoxProps, Alert, AlertColor, AlertIconAvatarVariant, AlertProps, AlertSize, AlertType, AlertVariant, AnimatedCard, AnimatedCardProps, AnimatedCardType, AreaChart, AreaChartProps, AsyncCombobox, AsyncComboboxProps, AsyncMultiSelect, AsyncMultiSelectOption, AsyncMultiSelectProps, Avatar, AvatarProps, BarChart, BarChartProps, BarSize, BasicDetailsCard, BasicDetailsCardProps, Button, ButtonProps, CHART_CATEGORY_COLORS, CHART_SERIES_COLORS, Calendar, CalendarDayButton, CalendarProps, Carousel, CarouselItem, CarouselNavigationState, CarouselNavigationStyle, CarouselOrientation, CarouselProps, ChartCategoryColorKey, ChartConfig, ChartContainer, ChartLegend, ChartLegendContent, ChartSeriesColorKey, ChartStyle, ChartTooltip, ChartTooltipContent, Checkbox, CircularProgress, CircularProgressProps, Code, CodeProps, CollapsibleCard, CollapsibleCardProps, ComboboxOption, ComposedChart, ComposedChartProps, ComposedChartSeries, ConfirmationDialog, ConfirmationDialogProps, ContentContainer, ContentContainerMaxWidth, ContentContainerProps, CopiableText, CopiableTextProps, CopyButton, CopyButtonProps, DEFAULT_CHART_SERIES_COLORS, DEFAULT_PAGE_SIZE_OPTIONS, DataTable, DataTableProps, DatePicker, DatePickerProps, DateRangePicker, DateRangePickerCommittedRange, DateRangePickerDraftRange, DateRangePickerPresetId, DateRangePickerProps, DeviceIcon, DeviceIconProps, Dialog, DialogClose, DialogCloseProps, DialogContent, DialogContentProps, DialogDescription, DialogDescriptionProps, DialogFooter, DialogFooterProps, DialogHeader, DialogHeaderProps, DialogProps, DialogTitle, DialogTitleProps, DialogTrigger, DialogTriggerProps, DonutChart, DonutChartProps, DonutDatum, DropdownMenu, DropdownMenuCheckboxItem, DropdownMenuCheckboxItemProps, DropdownMenuContent, DropdownMenuContentProps, DropdownMenuGroup, DropdownMenuGroupProps, DropdownMenuItem, DropdownMenuItemProps, DropdownMenuLabel, DropdownMenuLabelProps, DropdownMenuProps, DropdownMenuRadioGroup, DropdownMenuRadioGroupProps, DropdownMenuRadioItem, DropdownMenuRadioItemProps, DropdownMenuSeparator, DropdownMenuSeparatorProps, DropdownMenuShortcut, DropdownMenuShortcutProps, DropdownMenuSub, DropdownMenuSubContent, DropdownMenuSubContentProps, DropdownMenuSubProps, DropdownMenuSubTrigger, DropdownMenuSubTriggerProps, DropdownMenuTrigger, DropdownMenuTriggerProps, DynamicList, DynamicListEntry, DynamicListMetaEntry, DynamicListMetaType, DynamicListProps, FileUpload, FileUploadProps, Form, FormControl, FormDescription, FormField, FormItem, FormLabel, FormMessage, FullSizeError, FullSizeErrorProps, FullscreenDialog, FullscreenDialogProps, GlitchText, GlitchTextProps, GoBackLinkData, GradientText, GradientTextProps, HighlightText, HighlightTextProps, IconAvatar, IconAvatarProps, IconAvatarRingProps, IconAvatarVariant, IconTextActionCard, IconTextActionCardProps, IconTextActionCardVariant, Illustration, IllustrationProps, IllustrationType, InlineError, InlineErrorProps, Input, InputOTP, InputOTPProps, InputOTPSeparator, InputPassword, InvertButton, InvertButtonProps, KeyValueManager, KeyValueManagerFieldMeta, KeyValueManagerItem, KeyValueManagerLabels, KeyValueManagerProps, LineChart, LineChartProps, LineStrokeWidth, Link, LinkColor, LinkProps, List, ListDetails, ListDetailsItem, ListDetailsProps, ListDetailsTitleListPanelColumnWidth, LottieAnimationContainer, LottieAnimationContainerProps, MarkdownContent, MarkdownContentProps, Menu, MenuProps, MonospaceContent, MonospaceContentProps, NoDataCard, NoDataCardProps, OverflowBadgeList, OverflowBadgeListColor, OverflowBadgeListProps, PRESET_IDS, PRESET_LABELS, PageContainer, PageContainerMaxWidth, PageContainerProps, PageContainerSkeleton, PageContainerSkeletonProps, Pagination, PaginationProps, PopCollectionItem, PopCollectionItemProps, PreviewCard, PreviewCardBackdrop, PreviewCardBackdropProps, PreviewCardPanel, PreviewCardPanelProps, PreviewCardProps, PreviewCardTrigger, PreviewCardTriggerProps, ProgressBar, ProgressBarProps, ProgressBarSegment, RadioGroup, RadioGroupProps, RadioGroupSize, RadioOption, RequirementList, RequirementListItem, RequirementListProps, RequirementListSize, ScrollArea, ScrollBar, ScrollableSections, ScrollableSectionsContentProps, ScrollableSectionsProps, ScrollableSectionsTabProps, ScrollableSectionsTabsProps, SearchBox, SearchBoxProps, SearchMeta, SectionCard, SectionCardProps, SectionCardSize, SectionCardVariant, Select, SelectContent, SelectGroup, SelectItem, SelectLabel, SelectScrollDownButton, SelectScrollUpButton, SelectSeparator, SelectTrigger, SelectTriggerProps, SelectValue, SelectableCardList, SelectableCardListElement, SelectableCardListItem, SelectableCardListMultiProps, SelectableCardListProps, SelectableCardListSingleProps, SelectableCardListSize, Sheet, SheetClose, SheetCloseProps, SheetContent, SheetContentProps, SheetDescription, SheetDescriptionProps, SheetFooter, SheetFooterProps, SheetHeader, SheetHeaderProps, SheetProps, SheetTitle, SheetTitleProps, SheetTrigger, SheetTriggerProps, ShimmeringText, ShimmeringTextProps, Sidebar, SidebarContent, SidebarFooter, SidebarGroup, SidebarGroupAction, SidebarGroupContent, SidebarGroupLabel, SidebarHeader, SidebarInput, SidebarInset, SidebarMenu, SidebarMenuAction, SidebarMenuBadge, SidebarMenuButton, SidebarMenuItem, SidebarMenuSkeleton, SidebarMenuSub, SidebarMenuSubButton, SidebarMenuSubItem, SidebarPrimitive, SidebarProvider, SidebarRail, SidebarSeparator, SidebarTrigger, SimpleCard, SimpleCardProps, SimpleClickableCard, SimpleClickableCardProps, SimpleClickableCardSharedProps, SimpleClickableCardVariant, SimpleInfoCard, SimpleInfoCardProps, SimpleList, SimpleListAvatarSize, SimpleListIconStyle, SimpleListItem, SimpleListItemDirection, SimpleListProps, SimplePaginatedList, SimplePaginatedListItem, SimplePaginatedListProps, SimplePaginatedListSize, SimplifiedDate, SimplifiedDateProps, Spinner, SpinnerProps, StatCard, StatCardProps, StatCardSize, StatCardValueType, StatusBadge, StatusBadgeProps, StatusCardList, StatusCardListItem, StatusCardListProps, StatusCardListSize, StatusCardState, Switch, SwitchProps, TYPOGRAPHY_VARIANTS, Table, TableBody, TableCaption, TableCell, TableFooter, TableHead, TableHeader, TableRow, TableSkeleton, Tabs, TabsContent, TabsContentProps, TabsContents, TabsContentsProps, TabsList, TabsListProps, TabsProps, TabsTrigger, TabsTriggerProps, Tag, TagInput, TagInputProps, TagProps, Textarea, TextareaProps, TimePicker, TimePickerProps, Toast, ToastColor, ToastId, ToastInput, ToastOptions, ToastProps, ToastToasterProps, ToastType, ToastVariant, Toaster, TogglableItem, TogglableItemsList, TogglableItemsListProps, ToggleGroup, ToggleGroupItem, ToggleGroupItemProps, ToggleGroupProps, Tooltip, TooltipContent, TooltipContentProps, TooltipProps, TooltipProvider, TooltipProviderProps, TooltipRoot, TooltipTrigger, TooltipTriggerProps, TransferItem, TransferList, TransferListProps, TreemapAnimationEasing, TreemapChart, TreemapChartProps, TreemapDatum, TreemapTileLabelStyle, Typography, TypographyProps, TypographyVariant, UserType, UserTypeBadge, UserTypeBadgeProps, UserTypeBadgeRegistryItem, VerificationInProgress, VerificationInProgressProps, VerticalStepper, VerticalStepperProps, VerticalStepperSize, VerticalStepperStep, VerticalStepperStepStatus, animatedCardAnimations, animatedCardTypeKeys, buildSeriesChartConfig, computeDateRange, getChartSeriesColor, illustrationRegistry, illustrationsById, parseSvgViewBoxAspectRatio, parseTextMarkup, statusBadgeSizeVariants, toast, typographyDefaultElement, typographyVariantClasses, useFormField, useSidebar, userTypeBadgeRegistry, userTypeBadgeSizeVariants, userTypeBadgeUserTypes } from './components/index.js';
4
4
  export { L as LIST_CLASS_NAMES, a as ListGroup, b as ListItem, c as ListItemSize, d as ListItemVariant, e as ListLinkComponentProps, f as ListProps, g as ListRole } from './list.props-DBDJt4C1.js';
5
- export { S as SidebarEndActionConfig, a as SidebarGroupConfig, b as SidebarItemConfig, c as SidebarLinkComponentProps, d as SidebarNavEntry, e as SidebarProps, f as SidebarTopLevelLinkConfig, i as isSidebarGroup } from './types-B_tam56l.js';
5
+ export { S as SidebarEndActionConfig, a as SidebarGroupConfig, b as SidebarItemConfig, c as SidebarLinkComponentProps, d as SidebarNavEntry, e as SidebarProps, f as SidebarTopLevelLinkConfig, i as isSidebarGroup } from './types-4i2wWAqP.js';
6
6
  export { AnimatedRainmakerLogo, AnimatedRainmakerLogoProps, AppLogo, CopyrightCard, CopyrightCardProps, FooterCard, MyAccountMenu, MyAccountMenuProps, PageLoader, ProfileCard, ProfileCardProps } from './common/index.js';
7
7
  export { A as AppLogoProps, L as LogoAsset, a as LogoAssetConfig, b as LogoVariantSet } from './app-logo.props-TKCDuodn.js';
8
8
  export { AccountMenu, AccountMenuProps, BreadcrumbItemConfig, EntryLayout, EntryLayoutProps, LanguageOption, WorkspaceFooter, WorkspaceFooterConfig, WorkspaceFooterProps, WorkspaceHeader, WorkspaceHeaderConfig, WorkspaceHeaderProps, WorkspaceLayout, WorkspaceLayoutProps, WorkspaceSidebarConfig } from './layouts/index.js';
package/dist/index.js CHANGED
@@ -1,9 +1,9 @@
1
- export { CopyrightCard, PageLoader } from './chunk-NHTMHKOR.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, FileUpload, Form, FormControl, FormDescription, FormField, FormItem, FormLabel, FormMessage, FullSizeError, FullscreenDialog, IconAvatar, IconTextActionCard, Illustration, InlineError, InputOTP, InputOTPSeparator, KeyValueManager, LineChart, ListDetails, LottieAnimationContainer, MarkdownContent, MonospaceContent, 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-KEMHD3KP.js';
1
+ export { CopyrightCard, PageLoader } from './chunk-IEHT62YM.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, FileUpload, Form, FormControl, FormDescription, FormField, FormItem, FormLabel, FormMessage, FullSizeError, FullscreenDialog, IconAvatar, IconTextActionCard, Illustration, InlineError, InputOTP, InputOTPSeparator, KeyValueManager, LineChart, ListDetails, LottieAnimationContainer, MarkdownContent, MonospaceContent, 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-YWRID3U3.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-JPMN2UMF.js';
4
- export { AccountMenu, EntryLayout, Footer as WorkspaceFooter, Header as WorkspaceHeader, WorkspaceLayout } from './chunk-W2L5GRI2.js';
5
- export { AppLogo, FooterCard, MyAccountMenu, ProfileCard } from './chunk-SYEKNRS5.js';
6
- export { Avatar, Button, CopyButton, DropdownMenu, DropdownMenuCheckboxItem, DropdownMenuContent, DropdownMenuGroup, DropdownMenuItem, DropdownMenuLabel, DropdownMenuRadioGroup, DropdownMenuRadioItem, DropdownMenuSeparator, DropdownMenuShortcut, DropdownMenuSub, DropdownMenuSubContent, DropdownMenuSubTrigger, DropdownMenuTrigger, 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-34PXJOCS.js';
4
+ export { AccountMenu, EntryLayout, Footer as WorkspaceFooter, Header as WorkspaceHeader, WorkspaceLayout } from './chunk-XDY5H3S3.js';
5
+ export { AppLogo, FooterCard, MyAccountMenu, ProfileCard } from './chunk-4J5RO6E2.js';
6
+ export { Avatar, Button, CopyButton, DropdownMenu, DropdownMenuCheckboxItem, DropdownMenuContent, DropdownMenuGroup, DropdownMenuItem, DropdownMenuLabel, DropdownMenuRadioGroup, DropdownMenuRadioItem, DropdownMenuSeparator, DropdownMenuShortcut, DropdownMenuSub, DropdownMenuSubContent, DropdownMenuSubTrigger, DropdownMenuTrigger, 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-KGOWRVSU.js';
7
7
  export { Breadcrumb, BreadcrumbEllipsis, BreadcrumbItem, BreadcrumbLink, BreadcrumbList, BreadcrumbPage, BreadcrumbSeparator, Collapsible, CollapsibleContent, CollapsibleTrigger, Separator, Skeleton, buttonVariants, useControlledState, useIsMobile } from './chunk-F5P6S7K2.js';
8
8
  export { cn } from './chunk-VU4CZ76T.js';
9
9
  import './chunk-TRTQSARU.js';
@@ -1,7 +1,7 @@
1
1
  import * as React from 'react';
2
2
  import { ReactNode, ComponentType } from 'react';
3
- import { d as SidebarNavEntry, c as SidebarLinkComponentProps } from '../types-B_tam56l.js';
4
- export { f as SidebarTopLevelLinkConfig, i as isSidebarGroup } from '../types-B_tam56l.js';
3
+ import { d as SidebarNavEntry, c as SidebarLinkComponentProps } from '../types-4i2wWAqP.js';
4
+ export { f as SidebarTopLevelLinkConfig, i as isSidebarGroup } from '../types-4i2wWAqP.js';
5
5
  import { a as ListGroup } from '../list.props-DBDJt4C1.js';
6
6
  import { C as Color, A as AppName } from '../index-Cv9vHALn.js';
7
7
  import { a as LogoAssetConfig } from '../app-logo.props-TKCDuodn.js';
@@ -29,6 +29,13 @@ interface WorkspaceSidebarConfig {
29
29
  variant?: "sidebar" | "floating" | "inset";
30
30
  /** Path to navigate when clicking the sidebar logo (e.g. "/" or "/dashboard"). */
31
31
  indexPath?: string;
32
+ /**
33
+ * When true, only the group containing the current route is expanded; other
34
+ * groups collapse whenever the active group changes. Users can still expand
35
+ * others manually — those expansions persist until the active group changes.
36
+ * Useful for sidebars with many groups. Default false.
37
+ */
38
+ focusActiveGroup?: boolean;
32
39
  }
33
40
  interface BreadcrumbItemConfig {
34
41
  label: string;
@@ -1,6 +1,6 @@
1
- export { AccountMenu, EntryLayout, Footer as WorkspaceFooter, Header as WorkspaceHeader, WorkspaceLayout } from '../chunk-W2L5GRI2.js';
2
- import '../chunk-SYEKNRS5.js';
3
- export { isSidebarGroup } from '../chunk-34PXJOCS.js';
1
+ export { AccountMenu, EntryLayout, Footer as WorkspaceFooter, Header as WorkspaceHeader, WorkspaceLayout } from '../chunk-XDY5H3S3.js';
2
+ import '../chunk-4J5RO6E2.js';
3
+ export { isSidebarGroup } from '../chunk-KGOWRVSU.js';
4
4
  import '../chunk-F5P6S7K2.js';
5
5
  import '../chunk-VU4CZ76T.js';
6
6
  import '../chunk-TRTQSARU.js';
@@ -81,6 +81,17 @@ type SidebarProps = {
81
81
  collapsible?: "icon" | "offcanvas" | "none";
82
82
  /** Sidebar variant */
83
83
  variant?: "sidebar" | "floating" | "inset";
84
+ /**
85
+ * When true, only the group that contains the current route is expanded;
86
+ * other groups start collapsed and are collapsed again whenever the active
87
+ * group changes. Users can still expand other groups manually, and those
88
+ * manual expansions persist until the active group changes.
89
+ *
90
+ * Useful for sidebars with many groups where scanning a fully-expanded tree
91
+ * is noisy. Any per-group `defaultExpanded` is ignored while this is on
92
+ * (the active group takes precedence). Default false.
93
+ */
94
+ focusActiveGroup?: boolean;
84
95
  };
85
96
 
86
97
  export { type SidebarEndActionConfig as S, type SidebarGroupConfig as a, type SidebarItemConfig as b, type SidebarLinkComponentProps as c, type SidebarNavEntry as d, type SidebarProps as e, type SidebarTopLevelLinkConfig as f, isSidebarGroup as i };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@espressif/dashboard-ui-components",
3
- "version": "1.2.1",
3
+ "version": "1.2.2",
4
4
  "description": "Reusable React UI components, page layouts, and utilities — Espressif's dashboard design system.",
5
5
  "keywords": [
6
6
  "react",