@moysklad/uikit 28.1.0 → 31.20.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/README.md +11 -3
- package/dist/colorVariables.css +33 -1
- package/dist/components/AutoComplete/AutoComplete.d.ts +4 -2
- package/dist/components/AutoComplete/AutoComplete.js +47 -33
- package/dist/components/Badge/Badge.js +2 -3
- package/dist/components/Badge/Badge_module.css +2 -3
- package/dist/components/BentoBlock/BentoBlock.d.ts +15 -0
- package/dist/components/BentoBlock/BentoBlock.js +20 -0
- package/dist/components/BentoBlock/BentoBlock.module.js +9 -0
- package/dist/components/BentoBlock/BentoBlock_module.css +50 -0
- package/dist/components/BentoBlock/consts.d.ts +14 -0
- package/dist/components/BentoBlock/consts.js +15 -0
- package/dist/components/BottomSheet/BottomSheet.js +2 -2
- package/dist/components/Breadcrumbs/BreadcrumbItem.d.ts +5 -3
- package/dist/components/Breadcrumbs/BreadcrumbItem.js +39 -8
- package/dist/components/Breadcrumbs/Breadcrumbs.d.ts +4 -1
- package/dist/components/Breadcrumbs/Breadcrumbs.js +10 -6
- package/dist/components/Button/Button.d.ts +6 -2
- package/dist/components/Button/Button.js +29 -20
- package/dist/components/Button/Button.module.js +1 -0
- package/dist/components/Button/Button_module.css +20 -14
- package/dist/components/Carousel/Carousel.js +5 -4
- package/dist/components/Checkbox/Checkbox.d.ts +1 -1
- package/dist/components/Checkbox/Checkbox.js +1 -1
- package/dist/components/Chip/Chip.helpers.js +5 -2
- package/dist/components/Chip/Chip.js +9 -3
- package/dist/components/Chip/Chip.legacy_module.css +2 -2
- package/dist/components/Chip/Chip.types.d.ts +10 -4
- package/dist/components/Chip/Chip_module.css +5 -5
- package/dist/components/Chip/components/ChipLabel.d.ts +3 -1
- package/dist/components/Chip/components/ChipLabel.js +4 -2
- package/dist/components/Chip/components/ChipMainButton.d.ts +3 -4
- package/dist/components/Chip/components/ChipMainButton.js +2 -1
- package/dist/components/Chip/components/ChipRoot.d.ts +3 -2
- package/dist/components/Chip/components/ChipRoot.js +2 -1
- package/dist/components/DateRange/ArrowButton/ArrowButton.module.js +6 -0
- package/dist/components/DateRange/ArrowButton/ArrowButton_module.css +26 -0
- package/dist/components/DateRange/ArrowButton/index.d.ts +8 -0
- package/dist/components/DateRange/ArrowButton/index.js +23 -0
- package/dist/components/DateRange/Calendar/index.d.ts +12 -0
- package/dist/components/DateRange/Calendar/index.js +22 -0
- package/dist/components/DateRange/DateRange.d.ts +6 -0
- package/dist/components/DateRange/DateRange.js +51 -0
- package/dist/components/DateRange/DateRangeDefaultTrigger/DateRangeDefaultTrigger.d.ts +44 -0
- package/dist/components/DateRange/DateRangeDefaultTrigger/DateRangeDefaultTrigger.js +128 -0
- package/dist/components/DateRange/DateRangeDefaultTrigger/DateRangeDefaultTrigger.module.js +19 -0
- package/dist/components/DateRange/DateRangeDefaultTrigger/DateRangeDefaultTrigger_module.css +170 -0
- package/dist/components/DateRange/DateRangeDefaultTrigger.module.js +12 -0
- package/dist/components/DateRange/DateRangeDefaultTrigger_module.css +43 -0
- package/dist/components/DateRange/DateRangeInput/DateRangeInput.d.ts +4 -0
- package/dist/components/DateRange/DateRangeInput/DateRangeInput.js +69 -0
- package/dist/components/DateRange/Day/Day.module.js +16 -0
- package/dist/components/DateRange/Day/Day_module.css +80 -0
- package/dist/components/DateRange/Day/index.d.ts +12 -0
- package/dist/components/DateRange/Day/index.js +39 -0
- package/dist/components/DateRange/DropdownContent/DropdownContent.module.js +10 -0
- package/dist/components/DateRange/DropdownContent/DropdownContent_module.css +34 -0
- package/dist/components/DateRange/DropdownContent/index.d.ts +24 -0
- package/dist/components/DateRange/DropdownContent/index.js +132 -0
- package/dist/components/DateRange/InputContent/InputContent.module.js +9 -0
- package/dist/components/DateRange/InputContent/InputContent_module.css +31 -0
- package/dist/components/DateRange/InputContent/index.d.ts +12 -0
- package/dist/components/DateRange/InputContent/index.js +59 -0
- package/dist/components/DateRange/Month/Month.module.js +7 -0
- package/dist/components/DateRange/Month/Month_module.css +17 -0
- package/dist/components/DateRange/Month/index.d.ts +15 -0
- package/dist/components/DateRange/Month/index.js +158 -0
- package/dist/components/DateRange/Month/utils.d.ts +2 -0
- package/dist/components/DateRange/Month/utils.js +8 -0
- package/dist/components/DateRange/MonthHeader/MonthHeader.module.js +5 -0
- package/dist/components/DateRange/MonthHeader/MonthHeader_module.css +10 -0
- package/dist/components/DateRange/MonthHeader/index.d.ts +5 -0
- package/dist/components/DateRange/MonthHeader/index.js +26 -0
- package/dist/components/DateRange/MonthList/MonthList.module.js +7 -0
- package/dist/components/DateRange/MonthList/MonthList_module.css +25 -0
- package/dist/components/DateRange/MonthList/index.d.ts +11 -0
- package/dist/components/DateRange/MonthList/index.js +91 -0
- package/dist/components/DateRange/PeriodVariantList/PeriodVariantList.module.js +9 -0
- package/dist/components/DateRange/PeriodVariantList/PeriodVariantList_module.css +18 -0
- package/dist/components/DateRange/PeriodVariantList/index.d.ts +18 -0
- package/dist/components/DateRange/PeriodVariantList/index.js +83 -0
- package/dist/components/DateRange/SideMenu/SideMenu.module.js +6 -0
- package/dist/components/DateRange/SideMenu/SideMenu_module.css +18 -0
- package/dist/components/DateRange/SideMenu/index.d.ts +13 -0
- package/dist/components/DateRange/SideMenu/index.js +73 -0
- package/dist/components/DateRange/TooltipedText/index.d.ts +8 -0
- package/dist/components/DateRange/TooltipedText/index.js +30 -0
- package/dist/components/DateRange/Year/Year.module.js +11 -0
- package/dist/components/DateRange/Year/Year_module.css +60 -0
- package/dist/components/DateRange/Year/index.d.ts +8 -0
- package/dist/components/DateRange/Year/index.js +47 -0
- package/dist/components/DateRange/YearsList/YearsList.module.js +5 -0
- package/dist/components/DateRange/YearsList/YearsList_module.css +15 -0
- package/dist/components/DateRange/YearsList/index.d.ts +12 -0
- package/dist/components/DateRange/YearsList/index.js +47 -0
- package/dist/components/DateRange/consts.d.ts +20 -0
- package/dist/components/DateRange/consts.js +81 -0
- package/dist/components/DateRange/formatDateRangeValue.d.ts +24 -0
- package/dist/components/DateRange/formatDateRangeValue.js +116 -0
- package/dist/components/DateRange/hooks/useCalendar.d.ts +13 -0
- package/dist/components/DateRange/hooks/useCalendar.js +88 -0
- package/dist/components/DateRange/hooks/useDateRange.d.ts +392 -0
- package/dist/components/DateRange/hooks/useDateRange.js +36 -0
- package/dist/components/DateRange/hooks/useDateRangeDropdown.d.ts +47 -0
- package/dist/components/DateRange/hooks/useDateRangeDropdown.js +117 -0
- package/dist/components/DateRange/hooks/useDateRangeValue.d.ts +56 -0
- package/dist/components/DateRange/hooks/useDateRangeValue.js +173 -0
- package/dist/components/DateRange/hooks/useMaskInput.d.ts +18 -0
- package/dist/components/DateRange/hooks/useMaskInput.js +169 -0
- package/dist/components/DateRange/hooks/useMonthList.d.ts +12 -0
- package/dist/components/DateRange/hooks/useMonthList.js +80 -0
- package/dist/components/DateRange/hooks/useSideMenu.d.ts +14 -0
- package/dist/components/DateRange/hooks/useSideMenu.js +113 -0
- package/dist/components/DateRange/index.d.ts +1 -0
- package/dist/components/DateRange/index.js +1 -0
- package/dist/components/DateRange/locale/en-US.d.ts +2 -0
- package/dist/components/DateRange/locale/en-US.js +82 -0
- package/dist/components/DateRange/locale/index.d.ts +4 -0
- package/dist/components/DateRange/locale/index.js +3 -0
- package/dist/components/DateRange/locale/ru-RU.d.ts +2 -0
- package/dist/components/DateRange/locale/ru-RU.js +82 -0
- package/dist/components/DateRange/locale/types.d.ts +9 -0
- package/dist/components/DateRange/locale/types.js +7 -0
- package/dist/components/DateRange/locale/useLocale.d.ts +8 -0
- package/dist/components/DateRange/locale/useLocale.js +31 -0
- package/dist/components/DateRange/props.d.ts +39 -0
- package/dist/components/DateRange/props.js +0 -0
- package/dist/components/DateRange/types.d.ts +126 -0
- package/dist/components/DateRange/types.js +13 -0
- package/dist/components/DateRange/utils.d.ts +33 -0
- package/dist/components/DateRange/utils.js +105 -0
- package/dist/components/Datepicker/Datepicker.d.ts +3 -1
- package/dist/components/Datepicker/Datepicker.js +4 -2
- package/dist/components/Dropdown/Dropdown.d.ts +2 -0
- package/dist/components/Dropdown/Dropdown.js +7 -4
- package/dist/components/Dropdown/hooks/usePosition.d.ts +2 -1
- package/dist/components/Dropdown/hooks/usePosition.js +3 -3
- package/dist/components/EditableDate/DropdownContent/DropdownContent.d.ts +9 -0
- package/dist/components/EditableDate/DropdownContent/DropdownContent.js +36 -0
- package/dist/components/EditableDate/EditableDate.d.ts +9 -0
- package/dist/components/EditableDate/EditableDate.js +142 -0
- package/dist/components/EditableDate/EditableDate.module.js +7 -0
- package/dist/components/EditableDate/EditableDate_module.css +32 -0
- package/dist/components/EditableTitle/EditableTitle.d.ts +7 -2
- package/dist/components/EditableTitle/EditableTitle.js +64 -32
- package/dist/components/EditableTitle/EditableTitle.module.js +1 -0
- package/dist/components/EditableTitle/EditableTitle_module.css +6 -0
- package/dist/components/EmptyState/EmptyState.d.ts +1 -1
- package/dist/components/EmptyStateLarge/EmptyStateLarge_module.css +2 -2
- package/dist/components/FileUploader/FileUploader.helpers.d.ts +1 -0
- package/dist/components/FileUploader/FileUploader.helpers.js +4 -1
- package/dist/components/FileUploader/FileUploader.js +3 -1
- package/dist/components/FileUploader/FileUploader.types.d.ts +1 -0
- package/dist/components/FileUploader/components/FileUploaderPreview/FileUploaderPreview.js +4 -4
- package/dist/components/Help/Help.d.ts +12 -5
- package/dist/components/Help/Help.js +22 -7
- package/dist/components/Help/Help.module.js +6 -2
- package/dist/components/Help/Help_module.css +36 -8
- package/dist/components/Hint/Hint.js +4 -5
- package/dist/components/Hint/Hint.module.js +2 -3
- package/dist/components/Hint/Hint_module.css +0 -9
- package/dist/components/Informer/Informer.d.ts +37 -0
- package/dist/components/Informer/Informer.js +36 -0
- package/dist/components/Informer/Informer.module.js +7 -0
- package/dist/components/Informer/Informer_module.css +24 -0
- package/dist/components/Input/Input.d.ts +10 -0
- package/dist/components/Input/Input.js +99 -43
- package/dist/components/Input/Input.module.js +19 -3
- package/dist/components/Input/Input_module.css +156 -19
- package/dist/components/Input/components/InfoBlock.d.ts +14 -0
- package/dist/components/Input/components/InfoBlock.js +32 -0
- package/dist/components/InputUnit/InputUnit.d.ts +3 -0
- package/dist/components/InputUnit/InputUnit.js +45 -35
- package/dist/components/InputUnit/InputUnit.module.js +6 -1
- package/dist/components/InputUnit/InputUnit_module.css +27 -29
- package/dist/components/InputUnit/SelectUnit/SelectUnit.d.ts +1 -1
- package/dist/components/InputUnit/SelectUnit/SelectUnit.js +1 -4
- package/dist/components/InputUnit/SelectUnit/SelectUnit.module.js +1 -0
- package/dist/components/InputUnit/SelectUnit/SelectUnitVisible.d.ts +1 -1
- package/dist/components/InputUnit/SelectUnit/SelectUnitVisible.js +7 -2
- package/dist/components/InputUnit/SelectUnit/SelectUnit_module.css +29 -37
- package/dist/components/InputUnit/SelectUnit/type.d.ts +1 -0
- package/dist/components/InputUnit/Unit/Unit.js +1 -2
- package/dist/components/InputUnit/Unit/Unit_module.css +1 -0
- package/dist/components/Label/Label.d.ts +1 -0
- package/dist/components/LabelValue/LabelValue.d.ts +14 -10
- package/dist/components/LabelValue/LabelValue.js +59 -72
- package/dist/components/LabelValue/LabelValue.module.js +7 -4
- package/dist/components/LabelValue/LabelValue_module.css +36 -19
- package/dist/components/LabelValue/ValueBlock/ValueBlock.d.ts +2 -0
- package/dist/components/LabelValue/ValueBlock/ValueBlock.js +82 -0
- package/dist/components/LabelValue/ValueBlockWrapper.d.ts +5 -0
- package/dist/components/LabelValue/ValueBlockWrapper.js +13 -0
- package/dist/components/LabelValue/ValueIcon.d.ts +4 -0
- package/dist/components/LabelValue/ValueIcon.js +9 -0
- package/dist/components/LabelValue/ValueText.d.ts +10 -0
- package/dist/components/LabelValue/ValueText.js +24 -0
- package/dist/components/LabelValue/ValueTextWithHint.d.ts +12 -0
- package/dist/components/LabelValue/ValueTextWithHint.js +29 -0
- package/dist/components/LabelValue/hooks/useValueBlock.d.ts +29 -0
- package/dist/components/LabelValue/hooks/useValueBlock.js +72 -0
- package/dist/components/LabelValue/{ValueBlock/index.d.ts → types.d.ts} +8 -4
- package/dist/components/LabelValue/types.js +0 -0
- package/dist/components/LabelValueCheckbox/LabelValueCheckbox.d.ts +10 -0
- package/dist/components/LabelValueCheckbox/LabelValueCheckbox.js +22 -0
- package/dist/components/LabelValueCheckbox/LabelValueCheckbox.module.js +5 -0
- package/dist/components/LabelValueCheckbox/LabelValueCheckbox_module.css +5 -0
- package/dist/components/LabelValueDate/LabelValueDate.js +2 -2
- package/dist/components/LabelValueFile/DeleteButton/DeleteButton.d.ts +9 -0
- package/dist/components/LabelValueFile/DeleteButton/DeleteButton.js +17 -0
- package/dist/components/LabelValueFile/FilePreviewIcon/FilePreviewIcon.d.ts +7 -0
- package/dist/components/LabelValueFile/FilePreviewIcon/FilePreviewIcon.js +15 -0
- package/dist/components/LabelValueFile/FilePreviewIcon/FilePreviewIcon.module.js +6 -0
- package/dist/components/LabelValueFile/FilePreviewIcon/FilePreviewIcon_module.css +10 -0
- package/dist/components/LabelValueFile/ImagePreview/ImagePreview.d.ts +8 -0
- package/dist/components/LabelValueFile/ImagePreview/ImagePreview.js +53 -0
- package/dist/components/LabelValueFile/ImagePreview/ImagePreview.module.js +6 -0
- package/dist/components/LabelValueFile/ImagePreview/ImagePreview_module.css +13 -0
- package/dist/components/LabelValueFile/LabelValueFile.d.ts +7 -0
- package/dist/components/LabelValueFile/LabelValueFile.js +42 -0
- package/dist/components/LabelValueFile/LabelValueFile.module.js +12 -0
- package/dist/components/LabelValueFile/LabelValueFile_module.css +57 -0
- package/dist/components/LabelValueFile/ValueBlock/ValueBlock.d.ts +15 -0
- package/dist/components/LabelValueFile/ValueBlock/ValueBlock.js +130 -0
- package/dist/components/LabelValueFile/ValueBlock/ValueBlock.module.js +7 -0
- package/dist/components/LabelValueFile/ValueBlock/ValueBlock_module.css +17 -0
- package/dist/components/LabelValueInput/DropdownConnent/DropdownContent.d.ts +2 -0
- package/dist/components/LabelValueInput/DropdownConnent/DropdownContent.js +2 -0
- package/dist/components/LabelValueLink/LabelValueLink.d.ts +2 -0
- package/dist/components/LabelValueLink/LabelValueLink.js +76 -0
- package/dist/components/LabelValueLink/LabelValueLink.module.js +6 -0
- package/dist/components/LabelValueLink/LabelValueLink_module.css +11 -0
- package/dist/components/LabelValueLink/ValueBlock/LabelValueLinkValueBlock.d.ts +2 -0
- package/dist/components/LabelValueLink/ValueBlock/LabelValueLinkValueBlock.js +117 -0
- package/dist/components/LabelValueLink/ValueBlock/LabelValueLinkValueBlock.module.js +6 -0
- package/dist/components/LabelValueLink/ValueBlock/LabelValueLinkValueBlock_module.css +8 -0
- package/dist/components/LabelValueLink/normalizeLinkValue.d.ts +1 -0
- package/dist/components/LabelValueLink/normalizeLinkValue.js +10 -0
- package/dist/components/LabelValueLink/useLinkDropdownValue.d.ts +15 -0
- package/dist/components/LabelValueLink/useLinkDropdownValue.js +26 -0
- package/dist/components/LabelValueSelect/Input/Input_module.css +1 -3
- package/dist/components/LabelValueSelect/Input/index.js +1 -1
- package/dist/components/LabelValueSelect/LabelValueSelect.d.ts +4 -2
- package/dist/components/Layout/Layout.d.ts +13 -0
- package/dist/components/Layout/Layout.js +41 -0
- package/dist/components/Layout/Layout.module.js +15 -0
- package/dist/components/Layout/Layout_module.css +77 -0
- package/dist/components/Link/Link.d.ts +5 -6
- package/dist/components/Link/Link.js +35 -9
- package/dist/components/Link/Link.module.js +1 -0
- package/dist/components/Link/Link_module.css +9 -0
- package/dist/components/MentionsTextfield/Mentions/style.css +2 -6
- package/dist/components/MentionsTextfield/MentionsTextfield.d.ts +1 -1
- package/dist/components/MentionsTextfield/MentionsTextfield.js +42 -25
- package/dist/components/Multiselect/AllSelectedChip/AllSelectedChip.d.ts +8 -0
- package/dist/components/Multiselect/AllSelectedChip/AllSelectedChip.js +13 -0
- package/dist/components/Multiselect/AllSelectedChip/AllSelectedChip.module.js +5 -0
- package/dist/components/Multiselect/AllSelectedChip/AllSelectedChip_module.css +9 -0
- package/dist/components/Multiselect/DropdownContent/MultiselectDropdownContent.d.ts +12 -1
- package/dist/components/Multiselect/DropdownContent/MultiselectDropdownContent.js +25 -19
- package/dist/components/Multiselect/Input/Input.d.ts +6 -2
- package/dist/components/Multiselect/Input/Input.js +18 -4
- package/dist/components/Multiselect/Input/Input_module.css +1 -3
- package/dist/components/Multiselect/Multiselect.d.ts +8 -2
- package/dist/components/Multiselect/Multiselect.js +14 -2
- package/dist/components/Multiselect/ShortDropdownContent/ShortDropdownContent.js +2 -1
- package/dist/components/Multiselect/TextField/MultiselectTextField.d.ts +5 -1
- package/dist/components/Multiselect/TextField/MultiselectTextField.js +15 -2
- package/dist/components/Multiselect/lib/consts.d.ts +1 -1
- package/dist/components/Multiselect/lib/consts.js +1 -1
- package/dist/components/Multiselect/lib/helpers.d.ts +24 -0
- package/dist/components/Multiselect/lib/helpers.js +15 -0
- package/dist/components/Multiselect/types.d.ts +2 -0
- package/dist/components/Panel/Panel.d.ts +34 -0
- package/dist/components/Panel/Panel.js +39 -0
- package/dist/components/Panel/Panel.module.js +6 -0
- package/dist/components/Panel/Panel_module.css +17 -0
- package/dist/components/Radiobutton/Radiobutton.js +1 -1
- package/dist/components/Radiobutton/Radiobutton_module.css +5 -0
- package/dist/components/SearchInput/SearchInput_module.css +1 -1
- package/dist/components/Select/ArchivedInputValue/ArchivedInputValue.d.ts +3 -4
- package/dist/components/Select/ArchivedInputValue/ArchivedInputValue.js +19 -24
- package/dist/components/Select/ArchivedInputValue/ArchivedInputValue.module.js +1 -2
- package/dist/components/Select/ArchivedInputValue/ArchivedInputValue_module.css +5 -12
- package/dist/components/Select/Combobox/Combobox.d.ts +3 -1
- package/dist/components/Select/Combobox/Combobox.js +19 -8
- package/dist/components/Select/Combobox/Combobox.module.js +4 -3
- package/dist/components/Select/Combobox/Combobox_module.css +17 -15
- package/dist/components/Select/DropDownWithColors/DropDownWithColors.d.ts +1 -0
- package/dist/components/Select/DropDownWithColors/DropDownWithColors.js +2 -1
- package/dist/components/Select/DropdownActionsContainer/DropdownActionsContainer.d.ts +3 -0
- package/dist/components/Select/DropdownActionsContainer/DropdownActionsContainer.js +17 -0
- package/dist/components/Select/DropdownActionsContainer/DropdownActionsContainer.module.js +6 -0
- package/dist/components/Select/DropdownActionsContainer/DropdownActionsContainer_module.css +12 -0
- package/dist/components/Select/OptionsList/OptionsList.d.ts +4 -1
- package/dist/components/Select/OptionsList/OptionsList.js +39 -22
- package/dist/components/Select/OptionsList/OptionsList.module.js +2 -0
- package/dist/components/Select/OptionsList/OptionsList_module.css +19 -0
- package/dist/components/Select/Select.d.ts +10 -5
- package/dist/components/Select/Select.js +45 -40
- package/dist/components/Select/Select.module.js +1 -2
- package/dist/components/Select/Select_module.css +7 -14
- package/dist/components/Select/ShortVariant/ShortVariant.d.ts +5 -1
- package/dist/components/Select/ShortVariant/ShortVariant.js +6 -5
- package/dist/components/Select/ShortVariant/ShortVariant.module.js +1 -0
- package/dist/components/Select/ShortVariant/ShortVariant_module.css +5 -1
- package/dist/components/Select/types.d.ts +1 -0
- package/dist/components/Select/useDropdownPadding.d.ts +5 -0
- package/dist/components/Select/useDropdownPadding.js +22 -0
- package/dist/components/StatusBadge/StatusBadge.d.ts +28 -0
- package/dist/components/StatusBadge/StatusBadge.js +167 -0
- package/dist/components/StatusBadge/StatusBadge.module.js +37 -0
- package/dist/components/StatusBadge/StatusBadge_module.css +149 -0
- package/dist/components/StatusBadge/utils/StatusBadgeColor.d.ts +21 -0
- package/dist/components/StatusBadge/utils/StatusBadgeColor.js +20 -0
- package/dist/components/StatusBadge/utils/getStatusBadgeColor.d.ts +2 -0
- package/dist/components/StatusBadge/utils/getStatusBadgeColor.js +8 -0
- package/dist/components/Textfield/Textfield.d.ts +24 -3
- package/dist/components/Textfield/Textfield.js +38 -13
- package/dist/components/Textfield/Textfield.module.js +2 -1
- package/dist/components/Textfield/Textfield_module.css +95 -23
- package/dist/components/Textfield/components/ActionButton/ActionButton.d.ts +9 -0
- package/dist/components/Textfield/components/ActionButton/ActionButton.js +12 -0
- package/dist/components/Textfield/components/ActionButton/ActionButton.module.js +9 -0
- package/dist/components/Textfield/components/ActionButton/ActionButton_module.css +54 -0
- package/dist/components/Textfield/components/ActionButton/index.d.ts +1 -0
- package/dist/components/Textfield/components/ActionButton/index.js +1 -0
- package/dist/components/Textfield/components/Container/Container.d.ts +2 -0
- package/dist/components/Textfield/components/Container/Container.js +21 -7
- package/dist/components/Textfield/components/Container/Container.module.js +2 -1
- package/dist/components/Textfield/components/Container/Container_module.css +4 -0
- package/dist/components/Textfield/components/Counter/Counter.d.ts +3 -1
- package/dist/components/Textfield/components/Counter/Counter.js +5 -3
- package/dist/components/Textfield/components/Info/Info.d.ts +3 -1
- package/dist/components/Textfield/components/Info/Info.js +9 -4
- package/dist/components/Textfield/components/InnerContainer/InnerContainer.d.ts +3 -6
- package/dist/components/Textfield/components/InnerContainer/InnerContainer.js +2 -8
- package/dist/components/Textfield/components/InputContainer/InputContainer.d.ts +14 -3
- package/dist/components/Textfield/components/InputContainer/InputContainer.js +74 -5
- package/dist/components/Textfield/components/InputContainer/InputContainer.module.js +7 -1
- package/dist/components/Textfield/components/InputContainer/InputContainer_module.css +36 -7
- package/dist/components/Textfield/components/ResizeHandle/ResizeHandle.d.ts +10 -0
- package/dist/components/Textfield/components/ResizeHandle/ResizeHandle.js +50 -0
- package/dist/components/Textfield/components/ResizeHandle/ResizeHandle.module.js +7 -0
- package/dist/components/Textfield/components/ResizeHandle/ResizeHandle_module.css +21 -0
- package/dist/components/Textfield/components/ResizeHandle/index.d.ts +1 -0
- package/dist/components/Textfield/components/ResizeHandle/index.js +1 -0
- package/dist/components/Textfield/consts/index.d.ts +2 -0
- package/dist/components/Textfield/consts/index.js +3 -0
- package/dist/components/Textfield/types/index.d.ts +12 -0
- package/dist/components/Textfield/types/index.js +5 -0
- package/dist/components/Textfield/utils/index.d.ts +3 -0
- package/dist/components/Textfield/utils/index.js +8 -0
- package/dist/components/Toggle/Toggle.js +1 -1
- package/dist/components/Tooltip/Tooltip.d.ts +4 -1
- package/dist/components/Tooltip/Tooltip.js +9 -9
- package/dist/components/Tooltip/Tooltip.module.js +3 -1
- package/dist/components/Tooltip/Tooltip_module.css +13 -3
- package/dist/components/Tooltip/{consts.d.ts → constants/ArrowAlign.d.ts} +0 -2
- package/dist/components/Tooltip/constants/TooltipBodyColor.d.ts +4 -0
- package/dist/components/Tooltip/constants/TooltipBodyColor.js +5 -0
- package/dist/components/Tooltip/constants/index.d.ts +2 -0
- package/dist/components/Tooltip/constants/index.js +2 -0
- package/dist/components/Tooltip/hooks.d.ts +2 -2
- package/dist/components/Tooltip/hooks.js +1 -1
- package/dist/components/Tooltip/types.d.ts +4 -0
- package/dist/components/Tooltip/types.js +0 -0
- package/dist/components/ViewersStack/ViewersStack.d.ts +13 -0
- package/dist/components/ViewersStack/ViewersStack.js +79 -0
- package/dist/components/ViewersStack/ViewersStack.module.js +7 -0
- package/dist/components/ViewersStack/ViewersStack_module.css +18 -0
- package/dist/components/ViewersStack/components/Avatar/Avatar.d.ts +13 -0
- package/dist/components/ViewersStack/components/Avatar/Avatar.js +35 -0
- package/dist/components/ViewersStack/components/Avatar/Avatar.module.js +13 -0
- package/dist/components/ViewersStack/components/Avatar/Avatar_module.css +45 -0
- package/dist/components/ViewersStack/components/Counter/Counter.d.ts +9 -0
- package/dist/components/ViewersStack/components/Counter/Counter.js +27 -0
- package/dist/components/ViewersStack/components/Counter/Counter.module.js +5 -0
- package/dist/components/ViewersStack/components/Counter/Counter_module.css +20 -0
- package/dist/components/ViewersStack/components/ViewersTooltip/ViewersTooltip.d.ts +15 -0
- package/dist/components/ViewersStack/components/ViewersTooltip/ViewersTooltip.js +41 -0
- package/dist/components/ViewersStack/components/ViewersTooltip/ViewersTooltip.module.js +6 -0
- package/dist/components/ViewersStack/components/ViewersTooltip/ViewersTooltip_module.css +14 -0
- package/dist/components/ViewersStack/components/ViewersTooltipOverlayItem/ViewersTooltipOverlayItem.d.ts +6 -0
- package/dist/components/ViewersStack/components/ViewersTooltipOverlayItem/ViewersTooltipOverlayItem.js +53 -0
- package/dist/components/ViewersStack/components/ViewersTooltipOverlayItem/ViewersTooltipOverlayItem.module.js +7 -0
- package/dist/components/ViewersStack/components/ViewersTooltipOverlayItem/ViewersTooltipOverlayItem_module.css +18 -0
- package/dist/components/ViewersStack/components/common.module.js +7 -0
- package/dist/components/ViewersStack/components/common_module.css +27 -0
- package/dist/components/ViewersStack/types.d.ts +22 -0
- package/dist/components/ViewersStack/types.js +17 -0
- package/dist/components/ViewersStack/utils.d.ts +3 -0
- package/dist/components/ViewersStack/utils.js +17 -0
- package/dist/components/_shared/CustomDatepickerDropdownContent/CustomDatepickerDropdownContent.d.ts +12 -0
- package/dist/components/{LabelValueDate/DropdownContent/index.js → _shared/CustomDatepickerDropdownContent/CustomDatepickerDropdownContent.js} +10 -10
- package/dist/components/_shared/CustomDatepickerDropdownContent/CustomDatepickerDropdownContent.module.js +9 -0
- package/dist/components/{LabelValueDate/DropdownContent/DropdownContent_module.css → _shared/CustomDatepickerDropdownContent/CustomDatepickerDropdownContent_module.css} +6 -6
- package/dist/components/_shared/FieldLabel/FieldLabel.constants.d.ts +1 -0
- package/dist/components/_shared/FieldLabel/FieldLabel.constants.js +5 -0
- package/dist/components/_shared/FieldLabel/FieldLabel.d.ts +18 -0
- package/dist/components/_shared/FieldLabel/FieldLabel.js +83 -0
- package/dist/components/_shared/FieldLabel/FieldLabel.module.js +11 -0
- package/dist/components/_shared/FieldLabel/FieldLabel_module.css +42 -0
- package/dist/components/_shared/FieldLabel/components/HelpButton.d.ts +8 -0
- package/dist/components/_shared/FieldLabel/components/HelpButton.js +15 -0
- package/dist/components/_shared/FieldLabel/components/HelpButton.module.js +5 -0
- package/dist/components/_shared/FieldLabel/components/HelpButton_module.css +8 -0
- package/dist/components/_shared/FieldLabel/components/index.d.ts +1 -0
- package/dist/components/_shared/FieldLabel/components/index.js +1 -0
- package/dist/components/{FieldRow → _shared/FieldRow}/FieldRow.d.ts +1 -1
- package/dist/components/{FieldRow → _shared/FieldRow}/FieldRow.js +1 -1
- package/dist/components/{FieldRow → _shared/FieldRow}/FieldRow.module.js +3 -3
- package/dist/components/{FieldRow → _shared/FieldRow}/FieldRow_module.css +3 -3
- package/dist/components/{EditableTitle → _shared/HintWithSkip}/HintWithSkip.d.ts +1 -1
- package/dist/components/{EditableTitle → _shared/HintWithSkip}/HintWithSkip.js +1 -1
- package/dist/components/_shared/Info/Info.d.ts +12 -0
- package/dist/components/_shared/Info/Info.js +46 -0
- package/dist/components/_shared/Info/Info.module.js +9 -0
- package/dist/components/_shared/Info/Info_module.css +32 -0
- package/dist/components/_shared/Info/types/index.d.ts +6 -0
- package/dist/components/_shared/Info/types/index.js +5 -0
- package/dist/components/_shared/InputClear/InputClear.d.ts +14 -0
- package/dist/components/_shared/InputClear/InputClear.js +18 -0
- package/dist/components/{InputClear → _shared/InputClear}/InputClear.module.js +3 -1
- package/dist/components/_shared/InputClear/InputClear_module.css +34 -0
- package/dist/components/_shared/utils/polymorphicClickableTypes.d.ts +17 -0
- package/dist/components/_shared/utils/polymorphicClickableTypes.js +7 -0
- package/dist/data-grid/Filters/DateRangeFilter/DropdownContent/index.js +3 -3
- package/dist/data-grid/Filters/DateRangeFilter/InputContent/index.js +29 -26
- package/dist/data-grid/Filters/DateRangeFilter/PeriodVariantList/index.js +5 -3
- package/dist/data-grid/Filters/DateRangeFilter/Year/index.js +3 -3
- package/dist/data-grid/Filters/DateRangeFilter/consts.js +6 -6
- package/dist/data-grid/Filters/DateRangeFilter/hooks/useMaskInput.js +6 -6
- package/dist/data-grid/Filters/DateRangeFilter/hooks/useSideMenu.js +1 -4
- package/dist/data-grid/Filters/DateRangeFilter/types.d.ts +68 -56
- package/dist/data-grid/Filters/FiltersContainer/FiltersContainer.js +2 -1
- package/dist/data-grid/Filters/FiltersContainer/utils/useRenderParams.d.ts +1 -0
- package/dist/data-grid/Filters/FiltersContainer/utils/useRenderParams.js +14 -6
- package/dist/data-grid/Filters/MultiselectFilter/MultiselectFilter.js +2 -2
- package/dist/data-grid/Filters/OutlineInput/OutlineInput.js +2 -2
- package/dist/data-grid/Filters/OutlineInput/OutlineInput_module.css +1 -1
- package/dist/data-grid/Table/Table.d.ts +14 -22
- package/dist/data-grid/Table/Table.js +99 -61
- package/dist/data-grid/Table/Table.module.js +2 -0
- package/dist/data-grid/Table/Table_module.css +23 -1
- package/dist/data-grid/Table/components/Body/Body.d.ts +10 -14
- package/dist/data-grid/Table/components/Body/Body.js +11 -47
- package/dist/data-grid/Table/components/DraggableRow/DraggableRow.js +1 -1
- package/dist/data-grid/Table/components/Footer/Footer.module.js +0 -1
- package/dist/data-grid/Table/components/Footer/FooterContent.d.ts +9 -0
- package/dist/data-grid/Table/components/Footer/{Footer.js → FooterContent.js} +4 -5
- package/dist/data-grid/Table/components/Footer/Footer_module.css +0 -5
- package/dist/data-grid/Table/components/Header/Header.module.js +0 -1
- package/dist/data-grid/Table/components/Header/HeaderCell.js +3 -1
- package/dist/data-grid/Table/components/Header/HeaderContent.d.ts +1 -0
- package/dist/data-grid/Table/components/Header/{Header.js → HeaderContent.js} +8 -6
- package/dist/data-grid/Table/components/Header/Header_module.css +0 -15
- package/dist/data-grid/Table/components/Row/Row.d.ts +13 -0
- package/dist/data-grid/Table/components/Row/Row.js +40 -0
- package/dist/data-grid/Table/components/Row/Row.module.js +14 -0
- package/dist/data-grid/Table/components/{TableRow/TableRow_module.css → Row/Row_module.css} +7 -7
- package/dist/data-grid/Table/components/SubRows/SubRows.d.ts +5 -4
- package/dist/data-grid/Table/components/SubRows/SubRows.js +3 -3
- package/dist/data-grid/Table/components/TableCell/TableCell.js +2 -0
- package/dist/data-grid/Table/components/TableDragOverlay/TableDragOverlay.d.ts +5 -6
- package/dist/data-grid/Table/components/TableDragOverlay/TableDragOverlay.js +2 -2
- package/dist/data-grid/Table/components/TableRow/TableRow.d.ts +6 -14
- package/dist/data-grid/Table/components/TableRow/TableRow.js +34 -25
- package/dist/data-grid/Table/components/VirtualTable/VirtualTable.d.ts +10 -0
- package/dist/data-grid/Table/components/VirtualTable/VirtualTable.js +78 -0
- package/dist/data-grid/Table/components/VirtualTable/VirtualTableRow.d.ts +11 -0
- package/dist/data-grid/Table/components/VirtualTable/VirtualTableRow.js +18 -0
- package/dist/data-grid/Table/components/index.d.ts +3 -3
- package/dist/data-grid/Table/components/index.js +2 -2
- package/dist/data-grid/Table/constants.d.ts +2 -0
- package/dist/data-grid/Table/constants.js +3 -1
- package/dist/data-grid/Table/hooks/index.d.ts +1 -0
- package/dist/data-grid/Table/hooks/index.js +1 -0
- package/dist/data-grid/Table/hooks/useRowContext.d.ts +16 -0
- package/dist/data-grid/Table/hooks/useRowContext.js +44 -0
- package/dist/data-grid/Table/hooks/useTableContext.d.ts +7 -2
- package/dist/data-grid/Table/hooks/useTableContext.js +12 -2
- package/dist/data-grid/Table/index.d.ts +2 -2
- package/dist/data-grid/Table/types.d.ts +8 -1
- package/dist/data-grid/Table/types.js +5 -0
- package/dist/data-grid/Table/utils/compareColumnIds.d.ts +1 -0
- package/dist/data-grid/Table/utils/compareColumnIds.js +6 -0
- package/dist/data-grid/Table/utils/getColumnWidthStyles.d.ts +5 -0
- package/dist/data-grid/Table/utils/getColumnWidthStyles.js +4 -1
- package/dist/data-grid/Table/utils/getTableColumnIds.d.ts +3 -0
- package/dist/data-grid/Table/utils/getTableColumnIds.js +5 -0
- package/dist/data-grid/Table/utils/index.d.ts +2 -0
- package/dist/data-grid/Table/utils/index.js +2 -0
- package/dist/data-grid/Table/utils/withDnD.js +1 -1
- package/dist/data-grid/base/DropdownItem/DropdownItem.d.ts +3 -3
- package/dist/data-grid/base/DropdownItem/DropdownItem.js +3 -2
- package/dist/data-grid/base/OverflowHint/OverflowHint.d.ts +1 -0
- package/dist/data-grid/base/OverflowHint/OverflowHint.js +5 -3
- package/dist/data-grid/base/OverflowHint/utils.d.ts +1 -0
- package/dist/data-grid/base/OverflowHint/utils.js +7 -0
- package/dist/data-grid/cells/AutoCompleteCell/AutoCompleteCell.js +3 -4
- package/dist/data-grid/cells/DecimalCell/DecimalCell_module.css +1 -1
- package/dist/data-grid/cells/FileCell/FileCell_module.css +1 -1
- package/dist/data-grid/cells/ImageCell/ImageCell.d.ts +1 -0
- package/dist/data-grid/cells/ImageCell/ImageCell.js +5 -2
- package/dist/data-grid/cells/ImageCell/ImageMiniature/ImageMiniature_module.css +1 -1
- package/dist/data-grid/cells/IndexCheckboxDndCell/IndexCheckboxDndCell.d.ts +7 -2
- package/dist/data-grid/cells/IndexCheckboxDndCell/IndexCheckboxDndCell.js +6 -4
- package/dist/data-grid/cells/InputCell/InputCell.js +3 -4
- package/dist/data-grid/cells/IntegerCell/IntegerCell_module.css +1 -1
- package/dist/data-grid/cells/LinkCell/LinkCell_module.css +1 -1
- package/dist/data-grid/cells/NameCell/NameCell.js +3 -0
- package/dist/data-grid/cells/NameCell/NameCell_module.css +2 -2
- package/dist/data-grid/cells/NumberInputCell/NumberInputCell.js +19 -17
- package/dist/data-grid/cells/SelectCell/SelectCell.js +3 -4
- package/dist/data-grid/cells/TextCell/TextCell_module.css +1 -1
- package/dist/data-grid/cells/ToggleCell/ToggleCell_module.css +1 -1
- package/dist/data-grid/cells/components/EditableCellWrapper/EditableCellWrapper.d.ts +3 -0
- package/dist/data-grid/cells/components/EditableCellWrapper/EditableCellWrapper.js +9 -0
- package/dist/data-grid/cells/components/EditableCellWrapper/EditableCellWrapper.module.js +5 -0
- package/dist/data-grid/cells/{InputCell/InputCell_module.css → components/EditableCellWrapper/EditableCellWrapper_module.css} +2 -2
- package/dist/data-grid/cells/components/EditableCellWrapper/index.d.ts +1 -0
- package/dist/data-grid/cells/components/EditableCellWrapper/index.js +1 -0
- package/dist/data-grid/cells/components/RowActionsMenu/RowActionsMenu.d.ts +4 -3
- package/dist/data-grid/cells/components/RowActionsMenu/RowActionsMenu.js +13 -13
- package/dist/data-grid/cells/components/TableInput/TableInput.js +19 -3
- package/dist/data-grid/cells/components/TableInput/TableInput_module.css +1 -1
- package/dist/data-grid/cells/components/TableNumberInput/TableNumberInput.d.ts +5 -3
- package/dist/data-grid/cells/components/TableNumberInput/TableNumberInput.js +56 -55
- package/dist/data-grid/cells/components/TableSelect/ActionButton/ActionButton.d.ts +4 -1
- package/dist/data-grid/cells/components/TableSelect/ActionButton/ActionButton.js +4 -3
- package/dist/data-grid/cells/components/TableSelect/TableSelect.d.ts +15 -10
- package/dist/data-grid/cells/components/TableSelect/TableSelect.js +13 -8
- package/dist/data-grid/cells/components/index.d.ts +1 -0
- package/dist/data-grid/cells/components/index.js +1 -0
- package/dist/data-grid/cells/index.d.ts +1 -1
- package/dist/data-grid/cells/index.js +1 -1
- package/dist/data-grid/headers/PlainTextHeader.js +3 -2
- package/dist/data-grid/headers/components/Dropdown/Dropdown.d.ts +3 -0
- package/dist/data-grid/headers/components/Dropdown/DropdownArrowBtn/DropdownArrowBtn.js +5 -1
- package/dist/data-grid/headers/components/Dropdown/Option/Option.d.ts +1 -1
- package/dist/data-grid/headers/components/Dropdown/Option/Option.js +2 -2
- package/dist/data-grid/headers/components/Dropdown/Option/Option_module.css +10 -2
- package/dist/data-grid/headers/components/HeaderBuilder/HeaderBuilder.d.ts +13 -3
- package/dist/data-grid/headers/components/HeaderBuilder/HeaderBuilder.js +65 -83
- package/dist/data-grid/headers/components/HeaderBuilder/HeaderBuilder.module.js +2 -1
- package/dist/data-grid/headers/components/HeaderBuilder/HeaderBuilder_module.css +21 -0
- package/dist/data-grid/headers/components/HeaderSortGroups/components/SortByOption/SortByOption.js +7 -15
- package/dist/data-grid/headers/components/HideColumn/HideColumn.js +8 -13
- package/dist/data-grid/headers/components/ResetFilter/ResetFilter.js +7 -10
- package/dist/data-grid/headers/components/ResetFilter/ResetFilter.module.js +0 -1
- package/dist/data-grid/headers/components/ResetFilter/ResetFilter_module.css +1 -21
- package/dist/data-grid/headers/components/index.d.ts +1 -1
- package/dist/data-grid/headers/index.d.ts +1 -1
- package/dist/data-grid/headers/types/types.d.ts +1 -0
- package/dist/data-grid/index.d.ts +0 -4
- package/dist/data-grid/locale/en-US.js +68 -56
- package/dist/data-grid/locale/ru-RU.js +68 -56
- package/dist/data-grid/locale/useLocale.d.ts +6 -1
- package/dist/data-grid/locale/useLocale.js +14 -5
- package/dist/data-grid/types/index.d.ts +1 -0
- package/dist/data-grid/utils/isOverflowed.js +21 -1
- package/dist/hooks/useDebounceCallback/useDebounceCallback.d.ts +2 -0
- package/dist/hooks/useDebounceCallback/useDebounceCallback.js +21 -0
- package/dist/hooks/useDismissOnFocusOutside/index.d.ts +2 -1
- package/dist/hooks/useDismissOnFocusOutside/index.js +4 -3
- package/dist/hooks/useDismissOnOutsideClick/index.d.ts +2 -1
- package/dist/hooks/useDismissOnOutsideClick/index.js +4 -3
- package/dist/hooks/useIsElementOverflowing/index.d.ts +1 -0
- package/dist/hooks/useIsElementOverflowing/index.js +8 -2
- package/dist/hooks/useOverflowHint/index.d.ts +7 -0
- package/dist/hooks/useOverflowHint/index.js +16 -0
- package/dist/hooks/useTextField/useTextField.d.ts +5 -6
- package/dist/hooks/useTextField/useTextField.js +6 -24
- package/dist/hooks/useUnmount/useUnmount.d.ts +1 -0
- package/dist/hooks/useUnmount/useUnmount.js +9 -0
- package/dist/icon/components/MsLogo12Icon.d.ts +8 -0
- package/dist/icon/components/MsLogo12Icon.js +28 -0
- package/dist/icon/components/MsLogo16Icon.d.ts +8 -0
- package/dist/icon/components/MsLogo16Icon.js +26 -0
- package/dist/icon/components/MsLogo20Icon.d.ts +8 -0
- package/dist/icon/components/MsLogo20Icon.js +28 -0
- package/dist/icon/components/MyApps12Icon.d.ts +8 -0
- package/dist/icon/components/MyApps12Icon.js +18 -0
- package/dist/icon/components/MyApps16Icon.d.ts +8 -0
- package/dist/icon/components/MyApps16Icon.js +17 -0
- package/dist/icon/components/MyApps20Icon.d.ts +8 -0
- package/dist/icon/components/MyApps20Icon.js +18 -0
- package/dist/icon/components/Phone12Icon.d.ts +8 -0
- package/dist/icon/components/Phone12Icon.js +18 -0
- package/dist/icon/components/Phone16Icon.d.ts +8 -0
- package/dist/icon/components/Phone16Icon.js +17 -0
- package/dist/icon/components/Phone20Icon.d.ts +8 -0
- package/dist/icon/components/Phone20Icon.js +18 -0
- package/dist/icon/components/Smile12Icon.d.ts +8 -0
- package/dist/icon/components/Smile12Icon.js +17 -0
- package/dist/icon/components/Smile16Icon.d.ts +8 -0
- package/dist/icon/components/Smile16Icon.js +16 -0
- package/dist/icon/components/Smile20Icon.d.ts +8 -0
- package/dist/icon/components/Smile20Icon.js +17 -0
- package/dist/icon/index.d.ts +12 -0
- package/dist/icon/index.js +12 -0
- package/dist/index.d.ts +13 -5
- package/dist/index.js +11 -1
- package/dist/utils/checkIsArchivedValue.d.ts +2 -0
- package/dist/utils/checkIsArchivedValue.js +5 -0
- package/dist/utils/debounce/debounce.d.ts +10 -0
- package/dist/utils/debounce/debounce.js +73 -0
- package/dist/utils/isRecordEqual/isRecordEqual.d.ts +1 -0
- package/dist/utils/isRecordEqual/isRecordEqual.js +9 -0
- package/dist/utils/utils.d.ts +3 -0
- package/dist/utils/utils.js +3 -0
- package/package.json +88 -12
- package/dist/components/Info/Info.d.ts +0 -13
- package/dist/components/Info/Info.js +0 -20
- package/dist/components/Info/Info.module.js +0 -6
- package/dist/components/Info/Info_module.css +0 -11
- package/dist/components/InputClear/InputClear.d.ts +0 -11
- package/dist/components/InputClear/InputClear.js +0 -12
- package/dist/components/InputClear/InputClear_module.css +0 -21
- package/dist/components/LabelValue/HelpButton/HelpButton.module.js +0 -8
- package/dist/components/LabelValue/HelpButton/HelpButton_module.css +0 -44
- package/dist/components/LabelValue/HelpButton/index.d.ts +0 -8
- package/dist/components/LabelValue/HelpButton/index.js +0 -36
- package/dist/components/LabelValue/ValueBlock/index.js +0 -138
- package/dist/components/LabelValue/hooks/useTooltip.d.ts +0 -8
- package/dist/components/LabelValue/hooks/useTooltip.js +0 -16
- package/dist/components/LabelValueDate/DropdownContent/DropdownContent.module.js +0 -9
- package/dist/components/LabelValueDate/DropdownContent/index.d.ts +0 -12
- package/dist/components/Textfield/components/ClearIcon/ClearIcon.d.ts +0 -6
- package/dist/components/Textfield/components/ClearIcon/ClearIcon.js +0 -13
- package/dist/components/Textfield/components/ClearIcon/ClearIcon.module.js +0 -6
- package/dist/components/Textfield/components/ClearIcon/ClearIcon_module.css +0 -11
- package/dist/components/Textfield/components/Label/Label.d.ts +0 -9
- package/dist/components/Textfield/components/Label/Label.js +0 -32
- package/dist/components/Textfield/components/Label/Label.module.js +0 -7
- package/dist/components/Textfield/components/Label/Label_module.css +0 -17
- package/dist/components/Textfield/components/Label/index.d.ts +0 -1
- package/dist/components/Textfield/components/Label/index.js +0 -1
- package/dist/data-grid/Table/components/Footer/Footer.d.ts +0 -9
- package/dist/data-grid/Table/components/Header/Header.d.ts +0 -8
- package/dist/data-grid/Table/components/TableRow/TableRow.module.js +0 -14
- package/dist/data-grid/cells/AutoCompleteCell/AutoCompleteCell.module.js +0 -5
- package/dist/data-grid/cells/AutoCompleteCell/AutoCompleteCell_module.css +0 -8
- package/dist/data-grid/cells/InputCell/InputCell.module.js +0 -5
- package/dist/data-grid/cells/NumberInputCell/NumberInputCell.module.js +0 -5
- package/dist/data-grid/cells/NumberInputCell/NumberInputCell_module.css +0 -8
- package/dist/data-grid/cells/SelectCell/SelectCell.module.js +0 -8
- package/dist/data-grid/cells/SelectCell/SelectCell_module.css +0 -33
- package/dist/data-grid/headers/components/HeaderSortGroups/components/SortByOption/SortByOption.module.js +0 -7
- package/dist/data-grid/headers/components/HeaderSortGroups/components/SortByOption/SortByOption_module.css +0 -22
- package/dist/data-grid/headers/components/HideColumn/HideColumn.module.js +0 -6
- package/dist/data-grid/headers/components/HideColumn/HideColumn_module.css +0 -20
- /package/dist/components/Tooltip/{consts.js → constants/ArrowAlign.js} +0 -0
|
@@ -3,8 +3,8 @@ import { forwardRef } from "react";
|
|
|
3
3
|
import { cn } from "../../../../../common/css/cn.js";
|
|
4
4
|
import Option_module from "./Option.module.js";
|
|
5
5
|
const OptionComponent = ({ children, className, value, onSelect, ...rest }, ref)=>{
|
|
6
|
-
const handleSelectOption = ()=>{
|
|
7
|
-
onSelect?.(value);
|
|
6
|
+
const handleSelectOption = (e)=>{
|
|
7
|
+
if (0 === e.button) onSelect?.(value);
|
|
8
8
|
};
|
|
9
9
|
return /*#__PURE__*/ jsx("div", {
|
|
10
10
|
className: cn(Option_module.option, className),
|
|
@@ -5,11 +5,19 @@
|
|
|
5
5
|
color: var(--dark-grey-dark-900);
|
|
6
6
|
white-space: nowrap;
|
|
7
7
|
background: none;
|
|
8
|
-
|
|
8
|
+
border-radius: 8px;
|
|
9
|
+
align-items: center;
|
|
10
|
+
gap: 8px;
|
|
11
|
+
padding: 6px 12px;
|
|
9
12
|
font-size: 14px;
|
|
13
|
+
display: flex;
|
|
10
14
|
}
|
|
11
15
|
|
|
12
16
|
.option-oFVuH3:hover {
|
|
13
|
-
background: var(--light-grey-
|
|
17
|
+
background: var(--light-grey-100);
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
.option-oFVuH3:active {
|
|
21
|
+
background-color: #f1f4f8;
|
|
14
22
|
}
|
|
15
23
|
|
|
@@ -1,5 +1,11 @@
|
|
|
1
|
-
import React, { type FC, type PropsWithChildren } from 'react';
|
|
2
|
-
type
|
|
1
|
+
import React, { type FC, type PropsWithChildren, type ReactNode } from 'react';
|
|
2
|
+
type RenderDropdownContentOptions = {
|
|
3
|
+
closeDropdown: () => void;
|
|
4
|
+
};
|
|
5
|
+
type CustomOnClickArgs = {
|
|
6
|
+
defaultOnClick: () => void;
|
|
7
|
+
};
|
|
8
|
+
export type HeaderBuilderProps = {
|
|
3
9
|
sortDirection: false | 'asc' | 'desc';
|
|
4
10
|
btnClass?: string;
|
|
5
11
|
isFiltered?: boolean;
|
|
@@ -14,7 +20,11 @@ type Props = {
|
|
|
14
20
|
testId?: string;
|
|
15
21
|
textOnly?: boolean;
|
|
16
22
|
className?: string;
|
|
23
|
+
/** @deprecated удалён т.к. функционал не работал */
|
|
17
24
|
isScrollToDropdownDisabled?: boolean;
|
|
25
|
+
isDisabled?: boolean;
|
|
26
|
+
renderDropdownContent?: (options: RenderDropdownContentOptions) => ReactNode;
|
|
27
|
+
customOnClick?: (options: CustomOnClickArgs) => () => void;
|
|
18
28
|
};
|
|
19
|
-
export declare const HeaderBuilder: FC<PropsWithChildren<
|
|
29
|
+
export declare const HeaderBuilder: FC<PropsWithChildren<HeaderBuilderProps>>;
|
|
20
30
|
export {};
|
|
@@ -1,116 +1,91 @@
|
|
|
1
1
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
2
|
-
import { memo, useCallback, useEffect, useMemo, useRef
|
|
2
|
+
import { memo, useCallback, useEffect, useMemo, useRef } from "react";
|
|
3
3
|
import { cn } from "../../../../common/css/cn.js";
|
|
4
|
-
import {
|
|
5
|
-
import { useId } from "../../../../hooks/useId/index.js";
|
|
4
|
+
import { Dropdown, useDropdown } from "../../../../components/Dropdown/Dropdown.js";
|
|
6
5
|
import { OverflowHint } from "../../../base/index.js";
|
|
7
|
-
import { isFullyVisibleX } from "../../../utils/index.js";
|
|
8
6
|
import { DATEPICKER_PORTAL_ID } from "../../constants/index.js";
|
|
9
|
-
import { Dropdown } from "../Dropdown/Dropdown.js";
|
|
10
7
|
import { DropdownArrowBtn } from "../Dropdown/DropdownArrowBtn/DropdownArrowBtn.js";
|
|
11
8
|
import { EllipsisText } from "../EllipsisText/EllipsisText.js";
|
|
12
9
|
import { ArrowIcon } from "./ArrowIcon.js";
|
|
13
10
|
import HeaderBuilder_module from "./HeaderBuilder.module.js";
|
|
14
11
|
const HeaderBuilder = /*#__PURE__*/ memo(({ children, sortDirection, btnClass, isFiltered, displayName, displayNamePosition = 'left', isNeedHint = true, dropdownStyle = {
|
|
15
12
|
width: 260
|
|
16
|
-
}, portalSelector, customHintText, hintZIndex, forceShowTooltip, testId, textOnly = false, className,
|
|
17
|
-
const [dropdownAlignment, setDropdownAlignment] = useState('left');
|
|
18
|
-
const [showDropdown, setShowDropdown] = useState(false);
|
|
19
|
-
const dropdownRef = useRef(null);
|
|
13
|
+
}, portalSelector, customHintText, hintZIndex, forceShowTooltip, testId, textOnly = false, className, isDisabled, renderDropdownContent, customOnClick })=>{
|
|
20
14
|
const buttonRef = useRef(null);
|
|
21
15
|
const displayNameRef = useRef(null);
|
|
22
16
|
const parentRef = useRef(null);
|
|
23
|
-
const
|
|
24
|
-
const hideDropdown = ()=>{
|
|
25
|
-
setShowDropdown(false);
|
|
26
|
-
setDropdownAlignment(null);
|
|
27
|
-
};
|
|
28
|
-
const handleClickOutside = (e)=>{
|
|
29
|
-
if (buttonRef.current?.contains(e.target) || document.querySelector(`#${DATEPICKER_PORTAL_ID}`)?.contains(e.target) || !showDropdown) return;
|
|
30
|
-
hideDropdown();
|
|
31
|
-
};
|
|
32
|
-
useClickOutside(handleClickOutside, dropdownRef);
|
|
17
|
+
const { open, handleClose, handleToggle, triggerAriaProps, dropdownAriaProps, dropdownRef } = useDropdown();
|
|
33
18
|
useEffect(()=>{
|
|
34
|
-
|
|
35
|
-
setShowDropdown(false);
|
|
36
|
-
setDropdownAlignment(null);
|
|
37
|
-
};
|
|
38
|
-
window.addEventListener('resize', close);
|
|
19
|
+
window.addEventListener('resize', handleClose);
|
|
39
20
|
return ()=>{
|
|
40
|
-
window.removeEventListener('resize',
|
|
21
|
+
window.removeEventListener('resize', handleClose);
|
|
41
22
|
};
|
|
42
|
-
}, [
|
|
23
|
+
}, [
|
|
24
|
+
handleClose
|
|
25
|
+
]);
|
|
43
26
|
const dataSortDirection = useMemo(()=>sortDirection && {
|
|
44
27
|
'data-sort-direction': sortDirection
|
|
45
28
|
}, [
|
|
46
29
|
sortDirection
|
|
47
30
|
]);
|
|
48
|
-
const
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
if (!isScrollToDropdownDisabled) parentRef.current.scrollIntoView({
|
|
61
|
-
behavior: 'smooth'
|
|
62
|
-
});
|
|
63
|
-
const headerRect = parentRef.current.getBoundingClientRect();
|
|
64
|
-
headerRect.width < dropdownRect.width ? setDropdownAlignment(alignmentByDropdownCord) : setDropdownAlignment('left');
|
|
65
|
-
}
|
|
66
|
-
}
|
|
67
|
-
}
|
|
68
|
-
});
|
|
69
|
-
if (!willBeOpened) setDropdownAlignment('left');
|
|
70
|
-
return willBeOpened;
|
|
31
|
+
const handleOnClick = useMemo(()=>customOnClick ? customOnClick({
|
|
32
|
+
defaultOnClick: handleToggle
|
|
33
|
+
}) : handleToggle, [
|
|
34
|
+
customOnClick,
|
|
35
|
+
handleToggle
|
|
36
|
+
]);
|
|
37
|
+
const component = useMemo(()=>{
|
|
38
|
+
const label = /*#__PURE__*/ jsx(EllipsisText, {
|
|
39
|
+
ref: displayNameRef,
|
|
40
|
+
"data-test-id": testId ? `${testId}-header-text` : 'header-text',
|
|
41
|
+
title: "",
|
|
42
|
+
children: displayName
|
|
71
43
|
});
|
|
72
|
-
|
|
73
|
-
|
|
44
|
+
const containerClassName = cn(HeaderBuilder_module.header, 'right' === displayNamePosition && HeaderBuilder_module.right, textOnly ? HeaderBuilder_module.plainText : btnClass, className);
|
|
45
|
+
return /*#__PURE__*/ jsx("div", {
|
|
74
46
|
ref: parentRef,
|
|
75
47
|
"data-test-id": testId ? `${testId}-header` : 'header',
|
|
76
48
|
children: textOnly ? /*#__PURE__*/ jsx("div", {
|
|
77
|
-
className:
|
|
78
|
-
children:
|
|
79
|
-
ref: displayNameRef,
|
|
80
|
-
title: "",
|
|
81
|
-
children: displayName
|
|
82
|
-
})
|
|
49
|
+
className: containerClassName,
|
|
50
|
+
children: label
|
|
83
51
|
}) : /*#__PURE__*/ jsx(DropdownArrowBtn, {
|
|
84
52
|
...dataSortDirection,
|
|
85
|
-
|
|
53
|
+
...triggerAriaProps,
|
|
54
|
+
className: containerClassName,
|
|
55
|
+
disabled: isDisabled,
|
|
86
56
|
isFiltered: isFiltered,
|
|
87
57
|
ref: buttonRef,
|
|
88
58
|
testId: testId,
|
|
89
|
-
name:
|
|
90
|
-
|
|
91
|
-
title: "",
|
|
92
|
-
"data-test-id": testId ? `${testId}-header-text` : 'header-text',
|
|
93
|
-
children: displayName
|
|
94
|
-
}),
|
|
95
|
-
onClick: handleToggleDropdown,
|
|
96
|
-
"aria-controls": dropdownId,
|
|
97
|
-
"aria-expanded": showDropdown,
|
|
98
|
-
"aria-haspopup": "menu",
|
|
59
|
+
name: label,
|
|
60
|
+
onClick: handleOnClick,
|
|
99
61
|
iconContainerClassName: HeaderBuilder_module.iconContainerClassName
|
|
100
62
|
})
|
|
101
|
-
})
|
|
102
|
-
|
|
103
|
-
displayNamePosition,
|
|
104
|
-
className,
|
|
63
|
+
});
|
|
64
|
+
}, [
|
|
105
65
|
btnClass,
|
|
66
|
+
className,
|
|
67
|
+
dataSortDirection,
|
|
106
68
|
displayName,
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
69
|
+
displayNamePosition,
|
|
70
|
+
handleOnClick,
|
|
71
|
+
isDisabled,
|
|
110
72
|
isFiltered,
|
|
111
|
-
showDropdown,
|
|
112
73
|
testId,
|
|
113
|
-
textOnly
|
|
74
|
+
textOnly,
|
|
75
|
+
triggerAriaProps
|
|
76
|
+
]);
|
|
77
|
+
const portalElement = useMemo(()=>document.querySelector(portalSelector ?? 'body'), [
|
|
78
|
+
portalSelector
|
|
79
|
+
]);
|
|
80
|
+
const shouldIgnoreOutsideInteraction = useCallback((target)=>{
|
|
81
|
+
const targetElement = target instanceof Element ? target : target.parentElement;
|
|
82
|
+
return Boolean(targetElement?.closest(`#${DATEPICKER_PORTAL_ID}`));
|
|
83
|
+
}, []);
|
|
84
|
+
const zIndex = useMemo(()=>{
|
|
85
|
+
const zIndexNumber = Number(dropdownStyle?.zIndex);
|
|
86
|
+
return isNaN(zIndexNumber) ? void 0 : zIndexNumber;
|
|
87
|
+
}, [
|
|
88
|
+
dropdownStyle?.zIndex
|
|
114
89
|
]);
|
|
115
90
|
return /*#__PURE__*/ jsxs("div", {
|
|
116
91
|
children: [
|
|
@@ -122,18 +97,25 @@ const HeaderBuilder = /*#__PURE__*/ memo(({ children, sortDirection, btnClass, i
|
|
|
122
97
|
forceShowTooltip: forceShowTooltip,
|
|
123
98
|
children: component
|
|
124
99
|
}) : component,
|
|
125
|
-
|
|
126
|
-
|
|
100
|
+
/*#__PURE__*/ jsx(Dropdown, {
|
|
101
|
+
...dropdownAriaProps,
|
|
127
102
|
ref: dropdownRef,
|
|
128
|
-
buttonRef: buttonRef,
|
|
129
|
-
align: dropdownAlignment ?? void 0,
|
|
130
103
|
style: dropdownStyle,
|
|
131
|
-
|
|
104
|
+
zIndex: zIndex,
|
|
132
105
|
testId: testId,
|
|
133
|
-
|
|
106
|
+
open: open,
|
|
107
|
+
triggerRef: buttonRef,
|
|
108
|
+
portalElement: portalElement,
|
|
109
|
+
onClose: handleClose,
|
|
110
|
+
className: HeaderBuilder_module.dropdownContainer,
|
|
111
|
+
shouldIgnoreOutsideInteraction: shouldIgnoreOutsideInteraction,
|
|
112
|
+
children: renderDropdownContent ? renderDropdownContent({
|
|
113
|
+
closeDropdown: handleClose
|
|
114
|
+
}) : children
|
|
134
115
|
}),
|
|
135
116
|
Boolean(sortDirection) && /*#__PURE__*/ jsx("div", {
|
|
136
117
|
className: HeaderBuilder_module.wrapper,
|
|
118
|
+
"data-test-id": testId ? `${testId}-header-sort-icon` : 'header-sort-icon',
|
|
137
119
|
children: /*#__PURE__*/ jsx(ArrowIcon, {
|
|
138
120
|
className: cn(HeaderBuilder_module.arrow, 'asc' === sortDirection && HeaderBuilder_module.rotated)
|
|
139
121
|
})
|
|
@@ -6,6 +6,7 @@ const HeaderBuilder_module = {
|
|
|
6
6
|
iconContainerClassName: "iconContainerClassName-imS1yx",
|
|
7
7
|
wrapper: "wrapper-tYoNBG",
|
|
8
8
|
arrow: "arrow-WYLP8q",
|
|
9
|
-
rotated: "rotated-yMd59y"
|
|
9
|
+
rotated: "rotated-yMd59y",
|
|
10
|
+
dropdownContainer: "dropdownContainer-G8K0DA"
|
|
10
11
|
};
|
|
11
12
|
export default HeaderBuilder_module;
|
|
@@ -68,3 +68,24 @@
|
|
|
68
68
|
transform: rotate(180deg);
|
|
69
69
|
}
|
|
70
70
|
|
|
71
|
+
.dropdownContainer-G8K0DA {
|
|
72
|
+
background: var(--light-white);
|
|
73
|
+
flex-direction: column;
|
|
74
|
+
padding: 4px;
|
|
75
|
+
display: flex;
|
|
76
|
+
}
|
|
77
|
+
|
|
78
|
+
.dropdownContainer-G8K0DA ::-webkit-scrollbar {
|
|
79
|
+
width: 15px;
|
|
80
|
+
}
|
|
81
|
+
|
|
82
|
+
.dropdownContainer-G8K0DA ::-webkit-scrollbar-track {
|
|
83
|
+
background: var(--light-white);
|
|
84
|
+
}
|
|
85
|
+
|
|
86
|
+
.dropdownContainer-G8K0DA ::-webkit-scrollbar-thumb {
|
|
87
|
+
border: 4px solid var(--light-white);
|
|
88
|
+
background-color: var(--light-grey-400);
|
|
89
|
+
border-radius: 8px;
|
|
90
|
+
}
|
|
91
|
+
|
package/dist/data-grid/headers/components/HeaderSortGroups/components/SortByOption/SortByOption.js
CHANGED
|
@@ -2,22 +2,14 @@ import { jsx, jsxs } from "react/jsx-runtime";
|
|
|
2
2
|
import { memo } from "react";
|
|
3
3
|
import { Text } from "../../../../../../components/Text/Text.js";
|
|
4
4
|
import { Option } from "../../../Dropdown/Option/Option.js";
|
|
5
|
-
|
|
6
|
-
const SortByOption = /*#__PURE__*/ memo(({ onSelect, icon, label })=>/*#__PURE__*/ jsx(Option, {
|
|
7
|
-
className: SortByOption_module.option,
|
|
5
|
+
const SortByOption = /*#__PURE__*/ memo(({ onSelect, icon, label })=>/*#__PURE__*/ jsxs(Option, {
|
|
8
6
|
onSelect: onSelect,
|
|
9
|
-
children:
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
children: /*#__PURE__*/ jsx(Text.Body, {
|
|
16
|
-
children: label
|
|
17
|
-
})
|
|
18
|
-
})
|
|
19
|
-
]
|
|
20
|
-
})
|
|
7
|
+
children: [
|
|
8
|
+
icon,
|
|
9
|
+
/*#__PURE__*/ jsx(Text.Body, {
|
|
10
|
+
children: label
|
|
11
|
+
})
|
|
12
|
+
]
|
|
21
13
|
}));
|
|
22
14
|
SortByOption.displayName = 'SortByOption';
|
|
23
15
|
export { SortByOption };
|
|
@@ -1,28 +1,23 @@
|
|
|
1
1
|
import { Fragment, jsx, jsxs } from "react/jsx-runtime";
|
|
2
2
|
import { memo } from "react";
|
|
3
3
|
import { Text } from "../../../../components/Text/Text.js";
|
|
4
|
-
import { Divider } from "../../../base/
|
|
4
|
+
import { Divider } from "../../../base/Divider/Divider.js";
|
|
5
5
|
import { EyeEyeballHide16Icon } from "../../../../icon/index.js";
|
|
6
6
|
import { useLocale } from "../../../locale/useLocale.js";
|
|
7
7
|
import { Option } from "../Dropdown/Option/Option.js";
|
|
8
|
-
import HideColumn_module from "./HideColumn.module.js";
|
|
9
8
|
const HideColumn = /*#__PURE__*/ memo(({ onVisibleChange, isShowDivider = false })=>{
|
|
10
9
|
const { hideColumnLabel } = useLocale('Headers');
|
|
11
10
|
return /*#__PURE__*/ jsxs(Fragment, {
|
|
12
11
|
children: [
|
|
13
12
|
isShowDivider && /*#__PURE__*/ jsx(Divider, {}),
|
|
14
|
-
/*#__PURE__*/
|
|
13
|
+
/*#__PURE__*/ jsxs(Option, {
|
|
15
14
|
onSelect: onVisibleChange,
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
children: hideColumnLabel
|
|
23
|
-
})
|
|
24
|
-
]
|
|
25
|
-
})
|
|
15
|
+
children: [
|
|
16
|
+
/*#__PURE__*/ jsx(EyeEyeballHide16Icon, {}),
|
|
17
|
+
/*#__PURE__*/ jsx(Text.Body, {
|
|
18
|
+
children: hideColumnLabel
|
|
19
|
+
})
|
|
20
|
+
]
|
|
26
21
|
})
|
|
27
22
|
]
|
|
28
23
|
});
|
|
@@ -10,19 +10,16 @@ const ResetFilter = ({ onFilterReset })=>{
|
|
|
10
10
|
return /*#__PURE__*/ jsxs(Fragment, {
|
|
11
11
|
children: [
|
|
12
12
|
/*#__PURE__*/ jsx(Divider, {}),
|
|
13
|
-
/*#__PURE__*/
|
|
13
|
+
/*#__PURE__*/ jsxs(Option, {
|
|
14
14
|
"data-test-id": "filter-reset-btn",
|
|
15
15
|
onClick: onFilterReset,
|
|
16
16
|
className: ResetFilter_module.option,
|
|
17
|
-
children:
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
})
|
|
24
|
-
]
|
|
25
|
-
})
|
|
17
|
+
children: [
|
|
18
|
+
/*#__PURE__*/ jsx(ClearFilter20Icon, {}),
|
|
19
|
+
/*#__PURE__*/ jsx(Text.Body, {
|
|
20
|
+
children: resetFilterLabel
|
|
21
|
+
})
|
|
22
|
+
]
|
|
26
23
|
})
|
|
27
24
|
]
|
|
28
25
|
});
|
|
@@ -1,25 +1,5 @@
|
|
|
1
|
-
.
|
|
2
|
-
align-items: center;
|
|
3
|
-
gap: 8px;
|
|
4
|
-
padding-left: 0;
|
|
5
|
-
display: flex;
|
|
6
|
-
}
|
|
7
|
-
|
|
8
|
-
.resetFilter-n7veAz svg {
|
|
1
|
+
.option-gv3fnL svg {
|
|
9
2
|
width: 16px;
|
|
10
3
|
height: 16px;
|
|
11
4
|
}
|
|
12
5
|
|
|
13
|
-
.option-gv3fnL {
|
|
14
|
-
border-radius: 8px;
|
|
15
|
-
padding: 6px 12px;
|
|
16
|
-
}
|
|
17
|
-
|
|
18
|
-
.option-gv3fnL:hover {
|
|
19
|
-
background: var(--light-grey-100);
|
|
20
|
-
}
|
|
21
|
-
|
|
22
|
-
.option-gv3fnL:active {
|
|
23
|
-
background-color: #f1f4f8;
|
|
24
|
-
}
|
|
25
|
-
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
export { Dash } from './Dash/Dash';
|
|
2
2
|
export * from './Dropdown';
|
|
3
3
|
export { DropdownTitle } from './DropdownTitle/DropdownTitle';
|
|
4
|
-
export { HeaderBuilder } from './HeaderBuilder/HeaderBuilder';
|
|
4
|
+
export { HeaderBuilder, type HeaderBuilderProps, } from './HeaderBuilder/HeaderBuilder';
|
|
5
5
|
export { AccountSelect } from './HeaderFilters/AccountSelect/AccountSelect';
|
|
6
6
|
export { Dater } from './HeaderFilters/Dater/Dater';
|
|
7
7
|
export { MultiSelect } from './HeaderFilters/MultiSelect/MultiSelect';
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
export { AccountHeader } from './AccountHeader';
|
|
2
2
|
export { BooleanHeader } from './BooleanHeader';
|
|
3
3
|
export { CheckboxHeader } from './CheckboxHeader';
|
|
4
|
-
export { AccountSelect, AlphabeticallySort, CheckboxOption, Dash, Dater, Dropdown, DropdownArrowBtn, DropdownTitle, DuoDirectionSort, HeaderBuilder, HideColumn, MultiSelect, Option, Range, ResetFilter, Search, Select, WarningMsg, } from './components';
|
|
4
|
+
export { AccountSelect, AlphabeticallySort, CheckboxOption, Dash, Dater, Dropdown, DropdownArrowBtn, DropdownTitle, DuoDirectionSort, HeaderBuilder, type HeaderBuilderProps, HideColumn, MultiSelect, Option, Range, ResetFilter, Search, Select, WarningMsg, } from './components';
|
|
5
5
|
export { DateHeader } from './DateHeader';
|
|
6
6
|
export { DictHeader } from './DictHeader';
|
|
7
7
|
export { LinkHeader } from './LinkHeader';
|
|
@@ -17,6 +17,7 @@ export type DefaultHeaderMeta = {
|
|
|
17
17
|
btnClassName?: string;
|
|
18
18
|
onColumnToggle?: (columnId: string, isVisible: boolean) => void;
|
|
19
19
|
isScrollToDropdownDisabled?: boolean;
|
|
20
|
+
isHidden?: boolean;
|
|
20
21
|
maxSizeInDefaultView?: number;
|
|
21
22
|
minSizeInDefaultView?: number;
|
|
22
23
|
};
|
|
@@ -1,12 +1,8 @@
|
|
|
1
1
|
export * from './base';
|
|
2
|
-
export * from './base';
|
|
3
|
-
export * from './cells';
|
|
4
2
|
export * from './cells';
|
|
5
3
|
export * from './ColumnSettings';
|
|
6
4
|
export * from './Filters';
|
|
7
5
|
export * from './headers';
|
|
8
|
-
export * from './headers';
|
|
9
|
-
export * from './hooks';
|
|
10
6
|
export * from './hooks';
|
|
11
7
|
export * from './Pagination';
|
|
12
8
|
export * from './SavedFilters';
|
|
@@ -48,69 +48,81 @@ const enLocaleValues = {
|
|
|
48
48
|
selectedOrdersLabel: (count)=>1 === count ? `${count} order` : `${count} orders`
|
|
49
49
|
},
|
|
50
50
|
DateRangeFilter: {
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
dayQuickFilters: {
|
|
60
|
-
yesterday: 'Yesterday',
|
|
61
|
-
today: 'Today'
|
|
62
|
-
},
|
|
63
|
-
footer: {
|
|
64
|
-
timeSelectionToggle: 'Set time',
|
|
65
|
-
timeSelectionToggleHint: 'Setting time is available only in period mode',
|
|
66
|
-
clearFilterButton: 'Clear filter'
|
|
67
|
-
},
|
|
68
|
-
slider: {
|
|
69
|
-
day: {
|
|
70
|
-
title: 'Day',
|
|
71
|
-
placeholder: 'Select day',
|
|
72
|
-
dateFormat: 'MMMM d, yyyy'
|
|
51
|
+
translate: {
|
|
52
|
+
radiobuttons: {
|
|
53
|
+
period: 'Period',
|
|
54
|
+
day: 'Day',
|
|
55
|
+
week: 'Week',
|
|
56
|
+
month: 'Month',
|
|
57
|
+
anyDate: 'Any date specified',
|
|
58
|
+
noDate: 'No date specified'
|
|
73
59
|
},
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
60
|
+
dayQuickFilters: {
|
|
61
|
+
yesterday: 'Yesterday',
|
|
62
|
+
today: 'Today'
|
|
63
|
+
},
|
|
64
|
+
footer: {
|
|
65
|
+
timeSelectionToggle: 'Set time',
|
|
66
|
+
timeSelectionToggleHint: 'Setting time is available only in period mode',
|
|
67
|
+
clearFilterButton: 'Clear filter'
|
|
68
|
+
},
|
|
69
|
+
slider: {
|
|
70
|
+
day: {
|
|
71
|
+
title: 'Day',
|
|
72
|
+
placeholder: 'Select day'
|
|
73
|
+
},
|
|
74
|
+
week: {
|
|
75
|
+
title: 'Week',
|
|
76
|
+
placeholder: 'Select week'
|
|
86
77
|
},
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
78
|
+
month: {
|
|
79
|
+
title: 'Month',
|
|
80
|
+
placeholder: 'Select month'
|
|
81
|
+
}
|
|
82
|
+
}
|
|
83
|
+
},
|
|
84
|
+
format: {
|
|
85
|
+
slider: {
|
|
86
|
+
day: {
|
|
87
|
+
dateFormat: 'MMMM d, yyyy'
|
|
88
|
+
},
|
|
89
|
+
week: {
|
|
90
|
+
dateFormat: {
|
|
91
|
+
sameMonth: {
|
|
92
|
+
firstDate: 'MMMM d',
|
|
93
|
+
endDate: 'd, yyyy'
|
|
94
|
+
},
|
|
95
|
+
differentMonth: {
|
|
96
|
+
firstDate: 'MMM d',
|
|
97
|
+
endDate: 'MMM d, yyyy'
|
|
98
|
+
}
|
|
91
99
|
},
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
100
|
+
tooltipDateFormat: {
|
|
101
|
+
sameMonth: {
|
|
102
|
+
firstDate: 'MMMM d',
|
|
103
|
+
endDate: 'd, yyyy'
|
|
104
|
+
},
|
|
105
|
+
differentMonth: {
|
|
106
|
+
firstDate: 'MMM d',
|
|
107
|
+
endDate: 'MMM d, yyyy'
|
|
108
|
+
}
|
|
95
109
|
}
|
|
110
|
+
},
|
|
111
|
+
month: {
|
|
112
|
+
dateFormat: 'LLLL yyyy'
|
|
96
113
|
}
|
|
97
114
|
},
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
115
|
+
dateFormat: 'MM/dd/yyyy',
|
|
116
|
+
monthCalendarFormat: 'LLL',
|
|
117
|
+
dateWithTimeFormat: 'MM/dd/yyyy HH:mm',
|
|
118
|
+
emptyDate: {
|
|
119
|
+
withTime: '__/__/____ __:__',
|
|
120
|
+
withoutTime: '__/__/____'
|
|
121
|
+
},
|
|
122
|
+
inputMask: {
|
|
123
|
+
withTime: '99/99/9999 99:99',
|
|
124
|
+
withoutTime: '99/99/9999'
|
|
102
125
|
}
|
|
103
|
-
},
|
|
104
|
-
dateFormat: 'MM/dd/yyyy',
|
|
105
|
-
monthCalendarFormat: 'LLL',
|
|
106
|
-
dateWithTimeFormat: 'MM/dd/yyyy HH:mm',
|
|
107
|
-
emptyDate: {
|
|
108
|
-
withTime: '__/__/____ __:__',
|
|
109
|
-
withoutTime: '__/__/____'
|
|
110
|
-
},
|
|
111
|
-
inputMask: {
|
|
112
|
-
withTime: '99/99/9999 99:99',
|
|
113
|
-
withoutTime: '99/99/9999'
|
|
114
126
|
}
|
|
115
127
|
}
|
|
116
128
|
};
|