@itcase/ui 1.8.30 → 1.8.32
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/{Avatar_cjs_33OrnLtt.js → Avatar_cjs_kADy_b4o.js} +1 -1
- package/dist/{Avatar_es_B3LiV8MM.js → Avatar_es_DbGpnL99.js} +1 -1
- package/dist/{Button_cjs_C05Joa8j.js → Button_cjs_CW6ENTbm.js} +1 -1
- package/dist/{Button_es_CO_dwo-N.js → Button_es_DTUagqgU.js} +1 -1
- package/dist/{ChipsGroup_cjs_DN9BoTKe.js → ChipsGroup_cjs_DdWjvr_S.js} +1 -1
- package/dist/{ChipsGroup_es_D9aK8Roh.js → ChipsGroup_es_CXS0aeon.js} +1 -1
- package/dist/{DatePicker_cjs_B_OWDm9X.js → DatePicker_cjs_BYh1Dsto.js} +9 -9
- package/dist/{DatePicker_es_BCbmUdl0.js → DatePicker_es_DEAcYDTL.js} +10 -10
- package/dist/{DropdownItem_cjs_DPoFy70W.js → DropdownItem_cjs_D-zoX7Ik.js} +1 -1
- package/dist/{DropdownItem_es_CVztMEm0.js → DropdownItem_es_BMnIhUSe.js} +1 -1
- package/dist/{Label_cjs_BefEcq6i.js → Label_cjs_CZMMdwt5.js} +63 -63
- package/dist/{Label_es_Dl_DrMOh.js → Label_es_DmDqs4Rc.js} +63 -63
- package/dist/{Tooltip_cjs_pBGCcXLZ.js → Tooltip_cjs_DinScDnC.js} +38 -7
- package/dist/{Tooltip_es_frBCZDrO.js → Tooltip_es_B0nm9irO.js} +38 -7
- package/dist/cjs/components/Accordion.js +8 -8
- package/dist/cjs/components/Avatar.js +2 -2
- package/dist/cjs/components/AvatarStack.js +2 -2
- package/dist/cjs/components/Badge.js +1 -1
- package/dist/cjs/components/Breadcrumbs/stories/__mock__.js +15 -7
- package/dist/cjs/components/Breadcrumbs.js +1 -1
- package/dist/cjs/components/Button.js +2 -2
- package/dist/cjs/components/Cell/stories/__mock__.js +4 -4
- package/dist/cjs/components/Cell.js +2 -2
- package/dist/cjs/components/Chips.js +2 -2
- package/dist/cjs/components/Choice/stories/__mock__.js +71 -0
- package/dist/cjs/components/Choice.js +75 -28
- package/dist/cjs/components/Code.js +15 -16
- package/dist/cjs/components/CookiesWarning.js +2 -2
- package/dist/cjs/components/{DadataHintField.js → Dadata.js} +2 -2
- package/dist/cjs/components/DatePeriod.js +5 -5
- package/dist/cjs/components/DatePicker.js +4 -4
- package/dist/cjs/components/Drawer.js +7 -7
- package/dist/cjs/components/Dropdown/stories/__mock__.js +19 -4
- package/dist/cjs/components/Dropdown.js +2 -2
- package/dist/cjs/components/HeroTitle.js +1 -1
- package/dist/cjs/components/Icon.js +1 -1
- package/dist/cjs/components/InputPassword.js +1 -1
- package/dist/cjs/components/Label.js +2 -2
- package/dist/cjs/components/MenuItem.js +38 -68
- package/dist/cjs/components/Modal.js +1 -1
- package/dist/cjs/components/Notification.js +5 -5
- package/dist/cjs/components/Pagination.js +5 -5
- package/dist/cjs/components/Response.js +2 -2
- package/dist/cjs/components/ScrollOnDrag/stories/__mock__.js +15 -0
- package/dist/cjs/components/Scrollbar/stories/__mock__.js +7 -0
- package/dist/cjs/components/Search.js +16 -16
- package/dist/cjs/components/Segmented.js +21 -44
- package/dist/cjs/components/Select.js +1 -1
- package/dist/cjs/components/Swiper/stories/__mock__.js +16 -0
- package/dist/cjs/components/Swiper.js +1 -1
- package/dist/cjs/components/Tab/stories/__mock__.js +1 -1
- package/dist/cjs/components/Tab.js +1 -1
- package/dist/cjs/components/Tile.js +1 -1
- package/dist/cjs/components/Title.js +1 -1
- package/dist/cjs/components/Tooltip.js +1 -1
- package/dist/components/Accordion.js +9 -9
- package/dist/components/Avatar.js +2 -2
- package/dist/components/AvatarStack.js +2 -2
- package/dist/components/Badge.js +1 -1
- package/dist/components/Breadcrumbs/stories/__mock__.js +15 -7
- package/dist/components/Breadcrumbs.js +1 -1
- package/dist/components/Button.js +2 -2
- package/dist/components/Cell/stories/__mock__.js +4 -4
- package/dist/components/Cell.js +2 -2
- package/dist/components/Chips.js +2 -2
- package/dist/components/Choice/stories/__mock__.js +68 -0
- package/dist/components/Choice.js +75 -28
- package/dist/components/Code.js +15 -16
- package/dist/components/CookiesWarning.js +2 -2
- package/dist/components/{DadataHintField.js → Dadata.js} +2 -2
- package/dist/components/DatePeriod.js +5 -5
- package/dist/components/DatePicker.js +4 -4
- package/dist/components/Drawer.js +8 -8
- package/dist/components/Dropdown/stories/__mock__.js +20 -5
- package/dist/components/Dropdown.js +2 -2
- package/dist/components/HeroTitle.js +1 -1
- package/dist/components/Icon.js +1 -1
- package/dist/components/InputPassword.js +1 -1
- package/dist/components/Label.js +2 -2
- package/dist/components/MenuItem.js +38 -68
- package/dist/components/Modal.js +1 -1
- package/dist/components/Notification.js +6 -6
- package/dist/components/Pagination.js +6 -6
- package/dist/components/Response.js +2 -2
- package/dist/components/ScrollOnDrag/stories/__mock__.js +13 -0
- package/dist/components/Scrollbar/stories/__mock__.js +5 -0
- package/dist/components/Search.js +17 -17
- package/dist/components/Segmented.js +21 -44
- package/dist/components/Select.js +1 -1
- package/dist/components/Swiper/stories/__mock__.js +14 -0
- package/dist/components/Swiper.js +1 -1
- package/dist/components/Tab/stories/__mock__.js +2 -2
- package/dist/components/Tab.js +1 -1
- package/dist/components/Tile.js +1 -1
- package/dist/components/Title.js +1 -1
- package/dist/components/Tooltip.js +1 -1
- package/dist/css/components/Choice/Choice.css +41 -38
- package/dist/css/components/Choice/css/__item/choice__item.css +0 -9
- package/dist/css/components/Choice/css/__item/choice__item_size.css +4 -1
- package/dist/css/components/Code/Code.css +5 -7
- package/dist/css/components/{DadataHintField/DadataHintField.css → Dadata/Dadata.css} +9 -9
- package/dist/css/components/HTMLContent/HTMLContent.css +85 -18
- package/dist/css/components/MenuItem/MenuItem.css +45 -8
- package/dist/stories/ChoiceOverview.mdx +2 -2
- package/dist/stories/ChoicePlayground.mdx +3 -3
- package/dist/stories/CookiesWarningOverview.mdx +1 -1
- package/dist/stories/CookiesWarningPlayground.mdx +1 -1
- package/dist/stories/DadataOverview.mdx +11 -0
- package/dist/stories/DadataPlaygroynd.mdx +11 -0
- package/dist/stories/HTMLContentOverview.mdx +1 -1
- package/dist/stories/HTMLContentPlayground.mdx +1 -1
- package/dist/stories/HeroTitleOverview.mdx +1 -1
- package/dist/stories/HeroTitlePlayground.mdx +1 -1
- package/dist/stories/LinkOverview.mdx +1 -1
- package/dist/stories/LinkPlayground.mdx +1 -1
- package/dist/stories/RangeSliderOverview.mdx +15 -0
- package/dist/stories/RangeSliderPlayground.mdx +10 -0
- package/dist/stories/SVGContentOverview.mdx +1 -1
- package/dist/stories/SVGContentPlayground.mdx +1 -1
- package/dist/stories/ScrollOnDragOverview.mdx +12 -0
- package/dist/stories/ScrollOnDragPlayground.mdx +10 -0
- package/dist/stories/ScrollbarOverview.mdx +15 -0
- package/dist/stories/ScrollbarPlayground.mdx +10 -0
- package/dist/stories/SwiperOverview.mdx +2 -2
- package/dist/stories/SwiperPlayground.mdx +2 -2
- package/dist/stories/TextOverview.mdx +1 -1
- package/dist/stories/TextPlayground.mdx +1 -1
- package/dist/stories/TitleOverview.mdx +1 -1
- package/dist/stories/TitlePlayground.mdx +1 -1
- package/dist/types/components/Accordion/appearance/accordionSize.d.ts +7 -7
- package/dist/types/components/Breadcrumbs/stories/__mock__/index.d.ts +0 -1
- package/dist/types/components/Cell/stories/__mock__/index.d.ts +0 -2
- package/dist/types/components/Choice/Choice.interface.d.ts +1 -0
- package/dist/types/components/Choice/appearance/choiceDefault.d.ts +10 -0
- package/dist/types/components/Choice/appearance/choiceDisabled.d.ts +10 -0
- package/dist/types/components/Choice/appearance/choiceError.d.ts +17 -0
- package/dist/types/components/Choice/appearance/choiceRequire.d.ts +11 -0
- package/dist/types/components/Choice/appearance/choiceStyle.d.ts +6 -4
- package/dist/types/components/Choice/appearance/choiceSuccess.d.ts +11 -0
- package/dist/types/components/Choice/stories/__mock__/index.d.ts +21 -0
- package/dist/types/components/Code/appearance/codeDefault.d.ts +6 -8
- package/dist/types/components/Code/appearance/codeError.d.ts +1 -0
- package/dist/types/components/Code/appearance/codeSize.d.ts +2 -2
- package/dist/types/components/Dadata/Dadata.d.ts +3 -0
- package/dist/types/components/{DadataHintField/DadataHintField.interface.d.ts → Dadata/Dadata.interface.d.ts} +1 -1
- package/dist/types/components/Dadata/index.d.ts +1 -0
- package/dist/types/components/DatePicker/DatePicker.appearance.d.ts +6 -6
- package/dist/types/components/DatePicker/appearance/datePickerSize.d.ts +6 -6
- package/dist/types/components/Drawer/appearance/drawerSurface.d.ts +6 -6
- package/dist/types/components/Icon/appearance/iconDanger.d.ts +6 -0
- package/dist/types/components/Icon/appearance/iconError.d.ts +6 -0
- package/dist/types/components/Icon/appearance/iconPrimary.d.ts +5 -0
- package/dist/types/components/Icon/appearance/iconSecondary.d.ts +5 -0
- package/dist/types/components/Icon/appearance/iconStyle.d.ts +6 -5
- package/dist/types/components/Icon/appearance/iconWarning.d.ts +6 -0
- package/dist/types/components/Label/appearance/labelAccent.d.ts +1 -1
- package/dist/types/components/Label/appearance/labelDanger.d.ts +1 -1
- package/dist/types/components/Label/appearance/labelError.d.ts +7 -7
- package/dist/types/components/Label/appearance/labelPrimary.d.ts +1 -1
- package/dist/types/components/Label/appearance/labelSecondary.d.ts +1 -1
- package/dist/types/components/Label/appearance/labelSuccess.d.ts +1 -1
- package/dist/types/components/Label/appearance/labelSurface.d.ts +8 -8
- package/dist/types/components/Label/appearance/labelWarning.d.ts +1 -1
- package/dist/types/components/MenuItem/MenuItem.interface.d.ts +1 -0
- package/dist/types/components/MenuItem/appearance/menuItemAccent.d.ts +5 -8
- package/dist/types/components/MenuItem/appearance/menuItemError.d.ts +3 -3
- package/dist/types/components/MenuItem/appearance/menuItemSize.d.ts +0 -15
- package/dist/types/components/MenuItem/appearance/menuItemStyle.d.ts +1 -3
- package/dist/types/components/MenuItem/appearance/menuItemSurface.d.ts +3 -5
- package/dist/types/components/Notification/appearance/notificationDefault.d.ts +1 -1
- package/dist/types/components/Notification/appearance/notificationError.d.ts +1 -1
- package/dist/types/components/Notification/appearance/notificationSuccess.d.ts +1 -1
- package/dist/types/components/Notification/appearance/notificationWarning.d.ts +1 -1
- package/dist/types/components/Pagination/appearance/paginationSurface.d.ts +1 -1
- package/dist/types/components/ScrollOnDrag/stories/__mock__/index.d.ts +2 -0
- package/dist/types/components/Scrollbar/stories/__mock__/index.d.ts +2 -0
- package/dist/types/components/Search/appearance/searchSize.d.ts +12 -12
- package/dist/types/components/Segmented/appearance/{segmentedSurface.d.ts → segmentedDefault.d.ts} +4 -4
- package/dist/types/components/Select/SelectLoadingIndicator.d.ts +1 -2
- package/dist/types/components/Swiper/stories/__mock__/index.d.ts +2 -0
- package/dist/types/components/Tab/stories/__mock__/index.d.ts +1 -1
- package/dist/types/hooks/useDeviceTargetClass.d.ts +5 -0
- package/package.json +12 -12
- package/dist/stories/Colors.mdx +0 -239
- package/dist/stories/DadataHintFieldOverview.mdx +0 -11
- package/dist/stories/DadataHintFieldPlaygroynd.mdx +0 -11
- package/dist/stories/Elevation.mdx +0 -80
- package/dist/stories/Settings.mdx +0 -3
- package/dist/stories/TypographyAM.mdx +0 -82
- package/dist/stories/TypographyBaikal.mdx +0 -82
- package/dist/types/components/Choice/appearance/choiceAccent.d.ts +0 -10
- package/dist/types/components/DadataHintField/DadataHintField.d.ts +0 -3
- package/dist/types/components/DadataHintField/index.d.ts +0 -1
- package/dist/types/components/Label/appearance/labelGradient.d.ts +0 -9
- package/dist/types/components/MenuItem/appearance/menuItemPrimary.d.ts +0 -8
- package/dist/types/components/Pagination/appearance/paginationAccent.d.ts +0 -21
- package/dist/types/components/Pagination/appearance/paginationDanger.d.ts +0 -7
- package/dist/types/components/Pagination/appearance/paginationError.d.ts +0 -11
- package/dist/types/components/Pagination/appearance/paginationInfo.d.ts +0 -21
- package/dist/types/components/Pagination/appearance/paginationPrimary.d.ts +0 -8
- package/dist/types/components/Pagination/appearance/paginationSecondary.d.ts +0 -8
- package/dist/types/components/Pagination/appearance/paginationSize.d.ts +0 -48
- package/dist/types/components/Pagination/appearance/paginationStyle.d.ts +0 -16
- package/dist/types/components/Pagination/appearance/paginationSuccess.d.ts +0 -11
- package/dist/types/components/Pagination/appearance/paginationWarning.d.ts +0 -11
- package/dist/types/components/Segmented/appearance/segmentedAccent.d.ts +0 -19
- package/dist/types/components/Segmented/appearance/segmentedFalse.d.ts +0 -4
- package/dist/types/config/forms/datepicker.d.ts +0 -18
- package/dist/types/config/forms/index.d.ts +0 -3
- package/dist/types/config/forms/input.d.ts +0 -14
|
@@ -2,7 +2,7 @@ import { Canvas, Controls, Meta } from '@storybook/blocks'
|
|
|
2
2
|
|
|
3
3
|
import * as CookiesWarningStories from '../stories/CoockiesWarning.stories'
|
|
4
4
|
|
|
5
|
-
<Meta title="
|
|
5
|
+
<Meta title="Molecules / CookiesWarning / Playground" />
|
|
6
6
|
|
|
7
7
|
# Playground
|
|
8
8
|
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { Meta, Story } from '@storybook/blocks'
|
|
2
|
+
|
|
3
|
+
import * as DadataStories from '../stories/Dadata.stories'
|
|
4
|
+
|
|
5
|
+
<Meta title="Molecules / Dadata / Overview" />
|
|
6
|
+
|
|
7
|
+
# Dadata
|
|
8
|
+
|
|
9
|
+
`Dadata` - это текстовое поле для организаций(ru), которое выдает подсказки в выпадающем списке
|
|
10
|
+
|
|
11
|
+
<Story of={DadataStories.Demo} />
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { Canvas, Controls, Meta } from '@storybook/blocks'
|
|
2
|
+
|
|
3
|
+
import * as DadataStories from '../stories/Dadata.stories'
|
|
4
|
+
|
|
5
|
+
<Meta title="Molecules / Dadata / Playground" />
|
|
6
|
+
|
|
7
|
+
# Playground
|
|
8
|
+
|
|
9
|
+
<Canvas sourceState="shown" of={DadataStories.Demo} />
|
|
10
|
+
<Controls of={DadataStories.Demo} />
|
|
11
|
+
|
|
@@ -2,7 +2,7 @@ import { Meta, Story } from '@storybook/blocks'
|
|
|
2
2
|
|
|
3
3
|
import * as LinkStories from '../stories/LinkDemo.stories'
|
|
4
4
|
|
|
5
|
-
<Meta title="
|
|
5
|
+
<Meta title="Atoms / Link" />
|
|
6
6
|
|
|
7
7
|
# Link
|
|
8
8
|
`Link` - это элемент, который позволяет пользователю перейти на другую страницу или ресурс
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { Meta, Story } from '@storybook/blocks'
|
|
2
|
+
|
|
3
|
+
import * as RangeSliderStories from '../stories/RangeSliderDemo.stories'
|
|
4
|
+
|
|
5
|
+
<Meta title="Molecules / RangeSlider / Overview" />
|
|
6
|
+
|
|
7
|
+
# RangeSlider
|
|
8
|
+
|
|
9
|
+
`RangeSlider` - это слайдер для выбора значений в заданном диапазоне
|
|
10
|
+
|
|
11
|
+
## Demo
|
|
12
|
+
<Story of={RangeSliderStories.Demo}/>
|
|
13
|
+
|
|
14
|
+
## Disabled
|
|
15
|
+
<Story of={RangeSliderStories.Disabled}/>
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { Canvas, Controls, Meta } from '@storybook/blocks'
|
|
2
|
+
|
|
3
|
+
import * as RangeSliderStories from '../stories/RangeSliderDemo.stories'
|
|
4
|
+
|
|
5
|
+
<Meta title="Molecules / RangeSlider / Playground" />
|
|
6
|
+
|
|
7
|
+
# Playground
|
|
8
|
+
|
|
9
|
+
<Canvas sourceState="shown" of={RangeSliderStories.Demo} />
|
|
10
|
+
<Controls of={RangeSliderStories.Demo} />
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { Meta, Story } from '@storybook/blocks'
|
|
2
|
+
|
|
3
|
+
import * as ScrollOnDragStories from '../stories/ScrollOnDrag.stories'
|
|
4
|
+
|
|
5
|
+
<Meta title="Molecules / ScrollOnDrag / Overview" />
|
|
6
|
+
|
|
7
|
+
# ScrollOnDrag
|
|
8
|
+
|
|
9
|
+
`ScrollOnDrag` - компонент для отображения прокручиваемой области с эффектом `drag`
|
|
10
|
+
|
|
11
|
+
## Demo
|
|
12
|
+
<Story of={ScrollOnDragStories.Demo}/>
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { Canvas, Controls, Meta } from '@storybook/blocks'
|
|
2
|
+
|
|
3
|
+
import * as ScrollOnDragStories from '../stories/ScrollOnDrag.stories'
|
|
4
|
+
|
|
5
|
+
<Meta title="Molecules / ScrollOnDrag / Playground" />
|
|
6
|
+
|
|
7
|
+
# Playground
|
|
8
|
+
|
|
9
|
+
<Canvas sourceState="shown" of={ScrollOnDragStories.Demo} />
|
|
10
|
+
<Controls of={ScrollOnDragStories.Demo} />
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { Meta, Story } from '@storybook/blocks'
|
|
2
|
+
|
|
3
|
+
import * as ScrollbarStories from '../stories/Scrollbar.stories'
|
|
4
|
+
|
|
5
|
+
<Meta title="Molecules / Scrollbar / Overview" />
|
|
6
|
+
|
|
7
|
+
# Scrollbar
|
|
8
|
+
`Scrollbar` - компонент для отображения прокручиваемой области.
|
|
9
|
+
<Story of={ScrollbarStories.Demo} />
|
|
10
|
+
|
|
11
|
+
## No Default Styles
|
|
12
|
+
<Story of={ScrollbarStories.NoDefaultStyles} />
|
|
13
|
+
|
|
14
|
+
## Height
|
|
15
|
+
<Story of={ScrollbarStories.Height} />
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { Canvas, Controls, Meta } from '@storybook/blocks'
|
|
2
|
+
|
|
3
|
+
import * as ScrollbarStories from '../stories/Scrollbar.stories'
|
|
4
|
+
|
|
5
|
+
<Meta title="Molecules / Scrollbar / Playground" />
|
|
6
|
+
|
|
7
|
+
# Playground
|
|
8
|
+
|
|
9
|
+
<Canvas sourceState="shown" of={ScrollbarStories.Demo} />
|
|
10
|
+
<Controls of={ScrollbarStories.Demo} />
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { Meta, Story } from '@storybook/blocks'
|
|
2
2
|
|
|
3
|
-
import * as SwiperStories from '../stories/
|
|
3
|
+
import * as SwiperStories from '../stories/SwiperDemo.stories'
|
|
4
4
|
|
|
5
|
-
<Meta title="
|
|
5
|
+
<Meta title="Molecules / Swiper / Overview" />
|
|
6
6
|
|
|
7
7
|
# Swiper
|
|
8
8
|
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { Canvas, Controls, Meta } from '@storybook/blocks'
|
|
2
2
|
|
|
3
|
-
import * as SwiperStories from '../stories/
|
|
3
|
+
import * as SwiperStories from '../stories/SwiperDemo.stories'
|
|
4
4
|
|
|
5
|
-
<Meta title="
|
|
5
|
+
<Meta title="Molecules / Swiper / Playground" />
|
|
6
6
|
|
|
7
7
|
# Playground
|
|
8
8
|
|
|
@@ -4,48 +4,48 @@ declare const accordionAppearanceSize: {
|
|
|
4
4
|
titleTextSize: string;
|
|
5
5
|
badgeAppearanceSize: string;
|
|
6
6
|
contentTextSize: string;
|
|
7
|
-
icon:
|
|
7
|
+
icon: any;
|
|
8
8
|
};
|
|
9
9
|
sizeXL: {
|
|
10
10
|
size: string;
|
|
11
11
|
titleTextSize: string;
|
|
12
12
|
badgeAppearanceSize: string;
|
|
13
13
|
contentTextSize: string;
|
|
14
|
-
icon:
|
|
14
|
+
icon: any;
|
|
15
15
|
};
|
|
16
16
|
sizeL: {
|
|
17
17
|
size: string;
|
|
18
18
|
titleTextSize: string;
|
|
19
19
|
badgeAppearanceSize: string;
|
|
20
|
-
icon:
|
|
20
|
+
icon: any;
|
|
21
21
|
};
|
|
22
22
|
sizeM: {
|
|
23
23
|
size: string;
|
|
24
24
|
titleTextSize: string;
|
|
25
25
|
badgeAppearanceSize: string;
|
|
26
26
|
contentTextSize: string;
|
|
27
|
-
icon:
|
|
27
|
+
icon: any;
|
|
28
28
|
};
|
|
29
29
|
sizeS: {
|
|
30
30
|
size: string;
|
|
31
31
|
titleTextSize: string;
|
|
32
32
|
badgeAppearanceSize: string;
|
|
33
33
|
contentTextSize: string;
|
|
34
|
-
icon:
|
|
34
|
+
icon: any;
|
|
35
35
|
};
|
|
36
36
|
sizeXS: {
|
|
37
37
|
size: string;
|
|
38
38
|
titleTextSize: string;
|
|
39
39
|
badgeAppearanceSize: string;
|
|
40
40
|
contentTextSize: string;
|
|
41
|
-
icon:
|
|
41
|
+
icon: any;
|
|
42
42
|
};
|
|
43
43
|
sizeXXS: {
|
|
44
44
|
size: string;
|
|
45
45
|
titleTextSize: string;
|
|
46
46
|
badgeAppearanceSize: string;
|
|
47
47
|
contentTextSize: string;
|
|
48
|
-
icon:
|
|
48
|
+
icon: any;
|
|
49
49
|
};
|
|
50
50
|
};
|
|
51
51
|
export { accordionAppearanceSize };
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
declare const choiceAppearanceError: {
|
|
2
|
+
errorPrimary: {
|
|
3
|
+
fill: string;
|
|
4
|
+
fillItem: string;
|
|
5
|
+
fillItemActive: string;
|
|
6
|
+
fillItemHover: string;
|
|
7
|
+
labelTextColor: string;
|
|
8
|
+
borderColor: string;
|
|
9
|
+
iconAfterFill: string;
|
|
10
|
+
iconAfterFillActive: string;
|
|
11
|
+
iconBeforeFill: string;
|
|
12
|
+
iconBeforeFillActive: string;
|
|
13
|
+
iconFill: string;
|
|
14
|
+
iconFillActive: string;
|
|
15
|
+
};
|
|
16
|
+
};
|
|
17
|
+
export { choiceAppearanceError };
|
|
@@ -1,13 +1,15 @@
|
|
|
1
1
|
declare const choiceAppearanceStyle: {
|
|
2
|
-
|
|
2
|
+
full: {
|
|
3
3
|
borderColor: string;
|
|
4
4
|
};
|
|
5
|
-
|
|
5
|
+
ghost: {
|
|
6
6
|
fill: string;
|
|
7
|
+
borderColor: string;
|
|
7
8
|
};
|
|
8
|
-
|
|
9
|
-
ghost: {
|
|
9
|
+
outlined: {
|
|
10
10
|
fill: string;
|
|
11
|
+
};
|
|
12
|
+
solid: {
|
|
11
13
|
borderColor: string;
|
|
12
14
|
};
|
|
13
15
|
};
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
declare const choiceListMock: {
|
|
2
|
+
active: {
|
|
3
|
+
value: number;
|
|
4
|
+
};
|
|
5
|
+
choices: {
|
|
6
|
+
label: string;
|
|
7
|
+
iconAfter: any;
|
|
8
|
+
iconBefore: any;
|
|
9
|
+
value: number;
|
|
10
|
+
}[];
|
|
11
|
+
};
|
|
12
|
+
declare const choiceListIconMock: {
|
|
13
|
+
active: {
|
|
14
|
+
value: number;
|
|
15
|
+
};
|
|
16
|
+
choices: {
|
|
17
|
+
icon: any;
|
|
18
|
+
value: number;
|
|
19
|
+
}[];
|
|
20
|
+
};
|
|
21
|
+
export { choiceListMock, choiceListIconMock };
|
|
@@ -1,13 +1,11 @@
|
|
|
1
1
|
declare const codeAppearanceDefault: {
|
|
2
2
|
defaultPrimary: {
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
borderColor: string;
|
|
10
|
-
borderHover: string;
|
|
3
|
+
inputBorderColor: string;
|
|
4
|
+
inputCaretColor: string;
|
|
5
|
+
inputFill: string;
|
|
6
|
+
inputFillHover: string;
|
|
7
|
+
inputPlaceholderTextColor: string;
|
|
8
|
+
inputTextColor: string;
|
|
11
9
|
};
|
|
12
10
|
};
|
|
13
11
|
export { codeAppearanceDefault };
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
declare const codeAppearanceSize: {
|
|
2
2
|
sizeL: {
|
|
3
3
|
size: string;
|
|
4
|
-
labelTextSize: string;
|
|
5
4
|
inputSize: string;
|
|
5
|
+
inputTextSize: string;
|
|
6
6
|
};
|
|
7
7
|
sizeM: {
|
|
8
8
|
size: string;
|
|
9
|
-
labelTextSize: string;
|
|
10
9
|
inputSize: string;
|
|
10
|
+
inputTextSize: string;
|
|
11
11
|
};
|
|
12
12
|
};
|
|
13
13
|
export { codeAppearanceSize };
|
|
@@ -2,7 +2,7 @@ import { HTMLProps } from 'react';
|
|
|
2
2
|
import { DaDataSuggestion } from 'react-dadata';
|
|
3
3
|
import { DaDataParty } from 'react-dadata/dist/variants/party_russia/party-russia-types';
|
|
4
4
|
import { StyleAttributes } from 'src/hooks/useStyles/styleAttributes.interface';
|
|
5
|
-
export interface
|
|
5
|
+
export interface DadataProps extends StyleAttributes {
|
|
6
6
|
delay?: number;
|
|
7
7
|
input?: any;
|
|
8
8
|
inputProps?: HTMLProps<HTMLInputElement>;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { Dadata } from './Dadata';
|
|
@@ -21,16 +21,16 @@ export declare const datePickerAppearance: {
|
|
|
21
21
|
daySize: string;
|
|
22
22
|
dayTextSize: string;
|
|
23
23
|
iconFillSize: number;
|
|
24
|
-
iconLeft:
|
|
25
|
-
iconRight:
|
|
24
|
+
iconLeft: any;
|
|
25
|
+
iconRight: any;
|
|
26
26
|
};
|
|
27
27
|
sizeM: {
|
|
28
28
|
size: string;
|
|
29
29
|
daySize: string;
|
|
30
30
|
dayTextSize: string;
|
|
31
31
|
iconFillSize: number;
|
|
32
|
-
iconLeft:
|
|
33
|
-
iconRight:
|
|
32
|
+
iconLeft: any;
|
|
33
|
+
iconRight: any;
|
|
34
34
|
iconSize: number;
|
|
35
35
|
monthTextSize: string;
|
|
36
36
|
yearTextSize: string;
|
|
@@ -40,8 +40,8 @@ export declare const datePickerAppearance: {
|
|
|
40
40
|
daySize: string;
|
|
41
41
|
dayTextSize: string;
|
|
42
42
|
iconFillSize: number;
|
|
43
|
-
iconLeft:
|
|
44
|
-
iconRight:
|
|
43
|
+
iconLeft: any;
|
|
44
|
+
iconRight: any;
|
|
45
45
|
};
|
|
46
46
|
surfacePrimary: {
|
|
47
47
|
dayTextColor: string;
|
|
@@ -4,16 +4,16 @@ declare const datePickerSize: {
|
|
|
4
4
|
daySize: string;
|
|
5
5
|
dayTextSize: string;
|
|
6
6
|
iconFillSize: number;
|
|
7
|
-
iconLeft:
|
|
8
|
-
iconRight:
|
|
7
|
+
iconLeft: any;
|
|
8
|
+
iconRight: any;
|
|
9
9
|
};
|
|
10
10
|
sizeM: {
|
|
11
11
|
size: string;
|
|
12
12
|
daySize: string;
|
|
13
13
|
dayTextSize: string;
|
|
14
14
|
iconFillSize: number;
|
|
15
|
-
iconLeft:
|
|
16
|
-
iconRight:
|
|
15
|
+
iconLeft: any;
|
|
16
|
+
iconRight: any;
|
|
17
17
|
iconSize: number;
|
|
18
18
|
monthTextSize: string;
|
|
19
19
|
yearTextSize: string;
|
|
@@ -23,8 +23,8 @@ declare const datePickerSize: {
|
|
|
23
23
|
daySize: string;
|
|
24
24
|
dayTextSize: string;
|
|
25
25
|
iconFillSize: number;
|
|
26
|
-
iconLeft:
|
|
27
|
-
iconRight:
|
|
26
|
+
iconLeft: any;
|
|
27
|
+
iconRight: any;
|
|
28
28
|
};
|
|
29
29
|
};
|
|
30
30
|
export { datePickerSize };
|
|
@@ -7,14 +7,9 @@ declare const drawerAppearanceSurface: {
|
|
|
7
7
|
descTextColor: string;
|
|
8
8
|
descTextSize: string;
|
|
9
9
|
iconSize: number;
|
|
10
|
-
closeIcon:
|
|
10
|
+
closeIcon: any;
|
|
11
11
|
closeIconFillIcon: string;
|
|
12
12
|
};
|
|
13
|
-
surfaceQuaternary: {
|
|
14
|
-
fill: string;
|
|
15
|
-
fillHover: string;
|
|
16
|
-
labelTextColor: string;
|
|
17
|
-
};
|
|
18
13
|
surfaceSecondary: {
|
|
19
14
|
fill: string;
|
|
20
15
|
fillHover: string;
|
|
@@ -27,5 +22,10 @@ declare const drawerAppearanceSurface: {
|
|
|
27
22
|
fillHover: string;
|
|
28
23
|
labelTextColor: string;
|
|
29
24
|
};
|
|
25
|
+
surfaceQuaternary: {
|
|
26
|
+
fill: string;
|
|
27
|
+
fillHover: string;
|
|
28
|
+
labelTextColor: string;
|
|
29
|
+
};
|
|
30
30
|
};
|
|
31
31
|
export { drawerAppearanceSurface };
|
|
@@ -5,5 +5,11 @@ declare const iconAppearanceDanger: {
|
|
|
5
5
|
labelTextColor: string;
|
|
6
6
|
labelTextColorHover: string;
|
|
7
7
|
};
|
|
8
|
+
dangerPrimary: {
|
|
9
|
+
fill: string;
|
|
10
|
+
fillHover: string;
|
|
11
|
+
labelTextColor: string;
|
|
12
|
+
labelTextColorHover: string;
|
|
13
|
+
};
|
|
8
14
|
};
|
|
9
15
|
export { iconAppearanceDanger };
|