@unocss/core 0.60.3 → 0.60.4

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.mts CHANGED
@@ -361,7 +361,7 @@ interface BlocklistMeta {
361
361
  /**
362
362
  * Custom message to show why this selector is blocked.
363
363
  */
364
- message?: string;
364
+ message?: string | ((selector: string) => string);
365
365
  }
366
366
  type BlocklistValue = string | RegExp | ((selector: string) => boolean | null | undefined);
367
367
  type BlocklistRule = BlocklistValue | [BlocklistValue, BlocklistMeta];
package/dist/index.d.ts CHANGED
@@ -361,7 +361,7 @@ interface BlocklistMeta {
361
361
  /**
362
362
  * Custom message to show why this selector is blocked.
363
363
  */
364
- message?: string;
364
+ message?: string | ((selector: string) => string);
365
365
  }
366
366
  type BlocklistValue = string | RegExp | ((selector: string) => boolean | null | undefined);
367
367
  type BlocklistRule = BlocklistValue | [BlocklistValue, BlocklistMeta];
package/dist/index.mjs CHANGED
@@ -603,7 +603,7 @@ function definePreset(preset) {
603
603
  return preset;
604
604
  }
605
605
 
606
- const version = "0.60.3";
606
+ const version = "0.60.4";
607
607
 
608
608
  var __defProp = Object.defineProperty;
609
609
  var __defNormalProp = (obj, key, value) => key in obj ? __defProp(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@unocss/core",
3
3
  "type": "module",
4
- "version": "0.60.3",
4
+ "version": "0.60.4",
5
5
  "description": "The instant on-demand Atomic CSS engine.",
6
6
  "author": "Anthony Fu <anthonyfu117@hotmail.com>",
7
7
  "license": "MIT",