@stacksjs/ui 0.53.1 → 0.56.23
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.d.ts +11 -9
- package/dist/index.mjs +11 -19
- package/dist/unocss.d.ts +9 -2
- package/dist/unocss.mjs +7 -5
- package/package.json +10 -9
- package/dist/unocss.config.d.ts +0 -0
- package/dist/unocss.config.mjs +0 -46
package/dist/index.d.ts
CHANGED
|
@@ -1,9 +1,11 @@
|
|
|
1
|
-
import * as
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
import
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
import
|
|
9
|
-
export {
|
|
1
|
+
import * as unocss from 'unocss';
|
|
2
|
+
export { unocss as CssEngine };
|
|
3
|
+
export { presetForms } from '@julr/unocss-preset-forms';
|
|
4
|
+
export { default as transformerCompileClass } from '@unocss/transformer-compile-class';
|
|
5
|
+
import * as vue from 'vue';
|
|
6
|
+
export { vue as UiEngine };
|
|
7
|
+
export { computed, ref } from 'vue';
|
|
8
|
+
import * as pinia from 'pinia';
|
|
9
|
+
export { pinia as Store };
|
|
10
|
+
export { ui as options } from '@stacksjs/config';
|
|
11
|
+
export { default as config } from './unocss.js';
|
package/dist/index.mjs
CHANGED
|
@@ -1,19 +1,11 @@
|
|
|
1
|
-
import * as
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
import
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
import
|
|
9
|
-
export {
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
ref,
|
|
13
|
-
computed,
|
|
14
|
-
Store,
|
|
15
|
-
presetForms,
|
|
16
|
-
transformerCompileClass,
|
|
17
|
-
config,
|
|
18
|
-
options
|
|
19
|
-
};
|
|
1
|
+
import * as unocss from 'unocss';
|
|
2
|
+
export { unocss as CssEngine };
|
|
3
|
+
export { presetForms } from '@julr/unocss-preset-forms';
|
|
4
|
+
export { default as transformerCompileClass } from '@unocss/transformer-compile-class';
|
|
5
|
+
import * as vue from 'vue';
|
|
6
|
+
export { vue as UiEngine };
|
|
7
|
+
export { computed, ref } from 'vue';
|
|
8
|
+
import * as pinia from 'pinia';
|
|
9
|
+
export { pinia as Store };
|
|
10
|
+
export { ui as options } from '@stacksjs/config';
|
|
11
|
+
export { default as config } from './unocss.mjs';
|
package/dist/unocss.d.ts
CHANGED
|
@@ -1,3 +1,10 @@
|
|
|
1
|
-
import
|
|
1
|
+
import { UserConfig } from 'unocss';
|
|
2
|
+
import '@julr/unocss-preset-forms';
|
|
3
|
+
import '@unocss/transformer-compile-class';
|
|
4
|
+
import 'vue';
|
|
5
|
+
import 'pinia';
|
|
6
|
+
import '@stacksjs/config';
|
|
7
|
+
|
|
2
8
|
declare const config: UserConfig;
|
|
3
|
-
|
|
9
|
+
|
|
10
|
+
export { config as default };
|
package/dist/unocss.mjs
CHANGED
|
@@ -1,7 +1,8 @@
|
|
|
1
|
-
import { defineConfig,
|
|
2
|
-
import { presetForms } from
|
|
3
|
-
import transformerCompileClass from
|
|
4
|
-
import { ui } from
|
|
1
|
+
import { defineConfig, presetWind, presetTypography, presetIcons, presetWebFonts, transformerDirectives, transformerVariantGroup } from 'unocss';
|
|
2
|
+
import { presetForms } from '@julr/unocss-preset-forms';
|
|
3
|
+
import transformerCompileClass from '@unocss/transformer-compile-class';
|
|
4
|
+
import { ui } from '@stacksjs/config';
|
|
5
|
+
|
|
5
6
|
const config = defineConfig({
|
|
6
7
|
shortcuts: ui.shortcuts,
|
|
7
8
|
presets: [
|
|
@@ -39,4 +40,5 @@ const config = defineConfig({
|
|
|
39
40
|
],
|
|
40
41
|
safelist: ui.safelist?.split(" ")
|
|
41
42
|
});
|
|
42
|
-
|
|
43
|
+
|
|
44
|
+
export { config as default };
|
package/package.json
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@stacksjs/ui",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "0.
|
|
5
|
-
"packageManager": "pnpm@8.5
|
|
4
|
+
"version": "0.56.23",
|
|
5
|
+
"packageManager": "pnpm@8.6.5",
|
|
6
6
|
"description": "The Stacks atomic UI engine, powered by UnoCSS.",
|
|
7
7
|
"author": "Chris Breuer",
|
|
8
8
|
"license": "MIT",
|
|
@@ -36,6 +36,7 @@
|
|
|
36
36
|
"import": "./dist/unocss.mjs"
|
|
37
37
|
}
|
|
38
38
|
},
|
|
39
|
+
"main": "dist/index.mjs",
|
|
39
40
|
"module": "dist/index.mjs",
|
|
40
41
|
"types": "dist/index.d.ts",
|
|
41
42
|
"contributors": [
|
|
@@ -49,16 +50,16 @@
|
|
|
49
50
|
"@iconify-json/heroicons-outline": "^1.1.6",
|
|
50
51
|
"@iconify-json/heroicons-solid": "^1.1.7",
|
|
51
52
|
"@julr/unocss-preset-forms": "^0.0.5",
|
|
52
|
-
"@unocss/transformer-compile-class": "^0.
|
|
53
|
-
"pinia": "^2.1.
|
|
54
|
-
"unocss": "^0.
|
|
53
|
+
"@unocss/transformer-compile-class": "^0.53.4",
|
|
54
|
+
"pinia": "^2.1.4",
|
|
55
|
+
"unocss": "^0.53.4",
|
|
55
56
|
"vue": "^3.3.4",
|
|
56
|
-
"vue-tsc": "^1.
|
|
57
|
-
"@stacksjs/build": "0.
|
|
58
|
-
"@stacksjs/config": "0.
|
|
57
|
+
"vue-tsc": "^1.8.3",
|
|
58
|
+
"@stacksjs/build": "0.56.23",
|
|
59
|
+
"@stacksjs/config": "0.56.23"
|
|
59
60
|
},
|
|
60
61
|
"devDependencies": {
|
|
61
|
-
"@stacksjs/development": "0.
|
|
62
|
+
"@stacksjs/development": "0.56.23"
|
|
62
63
|
},
|
|
63
64
|
"scripts": {
|
|
64
65
|
"build": "unbuild",
|
package/dist/unocss.config.d.ts
DELETED
|
File without changes
|
package/dist/unocss.config.mjs
DELETED
|
@@ -1,46 +0,0 @@
|
|
|
1
|
-
import {
|
|
2
|
-
defineConfig,
|
|
3
|
-
presetAttributify,
|
|
4
|
-
presetIcons,
|
|
5
|
-
presetTypography,
|
|
6
|
-
presetUno,
|
|
7
|
-
presetWebFonts,
|
|
8
|
-
presetWind,
|
|
9
|
-
transformerDirectives,
|
|
10
|
-
transformerVariantGroup
|
|
11
|
-
} from "unocss";
|
|
12
|
-
import { presetForms } from "@julr/unocss-preset-forms";
|
|
13
|
-
export default defineConfig({
|
|
14
|
-
shortcuts: [
|
|
15
|
-
["btn", "px-4 py-1 rounded inline-block bg-teal-700 text-white cursor-pointer hover:bg-teal-800 disabled:cursor-default disabled:bg-gray-600 disabled:opacity-50"],
|
|
16
|
-
["icon-btn", "inline-block cursor-pointer select-none opacity-75 transition duration-200 ease-in-out hover:opacity-100 hover:text-teal-600"]
|
|
17
|
-
],
|
|
18
|
-
presets: [
|
|
19
|
-
presetForms(),
|
|
20
|
-
presetUno(),
|
|
21
|
-
presetWind(),
|
|
22
|
-
presetAttributify(),
|
|
23
|
-
presetIcons({
|
|
24
|
-
scale: 1.2,
|
|
25
|
-
warn: true
|
|
26
|
-
}),
|
|
27
|
-
presetTypography(),
|
|
28
|
-
presetWebFonts({
|
|
29
|
-
fonts: {
|
|
30
|
-
serif: "DM Serif Display",
|
|
31
|
-
mono: "DM Mono"
|
|
32
|
-
}
|
|
33
|
-
})
|
|
34
|
-
],
|
|
35
|
-
rules: [
|
|
36
|
-
["bg-carefree-green-1", { background: "#86C83A" }],
|
|
37
|
-
["text-carefree-green-1", { color: "#86C83A" }],
|
|
38
|
-
["bg-carefree-blue-1", { background: "#0085BF" }],
|
|
39
|
-
["text-carefree-blue-1", { color: "#0085BF" }]
|
|
40
|
-
],
|
|
41
|
-
transformers: [
|
|
42
|
-
transformerDirectives(),
|
|
43
|
-
transformerVariantGroup()
|
|
44
|
-
],
|
|
45
|
-
safelist: "prose prose-sm m-auto text-left".split(" ")
|
|
46
|
-
});
|