mayak-common-library 0.0.61 → 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 CHANGED
@@ -418,20 +418,21 @@ 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
- black: "bg-accent-dark text-accent-white py-1.5 px-4",
425
- line: "border border-solid border-accent-dark bg-accent-white",
426
- white: "bg-accent-white text-accent-dark",
427
- silver: "bg-accent-silver text-accent-dark "
425
+ black: "!bg-accent-dark text-accent-white py-1.5 px-4",
426
+ line: "border border-solid border-accent-dark !bg-accent-white",
427
+ white: "!bg-accent-white text-accent-dark",
428
+ silver: "!bg-accent-silver text-accent-dark "
428
429
  };
429
430
  var CustomChip = (props) => {
430
431
  const _a = props, { view } = _a, rest = __objRest(_a, ["view"]);
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 h-[28px] ${ChipViews[view]}`
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,20 +359,21 @@ 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
- black: "bg-accent-dark text-accent-white py-1.5 px-4",
366
- line: "border border-solid border-accent-dark bg-accent-white",
367
- white: "bg-accent-white text-accent-dark",
368
- silver: "bg-accent-silver text-accent-dark "
366
+ black: "!bg-accent-dark text-accent-white py-1.5 px-4",
367
+ line: "border border-solid border-accent-dark !bg-accent-white",
368
+ white: "!bg-accent-white text-accent-dark",
369
+ silver: "!bg-accent-silver text-accent-dark "
369
370
  };
370
371
  var CustomChip = (props) => {
371
372
  const _a = props, { view } = _a, rest = __objRest(_a, ["view"]);
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 h-[28px] ${ChipViews[view]}`
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
  })
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "mayak-common-library",
3
- "version": "0.0.61",
3
+ "version": "0.0.63",
4
4
  "private": false,
5
5
  "main": "./dist/index.js",
6
6
  "types": "./dist/index.d.ts",