diginet-core-ui 1.3.79-beta.2 → 1.3.79-beta.3

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 (157) hide show
  1. package/components/accordion/css.js +2 -2
  2. package/components/accordion/details.js +3 -3
  3. package/components/accordion/group.js +3 -3
  4. package/components/accordion/index.js +5 -5
  5. package/components/accordion/summary.js +4 -4
  6. package/components/alert/index.js +8 -8
  7. package/components/alert/notify.js +4 -4
  8. package/components/avatar/index.js +11 -12
  9. package/components/badge/index.js +5 -5
  10. package/components/button/icon.js +14 -11
  11. package/components/button/index.js +10 -10
  12. package/components/button/more.js +5 -5
  13. package/components/button/ripple-effect.js +2 -2
  14. package/components/card/body.js +2 -2
  15. package/components/card/extra.js +2 -2
  16. package/components/card/footer.js +2 -2
  17. package/components/card/header.js +3 -3
  18. package/components/card/index.js +8 -8
  19. package/components/chart/Pie/index.js +4 -4
  20. package/components/chart/Pie-v2/Sectors.js +3 -3
  21. package/components/chart/Pie-v2/index.js +6 -6
  22. package/components/chart/bar/Bar.js +2 -2
  23. package/components/chart/bar/Labels.js +2 -2
  24. package/components/chart/bar/index.js +6 -6
  25. package/components/chart/bar-v2/Bar.js +3 -3
  26. package/components/chart/bar-v2/Labels.js +2 -2
  27. package/components/chart/bar-v2/index.js +6 -6
  28. package/components/chart/line/Labels.js +2 -2
  29. package/components/chart/line/Path.js +1 -1
  30. package/components/chart/line/Point.js +2 -2
  31. package/components/chart/line/Title.js +1 -1
  32. package/components/chart/line/index.js +6 -6
  33. package/components/chart/line-v2/Labels.js +2 -2
  34. package/components/chart/line-v2/Point.js +2 -2
  35. package/components/chart/line-v2/Title.js +1 -1
  36. package/components/chart/line-v2/index.js +6 -6
  37. package/components/check-text/index.js +2 -2
  38. package/components/check-text/interview-confirmation.js +2 -2
  39. package/components/check-text/interview-status.js +2 -2
  40. package/components/chip/attach.js +4 -4
  41. package/components/chip/index.js +5 -5
  42. package/components/collapse/index.js +1 -1
  43. package/components/divider/index.js +2 -2
  44. package/components/form-control/attachment/index.js +86 -205
  45. package/components/form-control/calendar/function.js +8 -8
  46. package/components/form-control/calendar/index.js +2 -2
  47. package/components/form-control/calendar/range.js +3 -3
  48. package/components/form-control/checkbox/index.js +5 -5
  49. package/components/form-control/control/index.js +2 -2
  50. package/components/form-control/date-picker/index.js +10 -10
  51. package/components/form-control/date-range-picker/index.js +8 -8
  52. package/components/form-control/dropdown/index.js +7 -7
  53. package/components/form-control/dropdown-box/index.js +6 -6
  54. package/components/form-control/form/index.js +1 -1
  55. package/components/form-control/form-group/index.js +1 -1
  56. package/components/form-control/helper-text/index.js +4 -4
  57. package/components/form-control/input-base/index.js +7 -7
  58. package/components/form-control/label/index.js +7 -7
  59. package/components/form-control/money-input/index.js +5 -5
  60. package/components/form-control/number-input/index.js +3 -3
  61. package/components/form-control/number-input/index2.js +5 -5
  62. package/components/form-control/phone-input/index.js +2 -2
  63. package/components/form-control/radio/index.js +4 -4
  64. package/components/form-control/text-input/index.js +4 -4
  65. package/components/form-control/time-picker/index.js +7 -7
  66. package/components/form-control/time-picker/swiper.js +1 -1
  67. package/components/form-control/toggle/index.js +4 -4
  68. package/components/form-view/helper-text.js +1 -1
  69. package/components/form-view/index.js +4 -4
  70. package/components/form-view/input.js +3 -3
  71. package/components/form-view/label.js +2 -2
  72. package/components/grid/Col.js +2 -2
  73. package/components/grid/Container.js +1 -1
  74. package/components/grid/Row.js +1 -1
  75. package/components/grid/index.js +5 -5
  76. package/components/image/index.js +5 -5
  77. package/components/index.js +83 -83
  78. package/components/list/list-item-action.js +1 -1
  79. package/components/list/list-item-icon.js +2 -2
  80. package/components/list/list-item-text.js +1 -1
  81. package/components/list/list-item.js +2 -2
  82. package/components/list/list.js +1 -1
  83. package/components/list/sub-header.js +2 -2
  84. package/components/modal/body.js +4 -4
  85. package/components/modal/footer.js +3 -3
  86. package/components/modal/header.js +5 -5
  87. package/components/modal/index.js +4 -4
  88. package/components/modal/modal.js +6 -6
  89. package/components/others/extra/index.js +2 -2
  90. package/components/others/import/index.js +1 -1
  91. package/components/others/scrollbar/index.js +1 -1
  92. package/components/paging/page-info.js +5 -5
  93. package/components/paging/page-selector.js +3 -3
  94. package/components/paging/page-selector2.js +5 -5
  95. package/components/paper/index.js +2 -2
  96. package/components/popover/body.js +4 -4
  97. package/components/popover/footer.js +4 -4
  98. package/components/popover/header.js +5 -5
  99. package/components/popover/index.js +4 -4
  100. package/components/popup/danger_popup.js +5 -5
  101. package/components/popup/index.js +6 -6
  102. package/components/popup/proposals_popup.js +5 -5
  103. package/components/popup/v2/index.js +9 -9
  104. package/components/progress/circular.js +169 -260
  105. package/components/progress/linear.js +2 -2
  106. package/components/rating/index.js +6 -6
  107. package/components/slider/slider-container.js +4 -4
  108. package/components/slider/slider-item.js +5 -5
  109. package/components/status/index.js +5 -5
  110. package/components/tab/tab-container.js +4 -4
  111. package/components/tab/tab-header.js +5 -5
  112. package/components/tab/tab-panel.js +4 -4
  113. package/components/tab/tab.js +8 -8
  114. package/components/tooltip/index.js +3 -3
  115. package/components/tooltip/portal.js +1 -1
  116. package/components/transfer/index.js +5 -5
  117. package/components/tree-view/css.js +2 -2
  118. package/components/tree-view/index.js +4 -4
  119. package/components/typography/index.js +3 -3
  120. package/global/index.js +2 -2
  121. package/icons/basic.js +1 -1
  122. package/icons/effect.js +5 -5
  123. package/icons/general/index.js +21 -21
  124. package/icons/index.js +2 -2
  125. package/icons/menu/index.js +2 -2
  126. package/icons/menu/v2/index.js +1 -1
  127. package/locale/index.js +1 -1
  128. package/package.json +2 -1
  129. package/styles/animation.js +1 -1
  130. package/styles/colors.js +1 -1
  131. package/styles/font.js +3 -3
  132. package/styles/general.js +2 -2
  133. package/styles/typography.js +2 -2
  134. package/styles/utils.js +1 -1
  135. package/theme/index.js +3 -3
  136. package/theme/make-styles.js +1 -1
  137. package/theme/set-theme.js +1 -1
  138. package/theme/settings.js +6 -6
  139. package/theme/theme-provider.js +2 -2
  140. package/theme/theme.js +1 -1
  141. package/utils/array/array.js +3 -3
  142. package/utils/console.js +1 -1
  143. package/utils/date.js +2 -2
  144. package/utils/error/error.js +3 -3
  145. package/utils/error/errors.js +1 -1
  146. package/utils/handleBreakpoints.js +2 -2
  147. package/utils/index.js +28 -28
  148. package/utils/object/extend.js +1 -1
  149. package/utils/object/object.js +1 -1
  150. package/utils/render-portal.js +1 -1
  151. package/utils/renderHTML.js +1 -1
  152. package/utils/renderIcon.js +3 -3
  153. package/utils/sb-template.js +4 -4
  154. package/utils/string/capitalizeSentenceCase.js +1 -1
  155. package/utils/string/string.js +1 -1
  156. package/utils/useElementSize.js +1 -1
  157. package/utils/validate.js +2 -2
