@alkimi.org/ui-kit 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/README.md +270 -0
- package/dist/index.css +568 -0
- package/dist/index.css.map +1 -0
- package/dist/index.d.mts +24 -0
- package/dist/index.d.ts +24 -0
- package/dist/index.js +168 -0
- package/dist/index.js.map +1 -0
- package/dist/index.mjs +124 -0
- package/dist/index.mjs.map +1 -0
- package/package.json +65 -0
package/README.md
ADDED
|
@@ -0,0 +1,270 @@
|
|
|
1
|
+
# Alkimi UI Kit
|
|
2
|
+
|
|
3
|
+
A React component library built with [shadcn/ui](https://ui.shadcn.com/) and [Tailwind CSS](https://tailwindcss.com/).
|
|
4
|
+
|
|
5
|
+
## Installation
|
|
6
|
+
|
|
7
|
+
```bash
|
|
8
|
+
npm install @alkimi/ui-kit
|
|
9
|
+
```
|
|
10
|
+
|
|
11
|
+
## Setup
|
|
12
|
+
|
|
13
|
+
### 1. Install Tailwind CSS
|
|
14
|
+
|
|
15
|
+
If you haven't already, install Tailwind CSS in your project:
|
|
16
|
+
|
|
17
|
+
```bash
|
|
18
|
+
npm install -D tailwindcss postcss autoprefixer
|
|
19
|
+
npx tailwindcss init -p
|
|
20
|
+
```
|
|
21
|
+
|
|
22
|
+
### 2. Configure Tailwind
|
|
23
|
+
|
|
24
|
+
Update your `tailwind.config.js` to include the library's content:
|
|
25
|
+
|
|
26
|
+
```js
|
|
27
|
+
/** @type {import('tailwindcss').Config} */
|
|
28
|
+
module.exports = {
|
|
29
|
+
darkMode: ["class"],
|
|
30
|
+
content: [
|
|
31
|
+
"./src/**/*.{js,jsx,ts,tsx}",
|
|
32
|
+
"./node_modules/@alkimi/ui-kit/dist/**/*.{js,mjs}",
|
|
33
|
+
],
|
|
34
|
+
theme: {
|
|
35
|
+
extend: {
|
|
36
|
+
colors: {
|
|
37
|
+
border: "hsl(var(--border))",
|
|
38
|
+
input: "hsl(var(--input))",
|
|
39
|
+
ring: "hsl(var(--ring))",
|
|
40
|
+
background: "hsl(var(--background))",
|
|
41
|
+
foreground: "hsl(var(--foreground))",
|
|
42
|
+
primary: {
|
|
43
|
+
DEFAULT: "hsl(var(--primary))",
|
|
44
|
+
foreground: "hsl(var(--primary-foreground))",
|
|
45
|
+
},
|
|
46
|
+
secondary: {
|
|
47
|
+
DEFAULT: "hsl(var(--secondary))",
|
|
48
|
+
foreground: "hsl(var(--secondary-foreground))",
|
|
49
|
+
},
|
|
50
|
+
destructive: {
|
|
51
|
+
DEFAULT: "hsl(var(--destructive))",
|
|
52
|
+
foreground: "hsl(var(--destructive-foreground))",
|
|
53
|
+
},
|
|
54
|
+
muted: {
|
|
55
|
+
DEFAULT: "hsl(var(--muted))",
|
|
56
|
+
foreground: "hsl(var(--muted-foreground))",
|
|
57
|
+
},
|
|
58
|
+
accent: {
|
|
59
|
+
DEFAULT: "hsl(var(--accent))",
|
|
60
|
+
foreground: "hsl(var(--accent-foreground))",
|
|
61
|
+
},
|
|
62
|
+
popover: {
|
|
63
|
+
DEFAULT: "hsl(var(--popover))",
|
|
64
|
+
foreground: "hsl(var(--popover-foreground))",
|
|
65
|
+
},
|
|
66
|
+
card: {
|
|
67
|
+
DEFAULT: "hsl(var(--card))",
|
|
68
|
+
foreground: "hsl(var(--card-foreground))",
|
|
69
|
+
},
|
|
70
|
+
},
|
|
71
|
+
borderRadius: {
|
|
72
|
+
lg: "var(--radius)",
|
|
73
|
+
md: "calc(var(--radius) - 2px)",
|
|
74
|
+
sm: "calc(var(--radius) - 4px)",
|
|
75
|
+
},
|
|
76
|
+
},
|
|
77
|
+
},
|
|
78
|
+
plugins: [require("tailwindcss-animate")],
|
|
79
|
+
}
|
|
80
|
+
```
|
|
81
|
+
|
|
82
|
+
### 3. Import Styles
|
|
83
|
+
|
|
84
|
+
Import the library's CSS in your main application file (e.g., `App.tsx` or `index.tsx`):
|
|
85
|
+
|
|
86
|
+
```tsx
|
|
87
|
+
import "@alkimi/ui-kit/styles.css"
|
|
88
|
+
```
|
|
89
|
+
|
|
90
|
+
Or if you prefer, add the CSS variables to your own CSS file:
|
|
91
|
+
|
|
92
|
+
```css
|
|
93
|
+
@layer base {
|
|
94
|
+
:root {
|
|
95
|
+
--background: 0 0% 100%;
|
|
96
|
+
--foreground: 222.2 84% 4.9%;
|
|
97
|
+
--card: 0 0% 100%;
|
|
98
|
+
--card-foreground: 222.2 84% 4.9%;
|
|
99
|
+
--popover: 0 0% 100%;
|
|
100
|
+
--popover-foreground: 222.2 84% 4.9%;
|
|
101
|
+
--primary: 222.2 47.4% 11.2%;
|
|
102
|
+
--primary-foreground: 210 40% 98%;
|
|
103
|
+
--secondary: 210 40% 96.1%;
|
|
104
|
+
--secondary-foreground: 222.2 47.4% 11.2%;
|
|
105
|
+
--muted: 210 40% 96.1%;
|
|
106
|
+
--muted-foreground: 215.4 16.3% 46.9%;
|
|
107
|
+
--accent: 210 40% 96.1%;
|
|
108
|
+
--accent-foreground: 222.2 47.4% 11.2%;
|
|
109
|
+
--destructive: 0 84.2% 60.2%;
|
|
110
|
+
--destructive-foreground: 210 40% 98%;
|
|
111
|
+
--border: 214.3 31.8% 91.4%;
|
|
112
|
+
--input: 214.3 31.8% 91.4%;
|
|
113
|
+
--ring: 222.2 84% 4.9%;
|
|
114
|
+
--radius: 0.5rem;
|
|
115
|
+
}
|
|
116
|
+
|
|
117
|
+
.dark {
|
|
118
|
+
--background: 222.2 84% 4.9%;
|
|
119
|
+
--foreground: 210 40% 98%;
|
|
120
|
+
--card: 222.2 84% 4.9%;
|
|
121
|
+
--card-foreground: 210 40% 98%;
|
|
122
|
+
--popover: 222.2 84% 4.9%;
|
|
123
|
+
--popover-foreground: 210 40% 98%;
|
|
124
|
+
--primary: 210 40% 98%;
|
|
125
|
+
--primary-foreground: 222.2 47.4% 11.2%;
|
|
126
|
+
--secondary: 217.2 32.6% 17.5%;
|
|
127
|
+
--secondary-foreground: 210 40% 98%;
|
|
128
|
+
--muted: 217.2 32.6% 17.5%;
|
|
129
|
+
--muted-foreground: 215 20.2% 65.1%;
|
|
130
|
+
--accent: 217.2 32.6% 17.5%;
|
|
131
|
+
--accent-foreground: 210 40% 98%;
|
|
132
|
+
--destructive: 0 62.8% 30.6%;
|
|
133
|
+
--destructive-foreground: 210 40% 98%;
|
|
134
|
+
--border: 217.2 32.6% 17.5%;
|
|
135
|
+
--input: 217.2 32.6% 17.5%;
|
|
136
|
+
--ring: 212.7 26.8% 83.9%;
|
|
137
|
+
}
|
|
138
|
+
}
|
|
139
|
+
```
|
|
140
|
+
|
|
141
|
+
## Usage
|
|
142
|
+
|
|
143
|
+
### Button Component
|
|
144
|
+
|
|
145
|
+
```tsx
|
|
146
|
+
import { Button } from "@alkimi/ui-kit"
|
|
147
|
+
|
|
148
|
+
function App() {
|
|
149
|
+
return (
|
|
150
|
+
<div>
|
|
151
|
+
<Button>Click me</Button>
|
|
152
|
+
<Button variant="secondary">Secondary</Button>
|
|
153
|
+
<Button variant="destructive">Delete</Button>
|
|
154
|
+
<Button variant="outline">Outline</Button>
|
|
155
|
+
<Button variant="ghost">Ghost</Button>
|
|
156
|
+
<Button variant="link">Link</Button>
|
|
157
|
+
<Button size="sm">Small</Button>
|
|
158
|
+
<Button size="lg">Large</Button>
|
|
159
|
+
</div>
|
|
160
|
+
)
|
|
161
|
+
}
|
|
162
|
+
```
|
|
163
|
+
|
|
164
|
+
### Card Component
|
|
165
|
+
|
|
166
|
+
```tsx
|
|
167
|
+
import {
|
|
168
|
+
Card,
|
|
169
|
+
CardHeader,
|
|
170
|
+
CardTitle,
|
|
171
|
+
CardDescription,
|
|
172
|
+
CardContent,
|
|
173
|
+
CardFooter,
|
|
174
|
+
Button,
|
|
175
|
+
} from "@alkimi/ui-kit"
|
|
176
|
+
|
|
177
|
+
function App() {
|
|
178
|
+
return (
|
|
179
|
+
<Card>
|
|
180
|
+
<CardHeader>
|
|
181
|
+
<CardTitle>Card Title</CardTitle>
|
|
182
|
+
<CardDescription>Card Description</CardDescription>
|
|
183
|
+
</CardHeader>
|
|
184
|
+
<CardContent>
|
|
185
|
+
<p>Card Content</p>
|
|
186
|
+
</CardContent>
|
|
187
|
+
<CardFooter>
|
|
188
|
+
<Button>Action</Button>
|
|
189
|
+
</CardFooter>
|
|
190
|
+
</Card>
|
|
191
|
+
)
|
|
192
|
+
}
|
|
193
|
+
```
|
|
194
|
+
|
|
195
|
+
## Adding More Components
|
|
196
|
+
|
|
197
|
+
To add more shadcn/ui components to this library:
|
|
198
|
+
|
|
199
|
+
1. Use the shadcn CLI to add components:
|
|
200
|
+
|
|
201
|
+
```bash
|
|
202
|
+
npx shadcn-ui@latest add [component-name]
|
|
203
|
+
```
|
|
204
|
+
|
|
205
|
+
2. Export the new component in [src/index.ts](src/index.ts):
|
|
206
|
+
|
|
207
|
+
```tsx
|
|
208
|
+
export { ComponentName } from "./components/component-name"
|
|
209
|
+
```
|
|
210
|
+
|
|
211
|
+
3. Rebuild the library:
|
|
212
|
+
```bash
|
|
213
|
+
npm run build
|
|
214
|
+
```
|
|
215
|
+
|
|
216
|
+
## Development
|
|
217
|
+
|
|
218
|
+
### Running the Demo
|
|
219
|
+
|
|
220
|
+
To see the components in action, run the demo application:
|
|
221
|
+
|
|
222
|
+
```bash
|
|
223
|
+
cd demo
|
|
224
|
+
npm install
|
|
225
|
+
npm run dev
|
|
226
|
+
```
|
|
227
|
+
|
|
228
|
+
Then open [http://localhost:5173](http://localhost:5173) in your browser.
|
|
229
|
+
|
|
230
|
+
The demo showcases all available components with interactive examples, including:
|
|
231
|
+
- All button variants and sizes
|
|
232
|
+
- Card layouts and compositions
|
|
233
|
+
- Dark mode toggle
|
|
234
|
+
- Interactive component states
|
|
235
|
+
|
|
236
|
+
### Build
|
|
237
|
+
|
|
238
|
+
Build the library for production:
|
|
239
|
+
|
|
240
|
+
```bash
|
|
241
|
+
npm run build
|
|
242
|
+
```
|
|
243
|
+
|
|
244
|
+
### Watch Mode
|
|
245
|
+
|
|
246
|
+
Build the library in watch mode during development:
|
|
247
|
+
|
|
248
|
+
```bash
|
|
249
|
+
npm run dev
|
|
250
|
+
```
|
|
251
|
+
|
|
252
|
+
### Type Check
|
|
253
|
+
|
|
254
|
+
Run TypeScript type checking:
|
|
255
|
+
|
|
256
|
+
```bash
|
|
257
|
+
npm run type-check
|
|
258
|
+
```
|
|
259
|
+
|
|
260
|
+
## Publishing to npm
|
|
261
|
+
|
|
262
|
+
1. Update the package name in [package.json](package.json) to the npm scope (e.g., `@alkimi/ui-kit`)
|
|
263
|
+
2. Update the version number
|
|
264
|
+
3. Build the library: `npm run build`
|
|
265
|
+
4. Login to npm: `npm login`
|
|
266
|
+
5. Publish: `npm publish --access public`
|
|
267
|
+
|
|
268
|
+
## License
|
|
269
|
+
|
|
270
|
+
MIT
|
package/dist/index.css
ADDED
|
@@ -0,0 +1,568 @@
|
|
|
1
|
+
/* src/styles.css */
|
|
2
|
+
*,
|
|
3
|
+
::before,
|
|
4
|
+
::after {
|
|
5
|
+
--tw-border-spacing-x: 0;
|
|
6
|
+
--tw-border-spacing-y: 0;
|
|
7
|
+
--tw-translate-x: 0;
|
|
8
|
+
--tw-translate-y: 0;
|
|
9
|
+
--tw-rotate: 0;
|
|
10
|
+
--tw-skew-x: 0;
|
|
11
|
+
--tw-skew-y: 0;
|
|
12
|
+
--tw-scale-x: 1;
|
|
13
|
+
--tw-scale-y: 1;
|
|
14
|
+
--tw-pan-x: ;
|
|
15
|
+
--tw-pan-y: ;
|
|
16
|
+
--tw-pinch-zoom: ;
|
|
17
|
+
--tw-scroll-snap-strictness: proximity;
|
|
18
|
+
--tw-gradient-from-position: ;
|
|
19
|
+
--tw-gradient-via-position: ;
|
|
20
|
+
--tw-gradient-to-position: ;
|
|
21
|
+
--tw-ordinal: ;
|
|
22
|
+
--tw-slashed-zero: ;
|
|
23
|
+
--tw-numeric-figure: ;
|
|
24
|
+
--tw-numeric-spacing: ;
|
|
25
|
+
--tw-numeric-fraction: ;
|
|
26
|
+
--tw-ring-inset: ;
|
|
27
|
+
--tw-ring-offset-width: 0px;
|
|
28
|
+
--tw-ring-offset-color: #fff;
|
|
29
|
+
--tw-ring-color: rgb(59 130 246 / 0.5);
|
|
30
|
+
--tw-ring-offset-shadow: 0 0 #0000;
|
|
31
|
+
--tw-ring-shadow: 0 0 #0000;
|
|
32
|
+
--tw-shadow: 0 0 #0000;
|
|
33
|
+
--tw-shadow-colored: 0 0 #0000;
|
|
34
|
+
--tw-blur: ;
|
|
35
|
+
--tw-brightness: ;
|
|
36
|
+
--tw-contrast: ;
|
|
37
|
+
--tw-grayscale: ;
|
|
38
|
+
--tw-hue-rotate: ;
|
|
39
|
+
--tw-invert: ;
|
|
40
|
+
--tw-saturate: ;
|
|
41
|
+
--tw-sepia: ;
|
|
42
|
+
--tw-drop-shadow: ;
|
|
43
|
+
--tw-backdrop-blur: ;
|
|
44
|
+
--tw-backdrop-brightness: ;
|
|
45
|
+
--tw-backdrop-contrast: ;
|
|
46
|
+
--tw-backdrop-grayscale: ;
|
|
47
|
+
--tw-backdrop-hue-rotate: ;
|
|
48
|
+
--tw-backdrop-invert: ;
|
|
49
|
+
--tw-backdrop-opacity: ;
|
|
50
|
+
--tw-backdrop-saturate: ;
|
|
51
|
+
--tw-backdrop-sepia: ;
|
|
52
|
+
--tw-contain-size: ;
|
|
53
|
+
--tw-contain-layout: ;
|
|
54
|
+
--tw-contain-paint: ;
|
|
55
|
+
--tw-contain-style: ;
|
|
56
|
+
}
|
|
57
|
+
::backdrop {
|
|
58
|
+
--tw-border-spacing-x: 0;
|
|
59
|
+
--tw-border-spacing-y: 0;
|
|
60
|
+
--tw-translate-x: 0;
|
|
61
|
+
--tw-translate-y: 0;
|
|
62
|
+
--tw-rotate: 0;
|
|
63
|
+
--tw-skew-x: 0;
|
|
64
|
+
--tw-skew-y: 0;
|
|
65
|
+
--tw-scale-x: 1;
|
|
66
|
+
--tw-scale-y: 1;
|
|
67
|
+
--tw-pan-x: ;
|
|
68
|
+
--tw-pan-y: ;
|
|
69
|
+
--tw-pinch-zoom: ;
|
|
70
|
+
--tw-scroll-snap-strictness: proximity;
|
|
71
|
+
--tw-gradient-from-position: ;
|
|
72
|
+
--tw-gradient-via-position: ;
|
|
73
|
+
--tw-gradient-to-position: ;
|
|
74
|
+
--tw-ordinal: ;
|
|
75
|
+
--tw-slashed-zero: ;
|
|
76
|
+
--tw-numeric-figure: ;
|
|
77
|
+
--tw-numeric-spacing: ;
|
|
78
|
+
--tw-numeric-fraction: ;
|
|
79
|
+
--tw-ring-inset: ;
|
|
80
|
+
--tw-ring-offset-width: 0px;
|
|
81
|
+
--tw-ring-offset-color: #fff;
|
|
82
|
+
--tw-ring-color: rgb(59 130 246 / 0.5);
|
|
83
|
+
--tw-ring-offset-shadow: 0 0 #0000;
|
|
84
|
+
--tw-ring-shadow: 0 0 #0000;
|
|
85
|
+
--tw-shadow: 0 0 #0000;
|
|
86
|
+
--tw-shadow-colored: 0 0 #0000;
|
|
87
|
+
--tw-blur: ;
|
|
88
|
+
--tw-brightness: ;
|
|
89
|
+
--tw-contrast: ;
|
|
90
|
+
--tw-grayscale: ;
|
|
91
|
+
--tw-hue-rotate: ;
|
|
92
|
+
--tw-invert: ;
|
|
93
|
+
--tw-saturate: ;
|
|
94
|
+
--tw-sepia: ;
|
|
95
|
+
--tw-drop-shadow: ;
|
|
96
|
+
--tw-backdrop-blur: ;
|
|
97
|
+
--tw-backdrop-brightness: ;
|
|
98
|
+
--tw-backdrop-contrast: ;
|
|
99
|
+
--tw-backdrop-grayscale: ;
|
|
100
|
+
--tw-backdrop-hue-rotate: ;
|
|
101
|
+
--tw-backdrop-invert: ;
|
|
102
|
+
--tw-backdrop-opacity: ;
|
|
103
|
+
--tw-backdrop-saturate: ;
|
|
104
|
+
--tw-backdrop-sepia: ;
|
|
105
|
+
--tw-contain-size: ;
|
|
106
|
+
--tw-contain-layout: ;
|
|
107
|
+
--tw-contain-paint: ;
|
|
108
|
+
--tw-contain-style: ;
|
|
109
|
+
}
|
|
110
|
+
*,
|
|
111
|
+
::before,
|
|
112
|
+
::after {
|
|
113
|
+
box-sizing: border-box;
|
|
114
|
+
border-width: 0;
|
|
115
|
+
border-style: solid;
|
|
116
|
+
border-color: #e5e7eb;
|
|
117
|
+
}
|
|
118
|
+
::before,
|
|
119
|
+
::after {
|
|
120
|
+
--tw-content: "";
|
|
121
|
+
}
|
|
122
|
+
html,
|
|
123
|
+
:host {
|
|
124
|
+
line-height: 1.5;
|
|
125
|
+
-webkit-text-size-adjust: 100%;
|
|
126
|
+
-moz-tab-size: 4;
|
|
127
|
+
-o-tab-size: 4;
|
|
128
|
+
tab-size: 4;
|
|
129
|
+
font-family:
|
|
130
|
+
ui-sans-serif,
|
|
131
|
+
system-ui,
|
|
132
|
+
sans-serif,
|
|
133
|
+
"Apple Color Emoji",
|
|
134
|
+
"Segoe UI Emoji",
|
|
135
|
+
"Segoe UI Symbol",
|
|
136
|
+
"Noto Color Emoji";
|
|
137
|
+
font-feature-settings: normal;
|
|
138
|
+
font-variation-settings: normal;
|
|
139
|
+
-webkit-tap-highlight-color: transparent;
|
|
140
|
+
}
|
|
141
|
+
body {
|
|
142
|
+
margin: 0;
|
|
143
|
+
line-height: inherit;
|
|
144
|
+
}
|
|
145
|
+
hr {
|
|
146
|
+
height: 0;
|
|
147
|
+
color: inherit;
|
|
148
|
+
border-top-width: 1px;
|
|
149
|
+
}
|
|
150
|
+
abbr:where([title]) {
|
|
151
|
+
-webkit-text-decoration: underline dotted;
|
|
152
|
+
text-decoration: underline dotted;
|
|
153
|
+
}
|
|
154
|
+
h1,
|
|
155
|
+
h2,
|
|
156
|
+
h3,
|
|
157
|
+
h4,
|
|
158
|
+
h5,
|
|
159
|
+
h6 {
|
|
160
|
+
font-size: inherit;
|
|
161
|
+
font-weight: inherit;
|
|
162
|
+
}
|
|
163
|
+
a {
|
|
164
|
+
color: inherit;
|
|
165
|
+
text-decoration: inherit;
|
|
166
|
+
}
|
|
167
|
+
b,
|
|
168
|
+
strong {
|
|
169
|
+
font-weight: bolder;
|
|
170
|
+
}
|
|
171
|
+
code,
|
|
172
|
+
kbd,
|
|
173
|
+
samp,
|
|
174
|
+
pre {
|
|
175
|
+
font-family:
|
|
176
|
+
ui-monospace,
|
|
177
|
+
SFMono-Regular,
|
|
178
|
+
Menlo,
|
|
179
|
+
Monaco,
|
|
180
|
+
Consolas,
|
|
181
|
+
"Liberation Mono",
|
|
182
|
+
"Courier New",
|
|
183
|
+
monospace;
|
|
184
|
+
font-feature-settings: normal;
|
|
185
|
+
font-variation-settings: normal;
|
|
186
|
+
font-size: 1em;
|
|
187
|
+
}
|
|
188
|
+
small {
|
|
189
|
+
font-size: 80%;
|
|
190
|
+
}
|
|
191
|
+
sub,
|
|
192
|
+
sup {
|
|
193
|
+
font-size: 75%;
|
|
194
|
+
line-height: 0;
|
|
195
|
+
position: relative;
|
|
196
|
+
vertical-align: baseline;
|
|
197
|
+
}
|
|
198
|
+
sub {
|
|
199
|
+
bottom: -0.25em;
|
|
200
|
+
}
|
|
201
|
+
sup {
|
|
202
|
+
top: -0.5em;
|
|
203
|
+
}
|
|
204
|
+
table {
|
|
205
|
+
text-indent: 0;
|
|
206
|
+
border-color: inherit;
|
|
207
|
+
border-collapse: collapse;
|
|
208
|
+
}
|
|
209
|
+
button,
|
|
210
|
+
input,
|
|
211
|
+
optgroup,
|
|
212
|
+
select,
|
|
213
|
+
textarea {
|
|
214
|
+
font-family: inherit;
|
|
215
|
+
font-feature-settings: inherit;
|
|
216
|
+
font-variation-settings: inherit;
|
|
217
|
+
font-size: 100%;
|
|
218
|
+
font-weight: inherit;
|
|
219
|
+
line-height: inherit;
|
|
220
|
+
letter-spacing: inherit;
|
|
221
|
+
color: inherit;
|
|
222
|
+
margin: 0;
|
|
223
|
+
padding: 0;
|
|
224
|
+
}
|
|
225
|
+
button,
|
|
226
|
+
select {
|
|
227
|
+
text-transform: none;
|
|
228
|
+
}
|
|
229
|
+
button,
|
|
230
|
+
input:where([type=button]),
|
|
231
|
+
input:where([type=reset]),
|
|
232
|
+
input:where([type=submit]) {
|
|
233
|
+
-webkit-appearance: button;
|
|
234
|
+
background-color: transparent;
|
|
235
|
+
background-image: none;
|
|
236
|
+
}
|
|
237
|
+
:-moz-focusring {
|
|
238
|
+
outline: auto;
|
|
239
|
+
}
|
|
240
|
+
:-moz-ui-invalid {
|
|
241
|
+
box-shadow: none;
|
|
242
|
+
}
|
|
243
|
+
progress {
|
|
244
|
+
vertical-align: baseline;
|
|
245
|
+
}
|
|
246
|
+
::-webkit-inner-spin-button,
|
|
247
|
+
::-webkit-outer-spin-button {
|
|
248
|
+
height: auto;
|
|
249
|
+
}
|
|
250
|
+
[type=search] {
|
|
251
|
+
-webkit-appearance: textfield;
|
|
252
|
+
outline-offset: -2px;
|
|
253
|
+
}
|
|
254
|
+
::-webkit-search-decoration {
|
|
255
|
+
-webkit-appearance: none;
|
|
256
|
+
}
|
|
257
|
+
::-webkit-file-upload-button {
|
|
258
|
+
-webkit-appearance: button;
|
|
259
|
+
font: inherit;
|
|
260
|
+
}
|
|
261
|
+
summary {
|
|
262
|
+
display: list-item;
|
|
263
|
+
}
|
|
264
|
+
blockquote,
|
|
265
|
+
dl,
|
|
266
|
+
dd,
|
|
267
|
+
h1,
|
|
268
|
+
h2,
|
|
269
|
+
h3,
|
|
270
|
+
h4,
|
|
271
|
+
h5,
|
|
272
|
+
h6,
|
|
273
|
+
hr,
|
|
274
|
+
figure,
|
|
275
|
+
p,
|
|
276
|
+
pre {
|
|
277
|
+
margin: 0;
|
|
278
|
+
}
|
|
279
|
+
fieldset {
|
|
280
|
+
margin: 0;
|
|
281
|
+
padding: 0;
|
|
282
|
+
}
|
|
283
|
+
legend {
|
|
284
|
+
padding: 0;
|
|
285
|
+
}
|
|
286
|
+
ol,
|
|
287
|
+
ul,
|
|
288
|
+
menu {
|
|
289
|
+
list-style: none;
|
|
290
|
+
margin: 0;
|
|
291
|
+
padding: 0;
|
|
292
|
+
}
|
|
293
|
+
dialog {
|
|
294
|
+
padding: 0;
|
|
295
|
+
}
|
|
296
|
+
textarea {
|
|
297
|
+
resize: vertical;
|
|
298
|
+
}
|
|
299
|
+
input::-moz-placeholder,
|
|
300
|
+
textarea::-moz-placeholder {
|
|
301
|
+
opacity: 1;
|
|
302
|
+
color: #9ca3af;
|
|
303
|
+
}
|
|
304
|
+
input::placeholder,
|
|
305
|
+
textarea::placeholder {
|
|
306
|
+
opacity: 1;
|
|
307
|
+
color: #9ca3af;
|
|
308
|
+
}
|
|
309
|
+
button,
|
|
310
|
+
[role=button] {
|
|
311
|
+
cursor: pointer;
|
|
312
|
+
}
|
|
313
|
+
:disabled {
|
|
314
|
+
cursor: default;
|
|
315
|
+
}
|
|
316
|
+
img,
|
|
317
|
+
svg,
|
|
318
|
+
video,
|
|
319
|
+
canvas,
|
|
320
|
+
audio,
|
|
321
|
+
iframe,
|
|
322
|
+
embed,
|
|
323
|
+
object {
|
|
324
|
+
display: block;
|
|
325
|
+
vertical-align: middle;
|
|
326
|
+
}
|
|
327
|
+
img,
|
|
328
|
+
video {
|
|
329
|
+
max-width: 100%;
|
|
330
|
+
height: auto;
|
|
331
|
+
}
|
|
332
|
+
[hidden]:where(:not([hidden=until-found])) {
|
|
333
|
+
display: none;
|
|
334
|
+
}
|
|
335
|
+
:root {
|
|
336
|
+
--background: 0 0% 100%;
|
|
337
|
+
--foreground: 222.2 84% 4.9%;
|
|
338
|
+
--card: 0 0% 100%;
|
|
339
|
+
--card-foreground: 222.2 84% 4.9%;
|
|
340
|
+
--popover: 0 0% 100%;
|
|
341
|
+
--popover-foreground: 222.2 84% 4.9%;
|
|
342
|
+
--primary: 222.2 47.4% 11.2%;
|
|
343
|
+
--primary-foreground: 210 40% 98%;
|
|
344
|
+
--secondary: 210 40% 96.1%;
|
|
345
|
+
--secondary-foreground: 222.2 47.4% 11.2%;
|
|
346
|
+
--muted: 210 40% 96.1%;
|
|
347
|
+
--muted-foreground: 215.4 16.3% 46.9%;
|
|
348
|
+
--accent: 210 40% 96.1%;
|
|
349
|
+
--accent-foreground: 222.2 47.4% 11.2%;
|
|
350
|
+
--destructive: 0 84.2% 60.2%;
|
|
351
|
+
--destructive-foreground: 210 40% 98%;
|
|
352
|
+
--border: 214.3 31.8% 91.4%;
|
|
353
|
+
--input: 214.3 31.8% 91.4%;
|
|
354
|
+
--ring: 222.2 84% 4.9%;
|
|
355
|
+
--radius: 0.5rem;
|
|
356
|
+
}
|
|
357
|
+
* {
|
|
358
|
+
border-color: hsl(var(--border));
|
|
359
|
+
}
|
|
360
|
+
body {
|
|
361
|
+
background-color: hsl(var(--background));
|
|
362
|
+
color: hsl(var(--foreground));
|
|
363
|
+
}
|
|
364
|
+
.flex {
|
|
365
|
+
display: flex;
|
|
366
|
+
}
|
|
367
|
+
.inline-flex {
|
|
368
|
+
display: inline-flex;
|
|
369
|
+
}
|
|
370
|
+
.h-10 {
|
|
371
|
+
height: 2.5rem;
|
|
372
|
+
}
|
|
373
|
+
.h-11 {
|
|
374
|
+
height: 2.75rem;
|
|
375
|
+
}
|
|
376
|
+
.h-9 {
|
|
377
|
+
height: 2.25rem;
|
|
378
|
+
}
|
|
379
|
+
.w-10 {
|
|
380
|
+
width: 2.5rem;
|
|
381
|
+
}
|
|
382
|
+
.flex-col {
|
|
383
|
+
flex-direction: column;
|
|
384
|
+
}
|
|
385
|
+
.items-center {
|
|
386
|
+
align-items: center;
|
|
387
|
+
}
|
|
388
|
+
.justify-center {
|
|
389
|
+
justify-content: center;
|
|
390
|
+
}
|
|
391
|
+
.space-y-1\.5 > :not([hidden]) ~ :not([hidden]) {
|
|
392
|
+
--tw-space-y-reverse: 0;
|
|
393
|
+
margin-top: calc(0.375rem * calc(1 - var(--tw-space-y-reverse)));
|
|
394
|
+
margin-bottom: calc(0.375rem * var(--tw-space-y-reverse));
|
|
395
|
+
}
|
|
396
|
+
.whitespace-nowrap {
|
|
397
|
+
white-space: nowrap;
|
|
398
|
+
}
|
|
399
|
+
.rounded-lg {
|
|
400
|
+
border-radius: var(--radius);
|
|
401
|
+
}
|
|
402
|
+
.rounded-md {
|
|
403
|
+
border-radius: calc(var(--radius) - 2px);
|
|
404
|
+
}
|
|
405
|
+
.border {
|
|
406
|
+
border-width: 1px;
|
|
407
|
+
}
|
|
408
|
+
.border-input {
|
|
409
|
+
border-color: hsl(var(--input));
|
|
410
|
+
}
|
|
411
|
+
.bg-background {
|
|
412
|
+
background-color: hsl(var(--background));
|
|
413
|
+
}
|
|
414
|
+
.bg-card {
|
|
415
|
+
background-color: hsl(var(--card));
|
|
416
|
+
}
|
|
417
|
+
.bg-destructive {
|
|
418
|
+
background-color: hsl(var(--destructive));
|
|
419
|
+
}
|
|
420
|
+
.bg-primary {
|
|
421
|
+
background-color: hsl(var(--primary));
|
|
422
|
+
}
|
|
423
|
+
.bg-secondary {
|
|
424
|
+
background-color: hsl(var(--secondary));
|
|
425
|
+
}
|
|
426
|
+
.p-6 {
|
|
427
|
+
padding: 1.5rem;
|
|
428
|
+
}
|
|
429
|
+
.px-3 {
|
|
430
|
+
padding-left: 0.75rem;
|
|
431
|
+
padding-right: 0.75rem;
|
|
432
|
+
}
|
|
433
|
+
.px-4 {
|
|
434
|
+
padding-left: 1rem;
|
|
435
|
+
padding-right: 1rem;
|
|
436
|
+
}
|
|
437
|
+
.px-8 {
|
|
438
|
+
padding-left: 2rem;
|
|
439
|
+
padding-right: 2rem;
|
|
440
|
+
}
|
|
441
|
+
.py-2 {
|
|
442
|
+
padding-top: 0.5rem;
|
|
443
|
+
padding-bottom: 0.5rem;
|
|
444
|
+
}
|
|
445
|
+
.pt-0 {
|
|
446
|
+
padding-top: 0px;
|
|
447
|
+
}
|
|
448
|
+
.text-2xl {
|
|
449
|
+
font-size: 1.5rem;
|
|
450
|
+
line-height: 2rem;
|
|
451
|
+
}
|
|
452
|
+
.text-sm {
|
|
453
|
+
font-size: 0.875rem;
|
|
454
|
+
line-height: 1.25rem;
|
|
455
|
+
}
|
|
456
|
+
.font-medium {
|
|
457
|
+
font-weight: 500;
|
|
458
|
+
}
|
|
459
|
+
.font-semibold {
|
|
460
|
+
font-weight: 600;
|
|
461
|
+
}
|
|
462
|
+
.leading-none {
|
|
463
|
+
line-height: 1;
|
|
464
|
+
}
|
|
465
|
+
.tracking-tight {
|
|
466
|
+
letter-spacing: -0.025em;
|
|
467
|
+
}
|
|
468
|
+
.text-card-foreground {
|
|
469
|
+
color: hsl(var(--card-foreground));
|
|
470
|
+
}
|
|
471
|
+
.text-destructive-foreground {
|
|
472
|
+
color: hsl(var(--destructive-foreground));
|
|
473
|
+
}
|
|
474
|
+
.text-muted-foreground {
|
|
475
|
+
color: hsl(var(--muted-foreground));
|
|
476
|
+
}
|
|
477
|
+
.text-primary {
|
|
478
|
+
color: hsl(var(--primary));
|
|
479
|
+
}
|
|
480
|
+
.text-primary-foreground {
|
|
481
|
+
color: hsl(var(--primary-foreground));
|
|
482
|
+
}
|
|
483
|
+
.text-secondary-foreground {
|
|
484
|
+
color: hsl(var(--secondary-foreground));
|
|
485
|
+
}
|
|
486
|
+
.underline-offset-4 {
|
|
487
|
+
text-underline-offset: 4px;
|
|
488
|
+
}
|
|
489
|
+
.shadow-sm {
|
|
490
|
+
--tw-shadow: 0 1px 2px 0 rgb(0 0 0 / 0.05);
|
|
491
|
+
--tw-shadow-colored: 0 1px 2px 0 var(--tw-shadow-color);
|
|
492
|
+
box-shadow:
|
|
493
|
+
var(--tw-ring-offset-shadow, 0 0 #0000),
|
|
494
|
+
var(--tw-ring-shadow, 0 0 #0000),
|
|
495
|
+
var(--tw-shadow);
|
|
496
|
+
}
|
|
497
|
+
.outline {
|
|
498
|
+
outline-style: solid;
|
|
499
|
+
}
|
|
500
|
+
.ring-offset-background {
|
|
501
|
+
--tw-ring-offset-color: hsl(var(--background));
|
|
502
|
+
}
|
|
503
|
+
.transition-colors {
|
|
504
|
+
transition-property:
|
|
505
|
+
color,
|
|
506
|
+
background-color,
|
|
507
|
+
border-color,
|
|
508
|
+
text-decoration-color,
|
|
509
|
+
fill,
|
|
510
|
+
stroke;
|
|
511
|
+
transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
|
|
512
|
+
transition-duration: 150ms;
|
|
513
|
+
}
|
|
514
|
+
@keyframes enter {
|
|
515
|
+
from {
|
|
516
|
+
opacity: var(--tw-enter-opacity, 1);
|
|
517
|
+
transform: translate3d(var(--tw-enter-translate-x, 0), var(--tw-enter-translate-y, 0), 0) scale3d(var(--tw-enter-scale, 1), var(--tw-enter-scale, 1), var(--tw-enter-scale, 1)) rotate(var(--tw-enter-rotate, 0));
|
|
518
|
+
}
|
|
519
|
+
}
|
|
520
|
+
@keyframes exit {
|
|
521
|
+
to {
|
|
522
|
+
opacity: var(--tw-exit-opacity, 1);
|
|
523
|
+
transform: translate3d(var(--tw-exit-translate-x, 0), var(--tw-exit-translate-y, 0), 0) scale3d(var(--tw-exit-scale, 1), var(--tw-exit-scale, 1), var(--tw-exit-scale, 1)) rotate(var(--tw-exit-rotate, 0));
|
|
524
|
+
}
|
|
525
|
+
}
|
|
526
|
+
.hover\:bg-accent:hover {
|
|
527
|
+
background-color: hsl(var(--accent));
|
|
528
|
+
}
|
|
529
|
+
.hover\:bg-destructive\/90:hover {
|
|
530
|
+
background-color: hsl(var(--destructive) / 0.9);
|
|
531
|
+
}
|
|
532
|
+
.hover\:bg-primary\/90:hover {
|
|
533
|
+
background-color: hsl(var(--primary) / 0.9);
|
|
534
|
+
}
|
|
535
|
+
.hover\:bg-secondary\/80:hover {
|
|
536
|
+
background-color: hsl(var(--secondary) / 0.8);
|
|
537
|
+
}
|
|
538
|
+
.hover\:text-accent-foreground:hover {
|
|
539
|
+
color: hsl(var(--accent-foreground));
|
|
540
|
+
}
|
|
541
|
+
.hover\:underline:hover {
|
|
542
|
+
text-decoration-line: underline;
|
|
543
|
+
}
|
|
544
|
+
.focus-visible\:outline-none:focus-visible {
|
|
545
|
+
outline: 2px solid transparent;
|
|
546
|
+
outline-offset: 2px;
|
|
547
|
+
}
|
|
548
|
+
.focus-visible\:ring-2:focus-visible {
|
|
549
|
+
--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);
|
|
550
|
+
--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);
|
|
551
|
+
box-shadow:
|
|
552
|
+
var(--tw-ring-offset-shadow),
|
|
553
|
+
var(--tw-ring-shadow),
|
|
554
|
+
var(--tw-shadow, 0 0 #0000);
|
|
555
|
+
}
|
|
556
|
+
.focus-visible\:ring-ring:focus-visible {
|
|
557
|
+
--tw-ring-color: hsl(var(--ring));
|
|
558
|
+
}
|
|
559
|
+
.focus-visible\:ring-offset-2:focus-visible {
|
|
560
|
+
--tw-ring-offset-width: 2px;
|
|
561
|
+
}
|
|
562
|
+
.disabled\:pointer-events-none:disabled {
|
|
563
|
+
pointer-events: none;
|
|
564
|
+
}
|
|
565
|
+
.disabled\:opacity-50:disabled {
|
|
566
|
+
opacity: 0.5;
|
|
567
|
+
}
|
|
568
|
+
/*# sourceMappingURL=index.css.map */
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../src/styles.css"],"sourcesContent":["*, ::before, ::after {\n --tw-border-spacing-x: 0;\n --tw-border-spacing-y: 0;\n --tw-translate-x: 0;\n --tw-translate-y: 0;\n --tw-rotate: 0;\n --tw-skew-x: 0;\n --tw-skew-y: 0;\n --tw-scale-x: 1;\n --tw-scale-y: 1;\n --tw-pan-x: ;\n --tw-pan-y: ;\n --tw-pinch-zoom: ;\n --tw-scroll-snap-strictness: proximity;\n --tw-gradient-from-position: ;\n --tw-gradient-via-position: ;\n --tw-gradient-to-position: ;\n --tw-ordinal: ;\n --tw-slashed-zero: ;\n --tw-numeric-figure: ;\n --tw-numeric-spacing: ;\n --tw-numeric-fraction: ;\n --tw-ring-inset: ;\n --tw-ring-offset-width: 0px;\n --tw-ring-offset-color: #fff;\n --tw-ring-color: rgb(59 130 246 / 0.5);\n --tw-ring-offset-shadow: 0 0 #0000;\n --tw-ring-shadow: 0 0 #0000;\n --tw-shadow: 0 0 #0000;\n --tw-shadow-colored: 0 0 #0000;\n --tw-blur: ;\n --tw-brightness: ;\n --tw-contrast: ;\n --tw-grayscale: ;\n --tw-hue-rotate: ;\n --tw-invert: ;\n --tw-saturate: ;\n --tw-sepia: ;\n --tw-drop-shadow: ;\n --tw-backdrop-blur: ;\n --tw-backdrop-brightness: ;\n --tw-backdrop-contrast: ;\n --tw-backdrop-grayscale: ;\n --tw-backdrop-hue-rotate: ;\n --tw-backdrop-invert: ;\n --tw-backdrop-opacity: ;\n --tw-backdrop-saturate: ;\n --tw-backdrop-sepia: ;\n --tw-contain-size: ;\n --tw-contain-layout: ;\n --tw-contain-paint: ;\n --tw-contain-style: ;\n}\n\n::backdrop {\n --tw-border-spacing-x: 0;\n --tw-border-spacing-y: 0;\n --tw-translate-x: 0;\n --tw-translate-y: 0;\n --tw-rotate: 0;\n --tw-skew-x: 0;\n --tw-skew-y: 0;\n --tw-scale-x: 1;\n --tw-scale-y: 1;\n --tw-pan-x: ;\n --tw-pan-y: ;\n --tw-pinch-zoom: ;\n --tw-scroll-snap-strictness: proximity;\n --tw-gradient-from-position: ;\n --tw-gradient-via-position: ;\n --tw-gradient-to-position: ;\n --tw-ordinal: ;\n --tw-slashed-zero: ;\n --tw-numeric-figure: ;\n --tw-numeric-spacing: ;\n --tw-numeric-fraction: ;\n --tw-ring-inset: ;\n --tw-ring-offset-width: 0px;\n --tw-ring-offset-color: #fff;\n --tw-ring-color: rgb(59 130 246 / 0.5);\n --tw-ring-offset-shadow: 0 0 #0000;\n --tw-ring-shadow: 0 0 #0000;\n --tw-shadow: 0 0 #0000;\n --tw-shadow-colored: 0 0 #0000;\n --tw-blur: ;\n --tw-brightness: ;\n --tw-contrast: ;\n --tw-grayscale: ;\n --tw-hue-rotate: ;\n --tw-invert: ;\n --tw-saturate: ;\n --tw-sepia: ;\n --tw-drop-shadow: ;\n --tw-backdrop-blur: ;\n --tw-backdrop-brightness: ;\n --tw-backdrop-contrast: ;\n --tw-backdrop-grayscale: ;\n --tw-backdrop-hue-rotate: ;\n --tw-backdrop-invert: ;\n --tw-backdrop-opacity: ;\n --tw-backdrop-saturate: ;\n --tw-backdrop-sepia: ;\n --tw-contain-size: ;\n --tw-contain-layout: ;\n --tw-contain-paint: ;\n --tw-contain-style: ;\n}/*\n! tailwindcss v3.4.18 | MIT License | https://tailwindcss.com\n*//*\n1. Prevent padding and border from affecting element width. (https://github.com/mozdevs/cssremedy/issues/4)\n2. Allow adding a border to an element by just adding a border-width. (https://github.com/tailwindcss/tailwindcss/pull/116)\n*/\n\n*,\n::before,\n::after {\n box-sizing: border-box; /* 1 */\n border-width: 0; /* 2 */\n border-style: solid; /* 2 */\n border-color: #e5e7eb; /* 2 */\n}\n\n::before,\n::after {\n --tw-content: '';\n}\n\n/*\n1. Use a consistent sensible line-height in all browsers.\n2. Prevent adjustments of font size after orientation changes in iOS.\n3. Use a more readable tab size.\n4. Use the user's configured `sans` font-family by default.\n5. Use the user's configured `sans` font-feature-settings by default.\n6. Use the user's configured `sans` font-variation-settings by default.\n7. Disable tap highlights on iOS\n*/\n\nhtml,\n:host {\n line-height: 1.5; /* 1 */\n -webkit-text-size-adjust: 100%; /* 2 */\n -moz-tab-size: 4; /* 3 */\n -o-tab-size: 4;\n tab-size: 4; /* 3 */\n font-family: ui-sans-serif, system-ui, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\", \"Noto Color Emoji\"; /* 4 */\n font-feature-settings: normal; /* 5 */\n font-variation-settings: normal; /* 6 */\n -webkit-tap-highlight-color: transparent; /* 7 */\n}\n\n/*\n1. Remove the margin in all browsers.\n2. Inherit line-height from `html` so users can set them as a class directly on the `html` element.\n*/\n\nbody {\n margin: 0; /* 1 */\n line-height: inherit; /* 2 */\n}\n\n/*\n1. Add the correct height in Firefox.\n2. Correct the inheritance of border color in Firefox. (https://bugzilla.mozilla.org/show_bug.cgi?id=190655)\n3. Ensure horizontal rules are visible by default.\n*/\n\nhr {\n height: 0; /* 1 */\n color: inherit; /* 2 */\n border-top-width: 1px; /* 3 */\n}\n\n/*\nAdd the correct text decoration in Chrome, Edge, and Safari.\n*/\n\nabbr:where([title]) {\n -webkit-text-decoration: underline dotted;\n text-decoration: underline dotted;\n}\n\n/*\nRemove the default font size and weight for headings.\n*/\n\nh1,\nh2,\nh3,\nh4,\nh5,\nh6 {\n font-size: inherit;\n font-weight: inherit;\n}\n\n/*\nReset links to optimize for opt-in styling instead of opt-out.\n*/\n\na {\n color: inherit;\n text-decoration: inherit;\n}\n\n/*\nAdd the correct font weight in Edge and Safari.\n*/\n\nb,\nstrong {\n font-weight: bolder;\n}\n\n/*\n1. Use the user's configured `mono` font-family by default.\n2. Use the user's configured `mono` font-feature-settings by default.\n3. Use the user's configured `mono` font-variation-settings by default.\n4. Correct the odd `em` font sizing in all browsers.\n*/\n\ncode,\nkbd,\nsamp,\npre {\n font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, \"Liberation Mono\", \"Courier New\", monospace; /* 1 */\n font-feature-settings: normal; /* 2 */\n font-variation-settings: normal; /* 3 */\n font-size: 1em; /* 4 */\n}\n\n/*\nAdd the correct font size in all browsers.\n*/\n\nsmall {\n font-size: 80%;\n}\n\n/*\nPrevent `sub` and `sup` elements from affecting the line height in all browsers.\n*/\n\nsub,\nsup {\n font-size: 75%;\n line-height: 0;\n position: relative;\n vertical-align: baseline;\n}\n\nsub {\n bottom: -0.25em;\n}\n\nsup {\n top: -0.5em;\n}\n\n/*\n1. Remove text indentation from table contents in Chrome and Safari. (https://bugs.chromium.org/p/chromium/issues/detail?id=999088, https://bugs.webkit.org/show_bug.cgi?id=201297)\n2. Correct table border color inheritance in all Chrome and Safari. (https://bugs.chromium.org/p/chromium/issues/detail?id=935729, https://bugs.webkit.org/show_bug.cgi?id=195016)\n3. Remove gaps between table borders by default.\n*/\n\ntable {\n text-indent: 0; /* 1 */\n border-color: inherit; /* 2 */\n border-collapse: collapse; /* 3 */\n}\n\n/*\n1. Change the font styles in all browsers.\n2. Remove the margin in Firefox and Safari.\n3. Remove default padding in all browsers.\n*/\n\nbutton,\ninput,\noptgroup,\nselect,\ntextarea {\n font-family: inherit; /* 1 */\n font-feature-settings: inherit; /* 1 */\n font-variation-settings: inherit; /* 1 */\n font-size: 100%; /* 1 */\n font-weight: inherit; /* 1 */\n line-height: inherit; /* 1 */\n letter-spacing: inherit; /* 1 */\n color: inherit; /* 1 */\n margin: 0; /* 2 */\n padding: 0; /* 3 */\n}\n\n/*\nRemove the inheritance of text transform in Edge and Firefox.\n*/\n\nbutton,\nselect {\n text-transform: none;\n}\n\n/*\n1. Correct the inability to style clickable types in iOS and Safari.\n2. Remove default button styles.\n*/\n\nbutton,\ninput:where([type='button']),\ninput:where([type='reset']),\ninput:where([type='submit']) {\n -webkit-appearance: button; /* 1 */\n background-color: transparent; /* 2 */\n background-image: none; /* 2 */\n}\n\n/*\nUse the modern Firefox focus style for all focusable elements.\n*/\n\n:-moz-focusring {\n outline: auto;\n}\n\n/*\nRemove the additional `:invalid` styles in Firefox. (https://github.com/mozilla/gecko-dev/blob/2f9eacd9d3d995c937b4251a5557d95d494c9be1/layout/style/res/forms.css#L728-L737)\n*/\n\n:-moz-ui-invalid {\n box-shadow: none;\n}\n\n/*\nAdd the correct vertical alignment in Chrome and Firefox.\n*/\n\nprogress {\n vertical-align: baseline;\n}\n\n/*\nCorrect the cursor style of increment and decrement buttons in Safari.\n*/\n\n::-webkit-inner-spin-button,\n::-webkit-outer-spin-button {\n height: auto;\n}\n\n/*\n1. Correct the odd appearance in Chrome and Safari.\n2. Correct the outline style in Safari.\n*/\n\n[type='search'] {\n -webkit-appearance: textfield; /* 1 */\n outline-offset: -2px; /* 2 */\n}\n\n/*\nRemove the inner padding in Chrome and Safari on macOS.\n*/\n\n::-webkit-search-decoration {\n -webkit-appearance: none;\n}\n\n/*\n1. Correct the inability to style clickable types in iOS and Safari.\n2. Change font properties to `inherit` in Safari.\n*/\n\n::-webkit-file-upload-button {\n -webkit-appearance: button; /* 1 */\n font: inherit; /* 2 */\n}\n\n/*\nAdd the correct display in Chrome and Safari.\n*/\n\nsummary {\n display: list-item;\n}\n\n/*\nRemoves the default spacing and border for appropriate elements.\n*/\n\nblockquote,\ndl,\ndd,\nh1,\nh2,\nh3,\nh4,\nh5,\nh6,\nhr,\nfigure,\np,\npre {\n margin: 0;\n}\n\nfieldset {\n margin: 0;\n padding: 0;\n}\n\nlegend {\n padding: 0;\n}\n\nol,\nul,\nmenu {\n list-style: none;\n margin: 0;\n padding: 0;\n}\n\n/*\nReset default styling for dialogs.\n*/\ndialog {\n padding: 0;\n}\n\n/*\nPrevent resizing textareas horizontally by default.\n*/\n\ntextarea {\n resize: vertical;\n}\n\n/*\n1. Reset the default placeholder opacity in Firefox. (https://github.com/tailwindlabs/tailwindcss/issues/3300)\n2. Set the default placeholder color to the user's configured gray 400 color.\n*/\n\ninput::-moz-placeholder, textarea::-moz-placeholder {\n opacity: 1; /* 1 */\n color: #9ca3af; /* 2 */\n}\n\ninput::placeholder,\ntextarea::placeholder {\n opacity: 1; /* 1 */\n color: #9ca3af; /* 2 */\n}\n\n/*\nSet the default cursor for buttons.\n*/\n\nbutton,\n[role=\"button\"] {\n cursor: pointer;\n}\n\n/*\nMake sure disabled buttons don't get the pointer cursor.\n*/\n:disabled {\n cursor: default;\n}\n\n/*\n1. Make replaced elements `display: block` by default. (https://github.com/mozdevs/cssremedy/issues/14)\n2. Add `vertical-align: middle` to align replaced elements more sensibly by default. (https://github.com/jensimmons/cssremedy/issues/14#issuecomment-634934210)\n This can trigger a poorly considered lint error in some tools but is included by design.\n*/\n\nimg,\nsvg,\nvideo,\ncanvas,\naudio,\niframe,\nembed,\nobject {\n display: block; /* 1 */\n vertical-align: middle; /* 2 */\n}\n\n/*\nConstrain images and videos to the parent width and preserve their intrinsic aspect ratio. (https://github.com/mozdevs/cssremedy/issues/14)\n*/\n\nimg,\nvideo {\n max-width: 100%;\n height: auto;\n}\n\n/* Make elements with the HTML hidden attribute stay hidden by default */\n[hidden]:where(:not([hidden=\"until-found\"])) {\n display: none;\n}\n :root {\n --background: 0 0% 100%;\n --foreground: 222.2 84% 4.9%;\n --card: 0 0% 100%;\n --card-foreground: 222.2 84% 4.9%;\n --popover: 0 0% 100%;\n --popover-foreground: 222.2 84% 4.9%;\n --primary: 222.2 47.4% 11.2%;\n --primary-foreground: 210 40% 98%;\n --secondary: 210 40% 96.1%;\n --secondary-foreground: 222.2 47.4% 11.2%;\n --muted: 210 40% 96.1%;\n --muted-foreground: 215.4 16.3% 46.9%;\n --accent: 210 40% 96.1%;\n --accent-foreground: 222.2 47.4% 11.2%;\n --destructive: 0 84.2% 60.2%;\n --destructive-foreground: 210 40% 98%;\n --border: 214.3 31.8% 91.4%;\n --input: 214.3 31.8% 91.4%;\n --ring: 222.2 84% 4.9%;\n --radius: 0.5rem;\n }\n * {\n border-color: hsl(var(--border));\n}\n body {\n background-color: hsl(var(--background));\n color: hsl(var(--foreground));\n}\n.flex {\n display: flex;\n}\n.inline-flex {\n display: inline-flex;\n}\n.h-10 {\n height: 2.5rem;\n}\n.h-11 {\n height: 2.75rem;\n}\n.h-9 {\n height: 2.25rem;\n}\n.w-10 {\n width: 2.5rem;\n}\n.flex-col {\n flex-direction: column;\n}\n.items-center {\n align-items: center;\n}\n.justify-center {\n justify-content: center;\n}\n.space-y-1\\.5 > :not([hidden]) ~ :not([hidden]) {\n --tw-space-y-reverse: 0;\n margin-top: calc(0.375rem * calc(1 - var(--tw-space-y-reverse)));\n margin-bottom: calc(0.375rem * var(--tw-space-y-reverse));\n}\n.whitespace-nowrap {\n white-space: nowrap;\n}\n.rounded-lg {\n border-radius: var(--radius);\n}\n.rounded-md {\n border-radius: calc(var(--radius) - 2px);\n}\n.border {\n border-width: 1px;\n}\n.border-input {\n border-color: hsl(var(--input));\n}\n.bg-background {\n background-color: hsl(var(--background));\n}\n.bg-card {\n background-color: hsl(var(--card));\n}\n.bg-destructive {\n background-color: hsl(var(--destructive));\n}\n.bg-primary {\n background-color: hsl(var(--primary));\n}\n.bg-secondary {\n background-color: hsl(var(--secondary));\n}\n.p-6 {\n padding: 1.5rem;\n}\n.px-3 {\n padding-left: 0.75rem;\n padding-right: 0.75rem;\n}\n.px-4 {\n padding-left: 1rem;\n padding-right: 1rem;\n}\n.px-8 {\n padding-left: 2rem;\n padding-right: 2rem;\n}\n.py-2 {\n padding-top: 0.5rem;\n padding-bottom: 0.5rem;\n}\n.pt-0 {\n padding-top: 0px;\n}\n.text-2xl {\n font-size: 1.5rem;\n line-height: 2rem;\n}\n.text-sm {\n font-size: 0.875rem;\n line-height: 1.25rem;\n}\n.font-medium {\n font-weight: 500;\n}\n.font-semibold {\n font-weight: 600;\n}\n.leading-none {\n line-height: 1;\n}\n.tracking-tight {\n letter-spacing: -0.025em;\n}\n.text-card-foreground {\n color: hsl(var(--card-foreground));\n}\n.text-destructive-foreground {\n color: hsl(var(--destructive-foreground));\n}\n.text-muted-foreground {\n color: hsl(var(--muted-foreground));\n}\n.text-primary {\n color: hsl(var(--primary));\n}\n.text-primary-foreground {\n color: hsl(var(--primary-foreground));\n}\n.text-secondary-foreground {\n color: hsl(var(--secondary-foreground));\n}\n.underline-offset-4 {\n text-underline-offset: 4px;\n}\n.shadow-sm {\n --tw-shadow: 0 1px 2px 0 rgb(0 0 0 / 0.05);\n --tw-shadow-colored: 0 1px 2px 0 var(--tw-shadow-color);\n box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);\n}\n.outline {\n outline-style: solid;\n}\n.ring-offset-background {\n --tw-ring-offset-color: hsl(var(--background));\n}\n.transition-colors {\n transition-property: color, background-color, border-color, text-decoration-color, fill, stroke;\n transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);\n transition-duration: 150ms;\n}\n@keyframes enter {\n\n from {\n opacity: var(--tw-enter-opacity, 1);\n transform: translate3d(var(--tw-enter-translate-x, 0), var(--tw-enter-translate-y, 0), 0) scale3d(var(--tw-enter-scale, 1), var(--tw-enter-scale, 1), var(--tw-enter-scale, 1)) rotate(var(--tw-enter-rotate, 0));\n }\n}\n@keyframes exit {\n\n to {\n opacity: var(--tw-exit-opacity, 1);\n transform: translate3d(var(--tw-exit-translate-x, 0), var(--tw-exit-translate-y, 0), 0) scale3d(var(--tw-exit-scale, 1), var(--tw-exit-scale, 1), var(--tw-exit-scale, 1)) rotate(var(--tw-exit-rotate, 0));\n }\n}\n\n.hover\\:bg-accent:hover {\n background-color: hsl(var(--accent));\n}\n\n.hover\\:bg-destructive\\/90:hover {\n background-color: hsl(var(--destructive) / 0.9);\n}\n\n.hover\\:bg-primary\\/90:hover {\n background-color: hsl(var(--primary) / 0.9);\n}\n\n.hover\\:bg-secondary\\/80:hover {\n background-color: hsl(var(--secondary) / 0.8);\n}\n\n.hover\\:text-accent-foreground:hover {\n color: hsl(var(--accent-foreground));\n}\n\n.hover\\:underline:hover {\n text-decoration-line: underline;\n}\n\n.focus-visible\\:outline-none:focus-visible {\n outline: 2px solid transparent;\n outline-offset: 2px;\n}\n\n.focus-visible\\:ring-2:focus-visible {\n --tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);\n --tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);\n box-shadow: var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow, 0 0 #0000);\n}\n\n.focus-visible\\:ring-ring:focus-visible {\n --tw-ring-color: hsl(var(--ring));\n}\n\n.focus-visible\\:ring-offset-2:focus-visible {\n --tw-ring-offset-width: 2px;\n}\n\n.disabled\\:pointer-events-none:disabled {\n pointer-events: none;\n}\n\n.disabled\\:opacity-50:disabled {\n opacity: 0.5;\n}\n"],"mappings":";AAAA;AAAG;AAAU;AACX,yBAAuB;AACvB,yBAAuB;AACvB,oBAAkB;AAClB,oBAAkB;AAClB,eAAa;AACb,eAAa;AACb,eAAa;AACb,gBAAc;AACd,gBAAc;AACd;AACA;AACA;AACA,+BAA6B;AAC7B;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,0BAAwB;AACxB,0BAAwB;AACxB,mBAAiB,IAAI,GAAG,IAAI,IAAI,EAAE;AAClC,2BAAyB,EAAE,EAAE;AAC7B,oBAAkB,EAAE,EAAE;AACtB,eAAa,EAAE,EAAE;AACjB,uBAAqB,EAAE,EAAE;AACzB;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACF;AAEA;AACE,yBAAuB;AACvB,yBAAuB;AACvB,oBAAkB;AAClB,oBAAkB;AAClB,eAAa;AACb,eAAa;AACb,eAAa;AACb,gBAAc;AACd,gBAAc;AACd;AACA;AACA;AACA,+BAA6B;AAC7B;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,0BAAwB;AACxB,0BAAwB;AACxB,mBAAiB,IAAI,GAAG,IAAI,IAAI,EAAE;AAClC,2BAAyB,EAAE,EAAE;AAC7B,oBAAkB,EAAE,EAAE;AACtB,eAAa,EAAE,EAAE;AACjB,uBAAqB,EAAE,EAAE;AACzB;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACF;AAOA;AACA;AACA;AACE,cAAY;AACZ,gBAAc;AACd,gBAAc;AACd,gBAAc;AAChB;AAEA;AACA;AACE,gBAAc;AAChB;AAYA;AACA;AACE,eAAa;AACb,4BAA0B;AAC1B,iBAAe;AACf,eAAa;AACV,YAAU;AACb;AAAA,IAAa,aAAa;AAAA,IAAE,SAAS;AAAA,IAAE,UAAU;AAAA,IAAE,mBAAmB;AAAA,IAAE,gBAAgB;AAAA,IAAE,iBAAiB;AAAA,IAAE;AAC7G,yBAA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AC1M;AACF;AAEA,CAAC,gBAAgB;AACf,oBAAkB,IAAI,IAAI;AAC5B;AAEA,CAAC,yBAAyB;AACxB,oBAAkB,IAAI,IAAI,eAAe,EAAE;AAC7C;AAEA,CAAC,qBAAqB;AACpB,oBAAkB,IAAI,IAAI,WAAW,EAAE;AACzC;AAEA,CAAC,uBAAuB;AACtB,oBAAkB,IAAI,IAAI,aAAa,EAAE;AAC3C;AAEA,CAAC,6BAA6B;AAC5B,SAAO,IAAI,IAAI;AACjB;AAEA,CAAC,gBAAgB;AACf,wBAAsB;AACxB;AAEA,CAAC,2BAA2B;AAC1B,WAAS,IAAI,MAAM;AACnB,kBAAgB;AAClB;AAEA,CAAC,qBAAqB;AACpB,2BAAyB,IAAI,iBAAiB,EAAE,EAAE,EAAE,IAAI,wBAAwB,IAAI;AACpF,oBAAkB,IAAI,iBAAiB,EAAE,EAAE,EAAE,KAAK,IAAI,EAAE,IAAI,yBAAyB,IAAI;AACzF;AAAA,IAAY,IAAI,wBAAwB;AAAA,IAAE,IAAI,iBAAiB;AAAA,IAAE,IAAI,WAAW,EAAE,EAAE,EAAE;AACxF;AAEA,CAAC,wBAAwB;AACvB,mBAAiB,IAAI,IAAI;AAC3B;AAEA,CAAC,4BAA4B;AAC3B,0BAAwB;AAC1B;AAEA,CAAC,6BAA6B;AAC5B,kBAAgB;AAClB;AAEA,CAAC,oBAAoB;AACnB,WAAS;AACX;","names":[]}
|
package/dist/index.d.mts
ADDED
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import * as class_variance_authority_types from 'class-variance-authority/types';
|
|
2
|
+
import * as React from 'react';
|
|
3
|
+
import { VariantProps } from 'class-variance-authority';
|
|
4
|
+
import { ClassValue } from 'clsx';
|
|
5
|
+
|
|
6
|
+
declare const buttonVariants: (props?: ({
|
|
7
|
+
variant?: "default" | "destructive" | "outline" | "secondary" | "ghost" | "link" | null | undefined;
|
|
8
|
+
size?: "default" | "sm" | "lg" | "icon" | null | undefined;
|
|
9
|
+
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
10
|
+
interface ButtonProps extends React.ButtonHTMLAttributes<HTMLButtonElement>, VariantProps<typeof buttonVariants> {
|
|
11
|
+
asChild?: boolean;
|
|
12
|
+
}
|
|
13
|
+
declare const Button: React.ForwardRefExoticComponent<ButtonProps & React.RefAttributes<HTMLButtonElement>>;
|
|
14
|
+
|
|
15
|
+
declare const Card: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLDivElement> & React.RefAttributes<HTMLDivElement>>;
|
|
16
|
+
declare const CardHeader: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLDivElement> & React.RefAttributes<HTMLDivElement>>;
|
|
17
|
+
declare const CardTitle: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLHeadingElement> & React.RefAttributes<HTMLParagraphElement>>;
|
|
18
|
+
declare const CardDescription: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLParagraphElement> & React.RefAttributes<HTMLParagraphElement>>;
|
|
19
|
+
declare const CardContent: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLDivElement> & React.RefAttributes<HTMLDivElement>>;
|
|
20
|
+
declare const CardFooter: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLDivElement> & React.RefAttributes<HTMLDivElement>>;
|
|
21
|
+
|
|
22
|
+
declare function cn(...inputs: ClassValue[]): string;
|
|
23
|
+
|
|
24
|
+
export { Button, type ButtonProps, Card, CardContent, CardDescription, CardFooter, CardHeader, CardTitle, buttonVariants, cn };
|
package/dist/index.d.ts
ADDED
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import * as class_variance_authority_types from 'class-variance-authority/types';
|
|
2
|
+
import * as React from 'react';
|
|
3
|
+
import { VariantProps } from 'class-variance-authority';
|
|
4
|
+
import { ClassValue } from 'clsx';
|
|
5
|
+
|
|
6
|
+
declare const buttonVariants: (props?: ({
|
|
7
|
+
variant?: "default" | "destructive" | "outline" | "secondary" | "ghost" | "link" | null | undefined;
|
|
8
|
+
size?: "default" | "sm" | "lg" | "icon" | null | undefined;
|
|
9
|
+
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
10
|
+
interface ButtonProps extends React.ButtonHTMLAttributes<HTMLButtonElement>, VariantProps<typeof buttonVariants> {
|
|
11
|
+
asChild?: boolean;
|
|
12
|
+
}
|
|
13
|
+
declare const Button: React.ForwardRefExoticComponent<ButtonProps & React.RefAttributes<HTMLButtonElement>>;
|
|
14
|
+
|
|
15
|
+
declare const Card: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLDivElement> & React.RefAttributes<HTMLDivElement>>;
|
|
16
|
+
declare const CardHeader: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLDivElement> & React.RefAttributes<HTMLDivElement>>;
|
|
17
|
+
declare const CardTitle: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLHeadingElement> & React.RefAttributes<HTMLParagraphElement>>;
|
|
18
|
+
declare const CardDescription: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLParagraphElement> & React.RefAttributes<HTMLParagraphElement>>;
|
|
19
|
+
declare const CardContent: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLDivElement> & React.RefAttributes<HTMLDivElement>>;
|
|
20
|
+
declare const CardFooter: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLDivElement> & React.RefAttributes<HTMLDivElement>>;
|
|
21
|
+
|
|
22
|
+
declare function cn(...inputs: ClassValue[]): string;
|
|
23
|
+
|
|
24
|
+
export { Button, type ButtonProps, Card, CardContent, CardDescription, CardFooter, CardHeader, CardTitle, buttonVariants, cn };
|
package/dist/index.js
ADDED
|
@@ -0,0 +1,168 @@
|
|
|
1
|
+
"use client"
|
|
2
|
+
"use strict";
|
|
3
|
+
var __create = Object.create;
|
|
4
|
+
var __defProp = Object.defineProperty;
|
|
5
|
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
6
|
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
7
|
+
var __getProtoOf = Object.getPrototypeOf;
|
|
8
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
9
|
+
var __export = (target, all) => {
|
|
10
|
+
for (var name in all)
|
|
11
|
+
__defProp(target, name, { get: all[name], enumerable: true });
|
|
12
|
+
};
|
|
13
|
+
var __copyProps = (to, from, except, desc) => {
|
|
14
|
+
if (from && typeof from === "object" || typeof from === "function") {
|
|
15
|
+
for (let key of __getOwnPropNames(from))
|
|
16
|
+
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
17
|
+
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
18
|
+
}
|
|
19
|
+
return to;
|
|
20
|
+
};
|
|
21
|
+
var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(
|
|
22
|
+
// If the importer is in node compatibility mode or this is not an ESM
|
|
23
|
+
// file that has been converted to a CommonJS file using a Babel-
|
|
24
|
+
// compatible transform (i.e. "__esModule" has not been set), then set
|
|
25
|
+
// "default" to the CommonJS "module.exports" for node compatibility.
|
|
26
|
+
isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target,
|
|
27
|
+
mod
|
|
28
|
+
));
|
|
29
|
+
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
30
|
+
|
|
31
|
+
// src/index.ts
|
|
32
|
+
var index_exports = {};
|
|
33
|
+
__export(index_exports, {
|
|
34
|
+
Button: () => Button,
|
|
35
|
+
Card: () => Card,
|
|
36
|
+
CardContent: () => CardContent,
|
|
37
|
+
CardDescription: () => CardDescription,
|
|
38
|
+
CardFooter: () => CardFooter,
|
|
39
|
+
CardHeader: () => CardHeader,
|
|
40
|
+
CardTitle: () => CardTitle,
|
|
41
|
+
buttonVariants: () => buttonVariants,
|
|
42
|
+
cn: () => cn
|
|
43
|
+
});
|
|
44
|
+
module.exports = __toCommonJS(index_exports);
|
|
45
|
+
|
|
46
|
+
// src/components/button.tsx
|
|
47
|
+
var React = __toESM(require("react"));
|
|
48
|
+
var import_react_slot = require("@radix-ui/react-slot");
|
|
49
|
+
var import_class_variance_authority = require("class-variance-authority");
|
|
50
|
+
|
|
51
|
+
// src/lib/utils.ts
|
|
52
|
+
var import_clsx = require("clsx");
|
|
53
|
+
var import_tailwind_merge = require("tailwind-merge");
|
|
54
|
+
function cn(...inputs) {
|
|
55
|
+
return (0, import_tailwind_merge.twMerge)((0, import_clsx.clsx)(inputs));
|
|
56
|
+
}
|
|
57
|
+
|
|
58
|
+
// src/components/button.tsx
|
|
59
|
+
var import_jsx_runtime = require("react/jsx-runtime");
|
|
60
|
+
var buttonVariants = (0, import_class_variance_authority.cva)(
|
|
61
|
+
"inline-flex items-center justify-center whitespace-nowrap rounded-md text-sm font-medium ring-offset-background transition-colors focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:pointer-events-none disabled:opacity-50",
|
|
62
|
+
{
|
|
63
|
+
variants: {
|
|
64
|
+
variant: {
|
|
65
|
+
default: "bg-primary text-primary-foreground hover:bg-primary/90",
|
|
66
|
+
destructive: "bg-destructive text-destructive-foreground hover:bg-destructive/90",
|
|
67
|
+
outline: "border border-input bg-background hover:bg-accent hover:text-accent-foreground",
|
|
68
|
+
secondary: "bg-secondary text-secondary-foreground hover:bg-secondary/80",
|
|
69
|
+
ghost: "hover:bg-accent hover:text-accent-foreground",
|
|
70
|
+
link: "text-primary underline-offset-4 hover:underline"
|
|
71
|
+
},
|
|
72
|
+
size: {
|
|
73
|
+
default: "h-10 px-4 py-2",
|
|
74
|
+
sm: "h-9 rounded-md px-3",
|
|
75
|
+
lg: "h-11 rounded-md px-8",
|
|
76
|
+
icon: "h-10 w-10"
|
|
77
|
+
}
|
|
78
|
+
},
|
|
79
|
+
defaultVariants: {
|
|
80
|
+
variant: "default",
|
|
81
|
+
size: "default"
|
|
82
|
+
}
|
|
83
|
+
}
|
|
84
|
+
);
|
|
85
|
+
var Button = React.forwardRef(
|
|
86
|
+
({ className, variant, size, asChild = false, ...props }, ref) => {
|
|
87
|
+
const Comp = asChild ? import_react_slot.Slot : "button";
|
|
88
|
+
return /* @__PURE__ */ (0, import_jsx_runtime.jsx)(
|
|
89
|
+
Comp,
|
|
90
|
+
{
|
|
91
|
+
className: cn(buttonVariants({ variant, size, className })),
|
|
92
|
+
ref,
|
|
93
|
+
...props
|
|
94
|
+
}
|
|
95
|
+
);
|
|
96
|
+
}
|
|
97
|
+
);
|
|
98
|
+
Button.displayName = "Button";
|
|
99
|
+
|
|
100
|
+
// src/components/card.tsx
|
|
101
|
+
var React2 = __toESM(require("react"));
|
|
102
|
+
var import_jsx_runtime2 = require("react/jsx-runtime");
|
|
103
|
+
var Card = React2.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime2.jsx)(
|
|
104
|
+
"div",
|
|
105
|
+
{
|
|
106
|
+
ref,
|
|
107
|
+
className: cn(
|
|
108
|
+
"rounded-lg border bg-card text-card-foreground shadow-sm",
|
|
109
|
+
className
|
|
110
|
+
),
|
|
111
|
+
...props
|
|
112
|
+
}
|
|
113
|
+
));
|
|
114
|
+
Card.displayName = "Card";
|
|
115
|
+
var CardHeader = React2.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime2.jsx)(
|
|
116
|
+
"div",
|
|
117
|
+
{
|
|
118
|
+
ref,
|
|
119
|
+
className: cn("flex flex-col space-y-1.5 p-6", className),
|
|
120
|
+
...props
|
|
121
|
+
}
|
|
122
|
+
));
|
|
123
|
+
CardHeader.displayName = "CardHeader";
|
|
124
|
+
var CardTitle = React2.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime2.jsx)(
|
|
125
|
+
"h3",
|
|
126
|
+
{
|
|
127
|
+
ref,
|
|
128
|
+
className: cn(
|
|
129
|
+
"text-2xl font-semibold leading-none tracking-tight",
|
|
130
|
+
className
|
|
131
|
+
),
|
|
132
|
+
...props
|
|
133
|
+
}
|
|
134
|
+
));
|
|
135
|
+
CardTitle.displayName = "CardTitle";
|
|
136
|
+
var CardDescription = React2.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime2.jsx)(
|
|
137
|
+
"p",
|
|
138
|
+
{
|
|
139
|
+
ref,
|
|
140
|
+
className: cn("text-sm text-muted-foreground", className),
|
|
141
|
+
...props
|
|
142
|
+
}
|
|
143
|
+
));
|
|
144
|
+
CardDescription.displayName = "CardDescription";
|
|
145
|
+
var CardContent = React2.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime2.jsx)("div", { ref, className: cn("p-6 pt-0", className), ...props }));
|
|
146
|
+
CardContent.displayName = "CardContent";
|
|
147
|
+
var CardFooter = React2.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime2.jsx)(
|
|
148
|
+
"div",
|
|
149
|
+
{
|
|
150
|
+
ref,
|
|
151
|
+
className: cn("flex items-center p-6 pt-0", className),
|
|
152
|
+
...props
|
|
153
|
+
}
|
|
154
|
+
));
|
|
155
|
+
CardFooter.displayName = "CardFooter";
|
|
156
|
+
// Annotate the CommonJS export names for ESM import in node:
|
|
157
|
+
0 && (module.exports = {
|
|
158
|
+
Button,
|
|
159
|
+
Card,
|
|
160
|
+
CardContent,
|
|
161
|
+
CardDescription,
|
|
162
|
+
CardFooter,
|
|
163
|
+
CardHeader,
|
|
164
|
+
CardTitle,
|
|
165
|
+
buttonVariants,
|
|
166
|
+
cn
|
|
167
|
+
});
|
|
168
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../src/index.ts","../src/components/button.tsx","../src/lib/utils.ts","../src/components/card.tsx"],"sourcesContent":["// Export styles\nimport \"./styles.css\";\n\n// Export components\nexport { Button, buttonVariants, type ButtonProps } from \"./components/button\";\nexport {\n Card,\n CardHeader,\n CardFooter,\n CardTitle,\n CardDescription,\n CardContent,\n} from \"./components/card\";\n\n// Export utilities\nexport { cn } from \"./lib/utils\";\n","import * as React from \"react\";\nimport { Slot } from \"@radix-ui/react-slot\";\nimport { cva, type VariantProps } from \"class-variance-authority\";\n\nimport { cn } from \"@/lib/utils\";\n\nconst buttonVariants = cva(\n \"inline-flex items-center justify-center whitespace-nowrap rounded-md text-sm font-medium ring-offset-background transition-colors focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:pointer-events-none disabled:opacity-50\",\n {\n variants: {\n variant: {\n default: \"bg-primary text-primary-foreground hover:bg-primary/90\",\n destructive:\n \"bg-destructive text-destructive-foreground hover:bg-destructive/90\",\n outline:\n \"border border-input bg-background hover:bg-accent hover:text-accent-foreground\",\n secondary:\n \"bg-secondary text-secondary-foreground hover:bg-secondary/80\",\n ghost: \"hover:bg-accent hover:text-accent-foreground\",\n link: \"text-primary underline-offset-4 hover:underline\",\n },\n size: {\n default: \"h-10 px-4 py-2\",\n sm: \"h-9 rounded-md px-3\",\n lg: \"h-11 rounded-md px-8\",\n icon: \"h-10 w-10\",\n },\n },\n defaultVariants: {\n variant: \"default\",\n size: \"default\",\n },\n }\n);\n\nexport interface ButtonProps\n extends React.ButtonHTMLAttributes<HTMLButtonElement>,\n VariantProps<typeof buttonVariants> {\n asChild?: boolean;\n}\n\nconst Button = React.forwardRef<HTMLButtonElement, ButtonProps>(\n ({ className, variant, size, asChild = false, ...props }, ref) => {\n const Comp = asChild ? Slot : \"button\";\n return (\n <Comp\n className={cn(buttonVariants({ variant, size, className }))}\n ref={ref}\n {...props}\n />\n );\n }\n);\nButton.displayName = \"Button\";\n\nexport { Button, buttonVariants };\n","import { type ClassValue, clsx } from \"clsx\";\nimport { twMerge } from \"tailwind-merge\";\n\nexport function cn(...inputs: ClassValue[]) {\n return twMerge(clsx(inputs));\n}\n","import * as React from \"react\";\n\nimport { cn } from \"@/lib/utils\";\n\nconst Card = React.forwardRef<\n HTMLDivElement,\n React.HTMLAttributes<HTMLDivElement>\n>(({ className, ...props }, ref) => (\n <div\n ref={ref}\n className={cn(\n \"rounded-lg border bg-card text-card-foreground shadow-sm\",\n className\n )}\n {...props}\n />\n));\nCard.displayName = \"Card\";\n\nconst CardHeader = React.forwardRef<\n HTMLDivElement,\n React.HTMLAttributes<HTMLDivElement>\n>(({ className, ...props }, ref) => (\n <div\n ref={ref}\n className={cn(\"flex flex-col space-y-1.5 p-6\", className)}\n {...props}\n />\n));\nCardHeader.displayName = \"CardHeader\";\n\nconst CardTitle = React.forwardRef<\n HTMLParagraphElement,\n React.HTMLAttributes<HTMLHeadingElement>\n>(({ className, ...props }, ref) => (\n <h3\n ref={ref}\n className={cn(\n \"text-2xl font-semibold leading-none tracking-tight\",\n className\n )}\n {...props}\n />\n));\nCardTitle.displayName = \"CardTitle\";\n\nconst CardDescription = React.forwardRef<\n HTMLParagraphElement,\n React.HTMLAttributes<HTMLParagraphElement>\n>(({ className, ...props }, ref) => (\n <p\n ref={ref}\n className={cn(\"text-sm text-muted-foreground\", className)}\n {...props}\n />\n));\nCardDescription.displayName = \"CardDescription\";\n\nconst CardContent = React.forwardRef<\n HTMLDivElement,\n React.HTMLAttributes<HTMLDivElement>\n>(({ className, ...props }, ref) => (\n <div ref={ref} className={cn(\"p-6 pt-0\", className)} {...props} />\n));\nCardContent.displayName = \"CardContent\";\n\nconst CardFooter = React.forwardRef<\n HTMLDivElement,\n React.HTMLAttributes<HTMLDivElement>\n>(({ className, ...props }, ref) => (\n <div\n ref={ref}\n className={cn(\"flex items-center p-6 pt-0\", className)}\n {...props}\n />\n));\nCardFooter.displayName = \"CardFooter\";\n\nexport { Card, CardHeader, CardFooter, CardTitle, CardDescription, CardContent };\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;;;ACAA,YAAuB;AACvB,wBAAqB;AACrB,sCAAuC;;;ACFvC,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,YAAkB,kBAGtB,CAAC,EAAE,WAAW,GAAG,MAAM,GAAG,QAC1B;AAAA,EAAC;AAAA;AAAA,IACC;AAAA,IACA,WAAW;AAAA,MACT;AAAA,MACA;AAAA,IACF;AAAA,IACC,GAAG;AAAA;AACN,CACD;AACD,UAAU,cAAc;AAExB,IAAM,kBAAwB,kBAG5B,CAAC,EAAE,WAAW,GAAG,MAAM,GAAG,QAC1B;AAAA,EAAC;AAAA;AAAA,IACC;AAAA,IACA,WAAW,GAAG,iCAAiC,SAAS;AAAA,IACvD,GAAG;AAAA;AACN,CACD;AACD,gBAAgB,cAAc;AAE9B,IAAM,cAAoB,kBAGxB,CAAC,EAAE,WAAW,GAAG,MAAM,GAAG,QAC1B,6CAAC,SAAI,KAAU,WAAW,GAAG,YAAY,SAAS,GAAI,GAAG,OAAO,CACjE;AACD,YAAY,cAAc;AAE1B,IAAM,aAAmB,kBAGvB,CAAC,EAAE,WAAW,GAAG,MAAM,GAAG,QAC1B;AAAA,EAAC;AAAA;AAAA,IACC;AAAA,IACA,WAAW,GAAG,8BAA8B,SAAS;AAAA,IACpD,GAAG;AAAA;AACN,CACD;AACD,WAAW,cAAc;","names":["React","import_jsx_runtime"]}
|
package/dist/index.mjs
ADDED
|
@@ -0,0 +1,124 @@
|
|
|
1
|
+
"use client"
|
|
2
|
+
|
|
3
|
+
// src/components/button.tsx
|
|
4
|
+
import * as React from "react";
|
|
5
|
+
import { Slot } from "@radix-ui/react-slot";
|
|
6
|
+
import { cva } from "class-variance-authority";
|
|
7
|
+
|
|
8
|
+
// src/lib/utils.ts
|
|
9
|
+
import { clsx } from "clsx";
|
|
10
|
+
import { twMerge } from "tailwind-merge";
|
|
11
|
+
function cn(...inputs) {
|
|
12
|
+
return twMerge(clsx(inputs));
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
// src/components/button.tsx
|
|
16
|
+
import { jsx } from "react/jsx-runtime";
|
|
17
|
+
var buttonVariants = cva(
|
|
18
|
+
"inline-flex items-center justify-center whitespace-nowrap rounded-md text-sm font-medium ring-offset-background transition-colors focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:pointer-events-none disabled:opacity-50",
|
|
19
|
+
{
|
|
20
|
+
variants: {
|
|
21
|
+
variant: {
|
|
22
|
+
default: "bg-primary text-primary-foreground hover:bg-primary/90",
|
|
23
|
+
destructive: "bg-destructive text-destructive-foreground hover:bg-destructive/90",
|
|
24
|
+
outline: "border border-input bg-background hover:bg-accent hover:text-accent-foreground",
|
|
25
|
+
secondary: "bg-secondary text-secondary-foreground hover:bg-secondary/80",
|
|
26
|
+
ghost: "hover:bg-accent hover:text-accent-foreground",
|
|
27
|
+
link: "text-primary underline-offset-4 hover:underline"
|
|
28
|
+
},
|
|
29
|
+
size: {
|
|
30
|
+
default: "h-10 px-4 py-2",
|
|
31
|
+
sm: "h-9 rounded-md px-3",
|
|
32
|
+
lg: "h-11 rounded-md px-8",
|
|
33
|
+
icon: "h-10 w-10"
|
|
34
|
+
}
|
|
35
|
+
},
|
|
36
|
+
defaultVariants: {
|
|
37
|
+
variant: "default",
|
|
38
|
+
size: "default"
|
|
39
|
+
}
|
|
40
|
+
}
|
|
41
|
+
);
|
|
42
|
+
var Button = React.forwardRef(
|
|
43
|
+
({ className, variant, size, asChild = false, ...props }, ref) => {
|
|
44
|
+
const Comp = asChild ? Slot : "button";
|
|
45
|
+
return /* @__PURE__ */ jsx(
|
|
46
|
+
Comp,
|
|
47
|
+
{
|
|
48
|
+
className: cn(buttonVariants({ variant, size, className })),
|
|
49
|
+
ref,
|
|
50
|
+
...props
|
|
51
|
+
}
|
|
52
|
+
);
|
|
53
|
+
}
|
|
54
|
+
);
|
|
55
|
+
Button.displayName = "Button";
|
|
56
|
+
|
|
57
|
+
// src/components/card.tsx
|
|
58
|
+
import * as React2 from "react";
|
|
59
|
+
import { jsx as jsx2 } from "react/jsx-runtime";
|
|
60
|
+
var Card = React2.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx2(
|
|
61
|
+
"div",
|
|
62
|
+
{
|
|
63
|
+
ref,
|
|
64
|
+
className: cn(
|
|
65
|
+
"rounded-lg border bg-card text-card-foreground shadow-sm",
|
|
66
|
+
className
|
|
67
|
+
),
|
|
68
|
+
...props
|
|
69
|
+
}
|
|
70
|
+
));
|
|
71
|
+
Card.displayName = "Card";
|
|
72
|
+
var CardHeader = React2.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx2(
|
|
73
|
+
"div",
|
|
74
|
+
{
|
|
75
|
+
ref,
|
|
76
|
+
className: cn("flex flex-col space-y-1.5 p-6", className),
|
|
77
|
+
...props
|
|
78
|
+
}
|
|
79
|
+
));
|
|
80
|
+
CardHeader.displayName = "CardHeader";
|
|
81
|
+
var CardTitle = React2.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx2(
|
|
82
|
+
"h3",
|
|
83
|
+
{
|
|
84
|
+
ref,
|
|
85
|
+
className: cn(
|
|
86
|
+
"text-2xl font-semibold leading-none tracking-tight",
|
|
87
|
+
className
|
|
88
|
+
),
|
|
89
|
+
...props
|
|
90
|
+
}
|
|
91
|
+
));
|
|
92
|
+
CardTitle.displayName = "CardTitle";
|
|
93
|
+
var CardDescription = React2.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx2(
|
|
94
|
+
"p",
|
|
95
|
+
{
|
|
96
|
+
ref,
|
|
97
|
+
className: cn("text-sm text-muted-foreground", className),
|
|
98
|
+
...props
|
|
99
|
+
}
|
|
100
|
+
));
|
|
101
|
+
CardDescription.displayName = "CardDescription";
|
|
102
|
+
var CardContent = React2.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx2("div", { ref, className: cn("p-6 pt-0", className), ...props }));
|
|
103
|
+
CardContent.displayName = "CardContent";
|
|
104
|
+
var CardFooter = React2.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx2(
|
|
105
|
+
"div",
|
|
106
|
+
{
|
|
107
|
+
ref,
|
|
108
|
+
className: cn("flex items-center p-6 pt-0", className),
|
|
109
|
+
...props
|
|
110
|
+
}
|
|
111
|
+
));
|
|
112
|
+
CardFooter.displayName = "CardFooter";
|
|
113
|
+
export {
|
|
114
|
+
Button,
|
|
115
|
+
Card,
|
|
116
|
+
CardContent,
|
|
117
|
+
CardDescription,
|
|
118
|
+
CardFooter,
|
|
119
|
+
CardHeader,
|
|
120
|
+
CardTitle,
|
|
121
|
+
buttonVariants,
|
|
122
|
+
cn
|
|
123
|
+
};
|
|
124
|
+
//# sourceMappingURL=index.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../src/components/button.tsx","../src/lib/utils.ts","../src/components/card.tsx"],"sourcesContent":["import * as React from \"react\";\nimport { Slot } from \"@radix-ui/react-slot\";\nimport { cva, type VariantProps } from \"class-variance-authority\";\n\nimport { cn } from \"@/lib/utils\";\n\nconst buttonVariants = cva(\n \"inline-flex items-center justify-center whitespace-nowrap rounded-md text-sm font-medium ring-offset-background transition-colors focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:pointer-events-none disabled:opacity-50\",\n {\n variants: {\n variant: {\n default: \"bg-primary text-primary-foreground hover:bg-primary/90\",\n destructive:\n \"bg-destructive text-destructive-foreground hover:bg-destructive/90\",\n outline:\n \"border border-input bg-background hover:bg-accent hover:text-accent-foreground\",\n secondary:\n \"bg-secondary text-secondary-foreground hover:bg-secondary/80\",\n ghost: \"hover:bg-accent hover:text-accent-foreground\",\n link: \"text-primary underline-offset-4 hover:underline\",\n },\n size: {\n default: \"h-10 px-4 py-2\",\n sm: \"h-9 rounded-md px-3\",\n lg: \"h-11 rounded-md px-8\",\n icon: \"h-10 w-10\",\n },\n },\n defaultVariants: {\n variant: \"default\",\n size: \"default\",\n },\n }\n);\n\nexport interface ButtonProps\n extends React.ButtonHTMLAttributes<HTMLButtonElement>,\n VariantProps<typeof buttonVariants> {\n asChild?: boolean;\n}\n\nconst Button = React.forwardRef<HTMLButtonElement, ButtonProps>(\n ({ className, variant, size, asChild = false, ...props }, ref) => {\n const Comp = asChild ? Slot : \"button\";\n return (\n <Comp\n className={cn(buttonVariants({ variant, size, className }))}\n ref={ref}\n {...props}\n />\n );\n }\n);\nButton.displayName = \"Button\";\n\nexport { Button, buttonVariants };\n","import { type ClassValue, clsx } from \"clsx\";\nimport { twMerge } from \"tailwind-merge\";\n\nexport function cn(...inputs: ClassValue[]) {\n return twMerge(clsx(inputs));\n}\n","import * as React from \"react\";\n\nimport { cn } from \"@/lib/utils\";\n\nconst Card = React.forwardRef<\n HTMLDivElement,\n React.HTMLAttributes<HTMLDivElement>\n>(({ className, ...props }, ref) => (\n <div\n ref={ref}\n className={cn(\n \"rounded-lg border bg-card text-card-foreground shadow-sm\",\n className\n )}\n {...props}\n />\n));\nCard.displayName = \"Card\";\n\nconst CardHeader = React.forwardRef<\n HTMLDivElement,\n React.HTMLAttributes<HTMLDivElement>\n>(({ className, ...props }, ref) => (\n <div\n ref={ref}\n className={cn(\"flex flex-col space-y-1.5 p-6\", className)}\n {...props}\n />\n));\nCardHeader.displayName = \"CardHeader\";\n\nconst CardTitle = React.forwardRef<\n HTMLParagraphElement,\n React.HTMLAttributes<HTMLHeadingElement>\n>(({ className, ...props }, ref) => (\n <h3\n ref={ref}\n className={cn(\n \"text-2xl font-semibold leading-none tracking-tight\",\n className\n )}\n {...props}\n />\n));\nCardTitle.displayName = \"CardTitle\";\n\nconst CardDescription = React.forwardRef<\n HTMLParagraphElement,\n React.HTMLAttributes<HTMLParagraphElement>\n>(({ className, ...props }, ref) => (\n <p\n ref={ref}\n className={cn(\"text-sm text-muted-foreground\", className)}\n {...props}\n />\n));\nCardDescription.displayName = \"CardDescription\";\n\nconst CardContent = React.forwardRef<\n HTMLDivElement,\n React.HTMLAttributes<HTMLDivElement>\n>(({ className, ...props }, ref) => (\n <div ref={ref} className={cn(\"p-6 pt-0\", className)} {...props} />\n));\nCardContent.displayName = \"CardContent\";\n\nconst CardFooter = React.forwardRef<\n HTMLDivElement,\n React.HTMLAttributes<HTMLDivElement>\n>(({ className, ...props }, ref) => (\n <div\n ref={ref}\n className={cn(\"flex items-center p-6 pt-0\", className)}\n {...props}\n />\n));\nCardFooter.displayName = \"CardFooter\";\n\nexport { Card, CardHeader, CardFooter, CardTitle, CardDescription, CardContent };\n"],"mappings":";;;AAAA,YAAY,WAAW;AACvB,SAAS,YAAY;AACrB,SAAS,WAA8B;;;ACFvC,SAA0B,YAAY;AACtC,SAAS,eAAe;AAEjB,SAAS,MAAM,QAAsB;AAC1C,SAAO,QAAQ,KAAK,MAAM,CAAC;AAC7B;;;ADwCM;AAvCN,IAAM,iBAAiB;AAAA,EACrB;AAAA,EACA;AAAA,IACE,UAAU;AAAA,MACR,SAAS;AAAA,QACP,SAAS;AAAA,QACT,aACE;AAAA,QACF,SACE;AAAA,QACF,WACE;AAAA,QACF,OAAO;AAAA,QACP,MAAM;AAAA,MACR;AAAA,MACA,MAAM;AAAA,QACJ,SAAS;AAAA,QACT,IAAI;AAAA,QACJ,IAAI;AAAA,QACJ,MAAM;AAAA,MACR;AAAA,IACF;AAAA,IACA,iBAAiB;AAAA,MACf,SAAS;AAAA,MACT,MAAM;AAAA,IACR;AAAA,EACF;AACF;AAQA,IAAM,SAAe;AAAA,EACnB,CAAC,EAAE,WAAW,SAAS,MAAM,UAAU,OAAO,GAAG,MAAM,GAAG,QAAQ;AAChE,UAAM,OAAO,UAAU,OAAO;AAC9B,WACE;AAAA,MAAC;AAAA;AAAA,QACC,WAAW,GAAG,eAAe,EAAE,SAAS,MAAM,UAAU,CAAC,CAAC;AAAA,QAC1D;AAAA,QACC,GAAG;AAAA;AAAA,IACN;AAAA,EAEJ;AACF;AACA,OAAO,cAAc;;;AErDrB,YAAYA,YAAW;AAQrB,gBAAAC,YAAA;AAJF,IAAM,OAAa,kBAGjB,CAAC,EAAE,WAAW,GAAG,MAAM,GAAG,QAC1B,gBAAAA;AAAA,EAAC;AAAA;AAAA,IACC;AAAA,IACA,WAAW;AAAA,MACT;AAAA,MACA;AAAA,IACF;AAAA,IACC,GAAG;AAAA;AACN,CACD;AACD,KAAK,cAAc;AAEnB,IAAM,aAAmB,kBAGvB,CAAC,EAAE,WAAW,GAAG,MAAM,GAAG,QAC1B,gBAAAA;AAAA,EAAC;AAAA;AAAA,IACC;AAAA,IACA,WAAW,GAAG,iCAAiC,SAAS;AAAA,IACvD,GAAG;AAAA;AACN,CACD;AACD,WAAW,cAAc;AAEzB,IAAM,YAAkB,kBAGtB,CAAC,EAAE,WAAW,GAAG,MAAM,GAAG,QAC1B,gBAAAA;AAAA,EAAC;AAAA;AAAA,IACC;AAAA,IACA,WAAW;AAAA,MACT;AAAA,MACA;AAAA,IACF;AAAA,IACC,GAAG;AAAA;AACN,CACD;AACD,UAAU,cAAc;AAExB,IAAM,kBAAwB,kBAG5B,CAAC,EAAE,WAAW,GAAG,MAAM,GAAG,QAC1B,gBAAAA;AAAA,EAAC;AAAA;AAAA,IACC;AAAA,IACA,WAAW,GAAG,iCAAiC,SAAS;AAAA,IACvD,GAAG;AAAA;AACN,CACD;AACD,gBAAgB,cAAc;AAE9B,IAAM,cAAoB,kBAGxB,CAAC,EAAE,WAAW,GAAG,MAAM,GAAG,QAC1B,gBAAAA,KAAC,SAAI,KAAU,WAAW,GAAG,YAAY,SAAS,GAAI,GAAG,OAAO,CACjE;AACD,YAAY,cAAc;AAE1B,IAAM,aAAmB,kBAGvB,CAAC,EAAE,WAAW,GAAG,MAAM,GAAG,QAC1B,gBAAAA;AAAA,EAAC;AAAA;AAAA,IACC;AAAA,IACA,WAAW,GAAG,8BAA8B,SAAS;AAAA,IACpD,GAAG;AAAA;AACN,CACD;AACD,WAAW,cAAc;","names":["React","jsx"]}
|
package/package.json
ADDED
|
@@ -0,0 +1,65 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@alkimi.org/ui-kit",
|
|
3
|
+
"version": "0.1.0",
|
|
4
|
+
"description": "A React component library built with shadcn/ui and Tailwind CSS",
|
|
5
|
+
"main": "./dist/index.js",
|
|
6
|
+
"module": "./dist/index.mjs",
|
|
7
|
+
"types": "./dist/index.d.ts",
|
|
8
|
+
"exports": {
|
|
9
|
+
".": {
|
|
10
|
+
"import": "./dist/index.mjs",
|
|
11
|
+
"require": "./dist/index.js",
|
|
12
|
+
"types": "./dist/index.d.ts"
|
|
13
|
+
},
|
|
14
|
+
"./styles.css": "./dist/styles.css"
|
|
15
|
+
},
|
|
16
|
+
"files": [
|
|
17
|
+
"dist"
|
|
18
|
+
],
|
|
19
|
+
"scripts": {
|
|
20
|
+
"build": "tsup",
|
|
21
|
+
"dev": "tsup --watch",
|
|
22
|
+
"type-check": "tsc --noEmit",
|
|
23
|
+
"prepublishOnly": "npm run build"
|
|
24
|
+
},
|
|
25
|
+
"keywords": [
|
|
26
|
+
"react",
|
|
27
|
+
"components",
|
|
28
|
+
"ui",
|
|
29
|
+
"shadcn",
|
|
30
|
+
"tailwind",
|
|
31
|
+
"design-system"
|
|
32
|
+
],
|
|
33
|
+
"author": "",
|
|
34
|
+
"license": "MIT",
|
|
35
|
+
"publishConfig": {
|
|
36
|
+
"access": "public"
|
|
37
|
+
},
|
|
38
|
+
"repository": {
|
|
39
|
+
"type": "git",
|
|
40
|
+
"url": "git+https://github.com/alkimi/ui-kit.git"
|
|
41
|
+
},
|
|
42
|
+
"peerDependencies": {
|
|
43
|
+
"react": "^18.0.0",
|
|
44
|
+
"react-dom": "^18.0.0"
|
|
45
|
+
},
|
|
46
|
+
"devDependencies": {
|
|
47
|
+
"@types/node": "^20.10.0",
|
|
48
|
+
"@types/react": "^18.2.45",
|
|
49
|
+
"@types/react-dom": "^18.2.18",
|
|
50
|
+
"autoprefixer": "^10.4.16",
|
|
51
|
+
"postcss": "^8.4.32",
|
|
52
|
+
"react": "^18.2.0",
|
|
53
|
+
"react-dom": "^18.2.0",
|
|
54
|
+
"tailwindcss": "^3.4.0",
|
|
55
|
+
"tailwindcss-animate": "^1.0.7",
|
|
56
|
+
"tsup": "^8.0.1",
|
|
57
|
+
"typescript": "^5.3.3"
|
|
58
|
+
},
|
|
59
|
+
"dependencies": {
|
|
60
|
+
"@radix-ui/react-slot": "^1.0.2",
|
|
61
|
+
"class-variance-authority": "^0.7.0",
|
|
62
|
+
"clsx": "^2.1.0",
|
|
63
|
+
"tailwind-merge": "^2.2.0"
|
|
64
|
+
}
|
|
65
|
+
}
|