@neynar/ui 0.1.1 → 0.1.2
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/components/ui/accordion.d.ts +1 -25
- package/dist/components/ui/accordion.d.ts.map +1 -1
- package/dist/components/ui/alert-dialog.d.ts +240 -46
- package/dist/components/ui/alert-dialog.d.ts.map +1 -1
- package/dist/components/ui/alert.d.ts +73 -11
- package/dist/components/ui/alert.d.ts.map +1 -1
- package/dist/components/ui/aspect-ratio.d.ts +44 -10
- package/dist/components/ui/aspect-ratio.d.ts.map +1 -1
- package/dist/components/ui/avatar.d.ts +117 -33
- package/dist/components/ui/avatar.d.ts.map +1 -1
- package/dist/components/ui/badge.d.ts +50 -71
- package/dist/components/ui/badge.d.ts.map +1 -1
- package/dist/components/ui/breadcrumb.d.ts +231 -49
- package/dist/components/ui/breadcrumb.d.ts.map +1 -1
- package/dist/components/ui/button.d.ts +189 -71
- package/dist/components/ui/button.d.ts.map +1 -1
- package/dist/components/ui/calendar.d.ts +197 -40
- package/dist/components/ui/calendar.d.ts.map +1 -1
- package/dist/components/ui/card.d.ts +7 -22
- package/dist/components/ui/card.d.ts.map +1 -1
- package/dist/components/ui/carousel.d.ts +369 -99
- package/dist/components/ui/carousel.d.ts.map +1 -1
- package/dist/components/ui/chart.d.ts.map +1 -1
- package/dist/components/ui/checkbox.d.ts +110 -38
- package/dist/components/ui/checkbox.d.ts.map +1 -1
- package/dist/components/ui/collapsible.d.ts +246 -61
- package/dist/components/ui/collapsible.d.ts.map +1 -1
- package/dist/components/ui/combobox.d.ts +207 -159
- package/dist/components/ui/combobox.d.ts.map +1 -1
- package/dist/components/ui/command.d.ts +336 -67
- package/dist/components/ui/command.d.ts.map +1 -1
- package/dist/components/ui/container.d.ts +159 -64
- package/dist/components/ui/container.d.ts.map +1 -1
- package/dist/components/ui/context-menu.d.ts +321 -39
- package/dist/components/ui/context-menu.d.ts.map +1 -1
- package/dist/components/ui/date-picker.d.ts +113 -86
- package/dist/components/ui/date-picker.d.ts.map +1 -1
- package/dist/components/ui/dialog.d.ts +106 -25
- package/dist/components/ui/dialog.d.ts.map +1 -1
- package/dist/components/ui/drawer.d.ts +388 -59
- package/dist/components/ui/drawer.d.ts.map +1 -1
- package/dist/components/ui/dropdown-menu.d.ts +521 -74
- package/dist/components/ui/dropdown-menu.d.ts.map +1 -1
- package/dist/components/ui/empty-state.d.ts +148 -76
- package/dist/components/ui/empty-state.d.ts.map +1 -1
- package/dist/components/ui/hover-card.d.ts +253 -34
- package/dist/components/ui/hover-card.d.ts.map +1 -1
- package/dist/components/ui/input.d.ts +143 -44
- package/dist/components/ui/input.d.ts.map +1 -1
- package/dist/components/ui/label.d.ts +0 -8
- package/dist/components/ui/label.d.ts.map +1 -1
- package/dist/components/ui/menubar.d.ts +288 -46
- package/dist/components/ui/menubar.d.ts.map +1 -1
- package/dist/components/ui/navigation-menu.d.ts +444 -127
- package/dist/components/ui/navigation-menu.d.ts.map +1 -1
- package/dist/components/ui/pagination.d.ts +342 -66
- package/dist/components/ui/pagination.d.ts.map +1 -1
- package/dist/components/ui/popover.d.ts +0 -8
- package/dist/components/ui/popover.d.ts.map +1 -1
- package/dist/components/ui/progress.d.ts +88 -30
- package/dist/components/ui/progress.d.ts.map +1 -1
- package/dist/components/ui/radio-group.d.ts +189 -45
- package/dist/components/ui/radio-group.d.ts.map +1 -1
- package/dist/components/ui/resizable.d.ts +178 -62
- package/dist/components/ui/resizable.d.ts.map +1 -1
- package/dist/components/ui/scroll-area.d.ts +180 -21
- package/dist/components/ui/scroll-area.d.ts.map +1 -1
- package/dist/components/ui/select.d.ts +382 -60
- package/dist/components/ui/select.d.ts.map +1 -1
- package/dist/components/ui/separator.d.ts +52 -39
- package/dist/components/ui/separator.d.ts.map +1 -1
- package/dist/components/ui/sheet.d.ts +144 -27
- package/dist/components/ui/sheet.d.ts.map +1 -1
- package/dist/components/ui/sidebar.d.ts +81 -31
- package/dist/components/ui/sidebar.d.ts.map +1 -1
- package/dist/components/ui/skeleton.d.ts +94 -32
- package/dist/components/ui/skeleton.d.ts.map +1 -1
- package/dist/components/ui/slider.d.ts +37 -31
- package/dist/components/ui/slider.d.ts.map +1 -1
- package/dist/components/ui/sonner.d.ts +280 -46
- package/dist/components/ui/sonner.d.ts.map +1 -1
- package/dist/components/ui/stack.d.ts +289 -148
- package/dist/components/ui/stack.d.ts.map +1 -1
- package/dist/components/ui/stories/aspect-ratio.stories.d.ts +1 -2
- package/dist/components/ui/stories/aspect-ratio.stories.d.ts.map +1 -1
- package/dist/components/ui/stories/container.stories.d.ts +2 -3
- package/dist/components/ui/stories/container.stories.d.ts.map +1 -1
- package/dist/components/ui/stories/empty-state.stories.d.ts +2 -2
- package/dist/components/ui/stories/scroll-area.stories.d.ts +1 -2
- package/dist/components/ui/stories/scroll-area.stories.d.ts.map +1 -1
- package/dist/components/ui/stories/stack.stories.d.ts +1 -1
- package/dist/components/ui/stories/text-field.stories.d.ts +7 -1
- package/dist/components/ui/stories/text-field.stories.d.ts.map +1 -1
- package/dist/components/ui/switch.d.ts +44 -38
- package/dist/components/ui/switch.d.ts.map +1 -1
- package/dist/components/ui/table.d.ts +33 -0
- package/dist/components/ui/table.d.ts.map +1 -1
- package/dist/components/ui/tabs.d.ts +4 -22
- package/dist/components/ui/tabs.d.ts.map +1 -1
- package/dist/components/ui/text-field.d.ts +170 -84
- package/dist/components/ui/text-field.d.ts.map +1 -1
- package/dist/components/ui/textarea.d.ts +106 -29
- package/dist/components/ui/textarea.d.ts.map +1 -1
- package/dist/components/ui/theme-toggle.d.ts +190 -65
- package/dist/components/ui/theme-toggle.d.ts.map +1 -1
- package/dist/components/ui/theme.d.ts +107 -23
- package/dist/components/ui/theme.d.ts.map +1 -1
- package/dist/components/ui/toggle-group.d.ts +143 -67
- package/dist/components/ui/toggle-group.d.ts.map +1 -1
- package/dist/components/ui/toggle.d.ts +118 -30
- package/dist/components/ui/toggle.d.ts.map +1 -1
- package/dist/components/ui/tooltip.d.ts +152 -28
- package/dist/components/ui/tooltip.d.ts.map +1 -1
- package/dist/components/ui/typography.d.ts +452 -134
- package/dist/components/ui/typography.d.ts.map +1 -1
- package/dist/index.js +9388 -8281
- package/dist/index.js.map +1 -1
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/llms.txt +173 -3
- package/package.json +5 -2
- package/src/components/ui/accordion.tsx +112 -27
- package/src/components/ui/alert-dialog.tsx +401 -46
- package/src/components/ui/alert.tsx +114 -11
- package/src/components/ui/aspect-ratio.tsx +69 -14
- package/src/components/ui/avatar.tsx +179 -33
- package/src/components/ui/badge.tsx +74 -75
- package/src/components/ui/breadcrumb.tsx +335 -50
- package/src/components/ui/button.tsx +198 -90
- package/src/components/ui/calendar.tsx +867 -43
- package/src/components/ui/card.tsx +140 -33
- package/src/components/ui/carousel.tsx +529 -98
- package/src/components/ui/chart.tsx +222 -1
- package/src/components/ui/checkbox.tsx +176 -38
- package/src/components/ui/collapsible.tsx +321 -67
- package/src/components/ui/combobox.tsx +284 -83
- package/src/components/ui/command.tsx +527 -67
- package/src/components/ui/container.tsx +217 -65
- package/src/components/ui/context-menu.tsx +716 -51
- package/src/components/ui/date-picker.tsx +228 -38
- package/src/components/ui/dialog.tsx +270 -33
- package/src/components/ui/drawer.tsx +546 -67
- package/src/components/ui/dropdown-menu.tsx +657 -74
- package/src/components/ui/empty-state.tsx +241 -82
- package/src/components/ui/hover-card.tsx +328 -39
- package/src/components/ui/input.tsx +207 -44
- package/src/components/ui/label.tsx +98 -8
- package/src/components/ui/menubar.tsx +587 -54
- package/src/components/ui/navigation-menu.tsx +557 -128
- package/src/components/ui/pagination.tsx +561 -79
- package/src/components/ui/popover.tsx +119 -8
- package/src/components/ui/progress.tsx +131 -29
- package/src/components/ui/radio-group.tsx +260 -51
- package/src/components/ui/resizable.tsx +289 -63
- package/src/components/ui/scroll-area.tsx +377 -66
- package/src/components/ui/select.tsx +545 -60
- package/src/components/ui/separator.tsx +146 -40
- package/src/components/ui/sheet.tsx +348 -31
- package/src/components/ui/sidebar.tsx +471 -29
- package/src/components/ui/skeleton.tsx +114 -32
- package/src/components/ui/slider.tsx +77 -31
- package/src/components/ui/sonner.tsx +574 -46
- package/src/components/ui/stack.tsx +423 -101
- package/src/components/ui/switch.tsx +78 -39
- package/src/components/ui/table.tsx +170 -4
- package/src/components/ui/tabs.tsx +108 -22
- package/src/components/ui/text-field.tsx +226 -81
- package/src/components/ui/textarea.tsx +180 -29
- package/src/components/ui/theme-toggle.tsx +313 -65
- package/src/components/ui/theme.tsx +117 -23
- package/src/components/ui/toggle-group.tsx +280 -69
- package/src/components/ui/toggle.tsx +124 -35
- package/src/components/ui/tooltip.tsx +239 -29
- package/src/components/ui/typography.tsx +1115 -165
|
@@ -1,102 +1,197 @@
|
|
|
1
1
|
import * as React from "react";
|
|
2
|
+
import { type VariantProps } from "class-variance-authority";
|
|
2
3
|
/**
|
|
3
|
-
*
|
|
4
|
+
* Container variant configuration using class-variance-authority
|
|
4
5
|
*
|
|
5
|
-
*
|
|
6
|
+
* Defines responsive layout container with consistent horizontal centering and padding
|
|
7
|
+
* across different viewport sizes. Uses Tailwind CSS for responsive design patterns
|
|
8
|
+
* and maintains consistent spacing throughout the application.
|
|
9
|
+
*
|
|
10
|
+
* @variant sm - Optimal reading width (48rem) for articles, blog posts, and long-form content
|
|
11
|
+
* @variant md - Medium container (64rem) suitable for forms, documentation, and structured layouts
|
|
12
|
+
* @variant lg - Large container (80rem) ideal for main application content, dashboards, and data tables
|
|
13
|
+
* @variant xl - Extra-large container with no max-width but maintains responsive padding for specialized layouts
|
|
14
|
+
* @variant full - Full-width container for edge-to-edge designs, hero sections, and complex grid layouts
|
|
15
|
+
*
|
|
16
|
+
* @see {@link https://cva.style/docs} - CVA documentation
|
|
17
|
+
* @see {@link https://tailwindcss.com/docs/container} - Tailwind CSS container documentation
|
|
18
|
+
* @since 1.0.0
|
|
6
19
|
*/
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
*
|
|
11
|
-
* - `sm`: max-w-3xl (48rem) - Optimal for reading content, articles, and blog posts
|
|
12
|
-
* - `md`: max-w-5xl (64rem) - Suitable for forms, documentation, and medium-width layouts
|
|
13
|
-
* - `lg`: max-w-7xl (80rem) - Default size, ideal for main application content and dashboards
|
|
14
|
-
* - `xl`: max-w-none - No max-width constraint but maintains responsive padding
|
|
15
|
-
* - `full`: max-w-full - Full width container for edge-to-edge designs
|
|
16
|
-
*
|
|
17
|
-
* @default "lg"
|
|
18
|
-
*/
|
|
19
|
-
size?: "sm" | "md" | "lg" | "xl" | "full";
|
|
20
|
-
};
|
|
20
|
+
declare const containerVariants: (props?: ({
|
|
21
|
+
size?: "sm" | "lg" | "md" | "xl" | "full" | null | undefined;
|
|
22
|
+
} & import("class-variance-authority/types").ClassProp) | undefined) => string;
|
|
21
23
|
/**
|
|
22
|
-
* A responsive
|
|
24
|
+
* Container - A responsive layout wrapper with flexible width constraints and consistent padding
|
|
23
25
|
*
|
|
24
|
-
*
|
|
25
|
-
*
|
|
26
|
-
*
|
|
26
|
+
* A fundamental layout component built with class-variance-authority (CVA) that provides consistent
|
|
27
|
+
* horizontal centering, responsive padding, and flexible max-width constraints. Designed to be the
|
|
28
|
+
* primary content wrapper for pages, sections, and layout regions throughout the application.
|
|
27
29
|
*
|
|
28
|
-
* The component
|
|
29
|
-
* -
|
|
30
|
-
*
|
|
31
|
-
* - Large containers for application dashboards
|
|
32
|
-
* - Extra-large and full-width for specialized layouts
|
|
30
|
+
* The component automatically applies responsive horizontal padding (px-4 on mobile, px-6 on small
|
|
31
|
+
* screens, px-8 on large screens) and centers content using mx-auto. Five size variants accommodate
|
|
32
|
+
* different content types from optimal reading widths to full-width layouts.
|
|
33
33
|
*
|
|
34
|
-
*
|
|
34
|
+
* Built following shadcn/ui and Tailwind UI patterns for maximum compatibility and consistency
|
|
35
|
+
* with modern React applications and design systems.
|
|
36
|
+
*
|
|
37
|
+
* @example
|
|
35
38
|
* ```tsx
|
|
39
|
+
* // Basic usage with default large size (80rem max-width)
|
|
36
40
|
* <Container>
|
|
37
|
-
* <h1>Dashboard
|
|
38
|
-
* <p>Main application content with
|
|
41
|
+
* <h1>Dashboard Overview</h1>
|
|
42
|
+
* <p>Main application content with balanced width constraints</p>
|
|
43
|
+
* <div className="grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-6">
|
|
44
|
+
* <Card>Dashboard Widget</Card>
|
|
45
|
+
* <Card>Analytics Panel</Card>
|
|
46
|
+
* <Card>Recent Activity</Card>
|
|
47
|
+
* </div>
|
|
39
48
|
* </Container>
|
|
40
49
|
* ```
|
|
41
50
|
*
|
|
42
|
-
* @example
|
|
51
|
+
* @example
|
|
43
52
|
* ```tsx
|
|
53
|
+
* // Reading-optimized container for articles and blog posts
|
|
44
54
|
* <Container size="sm">
|
|
45
|
-
* <article>
|
|
46
|
-
* <h1>
|
|
47
|
-
* <p>
|
|
55
|
+
* <article className="prose prose-lg max-w-none">
|
|
56
|
+
* <h1>The Future of Web Development</h1>
|
|
57
|
+
* <p>
|
|
58
|
+
* Long-form content with line lengths optimized for readability
|
|
59
|
+
* and comfortable reading experience across all device sizes.
|
|
60
|
+
* </p>
|
|
61
|
+
* <p>
|
|
62
|
+
* The small container (48rem) provides the ideal measure for
|
|
63
|
+
* typography-focused content and sustained reading.
|
|
64
|
+
* </p>
|
|
48
65
|
* </article>
|
|
49
66
|
* </Container>
|
|
50
67
|
* ```
|
|
51
68
|
*
|
|
52
|
-
* @example
|
|
69
|
+
* @example
|
|
70
|
+
* ```tsx
|
|
71
|
+
* // Medium container for forms and structured layouts
|
|
72
|
+
* <Container size="md">
|
|
73
|
+
* <div className="space-y-8">
|
|
74
|
+
* <div className="text-center">
|
|
75
|
+
* <h2>Account Settings</h2>
|
|
76
|
+
* <p>Manage your account preferences and profile information</p>
|
|
77
|
+
* </div>
|
|
78
|
+
*
|
|
79
|
+
* <form className="space-y-6">
|
|
80
|
+
* <div className="grid grid-cols-1 md:grid-cols-2 gap-6">
|
|
81
|
+
* <Input label="First Name" />
|
|
82
|
+
* <Input label="Last Name" />
|
|
83
|
+
* </div>
|
|
84
|
+
* <Input label="Email Address" type="email" />
|
|
85
|
+
* <Button type="submit" className="w-full">Update Profile</Button>
|
|
86
|
+
* </form>
|
|
87
|
+
* </div>
|
|
88
|
+
* </Container>
|
|
89
|
+
* ```
|
|
90
|
+
*
|
|
91
|
+
* @example
|
|
53
92
|
* ```tsx
|
|
93
|
+
* // Full-width container for complex layouts and hero sections
|
|
54
94
|
* <Container size="full">
|
|
55
|
-
* <div className="
|
|
56
|
-
* <
|
|
57
|
-
*
|
|
58
|
-
*
|
|
95
|
+
* <div className="bg-gradient-to-r from-blue-600 to-purple-600 text-white py-20">
|
|
96
|
+
* <div className="text-center space-y-6">
|
|
97
|
+
* <h1 className="text-4xl md:text-6xl font-bold">
|
|
98
|
+
* Welcome to Our Platform
|
|
99
|
+
* </h1>
|
|
100
|
+
* <p className="text-xl md:text-2xl opacity-90 max-w-3xl mx-auto">
|
|
101
|
+
* Edge-to-edge hero section with full viewport width
|
|
102
|
+
* </p>
|
|
103
|
+
* <Button size="lg" variant="secondary">
|
|
104
|
+
* Get Started
|
|
105
|
+
* </Button>
|
|
106
|
+
* </div>
|
|
59
107
|
* </div>
|
|
60
108
|
* </Container>
|
|
61
109
|
* ```
|
|
62
110
|
*
|
|
63
|
-
* @example
|
|
111
|
+
* @example
|
|
64
112
|
* ```tsx
|
|
65
|
-
*
|
|
66
|
-
*
|
|
67
|
-
*
|
|
68
|
-
* <
|
|
69
|
-
*
|
|
70
|
-
*
|
|
113
|
+
* // Extra-large container for data-heavy interfaces
|
|
114
|
+
* <Container size="xl" className="py-8">
|
|
115
|
+
* <div className="space-y-6">
|
|
116
|
+
* <div className="flex justify-between items-center">
|
|
117
|
+
* <h1 className="text-3xl font-bold">Analytics Dashboard</h1>
|
|
118
|
+
* <Button variant="outline">Export Data</Button>
|
|
119
|
+
* </div>
|
|
120
|
+
*
|
|
121
|
+
* // Wide data table that needs maximum available width
|
|
122
|
+
* <DataTable
|
|
123
|
+
* columns={analyticsColumns}
|
|
124
|
+
* data={analyticsData}
|
|
125
|
+
* className="min-w-[1200px]"
|
|
126
|
+
* />
|
|
127
|
+
*
|
|
128
|
+
* <div className="grid grid-cols-1 lg:grid-cols-4 gap-6">
|
|
129
|
+
* <MetricCard />
|
|
130
|
+
* <MetricCard />
|
|
131
|
+
* <MetricCard />
|
|
132
|
+
* <MetricCard />
|
|
133
|
+
* </div>
|
|
134
|
+
* </div>
|
|
135
|
+
* </Container>
|
|
136
|
+
* ```
|
|
137
|
+
*
|
|
138
|
+
* @example
|
|
139
|
+
* ```tsx
|
|
140
|
+
* // Advanced usage with custom styling and ARIA landmarks
|
|
141
|
+
* <Container
|
|
142
|
+
* size="lg"
|
|
143
|
+
* className="min-h-screen py-12 bg-gray-50 dark:bg-gray-900"
|
|
144
|
+
* role="main"
|
|
145
|
+
* aria-label="Application content"
|
|
146
|
+
* >
|
|
147
|
+
* <div className="space-y-10">
|
|
148
|
+
* <header className="text-center space-y-4">
|
|
149
|
+
* <Badge variant="secondary">New Feature</Badge>
|
|
150
|
+
* <h1 className="text-4xl font-bold tracking-tight">
|
|
151
|
+
* Product Announcement
|
|
152
|
+
* </h1>
|
|
153
|
+
* <p className="text-lg text-muted-foreground max-w-2xl mx-auto">
|
|
154
|
+
* Discover the latest improvements to our platform
|
|
155
|
+
* </p>
|
|
156
|
+
* </header>
|
|
157
|
+
*
|
|
158
|
+
* <div className="grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-8">
|
|
159
|
+
* <FeatureCard />
|
|
160
|
+
* <FeatureCard />
|
|
161
|
+
* <FeatureCard />
|
|
162
|
+
* </div>
|
|
163
|
+
* </div>
|
|
71
164
|
* </Container>
|
|
72
165
|
* ```
|
|
73
166
|
*
|
|
74
167
|
* @accessibility
|
|
75
|
-
* - Uses semantic HTML `div` element
|
|
168
|
+
* - Uses semantic HTML `div` element with proper ARIA support
|
|
169
|
+
* - Supports all ARIA landmark roles (main, section, article, etc.)
|
|
76
170
|
* - Maintains proper focus management and keyboard navigation flow
|
|
77
|
-
* - Responsive design ensures content
|
|
171
|
+
* - Responsive design ensures content accessibility across all device sizes
|
|
78
172
|
* - Text content automatically reflows for optimal readability
|
|
79
|
-
* - Compatible with
|
|
173
|
+
* - Compatible with screen readers and assistive technologies
|
|
174
|
+
* - Supports high contrast themes and respects user preference settings
|
|
175
|
+
* - Browser zoom support up to 200% with maintained usability
|
|
176
|
+
* - Responsive padding prevents content from touching screen edges
|
|
177
|
+
* - Container centering provides consistent visual balance
|
|
80
178
|
*
|
|
179
|
+
* @variant sm - Small container (48rem max-width) for optimal reading and articles
|
|
180
|
+
* @variant md - Medium container (64rem max-width) for forms and documentation
|
|
181
|
+
* @variant lg - Large container (80rem max-width) for main app content and dashboards
|
|
182
|
+
* @variant xl - Extra-large container (no max-width) for data-heavy interfaces
|
|
183
|
+
* @variant full - Full-width container for hero sections and edge-to-edge layouts
|
|
184
|
+
*
|
|
185
|
+
* @see {@link containerVariants} CVA configuration with all styling variants
|
|
81
186
|
* @see {@link https://ui.shadcn.com/docs/components/sidebar} Sidebar component for app layouts
|
|
82
187
|
* @see {@link https://ui.shadcn.com/blocks} shadcn/ui blocks for complete layout examples
|
|
83
|
-
*
|
|
84
|
-
* @
|
|
188
|
+
* @see {@link https://tailwindcss.com/docs/container} Tailwind CSS container patterns
|
|
189
|
+
* @see {@link https://www.w3.org/WAI/ARIA/apg/patterns/landmarks/} ARIA Landmark Patterns
|
|
85
190
|
* @since 1.0.0
|
|
86
191
|
*/
|
|
87
|
-
declare
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
* - `md`: max-w-5xl (64rem) - Suitable for forms, documentation, and medium-width layouts
|
|
93
|
-
* - `lg`: max-w-7xl (80rem) - Default size, ideal for main application content and dashboards
|
|
94
|
-
* - `xl`: max-w-none - No max-width constraint but maintains responsive padding
|
|
95
|
-
* - `full`: max-w-full - Full width container for edge-to-edge designs
|
|
96
|
-
*
|
|
97
|
-
* @default "lg"
|
|
98
|
-
*/
|
|
99
|
-
size?: "sm" | "md" | "lg" | "xl" | "full";
|
|
100
|
-
} & React.RefAttributes<HTMLDivElement>>;
|
|
101
|
-
export { Container };
|
|
192
|
+
declare function Container({ className, size, ...props }: React.ComponentProps<"div"> & VariantProps<typeof containerVariants>): import("react/jsx-runtime").JSX.Element;
|
|
193
|
+
declare namespace Container {
|
|
194
|
+
var displayName: string;
|
|
195
|
+
}
|
|
196
|
+
export { Container, containerVariants };
|
|
102
197
|
//# sourceMappingURL=container.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"container.d.ts","sourceRoot":"","sources":["../../../src/components/ui/container.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"container.d.ts","sourceRoot":"","sources":["../../../src/components/ui/container.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,EAAO,KAAK,YAAY,EAAE,MAAM,0BAA0B,CAAC;AAIlE;;;;;;;;;;;;;;;;GAgBG;AACH,QAAA,MAAM,iBAAiB;;8EAarB,CAAC;AAiDH;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAwKG;AACH,iBAAS,SAAS,CAAC,EACjB,SAAS,EACT,IAAI,EACJ,GAAG,KAAK,EACT,EAAE,KAAK,CAAC,cAAc,CAAC,KAAK,CAAC,GAAG,YAAY,CAAC,OAAO,iBAAiB,CAAC,2CAItE;kBARQ,SAAS;;;AAYlB,OAAO,EAAE,SAAS,EAAE,iBAAiB,EAAE,CAAC"}
|