@knitify/vue 1.0.0 → 2.0.0
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/README.md +111 -86
- package/dist/index.es.js +3384 -1526
- package/dist/index.umd.js +1 -1
- package/dist/types/components/Avatar/KAvatar.vue.d.ts +5 -1
- package/dist/types/components/Avatar/types.d.ts +91 -3
- package/dist/types/components/Badge/types.d.ts +2 -0
- package/dist/types/components/Chat/KChatDivider.vue.d.ts +11 -0
- package/dist/types/components/Chat/KChatMessageActions.vue.d.ts +18 -0
- package/dist/types/components/Chat/KChatNotice.vue.d.ts +11 -0
- package/dist/types/components/Chat/KChatPrompt.vue.d.ts +1 -1
- package/dist/types/components/Chat/types.d.ts +90 -0
- package/dist/types/components/ChatDock/KChatDock.vue.d.ts +45 -0
- package/dist/types/components/ChatDock/KChatDockItem.vue.d.ts +11 -0
- package/dist/types/components/ChatDock/KChatDockPanel.vue.d.ts +11 -0
- package/dist/types/components/ChatDock/KChatWindow.vue.d.ts +27 -0
- package/dist/types/components/ChatDock/KMessenger.vue.d.ts +23 -0
- package/dist/types/components/ChatDock/keys.d.ts +98 -0
- package/dist/types/components/ChatDock/messenger-types.d.ts +280 -0
- package/dist/types/components/ChatDock/store-keys.d.ts +7 -0
- package/dist/types/components/ChatDock/types.d.ts +134 -0
- package/dist/types/components/ChatDock/useChatDock.d.ts +11 -0
- package/dist/types/components/Collapse/KCollapse.vue.d.ts +2 -2
- package/dist/types/components/Collapse/useCollapseSync.d.ts +7 -5
- package/dist/types/components/Drawer/KDrawer.vue.d.ts +3 -3
- package/dist/types/components/Dropdown/KDropdown.vue.d.ts +2 -2
- package/dist/types/components/Input/types.d.ts +1 -1
- package/dist/types/components/Modal/KModal.vue.d.ts +3 -3
- package/dist/types/components/Popover/KPopover.vue.d.ts +2 -2
- package/dist/types/components/Popover/useOverlaySync.d.ts +15 -1
- package/dist/types/components/Spinner/KSpinner.vue.d.ts +6 -0
- package/dist/types/components/Spinner/types.d.ts +13 -0
- package/dist/types/components/index.d.ts +12 -0
- package/dist/types/components/types.d.ts +4 -0
- package/dist/types/index.d.ts +1 -0
- package/dist/types/utils/useDocumentEvent.d.ts +19 -0
- package/dist/types/utils/useExclusive.d.ts +13 -0
- package/dist/types/utils/useTopmost.d.ts +17 -0
- package/dist/web-types.json +5107 -0
- package/package.json +17 -5
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@knitify/vue",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "2.0.0",
|
|
4
4
|
"description": "Vue 3 components for Knitify, the core UI library of the Knitware ecosystem.",
|
|
5
5
|
"author": "",
|
|
6
6
|
"license": "ISC",
|
|
@@ -8,6 +8,16 @@
|
|
|
8
8
|
"main": "dist/index.umd.js",
|
|
9
9
|
"module": "dist/index.es.js",
|
|
10
10
|
"types": "dist/types/index.d.ts",
|
|
11
|
+
"web-types": "./dist/web-types.json",
|
|
12
|
+
"exports": {
|
|
13
|
+
".": {
|
|
14
|
+
"types": "./dist/types/index.d.ts",
|
|
15
|
+
"import": "./dist/index.es.js",
|
|
16
|
+
"require": "./dist/index.umd.js"
|
|
17
|
+
},
|
|
18
|
+
"./dist/web-types.json": "./dist/web-types.json",
|
|
19
|
+
"./package.json": "./package.json"
|
|
20
|
+
},
|
|
11
21
|
"files": [
|
|
12
22
|
"dist"
|
|
13
23
|
],
|
|
@@ -19,12 +29,13 @@
|
|
|
19
29
|
"typescript": "^5.9.3",
|
|
20
30
|
"vite": "^7.3.1",
|
|
21
31
|
"vue": "^3.5.12",
|
|
32
|
+
"vue-component-meta": "^3.3.11",
|
|
22
33
|
"vue-router": "^4.0.3",
|
|
23
34
|
"vue-tsc": "^3.2.5",
|
|
24
|
-
"@knitify/core": "
|
|
35
|
+
"@knitify/core": "2.0.0"
|
|
25
36
|
},
|
|
26
37
|
"peerDependencies": {
|
|
27
|
-
"@knitify/core": "^
|
|
38
|
+
"@knitify/core": "^2.0.0",
|
|
28
39
|
"vue": "^3.5.12",
|
|
29
40
|
"vue-router": "^4.0.3"
|
|
30
41
|
},
|
|
@@ -34,11 +45,12 @@
|
|
|
34
45
|
"scripts": {
|
|
35
46
|
"dev": "vite --mode development",
|
|
36
47
|
"build": "vite build",
|
|
37
|
-
"compile": "vite build && vue-tsc -p tsconfig.build.json --declaration --emitDeclarationOnly",
|
|
48
|
+
"compile": "vite build && vue-tsc -p tsconfig.build.json --declaration --emitDeclarationOnly && npm run build:web-types",
|
|
38
49
|
"compile:watch": "npm-run-all --parallel compile:watch:js compile:watch:dts",
|
|
39
50
|
"compile:watch:js": "vite build --watch",
|
|
40
51
|
"compile:watch:dts": "vue-tsc -p tsconfig.build.json --declaration --emitDeclarationOnly --watch",
|
|
41
52
|
"storybook": "storybook dev -p 6006",
|
|
42
|
-
"storybook:build": "storybook build"
|
|
53
|
+
"storybook:build": "storybook build",
|
|
54
|
+
"build:web-types": "node scripts/build-web-types.mjs"
|
|
43
55
|
}
|
|
44
56
|
}
|