@dendelion/func-ui 0.1.1 → 0.2.1
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/CHANGELOG.md +33 -0
- package/README.md +106 -10
- package/dist/components/alert/alert.d.ts +10 -0
- package/dist/components/alert/alert.d.ts.map +1 -0
- package/dist/components/alert/index.d.ts +3 -0
- package/dist/components/alert/index.d.ts.map +1 -0
- package/dist/components/breadcrumb/breadcrumb.d.ts +13 -0
- package/dist/components/breadcrumb/breadcrumb.d.ts.map +1 -0
- package/dist/components/breadcrumb/index.d.ts +3 -0
- package/dist/components/breadcrumb/index.d.ts.map +1 -0
- package/dist/components/checkbox/checkbox.d.ts +9 -0
- package/dist/components/checkbox/checkbox.d.ts.map +1 -0
- package/dist/components/checkbox/index.d.ts +3 -0
- package/dist/components/checkbox/index.d.ts.map +1 -0
- package/dist/components/chip/chip.d.ts +9 -0
- package/dist/components/chip/chip.d.ts.map +1 -0
- package/dist/components/chip/index.d.ts +3 -0
- package/dist/components/chip/index.d.ts.map +1 -0
- package/dist/components/circular-progress/circular-progress.d.ts +13 -0
- package/dist/components/circular-progress/circular-progress.d.ts.map +1 -0
- package/dist/components/circular-progress/index.d.ts +3 -0
- package/dist/components/circular-progress/index.d.ts.map +1 -0
- package/dist/components/code-block/code-block.d.ts +14 -0
- package/dist/components/code-block/code-block.d.ts.map +1 -0
- package/dist/components/code-block/index.d.ts +3 -0
- package/dist/components/code-block/index.d.ts.map +1 -0
- package/dist/components/copy-button/copy-button.d.ts +12 -0
- package/dist/components/copy-button/copy-button.d.ts.map +1 -0
- package/dist/components/copy-button/index.d.ts +3 -0
- package/dist/components/copy-button/index.d.ts.map +1 -0
- package/dist/components/data-table/data-table.d.ts +25 -0
- package/dist/components/data-table/data-table.d.ts.map +1 -0
- package/dist/components/data-table/index.d.ts +3 -0
- package/dist/components/data-table/index.d.ts.map +1 -0
- package/dist/components/divider/divider.d.ts +7 -0
- package/dist/components/divider/divider.d.ts.map +1 -0
- package/dist/components/divider/index.d.ts +3 -0
- package/dist/components/divider/index.d.ts.map +1 -0
- package/dist/components/drawer/drawer.d.ts +24 -0
- package/dist/components/drawer/drawer.d.ts.map +1 -0
- package/dist/components/drawer/index.d.ts +3 -0
- package/dist/components/drawer/index.d.ts.map +1 -0
- package/dist/components/empty-state/empty-state.d.ts +11 -0
- package/dist/components/empty-state/empty-state.d.ts.map +1 -0
- package/dist/components/empty-state/index.d.ts +3 -0
- package/dist/components/empty-state/index.d.ts.map +1 -0
- package/dist/components/file-button/file-button.d.ts +8 -0
- package/dist/components/file-button/file-button.d.ts.map +1 -0
- package/dist/components/file-button/index.d.ts +3 -0
- package/dist/components/file-button/index.d.ts.map +1 -0
- package/dist/components/glass/glass.d.ts.map +1 -1
- package/dist/components/icon/icon.d.ts +9 -0
- package/dist/components/icon/icon.d.ts.map +1 -0
- package/dist/components/icon/index.d.ts +3 -0
- package/dist/components/icon/index.d.ts.map +1 -0
- package/dist/components/inline-code/index.d.ts +3 -0
- package/dist/components/inline-code/index.d.ts.map +1 -0
- package/dist/components/inline-code/inline-code.d.ts +4 -0
- package/dist/components/inline-code/inline-code.d.ts.map +1 -0
- package/dist/components/input/index.d.ts +3 -0
- package/dist/components/input/index.d.ts.map +1 -0
- package/dist/components/input/input.d.ts +9 -0
- package/dist/components/input/input.d.ts.map +1 -0
- package/dist/components/kbd/index.d.ts +3 -0
- package/dist/components/kbd/index.d.ts.map +1 -0
- package/dist/components/kbd/kbd.d.ts +4 -0
- package/dist/components/kbd/kbd.d.ts.map +1 -0
- package/dist/components/link-button/index.d.ts +3 -0
- package/dist/components/link-button/index.d.ts.map +1 -0
- package/dist/components/link-button/link-button.d.ts +9 -0
- package/dist/components/link-button/link-button.d.ts.map +1 -0
- package/dist/components/list-item/index.d.ts +3 -0
- package/dist/components/list-item/index.d.ts.map +1 -0
- package/dist/components/list-item/list-item.d.ts +9 -0
- package/dist/components/list-item/list-item.d.ts.map +1 -0
- package/dist/components/menu/index.d.ts +3 -0
- package/dist/components/menu/index.d.ts.map +1 -0
- package/dist/components/menu/menu.d.ts +22 -0
- package/dist/components/menu/menu.d.ts.map +1 -0
- package/dist/components/modal/index.d.ts +3 -0
- package/dist/components/modal/index.d.ts.map +1 -0
- package/dist/components/modal/modal.d.ts +24 -0
- package/dist/components/modal/modal.d.ts.map +1 -0
- package/dist/components/progress/index.d.ts +3 -0
- package/dist/components/progress/index.d.ts.map +1 -0
- package/dist/components/progress/progress.d.ts +9 -0
- package/dist/components/progress/progress.d.ts.map +1 -0
- package/dist/components/radio/index.d.ts +5 -0
- package/dist/components/radio/index.d.ts.map +1 -0
- package/dist/components/radio/radio-group.d.ts +21 -0
- package/dist/components/radio/radio-group.d.ts.map +1 -0
- package/dist/components/radio/radio.d.ts +9 -0
- package/dist/components/radio/radio.d.ts.map +1 -0
- package/dist/components/segmented-control/index.d.ts +3 -0
- package/dist/components/segmented-control/index.d.ts.map +1 -0
- package/dist/components/segmented-control/segmented-control.d.ts +15 -0
- package/dist/components/segmented-control/segmented-control.d.ts.map +1 -0
- package/dist/components/select/index.d.ts +3 -0
- package/dist/components/select/index.d.ts.map +1 -0
- package/dist/components/select/select.d.ts +23 -0
- package/dist/components/select/select.d.ts.map +1 -0
- package/dist/components/skeleton/index.d.ts +3 -0
- package/dist/components/skeleton/index.d.ts.map +1 -0
- package/dist/components/skeleton/skeleton.d.ts +8 -0
- package/dist/components/skeleton/skeleton.d.ts.map +1 -0
- package/dist/components/slider/index.d.ts +3 -0
- package/dist/components/slider/index.d.ts.map +1 -0
- package/dist/components/slider/slider.d.ts +19 -0
- package/dist/components/slider/slider.d.ts.map +1 -0
- package/dist/components/spinner/index.d.ts +3 -0
- package/dist/components/spinner/index.d.ts.map +1 -0
- package/dist/components/spinner/spinner.d.ts +7 -0
- package/dist/components/spinner/spinner.d.ts.map +1 -0
- package/dist/components/status-dot/index.d.ts +3 -0
- package/dist/components/status-dot/index.d.ts.map +1 -0
- package/dist/components/status-dot/status-dot.d.ts +10 -0
- package/dist/components/status-dot/status-dot.d.ts.map +1 -0
- package/dist/components/switch/index.d.ts +3 -0
- package/dist/components/switch/index.d.ts.map +1 -0
- package/dist/components/switch/switch.d.ts +9 -0
- package/dist/components/switch/switch.d.ts.map +1 -0
- package/dist/components/tabs/index.d.ts +3 -0
- package/dist/components/tabs/index.d.ts.map +1 -0
- package/dist/components/tabs/tabs.d.ts +21 -0
- package/dist/components/tabs/tabs.d.ts.map +1 -0
- package/dist/components/textarea/index.d.ts +3 -0
- package/dist/components/textarea/index.d.ts.map +1 -0
- package/dist/components/textarea/textarea.d.ts +9 -0
- package/dist/components/textarea/textarea.d.ts.map +1 -0
- package/dist/index.cjs +3 -1
- package/dist/index.cjs.map +1 -1
- package/dist/index.css +1 -1
- package/dist/index.d.ts +62 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.mjs +1981 -329
- package/dist/index.mjs.map +1 -1
- package/package.json +5 -4
- package/src/styles/_mixins.scss +21 -5
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,38 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## [0.2.1](https://github.com/adooone/func-ui/compare/v0.2.0...v0.2.1) (2026-10-08)
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
### Bug Fixes
|
|
7
|
+
|
|
8
|
+
* **desk:** run desk commands through pnpm scripts ([ebd95bf](https://github.com/adooone/func-ui/commit/ebd95bfe0c55c4c78c9ed4141f255bd8fa448147))
|
|
9
|
+
* **showcase:** import globals.scss directly so the built showcase is styled ([e645104](https://github.com/adooone/func-ui/commit/e645104bbba05d1393191fc7b026cee6e1265747))
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
### Documentation
|
|
13
|
+
|
|
14
|
+
* **ideas:** Record the func-ui Vercel project and showcase URL (IDEA-11) ([7531815](https://github.com/adooone/func-ui/commit/753181585ab38b152fb8e3d9233f1b3b628c1210))
|
|
15
|
+
* **ideas:** retitle IDEA-10 and IDEA-12 to fit the title rule ([16a342a](https://github.com/adooone/func-ui/commit/16a342afb11c53d19bc5c55ad4e59e5bf3aed12d))
|
|
16
|
+
* **ideas:** Ship 0.2.0 and bring the package docs up to date — plan ([4165809](https://github.com/adooone/func-ui/commit/4165809e8a28ff3949a641069bd66ca8a38e202b))
|
|
17
|
+
|
|
18
|
+
## [0.2.0](https://github.com/adooone/func-ui/compare/v0.1.1...v0.2.0) (2026-10-07)
|
|
19
|
+
|
|
20
|
+
|
|
21
|
+
### Features
|
|
22
|
+
|
|
23
|
+
* **release:** Audit radio apps' actual mojo-ui prop usage before finalizing each API ([d16c323](https://github.com/adooone/func-ui/commit/d16c323ac221be1c3fb405caa5dd1fd8fede3a28))
|
|
24
|
+
* **release:** CircularProgress (determinate + indeterminate) ([8b88d92](https://github.com/adooone/func-ui/commit/8b88d92b98d66acb09a376c51d619cb11333854c))
|
|
25
|
+
* **release:** DataTable (columns, cell renderers; scope after auditing radio admin usage) ([4d695fc](https://github.com/adooone/func-ui/commit/4d695fc869e649f463ec1fc1acd1156a3cd8eba1))
|
|
26
|
+
* **release:** Menu separators to complete the Popup/PopupItem patterns (trigger, items, align already shipped) ([1f68d85](https://github.com/adooone/func-ui/commit/1f68d85f7d7372ef71354cf8c39c92004c1a387c))
|
|
27
|
+
* **release:** Radio + RadioGroup ([fd69875](https://github.com/adooone/func-ui/commit/fd69875939782554b3b7c68b97f63b2049209ef4))
|
|
28
|
+
* **release:** Slider (controlled value, min/max/step, keyboard, vertical option for volume) ([e259b1e](https://github.com/adooone/func-ui/commit/e259b1e2e719ee4d25b0f5e985adf5ea9594dbbc))
|
|
29
|
+
* **release:** Tabs (ARIA tablist, controlled/uncontrolled) ([59e751f](https://github.com/adooone/func-ui/commit/59e751fe8d46e09de30476945e3f63de3031015e))
|
|
30
|
+
|
|
31
|
+
|
|
32
|
+
### Documentation
|
|
33
|
+
|
|
34
|
+
* **ideas:** Radio-parity components — plan ([3943944](https://github.com/adooone/func-ui/commit/3943944fa56dc798d9f516f2baffe7f06f60f7bf))
|
|
35
|
+
|
|
3
36
|
## [0.1.1](https://github.com/adooone/func-ui/compare/v0.1.0...v0.1.1) (2026-08-04)
|
|
4
37
|
|
|
5
38
|
|
package/README.md
CHANGED
|
@@ -5,20 +5,29 @@ and a **lava-lamp glow**. Extracted from the [df.adoo.one](https://df.adoo.one)
|
|
|
5
5
|
|
|
6
6
|
> `@dendelion/func-ui` · React 18 · Tailwind-friendly · CSS-modules under the hood
|
|
7
7
|
|
|
8
|
+
**Showcase:** not hosted yet — run `pnpm dev` for the local tour.
|
|
9
|
+
|
|
8
10
|
## Install
|
|
9
11
|
|
|
10
12
|
```bash
|
|
11
13
|
pnpm add @dendelion/func-ui
|
|
12
14
|
```
|
|
13
15
|
|
|
16
|
+
Two imports are required: the components and the stylesheet. The JS bundle does
|
|
17
|
+
**not** pull the CSS in for you, so skipping the second line leaves everything
|
|
18
|
+
unstyled.
|
|
19
|
+
|
|
14
20
|
```tsx
|
|
15
|
-
import { Backdrop, Glass } from '@dendelion/func-ui';
|
|
21
|
+
import { Backdrop, Button, Glass } from '@dendelion/func-ui';
|
|
16
22
|
import '@dendelion/func-ui/dist/index.css';
|
|
17
23
|
|
|
18
24
|
export default function App() {
|
|
19
25
|
return (
|
|
20
26
|
<Backdrop>
|
|
21
|
-
<Glass className="p-12">
|
|
27
|
+
<Glass className="p-12">
|
|
28
|
+
Frosted. Noisy. Cosy.
|
|
29
|
+
<Button>Give up the funk</Button>
|
|
30
|
+
</Glass>
|
|
22
31
|
</Backdrop>
|
|
23
32
|
);
|
|
24
33
|
}
|
|
@@ -27,25 +36,112 @@ export default function App() {
|
|
|
27
36
|
Toggle dark mode by adding/removing the `dark` class on `<html>` — every token
|
|
28
37
|
(`--fui-*`) retints automatically.
|
|
29
38
|
|
|
30
|
-
##
|
|
39
|
+
## Fonts
|
|
31
40
|
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
41
|
+
The stylesheet declares `@font-face` for Montserrat Alternates (body), KyivType
|
|
42
|
+
Serif (titles) and Tiny5 (pixel accents), pointing at absolute `/fonts/*.woff2`
|
|
43
|
+
URLs. The package ships the files; your app has to serve them from that path:
|
|
44
|
+
|
|
45
|
+
```bash
|
|
46
|
+
cp -r node_modules/@dendelion/func-ui/dist/fonts public/fonts
|
|
47
|
+
```
|
|
38
48
|
|
|
39
|
-
|
|
49
|
+
Without them the components still work — the browser just falls back to the
|
|
50
|
+
next family in each stack.
|
|
40
51
|
|
|
41
52
|
## Tailwind preset
|
|
42
53
|
|
|
54
|
+
Optional, and only needed if you want the library's tokens as Tailwind
|
|
55
|
+
utilities (`font-title`, `text-accent`, `shadow-offset`, `animate-grain`, …).
|
|
56
|
+
|
|
43
57
|
```ts
|
|
44
58
|
// tailwind.config.ts
|
|
45
59
|
import { funcPreset } from '@dendelion/func-ui/tailwind';
|
|
46
60
|
export default { presets: [funcPreset], content: [/* ... */] };
|
|
47
61
|
```
|
|
48
62
|
|
|
63
|
+
## Components
|
|
64
|
+
|
|
65
|
+
### Ambient
|
|
66
|
+
|
|
67
|
+
| Component | What it is |
|
|
68
|
+
| --- | --- |
|
|
69
|
+
| `Grain` | Drifting film-grain overlay |
|
|
70
|
+
| `Glow` | The lava-lamp gooey glow (colour follows `--fui-glow`) |
|
|
71
|
+
| `Backdrop` | Full-bleed ambient shell — composes `Glow` + `Grain` behind content |
|
|
72
|
+
| `Glass` | The frosted translucent surface primitive |
|
|
73
|
+
|
|
74
|
+
### Actions
|
|
75
|
+
|
|
76
|
+
| Component | What it is |
|
|
77
|
+
| --- | --- |
|
|
78
|
+
| `Button` | The primary action, in the offset-shadow style |
|
|
79
|
+
| `IconButton` | Square icon-only button |
|
|
80
|
+
| `LinkButton` | An anchor that looks like a `Button` |
|
|
81
|
+
| `FileButton` | A button wrapping a hidden file input (`onFiles`) |
|
|
82
|
+
| `CopyButton` | Copies text to the clipboard and confirms inline |
|
|
83
|
+
|
|
84
|
+
### Forms
|
|
85
|
+
|
|
86
|
+
| Component | What it is |
|
|
87
|
+
| --- | --- |
|
|
88
|
+
| `Input` | Single-line text field with label and error slots |
|
|
89
|
+
| `Textarea` | Multi-line counterpart |
|
|
90
|
+
| `Select` | Combobox over `SelectOption[]`, with a hidden native select for form posts |
|
|
91
|
+
| `Checkbox` | Checkbox with label |
|
|
92
|
+
| `Radio` / `RadioGroup` | A single radio, or a managed group from `RadioOption[]` |
|
|
93
|
+
| `Switch` | On/off toggle |
|
|
94
|
+
| `Slider` | Range input, horizontal or vertical |
|
|
95
|
+
|
|
96
|
+
### Overlays
|
|
97
|
+
|
|
98
|
+
| Component | What it is |
|
|
99
|
+
| --- | --- |
|
|
100
|
+
| `Tooltip` | Hover/focus tooltip around any single child |
|
|
101
|
+
| `ToastProvider` / `useToast` | Toast host plus the hook that pushes them |
|
|
102
|
+
| `Modal` | Centred dialog with a glass panel |
|
|
103
|
+
| `Drawer` | Panel that slides in from any side |
|
|
104
|
+
| `Menu` | Dropdown menu of items and separators |
|
|
105
|
+
|
|
106
|
+
### Progress and status
|
|
107
|
+
|
|
108
|
+
| Component | What it is |
|
|
109
|
+
| --- | --- |
|
|
110
|
+
| `Stamp` | Small status label — the five semantic variants |
|
|
111
|
+
| `StatusDot` | Just the dot, optionally pulsing |
|
|
112
|
+
| `Alert` | Block-level message, dismissible |
|
|
113
|
+
| `Spinner` | Indeterminate spinner |
|
|
114
|
+
| `Progress` | Linear progress bar |
|
|
115
|
+
| `CircularProgress` | Ring progress |
|
|
116
|
+
| `Skeleton` | Loading placeholder (text, rect, circle) |
|
|
117
|
+
| `EmptyState` | Loading / empty / error panel with icon, title and action |
|
|
118
|
+
|
|
119
|
+
### Nav and data
|
|
120
|
+
|
|
121
|
+
| Component | What it is |
|
|
122
|
+
| --- | --- |
|
|
123
|
+
| `Card` | Content surface, optionally clickable |
|
|
124
|
+
| `ListItem` | Dense selectable row with icon and action slots |
|
|
125
|
+
| `Divider` | Rule, horizontal or vertical, with an optional label |
|
|
126
|
+
| `Chip` | Toggleable filter pill |
|
|
127
|
+
| `SegmentedControl` | Exclusive choice between a few options |
|
|
128
|
+
| `Tabs` | Tab strip plus panels, horizontal or vertical |
|
|
129
|
+
| `Breadcrumb` | Trail of links ending in the current page |
|
|
130
|
+
| `DataTable` | Typed table — `DataTableColumn<T>[]` over your rows |
|
|
131
|
+
|
|
132
|
+
### Text
|
|
133
|
+
|
|
134
|
+
| Component | What it is |
|
|
135
|
+
| --- | --- |
|
|
136
|
+
| `Kbd` | Keycap |
|
|
137
|
+
| `InlineCode` | Inline code span |
|
|
138
|
+
| `CodeBlock` | Multi-line code with optional add/remove diff markers |
|
|
139
|
+
|
|
140
|
+
### Also exported
|
|
141
|
+
|
|
142
|
+
`Icon` (the built-in `IconName` set) and `cn`, the `clsx` + `tailwind-merge`
|
|
143
|
+
class joiner the components use internally.
|
|
144
|
+
|
|
49
145
|
## Develop
|
|
50
146
|
|
|
51
147
|
```bash
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { HTMLAttributes, ReactNode } from 'react';
|
|
2
|
+
export type AlertVariant = 'info' | 'success' | 'warning' | 'error';
|
|
3
|
+
export interface AlertProps extends HTMLAttributes<HTMLDivElement> {
|
|
4
|
+
variant?: AlertVariant;
|
|
5
|
+
dismissible?: boolean;
|
|
6
|
+
onDismiss?: () => void;
|
|
7
|
+
children: ReactNode;
|
|
8
|
+
}
|
|
9
|
+
export declare function Alert({ variant, dismissible, onDismiss, className, children, ...props }: AlertProps): import("react").JSX.Element;
|
|
10
|
+
//# 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,EAAE,cAAc,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAIvD,MAAM,MAAM,YAAY,GAAG,MAAM,GAAG,SAAS,GAAG,SAAS,GAAG,OAAO,CAAC;AAEpE,MAAM,WAAW,UAAW,SAAQ,cAAc,CAAC,cAAc,CAAC;IAChE,OAAO,CAAC,EAAE,YAAY,CAAC;IACvB,WAAW,CAAC,EAAE,OAAO,CAAC;IACtB,SAAS,CAAC,EAAE,MAAM,IAAI,CAAC;IACvB,QAAQ,EAAE,SAAS,CAAC;CACrB;AAyBD,wBAAgB,KAAK,CAAC,EACpB,OAAgB,EAChB,WAAmB,EACnB,SAAS,EACT,SAAS,EACT,QAAQ,EACR,GAAG,KAAK,EACT,EAAE,UAAU,+BAgBZ"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/alert/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,EAAE,MAAM,SAAS,CAAC;AAChC,YAAY,EAAE,UAAU,EAAE,YAAY,EAAE,MAAM,SAAS,CAAC"}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { HTMLAttributes, ReactNode } from 'react';
|
|
2
|
+
export interface BreadcrumbItem {
|
|
3
|
+
label: ReactNode;
|
|
4
|
+
href?: string;
|
|
5
|
+
onClick?: () => void;
|
|
6
|
+
current?: boolean;
|
|
7
|
+
}
|
|
8
|
+
export interface BreadcrumbProps extends Omit<HTMLAttributes<HTMLElement>, 'children'> {
|
|
9
|
+
items: BreadcrumbItem[];
|
|
10
|
+
separator?: ReactNode;
|
|
11
|
+
}
|
|
12
|
+
export declare function Breadcrumb({ items, separator, className, ...props }: BreadcrumbProps): import("react").JSX.Element;
|
|
13
|
+
//# sourceMappingURL=breadcrumb.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"breadcrumb.d.ts","sourceRoot":"","sources":["../../../src/components/breadcrumb/breadcrumb.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAIvD,MAAM,WAAW,cAAc;IAC7B,KAAK,EAAE,SAAS,CAAC;IACjB,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,OAAO,CAAC,EAAE,MAAM,IAAI,CAAC;IACrB,OAAO,CAAC,EAAE,OAAO,CAAC;CACnB;AAED,MAAM,WAAW,eAAgB,SAAQ,IAAI,CAAC,cAAc,CAAC,WAAW,CAAC,EAAE,UAAU,CAAC;IACpF,KAAK,EAAE,cAAc,EAAE,CAAC;IACxB,SAAS,CAAC,EAAE,SAAS,CAAC;CACvB;AA2BD,wBAAgB,UAAU,CAAC,EAAE,KAAK,EAAE,SAAe,EAAE,SAAS,EAAE,GAAG,KAAK,EAAE,EAAE,eAAe,+BA2B1F"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/breadcrumb/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AAC1C,YAAY,EAAE,cAAc,EAAE,eAAe,EAAE,MAAM,cAAc,CAAC"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { InputHTMLAttributes } from 'react';
|
|
2
|
+
export interface CheckboxProps extends Omit<InputHTMLAttributes<HTMLInputElement>, 'size' | 'type'> {
|
|
3
|
+
label?: string;
|
|
4
|
+
helperText?: string;
|
|
5
|
+
error?: string;
|
|
6
|
+
size?: 'sm' | 'md';
|
|
7
|
+
}
|
|
8
|
+
export declare const Checkbox: import('react').ForwardRefExoticComponent<CheckboxProps & import('react').RefAttributes<HTMLInputElement>>;
|
|
9
|
+
//# 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,EAAE,KAAK,mBAAmB,EAAqB,MAAM,OAAO,CAAC;AAIpE,MAAM,WAAW,aACf,SAAQ,IAAI,CAAC,mBAAmB,CAAC,gBAAgB,CAAC,EAAE,MAAM,GAAG,MAAM,CAAC;IACpE,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,IAAI,CAAC,EAAE,IAAI,GAAG,IAAI,CAAC;CACpB;AAED,eAAO,MAAM,QAAQ,4GAoCnB,CAAC"}
|
|
@@ -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,CAAC;AACtC,YAAY,EAAE,aAAa,EAAE,MAAM,YAAY,CAAC"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { ButtonHTMLAttributes, ReactNode } from 'react';
|
|
2
|
+
export interface ChipProps extends ButtonHTMLAttributes<HTMLButtonElement> {
|
|
3
|
+
selected?: boolean;
|
|
4
|
+
size?: 'sm' | 'md';
|
|
5
|
+
icon?: ReactNode;
|
|
6
|
+
onToggle?: (selected: boolean) => void;
|
|
7
|
+
}
|
|
8
|
+
export declare const Chip: import('react').ForwardRefExoticComponent<ChipProps & import('react').RefAttributes<HTMLButtonElement>>;
|
|
9
|
+
//# sourceMappingURL=chip.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"chip.d.ts","sourceRoot":"","sources":["../../../src/components/chip/chip.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,oBAAoB,EAAE,KAAK,SAAS,EAAc,MAAM,OAAO,CAAC;AAI9E,MAAM,WAAW,SAAU,SAAQ,oBAAoB,CAAC,iBAAiB,CAAC;IACxE,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,IAAI,CAAC,EAAE,IAAI,GAAG,IAAI,CAAC;IACnB,IAAI,CAAC,EAAE,SAAS,CAAC;IACjB,QAAQ,CAAC,EAAE,CAAC,QAAQ,EAAE,OAAO,KAAK,IAAI,CAAC;CACxC;AAED,eAAO,MAAM,IAAI,yGAwBf,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/chip/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,IAAI,EAAE,MAAM,QAAQ,CAAC;AAC9B,YAAY,EAAE,SAAS,EAAE,MAAM,QAAQ,CAAC"}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { HTMLAttributes, ReactNode } from 'react';
|
|
2
|
+
export interface CircularProgressProps extends Omit<HTMLAttributes<HTMLSpanElement>, 'color'> {
|
|
3
|
+
value?: number;
|
|
4
|
+
max?: number;
|
|
5
|
+
size?: number;
|
|
6
|
+
strokeWidth?: number;
|
|
7
|
+
color?: string;
|
|
8
|
+
label?: string;
|
|
9
|
+
showValue?: boolean;
|
|
10
|
+
formatValue?: (percent: number, value: number) => ReactNode;
|
|
11
|
+
}
|
|
12
|
+
export declare function CircularProgress({ value, max, size, strokeWidth, color, label, showValue, formatValue, className, style, ...props }: CircularProgressProps): import("react").JSX.Element;
|
|
13
|
+
//# sourceMappingURL=circular-progress.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"circular-progress.d.ts","sourceRoot":"","sources":["../../../src/components/circular-progress/circular-progress.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAiB,cAAc,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAItE,MAAM,WAAW,qBAAsB,SAAQ,IAAI,CAAC,cAAc,CAAC,eAAe,CAAC,EAAE,OAAO,CAAC;IAC3F,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,GAAG,CAAC,EAAE,MAAM,CAAC;IACb,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,WAAW,CAAC,EAAE,CAAC,OAAO,EAAE,MAAM,EAAE,KAAK,EAAE,MAAM,KAAK,SAAS,CAAC;CAC7D;AAED,wBAAgB,gBAAgB,CAAC,EAC/B,KAAK,EACL,GAAS,EACT,IAAS,EACT,WAAe,EACf,KAAK,EACL,KAAiB,EACjB,SAAiB,EACjB,WAAW,EACX,SAAS,EACT,KAAK,EACL,GAAG,KAAK,EACT,EAAE,qBAAqB,+BAiDvB"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/circular-progress/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,gBAAgB,EAAE,MAAM,qBAAqB,CAAC;AACvD,YAAY,EAAE,qBAAqB,EAAE,MAAM,qBAAqB,CAAC"}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { HTMLAttributes } from 'react';
|
|
2
|
+
export type CodeDiff = 'add' | 'remove';
|
|
3
|
+
export interface CodeLine {
|
|
4
|
+
content: string;
|
|
5
|
+
diff?: CodeDiff;
|
|
6
|
+
}
|
|
7
|
+
export interface CodeBlockProps extends Omit<HTMLAttributes<HTMLDivElement>, 'children'> {
|
|
8
|
+
code?: string;
|
|
9
|
+
lines?: CodeLine[];
|
|
10
|
+
filename?: string;
|
|
11
|
+
copyable?: boolean;
|
|
12
|
+
}
|
|
13
|
+
export declare function CodeBlock({ code, lines, filename, copyable, className, ...props }: CodeBlockProps): import("react").JSX.Element;
|
|
14
|
+
//# sourceMappingURL=code-block.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"code-block.d.ts","sourceRoot":"","sources":["../../../src/components/code-block/code-block.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,cAAc,EAAY,MAAM,OAAO,CAAC;AAItD,MAAM,MAAM,QAAQ,GAAG,KAAK,GAAG,QAAQ,CAAC;AAExC,MAAM,WAAW,QAAQ;IACvB,OAAO,EAAE,MAAM,CAAC;IAChB,IAAI,CAAC,EAAE,QAAQ,CAAC;CACjB;AAED,MAAM,WAAW,cAAe,SAAQ,IAAI,CAAC,cAAc,CAAC,cAAc,CAAC,EAAE,UAAU,CAAC;IACtF,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,KAAK,CAAC,EAAE,QAAQ,EAAE,CAAC;IACnB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,QAAQ,CAAC,EAAE,OAAO,CAAC;CACpB;AAID,wBAAgB,SAAS,CAAC,EACxB,IAAI,EACJ,KAAK,EACL,QAAQ,EACR,QAAe,EACf,SAAS,EACT,GAAG,KAAK,EACT,EAAE,cAAc,+BA6DhB"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/code-block/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,cAAc,CAAC;AACzC,YAAY,EAAE,cAAc,EAAE,QAAQ,EAAE,QAAQ,EAAE,MAAM,cAAc,CAAC"}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { ButtonHTMLAttributes, ReactNode } from 'react';
|
|
2
|
+
export interface CopyButtonProps extends Omit<ButtonHTMLAttributes<HTMLButtonElement>, 'value'> {
|
|
3
|
+
value: string;
|
|
4
|
+
label?: string;
|
|
5
|
+
copiedLabel?: string;
|
|
6
|
+
icon?: ReactNode;
|
|
7
|
+
copiedIcon?: ReactNode;
|
|
8
|
+
timeout?: number;
|
|
9
|
+
onCopy?: () => void;
|
|
10
|
+
}
|
|
11
|
+
export declare const CopyButton: import('react').ForwardRefExoticComponent<CopyButtonProps & import('react').RefAttributes<HTMLButtonElement>>;
|
|
12
|
+
//# sourceMappingURL=copy-button.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"copy-button.d.ts","sourceRoot":"","sources":["../../../src/components/copy-button/copy-button.tsx"],"names":[],"mappings":"AAAA,OAAO,EACL,KAAK,oBAAoB,EAEzB,KAAK,SAAS,EAKf,MAAM,OAAO,CAAC;AAIf,MAAM,WAAW,eAAgB,SAAQ,IAAI,CAAC,oBAAoB,CAAC,iBAAiB,CAAC,EAAE,OAAO,CAAC;IAC7F,KAAK,EAAE,MAAM,CAAC;IACd,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,IAAI,CAAC,EAAE,SAAS,CAAC;IACjB,UAAU,CAAC,EAAE,SAAS,CAAC;IACvB,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,MAAM,CAAC,EAAE,MAAM,IAAI,CAAC;CACrB;AAED,eAAO,MAAM,UAAU,+GAuDrB,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/copy-button/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,eAAe,CAAC;AAC3C,YAAY,EAAE,eAAe,EAAE,MAAM,eAAe,CAAC"}
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import { HTMLAttributes, ReactNode } from 'react';
|
|
2
|
+
export type DataTableAlign = 'left' | 'center' | 'right';
|
|
3
|
+
export interface DataTableColumn<T> {
|
|
4
|
+
key: string;
|
|
5
|
+
header: ReactNode;
|
|
6
|
+
cell: (row: T) => ReactNode;
|
|
7
|
+
width?: number | string;
|
|
8
|
+
align?: DataTableAlign;
|
|
9
|
+
}
|
|
10
|
+
export interface DataTableProps<T> extends Omit<HTMLAttributes<HTMLDivElement>, 'children'> {
|
|
11
|
+
data: T[];
|
|
12
|
+
columns: DataTableColumn<T>[];
|
|
13
|
+
keyExtractor: (row: T) => string;
|
|
14
|
+
striped?: boolean;
|
|
15
|
+
hoverable?: boolean;
|
|
16
|
+
compact?: boolean;
|
|
17
|
+
loading?: boolean;
|
|
18
|
+
loadingRows?: number;
|
|
19
|
+
emptyMessage?: ReactNode;
|
|
20
|
+
caption?: ReactNode;
|
|
21
|
+
rowClassName?: string | ((row: T) => string);
|
|
22
|
+
onRowClick?: (row: T) => void;
|
|
23
|
+
}
|
|
24
|
+
export declare function DataTable<T>({ data, columns, keyExtractor, striped, hoverable, compact, loading, loadingRows, emptyMessage, caption, rowClassName, onRowClick, className, ...props }: DataTableProps<T>): import("react").JSX.Element;
|
|
25
|
+
//# sourceMappingURL=data-table.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"data-table.d.ts","sourceRoot":"","sources":["../../../src/components/data-table/data-table.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAsB,KAAK,cAAc,EAAE,KAAK,SAAS,EAAW,MAAM,OAAO,CAAC;AAKzF,MAAM,MAAM,cAAc,GAAG,MAAM,GAAG,QAAQ,GAAG,OAAO,CAAC;AAEzD,MAAM,WAAW,eAAe,CAAC,CAAC;IAChC,GAAG,EAAE,MAAM,CAAC;IACZ,MAAM,EAAE,SAAS,CAAC;IAClB,IAAI,EAAE,CAAC,GAAG,EAAE,CAAC,KAAK,SAAS,CAAC;IAC5B,KAAK,CAAC,EAAE,MAAM,GAAG,MAAM,CAAC;IACxB,KAAK,CAAC,EAAE,cAAc,CAAC;CACxB;AAED,MAAM,WAAW,cAAc,CAAC,CAAC,CAAE,SAAQ,IAAI,CAAC,cAAc,CAAC,cAAc,CAAC,EAAE,UAAU,CAAC;IACzF,IAAI,EAAE,CAAC,EAAE,CAAC;IACV,OAAO,EAAE,eAAe,CAAC,CAAC,CAAC,EAAE,CAAC;IAC9B,YAAY,EAAE,CAAC,GAAG,EAAE,CAAC,KAAK,MAAM,CAAC;IACjC,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,YAAY,CAAC,EAAE,SAAS,CAAC;IACzB,OAAO,CAAC,EAAE,SAAS,CAAC;IACpB,YAAY,CAAC,EAAE,MAAM,GAAG,CAAC,CAAC,GAAG,EAAE,CAAC,KAAK,MAAM,CAAC,CAAC;IAC7C,UAAU,CAAC,EAAE,CAAC,GAAG,EAAE,CAAC,KAAK,IAAI,CAAC;CAC/B;AAED,wBAAgB,SAAS,CAAC,CAAC,EAAE,EAC3B,IAAI,EACJ,OAAO,EACP,YAAY,EACZ,OAAc,EACd,SAAgB,EAChB,OAAe,EACf,OAAe,EACf,WAAe,EACf,YAAwB,EACxB,OAAO,EACP,YAAY,EACZ,UAAU,EACV,SAAS,EACT,GAAG,KAAK,EACT,EAAE,cAAc,CAAC,CAAC,CAAC,+BAoFnB"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/data-table/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,cAAc,CAAC;AACzC,YAAY,EAAE,cAAc,EAAE,eAAe,EAAE,cAAc,EAAE,MAAM,cAAc,CAAC"}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { HTMLAttributes, ReactNode } from 'react';
|
|
2
|
+
export interface DividerProps extends HTMLAttributes<HTMLElement> {
|
|
3
|
+
orientation?: 'horizontal' | 'vertical';
|
|
4
|
+
label?: ReactNode;
|
|
5
|
+
}
|
|
6
|
+
export declare function Divider({ orientation, label, className, ...props }: DividerProps): import("react").JSX.Element;
|
|
7
|
+
//# sourceMappingURL=divider.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"divider.d.ts","sourceRoot":"","sources":["../../../src/components/divider/divider.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAIvD,MAAM,WAAW,YAAa,SAAQ,cAAc,CAAC,WAAW,CAAC;IAC/D,WAAW,CAAC,EAAE,YAAY,GAAG,UAAU,CAAC;IACxC,KAAK,CAAC,EAAE,SAAS,CAAC;CACnB;AAED,wBAAgB,OAAO,CAAC,EAAE,WAA0B,EAAE,KAAK,EAAE,SAAS,EAAE,GAAG,KAAK,EAAE,EAAE,YAAY,+BAkB/F"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/divider/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AACpC,YAAY,EAAE,YAAY,EAAE,MAAM,WAAW,CAAC"}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import { ReactNode } from 'react';
|
|
2
|
+
export type DrawerSide = 'left' | 'right' | 'top' | 'bottom';
|
|
3
|
+
export interface DrawerProps {
|
|
4
|
+
open: boolean;
|
|
5
|
+
onClose: () => void;
|
|
6
|
+
side?: DrawerSide;
|
|
7
|
+
title?: string;
|
|
8
|
+
size?: 'sm' | 'md' | 'lg';
|
|
9
|
+
children: ReactNode;
|
|
10
|
+
className?: string;
|
|
11
|
+
}
|
|
12
|
+
interface DrawerSlotProps {
|
|
13
|
+
children: ReactNode;
|
|
14
|
+
className?: string;
|
|
15
|
+
}
|
|
16
|
+
declare function DrawerRoot({ open, onClose, side, title, size, children, className, }: DrawerProps): import('react').ReactPortal | null;
|
|
17
|
+
declare function DrawerBody({ children, className }: DrawerSlotProps): import("react").JSX.Element;
|
|
18
|
+
declare function DrawerFooter({ children, className }: DrawerSlotProps): import("react").JSX.Element;
|
|
19
|
+
export declare const Drawer: typeof DrawerRoot & {
|
|
20
|
+
Body: typeof DrawerBody;
|
|
21
|
+
Footer: typeof DrawerFooter;
|
|
22
|
+
};
|
|
23
|
+
export {};
|
|
24
|
+
//# sourceMappingURL=drawer.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"drawer.d.ts","sourceRoot":"","sources":["../../../src/components/drawer/drawer.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,SAAS,EAA4B,MAAM,OAAO,CAAC;AAQjE,MAAM,MAAM,UAAU,GAAG,MAAM,GAAG,OAAO,GAAG,KAAK,GAAG,QAAQ,CAAC;AAE7D,MAAM,WAAW,WAAW;IAC1B,IAAI,EAAE,OAAO,CAAC;IACd,OAAO,EAAE,MAAM,IAAI,CAAC;IACpB,IAAI,CAAC,EAAE,UAAU,CAAC;IAClB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,IAAI,CAAC,EAAE,IAAI,GAAG,IAAI,GAAG,IAAI,CAAC;IAC1B,QAAQ,EAAE,SAAS,CAAC;IACpB,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAED,UAAU,eAAe;IACvB,QAAQ,EAAE,SAAS,CAAC;IACpB,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAED,iBAAS,UAAU,CAAC,EAClB,IAAI,EACJ,OAAO,EACP,IAAc,EACd,KAAK,EACL,IAAW,EACX,QAAQ,EACR,SAAS,GACV,EAAE,WAAW,sCAsFb;AAED,iBAAS,UAAU,CAAC,EAAE,QAAQ,EAAE,SAAS,EAAE,EAAE,eAAe,+BAE3D;AAED,iBAAS,YAAY,CAAC,EAAE,QAAQ,EAAE,SAAS,EAAE,EAAE,eAAe,+BAE7D;AAED,eAAO,MAAM,MAAM;;;CAGjB,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/drawer/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,MAAM,UAAU,CAAC;AAClC,YAAY,EAAE,WAAW,EAAE,UAAU,EAAE,MAAM,UAAU,CAAC"}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { HTMLAttributes, ReactNode } from 'react';
|
|
2
|
+
export type EmptyStateStatus = 'loading' | 'empty' | 'error';
|
|
3
|
+
export interface EmptyStateProps extends Omit<HTMLAttributes<HTMLDivElement>, 'title'> {
|
|
4
|
+
status?: EmptyStateStatus;
|
|
5
|
+
icon?: ReactNode;
|
|
6
|
+
title?: ReactNode;
|
|
7
|
+
description?: ReactNode;
|
|
8
|
+
action?: ReactNode;
|
|
9
|
+
}
|
|
10
|
+
export declare function EmptyState({ status, icon, title, description, action, className, children, ...props }: EmptyStateProps): import("react").JSX.Element;
|
|
11
|
+
//# sourceMappingURL=empty-state.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"empty-state.d.ts","sourceRoot":"","sources":["../../../src/components/empty-state/empty-state.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAKvD,MAAM,MAAM,gBAAgB,GAAG,SAAS,GAAG,OAAO,GAAG,OAAO,CAAC;AAE7D,MAAM,WAAW,eAAgB,SAAQ,IAAI,CAAC,cAAc,CAAC,cAAc,CAAC,EAAE,OAAO,CAAC;IACpF,MAAM,CAAC,EAAE,gBAAgB,CAAC;IAC1B,IAAI,CAAC,EAAE,SAAS,CAAC;IACjB,KAAK,CAAC,EAAE,SAAS,CAAC;IAClB,WAAW,CAAC,EAAE,SAAS,CAAC;IACxB,MAAM,CAAC,EAAE,SAAS,CAAC;CACpB;AAQD,wBAAgB,UAAU,CAAC,EACzB,MAAgB,EAChB,IAAI,EACJ,KAAK,EACL,WAAW,EACX,MAAM,EACN,SAAS,EACT,QAAQ,EACR,GAAG,KAAK,EACT,EAAE,eAAe,+BAgBjB"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/empty-state/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,eAAe,CAAC;AAC3C,YAAY,EAAE,eAAe,EAAE,gBAAgB,EAAE,MAAM,eAAe,CAAC"}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { InputHTMLAttributes, ReactNode } from 'react';
|
|
2
|
+
export interface FileButtonProps extends Omit<InputHTMLAttributes<HTMLInputElement>, 'type' | 'onChange' | 'children'> {
|
|
3
|
+
onFiles: (files: FileList) => void;
|
|
4
|
+
icon?: ReactNode;
|
|
5
|
+
children: ReactNode;
|
|
6
|
+
}
|
|
7
|
+
export declare const FileButton: import('react').ForwardRefExoticComponent<FileButtonProps & import('react').RefAttributes<HTMLInputElement>>;
|
|
8
|
+
//# sourceMappingURL=file-button.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"file-button.d.ts","sourceRoot":"","sources":["../../../src/components/file-button/file-button.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,mBAAmB,EAAE,KAAK,SAAS,EAAc,MAAM,OAAO,CAAC;AAI7E,MAAM,WAAW,eACf,SAAQ,IAAI,CAAC,mBAAmB,CAAC,gBAAgB,CAAC,EAAE,MAAM,GAAG,UAAU,GAAG,UAAU,CAAC;IACrF,OAAO,EAAE,CAAC,KAAK,EAAE,QAAQ,KAAK,IAAI,CAAC;IACnC,IAAI,CAAC,EAAE,SAAS,CAAC;IACjB,QAAQ,EAAE,SAAS,CAAC;CACrB;AAED,eAAO,MAAM,UAAU,8GAyBrB,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/file-button/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,eAAe,CAAC;AAC3C,YAAY,EAAE,eAAe,EAAE,MAAM,eAAe,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"glass.d.ts","sourceRoot":"","sources":["../../../src/components/glass/glass.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAsB,KAAK,cAAc,EAAc,MAAM,OAAO,CAAC;AAI5E,MAAM,WAAW,UAAW,SAAQ,cAAc,CAAC,cAAc,CAAC;IAChE;;;;OAIG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC;CACf;AAED;;;GAGG;AACH,eAAO,MAAM,KAAK,
|
|
1
|
+
{"version":3,"file":"glass.d.ts","sourceRoot":"","sources":["../../../src/components/glass/glass.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAsB,KAAK,cAAc,EAAc,MAAM,OAAO,CAAC;AAI5E,MAAM,WAAW,UAAW,SAAQ,cAAc,CAAC,cAAc,CAAC;IAChE;;;;OAIG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC;CACf;AAED;;;GAGG;AACH,eAAO,MAAM,KAAK,uGAoBhB,CAAC"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { SVGProps } from 'react';
|
|
2
|
+
export type IconName = 'close' | 'check' | 'copy' | 'plus' | 'folder' | 'lightbulb' | 'chevron-up' | 'chevron-down' | 'chevron-left' | 'chevron-right' | 'play' | 'flag' | 'sort-asc' | 'sort-desc' | 'refresh' | 'more' | 'wand' | 'merge' | 'push' | 'pull' | 'shuffle' | 'commit' | 'github' | 'note';
|
|
3
|
+
export interface IconProps extends Omit<SVGProps<SVGSVGElement>, 'name' | 'children'> {
|
|
4
|
+
name: IconName;
|
|
5
|
+
size?: number | string;
|
|
6
|
+
title?: string;
|
|
7
|
+
}
|
|
8
|
+
export declare function Icon({ name, size, title, className, ...props }: IconProps): import("react").JSX.Element;
|
|
9
|
+
//# sourceMappingURL=icon.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"icon.d.ts","sourceRoot":"","sources":["../../../src/components/icon/icon.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAa,QAAQ,EAAE,MAAM,OAAO,CAAC;AAIjD,MAAM,MAAM,QAAQ,GAChB,OAAO,GACP,OAAO,GACP,MAAM,GACN,MAAM,GACN,QAAQ,GACR,WAAW,GACX,YAAY,GACZ,cAAc,GACd,cAAc,GACd,eAAe,GACf,MAAM,GACN,MAAM,GACN,UAAU,GACV,WAAW,GACX,SAAS,GACT,MAAM,GACN,MAAM,GACN,OAAO,GACP,MAAM,GACN,MAAM,GACN,SAAS,GACT,QAAQ,GACR,QAAQ,GACR,MAAM,CAAC;AAEX,MAAM,WAAW,SAAU,SAAQ,IAAI,CAAC,QAAQ,CAAC,aAAa,CAAC,EAAE,MAAM,GAAG,UAAU,CAAC;IACnF,IAAI,EAAE,QAAQ,CAAC;IACf,IAAI,CAAC,EAAE,MAAM,GAAG,MAAM,CAAC;IACvB,KAAK,CAAC,EAAE,MAAM,CAAC;CAChB;AAuHD,wBAAgB,IAAI,CAAC,EAAE,IAAI,EAAE,IAAS,EAAE,KAAK,EAAE,SAAS,EAAE,GAAG,KAAK,EAAE,EAAE,SAAS,+BAqB9E"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/icon/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,IAAI,EAAE,MAAM,QAAQ,CAAC;AAC9B,YAAY,EAAE,QAAQ,EAAE,SAAS,EAAE,MAAM,QAAQ,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/inline-code/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,eAAe,CAAC;AAC3C,YAAY,EAAE,eAAe,EAAE,MAAM,eAAe,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"inline-code.d.ts","sourceRoot":"","sources":["../../../src/components/inline-code/inline-code.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,OAAO,CAAC;AAI5C,MAAM,MAAM,eAAe,GAAG,cAAc,CAAC,WAAW,CAAC,CAAC;AAE1D,wBAAgB,UAAU,CAAC,EAAE,SAAS,EAAE,QAAQ,EAAE,GAAG,KAAK,EAAE,EAAE,eAAe,+BAM5E"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/input/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,EAAE,MAAM,SAAS,CAAC;AAChC,YAAY,EAAE,UAAU,EAAE,MAAM,SAAS,CAAC"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { InputHTMLAttributes } from 'react';
|
|
2
|
+
export interface InputProps extends Omit<InputHTMLAttributes<HTMLInputElement>, 'size'> {
|
|
3
|
+
label?: string;
|
|
4
|
+
helperText?: string;
|
|
5
|
+
error?: string;
|
|
6
|
+
size?: 'sm' | 'md';
|
|
7
|
+
}
|
|
8
|
+
export declare const Input: import('react').ForwardRefExoticComponent<InputProps & import('react').RefAttributes<HTMLInputElement>>;
|
|
9
|
+
//# sourceMappingURL=input.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"input.d.ts","sourceRoot":"","sources":["../../../src/components/input/input.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,mBAAmB,EAAqB,MAAM,OAAO,CAAC;AAIpE,MAAM,WAAW,UAAW,SAAQ,IAAI,CAAC,mBAAmB,CAAC,gBAAgB,CAAC,EAAE,MAAM,CAAC;IACrF,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,IAAI,CAAC,EAAE,IAAI,GAAG,IAAI,CAAC;CACpB;AAED,eAAO,MAAM,KAAK,yGAgChB,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/kbd/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,OAAO,CAAC;AAC5B,YAAY,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC"}
|