rudiment-ui 0.1.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 +150 -0
- package/dist/components/Alert/Alert.d.ts +12 -0
- package/dist/components/Alert/Alert.d.ts.map +1 -0
- package/dist/components/Avatar/Avatar.d.ts +10 -0
- package/dist/components/Avatar/Avatar.d.ts.map +1 -0
- package/dist/components/Badge/Badge.d.ts +9 -0
- package/dist/components/Badge/Badge.d.ts.map +1 -0
- package/dist/components/Button/Button.d.ts +13 -0
- package/dist/components/Button/Button.d.ts.map +1 -0
- package/dist/components/Card/Card.d.ts +28 -0
- package/dist/components/Card/Card.d.ts.map +1 -0
- package/dist/components/Charts/BarChart/BarChart.d.ts +14 -0
- package/dist/components/Charts/BarChart/BarChart.d.ts.map +1 -0
- package/dist/components/Charts/DonutChart/DonutChart.d.ts +15 -0
- package/dist/components/Charts/DonutChart/DonutChart.d.ts.map +1 -0
- package/dist/components/Charts/LineChart/LineChart.d.ts +14 -0
- package/dist/components/Charts/LineChart/LineChart.d.ts.map +1 -0
- package/dist/components/Checkbox/Checkbox.d.ts +12 -0
- package/dist/components/Checkbox/Checkbox.d.ts.map +1 -0
- package/dist/components/Checkbox/CheckboxGroup.d.ts +13 -0
- package/dist/components/Checkbox/CheckboxGroup.d.ts.map +1 -0
- package/dist/components/CircularProgress/CircularProgress.d.ts +13 -0
- package/dist/components/CircularProgress/CircularProgress.d.ts.map +1 -0
- package/dist/components/Dialog/Dialog.d.ts +11 -0
- package/dist/components/Dialog/Dialog.d.ts.map +1 -0
- package/dist/components/Icon/Icon.d.ts +9 -0
- package/dist/components/Icon/Icon.d.ts.map +1 -0
- package/dist/components/IconButton/IconButton.d.ts +12 -0
- package/dist/components/IconButton/IconButton.d.ts.map +1 -0
- package/dist/components/Input/Input.d.ts +16 -0
- package/dist/components/Input/Input.d.ts.map +1 -0
- package/dist/components/Kanban/KanbanBoard.d.ts +29 -0
- package/dist/components/Kanban/KanbanBoard.d.ts.map +1 -0
- package/dist/components/Kanban/KanbanCard.d.ts +7 -0
- package/dist/components/Kanban/KanbanCard.d.ts.map +1 -0
- package/dist/components/Kanban/KanbanColumn.d.ts +10 -0
- package/dist/components/Kanban/KanbanColumn.d.ts.map +1 -0
- package/dist/components/Menu/Keyboard.d.ts +5 -0
- package/dist/components/Menu/Keyboard.d.ts.map +1 -0
- package/dist/components/Menu/Menu.d.ts +6 -0
- package/dist/components/Menu/Menu.d.ts.map +1 -0
- package/dist/components/Menu/MenuItem.d.ts +6 -0
- package/dist/components/Menu/MenuItem.d.ts.map +1 -0
- package/dist/components/Menu/MenuSection.d.ts +7 -0
- package/dist/components/Menu/MenuSection.d.ts.map +1 -0
- package/dist/components/Menu/MenuTrigger.d.ts +5 -0
- package/dist/components/Menu/MenuTrigger.d.ts.map +1 -0
- package/dist/components/NavItem/NavItem.d.ts +13 -0
- package/dist/components/NavItem/NavItem.d.ts.map +1 -0
- package/dist/components/ProgressBar/ProgressBar.d.ts +12 -0
- package/dist/components/ProgressBar/ProgressBar.d.ts.map +1 -0
- package/dist/components/RadioGroup/RadioGroup.d.ts +16 -0
- package/dist/components/RadioGroup/RadioGroup.d.ts.map +1 -0
- package/dist/components/Select/Select.d.ts +17 -0
- package/dist/components/Select/Select.d.ts.map +1 -0
- package/dist/components/StatCard/StatCard.d.ts +10 -0
- package/dist/components/StatCard/StatCard.d.ts.map +1 -0
- package/dist/components/Switch/Switch.d.ts +10 -0
- package/dist/components/Switch/Switch.d.ts.map +1 -0
- package/dist/components/Tag/Tag.d.ts +11 -0
- package/dist/components/Tag/Tag.d.ts.map +1 -0
- package/dist/components/Tooltip/Tooltip.d.ts +14 -0
- package/dist/components/Tooltip/Tooltip.d.ts.map +1 -0
- package/dist/hooks/useChartTheme.d.ts +14 -0
- package/dist/hooks/useChartTheme.d.ts.map +1 -0
- package/dist/hooks/useLoadingButton.d.ts +297 -0
- package/dist/hooks/useLoadingButton.d.ts.map +1 -0
- package/dist/index.css +1 -0
- package/dist/index.d.ts +89 -0
- package/dist/index.d.ts.map +1 -0
- package/dist/index.js +1655 -0
- package/dist/layouts/Box/Box.d.ts +9 -0
- package/dist/layouts/Box/Box.d.ts.map +1 -0
- package/dist/layouts/Center/Center.d.ts +9 -0
- package/dist/layouts/Center/Center.d.ts.map +1 -0
- package/dist/layouts/Cluster/Cluster.d.ts +9 -0
- package/dist/layouts/Cluster/Cluster.d.ts.map +1 -0
- package/dist/layouts/Cover/Cover.d.ts +8 -0
- package/dist/layouts/Cover/Cover.d.ts.map +1 -0
- package/dist/layouts/Grid/Grid.d.ts +8 -0
- package/dist/layouts/Grid/Grid.d.ts.map +1 -0
- package/dist/layouts/Sidebar/Sidebar.d.ts +11 -0
- package/dist/layouts/Sidebar/Sidebar.d.ts.map +1 -0
- package/dist/layouts/Stack/Stack.d.ts +13 -0
- package/dist/layouts/Stack/Stack.d.ts.map +1 -0
- package/dist/layouts/Switcher/Switcher.d.ts +9 -0
- package/dist/layouts/Switcher/Switcher.d.ts.map +1 -0
- package/dist/typography/Heading/Heading.d.ts +8 -0
- package/dist/typography/Heading/Heading.d.ts.map +1 -0
- package/dist/typography/Prose/Prose.d.ts +8 -0
- package/dist/typography/Prose/Prose.d.ts.map +1 -0
- package/dist/typography/Text/Text.d.ts +8 -0
- package/dist/typography/Text/Text.d.ts.map +1 -0
- package/dist/utils/cn.d.ts +3 -0
- package/dist/utils/cn.d.ts.map +1 -0
- package/package.json +102 -0
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
export interface BoxProps extends React.HTMLAttributes<HTMLElement> {
|
|
2
|
+
padding?: string;
|
|
3
|
+
bordered?: boolean;
|
|
4
|
+
invert?: boolean;
|
|
5
|
+
as?: React.ElementType;
|
|
6
|
+
children?: React.ReactNode;
|
|
7
|
+
}
|
|
8
|
+
export declare const Box: import('react').ForwardRefExoticComponent<BoxProps & import('react').RefAttributes<HTMLElement>>;
|
|
9
|
+
//# sourceMappingURL=Box.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Box.d.ts","sourceRoot":"","sources":["../../../src/layouts/Box/Box.tsx"],"names":[],"mappings":"AAGA,OAAO,WAAW,CAAA;AAElB,MAAM,WAAW,QAAS,SAAQ,KAAK,CAAC,cAAc,CAAC,WAAW,CAAC;IACjE,OAAO,CAAC,EAAE,MAAM,CAAA;IAChB,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB,MAAM,CAAC,EAAE,OAAO,CAAA;IAChB,EAAE,CAAC,EAAE,KAAK,CAAC,WAAW,CAAA;IACtB,QAAQ,CAAC,EAAE,KAAK,CAAC,SAAS,CAAA;CAC3B;AAED,eAAO,MAAM,GAAG,kGA+Bd,CAAA"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
export interface CenterProps extends React.HTMLAttributes<HTMLElement> {
|
|
2
|
+
maxWidth?: string;
|
|
3
|
+
gutters?: string;
|
|
4
|
+
intrinsic?: boolean;
|
|
5
|
+
as?: React.ElementType;
|
|
6
|
+
children?: React.ReactNode;
|
|
7
|
+
}
|
|
8
|
+
export declare const Center: import('react').ForwardRefExoticComponent<CenterProps & import('react').RefAttributes<HTMLElement>>;
|
|
9
|
+
//# sourceMappingURL=Center.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Center.d.ts","sourceRoot":"","sources":["../../../src/layouts/Center/Center.tsx"],"names":[],"mappings":"AAEA,OAAO,cAAc,CAAA;AAErB,MAAM,WAAW,WAAY,SAAQ,KAAK,CAAC,cAAc,CAAC,WAAW,CAAC;IACpE,QAAQ,CAAC,EAAE,MAAM,CAAA;IACjB,OAAO,CAAC,EAAE,MAAM,CAAA;IAChB,SAAS,CAAC,EAAE,OAAO,CAAA;IACnB,EAAE,CAAC,EAAE,KAAK,CAAC,WAAW,CAAA;IACtB,QAAQ,CAAC,EAAE,KAAK,CAAC,SAAS,CAAA;CAC3B;AAED,eAAO,MAAM,MAAM,qGA+BjB,CAAA"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
export interface ClusterProps extends React.HTMLAttributes<HTMLElement> {
|
|
2
|
+
space?: string;
|
|
3
|
+
justify?: 'flex-start' | 'flex-end' | 'center' | 'space-between' | 'space-around';
|
|
4
|
+
align?: 'flex-start' | 'flex-end' | 'center' | 'baseline' | 'stretch';
|
|
5
|
+
as?: React.ElementType;
|
|
6
|
+
children?: React.ReactNode;
|
|
7
|
+
}
|
|
8
|
+
export declare const Cluster: import('react').ForwardRefExoticComponent<ClusterProps & import('react').RefAttributes<HTMLElement>>;
|
|
9
|
+
//# sourceMappingURL=Cluster.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Cluster.d.ts","sourceRoot":"","sources":["../../../src/layouts/Cluster/Cluster.tsx"],"names":[],"mappings":"AAEA,OAAO,eAAe,CAAA;AAEtB,MAAM,WAAW,YAAa,SAAQ,KAAK,CAAC,cAAc,CAAC,WAAW,CAAC;IACrE,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,OAAO,CAAC,EACJ,YAAY,GACZ,UAAU,GACV,QAAQ,GACR,eAAe,GACf,cAAc,CAAA;IAClB,KAAK,CAAC,EAAE,YAAY,GAAG,UAAU,GAAG,QAAQ,GAAG,UAAU,GAAG,SAAS,CAAA;IACrE,EAAE,CAAC,EAAE,KAAK,CAAC,WAAW,CAAA;IACtB,QAAQ,CAAC,EAAE,KAAK,CAAC,SAAS,CAAA;CAC3B;AAED,eAAO,MAAM,OAAO,sGA4BlB,CAAA"}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
export interface CoverProps extends React.HTMLAttributes<HTMLElement> {
|
|
2
|
+
minHeight?: string;
|
|
3
|
+
space?: string;
|
|
4
|
+
as?: React.ElementType;
|
|
5
|
+
children?: React.ReactNode;
|
|
6
|
+
}
|
|
7
|
+
export declare const Cover: import('react').ForwardRefExoticComponent<CoverProps & import('react').RefAttributes<HTMLElement>>;
|
|
8
|
+
//# sourceMappingURL=Cover.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Cover.d.ts","sourceRoot":"","sources":["../../../src/layouts/Cover/Cover.tsx"],"names":[],"mappings":"AAEA,OAAO,aAAa,CAAA;AAEpB,MAAM,WAAW,UAAW,SAAQ,KAAK,CAAC,cAAc,CAAC,WAAW,CAAC;IACnE,SAAS,CAAC,EAAE,MAAM,CAAA;IAClB,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,EAAE,CAAC,EAAE,KAAK,CAAC,WAAW,CAAA;IACtB,QAAQ,CAAC,EAAE,KAAK,CAAC,SAAS,CAAA;CAC3B;AAED,eAAO,MAAM,KAAK,oGA0BhB,CAAA"}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
export interface GridProps extends React.HTMLAttributes<HTMLElement> {
|
|
2
|
+
minCellWidth?: string;
|
|
3
|
+
space?: string;
|
|
4
|
+
as?: React.ElementType;
|
|
5
|
+
children?: React.ReactNode;
|
|
6
|
+
}
|
|
7
|
+
export declare const Grid: import('react').ForwardRefExoticComponent<GridProps & import('react').RefAttributes<HTMLElement>>;
|
|
8
|
+
//# sourceMappingURL=Grid.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Grid.d.ts","sourceRoot":"","sources":["../../../src/layouts/Grid/Grid.tsx"],"names":[],"mappings":"AAEA,OAAO,YAAY,CAAA;AAEnB,MAAM,WAAW,SAAU,SAAQ,KAAK,CAAC,cAAc,CAAC,WAAW,CAAC;IAClE,YAAY,CAAC,EAAE,MAAM,CAAA;IACrB,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,EAAE,CAAC,EAAE,KAAK,CAAC,WAAW,CAAA;IACtB,QAAQ,CAAC,EAAE,KAAK,CAAC,SAAS,CAAA;CAC3B;AAED,eAAO,MAAM,IAAI,mGA0Bf,CAAA"}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
export interface SidebarProps extends React.HTMLAttributes<HTMLElement> {
|
|
2
|
+
side?: 'left' | 'right';
|
|
3
|
+
sideWidth?: string;
|
|
4
|
+
contentMin?: string;
|
|
5
|
+
space?: string;
|
|
6
|
+
noStretch?: boolean;
|
|
7
|
+
as?: React.ElementType;
|
|
8
|
+
children?: React.ReactNode;
|
|
9
|
+
}
|
|
10
|
+
export declare const Sidebar: import('react').ForwardRefExoticComponent<SidebarProps & import('react').RefAttributes<HTMLElement>>;
|
|
11
|
+
//# sourceMappingURL=Sidebar.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Sidebar.d.ts","sourceRoot":"","sources":["../../../src/layouts/Sidebar/Sidebar.tsx"],"names":[],"mappings":"AAEA,OAAO,eAAe,CAAA;AAEtB,MAAM,WAAW,YAAa,SAAQ,KAAK,CAAC,cAAc,CAAC,WAAW,CAAC;IACrE,IAAI,CAAC,EAAE,MAAM,GAAG,OAAO,CAAA;IACvB,SAAS,CAAC,EAAE,MAAM,CAAA;IAClB,UAAU,CAAC,EAAE,MAAM,CAAA;IACnB,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,SAAS,CAAC,EAAE,OAAO,CAAA;IACnB,EAAE,CAAC,EAAE,KAAK,CAAC,WAAW,CAAA;IACtB,QAAQ,CAAC,EAAE,KAAK,CAAC,SAAS,CAAA;CAC3B;AAED,eAAO,MAAM,OAAO,sGAmClB,CAAA"}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
export interface StackProps extends React.HTMLAttributes<HTMLElement> {
|
|
2
|
+
/** CSS spacing value. Defaults to --token-layout-stack-space-default token. */
|
|
3
|
+
space?: string;
|
|
4
|
+
/** Apply spacing recursively to all nested elements, not just direct children. */
|
|
5
|
+
recursive?: boolean;
|
|
6
|
+
/** 1-based index of the child after which to insert an auto margin, splitting the stack. */
|
|
7
|
+
splitAfter?: number;
|
|
8
|
+
/** HTML element to render. */
|
|
9
|
+
as?: React.ElementType;
|
|
10
|
+
children?: React.ReactNode;
|
|
11
|
+
}
|
|
12
|
+
export declare const Stack: import('react').ForwardRefExoticComponent<StackProps & import('react').RefAttributes<HTMLElement>>;
|
|
13
|
+
//# sourceMappingURL=Stack.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Stack.d.ts","sourceRoot":"","sources":["../../../src/layouts/Stack/Stack.tsx"],"names":[],"mappings":"AAEA,OAAO,aAAa,CAAA;AAEpB,MAAM,WAAW,UAAW,SAAQ,KAAK,CAAC,cAAc,CAAC,WAAW,CAAC;IACnE,+EAA+E;IAC/E,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,kFAAkF;IAClF,SAAS,CAAC,EAAE,OAAO,CAAA;IACnB,4FAA4F;IAC5F,UAAU,CAAC,EAAE,MAAM,CAAA;IACnB,8BAA8B;IAC9B,EAAE,CAAC,EAAE,KAAK,CAAC,WAAW,CAAA;IACtB,QAAQ,CAAC,EAAE,KAAK,CAAC,SAAS,CAAA;CAC3B;AAED,eAAO,MAAM,KAAK,oGAsDhB,CAAA"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
export interface SwitcherProps extends React.HTMLAttributes<HTMLElement> {
|
|
2
|
+
threshold?: string;
|
|
3
|
+
space?: string;
|
|
4
|
+
limit?: number;
|
|
5
|
+
as?: React.ElementType;
|
|
6
|
+
children?: React.ReactNode;
|
|
7
|
+
}
|
|
8
|
+
export declare const Switcher: import('react').ForwardRefExoticComponent<SwitcherProps & import('react').RefAttributes<HTMLElement>>;
|
|
9
|
+
//# sourceMappingURL=Switcher.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Switcher.d.ts","sourceRoot":"","sources":["../../../src/layouts/Switcher/Switcher.tsx"],"names":[],"mappings":"AAEA,OAAO,gBAAgB,CAAA;AAEvB,MAAM,WAAW,aAAc,SAAQ,KAAK,CAAC,cAAc,CAAC,WAAW,CAAC;IACtE,SAAS,CAAC,EAAE,MAAM,CAAA;IAClB,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,EAAE,CAAC,EAAE,KAAK,CAAC,WAAW,CAAA;IACtB,QAAQ,CAAC,EAAE,KAAK,CAAC,SAAS,CAAA;CAC3B;AAED,eAAO,MAAM,QAAQ,uGA6BpB,CAAA"}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
export interface HeadingProps extends React.HTMLAttributes<HTMLHeadingElement> {
|
|
2
|
+
level: 1 | 2 | 3 | 4 | 5 | 6;
|
|
3
|
+
size?: 1 | 2 | 3 | 4 | 5 | 6;
|
|
4
|
+
children: React.ReactNode;
|
|
5
|
+
className?: string;
|
|
6
|
+
}
|
|
7
|
+
export declare const Heading: import('react').ForwardRefExoticComponent<HeadingProps & import('react').RefAttributes<HTMLHeadingElement>>;
|
|
8
|
+
//# sourceMappingURL=Heading.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Heading.d.ts","sourceRoot":"","sources":["../../../src/typography/Heading/Heading.tsx"],"names":[],"mappings":"AAEA,OAAO,eAAe,CAAA;AAEtB,MAAM,WAAW,YAAa,SAAQ,KAAK,CAAC,cAAc,CAAC,kBAAkB,CAAC;IAC5E,KAAK,EAAE,CAAC,GAAG,CAAC,GAAG,CAAC,GAAG,CAAC,GAAG,CAAC,GAAG,CAAC,CAAA;IAC5B,IAAI,CAAC,EAAE,CAAC,GAAG,CAAC,GAAG,CAAC,GAAG,CAAC,GAAG,CAAC,GAAG,CAAC,CAAA;IAC5B,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAA;IACzB,SAAS,CAAC,EAAE,MAAM,CAAA;CACnB;AAED,eAAO,MAAM,OAAO,6GAkBnB,CAAA"}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
export interface ProseProps extends React.HTMLAttributes<HTMLElement> {
|
|
2
|
+
size?: 'sm' | 'base' | 'lg';
|
|
3
|
+
as?: React.ElementType;
|
|
4
|
+
children: React.ReactNode;
|
|
5
|
+
className?: string;
|
|
6
|
+
}
|
|
7
|
+
export declare const Prose: import('react').ForwardRefExoticComponent<ProseProps & import('react').RefAttributes<HTMLElement>>;
|
|
8
|
+
//# sourceMappingURL=Prose.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Prose.d.ts","sourceRoot":"","sources":["../../../src/typography/Prose/Prose.tsx"],"names":[],"mappings":"AAEA,OAAO,aAAa,CAAA;AAEpB,MAAM,WAAW,UAAW,SAAQ,KAAK,CAAC,cAAc,CAAC,WAAW,CAAC;IACnE,IAAI,CAAC,EAAE,IAAI,GAAG,MAAM,GAAG,IAAI,CAAA;IAC3B,EAAE,CAAC,EAAE,KAAK,CAAC,WAAW,CAAA;IACtB,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAA;IACzB,SAAS,CAAC,EAAE,MAAM,CAAA;CACnB;AAED,eAAO,MAAM,KAAK,oGAiBhB,CAAA"}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
export interface TextProps extends React.HTMLAttributes<HTMLElement> {
|
|
2
|
+
variant?: 'body' | 'body-sm' | 'caption' | 'overline' | 'code';
|
|
3
|
+
as?: React.ElementType;
|
|
4
|
+
children: React.ReactNode;
|
|
5
|
+
className?: string;
|
|
6
|
+
}
|
|
7
|
+
export declare const Text: import('react').ForwardRefExoticComponent<TextProps & import('react').RefAttributes<HTMLElement>>;
|
|
8
|
+
//# sourceMappingURL=Text.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Text.d.ts","sourceRoot":"","sources":["../../../src/typography/Text/Text.tsx"],"names":[],"mappings":"AAEA,OAAO,YAAY,CAAA;AAEnB,MAAM,WAAW,SAAU,SAAQ,KAAK,CAAC,cAAc,CAAC,WAAW,CAAC;IAClE,OAAO,CAAC,EAAE,MAAM,GAAG,SAAS,GAAG,SAAS,GAAG,UAAU,GAAG,MAAM,CAAA;IAC9D,EAAE,CAAC,EAAE,KAAK,CAAC,WAAW,CAAA;IACtB,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAA;IACzB,SAAS,CAAC,EAAE,MAAM,CAAA;CACnB;AAED,eAAO,MAAM,IAAI,mGAaf,CAAA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"cn.d.ts","sourceRoot":"","sources":["../../src/utils/cn.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,UAAU,EAAQ,MAAM,MAAM,CAAA;AAG5C,wBAAgB,EAAE,CAAC,GAAG,MAAM,EAAE,UAAU,EAAE,UAEzC"}
|
package/package.json
ADDED
|
@@ -0,0 +1,102 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "rudiment-ui",
|
|
3
|
+
"version": "0.1.0",
|
|
4
|
+
"description": "Accessible React component library built on React Aria, with layout primitives, charts, and a three-tier design token architecture supporting six built-in themes.",
|
|
5
|
+
"main": "dist/index.js",
|
|
6
|
+
"scripts": {
|
|
7
|
+
"dev": "storybook dev -p 6006",
|
|
8
|
+
"build": "vite build",
|
|
9
|
+
"prepare": "npm run build:tokens && npm run build",
|
|
10
|
+
"prepublishOnly": "npm run build:tokens && npm run build",
|
|
11
|
+
"build-storybook": "storybook build",
|
|
12
|
+
"build:tokens": "style-dictionary build --config tokens/style-dictionary.config.mjs && style-dictionary build --config tokens/style-dictionary.config.dark.mjs && style-dictionary build --config tokens/style-dictionary.config.teal.mjs && style-dictionary build --config tokens/style-dictionary.config.teal-dark.mjs && style-dictionary build --config tokens/style-dictionary.config.cyberpunk.mjs && style-dictionary build --config tokens/style-dictionary.config.cyberpunk-dark.mjs",
|
|
13
|
+
"test": "vitest",
|
|
14
|
+
"test:coverage": "vitest --coverage",
|
|
15
|
+
"test:watch": "vitest --watch"
|
|
16
|
+
},
|
|
17
|
+
"module": "dist/index.js",
|
|
18
|
+
"types": "dist/index.d.ts",
|
|
19
|
+
"exports": {
|
|
20
|
+
".": {
|
|
21
|
+
"types": "./dist/index.d.ts",
|
|
22
|
+
"import": "./dist/index.js"
|
|
23
|
+
},
|
|
24
|
+
"./styles": "./dist/index.css",
|
|
25
|
+
"./package.json": "./package.json"
|
|
26
|
+
},
|
|
27
|
+
"files": [
|
|
28
|
+
"dist"
|
|
29
|
+
],
|
|
30
|
+
"peerDependencies": {
|
|
31
|
+
"react": "^19.0.0",
|
|
32
|
+
"react-dom": "^19.0.0"
|
|
33
|
+
},
|
|
34
|
+
"sideEffects": [
|
|
35
|
+
"**/*.css"
|
|
36
|
+
],
|
|
37
|
+
"repository": {
|
|
38
|
+
"type": "git",
|
|
39
|
+
"url": "git+https://github.com/Rudiment-UI/rudiment-ui.git"
|
|
40
|
+
},
|
|
41
|
+
"keywords": [
|
|
42
|
+
"react",
|
|
43
|
+
"component-library",
|
|
44
|
+
"design-system",
|
|
45
|
+
"react-aria",
|
|
46
|
+
"accessibility",
|
|
47
|
+
"a11y",
|
|
48
|
+
"design-tokens",
|
|
49
|
+
"ui-components",
|
|
50
|
+
"layout-primitives",
|
|
51
|
+
"theming"
|
|
52
|
+
],
|
|
53
|
+
"author": "Joshua Briley",
|
|
54
|
+
"license": "MIT",
|
|
55
|
+
"type": "module",
|
|
56
|
+
"bugs": {
|
|
57
|
+
"url": "https://github.com/Rudiment-UI/rudiment-ui/issues"
|
|
58
|
+
},
|
|
59
|
+
"homepage": "https://github.com/Rudiment-UI/rudiment-ui#readme",
|
|
60
|
+
"dependencies": {
|
|
61
|
+
"@dnd-kit/core": "^6.3.1",
|
|
62
|
+
"@dnd-kit/sortable": "^10.0.0",
|
|
63
|
+
"@dnd-kit/utilities": "^3.2.2",
|
|
64
|
+
"@iconify/react": "^6.0.2",
|
|
65
|
+
"@react-aria/utils": "^3.33.1",
|
|
66
|
+
"clsx": "^2.1.1",
|
|
67
|
+
"react-aria": "^3.47.0",
|
|
68
|
+
"react-aria-components": "^1.16.0",
|
|
69
|
+
"react-stately": "^3.45.0",
|
|
70
|
+
"recharts": "^3.8.1",
|
|
71
|
+
"tailwind-merge": "^3.5.0"
|
|
72
|
+
},
|
|
73
|
+
"devDependencies": {
|
|
74
|
+
"@chromatic-com/storybook": "^5.0.1",
|
|
75
|
+
"@storybook/addon-a11y": "^10.2.19",
|
|
76
|
+
"@storybook/addon-docs": "^10.2.19",
|
|
77
|
+
"@storybook/addon-vitest": "^10.2.19",
|
|
78
|
+
"@storybook/react-vite": "^10.2.19",
|
|
79
|
+
"@tailwindcss/vite": "^4.2.1",
|
|
80
|
+
"@testing-library/jest-dom": "^6.9.1",
|
|
81
|
+
"@testing-library/react": "^16.3.2",
|
|
82
|
+
"@testing-library/user-event": "^14.6.1",
|
|
83
|
+
"@types/react": "^19.2.14",
|
|
84
|
+
"@types/react-dom": "^19.2.3",
|
|
85
|
+
"@vitejs/plugin-react": "^5.2.0",
|
|
86
|
+
"@vitest/browser-playwright": "^4.1.0",
|
|
87
|
+
"@vitest/coverage-v8": "^4.1.0",
|
|
88
|
+
"jsdom": "^29.0.0",
|
|
89
|
+
"playwright": "^1.58.2",
|
|
90
|
+
"react": "^19.0.0",
|
|
91
|
+
"react-dom": "^19.0.0",
|
|
92
|
+
"remark-gfm": "^4.0.1",
|
|
93
|
+
"storybook": "^10.2.19",
|
|
94
|
+
"style-dictionary": "^4.4.0",
|
|
95
|
+
"tailwindcss": "^4.2.1",
|
|
96
|
+
"typescript": "^5.9.3",
|
|
97
|
+
"vite": "^7.3.1",
|
|
98
|
+
"vite-plugin-dts": "^4.5.4",
|
|
99
|
+
"vitest": "^4.1.0",
|
|
100
|
+
"vitest-axe": "^0.1.0"
|
|
101
|
+
}
|
|
102
|
+
}
|