@mekari/pixel3-utils 0.0.1 → 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.
@@ -0,0 +1,13 @@
1
+ import {
2
+ __name
3
+ } from "./chunk-QZ7VFGWC.mjs";
4
+
5
+ // src/types.ts
6
+ function definePropsTable(value) {
7
+ return value;
8
+ }
9
+ __name(definePropsTable, "definePropsTable");
10
+
11
+ export {
12
+ definePropsTable
13
+ };
package/dist/index.d.mts CHANGED
@@ -4,7 +4,8 @@ export { declareEmit, getUniqueId, useId } from './generators.mjs';
4
4
  export { getChildren, isObject, objectFilter, objectFilterUndefined } from './object.mjs';
5
5
  export { usePixelCreateContext } from './context.mjs';
6
6
  export { getElement, getNode, isElementVisible, scrollToTargetElement } from './dom.mjs';
7
- export { ComponentWithProps, Dict, FilterFn, Optional, PropTypes } from './types.mjs';
7
+ export { ComponentWithProps, Dict, FilterFn, Optional, PropTypes, PropsTable, definePropsTable } from './types.mjs';
8
8
  export { groupBy } from './array.mjs';
9
- export { onClickOutside, onKeyStroke, unrefElement, useInfiniteScroll, useIntersectionObserver, useStorage, useVirtualList } from '@vueuse/core';
9
+ export { onClickOutside, onKeyStroke, unrefElement, useInfiniteScroll, useIntersectionObserver, useScrollLock, useStorage, useStyleTag, useVirtualList } from '@vueuse/core';
10
+ export { useFocusTrap } from '@vueuse/integrations/useFocusTrap';
10
11
  import 'vue';
package/dist/index.d.ts CHANGED
@@ -4,7 +4,8 @@ export { declareEmit, getUniqueId, useId } from './generators.js';
4
4
  export { getChildren, isObject, objectFilter, objectFilterUndefined } from './object.js';
5
5
  export { usePixelCreateContext } from './context.js';
6
6
  export { getElement, getNode, isElementVisible, scrollToTargetElement } from './dom.js';
7
- export { ComponentWithProps, Dict, FilterFn, Optional, PropTypes } from './types.js';
7
+ export { ComponentWithProps, Dict, FilterFn, Optional, PropTypes, PropsTable, definePropsTable } from './types.js';
8
8
  export { groupBy } from './array.js';
9
- export { onClickOutside, onKeyStroke, unrefElement, useInfiniteScroll, useIntersectionObserver, useStorage, useVirtualList } from '@vueuse/core';
9
+ export { onClickOutside, onKeyStroke, unrefElement, useInfiniteScroll, useIntersectionObserver, useScrollLock, useStorage, useStyleTag, useVirtualList } from '@vueuse/core';
10
+ export { useFocusTrap } from '@vueuse/integrations/useFocusTrap';
10
11
  import 'vue';
package/dist/index.js CHANGED
@@ -22,6 +22,7 @@ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: tru
22
22
  var src_exports = {};
