@mailstep/design-system 0.13.0-beta.1 → 0.13.1-beta.1
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 +1 -1
- 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 +6 -2
- package/ui/Elements/DatePicker/Datetime/components/DateRepeater.js +1 -1
- package/ui/Elements/DatePicker/Datetime/components/Timepicker/Timepicker.js +17 -7
- package/ui/Elements/DatePicker/Datetime/components/Timepicker/constants.d.ts +1 -0
- package/ui/Elements/DatePicker/Datetime/components/Timepicker/constants.js +2 -1
- package/ui/Elements/DatePicker/Datetime/components/Timepicker/utils/index.d.ts +1 -0
- package/ui/Elements/DatePicker/Datetime/components/Timepicker/utils/index.js +2 -1
- package/ui/Elements/DatePicker/Datetime/components/Timepicker/utils/isTimeFieldComplete.d.ts +3 -0
- package/ui/Elements/DatePicker/Datetime/components/Timepicker/utils/isTimeFieldComplete.js +5 -0
- package/ui/Elements/DatePicker/Datetime/components/Timepicker/utils/sanitizeTimeField.js +1 -0
- package/ui/Elements/DatePicker/components/DatePickerInput/DatePickerInput.d.ts +6 -2
- package/ui/Elements/DatePicker/components/DatePickerInput/DatePickerInput.js +35 -6
- package/ui/Elements/DatePicker/components/DatePickerInput/constants.d.ts +5 -0
- package/ui/Elements/DatePicker/components/DatePickerInput/constants.js +16 -0
- package/ui/Elements/DatePicker/components/DatePickerInput/utils/applyDateMask.d.ts +3 -0
- package/ui/Elements/DatePicker/components/DatePickerInput/utils/applyDateMask.js +19 -0
- package/ui/Elements/DatePicker/components/DatePickerInput/utils/countDigits.d.ts +3 -0
- package/ui/Elements/DatePicker/components/DatePickerInput/utils/countDigits.js +5 -0
- package/ui/Elements/DatePicker/components/DatePickerInput/utils/getMaskedCaretPosition.d.ts +3 -0
- package/ui/Elements/DatePicker/components/DatePickerInput/utils/getMaskedCaretPosition.js +14 -0
- package/ui/Elements/DatePicker/components/DatePickerInput/utils/index.d.ts +4 -0
- package/ui/Elements/DatePicker/components/DatePickerInput/utils/index.js +5 -0
- package/ui/Elements/DatePicker/components/DatePickerInput/utils/isMaskableFormat.d.ts +3 -0
- package/ui/Elements/DatePicker/components/DatePickerInput/utils/isMaskableFormat.js +9 -0
- package/ui/Elements/DatePicker/utils/getInputFormat.d.ts +3 -0
- package/ui/Elements/DatePicker/utils/getInputFormat.js +10 -0
- 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/Modules/CommonGrid/CommonGrid.d.ts +1 -1
- package/ui/Modules/CommonGrid/CommonGrid.js +7 -5
- package/ui/Modules/CommonGrid/CommonGridContainer.js +4 -4
- package/ui/Modules/CommonGrid/components/ActionHead/ActionHead.js +1 -1
- package/ui/Modules/CommonGrid/components/ActionHead/components/ActionDropdownMenu.js +1 -1
- package/ui/Modules/CommonGrid/components/ActionHead/components/ActionDropdownSelect.js +1 -1
- package/ui/Modules/CommonGrid/components/ButtonMore/ButtonMore.js +1 -1
- package/ui/Modules/CommonGrid/components/ColumnFilterCell.js +3 -2
- package/ui/Modules/CommonGrid/components/ColumnTitle/ColumnTitle.js +1 -1
- package/ui/Modules/CommonGrid/components/ColumnTitle.js +1 -1
- package/ui/Modules/CommonGrid/components/ControlButtons/ControlButtons.js +1 -1
- package/ui/Modules/CommonGrid/components/DropdownButton/DropdownButton.js +1 -1
- package/ui/Modules/CommonGrid/components/ExtraControlButtons/ExtraControlButtons.js +1 -1
- package/ui/Modules/CommonGrid/components/FilterDropdown.js +1 -1
- package/ui/Modules/CommonGrid/components/FilterRow.d.ts +1 -0
- package/ui/Modules/CommonGrid/components/FilterRow.js +6 -1
- package/ui/Modules/CommonGrid/components/Filters/ActionsFilter/ActionsFilter.js +1 -1
- package/ui/Modules/CommonGrid/components/Filters/DatePickerRange/DatePickerRange.js +1 -1
- package/ui/Modules/CommonGrid/components/FloatingButton/FloatingButton.js +1 -1
- package/ui/Modules/CommonGrid/components/GridInfo/index.js +1 -1
- package/ui/Modules/CommonGrid/components/HeadCell.js +1 -0
- package/ui/Modules/CommonGrid/components/HeadRow.d.ts +1 -0
- package/ui/Modules/CommonGrid/components/HeadRow.js +11 -6
- package/ui/Modules/CommonGrid/components/IconList/IconList.js +1 -1
- package/ui/Modules/CommonGrid/components/ManageColumnForm/ManageColumnForm.js +1 -1
- package/ui/Modules/CommonGrid/components/ManageColumnForm/components/ManageColumnRow.js +1 -1
- package/ui/Modules/CommonGrid/components/MobileFilterModal.js +1 -1
- package/ui/Modules/CommonGrid/components/MobileSortModal.js +1 -1
- package/ui/Modules/CommonGrid/components/OversizedScroll.js +1 -1
- package/ui/Modules/CommonGrid/components/PresetsModalBody/index.js +1 -1
- package/ui/Modules/CommonGrid/components/QuickFilter/QuickFilter.js +1 -1
- package/ui/Modules/CommonGrid/components/Resize.js +1 -1
- package/ui/Modules/CommonGrid/components/TablePagination/TablePagination.js +1 -1
- package/ui/Modules/CommonGrid/components/gridCells/BoolIcon.js +1 -1
- package/ui/Modules/CommonGrid/components/gridCells/EnumInCell.js +1 -1
- package/ui/Modules/CommonGrid/components/gridCells/HoverBubble.js +1 -1
- package/ui/Modules/CommonGrid/components/gridCells/IconButtonInCell.js +1 -1
- package/ui/Modules/CommonGrid/components/gridCells/ImageCell.js +1 -1
- package/ui/Modules/CommonGrid/components/gridCells/RemoveItem.js +1 -1
- package/ui/Modules/CommonGrid/components/gridCells/RowActionsCell.js +1 -1
- package/ui/Modules/CommonGrid/styles.d.ts +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.js +1 -1
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import Icon from "../../../../Elements/Icon/Icon.js";
|
|
2
2
|
import React 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
|
import { th as th$1 } from "@xstyled/system";
|
|
6
6
|
//#region packages/ui/Modules/CommonGrid/components/IconList/IconList.tsx
|
|
7
7
|
const List = styled$1.ul`
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { Input } from "../../../../Forms/Input/Input.js";
|
|
2
2
|
import { ManageColumnRow } from "./components/ManageColumnRow.js";
|
|
3
3
|
import { useCallback, useState } from "react";
|
|
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 { i18n } from "@lingui/core";
|
|
7
7
|
import { SortableContext, verticalListSortingStrategy } from "@dnd-kit/sortable";
|
|
8
8
|
import { DndContext, PointerSensor, closestCenter, useSensor, useSensors } from "@dnd-kit/core";
|
|
@@ -4,8 +4,8 @@ import { getTranslatedValue } from "../utils.js";
|
|
|
4
4
|
import Toggle from "../../../../../Elements/Toggle/Toggle.js";
|
|
5
5
|
import { RowLayout } from "../styles.js";
|
|
6
6
|
import { useCallback, useState } 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 { useSortable } from "@dnd-kit/sortable";
|
|
10
10
|
import { CSS } from "@dnd-kit/utilities";
|
|
11
11
|
//#region packages/ui/Modules/CommonGrid/components/ManageColumnForm/components/ManageColumnRow.tsx
|
|
@@ -4,8 +4,8 @@ import { createFilterType, getFilterName, isFilterActive } from "../utils/index.
|
|
|
4
4
|
import { Modal } from "../../../Blocks/Modal/Modal.js";
|
|
5
5
|
import { MobileOverlayWrapper } from "./MobileOverlayWrapper.js";
|
|
6
6
|
import { useCallback, useEffect, useState } 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 { Trans } from "@lingui/react";
|
|
10
10
|
import get from "lodash/fp/get";
|
|
11
11
|
//#region packages/ui/Modules/CommonGrid/components/MobileFilterModal.tsx
|
|
@@ -3,8 +3,8 @@ import { getSortName } from "../utils/index.js";
|
|
|
3
3
|
import { Modal } from "../../../Blocks/Modal/Modal.js";
|
|
4
4
|
import { SortingDown, SortingUp } from "./icons/Sorting.js";
|
|
5
5
|
import { useCallback } from "react";
|
|
6
|
-
import { x } from "@xstyled/styled-components";
|
|
7
6
|
import { jsx } from "react/jsx-runtime";
|
|
7
|
+
import { x } from "@xstyled/styled-components";
|
|
8
8
|
import { Trans } from "@lingui/react";
|
|
9
9
|
//#region packages/ui/Modules/CommonGrid/components/MobileSortModal.tsx
|
|
10
10
|
const AscIcon = /* @__PURE__ */ jsx(SortingUp, {
|
|
@@ -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/Modules/CommonGrid/components/OversizedScroll.tsx
|
|
5
5
|
const ScrollWrapper = styled$1.div`
|
|
6
6
|
${(props) => props.columnLayout !== "no-scroll" && css`
|
|
@@ -5,8 +5,8 @@ import { palettes } from "../../../../Elements/Tag/palettes.js";
|
|
|
5
5
|
import { H6 } from "../../../../Elements/Typography/Typography.js";
|
|
6
6
|
import { TagRemove } from "./components/TagRemove.js";
|
|
7
7
|
import { useMemo } from "react";
|
|
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
|
import isEmpty from "lodash/isEmpty";
|
|
12
12
|
//#region packages/ui/Modules/CommonGrid/components/PresetsModalBody/index.tsx
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import Button_default from "../../../../Elements/Button/index.js";
|
|
2
2
|
import Input_default from "../../../../Forms/Input/index.js";
|
|
3
|
-
import styled$1, { x } from "@xstyled/styled-components";
|
|
4
3
|
import { jsx } from "react/jsx-runtime";
|
|
4
|
+
import styled$1, { x } from "@xstyled/styled-components";
|
|
5
5
|
//#region packages/ui/Modules/CommonGrid/components/QuickFilter/QuickFilter.tsx
|
|
6
6
|
const StyledInput = styled$1(Input_default)`
|
|
7
7
|
position: ${({ isMobileInputView }) => isMobileInputView ? "absolute" : "relative"};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { useCallback } from "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
|
//#region packages/ui/Modules/CommonGrid/components/Resize.tsx
|
|
5
5
|
const Resizer = styled$1.div`
|
|
6
6
|
height: 100%;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import Select from "../../../../Elements/Select/Select.js";
|
|
2
2
|
import { rowsPerPageOptions } from "../../utils/constants.js";
|
|
3
3
|
import { useCallback, useMemo } from "react";
|
|
4
|
-
import styled$1, { x } from "@xstyled/styled-components";
|
|
5
4
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
5
|
+
import styled$1, { x } from "@xstyled/styled-components";
|
|
6
6
|
import { Trans } from "@lingui/react";
|
|
7
7
|
//#region packages/ui/Modules/CommonGrid/components/TablePagination/TablePagination.tsx
|
|
8
8
|
const Wrapper = styled$1.span`
|
|
@@ -2,8 +2,8 @@ import { ToastSuccess } from "../../../../Elements/Icon/icons/ToastSuccess.js";
|
|
|
2
2
|
import { ToastError } from "../../../../Elements/Icon/icons/ToastError.js";
|
|
3
3
|
import "../../../../Elements/Icon/index.js";
|
|
4
4
|
import React from "react";
|
|
5
|
-
import styled$1 from "@xstyled/styled-components";
|
|
6
5
|
import { jsx } from "react/jsx-runtime";
|
|
6
|
+
import styled$1 from "@xstyled/styled-components";
|
|
7
7
|
import get from "lodash/fp/get";
|
|
8
8
|
//#region packages/ui/Modules/CommonGrid/components/gridCells/BoolIcon.tsx
|
|
9
9
|
const Center = styled$1.div`
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import HighlightBox_default from "../../../../Elements/HighlightBox/index.js";
|
|
2
2
|
import { useMemo } from "react";
|
|
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
|
//#region packages/ui/Modules/CommonGrid/components/gridCells/EnumInCell.tsx
|
|
6
6
|
const Center = styled$1.div`
|
|
7
7
|
display: flex;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import "react";
|
|
2
|
-
import styled$1 from "@xstyled/styled-components";
|
|
3
2
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
3
|
+
import styled$1 from "@xstyled/styled-components";
|
|
4
4
|
import get from "lodash/fp/get";
|
|
5
5
|
//#region packages/ui/Modules/CommonGrid/components/gridCells/HoverBubble.tsx
|
|
6
6
|
const Wrapper = styled$1.div`
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import Icon from "../../../../Elements/Icon/Icon.js";
|
|
2
2
|
import { Spinner } from "../../../../Elements/Spinner/Spinner.js";
|
|
3
3
|
import "react";
|
|
4
|
-
import { x } from "@xstyled/styled-components";
|
|
5
4
|
import { Fragment, jsx } from "react/jsx-runtime";
|
|
5
|
+
import { x } from "@xstyled/styled-components";
|
|
6
6
|
import { Link } from "react-router-dom";
|
|
7
7
|
//#region packages/ui/Modules/CommonGrid/components/gridCells/IconButtonInCell.tsx
|
|
8
8
|
const IconButtonInCell = ({ icon, isLoading, onClick, linkTo }) => {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import Image from "../../../../Elements/Image/Image.js";
|
|
2
2
|
import "react";
|
|
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 get from "lodash/fp/get";
|
|
6
6
|
//#region packages/ui/Modules/CommonGrid/components/gridCells/ImageCell.tsx
|
|
7
7
|
const ImageWrapper = styled$1.div`
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import Icon from "../../../../Elements/Icon/Icon.js";
|
|
2
2
|
import React 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
|
import { Trans } from "@lingui/react";
|
|
6
6
|
//#region packages/ui/Modules/CommonGrid/components/gridCells/RemoveItem.tsx
|
|
7
7
|
const Wrap = styled$1.div`
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import Checkbox_default from "../../../../Forms/Checkbox/index.js";
|
|
2
2
|
import { IconButtonInCell } from "./IconButtonInCell.js";
|
|
3
3
|
import { useCallback, useMemo } from "react";
|
|
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 { isFunction, omit } from "lodash/fp";
|
|
7
7
|
//#region packages/ui/Modules/CommonGrid/components/gridCells/RowActionsCell.tsx
|
|
8
8
|
const RowActionsCell = ({ actionColumnDefinition, rowData, addRowNumbers, rowIndex, rowNumberWidth = 0, checkedRows, withCheckboxes, onUxChange, onRowAction }) => {
|
|
@@ -12,7 +12,7 @@ export declare const CommonGridWithStyles: import("styled-components").StyledCom
|
|
|
12
12
|
displayColumnsDefinitions: import("./types").ColumnDefinition[];
|
|
13
13
|
hasGroups: boolean;
|
|
14
14
|
hasFilters: boolean;
|
|
15
|
-
|
|
15
|
+
onSetActiveColumn?: (columnName: string) => void;
|
|
16
16
|
}>, import("@xstyled/styled-components").Theme, {
|
|
17
17
|
withButtonStrip: boolean;
|
|
18
18
|
hasGroupsOrFilters: boolean;
|
|
@@ -2,8 +2,8 @@ import styles_default from "../../../../styles.js";
|
|
|
2
2
|
import Text from "../../../Text/Text.js";
|
|
3
3
|
import ComponentContext from "../../../../context/ComponentContext.js";
|
|
4
4
|
import React from "react";
|
|
5
|
-
import { x } from "@xstyled/styled-components";
|
|
6
5
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
6
|
+
import { x } from "@xstyled/styled-components";
|
|
7
7
|
//#region packages/ui/Modules/Dashboard/components/Layout/components/ItemConfig/ItemConfigControls.tsx
|
|
8
8
|
const ItemConfigControls = ({ onCancel, onSave, onRemove }) => {
|
|
9
9
|
const { Button } = React.useContext(ComponentContext);
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import styles_default from "../styles.js";
|
|
2
2
|
import "react";
|
|
3
|
-
import { jsx, jsxs } from "react/jsx-runtime";
|
|
4
3
|
import styled from "styled-components";
|
|
4
|
+
import { jsx, jsxs } from "react/jsx-runtime";
|
|
5
5
|
//#region packages/ui/Modules/Dashboard/components/Widgets/HorizontalBar/components/LabelsLine.tsx
|
|
6
6
|
const BoldSpan = styled.span`
|
|
7
7
|
font-weight: bold;
|
|
@@ -6,8 +6,8 @@ import { createWidgetColors } from "../utils/generic.js";
|
|
|
6
6
|
import { getColorStringArray } from "../utils/helpers.js";
|
|
7
7
|
import { Description, OtherText, Subtitle, Title, Wrapper, WrapperText, layers, margin } from "./styles.js";
|
|
8
8
|
import React from "react";
|
|
9
|
-
import { jsx, jsxs } from "react/jsx-runtime";
|
|
10
9
|
import { useTheme } from "styled-components";
|
|
10
|
+
import { jsx, jsxs } from "react/jsx-runtime";
|
|
11
11
|
import { ResponsivePie } from "@nivo/pie";
|
|
12
12
|
//#region packages/ui/Modules/Dashboard/components/Widgets/PieChart/PieChart.tsx
|
|
13
13
|
const defaultLegendRowMaxLength = 4;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import themes from "./themes/index.js";
|
|
2
2
|
import { createContext } from "react";
|
|
3
|
-
import { Preflight, ThemeProvider } from "@xstyled/styled-components";
|
|
4
3
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
4
|
+
import { Preflight, ThemeProvider } from "@xstyled/styled-components";
|
|
5
5
|
//#region packages/ui/ThemeProvider/ThemeProvider.tsx
|
|
6
6
|
const LanguageContext = createContext("en");
|
|
7
7
|
const MailstepThemeProvider = ({ children, theme = "default", preflight = true, language = "en" }) => {
|
package/ui/index.js
CHANGED
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { useModal } from "./Blocks/Modal/hooks/useModal.js";
|
|
1
2
|
import { Cancel } from "./Elements/Icon/icons/Cancel.js";
|
|
2
3
|
import { FlagUSA } from "./Elements/Icon/icons/FlagUSA.js";
|
|
3
4
|
import { FlagCZ } from "./Elements/Icon/icons/FlagCZ.js";
|
|
@@ -113,7 +114,6 @@ import { Break } from "./Elements/Icon/icons/Break.js";
|
|
|
113
114
|
import { iconDictionary } from "./Elements/Icon/Icon.js";
|
|
114
115
|
import Icon_default from "./Elements/Icon/index.js";
|
|
115
116
|
import Pagination_default from "./Elements/Pagination/index.js";
|
|
116
|
-
import { useModal } from "./Blocks/Modal/hooks/useModal.js";
|
|
117
117
|
import Spinner_default from "./Elements/Spinner/index.js";
|
|
118
118
|
import Button_default from "./Elements/Button/index.js";
|
|
119
119
|
import themes from "./ThemeProvider/themes/index.js";
|