@mailstep/design-system 0.12.0-beta.2 → 0.13.0-beta.2
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/package.json +6 -6
- package/ui/Blocks/Header/components/UserMenu/index.js +1 -1
- package/ui/Blocks/HidePrint/HidePrint.js +1 -1
- package/ui/Blocks/ImageList/ImageList.js +1 -1
- package/ui/Blocks/LoginPage/LoginPage.js +1 -1
- package/ui/Blocks/LoginPage/components/LoginForm.js +1 -1
- package/ui/Blocks/LoginPage/components/SocialLinks.js +1 -1
- package/ui/Blocks/Modal/Modal.js +1 -1
- package/ui/Blocks/Popover/index.js +1 -1
- package/ui/Blocks/Scheduler/components/BookedTimeSlots/index.js +1 -1
- package/ui/Blocks/Scheduler/components/DateChanger/index.js +1 -1
- package/ui/Blocks/SideMenu/components/Footer.js +1 -1
- package/ui/Blocks/SideMenu/components/HamburgerMenu.js +4 -4
- package/ui/Blocks/SideMenu/components/SubitemTooltip.js +1 -1
- package/ui/Blocks/Stepper/components/StepItem/index.js +1 -1
- package/ui/Elements/Alert/Alert.js +1 -1
- package/ui/Elements/Alert/styles.js +10 -10
- package/ui/Elements/Badge/Badge.js +1 -1
- package/ui/Elements/BarChartSymbol/BarChartSymbol.js +1 -1
- package/ui/Elements/BorderedBox/BorderedBox.js +1 -1
- package/ui/Elements/DatePicker/DatePicker.js +1 -1
- package/ui/Elements/DatePicker/Datetime/components/DateRepeater.js +1 -1
- package/ui/Elements/DatePicker/Datetime/components/Timepicker/Timepicker.js +1 -1
- package/ui/Elements/Dropdown/Dropdown.js +1 -1
- package/ui/Elements/DropdownMenu/DropdownMenu.js +1 -1
- package/ui/Elements/DropdownMenu/components/DefaultItem.js +1 -1
- package/ui/Elements/DropdownMenu/components/MenuItem.js +1 -1
- package/ui/Elements/DropdownSelect/DropdownSelect.js +1 -1
- package/ui/Elements/ErrorMessage/ErrorMessage.js +1 -1
- package/ui/Elements/HighlightBox/HighlightBox.js +1 -1
- package/ui/Elements/Icon/BadgeIcon.js +1 -1
- package/ui/Elements/Icon/Icon.js +1 -1
- package/ui/Elements/Line/Line.js +1 -1
- package/ui/Elements/Link/Link.js +1 -1
- package/ui/Elements/Logo/Logo.js +1 -1
- package/ui/Elements/Select/Select.js +1 -1
- package/ui/Elements/Select/components/CountMultiValue.js +1 -1
- package/ui/Elements/Select/components/DropdownIndicator.js +1 -1
- package/ui/Elements/Select/components/IconValueContainer.js +1 -1
- package/ui/Elements/Select/components/SelectAll.js +1 -1
- package/ui/Elements/SpaceAround/SpaceAround.js +1 -1
- package/ui/Elements/Tag/stories/components/predefinedTags.js +1 -1
- package/ui/Elements/Text/Text.js +1 -1
- package/ui/Elements/Toast/Toast.js +1 -1
- package/ui/Elements/Toggle/Toggle.js +1 -1
- package/ui/Elements/Tooltip/Tooltip.js +1 -1
- package/ui/{Blocks → Modules}/CommonGrid/CommonGrid.d.ts +1 -1
- package/ui/{Blocks → Modules}/CommonGrid/CommonGrid.js +8 -6
- package/ui/{Blocks → Modules}/CommonGrid/CommonGridContainer.js +5 -5
- package/ui/{Blocks → Modules}/CommonGrid/HoC/withProps.js +1 -1
- package/ui/{Blocks → Modules}/CommonGrid/HoC/withReduxActions.js +1 -1
- package/ui/{Blocks → Modules}/CommonGrid/components/ActionHead/ActionHead.js +2 -2
- package/ui/{Blocks → Modules}/CommonGrid/components/ActionHead/components/ActionDropdownMenu.js +2 -2
- package/ui/{Blocks → Modules}/CommonGrid/components/ActionHead/components/ActionDropdownSelect.js +3 -3
- package/ui/{Blocks → Modules}/CommonGrid/components/ActionHead/index.js +1 -1
- package/ui/{Blocks → Modules}/CommonGrid/components/ButtonMore/ButtonMore.js +3 -3
- package/ui/{Blocks → Modules}/CommonGrid/components/ButtonMore/index.js +1 -1
- package/ui/{Blocks → Modules}/CommonGrid/components/ColumnFilterCell.js +4 -3
- package/ui/{Blocks → Modules}/CommonGrid/components/ColumnTitle/ColumnTitle.js +2 -2
- package/ui/{Blocks → Modules}/CommonGrid/components/ColumnTitle/index.js +1 -1
- package/ui/{Blocks → Modules}/CommonGrid/components/ColumnTitle.js +2 -2
- package/ui/{Blocks → Modules}/CommonGrid/components/ControlButtons/ControlButtons.js +2 -2
- package/ui/{Blocks → Modules}/CommonGrid/components/ControlButtons/index.js +1 -1
- package/ui/{Blocks → Modules}/CommonGrid/components/ControlButtons/styles.js +1 -1
- package/ui/{Blocks → Modules}/CommonGrid/components/DataCell.js +1 -1
- package/ui/{Blocks → Modules}/CommonGrid/components/DataRow.js +1 -1
- package/ui/{Blocks → Modules}/CommonGrid/components/DropdownButton/DropdownButton.js +3 -3
- package/ui/{Blocks → Modules}/CommonGrid/components/DropdownButton/index.js +1 -1
- package/ui/{Blocks → Modules}/CommonGrid/components/ExtraControlButtons/ExtraControlButtons.js +2 -2
- package/ui/{Blocks → Modules}/CommonGrid/components/ExtraControlButtons/index.js +1 -1
- package/ui/{Blocks → Modules}/CommonGrid/components/FilterDropdown.js +2 -2
- package/ui/{Blocks → Modules}/CommonGrid/components/FilterRow.d.ts +1 -0
- package/ui/{Blocks → Modules}/CommonGrid/components/FilterRow.js +7 -2
- package/ui/{Blocks → Modules}/CommonGrid/components/Filters/ActionsFilter/ActionsFilter.js +2 -2
- package/ui/{Blocks → Modules}/CommonGrid/components/Filters/ActionsFilter/index.js +1 -1
- package/ui/{Blocks → Modules}/CommonGrid/components/Filters/BooleanSelect/BooleanSelect.js +1 -1
- package/ui/{Blocks → Modules}/CommonGrid/components/Filters/BooleanSelect/index.js +1 -1
- package/ui/{Blocks → Modules}/CommonGrid/components/Filters/DatePickerRange/DatePickerRange.js +3 -3
- package/ui/{Blocks → Modules}/CommonGrid/components/Filters/DatePickerRange/index.js +1 -1
- package/ui/{Blocks → Modules}/CommonGrid/components/Filters/DatePickerRange/utils/getCleanValues.js +1 -1
- package/ui/{Blocks → Modules}/CommonGrid/components/Filters/DatePickerRange/utils/pickerRangeToString.js +1 -1
- package/ui/{Blocks → Modules}/CommonGrid/components/Filters/DatePickerRange/utils/sameDate.js +1 -1
- package/ui/{Blocks → Modules}/CommonGrid/components/Filters/GridSelect/GridSelect.js +1 -1
- package/ui/{Blocks → Modules}/CommonGrid/components/Filters/GridSelect/guards.js +1 -1
- package/ui/{Blocks → Modules}/CommonGrid/components/Filters/GridSelect/index.js +1 -1
- package/ui/{Blocks → Modules}/CommonGrid/components/Filters/NumberRange/NumberRange.js +2 -2
- package/ui/{Blocks → Modules}/CommonGrid/components/Filters/NumberRange/index.js +1 -1
- package/ui/{Blocks → Modules}/CommonGrid/components/Filters/TextRange/TextRange.js +2 -2
- package/ui/{Blocks → Modules}/CommonGrid/components/Filters/TextRange/index.js +1 -1
- package/ui/{Blocks → Modules}/CommonGrid/components/FloatingButton/FloatingButton.js +3 -3
- package/ui/{Blocks → Modules}/CommonGrid/components/FloatingButton/index.js +1 -1
- package/ui/{Blocks → Modules}/CommonGrid/components/GridAggregation/GridAggregation.js +1 -1
- package/ui/{Blocks → Modules}/CommonGrid/components/GridAggregation/hooks/useGridAggregation.js +1 -1
- package/ui/{Blocks → Modules}/CommonGrid/components/GridAggregation/styles.js +1 -1
- package/ui/{Blocks → Modules}/CommonGrid/components/GridAggregation/utils/aggregate.js +1 -1
- package/ui/{Blocks → Modules}/CommonGrid/components/GridInfo/index.js +2 -2
- package/ui/{Blocks → Modules}/CommonGrid/components/GridModals/index.js +2 -2
- package/ui/{Blocks → Modules}/CommonGrid/components/GridStatus/index.js +1 -1
- package/ui/{Blocks → Modules}/CommonGrid/components/GroupRow.js +1 -1
- package/ui/{Blocks → Modules}/CommonGrid/components/HeadCell.js +2 -1
- package/ui/{Blocks → Modules}/CommonGrid/components/HeadRow.d.ts +1 -0
- package/ui/{Blocks → Modules}/CommonGrid/components/HeadRow.js +12 -7
- package/ui/{Blocks → Modules}/CommonGrid/components/IconList/IconList.js +2 -2
- package/ui/{Blocks → Modules}/CommonGrid/components/IconList/index.js +1 -1
- package/ui/{Blocks → Modules}/CommonGrid/components/ManageColumnForm/ManageColumnForm.js +2 -2
- package/ui/{Blocks → Modules}/CommonGrid/components/ManageColumnForm/components/ManageColumnRow.js +2 -2
- package/ui/{Blocks → Modules}/CommonGrid/components/ManageColumnForm/index.js +1 -1
- package/ui/{Blocks → Modules}/CommonGrid/components/ManageColumnForm/styles.js +1 -1
- package/ui/{Blocks → Modules}/CommonGrid/components/ManageColumnForm/utils.js +1 -1
- package/ui/{Blocks → Modules}/CommonGrid/components/MobileFilterModal.js +3 -3
- package/ui/{Blocks → Modules}/CommonGrid/components/MobileOverlayWrapper.js +1 -1
- package/ui/{Blocks → Modules}/CommonGrid/components/MobileSortModal.js +3 -3
- package/ui/{Blocks → Modules}/CommonGrid/components/OversizedScroll.js +2 -2
- package/ui/{Blocks → Modules}/CommonGrid/components/PresetsModalBody/components/TagRemove.js +1 -1
- package/ui/{Blocks → Modules}/CommonGrid/components/PresetsModalBody/index.js +2 -2
- package/ui/{Blocks → Modules}/CommonGrid/components/QuickFilter/QuickFilter.js +2 -2
- package/ui/{Blocks → Modules}/CommonGrid/components/QuickFilter/index.js +1 -1
- package/ui/{Blocks → Modules}/CommonGrid/components/Resize.js +2 -2
- package/ui/{Blocks → Modules}/CommonGrid/components/Table.js +1 -1
- package/ui/{Blocks → Modules}/CommonGrid/components/TablePagination/TablePagination.js +2 -2
- package/ui/{Blocks → Modules}/CommonGrid/components/TablePagination/index.js +1 -1
- package/ui/{Blocks → Modules}/CommonGrid/components/gridCells/BoolIcon.js +2 -2
- package/ui/{Blocks → Modules}/CommonGrid/components/gridCells/ButtonInCell.js +1 -1
- package/ui/{Blocks → Modules}/CommonGrid/components/gridCells/Date.js +1 -1
- package/ui/{Blocks → Modules}/CommonGrid/components/gridCells/DateTime.js +1 -1
- package/ui/{Blocks → Modules}/CommonGrid/components/gridCells/EnumInCell.js +2 -2
- package/ui/{Blocks → Modules}/CommonGrid/components/gridCells/HoverBubble.js +2 -2
- package/ui/{Blocks → Modules}/CommonGrid/components/gridCells/IconButtonInCell.js +2 -2
- package/ui/{Blocks → Modules}/CommonGrid/components/gridCells/ImageCell.js +2 -2
- package/ui/{Blocks → Modules}/CommonGrid/components/gridCells/LinkInCell.js +1 -1
- package/ui/{Blocks → Modules}/CommonGrid/components/gridCells/RemoveItem.js +2 -2
- package/ui/{Blocks → Modules}/CommonGrid/components/gridCells/RowActionsCell.js +2 -2
- package/ui/{Blocks → Modules}/CommonGrid/components/gridCells/StringJoin.js +1 -1
- package/ui/{Blocks → Modules}/CommonGrid/components/gridCells/SwitchInCell.js +1 -1
- package/ui/{Blocks → Modules}/CommonGrid/components/gridCells/ToggleCell.js +1 -1
- package/ui/{Blocks → Modules}/CommonGrid/components/icons/Edit.js +1 -1
- package/ui/{Blocks → Modules}/CommonGrid/components/icons/EyeOpen.js +1 -1
- package/ui/{Blocks → Modules}/CommonGrid/components/icons/Sorting.js +1 -1
- package/ui/{Blocks → Modules}/CommonGrid/components/utils.js +1 -1
- package/ui/{Blocks → Modules}/CommonGrid/hooks/useAddFilter.js +1 -1
- package/ui/{Blocks → Modules}/CommonGrid/hooks/useApplySharedGridState.js +1 -1
- package/ui/{Blocks → Modules}/CommonGrid/hooks/useColumnSizes.js +1 -1
- package/ui/{Blocks → Modules}/CommonGrid/hooks/useCreatePreset.js +2 -2
- package/ui/{Blocks → Modules}/CommonGrid/hooks/useDeletePreset.js +2 -2
- package/ui/{Blocks → Modules}/CommonGrid/hooks/useEditReadAsColumn.js +1 -1
- package/ui/{Blocks → Modules}/CommonGrid/hooks/useEvent.js +1 -1
- package/ui/{Blocks → Modules}/CommonGrid/hooks/useFloatingButton.js +1 -1
- package/ui/{Blocks → Modules}/CommonGrid/hooks/useGridActionTrigger.js +1 -1
- package/ui/{Blocks → Modules}/CommonGrid/hooks/useGridAutoRowsPerPage.js +1 -1
- package/ui/{Blocks → Modules}/CommonGrid/hooks/useManageColumn.js +1 -1
- package/ui/{Blocks → Modules}/CommonGrid/hooks/usePresetFileHandlers.js +1 -1
- package/ui/{Blocks → Modules}/CommonGrid/hooks/usePresetsState.js +2 -2
- package/ui/{Blocks → Modules}/CommonGrid/hooks/useQuickFilter.js +1 -1
- package/ui/{Blocks → Modules}/CommonGrid/hooks/useRowsKeyControls.js +1 -1
- package/ui/{Blocks → Modules}/CommonGrid/hooks/useSelectPreset.js +1 -1
- package/ui/{Blocks → Modules}/CommonGrid/hooks/useShareGrid.js +1 -1
- package/ui/{Blocks → Modules}/CommonGrid/hooks/useToggleAllCheckbox.js +1 -1
- package/ui/{Blocks → Modules}/CommonGrid/hooks/useUxReset.js +1 -1
- package/ui/{Blocks → Modules}/CommonGrid/index.js +1 -1
- package/ui/{Blocks → Modules}/CommonGrid/store/index.js +1 -1
- package/ui/{Blocks → Modules}/CommonGrid/store/migrateState.js +1 -1
- package/ui/{Blocks → Modules}/CommonGrid/storybook/components/ComplexCell.js +1 -1
- package/ui/{Blocks → Modules}/CommonGrid/storybook/components/EnumCellExample.js +1 -1
- package/ui/{Blocks → Modules}/CommonGrid/storybook/utils/actions.js +1 -1
- package/ui/{Blocks → Modules}/CommonGrid/storybook/utils/columnDefinition.js +1 -1
- package/ui/{Blocks → Modules}/CommonGrid/storybook/utils/utils.js +1 -1
- package/ui/{Blocks → Modules}/CommonGrid/storybook/utils/withRedux.js +1 -1
- package/ui/{Blocks → Modules}/CommonGrid/storybook/utils/withRouter.js +1 -1
- package/ui/{Blocks → Modules}/CommonGrid/storybook/utils/withTheme.js +1 -1
- package/ui/{Blocks → Modules}/CommonGrid/styles.d.ts +1 -1
- package/ui/{Blocks → Modules}/CommonGrid/styles.js +1 -1
- package/ui/{Blocks → Modules}/CommonGrid/types.js +1 -1
- package/ui/{Blocks → Modules}/CommonGrid/utils/constants.js +1 -1
- package/ui/{Blocks → Modules}/CommonGrid/utils/getExtendedExtraControlButtons.js +1 -1
- package/ui/{Blocks → Modules}/CommonGrid/utils/getRowsPerPage.js +1 -1
- package/ui/{Blocks → Modules}/CommonGrid/utils/hasSortTerminated.js +1 -1
- package/ui/{Blocks → Modules}/CommonGrid/utils/index.js +1 -1
- package/ui/{Blocks → Modules}/CommonGrid/utils/shareUrl/buildShareUrl.js +1 -1
- package/ui/{Blocks → Modules}/CommonGrid/utils/shareUrl/clearShareParams.js +1 -1
- package/ui/{Blocks → Modules}/CommonGrid/utils/shareUrl/constants.js +1 -1
- package/ui/{Blocks → Modules}/CommonGrid/utils/shareUrl/parseSharedGridState.js +1 -1
- package/ui/Modules/Dashboard/components/Layout/components/ItemConfig/ItemConfigControls.js +1 -1
- package/ui/Modules/Dashboard/components/Widgets/HorizontalBar/components/LabelsLine.js +1 -1
- package/ui/Modules/Dashboard/components/Widgets/PieChart/PieChart.js +1 -1
- package/ui/Modules/Dashboard/errors/ErrorMessage.js +1 -1
- package/ui/ThemeProvider/ThemeProvider.js +1 -1
- package/ui/index.d.ts +2 -2
- package/ui/index.js +22 -22
- /package/ui/{Blocks → Modules}/CommonGrid/CommonGridContainer.d.ts +0 -0
- /package/ui/{Blocks → Modules}/CommonGrid/HoC/withProps.d.ts +0 -0
- /package/ui/{Blocks → Modules}/CommonGrid/HoC/withReduxActions.d.ts +0 -0
- /package/ui/{Blocks → Modules}/CommonGrid/components/ActionHead/ActionHead.d.ts +0 -0
- /package/ui/{Blocks → Modules}/CommonGrid/components/ActionHead/components/ActionDropdownMenu.d.ts +0 -0
- /package/ui/{Blocks → Modules}/CommonGrid/components/ActionHead/components/ActionDropdownSelect.d.ts +0 -0
- /package/ui/{Blocks → Modules}/CommonGrid/components/ActionHead/index.d.ts +0 -0
- /package/ui/{Blocks → Modules}/CommonGrid/components/ButtonMore/ButtonMore.d.ts +0 -0
- /package/ui/{Blocks → Modules}/CommonGrid/components/ButtonMore/index.d.ts +0 -0
- /package/ui/{Blocks → Modules}/CommonGrid/components/ColumnFilterCell.d.ts +0 -0
- /package/ui/{Blocks → Modules}/CommonGrid/components/ColumnTitle/ColumnTitle.d.ts +0 -0
- /package/ui/{Blocks → Modules}/CommonGrid/components/ColumnTitle/index.d.ts +0 -0
- /package/ui/{Blocks → Modules}/CommonGrid/components/ColumnTitle.d.ts +0 -0
- /package/ui/{Blocks → Modules}/CommonGrid/components/ControlButtons/ControlButtons.d.ts +0 -0
- /package/ui/{Blocks → Modules}/CommonGrid/components/ControlButtons/index.d.ts +0 -0
- /package/ui/{Blocks → Modules}/CommonGrid/components/ControlButtons/styles.d.ts +0 -0
- /package/ui/{Blocks → Modules}/CommonGrid/components/DataCell.d.ts +0 -0
- /package/ui/{Blocks → Modules}/CommonGrid/components/DataRow.d.ts +0 -0
- /package/ui/{Blocks → Modules}/CommonGrid/components/DropdownButton/DropdownButton.d.ts +0 -0
- /package/ui/{Blocks → Modules}/CommonGrid/components/DropdownButton/index.d.ts +0 -0
- /package/ui/{Blocks → Modules}/CommonGrid/components/ExtraControlButtons/ExtraControlButtons.d.ts +0 -0
- /package/ui/{Blocks → Modules}/CommonGrid/components/ExtraControlButtons/index.d.ts +0 -0
- /package/ui/{Blocks → Modules}/CommonGrid/components/FilterDropdown.d.ts +0 -0
- /package/ui/{Blocks → Modules}/CommonGrid/components/Filters/ActionsFilter/ActionsFilter.d.ts +0 -0
- /package/ui/{Blocks → Modules}/CommonGrid/components/Filters/ActionsFilter/index.d.ts +0 -0
- /package/ui/{Blocks → Modules}/CommonGrid/components/Filters/BooleanSelect/BooleanSelect.d.ts +0 -0
- /package/ui/{Blocks → Modules}/CommonGrid/components/Filters/BooleanSelect/index.d.ts +0 -0
- /package/ui/{Blocks → Modules}/CommonGrid/components/Filters/DatePickerRange/DatePickerRange.d.ts +0 -0
- /package/ui/{Blocks → Modules}/CommonGrid/components/Filters/DatePickerRange/index.d.ts +0 -0
- /package/ui/{Blocks → Modules}/CommonGrid/components/Filters/DatePickerRange/utils/getCleanValues.d.ts +0 -0
- /package/ui/{Blocks → Modules}/CommonGrid/components/Filters/DatePickerRange/utils/pickerRangeToString.d.ts +0 -0
- /package/ui/{Blocks → Modules}/CommonGrid/components/Filters/DatePickerRange/utils/sameDate.d.ts +0 -0
- /package/ui/{Blocks → Modules}/CommonGrid/components/Filters/GridSelect/GridSelect.d.ts +0 -0
- /package/ui/{Blocks → Modules}/CommonGrid/components/Filters/GridSelect/guards.d.ts +0 -0
- /package/ui/{Blocks → Modules}/CommonGrid/components/Filters/GridSelect/index.d.ts +0 -0
- /package/ui/{Blocks → Modules}/CommonGrid/components/Filters/NumberRange/NumberRange.d.ts +0 -0
- /package/ui/{Blocks → Modules}/CommonGrid/components/Filters/NumberRange/index.d.ts +0 -0
- /package/ui/{Blocks → Modules}/CommonGrid/components/Filters/NumberRange/types.d.ts +0 -0
- /package/ui/{Blocks → Modules}/CommonGrid/components/Filters/NumberRange/types.js +0 -0
- /package/ui/{Blocks → Modules}/CommonGrid/components/Filters/TextRange/TextRange.d.ts +0 -0
- /package/ui/{Blocks → Modules}/CommonGrid/components/Filters/TextRange/index.d.ts +0 -0
- /package/ui/{Blocks → Modules}/CommonGrid/components/Filters/TextRange/types.d.ts +0 -0
- /package/ui/{Blocks → Modules}/CommonGrid/components/Filters/TextRange/types.js +0 -0
- /package/ui/{Blocks → Modules}/CommonGrid/components/FloatingButton/FloatingButton.d.ts +0 -0
- /package/ui/{Blocks → Modules}/CommonGrid/components/FloatingButton/index.d.ts +0 -0
- /package/ui/{Blocks → Modules}/CommonGrid/components/GridAggregation/GridAggregation.d.ts +0 -0
- /package/ui/{Blocks → Modules}/CommonGrid/components/GridAggregation/hooks/useGridAggregation.d.ts +0 -0
- /package/ui/{Blocks → Modules}/CommonGrid/components/GridAggregation/index.d.ts +0 -0
- /package/ui/{Blocks → Modules}/CommonGrid/components/GridAggregation/index.js +0 -0
- /package/ui/{Blocks → Modules}/CommonGrid/components/GridAggregation/styles.d.ts +0 -0
- /package/ui/{Blocks → Modules}/CommonGrid/components/GridAggregation/utils/aggregate.d.ts +0 -0
- /package/ui/{Blocks → Modules}/CommonGrid/components/GridInfo/index.d.ts +0 -0
- /package/ui/{Blocks → Modules}/CommonGrid/components/GridModals/index.d.ts +0 -0
- /package/ui/{Blocks → Modules}/CommonGrid/components/GridStatus/index.d.ts +0 -0
- /package/ui/{Blocks → Modules}/CommonGrid/components/GroupRow.d.ts +0 -0
- /package/ui/{Blocks → Modules}/CommonGrid/components/HeadCell.d.ts +0 -0
- /package/ui/{Blocks → Modules}/CommonGrid/components/IconList/IconList.d.ts +0 -0
- /package/ui/{Blocks → Modules}/CommonGrid/components/IconList/index.d.ts +0 -0
- /package/ui/{Blocks → Modules}/CommonGrid/components/ManageColumnForm/ManageColumnForm.d.ts +0 -0
- /package/ui/{Blocks → Modules}/CommonGrid/components/ManageColumnForm/components/ManageColumnRow.d.ts +0 -0
- /package/ui/{Blocks → Modules}/CommonGrid/components/ManageColumnForm/index.d.ts +0 -0
- /package/ui/{Blocks → Modules}/CommonGrid/components/ManageColumnForm/styles.d.ts +0 -0
- /package/ui/{Blocks → Modules}/CommonGrid/components/ManageColumnForm/utils.d.ts +0 -0
- /package/ui/{Blocks → Modules}/CommonGrid/components/MobileFilterModal.d.ts +0 -0
- /package/ui/{Blocks → Modules}/CommonGrid/components/MobileOverlayWrapper.d.ts +0 -0
- /package/ui/{Blocks → Modules}/CommonGrid/components/MobileSortModal.d.ts +0 -0
- /package/ui/{Blocks → Modules}/CommonGrid/components/OversizedScroll.d.ts +0 -0
- /package/ui/{Blocks → Modules}/CommonGrid/components/PresetsModalBody/components/TagRemove.d.ts +0 -0
- /package/ui/{Blocks → Modules}/CommonGrid/components/PresetsModalBody/index.d.ts +0 -0
- /package/ui/{Blocks → Modules}/CommonGrid/components/QuickFilter/QuickFilter.d.ts +0 -0
- /package/ui/{Blocks → Modules}/CommonGrid/components/QuickFilter/index.d.ts +0 -0
- /package/ui/{Blocks → Modules}/CommonGrid/components/Resize.d.ts +0 -0
- /package/ui/{Blocks → Modules}/CommonGrid/components/Table.d.ts +0 -0
- /package/ui/{Blocks → Modules}/CommonGrid/components/TablePagination/TablePagination.d.ts +0 -0
- /package/ui/{Blocks → Modules}/CommonGrid/components/TablePagination/index.d.ts +0 -0
- /package/ui/{Blocks → Modules}/CommonGrid/components/gridCells/BoolIcon.d.ts +0 -0
- /package/ui/{Blocks → Modules}/CommonGrid/components/gridCells/ButtonInCell.d.ts +0 -0
- /package/ui/{Blocks → Modules}/CommonGrid/components/gridCells/Date.d.ts +0 -0
- /package/ui/{Blocks → Modules}/CommonGrid/components/gridCells/DateTime.d.ts +0 -0
- /package/ui/{Blocks → Modules}/CommonGrid/components/gridCells/EnumInCell.d.ts +0 -0
- /package/ui/{Blocks → Modules}/CommonGrid/components/gridCells/HoverBubble.d.ts +0 -0
- /package/ui/{Blocks → Modules}/CommonGrid/components/gridCells/IconButtonInCell.d.ts +0 -0
- /package/ui/{Blocks → Modules}/CommonGrid/components/gridCells/ImageCell.d.ts +0 -0
- /package/ui/{Blocks → Modules}/CommonGrid/components/gridCells/LinkInCell.d.ts +0 -0
- /package/ui/{Blocks → Modules}/CommonGrid/components/gridCells/RemoveItem.d.ts +0 -0
- /package/ui/{Blocks → Modules}/CommonGrid/components/gridCells/RowActionsCell.d.ts +0 -0
- /package/ui/{Blocks → Modules}/CommonGrid/components/gridCells/StringJoin.d.ts +0 -0
- /package/ui/{Blocks → Modules}/CommonGrid/components/gridCells/SwitchInCell.d.ts +0 -0
- /package/ui/{Blocks → Modules}/CommonGrid/components/gridCells/ToggleCell.d.ts +0 -0
- /package/ui/{Blocks → Modules}/CommonGrid/components/gridCells/index.d.ts +0 -0
- /package/ui/{Blocks → Modules}/CommonGrid/components/gridCells/index.js +0 -0
- /package/ui/{Blocks → Modules}/CommonGrid/components/icons/Edit.d.ts +0 -0
- /package/ui/{Blocks → Modules}/CommonGrid/components/icons/EyeOpen.d.ts +0 -0
- /package/ui/{Blocks → Modules}/CommonGrid/components/icons/Sorting.d.ts +0 -0
- /package/ui/{Blocks → Modules}/CommonGrid/components/utils.d.ts +0 -0
- /package/ui/{Blocks → Modules}/CommonGrid/hooks/useAddFilter.d.ts +0 -0
- /package/ui/{Blocks → Modules}/CommonGrid/hooks/useApplySharedGridState.d.ts +0 -0
- /package/ui/{Blocks → Modules}/CommonGrid/hooks/useColumnSizes.d.ts +0 -0
- /package/ui/{Blocks → Modules}/CommonGrid/hooks/useCreatePreset.d.ts +0 -0
- /package/ui/{Blocks → Modules}/CommonGrid/hooks/useDeletePreset.d.ts +0 -0
- /package/ui/{Blocks → Modules}/CommonGrid/hooks/useEditReadAsColumn.d.ts +0 -0
- /package/ui/{Blocks → Modules}/CommonGrid/hooks/useEvent.d.ts +0 -0
- /package/ui/{Blocks → Modules}/CommonGrid/hooks/useFloatingButton.d.ts +0 -0
- /package/ui/{Blocks → Modules}/CommonGrid/hooks/useGridActionTrigger.d.ts +0 -0
- /package/ui/{Blocks → Modules}/CommonGrid/hooks/useGridAutoRowsPerPage.d.ts +0 -0
- /package/ui/{Blocks → Modules}/CommonGrid/hooks/useManageColumn.d.ts +0 -0
- /package/ui/{Blocks → Modules}/CommonGrid/hooks/usePresetFileHandlers.d.ts +0 -0
- /package/ui/{Blocks → Modules}/CommonGrid/hooks/usePresetsState.d.ts +0 -0
- /package/ui/{Blocks → Modules}/CommonGrid/hooks/useQuickFilter.d.ts +0 -0
- /package/ui/{Blocks → Modules}/CommonGrid/hooks/useRowsKeyControls.d.ts +0 -0
- /package/ui/{Blocks → Modules}/CommonGrid/hooks/useSelectPreset.d.ts +0 -0
- /package/ui/{Blocks → Modules}/CommonGrid/hooks/useShareGrid.d.ts +0 -0
- /package/ui/{Blocks → Modules}/CommonGrid/hooks/useToggleAllCheckbox.d.ts +0 -0
- /package/ui/{Blocks → Modules}/CommonGrid/hooks/useUxReset.d.ts +0 -0
- /package/ui/{Blocks → Modules}/CommonGrid/index.d.ts +0 -0
- /package/ui/{Blocks → Modules}/CommonGrid/store/index.d.ts +0 -0
- /package/ui/{Blocks → Modules}/CommonGrid/store/migrateState.d.ts +0 -0
- /package/ui/{Blocks → Modules}/CommonGrid/storybook/components/ComplexCell.d.ts +0 -0
- /package/ui/{Blocks → Modules}/CommonGrid/storybook/components/EnumCellExample.d.ts +0 -0
- /package/ui/{Blocks → Modules}/CommonGrid/storybook/utils/actions.d.ts +0 -0
- /package/ui/{Blocks → Modules}/CommonGrid/storybook/utils/columnDefinition.d.ts +0 -0
- /package/ui/{Blocks → Modules}/CommonGrid/storybook/utils/utils.d.ts +0 -0
- /package/ui/{Blocks → Modules}/CommonGrid/storybook/utils/withRedux.d.ts +0 -0
- /package/ui/{Blocks → Modules}/CommonGrid/storybook/utils/withRouter.d.ts +0 -0
- /package/ui/{Blocks → Modules}/CommonGrid/storybook/utils/withTheme.d.ts +0 -0
- /package/ui/{Blocks → Modules}/CommonGrid/types.d.ts +0 -0
- /package/ui/{Blocks → Modules}/CommonGrid/utils/constants.d.ts +0 -0
- /package/ui/{Blocks → Modules}/CommonGrid/utils/getExtendedExtraControlButtons.d.ts +0 -0
- /package/ui/{Blocks → Modules}/CommonGrid/utils/getRowsPerPage.d.ts +0 -0
- /package/ui/{Blocks → Modules}/CommonGrid/utils/hasSortTerminated.d.ts +0 -0
- /package/ui/{Blocks → Modules}/CommonGrid/utils/index.d.ts +0 -0
- /package/ui/{Blocks → Modules}/CommonGrid/utils/shareUrl/buildShareUrl.d.ts +0 -0
- /package/ui/{Blocks → Modules}/CommonGrid/utils/shareUrl/clearShareParams.d.ts +0 -0
- /package/ui/{Blocks → Modules}/CommonGrid/utils/shareUrl/constants.d.ts +0 -0
- /package/ui/{Blocks → Modules}/CommonGrid/utils/shareUrl/index.d.ts +0 -0
- /package/ui/{Blocks → Modules}/CommonGrid/utils/shareUrl/index.js +0 -0
- /package/ui/{Blocks → Modules}/CommonGrid/utils/shareUrl/parseSharedGridState.d.ts +0 -0
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@mailstep/design-system",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.13.0-beta.2",
|
|
4
4
|
"license": "ISC",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "./ui/index.js",
|
|
@@ -46,9 +46,9 @@
|
|
|
46
46
|
"@nivo/pie": "^0.73.0",
|
|
47
47
|
"@popperjs/core": "^2.11.8",
|
|
48
48
|
"@storybook/addon-designs": "^11.1.4",
|
|
49
|
-
"@storybook/addon-docs": "10.
|
|
50
|
-
"@storybook/addon-links": "10.
|
|
51
|
-
"@storybook/react-webpack5": "10.
|
|
49
|
+
"@storybook/addon-docs": "10.6.0",
|
|
50
|
+
"@storybook/addon-links": "10.6.0",
|
|
51
|
+
"@storybook/react-webpack5": "10.6.0",
|
|
52
52
|
"@svgr/rollup": "^8.0.1",
|
|
53
53
|
"@swc/core": "^1.15.30",
|
|
54
54
|
"@trivago/prettier-plugin-sort-imports": "^4.3.0",
|
|
@@ -80,7 +80,7 @@
|
|
|
80
80
|
"eslint-plugin-react": "^7.35.0",
|
|
81
81
|
"eslint-plugin-react-hooks": "^4.6.2",
|
|
82
82
|
"eslint-plugin-react-perf": "^3.3.2",
|
|
83
|
-
"eslint-plugin-storybook": "10.
|
|
83
|
+
"eslint-plugin-storybook": "10.6.0",
|
|
84
84
|
"faker": "^5.1.0",
|
|
85
85
|
"husky": "^9.1.7",
|
|
86
86
|
"immer": "^9.0.19",
|
|
@@ -105,7 +105,7 @@
|
|
|
105
105
|
"react-use-draggable-scroll": "^0.4.7",
|
|
106
106
|
"redux": ">=4.0.5",
|
|
107
107
|
"reselect": "5.0.0-alpha.2",
|
|
108
|
-
"storybook": "10.
|
|
108
|
+
"storybook": "10.6.0",
|
|
109
109
|
"string-width": "6.1.0",
|
|
110
110
|
"styled-components": "^5.3.10",
|
|
111
111
|
"swiper": "^11.0.3",
|
|
@@ -6,8 +6,8 @@ import { UserInfoBlock } from "./components/UserInfo/index.js";
|
|
|
6
6
|
import { useLogout } from "./hooks/useLogout.js";
|
|
7
7
|
import { DropdownContentWrap, Line } from "./styles.js";
|
|
8
8
|
import { useRef } from "react";
|
|
9
|
-
import { th, useTheme } from "@xstyled/styled-components";
|
|
10
9
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
10
|
+
import { th, useTheme } from "@xstyled/styled-components";
|
|
11
11
|
import { Trans } from "@lingui/react";
|
|
12
12
|
//#region packages/ui/Blocks/Header/components/UserMenu/index.tsx
|
|
13
13
|
const UserMenu = ({ user, onLogout, hasUserMenu, userMenuOverride, withInitials, withChevron, withName, ignoreClickOutsideClosest }) => {
|
|
@@ -7,8 +7,8 @@ import { useControls } from "./hooks/useControls.js";
|
|
|
7
7
|
import { useOnElementClick } from "./hooks/useOnElementClick.js";
|
|
8
8
|
import { Control, ImageListContainer } from "./styles.js";
|
|
9
9
|
import { useRef } from "react";
|
|
10
|
-
import { x } from "@xstyled/styled-components";
|
|
11
10
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
11
|
+
import { x } from "@xstyled/styled-components";
|
|
12
12
|
import { useDraggable } from "react-use-draggable-scroll";
|
|
13
13
|
//#region packages/ui/Blocks/ImageList/ImageList.tsx
|
|
14
14
|
const ImageList = ({ onImageUpload, onImageRemove, onImageClick, lightBoxAction, lightBoxActionTitle, images, isDisabled, selectable, max }) => {
|
|
@@ -5,8 +5,8 @@ import { LoginForm } from "./components/LoginForm.js";
|
|
|
5
5
|
import "./utils/links.js";
|
|
6
6
|
import { SocialLinks } from "./components/SocialLinks.js";
|
|
7
7
|
import { CardBodyWithLanguage, LanguageBox, LogoWrapper, MailTo, MainLogo, Version, Wrapper } from "./styles.js";
|
|
8
|
-
import { x } from "@xstyled/styled-components";
|
|
9
8
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
9
|
+
import { x } from "@xstyled/styled-components";
|
|
10
10
|
import { Trans } from "@lingui/react";
|
|
11
11
|
//#region packages/ui/Blocks/LoginPage/LoginPage.tsx
|
|
12
12
|
const Login = ({ onSubmit, activeLanguage, onLanguageChange, children, brand, brandVariant, isSubmitting, isSubmitDisabled, withDistributionCenterSelect, distributionCenterOptions, selectedDistributionCenter, onChangeDistributionCenter, languageItems, version, backgroundImage, admin, hasSupport = true, hasSocialLinks = true, withPassword = true, withLogin = true, loginLabel, passwordLabel, formHeader }) => {
|
|
@@ -2,8 +2,8 @@ import Button from "../../../Elements/Button/Button.js";
|
|
|
2
2
|
import SingleSelect from "../../../Elements/SingleSelect/SingleSelect.js";
|
|
3
3
|
import { Input } from "../../../Forms/Input/Input.js";
|
|
4
4
|
import { useCallback, useState } from "react";
|
|
5
|
-
import styled$1, { x } from "@xstyled/styled-components";
|
|
6
5
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
6
|
+
import styled$1, { x } from "@xstyled/styled-components";
|
|
7
7
|
import { i18n } from "@lingui/core";
|
|
8
8
|
import { Trans } from "@lingui/react";
|
|
9
9
|
//#region packages/ui/Blocks/LoginPage/components/LoginForm.tsx
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import Icon from "../../../Elements/Icon/Icon.js";
|
|
2
2
|
import { FACEBOOK_LINK, INSTAGRAM_LINK, LINKEDIN_LINK, TWITTER_LINK } from "../utils/links.js";
|
|
3
|
-
import styled$1, { th } from "@xstyled/styled-components";
|
|
4
3
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
4
|
+
import styled$1, { th } from "@xstyled/styled-components";
|
|
5
5
|
import { Trans } from "@lingui/react";
|
|
6
6
|
//#region packages/ui/Blocks/LoginPage/components/SocialLinks.tsx
|
|
7
7
|
const SocialLinksWrapper = styled$1.div`
|
package/ui/Blocks/Modal/Modal.js
CHANGED
|
@@ -9,8 +9,8 @@ import { Portal } from "../../Elements/Portal/index.js";
|
|
|
9
9
|
import { ButtonsContainer, ButtonsWrapper, CloseButton, ContentContainer, DialogOverlay, DialogWindow, HeaderContainer, TitleContainer } from "./styles.js";
|
|
10
10
|
import { widthMap } from "./utils.js";
|
|
11
11
|
import { memo, useCallback, useEffect, useMemo } from "react";
|
|
12
|
-
import { x } from "@xstyled/styled-components";
|
|
13
12
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
13
|
+
import { x } from "@xstyled/styled-components";
|
|
14
14
|
//#region packages/ui/Blocks/Modal/Modal.tsx
|
|
15
15
|
const Modal = memo(({ children, isShown = true, onExtraAction, onCancel, title, titleIcon, onConfirm, confirmLabel, cancelLabel, extraActionLabel, isLoading, isConfirmDisabled, width = "narrow", onClose, hasFooter = true, hasHeader = true, background, ignoreClickOutside = false, closeEverywhere = false, withCloseIcon = true, overlayColor, minWidth, minHeight, maxWidth, maxHeight, variant = "compact", top, name }) => {
|
|
16
16
|
const closeDialog = useCallback(() => {
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { useClickOutside } from "../Modal/hooks/useClickOutside.js";
|
|
2
2
|
import { Portal } from "../../Elements/Portal/index.js";
|
|
3
3
|
import "react";
|
|
4
|
-
import styled$1 from "@xstyled/styled-components";
|
|
5
4
|
import { jsx } from "react/jsx-runtime";
|
|
5
|
+
import styled$1 from "@xstyled/styled-components";
|
|
6
6
|
import { Popper } from "react-popper";
|
|
7
7
|
//#region packages/ui/Blocks/Popover/index.tsx
|
|
8
8
|
const PopoverWrapper = styled$1.div`
|
|
@@ -2,8 +2,8 @@ import { getMinutesFromTime } from "../../utils/getMinutesFromTime.js";
|
|
|
2
2
|
import { convertDateToTime } from "../../utils/convertDateToTime.js";
|
|
3
3
|
import { convertMinutesToDuration } from "../../utils/convertMinutesToDuration.js";
|
|
4
4
|
import { Body, BookedTimeSlot, Header } from "./styles.js";
|
|
5
|
-
import { x } from "@xstyled/styled-components";
|
|
6
5
|
import { Fragment, jsx, jsxs } from "react/jsx-runtime";
|
|
6
|
+
import { x } from "@xstyled/styled-components";
|
|
7
7
|
import get from "lodash/get";
|
|
8
8
|
//#region packages/ui/Blocks/Scheduler/components/BookedTimeSlots/index.tsx
|
|
9
9
|
const BookedTimeSlots = ({ bookedTimeSlots, timeSlotDefinitions, handleTimeSlotClick, time }) => {
|
|
@@ -7,8 +7,8 @@ import Popover from "../../../Popover/index.js";
|
|
|
7
7
|
import { formatDate } from "../../utils/formatDate.js";
|
|
8
8
|
import { ArrowContainer, DateChangerContainer } from "./styles.js";
|
|
9
9
|
import { useContext, useRef } from "react";
|
|
10
|
-
import { x } from "@xstyled/styled-components";
|
|
11
10
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
11
|
+
import { x } from "@xstyled/styled-components";
|
|
12
12
|
//#region packages/ui/Blocks/Scheduler/components/DateChanger/index.tsx
|
|
13
13
|
const DateChanger = ({ isLoading, date, handleChangeDate, closeDatePicker, handleNextDay, handlePrevDay, toggleDatepicker, isDatepickerOpen }) => {
|
|
14
14
|
const ref = useRef(null);
|
|
@@ -2,8 +2,8 @@ import { MenuItems } from "../../../Elements/Icon/icons/MenuItems.js";
|
|
|
2
2
|
import { Paragraph4 } from "../../../Elements/Typography/Typography.js";
|
|
3
3
|
import "../../../Elements/Typography/index.js";
|
|
4
4
|
import { useCallback } from "react";
|
|
5
|
-
import styled$1, { css } from "@xstyled/styled-components";
|
|
6
5
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
6
|
+
import styled$1, { css } from "@xstyled/styled-components";
|
|
7
7
|
import { th as th$1 } from "@xstyled/system";
|
|
8
8
|
import { Trans } from "@lingui/react";
|
|
9
9
|
//#region packages/ui/Blocks/SideMenu/components/Footer.tsx
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { HamburgerMenu } from "../../../Elements/Icon/icons/HamburgerMenu.js";
|
|
2
2
|
import { MobileCancel } from "../../../Elements/Icon/icons/MobileCancel.js";
|
|
3
3
|
import "react";
|
|
4
|
-
import
|
|
4
|
+
import styled from "styled-components";
|
|
5
5
|
import { jsx } from "react/jsx-runtime";
|
|
6
|
+
import { css, useTheme as useTheme$1, x } from "@xstyled/styled-components";
|
|
6
7
|
import { th as th$1 } from "@xstyled/system";
|
|
7
|
-
import styled$2 from "styled-components";
|
|
8
8
|
//#region packages/ui/Blocks/SideMenu/components/HamburgerMenu.tsx
|
|
9
|
-
const HamburgerMenuWrapper = styled
|
|
9
|
+
const HamburgerMenuWrapper = styled(x.div)`
|
|
10
10
|
width: 36px;
|
|
11
11
|
height: 36px;
|
|
12
12
|
border-radius: 70px;
|
|
@@ -36,7 +36,7 @@ const HamburgerMenuWrapper = styled$2(x.div)`
|
|
|
36
36
|
}
|
|
37
37
|
`;
|
|
38
38
|
const HamburgerMenuButton = ({ isLeftMenuOpen, onClick }) => {
|
|
39
|
-
const theme = useTheme();
|
|
39
|
+
const theme = useTheme$1();
|
|
40
40
|
const neutralColor = th$1.color("neutral20")({ theme });
|
|
41
41
|
return /* @__PURE__ */ jsx(HamburgerMenuWrapper, {
|
|
42
42
|
mr: "8px",
|
|
@@ -2,8 +2,8 @@ import { H6 } from "../../../Elements/Typography/Typography.js";
|
|
|
2
2
|
import { Portal } from "../../../Elements/Portal/index.js";
|
|
3
3
|
import { ItemLinkWrap, TooltipItemLabel, TooltipWrap } from "../styles.js";
|
|
4
4
|
import { useMemo } from "react";
|
|
5
|
-
import { jsx } from "react/jsx-runtime";
|
|
6
5
|
import styled from "styled-components";
|
|
6
|
+
import { jsx } from "react/jsx-runtime";
|
|
7
7
|
import { Popper } from "react-popper";
|
|
8
8
|
//#region packages/ui/Blocks/SideMenu/components/SubitemTooltip.tsx
|
|
9
9
|
const TooltipItem = ({ title, link = "", lightMode }) => {
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { H7, Paragraph2 } from "../../../../Elements/Typography/Typography.js";
|
|
2
2
|
import { StepCircle } from "../StepCircle/index.js";
|
|
3
3
|
import { ContentWrapper, Line, StepItemContainer } from "./styles.js";
|
|
4
|
-
import { x } from "@xstyled/styled-components";
|
|
5
4
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
5
|
+
import { x } from "@xstyled/styled-components";
|
|
6
6
|
import { Trans } from "@lingui/react";
|
|
7
7
|
import isBoolean from "lodash/isBoolean";
|
|
8
8
|
//#region packages/ui/Blocks/Stepper/components/StepItem/index.tsx
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import Icon from "../Icon/Icon.js";
|
|
2
2
|
import "../Icon/index.js";
|
|
3
3
|
import { ActionButton, CloseBtn, Description, IconWrap, LinkWrapper, StyledAlert, Text, Title, VerticalSeparator } from "./styles.js";
|
|
4
|
-
import { th, useTheme, x } from "@xstyled/styled-components";
|
|
5
4
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
5
|
+
import { th, useTheme, x } from "@xstyled/styled-components";
|
|
6
6
|
//#region packages/ui/Elements/Alert/Alert.tsx
|
|
7
7
|
const alertBackgroundColor = {
|
|
8
8
|
success: "green10",
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import Link from "../Link/Link.js";
|
|
2
2
|
import "../Link/index.js";
|
|
3
|
+
import styled from "styled-components";
|
|
3
4
|
import { th, x } from "@xstyled/styled-components";
|
|
4
|
-
import styled$2 from "styled-components";
|
|
5
5
|
//#region packages/ui/Elements/Alert/styles.ts
|
|
6
|
-
const StyledAlert = styled
|
|
6
|
+
const StyledAlert = styled(x.div)`
|
|
7
7
|
width: calc(100vw - 20px);
|
|
8
8
|
display: flex;
|
|
9
9
|
min-height: 48px;
|
|
@@ -24,32 +24,32 @@ const StyledAlert = styled$2(x.div)`
|
|
|
24
24
|
width: 100%;
|
|
25
25
|
}
|
|
26
26
|
`;
|
|
27
|
-
const VerticalSeparator = styled
|
|
27
|
+
const VerticalSeparator = styled(x.div)`
|
|
28
28
|
width: 4px;
|
|
29
29
|
height: 36px;
|
|
30
30
|
border-radius: 94px;
|
|
31
31
|
background-color: ${({ $colorFill }) => $colorFill};
|
|
32
32
|
`;
|
|
33
|
-
const IconWrap = styled
|
|
33
|
+
const IconWrap = styled(x.div)`
|
|
34
34
|
margin: 0 13px 0 9px;
|
|
35
35
|
`;
|
|
36
|
-
const Title = styled
|
|
36
|
+
const Title = styled.span`
|
|
37
37
|
font-size: 14px;
|
|
38
38
|
line-height: 18px;
|
|
39
39
|
font-weight: 600;
|
|
40
40
|
`;
|
|
41
|
-
const Text = styled
|
|
41
|
+
const Text = styled.span`
|
|
42
42
|
font-size: 14px;
|
|
43
43
|
line-height: 20px;
|
|
44
44
|
font-weight: 400;
|
|
45
45
|
`;
|
|
46
|
-
const LinkWrapper = styled
|
|
46
|
+
const LinkWrapper = styled(Link)`
|
|
47
47
|
font-size: 14px;
|
|
48
48
|
font-weight: 600;
|
|
49
49
|
color: ${({ $colorFill }) => $colorFill};
|
|
50
50
|
margin-right: 10px;
|
|
51
51
|
`;
|
|
52
|
-
const ActionButton = styled
|
|
52
|
+
const ActionButton = styled.button`
|
|
53
53
|
margin-right: 10px;
|
|
54
54
|
font-size: 14px;
|
|
55
55
|
font-weight: 600;
|
|
@@ -58,7 +58,7 @@ const ActionButton = styled$2.button`
|
|
|
58
58
|
background-color: transparent;
|
|
59
59
|
cursor: pointer;
|
|
60
60
|
`;
|
|
61
|
-
const CloseBtn = styled
|
|
61
|
+
const CloseBtn = styled.button`
|
|
62
62
|
height: 30px;
|
|
63
63
|
width: 30px;
|
|
64
64
|
display: flex;
|
|
@@ -71,7 +71,7 @@ const CloseBtn = styled$2.button`
|
|
|
71
71
|
cursor: pointer;
|
|
72
72
|
}
|
|
73
73
|
`;
|
|
74
|
-
const Description = styled
|
|
74
|
+
const Description = styled.div`
|
|
75
75
|
position: absolute;
|
|
76
76
|
top: 3px;
|
|
77
77
|
right: 8px;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { useMemo } from "react";
|
|
2
|
-
import styled$1, { css, th, useTheme } from "@xstyled/styled-components";
|
|
3
2
|
import { Fragment, jsx, jsxs } from "react/jsx-runtime";
|
|
3
|
+
import styled$1, { css, th, useTheme } from "@xstyled/styled-components";
|
|
4
4
|
//#region packages/ui/Elements/Badge/Badge.tsx
|
|
5
5
|
const Circle = styled$1.div`
|
|
6
6
|
min-width: 12px;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { Bar } from "./styles.js";
|
|
2
|
-
import { x } from "@xstyled/styled-components";
|
|
3
2
|
import { jsx } from "react/jsx-runtime";
|
|
3
|
+
import { x } from "@xstyled/styled-components";
|
|
4
4
|
//#region packages/ui/Elements/BarChartSymbol/BarChartSymbol.tsx
|
|
5
5
|
const BarChartSymbol = ({ total = 3, height = 14, minHeight = 7, selected = 3, gap = 2, width = 3, color }) => {
|
|
6
6
|
return /* @__PURE__ */ jsx(x.div, {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import "react";
|
|
2
|
-
import styled$1, { x } from "@xstyled/styled-components";
|
|
3
2
|
import { jsx } from "react/jsx-runtime";
|
|
3
|
+
import styled$1, { x } from "@xstyled/styled-components";
|
|
4
4
|
//#region packages/ui/Elements/BorderedBox/BorderedBox.tsx
|
|
5
5
|
const StyledBox = styled$1(x.div)`
|
|
6
6
|
display: flex;
|
|
@@ -5,8 +5,8 @@ import { DatePickerInput } from "./components/DatePickerInput/DatePickerInput.js
|
|
|
5
5
|
import "./components/DatePickerInput/index.js";
|
|
6
6
|
import { DatePickerBase } from "./styles.js";
|
|
7
7
|
import React, { useCallback, useContext } from "react";
|
|
8
|
-
import { x } from "@xstyled/styled-components";
|
|
9
8
|
import { jsx } from "react/jsx-runtime";
|
|
9
|
+
import { x } from "@xstyled/styled-components";
|
|
10
10
|
import "moment/dist/locale/cs";
|
|
11
11
|
import "moment/dist/locale/el";
|
|
12
12
|
import "moment/dist/locale/it";
|
|
@@ -4,8 +4,8 @@ import { DatePickerRepeatTrans } from "../../utils/constants.js";
|
|
|
4
4
|
import { FooterRow } from "./FooterRow.js";
|
|
5
5
|
import { FooterRowLabel } from "./FooterRowLabel.js";
|
|
6
6
|
import { useCallback } from "react";
|
|
7
|
-
import { x } from "@xstyled/styled-components";
|
|
8
7
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
8
|
+
import { x } from "@xstyled/styled-components";
|
|
9
9
|
import { i18n } from "@lingui/core";
|
|
10
10
|
//#region packages/ui/Elements/DatePicker/Datetime/components/DateRepeater.tsx
|
|
11
11
|
const DateRepeater = ({ onChangeOthers, others, reset }) => {
|
|
@@ -7,8 +7,8 @@ import { padTime } from "./utils/padTime.js";
|
|
|
7
7
|
import { parseTimeField } from "./utils/parseTimeField.js";
|
|
8
8
|
import { sanitizeTimeField } from "./utils/sanitizeTimeField.js";
|
|
9
9
|
import { useCallback, useEffect, useRef, useState } from "react";
|
|
10
|
-
import { x } from "@xstyled/styled-components";
|
|
11
10
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
11
|
+
import { x } from "@xstyled/styled-components";
|
|
12
12
|
import { i18n } from "@lingui/core";
|
|
13
13
|
//#region packages/ui/Elements/DatePicker/Datetime/components/Timepicker/Timepicker.tsx
|
|
14
14
|
const Timepicker = ({ setTime, value, disabled }) => {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import "react";
|
|
2
|
-
import styled$1, { th } from "@xstyled/styled-components";
|
|
3
2
|
import { Fragment, jsx, jsxs } from "react/jsx-runtime";
|
|
3
|
+
import styled$1, { th } from "@xstyled/styled-components";
|
|
4
4
|
//#region packages/ui/Elements/Dropdown/Dropdown.tsx
|
|
5
5
|
const ArrowInnerB = styled$1.div``;
|
|
6
6
|
const ArrowInnerA = styled$1.div``;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import MenuItem from "./components/DefaultItem.js";
|
|
2
2
|
import MenuList from "./components/MenuList.js";
|
|
3
3
|
import "react";
|
|
4
|
-
import styled$1 from "@xstyled/styled-components";
|
|
5
4
|
import { Fragment, jsx, jsxs } from "react/jsx-runtime";
|
|
5
|
+
import styled$1 from "@xstyled/styled-components";
|
|
6
6
|
//#region packages/ui/Elements/DropdownMenu/DropdownMenu.tsx
|
|
7
7
|
const StyledDropdownWrap = styled$1.div`
|
|
8
8
|
width: fit-content;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import "react";
|
|
2
|
-
import styled$1, { css } from "@xstyled/styled-components";
|
|
3
2
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
3
|
+
import styled$1, { css } from "@xstyled/styled-components";
|
|
4
4
|
//#region packages/ui/Elements/DropdownMenu/components/DefaultItem.tsx
|
|
5
5
|
const StyledListItem = styled$1.li`
|
|
6
6
|
padding: 8px 10px;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import Link from "../../Link/Link.js";
|
|
2
2
|
import { useCallback } from "react";
|
|
3
|
-
import styled$1, { css } from "@xstyled/styled-components";
|
|
4
3
|
import { jsx } from "react/jsx-runtime";
|
|
4
|
+
import styled$1, { css } from "@xstyled/styled-components";
|
|
5
5
|
import { useLocation } from "react-router";
|
|
6
6
|
//#region packages/ui/Elements/DropdownMenu/components/MenuItem.tsx
|
|
7
7
|
const StyledLink = styled$1(Link)`
|
|
@@ -4,8 +4,8 @@ import { DropdownMenu } from "../DropdownMenu/DropdownMenu.js";
|
|
|
4
4
|
import "../DropdownMenu/index.js";
|
|
5
5
|
import Popover from "../../Blocks/Popover/index.js";
|
|
6
6
|
import React, { useCallback, useRef } from "react";
|
|
7
|
-
import styled$1 from "@xstyled/styled-components";
|
|
8
7
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
8
|
+
import styled$1 from "@xstyled/styled-components";
|
|
9
9
|
//#region packages/ui/Elements/DropdownSelect/DropdownSelect.tsx
|
|
10
10
|
const ArrowIcon = styled$1(Icon)`
|
|
11
11
|
flex-shrink: 0;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import "react";
|
|
2
|
-
import styled$1, { css, th } from "@xstyled/styled-components";
|
|
3
2
|
import { jsx } from "react/jsx-runtime";
|
|
3
|
+
import styled$1, { css, th } from "@xstyled/styled-components";
|
|
4
4
|
//#region packages/ui/Elements/ErrorMessage/ErrorMessage.tsx
|
|
5
5
|
const tooltip = css`
|
|
6
6
|
span {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import "react";
|
|
2
|
-
import styled$1, { useTheme } from "@xstyled/styled-components";
|
|
3
2
|
import { jsx } from "react/jsx-runtime";
|
|
3
|
+
import styled$1, { useTheme } from "@xstyled/styled-components";
|
|
4
4
|
import { th as th$1 } from "@xstyled/system";
|
|
5
5
|
//#region packages/ui/Elements/HighlightBox/HighlightBox.tsx
|
|
6
6
|
const StyledHighlightBox = styled$1.div`
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import Icon from "./Icon.js";
|
|
2
2
|
import { useMemo } from "react";
|
|
3
|
-
import styled$1 from "@xstyled/styled-components";
|
|
4
3
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
4
|
+
import styled$1 from "@xstyled/styled-components";
|
|
5
5
|
//#region packages/ui/Elements/Icon/BadgeIcon.tsx
|
|
6
6
|
const Badge = styled$1(Icon)`
|
|
7
7
|
display: inline-table;
|
package/ui/Elements/Icon/Icon.js
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { icons_exports } from "./icons/index.js";
|
|
2
2
|
import { useMemo } from "react";
|
|
3
|
+
import { jsx } from "react/jsx-runtime";
|
|
3
4
|
import { library } from "@fortawesome/fontawesome-svg-core";
|
|
4
5
|
import { faFacebookF } from "@fortawesome/free-brands-svg-icons/faFacebookF";
|
|
5
6
|
import { faInstagram } from "@fortawesome/free-brands-svg-icons/faInstagram";
|
|
@@ -115,7 +116,6 @@ import { faWineGlassCrack } from "@fortawesome/pro-solid-svg-icons/faWineGlassCr
|
|
|
115
116
|
import { faXmark } from "@fortawesome/pro-solid-svg-icons/faXmark";
|
|
116
117
|
import { FontAwesomeIcon } from "@fortawesome/react-fontawesome";
|
|
117
118
|
import styled$1, { th, useTheme } from "@xstyled/styled-components";
|
|
118
|
-
import { jsx } from "react/jsx-runtime";
|
|
119
119
|
//#region packages/ui/Elements/Icon/Icon.tsx
|
|
120
120
|
const iconDictionary = {
|
|
121
121
|
greaterThan: faAngleRight,
|
package/ui/Elements/Line/Line.js
CHANGED
package/ui/Elements/Link/Link.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { createRgba } from "../../utils/CreateRgba/createRgba.js";
|
|
2
2
|
import "../../utils/index.js";
|
|
3
3
|
import "react";
|
|
4
|
-
import styled$1, { css, th, useTheme } from "@xstyled/styled-components";
|
|
5
4
|
import { jsx } from "react/jsx-runtime";
|
|
5
|
+
import styled$1, { css, th, useTheme } from "@xstyled/styled-components";
|
|
6
6
|
import { NavLink } from "react-router-dom";
|
|
7
7
|
//#region packages/ui/Elements/Link/Link.tsx
|
|
8
8
|
const StyledLink = styled$1(NavLink)`
|
package/ui/Elements/Logo/Logo.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import "react";
|
|
2
|
-
import styled$1 from "@xstyled/styled-components";
|
|
3
2
|
import { jsx } from "react/jsx-runtime";
|
|
3
|
+
import styled$1 from "@xstyled/styled-components";
|
|
4
4
|
import logoBlackImage from "./assets/mailship/logo_black.png";
|
|
5
5
|
import logoMImage from "./assets/mailship/logo_m.png";
|
|
6
6
|
import logoWhiteImage from "./assets/mailship/logo_white.png";
|
|
@@ -6,8 +6,8 @@ import SpaceAround_default from "../SpaceAround/index.js";
|
|
|
6
6
|
import { StyledAsyncSelect, StyledReactSelect, Wrapper } from "./styles.js";
|
|
7
7
|
import { useStylesAndComponents } from "./themes/index.js";
|
|
8
8
|
import { useCallback, useMemo, useRef } from "react";
|
|
9
|
-
import { useTheme } from "@xstyled/styled-components";
|
|
10
9
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
10
|
+
import { useTheme } from "@xstyled/styled-components";
|
|
11
11
|
import { i18n } from "@lingui/core";
|
|
12
12
|
//#region packages/ui/Elements/Select/Select.tsx
|
|
13
13
|
const emptyOptions = [];
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import styled$1, { th } from "@xstyled/styled-components";
|
|
2
1
|
import { Fragment, jsx, jsxs } from "react/jsx-runtime";
|
|
2
|
+
import styled$1, { th } from "@xstyled/styled-components";
|
|
3
3
|
import { components } from "react-select";
|
|
4
4
|
//#region packages/ui/Elements/Select/components/CountMultiValue.tsx
|
|
5
5
|
const StyledNumber = styled$1.div`
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { ArrowDown } from "../../Icon/icons/ArrowDown.js";
|
|
2
2
|
import { ArrowUp } from "../../Icon/icons/ArrowUp.js";
|
|
3
|
-
import styled$1 from "@xstyled/styled-components";
|
|
4
3
|
import { jsx } from "react/jsx-runtime";
|
|
4
|
+
import styled$1 from "@xstyled/styled-components";
|
|
5
5
|
import { components } from "react-select";
|
|
6
6
|
//#region packages/ui/Elements/Select/components/DropdownIndicator.tsx
|
|
7
7
|
const ChevronDiv = styled$1.div`
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import Icon from "../../Icon/Icon.js";
|
|
2
|
-
import styled$1 from "@xstyled/styled-components";
|
|
3
2
|
import { Fragment, jsx, jsxs } from "react/jsx-runtime";
|
|
3
|
+
import styled$1 from "@xstyled/styled-components";
|
|
4
4
|
import { components } from "react-select";
|
|
5
5
|
//#region packages/ui/Elements/Select/components/IconValueContainer.tsx
|
|
6
6
|
const IconDiv = styled$1.div`
|
|
@@ -2,8 +2,8 @@ import Checkbox_default from "../../../Forms/Checkbox/Checkbox.js";
|
|
|
2
2
|
import Toggle from "../../Toggle/Toggle.js";
|
|
3
3
|
import SelectedIndicator from "./SelectedIndicator.js";
|
|
4
4
|
import { useCallback, useEffect, useRef, useState } from "react";
|
|
5
|
-
import styled$1, { th } from "@xstyled/styled-components";
|
|
6
5
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
6
|
+
import styled$1, { th } from "@xstyled/styled-components";
|
|
7
7
|
import { Trans } from "@lingui/react";
|
|
8
8
|
//#region packages/ui/Elements/Select/components/SelectAll.tsx
|
|
9
9
|
const SelectAllWrap = styled$1.div`
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import "react";
|
|
2
|
-
import styled$1, { css, th, useTheme, x } from "@xstyled/styled-components";
|
|
3
2
|
import { jsx } from "react/jsx-runtime";
|
|
3
|
+
import styled$1, { css, th, useTheme, x } from "@xstyled/styled-components";
|
|
4
4
|
//#region packages/ui/Elements/SpaceAround/SpaceAround.tsx
|
|
5
5
|
const Wrapper = styled$1(x.div)`
|
|
6
6
|
width: ${({ $marginLeft, $marginRight }) => `calc(100% - ${$marginLeft || "0px"} - ${$marginRight || "0px"})`};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import Tag from "../../Tag.js";
|
|
2
2
|
import { palettes } from "../../palettes.js";
|
|
3
|
-
import { x } from "@xstyled/styled-components";
|
|
4
3
|
import { jsx } from "react/jsx-runtime";
|
|
4
|
+
import { x } from "@xstyled/styled-components";
|
|
5
5
|
//#region packages/ui/Elements/Tag/stories/components/predefinedTags.tsx
|
|
6
6
|
const PredefinedTags = () => {
|
|
7
7
|
return /* @__PURE__ */ jsx(x.div, {
|
package/ui/Elements/Text/Text.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import "react";
|
|
2
|
-
import { x } from "@xstyled/styled-components";
|
|
3
2
|
import { jsx } from "react/jsx-runtime";
|
|
3
|
+
import { x } from "@xstyled/styled-components";
|
|
4
4
|
//#region packages/ui/Elements/Text/Text.tsx
|
|
5
5
|
const Text = ({ as = "span", ...props }) => /* @__PURE__ */ jsx(x.div, {
|
|
6
6
|
as,
|
|
@@ -3,8 +3,8 @@ import "../Icon/index.js";
|
|
|
3
3
|
import { toastIconFill, toastIconMap, toastTitleMap } from "./constants.js";
|
|
4
4
|
import { CloseWrapper, Container, ContentWrapper, Text, Title } from "./styles.js";
|
|
5
5
|
import { useEffect } from "react";
|
|
6
|
-
import { x } from "@xstyled/styled-components";
|
|
7
6
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
7
|
+
import { x } from "@xstyled/styled-components";
|
|
8
8
|
//#region packages/ui/Elements/Toast/Toast.tsx
|
|
9
9
|
const Toast = ({ closeToast, title, text, type, autoClose }) => {
|
|
10
10
|
const icon = toastIconMap[type];
|
|
@@ -3,8 +3,8 @@ import "../Label/index.js";
|
|
|
3
3
|
import SpaceAroundWrap from "../SpaceAround/SpaceAround.js";
|
|
4
4
|
import "../SpaceAround/index.js";
|
|
5
5
|
import "react";
|
|
6
|
-
import styled$1, { css } from "@xstyled/styled-components";
|
|
7
6
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
7
|
+
import styled$1, { css } from "@xstyled/styled-components";
|
|
8
8
|
//#region packages/ui/Elements/Toggle/Toggle.tsx
|
|
9
9
|
const isHorizontal = (position) => !!position && ["left", "right"].includes(position);
|
|
10
10
|
const StyledSpaceAroundWrap = styled$1(SpaceAroundWrap)`
|
|
@@ -2,8 +2,8 @@ import { Paragraph4 } from "../Typography/Typography.js";
|
|
|
2
2
|
import "../Typography/index.js";
|
|
3
3
|
import Popover from "../../Blocks/Popover/index.js";
|
|
4
4
|
import { useRef, useState } from "react";
|
|
5
|
-
import styled$1 from "@xstyled/styled-components";
|
|
6
5
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
6
|
+
import styled$1 from "@xstyled/styled-components";
|
|
7
7
|
//#region packages/ui/Elements/Tooltip/Tooltip.tsx
|
|
8
8
|
const Container = styled$1.div`
|
|
9
9
|
width: fit-content;
|
|
@@ -7,7 +7,7 @@ type Props = CommonGridProps & {
|
|
|
7
7
|
displayColumnsDefinitions: ColumnDefinition[];
|
|
8
8
|
hasGroups: boolean;
|
|
9
9
|
hasFilters: boolean;
|
|
10
|
-
|
|
10
|
+
onSetActiveColumn?: (columnName: string) => void;
|
|
11
11
|
};
|
|
12
12
|
declare const CommonGrid: FC<Props>;
|
|
13
13
|
export default CommonGrid;
|