@zovaris/sephiro 0.8.0 → 0.8.1

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.
@@ -367,20 +367,20 @@
367
367
  }
368
368
  .sph-button {
369
369
  display: inline-flex;
370
- height: calc(var(--spacing, 0.25rem) * 9);
371
370
  align-items: center;
372
371
  justify-content: center;
373
- gap: calc(var(--spacing, 0.25rem) * 1.5);
374
372
  border-radius: var(--sph-radius-sm);
375
373
  border-style: var(--tw-border-style);
376
374
  border-width: 0px;
377
375
  background-color: transparent;
378
- padding-inline: calc(var(--spacing, 0.25rem) * 3);
379
376
  font-size: 12.5px;
380
377
  --tw-font-weight: var(--font-weight-medium, 500);
381
378
  font-weight: var(--font-weight-medium, 500);
382
379
  color: var(--sph-text);
383
380
  box-sizing: border-box;
381
+ height: calc(2.25rem * var(--sph-control-density, 1));
382
+ gap: calc(0.375rem * var(--sph-control-density, 1));
383
+ padding-inline: calc(0.75rem * var(--sph-control-density, 1));
384
384
  cursor: pointer;
385
385
  font-family: var(--sph-font-sans);
386
386
  font-weight: 550;
@@ -390,22 +390,28 @@
390
390
  .sph-button:hover:not(:disabled, [data-loading]) {
391
391
  transform: translateY(-1px);
392
392
  }
393
+ .sph-button[data-density="compact"] {
394
+ --sph-control-density: 0.8;
395
+ }
393
396
  .sph-button[data-size="sm"] {
394
- height: calc(var(--spacing, 0.25rem) * 8);
397
+ height: calc(2rem * var(--sph-control-density, 1));
395
398
  }
396
399
  .sph-button[data-size="md"] {
397
- height: calc(var(--spacing, 0.25rem) * 9);
398
400
  font-size: var(--text-sm, 0.875rem);
399
401
  line-height: var(--tw-leading, var(--text-sm--line-height, calc(1.25 / 0.875)));
402
+ height: calc(2.25rem * var(--sph-control-density, 1));
400
403
  }
401
404
  .sph-button[data-size="lg"] {
402
- height: calc(var(--spacing, 0.25rem) * 10);
403
405
  font-size: var(--text-sm, 0.875rem);
404
406
  line-height: var(--tw-leading, var(--text-sm--line-height, calc(1.25 / 0.875)));
407
+ height: calc(2.5rem * var(--sph-control-density, 1));
405
408
  }
406
409
  .sph-button:active:not(:disabled, [data-loading]) {
407
410
  transform: translateY(1px) scale(0.98);
408
411
  }
412
+ .sph-button[data-motion="none"]:hover:not(:disabled, [data-loading]), .sph-button[data-motion="none"]:active:not(:disabled, [data-loading]) {
413
+ transform: none;
414
+ }
409
415
  .sph-button[data-variant="primary"] {
410
416
  background-color: var(--sph-accent);
411
417
  color: var(--sph-on-accent);
@@ -590,17 +596,20 @@
590
596
  position: relative;
591
597
  transition: background-color var(--sph-motion-fast) var(--sph-ease-standard), color var(--sph-motion-fast) var(--sph-ease-standard), box-shadow var(--sph-motion-normal) var(--sph-ease-standard), transform var(--sph-motion-fast) var(--sph-ease-emphasis);
592
598
  }
599
+ .sph-icon-button[data-density="compact"] {
600
+ --sph-control-density: 0.8;
601
+ }
593
602
  .sph-icon-button[data-size="sm"] {
594
- width: calc(var(--spacing, 0.25rem) * 8);
595
- height: calc(var(--spacing, 0.25rem) * 8);
603
+ width: calc(2rem * var(--sph-control-density, 1));
604
+ height: calc(2rem * var(--sph-control-density, 1));
596
605
  }
597
606
  .sph-icon-button[data-size="md"] {
598
- width: calc(var(--spacing, 0.25rem) * 9);
599
- height: calc(var(--spacing, 0.25rem) * 9);
607
+ width: calc(2.25rem * var(--sph-control-density, 1));
608
+ height: calc(2.25rem * var(--sph-control-density, 1));
600
609
  }
601
610
  .sph-icon-button[data-size="lg"] {
602
- width: calc(var(--spacing, 0.25rem) * 10);
603
- height: calc(var(--spacing, 0.25rem) * 10);
611
+ width: calc(2.5rem * var(--sph-control-density, 1));
612
+ height: calc(2.5rem * var(--sph-control-density, 1));
604
613
  }
605
614
  .sph-icon-button:hover:not(:disabled, [data-loading]) {
606
615
  background-color: var(--sph-raised);
@@ -6666,7 +6675,6 @@ a.sph-breadcrumb__crumb:focus-visible, button.sph-breadcrumb__crumb:focus-visibl
6666
6675
  position: relative;
6667
6676
  box-sizing: border-box;
6668
6677
  display: inline-grid;
6669
- height: calc(var(--spacing, 0.25rem) * 9);
6670
6678
  max-width: 100%;
6671
6679
  min-width: 0px;
6672
6680
  grid-auto-columns: minmax(0, 1fr);
@@ -6679,17 +6687,21 @@ a.sph-breadcrumb__crumb:focus-visible, button.sph-breadcrumb__crumb:focus-visibl
6679
6687
  padding: calc(var(--spacing, 0.25rem) * 0.5);
6680
6688
  vertical-align: middle;
6681
6689
  font-family: var(--sph-font-sans);
6690
+ height: calc(2.25rem * var(--sph-control-density, 1));
6682
6691
  --sph-segmented-inset: 2px;
6683
6692
  --sph-segmented-direction: 1;
6684
6693
  }
6685
6694
  :where([dir="rtl"]) .sph-segmented-control {
6686
6695
  --sph-segmented-direction: -1;
6687
6696
  }
6697
+ .sph-segmented-control[data-density="compact"] {
6698
+ --sph-control-density: 0.8;
6699
+ }
6688
6700
  .sph-segmented-control[data-size="sm"] {
6689
- height: calc(var(--spacing, 0.25rem) * 8);
6701
+ height: calc(2rem * var(--sph-control-density, 1));
6690
6702
  }
6691
6703
  .sph-segmented-control[data-size="lg"] {
6692
- height: calc(var(--spacing, 0.25rem) * 10);
6704
+ height: calc(2.5rem * var(--sph-control-density, 1));
6693
6705
  }
6694
6706
  .sph-segmented-control[data-full-width="true"] {
6695
6707
  display: grid;
package/dist/index.css CHANGED
@@ -663,20 +663,20 @@
663
663
  }
664
664
  .sph-button {
665
665
  display: inline-flex;
666
- height: calc(var(--spacing, 0.25rem) * 9);
667
666
  align-items: center;
668
667
  justify-content: center;
669
- gap: calc(var(--spacing, 0.25rem) * 1.5);
670
668
  border-radius: var(--sph-radius-sm);
671
669
  border-style: var(--tw-border-style);
672
670
  border-width: 0px;
673
671
  background-color: transparent;
674
- padding-inline: calc(var(--spacing, 0.25rem) * 3);
675
672
  font-size: 12.5px;
676
673
  --tw-font-weight: var(--font-weight-medium, 500);
677
674
  font-weight: var(--font-weight-medium, 500);
678
675
  color: var(--sph-text);
679
676
  box-sizing: border-box;
677
+ height: calc(2.25rem * var(--sph-control-density, 1));
678
+ gap: calc(0.375rem * var(--sph-control-density, 1));
679
+ padding-inline: calc(0.75rem * var(--sph-control-density, 1));
680
680
  cursor: pointer;
681
681
  font-family: var(--sph-font-sans);
682
682
  font-weight: 550;
@@ -686,22 +686,28 @@
686
686
  .sph-button:hover:not(:disabled, [data-loading]) {
687
687
  transform: translateY(-1px);
688
688
  }
689
+ .sph-button[data-density="compact"] {
690
+ --sph-control-density: 0.8;
691
+ }
689
692
  .sph-button[data-size="sm"] {
690
- height: calc(var(--spacing, 0.25rem) * 8);
693
+ height: calc(2rem * var(--sph-control-density, 1));
691
694
  }
692
695
  .sph-button[data-size="md"] {
693
- height: calc(var(--spacing, 0.25rem) * 9);
694
696
  font-size: var(--text-sm, 0.875rem);
695
697
  line-height: var(--tw-leading, var(--text-sm--line-height, calc(1.25 / 0.875)));
698
+ height: calc(2.25rem * var(--sph-control-density, 1));
696
699
  }
697
700
  .sph-button[data-size="lg"] {
698
- height: calc(var(--spacing, 0.25rem) * 10);
699
701
  font-size: var(--text-sm, 0.875rem);
700
702
  line-height: var(--tw-leading, var(--text-sm--line-height, calc(1.25 / 0.875)));
703
+ height: calc(2.5rem * var(--sph-control-density, 1));
701
704
  }
702
705
  .sph-button:active:not(:disabled, [data-loading]) {
703
706
  transform: translateY(1px) scale(0.98);
704
707
  }
708
+ .sph-button[data-motion="none"]:hover:not(:disabled, [data-loading]), .sph-button[data-motion="none"]:active:not(:disabled, [data-loading]) {
709
+ transform: none;
710
+ }
705
711
  .sph-button[data-variant="primary"] {
706
712
  background-color: var(--sph-accent);
707
713
  color: var(--sph-on-accent);
@@ -886,17 +892,20 @@
886
892
  position: relative;
887
893
  transition: background-color var(--sph-motion-fast) var(--sph-ease-standard), color var(--sph-motion-fast) var(--sph-ease-standard), box-shadow var(--sph-motion-normal) var(--sph-ease-standard), transform var(--sph-motion-fast) var(--sph-ease-emphasis);
888
894
  }
895
+ .sph-icon-button[data-density="compact"] {
896
+ --sph-control-density: 0.8;
897
+ }
889
898
  .sph-icon-button[data-size="sm"] {
890
- width: calc(var(--spacing, 0.25rem) * 8);
891
- height: calc(var(--spacing, 0.25rem) * 8);
899
+ width: calc(2rem * var(--sph-control-density, 1));
900
+ height: calc(2rem * var(--sph-control-density, 1));
892
901
  }
893
902
  .sph-icon-button[data-size="md"] {
894
- width: calc(var(--spacing, 0.25rem) * 9);
895
- height: calc(var(--spacing, 0.25rem) * 9);
903
+ width: calc(2.25rem * var(--sph-control-density, 1));
904
+ height: calc(2.25rem * var(--sph-control-density, 1));
896
905
  }
897
906
  .sph-icon-button[data-size="lg"] {
898
- width: calc(var(--spacing, 0.25rem) * 10);
899
- height: calc(var(--spacing, 0.25rem) * 10);
907
+ width: calc(2.5rem * var(--sph-control-density, 1));
908
+ height: calc(2.5rem * var(--sph-control-density, 1));
900
909
  }
901
910
  .sph-icon-button:hover:not(:disabled, [data-loading]) {
902
911
  background-color: var(--sph-raised);
@@ -6962,7 +6971,6 @@ a.sph-breadcrumb__crumb:focus-visible, button.sph-breadcrumb__crumb:focus-visibl
6962
6971
  position: relative;
6963
6972
  box-sizing: border-box;
6964
6973
  display: inline-grid;
6965
- height: calc(var(--spacing, 0.25rem) * 9);
6966
6974
  max-width: 100%;
6967
6975
  min-width: 0px;
6968
6976
  grid-auto-columns: minmax(0, 1fr);
@@ -6975,17 +6983,21 @@ a.sph-breadcrumb__crumb:focus-visible, button.sph-breadcrumb__crumb:focus-visibl
6975
6983
  padding: calc(var(--spacing, 0.25rem) * 0.5);
6976
6984
  vertical-align: middle;
6977
6985
  font-family: var(--sph-font-sans);
6986
+ height: calc(2.25rem * var(--sph-control-density, 1));
6978
6987
  --sph-segmented-inset: 2px;
6979
6988
  --sph-segmented-direction: 1;
6980
6989
  }
6981
6990
  :where([dir="rtl"]) .sph-segmented-control {
6982
6991
  --sph-segmented-direction: -1;
6983
6992
  }
6993
+ .sph-segmented-control[data-density="compact"] {
6994
+ --sph-control-density: 0.8;
6995
+ }
6984
6996
  .sph-segmented-control[data-size="sm"] {
6985
- height: calc(var(--spacing, 0.25rem) * 8);
6997
+ height: calc(2rem * var(--sph-control-density, 1));
6986
6998
  }
6987
6999
  .sph-segmented-control[data-size="lg"] {
6988
- height: calc(var(--spacing, 0.25rem) * 10);
7000
+ height: calc(2.5rem * var(--sph-control-density, 1));
6989
7001
  }
6990
7002
  .sph-segmented-control[data-full-width="true"] {
6991
7003
  display: grid;
package/dist/index.d.ts CHANGED
@@ -11,6 +11,7 @@ export declare function AnimatedNumber({ value, from, duration, format, classNam
11
11
  //#endregion
12
12
  //#region src/lib/control.d.ts
13
13
  type ControlSize = "sm" | "md" | "lg";
14
+ type ControlDensity = "default" | "compact";
14
15
  //#endregion
15
16
  //#region src/atoms/Avatar/index.d.ts
16
17
  type AvatarStatus = "online" | "offline" | "busy" | "away";
@@ -43,10 +44,12 @@ export declare function Badge({ variant, size, className, children, ...props }:
43
44
  type ButtonProps = Omit<ButtonHTMLAttributes<HTMLButtonElement>, "children"> & {
44
45
  variant?: "primary" | "secondary" | "quiet";
45
46
  size?: ControlSize;
47
+ density?: ControlDensity;
48
+ motion?: "lift" | "none";
46
49
  loading?: boolean;
47
50
  children?: Renderable;
48
51
  };
49
- export declare function Button({ variant, size, loading, disabled, className, type, children, onClick, "aria-busy": ariaBusy, "aria-disabled": ariaDisabled, ...props }: ButtonProps): import("react").JSX.Element;
52
+ export declare function Button({ variant, size, density, motion, loading, disabled, className, type, children, onClick, "aria-busy": ariaBusy, "aria-disabled": ariaDisabled, ...props }: ButtonProps): import("react").JSX.Element;
50
53
  //#endregion
51
54
  //#region src/atoms/Checkbox/index.d.ts
52
55
  type CheckboxProps = Omit<InputHTMLAttributes<HTMLInputElement>, "size"> & {
@@ -61,10 +64,11 @@ type IconButtonProps = Omit<ButtonHTMLAttributes<HTMLButtonElement>, "children">
61
64
  icon: Renderable;
62
65
  label: string;
63
66
  size?: ControlSize;
67
+ density?: ControlDensity;
64
68
  variant?: "ghost" | "solid" | "outline";
65
69
  loading?: boolean;
66
70
  };
67
- export declare function IconButton({ icon, label, size, variant, loading, disabled, className, type, onClick, ...props }: IconButtonProps): import("react").JSX.Element;
71
+ export declare function IconButton({ icon, label, size, density, variant, loading, disabled, className, type, onClick, ...props }: IconButtonProps): import("react").JSX.Element;
68
72
  //#endregion
69
73
  //#region src/atoms/Input/index.d.ts
70
74
  type InputProps = Omit<InputHTMLAttributes<HTMLInputElement>, "size"> & {
@@ -770,19 +774,14 @@ export declare function Chart({ categories, series, variant, height, smooth, tic
770
774
  type CommandItem = {
771
775
  id?: string;
772
776
  label: Renderable;
773
- /** Value reported to `onSelect` when omitted (falls back to the label). */
774
777
  value?: string;
775
778
  icon?: Renderable;
776
- /** Groups options under a heading; ungrouped options always come first. */
777
779
  group?: string;
778
- /** Muted text trailing the option (chevrons are drawn for parents). */
779
780
  hint?: Renderable;
780
781
  badge?: Renderable;
781
782
  shortcut?: string[];
782
- /** Extra terms matched by the filter but never highlighted. */
783
783
  keywords?: string;
784
784
  disabled?: boolean;
785
- /** Sub-options: activating this option drills into a new level. */
786
785
  children?: CommandItem[];
787
786
  };
788
787
  type CommandPaletteProps = {
@@ -792,14 +791,13 @@ type CommandPaletteProps = {
792
791
  onSelect?: (item: CommandItem) => void;
793
792
  placeholder?: string;
794
793
  emptyMessage?: Renderable;
795
- /** Label of the breadcrumb that returns to the root level. */
796
794
  homeLabel?: string;
797
795
  ariaLabel?: string;
798
- /** Bind Cmd/Ctrl+K to toggle the palette. Default: false. */
799
796
  hotkey?: boolean;
800
797
  className?: string;
798
+ filter?: (item: CommandItem, query: string) => boolean;
801
799
  };
802
- export declare function CommandPalette({ open, onOpenChange, items, onSelect, placeholder, emptyMessage, homeLabel, ariaLabel, hotkey, className }: CommandPaletteProps): import("react").ReactPortal | null;
800
+ export declare function CommandPalette({ open, onOpenChange, items, onSelect, placeholder, emptyMessage, homeLabel, ariaLabel, hotkey, className, filter }: CommandPaletteProps): import("react").ReactPortal | null;
803
801
  //#endregion
804
802
  //#region src/organisms/EmptyState/index.d.ts
805
803
  type EmptyStateProps = Omit<HTMLAttributes<HTMLElement>, "children" | "title"> & {
@@ -1071,11 +1069,12 @@ type SegmentedControlProps = {
1071
1069
  defaultValue?: string;
1072
1070
  onValueChange?: (value: string) => void;
1073
1071
  size?: ControlSize;
1072
+ density?: ControlDensity;
1074
1073
  fullWidth?: boolean;
1075
1074
  disabled?: boolean;
1076
1075
  className?: string;
1077
1076
  };
1078
- export declare function SegmentedControl({ options, ariaLabel, value, defaultValue, onValueChange, size, fullWidth, disabled, className }: SegmentedControlProps): import("react").JSX.Element;
1077
+ export declare function SegmentedControl({ options, ariaLabel, value, defaultValue, onValueChange, size, density, fullWidth, disabled, className }: SegmentedControlProps): import("react").JSX.Element;
1079
1078
  //#endregion
1080
1079
  //#region src/molecules/Stepper/index.d.ts
1081
1080
  type StepperStep = {
@@ -1199,5 +1198,5 @@ type ChatScrollerProps = Omit<HTMLAttributes<HTMLDivElement>, "children"> & {
1199
1198
  };
1200
1199
  export declare function ChatScroller({ children, itemCount, newCount, threshold, ariaLabel, jumpLabel, contentClassName, onPinnedChange, className, ...props }: ChatScrollerProps): import("react").JSX.Element;
1201
1200
  //#endregion
1202
- export { type AccordionItem, type AccordionProps, type AlertProps, type AnimatedNumberProps, type AttachmentFile, type AttachmentProps, type AvatarGroupItem, type AvatarGroupProps, type AvatarProps, type AvatarStatus, type BadgeProps, type BreadcrumbItem, type BreadcrumbProps, type ButtonProps, type CalendarProps, type CalendarRange, type CardProps, type ChartProps, type ChartSeries, type ChatScrollerProps, type CheckboxProps, type CitationProps, type CitationSource, type CollapsibleProps, type ComboboxOption, type ComboboxProps, type CommandItem, type CommandPaletteProps, type ContextMenuProps, type ControlSize, type DeltaProps, type DialogProps, type DrawerProps, type DrawerSide, type DropzoneRejectReason, type DropzoneValidation, type DropzoneValidationResult, type EmptyStateProps, type FieldMessageProps, type FieldProps, type HoldButtonProps, type HoverCardProps, type IconButtonProps, type InputProps, type KbdProps, type MagneticDropzoneProps, type MenuItem, type MenuProps, type MenubarMenu, type MenubarProps, type MetadataEntry, type MetadataListLayout, type MetadataListProps, type MotionSpeed, type NoticeProps, type NumberInputProps, type OTPInputProps, type OTPPattern, type OTPState, type OverflowListProps, type PaginationProps, type PlanCardProps, type PlanCardState, type PlanStep, type PopoverProps, type Presence, type ProgressProps, type QuestionCardProps, type QuestionOption, type RadioGroupProps, type RadioOption, type ReasoningStep, type ReasoningStepsProps, type Renderable, type RenderableElement, type ResizableProps, type RevealProps, type ScrollAreaProps, type SegmentedControlProps, type SegmentedOption, type SelectOption, type SelectProps, type SeparatorProps, type SidebarItem, type SidebarProps, type SidebarSection, type SkeletonProps, type SliderProps, type SpinnerProps, type StatGroupProps, type StatProps, type StatusMarkProps, type StatusMarkState, type StepperProps, type StepperStep, type StreamingTextProps, type SurfaceProps, type TabItem, type TableColumn, type TableProps, type TableSort, type TableSortDirection, type TabsProps, type TaskListItem, type TaskListProps, type TaskState, type TextareaProps, type TimelineItem, type TimelineProps, type TimestampFormat, type TimestampProps, type ToastProps, type ToastViewportProps, type ToggleProps, type ToolCall, type ToolCallsProps, type ToolbarProps, type TooltipGroupProps, type TooltipProps, toast };
1201
+ export { type AccordionItem, type AccordionProps, type AlertProps, type AnimatedNumberProps, type AttachmentFile, type AttachmentProps, type AvatarGroupItem, type AvatarGroupProps, type AvatarProps, type AvatarStatus, type BadgeProps, type BreadcrumbItem, type BreadcrumbProps, type ButtonProps, type CalendarProps, type CalendarRange, type CardProps, type ChartProps, type ChartSeries, type ChatScrollerProps, type CheckboxProps, type CitationProps, type CitationSource, type CollapsibleProps, type ComboboxOption, type ComboboxProps, type CommandItem, type CommandPaletteProps, type ContextMenuProps, type ControlDensity, type ControlSize, type DeltaProps, type DialogProps, type DrawerProps, type DrawerSide, type DropzoneRejectReason, type DropzoneValidation, type DropzoneValidationResult, type EmptyStateProps, type FieldMessageProps, type FieldProps, type HoldButtonProps, type HoverCardProps, type IconButtonProps, type InputProps, type KbdProps, type MagneticDropzoneProps, type MenuItem, type MenuProps, type MenubarMenu, type MenubarProps, type MetadataEntry, type MetadataListLayout, type MetadataListProps, type MotionSpeed, type NoticeProps, type NumberInputProps, type OTPInputProps, type OTPPattern, type OTPState, type OverflowListProps, type PaginationProps, type PlanCardProps, type PlanCardState, type PlanStep, type PopoverProps, type Presence, type ProgressProps, type QuestionCardProps, type QuestionOption, type RadioGroupProps, type RadioOption, type ReasoningStep, type ReasoningStepsProps, type Renderable, type RenderableElement, type ResizableProps, type RevealProps, type ScrollAreaProps, type SegmentedControlProps, type SegmentedOption, type SelectOption, type SelectProps, type SeparatorProps, type SidebarItem, type SidebarProps, type SidebarSection, type SkeletonProps, type SliderProps, type SpinnerProps, type StatGroupProps, type StatProps, type StatusMarkProps, type StatusMarkState, type StepperProps, type StepperStep, type StreamingTextProps, type SurfaceProps, type TabItem, type TableColumn, type TableProps, type TableSort, type TableSortDirection, type TabsProps, type TaskListItem, type TaskListProps, type TaskState, type TextareaProps, type TimelineItem, type TimelineProps, type TimestampFormat, type TimestampProps, type ToastProps, type ToastViewportProps, type ToggleProps, type ToolCall, type ToolCallsProps, type ToolbarProps, type TooltipGroupProps, type TooltipProps, toast };
1203
1202
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","names":["SonnerToasterProps"],"sources":["../src/atoms/AnimatedNumber/index.tsx","../src/lib/control.ts","../src/atoms/Avatar/index.tsx","../src/lib/node.ts","../src/atoms/Badge/index.tsx","../src/atoms/Button/index.tsx","../src/atoms/Checkbox/index.tsx","../src/atoms/IconButton/index.tsx","../src/atoms/Input/index.tsx","../src/atoms/Kbd/index.tsx","../src/atoms/Progress/index.tsx","../src/atoms/ScrollArea/index.tsx","../src/atoms/Separator/index.tsx","../src/atoms/Skeleton/index.tsx","../src/atoms/Slider/index.tsx","../src/atoms/Spinner/index.tsx","../src/atoms/Surface/index.tsx","../src/atoms/Textarea/index.tsx","../src/atoms/Toggle/index.tsx","../src/lib/presence.ts","../src/molecules/Accordion/index.tsx","../src/molecules/Alert/index.tsx","../src/molecules/Attachment/index.tsx","../src/molecules/AvatarGroup/index.tsx","../src/molecules/Breadcrumb/index.tsx","../src/molecules/Calendar/index.tsx","../src/molecules/Card/index.tsx","../src/molecules/Collapsible/index.tsx","../src/molecules/Combobox/index.tsx","../src/molecules/Menu/MenuContent.tsx","../src/molecules/ContextMenu/index.tsx","../src/molecules/Dialog/index.tsx","../src/molecules/Drawer/index.tsx","../src/molecules/FieldMessage/index.tsx","../src/molecules/Field/index.tsx","../src/lib/overlay.ts","../src/molecules/HoverCard/index.tsx","../src/molecules/Menu/index.tsx","../src/molecules/OTPInput/index.tsx","../src/molecules/Pagination/index.tsx","../src/molecules/Popover/index.tsx","../src/molecules/QuestionCard/index.tsx","../src/molecules/RadioGroup/index.tsx","../src/molecules/Reveal/index.tsx","../src/molecules/Select/index.tsx","../src/molecules/Stat/index.tsx","../src/molecules/Tabs/index.tsx","../src/molecules/TaskList/index.tsx","../src/molecules/Timeline/index.tsx","../src/molecules/Toast/index.tsx","../src/molecules/Toolbar/index.tsx","../src/molecules/Tooltip/index.tsx","../src/organisms/Chart/index.tsx","../src/organisms/CommandPalette/index.tsx","../src/organisms/EmptyState/index.tsx","../src/organisms/MagneticDropzone/index.tsx","../src/organisms/Menubar/index.tsx","../src/organisms/ReasoningSteps/index.tsx","../src/organisms/Resizable/index.tsx","../src/organisms/Sidebar/index.tsx","../src/organisms/StreamingText/index.tsx","../src/organisms/Table/rows.ts","../src/organisms/Table/index.tsx","../src/atoms/StatusMark/index.tsx","../src/atoms/Timestamp/index.tsx","../src/atoms/NumberInput/index.tsx","../src/atoms/HoldButton/index.tsx","../src/molecules/SegmentedControl/index.tsx","../src/molecules/Stepper/index.tsx","../src/molecules/MetadataList/index.tsx","../src/molecules/OverflowList/index.tsx","../src/molecules/Citation/index.tsx","../src/molecules/ToolCalls/index.tsx","../src/molecules/PlanCard/index.tsx","../src/organisms/ChatScroller/index.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X;EACA;;wBAUc,QACd,SACA,OACA,UACA,aACA,WACA,WACA,SACG,SACF,6BAAU,IAAA;qBAiEA,eAAM;KACP,cAAc;;;KCtFd;KAEA;EACV;EACA;EACA;EACA,SAAS;EACT;EACA;EACA;;KAGU;EACV,OAAO;EACP,YAAY;EACZ;EACA;;;wBAiCc,aACd,OACA,UACA,WACA,aACC,kCAAe,IAAA;;;KC9DN,kBAAkB,KAAK;KAEvB,mBAAmB,KAC7B,eAAe;EAGf,SAAS;;EAET;EACA,OAAO;;wBAGO,cACd,SACA,KACA,MACA,cACG,SACF,mCAAgB,IAAA;;;KCnBP;EACV,OAAO;;EAEP;;EAEA;;EAEA,OAAO;;KAGG,kBAAkB,KAAK,eAAe;EAChD,OAAO;;EAEP,YAAY;;EAEZ;;wBAGc,aACd,OACA,WACA,OACA,cACG,SACF,kCAAe,IAAA;;;KCzBN;EAAkB;EAAsB;;KAExC;;EAEV;EACA,iBAAiB;;EAEjB;EACA,iBAAiB;;EAEjB;EACA;;EAEA;EACA;EACA,QAAQ;EACR,eAAe;EACf,iBAAiB,OAAO;EACxB;EACA;EACA;;wBAwHc,WACd,OACA,eACA,OACA,eACA,KACA,KACA,cACA,MACA,OACA,cACA,eACA,QACA,WACA,aACC,gCAAa,IAAA;;;KC3JJ,YAAY,KACtB,eAAe;EAGf,QAAQ;EACR,cAAc;EACd,SAAS;EACT,SAAS;EACT,WAAW;EACX;EACA;;wBAGc,OACd,OACA,aACA,QACA,QACA,UACA,aACA,UACA,cACG,SACF,4BAAS,IAAA;;;KCrBA,mBAAmB,KAC7B,eAAe;EAGf,SAAS;EACT,WAAW;EACX;EACA;EACA,gBAAgB;EAChB;;wBAGc,cACd,SACA,UACA,MACA,aACA,cACA,UACA,cACG,SACF,mCAAgB,IAAA;;;KCVP;EACV;EACA,OAAO;EACP;;EAEA;;EAEA;;KAGU;EACV,SAAS;;EAET;;EAEA;EACA,iBAAiB;EACjB,kBAAkB;EAClB,cAAc;EACd;EACA,eAAe;EACf;EACA,OAAO;EACP;EACA;EACA;;wBA0Bc,WACd,SACA,OACA,QACA,eACA,gBACA,aACA,mBACA,cACA,UACA,MACA,IACA,WACA,aACC,gCAAa,IAAA;;;KC/EJ;EACV;EACA,QAAQ;EACR,OAAO;EACP,WAAW;EACX;EACA;EACA;;;;KCGU,mBAAmB,KAC7B,eAAe;EAGf,UAAU;EACV,OAAO;EACP,YAAY;EACZ;EACA;;;;;;;wBAQc,cACd,UACA,OACA,UACA,UACA,OACA,cACG,SACF,mCAAgB,IAAA;;;KCzBP;EACV;EACA;EACA,OAAO;EACP,cAAc;EACd,WAAW;EACX,SAAS;EACT;EACA;EACA;EACA,qBAAqB;EACrB,+BAA+B;EAC/B;;wBAGc,SACd,MACA,SACA,OACA,aACA,UACA,QACA,YACA,qBACA,eACA,cACA,aACA,aACC,8BAAW,IAAA;;;KC5BF;KAEA;EACV;EACA;EACA,OAAO;EACP,cAAc;EACd,WAAW;EACX,SAAS;EACT,OAAO;EACP;EACA;EACA;EACA;EACA,qBAAqB;EACrB,+BAA+B;EAC/B;;wBAGc,SACd,MACA,SACA,OACA,aACA,UACA,QACA,MACA,MACA,YACA,qBACA,eACA,cACA,aACA,aACC,8BAAW,IAAA;;;KC1CF,oBAAoB,KAC9B,eAAe;EAGf;EACA,WAAW;;wBAGG,eACd,SACA,WACA,aACG,SACF,oCAAiB,IAAA;;;KCZR;EACV,QAAQ;EACR;EACA,cAAc;EACd,UAAU;EACV,cAAc;EACd;EACA;EACA,WAAW;;wBASG,QACd,OACA,SACA,aACA,SACA,aACA,UACA,WACA,YACC,6BAAU,IAAA;;;KC5BD;;;KCgBA;EACV,SAAS;EACT,UAAU;;EAEV;;EAEA;EACA,YAAY;EACZ;EACA;EACA;;wBAKc,YACd,SACA,UACA,WACA,YACA,WACA,WACA,SACA,aACC,iCAAc,IAAA;;;KCtBL;EACV,SAAS;EACT,OAAO;EACP,YAAY;;EAEZ;;EAEA,gBAAgB;EAChB;EACA;EACA;EACA;EACA;;wBAKc,OACd,SACA,OACA,UACA,OACA,OACA,MAAM,UACN,cACA,UACA,SACA,aACC,4BAAS,IAAA;;;KC5CA,0CAA0C;KAE1C;KAEA;;EAEV;EACA,YAAY;;EAEZ,cAAc;;EAEd;EACA;EACA,UAAU;EACV,QAAQ;EACR;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;;wBAyFc,WACd,OACA,UACA,YACA,QACA,QACA,SACA,OACA,aACA,cACA,UACA,SACA,WACA,WACA,IACA,0BACoB,aACpB,aACC,gCAAa,IAAA;;;KCnIJ,kBAAkB,KAAK,eAAe;;EAEhD;EACA;EACA,gBAAgB;;EAEhB;;EAEA,SAAS;;EAET;;wBAwBc,aACd,MACA,WACA,cACA,UACA,QACA,OACA,cACG,SACF,kCAAe,IAAA;;;KC9BN;EACV,SAAS;EACT,UAAU;EACV;EACA;EACA,gBAAgB;EAChB;EACA;EACA;EACA;EACA;;wBAGc,UACd,SACA,UACA,MACA,aACA,cACA,WACA,WACA,UACA,SACA,aACC,+BAAY,IAAA;;;KCpCH;EACV;EACA,OAAO;;EAEP,OAAO;EACP;;KAGU,oBAAoB,KAC9B,eAAe;EAGf,UAAU;;EAEV,cAAc;EACd,SAAS;;EAET;;EAEA;EACA,iBAAiB;;EAEjB;;EAEA,SAAS;EACT;;wBAGc,eACd,UACA,aACA,SACA,OACA,cACA,eACA,QACA,QACA,UACA,cACG,SACF,oCAAiB,IAAA;;;KCzCR;EACV;EACA,OAAO;EACP,cAAc;EACd;;KAGU;EACV;EACA,SAAS;EACT,gBAAgB;EAChB;EACA,QAAQ;EACR,cAAc;EACd,OAAO;EACP;EACA;EACA;;wBAGc,aACd,OACA,SACA,eACA,MACA,OACA,aACA,MACA,aACA,UACA,aACC,kCAAe,IAAA;;;KC7BN,cAAc,KAAK,eAAe;EAC5C,UAAU;EACV;EACA;EACA;EACA;EACA,QAAQ;EACR;;wBAGc,SACd,UACA,SACA,WACA,UACA,OACA,OACA,MACA,WACA,UACG,SACF,8B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,OAAO;EACP;EACA;EACA,UAAU,KAAK,KAAK,kBAAkB;EACtC;EACA,aAAa,KAAK;EAClB,WAAW,GAAG,KAAK,GAAG;;KAGZ,WACV,YAAY,0BAA0B,2BACpC,KACF,oBAAoB;EAGpB,SAAS,YAAY;EACrB,MAAM;EACN,UAAU;EACV,eAAe;EACf,eAAe;EACf,YAAY,KAAK,KAAK;EACtB;EACA;EACA;EACA;EACA,OAAO;EACP,cAAc;EACd,gBAAgB,MAAM;EACtB;EACA;EACA;EACA,WAAW;EACX,kBAAkB;EAClB,oBAAoB;EACpB,YAAY,KAAK,KAAK;EACtB;EACA;;wBAkBc,MACd,YAAY,0BAA0B,2BAEtC,SACA,MACA,SACA,cACA,QACA,UACA,SACA,SACA,cACA,mBACA,MACA,aACA,cACA,WACA,YACA,YACA,UACA,iBACA,kBACA,UACA,gBACA,cACG,SACF,WAAW,uBAAI,IAAA;;;KChGN;KAOA,kBAAkB,KAC5B,eAAe;EAGf,QAAQ;EACR;EACA;EACA,OAAO;EACP;;wBAQc,aACd,OACA,OACA,OACA,MACA,WACA,UACG,SACF,kCAAe,IAAA;;;KC/BN;KAEA,iBAAiB,KAC3B,mBAAmB;EAGnB,MAAM;EACN,SAAS;EACT;EACA,kBAAkB,KAAK;EACvB;EACA,MAAM;;wBAyFQ,YACd,MACA,QACA,QACA,iBACA,MACA,KACA,cACG,SACF,iCAAc,IAAA;;;KCtGL,mBAAmB,KAC7B,oBAAoB;EAWpB;EACA;EACA,iBAAiB;EACjB;EACA;EACA;EACA;EACA;EACA,SAAS,KAAK;EACd;EACA,OAAO;EACP;EACA;EACA;EACA;EACA;;wBAgGc,cACd,OACA,cACA,eACA,KACA,KACA,MACA,WACA,WACA,QACA,QACA,MACA,SACA,UACA,UACA,OACA,OACA,gBACA,gBACA,WACA,OACA,MACA,WACA,sBACc,8BACK,gCACH,gBACb,SACF,mCAAgB,IAAA;;;KC5JP,kBAAkB,KAC5B,qBAAqB;EAGrB;EACA,WAAW;EACX,YAAY;EACZ,iBAAiB;EACjB;EACA;EACA;EACA,OAAO;;wBA0BO,aACd,WACA,UACA,WACA,gBACA,MACA,UACA,SACA,MACA,UACA,WACA,OACA,eACA,aACA,iBACA,eACA,WACA,SACA,QACA,eACA,6BACoB,oBACjB,SACF,kCAAe,IAAA;;;KC5DN;EACV;EACA,OAAO;EACP,OAAO;EACP;;KAGU;EACV,SAAS;EACT;EACA;EACA;EACA,iBAAiB;EACjB,OAAO;EACP;EACA;EACA;;wBA2Bc,mBACd,SACA,WACA,OACA,cACA,eACA,MACA,WACA,UACA,aACC,wCAAqB,IAAA;;;KCvDZ;EACV;EACA,OAAO;EACP,cAAc;;KAKJ;EACV,OAAO;EACP;EACA;EACA,OAAO;EACP,gBAAgB;EAChB;EACA;EACA;;wBAUc,UACd,OACA,SACA,aACA,MACA,cACA,WACA,gBACA,aACC,+BAAY,IAAA;;;KCnCH;EACV,OAAO;EACP,OAAO;EACP,OAAO;EACP;;KAGU;KAEA,oBAAoB,KAC9B,eAAe;EAGf,OAAO;EACP,SAAS;EACT,OAAO;EACP;;wBASc,eACd,OACA,QACA,MACA,UACA,cACG,SACF,oCAAiB,IAAA;;;KC5BR;KAEA,kBAAkB,eAAe,KAC3C,eAAe;EAGf,OAAO;EACP,aAAa,MAAM,GAAG,kBAAkB;EACxC,kBAAkB,QAAQ,QAAQ;EAClC,sBAAsB,MAAM,GAAG,kBAAkB;EACjD,UAAU,MAAM,GAAG;EACnB;EACA,eAAe;EACf,iBAAiB;;wBAkFH,aAAa,KAC3B,OACA,YACA,gBACA,oBACA,QACA,YACA,cACA,eACA,cACG,SACF,kBAAkB,qBAAE,IAAA;;;KCpGX;EACV;EACA;EACA;EACA;EACA;;KAGU;EACV,SAAS;EACT;EACA;EACA,YAAY;EACZ;EACA;EACA;;wBA2Bc,WACd,SACA,OACA,KACA,WACA,WACA,YACA,aACC,gCAAa,IAAA;;;KC1DJ;EACV;EACA;EACA,QAAQ;EACR,OAAO;EACP,QAAQ;EACR,SAAS;EACT;;KAGU,iBAAiB,KAC3B,eAAe;EAGf,OAAO;EACP;EACA;EACA,gBAAgB;EAChB,QAAQ;;wBA8HM,YACd,OACA,MACA,aACA,cACA,OACA,cACG,SACF,iCAAc,IAAA;;;KCtJL;EACV;EACA,OAAO;EACP,SAAS;EACT,QAAQ;;KAGE;KAEA,gBAAgB,KAC1B,eAAe;EAGf,OAAO;EACP,cAAc;EACd,OAAO;EACP;EACA,YAAY,OAAO;EACnB;EACA,eAAe;EACf,cAAc;EACd,QAAQ;EACR;EACA;;wBAuCc,WACd,OACA,aACA,OACA,UACA,WACA,UACA,cACA,aACA,OACA,QACA,WACA,cACG,SACF,gCAAa,IAAA;;;KC7EJ,oBAAoB,KAC9B,eAAe;EAGf,WAAW;EACX;EACA;EACA;EACA;EACA;EACA;EACA,kBAAkB;;wBAgCJ,eACd,UACA,WACA,UACA,WACA,WACA,WACA,kBACA,gBACA,cACG,SACF,oCAAiB,IAAA"}
1
+ {"version":3,"file":"index.d.ts","names":["SonnerToasterProps"],"sources":["../src/atoms/AnimatedNumber/index.tsx","../src/lib/control.ts","../src/atoms/Avatar/index.tsx","../src/lib/node.ts","../src/atoms/Badge/index.tsx","../src/atoms/Button/index.tsx","../src/atoms/Checkbox/index.tsx","../src/atoms/IconButton/index.tsx","../src/atoms/Input/index.tsx","../src/atoms/Kbd/index.tsx","../src/atoms/Progress/index.tsx","../src/atoms/ScrollArea/index.tsx","../src/atoms/Separator/index.tsx","../src/atoms/Skeleton/index.tsx","../src/atoms/Slider/index.tsx","../src/atoms/Spinner/index.tsx","../src/atoms/Surface/index.tsx","../src/atoms/Textarea/index.tsx","../src/atoms/Toggle/index.tsx","../src/lib/presence.ts","../src/molecules/Accordion/index.tsx","../src/molecules/Alert/index.tsx","../src/molecules/Attachment/index.tsx","../src/molecules/AvatarGroup/index.tsx","../src/molecules/Breadcrumb/index.tsx","../src/molecules/Calendar/index.tsx","../src/molecules/Card/index.tsx","../src/molecules/Collapsible/index.tsx","../src/molecules/Combobox/index.tsx","../src/molecules/Menu/MenuContent.tsx","../src/molecules/ContextMenu/index.tsx","../src/molecules/Dialog/index.tsx","../src/molecules/Drawer/index.tsx","../src/molecules/FieldMessage/index.tsx","../src/molecules/Field/index.tsx","../src/lib/overlay.ts","../src/molecules/HoverCard/index.tsx","../src/molecules/Menu/index.tsx","../src/molecules/OTPInput/index.tsx","../src/molecules/Pagination/index.tsx","../src/molecules/Popover/index.tsx","../src/molecules/QuestionCard/index.tsx","../src/molecules/RadioGroup/index.tsx","../src/molecules/Reveal/index.tsx","../src/molecules/Select/index.tsx","../src/molecules/Stat/index.tsx","../src/molecules/Tabs/index.tsx","../src/molecules/TaskList/index.tsx","../src/molecules/Timeline/index.tsx","../src/molecules/Toast/index.tsx","../src/molecules/Toolbar/index.tsx","../src/molecules/Tooltip/index.tsx","../src/organisms/Chart/index.tsx","../src/organisms/CommandPalette/index.tsx","../src/organisms/EmptyState/index.tsx","../src/organisms/MagneticDropzone/index.tsx","../src/organisms/Menubar/index.tsx","../src/organisms/ReasoningSteps/index.tsx","../src/organisms/Resizable/index.tsx","../src/organisms/Sidebar/index.tsx","../src/organisms/StreamingText/index.tsx","../src/organisms/Table/rows.ts","../src/organisms/Table/index.tsx","../src/atoms/StatusMark/index.tsx","../src/atoms/Timestamp/index.tsx","../src/atoms/NumberInput/index.tsx","../src/atoms/HoldButton/index.tsx","../src/molecules/SegmentedControl/index.tsx","../src/molecules/Stepper/index.tsx","../src/molecules/MetadataList/index.tsx","../src/molecules/OverflowList/index.tsx","../src/molecules/Citation/index.tsx","../src/molecules/ToolCalls/index.tsx","../src/molecules/PlanCard/index.tsx","../src/organisms/ChatScroller/index.tsx"],"mappings":";;;KAOY,sBAAsB,KAChC,eAAe;EAGf;EACA;EACA;EACA,UAAU;;wBAQI,iBACd,OACA,MACA,UACA,QACA,cACG,SACF,sCAAmB,IAAA;;;KC7BV;KAEA;;;KCIA;KAEA,cAAc,KAAK,eAAe;;EAE5C;EACA;EACA,O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AAc,KACxB,oBAAoB;EAWpB;EACA,gBAAgB;EAChB,OAAO;EACP;EACA;EACA;EACA,OAAO;EACP,aAAa;EACb;;wBAGc,SACd,OACA,eACA,OACA,KACA,KACA,MACA,MACA,YACA,SACA,WACA,UACA,OACA,kBACc,6BACI,+BACF,gBACb,SACF,8BAAW,IAAA;;;KC1CF,eAAe,eAAe;EACxC,OAAO;EACP;;wBAGc,UACd,MACA,OACA,cACG,SACF,+BAAY,IAAA;;;KCXH,eAAe,KAAK,eAAe;EAC7C,WAAW;EACX;EACA;;wBAGc,UACd,MACA,SACA,WACA,aACG,SACF,+BAAY,IAAA;;;KCXH,gBAAgB,uBAAuB;EACjD;EACA,OAAO;;wBAGO,WACd,SACA,MACA,2BACgB,gBACb,SACF,gCAAa,IAAA;;;KCXJ,cAAc,KACxB,qBAAqB;EAGrB;EACA,kBAAkB;EAClB;EACA,OAAO;EACP,WAAW;IAAS;;;wBAGN,SACd,SACA,iBACA,OACA,WACA,UACA,SACA,sBACgB,2BACF,cACX,SACF,8BAAW,IAAA;;;KCxBF;;wBAYI,gBAAgB;;;;;;wBAahB,iBACd,SAAS,oBACT,OAAO;KASG,SAAS,UAAU,cAAc;;EAE3C;;EAEA;;EAEA;;EAEA,KAAK,UAAU;;;;;;;;;;;;;wBAcD,YAAY,UAAU,cAAc,aAClD,eACA,QAAO,cACN,SAAS;;;KC1DA;;EAEV;EACA,SAAS;EACT,WAAW;EACX;;KAGU,iBAAiB,KAC3B,eAAe;EAGf,OAAO;;EAEP;;EAEA;;EAEA;EACA,iBAAiB;;wBAGH,YACd,OACA,MACA,OACA,cACA,eACA,cACG,SACF,iCAAc,IAAA;;;KC7BL,aAAa,KACvB,eAAe;EAGf;EACA,QAAQ;EACR,WAAW;EACX;EACA;;wBAUc,QACd,SACA,OACA,UACA,aACA,WACA,WACA,SACG,SACF,6BAAU,IAAA;qBAiEA,eAAM;KACP,cAAc;;;KCtFd;KAEA;EACV;EACA;EACA;EACA,SAAS;EACT;EACA;EACA;;KAGU;EACV,OAAO;EACP,YAAY;EACZ;EACA;;;wBAiCc,aACd,OACA,UACA,WACA,aACC,kCAAe,IAAA;;;KC9DN,kBAAkB,KAAK;KAEvB,mBAAmB,KAC7B,eAAe;EAGf,SAAS;;EAET;EACA,OAAO;;wBAGO,cACd,SACA,KACA,MACA,cACG,SACF,mCAAgB,IAAA;;;KCnBP;EACV,OAAO;;EAEP;;EAEA;;EAEA,OAAO;;KAGG,kBAAkB,KAAK,eAAe;EAChD,OAAO;;EAEP,YAAY;;EAEZ;;wBAGc,aACd,OACA,WACA,OACA,cACG,SACF,kCAAe,IAAA;;;KCzBN;EAAkB;EAAsB;;KAExC;;EAEV;EACA,iBAAiB;;EAEjB;EACA,iBAAiB;;EAEjB;EACA;;EAEA;EACA;EACA,QAAQ;EACR,eAAe;EACf,iBAAiB,OAAO;EACxB;EACA;EACA;;wBAwHc,WACd,OACA,eACA,OACA,eACA,KACA,KACA,cACA,MACA,OACA,cACA,eACA,QACA,WACA,aACC,gCAAa,IAAA;;;KC3JJ,YAAY,KACtB,eAAe;EAGf,QAAQ;EACR,cAAc;EACd,SAAS;EACT,SAAS;EACT,WAAW;EACX;EACA;;wBAGc,OACd,OACA,aACA,QACA,QACA,UACA,aACA,UACA,cACG,SACF,4BAAS,IAAA;;;KCrBA,mBAAmB,KAC7B,eAAe;EAGf,SAAS;EACT,WAAW;EACX;EACA;EACA,gBAAgB;EAChB;;wBAGc,cACd,SACA,UACA,MACA,aACA,cACA,UACA,cACG,SACF,mCAAgB,IAAA;;;KCVP;EACV;EACA,OAAO;EACP;;EAEA;;EAEA;;KAGU;EACV,SAAS;;EAET;;EAEA;EACA,iBAAiB;EACjB,kBAAkB;EAClB,cAAc;EACd;EACA,eAAe;EACf;EACA,OAAO;EACP;EACA;EACA;;wBA0Bc,WACd,SACA,OACA,QACA,eACA,gBACA,aACA,mBACA,cACA,UACA,MACA,IACA,WACA,aACC,gCAAa,IAAA;;;KC/EJ;EACV;EACA,QAAQ;EACR,OAAO;EACP,WAAW;EACX;EACA;EACA;;;;KCGU,mBAAmB,KAC7B,eAAe;EAGf,UAAU;EACV,OAAO;EACP,YAAY;EACZ;EACA;;;;;;;wBAQc,cACd,UACA,OACA,UACA,UACA,OACA,cACG,SACF,mCAAgB,IAAA;;;KCzBP;EACV;EACA;EACA,OAAO;EACP,cAAc;EACd,WAAW;EACX,SAAS;EACT;EACA;EACA;EACA,qBAAqB;EACrB,+BAA+B;EAC/B;;wBAGc,SACd,MACA,SACA,OACA,aACA,UACA,QACA,YACA,qBACA,eACA,cACA,aACA,aACC,8BAAW,IAAA;;;KC5BF;KAEA;EACV;EACA;EACA,OAAO;EACP,cAAc;EACd,WAAW;EACX,SAAS;EACT,OAAO;EACP;EACA;EACA;EACA;EACA,qBAAqB;EACrB,+BAA+B;EAC/B;;wBAGc,SACd,MACA,SACA,OACA,aACA,UACA,QACA,MACA,MACA,YACA,qBACA,eACA,cACA,aACA,aACC,8BAAW,IAAA;;;KC1CF,oBAAoB,KAC9B,eAAe;EAGf;EACA,WAAW;;wBAGG,eACd,SACA,WACA,aACG,SACF,oCAAiB,IAAA;;;KCZR;EACV,QAAQ;EACR;EACA,cAAc;EACd,UAAU;EACV,cAAc;EACd;EACA;EACA,WAAW;;wBAUG,QACd,OACA,SACA,aACA,SACA,aACA,UACA,WACA,YACC,6BAAU,IAAA;;;KC7BD;;;KCgBA;EACV,SAAS;EACT,UAAU;;EAEV;;EAEA;EACA,YAAY;EACZ;EACA;EACA;;wBAKc,YACd,SACA,UACA,WACA,YACA,WACA,WACA,SACA,aACC,iCAAc,IAAA;;;KCtBL;EACV,SAAS;EACT,OAAO;EACP,YAAY;;EAEZ;;EAEA,gBAAgB;EAChB;EACA;EACA;EACA;EACA;;wBAKc,OACd,SACA,OACA,UACA,OACA,OACA,MAAM,UACN,cACA,UACA,SACA,aACC,4BAAS,IAAA;;;KC5CA,0CAA0C;KAE1C;KAEA;;EAEV;EACA,YAAY;;EAEZ,cAAc;;EAEd;EACA;EACA,UAAU;EACV,QAAQ;EACR;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;;wBAyFc,WACd,OACA,UACA,YACA,QACA,QACA,SACA,OACA,aACA,cACA,UACA,SACA,WACA,WACA,IACA,0BACoB,aACpB,aACC,gCAAa,IAAA;;;KCnIJ,kBAAkB,KAAK,eAAe;;EAEhD;EACA;EACA,gBAAgB;;EAEhB;;EAEA,SAAS;;EAET;;wBAwBc,aACd,MACA,WACA,cACA,UACA,QACA,OACA,cACG,SACF,kCAAe,IAAA;;;KC9BN;EACV,SAAS;EACT,UAAU;EACV;EACA;EACA,gBAAgB;EAChB;EACA;EACA;EACA;EACA;;wBAGc,UACd,SACA,UACA,MACA,aACA,cACA,WACA,WACA,UACA,SACA,aACC,+BAAY,IAAA;;;KCpCH;EACV;EACA,OAAO;;EAEP,OAAO;EACP;;KAGU,oBAAoB,KAC9B,eAAe;EAGf,UAAU;;EAEV,cAAc;EACd,SAAS;;EAET;;EAEA;EACA,iBAAiB;;EAEjB;;EAEA,SAAS;EACT;;wBAGc,eACd,UACA,aACA,SACA,OACA,cACA,eACA,QACA,QACA,UACA,cACG,SACF,oCAAiB,IAAA;;;KCzCR;EACV;EACA,OAAO;EACP,cAAc;EACd;;KAGU;EACV;EACA,SAAS;EACT,gBAAgB;EAChB;EACA,QAAQ;EACR,cAAc;EACd,OAAO;EACP;EACA;EACA;;wBAGc,aACd,OACA,SACA,eACA,MACA,OACA,aACA,MACA,aACA,UACA,aACC,kCAAe,IAAA;;;KC7BN,cAAc,KAAK,eAAe;EAC5C,UAAU;EACV;EACA;EACA;EACA;EACA,QAAQ;EACR;;wBAGc,SACd,UACA,SACA,WACA,UACA,OACA,OACA,MACA,WACA,UACG,SACF,8BAAW,IAAA;;;KClBF;EACV;EACA,OAAO;EACP;;KAGU;EACV;EACA,SAAS;EACT,gBAAgB;EAChB;EACA;EACA,cAAc;EACd;EACA;EACA;EACA,OAAO;;wBAgBO,SACd,OACA,SACA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C,KACF,oBAAoB;EAGpB,SAAS,YAAY;EACrB,MAAM;EACN,UAAU;EACV,eAAe;EACf,eAAe;EACf,YAAY,KAAK,KAAK;EACtB;EACA;EACA;EACA;EACA,OAAO;EACP,cAAc;EACd,gBAAgB,MAAM;EACtB;EACA;EACA;EACA,WAAW;EACX,kBAAkB;EAClB,oBAAoB;EACpB,YAAY,KAAK,KAAK;EACtB;EACA;;wBAkBc,MACd,YAAY,0BAA0B,2BAEtC,SACA,MACA,SACA,cACA,QACA,UACA,SACA,SACA,cACA,mBACA,MACA,aACA,cACA,WACA,YACA,YACA,UACA,iBACA,kBACA,UACA,gBACA,cACG,SACF,WAAW,uBAAI,IAAA;;;KChGN;KAOA,kBAAkB,KAC5B,eAAe;EAGf,QAAQ;EACR;EACA;EACA,OAAO;EACP;;wBAQc,aACd,OACA,OACA,OACA,MACA,WACA,UACG,SACF,kCAAe,IAAA;;;KC/BN;KAEA,iBAAiB,KAC3B,mBAAmB;EAGnB,MAAM;EACN,SAAS;EACT;EACA,kBAAkB,KAAK;EACvB;EACA,MAAM;;wBAyFQ,YACd,MACA,QACA,QACA,iBACA,MACA,KACA,cACG,SACF,iCAAc,IAAA;;;KCtGL,mBAAmB,KAC7B,oBAAoB;EAWpB;EACA;EACA,iBAAiB;EACjB;EACA;EACA;EACA;EACA;EACA,SAAS,KAAK;EACd;EACA,OAAO;EACP;EACA;EACA;EACA;EACA;;wBAgGc,cACd,OACA,cACA,eACA,KACA,KACA,MACA,WACA,WACA,QACA,QACA,MACA,SACA,UACA,UACA,OACA,OACA,gBACA,gBACA,WACA,OACA,MACA,WACA,sBACc,8BACK,gCACH,gBACb,SACF,mCAAgB,IAAA;;;KC5JP,kBAAkB,KAC5B,qBAAqB;EAGrB;EACA,WAAW;EACX,YAAY;EACZ,iBAAiB;EACjB;EACA;EACA;EACA,OAAO;;wBA0BO,aACd,WACA,UACA,WACA,gBACA,MACA,UACA,SACA,MACA,UACA,WACA,OACA,eACA,aACA,iBACA,eACA,WACA,SACA,QACA,eACA,6BACoB,oBACjB,SACF,kCAAe,IAAA;;;KC5DN;EACV;EACA,OAAO;EACP,OAAO;EACP;;KAGU;EACV,SAAS;EACT;EACA;EACA;EACA,iBAAiB;EACjB,OAAO;EACP,UAAU;EACV;EACA;EACA;;wBA2Bc,mBACd,SACA,WACA,OACA,cACA,eACA,MACA,SACA,WACA,UACA,aACC,wCAAqB,IAAA;;;KCzDZ;EACV;EACA,OAAO;EACP,cAAc;;KAKJ;EACV,OAAO;EACP;EACA;EACA,OAAO;EACP,gBAAgB;EAChB;EACA;EACA;;wBAUc,UACd,OACA,SACA,aACA,MACA,cACA,WACA,gBACA,aACC,+BAAY,IAAA;;;KCnCH;EACV,OAAO;EACP,OAAO;EACP,OAAO;EACP;;KAGU;KAEA,oBAAoB,KAC9B,eAAe;EAGf,OAAO;EACP,SAAS;EACT,OAAO;EACP;;wBASc,eACd,OACA,QACA,MACA,UACA,cACG,SACF,oCAAiB,IAAA;;;KC5BR;KAEA,kBAAkB,eAAe,KAC3C,eAAe;EAGf,OAAO;EACP,aAAa,MAAM,GAAG,kBAAkB;EACxC,kBAAkB,QAAQ,QAAQ;EAClC,sBAAsB,MAAM,GAAG,kBAAkB;EACjD,UAAU,MAAM,GAAG;EACnB;EACA,eAAe;EACf,iBAAiB;;wBAkFH,aAAa,KAC3B,OACA,YACA,gBACA,oBACA,QACA,YACA,cACA,eACA,cACG,SACF,kBAAkB,qBAAE,IAAA;;;KCpGX;EACV;EACA;EACA;EACA;EACA;;KAGU;EACV,SAAS;EACT;EACA;EACA,YAAY;EACZ;EACA;EACA;;wBA2Bc,WACd,SACA,OACA,KACA,WACA,WACA,YACA,aACC,gCAAa,IAAA;;;KC1DJ;EACV;EACA;EACA,QAAQ;EACR,OAAO;EACP,QAAQ;EACR,SAAS;EACT;;KAGU,iBAAiB,KAC3B,eAAe;EAGf,OAAO;EACP;EACA;EACA,gBAAgB;EAChB,QAAQ;;wBA8HM,YACd,OACA,MACA,aACA,cACA,OACA,cACG,SACF,iCAAc,IAAA;;;KCtJL;EACV;EACA,OAAO;EACP,SAAS;EACT,QAAQ;;KAGE;KAEA,gBAAgB,KAC1B,eAAe;EAGf,OAAO;EACP,cAAc;EACd,OAAO;EACP;EACA,YAAY,OAAO;EACnB;EACA,eAAe;EACf,cAAc;EACd,QAAQ;EACR;EACA;;wBAuCc,WACd,OACA,aACA,OACA,UACA,WACA,UACA,cACA,aACA,OACA,QACA,WACA,cACG,SACF,gCAAa,IAAA;;;KC7EJ,oBAAoB,KAC9B,eAAe;EAGf,WAAW;EACX;EACA;EACA;EACA;EACA;EACA;EACA,kBAAkB;;wBAgCJ,eACd,UACA,WACA,UACA,WACA,WACA,WACA,kBACA,gBACA,cACG,SACF,oCAAiB,IAAA"}
package/dist/index.js CHANGED
@@ -365,7 +365,7 @@ function Spinner({ size = "md", label, className, ...props }) {
365
365
  }
366
366
  //#endregion
367
367
  //#region src/atoms/Button/index.tsx
368
- function Button({ variant = "secondary", size = "md", loading = false, disabled, className, type = "button", children, onClick, "aria-busy": ariaBusy, "aria-disabled": ariaDisabled, ...props }) {
368
+ function Button({ variant = "secondary", size = "md", density = "default", motion = "lift", loading = false, disabled, className, type = "button", children, onClick, "aria-busy": ariaBusy, "aria-disabled": ariaDisabled, ...props }) {
369
369
  const handleClick = (event) => {
370
370
  if (loading) {
371
371
  event.preventDefault();
@@ -378,6 +378,8 @@ function Button({ variant = "secondary", size = "md", loading = false, disabled,
378
378
  className: cn("sph-button", className),
379
379
  "data-variant": variant,
380
380
  "data-size": size,
381
+ "data-density": density,
382
+ "data-motion": motion,
381
383
  "data-loading": loading || void 0,
382
384
  disabled,
383
385
  ...node(props),
@@ -422,7 +424,7 @@ function Checkbox({ label, size = "md", invalid = false, className, ...props })
422
424
  }
423
425
  //#endregion
424
426
  //#region src/atoms/IconButton/index.tsx
425
- function IconButton({ icon, label, size = "md", variant = "ghost", loading = false, disabled, className, type = "button", onClick, ...props }) {
427
+ function IconButton({ icon, label, size = "md", density = "default", variant = "ghost", loading = false, disabled, className, type = "button", onClick, ...props }) {
426
428
  const handleClick = (event) => {
427
429
  if (loading) {
428
430
  event.preventDefault();
@@ -435,9 +437,10 @@ function IconButton({ icon, label, size = "md", variant = "ghost", loading = fal
435
437
  type,
436
438
  className: cn("sph-icon-button", className),
437
439
  "data-size": size,
440
+ "data-density": density,
438
441
  "data-variant": variant,
439
442
  "data-loading": loading || void 0,
440
- "aria-label": label,
443
+ "aria-label": props["aria-label"] ?? label,
441
444
  "aria-busy": loading ? true : props["aria-busy"],
442
445
  "aria-disabled": loading ? true : props["aria-disabled"],
443
446
  disabled,
@@ -1364,11 +1367,6 @@ function matchText(text, query) {
1364
1367
  indexes
1365
1368
  };
1366
1369
  }
1367
- /**
1368
- * Filters `items` with `query`, preserving their original order.
1369
- * `label` is matched first (its indexes drive highlighting); `keywords`
1370
- * are a fallback that keeps an item visible without highlightable ranges.
1371
- */
1372
1370
  function filterItems(items, query, read) {
1373
1371
  const trimmed = query.trim();
1374
1372
  if (trimmed.length === 0) return items.map((item) => ({
@@ -1393,6 +1391,13 @@ function filterItems(items, query, read) {
1393
1391
  }
1394
1392
  return results;
1395
1393
  }
1394
+ function filterItemsWith(items, query, read, filter) {
1395
+ if (!filter) return filterItems(items, query, read);
1396
+ return items.filter((item) => filter(item, query)).map((item) => ({
1397
+ item,
1398
+ indexes: matchText(read(item).label, query)?.indexes ?? []
1399
+ }));
1400
+ }
1396
1401
  //#endregion
1397
1402
  //#region src/lib/highlight.tsx
1398
1403
  /**
@@ -2309,7 +2314,10 @@ function Field({ label, htmlFor, description, message, messageType = "hint", req
2309
2314
  const descriptionId = description ? `${generatedId}-description` : void 0;
2310
2315
  const messageId = message ? `${generatedId}-message` : void 0;
2311
2316
  const describedBy = [descriptionId, messageId].filter(Boolean).join(" ");
2312
- const control = isValidElement(children) ? cloneElement(children, {
2317
+ const isControl = isValidElement(children);
2318
+ const controlId = (isControl ? children.props.id : void 0) ?? htmlFor ?? (isControl ? `${generatedId}-control` : void 0);
2319
+ const control = isControl ? cloneElement(children, {
2320
+ id: controlId,
2313
2321
  "aria-describedby": [children.props["aria-describedby"], describedBy].filter(Boolean).join(" ") || void 0,
2314
2322
  "aria-required": children.props["aria-required"] ?? (required || void 0),
2315
2323
  "aria-invalid": children.props["aria-invalid"] ?? (messageType === "error" && messageId ? true : void 0)
@@ -2319,7 +2327,7 @@ function Field({ label, htmlFor, description, message, messageType = "hint", req
2319
2327
  children: [
2320
2328
  label !== void 0 && /* @__PURE__ */ jsxs("label", {
2321
2329
  className: "sph-field__label",
2322
- htmlFor,
2330
+ htmlFor: htmlFor ?? controlId,
2323
2331
  children: [/* @__PURE__ */ jsx("span", { children: node(label) }), required && /* @__PURE__ */ jsx("span", {
2324
2332
  className: "sph-field__required",
2325
2333
  children: "Required"
@@ -4231,7 +4239,6 @@ function Chart({ categories, series, variant = "line", height = 160, smooth = fa
4231
4239
  }
4232
4240
  //#endregion
4233
4241
  //#region src/organisms/CommandPalette/index.tsx
4234
- /** Re-runs a CSS animation by detaching, reflowing, and re-attaching it. */
4235
4242
  function replay(element, className) {
4236
4243
  if (!element) return;
4237
4244
  element.classList.remove(className);
@@ -4256,7 +4263,7 @@ function resolveActive(options, wanted) {
4256
4263
  for (let index = 0; index < start; index += 1) if (enabled(index)) return index;
4257
4264
  return start;
4258
4265
  }
4259
- function CommandPalette({ open, onOpenChange, items, onSelect, placeholder = "Type a command or search…", emptyMessage = "No results.", homeLabel = "Home", ariaLabel = "Command palette", hotkey = false, className }) {
4266
+ function CommandPalette({ open, onOpenChange, items, onSelect, placeholder = "Type a command or search…", emptyMessage = "No results.", homeLabel = "Home", ariaLabel = "Command palette", hotkey = false, className, filter }) {
4260
4267
  const listId = useId();
4261
4268
  const rootRef = useRef(null);
4262
4269
  const panelRef = useRef(null);
@@ -4275,12 +4282,13 @@ function CommandPalette({ open, onOpenChange, items, onSelect, placeholder = "Ty
4275
4282
  const visible = present && portaled;
4276
4283
  useFocusTrap(rootRef, visible, inputRef);
4277
4284
  const levelItems = path.length > 0 ? path[path.length - 1]?.children ?? [] : items;
4285
+ const hasNestedLevels = items.some((item) => (item.children?.length ?? 0) > 0);
4278
4286
  const { sections, options } = useMemo(() => {
4279
4287
  const read = (item) => ({
4280
4288
  label: readableLabel(item),
4281
4289
  keywords: [item.keywords ?? "", ...(item.children ?? []).map((child) => readableLabel(child))].filter(Boolean).join(" ")
4282
4290
  });
4283
- const filtered = filterItems(levelItems, query, read);
4291
+ const filtered = filterItemsWith(levelItems, query, read, filter);
4284
4292
  const ungrouped = filtered.filter((entry) => entry.item.group === void 0);
4285
4293
  const grouped = [...new Set(filtered.map((entry) => entry.item.group).filter((name) => name !== void 0))].map((name) => ({
4286
4294
  heading: name,
@@ -4305,6 +4313,7 @@ function CommandPalette({ open, onOpenChange, items, onSelect, placeholder = "Ty
4305
4313
  options: built.flatMap((s) => s.entries)
4306
4314
  };
4307
4315
  }, [
4316
+ filter,
4308
4317
  levelItems,
4309
4318
  listId,
4310
4319
  query
@@ -4502,7 +4511,7 @@ function CommandPalette({ open, onOpenChange, items, onSelect, placeholder = "Ty
4502
4511
  ref: panelRef,
4503
4512
  className: "sph-palette__panel",
4504
4513
  children: [
4505
- /* @__PURE__ */ jsxs("nav", {
4514
+ hasNestedLevels && /* @__PURE__ */ jsxs("nav", {
4506
4515
  className: "sph-palette__crumbs",
4507
4516
  "aria-label": "Breadcrumb",
4508
4517
  children: [
@@ -6241,7 +6250,7 @@ function segmentTarget(options, index, key) {
6241
6250
  }
6242
6251
  return -1;
6243
6252
  }
6244
- function SegmentedControl({ options, ariaLabel, value, defaultValue, onValueChange, size = "md", fullWidth = false, disabled = false, className }) {
6253
+ function SegmentedControl({ options, ariaLabel, value, defaultValue, onValueChange, size = "md", density = "default", fullWidth = false, disabled = false, className }) {
6245
6254
  const generatedId = useId();
6246
6255
  const [uncontrolledValue, setUncontrolledValue] = useState(() => defaultValue ?? options.find((option) => !option.disabled)?.value ?? "");
6247
6256
  const activeValue = value ?? uncontrolledValue;
@@ -6270,6 +6279,7 @@ function SegmentedControl({ options, ariaLabel, value, defaultValue, onValueChan
6270
6279
  "aria-disabled": disabled || void 0,
6271
6280
  className: cn("sph-segmented-control", className),
6272
6281
  "data-size": size,
6282
+ "data-density": density,
6273
6283
  "data-full-width": fullWidth || void 0,
6274
6284
  "data-disabled": disabled || void 0,
6275
6285
  style,