@itcase/ui 1.9.71 → 1.9.72
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/cjs/components/Cell.js +2 -2
- package/dist/cjs/components/Textarea.js +2 -2
- package/dist/cjs/components/Video.js +2 -2
- package/dist/components/Cell.js +2 -2
- package/dist/components/Textarea.js +2 -2
- package/dist/components/Video.js +2 -2
- package/dist/types/components/Accordion/Accordion.appearance.d.ts +3 -0
- package/dist/types/components/Accordion/Accordion.d.ts +3 -0
- package/dist/types/components/Accordion/Accordion.interface.d.ts +99 -0
- package/dist/types/components/Accordion/AccordionItem.d.ts +4 -0
- package/dist/types/components/Accordion/appearance/accordionSize.d.ts +3 -0
- package/dist/types/components/Accordion/appearance/accordionStyle.d.ts +3 -0
- package/dist/types/components/Accordion/appearance/accordionSurface.d.ts +3 -0
- package/dist/types/components/Accordion/index.d.ts +5 -0
- package/dist/types/components/Avatar/Avatar.appearance.d.ts +3 -0
- package/dist/types/components/Avatar/Avatar.d.ts +4 -0
- package/dist/types/components/Avatar/Avatar.interface.d.ts +58 -0
- package/dist/types/components/Avatar/appearance/avatarDefault.d.ts +3 -0
- package/dist/types/components/Avatar/appearance/avatarShape.d.ts +3 -0
- package/dist/types/components/Avatar/appearance/avatarSize.d.ts +3 -0
- package/dist/types/components/Avatar/appearance/avatarStyle.d.ts +3 -0
- package/dist/types/components/Avatar/index.d.ts +3 -0
- package/dist/types/components/AvatarStack/AvatarStack.appearance.d.ts +3 -0
- package/dist/types/components/AvatarStack/AvatarStack.d.ts +3 -0
- package/dist/types/components/AvatarStack/AvatarStack.interface.d.ts +26 -0
- package/dist/types/components/AvatarStack/appearance/avatarStackSize.d.ts +3 -0
- package/dist/types/components/AvatarStack/index.d.ts +3 -0
- package/dist/types/components/Badge/Badge.appearance.d.ts +3 -0
- package/dist/types/components/Badge/Badge.d.ts +4 -0
- package/dist/types/components/Badge/Badge.interface.d.ts +46 -0
- package/dist/types/components/Badge/appearance/badgeAccent.d.ts +3 -0
- package/dist/types/components/Badge/appearance/badgeDanger.d.ts +3 -0
- package/dist/types/components/Badge/appearance/badgeDisabled.d.ts +3 -0
- package/dist/types/components/Badge/appearance/badgeError.d.ts +3 -0
- package/dist/types/components/Badge/appearance/badgeExtra.d.ts +3 -0
- package/dist/types/components/Badge/appearance/badgeInfo.d.ts +3 -0
- package/dist/types/components/Badge/appearance/badgeShape.d.ts +3 -0
- package/dist/types/components/Badge/appearance/badgeSize.d.ts +3 -0
- package/dist/types/components/Badge/appearance/badgeSpecial.d.ts +3 -0
- package/dist/types/components/Badge/appearance/badgeStyle.d.ts +3 -0
- package/dist/types/components/Badge/appearance/badgeSuccess.d.ts +3 -0
- package/dist/types/components/Badge/appearance/badgeSurface.d.ts +3 -0
- package/dist/types/components/Badge/appearance/badgeWarning.d.ts +3 -0
- package/dist/types/components/Badge/index.d.ts +3 -0
- package/dist/types/components/Breadcrumbs/Breadcrumbs.appearance.d.ts +3 -0
- package/dist/types/components/Breadcrumbs/Breadcrumbs.d.ts +3 -0
- package/dist/types/components/Breadcrumbs/Breadcrumbs.interface.d.ts +79 -0
- package/dist/types/components/Breadcrumbs/BreadcrumbsItem.d.ts +3 -0
- package/dist/types/components/Breadcrumbs/appearance/breadcrumbsAccent.d.ts +3 -0
- package/dist/types/components/Breadcrumbs/appearance/breadcrumbsSize.d.ts +3 -0
- package/dist/types/components/Breadcrumbs/appearance/breadcrumbsStyle.d.ts +3 -0
- package/dist/types/components/Breadcrumbs/appearance/breadcrumbsSurface.d.ts +3 -0
- package/dist/types/components/Breadcrumbs/index.d.ts +5 -0
- package/dist/types/components/Button/Button.appearance.d.ts +3 -0
- package/dist/types/components/Button/Button.d.ts +85 -0
- package/dist/types/components/Button/Button.interface.d.ts +98 -0
- package/dist/types/components/Button/appearance/buttonAccent.d.ts +3 -0
- package/dist/types/components/Button/appearance/buttonDanger.d.ts +3 -0
- package/dist/types/components/Button/appearance/buttonError.d.ts +3 -0
- package/dist/types/components/Button/appearance/buttonExtra.d.ts +3 -0
- package/dist/types/components/Button/appearance/buttonInfo.d.ts +3 -0
- package/dist/types/components/Button/appearance/buttonShape.d.ts +3 -0
- package/dist/types/components/Button/appearance/buttonSize.d.ts +3 -0
- package/dist/types/components/Button/appearance/buttonSpecial.d.ts +3 -0
- package/dist/types/components/Button/appearance/buttonStyle.d.ts +3 -0
- package/dist/types/components/Button/appearance/buttonSuccess.d.ts +3 -0
- package/dist/types/components/Button/appearance/buttonSurface.d.ts +3 -0
- package/dist/types/components/Button/appearance/buttonWarning.d.ts +3 -0
- package/dist/types/components/Button/index.d.ts +3 -0
- package/dist/types/components/Cell/Cell.appearance.d.ts +3 -0
- package/dist/types/components/Cell/Cell.d.ts +4 -0
- package/dist/types/components/Cell/Cell.interface.d.ts +88 -0
- package/dist/types/components/Cell/appearance/cellSize.d.ts +3 -0
- package/dist/types/components/Cell/appearance/cellStyle.d.ts +3 -0
- package/dist/types/components/Cell/appearance/cellSurface.d.ts +3 -0
- package/dist/types/components/Cell/index.d.ts +3 -0
- package/dist/types/components/Checkbox/Checkbox.appearance.d.ts +3 -0
- package/dist/types/components/Checkbox/Checkbox.d.ts +4 -0
- package/dist/types/components/Checkbox/Checkbox.interface.d.ts +66 -0
- package/dist/types/components/Checkbox/appearance/checkboxDefault.d.ts +3 -0
- package/dist/types/components/Checkbox/appearance/checkboxDisabled.d.ts +3 -0
- package/dist/types/components/Checkbox/appearance/checkboxError.d.ts +3 -0
- package/dist/types/components/Checkbox/appearance/checkboxRequire.d.ts +3 -0
- package/dist/types/components/Checkbox/appearance/checkboxShape.d.ts +3 -0
- package/dist/types/components/Checkbox/appearance/checkboxSize.d.ts +3 -0
- package/dist/types/components/Checkbox/appearance/checkboxStyle.d.ts +3 -0
- package/dist/types/components/Checkbox/appearance/checkboxSuccess.d.ts +3 -0
- package/dist/types/components/Checkbox/index.d.ts +3 -0
- package/dist/types/components/Checkmark/Checkmark.appearance.d.ts +3 -0
- package/dist/types/components/Checkmark/Checkmark.d.ts +4 -0
- package/dist/types/components/Checkmark/Checkmark.interface.d.ts +42 -0
- package/dist/types/components/Checkmark/appearance/checkmarkAccent.d.ts +3 -0
- package/dist/types/components/Checkmark/appearance/checkmarkDisabled.d.ts +3 -0
- package/dist/types/components/Checkmark/appearance/checkmarkError.d.ts +3 -0
- package/dist/types/components/Checkmark/appearance/checkmarkSize.d.ts +3 -0
- package/dist/types/components/Checkmark/appearance/checkmarkStyle.d.ts +3 -0
- package/dist/types/components/Checkmark/appearance/checkmarkSurface.d.ts +3 -0
- package/dist/types/components/Checkmark/index.d.ts +3 -0
- package/dist/types/components/Chips/Chips.appearance.d.ts +3 -0
- package/dist/types/components/Chips/Chips.d.ts +4 -0
- package/dist/types/components/Chips/Chips.interface.d.ts +113 -0
- package/dist/types/components/Chips/ChipsGroup.d.ts +3 -0
- package/dist/types/components/Chips/appearance/chipsAccent.d.ts +3 -0
- package/dist/types/components/Chips/appearance/chipsDanger.d.ts +3 -0
- package/dist/types/components/Chips/appearance/chipsDisabled.d.ts +3 -0
- package/dist/types/components/Chips/appearance/chipsError.d.ts +3 -0
- package/dist/types/components/Chips/appearance/chipsExtra.d.ts +3 -0
- package/dist/types/components/Chips/appearance/chipsInfo.d.ts +3 -0
- package/dist/types/components/Chips/appearance/chipsShape.d.ts +3 -0
- package/dist/types/components/Chips/appearance/chipsSize.d.ts +3 -0
- package/dist/types/components/Chips/appearance/chipsSpecial.d.ts +3 -0
- package/dist/types/components/Chips/appearance/chipsStyle.d.ts +3 -0
- package/dist/types/components/Chips/appearance/chipsSuccess.d.ts +3 -0
- package/dist/types/components/Chips/appearance/chipsSurface.d.ts +3 -0
- package/dist/types/components/Chips/appearance/chipsWarning.d.ts +3 -0
- package/dist/types/components/Chips/index.d.ts +4 -0
- package/dist/types/components/Choice/Choice.appearance.d.ts +3 -0
- package/dist/types/components/Choice/Choice.d.ts +4 -0
- package/dist/types/components/Choice/Choice.interface.d.ts +91 -0
- package/dist/types/components/Choice/appearance/choiceDefault.d.ts +3 -0
- package/dist/types/components/Choice/appearance/choiceDisabled.d.ts +3 -0
- package/dist/types/components/Choice/appearance/choiceError.d.ts +3 -0
- package/dist/types/components/Choice/appearance/choiceRequire.d.ts +3 -0
- package/dist/types/components/Choice/appearance/choiceShape.d.ts +3 -0
- package/dist/types/components/Choice/appearance/choiceSize.d.ts +3 -0
- package/dist/types/components/Choice/appearance/choiceStyle.d.ts +3 -0
- package/dist/types/components/Choice/appearance/choiceSuccess.d.ts +3 -0
- package/dist/types/components/Choice/index.d.ts +3 -0
- package/dist/types/components/Code/Code.appearance.d.ts +3 -0
- package/dist/types/components/Code/Code.d.ts +4 -0
- package/dist/types/components/Code/Code.interface.d.ts +58 -0
- package/dist/types/components/Code/appearance/codeDefault.d.ts +3 -0
- package/dist/types/components/Code/appearance/codeDisabled.d.ts +3 -0
- package/dist/types/components/Code/appearance/codeError.d.ts +3 -0
- package/dist/types/components/Code/appearance/codeRequire.d.ts +3 -0
- package/dist/types/components/Code/appearance/codeShape.d.ts +3 -0
- package/dist/types/components/Code/appearance/codeSize.d.ts +3 -0
- package/dist/types/components/Code/appearance/codeStyle.d.ts +3 -0
- package/dist/types/components/Code/appearance/codeSuccess.d.ts +3 -0
- package/dist/types/components/Code/index.d.ts +3 -0
- package/dist/types/components/CookiesWarning/CookiesWarning.appearance.d.ts +3 -0
- package/dist/types/components/CookiesWarning/CookiesWarning.d.ts +5 -0
- package/dist/types/components/CookiesWarning/CookiesWarning.interface.d.ts +37 -0
- package/dist/types/components/CookiesWarning/appearance/cookiesWarningDefault.d.ts +3 -0
- package/dist/types/components/CookiesWarning/index.d.ts +4 -0
- package/dist/types/components/Dadata/Dadata.d.ts +3 -0
- package/dist/types/components/Dadata/Dadata.interface.d.ts +24 -0
- package/dist/types/components/Dadata/index.d.ts +2 -0
- package/dist/types/components/DatePeriod/DatePeriod.appearance.d.ts +3 -0
- package/dist/types/components/DatePeriod/DatePeriod.d.ts +4 -0
- package/dist/types/components/DatePeriod/DatePeriod.interface.d.ts +66 -0
- package/dist/types/components/DatePeriod/appearance/datePeriodShape.d.ts +3 -0
- package/dist/types/components/DatePeriod/appearance/datePeriodSize.d.ts +3 -0
- package/dist/types/components/DatePeriod/appearance/datePeriodSurface.d.ts +3 -0
- package/dist/types/components/DatePeriod/index.d.ts +3 -0
- package/dist/types/components/DatePicker/DatePicker.appearance.d.ts +3 -0
- package/dist/types/components/DatePicker/DatePicker.d.ts +4 -0
- package/dist/types/components/DatePicker/DatePicker.interface.d.ts +101 -0
- package/dist/types/components/DatePicker/DatePicker.utils.d.ts +6 -0
- package/dist/types/components/DatePicker/appearance/datePickerSize.d.ts +3 -0
- package/dist/types/components/DatePicker/appearance/datePickerStyle.d.ts +3 -0
- package/dist/types/components/DatePicker/appearance/datePickerSurface.d.ts +3 -0
- package/dist/types/components/DatePicker/index.d.ts +3 -0
- package/dist/types/components/Divider/Divider.appearance.d.ts +3 -0
- package/dist/types/components/Divider/Divider.d.ts +4 -0
- package/dist/types/components/Divider/Divider.interface.d.ts +38 -0
- package/dist/types/components/Divider/appearance/dividerAccent.d.ts +3 -0
- package/dist/types/components/Divider/appearance/dividerError.d.ts +3 -0
- package/dist/types/components/Divider/appearance/dividerExtra.d.ts +3 -0
- package/dist/types/components/Divider/appearance/dividerSize.d.ts +3 -0
- package/dist/types/components/Divider/appearance/dividerSpecial.d.ts +3 -0
- package/dist/types/components/Divider/appearance/dividerSuccess.d.ts +3 -0
- package/dist/types/components/Divider/appearance/dividerSurface.d.ts +3 -0
- package/dist/types/components/Divider/appearance/dividerWarning.d.ts +3 -0
- package/dist/types/components/Divider/index.d.ts +3 -0
- package/dist/types/components/Dot/Dot.d.ts +3 -0
- package/dist/types/components/Dot/Dot.interface.d.ts +30 -0
- package/dist/types/components/Dot/index.d.ts +2 -0
- package/dist/types/components/Drawer/Drawer.appearance.d.ts +3 -0
- package/dist/types/components/Drawer/Drawer.constants.d.ts +16 -0
- package/dist/types/components/Drawer/Drawer.d.ts +4 -0
- package/dist/types/components/Drawer/Drawer.interface.d.ts +55 -0
- package/dist/types/components/Drawer/appearance/drawerSize.d.ts +3 -0
- package/dist/types/components/Drawer/appearance/drawerSurface.d.ts +3 -0
- package/dist/types/components/Drawer/index.d.ts +3 -0
- package/dist/types/components/Dropdown/Dropdown.appearance.d.ts +3 -0
- package/dist/types/components/Dropdown/Dropdown.d.ts +3 -0
- package/dist/types/components/Dropdown/Dropdown.interface.d.ts +174 -0
- package/dist/types/components/Dropdown/DropdownItem.appearance.d.ts +3 -0
- package/dist/types/components/Dropdown/DropdownItem.d.ts +4 -0
- package/dist/types/components/Dropdown/appearance/dropdownAccent.d.ts +3 -0
- package/dist/types/components/Dropdown/appearance/dropdownShape.d.ts +3 -0
- package/dist/types/components/Dropdown/appearance/dropdownSize.d.ts +3 -0
- package/dist/types/components/Dropdown/appearance/dropdownStyle.d.ts +3 -0
- package/dist/types/components/Dropdown/appearance/dropdownSurface.d.ts +3 -0
- package/dist/types/components/Dropdown/index.d.ts +5 -0
- package/dist/types/components/Dropzone/Dropzone.appearance.d.ts +3 -0
- package/dist/types/components/Dropzone/Dropzone.d.ts +4 -0
- package/dist/types/components/Dropzone/Dropzone.interface.d.ts +82 -0
- package/dist/types/components/Dropzone/appearance/dropzoneDefault.d.ts +3 -0
- package/dist/types/components/Dropzone/appearance/dropzoneDisabled.d.ts +3 -0
- package/dist/types/components/Dropzone/appearance/dropzoneError.d.ts +3 -0
- package/dist/types/components/Dropzone/appearance/dropzoneRequire.d.ts +3 -0
- package/dist/types/components/Dropzone/appearance/dropzoneShape.d.ts +3 -0
- package/dist/types/components/Dropzone/appearance/dropzoneSuccess.d.ts +3 -0
- package/dist/types/components/Dropzone/index.d.ts +2 -0
- package/dist/types/components/Flex/Flex.d.ts +3 -0
- package/dist/types/components/Flex/Flex.interface.d.ts +141 -0
- package/dist/types/components/Flex/FlexItem.d.ts +3 -0
- package/dist/types/components/Flex/index.d.ts +4 -0
- package/dist/types/components/Grid/Grid.d.ts +3 -0
- package/dist/types/components/Grid/Grid.interface.d.ts +143 -0
- package/dist/types/components/Grid/GridItem.d.ts +3 -0
- package/dist/types/components/Grid/GridRow.d.ts +3 -0
- package/dist/types/components/Grid/index.d.ts +5 -0
- package/dist/types/components/Group/Group.appearance.d.ts +3 -0
- package/dist/types/components/Group/Group.d.ts +59 -0
- package/dist/types/components/Group/Group.interface.d.ts +71 -0
- package/dist/types/components/Group/index.d.ts +3 -0
- package/dist/types/components/HTMLContent/HTMLContent.d.ts +3 -0
- package/dist/types/components/HTMLContent/HTMLContent.interface.d.ts +34 -0
- package/dist/types/components/HTMLContent/index.d.ts +2 -0
- package/dist/types/components/HeroTitle/HeroTitle.appearance.d.ts +3 -0
- package/dist/types/components/HeroTitle/HeroTitle.d.ts +4 -0
- package/dist/types/components/HeroTitle/HeroTitle.interface.d.ts +77 -0
- package/dist/types/components/HeroTitle/appearance/heroTitleSize.d.ts +3 -0
- package/dist/types/components/HeroTitle/index.d.ts +3 -0
- package/dist/types/components/Icon/Icon.appearance.d.ts +3 -0
- package/dist/types/components/Icon/Icon.d.ts +41 -0
- package/dist/types/components/Icon/Icon.interface.d.ts +92 -0
- package/dist/types/components/Icon/appearance/iconAccent.d.ts +3 -0
- package/dist/types/components/Icon/appearance/iconDanger.d.ts +3 -0
- package/dist/types/components/Icon/appearance/iconDisabled.d.ts +3 -0
- package/dist/types/components/Icon/appearance/iconError.d.ts +3 -0
- package/dist/types/components/Icon/appearance/iconExtra.d.ts +3 -0
- package/dist/types/components/Icon/appearance/iconInfo.d.ts +3 -0
- package/dist/types/components/Icon/appearance/iconShape.d.ts +3 -0
- package/dist/types/components/Icon/appearance/iconSize.d.ts +3 -0
- package/dist/types/components/Icon/appearance/iconSpecial.d.ts +3 -0
- package/dist/types/components/Icon/appearance/iconStyle.d.ts +3 -0
- package/dist/types/components/Icon/appearance/iconSuccess.d.ts +3 -0
- package/dist/types/components/Icon/appearance/iconSurface.d.ts +3 -0
- package/dist/types/components/Icon/appearance/iconWarning.d.ts +3 -0
- package/dist/types/components/Icon/index.d.ts +3 -0
- package/dist/types/components/Image/Image.d.ts +39 -0
- package/dist/types/components/Image/Image.interface.d.ts +43 -0
- package/dist/types/components/Image/index.d.ts +2 -0
- package/dist/types/components/Input/Input.appearance.d.ts +3 -0
- package/dist/types/components/Input/Input.d.ts +24 -0
- package/dist/types/components/Input/Input.interface.d.ts +52 -0
- package/dist/types/components/Input/appearance/inputDefault.d.ts +3 -0
- package/dist/types/components/Input/appearance/inputDisabled.d.ts +3 -0
- package/dist/types/components/Input/appearance/inputError.d.ts +3 -0
- package/dist/types/components/Input/appearance/inputRequire.d.ts +3 -0
- package/dist/types/components/Input/appearance/inputShape.d.ts +3 -0
- package/dist/types/components/Input/appearance/inputSize.d.ts +3 -0
- package/dist/types/components/Input/appearance/inputStyle.d.ts +3 -0
- package/dist/types/components/Input/appearance/inputSuccess.d.ts +3 -0
- package/dist/types/components/Input/index.d.ts +3 -0
- package/dist/types/components/InputNumber/InputNumber.appearance.d.ts +3 -0
- package/dist/types/components/InputNumber/InputNumber.d.ts +3 -0
- package/dist/types/components/InputNumber/InputNumber.interfaces.d.ts +54 -0
- package/dist/types/components/InputNumber/appearance/InputNumberShape.d.ts +3 -0
- package/dist/types/components/InputNumber/appearance/inputNumberSize.d.ts +3 -0
- package/dist/types/components/InputNumber/appearance/inputNumberStyle.d.ts +3 -0
- package/dist/types/components/InputNumber/appearance/inputNumberSurface.d.ts +3 -0
- package/dist/types/components/InputNumber/index.d.ts +2 -0
- package/dist/types/components/InputPassword/InputPassword.appearance.d.ts +3 -0
- package/dist/types/components/InputPassword/InputPassword.d.ts +4 -0
- package/dist/types/components/InputPassword/InputPassword.interface.d.ts +53 -0
- package/dist/types/components/InputPassword/appearance/inputPasswordDefault.d.ts +3 -0
- package/dist/types/components/InputPassword/appearance/inputPasswordDisabled.d.ts +3 -0
- package/dist/types/components/InputPassword/appearance/inputPasswordError.d.ts +3 -0
- package/dist/types/components/InputPassword/appearance/inputPasswordRequire.d.ts +3 -0
- package/dist/types/components/InputPassword/appearance/inputPasswordShape.d.ts +3 -0
- package/dist/types/components/InputPassword/appearance/inputPasswordSize.d.ts +3 -0
- package/dist/types/components/InputPassword/appearance/inputPasswordStyle.d.ts +3 -0
- package/dist/types/components/InputPassword/appearance/inputPasswordSuccess.d.ts +3 -0
- package/dist/types/components/InputPassword/index.d.ts +3 -0
- package/dist/types/components/Label/Label.appearance.d.ts +3 -0
- package/dist/types/components/Label/Label.d.ts +4 -0
- package/dist/types/components/Label/Label.interface.d.ts +69 -0
- package/dist/types/components/Label/appearance/labelAccent.d.ts +3 -0
- package/dist/types/components/Label/appearance/labelDanger.d.ts +3 -0
- package/dist/types/components/Label/appearance/labelDisabled.d.ts +3 -0
- package/dist/types/components/Label/appearance/labelError.d.ts +3 -0
- package/dist/types/components/Label/appearance/labelExtra.d.ts +3 -0
- package/dist/types/components/Label/appearance/labelGradient.d.ts +3 -0
- package/dist/types/components/Label/appearance/labelInfo.d.ts +3 -0
- package/dist/types/components/Label/appearance/labelShape.d.ts +3 -0
- package/dist/types/components/Label/appearance/labelSize.d.ts +3 -0
- package/dist/types/components/Label/appearance/labelSpecial.d.ts +3 -0
- package/dist/types/components/Label/appearance/labelStyle.d.ts +3 -0
- package/dist/types/components/Label/appearance/labelSuccess.d.ts +3 -0
- package/dist/types/components/Label/appearance/labelSurface.d.ts +3 -0
- package/dist/types/components/Label/appearance/labelWarning.d.ts +3 -0
- package/dist/types/components/Label/index.d.ts +3 -0
- package/dist/types/components/Link/Link.appearance.d.ts +3 -0
- package/dist/types/components/Link/Link.d.ts +6 -0
- package/dist/types/components/Link/Link.interface.d.ts +96 -0
- package/dist/types/components/Link/appearance/linkAccent.d.ts +3 -0
- package/dist/types/components/Link/appearance/linkDanger.d.ts +3 -0
- package/dist/types/components/Link/appearance/linkDisabled.d.ts +3 -0
- package/dist/types/components/Link/appearance/linkError.d.ts +3 -0
- package/dist/types/components/Link/appearance/linkExtra.d.ts +3 -0
- package/dist/types/components/Link/appearance/linkInfo.d.ts +3 -0
- package/dist/types/components/Link/appearance/linkRequire.d.ts +3 -0
- package/dist/types/components/Link/appearance/linkSize.d.ts +3 -0
- package/dist/types/components/Link/appearance/linkSpecial.d.ts +3 -0
- package/dist/types/components/Link/appearance/linkStyle.d.ts +3 -0
- package/dist/types/components/Link/appearance/linkSuccess.d.ts +3 -0
- package/dist/types/components/Link/appearance/linkSurface.d.ts +3 -0
- package/dist/types/components/Link/appearance/linkWarning.d.ts +3 -0
- package/dist/types/components/Link/index.d.ts +3 -0
- package/dist/types/components/List/List.appearance.d.ts +3 -0
- package/dist/types/components/List/List.d.ts +3 -0
- package/dist/types/components/List/List.interface.d.ts +54 -0
- package/dist/types/components/List/ListItem.d.ts +3 -0
- package/dist/types/components/List/appearance/listAccent.d.ts +3 -0
- package/dist/types/components/List/appearance/listDanger.d.ts +3 -0
- package/dist/types/components/List/appearance/listError.d.ts +3 -0
- package/dist/types/components/List/appearance/listExtra.d.ts +3 -0
- package/dist/types/components/List/appearance/listInfo.d.ts +3 -0
- package/dist/types/components/List/appearance/listSize.d.ts +3 -0
- package/dist/types/components/List/appearance/listSpecial.d.ts +3 -0
- package/dist/types/components/List/appearance/listStyle.d.ts +3 -0
- package/dist/types/components/List/appearance/listSuccess.d.ts +3 -0
- package/dist/types/components/List/appearance/listSurface.d.ts +3 -0
- package/dist/types/components/List/appearance/listWarning.d.ts +3 -0
- package/dist/types/components/List/index.d.ts +4 -0
- package/dist/types/components/Loader/Loader.appearance.d.ts +3 -0
- package/dist/types/components/Loader/Loader.d.ts +4 -0
- package/dist/types/components/Loader/Loader.interface.d.ts +35 -0
- package/dist/types/components/Loader/appearance/loaderAccent.d.ts +3 -0
- package/dist/types/components/Loader/appearance/loaderDanger.d.ts +3 -0
- package/dist/types/components/Loader/appearance/loaderError.d.ts +3 -0
- package/dist/types/components/Loader/appearance/loaderExtra.d.ts +3 -0
- package/dist/types/components/Loader/appearance/loaderInfo.d.ts +3 -0
- package/dist/types/components/Loader/appearance/loaderSize.d.ts +3 -0
- package/dist/types/components/Loader/appearance/loaderSpecial.d.ts +3 -0
- package/dist/types/components/Loader/appearance/loaderStyle.d.ts +3 -0
- package/dist/types/components/Loader/appearance/loaderSuccess.d.ts +3 -0
- package/dist/types/components/Loader/appearance/loaderSurface.d.ts +3 -0
- package/dist/types/components/Loader/appearance/loaderWarning.d.ts +3 -0
- package/dist/types/components/Loader/index.d.ts +3 -0
- package/dist/types/components/Logo/Logo.d.ts +29 -0
- package/dist/types/components/Logo/Logo.interface.d.ts +39 -0
- package/dist/types/components/Logo/index.d.ts +2 -0
- package/dist/types/components/MenuItem/MenuItem.appearance.d.ts +3 -0
- package/dist/types/components/MenuItem/MenuItem.d.ts +4 -0
- package/dist/types/components/MenuItem/MenuItem.interface.d.ts +96 -0
- package/dist/types/components/MenuItem/appearance/menuItemAccent.d.ts +3 -0
- package/dist/types/components/MenuItem/appearance/menuItemError.d.ts +3 -0
- package/dist/types/components/MenuItem/appearance/menuItemShape.d.ts +3 -0
- package/dist/types/components/MenuItem/appearance/menuItemSize.d.ts +3 -0
- package/dist/types/components/MenuItem/appearance/menuItemStyle.d.ts +3 -0
- package/dist/types/components/MenuItem/appearance/menuItemSurface.d.ts +3 -0
- package/dist/types/components/MenuItem/index.d.ts +3 -0
- package/dist/types/components/Modal/Modal.appearance.d.ts +3 -0
- package/dist/types/components/Modal/Modal.d.ts +61 -0
- package/dist/types/components/Modal/Modal.interface.d.ts +80 -0
- package/dist/types/components/Modal/ModalLoader.d.ts +2 -0
- package/dist/types/components/Modal/appearance/modalShape.d.ts +3 -0
- package/dist/types/components/Modal/appearance/modalSize.d.ts +3 -0
- package/dist/types/components/Modal/appearance/modalStyle.d.ts +3 -0
- package/dist/types/components/Modal/appearance/modalSurface.d.ts +3 -0
- package/dist/types/components/Modal/index.d.ts +5 -0
- package/dist/types/components/ModalSheetBottom/ModalSheetBottom.appearance.d.ts +3 -0
- package/dist/types/components/ModalSheetBottom/ModalSheetBottom.d.ts +26 -0
- package/dist/types/components/ModalSheetBottom/ModalSheetBottom.interface.d.ts +42 -0
- package/dist/types/components/ModalSheetBottom/appearance/modalSheetBottomSize.d.ts +3 -0
- package/dist/types/components/ModalSheetBottom/index.d.ts +3 -0
- package/dist/types/components/Notification/Notification.appearance.d.ts +3 -0
- package/dist/types/components/Notification/Notification.d.ts +4 -0
- package/dist/types/components/Notification/Notification.interface.d.ts +73 -0
- package/dist/types/components/Notification/NotificationWrapper.d.ts +3 -0
- package/dist/types/components/Notification/appearance/notificationDefault.d.ts +3 -0
- package/dist/types/components/Notification/appearance/notificationError.d.ts +3 -0
- package/dist/types/components/Notification/appearance/notificationInfo.d.ts +3 -0
- package/dist/types/components/Notification/appearance/notificationShape.d.ts +3 -0
- package/dist/types/components/Notification/appearance/notificationSize.d.ts +3 -0
- package/dist/types/components/Notification/appearance/notificationStyle.d.ts +3 -0
- package/dist/types/components/Notification/appearance/notificationSuccess.d.ts +3 -0
- package/dist/types/components/Notification/appearance/notificationWarning.d.ts +3 -0
- package/dist/types/components/Notification/index.d.ts +5 -0
- package/dist/types/components/Overlay/Overlay.appearance.d.ts +3 -0
- package/dist/types/components/Overlay/Overlay.d.ts +4 -0
- package/dist/types/components/Overlay/Overlay.interface.d.ts +27 -0
- package/dist/types/components/Overlay/appearance/overlayDefault.d.ts +3 -0
- package/dist/types/components/Overlay/index.d.ts +3 -0
- package/dist/types/components/Pagination/Pagination.appearance.d.ts +3 -0
- package/dist/types/components/Pagination/Pagination.d.ts +4 -0
- package/dist/types/components/Pagination/Pagination.interface.d.ts +114 -0
- package/dist/types/components/Pagination/appearance/paginationAccent.d.ts +3 -0
- package/dist/types/components/Pagination/appearance/paginationShape.d.ts +3 -0
- package/dist/types/components/Pagination/appearance/paginationSize.d.ts +3 -0
- package/dist/types/components/Pagination/appearance/paginationStyle.d.ts +3 -0
- package/dist/types/components/Pagination/appearance/paginationSurface.d.ts +3 -0
- package/dist/types/components/Pagination/index.d.ts +3 -0
- package/dist/types/components/Radio/Radio.appearance.d.ts +3 -0
- package/dist/types/components/Radio/Radio.d.ts +4 -0
- package/dist/types/components/Radio/Radio.interface.d.ts +53 -0
- package/dist/types/components/Radio/appearance/radioDefault.d.ts +3 -0
- package/dist/types/components/Radio/appearance/radioDisabled.d.ts +3 -0
- package/dist/types/components/Radio/appearance/radioError.d.ts +3 -0
- package/dist/types/components/Radio/appearance/radioRequire.d.ts +3 -0
- package/dist/types/components/Radio/appearance/radioShape.d.ts +3 -0
- package/dist/types/components/Radio/appearance/radioSize.d.ts +3 -0
- package/dist/types/components/Radio/appearance/radioStyle.d.ts +3 -0
- package/dist/types/components/Radio/appearance/radioSuccess.d.ts +3 -0
- package/dist/types/components/Radio/index.d.ts +3 -0
- package/dist/types/components/RangeSlider/RangeSlider.d.ts +3 -0
- package/dist/types/components/RangeSlider/RangeSlider.interface.d.ts +34 -0
- package/dist/types/components/RangeSlider/index.d.ts +2 -0
- package/dist/types/components/Response/Response.appearance.d.ts +3 -0
- package/dist/types/components/Response/Response.constant.d.ts +63 -0
- package/dist/types/components/Response/Response.d.ts +65 -0
- package/dist/types/components/Response/Response.interface.d.ts +77 -0
- package/dist/types/components/Response/appearance/responseConfirm.d.ts +3 -0
- package/dist/types/components/Response/appearance/responseDanger.d.ts +3 -0
- package/dist/types/components/Response/appearance/responseEmpty.d.ts +3 -0
- package/dist/types/components/Response/appearance/responseError.d.ts +3 -0
- package/dist/types/components/Response/appearance/responseFail.d.ts +3 -0
- package/dist/types/components/Response/appearance/responseNothingFound.d.ts +3 -0
- package/dist/types/components/Response/appearance/responseRefresh.d.ts +3 -0
- package/dist/types/components/Response/appearance/responseStyle.d.ts +3 -0
- package/dist/types/components/Response/appearance/responseSuccess.d.ts +3 -0
- package/dist/types/components/Response/appearance/responseUnableLoadData.d.ts +3 -0
- package/dist/types/components/Response/appearance/responseWarning.d.ts +3 -0
- package/dist/types/components/Response/img/index.d.ts +14 -0
- package/dist/types/components/Response/index.d.ts +6 -0
- package/dist/types/components/SVGContent/SVGContent.d.ts +11 -0
- package/dist/types/components/SVGContent/SVGContent.interface.d.ts +16 -0
- package/dist/types/components/SVGContent/index.d.ts +2 -0
- package/dist/types/components/ScrollOnDrag/ScrollOnDrag.d.ts +3 -0
- package/dist/types/components/ScrollOnDrag/ScrollOnDrag.interface.d.ts +24 -0
- package/dist/types/components/ScrollOnDrag/index.d.ts +2 -0
- package/dist/types/components/ScrollToView/ScrollToView.d.ts +3 -0
- package/dist/types/components/ScrollToView/ScrollToView.interface.d.ts +24 -0
- package/dist/types/components/ScrollToView/index.d.ts +2 -0
- package/dist/types/components/Scrollbar/Scrollbar.d.ts +3 -0
- package/dist/types/components/Scrollbar/Scrollbar.interface.d.ts +14 -0
- package/dist/types/components/Scrollbar/index.d.ts +2 -0
- package/dist/types/components/Search/Search.appearance.d.ts +3 -0
- package/dist/types/components/Search/Search.interface.d.ts +79 -0
- package/dist/types/components/Search/SearchInput.d.ts +54 -0
- package/dist/types/components/Search/SearchResult.d.ts +15 -0
- package/dist/types/components/Search/appearance/searchDefault.d.ts +3 -0
- package/dist/types/components/Search/appearance/searchDisabled.d.ts +3 -0
- package/dist/types/components/Search/appearance/searchError.d.ts +3 -0
- package/dist/types/components/Search/appearance/searchRequire.d.ts +3 -0
- package/dist/types/components/Search/appearance/searchShape.d.ts +3 -0
- package/dist/types/components/Search/appearance/searchSize.d.ts +3 -0
- package/dist/types/components/Search/appearance/searchStyle.d.ts +3 -0
- package/dist/types/components/Search/appearance/searchSuccess.d.ts +3 -0
- package/dist/types/components/Search/index.d.ts +5 -0
- package/dist/types/components/Segmented/Segmented.appearance.d.ts +3 -0
- package/dist/types/components/Segmented/Segmented.d.ts +4 -0
- package/dist/types/components/Segmented/Segmented.interface.d.ts +61 -0
- package/dist/types/components/Segmented/appearance/segmentedDefault.d.ts +3 -0
- package/dist/types/components/Segmented/appearance/segmentedDisabled.d.ts +3 -0
- package/dist/types/components/Segmented/appearance/segmentedError.d.ts +3 -0
- package/dist/types/components/Segmented/appearance/segmentedRequire.d.ts +3 -0
- package/dist/types/components/Segmented/appearance/segmentedShape.d.ts +3 -0
- package/dist/types/components/Segmented/appearance/segmentedSize.d.ts +3 -0
- package/dist/types/components/Segmented/appearance/segmentedStyle.d.ts +3 -0
- package/dist/types/components/Segmented/appearance/segmentedSuccess.d.ts +3 -0
- package/dist/types/components/Segmented/appearance/segmentedWarning.d.ts +3 -0
- package/dist/types/components/Segmented/index.d.ts +3 -0
- package/dist/types/components/Select/Select.appearance.d.ts +3 -0
- package/dist/types/components/Select/Select.interface.d.ts +140 -0
- package/dist/types/components/Select/SelectClearIndicator.d.ts +3 -0
- package/dist/types/components/Select/SelectContainer.d.ts +9 -0
- package/dist/types/components/Select/SelectControl.d.ts +3 -0
- package/dist/types/components/Select/SelectDropdownIndicator.d.ts +3 -0
- package/dist/types/components/Select/SelectGroupHeading.d.ts +3 -0
- package/dist/types/components/Select/SelectIndicatorsContainer.d.ts +3 -0
- package/dist/types/components/Select/SelectInput.d.ts +3 -0
- package/dist/types/components/Select/SelectLoadingIndicator.d.ts +3 -0
- package/dist/types/components/Select/SelectLoadingMessage.d.ts +3 -0
- package/dist/types/components/Select/SelectMenu.d.ts +3 -0
- package/dist/types/components/Select/SelectMultiValue.d.ts +4 -0
- package/dist/types/components/Select/SelectMultiValueContainer.d.ts +3 -0
- package/dist/types/components/Select/SelectMultiValueLabel.d.ts +3 -0
- package/dist/types/components/Select/SelectMultiValueRemove.d.ts +3 -0
- package/dist/types/components/Select/SelectNoOptions.d.ts +3 -0
- package/dist/types/components/Select/SelectOption.d.ts +3 -0
- package/dist/types/components/Select/SelectOverflowBadge.d.ts +10 -0
- package/dist/types/components/Select/SelectPlaceholder.d.ts +3 -0
- package/dist/types/components/Select/SelectSingleValue.d.ts +3 -0
- package/dist/types/components/Select/SelectValueContainer.d.ts +3 -0
- package/dist/types/components/Select/appearance/selectDefault.d.ts +3 -0
- package/dist/types/components/Select/appearance/selectDisabled.d.ts +3 -0
- package/dist/types/components/Select/appearance/selectError.d.ts +3 -0
- package/dist/types/components/Select/appearance/selectRequire.d.ts +3 -0
- package/dist/types/components/Select/appearance/selectShape.d.ts +3 -0
- package/dist/types/components/Select/appearance/selectSize.d.ts +3 -0
- package/dist/types/components/Select/appearance/selectStyle.d.ts +3 -0
- package/dist/types/components/Select/appearance/selectSuccess.d.ts +3 -0
- package/dist/types/components/Select/index.d.ts +17 -0
- package/dist/types/components/Swiper/Swiper.d.ts +3 -0
- package/dist/types/components/Swiper/Swiper.interface.d.ts +66 -0
- package/dist/types/components/Swiper/index.d.ts +2 -0
- package/dist/types/components/Switch/Switch.appearance.d.ts +3 -0
- package/dist/types/components/Switch/Switch.d.ts +33 -0
- package/dist/types/components/Switch/Switch.interface.d.ts +42 -0
- package/dist/types/components/Switch/appearance/switchDefault.d.ts +3 -0
- package/dist/types/components/Switch/appearance/switchDisabled.d.ts +3 -0
- package/dist/types/components/Switch/appearance/switchError.d.ts +3 -0
- package/dist/types/components/Switch/appearance/switchRequire.d.ts +3 -0
- package/dist/types/components/Switch/appearance/switchSize.d.ts +3 -0
- package/dist/types/components/Switch/appearance/switchStyle.d.ts +3 -0
- package/dist/types/components/Switch/appearance/switchSuccess.d.ts +3 -0
- package/dist/types/components/Switch/index.d.ts +3 -0
- package/dist/types/components/Tab/Tab.appearance.d.ts +3 -0
- package/dist/types/components/Tab/Tab.d.ts +4 -0
- package/dist/types/components/Tab/Tab.interface.d.ts +116 -0
- package/dist/types/components/Tab/TabGroup.d.ts +3 -0
- package/dist/types/components/Tab/appearance/tabError.d.ts +3 -0
- package/dist/types/components/Tab/appearance/tabSize.d.ts +3 -0
- package/dist/types/components/Tab/appearance/tabStyle.d.ts +3 -0
- package/dist/types/components/Tab/appearance/tabSuccess.d.ts +3 -0
- package/dist/types/components/Tab/appearance/tabSurface.d.ts +3 -0
- package/dist/types/components/Tab/appearance/tabWarning.d.ts +3 -0
- package/dist/types/components/Tab/index.d.ts +4 -0
- package/dist/types/components/Text/Text.appearance.d.ts +3 -0
- package/dist/types/components/Text/Text.d.ts +4 -0
- package/dist/types/components/Text/Text.interface.d.ts +45 -0
- package/dist/types/components/Text/appearance/textSize.d.ts +3 -0
- package/dist/types/components/Text/index.d.ts +3 -0
- package/dist/types/components/Textarea/Textarea.appearance.d.ts +3 -0
- package/dist/types/components/Textarea/Textarea.d.ts +4 -0
- package/dist/types/components/Textarea/Textarea.interface.d.ts +48 -0
- package/dist/types/components/Textarea/appearance/textareaDefault.d.ts +3 -0
- package/dist/types/components/Textarea/appearance/textareaDisabled.d.ts +3 -0
- package/dist/types/components/Textarea/appearance/textareaError.d.ts +3 -0
- package/dist/types/components/Textarea/appearance/textareaRequire.d.ts +3 -0
- package/dist/types/components/Textarea/appearance/textareaShape.d.ts +3 -0
- package/dist/types/components/Textarea/appearance/textareaSize.d.ts +3 -0
- package/dist/types/components/Textarea/appearance/textareaStyle.d.ts +3 -0
- package/dist/types/components/Textarea/appearance/textareaSuccess.d.ts +3 -0
- package/dist/types/components/Textarea/index.d.ts +3 -0
- package/dist/types/components/Tile/Tile.appearance.d.ts +3 -0
- package/dist/types/components/Tile/Tile.d.ts +4 -0
- package/dist/types/components/Tile/Tile.interface.d.ts +79 -0
- package/dist/types/components/Tile/appearance/tileShape.d.ts +3 -0
- package/dist/types/components/Tile/appearance/tileSize.d.ts +3 -0
- package/dist/types/components/Tile/appearance/tileStyle.d.ts +3 -0
- package/dist/types/components/Tile/appearance/tileSurface.d.ts +3 -0
- package/dist/types/components/Tile/index.d.ts +3 -0
- package/dist/types/components/Title/Title.appearance.d.ts +3 -0
- package/dist/types/components/Title/Title.d.ts +4 -0
- package/dist/types/components/Title/Title.interface.d.ts +76 -0
- package/dist/types/components/Title/appearance/titleAccent.d.ts +3 -0
- package/dist/types/components/Title/appearance/titleDanger.d.ts +3 -0
- package/dist/types/components/Title/appearance/titleDisabled.d.ts +3 -0
- package/dist/types/components/Title/appearance/titleError.d.ts +3 -0
- package/dist/types/components/Title/appearance/titleExtra.d.ts +3 -0
- package/dist/types/components/Title/appearance/titleInfo.d.ts +3 -0
- package/dist/types/components/Title/appearance/titleRequire.d.ts +3 -0
- package/dist/types/components/Title/appearance/titleSize.d.ts +3 -0
- package/dist/types/components/Title/appearance/titleSpecial.d.ts +3 -0
- package/dist/types/components/Title/appearance/titleStyle.d.ts +3 -0
- package/dist/types/components/Title/appearance/titleSuccess.d.ts +3 -0
- package/dist/types/components/Title/appearance/titleSurface.d.ts +3 -0
- package/dist/types/components/Title/appearance/titleWarning.d.ts +3 -0
- package/dist/types/components/Title/index.d.ts +3 -0
- package/dist/types/components/Tooltip/Tooltip.appearance.d.ts +3 -0
- package/dist/types/components/Tooltip/Tooltip.d.ts +47 -0
- package/dist/types/components/Tooltip/Tooltip.interface.d.ts +58 -0
- package/dist/types/components/Tooltip/appearance/tooltipDefault.d.ts +3 -0
- package/dist/types/components/Tooltip/appearance/tooltipDisabled.d.ts +3 -0
- package/dist/types/components/Tooltip/appearance/tooltipError.d.ts +3 -0
- package/dist/types/components/Tooltip/appearance/tooltipRequire.d.ts +3 -0
- package/dist/types/components/Tooltip/appearance/tooltipShape.d.ts +3 -0
- package/dist/types/components/Tooltip/appearance/tooltipSize.d.ts +3 -0
- package/dist/types/components/Tooltip/appearance/tooltipStyle.d.ts +3 -0
- package/dist/types/components/Tooltip/appearance/tooltipSuccess.d.ts +3 -0
- package/dist/types/components/Tooltip/index.d.ts +3 -0
- package/dist/types/components/Video/Video.d.ts +3 -0
- package/dist/types/components/Video/Video.interface.d.ts +17 -0
- package/dist/types/components/Video/index.d.ts +2 -0
- package/dist/types/components/Warning/Warning.appearance.d.ts +3 -0
- package/dist/types/components/Warning/Warning.d.ts +4 -0
- package/dist/types/components/Warning/Warning.interface.d.ts +47 -0
- package/dist/types/components/Warning/appearance/warningAccent.d.ts +3 -0
- package/dist/types/components/Warning/appearance/warningError.d.ts +3 -0
- package/dist/types/components/Warning/appearance/warningInfo.d.ts +3 -0
- package/dist/types/components/Warning/appearance/warningShape.d.ts +3 -0
- package/dist/types/components/Warning/appearance/warningSize.d.ts +3 -0
- package/dist/types/components/Warning/appearance/warningStyle.d.ts +3 -0
- package/dist/types/components/Warning/appearance/warningWarning.d.ts +3 -0
- package/dist/types/components/Warning/index.d.ts +3 -0
- package/dist/types/config/forms/datepicker.d.ts +18 -0
- package/dist/types/config/forms/index.d.ts +3 -0
- package/dist/types/config/forms/input.d.ts +14 -0
- package/dist/types/context/Notifications.d.ts +15 -0
- package/dist/types/context/Notifications.interface.d.ts +47 -0
- package/dist/types/context/UIContext.d.ts +23 -0
- package/dist/types/context/UrlAssetPrefix.d.ts +12 -0
- package/dist/types/context/index.d.ts +2 -0
- package/dist/types/hoc/urlWithAssetPrefix.d.ts +28 -0
- 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 +27 -0
- package/dist/types/hooks/useAppearanceConfig/index.d.ts +1 -0
- package/dist/types/hooks/useAppearanceConfig/useAppearanceConfig.d.ts +5 -0
- package/dist/types/hooks/useDevicePropsGenerator/index.d.ts +2 -0
- package/dist/types/hooks/useDevicePropsGenerator/useDevicePropsGenerator.d.ts +8 -0
- package/dist/types/hooks/useDevicePropsGenerator/useDevicePropsGenerator.interface.d.ts +12 -0
- package/dist/types/hooks/useDeviceTargetClass.d.ts +5 -0
- package/dist/types/hooks/useDropzoneFieldFiles.d.ts +14 -0
- package/dist/types/hooks/useHoldProgress.d.ts +16 -0
- package/dist/types/hooks/useMediaQueries/index.d.ts +1 -0
- package/dist/types/hooks/useMediaQueries/useMediaQueries.d.ts +7 -0
- package/dist/types/hooks/useStyles/index.d.ts +1 -0
- package/dist/types/hooks/useStyles/styleAttributes.d.ts +3 -0
- package/dist/types/hooks/useStyles/styleAttributes.interface.d.ts +147 -0
- package/dist/types/hooks/useStyles/useStyles.d.ts +4 -0
- package/dist/types/hooks/useViewportFix.d.ts +2 -0
- package/dist/types/types/index.d.ts +1 -0
- package/dist/types/types/utils.d.ts +43 -0
- package/dist/types/utils/index.d.ts +3 -0
- package/dist/types/utils/mergeAppearanceKeys.d.ts +7 -0
- package/dist/types/utils/setViewportProperty.d.ts +2 -0
- package/package.json +3 -3
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
import { CSSProperties, ReactNode } from 'react';
|
|
2
|
+
import { LinkProps } from 'react-scroll';
|
|
3
|
+
import { AppearanceKeysDefault, AppearanceSizeKey, AppearanceStyleKey, BorderColorProps, CompositeAppearanceStateDefault, DirectionProps, FillHoverProps, FillProps, ShapeProps, SizeProps, WidthProps } from '@itcase/types-ui';
|
|
4
|
+
import { StyleAttributes } from '../../hooks/useStyles/styleAttributes.interface';
|
|
5
|
+
import { TextProps } from '../Text/Text.interface';
|
|
6
|
+
type ListAppearanceProps = {
|
|
7
|
+
borderColor?: BorderColorProps;
|
|
8
|
+
fill?: FillProps;
|
|
9
|
+
fillHover?: FillHoverProps;
|
|
10
|
+
shape?: ShapeProps;
|
|
11
|
+
size?: SizeProps;
|
|
12
|
+
width?: WidthProps;
|
|
13
|
+
};
|
|
14
|
+
type ListProps = ListAppearanceProps & StyleAttributes & {
|
|
15
|
+
appearance?: CompositeAppearanceStateDefault;
|
|
16
|
+
bulletFill?: FillProps;
|
|
17
|
+
bulletSize?: TextProps['size'];
|
|
18
|
+
bulletTextColor?: TextProps['textColor'];
|
|
19
|
+
children?: ReactNode;
|
|
20
|
+
className?: string;
|
|
21
|
+
dataTestId?: string;
|
|
22
|
+
dataTour?: string;
|
|
23
|
+
direction?: DirectionProps;
|
|
24
|
+
size?: SizeProps;
|
|
25
|
+
style?: CSSProperties;
|
|
26
|
+
type?: string;
|
|
27
|
+
};
|
|
28
|
+
type ListItemAppearanceProps = {
|
|
29
|
+
fill?: FillProps;
|
|
30
|
+
size?: SizeProps;
|
|
31
|
+
textColor?: TextProps['textColor'];
|
|
32
|
+
textStyle?: TextProps['textStyle'];
|
|
33
|
+
textWeight?: TextProps['textWeight'];
|
|
34
|
+
};
|
|
35
|
+
type ListItemProps = ListItemAppearanceProps & StyleAttributes & {
|
|
36
|
+
after?: ReactNode;
|
|
37
|
+
before?: ReactNode;
|
|
38
|
+
children?: ReactNode;
|
|
39
|
+
className?: string;
|
|
40
|
+
dataTestId?: string;
|
|
41
|
+
dataTour?: string;
|
|
42
|
+
href?: LinkProps['href'];
|
|
43
|
+
link?: LinkProps['href'];
|
|
44
|
+
text?: string;
|
|
45
|
+
};
|
|
46
|
+
type AppearanceKeys = AppearanceKeysDefault | AppearanceSizeKey | AppearanceStyleKey;
|
|
47
|
+
type ListAppearance = {
|
|
48
|
+
[key in AppearanceKeys]?: ListAppearanceProps;
|
|
49
|
+
};
|
|
50
|
+
type ListConfig = {
|
|
51
|
+
appearance: ListAppearance;
|
|
52
|
+
setAppearance: (appearanceConfig: ListAppearance) => void;
|
|
53
|
+
};
|
|
54
|
+
export type { ListAppearance, ListConfig, ListItemProps, ListProps };
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
import { CSSProperties, ReactNode } from 'react';
|
|
2
|
+
import { AppearanceKeysDefault, AppearanceShapeKey, AppearanceSizeKey, AppearanceStyleKey, BorderColorProps, CompositeAppearanceKey, FillProps, ItemFillProps, ShapeProps, ShapeStrengthProps, SizeProps } from '@itcase/types-ui';
|
|
3
|
+
import { StyleAttributes } from '../../hooks/useStyles/styleAttributes.interface';
|
|
4
|
+
import { TextProps } from '../Text/Text.interface';
|
|
5
|
+
type LoaderAppearanceProps = {
|
|
6
|
+
borderColor?: BorderColorProps;
|
|
7
|
+
fill?: FillProps;
|
|
8
|
+
itemFill?: ItemFillProps;
|
|
9
|
+
size?: SizeProps;
|
|
10
|
+
textColor?: TextProps['textColor'];
|
|
11
|
+
textSize?: TextProps['size'];
|
|
12
|
+
};
|
|
13
|
+
type LoaderProps = LoaderAppearanceProps & StyleAttributes & {
|
|
14
|
+
appearance?: CompositeAppearanceKey;
|
|
15
|
+
children?: ReactNode;
|
|
16
|
+
className?: string;
|
|
17
|
+
dataTestId?: string;
|
|
18
|
+
dataTour?: string;
|
|
19
|
+
isDisabled?: boolean;
|
|
20
|
+
isSkeleton?: boolean;
|
|
21
|
+
shape?: ShapeProps;
|
|
22
|
+
shapeStrength?: ShapeStrengthProps;
|
|
23
|
+
style?: CSSProperties;
|
|
24
|
+
text?: string;
|
|
25
|
+
type?: 'circular' | 'dot';
|
|
26
|
+
};
|
|
27
|
+
type LoaderAppearanceKey = AppearanceKeysDefault | AppearanceShapeKey | AppearanceSizeKey | AppearanceStyleKey;
|
|
28
|
+
type LoaderAppearance = {
|
|
29
|
+
[key in LoaderAppearanceKey]?: LoaderAppearanceProps;
|
|
30
|
+
};
|
|
31
|
+
type LoaderConfig = {
|
|
32
|
+
appearance: LoaderAppearance;
|
|
33
|
+
setAppearance: (appearanceConfig: LoaderAppearance) => void;
|
|
34
|
+
};
|
|
35
|
+
export type { LoaderAppearance, LoaderConfig, LoaderProps };
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import type { LogoConfig } from './Logo.interface';
|
|
2
|
+
declare const logoConfig: LogoConfig;
|
|
3
|
+
declare const Logo: import("react").ForwardRefExoticComponent<Omit<{
|
|
4
|
+
alt?: string;
|
|
5
|
+
size?: string;
|
|
6
|
+
source?: string;
|
|
7
|
+
src?: string;
|
|
8
|
+
title?: string;
|
|
9
|
+
} & import("../../hooks/useStyles/styleAttributes.interface").StyleAttributes & {
|
|
10
|
+
align?: import("@itcase/types-ui").AlignProps;
|
|
11
|
+
alignDirection?: import("@itcase/types-ui").DirectionProps;
|
|
12
|
+
alignItems?: import("@itcase/types-ui").AlignProps;
|
|
13
|
+
alt?: string;
|
|
14
|
+
appearance?: "accentMutedPrimary" | "accentMutedQuaternary" | "accentMutedSecondary" | "accentMutedTertiary" | "accentPrimary" | "accentQuaternary" | "accentSecondary" | "accentTertiary" | "dangerMutedPrimary" | "dangerMutedQuaternary" | "dangerMutedSecondary" | "dangerMutedTertiary" | "dangerPrimary" | "dangerQuaternary" | "dangerSecondary" | "dangerTertiary" | "disabledMutedPrimary" | "disabledMutedQuaternary" | "disabledMutedSecondary" | "disabledMutedTertiary" | "disabledPrimary" | "disabledQuaternary" | "disabledSecondary" | "disabledTertiary" | "errorMutedPrimary" | "errorMutedQuaternary" | "errorMutedSecondary" | "errorMutedTertiary" | "errorPrimary" | "errorQuaternary" | "errorSecondary" | "errorTertiary" | "extraMutedPrimary" | "extraMutedQuaternary" | "extraMutedSecondary" | "extraMutedTertiary" | "extraPrimary" | "extraQuaternary" | "extraSecondary" | "extraTertiary" | "gradientPrimary" | "infoMutedPrimary" | "infoMutedQuaternary" | "infoMutedSecondary" | "infoMutedTertiary" | "infoPrimary" | "infoQuaternary" | "infoSecondary" | "infoTertiary" | "specialMutedPrimary" | "specialMutedQuaternary" | "specialMutedSecondary" | "specialMutedTertiary" | "specialPrimary" | "specialQuaternary" | "specialSecondary" | "specialTertiary" | "successMutedPrimary" | "successMutedQuaternary" | "successMutedSecondary" | "successMutedTertiary" | "successPrimary" | "successQuaternary" | "successSecondary" | "successTertiary" | "surfaceMutedPrimary" | "surfaceMutedQuaternary" | "surfaceMutedSecondary" | "surfaceMutedTertiary" | "surfacePrimary" | "surfaceQuaternary" | "surfaceSecondary" | "surfaceTertiary" | "warningMutedPrimary" | "warningMutedQuaternary" | "warningMutedSecondary" | "warningMutedTertiary" | "warningPrimary" | "warningQuaternary" | "warningSecondary" | "warningTertiary";
|
|
15
|
+
className?: string;
|
|
16
|
+
dataTestId?: string;
|
|
17
|
+
dataTour?: string;
|
|
18
|
+
href?: string;
|
|
19
|
+
isSkeleton?: boolean;
|
|
20
|
+
link?: string;
|
|
21
|
+
mode?: string;
|
|
22
|
+
size?: import("@itcase/types-ui").SizeProps;
|
|
23
|
+
source?: string;
|
|
24
|
+
src?: string;
|
|
25
|
+
style?: import("react").CSSProperties;
|
|
26
|
+
title?: string;
|
|
27
|
+
width?: import("@itcase/types-ui").WidthProps;
|
|
28
|
+
} & import("react").RefAttributes<HTMLDivElement>, "ref"> & import("react").RefAttributes<HTMLDivElement>>;
|
|
29
|
+
export { Logo, logoConfig };
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
import { CSSProperties } from 'react';
|
|
2
|
+
import { AlignProps, AppearanceKeysDefault, DirectionProps, SizeProps, WidthProps } from '@itcase/types-ui';
|
|
3
|
+
import { StyleAttributes } from '../../hooks/useStyles/styleAttributes.interface';
|
|
4
|
+
type LogoAppearanceProps = {
|
|
5
|
+
alt?: string;
|
|
6
|
+
size?: string;
|
|
7
|
+
source?: string;
|
|
8
|
+
src?: string;
|
|
9
|
+
title?: string;
|
|
10
|
+
};
|
|
11
|
+
type AppearanceKeys = AppearanceKeysDefault & {};
|
|
12
|
+
type LogoAppearance = {
|
|
13
|
+
[key in AppearanceKeys]?: LogoAppearanceProps;
|
|
14
|
+
};
|
|
15
|
+
type LogoConfig = {
|
|
16
|
+
appearance: LogoAppearance | undefined;
|
|
17
|
+
setAppearance: (appearanceConfig: LogoAppearance) => void;
|
|
18
|
+
};
|
|
19
|
+
type LogoProps = LogoAppearanceProps & StyleAttributes & {
|
|
20
|
+
align?: AlignProps;
|
|
21
|
+
alignDirection?: DirectionProps;
|
|
22
|
+
alignItems?: AlignProps;
|
|
23
|
+
alt?: string;
|
|
24
|
+
appearance?: AppearanceKeys;
|
|
25
|
+
className?: string;
|
|
26
|
+
dataTestId?: string;
|
|
27
|
+
dataTour?: string;
|
|
28
|
+
href?: string;
|
|
29
|
+
isSkeleton?: boolean;
|
|
30
|
+
link?: string;
|
|
31
|
+
mode?: string;
|
|
32
|
+
size?: SizeProps;
|
|
33
|
+
source?: string;
|
|
34
|
+
src?: string;
|
|
35
|
+
style?: CSSProperties;
|
|
36
|
+
title?: string;
|
|
37
|
+
width?: WidthProps;
|
|
38
|
+
};
|
|
39
|
+
export type { LogoConfig, LogoProps };
|
|
@@ -0,0 +1,96 @@
|
|
|
1
|
+
import { CSSProperties, ElementType, ReactNode } from 'react';
|
|
2
|
+
import { LinkProps } from 'react-scroll';
|
|
3
|
+
import { AlignProps, AppearanceKeysDefault, AppearanceShapeKey, AppearanceSizeKey, AppearanceStyleKey, BorderColorProps, CompositeAppearanceKey, DirectionProps, FillActiveHoverProps, FillActiveProps, FillHoverProps, FillProps, JustifyContentProps, ShapeProps, ShapeStrengthProps, TextSizeProps, UnderlineProps } from '@itcase/types-ui';
|
|
4
|
+
import { StyleAttributes } from '../../hooks/useStyles/styleAttributes.interface';
|
|
5
|
+
import { IconProps } from '../Icon/Icon.interface';
|
|
6
|
+
import { TextProps } from '../Text/Text.interface';
|
|
7
|
+
import { TooltipProps } from '../Tooltip/Tooltip.interface';
|
|
8
|
+
type MenuItemAppearanceProps = {
|
|
9
|
+
align?: AlignProps;
|
|
10
|
+
alignDirection?: DirectionProps;
|
|
11
|
+
borderColor?: BorderColorProps;
|
|
12
|
+
cursor?: string;
|
|
13
|
+
direction?: DirectionProps;
|
|
14
|
+
fill?: FillProps;
|
|
15
|
+
fillActive?: FillActiveProps;
|
|
16
|
+
fillActiveHover?: FillActiveHoverProps;
|
|
17
|
+
fillHover?: FillHoverProps;
|
|
18
|
+
iconAfter?: IconProps['SvgImage'];
|
|
19
|
+
iconAfterFill?: IconProps['fill'];
|
|
20
|
+
iconAfterFillIcon?: IconProps['iconFill'];
|
|
21
|
+
iconAfterFillSize?: IconProps['fillSize'];
|
|
22
|
+
iconAfterShape?: IconProps['shape'];
|
|
23
|
+
iconAfterSize?: IconProps['iconSize'];
|
|
24
|
+
iconAfterSrc?: IconProps['imageSrc'];
|
|
25
|
+
iconBadgeAppearance?: IconProps['badgeAppearance'];
|
|
26
|
+
iconBadgeShape?: IconProps['badgeShape'];
|
|
27
|
+
iconBadgeSize?: IconProps['badgeSize'];
|
|
28
|
+
iconBadgeTextColor?: IconProps['badgeTextColor'];
|
|
29
|
+
iconBadgeTextSize?: IconProps['badgeTextSize'];
|
|
30
|
+
iconBadgeValue?: IconProps['badgeValue'];
|
|
31
|
+
iconBefore?: IconProps['SvgImage'];
|
|
32
|
+
iconBeforeFill?: IconProps['fill'];
|
|
33
|
+
iconBeforeFillIcon?: IconProps['iconFill'];
|
|
34
|
+
iconBeforeFillSize?: IconProps['fillSize'];
|
|
35
|
+
iconBeforeShape?: IconProps['shape'];
|
|
36
|
+
iconBeforeSize?: IconProps['iconSize'];
|
|
37
|
+
iconBeforeSrc?: IconProps['imageSrc'];
|
|
38
|
+
isSkeleton?: boolean;
|
|
39
|
+
justifyContent?: JustifyContentProps;
|
|
40
|
+
labelStyle?: TextProps['textStyle'];
|
|
41
|
+
labelTextActiveColor?: TextProps['textColorActive'];
|
|
42
|
+
labelTextActiveColorHover?: TextProps['textColorActiveHover'];
|
|
43
|
+
labelTextColor?: TextProps['textColor'];
|
|
44
|
+
labelTextColorDisabled?: TextProps['textColor'];
|
|
45
|
+
labelTextColorHover?: TextProps['textColorHover'];
|
|
46
|
+
labelTextSize?: TextProps['size'];
|
|
47
|
+
labelWeight?: TextProps['textWeight'];
|
|
48
|
+
labelWrap?: TextProps['textWrap'];
|
|
49
|
+
shape?: ShapeProps;
|
|
50
|
+
shapeStrength?: ShapeStrengthProps;
|
|
51
|
+
size?: TextSizeProps;
|
|
52
|
+
tooltipFill?: TooltipProps['fill'];
|
|
53
|
+
tooltipShape?: TooltipProps['shape'];
|
|
54
|
+
tooltipShapeStrength?: TooltipProps['shapeStrength'];
|
|
55
|
+
tooltipSize?: TooltipProps['size'];
|
|
56
|
+
tooltipText?: TooltipProps['text'];
|
|
57
|
+
tooltipTextColor?: TooltipProps['textColor'];
|
|
58
|
+
tooltipTextSize?: TooltipProps['textSize'];
|
|
59
|
+
tooltipTitle?: TooltipProps['title'];
|
|
60
|
+
tooltipTitleTextColor?: TooltipProps['titleColor'];
|
|
61
|
+
type?: string;
|
|
62
|
+
};
|
|
63
|
+
type MenuItemProps = MenuItemAppearanceProps & StyleAttributes & {
|
|
64
|
+
after?: string;
|
|
65
|
+
appearance?: CompositeAppearanceKey;
|
|
66
|
+
before?: string;
|
|
67
|
+
children?: ReactNode;
|
|
68
|
+
className?: string;
|
|
69
|
+
dataTestId?: string;
|
|
70
|
+
dataTour?: string;
|
|
71
|
+
easing?: string;
|
|
72
|
+
href?: LinkProps['href'];
|
|
73
|
+
htmlFor?: string;
|
|
74
|
+
isActive?: boolean;
|
|
75
|
+
isDisabled?: boolean;
|
|
76
|
+
label?: string;
|
|
77
|
+
link?: LinkProps['href'];
|
|
78
|
+
LinkComponent?: ElementType;
|
|
79
|
+
onClick?: () => void;
|
|
80
|
+
onDoubleClick?: () => void;
|
|
81
|
+
rel?: LinkProps['rel'];
|
|
82
|
+
showTooltip?: boolean;
|
|
83
|
+
style?: CSSProperties;
|
|
84
|
+
target?: LinkProps['target'];
|
|
85
|
+
tooltipAppearance?: TooltipProps['appearance'];
|
|
86
|
+
underline?: UnderlineProps;
|
|
87
|
+
};
|
|
88
|
+
type MenuItemAppearanceKey = AppearanceKeysDefault | AppearanceShapeKey | AppearanceSizeKey | AppearanceStyleKey;
|
|
89
|
+
type MenuItemAppearance = {
|
|
90
|
+
[key in MenuItemAppearanceKey]?: MenuItemAppearanceProps;
|
|
91
|
+
};
|
|
92
|
+
type MenuItemConfig = {
|
|
93
|
+
appearance: MenuItemAppearance;
|
|
94
|
+
setAppearance: (appearanceConfig: MenuItemAppearance) => void;
|
|
95
|
+
};
|
|
96
|
+
export type { MenuItemAppearance, MenuItemConfig, MenuItemProps };
|
|
@@ -0,0 +1,61 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import type { ModalConfig, ModalRef } from './Modal.interface';
|
|
3
|
+
declare const modalConfig: ModalConfig;
|
|
4
|
+
declare const Modal: React.ForwardRefExoticComponent<{
|
|
5
|
+
borderColor?: import("@itcase/types-ui").BorderColorProps;
|
|
6
|
+
borderType?: import("@itcase/types-ui").BorderTypeProps;
|
|
7
|
+
borderWidth?: import("@itcase/types-ui").BorderWidthProps;
|
|
8
|
+
closeIcon?: boolean;
|
|
9
|
+
closeIconAppearance?: import("src/components/Icon").IconProps["appearance"];
|
|
10
|
+
closeIconAppearanceSize?: import("@itcase/types-ui").AppearanceIconSizeKey;
|
|
11
|
+
closeIconFillSize?: import("src/components/Icon").IconProps["fillSize"];
|
|
12
|
+
closeIconImage?: import("src/components/Icon").IconProps["SvgImage"];
|
|
13
|
+
closeIconShape?: import("src/components/Icon").IconProps["shape"];
|
|
14
|
+
closeIconSize?: import("src/components/Icon").IconProps["iconSize"];
|
|
15
|
+
elevation?: import("@itcase/types-ui").ElevationProps;
|
|
16
|
+
fill?: import("@itcase/types-ui").FillProps;
|
|
17
|
+
isDisabled?: boolean;
|
|
18
|
+
isOpen?: boolean;
|
|
19
|
+
itemFill?: import("@itcase/types-ui").ItemFillProps;
|
|
20
|
+
overlayFill?: import("src/components/Overlay").OverlayProps["fill"];
|
|
21
|
+
overlayOpacity?: import("src/components/Overlay").OverlayProps["opacity"];
|
|
22
|
+
print?: boolean;
|
|
23
|
+
shape?: import("@itcase/types-ui").ShapeProps;
|
|
24
|
+
shapeStrength?: import("@itcase/types-ui").ShapeStrengthProps;
|
|
25
|
+
size?: import("@itcase/types-ui").SizeProps;
|
|
26
|
+
textColor?: import("../Text").TextProps["textColor"];
|
|
27
|
+
textSize?: import("../Text").TextProps["size"];
|
|
28
|
+
titleTextColor?: import("src/components/Title").TitleProps["textColor"];
|
|
29
|
+
titleTextColorHover?: import("src/components/Title").TitleProps["textColorHover"];
|
|
30
|
+
titleTextSize?: import("src/components/Title").TitleProps["size"];
|
|
31
|
+
titleTextTruncate?: import("src/components/Title").TitleProps["textTruncate"];
|
|
32
|
+
titleTextWeight?: import("src/components/Title").TitleProps["textWeight"];
|
|
33
|
+
titleTextWidth?: import("@itcase/types-ui").WidthProps;
|
|
34
|
+
titleTextWrap?: import("src/components/Title").TitleProps["textWrap"];
|
|
35
|
+
} & import("../../hooks/useStyles/styleAttributes.interface").StyleAttributes & {
|
|
36
|
+
id?: string;
|
|
37
|
+
absoluteHeader?: boolean;
|
|
38
|
+
after?: React.ReactNode;
|
|
39
|
+
appearance?: import("@itcase/types-ui").CompositeAppearanceKey;
|
|
40
|
+
before?: React.ReactNode;
|
|
41
|
+
children?: React.ReactNode;
|
|
42
|
+
className?: string;
|
|
43
|
+
contentClassName?: string;
|
|
44
|
+
dataTestId?: string;
|
|
45
|
+
dataTour?: string;
|
|
46
|
+
isCloseOnBlur?: boolean;
|
|
47
|
+
isOverlay?: boolean;
|
|
48
|
+
isScrollOnOpen?: boolean;
|
|
49
|
+
isSetFocusOnOpen?: boolean;
|
|
50
|
+
isSkeleton?: boolean;
|
|
51
|
+
modalIdQuerySelector?: string;
|
|
52
|
+
modalQuerySelector?: string;
|
|
53
|
+
onClickOverlay: import("src/components/Overlay").OverlayProps["onClick"];
|
|
54
|
+
onCloseModal?: () => void;
|
|
55
|
+
onOpenModal?: () => void;
|
|
56
|
+
scroll?: boolean;
|
|
57
|
+
stickyHeader?: boolean;
|
|
58
|
+
style?: React.CSSProperties;
|
|
59
|
+
title?: string;
|
|
60
|
+
} & React.RefAttributes<ModalRef>>;
|
|
61
|
+
export { Modal, modalConfig };
|
|
@@ -0,0 +1,80 @@
|
|
|
1
|
+
import { CSSProperties, MouseEventHandler, ReactNode } from 'react';
|
|
2
|
+
import { AppearanceIconSizeKey, AppearanceKeysDefault, AppearanceShapeKey, AppearanceSizeKey, AppearanceStyleKey, BorderColorProps, BorderTypeProps, BorderWidthProps, CompositeAppearanceKey, ElevationProps, FillProps, ItemFillProps, ShapeProps, ShapeStrengthProps, SizeProps, WidthProps } from '@itcase/types-ui';
|
|
3
|
+
import { StyleAttributes } from '../../hooks/useStyles/styleAttributes.interface';
|
|
4
|
+
import { IconProps } from '../Icon/Icon.interface';
|
|
5
|
+
import { OverlayProps } from '../Overlay/Overlay.interface';
|
|
6
|
+
import { TextProps } from '../Text/Text.interface';
|
|
7
|
+
import { TitleProps } from '../Title/Title.interface';
|
|
8
|
+
type ModalAppearanceProps = {
|
|
9
|
+
borderColor?: BorderColorProps;
|
|
10
|
+
borderType?: BorderTypeProps;
|
|
11
|
+
borderWidth?: BorderWidthProps;
|
|
12
|
+
closeIcon?: boolean;
|
|
13
|
+
closeIconAppearance?: IconProps['appearance'];
|
|
14
|
+
closeIconAppearanceSize?: AppearanceIconSizeKey;
|
|
15
|
+
closeIconFillSize?: IconProps['fillSize'];
|
|
16
|
+
closeIconImage?: IconProps['SvgImage'];
|
|
17
|
+
closeIconShape?: IconProps['shape'];
|
|
18
|
+
closeIconSize?: IconProps['iconSize'];
|
|
19
|
+
elevation?: ElevationProps;
|
|
20
|
+
fill?: FillProps;
|
|
21
|
+
isDisabled?: boolean;
|
|
22
|
+
isOpen?: boolean;
|
|
23
|
+
itemFill?: ItemFillProps;
|
|
24
|
+
overlayFill?: OverlayProps['fill'];
|
|
25
|
+
overlayOpacity?: OverlayProps['opacity'];
|
|
26
|
+
print?: boolean;
|
|
27
|
+
shape?: ShapeProps;
|
|
28
|
+
shapeStrength?: ShapeStrengthProps;
|
|
29
|
+
size?: SizeProps;
|
|
30
|
+
textColor?: TextProps['textColor'];
|
|
31
|
+
textSize?: TextProps['size'];
|
|
32
|
+
titleTextColor?: TitleProps['textColor'];
|
|
33
|
+
titleTextColorHover?: TitleProps['textColorHover'];
|
|
34
|
+
titleTextSize?: TitleProps['size'];
|
|
35
|
+
titleTextTruncate?: TitleProps['textTruncate'];
|
|
36
|
+
titleTextWeight?: TitleProps['textWeight'];
|
|
37
|
+
titleTextWidth?: WidthProps;
|
|
38
|
+
titleTextWrap?: TitleProps['textWrap'];
|
|
39
|
+
};
|
|
40
|
+
type ModalProps = ModalAppearanceProps & StyleAttributes & {
|
|
41
|
+
id?: string;
|
|
42
|
+
absoluteHeader?: boolean;
|
|
43
|
+
after?: ReactNode;
|
|
44
|
+
appearance?: CompositeAppearanceKey;
|
|
45
|
+
before?: ReactNode;
|
|
46
|
+
children?: ReactNode;
|
|
47
|
+
className?: string;
|
|
48
|
+
contentClassName?: string;
|
|
49
|
+
dataTestId?: string;
|
|
50
|
+
dataTour?: string;
|
|
51
|
+
isCloseOnBlur?: boolean;
|
|
52
|
+
isOverlay?: boolean;
|
|
53
|
+
isScrollOnOpen?: boolean;
|
|
54
|
+
isSetFocusOnOpen?: boolean;
|
|
55
|
+
isSkeleton?: boolean;
|
|
56
|
+
modalIdQuerySelector?: string;
|
|
57
|
+
modalQuerySelector?: string;
|
|
58
|
+
onClickOverlay: OverlayProps['onClick'];
|
|
59
|
+
onCloseModal?: () => void;
|
|
60
|
+
onOpenModal?: () => void;
|
|
61
|
+
scroll?: boolean;
|
|
62
|
+
stickyHeader?: boolean;
|
|
63
|
+
style?: CSSProperties;
|
|
64
|
+
title?: string;
|
|
65
|
+
};
|
|
66
|
+
type ModalRef = {
|
|
67
|
+
closeModal: MouseEventHandler<HTMLDivElement>;
|
|
68
|
+
isOpen: boolean;
|
|
69
|
+
modalElement: Element | HTMLDivElement | null;
|
|
70
|
+
openModal: () => void;
|
|
71
|
+
};
|
|
72
|
+
type ModalAppearanceKey = AppearanceKeysDefault | AppearanceShapeKey | AppearanceSizeKey | AppearanceStyleKey;
|
|
73
|
+
type ModalAppearance = {
|
|
74
|
+
[key in ModalAppearanceKey]?: ModalAppearanceProps;
|
|
75
|
+
};
|
|
76
|
+
type ModalConfig = {
|
|
77
|
+
appearance: ModalAppearance;
|
|
78
|
+
setAppearance: (appearanceConfig: ModalAppearance) => void;
|
|
79
|
+
};
|
|
80
|
+
export type { ModalAppearance, ModalConfig, ModalProps, ModalRef };
|