@itcase/ui 1.1.15 → 1.1.16
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/{Accordion-DyOfdiGd.js → Accordion-DF2lqrVA.js} +15 -9
- package/dist/{Cell-DftU408q.js → Cell-D9Wa7coO.js} +4 -1
- package/dist/{Checkbox-C-H_Z4S_.js → Checkbox-i0qZk0sb.js} +8 -7
- package/dist/{Chips-BR_EPV82.js → Chips-BdK4kVmq.js} +9 -3
- package/dist/{DadataHintField-QzDwYdF1.js → DadataHintField-CHJLsVjJ.js} +1 -1
- package/dist/{DatePicker-CUmrPZZ-.js → DatePicker-CAgJ_CIz.js} +1 -1
- package/dist/{Input-CYMKQ0qF.js → Input-CYDtAlO-.js} +14 -12
- package/dist/{Logo-D6UNcO5P.js → Logo-D4NFjeqd.js} +2 -2
- package/dist/{ModalLoader-8l8YtIvz.js → ModalLoader-D17lZhS7.js} +8 -1
- package/dist/{Response-DzfL5Sy8.js → Response-m-8zeYeD.js} +2 -2
- package/dist/cjs/{Accordion-UbOVpiO4.js → Accordion-rCFDAon3.js} +15 -9
- package/dist/cjs/{Cell-BhsGTfV-.js → Cell-DEBk3Rbp.js} +4 -1
- package/dist/cjs/{Checkbox-B-1dwjii.js → Checkbox-BIvndDsy.js} +8 -7
- package/dist/cjs/{Chips-BcJttN22.js → Chips-i7zrI9aU.js} +9 -3
- package/dist/cjs/{DadataHintField-DQHPRLs0.js → DadataHintField-z7Mw-xDn.js} +1 -1
- package/dist/cjs/{DatePicker-DOmOhaU3.js → DatePicker-e4-8mC1N.js} +1 -1
- package/dist/cjs/{Input-BqKlyvEt.js → Input-vwyG3XF0.js} +13 -11
- package/dist/cjs/{Logo-De74wmbt.js → Logo-CcEF4P2z.js} +2 -2
- package/dist/cjs/{ModalLoader-A2KkSC3x.js → ModalLoader-Cddzca-W.js} +8 -1
- package/dist/cjs/{Response-DOQQr9jP.js → Response-CwdUpO-8.js} +2 -2
- package/dist/cjs/components/Accordion/Accordion.d.ts +2 -2
- package/dist/cjs/components/Accordion/Accordion.interface.d.ts +52 -52
- package/dist/cjs/components/Accordion/AccordionItem.d.ts +2 -2
- package/dist/cjs/components/Accordion.js +1 -1
- package/dist/cjs/components/Avatar/Avatar.interface.d.ts +12 -12
- package/dist/cjs/components/Badge/Badge.interface.d.ts +13 -13
- package/dist/cjs/components/Breadcrumbs/Breadcrumbs.interface.d.ts +35 -35
- package/dist/cjs/components/Button/Button.interface.d.ts +26 -26
- package/dist/cjs/components/Caption/Caption.interface.d.ts +7 -7
- package/dist/cjs/components/Card/Card.interface.d.ts +13 -13
- package/dist/cjs/components/Cell/Cell.interface.d.ts +27 -27
- package/dist/cjs/components/Cell.js +1 -1
- package/dist/cjs/components/Checkbox/Checkbox.d.ts +3 -3
- package/dist/cjs/components/Checkbox/Checkbox.interface.d.ts +43 -44
- package/dist/cjs/components/Checkbox.js +1 -1
- package/dist/cjs/components/Chips/Chips.interface.d.ts +19 -16
- package/dist/cjs/components/Chips.js +1 -1
- package/dist/cjs/components/Choice/Choice.interface.d.ts +25 -25
- package/dist/cjs/components/Code/Code.interface.d.ts +16 -16
- package/dist/cjs/components/ContextMenu/ContextMenu.interface.d.ts +18 -18
- package/dist/cjs/components/CookiesWarning/CookiesWarning.interface.d.ts +9 -9
- package/dist/cjs/components/DadataHintField/DadataHintField.interface.d.ts +3 -3
- package/dist/cjs/components/DadataHintField.js +2 -2
- package/dist/cjs/components/DatePicker/DatePicker.interface.d.ts +46 -46
- package/dist/cjs/components/DatePicker.js +2 -2
- package/dist/cjs/components/Divider/Divider.interface.d.ts +23 -23
- package/dist/cjs/components/Dot/Dot.interface.d.ts +16 -16
- package/dist/cjs/components/Drawer/Drawer.interface.d.ts +2 -2
- package/dist/cjs/components/Dropdown/Dropdown.interface.d.ts +26 -26
- package/dist/cjs/components/Flex/Flex.interface.d.ts +30 -30
- package/dist/cjs/components/FormField/FormFiled.interface.d.ts +45 -45
- package/dist/cjs/components/Grid/Grid.interface.d.ts +31 -31
- package/dist/cjs/components/Group/Group.interface.d.ts +14 -14
- package/dist/cjs/components/Icon/Icon.interface.d.ts +29 -29
- package/dist/cjs/components/Image/Image.interface.d.ts +8 -8
- package/dist/cjs/components/Input/Input.d.ts +3 -3
- package/dist/cjs/components/Input/Input.interface.d.ts +36 -38
- package/dist/cjs/components/Input.js +1 -1
- package/dist/cjs/components/InputMask/Input.d.ts +3 -3
- package/dist/cjs/components/InputMask/Input.interface.d.ts +32 -32
- package/dist/cjs/components/InputPassword/InputPassword.interface.d.ts +30 -30
- package/dist/cjs/components/Label/Label.interface.d.ts +15 -15
- package/dist/cjs/components/Link/Link.interface.d.ts +21 -21
- package/dist/cjs/components/List/List.interface.d.ts +11 -11
- package/dist/cjs/components/Loader/Loader.interface.d.ts +11 -11
- package/dist/cjs/components/Logo/Logo.interface.d.ts +5 -5
- package/dist/cjs/components/Logo.js +1 -1
- package/dist/cjs/components/Menu/Menu.interface.d.ts +5 -5
- package/dist/cjs/components/MenuItem/MenuItem.interface.d.ts +21 -21
- package/dist/cjs/components/Modal/Modal.interface.d.ts +4 -4
- package/dist/cjs/components/Modal.js +1 -1
- package/dist/cjs/components/Notification/Notification.interface.d.ts +16 -16
- package/dist/cjs/components/Overlay/Overlay.interface.d.ts +4 -4
- package/dist/cjs/components/Pagination/Pagination.interface.d.ts +20 -20
- package/dist/cjs/components/Panel/Panel.interface.d.ts +19 -19
- package/dist/cjs/components/Radio/Radio.interface.d.ts +25 -25
- package/dist/cjs/components/RangeSlider/RangeSlider.interface.d.ts +12 -12
- package/dist/cjs/components/Response/Response.interface.d.ts +30 -28
- package/dist/cjs/components/Response.js +1 -1
- package/dist/cjs/components/ScrollOnDrag/ScrollOnDrag.interface.d.ts +9 -9
- package/dist/cjs/components/Scrollbar/Scrollbar.interface.d.ts +2 -2
- package/dist/cjs/components/Search/Search.interface.d.ts +23 -23
- package/dist/cjs/components/Segmented/Segmented.interface.d.ts +14 -14
- package/dist/cjs/components/SiteMenu/SiteMenu.interface.d.ts +9 -9
- package/dist/cjs/components/Swiper/Swiper.interface.d.ts +7 -7
- package/dist/cjs/components/Switch/Switch.interface.d.ts +2 -2
- package/dist/cjs/components/Tab/Tab.interface.d.ts +29 -29
- package/dist/cjs/components/Text/Text.interface.d.ts +20 -20
- package/dist/cjs/components/Textarea/Textarea.interface.d.ts +17 -17
- package/dist/cjs/components/Tile/Tile.interface.d.ts +15 -15
- package/dist/cjs/components/Title/Title.interface.d.ts +9 -9
- package/dist/cjs/components/Tooltip/Tooltip.interface.d.ts +13 -13
- package/dist/cjs/components/Video/Video.interface.d.ts +2 -2
- package/dist/cjs/components/Wrapper/Wrapper.interface.d.ts +4 -4
- package/dist/cjs/components.js +10 -10
- package/dist/cjs/constants/componentProps/textColor.js +1 -1
- package/dist/cjs/constants/componentProps/textColorActive.js +1 -1
- package/dist/cjs/constants/componentProps/textColorHover.js +1 -1
- package/dist/cjs/hooks/styleAttributes.interface.d.ts +4 -4
- package/dist/cjs/types/componentProps/appearanceKeys.d.ts +1 -1
- package/dist/cjs/types/componentProps/borderColor.d.ts +1 -1
- package/dist/cjs/types/componentProps/borderWidth.d.ts +1 -1
- package/dist/cjs/types/componentProps/direction.d.ts +1 -1
- package/dist/cjs/types/componentProps/fill.d.ts +1 -1
- package/dist/cjs/types/componentProps/fillHover.d.ts +1 -1
- package/dist/cjs/types/componentProps/height.d.ts +1 -1
- package/dist/cjs/types/componentProps/itemColor.d.ts +1 -1
- package/dist/cjs/types/componentProps/shape.d.ts +1 -1
- package/dist/cjs/types/componentProps/size.d.ts +1 -1
- package/dist/cjs/types/componentProps/stateKeys.d.ts +1 -1
- package/dist/cjs/types/componentProps/textColor.d.ts +1 -1
- package/dist/cjs/types/componentProps/textSize.d.ts +1 -1
- package/dist/cjs/types/componentProps/textWeight.d.ts +1 -1
- package/dist/cjs/types/componentProps/width.d.ts +1 -1
- package/dist/cjs/types/index.d.ts +13 -13
- package/dist/components/Accordion/Accordion.d.ts +2 -2
- package/dist/components/Accordion/Accordion.interface.d.ts +52 -52
- package/dist/components/Accordion/AccordionItem.d.ts +2 -2
- package/dist/components/Accordion.js +1 -1
- package/dist/components/Avatar/Avatar.interface.d.ts +12 -12
- package/dist/components/Badge/Badge.interface.d.ts +13 -13
- package/dist/components/Breadcrumbs/Breadcrumbs.interface.d.ts +35 -35
- package/dist/components/Button/Button.interface.d.ts +26 -26
- package/dist/components/Caption/Caption.interface.d.ts +7 -7
- package/dist/components/Card/Card.interface.d.ts +13 -13
- package/dist/components/Cell/Cell.interface.d.ts +27 -27
- package/dist/components/Cell.js +1 -1
- package/dist/components/Checkbox/Checkbox.d.ts +3 -3
- package/dist/components/Checkbox/Checkbox.interface.d.ts +43 -44
- package/dist/components/Checkbox.js +1 -1
- package/dist/components/Chips/Chips.interface.d.ts +19 -16
- package/dist/components/Chips.js +1 -1
- package/dist/components/Choice/Choice.interface.d.ts +25 -25
- package/dist/components/Code/Code.interface.d.ts +16 -16
- package/dist/components/ContextMenu/ContextMenu.interface.d.ts +18 -18
- package/dist/components/CookiesWarning/CookiesWarning.interface.d.ts +9 -9
- package/dist/components/DadataHintField/DadataHintField.interface.d.ts +3 -3
- package/dist/components/DadataHintField.js +2 -2
- package/dist/components/DatePicker/DatePicker.interface.d.ts +46 -46
- package/dist/components/DatePicker.js +2 -2
- package/dist/components/Divider/Divider.interface.d.ts +23 -23
- package/dist/components/Dot/Dot.interface.d.ts +16 -16
- package/dist/components/Drawer/Drawer.interface.d.ts +2 -2
- package/dist/components/Dropdown/Dropdown.interface.d.ts +26 -26
- package/dist/components/Flex/Flex.interface.d.ts +30 -30
- package/dist/components/FormField/FormFiled.interface.d.ts +45 -45
- package/dist/components/Grid/Grid.interface.d.ts +31 -31
- package/dist/components/Group/Group.interface.d.ts +14 -14
- package/dist/components/Icon/Icon.interface.d.ts +29 -29
- package/dist/components/Image/Image.interface.d.ts +8 -8
- package/dist/components/Input/Input.d.ts +3 -3
- package/dist/components/Input/Input.interface.d.ts +36 -38
- package/dist/components/Input.js +1 -1
- package/dist/components/InputMask/Input.d.ts +3 -3
- package/dist/components/InputMask/Input.interface.d.ts +32 -32
- package/dist/components/InputPassword/InputPassword.interface.d.ts +30 -30
- package/dist/components/Label/Label.interface.d.ts +15 -15
- package/dist/components/Link/Link.interface.d.ts +21 -21
- package/dist/components/List/List.interface.d.ts +11 -11
- package/dist/components/Loader/Loader.interface.d.ts +11 -11
- package/dist/components/Logo/Logo.interface.d.ts +5 -5
- package/dist/components/Logo.js +1 -1
- package/dist/components/Menu/Menu.interface.d.ts +5 -5
- package/dist/components/MenuItem/MenuItem.interface.d.ts +21 -21
- package/dist/components/Modal/Modal.interface.d.ts +4 -4
- package/dist/components/Modal.js +1 -1
- package/dist/components/Notification/Notification.interface.d.ts +16 -16
- package/dist/components/Overlay/Overlay.interface.d.ts +4 -4
- package/dist/components/Pagination/Pagination.interface.d.ts +20 -20
- package/dist/components/Panel/Panel.interface.d.ts +19 -19
- package/dist/components/Radio/Radio.interface.d.ts +25 -25
- package/dist/components/RangeSlider/RangeSlider.interface.d.ts +12 -12
- package/dist/components/Response/Response.interface.d.ts +30 -28
- package/dist/components/Response.js +1 -1
- package/dist/components/ScrollOnDrag/ScrollOnDrag.interface.d.ts +9 -9
- package/dist/components/Scrollbar/Scrollbar.interface.d.ts +2 -2
- package/dist/components/Search/Search.interface.d.ts +23 -23
- package/dist/components/Segmented/Segmented.interface.d.ts +14 -14
- package/dist/components/SiteMenu/SiteMenu.interface.d.ts +9 -9
- package/dist/components/Swiper/Swiper.interface.d.ts +7 -7
- package/dist/components/Switch/Switch.interface.d.ts +2 -2
- package/dist/components/Tab/Tab.interface.d.ts +29 -29
- package/dist/components/Text/Text.interface.d.ts +20 -20
- package/dist/components/Textarea/Textarea.interface.d.ts +17 -17
- package/dist/components/Tile/Tile.interface.d.ts +15 -15
- package/dist/components/Title/Title.interface.d.ts +9 -9
- package/dist/components/Tooltip/Tooltip.interface.d.ts +13 -13
- package/dist/components/Video/Video.interface.d.ts +2 -2
- package/dist/components/Wrapper/Wrapper.interface.d.ts +4 -4
- package/dist/components.js +10 -10
- package/dist/constants/componentProps/textColor.js +1 -1
- package/dist/constants/componentProps/textColorActive.js +1 -1
- package/dist/constants/componentProps/textColorHover.js +1 -1
- package/dist/css/components/RangeSlider/RangeSlider.css +4 -1
- package/dist/hooks/styleAttributes.interface.d.ts +4 -4
- package/dist/types/componentProps/appearanceKeys.d.ts +1 -1
- package/dist/types/componentProps/borderColor.d.ts +1 -1
- package/dist/types/componentProps/borderWidth.d.ts +1 -1
- package/dist/types/componentProps/direction.d.ts +1 -1
- package/dist/types/componentProps/fill.d.ts +1 -1
- package/dist/types/componentProps/fillHover.d.ts +1 -1
- package/dist/types/componentProps/height.d.ts +1 -1
- package/dist/types/componentProps/itemColor.d.ts +1 -1
- package/dist/types/componentProps/shape.d.ts +1 -1
- package/dist/types/componentProps/size.d.ts +1 -1
- package/dist/types/componentProps/stateKeys.d.ts +1 -1
- package/dist/types/componentProps/textColor.d.ts +1 -1
- package/dist/types/componentProps/textSize.d.ts +1 -1
- package/dist/types/componentProps/textWeight.d.ts +1 -1
- package/dist/types/componentProps/width.d.ts +1 -1
- package/dist/types/index.d.ts +13 -13
- package/package.json +4 -4
|
@@ -1,25 +1,25 @@
|
|
|
1
1
|
import { CSSProperties, ElementType, ReactNode } from 'react';
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
2
|
+
import { iStyleAttributes } from '../../hooks/styleAttributes.interface';
|
|
3
|
+
import { tFillProps, textAlignPropsType, textColorActivePropsType, textColorHoverPropsType, tTextColorProps, textGradientPropsType, textStylePropsType, tTextWeightProps, textWrapPropsType, titleSizePropsType, svgFillPropsType } from '../../types';
|
|
4
|
+
import { tAppearanceKeysDefault } from '../../types/componentProps/appearanceKeys';
|
|
5
5
|
interface ITitleThemeColor {
|
|
6
|
-
fill?:
|
|
6
|
+
fill?: tFillProps;
|
|
7
7
|
size?: titleSizePropsType;
|
|
8
8
|
sizeDesktop?: titleSizePropsType;
|
|
9
9
|
sizeMobile?: titleSizePropsType;
|
|
10
10
|
sizeTablet?: titleSizePropsType;
|
|
11
|
-
textColor?:
|
|
11
|
+
textColor?: tTextColorProps;
|
|
12
12
|
textColorActive?: textColorActivePropsType;
|
|
13
13
|
textColorHover?: textColorHoverPropsType;
|
|
14
14
|
textGradient?: textGradientPropsType;
|
|
15
15
|
textStyle?: textStylePropsType;
|
|
16
|
-
textWeight?:
|
|
16
|
+
textWeight?: tTextWeightProps;
|
|
17
17
|
textWrap?: textWrapPropsType;
|
|
18
|
-
weight?:
|
|
18
|
+
weight?: tTextWeightProps;
|
|
19
19
|
svgFill?: svgFillPropsType;
|
|
20
20
|
svgFillHover?: svgFillPropsType;
|
|
21
21
|
}
|
|
22
|
-
type appearanceKeysType =
|
|
22
|
+
type appearanceKeysType = tAppearanceKeysDefault & {};
|
|
23
23
|
type appearanceType = {
|
|
24
24
|
[key in appearanceKeysType]: ITitleThemeColor;
|
|
25
25
|
};
|
|
@@ -27,7 +27,7 @@ export interface ITitleConfig {
|
|
|
27
27
|
appearance: appearanceType | undefined;
|
|
28
28
|
setAppearance: (newComponent: appearanceType) => void;
|
|
29
29
|
}
|
|
30
|
-
export interface ITitleProps extends ITitleThemeColor,
|
|
30
|
+
export interface ITitleProps extends ITitleThemeColor, iStyleAttributes {
|
|
31
31
|
appearance?: appearanceKeysType;
|
|
32
32
|
children: ReactNode;
|
|
33
33
|
className?: string;
|
|
@@ -1,24 +1,24 @@
|
|
|
1
1
|
import { CSSProperties, ReactNode } from 'react';
|
|
2
|
-
import {
|
|
3
|
-
import { alignDirectionPropsType, alignmentPropsType, alignPropsType,
|
|
4
|
-
import {
|
|
2
|
+
import { iStyleAttributes } from '../../hooks/styleAttributes.interface';
|
|
3
|
+
import { alignDirectionPropsType, alignmentPropsType, alignPropsType, tBorderColorProps, borderTypePropsType, tBorderWidthProps, elevationPropsType, tFillProps, tShapeProps, tSizeProps, tTextColorProps, tTextSizeProps, titleSizePropsType } from '../../types';
|
|
4
|
+
import { tAppearanceKeysDefault } from '../../types/componentProps/appearanceKeys';
|
|
5
5
|
export interface ITooltipThemeColor {
|
|
6
6
|
align?: alignPropsType;
|
|
7
7
|
alignDirection?: alignDirectionPropsType;
|
|
8
8
|
alignment?: alignmentPropsType;
|
|
9
|
-
borderColor?:
|
|
9
|
+
borderColor?: tBorderColorProps;
|
|
10
10
|
borderType?: borderTypePropsType;
|
|
11
|
-
borderWidth?:
|
|
11
|
+
borderWidth?: tBorderWidthProps;
|
|
12
12
|
elevation?: elevationPropsType;
|
|
13
|
-
fill?:
|
|
14
|
-
shape?:
|
|
15
|
-
size?:
|
|
16
|
-
textColor?:
|
|
17
|
-
textSize?:
|
|
13
|
+
fill?: tFillProps;
|
|
14
|
+
shape?: tShapeProps;
|
|
15
|
+
size?: tSizeProps;
|
|
16
|
+
textColor?: tTextColorProps;
|
|
17
|
+
textSize?: tTextSizeProps;
|
|
18
18
|
titleSize?: titleSizePropsType;
|
|
19
|
-
titleTextColor?:
|
|
19
|
+
titleTextColor?: tTextColorProps;
|
|
20
20
|
}
|
|
21
|
-
type appearanceKeysType =
|
|
21
|
+
type appearanceKeysType = tAppearanceKeysDefault & {};
|
|
22
22
|
export type tooltipAppearanceType = {
|
|
23
23
|
[key in appearanceKeysType]?: ITooltipThemeColor;
|
|
24
24
|
};
|
|
@@ -26,7 +26,7 @@ export interface ITooltipConfig {
|
|
|
26
26
|
appearance: tooltipAppearanceType | undefined;
|
|
27
27
|
setAppearance: (newComponent: tooltipAppearanceType) => void;
|
|
28
28
|
}
|
|
29
|
-
export interface ITooltipProps extends ITooltipThemeColor,
|
|
29
|
+
export interface ITooltipProps extends ITooltipThemeColor, iStyleAttributes {
|
|
30
30
|
after?: ReactNode;
|
|
31
31
|
appearance?: appearanceKeysType;
|
|
32
32
|
arrowPosition?: string;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { CSSProperties, ReactNode } from 'react';
|
|
2
|
-
import {
|
|
3
|
-
export interface IVideoProps extends
|
|
2
|
+
import { iStyleAttributes } from '../../hooks/styleAttributes.interface';
|
|
3
|
+
export interface IVideoProps extends iStyleAttributes {
|
|
4
4
|
children?: ReactNode;
|
|
5
5
|
className?: string;
|
|
6
6
|
codecs: string;
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import { CSSProperties, ElementType, ReactNode } from 'react';
|
|
2
|
-
import {
|
|
3
|
-
import { alignDirectionPropsType, alignPropsType,
|
|
4
|
-
export interface IWrapperProps extends
|
|
2
|
+
import { iStyleAttributes } from '../../hooks/styleAttributes.interface';
|
|
3
|
+
import { alignDirectionPropsType, alignPropsType, tFillProps, horizontalResizeModePropsType, positionPropsType, verticalResizeModePropsType } from '../../types';
|
|
4
|
+
export interface IWrapperProps extends iStyleAttributes {
|
|
5
5
|
after?: ReactNode;
|
|
6
6
|
align?: alignPropsType;
|
|
7
7
|
alignDirection?: alignDirectionPropsType;
|
|
8
8
|
before?: ReactNode;
|
|
9
9
|
children?: ReactNode;
|
|
10
10
|
className?: string;
|
|
11
|
-
fill?:
|
|
11
|
+
fill?: tFillProps;
|
|
12
12
|
horizontalResizing?: horizontalResizeModePropsType;
|
|
13
13
|
id?: string;
|
|
14
14
|
position?: positionPropsType;
|
package/dist/cjs/components.js
CHANGED
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var Accordion = require('./Accordion-
|
|
3
|
+
var Accordion = require('./Accordion-rCFDAon3.js');
|
|
4
4
|
var Avatar = require('./Avatar-Bj5BiStx.js');
|
|
5
5
|
var Badge = require('./Badge-D7W3B9G5.js');
|
|
6
6
|
var Breadcrumbs = require('./Breadcrumbs-xj-c6cUH.js');
|
|
7
7
|
var Button = require('./Button-DfUQ11Hs.js');
|
|
8
8
|
var Caption = require('./Caption-f-OM1D-G.js');
|
|
9
9
|
var Card = require('./Card--te6xVsm.js');
|
|
10
|
-
var Cell = require('./Cell-
|
|
11
|
-
var Checkbox = require('./Checkbox-
|
|
12
|
-
var Chips = require('./Chips-
|
|
10
|
+
var Cell = require('./Cell-DEBk3Rbp.js');
|
|
11
|
+
var Checkbox = require('./Checkbox-BIvndDsy.js');
|
|
12
|
+
var Chips = require('./Chips-i7zrI9aU.js');
|
|
13
13
|
var Choice = require('./Choice-Cm_1ke3H.js');
|
|
14
14
|
var Code = require('./Code-ByEr4h2R.js');
|
|
15
15
|
var ContextMenuItem = require('./ContextMenuItem-D6dUiYw7.js');
|
|
16
16
|
var CookiesWarning = require('./CookiesWarning-BfkNifW2.js');
|
|
17
|
-
var DadataHintField = require('./DadataHintField-
|
|
18
|
-
var DatePicker = require('./DatePicker-
|
|
17
|
+
var DadataHintField = require('./DadataHintField-z7Mw-xDn.js');
|
|
18
|
+
var DatePicker = require('./DatePicker-e4-8mC1N.js');
|
|
19
19
|
var Divider = require('./Divider-D92wY8Fn.js');
|
|
20
20
|
var Dot = require('./Dot-CKWexdtn.js');
|
|
21
21
|
var Drawer = require('./Drawer-BGZBaR2Q.js');
|
|
@@ -26,23 +26,23 @@ var GridRow = require('./GridRow-OxLsh_2P.js');
|
|
|
26
26
|
var Group = require('./Group-C9BxTKs-.js');
|
|
27
27
|
var Icon = require('./Icon-2rv_L0yY.js');
|
|
28
28
|
var Image = require('./Image-CCx6QWZj.js');
|
|
29
|
-
var Input = require('./Input-
|
|
29
|
+
var Input = require('./Input-vwyG3XF0.js');
|
|
30
30
|
var InputPassword = require('./InputPassword-BXCwerW2.js');
|
|
31
31
|
var Label = require('./Label-EFoxH21m.js');
|
|
32
32
|
var LanguageSelector = require('./LanguageSelector-CFKki1Sr.js');
|
|
33
33
|
var Link = require('./Link-B6Xq7PWn.js');
|
|
34
34
|
var ListItem = require('./ListItem-C3tWa-2I.js');
|
|
35
35
|
var Loader = require('./Loader-2vQxF_aO.js');
|
|
36
|
-
var Logo = require('./Logo-
|
|
36
|
+
var Logo = require('./Logo-CcEF4P2z.js');
|
|
37
37
|
var Menu = require('./Menu-rXCCn52A.js');
|
|
38
38
|
var MenuItem = require('./MenuItem-C__OMtEI.js');
|
|
39
|
-
var ModalLoader = require('./ModalLoader-
|
|
39
|
+
var ModalLoader = require('./ModalLoader-Cddzca-W.js');
|
|
40
40
|
var NotificationList = require('./NotificationList-CKd0PxLU.js');
|
|
41
41
|
var index = require('./components/Page.js');
|
|
42
42
|
var Pagination = require('./Pagination-D6thfJMP.js');
|
|
43
43
|
var Radio = require('./Radio-Cvbuwkx3.js');
|
|
44
44
|
var RangeSlider = require('./RangeSlider-Dy53bTyY.js');
|
|
45
|
-
var Response = require('./Response-
|
|
45
|
+
var Response = require('./Response-CwdUpO-8.js');
|
|
46
46
|
var Scrollbar = require('./Scrollbar-DOujlQOb.js');
|
|
47
47
|
var SearchResult = require('./SearchResult-BnIZD8lL.js');
|
|
48
48
|
var Segmented = require('./Segmented-BHblcvck.js');
|
|
@@ -2,6 +2,6 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
-
const textColorProps = [null, false, 'accentTextPrimary', 'accentTextSecondary', 'accentTextTertiary', 'primaryTextPrimary', 'primaryTextSecondary', 'primaryTextTertiary', 'secondaryTextPrimary', 'secondaryTextSecondary', 'secondaryTextTertiary', 'tertiaryTextPrimary', 'tertiaryTextSecondary', 'surfaceTextPrimary', 'surfaceTextAccent', 'surfaceTextSecondary', 'surfaceTextTertiary', 'surfaceTextQuaternary', 'surfaceTextAccent', 'surfaceTextHover', 'surfaceTextFocus', 'surfaceTextActive', 'surfaceTextDisabled', 'errorTextPrimary', 'errorTextSecondary', 'successTextPrimary', 'successTextSecondary', 'surfaceTextInvert'];
|
|
5
|
+
const textColorProps = [null, false, 'accentTextPrimary', 'accentTextSecondary', 'accentTextTertiary', 'primaryTextPrimary', 'primaryTextSecondary', 'primaryTextTertiary', 'secondaryTextPrimary', 'secondaryTextSecondary', 'secondaryTextTertiary', 'tertiaryTextPrimary', 'tertiaryTextSecondary', 'surfaceTextPrimary', 'surfaceTextAccent', 'surfaceTextSecondary', 'surfaceTextTertiary', 'surfaceTextQuaternary', 'surfaceTextAccent', 'surfaceTextHover', 'surfaceTextFocus', 'surfaceTextActive', 'surfaceTextDisabled', 'errorTextPrimary', 'errorTextSecondary', 'successTextPrimary', 'successTextSecondary', 'surfaceTextInvert', 'surfaceTextInverse'];
|
|
6
6
|
|
|
7
7
|
exports.default = textColorProps;
|
|
@@ -2,6 +2,6 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
-
const textColorActiveProps = [null, false, 'accentTextPrimary', 'accentTextSecondary', 'accentTextTertiary', 'primaryTextPrimary', 'primaryTextSecondary', 'primaryTextTertiary', 'secondaryTextPrimary', 'secondaryTextSecondary', 'secondaryTextTertiary', 'tertiaryTextPrimary', 'tertiaryTextSecondary', 'surfaceTextPrimary', 'surfaceTextAccent', 'surfaceTextSecondary', 'surfaceTextTertiary', 'surfaceTextQuaternary', 'surfaceTextAccent', 'surfaceTextHover', 'surfaceTextFocus', 'surfaceTextActive', 'surfaceTextDisabled', 'errorTextPrimary', 'errorTextSecondary', 'successTextPrimary', 'successTextSecondary', 'surfaceTextInvert'];
|
|
5
|
+
const textColorActiveProps = [null, false, 'accentTextPrimary', 'accentTextSecondary', 'accentTextTertiary', 'primaryTextPrimary', 'primaryTextSecondary', 'primaryTextTertiary', 'secondaryTextPrimary', 'secondaryTextSecondary', 'secondaryTextTertiary', 'tertiaryTextPrimary', 'tertiaryTextSecondary', 'surfaceTextPrimary', 'surfaceTextAccent', 'surfaceTextSecondary', 'surfaceTextTertiary', 'surfaceTextQuaternary', 'surfaceTextAccent', 'surfaceTextHover', 'surfaceTextFocus', 'surfaceTextActive', 'surfaceTextDisabled', 'errorTextPrimary', 'errorTextSecondary', 'successTextPrimary', 'successTextSecondary', 'surfaceTextInvert', 'surfaceTextInverse'];
|
|
6
6
|
|
|
7
7
|
exports.default = textColorActiveProps;
|
|
@@ -2,6 +2,6 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
-
const textColorHoverProps = [null, false, 'accentTextPrimary', 'accentTextSecondary', 'accentTextTertiary', 'primaryTextPrimary', 'primaryTextSecondary', 'primaryTextTertiary', 'secondaryTextPrimary', 'secondaryTextSecondary', 'secondaryTextTertiary', 'tertiaryTextPrimary', 'tertiaryTextSecondary', 'surfaceTextPrimary', 'surfaceTextAccent', 'surfaceTextSecondary', 'surfaceTextTertiary', 'surfaceTextQuaternary', 'surfaceTextAccent', 'surfaceTextHover', 'surfaceTextFocus', 'surfaceTextActive', 'surfaceTextDisabled', 'errorTextPrimary', 'errorTextSecondary', 'successTextPrimary', 'successTextSecondary', 'surfaceTextInvert'];
|
|
5
|
+
const textColorHoverProps = [null, false, 'accentTextPrimary', 'accentTextSecondary', 'accentTextTertiary', 'primaryTextPrimary', 'primaryTextSecondary', 'primaryTextTertiary', 'secondaryTextPrimary', 'secondaryTextSecondary', 'secondaryTextTertiary', 'tertiaryTextPrimary', 'tertiaryTextSecondary', 'surfaceTextPrimary', 'surfaceTextAccent', 'surfaceTextSecondary', 'surfaceTextTertiary', 'surfaceTextQuaternary', 'surfaceTextAccent', 'surfaceTextHover', 'surfaceTextFocus', 'surfaceTextActive', 'surfaceTextDisabled', 'errorTextPrimary', 'errorTextSecondary', 'successTextPrimary', 'successTextSecondary', 'surfaceTextInvert', 'surfaceTextInverse'];
|
|
6
6
|
|
|
7
7
|
exports.default = textColorHoverProps;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import type * as CSS from 'csstype';
|
|
2
2
|
import { overflowPropsType, textAlignPropsType } from '../types';
|
|
3
|
-
export interface
|
|
3
|
+
export interface iStyleAttributes {
|
|
4
4
|
/**
|
|
5
5
|
* Layout
|
|
6
6
|
*/
|
|
@@ -152,10 +152,10 @@ type LabelInterface<T> = {
|
|
|
152
152
|
type ImageInterface<T> = {
|
|
153
153
|
[P in keyof T as `${string & P}Image`]: T[P];
|
|
154
154
|
};
|
|
155
|
-
export interface TypeStyleWrapperAttributes extends WrappedInterface<
|
|
155
|
+
export interface TypeStyleWrapperAttributes extends WrappedInterface<iStyleAttributes> {
|
|
156
156
|
}
|
|
157
|
-
export interface TypeStyleLabelAttributes extends LabelInterface<
|
|
157
|
+
export interface TypeStyleLabelAttributes extends LabelInterface<iStyleAttributes> {
|
|
158
158
|
}
|
|
159
|
-
export interface TypeStyleImageAttributes extends ImageInterface<
|
|
159
|
+
export interface TypeStyleImageAttributes extends ImageInterface<iStyleAttributes> {
|
|
160
160
|
}
|
|
161
161
|
export {};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export type
|
|
1
|
+
export type tAppearanceKeysDefault = 'any' | 'dev' | 'surfacePrimary' | 'surfaceSecondary' | 'surfaceTertiary' | 'surfaceQuaternary' | 'surfaceDisabled' | 'gradientPrimary' | 'accent' | 'primary' | 'secondary' | 'disabled' | 'success' | 'warning' | 'error' | 'fail' | 'accentSecondary';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export type
|
|
1
|
+
export type tBorderColorProps = 'accentBorderPrimary' | 'accentBorderSecondary' | 'accentBorderTertiary' | 'accentBorderQuaternary' | 'accentBorderDisabled' | 'primaryBorderPrimary' | 'primaryBorderSecondary' | 'primaryBorderTertiary' | 'primaryBorderQuaternary' | 'primaryBorderDisabled' | 'secondaryBorderPrimary' | 'secondaryBorderSecondary' | 'secondaryBorderTertiary' | 'secondaryBorderQuaternary' | 'secondaryBorderDisabled' | 'tertiaryBorderPrimary' | 'tertiaryBorderSecondary' | 'tertiaryBorderTertiary' | 'tertiaryBorderQuaternary' | 'tertiaryBorderDisabled' | 'surfaceBorderPrimary' | 'surfaceBorderSecondary' | 'surfaceBorderTertiary' | 'surfaceBorderQuaternary' | 'surfaceBorderDisabled' | 'surfaceBorderInvert' | 'errorBorderPrimary' | 'errorBorderSecondary' | 'errorBorderDisabled' | 'successBorderPrimary' | 'successBorderSecondary' | 'successBorderDisabled';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export type
|
|
1
|
+
export type tBorderWidthProps = '1' | '2' | '3' | '4' | '5' | '6' | '7' | '8' | '9' | '10';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export type
|
|
1
|
+
export type tDirectionProps = 'row' | 'row-reverse' | 'column' | 'column-reverse' | 'vertical' | 'horizontal';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export type
|
|
1
|
+
export type tFillProps = 'accentPrimary' | 'accentSecondary' | 'accentTertiary' | 'errorPrimary' | 'errorSecondary' | 'gradientPrimary' | 'primaryPrimary' | 'primarySecondary' | 'primaryTertiary' | 'secondaryPrimary' | 'secondarySecondary' | 'secondaryTertiary' | 'successPrimary' | 'successSecondary' | 'surfaceAccent' | 'surfaceItemPrimary' | 'surfacePrimary' | 'surfaceQuaternary' | 'surfaceQuinary' | 'surfaceSecondary' | 'surfaceTertiary' | 'tertiaryPrimary' | 'tertiarySecondary' | 'tertiaryTertiary';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export type
|
|
1
|
+
export type tFillHoverProps = 'accentPrimaryHover' | 'accentSecondary' | 'accentTertiary' | 'primaryPrimaryHover' | 'secondaryPrimaryHover' | 'surfaceTertiary' | 'surfaceItemTertiary' | 'surfacePrimaryHover' | 'surfaceSecondaryHover' | 'surfaceTertiaryHover';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export type
|
|
1
|
+
export type tHeightProps = 'fixed' | 'hug' | 'fill' | string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export type
|
|
1
|
+
export type tItemColorProps = 'accentItemPrimary' | 'accentItemSecondary' | 'accentItemTertiary' | 'accentItemDisabled' | 'primaryItemPrimary' | 'primaryItemSecondary' | 'primaryItemTertiary' | 'primaryItemDisabled' | 'secondaryItemPrimary' | 'secondaryItemSecondary' | 'secondaryItemTertiary' | 'secondaryItemDisabled' | 'tertiaryItemPrimary' | 'tertiaryItemSecondary' | 'tertiaryItemTertiary' | 'surfaceItemPrimary' | 'surfaceItemSecondary' | 'surfaceItemTertiary' | 'surfaceItemQuaternary' | 'surfaceItemQuinary' | 'surfaceItemDisabled' | 'surfaceItemInvert' | 'surfaceItemAccent' | 'errorItemPrimary' | 'errorItemSecondary' | 'successItemPrimary' | 'successItemSecondary';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export type
|
|
1
|
+
export type tShapeProps = 'geometric' | 'rounded' | 'circular';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export type
|
|
1
|
+
export type tSizeProps = 'xxs' | 'xs' | 's' | 'm' | 'l' | 'xl' | 'xxl';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export type
|
|
1
|
+
export type tStateKeysDefault = 'normal' | 'filled' | 'active' | 'activeFilled' | 'error' | 'errorFilled' | 'readonly' | 'disabled' | 'success' | 'require';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export type
|
|
1
|
+
export type tTextColorProps = 'accentTextPrimary' | 'accentTextSecondary' | 'accentTextTertiary' | 'primaryTextPrimary' | 'primaryTextSecondary' | 'primaryTextTertiary' | 'secondaryTextPrimary' | 'secondaryTextSecondary' | 'secondaryTextTertiary' | 'tertiaryTextPrimary' | 'tertiaryTextSecondary' | 'surfaceTextPrimary' | 'surfaceTextAccent' | 'surfaceTextSecondary' | 'surfaceTextTertiary' | 'surfaceTextQuaternary' | 'surfaceTextAccent' | 'surfaceTextHover' | 'surfaceTextFocus' | 'surfaceTextActive' | 'surfaceTextDisabled' | 'errorTextPrimary' | 'errorTextSecondary' | 'successTextPrimary' | 'successTextSecondary' | 'surfaceTextInvert' | 'surfaceTextInverse';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export type
|
|
1
|
+
export type tTextSizeProps = 'xxs' | 'xs' | 's' | 'm' | 'l' | 'xl' | 'xxl';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export type
|
|
1
|
+
export type tTextWeightProps = 'normal' | 'bold' | 'light' | 'lighter' | 'bolder' | '100' | 100 | '200' | 200 | '300' | 300 | '400' | 400 | '500' | 500 | '600' | 600 | '700' | 700 | '800' | 800 | '900' | 900 | '950' | 950;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export type
|
|
1
|
+
export type tWidthProps = 'fixed' | 'hug' | 'fill' | string;
|
|
@@ -2,17 +2,17 @@ export type { alignDirectionPropsType } from './componentProps/alignDirection';
|
|
|
2
2
|
export type { alignPropsType } from './componentProps/align';
|
|
3
3
|
export type { alignmentPropsType } from './componentProps/alignment';
|
|
4
4
|
export type { borderColorHoverPropsType } from './componentProps/borderColorHover';
|
|
5
|
-
export type {
|
|
5
|
+
export type { tBorderColorProps } from './componentProps/borderColor';
|
|
6
6
|
export type { borderTypePropsType } from './componentProps/borderType';
|
|
7
|
-
export type {
|
|
7
|
+
export type { tBorderWidthProps } from './componentProps/borderWidth';
|
|
8
8
|
export type { captionPositionPropsType } from './componentProps/captionPosition';
|
|
9
|
-
export type {
|
|
9
|
+
export type { tDirectionProps } from './componentProps/direction';
|
|
10
10
|
export type { elevationPropsType } from './componentProps/elevation';
|
|
11
11
|
export type { emojiSizePropsType } from './componentProps/emojiSize';
|
|
12
12
|
export type { fillGradientPropsType } from './componentProps/fillGradient';
|
|
13
|
-
export type {
|
|
13
|
+
export type { tFillHoverProps } from './componentProps/fillHover';
|
|
14
14
|
export type { svgFillPropsType } from './componentProps/svgFill';
|
|
15
|
-
export type {
|
|
15
|
+
export type { tFillProps } from './componentProps/fill';
|
|
16
16
|
export type { fillTypePropsType } from './componentProps/fillType';
|
|
17
17
|
export type { flexAlignPropsType } from './componentProps/flexAlign';
|
|
18
18
|
export type { flexGrowPropsType } from './componentProps/flexGrow';
|
|
@@ -22,36 +22,36 @@ export type { gridAlignPropsType } from './componentProps/gridAlign';
|
|
|
22
22
|
export type { gridAlignSelfPropsType } from './componentProps/gridAlignSelf';
|
|
23
23
|
export type { gridJustifyItemsPropsType } from './componentProps/gridJustifyItems';
|
|
24
24
|
export type { gridJustifySelfPropsType } from './componentProps/gridJustifySelf';
|
|
25
|
-
export type {
|
|
25
|
+
export type { tHeightProps } from './componentProps/height';
|
|
26
26
|
export type { horizontalContentAlignPropsType } from './componentProps/horizontalContentAlign';
|
|
27
27
|
export type { horizontalResizeModePropsType } from './componentProps/horizontalResizeMode';
|
|
28
28
|
export type { iconFillSizePropsType } from './componentProps/iconFillSize';
|
|
29
29
|
export type { iconSizePropsType } from './componentProps/iconSize';
|
|
30
|
-
export type {
|
|
30
|
+
export type { tItemColorProps } from './componentProps/itemColor';
|
|
31
31
|
export type { justifyContentPropsType } from './componentProps/justifyContent';
|
|
32
32
|
export type { overflowPropsType } from './componentProps/overflow.ts';
|
|
33
33
|
export type { positionPropsType } from './componentProps/position';
|
|
34
34
|
export type { resizeModePropsType } from './componentProps/resizeMode';
|
|
35
|
-
export type {
|
|
35
|
+
export type { tShapeProps } from './componentProps/shape';
|
|
36
36
|
export type { sizeOptionPropsType } from './componentProps/sizeInterface';
|
|
37
37
|
export type { sizePXPropsType } from './componentProps/sizePX';
|
|
38
|
-
export type {
|
|
38
|
+
export type { tSizeProps } from './componentProps/size';
|
|
39
39
|
export type { stackingPropsType } from './componentProps/stacking';
|
|
40
40
|
export type { statePropsType } from './componentProps/state';
|
|
41
41
|
export type { textAlignPropsType } from './componentProps/textAlign';
|
|
42
42
|
export type { textColorActivePropsType } from './componentProps/textColorActive';
|
|
43
43
|
export type { textColorHoverPropsType } from './componentProps/textColorHover';
|
|
44
|
-
export type {
|
|
44
|
+
export type { tTextColorProps } from './componentProps/textColor';
|
|
45
45
|
export type { textGradientPropsType } from './componentProps/textGradient';
|
|
46
|
-
export type {
|
|
46
|
+
export type { tTextSizeProps } from './componentProps/textSize';
|
|
47
47
|
export type { textStylePropsType } from './componentProps/textStyle';
|
|
48
48
|
export type { textTagPropsType } from './componentProps/textTag';
|
|
49
|
-
export type {
|
|
49
|
+
export type { tTextWeightProps } from './componentProps/textWeight';
|
|
50
50
|
export type { textWrapPropsType } from './componentProps/textWrap';
|
|
51
51
|
export type { titleSizePropsType } from './componentProps/titleSize';
|
|
52
52
|
export type { typePropsType } from './componentProps/type';
|
|
53
53
|
export type { underlinePropsType } from './componentProps/underline';
|
|
54
54
|
export type { verticalContentAlignPropsType } from './componentProps/verticalContentAlign';
|
|
55
55
|
export type { verticalResizeModePropsType } from './componentProps/verticalResizeMode';
|
|
56
|
-
export type {
|
|
56
|
+
export type { tWidthProps } from './componentProps/width';
|
|
57
57
|
export type { wrapPropsType } from './componentProps/wrap';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
declare function Accordion(props:
|
|
1
|
+
import type { iAccordionProps } from './Accordion.interface';
|
|
2
|
+
declare function Accordion(props: iAccordionProps): import("react/jsx-runtime").JSX.Element;
|
|
3
3
|
declare namespace Accordion {
|
|
4
4
|
var defaultProps: {
|
|
5
5
|
initial: never[];
|
|
@@ -1,70 +1,70 @@
|
|
|
1
|
-
import { CSSProperties, ReactNode } from 'react';
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
|
|
5
|
-
|
|
1
|
+
import type { CSSProperties, ReactNode } from 'react';
|
|
2
|
+
import type { iStyleAttributes } from '../../hooks/styleAttributes.interface';
|
|
3
|
+
import type { tBorderColorProps, tDirectionProps, tFillHoverProps, tFillProps, tHeightProps, tItemColorProps, tShapeProps, tSizeProps, tTextColorProps, tTextWeightProps, tWidthProps } from '../../types';
|
|
4
|
+
interface iAccordionItemEventData {
|
|
5
|
+
id: number | string;
|
|
6
|
+
content?: ReactNode;
|
|
7
|
+
title: string;
|
|
8
|
+
isExpanded: boolean;
|
|
9
|
+
}
|
|
10
|
+
interface iAccordionProps extends iStyleAttributes {
|
|
11
|
+
borderColor?: tBorderColorProps;
|
|
12
|
+
children?: Element | React.ReactNode;
|
|
6
13
|
className: string;
|
|
14
|
+
direction?: tDirectionProps;
|
|
15
|
+
fill?: tFillProps;
|
|
16
|
+
height?: tHeightProps;
|
|
7
17
|
initial: any;
|
|
8
|
-
isMultiple: boolean;
|
|
9
18
|
items?: {
|
|
10
|
-
content: ReactNode;
|
|
11
19
|
id: number | string;
|
|
20
|
+
content?: ReactNode;
|
|
12
21
|
title: string;
|
|
13
22
|
}[];
|
|
23
|
+
shape?: tShapeProps;
|
|
14
24
|
style?: CSSProperties;
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
borderColor?: borderColorPropsType;
|
|
19
|
-
direction?: directionPropsType;
|
|
20
|
-
fill?: fillPropsType;
|
|
21
|
-
height?: heightPropsType;
|
|
22
|
-
shape?: shapePropsType;
|
|
23
|
-
width?: widthPropsType;
|
|
25
|
+
width?: tWidthProps;
|
|
26
|
+
isMultiple: boolean;
|
|
27
|
+
onClickItem?: (T: iAccordionItemEventData) => void;
|
|
24
28
|
}
|
|
25
|
-
|
|
29
|
+
interface iAccordionItemProps extends iStyleAttributes {
|
|
30
|
+
id: number | string;
|
|
26
31
|
afterContent?: ReactNode;
|
|
27
32
|
beforeContent?: ReactNode;
|
|
33
|
+
borderColor?: tBorderColorProps;
|
|
28
34
|
children?: ReactNode;
|
|
29
35
|
className?: string;
|
|
30
36
|
content?: ReactNode;
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
37
|
+
contentBorderColor?: tBorderColorProps;
|
|
38
|
+
contentFill?: tFillProps;
|
|
39
|
+
contentTextColor?: tTextColorProps;
|
|
40
|
+
contentTextSize?: tSizeProps;
|
|
41
|
+
contentTextWeight?: tTextWeightProps;
|
|
42
|
+
fill?: tFillProps;
|
|
43
|
+
fillDesktop?: tFillProps;
|
|
44
|
+
fillHover?: tFillHoverProps;
|
|
45
|
+
fillMobile?: tFillProps;
|
|
46
|
+
fillTablet?: tFillProps;
|
|
47
|
+
height?: tHeightProps;
|
|
34
48
|
icon?: ReactNode;
|
|
35
|
-
|
|
36
|
-
|
|
49
|
+
iconFill?: tItemColorProps;
|
|
50
|
+
iconFillDesktop?: tItemColorProps;
|
|
51
|
+
iconFillMobile?: tItemColorProps;
|
|
52
|
+
iconFillTablet?: tItemColorProps;
|
|
53
|
+
shape?: tShapeProps;
|
|
54
|
+
shapeDesktop?: tShapeProps;
|
|
55
|
+
shapeMobile?: tShapeProps;
|
|
56
|
+
shapeTablet?: tShapeProps;
|
|
57
|
+
size?: tSizeProps;
|
|
37
58
|
style?: CSSProperties;
|
|
38
59
|
title?: string;
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
60
|
+
titleBorderColor?: tBorderColorProps;
|
|
61
|
+
titleFill?: tFillProps;
|
|
62
|
+
titleFillHover?: tFillHoverProps;
|
|
63
|
+
titleTextColor?: tTextColorProps;
|
|
64
|
+
titleTextSize?: tSizeProps;
|
|
65
|
+
titleTextWeight?: tTextWeightProps;
|
|
66
|
+
width?: tWidthProps;
|
|
42
67
|
isExpanded?: boolean;
|
|
43
|
-
onClick?: (
|
|
44
|
-
id: number | string;
|
|
45
|
-
title?: string;
|
|
46
|
-
content?: ReactNode;
|
|
47
|
-
isExpanded?: boolean;
|
|
48
|
-
}) => void;
|
|
49
|
-
fillDesktop?: fillPropsType;
|
|
50
|
-
fillMobile?: fillPropsType;
|
|
51
|
-
fillTablet?: fillPropsType;
|
|
52
|
-
iconFill?: itemColorPropsType;
|
|
53
|
-
iconFillDesktop?: itemColorPropsType;
|
|
54
|
-
iconFillMobile?: itemColorPropsType;
|
|
55
|
-
iconFillTablet?: itemColorPropsType;
|
|
56
|
-
shapeDesktop?: shapePropsType;
|
|
57
|
-
shapeMobile?: shapePropsType;
|
|
58
|
-
shapeTablet?: shapePropsType;
|
|
59
|
-
borderColor?: borderColorPropsType;
|
|
60
|
-
contentBorderColor?: borderColorPropsType;
|
|
61
|
-
titleBorderColor?: borderColorPropsType;
|
|
62
|
-
fill?: fillPropsType;
|
|
63
|
-
fillHover?: fillHoverPropsType;
|
|
64
|
-
contentFill?: fillPropsType;
|
|
65
|
-
titleFill?: fillPropsType;
|
|
66
|
-
titleFillHover?: fillHoverPropsType;
|
|
67
|
-
shape?: shapePropsType;
|
|
68
|
-
width?: widthPropsType;
|
|
69
|
-
height?: heightPropsType;
|
|
68
|
+
onClick?: (T: iAccordionItemEventData) => void;
|
|
70
69
|
}
|
|
70
|
+
export type { iAccordionItemEventData, iAccordionProps, iAccordionItemProps };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
declare function AccordionItem(props:
|
|
1
|
+
import type { iAccordionItemProps } from './Accordion.interface';
|
|
2
|
+
declare function AccordionItem(props: iAccordionItemProps): import("react/jsx-runtime").JSX.Element;
|
|
3
3
|
declare namespace AccordionItem {
|
|
4
4
|
var defaultProps: {
|
|
5
5
|
iconFill: string;
|
|
@@ -1,29 +1,29 @@
|
|
|
1
1
|
import { ElementType, ReactNode } from 'react';
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
export interface IAvatarProps extends
|
|
2
|
+
import { iStyleAttributes } from '../../hooks/styleAttributes.interface';
|
|
3
|
+
import { tFillHoverProps, tFillProps, iconFillSizePropsType, iconSizePropsType, tItemColorProps, tShapeProps, sizePXPropsType, tTextColorProps, tTextSizeProps, tTextWeightProps } from '../../types';
|
|
4
|
+
export interface IAvatarProps extends iStyleAttributes {
|
|
5
5
|
Dot?: ReactNode;
|
|
6
6
|
after?: ReactNode;
|
|
7
7
|
before?: ReactNode;
|
|
8
8
|
className?: string;
|
|
9
|
-
fill?:
|
|
9
|
+
fill?: tFillProps;
|
|
10
10
|
firstName?: string;
|
|
11
11
|
icon?: ElementType;
|
|
12
|
-
iconFill?:
|
|
13
|
-
iconFillHover?:
|
|
12
|
+
iconFill?: tFillProps;
|
|
13
|
+
iconFillHover?: tFillHoverProps;
|
|
14
14
|
iconFillSize?: iconFillSizePropsType;
|
|
15
|
-
iconItemFill?:
|
|
16
|
-
iconShape?:
|
|
15
|
+
iconItemFill?: tItemColorProps;
|
|
16
|
+
iconShape?: tShapeProps;
|
|
17
17
|
iconSize?: iconSizePropsType;
|
|
18
18
|
iconSrc?: string;
|
|
19
19
|
mode?: string;
|
|
20
20
|
secondName?: string;
|
|
21
|
-
shape?:
|
|
21
|
+
shape?: tShapeProps;
|
|
22
22
|
size?: sizePXPropsType;
|
|
23
23
|
src?: string;
|
|
24
|
-
textColor?:
|
|
25
|
-
textSize?:
|
|
26
|
-
textWeight?:
|
|
24
|
+
textColor?: tTextColorProps;
|
|
25
|
+
textSize?: tTextSizeProps;
|
|
26
|
+
textWeight?: tTextWeightProps;
|
|
27
27
|
type?: 'image' | 'text';
|
|
28
28
|
onClick?: () => void;
|
|
29
29
|
}
|