melonykit 0.15.16 → 0.15.18
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/dist/index.js +8 -7
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -1315,9 +1315,9 @@ var q = {
|
|
|
1315
1315
|
};
|
|
1316
1316
|
//#endregion
|
|
1317
1317
|
//#region src/components/_box.jsx
|
|
1318
|
-
function bt({
|
|
1318
|
+
function bt({ className: e, type: t = "primary", width: n, height: r, children: i }) {
|
|
1319
1319
|
return /* @__PURE__ */ s(o, { children: /* @__PURE__ */ s("div", {
|
|
1320
|
-
className: V(xt.base, xt[
|
|
1320
|
+
className: V(xt.base, xt[t] ?? xt.primary, e),
|
|
1321
1321
|
style: {
|
|
1322
1322
|
width: n,
|
|
1323
1323
|
height: r
|
|
@@ -1328,15 +1328,16 @@ function bt({ type: e = "normal", className: t, width: n, height: r, children: i
|
|
|
1328
1328
|
var xt = {
|
|
1329
1329
|
base: H`
|
|
1330
1330
|
position: relative;
|
|
1331
|
-
border
|
|
1332
|
-
border:
|
|
1331
|
+
border: solid 1px #dce0e4;
|
|
1332
|
+
border-radius: 12px;
|
|
1333
1333
|
padding: 1.875rem 1.25rem;
|
|
1334
|
-
box-shadow:
|
|
1334
|
+
box-shadow: 0 1px 0 rgb(22 24 38 / .08),
|
|
1335
|
+
0 4px 10px rgb(22 24 38 / .045);
|
|
1335
1336
|
`,
|
|
1336
|
-
|
|
1337
|
+
primary: H`
|
|
1337
1338
|
background-color: ${U.colors.back.primary};
|
|
1338
1339
|
`,
|
|
1339
|
-
|
|
1340
|
+
secondary: H`
|
|
1340
1341
|
background-color: #fafafa;
|
|
1341
1342
|
`
|
|
1342
1343
|
};
|