@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/baseSvg.module.css.cjs +1 -1
- package/baseSvg.module.css.mjs +1 -1
- package/box.module.css.cjs +1 -1
- package/box.module.css.mjs +1 -1
- package/package.json +1 -1
- package/plugins.cjs +3 -3
- package/plugins.mjs +3 -3
- package/style.css +1 -1
- package/types.d.ts +1 -1
package/package.json
CHANGED
package/plugins.cjs
CHANGED
|
@@ -148,11 +148,11 @@
|
|
|
148
148
|
|
|
149
149
|
.bg_a_${o}:active {
|
|
150
150
|
background: var(--background${o});
|
|
151
|
-
}`)
|
|
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 = ${
|
|
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
|
|
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
|
|
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
|
-
|
|
218
|
+
u as boxTheme
|
|
219
219
|
};
|