dt-shared-front 2.2.128 → 2.2.129
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/select/select.stories.d.ts +1 -0
- package/dist/components/selector/selector.stories.d.ts +18 -0
- package/dist/components/switch/switch.d.ts +3 -1
- package/dist/components/switch/switch.stories.d.ts +3 -1
- package/dist/components/upload/upload.stories.d.ts +16 -0
- package/dist/index.js +1 -1
- package/dist/index.js.map +1 -1
- package/dist/main.css +40 -40
- package/dist/main.css.map +1 -1
- package/package.json +1 -1
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { Meta, StoryObj } from '@storybook/react';
|
|
2
|
+
import { Selector } from './selector';
|
|
3
|
+
declare const meta: Meta<typeof Selector>;
|
|
4
|
+
export default meta;
|
|
5
|
+
declare type Story = StoryObj<typeof Selector>;
|
|
6
|
+
export declare const BasicSlider: Story;
|
|
7
|
+
export declare const SliderWithStep: Story;
|
|
8
|
+
export declare const SliderWithMarks: Story;
|
|
9
|
+
export declare const DisabledSlider: Story;
|
|
10
|
+
export declare const CustomRangeSlider: Story;
|
|
11
|
+
export declare const RangeSlider: Story;
|
|
12
|
+
export declare const RangeSliderWithStep: Story;
|
|
13
|
+
export declare const PriceRangeSlider: Story;
|
|
14
|
+
export declare const RangeSliderWithMarks: Story;
|
|
15
|
+
export declare const DisabledRangeSlider: Story;
|
|
16
|
+
export declare const AllVariants: Story;
|
|
17
|
+
export declare const WithAfterChange: Story;
|
|
18
|
+
export declare const WithTooltips: Story;
|
|
@@ -12,6 +12,8 @@ declare type ISwitchProps = {
|
|
|
12
12
|
onChange?: (value: boolean) => void;
|
|
13
13
|
disabled?: boolean;
|
|
14
14
|
size?: keyof typeof ESwitchSize;
|
|
15
|
+
isWbTheme?: boolean;
|
|
16
|
+
mobSize?: keyof typeof ESwitchSize;
|
|
15
17
|
};
|
|
16
|
-
export declare const Switch: ({ size, ...props }: ISwitchProps) => React.JSX.Element;
|
|
18
|
+
export declare const Switch: ({ size, isWbTheme, mobSize, ...props }: ISwitchProps) => React.JSX.Element;
|
|
17
19
|
export {};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
declare const _default: {
|
|
3
3
|
title: string;
|
|
4
|
-
component: ({ size, ...props }: {
|
|
4
|
+
component: ({ size, isWbTheme, mobSize, ...props }: {
|
|
5
5
|
value?: boolean;
|
|
6
6
|
name?: string;
|
|
7
7
|
title?: string;
|
|
@@ -9,6 +9,8 @@ declare const _default: {
|
|
|
9
9
|
onChange?: (value: boolean) => void;
|
|
10
10
|
disabled?: boolean;
|
|
11
11
|
size?: "small" | "medium" | "large";
|
|
12
|
+
isWbTheme?: boolean;
|
|
13
|
+
mobSize?: "small" | "medium" | "large";
|
|
12
14
|
}) => React.JSX.Element;
|
|
13
15
|
};
|
|
14
16
|
export default _default;
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { Meta, StoryObj } from '@storybook/react';
|
|
2
|
+
import { Upload } from './upload';
|
|
3
|
+
declare const meta: Meta<typeof Upload>;
|
|
4
|
+
export default meta;
|
|
5
|
+
declare type Story = StoryObj<typeof Upload>;
|
|
6
|
+
export declare const BasicUpload: Story;
|
|
7
|
+
export declare const CustomText: Story;
|
|
8
|
+
export declare const LimitedFiles: Story;
|
|
9
|
+
export declare const WithRemove: Story;
|
|
10
|
+
export declare const WithoutRemove: Story;
|
|
11
|
+
export declare const HiddenList: Story;
|
|
12
|
+
export declare const PreloadedFiles: Story;
|
|
13
|
+
export declare const CustomFileName: Story;
|
|
14
|
+
export declare const WithServerUpload: Story;
|
|
15
|
+
export declare const DisabledUpload: Story;
|
|
16
|
+
export declare const AllVariants: Story;
|