@huntflow/ui 0.3.4 → 0.3.7
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/components/index.d.ts +4 -0
- package/dist/components/ui-avatar/avatar.vue.d.ts +7 -1
- package/dist/components/ui-avatar/types.d.ts +2 -2
- package/dist/components/ui-badge/badge-code-snippet.d.ts +1 -0
- package/dist/components/ui-badge/badge.vue.d.ts +18 -0
- package/dist/components/ui-badge/index.d.ts +3 -0
- package/dist/components/ui-badge/types.d.ts +14 -0
- package/dist/components/ui-modal/index.d.ts +4 -0
- package/dist/components/ui-modal/layout.vue.d.ts +25 -0
- package/dist/components/ui-modal/modal-code-snippet.d.ts +1 -0
- package/dist/components/ui-modal/modal.vue.d.ts +61 -0
- package/dist/components/ui-modal/native-close-confirmation.vue.d.ts +9 -0
- package/dist/components/ui-modal/types.d.ts +16 -0
- package/dist/components/ui-tabs/index.d.ts +1 -1
- package/dist/components/ui-tabs/scroll.d.ts +4 -0
- package/dist/components/ui-tabs/tabs-code-snippet.d.ts +1 -1
- package/dist/components/ui-tabs/tabs.vue.d.ts +6 -4
- package/dist/components/ui-tabs/types.d.ts +17 -2
- package/dist/global.css +1 -1
- package/dist/sprite-DPj-LBxJ.js +4 -0
- package/dist/ui.es.js +3131 -2429
- package/package.json +6 -13
- package/dist/sprite-72QFlqRU.js +0 -4
package/package.json
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"name": "@huntflow/ui",
|
|
3
3
|
"description": "HuntFlow UiKit, icons, utils library",
|
|
4
4
|
"private": false,
|
|
5
|
-
"version": "0.3.
|
|
5
|
+
"version": "0.3.7",
|
|
6
6
|
"author": {
|
|
7
7
|
"name": "HuntFlow Developer",
|
|
8
8
|
"nickname": "developer",
|
|
@@ -22,6 +22,7 @@
|
|
|
22
22
|
"scripts": {
|
|
23
23
|
"dev": "vite",
|
|
24
24
|
"build": "npm run sprite && vue-tsc -b && vite build",
|
|
25
|
+
"build:frontend": "npm run build && rsync -a --delete dist/ ../huntflow/frontend/node_modules/@huntflow/ui/dist/ && rm -rf ../huntflow/frontend/node_modules/.cache",
|
|
25
26
|
"prepublishOnly": "npm run build",
|
|
26
27
|
"preview": "vite preview",
|
|
27
28
|
"storybook": "npm run tokens:generate && storybook dev -p 6006",
|
|
@@ -31,13 +32,12 @@
|
|
|
31
32
|
"stylelint": "npx stylelint 'src/**/*.css' --config .stylelintrc.cjs",
|
|
32
33
|
"icons:download": "npx tsx utils/figma-icons.ts",
|
|
33
34
|
"icons:update-list": "npx tsx utils/icon-list.ts",
|
|
34
|
-
"visual:create": "npx tsx tests/screenshot-create.ts",
|
|
35
|
-
"visual:compare": "npx tsx tests/compare-screenshots.ts",
|
|
36
35
|
"tokens:generate": "npx tsx utils/generate-tokens.ts",
|
|
37
36
|
"tokens:convert": "npx tsx utils/figma-tokens.ts && npx prettier --write src/assets/css/token.css",
|
|
38
37
|
"sprite": "npx tsx utils/svg-sprite.ts",
|
|
39
38
|
"prepare": "husky install",
|
|
40
|
-
"prepush-checks": "npm run lint && npm run format && npm run stylelint"
|
|
39
|
+
"prepush-checks": "npm run lint && npm run format && npm run stylelint",
|
|
40
|
+
"chromatic": "chromatic"
|
|
41
41
|
},
|
|
42
42
|
"publishConfig": {
|
|
43
43
|
"access": "public"
|
|
@@ -61,7 +61,7 @@
|
|
|
61
61
|
"vue": "^3.5.18"
|
|
62
62
|
},
|
|
63
63
|
"devDependencies": {
|
|
64
|
-
"@chromatic-com/storybook": "^
|
|
64
|
+
"@chromatic-com/storybook": "^5.2.1",
|
|
65
65
|
"@eslint/js": "^9.33.0",
|
|
66
66
|
"@huntflow/eslint-config": "^2.0.0",
|
|
67
67
|
"@storybook/addon-a11y": "^10.1.4",
|
|
@@ -71,9 +71,7 @@
|
|
|
71
71
|
"@storybook/addon-onboarding": "^10.1.4",
|
|
72
72
|
"@storybook/vue3-vite": "^10.1.4",
|
|
73
73
|
"@types/eslint": "^9.6.1",
|
|
74
|
-
"@types/glob": "^8.1.0",
|
|
75
74
|
"@types/node": "^24.2.1",
|
|
76
|
-
"@types/pngjs": "^6.0.5",
|
|
77
75
|
"@types/svg-sprite": "^0.0.39",
|
|
78
76
|
"@typescript-eslint/eslint-plugin": "^8.18.1",
|
|
79
77
|
"@typescript-eslint/parser": "^8.18.1",
|
|
@@ -81,6 +79,7 @@
|
|
|
81
79
|
"@vue/eslint-config-typescript": "^14.6.0",
|
|
82
80
|
"autoprefixer": "^10.4.20",
|
|
83
81
|
"axios": "1.12.2",
|
|
82
|
+
"chromatic": "^16.10.1",
|
|
84
83
|
"css-has-pseudo": "^7.0.2",
|
|
85
84
|
"dotenv": "^17.2.1",
|
|
86
85
|
"eslint": "^9.33.0",
|
|
@@ -88,18 +87,12 @@
|
|
|
88
87
|
"eslint-plugin-import-x": "^4.16.1",
|
|
89
88
|
"eslint-plugin-jest": "^29.0.1",
|
|
90
89
|
"eslint-plugin-storybook": "^10.1.4",
|
|
91
|
-
"glob": "^11.0.3",
|
|
92
90
|
"husky": "^8.0.0",
|
|
93
|
-
"node-fetch": "^3.3.2",
|
|
94
|
-
"pixelmatch": "^7.1.0",
|
|
95
|
-
"pngjs": "^7.0.0",
|
|
96
91
|
"postcss": "^8.4.49",
|
|
97
92
|
"postcss-html": "^1.8.0",
|
|
98
93
|
"postcss-loader": "^8.1.1",
|
|
99
94
|
"postcss-nesting": "^13.0.2",
|
|
100
95
|
"prettier": "^3.6.2",
|
|
101
|
-
"puppeteer": "^24.16.1",
|
|
102
|
-
"sharp": "^0.34.3",
|
|
103
96
|
"storybook": "^10.1.4",
|
|
104
97
|
"storybook-addon-pseudo-states": "^10.1.4",
|
|
105
98
|
"stylelint": "^16.23.1",
|