@resq-sw/ui 0.2.1 → 0.2.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 +165 -45
- package/lib/components/accordion/accordion.d.ts +0 -1
- package/lib/components/accordion/accordion.d.ts.map +1 -1
- package/lib/components/alert/alert.d.ts +5 -6
- package/lib/components/alert/alert.d.ts.map +1 -1
- package/lib/components/alert-dialog/alert-dialog.d.ts +13 -13
- package/lib/components/alert-dialog/alert-dialog.d.ts.map +1 -1
- package/lib/components/aspect-ratio/aspect-ratio.d.ts +2 -3
- package/lib/components/aspect-ratio/aspect-ratio.d.ts.map +1 -1
- package/lib/components/avatar/avatar.d.ts +7 -8
- package/lib/components/avatar/avatar.d.ts.map +1 -1
- package/lib/components/badge/badge.d.ts +2 -3
- package/lib/components/badge/badge.d.ts.map +1 -1
- package/lib/components/breadcrumb/breadcrumb.d.ts +8 -9
- package/lib/components/breadcrumb/breadcrumb.d.ts.map +1 -1
- package/lib/components/button/button.d.ts +4 -5
- package/lib/components/button/button.d.ts.map +1 -1
- package/lib/components/button-group/button-group.d.ts +7 -8
- package/lib/components/button-group/button-group.d.ts.map +1 -1
- package/lib/components/calendar/calendar.d.ts +3 -4
- package/lib/components/calendar/calendar.d.ts.map +1 -1
- package/lib/components/card/card.d.ts +8 -9
- package/lib/components/card/card.d.ts.map +1 -1
- package/lib/components/carousel/carousel.d.ts +6 -7
- package/lib/components/carousel/carousel.d.ts.map +1 -1
- package/lib/components/chart/chart.d.ts +5 -6
- package/lib/components/chart/chart.d.ts.map +1 -1
- package/lib/components/checkbox/checkbox.d.ts +2 -3
- package/lib/components/checkbox/checkbox.d.ts.map +1 -1
- package/lib/components/collapsible/collapsible.d.ts +4 -5
- package/lib/components/collapsible/collapsible.d.ts.map +1 -1
- package/lib/components/combobox/combobox.d.ts +15 -16
- package/lib/components/combobox/combobox.d.ts.map +1 -1
- package/lib/components/command/command.d.ts +10 -11
- package/lib/components/command/command.d.ts.map +1 -1
- package/lib/components/context-menu/context-menu.d.ts +16 -17
- package/lib/components/context-menu/context-menu.d.ts.map +1 -1
- package/lib/components/dialog/dialog.d.ts +11 -11
- package/lib/components/dialog/dialog.d.ts.map +1 -1
- package/lib/components/direction/direction.d.ts +2 -3
- package/lib/components/direction/direction.d.ts.map +1 -1
- package/lib/components/drawer/drawer.d.ts +11 -12
- package/lib/components/drawer/drawer.d.ts.map +1 -1
- package/lib/components/dropdown-menu/dropdown-menu.d.ts +16 -17
- package/lib/components/dropdown-menu/dropdown-menu.d.ts.map +1 -1
- package/lib/components/empty/empty.d.ts +9 -10
- package/lib/components/empty/empty.d.ts.map +1 -1
- package/lib/components/field/field.d.ts +14 -15
- package/lib/components/field/field.d.ts.map +1 -1
- package/lib/components/hover-card/hover-card.d.ts +4 -5
- package/lib/components/hover-card/hover-card.d.ts.map +1 -1
- package/lib/components/input/input.d.ts +2 -3
- package/lib/components/input/input.d.ts.map +1 -1
- package/lib/components/input-group/input-group.d.ts +10 -11
- package/lib/components/input-group/input-group.d.ts.map +1 -1
- package/lib/components/input-otp/input-otp.d.ts +5 -6
- package/lib/components/input-otp/input-otp.d.ts.map +1 -1
- package/lib/components/item/item.d.ts +14 -15
- package/lib/components/item/item.d.ts.map +1 -1
- package/lib/components/kbd/kbd.d.ts +3 -4
- package/lib/components/kbd/kbd.d.ts.map +1 -1
- package/lib/components/label/label.d.ts +2 -3
- package/lib/components/label/label.d.ts.map +1 -1
- package/lib/components/menubar/menubar.d.ts +17 -18
- package/lib/components/menubar/menubar.d.ts.map +1 -1
- package/lib/components/native-select/native-select.d.ts +4 -5
- package/lib/components/native-select/native-select.d.ts.map +1 -1
- package/lib/components/navigation-menu/navigation-menu.d.ts +11 -12
- package/lib/components/navigation-menu/navigation-menu.d.ts.map +1 -1
- package/lib/components/pagination/pagination.d.ts +8 -9
- package/lib/components/pagination/pagination.d.ts.map +1 -1
- package/lib/components/picture/index.d.ts +3 -0
- package/lib/components/picture/index.js +2 -0
- package/lib/components/picture/picture.d.ts +86 -0
- package/lib/components/picture/picture.d.ts.map +1 -0
- package/lib/components/picture/picture.js +139 -0
- package/lib/components/picture/picture.js.map +1 -0
- package/lib/components/picture/types.d.ts +21 -0
- package/lib/components/picture/types.d.ts.map +1 -0
- package/lib/components/picture/types.js +0 -0
- package/lib/components/popover/popover.d.ts +8 -9
- package/lib/components/popover/popover.d.ts.map +1 -1
- package/lib/components/progress/progress.d.ts +2 -3
- package/lib/components/progress/progress.d.ts.map +1 -1
- package/lib/components/radio-group/radio-group.d.ts +3 -4
- package/lib/components/radio-group/radio-group.d.ts.map +1 -1
- package/lib/components/resizable/resizable.d.ts +4 -5
- package/lib/components/resizable/resizable.d.ts.map +1 -1
- package/lib/components/scroll-area/scroll-area.d.ts +3 -4
- package/lib/components/scroll-area/scroll-area.d.ts.map +1 -1
- package/lib/components/select/select.d.ts +11 -12
- package/lib/components/select/select.d.ts.map +1 -1
- package/lib/components/separator/separator.d.ts +2 -3
- package/lib/components/separator/separator.d.ts.map +1 -1
- package/lib/components/sheet/sheet.d.ts +9 -10
- package/lib/components/sheet/sheet.d.ts.map +1 -1
- package/lib/components/sidebar/sidebar.d.ts +26 -27
- package/lib/components/sidebar/sidebar.d.ts.map +1 -1
- package/lib/components/skeleton/skeleton.d.ts +2 -3
- package/lib/components/skeleton/skeleton.d.ts.map +1 -1
- package/lib/components/slider/slider.d.ts +2 -3
- package/lib/components/slider/slider.d.ts.map +1 -1
- package/lib/components/sonner/sonner.d.ts +2 -3
- package/lib/components/sonner/sonner.d.ts.map +1 -1
- package/lib/components/spinner/spinner.d.ts +2 -3
- package/lib/components/spinner/spinner.d.ts.map +1 -1
- package/lib/components/switch/switch.d.ts +2 -3
- package/lib/components/switch/switch.d.ts.map +1 -1
- package/lib/components/table/table.d.ts +9 -10
- package/lib/components/table/table.d.ts.map +1 -1
- package/lib/components/tabs/tabs.d.ts +7 -8
- package/lib/components/tabs/tabs.d.ts.map +1 -1
- package/lib/components/textarea/textarea.d.ts +2 -3
- package/lib/components/textarea/textarea.d.ts.map +1 -1
- package/lib/components/toggle/toggle.d.ts +4 -5
- package/lib/components/toggle/toggle.d.ts.map +1 -1
- package/lib/components/toggle-group/toggle-group.d.ts +3 -4
- package/lib/components/toggle-group/toggle-group.d.ts.map +1 -1
- package/lib/components/tooltip/tooltip.d.ts +5 -6
- package/lib/components/tooltip/tooltip.d.ts.map +1 -1
- package/lib/hooks/use-mobile.d.ts.map +1 -1
- package/lib/index.d.ts +3 -1
- package/lib/index.js +3 -1
- package/lib/lib/utils.d.ts.map +1 -1
- package/package.json +400 -393
package/README.md
CHANGED
|
@@ -1,61 +1,181 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
1
|
+
# @resq-sw/ui Documentation
|
|
2
|
+
|
|
3
|
+
A comprehensive, production-ready React component library for the ResQ platform, built on modern web standards with strict type safety and performance at its core.
|
|
4
|
+
|
|
5
|
+
---
|
|
6
|
+
|
|
7
|
+
## Table of Contents
|
|
8
|
+
|
|
9
|
+
1. [Overview](#overview)
|
|
10
|
+
2. [Features](#features)
|
|
11
|
+
3. [Architecture](#architecture)
|
|
12
|
+
4. [Quick Start](#quick-start)
|
|
13
|
+
5. [Usage](#usage)
|
|
14
|
+
6. [Configuration](#configuration)
|
|
15
|
+
7. [API Overview](#api-overview)
|
|
16
|
+
8. [Development](#development)
|
|
17
|
+
9. [Contributing](#contributing)
|
|
18
|
+
10. [Roadmap](#roadmap)
|
|
19
|
+
11. [License](#license)
|
|
20
|
+
|
|
21
|
+
---
|
|
22
|
+
|
|
23
|
+
## Overview
|
|
24
|
+
|
|
25
|
+
`@resq-sw/ui` is a centralized, high-performance UI library designed for ResQ-ecosystem front-end applications. By leveraging **shadcn/ui** primitives and **Radix UI** under the hood, we ensure accessibility and composability while maintaining strict **Tailwind CSS v4** styling.
|
|
26
|
+
|
|
27
|
+
---
|
|
28
|
+
|
|
29
|
+
## Features
|
|
30
|
+
|
|
31
|
+
- **Tree-Shakeable:** Modular architecture allows importing only the components you need.
|
|
32
|
+
- **Strictly Typed:** Full TypeScript support with explicit `.d.ts` definitions.
|
|
33
|
+
- **React 19 Ready:** Optimized for the latest concurrent React features.
|
|
34
|
+
- **Consistent Styling:** Unified design tokens via Tailwind CSS.
|
|
35
|
+
- **Production-Ready:** Rigorous testing, Chromatic visual regression, and automated CI/CD.
|
|
36
|
+
- **Developer Experience:** Includes custom scaffolding scripts and AI-assisted development tools.
|
|
37
|
+
|
|
38
|
+
---
|
|
39
|
+
|
|
40
|
+
## Architecture
|
|
41
|
+
|
|
42
|
+
The library is designed for modularity, using a clean subpath-export structure to ensure minimal bundle sizes.
|
|
43
|
+
|
|
44
|
+
```mermaid
|
|
45
|
+
graph TD
|
|
46
|
+
A[App Implementation] --> B[Subpath Exports: @resq-sw/ui/component]
|
|
47
|
+
B --> C[Radix UI Primitives]
|
|
48
|
+
B --> D[Tailwind CSS v4 Classes]
|
|
49
|
+
B --> E[Utils / Hooks]
|
|
50
|
+
F[Chromatic / Storybook] -->|Visual Tests| B
|
|
51
|
+
G[GitHub Actions] -->|CI Pipeline| B
|
|
52
|
+
```
|
|
53
|
+
|
|
54
|
+
---
|
|
55
|
+
|
|
56
|
+
## Quick Start
|
|
57
|
+
|
|
58
|
+
### 1. Installation
|
|
59
|
+
|
|
60
|
+
```bash
|
|
61
|
+
bun add @resq-sw/ui
|
|
62
|
+
# Peer dependencies
|
|
63
|
+
bun add react@^19 react-dom@^19 tailwindcss@^4
|
|
64
|
+
```
|
|
65
|
+
|
|
66
|
+
### 2. Global Setup
|
|
67
|
+
|
|
68
|
+
Include the global styles in your root layout/entry file:
|
|
69
|
+
|
|
70
|
+
```tsx
|
|
71
|
+
import "@resq-sw/ui/styles/globals.css";
|
|
72
|
+
```
|
|
73
|
+
|
|
74
|
+
### 3. Usage Example
|
|
75
|
+
|
|
76
|
+
```tsx
|
|
77
|
+
import { Button } from "@resq-sw/ui/button";
|
|
78
|
+
import { Card } from "@resq-sw/ui/card";
|
|
79
|
+
|
|
80
|
+
export const App = () => (
|
|
81
|
+
<Card>
|
|
82
|
+
<Button onClick={() => alert("Ready!")}>Click Me</Button>
|
|
83
|
+
</Card>
|
|
84
|
+
);
|
|
85
|
+
```
|
|
86
|
+
|
|
87
|
+
---
|
|
20
88
|
|
|
21
89
|
## Usage
|
|
22
90
|
|
|
23
|
-
|
|
24
|
-
|
|
91
|
+
### Using the `cn` Utility
|
|
92
|
+
Our library exports a standard tailwind-merge and clsx wrapper to handle conditional class name conflicts:
|
|
93
|
+
|
|
94
|
+
```tsx
|
|
95
|
+
import { cn } from "@resq-sw/ui/lib/utils";
|
|
96
|
+
|
|
97
|
+
const MyComponent = ({ className, active }) => (
|
|
98
|
+
<div className={cn("base-styles", active && "bg-blue-500", className)} />
|
|
99
|
+
);
|
|
25
100
|
```
|
|
26
101
|
|
|
27
|
-
|
|
28
|
-
|
|
102
|
+
### Mobile Hooks
|
|
103
|
+
Leverage our internal hooks for responsive logic:
|
|
29
104
|
|
|
30
|
-
|
|
105
|
+
```tsx
|
|
106
|
+
import { useIsMobile } from "@resq-sw/ui/hooks/use-mobile";
|
|
107
|
+
|
|
108
|
+
const Sidebar = () => {
|
|
109
|
+
const isMobile = useIsMobile();
|
|
110
|
+
return isMobile ? <MobileNav /> : <DesktopNav />;
|
|
111
|
+
};
|
|
31
112
|
```
|
|
32
113
|
|
|
114
|
+
---
|
|
115
|
+
|
|
116
|
+
## Configuration
|
|
117
|
+
|
|
118
|
+
### Tailwind Integration
|
|
119
|
+
Ensure your `tailwind.config.ts` incorporates the plugin or base styles provided in the package if customizing the theme.
|
|
120
|
+
|
|
121
|
+
### TypeScript
|
|
122
|
+
This project uses `tsconfig.json` with strict mode enabled. When consuming in your project, ensure `moduleResolution` is set to `bundler` or `node16` to correctly resolve subpath exports.
|
|
123
|
+
|
|
124
|
+
---
|
|
125
|
+
|
|
126
|
+
## API Overview
|
|
127
|
+
|
|
128
|
+
The library features 50+ components, categorized into common interface groups:
|
|
129
|
+
|
|
130
|
+
| Category | Key Components |
|
|
131
|
+
| :--- | :--- |
|
|
132
|
+
| **Input** | `Button`, `Input`, `Select`, `Checkbox`, `RadioGroup`, `Textarea` |
|
|
133
|
+
| **Layout** | `Card`, `Accordion`, `Sidebar`, `Separator`, `Resizable` |
|
|
134
|
+
| **Feedback** | `Alert`, `Spinner`, `Progress`, `Skeleton`, `Sonner` |
|
|
135
|
+
| **Overlay** | `Dialog`, `Drawer`, `Popover`, `Tooltip`, `ContextMenu` |
|
|
136
|
+
|
|
137
|
+
*Consult the individual `src/components/[name]/index.ts` files for specific prop interfaces.*
|
|
138
|
+
|
|
139
|
+
---
|
|
140
|
+
|
|
33
141
|
## Development
|
|
34
142
|
|
|
35
|
-
|
|
36
|
-
|
|
143
|
+
### Environment Setup
|
|
144
|
+
We utilize [Nix](https://nixos.org/) for development environment parity.
|
|
145
|
+
|
|
146
|
+
```bash
|
|
147
|
+
git clone https://github.com/resq-software/ui.git
|
|
148
|
+
cd ui
|
|
149
|
+
nix develop
|
|
150
|
+
```
|
|
151
|
+
|
|
152
|
+
### Workflow Scripts
|
|
153
|
+
- `bun storybook`: Runs Storybook for component preview.
|
|
154
|
+
- `bun test`: Executes Vitest suites.
|
|
155
|
+
- `bun lint`: Runs Biome for code consistency.
|
|
156
|
+
- `bun tsc`: Validates type safety across the library.
|
|
157
|
+
|
|
158
|
+
---
|
|
159
|
+
|
|
160
|
+
## Contributing
|
|
161
|
+
|
|
162
|
+
We strictly follow Conventional Commits. Please refer to `.github/CONTRIBUTING.md` for the full guidelines.
|
|
163
|
+
|
|
164
|
+
1. **Branching**: Use `feat/`, `fix/`, `docs/`, or `chore/` prefixes.
|
|
165
|
+
2. **Issue Templates**: Use the provided YAML templates for bugs and feature requests.
|
|
166
|
+
3. **Commit Hooks**: Husky is configured to run linting and tests automatically before pushes.
|
|
37
167
|
|
|
38
|
-
|
|
168
|
+
---
|
|
39
169
|
|
|
40
|
-
|
|
41
|
-
<!-- ALL-CONTRIBUTORS-LIST:START - Do not remove or modify this section -->
|
|
42
|
-
<!-- prettier-ignore-start -->
|
|
43
|
-
<!-- markdownlint-disable -->
|
|
44
|
-
<table>
|
|
45
|
-
<tbody>
|
|
46
|
-
<tr>
|
|
47
|
-
<td align="center"><a href="https://github.com/ElysiumOSS"><img src="https://avatars.githubusercontent.com/u/155137850?v=4?s=100" width="100px;" alt="Elysium Open Source"/><br /><sub><b>Elysium Open Source</b></sub></a><br /><a href="https://github.com/ElysiumOSS/package-template/commits?author=ElysiumOSS" title="Code">💻</a> <a href="#content-ElysiumOSS" title="Content">🖋</a> <a href="https://github.com/ElysiumOSS/package-template/commits?author=ElysiumOSS" title="Documentation">📖</a> <a href="#ideas-ElysiumOSS" title="Ideas, Planning, & Feedback">🤔</a> <a href="#infra-ElysiumOSS" title="Infrastructure (Hosting, Build-Tools, etc)">🚇</a> <a href="#maintenance-ElysiumOSS" title="Maintenance">🚧</a> <a href="#projectManagement-ElysiumOSS" title="Project Management">📆</a> <a href="#tool-ElysiumOSS" title="Tools">🔧</a></td>
|
|
48
|
-
<td align="center"><a href="https://linktr.ee/mikeodnis"><img src="https://avatars.githubusercontent.com/u/95197809?v=4?s=100" width="100px;" alt="Mike Odnis"/><br /><sub><b>Mike Odnis</b></sub></a><br /><a href="https://github.com/ElysiumOSS/package-template/commits?author=WomB0ComB0" title="Code">💻</a> <a href="#content-WomB0ComB0" title="Content">🖋</a> <a href="https://github.com/ElysiumOSS/package-template/commits?author=WomB0ComB0" title="Documentation">📖</a> <a href="#ideas-WomB0ComB0" title="Ideas, Planning, & Feedback">🤔</a> <a href="#infra-WomB0ComB0" title="Infrastructure (Hosting, Build-Tools, etc)">🚇</a> <a href="#maintenance-WomB0ComB0" title="Maintenance">🚧</a> <a href="#projectManagement-WomB0ComB0" title="Project Management">📆</a> <a href="#tool-WomB0ComB0" title="Tools">🔧</a></td>
|
|
49
|
-
</tr>
|
|
50
|
-
</tbody>
|
|
51
|
-
</table>
|
|
170
|
+
## Roadmap
|
|
52
171
|
|
|
53
|
-
|
|
54
|
-
|
|
172
|
+
- [ ] **Phase 1**: Complete migration of legacy components.
|
|
173
|
+
- [ ] **Phase 2**: Enhance charting library integration (d3/recharts).
|
|
174
|
+
- [ ] **Phase 3**: Support for custom theme generation utility.
|
|
175
|
+
- [ ] **Phase 4**: Expanded support for RTL languages (Direction API).
|
|
55
176
|
|
|
56
|
-
|
|
57
|
-
<!-- spellchecker: enable -->
|
|
177
|
+
---
|
|
58
178
|
|
|
59
|
-
|
|
179
|
+
## License
|
|
60
180
|
|
|
61
|
-
|
|
181
|
+
This project is licensed under the Apache-2.0 License. See the [LICENSE.md](./LICENSE.md) file for details.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"accordion.d.ts","names":[],"sources":["../../../src/components/accordion/accordion.tsx"],"
|
|
1
|
+
{"version":3,"file":"accordion.d.ts","names":[],"sources":["../../../src/components/accordion/accordion.tsx"],"mappings":";;;;;iBAwBS,SAAA,CAAA;EAAY,SAAA;EAAA,GAAc;AAAA,GAAS,KAAA,CAAM,cAAA,QAAsB,WAAA,CAAmB,IAAA,IAAK,kBAAA,CAAA,GAAA,CAAA,OAAA;AAAA,iBAUvF,gBAAA,CAAA;EACR,QAAA;EACA,SAAA;EAAA,GACG;AAAA,GACD,KAAA,CAAM,cAAA,QAAsB,WAAA,CAAmB,OAAA,IAAQ,kBAAA,CAAA,GAAA,CAAA,OAAA;AAAA,iBAmBjD,aAAA,CAAA;EACR,SAAA;EAAA,GACG;AAAA,GACD,KAAA,CAAM,cAAA,QAAsB,WAAA,CAAmB,IAAA,IAAK,kBAAA,CAAA,GAAA,CAAA,OAAA;AAAA,iBAU9C,gBAAA,CAAA;EACR,QAAA;EACA,SAAA;EAAA,GACG;AAAA,GACD,KAAA,CAAM,cAAA,QAAsB,WAAA,CAAmB,OAAA,IAAQ,kBAAA,CAAA,GAAA,CAAA,OAAA"}
|
|
@@ -1,10 +1,9 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as react_jsx_runtime0 from "react/jsx-runtime";
|
|
2
2
|
import { VariantProps } from "class-variance-authority";
|
|
3
3
|
import * as React from "react";
|
|
4
4
|
import * as class_variance_authority_types0 from "class-variance-authority/types";
|
|
5
5
|
|
|
6
6
|
//#region src/components/alert/alert.d.ts
|
|
7
|
-
|
|
8
7
|
declare const alertVariants: (props?: ({
|
|
9
8
|
variant?: "default" | "destructive" | null | undefined;
|
|
10
9
|
} & class_variance_authority_types0.ClassProp) | undefined) => string;
|
|
@@ -12,19 +11,19 @@ declare function Alert({
|
|
|
12
11
|
className,
|
|
13
12
|
variant,
|
|
14
13
|
...props
|
|
15
|
-
}: React.ComponentProps<"div"> & VariantProps<typeof alertVariants>):
|
|
14
|
+
}: React.ComponentProps<"div"> & VariantProps<typeof alertVariants>): react_jsx_runtime0.JSX.Element;
|
|
16
15
|
declare function AlertAction({
|
|
17
16
|
className,
|
|
18
17
|
...props
|
|
19
|
-
}: React.ComponentProps<"div">):
|
|
18
|
+
}: React.ComponentProps<"div">): react_jsx_runtime0.JSX.Element;
|
|
20
19
|
declare function AlertDescription({
|
|
21
20
|
className,
|
|
22
21
|
...props
|
|
23
|
-
}: React.ComponentProps<"div">):
|
|
22
|
+
}: React.ComponentProps<"div">): react_jsx_runtime0.JSX.Element;
|
|
24
23
|
declare function AlertTitle({
|
|
25
24
|
className,
|
|
26
25
|
...props
|
|
27
|
-
}: React.ComponentProps<"div">):
|
|
26
|
+
}: React.ComponentProps<"div">): react_jsx_runtime0.JSX.Element;
|
|
28
27
|
//#endregion
|
|
29
28
|
export { Alert, AlertAction, AlertDescription, AlertTitle };
|
|
30
29
|
//# sourceMappingURL=alert.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"alert.d.ts","names":[],"sources":["../../../src/components/alert/alert.tsx"],"
|
|
1
|
+
{"version":3,"file":"alert.d.ts","names":[],"sources":["../../../src/components/alert/alert.tsx"],"mappings":";;;;;;cAqBM,aAAA,GAAa,KAAA;;IAclB,+BAAA,CAAA,SAAA;AAAA,iBAEQ,KAAA,CAAA;EACR,SAAA;EACA,OAAA;EAAA,GACG;AAAA,GACD,KAAA,CAAM,cAAA,UAAwB,YAAA,QAAoB,aAAA,IAAc,kBAAA,CAAA,GAAA,CAAA,OAAA;AAAA,iBAW1D,WAAA,CAAA;EAAc,SAAA;EAAA,GAAc;AAAA,GAAS,KAAA,CAAM,cAAA,UAAqB,kBAAA,CAAA,GAAA,CAAA,OAAA;AAAA,iBAMhE,gBAAA,CAAA;EAAmB,SAAA;EAAA,GAAc;AAAA,GAAS,KAAA,CAAM,cAAA,UAAqB,kBAAA,CAAA,GAAA,CAAA,OAAA;AAAA,iBAarE,UAAA,CAAA;EAAa,SAAA;EAAA,GAAc;AAAA,GAAS,KAAA,CAAM,cAAA,UAAqB,kBAAA,CAAA,GAAA,CAAA,OAAA"}
|
|
@@ -1,61 +1,61 @@
|
|
|
1
1
|
import { Button } from "../button/button.js";
|
|
2
2
|
import { AlertDialog as AlertDialog$1 } from "radix-ui";
|
|
3
|
-
import * as
|
|
3
|
+
import * as react_jsx_runtime0 from "react/jsx-runtime";
|
|
4
4
|
import * as React from "react";
|
|
5
5
|
|
|
6
6
|
//#region src/components/alert-dialog/alert-dialog.d.ts
|
|
7
7
|
declare function AlertDialog({
|
|
8
8
|
...props
|
|
9
|
-
}: Readonly<React.ComponentProps<typeof AlertDialog$1.Root>>):
|
|
9
|
+
}: Readonly<React.ComponentProps<typeof AlertDialog$1.Root>>): react_jsx_runtime0.JSX.Element;
|
|
10
10
|
declare function AlertDialogAction({
|
|
11
11
|
className,
|
|
12
12
|
size,
|
|
13
13
|
variant,
|
|
14
14
|
...props
|
|
15
|
-
}: Pick<React.ComponentProps<typeof Button>, "size" | "variant"> & React.ComponentProps<typeof AlertDialog$1.Action>):
|
|
15
|
+
}: Pick<React.ComponentProps<typeof Button>, "size" | "variant"> & React.ComponentProps<typeof AlertDialog$1.Action>): react_jsx_runtime0.JSX.Element;
|
|
16
16
|
declare function AlertDialogCancel({
|
|
17
17
|
className,
|
|
18
18
|
size,
|
|
19
19
|
variant,
|
|
20
20
|
...props
|
|
21
|
-
}: Pick<React.ComponentProps<typeof Button>, "size" | "variant"> & React.ComponentProps<typeof AlertDialog$1.Cancel>):
|
|
21
|
+
}: Pick<React.ComponentProps<typeof Button>, "size" | "variant"> & React.ComponentProps<typeof AlertDialog$1.Cancel>): react_jsx_runtime0.JSX.Element;
|
|
22
22
|
declare function AlertDialogContent({
|
|
23
23
|
className,
|
|
24
24
|
size,
|
|
25
25
|
...props
|
|
26
26
|
}: React.ComponentProps<typeof AlertDialog$1.Content> & {
|
|
27
27
|
size?: "default" | "sm";
|
|
28
|
-
}):
|
|
28
|
+
}): react_jsx_runtime0.JSX.Element;
|
|
29
29
|
declare function AlertDialogDescription({
|
|
30
30
|
className,
|
|
31
31
|
...props
|
|
32
|
-
}: React.ComponentProps<typeof AlertDialog$1.Description>):
|
|
32
|
+
}: React.ComponentProps<typeof AlertDialog$1.Description>): react_jsx_runtime0.JSX.Element;
|
|
33
33
|
declare function AlertDialogFooter({
|
|
34
34
|
className,
|
|
35
35
|
...props
|
|
36
|
-
}: React.ComponentProps<"div">):
|
|
36
|
+
}: React.ComponentProps<"div">): react_jsx_runtime0.JSX.Element;
|
|
37
37
|
declare function AlertDialogHeader({
|
|
38
38
|
className,
|
|
39
39
|
...props
|
|
40
|
-
}: React.ComponentProps<"div">):
|
|
40
|
+
}: React.ComponentProps<"div">): react_jsx_runtime0.JSX.Element;
|
|
41
41
|
declare function AlertDialogMedia({
|
|
42
42
|
className,
|
|
43
43
|
...props
|
|
44
|
-
}: React.ComponentProps<"div">):
|
|
44
|
+
}: React.ComponentProps<"div">): react_jsx_runtime0.JSX.Element;
|
|
45
45
|
declare function AlertDialogOverlay({
|
|
46
46
|
className,
|
|
47
47
|
...props
|
|
48
|
-
}: React.ComponentProps<typeof AlertDialog$1.Overlay>):
|
|
48
|
+
}: React.ComponentProps<typeof AlertDialog$1.Overlay>): react_jsx_runtime0.JSX.Element;
|
|
49
49
|
declare function AlertDialogPortal({
|
|
50
50
|
...props
|
|
51
|
-
}: Readonly<React.ComponentProps<typeof AlertDialog$1.Portal>>):
|
|
51
|
+
}: Readonly<React.ComponentProps<typeof AlertDialog$1.Portal>>): react_jsx_runtime0.JSX.Element;
|
|
52
52
|
declare function AlertDialogTitle({
|
|
53
53
|
className,
|
|
54
54
|
...props
|
|
55
|
-
}: React.ComponentProps<typeof AlertDialog$1.Title>):
|
|
55
|
+
}: React.ComponentProps<typeof AlertDialog$1.Title>): react_jsx_runtime0.JSX.Element;
|
|
56
56
|
declare function AlertDialogTrigger({
|
|
57
57
|
...props
|
|
58
|
-
}: React.ComponentProps<typeof AlertDialog$1.Trigger>):
|
|
58
|
+
}: React.ComponentProps<typeof AlertDialog$1.Trigger>): react_jsx_runtime0.JSX.Element;
|
|
59
59
|
//#endregion
|
|
60
60
|
export { AlertDialog, AlertDialogAction, AlertDialogCancel, AlertDialogContent, AlertDialogDescription, AlertDialogFooter, AlertDialogHeader, AlertDialogMedia, AlertDialogOverlay, AlertDialogPortal, AlertDialogTitle, AlertDialogTrigger };
|
|
61
61
|
//# sourceMappingURL=alert-dialog.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"alert-dialog.d.ts","names":[],"sources":["../../../src/components/alert-dialog/alert-dialog.tsx"],"
|
|
1
|
+
{"version":3,"file":"alert-dialog.d.ts","names":[],"sources":["../../../src/components/alert-dialog/alert-dialog.tsx"],"mappings":";;;;;;iBAwBS,WAAA,CAAA;EAAA,GACL;AAAA,GACD,QAAA,CAAS,KAAA,CAAM,cAAA,QAAsB,aAAA,CAAqB,IAAA,KAAM,kBAAA,CAAA,GAAA,CAAA,OAAA;AAAA,iBAI1D,iBAAA,CAAA;EACR,SAAA;EACA,IAAA;EACA,OAAA;EAAA,GACG;AAAA,GACD,IAAA,CAAK,KAAA,CAAM,cAAA,QAAsB,MAAA,yBACnC,KAAA,CAAM,cAAA,QAAsB,aAAA,CAAqB,MAAA,IAAO,kBAAA,CAAA,GAAA,CAAA,OAAA;AAAA,iBAYhD,iBAAA,CAAA;EACR,SAAA;EACA,IAAA;EACA,OAAA;EAAA,GACG;AAAA,GACD,IAAA,CAAK,KAAA,CAAM,cAAA,QAAsB,MAAA,yBACnC,KAAA,CAAM,cAAA,QAAsB,aAAA,CAAqB,MAAA,IAAO,kBAAA,CAAA,GAAA,CAAA,OAAA;AAAA,iBAYhD,kBAAA,CAAA;EACR,SAAA;EACA,IAAA;EAAA,GACG;AAAA,GACD,KAAA,CAAM,cAAA,QAAsB,aAAA,CAAqB,OAAA;EACnD,IAAA;AAAA,IACA,kBAAA,CAAA,GAAA,CAAA,OAAA;AAAA,iBAiBQ,sBAAA,CAAA;EACR,SAAA;EAAA,GACG;AAAA,GACD,KAAA,CAAM,cAAA,QAAsB,aAAA,CAAqB,WAAA,IAAY,kBAAA,CAAA,GAAA,CAAA,OAAA;AAAA,iBAavD,iBAAA,CAAA;EAAoB,SAAA;EAAA,GAAc;AAAA,GAAS,KAAA,CAAM,cAAA,UAAqB,kBAAA,CAAA,GAAA,CAAA,OAAA;AAAA,iBAatE,iBAAA,CAAA;EAAoB,SAAA;EAAA,GAAc;AAAA,GAAS,KAAA,CAAM,cAAA,UAAqB,kBAAA,CAAA,GAAA,CAAA,OAAA;AAAA,iBAatE,gBAAA,CAAA;EAAmB,SAAA;EAAA,GAAc;AAAA,GAAS,KAAA,CAAM,cAAA,UAAqB,kBAAA,CAAA,GAAA,CAAA,OAAA;AAAA,iBAarE,kBAAA,CAAA;EACR,SAAA;EAAA,GACG;AAAA,GACD,KAAA,CAAM,cAAA,QAAsB,aAAA,CAAqB,OAAA,IAAQ,kBAAA,CAAA,GAAA,CAAA,OAAA;AAAA,iBAanD,iBAAA,CAAA;EAAA,GACL;AAAA,GACD,QAAA,CAAS,KAAA,CAAM,cAAA,QAAsB,aAAA,CAAqB,MAAA,KAAQ,kBAAA,CAAA,GAAA,CAAA,OAAA;AAAA,iBAI5D,gBAAA,CAAA;EACR,SAAA;EAAA,GACG;AAAA,GACD,KAAA,CAAM,cAAA,QAAsB,aAAA,CAAqB,KAAA,IAAM,kBAAA,CAAA,GAAA,CAAA,OAAA;AAAA,iBAajD,kBAAA,CAAA;EAAA,GACL;AAAA,GACD,KAAA,CAAM,cAAA,QAAsB,aAAA,CAAqB,OAAA,IAAQ,kBAAA,CAAA,GAAA,CAAA,OAAA"}
|
|
@@ -1,11 +1,10 @@
|
|
|
1
1
|
import { AspectRatio as AspectRatio$1 } from "radix-ui";
|
|
2
|
-
import * as
|
|
2
|
+
import * as react_jsx_runtime0 from "react/jsx-runtime";
|
|
3
3
|
|
|
4
4
|
//#region src/components/aspect-ratio/aspect-ratio.d.ts
|
|
5
|
-
|
|
6
5
|
declare function AspectRatio({
|
|
7
6
|
...props
|
|
8
|
-
}: React.ComponentProps<typeof AspectRatio$1.Root>):
|
|
7
|
+
}: React.ComponentProps<typeof AspectRatio$1.Root>): react_jsx_runtime0.JSX.Element;
|
|
9
8
|
//#endregion
|
|
10
9
|
export { AspectRatio };
|
|
11
10
|
//# sourceMappingURL=aspect-ratio.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"aspect-ratio.d.ts","names":[],"sources":["../../../src/components/aspect-ratio/aspect-ratio.tsx"],"
|
|
1
|
+
{"version":3,"file":"aspect-ratio.d.ts","names":[],"sources":["../../../src/components/aspect-ratio/aspect-ratio.tsx"],"mappings":";;;;iBAoBS,WAAA,CAAA;EAAA,GAAiB;AAAA,GAAS,KAAA,CAAM,cAAA,QAAsB,aAAA,CAAqB,IAAA,IAAK,kBAAA,CAAA,GAAA,CAAA,OAAA"}
|
|
@@ -1,36 +1,35 @@
|
|
|
1
1
|
import { Avatar as Avatar$1 } from "radix-ui";
|
|
2
|
-
import * as
|
|
2
|
+
import * as react_jsx_runtime0 from "react/jsx-runtime";
|
|
3
3
|
import * as React from "react";
|
|
4
4
|
|
|
5
5
|
//#region src/components/avatar/avatar.d.ts
|
|
6
|
-
|
|
7
6
|
declare function Avatar({
|
|
8
7
|
className,
|
|
9
8
|
size,
|
|
10
9
|
...props
|
|
11
10
|
}: React.ComponentProps<typeof Avatar$1.Root> & {
|
|
12
11
|
size?: "default" | "lg" | "sm";
|
|
13
|
-
}):
|
|
12
|
+
}): react_jsx_runtime0.JSX.Element;
|
|
14
13
|
declare function AvatarBadge({
|
|
15
14
|
className,
|
|
16
15
|
...props
|
|
17
|
-
}: React.ComponentProps<"span">):
|
|
16
|
+
}: React.ComponentProps<"span">): react_jsx_runtime0.JSX.Element;
|
|
18
17
|
declare function AvatarFallback({
|
|
19
18
|
className,
|
|
20
19
|
...props
|
|
21
|
-
}: React.ComponentProps<typeof Avatar$1.Fallback>):
|
|
20
|
+
}: React.ComponentProps<typeof Avatar$1.Fallback>): react_jsx_runtime0.JSX.Element;
|
|
22
21
|
declare function AvatarGroup({
|
|
23
22
|
className,
|
|
24
23
|
...props
|
|
25
|
-
}: React.ComponentProps<"div">):
|
|
24
|
+
}: React.ComponentProps<"div">): react_jsx_runtime0.JSX.Element;
|
|
26
25
|
declare function AvatarGroupCount({
|
|
27
26
|
className,
|
|
28
27
|
...props
|
|
29
|
-
}: React.ComponentProps<"div">):
|
|
28
|
+
}: React.ComponentProps<"div">): react_jsx_runtime0.JSX.Element;
|
|
30
29
|
declare function AvatarImage({
|
|
31
30
|
className,
|
|
32
31
|
...props
|
|
33
|
-
}: React.ComponentProps<typeof Avatar$1.Image>):
|
|
32
|
+
}: React.ComponentProps<typeof Avatar$1.Image>): react_jsx_runtime0.JSX.Element;
|
|
34
33
|
//#endregion
|
|
35
34
|
export { Avatar, AvatarBadge, AvatarFallback, AvatarGroup, AvatarGroupCount, AvatarImage };
|
|
36
35
|
//# sourceMappingURL=avatar.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"avatar.d.ts","names":[],"sources":["../../../src/components/avatar/avatar.tsx"],"
|
|
1
|
+
{"version":3,"file":"avatar.d.ts","names":[],"sources":["../../../src/components/avatar/avatar.tsx"],"mappings":";;;;;iBAuBS,MAAA,CAAA;EACR,SAAA;EACA,IAAA;EAAA,GACG;AAAA,GACD,KAAA,CAAM,cAAA,QAAsB,QAAA,CAAgB,IAAA;EAC9C,IAAA;AAAA,IACA,kBAAA,CAAA,GAAA,CAAA,OAAA;AAAA,iBAcQ,WAAA,CAAA;EAAc,SAAA;EAAA,GAAc;AAAA,GAAS,KAAA,CAAM,cAAA,WAAsB,kBAAA,CAAA,GAAA,CAAA,OAAA;AAAA,iBAgBjE,cAAA,CAAA;EACR,SAAA;EAAA,GACG;AAAA,GACD,KAAA,CAAM,cAAA,QAAsB,QAAA,CAAgB,QAAA,IAAS,kBAAA,CAAA,GAAA,CAAA,OAAA;AAAA,iBAa/C,WAAA,CAAA;EAAc,SAAA;EAAA,GAAc;AAAA,GAAS,KAAA,CAAM,cAAA,UAAqB,kBAAA,CAAA,GAAA,CAAA,OAAA;AAAA,iBAahE,gBAAA,CAAA;EAAmB,SAAA;EAAA,GAAc;AAAA,GAAS,KAAA,CAAM,cAAA,UAAqB,kBAAA,CAAA,GAAA,CAAA,OAAA;AAAA,iBAarE,WAAA,CAAA;EAAc,SAAA;EAAA,GAAc;AAAA,GAAS,KAAA,CAAM,cAAA,QAAsB,QAAA,CAAgB,KAAA,IAAM,kBAAA,CAAA,GAAA,CAAA,OAAA"}
|
|
@@ -1,10 +1,9 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as react_jsx_runtime0 from "react/jsx-runtime";
|
|
2
2
|
import { VariantProps } from "class-variance-authority";
|
|
3
3
|
import * as React from "react";
|
|
4
4
|
import * as class_variance_authority_types0 from "class-variance-authority/types";
|
|
5
5
|
|
|
6
6
|
//#region src/components/badge/badge.d.ts
|
|
7
|
-
|
|
8
7
|
declare const badgeVariants: (props?: ({
|
|
9
8
|
variant?: "default" | "destructive" | "ghost" | "link" | "outline" | "secondary" | null | undefined;
|
|
10
9
|
} & class_variance_authority_types0.ClassProp) | undefined) => string;
|
|
@@ -15,7 +14,7 @@ declare function Badge({
|
|
|
15
14
|
...props
|
|
16
15
|
}: React.ComponentProps<"span"> & VariantProps<typeof badgeVariants> & {
|
|
17
16
|
asChild?: boolean;
|
|
18
|
-
}):
|
|
17
|
+
}): react_jsx_runtime0.JSX.Element;
|
|
19
18
|
//#endregion
|
|
20
19
|
export { Badge, badgeVariants };
|
|
21
20
|
//# sourceMappingURL=badge.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"badge.d.ts","names":[],"sources":["../../../src/components/badge/badge.tsx"],"
|
|
1
|
+
{"version":3,"file":"badge.d.ts","names":[],"sources":["../../../src/components/badge/badge.tsx"],"mappings":";;;;;;cAsBM,aAAA,GAAa,KAAA;;IAkBlB,+BAAA,CAAA,SAAA;AAAA,iBAEQ,KAAA,CAAA;EACR,OAAA;EACA,SAAA;EACA,OAAA;EAAA,GACG;AAAA,GACD,KAAA,CAAM,cAAA,WAAyB,YAAA,QAAoB,aAAA;EAAmB,OAAA;AAAA,IAAmB,kBAAA,CAAA,GAAA,CAAA,OAAA"}
|
|
@@ -1,40 +1,39 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as react_jsx_runtime0 from "react/jsx-runtime";
|
|
2
2
|
import * as React from "react";
|
|
3
3
|
|
|
4
4
|
//#region src/components/breadcrumb/breadcrumb.d.ts
|
|
5
|
-
|
|
6
5
|
declare function Breadcrumb({
|
|
7
6
|
className,
|
|
8
7
|
...props
|
|
9
|
-
}: React.ComponentProps<"nav">):
|
|
8
|
+
}: React.ComponentProps<"nav">): react_jsx_runtime0.JSX.Element;
|
|
10
9
|
declare function BreadcrumbEllipsis({
|
|
11
10
|
className,
|
|
12
11
|
...props
|
|
13
|
-
}: React.ComponentProps<"span">):
|
|
12
|
+
}: React.ComponentProps<"span">): react_jsx_runtime0.JSX.Element;
|
|
14
13
|
declare function BreadcrumbItem({
|
|
15
14
|
className,
|
|
16
15
|
...props
|
|
17
|
-
}: React.ComponentProps<"li">):
|
|
16
|
+
}: React.ComponentProps<"li">): react_jsx_runtime0.JSX.Element;
|
|
18
17
|
declare function BreadcrumbLink({
|
|
19
18
|
asChild,
|
|
20
19
|
className,
|
|
21
20
|
...props
|
|
22
21
|
}: React.ComponentProps<"a"> & {
|
|
23
22
|
asChild?: boolean;
|
|
24
|
-
}):
|
|
23
|
+
}): react_jsx_runtime0.JSX.Element;
|
|
25
24
|
declare function BreadcrumbList({
|
|
26
25
|
className,
|
|
27
26
|
...props
|
|
28
|
-
}: React.ComponentProps<"ol">):
|
|
27
|
+
}: React.ComponentProps<"ol">): react_jsx_runtime0.JSX.Element;
|
|
29
28
|
declare function BreadcrumbPage({
|
|
30
29
|
className,
|
|
31
30
|
...props
|
|
32
|
-
}: React.ComponentProps<"span">):
|
|
31
|
+
}: React.ComponentProps<"span">): react_jsx_runtime0.JSX.Element;
|
|
33
32
|
declare function BreadcrumbSeparator({
|
|
34
33
|
children,
|
|
35
34
|
className,
|
|
36
35
|
...props
|
|
37
|
-
}: React.ComponentProps<"li">):
|
|
36
|
+
}: React.ComponentProps<"li">): react_jsx_runtime0.JSX.Element;
|
|
38
37
|
//#endregion
|
|
39
38
|
export { Breadcrumb, BreadcrumbEllipsis, BreadcrumbItem, BreadcrumbLink, BreadcrumbList, BreadcrumbPage, BreadcrumbSeparator };
|
|
40
39
|
//# sourceMappingURL=breadcrumb.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"breadcrumb.d.ts","names":[],"sources":["../../../src/components/breadcrumb/breadcrumb.tsx"],"
|
|
1
|
+
{"version":3,"file":"breadcrumb.d.ts","names":[],"sources":["../../../src/components/breadcrumb/breadcrumb.tsx"],"mappings":";;;;iBAsBS,UAAA,CAAA;EAAa,SAAA;EAAA,GAAc;AAAA,GAAS,KAAA,CAAM,cAAA,UAAqB,kBAAA,CAAA,GAAA,CAAA,OAAA;AAAA,iBAM/D,kBAAA,CAAA;EAAqB,SAAA;EAAA,GAAc;AAAA,GAAS,KAAA,CAAM,cAAA,WAAsB,kBAAA,CAAA,GAAA,CAAA,OAAA;AAAA,iBAexE,cAAA,CAAA;EAAiB,SAAA;EAAA,GAAc;AAAA,GAAS,KAAA,CAAM,cAAA,SAAoB,kBAAA,CAAA,GAAA,CAAA,OAAA;AAAA,iBAUlE,cAAA,CAAA;EACR,OAAA;EACA,SAAA;EAAA,GACG;AAAA,GACD,KAAA,CAAM,cAAA;EACR,OAAA;AAAA,IACA,kBAAA,CAAA,GAAA,CAAA,OAAA;AAAA,iBAYQ,cAAA,CAAA;EAAiB,SAAA;EAAA,GAAc;AAAA,GAAS,KAAA,CAAM,cAAA,SAAoB,kBAAA,CAAA,GAAA,CAAA,OAAA;AAAA,iBAalE,cAAA,CAAA;EAAiB,SAAA;EAAA,GAAc;AAAA,GAAS,KAAA,CAAM,cAAA,WAAsB,kBAAA,CAAA,GAAA,CAAA,OAAA;AAAA,iBAapE,mBAAA,CAAA;EAAsB,QAAA;EAAU,SAAA;EAAA,GAAc;AAAA,GAAS,KAAA,CAAM,cAAA,SAAoB,kBAAA,CAAA,GAAA,CAAA,OAAA"}
|
|
@@ -1,14 +1,13 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as react_jsx_runtime0 from "react/jsx-runtime";
|
|
2
2
|
import { VariantProps } from "class-variance-authority";
|
|
3
3
|
import * as React from "react";
|
|
4
|
-
import * as
|
|
4
|
+
import * as class_variance_authority_types0 from "class-variance-authority/types";
|
|
5
5
|
|
|
6
6
|
//#region src/components/button/button.d.ts
|
|
7
|
-
|
|
8
7
|
declare const buttonVariants: (props?: ({
|
|
9
8
|
size?: "default" | "icon" | "icon-lg" | "icon-sm" | "icon-xs" | "lg" | "sm" | "xs" | null | undefined;
|
|
10
9
|
variant?: "default" | "destructive" | "ghost" | "link" | "outline" | "secondary" | null | undefined;
|
|
11
|
-
} &
|
|
10
|
+
} & class_variance_authority_types0.ClassProp) | undefined) => string;
|
|
12
11
|
declare function Button({
|
|
13
12
|
asChild,
|
|
14
13
|
className,
|
|
@@ -17,7 +16,7 @@ declare function Button({
|
|
|
17
16
|
...props
|
|
18
17
|
}: React.ComponentProps<"button"> & VariantProps<typeof buttonVariants> & {
|
|
19
18
|
asChild?: boolean;
|
|
20
|
-
}):
|
|
19
|
+
}): react_jsx_runtime0.JSX.Element;
|
|
21
20
|
//#endregion
|
|
22
21
|
export { Button, buttonVariants };
|
|
23
22
|
//# sourceMappingURL=button.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"button.d.ts","names":[],"sources":["../../../src/components/button/button.tsx"],"
|
|
1
|
+
{"version":3,"file":"button.d.ts","names":[],"sources":["../../../src/components/button/button.tsx"],"mappings":";;;;;;cAsBM,cAAA,GAAc,KAAA;;;IAmCnB,+BAAA,CAAA,SAAA;AAAA,iBAEQ,MAAA,CAAA;EACR,OAAA;EACA,SAAA;EACA,IAAA;EACA,OAAA;EAAA,GACG;AAAA,GACD,KAAA,CAAM,cAAA,aACR,YAAA,QAAoB,cAAA;EACnB,OAAA;AAAA,IACA,kBAAA,CAAA,GAAA,CAAA,OAAA"}
|
|
@@ -1,30 +1,29 @@
|
|
|
1
1
|
import { Separator } from "../separator/separator.js";
|
|
2
|
-
import * as
|
|
2
|
+
import * as react_jsx_runtime0 from "react/jsx-runtime";
|
|
3
3
|
import { VariantProps } from "class-variance-authority";
|
|
4
|
-
import * as
|
|
4
|
+
import * as class_variance_authority_types0 from "class-variance-authority/types";
|
|
5
5
|
|
|
6
6
|
//#region src/components/button-group/button-group.d.ts
|
|
7
|
-
|
|
8
7
|
declare const buttonGroupVariants: (props?: ({
|
|
9
|
-
orientation?: "
|
|
10
|
-
} &
|
|
8
|
+
orientation?: "horizontal" | "vertical" | null | undefined;
|
|
9
|
+
} & class_variance_authority_types0.ClassProp) | undefined) => string;
|
|
11
10
|
declare function ButtonGroup({
|
|
12
11
|
className,
|
|
13
12
|
orientation,
|
|
14
13
|
...props
|
|
15
|
-
}: React.ComponentProps<"div"> & VariantProps<typeof buttonGroupVariants>):
|
|
14
|
+
}: React.ComponentProps<"div"> & VariantProps<typeof buttonGroupVariants>): react_jsx_runtime0.JSX.Element;
|
|
16
15
|
declare function ButtonGroupSeparator({
|
|
17
16
|
className,
|
|
18
17
|
orientation,
|
|
19
18
|
...props
|
|
20
|
-
}: React.ComponentProps<typeof Separator>):
|
|
19
|
+
}: React.ComponentProps<typeof Separator>): react_jsx_runtime0.JSX.Element;
|
|
21
20
|
declare function ButtonGroupText({
|
|
22
21
|
asChild,
|
|
23
22
|
className,
|
|
24
23
|
...props
|
|
25
24
|
}: React.ComponentProps<"div"> & {
|
|
26
25
|
asChild?: boolean;
|
|
27
|
-
}):
|
|
26
|
+
}): react_jsx_runtime0.JSX.Element;
|
|
28
27
|
//#endregion
|
|
29
28
|
export { ButtonGroup, ButtonGroupSeparator, ButtonGroupText, buttonGroupVariants };
|
|
30
29
|
//# sourceMappingURL=button-group.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"button-group.d.ts","names":[],"sources":["../../../src/components/button-group/button-group.tsx"],"
|
|
1
|
+
{"version":3,"file":"button-group.d.ts","names":[],"sources":["../../../src/components/button-group/button-group.tsx"],"mappings":";;;;;;cAsBM,mBAAA,GAAmB,KAAA;;IAexB,+BAAA,CAAA,SAAA;AAAA,iBAEQ,WAAA,CAAA;EACR,SAAA;EACA,WAAA;EAAA,GACG;AAAA,GACD,KAAA,CAAM,cAAA,UAAwB,YAAA,QAAoB,mBAAA,IAAoB,kBAAA,CAAA,GAAA,CAAA,OAAA;AAAA,iBAYhE,oBAAA,CAAA;EACR,SAAA;EACA,WAAA;EAAA,GACG;AAAA,GACD,KAAA,CAAM,cAAA,QAAsB,SAAA,IAAU,kBAAA,CAAA,GAAA,CAAA,OAAA;AAAA,iBAchC,eAAA,CAAA;EACR,OAAA;EACA,SAAA;EAAA,GACG;AAAA,GACD,KAAA,CAAM,cAAA;EACR,OAAA;AAAA,IACA,kBAAA,CAAA,GAAA,CAAA,OAAA"}
|