@astral/ui 4.118.0 → 4.119.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/components/DataGrid/Body/types.d.ts +0 -4
- package/components/DataGrid/Cell/useLogic/useLogic.js +2 -1
- package/components/DataGrid/DataGrid.d.ts +1 -1
- package/components/DataGrid/DataGrid.js +9 -5
- package/components/DataGrid/DataGridContext/DataGridContext.d.ts +0 -1
- package/components/DataGrid/DataGridContext/DataGridContext.js +0 -1
- package/components/DataGrid/DataGridContext/DataGridProvider/DataGridProvider.d.ts +2 -2
- package/components/DataGrid/DataGridContext/DataGridProvider/DataGridProvider.js +1 -3
- package/components/DataGrid/Head/Head.d.ts +16 -7
- package/components/DataGrid/Head/Head.js +6 -3
- package/components/DataGrid/Head/HeadColumns/GroupColumns/GroupColumns.d.ts +2 -2
- package/components/DataGrid/Head/HeadColumns/GroupColumns/GroupColumns.js +4 -1
- package/components/DataGrid/Head/HeadColumns/HeadColumns.d.ts +2 -2
- package/components/DataGrid/Head/HeadColumns/HeadColumns.js +2 -2
- package/components/DataGrid/Head/HeadColumns/SingleColumn/SingleColumn.d.ts +3 -3
- package/components/DataGrid/Head/HeadColumns/useLogic/useLogic.d.ts +1 -1
- package/components/DataGrid/Head/HeadColumns/utils/getHeadCellProps.d.ts +1 -1
- package/components/DataGrid/Head/HeadColumns/utils/getHeadCellProps.js +4 -2
- package/components/DataGrid/Head/styles.d.ts +0 -2
- package/components/DataGrid/Head/styles.js +4 -4
- package/components/DataGrid/Head/useLogic/useLogic.d.ts +5 -0
- package/components/DataGrid/Head/useLogic/useLogic.js +7 -0
- package/components/DataGrid/HeadCell/HeadCell.d.ts +3 -3
- package/components/DataGrid/HeadCell/useLogic/useLogic.d.ts +2 -2
- package/components/DataGrid/PinnedSections/PinnedSections.d.ts +4 -8
- package/components/DataGrid/PinnedSections/PinnedSections.js +2 -2
- package/components/DataGrid/PinnedSections/Section/Section.d.ts +1 -1
- package/components/DataGrid/PinnedSections/Section/Section.js +3 -1
- package/components/DataGrid/PinnedSections/Section/types.d.ts +3 -3
- package/components/DataGrid/PinnedSections/styles.d.ts +0 -2
- package/components/DataGrid/PinnedSections/styles.js +1 -1
- package/components/DataGrid/Row/NestedChildren/NestedChildren.d.ts +0 -4
- package/components/DataGrid/Row/NestedChildren/NestedChildren.js +2 -2
- package/components/DataGrid/Row/NestedChildren/styles.d.ts +0 -1
- package/components/DataGrid/Row/NestedChildren/styles.js +2 -2
- package/components/DataGrid/Row/Row.js +3 -4
- package/components/DataGrid/Row/styles.d.ts +0 -2
- package/components/DataGrid/Row/styles.js +1 -1
- package/components/DataGrid/Row/types.d.ts +0 -4
- package/components/DataGrid/RowBase/styles.js +1 -3
- package/components/DataGrid/RowBase/types.d.ts +0 -4
- package/components/DataGrid/RowBase/useLogic/useLogic.d.ts +1 -1
- package/components/DataGrid/RowBase/useLogic/useLogic.js +1 -2
- package/components/DataGrid/constants.d.ts +5 -0
- package/components/DataGrid/constants.js +5 -0
- package/components/DataGrid/hooks/index.d.ts +1 -0
- package/components/DataGrid/hooks/index.js +1 -0
- package/components/DataGrid/hooks/usePlugins/index.d.ts +1 -0
- package/components/DataGrid/hooks/usePlugins/index.js +1 -0
- package/components/DataGrid/hooks/usePlugins/usePlugins.d.ts +319 -0
- package/components/DataGrid/hooks/usePlugins/usePlugins.js +54 -0
- package/components/DataGrid/index.d.ts +1 -1
- package/components/DataGrid/plugins/resize/ResizeHeadAddon/ResizeHeadAddon.d.ts +5 -0
- package/components/DataGrid/plugins/resize/ResizeHeadAddon/ResizeHeadAddon.js +21 -0
- package/components/DataGrid/plugins/resize/ResizeHeadAddon/index.d.ts +1 -0
- package/components/DataGrid/plugins/resize/ResizeHeadAddon/index.js +1 -0
- package/components/DataGrid/plugins/resize/ResizeHeadAddon/styles.d.ts +5 -0
- package/components/DataGrid/plugins/resize/ResizeHeadAddon/styles.js +76 -0
- package/components/DataGrid/plugins/resize/ResizePlugin.d.ts +8 -0
- package/components/DataGrid/plugins/resize/ResizePlugin.js +14 -0
- package/components/DataGrid/plugins/resize/constants.d.ts +9 -0
- package/components/DataGrid/plugins/resize/constants.js +9 -0
- package/components/DataGrid/plugins/resize/hooks/index.d.ts +1 -0
- package/components/DataGrid/plugins/resize/hooks/index.js +1 -0
- package/components/DataGrid/plugins/resize/hooks/useResize/hooks/index.d.ts +2 -0
- package/components/DataGrid/plugins/resize/hooks/useResize/hooks/index.js +2 -0
- package/components/DataGrid/plugins/resize/hooks/useResize/hooks/useResizeStorage/index.d.ts +1 -0
- package/components/DataGrid/plugins/resize/hooks/useResize/hooks/useResizeStorage/index.js +1 -0
- package/components/DataGrid/plugins/resize/hooks/useResize/hooks/useResizeStorage/useResizeStorage.d.ts +22 -0
- package/components/DataGrid/plugins/resize/hooks/useResize/hooks/useResizeStorage/useResizeStorage.js +20 -0
- package/components/DataGrid/plugins/resize/hooks/useResize/hooks/useTrackWidths/index.d.ts +1 -0
- package/components/DataGrid/plugins/resize/hooks/useResize/hooks/useTrackWidths/index.js +1 -0
- package/components/DataGrid/plugins/resize/hooks/useResize/hooks/useTrackWidths/useTrackWidths.d.ts +20 -0
- package/components/DataGrid/plugins/resize/hooks/useResize/hooks/useTrackWidths/useTrackWidths.js +33 -0
- package/components/DataGrid/plugins/resize/hooks/useResize/index.d.ts +1 -0
- package/components/DataGrid/plugins/resize/hooks/useResize/index.js +1 -0
- package/components/DataGrid/plugins/resize/hooks/useResize/useResize.d.ts +15 -0
- package/components/DataGrid/plugins/resize/hooks/useResize/useResize.js +164 -0
- package/components/DataGrid/plugins/resize/index.d.ts +2 -0
- package/components/DataGrid/plugins/resize/index.js +1 -0
- package/components/DataGrid/plugins/resize/public.d.ts +2 -0
- package/components/DataGrid/plugins/resize/public.js +1 -0
- package/components/DataGrid/plugins/resize/types.d.ts +54 -0
- package/components/DataGrid/plugins/resize/utils/assertResizeConfig/assertResizeConfig.d.ts +5 -0
- package/components/DataGrid/plugins/resize/utils/assertResizeConfig/assertResizeConfig.js +21 -0
- package/components/DataGrid/plugins/resize/utils/assertResizeConfig/index.d.ts +1 -0
- package/components/DataGrid/plugins/resize/utils/assertResizeConfig/index.js +1 -0
- package/components/DataGrid/plugins/resize/utils/getFixedColumnsList/getFixedColumnsList.d.ts +6 -0
- package/components/DataGrid/plugins/resize/utils/getFixedColumnsList/getFixedColumnsList.js +5 -0
- package/components/DataGrid/plugins/resize/utils/getFixedColumnsList/index.d.ts +1 -0
- package/components/DataGrid/plugins/resize/utils/getFixedColumnsList/index.js +1 -0
- package/components/DataGrid/plugins/resize/utils/getFractionsList/getFractionsList.d.ts +4 -0
- package/components/DataGrid/plugins/resize/utils/getFractionsList/getFractionsList.js +10 -0
- package/components/DataGrid/plugins/resize/utils/getFractionsList/index.d.ts +1 -0
- package/components/DataGrid/plugins/resize/utils/getFractionsList/index.js +1 -0
- package/components/DataGrid/plugins/resize/utils/getHandleOffsetsList/getHandleOffsetsList.d.ts +4 -0
- package/components/DataGrid/plugins/resize/utils/getHandleOffsetsList/getHandleOffsetsList.js +10 -0
- package/components/DataGrid/plugins/resize/utils/getHandleOffsetsList/index.d.ts +1 -0
- package/components/DataGrid/plugins/resize/utils/getHandleOffsetsList/index.js +1 -0
- package/components/DataGrid/plugins/resize/utils/getMinWidthsList/getMinWidthsList.d.ts +6 -0
- package/components/DataGrid/plugins/resize/utils/getMinWidthsList/getMinWidthsList.js +4 -0
- package/components/DataGrid/plugins/resize/utils/getMinWidthsList/index.d.ts +1 -0
- package/components/DataGrid/plugins/resize/utils/getMinWidthsList/index.js +1 -0
- package/components/DataGrid/plugins/resize/utils/getResizedGridColumns/getResizedGridColumns.d.ts +22 -0
- package/components/DataGrid/plugins/resize/utils/getResizedGridColumns/getResizedGridColumns.js +15 -0
- package/components/DataGrid/plugins/resize/utils/getResizedGridColumns/index.d.ts +1 -0
- package/components/DataGrid/plugins/resize/utils/getResizedGridColumns/index.js +1 -0
- package/components/DataGrid/plugins/resize/utils/getStorageKey/getStorageKey.d.ts +4 -0
- package/components/DataGrid/plugins/resize/utils/getStorageKey/getStorageKey.js +5 -0
- package/components/DataGrid/plugins/resize/utils/getStorageKey/index.d.ts +1 -0
- package/components/DataGrid/plugins/resize/utils/getStorageKey/index.js +1 -0
- package/components/DataGrid/plugins/resize/utils/getTrackWidthsList/getTrackWidthsList.d.ts +5 -0
- package/components/DataGrid/plugins/resize/utils/getTrackWidthsList/getTrackWidthsList.js +8 -0
- package/components/DataGrid/plugins/resize/utils/getTrackWidthsList/index.d.ts +1 -0
- package/components/DataGrid/plugins/resize/utils/getTrackWidthsList/index.js +1 -0
- package/components/DataGrid/plugins/resize/utils/index.d.ts +10 -0
- package/components/DataGrid/plugins/resize/utils/index.js +10 -0
- package/components/DataGrid/plugins/resize/utils/parseStorageValue/index.d.ts +1 -0
- package/components/DataGrid/plugins/resize/utils/parseStorageValue/index.js +1 -0
- package/components/DataGrid/plugins/resize/utils/parseStorageValue/parseStorageValue.d.ts +19 -0
- package/components/DataGrid/plugins/resize/utils/parseStorageValue/parseStorageValue.js +27 -0
- package/components/DataGrid/plugins/resize/utils/resizeAdjacentColumns/index.d.ts +1 -0
- package/components/DataGrid/plugins/resize/utils/resizeAdjacentColumns/index.js +1 -0
- package/components/DataGrid/plugins/resize/utils/resizeAdjacentColumns/resizeAdjacentColumns.d.ts +25 -0
- package/components/DataGrid/plugins/resize/utils/resizeAdjacentColumns/resizeAdjacentColumns.js +21 -0
- package/components/DataGrid/public.d.ts +1 -1
- package/components/DataGrid/styles.js +19 -2
- package/components/DataGrid/tests/resize/resizeHelper.d.ts +37 -0
- package/components/DataGrid/tests/resize/resizeHelper.js +66 -0
- package/components/DataGrid/types.d.ts +50 -8
- package/components/DataGrid/useLogic/useLogic.d.ts +293 -3
- package/components/DataGrid/useLogic/useLogic.js +13 -4
- package/components/DataGrid/utils/assertUniquePlugins/assertUniquePlugins.d.ts +5 -0
- package/components/DataGrid/utils/assertUniquePlugins/assertUniquePlugins.js +12 -0
- package/components/DataGrid/utils/assertUniquePlugins/index.d.ts +1 -0
- package/components/DataGrid/utils/assertUniquePlugins/index.js +1 -0
- package/components/DataGrid/utils/findPlugin/findPlugin.d.ts +5 -0
- package/components/DataGrid/utils/findPlugin/findPlugin.js +4 -0
- package/components/DataGrid/utils/findPlugin/index.d.ts +1 -0
- package/components/DataGrid/utils/findPlugin/index.js +1 -0
- package/components/DataGrid/utils/getAutoTableId/getAutoTableId.d.ts +5 -0
- package/components/DataGrid/utils/getAutoTableId/getAutoTableId.js +10 -0
- package/components/DataGrid/utils/getAutoTableId/index.d.ts +1 -0
- package/components/DataGrid/utils/getAutoTableId/index.js +1 -0
- package/components/DataGrid/utils/getColumnsSignature/getColumnsSignature.d.ts +6 -0
- package/components/DataGrid/utils/getColumnsSignature/getColumnsSignature.js +4 -0
- package/components/DataGrid/utils/getColumnsSignature/index.d.ts +1 -0
- package/components/DataGrid/utils/getColumnsSignature/index.js +1 -0
- package/components/DataGrid/utils/getDataGridCssVars/getDataGridCssVars.d.ts +15 -1
- package/components/DataGrid/utils/getDataGridCssVars/getDataGridCssVars.js +7 -5
- package/components/DataGrid/utils/index.d.ts +4 -0
- package/components/DataGrid/utils/index.js +4 -0
- package/components/DataGridCollapsibleRow/useLogic/useLogic.d.ts +0 -1
- package/components/DataGridCollapsibleRow/useLogic/useLogic.js +1 -2
- package/components/DataGridInfinite/DataGridInfinite.d.ts +1 -1
- package/components/DataGridInfinite/DataGridInfinite.js +28 -24
- package/components/DataGridInfinite/Row/Row.js +2 -2
- package/components/DataGridInfinite/Row/useLogic/useLogic.d.ts +0 -1
- package/components/DataGridInfinite/Row/useLogic/useLogic.js +1 -2
- package/components/DataGridInfinite/index.d.ts +1 -0
- package/components/DataGridInfinite/public.d.ts +1 -0
- package/components/DataGridInfinite/types.d.ts +1 -1
- package/components/DataGridInfinite/useLogic/useLogic.d.ts +293 -5
- package/components/DataGridInfinite/useLogic/useLogic.js +14 -7
- package/components/DatePicker/useLogic/useLogic.js +18 -13
- package/components/Filename/Filename.js +2 -2
- package/components/Filename/useLogic/useLogic.d.ts +3 -2
- package/components/Filename/useLogic/useLogic.js +6 -2
- package/components/HintPopover/styles.js +5 -0
- package/components/OverflowTypography/OverflowTypography.js +3 -3
- package/components/OverflowTypography/hooks/useOverflowed/useOverflowed.d.ts +20 -3
- package/components/OverflowTypography/hooks/useOverflowed/useOverflowed.js +32 -41
- package/components/OverflowTypography/useLogic/useLogic.d.ts +3 -2
- package/components/OverflowTypography/useLogic/useLogic.js +8 -2
- package/components/RadioCard/RadioCard.d.ts +6 -0
- package/components/RadioCard/RadioCard.js +3 -0
- package/components/Select/OptionMenuItem/OptionMenuItem.d.ts +5 -0
- package/components/Select/OptionMenuItem/OptionMenuItem.js +31 -0
- package/components/Select/OptionMenuItem/index.d.ts +1 -0
- package/components/Select/OptionMenuItem/index.js +1 -0
- package/components/Select/OptionMenuItem/types.d.ts +31 -0
- package/components/Select/Select.d.ts +9 -2
- package/components/Select/Select.js +45 -12
- package/components/Select/cases/groups/SelectGroup/GroupMenuItem/GroupMenuItem.d.ts +5 -0
- package/components/Select/cases/groups/SelectGroup/GroupMenuItem/GroupMenuItem.js +20 -0
- package/components/Select/cases/groups/SelectGroup/GroupMenuItem/constants.d.ts +2 -0
- package/components/Select/cases/groups/SelectGroup/GroupMenuItem/constants.js +2 -0
- package/components/Select/cases/groups/SelectGroup/GroupMenuItem/index.d.ts +1 -0
- package/components/Select/cases/groups/SelectGroup/GroupMenuItem/index.js +1 -0
- package/components/Select/cases/groups/SelectGroup/GroupMenuItem/styles.d.ts +39 -0
- package/components/Select/cases/groups/SelectGroup/GroupMenuItem/styles.js +37 -0
- package/components/Select/cases/groups/SelectGroup/GroupMenuItem/types.d.ts +32 -0
- package/components/Select/cases/groups/SelectGroup/GroupMenuItem/types.js +1 -0
- package/components/Select/cases/groups/SelectGroup/GroupOptions/GroupOptions.d.ts +2 -0
- package/components/Select/cases/groups/SelectGroup/GroupOptions/GroupOptions.js +4 -0
- package/components/Select/cases/groups/SelectGroup/GroupOptions/index.d.ts +1 -0
- package/components/Select/cases/groups/SelectGroup/GroupOptions/index.js +1 -0
- package/components/Select/cases/groups/SelectGroup/GroupOptions/types.d.ts +31 -0
- package/components/Select/cases/groups/SelectGroup/GroupOptions/types.js +1 -0
- package/components/Select/cases/groups/SelectGroup/GroupSubheader/GroupSubheader.d.ts +5 -0
- package/components/Select/cases/groups/SelectGroup/GroupSubheader/GroupSubheader.js +7 -0
- package/components/Select/cases/groups/SelectGroup/GroupSubheader/index.d.ts +1 -0
- package/components/Select/cases/groups/SelectGroup/GroupSubheader/index.js +1 -0
- package/components/Select/cases/groups/SelectGroup/GroupSubheader/styles.d.ts +3 -0
- package/components/Select/cases/groups/SelectGroup/GroupSubheader/styles.js +11 -0
- package/components/Select/cases/groups/SelectGroup/GroupSubheader/types.d.ts +6 -0
- package/components/Select/cases/groups/SelectGroup/GroupSubheader/types.js +1 -0
- package/components/Select/cases/groups/SelectGroup/SelectGroup.d.ts +5 -0
- package/components/Select/cases/groups/SelectGroup/SelectGroup.js +28 -0
- package/components/Select/cases/groups/SelectGroup/index.d.ts +1 -0
- package/components/Select/cases/groups/SelectGroup/index.js +1 -0
- package/components/{ResizingDataGrid/Sliders → Select/cases/groups/SelectGroup}/styles.d.ts +4 -8
- package/components/Select/cases/groups/SelectGroup/styles.js +13 -0
- package/components/Select/cases/groups/SelectGroup/types.d.ts +53 -0
- package/components/Select/cases/groups/SelectGroup/types.js +1 -0
- package/components/Select/cases/groups/SelectGroup/useLogic/index.js +1 -0
- package/components/Select/cases/groups/SelectGroup/useLogic/useLogic.d.ts +9 -0
- package/components/Select/cases/groups/SelectGroup/useLogic/useLogic.js +10 -0
- package/components/Select/cases/groups/constants.d.ts +10 -0
- package/components/Select/cases/groups/constants.js +11 -0
- package/components/Select/cases/groups/hooks/index.d.ts +1 -0
- package/components/Select/cases/groups/hooks/index.js +1 -0
- package/components/Select/cases/groups/hooks/useGroups/hooks/index.d.ts +1 -0
- package/components/Select/cases/groups/hooks/useGroups/hooks/index.js +1 -0
- package/components/Select/cases/groups/hooks/useGroups/hooks/useCollapsedGroups/index.d.ts +1 -0
- package/components/Select/cases/groups/hooks/useGroups/hooks/useCollapsedGroups/index.js +1 -0
- package/components/Select/cases/groups/hooks/useGroups/hooks/useCollapsedGroups/useCollapsedGroups.d.ts +20 -0
- package/components/Select/cases/groups/hooks/useGroups/hooks/useCollapsedGroups/useCollapsedGroups.js +23 -0
- package/components/Select/cases/groups/hooks/useGroups/index.d.ts +1 -0
- package/components/Select/cases/groups/hooks/useGroups/index.js +1 -0
- package/components/Select/cases/groups/hooks/useGroups/useGroups.d.ts +55 -0
- package/components/Select/cases/groups/hooks/useGroups/useGroups.js +65 -0
- package/components/Select/cases/groups/index.d.ts +3 -0
- package/components/Select/cases/groups/index.js +2 -0
- package/components/Select/cases/groups/types.d.ts +21 -0
- package/components/Select/cases/groups/types.js +1 -0
- package/components/Select/cases/groups/utils/checkHasBottomDivider/checkHasBottomDivider.d.ts +4 -0
- package/components/Select/cases/groups/utils/checkHasBottomDivider/checkHasBottomDivider.js +12 -0
- package/components/Select/cases/groups/utils/checkHasBottomDivider/index.d.ts +1 -0
- package/components/Select/cases/groups/utils/checkHasBottomDivider/index.js +1 -0
- package/components/Select/cases/groups/utils/expandTagsList/expandTagsList.d.ts +5 -0
- package/components/Select/cases/groups/utils/expandTagsList/expandTagsList.js +8 -0
- package/components/Select/cases/groups/utils/expandTagsList/index.d.ts +1 -0
- package/components/Select/cases/groups/utils/expandTagsList/index.js +1 -0
- package/components/Select/cases/groups/utils/findGroupByValue/findGroupByValue.d.ts +5 -0
- package/components/Select/cases/groups/utils/findGroupByValue/findGroupByValue.js +5 -0
- package/components/Select/cases/groups/utils/findGroupByValue/index.d.ts +1 -0
- package/components/Select/cases/groups/utils/findGroupByValue/index.js +1 -0
- package/components/Select/cases/groups/utils/getGroupSelection/getGroupSelection.d.ts +9 -0
- package/components/Select/cases/groups/utils/getGroupSelection/getGroupSelection.js +12 -0
- package/components/Select/cases/groups/utils/getGroupSelection/index.d.ts +1 -0
- package/components/Select/cases/groups/utils/getGroupSelection/index.js +1 -0
- package/components/Select/cases/groups/utils/getGroupValue/getGroupValue.d.ts +4 -0
- package/components/Select/cases/groups/utils/getGroupValue/getGroupValue.js +5 -0
- package/components/Select/cases/groups/utils/getGroupValue/index.d.ts +1 -0
- package/components/Select/cases/groups/utils/getGroupValue/index.js +1 -0
- package/components/Select/cases/groups/utils/getTagsList/getTagsList.d.ts +5 -0
- package/components/Select/cases/groups/utils/getTagsList/getTagsList.js +15 -0
- package/components/Select/cases/groups/utils/getTagsList/index.d.ts +1 -0
- package/components/Select/cases/groups/utils/getTagsList/index.js +1 -0
- package/components/Select/cases/groups/utils/index.d.ts +7 -0
- package/components/Select/cases/groups/utils/index.js +7 -0
- package/components/Select/cases/groups/utils/toggleGroup/index.d.ts +1 -0
- package/components/Select/cases/groups/utils/toggleGroup/index.js +1 -0
- package/components/Select/cases/groups/utils/toggleGroup/toggleGroup.d.ts +6 -0
- package/components/Select/cases/groups/utils/toggleGroup/toggleGroup.js +14 -0
- package/components/Select/cases/index.d.ts +1 -0
- package/components/Select/cases/index.js +1 -0
- package/components/Select/constants.d.ts +7 -0
- package/components/Select/constants.js +8 -0
- package/components/Select/index.d.ts +1 -1
- package/components/Select/public.d.ts +1 -1
- package/components/Select/styles.d.ts +10 -1
- package/components/Select/styles.js +27 -0
- package/components/Select/types.d.ts +81 -2
- package/components/Select/useLogic/hooks/index.d.ts +1 -0
- package/components/Select/useLogic/hooks/index.js +1 -0
- package/components/Select/useLogic/hooks/useOptions/index.d.ts +1 -0
- package/components/Select/useLogic/hooks/useOptions/index.js +1 -0
- package/components/Select/useLogic/hooks/useOptions/useOptions.d.ts +36 -0
- package/components/Select/useLogic/hooks/useOptions/useOptions.js +38 -0
- package/components/Select/useLogic/useLogic.d.ts +23 -4
- package/components/Select/useLogic/useLogic.js +119 -35
- package/components/Select/utils/checkIsEqualSelectValues/checkIsEqualSelectValues.d.ts +5 -0
- package/components/Select/utils/checkIsEqualSelectValues/checkIsEqualSelectValues.js +14 -0
- package/components/Select/utils/checkIsEqualSelectValues/index.d.ts +1 -0
- package/components/Select/utils/checkIsEqualSelectValues/index.js +1 -0
- package/components/Select/utils/checkIsSelectOptionsGroup/checkIsSelectOptionsGroup.d.ts +5 -0
- package/components/Select/utils/checkIsSelectOptionsGroup/checkIsSelectOptionsGroup.js +8 -0
- package/components/Select/utils/checkIsSelectOptionsGroup/index.d.ts +1 -0
- package/components/Select/utils/checkIsSelectOptionsGroup/index.js +1 -0
- package/components/Select/utils/getSelectOptionsList/getSelectOptionsList.d.ts +5 -0
- package/components/Select/utils/getSelectOptionsList/getSelectOptionsList.js +5 -0
- package/components/Select/utils/getSelectOptionsList/index.d.ts +1 -0
- package/components/Select/utils/getSelectOptionsList/index.js +1 -0
- package/components/Select/utils/index.d.ts +3 -0
- package/components/Select/utils/index.js +3 -0
- package/components/SelectionCard/DefaultIndicator/DefaultIndicator.d.ts +5 -0
- package/components/SelectionCard/DefaultIndicator/DefaultIndicator.js +14 -0
- package/components/SelectionCard/DefaultIndicator/index.d.ts +1 -0
- package/components/SelectionCard/DefaultIndicator/index.js +1 -0
- package/components/SelectionCard/DefaultIndicator/types.d.ts +7 -0
- package/components/SelectionCard/DefaultIndicator/types.js +1 -0
- package/components/SelectionCard/SelectionCard.d.ts +5 -0
- package/components/SelectionCard/SelectionCard.js +48 -0
- package/components/SelectionCard/cases/grouped/index.d.ts +1 -0
- package/components/SelectionCard/cases/grouped/index.js +1 -0
- package/components/SelectionCard/cases/grouped/styles.d.ts +10 -0
- package/components/SelectionCard/cases/grouped/styles.js +128 -0
- package/components/SelectionCard/cases/index.d.ts +2 -0
- package/components/SelectionCard/cases/index.js +2 -0
- package/components/SelectionCard/cases/standalone/index.d.ts +1 -0
- package/components/SelectionCard/cases/standalone/index.js +1 -0
- package/components/SelectionCard/cases/standalone/styles.d.ts +10 -0
- package/components/SelectionCard/cases/standalone/styles.js +77 -0
- package/components/SelectionCard/constants.d.ts +15 -0
- package/components/SelectionCard/constants.js +16 -0
- package/components/SelectionCard/index.d.ts +2 -0
- package/components/SelectionCard/index.js +1 -0
- package/components/SelectionCard/public.d.ts +2 -0
- package/components/SelectionCard/public.js +1 -0
- package/components/SelectionCard/styles.d.ts +39 -0
- package/components/SelectionCard/styles.js +81 -0
- package/components/SelectionCard/types.d.ts +31 -0
- package/components/SelectionCard/types.js +1 -0
- package/components/SelectionCard/useLogic/index.d.ts +1 -0
- package/components/SelectionCard/useLogic/index.js +1 -0
- package/components/SelectionCard/useLogic/useLogic.d.ts +18 -0
- package/components/SelectionCard/useLogic/useLogic.js +48 -0
- package/components/SelectionCardGroup/SelectionCardGroup.d.ts +5 -0
- package/components/SelectionCardGroup/SelectionCardGroup.js +19 -0
- package/components/SelectionCardGroup/SelectionCardGroupContext/SelectionCardGroupContext.d.ts +21 -0
- package/components/SelectionCardGroup/SelectionCardGroupContext/SelectionCardGroupContext.js +14 -0
- package/components/SelectionCardGroup/SelectionCardGroupContext/index.d.ts +1 -0
- package/components/SelectionCardGroup/SelectionCardGroupContext/index.js +1 -0
- package/components/SelectionCardGroup/cases/grouped/constants.d.ts +4 -0
- package/components/SelectionCardGroup/cases/grouped/constants.js +4 -0
- package/components/SelectionCardGroup/cases/grouped/index.d.ts +1 -0
- package/components/SelectionCardGroup/cases/grouped/index.js +1 -0
- package/components/SelectionCardGroup/cases/index.d.ts +4 -0
- package/components/SelectionCardGroup/cases/index.js +4 -0
- package/components/SelectionCardGroup/cases/multiple/constants.d.ts +5 -0
- package/components/SelectionCardGroup/cases/multiple/constants.js +9 -0
- package/components/SelectionCardGroup/cases/multiple/index.d.ts +2 -0
- package/components/SelectionCardGroup/cases/multiple/index.js +2 -0
- package/components/SelectionCardGroup/cases/multiple/utils/index.d.ts +1 -0
- package/components/SelectionCardGroup/cases/multiple/utils/index.js +1 -0
- package/components/SelectionCardGroup/cases/multiple/utils/toggleValue/index.d.ts +1 -0
- package/components/SelectionCardGroup/cases/multiple/utils/toggleValue/index.js +1 -0
- package/components/SelectionCardGroup/cases/multiple/utils/toggleValue/toggleValue.d.ts +4 -0
- package/components/SelectionCardGroup/cases/multiple/utils/toggleValue/toggleValue.js +9 -0
- package/components/SelectionCardGroup/cases/single/constants.d.ts +5 -0
- package/components/SelectionCardGroup/cases/single/constants.js +9 -0
- package/components/SelectionCardGroup/cases/single/index.d.ts +2 -0
- package/components/SelectionCardGroup/cases/single/index.js +2 -0
- package/components/SelectionCardGroup/cases/single/utils/index.d.ts +1 -0
- package/components/SelectionCardGroup/cases/single/utils/index.js +1 -0
- package/components/SelectionCardGroup/cases/single/utils/selectValue/index.d.ts +1 -0
- package/components/SelectionCardGroup/cases/single/utils/selectValue/index.js +1 -0
- package/components/SelectionCardGroup/cases/single/utils/selectValue/selectValue.d.ts +5 -0
- package/components/SelectionCardGroup/cases/single/utils/selectValue/selectValue.js +10 -0
- package/components/SelectionCardGroup/cases/standalone/constants.d.ts +2 -0
- package/components/SelectionCardGroup/cases/standalone/constants.js +2 -0
- package/components/SelectionCardGroup/cases/standalone/index.d.ts +3 -0
- package/components/SelectionCardGroup/cases/standalone/index.js +3 -0
- package/components/SelectionCardGroup/cases/standalone/styles.d.ts +7 -0
- package/components/SelectionCardGroup/cases/standalone/styles.js +10 -0
- package/components/SelectionCardGroup/cases/standalone/utils/getGridColumns/getGridColumns.d.ts +5 -0
- package/components/SelectionCardGroup/cases/standalone/utils/getGridColumns/getGridColumns.js +10 -0
- package/components/SelectionCardGroup/cases/standalone/utils/getGridColumns/index.d.ts +1 -0
- package/components/SelectionCardGroup/cases/standalone/utils/getGridColumns/index.js +1 -0
- package/components/SelectionCardGroup/cases/standalone/utils/index.d.ts +1 -0
- package/components/SelectionCardGroup/cases/standalone/utils/index.js +1 -0
- package/components/SelectionCardGroup/constants.d.ts +3 -0
- package/components/SelectionCardGroup/constants.js +4 -0
- package/components/SelectionCardGroup/index.d.ts +3 -0
- package/components/SelectionCardGroup/index.js +2 -0
- package/components/SelectionCardGroup/public.d.ts +2 -0
- package/components/SelectionCardGroup/public.js +1 -0
- package/components/SelectionCardGroup/styles.d.ts +15 -0
- package/components/SelectionCardGroup/styles.js +17 -0
- package/components/SelectionCardGroup/types.d.ts +120 -0
- package/components/SelectionCardGroup/types.js +1 -0
- package/components/SelectionCardGroup/useLogic/index.d.ts +1 -0
- package/components/SelectionCardGroup/useLogic/index.js +1 -0
- package/components/SelectionCardGroup/useLogic/useLogic.d.ts +17 -0
- package/components/SelectionCardGroup/useLogic/useLogic.js +59 -0
- package/components/SelectionCardGroup/useLogic/utils/createSelectHandler/createSelectHandler.d.ts +5 -0
- package/components/SelectionCardGroup/useLogic/utils/createSelectHandler/createSelectHandler.js +10 -0
- package/components/SelectionCardGroup/useLogic/utils/createSelectHandler/index.d.ts +1 -0
- package/components/SelectionCardGroup/useLogic/utils/createSelectHandler/index.js +1 -0
- package/components/SelectionCardGroup/useLogic/utils/index.d.ts +1 -0
- package/components/SelectionCardGroup/useLogic/utils/index.js +1 -0
- package/components/SelectionCardGroup/utils/getSelectedValuesList/getSelectedValuesList.d.ts +5 -0
- package/components/SelectionCardGroup/utils/getSelectedValuesList/getSelectedValuesList.js +12 -0
- package/components/SelectionCardGroup/utils/getSelectedValuesList/index.d.ts +1 -0
- package/components/SelectionCardGroup/utils/getSelectedValuesList/index.js +1 -0
- package/components/SelectionCardGroup/utils/index.d.ts +1 -0
- package/components/SelectionCardGroup/utils/index.js +1 -0
- package/components/Status/Status.d.ts +2 -0
- package/components/Status/Status.js +37 -0
- package/components/Status/constants.d.ts +17 -0
- package/components/Status/constants.js +18 -0
- package/components/Status/index.d.ts +3 -0
- package/components/Status/index.js +2 -0
- package/components/Status/public.d.ts +3 -0
- package/components/Status/public.js +2 -0
- package/components/Status/styles.d.ts +24 -0
- package/components/Status/styles.js +120 -0
- package/components/Status/types.d.ts +17 -0
- package/components/Status/types.js +1 -0
- package/components/Status/useLogic/index.d.ts +1 -0
- package/components/Status/useLogic/index.js +1 -0
- package/components/Status/useLogic/useLogic.d.ts +11 -0
- package/components/Status/useLogic/useLogic.js +33 -0
- package/components/TagBadge/styles.js +21 -3
- package/components/index.d.ts +1 -1
- package/components/utils/setRef/index.d.ts +1 -0
- package/components/utils/setRef/index.js +1 -0
- package/components/utils/setRef/setRef.d.ts +5 -0
- package/components/utils/setRef/setRef.js +12 -0
- package/hook-form/EditableText/EditingForm/EditingForm.js +1 -1
- package/hook-form/FormQuickFilters/FormQuickFilters.js +2 -14
- package/hook-form/FormQuickFilters/useLogic/useLogic.d.ts +7 -4
- package/hook-form/FormQuickFilters/useLogic/useLogic.js +12 -7
- package/hook-form/FormSelect/FormSelect.d.ts +5 -2
- package/hook-form/FormSelectionCardGroup/FormSelectionCardGroup.d.ts +7 -0
- package/hook-form/FormSelectionCardGroup/FormSelectionCardGroup.js +18 -0
- package/hook-form/FormSelectionCardGroup/index.d.ts +1 -0
- package/hook-form/FormSelectionCardGroup/index.js +1 -0
- package/hook-form/FormSelectionCardGroup/public.d.ts +1 -0
- package/hook-form/FormSelectionCardGroup/public.js +1 -0
- package/node/components/DataGrid/Body/types.d.ts +0 -4
- package/node/components/DataGrid/Cell/useLogic/useLogic.js +2 -1
- package/node/components/DataGrid/DataGrid.d.ts +1 -1
- package/node/components/DataGrid/DataGrid.js +9 -5
- package/node/components/DataGrid/DataGridContext/DataGridContext.d.ts +0 -1
- package/node/components/DataGrid/DataGridContext/DataGridContext.js +0 -1
- package/node/components/DataGrid/DataGridContext/DataGridProvider/DataGridProvider.d.ts +2 -2
- package/node/components/DataGrid/DataGridContext/DataGridProvider/DataGridProvider.js +1 -3
- package/node/components/DataGrid/Head/Head.d.ts +16 -7
- package/node/components/DataGrid/Head/Head.js +5 -2
- package/node/components/DataGrid/Head/HeadColumns/GroupColumns/GroupColumns.d.ts +2 -2
- package/node/components/DataGrid/Head/HeadColumns/GroupColumns/GroupColumns.js +4 -1
- package/node/components/DataGrid/Head/HeadColumns/HeadColumns.d.ts +2 -2
- package/node/components/DataGrid/Head/HeadColumns/HeadColumns.js +2 -2
- package/node/components/DataGrid/Head/HeadColumns/SingleColumn/SingleColumn.d.ts +3 -3
- package/node/components/DataGrid/Head/HeadColumns/useLogic/useLogic.d.ts +1 -1
- package/node/components/DataGrid/Head/HeadColumns/utils/getHeadCellProps.d.ts +1 -1
- package/node/components/DataGrid/Head/HeadColumns/utils/getHeadCellProps.js +4 -2
- package/node/components/DataGrid/Head/styles.d.ts +0 -2
- package/node/components/DataGrid/Head/styles.js +4 -4
- package/node/components/DataGrid/Head/useLogic/index.d.ts +1 -0
- package/node/components/DataGrid/Head/useLogic/useLogic.d.ts +5 -0
- package/node/components/DataGrid/Head/useLogic/useLogic.js +11 -0
- package/node/components/DataGrid/HeadCell/HeadCell.d.ts +3 -3
- package/node/components/DataGrid/HeadCell/useLogic/useLogic.d.ts +2 -2
- package/node/components/DataGrid/PinnedSections/PinnedSections.d.ts +4 -8
- package/node/components/DataGrid/PinnedSections/PinnedSections.js +2 -2
- package/node/components/DataGrid/PinnedSections/Section/Section.d.ts +1 -1
- package/node/components/DataGrid/PinnedSections/Section/Section.js +3 -1
- package/node/components/DataGrid/PinnedSections/Section/types.d.ts +3 -3
- package/node/components/DataGrid/PinnedSections/styles.d.ts +0 -2
- package/node/components/DataGrid/PinnedSections/styles.js +1 -1
- package/node/components/DataGrid/Row/NestedChildren/NestedChildren.d.ts +0 -4
- package/node/components/DataGrid/Row/NestedChildren/NestedChildren.js +2 -2
- package/node/components/DataGrid/Row/NestedChildren/styles.d.ts +0 -1
- package/node/components/DataGrid/Row/NestedChildren/styles.js +2 -2
- package/node/components/DataGrid/Row/Row.js +3 -4
- package/node/components/DataGrid/Row/styles.d.ts +0 -2
- package/node/components/DataGrid/Row/styles.js +1 -1
- package/node/components/DataGrid/Row/types.d.ts +0 -4
- package/node/components/DataGrid/RowBase/styles.js +1 -3
- package/node/components/DataGrid/RowBase/types.d.ts +0 -4
- package/node/components/DataGrid/RowBase/useLogic/useLogic.d.ts +1 -1
- package/node/components/DataGrid/RowBase/useLogic/useLogic.js +1 -2
- package/node/components/DataGrid/constants.d.ts +5 -0
- package/node/components/DataGrid/constants.js +6 -1
- package/node/components/DataGrid/hooks/index.d.ts +1 -0
- package/node/components/DataGrid/hooks/index.js +1 -0
- package/node/components/DataGrid/hooks/usePlugins/index.d.ts +1 -0
- package/node/components/{ResizingDataGrid/hooks/useComputedColumns/utils/createStorageKey → DataGrid/hooks/usePlugins}/index.js +1 -1
- package/node/components/DataGrid/hooks/usePlugins/usePlugins.d.ts +319 -0
- package/node/components/DataGrid/hooks/usePlugins/usePlugins.js +58 -0
- package/node/components/DataGrid/index.d.ts +1 -1
- package/node/components/DataGrid/plugins/resize/ResizeHeadAddon/ResizeHeadAddon.d.ts +5 -0
- package/node/components/DataGrid/plugins/resize/ResizeHeadAddon/ResizeHeadAddon.js +25 -0
- package/node/components/DataGrid/plugins/resize/ResizeHeadAddon/index.d.ts +1 -0
- package/node/components/{ResizingDataGrid/Sliders/useLogic/utils/computePositions → DataGrid/plugins/resize/ResizeHeadAddon}/index.js +1 -1
- package/node/components/DataGrid/plugins/resize/ResizeHeadAddon/styles.d.ts +5 -0
- package/node/components/DataGrid/plugins/resize/ResizeHeadAddon/styles.js +79 -0
- package/node/components/DataGrid/plugins/resize/ResizePlugin.d.ts +8 -0
- package/node/components/DataGrid/plugins/resize/ResizePlugin.js +17 -0
- package/node/components/DataGrid/plugins/resize/constants.d.ts +9 -0
- package/node/components/DataGrid/plugins/resize/constants.js +12 -0
- package/node/components/DataGrid/plugins/resize/hooks/index.d.ts +1 -0
- package/node/components/DataGrid/plugins/resize/hooks/index.js +17 -0
- package/node/components/DataGrid/plugins/resize/hooks/useResize/hooks/index.d.ts +2 -0
- package/node/components/DataGrid/plugins/resize/hooks/useResize/hooks/index.js +18 -0
- package/node/components/DataGrid/plugins/resize/hooks/useResize/hooks/useResizeStorage/index.d.ts +1 -0
- package/node/components/DataGrid/plugins/resize/hooks/useResize/hooks/useResizeStorage/index.js +17 -0
- package/node/components/DataGrid/plugins/resize/hooks/useResize/hooks/useResizeStorage/useResizeStorage.d.ts +22 -0
- package/node/components/DataGrid/plugins/resize/hooks/useResize/hooks/useResizeStorage/useResizeStorage.js +24 -0
- package/node/components/DataGrid/plugins/resize/hooks/useResize/hooks/useTrackWidths/index.d.ts +1 -0
- package/node/components/DataGrid/plugins/resize/hooks/useResize/hooks/useTrackWidths/index.js +17 -0
- package/node/components/DataGrid/plugins/resize/hooks/useResize/hooks/useTrackWidths/useTrackWidths.d.ts +20 -0
- package/node/components/DataGrid/plugins/resize/hooks/useResize/hooks/useTrackWidths/useTrackWidths.js +37 -0
- package/node/components/DataGrid/plugins/resize/hooks/useResize/index.d.ts +1 -0
- package/node/components/DataGrid/plugins/resize/hooks/useResize/index.js +17 -0
- package/node/components/DataGrid/plugins/resize/hooks/useResize/useResize.d.ts +15 -0
- package/node/components/DataGrid/plugins/resize/hooks/useResize/useResize.js +168 -0
- package/node/components/DataGrid/plugins/resize/index.d.ts +2 -0
- package/node/components/DataGrid/plugins/resize/index.js +5 -0
- package/node/components/DataGrid/plugins/resize/public.d.ts +2 -0
- package/node/components/DataGrid/plugins/resize/public.js +5 -0
- package/node/components/DataGrid/plugins/resize/types.d.ts +54 -0
- package/node/components/DataGrid/plugins/resize/utils/assertResizeConfig/assertResizeConfig.d.ts +5 -0
- package/node/components/DataGrid/plugins/resize/utils/assertResizeConfig/assertResizeConfig.js +25 -0
- package/node/components/DataGrid/plugins/resize/utils/assertResizeConfig/index.d.ts +1 -0
- package/node/components/{ResizingDataGrid/hooks/useComputedColumns → DataGrid/plugins/resize/utils/assertResizeConfig}/index.js +1 -1
- package/node/components/DataGrid/plugins/resize/utils/getFixedColumnsList/getFixedColumnsList.d.ts +6 -0
- package/node/components/DataGrid/plugins/resize/utils/getFixedColumnsList/getFixedColumnsList.js +9 -0
- package/node/components/DataGrid/plugins/resize/utils/getFixedColumnsList/index.d.ts +1 -0
- package/node/components/DataGrid/plugins/resize/utils/getFixedColumnsList/index.js +17 -0
- package/node/components/DataGrid/plugins/resize/utils/getFractionsList/getFractionsList.d.ts +4 -0
- package/node/components/DataGrid/plugins/resize/utils/getFractionsList/getFractionsList.js +14 -0
- package/node/components/DataGrid/plugins/resize/utils/getFractionsList/index.d.ts +1 -0
- package/node/components/DataGrid/plugins/resize/utils/getFractionsList/index.js +17 -0
- package/node/components/DataGrid/plugins/resize/utils/getHandleOffsetsList/getHandleOffsetsList.d.ts +4 -0
- package/node/components/DataGrid/plugins/resize/utils/getHandleOffsetsList/getHandleOffsetsList.js +14 -0
- package/node/components/DataGrid/plugins/resize/utils/getHandleOffsetsList/index.d.ts +1 -0
- package/node/components/{ResizingDataGrid/Sliders/useLogic/utils/createInitialSliders → DataGrid/plugins/resize/utils/getHandleOffsetsList}/index.js +1 -1
- package/node/components/DataGrid/plugins/resize/utils/getMinWidthsList/getMinWidthsList.d.ts +6 -0
- package/node/components/DataGrid/plugins/resize/utils/getMinWidthsList/getMinWidthsList.js +8 -0
- package/node/components/DataGrid/plugins/resize/utils/getMinWidthsList/index.d.ts +1 -0
- package/node/components/DataGrid/plugins/resize/utils/getMinWidthsList/index.js +17 -0
- package/node/components/DataGrid/plugins/resize/utils/getResizedGridColumns/getResizedGridColumns.d.ts +22 -0
- package/node/components/DataGrid/plugins/resize/utils/getResizedGridColumns/getResizedGridColumns.js +19 -0
- package/node/components/DataGrid/plugins/resize/utils/getResizedGridColumns/index.d.ts +1 -0
- package/node/components/DataGrid/plugins/resize/utils/getResizedGridColumns/index.js +17 -0
- package/node/components/DataGrid/plugins/resize/utils/getStorageKey/getStorageKey.d.ts +4 -0
- package/node/components/DataGrid/plugins/resize/utils/getStorageKey/getStorageKey.js +9 -0
- package/node/components/DataGrid/plugins/resize/utils/getStorageKey/index.d.ts +1 -0
- package/node/components/DataGrid/plugins/resize/utils/getStorageKey/index.js +17 -0
- package/node/components/DataGrid/plugins/resize/utils/getTrackWidthsList/getTrackWidthsList.d.ts +5 -0
- package/node/components/DataGrid/plugins/resize/utils/getTrackWidthsList/getTrackWidthsList.js +12 -0
- package/node/components/DataGrid/plugins/resize/utils/getTrackWidthsList/index.d.ts +1 -0
- package/node/components/DataGrid/plugins/resize/utils/getTrackWidthsList/index.js +17 -0
- package/node/components/DataGrid/plugins/resize/utils/index.d.ts +10 -0
- package/node/components/DataGrid/plugins/resize/utils/index.js +26 -0
- package/node/components/DataGrid/plugins/resize/utils/parseStorageValue/index.d.ts +1 -0
- package/node/components/DataGrid/plugins/resize/utils/parseStorageValue/index.js +17 -0
- package/node/components/DataGrid/plugins/resize/utils/parseStorageValue/parseStorageValue.d.ts +19 -0
- package/node/components/DataGrid/plugins/resize/utils/parseStorageValue/parseStorageValue.js +31 -0
- package/node/components/DataGrid/plugins/resize/utils/resizeAdjacentColumns/index.d.ts +1 -0
- package/node/components/DataGrid/plugins/resize/utils/resizeAdjacentColumns/index.js +17 -0
- package/node/components/DataGrid/plugins/resize/utils/resizeAdjacentColumns/resizeAdjacentColumns.d.ts +25 -0
- package/node/components/DataGrid/plugins/resize/utils/resizeAdjacentColumns/resizeAdjacentColumns.js +25 -0
- package/node/components/DataGrid/public.d.ts +1 -1
- package/node/components/DataGrid/styles.js +17 -0
- package/node/components/DataGrid/tests/resize/resizeHelper.d.ts +37 -0
- package/node/components/DataGrid/tests/resize/resizeHelper.js +74 -0
- package/node/components/DataGrid/types.d.ts +50 -8
- package/node/components/DataGrid/useLogic/useLogic.d.ts +293 -3
- package/node/components/DataGrid/useLogic/useLogic.js +12 -3
- package/node/components/DataGrid/utils/assertUniquePlugins/assertUniquePlugins.d.ts +5 -0
- package/node/components/DataGrid/utils/assertUniquePlugins/assertUniquePlugins.js +16 -0
- package/node/components/DataGrid/utils/assertUniquePlugins/index.d.ts +1 -0
- package/node/components/DataGrid/utils/assertUniquePlugins/index.js +17 -0
- package/node/components/DataGrid/utils/findPlugin/findPlugin.d.ts +5 -0
- package/node/components/DataGrid/utils/findPlugin/findPlugin.js +8 -0
- package/node/components/DataGrid/utils/findPlugin/index.d.ts +1 -0
- package/node/components/DataGrid/utils/findPlugin/index.js +17 -0
- package/node/components/DataGrid/utils/getAutoTableId/getAutoTableId.d.ts +5 -0
- package/node/components/DataGrid/utils/getAutoTableId/getAutoTableId.js +14 -0
- package/node/components/DataGrid/utils/getAutoTableId/index.d.ts +1 -0
- package/node/components/DataGrid/utils/getAutoTableId/index.js +17 -0
- package/node/components/DataGrid/utils/getColumnsSignature/getColumnsSignature.d.ts +6 -0
- package/node/components/DataGrid/utils/getColumnsSignature/getColumnsSignature.js +8 -0
- package/node/components/DataGrid/utils/getColumnsSignature/index.d.ts +1 -0
- package/node/components/DataGrid/utils/getColumnsSignature/index.js +17 -0
- package/node/components/DataGrid/utils/getDataGridCssVars/getDataGridCssVars.d.ts +15 -1
- package/node/components/DataGrid/utils/getDataGridCssVars/getDataGridCssVars.js +7 -5
- package/node/components/DataGrid/utils/index.d.ts +4 -0
- package/node/components/DataGrid/utils/index.js +9 -1
- package/node/components/DataGridCollapsibleRow/useLogic/useLogic.d.ts +0 -1
- package/node/components/DataGridCollapsibleRow/useLogic/useLogic.js +1 -2
- package/node/components/DataGridInfinite/DataGridInfinite.d.ts +1 -1
- package/node/components/DataGridInfinite/DataGridInfinite.js +28 -24
- package/node/components/DataGridInfinite/Row/Row.js +2 -2
- package/node/components/DataGridInfinite/Row/useLogic/useLogic.d.ts +0 -1
- package/node/components/DataGridInfinite/Row/useLogic/useLogic.js +1 -2
- package/node/components/DataGridInfinite/index.d.ts +1 -0
- package/node/components/DataGridInfinite/public.d.ts +1 -0
- package/node/components/DataGridInfinite/types.d.ts +1 -1
- package/node/components/DataGridInfinite/useLogic/useLogic.d.ts +293 -5
- package/node/components/DataGridInfinite/useLogic/useLogic.js +13 -6
- package/node/components/DatePicker/useLogic/useLogic.js +18 -13
- package/node/components/Filename/Filename.js +2 -2
- package/node/components/Filename/useLogic/useLogic.d.ts +3 -2
- package/node/components/Filename/useLogic/useLogic.js +6 -2
- package/node/components/HintPopover/styles.js +5 -0
- package/node/components/OverflowTypography/OverflowTypography.js +3 -3
- package/node/components/OverflowTypography/hooks/useOverflowed/useOverflowed.d.ts +20 -3
- package/node/components/OverflowTypography/hooks/useOverflowed/useOverflowed.js +31 -40
- package/node/components/OverflowTypography/useLogic/useLogic.d.ts +3 -2
- package/node/components/OverflowTypography/useLogic/useLogic.js +8 -2
- package/node/components/RadioCard/RadioCard.d.ts +6 -0
- package/node/components/RadioCard/RadioCard.js +3 -0
- package/node/components/Select/OptionMenuItem/OptionMenuItem.d.ts +5 -0
- package/node/components/Select/OptionMenuItem/OptionMenuItem.js +35 -0
- package/node/components/Select/OptionMenuItem/index.d.ts +1 -0
- package/node/components/Select/OptionMenuItem/index.js +17 -0
- package/node/components/Select/OptionMenuItem/types.d.ts +31 -0
- package/node/components/Select/Select.d.ts +9 -2
- package/node/components/Select/Select.js +43 -10
- package/node/components/Select/cases/groups/SelectGroup/GroupMenuItem/GroupMenuItem.d.ts +5 -0
- package/node/components/Select/cases/groups/SelectGroup/GroupMenuItem/GroupMenuItem.js +24 -0
- package/node/components/Select/cases/groups/SelectGroup/GroupMenuItem/constants.d.ts +2 -0
- package/node/components/Select/cases/groups/SelectGroup/GroupMenuItem/constants.js +5 -0
- package/node/components/Select/cases/groups/SelectGroup/GroupMenuItem/index.d.ts +1 -0
- package/node/components/Select/cases/groups/SelectGroup/GroupMenuItem/index.js +17 -0
- package/node/components/Select/cases/groups/SelectGroup/GroupMenuItem/styles.d.ts +39 -0
- package/node/components/Select/cases/groups/SelectGroup/GroupMenuItem/styles.js +40 -0
- package/node/components/Select/cases/groups/SelectGroup/GroupMenuItem/types.d.ts +32 -0
- package/node/components/{ResizingDataGrid/hooks/useComputedColumns/constants.js → Select/cases/groups/SelectGroup/GroupMenuItem/types.js} +0 -2
- package/node/components/Select/cases/groups/SelectGroup/GroupOptions/GroupOptions.d.ts +2 -0
- package/node/components/Select/cases/groups/SelectGroup/GroupOptions/GroupOptions.js +8 -0
- package/node/components/Select/cases/groups/SelectGroup/GroupOptions/index.d.ts +1 -0
- package/node/components/Select/cases/groups/SelectGroup/GroupOptions/index.js +17 -0
- package/node/components/Select/cases/groups/SelectGroup/GroupOptions/types.d.ts +31 -0
- package/node/components/Select/cases/groups/SelectGroup/GroupOptions/types.js +2 -0
- package/node/components/Select/cases/groups/SelectGroup/GroupSubheader/GroupSubheader.d.ts +5 -0
- package/node/components/Select/cases/groups/SelectGroup/GroupSubheader/GroupSubheader.js +11 -0
- package/node/components/Select/cases/groups/SelectGroup/GroupSubheader/index.d.ts +1 -0
- package/node/components/Select/cases/groups/SelectGroup/GroupSubheader/index.js +17 -0
- package/node/components/Select/cases/groups/SelectGroup/GroupSubheader/styles.d.ts +3 -0
- package/node/components/Select/cases/groups/SelectGroup/GroupSubheader/styles.js +14 -0
- package/node/components/Select/cases/groups/SelectGroup/GroupSubheader/types.d.ts +6 -0
- package/node/components/Select/cases/groups/SelectGroup/GroupSubheader/types.js +2 -0
- package/node/components/Select/cases/groups/SelectGroup/SelectGroup.d.ts +5 -0
- package/node/components/Select/cases/groups/SelectGroup/SelectGroup.js +32 -0
- package/node/components/Select/cases/groups/SelectGroup/index.d.ts +1 -0
- package/node/components/Select/cases/groups/SelectGroup/index.js +17 -0
- package/node/components/{ResizingDataGrid/Sliders → Select/cases/groups/SelectGroup}/styles.d.ts +3 -7
- package/node/components/Select/cases/groups/SelectGroup/styles.js +16 -0
- package/node/components/Select/cases/groups/SelectGroup/types.d.ts +53 -0
- package/node/components/Select/cases/groups/SelectGroup/types.js +2 -0
- package/node/components/Select/cases/groups/SelectGroup/useLogic/index.d.ts +1 -0
- package/node/components/Select/cases/groups/SelectGroup/useLogic/index.js +17 -0
- package/node/components/Select/cases/groups/SelectGroup/useLogic/useLogic.d.ts +9 -0
- package/node/components/Select/cases/groups/SelectGroup/useLogic/useLogic.js +14 -0
- package/node/components/Select/cases/groups/constants.d.ts +10 -0
- package/node/components/Select/cases/groups/constants.js +14 -0
- package/node/components/Select/cases/groups/hooks/index.d.ts +1 -0
- package/node/components/Select/cases/groups/hooks/index.js +17 -0
- package/node/components/Select/cases/groups/hooks/useGroups/hooks/index.d.ts +1 -0
- package/node/components/Select/cases/groups/hooks/useGroups/hooks/index.js +17 -0
- package/node/components/Select/cases/groups/hooks/useGroups/hooks/useCollapsedGroups/index.d.ts +1 -0
- package/node/components/Select/cases/groups/hooks/useGroups/hooks/useCollapsedGroups/index.js +17 -0
- package/node/components/Select/cases/groups/hooks/useGroups/hooks/useCollapsedGroups/useCollapsedGroups.d.ts +20 -0
- package/node/components/Select/cases/groups/hooks/useGroups/hooks/useCollapsedGroups/useCollapsedGroups.js +27 -0
- package/node/components/Select/cases/groups/hooks/useGroups/index.d.ts +1 -0
- package/node/components/Select/cases/groups/hooks/useGroups/index.js +17 -0
- package/node/components/Select/cases/groups/hooks/useGroups/useGroups.d.ts +55 -0
- package/node/components/Select/cases/groups/hooks/useGroups/useGroups.js +69 -0
- package/node/components/Select/cases/groups/index.d.ts +3 -0
- package/node/components/Select/cases/groups/index.js +18 -0
- package/node/components/Select/cases/groups/types.d.ts +21 -0
- package/node/components/Select/cases/groups/types.js +2 -0
- package/node/components/Select/cases/groups/utils/checkHasBottomDivider/checkHasBottomDivider.d.ts +4 -0
- package/node/components/Select/cases/groups/utils/checkHasBottomDivider/checkHasBottomDivider.js +16 -0
- package/node/components/Select/cases/groups/utils/checkHasBottomDivider/index.d.ts +1 -0
- package/node/components/Select/cases/groups/utils/checkHasBottomDivider/index.js +17 -0
- package/node/components/Select/cases/groups/utils/expandTagsList/expandTagsList.d.ts +5 -0
- package/node/components/Select/cases/groups/utils/expandTagsList/expandTagsList.js +12 -0
- package/node/components/Select/cases/groups/utils/expandTagsList/index.d.ts +1 -0
- package/node/components/Select/cases/groups/utils/expandTagsList/index.js +17 -0
- package/node/components/Select/cases/groups/utils/findGroupByValue/findGroupByValue.d.ts +5 -0
- package/node/components/Select/cases/groups/utils/findGroupByValue/findGroupByValue.js +9 -0
- package/node/components/Select/cases/groups/utils/findGroupByValue/index.d.ts +1 -0
- package/node/components/Select/cases/groups/utils/findGroupByValue/index.js +17 -0
- package/node/components/Select/cases/groups/utils/getGroupSelection/getGroupSelection.d.ts +9 -0
- package/node/components/Select/cases/groups/utils/getGroupSelection/getGroupSelection.js +16 -0
- package/node/components/Select/cases/groups/utils/getGroupSelection/index.d.ts +1 -0
- package/node/components/Select/cases/groups/utils/getGroupSelection/index.js +17 -0
- package/node/components/Select/cases/groups/utils/getGroupValue/getGroupValue.d.ts +4 -0
- package/node/components/Select/cases/groups/utils/getGroupValue/getGroupValue.js +9 -0
- package/node/components/Select/cases/groups/utils/getGroupValue/index.d.ts +1 -0
- package/node/components/Select/cases/groups/utils/getGroupValue/index.js +17 -0
- package/node/components/Select/cases/groups/utils/getTagsList/getTagsList.d.ts +5 -0
- package/node/components/Select/cases/groups/utils/getTagsList/getTagsList.js +19 -0
- package/node/components/Select/cases/groups/utils/getTagsList/index.d.ts +1 -0
- package/node/components/Select/cases/groups/utils/getTagsList/index.js +17 -0
- package/node/components/Select/cases/groups/utils/index.d.ts +7 -0
- package/node/components/Select/cases/groups/utils/index.js +23 -0
- package/node/components/Select/cases/groups/utils/toggleGroup/index.d.ts +1 -0
- package/node/components/Select/cases/groups/utils/toggleGroup/index.js +17 -0
- package/node/components/Select/cases/groups/utils/toggleGroup/toggleGroup.d.ts +6 -0
- package/node/components/Select/cases/groups/utils/toggleGroup/toggleGroup.js +18 -0
- package/node/components/Select/cases/index.d.ts +1 -0
- package/node/components/{ResizingDataGrid/Sliders → Select/cases}/index.js +1 -1
- package/node/components/Select/constants.d.ts +7 -0
- package/node/components/Select/constants.js +9 -1
- package/node/components/Select/index.d.ts +1 -1
- package/node/components/Select/public.d.ts +1 -1
- package/node/components/Select/styles.d.ts +10 -1
- package/node/components/Select/styles.js +30 -3
- package/node/components/Select/types.d.ts +81 -2
- package/node/components/Select/useLogic/hooks/index.d.ts +1 -0
- package/node/components/Select/useLogic/hooks/index.js +17 -0
- package/node/components/Select/useLogic/hooks/useOptions/index.d.ts +1 -0
- package/node/components/Select/useLogic/hooks/useOptions/index.js +17 -0
- package/node/components/Select/useLogic/hooks/useOptions/useOptions.d.ts +36 -0
- package/node/components/Select/useLogic/hooks/useOptions/useOptions.js +42 -0
- package/node/components/Select/useLogic/useLogic.d.ts +23 -4
- package/node/components/Select/useLogic/useLogic.js +119 -35
- package/node/components/Select/utils/checkIsEqualSelectValues/checkIsEqualSelectValues.d.ts +5 -0
- package/node/components/Select/utils/checkIsEqualSelectValues/checkIsEqualSelectValues.js +18 -0
- package/node/components/Select/utils/checkIsEqualSelectValues/index.d.ts +1 -0
- package/node/components/Select/utils/checkIsEqualSelectValues/index.js +17 -0
- package/node/components/Select/utils/checkIsSelectOptionsGroup/checkIsSelectOptionsGroup.d.ts +5 -0
- package/node/components/Select/utils/checkIsSelectOptionsGroup/checkIsSelectOptionsGroup.js +12 -0
- package/node/components/Select/utils/checkIsSelectOptionsGroup/index.d.ts +1 -0
- package/node/components/Select/utils/checkIsSelectOptionsGroup/index.js +17 -0
- package/node/components/Select/utils/getSelectOptionsList/getSelectOptionsList.d.ts +5 -0
- package/node/components/Select/utils/getSelectOptionsList/getSelectOptionsList.js +9 -0
- package/node/components/Select/utils/getSelectOptionsList/index.d.ts +1 -0
- package/node/components/Select/utils/getSelectOptionsList/index.js +17 -0
- package/node/components/Select/utils/index.d.ts +3 -0
- package/node/components/Select/utils/index.js +19 -0
- package/node/components/SelectionCard/DefaultIndicator/DefaultIndicator.d.ts +5 -0
- package/node/components/SelectionCard/DefaultIndicator/DefaultIndicator.js +18 -0
- package/node/components/SelectionCard/DefaultIndicator/index.d.ts +1 -0
- package/node/components/SelectionCard/DefaultIndicator/index.js +17 -0
- package/node/components/SelectionCard/DefaultIndicator/types.d.ts +7 -0
- package/node/components/SelectionCard/DefaultIndicator/types.js +2 -0
- package/node/components/SelectionCard/SelectionCard.d.ts +5 -0
- package/node/components/SelectionCard/SelectionCard.js +52 -0
- package/node/components/SelectionCard/cases/grouped/index.d.ts +1 -0
- package/node/components/SelectionCard/cases/grouped/index.js +5 -0
- package/node/components/SelectionCard/cases/grouped/styles.d.ts +10 -0
- package/node/components/SelectionCard/cases/grouped/styles.js +131 -0
- package/node/components/SelectionCard/cases/index.d.ts +2 -0
- package/node/components/SelectionCard/cases/index.js +18 -0
- package/node/components/SelectionCard/cases/standalone/index.d.ts +1 -0
- package/node/components/SelectionCard/cases/standalone/index.js +5 -0
- package/node/components/SelectionCard/cases/standalone/styles.d.ts +10 -0
- package/node/components/SelectionCard/cases/standalone/styles.js +80 -0
- package/node/components/SelectionCard/constants.d.ts +15 -0
- package/node/components/SelectionCard/constants.js +19 -0
- package/node/components/SelectionCard/index.d.ts +2 -0
- package/node/components/SelectionCard/index.js +5 -0
- package/node/components/SelectionCard/public.d.ts +2 -0
- package/node/components/SelectionCard/public.js +5 -0
- package/node/components/SelectionCard/styles.d.ts +39 -0
- package/node/components/SelectionCard/styles.js +84 -0
- package/node/components/SelectionCard/types.d.ts +31 -0
- package/node/components/SelectionCard/types.js +2 -0
- package/node/components/SelectionCard/useLogic/index.d.ts +1 -0
- package/node/components/SelectionCard/useLogic/index.js +17 -0
- package/node/components/SelectionCard/useLogic/useLogic.d.ts +18 -0
- package/node/components/SelectionCard/useLogic/useLogic.js +52 -0
- package/node/components/SelectionCardGroup/SelectionCardGroup.d.ts +5 -0
- package/node/components/SelectionCardGroup/SelectionCardGroup.js +23 -0
- package/node/components/SelectionCardGroup/SelectionCardGroupContext/SelectionCardGroupContext.d.ts +21 -0
- package/node/components/SelectionCardGroup/SelectionCardGroupContext/SelectionCardGroupContext.js +17 -0
- package/node/components/SelectionCardGroup/SelectionCardGroupContext/index.d.ts +1 -0
- package/node/components/SelectionCardGroup/SelectionCardGroupContext/index.js +17 -0
- package/node/components/SelectionCardGroup/cases/grouped/constants.d.ts +4 -0
- package/node/components/SelectionCardGroup/cases/grouped/constants.js +7 -0
- package/node/components/SelectionCardGroup/cases/grouped/index.d.ts +1 -0
- package/node/components/SelectionCardGroup/cases/grouped/index.js +17 -0
- package/node/components/SelectionCardGroup/cases/index.d.ts +4 -0
- package/node/components/SelectionCardGroup/cases/index.js +20 -0
- package/node/components/SelectionCardGroup/cases/multiple/constants.d.ts +5 -0
- package/node/components/SelectionCardGroup/cases/multiple/constants.js +12 -0
- package/node/components/SelectionCardGroup/cases/multiple/index.d.ts +2 -0
- package/node/components/SelectionCardGroup/cases/multiple/index.js +18 -0
- package/node/components/SelectionCardGroup/cases/multiple/utils/index.d.ts +1 -0
- package/node/components/SelectionCardGroup/cases/multiple/utils/index.js +17 -0
- package/node/components/SelectionCardGroup/cases/multiple/utils/toggleValue/index.d.ts +1 -0
- package/node/components/SelectionCardGroup/cases/multiple/utils/toggleValue/index.js +17 -0
- package/node/components/SelectionCardGroup/cases/multiple/utils/toggleValue/toggleValue.d.ts +4 -0
- package/node/components/SelectionCardGroup/cases/multiple/utils/toggleValue/toggleValue.js +13 -0
- package/node/components/SelectionCardGroup/cases/single/constants.d.ts +5 -0
- package/node/components/SelectionCardGroup/cases/single/constants.js +12 -0
- package/node/components/SelectionCardGroup/cases/single/index.d.ts +2 -0
- package/node/components/SelectionCardGroup/cases/single/index.js +18 -0
- package/node/components/SelectionCardGroup/cases/single/utils/index.d.ts +1 -0
- package/node/components/SelectionCardGroup/cases/single/utils/index.js +17 -0
- package/node/components/SelectionCardGroup/cases/single/utils/selectValue/index.d.ts +1 -0
- package/node/components/SelectionCardGroup/cases/single/utils/selectValue/index.js +17 -0
- package/node/components/SelectionCardGroup/cases/single/utils/selectValue/selectValue.d.ts +5 -0
- package/node/components/SelectionCardGroup/cases/single/utils/selectValue/selectValue.js +14 -0
- package/node/components/SelectionCardGroup/cases/standalone/constants.d.ts +2 -0
- package/node/components/SelectionCardGroup/cases/standalone/constants.js +5 -0
- package/node/components/SelectionCardGroup/cases/standalone/index.d.ts +3 -0
- package/node/components/SelectionCardGroup/cases/standalone/index.js +21 -0
- package/node/components/SelectionCardGroup/cases/standalone/styles.d.ts +7 -0
- package/node/components/SelectionCardGroup/cases/standalone/styles.js +13 -0
- package/node/components/SelectionCardGroup/cases/standalone/utils/getGridColumns/getGridColumns.d.ts +5 -0
- package/node/components/SelectionCardGroup/cases/standalone/utils/getGridColumns/getGridColumns.js +14 -0
- package/node/components/SelectionCardGroup/cases/standalone/utils/getGridColumns/index.d.ts +1 -0
- package/node/components/SelectionCardGroup/cases/standalone/utils/getGridColumns/index.js +17 -0
- package/node/components/SelectionCardGroup/cases/standalone/utils/index.d.ts +1 -0
- package/node/components/SelectionCardGroup/cases/standalone/utils/index.js +17 -0
- package/node/components/SelectionCardGroup/constants.d.ts +3 -0
- package/node/components/SelectionCardGroup/constants.js +7 -0
- package/node/components/SelectionCardGroup/index.d.ts +3 -0
- package/node/components/SelectionCardGroup/index.js +7 -0
- package/node/components/SelectionCardGroup/public.d.ts +2 -0
- package/node/components/SelectionCardGroup/public.js +5 -0
- package/node/components/SelectionCardGroup/styles.d.ts +15 -0
- package/node/components/SelectionCardGroup/styles.js +20 -0
- package/node/components/SelectionCardGroup/types.d.ts +120 -0
- package/node/components/SelectionCardGroup/types.js +2 -0
- package/node/components/SelectionCardGroup/useLogic/index.d.ts +1 -0
- package/node/components/SelectionCardGroup/useLogic/index.js +17 -0
- package/node/components/SelectionCardGroup/useLogic/useLogic.d.ts +17 -0
- package/node/components/SelectionCardGroup/useLogic/useLogic.js +63 -0
- package/node/components/SelectionCardGroup/useLogic/utils/createSelectHandler/createSelectHandler.d.ts +5 -0
- package/node/components/SelectionCardGroup/useLogic/utils/createSelectHandler/createSelectHandler.js +14 -0
- package/node/components/SelectionCardGroup/useLogic/utils/createSelectHandler/index.d.ts +1 -0
- package/node/components/SelectionCardGroup/useLogic/utils/createSelectHandler/index.js +17 -0
- package/node/components/SelectionCardGroup/useLogic/utils/index.d.ts +1 -0
- package/node/components/SelectionCardGroup/useLogic/utils/index.js +17 -0
- package/node/components/SelectionCardGroup/utils/getSelectedValuesList/getSelectedValuesList.d.ts +5 -0
- package/node/components/SelectionCardGroup/utils/getSelectedValuesList/getSelectedValuesList.js +16 -0
- package/node/components/SelectionCardGroup/utils/getSelectedValuesList/index.d.ts +1 -0
- package/node/components/SelectionCardGroup/utils/getSelectedValuesList/index.js +17 -0
- package/node/components/SelectionCardGroup/utils/index.d.ts +1 -0
- package/node/components/SelectionCardGroup/utils/index.js +17 -0
- package/node/components/Status/Status.d.ts +2 -0
- package/node/components/Status/Status.js +41 -0
- package/node/components/Status/constants.d.ts +17 -0
- package/node/components/Status/constants.js +21 -0
- package/node/components/Status/index.d.ts +3 -0
- package/node/components/Status/index.js +7 -0
- package/node/components/Status/public.d.ts +3 -0
- package/node/components/Status/public.js +7 -0
- package/node/components/Status/styles.d.ts +24 -0
- package/node/components/Status/styles.js +123 -0
- package/node/components/Status/types.d.ts +17 -0
- package/node/components/Status/types.js +2 -0
- package/node/components/Status/useLogic/index.d.ts +1 -0
- package/node/components/Status/useLogic/index.js +17 -0
- package/node/components/Status/useLogic/useLogic.d.ts +11 -0
- package/node/components/Status/useLogic/useLogic.js +37 -0
- package/node/components/TagBadge/styles.js +21 -3
- package/node/components/index.d.ts +1 -1
- package/node/components/utils/setRef/index.d.ts +1 -0
- package/node/components/utils/setRef/index.js +17 -0
- package/node/components/utils/setRef/setRef.d.ts +5 -0
- package/node/components/utils/setRef/setRef.js +16 -0
- package/node/hook-form/EditableText/EditingForm/EditingForm.js +1 -1
- package/node/hook-form/FormQuickFilters/FormQuickFilters.js +2 -14
- package/node/hook-form/FormQuickFilters/useLogic/useLogic.d.ts +7 -4
- package/node/hook-form/FormQuickFilters/useLogic/useLogic.js +12 -7
- package/node/hook-form/FormSelect/FormSelect.d.ts +5 -2
- package/node/hook-form/FormSelectionCardGroup/FormSelectionCardGroup.d.ts +7 -0
- package/node/hook-form/FormSelectionCardGroup/FormSelectionCardGroup.js +22 -0
- package/node/hook-form/FormSelectionCardGroup/index.d.ts +1 -0
- package/node/hook-form/FormSelectionCardGroup/index.js +17 -0
- package/node/hook-form/FormSelectionCardGroup/public.d.ts +1 -0
- package/node/hook-form/FormSelectionCardGroup/public.js +17 -0
- package/package.json +1 -17
- package/components/ResizingDataGrid/ResizingDataGrid.d.ts +0 -10
- package/components/ResizingDataGrid/ResizingDataGrid.js +0 -15
- package/components/ResizingDataGrid/Sliders/Sliders.d.ts +0 -6
- package/components/ResizingDataGrid/Sliders/Sliders.js +0 -9
- package/components/ResizingDataGrid/Sliders/index.d.ts +0 -1
- package/components/ResizingDataGrid/Sliders/index.js +0 -1
- package/components/ResizingDataGrid/Sliders/styles.js +0 -151
- package/components/ResizingDataGrid/Sliders/useLogic/useLogic.d.ts +0 -13
- package/components/ResizingDataGrid/Sliders/useLogic/useLogic.js +0 -36
- package/components/ResizingDataGrid/Sliders/useLogic/utils/computePositions/computePositions.d.ts +0 -7
- package/components/ResizingDataGrid/Sliders/useLogic/utils/computePositions/computePositions.js +0 -36
- package/components/ResizingDataGrid/Sliders/useLogic/utils/computePositions/index.d.ts +0 -1
- package/components/ResizingDataGrid/Sliders/useLogic/utils/computePositions/index.js +0 -1
- package/components/ResizingDataGrid/Sliders/useLogic/utils/createInitialSliders/createInitialSliders.d.ts +0 -1
- package/components/ResizingDataGrid/Sliders/useLogic/utils/createInitialSliders/createInitialSliders.js +0 -10
- package/components/ResizingDataGrid/Sliders/useLogic/utils/createInitialSliders/index.d.ts +0 -1
- package/components/ResizingDataGrid/Sliders/useLogic/utils/createInitialSliders/index.js +0 -1
- package/components/ResizingDataGrid/hooks/useComputedColumns/constants.d.ts +0 -1
- package/components/ResizingDataGrid/hooks/useComputedColumns/constants.js +0 -1
- package/components/ResizingDataGrid/hooks/useComputedColumns/index.d.ts +0 -1
- package/components/ResizingDataGrid/hooks/useComputedColumns/index.js +0 -1
- package/components/ResizingDataGrid/hooks/useComputedColumns/useComputedColumns.d.ts +0 -12
- package/components/ResizingDataGrid/hooks/useComputedColumns/useComputedColumns.js +0 -30
- package/components/ResizingDataGrid/hooks/useComputedColumns/utils/createComputedColumns/createComputedColumns.d.ts +0 -11
- package/components/ResizingDataGrid/hooks/useComputedColumns/utils/createComputedColumns/createComputedColumns.js +0 -24
- package/components/ResizingDataGrid/hooks/useComputedColumns/utils/createComputedColumns/index.d.ts +0 -1
- package/components/ResizingDataGrid/hooks/useComputedColumns/utils/createComputedColumns/index.js +0 -1
- package/components/ResizingDataGrid/hooks/useComputedColumns/utils/createInitialColumnsWidths/createInitialColumnsWidths.d.ts +0 -7
- package/components/ResizingDataGrid/hooks/useComputedColumns/utils/createInitialColumnsWidths/createInitialColumnsWidths.js +0 -24
- package/components/ResizingDataGrid/hooks/useComputedColumns/utils/createInitialColumnsWidths/index.d.ts +0 -1
- package/components/ResizingDataGrid/hooks/useComputedColumns/utils/createInitialColumnsWidths/index.js +0 -1
- package/components/ResizingDataGrid/hooks/useComputedColumns/utils/createStorageKey/createStorageKey.d.ts +0 -7
- package/components/ResizingDataGrid/hooks/useComputedColumns/utils/createStorageKey/createStorageKey.js +0 -6
- package/components/ResizingDataGrid/hooks/useComputedColumns/utils/createStorageKey/index.d.ts +0 -1
- package/components/ResizingDataGrid/hooks/useComputedColumns/utils/createStorageKey/index.js +0 -1
- package/components/ResizingDataGrid/index.d.ts +0 -4
- package/components/ResizingDataGrid/index.js +0 -3
- package/components/ResizingDataGrid/public.d.ts +0 -4
- package/components/ResizingDataGrid/public.js +0 -3
- package/components/ResizingDataGrid/types.d.ts +0 -43
- package/components/ResizingDataGridInfinite/ResizingDataGridInfinite.d.ts +0 -10
- package/components/ResizingDataGridInfinite/ResizingDataGridInfinite.js +0 -14
- package/components/ResizingDataGridInfinite/index.d.ts +0 -2
- package/components/ResizingDataGridInfinite/index.js +0 -1
- package/components/ResizingDataGridInfinite/public.d.ts +0 -2
- package/components/ResizingDataGridInfinite/public.js +0 -1
- package/components/ResizingDataGridInfinite/types.d.ts +0 -7
- package/node/components/ResizingDataGrid/ResizingDataGrid.d.ts +0 -10
- package/node/components/ResizingDataGrid/ResizingDataGrid.js +0 -19
- package/node/components/ResizingDataGrid/Sliders/Sliders.d.ts +0 -6
- package/node/components/ResizingDataGrid/Sliders/Sliders.js +0 -13
- package/node/components/ResizingDataGrid/Sliders/index.d.ts +0 -1
- package/node/components/ResizingDataGrid/Sliders/styles.js +0 -154
- package/node/components/ResizingDataGrid/Sliders/useLogic/useLogic.d.ts +0 -13
- package/node/components/ResizingDataGrid/Sliders/useLogic/useLogic.js +0 -40
- package/node/components/ResizingDataGrid/Sliders/useLogic/utils/computePositions/computePositions.d.ts +0 -7
- package/node/components/ResizingDataGrid/Sliders/useLogic/utils/computePositions/computePositions.js +0 -40
- package/node/components/ResizingDataGrid/Sliders/useLogic/utils/computePositions/index.d.ts +0 -1
- package/node/components/ResizingDataGrid/Sliders/useLogic/utils/createInitialSliders/createInitialSliders.d.ts +0 -1
- package/node/components/ResizingDataGrid/Sliders/useLogic/utils/createInitialSliders/createInitialSliders.js +0 -14
- package/node/components/ResizingDataGrid/Sliders/useLogic/utils/createInitialSliders/index.d.ts +0 -1
- package/node/components/ResizingDataGrid/hooks/useComputedColumns/constants.d.ts +0 -1
- package/node/components/ResizingDataGrid/hooks/useComputedColumns/index.d.ts +0 -1
- package/node/components/ResizingDataGrid/hooks/useComputedColumns/useComputedColumns.d.ts +0 -12
- package/node/components/ResizingDataGrid/hooks/useComputedColumns/useComputedColumns.js +0 -34
- package/node/components/ResizingDataGrid/hooks/useComputedColumns/utils/createComputedColumns/createComputedColumns.d.ts +0 -11
- package/node/components/ResizingDataGrid/hooks/useComputedColumns/utils/createComputedColumns/createComputedColumns.js +0 -28
- package/node/components/ResizingDataGrid/hooks/useComputedColumns/utils/createComputedColumns/index.d.ts +0 -1
- package/node/components/ResizingDataGrid/hooks/useComputedColumns/utils/createComputedColumns/index.js +0 -17
- package/node/components/ResizingDataGrid/hooks/useComputedColumns/utils/createInitialColumnsWidths/createInitialColumnsWidths.d.ts +0 -7
- package/node/components/ResizingDataGrid/hooks/useComputedColumns/utils/createInitialColumnsWidths/createInitialColumnsWidths.js +0 -28
- package/node/components/ResizingDataGrid/hooks/useComputedColumns/utils/createInitialColumnsWidths/index.d.ts +0 -1
- package/node/components/ResizingDataGrid/hooks/useComputedColumns/utils/createInitialColumnsWidths/index.js +0 -17
- package/node/components/ResizingDataGrid/hooks/useComputedColumns/utils/createStorageKey/createStorageKey.d.ts +0 -7
- package/node/components/ResizingDataGrid/hooks/useComputedColumns/utils/createStorageKey/createStorageKey.js +0 -13
- package/node/components/ResizingDataGrid/hooks/useComputedColumns/utils/createStorageKey/index.d.ts +0 -1
- package/node/components/ResizingDataGrid/index.d.ts +0 -4
- package/node/components/ResizingDataGrid/index.js +0 -9
- package/node/components/ResizingDataGrid/public.d.ts +0 -4
- package/node/components/ResizingDataGrid/public.js +0 -9
- package/node/components/ResizingDataGrid/types.d.ts +0 -43
- package/node/components/ResizingDataGridInfinite/ResizingDataGridInfinite.d.ts +0 -10
- package/node/components/ResizingDataGridInfinite/ResizingDataGridInfinite.js +0 -18
- package/node/components/ResizingDataGridInfinite/index.d.ts +0 -2
- package/node/components/ResizingDataGridInfinite/index.js +0 -5
- package/node/components/ResizingDataGridInfinite/public.d.ts +0 -2
- package/node/components/ResizingDataGridInfinite/public.js +0 -5
- package/node/components/ResizingDataGridInfinite/types.d.ts +0 -7
- /package/components/{ResizingDataGrid/Sliders → DataGrid/Head}/useLogic/index.d.ts +0 -0
- /package/components/{ResizingDataGrid/Sliders → DataGrid/Head}/useLogic/index.js +0 -0
- /package/components/{ResizingDataGrid → DataGrid/plugins/resize}/types.js +0 -0
- /package/components/{ResizingDataGridInfinite → Select/OptionMenuItem}/types.js +0 -0
- /package/{node/components/ResizingDataGrid/Sliders → components/Select/cases/groups/SelectGroup}/useLogic/index.d.ts +0 -0
- /package/node/components/{ResizingDataGrid/Sliders → DataGrid/Head}/useLogic/index.js +0 -0
- /package/node/components/{ResizingDataGrid → DataGrid/plugins/resize}/types.js +0 -0
- /package/node/components/{ResizingDataGridInfinite → Select/OptionMenuItem}/types.js +0 -0
package/components/SelectionCardGroup/useLogic/utils/createSelectHandler/createSelectHandler.d.ts
ADDED
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import type { SelectionMode } from '../../../types';
|
|
2
|
+
/**
|
|
3
|
+
* Создаёт обработчик клика по карточке
|
|
4
|
+
*/
|
|
5
|
+
export declare const createSelectHandler: <TValue extends string | string[]>(getNextValue: (selectedValues: string[], cardValue: string) => TValue | undefined, onChange?: ((value: TValue) => void) | undefined) => (selectedValues: string[], cardValue: string) => TValue | undefined;
|
package/components/SelectionCardGroup/useLogic/utils/createSelectHandler/createSelectHandler.js
ADDED
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Создаёт обработчик клика по карточке
|
|
3
|
+
*/
|
|
4
|
+
export const createSelectHandler = (getNextValue, onChange) => (selectedValues, cardValue) => {
|
|
5
|
+
const newValue = getNextValue(selectedValues, cardValue);
|
|
6
|
+
if (newValue !== undefined) {
|
|
7
|
+
onChange?.(newValue);
|
|
8
|
+
}
|
|
9
|
+
return newValue;
|
|
10
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './createSelectHandler';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './createSelectHandler';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './createSelectHandler';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './createSelectHandler';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './getSelectedValuesList';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './getSelectedValuesList';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './getSelectedValuesList';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './getSelectedValuesList';
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
|
+
import { cn } from '../utils/cn';
|
|
3
|
+
import { cva } from '../utils/cva';
|
|
4
|
+
import { statusClassnames } from './constants';
|
|
5
|
+
import { Label, Marker, Wrapper } from './styles';
|
|
6
|
+
import { useLogic } from './useLogic';
|
|
7
|
+
const statusCva = cva(statusClassnames.root, {
|
|
8
|
+
variants: {
|
|
9
|
+
size: {
|
|
10
|
+
small: statusClassnames.sizeSmall,
|
|
11
|
+
medium: statusClassnames.sizeMedium,
|
|
12
|
+
},
|
|
13
|
+
variant: {
|
|
14
|
+
text: statusClassnames.variantText,
|
|
15
|
+
light: statusClassnames.variantLight,
|
|
16
|
+
},
|
|
17
|
+
phase: {
|
|
18
|
+
idle: '',
|
|
19
|
+
exit: statusClassnames.animExit,
|
|
20
|
+
enter: statusClassnames.animEnter,
|
|
21
|
+
},
|
|
22
|
+
color: {
|
|
23
|
+
grey: statusClassnames.colorGrey,
|
|
24
|
+
primary: statusClassnames.colorPrimary,
|
|
25
|
+
success: statusClassnames.colorSuccess,
|
|
26
|
+
warning: statusClassnames.colorWarning,
|
|
27
|
+
error: statusClassnames.colorError,
|
|
28
|
+
},
|
|
29
|
+
},
|
|
30
|
+
});
|
|
31
|
+
export const Status = ({ label, status, size = 'medium', variant = 'text', className, }) => {
|
|
32
|
+
const { displayStatus, displayLabel, phase, handleAnimationEnd } = useLogic({
|
|
33
|
+
label,
|
|
34
|
+
status,
|
|
35
|
+
});
|
|
36
|
+
return (_jsxs(Wrapper, { className: cn(statusCva({ size, variant, phase, color: displayStatus }), className), onAnimationEnd: handleAnimationEnd, children: [_jsx(Marker, { "aria-hidden": true, className: statusClassnames.marker, viewBox: "0 0 20 20", width: "20px", height: "20px", children: _jsx("circle", { cx: "10", cy: "10", r: "3.33333" }) }), _jsx(Label, { component: "span", children: displayLabel })] }));
|
|
37
|
+
};
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
export declare const statusClassnames: {
|
|
2
|
+
root: string;
|
|
3
|
+
marker: string;
|
|
4
|
+
colorGrey: string;
|
|
5
|
+
colorPrimary: string;
|
|
6
|
+
colorSuccess: string;
|
|
7
|
+
colorWarning: string;
|
|
8
|
+
colorError: string;
|
|
9
|
+
sizeSmall: string;
|
|
10
|
+
sizeMedium: string;
|
|
11
|
+
variantText: string;
|
|
12
|
+
variantLight: string;
|
|
13
|
+
animExit: string;
|
|
14
|
+
animEnter: string;
|
|
15
|
+
};
|
|
16
|
+
export declare const STATUS_EXIT_ANIMATION = "status-content-exit";
|
|
17
|
+
export declare const STATUS_ENTER_ANIMATION = "status-content-enter";
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { createUIKitClassname } from '../utils/createUIKitClassname';
|
|
2
|
+
export const statusClassnames = {
|
|
3
|
+
root: createUIKitClassname('status'),
|
|
4
|
+
marker: createUIKitClassname('status__marker'),
|
|
5
|
+
colorGrey: createUIKitClassname('status_color-grey'),
|
|
6
|
+
colorPrimary: createUIKitClassname('status_color-primary'),
|
|
7
|
+
colorSuccess: createUIKitClassname('status_color-success'),
|
|
8
|
+
colorWarning: createUIKitClassname('status_color-warning'),
|
|
9
|
+
colorError: createUIKitClassname('status_color-error'),
|
|
10
|
+
sizeSmall: createUIKitClassname('status_size-small'),
|
|
11
|
+
sizeMedium: createUIKitClassname('status_size-medium'),
|
|
12
|
+
variantText: createUIKitClassname('status_variant-text'),
|
|
13
|
+
variantLight: createUIKitClassname('status_variant-light'),
|
|
14
|
+
animExit: createUIKitClassname('status_anim-exit'),
|
|
15
|
+
animEnter: createUIKitClassname('status_anim-enter'),
|
|
16
|
+
};
|
|
17
|
+
export const STATUS_EXIT_ANIMATION = 'status-content-exit';
|
|
18
|
+
export const STATUS_ENTER_ANIMATION = 'status-content-enter';
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
export declare const Wrapper: import("../styled").StyledComponent<{
|
|
3
|
+
theme?: import("@emotion/react").Theme | undefined;
|
|
4
|
+
as?: import("react").ElementType<any, keyof import("react").JSX.IntrinsicElements> | undefined;
|
|
5
|
+
}, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, {}>;
|
|
6
|
+
export declare const Marker: import("../styled").StyledComponent<{
|
|
7
|
+
children?: import("react").ReactNode;
|
|
8
|
+
color?: string | undefined;
|
|
9
|
+
titleAccess?: string | undefined;
|
|
10
|
+
size?: "sm" | "md" | "auto" | undefined;
|
|
11
|
+
} & import("react").SVGProps<SVGSVGElement> & {
|
|
12
|
+
theme?: import("@emotion/react").Theme | undefined;
|
|
13
|
+
}, {}, {}>;
|
|
14
|
+
export declare const Label: import("../styled").StyledComponent<import("../Typography/types").TypographyPropsBase & {
|
|
15
|
+
color?: import("../Typography").TypographyColor | undefined;
|
|
16
|
+
variant?: import("../Typography").TypographyVariant | undefined;
|
|
17
|
+
colorIntensity?: import("../Typography").Intensity | undefined;
|
|
18
|
+
component?: import("../Typography/types").ComponentProp | undefined;
|
|
19
|
+
isUpperCase?: boolean | undefined;
|
|
20
|
+
withoutCalt?: boolean | undefined;
|
|
21
|
+
isTabularNums?: boolean | undefined;
|
|
22
|
+
} & import("react").HTMLAttributes<HTMLParagraphElement> & import("react").RefAttributes<HTMLSpanElement> & {
|
|
23
|
+
theme?: import("@emotion/react").Theme | undefined;
|
|
24
|
+
}, {}, {}>;
|
|
@@ -0,0 +1,120 @@
|
|
|
1
|
+
import { SvgIcon } from '../SvgIcon';
|
|
2
|
+
import { styled } from '../styled';
|
|
3
|
+
import { Typography } from '../Typography';
|
|
4
|
+
import { STATUS_ENTER_ANIMATION, STATUS_EXIT_ANIMATION, statusClassnames, } from './constants';
|
|
5
|
+
export const Wrapper = styled.span `
|
|
6
|
+
transform-origin: center;
|
|
7
|
+
|
|
8
|
+
display: inline-flex;
|
|
9
|
+
gap: ${({ theme }) => theme.spacing(1)};
|
|
10
|
+
align-items: center;
|
|
11
|
+
|
|
12
|
+
min-width: 0;
|
|
13
|
+
max-width: 100%;
|
|
14
|
+
|
|
15
|
+
&.${statusClassnames.variantLight} {
|
|
16
|
+
border-radius: ${({ theme }) => theme.shape.medium};
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
&.${statusClassnames.sizeSmall}.${statusClassnames.variantLight} {
|
|
20
|
+
height: ${({ theme }) => theme.spacing(8)};
|
|
21
|
+
padding: ${({ theme }) => theme.microSpacing(3, 6, 3, 2)};
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
&.${statusClassnames.sizeMedium}.${statusClassnames.variantLight} {
|
|
25
|
+
height: ${({ theme }) => theme.spacing(10)};
|
|
26
|
+
padding: ${({ theme }) => theme.microSpacing(5, 6, 5, 3)};
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
&.${statusClassnames.variantLight} {
|
|
30
|
+
&.${statusClassnames.colorGrey} {
|
|
31
|
+
background-color: ${({ theme }) => theme.palette.grey[100]};
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
&.${statusClassnames.colorPrimary} {
|
|
35
|
+
background-color: ${({ theme }) => theme.palette.primary[100]};
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
&.${statusClassnames.colorSuccess} {
|
|
39
|
+
background-color: ${({ theme }) => theme.palette.green[100]};
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
&.${statusClassnames.colorWarning} {
|
|
43
|
+
background-color: ${({ theme }) => theme.palette.yellow[100]};
|
|
44
|
+
}
|
|
45
|
+
|
|
46
|
+
&.${statusClassnames.colorError} {
|
|
47
|
+
background-color: ${({ theme }) => theme.palette.red[100]};
|
|
48
|
+
}
|
|
49
|
+
}
|
|
50
|
+
|
|
51
|
+
&.${statusClassnames.colorGrey} .${statusClassnames.marker} {
|
|
52
|
+
color: ${({ theme }) => theme.palette.grey[800]};
|
|
53
|
+
}
|
|
54
|
+
|
|
55
|
+
&.${statusClassnames.colorPrimary} .${statusClassnames.marker} {
|
|
56
|
+
color: ${({ theme }) => theme.palette.primary[800]};
|
|
57
|
+
}
|
|
58
|
+
|
|
59
|
+
&.${statusClassnames.colorSuccess} .${statusClassnames.marker} {
|
|
60
|
+
color: ${({ theme }) => theme.palette.green[800]};
|
|
61
|
+
}
|
|
62
|
+
|
|
63
|
+
&.${statusClassnames.colorWarning} .${statusClassnames.marker} {
|
|
64
|
+
color: ${({ theme }) => theme.palette.yellow[800]};
|
|
65
|
+
}
|
|
66
|
+
|
|
67
|
+
&.${statusClassnames.colorError} .${statusClassnames.marker} {
|
|
68
|
+
color: ${({ theme }) => theme.palette.red[800]};
|
|
69
|
+
}
|
|
70
|
+
|
|
71
|
+
&.${statusClassnames.animExit} {
|
|
72
|
+
animation: ${STATUS_EXIT_ANIMATION}
|
|
73
|
+
${({ theme }) => theme.transitions.duration.shortest}ms linear forwards;
|
|
74
|
+
}
|
|
75
|
+
|
|
76
|
+
&.${statusClassnames.animEnter} {
|
|
77
|
+
animation: ${STATUS_ENTER_ANIMATION}
|
|
78
|
+
${({ theme }) => theme.transitions.duration.shortest}ms linear both;
|
|
79
|
+
}
|
|
80
|
+
|
|
81
|
+
@keyframes ${STATUS_EXIT_ANIMATION} {
|
|
82
|
+
from {
|
|
83
|
+
transform: translateY(0) scale(1);
|
|
84
|
+
|
|
85
|
+
opacity: 1;
|
|
86
|
+
}
|
|
87
|
+
|
|
88
|
+
to {
|
|
89
|
+
transform: translateY(-${({ theme }) => theme.spacing(1)}) scale(0.94);
|
|
90
|
+
|
|
91
|
+
opacity: 0;
|
|
92
|
+
}
|
|
93
|
+
}
|
|
94
|
+
|
|
95
|
+
@keyframes ${STATUS_ENTER_ANIMATION} {
|
|
96
|
+
from {
|
|
97
|
+
transform: translateY(${({ theme }) => theme.microSpacing(3)}) scale(0.94);
|
|
98
|
+
|
|
99
|
+
opacity: 0;
|
|
100
|
+
}
|
|
101
|
+
|
|
102
|
+
to {
|
|
103
|
+
transform: translateY(0) scale(1);
|
|
104
|
+
|
|
105
|
+
opacity: 1;
|
|
106
|
+
}
|
|
107
|
+
}
|
|
108
|
+
`;
|
|
109
|
+
export const Marker = styled(SvgIcon) `
|
|
110
|
+
flex-shrink: 0;
|
|
111
|
+
`;
|
|
112
|
+
export const Label = styled(Typography) `
|
|
113
|
+
overflow: hidden;
|
|
114
|
+
flex: 1;
|
|
115
|
+
|
|
116
|
+
min-width: 0;
|
|
117
|
+
|
|
118
|
+
text-overflow: ellipsis;
|
|
119
|
+
white-space: nowrap;
|
|
120
|
+
`;
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
export type StatusColor = 'grey' | 'primary' | 'success' | 'warning' | 'error';
|
|
2
|
+
export type StatusVariant = 'text' | 'light';
|
|
3
|
+
export type StatusSize = 'small' | 'medium';
|
|
4
|
+
export type StatusProps = {
|
|
5
|
+
/** Текст статуса. */
|
|
6
|
+
label: string;
|
|
7
|
+
/** Смысловой цвет маркера и, для `light`, фона. */
|
|
8
|
+
status: StatusColor;
|
|
9
|
+
/** Размер статусного элемента. @default 'medium' */
|
|
10
|
+
size?: StatusSize;
|
|
11
|
+
/**
|
|
12
|
+
* Вариант без фона или с фоновой заливкой. @default 'text'
|
|
13
|
+
*/
|
|
14
|
+
variant?: StatusVariant;
|
|
15
|
+
/** Дополнительный CSS-класс корневого элемента. */
|
|
16
|
+
className?: string;
|
|
17
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './useLogic';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './useLogic';
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { type AnimationEvent } from 'react';
|
|
2
|
+
import type { StatusColor, StatusProps } from '../types';
|
|
3
|
+
type AnimationPhase = 'idle' | 'exit' | 'enter';
|
|
4
|
+
type UseLogicParams = Pick<StatusProps, 'status' | 'label'>;
|
|
5
|
+
export declare const useLogic: ({ status, label }: UseLogicParams) => {
|
|
6
|
+
displayStatus: StatusColor;
|
|
7
|
+
displayLabel: string;
|
|
8
|
+
phase: AnimationPhase;
|
|
9
|
+
handleAnimationEnd: (event: AnimationEvent<HTMLElement>) => void;
|
|
10
|
+
};
|
|
11
|
+
export {};
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
import { useRef, useState } from 'react';
|
|
2
|
+
import { useUpdateEffect } from '../../useUpdateEffect';
|
|
3
|
+
export const useLogic = ({ status, label }) => {
|
|
4
|
+
const displayedRef = useRef({ status, label });
|
|
5
|
+
const [phase, setPhase] = useState('idle');
|
|
6
|
+
useUpdateEffect(() => {
|
|
7
|
+
setPhase('exit');
|
|
8
|
+
}, [status, label]);
|
|
9
|
+
const handleAnimationEnd = (event) => {
|
|
10
|
+
if (event.target !== event.currentTarget) {
|
|
11
|
+
return;
|
|
12
|
+
}
|
|
13
|
+
if (phase === 'exit') {
|
|
14
|
+
displayedRef.current = { status, label };
|
|
15
|
+
setPhase('enter');
|
|
16
|
+
return;
|
|
17
|
+
}
|
|
18
|
+
if (phase === 'enter') {
|
|
19
|
+
setPhase('idle');
|
|
20
|
+
}
|
|
21
|
+
};
|
|
22
|
+
const isChangePending = (status !== displayedRef.current.status ||
|
|
23
|
+
label !== displayedRef.current.label) &&
|
|
24
|
+
phase === 'idle';
|
|
25
|
+
const displayStatus = phase === 'exit' || isChangePending ? displayedRef.current.status : status;
|
|
26
|
+
const displayLabel = phase === 'exit' || isChangePending ? displayedRef.current.label : label;
|
|
27
|
+
return {
|
|
28
|
+
displayStatus,
|
|
29
|
+
displayLabel,
|
|
30
|
+
phase,
|
|
31
|
+
handleAnimationEnd,
|
|
32
|
+
};
|
|
33
|
+
};
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { Badge } from '../Badge';
|
|
2
2
|
import { styled } from '../styled/index';
|
|
3
|
+
import { tagClassnames } from '../Tag/constants';
|
|
3
4
|
const getBadgeBgColor = ({ color, theme, variant, }) => {
|
|
4
5
|
if (variant === 'contained' || variant === 'light') {
|
|
5
6
|
return 'transparent';
|
|
@@ -48,11 +49,11 @@ export const StyledBadge = styled(Badge, {
|
|
|
48
49
|
transform: none;
|
|
49
50
|
|
|
50
51
|
min-width: ${({ $variant }) => ($variant === 'text' ? '24px' : 'unset')};
|
|
51
|
-
|
|
52
|
-
/* Выравнивание текста TagBadge и Tag */
|
|
53
|
-
margin-top: ${({ $variant }) => ($variant === 'text' ? 0 : '0.15em')};
|
|
54
52
|
padding: ${({ theme, $variant }) => $variant === 'text' ? theme.spacing(0, 1) : 0};
|
|
55
53
|
|
|
54
|
+
font-size: ${({ theme }) => theme.typography.body1.fontSize};
|
|
55
|
+
font-weight: ${({ theme }) => theme.typography.body1.fontWeight};
|
|
56
|
+
line-height: ${({ theme }) => theme.typography.body1.lineHeight};
|
|
56
57
|
color: ${({ theme, $color, $variant, $isChecked, $isDisabled }) => getBadgeColor({
|
|
57
58
|
theme,
|
|
58
59
|
color: $color,
|
|
@@ -62,5 +63,22 @@ export const StyledBadge = styled(Badge, {
|
|
|
62
63
|
})};
|
|
63
64
|
|
|
64
65
|
background-color: ${({ theme, $color, $variant }) => getBadgeBgColor({ theme, color: $color, variant: $variant })};
|
|
66
|
+
|
|
67
|
+
.${tagClassnames.variantText} & {
|
|
68
|
+
font-size: ${({ theme }) => theme.typography.pointer.fontSize};
|
|
69
|
+
font-weight: ${({ theme }) => theme.typography.pointer.fontWeight};
|
|
70
|
+
line-height: ${({ theme }) => theme.typography.pointer.lineHeight};
|
|
71
|
+
}
|
|
72
|
+
|
|
73
|
+
/* Мобильные размеры токенов в теме не типизированы, берём токены с тем же статичным размером */
|
|
74
|
+
${({ theme }) => theme.breakpoints.down('mobile')} {
|
|
75
|
+
/* mobWeb/body1 - 16px */
|
|
76
|
+
font-size: ${({ theme }) => theme.typography.subtitle1.fontSize};
|
|
77
|
+
|
|
78
|
+
.${tagClassnames.variantText} & {
|
|
79
|
+
/* mobWeb/pointer - 14px */
|
|
80
|
+
font-size: ${({ theme }) => theme.typography.body1.fontSize};
|
|
81
|
+
}
|
|
82
|
+
}
|
|
65
83
|
}
|
|
66
84
|
`;
|
package/components/index.d.ts
CHANGED
|
@@ -131,7 +131,7 @@ export * from './MenuItem';
|
|
|
131
131
|
export * from './MenuList';
|
|
132
132
|
export { MinimalisticPagination, type MinimalisticPaginationProps, } from './MinimalisticPagination';
|
|
133
133
|
export * from './NavMenu';
|
|
134
|
-
export { type DataGridColumns, type DataGridRenderLink, type DataGridRenderLinkParams, type DataGridRow, type DataGridRowDisabled, type DataGridRowOptions, type DataGridSort, DataGrid, type DataGridProps, } from './DataGrid';
|
|
134
|
+
export { type DataGridColumns, type DataGridRenderLink, type DataGridRenderLinkParams, type DataGridRow, type DataGridRowDisabled, type DataGridRowOptions, type DataGridSort, DataGrid, type DataGridProps, type DataGridPlugin, type DataGridHeaderProps, } from './DataGrid';
|
|
135
135
|
export { DataGridInfinite, type DataGridInfiniteProps, } from './DataGridInfinite';
|
|
136
136
|
export { DataGridColumnHintIcon, type DataGridColumnHintIconProps, } from './DataGridColumnHintIcon';
|
|
137
137
|
export { type DateItemProps, type DateRangePickerProps, type DateRangePickerValue, DateRangePicker, } from './DateRangePicker';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './setRef';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './setRef';
|
|
@@ -19,5 +19,5 @@ export const EditingForm = (props) => {
|
|
|
19
19
|
fullWidth: true,
|
|
20
20
|
autoFocus: true,
|
|
21
21
|
};
|
|
22
|
-
return (_jsx(Wrapper, { children: _jsxs(Form, { ...formProps, children: [_jsx(Description, { children: "\u0412\u0432\u0435\u0434\u0438\u0442\u0435 \u043D\u043E\u0432\u043E\u0435 \u0437\u043D\u0430\u0447\u0435\u043D\u0438\u0435 \u0438 \
|
|
22
|
+
return (_jsx(Wrapper, { children: _jsxs(Form, { ...formProps, children: [_jsx(Description, { children: "\u0412\u0432\u0435\u0434\u0438\u0442\u0435 \u043D\u043E\u0432\u043E\u0435 \u0437\u043D\u0430\u0447\u0435\u043D\u0438\u0435 \u0438 \u043F\u043E\u0434\u0442\u0432\u0435\u0440\u0434\u0438\u0442\u0435 \u0441\u043E\u0445\u0440\u0430\u043D\u0435\u043D\u0438\u0435" }), _jsxs(FieldRow, { children: [_jsx(FieldContainer, { children: componentField(formFieldProps) }), !isMobile && (_jsxs(Actions, { children: [_jsx(FormIconSubmitButton, { variant: "outlined", size: "large", color: "success", "aria-label": "\u0421\u043E\u0445\u0440\u0430\u043D\u0438\u0442\u044C", children: _jsx(CheckOutlineMd, {}) }), _jsx(IconButton, { variant: "outlined", size: "large", color: "grey", "aria-label": "\u041E\u0442\u043C\u0435\u043D\u0430", onClick: onClose, children: _jsx(CrossOutlineMd, {}) })] }))] }), isMobile && (_jsx(FormFooter, { children: _jsx(FormSubmitButton, { children: "\u0421\u043E\u0445\u0440\u0430\u043D\u0438\u0442\u044C" }) }))] }) }));
|
|
23
23
|
};
|
|
@@ -1,8 +1,5 @@
|
|
|
1
1
|
import { jsx as _jsx, jsxs as _jsxs, Fragment as _Fragment } from "react/jsx-runtime";
|
|
2
|
-
import { Checkbox } from '../../components/Checkbox';
|
|
3
2
|
import { Chip, ChipProvider } from '../../components/Chip';
|
|
4
|
-
import { ListItemIcon } from '../../components/ListItemIcon';
|
|
5
|
-
import { MenuItem } from '../../components/MenuItem';
|
|
6
3
|
import { FormSelect } from '../FormSelect';
|
|
7
4
|
import { FORM_FILTERS_QUICK_FILTERS_ID, FORM_QUICK_FILTERS_ALL_CHIP_KEY, FORM_QUICK_FILTERS_ALL_VALUE, } from './constants';
|
|
8
5
|
import { MobileWrapper, Wrapper } from './styles';
|
|
@@ -32,15 +29,6 @@ import { useLogic } from './useLogic/useLogic';
|
|
|
32
29
|
* />
|
|
33
30
|
*/
|
|
34
31
|
export const FormQuickFilters = (props) => {
|
|
35
|
-
const { field, filterOptions, checkIsAllSelected, handleChipChange, isSelected, label, allLabel, allCounter, multiple, maxCount, name, placeholder, control, getOptionLabel,
|
|
36
|
-
|
|
37
|
-
return filterOptions.map((option) => {
|
|
38
|
-
const checked = control._formValues[name]?.includes(option.value);
|
|
39
|
-
return (_jsxs(MenuItem, { value: option.value, children: [_jsx(ListItemIcon, { children: _jsx(Checkbox, { checked: checked }) }), option.label, getCounterLabel(option)] }, option.value));
|
|
40
|
-
});
|
|
41
|
-
};
|
|
42
|
-
const renderSingleOptions = () => {
|
|
43
|
-
return filterOptions.map((option) => (_jsxs(MenuItem, { value: option.value, children: [option.label, getCounterLabel(option)] }, option.value)));
|
|
44
|
-
};
|
|
45
|
-
return (_jsxs(_Fragment, { children: [_jsx(Wrapper, { children: _jsxs(ChipProvider, { mode: multiple ? 'multiple' : 'single', name: name, children: [_jsx(Chip, { label: allLabel, isSelected: checkIsAllSelected(), onChange: () => handleChipChange(FORM_QUICK_FILTERS_ALL_VALUE), counter: allCounter, size: "medium", maxCount: maxCount, value: FORM_QUICK_FILTERS_ALL_VALUE }, FORM_QUICK_FILTERS_ALL_CHIP_KEY), filterOptions.map((option) => (_jsx(Chip, { label: option.label, isSelected: isSelected(option.value), onChange: () => handleChipChange(option.value), status: option.status, counter: option.counter, size: "medium", maxCount: maxCount, value: String(option.value) }, option.value)))] }) }), _jsx(MobileWrapper, { children: _jsx(FormSelect, { control: control, name: name, inputProps: { id: FORM_FILTERS_QUICK_FILTERS_ID }, label: label, getOptionLabel: getOptionLabel, multiple: multiple, onChange: field.onChange, onBlur: field.onBlur, fullWidth: true, placeholder: placeholder, children: multiple ? renderMultipleOptions() : renderSingleOptions() }) })] }));
|
|
32
|
+
const { field, filterOptions, checkIsAllSelected, handleChipChange, isSelected, label, allLabel, allCounter, multiple, maxCount, name, placeholder, control, selectOptions, getOptionLabel, renderOption, handleSelectChange, } = useLogic(props);
|
|
33
|
+
return (_jsxs(_Fragment, { children: [_jsx(Wrapper, { children: _jsxs(ChipProvider, { mode: multiple ? 'multiple' : 'single', name: name, children: [_jsx(Chip, { label: allLabel, isSelected: checkIsAllSelected(), onChange: () => handleChipChange(FORM_QUICK_FILTERS_ALL_VALUE), counter: allCounter, size: "medium", maxCount: maxCount, value: FORM_QUICK_FILTERS_ALL_VALUE }, FORM_QUICK_FILTERS_ALL_CHIP_KEY), filterOptions.map((option) => (_jsx(Chip, { label: option.label, isSelected: isSelected(option.value), onChange: () => handleChipChange(option.value), status: option.status, counter: option.counter, size: "medium", maxCount: maxCount, value: String(option.value) }, option.value)))] }) }), _jsx(MobileWrapper, { children: _jsx(FormSelect, { control: control, name: name, inputProps: { id: FORM_FILTERS_QUICK_FILTERS_ID }, label: label, options: selectOptions, getOptionLabel: getOptionLabel, renderOption: renderOption, multiple: multiple, onChange: handleSelectChange, onBlur: field.onBlur, fullWidth: true, placeholder: placeholder }) })] }));
|
|
46
34
|
};
|
|
@@ -1,7 +1,8 @@
|
|
|
1
|
-
import type {
|
|
1
|
+
import type { SelectChangeEvent } from '@mui/material/Select';
|
|
2
|
+
import type { FormQuickFiltersProps, QuickFilterValue } from '../types';
|
|
2
3
|
export declare const useLogic: <TFieldValues extends object>({ control, name, label, options, allLabel, allCounter, multiple, maxCount, placeholder, }: FormQuickFiltersProps<TFieldValues>) => {
|
|
3
4
|
field: import("react-hook-form").ControllerRenderProps<TFieldValues, import("react-hook-form").Path<TFieldValues>>;
|
|
4
|
-
filterOptions: QuickFilterOption[];
|
|
5
|
+
filterOptions: import("../types").QuickFilterOption[];
|
|
5
6
|
checkIsAllSelected: () => boolean;
|
|
6
7
|
handleChipChange: (optionValue: QuickFilterValue) => void;
|
|
7
8
|
isSelected: (optionValue: QuickFilterValue) => boolean;
|
|
@@ -13,6 +14,8 @@ export declare const useLogic: <TFieldValues extends object>({ control, name, la
|
|
|
13
14
|
name: import("react-hook-form").Path<TFieldValues>;
|
|
14
15
|
placeholder: string | undefined;
|
|
15
16
|
control: import("react-hook-form").Control<TFieldValues>;
|
|
16
|
-
|
|
17
|
-
|
|
17
|
+
selectOptions: QuickFilterValue[];
|
|
18
|
+
getOptionLabel: (value: QuickFilterValue) => string;
|
|
19
|
+
renderOption: (value: QuickFilterValue) => string;
|
|
20
|
+
handleSelectChange: (event: SelectChangeEvent<unknown>) => void;
|
|
18
21
|
};
|
|
@@ -32,12 +32,15 @@ export const useLogic = ({ control, name, label, options, allLabel = FORM_QUICK_
|
|
|
32
32
|
}
|
|
33
33
|
return field.value === optionValue;
|
|
34
34
|
};
|
|
35
|
-
const
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
const
|
|
40
|
-
|
|
35
|
+
const handleSelectChange = (event) => field.onChange(event.target.value ?? FORM_QUICK_FILTERS_ALL_VALUE);
|
|
36
|
+
const selectOptions = filterOptions.map((option) => option.value);
|
|
37
|
+
const findOption = (value) => filterOptions.find((option) => option.value === value);
|
|
38
|
+
const getOptionLabel = (value) => findOption(value)?.label || String(value);
|
|
39
|
+
const renderOption = (value) => {
|
|
40
|
+
const counter = findOption(value)?.counter;
|
|
41
|
+
return counter
|
|
42
|
+
? `${getOptionLabel(value)} (${counter})`
|
|
43
|
+
: getOptionLabel(value);
|
|
41
44
|
};
|
|
42
45
|
return {
|
|
43
46
|
field,
|
|
@@ -53,7 +56,9 @@ export const useLogic = ({ control, name, label, options, allLabel = FORM_QUICK_
|
|
|
53
56
|
name,
|
|
54
57
|
placeholder,
|
|
55
58
|
control,
|
|
59
|
+
selectOptions,
|
|
56
60
|
getOptionLabel,
|
|
57
|
-
|
|
61
|
+
renderOption,
|
|
62
|
+
handleSelectChange,
|
|
58
63
|
};
|
|
59
64
|
};
|
|
@@ -1,7 +1,10 @@
|
|
|
1
1
|
import { type SelectProps } from '../../components/Select';
|
|
2
2
|
import { type WithFormFieldProps } from '../types';
|
|
3
|
-
|
|
3
|
+
/**
|
|
4
|
+
* TOption — тип пункта: выводится из options, без options по умолчанию string | number, как у value из MenuItem
|
|
5
|
+
*/
|
|
6
|
+
export type FormSelectProps<TFieldValues extends object, TOption = string | number> = WithFormFieldProps<SelectProps<unknown, TOption>, TFieldValues>;
|
|
4
7
|
/**
|
|
5
8
|
* Адаптер для Select
|
|
6
9
|
*/
|
|
7
|
-
export declare const FormSelect: <TFieldValues extends object>(props: FormSelectProps<TFieldValues>) => import("react/jsx-runtime").JSX.Element;
|
|
10
|
+
export declare const FormSelect: <TFieldValues extends object, TOption = string | number>(props: FormSelectProps<TFieldValues, TOption>) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { type SelectionCardGroupProps } from '../../components/SelectionCardGroup';
|
|
2
|
+
import { type WithFormFieldProps } from '../types';
|
|
3
|
+
export type FormSelectionCardGroupProps<TFieldValues extends object> = WithFormFieldProps<SelectionCardGroupProps, TFieldValues>;
|
|
4
|
+
/**
|
|
5
|
+
* Адаптер SelectionCardGroup для формы
|
|
6
|
+
*/
|
|
7
|
+
export declare const FormSelectionCardGroup: <TFieldValues extends object>(props: FormSelectionCardGroupProps<TFieldValues>) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { jsx as _jsx } from "react/jsx-runtime";
|
|
2
|
+
import { SelectionCardGroup, } from '../../components/SelectionCardGroup';
|
|
3
|
+
import { useFormFieldProps } from '../useFormFieldProps';
|
|
4
|
+
/**
|
|
5
|
+
* Адаптер SelectionCardGroup для формы
|
|
6
|
+
*/
|
|
7
|
+
export const FormSelectionCardGroup = (props) => {
|
|
8
|
+
const { errorText, isError, ...withoutErrorProps } = props;
|
|
9
|
+
// Пустое значение группы зависит от режима: null — ничего не выбрано, [] — пустой список
|
|
10
|
+
const emptyValue = withoutErrorProps.selectionMode === 'multiple' ? [] : null;
|
|
11
|
+
// ref из field не передаём: группа не forwardRef, прокрутка к ошибке работает через inputRef
|
|
12
|
+
const { error, helperText, inputRef, children, ref, ...fieldProps } = useFormFieldProps({
|
|
13
|
+
...withoutErrorProps,
|
|
14
|
+
defaultValue: withoutErrorProps.defaultValue ??
|
|
15
|
+
emptyValue,
|
|
16
|
+
});
|
|
17
|
+
return (_jsx(SelectionCardGroup, { isError: error, errorText: helperText, ...fieldProps, inputRef: inputRef, children: children }));
|
|
18
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './FormSelectionCardGroup';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './FormSelectionCardGroup';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './FormSelectionCardGroup';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './FormSelectionCardGroup';
|