@eventideorg/design-system 0.1.0 → 0.1.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.
- package/dist/index.css +1 -1
- package/dist/index.js +2946 -860
- package/dist/ui/hooks/index.d.ts +1 -1
- package/dist/ui/hooks/useAlert.d.ts +3 -0
- package/dist/ui/ui/Alert/AlertContext.d.ts +2 -0
- package/dist/ui/ui/Alert/AlertItem.d.ts +8 -0
- package/dist/ui/ui/Alert/AlertProvider.d.ts +4 -0
- package/dist/ui/ui/Alert/index.d.ts +4 -0
- package/dist/ui/ui/Alert/types.d.ts +16 -0
- package/dist/ui/ui/Breadcrumb.d.ts +11 -0
- package/dist/ui/ui/Breadcrumbs/BreadcrumbProvider.d.ts +11 -0
- package/dist/ui/ui/Breadcrumbs/Breadcrumbs.d.ts +2 -0
- package/dist/ui/ui/Breadcrumbs/index.d.ts +3 -0
- package/dist/ui/ui/Breadcrumbs/types.d.ts +26 -0
- package/dist/ui/ui/ContextMenu.d.ts +25 -0
- package/dist/ui/ui/DropdownMenu.d.ts +25 -0
- package/dist/ui/ui/FormSystem/types.d.ts +15 -1
- package/dist/ui/ui/InputFields/AudioInput.d.ts +12 -0
- package/dist/ui/ui/InputFields/FieldWrapper.d.ts +1 -0
- package/dist/ui/ui/InputFields/SliderInput.d.ts +13 -0
- package/dist/ui/ui/InputFields/VideoInput.d.ts +12 -0
- package/dist/ui/ui/InputFields/index.d.ts +6 -0
- package/dist/ui/ui/InputOTP.d.ts +34 -0
- package/dist/ui/ui/ListView/CardView/CardItem.d.ts +2 -0
- package/dist/ui/ui/ListView/CardView/CardView.d.ts +2 -0
- package/dist/ui/ui/ListView/CardView/SortableCardItem.d.ts +2 -0
- package/dist/ui/ui/ListView/CardView/index.d.ts +3 -0
- package/dist/ui/ui/ListView/ListView.d.ts +2 -0
- package/dist/ui/ui/ListView/ListViewEmptyState.d.ts +2 -0
- package/dist/ui/ui/ListView/ListViewSplitPane.d.ts +2 -0
- package/dist/ui/ui/ListView/ListViewStatusBar.d.ts +2 -0
- package/dist/ui/ui/ListView/ListViewToolbar.d.ts +2 -0
- package/dist/ui/ui/ListView/TableView/TableHeader.d.ts +2 -0
- package/dist/ui/ui/ListView/TableView/TableRow.d.ts +2 -0
- package/dist/ui/ui/ListView/TableView/TableView.d.ts +2 -0
- package/dist/ui/ui/ListView/TableView/index.d.ts +3 -0
- package/dist/ui/ui/ListView/constants.d.ts +6 -0
- package/dist/ui/ui/ListView/hooks/index.d.ts +6 -0
- package/dist/ui/ui/ListView/hooks/useColumnVisibility.d.ts +14 -0
- package/dist/ui/ui/ListView/hooks/useFiltering.d.ts +6 -0
- package/dist/ui/ui/ListView/hooks/useListViewKeyboard.d.ts +10 -0
- package/dist/ui/ui/ListView/hooks/useSelection.d.ts +16 -0
- package/dist/ui/ui/ListView/hooks/useSorting.d.ts +12 -0
- package/dist/ui/ui/ListView/index.d.ts +10 -0
- package/dist/ui/ui/ListView/types.d.ts +148 -0
- package/dist/ui/ui/Slider.d.ts +4 -0
- package/dist/ui/ui/Sonner.d.ts +3 -0
- package/dist/ui/ui/Spinner.d.ts +2 -0
- package/dist/ui/ui/ThemeToggle/ThemeProvider.d.ts +4 -0
- package/dist/ui/ui/ThemeToggle/ThemeToggle.d.ts +4 -0
- package/dist/ui/ui/ThemeToggle/index.d.ts +3 -0
- package/dist/ui/ui/ThemeToggle/types.d.ts +10 -0
- package/dist/ui/ui/Tooltip.d.ts +7 -0
- package/dist/ui/ui/index.d.ts +16 -2
- package/package.json +6 -3
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
export type Theme = "light" | "dark" | "system";
|
|
2
|
+
export interface ThemeProviderProps {
|
|
3
|
+
children: React.ReactNode;
|
|
4
|
+
defaultTheme?: Theme;
|
|
5
|
+
storageKey?: string;
|
|
6
|
+
}
|
|
7
|
+
export interface ThemeContextValue {
|
|
8
|
+
theme: Theme;
|
|
9
|
+
setTheme: (theme: Theme) => void;
|
|
10
|
+
}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { Tooltip as TooltipPrimitive } from 'radix-ui';
|
|
2
|
+
import * as React from "react";
|
|
3
|
+
declare const TooltipProvider: React.FC<TooltipPrimitive.TooltipProviderProps>;
|
|
4
|
+
declare const Tooltip: React.FC<TooltipPrimitive.TooltipProps>;
|
|
5
|
+
declare const TooltipTrigger: React.ForwardRefExoticComponent<TooltipPrimitive.TooltipTriggerProps & React.RefAttributes<HTMLButtonElement>>;
|
|
6
|
+
declare function TooltipContent({ className, sideOffset, children, ...props }: React.ComponentProps<typeof TooltipPrimitive.Content>): import("react/jsx-runtime").JSX.Element;
|
|
7
|
+
export { TooltipProvider, Tooltip, TooltipTrigger, TooltipContent };
|
package/dist/ui/ui/index.d.ts
CHANGED
|
@@ -1,6 +1,20 @@
|
|
|
1
1
|
export { Button, buttonVariants } from './Button';
|
|
2
|
+
export { AlertProvider, AlertItem } from './Alert';
|
|
3
|
+
export type { Alert, AlertVariant, AddAlertInput, AlertContextValue, AlertItemProps, } from './Alert';
|
|
2
4
|
export { Badge, badgeVariants } from './Badge';
|
|
3
5
|
export { Card, CardHeader, CardFooter, CardTitle, CardAction, CardDescription, CardContent, } from './Card';
|
|
4
6
|
export { Input } from './Input';
|
|
5
|
-
export {
|
|
6
|
-
export
|
|
7
|
+
export { InputOTP, InputOTPGroup, InputOTPSlot, InputOTPSeparator } from './InputOTP';
|
|
8
|
+
export { Slider } from './Slider';
|
|
9
|
+
export { FieldWrapper, TextInput, TextareaInput, PasswordInput, NumberInput, Checkbox, SwitchInput, ColorInput, SelectInput, EmailInput, URLInput, TelephoneInput, DEFAULT_COUNTRIES, DatePicker, TimePicker, FileInput, QuerySelect, RichTextInput, SliderInput, AudioInput, VideoInput, } from './InputFields';
|
|
10
|
+
export type { BaseFieldProps, SelectOption, CountryData, DatePickerMode, FieldWrapperProps, TextInputProps, TextareaInputProps, PasswordInputProps, NumberInputProps, CheckboxProps, SwitchInputProps, ColorInputProps, SelectInputProps, EmailInputProps, URLInputProps, TelephoneInputProps, DatePickerProps, TimePickerProps, FileInputProps, QuerySelectProps, RichTextInputProps, SliderInputProps, AudioInputProps, VideoInputProps, } from './InputFields';
|
|
11
|
+
export { ListView, TableView, CardView, CardItem, SortableCardItem, ListViewToolbar, ListViewStatusBar, ListViewSplitPane, useSelection, useSorting, useFiltering, useColumnVisibility, useListViewKeyboard, } from './ListView';
|
|
12
|
+
export type { ListItem, ViewMode, CardDensity, SortDirection, SortState, ColumnConfig, ContextMenuAction, SelectionAction, ListViewProps, TableViewProps, TableHeaderProps, TableRowProps, CardViewProps, CardItemProps, ListViewToolbarProps, ListViewStatusBarProps, ListViewSplitPaneProps, } from './ListView';
|
|
13
|
+
export { BreadcrumbProvider, Breadcrumbs, useBreadcrumbs, useBreadcrumbItem } from './Breadcrumbs';
|
|
14
|
+
export type { BreadcrumbItemData, BreadcrumbContextValue, BreadcrumbsProps } from './Breadcrumbs';
|
|
15
|
+
export { Spinner } from './Spinner';
|
|
16
|
+
export { TooltipProvider, Tooltip, TooltipTrigger, TooltipContent } from './Tooltip';
|
|
17
|
+
export { Toaster } from './Sonner';
|
|
18
|
+
export { toast } from 'sonner';
|
|
19
|
+
export { ThemeProvider, useTheme, ThemeToggle } from './ThemeToggle';
|
|
20
|
+
export type { Theme, ThemeProviderProps, ThemeContextValue } from './ThemeToggle';
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@eventideorg/design-system",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.1",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"main": "./dist/index.js",
|
|
6
6
|
"module": "./dist/index.js",
|
|
@@ -51,6 +51,7 @@
|
|
|
51
51
|
"@dnd-kit/utilities": "^3.2.2",
|
|
52
52
|
"@tailwindcss/typography": "^0.5.19",
|
|
53
53
|
"@tailwindcss/vite": "^4.1.18",
|
|
54
|
+
"@tanstack/react-virtual": "^3.13.18",
|
|
54
55
|
"@tiptap/extension-character-count": "^3.19.0",
|
|
55
56
|
"@tiptap/extension-placeholder": "^3.19.0",
|
|
56
57
|
"@tiptap/extension-text-align": "^3.19.0",
|
|
@@ -61,12 +62,14 @@
|
|
|
61
62
|
"clsx": "^2.1.1",
|
|
62
63
|
"cmdk": "^1.1.1",
|
|
63
64
|
"date-fns": "^4.1.0",
|
|
65
|
+
"input-otp": "^1.4.2",
|
|
64
66
|
"lucide-react": "^0.563.0",
|
|
65
67
|
"radix-ui": "^1.4.3",
|
|
66
|
-
"react": "^19.
|
|
68
|
+
"react": "^19.0.0",
|
|
67
69
|
"react-day-picker": "^9.13.0",
|
|
68
|
-
"react-dom": "^19.
|
|
70
|
+
"react-dom": "^19.0.0",
|
|
69
71
|
"react-hook-form": "^7.71.1",
|
|
72
|
+
"sonner": "^2.0.7",
|
|
70
73
|
"tailwind-merge": "^3.4.0",
|
|
71
74
|
"tailwindcss": "^4.1.18"
|
|
72
75
|
},
|