@tresjs/leches 1.3.0 → 1.3.2

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.
Files changed (34) hide show
  1. package/dist/{src/components → components}/BooleanControl.vue.d.ts +3 -2
  2. package/dist/components/ButtonControl.vue.d.ts +8 -0
  3. package/dist/{src/components → components}/ColorControl.vue.d.ts +3 -2
  4. package/dist/{src/components → components}/ControlInput.vue.d.ts +2 -1
  5. package/dist/components/ControlLabel.vue.d.ts +8 -0
  6. package/dist/components/FPSGraph.vue.d.ts +8 -0
  7. package/dist/{src/components → components}/Folder.vue.d.ts +3 -2
  8. package/dist/components/GraphControl.vue.d.ts +8 -0
  9. package/dist/{src/components → components}/NumberControl.vue.d.ts +3 -2
  10. package/dist/{src/components → components}/SelectControl.vue.d.ts +3 -2
  11. package/dist/{src/components → components}/SliderControl.vue.d.ts +3 -2
  12. package/dist/{src/components → components}/TextControl.vue.d.ts +3 -2
  13. package/dist/components/TresLeches.vue.d.ts +24 -0
  14. package/dist/{src/components → components}/VectorControl.vue.d.ts +3 -2
  15. package/dist/index.d.ts +3 -1
  16. package/dist/tresleches.js +799 -787
  17. package/dist/{src/utils → utils}/index.d.ts +1 -0
  18. package/dist/utils/key.d.ts +2 -0
  19. package/package.json +25 -25
  20. package/dist/src/components/ButtonControl.vue.d.ts +0 -7
  21. package/dist/src/components/ControlLabel.vue.d.ts +0 -7
  22. package/dist/src/components/FPSGraph.vue.d.ts +0 -9
  23. package/dist/src/components/GraphControl.vue.d.ts +0 -9
  24. package/dist/src/components/TresLeches.vue.d.ts +0 -45
  25. package/dist/src/index.d.ts +0 -3
  26. /package/dist/{src/composables → composables}/useControls.d.ts +0 -0
  27. /package/dist/{src/composables → composables}/useDraggable/component.d.ts +0 -0
  28. /package/dist/{src/composables → composables}/useDraggable/index.d.ts +0 -0
  29. /package/dist/{src/composables → composables}/useIsDark.d.ts +0 -0
  30. /package/dist/{src/composables → composables}/useNumberDrag.d.ts +0 -0
  31. /package/dist/{src/types → types}/index.d.ts +0 -0
  32. /package/dist/{src/utils → utils}/format.d.ts +0 -0
  33. /package/dist/{src/utils → utils}/is.d.ts +0 -0
  34. /package/dist/{src/utils → utils}/normalize.d.ts +0 -0
@@ -1,3 +1,4 @@
1
1
  export * from './format';
2
2
  export * from './is';
3
+ export * from './key';
3
4
  export * from './normalize';
@@ -0,0 +1,2 @@
1
+ /** Turns a folder name into the prefix of its control keys, without emoji or non-ASCII symbols. */
2
+ export declare function toKeyPrefix(folderName: string): string;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@tresjs/leches",
3
3
  "type": "module",
4
- "version": "1.3.0",
4
+ "version": "1.3.2",
5
5
  "description": "Tasty GUI for Vue controls 🍰",
6
6
  "author": "Alvaro Saburido <hola@alvarosaburido.dev> (https://github.com/alvarosabu/)",
7
7
  "license": "MIT",
@@ -39,42 +39,42 @@
39
39
  "vue": ">=3.3.4"
40
40
  },
41
41
  "dependencies": {
42
- "@unocss/core": "66.3.2",
43
- "@vueuse/components": "^14.3.0",
42
+ "@unocss/core": "^66.9.2",
43
+ "@vueuse/components": "^15.0.0",
44
44
  "@vueuse/motion": "^3.0.3",
45
45
  "unocss-preset-scrollbar": "^4.0.0"
46
46
  },
