@vuetify/v0 0.0.22 → 0.0.24-beta.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/README.md +33 -26
- package/dist/browser/index.js +3591 -1911
- package/dist/components/index.d.mts +2 -2
- package/dist/components/index.mjs +5 -5
- package/dist/{components-mxRTI3xB.mjs → components-Dd4KKVtk.mjs} +827 -67
- package/dist/composables/index.d.mts +2 -2
- package/dist/composables/index.mjs +4 -4
- package/dist/constants/index.mjs +1 -1
- package/dist/{globals-B0yp-n-D.mjs → globals-CiCJWcbb.mjs} +1 -1
- package/dist/{index-D3xuqKI0.d.mts → index-C8YcMooA.d.mts} +1 -1
- package/dist/{index-DF1O-1ZO.d.mts → index-CAEB2sxS.d.mts} +2050 -970
- package/dist/{index-Dr-ge3ZA.d.mts → index-rcTqb9U3.d.mts} +449 -37
- package/dist/index.d.mts +4 -4
- package/dist/index.mjs +5 -5
- package/dist/json/attributes.json +898 -0
- package/dist/json/importMap.json +220 -0
- package/dist/json/tags.json +441 -0
- package/dist/json/web-types.json +2753 -0
- package/dist/{useClickOutside-bbFXLr1p.mjs → useClickOutside-BfEvdnA4.mjs} +2941 -2035
- package/dist/utilities/index.d.mts +1 -1
- package/dist/utilities/index.mjs +1 -1
- package/dist/{utilities-CKvM4p7S.mjs → utilities-9i1hJnMd.mjs} +18 -4
- package/package.json +10 -4
package/README.md
CHANGED
|
@@ -81,6 +81,8 @@ import { ... } from '@vuetify/v0/constants' // Constants only
|
|
|
81
81
|
|-----------|-------------|
|
|
82
82
|
| **Atom** | Polymorphic base element. Renders as any HTML element via `as` prop with renderless mode support |
|
|
83
83
|
| **Avatar** | Image with fallback display. Compound component with Root, Image, and Fallback sub-components |
|
|
84
|
+
| **Checkbox** | Standalone or group checkbox with tri-state. Root, Group, Indicator, HiddenInput sub-components |
|
|
85
|
+
| **Dialog** | Modal dialog using native `<dialog>`. Root, Activator, Content, Title, Description, Close sub-components |
|
|
84
86
|
| **ExpansionPanel** | Accordion/collapsible panels. Supports single (accordion) or multi-expand modes |
|
|
85
87
|
| **Group** | Multi-selection with tri-state support. Provides `selectAll`, `unselectAll`, `toggleAll` |
|
|
86
88
|
| **Pagination** | Page navigation with ellipsis. Root, Item, First, Prev, Next, Last, Ellipsis sub-components |
|
|
@@ -91,7 +93,7 @@ import { ... } from '@vuetify/v0/constants' // Constants only
|
|
|
91
93
|
|
|
92
94
|
### Composables
|
|
93
95
|
|
|
94
|
-
####
|
|
96
|
+
#### Foundation
|
|
95
97
|
|
|
96
98
|
Core factories that provide the foundation for all other composables:
|
|
97
99
|
|
|
@@ -99,46 +101,57 @@ Core factories that provide the foundation for all other composables:
|
|
|
99
101
|
- **`createPlugin`** - Vue plugin factory with context provision
|
|
100
102
|
- **`createTrinity`** - Context triple pattern: `[use, provide, default]`
|
|
101
103
|
|
|
102
|
-
####
|
|
104
|
+
#### Registration
|
|
103
105
|
|
|
104
106
|
Base data structures that most other composables build upon:
|
|
105
107
|
|
|
106
|
-
- **`
|
|
107
|
-
- **`
|
|
108
|
-
- **`
|
|
109
|
-
- **`
|
|
110
|
-
- **`useTokens`** - Design token registry with alias resolution
|
|
108
|
+
- **`createRegistry`** - Enhanced Map with indexing, caching, and event support
|
|
109
|
+
- **`createQueue`** - FIFO queue with timeout management (notifications/toasts)
|
|
110
|
+
- **`createTimeline`** - Bounded undo/redo history
|
|
111
|
+
- **`createTokens`** - Design token registry with alias resolution
|
|
111
112
|
|
|
112
113
|
#### Selection
|
|
113
114
|
|
|
114
|
-
Selection management composables built on `
|
|
115
|
+
Selection management composables built on `createRegistry`:
|
|
116
|
+
|
|
117
|
+
- **`createSelection`** - Base selection with Set-based tracking
|
|
118
|
+
- **`createGroup`** - Multi-selection with tri-state/mixed support
|
|
119
|
+
- **`createSingle`** - Single-selection specialization
|
|
120
|
+
- **`createStep`** - Navigation through items (first, last, next, prev)
|
|
121
|
+
|
|
122
|
+
#### Forms
|
|
115
123
|
|
|
116
|
-
- **`
|
|
117
|
-
- **`useGroup`** - Multi-selection with tri-state/mixed support
|
|
118
|
-
- **`useSingle`** - Single-selection specialization
|
|
119
|
-
- **`useStep`** - Navigation through items (first, last, next, prev)
|
|
124
|
+
- **`createForm`** - Form validation and state management with async rules
|
|
120
125
|
|
|
121
|
-
####
|
|
126
|
+
#### Reactivity
|
|
122
127
|
|
|
123
|
-
- **`useForm`** - Form validation and state management with async rules
|
|
124
128
|
- **`useProxyModel`** - Bridge selection context to component v-model
|
|
125
|
-
- **`
|
|
129
|
+
- **`useProxyRegistry`** - Convert registry Map to reactive object
|
|
126
130
|
|
|
127
|
-
####
|
|
131
|
+
#### Utilities
|
|
128
132
|
|
|
133
|
+
- **`useFilter`** - Reactive array filtering with multiple modes
|
|
129
134
|
- **`usePagination`** - Lightweight page navigation (non-registry based)
|
|
130
|
-
- **`useOverflow`** - Container overflow measurement for item capacity
|
|
131
135
|
- **`useVirtual`** - Virtual scrolling for large lists
|
|
136
|
+
- **`useOverflow`** - Container overflow measurement for item capacity
|
|
132
137
|
|
|
133
|
-
####
|
|
138
|
+
#### Transformers
|
|
139
|
+
|
|
140
|
+
- **`toArray`** - Array transformation utilities
|
|
141
|
+
- **`toReactive`** - Reactive object conversion
|
|
134
142
|
|
|
143
|
+
#### System
|
|
144
|
+
|
|
145
|
+
- **`useClickOutside`** - Click outside detection with cleanup
|
|
135
146
|
- **`useEventListener`** - Lifecycle-managed event listeners
|
|
136
147
|
- **`useHotkey`** - Hotkey combinations and sequences
|
|
137
148
|
- **`useIntersectionObserver`** - Intersection observer with auto-cleanup
|
|
149
|
+
- **`useMediaQuery`** - Reactive CSS media query matching
|
|
138
150
|
- **`useMutationObserver`** - DOM mutation observation
|
|
139
151
|
- **`useResizeObserver`** - Resize observer utilities
|
|
152
|
+
- **`useToggleScope`** - Conditional effect scope management
|
|
140
153
|
|
|
141
|
-
####
|
|
154
|
+
#### Plugins
|
|
142
155
|
|
|
143
156
|
Plugin-capable composables following the trinity pattern:
|
|
144
157
|
|
|
@@ -151,12 +164,6 @@ Plugin-capable composables following the trinity pattern:
|
|
|
151
164
|
- **`useStorage`** - Storage adapter (localStorage/sessionStorage/memory)
|
|
152
165
|
- **`useTheme`** - Theme management with CSS variable injection
|
|
153
166
|
|
|
154
|
-
#### Utilities
|
|
155
|
-
|
|
156
|
-
- **`useToggleScope`** - Conditional effect scope management
|
|
157
|
-
- **`toArray`** - Array transformation utilities
|
|
158
|
-
- **`toReactive`** - Reactive object conversion
|
|
159
|
-
|
|
160
167
|
## Design Principles
|
|
161
168
|
|
|
162
169
|
- **Headless First**: Components provide logic and accessibility without imposed styling
|
|
@@ -172,7 +179,7 @@ For detailed API documentation, examples, and guides, visit [0.vuetifyjs.com](ht
|
|
|
172
179
|
|
|
173
180
|
## Development
|
|
174
181
|
|
|
175
|
-
```bash
|
|
182
|
+
```bash collapse
|
|
176
183
|
# Install dependencies
|
|
177
184
|
pnpm install
|
|
178
185
|
|