@symbo.ls/create 2.11.271 → 2.11.272

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.
@@ -10511,6 +10511,7 @@ var import_utils29 = __toESM(require_cjs(), 1);
10511
10511
  // src/utilImports.js
10512
10512
  var utilImports_exports = {};
10513
10513
  __export(utilImports_exports, {
10514
+ applyCSS: () => applyCSS,
10514
10515
  arrayzeValue: () => arrayzeValue,
10515
10516
  copyStringToClipboard: () => copyStringToClipboard,
10516
10517
  findClosestNumber: () => findClosestNumber,
@@ -12015,6 +12016,10 @@ var reInit = (config, RC_FILE, options = UPDATE_OPTIONS) => {
12015
12016
  emotion2.injectGlobal({ ":root": conf.CSS_VARS });
12016
12017
  emotion2.injectGlobal(conf.RESET);
12017
12018
  };
12019
+ var applyCSS = (styles, options = UPDATE_OPTIONS) => {
12020
+ const emotion2 = options.emotion || emotion;
12021
+ emotion2.injectGlobal(styles);
12022
+ };
12018
12023
 
12019
12024
  // src/utilImports.js
12020
12025
  __reExport(utilImports_exports, __toESM(require_cjs3(), 1));
@@ -19,6 +19,7 @@ var __reExport = (target, mod, secondTarget) => (__copyProps(target, mod, "defau
19
19
  var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
20
20
  var utilImports_exports = {};
21
21
  __export(utilImports_exports, {
22
+ applyCSS: () => import_init.applyCSS,
22
23
  init: () => import_init.init,
23
24
  reInit: () => import_init.reInit,
24
25
  scratchSystem: () => import_scratch.scratchSystem,
package/package.json CHANGED
@@ -1,8 +1,8 @@
1
1
  {
2
2
  "name": "@symbo.ls/create",
3
- "version": "2.11.271",
3
+ "version": "2.11.272",
4
4
  "license": "MIT",
5
- "gitHead": "a57eda1f271195de0c1da82ebe89541a2874e1ad",
5
+ "gitHead": "d9b2868d7416869c993f7847bcac544d879336cc",
6
6
  "files": [
7
7
  "src",
8
8
  "dist"
@@ -5,6 +5,6 @@ import { scratchUtils, scratchSystem, set } from '@symbo.ls/scratch'
5
5
  export { scratchUtils, scratchSystem, set }
6
6
  export * from '@domql/utils'
7
7
  export * from '@symbo.ls/utils'
8
- export { init, reInit } from '@symbo.ls/init'
8
+ export { init, reInit, applyCSS } from '@symbo.ls/init'
9
9
  export * from '@domql/report'
10
10
  export * from '@domql/router'