@bubble-design-system/ui 0.2.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +21 -0
- package/README.md +1039 -0
- package/dist/assets/logo-blob.svg +12 -0
- package/dist/assets/logo-wordmark.svg +13 -0
- package/dist/index.cjs +977 -0
- package/dist/index.cjs.map +1 -0
- package/dist/index.d.cts +355 -0
- package/dist/index.d.ts +355 -0
- package/dist/index.js +951 -0
- package/dist/index.js.map +1 -0
- package/dist/styles.css +2122 -0
- package/dist/tokens.css +750 -0
- package/package.json +81 -0
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../src/utils/cn.ts","../src/components/Button.tsx","../src/components/Input.tsx","../src/components/Checkbox.tsx","../src/components/Radio.tsx","../src/components/Switch.tsx","../src/components/Select.tsx","../src/components/Badge.tsx","../src/components/Avatar.tsx","../src/components/Divider.tsx","../src/components/Modal.tsx","../src/components/Toast.tsx","../src/components/Tooltip.tsx","../src/components/Tabs.tsx","../src/components/Alert.tsx","../src/components/DropdownMenu.tsx","../src/components/Skeleton.tsx","../src/components/Card.tsx","../src/components/Textarea.tsx","../src/components/StatusPill.tsx","../src/components/Segmented.tsx","../src/components/Grid.tsx"],"names":["clsx","forwardRef","jsx","BaseButton","BaseInput","BaseCheckbox","jsxs","BaseRadio","BaseRadioGroup","BaseSwitch","BaseSelect","BaseAvatar","Separator","BaseDialog","BaseToast","toast","BaseTooltip","BaseTabs","BaseMenu","createContext","useContext","useMemo","ToggleGroup","Toggle"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;AAQO,SAAS,MAAM,MAAA,EAA8B;AAClD,EAAA,OAAOA,UAAK,MAAM,CAAA;AACpB;ACKO,IAAM,MAAA,GAASC,gBAAA;AAAA,EACpB,CAAC,EAAE,OAAA,GAAU,SAAA,EAAW,IAAA,GAAO,MAAM,SAAA,EAAW,GAAG,KAAA,EAAM,EAAG,GAAA,KAAQ;AAClE,IAAA,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;AAAA,EACf,CAAC,EAAE,MAAA,GAAS,SAAA,EAAW,WAAW,GAAG,KAAA,EAAM,EAAG,GAAA,qBAC5CC,cAAAA;AAAA,IAAC,KAAA;AAAA,IAAA;AAAA,MACC,GAAA;AAAA,MACA,WAAW,EAAA,CAAG,UAAA,EAAY,CAAA,UAAA,EAAa,MAAM,IAAI,SAAS,CAAA;AAAA,MACzD,GAAG;AAAA;AAAA;AAGV,CAAA;AACA,QAAA,CAAS,WAAA,GAAc,MAAA;AAWvB,IAAM,OAAA,GAAUD,gBAAAA;AAAA,EACd,CAAC,EAAE,IAAA,GAAO,EAAA,EAAI,MAAA,EAAQ,MAAA,EAAQ,MAAA,EAAQ,SAAA,EAAW,GAAG,KAAA,EAAM,EAAG,GAAA,qBAC3DC,cAAAA;AAAA,IAAC,KAAA;AAAA,IAAA;AAAA,MACC,GAAA;AAAA,MACA,SAAA,EAAW,EAAA;AAAA,QACT,uBAAuB,IAAI,CAAA,CAAA;AAAA,QAC3B,MAAA,KAAW,MAAA,IAAa,CAAA,uBAAA,EAA0B,MAAM,CAAA,CAAA;AAAA,QACxD,MAAA,KAAW,MAAA,IAAa,CAAA,uBAAA,EAA0B,MAAM,CAAA,CAAA;AAAA,QACxD,MAAA,KAAW,MAAA,IAAa,CAAA,uBAAA,EAA0B,MAAM,CAAA,CAAA;AAAA,QACxD;AAAA,OACF;AAAA,MACC,GAAG;AAAA;AAAA;AAGV,CAAA;AACA,OAAA,CAAQ,WAAA,GAAc,UAAA;AAEf,IAAM,IAAA,GAAO,MAAA,CAAO,MAAA,CAAO,QAAA,EAAU;AAAA,EAC1C,GAAA,EAAK;AACP,CAAC","file":"index.cjs","sourcesContent":["import { clsx, type ClassValue } from \"clsx\";\n\n/**\n * Conditionally joins CSS class names.\n *\n * Example:\n * cn(\"pds-btn\", \"pds-btn--primary\", isActive && \"pds-btn--active\", className)\n */\nexport function cn(...inputs: ClassValue[]): string {\n return clsx(inputs);\n}\n","import { forwardRef, type ComponentPropsWithoutRef } from \"react\";\nimport { Button as BaseButton } from \"@base-ui/react/button\";\nimport { cn } from \"../utils/cn\";\n\ntype ButtonVariant = \"primary\" | \"secondary\" | \"destructive\" | \"ghost\";\ntype ButtonSize = \"sm\" | \"md\" | \"lg\";\n\ntype BaseButtonProps = ComponentPropsWithoutRef<typeof BaseButton>;\n\nexport interface ButtonProps extends Omit<BaseButtonProps, \"className\"> {\n variant?: ButtonVariant;\n size?: ButtonSize;\n className?: string;\n}\n\nexport const Button = forwardRef<HTMLElement, ButtonProps>(\n ({ variant = \"primary\", size = \"md\", className, ...props }, ref) => {\n return (\n <BaseButton\n ref={ref}\n className={cn(\n \"pds-btn\",\n `pds-btn--${variant}`,\n `pds-btn--${size}`,\n className,\n )}\n {...props}\n />\n );\n },\n);\nButton.displayName = \"Button\";\n","import { forwardRef, type ComponentPropsWithoutRef } from \"react\";\nimport { Input as BaseInput } from \"@base-ui/react/input\";\nimport { cn } from \"../utils/cn\";\n\ntype InputSize = \"sm\" | \"md\" | \"lg\";\n\ntype BaseInputProps = ComponentPropsWithoutRef<typeof BaseInput>;\n\nexport interface InputProps extends Omit<BaseInputProps, \"className\" | \"size\"> {\n size?: InputSize;\n invalid?: boolean;\n className?: string;\n}\n\nexport const Input = forwardRef<HTMLInputElement, InputProps>(\n ({ size = \"md\", invalid, className, ...props }, ref) => {\n return (\n <BaseInput\n ref={ref}\n aria-invalid={invalid || undefined}\n className={cn(\"pds-input\", `pds-input--${size}`, className)}\n {...props}\n />\n );\n },\n);\nInput.displayName = \"Input\";\n","import { forwardRef, type ComponentPropsWithoutRef } from \"react\";\nimport { Checkbox as BaseCheckbox } from \"@base-ui/react/checkbox\";\nimport { cn } from \"../utils/cn\";\n\ntype CheckboxSize = \"sm\" | \"md\" | \"lg\";\n\ntype BaseCheckboxRootProps = ComponentPropsWithoutRef<typeof BaseCheckbox.Root>;\n\nexport interface CheckboxProps extends Omit<BaseCheckboxRootProps, \"className\" | \"render\"> {\n size?: CheckboxSize;\n className?: string;\n}\n\nexport const Checkbox = forwardRef<HTMLButtonElement, CheckboxProps>(\n ({ size = \"md\", className, ...props }, ref) => {\n return (\n <BaseCheckbox.Root\n ref={ref as never}\n className={cn(\"pds-checkbox\", `pds-checkbox--${size}`, className)}\n {...props}\n >\n <BaseCheckbox.Indicator className=\"pds-checkbox__indicator\">\n <svg\n viewBox=\"0 0 16 16\"\n fill=\"none\"\n className=\"pds-checkbox__icon pds-checkbox__icon--check\"\n aria-hidden=\"true\"\n >\n <path\n d=\"M3.5 8.5l3 3 6-6.5\"\n stroke=\"currentColor\"\n strokeWidth=\"2\"\n strokeLinecap=\"round\"\n strokeLinejoin=\"round\"\n />\n </svg>\n <svg\n viewBox=\"0 0 16 16\"\n fill=\"none\"\n className=\"pds-checkbox__icon pds-checkbox__icon--indeterminate\"\n aria-hidden=\"true\"\n >\n <path\n d=\"M3.5 8h9\"\n stroke=\"currentColor\"\n strokeWidth=\"2\"\n strokeLinecap=\"round\"\n />\n </svg>\n </BaseCheckbox.Indicator>\n </BaseCheckbox.Root>\n );\n },\n);\nCheckbox.displayName = \"Checkbox\";\n","import { forwardRef, type ComponentPropsWithoutRef } from \"react\";\nimport { Radio as BaseRadio } from \"@base-ui/react/radio\";\nimport { RadioGroup as BaseRadioGroup } from \"@base-ui/react/radio-group\";\nimport { cn } from \"../utils/cn\";\n\ntype RadioSize = \"sm\" | \"md\" | \"lg\";\n\ntype BaseRadioRootProps = ComponentPropsWithoutRef<typeof BaseRadio.Root>;\ntype BaseRadioGroupProps = ComponentPropsWithoutRef<typeof BaseRadioGroup>;\n\nexport interface RadioProps extends Omit<BaseRadioRootProps, \"className\" | \"render\"> {\n size?: RadioSize;\n className?: string;\n}\n\nexport const Radio = forwardRef<HTMLButtonElement, RadioProps>(\n ({ size = \"md\", className, ...props }, ref) => {\n return (\n <BaseRadio.Root\n ref={ref as never}\n className={cn(\"pds-radio\", `pds-radio--${size}`, className)}\n {...props}\n >\n <BaseRadio.Indicator className=\"pds-radio__indicator\" />\n </BaseRadio.Root>\n );\n },\n);\nRadio.displayName = \"Radio\";\n\nexport interface RadioGroupProps extends Omit<BaseRadioGroupProps, \"className\"> {\n className?: string;\n}\n\nexport const RadioGroup = forwardRef<HTMLDivElement, RadioGroupProps>(\n ({ className, ...props }, ref) => {\n return (\n <BaseRadioGroup\n ref={ref}\n className={cn(\"pds-radio-group\", className)}\n {...props}\n />\n );\n },\n);\nRadioGroup.displayName = \"RadioGroup\";\n","import { forwardRef, type ComponentPropsWithoutRef } from \"react\";\nimport { Switch as BaseSwitch } from \"@base-ui/react/switch\";\nimport { cn } from \"../utils/cn\";\n\ntype SwitchSize = \"sm\" | \"md\" | \"lg\";\n\ntype BaseSwitchRootProps = ComponentPropsWithoutRef<typeof BaseSwitch.Root>;\n\nexport interface SwitchProps extends Omit<BaseSwitchRootProps, \"className\" | \"render\"> {\n size?: SwitchSize;\n className?: string;\n}\n\nexport const Switch = forwardRef<HTMLButtonElement, SwitchProps>(\n ({ size = \"md\", className, ...props }, ref) => {\n return (\n <BaseSwitch.Root\n ref={ref as never}\n className={cn(\"pds-switch\", `pds-switch--${size}`, className)}\n {...props}\n >\n <BaseSwitch.Thumb className=\"pds-switch__thumb\" />\n </BaseSwitch.Root>\n );\n },\n);\nSwitch.displayName = \"Switch\";\n","import { forwardRef, type ComponentPropsWithoutRef, type ReactNode } from \"react\";\nimport { Select as BaseSelect } from \"@base-ui/react/select\";\nimport { cn } from \"../utils/cn\";\n\ntype SelectSize = \"sm\" | \"md\" | \"lg\";\n\ntype BaseTriggerProps = ComponentPropsWithoutRef<typeof BaseSelect.Trigger>;\ntype BasePopupProps = ComponentPropsWithoutRef<typeof BaseSelect.Popup>;\ntype BaseItemProps = ComponentPropsWithoutRef<typeof BaseSelect.Item>;\ntype BaseValueProps = ComponentPropsWithoutRef<typeof BaseSelect.Value>;\n\nexport interface SelectTriggerProps extends Omit<BaseTriggerProps, \"className\" | \"render\"> {\n size?: SelectSize;\n className?: string;\n}\n\nconst SelectTrigger = forwardRef<HTMLButtonElement, SelectTriggerProps>(\n ({ size = \"md\", className, children, ...props }, ref) => {\n return (\n <BaseSelect.Trigger\n ref={ref}\n className={cn(\n \"pds-select-trigger\",\n `pds-select-trigger--${size}`,\n className,\n )}\n {...props}\n >\n {children}\n <BaseSelect.Icon className=\"pds-select-icon\">\n <svg viewBox=\"0 0 16 16\" fill=\"none\" aria-hidden=\"true\">\n <path\n d=\"M4 6l4 4 4-4\"\n stroke=\"currentColor\"\n strokeWidth=\"1.5\"\n strokeLinecap=\"round\"\n strokeLinejoin=\"round\"\n />\n </svg>\n </BaseSelect.Icon>\n </BaseSelect.Trigger>\n );\n },\n);\nSelectTrigger.displayName = \"Select.Trigger\";\n\nexport interface SelectValueProps extends Omit<BaseValueProps, \"className\"> {\n placeholder?: ReactNode;\n className?: string;\n}\n\nconst SelectValue = forwardRef<HTMLSpanElement, SelectValueProps>(\n ({ placeholder, className, children, ...props }, ref) => {\n return (\n <BaseSelect.Value\n ref={ref}\n className={cn(\"pds-select-value\", className)}\n {...props}\n >\n {children ??\n ((value: unknown) =>\n value === null || value === undefined || value === \"\" ? (\n <span className=\"pds-select-value-placeholder\">{placeholder}</span>\n ) : (\n String(value)\n ))}\n </BaseSelect.Value>\n );\n },\n);\nSelectValue.displayName = \"Select.Value\";\n\nexport interface SelectContentProps extends Omit<BasePopupProps, \"className\" | \"render\"> {\n className?: string;\n sideOffset?: number;\n}\n\nconst SelectContent = forwardRef<HTMLDivElement, SelectContentProps>(\n ({ className, sideOffset = 6, children, ...props }, ref) => {\n return (\n <BaseSelect.Portal>\n <BaseSelect.Positioner sideOffset={sideOffset} className=\"pds-select-positioner\">\n <BaseSelect.Popup\n ref={ref as never}\n className={cn(\"pds-select-popup\", className)}\n {...props}\n >\n {children}\n </BaseSelect.Popup>\n </BaseSelect.Positioner>\n </BaseSelect.Portal>\n );\n },\n);\nSelectContent.displayName = \"Select.Content\";\n\nexport interface SelectItemProps extends Omit<BaseItemProps, \"className\" | \"render\"> {\n className?: string;\n}\n\nconst SelectItem = forwardRef<HTMLDivElement, SelectItemProps>(\n ({ className, children, ...props }, ref) => {\n return (\n <BaseSelect.Item\n ref={ref}\n className={cn(\"pds-select-item\", className)}\n {...props}\n >\n <BaseSelect.ItemIndicator className=\"pds-select-item__indicator\">\n <svg viewBox=\"0 0 16 16\" fill=\"none\" aria-hidden=\"true\">\n <path\n d=\"M3.5 8.5l3 3 6-6.5\"\n stroke=\"currentColor\"\n strokeWidth=\"2\"\n strokeLinecap=\"round\"\n strokeLinejoin=\"round\"\n />\n </svg>\n </BaseSelect.ItemIndicator>\n <BaseSelect.ItemText>{children}</BaseSelect.ItemText>\n </BaseSelect.Item>\n );\n },\n);\nSelectItem.displayName = \"Select.Item\";\n\nexport const Select = {\n Root: BaseSelect.Root,\n Trigger: SelectTrigger,\n Value: SelectValue,\n Content: SelectContent,\n Item: SelectItem,\n};\n","import { forwardRef, type HTMLAttributes } from \"react\";\nimport { cn } from \"../utils/cn\";\n\ntype BadgeVariant =\n | \"neutral\"\n | \"brand\"\n | \"success\"\n | \"warning\"\n | \"danger\";\ntype BadgeSize = \"sm\" | \"md\" | \"lg\";\n\nexport interface BadgeProps extends HTMLAttributes<HTMLSpanElement> {\n variant?: BadgeVariant;\n size?: BadgeSize;\n}\n\nexport const Badge = forwardRef<HTMLSpanElement, BadgeProps>(\n ({ variant = \"neutral\", size = \"md\", className, ...props }, ref) => {\n return (\n <span\n ref={ref}\n className={cn(\n \"pds-badge\",\n `pds-badge--${variant}`,\n `pds-badge--${size}`,\n className,\n )}\n {...props}\n />\n );\n },\n);\nBadge.displayName = \"Badge\";\n","import { forwardRef, type ComponentPropsWithoutRef } from \"react\";\nimport { Avatar as BaseAvatar } from \"@base-ui/react/avatar\";\nimport { cn } from \"../utils/cn\";\n\ntype AvatarSize = \"sm\" | \"md\" | \"lg\" | \"xl\";\n\ntype BaseRootProps = ComponentPropsWithoutRef<typeof BaseAvatar.Root>;\ntype BaseImageProps = ComponentPropsWithoutRef<typeof BaseAvatar.Image>;\ntype BaseFallbackProps = ComponentPropsWithoutRef<typeof BaseAvatar.Fallback>;\n\nexport interface AvatarProps extends Omit<BaseRootProps, \"className\" | \"render\"> {\n size?: AvatarSize;\n className?: string;\n}\n\nconst AvatarRoot = forwardRef<HTMLSpanElement, AvatarProps>(\n ({ size = \"md\", className, ...props }, ref) => {\n return (\n <BaseAvatar.Root\n ref={ref}\n className={cn(\"pds-avatar\", `pds-avatar--${size}`, className)}\n {...props}\n />\n );\n },\n);\nAvatarRoot.displayName = \"Avatar\";\n\nexport interface AvatarImageProps extends Omit<BaseImageProps, \"className\" | \"render\"> {\n className?: string;\n}\n\nconst AvatarImage = forwardRef<HTMLImageElement, AvatarImageProps>(\n ({ className, ...props }, ref) => {\n return (\n <BaseAvatar.Image\n ref={ref}\n className={cn(\"pds-avatar__image\", className)}\n {...props}\n />\n );\n },\n);\nAvatarImage.displayName = \"Avatar.Image\";\n\nexport interface AvatarFallbackProps extends Omit<BaseFallbackProps, \"className\" | \"render\"> {\n className?: string;\n}\n\nconst AvatarFallback = forwardRef<HTMLSpanElement, AvatarFallbackProps>(\n ({ className, ...props }, ref) => {\n return (\n <BaseAvatar.Fallback\n ref={ref}\n className={cn(\"pds-avatar__fallback\", className)}\n {...props}\n />\n );\n },\n);\nAvatarFallback.displayName = \"Avatar.Fallback\";\n\nexport const Avatar = Object.assign(AvatarRoot, {\n Image: AvatarImage,\n Fallback: AvatarFallback,\n});\n","import { forwardRef, type ComponentPropsWithoutRef } from \"react\";\nimport { Separator } from \"@base-ui/react/separator\";\nimport { cn } from \"../utils/cn\";\n\ntype BaseSeparatorProps = ComponentPropsWithoutRef<typeof Separator>;\n\nexport interface DividerProps extends Omit<BaseSeparatorProps, \"className\" | \"render\"> {\n className?: string;\n}\n\nexport const Divider = forwardRef<HTMLDivElement, DividerProps>(\n ({ orientation = \"horizontal\", className, ...props }, ref) => {\n return (\n <Separator\n ref={ref}\n orientation={orientation}\n className={cn(\n \"pds-divider\",\n orientation === \"horizontal\" ? \"pds-divider--horizontal\" : \"pds-divider--vertical\",\n className,\n )}\n {...props}\n />\n );\n },\n);\nDivider.displayName = \"Divider\";\n","import { forwardRef, type ComponentPropsWithoutRef } from \"react\";\nimport { Dialog as BaseDialog } from \"@base-ui/react/dialog\";\nimport { cn } from \"../utils/cn\";\n\ntype BasePopupProps = ComponentPropsWithoutRef<typeof BaseDialog.Popup>;\ntype BaseTitleProps = ComponentPropsWithoutRef<typeof BaseDialog.Title>;\ntype BaseDescProps = ComponentPropsWithoutRef<typeof BaseDialog.Description>;\n\nexport interface ModalContentProps extends Omit<BasePopupProps, \"className\" | \"render\"> {\n className?: string;\n backdropClassName?: string;\n}\n\nconst ModalContent = forwardRef<HTMLDivElement, ModalContentProps>(\n ({ className, backdropClassName, children, ...props }, ref) => {\n return (\n <BaseDialog.Portal>\n <BaseDialog.Backdrop className={cn(\"pds-modal-backdrop\", backdropClassName)} />\n <BaseDialog.Popup\n ref={ref}\n className={cn(\"pds-modal-popup\", className)}\n {...props}\n >\n {children}\n </BaseDialog.Popup>\n </BaseDialog.Portal>\n );\n },\n);\nModalContent.displayName = \"Modal.Content\";\n\nexport interface ModalTitleProps extends Omit<BaseTitleProps, \"className\" | \"render\"> {\n className?: string;\n}\n\nconst ModalTitle = forwardRef<HTMLHeadingElement, ModalTitleProps>(\n ({ className, ...props }, ref) => {\n return (\n <BaseDialog.Title\n ref={ref}\n className={cn(\"pds-modal-title\", className)}\n {...props}\n />\n );\n },\n);\nModalTitle.displayName = \"Modal.Title\";\n\nexport interface ModalDescriptionProps extends Omit<BaseDescProps, \"className\" | \"render\"> {\n className?: string;\n}\n\nconst ModalDescription = forwardRef<HTMLParagraphElement, ModalDescriptionProps>(\n ({ className, ...props }, ref) => {\n return (\n <BaseDialog.Description\n ref={ref}\n className={cn(\"pds-modal-description\", className)}\n {...props}\n />\n );\n },\n);\nModalDescription.displayName = \"Modal.Description\";\n\nexport const Modal = {\n Root: BaseDialog.Root,\n Trigger: BaseDialog.Trigger,\n Close: BaseDialog.Close,\n Content: ModalContent,\n Title: ModalTitle,\n Description: ModalDescription,\n};\n","import { forwardRef, type ComponentPropsWithoutRef } from \"react\";\nimport { Toast as BaseToast } from \"@base-ui/react/toast\";\nimport { cn } from \"../utils/cn\";\n\nconst { useToastManager } = BaseToast;\n\ntype ProviderProps = ComponentPropsWithoutRef<typeof BaseToast.Provider>;\ntype ViewportProps = ComponentPropsWithoutRef<typeof BaseToast.Viewport>;\n\nconst ToastProvider = ({ children, ...props }: ProviderProps) => {\n return <BaseToast.Provider {...props}>{children}</BaseToast.Provider>;\n};\nToastProvider.displayName = \"Toast.Provider\";\n\nconst ToastViewport = forwardRef<HTMLDivElement, Omit<ViewportProps, \"className\"> & { className?: string }>(\n ({ className, ...props }, ref) => {\n return (\n <BaseToast.Viewport\n ref={ref}\n className={cn(\"pds-toast-viewport\", className)}\n style={{ [\"--gap\" as string]: \"12px\" }}\n {...props}\n />\n );\n },\n);\nToastViewport.displayName = \"Toast.Viewport\";\n\nconst Toaster = () => {\n const { toasts } = useToastManager();\n return (\n <ToastViewport>\n {toasts.map((toast) => (\n <BaseToast.Root\n key={toast.id}\n toast={toast}\n className=\"pds-toast-item\"\n >\n {toast.title ? (\n <BaseToast.Title className=\"pds-toast-title\" />\n ) : null}\n {toast.description ? (\n <BaseToast.Description className=\"pds-toast-description\" />\n ) : null}\n <BaseToast.Close\n aria-label=\"Close\"\n className=\"pds-toast-close\"\n >\n <svg viewBox=\"0 0 16 16\" fill=\"none\" aria-hidden=\"true\">\n <path\n d=\"M4 4l8 8M12 4l-8 8\"\n stroke=\"currentColor\"\n strokeWidth=\"1.5\"\n strokeLinecap=\"round\"\n />\n </svg>\n </BaseToast.Close>\n </BaseToast.Root>\n ))}\n </ToastViewport>\n );\n};\nToaster.displayName = \"Toaster\";\n\nexport const Toast = {\n Provider: ToastProvider,\n Viewport: ToastViewport,\n Toaster,\n};\n\nexport { useToastManager as useToast };\n","import { forwardRef, type ComponentPropsWithoutRef } from \"react\";\nimport { Tooltip as BaseTooltip } from \"@base-ui/react/tooltip\";\nimport { cn } from \"../utils/cn\";\n\ntype BasePopupProps = ComponentPropsWithoutRef<typeof BaseTooltip.Popup>;\n\nexport interface TooltipContentProps extends Omit<BasePopupProps, \"className\" | \"render\"> {\n className?: string;\n sideOffset?: number;\n side?: \"top\" | \"bottom\" | \"left\" | \"right\";\n align?: \"start\" | \"center\" | \"end\";\n}\n\nconst TooltipContent = forwardRef<HTMLDivElement, TooltipContentProps>(\n ({ className, sideOffset = 6, side = \"top\", align = \"center\", children, ...props }, ref) => {\n return (\n <BaseTooltip.Portal>\n <BaseTooltip.Positioner\n sideOffset={sideOffset}\n side={side}\n align={align}\n className=\"pds-tooltip-positioner\"\n >\n <BaseTooltip.Popup\n ref={ref}\n className={cn(\"pds-tooltip-popup\", className)}\n {...props}\n >\n {children}\n </BaseTooltip.Popup>\n </BaseTooltip.Positioner>\n </BaseTooltip.Portal>\n );\n },\n);\nTooltipContent.displayName = \"Tooltip.Content\";\n\nexport const Tooltip = {\n Provider: BaseTooltip.Provider,\n Root: BaseTooltip.Root,\n Trigger: BaseTooltip.Trigger,\n Content: TooltipContent,\n};\n","import { forwardRef, type ComponentPropsWithoutRef } from \"react\";\nimport { Tabs as BaseTabs } from \"@base-ui/react/tabs\";\nimport { cn } from \"../utils/cn\";\n\ntype RootProps = ComponentPropsWithoutRef<typeof BaseTabs.Root>;\ntype ListProps = ComponentPropsWithoutRef<typeof BaseTabs.List>;\ntype TabProps = ComponentPropsWithoutRef<typeof BaseTabs.Tab>;\ntype PanelProps = ComponentPropsWithoutRef<typeof BaseTabs.Panel>;\n\nexport interface TabsRootProps extends Omit<RootProps, \"className\" | \"render\"> {\n className?: string;\n}\n\nconst TabsRoot = forwardRef<HTMLDivElement, TabsRootProps>(\n ({ className, ...props }, ref) => {\n return (\n <BaseTabs.Root\n ref={ref}\n className={cn(\"pds-tabs\", className)}\n {...props}\n />\n );\n },\n);\nTabsRoot.displayName = \"Tabs\";\n\nexport interface TabsListProps extends Omit<ListProps, \"className\" | \"render\"> {\n className?: string;\n}\n\nconst TabsList = forwardRef<HTMLDivElement, TabsListProps>(\n ({ className, children, ...props }, ref) => {\n return (\n <BaseTabs.List\n ref={ref}\n className={cn(\"pds-tabs__list\", className)}\n {...props}\n >\n {children}\n <BaseTabs.Indicator className=\"pds-tabs__indicator\" />\n </BaseTabs.List>\n );\n },\n);\nTabsList.displayName = \"Tabs.List\";\n\nexport interface TabsTabProps extends Omit<TabProps, \"className\" | \"render\"> {\n className?: string;\n}\n\nconst TabsTab = forwardRef<HTMLButtonElement, TabsTabProps>(\n ({ className, ...props }, ref) => {\n return (\n <BaseTabs.Tab\n ref={ref as never}\n className={cn(\"pds-tabs__tab\", className)}\n {...props}\n />\n );\n },\n);\nTabsTab.displayName = \"Tabs.Tab\";\n\nexport interface TabsPanelProps extends Omit<PanelProps, \"className\" | \"render\"> {\n className?: string;\n}\n\nconst TabsPanel = forwardRef<HTMLDivElement, TabsPanelProps>(\n ({ className, ...props }, ref) => {\n return (\n <BaseTabs.Panel\n ref={ref}\n className={cn(\"pds-tabs__panel\", className)}\n {...props}\n />\n );\n },\n);\nTabsPanel.displayName = \"Tabs.Panel\";\n\nexport const Tabs = Object.assign(TabsRoot, {\n List: TabsList,\n Tab: TabsTab,\n Panel: TabsPanel,\n});\n","import { forwardRef, type HTMLAttributes, type ReactNode } from \"react\";\nimport { cn } from \"../utils/cn\";\n\ntype AlertVariant = \"info\" | \"success\" | \"warning\" | \"danger\";\n\nconst icons: Record<AlertVariant, ReactNode> = {\n info: (\n <svg viewBox=\"0 0 16 16\" fill=\"none\" aria-hidden=\"true\">\n <circle cx=\"8\" cy=\"8\" r=\"7\" stroke=\"currentColor\" strokeWidth=\"1.5\" />\n <path d=\"M8 7.5v4\" stroke=\"currentColor\" strokeWidth=\"1.5\" strokeLinecap=\"round\" />\n <circle cx=\"8\" cy=\"5\" r=\"0.75\" fill=\"currentColor\" />\n </svg>\n ),\n success: (\n <svg viewBox=\"0 0 16 16\" fill=\"none\" aria-hidden=\"true\">\n <circle cx=\"8\" cy=\"8\" r=\"7\" stroke=\"currentColor\" strokeWidth=\"1.5\" />\n <path d=\"M5 8.5l2 2 4-4.5\" stroke=\"currentColor\" strokeWidth=\"1.5\" strokeLinecap=\"round\" strokeLinejoin=\"round\" />\n </svg>\n ),\n warning: (\n <svg viewBox=\"0 0 16 16\" fill=\"none\" aria-hidden=\"true\">\n <path d=\"M8 1.75L14.5 13.5h-13L8 1.75z\" stroke=\"currentColor\" strokeWidth=\"1.5\" strokeLinejoin=\"round\" />\n <path d=\"M8 6.5v3.5\" stroke=\"currentColor\" strokeWidth=\"1.5\" strokeLinecap=\"round\" />\n <circle cx=\"8\" cy=\"11.75\" r=\"0.75\" fill=\"currentColor\" />\n </svg>\n ),\n danger: (\n <svg viewBox=\"0 0 16 16\" fill=\"none\" aria-hidden=\"true\">\n <circle cx=\"8\" cy=\"8\" r=\"7\" stroke=\"currentColor\" strokeWidth=\"1.5\" />\n <path d=\"M5.5 5.5l5 5M10.5 5.5l-5 5\" stroke=\"currentColor\" strokeWidth=\"1.5\" strokeLinecap=\"round\" />\n </svg>\n ),\n};\n\nexport interface AlertProps extends Omit<HTMLAttributes<HTMLDivElement>, \"title\"> {\n variant?: AlertVariant;\n icon?: ReactNode | false;\n title?: ReactNode;\n}\n\nexport const Alert = forwardRef<HTMLDivElement, AlertProps>(\n (\n { variant = \"info\", icon, title, className, children, ...props },\n ref,\n ) => {\n const renderedIcon = icon === false ? null : icon ?? icons[variant];\n return (\n <div\n ref={ref}\n role=\"alert\"\n className={cn(\"pds-alert\", `pds-alert--${variant}`, className)}\n {...props}\n >\n {renderedIcon ? (\n <span className=\"pds-alert__icon\">{renderedIcon}</span>\n ) : null}\n <div className=\"pds-alert__body\">\n {title ? <div className=\"pds-alert__title\">{title}</div> : null}\n {children ? (\n <div className=\"pds-alert__description\">{children}</div>\n ) : null}\n </div>\n </div>\n );\n },\n);\nAlert.displayName = \"Alert\";\n","import { forwardRef, type ComponentPropsWithoutRef } from \"react\";\nimport { Menu as BaseMenu } from \"@base-ui/react/menu\";\nimport { cn } from \"../utils/cn\";\n\ntype PopupProps = ComponentPropsWithoutRef<typeof BaseMenu.Popup>;\ntype ItemProps = ComponentPropsWithoutRef<typeof BaseMenu.Item>;\ntype CheckboxItemProps = ComponentPropsWithoutRef<typeof BaseMenu.CheckboxItem>;\ntype RadioItemProps = ComponentPropsWithoutRef<typeof BaseMenu.RadioItem>;\ntype GroupLabelProps = ComponentPropsWithoutRef<typeof BaseMenu.GroupLabel>;\ntype SeparatorProps = ComponentPropsWithoutRef<typeof BaseMenu.Separator>;\n\nexport interface DropdownMenuContentProps extends Omit<PopupProps, \"className\" | \"render\"> {\n className?: string;\n sideOffset?: number;\n align?: \"start\" | \"center\" | \"end\";\n}\n\nconst DropdownMenuContent = forwardRef<HTMLDivElement, DropdownMenuContentProps>(\n ({ className, sideOffset = 6, align = \"start\", children, ...props }, ref) => {\n return (\n <BaseMenu.Portal>\n <BaseMenu.Positioner\n sideOffset={sideOffset}\n align={align}\n className=\"pds-menu-positioner\"\n >\n <BaseMenu.Popup\n ref={ref as never}\n className={cn(\"pds-menu-popup\", className)}\n {...props}\n >\n {children}\n </BaseMenu.Popup>\n </BaseMenu.Positioner>\n </BaseMenu.Portal>\n );\n },\n);\nDropdownMenuContent.displayName = \"DropdownMenu.Content\";\n\nexport interface DropdownMenuItemProps extends Omit<ItemProps, \"className\" | \"render\"> {\n className?: string;\n}\n\nconst DropdownMenuItem = forwardRef<HTMLDivElement, DropdownMenuItemProps>(\n ({ className, ...props }, ref) => {\n return (\n <BaseMenu.Item\n ref={ref as never}\n className={cn(\"pds-menu-item\", className)}\n {...props}\n />\n );\n },\n);\nDropdownMenuItem.displayName = \"DropdownMenu.Item\";\n\nexport interface DropdownMenuCheckboxItemProps extends Omit<CheckboxItemProps, \"className\" | \"render\"> {\n className?: string;\n}\n\nconst DropdownMenuCheckboxItem = forwardRef<HTMLDivElement, DropdownMenuCheckboxItemProps>(\n ({ className, children, ...props }, ref) => {\n return (\n <BaseMenu.CheckboxItem\n ref={ref as never}\n className={cn(\"pds-menu-item\", \"pds-menu-item--indented\", className)}\n {...props}\n >\n <BaseMenu.CheckboxItemIndicator className=\"pds-menu-item__indicator\">\n <svg viewBox=\"0 0 16 16\" fill=\"none\" aria-hidden=\"true\">\n <path\n d=\"M3.5 8.5l3 3 6-6.5\"\n stroke=\"currentColor\"\n strokeWidth=\"2\"\n strokeLinecap=\"round\"\n strokeLinejoin=\"round\"\n />\n </svg>\n </BaseMenu.CheckboxItemIndicator>\n {children}\n </BaseMenu.CheckboxItem>\n );\n },\n);\nDropdownMenuCheckboxItem.displayName = \"DropdownMenu.CheckboxItem\";\n\nexport interface DropdownMenuRadioItemProps extends Omit<RadioItemProps, \"className\" | \"render\"> {\n className?: string;\n}\n\nconst DropdownMenuRadioItem = forwardRef<HTMLDivElement, DropdownMenuRadioItemProps>(\n ({ className, children, ...props }, ref) => {\n return (\n <BaseMenu.RadioItem\n ref={ref as never}\n className={cn(\"pds-menu-item\", \"pds-menu-item--indented\", className)}\n {...props}\n >\n <BaseMenu.RadioItemIndicator className=\"pds-menu-item__indicator pds-menu-item__indicator--radio\">\n <svg viewBox=\"0 0 16 16\" fill=\"currentColor\" aria-hidden=\"true\">\n <circle cx=\"8\" cy=\"8\" r=\"8\" />\n </svg>\n </BaseMenu.RadioItemIndicator>\n {children}\n </BaseMenu.RadioItem>\n );\n },\n);\nDropdownMenuRadioItem.displayName = \"DropdownMenu.RadioItem\";\n\nexport interface DropdownMenuLabelProps extends Omit<GroupLabelProps, \"className\" | \"render\"> {\n className?: string;\n}\n\nconst DropdownMenuLabel = forwardRef<HTMLDivElement, DropdownMenuLabelProps>(\n ({ className, ...props }, ref) => {\n return (\n <BaseMenu.GroupLabel\n ref={ref}\n className={cn(\"pds-menu-label\", className)}\n {...props}\n />\n );\n },\n);\nDropdownMenuLabel.displayName = \"DropdownMenu.Label\";\n\nexport interface DropdownMenuSeparatorProps extends Omit<SeparatorProps, \"className\" | \"render\"> {\n className?: string;\n}\n\nconst DropdownMenuSeparator = forwardRef<HTMLDivElement, DropdownMenuSeparatorProps>(\n ({ className, ...props }, ref) => {\n return (\n <BaseMenu.Separator\n ref={ref}\n className={cn(\"pds-menu-separator\", className)}\n {...props}\n />\n );\n },\n);\nDropdownMenuSeparator.displayName = \"DropdownMenu.Separator\";\n\nexport const DropdownMenu = {\n Root: BaseMenu.Root,\n Trigger: BaseMenu.Trigger,\n Content: DropdownMenuContent,\n Item: DropdownMenuItem,\n CheckboxItem: DropdownMenuCheckboxItem,\n RadioGroup: BaseMenu.RadioGroup,\n RadioItem: DropdownMenuRadioItem,\n Group: BaseMenu.Group,\n Label: DropdownMenuLabel,\n Separator: DropdownMenuSeparator,\n};\n","import { forwardRef, type HTMLAttributes } from \"react\";\nimport { cn } from \"../utils/cn\";\n\ntype SkeletonShape = \"line\" | \"circle\" | \"block\";\n\nexport interface SkeletonProps extends HTMLAttributes<HTMLDivElement> {\n shape?: SkeletonShape;\n}\n\nexport const Skeleton = forwardRef<HTMLDivElement, SkeletonProps>(\n ({ shape = \"line\", className, ...props }, ref) => {\n return (\n <div\n ref={ref}\n aria-hidden=\"true\"\n className={cn(\"pds-skeleton\", `pds-skeleton--${shape}`, className)}\n {...props}\n />\n );\n },\n);\nSkeleton.displayName = \"Skeleton\";\n","import { forwardRef, type HTMLAttributes } from \"react\";\nimport { cn } from \"../utils/cn\";\n\ntype CardVariant = \"elevated\" | \"muted\";\n\nexport interface CardProps extends HTMLAttributes<HTMLDivElement> {\n variant?: CardVariant;\n}\n\nconst CardRoot = forwardRef<HTMLDivElement, CardProps>(\n ({ variant = \"elevated\", className, ...props }, ref) => {\n return (\n <div\n ref={ref}\n className={cn(\"pds-card\", `pds-card--${variant}`, className)}\n {...props}\n />\n );\n },\n);\nCardRoot.displayName = \"Card\";\n\nexport interface CardHeaderProps extends HTMLAttributes<HTMLDivElement> {}\n\nconst CardHeader = forwardRef<HTMLDivElement, CardHeaderProps>(\n ({ className, ...props }, ref) => (\n <div\n ref={ref}\n className={cn(\"pds-card__header\", className)}\n {...props}\n />\n ),\n);\nCardHeader.displayName = \"Card.Header\";\n\nexport interface CardTitleProps extends HTMLAttributes<HTMLHeadingElement> {}\n\nconst CardTitle = forwardRef<HTMLHeadingElement, CardTitleProps>(\n ({ className, ...props }, ref) => (\n <h3\n ref={ref}\n className={cn(\"pds-card__title\", className)}\n {...props}\n />\n ),\n);\nCardTitle.displayName = \"Card.Title\";\n\nexport interface CardDescriptionProps\n extends HTMLAttributes<HTMLParagraphElement> {}\n\nconst CardDescription = forwardRef<HTMLParagraphElement, CardDescriptionProps>(\n ({ className, ...props }, ref) => (\n <p\n ref={ref}\n className={cn(\"pds-card__description\", className)}\n {...props}\n />\n ),\n);\nCardDescription.displayName = \"Card.Description\";\n\nexport interface CardActionProps extends HTMLAttributes<HTMLDivElement> {}\n\nconst CardAction = forwardRef<HTMLDivElement, CardActionProps>(\n ({ className, ...props }, ref) => (\n <div\n ref={ref}\n className={cn(\"pds-card__action\", className)}\n {...props}\n />\n ),\n);\nCardAction.displayName = \"Card.Action\";\n\nexport interface CardBodyProps extends HTMLAttributes<HTMLDivElement> {}\n\nconst CardBody = forwardRef<HTMLDivElement, CardBodyProps>(\n ({ className, ...props }, ref) => (\n <div\n ref={ref}\n className={cn(\"pds-card__body\", className)}\n {...props}\n />\n ),\n);\nCardBody.displayName = \"Card.Body\";\n\nexport interface CardFooterProps extends HTMLAttributes<HTMLDivElement> {}\n\nconst CardFooter = forwardRef<HTMLDivElement, CardFooterProps>(\n ({ className, ...props }, ref) => (\n <div\n ref={ref}\n className={cn(\"pds-card__footer\", className)}\n {...props}\n />\n ),\n);\nCardFooter.displayName = \"Card.Footer\";\n\nexport const Card = Object.assign(CardRoot, {\n Header: CardHeader,\n Title: CardTitle,\n Description: CardDescription,\n Action: CardAction,\n Body: CardBody,\n Footer: CardFooter,\n});\n","import { forwardRef, type TextareaHTMLAttributes } from \"react\";\nimport { cn } from \"../utils/cn\";\n\ntype TextareaSize = \"sm\" | \"md\" | \"lg\";\n\nexport interface TextareaProps\n extends Omit<TextareaHTMLAttributes<HTMLTextAreaElement>, \"size\"> {\n size?: TextareaSize;\n invalid?: boolean;\n}\n\nexport const Textarea = forwardRef<HTMLTextAreaElement, TextareaProps>(\n ({ size = \"md\", invalid, className, ...props }, ref) => {\n return (\n <textarea\n ref={ref}\n aria-invalid={invalid || undefined}\n className={cn(\"pds-textarea\", `pds-textarea--${size}`, className)}\n {...props}\n />\n );\n },\n);\nTextarea.displayName = \"Textarea\";\n","import {\n createContext,\n forwardRef,\n useContext,\n type CSSProperties,\n type HTMLAttributes,\n} from \"react\";\nimport { cn } from \"../utils/cn\";\n\ntype StatusPillIntent = \"neutral\" | \"success\" | \"warning\" | \"danger\" | \"info\";\n\nconst intentVars: Record<StatusPillIntent, CSSProperties> = {\n neutral: {\n [\"--pill-chip\" as never]: \"var(--gray-400)\",\n [\"--pill-text\" as never]: \"var(--color-text-tertiary)\",\n },\n success: {\n [\"--pill-chip\" as never]: \"var(--green-500)\",\n [\"--pill-text\" as never]: \"var(--color-text-success)\",\n },\n warning: {\n [\"--pill-chip\" as never]: \"var(--amber-500)\",\n [\"--pill-text\" as never]: \"var(--color-text-warning)\",\n },\n danger: {\n [\"--pill-chip\" as never]: \"var(--red-500)\",\n [\"--pill-text\" as never]: \"var(--color-text-danger)\",\n },\n info: {\n [\"--pill-chip\" as never]: \"var(--brand-500)\",\n [\"--pill-text\" as never]: \"var(--color-text-brand)\",\n },\n};\n\nconst StatusPillContext = createContext<StatusPillIntent>(\"neutral\");\n\nexport interface StatusPillProps extends HTMLAttributes<HTMLSpanElement> {\n intent?: StatusPillIntent;\n}\n\nconst StatusPillRoot = forwardRef<HTMLSpanElement, StatusPillProps>(\n ({ intent = \"neutral\", className, style, ...props }, ref) => {\n return (\n <StatusPillContext.Provider value={intent}>\n <span\n ref={ref}\n className={cn(\"pds-status-pill\", className)}\n style={{ ...intentVars[intent], ...style }}\n {...props}\n />\n </StatusPillContext.Provider>\n );\n },\n);\nStatusPillRoot.displayName = \"StatusPill\";\n\nexport interface StatusPillIndicatorProps\n extends HTMLAttributes<HTMLSpanElement> {}\n\nconst StatusPillIndicator = forwardRef<HTMLSpanElement, StatusPillIndicatorProps>(\n ({ className, children, ...props }, ref) => {\n return (\n <span\n ref={ref}\n aria-hidden=\"true\"\n className={cn(\"pds-status-pill__indicator\", className)}\n {...props}\n >\n {children}\n </span>\n );\n },\n);\nStatusPillIndicator.displayName = \"StatusPill.Indicator\";\n\nexport interface StatusPillLabelProps extends HTMLAttributes<HTMLSpanElement> {}\n\nconst StatusPillLabel = forwardRef<HTMLSpanElement, StatusPillLabelProps>(\n ({ className, ...props }, ref) => {\n useContext(StatusPillContext);\n return (\n <span\n ref={ref}\n className={cn(\"pds-status-pill__label\", className)}\n {...props}\n />\n );\n },\n);\nStatusPillLabel.displayName = \"StatusPill.Label\";\n\nexport const StatusPill = Object.assign(StatusPillRoot, {\n Indicator: StatusPillIndicator,\n Label: StatusPillLabel,\n});\n","import {\n createContext,\n forwardRef,\n useContext,\n useMemo,\n type ComponentPropsWithoutRef,\n type ReactNode,\n} from \"react\";\nimport { Toggle } from \"@base-ui/react/toggle\";\nimport { ToggleGroup } from \"@base-ui/react/toggle-group\";\nimport { cn } from \"../utils/cn\";\n\ntype SegmentedSize = \"sm\" | \"md\" | \"lg\";\n\nconst SegmentedSizeContext = createContext<SegmentedSize>(\"md\");\n\ntype ToggleGroupProps = ComponentPropsWithoutRef<typeof ToggleGroup>;\n\nexport interface SegmentedProps\n extends Omit<\n ToggleGroupProps,\n \"className\" | \"value\" | \"defaultValue\" | \"onValueChange\" | \"multiple\"\n > {\n /** Selected item value. */\n value?: string;\n /** Uncontrolled initial selected item. */\n defaultValue?: string;\n /** Fired with the newly selected value. */\n onValueChange?: (value: string) => void;\n /** Controls item heights — sm 24px / md 28px / lg 32px. */\n size?: SegmentedSize;\n className?: string;\n children?: ReactNode;\n}\n\nconst SegmentedRoot = forwardRef<HTMLDivElement, SegmentedProps>(\n (\n { value, defaultValue, onValueChange, size = \"md\", className, ...props },\n ref,\n ) => {\n const handleChange = useMemo(\n () =>\n onValueChange\n ? (groupValue: string[]) => {\n const next = groupValue[0];\n if (next !== undefined) onValueChange(next);\n }\n : undefined,\n [onValueChange],\n );\n\n return (\n <SegmentedSizeContext.Provider value={size}>\n <ToggleGroup\n ref={ref}\n value={value !== undefined ? [value] : undefined}\n defaultValue={\n defaultValue !== undefined ? [defaultValue] : undefined\n }\n onValueChange={handleChange}\n className={cn(\"pds-segmented\", `pds-segmented--${size}`, className)}\n {...props}\n />\n </SegmentedSizeContext.Provider>\n );\n },\n);\nSegmentedRoot.displayName = \"Segmented\";\n\ntype ToggleItemProps = ComponentPropsWithoutRef<typeof Toggle>;\n\nexport interface SegmentedItemProps\n extends Omit<ToggleItemProps, \"className\" | \"value\"> {\n value: string;\n className?: string;\n}\n\nconst SegmentedItem = forwardRef<HTMLButtonElement, SegmentedItemProps>(\n ({ className, value, ...props }, ref) => {\n const size = useContext(SegmentedSizeContext);\n return (\n <Toggle\n ref={ref}\n value={value}\n className={cn(\n \"pds-segmented__item\",\n `pds-segmented__item--${size}`,\n className,\n )}\n {...props}\n />\n );\n },\n);\nSegmentedItem.displayName = \"Segmented.Item\";\n\nexport const Segmented = Object.assign(SegmentedRoot, {\n Item: SegmentedItem,\n});\n","import { forwardRef, type HTMLAttributes } from \"react\";\nimport { cn } from \"../utils/cn\";\n\ntype ContainerSize = \"sm\" | \"md\" | \"lg\" | \"xl\" | \"prose\" | \"fluid\";\n\nexport interface ContainerProps extends HTMLAttributes<HTMLDivElement> {\n size?: ContainerSize;\n}\n\nexport const Container = forwardRef<HTMLDivElement, ContainerProps>(\n ({ size = \"xl\", className, ...props }, ref) => (\n <div\n ref={ref}\n className={cn(\"pds-container\", `pds-container--${size}`, className)}\n {...props}\n />\n ),\n);\nContainer.displayName = \"Container\";\n\ntype GridGutter = \"default\" | \"tight\" | \"flush\";\n\nexport interface GridRootProps extends HTMLAttributes<HTMLDivElement> {\n gutter?: GridGutter;\n}\n\nconst GridRoot = forwardRef<HTMLDivElement, GridRootProps>(\n ({ gutter = \"default\", className, ...props }, ref) => (\n <div\n ref={ref}\n className={cn(\"pds-grid\", `pds-grid--${gutter}`, className)}\n {...props}\n />\n ),\n);\nGridRoot.displayName = \"Grid\";\n\ntype Span = 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | \"full\";\n\nexport interface GridColProps extends HTMLAttributes<HTMLDivElement> {\n span?: Span;\n smSpan?: Span;\n mdSpan?: Span;\n lgSpan?: Span;\n}\n\nconst GridCol = forwardRef<HTMLDivElement, GridColProps>(\n ({ span = 12, smSpan, mdSpan, lgSpan, className, ...props }, ref) => (\n <div\n ref={ref}\n className={cn(\n `pds-grid__col--span-${span}`,\n smSpan !== undefined && `pds-grid__col--sm-span-${smSpan}`,\n mdSpan !== undefined && `pds-grid__col--md-span-${mdSpan}`,\n lgSpan !== undefined && `pds-grid__col--lg-span-${lgSpan}`,\n className,\n )}\n {...props}\n />\n ),\n);\nGridCol.displayName = \"Grid.Col\";\n\nexport const Grid = Object.assign(GridRoot, {\n Col: GridCol,\n});\n"]}
|
package/dist/index.d.cts
ADDED
|
@@ -0,0 +1,355 @@
|
|
|
1
|
+
import { ClassValue } from 'clsx';
|
|
2
|
+
import * as react from 'react';
|
|
3
|
+
import { ComponentPropsWithoutRef, ReactNode, HTMLAttributes, TextareaHTMLAttributes } from 'react';
|
|
4
|
+
import { Button as Button$1 } from '@base-ui/react/button';
|
|
5
|
+
import { Input as Input$1 } from '@base-ui/react/input';
|
|
6
|
+
import { Checkbox as Checkbox$1 } from '@base-ui/react/checkbox';
|
|
7
|
+
import { Radio as Radio$1 } from '@base-ui/react/radio';
|
|
8
|
+
import { RadioGroup as RadioGroup$1 } from '@base-ui/react/radio-group';
|
|
9
|
+
import { Switch as Switch$1 } from '@base-ui/react/switch';
|
|
10
|
+
import { Select as Select$1 } from '@base-ui/react/select';
|
|
11
|
+
import { Avatar as Avatar$1 } from '@base-ui/react/avatar';
|
|
12
|
+
import { Separator } from '@base-ui/react/separator';
|
|
13
|
+
import * as _base_ui_react from '@base-ui/react';
|
|
14
|
+
import { Dialog } from '@base-ui/react/dialog';
|
|
15
|
+
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
16
|
+
import { Toast as Toast$1 } from '@base-ui/react/toast';
|
|
17
|
+
import { Tooltip as Tooltip$1 } from '@base-ui/react/tooltip';
|
|
18
|
+
import { Tabs as Tabs$1 } from '@base-ui/react/tabs';
|
|
19
|
+
import { Menu } from '@base-ui/react/menu';
|
|
20
|
+
import { Toggle } from '@base-ui/react/toggle';
|
|
21
|
+
import { ToggleGroup } from '@base-ui/react/toggle-group';
|
|
22
|
+
|
|
23
|
+
/**
|
|
24
|
+
* Conditionally joins CSS class names.
|
|
25
|
+
*
|
|
26
|
+
* Example:
|
|
27
|
+
* cn("pds-btn", "pds-btn--primary", isActive && "pds-btn--active", className)
|
|
28
|
+
*/
|
|
29
|
+
declare function cn(...inputs: ClassValue[]): string;
|
|
30
|
+
|
|
31
|
+
type ButtonVariant = "primary" | "secondary" | "destructive" | "ghost";
|
|
32
|
+
type ButtonSize = "sm" | "md" | "lg";
|
|
33
|
+
type BaseButtonProps = ComponentPropsWithoutRef<typeof Button$1>;
|
|
34
|
+
interface ButtonProps extends Omit<BaseButtonProps, "className"> {
|
|
35
|
+
variant?: ButtonVariant;
|
|
36
|
+
size?: ButtonSize;
|
|
37
|
+
className?: string;
|
|
38
|
+
}
|
|
39
|
+
declare const Button: react.ForwardRefExoticComponent<ButtonProps & react.RefAttributes<HTMLElement>>;
|
|
40
|
+
|
|
41
|
+
type InputSize = "sm" | "md" | "lg";
|
|
42
|
+
type BaseInputProps = ComponentPropsWithoutRef<typeof Input$1>;
|
|
43
|
+
interface InputProps extends Omit<BaseInputProps, "className" | "size"> {
|
|
44
|
+
size?: InputSize;
|
|
45
|
+
invalid?: boolean;
|
|
46
|
+
className?: string;
|
|
47
|
+
}
|
|
48
|
+
declare const Input: react.ForwardRefExoticComponent<InputProps & react.RefAttributes<HTMLInputElement>>;
|
|
49
|
+
|
|
50
|
+
type CheckboxSize = "sm" | "md" | "lg";
|
|
51
|
+
type BaseCheckboxRootProps = ComponentPropsWithoutRef<typeof Checkbox$1.Root>;
|
|
52
|
+
interface CheckboxProps extends Omit<BaseCheckboxRootProps, "className" | "render"> {
|
|
53
|
+
size?: CheckboxSize;
|
|
54
|
+
className?: string;
|
|
55
|
+
}
|
|
56
|
+
declare const Checkbox: react.ForwardRefExoticComponent<CheckboxProps & react.RefAttributes<HTMLButtonElement>>;
|
|
57
|
+
|
|
58
|
+
type RadioSize = "sm" | "md" | "lg";
|
|
59
|
+
type BaseRadioRootProps = ComponentPropsWithoutRef<typeof Radio$1.Root>;
|
|
60
|
+
type BaseRadioGroupProps = ComponentPropsWithoutRef<typeof RadioGroup$1>;
|
|
61
|
+
interface RadioProps extends Omit<BaseRadioRootProps, "className" | "render"> {
|
|
62
|
+
size?: RadioSize;
|
|
63
|
+
className?: string;
|
|
64
|
+
}
|
|
65
|
+
declare const Radio: react.ForwardRefExoticComponent<RadioProps & react.RefAttributes<HTMLButtonElement>>;
|
|
66
|
+
interface RadioGroupProps extends Omit<BaseRadioGroupProps, "className"> {
|
|
67
|
+
className?: string;
|
|
68
|
+
}
|
|
69
|
+
declare const RadioGroup: react.ForwardRefExoticComponent<RadioGroupProps & react.RefAttributes<HTMLDivElement>>;
|
|
70
|
+
|
|
71
|
+
type SwitchSize = "sm" | "md" | "lg";
|
|
72
|
+
type BaseSwitchRootProps = ComponentPropsWithoutRef<typeof Switch$1.Root>;
|
|
73
|
+
interface SwitchProps extends Omit<BaseSwitchRootProps, "className" | "render"> {
|
|
74
|
+
size?: SwitchSize;
|
|
75
|
+
className?: string;
|
|
76
|
+
}
|
|
77
|
+
declare const Switch: react.ForwardRefExoticComponent<SwitchProps & react.RefAttributes<HTMLButtonElement>>;
|
|
78
|
+
|
|
79
|
+
type SelectSize = "sm" | "md" | "lg";
|
|
80
|
+
type BaseTriggerProps = ComponentPropsWithoutRef<typeof Select$1.Trigger>;
|
|
81
|
+
type BasePopupProps$2 = ComponentPropsWithoutRef<typeof Select$1.Popup>;
|
|
82
|
+
type BaseItemProps = ComponentPropsWithoutRef<typeof Select$1.Item>;
|
|
83
|
+
type BaseValueProps = ComponentPropsWithoutRef<typeof Select$1.Value>;
|
|
84
|
+
interface SelectTriggerProps extends Omit<BaseTriggerProps, "className" | "render"> {
|
|
85
|
+
size?: SelectSize;
|
|
86
|
+
className?: string;
|
|
87
|
+
}
|
|
88
|
+
interface SelectValueProps extends Omit<BaseValueProps, "className"> {
|
|
89
|
+
placeholder?: ReactNode;
|
|
90
|
+
className?: string;
|
|
91
|
+
}
|
|
92
|
+
interface SelectContentProps extends Omit<BasePopupProps$2, "className" | "render"> {
|
|
93
|
+
className?: string;
|
|
94
|
+
sideOffset?: number;
|
|
95
|
+
}
|
|
96
|
+
interface SelectItemProps extends Omit<BaseItemProps, "className" | "render"> {
|
|
97
|
+
className?: string;
|
|
98
|
+
}
|
|
99
|
+
declare const Select: {
|
|
100
|
+
Root: typeof Select$1.Root;
|
|
101
|
+
Trigger: react.ForwardRefExoticComponent<SelectTriggerProps & react.RefAttributes<HTMLButtonElement>>;
|
|
102
|
+
Value: react.ForwardRefExoticComponent<SelectValueProps & react.RefAttributes<HTMLSpanElement>>;
|
|
103
|
+
Content: react.ForwardRefExoticComponent<SelectContentProps & react.RefAttributes<HTMLDivElement>>;
|
|
104
|
+
Item: react.ForwardRefExoticComponent<SelectItemProps & react.RefAttributes<HTMLDivElement>>;
|
|
105
|
+
};
|
|
106
|
+
|
|
107
|
+
type BadgeVariant = "neutral" | "brand" | "success" | "warning" | "danger";
|
|
108
|
+
type BadgeSize = "sm" | "md" | "lg";
|
|
109
|
+
interface BadgeProps extends HTMLAttributes<HTMLSpanElement> {
|
|
110
|
+
variant?: BadgeVariant;
|
|
111
|
+
size?: BadgeSize;
|
|
112
|
+
}
|
|
113
|
+
declare const Badge: react.ForwardRefExoticComponent<BadgeProps & react.RefAttributes<HTMLSpanElement>>;
|
|
114
|
+
|
|
115
|
+
type AvatarSize = "sm" | "md" | "lg" | "xl";
|
|
116
|
+
type BaseRootProps = ComponentPropsWithoutRef<typeof Avatar$1.Root>;
|
|
117
|
+
type BaseImageProps = ComponentPropsWithoutRef<typeof Avatar$1.Image>;
|
|
118
|
+
type BaseFallbackProps = ComponentPropsWithoutRef<typeof Avatar$1.Fallback>;
|
|
119
|
+
interface AvatarProps extends Omit<BaseRootProps, "className" | "render"> {
|
|
120
|
+
size?: AvatarSize;
|
|
121
|
+
className?: string;
|
|
122
|
+
}
|
|
123
|
+
interface AvatarImageProps extends Omit<BaseImageProps, "className" | "render"> {
|
|
124
|
+
className?: string;
|
|
125
|
+
}
|
|
126
|
+
interface AvatarFallbackProps extends Omit<BaseFallbackProps, "className" | "render"> {
|
|
127
|
+
className?: string;
|
|
128
|
+
}
|
|
129
|
+
declare const Avatar: react.ForwardRefExoticComponent<AvatarProps & react.RefAttributes<HTMLSpanElement>> & {
|
|
130
|
+
Image: react.ForwardRefExoticComponent<AvatarImageProps & react.RefAttributes<HTMLImageElement>>;
|
|
131
|
+
Fallback: react.ForwardRefExoticComponent<AvatarFallbackProps & react.RefAttributes<HTMLSpanElement>>;
|
|
132
|
+
};
|
|
133
|
+
|
|
134
|
+
type BaseSeparatorProps = ComponentPropsWithoutRef<typeof Separator>;
|
|
135
|
+
interface DividerProps extends Omit<BaseSeparatorProps, "className" | "render"> {
|
|
136
|
+
className?: string;
|
|
137
|
+
}
|
|
138
|
+
declare const Divider: react.ForwardRefExoticComponent<DividerProps & react.RefAttributes<HTMLDivElement>>;
|
|
139
|
+
|
|
140
|
+
type BasePopupProps$1 = ComponentPropsWithoutRef<typeof Dialog.Popup>;
|
|
141
|
+
type BaseTitleProps = ComponentPropsWithoutRef<typeof Dialog.Title>;
|
|
142
|
+
type BaseDescProps = ComponentPropsWithoutRef<typeof Dialog.Description>;
|
|
143
|
+
interface ModalContentProps extends Omit<BasePopupProps$1, "className" | "render"> {
|
|
144
|
+
className?: string;
|
|
145
|
+
backdropClassName?: string;
|
|
146
|
+
}
|
|
147
|
+
interface ModalTitleProps extends Omit<BaseTitleProps, "className" | "render"> {
|
|
148
|
+
className?: string;
|
|
149
|
+
}
|
|
150
|
+
interface ModalDescriptionProps extends Omit<BaseDescProps, "className" | "render"> {
|
|
151
|
+
className?: string;
|
|
152
|
+
}
|
|
153
|
+
declare const Modal: {
|
|
154
|
+
Root: typeof Dialog.Root;
|
|
155
|
+
Trigger: Dialog.Trigger;
|
|
156
|
+
Close: react.ForwardRefExoticComponent<Omit<_base_ui_react.AlertDialogCloseProps, "ref"> & react.RefAttributes<HTMLButtonElement>>;
|
|
157
|
+
Content: react.ForwardRefExoticComponent<ModalContentProps & react.RefAttributes<HTMLDivElement>>;
|
|
158
|
+
Title: react.ForwardRefExoticComponent<ModalTitleProps & react.RefAttributes<HTMLHeadingElement>>;
|
|
159
|
+
Description: react.ForwardRefExoticComponent<ModalDescriptionProps & react.RefAttributes<HTMLParagraphElement>>;
|
|
160
|
+
};
|
|
161
|
+
|
|
162
|
+
declare const useToastManager: typeof Toast$1.useToastManager;
|
|
163
|
+
type ProviderProps = ComponentPropsWithoutRef<typeof Toast$1.Provider>;
|
|
164
|
+
declare const Toast: {
|
|
165
|
+
Provider: {
|
|
166
|
+
({ children, ...props }: ProviderProps): react_jsx_runtime.JSX.Element;
|
|
167
|
+
displayName: string;
|
|
168
|
+
};
|
|
169
|
+
Viewport: react.ForwardRefExoticComponent<Omit<Omit<Omit<_base_ui_react.ToastViewportProps, "ref"> & react.RefAttributes<HTMLDivElement>, "ref">, "className"> & {
|
|
170
|
+
className?: string;
|
|
171
|
+
} & react.RefAttributes<HTMLDivElement>>;
|
|
172
|
+
Toaster: {
|
|
173
|
+
(): react_jsx_runtime.JSX.Element;
|
|
174
|
+
displayName: string;
|
|
175
|
+
};
|
|
176
|
+
};
|
|
177
|
+
|
|
178
|
+
type BasePopupProps = ComponentPropsWithoutRef<typeof Tooltip$1.Popup>;
|
|
179
|
+
interface TooltipContentProps extends Omit<BasePopupProps, "className" | "render"> {
|
|
180
|
+
className?: string;
|
|
181
|
+
sideOffset?: number;
|
|
182
|
+
side?: "top" | "bottom" | "left" | "right";
|
|
183
|
+
align?: "start" | "center" | "end";
|
|
184
|
+
}
|
|
185
|
+
declare const Tooltip: {
|
|
186
|
+
Provider: react.FC<_base_ui_react.TooltipProviderProps>;
|
|
187
|
+
Root: <Payload>(props: Tooltip$1.Root.Props<Payload>) => react_jsx_runtime.JSX.Element;
|
|
188
|
+
Trigger: Tooltip$1.Trigger;
|
|
189
|
+
Content: react.ForwardRefExoticComponent<TooltipContentProps & react.RefAttributes<HTMLDivElement>>;
|
|
190
|
+
};
|
|
191
|
+
|
|
192
|
+
type RootProps = ComponentPropsWithoutRef<typeof Tabs$1.Root>;
|
|
193
|
+
type ListProps = ComponentPropsWithoutRef<typeof Tabs$1.List>;
|
|
194
|
+
type TabProps = ComponentPropsWithoutRef<typeof Tabs$1.Tab>;
|
|
195
|
+
type PanelProps = ComponentPropsWithoutRef<typeof Tabs$1.Panel>;
|
|
196
|
+
interface TabsRootProps extends Omit<RootProps, "className" | "render"> {
|
|
197
|
+
className?: string;
|
|
198
|
+
}
|
|
199
|
+
interface TabsListProps extends Omit<ListProps, "className" | "render"> {
|
|
200
|
+
className?: string;
|
|
201
|
+
}
|
|
202
|
+
interface TabsTabProps extends Omit<TabProps, "className" | "render"> {
|
|
203
|
+
className?: string;
|
|
204
|
+
}
|
|
205
|
+
interface TabsPanelProps extends Omit<PanelProps, "className" | "render"> {
|
|
206
|
+
className?: string;
|
|
207
|
+
}
|
|
208
|
+
declare const Tabs: react.ForwardRefExoticComponent<TabsRootProps & react.RefAttributes<HTMLDivElement>> & {
|
|
209
|
+
List: react.ForwardRefExoticComponent<TabsListProps & react.RefAttributes<HTMLDivElement>>;
|
|
210
|
+
Tab: react.ForwardRefExoticComponent<TabsTabProps & react.RefAttributes<HTMLButtonElement>>;
|
|
211
|
+
Panel: react.ForwardRefExoticComponent<TabsPanelProps & react.RefAttributes<HTMLDivElement>>;
|
|
212
|
+
};
|
|
213
|
+
|
|
214
|
+
type AlertVariant = "info" | "success" | "warning" | "danger";
|
|
215
|
+
interface AlertProps extends Omit<HTMLAttributes<HTMLDivElement>, "title"> {
|
|
216
|
+
variant?: AlertVariant;
|
|
217
|
+
icon?: ReactNode | false;
|
|
218
|
+
title?: ReactNode;
|
|
219
|
+
}
|
|
220
|
+
declare const Alert: react.ForwardRefExoticComponent<AlertProps & react.RefAttributes<HTMLDivElement>>;
|
|
221
|
+
|
|
222
|
+
type PopupProps = ComponentPropsWithoutRef<typeof Menu.Popup>;
|
|
223
|
+
type ItemProps = ComponentPropsWithoutRef<typeof Menu.Item>;
|
|
224
|
+
type CheckboxItemProps = ComponentPropsWithoutRef<typeof Menu.CheckboxItem>;
|
|
225
|
+
type RadioItemProps = ComponentPropsWithoutRef<typeof Menu.RadioItem>;
|
|
226
|
+
type GroupLabelProps = ComponentPropsWithoutRef<typeof Menu.GroupLabel>;
|
|
227
|
+
type SeparatorProps = ComponentPropsWithoutRef<typeof Menu.Separator>;
|
|
228
|
+
interface DropdownMenuContentProps extends Omit<PopupProps, "className" | "render"> {
|
|
229
|
+
className?: string;
|
|
230
|
+
sideOffset?: number;
|
|
231
|
+
align?: "start" | "center" | "end";
|
|
232
|
+
}
|
|
233
|
+
interface DropdownMenuItemProps extends Omit<ItemProps, "className" | "render"> {
|
|
234
|
+
className?: string;
|
|
235
|
+
}
|
|
236
|
+
interface DropdownMenuCheckboxItemProps extends Omit<CheckboxItemProps, "className" | "render"> {
|
|
237
|
+
className?: string;
|
|
238
|
+
}
|
|
239
|
+
interface DropdownMenuRadioItemProps extends Omit<RadioItemProps, "className" | "render"> {
|
|
240
|
+
className?: string;
|
|
241
|
+
}
|
|
242
|
+
interface DropdownMenuLabelProps extends Omit<GroupLabelProps, "className" | "render"> {
|
|
243
|
+
className?: string;
|
|
244
|
+
}
|
|
245
|
+
interface DropdownMenuSeparatorProps extends Omit<SeparatorProps, "className" | "render"> {
|
|
246
|
+
className?: string;
|
|
247
|
+
}
|
|
248
|
+
declare const DropdownMenu: {
|
|
249
|
+
Root: <Payload>(props: Menu.Root.Props<Payload>) => react_jsx_runtime.JSX.Element;
|
|
250
|
+
Trigger: Menu.Trigger;
|
|
251
|
+
Content: react.ForwardRefExoticComponent<DropdownMenuContentProps & react.RefAttributes<HTMLDivElement>>;
|
|
252
|
+
Item: react.ForwardRefExoticComponent<DropdownMenuItemProps & react.RefAttributes<HTMLDivElement>>;
|
|
253
|
+
CheckboxItem: react.ForwardRefExoticComponent<DropdownMenuCheckboxItemProps & react.RefAttributes<HTMLDivElement>>;
|
|
254
|
+
RadioGroup: react.NamedExoticComponent<Omit<_base_ui_react.ContextMenuRadioGroupProps, "ref"> & react.RefAttributes<HTMLDivElement>>;
|
|
255
|
+
RadioItem: react.ForwardRefExoticComponent<DropdownMenuRadioItemProps & react.RefAttributes<HTMLDivElement>>;
|
|
256
|
+
Group: react.ForwardRefExoticComponent<Omit<_base_ui_react.ContextMenuGroupProps, "ref"> & react.RefAttributes<HTMLDivElement>>;
|
|
257
|
+
Label: react.ForwardRefExoticComponent<DropdownMenuLabelProps & react.RefAttributes<HTMLDivElement>>;
|
|
258
|
+
Separator: react.ForwardRefExoticComponent<DropdownMenuSeparatorProps & react.RefAttributes<HTMLDivElement>>;
|
|
259
|
+
};
|
|
260
|
+
|
|
261
|
+
type SkeletonShape = "line" | "circle" | "block";
|
|
262
|
+
interface SkeletonProps extends HTMLAttributes<HTMLDivElement> {
|
|
263
|
+
shape?: SkeletonShape;
|
|
264
|
+
}
|
|
265
|
+
declare const Skeleton: react.ForwardRefExoticComponent<SkeletonProps & react.RefAttributes<HTMLDivElement>>;
|
|
266
|
+
|
|
267
|
+
type CardVariant = "elevated" | "muted";
|
|
268
|
+
interface CardProps extends HTMLAttributes<HTMLDivElement> {
|
|
269
|
+
variant?: CardVariant;
|
|
270
|
+
}
|
|
271
|
+
interface CardHeaderProps extends HTMLAttributes<HTMLDivElement> {
|
|
272
|
+
}
|
|
273
|
+
interface CardTitleProps extends HTMLAttributes<HTMLHeadingElement> {
|
|
274
|
+
}
|
|
275
|
+
interface CardDescriptionProps extends HTMLAttributes<HTMLParagraphElement> {
|
|
276
|
+
}
|
|
277
|
+
interface CardActionProps extends HTMLAttributes<HTMLDivElement> {
|
|
278
|
+
}
|
|
279
|
+
interface CardBodyProps extends HTMLAttributes<HTMLDivElement> {
|
|
280
|
+
}
|
|
281
|
+
interface CardFooterProps extends HTMLAttributes<HTMLDivElement> {
|
|
282
|
+
}
|
|
283
|
+
declare const Card: react.ForwardRefExoticComponent<CardProps & react.RefAttributes<HTMLDivElement>> & {
|
|
284
|
+
Header: react.ForwardRefExoticComponent<CardHeaderProps & react.RefAttributes<HTMLDivElement>>;
|
|
285
|
+
Title: react.ForwardRefExoticComponent<CardTitleProps & react.RefAttributes<HTMLHeadingElement>>;
|
|
286
|
+
Description: react.ForwardRefExoticComponent<CardDescriptionProps & react.RefAttributes<HTMLParagraphElement>>;
|
|
287
|
+
Action: react.ForwardRefExoticComponent<CardActionProps & react.RefAttributes<HTMLDivElement>>;
|
|
288
|
+
Body: react.ForwardRefExoticComponent<CardBodyProps & react.RefAttributes<HTMLDivElement>>;
|
|
289
|
+
Footer: react.ForwardRefExoticComponent<CardFooterProps & react.RefAttributes<HTMLDivElement>>;
|
|
290
|
+
};
|
|
291
|
+
|
|
292
|
+
type TextareaSize = "sm" | "md" | "lg";
|
|
293
|
+
interface TextareaProps extends Omit<TextareaHTMLAttributes<HTMLTextAreaElement>, "size"> {
|
|
294
|
+
size?: TextareaSize;
|
|
295
|
+
invalid?: boolean;
|
|
296
|
+
}
|
|
297
|
+
declare const Textarea: react.ForwardRefExoticComponent<TextareaProps & react.RefAttributes<HTMLTextAreaElement>>;
|
|
298
|
+
|
|
299
|
+
type StatusPillIntent = "neutral" | "success" | "warning" | "danger" | "info";
|
|
300
|
+
interface StatusPillProps extends HTMLAttributes<HTMLSpanElement> {
|
|
301
|
+
intent?: StatusPillIntent;
|
|
302
|
+
}
|
|
303
|
+
interface StatusPillIndicatorProps extends HTMLAttributes<HTMLSpanElement> {
|
|
304
|
+
}
|
|
305
|
+
interface StatusPillLabelProps extends HTMLAttributes<HTMLSpanElement> {
|
|
306
|
+
}
|
|
307
|
+
declare const StatusPill: react.ForwardRefExoticComponent<StatusPillProps & react.RefAttributes<HTMLSpanElement>> & {
|
|
308
|
+
Indicator: react.ForwardRefExoticComponent<StatusPillIndicatorProps & react.RefAttributes<HTMLSpanElement>>;
|
|
309
|
+
Label: react.ForwardRefExoticComponent<StatusPillLabelProps & react.RefAttributes<HTMLSpanElement>>;
|
|
310
|
+
};
|
|
311
|
+
|
|
312
|
+
type SegmentedSize = "sm" | "md" | "lg";
|
|
313
|
+
type ToggleGroupProps = ComponentPropsWithoutRef<typeof ToggleGroup>;
|
|
314
|
+
interface SegmentedProps extends Omit<ToggleGroupProps, "className" | "value" | "defaultValue" | "onValueChange" | "multiple"> {
|
|
315
|
+
/** Selected item value. */
|
|
316
|
+
value?: string;
|
|
317
|
+
/** Uncontrolled initial selected item. */
|
|
318
|
+
defaultValue?: string;
|
|
319
|
+
/** Fired with the newly selected value. */
|
|
320
|
+
onValueChange?: (value: string) => void;
|
|
321
|
+
/** Controls item heights — sm 24px / md 28px / lg 32px. */
|
|
322
|
+
size?: SegmentedSize;
|
|
323
|
+
className?: string;
|
|
324
|
+
children?: ReactNode;
|
|
325
|
+
}
|
|
326
|
+
type ToggleItemProps = ComponentPropsWithoutRef<typeof Toggle>;
|
|
327
|
+
interface SegmentedItemProps extends Omit<ToggleItemProps, "className" | "value"> {
|
|
328
|
+
value: string;
|
|
329
|
+
className?: string;
|
|
330
|
+
}
|
|
331
|
+
declare const Segmented: react.ForwardRefExoticComponent<SegmentedProps & react.RefAttributes<HTMLDivElement>> & {
|
|
332
|
+
Item: react.ForwardRefExoticComponent<SegmentedItemProps & react.RefAttributes<HTMLButtonElement>>;
|
|
333
|
+
};
|
|
334
|
+
|
|
335
|
+
type ContainerSize = "sm" | "md" | "lg" | "xl" | "prose" | "fluid";
|
|
336
|
+
interface ContainerProps extends HTMLAttributes<HTMLDivElement> {
|
|
337
|
+
size?: ContainerSize;
|
|
338
|
+
}
|
|
339
|
+
declare const Container: react.ForwardRefExoticComponent<ContainerProps & react.RefAttributes<HTMLDivElement>>;
|
|
340
|
+
type GridGutter = "default" | "tight" | "flush";
|
|
341
|
+
interface GridRootProps extends HTMLAttributes<HTMLDivElement> {
|
|
342
|
+
gutter?: GridGutter;
|
|
343
|
+
}
|
|
344
|
+
type Span = 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | "full";
|
|
345
|
+
interface GridColProps extends HTMLAttributes<HTMLDivElement> {
|
|
346
|
+
span?: Span;
|
|
347
|
+
smSpan?: Span;
|
|
348
|
+
mdSpan?: Span;
|
|
349
|
+
lgSpan?: Span;
|
|
350
|
+
}
|
|
351
|
+
declare const Grid: react.ForwardRefExoticComponent<GridRootProps & react.RefAttributes<HTMLDivElement>> & {
|
|
352
|
+
Col: react.ForwardRefExoticComponent<GridColProps & react.RefAttributes<HTMLDivElement>>;
|
|
353
|
+
};
|
|
354
|
+
|
|
355
|
+
export { Alert, type AlertProps, Avatar, type AvatarFallbackProps, type AvatarImageProps, type AvatarProps, Badge, type BadgeProps, Button, type ButtonProps, Card, type CardActionProps, type CardBodyProps, type CardDescriptionProps, type CardFooterProps, type CardHeaderProps, type CardProps, type CardTitleProps, Checkbox, type CheckboxProps, Container, type ContainerProps, Divider, type DividerProps, DropdownMenu, type DropdownMenuCheckboxItemProps, type DropdownMenuContentProps, type DropdownMenuItemProps, type DropdownMenuLabelProps, type DropdownMenuRadioItemProps, type DropdownMenuSeparatorProps, Grid, type GridColProps, type GridRootProps, Input, type InputProps, Modal, type ModalContentProps, type ModalDescriptionProps, type ModalTitleProps, Radio, RadioGroup, type RadioGroupProps, type RadioProps, Segmented, type SegmentedItemProps, type SegmentedProps, Select, type SelectContentProps, type SelectItemProps, type SelectTriggerProps, type SelectValueProps, Skeleton, type SkeletonProps, StatusPill, type StatusPillIndicatorProps, type StatusPillLabelProps, type StatusPillProps, Switch, type SwitchProps, Tabs, type TabsListProps, type TabsPanelProps, type TabsRootProps, type TabsTabProps, Textarea, type TextareaProps, Toast, Tooltip, type TooltipContentProps, cn, useToastManager as useToast };
|