@mdtl/uikit 0.0.66 → 0.0.68
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/components/Snackbar/Snackbar.d.ts +1 -2
- package/dist/components/Snackbar/Snackbar.stories.d.ts +26 -0
- package/dist/components/Snackbar/interfaces.d.ts +5 -0
- package/dist/components/Stepper/Stepper.d.ts +1 -2
- package/dist/components/Stepper/Stepper.stories.d.ts +19 -0
- package/dist/components/Tabs/Tabs.d.ts +3 -11
- package/dist/components/Tabs/Tabs.stories.d.ts +26 -0
- package/dist/components/Tabs/interfaces.d.ts +9 -0
- package/dist/components/Title/Title.stories.d.ts +17 -0
- package/dist/uikit.js +7 -0
- package/package.json +1 -1
- package/dist/vite-env.d.ts +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { default as React, FC } from 'react';
|
|
2
2
|
import { SnackbarStyle } from './interfaces';
|
|
3
|
-
interface ISnackbarProps {
|
|
3
|
+
export interface ISnackbarProps {
|
|
4
4
|
isOpen: boolean;
|
|
5
5
|
style: SnackbarStyle;
|
|
6
6
|
label: string;
|
|
@@ -9,4 +9,3 @@ interface ISnackbarProps {
|
|
|
9
9
|
setConfig: (config: Partial<ISnackbarProps>) => void;
|
|
10
10
|
}
|
|
11
11
|
export declare const Snackbar: FC<ISnackbarProps>;
|
|
12
|
-
export {};
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import { default as React } from 'react';
|
|
2
|
+
import { StoryObj } from '@storybook/react-vite';
|
|
3
|
+
import { ISnackbarProps } from './Snackbar';
|
|
4
|
+
declare const meta: {
|
|
5
|
+
title: string;
|
|
6
|
+
component: React.FC<ISnackbarProps>;
|
|
7
|
+
parameters: {
|
|
8
|
+
layout: string;
|
|
9
|
+
};
|
|
10
|
+
tags: string[];
|
|
11
|
+
args: {
|
|
12
|
+
isOpen: true;
|
|
13
|
+
label: string;
|
|
14
|
+
};
|
|
15
|
+
};
|
|
16
|
+
export default meta;
|
|
17
|
+
type Story = StoryObj<typeof meta>;
|
|
18
|
+
export declare const Primary: Story;
|
|
19
|
+
export declare const Secondary: Story;
|
|
20
|
+
export declare const Warning: Story;
|
|
21
|
+
export declare const Error: Story;
|
|
22
|
+
export declare const Success: Story;
|
|
23
|
+
export declare const MultipleDescription: Story;
|
|
24
|
+
export declare const EmptyDescription: Story;
|
|
25
|
+
export declare const Action: Story;
|
|
26
|
+
export declare const LargeLabelAndDescription: Story;
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { StoryObj } from '@storybook/react-vite';
|
|
2
|
+
import { IStepperProps } from './Stepper';
|
|
3
|
+
declare const meta: {
|
|
4
|
+
title: string;
|
|
5
|
+
component: import('react').FC<IStepperProps>;
|
|
6
|
+
parameters: {
|
|
7
|
+
layout: string;
|
|
8
|
+
};
|
|
9
|
+
tags: string[];
|
|
10
|
+
args: {
|
|
11
|
+
activeStep: number;
|
|
12
|
+
steps: {
|
|
13
|
+
title: string;
|
|
14
|
+
}[];
|
|
15
|
+
};
|
|
16
|
+
};
|
|
17
|
+
export default meta;
|
|
18
|
+
type Story = StoryObj<typeof meta>;
|
|
19
|
+
export declare const Primary: Story;
|
|
@@ -1,16 +1,8 @@
|
|
|
1
1
|
import { default as React } from 'react';
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
to?: string;
|
|
6
|
-
startTemplate?: React.ReactNode;
|
|
7
|
-
endTemplate?: React.ReactNode;
|
|
8
|
-
count?: number;
|
|
9
|
-
}
|
|
10
|
-
interface ITabsProps {
|
|
11
|
-
tabs: TabProps[];
|
|
2
|
+
import { Tab } from './interfaces';
|
|
3
|
+
export interface ITabsProps {
|
|
4
|
+
tabs: Tab[];
|
|
12
5
|
activeTab: number;
|
|
13
6
|
onChange: (tab: number) => void;
|
|
14
7
|
}
|
|
15
8
|
export declare const Tabs: React.FC<ITabsProps>;
|
|
16
|
-
export {};
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import { default as React } from 'react';
|
|
2
|
+
import { StoryObj } from '@storybook/react-vite';
|
|
3
|
+
import { ITabsProps } from './Tabs';
|
|
4
|
+
declare const meta: {
|
|
5
|
+
title: string;
|
|
6
|
+
component: (props: ITabsProps) => React.JSX.Element;
|
|
7
|
+
parameters: {
|
|
8
|
+
layout: string;
|
|
9
|
+
};
|
|
10
|
+
tags: string[];
|
|
11
|
+
args: {
|
|
12
|
+
tabs: {
|
|
13
|
+
id: number;
|
|
14
|
+
label: string;
|
|
15
|
+
}[];
|
|
16
|
+
activeTab: number;
|
|
17
|
+
onChange: () => void;
|
|
18
|
+
};
|
|
19
|
+
};
|
|
20
|
+
export default meta;
|
|
21
|
+
type Story = StoryObj<typeof meta>;
|
|
22
|
+
export declare const Default: Story;
|
|
23
|
+
export declare const StartTemplate: Story;
|
|
24
|
+
export declare const EndTemplate: Story;
|
|
25
|
+
export declare const Count: Story;
|
|
26
|
+
export declare const To: Story;
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { StoryObj } from '@storybook/react-vite';
|
|
2
|
+
import { ITitleProps } from './Title';
|
|
3
|
+
declare const meta: {
|
|
4
|
+
title: string;
|
|
5
|
+
component: import('react').FC<ITitleProps>;
|
|
6
|
+
parameters: {
|
|
7
|
+
layout: string;
|
|
8
|
+
};
|
|
9
|
+
tags: string[];
|
|
10
|
+
args: {
|
|
11
|
+
caption: string;
|
|
12
|
+
};
|
|
13
|
+
};
|
|
14
|
+
export default meta;
|
|
15
|
+
type Story = StoryObj<typeof meta>;
|
|
16
|
+
export declare const WithCount: Story;
|
|
17
|
+
export declare const withLargeCount: Story;
|
package/dist/uikit.js
CHANGED
|
@@ -5503,6 +5503,13 @@ const Im = (e) => /* @__PURE__ */ f(mt, { ...e, children: /* @__PURE__ */ f("svg
|
|
|
5503
5503
|
},
|
|
5504
5504
|
typography: Pe,
|
|
5505
5505
|
components: {
|
|
5506
|
+
MuiButtonBase: {
|
|
5507
|
+
defaultProps: {
|
|
5508
|
+
// The props to apply
|
|
5509
|
+
disableRipple: !0
|
|
5510
|
+
// No more ripple, on the whole application 💣!
|
|
5511
|
+
}
|
|
5512
|
+
},
|
|
5506
5513
|
MuiDialog: {
|
|
5507
5514
|
styleOverrides: {
|
|
5508
5515
|
paperWidthMd: {
|
package/package.json
CHANGED
package/dist/vite-env.d.ts
DELETED
|
File without changes
|