@spesia/ui 1.8.17 → 1.8.21

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.
@@ -1,3 +1,9 @@
1
1
  import { ComponentStyles } from '..';
2
2
  declare const checkboxStyles: ComponentStyles;
3
+ declare module "@mui/material/Checkbox" {
4
+ interface CheckboxPropsVariantOverrides {
5
+ rounded: true;
6
+ square: true;
7
+ }
8
+ }
3
9
  export { checkboxStyles };
@@ -1,8 +1,3 @@
1
1
  import { ComponentStyles } from '..';
2
2
  declare const chipStyles: ComponentStyles;
3
- declare module "@mui/material/Chip" {
4
- interface ChipPropsColorOverrides {
5
- default: false;
6
- }
7
- }
8
3
  export { chipStyles };
@@ -2,9 +2,14 @@ import { PaletteOptions } from '@mui/material';
2
2
  type Mode = "light" | "dark";
3
3
  declare const createPalette: (mode: Mode) => PaletteOptions;
4
4
  declare module "@mui/material/styles" {
5
+ interface BorderPalette {
6
+ primary: string;
7
+ secondary: string;
8
+ }
5
9
  interface Palette {
6
10
  neutral: PaletteColor;
7
11
  inherit: PaletteColor;
12
+ border: BorderPalette;
8
13
  }
9
14
  interface PaletteColor {
10
15
  lighter: string;
@@ -28,6 +33,7 @@ declare module "@mui/material/styles" {
28
33
  }
29
34
  interface PaletteOptions {
30
35
  neutral: SimplePaletteColorOptions;
36
+ border?: BorderPalette;
31
37
  }
32
38
  interface TypeBackground {
33
39
  brownBold: string;
package/package.json CHANGED
@@ -3,7 +3,7 @@
3
3
  "publishConfig": {
4
4
  "access": "public"
5
5
  },
6
- "version": "1.8.17",
6
+ "version": "1.8.21",
7
7
  "description": "The Spesia UI toolkit for React",
8
8
  "files": [
9
9
  "dist"