@plumeria/core 7.0.2 → 7.1.0

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.
Files changed (2) hide show
  1. package/dist/css.mjs +10 -10
  2. package/package.json +1 -1
package/dist/css.mjs CHANGED
@@ -1,14 +1,14 @@
1
- const errorFn = () => {
1
+ const runtimeNotSupported = () => {
2
2
  throw new Error("Runtime is not supported. Configure the bundler plugin.");
3
3
  };
4
- const create = (_rule) => errorFn();
5
- const props = (..._rules) => errorFn();
6
- const createTheme = (_rule) => errorFn();
7
- const createStatic = (_rule) => errorFn();
8
- const keyframes = (_rule) => errorFn();
9
- const viewTransition = (_rule) => errorFn();
10
- const variants = (_rule) => (_props) => errorFn();
11
- const marker = (_id, _pseudo) => errorFn();
12
- const extended = (_id, _pseudo) => errorFn();
4
+ const create = (_rule) => runtimeNotSupported();
5
+ const props = (..._rules) => runtimeNotSupported();
6
+ const createTheme = (_rule) => runtimeNotSupported();
7
+ const createStatic = (_rule) => runtimeNotSupported();
8
+ const keyframes = (_rule) => runtimeNotSupported();
9
+ const viewTransition = (_rule) => runtimeNotSupported();
10
+ const variants = (_rule) => (_props) => runtimeNotSupported();
11
+ const marker = (_id, _pseudo) => runtimeNotSupported();
12
+ const extended = (_id, _pseudo) => runtimeNotSupported();
13
13
 
14
14
  export { create, createStatic, createTheme, extended, keyframes, marker, props, variants, viewTransition };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@plumeria/core",
3
- "version": "7.0.2",
3
+ "version": "7.1.0",
4
4
  "description": "An atomic CSS runtime designed to disappear.",
5
5
  "author": "Refirst 11",
6
6
  "license": "MIT",