@@ -1,6 +1,6 @@
1
1
  import { css } from '@emotion/core';
2
- import theme from '../../theme/settings';
3
- import { alignCenter, backgroundTransparent, borderBox, borderRadius4px, breakWord, cursorPointer, displayInlineBlock, flexRow, flexRowReverse, inlineFlex, justifyBetween, justifyCenter, justifyEnd, parseWidthHeight, pointerEventsNone, positionAbsolute, positionRelative, userSelectNone } from '../../styles/general';
2
+ import theme from "../../theme/settings";
3
+ import { alignCenter, backgroundTransparent, borderBox, borderRadius4px, breakWord, cursorPointer, displayInlineBlock, flexRow, flexRowReverse, inlineFlex, justifyBetween, justifyCenter, justifyEnd, parseWidthHeight, pointerEventsNone, positionAbsolute, positionRelative, userSelectNone } from "../../styles/general";
4
4
  const {
5
5
  colors: {
6
6
  system: {
@@ -3,9 +3,9 @@
3
3
  import { memo, forwardRef, useRef, useMemo, useImperativeHandle } from 'react';
4
4
  import PropTypes from 'prop-types';
5
5
  import { jsx, css } from '@emotion/core';
6
- import { borderBox, displayBlock, overflowHidden, parseHeight, pointerEventsNone, positionRelative, userSelectNone } from '../../styles/general';
7
- import { classNames } from '../../utils';
8
- import theme from '../../theme/settings';
6
+ import { borderBox, displayBlock, overflowHidden, parseHeight, pointerEventsNone, positionRelative, userSelectNone } from "../../styles/general";
7
+ import { classNames } from "../../utils";
8
+ import theme from "../../theme/settings";
9
9
  const {
10
10
  colors: {
11
11
  text: {
@@ -3,9 +3,9 @@
3
3
  import { memo, useRef, forwardRef, Children, cloneElement, useMemo, useImperativeHandle } from 'react';
4
4
  import PropTypes from 'prop-types';
5
5
  import { jsx, css } from '@emotion/core';
6
- import { borderRadius4px } from '../../styles/general';
7
- import classNames from '../../utils/classNames';
8
- import theme from '../../theme/settings';
6
+ import { borderRadius4px } from "../../styles/general";
7
+ import classNames from "../../utils/classNames";
8
+ import theme from "../../theme/settings";
9
9
  const {
10
10
  spacing
11
11
  } = theme;
@@ -3,11 +3,11 @@
3
3
  import { memo, useEffect, useRef, forwardRef, useState, useMemo, useImperativeHandle } from 'react';
4
4
  import PropTypes from 'prop-types';
5
5
  import { jsx, css } from '@emotion/core';
6
- import AccordionContext from './context';
7
- import Divider from '../divider';
8
- import { borderRadius4px, displayBlock, parseWidth, positionRelative } from '../../styles/general';
9
- import classNames from '../../utils/classNames';
10
- import theme from '../../theme/settings';
6
+ import AccordionContext from "./context";
7
+ import Divider from "../divider";
8
+ import { borderRadius4px, displayBlock, parseWidth, positionRelative } from "../../styles/general";
9
+ import classNames from "../../utils/classNames";
10
+ import theme from "../../theme/settings";
11
11
  const {
12
12
  colors: {
13
13
  line: {
@@ -3,11 +3,11 @@
3
3
  import { memo, useEffect, useRef, useContext, forwardRef, useMemo, useImperativeHandle } from 'react';
4
4
  import PropTypes from 'prop-types';
5
5
  import { jsx } from '@emotion/core';
6
- import { SummaryRootCSS } from './css';
7
- import AccordionContext from './context';
6
+ import { SummaryRootCSS } from "./css";
7
+ import AccordionContext from "./context";
8
8
  import { ButtonIcon, Typography } from '..';
9
- import { classNames } from '../../utils';
10
- import theme from '../../theme/settings';
9
+ import { classNames } from "../../utils";
10
+ import theme from "../../theme/settings";
11
11
  const {
12
12
  colors: {
13
13
  system: {
@@ -3,14 +3,14 @@
3
3
  import { forwardRef, memo, useEffect, useImperativeHandle, useMemo, useRef, useState } from 'react';
4
4
  import PropTypes from 'prop-types';
5
5
  import { jsx, css } from '@emotion/core';
6
- import LinearProgress from '../progress/linear';
7
- import ButtonIcon from '../button/icon';
8
- import Icon from '../../icons';
9
- import { hexToRGBA } from '../../styles/color-helper';
10
- import { animations } from '../../styles/animation';
11
- import { classNames, useDelayUnmount } from '../../utils';
12
- import { alignCenter, border, borderBox, borderRadius4px, breakWord, displayBlock, flexRow, justifyStart, positionRelative, userSelectNone } from '../../styles/general';
13
- import { useTheme, useColor as colors } from '../../theme';
6
+ import LinearProgress from "../progress/linear";
7
+ import ButtonIcon from "../button/icon";
8
+ import Icon from "../../icons";
9
+ import { hexToRGBA } from "../../styles/color-helper";
10
+ import { animations } from "../../styles/animation";
11
+ import { classNames, useDelayUnmount } from "../../utils";
12
+ import { alignCenter, border, borderBox, borderRadius4px, breakWord, displayBlock, flexRow, justifyStart, positionRelative, userSelectNone } from "../../styles/general";
13
+ import { useTheme, useColor as colors } from "../../theme";
14
14
  const {
15
15
  colors: {
16
16
  system: {
@@ -4,10 +4,10 @@ import { memo, useEffect, forwardRef, useImperativeHandle, useRef, useState } fr
4
4
  import ReactDOM, { createPortal } from 'react-dom';
5
5
  import PropTypes from 'prop-types';
6
6
  import { jsx, css } from '@emotion/core';
7
- import Alert from './';
8
- import theme from '../../theme/settings';
9
- import { classNames, refType as ref } from '../../utils';
10
- import { backgroundTransparent, pointerEventsNone, positionFixed } from '../../styles/general';
7
+ import Alert from "./";
8
+ import theme from "../../theme/settings";
9
+ import { classNames, refType as ref } from "../../utils";
10
+ import { backgroundTransparent, pointerEventsNone, positionFixed } from "../../styles/general";
11
11
  const {
12
12
  zIndex: zIndexCORE
13
13
  } = theme;
@@ -1,17 +1,16 @@
1
1
  /** @jsxRuntime classic */
2
2
  /** @jsx jsx */
3
- import { Fragment, memo, useRef, forwardRef, useState, useEffect, useMemo, useImperativeHandle, isValidElement } from 'react';
4
- import PropTypes from 'prop-types';
5
3
  import { jsx, css, keyframes } from '@emotion/core';
6
- import OptionWrapper from '../others/option-wrapper';
7
- import { useIntersection } from '../../utils/intersectionObserver';
8
- import { ButtonIcon, ModalSample, Popover, Popup, Typography } from '../';
9
- import { classNames, randomString } from '../../utils';
10
- import { getGlobal } from '../../global';
11
- import AvatarDefault from '../../assets/avatar/default.svg';
12
- import { alignCenter, borderNone, displayBlock, displayNone, flexCol, inlineFlex, overflowHidden, parseWidthHeight, pointerEventsNone, positionAbsolute, positionRelative, userSelectNone } from '../../styles/general';
13
- import isMobile from '../../utils/isMobile';
14
- import theme from '../../theme/settings';
4
+ import AvatarDefault from "../../assets/avatar/default.svg";
5
+ import { ButtonIcon, ModalSample, Popover, Popup, Typography } from "./..";
6
+ import { getGlobal } from "../../global";
7
+ import PropTypes from 'prop-types';
8
+ import { forwardRef, Fragment, isValidElement, memo, useEffect, useImperativeHandle, useMemo, useRef, useState } from 'react';
9
+ import { alignCenter, borderNone, displayBlock, displayNone, flexCol, inlineFlex, overflowHidden, parseWidthHeight, pointerEventsNone, positionAbsolute, positionRelative, userSelectNone } from "../../styles/general";
10
+ import { useTheme } from "../../theme";
11
+ import { classNames, isMobile, randomString } from "../../utils";
12
+ import { useIntersection } from "../../utils/intersectionObserver";
13
+ import OptionWrapper from "../others/option-wrapper";
15
14
  const {
16
15
  colors: {
17
16
  system: {
@@ -26,7 +25,7 @@ const {
26
25
  },
27
26
  spacing,
28
27
  zIndex: zIndexCORE
29
- } = theme;
28
+ } = useTheme();
30
29
  const existed = {},
31
30
  urlAvatar = {},
32
31
  popupHandler = {};
@@ -3,11 +3,11 @@
3
3
  import { memo, useRef, forwardRef, useMemo, useImperativeHandle } from 'react';
4
4
  import PropTypes from 'prop-types';
5
5
  import { jsx, css } from '@emotion/core';
6
- import OptionWrapper from '../others/option-wrapper';
7
- import { color as colors } from '../../styles/colors';
8
- import { typography } from '../../styles/typography';
9
- import { alignCenter, borderBox, borderRadius4px, flexRow, flexWrap, inlineFlex, justifyCenter, pointerEventsNone, positionAbsolute, positionRelative } from '../../styles/general';
10
- import Icon from '../../icons';
6
+ import OptionWrapper from "../others/option-wrapper";
7
+ import { color as colors } from "../../styles/colors";
8
+ import { typography } from "../../styles/typography";
9
+ import { alignCenter, borderBox, borderRadius4px, flexRow, flexWrap, inlineFlex, justifyCenter, pointerEventsNone, positionAbsolute, positionRelative } from "../../styles/general";
10
+ import Icon from "../../icons";
11
11
  const {
12
12
  paragraph1,
13
13
  paragraph2,
@@ -3,16 +3,16 @@
3
3
  import { memo, useRef, useMemo, forwardRef, useImperativeHandle } from 'react';
4
4
  import PropTypes from 'prop-types';
5
5
  import { jsx, css } from '@emotion/core';
6
- import OptionWrapper from '../others/option-wrapper';
7
- import * as allColors from '../../styles/colors';
8
- import { hexToRGBA } from '../../styles/color-helper';
9
- import { capitalize, classNames, refType as ref } from '../../utils';
10
- import Icon from '../../icons';
11
- import Ripple from './ripple-effect';
6
+ import OptionWrapper from "../others/option-wrapper";
7
+ import * as allColors from "../../styles/colors";
8
+ import { hexToRGBA } from "../../styles/color-helper";
9
+ import { capitalize, classNames, refType as ref } from "../../utils";
10
+ import Icon from "../../icons";
11
+ import Ripple from "./ripple-effect";
12
12
  import { getClassNameFromColor, getRippleColor } from '.';
13
- import CircularProgress from '../progress/circular';
14
- import { alignCenter, backgroundTransparent, border, borderBox, borderNone, borderRadius4px, borderRadius50, cursorPointer, flexRow, inlineFlex, justifyCenter, noBorder, outlineNone, parseMinWidthHeight, parseWidthHeight, pointerEventsNone, positionRelative, userSelectNone } from '../../styles/general';
15
- import { useColor as colors, useTheme } from '../../theme';
13
+ import CircularProgress from "../progress/circular";
14
+ import { alignCenter, backgroundTransparent, border, borderBox, borderNone, borderRadius4px, borderRadius50, cursorPointer, flexRow, inlineFlex, justifyCenter, outlineNone, parseMinWidthHeight, parseWidthHeight, pointerEventsNone, positionRelative, userSelectNone } from "../../styles/general";
15
+ import { useColor as colors, useTheme } from "../../theme";
16
16
  const {
17
17
  colors: {
18
18
  system: {
@@ -47,6 +47,9 @@ const sizeMap = new Map([['tiny', {
47
47
  }], ['giant', {
48
48
  buttonSize: '56px',
49
49
  iconSize: '40px'
50
+ }], ['extraGiant', {
51
+ buttonSize: '96px',
52
+ iconSize: '56px'
50
53
  }]]);
51
54
  const iconColorMap = new Map([['Close', semanticDanger], ['Cancel', semanticDanger], ['Approval', semanticSuccess], ['Delete', semanticWarning], ['Trash', semanticWarning], ['Edit', semanticInfo], ['EditV2', semanticInfo], ['View', semanticInfo]]);
52
55
  const alphaArr = {
@@ -239,7 +242,7 @@ const ButtonRootCSS = (circular, colorHover, color, name) => css`
239
242
  }
240
243
  }
241
244
  &.text {
242
- ${noBorder};
245
+ ${borderNone};
243
246
  ${backgroundTransparent};
244
247
  color: ${color};
245
248
  &.button-icon--loading {
@@ -266,7 +269,7 @@ const ButtonRootCSS = (circular, colorHover, color, name) => css`
266
269
  }
267
270
  &.ghost {
268
271
  ${backgroundTransparent};
269
- ${noBorder};
272
+ ${borderNone};
270
273
  color: ${color};
271
274
  &.loading,
272
275
  &:hover,
@@ -3,16 +3,16 @@
3
3
  import { css, jsx } from '@emotion/core';
4
4
  import PropTypes from 'prop-types';
5
5
  import { forwardRef, memo, useEffect, useImperativeHandle, useMemo, useRef, useState } from 'react';
6
- import { Typography } from '../';
7
- import Icon from '../../icons';
8
- import { detectColor, fade, hexToRGBA, hslToRgb, isColor, isColorName, rgbaToHexA, rgbToHex } from '../../styles/color-helper';
9
- import * as allColors from '../../styles/colors';
10
- import { alignCenter, backgroundTransparent, border, borderBox, borderNone, borderRadius4px, cursorPointer, flexRow, inlineFlex, justifyCenter, noBorder, noMargin, noPadding, outlineNone, overflowHidden, parseHeight, parseMinHeight, parseMinWidth, parseMinWidthHeight, parseWidthHeight, pointerEventsNone, positionRelative, userSelectNone } from '../../styles/general';
11
- import { useColor as colors, useTheme } from '../../theme';
12
- import { classNames, refType as ref } from '../../utils';
13
- import OptionWrapper from '../others/option-wrapper';
14
- import CircularProgress from '../progress/circular';
15
- import Ripple from './ripple-effect';
6
+ import { Typography } from "../";
7
+ import Icon from "../../icons";
8
+ import { detectColor, fade, hexToRGBA, hslToRgb, isColor, isColorName, rgbaToHexA, rgbToHex } from "../../styles/color-helper";
9
+ import * as allColors from "../../styles/colors";
10
+ import { alignCenter, backgroundTransparent, border, borderBox, borderNone, borderRadius4px, cursorPointer, flexRow, inlineFlex, justifyCenter, noBorder, noMargin, noPadding, outlineNone, overflowHidden, parseHeight, parseMinHeight, parseMinWidth, parseMinWidthHeight, parseWidthHeight, pointerEventsNone, positionRelative, userSelectNone } from "../../styles/general";
11
+ import { useColor as colors, useTheme } from "../../theme";
12
+ import { classNames, refType as ref } from "../../utils";
13
+ import OptionWrapper from "../others/option-wrapper";
14
+ import CircularProgress from "../progress/circular";
15
+ import Ripple from "./ripple-effect";
16
16
  const {
17
17
  colors: {
18
18
  system: {
@@ -3,11 +3,11 @@
3
3
  import { css, jsx } from '@emotion/core';
4
4
  import PropTypes from 'prop-types';
5
5
  import { forwardRef, isValidElement, memo, useImperativeHandle, useMemo, useRef, useState } from 'react';
6
- import { ButtonIcon, Icon, Popover, Typography } from '../';
7
- import { alignCenter, borderNone, cursorPointer, flexCol, flexRow, outlineNone, parseHeight } from '../../styles/general';
8
- import { useTheme } from '../../theme';
9
- import { classNames, refType as ref } from '../../utils';
10
- import OptionWrapper from '../others/option-wrapper';
6
+ import { ButtonIcon, Icon, Popover, Typography } from "../";
7
+ import { alignCenter, borderNone, cursorPointer, flexCol, flexRow, outlineNone, parseHeight } from "../../styles/general";
8
+ import { useTheme } from "../../theme";
9
+ import { classNames, refType as ref } from "../../utils";
10
+ import OptionWrapper from "../others/option-wrapper";
11
11
  const {
12
12
  colors: {
13
13
  system: {
@@ -3,8 +3,8 @@
3
3
  /** @jsx jsx */
4
4
  import { css, jsx, keyframes } from '@emotion/core';
5
5
  import { forwardRef, memo, useImperativeHandle, useLayoutEffect, useState } from 'react';
6
- import { borderRadius100, borderRadius50, overflowHidden, positionAbsolute } from '../../styles/general';
7
- import { useTheme } from '../../theme';
6
+ import { borderRadius100, borderRadius50, overflowHidden, positionAbsolute } from "../../styles/general";
7
+ import { useTheme } from "../../theme";
8
8
  const {
9
9
  colors: {
10
10
  system: {
@@ -3,8 +3,8 @@
3
3
  import { memo, useRef, useMemo, forwardRef, useImperativeHandle } from 'react';
4
4
  import PropTypes from 'prop-types';
5
5
  import { jsx } from '@emotion/core';
6
- import OptionWrapper from '../others/option-wrapper';
7
- import { classNames } from '../../utils';
6
+ import OptionWrapper from "../others/option-wrapper";
7
+ import { classNames } from "../../utils";
8
8
  const CardBody = /*#__PURE__*/memo( /*#__PURE__*/forwardRef(({
9
9
  action = {},
10
10
  children,
@@ -3,8 +3,8 @@
3
3
  import { memo, useRef, useMemo, forwardRef, useImperativeHandle } from 'react';
4
4
  import PropTypes from 'prop-types';
5
5
  import { jsx } from '@emotion/core';
6
- import OptionWrapper from '../others/option-wrapper';
7
- import { classNames } from '../../utils';
6
+ import OptionWrapper from "../others/option-wrapper";
7
+ import { classNames } from "../../utils";
8
8
  const CardExtra = /*#__PURE__*/memo( /*#__PURE__*/forwardRef(({
9
9
  action = {},
10
10
  children,
@@ -3,8 +3,8 @@
3
3
  import { memo, useRef, useMemo, forwardRef, useImperativeHandle } from 'react';
4
4
  import PropTypes from 'prop-types';
5
5
  import { jsx } from '@emotion/core';
6
- import OptionWrapper from '../others/option-wrapper';
7
- import { classNames } from '../../utils';
6
+ import OptionWrapper from "../others/option-wrapper";
7
+ import { classNames } from "../../utils";
8
8
  const CardFooter = /*#__PURE__*/memo( /*#__PURE__*/forwardRef(({
9
9
  action = {},
10
10
  children,
@@ -3,9 +3,9 @@
3
3
  import { memo, useRef, useMemo, forwardRef, useImperativeHandle } from 'react';
4
4
  import PropTypes from 'prop-types';
5
5
  import { jsx } from '@emotion/core';
6
- import OptionWrapper from '../others/option-wrapper';
7
- import Typography from '../typography';
8
- import { classNames } from '../../utils';
6
+ import OptionWrapper from "../others/option-wrapper";
7
+ import Typography from "../typography";
8
+ import { classNames } from "../../utils";
9
9
  const CardHeader = /*#__PURE__*/memo( /*#__PURE__*/forwardRef(({
10
10
  action = {},
11
11
  children,
@@ -3,14 +3,14 @@
3
3
  import { memo, useRef, useMemo, forwardRef, useImperativeHandle } from 'react';
4
4
  import PropTypes from 'prop-types';
5
5
  import { jsx, css } from '@emotion/core';
6
- import OptionWrapper from '../others/option-wrapper';
7
- import theme from '../../theme/settings';
8
- import { borderBox, borderRadius4px, flexCol, flexRow, justifyEnd, overflowHidden, parseWidth, parseWidthHeight, positionAbsolute, positionRelative } from '../../styles/general';
9
- import CardHeader from './header';
10
- import { CardFooter } from './footer';
11
- import { CardBody } from './body';
12
- import { getColor } from '../../styles/utils';
13
- import { classNames } from '../../utils';
6
+ import OptionWrapper from "../others/option-wrapper";
7
+ import theme from "../../theme/settings";
8
+ import { borderBox, borderRadius4px, flexCol, flexRow, justifyEnd, overflowHidden, parseWidth, parseWidthHeight, positionAbsolute, positionRelative } from "../../styles/general";
9
+ import CardHeader from "./header";
10
+ import { CardFooter } from "./footer";
11
+ import { CardBody } from "./body";
12
+ import { getColor } from "../../styles/utils";
13
+ import { classNames } from "../../utils";
14
14
  const {
15
15
  colors: {
16
16
  system: {
@@ -2,11 +2,11 @@
2
2
  /** @jsx jsx */
3
3
  import { useState, useRef, useEffect, memo, forwardRef } from 'react';
4
4
  import PropTypes from 'prop-types';
5
- import Typography from '../../typography';
5
+ import Typography from "../../typography";
6
6
  import { jsx, css } from '@emotion/core';
7
- import Circle from './Circle';
8
- import Sectors from './Sectors';
9
- import Sector from './Sector';
7
+ import Circle from "./Circle";
8
+ import Sectors from "./Sectors";
9
+ import Sector from "./Sector";
10
10
  const PieChart = /*#__PURE__*/memo( /*#__PURE__*/forwardRef(({
11
11
  expandOnHover,
12
12
  renderSelectedItem,
@@ -3,10 +3,10 @@
3
3
  /** @jsx jsx */
4
4
  import { useState } from 'react';
5
5
  import PropTypes from 'prop-types';
6
- import Sector from './Sector';
6
+ import Sector from "./Sector";
7
7
  import { jsx, css } from '@emotion/core';
8
- import { randomString } from '../../../utils';
9
- import { typography } from '../../../styles/typography';
8
+ import { randomString } from "../../../utils";
9
+ import { typography } from "../../../styles/typography";
10
10
  const Sectors = ({
11
11
  center,
12
12
  data,
@@ -3,12 +3,12 @@
3
3
  import { useState, useRef, memo, forwardRef } from 'react';
4
4
  import PropTypes from 'prop-types';
5
5
  import { jsx, css } from '@emotion/core';
6
- import Typography from '../../typography';
7
- import { randomString } from '../../../utils';
8
- import { typography } from '../../../styles/typography';
9
- import Circle from './Circle';
10
- import Sectors from './Sectors';
11
- import Sector from './Sector';
6
+ import Typography from "../../typography";
7
+ import { randomString } from "../../../utils";
8
+ import { typography } from "../../../styles/typography";
9
+ import Circle from "./Circle";
10
+ import Sectors from "./Sectors";
11
+ import Sector from "./Sector";
12
12
  const PieChart = /*#__PURE__*/memo( /*#__PURE__*/forwardRef(({
13
13
  expandOnHover,
14
14
  renderSelectedItem,
@@ -3,8 +3,8 @@
3
3
  import { memo, useRef, forwardRef } from 'react';
4
4
  import { css, jsx } from '@emotion/core';
5
5
  import PropTypes from 'prop-types';
6
- import Labels from './Labels';
7
- import { typography } from '../../../styles/typography';
6
+ import Labels from "./Labels";
7
+ import { typography } from "../../../styles/typography";
8
8
  const Bars = /*#__PURE__*/memo( /*#__PURE__*/forwardRef(({
9
9
  // barsOpacity,
10
10
  barsMargin,
@@ -3,8 +3,8 @@
3
3
  /** @jsx jsx */
4
4
  import PropTypes from 'prop-types';
5
5
  import { jsx, css } from '@emotion/core';
6
- import theme from '../../../theme/settings';
7
- import { typography } from '../../../styles/typography';
6
+ import theme from "../../../theme/settings";
7
+ import { typography } from "../../../styles/typography";
8
8
  const Labels = ({
9
9
  getX,
10
10
  getY,
@@ -3,12 +3,12 @@
3
3
  import PropTypes from 'prop-types';
4
4
  import { memo, forwardRef } from 'react';
5
5
  import { jsx } from '@emotion/core';
6
- import Axis from './Axis';
7
- import Points from './Points';
8
- import Labels from './Labels';
9
- import Grid from './Grid';
10
- import Bars from './Bar';
11
- import { randomString } from '../../../utils';
6
+ import Axis from "./Axis";
7
+ import Points from "./Points";
8
+ import Labels from "./Labels";
9
+ import Grid from "./Grid";
10
+ import Bars from "./Bar";
11
+ import { randomString } from "../../../utils";
12
12
  const BarChart = /*#__PURE__*/memo( /*#__PURE__*/forwardRef(({
13
13
  labelsVisible,
14
14
  labelsCharacterWidth,
@@ -3,9 +3,9 @@
3
3
  import { memo, useRef, forwardRef, useState } from 'react';
4
4
  import { css, jsx } from '@emotion/core';
5
5
  import PropTypes from 'prop-types';
6
- import Labels from './Labels';
7
- import { randomString } from '../../../utils';
8
- import { typography } from '../../../styles/typography';
6
+ import Labels from "./Labels";
7
+ import { randomString } from "../../../utils";
8
+ import { typography } from "../../../styles/typography";
9
9
  const Bars = /*#__PURE__*/memo( /*#__PURE__*/forwardRef(({
10
10
  // barsOpacity,
11
11
  barsMargin,
@@ -3,8 +3,8 @@
3
3
  /** @jsx jsx */
4
4
  import PropTypes from 'prop-types';
5
5
  import { jsx, css } from '@emotion/core';
6
- import theme from '../../../theme/settings';
7
- import { typography } from '../../../styles/typography';
6
+ import theme from "../../../theme/settings";
7
+ import { typography } from "../../../styles/typography";
8
8
  const Labels = ({
9
9
  getX,
10
10
  getY,
@@ -3,12 +3,12 @@
3
3
  import PropTypes from 'prop-types';
4
4
  import { memo, forwardRef } from 'react';
5
5
  import { jsx } from '@emotion/core';
6
- import Axis from './Axis';
7
- import Points from './Points';
8
- import Labels from './Labels';
9
- import Grid from './Grid';
10
- import Bars from './Bar';
11
- import { randomString } from '../../../utils';
6
+ import Axis from "./Axis";
7
+ import Points from "./Points";
8
+ import Labels from "./Labels";
9
+ import Grid from "./Grid";
10
+ import Bars from "./Bar";
11
+ import { randomString } from "../../../utils";
12
12
  const BarChart = /*#__PURE__*/memo( /*#__PURE__*/forwardRef(({
13
13
  labelsVisible,
14
14
  labelsCharacterWidth,
@@ -3,8 +3,8 @@
3
3
  /** @jsx jsx */
4
4
  import PropTypes from 'prop-types';
5
5
  import { jsx, css } from '@emotion/core';
6
- import theme from '../../../theme/settings';
7
- import { typography } from '../../../styles/typography';
6
+ import theme from "../../../theme/settings";
7
+ import { typography } from "../../../styles/typography";
8
8
  const Labels = ({
9
9
  getX,
10
10
  getY,
@@ -3,7 +3,7 @@
3
3
  /** @jsx jsx */
4
4
  import PropTypes from 'prop-types';
5
5
  import { jsx, css } from '@emotion/core';
6
- import { color as colors } from '../../../styles/colors';
6
+ import { color as colors } from "../../../styles/colors";
7
7
  const Path = ({
8
8
  data,
9
9
  getX,
@@ -3,8 +3,8 @@
3
3
  /** @jsx jsx */
4
4
  import PropTypes from 'prop-types';
5
5
  import { jsx, css } from '@emotion/core';
6
- import { typography } from '../../../styles/typography';
7
- import { color as colors } from '../../../styles/colors';
6
+ import { typography } from "../../../styles/typography";
7
+ import { color as colors } from "../../../styles/colors";
8
8
  const Points = ({
9
9
  data,
10
10
  getX,
@@ -2,7 +2,7 @@
2
2
  /** @jsx jsx */
3
3
  import PropTypes from 'prop-types';
4
4
  import { jsx } from '@emotion/core';
5
- import Typography from '../../typography';
5
+ import Typography from "../../typography";
6
6
  const Title = ({
7
7
  data
8
8
  }) => {
@@ -3,13 +3,13 @@
3
3
  import PropTypes from 'prop-types';
4
4
  import { memo, forwardRef } from 'react';
5
5
  import { jsx } from '@emotion/core';
6
- import Axis from './Axis';
7
- import Labels from './Labels';
8
- import Grid from './Grid';
9
- import Points from './Point';
6
+ import Axis from "./Axis";
7
+ import Labels from "./Labels";
8
+ import Grid from "./Grid";
9
+ import Points from "./Point";
10
10
  // import Title from './Title';
11
- import Path from './Path';
12
- import { randomString } from '../../../utils';
11
+ import Path from "./Path";
12
+ import { randomString } from "../../../utils";
13
13
  const LineChart = /*#__PURE__*/memo( /*#__PURE__*/forwardRef(({
14
14
  labelsVisible,
15
15
  labelsCharacterWidth,
@@ -3,8 +3,8 @@
3
3
  /** @jsx jsx */
4
4
  import PropTypes from 'prop-types';
5
5
  import { jsx, css } from '@emotion/core';
6
- import theme from '../../../theme/settings';
7
- import { typography } from '../../../styles/typography';
6
+ import theme from "../../../theme/settings";
7
+ import { typography } from "../../../styles/typography";
8
8
  const Labels = ({
9
9
  getX,
10
10
  getY,
@@ -4,8 +4,8 @@
4
4
  import { useState } from 'react';
5
5
  import PropTypes from 'prop-types';
6
6
  import { jsx, css } from '@emotion/core';
7
- import { randomString } from '../../../utils';
8
- import { typography } from '../../../styles/typography';
7
+ import { randomString } from "../../../utils";
8
+ import { typography } from "../../../styles/typography";
9
9
  const Points = ({
10
10
  data,
11
11
  getX,
@@ -2,7 +2,7 @@
2
2
  /** @jsx jsx */
3
3
  import PropTypes from 'prop-types';
4
4
  import { jsx } from '@emotion/core';
5
- import Typography from '../../typography';
5
+ import Typography from "../../typography";
6
6
  const Title = ({
7
7
  data
8
8
  }) => {