@rebasepro/ui 0.1.2 → 0.2.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.
package/LICENSE CHANGED
@@ -1,6 +1,6 @@
1
1
  MIT License
2
2
 
3
- Copyright (c) 2021 Rebase
3
+ Copyright (c) 2026 Rebase
4
4
 
5
5
  Permission is hereby granted, free of charge, to any person obtaining a copy
6
6
  of this software and associated documentation files (the "Software"), to deal
@@ -0,0 +1,42 @@
1
+ import React from "react";
2
+ export interface FilterChipProps {
3
+ /**
4
+ * The text label displayed on the chip.
5
+ */
6
+ children: React.ReactNode;
7
+ /**
8
+ * Whether the chip is currently in an active/selected state.
9
+ */
10
+ active?: boolean;
11
+ /**
12
+ * Callback when the chip is clicked.
13
+ */
14
+ onClick?: () => void;
15
+ /**
16
+ * Optional icon rendered before the label.
17
+ */
18
+ icon?: React.ReactNode;
19
+ /**
20
+ * Size variant.
21
+ * @default "medium"
22
+ */
23
+ size?: "small" | "medium";
24
+ /**
25
+ * Additional class names.
26
+ */
27
+ className?: string;
28
+ /**
29
+ * Whether the chip is disabled.
30
+ */
31
+ disabled?: boolean;
32
+ }
33
+ /**
34
+ * A toggle chip used for filter presets and similar multi-select controls.
35
+ *
36
+ * Uses an inset box-shadow for the active ring instead of `border` so the
37
+ * chip size stays stable across states and the ring cannot be clipped by
38
+ * parent `overflow-hidden` containers.
39
+ *
40
+ * @group Interactive components
41
+ */
42
+ export declare function FilterChip({ children, active, onClick, icon, size, className, disabled }: FilterChipProps): import("react/jsx-runtime").JSX.Element;
@@ -22,6 +22,7 @@ export * from "./DialogContent";
22
22
  export * from "./DialogTitle";
23
23
  export * from "./ExpandablePanel";
24
24
  export * from "./FileUpload";
25
+ export * from "./FilterChip";
25
26
  export * from "./IconButton";
26
27
  export * from "./InputLabel";
27
28
  export * from "./InfoLabel";
@@ -51,3 +52,7 @@ export * from "./DebouncedTextField";
51
52
  export * from "./Skeleton";
52
53
  export * from "./ToggleButtonGroup";
53
54
  export * from "./VirtualTable";
55
+ import * as Portal from "@radix-ui/react-portal";
56
+ import * as PopoverPrimitive from "@radix-ui/react-popover";
57
+ export { Portal, PopoverPrimitive };
58
+ export { Slot } from "@radix-ui/react-slot";
@@ -4,3 +4,5 @@ export * from "./Icon";
4
4
  export * from "./GitHubIcon";
5
5
  export * from "./HandleIcon";
6
6
  export type { LucideProps, LucideIcon } from "lucide-react";
7
+ export { icons as lucideIcons } from "lucide-react";
8
+ export { AlertCircleIcon, AlertTriangleIcon, AlignLeftIcon, AppWindow, ArrowDownToLineIcon, ArrowLeftIcon, ArrowRightFromLineIcon, ArrowRightIcon, ArrowRightToLineIcon, ArrowUpToLineIcon, BoldIcon, BookOpenIcon, CalendarIcon, CheckCircleIcon, CheckIcon, CheckSquareIcon, ChevronDownIcon, ChevronLeftIcon, ChevronRightIcon, ChevronUpIcon, ChevronsLeftIcon, ChevronsRightIcon, ChevronsUpDownIcon, CircleIcon, CircleUserIcon, CodeIcon, ColumnsIcon, CopyIcon, DatabaseIcon, DownloadIcon, ExternalLinkIcon, EyeIcon, EyeOffIcon, FileIcon, FileSearchIcon, FileTextIcon, FilterIcon, FilterXIcon, FlagIcon, FolderIcon, FolderPlusIcon, FolderUpIcon, FunctionSquareIcon, GitBranchIcon, GlobeIcon, HashIcon, Heading1Icon, Heading2Icon, Heading3Icon, HelpCircleIcon, HistoryIcon, HomeIcon, ImageIcon, ImageOffIcon, InfoIcon, ItalicIcon, KanbanIcon, KeyIcon, KeyRoundIcon, LanguagesIcon, LayoutGridIcon, LinkIcon, ListIcon, ListOrderedIcon, LoaderIcon, LogOutIcon, MailIcon, Maximize2Icon, MenuIcon, MinusCircleIcon, MinusIcon, MoonIcon, MoreVerticalIcon, Music2Icon, PanelLeftIcon, PauseIcon, PencilIcon, PhoneIcon, PlayIcon, PlusIcon, QuoteIcon, RefreshCcwIcon, RefreshCwIcon, RepeatIcon, Rows3Icon, SaveIcon, SearchIcon, SendIcon, SettingsIcon, ShieldIcon, ShoppingCartIcon, SlidersHorizontalIcon, SquareIcon, StarIcon, StrikethroughIcon, SunIcon, SunMoonIcon, TableIcon, TagIcon, TerminalIcon, TextIcon, Trash2Icon, TypeIcon, UnderlineIcon, UndoIcon, UploadCloudIcon, UploadIcon, UserCheckIcon, UserIcon, VideoIcon, VoteIcon, Wand2Icon, XCircleIcon, XIcon, } from "lucide-react";