@movable/ui 0.28.3 → 1.0.0

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/lib/theme.d.ts CHANGED
@@ -208,5 +208,15 @@ declare module '@mui/material/Button' {
208
208
  card: true;
209
209
  }
210
210
  }
211
+ declare module '@mui/material/ToggleButton' {
212
+ interface ToggleButtonPropsSizeOverrides {
213
+ 'x-small': true;
214
+ }
215
+ }
216
+ declare module '@mui/material/Icon' {
217
+ interface IconPropsSizeOverrides {
218
+ 'x-small': true;
219
+ }
220
+ }
211
221
  declare const theme: import("@mui/material/styles").Theme;
212
222
  export default theme;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@movable/ui",
3
- "version": "0.28.3",
3
+ "version": "1.0.0",
4
4
  "description": "Movable Ink's shared MUI components and MUI theme for our vite applications",
5
5
  "module": "lib/index.mjs",
6
6
  "types": "lib/index.d.ts",
@@ -1,12 +0,0 @@
1
- import { ToggleButtonGroupProps } from '@mui/material';
2
- type InkSwitcherProps = {
3
- id: string;
4
- toggleButtons: {
5
- value: string;
6
- label?: string;
7
- }[];
8
- ariaLabel?: string;
9
- defaultSelected?: string;
10
- } & ToggleButtonGroupProps;
11
- export declare function InkSwitcher({ id, toggleButtons, ariaLabel, defaultSelected, sx, ...rest }: InkSwitcherProps): import("react/jsx-runtime").JSX.Element;
12
- export {};
@@ -1 +0,0 @@
1
- export { InkSwitcher } from './InkSwitcher';