@cronocode/react-box 1.5.4 → 1.5.5

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cronocode/react-box",
3
- "version": "1.5.4",
3
+ "version": "1.5.5",
4
4
  "main": "./box.cjs",
5
5
  "module": "./box.mjs",
6
6
  "types": "./box.d.ts",
package/plugins.cjs CHANGED
@@ -148,11 +148,11 @@
148
148
 
149
149
  .bg_a_${o}:active {
150
150
  background: var(--background${o});
151
- }`),s=Object.keys(r.colors).map(o=>`'${o}'`).join(" | "),$=Object.keys(r.backgrounds).map(o=>`'${o}'`).join(" | "),b=Object.keys(r.shadows).map(o=>`'${o}'`).join(" | "),p=`import {ColorType} from '@cronocode/react-box/types';
151
+ }`),$=Object.keys(r.colors).map(o=>`'${o}'`).join(" | "),s=Object.keys(r.backgrounds).map(o=>`'${o}'`).join(" | "),b=Object.keys(r.shadows).map(o=>`'${o}'`).join(" | "),p=`import '@cronocode/react-box';
152
152
 
153
153
  declare module '@cronocode/react-box/types' {
154
- type ColorType = ${s};
155
- type BackgroundType = ${$};
154
+ type ColorType = ${$};
155
+ type BackgroundType = ${s};
156
156
  type ShadowType = ${b};
157
157
 
158
158
  namespace Augmented {
package/plugins.mjs CHANGED
@@ -1,4 +1,4 @@
1
- function C(r) {
1
+ function u(r) {
2
2
  const _ = Object.entries(r.colors).map(([o, e]) => `--color${o}: ${e};`).join(`
3
3
  `), t = Object.entries(r.shadows).map(([o, e]) => `--shadow${o}: ${e};`).join(`
4
4
  `), c = Object.entries(r.backgrounds).map(([o, e]) => `--background${o}: ${e};`).join(`
@@ -151,7 +151,7 @@ function C(r) {
151
151
 
152
152
  .bg_a_${o}:active {
153
153
  background: var(--background${o});
154
- }`), $ = Object.keys(r.colors).map((o) => `'${o}'`).join(" | "), s = Object.keys(r.backgrounds).map((o) => `'${o}'`).join(" | "), b = Object.keys(r.shadows).map((o) => `'${o}'`).join(" | "), p = `import {ColorType} from '@cronocode/react-box/types';
154
+ }`), $ = Object.keys(r.colors).map((o) => `'${o}'`).join(" | "), s = Object.keys(r.backgrounds).map((o) => `'${o}'`).join(" | "), b = Object.keys(r.shadows).map((o) => `'${o}'`).join(" | "), p = `import '@cronocode/react-box';
155
155
 
156
156
  declare module '@cronocode/react-box/types' {
157
157
  type ColorType = ${$};
@@ -215,5 +215,5 @@ declare module '@cronocode/react-box/types' {
215
215
  };
216
216
  }
217
217
  export {
218
- C as boxTheme
218
+ u as boxTheme
219
219
  };