@pequity/squirrel 1.0.28-beta.1 → 1.0.28
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/cjs/chunks/p-dropdown-select.js +2 -2
- package/dist/cjs/p-select-pill.js +6 -3
- package/dist/cjs/tailwind.js +5 -4333
- package/dist/es/chunks/p-dropdown-select.js +2 -2
- package/dist/es/p-select-pill.js +6 -3
- package/dist/es/tailwind.js +5 -4333
- package/package.json +32 -35
- package/squirrel/components/p-dropdown-select/p-dropdown-select.vue +1 -1
- package/squirrel/components/p-select-pill/p-select-pill.vue +6 -2
- package/squirrel/utils/tailwind.ts +1 -1
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@pequity/squirrel",
|
|
3
3
|
"description": "Squirrel component library",
|
|
4
|
-
"version": "1.0.28
|
|
4
|
+
"version": "1.0.28",
|
|
5
5
|
"packageManager": "pnpm@8.9.2",
|
|
6
6
|
"type": "module",
|
|
7
7
|
"scripts": {
|
|
@@ -37,18 +37,6 @@
|
|
|
37
37
|
},
|
|
38
38
|
"main": "./dist/cjs/index.js",
|
|
39
39
|
"module": "./dist/es/index.js",
|
|
40
|
-
"dependencies": {
|
|
41
|
-
"@popperjs/core": "2.11.8",
|
|
42
|
-
"@tanstack/vue-virtual": "3.4.0",
|
|
43
|
-
"dayjs": "1.11.10",
|
|
44
|
-
"floating-vue": "5.2.2",
|
|
45
|
-
"lodash-es": "4.17.21",
|
|
46
|
-
"v-calendar": "3.1.2",
|
|
47
|
-
"vue": "3.4.24",
|
|
48
|
-
"vue-currency-input": "3.1.0",
|
|
49
|
-
"vue-router": "4.3.0",
|
|
50
|
-
"vue-toastification": "2.0.0-rc.5"
|
|
51
|
-
},
|
|
52
40
|
"peerDependencies": {
|
|
53
41
|
"@popperjs/core": "^2.11.8",
|
|
54
42
|
"@tanstack/vue-virtual": "^3.2.0",
|
|
@@ -62,58 +50,67 @@
|
|
|
62
50
|
"vue-toastification": "^2.0.0-rc.5"
|
|
63
51
|
},
|
|
64
52
|
"devDependencies": {
|
|
65
|
-
"@babel/core": "^7.24.
|
|
66
|
-
"@babel/preset-env": "^7.24.
|
|
53
|
+
"@babel/core": "^7.24.5",
|
|
54
|
+
"@babel/preset-env": "^7.24.5",
|
|
67
55
|
"@commitlint/cli": "^19.3.0",
|
|
68
56
|
"@commitlint/config-conventional": "^19.2.2",
|
|
69
57
|
"@pequity/eslint-config": "^0.0.12",
|
|
58
|
+
"@popperjs/core": "2.11.8",
|
|
70
59
|
"@semantic-release/changelog": "^6.0.3",
|
|
71
60
|
"@semantic-release/git": "^10.0.1",
|
|
72
|
-
"@storybook/addon-a11y": "^8.0.
|
|
73
|
-
"@storybook/addon-actions": "^8.0.
|
|
74
|
-
"@storybook/addon-essentials": "^8.0.
|
|
75
|
-
"@storybook/addon-interactions": "^8.0.
|
|
76
|
-
"@storybook/addon-links": "^8.0.
|
|
77
|
-
"@storybook/blocks": "^8.0.
|
|
61
|
+
"@storybook/addon-a11y": "^8.0.10",
|
|
62
|
+
"@storybook/addon-actions": "^8.0.10",
|
|
63
|
+
"@storybook/addon-essentials": "^8.0.10",
|
|
64
|
+
"@storybook/addon-interactions": "^8.0.10",
|
|
65
|
+
"@storybook/addon-links": "^8.0.10",
|
|
66
|
+
"@storybook/blocks": "^8.0.10",
|
|
78
67
|
"@storybook/jest": "^0.2.3",
|
|
79
|
-
"@storybook/manager-api": "^8.0.
|
|
80
|
-
"@storybook/test-runner": "^0.
|
|
68
|
+
"@storybook/manager-api": "^8.0.10",
|
|
69
|
+
"@storybook/test-runner": "^0.18.0",
|
|
81
70
|
"@storybook/testing-library": "^0.2.2",
|
|
82
|
-
"@storybook/theming": "^8.0.
|
|
83
|
-
"@storybook/vue3": "^8.0.
|
|
84
|
-
"@storybook/vue3-vite": "^8.0.
|
|
71
|
+
"@storybook/theming": "^8.0.10",
|
|
72
|
+
"@storybook/vue3": "^8.0.10",
|
|
73
|
+
"@storybook/vue3-vite": "^8.0.10",
|
|
74
|
+
"@tanstack/vue-virtual": "3.4.0",
|
|
85
75
|
"@types/jest": "^29.5.12",
|
|
86
76
|
"@types/jsdom": "^21.1.6",
|
|
87
77
|
"@types/lodash-es": "^4.17.12",
|
|
88
|
-
"@types/node": "^20.12.
|
|
78
|
+
"@types/node": "^20.12.11",
|
|
89
79
|
"@vitejs/plugin-vue": "^5.0.4",
|
|
90
|
-
"@vue/compiler-sfc": "3.4.
|
|
91
|
-
"@vue/test-utils": "^2.4.
|
|
80
|
+
"@vue/compiler-sfc": "3.4.27",
|
|
81
|
+
"@vue/test-utils": "^2.4.6",
|
|
92
82
|
"@vue/vue3-jest": "^29.2.6",
|
|
93
83
|
"autoprefixer": "^10.4.19",
|
|
94
84
|
"babel-jest": "^29.7.0",
|
|
85
|
+
"dayjs": "1.11.11",
|
|
95
86
|
"eslint": "^8.57.0",
|
|
96
87
|
"eslint-plugin-storybook": "^0.8.0",
|
|
97
|
-
"
|
|
88
|
+
"floating-vue": "5.2.2",
|
|
89
|
+
"glob": "^10.3.14",
|
|
98
90
|
"husky": "^9.0.11",
|
|
99
91
|
"jest": "^29.7.0",
|
|
100
92
|
"jest-environment-jsdom": "^29.7.0",
|
|
101
93
|
"lint-staged": "^15.2.2",
|
|
94
|
+
"lodash-es": "4.17.21",
|
|
102
95
|
"make-coverage-badge": "^1.2.0",
|
|
103
96
|
"postcss": "^8.4.38",
|
|
104
97
|
"prettier": "^3.2.5",
|
|
105
98
|
"prettier-plugin-tailwindcss": "^0.5.14",
|
|
106
99
|
"resolve-tspaths": "^0.8.18",
|
|
107
100
|
"rimraf": "^5.0.5",
|
|
108
|
-
"sass": "^1.
|
|
101
|
+
"sass": "^1.77.0",
|
|
109
102
|
"semantic-release": "^23.0.8",
|
|
110
|
-
"storybook": "^8.0.
|
|
111
|
-
"svgo": "^3.2
|
|
103
|
+
"storybook": "^8.0.10",
|
|
104
|
+
"svgo": "^3.3.2",
|
|
112
105
|
"tailwindcss": "^3.4.3",
|
|
113
106
|
"ts-jest": "^29.1.2",
|
|
114
107
|
"typescript": "5.4.5",
|
|
115
|
-
"
|
|
116
|
-
"
|
|
108
|
+
"v-calendar": "3.1.2",
|
|
109
|
+
"vite": "^5.2.11",
|
|
110
|
+
"vue": "3.4.27",
|
|
111
|
+
"vue-currency-input": "3.1.0",
|
|
112
|
+
"vue-router": "4.3.2",
|
|
113
|
+
"vue-toastification": "2.0.0-rc.5",
|
|
117
114
|
"vue-tsc": "2.0.14"
|
|
118
115
|
}
|
|
119
116
|
}
|
|
@@ -412,6 +412,6 @@ const onShow = async () => {
|
|
|
412
412
|
const onHide = () => {
|
|
413
413
|
dropdownShow.value = false;
|
|
414
414
|
destroyNavigationSvc();
|
|
415
|
-
(formControl.value?.querySelector('button') as HTMLElement)
|
|
415
|
+
(formControl.value?.querySelector('button') as HTMLElement)?.focus();
|
|
416
416
|
};
|
|
417
417
|
</script>
|
|
@@ -102,6 +102,7 @@ export default defineComponent({
|
|
|
102
102
|
setTimeout(() => this.setPillStyle(), 60);
|
|
103
103
|
},
|
|
104
104
|
immediate: true,
|
|
105
|
+
flush: 'post',
|
|
105
106
|
},
|
|
106
107
|
},
|
|
107
108
|
methods: {
|
|
@@ -119,8 +120,11 @@ export default defineComponent({
|
|
|
119
120
|
|
|
120
121
|
const dimensions =
|
|
121
122
|
el.offsetWidth !== 0 ? { left: `${el.offsetLeft}px`, width: `${el.offsetWidth}px` } : getOffsetValues(this.$el);
|
|
122
|
-
|
|
123
|
-
(this.$refs.pill
|
|
123
|
+
|
|
124
|
+
if (this.$refs.pill && this.$refs.pill instanceof HTMLElement) {
|
|
125
|
+
this.$refs.pill.style.left = dimensions.left;
|
|
126
|
+
this.$refs.pill.style.width = dimensions.width;
|
|
127
|
+
}
|
|
124
128
|
},
|
|
125
129
|
},
|
|
126
130
|
});
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import resolveConfig from 'tailwindcss/resolveConfig
|
|
1
|
+
import resolveConfig from 'tailwindcss/resolveConfig';
|
|
2
2
|
// Relative import is used here because of
|
|
3
3
|
// "Module source URI is not allowed in this document: “http://tailwind.config/”" error
|
|
4
4
|
import { get } from 'lodash-es';
|