mayak-common-library 0.0.62 → 0.0.63
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 +4 -3
- package/dist/index.mjs +4 -3
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -418,11 +418,12 @@ var StyledChip = (0, import_material5.styled)(import_material5.Chip)(({ theme: t
|
|
|
418
418
|
borderRadius: theme2.shape.borderRadius,
|
|
419
419
|
".MuiChip-label": { padding: 0 },
|
|
420
420
|
".MuiChip-icon": { margin: "0 6px 0 0" },
|
|
421
|
-
".MuiChip-deleteIcon": { margin: "0 0 0 10px" }
|
|
421
|
+
".MuiChip-deleteIcon": { margin: "0 0 0 10px" },
|
|
422
|
+
height: "28px"
|
|
422
423
|
}));
|
|
423
424
|
var ChipViews = {
|
|
424
425
|
black: "!bg-accent-dark text-accent-white py-1.5 px-4",
|
|
425
|
-
line: "
|
|
426
|
+
line: "border border-solid border-accent-dark !bg-accent-white",
|
|
426
427
|
white: "!bg-accent-white text-accent-dark",
|
|
427
428
|
silver: "!bg-accent-silver text-accent-dark "
|
|
428
429
|
};
|
|
@@ -431,7 +432,7 @@ var CustomChip = (props) => {
|
|
|
431
432
|
return /* @__PURE__ */ (0, import_jsx_runtime9.jsx)(
|
|
432
433
|
StyledChip,
|
|
433
434
|
__spreadProps(__spreadValues({
|
|
434
|
-
className: `rounded-none w-fit px-2.5 py-0 text-14
|
|
435
|
+
className: `rounded-none w-fit px-2.5 py-0 text-14 ${ChipViews[view]}`
|
|
435
436
|
}, rest), {
|
|
436
437
|
deleteIcon: /* @__PURE__ */ (0, import_jsx_runtime9.jsx)(close_default, {})
|
|
437
438
|
})
|
package/dist/index.mjs
CHANGED
|
@@ -359,11 +359,12 @@ var StyledChip = styled4(Chip)(({ theme: theme2 }) => ({
|
|
|
359
359
|
borderRadius: theme2.shape.borderRadius,
|
|
360
360
|
".MuiChip-label": { padding: 0 },
|
|
361
361
|
".MuiChip-icon": { margin: "0 6px 0 0" },
|
|
362
|
-
".MuiChip-deleteIcon": { margin: "0 0 0 10px" }
|
|
362
|
+
".MuiChip-deleteIcon": { margin: "0 0 0 10px" },
|
|
363
|
+
height: "28px"
|
|
363
364
|
}));
|
|
364
365
|
var ChipViews = {
|
|
365
366
|
black: "!bg-accent-dark text-accent-white py-1.5 px-4",
|
|
366
|
-
line: "
|
|
367
|
+
line: "border border-solid border-accent-dark !bg-accent-white",
|
|
367
368
|
white: "!bg-accent-white text-accent-dark",
|
|
368
369
|
silver: "!bg-accent-silver text-accent-dark "
|
|
369
370
|
};
|
|
@@ -372,7 +373,7 @@ var CustomChip = (props) => {
|
|
|
372
373
|
return /* @__PURE__ */ jsx8(
|
|
373
374
|
StyledChip,
|
|
374
375
|
__spreadProps(__spreadValues({
|
|
375
|
-
className: `rounded-none w-fit px-2.5 py-0 text-14
|
|
376
|
+
className: `rounded-none w-fit px-2.5 py-0 text-14 ${ChipViews[view]}`
|
|
376
377
|
}, rest), {
|
|
377
378
|
deleteIcon: /* @__PURE__ */ jsx8(close_default, {})
|
|
378
379
|
})
|