@borisj74/bv-ds 0.1.1 → 0.1.3

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.
Files changed (37) hide show
  1. package/dist/index.cjs +143 -28
  2. package/dist/index.d.cts +56 -26
  3. package/dist/index.d.ts +56 -26
  4. package/dist/index.js +143 -29
  5. package/package.json +11 -9
  6. package/src/components/Button/Button.tsx +42 -22
  7. package/src/components/ButtonDestructive/ButtonDestructive.tsx +3 -3
  8. package/src/components/CalendarColumnHeader/CalendarColumnHeader.tsx +1 -1
  9. package/src/components/CalendarViewDropdown/CalendarViewDropdown.tsx +1 -1
  10. package/src/components/ChartTooltip/ChartTooltip.tsx +1 -1
  11. package/src/components/Checkbox/checkboxBase.tsx +1 -1
  12. package/src/components/ContentFeatureText/ContentFeatureText.tsx +3 -2
  13. package/src/components/ContextMenu/ContextMenu.tsx +1 -1
  14. package/src/components/FeaturedIcon/FeaturedIcon.tsx +146 -0
  15. package/src/components/FeaturedIcon/index.ts +7 -0
  16. package/src/components/MessageAction/MessageAction.tsx +1 -1
  17. package/src/components/NavAccountCard/NavAccountCard.tsx +42 -5
  18. package/src/components/NavAccountCard/index.ts +5 -1
  19. package/src/components/NavAccountCardMenuItem/NavAccountCardMenuItem.tsx +1 -1
  20. package/src/components/NavButton/NavButton.tsx +1 -1
  21. package/src/components/NavFeaturedCard/NavFeaturedCard.tsx +1 -1
  22. package/src/components/NavItemBase/NavItemBase.tsx +1 -1
  23. package/src/components/NavItemDropdownBase/NavItemDropdownBase.tsx +1 -1
  24. package/src/components/PageHeader/PageHeader.tsx +1 -1
  25. package/src/components/PaginationDotIndicator/PaginationDotIndicator.tsx +1 -1
  26. package/src/components/ProgressBar/ProgressBar.tsx +1 -1
  27. package/src/components/RadioGroupItem/RadioGroupItem.tsx +1 -1
  28. package/src/components/SelectMenuItem/SelectMenuItem.tsx +2 -2
  29. package/src/components/SidebarNavigation/SidebarNavigation.tsx +2 -2
  30. package/src/components/SocialButton/SocialButton.tsx +2 -2
  31. package/src/components/TableHeaderLabel/TableHeaderLabel.tsx +1 -1
  32. package/src/components/Toggle/Toggle.tsx +1 -1
  33. package/src/components/Tooltip/Tooltip.tsx +1 -1
  34. package/src/components/TreeViewItem/TreeViewItem.tsx +1 -1
  35. package/src/components/VerificationCodeInput/VerificationCodeInput.tsx +1 -1
  36. package/src/index.ts +1 -0
  37. package/tailwind-preset.js +223 -210
package/dist/index.d.ts CHANGED
@@ -1,5 +1,5 @@
1
1
  import * as react from 'react';
2
- import { ReactNode, ButtonHTMLAttributes, MouseEventHandler, HTMLAttributes, CSSProperties, InputHTMLAttributes, ElementType, TextareaHTMLAttributes, SVGProps } from 'react';
2
+ import react__default, { ReactNode, ButtonHTMLAttributes, MouseEventHandler, HTMLAttributes, CSSProperties, InputHTMLAttributes, ElementType, TextareaHTMLAttributes, SVGProps } from 'react';
3
3
 
4
4
  type ActivityFeedDivider = "line" | "connector" | "divider" | "none";
