@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 +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.mjs +1 -1
- package/package.json +1 -1
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.
|
|
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;
|