@stacksjs/ui 0.43.0 → 0.44.6

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 CHANGED
@@ -9,6 +9,6 @@ declare const _default: {
9
9
  presetForms: typeof presetForms;
10
10
  transformerCompileClass: typeof CssEngine.transformerCompileClass;
11
11
  config: CssEngine.UserConfig<{}>;
12
- options: any;
12
+ options: UiOptions;
13
13
  };
14
14
  export default _default;
package/dist/unocss.mjs CHANGED
@@ -1,9 +1,9 @@
1
1
  import { defineConfig, presetIcons, presetTypography, presetWebFonts, presetWind, transformerDirectives, transformerVariantGroup } from "unocss";
2
2
  import { presetForms } from "@julr/unocss-preset-forms";
3
3
  import transformerCompileClass from "@unocss/transformer-compile-class";
4
- import { ui as options } from "@stacksjs/config";
4
+ import { ui } from "@stacksjs/config";
5
5
  const config = defineConfig({
6
- shortcuts: options.shortcuts,
6
+ shortcuts: ui.shortcuts,
7
7
  presets: [
8
8
  presetWind(),
9
9
  presetForms(),
@@ -11,7 +11,7 @@ const config = defineConfig({
11
11
  presetIcons({
12
12
  prefix: "i-",
13
13
  warn: true,
14
- collections: options.icons,
14
+ collections: ui.icons,
15
15
  extraProperties: {
16
16
  "display": "inline-block",
17
17
  "vertical-align": "middle"
@@ -27,12 +27,12 @@ const config = defineConfig({
27
27
  ],
28
28
  transformers: [
29
29
  transformerCompileClass({
30
- classPrefix: options.classPrefix,
31
- trigger: options.trigger
30
+ classPrefix: ui.classPrefix,
31
+ trigger: ui.trigger
32
32
  }),
33
33
  transformerDirectives(),
34
34
  transformerVariantGroup()
35
35
  ],
36
- safelist: options.safelist.split(" ")
36
+ safelist: ui.safelist.split(" ")
37
37
  });
38
38
  export default config;
package/package.json CHANGED
@@ -1,8 +1,8 @@
1
1
  {
2
2
  "name": "@stacksjs/ui",
3
3
  "type": "module",
4
- "version": "0.43.0",
5
- "packageManager": "pnpm@7.17.1",
4
+ "version": "0.44.6",
5
+ "packageManager": "pnpm@7.18.2",
6
6
  "description": "The Stacks atomic UI engine, powered by UnoCSS.",
7
7
  "author": "Chris Breuer",
8
8
  "license": "MIT",
@@ -38,23 +38,24 @@
38
38
  ],
39
39
  "engines": {
40
40
  "node": ">=v18.12.1",
41
- "pnpm": ">=7.17.1"
41
+ "pnpm": ">=7.18.2"
42
42
  },
43
43
  "peerDependencies": {
44
44
  "@iconify-json/heroicons-outline": "^1.1.5",
45
45
  "@iconify-json/heroicons-solid": "^1.1.6",
46
46
  "@julr/unocss-preset-forms": "^0.0.2",
47
- "@unocss/transformer-compile-class": "^0.47.5",
48
- "pinia": "^2.0.27",
49
- "unocss": "^0.47.5",
47
+ "@unocss/transformer-compile-class": "^0.47.6",
48
+ "pinia": "^2.0.28",
49
+ "unocss": "^0.47.6",
50
50
  "vue": "^3.2.45",
51
- "vue-tsc": "^1.0.10",
52
- "@stacksjs/build": "0.43.0"
51
+ "vue-tsc": "^1.0.13",
52
+ "@stacksjs/build": "0.44.6",
53
+ "@stacksjs/config": "0.44.6"
53
54
  },
54
55
  "devDependencies": {
55
56
  "mkdist": "^1.0.0",
56
- "typescript": "^4.9.3",
57
- "@stacksjs/testing": "0.43.0"
57
+ "typescript": "^4.9.4",
58
+ "@stacksjs/testing": "0.44.6"
58
59
  },
59
60
  "scripts": {
60
61
  "build": "mkdist -d",