@salty-css/react 0.0.1-alpha.149 → 0.0.1-alpha.150

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/config.cjs ADDED
@@ -0,0 +1 @@
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const i=e=>e;class r{constructor(t){this._current=t}get isGlobalDefine(){return!0}}const a=e=>new r(e);class n{constructor(t){this._current=t}get isDefineVariables(){return!0}}const s=e=>new n(e),l=e=>new n({variables:e}),o=e=>new n({responsiveVariables:e}),c=e=>new n({conditionalVariables:e});exports.GlobalStylesFactory=r;exports.VariablesFactory=n;exports.defineConditionalVariables=c;exports.defineConfig=i;exports.defineGlobalStyles=a;exports.defineResponsiveVariables=o;exports.defineStaticVariables=l;exports.defineVariables=s;
package/config.d.ts ADDED
@@ -0,0 +1 @@
1
+ export * from '@salty-css/core/config';
package/config.js ADDED
@@ -0,0 +1,29 @@
1
+ const s = (e) => e;
2
+ class t {
3
+ constructor(r) {
4
+ this._current = r;
5
+ }
6
+ get isGlobalDefine() {
7
+ return !0;
8
+ }
9
+ }
10
+ const i = (e) => new t(e);
11
+ class n {
12
+ constructor(r) {
13
+ this._current = r;
14
+ }
15
+ get isDefineVariables() {
16
+ return !0;
17
+ }
18
+ }
19
+ const a = (e) => new n(e), o = (e) => new n({ variables: e }), c = (e) => new n({ responsiveVariables: e }), l = (e) => new n({ conditionalVariables: e });
20
+ export {
21
+ t as GlobalStylesFactory,
22
+ n as VariablesFactory,
23
+ l as defineConditionalVariables,
24
+ s as defineConfig,
25
+ i as defineGlobalStyles,
26
+ c as defineResponsiveVariables,
27
+ o as defineStaticVariables,
28
+ a as defineVariables
29
+ };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@salty-css/react",
3
- "version": "0.0.1-alpha.149",
3
+ "version": "0.0.1-alpha.150",
4
4
  "main": "./dist/index.js",
5
5
  "module": "./dist/index.mjs",
6
6
  "typings": "./dist/index.d.ts",
@@ -43,10 +43,14 @@
43
43
  "./media": {
44
44
  "import": "./media.js",
45
45
  "require": "./media.cjs"
46
+ },
47
+ "./config": {
48
+ "import": "./config/index.js",
49
+ "require": "./config/index.cjs"
46
50
  }
47
51
  },
48
52
  "dependencies": {
49
- "@salty-css/core": "^0.0.1-alpha.149",
53
+ "@salty-css/core": "^0.0.1-alpha.150",
50
54
  "clsx": ">=2.x",
51
55
  "react": ">=19.x || >=18.3.x"
52
56
  }