@unocss/core 0.31.9 → 0.31.10

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.cjs CHANGED
@@ -445,7 +445,7 @@ function resolveConfig(userConfig = {}, defaults = {}) {
445
445
  };
446
446
  }
447
447
 
448
- const version = "0.31.9";
448
+ const version = "0.31.10";
449
449
 
450
450
  class UnoGenerator {
451
451
  constructor(userConfig = {}, defaults = {}) {
package/dist/index.d.ts CHANGED
@@ -373,7 +373,7 @@ interface ConfigBase<Theme extends {} = {}> {
373
373
  */
374
374
  extendTheme?: Arrayable<ThemeExtender<Theme>>;
375
375
  /**
376
- * Addtional options for auto complete
376
+ * Additional options for auto complete
377
377
  */
378
378
  autocomplete?: {
379
379
  /**
@@ -491,6 +491,8 @@ interface UnocssPluginContext<Config extends UserConfig = UserConfig> {
491
491
  getConfig: () => Promise<Config>;
492
492
  invalidate: () => void;
493
493
  onInvalidate: (fn: () => void) => void;
494
+ root: string;
495
+ updateRoot: (root: string) => Promise<LoadConfigResult<Config>>;
494
496
  }
495
497
  interface SourceMap {
496
498
  file?: string;
package/dist/index.mjs CHANGED
@@ -441,7 +441,7 @@ function resolveConfig(userConfig = {}, defaults = {}) {
441
441
  };
442
442
  }
443
443
 
444
- const version = "0.31.9";
444
+ const version = "0.31.10";
445
445
 
446
446
  class UnoGenerator {
447
447
  constructor(userConfig = {}, defaults = {}) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@unocss/core",
3
- "version": "0.31.9",
3
+ "version": "0.31.10",
4
4
  "description": "The instant on-demand Atomic CSS engine.",
5
5
  "keywords": [
6
6
  "unocss",