@stacksjs/ui 0.59.11 → 0.61.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/index.js +7 -10
- package/package.json +13 -13
- package/src/index.ts +4 -11
- package/src/uno.config.ts +5 -8
- package/dist/index.d.ts +0 -7
- package/dist/uno.config.d.ts +0 -2
package/dist/index.js
CHANGED
|
@@ -1,12 +1,14 @@
|
|
|
1
1
|
// @bun
|
|
2
2
|
// src/index.ts
|
|
3
|
-
import * as CssEngine from "unocss";
|
|
4
3
|
import {presetForms as presetForms2} from "@julr/unocss-preset-forms";
|
|
5
|
-
import * as UiEngine from "vue";
|
|
6
|
-
import * as Store from "pinia";
|
|
7
4
|
import {ui as ui2} from "@stacksjs/config";
|
|
5
|
+
import * as Store from "pinia";
|
|
6
|
+
import * as CssEngine from "unocss";
|
|
7
|
+
import * as UiEngine from "vue";
|
|
8
8
|
|
|
9
9
|
// src/uno.config.ts
|
|
10
|
+
import {presetForms} from "@julr/unocss-preset-forms";
|
|
11
|
+
import {ui} from "@stacksjs/config";
|
|
10
12
|
import {
|
|
11
13
|
defineConfig,
|
|
12
14
|
presetAttributify,
|
|
@@ -67,15 +69,11 @@ var presetHeadlessUi = function(options = {}) {
|
|
|
67
69
|
};
|
|
68
70
|
|
|
69
71
|
// src/uno.config.ts
|
|
70
|
-
import {ui} from "@stacksjs/config";
|
|
71
|
-
import {presetForms} from "@julr/unocss-preset-forms";
|
|
72
72
|
var uno_config_default = defineConfig({
|
|
73
73
|
shortcuts: ui.shortcuts,
|
|
74
74
|
content: {
|
|
75
75
|
pipeline: {
|
|
76
|
-
include: [
|
|
77
|
-
/\.(stx|vue|[jt]sx|mdx?|elm|html)($|\?)/
|
|
78
|
-
]
|
|
76
|
+
include: [/\.(stx|vue|[jt]sx|mdx?|elm|html)($|\?)/]
|
|
79
77
|
}
|
|
80
78
|
},
|
|
81
79
|
presets: [
|
|
@@ -96,8 +94,7 @@ var uno_config_default = defineConfig({
|
|
|
96
94
|
provider: "bunny",
|
|
97
95
|
fonts: {
|
|
98
96
|
sans: "Inter",
|
|
99
|
-
serif: "Inter"
|
|
100
|
-
mono: "Inter"
|
|
97
|
+
serif: "Inter"
|
|
101
98
|
}
|
|
102
99
|
})
|
|
103
100
|
],
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@stacksjs/ui",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "0.
|
|
4
|
+
"version": "0.61.0",
|
|
5
5
|
"description": "The Stacks UI engine.",
|
|
6
6
|
"author": "Chris Breuer",
|
|
7
7
|
"license": "MIT",
|
|
@@ -58,34 +58,34 @@
|
|
|
58
58
|
"prepublishOnly": "bun run build"
|
|
59
59
|
},
|
|
60
60
|
"peerDependencies": {
|
|
61
|
-
"@headlessui/vue": "^1.7.
|
|
61
|
+
"@headlessui/vue": "^1.7.22",
|
|
62
62
|
"@stacksjs/build": "latest",
|
|
63
63
|
"@stacksjs/config": "latest",
|
|
64
64
|
"@stacksjs/router": "latest",
|
|
65
65
|
"pinia": "^2.1.7",
|
|
66
|
-
"unocss": "^0.
|
|
66
|
+
"unocss": "^0.60.3",
|
|
67
67
|
"vite-plugin-vue-layouts": "^0.11.0",
|
|
68
|
-
"vue": "^3.4.
|
|
69
|
-
"vue-tsc": "^2.0.
|
|
68
|
+
"vue": "^3.4.27",
|
|
69
|
+
"vue-tsc": "^2.0.19"
|
|
70
70
|
},
|
|
71
71
|
"dependencies": {
|
|
72
|
-
"@headlessui/vue": "^1.7.
|
|
73
|
-
"@iconify-json/heroicons": "^1.1.
|
|
72
|
+
"@headlessui/vue": "^1.7.22",
|
|
73
|
+
"@iconify-json/heroicons": "^1.1.21",
|
|
74
74
|
"@iconify-json/heroicons-outline": "^1.1.10",
|
|
75
75
|
"@iconify-json/heroicons-solid": "^1.1.11",
|
|
76
|
-
"@iconify/json": "^2.2.
|
|
76
|
+
"@iconify/json": "^2.2.212",
|
|
77
77
|
"@julr/unocss-preset-forms": "^0.1.0",
|
|
78
78
|
"@stacksjs/build": "latest",
|
|
79
79
|
"@stacksjs/config": "latest",
|
|
80
80
|
"@stacksjs/router": "latest",
|
|
81
|
-
"@unhead/vue": "^1.
|
|
81
|
+
"@unhead/vue": "^1.9.10",
|
|
82
82
|
"pinia": "^2.1.7",
|
|
83
|
-
"unhead": "^1.
|
|
84
|
-
"unocss": "^0.
|
|
83
|
+
"unhead": "^1.9.10",
|
|
84
|
+
"unocss": "^0.60.3",
|
|
85
85
|
"unocss-preset-primitives": "0.0.2-beta.0",
|
|
86
86
|
"vite-plugin-vue-layouts": "^0.11.0",
|
|
87
|
-
"vue": "^3.4.
|
|
88
|
-
"vue-tsc": "^2.0.
|
|
87
|
+
"vue": "^3.4.27",
|
|
88
|
+
"vue-tsc": "^2.0.19"
|
|
89
89
|
},
|
|
90
90
|
"devDependencies": {
|
|
91
91
|
"@stacksjs/development": "latest"
|
package/src/index.ts
CHANGED
|
@@ -1,15 +1,8 @@
|
|
|
1
|
-
import * as CssEngine from 'unocss'
|
|
2
1
|
import { presetForms } from '@julr/unocss-preset-forms'
|
|
3
|
-
import * as UiEngine from 'vue'
|
|
4
|
-
import * as Store from 'pinia'
|
|
5
2
|
import { ui } from '@stacksjs/config'
|
|
3
|
+
import * as Store from 'pinia'
|
|
4
|
+
import * as CssEngine from 'unocss'
|
|
5
|
+
import * as UiEngine from 'vue'
|
|
6
6
|
import UnocssConfig from './uno.config'
|
|
7
7
|
|
|
8
|
-
export {
|
|
9
|
-
CssEngine,
|
|
10
|
-
UiEngine,
|
|
11
|
-
Store,
|
|
12
|
-
presetForms,
|
|
13
|
-
UnocssConfig,
|
|
14
|
-
ui,
|
|
15
|
-
}
|
|
8
|
+
export { CssEngine, UiEngine, Store, presetForms, UnocssConfig, ui }
|
package/src/uno.config.ts
CHANGED
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { presetForms } from '@julr/unocss-preset-forms'
|
|
2
|
+
import { ui } from '@stacksjs/config'
|
|
1
3
|
import {
|
|
2
4
|
defineConfig,
|
|
3
5
|
presetAttributify,
|
|
@@ -10,17 +12,13 @@ import {
|
|
|
10
12
|
transformerVariantGroup,
|
|
11
13
|
} from 'unocss'
|
|
12
14
|
import { presetHeadlessUi } from 'unocss-preset-primitives'
|
|
13
|
-
import { ui } from '@stacksjs/config'
|
|
14
|
-
import { presetForms } from '@julr/unocss-preset-forms'
|
|
15
15
|
|
|
16
16
|
export default defineConfig({
|
|
17
17
|
shortcuts: ui.shortcuts,
|
|
18
18
|
|
|
19
19
|
content: {
|
|
20
20
|
pipeline: {
|
|
21
|
-
include: [
|
|
22
|
-
/\.(stx|vue|[jt]sx|mdx?|elm|html)($|\?)/,
|
|
23
|
-
],
|
|
21
|
+
include: [/\.(stx|vue|[jt]sx|mdx?|elm|html)($|\?)/],
|
|
24
22
|
// exclude files
|
|
25
23
|
// exclude: []
|
|
26
24
|
},
|
|
@@ -37,7 +35,7 @@ export default defineConfig({
|
|
|
37
35
|
warn: true,
|
|
38
36
|
// collections: ui.icons,
|
|
39
37
|
extraProperties: {
|
|
40
|
-
|
|
38
|
+
display: 'inline-block',
|
|
41
39
|
'vertical-align': 'middle',
|
|
42
40
|
},
|
|
43
41
|
}),
|
|
@@ -47,10 +45,9 @@ export default defineConfig({
|
|
|
47
45
|
fonts: {
|
|
48
46
|
sans: 'Inter',
|
|
49
47
|
serif: 'Inter',
|
|
50
|
-
mono: 'Inter',
|
|
48
|
+
// mono: 'Inter',
|
|
51
49
|
},
|
|
52
50
|
}),
|
|
53
|
-
|
|
54
51
|
],
|
|
55
52
|
|
|
56
53
|
transformers: [
|
package/dist/index.d.ts
DELETED
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import * as CssEngine from 'unocss';
|
|
2
|
-
import { presetForms } from '@julr/unocss-preset-forms';
|
|
3
|
-
import * as UiEngine from 'vue';
|
|
4
|
-
import * as Store from 'pinia';
|
|
5
|
-
import { ui } from '@stacksjs/config';
|
|
6
|
-
import UnocssConfig from './uno.config';
|
|
7
|
-
export { CssEngine, UiEngine, Store, presetForms, UnocssConfig, ui, };
|
package/dist/uno.config.d.ts
DELETED