@master/css-runtime 2.0.0-rc.54 → 2.0.0-rc.55

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.
@@ -0,0 +1,9 @@
1
+ import type { Config } from '@master/css';
2
+ import type Core from './core';
3
+ declare global {
4
+ var CSSRuntime: typeof Core;
5
+ var cssRuntime: Core;
6
+ var masterCSSConfig: Config;
7
+ var masterCSSConfigs: Config[];
8
+ }
9
+ export default function registerGlobal(CSSRuntime: typeof Core): void;
package/package.json CHANGED
@@ -1 +1 @@
1
- {"name":"@master/css-runtime","type":"module","scripts":{"build":"techor build","dev":"pnpm build --watch","e2e":"playwright test","e2e:watch":"nodemon -e js,mjs,ts,html,css --watch dist --watch e2e --exec playwright test","type-check":"tsc --noEmit","lint":"eslint"},"license":"MIT","description":"Run Master CSS right in the browser","author":"Aoyue Design LLC.","funding":"https://rc.css.master.co/sponsor","homepage":"https://css.master.co","bugs":{"url":"https://github.com/master-co/css/issues"},"repository":{"type":"git","url":"https://github.com/master-co/css.git","directory":"packages/runtime"},"keywords":["utility","css","lightweight","mastercss","master","runtime","cdn"],"sideEffects":false,"main":"./dist/index.cjs","jsnext:main":"./dist/index.mjs","esnext":"./dist/index.mjs","module":"./dist/index.mjs","browser":"./dist/global.min.js","types":"./dist/index.d.ts","exports":{".":{"types":"./dist/index.d.ts","require":"./dist/index.cjs","import":"./dist/index.mjs"}},"files":["dist"],"publishConfig":{"access":"public","provenance":true},"dependencies":{"@master/css":"^2.0.0-rc.54"},"devDependencies":{"@playwright/test":"^1.49.1","shared":"^2.0.0-rc.54"},"version":"2.0.0-rc.54"}
1
+ {"name":"@master/css-runtime","type":"module","scripts":{"build":"techor build","dev":"pnpm build --watch","e2e":"playwright test","e2e:watch":"nodemon -e js,mjs,ts,html,css --watch dist --watch e2e --exec playwright test","type-check":"tsc --noEmit","lint":"eslint"},"license":"MIT","description":"Run Master CSS right in the browser","author":"Aoyue Design LLC.","funding":"https://rc.css.master.co/sponsor","homepage":"https://css.master.co","bugs":{"url":"https://github.com/master-co/css/issues"},"repository":{"type":"git","url":"https://github.com/master-co/css.git","directory":"packages/runtime"},"keywords":["utility","css","lightweight","mastercss","master","runtime","cdn"],"sideEffects":false,"main":"./dist/index.cjs","jsnext:main":"./dist/index.mjs","esnext":"./dist/index.mjs","module":"./dist/index.mjs","browser":"./dist/global.min.js","types":"./dist/index.d.ts","exports":{".":{"types":"./dist/index.d.ts","require":{"development":"./dist/index.development.cjs","default":"./dist/index.cjs"},"import":{"development":"./dist/index.development.mjs","default":"./dist/index.mjs"}}},"files":["dist"],"publishConfig":{"access":"public","provenance":true},"dependencies":{"@master/css":"^2.0.0-rc.55","@master/css-devtools-hook":"^2.0.0-rc.55"},"devDependencies":{"@playwright/test":"^1.49.1","shared":"^2.0.0-rc.55"},"version":"2.0.0-rc.55"}
@@ -1,9 +0,0 @@
1
- import { RuntimeCSS } from './core';
2
- import type { Config } from '@master/css';
3
- /**
4
- * Initialize a new RuntimeCSS instance and observe the target root
5
- * @param config master css config
6
- * @param targetRoot target root to observe
7
- * @returns master css instance
8
- */
9
- export default function initCSSRuntime(config?: Config): RuntimeCSS;
@@ -1,9 +0,0 @@
1
- import type { Config } from '@master/css';
2
- import type { RuntimeCSS as _CSSRuntime } from '../core';
3
- declare global {
4
- var RuntimeCSS: typeof _CSSRuntime;
5
- var runtimeCSSs: _CSSRuntime[];
6
- var runtimeCSS: _CSSRuntime;
7
- var masterCSSConfig: Config;
8
- var masterCSSConfigs: Config[];
9
- }