@itcase/ui 1.9.65 → 1.9.67
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_7PvPci1g.js → Avatar_cjs_Csg-sXFd.js} +2 -2
- package/dist/{Avatar_es_C9vlvHtG.js → Avatar_es_DL-WhLzX.js} +2 -2
- package/dist/{Button_cjs_Cvjl36t2.js → Button_cjs_Be04OG3x.js} +2 -2
- package/dist/{Button_es_6QV9VBPf.js → Button_es_8PXB_37O.js} +2 -2
- package/dist/{ChipsGroup_cjs_Cd3lDJj2.js → ChipsGroup_cjs_9GWtm58s.js} +1 -1
- package/dist/{ChipsGroup_es_BMj4Jk0l.js → ChipsGroup_es_PioCtqyW.js} +1 -1
- package/dist/{DatePicker_cjs_BzZeE49Y.js → DatePicker_cjs_BlaU0YLk.js} +4 -4
- package/dist/{DatePicker_es_Cl-fOLGY.js → DatePicker_es_CtVayJlP.js} +4 -4
- package/dist/{Group_cjs__Eja_1P4.js → Group_cjs_DOxxxshR.js} +1 -1
- package/dist/{Group_es_cz4hL9nk.js → Group_es_DDZnHcqu.js} +1 -1
- package/dist/{Image_cjs_CBFxErjT.js → Image_cjs_DfFBnuAs.js} +1 -1
- package/dist/{Image_es_B1l0a1fo.js → Image_es_DkQPBacV.js} +1 -1
- package/dist/{Input_cjs_B-Z-UP2J.js → Input_cjs_Cy96sAk3.js} +1 -1
- package/dist/{Input_es_DIpx6BYc.js → Input_es_xLzFw05Z.js} +1 -1
- package/dist/{Label_cjs_COgNWNhP.js → Label_cjs_CBw_6dpB.js} +1 -1
- package/dist/{Label_es_fV671Jew.js → Label_es_CXN6OA6J.js} +1 -1
- package/dist/{Loader_cjs_CfVJYf4T.js → Loader_cjs_DezOt9Q6.js} +1 -1
- package/dist/{Loader_es_C-sMV0xq.js → Loader_es_Cy7YeNYi.js} +1 -1
- package/dist/{Overlay_cjs_D4cisoCb.js → Overlay_cjs_C0GJUr0q.js} +1 -1
- package/dist/{Overlay_es_mVEoIoz5.js → Overlay_es_CS-afQoz.js} +1 -1
- package/dist/{SelectContainer_cjs_BLM8NQNa.js → SelectContainer_cjs_kVfpR_IQ.js} +3 -3
- package/dist/{SelectContainer_es_CNxXsYuI.js → SelectContainer_es_DLaJIthi.js} +3 -3
- package/dist/cjs/components/Accordion.js +1 -1
- package/dist/cjs/components/Avatar.js +3 -3
- package/dist/cjs/components/AvatarStack.js +4 -4
- package/dist/cjs/components/Badge.js +1 -1
- package/dist/cjs/components/Breadcrumbs.js +1 -1
- package/dist/cjs/components/Button.js +3 -3
- package/dist/cjs/components/Cell.js +2 -2
- package/dist/cjs/components/Checkbox.js +1 -1
- package/dist/cjs/components/Checkmark.js +1 -1
- package/dist/cjs/components/Chips.js +2 -2
- package/dist/cjs/components/Choice.js +2 -2
- package/dist/cjs/components/Code.js +1 -1
- package/dist/cjs/components/CookiesWarning.js +3 -3
- package/dist/cjs/components/Dadata.js +2 -2
- package/dist/cjs/components/DatePeriod.js +9 -9
- package/dist/cjs/components/DatePicker.js +6 -6
- package/dist/cjs/components/Divider.js +1 -1
- package/dist/cjs/components/Dot.js +1 -1
- package/dist/cjs/components/Drawer.js +1 -1
- package/dist/cjs/components/Dropdown.js +1 -1
- package/dist/cjs/components/Dropzone.js +3 -3
- package/dist/cjs/components/Flex.js +1 -1
- package/dist/cjs/components/Grid.js +1 -1
- package/dist/cjs/components/Group.js +2 -2
- package/dist/cjs/components/HTMLContent.js +1 -1
- package/dist/cjs/components/HeroTitle.js +1 -1
- package/dist/cjs/components/Icon.js +1 -1
- package/dist/cjs/components/Image.js +2 -2
- package/dist/cjs/components/Input.js +2 -2
- package/dist/cjs/components/InputNumber.js +3 -3
- package/dist/cjs/components/InputPassword.js +1 -1
- package/dist/cjs/components/Label.js +2 -2
- package/dist/cjs/components/Link.js +1 -1
- package/dist/cjs/components/List.js +1 -1
- package/dist/cjs/components/Loader.js +2 -2
- package/dist/cjs/components/Logo.js +1 -1
- package/dist/cjs/components/MenuItem.js +1 -1
- package/dist/cjs/components/Modal.js +3 -3
- package/dist/cjs/components/ModalSheetBottom.js +1 -1
- package/dist/cjs/components/Notification.js +3 -3
- package/dist/cjs/components/Overlay.js +2 -2
- package/dist/cjs/components/Pagination.js +1 -1
- package/dist/cjs/components/Radio.js +1 -1
- package/dist/cjs/components/RangeSlider.js +1 -1
- package/dist/cjs/components/Response.js +4 -4
- package/dist/cjs/components/SVGContent.js +1 -1
- package/dist/cjs/components/ScrollOnDrag.js +1 -1
- package/dist/cjs/components/ScrollToView.js +1 -1
- package/dist/cjs/components/Search.js +1 -1
- package/dist/cjs/components/Segmented.js +1 -1
- package/dist/cjs/components/Select.js +4 -4
- package/dist/cjs/components/Swiper.js +2 -2
- package/dist/cjs/components/Switch.js +1 -1
- package/dist/cjs/components/Tab.js +2 -1
- package/dist/cjs/components/Text.js +1 -1
- package/dist/cjs/components/Textarea.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/cjs/components/Video.js +1 -1
- package/dist/cjs/components/Warning.js +1 -1
- package/dist/cjs/context/Notifications.js +1 -1
- package/dist/cjs/context/UIContext.js +1 -1
- package/dist/cjs/context/UrlAssetPrefix.js +1 -1
- package/dist/cjs/hoc/urlWithAssetPrefix.js +1 -1
- package/dist/cjs/hooks/useAppearanceConfig/useAppearanceConfig.js +1 -1
- package/dist/cjs/hooks/useAppearanceConfig.js +1 -1
- package/dist/cjs/hooks/useDevicePropsGenerator/useDevicePropsGenerator.js +1 -1
- package/dist/cjs/hooks/useDevicePropsGenerator.js +1 -1
- package/dist/cjs/hooks/useDeviceTargetClass.js +1 -1
- package/dist/cjs/hooks/useMediaQueries/useMediaQueries.js +1 -1
- package/dist/cjs/hooks/useMediaQueries.js +1 -1
- package/dist/cjs/hooks/useStyles/styleAttributes.js +1 -1
- package/dist/cjs/hooks/useStyles/useStyles.js +1 -1
- package/dist/cjs/hooks/useStyles.js +1 -1
- package/dist/cjs/hooks.js +1 -1
- package/dist/cjs/utils/mergeAppearanceKeys.js +1 -1
- package/dist/cjs/utils/setViewportProperty.js +1 -1
- package/dist/cjs/utils.js +1 -1
- package/dist/components/Accordion.js +1 -1
- package/dist/components/Avatar.js +3 -3
- package/dist/components/AvatarStack.js +4 -4
- package/dist/components/Badge.js +1 -1
- package/dist/components/Breadcrumbs.js +1 -1
- package/dist/components/Button.js +3 -3
- package/dist/components/Cell.js +2 -2
- package/dist/components/Checkbox.js +1 -1
- package/dist/components/Checkmark.js +1 -1
- package/dist/components/Chips.js +2 -2
- package/dist/components/Choice.js +2 -2
- package/dist/components/Code.js +1 -1
- package/dist/components/CookiesWarning.js +3 -3
- package/dist/components/Dadata.js +2 -2
- package/dist/components/DatePeriod.js +9 -9
- package/dist/components/DatePicker.js +6 -6
- package/dist/components/Divider.js +1 -1
- package/dist/components/Dot.js +1 -1
- package/dist/components/Drawer.js +1 -1
- package/dist/components/Dropdown.js +1 -1
- package/dist/components/Dropzone.js +3 -3
- package/dist/components/Flex.js +1 -1
- package/dist/components/Grid.js +1 -1
- package/dist/components/Group.js +2 -2
- package/dist/components/HTMLContent.js +1 -1
- package/dist/components/HeroTitle.js +1 -1
- package/dist/components/Icon.js +1 -1
- package/dist/components/Image.js +2 -2
- package/dist/components/Input.js +2 -2
- package/dist/components/InputNumber.js +3 -3
- package/dist/components/InputPassword.js +1 -1
- package/dist/components/Label.js +2 -2
- package/dist/components/Link.js +1 -1
- package/dist/components/List.js +1 -1
- package/dist/components/Loader.js +2 -2
- package/dist/components/Logo.js +1 -1
- package/dist/components/MenuItem.js +1 -1
- package/dist/components/Modal.js +3 -3
- package/dist/components/ModalSheetBottom.js +1 -1
- package/dist/components/Notification.js +3 -3
- package/dist/components/Overlay.js +2 -2
- package/dist/components/Pagination.js +1 -1
- package/dist/components/Radio.js +1 -1
- package/dist/components/RangeSlider.js +1 -1
- package/dist/components/Response.js +4 -4
- package/dist/components/SVGContent.js +1 -1
- package/dist/components/ScrollOnDrag.js +1 -1
- package/dist/components/ScrollToView.js +1 -1
- package/dist/components/Search.js +1 -1
- package/dist/components/Segmented.js +1 -1
- package/dist/components/Select.js +4 -4
- package/dist/components/Swiper.js +2 -2
- package/dist/components/Switch.js +1 -1
- package/dist/components/Tab.js +2 -1
- package/dist/components/Text.js +1 -1
- package/dist/components/Textarea.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/components/Video.js +1 -1
- package/dist/components/Warning.js +1 -1
- package/dist/context/Notifications.js +12 -186
- package/dist/context/UIContext.js +12 -70
- package/dist/context/UrlAssetPrefix.js +12 -12
- package/dist/hoc/urlWithAssetPrefix.js +12 -74
- package/dist/hooks/useActiveClasses/useActiveClasses.helpers.js +1 -0
- package/dist/hooks/useActiveClasses/useActiveClasses.interface.js +1 -0
- package/dist/hooks/useActiveClasses/useActiveClasses.js +3 -1
- package/dist/hooks/useAppearanceConfig/useAppearanceConfig.js +12 -25
- package/dist/hooks/useAppearanceConfig.js +1 -1
- package/dist/hooks/useDevicePropsGenerator/useDevicePropsGenerator.interface.js +1 -1
- package/dist/hooks/useDevicePropsGenerator/useDevicePropsGenerator.js +12 -121
- package/dist/hooks/useDevicePropsGenerator.js +1 -1
- package/dist/hooks/useDeviceTargetClass.js +52 -37
- package/dist/hooks/useDropzoneFieldFiles.js +20540 -2
- package/dist/hooks/useHoldProgress.js +3 -1
- package/dist/hooks/useMediaQueries/useMediaQueries.js +12 -112
- package/dist/hooks/useMediaQueries.js +1 -1
- package/dist/hooks/useStyles/styleAttributes.interface.js +1 -1
- package/dist/hooks/useStyles/styleAttributes.js +12 -167
- package/dist/hooks/useStyles/useStyles.js +12 -193
- package/dist/hooks/useStyles.js +1 -1
- package/dist/hooks/useViewportFix.js +2 -0
- package/dist/hooks.js +1 -1
- package/dist/{primitives_cjs_B0VJShTC.js → primitives_cjs_BM6q7o8p.js} +3 -3
- package/dist/{primitives_es_dSATude_.js → primitives_es_C7NgMhaK.js} +3 -3
- package/dist/types/components/Icon/Icon.d.ts +2 -1
- package/dist/types/components/Icon/Icon.interface.d.ts +3 -2
- package/dist/utils/mergeAppearanceKeys.js +12 -15
- package/dist/utils/setViewportProperty.js +12 -5
- package/dist/utils.js +1 -1
- package/package.json +8 -8
- package/dist/components/Accordion/Accordion.appearance.js +0 -9
- package/dist/components/Accordion/Accordion.interface.js +0 -1
- package/dist/components/Accordion/Accordion.js +0 -57
- package/dist/components/Accordion/AccordionItem.js +0 -36
- package/dist/components/Accordion/appearance/accordionSize.js +0 -52
- package/dist/components/Accordion/appearance/accordionStyle.js +0 -14
- package/dist/components/Accordion/appearance/accordionSurface.js +0 -36
- package/dist/components/Accordion/index.js +0 -4
- package/dist/components/Avatar/Avatar.appearance.js +0 -11
- package/dist/components/Avatar/Avatar.interface.js +0 -1
- package/dist/components/Avatar/Avatar.js +0 -29
- package/dist/components/Avatar/appearance/avatarDefault.js +0 -23
- package/dist/components/Avatar/appearance/avatarShape.js +0 -25
- package/dist/components/Avatar/appearance/avatarSize.js +0 -63
- package/dist/components/Avatar/appearance/avatarStyle.js +0 -16
- package/dist/components/Avatar/index.js +0 -2
- package/dist/components/AvatarStack/AvatarStack.appearance.js +0 -5
- package/dist/components/AvatarStack/AvatarStack.interface.js +0 -1
- package/dist/components/AvatarStack/AvatarStack.js +0 -25
- package/dist/components/AvatarStack/appearance/avatarStackSize.js +0 -21
- package/dist/components/AvatarStack/index.js +0 -2
- package/dist/components/Badge/Badge.appearance.js +0 -29
- package/dist/components/Badge/Badge.interface.js +0 -1
- package/dist/components/Badge/Badge.js +0 -35
- package/dist/components/Badge/appearance/badgeAccent.js +0 -31
- package/dist/components/Badge/appearance/badgeDanger.js +0 -10
- package/dist/components/Badge/appearance/badgeDisabled.js +0 -9
- package/dist/components/Badge/appearance/badgeError.js +0 -9
- package/dist/components/Badge/appearance/badgeExtra.js +0 -10
- package/dist/components/Badge/appearance/badgeInfo.js +0 -16
- package/dist/components/Badge/appearance/badgeShape.js +0 -25
- package/dist/components/Badge/appearance/badgeSize.js +0 -38
- package/dist/components/Badge/appearance/badgeSpecial.js +0 -10
- package/dist/components/Badge/appearance/badgeStyle.js +0 -14
- package/dist/components/Badge/appearance/badgeSuccess.js +0 -10
- package/dist/components/Badge/appearance/badgeSurface.js +0 -25
- package/dist/components/Badge/appearance/badgeWarning.js +0 -10
- package/dist/components/Badge/index.js +0 -2
- package/dist/components/Breadcrumbs/Breadcrumbs.appearance.js +0 -11
- package/dist/components/Breadcrumbs/Breadcrumbs.interface.js +0 -1
- package/dist/components/Breadcrumbs/Breadcrumbs.js +0 -23
- package/dist/components/Breadcrumbs/BreadcrumbsItem.js +0 -24
- package/dist/components/Breadcrumbs/appearance/breadcrumbsAccent.js +0 -9
- package/dist/components/Breadcrumbs/appearance/breadcrumbsSize.js +0 -39
- package/dist/components/Breadcrumbs/appearance/breadcrumbsStyle.js +0 -14
- package/dist/components/Breadcrumbs/appearance/breadcrumbsSurface.js +0 -27
- package/dist/components/Breadcrumbs/index.js +0 -4
- package/dist/components/Button/Button.appearance.js +0 -27
- package/dist/components/Button/Button.interface.js +0 -1
- package/dist/components/Button/Button.js +0 -46
- package/dist/components/Button/appearance/buttonAccent.js +0 -36
- package/dist/components/Button/appearance/buttonDanger.js +0 -24
- package/dist/components/Button/appearance/buttonError.js +0 -24
- package/dist/components/Button/appearance/buttonExtra.js +0 -22
- package/dist/components/Button/appearance/buttonInfo.js +0 -36
- package/dist/components/Button/appearance/buttonShape.js +0 -25
- package/dist/components/Button/appearance/buttonSize.js +0 -52
- package/dist/components/Button/appearance/buttonSpecial.js +0 -22
- package/dist/components/Button/appearance/buttonStyle.js +0 -14
- package/dist/components/Button/appearance/buttonSuccess.js +0 -24
- package/dist/components/Button/appearance/buttonSurface.js +0 -52
- package/dist/components/Button/appearance/buttonWarning.js +0 -24
- package/dist/components/Button/index.js +0 -2
- package/dist/components/Cell/Cell.appearance.js +0 -9
- package/dist/components/Cell/Cell.interface.js +0 -1
- package/dist/components/Cell/Cell.js +0 -36
- package/dist/components/Cell/appearance/cellSize.js +0 -59
- package/dist/components/Cell/appearance/cellStyle.js +0 -14
- package/dist/components/Cell/appearance/cellSurface.js +0 -51
- package/dist/components/Cell/index.js +0 -2
- package/dist/components/Checkbox/Checkbox.appearance.js +0 -19
- package/dist/components/Checkbox/Checkbox.interface.js +0 -1
- package/dist/components/Checkbox/Checkbox.js +0 -39
- package/dist/components/Checkbox/appearance/checkboxDefault.js +0 -16
- package/dist/components/Checkbox/appearance/checkboxDisabled.js +0 -16
- package/dist/components/Checkbox/appearance/checkboxError.js +0 -16
- package/dist/components/Checkbox/appearance/checkboxRequire.js +0 -16
- package/dist/components/Checkbox/appearance/checkboxShape.js +0 -10
- package/dist/components/Checkbox/appearance/checkboxSize.js +0 -23
- package/dist/components/Checkbox/appearance/checkboxStyle.js +0 -22
- package/dist/components/Checkbox/appearance/checkboxSuccess.js +0 -16
- package/dist/components/Checkbox/index.js +0 -2
- package/dist/components/Checkmark/Checkmark.appearance.js +0 -15
- package/dist/components/Checkmark/Checkmark.interface.js +0 -1
- package/dist/components/Checkmark/Checkmark.js +0 -33
- package/dist/components/Checkmark/appearance/checkmarkAccent.js +0 -10
- package/dist/components/Checkmark/appearance/checkmarkDisabled.js +0 -10
- package/dist/components/Checkmark/appearance/checkmarkError.js +0 -10
- package/dist/components/Checkmark/appearance/checkmarkSize.js +0 -32
- package/dist/components/Checkmark/appearance/checkmarkStyle.js +0 -14
- package/dist/components/Checkmark/appearance/checkmarkSurface.js +0 -21
- package/dist/components/Checkmark/index.js +0 -2
- package/dist/components/Chips/Chips.appearance.js +0 -29
- package/dist/components/Chips/Chips.interface.js +0 -1
- package/dist/components/Chips/Chips.js +0 -28
- package/dist/components/Chips/ChipsGroup.js +0 -19
- package/dist/components/Chips/appearance/chipsAccent.js +0 -24
- package/dist/components/Chips/appearance/chipsDanger.js +0 -17
- package/dist/components/Chips/appearance/chipsDisabled.js +0 -14
- package/dist/components/Chips/appearance/chipsError.js +0 -17
- package/dist/components/Chips/appearance/chipsExtra.js +0 -17
- package/dist/components/Chips/appearance/chipsInfo.js +0 -17
- package/dist/components/Chips/appearance/chipsShape.js +0 -25
- package/dist/components/Chips/appearance/chipsSize.js +0 -45
- package/dist/components/Chips/appearance/chipsSpecial.js +0 -17
- package/dist/components/Chips/appearance/chipsStyle.js +0 -14
- package/dist/components/Chips/appearance/chipsSuccess.js +0 -17
- package/dist/components/Chips/appearance/chipsSurface.js +0 -45
- package/dist/components/Chips/appearance/chipsWarning.js +0 -17
- package/dist/components/Chips/index.js +0 -3
- package/dist/components/Choice/Choice.appearance.js +0 -19
- package/dist/components/Choice/Choice.interface.js +0 -1
- package/dist/components/Choice/Choice.js +0 -57
- package/dist/components/Choice/appearance/choiceDefault.js +0 -37
- package/dist/components/Choice/appearance/choiceDisabled.js +0 -18
- package/dist/components/Choice/appearance/choiceError.js +0 -17
- package/dist/components/Choice/appearance/choiceRequire.js +0 -18
- package/dist/components/Choice/appearance/choiceShape.js +0 -25
- package/dist/components/Choice/appearance/choiceSize.js +0 -18
- package/dist/components/Choice/appearance/choiceStyle.js +0 -14
- package/dist/components/Choice/appearance/choiceSuccess.js +0 -18
- package/dist/components/Choice/index.js +0 -2
- package/dist/components/Code/Code.appearance.js +0 -19
- package/dist/components/Code/Code.interface.js +0 -1
- package/dist/components/Code/Code.js +0 -37
- package/dist/components/Code/appearance/codeDefault.js +0 -11
- package/dist/components/Code/appearance/codeDisabled.js +0 -12
- package/dist/components/Code/appearance/codeError.js +0 -12
- package/dist/components/Code/appearance/codeRequire.js +0 -12
- package/dist/components/Code/appearance/codeShape.js +0 -25
- package/dist/components/Code/appearance/codeSize.js +0 -13
- package/dist/components/Code/appearance/codeStyle.js +0 -16
- package/dist/components/Code/appearance/codeSuccess.js +0 -12
- package/dist/components/Code/index.js +0 -2
- package/dist/components/CookiesWarning/CookiesWarning.appearance.js +0 -5
- package/dist/components/CookiesWarning/CookiesWarning.interface.js +0 -1
- package/dist/components/CookiesWarning/CookiesWarning.js +0 -42
- package/dist/components/CookiesWarning/appearance/cookiesWarningDefault.js +0 -12
- package/dist/components/CookiesWarning/index.js +0 -3
- package/dist/components/Dadata/Dadata.interface.js +0 -1
- package/dist/components/Dadata/Dadata.js +0 -35
- package/dist/components/Dadata/index.js +0 -1
- package/dist/components/DatePeriod/DatePeriod.appearance.js +0 -9
- package/dist/components/DatePeriod/DatePeriod.interface.js +0 -1
- package/dist/components/DatePeriod/DatePeriod.js +0 -60
- package/dist/components/DatePeriod/appearance/datePeriodShape.js +0 -35
- package/dist/components/DatePeriod/appearance/datePeriodSize.js +0 -24
- package/dist/components/DatePeriod/appearance/datePeriodSurface.js +0 -17
- package/dist/components/DatePeriod/index.js +0 -2
- package/dist/components/DatePicker/DatePicker.appearance.js +0 -9
- package/dist/components/DatePicker/DatePicker.interface.js +0 -1
- package/dist/components/DatePicker/DatePicker.js +0 -110
- package/dist/components/DatePicker/DatePicker.utils.js +0 -12
- package/dist/components/DatePicker/appearance/datePickerSize.js +0 -31
- package/dist/components/DatePicker/appearance/datePickerStyle.js +0 -20
- package/dist/components/DatePicker/appearance/datePickerSurface.js +0 -14
- package/dist/components/DatePicker/index.js +0 -2
- package/dist/components/Divider/Divider.appearance.js +0 -19
- package/dist/components/Divider/Divider.interface.js +0 -1
- package/dist/components/Divider/Divider.js +0 -25
- package/dist/components/Divider/appearance/dividerAccent.js +0 -6
- package/dist/components/Divider/appearance/dividerError.js +0 -6
- package/dist/components/Divider/appearance/dividerExtra.js +0 -6
- package/dist/components/Divider/appearance/dividerSize.js +0 -12
- package/dist/components/Divider/appearance/dividerSpecial.js +0 -6
- package/dist/components/Divider/appearance/dividerSuccess.js +0 -6
- package/dist/components/Divider/appearance/dividerSurface.js +0 -15
- package/dist/components/Divider/appearance/dividerWarning.js +0 -6
- package/dist/components/Divider/index.js +0 -2
- package/dist/components/Dot/Dot.interface.js +0 -1
- package/dist/components/Dot/Dot.js +0 -12
- package/dist/components/Dot/index.js +0 -1
- package/dist/components/Drawer/Drawer.appearance.js +0 -7
- package/dist/components/Drawer/Drawer.constants.js +0 -16
- package/dist/components/Drawer/Drawer.interface.js +0 -1
- package/dist/components/Drawer/Drawer.js +0 -65
- package/dist/components/Drawer/appearance/drawerSize.js +0 -8
- package/dist/components/Drawer/appearance/drawerSurface.js +0 -10
- package/dist/components/Drawer/index.js +0 -2
- package/dist/components/Dropdown/Dropdown.appearance.js +0 -13
- package/dist/components/Dropdown/Dropdown.interface.js +0 -1
- package/dist/components/Dropdown/Dropdown.js +0 -56
- package/dist/components/Dropdown/DropdownItem.appearance.js +0 -13
- package/dist/components/Dropdown/DropdownItem.js +0 -31
- package/dist/components/Dropdown/appearance/dropdownAccent.js +0 -24
- package/dist/components/Dropdown/appearance/dropdownShape.js +0 -25
- package/dist/components/Dropdown/appearance/dropdownSize.js +0 -39
- package/dist/components/Dropdown/appearance/dropdownStyle.js +0 -14
- package/dist/components/Dropdown/appearance/dropdownSurface.js +0 -32
- package/dist/components/Dropdown/index.js +0 -4
- package/dist/components/Dropzone/Dropzone.appearance.js +0 -15
- package/dist/components/Dropzone/Dropzone.interface.js +0 -1
- package/dist/components/Dropzone/Dropzone.js +0 -131
- package/dist/components/Dropzone/appearance/dropzoneDefault.js +0 -17
- package/dist/components/Dropzone/appearance/dropzoneDisabled.js +0 -17
- package/dist/components/Dropzone/appearance/dropzoneError.js +0 -17
- package/dist/components/Dropzone/appearance/dropzoneRequire.js +0 -17
- package/dist/components/Dropzone/appearance/dropzoneShape.js +0 -25
- package/dist/components/Dropzone/appearance/dropzoneSuccess.js +0 -17
- package/dist/components/Dropzone/index.js +0 -1
- package/dist/components/Flex/Flex.interface.js +0 -1
- package/dist/components/Flex/Flex.js +0 -12
- package/dist/components/Flex/FlexItem.js +0 -13
- package/dist/components/Flex/index.js +0 -3
- package/dist/components/Grid/Grid.interface.js +0 -1
- package/dist/components/Grid/Grid.js +0 -12
- package/dist/components/Grid/GridItem.js +0 -12
- package/dist/components/Grid/GridRow.js +0 -12
- package/dist/components/Grid/index.js +0 -4
- package/dist/components/Group/Group.appearance.js +0 -2
- package/dist/components/Group/Group.interface.js +0 -1
- package/dist/components/Group/Group.js +0 -43
- package/dist/components/Group/index.js +0 -2
- package/dist/components/HTMLContent/HTMLContent.interface.js +0 -1
- package/dist/components/HTMLContent/HTMLContent.js +0 -12
- package/dist/components/HTMLContent/index.js +0 -1
- package/dist/components/HeroTitle/HeroTitle.appearance.js +0 -5
- package/dist/components/HeroTitle/HeroTitle.interface.js +0 -1
- package/dist/components/HeroTitle/HeroTitle.js +0 -30
- package/dist/components/HeroTitle/appearance/heroTitleSize.js +0 -21
- package/dist/components/HeroTitle/index.js +0 -2
- package/dist/components/Icon/Icon.appearance.js +0 -29
- package/dist/components/Icon/Icon.interface.js +0 -1
- package/dist/components/Icon/Icon.js +0 -69
- package/dist/components/Icon/appearance/iconAccent.js +0 -16
- package/dist/components/Icon/appearance/iconDanger.js +0 -10
- package/dist/components/Icon/appearance/iconDisabled.js +0 -9
- package/dist/components/Icon/appearance/iconError.js +0 -10
- package/dist/components/Icon/appearance/iconExtra.js +0 -10
- package/dist/components/Icon/appearance/iconInfo.js +0 -15
- package/dist/components/Icon/appearance/iconShape.js +0 -25
- package/dist/components/Icon/appearance/iconSize.js +0 -171
- package/dist/components/Icon/appearance/iconSpecial.js +0 -10
- package/dist/components/Icon/appearance/iconStyle.js +0 -14
- package/dist/components/Icon/appearance/iconSuccess.js +0 -10
- package/dist/components/Icon/appearance/iconSurface.js +0 -28
- package/dist/components/Icon/appearance/iconWarning.js +0 -10
- package/dist/components/Icon/index.js +0 -2
- package/dist/components/Image/Image.interface.js +0 -1
- package/dist/components/Image/Image.js +0 -33
- package/dist/components/Image/index.js +0 -1
- package/dist/components/Input/Input.appearance.js +0 -19
- package/dist/components/Input/Input.interface.js +0 -1
- package/dist/components/Input/Input.js +0 -22
- package/dist/components/Input/appearance/inputDefault.js +0 -21
- package/dist/components/Input/appearance/inputDisabled.js +0 -17
- package/dist/components/Input/appearance/inputError.js +0 -18
- package/dist/components/Input/appearance/inputRequire.js +0 -19
- package/dist/components/Input/appearance/inputShape.js +0 -25
- package/dist/components/Input/appearance/inputSize.js +0 -31
- package/dist/components/Input/appearance/inputStyle.js +0 -16
- package/dist/components/Input/appearance/inputSuccess.js +0 -18
- package/dist/components/Input/index.js +0 -2
- package/dist/components/InputNumber/InputNumber.appearance.js +0 -11
- package/dist/components/InputNumber/InputNumber.interfaces.js +0 -1
- package/dist/components/InputNumber/InputNumber.js +0 -44
- package/dist/components/InputNumber/appearance/InputNumberShape.js +0 -25
- package/dist/components/InputNumber/appearance/inputNumberSize.js +0 -28
- package/dist/components/InputNumber/appearance/inputNumberStyle.js +0 -16
- package/dist/components/InputNumber/appearance/inputNumberSurface.js +0 -16
- package/dist/components/InputNumber/index.js +0 -2
- package/dist/components/InputPassword/InputPassword.appearance.js +0 -19
- package/dist/components/InputPassword/InputPassword.interface.js +0 -1
- package/dist/components/InputPassword/InputPassword.js +0 -31
- package/dist/components/InputPassword/appearance/inputPasswordDefault.js +0 -24
- package/dist/components/InputPassword/appearance/inputPasswordDisabled.js +0 -21
- package/dist/components/InputPassword/appearance/inputPasswordError.js +0 -21
- package/dist/components/InputPassword/appearance/inputPasswordRequire.js +0 -21
- package/dist/components/InputPassword/appearance/inputPasswordShape.js +0 -25
- package/dist/components/InputPassword/appearance/inputPasswordSize.js +0 -38
- package/dist/components/InputPassword/appearance/inputPasswordStyle.js +0 -16
- package/dist/components/InputPassword/appearance/inputPasswordSuccess.js +0 -21
- package/dist/components/InputPassword/index.js +0 -2
- package/dist/components/Label/Label.appearance.js +0 -31
- package/dist/components/Label/Label.interface.js +0 -1
- package/dist/components/Label/Label.js +0 -32
- package/dist/components/Label/appearance/labelAccent.js +0 -21
- package/dist/components/Label/appearance/labelDanger.js +0 -17
- package/dist/components/Label/appearance/labelDisabled.js +0 -10
- package/dist/components/Label/appearance/labelError.js +0 -17
- package/dist/components/Label/appearance/labelExtra.js +0 -17
- package/dist/components/Label/appearance/labelGradient.js +0 -10
- package/dist/components/Label/appearance/labelInfo.js +0 -17
- package/dist/components/Label/appearance/labelShape.js +0 -25
- package/dist/components/Label/appearance/labelSize.js +0 -59
- package/dist/components/Label/appearance/labelSpecial.js +0 -17
- package/dist/components/Label/appearance/labelStyle.js +0 -14
- package/dist/components/Label/appearance/labelSuccess.js +0 -17
- package/dist/components/Label/appearance/labelSurface.js +0 -25
- package/dist/components/Label/appearance/labelWarning.js +0 -17
- package/dist/components/Label/index.js +0 -2
- package/dist/components/Link/Link.appearance.js +0 -29
- package/dist/components/Link/Link.interface.js +0 -1
- package/dist/components/Link/Link.js +0 -50
- package/dist/components/Link/appearance/linkAccent.js +0 -15
- package/dist/components/Link/appearance/linkDanger.js +0 -7
- package/dist/components/Link/appearance/linkDisabled.js +0 -13
- package/dist/components/Link/appearance/linkError.js +0 -9
- package/dist/components/Link/appearance/linkExtra.js +0 -8
- package/dist/components/Link/appearance/linkInfo.js +0 -17
- package/dist/components/Link/appearance/linkRequire.js +0 -12
- package/dist/components/Link/appearance/linkSize.js +0 -59
- package/dist/components/Link/appearance/linkSpecial.js +0 -8
- package/dist/components/Link/appearance/linkStyle.js +0 -16
- package/dist/components/Link/appearance/linkSuccess.js +0 -9
- package/dist/components/Link/appearance/linkSurface.js +0 -23
- package/dist/components/Link/appearance/linkWarning.js +0 -9
- package/dist/components/Link/index.js +0 -2
- package/dist/components/List/List.appearance.js +0 -25
- package/dist/components/List/List.interface.js +0 -1
- package/dist/components/List/List.js +0 -22
- package/dist/components/List/ListItem.js +0 -16
- package/dist/components/List/appearance/listAccent.js +0 -8
- package/dist/components/List/appearance/listDanger.js +0 -7
- package/dist/components/List/appearance/listError.js +0 -7
- package/dist/components/List/appearance/listExtra.js +0 -7
- package/dist/components/List/appearance/listInfo.js +0 -13
- package/dist/components/List/appearance/listSize.js +0 -24
- package/dist/components/List/appearance/listSpecial.js +0 -7
- package/dist/components/List/appearance/listStyle.js +0 -16
- package/dist/components/List/appearance/listSuccess.js +0 -7
- package/dist/components/List/appearance/listSurface.js +0 -19
- package/dist/components/List/appearance/listWarning.js +0 -7
- package/dist/components/List/index.js +0 -3
- package/dist/components/Loader/Loader.appearance.js +0 -25
- package/dist/components/Loader/Loader.interface.js +0 -1
- package/dist/components/Loader/Loader.js +0 -22
- package/dist/components/Loader/appearance/loaderAccent.js +0 -13
- package/dist/components/Loader/appearance/loaderDanger.js +0 -8
- package/dist/components/Loader/appearance/loaderError.js +0 -8
- package/dist/components/Loader/appearance/loaderExtra.js +0 -8
- package/dist/components/Loader/appearance/loaderInfo.js +0 -8
- package/dist/components/Loader/appearance/loaderSize.js +0 -15
- package/dist/components/Loader/appearance/loaderSpecial.js +0 -8
- package/dist/components/Loader/appearance/loaderStyle.js +0 -14
- package/dist/components/Loader/appearance/loaderSuccess.js +0 -8
- package/dist/components/Loader/appearance/loaderSurface.js +0 -18
- package/dist/components/Loader/appearance/loaderWarning.js +0 -8
- package/dist/components/Loader/index.js +0 -2
- package/dist/components/Logo/Logo.interface.js +0 -1
- package/dist/components/Logo/Logo.js +0 -23
- package/dist/components/Logo/index.js +0 -1
- package/dist/components/MenuItem/MenuItem.appearance.js +0 -15
- package/dist/components/MenuItem/MenuItem.interface.js +0 -1
- package/dist/components/MenuItem/MenuItem.js +0 -47
- package/dist/components/MenuItem/appearance/menuItemAccent.js +0 -27
- package/dist/components/MenuItem/appearance/menuItemError.js +0 -19
- package/dist/components/MenuItem/appearance/menuItemShape.js +0 -25
- package/dist/components/MenuItem/appearance/menuItemSize.js +0 -47
- package/dist/components/MenuItem/appearance/menuItemStyle.js +0 -14
- package/dist/components/MenuItem/appearance/menuItemSurface.js +0 -45
- package/dist/components/MenuItem/index.js +0 -2
- package/dist/components/Modal/Modal.appearance.js +0 -11
- package/dist/components/Modal/Modal.interface.js +0 -1
- package/dist/components/Modal/Modal.js +0 -139
- package/dist/components/Modal/ModalLoader.js +0 -6
- package/dist/components/Modal/appearance/modalShape.js +0 -25
- package/dist/components/Modal/appearance/modalSize.js +0 -28
- package/dist/components/Modal/appearance/modalStyle.js +0 -14
- package/dist/components/Modal/appearance/modalSurface.js +0 -8
- package/dist/components/Modal/index.js +0 -4
- package/dist/components/ModalSheetBottom/ModalSheetBottom.appearance.js +0 -5
- package/dist/components/ModalSheetBottom/ModalSheetBottom.interface.js +0 -1
- package/dist/components/ModalSheetBottom/ModalSheetBottom.js +0 -38
- package/dist/components/ModalSheetBottom/appearance/modalSheetBottomSize.js +0 -9
- package/dist/components/ModalSheetBottom/index.js +0 -2
- package/dist/components/Notification/Notification.appearance.js +0 -19
- package/dist/components/Notification/Notification.interface.js +0 -1
- package/dist/components/Notification/Notification.js +0 -26
- package/dist/components/Notification/NotificationWrapper.js +0 -12
- package/dist/components/Notification/appearance/notificationDefault.js +0 -16
- package/dist/components/Notification/appearance/notificationError.js +0 -16
- package/dist/components/Notification/appearance/notificationInfo.js +0 -16
- package/dist/components/Notification/appearance/notificationShape.js +0 -25
- package/dist/components/Notification/appearance/notificationSize.js +0 -17
- package/dist/components/Notification/appearance/notificationStyle.js +0 -14
- package/dist/components/Notification/appearance/notificationSuccess.js +0 -16
- package/dist/components/Notification/appearance/notificationWarning.js +0 -16
- package/dist/components/Notification/index.js +0 -4
- package/dist/components/Overlay/Overlay.appearance.js +0 -5
- package/dist/components/Overlay/Overlay.interface.js +0 -1
- package/dist/components/Overlay/Overlay.js +0 -21
- package/dist/components/Overlay/appearance/overlayDefault.js +0 -11
- package/dist/components/Overlay/index.js +0 -2
- package/dist/components/Pagination/Pagination.appearance.js +0 -13
- package/dist/components/Pagination/Pagination.interface.js +0 -1
- package/dist/components/Pagination/Pagination.js +0 -117
- package/dist/components/Pagination/appearance/paginationAccent.js +0 -38
- package/dist/components/Pagination/appearance/paginationShape.js +0 -34
- package/dist/components/Pagination/appearance/paginationSize.js +0 -63
- package/dist/components/Pagination/appearance/paginationStyle.js +0 -14
- package/dist/components/Pagination/appearance/paginationSurface.js +0 -35
- package/dist/components/Pagination/index.js +0 -2
- package/dist/components/Radio/Radio.appearance.js +0 -19
- package/dist/components/Radio/Radio.interface.js +0 -1
- package/dist/components/Radio/Radio.js +0 -33
- package/dist/components/Radio/appearance/radioDefault.js +0 -17
- package/dist/components/Radio/appearance/radioDisabled.js +0 -14
- package/dist/components/Radio/appearance/radioError.js +0 -14
- package/dist/components/Radio/appearance/radioRequire.js +0 -14
- package/dist/components/Radio/appearance/radioShape.js +0 -25
- package/dist/components/Radio/appearance/radioSize.js +0 -18
- package/dist/components/Radio/appearance/radioStyle.js +0 -24
- package/dist/components/Radio/appearance/radioSuccess.js +0 -14
- package/dist/components/Radio/index.js +0 -2
- package/dist/components/RangeSlider/RangeSlider.interface.js +0 -1
- package/dist/components/RangeSlider/RangeSlider.js +0 -16
- package/dist/components/RangeSlider/index.js +0 -1
- package/dist/components/Response/Response.appearance.js +0 -25
- package/dist/components/Response/Response.constant.js +0 -68
- package/dist/components/Response/Response.interface.js +0 -1
- package/dist/components/Response/Response.js +0 -49
- package/dist/components/Response/appearance/responseConfirm.js +0 -15
- package/dist/components/Response/appearance/responseDanger.js +0 -15
- package/dist/components/Response/appearance/responseEmpty.js +0 -15
- package/dist/components/Response/appearance/responseError.js +0 -15
- package/dist/components/Response/appearance/responseFail.js +0 -15
- package/dist/components/Response/appearance/responseNothingFound.js +0 -15
- package/dist/components/Response/appearance/responseRefresh.js +0 -15
- package/dist/components/Response/appearance/responseStyle.js +0 -14
- package/dist/components/Response/appearance/responseSuccess.js +0 -15
- package/dist/components/Response/appearance/responseUnableLoadData.js +0 -15
- package/dist/components/Response/appearance/responseWarning.js +0 -15
- package/dist/components/Response/img/index.js +0 -25
- package/dist/components/Response/index.js +0 -5
- package/dist/components/SVGContent/SVGContent.interface.js +0 -1
- package/dist/components/SVGContent/SVGContent.js +0 -15
- package/dist/components/SVGContent/index.js +0 -1
- package/dist/components/ScrollOnDrag/ScrollOnDrag.interface.js +0 -1
- package/dist/components/ScrollOnDrag/ScrollOnDrag.js +0 -18
- package/dist/components/ScrollOnDrag/index.js +0 -1
- package/dist/components/ScrollToView/ScrollToView.interface.js +0 -1
- package/dist/components/ScrollToView/ScrollToView.js +0 -15
- package/dist/components/ScrollToView/index.js +0 -1
- package/dist/components/Scrollbar/Scrollbar.interface.js +0 -1
- package/dist/components/Scrollbar/Scrollbar.js +0 -22
- package/dist/components/Scrollbar/index.js +0 -1
- package/dist/components/Search/Search.appearance.js +0 -19
- package/dist/components/Search/Search.interface.js +0 -1
- package/dist/components/Search/SearchInput.js +0 -42
- package/dist/components/Search/SearchResult.js +0 -12
- package/dist/components/Search/appearance/searchDefault.js +0 -23
- package/dist/components/Search/appearance/searchDisabled.js +0 -13
- package/dist/components/Search/appearance/searchError.js +0 -13
- package/dist/components/Search/appearance/searchRequire.js +0 -13
- package/dist/components/Search/appearance/searchShape.js +0 -25
- package/dist/components/Search/appearance/searchSize.js +0 -46
- package/dist/components/Search/appearance/searchStyle.js +0 -17
- package/dist/components/Search/appearance/searchSuccess.js +0 -12
- package/dist/components/Search/index.js +0 -4
- package/dist/components/Segmented/Segmented.appearance.js +0 -21
- package/dist/components/Segmented/Segmented.interface.js +0 -1
- package/dist/components/Segmented/Segmented.js +0 -53
- package/dist/components/Segmented/appearance/segmentedDefault.js +0 -29
- package/dist/components/Segmented/appearance/segmentedDisabled.js +0 -12
- package/dist/components/Segmented/appearance/segmentedError.js +0 -14
- package/dist/components/Segmented/appearance/segmentedRequire.js +0 -15
- package/dist/components/Segmented/appearance/segmentedShape.js +0 -25
- package/dist/components/Segmented/appearance/segmentedSize.js +0 -28
- package/dist/components/Segmented/appearance/segmentedStyle.js +0 -16
- package/dist/components/Segmented/appearance/segmentedSuccess.js +0 -13
- package/dist/components/Segmented/appearance/segmentedWarning.js +0 -14
- package/dist/components/Segmented/index.js +0 -2
- package/dist/components/Select/Select.appearance.js +0 -19
- package/dist/components/Select/Select.interface.js +0 -1
- package/dist/components/Select/SelectClearIndicator.js +0 -9
- package/dist/components/Select/SelectContainer.js +0 -100
- package/dist/components/Select/SelectControl.js +0 -9
- package/dist/components/Select/SelectDropdownIndicator.js +0 -9
- package/dist/components/Select/SelectGroupHeading.js +0 -9
- package/dist/components/Select/SelectIndicatorsContainer.js +0 -13
- package/dist/components/Select/SelectInput.js +0 -8
- package/dist/components/Select/SelectLoadingIndicator.js +0 -7
- package/dist/components/Select/SelectLoadingMessage.js +0 -8
- package/dist/components/Select/SelectMenu.js +0 -9
- package/dist/components/Select/SelectMultiValue.js +0 -18
- package/dist/components/Select/SelectMultiValueContainer.js +0 -9
- package/dist/components/Select/SelectMultiValueLabel.js +0 -8
- package/dist/components/Select/SelectMultiValueRemove.js +0 -8
- package/dist/components/Select/SelectNoOptions.js +0 -12
- package/dist/components/Select/SelectOption.js +0 -26
- package/dist/components/Select/SelectOverflowBadge.js +0 -9
- package/dist/components/Select/SelectPlaceholder.js +0 -8
- package/dist/components/Select/SelectSingleValue.js +0 -11
- package/dist/components/Select/SelectValueContainer.js +0 -7
- package/dist/components/Select/appearance/selectDefault.js +0 -37
- package/dist/components/Select/appearance/selectDisabled.js +0 -28
- package/dist/components/Select/appearance/selectError.js +0 -37
- package/dist/components/Select/appearance/selectRequire.js +0 -37
- package/dist/components/Select/appearance/selectShape.js +0 -27
- package/dist/components/Select/appearance/selectSize.js +0 -116
- package/dist/components/Select/appearance/selectStyle.js +0 -17
- package/dist/components/Select/appearance/selectSuccess.js +0 -37
- package/dist/components/Select/index.js +0 -16
- package/dist/components/Swiper/Swiper.interface.js +0 -1
- package/dist/components/Swiper/Swiper.js +0 -73
- package/dist/components/Swiper/index.js +0 -1
- package/dist/components/Switch/Switch.appearance.js +0 -17
- package/dist/components/Switch/Switch.interface.js +0 -1
- package/dist/components/Switch/Switch.js +0 -31
- package/dist/components/Switch/appearance/switchDefault.js +0 -11
- package/dist/components/Switch/appearance/switchDisabled.js +0 -11
- package/dist/components/Switch/appearance/switchError.js +0 -11
- package/dist/components/Switch/appearance/switchRequire.js +0 -11
- package/dist/components/Switch/appearance/switchSize.js +0 -18
- package/dist/components/Switch/appearance/switchStyle.js +0 -16
- package/dist/components/Switch/appearance/switchSuccess.js +0 -11
- package/dist/components/Switch/index.js +0 -2
- package/dist/components/Tab/Tab.appearance.js +0 -15
- package/dist/components/Tab/Tab.interface.js +0 -1
- package/dist/components/Tab/Tab.js +0 -34
- package/dist/components/Tab/TabGroup.js +0 -14
- package/dist/components/Tab/appearance/tabError.js +0 -13
- package/dist/components/Tab/appearance/tabSize.js +0 -44
- package/dist/components/Tab/appearance/tabStyle.js +0 -16
- package/dist/components/Tab/appearance/tabSuccess.js +0 -13
- package/dist/components/Tab/appearance/tabSurface.js +0 -64
- package/dist/components/Tab/appearance/tabWarning.js +0 -12
- package/dist/components/Tab/index.js +0 -3
- package/dist/components/Text/Text.appearance.js +0 -5
- package/dist/components/Text/Text.interface.js +0 -1
- package/dist/components/Text/Text.js +0 -35
- package/dist/components/Text/appearance/textSize.js +0 -24
- package/dist/components/Text/index.js +0 -2
- package/dist/components/Textarea/Textarea.appearance.js +0 -19
- package/dist/components/Textarea/Textarea.interface.js +0 -1
- package/dist/components/Textarea/Textarea.js +0 -20
- package/dist/components/Textarea/appearance/textareaDefault.js +0 -33
- package/dist/components/Textarea/appearance/textareaDisabled.js +0 -18
- package/dist/components/Textarea/appearance/textareaError.js +0 -18
- package/dist/components/Textarea/appearance/textareaRequire.js +0 -18
- package/dist/components/Textarea/appearance/textareaShape.js +0 -25
- package/dist/components/Textarea/appearance/textareaSize.js +0 -31
- package/dist/components/Textarea/appearance/textareaStyle.js +0 -16
- package/dist/components/Textarea/appearance/textareaSuccess.js +0 -19
- package/dist/components/Textarea/index.js +0 -2
- package/dist/components/Tile/Tile.appearance.js +0 -11
- package/dist/components/Tile/Tile.interface.js +0 -1
- package/dist/components/Tile/Tile.js +0 -26
- package/dist/components/Tile/appearance/tileShape.js +0 -25
- package/dist/components/Tile/appearance/tileSize.js +0 -51
- package/dist/components/Tile/appearance/tileStyle.js +0 -14
- package/dist/components/Tile/appearance/tileSurface.js +0 -35
- package/dist/components/Tile/index.js +0 -2
- package/dist/components/Title/Title.appearance.js +0 -29
- package/dist/components/Title/Title.interface.js +0 -1
- package/dist/components/Title/Title.js +0 -43
- package/dist/components/Title/appearance/titleAccent.js +0 -11
- package/dist/components/Title/appearance/titleDanger.js +0 -7
- package/dist/components/Title/appearance/titleDisabled.js +0 -16
- package/dist/components/Title/appearance/titleError.js +0 -9
- package/dist/components/Title/appearance/titleExtra.js +0 -8
- package/dist/components/Title/appearance/titleInfo.js +0 -11
- package/dist/components/Title/appearance/titleRequire.js +0 -16
- package/dist/components/Title/appearance/titleSize.js +0 -45
- package/dist/components/Title/appearance/titleSpecial.js +0 -7
- package/dist/components/Title/appearance/titleStyle.js +0 -11
- package/dist/components/Title/appearance/titleSuccess.js +0 -7
- package/dist/components/Title/appearance/titleSurface.js +0 -19
- package/dist/components/Title/appearance/titleWarning.js +0 -9
- package/dist/components/Title/index.js +0 -2
- package/dist/components/Tooltip/Tooltip.appearance.js +0 -19
- package/dist/components/Tooltip/Tooltip.interface.js +0 -1
- package/dist/components/Tooltip/Tooltip.js +0 -68
- package/dist/components/Tooltip/appearance/tooltipDefault.js +0 -10
- package/dist/components/Tooltip/appearance/tooltipDisabled.js +0 -9
- package/dist/components/Tooltip/appearance/tooltipError.js +0 -10
- package/dist/components/Tooltip/appearance/tooltipRequire.js +0 -10
- package/dist/components/Tooltip/appearance/tooltipShape.js +0 -25
- package/dist/components/Tooltip/appearance/tooltipSize.js +0 -18
- package/dist/components/Tooltip/appearance/tooltipStyle.js +0 -14
- package/dist/components/Tooltip/appearance/tooltipSuccess.js +0 -10
- package/dist/components/Tooltip/index.js +0 -2
- package/dist/components/Video/Video.interface.js +0 -1
- package/dist/components/Video/Video.js +0 -9
- package/dist/components/Video/index.js +0 -1
- package/dist/components/Warning/Warning.appearance.js +0 -17
- package/dist/components/Warning/Warning.interface.js +0 -1
- package/dist/components/Warning/Warning.js +0 -25
- package/dist/components/Warning/appearance/warningAccent.js +0 -24
- package/dist/components/Warning/appearance/warningError.js +0 -24
- package/dist/components/Warning/appearance/warningInfo.js +0 -24
- package/dist/components/Warning/appearance/warningShape.js +0 -25
- package/dist/components/Warning/appearance/warningSize.js +0 -11
- package/dist/components/Warning/appearance/warningStyle.js +0 -14
- package/dist/components/Warning/appearance/warningWarning.js +0 -24
- package/dist/components/Warning/index.js +0 -2
- package/dist/config/forms/datepicker.js +0 -18
- package/dist/config/forms/index.js +0 -3
- package/dist/config/forms/input.js +0 -17
- package/dist/context/Notifications.interface.js +0 -1
- package/dist/context/index.js +0 -2
- package/dist/hooks/index.helpers.js +0 -6
- package/dist/hooks/useActiveClasses/index.js +0 -2
- package/dist/hooks/useAppearanceConfig/index.js +0 -1
- package/dist/hooks/useDevicePropsGenerator/index.js +0 -1
- package/dist/hooks/useMediaQueries/index.js +0 -1
- package/dist/hooks/useMediaQueries/mediaQueries.json +0 -19
- package/dist/hooks/useStyles/index.js +0 -1
- package/dist/types/index.js +0 -1
- package/dist/types/utils.js +0 -1
- package/dist/utils/index.js +0 -3
|
@@ -1,37 +0,0 @@
|
|
|
1
|
-
const selectAppearanceSuccess = {
|
|
2
|
-
successPrimary: {
|
|
3
|
-
fill: 'successTertiary',
|
|
4
|
-
fillHover: 'successTertiary',
|
|
5
|
-
borderColor: 'surfaceBorderTertiary',
|
|
6
|
-
borderColorHover: 'surfaceBorderQuaternary',
|
|
7
|
-
elevation: 8,
|
|
8
|
-
badgeAppearance: 'accentPrimary solid circular',
|
|
9
|
-
clearIconFill: 'surfaceItemQuaternary',
|
|
10
|
-
dropdownIconFill: 'surfaceItemQuaternary',
|
|
11
|
-
groupFill: 'surfaceSecondary',
|
|
12
|
-
groupTextColor: 'surfaceTextPrimary',
|
|
13
|
-
groupTextWeight: '600',
|
|
14
|
-
inputCaretColor: 'accentPrimary',
|
|
15
|
-
inputTextColor: 'surfaceTextPrimary',
|
|
16
|
-
loaderAppearance: 'accentPrimary sizeS ghost',
|
|
17
|
-
loadingMessageTextColor: 'surfaceTextPrimary',
|
|
18
|
-
menuFill: 'surfacePrimary',
|
|
19
|
-
multipleItemFill: 'accentPrimary',
|
|
20
|
-
multipleItemFillHover: 'accentSecondary',
|
|
21
|
-
multipleItemIconFill: 'accentItemPrimary',
|
|
22
|
-
multipleItemTextColor: 'accentTextPrimary',
|
|
23
|
-
noOptionsTextColor: 'surfaceTextPrimary',
|
|
24
|
-
optionBorder: 'none',
|
|
25
|
-
optionFill: 'surfacePrimary',
|
|
26
|
-
optionFillActive: 'accentPrimary',
|
|
27
|
-
optionFillActiveHover: 'accentSecondary',
|
|
28
|
-
optionFillDisabled: 'surfaceSecondary',
|
|
29
|
-
optionFillHover: 'surfaceSecondary',
|
|
30
|
-
optionSelectedIconFillIcon: 'successItemPrimary',
|
|
31
|
-
optionTextColor: 'surfaceTextPrimary',
|
|
32
|
-
optionTextColorActive: 'accentTextPrimary',
|
|
33
|
-
optionTextColorDisabled: 'surfaceTextQuaternary',
|
|
34
|
-
placeholderTextColor: 'surfaceTextQuaternary',
|
|
35
|
-
},
|
|
36
|
-
};
|
|
37
|
-
export { selectAppearanceSuccess };
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
import { SelectClearIndicator } from './SelectClearIndicator';
|
|
2
|
-
import { selectConfig, SelectContainer } from './SelectContainer';
|
|
3
|
-
import { SelectControl } from './SelectControl';
|
|
4
|
-
import { SelectDropdownIndicator } from './SelectDropdownIndicator';
|
|
5
|
-
import { SelectGroupHeading } from './SelectGroupHeading';
|
|
6
|
-
import { SelectIndicatorsContainer } from './SelectIndicatorsContainer';
|
|
7
|
-
import { SelectInput } from './SelectInput';
|
|
8
|
-
import { SelectMenu } from './SelectMenu';
|
|
9
|
-
import { SelectMultiValueContainer } from './SelectMultiValueContainer';
|
|
10
|
-
import { SelectMultiValueLabel } from './SelectMultiValueLabel';
|
|
11
|
-
import { SelectMultiValueRemove } from './SelectMultiValueRemove';
|
|
12
|
-
import { SelectOption } from './SelectOption';
|
|
13
|
-
import { SelectPlaceholder } from './SelectPlaceholder';
|
|
14
|
-
import { SelectSingleValue } from './SelectSingleValue';
|
|
15
|
-
import { SelectValueContainer } from './SelectValueContainer';
|
|
16
|
-
export { SelectContainer as Select, SelectClearIndicator, selectConfig, SelectControl, SelectDropdownIndicator, SelectGroupHeading, SelectIndicatorsContainer, SelectInput, SelectMenu, SelectMultiValueContainer, SelectMultiValueLabel, SelectMultiValueRemove, SelectOption, SelectPlaceholder, SelectSingleValue, SelectValueContainer, };
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1,73 +0,0 @@
|
|
|
1
|
-
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
|
-
import React, { useCallback, useEffect, useImperativeHandle, useRef, useState, } from 'react';
|
|
3
|
-
import clsx from 'clsx';
|
|
4
|
-
import { Swiper as SwiperJS, SwiperSlide, } from 'swiper/react';
|
|
5
|
-
import { Group } from 'src/components/Group';
|
|
6
|
-
import { Text } from 'src/components/Text';
|
|
7
|
-
import { useDevicePropsGenerator } from 'src/hooks/useDevicePropsGenerator';
|
|
8
|
-
import { useStyles } from 'src/hooks/useStyles';
|
|
9
|
-
import { Title } from 'src/components/Title';
|
|
10
|
-
function Swiper(props) {
|
|
11
|
-
const { id, className, dataTestId, dataTour, direction, minZoom = 1, maxZoom = 5, title, titleAfter, titleSize, titleTextColor, titleWeight, activeSlideIndex = 0, allowTouchMove, autoHeight, breakpoints, forwardedRef, freeMode, items, keyboard, loop, modules, mousewheel, nextButton, normalizeSlideIndex, pagination, prevButton, preventClicks, preventClicksPropagation, simulateTouch, slidesPerView, spaceBetween, speed, swiperClass, swiperSlideClass, isChangeOnClickSlide, isInit, isNavigation = false, isScrollbar, isShowOriginalLink = false, isZoomEnabled = false, setNextBtnDisabled, setPrevBtnDisabled, onSlideNextTransitionEnd, onSlidePrevTransitionEnd, onSwiper, onUpdate, children, } = props;
|
|
12
|
-
const swiperRef = useRef(null);
|
|
13
|
-
const isMountedRef = useRef(false);
|
|
14
|
-
const [nextEl, nextRef] = useSwiperRef();
|
|
15
|
-
const [prevEl, prevRef] = useSwiperRef();
|
|
16
|
-
const isLoop = loop ?? true;
|
|
17
|
-
const onInitSwiper = useCallback((swiper) => {
|
|
18
|
-
if (!isLoop && setPrevBtnDisabled && setNextBtnDisabled) {
|
|
19
|
-
setPrevBtnDisabled(swiper.isBeginning);
|
|
20
|
-
setNextBtnDisabled(swiper.isEnd);
|
|
21
|
-
}
|
|
22
|
-
}, [isLoop, setPrevBtnDisabled, setNextBtnDisabled]);
|
|
23
|
-
const onSlideChange = useCallback((swiper) => {
|
|
24
|
-
if (isChangeOnClickSlide) {
|
|
25
|
-
swiper.activeIndex = activeSlideIndex || swiper.clickedIndex;
|
|
26
|
-
}
|
|
27
|
-
}, [isChangeOnClickSlide, activeSlideIndex]);
|
|
28
|
-
const onTransitionStart = useCallback((swiper) => {
|
|
29
|
-
if (!isLoop && setPrevBtnDisabled && setNextBtnDisabled) {
|
|
30
|
-
setPrevBtnDisabled(swiper.isBeginning);
|
|
31
|
-
setNextBtnDisabled(swiper.isEnd);
|
|
32
|
-
}
|
|
33
|
-
}, [isLoop, setPrevBtnDisabled, setNextBtnDisabled]);
|
|
34
|
-
const onClickShowOriginalButton = useCallback(() => {
|
|
35
|
-
const swiperInstance = swiperRef.current?.swiper;
|
|
36
|
-
const imgElement = swiperInstance?.slides[swiperInstance.activeIndex]?.querySelector('img');
|
|
37
|
-
if (imgElement?.src) {
|
|
38
|
-
window.open(imgElement.src, '_blank');
|
|
39
|
-
}
|
|
40
|
-
}, [swiperRef]);
|
|
41
|
-
useImperativeHandle(forwardedRef, () => swiperRef.current, []);
|
|
42
|
-
useEffect(() => {
|
|
43
|
-
if (isMountedRef.current) {
|
|
44
|
-
const swiperInstance = swiperRef.current?.swiper;
|
|
45
|
-
// @ts-expect-error
|
|
46
|
-
swiperInstance?.updateActiveIndex(activeSlideIndex);
|
|
47
|
-
swiperInstance?.updateSlidesClasses();
|
|
48
|
-
}
|
|
49
|
-
else {
|
|
50
|
-
isMountedRef.current = true;
|
|
51
|
-
}
|
|
52
|
-
}, [activeSlideIndex]);
|
|
53
|
-
const propsGenerator = useDevicePropsGenerator(props);
|
|
54
|
-
const { alignClass, alignDirectionClass, fillClass, shapeClass } = propsGenerator;
|
|
55
|
-
const { styles: style } = useStyles(props);
|
|
56
|
-
return (_jsxs("div", { id: id, className: clsx('swiper-block', slidesPerView === 'auto' && 'swiper-block_type_auto', fillClass && `fill_${fillClass}`, shapeClass && `swiper_shape_${shapeClass}`, className), "data-testid": dataTestId, "data-tour": dataTour, style: style, children: [title && (_jsxs("div", { className: "swiper-block__wrapper", children: [title && (_jsx(Title, { className: "swiper-block__title", size: titleSize, textColor: titleTextColor, textWeight: titleWeight, children: title })), titleAfter] })), prevButton && nextButton && (_jsxs(React.Fragment, { children: [_jsx("div", { className: "swiper-block__prev swiper-button", ref: prevRef, children: prevButton }), _jsx("div", { className: "swiper-block__next swiper-button", ref: nextRef, children: nextButton })] })), _jsx(SwiperJS, { className: clsx('swiper-block__swiper', swiperClass), ref: swiperRef, direction: direction, allowTouchMove: allowTouchMove, autoHeight: autoHeight ?? false, breakpoints: breakpoints, centeredSlides: true, freeMode: freeMode, init: isInit ?? true, keyboard: keyboard, loop: isLoop, modules: modules, mousewheel: mousewheel, navigation: isNavigation ? { nextEl, prevEl } : false, normalizeSlideIndex: normalizeSlideIndex, pagination: pagination, preventClicks: preventClicks, preventClicksPropagation: preventClicksPropagation, scrollbar: isScrollbar, simulateTouch: simulateTouch, slidesPerView: slidesPerView, spaceBetween: spaceBetween, speed: speed ?? 500, zoom: {
|
|
57
|
-
minRatio: minZoom,
|
|
58
|
-
maxRatio: maxZoom,
|
|
59
|
-
toggle: true,
|
|
60
|
-
}, onInit: onInitSwiper, onSlideChange: onSlideChange, onSlideNextTransitionEnd: onSlideNextTransitionEnd, onSlidePrevTransitionEnd: onSlidePrevTransitionEnd, onSwiper: onSwiper, onTransitionStart: onTransitionStart, onUpdate: onUpdate, children: children ||
|
|
61
|
-
items?.map((item, i) => (_jsx(SwiperSlide, { className: clsx('swiper-block__item', isZoomEnabled && 'swiper-block__item_zooming', swiperSlideClass, alignDirectionClass && `align_${alignDirectionClass}`, alignClass && `align_${alignClass}`), children: isZoomEnabled ? (_jsx("div", { className: "swiper-zoom-container", children: item })) : (item) }, `swiper-slide_${i}`))) }), isShowOriginalLink && (_jsx(Group, { width: "fill", fill: "surfacePrimary", padding: "1m 0", children: _jsx(Text, { size: "s", textColor: "surfaceTextPrimary", textColorHover: "surfaceTextQuaternary", onClick: onClickShowOriginalButton, children: "\u041F\u043E\u043A\u0430\u0437\u0430\u0442\u044C \u043E\u0440\u0438\u0433\u0438\u043D\u0430\u043B" }) }))] }));
|
|
62
|
-
}
|
|
63
|
-
const useSwiperRef = () => {
|
|
64
|
-
const [wrapper, setWrapper] = useState(null);
|
|
65
|
-
const ref = useRef(null);
|
|
66
|
-
useEffect(() => {
|
|
67
|
-
if (ref.current) {
|
|
68
|
-
setWrapper(ref.current);
|
|
69
|
-
}
|
|
70
|
-
}, []);
|
|
71
|
-
return [wrapper, ref];
|
|
72
|
-
};
|
|
73
|
-
export { Swiper };
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { Swiper } from './Swiper';
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
import { switchAppearanceDefault } from './appearance/switchDefault';
|
|
2
|
-
import { switchAppearanceDisabled } from './appearance/switchDisabled';
|
|
3
|
-
import { switchAppearanceError } from './appearance/switchError';
|
|
4
|
-
import { switchAppearanceRequire } from './appearance/switchRequire';
|
|
5
|
-
import { switchAppearanceSize } from './appearance/switchSize';
|
|
6
|
-
import { switchAppearanceStyle } from './appearance/switchStyle';
|
|
7
|
-
import { switchAppearanceSuccess } from './appearance/switchSuccess';
|
|
8
|
-
const switchAppearance = {
|
|
9
|
-
...switchAppearanceSize,
|
|
10
|
-
...switchAppearanceDisabled,
|
|
11
|
-
...switchAppearanceRequire,
|
|
12
|
-
...switchAppearanceStyle,
|
|
13
|
-
...switchAppearanceError,
|
|
14
|
-
...switchAppearanceDefault,
|
|
15
|
-
...switchAppearanceSuccess,
|
|
16
|
-
};
|
|
17
|
-
export { switchAppearance };
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1,31 +0,0 @@
|
|
|
1
|
-
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
|
-
import React from 'react';
|
|
3
|
-
import clsx from 'clsx';
|
|
4
|
-
import { useAppearanceConfig } from 'src/hooks/useAppearanceConfig';
|
|
5
|
-
import { useDevicePropsGenerator } from 'src/hooks/useDevicePropsGenerator';
|
|
6
|
-
import { Text } from 'src/components/Text';
|
|
7
|
-
import { switchAppearance } from './Switch.appearance';
|
|
8
|
-
const switchConfig = {
|
|
9
|
-
appearance: switchAppearance,
|
|
10
|
-
setAppearance: (appearanceConfig) => {
|
|
11
|
-
switchConfig.appearance = appearanceConfig;
|
|
12
|
-
},
|
|
13
|
-
};
|
|
14
|
-
const Switch = React.forwardRef(function Switch(props, ref) {
|
|
15
|
-
const { id, appearance, className, dataTestId, dataTour, align = 'left', title, desc, isActive, isDisabled, onChange, } = props;
|
|
16
|
-
const appearanceConfig = useAppearanceConfig(appearance, switchConfig, isDisabled);
|
|
17
|
-
const propsGenerator = useDevicePropsGenerator(props, appearanceConfig);
|
|
18
|
-
const { size, fillActiveClass, fillActiveHoverClass, fillClass, fillHoverClass, fillToggleActiveClass, fillToggleActiveHoverClass, fillToggleClass, fillToggleHoverClass, titleTextColor, titleTextSize, descTextColor, descTextSize, widthClass, } = propsGenerator;
|
|
19
|
-
return (_jsxs("div", { className: clsx('switch', className, widthClass && `width_${widthClass}`, align && `switch_align_${align}`, size && `switch_size_${size}`), "data-testid": dataTestId, "data-tour": dataTour, children: [_jsxs("div", { className: "switch__wrapper", children: [title && (_jsx(Text, { className: clsx('switch__title'), size: titleTextSize, textColor: titleTextColor, children: title })), desc && (_jsx(Text, { className: clsx('switch__desc'), size: descTextSize, textColor: descTextColor, children: desc }))] }), _jsxs("div", { className: 'switch__item', children: [_jsx("input", { id: id, className: "switch__checkbox", type: "checkbox", ref: ref, checked: isActive, disabled: isDisabled, onChange: onChange }), _jsx("div", { className: clsx('switch__bg', !isActive
|
|
20
|
-
? fillClass && `fill_${fillClass}`
|
|
21
|
-
: fillActiveClass && `fill_active_${fillActiveClass}`, !isActive
|
|
22
|
-
? fillHoverClass && `fill_hover_${fillHoverClass}`
|
|
23
|
-
: fillActiveHoverClass &&
|
|
24
|
-
`fill_active_hover_${fillActiveHoverClass}`), children: "\u00A0" }), _jsx("div", { className: clsx('switch__toggle', !isActive
|
|
25
|
-
? fillToggleClass && `fill_${fillToggleClass}`
|
|
26
|
-
: fillToggleActiveClass && `fill_active_${fillToggleActiveClass}`, !isActive
|
|
27
|
-
? fillToggleHoverClass && `fill_hover_${fillToggleHoverClass}`
|
|
28
|
-
: fillToggleActiveHoverClass &&
|
|
29
|
-
`fill_active_hover_${fillToggleActiveHoverClass}`), children: "\u00A0" })] })] }));
|
|
30
|
-
});
|
|
31
|
-
export { Switch, switchConfig };
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
const switchAppearanceDefault = {
|
|
2
|
-
defaultPrimary: {
|
|
3
|
-
fill: 'surfaceTertiary',
|
|
4
|
-
fillActive: 'surfaceTertiary',
|
|
5
|
-
fillToggle: 'surfacePrimary',
|
|
6
|
-
fillToggleActive: 'surfacePrimary',
|
|
7
|
-
titleTextColor: 'surfaceTextPrimary',
|
|
8
|
-
descTextColor: 'surfaceTextPrimary',
|
|
9
|
-
},
|
|
10
|
-
};
|
|
11
|
-
export { switchAppearanceDefault };
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
const switchAppearanceDisabled = {
|
|
2
|
-
disabledPrimary: {
|
|
3
|
-
fill: 'surfaceDisabled',
|
|
4
|
-
fillActive: 'surfaceDisabled',
|
|
5
|
-
fillToggle: 'surfaceSecondary',
|
|
6
|
-
fillToggleActive: 'surfaceActiveSecondary',
|
|
7
|
-
titleTextColor: 'surfaceTextPrimary',
|
|
8
|
-
descTextColor: 'surfaceTextPrimary',
|
|
9
|
-
},
|
|
10
|
-
};
|
|
11
|
-
export { switchAppearanceDisabled };
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
const switchAppearanceError = {
|
|
2
|
-
errorPrimary: {
|
|
3
|
-
fill: 'surfaceTertiary',
|
|
4
|
-
fillActive: 'errorSecondary',
|
|
5
|
-
fillToggle: 'surfacePrimary',
|
|
6
|
-
fillToggleActive: 'surfacePrimary',
|
|
7
|
-
titleTextColor: 'surfaceTextPrimary',
|
|
8
|
-
descTextColor: 'surfaceTextPrimary',
|
|
9
|
-
},
|
|
10
|
-
};
|
|
11
|
-
export { switchAppearanceError };
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
const switchAppearanceRequire = {
|
|
2
|
-
requirePrimary: {
|
|
3
|
-
fill: 'surfaceTertiary',
|
|
4
|
-
fillActive: 'warningSecondary',
|
|
5
|
-
fillToggle: 'surfacePrimary',
|
|
6
|
-
fillToggleActive: 'surfacePrimary',
|
|
7
|
-
titleTextColor: 'surfaceTextPrimary',
|
|
8
|
-
descTextColor: 'surfaceTextPrimary',
|
|
9
|
-
},
|
|
10
|
-
};
|
|
11
|
-
export { switchAppearanceRequire };
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
const switchAppearanceSize = {
|
|
2
|
-
sizeL: {
|
|
3
|
-
size: 'l',
|
|
4
|
-
titleTextSize: 'l',
|
|
5
|
-
descTextSize: 'xs',
|
|
6
|
-
},
|
|
7
|
-
sizeM: {
|
|
8
|
-
size: 'm',
|
|
9
|
-
titleTextSize: 'm',
|
|
10
|
-
descTextSize: 'xs',
|
|
11
|
-
},
|
|
12
|
-
sizeS: {
|
|
13
|
-
size: 's',
|
|
14
|
-
titleTextSize: 's',
|
|
15
|
-
descTextSize: 'xs',
|
|
16
|
-
},
|
|
17
|
-
};
|
|
18
|
-
export { switchAppearanceSize };
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
const switchAppearanceSuccess = {
|
|
2
|
-
successPrimary: {
|
|
3
|
-
fill: 'surfaceTertiary',
|
|
4
|
-
fillActive: 'successPrimary',
|
|
5
|
-
fillToggle: 'surfacePrimary',
|
|
6
|
-
fillToggleActive: 'surfacePrimary',
|
|
7
|
-
titleTextColor: 'surfaceTextPrimary',
|
|
8
|
-
descTextColor: 'surfaceTextPrimary',
|
|
9
|
-
},
|
|
10
|
-
};
|
|
11
|
-
export { switchAppearanceSuccess };
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import { tabAppearanceError } from './appearance/tabError';
|
|
2
|
-
import { tabAppearanceSize } from './appearance/tabSize';
|
|
3
|
-
import { tabAppearanceStyle } from './appearance/tabStyle';
|
|
4
|
-
import { tabAppearanceSuccess } from './appearance/tabSuccess';
|
|
5
|
-
import { tabAppearanceSurface } from './appearance/tabSurface';
|
|
6
|
-
import { tabAppearanceWarning } from './appearance/tabWarning';
|
|
7
|
-
const tabAppearance = {
|
|
8
|
-
...tabAppearanceWarning,
|
|
9
|
-
...tabAppearanceError,
|
|
10
|
-
...tabAppearanceSuccess,
|
|
11
|
-
...tabAppearanceSurface,
|
|
12
|
-
...tabAppearanceSize,
|
|
13
|
-
...tabAppearanceStyle,
|
|
14
|
-
};
|
|
15
|
-
export { tabAppearance };
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1,34 +0,0 @@
|
|
|
1
|
-
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
|
-
import React from 'react';
|
|
3
|
-
import clsx from 'clsx';
|
|
4
|
-
import { mergeAppearanceKeys } from 'src/utils';
|
|
5
|
-
import { useActiveClasses } from 'src/hooks/useActiveClasses/useActiveClasses';
|
|
6
|
-
import { useAppearanceConfig } from 'src/hooks/useAppearanceConfig';
|
|
7
|
-
import { useDevicePropsGenerator } from 'src/hooks/useDevicePropsGenerator';
|
|
8
|
-
import { useStyles } from 'src/hooks/useStyles';
|
|
9
|
-
import { Badge } from 'src/components/Badge';
|
|
10
|
-
import { Divider } from 'src/components/Divider';
|
|
11
|
-
import { Icon } from 'src/components/Icon';
|
|
12
|
-
import { Link } from 'src/components/Link';
|
|
13
|
-
import { Text } from 'src/components/Text';
|
|
14
|
-
import { tabAppearance } from './Tab.appearance';
|
|
15
|
-
const tabConfig = {
|
|
16
|
-
appearance: tabAppearance,
|
|
17
|
-
setAppearance: (appearanceConfig) => {
|
|
18
|
-
tabConfig.appearance = appearanceConfig;
|
|
19
|
-
},
|
|
20
|
-
};
|
|
21
|
-
function Tab(props) {
|
|
22
|
-
const { appearance, className, dataTestId, dataTour, label, badgeValue, href, link, rel, target, before, after, isActive = false, isDisabled = false, isSkeleton, onClick, onMouseEnter, children, } = props;
|
|
23
|
-
const appearanceConfig = useAppearanceConfig(appearance, tabConfig, isDisabled);
|
|
24
|
-
const propsGenerator = useDevicePropsGenerator(props, appearanceConfig);
|
|
25
|
-
const { rootClasses } = useActiveClasses({
|
|
26
|
-
propsGenerator: propsGenerator,
|
|
27
|
-
isActive: isActive,
|
|
28
|
-
isDisabled: isDisabled,
|
|
29
|
-
});
|
|
30
|
-
const { justifyContentClass, alignClass, labelTextAlign, labelTextColor, labelTextColorActive, labelTextColorHover, labelTextSize, labelTextStyle, labelTextWeight, labelTextWrap, badgeAppearance, badgeAppearanceSize, badgeShape, badgeSize, badgeTextColor, badgeTextSize, dividerFill, dividerFillActive, dividerFillActiveHover, dividerFillDisabled, dividerFillHover, dividerSize, icon, iconFill, iconFillIcon, iconFillSize, iconShape, iconSize, iconSrc, linkFill, shapeClass, shapeStrengthClass, sizeClass, widthClass, } = propsGenerator;
|
|
31
|
-
const { styles: tab } = useStyles(props);
|
|
32
|
-
return (_jsx("div", { className: clsx('tab', className, rootClasses, isActive && 'tab_state_active', isDisabled && 'tab_state_disabled', sizeClass && `tab_size_${sizeClass}`, shapeClass && `shape_${shapeClass}`, shapeStrengthClass && `shape-strength_${shapeStrengthClass}`, widthClass && `width_${widthClass}`, justifyContentClass && `tab_justify-content_${justifyContentClass}`, isSkeleton && `tab_skeleton`, onClick && 'cursor_type_pointer'), "data-testid": dataTestId && `${dataTestId}Tab`, "data-tour": dataTour, style: tab, onClick: onClick, onMouseEnter: onMouseEnter, children: _jsxs(Link, { className: clsx('tab__link', !isDisabled && 'cursor_type_pointer'), fill: linkFill, href: link || href, rel: rel, target: target, children: [before, children || (_jsxs(React.Fragment, { children: [_jsxs("div", { className: clsx('tab__wrapper', alignClass && `align_${alignClass}`), children: [label && (_jsx(Text, { className: "tab__label", size: labelTextSize, textAlign: labelTextAlign, textColor: labelTextColor, textColorActive: labelTextColorActive, textColorHover: labelTextColorHover, textStyle: labelTextStyle, textWeight: labelTextWeight, textWrap: labelTextWrap, isActive: isActive, isDisabled: isDisabled, children: label })), Boolean(badgeValue) && (_jsx(Badge, { appearance: mergeAppearanceKeys(badgeAppearance, badgeAppearanceSize), size: badgeSize, textColor: badgeTextColor, textSize: badgeTextSize, shape: badgeShape, value: badgeValue })), (icon || iconSrc) && (_jsx(Icon, { className: "tab__icon_after", fill: iconFill, fillSize: iconFillSize, iconFill: iconFillIcon, iconSize: iconSize, imageSrc: iconSrc, shape: iconShape, SvgImage: icon }))] }), _jsx(Divider, { className: "tab__divider", width: "fill", direction: "horizontal", size: dividerSize, fill: dividerFill, fillActive: dividerFillActive, fillActiveHover: dividerFillActiveHover, fillDisabled: dividerFillDisabled, fillHover: dividerFillHover, zIndex: "1", isActive: isActive, isDisabled: isDisabled })] })), after] }) }));
|
|
33
|
-
}
|
|
34
|
-
export { Tab, tabConfig };
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
|
-
import React from 'react';
|
|
3
|
-
import clsx from 'clsx';
|
|
4
|
-
import { useDevicePropsGenerator } from 'src/hooks/useDevicePropsGenerator';
|
|
5
|
-
import { useStyles } from 'src/hooks/useStyles';
|
|
6
|
-
import { Tab } from './Tab';
|
|
7
|
-
function TabGroup(props) {
|
|
8
|
-
const { className, dataTestId, dataTour, horizontalScroll, style, tabAppearance, tabList, children, } = props;
|
|
9
|
-
const propsGenerator = useDevicePropsGenerator(props);
|
|
10
|
-
const { directionClass, alignClass, alignDirectionClass, fillClass, borderColorClass, borderTypeClass, borderWidthClass, widthClass, wrapClass, } = propsGenerator;
|
|
11
|
-
const { styles: groupStyles, wrapper: groupWrapperStyles } = useStyles(props);
|
|
12
|
-
return (_jsx("div", { className: clsx(className, 'tab-group', 'group', widthClass && `width_${widthClass}`, alignDirectionClass && `align_${alignDirectionClass}`, directionClass && `group_direction_${directionClass}`, alignClass && `align_${alignClass}`, fillClass && `fill_${fillClass}`, horizontalScroll && 'group_scroll_horizontal', wrapClass && `group_wrap_${wrapClass}`, borderColorClass && `border-color_${borderColorClass}`, borderWidthClass && `border-width_${borderWidthClass}`, borderTypeClass && `border_type_${borderTypeClass}`), "data-testid": dataTestId, "data-tour": dataTour, style: Object.assign({}, groupStyles, style), children: horizontalScroll ? (_jsxs("div", { className: "tab-group__wrapper", style: groupWrapperStyles, children: [tabList?.map((item) => (_jsx(Tab, { appearance: tabAppearance, label: item.label, isActive: item.isActive }, item.key))), children] })) : (_jsxs(React.Fragment, { children: [tabList?.map((item) => (_jsx(Tab, { appearance: tabAppearance, label: item.label, badgeValue: item.badgeValue, icon: item.icon, iconSrc: item.icon, isActive: item.isActive, onClick: item.onClick }, item.key))), children] })) }));
|
|
13
|
-
}
|
|
14
|
-
export { TabGroup };
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
const tabAppearanceError = {
|
|
2
|
-
errorPrimary: {
|
|
3
|
-
fill: 'errorPrimary',
|
|
4
|
-
fillDisabled: 'disabledPrimary',
|
|
5
|
-
labelColor: 'errorTextPrimary',
|
|
6
|
-
labelColorActive: 'errorTextPrimary',
|
|
7
|
-
labelColorDisabled: 'errorTextDisabled',
|
|
8
|
-
badgeAppearance: 'errorPrimary',
|
|
9
|
-
dividerFill: 'accentPrimary',
|
|
10
|
-
dividerFillDisabled: 'errorDisabled',
|
|
11
|
-
},
|
|
12
|
-
};
|
|
13
|
-
export { tabAppearanceError };
|
|
@@ -1,44 +0,0 @@
|
|
|
1
|
-
const tabAppearanceSize = {
|
|
2
|
-
sizeXXL: {
|
|
3
|
-
size: 'xxl',
|
|
4
|
-
labelTextSize: 's',
|
|
5
|
-
badgeAppearanceSize: 'sizeXS',
|
|
6
|
-
dividerSize: 's',
|
|
7
|
-
},
|
|
8
|
-
sizeXL: {
|
|
9
|
-
size: 'xl',
|
|
10
|
-
labelTextSize: 's',
|
|
11
|
-
badgeAppearanceSize: 'sizeXS',
|
|
12
|
-
dividerSize: 's',
|
|
13
|
-
},
|
|
14
|
-
sizeL: {
|
|
15
|
-
size: 'l',
|
|
16
|
-
labelTextSize: 's',
|
|
17
|
-
badgeAppearanceSize: 'sizeXS',
|
|
18
|
-
dividerSize: 's',
|
|
19
|
-
},
|
|
20
|
-
sizeM: {
|
|
21
|
-
size: 'm',
|
|
22
|
-
labelTextSize: 's',
|
|
23
|
-
badgeAppearanceSize: 'sizeXS',
|
|
24
|
-
dividerSize: 's',
|
|
25
|
-
},
|
|
26
|
-
sizeS: {
|
|
27
|
-
size: 's',
|
|
28
|
-
labelTextSize: 's',
|
|
29
|
-
badgeAppearanceSize: 'sizeXS',
|
|
30
|
-
dividerSize: 's',
|
|
31
|
-
},
|
|
32
|
-
sizeXS: {
|
|
33
|
-
size: 'xs',
|
|
34
|
-
labelTextSize: 'xs',
|
|
35
|
-
badgeAppearanceSize: 'sizeXS',
|
|
36
|
-
},
|
|
37
|
-
sizeXXS: {
|
|
38
|
-
size: 'xxs',
|
|
39
|
-
labelTextSize: 'xs',
|
|
40
|
-
badgeAppearanceSize: 'sizeXXS',
|
|
41
|
-
dividerSize: 's',
|
|
42
|
-
},
|
|
43
|
-
};
|
|
44
|
-
export { tabAppearanceSize };
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
const tabAppearanceStyle = {
|
|
2
|
-
solid: {
|
|
3
|
-
borderColor: 'none',
|
|
4
|
-
borderColorActive: 'none',
|
|
5
|
-
},
|
|
6
|
-
outlined: {
|
|
7
|
-
fill: 'none',
|
|
8
|
-
},
|
|
9
|
-
full: {},
|
|
10
|
-
ghost: {
|
|
11
|
-
fill: 'none',
|
|
12
|
-
borderColor: 'none',
|
|
13
|
-
borderColorActive: 'none',
|
|
14
|
-
},
|
|
15
|
-
};
|
|
16
|
-
export { tabAppearanceStyle };
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
const tabAppearanceSuccess = {
|
|
2
|
-
successPrimary: {
|
|
3
|
-
fill: 'successPrimary',
|
|
4
|
-
fillDisabled: 'successDisabled',
|
|
5
|
-
labelColor: 'successTextPrimary',
|
|
6
|
-
labelColorActive: 'successTextPrimary',
|
|
7
|
-
labelColorDisabled: 'successTextDisabled',
|
|
8
|
-
badgeAppearance: 'successPrimary',
|
|
9
|
-
dividerFill: 'accentPrimary',
|
|
10
|
-
dividerFillDisabled: 'successDisabled',
|
|
11
|
-
},
|
|
12
|
-
};
|
|
13
|
-
export { tabAppearanceSuccess };
|
|
@@ -1,64 +0,0 @@
|
|
|
1
|
-
const tabAppearanceSurface = {
|
|
2
|
-
surfacePrimary: {
|
|
3
|
-
fill: 'surfacePrimary',
|
|
4
|
-
fillActive: 'surfaceActivePrimary',
|
|
5
|
-
fillActiveHover: 'surfaceHoverSecondary',
|
|
6
|
-
fillDisabled: 'surfaceDisabled',
|
|
7
|
-
fillHover: 'surfaceHoverSecondary',
|
|
8
|
-
labelTextColor: 'surfaceTextPrimary',
|
|
9
|
-
labelTextColorActive: 'surfaceTextPrimary',
|
|
10
|
-
borderColor: 'surfaceBorderPrimary',
|
|
11
|
-
borderColorActive: 'surfaceBorderActivePrimary',
|
|
12
|
-
badgeAppearance: 'accentPrimary solid circular',
|
|
13
|
-
dividerFill: 'surfacePrimary',
|
|
14
|
-
dividerFillActive: 'accentPrimary',
|
|
15
|
-
dividerFillDisabled: 'accentDisabled',
|
|
16
|
-
iconFillIcon: 'surfaceItemPrimary',
|
|
17
|
-
},
|
|
18
|
-
surfaceQuaternary: {
|
|
19
|
-
fill: 'surfaceQuaternary',
|
|
20
|
-
fillActive: 'accentActivePrimary',
|
|
21
|
-
fillActiveHover: 'surfaceHoverTertiary',
|
|
22
|
-
fillDisabled: 'surfaceDisabled',
|
|
23
|
-
fillHover: 'surfaceHoverQuaternary',
|
|
24
|
-
labelTextColor: 'surfaceTextPrimary',
|
|
25
|
-
labelTextColorActive: 'surfaceTextPrimary',
|
|
26
|
-
borderColor: 'surfaceBorderPrimary',
|
|
27
|
-
borderColorActive: 'surfaceBorderActivePrimary',
|
|
28
|
-
badgeAppearance: 'accentPrimary solid circular',
|
|
29
|
-
dividerFillActive: 'accentPrimary',
|
|
30
|
-
dividerFillDisabled: 'accentDisabled',
|
|
31
|
-
iconFillIcon: 'surfaceItemPrimary',
|
|
32
|
-
},
|
|
33
|
-
surfaceSecondary: {
|
|
34
|
-
fill: 'surfaceSecondary',
|
|
35
|
-
fillActive: 'surfaceActiveSecondary',
|
|
36
|
-
fillActiveHover: 'surfaceHoverTertiary',
|
|
37
|
-
fillDisabled: 'surfaceDisabled',
|
|
38
|
-
fillHover: 'surfaceHoverTertiary',
|
|
39
|
-
labelTextColor: 'surfaceTextPrimary',
|
|
40
|
-
labelTextColorActive: 'surfaceTextPrimary',
|
|
41
|
-
borderColor: 'surfaceBorderPrimary',
|
|
42
|
-
borderColorActive: 'surfaceBorderActivePrimary',
|
|
43
|
-
badgeAppearance: 'accentPrimary solid circular',
|
|
44
|
-
dividerFillActive: 'accentPrimary',
|
|
45
|
-
dividerFillDisabled: 'accentDisabled',
|
|
46
|
-
iconFillIcon: 'surfaceItemPrimary',
|
|
47
|
-
},
|
|
48
|
-
surfaceTertiary: {
|
|
49
|
-
fill: 'surfaceTertiary',
|
|
50
|
-
fillActive: 'surfaceActiveSecondary',
|
|
51
|
-
fillActiveHover: 'surfaceHoverTertiary',
|
|
52
|
-
fillDisabled: 'surfaceDisabled',
|
|
53
|
-
fillHover: 'surfaceHoverSecondary',
|
|
54
|
-
labelTextColor: 'surfaceTextPrimary',
|
|
55
|
-
labelTextColorActive: 'surfaceTextPrimary',
|
|
56
|
-
borderColor: 'surfaceBorderPrimary',
|
|
57
|
-
borderColorActive: 'surfaceBorderActivePrimary',
|
|
58
|
-
badgeAppearance: 'accentPrimary solid circular',
|
|
59
|
-
dividerFillActive: 'accentPrimary',
|
|
60
|
-
dividerFillDisabled: 'accentDisabled',
|
|
61
|
-
iconFillIcon: 'surfaceItemPrimary',
|
|
62
|
-
},
|
|
63
|
-
};
|
|
64
|
-
export { tabAppearanceSurface };
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
const tabAppearanceWarning = {
|
|
2
|
-
warningPrimary: {
|
|
3
|
-
fill: 'warningPrimary',
|
|
4
|
-
fillDisabled: 'disabledPrimary',
|
|
5
|
-
labelColor: 'warningTextPrimary',
|
|
6
|
-
labelColorActive: 'warningTextPrimary',
|
|
7
|
-
badgeAppearance: 'warningPrimary',
|
|
8
|
-
dividerFill: 'accentPrimary',
|
|
9
|
-
dividerFillDisabled: 'disabledPrimary',
|
|
10
|
-
},
|
|
11
|
-
};
|
|
12
|
-
export { tabAppearanceWarning };
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1,35 +0,0 @@
|
|
|
1
|
-
import { jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
|
-
import clsx from 'clsx';
|
|
3
|
-
import { useAppearanceConfig } from 'src/hooks/useAppearanceConfig';
|
|
4
|
-
import { useDevicePropsGenerator } from 'src/hooks/useDevicePropsGenerator';
|
|
5
|
-
import { useStyles } from 'src/hooks/useStyles';
|
|
6
|
-
import { textAppearance } from './Text.appearance';
|
|
7
|
-
const textConfig = {
|
|
8
|
-
appearance: textAppearance,
|
|
9
|
-
setAppearance: (appearanceConfig) => {
|
|
10
|
-
textConfig.appearance = appearanceConfig;
|
|
11
|
-
},
|
|
12
|
-
};
|
|
13
|
-
function Text(props) {
|
|
14
|
-
const { appearance, className, dataTestId, dataTour, cursor, style, tag: Tag = 'span', before, after, isActive, isDisabled, isSkeleton, onClick, onDoubleClick, children, } = props;
|
|
15
|
-
const appearanceConfig = useAppearanceConfig(appearance, textConfig, isDisabled);
|
|
16
|
-
const propsGenerator = useDevicePropsGenerator(props, appearanceConfig);
|
|
17
|
-
const { textAlignClass, textColorActiveClass, textColorActiveHoverClass, textColorClass, textColorDisabledClass, textColorHoverClass, textFontClass, textStyleClass, textTruncateClass, textWeightClass, textWrapClass, cursorClass, sizeClass, widthClass, } = propsGenerator;
|
|
18
|
-
const { styles: textStyles } = useStyles(props);
|
|
19
|
-
return (_jsxs(Tag, { className: clsx(className, 'text', sizeClass && `text_size_${sizeClass}`, textWeightClass && `text-weight_${textWeightClass}`, textAlignClass && `text-align_${textAlignClass}`, isDisabled &&
|
|
20
|
-
textColorDisabledClass &&
|
|
21
|
-
`text-color_${textColorDisabledClass}`, !isActive &&
|
|
22
|
-
!isDisabled &&
|
|
23
|
-
textColorClass &&
|
|
24
|
-
`text-color_${textColorClass}`, !isActive &&
|
|
25
|
-
!isDisabled &&
|
|
26
|
-
textColorHoverClass &&
|
|
27
|
-
`text-color_hover_${textColorHoverClass}`, isActive &&
|
|
28
|
-
!isDisabled &&
|
|
29
|
-
textColorActiveHoverClass &&
|
|
30
|
-
`text-color_active_hover_${textColorActiveHoverClass}`, isActive &&
|
|
31
|
-
!isDisabled &&
|
|
32
|
-
textColorActiveClass &&
|
|
33
|
-
`text-color_active_${textColorActiveClass}`, textFontClass && `text-font_${textFontClass}`, textStyleClass && `text-style_${textStyleClass}`, textWrapClass && `word-wrap_${textWrapClass}`, textTruncateClass && `text-truncate_${textTruncateClass}`, isSkeleton && 'text_skeleton', widthClass && `width_${widthClass}`, cursorClass && `cursor_${cursorClass}`, onClick && (cursor || 'cursor_type_pointer')), "data-testid": dataTestId, "data-tour": dataTour, style: Object.assign({}, textStyles, style), onClick: onClick, onDoubleClick: onDoubleClick, children: [before, children, after] }));
|
|
34
|
-
}
|
|
35
|
-
export { Text, textConfig };
|
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
const textAppearanceSize = {
|
|
2
|
-
sizeXXL: {
|
|
3
|
-
size: 'xxl',
|
|
4
|
-
},
|
|
5
|
-
sizeXL: {
|
|
6
|
-
size: 'xl',
|
|
7
|
-
},
|
|
8
|
-
sizeL: {
|
|
9
|
-
size: 'l',
|
|
10
|
-
},
|
|
11
|
-
sizeM: {
|
|
12
|
-
size: 'm',
|
|
13
|
-
},
|
|
14
|
-
sizeS: {
|
|
15
|
-
size: 's',
|
|
16
|
-
},
|
|
17
|
-
sizeXS: {
|
|
18
|
-
size: 'xs',
|
|
19
|
-
},
|
|
20
|
-
sizeXXS: {
|
|
21
|
-
size: 'xxs',
|
|
22
|
-
},
|
|
23
|
-
};
|
|
24
|
-
export { textAppearanceSize };
|