@moysklad/uikit 30.4.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 +9 -4
- package/dist/colorVariables.css +23 -1
- package/dist/components/AutoComplete/AutoComplete.js +2 -2
- 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/Button/Button.d.ts +5 -2
- package/dist/components/Button/Button.js +28 -19
- package/dist/components/Button/Button_module.css +16 -14
- package/dist/components/Checkbox/Checkbox.js +1 -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/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 +63 -31
- 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/Help/Help_module.css +1 -1
- 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.js +10 -5
- package/dist/components/Input/components/InfoBlock.d.ts +3 -1
- package/dist/components/Input/components/InfoBlock.js +7 -4
- package/dist/components/InputUnit/InputUnit.js +4 -4
- package/dist/components/LabelValue/LabelValue.d.ts +14 -10
- package/dist/components/LabelValue/LabelValue.js +46 -25
- package/dist/components/LabelValue/LabelValue.module.js +10 -4
- package/dist/components/LabelValue/LabelValue_module.css +53 -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/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/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.js +2 -1
- 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 +20 -15
- package/dist/components/Multiselect/Input/Input.d.ts +6 -2
- package/dist/components/Multiselect/Input/Input.js +18 -4
- package/dist/components/Multiselect/Multiselect.d.ts +4 -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 +15 -9
- package/dist/components/Select/OptionsList/OptionsList.d.ts +3 -1
- package/dist/components/Select/OptionsList/OptionsList.js +37 -21
- package/dist/components/Select/OptionsList/OptionsList.module.js +2 -0
- package/dist/components/Select/OptionsList/OptionsList_module.css +15 -0
- package/dist/components/Select/Select.d.ts +2 -3
- package/dist/components/Select/Select.js +17 -7
- package/dist/components/Select/Select_module.css +5 -0
- package/dist/components/Select/ShortVariant/ShortVariant.js +1 -1
- 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 +7 -2
- package/dist/components/Textfield/Textfield.js +2 -1
- package/dist/components/Textfield/components/Container/Container.d.ts +2 -0
- package/dist/components/Textfield/components/Container/Container.js +17 -6
- 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/Toggle/Toggle.js +1 -1
- package/dist/components/ViewersStack/ViewersStack.js +5 -3
- 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.d.ts +18 -0
- package/dist/components/{FieldLabel → _shared/FieldLabel}/FieldLabel.js +19 -12
- package/dist/components/_shared/FieldLabel/FieldLabel.module.js +11 -0
- package/dist/components/{FieldLabel → _shared/FieldLabel}/FieldLabel_module.css +8 -8
- package/dist/components/{FieldLabel → _shared/FieldLabel}/components/HelpButton.d.ts +1 -1
- package/dist/components/{FieldLabel → _shared/FieldLabel}/components/HelpButton.js +2 -2
- package/dist/components/{FieldLabel → _shared/FieldLabel}/components/HelpButton.module.js +1 -1
- package/dist/components/{FieldLabel → _shared/FieldLabel}/components/HelpButton_module.css +1 -1
- 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/{Info → _shared/Info}/Info.d.ts +3 -1
- package/dist/components/{Info → _shared/Info}/Info.js +9 -6
- package/dist/components/_shared/Info/Info.module.js +9 -0
- package/dist/components/{Info → _shared/Info}/Info_module.css +6 -6
- package/dist/components/_shared/Info/types/index.d.ts +6 -0
- package/dist/components/_shared/Info/types/index.js +5 -0
- package/dist/components/{InputClear → _shared/InputClear}/InputClear.d.ts +1 -1
- package/dist/components/{InputClear → _shared/InputClear}/InputClear.js +2 -2
- package/dist/components/{InputClear → _shared/InputClear}/InputClear.module.js +3 -3
- package/dist/components/{InputClear → _shared/InputClear}/InputClear_module.css +5 -5
- 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_module.css +0 -1
- package/dist/data-grid/cells/ImageCell/ImageMiniature/ImageMiniature_module.css +1 -1
- package/dist/data-grid/cells/components/TableNumberInput/TableNumberInput.d.ts +1 -0
- package/dist/data-grid/cells/components/TableNumberInput/TableNumberInput.js +17 -5
- package/dist/data-grid/cells/components/TableSelect/TableSelect.js +3 -2
- package/dist/data-grid/headers/components/Dropdown/Dropdown.d.ts +3 -0
- package/dist/data-grid/headers/components/HeaderBuilder/HeaderBuilder.js +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/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 +1 -1
- 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/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/index.d.ts +6 -0
- package/dist/icon/index.js +6 -0
- package/dist/index.d.ts +9 -1
- package/dist/index.js +8 -0
- package/dist/utils/checkIsArchivedValue.d.ts +2 -0
- package/dist/utils/checkIsArchivedValue.js +5 -0
- package/dist/utils/utils.d.ts +1 -0
- package/dist/utils/utils.js +1 -0
- package/package.json +70 -13
- package/dist/components/FieldLabel/FieldLabel.d.ts +0 -17
- package/dist/components/FieldLabel/FieldLabel.module.js +0 -11
- package/dist/components/Info/Info.module.js +0 -9
- 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/MentionsTextfield/OptionForStory/OptionForStory.d.ts +0 -7
- package/dist/components/MentionsTextfield/OptionForStory/OptionForStory.js +0 -27
- package/dist/components/MentionsTextfield/OptionForStory/OptionForStory.module.js +0 -8
- package/dist/components/MentionsTextfield/OptionForStory/OptionForStory_module.css +0 -25
- package/dist/components/MentionsTextfield/OptionForStory/index.d.ts +0 -1
- package/dist/components/MentionsTextfield/OptionForStory/index.js +0 -1
- package/dist/components/Textfield/components/Label/Label.d.ts +0 -11
- package/dist/components/Textfield/components/Label/Label.js +0 -38
- 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/components/{FieldLabel → _shared/FieldLabel}/FieldLabel.constants.d.ts +0 -0
- /package/dist/components/{FieldLabel → _shared/FieldLabel}/FieldLabel.constants.js +0 -0
- /package/dist/components/{FieldLabel → _shared/FieldLabel}/components/index.d.ts +0 -0
- /package/dist/components/{FieldLabel → _shared/FieldLabel}/components/index.js +0 -0
|
@@ -70,69 +70,81 @@ const ruLocaleValues = {
|
|
|
70
70
|
}
|
|
71
71
|
},
|
|
72
72
|
DateRangeFilter: {
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
dayQuickFilters: {
|
|
82
|
-
yesterday: 'Вчера',
|
|
83
|
-
today: 'Сегодня'
|
|
84
|
-
},
|
|
85
|
-
footer: {
|
|
86
|
-
timeSelectionToggle: 'Указать время',
|
|
87
|
-
timeSelectionToggleHint: 'Указать время можно только для\u00A0периода',
|
|
88
|
-
clearFilterButton: 'Сбросить фильтр'
|
|
89
|
-
},
|
|
90
|
-
slider: {
|
|
91
|
-
day: {
|
|
92
|
-
title: 'День',
|
|
93
|
-
placeholder: 'Выберите день',
|
|
94
|
-
dateFormat: 'd MMMM yyyy'
|
|
73
|
+
translate: {
|
|
74
|
+
radiobuttons: {
|
|
75
|
+
period: 'Период',
|
|
76
|
+
day: 'День',
|
|
77
|
+
week: 'Неделя',
|
|
78
|
+
month: 'Месяц',
|
|
79
|
+
anyDate: 'Указана любая дата',
|
|
80
|
+
noDate: 'Дата не указана'
|
|
95
81
|
},
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
82
|
+
dayQuickFilters: {
|
|
83
|
+
yesterday: 'Вчера',
|
|
84
|
+
today: 'Сегодня'
|
|
85
|
+
},
|
|
86
|
+
footer: {
|
|
87
|
+
timeSelectionToggle: 'Указать время',
|
|
88
|
+
timeSelectionToggleHint: 'Указать время можно только для\u00A0периода',
|
|
89
|
+
clearFilterButton: 'Сбросить фильтр'
|
|
90
|
+
},
|
|
91
|
+
slider: {
|
|
92
|
+
day: {
|
|
93
|
+
title: 'День',
|
|
94
|
+
placeholder: 'Выберите день'
|
|
95
|
+
},
|
|
96
|
+
week: {
|
|
97
|
+
title: 'Неделя',
|
|
98
|
+
placeholder: 'Выберите неделю'
|
|
108
99
|
},
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
100
|
+
month: {
|
|
101
|
+
title: 'Месяц',
|
|
102
|
+
placeholder: 'Выберите месяц'
|
|
103
|
+
}
|
|
104
|
+
}
|
|
105
|
+
},
|
|
106
|
+
format: {
|
|
107
|
+
slider: {
|
|
108
|
+
day: {
|
|
109
|
+
dateFormat: 'd MMMM yyyy'
|
|
110
|
+
},
|
|
111
|
+
week: {
|
|
112
|
+
dateFormat: {
|
|
113
|
+
sameMonth: {
|
|
114
|
+
firstDate: 'd',
|
|
115
|
+
endDate: 'd MMMM yyyy'
|
|
116
|
+
},
|
|
117
|
+
differentMonth: {
|
|
118
|
+
firstDate: 'd MMM',
|
|
119
|
+
endDate: 'd MMM yyyy'
|
|
120
|
+
}
|
|
113
121
|
},
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
122
|
+
tooltipDateFormat: {
|
|
123
|
+
sameMonth: {
|
|
124
|
+
firstDate: 'd',
|
|
125
|
+
endDate: 'd MMMM yyyy'
|
|
126
|
+
},
|
|
127
|
+
differentMonth: {
|
|
128
|
+
firstDate: 'd MMMM',
|
|
129
|
+
endDate: 'd MMMM yyyy'
|
|
130
|
+
}
|
|
117
131
|
}
|
|
132
|
+
},
|
|
133
|
+
month: {
|
|
134
|
+
dateFormat: 'LLLL yyyy'
|
|
118
135
|
}
|
|
119
136
|
},
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
137
|
+
monthCalendarFormat: 'LLLL',
|
|
138
|
+
dateFormat: 'dd.MM.yyyy',
|
|
139
|
+
dateWithTimeFormat: 'dd.MM.yyyy HH:mm',
|
|
140
|
+
emptyDate: {
|
|
141
|
+
withTime: '__.__.____ __:__',
|
|
142
|
+
withoutTime: '__.__.____'
|
|
143
|
+
},
|
|
144
|
+
inputMask: {
|
|
145
|
+
withTime: '99.99.9999 99:99',
|
|
146
|
+
withoutTime: '99.99.9999'
|
|
124
147
|
}
|
|
125
|
-
},
|
|
126
|
-
monthCalendarFormat: 'LLLL',
|
|
127
|
-
dateFormat: 'dd.MM.yyyy',
|
|
128
|
-
dateWithTimeFormat: 'dd.MM.yyyy HH:mm',
|
|
129
|
-
emptyDate: {
|
|
130
|
-
withTime: '__.__.____ __:__',
|
|
131
|
-
withoutTime: '__.__.____'
|
|
132
|
-
},
|
|
133
|
-
inputMask: {
|
|
134
|
-
withTime: '99.99.9999 99:99',
|
|
135
|
-
withoutTime: '99.99.9999'
|
|
136
148
|
}
|
|
137
149
|
}
|
|
138
150
|
};
|
|
@@ -1,3 +1,8 @@
|
|
|
1
|
+
import type { ValueOf } from '../../common';
|
|
1
2
|
import type { Locale } from './types';
|
|
2
3
|
export type LocaleComponentName = keyof Locale;
|
|
3
|
-
export declare
|
|
4
|
+
export declare const LocaleKey: {
|
|
5
|
+
readonly Locale: "locale";
|
|
6
|
+
readonly Lang: "lang";
|
|
7
|
+
};
|
|
8
|
+
export declare function useLocale<T extends LocaleComponentName = LocaleComponentName>(componentName?: T, getBy?: ValueOf<typeof LocaleKey>): Locale[T];
|
|
@@ -3,10 +3,19 @@ import { ELanguages, LocaleContext } from "../../context/index.js";
|
|
|
3
3
|
import { enLocaleValues } from "./en-US.js";
|
|
4
4
|
import { ruLocaleValues } from "./ru-RU.js";
|
|
5
5
|
const isEnLocale = (lang)=>lang === ELanguages.EN;
|
|
6
|
-
|
|
7
|
-
|
|
6
|
+
const LocaleKey = {
|
|
7
|
+
Locale: 'locale',
|
|
8
|
+
Lang: 'lang'
|
|
9
|
+
};
|
|
10
|
+
function useLocale(componentName, getBy = LocaleKey.Lang) {
|
|
11
|
+
const { lang, locale, translateValues: contextTranslations } = useContext(LocaleContext);
|
|
12
|
+
const languageValue = useMemo(()=>getBy === LocaleKey.Lang ? lang : locale, [
|
|
13
|
+
getBy,
|
|
14
|
+
lang,
|
|
15
|
+
locale
|
|
16
|
+
]);
|
|
8
17
|
return useMemo(()=>{
|
|
9
|
-
const result = isEnLocale(
|
|
18
|
+
const result = isEnLocale(languageValue) ? enLocaleValues : ruLocaleValues;
|
|
10
19
|
const componentContextTranslations = contextTranslations?.[componentName] ?? {};
|
|
11
20
|
return {
|
|
12
21
|
...result[componentName],
|
|
@@ -14,8 +23,8 @@ function useLocale(componentName) {
|
|
|
14
23
|
};
|
|
15
24
|
}, [
|
|
16
25
|
componentName,
|
|
17
|
-
|
|
26
|
+
languageValue,
|
|
18
27
|
contextTranslations
|
|
19
28
|
]);
|
|
20
29
|
}
|
|
21
|
-
export { useLocale };
|
|
30
|
+
export { LocaleKey, useLocale };
|
|
@@ -3,13 +3,19 @@ const useIsElementOverflowing = (deps = [], forwardRef = null)=>{
|
|
|
3
3
|
const ref = useRef(null);
|
|
4
4
|
const innerRef = forwardRef || ref;
|
|
5
5
|
const [isOverflowing, setIsOverflowing] = useState(false);
|
|
6
|
+
const getIsOverflowing = ()=>{
|
|
7
|
+
const element = innerRef.current;
|
|
8
|
+
if (!element) return false;
|
|
9
|
+
return element.scrollWidth > element.clientWidth;
|
|
10
|
+
};
|
|
6
11
|
useEffect(()=>{
|
|
7
12
|
const element = innerRef.current;
|
|
8
|
-
if (element) setIsOverflowing(
|
|
13
|
+
if (element) setIsOverflowing(getIsOverflowing());
|
|
9
14
|
}, deps);
|
|
10
15
|
return {
|
|
11
16
|
ref: innerRef,
|
|
12
|
-
isOverflowing
|
|
17
|
+
isOverflowing,
|
|
18
|
+
getIsOverflowing
|
|
13
19
|
};
|
|
14
20
|
};
|
|
15
21
|
export { useIsElementOverflowing };
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { useEffect, useRef, useState } from "react";
|
|
2
|
+
const useOverflowHint = (args)=>{
|
|
3
|
+
const targetRef = useRef(null);
|
|
4
|
+
const [needShowHint, setNeedShowHint] = useState(false);
|
|
5
|
+
useEffect(()=>{
|
|
6
|
+
if (!targetRef.current) return;
|
|
7
|
+
setNeedShowHint(targetRef.current.scrollWidth > targetRef.current.clientWidth);
|
|
8
|
+
}, [
|
|
9
|
+
args.targetText
|
|
10
|
+
]);
|
|
11
|
+
return {
|
|
12
|
+
targetRef,
|
|
13
|
+
needShowHint
|
|
14
|
+
};
|
|
15
|
+
};
|
|
16
|
+
export { useOverflowHint };
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import { jsx, jsxs } from "react/jsx-runtime";
|
|
2
|
+
const MsLogo12Icon = ({ stroke = 'currentColor', className })=>/*#__PURE__*/ jsxs("svg", {
|
|
3
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
4
|
+
width: 12,
|
|
5
|
+
height: 12,
|
|
6
|
+
fill: "none",
|
|
7
|
+
viewBox: "0 0 12 12",
|
|
8
|
+
className: className,
|
|
9
|
+
children: [
|
|
10
|
+
/*#__PURE__*/ jsx("path", {
|
|
11
|
+
stroke: stroke,
|
|
12
|
+
strokeLinecap: "round",
|
|
13
|
+
strokeLinejoin: "round",
|
|
14
|
+
strokeWidth: 0.9,
|
|
15
|
+
d: "M3.189 2.985c.837 0 1.271 1.416 2.202 3.23-.905 1.888-1.91 3.57-3.216 3.687q-.073.004-.144.005C1.064 9.907.5 9.21.5 8.105c0-1.4.47-2.685 1.03-3.622.538-.901 1.132-1.498 1.659-1.498"
|
|
16
|
+
}),
|
|
17
|
+
/*#__PURE__*/ jsx("path", {
|
|
18
|
+
stroke: stroke,
|
|
19
|
+
strokeLinecap: "round",
|
|
20
|
+
strokeLinejoin: "round",
|
|
21
|
+
strokeWidth: 0.9,
|
|
22
|
+
d: "M2.031 9.91c1.398 0 2.455-1.786 3.402-3.779.456-.966.881-1.979 1.307-2.837.466-.951.946-1.634 1.531-1.634.498 0 .965.413 1.43 1.044.965 1.308 1.799 3.525 1.799 4.979 0 1.218-.626 2.227-1.907 2.227z",
|
|
23
|
+
clipRule: "evenodd"
|
|
24
|
+
})
|
|
25
|
+
]
|
|
26
|
+
});
|
|
27
|
+
MsLogo12Icon.displayName = 'MsLogo12Icon';
|
|
28
|
+
export { MsLogo12Icon };
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import { jsx, jsxs } from "react/jsx-runtime";
|
|
2
|
+
const MsLogo16Icon = ({ stroke = 'currentColor', className })=>/*#__PURE__*/ jsxs("svg", {
|
|
3
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
4
|
+
width: 16,
|
|
5
|
+
height: 16,
|
|
6
|
+
fill: "none",
|
|
7
|
+
viewBox: "0 0 16 16",
|
|
8
|
+
className: className,
|
|
9
|
+
children: [
|
|
10
|
+
/*#__PURE__*/ jsx("path", {
|
|
11
|
+
stroke: stroke,
|
|
12
|
+
strokeLinecap: "round",
|
|
13
|
+
strokeLinejoin: "round",
|
|
14
|
+
d: "M4.21 3.938c1.129 0 1.715 1.91 2.97 4.355-1.22 2.547-2.575 4.814-4.336 4.973q-.1.005-.194.006c-1.305 0-2.066-.94-2.066-2.43 0-1.887.635-3.62 1.388-4.884.726-1.216 1.528-2.02 2.238-2.02"
|
|
15
|
+
}),
|
|
16
|
+
/*#__PURE__*/ jsx("path", {
|
|
17
|
+
stroke: stroke,
|
|
18
|
+
strokeLinecap: "round",
|
|
19
|
+
strokeLinejoin: "round",
|
|
20
|
+
d: "M2.648 13.276c1.885 0 3.31-2.409 4.588-5.096.615-1.303 1.188-2.668 1.762-3.825.63-1.283 1.275-2.203 2.065-2.203.67 0 1.301.556 1.928 1.407 1.301 1.764 2.425 4.753 2.425 6.714 0 1.642-.843 3.002-2.57 3.002z",
|
|
21
|
+
clipRule: "evenodd"
|
|
22
|
+
})
|
|
23
|
+
]
|
|
24
|
+
});
|
|
25
|
+
MsLogo16Icon.displayName = 'MsLogo16Icon';
|
|
26
|
+
export { MsLogo16Icon };
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import { jsx, jsxs } from "react/jsx-runtime";
|
|
2
|
+
const MsLogo20Icon = ({ stroke = 'currentColor', className })=>/*#__PURE__*/ jsxs("svg", {
|
|
3
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
4
|
+
width: 20,
|
|
5
|
+
height: 20,
|
|
6
|
+
fill: "none",
|
|
7
|
+
viewBox: "0 0 20 20",
|
|
8
|
+
className: className,
|
|
9
|
+
children: [
|
|
10
|
+
/*#__PURE__*/ jsx("path", {
|
|
11
|
+
stroke: stroke,
|
|
12
|
+
strokeLinecap: "round",
|
|
13
|
+
strokeLinejoin: "round",
|
|
14
|
+
strokeWidth: 1.1,
|
|
15
|
+
d: "M5.264 4.922c1.41 0 2.143 2.387 3.71 5.444-1.523 3.183-3.217 6.018-5.419 6.216q-.124.006-.243.008c-1.63 0-2.582-1.176-2.582-3.038 0-2.358.794-4.525 1.736-6.104.907-1.52 1.91-2.526 2.797-2.526"
|
|
16
|
+
}),
|
|
17
|
+
/*#__PURE__*/ jsx("path", {
|
|
18
|
+
stroke: stroke,
|
|
19
|
+
strokeLinecap: "round",
|
|
20
|
+
strokeLinejoin: "round",
|
|
21
|
+
strokeWidth: 1.1,
|
|
22
|
+
d: "M3.31 16.594c2.356 0 4.138-3.01 5.735-6.369.768-1.629 1.485-3.335 2.202-4.781.787-1.604 1.595-2.755 2.582-2.755.838 0 1.626.696 2.41 1.759 1.626 2.206 3.031 5.942 3.031 8.393 0 2.053-1.053 3.753-3.213 3.753z",
|
|
23
|
+
clipRule: "evenodd"
|
|
24
|
+
})
|
|
25
|
+
]
|
|
26
|
+
});
|
|
27
|
+
MsLogo20Icon.displayName = 'MsLogo20Icon';
|
|
28
|
+
export { MsLogo20Icon };
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { jsx } from "react/jsx-runtime";
|
|
2
|
+
const Phone12Icon = ({ stroke = 'currentColor', className })=>/*#__PURE__*/ jsx("svg", {
|
|
3
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
4
|
+
width: 12,
|
|
5
|
+
height: 12,
|
|
6
|
+
fill: "none",
|
|
7
|
+
viewBox: "0 0 12 12",
|
|
8
|
+
className: className,
|
|
9
|
+
children: /*#__PURE__*/ jsx("path", {
|
|
10
|
+
stroke: stroke,
|
|
11
|
+
strokeLinecap: "round",
|
|
12
|
+
strokeLinejoin: "round",
|
|
13
|
+
strokeWidth: 0.9,
|
|
14
|
+
d: "M7.509 11.143a2.734 2.734 0 0 0 3.428-.378l.386-.377a.926.926 0 0 0 0-1.294l-1.637-1.62a.917.917 0 0 0-1.286 0v0a.926.926 0 0 1-1.294 0L4.534 4.903a.91.91 0 0 1 0-1.295v0a.917.917 0 0 0 0-1.285L2.906.694a.926.926 0 0 0-1.294 0l-.378.386a2.734 2.734 0 0 0-.377 3.428 24.8 24.8 0 0 0 6.652 6.635"
|
|
15
|
+
})
|
|
16
|
+
});
|
|
17
|
+
Phone12Icon.displayName = 'Phone12Icon';
|
|
18
|
+
export { Phone12Icon };
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { jsx } from "react/jsx-runtime";
|
|
2
|
+
const Phone16Icon = ({ stroke = 'currentColor', className })=>/*#__PURE__*/ jsx("svg", {
|
|
3
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
4
|
+
width: 16,
|
|
5
|
+
height: 16,
|
|
6
|
+
fill: "none",
|
|
7
|
+
viewBox: "0 0 16 16",
|
|
8
|
+
className: className,
|
|
9
|
+
children: /*#__PURE__*/ jsx("path", {
|
|
10
|
+
stroke: stroke,
|
|
11
|
+
strokeLinecap: "round",
|
|
12
|
+
strokeLinejoin: "round",
|
|
13
|
+
d: "M10.012 14.857a3.645 3.645 0 0 0 4.571-.503l.514-.503a1.234 1.234 0 0 0 0-1.726l-2.182-2.16a1.223 1.223 0 0 0-1.715 0v0a1.234 1.234 0 0 1-1.726 0L6.046 6.537a1.21 1.21 0 0 1 0-1.726v0a1.223 1.223 0 0 0 0-1.714L3.874.925a1.234 1.234 0 0 0-1.725 0l-.503.515a3.646 3.646 0 0 0-.503 4.571 33.1 33.1 0 0 0 8.869 8.846"
|
|
14
|
+
})
|
|
15
|
+
});
|
|
16
|
+
Phone16Icon.displayName = 'Phone16Icon';
|
|
17
|
+
export { Phone16Icon };
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { jsx } from "react/jsx-runtime";
|
|
2
|
+
const Phone20Icon = ({ stroke = 'currentColor', className })=>/*#__PURE__*/ jsx("svg", {
|
|
3
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
4
|
+
width: 20,
|
|
5
|
+
height: 20,
|
|
6
|
+
fill: "none",
|
|
7
|
+
viewBox: "0 0 20 20",
|
|
8
|
+
className: className,
|
|
9
|
+
children: /*#__PURE__*/ jsx("path", {
|
|
10
|
+
stroke: stroke,
|
|
11
|
+
strokeLinecap: "round",
|
|
12
|
+
strokeLinejoin: "round",
|
|
13
|
+
strokeWidth: 1.1,
|
|
14
|
+
d: "M12.515 18.571a4.56 4.56 0 0 0 5.714-.629l.643-.628a1.543 1.543 0 0 0 0-2.157l-2.729-2.7a1.53 1.53 0 0 0-2.143 0v0a1.54 1.54 0 0 1-2.157 0L7.557 8.17a1.514 1.514 0 0 1 0-2.157v0a1.53 1.53 0 0 0 0-2.143L4.843 1.157a1.543 1.543 0 0 0-2.157 0l-.629.643a4.56 4.56 0 0 0-.628 5.714A41.3 41.3 0 0 0 12.515 18.57"
|
|
15
|
+
})
|
|
16
|
+
});
|
|
17
|
+
Phone20Icon.displayName = 'Phone20Icon';
|
|
18
|
+
export { Phone20Icon };
|
package/dist/icon/index.d.ts
CHANGED
|
@@ -160,6 +160,9 @@ export { Minus20Icon } from './components/Minus20Icon';
|
|
|
160
160
|
export { Money12Icon } from './components/Money12Icon';
|
|
161
161
|
export { Money16Icon } from './components/Money16Icon';
|
|
162
162
|
export { Money20Icon } from './components/Money20Icon';
|
|
163
|
+
export { MsLogo12Icon } from './components/MsLogo12Icon';
|
|
164
|
+
export { MsLogo16Icon } from './components/MsLogo16Icon';
|
|
165
|
+
export { MsLogo20Icon } from './components/MsLogo20Icon';
|
|
163
166
|
export { MyApps12Icon } from './components/MyApps12Icon';
|
|
164
167
|
export { MyApps16Icon } from './components/MyApps16Icon';
|
|
165
168
|
export { MyApps20Icon } from './components/MyApps20Icon';
|
|
@@ -195,6 +198,9 @@ export { OrderDesc20Icon } from './components/OrderDesc20Icon';
|
|
|
195
198
|
export { OrderMain12Icon } from './components/OrderMain12Icon';
|
|
196
199
|
export { OrderMain16Icon } from './components/OrderMain16Icon';
|
|
197
200
|
export { OrderMain20Icon } from './components/OrderMain20Icon';
|
|
201
|
+
export { Phone12Icon } from './components/Phone12Icon';
|
|
202
|
+
export { Phone16Icon } from './components/Phone16Icon';
|
|
203
|
+
export { Phone20Icon } from './components/Phone20Icon';
|
|
198
204
|
export { PipelineSettings12Icon } from './components/PipelineSettings12Icon';
|
|
199
205
|
export { PipelineSettings16Icon } from './components/PipelineSettings16Icon';
|
|
200
206
|
export { PipelineSettings20Icon } from './components/PipelineSettings20Icon';
|
package/dist/icon/index.js
CHANGED
|
@@ -157,6 +157,9 @@ export { Minus20Icon } from "./components/Minus20Icon.js";
|
|
|
157
157
|
export { Money12Icon } from "./components/Money12Icon.js";
|
|
158
158
|
export { Money16Icon } from "./components/Money16Icon.js";
|
|
159
159
|
export { Money20Icon } from "./components/Money20Icon.js";
|
|
160
|
+
export { MsLogo12Icon } from "./components/MsLogo12Icon.js";
|
|
161
|
+
export { MsLogo16Icon } from "./components/MsLogo16Icon.js";
|
|
162
|
+
export { MsLogo20Icon } from "./components/MsLogo20Icon.js";
|
|
160
163
|
export { MyApps12Icon } from "./components/MyApps12Icon.js";
|
|
161
164
|
export { MyApps16Icon } from "./components/MyApps16Icon.js";
|
|
162
165
|
export { MyApps20Icon } from "./components/MyApps20Icon.js";
|
|
@@ -192,6 +195,9 @@ export { OrderDesc20Icon } from "./components/OrderDesc20Icon.js";
|
|
|
192
195
|
export { OrderMain12Icon } from "./components/OrderMain12Icon.js";
|
|
193
196
|
export { OrderMain16Icon } from "./components/OrderMain16Icon.js";
|
|
194
197
|
export { OrderMain20Icon } from "./components/OrderMain20Icon.js";
|
|
198
|
+
export { Phone12Icon } from "./components/Phone12Icon.js";
|
|
199
|
+
export { Phone16Icon } from "./components/Phone16Icon.js";
|
|
200
|
+
export { Phone20Icon } from "./components/Phone20Icon.js";
|
|
195
201
|
export { PipelineSettings12Icon } from "./components/PipelineSettings12Icon.js";
|
|
196
202
|
export { PipelineSettings16Icon } from "./components/PipelineSettings16Icon.js";
|
|
197
203
|
export { PipelineSettings20Icon } from "./components/PipelineSettings20Icon.js";
|
package/dist/index.d.ts
CHANGED
|
@@ -2,6 +2,7 @@ export * from './common';
|
|
|
2
2
|
export { AutoComplete, type AutoCompleteProps, } from './components/AutoComplete/AutoComplete';
|
|
3
3
|
export { Badge, badgeColors, type BadgeProps, type BadgeVariant, } from './components/Badge/Badge';
|
|
4
4
|
export { Banner, type IBannerProps } from './components/Banner/Banner';
|
|
5
|
+
export { BentoBlock, BentoBlockPaddingVariant, type BentoBlockProps, BentoBlockTag, } from './components/BentoBlock/BentoBlock';
|
|
5
6
|
export { BodyL, type BodyLProps } from './components/BodyL/BodyL';
|
|
6
7
|
export { BodyText, type BodyTextProps } from './components/BodyText/BodyText';
|
|
7
8
|
export { BodyTextStrong, type BodyTextStrongProps, } from './components/BodyTextStrong/BodyTextStrong';
|
|
@@ -17,8 +18,10 @@ export { Checkbox, type CheckboxProps } from './components/Checkbox/Checkbox';
|
|
|
17
18
|
export { Chip, type ChipProps } from './components/Chip/Chip';
|
|
18
19
|
export { Counter, type CounterProps, CounterVariant, type CounterVariantValue, } from './components/Counter/Counter';
|
|
19
20
|
export { type DateFormatOptions, Datepicker, type DatepickerProps, EHeaderState, type HeaderStateValue, type TLocaleFormat, type TPickerPreset, } from './components/Datepicker/Datepicker';
|
|
21
|
+
export { DateRange, type DateRangeAnyDateValue, type DateRangeDayValue, type DateRangeFeatureProps, type DateRangeLocale, type DateRangeMonthValue, type DateRangeNoDateValue, type DateRangeProps, type DateRangeRangeValue, type DateRangeRenderInputOptions, type DateRangeValue, type DateRangeWeekValue, type DateSelectVariant, type DatesPeriod, getPeriodValue, getRangeDates, isAnyDateValue, isDayValue, isMonthValue, isNoDateValue, isRangeValue, isValueNullable, isValuePeriod, isWeekValue, } from './components/DateRange';
|
|
20
22
|
export { Dot, DotColor, type DotColorValue, type DotDefaultProps, type DotNumberProps, type DotProps, DotVariant, type DotVariantValue, } from './components/Dot/Dot';
|
|
21
23
|
export { Dropdown, DropdownDivider, type DropdownProps, useDropdown, } from './components/Dropdown/Dropdown';
|
|
24
|
+
export { EditableDate, type EditableDateProps, } from './components/EditableDate/EditableDate';
|
|
22
25
|
export { EditableTitle, type EditableTitleProps, } from './components/EditableTitle/EditableTitle';
|
|
23
26
|
export { EmptyState, type EmptyStateProps, EmptyStateSize, } from './components/EmptyState/EmptyState';
|
|
24
27
|
export { EmptyStateLarge, EmptyStateLargeActionsPlacement, type EmptyStateLargeProps, } from './components/EmptyStateLarge/EmptyStateLarge';
|
|
@@ -31,18 +34,22 @@ export { Header, type HeaderProps } from './components/Header/Header';
|
|
|
31
34
|
export { Help, type HelpProps, HelpSize, type HelpSizeValue, } from './components/Help/Help';
|
|
32
35
|
export { Hint, type HintProps, HintVariant, type HintVariantValue, } from './components/Hint/Hint';
|
|
33
36
|
export { HStack, type HStackProps, HStackSize, type HStackSizeValue, } from './components/HStack/HStack';
|
|
37
|
+
export { Informer, type InformerProps, InformerVariant, type InformerVariantValue, } from './components/Informer/Informer';
|
|
34
38
|
export { Input, type InputProps } from './components/Input/Input';
|
|
35
39
|
export { InputUnit, type InputUnitProps, } from './components/InputUnit/InputUnit';
|
|
36
40
|
export { LabelValueCheckbox, type LabelValueCheckboxProps, } from './components/LabelValueCheckbox/LabelValueCheckbox';
|
|
37
41
|
export { LabelValueDate, type LabelValueDateProps, } from './components/LabelValueDate/LabelValueDate';
|
|
42
|
+
export { LabelValueFile, type LabelValueFileProps, } from './components/LabelValueFile/LabelValueFile';
|
|
38
43
|
export { LabelValueInput, type LabelValueInputProps, } from './components/LabelValueInput/LabelValueInput';
|
|
44
|
+
export { LabelValueLink } from './components/LabelValueLink/LabelValueLink';
|
|
39
45
|
export { LabelValueSelect, type LabelValueSelectProps, type SelectValueBlockContentArgs, } from './components/LabelValueSelect/LabelValueSelect';
|
|
40
46
|
export { LabelValueTextfield, type LabelValueTextfieldProps, } from './components/LabelValueTextfield/LabelValueTextfield';
|
|
47
|
+
export { Layout, type LayoutProps } from './components/Layout/Layout';
|
|
41
48
|
export { Link, type LinkProps } from './components/Link/Link';
|
|
42
49
|
export { Listing, type ListingProps, ListingVariant, type ListingVariantValue, } from './components/Listing/Listing';
|
|
43
50
|
export { MentionsTextfield, type MentionTextfieldProps, type TMentionOption, type TMentionsMap, type TMentionValue, } from './components/MentionsTextfield/MentionsTextfield';
|
|
44
51
|
export { type IModalProps, Modal } from './components/Modal/Modal';
|
|
45
|
-
export { AsyncDropdownContextProvider, type AsyncDropdownContextProviderProps, type AsyncDropdownContextValues, chipStyles, DropdownContent, type DropdownContentProps, DropdownContentStatus, type DropdownContentStatusProps, type DropdownItem, Multiselect, type MultiselectProps, SelectedItemArchive, type SelectedItemArchiveProps, ShortDropdownContent, type ShortDropdownContentProps, TooltipedChip, type TooltipedChipProps, useAsyncDropdownContext, useChipsKeyDown, } from './components/Multiselect/Multiselect';
|
|
52
|
+
export { type AllSelectedChipTextVariant, AsyncDropdownContextProvider, type AsyncDropdownContextProviderProps, type AsyncDropdownContextValues, chipStyles, DropdownContent, type DropdownContentProps, DropdownContentStatus, type DropdownContentStatusProps, type DropdownItem, type GetAllSelectedChipText, Multiselect, type MultiselectProps, SelectedItemArchive, type SelectedItemArchiveProps, ShortDropdownContent, type ShortDropdownContentProps, TooltipedChip, type TooltipedChipProps, useAsyncDropdownContext, useChipsKeyDown, } from './components/Multiselect/Multiselect';
|
|
46
53
|
export { type IOverlayActionsProps, OverlayActions, } from './components/OverlayActions/OverlayActions';
|
|
47
54
|
export { Pagination, type PaginationProps, } from './components/Pagination/Pagination';
|
|
48
55
|
export { type IProgressbarProps, Progressbar, } from './components/Progressbar/Progressbar';
|
|
@@ -58,6 +65,7 @@ export { type ISidepageProps, Sidepage, SidepageContent, SidepageFooter, Sidepag
|
|
|
58
65
|
export { Skeleton, type SkeletonProps } from './components/Skeleton/Skeleton';
|
|
59
66
|
export { closeSnackbarById, Snackbar, type SnackbarOptions, useSnackbar, } from './components/Snackbar/Snackbar';
|
|
60
67
|
export { Spinner, SpinnerChildrenPosition, type SpinnerChildrenPositionValue, type SpinnerProps, SpinnerSize, type SpinnerSizeValue, } from './components/Spinner/Spinner';
|
|
68
|
+
export { StatusBadge, type StatusBadgeOption, type StatusBadgeProps, StatusBadgeSize, type StatusBadgeSizeType, StatusColor, type StatusColorType, } from './components/StatusBadge/StatusBadge';
|
|
61
69
|
export { Switch, type SwitchItem, type SwitchProps, } from './components/Switch/Switch';
|
|
62
70
|
export { type TabItemProps, Tabs, type TabSelectedValue, TabSize, type TabSizeValue, type TabsProps, } from './components/Tabs/Tabs';
|
|
63
71
|
export { Text, TextColor, type TextColorToken, type TextProps, TextTag, type TextTagValue, TextVariant, type TextVariantValue, } from './components/Text/Text';
|
package/dist/index.js
CHANGED
|
@@ -7,6 +7,7 @@ export * from "./utils/index.js";
|
|
|
7
7
|
export { AutoComplete } from "./components/AutoComplete/AutoComplete.js";
|
|
8
8
|
export { Badge, badgeColors } from "./components/Badge/Badge.js";
|
|
9
9
|
export { Banner } from "./components/Banner/Banner.js";
|
|
10
|
+
export { BentoBlock, BentoBlockPaddingVariant, BentoBlockTag } from "./components/BentoBlock/BentoBlock.js";
|
|
10
11
|
export { BodyL } from "./components/BodyL/BodyL.js";
|
|
11
12
|
export { BodyText } from "./components/BodyText/BodyText.js";
|
|
12
13
|
export { BodyTextStrong } from "./components/BodyTextStrong/BodyTextStrong.js";
|
|
@@ -22,8 +23,10 @@ export { Checkbox } from "./components/Checkbox/Checkbox.js";
|
|
|
22
23
|
export { Chip } from "./components/Chip/Chip.js";
|
|
23
24
|
export { Counter, CounterVariant } from "./components/Counter/Counter.js";
|
|
24
25
|
export { Datepicker, EHeaderState } from "./components/Datepicker/Datepicker.js";
|
|
26
|
+
export { DateRange, getPeriodValue, getRangeDates, isAnyDateValue, isDayValue, isMonthValue, isNoDateValue, isRangeValue, isValueNullable, isValuePeriod, isWeekValue } from "./components/DateRange/index.js";
|
|
25
27
|
export { Dot, DotColor, DotVariant } from "./components/Dot/Dot.js";
|
|
26
28
|
export { Dropdown, DropdownDivider, useDropdown } from "./components/Dropdown/Dropdown.js";
|
|
29
|
+
export { EditableDate } from "./components/EditableDate/EditableDate.js";
|
|
27
30
|
export { EditableTitle } from "./components/EditableTitle/EditableTitle.js";
|
|
28
31
|
export { EmptyState, EmptyStateSize } from "./components/EmptyState/EmptyState.js";
|
|
29
32
|
export { EmptyStateLarge, EmptyStateLargeActionsPlacement } from "./components/EmptyStateLarge/EmptyStateLarge.js";
|
|
@@ -36,13 +39,17 @@ export { Header } from "./components/Header/Header.js";
|
|
|
36
39
|
export { Help, HelpSize } from "./components/Help/Help.js";
|
|
37
40
|
export { Hint, HintVariant } from "./components/Hint/Hint.js";
|
|
38
41
|
export { HStack, HStackSize } from "./components/HStack/HStack.js";
|
|
42
|
+
export { Informer, InformerVariant } from "./components/Informer/Informer.js";
|
|
39
43
|
export { Input } from "./components/Input/Input.js";
|
|
40
44
|
export { InputUnit } from "./components/InputUnit/InputUnit.js";
|
|
41
45
|
export { LabelValueCheckbox } from "./components/LabelValueCheckbox/LabelValueCheckbox.js";
|
|
42
46
|
export { LabelValueDate } from "./components/LabelValueDate/LabelValueDate.js";
|
|
47
|
+
export { LabelValueFile } from "./components/LabelValueFile/LabelValueFile.js";
|
|
43
48
|
export { LabelValueInput } from "./components/LabelValueInput/LabelValueInput.js";
|
|
49
|
+
export { LabelValueLink } from "./components/LabelValueLink/LabelValueLink.js";
|
|
44
50
|
export { LabelValueSelect } from "./components/LabelValueSelect/LabelValueSelect.js";
|
|
45
51
|
export { LabelValueTextfield } from "./components/LabelValueTextfield/LabelValueTextfield.js";
|
|
52
|
+
export { Layout } from "./components/Layout/Layout.js";
|
|
46
53
|
export { Link } from "./components/Link/Link.js";
|
|
47
54
|
export { Listing, ListingVariant } from "./components/Listing/Listing.js";
|
|
48
55
|
export { MentionsTextfield } from "./components/MentionsTextfield/MentionsTextfield.js";
|
|
@@ -63,6 +70,7 @@ export { Sidepage, SidepageContent, SidepageFooter, SidepageHeader, SidepageMode
|
|
|
63
70
|
export { Skeleton } from "./components/Skeleton/Skeleton.js";
|
|
64
71
|
export { Snackbar, closeSnackbarById, useSnackbar } from "./components/Snackbar/Snackbar.js";
|
|
65
72
|
export { Spinner, SpinnerChildrenPosition, SpinnerSize } from "./components/Spinner/Spinner.js";
|
|
73
|
+
export { StatusBadge, StatusBadgeSize, StatusColor } from "./components/StatusBadge/StatusBadge.js";
|
|
66
74
|
export { Switch } from "./components/Switch/Switch.js";
|
|
67
75
|
export { TabSize, Tabs } from "./components/Tabs/Tabs.js";
|
|
68
76
|
export { Text, TextColor, TextTag, TextVariant } from "./components/Text/Text.js";
|
package/dist/utils/utils.d.ts
CHANGED
package/dist/utils/utils.js
CHANGED
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
export * from "./keyDown/const.js";
|
|
2
|
+
export { checkIsArchivedValue } from "./checkIsArchivedValue.js";
|
|
2
3
|
export { debounce } from "./debounce/debounce.js";
|
|
3
4
|
export { formatFloatNumber } from "./format/formatFloatNumber.js";
|
|
4
5
|
export { removeZeroWithSpace } from "./format/removeZeroWithSpace/removeZeroWithSpace.js";
|