@consta/uikit 5.21.0 → 5.23.0
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/__internal__/src/components/AutoComplete/types.d.ts +1 -1
- package/__internal__/src/components/AutoComplete/types.js.map +1 -1
- package/__internal__/src/components/AutoCompleteCanary/types.d.ts +3 -3
- package/__internal__/src/components/AutoCompleteCanary/types.js.map +1 -1
- package/__internal__/src/components/AvatarGroup/helpers.d.ts +66 -56
- package/__internal__/src/components/AvatarGroup/types.d.ts +1 -1
- package/__internal__/src/components/AvatarGroup/types.js.map +1 -1
- package/__internal__/src/components/BadgeGroup/types.d.ts +1 -1
- package/__internal__/src/components/BadgeGroup/types.js.map +1 -1
- package/__internal__/src/components/BookmarkTabs/BookmarkTabs.js.map +1 -1
- package/__internal__/src/components/BookmarkTabs/BookmarkTabsTab/BookmarkTabsTab.css +1 -1
- package/__internal__/src/components/BookmarkTabs/helper.d.ts +66 -56
- package/__internal__/src/components/BookmarkTabs/types.d.ts +3 -3
- package/__internal__/src/components/BookmarkTabs/types.js.map +1 -1
- package/__internal__/src/components/Breadcrumbs/BreadcrumbsMore/BreadcrumbsMore.d.ts +1 -1
- package/__internal__/src/components/Breadcrumbs/helpers.d.ts +66 -56
- package/__internal__/src/components/Breadcrumbs/types.d.ts +7 -7
- package/__internal__/src/components/Breadcrumbs/types.js.map +1 -1
- package/__internal__/src/components/Card/Card.d.ts +3 -2
- package/__internal__/src/components/Card/Card.js.map +1 -1
- package/__internal__/src/components/CheckboxGroup/helper.d.ts +66 -56
- package/__internal__/src/components/CheckboxGroup/types.d.ts +1 -1
- package/__internal__/src/components/CheckboxGroup/types.js.map +1 -1
- package/__internal__/src/components/Chips/ChipsChoice/types.d.ts +1 -1
- package/__internal__/src/components/Chips/ChipsChoice/types.js.map +1 -1
- package/__internal__/src/components/Chips/types.d.ts +1 -1
- package/__internal__/src/components/Chips/types.js.map +1 -1
- package/__internal__/src/components/ChoiceGroup/helper.d.ts +66 -56
- package/__internal__/src/components/ChoiceGroup/types.d.ts +1 -1
- package/__internal__/src/components/ChoiceGroup/types.js.map +1 -1
- package/__internal__/src/components/Collapse/types.d.ts +1 -1
- package/__internal__/src/components/Collapse/types.js.map +1 -1
- package/__internal__/src/components/CollapseGroup/helpers.d.ts +2 -2
- package/__internal__/src/components/CollapseGroup/helpers.js.map +1 -1
- package/__internal__/src/components/Combobox/helpers.d.ts +4 -4
- package/__internal__/src/components/Combobox/helpers.js.map +1 -1
- package/__internal__/src/components/ComboboxDeprecated/helpers.d.ts +4 -4
- package/__internal__/src/components/ComboboxDeprecated/helpers.js.map +1 -1
- package/__internal__/src/components/ContextMenu/ContextMenuLevelWrapper/ContextMenuLevelWrapper.d.ts +1 -1
- package/__internal__/src/components/ContextMenu/ContextMenuWrapper/ContextMenuWrapper.d.ts +1 -1
- package/__internal__/src/components/ContextMenu/helpers.d.ts +2 -2
- package/__internal__/src/components/ContextMenu/types.d.ts +4 -4
- package/__internal__/src/components/ContextMenu/types.js.map +1 -1
- package/__internal__/src/components/DatePicker/DatePickerDropdown/DatePickerDropdown.d.ts +1 -1
- package/__internal__/src/components/DatePicker/DatePickerDropdown/DatePickerDropdown.js.map +1 -1
- package/__internal__/src/components/DatePicker/DatePickerFieldTypeDate/DatePickerFieldTypeDate.d.ts +1 -1
- package/__internal__/src/components/DatePicker/DatePickerFieldTypeDateRange/DatePickerFieldTypeDateRange.d.ts +1 -1
- package/__internal__/src/components/DatePicker/DatePickerFieldTypeDateTime/DatePickerFieldTypeDateTime.d.ts +1 -1
- package/__internal__/src/components/DatePicker/DatePickerFieldTypeDateTimeRange/DatePickerFieldTypeDateTimeRange.d.ts +1 -1
- package/__internal__/src/components/DatePicker/DatePickerFieldTypeMonth/DatePickerFieldTypeMonth.d.ts +1 -1
- package/__internal__/src/components/DatePicker/DatePickerFieldTypeMonthRange/DatePickerFieldTypeMonthRange.d.ts +1 -1
- package/__internal__/src/components/DatePicker/DatePickerFieldTypeTime/DatePickerFieldTypeTime.d.ts +1 -1
- package/__internal__/src/components/DatePicker/DatePickerFieldTypeYear/DatePickerFieldTypeYear.d.ts +1 -1
- package/__internal__/src/components/DatePicker/DatePickerFieldTypeYearRange/DatePickerFieldTypeYearRange.d.ts +1 -1
- package/__internal__/src/components/DatePicker/types.d.ts +2 -2
- package/__internal__/src/components/DatePicker/types.js.map +1 -1
- package/__internal__/src/components/DateTime/DateTimeCell/DateTimeCell.d.ts +1 -1
- package/__internal__/src/components/DateTime/DateTimeItem/DateTimeItem.d.ts +1 -1
- package/__internal__/src/components/DateTime/helpers/types.d.ts +2 -2
- package/__internal__/src/components/DateTime/helpers/types.js.map +1 -1
- package/__internal__/src/components/EventInterceptor/EventInterceptor.d.ts +1 -1
- package/__internal__/src/components/FieldComponents/FieldArrayValueInlineControl/types.d.ts +1 -1
- package/__internal__/src/components/FieldComponents/FieldArrayValueInlineControl/types.js.map +1 -1
- package/__internal__/src/components/FieldComponents/FieldButton/FieldButton.d.ts +1 -1
- package/__internal__/src/components/FieldComponents/FieldClearButton/FieldClearButton.d.ts +1 -1
- package/__internal__/src/components/FieldComponents/FieldControlLayout/FieldControlLayout.d.ts +1 -1
- package/__internal__/src/components/FieldComponents/FieldControlLayout/helpers.d.ts +1 -1
- package/__internal__/src/components/FieldComponents/FieldControlLayout/helpers.js.map +1 -1
- package/__internal__/src/components/FieldComponents/FieldControlLayout/types.d.ts +2 -2
- package/__internal__/src/components/FieldComponents/FieldControlLayout/types.js.map +1 -1
- package/__internal__/src/components/FieldComponents/FieldCounter/FieldCounter.d.ts +1 -1
- package/__internal__/src/components/FieldComponents/FieldInput/FieldInput.d.ts +1 -1
- package/__internal__/src/components/FieldComponents/FieldToggleVisiblePasswordButton/FieldToggleVisiblePasswordButton.d.ts +1 -1
- package/__internal__/src/components/FieldComponents/renderSide.d.ts +1 -1
- package/__internal__/src/components/Grid/helpers.d.ts +1 -1
- package/__internal__/src/components/ListCanary/ListAddItem/ListAddItem.d.ts +1 -1
- package/__internal__/src/components/ListCanary/ListBox/ListBox.d.ts +1 -1
- package/__internal__/src/components/ListCanary/ListDivider/ListDivider.d.ts +1 -1
- package/__internal__/src/components/ListCanary/ListGroupLabel/ListGroupLabel.d.ts +1 -1
- package/__internal__/src/components/ListCanary/ListLoader/ListLoader.d.ts +1 -1
- package/__internal__/src/components/ListCanary/types.d.ts +3 -3
- package/__internal__/src/components/ListCanary/types.js.map +1 -1
- package/__internal__/src/components/Modal/Modal.js +1 -1
- package/__internal__/src/components/Modal/Modal.js.map +1 -1
- package/__internal__/src/components/Pagination/PaginationArrow/PaginationArrow.d.ts +1 -1
- package/__internal__/src/components/Pagination/types.d.ts +3 -3
- package/__internal__/src/components/Pagination/types.js.map +1 -1
- package/__internal__/src/components/PaginationDeprecated/PaginationDeprecated.d.ts +1 -1
- package/__internal__/src/components/PaginationDeprecated/PaginationDeprecated.js.map +1 -1
- package/__internal__/src/components/Picture/Picture.d.ts +1 -1
- package/__internal__/src/components/Popover/Popover.d.ts +1 -1
- package/__internal__/src/components/Popover/Popover.js +1 -1
- package/__internal__/src/components/Popover/Popover.js.map +1 -1
- package/__internal__/src/components/PortalWithTheme/PortalWithTheme.d.ts +1 -1
- package/__internal__/src/components/PortalWithTheme/PortalWithTheme.js +1 -1
- package/__internal__/src/components/PortalWithTheme/PortalWithTheme.js.map +1 -1
- package/__internal__/src/components/PortalWithTheme/PortalWithThemeConsumer/PortalWithThemeConsumer.d.ts +10 -0
- package/__internal__/src/components/PortalWithTheme/PortalWithThemeConsumer/PortalWithThemeConsumer.js +2 -0
- package/__internal__/src/components/PortalWithTheme/PortalWithThemeConsumer/PortalWithThemeConsumer.js.map +1 -0
- package/__internal__/src/components/PortalWithTheme/PortalWithThemeConsumer/index.d.ts +1 -0
- package/__internal__/src/components/PortalWithTheme/PortalWithThemeConsumer/index.js +2 -0
- package/__internal__/src/components/PortalWithTheme/PortalWithThemeConsumer/index.js.map +1 -0
- package/__internal__/src/components/PortalWithTheme/index.d.ts +1 -0
- package/__internal__/src/components/PortalWithTheme/index.js +1 -1
- package/__internal__/src/components/PortalWithTheme/index.js.map +1 -1
- package/__internal__/src/components/ProgressLine/helpers.d.ts +66 -56
- package/__internal__/src/components/ProgressLine/types.d.ts +1 -1
- package/__internal__/src/components/ProgressLine/types.js.map +1 -1
- package/__internal__/src/components/ProgressStepBar/ProgressStepBarLine/ProgressStepBarLine.d.ts +1 -1
- package/__internal__/src/components/ProgressStepBar/helpers.d.ts +3 -3
- package/__internal__/src/components/ProgressStepBar/helpers.js.map +1 -1
- package/__internal__/src/components/RadioGroup/helper.d.ts +66 -56
- package/__internal__/src/components/RadioGroup/types.d.ts +1 -1
- package/__internal__/src/components/RadioGroup/types.js.map +1 -1
- package/__internal__/src/components/Select/helpers.d.ts +4 -4
- package/__internal__/src/components/Select/helpers.js.map +1 -1
- package/__internal__/src/components/SelectCanary/SelectControlLayout/SelectControlLayout.d.ts +1 -1
- package/__internal__/src/components/SelectCanary/SelectCreateButton/SelectCreateButton.d.ts +1 -1
- package/__internal__/src/components/SelectCanary/SelectCreateButton/SelectCreateButton.js.map +1 -1
- package/__internal__/src/components/SelectCanary/SelectDropdown/SelectDropdown.d.ts +1 -1
- package/__internal__/src/components/SelectCanary/SelectDropdown/SelectDropdown.js.map +1 -1
- package/__internal__/src/components/SelectCanary/SelectInput/SelectInput.d.ts +1 -1
- package/__internal__/src/components/SelectCanary/SelectLoader/SelectLoader.d.ts +1 -1
- package/__internal__/src/components/SelectCanary/SelectMultipleValue/SelectMultipleValue.d.ts +2 -2
- package/__internal__/src/components/SelectCanary/SelectMultipleValue/SelectMultipleValue.js.map +1 -1
- package/__internal__/src/components/SelectCanary/SelectRenderItem/SelectRenderItem.d.ts +1 -1
- package/__internal__/src/components/SelectCanary/SelectRenderItem/SelectRenderItem.js.map +1 -1
- package/__internal__/src/components/SelectCanary/helpers.d.ts +1 -1
- package/__internal__/src/components/SelectCanary/types.d.ts +1 -1
- package/__internal__/src/components/SelectCanary/types.js.map +1 -1
- package/__internal__/src/components/SelectComponents/SelectContainer/SelectContainer.d.ts +1 -1
- package/__internal__/src/components/SelectComponents/SelectDropdown/SelectDropdown.d.ts +2 -2
- package/__internal__/src/components/SelectComponents/SelectDropdown/SelectDropdown.js.map +1 -1
- package/__internal__/src/components/SelectComponents/SelectLoader/SelectLoader.d.ts +1 -1
- package/__internal__/src/components/SelectComponentsDeprecated/SelectContainer/SelectContainer.d.ts +1 -1
- package/__internal__/src/components/SelectComponentsDeprecated/SelectDropdown/SelectDropdown.d.ts +2 -2
- package/__internal__/src/components/SelectComponentsDeprecated/SelectDropdown/SelectDropdown.js.map +1 -1
- package/__internal__/src/components/SelectComponentsDeprecated/SelectItemAll/SelectSelectAll.d.ts +1 -1
- package/__internal__/src/components/SelectComponentsDeprecated/SelectLoader/SelectLoader.d.ts +1 -1
- package/__internal__/src/components/SelectDeprecated/helpers.d.ts +4 -4
- package/__internal__/src/components/SelectDeprecated/helpers.js.map +1 -1
- package/__internal__/src/components/Sidebar/Sidebar.js +1 -1
- package/__internal__/src/components/Sidebar/Sidebar.js.map +1 -1
- package/__internal__/src/components/Skeleton/SkeletonBrick/SkeletonBrick.d.ts +1 -1
- package/__internal__/src/components/Skeleton/SkeletonCircle/SkeletonCircle.d.ts +1 -1
- package/__internal__/src/components/Slider/SliderInput/SliderInput.d.ts +1 -1
- package/__internal__/src/components/Slider/SliderLine/SliderLine.d.ts +1 -1
- package/__internal__/src/components/Slider/SliderPoint/SliderPoint.d.ts +1 -1
- package/__internal__/src/components/Slider/helper.d.ts +1 -1
- package/__internal__/src/components/Slider/helper.js.map +1 -1
- package/__internal__/src/components/SnackBar/SnackBarItem/SnackBarItem.d.ts +1 -1
- package/__internal__/src/components/SnackBar/helper.d.ts +67 -57
- package/__internal__/src/components/SnackBar/types.d.ts +2 -2
- package/__internal__/src/components/SnackBar/types.js.map +1 -1
- package/__internal__/src/components/Steps/helper.d.ts +66 -56
- package/__internal__/src/components/Steps/types.d.ts +1 -1
- package/__internal__/src/components/Steps/types.js.map +1 -1
- package/__internal__/src/components/StepsCanary/helper.d.ts +66 -56
- package/__internal__/src/components/StepsCanary/types.d.ts +1 -1
- package/__internal__/src/components/StepsCanary/types.js.map +1 -1
- package/__internal__/src/components/Switch/Switch.d.ts +2 -1
- package/__internal__/src/components/Switch/Switch.js +1 -1
- package/__internal__/src/components/Switch/Switch.js.map +1 -1
- package/__internal__/src/components/Switch/types.d.ts +1 -0
- package/__internal__/src/components/Switch/types.js.map +1 -1
- package/__internal__/src/components/SwitchGroup/helpers.d.ts +66 -56
- package/__internal__/src/components/SwitchGroup/types.d.ts +1 -1
- package/__internal__/src/components/SwitchGroup/types.js.map +1 -1
- package/__internal__/src/components/Table/Cell/TableCell.d.ts +1 -1
- package/__internal__/src/components/Table/Cell/TableCell.js.map +1 -1
- package/__internal__/src/components/Table/Header/TableHeader.d.ts +1 -1
- package/__internal__/src/components/Table/Header/TableHeader.js.map +1 -1
- package/__internal__/src/components/Table/Resizer/TableResizer.d.ts +1 -1
- package/__internal__/src/components/Table/Resizer/TableResizer.js.map +1 -1
- package/__internal__/src/components/Table/Table.d.ts +1 -1
- package/__internal__/src/components/Table/Table.js.map +1 -1
- package/__internal__/src/components/Table/__mock__/data.mock.d.ts +1 -1
- package/__internal__/src/components/Tabs/Tabs.js.map +1 -1
- package/__internal__/src/components/Tabs/TabsFitModeDropdownWrapper/TabsFitModeDropdownWrapper.d.ts +1 -1
- package/__internal__/src/components/Tabs/TabsFitModeDropdownWrapper/TabsFitModeDropdownWrapper.js.map +1 -1
- package/__internal__/src/components/Tabs/TabsFitModeScrollWrapper/TabsFitModeScrollWrapper.d.ts +1 -1
- package/__internal__/src/components/Tabs/TabsFitModeScrollWrapper/TabsFitModeScrollWrapper.js.map +1 -1
- package/__internal__/src/components/Tabs/TabsListWrapper/TabsListWrapper.d.ts +1 -1
- package/__internal__/src/components/Tabs/helpers.d.ts +199 -169
- package/__internal__/src/components/Tabs/types.d.ts +4 -4
- package/__internal__/src/components/Tabs/types.js.map +1 -1
- package/__internal__/src/components/Tag/Tag.d.ts +1 -1
- package/__internal__/src/components/Tag/Tag.js.map +1 -1
- package/__internal__/src/components/TagBase/TagBase.d.ts +1 -1
- package/__internal__/src/components/TextField/TextField.d.ts +1 -1
- package/__internal__/src/components/TextField/types.d.ts +1 -1
- package/__internal__/src/components/TextField/types.js.map +1 -1
- package/__internal__/src/components/TextFieldCanary/TextFieldTypeTextArray/TextFieldTypeTextArray.js +1 -1
- package/__internal__/src/components/TextFieldCanary/TextFieldTypeTextArray/TextFieldTypeTextArray.js.map +1 -1
- package/__internal__/src/components/TextFieldCanary/types.d.ts +2 -2
- package/__internal__/src/components/TextFieldCanary/types.js.map +1 -1
- package/__internal__/src/components/ThemeToggler/helpers.d.ts +66 -56
- package/__internal__/src/components/ThemeToggler/types.d.ts +1 -1
- package/__internal__/src/components/ThemeToggler/types.js.map +1 -1
- package/__internal__/src/components/Timer/Timer.d.ts +1 -1
- package/__internal__/src/components/Tooltip/Tooltip.d.ts +1 -1
- package/__internal__/src/components/TooltipDeprecated/TooltipDeprecated.d.ts +1 -1
- package/__internal__/src/components/UserSelect/helpers.d.ts +4 -4
- package/__internal__/src/components/UserSelect/helpers.js.map +1 -1
- package/__internal__/src/components/UserSelectDeprecated/helpers.d.ts +4 -4
- package/__internal__/src/components/UserSelectDeprecated/helpers.js.map +1 -1
- package/__internal__/src/docs/start/start.stand.d.ts +1 -1
- package/__internal__/src/fileIcons/FileIconAvi/FileIconAvi_size_m.d.ts +1 -1
- package/__internal__/src/fileIcons/FileIconAvi/FileIconAvi_size_s.d.ts +1 -1
- package/__internal__/src/fileIcons/FileIconBmp/FileIconBmp_size_m.d.ts +1 -1
- package/__internal__/src/fileIcons/FileIconBmp/FileIconBmp_size_s.d.ts +1 -1
- package/__internal__/src/fileIcons/FileIconCsv/FileIconCsv_size_m.d.ts +1 -1
- package/__internal__/src/fileIcons/FileIconCsv/FileIconCsv_size_s.d.ts +1 -1
- package/__internal__/src/fileIcons/FileIconDoc/FileIconDoc_size_m.d.ts +1 -1
- package/__internal__/src/fileIcons/FileIconDoc/FileIconDoc_size_s.d.ts +1 -1
- package/__internal__/src/fileIcons/FileIconExe/FileIconExe_size_m.d.ts +1 -1
- package/__internal__/src/fileIcons/FileIconExe/FileIconExe_size_s.d.ts +1 -1
- package/__internal__/src/fileIcons/FileIconGif/FileIconGif_size_m.d.ts +1 -1
- package/__internal__/src/fileIcons/FileIconGif/FileIconGif_size_s.d.ts +1 -1
- package/__internal__/src/fileIcons/FileIconJpg/FileIconJpg_size_m.d.ts +1 -1
- package/__internal__/src/fileIcons/FileIconJpg/FileIconJpg_size_s.d.ts +1 -1
- package/__internal__/src/fileIcons/FileIconJson/FileIconJson_size_m.d.ts +1 -1
- package/__internal__/src/fileIcons/FileIconJson/FileIconJson_size_s.d.ts +1 -1
- package/__internal__/src/fileIcons/FileIconLoading/FileIconLoading_size_m.d.ts +1 -1
- package/__internal__/src/fileIcons/FileIconLoading/FileIconLoading_size_s.d.ts +1 -1
- package/__internal__/src/fileIcons/FileIconMov/FileIconMov_size_m.d.ts +1 -1
- package/__internal__/src/fileIcons/FileIconMov/FileIconMov_size_s.d.ts +1 -1
- package/__internal__/src/fileIcons/FileIconMp3/FileIconMp3_size_m.d.ts +1 -1
- package/__internal__/src/fileIcons/FileIconMp3/FileIconMp3_size_s.d.ts +1 -1
- package/__internal__/src/fileIcons/FileIconMp4/FileIconMp4_size_m.d.ts +1 -1
- package/__internal__/src/fileIcons/FileIconMp4/FileIconMp4_size_s.d.ts +1 -1
- package/__internal__/src/fileIcons/FileIconMsg/FileIconMsg_size_m.d.ts +1 -1
- package/__internal__/src/fileIcons/FileIconMsg/FileIconMsg_size_s.d.ts +1 -1
- package/__internal__/src/fileIcons/FileIconPdf/FileIconPdf_size_m.d.ts +1 -1
- package/__internal__/src/fileIcons/FileIconPdf/FileIconPdf_size_s.d.ts +1 -1
- package/__internal__/src/fileIcons/FileIconPng/FileIconPng_size_m.d.ts +1 -1
- package/__internal__/src/fileIcons/FileIconPng/FileIconPng_size_s.d.ts +1 -1
- package/__internal__/src/fileIcons/FileIconPpt/FileIconPpt_size_m.d.ts +1 -1
- package/__internal__/src/fileIcons/FileIconPpt/FileIconPpt_size_s.d.ts +1 -1
- package/__internal__/src/fileIcons/FileIconRar/FileIconRar_size_m.d.ts +1 -1
- package/__internal__/src/fileIcons/FileIconRar/FileIconRar_size_s.d.ts +1 -1
- package/__internal__/src/fileIcons/FileIconRtf/FileIconRtf_size_m.d.ts +1 -1
- package/__internal__/src/fileIcons/FileIconRtf/FileIconRtf_size_s.d.ts +1 -1
- package/__internal__/src/fileIcons/FileIconSvg/FileIconSvg_size_m.d.ts +1 -1
- package/__internal__/src/fileIcons/FileIconSvg/FileIconSvg_size_s.d.ts +1 -1
- package/__internal__/src/fileIcons/FileIconTiff/FileIconTiff_size_m.d.ts +1 -1
- package/__internal__/src/fileIcons/FileIconTiff/FileIconTiff_size_s.d.ts +1 -1
- package/__internal__/src/fileIcons/FileIconTxt/FileIconTxt_size_m.d.ts +1 -1
- package/__internal__/src/fileIcons/FileIconTxt/FileIconTxt_size_s.d.ts +1 -1
- package/__internal__/src/fileIcons/FileIconUndefined/FileIconUndefined_size_m.d.ts +1 -1
- package/__internal__/src/fileIcons/FileIconUndefined/FileIconUndefined_size_s.d.ts +1 -1
- package/__internal__/src/fileIcons/FileIconVsd/FileIconVsd_size_m.d.ts +1 -1
- package/__internal__/src/fileIcons/FileIconVsd/FileIconVsd_size_s.d.ts +1 -1
- package/__internal__/src/fileIcons/FileIconWav/FileIconWav_size_m.d.ts +1 -1
- package/__internal__/src/fileIcons/FileIconWav/FileIconWav_size_s.d.ts +1 -1
- package/__internal__/src/fileIcons/FileIconXls/FileIconXls_size_m.d.ts +1 -1
- package/__internal__/src/fileIcons/FileIconXls/FileIconXls_size_s.d.ts +1 -1
- package/__internal__/src/fileIcons/FileIconZip/FileIconZip_size_m.d.ts +1 -1
- package/__internal__/src/fileIcons/FileIconZip/FileIconZip_size_s.d.ts +1 -1
- package/__internal__/src/hocs/withTooltip/withTooltip.d.ts +1 -1
- package/__internal__/src/hocs/withTooltip/withTooltip.js.map +1 -1
- package/__internal__/src/hooks/useForkRef/useForkRef.d.ts +1 -1
- package/__internal__/src/responsesImages/ResponsesImage403/ResponsesImage403Svg.d.ts +1 -1
- package/__internal__/src/responsesImages/ResponsesImage404/ResponsesImage404Svg.d.ts +1 -1
- package/__internal__/src/responsesImages/ResponsesImage500/ResponsesImage500Svg.d.ts +1 -1
- package/__internal__/src/responsesImages/ResponsesImage503/ResponsesImage503Svg.d.ts +1 -1
- package/__internal__/src/responsesImages/ResponsesImageConnectionError/ResponsesImageConnectionErrorSvg.d.ts +1 -1
- package/__internal__/src/responsesImages/ResponsesImageDeleted/ResponsesImageDeletedSvg.d.ts +1 -1
- package/__internal__/src/responsesImages/ResponsesImageEmptyBox/ResponsesImageEmptyBoxSvg.d.ts +1 -1
- package/__internal__/src/responsesImages/ResponsesImageEmptyPockets/ResponsesImageEmptyPocketsSvg.d.ts +1 -1
- package/__internal__/src/responsesImages/ResponsesImageExit/ResponsesImageExitSvg.d.ts +1 -1
- package/__internal__/src/responsesImages/ResponsesImageNothingFound/ResponsesImageNothingFoundSvg.d.ts +1 -1
- package/__internal__/src/responsesImages/ResponsesImageSuccess/ResponsesImageSuccessSvg.d.ts +1 -1
- package/__internal__/src/stand/standConfig.d.ts +1 -1
- package/__internal__/src/uiKit/components/Image/Image.d.ts +1 -1
- package/__internal__/src/utils/state/withCtx/withCtx.js.map +1 -1
- package/__internal__/src/utils/types/PropsWithAsAttributes.d.ts +2 -2
- package/__internal__/src/utils/types/PropsWithAsAttributes.js.map +1 -1
- package/package.json +1 -1
|
@@ -46,7 +46,7 @@ export type BookmarkTabsRenderItemProps<ITEM> = {
|
|
|
46
46
|
tabWidth?: string;
|
|
47
47
|
tabRef?: React.RefObject<HTMLElement>;
|
|
48
48
|
} & Omit<BookmarkTabsItemDefault, 'key' | 'ref'>;
|
|
49
|
-
export type BookmarkTabsPropRenderItem<ITEM> = (props: BookmarkTabsRenderItemProps<ITEM>) => React.
|
|
49
|
+
export type BookmarkTabsPropRenderItem<ITEM> = (props: BookmarkTabsRenderItemProps<ITEM>) => React.ReactNode | null;
|
|
50
50
|
export type BookmarkTabsPropOnRemove<ITEM> = (item: ITEM, params: {
|
|
51
51
|
e: React.MouseEvent;
|
|
52
52
|
}) => void;
|
|
@@ -75,7 +75,7 @@ export type BookmarkTabsProps<ITEM = BookmarkTabsItemDefault> = PropsWithHTMLAtt
|
|
|
75
75
|
} ? {} : {
|
|
76
76
|
getItemKey: BookmarkTabsPropGetItemKey<ITEM>;
|
|
77
77
|
});
|
|
78
|
-
export type BookmarkTabsComponent = <ITEM>(props: BookmarkTabsProps<ITEM>) => React.
|
|
78
|
+
export type BookmarkTabsComponent = <ITEM>(props: BookmarkTabsProps<ITEM>) => React.ReactNode | null;
|
|
79
79
|
export type BookmarkTabsTabProps<AS extends AsTags = 'div'> = PropsWithAsAttributes<{
|
|
80
80
|
hovered?: boolean;
|
|
81
81
|
size: BookmarkTabsPropSize;
|
|
@@ -88,4 +88,4 @@ export type BookmarkTabsTabProps<AS extends AsTags = 'div'> = PropsWithAsAttribu
|
|
|
88
88
|
fixed?: boolean;
|
|
89
89
|
onClose?: React.ReactEventHandler;
|
|
90
90
|
}, AS> & Omit<BookmarkTabsItemDefault, 'key' | 'attributes' | 'ref'>;
|
|
91
|
-
export type BookmarkTabsTabComponent = <AS extends AsTags = 'div'>(props: BookmarkTabsTabProps<AS>) => React.
|
|
91
|
+
export type BookmarkTabsTabComponent = <AS extends AsTags = 'div'>(props: BookmarkTabsTabProps<AS>) => React.ReactNode | null;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types.js","names":["bookmarkTabsPropSize","bookmarkTabsPropSizeDefault","bookmarkTabsPropForm","bookmarkTabsPropFormDefault","bookmarkTabsPropView","bookmarkTabsPropViewDefault"],"sources":["../../../../../src/components/BookmarkTabs/types.ts"],"sourcesContent":["import { IconComponent } from '@consta/icons/Icon';\nimport React from 'react';\n\nimport { AsAttributes, AsTags } from '##/utils/types/AsTags';\nimport { PropsWithAsAttributes } from '##/utils/types/PropsWithAsAttributes';\nimport { PropsWithHTMLAttributesAndRef } from '##/utils/types/PropsWithHTMLAttributes';\n\nexport const bookmarkTabsPropSize = ['m', 's'] as const;\nexport type BookmarkTabsPropSize = typeof bookmarkTabsPropSize[number];\nexport const bookmarkTabsPropSizeDefault: BookmarkTabsPropSize =\n bookmarkTabsPropSize[0];\n\nexport const bookmarkTabsPropForm = ['brick', 'round'] as const;\nexport type BookmarkTabsPropForm = typeof bookmarkTabsPropForm[number];\nexport const bookmarkTabsPropFormDefault: BookmarkTabsPropForm =\n bookmarkTabsPropForm[0];\n\nexport const bookmarkTabsPropView = ['ghost', 'clear'] as const;\nexport type BookmarkTabsPropView = typeof bookmarkTabsPropView[number];\nexport const bookmarkTabsPropViewDefault: BookmarkTabsPropView =\n bookmarkTabsPropView[0];\n\nexport type BookmarkTabsItemDefault = {\n key: string | number;\n label?: string | number;\n leftIcon?: IconComponent;\n rightIcon?: IconComponent;\n fixed?: boolean;\n as?: AsTags;\n ref?: React.RefObject<HTMLElement>;\n attributes?: AsAttributes;\n};\n\nexport type BookmarkTabsPropGetItemKey<ITEM> = (item: ITEM) => string | number;\nexport type BookmarkTabsPropGetItemLabel<ITEM> = (\n item: ITEM,\n) => string | number | undefined;\nexport type BookmarkTabsPropGetItemLeftIcon<ITEM> = (\n item: ITEM,\n) => IconComponent | undefined;\nexport type BookmarkTabsPropGetItemRightIcon<ITEM> = (\n item: ITEM,\n) => IconComponent | undefined;\nexport type BookmarkTabsPropGetItemFixed<ITEM> = (\n item: ITEM,\n) => boolean | undefined;\nexport type BookmarkTabsPropGetItemAs<ITEM> = (\n item: ITEM,\n) => AsTags | undefined;\nexport type BookmarkTabsPropGetItemRef<ITEM> = (\n item: ITEM,\n) => React.RefObject<HTMLElement> | undefined;\nexport type BookmarkTabsPropGetItemAttributes<ITEM> = (\n item: ITEM,\n) => AsAttributes | undefined;\n\nexport type BookmarkTabsPropOnChange<ITEM> = (\n value: ITEM,\n params: {\n e: React.MouseEvent;\n },\n) => void;\n\nexport type BookmarkTabsRenderItemProps<ITEM> = {\n item: ITEM;\n hovered?: boolean;\n onClick: React.MouseEventHandler;\n active?: boolean;\n onClose?: React.MouseEventHandler;\n size: BookmarkTabsPropSize;\n form: BookmarkTabsPropForm;\n view: BookmarkTabsPropView;\n bordered?: boolean;\n tabWidth?: string;\n tabRef?: React.RefObject<HTMLElement>;\n} & Omit<BookmarkTabsItemDefault, 'key' | 'ref'>;\n\nexport type BookmarkTabsPropRenderItem<ITEM> = (\n props: BookmarkTabsRenderItemProps<ITEM>,\n) => React.
|
|
1
|
+
{"version":3,"file":"types.js","names":["bookmarkTabsPropSize","bookmarkTabsPropSizeDefault","bookmarkTabsPropForm","bookmarkTabsPropFormDefault","bookmarkTabsPropView","bookmarkTabsPropViewDefault"],"sources":["../../../../../src/components/BookmarkTabs/types.ts"],"sourcesContent":["import { IconComponent } from '@consta/icons/Icon';\nimport React from 'react';\n\nimport { AsAttributes, AsTags } from '##/utils/types/AsTags';\nimport { PropsWithAsAttributes } from '##/utils/types/PropsWithAsAttributes';\nimport { PropsWithHTMLAttributesAndRef } from '##/utils/types/PropsWithHTMLAttributes';\n\nexport const bookmarkTabsPropSize = ['m', 's'] as const;\nexport type BookmarkTabsPropSize = typeof bookmarkTabsPropSize[number];\nexport const bookmarkTabsPropSizeDefault: BookmarkTabsPropSize =\n bookmarkTabsPropSize[0];\n\nexport const bookmarkTabsPropForm = ['brick', 'round'] as const;\nexport type BookmarkTabsPropForm = typeof bookmarkTabsPropForm[number];\nexport const bookmarkTabsPropFormDefault: BookmarkTabsPropForm =\n bookmarkTabsPropForm[0];\n\nexport const bookmarkTabsPropView = ['ghost', 'clear'] as const;\nexport type BookmarkTabsPropView = typeof bookmarkTabsPropView[number];\nexport const bookmarkTabsPropViewDefault: BookmarkTabsPropView =\n bookmarkTabsPropView[0];\n\nexport type BookmarkTabsItemDefault = {\n key: string | number;\n label?: string | number;\n leftIcon?: IconComponent;\n rightIcon?: IconComponent;\n fixed?: boolean;\n as?: AsTags;\n ref?: React.RefObject<HTMLElement>;\n attributes?: AsAttributes;\n};\n\nexport type BookmarkTabsPropGetItemKey<ITEM> = (item: ITEM) => string | number;\nexport type BookmarkTabsPropGetItemLabel<ITEM> = (\n item: ITEM,\n) => string | number | undefined;\nexport type BookmarkTabsPropGetItemLeftIcon<ITEM> = (\n item: ITEM,\n) => IconComponent | undefined;\nexport type BookmarkTabsPropGetItemRightIcon<ITEM> = (\n item: ITEM,\n) => IconComponent | undefined;\nexport type BookmarkTabsPropGetItemFixed<ITEM> = (\n item: ITEM,\n) => boolean | undefined;\nexport type BookmarkTabsPropGetItemAs<ITEM> = (\n item: ITEM,\n) => AsTags | undefined;\nexport type BookmarkTabsPropGetItemRef<ITEM> = (\n item: ITEM,\n) => React.RefObject<HTMLElement> | undefined;\nexport type BookmarkTabsPropGetItemAttributes<ITEM> = (\n item: ITEM,\n) => AsAttributes | undefined;\n\nexport type BookmarkTabsPropOnChange<ITEM> = (\n value: ITEM,\n params: {\n e: React.MouseEvent;\n },\n) => void;\n\nexport type BookmarkTabsRenderItemProps<ITEM> = {\n item: ITEM;\n hovered?: boolean;\n onClick: React.MouseEventHandler;\n active?: boolean;\n onClose?: React.MouseEventHandler;\n size: BookmarkTabsPropSize;\n form: BookmarkTabsPropForm;\n view: BookmarkTabsPropView;\n bordered?: boolean;\n tabWidth?: string;\n tabRef?: React.RefObject<HTMLElement>;\n} & Omit<BookmarkTabsItemDefault, 'key' | 'ref'>;\n\nexport type BookmarkTabsPropRenderItem<ITEM> = (\n props: BookmarkTabsRenderItemProps<ITEM>,\n) => React.ReactNode | null;\n\nexport type BookmarkTabsPropOnRemove<ITEM> = (\n item: ITEM,\n params: { e: React.MouseEvent },\n) => void;\n\nexport type BookmarkTabsProps<ITEM = BookmarkTabsItemDefault> =\n PropsWithHTMLAttributesAndRef<\n {\n size?: BookmarkTabsPropSize;\n form?: BookmarkTabsPropForm;\n view?: BookmarkTabsPropView;\n items: ITEM[];\n value?: ITEM | null;\n getItemKey?: BookmarkTabsPropGetItemKey<ITEM>;\n getItemLabel?: BookmarkTabsPropGetItemLabel<ITEM>;\n getItemLeftIcon?: BookmarkTabsPropGetItemLeftIcon<ITEM>;\n getItemRightIcon?: BookmarkTabsPropGetItemRightIcon<ITEM>;\n getItemFixed?: BookmarkTabsPropGetItemFixed<ITEM>;\n getItemAs?: BookmarkTabsPropGetItemAs<ITEM>;\n getItemRef?: BookmarkTabsPropGetItemRef<ITEM>;\n getItemAttributes?: BookmarkTabsPropGetItemAttributes<ITEM>;\n children?: never;\n withNavigationButtons?: boolean;\n onCreate?: React.MouseEventHandler;\n onRemove?: BookmarkTabsPropOnRemove<ITEM>;\n onChange?: BookmarkTabsPropOnChange<ITEM>;\n renderItem?: BookmarkTabsPropRenderItem<ITEM>;\n },\n HTMLDivElement\n > &\n (ITEM extends { key: string | number }\n ? {}\n : {\n getItemKey: BookmarkTabsPropGetItemKey<ITEM>;\n });\n\nexport type BookmarkTabsComponent = <ITEM>(\n props: BookmarkTabsProps<ITEM>,\n) => React.ReactNode | null;\n\nexport type BookmarkTabsTabProps<AS extends AsTags = 'div'> =\n PropsWithAsAttributes<\n {\n hovered?: boolean;\n size: BookmarkTabsPropSize;\n form: BookmarkTabsPropForm;\n view: BookmarkTabsPropView;\n active?: boolean;\n tabWidth?: string;\n bordered?: boolean;\n tabRef?: React.RefObject<HTMLElement>;\n fixed?: boolean;\n onClose?: React.ReactEventHandler;\n },\n AS\n > &\n Omit<BookmarkTabsItemDefault, 'key' | 'attributes' | 'ref'>;\n\nexport type BookmarkTabsTabComponent = <AS extends AsTags = 'div'>(\n props: BookmarkTabsTabProps<AS>,\n) => React.ReactNode | null;\n"],"mappings":"AAOA,MAAO,IAAMA,qBAAoB,CAAG,CAAC,GAAD,CAAM,GAAN,CAA7B,CAEP,MAAO,IAAMC,4BAAiD,CAC5DD,oBAAoB,CAAC,CAAD,CADf,CAGP,MAAO,IAAME,qBAAoB,CAAG,CAAC,OAAD,CAAU,OAAV,CAA7B,CAEP,MAAO,IAAMC,4BAAiD,CAC5DD,oBAAoB,CAAC,CAAD,CADf,CAGP,MAAO,IAAME,qBAAoB,CAAG,CAAC,OAAD,CAAU,OAAV,CAA7B,CAEP,MAAO,IAAMC,4BAAiD,CAC5DD,oBAAoB,CAAC,CAAD,CADf"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import './BreadcrumbsMore.css';
|
|
2
2
|
import { BreadcrumbsMoreComponent, BreadcrumbsPropGetItemHref, BreadcrumbsPropGetItemIcon } from '../types';
|
|
3
|
-
export declare function getLeftSideBar<ITEM>(iconSize: 'xs' | 'm', getItemIcon?: BreadcrumbsPropGetItemIcon<ITEM>): (item: ITEM) => JSX.Element | undefined;
|
|
3
|
+
export declare function getLeftSideBar<ITEM>(iconSize: 'xs' | 'm', getItemIcon?: BreadcrumbsPropGetItemIcon<ITEM>): (item: ITEM) => import("react/jsx-runtime").JSX.Element | undefined;
|
|
4
4
|
export declare function getItemAs<ITEM>(getItemHref?: BreadcrumbsPropGetItemHref<ITEM>): (item: ITEM) => "a" | "span";
|
|
5
5
|
export declare function getItemAttributes<ITEM>(getItemHref?: BreadcrumbsPropGetItemHref<ITEM>): (item: ITEM) => {
|
|
6
6
|
href: string | undefined;
|
|
@@ -16,15 +16,18 @@ export declare function withDefaultGetters(props: BreadcrumbsProps): {
|
|
|
16
16
|
suppressContentEditableWarning?: boolean | undefined | undefined;
|
|
17
17
|
suppressHydrationWarning?: boolean | undefined | undefined;
|
|
18
18
|
accessKey?: string | undefined | undefined;
|
|
19
|
+
autoCapitalize?: "off" | "none" | "on" | "sentences" | "words" | "characters" | undefined | (string & {}) | undefined;
|
|
20
|
+
autoFocus?: boolean | undefined | undefined;
|
|
19
21
|
className?: string | undefined | undefined;
|
|
20
|
-
contentEditable?: (boolean | "true" | "false") | "inherit" | undefined;
|
|
22
|
+
contentEditable?: (boolean | "true" | "false") | "inherit" | "plaintext-only" | undefined;
|
|
21
23
|
contextMenu?: string | undefined | undefined;
|
|
22
24
|
dir?: string | undefined | undefined;
|
|
23
25
|
draggable?: (boolean | "true" | "false") | undefined;
|
|
26
|
+
enterKeyHint?: "enter" | "done" | "go" | "next" | "previous" | "search" | "send" | undefined | undefined;
|
|
24
27
|
hidden?: boolean | undefined | undefined;
|
|
25
28
|
id?: string | undefined | undefined;
|
|
26
29
|
lang?: string | undefined | undefined;
|
|
27
|
-
|
|
30
|
+
nonce?: string | undefined | undefined;
|
|
28
31
|
slot?: string | undefined | undefined;
|
|
29
32
|
spellCheck?: (boolean | "true" | "false") | undefined;
|
|
30
33
|
style?: import("react").CSSProperties | undefined;
|
|
@@ -34,14 +37,16 @@ export declare function withDefaultGetters(props: BreadcrumbsProps): {
|
|
|
34
37
|
radioGroup?: string | undefined | undefined;
|
|
35
38
|
role?: import("react").AriaRole | undefined;
|
|
36
39
|
about?: string | undefined | undefined;
|
|
40
|
+
content?: string | undefined | undefined;
|
|
37
41
|
datatype?: string | undefined | undefined;
|
|
38
42
|
inlist?: any;
|
|
39
43
|
prefix?: string | undefined | undefined;
|
|
40
44
|
property?: string | undefined | undefined;
|
|
45
|
+
rel?: string | undefined | undefined;
|
|
41
46
|
resource?: string | undefined | undefined;
|
|
47
|
+
rev?: string | undefined | undefined;
|
|
42
48
|
typeof?: string | undefined | undefined;
|
|
43
49
|
vocab?: string | undefined | undefined;
|
|
44
|
-
autoCapitalize?: string | undefined | undefined;
|
|
45
50
|
autoCorrect?: string | undefined | undefined;
|
|
46
51
|
autoSave?: string | undefined | undefined;
|
|
47
52
|
color?: string | undefined | undefined;
|
|
@@ -55,57 +60,64 @@ export declare function withDefaultGetters(props: BreadcrumbsProps): {
|
|
|
55
60
|
unselectable?: "on" | "off" | undefined | undefined;
|
|
56
61
|
inputMode?: "none" | "text" | "tel" | "url" | "email" | "numeric" | "decimal" | "search" | undefined | undefined;
|
|
57
62
|
is?: string | undefined | undefined;
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
63
|
+
exportparts?: string | undefined | undefined;
|
|
64
|
+
part?: string | undefined | undefined;
|
|
65
|
+
"aria-activedescendant"?: string | undefined | undefined;
|
|
66
|
+
"aria-atomic"?: (boolean | "true" | "false") | undefined;
|
|
67
|
+
"aria-autocomplete"?: "none" | "inline" | "list" | "both" | undefined | undefined;
|
|
68
|
+
"aria-braillelabel"?: string | undefined | undefined;
|
|
69
|
+
"aria-brailleroledescription"?: string | undefined | undefined;
|
|
70
|
+
"aria-busy"?: (boolean | "true" | "false") | undefined;
|
|
71
|
+
"aria-checked"?: boolean | "false" | "mixed" | "true" | undefined | undefined;
|
|
72
|
+
"aria-colcount"?: number | undefined | undefined;
|
|
73
|
+
"aria-colindex"?: number | undefined | undefined;
|
|
74
|
+
"aria-colindextext"?: string | undefined | undefined;
|
|
75
|
+
"aria-colspan"?: number | undefined | undefined;
|
|
76
|
+
"aria-controls"?: string | undefined | undefined;
|
|
77
|
+
"aria-current"?: boolean | "false" | "true" | "page" | "step" | "location" | "date" | "time" | undefined | undefined;
|
|
78
|
+
"aria-describedby"?: string | undefined | undefined;
|
|
79
|
+
"aria-description"?: string | undefined | undefined;
|
|
80
|
+
"aria-details"?: string | undefined | undefined;
|
|
81
|
+
"aria-disabled"?: (boolean | "true" | "false") | undefined;
|
|
82
|
+
"aria-dropeffect"?: "none" | "copy" | "execute" | "link" | "move" | "popup" | undefined | undefined;
|
|
83
|
+
"aria-errormessage"?: string | undefined | undefined;
|
|
84
|
+
"aria-expanded"?: (boolean | "true" | "false") | undefined;
|
|
85
|
+
"aria-flowto"?: string | undefined | undefined;
|
|
86
|
+
"aria-grabbed"?: (boolean | "true" | "false") | undefined;
|
|
87
|
+
"aria-haspopup"?: boolean | "false" | "true" | "menu" | "listbox" | "tree" | "grid" | "dialog" | undefined | undefined;
|
|
88
|
+
"aria-hidden"?: (boolean | "true" | "false") | undefined;
|
|
89
|
+
"aria-invalid"?: boolean | "false" | "true" | "grammar" | "spelling" | undefined | undefined;
|
|
90
|
+
"aria-keyshortcuts"?: string | undefined | undefined;
|
|
91
|
+
"aria-label"?: string | undefined | undefined;
|
|
92
|
+
"aria-labelledby"?: string | undefined | undefined;
|
|
93
|
+
"aria-level"?: number | undefined | undefined;
|
|
94
|
+
"aria-live"?: "off" | "assertive" | "polite" | undefined | undefined;
|
|
95
|
+
"aria-modal"?: (boolean | "true" | "false") | undefined;
|
|
96
|
+
"aria-multiline"?: (boolean | "true" | "false") | undefined;
|
|
97
|
+
"aria-multiselectable"?: (boolean | "true" | "false") | undefined;
|
|
98
|
+
"aria-orientation"?: "horizontal" | "vertical" | undefined | undefined;
|
|
99
|
+
"aria-owns"?: string | undefined | undefined;
|
|
100
|
+
"aria-placeholder"?: string | undefined | undefined;
|
|
101
|
+
"aria-posinset"?: number | undefined | undefined;
|
|
102
|
+
"aria-pressed"?: boolean | "false" | "mixed" | "true" | undefined | undefined;
|
|
103
|
+
"aria-readonly"?: (boolean | "true" | "false") | undefined;
|
|
104
|
+
"aria-relevant"?: "additions" | "additions removals" | "additions text" | "all" | "removals" | "removals additions" | "removals text" | "text" | "text additions" | "text removals" | undefined | undefined;
|
|
105
|
+
"aria-required"?: (boolean | "true" | "false") | undefined;
|
|
106
|
+
"aria-roledescription"?: string | undefined | undefined;
|
|
107
|
+
"aria-rowcount"?: number | undefined | undefined;
|
|
108
|
+
"aria-rowindex"?: number | undefined | undefined;
|
|
109
|
+
"aria-rowindextext"?: string | undefined | undefined;
|
|
110
|
+
"aria-rowspan"?: number | undefined | undefined;
|
|
111
|
+
"aria-selected"?: (boolean | "true" | "false") | undefined;
|
|
112
|
+
"aria-setsize"?: number | undefined | undefined;
|
|
113
|
+
"aria-sort"?: "none" | "ascending" | "descending" | "other" | undefined | undefined;
|
|
114
|
+
"aria-valuemax"?: number | undefined | undefined;
|
|
115
|
+
"aria-valuemin"?: number | undefined | undefined;
|
|
116
|
+
"aria-valuenow"?: number | undefined | undefined;
|
|
117
|
+
"aria-valuetext"?: string | undefined | undefined;
|
|
106
118
|
children?: import("react").ReactNode;
|
|
107
119
|
dangerouslySetInnerHTML?: {
|
|
108
|
-
__html: string;
|
|
120
|
+
__html: string | TrustedHTML;
|
|
109
121
|
} | undefined | undefined;
|
|
110
122
|
onCopy?: import("react").ClipboardEventHandler<HTMLUListElement> | undefined;
|
|
111
123
|
onCopyCapture?: import("react").ClipboardEventHandler<HTMLUListElement> | undefined;
|
|
@@ -125,7 +137,7 @@ export declare function withDefaultGetters(props: BreadcrumbsProps): {
|
|
|
125
137
|
onBlurCapture?: import("react").FocusEventHandler<HTMLUListElement> | undefined;
|
|
126
138
|
onChange?: import("react").FormEventHandler<HTMLUListElement> | undefined;
|
|
127
139
|
onChangeCapture?: import("react").FormEventHandler<HTMLUListElement> | undefined;
|
|
128
|
-
onBeforeInput?: import("react").
|
|
140
|
+
onBeforeInput?: import("react").InputEventHandler<HTMLUListElement> | undefined;
|
|
129
141
|
onBeforeInputCapture?: import("react").FormEventHandler<HTMLUListElement> | undefined;
|
|
130
142
|
onInput?: import("react").FormEventHandler<HTMLUListElement> | undefined;
|
|
131
143
|
onInputCapture?: import("react").FormEventHandler<HTMLUListElement> | undefined;
|
|
@@ -244,9 +256,7 @@ export declare function withDefaultGetters(props: BreadcrumbsProps): {
|
|
|
244
256
|
onPointerCancel?: import("react").PointerEventHandler<HTMLUListElement> | undefined;
|
|
245
257
|
onPointerCancelCapture?: import("react").PointerEventHandler<HTMLUListElement> | undefined;
|
|
246
258
|
onPointerEnter?: import("react").PointerEventHandler<HTMLUListElement> | undefined;
|
|
247
|
-
onPointerEnterCapture?: import("react").PointerEventHandler<HTMLUListElement> | undefined;
|
|
248
259
|
onPointerLeave?: import("react").PointerEventHandler<HTMLUListElement> | undefined;
|
|
249
|
-
onPointerLeaveCapture?: import("react").PointerEventHandler<HTMLUListElement> | undefined;
|
|
250
260
|
onPointerOver?: import("react").PointerEventHandler<HTMLUListElement> | undefined;
|
|
251
261
|
onPointerOverCapture?: import("react").PointerEventHandler<HTMLUListElement> | undefined;
|
|
252
262
|
onPointerOut?: import("react").PointerEventHandler<HTMLUListElement> | undefined;
|
|
@@ -267,7 +277,7 @@ export declare function withDefaultGetters(props: BreadcrumbsProps): {
|
|
|
267
277
|
onAnimationIterationCapture?: import("react").AnimationEventHandler<HTMLUListElement> | undefined;
|
|
268
278
|
onTransitionEnd?: import("react").TransitionEventHandler<HTMLUListElement> | undefined;
|
|
269
279
|
onTransitionEndCapture?: import("react").TransitionEventHandler<HTMLUListElement> | undefined;
|
|
270
|
-
ref?: import("react").
|
|
280
|
+
ref?: import("react").LegacyRef<HTMLUListElement> | undefined;
|
|
271
281
|
key?: import("react").Key | null | undefined;
|
|
272
282
|
};
|
|
273
283
|
export declare const iconSizeMap: {
|
|
@@ -22,7 +22,7 @@ export type BreadcrumbsDefaultItem = {
|
|
|
22
22
|
subMenu?: BreadcrumbsDefaultItem[];
|
|
23
23
|
};
|
|
24
24
|
export type DefaultItem = BreadcrumbsDefaultItem;
|
|
25
|
-
export type RenderItem<ITEM> = (item: ITEM | undefined, index: number | string, isFirst?: boolean, isLast?: boolean, ref?: React.Ref<HTMLLIElement>, hidden?: boolean) => React.
|
|
25
|
+
export type RenderItem<ITEM> = (item: ITEM | undefined, index: number | string, isFirst?: boolean, isLast?: boolean, ref?: React.Ref<HTMLLIElement>, hidden?: boolean) => React.ReactNode | undefined;
|
|
26
26
|
export type BreadcrumbsProps<ITEM = BreadcrumbsDefaultItem> = PropsWithHTMLAttributesAndRef<{
|
|
27
27
|
items: ITEM[];
|
|
28
28
|
getItemLabel?: BreadcrumbsPropGetItemLabel<ITEM>;
|
|
@@ -40,7 +40,7 @@ export type BreadcrumbsProps<ITEM = BreadcrumbsDefaultItem> = PropsWithHTMLAttri
|
|
|
40
40
|
} ? {} : {
|
|
41
41
|
getItemLabel: BreadcrumbsPropGetItemLabel<ITEM>;
|
|
42
42
|
});
|
|
43
|
-
export type BreadcrumbsComponent = <ITEM>(props: BreadcrumbsProps<ITEM>) => React.
|
|
43
|
+
export type BreadcrumbsComponent = <ITEM>(props: BreadcrumbsProps<ITEM>) => React.ReactNode | null;
|
|
44
44
|
export type BreadcrumbsMoreProps<ITEM> = PropsWithHTMLAttributesAndRef<{
|
|
45
45
|
size: BreadcrumbPropSize;
|
|
46
46
|
items: ITEM[];
|
|
@@ -51,7 +51,7 @@ export type BreadcrumbsMoreProps<ITEM> = PropsWithHTMLAttributesAndRef<{
|
|
|
51
51
|
getItemOnClick: BreadcrumbsPropGetItemOnClick<ITEM>;
|
|
52
52
|
onItemClick?: BreadcrumbsPropOnItemClick<ITEM>;
|
|
53
53
|
}, HTMLLIElement>;
|
|
54
|
-
export type BreadcrumbsMoreComponent = <ITEM>(props: BreadcrumbsMoreProps<ITEM>) => React.
|
|
54
|
+
export type BreadcrumbsMoreComponent = <ITEM>(props: BreadcrumbsMoreProps<ITEM>) => React.ReactNode | null;
|
|
55
55
|
export type BreadcrumbsItemProps<ITEM> = PropsWithHTMLAttributesAndRef<{
|
|
56
56
|
size: 'm' | 'xs' | 's' | 'l';
|
|
57
57
|
item?: ITEM;
|
|
@@ -64,7 +64,7 @@ export type BreadcrumbsItemProps<ITEM> = PropsWithHTMLAttributesAndRef<{
|
|
|
64
64
|
delimiter?: boolean;
|
|
65
65
|
onItemClick?: BreadcrumbsPropOnItemClick<ITEM>;
|
|
66
66
|
}, HTMLLIElement>;
|
|
67
|
-
export type BreadcrumbsItemComponent = <ITEM>(props: BreadcrumbsItemProps<ITEM>) => React.
|
|
67
|
+
export type BreadcrumbsItemComponent = <ITEM>(props: BreadcrumbsItemProps<ITEM>) => React.ReactNode | null;
|
|
68
68
|
export type BreadcrumbsFitModeDropdownProps<ITEM> = PropsWithHTMLAttributesAndRef<{
|
|
69
69
|
items: ITEM[];
|
|
70
70
|
getItemLabel: BreadcrumbsPropGetItemLabel<ITEM>;
|
|
@@ -76,10 +76,10 @@ export type BreadcrumbsFitModeDropdownProps<ITEM> = PropsWithHTMLAttributesAndRe
|
|
|
76
76
|
renderItem: RenderItem<ITEM>;
|
|
77
77
|
size: BreadcrumbPropSize;
|
|
78
78
|
}, HTMLUListElement>;
|
|
79
|
-
export type BreadcrumbsFitModeDropdownComponent = <ITEM>(props: BreadcrumbsFitModeDropdownProps<ITEM>) => React.
|
|
79
|
+
export type BreadcrumbsFitModeDropdownComponent = <ITEM>(props: BreadcrumbsFitModeDropdownProps<ITEM>) => React.ReactNode | null;
|
|
80
80
|
export type BreadcrumbsFitModeScrollProps<ITEM> = PropsWithHTMLAttributesAndRef<{
|
|
81
81
|
items: ITEM[];
|
|
82
82
|
renderItem: RenderItem<ITEM>;
|
|
83
83
|
}, HTMLUListElement>;
|
|
84
|
-
export type BreadcrumbsFitModeScrollComponent = <ITEM>(props: BreadcrumbsFitModeScrollProps<ITEM>) => React.
|
|
85
|
-
export type BreadcrumbsShortListComponent = <ITEM>(props: BreadcrumbsFitModeScrollProps<ITEM>) => React.
|
|
84
|
+
export type BreadcrumbsFitModeScrollComponent = <ITEM>(props: BreadcrumbsFitModeScrollProps<ITEM>) => React.ReactNode | null;
|
|
85
|
+
export type BreadcrumbsShortListComponent = <ITEM>(props: BreadcrumbsFitModeScrollProps<ITEM>) => React.ReactNode | null;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types.js","names":["breadcrumbPropSize","breadcrumbPropSizeDefault","breadcrumbPropFitMode","breadcrumbPropFitModeDefault"],"sources":["../../../../../src/components/Breadcrumbs/types.ts"],"sourcesContent":["import { IconComponent } from '@consta/icons/Icon';\n\nimport { PropsWithHTMLAttributesAndRef } from '../../utils/types/PropsWithHTMLAttributes';\n\nexport const breadcrumbPropSize = ['m', 'xs', 's', 'l'] as const;\nexport type BreadcrumbPropSize = typeof breadcrumbPropSize[number];\nexport const breadcrumbPropSizeDefault = breadcrumbPropSize[0];\n\nexport const breadcrumbPropFitMode = ['dropdown', 'scroll'] as const;\nexport type BreadcrumbPropFitMode = typeof breadcrumbPropFitMode[number];\nexport const breadcrumbPropFitModeDefault = breadcrumbPropFitMode[0];\n\nexport type BreadcrumbsPropGetItemLabel<ITEM> = (item: ITEM) => string;\nexport type BreadcrumbsPropGetItemHref<ITEM> = (\n item: ITEM,\n) => string | undefined;\nexport type BreadcrumbsPropGetItemIcon<ITEM> = (\n item: ITEM,\n) => IconComponent | undefined;\nexport type BreadcrumbsPropGetItemSubMenu<ITEM> = (\n item: ITEM,\n) => ITEM[] | undefined;\nexport type BreadcrumbsPropGetItemOnClick<ITEM> = (\n item: ITEM,\n) => React.MouseEventHandler | undefined;\nexport type BreadcrumbsPropOnItemClick<ITEM> = (\n item: ITEM,\n props: {\n e: React.MouseEvent;\n },\n) => void;\n\nexport type BreadcrumbsDefaultItem = {\n label: string;\n icon?: IconComponent;\n href?: string;\n onClick?: React.MouseEventHandler<HTMLAnchorElement>;\n subMenu?: BreadcrumbsDefaultItem[];\n};\n\nexport type DefaultItem = BreadcrumbsDefaultItem;\n\nexport type RenderItem<ITEM> = (\n item: ITEM | undefined,\n index: number | string,\n isFirst?: boolean,\n isLast?: boolean,\n ref?: React.Ref<HTMLLIElement>,\n hidden?: boolean,\n) => React.
|
|
1
|
+
{"version":3,"file":"types.js","names":["breadcrumbPropSize","breadcrumbPropSizeDefault","breadcrumbPropFitMode","breadcrumbPropFitModeDefault"],"sources":["../../../../../src/components/Breadcrumbs/types.ts"],"sourcesContent":["import { IconComponent } from '@consta/icons/Icon';\n\nimport { PropsWithHTMLAttributesAndRef } from '../../utils/types/PropsWithHTMLAttributes';\n\nexport const breadcrumbPropSize = ['m', 'xs', 's', 'l'] as const;\nexport type BreadcrumbPropSize = typeof breadcrumbPropSize[number];\nexport const breadcrumbPropSizeDefault = breadcrumbPropSize[0];\n\nexport const breadcrumbPropFitMode = ['dropdown', 'scroll'] as const;\nexport type BreadcrumbPropFitMode = typeof breadcrumbPropFitMode[number];\nexport const breadcrumbPropFitModeDefault = breadcrumbPropFitMode[0];\n\nexport type BreadcrumbsPropGetItemLabel<ITEM> = (item: ITEM) => string;\nexport type BreadcrumbsPropGetItemHref<ITEM> = (\n item: ITEM,\n) => string | undefined;\nexport type BreadcrumbsPropGetItemIcon<ITEM> = (\n item: ITEM,\n) => IconComponent | undefined;\nexport type BreadcrumbsPropGetItemSubMenu<ITEM> = (\n item: ITEM,\n) => ITEM[] | undefined;\nexport type BreadcrumbsPropGetItemOnClick<ITEM> = (\n item: ITEM,\n) => React.MouseEventHandler | undefined;\nexport type BreadcrumbsPropOnItemClick<ITEM> = (\n item: ITEM,\n props: {\n e: React.MouseEvent;\n },\n) => void;\n\nexport type BreadcrumbsDefaultItem = {\n label: string;\n icon?: IconComponent;\n href?: string;\n onClick?: React.MouseEventHandler<HTMLAnchorElement>;\n subMenu?: BreadcrumbsDefaultItem[];\n};\n\nexport type DefaultItem = BreadcrumbsDefaultItem;\n\nexport type RenderItem<ITEM> = (\n item: ITEM | undefined,\n index: number | string,\n isFirst?: boolean,\n isLast?: boolean,\n ref?: React.Ref<HTMLLIElement>,\n hidden?: boolean,\n) => React.ReactNode | undefined;\n\nexport type BreadcrumbsProps<ITEM = BreadcrumbsDefaultItem> =\n PropsWithHTMLAttributesAndRef<\n {\n items: ITEM[];\n getItemLabel?: BreadcrumbsPropGetItemLabel<ITEM>;\n getItemHref?: BreadcrumbsPropGetItemHref<ITEM>;\n getItemIcon?: BreadcrumbsPropGetItemIcon<ITEM>;\n getItemOnClick?: BreadcrumbsPropGetItemOnClick<ITEM>;\n getItemSubMenu?: BreadcrumbsPropGetItemSubMenu<ITEM>;\n onItemClick?: BreadcrumbsPropOnItemClick<ITEM>;\n size?: BreadcrumbPropSize;\n onlyIconRoot?: boolean;\n fitMode?: BreadcrumbPropFitMode;\n lastItemIsLink?: boolean;\n },\n HTMLUListElement\n > &\n (ITEM extends { label: BreadcrumbsDefaultItem['label'] }\n ? {}\n : { getItemLabel: BreadcrumbsPropGetItemLabel<ITEM> });\n\nexport type BreadcrumbsComponent = <ITEM>(\n props: BreadcrumbsProps<ITEM>,\n) => React.ReactNode | null;\n\nexport type BreadcrumbsMoreProps<ITEM> = PropsWithHTMLAttributesAndRef<\n {\n size: BreadcrumbPropSize;\n items: ITEM[];\n getItemLabel: BreadcrumbsPropGetItemLabel<ITEM>;\n getItemHref: BreadcrumbsPropGetItemHref<ITEM>;\n getItemIcon: BreadcrumbsPropGetItemIcon<ITEM>;\n getItemSubMenu: BreadcrumbsPropGetItemSubMenu<ITEM>;\n getItemOnClick: BreadcrumbsPropGetItemOnClick<ITEM>;\n onItemClick?: BreadcrumbsPropOnItemClick<ITEM>;\n },\n HTMLLIElement\n>;\n\nexport type BreadcrumbsMoreComponent = <ITEM>(\n props: BreadcrumbsMoreProps<ITEM>,\n) => React.ReactNode | null;\n\nexport type BreadcrumbsItemProps<ITEM> = PropsWithHTMLAttributesAndRef<\n {\n size: 'm' | 'xs' | 's' | 'l';\n item?: ITEM;\n getItemLabel?: BreadcrumbsPropGetItemLabel<ITEM>;\n getItemHref?: BreadcrumbsPropGetItemHref<ITEM>;\n getItemIcon?: BreadcrumbsPropGetItemIcon<ITEM>;\n getItemSubMenu?: BreadcrumbsPropGetItemSubMenu<ITEM>;\n active?: boolean;\n onlyIcon?: boolean;\n delimiter?: boolean;\n onItemClick?: BreadcrumbsPropOnItemClick<ITEM>;\n },\n HTMLLIElement\n>;\n\nexport type BreadcrumbsItemComponent = <ITEM>(\n props: BreadcrumbsItemProps<ITEM>,\n) => React.ReactNode | null;\n\nexport type BreadcrumbsFitModeDropdownProps<ITEM> =\n PropsWithHTMLAttributesAndRef<\n {\n items: ITEM[];\n getItemLabel: BreadcrumbsPropGetItemLabel<ITEM>;\n getItemHref: BreadcrumbsPropGetItemHref<ITEM>;\n getItemIcon: BreadcrumbsPropGetItemIcon<ITEM>;\n getItemOnClick: BreadcrumbsPropGetItemOnClick<ITEM>;\n getItemSubMenu: BreadcrumbsPropGetItemSubMenu<ITEM>;\n onItemClick?: BreadcrumbsPropOnItemClick<ITEM>;\n renderItem: RenderItem<ITEM>;\n size: BreadcrumbPropSize;\n },\n HTMLUListElement\n >;\n\nexport type BreadcrumbsFitModeDropdownComponent = <ITEM>(\n props: BreadcrumbsFitModeDropdownProps<ITEM>,\n) => React.ReactNode | null;\n\nexport type BreadcrumbsFitModeScrollProps<ITEM> = PropsWithHTMLAttributesAndRef<\n {\n items: ITEM[];\n renderItem: RenderItem<ITEM>;\n },\n HTMLUListElement\n>;\n\nexport type BreadcrumbsFitModeScrollComponent = <ITEM>(\n props: BreadcrumbsFitModeScrollProps<ITEM>,\n) => React.ReactNode | null;\n\nexport type BreadcrumbsShortListComponent = <ITEM>(\n props: BreadcrumbsFitModeScrollProps<ITEM>,\n) => React.ReactNode | null;\n"],"mappings":"AAIA,MAAO,IAAMA,mBAAkB,CAAG,CAAC,GAAD,CAAM,IAAN,CAAY,GAAZ,CAAiB,GAAjB,CAA3B,CAEP,MAAO,IAAMC,0BAAyB,CAAGD,kBAAkB,CAAC,CAAD,CAApD,CAEP,MAAO,IAAME,sBAAqB,CAAG,CAAC,UAAD,CAAa,QAAb,CAA9B,CAEP,MAAO,IAAMC,6BAA4B,CAAGD,qBAAqB,CAAC,CAAD,CAA1D"}
|
|
@@ -6,7 +6,7 @@ export declare const cardPropSpace: readonly ["m", "xs", "s", "l", "xl", "2xl",
|
|
|
6
6
|
export type CardPropSpace = typeof cardPropSpace[number];
|
|
7
7
|
export declare const cardPropStatus: readonly ["alert", "success", "warning"];
|
|
8
8
|
export type CardPropStatus = typeof cardPropStatus[number] | string;
|
|
9
|
-
export type
|
|
9
|
+
export type CardProps = {
|
|
10
10
|
verticalSpace?: CardPropSpace;
|
|
11
11
|
horizontalSpace?: CardPropSpace;
|
|
12
12
|
status?: CardPropStatus;
|
|
@@ -15,6 +15,7 @@ export type Props = {
|
|
|
15
15
|
shadow?: boolean;
|
|
16
16
|
children?: React.ReactNode;
|
|
17
17
|
};
|
|
18
|
+
export type Props = CardProps;
|
|
18
19
|
export declare const COMPONENT_NAME: "Card";
|
|
19
20
|
export declare const cnCard: import("@bem-react/classname").ClassNameFormatter;
|
|
20
|
-
export declare const Card: import("../../utils/types/PropsWithAsAttributes").ComponentWithAs<
|
|
21
|
+
export declare const Card: import("../../utils/types/PropsWithAsAttributes").ComponentWithAs<CardProps, "div">;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Card.js","names":["React","useRef","useForkRef","cnMixCard","cn","forwardRefWithAs","usePropsHandler","cardPropForm","cardPropFormDefault","cardPropSpace","cardPropStatus","COMPONENT_NAME","cnCard","Card","props","ref","cardRef","verticalSpace","horizontalSpace","status","form","shadow","children","tabIndex","border","className","as","otherProps"],"sources":["../../../../../src/components/Card/Card.tsx"],"sourcesContent":["import React, { useRef } from 'react';\n\nimport { useForkRef } from '../../hooks/useForkRef/useForkRef';\nimport { cnMixCard } from '../../mixs/MixCard/MixCard';\nimport { cn } from '../../utils/bem';\nimport { forwardRefWithAs } from '../../utils/types/PropsWithAsAttributes';\nimport { usePropsHandler } from '../EventInterceptor/usePropsHandler';\n\nexport const cardPropForm = ['round', 'square'] as const;\nexport type CardPropForm = typeof cardPropForm[number];\nexport const cardPropFormDefault: CardPropForm = cardPropForm[0];\n\nexport const cardPropSpace = [\n 'm',\n 'xs',\n 's',\n 'l',\n 'xl',\n '2xl',\n '3xl',\n '4xl',\n '5xl',\n] as const;\nexport type CardPropSpace = typeof cardPropSpace[number];\n\nexport const cardPropStatus = ['alert', 'success', 'warning'] as const;\nexport type CardPropStatus = typeof cardPropStatus[number] | string;\n\nexport type
|
|
1
|
+
{"version":3,"file":"Card.js","names":["React","useRef","useForkRef","cnMixCard","cn","forwardRefWithAs","usePropsHandler","cardPropForm","cardPropFormDefault","cardPropSpace","cardPropStatus","COMPONENT_NAME","cnCard","Card","props","ref","cardRef","verticalSpace","horizontalSpace","status","form","shadow","children","tabIndex","border","className","as","otherProps"],"sources":["../../../../../src/components/Card/Card.tsx"],"sourcesContent":["import React, { useRef } from 'react';\n\nimport { useForkRef } from '../../hooks/useForkRef/useForkRef';\nimport { cnMixCard } from '../../mixs/MixCard/MixCard';\nimport { cn } from '../../utils/bem';\nimport { forwardRefWithAs } from '../../utils/types/PropsWithAsAttributes';\nimport { usePropsHandler } from '../EventInterceptor/usePropsHandler';\n\nexport const cardPropForm = ['round', 'square'] as const;\nexport type CardPropForm = typeof cardPropForm[number];\nexport const cardPropFormDefault: CardPropForm = cardPropForm[0];\n\nexport const cardPropSpace = [\n 'm',\n 'xs',\n 's',\n 'l',\n 'xl',\n '2xl',\n '3xl',\n '4xl',\n '5xl',\n] as const;\nexport type CardPropSpace = typeof cardPropSpace[number];\n\nexport const cardPropStatus = ['alert', 'success', 'warning'] as const;\nexport type CardPropStatus = typeof cardPropStatus[number] | string;\n\nexport type CardProps = {\n verticalSpace?: CardPropSpace;\n horizontalSpace?: CardPropSpace;\n status?: CardPropStatus;\n border?: boolean;\n form?: CardPropForm;\n shadow?: boolean;\n children?: React.ReactNode;\n};\n\nexport type Props = CardProps;\n\nexport const COMPONENT_NAME = 'Card' as const;\n\nexport const cnCard = cn('Card');\n\nexport const Card = forwardRefWithAs<CardProps>((props, ref) => {\n const cardRef = useRef<HTMLDivElement>(null);\n\n const {\n verticalSpace,\n horizontalSpace,\n status,\n form = cardPropFormDefault,\n shadow = true,\n children,\n tabIndex,\n border,\n className,\n as = 'div',\n ...otherProps\n } = usePropsHandler(COMPONENT_NAME, props, cardRef);\n\n const Tag = as as string;\n\n return (\n <Tag\n tabIndex={tabIndex}\n ref={useForkRef([cardRef, ref])}\n className={cnCard(null, [\n cnMixCard({\n verticalSpace,\n horizontalSpace,\n shadow,\n form,\n status,\n border,\n }),\n className,\n ])}\n {...otherProps}\n >\n {children}\n </Tag>\n );\n});\n"],"mappings":"gNAAA,MAAOA,MAAP,EAAgBC,MAAhB,KAA8B,OAA9B,CAEA,OAASC,UAAT,yCACA,OAASC,SAAT,kCACA,OAASC,EAAT,uBACA,OAASC,gBAAT,+CACA,OAASC,eAAT,2CAEA,MAAO,IAAMC,aAAY,CAAG,CAAC,OAAD,CAAU,QAAV,CAArB,CAEP,MAAO,IAAMC,oBAAiC,CAAGD,YAAY,CAAC,CAAD,CAAtD,CAEP,MAAO,IAAME,cAAa,CAAG,CAC3B,GAD2B,CAE3B,IAF2B,CAG3B,GAH2B,CAI3B,GAJ2B,CAK3B,IAL2B,CAM3B,KAN2B,CAO3B,KAP2B,CAQ3B,KAR2B,CAS3B,KAT2B,CAAtB,CAaP,MAAO,IAAMC,eAAc,CAAG,CAAC,OAAD,CAAU,SAAV,CAAqB,SAArB,CAAvB,CAeP,MAAO,IAAMC,eAAc,CAAG,MAAvB,CAEP,MAAO,IAAMC,OAAM,CAAGR,EAAE,CAAC,MAAD,CAAjB,CAEP,MAAO,IAAMS,KAAI,CAAGR,gBAAgB,CAAY,SAACS,CAAD,CAAQC,CAAR,CAAgB,IACxDC,EAAO,CAAGf,MAAM,CAAiB,IAAjB,CADwC,GAe1DK,eAAe,CAACK,cAAD,CAAiBG,CAAjB,CAAwBE,CAAxB,CAf2C,CAI5DC,CAJ4D,GAI5DA,aAJ4D,CAK5DC,CAL4D,GAK5DA,eAL4D,CAM5DC,CAN4D,GAM5DA,MAN4D,KAO5DC,IAP4D,CAO5DA,CAP4D,YAOrDZ,mBAPqD,OAQ5Da,MAR4D,CAS5DC,CAT4D,GAS5DA,QAT4D,CAU5DC,CAV4D,GAU5DA,QAV4D,CAW5DC,CAX4D,GAW5DA,MAX4D,CAY5DC,CAZ4D,GAY5DA,SAZ4D,KAa5DC,EAb4D,CAa5DA,CAb4D,YAavD,KAbuD,GAczDC,CAdyD,uCAmB9D,MACE,qBAHUD,CAGV,gBACE,QAAQ,CAAEH,CADZ,CAEE,GAAG,CAAErB,UAAU,CAAC,CAACc,CAAD,CAAUD,CAAV,CAAD,CAFjB,CAGE,SAAS,CAAEH,MAAM,CAAC,IAAD,CAAO,CACtBT,SAAS,CAAC,CACRc,aAAa,CAAbA,CADQ,CAERC,eAAe,CAAfA,CAFQ,CAGRG,MAAM,iBAHE,CAIRD,IAAI,CAAJA,CAJQ,CAKRD,MAAM,CAANA,CALQ,CAMRK,MAAM,CAANA,CANQ,CAAD,CADa,CAStBC,CATsB,CAAP,CAHnB,EAcME,CAdN,EAgBGL,CAhBH,CAmBH,CAvCmC,CAA7B"}
|
|
@@ -20,14 +20,17 @@ export declare const withDefaultGetters: (props: CheckboxGroupProps) => {
|
|
|
20
20
|
suppressContentEditableWarning?: boolean | undefined | undefined;
|
|
21
21
|
suppressHydrationWarning?: boolean | undefined | undefined;
|
|
22
22
|
accessKey?: string | undefined | undefined;
|
|
23
|
-
|
|
23
|
+
autoCapitalize?: "off" | "none" | "on" | "sentences" | "words" | "characters" | undefined | (string & {}) | undefined;
|
|
24
|
+
autoFocus?: boolean | undefined | undefined;
|
|
25
|
+
contentEditable?: (boolean | "true" | "false") | "inherit" | "plaintext-only" | undefined;
|
|
24
26
|
contextMenu?: string | undefined | undefined;
|
|
25
27
|
dir?: string | undefined | undefined;
|
|
26
28
|
draggable?: (boolean | "true" | "false") | undefined;
|
|
29
|
+
enterKeyHint?: "enter" | "done" | "go" | "next" | "previous" | "search" | "send" | undefined | undefined;
|
|
27
30
|
hidden?: boolean | undefined | undefined;
|
|
28
31
|
id?: string | undefined | undefined;
|
|
29
32
|
lang?: string | undefined | undefined;
|
|
30
|
-
|
|
33
|
+
nonce?: string | undefined | undefined;
|
|
31
34
|
slot?: string | undefined | undefined;
|
|
32
35
|
spellCheck?: (boolean | "true" | "false") | undefined;
|
|
33
36
|
style?: import("react").CSSProperties | undefined;
|
|
@@ -37,14 +40,16 @@ export declare const withDefaultGetters: (props: CheckboxGroupProps) => {
|
|
|
37
40
|
radioGroup?: string | undefined | undefined;
|
|
38
41
|
role?: import("react").AriaRole | undefined;
|
|
39
42
|
about?: string | undefined | undefined;
|
|
43
|
+
content?: string | undefined | undefined;
|
|
40
44
|
datatype?: string | undefined | undefined;
|
|
41
45
|
inlist?: any;
|
|
42
46
|
prefix?: string | undefined | undefined;
|
|
43
47
|
property?: string | undefined | undefined;
|
|
48
|
+
rel?: string | undefined | undefined;
|
|
44
49
|
resource?: string | undefined | undefined;
|
|
50
|
+
rev?: string | undefined | undefined;
|
|
45
51
|
typeof?: string | undefined | undefined;
|
|
46
52
|
vocab?: string | undefined | undefined;
|
|
47
|
-
autoCapitalize?: string | undefined | undefined;
|
|
48
53
|
autoCorrect?: string | undefined | undefined;
|
|
49
54
|
autoSave?: string | undefined | undefined;
|
|
50
55
|
color?: string | undefined | undefined;
|
|
@@ -58,57 +63,64 @@ export declare const withDefaultGetters: (props: CheckboxGroupProps) => {
|
|
|
58
63
|
unselectable?: "on" | "off" | undefined | undefined;
|
|
59
64
|
inputMode?: "none" | "text" | "tel" | "url" | "email" | "numeric" | "decimal" | "search" | undefined | undefined;
|
|
60
65
|
is?: string | undefined | undefined;
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
66
|
+
exportparts?: string | undefined | undefined;
|
|
67
|
+
part?: string | undefined | undefined;
|
|
68
|
+
"aria-activedescendant"?: string | undefined | undefined;
|
|
69
|
+
"aria-atomic"?: (boolean | "true" | "false") | undefined;
|
|
70
|
+
"aria-autocomplete"?: "none" | "inline" | "list" | "both" | undefined | undefined;
|
|
71
|
+
"aria-braillelabel"?: string | undefined | undefined;
|
|
72
|
+
"aria-brailleroledescription"?: string | undefined | undefined;
|
|
73
|
+
"aria-busy"?: (boolean | "true" | "false") | undefined;
|
|
74
|
+
"aria-checked"?: boolean | "false" | "mixed" | "true" | undefined | undefined;
|
|
75
|
+
"aria-colcount"?: number | undefined | undefined;
|
|
76
|
+
"aria-colindex"?: number | undefined | undefined;
|
|
77
|
+
"aria-colindextext"?: string | undefined | undefined;
|
|
78
|
+
"aria-colspan"?: number | undefined | undefined;
|
|
79
|
+
"aria-controls"?: string | undefined | undefined;
|
|
80
|
+
"aria-current"?: boolean | "false" | "true" | "page" | "step" | "location" | "date" | "time" | undefined | undefined;
|
|
81
|
+
"aria-describedby"?: string | undefined | undefined;
|
|
82
|
+
"aria-description"?: string | undefined | undefined;
|
|
83
|
+
"aria-details"?: string | undefined | undefined;
|
|
84
|
+
"aria-disabled"?: (boolean | "true" | "false") | undefined;
|
|
85
|
+
"aria-dropeffect"?: "none" | "copy" | "execute" | "link" | "move" | "popup" | undefined | undefined;
|
|
86
|
+
"aria-errormessage"?: string | undefined | undefined;
|
|
87
|
+
"aria-expanded"?: (boolean | "true" | "false") | undefined;
|
|
88
|
+
"aria-flowto"?: string | undefined | undefined;
|
|
89
|
+
"aria-grabbed"?: (boolean | "true" | "false") | undefined;
|
|
90
|
+
"aria-haspopup"?: boolean | "false" | "true" | "menu" | "listbox" | "tree" | "grid" | "dialog" | undefined | undefined;
|
|
91
|
+
"aria-hidden"?: (boolean | "true" | "false") | undefined;
|
|
92
|
+
"aria-invalid"?: boolean | "false" | "true" | "grammar" | "spelling" | undefined | undefined;
|
|
93
|
+
"aria-keyshortcuts"?: string | undefined | undefined;
|
|
94
|
+
"aria-label"?: string | undefined | undefined;
|
|
95
|
+
"aria-labelledby"?: string | undefined | undefined;
|
|
96
|
+
"aria-level"?: number | undefined | undefined;
|
|
97
|
+
"aria-live"?: "off" | "assertive" | "polite" | undefined | undefined;
|
|
98
|
+
"aria-modal"?: (boolean | "true" | "false") | undefined;
|
|
99
|
+
"aria-multiline"?: (boolean | "true" | "false") | undefined;
|
|
100
|
+
"aria-multiselectable"?: (boolean | "true" | "false") | undefined;
|
|
101
|
+
"aria-orientation"?: "horizontal" | "vertical" | undefined | undefined;
|
|
102
|
+
"aria-owns"?: string | undefined | undefined;
|
|
103
|
+
"aria-placeholder"?: string | undefined | undefined;
|
|
104
|
+
"aria-posinset"?: number | undefined | undefined;
|
|
105
|
+
"aria-pressed"?: boolean | "false" | "mixed" | "true" | undefined | undefined;
|
|
106
|
+
"aria-readonly"?: (boolean | "true" | "false") | undefined;
|
|
107
|
+
"aria-relevant"?: "additions" | "additions removals" | "additions text" | "all" | "removals" | "removals additions" | "removals text" | "text" | "text additions" | "text removals" | undefined | undefined;
|
|
108
|
+
"aria-required"?: (boolean | "true" | "false") | undefined;
|
|
109
|
+
"aria-roledescription"?: string | undefined | undefined;
|
|
110
|
+
"aria-rowcount"?: number | undefined | undefined;
|
|
111
|
+
"aria-rowindex"?: number | undefined | undefined;
|
|
112
|
+
"aria-rowindextext"?: string | undefined | undefined;
|
|
113
|
+
"aria-rowspan"?: number | undefined | undefined;
|
|
114
|
+
"aria-selected"?: (boolean | "true" | "false") | undefined;
|
|
115
|
+
"aria-setsize"?: number | undefined | undefined;
|
|
116
|
+
"aria-sort"?: "none" | "ascending" | "descending" | "other" | undefined | undefined;
|
|
117
|
+
"aria-valuemax"?: number | undefined | undefined;
|
|
118
|
+
"aria-valuemin"?: number | undefined | undefined;
|
|
119
|
+
"aria-valuenow"?: number | undefined | undefined;
|
|
120
|
+
"aria-valuetext"?: string | undefined | undefined;
|
|
109
121
|
children?: import("react").ReactNode;
|
|
110
122
|
dangerouslySetInnerHTML?: {
|
|
111
|
-
__html: string;
|
|
123
|
+
__html: string | TrustedHTML;
|
|
112
124
|
} | undefined | undefined;
|
|
113
125
|
onCopy?: import("react").ClipboardEventHandler<HTMLDivElement> | undefined;
|
|
114
126
|
onCopyCapture?: import("react").ClipboardEventHandler<HTMLDivElement> | undefined;
|
|
@@ -127,7 +139,7 @@ export declare const withDefaultGetters: (props: CheckboxGroupProps) => {
|
|
|
127
139
|
onBlur?: import("react").FocusEventHandler<HTMLDivElement> | undefined;
|
|
128
140
|
onBlurCapture?: import("react").FocusEventHandler<HTMLDivElement> | undefined;
|
|
129
141
|
onChangeCapture?: import("react").FormEventHandler<HTMLDivElement> | undefined;
|
|
130
|
-
onBeforeInput?: import("react").
|
|
142
|
+
onBeforeInput?: import("react").InputEventHandler<HTMLDivElement> | undefined;
|
|
131
143
|
onBeforeInputCapture?: import("react").FormEventHandler<HTMLDivElement> | undefined;
|
|
132
144
|
onInput?: import("react").FormEventHandler<HTMLDivElement> | undefined;
|
|
133
145
|
onInputCapture?: import("react").FormEventHandler<HTMLDivElement> | undefined;
|
|
@@ -246,9 +258,7 @@ export declare const withDefaultGetters: (props: CheckboxGroupProps) => {
|
|
|
246
258
|
onPointerCancel?: import("react").PointerEventHandler<HTMLDivElement> | undefined;
|
|
247
259
|
onPointerCancelCapture?: import("react").PointerEventHandler<HTMLDivElement> | undefined;
|
|
248
260
|
onPointerEnter?: import("react").PointerEventHandler<HTMLDivElement> | undefined;
|
|
249
|
-
onPointerEnterCapture?: import("react").PointerEventHandler<HTMLDivElement> | undefined;
|
|
250
261
|
onPointerLeave?: import("react").PointerEventHandler<HTMLDivElement> | undefined;
|
|
251
|
-
onPointerLeaveCapture?: import("react").PointerEventHandler<HTMLDivElement> | undefined;
|
|
252
262
|
onPointerOver?: import("react").PointerEventHandler<HTMLDivElement> | undefined;
|
|
253
263
|
onPointerOverCapture?: import("react").PointerEventHandler<HTMLDivElement> | undefined;
|
|
254
264
|
onPointerOut?: import("react").PointerEventHandler<HTMLDivElement> | undefined;
|
|
@@ -269,6 +279,6 @@ export declare const withDefaultGetters: (props: CheckboxGroupProps) => {
|
|
|
269
279
|
onAnimationIterationCapture?: import("react").AnimationEventHandler<HTMLDivElement> | undefined;
|
|
270
280
|
onTransitionEnd?: import("react").TransitionEventHandler<HTMLDivElement> | undefined;
|
|
271
281
|
onTransitionEndCapture?: import("react").TransitionEventHandler<HTMLDivElement> | undefined;
|
|
272
|
-
ref?: import("react").
|
|
282
|
+
ref?: import("react").LegacyRef<HTMLDivElement> | undefined;
|
|
273
283
|
key?: import("react").Key | null | undefined;
|
|
274
284
|
};
|
|
@@ -49,5 +49,5 @@ export type CheckboxGroupProps<ITEM = CheckboxGroupDefaultItem> = PropsWithHTMLA
|
|
|
49
49
|
} ? {} : {
|
|
50
50
|
getItemLabel: CheckboxGroupPropGetItemLabel<ITEM>;
|
|
51
51
|
});
|
|
52
|
-
export type CheckboxGroupComponent = <ITEM = CheckboxGroupDefaultItem>(props: CheckboxGroupProps<ITEM>) => React.
|
|
52
|
+
export type CheckboxGroupComponent = <ITEM = CheckboxGroupDefaultItem>(props: CheckboxGroupProps<ITEM>) => React.ReactNode | null;
|
|
53
53
|
export {};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types.js","names":["checkboxGroupPropDirections","checkboxGroupDefaultDirection","checkboxGroupPropSizes","checkboxGroupDefaultSize","checkboxGroupPropViews","checkboxGroupDefaultView","checkboxGroupPropAlign","checkboxGroupDefaultAlign"],"sources":["../../../../../src/components/CheckboxGroup/types.ts"],"sourcesContent":["import React from 'react';\n\nimport { PropsWithHTMLAttributesAndRef } from '##/utils/types/PropsWithHTMLAttributes';\n\ntype CheckboxGroupPropAttributes = Omit<\n JSX.IntrinsicElements['label'],\n 'ref' | 'onChange' | 'onFocus' | 'children' | 'onBlur'\n>;\n\nexport type CheckboxGroupDefaultItem = {\n key?: string | number;\n label: string;\n disabled?: boolean;\n attributes?: CheckboxGroupPropAttributes;\n ref?: React.RefObject<HTMLLabelElement>;\n};\n\nexport const checkboxGroupPropDirections = ['column', 'row'] as const;\nexport type CheckboxGroupPropDirection =\n typeof checkboxGroupPropDirections[number];\nexport const checkboxGroupDefaultDirection: CheckboxGroupPropDirection =\n checkboxGroupPropDirections[0];\n\nexport const checkboxGroupPropSizes = ['m', 'xs', 's', 'l'] as const;\nexport type CheckboxGroupPropSize = typeof checkboxGroupPropSizes[number];\nexport const checkboxGroupDefaultSize: CheckboxGroupPropSize =\n checkboxGroupPropSizes[0];\n\nexport const checkboxGroupPropViews = ['primary', 'ghost'] as const;\nexport type CheckboxGroupPropView = typeof checkboxGroupPropViews[number];\nexport const checkboxGroupDefaultView: CheckboxGroupPropView =\n checkboxGroupPropViews[0];\n\nexport const checkboxGroupPropAlign = ['center', 'top'] as const;\nexport type CheckboxGroupPropAlign = typeof checkboxGroupPropAlign[number];\nexport const checkboxGroupDefaultAlign: CheckboxGroupPropAlign =\n checkboxGroupPropAlign[0];\n\nexport type CheckboxGroupPropGetItemKey<ITEM> = (\n item: ITEM,\n) => string | number | undefined;\nexport type CheckboxGroupPropGetItemLabel<ITEM> = (item: ITEM) => string;\nexport type CheckboxGroupPropGetItemDisabled<ITEM> = (\n item: ITEM,\n) => boolean | undefined;\nexport type CheckboxGroupPropGetItemAttributes<ITEM> = (\n item: ITEM,\n) => CheckboxGroupPropAttributes | undefined;\nexport type CheckboxGroupPropGetItemRef<ITEM> = (\n item: ITEM,\n) => React.RefObject<HTMLLabelElement> | undefined;\n\nexport type CheckboxGroupPropOnChange<ITEM> = (\n value: ITEM[] | null,\n props: {\n e: React.ChangeEvent<HTMLInputElement>;\n },\n) => void;\n\nexport type CheckboxGroupProps<ITEM = CheckboxGroupDefaultItem> =\n PropsWithHTMLAttributesAndRef<\n {\n value?: ITEM[] | null;\n items: ITEM[];\n getItemKey?: CheckboxGroupPropGetItemKey<ITEM>;\n getItemLabel?: CheckboxGroupPropGetItemLabel<ITEM>;\n getItemDisabled?: CheckboxGroupPropGetItemDisabled<ITEM>;\n getItemAttributes?: CheckboxGroupPropGetItemAttributes<ITEM>;\n getItemRef?: CheckboxGroupPropGetItemRef<ITEM>;\n onChange?: CheckboxGroupPropOnChange<ITEM>;\n name?: string;\n direction?: CheckboxGroupPropDirection;\n align?: CheckboxGroupPropAlign;\n size?: CheckboxGroupPropSize;\n view?: CheckboxGroupPropView;\n disabled?: boolean;\n className?: string;\n },\n HTMLDivElement\n > &\n (ITEM extends { label: CheckboxGroupDefaultItem['label'] }\n ? {}\n : {\n getItemLabel: CheckboxGroupPropGetItemLabel<ITEM>;\n });\n\nexport type CheckboxGroupComponent = <ITEM = CheckboxGroupDefaultItem>(\n props: CheckboxGroupProps<ITEM>,\n) => React.
|
|
1
|
+
{"version":3,"file":"types.js","names":["checkboxGroupPropDirections","checkboxGroupDefaultDirection","checkboxGroupPropSizes","checkboxGroupDefaultSize","checkboxGroupPropViews","checkboxGroupDefaultView","checkboxGroupPropAlign","checkboxGroupDefaultAlign"],"sources":["../../../../../src/components/CheckboxGroup/types.ts"],"sourcesContent":["import React from 'react';\n\nimport { PropsWithHTMLAttributesAndRef } from '##/utils/types/PropsWithHTMLAttributes';\n\ntype CheckboxGroupPropAttributes = Omit<\n JSX.IntrinsicElements['label'],\n 'ref' | 'onChange' | 'onFocus' | 'children' | 'onBlur'\n>;\n\nexport type CheckboxGroupDefaultItem = {\n key?: string | number;\n label: string;\n disabled?: boolean;\n attributes?: CheckboxGroupPropAttributes;\n ref?: React.RefObject<HTMLLabelElement>;\n};\n\nexport const checkboxGroupPropDirections = ['column', 'row'] as const;\nexport type CheckboxGroupPropDirection =\n typeof checkboxGroupPropDirections[number];\nexport const checkboxGroupDefaultDirection: CheckboxGroupPropDirection =\n checkboxGroupPropDirections[0];\n\nexport const checkboxGroupPropSizes = ['m', 'xs', 's', 'l'] as const;\nexport type CheckboxGroupPropSize = typeof checkboxGroupPropSizes[number];\nexport const checkboxGroupDefaultSize: CheckboxGroupPropSize =\n checkboxGroupPropSizes[0];\n\nexport const checkboxGroupPropViews = ['primary', 'ghost'] as const;\nexport type CheckboxGroupPropView = typeof checkboxGroupPropViews[number];\nexport const checkboxGroupDefaultView: CheckboxGroupPropView =\n checkboxGroupPropViews[0];\n\nexport const checkboxGroupPropAlign = ['center', 'top'] as const;\nexport type CheckboxGroupPropAlign = typeof checkboxGroupPropAlign[number];\nexport const checkboxGroupDefaultAlign: CheckboxGroupPropAlign =\n checkboxGroupPropAlign[0];\n\nexport type CheckboxGroupPropGetItemKey<ITEM> = (\n item: ITEM,\n) => string | number | undefined;\nexport type CheckboxGroupPropGetItemLabel<ITEM> = (item: ITEM) => string;\nexport type CheckboxGroupPropGetItemDisabled<ITEM> = (\n item: ITEM,\n) => boolean | undefined;\nexport type CheckboxGroupPropGetItemAttributes<ITEM> = (\n item: ITEM,\n) => CheckboxGroupPropAttributes | undefined;\nexport type CheckboxGroupPropGetItemRef<ITEM> = (\n item: ITEM,\n) => React.RefObject<HTMLLabelElement> | undefined;\n\nexport type CheckboxGroupPropOnChange<ITEM> = (\n value: ITEM[] | null,\n props: {\n e: React.ChangeEvent<HTMLInputElement>;\n },\n) => void;\n\nexport type CheckboxGroupProps<ITEM = CheckboxGroupDefaultItem> =\n PropsWithHTMLAttributesAndRef<\n {\n value?: ITEM[] | null;\n items: ITEM[];\n getItemKey?: CheckboxGroupPropGetItemKey<ITEM>;\n getItemLabel?: CheckboxGroupPropGetItemLabel<ITEM>;\n getItemDisabled?: CheckboxGroupPropGetItemDisabled<ITEM>;\n getItemAttributes?: CheckboxGroupPropGetItemAttributes<ITEM>;\n getItemRef?: CheckboxGroupPropGetItemRef<ITEM>;\n onChange?: CheckboxGroupPropOnChange<ITEM>;\n name?: string;\n direction?: CheckboxGroupPropDirection;\n align?: CheckboxGroupPropAlign;\n size?: CheckboxGroupPropSize;\n view?: CheckboxGroupPropView;\n disabled?: boolean;\n className?: string;\n },\n HTMLDivElement\n > &\n (ITEM extends { label: CheckboxGroupDefaultItem['label'] }\n ? {}\n : {\n getItemLabel: CheckboxGroupPropGetItemLabel<ITEM>;\n });\n\nexport type CheckboxGroupComponent = <ITEM = CheckboxGroupDefaultItem>(\n props: CheckboxGroupProps<ITEM>,\n) => React.ReactNode | null;\n"],"mappings":"AAiBA,MAAO,IAAMA,4BAA2B,CAAG,CAAC,QAAD,CAAW,KAAX,CAApC,CAGP,MAAO,IAAMC,8BAAyD,CACpED,2BAA2B,CAAC,CAAD,CADtB,CAGP,MAAO,IAAME,uBAAsB,CAAG,CAAC,GAAD,CAAM,IAAN,CAAY,GAAZ,CAAiB,GAAjB,CAA/B,CAEP,MAAO,IAAMC,yBAA+C,CAC1DD,sBAAsB,CAAC,CAAD,CADjB,CAGP,MAAO,IAAME,uBAAsB,CAAG,CAAC,SAAD,CAAY,OAAZ,CAA/B,CAEP,MAAO,IAAMC,yBAA+C,CAC1DD,sBAAsB,CAAC,CAAD,CADjB,CAGP,MAAO,IAAME,uBAAsB,CAAG,CAAC,QAAD,CAAW,KAAX,CAA/B,CAEP,MAAO,IAAMC,0BAAiD,CAC5DD,sBAAsB,CAAC,CAAD,CADjB"}
|