@deepfuture/dui-components 0.0.11 → 0.0.12
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 +191 -0
- package/_deprecated/center/index.d.ts +3 -1
- package/_deprecated/center/index.js +3 -1
- package/_deprecated/hstack/index.d.ts +3 -1
- package/_deprecated/hstack/index.js +3 -1
- package/_deprecated/page-inset/index.d.ts +3 -1
- package/_deprecated/page-inset/index.js +3 -1
- package/_deprecated/vstack/index.d.ts +3 -1
- package/_deprecated/vstack/index.js +3 -1
- package/accordion/index.d.ts +5 -2
- package/accordion/index.js +5 -2
- package/alert-dialog/index.d.ts +9 -4
- package/alert-dialog/index.js +9 -4
- package/avatar/index.d.ts +3 -1
- package/avatar/index.js +3 -1
- package/badge/index.d.ts +3 -1
- package/badge/index.js +3 -1
- package/breadcrumb/index.d.ts +13 -6
- package/breadcrumb/index.js +13 -6
- package/button/index.d.ts +3 -1
- package/button/index.js +3 -1
- package/calendar/index.d.ts +3 -1
- package/calendar/index.js +3 -1
- package/checkbox/index.d.ts +5 -2
- package/checkbox/index.js +5 -2
- package/collapsible/index.d.ts +3 -1
- package/collapsible/index.js +3 -1
- package/combobox/index.d.ts +3 -1
- package/combobox/index.js +3 -1
- package/command/index.d.ts +17 -8
- package/command/index.js +17 -8
- package/data-table/index.d.ts +3 -1
- package/data-table/index.js +3 -1
- package/dialog/index.d.ts +9 -4
- package/dialog/index.js +9 -4
- package/dropzone/index.d.ts +3 -1
- package/dropzone/index.js +3 -1
- package/icon/index.d.ts +3 -1
- package/icon/index.js +3 -1
- package/input/index.d.ts +3 -1
- package/input/index.js +3 -1
- package/link/index.d.ts +3 -1
- package/link/index.js +3 -1
- package/menu/index.d.ts +5 -2
- package/menu/index.js +5 -2
- package/menubar/index.d.ts +3 -1
- package/menubar/index.js +3 -1
- package/number-field/index.d.ts +3 -1
- package/number-field/index.js +3 -1
- package/package.json +5 -4
- package/popover/index.d.ts +9 -4
- package/popover/index.js +9 -4
- package/portal/index.d.ts +3 -1
- package/portal/index.js +3 -1
- package/preview-card/index.d.ts +7 -3
- package/preview-card/index.js +7 -3
- package/progress/index.d.ts +3 -1
- package/progress/index.js +3 -1
- package/radio/index.d.ts +5 -2
- package/radio/index.js +5 -2
- package/scroll-area/index.d.ts +3 -1
- package/scroll-area/index.js +3 -1
- package/scroll-area/scroll-area.js +7 -0
- package/select/index.d.ts +3 -1
- package/select/index.js +3 -1
- package/separator/index.d.ts +3 -1
- package/separator/index.js +3 -1
- package/sidebar/index.d.ts +27 -13
- package/sidebar/index.js +32 -13
- package/slider/index.d.ts +3 -1
- package/slider/index.js +3 -1
- package/spinner/index.d.ts +3 -1
- package/spinner/index.js +3 -1
- package/switch/index.d.ts +3 -1
- package/switch/index.js +3 -1
- package/tabs/index.d.ts +11 -5
- package/tabs/index.js +11 -5
- package/textarea/index.d.ts +3 -1
- package/textarea/index.js +3 -1
- package/toggle/index.d.ts +5 -2
- package/toggle/index.js +5 -2
- package/toolbar/index.d.ts +3 -1
- package/toolbar/index.js +3 -1
- package/tooltip/index.d.ts +7 -3
- package/tooltip/index.js +7 -3
- package/trunc/index.d.ts +3 -1
- package/trunc/index.js +3 -1
- package/accordion/register.d.ts +0 -1
- package/accordion/register.js +0 -8
- package/alert-dialog/register.d.ts +0 -1
- package/alert-dialog/register.js +0 -16
- package/avatar/register.d.ts +0 -1
- package/avatar/register.js +0 -4
- package/badge/register.d.ts +0 -1
- package/badge/register.js +0 -4
- package/breadcrumb/register.d.ts +0 -1
- package/breadcrumb/register.js +0 -14
- package/button/register.d.ts +0 -1
- package/button/register.js +0 -4
- package/calendar/register.d.ts +0 -1
- package/calendar/register.js +0 -4
- package/checkbox/register.d.ts +0 -1
- package/checkbox/register.js +0 -8
- package/collapsible/register.d.ts +0 -1
- package/collapsible/register.js +0 -4
- package/combobox/register.d.ts +0 -1
- package/combobox/register.js +0 -4
- package/command/register.d.ts +0 -1
- package/command/register.js +0 -22
- package/data-table/register.d.ts +0 -1
- package/data-table/register.js +0 -4
- package/dialog/register.d.ts +0 -1
- package/dialog/register.js +0 -16
- package/dropzone/register.d.ts +0 -1
- package/dropzone/register.js +0 -4
- package/icon/register.d.ts +0 -1
- package/icon/register.js +0 -4
- package/input/register.d.ts +0 -1
- package/input/register.js +0 -4
- package/link/register.d.ts +0 -1
- package/link/register.js +0 -4
- package/menu/register.d.ts +0 -1
- package/menu/register.js +0 -8
- package/menubar/register.d.ts +0 -1
- package/menubar/register.js +0 -4
- package/number-field/register.d.ts +0 -1
- package/number-field/register.js +0 -4
- package/popover/register.d.ts +0 -1
- package/popover/register.js +0 -16
- package/portal/register.d.ts +0 -1
- package/portal/register.js +0 -4
- package/preview-card/register.d.ts +0 -1
- package/preview-card/register.js +0 -12
- package/progress/register.d.ts +0 -1
- package/progress/register.js +0 -4
- package/radio/register.d.ts +0 -1
- package/radio/register.js +0 -8
- package/scroll-area/register.d.ts +0 -1
- package/scroll-area/register.js +0 -4
- package/select/register.d.ts +0 -1
- package/select/register.js +0 -4
- package/separator/register.d.ts +0 -1
- package/separator/register.js +0 -4
- package/sidebar/register.d.ts +0 -1
- package/sidebar/register.js +0 -52
- package/slider/register.d.ts +0 -1
- package/slider/register.js +0 -4
- package/spinner/register.d.ts +0 -1
- package/spinner/register.js +0 -4
- package/switch/register.d.ts +0 -1
- package/switch/register.js +0 -4
- package/tabs/register.d.ts +0 -1
- package/tabs/register.js +0 -10
- package/textarea/register.d.ts +0 -1
- package/textarea/register.js +0 -4
- package/toggle/register.d.ts +0 -1
- package/toggle/register.js +0 -8
- package/toolbar/register.d.ts +0 -1
- package/toolbar/register.js +0 -4
- package/tooltip/register.d.ts +0 -1
- package/tooltip/register.js +0 -12
- package/trunc/register.d.ts +0 -1
- package/trunc/register.js +0 -4
package/README.md
ADDED
|
@@ -0,0 +1,191 @@
|
|
|
1
|
+
# DUI
|
|
2
|
+
|
|
3
|
+
[](LICENSE)
|
|
4
|
+
[](https://www.npmjs.com/package/@deepfuture/dui-core)
|
|
5
|
+
|
|
6
|
+
Unstyled [Lit](https://lit.dev) web component library with composable themes.
|
|
7
|
+
|
|
8
|
+
Components provide structure and behavior with zero visual opinions. Themes provide all aesthetics — colors, spacing, typography, borders. Swap the theme to completely change the look without touching component code.
|
|
9
|
+
|
|
10
|
+
**[Live Docs & Demos →](https://deepfuturenow.github.io/dui/)**
|
|
11
|
+
|
|
12
|
+
## Install
|
|
13
|
+
|
|
14
|
+
**npm / pnpm / yarn:**
|
|
15
|
+
|
|
16
|
+
```bash
|
|
17
|
+
npm install @deepfuture/dui-core @deepfuture/dui-components @deepfuture/dui-theme-default
|
|
18
|
+
```
|
|
19
|
+
|
|
20
|
+
**Deno:**
|
|
21
|
+
|
|
22
|
+
```typescript
|
|
23
|
+
import { applyTheme } from "npm:@deepfuture/dui-core/apply-theme";
|
|
24
|
+
import { defaultTheme } from "npm:@deepfuture/dui-theme-default";
|
|
25
|
+
import { allComponents } from "npm:@deepfuture/dui-components/all";
|
|
26
|
+
```
|
|
27
|
+
|
|
28
|
+
**CDN (zero setup):**
|
|
29
|
+
|
|
30
|
+
```html
|
|
31
|
+
<script type="module" src="https://cdn.jsdelivr.net/npm/@deepfuture/dui-cdn/dui.min.js"></script>
|
|
32
|
+
```
|
|
33
|
+
|
|
34
|
+
## Quick Start
|
|
35
|
+
|
|
36
|
+
```typescript
|
|
37
|
+
import { applyTheme } from "@deepfuture/dui-core/apply-theme";
|
|
38
|
+
import { defaultTheme } from "@deepfuture/dui-theme-default";
|
|
39
|
+
import { DuiButton } from "@deepfuture/dui-components/button";
|
|
40
|
+
import { DuiDialog, DuiDialogTrigger, DuiDialogPopup, DuiDialogClose } from "@deepfuture/dui-components/dialog";
|
|
41
|
+
|
|
42
|
+
// Register components with a theme — this is the only setup needed
|
|
43
|
+
applyTheme({
|
|
44
|
+
theme: defaultTheme,
|
|
45
|
+
components: [DuiButton, DuiDialog, DuiDialogTrigger, DuiDialogPopup, DuiDialogClose],
|
|
46
|
+
});
|
|
47
|
+
```
|
|
48
|
+
|
|
49
|
+
```html
|
|
50
|
+
<dui-dialog>
|
|
51
|
+
<dui-dialog-trigger>
|
|
52
|
+
<dui-button>Open Dialog</dui-button>
|
|
53
|
+
</dui-dialog-trigger>
|
|
54
|
+
<dui-dialog-popup>
|
|
55
|
+
<h2>Hello</h2>
|
|
56
|
+
<p>This is a dialog.</p>
|
|
57
|
+
<dui-dialog-close>
|
|
58
|
+
<dui-button variant="outline">Close</dui-button>
|
|
59
|
+
</dui-dialog-close>
|
|
60
|
+
</dui-dialog-popup>
|
|
61
|
+
</dui-dialog>
|
|
62
|
+
```
|
|
63
|
+
|
|
64
|
+
Or register everything at once:
|
|
65
|
+
|
|
66
|
+
```typescript
|
|
67
|
+
import { applyTheme } from "@deepfuture/dui-core/apply-theme";
|
|
68
|
+
import { defaultTheme } from "@deepfuture/dui-theme-default";
|
|
69
|
+
import { allComponents } from "@deepfuture/dui-components/all";
|
|
70
|
+
|
|
71
|
+
applyTheme({ theme: defaultTheme, components: allComponents });
|
|
72
|
+
```
|
|
73
|
+
|
|
74
|
+
## How It Works
|
|
75
|
+
|
|
76
|
+
`applyTheme()` takes unstyled component classes and a theme, creates themed subclasses with composed styles, and registers them as custom elements.
|
|
77
|
+
|
|
78
|
+
```
|
|
79
|
+
Component structural CSS → Theme base styles → Theme component styles
|
|
80
|
+
```
|
|
81
|
+
|
|
82
|
+
No build step, no decorators, no code generation — just a function call. Components are standard web components that work in any framework or plain HTML.
|
|
83
|
+
|
|
84
|
+
## Components
|
|
85
|
+
|
|
86
|
+
43 component families, 85+ elements total.
|
|
87
|
+
|
|
88
|
+
| Category | Components |
|
|
89
|
+
|----------|-----------|
|
|
90
|
+
| **Actions** | Button, Link, Toggle, Toggle Group, Toolbar |
|
|
91
|
+
| **Forms** | Input, Textarea, Select, Combobox, Checkbox, Checkbox Group, Radio, Radio Group, Switch, Slider, Number Field, Dropzone |
|
|
92
|
+
| **Data Display** | Badge, Avatar, Calendar, Data Table, Progress, Spinner, Separator, Trunc |
|
|
93
|
+
| **Overlays** | Dialog, Alert Dialog, Popover, Tooltip, Menu, Menubar, Preview Card, Command |
|
|
94
|
+
| **Disclosure** | Accordion, Collapsible, Tabs |
|
|
95
|
+
| **Navigation** | Breadcrumb, Sidebar (with 12 sub-components) |
|
|
96
|
+
| **Layout** | HStack, VStack, Center, Page Inset, Scroll Area, Portal |
|
|
97
|
+
| **Utility** | Icon |
|
|
98
|
+
|
|
99
|
+
## Styling
|
|
100
|
+
|
|
101
|
+
DUI uses a two-layer styling approach:
|
|
102
|
+
|
|
103
|
+
### CSS Variables — for the variant system
|
|
104
|
+
|
|
105
|
+
Variables control values that variants, sizes, and states toggle:
|
|
106
|
+
|
|
107
|
+
```css
|
|
108
|
+
/* Override variant colors */
|
|
109
|
+
dui-button {
|
|
110
|
+
--button-bg: linear-gradient(135deg, pink, purple);
|
|
111
|
+
--button-radius: var(--radius-full);
|
|
112
|
+
}
|
|
113
|
+
```
|
|
114
|
+
|
|
115
|
+
### `::part(root)` — for everything else
|
|
116
|
+
|
|
117
|
+
Every component exposes a `root` CSS part for full CSS expressiveness:
|
|
118
|
+
|
|
119
|
+
```css
|
|
120
|
+
/* Frosted glass effect */
|
|
121
|
+
dui-dialog-popup::part(root) {
|
|
122
|
+
backdrop-filter: blur(12px);
|
|
123
|
+
}
|
|
124
|
+
|
|
125
|
+
/* Custom hover animation */
|
|
126
|
+
dui-button::part(root):hover {
|
|
127
|
+
filter: brightness(1.25);
|
|
128
|
+
transform: translateY(-1px);
|
|
129
|
+
}
|
|
130
|
+
|
|
131
|
+
/* Glow shadow */
|
|
132
|
+
dui-badge::part(root) {
|
|
133
|
+
box-shadow: 0 0 16px oklch(0.7 0.2 280 / 0.4);
|
|
134
|
+
}
|
|
135
|
+
```
|
|
136
|
+
|
|
137
|
+
No need for the library to anticipate every CSS property — `::part()` gives you direct access.
|
|
138
|
+
|
|
139
|
+
## Dark Mode
|
|
140
|
+
|
|
141
|
+
DUI uses CSS custom properties for theming. Toggle dark mode by adding `class="dark"` to a parent element:
|
|
142
|
+
|
|
143
|
+
```html
|
|
144
|
+
<body class="dark">
|
|
145
|
+
<!-- All DUI components render in dark mode -->
|
|
146
|
+
</body>
|
|
147
|
+
```
|
|
148
|
+
|
|
149
|
+
## Packages
|
|
150
|
+
|
|
151
|
+
| Package | Purpose |
|
|
152
|
+
|---------|---------|
|
|
153
|
+
| [`@deepfuture/dui-core`](https://www.npmjs.com/package/@deepfuture/dui-core) | `applyTheme()`, event factory, base styles |
|
|
154
|
+
| [`@deepfuture/dui-components`](https://www.npmjs.com/package/@deepfuture/dui-components) | Unstyled component classes |
|
|
155
|
+
| [`@deepfuture/dui-theme-default`](https://www.npmjs.com/package/@deepfuture/dui-theme-default) | Design tokens + aesthetic styles |
|
|
156
|
+
| [`@deepfuture/dui-cdn`](https://www.npmjs.com/package/@deepfuture/dui-cdn) | Pre-bundled CDN build (all deps inlined) |
|
|
157
|
+
|
|
158
|
+
## Dev Tools
|
|
159
|
+
|
|
160
|
+
### Theme Editor
|
|
161
|
+
|
|
162
|
+
A visual editor for design tokens. Edit colors with OKLCH sliders, tweak spacing and typography, and export your customized `tokens.css`.
|
|
163
|
+
|
|
164
|
+
### Inspector
|
|
165
|
+
|
|
166
|
+
A runtime inspector and mutation API for DUI components. Two interfaces:
|
|
167
|
+
|
|
168
|
+
- **Visual UI** (Ctrl+Shift+I) — hover-highlight components, inspect properties/tokens/styles, edit theme CSS and design tokens live
|
|
169
|
+
- **Console API** — `window.__dui_inspect()`, `window.__dui_mutate.*`, `window.__dui_export()` for programmatic access by agents or scripts
|
|
170
|
+
|
|
171
|
+
Both share a changelog, so agent and human edits are visible to each other. Changes can be exported as structured source file diffs.
|
|
172
|
+
|
|
173
|
+
See **[Inspector docs](docs/inspector.md)** for the full API reference and usage guide.
|
|
174
|
+
|
|
175
|
+
## Documentation
|
|
176
|
+
|
|
177
|
+
- **[Live Docs](https://deepfuturenow.github.io/dui/)** — interactive demos for every component
|
|
178
|
+
- [Architecture](docs/architecture.md) — mental model, package responsibilities, design decisions
|
|
179
|
+
- [Creating Components](docs/creating-components.md) — guide for adding new components
|
|
180
|
+
- [Theming](docs/theming.md) — theme system, design tokens, writing component styles
|
|
181
|
+
- [Consuming](docs/consuming.md) — integrating DUI into an app
|
|
182
|
+
- [Inspector](docs/inspector.md) — runtime inspection, mutation API, and visual editor
|
|
183
|
+
- [Accessibility](docs/accessibility.md) — accessibility patterns and guidelines
|
|
184
|
+
|
|
185
|
+
## Contributing
|
|
186
|
+
|
|
187
|
+
See [CONTRIBUTING.md](CONTRIBUTING.md) for dev setup, code conventions, and PR guidelines.
|
|
188
|
+
|
|
189
|
+
## License
|
|
190
|
+
|
|
191
|
+
[MIT](LICENSE)
|
package/accordion/index.d.ts
CHANGED
|
@@ -1,3 +1,6 @@
|
|
|
1
|
-
|
|
2
|
-
export {
|
|
1
|
+
import { DuiAccordion, valueChangeEvent } from "./accordion.js";
|
|
2
|
+
export { DuiAccordion, valueChangeEvent };
|
|
3
|
+
import { DuiAccordionItem, openChangeEvent } from "./accordion-item.js";
|
|
4
|
+
export { DuiAccordionItem, openChangeEvent };
|
|
3
5
|
export type { AccordionContext } from "./accordion-context.js";
|
|
6
|
+
export declare const accordionFamily: (typeof DuiAccordion | typeof DuiAccordionItem)[];
|
package/accordion/index.js
CHANGED
|
@@ -1,2 +1,5 @@
|
|
|
1
|
-
|
|
2
|
-
export {
|
|
1
|
+
import { DuiAccordion, valueChangeEvent } from "./accordion.js";
|
|
2
|
+
export { DuiAccordion, valueChangeEvent };
|
|
3
|
+
import { DuiAccordionItem, openChangeEvent } from "./accordion-item.js";
|
|
4
|
+
export { DuiAccordionItem, openChangeEvent };
|
|
5
|
+
export const accordionFamily = [DuiAccordion, DuiAccordionItem];
|
package/alert-dialog/index.d.ts
CHANGED
|
@@ -1,6 +1,11 @@
|
|
|
1
|
-
|
|
1
|
+
import { DuiAlertDialog, openChangeEvent } from "./alert-dialog.js";
|
|
2
|
+
export { DuiAlertDialog, openChangeEvent };
|
|
2
3
|
export type { AlertDialogOpenChangeDetail } from "./alert-dialog.js";
|
|
3
|
-
|
|
4
|
-
export {
|
|
5
|
-
|
|
4
|
+
import { DuiAlertDialogTrigger } from "./alert-dialog-trigger.js";
|
|
5
|
+
export { DuiAlertDialogTrigger };
|
|
6
|
+
import { DuiAlertDialogPopup } from "./alert-dialog-popup.js";
|
|
7
|
+
export { DuiAlertDialogPopup };
|
|
8
|
+
import { DuiAlertDialogClose } from "./alert-dialog-close.js";
|
|
9
|
+
export { DuiAlertDialogClose };
|
|
6
10
|
export type { AlertDialogContext } from "./alert-dialog-context.js";
|
|
11
|
+
export declare const alertDialogFamily: (typeof DuiAlertDialog | typeof DuiAlertDialogTrigger | typeof DuiAlertDialogPopup | typeof DuiAlertDialogClose)[];
|
package/alert-dialog/index.js
CHANGED
|
@@ -1,4 +1,9 @@
|
|
|
1
|
-
|
|
2
|
-
export {
|
|
3
|
-
|
|
4
|
-
export {
|
|
1
|
+
import { DuiAlertDialog, openChangeEvent } from "./alert-dialog.js";
|
|
2
|
+
export { DuiAlertDialog, openChangeEvent };
|
|
3
|
+
import { DuiAlertDialogTrigger } from "./alert-dialog-trigger.js";
|
|
4
|
+
export { DuiAlertDialogTrigger };
|
|
5
|
+
import { DuiAlertDialogPopup } from "./alert-dialog-popup.js";
|
|
6
|
+
export { DuiAlertDialogPopup };
|
|
7
|
+
import { DuiAlertDialogClose } from "./alert-dialog-close.js";
|
|
8
|
+
export { DuiAlertDialogClose };
|
|
9
|
+
export const alertDialogFamily = [DuiAlertDialog, DuiAlertDialogTrigger, DuiAlertDialogPopup, DuiAlertDialogClose];
|
package/avatar/index.d.ts
CHANGED
|
@@ -1,2 +1,4 @@
|
|
|
1
|
-
|
|
1
|
+
import { DuiAvatar, loadingStatusChangeEvent } from "./avatar.js";
|
|
2
|
+
export { DuiAvatar, loadingStatusChangeEvent };
|
|
2
3
|
export type { ImageStatus } from "./avatar.js";
|
|
4
|
+
export declare const avatarFamily: (typeof DuiAvatar)[];
|
package/avatar/index.js
CHANGED
package/badge/index.d.ts
CHANGED
package/badge/index.js
CHANGED
package/breadcrumb/index.d.ts
CHANGED
|
@@ -1,6 +1,13 @@
|
|
|
1
|
-
|
|
2
|
-
export {
|
|
3
|
-
|
|
4
|
-
export {
|
|
5
|
-
|
|
6
|
-
export {
|
|
1
|
+
import { DuiBreadcrumb } from "./breadcrumb.js";
|
|
2
|
+
export { DuiBreadcrumb };
|
|
3
|
+
import { DuiBreadcrumbItem } from "./breadcrumb-item.js";
|
|
4
|
+
export { DuiBreadcrumbItem };
|
|
5
|
+
import { DuiBreadcrumbLink } from "./breadcrumb-link.js";
|
|
6
|
+
export { DuiBreadcrumbLink };
|
|
7
|
+
import { DuiBreadcrumbPage } from "./breadcrumb-page.js";
|
|
8
|
+
export { DuiBreadcrumbPage };
|
|
9
|
+
import { DuiBreadcrumbSeparator } from "./breadcrumb-separator.js";
|
|
10
|
+
export { DuiBreadcrumbSeparator };
|
|
11
|
+
import { DuiBreadcrumbEllipsis } from "./breadcrumb-ellipsis.js";
|
|
12
|
+
export { DuiBreadcrumbEllipsis };
|
|
13
|
+
export declare const breadcrumbFamily: (typeof DuiBreadcrumb | typeof DuiBreadcrumbItem | typeof DuiBreadcrumbLink | typeof DuiBreadcrumbPage | typeof DuiBreadcrumbSeparator | typeof DuiBreadcrumbEllipsis)[];
|
package/breadcrumb/index.js
CHANGED
|
@@ -1,6 +1,13 @@
|
|
|
1
|
-
|
|
2
|
-
export {
|
|
3
|
-
|
|
4
|
-
export {
|
|
5
|
-
|
|
6
|
-
export {
|
|
1
|
+
import { DuiBreadcrumb } from "./breadcrumb.js";
|
|
2
|
+
export { DuiBreadcrumb };
|
|
3
|
+
import { DuiBreadcrumbItem } from "./breadcrumb-item.js";
|
|
4
|
+
export { DuiBreadcrumbItem };
|
|
5
|
+
import { DuiBreadcrumbLink } from "./breadcrumb-link.js";
|
|
6
|
+
export { DuiBreadcrumbLink };
|
|
7
|
+
import { DuiBreadcrumbPage } from "./breadcrumb-page.js";
|
|
8
|
+
export { DuiBreadcrumbPage };
|
|
9
|
+
import { DuiBreadcrumbSeparator } from "./breadcrumb-separator.js";
|
|
10
|
+
export { DuiBreadcrumbSeparator };
|
|
11
|
+
import { DuiBreadcrumbEllipsis } from "./breadcrumb-ellipsis.js";
|
|
12
|
+
export { DuiBreadcrumbEllipsis };
|
|
13
|
+
export const breadcrumbFamily = [DuiBreadcrumb, DuiBreadcrumbItem, DuiBreadcrumbLink, DuiBreadcrumbPage, DuiBreadcrumbSeparator, DuiBreadcrumbEllipsis];
|
package/button/index.d.ts
CHANGED
package/button/index.js
CHANGED
package/calendar/index.d.ts
CHANGED
package/calendar/index.js
CHANGED
package/checkbox/index.d.ts
CHANGED
|
@@ -1,3 +1,6 @@
|
|
|
1
|
-
|
|
2
|
-
export {
|
|
1
|
+
import { DuiCheckbox, checkedChangeEvent } from "./checkbox.js";
|
|
2
|
+
export { DuiCheckbox, checkedChangeEvent };
|
|
3
|
+
import { DuiCheckboxGroup, valueChangeEvent } from "./checkbox-group.js";
|
|
4
|
+
export { DuiCheckboxGroup, valueChangeEvent };
|
|
3
5
|
export type { CheckboxGroupContext } from "./checkbox-group-context.js";
|
|
6
|
+
export declare const checkboxFamily: (typeof DuiCheckbox | typeof DuiCheckboxGroup)[];
|
package/checkbox/index.js
CHANGED
|
@@ -1,2 +1,5 @@
|
|
|
1
|
-
|
|
2
|
-
export {
|
|
1
|
+
import { DuiCheckbox, checkedChangeEvent } from "./checkbox.js";
|
|
2
|
+
export { DuiCheckbox, checkedChangeEvent };
|
|
3
|
+
import { DuiCheckboxGroup, valueChangeEvent } from "./checkbox-group.js";
|
|
4
|
+
export { DuiCheckboxGroup, valueChangeEvent };
|
|
5
|
+
export const checkboxFamily = [DuiCheckbox, DuiCheckboxGroup];
|
package/collapsible/index.d.ts
CHANGED
package/collapsible/index.js
CHANGED
package/combobox/index.d.ts
CHANGED
|
@@ -1,2 +1,4 @@
|
|
|
1
|
-
|
|
1
|
+
import { DuiCombobox, valueChangeEvent, valuesChangeEvent } from "./combobox.js";
|
|
2
|
+
export { DuiCombobox, valueChangeEvent, valuesChangeEvent, };
|
|
3
|
+
export declare const comboboxFamily: (typeof DuiCombobox)[];
|
|
2
4
|
export type { SelectOption, ComboboxValueChangeDetail, ComboboxValuesChangeDetail, } from "./combobox.js";
|
package/combobox/index.js
CHANGED
|
@@ -1 +1,3 @@
|
|
|
1
|
-
|
|
1
|
+
import { DuiCombobox, valueChangeEvent, valuesChangeEvent, } from "./combobox.js";
|
|
2
|
+
export { DuiCombobox, valueChangeEvent, valuesChangeEvent, };
|
|
3
|
+
export const comboboxFamily = [DuiCombobox];
|
package/command/index.d.ts
CHANGED
|
@@ -1,10 +1,19 @@
|
|
|
1
|
-
|
|
2
|
-
export {
|
|
3
|
-
|
|
4
|
-
export {
|
|
5
|
-
|
|
6
|
-
export {
|
|
7
|
-
|
|
8
|
-
export {
|
|
1
|
+
import { DuiCommand } from "./command.js";
|
|
2
|
+
export { DuiCommand };
|
|
3
|
+
import { DuiCommandInput } from "./command-input.js";
|
|
4
|
+
export { DuiCommandInput };
|
|
5
|
+
import { DuiCommandList } from "./command-list.js";
|
|
6
|
+
export { DuiCommandList };
|
|
7
|
+
import { DuiCommandGroup } from "./command-group.js";
|
|
8
|
+
export { DuiCommandGroup };
|
|
9
|
+
import { DuiCommandItem } from "./command-item.js";
|
|
10
|
+
export { DuiCommandItem };
|
|
11
|
+
import { DuiCommandEmpty } from "./command-empty.js";
|
|
12
|
+
export { DuiCommandEmpty };
|
|
13
|
+
import { DuiCommandSeparator } from "./command-separator.js";
|
|
14
|
+
export { DuiCommandSeparator };
|
|
15
|
+
import { DuiCommandShortcut } from "./command-shortcut.js";
|
|
16
|
+
export { DuiCommandShortcut };
|
|
9
17
|
export type { CommandContext, CommandItemEntry } from "./command-context.js";
|
|
10
18
|
export { commandScore } from "./command-score.js";
|
|
19
|
+
export declare const commandFamily: (typeof DuiCommand | typeof DuiCommandInput | typeof DuiCommandList | typeof DuiCommandGroup | typeof DuiCommandItem | typeof DuiCommandEmpty | typeof DuiCommandSeparator | typeof DuiCommandShortcut)[];
|
package/command/index.js
CHANGED
|
@@ -1,9 +1,18 @@
|
|
|
1
|
-
|
|
2
|
-
export {
|
|
3
|
-
|
|
4
|
-
export {
|
|
5
|
-
|
|
6
|
-
export {
|
|
7
|
-
|
|
8
|
-
export {
|
|
1
|
+
import { DuiCommand } from "./command.js";
|
|
2
|
+
export { DuiCommand };
|
|
3
|
+
import { DuiCommandInput } from "./command-input.js";
|
|
4
|
+
export { DuiCommandInput };
|
|
5
|
+
import { DuiCommandList } from "./command-list.js";
|
|
6
|
+
export { DuiCommandList };
|
|
7
|
+
import { DuiCommandGroup } from "./command-group.js";
|
|
8
|
+
export { DuiCommandGroup };
|
|
9
|
+
import { DuiCommandItem } from "./command-item.js";
|
|
10
|
+
export { DuiCommandItem };
|
|
11
|
+
import { DuiCommandEmpty } from "./command-empty.js";
|
|
12
|
+
export { DuiCommandEmpty };
|
|
13
|
+
import { DuiCommandSeparator } from "./command-separator.js";
|
|
14
|
+
export { DuiCommandSeparator };
|
|
15
|
+
import { DuiCommandShortcut } from "./command-shortcut.js";
|
|
16
|
+
export { DuiCommandShortcut };
|
|
9
17
|
export { commandScore } from "./command-score.js";
|
|
18
|
+
export const commandFamily = [DuiCommand, DuiCommandInput, DuiCommandList, DuiCommandGroup, DuiCommandItem, DuiCommandEmpty, DuiCommandSeparator, DuiCommandShortcut];
|
package/data-table/index.d.ts
CHANGED
|
@@ -1,2 +1,4 @@
|
|
|
1
|
-
|
|
1
|
+
import { DuiDataTable } from "./data-table.js";
|
|
2
|
+
export { DuiDataTable };
|
|
2
3
|
export type { ColumnDef, SortDirection, SortState, PageState } from "./data-table.js";
|
|
4
|
+
export declare const dataTableFamily: (typeof DuiDataTable)[];
|
package/data-table/index.js
CHANGED
package/dialog/index.d.ts
CHANGED
|
@@ -1,6 +1,11 @@
|
|
|
1
|
-
|
|
1
|
+
import { DuiDialog, openChangeEvent } from "./dialog.js";
|
|
2
|
+
export { DuiDialog, openChangeEvent };
|
|
2
3
|
export type { DialogOpenChangeDetail } from "./dialog.js";
|
|
3
|
-
|
|
4
|
-
export {
|
|
5
|
-
|
|
4
|
+
import { DuiDialogTrigger } from "./dialog-trigger.js";
|
|
5
|
+
export { DuiDialogTrigger };
|
|
6
|
+
import { DuiDialogPopup } from "./dialog-popup.js";
|
|
7
|
+
export { DuiDialogPopup };
|
|
8
|
+
import { DuiDialogClose } from "./dialog-close.js";
|
|
9
|
+
export { DuiDialogClose };
|
|
6
10
|
export type { DialogContext } from "./dialog-context.js";
|
|
11
|
+
export declare const dialogFamily: (typeof DuiDialog | typeof DuiDialogTrigger | typeof DuiDialogPopup | typeof DuiDialogClose)[];
|
package/dialog/index.js
CHANGED
|
@@ -1,4 +1,9 @@
|
|
|
1
|
-
|
|
2
|
-
export {
|
|
3
|
-
|
|
4
|
-
export {
|
|
1
|
+
import { DuiDialog, openChangeEvent } from "./dialog.js";
|
|
2
|
+
export { DuiDialog, openChangeEvent };
|
|
3
|
+
import { DuiDialogTrigger } from "./dialog-trigger.js";
|
|
4
|
+
export { DuiDialogTrigger };
|
|
5
|
+
import { DuiDialogPopup } from "./dialog-popup.js";
|
|
6
|
+
export { DuiDialogPopup };
|
|
7
|
+
import { DuiDialogClose } from "./dialog-close.js";
|
|
8
|
+
export { DuiDialogClose };
|
|
9
|
+
export const dialogFamily = [DuiDialog, DuiDialogTrigger, DuiDialogPopup, DuiDialogClose];
|
package/dropzone/index.d.ts
CHANGED
|
@@ -1,2 +1,4 @@
|
|
|
1
|
-
|
|
1
|
+
import { DuiDropzone, dropzoneDropEvent, dropAcceptedEvent, dropRejectedEvent, dropzoneErrorEvent } from "./dropzone.js";
|
|
2
|
+
export { DuiDropzone, dropzoneDropEvent, dropAcceptedEvent, dropRejectedEvent, dropzoneErrorEvent };
|
|
2
3
|
export type { DropzoneErrorCode, DropzoneRejectionCode, FileRejectionError, RejectedFile, DropzoneDropDetail, DropzoneAcceptedDetail, DropzoneRejectedDetail, DropzoneErrorDetail, } from "./dropzone.js";
|
|
4
|
+
export declare const dropzoneFamily: (typeof DuiDropzone)[];
|
package/dropzone/index.js
CHANGED
|
@@ -1 +1,3 @@
|
|
|
1
|
-
|
|
1
|
+
import { DuiDropzone, dropzoneDropEvent, dropAcceptedEvent, dropRejectedEvent, dropzoneErrorEvent } from "./dropzone.js";
|
|
2
|
+
export { DuiDropzone, dropzoneDropEvent, dropAcceptedEvent, dropRejectedEvent, dropzoneErrorEvent };
|
|
3
|
+
export const dropzoneFamily = [DuiDropzone];
|
package/icon/index.d.ts
CHANGED
package/icon/index.js
CHANGED
package/input/index.d.ts
CHANGED
package/input/index.js
CHANGED
package/link/index.d.ts
CHANGED
package/link/index.js
CHANGED
package/menu/index.d.ts
CHANGED
|
@@ -1,2 +1,5 @@
|
|
|
1
|
-
|
|
2
|
-
export {
|
|
1
|
+
import { DuiMenu } from "./menu.js";
|
|
2
|
+
export { DuiMenu };
|
|
3
|
+
import { DuiMenuItem } from "./menu-item.js";
|
|
4
|
+
export { DuiMenuItem };
|
|
5
|
+
export declare const menuFamily: (typeof DuiMenuItem | typeof DuiMenu)[];
|
package/menu/index.js
CHANGED
|
@@ -1,2 +1,5 @@
|
|
|
1
|
-
|
|
2
|
-
export {
|
|
1
|
+
import { DuiMenu } from "./menu.js";
|
|
2
|
+
export { DuiMenu };
|
|
3
|
+
import { DuiMenuItem } from "./menu-item.js";
|
|
4
|
+
export { DuiMenuItem };
|
|
5
|
+
export const menuFamily = [DuiMenu, DuiMenuItem];
|
package/menubar/index.d.ts
CHANGED
package/menubar/index.js
CHANGED
package/number-field/index.d.ts
CHANGED