@zesty-io/material 0.15.0 → 0.15.2

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.
Files changed (2) hide show
  1. package/es/theme/index.js +13 -1
  2. package/package.json +1 -1
package/es/theme/index.js CHANGED
@@ -351,6 +351,7 @@ const components = {
351
351
  root: {
352
352
  borderRadius: "8px",
353
353
  padding: "8px 12px",
354
+ gap: "12px",
354
355
  },
355
356
  action: ({ theme }) => ({
356
357
  color: theme.palette.common.white,
@@ -360,11 +361,12 @@ const components = {
360
361
  marginRight: 0,
361
362
  }),
362
363
  message: ({ theme }) => ({
364
+ alignSelf: "center",
363
365
  color: theme.palette.common.white,
364
366
  }),
365
367
  icon: ({ theme }) => ({
366
368
  alignSelf: "center",
367
- marginRight: "8px",
369
+ marginRight: 0,
368
370
  color: theme.palette.common.white,
369
371
  }),
370
372
  filledSuccess: ({ theme }) => ({
@@ -385,6 +387,9 @@ const components = {
385
387
  " .MuiAlert-icon": {
386
388
  color: theme.palette.warning.dark,
387
389
  },
390
+ "& .MuiAlert-message": {
391
+ color: theme.palette.warning.dark,
392
+ },
388
393
  }),
389
394
  standardInfo: ({ theme }) => ({
390
395
  backgroundColor: theme.palette.blue[100],
@@ -400,6 +405,9 @@ const components = {
400
405
  " .MuiAlert-icon": {
401
406
  color: theme.palette.error.main,
402
407
  },
408
+ "& .MuiAlert-message": {
409
+ color: theme.palette.error.main,
410
+ },
403
411
  }),
404
412
  },
405
413
  },
@@ -493,6 +501,7 @@ const components = {
493
501
  },
494
502
  tooltip: ({ theme }) => ({
495
503
  ...theme.typography.body3,
504
+ backgroundColor: alpha(theme.palette.grey[900], 0.9),
496
505
  }),
497
506
  },
498
507
  },
@@ -573,6 +582,9 @@ const components = {
573
582
  },
574
583
  },
575
584
  }),
585
+ divider: ({ theme }) => ({
586
+ borderColor: theme.palette.border,
587
+ }),
576
588
  },
577
589
  },
578
590
  MuiBreadcrumbs: {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@zesty-io/material",
3
- "version": "0.15.0",
3
+ "version": "0.15.2",
4
4
  "description": "Contains custom components which are in addition to the @mui design-system",
5
5
  "author": "Zesty.io",
6
6
  "license": "MIT",