-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathindex.ts
More file actions
81 lines (60 loc) · 1.97 KB
/
index.ts
File metadata and controls
81 lines (60 loc) · 1.97 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
/**
* OpenContracts Component Library
*
* A design system built around transparent infrastructure,
* visible connections, and warm precision.
*
* @package @opencontracts/ui
*/
// Tokens & Theme
export { tokens } from './tokens';
export type { Tokens, ColorScale, SpacingScale, RadiusScale, ShadowScale, FontSizeScale } from './tokens';
// Types
export type { Size, Status, PolymorphicComponentProp, PolymorphicRef } from './types';
// Button
export { Button, buttonStyles } from './Button';
export type { ButtonProps, ButtonVariant } from './Button';
// Input
export { Input, inputStyles } from './Input';
export type { InputProps } from './Input';
// Textarea
export { Textarea, textareaStyles } from './Textarea';
export type { TextareaProps } from './Textarea';
// Select
export { Select, selectStyles } from './Select';
export type { SelectProps, SelectOption } from './Select';
// Card
export { Card, CardHeader, CardBody, CardFooter, cardStyles } from './Card';
export type { CardProps, CardHeaderProps } from './Card';
// Badge
export { Badge, BadgeGroup, badgeStyles } from './Badge';
export type { BadgeProps, BadgeVariant, BadgeGroupProps } from './Badge';
// Node (Signature Element)
export { Node, NodeWithLabel, NodeGroup, nodeStyles } from './Node';
export type { NodeProps, NodeVariant, NodeWithLabelProps, NodeGroupProps } from './Node';
// Typography
export { Heading, Text, Code, Label, Link, typographyStyles } from './Typography';
// Sidebar
export {
Sidebar,
SidebarHeader,
SidebarNav,
SidebarItem,
SidebarSection,
SidebarFooter,
sidebarStyles,
} from './Sidebar';
export type { SidebarProps, SidebarHeaderProps, SidebarItemProps, SidebarSectionProps } from './Sidebar';
// Aggregate all CSS styles for single import
export const allStyles = `
/* OpenContracts Design System - All Component Styles */
${buttonStyles}
${inputStyles}
${textareaStyles}
${selectStyles}
${cardStyles}
${badgeStyles}
${nodeStyles}
${typographyStyles}
${sidebarStyles}
`;