@mailstep/design-system 0.13.4 → 0.13.5

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.
Files changed (112) hide show
  1. package/package.json +1 -1
  2. package/ui/Blocks/Header/components/UserMenu/index.js +1 -1
  3. package/ui/Blocks/HidePrint/HidePrint.js +1 -1
  4. package/ui/Blocks/ImageList/ImageList.js +1 -1
  5. package/ui/Blocks/LoginPage/LoginPage.js +1 -1
  6. package/ui/Blocks/LoginPage/components/LoginForm.js +3 -3
  7. package/ui/Blocks/LoginPage/components/SocialLinks.js +1 -1
  8. package/ui/Blocks/Modal/Modal.js +2 -2
  9. package/ui/Blocks/Modal/index.js +1 -1
  10. package/ui/Blocks/Popover/index.js +1 -1
  11. package/ui/Blocks/Scheduler/components/BookedTimeSlots/index.js +1 -1
  12. package/ui/Blocks/Scheduler/components/DateChanger/index.js +2 -2
  13. package/ui/Blocks/SideMenu/components/Footer.js +1 -1
  14. package/ui/Blocks/SideMenu/components/HamburgerMenu.js +4 -4
  15. package/ui/Blocks/SideMenu/components/SubitemTooltip.js +1 -1
  16. package/ui/Blocks/Stepper/components/StepItem/index.js +1 -1
  17. package/ui/Elements/Alert/Alert.js +1 -1
  18. package/ui/Elements/Alert/styles.js +10 -10
  19. package/ui/Elements/AsyncSelect/AsyncSelect.js +1 -1
  20. package/ui/Elements/Badge/Badge.js +1 -1
  21. package/ui/Elements/BarChartSymbol/BarChartSymbol.js +1 -1
  22. package/ui/Elements/BorderedBox/BorderedBox.js +1 -1
  23. package/ui/Elements/Dropdown/Dropdown.js +1 -1
  24. package/ui/Elements/DropdownMenu/DropdownMenu.js +1 -1
  25. package/ui/Elements/DropdownMenu/components/DefaultItem.js +1 -1
  26. package/ui/Elements/DropdownMenu/components/MenuItem.js +1 -1
  27. package/ui/Elements/DropdownSelect/DropdownSelect.js +1 -1
  28. package/ui/Elements/ErrorMessage/ErrorMessage.js +1 -1
  29. package/ui/Elements/HighlightBox/HighlightBox.js +1 -1
  30. package/ui/Elements/Icon/BadgeIcon.js +1 -1
  31. package/ui/Elements/Icon/Icon.js +1 -1
  32. package/ui/Elements/Line/Line.js +1 -1
  33. package/ui/Elements/Link/Link.js +1 -1
  34. package/ui/Elements/Logo/Logo.js +1 -1
  35. package/ui/Elements/Select/Select.js +2 -2
  36. package/ui/Elements/Select/components/CountMultiValue.js +1 -1
  37. package/ui/Elements/Select/components/DropdownIndicator.js +1 -1
  38. package/ui/Elements/Select/components/IconValueContainer.js +1 -1
  39. package/ui/Elements/Select/components/SelectAll.js +1 -1
  40. package/ui/Elements/SpaceAround/SpaceAround.js +1 -1
  41. package/ui/Elements/Tag/stories/components/predefinedTags.js +1 -1
  42. package/ui/Elements/Text/Text.js +1 -1
  43. package/ui/Elements/Toast/Toast.js +1 -1
  44. package/ui/Elements/Toggle/Toggle.js +3 -3
  45. package/ui/Elements/Tooltip/Tooltip.js +1 -1
  46. package/ui/Forms/DatePicker/DatePicker.js +2 -2
  47. package/ui/Forms/DatePicker/Datetime/components/DateRepeater.js +1 -1
  48. package/ui/Forms/DatePicker/Datetime/components/Timepicker/Timepicker.js +1 -1
  49. package/ui/Forms/Input/Input.js +4 -4
  50. package/ui/Forms/TextArea/TextArea.js +2 -2
  51. package/ui/Modules/CommonGrid/CommonGrid.js +2 -2
  52. package/ui/Modules/CommonGrid/CommonGridContainer.js +2 -2
  53. package/ui/Modules/CommonGrid/components/ActionHead/ActionHead.js +2 -2
  54. package/ui/Modules/CommonGrid/components/ActionHead/components/ActionDropdownMenu.js +1 -1
  55. package/ui/Modules/CommonGrid/components/ActionHead/components/ActionDropdownSelect.js +1 -1
  56. package/ui/Modules/CommonGrid/components/ButtonMore/ButtonMore.js +2 -2
  57. package/ui/Modules/CommonGrid/components/ColumnFilterCell.js +1 -1
  58. package/ui/Modules/CommonGrid/components/ColumnTitle/ColumnTitle.js +1 -1
  59. package/ui/Modules/CommonGrid/components/ColumnTitle.js +1 -1
  60. package/ui/Modules/CommonGrid/components/ControlButtons/ControlButtons.js +2 -2
  61. package/ui/Modules/CommonGrid/components/DropdownButton/DropdownButton.js +2 -2
  62. package/ui/Modules/CommonGrid/components/ExtraControlButtons/ExtraControlButtons.js +1 -1
  63. package/ui/Modules/CommonGrid/components/FilterDropdown.js +1 -1
  64. package/ui/Modules/CommonGrid/components/Filters/ActionsFilter/ActionsFilter.js +2 -2
  65. package/ui/Modules/CommonGrid/components/Filters/DatePickerRange/DatePickerRange.d.ts +6 -4
  66. package/ui/Modules/CommonGrid/components/Filters/DatePickerRange/DatePickerRange.js +10 -15
  67. package/ui/Modules/CommonGrid/components/Filters/DatePickerRange/index.d.ts +1 -0
  68. package/ui/Modules/CommonGrid/components/FloatingButton/FloatingButton.js +1 -1
  69. package/ui/Modules/CommonGrid/components/GridInfo/index.js +1 -1
  70. package/ui/Modules/CommonGrid/components/IconList/IconList.js +1 -1
  71. package/ui/Modules/CommonGrid/components/ManageColumnForm/ManageColumnForm.js +1 -1
  72. package/ui/Modules/CommonGrid/components/ManageColumnForm/components/ManageColumnRow.js +2 -2
  73. package/ui/Modules/CommonGrid/components/MobileFilterModal.js +2 -2
  74. package/ui/Modules/CommonGrid/components/MobileSortModal.js +2 -2
  75. package/ui/Modules/CommonGrid/components/OversizedScroll.js +1 -1
  76. package/ui/Modules/CommonGrid/components/PresetsModalBody/index.js +1 -1
  77. package/ui/Modules/CommonGrid/components/QuickFilter/QuickFilter.js +2 -2
  78. package/ui/Modules/CommonGrid/components/Resize.js +1 -1
  79. package/ui/Modules/CommonGrid/components/TablePagination/TablePagination.js +1 -1
  80. package/ui/Modules/CommonGrid/components/gridCells/BoolIcon.js +1 -1
  81. package/ui/Modules/CommonGrid/components/gridCells/Date.js +1 -1
  82. package/ui/Modules/CommonGrid/components/gridCells/DateTime.js +1 -1
  83. package/ui/Modules/CommonGrid/components/gridCells/EnumInCell.js +1 -1
  84. package/ui/Modules/CommonGrid/components/gridCells/HoverBubble.js +1 -1
  85. package/ui/Modules/CommonGrid/components/gridCells/IconButtonInCell.js +1 -1
  86. package/ui/Modules/CommonGrid/components/gridCells/ImageCell.js +1 -1
  87. package/ui/Modules/CommonGrid/components/gridCells/RemoveItem.js +1 -1
  88. package/ui/Modules/CommonGrid/components/gridCells/RowActionsCell.js +1 -1
  89. package/ui/Modules/CommonGrid/hooks/useCreatePreset.js +1 -1
  90. package/ui/Modules/CommonGrid/hooks/usePresetFileHandlers.js +1 -1
  91. package/ui/Modules/CommonGrid/hooks/useQuickFilter.js +2 -2
  92. package/ui/Modules/CommonGrid/index.d.ts +7 -5
  93. package/ui/Modules/CommonGrid/index.js +5 -4
  94. package/ui/Modules/CommonGrid/store/index.js +2 -2
  95. package/ui/Modules/CommonGrid/storybook/utils/utils.js +1 -1
  96. package/ui/Modules/CommonGrid/storybook/utils/withRedux.js +1 -1
  97. package/ui/Modules/CommonGrid/utils/index.js +1 -1
  98. package/ui/Modules/Dashboard/Hoc/storybook/withReduxProvider.js +2 -2
  99. package/ui/Modules/Dashboard/components/Config/components/InputConfig.js +1 -1
  100. package/ui/Modules/Dashboard/components/Dashboard/Dashboard.js +1 -1
  101. package/ui/Modules/Dashboard/components/Dashboard/DashboardContainer.js +1 -1
  102. package/ui/Modules/Dashboard/components/Dashboard/components/HandleChange.js +1 -1
  103. package/ui/Modules/Dashboard/components/Layout/LayoutContainer.js +1 -1
  104. package/ui/Modules/Dashboard/components/Layout/components/Item/ItemContainer.js +1 -1
  105. package/ui/Modules/Dashboard/components/Layout/components/ItemConfig/ItemConfigControls.js +1 -1
  106. package/ui/Modules/Dashboard/components/Picker/PickerContainer.js +1 -1
  107. package/ui/Modules/Dashboard/components/Widgets/HorizontalBar/components/LabelsLine.js +1 -1
  108. package/ui/Modules/Dashboard/components/Widgets/PieChart/PieChart.js +1 -1
  109. package/ui/Modules/Dashboard/components/Widgets/Table/hooks/useSort.js +1 -1
  110. package/ui/Modules/Dashboard/errors/ErrorMessage.js +1 -1
  111. package/ui/ThemeProvider/ThemeProvider.js +1 -1
  112. package/ui/index.js +22 -21
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mailstep/design-system",
3
- "version": "0.13.4",
3
+ "version": "0.13.5",
4
4
  "license": "ISC",