23
23
  __export(src_exports, {
24
24
  declareEmit: () => declareEmit,
25
+ definePropsTable: () => definePropsTable,
25
26
  getChildren: () => getChildren,
26
27
  getElement: () => getElement,
27
28
  getNode: () => getNode,
@@ -39,12 +40,15 @@ __export(src_exports, {
39
40
  onKeyStroke: () => import_core.onKeyStroke,
40
41
  scrollToTargetElement: () => scrollToTargetElement,
41
42
  unrefElement: () => import_core.unrefElement,
43
+ useFocusTrap: () => import_useFocusTrap.useFocusTrap,
42
44
  useId: () => useId,
43
45
  useInfiniteScroll: () => import_core.useInfiniteScroll,
44
46
  useIntersectionObserver: () => import_core.useIntersectionObserver,
45
47
  usePerformanceObserver: () => usePerformanceObserver,
46
48
  usePixelCreateContext: () => usePixelCreateContext,
49
+ useScrollLock: () => import_core.useScrollLock,
47
50
  useStorage: () => import_core.useStorage,
51
+ useStyleTag: () => import_core.useStyleTag,
48
52
  useVirtualList: () => import_core.useVirtualList
49
53
  });
50
54
  module.exports = __toCommonJS(src_exports);
@@ -246,6 +250,12 @@ function getNode(selector) {
246
250
  }
247
251
  __name(getNode, "getNode");
248
252
 
253
+ // src/types.ts
254
+ function definePropsTable(value) {
255
+ return value;
256
+ }
257
+ __name(definePropsTable, "definePropsTable");
258
+
249
259
  // src/array.ts
250
260
  function groupBy(arr, key) {
251
261
  const initialValue = {};
@@ -259,9 +269,11 @@ __name(groupBy, "groupBy");
259
269
 
260
270
  // src/index.ts
261
271
  var import_core = require("@vueuse/core");
272
+ var import_useFocusTrap = require("@vueuse/integrations/useFocusTrap");
262
273
  // Annotate the CommonJS export names for ESM import in node:
263
274
  0 && (module.exports = {
264
275
  declareEmit,
276
+ definePropsTable,
265
277
  getChildren,
266
278
  getElement,
267
279
  getNode,
@@ -279,11 +291,14 @@ var import_core = require("@vueuse/core");
279
291
  onKeyStroke,
280
292
  scrollToTargetElement,
281
293
  unrefElement,
294
+ useFocusTrap,
282
295
  useId,
283
296
  useInfiniteScroll,
284
297
  useIntersectionObserver,
285
298
  usePerformanceObserver,
286
299
  usePixelCreateContext,
300
+ useScrollLock,
287
301
  useStorage,
302
+ useStyleTag,
288
303
  useVirtualList
289
304
  });
package/dist/index.mjs CHANGED
@@ -30,13 +30,17 @@ import {
30
30
  import {
31
31
  usePerformanceObserver
32
32
  } from "./chunk-65WDFMBW.mjs";
33
+ import {
34
+ definePropsTable
35
+ } from "./chunk-P3Q2WHZW.mjs";
33
36
  import "./chunk-QZ7VFGWC.mjs";
34
- import "./chunk-WBQAMGXK.mjs";
35
37
 
36
38
  // src/index.ts
37
- import { onClickOutside, onKeyStroke, useInfiniteScroll, useVirtualList, useIntersectionObserver, unrefElement, useStorage } from "@vueuse/core";
39
+ import { onClickOutside, onKeyStroke, useInfiniteScroll, useVirtualList, useIntersectionObserver, unrefElement, useStorage, useStyleTag, useScrollLock } from "@vueuse/core";
40
+ import { useFocusTrap } from "@vueuse/integrations/useFocusTrap";
38
41
  export {
39
42
  declareEmit,
43
+ definePropsTable,
40
44
  getChildren,
41
45
  getElement,
42
46
  getNode,
@@ -54,11 +58,14 @@ export {
54
58
  onKeyStroke,
55
59
  scrollToTargetElement,
56
60
  unrefElement,
61
+ useFocusTrap,
57
62
  useId,
58
63
  useInfiniteScroll,
59
64
  useIntersectionObserver,
60
65
  usePerformanceObserver,
61
66
  usePixelCreateContext,
67
+ useScrollLock,
62
68
  useStorage,
69
+ useStyleTag,
63
70
  useVirtualList
64
71
  };
@@ -1 +1 @@
1
- {"inputs":{"src/array.ts":{"bytes":479,"imports":[{"path":"<runtime>","kind":"import-statement","external":true}],"format":"esm"},"src/context.ts":{"bytes":493,"imports":[{"path":"vue","kind":"import-statement","external":true},{"path":"<runtime>","kind":"import-statement","external":true}],"format":"esm"},"src/validators.ts":{"bytes":1465,"imports":[{"path":"<runtime>","kind":"import-statement","external":true}],"format":"esm"},"src/dom.ts":{"bytes":1738,"imports":[{"path":"src/validators.ts","kind":"import-statement","original":"./validators"},{"path":"<runtime>","kind":"import-statement","external":true}],"format":"esm"},"src/generators.ts":{"bytes":778,"imports":[{"path":"vue","kind":"import-statement","external":true},{"path":"<runtime>","kind":"import-statement","external":true}],"format":"esm"},"src/performance.ts":{"bytes":2171,"imports":[{"path":"vue","kind":"import-statement","external":true},{"path":"<runtime>","kind":"import-statement","external":true}],"format":"esm"},"src/object.ts":{"bytes":918,"imports":[{"path":"vue","kind":"import-statement","external":true},{"path":"./types","kind":"import-statement","external":true},{"path":"<runtime>","kind":"import-statement","external":true}],"format":"esm"},"src/types.ts":{"bytes":773,"imports":[{"path":"vue","kind":"import-statement","external":true}],"format":"esm"},"src/index.ts":{"bytes":472,"imports":[{"path":"src/performance.ts","kind":"import-statement","original":"./performance"},{"path":"src/validators.ts","kind":"import-statement","original":"./validators"},{"path":"src/generators.ts","kind":"import-statement","original":"./generators"},{"path":"src/object.ts","kind":"import-statement","original":"./object"},{"path":"src/context.ts","kind":"import-statement","original":"./context"},{"path":"src/dom.ts","kind":"import-statement","original":"./dom"},{"path":"src/types.ts","kind":"import-statement","original":"./types"},{"path":"src/array.ts","kind":"import-statement","original":"./array"},{"path":"src/types.ts","kind":"import-statement","original":"./types"},{"path":"@vueuse/core","kind":"import-statement","external":true}],"format":"esm"}},"outputs":{"dist/array.js":{"imports":[],"exports":[],"entryPoint":"src/array.ts","inputs":{"src/array.ts":{"bytesInOutput":377}},"bytes":1384},"dist/context.js":{"imports":[{"path":"vue","kind":"require-call","external":true}],"exports":[],"entryPoint":"src/context.ts","inputs":{"src/context.ts":{"bytesInOutput":579}},"bytes":1602},"dist/dom.js":{"imports":[],"exports":[],"entryPoint":"src/dom.ts","inputs":{"src/dom.ts":{"bytesInOutput":1381},"src/validators.ts":{"bytesInOutput":110}},"bytes":2592},"dist/generators.js":{"imports":[{"path":"vue","kind":"require-call","external":true}],"exports":[],"entryPoint":"src/generators.ts","inputs":{"src/generators.ts":{"bytesInOutput":953}},"bytes":1993},"dist/index.js":{"imports":[{"path":"vue","kind":"require-call","external":true},{"path":"vue","kind":"require-call","external":true},{"path":"vue","kind":"require-call","external":true},{"path":"vue","kind":"require-call","external":true},{"path":"@vueuse/core","kind":"require-call","external":true}],"exports":[],"entryPoint":"src/index.ts","inputs":{"src/index.ts":{"bytesInOutput":1154},"src/performance.ts":{"bytesInOutput":1935},"src/validators.ts":{"bytesInOutput":990},"src/generators.ts":{"bytesInOutput":752},"src/object.ts":{"bytesInOutput":851},"src/context.ts":{"bytesInOutput":423},"src/dom.ts":{"bytesInOutput":1132},"src/array.ts":{"bytesInOutput":252}},"bytes":9055},"dist/object.js":{"imports":[{"path":"vue","kind":"require-call","external":true}],"exports":[],"entryPoint":"src/object.ts","inputs":{"src/object.ts":{"bytesInOutput":1103}},"bytes":2168},"dist/performance.js":{"imports":[{"path":"vue","kind":"require-call","external":true}],"exports":[],"entryPoint":"src/performance.ts","inputs":{"src/performance.ts":{"bytesInOutput":2108}},"bytes":3136},"dist/types.js":{"imports":[],"exports":[],"entryPoint":"src/types.ts","inputs":{"src/types.ts":{"bytesInOutput":70}},"bytes":758},"dist/validators.js":{"imports":[],"exports":[],"entryPoint":"src/validators.ts","inputs":{"src/validators.ts":{"bytesInOutput":1218}},"bytes":2268}}}
1
+ {"inputs":{"src/array.ts":{"bytes":479,"imports":[{"path":"<runtime>","kind":"import-statement","external":true}],"format":"esm"},"src/context.ts":{"bytes":493,"imports":[{"path":"vue","kind":"import-statement","external":true},{"path":"<runtime>","kind":"import-statement","external":true}],"format":"esm"},"src/validators.ts":{"bytes":1465,"imports":[{"path":"<runtime>","kind":"import-statement","external":true}],"format":"esm"},"src/dom.ts":{"bytes":1738,"imports":[{"path":"src/validators.ts","kind":"import-statement","original":"./validators"},{"path":"<runtime>","kind":"import-statement","external":true}],"format":"esm"},"src/generators.ts":{"bytes":778,"imports":[{"path":"vue","kind":"import-statement","external":true},{"path":"<runtime>","kind":"import-statement","external":true}],"format":"esm"},"src/performance.ts":{"bytes":2171,"imports":[{"path":"vue","kind":"import-statement","external":true},{"path":"<runtime>","kind":"import-statement","external":true}],"format":"esm"},"src/object.ts":{"bytes":918,"imports":[{"path":"vue","kind":"import-statement","external":true},{"path":"./types","kind":"import-statement","external":true},{"path":"<runtime>","kind":"import-statement","external":true}],"format":"esm"},"src/types.ts":{"bytes":1084,"imports":[{"path":"vue","kind":"import-statement","external":true},{"path":"<runtime>","kind":"import-statement","external":true}],"format":"esm"},"src/index.ts":{"bytes":566,"imports":[{"path":"src/performance.ts","kind":"import-statement","original":"./performance"},{"path":"src/validators.ts","kind":"import-statement","original":"./validators"},{"path":"src/generators.ts","kind":"import-statement","original":"./generators"},{"path":"src/object.ts","kind":"import-statement","original":"./object"},{"path":"src/context.ts","kind":"import-statement","original":"./context"},{"path":"src/dom.ts","kind":"import-statement","original":"./dom"},{"path":"src/types.ts","kind":"import-statement","original":"./types"},{"path":"src/array.ts","kind":"import-statement","original":"./array"},{"path":"src/types.ts","kind":"import-statement","original":"./types"},{"path":"@vueuse/core","kind":"import-statement","external":true},{"path":"@vueuse/integrations/useFocusTrap","kind":"import-statement","external":true}],"format":"esm"}},"outputs":{"dist/array.js":{"imports":[],"exports":[],"entryPoint":"src/array.ts","inputs":{"src/array.ts":{"bytesInOutput":377}},"bytes":1384},"dist/context.js":{"imports":[{"path":"vue","kind":"require-call","external":true}],"exports":[],"entryPoint":"src/context.ts","inputs":{"src/context.ts":{"bytesInOutput":579}},"bytes":1602},"dist/dom.js":{"imports":[],"exports":[],"entryPoint":"src/dom.ts","inputs":{"src/dom.ts":{"bytesInOutput":1381},"src/validators.ts":{"bytesInOutput":110}},"bytes":2592},"dist/generators.js":{"imports":[{"path":"vue","kind":"require-call","external":true}],"exports":[],"entryPoint":"src/generators.ts","inputs":{"src/generators.ts":{"bytesInOutput":953}},"bytes":1993},"dist/index.js":{"imports":[{"path":"vue","kind":"require-call","external":true},{"path":"vue","kind":"require-call","external":true},{"path":"vue","kind":"require-call","external":true},{"path":"vue","kind":"require-call","external":true},{"path":"@vueuse/core","kind":"require-call","external":true},{"path":"@vueuse/integrations/useFocusTrap","kind":"require-call","external":true}],"exports":[],"entryPoint":"src/index.ts","inputs":{"src/index.ts":{"bytesInOutput":1422},"src/performance.ts":{"bytesInOutput":1935},"src/validators.ts":{"bytesInOutput":990},"src/generators.ts":{"bytesInOutput":752},"src/object.ts":{"bytesInOutput":851},"src/context.ts":{"bytesInOutput":423},"src/dom.ts":{"bytesInOutput":1132},"src/types.ts":{"bytesInOutput":99},"src/array.ts":{"bytesInOutput":252}},"bytes":9507},"dist/object.js":{"imports":[{"path":"vue","kind":"require-call","external":true}],"exports":[],"entryPoint":"src/object.ts","inputs":{"src/object.ts":{"bytesInOutput":1103}},"bytes":2168},"dist/performance.js":{"imports":[{"path":"vue","kind":"require-call","external":true}],"exports":[],"entryPoint":"src/performance.ts","inputs":{"src/performance.ts":{"bytesInOutput":2108}},"bytes":3136},"dist/types.js":{"imports":[],"exports":[],"entryPoint":"src/types.ts","inputs":{"src/types.ts":{"bytesInOutput":242}},"bytes":1258},"dist/validators.js":{"imports":[],"exports":[],"entryPoint":"src/validators.ts","inputs":{"src/validators.ts":{"bytesInOutput":1218}},"bytes":2268}}}
@@ -1 +1 @@
1
- {"inputs":{"src/array.ts":{"bytes":479,"imports":[{"path":"<runtime>","kind":"import-statement","external":true}],"format":"esm"},"src/context.ts":{"bytes":493,"imports":[{"path":"vue","kind":"import-statement","external":true},{"path":"<runtime>","kind":"import-statement","external":true}],"format":"esm"},"src/validators.ts":{"bytes":1465,"imports":[{"path":"<runtime>","kind":"import-statement","external":true}],"format":"esm"},"src/dom.ts":{"bytes":1738,"imports":[{"path":"src/validators.ts","kind":"import-statement","original":"./validators"},{"path":"<runtime>","kind":"import-statement","external":true}],"format":"esm"},"src/generators.ts":{"bytes":778,"imports":[{"path":"vue","kind":"import-statement","external":true},{"path":"<runtime>","kind":"import-statement","external":true}],"format":"esm"},"src/performance.ts":{"bytes":2171,"imports":[{"path":"vue","kind":"import-statement","external":true},{"path":"<runtime>","kind":"import-statement","external":true}],"format":"esm"},"src/object.ts":{"bytes":918,"imports":[{"path":"vue","kind":"import-statement","external":true},{"path":"./types","kind":"import-statement","external":true},{"path":"<runtime>","kind":"import-statement","external":true}],"format":"esm"},"src/types.ts":{"bytes":773,"imports":[{"path":"vue","kind":"import-statement","external":true}],"format":"esm"},"src/index.ts":{"bytes":472,"imports":[{"path":"src/performance.ts","kind":"import-statement","original":"./performance"},{"path":"src/validators.ts","kind":"import-statement","original":"./validators"},{"path":"src/generators.ts","kind":"import-statement","original":"./generators"},{"path":"src/object.ts","kind":"import-statement","original":"./object"},{"path":"src/context.ts","kind":"import-statement","original":"./context"},{"path":"src/dom.ts","kind":"import-statement","original":"./dom"},{"path":"src/types.ts","kind":"import-statement","original":"./types"},{"path":"src/array.ts","kind":"import-statement","original":"./array"},{"path":"src/types.ts","kind":"import-statement","original":"./types"},{"path":"@vueuse/core","kind":"import-statement","external":true}],"format":"esm"}},"outputs":{"dist/validators.mjs":{"imports":[{"path":"dist/chunk-RVQZSOON.mjs","kind":"import-statement"},{"path":"dist/chunk-QZ7VFGWC.mjs","kind":"import-statement"}],"exports":["isDef","isEqual","isUndef","isVueComponent"],"entryPoint":"src/validators.ts","inputs":{},"bytes":179},"dist/array.mjs":{"imports":[{"path":"dist/chunk-555RL46T.mjs","kind":"import-statement"},{"path":"dist/chunk-QZ7VFGWC.mjs","kind":"import-statement"}],"exports":["groupBy"],"entryPoint":"src/array.ts","inputs":{},"bytes":103},"dist/context.mjs":{"imports":[{"path":"dist/chunk-HXLTBFWE.mjs","kind":"import-statement"},{"path":"dist/chunk-QZ7VFGWC.mjs","kind":"import-statement"}],"exports":["usePixelCreateContext"],"entryPoint":"src/context.ts","inputs":{},"bytes":131},"dist/dom.mjs":{"imports":[{"path":"dist/chunk-MUK2XIES.mjs","kind":"import-statement"},{"path":"dist/chunk-RVQZSOON.mjs","kind":"import-statement"},{"path":"dist/chunk-QZ7VFGWC.mjs","kind":"import-statement"}],"exports":["getElement","getNode","isElementVisible","scrollToTargetElement"],"entryPoint":"src/dom.ts","inputs":{},"bytes":252},"dist/generators.mjs":{"imports":[{"path":"dist/chunk-TJIIVYQV.mjs","kind":"import-statement"},{"path":"dist/chunk-QZ7VFGWC.mjs","kind":"import-statement"}],"exports":["declareEmit","getUniqueId","useId"],"entryPoint":"src/generators.ts","inputs":{},"bytes":159},"dist/index.mjs":{"imports":[{"path":"dist/chunk-555RL46T.mjs","kind":"import-statement"},{"path":"dist/chunk-HXLTBFWE.mjs","kind":"import-statement"},{"path":"dist/chunk-MUK2XIES.mjs","kind":"import-statement"},{"path":"dist/chunk-RVQZSOON.mjs","kind":"import-statement"},{"path":"dist/chunk-TJIIVYQV.mjs","kind":"import-statement"},{"path":"dist/chunk-PLTSXP5P.mjs","kind":"import-statement"},{"path":"dist/chunk-65WDFMBW.mjs","kind":"import-statement"},{"path":"dist/chunk-QZ7VFGWC.mjs","kind":"import-statement"},{"path":"dist/chunk-WBQAMGXK.mjs","kind":"import-statement"},{"path":"@vueuse/core","kind":"import-statement","external":true}],"exports":["declareEmit","getChildren","getElement","getNode","getUniqueId","groupBy","isDef","isElementVisible","isEqual","isObject","isUndef","isVueComponent","objectFilter","objectFilterUndefined","onClickOutside","onKeyStroke","scrollToTargetElement","unrefElement","useId","useInfiniteScroll","useIntersectionObserver","usePerformanceObserver","usePixelCreateContext","useStorage","useVirtualList"],"entryPoint":"src/index.ts","inputs":{"src/index.ts":{"bytesInOutput":146}},"bytes":1214},"dist/chunk-555RL46T.mjs":{"imports":[{"path":"dist/chunk-QZ7VFGWC.mjs","kind":"import-statement"}],"exports":["groupBy"],"inputs":{"src/array.ts":{"bytesInOutput":252}},"bytes":341},"dist/chunk-HXLTBFWE.mjs":{"imports":[{"path":"dist/chunk-QZ7VFGWC.mjs","kind":"import-statement"},{"path":"vue","kind":"import-statement","external":true}],"exports":["usePixelCreateContext"],"inputs":{"src/context.ts":{"bytesInOutput":394}},"bytes":499},"dist/chunk-MUK2XIES.mjs":{"imports":[{"path":"dist/chunk-RVQZSOON.mjs","kind":"import-statement"},{"path":"dist/chunk-QZ7VFGWC.mjs","kind":"import-statement"}],"exports":["getElement","getNode","isElementVisible","scrollToTargetElement"],"inputs":{"src/dom.ts":{"bytesInOutput":1132}},"bytes":1335},"dist/chunk-RVQZSOON.mjs":{"imports":[{"path":"dist/chunk-QZ7VFGWC.mjs","kind":"import-statement"}],"exports":["isDef","isEqual","isUndef","isVueComponent"],"inputs":{"src/validators.ts":{"bytesInOutput":990}},"bytes":1122},"dist/chunk-TJIIVYQV.mjs":{"imports":[{"path":"dist/chunk-QZ7VFGWC.mjs","kind":"import-statement"},{"path":"vue","kind":"import-statement","external":true}],"exports":["declareEmit","getUniqueId","useId"],"inputs":{"src/generators.ts":{"bytesInOutput":721}},"bytes":843},"dist/object.mjs":{"imports":[{"path":"dist/chunk-PLTSXP5P.mjs","kind":"import-statement"},{"path":"dist/chunk-QZ7VFGWC.mjs","kind":"import-statement"}],"exports":["getChildren","isObject","objectFilter","objectFilterUndefined"],"entryPoint":"src/object.ts","inputs":{},"bytes":217},"dist/chunk-PLTSXP5P.mjs":{"imports":[{"path":"dist/chunk-QZ7VFGWC.mjs","kind":"import-statement"},{"path":"vue","kind":"import-statement","external":true}],"exports":["getChildren","isObject","objectFilter","objectFilterUndefined"],"inputs":{"src/object.ts":{"bytesInOutput":831}},"bytes":978},"dist/performance.mjs":{"imports":[{"path":"dist/chunk-65WDFMBW.mjs","kind":"import-statement"},{"path":"dist/chunk-QZ7VFGWC.mjs","kind":"import-statement"}],"exports":["usePerformanceObserver"],"entryPoint":"src/performance.ts","inputs":{},"bytes":133},"dist/chunk-65WDFMBW.mjs":{"imports":[{"path":"dist/chunk-QZ7VFGWC.mjs","kind":"import-statement"},{"path":"vue","kind":"import-statement","external":true}],"exports":["usePerformanceObserver"],"inputs":{"src/performance.ts":{"bytesInOutput":1880}},"bytes":1990},"dist/chunk-QZ7VFGWC.mjs":{"imports":[],"exports":["__name"],"inputs":{},"bytes":151},"dist/types.mjs":{"imports":[{"path":"dist/chunk-WBQAMGXK.mjs","kind":"import-statement"}],"exports":[],"entryPoint":"src/types.ts","inputs":{},"bytes":31},"dist/chunk-WBQAMGXK.mjs":{"imports":[],"exports":[],"inputs":{"src/types.ts":{"bytesInOutput":0}},"bytes":0}}}
1
+ {"inputs":{"src/array.ts":{"bytes":479,"imports":[{"path":"<runtime>","kind":"import-statement","external":true}],"format":"esm"},"src/context.ts":{"bytes":493,"imports":[{"path":"vue","kind":"import-statement","external":true},{"path":"<runtime>","kind":"import-statement","external":true}],"format":"esm"},"src/validators.ts":{"bytes":1465,"imports":[{"path":"<runtime>","kind":"import-statement","external":true}],"format":"esm"},"src/dom.ts":{"bytes":1738,"imports":[{"path":"src/validators.ts","kind":"import-statement","original":"./validators"},{"path":"<runtime>","kind":"import-statement","external":true}],"format":"esm"},"src/generators.ts":{"bytes":778,"imports":[{"path":"vue","kind":"import-statement","external":true},{"path":"<runtime>","kind":"import-statement","external":true}],"format":"esm"},"src/performance.ts":{"bytes":2171,"imports":[{"path":"vue","kind":"import-statement","external":true},{"path":"<runtime>","kind":"import-statement","external":true}],"format":"esm"},"src/object.ts":{"bytes":918,"imports":[{"path":"vue","kind":"import-statement","external":true},{"path":"./types","kind":"import-statement","external":true},{"path":"<runtime>","kind":"import-statement","external":true}],"format":"esm"},"src/types.ts":{"bytes":1084,"imports":[{"path":"vue","kind":"import-statement","external":true},{"path":"<runtime>","kind":"import-statement","external":true}],"format":"esm"},"src/index.ts":{"bytes":566,"imports":[{"path":"src/performance.ts","kind":"import-statement","original":"./performance"},{"path":"src/validators.ts","kind":"import-statement","original":"./validators"},{"path":"src/generators.ts","kind":"import-statement","original":"./generators"},{"path":"src/object.ts","kind":"import-statement","original":"./object"},{"path":"src/context.ts","kind":"import-statement","original":"./context"},{"path":"src/dom.ts","kind":"import-statement","original":"./dom"},{"path":"src/types.ts","kind":"import-statement","original":"./types"},{"path":"src/array.ts","kind":"import-statement","original":"./array"},{"path":"src/types.ts","kind":"import-statement","original":"./types"},{"path":"@vueuse/core","kind":"import-statement","external":true},{"path":"@vueuse/integrations/useFocusTrap","kind":"import-statement","external":true}],"format":"esm"}},"outputs":{"dist/validators.mjs":{"imports":[{"path":"dist/chunk-RVQZSOON.mjs","kind":"import-statement"},{"path":"dist/chunk-QZ7VFGWC.mjs","kind":"import-statement"}],"exports":["isDef","isEqual","isUndef","isVueComponent"],"entryPoint":"src/validators.ts","inputs":{},"bytes":179},"dist/array.mjs":{"imports":[{"path":"dist/chunk-555RL46T.mjs","kind":"import-statement"},{"path":"dist/chunk-QZ7VFGWC.mjs","kind":"import-statement"}],"exports":["groupBy"],"entryPoint":"src/array.ts","inputs":{},"bytes":103},"dist/context.mjs":{"imports":[{"path":"dist/chunk-HXLTBFWE.mjs","kind":"import-statement"},{"path":"dist/chunk-QZ7VFGWC.mjs","kind":"import-statement"}],"exports":["usePixelCreateContext"],"entryPoint":"src/context.ts","inputs":{},"bytes":131},"dist/dom.mjs":{"imports":[{"path":"dist/chunk-MUK2XIES.mjs","kind":"import-statement"},{"path":"dist/chunk-RVQZSOON.mjs","kind":"import-statement"},{"path":"dist/chunk-QZ7VFGWC.mjs","kind":"import-statement"}],"exports":["getElement","getNode","isElementVisible","scrollToTargetElement"],"entryPoint":"src/dom.ts","inputs":{},"bytes":252},"dist/generators.mjs":{"imports":[{"path":"dist/chunk-TJIIVYQV.mjs","kind":"import-statement"},{"path":"dist/chunk-QZ7VFGWC.mjs","kind":"import-statement"}],"exports":["declareEmit","getUniqueId","useId"],"entryPoint":"src/generators.ts","inputs":{},"bytes":159},"dist/index.mjs":{"imports":[{"path":"dist/chunk-555RL46T.mjs","kind":"import-statement"},{"path":"dist/chunk-HXLTBFWE.mjs","kind":"import-statement"},{"path":"dist/chunk-MUK2XIES.mjs","kind":"import-statement"},{"path":"dist/chunk-RVQZSOON.mjs","kind":"import-statement"},{"path":"dist/chunk-TJIIVYQV.mjs","kind":"import-statement"},{"path":"dist/chunk-PLTSXP5P.mjs","kind":"import-statement"},{"path":"dist/chunk-65WDFMBW.mjs","kind":"import-statement"},{"path":"dist/chunk-P3Q2WHZW.mjs","kind":"import-statement"},{"path":"dist/chunk-QZ7VFGWC.mjs","kind":"import-statement"},{"path":"@vueuse/core","kind":"import-statement","external":true},{"path":"@vueuse/integrations/useFocusTrap","kind":"import-statement","external":true}],"exports":["declareEmit","definePropsTable","getChildren","getElement","getNode","getUniqueId","groupBy","isDef","isElementVisible","isEqual","isObject","isUndef","isVueComponent","objectFilter","objectFilterUndefined","onClickOutside","onKeyStroke","scrollToTargetElement","unrefElement","useFocusTrap","useId","useInfiniteScroll","useIntersectionObserver","usePerformanceObserver","usePixelCreateContext","useScrollLock","useStorage","useStyleTag","useVirtualList"],"entryPoint":"src/index.ts","inputs":{"src/index.ts":{"bytesInOutput":240}},"bytes":1404},"dist/chunk-555RL46T.mjs":{"imports":[{"path":"dist/chunk-QZ7VFGWC.mjs","kind":"import-statement"}],"exports":["groupBy"],"inputs":{"src/array.ts":{"bytesInOutput":252}},"bytes":341},"dist/chunk-HXLTBFWE.mjs":{"imports":[{"path":"dist/chunk-QZ7VFGWC.mjs","kind":"import-statement"},{"path":"vue","kind":"import-statement","external":true}],"exports":["usePixelCreateContext"],"inputs":{"src/context.ts":{"bytesInOutput":394}},"bytes":499},"dist/chunk-MUK2XIES.mjs":{"imports":[{"path":"dist/chunk-RVQZSOON.mjs","kind":"import-statement"},{"path":"dist/chunk-QZ7VFGWC.mjs","kind":"import-statement"}],"exports":["getElement","getNode","isElementVisible","scrollToTargetElement"],"inputs":{"src/dom.ts":{"bytesInOutput":1132}},"bytes":1335},"dist/chunk-RVQZSOON.mjs":{"imports":[{"path":"dist/chunk-QZ7VFGWC.mjs","kind":"import-statement"}],"exports":["isDef","isEqual","isUndef","isVueComponent"],"inputs":{"src/validators.ts":{"bytesInOutput":990}},"bytes":1122},"dist/chunk-TJIIVYQV.mjs":{"imports":[{"path":"dist/chunk-QZ7VFGWC.mjs","kind":"import-statement"},{"path":"vue","kind":"import-statement","external":true}],"exports":["declareEmit","getUniqueId","useId"],"inputs":{"src/generators.ts":{"bytesInOutput":721}},"bytes":843},"dist/object.mjs":{"imports":[{"path":"dist/chunk-PLTSXP5P.mjs","kind":"import-statement"},{"path":"dist/chunk-QZ7VFGWC.mjs","kind":"import-statement"}],"exports":["getChildren","isObject","objectFilter","objectFilterUndefined"],"entryPoint":"src/object.ts","inputs":{},"bytes":217},"dist/chunk-PLTSXP5P.mjs":{"imports":[{"path":"dist/chunk-QZ7VFGWC.mjs","kind":"import-statement"},{"path":"vue","kind":"import-statement","external":true}],"exports":["getChildren","isObject","objectFilter","objectFilterUndefined"],"inputs":{"src/object.ts":{"bytesInOutput":831}},"bytes":978},"dist/performance.mjs":{"imports":[{"path":"dist/chunk-65WDFMBW.mjs","kind":"import-statement"},{"path":"dist/chunk-QZ7VFGWC.mjs","kind":"import-statement"}],"exports":["usePerformanceObserver"],"entryPoint":"src/performance.ts","inputs":{},"bytes":133},"dist/chunk-65WDFMBW.mjs":{"imports":[{"path":"dist/chunk-QZ7VFGWC.mjs","kind":"import-statement"},{"path":"vue","kind":"import-statement","external":true}],"exports":["usePerformanceObserver"],"inputs":{"src/performance.ts":{"bytesInOutput":1880}},"bytes":1990},"dist/types.mjs":{"imports":[{"path":"dist/chunk-P3Q2WHZW.mjs","kind":"import-statement"},{"path":"dist/chunk-QZ7VFGWC.mjs","kind":"import-statement"}],"exports":["definePropsTable"],"entryPoint":"src/types.ts","inputs":{},"bytes":121},"dist/chunk-P3Q2WHZW.mjs":{"imports":[{"path":"dist/chunk-QZ7VFGWC.mjs","kind":"import-statement"}],"exports":["definePropsTable"],"inputs":{"src/types.ts":{"bytesInOutput":99}},"bytes":197},"dist/chunk-QZ7VFGWC.mjs":{"imports":[],"exports":["__name"],"inputs":{},"bytes":151}}}
package/dist/types.d.mts CHANGED
@@ -13,5 +13,16 @@ type ComponentWithProps<P> = {
13
13
  };
14
14
  };
15
15
  };
16
+ interface PropsTable {
17
+ name: string;
18
+ description: string;
19
+ types: string;
20
+ defaultValue?: string;
21
+ playground?: {
22
+ category: 'text' | 'dropdown' | 'boolean';
23
+ dropdownOptions?: string[] | number[] | boolean[];
24
+ };
25
+ }
26
+ declare function definePropsTable(value: PropsTable[]): PropsTable[];
16
27
 
17
- export { ComponentWithProps, Dict, FilterFn, Optional, PropTypes };
28
+ export { ComponentWithProps, Dict, FilterFn, Optional, PropTypes, PropsTable, definePropsTable };
package/dist/types.d.ts CHANGED
@@ -13,5 +13,16 @@ type ComponentWithProps<P> = {
13
13
  };
14
14
  };
15
15
  };
16
+ interface PropsTable {
17
+ name: string;
18
+ description: string;
19
+ types: string;
20
+ defaultValue?: string;
21
+ playground?: {
22
+ category: 'text' | 'dropdown' | 'boolean';
23
+ dropdownOptions?: string[] | number[] | boolean[];
24
+ };
25
+ }
26
+ declare function definePropsTable(value: PropsTable[]): PropsTable[];
16
27
 
17
- export { ComponentWithProps, Dict, FilterFn, Optional, PropTypes };
28
+ export { ComponentWithProps, Dict, FilterFn, Optional, PropTypes, PropsTable, definePropsTable };
package/dist/types.js CHANGED
@@ -3,6 +3,11 @@ var __defProp = Object.defineProperty;
3
3
  var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
4
4
  var __getOwnPropNames = Object.getOwnPropertyNames;
5
5
  var __hasOwnProp = Object.prototype.hasOwnProperty;
6
+ var __name = (target, value) => __defProp(target, "name", { value, configurable: true });
7
+ var __export = (target, all) => {
8
+ for (var name in all)
9
+ __defProp(target, name, { get: all[name], enumerable: true });
10
+ };
6
11
  var __copyProps = (to, from, except, desc) => {
7
12
  if (from && typeof from === "object" || typeof from === "function") {
8
13
  for (let key of __getOwnPropNames(from))
@@ -15,4 +20,15 @@ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: tru
15
20
 
16
21
  // src/types.ts
17
22
  var types_exports = {};
23
+ __export(types_exports, {
24
+ definePropsTable: () => definePropsTable
25
+ });
18
26
  module.exports = __toCommonJS(types_exports);
27
+ function definePropsTable(value) {
28
+ return value;
29
+ }
30
+ __name(definePropsTable, "definePropsTable");
31
+ // Annotate the CommonJS export names for ESM import in node:
32
+ 0 && (module.exports = {
33
+ definePropsTable
34
+ });
package/dist/types.mjs CHANGED
@@ -1 +1,7 @@
1
- import "./chunk-WBQAMGXK.mjs";
1
+ import {
2
+ definePropsTable
3
+ } from "./chunk-P3Q2WHZW.mjs";
4
+ import "./chunk-QZ7VFGWC.mjs";
5
+ export {
6
+ definePropsTable
7
+ };
package/package.json CHANGED
@@ -1,24 +1,25 @@
1
1
  {
2
2
  "name": "@mekari/pixel3-utils",
3
3
  "description": "Utils for mekari pixel 3",
4
- "version": "0.0.1",
4
+ "version": "0.0.3",
5
5
  "files": [
6
6
  "dist"
7
7
  ],
8
8
  "main": "dist/index.js",
9
9
  "dependencies": {
10
- "@pandacss/dev": "0.15.4",
10
+ "@pandacss/dev": "0.24.1",
11
11
  "@vueuse/core": "10.6.1",
12
+ "@vueuse/integrations": "^10.7.1",
12
13
  "focus-trap": "^7.5.4"
13
14
  },
14
15
  "peerDependencies": {
15
- "vue": "^3.3.7"
16
+ "vue": "^3.4.9"
16
17
  },
17
18
  "publishConfig": {
18
19
  "access": "public"
19
20
  },
20
21
  "devDependencies": {
21
- "vue": "^3.3.7"
22
+ "vue": "^3.4.9"
22
23
  },
23
24
  "module": "dist/index.mjs",
24
25
  "types": "dist/index.d.ts",
@@ -34,9 +35,9 @@
34
35
  "build": "tsup && pnpm build:types",
35
36
  "build:fast": "tsup",
36
37
  "types:check": "tsc --noEmit",
37
- "replace-config": "clean-package",
38
- "backup-config": "clean-package restore",
39
38
  "build:types": "tsup src --dts-only",
39
+ "backup-config": "clean-package restore",
40
+ "replace-config": "clean-package",
40
41
  "restore-config": "clean-package restore"
41
42
  }
42
43
  }
File without changes