@mdtl/uikit 0.0.65 → 0.0.66

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,6 +1,6 @@
1
1
  import { default as React, FC } from 'react';
2
2
  import { SnackbarStyle } from './interfaces';
3
- export interface ISnackbarProps {
3
+ interface ISnackbarProps {
4
4
  isOpen: boolean;
5
5
  style: SnackbarStyle;
6
6
  label: string;
@@ -9,3 +9,4 @@ export interface ISnackbarProps {
9
9
  setConfig: (config: Partial<ISnackbarProps>) => void;
10
10
  }
11
11
  export declare const Snackbar: FC<ISnackbarProps>;
12
+ export {};
@@ -1,6 +1 @@
1
1
  export type SnackbarStyle = 'primary' | 'secondary' | 'warning' | 'error' | 'success';
2
- export type SnackbarStyles = {
3
- [key in SnackbarStyle]: {
4
- backgroundColor: string;
5
- };
6
- };
@@ -1,8 +1,9 @@
1
1
  import { FC } from 'react';
2
- export interface IStepperProps {
2
+ interface IStepperProps {
3
3
  activeStep: number;
4
4
  steps: {
5
5
  title: string;
6
6
  }[];
7
7
  }
8
8
  export declare const Stepper: FC<IStepperProps>;
9
+ export {};
@@ -1,8 +1,16 @@
1
1
  import { default as React } from 'react';
2
- import { Tab } from './interfaces';
3
- export interface ITabsProps {
4
- tabs: Tab[];
2
+ interface TabProps {
3
+ id: number;
4
+ label: string;
5
+ to?: string;
6
+ startTemplate?: React.ReactNode;
7
+ endTemplate?: React.ReactNode;
8
+ count?: number;
9
+ }
10
+ interface ITabsProps {
11
+ tabs: TabProps[];
5
12
  activeTab: number;
6
13
  onChange: (tab: number) => void;
7
14
  }
8
15
  export declare const Tabs: React.FC<ITabsProps>;
16
+ export {};
@@ -1,4 +1,9 @@
1
1
  export declare const buttonsConfig: {
2
+ defaultProps: {
3
+ disableRipple: boolean;
4
+ disableFocusRipple: boolean;
5
+ disableTouchRipple: boolean;
6
+ };
2
7
  styleOverrides: {
3
8
  root: {
4
9
  textTransform: string;
@@ -219,9 +224,4 @@ export declare const buttonsConfig: {
219
224
  })[];
220
225
  };
221
226
  };
222
- defaultProps: {
223
- disableRipple: boolean;
224
- disableFocusRipple: boolean;
225
- disableTouchRipple: boolean;
226
- };
227
227
  };