@vuetify/v0 0.1.2 → 0.1.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 +20 -3
- package/dist/browser/index.js +5645 -3968
- package/dist/components/index.d.mts +7 -4
- package/dist/components/index.mjs +5 -5
- package/dist/{components-z56rRlS4.mjs → components-C0zEvP7w.mjs} +580 -89
- package/dist/composables/index.d.mts +4 -5
- package/dist/composables/index.mjs +4 -4
- package/dist/constants/index.d.mts +1 -1
- package/dist/constants/index.mjs +1 -1
- package/dist/date/index.d.mts +1 -1
- package/dist/date/index.mjs +19 -15
- package/dist/{globals-VwjZ5i4B.mjs → globals-BwYsH-rt.mjs} +1 -1
- package/dist/{index-CLKfXGEQ.d.mts → index-2wh69fk5.d.mts} +2781 -459
- package/dist/{index-DlxrzbvZ.d.mts → index-BLK67J_-.d.mts} +41 -1
- package/dist/{index-CoO8LW8o.d.mts → index-DBZTizq2.d.mts} +1 -1
- package/dist/{index-PuLeBGZ3.d.mts → index-DFM5iBqh.d.mts} +899 -335
- package/dist/index.d.mts +7 -8
- package/dist/index.mjs +5 -5
- package/dist/json/attributes.json +140 -0
- package/dist/json/importMap.json +36 -0
- package/dist/json/tags.json +75 -0
- package/dist/json/web-types.json +440 -1
- package/dist/types/index.d.mts +2 -2
- package/dist/{useClickOutside-Dp1MHIjr.mjs → useClickOutside-DrkNYxDe.mjs} +4252 -3066
- package/dist/utilities/index.d.mts +2 -2
- package/dist/utilities/index.mjs +2 -1
- package/dist/{utilities-B58TiS_S.mjs → utilities-BbKjbXTx.mjs} +9 -0
- package/package.json +4 -3
- package/dist/index-qSuLpob3.d.mts +0 -1544
- /package/dist/{adapter-L4Php1_S.d.mts → adapter-D95FHAtt.d.mts} +0 -0
- /package/dist/{index-cPmI99rd.d.mts → index-Bmem4l8m.d.mts} +0 -0
package/README.md
CHANGED
|
@@ -71,6 +71,7 @@ import { ... } from '@vuetify/v0/composables' // Composables only
|
|
|
71
71
|
import { ... } from '@vuetify/v0/utilities' // Utilities only
|
|
72
72
|
import { ... } from '@vuetify/v0/types' // Types only
|
|
73
73
|
import { ... } from '@vuetify/v0/constants' // Constants only
|
|
74
|
+
import { ... } from '@vuetify/v0/date' // Date adapter and utilities
|
|
74
75
|
```
|
|
75
76
|
|
|
76
77
|
## What's Included
|
|
@@ -81,15 +82,19 @@ import { ... } from '@vuetify/v0/constants' // Constants only
|
|
|
81
82
|
|-----------|-------------|
|
|
82
83
|
| **Atom** | Polymorphic base element. Renders as any HTML element via `as` prop with renderless mode support |
|
|
83
84
|
| **Avatar** | Image with fallback display. Compound component with Root, Image, and Fallback sub-components |
|
|
84
|
-
| **
|
|
85
|
+
| **Breadcrumbs** | Responsive navigation trail with overflow support. Root, List, Item, Link, Page, Divider, Ellipsis sub-components |
|
|
86
|
+
| **Checkbox** | Standalone or group checkbox with tri-state. Root, Group, SelectAll, Indicator, HiddenInput sub-components |
|
|
85
87
|
| **Dialog** | Modal dialog using native `<dialog>`. Root, Activator, Content, Title, Description, Close sub-components |
|
|
86
88
|
| **ExpansionPanel** | Accordion/collapsible panels. Supports single (accordion) or multi-expand modes |
|
|
87
89
|
| **Group** | Multi-selection with tri-state support. Provides `selectAll`, `unselectAll`, `toggleAll` |
|
|
88
|
-
| **Pagination** | Page navigation with ellipsis. Root, Item, First, Prev, Next, Last, Ellipsis sub-components |
|
|
90
|
+
| **Pagination** | Page navigation with ellipsis. Root, Item, First, Prev, Next, Last, Ellipsis, Status sub-components |
|
|
89
91
|
| **Popover** | CSS anchor-positioned popup. Root, Anchor, and Content sub-components |
|
|
92
|
+
| **Radio** | Radio button group with single-selection. Group, Root, Indicator, HiddenInput sub-components |
|
|
93
|
+
| **Scrim** | Backdrop/scrim overlay for overlay systems |
|
|
90
94
|
| **Selection** | Generic single/multi-selection. Configurable via `multiple` prop |
|
|
91
95
|
| **Single** | Single-selection specialization of Selection |
|
|
92
96
|
| **Step** | Navigation/stepper with first, last, next, prev controls |
|
|
97
|
+
| **Tabs** | Accessible tab interface. Root, List, Item, Panel sub-components |
|
|
93
98
|
|
|
94
99
|
### Composables
|
|
95
100
|
|
|
@@ -109,6 +114,7 @@ Base data structures that most other composables build upon:
|
|
|
109
114
|
- **`createQueue`** - FIFO queue with timeout management (notifications/toasts)
|
|
110
115
|
- **`createTimeline`** - Bounded undo/redo history
|
|
111
116
|
- **`createTokens`** - Design token registry with alias resolution
|
|
117
|
+
- **`createDataTable`** - Data table with sort, filter, pagination, row selection, grouping, and adapter pattern
|
|
112
118
|
|
|
113
119
|
#### Selection
|
|
114
120
|
|
|
@@ -118,6 +124,8 @@ Selection management composables built on `createRegistry`:
|
|
|
118
124
|
- **`createGroup`** - Multi-selection with tri-state/mixed support
|
|
119
125
|
- **`createSingle`** - Single-selection specialization
|
|
120
126
|
- **`createStep`** - Navigation through items (first, last, next, prev)
|
|
127
|
+
- **`createBreadcrumbs`** - Breadcrumb navigation model with depth tracking, truncation, and path traversal
|
|
128
|
+
- **`createNested`** - Hierarchical tree management with parent-child relationships and open state
|
|
121
129
|
|
|
122
130
|
#### Forms
|
|
123
131
|
|
|
@@ -146,6 +154,7 @@ Selection management composables built on `createRegistry`:
|
|
|
146
154
|
- **`useEventListener`** - Lifecycle-managed event listeners
|
|
147
155
|
- **`useHotkey`** - Hotkey combinations and sequences
|
|
148
156
|
- **`useIntersectionObserver`** - Intersection observer with auto-cleanup
|
|
157
|
+
- **`useLazy`** - Deferred content rendering for dialogs, menus, and tooltips
|
|
149
158
|
- **`useMediaQuery`** - Reactive CSS media query matching
|
|
150
159
|
- **`useMutationObserver`** - DOM mutation observation
|
|
151
160
|
- **`useResizeObserver`** - Resize observer utilities
|
|
@@ -156,11 +165,13 @@ Selection management composables built on `createRegistry`:
|
|
|
156
165
|
Plugin-capable composables following the trinity pattern:
|
|
157
166
|
|
|
158
167
|
- **`useBreakpoints`** - Responsive breakpoint detection
|
|
168
|
+
- **`useDate`** - Date manipulation with adapter pattern and locale sync
|
|
159
169
|
- **`useFeatures`** - Feature flags with variations
|
|
160
170
|
- **`useHydration`** - SSR hydration helpers
|
|
161
171
|
- **`useLocale`** - Internationalization with message interpolation
|
|
162
172
|
- **`useLogger`** - Logging adapter (consola/pino/custom)
|
|
163
173
|
- **`usePermissions`** - RBAC/ABAC permission system
|
|
174
|
+
- **`useStack`** - Overlay z-index stacking with automatic scrim coordination
|
|
164
175
|
- **`useStorage`** - Storage adapter (localStorage/sessionStorage/memory)
|
|
165
176
|
- **`useTheme`** - Theme management with CSS variable injection
|
|
166
177
|
|
|
@@ -192,11 +203,17 @@ pnpm dev:docs
|
|
|
192
203
|
# Run tests
|
|
193
204
|
pnpm test
|
|
194
205
|
|
|
206
|
+
# Run tests (CI mode)
|
|
207
|
+
pnpm test:run
|
|
208
|
+
|
|
195
209
|
# Type check
|
|
196
210
|
pnpm typecheck
|
|
197
211
|
|
|
198
212
|
# Lint
|
|
199
|
-
pnpm lint
|
|
213
|
+
pnpm lint:fix
|
|
214
|
+
|
|
215
|
+
# Full validation (lint + typecheck + test)
|
|
216
|
+
pnpm validate
|
|
200
217
|
```
|
|
201
218
|
|
|
202
219
|
## Contributing
|