@vuetify/v0 0.0.2-beta.4 → 0.0.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 +251 -0
- package/dist/browser/index.js +3199 -0
- package/dist/components/index.d.ts +7 -0
- package/dist/components/index.js +8 -0
- package/dist/{components-B5iiovK7.mjs → components-DVuB4lnH.js} +16 -217
- package/dist/composables/index.d.ts +7 -0
- package/dist/composables/index.js +8 -0
- package/dist/composables-yeVk-ULz.js +1270 -0
- package/dist/constants/index.d.ts +2 -0
- package/dist/constants/index.js +5 -0
- package/dist/constants-DiTCgvMU.js +1 -0
- package/dist/factories/index.d.ts +2 -0
- package/dist/factories/index.js +3 -0
- package/dist/{createTrinity-CwGvQ2ng.mjs → factories-BEpawPUw.js} +32 -15
- package/dist/globals-DZvNEOB4.js +12 -0
- package/dist/htmlElements-SjqYu0am.js +78 -0
- package/dist/{index-D4Grk5x1.d.mts → index-BozA2pze.d.ts} +1 -1
- package/dist/index-Ckt12ON6.d.ts +75 -0
- package/dist/index-D0L_ydyW.d.ts +1396 -0
- package/dist/index-DVKeyWc5.d.ts +79 -0
- package/dist/index.d.ts +7 -0
- package/dist/index.js +11 -0
- package/dist/transformers/index.d.ts +2 -0
- package/dist/transformers/index.js +4 -0
- package/dist/{transformers-BTjuwbOV.mjs → transformers-CWrxLIkw.js} +2 -2
- package/dist/types/{index.d.mts → index.d.ts} +1 -1
- package/dist/types/index.js +1 -0
- package/dist/{useTheme-tY7MoBKr.mjs → useTheme-DCXkw_kv.js} +214 -204
- package/dist/utilities/{index.d.mts → index.d.ts} +2 -2
- package/dist/utilities/{index.mjs → index.js} +1 -1
- package/package.json +20 -35
- package/dist/components/index.d.mts +0 -5
- package/dist/components/index.mjs +0 -7
- package/dist/composables/index.d.mts +0 -5
- package/dist/composables/index.mjs +0 -7
- package/dist/composables-C6dl5kjP.mjs +0 -614
- package/dist/factories/index.d.mts +0 -3
- package/dist/factories/index.mjs +0 -4
- package/dist/factories-DOLmqhVS.mjs +0 -0
- package/dist/index-ChaaTPKp.d.mts +0 -421
- package/dist/index-Cya5Y9pB.d.mts +0 -412
- package/dist/index-DfahEz6s.d.mts +0 -18
- package/dist/index-jG0yrC1F.d.mts +0 -467
- package/dist/index-oCBJwhpG.d.mts +0 -43
- package/dist/index.d.mts +0 -9
- package/dist/index.mjs +0 -9
- package/dist/transformers/index.d.mts +0 -2
- package/dist/transformers/index.mjs +0 -4
- package/dist/types/index.mjs +0 -0
- /package/dist/{index-BA3ZFBnL.d.mts → index-LBy5OPMu.d.ts} +0 -0
- /package/dist/{index-CZRh0I2w.d.mts → index-tUyghL98.d.ts} +0 -0
- /package/dist/{utilities-lZSfrXgw.mjs → utilities-D9rWEgQK.js} +0 -0
|
@@ -0,0 +1,79 @@
|
|
|
1
|
+
//#region src/constants/globals.d.ts
|
|
2
|
+
declare const IN_BROWSER: boolean;
|
|
3
|
+
declare const SUPPORTS_TOUCH: boolean;
|
|
4
|
+
declare const SUPPORTS_MATCH_MEDIA: boolean;
|
|
5
|
+
declare const SUPPORTS_OBSERVER: boolean;
|
|
6
|
+
declare const SUPPORTS_INTERSECTION_OBSERVER: boolean;
|
|
7
|
+
declare const SUPPORTS_MUTATION_OBSERVER: boolean;
|
|
8
|
+
declare const version: any;
|
|
9
|
+
declare const __LOGGER_ENABLED__: any;
|
|
10
|
+
//#endregion
|
|
11
|
+
//#region src/constants/htmlElements.d.ts
|
|
12
|
+
declare const selfClosingTags: ["area", "base", "br", "col", "embed", "hr", "img", "input", "link", "meta", "source", "track", "wbr"];
|
|
13
|
+
/**
|
|
14
|
+
* Set of HTML elements that are self-closing (void elements)
|
|
15
|
+
* These elements cannot have children and don't need closing tags
|
|
16
|
+
*/
|
|
17
|
+
declare const SELF_CLOSING_TAGS: Set<"input" | "area" | "base" | "br" | "col" | "embed" | "hr" | "img" | "link" | "meta" | "source" | "track" | "wbr">;
|
|
18
|
+
/**
|
|
19
|
+
* Common HTML element types for polymorphic components
|
|
20
|
+
*/
|
|
21
|
+
declare const COMMON_ELEMENTS: {
|
|
22
|
+
readonly DIV: "div";
|
|
23
|
+
readonly SPAN: "span";
|
|
24
|
+
readonly SECTION: "section";
|
|
25
|
+
readonly ARTICLE: "article";
|
|
26
|
+
readonly ASIDE: "aside";
|
|
27
|
+
readonly HEADER: "header";
|
|
28
|
+
readonly FOOTER: "footer";
|
|
29
|
+
readonly MAIN: "main";
|
|
30
|
+
readonly NAV: "nav";
|
|
31
|
+
readonly P: "p";
|
|
32
|
+
readonly H1: "h1";
|
|
33
|
+
readonly H2: "h2";
|
|
34
|
+
readonly H3: "h3";
|
|
35
|
+
readonly H4: "h4";
|
|
36
|
+
readonly H5: "h5";
|
|
37
|
+
readonly H6: "h6";
|
|
38
|
+
readonly BUTTON: "button";
|
|
39
|
+
readonly A: "a";
|
|
40
|
+
readonly INPUT: "input";
|
|
41
|
+
readonly TEXTAREA: "textarea";
|
|
42
|
+
readonly SELECT: "select";
|
|
43
|
+
readonly LABEL: "label";
|
|
44
|
+
readonly UL: "ul";
|
|
45
|
+
readonly OL: "ol";
|
|
46
|
+
readonly LI: "li";
|
|
47
|
+
readonly DL: "dl";
|
|
48
|
+
readonly DT: "dt";
|
|
49
|
+
readonly DD: "dd";
|
|
50
|
+
readonly IMG: "img";
|
|
51
|
+
readonly VIDEO: "video";
|
|
52
|
+
readonly AUDIO: "audio";
|
|
53
|
+
readonly CANVAS: "canvas";
|
|
54
|
+
readonly SVG: "svg";
|
|
55
|
+
readonly TABLE: "table";
|
|
56
|
+
readonly THEAD: "thead";
|
|
57
|
+
readonly TBODY: "tbody";
|
|
58
|
+
readonly TFOOT: "tfoot";
|
|
59
|
+
readonly TR: "tr";
|
|
60
|
+
readonly TH: "th";
|
|
61
|
+
readonly TD: "td";
|
|
62
|
+
readonly FORM: "form";
|
|
63
|
+
readonly FIELDSET: "fieldset";
|
|
64
|
+
readonly LEGEND: "legend";
|
|
65
|
+
};
|
|
66
|
+
/**
|
|
67
|
+
* Check if an element is self-closing
|
|
68
|
+
*/
|
|
69
|
+
declare function isSelfClosingTag(tag: keyof HTMLElementTagNameMap): boolean;
|
|
70
|
+
/**
|
|
71
|
+
* Type for all valid HTML element names
|
|
72
|
+
*/
|
|
73
|
+
type HTMLElementName = keyof HTMLElementTagNameMap;
|
|
74
|
+
/**
|
|
75
|
+
* Type for self-closing HTML elements
|
|
76
|
+
*/
|
|
77
|
+
type SelfClosingElement = keyof typeof selfClosingTags;
|
|
78
|
+
//#endregion
|
|
79
|
+
export { COMMON_ELEMENTS, HTMLElementName, IN_BROWSER, SELF_CLOSING_TAGS, SUPPORTS_INTERSECTION_OBSERVER, SUPPORTS_MATCH_MEDIA, SUPPORTS_MUTATION_OBSERVER, SUPPORTS_OBSERVER, SUPPORTS_TOUCH, SelfClosingElement, __LOGGER_ENABLED__, isSelfClosingTag, version };
|
package/dist/index.d.ts
ADDED
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import "./index-LBy5OPMu.js";
|
|
2
|
+
import { AtomExpose, AtomProps, AtomSlots, BreakpointName, Breakpoints, BreakpointsContext, BreakpointsOptions, CleanupFunction, Colors, ConsolaLoggerAdapter, Context, EventHandler, FeatureContext, FeatureOptions, FeaturePluginOptions, FeatureTicket, FilterFunction, FilterItem, FilterMode, FilterQuery, FlatTokenCollection, FormContext, FormOptions, FormTicket, FormValidationResult, FormValidationRule, FormValue, GroupContext, GroupOptions, GroupTicket, HydrationContext, IntersectionObserverEntry, IntersectionObserverOptions, KeyHandler, LocaleContext, LocaleOptions, LocalePluginOptions, LocaleTicket, LogLevel, LoggerAdapter, LoggerContext, LoggerOptions, MutationObserverRecord, PermissionContext, PermissionOptions, PermissionPluginOptions, PermissionTicket, PinoLoggerAdapter, Popover, PopoverAnchorProps, PopoverContentEmits, PopoverContentProps, PopoverContext, PopoverRootProps, Primitive, ProxyModelOptions, RegistryContext, RegistryOptions, RegistryTicket, ResizeObserverEntry, ResizeObserverOptions, SelectionContext, SelectionOptions, SelectionTicket, SingleContext, SingleOptions, SingleTicket, StepContext, StepOptions, StepTicket, StorageContext, StorageOptions, Theme, ThemeColors, ThemeContext, ThemeOptions, ThemePluginOptions, ThemeRecord, ThemeRootProps, ThemeRootSlots, ThemeSlots, ThemeTicket, TimelineContext, TimelineOptions, TimelineTicket, TokenAlias, TokenCollection, TokenContext, TokenOptions, TokenPrimitive, TokenTicket, TokenValue, UseFilterOptions, UseFilterResult, UseMutationObserverOptions, Vuetify0LoggerAdapter, _default as _default$2, _default$1, _default$2 as _default, createBreakpoints, createBreakpointsPlugin, createFeatures, createFeaturesPlugin, createGroupContext, createHydration, createHydrationPlugin, createLocale, createLocalePlugin, createLogger, createLoggerPlugin, createPermissions, createPermissionsPlugin, createRegistryContext, createSelectionContext, createSingleContext, createStepContext, createStorage, createStoragePlugin, createTheme, createThemePlugin, createTokensContext, provideBreakpointsContext, provideHydrationContext, providePopoverContext, provideStorageContext, useBreakpoints, useBreakpointsContext, useDocumentEventListener, useElementIntersection, useElementSize, useEventListener, useFeatures, useFilter, useForm, useGroup, useHydration, useHydrationContext, useIntersectionObserver, useKeydown, useLocale, useLogger, useMutationObserver, usePermissions, usePopoverContext, useProxyModel, useRegistry, useResizeObserver, useSelection, useSingle, useStep, useStorage, useStorageContext, useTheme, useTimeline, useTokens, useWindowEventListener } from "./index-D0L_ydyW.js";
|
|
3
|
+
import { ContextKey, ContextTrinity, Plugin, PluginOptions, createContext, createPlugin, createTrinity, provideContext, useContext } from "./index-Ckt12ON6.js";
|
|
4
|
+
import { COMMON_ELEMENTS, HTMLElementName, IN_BROWSER, SELF_CLOSING_TAGS, SUPPORTS_INTERSECTION_OBSERVER, SUPPORTS_MATCH_MEDIA, SUPPORTS_MUTATION_OBSERVER, SUPPORTS_OBSERVER, SUPPORTS_TOUCH, SelfClosingElement, __LOGGER_ENABLED__, isSelfClosingTag, version } from "./index-DVKeyWc5.js";
|
|
5
|
+
import { toArray, toReactive } from "./index-tUyghL98.js";
|
|
6
|
+
import { genId, isArray, isBoolean, isFunction, isNullOrUndefined, isNumber, isObject, isPrimitive, isString, mergeDeep, run } from "./index-BozA2pze.js";
|
|
7
|
+
export { _default as Atom, AtomExpose, AtomProps, AtomSlots, BreakpointName, Breakpoints, BreakpointsContext, BreakpointsOptions, COMMON_ELEMENTS, CleanupFunction, Colors, ConsolaLoggerAdapter, Context, ContextKey, ContextTrinity, EventHandler, FeatureContext, FeatureOptions, FeaturePluginOptions, FeatureTicket, FilterFunction, FilterItem, FilterMode, FilterQuery, FlatTokenCollection, FormContext, FormOptions, FormTicket, FormValidationResult, FormValidationRule, FormValue, GroupContext, GroupOptions, GroupTicket, HTMLElementName, _default$1 as Hydration, HydrationContext, _default$2 as HydrationRoot, IN_BROWSER, IntersectionObserverEntry, IntersectionObserverOptions, KeyHandler, LocaleContext, LocaleOptions, LocalePluginOptions, LocaleTicket, LogLevel, LoggerAdapter, LoggerContext, LoggerOptions, MutationObserverRecord, PermissionContext, PermissionOptions, PermissionPluginOptions, PermissionTicket, PinoLoggerAdapter, Plugin, PluginOptions, Popover, PopoverAnchorProps, PopoverContentEmits, PopoverContentProps, PopoverContext, PopoverRootProps, Primitive, ProxyModelOptions, RegistryContext, RegistryOptions, RegistryTicket, ResizeObserverEntry, ResizeObserverOptions, SELF_CLOSING_TAGS, SUPPORTS_INTERSECTION_OBSERVER, SUPPORTS_MATCH_MEDIA, SUPPORTS_MUTATION_OBSERVER, SUPPORTS_OBSERVER, SUPPORTS_TOUCH, SelectionContext, SelectionOptions, SelectionTicket, SelfClosingElement, SingleContext, SingleOptions, SingleTicket, StepContext, StepOptions, StepTicket, StorageContext, StorageOptions, Theme, ThemeColors, ThemeContext, ThemeOptions, ThemePluginOptions, ThemeRecord, ThemeRootProps, ThemeRootSlots, ThemeSlots, ThemeTicket, TimelineContext, TimelineOptions, TimelineTicket, TokenAlias, TokenCollection, TokenContext, TokenOptions, TokenPrimitive, TokenTicket, TokenValue, UseFilterOptions, UseFilterResult, UseMutationObserverOptions, Vuetify0LoggerAdapter, __LOGGER_ENABLED__, createBreakpoints, createBreakpointsPlugin, createContext, createFeatures, createFeaturesPlugin, createGroupContext, createHydration, createHydrationPlugin, createLocale, createLocalePlugin, createLogger, createLoggerPlugin, createPermissions, createPermissionsPlugin, createPlugin, createRegistryContext, createSelectionContext, createSingleContext, createStepContext, createStorage, createStoragePlugin, createTheme, createThemePlugin, createTokensContext, createTrinity, genId, isArray, isBoolean, isFunction, isNullOrUndefined, isNumber, isObject, isPrimitive, isSelfClosingTag, isString, mergeDeep, provideBreakpointsContext, provideContext, provideHydrationContext, providePopoverContext, provideStorageContext, run, toArray, toReactive, useBreakpoints, useBreakpointsContext, useContext, useDocumentEventListener, useElementIntersection, useElementSize, useEventListener, useFeatures, useFilter, useForm, useGroup, useHydration, useHydrationContext, useIntersectionObserver, useKeydown, useLocale, useLogger, useMutationObserver, usePermissions, usePopoverContext, useProxyModel, useRegistry, useResizeObserver, useSelection, useSingle, useStep, useStorage, useStorageContext, useTheme, useTimeline, useTokens, useWindowEventListener, version };
|
package/dist/index.js
ADDED
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { COMMON_ELEMENTS, SELF_CLOSING_TAGS, isSelfClosingTag } from "./htmlElements-SjqYu0am.js";
|
|
2
|
+
import { Atom_default, Breakpoints, Context, HydrationRoot_default, Hydration_default, Popover, Theme, providePopoverContext, usePopoverContext } from "./components-DVuB4lnH.js";
|
|
3
|
+
import { createContext, createPlugin, createTrinity, provideContext, useContext } from "./factories-BEpawPUw.js";
|
|
4
|
+
import { ConsolaLoggerAdapter, PinoLoggerAdapter, Vuetify0LoggerAdapter, createBreakpoints, createBreakpointsPlugin, createHydration, createHydrationPlugin, createLogger, createLoggerPlugin, createRegistryContext, createSelectionContext, createSingleContext, createTheme, createThemePlugin, createTokensContext, provideBreakpointsContext, provideHydrationContext, useBreakpoints, useBreakpointsContext, useHydration, useHydrationContext, useLogger, useRegistry, useSelection, useSingle, useTheme, useTokens } from "./useTheme-DCXkw_kv.js";
|
|
5
|
+
import { genId, isArray, isBoolean, isFunction, isNullOrUndefined, isNumber, isObject, isPrimitive, isString, mergeDeep, run } from "./utilities-D9rWEgQK.js";
|
|
6
|
+
import { IN_BROWSER, SUPPORTS_INTERSECTION_OBSERVER, SUPPORTS_MATCH_MEDIA, SUPPORTS_MUTATION_OBSERVER, SUPPORTS_OBSERVER, SUPPORTS_TOUCH, __LOGGER_ENABLED__, version } from "./globals-DZvNEOB4.js";
|
|
7
|
+
import { toArray, toReactive } from "./transformers-CWrxLIkw.js";
|
|
8
|
+
import { createFeatures, createFeaturesPlugin, createGroupContext, createLocale, createLocalePlugin, createPermissions, createPermissionsPlugin, createStepContext, createStorage, createStoragePlugin, provideStorageContext, useDocumentEventListener, useElementIntersection, useElementSize, useEventListener, useFeatures, useFilter, useForm, useGroup, useIntersectionObserver, useKeydown, useLocale, useMutationObserver, usePermissions, useProxyModel, useResizeObserver, useStep, useStorage, useStorageContext, useTimeline, useWindowEventListener } from "./composables-yeVk-ULz.js";
|
|
9
|
+
import "./constants-DiTCgvMU.js";
|
|
10
|
+
|
|
11
|
+
export { Atom_default as Atom, Breakpoints, COMMON_ELEMENTS, ConsolaLoggerAdapter, Context, Hydration_default as Hydration, HydrationRoot_default as HydrationRoot, IN_BROWSER, PinoLoggerAdapter, Popover, SELF_CLOSING_TAGS, SUPPORTS_INTERSECTION_OBSERVER, SUPPORTS_MATCH_MEDIA, SUPPORTS_MUTATION_OBSERVER, SUPPORTS_OBSERVER, SUPPORTS_TOUCH, Theme, Vuetify0LoggerAdapter, __LOGGER_ENABLED__, createBreakpoints, createBreakpointsPlugin, createContext, createFeatures, createFeaturesPlugin, createGroupContext, createHydration, createHydrationPlugin, createLocale, createLocalePlugin, createLogger, createLoggerPlugin, createPermissions, createPermissionsPlugin, createPlugin, createRegistryContext, createSelectionContext, createSingleContext, createStepContext, createStorage, createStoragePlugin, createTheme, createThemePlugin, createTokensContext, createTrinity, genId, isArray, isBoolean, isFunction, isNullOrUndefined, isNumber, isObject, isPrimitive, isSelfClosingTag, isString, mergeDeep, provideBreakpointsContext, provideContext, provideHydrationContext, providePopoverContext, provideStorageContext, run, toArray, toReactive, useBreakpoints, useBreakpointsContext, useContext, useDocumentEventListener, useElementIntersection, useElementSize, useEventListener, useFeatures, useFilter, useForm, useGroup, useHydration, useHydrationContext, useIntersectionObserver, useKeydown, useLocale, useLogger, useMutationObserver, usePermissions, usePopoverContext, useProxyModel, useRegistry, useResizeObserver, useSelection, useSingle, useStep, useStorage, useStorageContext, useTheme, useTimeline, useTokens, useWindowEventListener, version };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { isNullOrUndefined } from "./utilities-
|
|
1
|
+
import { isNullOrUndefined } from "./utilities-D9rWEgQK.js";
|
|
2
2
|
import { isRef, reactive, unref } from "vue";
|
|
3
3
|
|
|
4
4
|
//#region src/transformers/toArray/index.ts
|
|
@@ -106,7 +106,7 @@ function toReactive(objectRef) {
|
|
|
106
106
|
},
|
|
107
107
|
getOwnPropertyDescriptor(_, p) {
|
|
108
108
|
const desc = Reflect.getOwnPropertyDescriptor(objectRef.value, p);
|
|
109
|
-
if (!desc) return
|
|
109
|
+
if (!desc) return;
|
|
110
110
|
const newDesc = {
|
|
111
111
|
...desc,
|
|
112
112
|
configurable: true
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { DOMElement, DeepPartial, GenericObject, ID, MaybeArray, UnknownObject } from "../index-
|
|
1
|
+
import { DOMElement, DeepPartial, GenericObject, ID, MaybeArray, UnknownObject } from "../index-LBy5OPMu.js";
|
|
2
2
|
export { DOMElement, DeepPartial, GenericObject, ID, MaybeArray, UnknownObject };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { };
|