5
5
  "type": "module",
6
6
  "main": "./ui/index.js",
@@ -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 { jsx, jsxs } from "react/jsx-runtime";
10
9
  import { th, useTheme } from "@xstyled/styled-components";
10
+ import { jsx, jsxs } from "react/jsx-runtime";
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 }) => {
@@ -1,6 +1,6 @@
1
1
  import "react";
2
- import styled from "styled-components";
3
2
  import { jsx } from "react/jsx-runtime";
3
+ import styled from "styled-components";
4
4
  //#region packages/ui/Blocks/HidePrint/HidePrint.tsx
5
5
  const HideWrapper = styled.div`
6
6
  display: contents;
@@ -8,8 +8,8 @@ import { useControls } from "./hooks/useControls.js";
8
8
  import { useOnElementClick } from "./hooks/useOnElementClick.js";
9
9
  import { Control, ImageListContainer } from "./styles.js";
10
10
  import { useRef } from "react";
11
- import { jsx, jsxs } from "react/jsx-runtime";
12
11
  import { x } from "@xstyled/styled-components";
12
+ import { jsx, jsxs } from "react/jsx-runtime";
13
13
  import { useDraggable } from "react-use-draggable-scroll";
14
14
  //#region packages/ui/Blocks/ImageList/ImageList.tsx
15
15
  const ImageList = ({ onImageUpload, onImageRemove, onImageClick, lightBoxAction, lightBoxActionTitle, images, isDisabled, selectable, max, downloadable, onImageDownload, downloadTitle }) => {
@@ -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 { jsx, jsxs } from "react/jsx-runtime";
9
8
  import { x } from "@xstyled/styled-components";
9
+ import { jsx, jsxs } from "react/jsx-runtime";
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 }) => {
@@ -1,9 +1,9 @@
1
- import Button from "../../../Elements/Button/Button.js";
2
- import SingleSelect from "../../../Elements/SingleSelect/SingleSelect.js";
3
1
  import { Input } from "../../../Forms/Input/Input.js";
2
+ import SingleSelect from "../../../Elements/SingleSelect/SingleSelect.js";
3
+ import Button from "../../../Elements/Button/Button.js";
4
4
  import { useCallback, useState } from "react";
5
- import { jsx, jsxs } from "react/jsx-runtime";
6
5
  import styled$1, { x } from "@xstyled/styled-components";
6
+ import { jsx, jsxs } from "react/jsx-runtime";
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 { jsx, jsxs } from "react/jsx-runtime";
4
3
  import styled$1, { th } from "@xstyled/styled-components";
4
+ import { jsx, jsxs } from "react/jsx-runtime";
5
5
  import { Trans } from "@lingui/react";
6
6
  //#region packages/ui/Blocks/LoginPage/components/SocialLinks.tsx
7
7
  const SocialLinksWrapper = styled$1.div`
@@ -1,16 +1,16 @@
1
+ import { useClickOutside } from "./hooks/useClickOutside.js";
1
2
  import { Cancel } from "../../Elements/Icon/icons/Cancel.js";
2
3
  import Icon from "../../Elements/Icon/Icon.js";
3
4
  import "../../Elements/Icon/index.js";
4
5
  import Button_default from "../../Elements/Button/index.js";
5
- import { useClickOutside } from "./hooks/useClickOutside.js";
6
6
  import { H2, H5 } from "../../Elements/Typography/Typography.js";
7
7
  import "../../Elements/Typography/index.js";
8
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 { jsx, jsxs } from "react/jsx-runtime";
13
12
  import { x } from "@xstyled/styled-components";
13
+ import { jsx, jsxs } from "react/jsx-runtime";
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,5 +1,5 @@
1
- import { useModal } from "./hooks/useModal.js";
2
1
  import { useClickOutside } from "./hooks/useClickOutside.js";
2
+ import { useModal } from "./hooks/useModal.js";
3
3
  import { Modal } from "./Modal.js";
4
4
  //#region packages/ui/Blocks/Modal/index.ts
5
5
  var Modal_default = Modal;
@@ -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 { jsx } from "react/jsx-runtime";
5
4
  import styled$1 from "@xstyled/styled-components";
5
+ import { jsx } from "react/jsx-runtime";
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 { Fragment, jsx, jsxs } from "react/jsx-runtime";
6
5
  import { x } from "@xstyled/styled-components";
6
+ import { Fragment, jsx, jsxs } from "react/jsx-runtime";
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 }) => {
@@ -1,14 +1,14 @@
1
+ import { LanguageContext } from "../../../../ThemeProvider/ThemeProvider.js";
1
2
  import { ArrowDown } from "../../../../Elements/Icon/icons/ArrowDown.js";
2
3
  import "../../../../Elements/Icon/index.js";
3
4
  import { Spinner } from "../../../../Elements/Spinner/Spinner.js";
4
- import { LanguageContext } from "../../../../ThemeProvider/ThemeProvider.js";
5
5
  import DatePicker_default from "../../../../Forms/DatePicker/index.js";
6
6
  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 { jsx, jsxs } from "react/jsx-runtime";
11
10
  import { x } from "@xstyled/styled-components";
11
+ import { jsx, jsxs } from "react/jsx-runtime";
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 { jsx, jsxs } from "react/jsx-runtime";
6
5
  import styled$1, { css } from "@xstyled/styled-components";
6
+ import { jsx, jsxs } from "react/jsx-runtime";
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 styled from "styled-components";
4
+ import { css, useTheme, x } from "@xstyled/styled-components";
5
5
  import { jsx } from "react/jsx-runtime";
6
- import { css, useTheme as useTheme$1, x } from "@xstyled/styled-components";
7
6
  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(x.div)`
9
+ const HamburgerMenuWrapper = styled$2(x.div)`
10
10
  width: 36px;
11
11
  height: 36px;
12
12
  border-radius: 70px;
@@ -36,7 +36,7 @@ const HamburgerMenuWrapper = styled(x.div)`
36
36
  }
37
37
  `;
38
38
  const HamburgerMenuButton = ({ isLeftMenuOpen, onClick }) => {
39
- const theme = useTheme$1();
39
+ const theme = useTheme();
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 styled from "styled-components";
6
5
  import { jsx } from "react/jsx-runtime";
6
+ import styled from "styled-components";
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 { jsx, jsxs } from "react/jsx-runtime";
5
4
  import { x } from "@xstyled/styled-components";
5
+ import { jsx, jsxs } from "react/jsx-runtime";
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 { jsx, jsxs } from "react/jsx-runtime";
5
4
  import { th, useTheme, x } from "@xstyled/styled-components";
5
+ import { jsx, jsxs } from "react/jsx-runtime";
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";
4
3
  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(x.div)`
6
+ const StyledAlert = styled$2(x.div)`
7
7
  width: calc(100vw - 20px);
8
8
  display: flex;
9
9
  min-height: 48px;
@@ -24,32 +24,32 @@ const StyledAlert = styled(x.div)`
24
24
  width: 100%;
25
25
  }
26
26
  `;
27
- const VerticalSeparator = styled(x.div)`
27
+ const VerticalSeparator = styled$2(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(x.div)`
33
+ const IconWrap = styled$2(x.div)`
34
34
  margin: 0 13px 0 9px;
35
35
  `;
36
- const Title = styled.span`
36
+ const Title = styled$2.span`
37
37
  font-size: 14px;
38
38
  line-height: 18px;
39
39
  font-weight: 600;
40
40
  `;
41
- const Text = styled.span`
41
+ const Text = styled$2.span`
42
42
  font-size: 14px;
43
43
  line-height: 20px;
44
44
  font-weight: 400;
45
45
  `;
46
- const LinkWrapper = styled(Link)`
46
+ const LinkWrapper = styled$2(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.button`
52
+ const ActionButton = styled$2.button`
53
53
  margin-right: 10px;
54
54
  font-size: 14px;
55
55
  font-weight: 600;
@@ -58,7 +58,7 @@ const ActionButton = styled.button`
58
58
  background-color: transparent;
59
59
  cursor: pointer;
60
60
  `;
61
- const CloseBtn = styled.button`
61
+ const CloseBtn = styled$2.button`
62
62
  height: 30px;
63
63
  width: 30px;
64
64
  display: flex;
@@ -71,7 +71,7 @@ const CloseBtn = styled.button`
71
71
  cursor: pointer;
72
72
  }
73
73
  `;
74
- const Description = styled.div`
74
+ const Description = styled$2.div`
75
75
  position: absolute;
76
76
  top: 3px;
77
77
  right: 8px;
@@ -1,7 +1,7 @@
1
+ import SpaceAround_default from "../SpaceAround/index.js";
1
2
  import ErrorMessage from "../ErrorMessage/ErrorMessage.js";
2
3
  import { FieldLabel } from "../Label/Label.js";
3
4
  import "../Label/index.js";
4
- import SpaceAround_default from "../SpaceAround/index.js";
5
5
  import { StyledAsyncSelect, Wrapper } from "../Select/styles.js";
6
6
  import { useStylesAndComponents } from "../Select/themes/index.js";
7
7
  import "react";
@@ -1,6 +1,6 @@
1
1
  import { useMemo } from "react";
2
- import { Fragment, jsx, jsxs } from "react/jsx-runtime";
3
2
  import styled$1, { css, th, useTheme } from "@xstyled/styled-components";
3
+ import { Fragment, jsx, jsxs } from "react/jsx-runtime";
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 { jsx } from "react/jsx-runtime";
3
2
  import { x } from "@xstyled/styled-components";
3
+ import { jsx } from "react/jsx-runtime";
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 { jsx } from "react/jsx-runtime";
3
2
  import styled$1, { x } from "@xstyled/styled-components";
3
+ import { jsx } from "react/jsx-runtime";
4
4
  //#region packages/ui/Elements/BorderedBox/BorderedBox.tsx
5
5
  const StyledBox = styled$1(x.div)`
6
6
  display: flex;
@@ -1,6 +1,6 @@
1
1
  import "react";
2
- import { Fragment, jsx, jsxs } from "react/jsx-runtime";
3
2
  import styled$1, { th } from "@xstyled/styled-components";
3
+ import { Fragment, jsx, jsxs } from "react/jsx-runtime";
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 { Fragment, jsx, jsxs } from "react/jsx-runtime";
5
4
  import styled$1 from "@xstyled/styled-components";
5
+ import { Fragment, jsx, jsxs } from "react/jsx-runtime";
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 { jsx, jsxs } from "react/jsx-runtime";
3
2
  import styled$1, { css } from "@xstyled/styled-components";
3
+ import { jsx, jsxs } from "react/jsx-runtime";
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 { jsx } from "react/jsx-runtime";
4
3
  import styled$1, { css } from "@xstyled/styled-components";
4
+ import { jsx } from "react/jsx-runtime";
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 { jsx, jsxs } from "react/jsx-runtime";
8
7
  import styled$1 from "@xstyled/styled-components";
8
+ import { jsx, jsxs } from "react/jsx-runtime";
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 { jsx } from "react/jsx-runtime";
3
2
  import styled$1, { css, th } from "@xstyled/styled-components";
3
+ import { jsx } from "react/jsx-runtime";
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 { jsx } from "react/jsx-runtime";
3
2
  import styled$1, { useTheme } from "@xstyled/styled-components";
3
+ import { jsx } from "react/jsx-runtime";
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 { jsx, jsxs } from "react/jsx-runtime";
4
3
  import styled$1 from "@xstyled/styled-components";
4
+ import { jsx, jsxs } from "react/jsx-runtime";
5
5
  //#region packages/ui/Elements/Icon/BadgeIcon.tsx
6
6
  const Badge = styled$1(Icon)`
7
7
  display: inline-table;
@@ -1,5 +1,6 @@
1
1
  import { icons_exports } from "./icons/index.js";
2
2
  import { useMemo } from "react";
3
+ import styled$1, { th, useTheme } from "@xstyled/styled-components";
3
4
  import { jsx } from "react/jsx-runtime";
4
5
  import { library } from "@fortawesome/fontawesome-svg-core";
5
6
  import { faFacebookF } from "@fortawesome/free-brands-svg-icons/faFacebookF";
@@ -115,7 +116,6 @@ import { faWebhook } from "@fortawesome/pro-solid-svg-icons/faWebhook";
115
116
  import { faWineGlassCrack } from "@fortawesome/pro-solid-svg-icons/faWineGlassCrack";
116
117
  import { faXmark } from "@fortawesome/pro-solid-svg-icons/faXmark";
117
118
  import { FontAwesomeIcon } from "@fortawesome/react-fontawesome";
118
- import styled$1, { th, useTheme } from "@xstyled/styled-components";
119
119
  //#region packages/ui/Elements/Icon/Icon.tsx
120
120
  const iconDictionary = {
121
121
  greaterThan: faAngleRight,
@@ -1,5 +1,5 @@
1
- import { jsx } from "react/jsx-runtime";
2
1
  import styled$1 from "@xstyled/styled-components";
2
+ import { jsx } from "react/jsx-runtime";
3
3
  //#region packages/ui/Elements/Line/Line.tsx
4
4
  const gabs = {
5
5
  none: 0,
@@ -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 { jsx } from "react/jsx-runtime";
5
4
  import styled$1, { css, th, useTheme } from "@xstyled/styled-components";
5
+ import { jsx } from "react/jsx-runtime";
6
6
  import { NavLink } from "react-router-dom";
7
7
  //#region packages/ui/Elements/Link/Link.tsx
8
8
  const StyledLink = styled$1(NavLink)`
@@ -1,6 +1,6 @@
1
1
  import "react";
2
- import { jsx } from "react/jsx-runtime";
3
2
  import styled$1 from "@xstyled/styled-components";
3
+ import { jsx } from "react/jsx-runtime";
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";
@@ -1,13 +1,13 @@
1
+ import SpaceAround_default from "../SpaceAround/index.js";
1
2
  import ErrorMessage from "../ErrorMessage/ErrorMessage.js";
2
3
  import "../ErrorMessage/index.js";
3
4
  import { FieldLabel } from "../Label/Label.js";
4
5
  import "../Label/index.js";
5
- 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 { jsx, jsxs } from "react/jsx-runtime";
10
9
  import { useTheme } from "@xstyled/styled-components";
10
+ import { jsx, jsxs } from "react/jsx-runtime";
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 { Fragment, jsx, jsxs } from "react/jsx-runtime";
2
1
  import styled$1, { th } from "@xstyled/styled-components";
2
+ import { Fragment, jsx, jsxs } from "react/jsx-runtime";
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 { jsx } from "react/jsx-runtime";
4
3
  import styled$1 from "@xstyled/styled-components";
4
+ import { jsx } from "react/jsx-runtime";
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 { Fragment, jsx, jsxs } from "react/jsx-runtime";
3
2
  import styled$1 from "@xstyled/styled-components";
3
+ import { Fragment, jsx, jsxs } from "react/jsx-runtime";
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 { jsx, jsxs } from "react/jsx-runtime";
6
5
  import styled$1, { th } from "@xstyled/styled-components";
6
+ import { jsx, jsxs } from "react/jsx-runtime";
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 { jsx } from "react/jsx-runtime";
3
2
  import styled$1, { css, th, useTheme, x } from "@xstyled/styled-components";
3
+ import { jsx } from "react/jsx-runtime";
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 { jsx } from "react/jsx-runtime";
4
3
  import { x } from "@xstyled/styled-components";
4
+ import { jsx } from "react/jsx-runtime";
5
5
  //#region packages/ui/Elements/Tag/stories/components/predefinedTags.tsx
6
6
  const PredefinedTags = () => {
7
7
  return /* @__PURE__ */ jsx(x.div, {
@@ -1,6 +1,6 @@
1
1
  import "react";
2
- import { jsx } from "react/jsx-runtime";
3
2
  import { x } from "@xstyled/styled-components";
3
+ import { jsx } from "react/jsx-runtime";
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 { jsx, jsxs } from "react/jsx-runtime";
7
6
  import { x } from "@xstyled/styled-components";
7
+ import { jsx, jsxs } from "react/jsx-runtime";
8
8
  //#region packages/ui/Elements/Toast/Toast.tsx
9
9
  const Toast = ({ closeToast, title, text, type, autoClose }) => {
10
10
  const icon = toastIconMap[type];
@@ -1,10 +1,10 @@
1
- import { FieldLabel } from "../Label/Label.js";
2
- import "../Label/index.js";
3
1
  import SpaceAroundWrap from "../SpaceAround/SpaceAround.js";
4
2
  import "../SpaceAround/index.js";
3
+ import { FieldLabel } from "../Label/Label.js";
4
+ import "../Label/index.js";
5
5
  import "react";
6
- import { jsx, jsxs } from "react/jsx-runtime";
7
6
  import styled$1, { css } from "@xstyled/styled-components";
7
+ import { jsx, jsxs } from "react/jsx-runtime";
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 { jsx, jsxs } from "react/jsx-runtime";
6
5
  import styled$1 from "@xstyled/styled-components";
6
+ import { jsx, jsxs } from "react/jsx-runtime";
7
7
  //#region packages/ui/Elements/Tooltip/Tooltip.tsx
8
8
  const Container = styled$1.div`
9
9
  width: fit-content;
@@ -1,13 +1,13 @@
1
- import { LanguageContext } from "../../ThemeProvider/ThemeProvider.js";
2
1
  import SpaceAround_default from "../../Elements/SpaceAround/index.js";
2
+ import { LanguageContext } from "../../ThemeProvider/ThemeProvider.js";
3
3
  import Datetime from "./Datetime/DateTime.js";
4
4
  import { DatePickerInput } from "./components/DatePickerInput/DatePickerInput.js";
5
5
  import "./components/DatePickerInput/index.js";
6
6
  import { getInputFormat } from "./utils/getInputFormat.js";
7
7
  import { DatePickerBase } from "./styles.js";
8
8
  import React, { useCallback, useContext } from "react";
9
- import { jsx } from "react/jsx-runtime";
10
9
  import { x } from "@xstyled/styled-components";
10
+ import { jsx } from "react/jsx-runtime";
11
11
  import "moment/dist/locale/cs";
12
12
  import "moment/dist/locale/el";
13
13
  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 { jsx, jsxs } from "react/jsx-runtime";
8
7
  import { x } from "@xstyled/styled-components";
8
+ import { jsx, jsxs } from "react/jsx-runtime";
9
9
  import { i18n } from "@lingui/core";
10
10
  //#region packages/ui/Forms/DatePicker/Datetime/components/DateRepeater.tsx
11
11
  const DateRepeater = ({ onChangeOthers, others, reset }) => {
@@ -9,8 +9,8 @@ import { parseTimeField } from "./utils/parseTimeField.js";
9
9
  import { sanitizeTimeField } from "./utils/sanitizeTimeField.js";
10
10
  import "./utils/index.js";
11
11
  import { useCallback, useEffect, useRef, useState } from "react";
12
- import { jsx, jsxs } from "react/jsx-runtime";
13
12
  import { x } from "@xstyled/styled-components";
13
+ import { jsx, jsxs } from "react/jsx-runtime";
14
14
  import { i18n } from "@lingui/core";
15
15
  //#region packages/ui/Forms/DatePicker/Datetime/components/Timepicker/Timepicker.tsx
16
16
  const Timepicker = ({ setTime, value, disabled }) => {