@skbkontur/react-ui 5.1.4 → 5.1.5
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/CHANGELOG.md +13 -0
- package/cjs/components/Autocomplete/__docs__/Autocomplete.mdx +2 -1
- package/cjs/components/Button/__docs__/Button.mdx +6 -5
- package/cjs/components/Calendar/__docs__/Calendar.mdx +6 -5
- package/cjs/components/Calendar/__docs__/CalendarDay.mdx +2 -1
- package/cjs/components/Center/__docs__/Center.mdx +2 -1
- package/cjs/components/Checkbox/__docs__/Checkbox.mdx +6 -5
- package/cjs/components/ComboBox/__docs__/ComboBox.mdx +6 -5
- package/cjs/components/CurrencyInput/__docs__/CurrencyInput.mdx +6 -5
- package/cjs/components/CurrencyLabel/__docs__/CurrencyLabel.mdx +2 -1
- package/cjs/components/DateInput/__docs__/DateInput.mdx +2 -3
- package/cjs/components/DatePicker/__docs__/DatePicker.mdx +6 -5
- package/cjs/components/DateRangePicker/DateRangePicker.d.ts +2 -0
- package/cjs/components/DateRangePicker/DateRangePicker.js +42 -8
- package/cjs/components/DateRangePicker/DateRangePicker.js.map +1 -1
- package/cjs/components/DateRangePicker/DateRangePickerInput.js +4 -8
- package/cjs/components/DateRangePicker/DateRangePickerInput.js.map +1 -1
- package/cjs/components/DateRangePicker/__docs__/DateRangePicker.mdx +6 -8
- package/cjs/components/Dropdown/__docs__/Dropdown.mdx +6 -5
- package/cjs/components/DropdownMenu/__docs__/DropdownMenu.mdx +6 -5
- package/cjs/components/FileUploader/__docs__/FileUploader.mdx +6 -5
- package/cjs/components/FxInput/__docs__/FxInput.mdx +6 -5
- package/cjs/components/Gapped/__docs__/Gapped.mdx +2 -1
- package/cjs/components/GlobalLoader/__docs__/GlobalLoader.mdx +6 -5
- package/cjs/components/Group/__docs__/Group.mdx +2 -1
- package/cjs/components/Hint/__docs__/Hint.mdx +6 -5
- package/cjs/components/Input/__docs__/Input.mdx +6 -5
- package/cjs/components/Kebab/__docs__/Kebab.mdx +6 -5
- package/cjs/components/Link/__docs__/Link.mdx +6 -5
- package/cjs/components/Loader/__docs__/Loader.mdx +2 -3
- package/cjs/components/MaskedInput/__docs__/MaskedInput.mdx +6 -5
- package/cjs/components/MenuFooter/__docs__/MenuFooter.mdx +2 -1
- package/cjs/components/MenuHeader/__docs__/MenuHeader.mdx +2 -1
- package/cjs/components/MenuItem/__docs__/MenuItem.mdx +2 -1
- package/cjs/components/MenuSeparator/__docs__/MenuSeparator.mdx +2 -1
- package/cjs/components/MiniModal/__docs__/MiniModal.mdx +6 -5
- package/cjs/components/Modal/__docs__/Modal.mdx +6 -5
- package/cjs/components/Paging/__docs__/Paging.mdx +6 -5
- package/cjs/components/PasswordInput/__docs__/PasswordInput.mdx +6 -5
- package/cjs/components/Radio/__docs__/Radio.mdx +6 -5
- package/cjs/components/RadioGroup/__docs__/RadioGroup.mdx +6 -5
- package/cjs/components/ResponsiveLayout/__docs__/ResponsiveLayout.mdx +2 -1
- package/cjs/components/ScrollContainer/__docs__/ScrollContainer.mdx +2 -1
- package/cjs/components/Select/__docs__/Select.mdx +6 -5
- package/cjs/components/SidePage/__docs__/SidePage.mdx +6 -5
- package/cjs/components/SingleToast/__docs__/SingleToast.mdx +6 -5
- package/cjs/components/Spinner/__docs__/Spinner.mdx +6 -5
- package/cjs/components/Sticky/__docs__/Sticky.mdx +2 -1
- package/cjs/components/Switcher/__docs__/Switcher.mdx +6 -5
- package/cjs/components/Tabs/__docs__/Tab.mdx +6 -5
- package/cjs/components/Tabs/__docs__/Tabs.mdx +6 -5
- package/cjs/components/Textarea/__docs__/Textarea.mdx +6 -5
- package/cjs/components/Toast/__docs__/Toast.mdx +6 -5
- package/cjs/components/Toggle/__docs__/Toggle.mdx +6 -5
- package/cjs/components/Token/__docs__/Token.mdx +6 -5
- package/cjs/components/TokenInput/__docs__/TokenInput.mdx +6 -5
- package/cjs/components/Tooltip/__docs__/Tooltip.mdx +6 -5
- package/cjs/components/TooltipMenu/__docs__/TooltipMenu.mdx +2 -1
- package/cjs/lib/rootNode/getRootNode.js +5 -12
- package/cjs/lib/rootNode/getRootNode.js.map +1 -1
- package/cjs/lib/utils.d.ts +1 -0
- package/cjs/lib/utils.js +5 -1
- package/cjs/lib/utils.js.map +1 -1
- package/components/Autocomplete/__docs__/Autocomplete.mdx +2 -1
- package/components/Button/__docs__/Button.mdx +6 -5
- package/components/Calendar/__docs__/Calendar.mdx +6 -5
- package/components/Calendar/__docs__/CalendarDay.mdx +2 -1
- package/components/Center/__docs__/Center.mdx +2 -1
- package/components/Checkbox/__docs__/Checkbox.mdx +6 -5
- package/components/ComboBox/__docs__/ComboBox.mdx +6 -5
- package/components/CurrencyInput/__docs__/CurrencyInput.mdx +6 -5
- package/components/CurrencyLabel/__docs__/CurrencyLabel.mdx +2 -1
- package/components/DateInput/__docs__/DateInput.mdx +2 -3
- package/components/DatePicker/__docs__/DatePicker.mdx +6 -5
- package/components/DateRangePicker/DateRangePicker/DateRangePicker.js +31 -11
- package/components/DateRangePicker/DateRangePicker/DateRangePicker.js.map +1 -1
- package/components/DateRangePicker/DateRangePicker.d.ts +2 -0
- package/components/DateRangePicker/DateRangePickerInput/DateRangePickerInput.js +5 -8
- package/components/DateRangePicker/DateRangePickerInput/DateRangePickerInput.js.map +1 -1
- package/components/DateRangePicker/__docs__/DateRangePicker.mdx +6 -8
- package/components/Dropdown/__docs__/Dropdown.mdx +6 -5
- package/components/DropdownMenu/__docs__/DropdownMenu.mdx +6 -5
- package/components/FileUploader/__docs__/FileUploader.mdx +6 -5
- package/components/FxInput/__docs__/FxInput.mdx +6 -5
- package/components/Gapped/__docs__/Gapped.mdx +2 -1
- package/components/GlobalLoader/__docs__/GlobalLoader.mdx +6 -5
- package/components/Group/__docs__/Group.mdx +2 -1
- package/components/Hint/__docs__/Hint.mdx +6 -5
- package/components/Input/__docs__/Input.mdx +6 -5
- package/components/Kebab/__docs__/Kebab.mdx +6 -5
- package/components/Link/__docs__/Link.mdx +6 -5
- package/components/Loader/__docs__/Loader.mdx +2 -3
- package/components/MaskedInput/__docs__/MaskedInput.mdx +6 -5
- package/components/MenuFooter/__docs__/MenuFooter.mdx +2 -1
- package/components/MenuHeader/__docs__/MenuHeader.mdx +2 -1
- package/components/MenuItem/__docs__/MenuItem.mdx +2 -1
- package/components/MenuSeparator/__docs__/MenuSeparator.mdx +2 -1
- package/components/MiniModal/__docs__/MiniModal.mdx +6 -5
- package/components/Modal/__docs__/Modal.mdx +6 -5
- package/components/Paging/__docs__/Paging.mdx +6 -5
- package/components/PasswordInput/__docs__/PasswordInput.mdx +6 -5
- package/components/Radio/__docs__/Radio.mdx +6 -5
- package/components/RadioGroup/__docs__/RadioGroup.mdx +6 -5
- package/components/ResponsiveLayout/__docs__/ResponsiveLayout.mdx +2 -1
- package/components/ScrollContainer/__docs__/ScrollContainer.mdx +2 -1
- package/components/Select/__docs__/Select.mdx +6 -5
- package/components/SidePage/__docs__/SidePage.mdx +6 -5
- package/components/SingleToast/__docs__/SingleToast.mdx +6 -5
- package/components/Spinner/__docs__/Spinner.mdx +6 -5
- package/components/Sticky/__docs__/Sticky.mdx +2 -1
- package/components/Switcher/__docs__/Switcher.mdx +6 -5
- package/components/Tabs/__docs__/Tab.mdx +6 -5
- package/components/Tabs/__docs__/Tabs.mdx +6 -5
- package/components/Textarea/__docs__/Textarea.mdx +6 -5
- package/components/Toast/__docs__/Toast.mdx +6 -5
- package/components/Toggle/__docs__/Toggle.mdx +6 -5
- package/components/Token/__docs__/Token.mdx +6 -5
- package/components/TokenInput/__docs__/TokenInput.mdx +6 -5
- package/components/Tooltip/__docs__/Tooltip.mdx +6 -5
- package/components/TooltipMenu/__docs__/TooltipMenu.mdx +2 -1
- package/lib/rootNode/getRootNode/getRootNode.js +5 -12
- package/lib/rootNode/getRootNode/getRootNode.js.map +1 -1
- package/lib/utils/utils.js +3 -0
- package/lib/utils/utils.js.map +1 -1
- package/lib/utils.d.ts +1 -0
- package/package.json +2 -2
|
@@ -1,21 +1,19 @@
|
|
|
1
1
|
import * as DateRangePickerStories from './DateRangePicker.docs.stories.tsx';
|
|
2
2
|
import { Primary, ArgTypes, Stories, Description } from '@storybook/blocks';
|
|
3
3
|
import { Meta } from '../../../.storybook/Meta';
|
|
4
|
+
import { Header } from '../../../.storybook/Header';
|
|
4
5
|
import { PropsTable } from '../../../.storybook/PropsTable';
|
|
5
6
|
|
|
6
7
|
<Meta of={DateRangePickerStories} />
|
|
7
8
|
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
9
|
+
<Header
|
|
10
|
+
component="DateRangePicker"
|
|
11
|
+
guides="https://guides.kontur.ru/components/input-fields/calendar/"
|
|
12
|
+
figma="https://www.figma.com/file/87ScqxPzJpF9DcVBNYWOjM/%E2%9A%A1-Kontur-UI-Modern-Layout?node-id=281%3A18389"
|
|
13
|
+
/>
|
|
13
14
|
|
|
14
15
|
<Description />
|
|
15
16
|
|
|
16
|
-
<br />
|
|
17
|
-
<br />
|
|
18
|
-
|
|
19
17
|
## Базовый пример
|
|
20
18
|
|
|
21
19
|
Компонент выбора периода состоит из 3-х дочерних компонентов:
|
|
@@ -1,15 +1,16 @@
|
|
|
1
1
|
import * as DropdownStories from './Dropdown.docs.stories.tsx';
|
|
2
2
|
import { Primary, ArgTypes, Stories, Description } from '@storybook/blocks';
|
|
3
3
|
import { Meta } from '../../../.storybook/Meta';
|
|
4
|
+
import { Header } from '../../../.storybook/Header';
|
|
4
5
|
import { PropsTable } from '../../../.storybook/PropsTable';
|
|
5
6
|
|
|
6
7
|
<Meta of={DropdownStories} />
|
|
7
8
|
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
9
|
+
<Header
|
|
10
|
+
component="Dropdown"
|
|
11
|
+
guides="https://guides.kontur.ru/components/actions/menu-button/"
|
|
12
|
+
figma="https://www.figma.com/file/87ScqxPzJpF9DcVBNYWOjM/%E2%9A%A1-Kontur-UI-Modern-Layout?node-id=200%3A2498"
|
|
13
|
+
/>
|
|
13
14
|
|
|
14
15
|
<Description />
|
|
15
16
|
|
|
@@ -1,15 +1,16 @@
|
|
|
1
1
|
import * as DropdownMenuStories from './DropdownMenu.docs.stories.tsx';
|
|
2
2
|
import { Primary, ArgTypes, Stories, Description } from '@storybook/blocks';
|
|
3
3
|
import { Meta } from '../../../.storybook/Meta';
|
|
4
|
+
import { Header } from '../../../.storybook/Header';
|
|
4
5
|
import { PropsTable } from '../../../.storybook/PropsTable';
|
|
5
6
|
|
|
6
7
|
<Meta of={DropdownMenuStories} />
|
|
7
8
|
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
9
|
+
<Header
|
|
10
|
+
component="DropdownMenu"
|
|
11
|
+
guides="https://guides.kontur.ru/components/actions/menu-button/"
|
|
12
|
+
figma="https://www.figma.com/design/87ScqxPzJpF9DcVBNYWOjM/⚡-Kontur-UI?node-id=200-2498&t=I8Bp7OCi6jgkyIbR-0"
|
|
13
|
+
/>
|
|
13
14
|
|
|
14
15
|
<Description />
|
|
15
16
|
|
|
@@ -1,15 +1,16 @@
|
|
|
1
1
|
import * as FileUploaderStories from './FileUploader.docs.stories.tsx';
|
|
2
2
|
import { Primary, ArgTypes, Stories, Description } from '@storybook/blocks';
|
|
3
3
|
import { Meta } from '../../../.storybook/Meta';
|
|
4
|
+
import { Header } from '../../../.storybook/Header';
|
|
4
5
|
import { PropsTable } from '../../../.storybook/PropsTable';
|
|
5
6
|
|
|
6
7
|
<Meta of={FileUploaderStories} />
|
|
7
8
|
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
9
|
+
<Header
|
|
10
|
+
component="FileUploader"
|
|
11
|
+
guides="https://guides.kontur.ru/components/input-fields/file-uploader/"
|
|
12
|
+
figma="https://www.figma.com/file/87ScqxPzJpF9DcVBNYWOjM/%E2%9A%A1-Kontur-UI-Modern-Layout?node-id=284%3A11938"
|
|
13
|
+
/>
|
|
13
14
|
|
|
14
15
|
<Description />
|
|
15
16
|
|
|
@@ -1,15 +1,16 @@
|
|
|
1
1
|
import * as FxInputStories from './FxInput.docs.stories.tsx';
|
|
2
2
|
import { Primary, ArgTypes, Stories, Description } from '@storybook/blocks';
|
|
3
3
|
import { Meta } from '../../../.storybook/Meta';
|
|
4
|
+
import { Header } from '../../../.storybook/Header';
|
|
4
5
|
import { PropsTable } from '../../../.storybook/PropsTable';
|
|
5
6
|
|
|
6
7
|
<Meta of={FxInputStories} />
|
|
7
8
|
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
9
|
+
<Header
|
|
10
|
+
component="FxInput"
|
|
11
|
+
guides="https://guides.kontur.ru/components/input-fields/input/#11"
|
|
12
|
+
figma="https://www.figma.com/file/87ScqxPzJpF9DcVBNYWOjM/%E2%9A%A1-Kontur-UI-Modern-Layout?node-id=203%3A1602"
|
|
13
|
+
/>
|
|
13
14
|
|
|
14
15
|
<Description />
|
|
15
16
|
|
|
@@ -1,11 +1,12 @@
|
|
|
1
1
|
import * as GappedStories from './Gapped.docs.stories.tsx';
|
|
2
2
|
import { Primary, ArgTypes, Stories, Description } from '@storybook/blocks';
|
|
3
3
|
import { Meta } from '../../../.storybook/Meta';
|
|
4
|
+
import { Header } from '../../../.storybook/Header';
|
|
4
5
|
import { PropsTable } from '../../../.storybook/PropsTable';
|
|
5
6
|
|
|
6
7
|
<Meta of={GappedStories} />
|
|
7
8
|
|
|
8
|
-
|
|
9
|
+
<Header component="Gapped" />
|
|
9
10
|
|
|
10
11
|
<Description />
|
|
11
12
|
|
|
@@ -1,15 +1,16 @@
|
|
|
1
1
|
import * as GlobalLoaderStories from './GlobalLoader.docs.stories.tsx';
|
|
2
2
|
import { Primary, ArgTypes, Stories, Description } from '@storybook/blocks';
|
|
3
3
|
import { Meta } from '../../../.storybook/Meta';
|
|
4
|
+
import { Header } from '../../../.storybook/Header';
|
|
4
5
|
import { PropsTable } from '../../../.storybook/PropsTable';
|
|
5
6
|
|
|
6
7
|
<Meta of={GlobalLoaderStories} />
|
|
7
8
|
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
9
|
+
<Header
|
|
10
|
+
component="GlobalLoader"
|
|
11
|
+
guides="https://guides.kontur.ru/components/progress-indicators/global-loader/"
|
|
12
|
+
figma="https://www.figma.com/design/87ScqxPzJpF9DcVBNYWOjM/%E2%9A%A1-Kontur-UI?node-id=396-15654&t=i9hraypi61DJWRFA-4"
|
|
13
|
+
/>
|
|
13
14
|
|
|
14
15
|
<Description />
|
|
15
16
|
|
|
@@ -1,11 +1,12 @@
|
|
|
1
1
|
import * as GroupStories from './Group.docs.stories.tsx';
|
|
2
2
|
import { Primary, ArgTypes, Stories, Description } from '@storybook/blocks';
|
|
3
3
|
import { Meta } from '../../../.storybook/Meta';
|
|
4
|
+
import { Header } from '../../../.storybook/Header';
|
|
4
5
|
import { PropsTable } from '../../../.storybook/PropsTable';
|
|
5
6
|
|
|
6
7
|
<Meta of={GroupStories} />
|
|
7
8
|
|
|
8
|
-
|
|
9
|
+
<Header component="Group" />
|
|
9
10
|
|
|
10
11
|
<Description />
|
|
11
12
|
|
|
@@ -2,15 +2,16 @@ import * as HintStories from './Hint.docs.stories.tsx';
|
|
|
2
2
|
|
|
3
3
|
import { Primary, ArgTypes, Stories, Description } from '@storybook/blocks';
|
|
4
4
|
import { Meta } from '../../../.storybook/Meta';
|
|
5
|
+
import { Header } from '../../../.storybook/Header';
|
|
5
6
|
import { PropsTable } from '../../../.storybook/PropsTable';
|
|
6
7
|
|
|
7
8
|
<Meta of={HintStories} />
|
|
8
9
|
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
10
|
+
<Header
|
|
11
|
+
component="Hint"
|
|
12
|
+
guides="https://guides.kontur.ru/components/popup-elements/hint/"
|
|
13
|
+
figma="https://www.figma.com/file/87ScqxPzJpF9DcVBNYWOjM/%E2%9A%A1-Kontur-UI-Modern-Layout?node-id=230%3A5154"
|
|
14
|
+
/>
|
|
14
15
|
|
|
15
16
|
<Description />
|
|
16
17
|
|
|
@@ -1,15 +1,16 @@
|
|
|
1
1
|
import * as InputStories from './Input.docs.stories.tsx';
|
|
2
2
|
import { Primary, ArgTypes, Stories, Description } from '@storybook/blocks';
|
|
3
3
|
import { Meta } from '../../../.storybook/Meta';
|
|
4
|
+
import { Header } from '../../../.storybook/Header';
|
|
4
5
|
import { PropsTable } from '../../../.storybook/PropsTable';
|
|
5
6
|
|
|
6
7
|
<Meta of={InputStories} />
|
|
7
8
|
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
9
|
+
<Header
|
|
10
|
+
component="Input"
|
|
11
|
+
guides="https://guides.kontur.ru/components/input-fields/input/"
|
|
12
|
+
figma="https://www.figma.com/file/87ScqxPzJpF9DcVBNYWOjM/%E2%9A%A1-Kontur-UI-Modern-Layout?node-id=203%3A1602"
|
|
13
|
+
/>
|
|
13
14
|
|
|
14
15
|
<Description />
|
|
15
16
|
|
|
@@ -1,15 +1,16 @@
|
|
|
1
1
|
import * as KebabStories from './Kebab.docs.stories.tsx';
|
|
2
2
|
import { Primary, ArgTypes, Stories, Description } from '@storybook/blocks';
|
|
3
3
|
import { Meta } from '../../../.storybook/Meta';
|
|
4
|
+
import { Header } from '../../../.storybook/Header';
|
|
4
5
|
import { PropsTable } from '../../../.storybook/PropsTable';
|
|
5
6
|
|
|
6
7
|
<Meta of={KebabStories} />
|
|
7
8
|
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
9
|
+
<Header
|
|
10
|
+
component="Kebab"
|
|
11
|
+
guides="https://guides.kontur.ru/components/actions/kebab-menu/"
|
|
12
|
+
figma="https://www.figma.com/file/87ScqxPzJpF9DcVBNYWOjM/%E2%9A%A1-Kontur-UI-Modern-Layout?node-id=230%3A2540"
|
|
13
|
+
/>
|
|
13
14
|
|
|
14
15
|
<Description />
|
|
15
16
|
|
|
@@ -1,15 +1,16 @@
|
|
|
1
1
|
import * as LinkStories from './Link.docs.stories.tsx';
|
|
2
2
|
import { Primary, ArgTypes, Stories, Description } from '@storybook/blocks';
|
|
3
3
|
import { Meta } from '../../../.storybook/Meta';
|
|
4
|
+
import { Header } from '../../../.storybook/Header';
|
|
4
5
|
import { PropsTable } from '../../../.storybook/PropsTable';
|
|
5
6
|
|
|
6
7
|
<Meta of={LinkStories} />
|
|
7
8
|
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
9
|
+
<Header
|
|
10
|
+
component="Link"
|
|
11
|
+
guides="https://guides.kontur.ru/components/actions/hyperlink/"
|
|
12
|
+
figma="https://www.figma.com/file/87ScqxPzJpF9DcVBNYWOjM/%E2%9A%A1-Kontur-UI?type=design&node-id=953%3A23703&mode=design&t=os7wLLJCaKzU1UFM-1"
|
|
13
|
+
/>
|
|
13
14
|
|
|
14
15
|
<Description />
|
|
15
16
|
|
|
@@ -1,13 +1,12 @@
|
|
|
1
1
|
import * as LoaderStories from './Loader.docs.stories.tsx';
|
|
2
2
|
import { Primary, ArgTypes, Stories, Description } from '@storybook/blocks';
|
|
3
3
|
import { Meta } from '../../../.storybook/Meta';
|
|
4
|
+
import { Header } from '../../../.storybook/Header';
|
|
4
5
|
import { PropsTable } from '../../../.storybook/PropsTable';
|
|
5
6
|
|
|
6
7
|
<Meta of={LoaderStories} />
|
|
7
8
|
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
[Компонент в Контур.Гайдах](https://guides.kontur.ru/components/progress-indicators/spinner/)
|
|
9
|
+
<Header component="Loader" guides="https://guides.kontur.ru/components/progress-indicators/spinner/" />
|
|
11
10
|
|
|
12
11
|
<Description />
|
|
13
12
|
|
|
@@ -1,15 +1,16 @@
|
|
|
1
1
|
import * as MaskedInputStories from './MaskedInput.docs.stories.tsx';
|
|
2
2
|
import { Primary, ArgTypes, Stories, Description } from '@storybook/blocks';
|
|
3
3
|
import { Meta } from '../../../.storybook/Meta';
|
|
4
|
+
import { Header } from '../../../.storybook/Header';
|
|
4
5
|
import { PropsTable } from '../../../.storybook/PropsTable';
|
|
5
6
|
|
|
6
7
|
<Meta of={MaskedInputStories} />
|
|
7
8
|
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
9
|
+
<Header
|
|
10
|
+
component="MaskedInput"
|
|
11
|
+
guides="https://guides.kontur.ru/components/input-fields/input/"
|
|
12
|
+
figma="https://www.figma.com/file/87ScqxPzJpF9DcVBNYWOjM/%E2%9A%A1-Kontur-UI-Modern-Layout?node-id=203%3A1602"
|
|
13
|
+
/>
|
|
13
14
|
|
|
14
15
|
<Description />
|
|
15
16
|
|
|
@@ -1,11 +1,12 @@
|
|
|
1
1
|
import * as MenuFooterStories from './MenuFooter.docs.stories.tsx';
|
|
2
2
|
import { Primary, ArgTypes, Stories, Description } from '@storybook/blocks';
|
|
3
3
|
import { Meta } from '../../../.storybook/Meta';
|
|
4
|
+
import { Header } from '../../../.storybook/Header';
|
|
4
5
|
import { PropsTable } from '../../../.storybook/PropsTable';
|
|
5
6
|
|
|
6
7
|
<Meta of={MenuFooterStories} />
|
|
7
8
|
|
|
8
|
-
|
|
9
|
+
<Header component="MenuFooter" />
|
|
9
10
|
|
|
10
11
|
<Description />
|
|
11
12
|
|
|
@@ -1,11 +1,12 @@
|
|
|
1
1
|
import * as MenuHeaderStories from './MenuHeader.docs.stories.tsx';
|
|
2
2
|
import { Primary, ArgTypes, Stories, Description } from '@storybook/blocks';
|
|
3
3
|
import { Meta } from '../../../.storybook/Meta';
|
|
4
|
+
import { Header } from '../../../.storybook/Header';
|
|
4
5
|
import { PropsTable } from '../../../.storybook/PropsTable';
|
|
5
6
|
|
|
6
7
|
<Meta of={MenuHeaderStories} />
|
|
7
8
|
|
|
8
|
-
|
|
9
|
+
<Header component="MenuHeader" />
|
|
9
10
|
|
|
10
11
|
<Description />
|
|
11
12
|
|
|
@@ -1,11 +1,12 @@
|
|
|
1
1
|
import * as MenuItemStories from './MenuItem.docs.stories.tsx';
|
|
2
2
|
import { Primary, ArgTypes, Stories, Description } from '@storybook/blocks';
|
|
3
3
|
import { Meta } from '../../../.storybook/Meta';
|
|
4
|
+
import { Header } from '../../../.storybook/Header';
|
|
4
5
|
import { PropsTable } from '../../../.storybook/PropsTable';
|
|
5
6
|
|
|
6
7
|
<Meta of={MenuItemStories} />
|
|
7
8
|
|
|
8
|
-
|
|
9
|
+
<Header component="MenuItem" />
|
|
9
10
|
|
|
10
11
|
<Description />
|
|
11
12
|
|
|
@@ -1,11 +1,12 @@
|
|
|
1
1
|
import * as MenuSeparatorStories from './MenuSeparator.docs.stories.tsx';
|
|
2
2
|
import { Primary, ArgTypes, Stories, Description } from '@storybook/blocks';
|
|
3
3
|
import { Meta } from '../../../.storybook/Meta';
|
|
4
|
+
import { Header } from '../../../.storybook/Header';
|
|
4
5
|
import { PropsTable } from '../../../.storybook/PropsTable';
|
|
5
6
|
|
|
6
7
|
<Meta of={MenuSeparatorStories} />
|
|
7
8
|
|
|
8
|
-
|
|
9
|
+
<Header component="MenuSeparator" />
|
|
9
10
|
|
|
10
11
|
<Description />
|
|
11
12
|
|
|
@@ -1,15 +1,16 @@
|
|
|
1
1
|
import * as MiniModalStories from './MiniModal.docs.stories.tsx';
|
|
2
2
|
import { Primary, ArgTypes, Stories, Description } from '@storybook/blocks';
|
|
3
3
|
import { Meta } from '../../../.storybook/Meta';
|
|
4
|
+
import { Header } from '../../../.storybook/Header';
|
|
4
5
|
import { PropsTable } from '../../../.storybook/PropsTable';
|
|
5
6
|
|
|
6
7
|
<Meta of={MiniModalStories} />
|
|
7
8
|
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
9
|
+
<Header
|
|
10
|
+
component="MiniModal"
|
|
11
|
+
guides="https://guides.kontur.ru/components/popup-elements/modal/#Mini-modalka"
|
|
12
|
+
figma="https://www.figma.com/design/87ScqxPzJpF9DcVBNYWOjM/%E2%9A%A1-Kontur-UI?node-id=21689-33399&t=agVpD90pHKOeCgsR-4"
|
|
13
|
+
/>
|
|
13
14
|
|
|
14
15
|
<Description />
|
|
15
16
|
|
|
@@ -1,15 +1,16 @@
|
|
|
1
1
|
import * as ModalStories from './Modal.docs.stories.tsx';
|
|
2
2
|
import { Primary, ArgTypes, Stories, Description } from '@storybook/blocks';
|
|
3
3
|
import { Meta } from '../../../.storybook/Meta';
|
|
4
|
+
import { Header } from '../../../.storybook/Header';
|
|
4
5
|
import { PropsTable } from '../../../.storybook/PropsTable';
|
|
5
6
|
|
|
6
7
|
<Meta of={ModalStories} />
|
|
7
8
|
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
9
|
+
<Header
|
|
10
|
+
component="Modal"
|
|
11
|
+
guides="https://guides.kontur.ru/components/popup-elements/modal/"
|
|
12
|
+
figma="https://www.figma.com/file/87ScqxPzJpF9DcVBNYWOjM/%E2%9A%A1-Kontur-UI-Modern-Layout?node-id=230%3A11142"
|
|
13
|
+
/>
|
|
13
14
|
|
|
14
15
|
<Description />
|
|
15
16
|
|
|
@@ -1,15 +1,16 @@
|
|
|
1
1
|
import * as PagingStories from './Paging.docs.stories.tsx';
|
|
2
2
|
import { Primary, ArgTypes, Stories, Description } from '@storybook/blocks';
|
|
3
3
|
import { Meta } from '../../../.storybook/Meta';
|
|
4
|
+
import { Header } from '../../../.storybook/Header';
|
|
4
5
|
import { PropsTable } from '../../../.storybook/PropsTable';
|
|
5
6
|
|
|
6
7
|
<Meta of={PagingStories} />
|
|
7
8
|
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
9
|
+
<Header
|
|
10
|
+
component="Paging"
|
|
11
|
+
guides="https://guides.kontur.ru/components/navigation/paging/"
|
|
12
|
+
figma="https://www.figma.com/file/87ScqxPzJpF9DcVBNYWOjM/%E2%9A%A1-Kontur-UI-Modern-Layout?node-id=281%3A18146"
|
|
13
|
+
/>
|
|
13
14
|
|
|
14
15
|
<Description />
|
|
15
16
|
|
|
@@ -1,15 +1,16 @@
|
|
|
1
1
|
import * as PasswordInputStories from './PasswordInput.docs.stories.tsx';
|
|
2
2
|
import { Primary, ArgTypes, Stories, Description } from '@storybook/blocks';
|
|
3
3
|
import { Meta } from '../../../.storybook/Meta';
|
|
4
|
+
import { Header } from '../../../.storybook/Header';
|
|
4
5
|
import { PropsTable } from '../../../.storybook/PropsTable';
|
|
5
6
|
|
|
6
7
|
<Meta of={PasswordInputStories} />
|
|
7
8
|
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
9
|
+
<Header
|
|
10
|
+
component="PasswordInput"
|
|
11
|
+
guides="https://guides.kontur.ru/components/input-fields/password/"
|
|
12
|
+
figma="https://www.figma.com/file/87ScqxPzJpF9DcVBNYWOjM/%E2%9A%A1-Kontur-UI-Modern-Layout?node-id=203%3A1602"
|
|
13
|
+
/>
|
|
13
14
|
|
|
14
15
|
<Description />
|
|
15
16
|
|
|
@@ -1,15 +1,16 @@
|
|
|
1
1
|
import * as RadioStories from './Radio.docs.stories.tsx';
|
|
2
2
|
import { Primary, ArgTypes, Stories, Description } from '@storybook/blocks';
|
|
3
3
|
import { Meta } from '../../../.storybook/Meta';
|
|
4
|
+
import { Header } from '../../../.storybook/Header';
|
|
4
5
|
import { PropsTable } from '../../../.storybook/PropsTable';
|
|
5
6
|
|
|
6
7
|
<Meta of={RadioStories} />
|
|
7
8
|
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
9
|
+
<Header
|
|
10
|
+
component="Radio"
|
|
11
|
+
guides="https://guides.kontur.ru/components/selection-elements/radio/"
|
|
12
|
+
figma="https://www.figma.com/file/87ScqxPzJpF9DcVBNYWOjM/%E2%9A%A1-Kontur-UI-Modern-Layout?node-id=203%3A2669"
|
|
13
|
+
/>
|
|
13
14
|
|
|
14
15
|
<Description />
|
|
15
16
|
|
|
@@ -1,15 +1,16 @@
|
|
|
1
1
|
import * as RadioGroupStories from './RadioGroup.docs.stories.tsx';
|
|
2
2
|
import { Primary, ArgTypes, Stories, Description } from '@storybook/blocks';
|
|
3
3
|
import { Meta } from '../../../.storybook/Meta';
|
|
4
|
+
import { Header } from '../../../.storybook/Header';
|
|
4
5
|
import { PropsTable } from '../../../.storybook/PropsTable';
|
|
5
6
|
|
|
6
7
|
<Meta of={RadioGroupStories} />
|
|
7
8
|
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
9
|
+
<Header
|
|
10
|
+
component="RadioGroup"
|
|
11
|
+
guides="https://guides.kontur.ru/components/selection-elements/radio/"
|
|
12
|
+
figma="https://www.figma.com/file/87ScqxPzJpF9DcVBNYWOjM/%E2%9A%A1-Kontur-UI-Modern-Layout?node-id=203%3A2669"
|
|
13
|
+
/>
|
|
13
14
|
|
|
14
15
|
<Description />
|
|
15
16
|
|
|
@@ -1,11 +1,12 @@
|
|
|
1
1
|
import * as ResponsiveLayoutStories from './ResponsiveLayout.docs.stories.tsx';
|
|
2
2
|
import { ArgTypes, Description } from '@storybook/blocks';
|
|
3
3
|
import { Meta } from '../../../.storybook/Meta';
|
|
4
|
+
import { Header } from '../../../.storybook/Header';
|
|
4
5
|
import { PropsTable } from '../../../.storybook/PropsTable';
|
|
5
6
|
|
|
6
7
|
<Meta of={ResponsiveLayoutStories} />
|
|
7
8
|
|
|
8
|
-
|
|
9
|
+
<Header component="ResponsiveLayout" />
|
|
9
10
|
|
|
10
11
|
<Description />
|
|
11
12
|
|
|
@@ -1,11 +1,12 @@
|
|
|
1
1
|
import * as ScrollContainerStories from './ScrollContainer.docs.stories.tsx';
|
|
2
2
|
import { Primary, ArgTypes, Stories, Description } from '@storybook/blocks';
|
|
3
3
|
import { Meta } from '../../../.storybook/Meta';
|
|
4
|
+
import { Header } from '../../../.storybook/Header';
|
|
4
5
|
import { PropsTable } from '../../../.storybook/PropsTable';
|
|
5
6
|
|
|
6
7
|
<Meta of={ScrollContainerStories} />
|
|
7
8
|
|
|
8
|
-
|
|
9
|
+
<Header component="ScrollContainer" />
|
|
9
10
|
|
|
10
11
|
<Description />
|
|
11
12
|
|
|
@@ -1,15 +1,16 @@
|
|
|
1
1
|
import * as SelectStories from './Select.docs.stories.tsx';
|
|
2
2
|
import { Primary, ArgTypes, Stories, Description } from '@storybook/blocks';
|
|
3
3
|
import { Meta } from '../../../.storybook/Meta';
|
|
4
|
+
import { Header } from '../../../.storybook/Header';
|
|
4
5
|
import { PropsTable } from '../../../.storybook/PropsTable';
|
|
5
6
|
|
|
6
7
|
<Meta of={SelectStories} />
|
|
7
8
|
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
9
|
+
<Header
|
|
10
|
+
component="Select"
|
|
11
|
+
guides="https://guides.kontur.ru/components/selection-elements/select/"
|
|
12
|
+
figma="https://www.figma.com/file/87ScqxPzJpF9DcVBNYWOjM/%E2%9A%A1-Kontur-UI-Modern-Layout?node-id=203%3A2514"
|
|
13
|
+
/>
|
|
13
14
|
|
|
14
15
|
<Description />
|
|
15
16
|
|
|
@@ -1,15 +1,16 @@
|
|
|
1
1
|
import * as SidePageStories from './SidePage.docs.stories.tsx';
|
|
2
2
|
import { Primary, ArgTypes, Stories, Description } from '@storybook/blocks';
|
|
3
3
|
import { Meta } from '../../../.storybook/Meta';
|
|
4
|
+
import { Header } from '../../../.storybook/Header';
|
|
4
5
|
import { PropsTable } from '../../../.storybook/PropsTable';
|
|
5
6
|
|
|
6
7
|
<Meta of={SidePageStories} />
|
|
7
8
|
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
9
|
+
<Header
|
|
10
|
+
component="SidePage"
|
|
11
|
+
guides="https://guides.kontur.ru/components/popup-elements/sidepage/"
|
|
12
|
+
figma="https://www.figma.com/file/87ScqxPzJpF9DcVBNYWOjM/%E2%9A%A1-Kontur-UI-Modern-Layout?node-id=230%3A11142"
|
|
13
|
+
/>
|
|
13
14
|
|
|
14
15
|
<Description />
|
|
15
16
|
|
|
@@ -1,15 +1,16 @@
|
|
|
1
1
|
import * as SingleToastStories from './SingleToast.docs.stories.tsx';
|
|
2
2
|
import { Primary, ArgTypes, Stories, Description } from '@storybook/blocks';
|
|
3
3
|
import { Meta } from '../../../.storybook/Meta';
|
|
4
|
+
import { Header } from '../../../.storybook/Header';
|
|
4
5
|
import { PropsTable } from '../../../.storybook/PropsTable';
|
|
5
6
|
|
|
6
7
|
<Meta of={SingleToastStories} />
|
|
7
8
|
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
9
|
+
<Header
|
|
10
|
+
component="SingleToast"
|
|
11
|
+
guides="https://guides.kontur.ru/components/popup-elements/toast/"
|
|
12
|
+
figma="https://www.figma.com/file/87ScqxPzJpF9DcVBNYWOjM/%E2%9A%A1-Kontur-UI-Modern-Layout?node-id=230%3A5203"
|
|
13
|
+
/>
|
|
13
14
|
|
|
14
15
|
<Description />
|
|
15
16
|
|
|
@@ -1,15 +1,16 @@
|
|
|
1
1
|
import * as SpinnerStories from './Spinner.docs.stories.tsx';
|
|
2
2
|
import { Primary, ArgTypes, Stories, Description } from '@storybook/blocks';
|
|
3
3
|
import { Meta } from '../../../.storybook/Meta';
|
|
4
|
+
import { Header } from '../../../.storybook/Header';
|
|
4
5
|
import { PropsTable } from '../../../.storybook/PropsTable';
|
|
5
6
|
|
|
6
7
|
<Meta of={SpinnerStories} />
|
|
7
8
|
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
9
|
+
<Header
|
|
10
|
+
component="Spinner"
|
|
11
|
+
guides="https://guides.kontur.ru/components/progress-indicators/spinner/"
|
|
12
|
+
figma="https://www.figma.com/file/87ScqxPzJpF9DcVBNYWOjM/%E2%9A%A1-Kontur-UI-Modern-Layout?node-id=396%3A15631"
|
|
13
|
+
/>
|
|
13
14
|
|
|
14
15
|
<Description />
|
|
15
16
|
|