@magicpatterns/shadcn-demo-template 0.0.2 → 0.0.3
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 +64 -23
- package/lib/cjs/components/Alert/Alert.d.ts +9 -0
- package/lib/cjs/components/Alert/Alert.d.ts.map +1 -0
- package/lib/cjs/components/Alert/Alert.js +61 -0
- package/lib/cjs/components/Alert/Alert.js.map +1 -0
- package/lib/cjs/components/Alert/index.d.ts +2 -0
- package/lib/cjs/components/Alert/index.d.ts.map +1 -0
- package/lib/cjs/components/Alert/index.js +8 -0
- package/lib/cjs/components/Alert/index.js.map +1 -0
- package/lib/cjs/components/Avatar/Avatar.d.ts +7 -0
- package/lib/cjs/components/Avatar/Avatar.d.ts.map +1 -0
- package/lib/cjs/components/Avatar/Avatar.js +50 -0
- package/lib/cjs/components/Avatar/Avatar.js.map +1 -0
- package/lib/cjs/components/Avatar/index.d.ts +2 -0
- package/lib/cjs/components/Avatar/index.d.ts.map +1 -0
- package/lib/cjs/components/Avatar/index.js +8 -0
- package/lib/cjs/components/Avatar/index.js.map +1 -0
- package/lib/cjs/components/Checkbox/Checkbox.d.ts +5 -0
- package/lib/cjs/components/Checkbox/Checkbox.d.ts.map +1 -0
- package/lib/cjs/components/Checkbox/Checkbox.js +45 -0
- package/lib/cjs/components/Checkbox/Checkbox.js.map +1 -0
- package/lib/cjs/components/Checkbox/index.d.ts +2 -0
- package/lib/cjs/components/Checkbox/index.d.ts.map +1 -0
- package/lib/cjs/components/Checkbox/index.js +6 -0
- package/lib/cjs/components/Checkbox/index.js.map +1 -0
- package/lib/cjs/components/DropdownMenu/DropdownMenu.d.ts +28 -0
- package/lib/cjs/components/DropdownMenu/DropdownMenu.d.ts.map +1 -0
- package/lib/cjs/components/DropdownMenu/DropdownMenu.js +86 -0
- package/lib/cjs/components/DropdownMenu/DropdownMenu.js.map +1 -0
- package/lib/cjs/components/DropdownMenu/index.d.ts +2 -0
- package/lib/cjs/components/DropdownMenu/index.d.ts.map +1 -0
- package/lib/cjs/components/DropdownMenu/index.js +20 -0
- package/lib/cjs/components/DropdownMenu/index.js.map +1 -0
- package/lib/cjs/components/Label/Label.d.ts +6 -0
- package/lib/cjs/components/Label/Label.d.ts.map +1 -0
- package/lib/cjs/components/Label/Label.js +46 -0
- package/lib/cjs/components/Label/Label.js.map +1 -0
- package/lib/cjs/components/Label/index.d.ts +2 -0
- package/lib/cjs/components/Label/index.d.ts.map +1 -0
- package/lib/cjs/components/Label/index.js +6 -0
- package/lib/cjs/components/Label/index.js.map +1 -0
- package/lib/cjs/components/Progress/Progress.d.ts +5 -0
- package/lib/cjs/components/Progress/Progress.d.ts.map +1 -0
- package/lib/cjs/components/Progress/Progress.js +44 -0
- package/lib/cjs/components/Progress/Progress.js.map +1 -0
- package/lib/cjs/components/Progress/index.d.ts +2 -0
- package/lib/cjs/components/Progress/index.d.ts.map +1 -0
- package/lib/cjs/components/Progress/index.js +6 -0
- package/lib/cjs/components/Progress/index.js.map +1 -0
- package/lib/cjs/components/Select/Select.d.ts +14 -0
- package/lib/cjs/components/Select/Select.d.ts.map +1 -0
- package/lib/cjs/components/Select/Select.js +72 -0
- package/lib/cjs/components/Select/Select.js.map +1 -0
- package/lib/cjs/components/Select/index.d.ts +2 -0
- package/lib/cjs/components/Select/index.d.ts.map +1 -0
- package/lib/cjs/components/Select/index.js +15 -0
- package/lib/cjs/components/Select/index.js.map +1 -0
- package/lib/cjs/components/Separator/Separator.d.ts +5 -0
- package/lib/cjs/components/Separator/Separator.d.ts.map +1 -0
- package/lib/cjs/components/Separator/Separator.js +44 -0
- package/lib/cjs/components/Separator/Separator.js.map +1 -0
- package/lib/cjs/components/Separator/index.d.ts +2 -0
- package/lib/cjs/components/Separator/index.d.ts.map +1 -0
- package/lib/cjs/components/Separator/index.js +6 -0
- package/lib/cjs/components/Separator/index.js.map +1 -0
- package/lib/cjs/components/Sheet/Sheet.d.ts +26 -0
- package/lib/cjs/components/Sheet/Sheet.d.ts.map +1 -0
- package/lib/cjs/components/Sheet/Sheet.js +82 -0
- package/lib/cjs/components/Sheet/Sheet.js.map +1 -0
- package/lib/cjs/components/Sheet/index.d.ts +2 -0
- package/lib/cjs/components/Sheet/index.d.ts.map +1 -0
- package/lib/cjs/components/Sheet/index.js +15 -0
- package/lib/cjs/components/Sheet/index.js.map +1 -0
- package/lib/cjs/components/Skeleton/Skeleton.d.ts +3 -0
- package/lib/cjs/components/Skeleton/Skeleton.d.ts.map +1 -0
- package/lib/cjs/components/Skeleton/Skeleton.js +9 -0
- package/lib/cjs/components/Skeleton/Skeleton.js.map +1 -0
- package/lib/cjs/components/Skeleton/index.d.ts +2 -0
- package/lib/cjs/components/Skeleton/index.d.ts.map +1 -0
- package/lib/cjs/components/Skeleton/index.js +6 -0
- package/lib/cjs/components/Skeleton/index.js.map +1 -0
- package/lib/cjs/components/Switch/Switch.d.ts +5 -0
- package/lib/cjs/components/Switch/Switch.d.ts.map +1 -0
- package/lib/cjs/components/Switch/Switch.js +44 -0
- package/lib/cjs/components/Switch/Switch.js.map +1 -0
- package/lib/cjs/components/Switch/index.d.ts +2 -0
- package/lib/cjs/components/Switch/index.d.ts.map +1 -0
- package/lib/cjs/components/Switch/index.js +6 -0
- package/lib/cjs/components/Switch/index.js.map +1 -0
- package/lib/cjs/components/Table/Table.d.ts +11 -0
- package/lib/cjs/components/Table/Table.d.ts.map +1 -0
- package/lib/cjs/components/Table/Table.js +64 -0
- package/lib/cjs/components/Table/Table.js.map +1 -0
- package/lib/cjs/components/Table/index.d.ts +2 -0
- package/lib/cjs/components/Table/index.d.ts.map +1 -0
- package/lib/cjs/components/Table/index.js +13 -0
- package/lib/cjs/components/Table/index.js.map +1 -0
- package/lib/cjs/components/Tabs/Tabs.d.ts +8 -0
- package/lib/cjs/components/Tabs/Tabs.d.ts.map +1 -0
- package/lib/cjs/components/Tabs/Tabs.js +52 -0
- package/lib/cjs/components/Tabs/Tabs.js.map +1 -0
- package/lib/cjs/components/Tabs/index.d.ts +2 -0
- package/lib/cjs/components/Tabs/index.d.ts.map +1 -0
- package/lib/cjs/components/Tabs/index.js +9 -0
- package/lib/cjs/components/Tabs/index.js.map +1 -0
- package/lib/cjs/components/Textarea/Textarea.d.ts +6 -0
- package/lib/cjs/components/Textarea/Textarea.d.ts.map +1 -0
- package/lib/cjs/components/Textarea/Textarea.js +45 -0
- package/lib/cjs/components/Textarea/Textarea.js.map +1 -0
- package/lib/cjs/components/Textarea/index.d.ts +2 -0
- package/lib/cjs/components/Textarea/index.d.ts.map +1 -0
- package/lib/cjs/components/Textarea/index.js +6 -0
- package/lib/cjs/components/Textarea/index.js.map +1 -0
- package/lib/cjs/components/Tooltip/Tooltip.d.ts +8 -0
- package/lib/cjs/components/Tooltip/Tooltip.d.ts.map +1 -0
- package/lib/cjs/components/Tooltip/Tooltip.js +50 -0
- package/lib/cjs/components/Tooltip/Tooltip.js.map +1 -0
- package/lib/cjs/components/Tooltip/index.d.ts +2 -0
- package/lib/cjs/components/Tooltip/index.d.ts.map +1 -0
- package/lib/cjs/components/Tooltip/index.js +9 -0
- package/lib/cjs/components/Tooltip/index.js.map +1 -0
- package/lib/cjs/index.d.ts +15 -0
- package/lib/cjs/index.d.ts.map +1 -1
- package/lib/cjs/index.js +81 -1
- package/lib/cjs/index.js.map +1 -1
- package/lib/esm/components/Alert/Alert.d.ts +9 -0
- package/lib/esm/components/Alert/Alert.d.ts.map +1 -0
- package/lib/esm/components/Alert/Alert.js +23 -0
- package/lib/esm/components/Alert/Alert.js.map +1 -0
- package/lib/esm/components/Alert/index.d.ts +2 -0
- package/lib/esm/components/Alert/index.d.ts.map +1 -0
- package/lib/esm/components/Alert/index.js +2 -0
- package/lib/esm/components/Alert/index.js.map +1 -0
- package/lib/esm/components/Avatar/Avatar.d.ts +7 -0
- package/lib/esm/components/Avatar/Avatar.d.ts.map +1 -0
- package/lib/esm/components/Avatar/Avatar.js +12 -0
- package/lib/esm/components/Avatar/Avatar.js.map +1 -0
- package/lib/esm/components/Avatar/index.d.ts +2 -0
- package/lib/esm/components/Avatar/index.d.ts.map +1 -0
- package/lib/esm/components/Avatar/index.js +2 -0
- package/lib/esm/components/Avatar/index.js.map +1 -0
- package/lib/esm/components/Checkbox/Checkbox.d.ts +5 -0
- package/lib/esm/components/Checkbox/Checkbox.d.ts.map +1 -0
- package/lib/esm/components/Checkbox/Checkbox.js +9 -0
- package/lib/esm/components/Checkbox/Checkbox.js.map +1 -0
- package/lib/esm/components/Checkbox/index.d.ts +2 -0
- package/lib/esm/components/Checkbox/index.d.ts.map +1 -0
- package/lib/esm/components/Checkbox/index.js +2 -0
- package/lib/esm/components/Checkbox/index.js.map +1 -0
- package/lib/esm/components/DropdownMenu/DropdownMenu.d.ts +28 -0
- package/lib/esm/components/DropdownMenu/DropdownMenu.d.ts.map +1 -0
- package/lib/esm/components/DropdownMenu/DropdownMenu.js +36 -0
- package/lib/esm/components/DropdownMenu/DropdownMenu.js.map +1 -0
- package/lib/esm/components/DropdownMenu/index.d.ts +2 -0
- package/lib/esm/components/DropdownMenu/index.d.ts.map +1 -0
- package/lib/esm/components/DropdownMenu/index.js +2 -0
- package/lib/esm/components/DropdownMenu/index.js.map +1 -0
- package/lib/esm/components/Label/Label.d.ts +6 -0
- package/lib/esm/components/Label/Label.d.ts.map +1 -0
- package/lib/esm/components/Label/Label.js +10 -0
- package/lib/esm/components/Label/Label.js.map +1 -0
- package/lib/esm/components/Label/index.d.ts +2 -0
- package/lib/esm/components/Label/index.d.ts.map +1 -0
- package/lib/esm/components/Label/index.js +2 -0
- package/lib/esm/components/Label/index.js.map +1 -0
- package/lib/esm/components/Progress/Progress.d.ts +5 -0
- package/lib/esm/components/Progress/Progress.d.ts.map +1 -0
- package/lib/esm/components/Progress/Progress.js +8 -0
- package/lib/esm/components/Progress/Progress.js.map +1 -0
- package/lib/esm/components/Progress/index.d.ts +2 -0
- package/lib/esm/components/Progress/index.d.ts.map +1 -0
- package/lib/esm/components/Progress/index.js +2 -0
- package/lib/esm/components/Progress/index.js.map +1 -0
- package/lib/esm/components/Select/Select.d.ts +14 -0
- package/lib/esm/components/Select/Select.d.ts.map +1 -0
- package/lib/esm/components/Select/Select.js +27 -0
- package/lib/esm/components/Select/Select.js.map +1 -0
- package/lib/esm/components/Select/index.d.ts +2 -0
- package/lib/esm/components/Select/index.d.ts.map +1 -0
- package/lib/esm/components/Select/index.js +2 -0
- package/lib/esm/components/Select/index.js.map +1 -0
- package/lib/esm/components/Separator/Separator.d.ts +5 -0
- package/lib/esm/components/Separator/Separator.d.ts.map +1 -0
- package/lib/esm/components/Separator/Separator.js +8 -0
- package/lib/esm/components/Separator/Separator.js.map +1 -0
- package/lib/esm/components/Separator/index.d.ts +2 -0
- package/lib/esm/components/Separator/index.d.ts.map +1 -0
- package/lib/esm/components/Separator/index.js +2 -0
- package/lib/esm/components/Separator/index.js.map +1 -0
- package/lib/esm/components/Sheet/Sheet.d.ts +26 -0
- package/lib/esm/components/Sheet/Sheet.d.ts.map +1 -0
- package/lib/esm/components/Sheet/Sheet.js +37 -0
- package/lib/esm/components/Sheet/Sheet.js.map +1 -0
- package/lib/esm/components/Sheet/index.d.ts +2 -0
- package/lib/esm/components/Sheet/index.d.ts.map +1 -0
- package/lib/esm/components/Sheet/index.js +2 -0
- package/lib/esm/components/Sheet/index.js.map +1 -0
- package/lib/esm/components/Skeleton/Skeleton.d.ts +3 -0
- package/lib/esm/components/Skeleton/Skeleton.d.ts.map +1 -0
- package/lib/esm/components/Skeleton/Skeleton.js +7 -0
- package/lib/esm/components/Skeleton/Skeleton.js.map +1 -0
- package/lib/esm/components/Skeleton/index.d.ts +2 -0
- package/lib/esm/components/Skeleton/index.d.ts.map +1 -0
- package/lib/esm/components/Skeleton/index.js +2 -0
- package/lib/esm/components/Skeleton/index.js.map +1 -0
- package/lib/esm/components/Switch/Switch.d.ts +5 -0
- package/lib/esm/components/Switch/Switch.d.ts.map +1 -0
- package/lib/esm/components/Switch/Switch.js +8 -0
- package/lib/esm/components/Switch/Switch.js.map +1 -0
- package/lib/esm/components/Switch/index.d.ts +2 -0
- package/lib/esm/components/Switch/index.d.ts.map +1 -0
- package/lib/esm/components/Switch/index.js +2 -0
- package/lib/esm/components/Switch/index.js.map +1 -0
- package/lib/esm/components/Table/Table.d.ts +11 -0
- package/lib/esm/components/Table/Table.d.ts.map +1 -0
- package/lib/esm/components/Table/Table.js +21 -0
- package/lib/esm/components/Table/Table.js.map +1 -0
- package/lib/esm/components/Table/index.d.ts +2 -0
- package/lib/esm/components/Table/index.d.ts.map +1 -0
- package/lib/esm/components/Table/index.js +2 -0
- package/lib/esm/components/Table/index.js.map +1 -0
- package/lib/esm/components/Tabs/Tabs.d.ts +8 -0
- package/lib/esm/components/Tabs/Tabs.d.ts.map +1 -0
- package/lib/esm/components/Tabs/Tabs.js +13 -0
- package/lib/esm/components/Tabs/Tabs.js.map +1 -0
- package/lib/esm/components/Tabs/index.d.ts +2 -0
- package/lib/esm/components/Tabs/index.d.ts.map +1 -0
- package/lib/esm/components/Tabs/index.js +2 -0
- package/lib/esm/components/Tabs/index.js.map +1 -0
- package/lib/esm/components/Textarea/Textarea.d.ts +6 -0
- package/lib/esm/components/Textarea/Textarea.d.ts.map +1 -0
- package/lib/esm/components/Textarea/Textarea.js +9 -0
- package/lib/esm/components/Textarea/Textarea.js.map +1 -0
- package/lib/esm/components/Textarea/index.d.ts +2 -0
- package/lib/esm/components/Textarea/index.d.ts.map +1 -0
- package/lib/esm/components/Textarea/index.js +2 -0
- package/lib/esm/components/Textarea/index.js.map +1 -0
- package/lib/esm/components/Tooltip/Tooltip.d.ts +8 -0
- package/lib/esm/components/Tooltip/Tooltip.d.ts.map +1 -0
- package/lib/esm/components/Tooltip/Tooltip.js +11 -0
- package/lib/esm/components/Tooltip/Tooltip.js.map +1 -0
- package/lib/esm/components/Tooltip/index.d.ts +2 -0
- package/lib/esm/components/Tooltip/index.d.ts.map +1 -0
- package/lib/esm/components/Tooltip/index.js +2 -0
- package/lib/esm/components/Tooltip/index.js.map +1 -0
- package/lib/esm/index.d.ts +15 -0
- package/lib/esm/index.d.ts.map +1 -1
- package/lib/esm/index.js +15 -0
- package/lib/esm/index.js.map +1 -1
- package/lib/styles.css +698 -0
- package/package.json +12 -1
package/README.md
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
#
|
|
1
|
+
# @magicpatterns/shadcn-demo-template
|
|
2
2
|
|
|
3
3
|
A reusable, shadcn-based design system built on Tailwind CSS v3. Ships as an npm package with components, design tokens, Storybook documentation, and an MCP server for AI agent integration.
|
|
4
4
|
|
|
@@ -39,7 +39,7 @@ yarn build
|
|
|
39
39
|
├── tsconfig.json # Base TypeScript config
|
|
40
40
|
├── tsconfig.esm.json # ESM build config → lib/esm/
|
|
41
41
|
├── tsconfig.cjs.json # CJS build config → lib/cjs/
|
|
42
|
-
└── mcp/ # MCP server (nested
|
|
42
|
+
└── mcp/ # MCP server (nested subfolder)
|
|
43
43
|
├── src/
|
|
44
44
|
│ ├── index.ts # Express + MCP endpoint
|
|
45
45
|
│ ├── catalog.ts # Filesystem-backed component catalog
|
|
@@ -50,15 +50,56 @@ yarn build
|
|
|
50
50
|
|
|
51
51
|
## Scripts
|
|
52
52
|
|
|
53
|
-
| Command
|
|
54
|
-
|
|
|
55
|
-
| `yarn build`
|
|
56
|
-
| `yarn build:css`
|
|
57
|
-
| `yarn dev`
|
|
58
|
-
| `yarn storybook`
|
|
59
|
-
| `yarn build-storybook` | Build static Storybook site
|
|
60
|
-
| `yarn dev:mcp`
|
|
61
|
-
| `yarn clean`
|
|
53
|
+
| Command | Description |
|
|
54
|
+
| ---------------------- | --------------------------------------- |
|
|
55
|
+
| `yarn build` | Build ESM + CJS + CSS artifacts |
|
|
56
|
+
| `yarn build:css` | Rebuild only the CSS stylesheet |
|
|
57
|
+
| `yarn dev` | Watch mode — rebuilds on source changes |
|
|
58
|
+
| `yarn storybook` | Start Storybook dev server on port 6009 |
|
|
59
|
+
| `yarn build-storybook` | Build static Storybook site |
|
|
60
|
+
| `yarn dev:mcp` | Start MCP server in watch mode |
|
|
61
|
+
| `yarn clean` | Remove build artifacts |
|
|
62
|
+
|
|
63
|
+
## Consuming in an App
|
|
64
|
+
|
|
65
|
+
### 1. Install
|
|
66
|
+
|
|
67
|
+
```bash
|
|
68
|
+
yarn add @magicpatterns/shadcn-demo-template
|
|
69
|
+
```
|
|
70
|
+
|
|
71
|
+
### 2. Add the Tailwind Preset
|
|
72
|
+
|
|
73
|
+
In your app's `tailwind.config.js`, add the preset so all design tokens are available as Tailwind utilities:
|
|
74
|
+
|
|
75
|
+
```js
|
|
76
|
+
module.exports = {
|
|
77
|
+
presets: [require("@magicpatterns/shadcn-demo-template/tailwind")],
|
|
78
|
+
content: [
|
|
79
|
+
"./src/**/*.{ts,tsx}",
|
|
80
|
+
"./node_modules/@magicpatterns/shadcn-demo-template/lib/**/*.{js,mjs}",
|
|
81
|
+
],
|
|
82
|
+
};
|
|
83
|
+
```
|
|
84
|
+
|
|
85
|
+
### 3. Import Styles
|
|
86
|
+
|
|
87
|
+
```tsx
|
|
88
|
+
import "@magicpatterns/shadcn-demo-template/styles.css";
|
|
89
|
+
```
|
|
90
|
+
|
|
91
|
+
### 4. Use Components
|
|
92
|
+
|
|
93
|
+
```tsx
|
|
94
|
+
import {
|
|
95
|
+
Button,
|
|
96
|
+
Card,
|
|
97
|
+
CardTitle,
|
|
98
|
+
Input,
|
|
99
|
+
} from "@magicpatterns/shadcn-demo-template";
|
|
100
|
+
```
|
|
101
|
+
|
|
102
|
+
See [`src/SETUP.md`](src/SETUP.md) for the full setup guide.
|
|
62
103
|
|
|
63
104
|
## Color Token System
|
|
64
105
|
|
|
@@ -71,24 +112,24 @@ bg-primary/50 → hsl(var(--primary) / 0.5)
|
|
|
71
112
|
|
|
72
113
|
### Token Groups
|
|
73
114
|
|
|
74
|
-
| Group
|
|
75
|
-
|
|
|
76
|
-
| **Global**
|
|
77
|
-
| **Card**
|
|
78
|
-
| **Popover**
|
|
79
|
-
| **Primary**
|
|
80
|
-
| **Secondary**
|
|
81
|
-
| **Muted**
|
|
82
|
-
| **Accent**
|
|
83
|
-
| **Destructive** | `destructive`, `destructive-foreground` | Danger actions, errors
|
|
84
|
-
| **Borders**
|
|
115
|
+
| Group | Tokens | Purpose |
|
|
116
|
+
| --------------- | --------------------------------------- | ------------------------------ |
|
|
117
|
+
| **Global** | `background`, `foreground` | Page background, body text |
|
|
118
|
+
| **Card** | `card`, `card-foreground` | Elevated surfaces |
|
|
119
|
+
| **Popover** | `popover`, `popover-foreground` | Floating surfaces |
|
|
120
|
+
| **Primary** | `primary`, `primary-foreground` | Main CTA, brand color |
|
|
121
|
+
| **Secondary** | `secondary`, `secondary-foreground` | Supporting actions |
|
|
122
|
+
| **Muted** | `muted`, `muted-foreground` | Subdued backgrounds, hint text |
|
|
123
|
+
| **Accent** | `accent`, `accent-foreground` | Hover highlights, selections |
|
|
124
|
+
| **Destructive** | `destructive`, `destructive-foreground` | Danger actions, errors |
|
|
125
|
+
| **Borders** | `border`, `input`, `ring` | Borders, inputs, focus rings |
|
|
85
126
|
|
|
86
127
|
### Dark Mode
|
|
87
128
|
|
|
88
129
|
Add the `dark` class to a parent element to activate dark tokens:
|
|
89
130
|
|
|
90
131
|
```html
|
|
91
|
-
<html class="dark">
|
|
132
|
+
<html class="dark"></html>
|
|
92
133
|
```
|
|
93
134
|
|
|
94
135
|
## Development
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
import { type VariantProps } from 'class-variance-authority';
|
|
3
|
+
declare const Alert: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLDivElement> & VariantProps<(props?: ({
|
|
4
|
+
variant?: "default" | "destructive" | null | undefined;
|
|
5
|
+
} & import("class-variance-authority/dist/types").ClassProp) | undefined) => string> & React.RefAttributes<HTMLDivElement>>;
|
|
6
|
+
declare const AlertTitle: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLHeadingElement> & React.RefAttributes<HTMLParagraphElement>>;
|
|
7
|
+
declare const AlertDescription: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLParagraphElement> & React.RefAttributes<HTMLParagraphElement>>;
|
|
8
|
+
export { Alert, AlertTitle, AlertDescription };
|
|
9
|
+
//# sourceMappingURL=Alert.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Alert.d.ts","sourceRoot":"","sources":["../../../../src/components/Alert/Alert.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAA;AAC9B,OAAO,EAAO,KAAK,YAAY,EAAE,MAAM,0BAA0B,CAAA;AAoBjE,QAAA,MAAM,KAAK;;2HAUT,CAAA;AAGF,QAAA,MAAM,UAAU,uHASd,CAAA;AAGF,QAAA,MAAM,gBAAgB,yHASpB,CAAA;AAGF,OAAO,EAAE,KAAK,EAAE,UAAU,EAAE,gBAAgB,EAAE,CAAA"}
|
|
@@ -0,0 +1,61 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
14
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
15
|
+
}) : function(o, v) {
|
|
16
|
+
o["default"] = v;
|
|
17
|
+
});
|
|
18
|
+
var __importStar = (this && this.__importStar) || (function () {
|
|
19
|
+
var ownKeys = function(o) {
|
|
20
|
+
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
21
|
+
var ar = [];
|
|
22
|
+
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
23
|
+
return ar;
|
|
24
|
+
};
|
|
25
|
+
return ownKeys(o);
|
|
26
|
+
};
|
|
27
|
+
return function (mod) {
|
|
28
|
+
if (mod && mod.__esModule) return mod;
|
|
29
|
+
var result = {};
|
|
30
|
+
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
31
|
+
__setModuleDefault(result, mod);
|
|
32
|
+
return result;
|
|
33
|
+
};
|
|
34
|
+
})();
|
|
35
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
36
|
+
exports.AlertDescription = exports.AlertTitle = exports.Alert = void 0;
|
|
37
|
+
const jsx_runtime_1 = require("react/jsx-runtime");
|
|
38
|
+
const React = __importStar(require("react"));
|
|
39
|
+
const class_variance_authority_1 = require("class-variance-authority");
|
|
40
|
+
const utils_1 = require("../../lib/utils");
|
|
41
|
+
const alertVariants = (0, class_variance_authority_1.cva)('relative w-full rounded-lg border p-4 [&>svg~*]:pl-7 [&>svg+div]:translate-y-[-3px] [&>svg]:absolute [&>svg]:left-4 [&>svg]:top-4 [&>svg]:text-foreground', {
|
|
42
|
+
variants: {
|
|
43
|
+
variant: {
|
|
44
|
+
default: 'bg-background text-foreground',
|
|
45
|
+
destructive: 'border-destructive/50 text-destructive dark:border-destructive [&>svg]:text-destructive',
|
|
46
|
+
},
|
|
47
|
+
},
|
|
48
|
+
defaultVariants: {
|
|
49
|
+
variant: 'default',
|
|
50
|
+
},
|
|
51
|
+
});
|
|
52
|
+
const Alert = React.forwardRef(({ className, variant, ...props }, ref) => ((0, jsx_runtime_1.jsx)("div", { ref: ref, role: "alert", className: (0, utils_1.cn)(alertVariants({ variant }), className), ...props })));
|
|
53
|
+
exports.Alert = Alert;
|
|
54
|
+
Alert.displayName = 'Alert';
|
|
55
|
+
const AlertTitle = React.forwardRef(({ className, ...props }, ref) => ((0, jsx_runtime_1.jsx)("h5", { ref: ref, className: (0, utils_1.cn)('mb-1 font-medium leading-none tracking-tight', className), ...props })));
|
|
56
|
+
exports.AlertTitle = AlertTitle;
|
|
57
|
+
AlertTitle.displayName = 'AlertTitle';
|
|
58
|
+
const AlertDescription = React.forwardRef(({ className, ...props }, ref) => ((0, jsx_runtime_1.jsx)("div", { ref: ref, className: (0, utils_1.cn)('text-sm [&_p]:leading-relaxed', className), ...props })));
|
|
59
|
+
exports.AlertDescription = AlertDescription;
|
|
60
|
+
AlertDescription.displayName = 'AlertDescription';
|
|
61
|
+
//# sourceMappingURL=Alert.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Alert.js","sourceRoot":"","sources":["../../../../src/components/Alert/Alert.tsx"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,6CAA8B;AAC9B,uEAAiE;AAEjE,2CAAoC;AAEpC,MAAM,aAAa,GAAG,IAAA,8BAAG,EACvB,2JAA2J,EAC3J;IACE,QAAQ,EAAE;QACR,OAAO,EAAE;YACP,OAAO,EAAE,+BAA+B;YACxC,WAAW,EACT,yFAAyF;SAC5F;KACF;IACD,eAAe,EAAE;QACf,OAAO,EAAE,SAAS;KACnB;CACF,CACF,CAAA;AAED,MAAM,KAAK,GAAG,KAAK,CAAC,UAAU,CAG5B,CAAC,EAAE,SAAS,EAAE,OAAO,EAAE,GAAG,KAAK,EAAE,EAAE,GAAG,EAAE,EAAE,CAAC,CAC3C,gCACE,GAAG,EAAE,GAAG,EACR,IAAI,EAAC,OAAO,EACZ,SAAS,EAAE,IAAA,UAAE,EAAC,aAAa,CAAC,EAAE,OAAO,EAAE,CAAC,EAAE,SAAS,CAAC,KAChD,KAAK,GACT,CACH,CAAC,CAAA;AA2BO,sBAAK;AA1Bd,KAAK,CAAC,WAAW,GAAG,OAAO,CAAA;AAE3B,MAAM,UAAU,GAAG,KAAK,CAAC,UAAU,CAGjC,CAAC,EAAE,SAAS,EAAE,GAAG,KAAK,EAAE,EAAE,GAAG,EAAE,EAAE,CAAC,CAClC,+BACE,GAAG,EAAE,GAAG,EACR,SAAS,EAAE,IAAA,UAAE,EAAC,8CAA8C,EAAE,SAAS,CAAC,KACpE,KAAK,GACT,CACH,CAAC,CAAA;AAec,gCAAU;AAd1B,UAAU,CAAC,WAAW,GAAG,YAAY,CAAA;AAErC,MAAM,gBAAgB,GAAG,KAAK,CAAC,UAAU,CAGvC,CAAC,EAAE,SAAS,EAAE,GAAG,KAAK,EAAE,EAAE,GAAG,EAAE,EAAE,CAAC,CAClC,gCACE,GAAG,EAAE,GAAG,EACR,SAAS,EAAE,IAAA,UAAE,EAAC,+BAA+B,EAAE,SAAS,CAAC,KACrD,KAAK,GACT,CACH,CAAC,CAAA;AAG0B,4CAAgB;AAF5C,gBAAgB,CAAC,WAAW,GAAG,kBAAkB,CAAA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/Alert/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,EAAE,UAAU,EAAE,gBAAgB,EAAE,MAAM,SAAS,CAAA"}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.AlertDescription = exports.AlertTitle = exports.Alert = void 0;
|
|
4
|
+
var Alert_1 = require("./Alert");
|
|
5
|
+
Object.defineProperty(exports, "Alert", { enumerable: true, get: function () { return Alert_1.Alert; } });
|
|
6
|
+
Object.defineProperty(exports, "AlertTitle", { enumerable: true, get: function () { return Alert_1.AlertTitle; } });
|
|
7
|
+
Object.defineProperty(exports, "AlertDescription", { enumerable: true, get: function () { return Alert_1.AlertDescription; } });
|
|
8
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/components/Alert/index.ts"],"names":[],"mappings":";;;AAAA,iCAA6D;AAApD,8FAAA,KAAK,OAAA;AAAE,mGAAA,UAAU,OAAA;AAAE,yGAAA,gBAAgB,OAAA"}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
import * as AvatarPrimitive from '@radix-ui/react-avatar';
|
|
3
|
+
declare const Avatar: React.ForwardRefExoticComponent<Omit<AvatarPrimitive.AvatarProps & React.RefAttributes<HTMLSpanElement>, "ref"> & React.RefAttributes<HTMLSpanElement>>;
|
|
4
|
+
declare const AvatarImage: React.ForwardRefExoticComponent<Omit<AvatarPrimitive.AvatarImageProps & React.RefAttributes<HTMLImageElement>, "ref"> & React.RefAttributes<HTMLImageElement>>;
|
|
5
|
+
declare const AvatarFallback: React.ForwardRefExoticComponent<Omit<AvatarPrimitive.AvatarFallbackProps & React.RefAttributes<HTMLSpanElement>, "ref"> & React.RefAttributes<HTMLSpanElement>>;
|
|
6
|
+
export { Avatar, AvatarImage, AvatarFallback };
|
|
7
|
+
//# sourceMappingURL=Avatar.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Avatar.d.ts","sourceRoot":"","sources":["../../../../src/components/Avatar/Avatar.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAA;AAC9B,OAAO,KAAK,eAAe,MAAM,wBAAwB,CAAA;AAIzD,QAAA,MAAM,MAAM,yJAYV,CAAA;AAGF,QAAA,MAAM,WAAW,gKASf,CAAA;AAGF,QAAA,MAAM,cAAc,iKAYlB,CAAA;AAGF,OAAO,EAAE,MAAM,EAAE,WAAW,EAAE,cAAc,EAAE,CAAA"}
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
14
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
15
|
+
}) : function(o, v) {
|
|
16
|
+
o["default"] = v;
|
|
17
|
+
});
|
|
18
|
+
var __importStar = (this && this.__importStar) || (function () {
|
|
19
|
+
var ownKeys = function(o) {
|
|
20
|
+
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
21
|
+
var ar = [];
|
|
22
|
+
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
23
|
+
return ar;
|
|
24
|
+
};
|
|
25
|
+
return ownKeys(o);
|
|
26
|
+
};
|
|
27
|
+
return function (mod) {
|
|
28
|
+
if (mod && mod.__esModule) return mod;
|
|
29
|
+
var result = {};
|
|
30
|
+
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
31
|
+
__setModuleDefault(result, mod);
|
|
32
|
+
return result;
|
|
33
|
+
};
|
|
34
|
+
})();
|
|
35
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
36
|
+
exports.AvatarFallback = exports.AvatarImage = exports.Avatar = void 0;
|
|
37
|
+
const jsx_runtime_1 = require("react/jsx-runtime");
|
|
38
|
+
const React = __importStar(require("react"));
|
|
39
|
+
const AvatarPrimitive = __importStar(require("@radix-ui/react-avatar"));
|
|
40
|
+
const utils_1 = require("../../lib/utils");
|
|
41
|
+
const Avatar = React.forwardRef(({ className, ...props }, ref) => ((0, jsx_runtime_1.jsx)(AvatarPrimitive.Root, { ref: ref, className: (0, utils_1.cn)('relative flex h-10 w-10 shrink-0 overflow-hidden rounded-full', className), ...props })));
|
|
42
|
+
exports.Avatar = Avatar;
|
|
43
|
+
Avatar.displayName = AvatarPrimitive.Root.displayName;
|
|
44
|
+
const AvatarImage = React.forwardRef(({ className, ...props }, ref) => ((0, jsx_runtime_1.jsx)(AvatarPrimitive.Image, { ref: ref, className: (0, utils_1.cn)('aspect-square h-full w-full', className), ...props })));
|
|
45
|
+
exports.AvatarImage = AvatarImage;
|
|
46
|
+
AvatarImage.displayName = AvatarPrimitive.Image.displayName;
|
|
47
|
+
const AvatarFallback = React.forwardRef(({ className, ...props }, ref) => ((0, jsx_runtime_1.jsx)(AvatarPrimitive.Fallback, { ref: ref, className: (0, utils_1.cn)('flex h-full w-full items-center justify-center rounded-full bg-muted', className), ...props })));
|
|
48
|
+
exports.AvatarFallback = AvatarFallback;
|
|
49
|
+
AvatarFallback.displayName = AvatarPrimitive.Fallback.displayName;
|
|
50
|
+
//# sourceMappingURL=Avatar.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Avatar.js","sourceRoot":"","sources":["../../../../src/components/Avatar/Avatar.tsx"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,6CAA8B;AAC9B,wEAAyD;AAEzD,2CAAoC;AAEpC,MAAM,MAAM,GAAG,KAAK,CAAC,UAAU,CAG7B,CAAC,EAAE,SAAS,EAAE,GAAG,KAAK,EAAE,EAAE,GAAG,EAAE,EAAE,CAAC,CAClC,uBAAC,eAAe,CAAC,IAAI,IACnB,GAAG,EAAE,GAAG,EACR,SAAS,EAAE,IAAA,UAAE,EACX,+DAA+D,EAC/D,SAAS,CACV,KACG,KAAK,GACT,CACH,CAAC,CAAA;AA8BO,wBAAM;AA7Bf,MAAM,CAAC,WAAW,GAAG,eAAe,CAAC,IAAI,CAAC,WAAW,CAAA;AAErD,MAAM,WAAW,GAAG,KAAK,CAAC,UAAU,CAGlC,CAAC,EAAE,SAAS,EAAE,GAAG,KAAK,EAAE,EAAE,GAAG,EAAE,EAAE,CAAC,CAClC,uBAAC,eAAe,CAAC,KAAK,IACpB,GAAG,EAAE,GAAG,EACR,SAAS,EAAE,IAAA,UAAE,EAAC,6BAA6B,EAAE,SAAS,CAAC,KACnD,KAAK,GACT,CACH,CAAC,CAAA;AAkBe,kCAAW;AAjB5B,WAAW,CAAC,WAAW,GAAG,eAAe,CAAC,KAAK,CAAC,WAAW,CAAA;AAE3D,MAAM,cAAc,GAAG,KAAK,CAAC,UAAU,CAGrC,CAAC,EAAE,SAAS,EAAE,GAAG,KAAK,EAAE,EAAE,GAAG,EAAE,EAAE,CAAC,CAClC,uBAAC,eAAe,CAAC,QAAQ,IACvB,GAAG,EAAE,GAAG,EACR,SAAS,EAAE,IAAA,UAAE,EACX,sEAAsE,EACtE,SAAS,CACV,KACG,KAAK,GACT,CACH,CAAC,CAAA;AAG4B,wCAAc;AAF5C,cAAc,CAAC,WAAW,GAAG,eAAe,CAAC,QAAQ,CAAC,WAAW,CAAA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/Avatar/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,WAAW,EAAE,cAAc,EAAE,MAAM,UAAU,CAAA"}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.AvatarFallback = exports.AvatarImage = exports.Avatar = void 0;
|
|
4
|
+
var Avatar_1 = require("./Avatar");
|
|
5
|
+
Object.defineProperty(exports, "Avatar", { enumerable: true, get: function () { return Avatar_1.Avatar; } });
|
|
6
|
+
Object.defineProperty(exports, "AvatarImage", { enumerable: true, get: function () { return Avatar_1.AvatarImage; } });
|
|
7
|
+
Object.defineProperty(exports, "AvatarFallback", { enumerable: true, get: function () { return Avatar_1.AvatarFallback; } });
|
|
8
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/components/Avatar/index.ts"],"names":[],"mappings":";;;AAAA,mCAA8D;AAArD,gGAAA,MAAM,OAAA;AAAE,qGAAA,WAAW,OAAA;AAAE,wGAAA,cAAc,OAAA"}
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
import * as CheckboxPrimitive from '@radix-ui/react-checkbox';
|
|
3
|
+
declare const Checkbox: React.ForwardRefExoticComponent<Omit<CheckboxPrimitive.CheckboxProps & React.RefAttributes<HTMLButtonElement>, "ref"> & React.RefAttributes<HTMLButtonElement>>;
|
|
4
|
+
export { Checkbox };
|
|
5
|
+
//# sourceMappingURL=Checkbox.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Checkbox.d.ts","sourceRoot":"","sources":["../../../../src/components/Checkbox/Checkbox.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAA;AAC9B,OAAO,KAAK,iBAAiB,MAAM,0BAA0B,CAAA;AAK7D,QAAA,MAAM,QAAQ,iKAkBZ,CAAA;AAGF,OAAO,EAAE,QAAQ,EAAE,CAAA"}
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
14
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
15
|
+
}) : function(o, v) {
|
|
16
|
+
o["default"] = v;
|
|
17
|
+
});
|
|
18
|
+
var __importStar = (this && this.__importStar) || (function () {
|
|
19
|
+
var ownKeys = function(o) {
|
|
20
|
+
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
21
|
+
var ar = [];
|
|
22
|
+
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
23
|
+
return ar;
|
|
24
|
+
};
|
|
25
|
+
return ownKeys(o);
|
|
26
|
+
};
|
|
27
|
+
return function (mod) {
|
|
28
|
+
if (mod && mod.__esModule) return mod;
|
|
29
|
+
var result = {};
|
|
30
|
+
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
31
|
+
__setModuleDefault(result, mod);
|
|
32
|
+
return result;
|
|
33
|
+
};
|
|
34
|
+
})();
|
|
35
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
36
|
+
exports.Checkbox = void 0;
|
|
37
|
+
const jsx_runtime_1 = require("react/jsx-runtime");
|
|
38
|
+
const React = __importStar(require("react"));
|
|
39
|
+
const CheckboxPrimitive = __importStar(require("@radix-ui/react-checkbox"));
|
|
40
|
+
const lucide_react_1 = require("lucide-react");
|
|
41
|
+
const utils_1 = require("../../lib/utils");
|
|
42
|
+
const Checkbox = React.forwardRef(({ className, ...props }, ref) => ((0, jsx_runtime_1.jsx)(CheckboxPrimitive.Root, { ref: ref, className: (0, utils_1.cn)('peer h-4 w-4 shrink-0 rounded-sm border border-primary ring-offset-background focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:cursor-not-allowed disabled:opacity-50 data-[state=checked]:bg-primary data-[state=checked]:text-primary-foreground', className), ...props, children: (0, jsx_runtime_1.jsx)(CheckboxPrimitive.Indicator, { className: (0, utils_1.cn)('flex items-center justify-center text-current'), children: (0, jsx_runtime_1.jsx)(lucide_react_1.Check, { className: "h-4 w-4" }) }) })));
|
|
43
|
+
exports.Checkbox = Checkbox;
|
|
44
|
+
Checkbox.displayName = CheckboxPrimitive.Root.displayName;
|
|
45
|
+
//# sourceMappingURL=Checkbox.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Checkbox.js","sourceRoot":"","sources":["../../../../src/components/Checkbox/Checkbox.tsx"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,6CAA8B;AAC9B,4EAA6D;AAC7D,+CAAoC;AAEpC,2CAAoC;AAEpC,MAAM,QAAQ,GAAG,KAAK,CAAC,UAAU,CAG/B,CAAC,EAAE,SAAS,EAAE,GAAG,KAAK,EAAE,EAAE,GAAG,EAAE,EAAE,CAAC,CAClC,uBAAC,iBAAiB,CAAC,IAAI,IACrB,GAAG,EAAE,GAAG,EACR,SAAS,EAAE,IAAA,UAAE,EACX,gTAAgT,EAChT,SAAS,CACV,KACG,KAAK,YAET,uBAAC,iBAAiB,CAAC,SAAS,IAC1B,SAAS,EAAE,IAAA,UAAE,EAAC,+CAA+C,CAAC,YAE9D,uBAAC,oBAAK,IAAC,SAAS,EAAC,SAAS,GAAG,GACD,GACP,CAC1B,CAAC,CAAA;AAGO,4BAAQ;AAFjB,QAAQ,CAAC,WAAW,GAAG,iBAAiB,CAAC,IAAI,CAAC,WAAW,CAAA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/Checkbox/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAA"}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.Checkbox = void 0;
|
|
4
|
+
var Checkbox_1 = require("./Checkbox");
|
|
5
|
+
Object.defineProperty(exports, "Checkbox", { enumerable: true, get: function () { return Checkbox_1.Checkbox; } });
|
|
6
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/components/Checkbox/index.ts"],"names":[],"mappings":";;;AAAA,uCAAqC;AAA5B,oGAAA,QAAQ,OAAA"}
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
import * as DropdownMenuPrimitive from '@radix-ui/react-dropdown-menu';
|
|
3
|
+
declare const DropdownMenu: React.FC<DropdownMenuPrimitive.DropdownMenuProps>;
|
|
4
|
+
declare const DropdownMenuTrigger: React.ForwardRefExoticComponent<DropdownMenuPrimitive.DropdownMenuTriggerProps & React.RefAttributes<HTMLButtonElement>>;
|
|
5
|
+
declare const DropdownMenuGroup: React.ForwardRefExoticComponent<DropdownMenuPrimitive.DropdownMenuGroupProps & React.RefAttributes<HTMLDivElement>>;
|
|
6
|
+
declare const DropdownMenuPortal: React.FC<DropdownMenuPrimitive.DropdownMenuPortalProps>;
|
|
7
|
+
declare const DropdownMenuSub: React.FC<DropdownMenuPrimitive.DropdownMenuSubProps>;
|
|
8
|
+
declare const DropdownMenuRadioGroup: React.ForwardRefExoticComponent<DropdownMenuPrimitive.DropdownMenuRadioGroupProps & React.RefAttributes<HTMLDivElement>>;
|
|
9
|
+
declare const DropdownMenuSubTrigger: React.ForwardRefExoticComponent<Omit<DropdownMenuPrimitive.DropdownMenuSubTriggerProps & React.RefAttributes<HTMLDivElement>, "ref"> & {
|
|
10
|
+
inset?: boolean;
|
|
11
|
+
} & React.RefAttributes<HTMLDivElement>>;
|
|
12
|
+
declare const DropdownMenuSubContent: React.ForwardRefExoticComponent<Omit<DropdownMenuPrimitive.DropdownMenuSubContentProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
13
|
+
declare const DropdownMenuContent: React.ForwardRefExoticComponent<Omit<DropdownMenuPrimitive.DropdownMenuContentProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
14
|
+
declare const DropdownMenuItem: React.ForwardRefExoticComponent<Omit<DropdownMenuPrimitive.DropdownMenuItemProps & React.RefAttributes<HTMLDivElement>, "ref"> & {
|
|
15
|
+
inset?: boolean;
|
|
16
|
+
} & React.RefAttributes<HTMLDivElement>>;
|
|
17
|
+
declare const DropdownMenuCheckboxItem: React.ForwardRefExoticComponent<Omit<DropdownMenuPrimitive.DropdownMenuCheckboxItemProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
18
|
+
declare const DropdownMenuRadioItem: React.ForwardRefExoticComponent<Omit<DropdownMenuPrimitive.DropdownMenuRadioItemProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
19
|
+
declare const DropdownMenuLabel: React.ForwardRefExoticComponent<Omit<DropdownMenuPrimitive.DropdownMenuLabelProps & React.RefAttributes<HTMLDivElement>, "ref"> & {
|
|
20
|
+
inset?: boolean;
|
|
21
|
+
} & React.RefAttributes<HTMLDivElement>>;
|
|
22
|
+
declare const DropdownMenuSeparator: React.ForwardRefExoticComponent<Omit<DropdownMenuPrimitive.DropdownMenuSeparatorProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
23
|
+
declare const DropdownMenuShortcut: {
|
|
24
|
+
({ className, ...props }: React.HTMLAttributes<HTMLSpanElement>): import("react/jsx-runtime").JSX.Element;
|
|
25
|
+
displayName: string;
|
|
26
|
+
};
|
|
27
|
+
export { DropdownMenu, DropdownMenuTrigger, DropdownMenuContent, DropdownMenuItem, DropdownMenuCheckboxItem, DropdownMenuRadioItem, DropdownMenuLabel, DropdownMenuSeparator, DropdownMenuShortcut, DropdownMenuGroup, DropdownMenuPortal, DropdownMenuSub, DropdownMenuSubContent, DropdownMenuSubTrigger, DropdownMenuRadioGroup, };
|
|
28
|
+
//# sourceMappingURL=DropdownMenu.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"DropdownMenu.d.ts","sourceRoot":"","sources":["../../../../src/components/DropdownMenu/DropdownMenu.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAA;AAC9B,OAAO,KAAK,qBAAqB,MAAM,+BAA+B,CAAA;AAKtE,QAAA,MAAM,YAAY,mDAA6B,CAAA;AAC/C,QAAA,MAAM,mBAAmB,0HAAgC,CAAA;AACzD,QAAA,MAAM,iBAAiB,qHAA8B,CAAA;AACrD,QAAA,MAAM,kBAAkB,yDAA+B,CAAA;AACvD,QAAA,MAAM,eAAe,sDAA4B,CAAA;AACjD,QAAA,MAAM,sBAAsB,0HAAmC,CAAA;AAE/D,QAAA,MAAM,sBAAsB;YAGhB,OAAO;wCAejB,CAAA;AAIF,QAAA,MAAM,sBAAsB,6KAY1B,CAAA;AAIF,QAAA,MAAM,mBAAmB,0KAevB,CAAA;AAGF,QAAA,MAAM,gBAAgB;YAGV,OAAO;wCAYjB,CAAA;AAGF,QAAA,MAAM,wBAAwB,+KAoB5B,CAAA;AAIF,QAAA,MAAM,qBAAqB,4KAmBzB,CAAA;AAGF,QAAA,MAAM,iBAAiB;YAGX,OAAO;wCAYjB,CAAA;AAGF,QAAA,MAAM,qBAAqB,4KASzB,CAAA;AAGF,QAAA,MAAM,oBAAoB;8BAGvB,KAAK,CAAC,cAAc,CAAC,eAAe,CAAC;;CAOvC,CAAA;AAGD,OAAO,EACL,YAAY,EACZ,mBAAmB,EACnB,mBAAmB,EACnB,gBAAgB,EAChB,wBAAwB,EACxB,qBAAqB,EACrB,iBAAiB,EACjB,qBAAqB,EACrB,oBAAoB,EACpB,iBAAiB,EACjB,kBAAkB,EAClB,eAAe,EACf,sBAAsB,EACtB,sBAAsB,EACtB,sBAAsB,GACvB,CAAA"}
|
|
@@ -0,0 +1,86 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
14
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
15
|
+
}) : function(o, v) {
|
|
16
|
+
o["default"] = v;
|
|
17
|
+
});
|
|
18
|
+
var __importStar = (this && this.__importStar) || (function () {
|
|
19
|
+
var ownKeys = function(o) {
|
|
20
|
+
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
21
|
+
var ar = [];
|
|
22
|
+
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
23
|
+
return ar;
|
|
24
|
+
};
|
|
25
|
+
return ownKeys(o);
|
|
26
|
+
};
|
|
27
|
+
return function (mod) {
|
|
28
|
+
if (mod && mod.__esModule) return mod;
|
|
29
|
+
var result = {};
|
|
30
|
+
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
31
|
+
__setModuleDefault(result, mod);
|
|
32
|
+
return result;
|
|
33
|
+
};
|
|
34
|
+
})();
|
|
35
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
36
|
+
exports.DropdownMenuRadioGroup = exports.DropdownMenuSubTrigger = exports.DropdownMenuSubContent = exports.DropdownMenuSub = exports.DropdownMenuPortal = exports.DropdownMenuGroup = exports.DropdownMenuShortcut = exports.DropdownMenuSeparator = exports.DropdownMenuLabel = exports.DropdownMenuRadioItem = exports.DropdownMenuCheckboxItem = exports.DropdownMenuItem = exports.DropdownMenuContent = exports.DropdownMenuTrigger = exports.DropdownMenu = void 0;
|
|
37
|
+
const jsx_runtime_1 = require("react/jsx-runtime");
|
|
38
|
+
const React = __importStar(require("react"));
|
|
39
|
+
const DropdownMenuPrimitive = __importStar(require("@radix-ui/react-dropdown-menu"));
|
|
40
|
+
const lucide_react_1 = require("lucide-react");
|
|
41
|
+
const utils_1 = require("../../lib/utils");
|
|
42
|
+
const DropdownMenu = DropdownMenuPrimitive.Root;
|
|
43
|
+
exports.DropdownMenu = DropdownMenu;
|
|
44
|
+
const DropdownMenuTrigger = DropdownMenuPrimitive.Trigger;
|
|
45
|
+
exports.DropdownMenuTrigger = DropdownMenuTrigger;
|
|
46
|
+
const DropdownMenuGroup = DropdownMenuPrimitive.Group;
|
|
47
|
+
exports.DropdownMenuGroup = DropdownMenuGroup;
|
|
48
|
+
const DropdownMenuPortal = DropdownMenuPrimitive.Portal;
|
|
49
|
+
exports.DropdownMenuPortal = DropdownMenuPortal;
|
|
50
|
+
const DropdownMenuSub = DropdownMenuPrimitive.Sub;
|
|
51
|
+
exports.DropdownMenuSub = DropdownMenuSub;
|
|
52
|
+
const DropdownMenuRadioGroup = DropdownMenuPrimitive.RadioGroup;
|
|
53
|
+
exports.DropdownMenuRadioGroup = DropdownMenuRadioGroup;
|
|
54
|
+
const DropdownMenuSubTrigger = React.forwardRef(({ className, inset, children, ...props }, ref) => ((0, jsx_runtime_1.jsxs)(DropdownMenuPrimitive.SubTrigger, { ref: ref, className: (0, utils_1.cn)('flex cursor-default select-none items-center rounded-sm px-2 py-1.5 text-sm outline-none focus:bg-accent data-[state=open]:bg-accent', inset && 'pl-8', className), ...props, children: [children, (0, jsx_runtime_1.jsx)(lucide_react_1.ChevronRight, { className: "ml-auto h-4 w-4" })] })));
|
|
55
|
+
exports.DropdownMenuSubTrigger = DropdownMenuSubTrigger;
|
|
56
|
+
DropdownMenuSubTrigger.displayName =
|
|
57
|
+
DropdownMenuPrimitive.SubTrigger.displayName;
|
|
58
|
+
const DropdownMenuSubContent = React.forwardRef(({ className, ...props }, ref) => ((0, jsx_runtime_1.jsx)(DropdownMenuPrimitive.SubContent, { ref: ref, className: (0, utils_1.cn)('z-50 min-w-[8rem] overflow-hidden rounded-md border bg-popover p-1 text-popover-foreground shadow-lg data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2', className), ...props })));
|
|
59
|
+
exports.DropdownMenuSubContent = DropdownMenuSubContent;
|
|
60
|
+
DropdownMenuSubContent.displayName =
|
|
61
|
+
DropdownMenuPrimitive.SubContent.displayName;
|
|
62
|
+
const DropdownMenuContent = React.forwardRef(({ className, sideOffset = 4, ...props }, ref) => ((0, jsx_runtime_1.jsx)(DropdownMenuPrimitive.Portal, { children: (0, jsx_runtime_1.jsx)(DropdownMenuPrimitive.Content, { ref: ref, sideOffset: sideOffset, className: (0, utils_1.cn)('z-50 min-w-[8rem] overflow-hidden rounded-md border bg-popover p-1 text-popover-foreground shadow-md data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2', className), ...props }) })));
|
|
63
|
+
exports.DropdownMenuContent = DropdownMenuContent;
|
|
64
|
+
DropdownMenuContent.displayName = DropdownMenuPrimitive.Content.displayName;
|
|
65
|
+
const DropdownMenuItem = React.forwardRef(({ className, inset, ...props }, ref) => ((0, jsx_runtime_1.jsx)(DropdownMenuPrimitive.Item, { ref: ref, className: (0, utils_1.cn)('relative flex cursor-default select-none items-center rounded-sm px-2 py-1.5 text-sm outline-none transition-colors focus:bg-accent focus:text-accent-foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50', inset && 'pl-8', className), ...props })));
|
|
66
|
+
exports.DropdownMenuItem = DropdownMenuItem;
|
|
67
|
+
DropdownMenuItem.displayName = DropdownMenuPrimitive.Item.displayName;
|
|
68
|
+
const DropdownMenuCheckboxItem = React.forwardRef(({ className, children, checked, ...props }, ref) => ((0, jsx_runtime_1.jsxs)(DropdownMenuPrimitive.CheckboxItem, { ref: ref, className: (0, utils_1.cn)('relative flex cursor-default select-none items-center rounded-sm py-1.5 pl-8 pr-2 text-sm outline-none transition-colors focus:bg-accent focus:text-accent-foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50', className), checked: checked, ...props, children: [(0, jsx_runtime_1.jsx)("span", { className: "absolute left-2 flex h-3.5 w-3.5 items-center justify-center", children: (0, jsx_runtime_1.jsx)(DropdownMenuPrimitive.ItemIndicator, { children: (0, jsx_runtime_1.jsx)(lucide_react_1.Check, { className: "h-4 w-4" }) }) }), children] })));
|
|
69
|
+
exports.DropdownMenuCheckboxItem = DropdownMenuCheckboxItem;
|
|
70
|
+
DropdownMenuCheckboxItem.displayName =
|
|
71
|
+
DropdownMenuPrimitive.CheckboxItem.displayName;
|
|
72
|
+
const DropdownMenuRadioItem = React.forwardRef(({ className, children, ...props }, ref) => ((0, jsx_runtime_1.jsxs)(DropdownMenuPrimitive.RadioItem, { ref: ref, className: (0, utils_1.cn)('relative flex cursor-default select-none items-center rounded-sm py-1.5 pl-8 pr-2 text-sm outline-none transition-colors focus:bg-accent focus:text-accent-foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50', className), ...props, children: [(0, jsx_runtime_1.jsx)("span", { className: "absolute left-2 flex h-3.5 w-3.5 items-center justify-center", children: (0, jsx_runtime_1.jsx)(DropdownMenuPrimitive.ItemIndicator, { children: (0, jsx_runtime_1.jsx)(lucide_react_1.Circle, { className: "h-2 w-2 fill-current" }) }) }), children] })));
|
|
73
|
+
exports.DropdownMenuRadioItem = DropdownMenuRadioItem;
|
|
74
|
+
DropdownMenuRadioItem.displayName = DropdownMenuPrimitive.RadioItem.displayName;
|
|
75
|
+
const DropdownMenuLabel = React.forwardRef(({ className, inset, ...props }, ref) => ((0, jsx_runtime_1.jsx)(DropdownMenuPrimitive.Label, { ref: ref, className: (0, utils_1.cn)('px-2 py-1.5 text-sm font-semibold', inset && 'pl-8', className), ...props })));
|
|
76
|
+
exports.DropdownMenuLabel = DropdownMenuLabel;
|
|
77
|
+
DropdownMenuLabel.displayName = DropdownMenuPrimitive.Label.displayName;
|
|
78
|
+
const DropdownMenuSeparator = React.forwardRef(({ className, ...props }, ref) => ((0, jsx_runtime_1.jsx)(DropdownMenuPrimitive.Separator, { ref: ref, className: (0, utils_1.cn)('-mx-1 my-1 h-px bg-muted', className), ...props })));
|
|
79
|
+
exports.DropdownMenuSeparator = DropdownMenuSeparator;
|
|
80
|
+
DropdownMenuSeparator.displayName = DropdownMenuPrimitive.Separator.displayName;
|
|
81
|
+
const DropdownMenuShortcut = ({ className, ...props }) => {
|
|
82
|
+
return ((0, jsx_runtime_1.jsx)("span", { className: (0, utils_1.cn)('ml-auto text-xs tracking-widest opacity-60', className), ...props }));
|
|
83
|
+
};
|
|
84
|
+
exports.DropdownMenuShortcut = DropdownMenuShortcut;
|
|
85
|
+
DropdownMenuShortcut.displayName = 'DropdownMenuShortcut';
|
|
86
|
+
//# sourceMappingURL=DropdownMenu.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"DropdownMenu.js","sourceRoot":"","sources":["../../../../src/components/DropdownMenu/DropdownMenu.tsx"],"names":[],"mappings":"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"}
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
export { DropdownMenu, DropdownMenuTrigger, DropdownMenuContent, DropdownMenuItem, DropdownMenuCheckboxItem, DropdownMenuRadioItem, DropdownMenuLabel, DropdownMenuSeparator, DropdownMenuShortcut, DropdownMenuGroup, DropdownMenuPortal, DropdownMenuSub, DropdownMenuSubContent, DropdownMenuSubTrigger, DropdownMenuRadioGroup, } from './DropdownMenu';
|
|
2
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/DropdownMenu/index.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,YAAY,EACZ,mBAAmB,EACnB,mBAAmB,EACnB,gBAAgB,EAChB,wBAAwB,EACxB,qBAAqB,EACrB,iBAAiB,EACjB,qBAAqB,EACrB,oBAAoB,EACpB,iBAAiB,EACjB,kBAAkB,EAClB,eAAe,EACf,sBAAsB,EACtB,sBAAsB,EACtB,sBAAsB,GACvB,MAAM,gBAAgB,CAAA"}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.DropdownMenuRadioGroup = exports.DropdownMenuSubTrigger = exports.DropdownMenuSubContent = exports.DropdownMenuSub = exports.DropdownMenuPortal = exports.DropdownMenuGroup = exports.DropdownMenuShortcut = exports.DropdownMenuSeparator = exports.DropdownMenuLabel = exports.DropdownMenuRadioItem = exports.DropdownMenuCheckboxItem = exports.DropdownMenuItem = exports.DropdownMenuContent = exports.DropdownMenuTrigger = exports.DropdownMenu = void 0;
|
|
4
|
+
var DropdownMenu_1 = require("./DropdownMenu");
|
|
5
|
+
Object.defineProperty(exports, "DropdownMenu", { enumerable: true, get: function () { return DropdownMenu_1.DropdownMenu; } });
|
|
6
|
+
Object.defineProperty(exports, "DropdownMenuTrigger", { enumerable: true, get: function () { return DropdownMenu_1.DropdownMenuTrigger; } });
|
|
7
|
+
Object.defineProperty(exports, "DropdownMenuContent", { enumerable: true, get: function () { return DropdownMenu_1.DropdownMenuContent; } });
|
|
8
|
+
Object.defineProperty(exports, "DropdownMenuItem", { enumerable: true, get: function () { return DropdownMenu_1.DropdownMenuItem; } });
|
|
9
|
+
Object.defineProperty(exports, "DropdownMenuCheckboxItem", { enumerable: true, get: function () { return DropdownMenu_1.DropdownMenuCheckboxItem; } });
|
|
10
|
+
Object.defineProperty(exports, "DropdownMenuRadioItem", { enumerable: true, get: function () { return DropdownMenu_1.DropdownMenuRadioItem; } });
|
|
11
|
+
Object.defineProperty(exports, "DropdownMenuLabel", { enumerable: true, get: function () { return DropdownMenu_1.DropdownMenuLabel; } });
|
|
12
|
+
Object.defineProperty(exports, "DropdownMenuSeparator", { enumerable: true, get: function () { return DropdownMenu_1.DropdownMenuSeparator; } });
|
|
13
|
+
Object.defineProperty(exports, "DropdownMenuShortcut", { enumerable: true, get: function () { return DropdownMenu_1.DropdownMenuShortcut; } });
|
|
14
|
+
Object.defineProperty(exports, "DropdownMenuGroup", { enumerable: true, get: function () { return DropdownMenu_1.DropdownMenuGroup; } });
|
|
15
|
+
Object.defineProperty(exports, "DropdownMenuPortal", { enumerable: true, get: function () { return DropdownMenu_1.DropdownMenuPortal; } });
|
|
16
|
+
Object.defineProperty(exports, "DropdownMenuSub", { enumerable: true, get: function () { return DropdownMenu_1.DropdownMenuSub; } });
|
|
17
|
+
Object.defineProperty(exports, "DropdownMenuSubContent", { enumerable: true, get: function () { return DropdownMenu_1.DropdownMenuSubContent; } });
|
|
18
|
+
Object.defineProperty(exports, "DropdownMenuSubTrigger", { enumerable: true, get: function () { return DropdownMenu_1.DropdownMenuSubTrigger; } });
|
|
19
|
+
Object.defineProperty(exports, "DropdownMenuRadioGroup", { enumerable: true, get: function () { return DropdownMenu_1.DropdownMenuRadioGroup; } });
|
|
20
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/components/DropdownMenu/index.ts"],"names":[],"mappings":";;;AAAA,+CAgBuB;AAfrB,4GAAA,YAAY,OAAA;AACZ,mHAAA,mBAAmB,OAAA;AACnB,mHAAA,mBAAmB,OAAA;AACnB,gHAAA,gBAAgB,OAAA;AAChB,wHAAA,wBAAwB,OAAA;AACxB,qHAAA,qBAAqB,OAAA;AACrB,iHAAA,iBAAiB,OAAA;AACjB,qHAAA,qBAAqB,OAAA;AACrB,oHAAA,oBAAoB,OAAA;AACpB,iHAAA,iBAAiB,OAAA;AACjB,kHAAA,kBAAkB,OAAA;AAClB,+GAAA,eAAe,OAAA;AACf,sHAAA,sBAAsB,OAAA;AACtB,sHAAA,sBAAsB,OAAA;AACtB,sHAAA,sBAAsB,OAAA"}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
import * as LabelPrimitive from '@radix-ui/react-label';
|
|
3
|
+
import { type VariantProps } from 'class-variance-authority';
|
|
4
|
+
declare const Label: React.ForwardRefExoticComponent<Omit<LabelPrimitive.LabelProps & React.RefAttributes<HTMLLabelElement>, "ref"> & VariantProps<(props?: import("class-variance-authority/dist/types").ClassProp | undefined) => string> & React.RefAttributes<HTMLLabelElement>>;
|
|
5
|
+
export { Label };
|
|
6
|
+
//# sourceMappingURL=Label.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Label.d.ts","sourceRoot":"","sources":["../../../../src/components/Label/Label.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAA;AAC9B,OAAO,KAAK,cAAc,MAAM,uBAAuB,CAAA;AACvD,OAAO,EAAO,KAAK,YAAY,EAAE,MAAM,0BAA0B,CAAA;AAQjE,QAAA,MAAM,KAAK,iQAUT,CAAA;AAGF,OAAO,EAAE,KAAK,EAAE,CAAA"}
|