@itcase/ui 1.8.108 → 1.8.109
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_bOSuIjlv.js → Avatar_cjs_joB9qjwk.js} +36 -60
- package/dist/{Avatar_es_CEiiRkAd.js → Avatar_es_C3HGSiHU.js} +36 -60
- package/dist/{Button_cjs_eGfgY2Dz.js → Button_cjs_mau_55Fl.js} +6 -6
- package/dist/{Button_es_CEXL2diU.js → Button_es_D_IlkeBp.js} +6 -6
- package/dist/{ChipsGroup_cjs_DKLEgUi2.js → ChipsGroup_cjs_D454M1-p.js} +2 -2
- package/dist/{ChipsGroup_es_vMh6YMRm.js → ChipsGroup_es_BKG5mK5N.js} +2 -2
- package/dist/{DatePicker_cjs_T63y9kcH.js → DatePicker_cjs_Bm8nwWKa.js} +4 -4
- package/dist/{DatePicker_es_B87jj8h6.js → DatePicker_es_DAV92A4A.js} +4 -4
- package/dist/{DropdownItem_cjs_BGp4XAme.js → DropdownItem_cjs_D2hHKA5E.js} +2 -2
- package/dist/{DropdownItem_es_BwdenrJx.js → DropdownItem_es_D9JBMV70.js} +2 -2
- package/dist/{Icon_cjs_LSfBwmrG.js → Icon_cjs_ZerVip3X.js} +32 -47
- package/dist/{Icon_es_BYO1LdXJ.js → Icon_es_C76te22j.js} +32 -47
- package/dist/{Label_cjs_Df_mrKBf.js → Label_cjs_CaTh_laL.js} +2 -2
- package/dist/{Label_es_Dl5zb0RD.js → Label_es_CoIII7Ty.js} +2 -2
- package/dist/{Loader_cjs_Db9diKuF.js → Loader_cjs_c6yF7akz.js} +1 -1
- package/dist/{Loader_es_AhHU-s7_.js → Loader_es_C8ETXkiZ.js} +1 -1
- package/dist/{Text_cjs_CeJHeRfI.js → Text_cjs_DpRclhwc.js} +2 -5
- package/dist/{Text_es_BXh9Y3hR.js → Text_es_CtCwsa3V.js} +2 -5
- package/dist/cjs/components/Accordion.js +4 -3
- package/dist/cjs/components/Avatar.js +5 -4
- package/dist/cjs/components/AvatarStack.js +5 -4
- package/dist/cjs/components/Badge.js +4 -3
- package/dist/cjs/components/Breadcrumbs.js +4 -3
- package/dist/cjs/components/Button.js +6 -5
- package/dist/cjs/components/Cell.js +5 -4
- package/dist/cjs/components/Checkbox.js +3 -2
- package/dist/cjs/components/Checkmark.js +2 -1
- package/dist/cjs/components/Chips.js +5 -4
- package/dist/cjs/components/Choice.js +5 -4
- package/dist/cjs/components/Code.js +2 -0
- package/dist/cjs/components/CookiesWarning.js +6 -5
- package/dist/cjs/components/Dadata.js +2 -0
- package/dist/cjs/components/DatePeriod.js +8 -7
- package/dist/cjs/components/DatePicker.js +8 -7
- package/dist/cjs/components/Divider.js +2 -1
- package/dist/cjs/components/Dot.js +2 -1
- package/dist/cjs/components/Drawer.js +3 -2
- package/dist/cjs/components/Dropdown.js +5 -4
- package/dist/cjs/components/Flex.js +2 -1
- package/dist/cjs/components/Grid.js +2 -1
- package/dist/cjs/components/Group.js +2 -1
- package/dist/cjs/components/HTMLContent.js +2 -1
- package/dist/cjs/components/HeroTitle.js +4 -3
- package/dist/cjs/components/Icon.js +4 -3
- package/dist/cjs/components/Image.js +2 -1
- package/dist/cjs/components/Input.js +2 -0
- package/dist/cjs/components/InputPassword.js +4 -3
- package/dist/cjs/components/Label.js +5 -4
- package/dist/cjs/components/Link.js +2 -1
- package/dist/cjs/components/List.js +2 -1
- package/dist/cjs/components/Loader.js +4 -3
- package/dist/cjs/components/Logo.js +2 -1
- package/dist/cjs/components/MenuItem.js +4 -3
- package/dist/cjs/components/Modal.js +5 -4
- package/dist/cjs/components/ModalSheetBottom.js +4 -3
- package/dist/cjs/components/Notification.js +4 -3
- package/dist/cjs/components/Overlay.js +2 -1
- package/dist/cjs/components/Pagination.js +5 -4
- package/dist/cjs/components/Radio.js +6 -2
- package/dist/cjs/components/RangeSlider.js +2 -1
- package/dist/cjs/components/Response.js +6 -5
- package/dist/cjs/components/SVGContent.js +2 -1
- package/dist/cjs/components/ScrollOnDrag.js +2 -1
- package/dist/cjs/components/ScrollToView.js +2 -1
- package/dist/cjs/components/Search.js +4 -3
- package/dist/cjs/components/Segmented.js +3 -2
- package/dist/cjs/components/Select.js +4 -3
- package/dist/cjs/components/Swiper.js +4 -3
- package/dist/cjs/components/Switch.js +3 -2
- package/dist/cjs/components/Tab.js +14 -16
- package/dist/cjs/components/Text.js +3 -2
- package/dist/cjs/components/Textarea.js +2 -0
- package/dist/cjs/components/Tile.js +4 -3
- package/dist/cjs/components/Title.js +4 -3
- package/dist/cjs/components/Tooltip.js +4 -3
- package/dist/cjs/components/Video.js +1 -0
- package/dist/cjs/components/Warning.js +4 -3
- package/dist/cjs/hooks/useActiveClasses/useActiveClasses.helpers.js +120 -0
- package/dist/cjs/hooks/useActiveClasses/useActiveClasses.interface.js +65 -0
- package/dist/cjs/hooks/useActiveClasses/useActiveClasses.js +64 -0
- package/dist/cjs/hooks/useActiveClasses.js +9 -0
- package/dist/cjs/hooks/useDevicePropsGenerator/useDevicePropsGenerator.js +11 -1
- package/dist/cjs/hooks/useDevicePropsGenerator.js +2 -0
- package/dist/cjs/hooks/useStyles/useStyles.js +5 -3
- package/dist/cjs/hooks/useStyles.js +1 -0
- package/dist/cjs/hooks.js +9 -0
- package/dist/components/Accordion.js +4 -3
- package/dist/components/Avatar.js +5 -4
- package/dist/components/AvatarStack.js +5 -4
- package/dist/components/Badge.js +4 -3
- package/dist/components/Breadcrumbs.js +4 -3
- package/dist/components/Button.js +6 -5
- package/dist/components/Cell.js +5 -4
- package/dist/components/Checkbox.js +3 -2
- package/dist/components/Checkmark.js +2 -1
- package/dist/components/Chips.js +5 -4
- package/dist/components/Choice.js +5 -4
- package/dist/components/Code.js +2 -0
- package/dist/components/CookiesWarning.js +6 -5
- package/dist/components/Dadata.js +2 -0
- package/dist/components/DatePeriod.js +8 -7
- package/dist/components/DatePicker.js +8 -7
- package/dist/components/Divider.js +2 -1
- package/dist/components/Dot.js +2 -1
- package/dist/components/Drawer.js +3 -2
- package/dist/components/Dropdown.js +5 -4
- package/dist/components/Flex.js +2 -1
- package/dist/components/Grid.js +2 -1
- package/dist/components/Group.js +2 -1
- package/dist/components/HTMLContent.js +2 -1
- package/dist/components/HeroTitle.js +4 -3
- package/dist/components/Icon.js +4 -3
- package/dist/components/Image.js +2 -1
- package/dist/components/Input.js +2 -0
- package/dist/components/InputPassword.js +4 -3
- package/dist/components/Label.js +5 -4
- package/dist/components/Link.js +2 -1
- package/dist/components/List.js +2 -1
- package/dist/components/Loader.js +4 -3
- package/dist/components/Logo.js +2 -1
- package/dist/components/MenuItem.js +4 -3
- package/dist/components/Modal.js +5 -4
- package/dist/components/ModalSheetBottom.js +4 -3
- package/dist/components/Notification.js +4 -3
- package/dist/components/Overlay.js +2 -1
- package/dist/components/Pagination.js +5 -4
- package/dist/components/Radio.js +6 -2
- package/dist/components/RangeSlider.js +2 -1
- package/dist/components/Response.js +6 -5
- package/dist/components/SVGContent.js +2 -1
- package/dist/components/ScrollOnDrag.js +2 -1
- package/dist/components/ScrollToView.js +2 -1
- package/dist/components/Search.js +4 -3
- package/dist/components/Segmented.js +3 -2
- package/dist/components/Select.js +4 -3
- package/dist/components/Swiper.js +4 -3
- package/dist/components/Switch.js +3 -2
- package/dist/components/Tab.js +14 -16
- package/dist/components/Text.js +3 -2
- package/dist/components/Textarea.js +2 -0
- package/dist/components/Tile.js +4 -3
- package/dist/components/Title.js +4 -3
- package/dist/components/Tooltip.js +4 -3
- package/dist/components/Video.js +1 -0
- package/dist/components/Warning.js +4 -3
- package/dist/css/components/Icon/Icon.css +12 -19
- package/dist/hooks/useActiveClasses/useActiveClasses.helpers.js +116 -0
- package/dist/hooks/useActiveClasses/useActiveClasses.interface.js +63 -0
- package/dist/hooks/useActiveClasses/useActiveClasses.js +62 -0
- package/dist/hooks/useActiveClasses.js +3 -0
- package/dist/hooks/useDevicePropsGenerator/useDevicePropsGenerator.js +11 -1
- package/dist/hooks/useDevicePropsGenerator.js +2 -0
- package/dist/hooks/useStyles/useStyles.js +5 -3
- package/dist/hooks/useStyles.js +1 -0
- package/dist/hooks.js +7 -0
- package/dist/stories/useActiveClasses.mdx +134 -0
- package/dist/types/components/Avatar/Avatar.appearance.d.ts +1878 -2
- package/dist/types/components/Avatar/Avatar.interface.d.ts +48 -37
- package/dist/types/components/Avatar/appearance/avatarDefault.d.ts +2 -19
- package/dist/types/components/Avatar/appearance/avatarShape.d.ts +2 -24
- package/dist/types/components/Avatar/appearance/avatarSize.d.ts +2 -83
- package/dist/types/components/Avatar/appearance/avatarStyle.d.ts +2 -15
- package/dist/types/components/Badge/Badge.appearance.d.ts +986 -228
- package/dist/types/components/Badge/Badge.interface.d.ts +6 -6
- package/dist/types/components/Badge/appearance/badgeAccent.d.ts +2 -37
- package/dist/types/components/Badge/appearance/badgeDanger.d.ts +2 -16
- package/dist/types/components/Badge/appearance/badgeDisabled.d.ts +2 -14
- package/dist/types/components/Badge/appearance/badgeError.d.ts +2 -16
- package/dist/types/components/Badge/appearance/badgeInfo.d.ts +2 -15
- package/dist/types/components/Badge/appearance/badgePrimary.d.ts +2 -16
- package/dist/types/components/Badge/appearance/badgeSecondary.d.ts +2 -16
- package/dist/types/components/Badge/appearance/badgeShape.d.ts +2 -24
- package/dist/types/components/Badge/appearance/badgeSize.d.ts +2 -31
- package/dist/types/components/Badge/appearance/badgeStyle.d.ts +2 -13
- package/dist/types/components/Badge/appearance/badgeSuccess.d.ts +2 -16
- package/dist/types/components/Badge/appearance/badgeSurface.d.ts +2 -24
- package/dist/types/components/Badge/appearance/badgeWarning.d.ts +2 -16
- package/dist/types/components/Icon/Icon.d.ts +30 -6
- package/dist/types/components/Icon/Icon.interface.d.ts +2 -0
- package/dist/types/components/Radio/Radio.appearance.d.ts +3 -0
- package/dist/types/components/Radio/appearance/radioDefault.d.ts +3 -0
- package/dist/types/components/Tab/appearance/tabSurface.d.ts +1 -0
- package/dist/types/components/Text/Text.appearance.d.ts +698 -2
- package/dist/types/components/Text/Text.interface.d.ts +32 -47
- package/dist/types/components/Text/appearance/textSize.d.ts +2 -23
- package/dist/types/components/Title/Title.appearance.d.ts +2225 -2
- package/dist/types/components/Title/Title.interface.d.ts +56 -38
- package/dist/types/components/Title/appearance/titleAccent.d.ts +2 -19
- package/dist/types/components/Title/appearance/titleDanger.d.ts +2 -6
- package/dist/types/components/Title/appearance/titleDisabled.d.ts +2 -19
- package/dist/types/components/Title/appearance/titleError.d.ts +2 -10
- package/dist/types/components/Title/appearance/titleInfo.d.ts +2 -20
- package/dist/types/components/Title/appearance/titlePrimary.d.ts +2 -7
- package/dist/types/components/Title/appearance/titleRequire.d.ts +2 -19
- package/dist/types/components/Title/appearance/titleSecondary.d.ts +2 -7
- package/dist/types/components/Title/appearance/titleSize.d.ts +2 -44
- package/dist/types/components/Title/appearance/titleStyle.d.ts +2 -15
- package/dist/types/components/Title/appearance/titleSuccess.d.ts +2 -10
- package/dist/types/components/Title/appearance/titleSurface.d.ts +2 -24
- package/dist/types/components/Title/appearance/titleWarning.d.ts +2 -10
- package/dist/types/hooks/index.helpers.d.ts +3 -0
- package/dist/types/hooks/useActiveClasses/index.d.ts +2 -0
- package/dist/types/hooks/useActiveClasses/useActiveClasses.d.ts +3 -0
- package/dist/types/hooks/useActiveClasses/useActiveClasses.helpers.d.ts +5 -0
- package/dist/types/hooks/useActiveClasses/useActiveClasses.interface.d.ts +26 -0
- package/dist/types/hooks/useDevicePropsGenerator/useDevicePropsGenerator.d.ts +1 -1
- package/dist/types/hooks/useStyles/styleAttributes.interface.d.ts +3 -0
- package/package.json +6 -6
|
@@ -1,17 +1,19 @@
|
|
|
1
1
|
import { CSSProperties, ReactNode } from 'react';
|
|
2
|
-
import { AppearanceKeysDefault, AppearanceShapeKey, AppearanceSizeKey, AppearanceStyleKey, BorderColorHoverProps, BorderColorProps, BorderTypeProps, BorderWidthProps, CompositeAppearanceKey, FillHoverProps, FillProps, IconSizeProps, ShapeProps, ShapeStrengthProps, SizeProps, TextColorProps, TextSizeProps } from '@itcase/types';
|
|
2
|
+
import { AppearanceKeysDefault, AppearanceShapeKey, AppearanceSizeKey, AppearanceStyleKey, BorderColorHoverProps, BorderColorProps, BorderTypeProps, BorderWidthProps, CompositeAppearanceKey, FillHoverProps, FillProps, IconFillItemProps, IconFillProps, IconSizeProps, ShapeProps, ShapeStrengthProps, SizeProps, SvgFillItemProps, TextColorProps, TextSizeProps } from '@itcase/types';
|
|
3
3
|
import { StyleAttributes } from 'src/hooks/useStyles/styleAttributes.interface';
|
|
4
4
|
type BadgeAppearanceProps = {
|
|
5
5
|
borderColor?: BorderColorProps;
|
|
6
6
|
borderColorHover?: BorderColorHoverProps;
|
|
7
7
|
borderType?: BorderTypeProps;
|
|
8
8
|
borderWidth?: BorderWidthProps;
|
|
9
|
-
dotFill?:
|
|
9
|
+
dotFill?: SvgFillItemProps;
|
|
10
10
|
fill?: FillProps;
|
|
11
11
|
fillHover?: FillHoverProps;
|
|
12
|
-
iconFill?:
|
|
12
|
+
iconFill?: IconFillItemProps | IconFillProps;
|
|
13
13
|
iconShape?: ShapeProps;
|
|
14
14
|
iconSize?: IconSizeProps;
|
|
15
|
+
shape?: ShapeProps;
|
|
16
|
+
shapeStrength?: ShapeStrengthProps;
|
|
15
17
|
size?: SizeProps;
|
|
16
18
|
textColor?: TextColorProps;
|
|
17
19
|
textSize?: TextSizeProps;
|
|
@@ -24,11 +26,9 @@ type BadgeProps = BadgeAppearanceProps & StyleAttributes & {
|
|
|
24
26
|
icon?: string;
|
|
25
27
|
iconSrc?: string;
|
|
26
28
|
isSkeleton?: boolean;
|
|
27
|
-
shape?: ShapeProps;
|
|
28
|
-
shapeStrength?: ShapeStrengthProps;
|
|
29
29
|
style?: CSSProperties;
|
|
30
30
|
text?: string;
|
|
31
|
-
type?: '
|
|
31
|
+
type?: 'counter' | 'dot' | 'dot-icon-counter' | 'fill' | 'icon' | 'icon-counter';
|
|
32
32
|
value?: string;
|
|
33
33
|
};
|
|
34
34
|
type BadgeAppearanceKey = AppearanceKeysDefault | AppearanceShapeKey | AppearanceSizeKey | AppearanceStyleKey;
|
|
@@ -1,38 +1,3 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
fill: string;
|
|
4
|
-
borderColor: string;
|
|
5
|
-
textColor: string;
|
|
6
|
-
dotFill: string;
|
|
7
|
-
iconFill: string;
|
|
8
|
-
};
|
|
9
|
-
accentPrimary: {
|
|
10
|
-
fill: string;
|
|
11
|
-
borderColor: string;
|
|
12
|
-
textColor: string;
|
|
13
|
-
dotFill: string;
|
|
14
|
-
iconFill: string;
|
|
15
|
-
};
|
|
16
|
-
accentQuaternary: {
|
|
17
|
-
fill: string;
|
|
18
|
-
borderColor: string;
|
|
19
|
-
textColor: string;
|
|
20
|
-
dotFill: string;
|
|
21
|
-
iconFill: string;
|
|
22
|
-
};
|
|
23
|
-
accentSecondary: {
|
|
24
|
-
fill: string;
|
|
25
|
-
borderColor: string;
|
|
26
|
-
textColor: string;
|
|
27
|
-
dotFill: string;
|
|
28
|
-
iconFill: string;
|
|
29
|
-
};
|
|
30
|
-
accentTertiary: {
|
|
31
|
-
fill: string;
|
|
32
|
-
borderColor: string;
|
|
33
|
-
textColor: string;
|
|
34
|
-
dotFill: string;
|
|
35
|
-
iconFill: string;
|
|
36
|
-
};
|
|
37
|
-
};
|
|
1
|
+
import { BadgeAppearance } from '../Badge.interface';
|
|
2
|
+
declare const badgeAppearanceAccent: BadgeAppearance;
|
|
38
3
|
export { badgeAppearanceAccent };
|
|
@@ -1,17 +1,3 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
fill: string;
|
|
4
|
-
borderColor: string;
|
|
5
|
-
textColor: string;
|
|
6
|
-
dotFill: string;
|
|
7
|
-
iconFill: string;
|
|
8
|
-
};
|
|
9
|
-
dangerPrimary: {
|
|
10
|
-
fill: string;
|
|
11
|
-
borderColor: string;
|
|
12
|
-
textColor: string;
|
|
13
|
-
dotFill: string;
|
|
14
|
-
iconFill: string;
|
|
15
|
-
};
|
|
16
|
-
};
|
|
1
|
+
import { BadgeAppearance } from '../Badge.interface';
|
|
2
|
+
declare const badgeAppearanceDanger: BadgeAppearance;
|
|
17
3
|
export { badgeAppearanceDanger };
|
|
@@ -1,15 +1,3 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
fill: string;
|
|
4
|
-
borderColor: string;
|
|
5
|
-
textColor: string;
|
|
6
|
-
iconFill: string;
|
|
7
|
-
};
|
|
8
|
-
disabledPrimary: {
|
|
9
|
-
fill: string;
|
|
10
|
-
borderColor: string;
|
|
11
|
-
textColor: string;
|
|
12
|
-
iconFill: string;
|
|
13
|
-
};
|
|
14
|
-
};
|
|
1
|
+
import { BadgeAppearance } from "../Badge.interface";
|
|
2
|
+
declare const badgeAppearanceDisabled: BadgeAppearance;
|
|
15
3
|
export { badgeAppearanceDisabled };
|
|
@@ -1,17 +1,3 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
fill: string;
|
|
4
|
-
fillHover: string;
|
|
5
|
-
labelTextColor: string;
|
|
6
|
-
labelTextColorHover: string;
|
|
7
|
-
iconFill: string;
|
|
8
|
-
};
|
|
9
|
-
errorPrimary: {
|
|
10
|
-
fill: string;
|
|
11
|
-
fillHover: string;
|
|
12
|
-
labelTextColor: string;
|
|
13
|
-
labelTextColorHover: string;
|
|
14
|
-
iconFill: string;
|
|
15
|
-
};
|
|
16
|
-
};
|
|
1
|
+
import { BadgeAppearance } from "../Badge.interface";
|
|
2
|
+
declare const badgeAppearanceError: BadgeAppearance;
|
|
17
3
|
export { badgeAppearanceError };
|
|
@@ -1,16 +1,3 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
fill: string;
|
|
4
|
-
borderColor: string;
|
|
5
|
-
textColor: string;
|
|
6
|
-
dotFill: string;
|
|
7
|
-
iconFill: string;
|
|
8
|
-
};
|
|
9
|
-
infoSecondary: {
|
|
10
|
-
fill: string;
|
|
11
|
-
borderColor: string;
|
|
12
|
-
textColor: string;
|
|
13
|
-
dotFill: string;
|
|
14
|
-
};
|
|
15
|
-
};
|
|
1
|
+
import { BadgeAppearance } from "../Badge.interface";
|
|
2
|
+
declare const badgeAppearanceInfo: BadgeAppearance;
|
|
16
3
|
export { badgeAppearanceInfo };
|
|
@@ -1,17 +1,3 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
fill: string;
|
|
4
|
-
borderColor: string;
|
|
5
|
-
textColor: string;
|
|
6
|
-
dotFill: string;
|
|
7
|
-
iconFill: string;
|
|
8
|
-
};
|
|
9
|
-
primaryPrimary: {
|
|
10
|
-
fill: string;
|
|
11
|
-
borderColor: string;
|
|
12
|
-
textColor: string;
|
|
13
|
-
dotFill: string;
|
|
14
|
-
iconFill: string;
|
|
15
|
-
};
|
|
16
|
-
};
|
|
1
|
+
import { BadgeAppearance } from "../Badge.interface";
|
|
2
|
+
declare const badgeAppearancePrimary: BadgeAppearance;
|
|
17
3
|
export { badgeAppearancePrimary };
|
|
@@ -1,17 +1,3 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
fill: string;
|
|
4
|
-
borderColor: string;
|
|
5
|
-
textColor: string;
|
|
6
|
-
dotFill: string;
|
|
7
|
-
iconFill: string;
|
|
8
|
-
};
|
|
9
|
-
secondaryPrimary: {
|
|
10
|
-
fill: string;
|
|
11
|
-
borderColor: string;
|
|
12
|
-
textColor: string;
|
|
13
|
-
dotFill: string;
|
|
14
|
-
iconFill: string;
|
|
15
|
-
};
|
|
16
|
-
};
|
|
1
|
+
import { BadgeAppearance } from '../Badge.interface';
|
|
2
|
+
declare const badgeAppearanceSecondary: BadgeAppearance;
|
|
17
3
|
export { badgeAppearanceSecondary };
|
|
@@ -1,25 +1,3 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
shape: string;
|
|
4
|
-
};
|
|
5
|
-
rounded: {
|
|
6
|
-
shape: string;
|
|
7
|
-
};
|
|
8
|
-
roundedXL: {
|
|
9
|
-
shape: string;
|
|
10
|
-
shapeStrength: string;
|
|
11
|
-
};
|
|
12
|
-
roundedL: {
|
|
13
|
-
shape: string;
|
|
14
|
-
shapeStrength: string;
|
|
15
|
-
};
|
|
16
|
-
roundedM: {
|
|
17
|
-
shape: string;
|
|
18
|
-
shapeStrength: string;
|
|
19
|
-
};
|
|
20
|
-
roundedS: {
|
|
21
|
-
shape: string;
|
|
22
|
-
shapeStrength: string;
|
|
23
|
-
};
|
|
24
|
-
};
|
|
1
|
+
import { BadgeAppearance } from "../Badge.interface";
|
|
2
|
+
declare const badgeAppearanceShape: BadgeAppearance;
|
|
25
3
|
export { badgeAppearanceShape };
|
|
@@ -1,32 +1,3 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
size: string;
|
|
4
|
-
textSize: string;
|
|
5
|
-
iconSize: number;
|
|
6
|
-
};
|
|
7
|
-
sizeXL: {
|
|
8
|
-
size: string;
|
|
9
|
-
textSize: string;
|
|
10
|
-
};
|
|
11
|
-
sizeL: {
|
|
12
|
-
size: string;
|
|
13
|
-
textSize: string;
|
|
14
|
-
};
|
|
15
|
-
sizeM: {
|
|
16
|
-
size: string;
|
|
17
|
-
textSize: string;
|
|
18
|
-
};
|
|
19
|
-
sizeS: {
|
|
20
|
-
size: string;
|
|
21
|
-
textSize: string;
|
|
22
|
-
};
|
|
23
|
-
sizeXS: {
|
|
24
|
-
size: string;
|
|
25
|
-
textSize: string;
|
|
26
|
-
};
|
|
27
|
-
sizeXXS: {
|
|
28
|
-
size: string;
|
|
29
|
-
textSize: string;
|
|
30
|
-
};
|
|
31
|
-
};
|
|
1
|
+
import { BadgeAppearance } from '../Badge.interface';
|
|
2
|
+
declare const badgeAppearanceSize: BadgeAppearance;
|
|
32
3
|
export { badgeAppearanceSize };
|
|
@@ -1,14 +1,3 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
borderColor: string;
|
|
4
|
-
};
|
|
5
|
-
outlined: {
|
|
6
|
-
fill: string;
|
|
7
|
-
};
|
|
8
|
-
full: {};
|
|
9
|
-
ghost: {
|
|
10
|
-
fill: string;
|
|
11
|
-
borderColor: string;
|
|
12
|
-
};
|
|
13
|
-
};
|
|
1
|
+
import { BadgeAppearance } from "../Badge.interface";
|
|
2
|
+
declare const badgeAppearanceStyle: BadgeAppearance;
|
|
14
3
|
export { badgeAppearanceStyle };
|
|
@@ -1,17 +1,3 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
fill: string;
|
|
4
|
-
borderColor: string;
|
|
5
|
-
textColor: string;
|
|
6
|
-
dotFill: string;
|
|
7
|
-
iconFill: string;
|
|
8
|
-
};
|
|
9
|
-
successPrimary: {
|
|
10
|
-
fill: string;
|
|
11
|
-
borderColor: string;
|
|
12
|
-
textColor: string;
|
|
13
|
-
dotFill: string;
|
|
14
|
-
iconFill: string;
|
|
15
|
-
};
|
|
16
|
-
};
|
|
1
|
+
import { BadgeAppearance } from "../Badge.interface";
|
|
2
|
+
declare const badgeAppearanceSuccess: BadgeAppearance;
|
|
17
3
|
export { badgeAppearanceSuccess };
|
|
@@ -1,25 +1,3 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
fill: string;
|
|
4
|
-
borderColor: string;
|
|
5
|
-
textColor: string;
|
|
6
|
-
dotFill: string;
|
|
7
|
-
iconFill: string;
|
|
8
|
-
};
|
|
9
|
-
surfaceQuaternary: {
|
|
10
|
-
fill: string;
|
|
11
|
-
borderColor: string;
|
|
12
|
-
textColor: string;
|
|
13
|
-
};
|
|
14
|
-
surfaceSecondary: {
|
|
15
|
-
fill: string;
|
|
16
|
-
borderColor: string;
|
|
17
|
-
textColor: string;
|
|
18
|
-
};
|
|
19
|
-
surfaceTertiary: {
|
|
20
|
-
fill: string;
|
|
21
|
-
borderColor: string;
|
|
22
|
-
textColor: string;
|
|
23
|
-
};
|
|
24
|
-
};
|
|
1
|
+
import { BadgeAppearance } from "../Badge.interface";
|
|
2
|
+
declare const badgeAppearanceSurface: BadgeAppearance;
|
|
25
3
|
export { badgeAppearanceSurface };
|
|
@@ -1,17 +1,3 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
fill: string;
|
|
4
|
-
borderColor: string;
|
|
5
|
-
textColor: string;
|
|
6
|
-
dotFill: string;
|
|
7
|
-
iconFill: string;
|
|
8
|
-
};
|
|
9
|
-
warningPrimary: {
|
|
10
|
-
fill: string;
|
|
11
|
-
borderColor: string;
|
|
12
|
-
textColor: string;
|
|
13
|
-
dotFill: string;
|
|
14
|
-
iconFill: string;
|
|
15
|
-
};
|
|
16
|
-
};
|
|
1
|
+
import { BadgeAppearance } from "../Badge.interface";
|
|
2
|
+
declare const badgeAppearanceWarning: BadgeAppearance;
|
|
17
3
|
export { badgeAppearanceWarning };
|
|
@@ -1,10 +1,34 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import type { IconConfig } from '../Icon/Icon.interface';
|
|
3
3
|
declare const iconConfig: IconConfig;
|
|
4
|
-
declare const Icon: React.ForwardRefExoticComponent<{
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
4
|
+
declare const Icon: React.ForwardRefExoticComponent<Omit<import("../Icon/Icon.interface").IconAppearanceProps & import("../../hooks/useStyles/styleAttributes.interface").StyleAttributes & {
|
|
5
|
+
id?: string;
|
|
6
|
+
after?: React.ReactNode;
|
|
7
|
+
align?: import("@itcase/types").AlignProps;
|
|
8
|
+
appearance?: import("@itcase/types").CompositeAppearanceKey;
|
|
9
|
+
badgeClass?: string;
|
|
10
|
+
badgeValue?: string;
|
|
11
|
+
before?: React.ReactNode;
|
|
12
|
+
children?: React.ReactNode;
|
|
13
|
+
className?: string;
|
|
14
|
+
dataTestId?: string;
|
|
15
|
+
dataTour?: string;
|
|
16
|
+
icon?: string;
|
|
17
|
+
iconSrc?: string;
|
|
18
|
+
imageSrc: string;
|
|
19
|
+
isActive?: boolean;
|
|
20
|
+
isDisabled?: boolean;
|
|
21
|
+
isSkeleton?: boolean;
|
|
22
|
+
onClick?: () => void;
|
|
23
|
+
onMouseEnter?: () => void;
|
|
24
|
+
onMouseLeave?: () => void;
|
|
25
|
+
showTooltip?: boolean;
|
|
26
|
+
style?: React.CSSProperties;
|
|
27
|
+
SvgImage?: string;
|
|
28
|
+
text?: string;
|
|
29
|
+
title?: string;
|
|
30
|
+
tooltipText?: string;
|
|
31
|
+
tooltipTitle?: string;
|
|
32
|
+
type?: string;
|
|
33
|
+
} & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
10
34
|
export { Icon, iconConfig };
|
|
@@ -56,6 +56,7 @@ type IconProps = IconAppearanceProps & StyleAttributes & {
|
|
|
56
56
|
dataTour?: string;
|
|
57
57
|
icon?: string;
|
|
58
58
|
iconSrc?: string;
|
|
59
|
+
imageSrc: string;
|
|
59
60
|
isActive?: boolean;
|
|
60
61
|
isDisabled?: boolean;
|
|
61
62
|
isSkeleton?: boolean;
|
|
@@ -64,6 +65,7 @@ type IconProps = IconAppearanceProps & StyleAttributes & {
|
|
|
64
65
|
onMouseLeave?: () => void;
|
|
65
66
|
showTooltip?: boolean;
|
|
66
67
|
style?: CSSProperties;
|
|
68
|
+
SvgImage?: string;
|
|
67
69
|
text?: string;
|
|
68
70
|
title?: string;
|
|
69
71
|
tooltipText?: string;
|
|
@@ -86,9 +86,12 @@ export declare const radioAppearance: {
|
|
|
86
86
|
defaultPrimary: {
|
|
87
87
|
fill: string;
|
|
88
88
|
fillCheckmark: string;
|
|
89
|
+
fillDisabled: string;
|
|
90
|
+
fillRadioClass: string;
|
|
89
91
|
labelTextColor: string;
|
|
90
92
|
descTextColor: string;
|
|
91
93
|
borderColor: string;
|
|
94
|
+
borderColorCheckmark: string;
|
|
92
95
|
borderColorRadio: string;
|
|
93
96
|
borderColorRadioActive: string;
|
|
94
97
|
};
|
|
@@ -2,9 +2,12 @@ declare const radioAppearanceDefault: {
|
|
|
2
2
|
defaultPrimary: {
|
|
3
3
|
fill: string;
|
|
4
4
|
fillCheckmark: string;
|
|
5
|
+
fillDisabled: string;
|
|
6
|
+
fillRadioClass: string;
|
|
5
7
|
labelTextColor: string;
|
|
6
8
|
descTextColor: string;
|
|
7
9
|
borderColor: string;
|
|
10
|
+
borderColorCheckmark: string;
|
|
8
11
|
borderColorRadio: string;
|
|
9
12
|
borderColorRadioActive: string;
|
|
10
13
|
};
|