@unocss/preset-uno 0.55.1 → 0.55.3

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/colors.cjs CHANGED
@@ -1,11 +1,9 @@
1
1
  'use strict';
2
2
 
3
- Object.defineProperty(exports, '__esModule', { value: true });
4
-
5
3
  const colors = require('@unocss/preset-mini/colors');
6
4
 
7
5
 
8
6
 
9
- for (const k in colors) {
10
- if (k !== 'default' && !exports.hasOwnProperty(k)) exports[k] = colors[k];
11
- }
7
+ Object.keys(colors).forEach(function (k) {
8
+ if (k !== 'default' && !Object.prototype.hasOwnProperty.call(exports, k)) exports[k] = colors[k];
9
+ });
@@ -0,0 +1 @@
1
+ export * from '@unocss/preset-mini/colors';
@@ -0,0 +1 @@
1
+ export * from '@unocss/preset-mini/colors';
package/dist/index.cjs CHANGED
@@ -80,5 +80,5 @@ function presetUno(options = {}) {
80
80
  };
81
81
  }
82
82
 
83
- exports["default"] = presetUno;
83
+ exports.default = presetUno;
84
84
  exports.presetUno = presetUno;
@@ -0,0 +1,9 @@
1
+ import { Preset } from '@unocss/core';
2
+ import { PresetMiniOptions, Theme } from '@unocss/preset-mini';
3
+ export { Theme } from '@unocss/preset-mini';
4
+
5
+ interface PresetUnoOptions extends PresetMiniOptions {
6
+ }
7
+ declare function presetUno(options?: PresetUnoOptions): Preset<Theme>;
8
+
9
+ export { type PresetUnoOptions, presetUno as default, presetUno };
@@ -0,0 +1,9 @@
1
+ import { Preset } from '@unocss/core';
2
+ import { PresetMiniOptions, Theme } from '@unocss/preset-mini';
3
+ export { Theme } from '@unocss/preset-mini';
4
+
5
+ interface PresetUnoOptions extends PresetMiniOptions {
6
+ }
7
+ declare function presetUno(options?: PresetUnoOptions): Preset<Theme>;
8
+
9
+ export { type PresetUnoOptions, presetUno as default, presetUno };
package/dist/index.d.ts CHANGED
@@ -6,4 +6,4 @@ interface PresetUnoOptions extends PresetMiniOptions {
6
6
  }
7
7
  declare function presetUno(options?: PresetUnoOptions): Preset<Theme>;
8
8
 
9
- export { PresetUnoOptions, presetUno as default, presetUno };
9
+ export { type PresetUnoOptions, presetUno as default, presetUno };
package/dist/theme.cjs CHANGED
@@ -1,11 +1,9 @@
1
1
  'use strict';
2
2
 
3
- Object.defineProperty(exports, '__esModule', { value: true });
4
-
5
3
  const theme = require('@unocss/preset-mini/theme');
6
4
 
7
5
 
8
6
 
9
- for (const k in theme) {
10
- if (k !== 'default' && !exports.hasOwnProperty(k)) exports[k] = theme[k];
11
- }
7
+ Object.keys(theme).forEach(function (k) {
8
+ if (k !== 'default' && !Object.prototype.hasOwnProperty.call(exports, k)) exports[k] = theme[k];
9
+ });
@@ -0,0 +1,3 @@
1
+ export * from '@unocss/preset-mini/theme';
2
+ import '@unocss/preset-mini/utils';
3
+ import '@unocss/preset-mini/colors';
@@ -0,0 +1,3 @@
1
+ export * from '@unocss/preset-mini/theme';
2
+ import '@unocss/preset-mini/utils';
3
+ import '@unocss/preset-mini/colors';
package/dist/theme.d.ts CHANGED
@@ -1 +1,3 @@
1
1
  export * from '@unocss/preset-mini/theme';
2
+ import '@unocss/preset-mini/utils';
3
+ import '@unocss/preset-mini/colors';
package/dist/utils.cjs CHANGED
@@ -1,11 +1,9 @@
1
1
  'use strict';
2
2
 
3
- Object.defineProperty(exports, '__esModule', { value: true });
4
-
5
3
  const utils = require('@unocss/preset-mini/utils');
6
4
 
7
5
 
8
6
 
9
- for (const k in utils) {
10
- if (k !== 'default' && !exports.hasOwnProperty(k)) exports[k] = utils[k];
11
- }
7
+ Object.keys(utils).forEach(function (k) {
8
+ if (k !== 'default' && !Object.prototype.hasOwnProperty.call(exports, k)) exports[k] = utils[k];
9
+ });
@@ -0,0 +1 @@
1
+ export * from '@unocss/preset-mini/utils';
@@ -0,0 +1 @@
1
+ export * from '@unocss/preset-mini/utils';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@unocss/preset-uno",
3
- "version": "0.55.1",
3
+ "version": "0.55.3",
4
4
  "description": "The default preset for UnoCSS",
5
5
  "author": "Anthony Fu <anthonyfu117@hotmail.com>",
6
6
  "license": "MIT",
@@ -50,9 +50,9 @@
50
50
  "*.css"
51
51
  ],
52
52
  "dependencies": {
53
- "@unocss/preset-mini": "0.55.1",
54
- "@unocss/preset-wind": "0.55.1",
55
- "@unocss/core": "0.55.1"
53
+ "@unocss/core": "0.55.3",
54
+ "@unocss/preset-mini": "0.55.3",
55
+ "@unocss/preset-wind": "0.55.3"
56
56
  },
57
57
  "scripts": {
58
58
  "build": "unbuild",