unocss-preset-zyyv 2.0.0-beta.1 → 2.0.0-beta.5

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.
@@ -1,7 +1,10 @@
1
1
  import { definePreset } from "@unocss/core";
2
2
 
3
- //#region ../../node_modules/.pnpm/@unocss+preset-rem-to-px@66.5.10/node_modules/@unocss/preset-rem-to-px/dist/index.mjs
3
+ //#region ../../node_modules/.pnpm/@unocss+preset-rem-to-px@66.5.11/node_modules/@unocss/preset-rem-to-px/dist/index.mjs
4
4
  const remRE = /(-?[.\d]+)rem/g;
5
+ /**
6
+ * @see https://unocss.dev/presets/rem-to-px
7
+ */
5
8
  const presetRemToPx = definePreset((options = {}) => {
6
9
  const { baseFontSize = 16 } = options;
7
10
  return {
@@ -16,4 +19,4 @@ const presetRemToPx = definePreset((options = {}) => {
16
19
  });
17
20
 
18
21
  //#endregion
19
- export { presetRemToPx as default, presetRemToPx };
22
+ export { presetRemToPx };
package/dist/index.d.mts CHANGED
@@ -188,7 +188,7 @@ interface ZyyvOptions {
188
188
  /**
189
189
  * Enable magicss preset
190
190
  *
191
- * @about [unocss-preset-magicss](https://github.com/unpreset/unocss-preset-magicss)
191
+ * @about [unocss-preset-magicss](https://github.com/unocss-community/unocss-preset-magicss)
192
192
  * @default false
193
193
  */
194
194
  magicss?: boolean;
@@ -275,7 +275,7 @@ declare function camelToHyphen(str: string): string;
275
275
  declare const presetZyyv: _unocss_core0.PresetFactoryAwaitable<ZyyvTheme, ZyyvOptions>;
276
276
  declare const presetUseful: _unocss_core0.PresetFactoryAwaitable<ZyyvTheme, ZyyvOptions>;
277
277
  declare function defineConfig<T extends object = ZyyvTheme>(config: UserConfig<T>): UserConfig<T>;
278
- declare function defineZyyvConfig<T extends object = ZyyvTheme>(options?: ZyyvOptions, config?: UserConfig<T>): UserConfig<object>;
278
+ declare function defineZyyvConfig<T extends object = ZyyvTheme>(options?: ZyyvOptions, config?: UserConfig<T>): _unocss_core0.UserConfig<object>;
279
279
  declare const defineUsefulConfig: typeof defineZyyvConfig;
280
280
  //#endregion
281
281
  export { type ZyyvOptions, type ZyyvTheme, animationRegExp, camelToHyphen, cssObj2StrAsync, cssObj2StrSync, deepMerge, presetZyyv as default, presetZyyv, defineConfig, defineUsefulConfig, defineZyyvConfig, getKeyframes, isObject, presetUseful, resolveAnimation, stringifyObj, toArray };
package/dist/index.mjs CHANGED
@@ -378,7 +378,7 @@ async function resolvePresets(options) {
378
378
  webFonts: import("unocss").then((m) => m.presetWebFonts),
379
379
  typography: import("unocss").then((m) => m.presetTypography),
380
380
  tagify: import("unocss").then((m) => m.presetTagify),
381
- remToPx: import("./dist-sozkiTde.mjs").then((m) => m.presetRemToPx),
381
+ remToPx: import("./dist-BMPU4KGf.mjs").then((m) => m.presetRemToPx),
382
382
  magicss: import("unocss-preset-magicss").then((m) => m.presetMagicss)
383
383
  };
384
384
  for (const [key, preset] of Object.entries(presetMap)) {
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "unocss-preset-zyyv",
3
3
  "type": "module",
4
- "version": "2.0.0-beta.1",
4
+ "version": "2.0.0-beta.5",
5
5
  "description": "My useful preset about unocss usage.",
6
6
  "author": "Chris <https://github.com/zyyv>",
7
7
  "license": "MIT",
@@ -49,9 +49,9 @@
49
49
  }
50
50
  },
51
51
  "dependencies": {
52
- "@unocss/core": "^66.5.10",
52
+ "@unocss/core": "^66.5.11",
53
53
  "postcss": "^8.5.6",
54
- "postcss-js": "^5.0.2",
54
+ "postcss-js": "^5.0.3",
55
55
  "unocss-preset-magicss": "^1.0.1"
56
56
  },
57
57
  "scripts": {