@pequity/squirrel 3.1.1 → 3.1.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.
- package/dist/squirrel/components/p-input-number/p-input-number.vue.d.ts +1 -1
- package/dist/squirrel/components/p-select-list/useSelectList.d.ts +4 -4
- package/dist/squirrel/components/p-table/usePTableColResize.d.ts +4 -4
- package/dist/squirrel/components/p-table/usePTableRowVirtualizer.d.ts +4 -10
- package/dist/squirrel/composables/useInputClasses.d.ts +1 -1
- package/package.json +31 -27
|
@@ -31,10 +31,10 @@ export declare const useSelectList: (props: Props, inputSearch: InputSearch, vir
|
|
|
31
31
|
computedItems: import("vue").ComputedRef<AnyObject[]>;
|
|
32
32
|
computedItemSize: import("vue").ComputedRef<number>;
|
|
33
33
|
computedInsideSelected: import("vue").ComputedRef<boolean>;
|
|
34
|
-
internalItems: Ref<AnyObject[]
|
|
35
|
-
internalValue: Ref<AnyValue[]
|
|
36
|
-
search: Ref<string
|
|
37
|
-
rowVirtualizer: Ref<import("@tanstack/vue-virtual").Virtualizer<HTMLElement, Element
|
|
34
|
+
internalItems: Ref<AnyObject[]>;
|
|
35
|
+
internalValue: Ref<AnyValue[]>;
|
|
36
|
+
search: Ref<string>;
|
|
37
|
+
rowVirtualizer: Ref<import("@tanstack/vue-virtual").Virtualizer<HTMLElement, Element>>;
|
|
38
38
|
getValue: (index: number) => AnyValue;
|
|
39
39
|
getText: (index: number) => AnyValue;
|
|
40
40
|
isSelected: (val: AnyValue) => boolean;
|
|
@@ -4,10 +4,10 @@ type Options = {
|
|
|
4
4
|
ths: Ref<HTMLElement[]>;
|
|
5
5
|
};
|
|
6
6
|
export declare const usePTableColResize: (options: Options) => {
|
|
7
|
-
isColResizing: Ref<boolean
|
|
8
|
-
colResizeHandleLeft: Ref<string
|
|
9
|
-
colResizingIndex: Ref<number
|
|
10
|
-
colResizingWidth: Ref<number
|
|
7
|
+
isColResizing: Ref<boolean>;
|
|
8
|
+
colResizeHandleLeft: Ref<string>;
|
|
9
|
+
colResizingIndex: Ref<number>;
|
|
10
|
+
colResizingWidth: Ref<number>;
|
|
11
11
|
colResize: (e: MouseEvent) => void;
|
|
12
12
|
colResizeStart: (e: MouseEvent, i: number) => void;
|
|
13
13
|
colResizeStop: () => void;
|
|
@@ -11,18 +11,12 @@ export declare const usePTableRowVirtualizer: (options: Options) => {
|
|
|
11
11
|
virtualRows: Ref<{
|
|
12
12
|
key: number;
|
|
13
13
|
index: number;
|
|
14
|
-
}[], {
|
|
15
|
-
key: number;
|
|
16
|
-
index: number;
|
|
17
|
-
}[] | {
|
|
18
|
-
key: number;
|
|
19
|
-
index: number;
|
|
20
14
|
}[]>;
|
|
21
|
-
paddingTop: Ref<number
|
|
22
|
-
paddingBottom: Ref<number
|
|
23
|
-
measureElement: () => Ref<undefined
|
|
15
|
+
paddingTop: Ref<number>;
|
|
16
|
+
paddingBottom: Ref<number>;
|
|
17
|
+
measureElement: () => Ref<undefined>;
|
|
24
18
|
} | {
|
|
25
|
-
virtualizer: Ref<import("@tanstack/vue-virtual").Virtualizer<HTMLElement, Element
|
|
19
|
+
virtualizer: Ref<import("@tanstack/vue-virtual").Virtualizer<HTMLElement, Element>>;
|
|
26
20
|
virtualRows: ComputedRef<import("@tanstack/vue-virtual").VirtualItem<Element>[]>;
|
|
27
21
|
paddingTop: ComputedRef<number>;
|
|
28
22
|
paddingBottom: ComputedRef<number>;
|
|
@@ -12,6 +12,6 @@ export declare function useInputClasses(props: Partial<Props>): {
|
|
|
12
12
|
labelClasses: import("vue").ComputedRef<string>;
|
|
13
13
|
selectClasses: import("vue").ComputedRef<string>;
|
|
14
14
|
textareaClasses: import("vue").ComputedRef<string>;
|
|
15
|
-
errorMsgClasses: import("vue").Ref<string
|
|
15
|
+
errorMsgClasses: import("vue").Ref<string>;
|
|
16
16
|
};
|
|
17
17
|
export {};
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@pequity/squirrel",
|
|
3
3
|
"description": "Squirrel component library",
|
|
4
|
-
"version": "3.1.
|
|
4
|
+
"version": "3.1.2",
|
|
5
5
|
"packageManager": "pnpm@8.9.2",
|
|
6
6
|
"type": "module",
|
|
7
7
|
"scripts": {
|
|
@@ -52,64 +52,68 @@
|
|
|
52
52
|
"devDependencies": {
|
|
53
53
|
"@babel/core": "^7.25.2",
|
|
54
54
|
"@babel/preset-env": "^7.25.3",
|
|
55
|
-
"@commitlint/cli": "^19.
|
|
55
|
+
"@commitlint/cli": "^19.4.0",
|
|
56
56
|
"@commitlint/config-conventional": "^19.2.2",
|
|
57
57
|
"@pequity/eslint-config": "^0.0.13",
|
|
58
|
+
"@playwright/test": "^1.46.1",
|
|
58
59
|
"@popperjs/core": "2.11.8",
|
|
59
60
|
"@semantic-release/changelog": "^6.0.3",
|
|
60
61
|
"@semantic-release/git": "^10.0.1",
|
|
61
|
-
"@storybook/addon-a11y": "^8.2.
|
|
62
|
-
"@storybook/addon-actions": "^8.2.
|
|
63
|
-
"@storybook/addon-essentials": "^8.2.
|
|
64
|
-
"@storybook/addon-interactions": "^8.2.
|
|
65
|
-
"@storybook/addon-links": "^8.2.
|
|
66
|
-
"@storybook/blocks": "^8.2.
|
|
67
|
-
"@storybook/manager-api": "^8.2.
|
|
68
|
-
"@storybook/test": "^8.2.
|
|
62
|
+
"@storybook/addon-a11y": "^8.2.9",
|
|
63
|
+
"@storybook/addon-actions": "^8.2.9",
|
|
64
|
+
"@storybook/addon-essentials": "^8.2.9",
|
|
65
|
+
"@storybook/addon-interactions": "^8.2.9",
|
|
66
|
+
"@storybook/addon-links": "^8.2.9",
|
|
67
|
+
"@storybook/blocks": "^8.2.9",
|
|
68
|
+
"@storybook/manager-api": "^8.2.9",
|
|
69
|
+
"@storybook/test": "^8.2.9",
|
|
69
70
|
"@storybook/test-runner": "^0.19.1",
|
|
70
|
-
"@storybook/theming": "^8.2.
|
|
71
|
-
"@storybook/vue3": "^8.2.
|
|
72
|
-
"@storybook/vue3-vite": "^8.2.
|
|
73
|
-
"@tanstack/vue-virtual": "3.
|
|
71
|
+
"@storybook/theming": "^8.2.9",
|
|
72
|
+
"@storybook/vue3": "^8.2.9",
|
|
73
|
+
"@storybook/vue3-vite": "^8.2.9",
|
|
74
|
+
"@tanstack/vue-virtual": "3.9.0",
|
|
74
75
|
"@types/jest": "^29.5.12",
|
|
75
76
|
"@types/jsdom": "^21.1.7",
|
|
76
77
|
"@types/lodash-es": "^4.17.12",
|
|
77
|
-
"@types/node": "^22.1
|
|
78
|
+
"@types/node": "^22.4.1",
|
|
78
79
|
"@vitejs/plugin-vue": "^5.1.2",
|
|
79
|
-
"@vue/compiler-sfc": "3.4.
|
|
80
|
+
"@vue/compiler-sfc": "3.4.38",
|
|
80
81
|
"@vue/test-utils": "^2.4.6",
|
|
81
82
|
"@vue/vue3-jest": "^29.2.6",
|
|
82
|
-
"autoprefixer": "^10.4.
|
|
83
|
+
"autoprefixer": "^10.4.20",
|
|
83
84
|
"babel-jest": "^29.7.0",
|
|
85
|
+
"concurrently": "^8.2.2",
|
|
84
86
|
"dayjs": "1.11.12",
|
|
85
87
|
"eslint": "^8.57.0",
|
|
86
88
|
"eslint-plugin-storybook": "^0.8.0",
|
|
87
89
|
"floating-vue": "5.2.2",
|
|
88
90
|
"glob": "^10.4.5",
|
|
91
|
+
"http-server": "^14.1.1",
|
|
89
92
|
"husky": "^9.1.4",
|
|
90
93
|
"jest": "^29.7.0",
|
|
91
94
|
"jest-environment-jsdom": "^29.7.0",
|
|
92
|
-
"lint-staged": "^15.2.
|
|
95
|
+
"lint-staged": "^15.2.9",
|
|
93
96
|
"lodash-es": "4.17.21",
|
|
94
97
|
"make-coverage-badge": "^1.2.0",
|
|
95
|
-
"postcss": "^8.4.
|
|
98
|
+
"postcss": "^8.4.41",
|
|
96
99
|
"prettier": "^3.3.3",
|
|
97
|
-
"prettier-plugin-tailwindcss": "^0.6.
|
|
100
|
+
"prettier-plugin-tailwindcss": "^0.6.6",
|
|
98
101
|
"resolve-tspaths": "^0.8.19",
|
|
99
102
|
"rimraf": "^5.0.10",
|
|
100
103
|
"sass": "^1.77.8",
|
|
101
|
-
"semantic-release": "^24.
|
|
102
|
-
"storybook": "^8.2.
|
|
104
|
+
"semantic-release": "^24.1.0",
|
|
105
|
+
"storybook": "^8.2.9",
|
|
103
106
|
"svgo": "^3.3.2",
|
|
104
|
-
"tailwindcss": "^3.4.
|
|
107
|
+
"tailwindcss": "^3.4.10",
|
|
105
108
|
"ts-jest": "^29.2.4",
|
|
106
109
|
"typescript": "5.5.4",
|
|
107
110
|
"v-calendar": "3.1.2",
|
|
108
|
-
"vite": "^5.
|
|
109
|
-
"vue": "3.4.
|
|
111
|
+
"vite": "^5.4.1",
|
|
112
|
+
"vue": "3.4.38",
|
|
110
113
|
"vue-currency-input": "3.1.0",
|
|
111
|
-
"vue-router": "4.4.
|
|
114
|
+
"vue-router": "4.4.3",
|
|
112
115
|
"vue-toastification": "2.0.0-rc.5",
|
|
113
|
-
"vue-tsc": "2.0.29"
|
|
116
|
+
"vue-tsc": "2.0.29",
|
|
117
|
+
"wait-on": "^7.2.0"
|
|
114
118
|
}
|
|
115
119
|
}
|