@stacksjs/ui 0.64.3 → 0.67.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/dist/components/autocomplete.d.ts +0 -0
- package/dist/components/disclosure.d.ts +1 -0
- package/dist/components/menu.d.ts +1 -0
- package/dist/components/modal.d.ts +1 -0
- package/dist/components/popover.d.ts +1 -0
- package/dist/components/radio-group.d.ts +1 -0
- package/dist/components/select.d.ts +1 -0
- package/dist/components/tabs.d.ts +1 -0
- package/dist/components/toggle.d.ts +1 -0
- package/dist/components/transition.d.ts +1 -0
- package/dist/components.d.ts +10 -0
- package/dist/index.d.ts +7 -0
- package/dist/index.js +128 -133
- package/dist/uno.config.d.ts +3 -0
- package/package.json +21 -22
- package/src/components/menu.ts +1 -1
- package/src/components/modal.ts +1 -1
- package/src/components/select.ts +1 -1
- package/src/components/tabs.ts +1 -1
- package/src/components/transition.ts +1 -1
- package/src/index.ts +1 -1
- package/src/uno.config.ts +9 -5
- package/dist/index.js.map +0 -256
package/package.json
CHANGED
|
@@ -1,9 +1,12 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@stacksjs/ui",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "0.
|
|
4
|
+
"version": "0.67.0",
|
|
5
5
|
"description": "The Stacks UI engine.",
|
|
6
6
|
"author": "Chris Breuer",
|
|
7
|
+
"contributors": [
|
|
8
|
+
"Chris Breuer <chris@stacksjs.org>"
|
|
9
|
+
],
|
|
7
10
|
"license": "MIT",
|
|
8
11
|
"funding": "https://github.com/sponsors/chrisbbreuer",
|
|
9
12
|
"homepage": "https://github.com/stacksjs/stacks/tree/main/storage/framework/core/ui#readme",
|
|
@@ -27,7 +30,6 @@
|
|
|
27
30
|
"sideEffects": false,
|
|
28
31
|
"exports": {
|
|
29
32
|
".": {
|
|
30
|
-
"bun": "./src/index.ts",
|
|
31
33
|
"types": "./dist/index.d.ts",
|
|
32
34
|
"import": "./dist/index.js"
|
|
33
35
|
},
|
|
@@ -44,39 +46,36 @@
|
|
|
44
46
|
},
|
|
45
47
|
"module": "dist/index.js",
|
|
46
48
|
"types": "dist/index.d.ts",
|
|
47
|
-
"contributors": [
|
|
48
|
-
"Chris Breuer <chris@stacksjs.org>"
|
|
49
|
-
],
|
|
50
49
|
"files": [
|
|
51
50
|
"README.md",
|
|
52
51
|
"dist",
|
|
53
52
|
"src"
|
|
54
53
|
],
|
|
55
54
|
"scripts": {
|
|
56
|
-
"build": "bun
|
|
57
|
-
"typecheck": "bun
|
|
55
|
+
"build": "bun build.ts",
|
|
56
|
+
"typecheck": "bun tsc --noEmit",
|
|
58
57
|
"prepublishOnly": "bun run build"
|
|
59
58
|
},
|
|
60
59
|
"dependencies": {
|
|
61
|
-
"@headlessui/vue": "^1.7.
|
|
62
|
-
"@iconify-json/heroicons": "^1.1
|
|
63
|
-
"@iconify-json/heroicons-outline": "^1.
|
|
64
|
-
"@iconify-json/heroicons-solid": "^1.
|
|
65
|
-
"@iconify/json": "^2.2.
|
|
60
|
+
"@headlessui/vue": "^1.7.23",
|
|
61
|
+
"@iconify-json/heroicons": "^1.2.1",
|
|
62
|
+
"@iconify-json/heroicons-outline": "^1.2.0",
|
|
63
|
+
"@iconify-json/heroicons-solid": "^1.2.0",
|
|
64
|
+
"@iconify/json": "^2.2.258",
|
|
66
65
|
"@julr/unocss-preset-forms": "^0.1.0",
|
|
67
|
-
"@stacksjs/build": "
|
|
68
|
-
"@stacksjs/config": "
|
|
69
|
-
"@stacksjs/router": "
|
|
70
|
-
"@unhead/vue": "^1.
|
|
71
|
-
"pinia": "^2.2.
|
|
72
|
-
"unhead": "^1.
|
|
73
|
-
"unocss": "0.
|
|
66
|
+
"@stacksjs/build": "0.67.0",
|
|
67
|
+
"@stacksjs/config": "0.67.0",
|
|
68
|
+
"@stacksjs/router": "0.67.0",
|
|
69
|
+
"@unhead/vue": "^1.11.7",
|
|
70
|
+
"pinia": "^2.2.4",
|
|
71
|
+
"unhead": "^1.11.7",
|
|
72
|
+
"unocss": "0.61.0",
|
|
74
73
|
"unocss-preset-primitives": "0.0.2-beta.1",
|
|
75
74
|
"vite-plugin-vue-layouts": "^0.11.0",
|
|
76
|
-
"vue": "^3.
|
|
77
|
-
"vue-tsc": "^2.1.
|
|
75
|
+
"vue": "^3.5.11",
|
|
76
|
+
"vue-tsc": "^2.1.6"
|
|
78
77
|
},
|
|
79
78
|
"devDependencies": {
|
|
80
|
-
"@stacksjs/development": "
|
|
79
|
+
"@stacksjs/development": "0.67.0"
|
|
81
80
|
}
|
|
82
81
|
}
|
package/src/components/menu.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export { Menu, MenuButton,
|
|
1
|
+
export { Menu, MenuButton, MenuItem, MenuItems } from '@headlessui/vue'
|
package/src/components/modal.ts
CHANGED
package/src/components/select.ts
CHANGED
package/src/components/tabs.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export { TabGroup, TabList,
|
|
1
|
+
export { Tab, TabGroup, TabList, TabPanel, TabPanels } from '@headlessui/vue'
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export {
|
|
1
|
+
export { TransitionChild, TransitionRoot } from '@headlessui/vue'
|
package/src/index.ts
CHANGED
package/src/uno.config.ts
CHANGED
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import { presetForms } from '@julr/unocss-preset-forms'
|
|
2
2
|
import { ui } from '@stacksjs/config'
|
|
3
3
|
import {
|
|
4
|
-
defineConfig,
|
|
5
4
|
presetAttributify,
|
|
6
5
|
presetIcons,
|
|
7
6
|
presetTypography,
|
|
@@ -10,10 +9,11 @@ import {
|
|
|
10
9
|
transformerCompileClass,
|
|
11
10
|
transformerDirectives,
|
|
12
11
|
transformerVariantGroup,
|
|
12
|
+
type UserConfig as UnoConfig,
|
|
13
13
|
} from 'unocss'
|
|
14
14
|
import { presetHeadlessUi } from 'unocss-preset-primitives'
|
|
15
15
|
|
|
16
|
-
|
|
16
|
+
const config: UnoConfig = {
|
|
17
17
|
shortcuts: ui.shortcuts,
|
|
18
18
|
|
|
19
19
|
content: {
|
|
@@ -33,9 +33,11 @@ export default defineConfig({
|
|
|
33
33
|
presetIcons({
|
|
34
34
|
prefix: 'i-',
|
|
35
35
|
warn: true,
|
|
36
|
-
|
|
36
|
+
collections: {
|
|
37
|
+
heroicons: () => import('@iconify-json/heroicons/icons.json').then(i => i.default as any),
|
|
38
|
+
},
|
|
37
39
|
extraProperties: {
|
|
38
|
-
display: 'inline-block',
|
|
40
|
+
'display': 'inline-block',
|
|
39
41
|
'vertical-align': 'middle',
|
|
40
42
|
},
|
|
41
43
|
}),
|
|
@@ -72,4 +74,6 @@ export default defineConfig({
|
|
|
72
74
|
},
|
|
73
75
|
},
|
|
74
76
|
},
|
|
75
|
-
}
|
|
77
|
+
}
|
|
78
|
+
|
|
79
|
+
export default config
|