47
47
  "devDependencies": {
48
48
  "@iconify-json/ic": "^1.2.4",
49
- "@iconify/json": "^2.2.485",
50
- "@typescript-eslint/eslint-plugin": "^8.61.0",
51
- "@typescript-eslint/parser": "^8.61.0",
52
- "@vitejs/plugin-vue": "^6.0.7",
53
- "@vitest/browser": "^4.1.8",
54
- "@vitest/ui": "^4.1.8",
55
- "@vue/test-utils": "^2.4.11",
56
- "@vueuse/core": "^14.3.0",
57
- "@vueuse/shared": "^14.3.0",
58
- "eslint": "^10.4.1",
49
+ "@iconify/json": "^2.2.525",
50
+ "@typescript-eslint/eslint-plugin": "^8.69.0",
51
+ "@typescript-eslint/parser": "^8.69.0",
52
+ "@vitejs/plugin-vue": "^6.0.8",
53
+ "@vitest/browser": "^5.0.1",
54
+ "@vitest/ui": "^5.0.1",
55
+ "@vue/test-utils": "^2.5.0",
56
+ "@vueuse/core": "^15.0.0",
57
+ "@vueuse/shared": "^15.0.0",
58
+ "eslint": "^10.9.1",
59
59
  "eslint-plugin-vitest-globals": "^1.6.1",
60
- "eslint-plugin-vue": "^10.9.2",
60
+ "eslint-plugin-vue": "^10.10.0",
61
61
  "kolorist": "^1.8.0",
62
62
  "pathe": "^2.0.3",
63
63
  "rollup-plugin-analyzer": "^4.0.0",
64
- "rollup-plugin-visualizer": "^7.0.1",
64
+ "rollup-plugin-visualizer": "^7.1.1",
65
65
  "typescript": "^6.0.3",
66
- "unocss": "^66.7.0",
66
+ "unocss": "^66.9.2",
67
67
  "unplugin-vue-components": "^32.1.0",
68
- "vite": "^8.0.16",
68
+ "vite": "^8.2.2",
69
69
  "vite-plugin-banner": "^0.8.1",
70
- "vite-plugin-css-injected-by-js": "^5.0.1",
71
- "vite-plugin-dts": "4.5.4",
72
- "vite-plugin-inspect": "^11.4.1",
73
- "vite-svg-loader": "^5.1.1",
74
- "vitest": "4.1.8",
75
- "vue": "^3.5.38",
76
- "webdriverio": "^9.28.0",
77
- "@tresjs/eslint-config": "1.6.0"
70
+ "vite-plugin-css-injected-by-js": "^5.0.2",
71
+ "vite-plugin-dts": "^5.1.1",
72
+ "vite-plugin-inspect": "^12.0.2",
73
+ "vite-svg-loader": "^5.1.3",
74
+ "vitest": "5.0.1",
75
+ "vue": "^3.5.42",
76
+ "webdriverio": "^9.31.5",
77
+ "@tresjs/eslint-config": "1.7.0"
78
78
  },
79
79
  "nx": {
80
80
  "implicitDependencies": [
@@ -1,7 +0,0 @@
1
- import { LechesButtonControl } from '../types';
2
- type __VLS_Props = {
3
- label: string;
4
- control: LechesButtonControl;
5
- };
6
- declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLButtonElement>;
7
- export default _default;
@@ -1,7 +0,0 @@
1
- import { LechesControl } from '../types';
2
- type __VLS_Props = {
3
- label: string;
4
- control: LechesControl;
5
- };
6
- declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLLabelElement>;
7
- export default _default;
@@ -1,9 +0,0 @@
1
- import { LechesControl } from '../types';
2
- type __VLS_Props = {
3
- label: string;
4
- control: LechesControl;
5
- };
6
- declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
7
- containerRef: HTMLDivElement;
8
- }, HTMLDivElement>;
9
- export default _default;
@@ -1,9 +0,0 @@
1
- import { LechesGraphControl } from '../types';
2
- type __VLS_Props = {
3
- label: string;
4
- control: LechesGraphControl;
5
- };
6
- declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
7
- containerRef: HTMLDivElement;
8
- }, HTMLDivElement>;
9
- export default _default;
@@ -1,45 +0,0 @@
1
- import { LechesControlUnion } from '../types';
2
- type __VLS_Props = {
3
- uuid?: string;
4
- collapsed?: boolean;
5
- float?: boolean;
6
- };
7
- declare function __VLS_template(): {
8
- attrs: Partial<{}>;
9
- slots: Readonly<{
10
- default: () => any;
11
- }> & {
12
- default: () => any;
13
- };
14
- refs: {
15
- containerRef: HTMLDivElement;
16
- paneRef: HTMLDivElement;
17
- searchInputRef: HTMLInputElement;
18
- handleRef: HTMLDivElement;
19
- scrollContainer: HTMLDivElement;
20
- slotsRef: HTMLDivElement;
21
- };
22
- rootEl: HTMLDivElement;
23
- };
24
- type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
25
- declare const __VLS_component: import('vue').DefineComponent<__VLS_Props, {
26
- controls: import('vue').ComputedRef<Record<string, LechesControlUnion>>;
27
- }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
28
- uuid: string;
29
- collapsed: boolean;
30
- float: boolean;
31
- }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
32
- containerRef: HTMLDivElement;
33
- paneRef: HTMLDivElement;
34
- searchInputRef: HTMLInputElement;
35
- handleRef: HTMLDivElement;
36
- scrollContainer: HTMLDivElement;
37
- slotsRef: HTMLDivElement;
38
- }, HTMLDivElement>;
39
- declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
40
- export default _default;
41
- type __VLS_WithTemplateSlots<T, S> = T & {
42
- new (): {
43
- $slots: S;
44
- };
45
- };
@@ -1,3 +0,0 @@
1
- import { default as TresLeches } from './components/TresLeches.vue';
2
- import { useControls, useControlsProvider } from './composables/useControls';
3
- export { TresLeches, useControls, useControlsProvider };
File without changes
File without changes
File without changes
File without changes