5
5
  interface ActivityFeedProps {
@@ -576,7 +576,7 @@ interface ChartTooltipProps {
576
576
  }
577
577
  /**
578
578
  * Themed tooltip card for the Recharts chart wrappers — pass as the chart's
579
- * `<Tooltip content={<ChartTooltip />} />`. Renders a `bg-primary` card with the
579
+ * `<Tooltip content={<ChartTooltip />} />`. Renders a `bg-bg-primary` card with the
580
580
  * point label and one colored-dot row per series. Returns null when inactive.
581
581
  */
582
582
  declare function ChartTooltip({ active, payload, label, formatValue }: ChartTooltipProps): react.JSX.Element | null;
@@ -837,7 +837,7 @@ interface ContextMenuProps {
837
837
  }
838
838
  /**
839
839
  * A thin positioned panel for right-click menus. Reuses the dropdown panel
840
- * tokens (shadow-lg, border-secondary-alt, radius-md) and renders whatever
840
+ * tokens (shadow-lg, border-border-secondary-alt, radius-md) and renders whatever
841
841
  * rows you pass — compose DropdownMenuListItem children; it does NOT
842
842
  * reimplement list items. Pair with `useContextMenu`.
843
843
  */
@@ -1042,6 +1042,28 @@ interface EmptyStateProps {
1042
1042
  */
1043
1043
  declare function EmptyState({ icon, title, description, actions, size, className, }: EmptyStateProps): react.JSX.Element;
1044
1044
 
1045
+ type FeaturedIconColor = "brand" | "gray" | "error" | "warning" | "success";
1046
+ type FeaturedIconTheme = "light" | "dark" | "gradient" | "modern" | "modern-neue";
1047
+ type FeaturedIconSize = "sm" | "md" | "lg" | "xl";
1048
+ interface FeaturedIconProps extends Omit<react__default.HTMLAttributes<HTMLSpanElement>, "color"> {
1049
+ /** Icon element (e.g. from @borisj74/bv-ds-icons). Inherits currentColor. */
1050
+ icon: react__default.ReactNode;
1051
+ color?: FeaturedIconColor;
1052
+ theme?: FeaturedIconTheme;
1053
+ size?: FeaturedIconSize;
1054
+ }
1055
+ /**
1056
+ * FeaturedIcon — Untitled UI "Featured icon" (node 1102:5338).
1057
+ *
1058
+ * A coloured container wrapping an icon, used by Empty state, Alert, Metric,
1059
+ * Notification, etc. Pass the icon via the `icon` slot — it inherits
1060
+ * currentColor, so no fill/stroke props are needed.
1061
+ *
1062
+ * `modern` and `modern-neue` are neutral white-card treatments (gray-only in
1063
+ * Figma); the `color` prop is ignored for those two themes.
1064
+ */
1065
+ declare function FeaturedIcon({ icon, color, theme, size, className, ...rest }: FeaturedIconProps): react__default.JSX.Element;
1066
+
1045
1067
  type FeedItemSize = "sm" | "md";
1046
1068
  interface FeedItemBaseProps {
1047
1069
  /** Display name of the actor (e.g. "Olivia Rhye"). */
@@ -1284,7 +1306,7 @@ interface TooltipProps extends HTMLAttributes<HTMLDivElement> {
1284
1306
  arrow?: TooltipArrow;
1285
1307
  }
1286
1308
  /**
1287
- * Presentational tooltip bubble (dark `bg-primary-solid`, white text). `text` is
1309
+ * Presentational tooltip bubble (dark `bg-bg-primary-solid`, white text). `text` is
1288
1310
  * the heading; `supportingText` adds a second `utility-neutral-300` line (max
1289
1311
  * 296px). `arrow` positions a small pointer on the bubble edge (rendered as a
1290
1312
  * rotated square). Positioning relative to a trigger is the caller's job.
@@ -1497,7 +1519,7 @@ interface MessageActionProps extends Omit<HTMLAttributes<HTMLDivElement>, "onCha
1497
1519
  * - **minimal** — single-line field + square send button (row).
1498
1520
  * - **textarea** — multiline box, attach/emoji + brand Send pinned bottom-right,
1499
1521
  * record button top-right.
1500
- * - **advanced** — AI prompt box on `bg-secondary`; author chip + Shortcuts/Attach
1522
+ * - **advanced** — AI prompt box on `bg-bg-secondary`; author chip + Shortcuts/Attach
1501
1523
  * footer, mic top-right, resize handle.
1502
1524
  *
1503
1525
  * Renders real `<input>`/`<textarea>` (controlled via `value`/`onValueChange`);
@@ -1689,12 +1711,20 @@ interface MultiSelectProps {
1689
1711
  declare function MultiSelect({ options, value, onChange, open, onToggle, label, hint, placeholder, searchable, disabled, invalid, className, }: MultiSelectProps): react.JSX.Element;
1690
1712
 
1691
1713
  type NavAccountCardVariant = "simple" | "card";
1714
+ type NavAccountCardBreakpoint = "desktop" | "mobile";
1692
1715
  interface NavAccountCardProps extends Omit<HTMLAttributes<HTMLDivElement>, "title"> {
1693
1716
  /** `simple` = inline row + sign-out button · `card` = boxed trigger that opens a menu. */
1694
1717
  variant?: NavAccountCardVariant;
1695
1718
  /** card only — whether the dropdown menu is shown. */
1696
1719
  open?: boolean;
1720
+ /** Width: `desktop` = 280px · `mobile` = 256px. */
1721
+ breakpoint?: NavAccountCardBreakpoint;
1722
+ /** Custom avatar node — takes precedence over the built-in `src` treatment. */
1697
1723
  avatar?: ReactNode;
1724
+ /** Image URL for the built-in layered avatar (used when `avatar` is not supplied). */
1725
+ src?: string;
1726
+ /** Status dot on the built-in avatar — `true` online (green) · `false` offline (gray) · omit for none. */
1727
+ online?: boolean;
1698
1728
  name?: ReactNode;
1699
1729
  email?: ReactNode;
1700
1730
  /** card only — toggles the dropdown (fires on trigger click). */
@@ -1712,13 +1742,13 @@ interface NavAccountCardProps extends Omit<HTMLAttributes<HTMLDivElement>, "titl
1712
1742
  * with a sign-out button; `card` renders a boxed trigger that, when `open`,
1713
1743
  * reveals a dropdown (the `menu` slot — compose `NavAccountCardMenuItem` rows).
1714
1744
  *
1715
- * The active account is marked with `bg-brand-solid` (the radio inside the
1745
+ * The active account is marked with `bg-bg-brand-solid` (the radio inside the
1716
1746
  * account menu items). Note: Figma opens the desktop menu as a right-side
1717
1747
  * flyout; this opens it above the trigger (`bottom-full`) — a layout
1718
1748
  * simplification (see figma-map). Width defaults to 280px; override via
1719
1749
  * `className` for mobile (256px).
1720
1750
  */
1721
- declare function NavAccountCard({ variant, open, avatar, name, email, onToggle, onSignOut, menu, className, ...rest }: NavAccountCardProps): react.JSX.Element;
1751
+ declare function NavAccountCard({ variant, open, breakpoint, avatar, src, online, name, email, onToggle, onSignOut, menu, className, ...rest }: NavAccountCardProps): react.JSX.Element;
1722
1752
 
1723
1753
  type NavAccountCardMenuItemType = "menu-item" | "account";
1724
1754
  interface NavAccountCardMenuItemProps extends Omit<ButtonHTMLAttributes<HTMLButtonElement>, "name" | "type"> {
@@ -1743,12 +1773,12 @@ interface NavAccountCardMenuItemProps extends Omit<ButtonHTMLAttributes<HTMLButt
1743
1773
  * A single row inside `NavAccountCard`'s dropdown. Two shapes:
1744
1774
  * - `menu-item` — icon + label + optional shortcut chip (View profile, Settings…).
1745
1775
  * - `account` — avatar + name/email with a radio indicator; `current` fills the
1746
- * radio with `bg-brand-solid` (the active-account marker).
1776
+ * radio with `bg-bg-brand-solid` (the active-account marker).
1747
1777
  */
1748
1778
  declare function NavAccountCardMenuItem({ type, current, icon, label, shortcut, avatar, name, email, className, ...rest }: NavAccountCardMenuItemProps): react.JSX.Element;
1749
1779
 
1750
1780
  interface NavButtonProps extends Omit<ButtonHTMLAttributes<HTMLButtonElement>, "children"> {
1751
- /** Active route — applies the selected (`bg-secondary`) background. */
1781
+ /** Active route — applies the selected (`bg-bg-secondary`) background. */
1752
1782
  current?: boolean;
1753
1783
  /** Render only the leading icon (square button). */
1754
1784
  iconOnly?: boolean;
@@ -1773,7 +1803,7 @@ interface NavFeaturedCardProps extends Omit<HTMLAttributes<HTMLDivElement>, "tit
1773
1803
  children?: ReactNode;
1774
1804
  /** CTA row — compose Button(s) / link buttons. */
1775
1805
  action?: ReactNode;
1776
- /** Bordered surface (`bg-primary` + border) vs subtle (`bg-secondary`). */
1806
+ /** Bordered surface (`bg-bg-primary` + border) vs subtle (`bg-bg-secondary`). */
1777
1807
  bordered?: boolean;
1778
1808
  /** Renders an x-close button top-right. */
1779
1809
  onClose?: () => void;
@@ -1788,7 +1818,7 @@ interface NavFeaturedCardProps extends Omit<HTMLAttributes<HTMLDivElement>, "tit
1788
1818
  declare function NavFeaturedCard({ icon, title, subtitle, children, action, bordered, onClose, className, ...rest }: NavFeaturedCardProps): react.JSX.Element;
1789
1819
 
1790
1820
  interface NavItemBaseProps extends Omit<ButtonHTMLAttributes<HTMLButtonElement>, "children"> {
1791
- /** Active route — selected (`bg-secondary`) background. */
1821
+ /** Active route — selected (`bg-bg-secondary`) background. */
1792
1822
  current?: boolean;
1793
1823
  /** Leading icon (20px). */
1794
1824
  icon?: ReactNode;
@@ -1807,7 +1837,7 @@ interface NavItemBaseProps extends Omit<ButtonHTMLAttributes<HTMLButtonElement>,
1807
1837
  declare function NavItemBase({ current, icon, label, dot, badge, trailingChevron, className, type, ...rest }: NavItemBaseProps): react.JSX.Element;
1808
1838
 
1809
1839
  interface NavItemDropdownBaseProps extends Omit<ButtonHTMLAttributes<HTMLButtonElement>, "children"> {
1810
- /** Active group — selected (`bg-secondary`) background on the trigger. */
1840
+ /** Active group — selected (`bg-bg-secondary`) background on the trigger. */
1811
1841
  current?: boolean;
1812
1842
  /** Expanded state — reveals the submenu. */
1813
1843
  open?: boolean;
@@ -1893,7 +1923,7 @@ interface PageHeaderProps extends Omit<HTMLAttributes<HTMLDivElement>, "title" |
1893
1923
  actions?: ReactNode;
1894
1924
  /** Optional breadcrumbs slot above the title. */
1895
1925
  breadcrumbs?: ReactNode;
1896
- /** Banner background image (banner styles); falls back to `bg-tertiary`. */
1926
+ /** Banner background image (banner styles); falls back to `bg-bg-tertiary`. */
1897
1927
  bannerUrl?: string;
1898
1928
  }
1899
1929
  /**
@@ -1983,7 +2013,7 @@ interface PaginationDotIndicatorProps extends HTMLAttributes<HTMLDivElement> {
1983
2013
  }
1984
2014
  /**
1985
2015
  * Single pagination indicator — a dot or a line. `current` fills it with the
1986
- * brand colour, otherwise `bg-quaternary`. Dimensions per size/variant match
2016
+ * brand colour, otherwise `bg-bg-quaternary`. Dimensions per size/variant match
1987
2017
  * Figma (dot md 8 / lg 10; line md h6 / lg h8, both 40 wide).
1988
2018
  */
1989
2019
  declare function PaginationDotIndicator({ current, size, variant, className, ...rest }: PaginationDotIndicatorProps): react.JSX.Element;
@@ -2037,7 +2067,7 @@ interface ProgressBarProps extends HTMLAttributes<HTMLDivElement> {
2037
2067
  }
2038
2068
  /**
2039
2069
  * Progress bar — pure CSS, no chart lib. `value` (0–100) drives an animated fill
2040
- * (`fg-brand-primary` on a `bg-quaternary` track). `label`: none / right (inline
2070
+ * (`fg-brand-primary` on a `bg-bg-quaternary` track). `label`: none / right (inline
2041
2071
  * %) / bottom (% under) / top|bottom-floating (tooltip bubble tracking the fill).
2042
2072
  */
2043
2073
  declare function ProgressBar({ value, label, className, ...rest }: ProgressBarProps): react.JSX.Element;
@@ -2159,7 +2189,7 @@ interface RadioGroupItemProps extends Omit<ButtonHTMLAttributes<HTMLButtonElemen
2159
2189
  }
2160
2190
  /**
2161
2191
  * Selectable radio/checkbox card. One component over the 6 Figma `type`s — the
2162
- * shared shell (border, padding, `radius-xl`, selected `border-brand`) is
2192
+ * shared shell (border, padding, `radius-xl`, selected `border-border-brand`) is
2163
2193
  * constant; only the leading element and control placement change. `radioButton`
2164
2194
  * uses a radio (leading); `checkbox` a checkbox (leading); `iconSimple`/`avatar`/
2165
2195
  * `paymentIcon` put a `leading` visual on the left and the checkbox trailing;
@@ -2271,8 +2301,8 @@ interface SelectMenuItemProps extends Omit<ButtonHTMLAttributes<HTMLButtonElemen
2271
2301
  /**
2272
2302
  * List-item primitive for `Select` and Multi-select dropdowns. One component over
2273
2303
  * both: `multi` swaps the trailing selected-check for a leading checkbox. The
2274
- * shared shell is a full-width row with hover `bg-primary-hover`; `label` is
2275
- * `text-primary`, `supportingText` sits inline in `text-tertiary`.
2304
+ * shared shell is a full-width row with hover `bg-bg-primary-hover`; `label` is
2305
+ * `text-text-primary`, `supportingText` sits inline in `text-text-tertiary`.
2276
2306
  */
2277
2307
  declare function SelectMenuItem({ label, supportingText, selected, size, leading, multi, disabled, className, ...rest }: SelectMenuItemProps): react.JSX.Element;
2278
2308
 
@@ -2296,7 +2326,7 @@ interface SidebarNavigationProps extends Omit<HTMLAttributes<HTMLElement>, "titl
2296
2326
  * a fixed-width rail (`slim` collapses to 68px). Composes existing `Nav*`
2297
2327
  * components via slots/children — it does not reimplement nav items. On mobile
2298
2328
  * the rail is hidden behind a hamburger (`NavMenuButton`); opening it shows a
2299
- * `bg-overlay` + `backdrop-blur-md` scrim and slides the rail in as a drawer.
2329
+ * `bg-bg-overlay` + `backdrop-blur-md` scrim and slides the rail in as a drawer.
2300
2330
  *
2301
2331
  * NOTE: `dualTier`'s icon-rail + expanding-panel split is simplified to a single
2302
2332
  * 280px column here — compose the icon rail separately if you need the two-tier
@@ -2386,8 +2416,8 @@ interface SocialButtonProps extends Omit<ButtonHTMLAttributes<HTMLButtonElement>
2386
2416
  children?: ReactNode;
2387
2417
  }
2388
2418
  /**
2389
- * Social-login button. All themes share the neutral white shell (border-primary,
2390
- * shadow-xs, `text-secondary` label) — `theme` only controls the brand glyph:
2419
+ * Social-login button. All themes share the neutral white shell (border-border-primary,
2420
+ * shadow-xs, `text-text-secondary` label) — `theme` only controls the brand glyph:
2391
2421
  * `color`/`brand` = full color, `gray` = monochrome (CSS grayscale, flagged
2392
2422
  * approximation of UntitledUI's true single-color gray logos). `iconOnly` drops
2393
2423
  * the label for a square button.
@@ -2524,7 +2554,7 @@ interface TableHeaderLabelProps extends HTMLAttributes<HTMLDivElement> {
2524
2554
  helpIcon?: ReactNode;
2525
2555
  }
2526
2556
  /**
2527
- * Column-header label — `text-xs` semibold in `text-quaternary` (→ `text-tertiary`
2557
+ * Column-header label — `text-xs` semibold in `text-text-quaternary` (→ `text-text-tertiary`
2528
2558
  * on hover), with an optional sort `arrow` and trailing `helpIcon` slot. Consumed
2529
2559
  * by `TableHeaderCell`.
2530
2560
  */
@@ -2639,7 +2669,7 @@ interface ToggleProps {
2639
2669
  "aria-label"?: string;
2640
2670
  }
2641
2671
  /**
2642
- * Switch toggle. `default` = filled track (`bg-brand-solid` when on); `slim` = a
2672
+ * Switch toggle. `default` = filled track (`bg-bg-brand-solid` when on); `slim` = a
2643
2673
  * thinner track with a bordered knob (uses the `toggle-slim-border-pressed`
2644
2674
  * tokens when on). The `_Toggle base` control is inline (not a separate export).
2645
2675
  * Controlled via `checked`/`onCheckedChange`; optional `label`/`supportingText`.
@@ -2683,7 +2713,7 @@ interface TreeViewItemProps extends Omit<HTMLAttributes<HTMLDivElement>, "onTogg
2683
2713
  /**
2684
2714
  * One row of a `TreeView`. Composes `TreeViewConnector` for the `level` indent
2685
2715
  * guides, plus an optional expand chevron, `checkbox`, `icon` and label. Selected
2686
- * → `bg-secondary`; hover → `bg-primary-hover`. Width is fluid (parent controls).
2716
+ * → `bg-bg-secondary`; hover → `bg-bg-primary-hover`. Width is fluid (parent controls).
2687
2717
  */
2688
2718
  declare function TreeViewItem({ size, level, selected, expandable, open, onToggle, checkbox, checked, onCheckedChange, icon, dragHandle, children, className, ...rest }: TreeViewItemProps): react.JSX.Element;
2689
2719
 
@@ -2734,7 +2764,7 @@ interface VerificationCodeInputProps {
2734
2764
  * OTP-style verification code input. `digits` 4 or 6 separate single-character
2735
2765
  * cells (6 shows a centre "-" separator); large display typography
2736
2766
  * (`display-lg`/`display-xl`). Controlled via `value`/`onChange`; auto-advances
2737
- * focus on entry and steps back on backspace. Cell borders use `border-primary`
2767
+ * focus on entry and steps back on backspace. Cell borders use `border-border-primary`
2738
2768
  * (= `utility-neutral-300` #d4d4d4, same value).
2739
2769
  */
2740
2770
  declare function VerificationCodeInput({ digits, value, onChange, size, label, hint, destructive, disabled, className, "aria-label": ariaLabel, }: VerificationCodeInputProps): react.JSX.Element;
@@ -2759,4 +2789,4 @@ declare namespace index {
2759
2789
  export { index_BoxIllustration as BoxIllustration, index_CloudIllustration as CloudIllustration, index_CreditCardIllustration as CreditCardIllustration, index_DocumentsIllustration as DocumentsIllustration };
2760
2790
  }
2761
2791
 
2762
- export { ActivityFeed, type ActivityFeedDivider, type ActivityFeedProps, ActivityGauge, type ActivityGaugeLegend, type ActivityGaugeProps, type ActivityGaugeSeries, type ActivityGaugeSize, AdvancedFilterBar, type AdvancedFilterBarProps, Alert, type AlertAction, type AlertColor, type AlertProps, type AlertSize, Avatar, AvatarAddButton, type AvatarAddButtonProps, type AvatarAddButtonSize, AvatarGroup, type AvatarGroupItem, type AvatarGroupProps, type AvatarGroupSize, AvatarLabelGroup, type AvatarLabelGroupProps, type AvatarLabelGroupSize, AvatarProfilePhoto, type AvatarProfilePhotoProps, type AvatarProfilePhotoSize, type AvatarProps, type AvatarSize, BadgeCloseX, type BadgeCloseXProps, type BadgeCloseXShape, type BadgeColor, type BadgeCommonProps, BadgeGroup, type BadgeGroupBadgePosition, type BadgeGroupProps, type BadgeGroupSize, type BadgeGroupType, type BadgeSize, BreadcrumbButtonBase, type BreadcrumbButtonBaseProps, type BreadcrumbButtonType, Breadcrumbs, type BreadcrumbsDivider, type BreadcrumbsProps, Button, ButtonCloseX, type ButtonCloseXProps, type ButtonCloseXSize, ButtonDestructive, type ButtonDestructiveHierarchy, type ButtonDestructiveProps, type ButtonDestructiveSize, ButtonGroup, type ButtonGroupProps, ButtonGroupSegment, type ButtonGroupSegmentProps, type ButtonGroupSegmentSize, type ButtonProps, ButtonUtility, type ButtonUtilityProps, type ButtonUtilitySize, type ButtonUtilityVariant, CalendarCell, CalendarCellDayWeekView, type CalendarCellDayWeekViewProps, type CalendarCellProps, CalendarColumnHeader, type CalendarColumnHeaderOrientation, type CalendarColumnHeaderProps, CalendarDateIcon, type CalendarDateIconProps, CalendarEvent, type CalendarEventColor, CalendarEventDayWeekView, type CalendarEventDayWeekViewProps, type CalendarEventProps, CalendarHeader, type CalendarHeaderProps, CalendarRowLabel, type CalendarRowLabelProps, CalendarTimemarker, type CalendarTimemarkerAlign, type CalendarTimemarkerProps, type CalendarView, CalendarViewDropdown, type CalendarViewDropdownProps, type CalendarViewOption, CardHeader, type CardHeaderProps, CarouselArrow, type CarouselArrowDirection, type CarouselArrowProps, type CarouselArrowSize, CarouselImage, type CarouselImageProps, Change, type ChangeProps, type ChangeTrend, type ChangeType, ChartLegend, type ChartLegendItem, type ChartLegendPosition, type ChartLegendProps, ChartMarker, type ChartMarkerLine, type ChartMarkerProps, ChartMini, type ChartMiniDatum, type ChartMiniProps, type ChartMiniTrend, type ChartSeries, type ChartStyle, ChartTooltip, type ChartTooltipPayloadItem, type ChartTooltipProps, type CheckControlSize, Checkbox, type CheckboxProps, CodeSnippet, type CodeSnippetProps, CodeSnippetTabs, type CodeSnippetTabsProps, ColorBadge, type ColorBadgeProps, CommandBar, CommandBarFooter, type CommandBarFooterHint, type CommandBarFooterProps, CommandBarMenuSection, type CommandBarMenuSectionProps, CommandBarNavigationIcon, type CommandBarNavigationIconProps, type CommandBarProps, CommandDropdownMenuItem, type CommandDropdownMenuItemProps, CommandInput, type CommandInputProps, CommandShortcut, type CommandShortcutProps, ContentDivider, type ContentDividerProps, type ContentDividerStyle, type ContentDividerType, ContentFeatureText, type ContentFeatureTextProps, type ContentFeatureTextSize, ContentHeading, type ContentHeadingProps, type ContentHeadingSize, ContentParagraph, type ContentParagraphProps, type ContentParagraphSize, ContentQuote, type ContentQuoteAlign, type ContentQuoteProps, type ContentQuoteSize, ContentRule, type ContentRuleProps, type ContentRuleSize, ContextMenu, type ContextMenuProps, type ContextMenuState, DatePickerCell, type DatePickerCellProps, type DatePickerCellType, DatePickerListItem, type DatePickerListItemProps, DatePickerMenu, type DatePickerMenuProps, DropdownAccountListItem, type DropdownAccountListItemProps, DropdownMenuFooter, type DropdownMenuFooterProps, type DropdownMenuFooterType, DropdownMenuHeader, type DropdownMenuHeaderProps, type DropdownMenuHeaderType, DropdownMenuItemInsetIcon, type DropdownMenuItemInsetIconProps, type DropdownMenuItemInsetIconType, DropdownMenuListItem, type DropdownMenuListItemProps, EmptyState, type EmptyStateProps, type EmptyStateSize, FeedItemBase, type FeedItemBaseProps, type FeedItemSize, FileUpload, FileUploadBase, type FileUploadBaseProps, FileUploadItemBase, type FileUploadItemBaseProps, type FileUploadItemIconType, type FileUploadItemStatus, type FileUploadItemType, type FileUploadProps, FilterBar, type FilterBarProps, FilterTabs, type FilterTabsProps, FiltersDropdownMenu, type FiltersDropdownMenuProps, FiltersSlideoutMenu, type FiltersSlideoutMenuProps, type HeaderNavItem, HeaderNavigation, type HeaderNavigationProps, type HeaderNavigationType, HelpIcon, type HelpIconProps, InputField, type InputFieldProps, type InputFieldSize, type InputFieldType, LeadingInputField, type LeadingInputFieldProps, LineAndBarChart, type LineAndBarChartProps, LinkMessage, type LinkMessageProps, type LinkMessageType, LoadingIndicator, type LoadingIndicatorProps, type LoadingIndicatorSize, type LoadingIndicatorStyle, MediaMessage, type MediaMessageProps, type MediaMessageType, MegaInputFieldBase, type MegaInputFieldBaseProps, type MegaInputFieldBaseSize, Message, MessageAction, MessageActionButton, type MessageActionButtonProps, MessageActionPanel, type MessageActionPanelProps, type MessageActionProps, type MessageActionType, type MessageBubbleTone, type MessageProps, MessageReaction, type MessageReactionProps, type MessageStatus, MessageStatusIcon, type MessageStatusIconProps, type MessageType, MetricItem, type MetricItemProps, Modal, ModalActions, type ModalActionsProps, type ModalActionsType, ModalHeader, type ModalHeaderProps, type ModalHeaderType, type ModalProps, type ModalSize, ModernBadge, type ModernBadgeProps, MultiSelect, type MultiSelectOption, type MultiSelectProps, NavAccountCard, NavAccountCardMenuItem, type NavAccountCardMenuItemProps, type NavAccountCardMenuItemType, type NavAccountCardProps, type NavAccountCardVariant, NavButton, type NavButtonProps, NavFeaturedCard, type NavFeaturedCardProps, NavItemBase, type NavItemBaseProps, NavItemDropdownBase, type NavItemDropdownBaseProps, NavMenuButton, type NavMenuButtonProps, Notification, type NotificationProps, type NotificationVariant, NumberInput, type NumberInputLayout, type NumberInputProps, PageHeader, type PageHeaderProps, type PageHeaderStyle, Pagination, PaginationButtonGroupBase, type PaginationButtonGroupBaseProps, type PaginationButtonGroupType, PaginationCards, type PaginationCardsProps, type PaginationCardsVariant, PaginationDotGroup, type PaginationDotGroupProps, PaginationDotIndicator, type PaginationDotIndicatorProps, type PaginationDotSize, type PaginationDotVariant, PaginationNumberBase, type PaginationNumberBaseProps, type PaginationNumberShape, type PaginationProps, type PaginationType, PieChart, type PieChartProps, type PieChartSize, type PieSlice, PillBadge, type PillBadgeProps, ProgressBar, type ProgressBarLabel, type ProgressBarProps, ProgressCircle, type ProgressCircleProps, type ProgressCircleShape, type ProgressCircleSize, RadarChart, type RadarChartProps, type RadarLegendPosition, Radio, RadioGroup, RadioGroupItem, type RadioGroupItemProps, type RadioGroupItemSize, type RadioGroupItemType, type RadioGroupProps, type RadioProps, SectionFooter, type SectionFooterProps, type SectionFooterType, SectionHeader, type SectionHeaderProps, SectionLabel, type SectionLabelProps, type SectionLabelSize, Select, SelectMenuItem, type SelectMenuItemProps, type SelectMenuItemSize, type SelectProps, type SelectSize, type SelectType, SidebarNavigation, type SidebarNavigationProps, type SidebarNavigationType, SlideOutMenuHeader, type SlideOutMenuHeaderProps, SlideoutMenu, type SlideoutMenuProps, type SlideoutMenuSide, type SlideoutMenuSize, Slider, type SliderLabel, type SliderProps, type SocialBrand, SocialButton, type SocialButtonProps, type SocialButtonSize, type SocialButtonTheme, StatusIcon, type StatusIconProps, type StatusIconType, StepBase, type StepBaseProps, StepIconBase, type StepIconBaseProps, type StepIconSize, type StepIconType, type StepOrientation, type StepStatus, TabButtonBase, type TabButtonBaseProps, type TabButtonSize, type TabButtonType, type TabItem, TableCell, type TableCellProps, type TableCellSize, TableHeaderCell, type TableHeaderCellProps, type TableHeaderCellSize, TableHeaderLabel, type TableHeaderLabelArrow, type TableHeaderLabelProps, Tabs, type TabsOrientation, type TabsProps, Tag, type TagProps, type TagSize, TagsInputField, type TagsInputFieldProps, type TagsInputVariant, TextEditorToolbar, TextEditorToolbarDivider, type TextEditorToolbarProps, TextEditorTooltip, type TextEditorTooltipProps, TextareaInputField, type TextareaInputFieldProps, Toggle, type ToggleProps, type ToggleSize, type ToggleType, Tooltip, type TooltipArrow, type TooltipProps, TrailingInputField, type TrailingInputFieldProps, type TreeNode, TreeView, TreeViewConnector, type TreeViewConnectorProps, type TreeViewConnectorSize, type TreeViewConnectorType, TreeViewItem, type TreeViewItemProps, type TreeViewItemSize, type TreeViewProps, type UseContextMenuReturn, type VerificationCodeDigits, VerificationCodeInput, type VerificationCodeInputProps, type VerificationCodeSize, index as illustrations, useContextMenu };
2792
+ export { ActivityFeed, type ActivityFeedDivider, type ActivityFeedProps, ActivityGauge, type ActivityGaugeLegend, type ActivityGaugeProps, type ActivityGaugeSeries, type ActivityGaugeSize, AdvancedFilterBar, type AdvancedFilterBarProps, Alert, type AlertAction, type AlertColor, type AlertProps, type AlertSize, Avatar, AvatarAddButton, type AvatarAddButtonProps, type AvatarAddButtonSize, AvatarGroup, type AvatarGroupItem, type AvatarGroupProps, type AvatarGroupSize, AvatarLabelGroup, type AvatarLabelGroupProps, type AvatarLabelGroupSize, AvatarProfilePhoto, type AvatarProfilePhotoProps, type AvatarProfilePhotoSize, type AvatarProps, type AvatarSize, BadgeCloseX, type BadgeCloseXProps, type BadgeCloseXShape, type BadgeColor, type BadgeCommonProps, BadgeGroup, type BadgeGroupBadgePosition, type BadgeGroupProps, type BadgeGroupSize, type BadgeGroupType, type BadgeSize, BreadcrumbButtonBase, type BreadcrumbButtonBaseProps, type BreadcrumbButtonType, Breadcrumbs, type BreadcrumbsDivider, type BreadcrumbsProps, Button, ButtonCloseX, type ButtonCloseXProps, type ButtonCloseXSize, ButtonDestructive, type ButtonDestructiveHierarchy, type ButtonDestructiveProps, type ButtonDestructiveSize, ButtonGroup, type ButtonGroupProps, ButtonGroupSegment, type ButtonGroupSegmentProps, type ButtonGroupSegmentSize, type ButtonProps, ButtonUtility, type ButtonUtilityProps, type ButtonUtilitySize, type ButtonUtilityVariant, CalendarCell, CalendarCellDayWeekView, type CalendarCellDayWeekViewProps, type CalendarCellProps, CalendarColumnHeader, type CalendarColumnHeaderOrientation, type CalendarColumnHeaderProps, CalendarDateIcon, type CalendarDateIconProps, CalendarEvent, type CalendarEventColor, CalendarEventDayWeekView, type CalendarEventDayWeekViewProps, type CalendarEventProps, CalendarHeader, type CalendarHeaderProps, CalendarRowLabel, type CalendarRowLabelProps, CalendarTimemarker, type CalendarTimemarkerAlign, type CalendarTimemarkerProps, type CalendarView, CalendarViewDropdown, type CalendarViewDropdownProps, type CalendarViewOption, CardHeader, type CardHeaderProps, CarouselArrow, type CarouselArrowDirection, type CarouselArrowProps, type CarouselArrowSize, CarouselImage, type CarouselImageProps, Change, type ChangeProps, type ChangeTrend, type ChangeType, ChartLegend, type ChartLegendItem, type ChartLegendPosition, type ChartLegendProps, ChartMarker, type ChartMarkerLine, type ChartMarkerProps, ChartMini, type ChartMiniDatum, type ChartMiniProps, type ChartMiniTrend, type ChartSeries, type ChartStyle, ChartTooltip, type ChartTooltipPayloadItem, type ChartTooltipProps, type CheckControlSize, Checkbox, type CheckboxProps, CodeSnippet, type CodeSnippetProps, CodeSnippetTabs, type CodeSnippetTabsProps, ColorBadge, type ColorBadgeProps, CommandBar, CommandBarFooter, type CommandBarFooterHint, type CommandBarFooterProps, CommandBarMenuSection, type CommandBarMenuSectionProps, CommandBarNavigationIcon, type CommandBarNavigationIconProps, type CommandBarProps, CommandDropdownMenuItem, type CommandDropdownMenuItemProps, CommandInput, type CommandInputProps, CommandShortcut, type CommandShortcutProps, ContentDivider, type ContentDividerProps, type ContentDividerStyle, type ContentDividerType, ContentFeatureText, type ContentFeatureTextProps, type ContentFeatureTextSize, ContentHeading, type ContentHeadingProps, type ContentHeadingSize, ContentParagraph, type ContentParagraphProps, type ContentParagraphSize, ContentQuote, type ContentQuoteAlign, type ContentQuoteProps, type ContentQuoteSize, ContentRule, type ContentRuleProps, type ContentRuleSize, ContextMenu, type ContextMenuProps, type ContextMenuState, DatePickerCell, type DatePickerCellProps, type DatePickerCellType, DatePickerListItem, type DatePickerListItemProps, DatePickerMenu, type DatePickerMenuProps, DropdownAccountListItem, type DropdownAccountListItemProps, DropdownMenuFooter, type DropdownMenuFooterProps, type DropdownMenuFooterType, DropdownMenuHeader, type DropdownMenuHeaderProps, type DropdownMenuHeaderType, DropdownMenuItemInsetIcon, type DropdownMenuItemInsetIconProps, type DropdownMenuItemInsetIconType, DropdownMenuListItem, type DropdownMenuListItemProps, EmptyState, type EmptyStateProps, type EmptyStateSize, FeaturedIcon, type FeaturedIconColor, type FeaturedIconProps, type FeaturedIconSize, type FeaturedIconTheme, FeedItemBase, type FeedItemBaseProps, type FeedItemSize, FileUpload, FileUploadBase, type FileUploadBaseProps, FileUploadItemBase, type FileUploadItemBaseProps, type FileUploadItemIconType, type FileUploadItemStatus, type FileUploadItemType, type FileUploadProps, FilterBar, type FilterBarProps, FilterTabs, type FilterTabsProps, FiltersDropdownMenu, type FiltersDropdownMenuProps, FiltersSlideoutMenu, type FiltersSlideoutMenuProps, type HeaderNavItem, HeaderNavigation, type HeaderNavigationProps, type HeaderNavigationType, HelpIcon, type HelpIconProps, InputField, type InputFieldProps, type InputFieldSize, type InputFieldType, LeadingInputField, type LeadingInputFieldProps, LineAndBarChart, type LineAndBarChartProps, LinkMessage, type LinkMessageProps, type LinkMessageType, LoadingIndicator, type LoadingIndicatorProps, type LoadingIndicatorSize, type LoadingIndicatorStyle, MediaMessage, type MediaMessageProps, type MediaMessageType, MegaInputFieldBase, type MegaInputFieldBaseProps, type MegaInputFieldBaseSize, Message, MessageAction, MessageActionButton, type MessageActionButtonProps, MessageActionPanel, type MessageActionPanelProps, type MessageActionProps, type MessageActionType, type MessageBubbleTone, type MessageProps, MessageReaction, type MessageReactionProps, type MessageStatus, MessageStatusIcon, type MessageStatusIconProps, type MessageType, MetricItem, type MetricItemProps, Modal, ModalActions, type ModalActionsProps, type ModalActionsType, ModalHeader, type ModalHeaderProps, type ModalHeaderType, type ModalProps, type ModalSize, ModernBadge, type ModernBadgeProps, MultiSelect, type MultiSelectOption, type MultiSelectProps, NavAccountCard, type NavAccountCardBreakpoint, NavAccountCardMenuItem, type NavAccountCardMenuItemProps, type NavAccountCardMenuItemType, type NavAccountCardProps, type NavAccountCardVariant, NavButton, type NavButtonProps, NavFeaturedCard, type NavFeaturedCardProps, NavItemBase, type NavItemBaseProps, NavItemDropdownBase, type NavItemDropdownBaseProps, NavMenuButton, type NavMenuButtonProps, Notification, type NotificationProps, type NotificationVariant, NumberInput, type NumberInputLayout, type NumberInputProps, PageHeader, type PageHeaderProps, type PageHeaderStyle, Pagination, PaginationButtonGroupBase, type PaginationButtonGroupBaseProps, type PaginationButtonGroupType, PaginationCards, type PaginationCardsProps, type PaginationCardsVariant, PaginationDotGroup, type PaginationDotGroupProps, PaginationDotIndicator, type PaginationDotIndicatorProps, type PaginationDotSize, type PaginationDotVariant, PaginationNumberBase, type PaginationNumberBaseProps, type PaginationNumberShape, type PaginationProps, type PaginationType, PieChart, type PieChartProps, type PieChartSize, type PieSlice, PillBadge, type PillBadgeProps, ProgressBar, type ProgressBarLabel, type ProgressBarProps, ProgressCircle, type ProgressCircleProps, type ProgressCircleShape, type ProgressCircleSize, RadarChart, type RadarChartProps, type RadarLegendPosition, Radio, RadioGroup, RadioGroupItem, type RadioGroupItemProps, type RadioGroupItemSize, type RadioGroupItemType, type RadioGroupProps, type RadioProps, SectionFooter, type SectionFooterProps, type SectionFooterType, SectionHeader, type SectionHeaderProps, SectionLabel, type SectionLabelProps, type SectionLabelSize, Select, SelectMenuItem, type SelectMenuItemProps, type SelectMenuItemSize, type SelectProps, type SelectSize, type SelectType, SidebarNavigation, type SidebarNavigationProps, type SidebarNavigationType, SlideOutMenuHeader, type SlideOutMenuHeaderProps, SlideoutMenu, type SlideoutMenuProps, type SlideoutMenuSide, type SlideoutMenuSize, Slider, type SliderLabel, type SliderProps, type SocialBrand, SocialButton, type SocialButtonProps, type SocialButtonSize, type SocialButtonTheme, StatusIcon, type StatusIconProps, type StatusIconType, StepBase, type StepBaseProps, StepIconBase, type StepIconBaseProps, type StepIconSize, type StepIconType, type StepOrientation, type StepStatus, TabButtonBase, type TabButtonBaseProps, type TabButtonSize, type TabButtonType, type TabItem, TableCell, type TableCellProps, type TableCellSize, TableHeaderCell, type TableHeaderCellProps, type TableHeaderCellSize, TableHeaderLabel, type TableHeaderLabelArrow, type TableHeaderLabelProps, Tabs, type TabsOrientation, type TabsProps, Tag, type TagProps, type TagSize, TagsInputField, type TagsInputFieldProps, type TagsInputVariant, TextEditorToolbar, TextEditorToolbarDivider, type TextEditorToolbarProps, TextEditorTooltip, type TextEditorTooltipProps, TextareaInputField, type TextareaInputFieldProps, Toggle, type ToggleProps, type ToggleSize, type ToggleType, Tooltip, type TooltipArrow, type TooltipProps, TrailingInputField, type TrailingInputFieldProps, type TreeNode, TreeView, TreeViewConnector, type TreeViewConnectorProps, type TreeViewConnectorSize, type TreeViewConnectorType, TreeViewItem, type TreeViewItemProps, type TreeViewItemSize, type TreeViewProps, type UseContextMenuReturn, type VerificationCodeDigits, VerificationCodeInput, type VerificationCodeInputProps, type VerificationCodeSize, index as illustrations, useContextMenu };
package/dist/index.js CHANGED
@@ -5072,18 +5072,18 @@ function AdvancedFilterBar({
5072
5072
  ] });
5073
5073
  }
5074
5074
  var hierarchyClasses = {
5075
- Primary: "bg-brand-solid text-white border-2 border-white/[0.12] hover:bg-bg-brand-solid-hover",
5076
- Secondary: "bg-bg-primary text-text-secondary border border-border-primary",
5077
- Tertiary: "bg-transparent text-text-tertiary border-0",
5078
- "Link color": "bg-transparent text-text-brand-secondary border-0 p-0",
5079
- "Link gray": "bg-transparent text-text-tertiary border-0 p-0"
5075
+ Primary: "bg-bg-brand-solid text-text-white border-2 border-white/[0.12] shadow-skeuomorphic hover:bg-bg-brand-solid-hover",
5076
+ Secondary: "bg-bg-primary text-text-secondary border border-border-primary shadow-skeuomorphic hover:bg-bg-primary-hover",
5077
+ Tertiary: "bg-transparent text-text-tertiary border-0 hover:bg-bg-secondary",
5078
+ "Link color": "bg-transparent text-text-brand-secondary border-0 p-0 hover:text-text-brand-secondary-hover",
5079
+ "Link gray": "bg-transparent text-text-tertiary border-0 p-0 hover:text-text-tertiary-hover"
5080
5080
  };
5081
5081
  var sizeClasses = {
5082
- xs: "px-[10px] py-sm text-xs",
5083
- sm: "px-lg py-md text-xs",
5084
- md: "px-[14px] py-[10px] text-sm",
5085
- lg: "px-xl py-[10px] text-md",
5086
- xl: "px-[18px] py-lg text-md"
5082
+ xs: "px-[10px] py-sm gap-xs text-xs font-semibold",
5083
+ sm: "px-lg py-md gap-xs text-xs font-semibold",
5084
+ md: "px-[14px] py-[10px] gap-xs text-sm font-semibold",
5085
+ lg: "px-xl py-[10px] gap-sm text-md font-semibold",
5086
+ xl: "px-[18px] py-lg gap-sm text-md font-semibold"
5087
5087
  };
5088
5088
  function Button({
5089
5089
  hierarchy = "Primary",
@@ -5098,8 +5098,10 @@ function Button({
5098
5098
  "button",
5099
5099
  {
5100
5100
  className: clsx_default(
5101
- "font-body font-semibold rounded-md cursor-pointer transition-colors",
5102
- "disabled:opacity-50 disabled:cursor-not-allowed",
5101
+ "inline-flex items-center justify-center font-body rounded-md",
5102
+ "cursor-pointer transition-colors",
5103
+ "focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-border-brand focus-visible:ring-offset-2",
5104
+ "disabled:opacity-50 disabled:cursor-not-allowed disabled:shadow-none",
5103
5105
  hierarchyClasses[hierarchy],
5104
5106
  sizeClasses[size],
5105
5107
  className
@@ -5107,7 +5109,7 @@ function Button({
5107
5109
  disabled: disabled || loading,
5108
5110
  "aria-disabled": disabled || loading,
5109
5111
  ...rest,
5110
- children: loading ? "Loading\u2026" : children
5112
+ children: loading ? /* @__PURE__ */ jsx("span", { className: "opacity-70", children: "Loading\u2026" }) : children
5111
5113
  }
5112
5114
  );
5113
5115
  }
@@ -5958,7 +5960,7 @@ function ButtonCloseX({
5958
5960
  );
5959
5961
  }
5960
5962
  var hierarchyClasses2 = {
5961
- Primary: "bg-error-solid text-white border-2 border-white/[0.12] shadow-skeuomorphic hover:bg-error-solid-hover",
5963
+ Primary: "bg-bg-error-solid text-text-white border-2 border-white/[0.12] shadow-skeuomorphic hover:bg-bg-error-solid-hover",
5962
5964
  Secondary: "bg-bg-primary text-text-error-primary border border-border-error-subtle shadow-skeuomorphic hover:bg-bg-error-primary",
5963
5965
  Tertiary: "bg-transparent text-text-error-primary border-0 hover:bg-bg-error-primary",
5964
5966
  Link: "bg-transparent text-text-error-primary border-0 p-0 hover:text-text-error-primary"
@@ -5984,7 +5986,7 @@ function ButtonDestructive({
5984
5986
  {
5985
5987
  className: clsx_default(
5986
5988
  "font-body font-semibold rounded-md cursor-pointer transition-colors",
5987
- "focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-border-error focus-visible:ring-offset-2 focus-visible:ring-offset-bg-primary",
5989
+ "focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-border-border-error focus-visible:ring-offset-2 focus-visible:ring-offset-bg-bg-primary",
5988
5990
  "disabled:opacity-50 disabled:cursor-not-allowed",
5989
5991
  hierarchyClasses2[hierarchy],
5990
5992
  hierarchy === "Link" ? "" : sizeClasses4[size],
@@ -6217,7 +6219,7 @@ function CalendarColumnHeader({
6217
6219
  {
6218
6220
  className: clsx_default(
6219
6221
  "flex items-center justify-center text-xs font-semibold",
6220
- current ? "size-6 rounded-full bg-brand-solid text-white" : "text-text-secondary"
6222
+ current ? "size-6 rounded-full bg-bg-brand-solid text-white" : "text-text-secondary"
6221
6223
  ),
6222
6224
  "aria-current": current ? "date" : void 0,
6223
6225
  children: date2
@@ -6476,7 +6478,7 @@ function CalendarViewDropdown({
6476
6478
  "flex size-4 shrink-0 items-center justify-center rounded-full border",
6477
6479
  isSelected ? "border-border-brand" : "border-border-primary"
6478
6480
  ),
6479
- children: isSelected ? /* @__PURE__ */ jsx("span", { className: "size-2 rounded-full bg-brand-solid" }) : null
6481
+ children: isSelected ? /* @__PURE__ */ jsx("span", { className: "size-2 rounded-full bg-bg-brand-solid" }) : null
6480
6482
  }
6481
6483
  ),
6482
6484
  /* @__PURE__ */ jsx("span", { className: "flex-1 text-left", children: opt.label }),
@@ -28847,7 +28849,7 @@ function CheckControlVisual({
28847
28849
  "peer-focus-visible:ring-2 peer-focus-visible:ring-border-brand peer-focus-visible:ring-offset-2 peer-focus-visible:ring-offset-bg-primary",
28848
28850
  type === "radio" ? "rounded-full" : "rounded-sm",
28849
28851
  boxSize[size],
28850
- disabled ? "border-border-primary bg-bg-tertiary" : active ? "border-brand-solid bg-brand-solid" : "border-border-primary bg-bg-primary"
28852
+ disabled ? "border-border-primary bg-bg-tertiary" : active ? "border-bg-brand-solid bg-bg-brand-solid" : "border-border-primary bg-bg-primary"
28851
28853
  ),
28852
28854
  children: [
28853
28855
  type === "checkbox" && checked && !indeterminate ? /* @__PURE__ */ jsx("svg", { viewBox: "0 0 16 16", fill: "none", className: glyphSize[size], "aria-hidden": true, children: /* @__PURE__ */ jsx(
@@ -29296,7 +29298,7 @@ function ContentDivider({
29296
29298
  );
29297
29299
  }
29298
29300
  var sizeConfig = {
29299
- sm: { box: "p-3xl rounded-xl", heading: "text-lg", body: "text-md" },
29301
+ sm: { box: "p-3xl rounded-2xl", heading: "text-lg", body: "text-md" },
29300
29302
  md: { box: "p-4xl rounded-2xl", heading: "text-xl", body: "text-lg" }
29301
29303
  };
29302
29304
  function ContentFeatureText({
@@ -29947,6 +29949,100 @@ function EmptyState({
29947
29949
  }
29948
29950
  );
29949
29951
  }
29952
+ var boxSize2 = {
29953
+ sm: "size-8",
29954
+ // 32px
29955
+ md: "size-10",
29956
+ // 40px
29957
+ lg: "size-12",
29958
+ // 48px
29959
+ xl: "size-14"
29960
+ // 56px
29961
+ };
29962
+ var iconPx = {
29963
+ sm: 16,
29964
+ md: 20,
29965
+ lg: 24,
29966
+ xl: 28
29967
+ };
29968
+ function radiusFor(theme) {
29969
+ if (theme === "light") return "rounded-full";
29970
+ if (theme === "modern-neue") return "rounded-lg";
29971
+ return "rounded-xl";
29972
+ }
29973
+ var lightBg = {
29974
+ brand: "bg-bg-brand-secondary",
29975
+ gray: "bg-bg-secondary",
29976
+ error: "bg-bg-error-secondary",
29977
+ warning: "bg-bg-warning-secondary",
29978
+ success: "bg-bg-success-secondary"
29979
+ };
29980
+ var lightFg = {
29981
+ brand: "text-fg-brand-primary",
29982
+ gray: "text-fg-secondary",
29983
+ error: "text-fg-error-primary",
29984
+ warning: "text-fg-warning-primary",
29985
+ success: "text-fg-success-primary"
29986
+ };
29987
+ var darkBg = {
29988
+ brand: "bg-bg-brand-solid",
29989
+ gray: "bg-bg-secondary-solid",
29990
+ error: "bg-bg-error-solid",
29991
+ warning: "bg-bg-warning-solid",
29992
+ success: "bg-bg-success-solid"
29993
+ };
29994
+ var gradientFill = {
29995
+ brand: "bg-gradient-to-br from-utility-brand-50 to-utility-brand-200",
29996
+ gray: "bg-gradient-to-br from-utility-neutral-50 to-utility-neutral-200",
29997
+ error: "bg-gradient-to-br from-utility-red-50 to-utility-red-200",
29998
+ warning: "bg-gradient-to-br from-utility-amber-50 to-utility-amber-200",
29999
+ success: "bg-gradient-to-br from-utility-green-50 to-utility-green-200"
30000
+ };
30001
+ function FeaturedIcon({
30002
+ icon,
30003
+ color: color2 = "brand",
30004
+ theme = "light",
30005
+ size = "md",
30006
+ className,
30007
+ ...rest
30008
+ }) {
30009
+ const px = iconPx[size];
30010
+ const themeClasses = clsx_default(
30011
+ theme === "light" && [lightBg[color2], lightFg[color2]],
30012
+ theme === "dark" && [
30013
+ darkBg[color2],
30014
+ "text-fg-white border-2 border-[rgba(255,255,255,0.12)] shadow-skeuomorphic"
30015
+ ],
30016
+ theme === "gradient" && [gradientFill[color2], "text-fg-white"],
30017
+ theme === "modern" && [
30018
+ "bg-bg-primary text-fg-secondary border border-border-primary shadow-skeuomorphic"
30019
+ ],
30020
+ theme === "modern-neue" && [
30021
+ "bg-bg-primary text-fg-secondary border border-border-primary shadow-xs"
30022
+ ]
30023
+ );
30024
+ return /* @__PURE__ */ jsx(
30025
+ "span",
30026
+ {
30027
+ className: clsx_default(
30028
+ "inline-flex shrink-0 items-center justify-center",
30029
+ boxSize2[size],
30030
+ radiusFor(theme),
30031
+ themeClasses,
30032
+ className
30033
+ ),
30034
+ ...rest,
30035
+ children: /* @__PURE__ */ jsx(
30036
+ "span",
30037
+ {
30038
+ "aria-hidden": "true",
30039
+ style: { width: px, height: px, display: "inline-flex" },
30040
+ children: icon
30041
+ }
30042
+ )
30043
+ }
30044
+ );
30045
+ }
29950
30046
  var avatarSize2 = {
29951
30047
  sm: "size-8",
29952
30048
  // 32px
@@ -31397,7 +31493,7 @@ function MetricItem({
31397
31493
  }
31398
31494
  );
31399
31495
  }
31400
- var FeaturedIcon = ({ children }) => /* @__PURE__ */ jsx("div", { className: "flex size-10 shrink-0 items-center justify-center rounded-md border border-border-primary text-fg-secondary shadow-xs", children });
31496
+ var FeaturedIcon2 = ({ children }) => /* @__PURE__ */ jsx("div", { className: "flex size-10 shrink-0 items-center justify-center rounded-md border border-border-primary text-fg-secondary shadow-xs", children });
31401
31497
  var XClose2 = () => /* @__PURE__ */ jsx("svg", { viewBox: "0 0 20 20", fill: "none", className: "size-5", "aria-hidden": true, children: /* @__PURE__ */ jsx("path", { d: "M15 5 5 15M5 5l10 10", stroke: "currentColor", strokeWidth: "1.67", strokeLinecap: "round", strokeLinejoin: "round" }) });
31402
31498
  function ModalHeader({
31403
31499
  title,
@@ -31431,7 +31527,7 @@ function ModalHeader({
31431
31527
  isCenter && "items-center"
31432
31528
  ),
31433
31529
  children: [
31434
- icon && /* @__PURE__ */ jsx(FeaturedIcon, { children: icon }),
31530
+ icon && /* @__PURE__ */ jsx(FeaturedIcon2, { children: icon }),
31435
31531
  /* @__PURE__ */ jsxs(
31436
31532
  "div",
31437
31533
  {
@@ -31748,6 +31844,18 @@ var LogOut = () => /* @__PURE__ */ jsx("svg", { viewBox: "0 0 16 16", fill: "non
31748
31844
  strokeLinejoin: "round"
31749
31845
  }
31750
31846
  ) });
31847
+ var LayeredAvatar = ({ src, online }) => /* @__PURE__ */ jsxs("span", { className: "relative inline-flex size-10 shrink-0 rounded-full border-[0.75px] border-border-secondary-alt bg-bg-primary p-[1px] shadow-xs", children: [
31848
+ /* @__PURE__ */ jsx("span", { className: "flex size-full overflow-hidden rounded-full border-[0.5px] border-[rgba(0,0,0,0.16)]", children: /* @__PURE__ */ jsx("img", { src, alt: "", className: "size-full rounded-full object-cover" }) }),
31849
+ online !== void 0 && /* @__PURE__ */ jsx(
31850
+ "span",
31851
+ {
31852
+ className: clsx_default(
31853
+ "absolute bottom-[-2px] right-[-2px] size-[14px] rounded-full border-[1.5px] border-bg-primary",
31854
+ online ? "bg-fg-success-secondary" : "bg-utility-neutral-300"
31855
+ )
31856
+ }
31857
+ )
31858
+ ] });
31751
31859
  var AvatarLabel = ({ avatar, name, email }) => /* @__PURE__ */ jsxs("div", { className: "flex min-w-0 flex-1 items-center gap-md", children: [
31752
31860
  avatar && /* @__PURE__ */ jsx("span", { className: "shrink-0", children: avatar }),
31753
31861
  /* @__PURE__ */ jsxs("div", { className: "flex min-w-0 flex-col text-left", children: [
@@ -31758,7 +31866,10 @@ var AvatarLabel = ({ avatar, name, email }) => /* @__PURE__ */ jsxs("div", { cla
31758
31866
  function NavAccountCard({
31759
31867
  variant = "card",
31760
31868
  open = false,
31869
+ breakpoint = "desktop",
31761
31870
  avatar,
31871
+ src,
31872
+ online,
31762
31873
  name,
31763
31874
  email,
31764
31875
  onToggle,
@@ -31767,17 +31878,20 @@ function NavAccountCard({
31767
31878
  className,
31768
31879
  ...rest
31769
31880
  }) {
31881
+ const widthClass = breakpoint === "mobile" ? "w-[256px]" : "w-[280px]";
31882
+ const avatarNode = avatar ?? (src !== void 0 ? /* @__PURE__ */ jsx(LayeredAvatar, { src, online }) : void 0);
31770
31883
  if (variant === "simple") {
31771
31884
  return /* @__PURE__ */ jsxs(
31772
31885
  "div",
31773
31886
  {
31774
31887
  className: clsx_default(
31775
- "relative flex w-[280px] items-start gap-xl border-t border-border-secondary px-md pt-2xl",
31888
+ "relative flex items-start gap-xl border-t border-border-secondary px-md pt-2xl",
31889
+ widthClass,
31776
31890
  className
31777
31891
  ),
31778
31892
  ...rest,
31779
31893
  children: [
31780
- /* @__PURE__ */ jsx(AvatarLabel, { avatar, name, email }),
31894
+ /* @__PURE__ */ jsx(AvatarLabel, { avatar: avatarNode, name, email }),
31781
31895
  /* @__PURE__ */ jsx(
31782
31896
  "button",
31783
31897
  {
@@ -31792,7 +31906,7 @@ function NavAccountCard({
31792
31906
  }
31793
31907
  );
31794
31908
  }
31795
- return /* @__PURE__ */ jsxs("div", { className: clsx_default("relative w-[280px]", className), ...rest, children: [
31909
+ return /* @__PURE__ */ jsxs("div", { className: clsx_default("relative", widthClass, className), ...rest, children: [
31796
31910
  /* @__PURE__ */ jsxs(
31797
31911
  "button",
31798
31912
  {
@@ -31800,7 +31914,7 @@ function NavAccountCard({
31800
31914
  onClick: onToggle,
31801
31915
  className: "relative flex w-full items-start gap-xl rounded-xl border border-border-secondary bg-bg-primary-alt p-lg text-left shadow-xs",
31802
31916
  children: [
31803
- /* @__PURE__ */ jsx(AvatarLabel, { avatar, name, email }),
31917
+ /* @__PURE__ */ jsx(AvatarLabel, { avatar: avatarNode, name, email }),
31804
31918
  /* @__PURE__ */ jsx(
31805
31919
  "span",
31806
31920
  {
@@ -32071,7 +32185,7 @@ var GLYPH = {
32071
32185
  error: "M10 6.67V10m0 3.33h.01M18.33 10a8.33 8.33 0 1 1-16.66 0 8.33 8.33 0 0 1 16.66 0Z"
32072
32186
  };
32073
32187
  var XClose5 = () => /* @__PURE__ */ jsx("svg", { viewBox: "0 0 20 20", fill: "none", className: "size-5", "aria-hidden": true, children: /* @__PURE__ */ jsx("path", { d: "M15 5 5 15M5 5l10 10", stroke: "currentColor", strokeWidth: "1.67", strokeLinecap: "round", strokeLinejoin: "round" }) });
32074
- var FeaturedIcon2 = ({ variant }) => /* @__PURE__ */ jsxs("span", { className: clsx_default("relative inline-flex size-5 shrink-0 items-center justify-center", RING[variant].split(" ")[1]), children: [
32188
+ var FeaturedIcon3 = ({ variant }) => /* @__PURE__ */ jsxs("span", { className: clsx_default("relative inline-flex size-5 shrink-0 items-center justify-center", RING[variant].split(" ")[1]), children: [
32075
32189
  /* @__PURE__ */ jsx("span", { className: clsx_default("absolute inset-[-20%] rounded-full border-2 opacity-30", RING[variant].split(" ")[0]) }),
32076
32190
  /* @__PURE__ */ jsx("span", { className: clsx_default("absolute inset-[-45%] rounded-full border-2 opacity-10", RING[variant].split(" ")[0]) }),
32077
32191
  /* @__PURE__ */ jsx("svg", { viewBox: "0 0 20 20", fill: "none", className: "relative size-5", "aria-hidden": true, children: /* @__PURE__ */ jsx("path", { d: GLYPH[variant], stroke: "currentColor", strokeWidth: "1.67", strokeLinecap: "round", strokeLinejoin: "round" }) })
@@ -32096,7 +32210,7 @@ function Notification({
32096
32210
  ),
32097
32211
  ...rest,
32098
32212
  children: [
32099
- leadingMedia ?? /* @__PURE__ */ jsx(FeaturedIcon2, { variant }),
32213
+ leadingMedia ?? /* @__PURE__ */ jsx(FeaturedIcon3, { variant }),
32100
32214
  /* @__PURE__ */ jsxs("div", { className: "flex min-w-0 flex-1 flex-col gap-lg pr-8", children: [
32101
32215
  /* @__PURE__ */ jsxs("div", { className: "flex flex-col gap-xs", children: [
32102
32216
  /* @__PURE__ */ jsx("p", { className: "text-sm font-semibold text-fg-primary", children: title }),
@@ -32916,7 +33030,7 @@ function SidebarNavigation({
32916
33030
  }
32917
33031
  );
32918
33032
  return /* @__PURE__ */ jsxs(Fragment$1, { children: [
32919
- /* @__PURE__ */ jsx("aside", { className: "hidden h-full md:block", children: rail }),
33033
+ /* @__PURE__ */ jsx("aside", { className: "hidden h-full md:flex", children: rail }),
32920
33034
  /* @__PURE__ */ jsxs("div", { className: "md:hidden", children: [
32921
33035
  /* @__PURE__ */ jsx(NavMenuButton, { opened: isOpen, onClick: () => setOpen(!isOpen) }),
32922
33036
  isOpen && /* @__PURE__ */ jsxs("div", { className: "fixed inset-0 z-50 flex", children: [
@@ -33832,6 +33946,6 @@ object-assign/index.js:
33832
33946
  *)
33833
33947
  */
33834
33948
 
33835
- export { ActivityFeed, ActivityGauge, AdvancedFilterBar, Alert, Avatar, AvatarAddButton, AvatarGroup, AvatarLabelGroup, AvatarProfilePhoto, BadgeCloseX, BadgeGroup, BreadcrumbButtonBase, Breadcrumbs, Button, ButtonCloseX, ButtonDestructive, ButtonGroup, ButtonGroupSegment, ButtonUtility, CalendarCell, CalendarCellDayWeekView, CalendarColumnHeader, CalendarDateIcon, CalendarEvent, CalendarEventDayWeekView, CalendarHeader, CalendarRowLabel, CalendarTimemarker, CalendarViewDropdown, CardHeader, CarouselArrow, CarouselImage, Change, ChartLegend, ChartMarker, ChartMini, ChartTooltip, Checkbox, CodeSnippet, CodeSnippetTabs, ColorBadge, CommandBar, CommandBarFooter, CommandBarMenuSection, CommandBarNavigationIcon, CommandDropdownMenuItem, CommandInput, CommandShortcut, ContentDivider, ContentFeatureText, ContentHeading, ContentParagraph, ContentQuote, ContentRule, ContextMenu, DatePickerCell, DatePickerListItem, DatePickerMenu, DropdownAccountListItem, DropdownMenuFooter, DropdownMenuHeader, DropdownMenuItemInsetIcon, DropdownMenuListItem, EmptyState, FeedItemBase, FileUpload, FileUploadBase, FileUploadItemBase, FilterBar, FilterTabs, FiltersDropdownMenu, FiltersSlideoutMenu, HeaderNavigation, HelpIcon2 as HelpIcon, InputField, LeadingInputField, LineAndBarChart, LinkMessage, LoadingIndicator, MediaMessage, MegaInputFieldBase, Message, MessageAction, MessageActionButton, MessageActionPanel, MessageReaction, MessageStatusIcon, MetricItem, Modal, ModalActions, ModalHeader, ModernBadge, MultiSelect, NavAccountCard, NavAccountCardMenuItem, NavButton2 as NavButton, NavFeaturedCard, NavItemBase, NavItemDropdownBase, NavMenuButton, Notification, NumberInput, PageHeader, Pagination, PaginationButtonGroupBase, PaginationCards, PaginationDotGroup, PaginationDotIndicator, PaginationNumberBase, PieChart2 as PieChart, PillBadge, ProgressBar, ProgressCircle, RadarChart2 as RadarChart, Radio, RadioGroup, RadioGroupItem, SectionFooter, SectionHeader, SectionLabel, Select, SelectMenuItem, SidebarNavigation, SlideOutMenuHeader, SlideoutMenu, Slider, SocialButton, StatusIcon, StepBase, StepIconBase, TabButtonBase, TableCell, TableHeaderCell, TableHeaderLabel, Tabs, Tag, TagsInputField, TextEditorToolbar, TextEditorToolbarDivider, TextEditorTooltip, TextareaInputField, Toggle, Tooltip2 as Tooltip, TrailingInputField, TreeView, TreeViewConnector, TreeViewItem, VerificationCodeInput, illustrations_exports as illustrations, useContextMenu };
33949
+ export { ActivityFeed, ActivityGauge, AdvancedFilterBar, Alert, Avatar, AvatarAddButton, AvatarGroup, AvatarLabelGroup, AvatarProfilePhoto, BadgeCloseX, BadgeGroup, BreadcrumbButtonBase, Breadcrumbs, Button, ButtonCloseX, ButtonDestructive, ButtonGroup, ButtonGroupSegment, ButtonUtility, CalendarCell, CalendarCellDayWeekView, CalendarColumnHeader, CalendarDateIcon, CalendarEvent, CalendarEventDayWeekView, CalendarHeader, CalendarRowLabel, CalendarTimemarker, CalendarViewDropdown, CardHeader, CarouselArrow, CarouselImage, Change, ChartLegend, ChartMarker, ChartMini, ChartTooltip, Checkbox, CodeSnippet, CodeSnippetTabs, ColorBadge, CommandBar, CommandBarFooter, CommandBarMenuSection, CommandBarNavigationIcon, CommandDropdownMenuItem, CommandInput, CommandShortcut, ContentDivider, ContentFeatureText, ContentHeading, ContentParagraph, ContentQuote, ContentRule, ContextMenu, DatePickerCell, DatePickerListItem, DatePickerMenu, DropdownAccountListItem, DropdownMenuFooter, DropdownMenuHeader, DropdownMenuItemInsetIcon, DropdownMenuListItem, EmptyState, FeaturedIcon, FeedItemBase, FileUpload, FileUploadBase, FileUploadItemBase, FilterBar, FilterTabs, FiltersDropdownMenu, FiltersSlideoutMenu, HeaderNavigation, HelpIcon2 as HelpIcon, InputField, LeadingInputField, LineAndBarChart, LinkMessage, LoadingIndicator, MediaMessage, MegaInputFieldBase, Message, MessageAction, MessageActionButton, MessageActionPanel, MessageReaction, MessageStatusIcon, MetricItem, Modal, ModalActions, ModalHeader, ModernBadge, MultiSelect, NavAccountCard, NavAccountCardMenuItem, NavButton2 as NavButton, NavFeaturedCard, NavItemBase, NavItemDropdownBase, NavMenuButton, Notification, NumberInput, PageHeader, Pagination, PaginationButtonGroupBase, PaginationCards, PaginationDotGroup, PaginationDotIndicator, PaginationNumberBase, PieChart2 as PieChart, PillBadge, ProgressBar, ProgressCircle, RadarChart2 as RadarChart, Radio, RadioGroup, RadioGroupItem, SectionFooter, SectionHeader, SectionLabel, Select, SelectMenuItem, SidebarNavigation, SlideOutMenuHeader, SlideoutMenu, Slider, SocialButton, StatusIcon, StepBase, StepIconBase, TabButtonBase, TableCell, TableHeaderCell, TableHeaderLabel, Tabs, Tag, TagsInputField, TextEditorToolbar, TextEditorToolbarDivider, TextEditorTooltip, TextareaInputField, Toggle, Tooltip2 as Tooltip, TrailingInputField, TreeView, TreeViewConnector, TreeViewItem, VerificationCodeInput, illustrations_exports as illustrations, useContextMenu };
33836
33950
  //# sourceMappingURL=index.js.map
33837
33951
  //# sourceMappingURL=index.js.map