diginet-core-ui 1.3.78 → 1.3.79
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/components/accordion/details.js +2 -6
- package/components/accordion/group.js +2 -9
- package/components/accordion/index.js +2 -15
- package/components/accordion/summary.js +4 -27
- package/components/alert/index.js +98 -137
- package/components/alert/notify.js +97 -166
- package/components/avatar/index.js +4 -63
- package/components/badge/index.js +7 -34
- package/components/button/icon.js +120 -186
- package/components/button/index.js +136 -205
- package/components/button/more.js +0 -12
- package/components/button/ripple-effect.js +46 -44
- package/components/card/body.js +2 -7
- package/components/card/extra.js +2 -7
- package/components/card/footer.js +2 -7
- package/components/card/header.js +2 -7
- package/components/card/index.js +2 -22
- package/components/chart/Pie/Circle.js +0 -1
- package/components/chart/Pie/Sector.js +0 -17
- package/components/chart/Pie/Sectors.js +0 -10
- package/components/chart/Pie/index.js +4 -36
- package/components/chart/Pie-v2/Circle.js +0 -1
- package/components/chart/Pie-v2/Sector.js +0 -13
- package/components/chart/Pie-v2/Sectors.js +0 -20
- package/components/chart/Pie-v2/index.js +11 -38
- package/components/chart/bar/Axis.js +0 -12
- package/components/chart/bar/Bar.js +13 -35
- package/components/chart/bar/Grid.js +0 -18
- package/components/chart/bar/Labels.js +0 -18
- package/components/chart/bar/Points.js +0 -17
- package/components/chart/bar/index.js +6 -26
- package/components/chart/bar-v2/Axis.js +0 -12
- package/components/chart/bar-v2/Bar.js +15 -36
- package/components/chart/bar-v2/Grid.js +0 -18
- package/components/chart/bar-v2/Labels.js +0 -18
- package/components/chart/bar-v2/Points.js +0 -17
- package/components/chart/bar-v2/index.js +6 -26
- package/components/chart/line/Axis.js +4 -16
- package/components/chart/line/Grid.js +2 -19
- package/components/chart/line/Labels.js +0 -18
- package/components/chart/line/Path.js +23 -33
- package/components/chart/line/Point.js +6 -40
- package/components/chart/line/Title.js +0 -3
- package/components/chart/line/index.js +12 -35
- package/components/chart/line-v2/Axis.js +0 -13
- package/components/chart/line-v2/Grid.js +0 -18
- package/components/chart/line-v2/Labels.js +0 -18
- package/components/chart/line-v2/Path.js +23 -33
- package/components/chart/line-v2/Point.js +6 -35
- package/components/chart/line-v2/Title.js +0 -3
- package/components/chart/line-v2/index.js +12 -30
- package/components/check-text/index.js +0 -8
- package/components/check-text/interview-confirmation.js +0 -7
- package/components/check-text/interview-status.js +0 -7
- package/components/chip/attach.js +4 -17
- package/components/chip/index.js +6 -33
- package/components/collapse/index.js +0 -13
- package/components/divider/index.js +0 -8
- package/components/form-control/attachment/index.js +24 -202
- package/components/form-control/calendar/function.js +40 -94
- package/components/form-control/calendar/index.js +5 -30
- package/components/form-control/calendar/range.js +11 -28
- package/components/form-control/checkbox/index.js +4 -37
- package/components/form-control/control/index.js +3 -13
- package/components/form-control/date-picker/index-old.js +18 -0
- package/components/form-control/date-picker/index.js +23 -99
- package/components/form-control/date-range-picker/index.js +86 -221
- package/components/form-control/dropdown/index.js +72 -289
- package/components/form-control/dropdown-box/index.js +6 -35
- package/components/form-control/form/index.js +0 -2
- package/components/form-control/form-group/index.js +1 -6
- package/components/form-control/helper-text/index.js +2 -9
- package/components/form-control/input-base/index.js +218 -399
- package/components/form-control/label/index.js +2 -12
- package/components/form-control/money-input/index.js +43 -132
- package/components/form-control/number-input/index.js +15 -113
- package/components/form-control/number-input/index2.js +78 -119
- package/components/form-control/phone-input/index.js +16 -78
- package/components/form-control/radio/index.js +4 -23
- package/components/form-control/text-input/index.js +33 -256
- package/components/form-control/time-picker/index.js +14 -71
- package/components/form-control/time-picker/swiper.js +21 -73
- package/components/form-control/toggle/index.js +4 -19
- package/components/form-view/helper-text.js +2 -2
- package/components/form-view/index.js +0 -14
- package/components/form-view/input.js +2 -13
- package/components/form-view/label.js +0 -2
- package/components/grid/Col.js +2 -15
- package/components/grid/Container.js +2 -21
- package/components/grid/Row.js +2 -21
- package/components/grid/index.js +2 -43
- package/components/image/index.js +2 -22
- package/components/index.js +62 -31
- package/components/list/list-item-action.js +0 -9
- package/components/list/list-item-icon.js +0 -9
- package/components/list/list-item-text.js +0 -5
- package/components/list/list-item.js +0 -11
- package/components/list/list.js +0 -13
- package/components/list/sub-header.js +0 -4
- package/components/modal/body.js +2 -6
- package/components/modal/footer.js +2 -11
- package/components/modal/header.js +2 -12
- package/components/modal/index.js +2 -10
- package/components/modal/modal.js +11 -52
- package/components/others/extra/index.js +3 -10
- package/components/others/import/index.js +0 -7
- package/components/others/option-wrapper/index.js +4 -7
- package/components/others/scrollbar/index.js +0 -3
- package/components/paging/page-info.js +39 -101
- package/components/paging/page-selector.js +7 -35
- package/components/paging/page-selector2.js +35 -74
- package/components/paper/index.js +0 -11
- package/components/popover/body.js +2 -6
- package/components/popover/footer.js +2 -11
- package/components/popover/header.js +2 -7
- package/components/popover/index.js +39 -123
- package/components/popup/danger_popup.js +0 -19
- package/components/popup/index.js +2 -48
- package/components/popup/proposals_popup.js +10 -49
- package/components/popup/v2/index.js +0 -31
- package/components/progress/circular.js +19 -81
- package/components/progress/linear.js +4 -20
- package/components/rating/index.js +0 -24
- package/components/slider/slider-container.js +3 -40
- package/components/slider/slider-item.js +10 -25
- package/components/status/index.js +2 -16
- package/components/tab/tab-container.js +2 -16
- package/components/tab/tab-header.js +4 -24
- package/components/tab/tab-panel.js +4 -16
- package/components/tab/tab.js +4 -28
- package/components/tooltip/index.js +12 -97
- package/components/tooltip/portal.js +0 -2
- package/components/transfer/index.js +22 -67
- package/components/tree-view/index.js +62 -202
- package/components/typography/index.js +3 -31
- package/global/index.js +0 -8
- package/icons/basic.js +0 -48
- package/icons/effect.js +17 -29
- package/icons/general/clock/clock.js +0 -2
- package/icons/general/color-handler/background.js +0 -2
- package/icons/general/color-handler/text.js +0 -2
- package/icons/general/emoji/emoji.js +0 -2
- package/icons/general/font-properties/bold.js +0 -2
- package/icons/general/font-properties/font-family.js +0 -2
- package/icons/general/font-properties/font-size.js +0 -2
- package/icons/general/font-properties/italic.js +0 -2
- package/icons/general/font-properties/underline.js +0 -2
- package/icons/general/hyperlink/hyperlink.js +0 -2
- package/icons/general/indent/decrease.js +0 -2
- package/icons/general/indent/increase.js +0 -2
- package/icons/general/list/bullets.js +0 -2
- package/icons/general/list/numbering.js +0 -2
- package/icons/general/picture/picture.js +0 -2
- package/icons/general/steps/redo.js +0 -2
- package/icons/general/steps/undo.js +0 -2
- package/icons/general/text-align/center.js +0 -2
- package/icons/general/text-align/justify.js +0 -2
- package/icons/general/text-align/left.js +0 -2
- package/icons/general/text-align/right.js +0 -2
- package/icons/menu/dhr.js +2 -1
- package/icons/menu/index.js +2 -2
- package/icons/menu/v2/index.js +0 -10
- package/package.json +1 -1
- package/readme.md +11 -1
- package/styles/animation.js +15 -58
- package/styles/color-helper.js +24 -54
- package/styles/colors.js +17 -9
- package/styles/general.js +6 -2
- package/styles/typography.js +4 -4
- package/styles/utils.js +2 -2
- package/theme/createBreakpoints.js +7 -18
- package/theme/make-styles.js +2 -5
- package/theme/set-theme.js +3 -6
- package/theme/settings.js +3 -2
- package/theme/theme-provider.js +0 -1
- package/utils/array/array.js +14 -23
- package/utils/classNames.js +0 -5
- package/utils/console.js +0 -6
- package/utils/date.js +13 -82
- package/utils/error/error.js +1 -9
- package/utils/error/errors.js +1 -48
- package/utils/getFileType.js +0 -9
- package/utils/handleBreakpoints.js +0 -5
- package/utils/intersectionObserver.js +0 -5
- package/utils/iterator.js +0 -9
- package/utils/map-parent.js +3 -10
- package/utils/object/extend.js +0 -10
- package/utils/object/object.js +12 -11
- package/utils/parseHTML.js +0 -1
- package/utils/promisify.js +0 -5
- package/utils/randomString.js +0 -7
- package/utils/remove-unicode.js +0 -1
- package/utils/render-portal.js +1 -9
- package/utils/renderHTML.js +4 -6
- package/utils/renderIcon.js +4 -14
- package/utils/sb-template.js +6 -5
- package/utils/string/capitalize.js +0 -1
- package/utils/string/capitalizeSentenceCase.js +0 -2
- package/utils/string/string.js +0 -13
- package/utils/type.js +0 -21
- package/utils/updatePosition.js +4 -5
- package/utils/useDelayUnmount.js +0 -4
- package/utils/useElementSize.js +9 -3
- package/utils/useEventListener.js +12 -6
- package/utils/useInput.js +0 -6
- package/utils/useMediaQuery.js +8 -10
- package/utils/useOnClickOutside.js +0 -2
- package/utils/usePortal.js +3 -10
- package/utils/validate.js +6 -20
|
@@ -1,32 +1,27 @@
|
|
|
1
1
|
/** @jsxRuntime classic */
|
|
2
|
-
|
|
3
2
|
/** @jsx jsx */
|
|
4
3
|
import PropTypes from 'prop-types';
|
|
5
4
|
import { jsx } from '@emotion/core';
|
|
6
5
|
import Grid from '.';
|
|
7
6
|
import { classNames } from '../../utils';
|
|
8
|
-
|
|
9
7
|
const checkChildren = children => {
|
|
10
8
|
if (!children) return false;
|
|
11
|
-
|
|
12
9
|
if (Array.isArray(children)) {
|
|
13
10
|
return !children.every(v => v === false);
|
|
14
11
|
}
|
|
15
|
-
|
|
16
12
|
return true;
|
|
17
13
|
};
|
|
18
|
-
|
|
19
14
|
const Container = props => {
|
|
20
15
|
const {
|
|
21
16
|
className,
|
|
22
17
|
children
|
|
23
18
|
} = props;
|
|
24
|
-
return checkChildren(children) ? jsx(Grid, {
|
|
19
|
+
return checkChildren(children) ? jsx(Grid, {
|
|
20
|
+
...props,
|
|
25
21
|
className: classNames('DGN-UI-Container', className),
|
|
26
22
|
container: true
|
|
27
23
|
}) : null;
|
|
28
24
|
};
|
|
29
|
-
|
|
30
25
|
Container.defaultProps = {
|
|
31
26
|
className: '',
|
|
32
27
|
columns: 12,
|
|
@@ -65,46 +60,32 @@ Container.defaultProps = {
|
|
|
65
60
|
Container.propTypes = {
|
|
66
61
|
/** The content of the component. */
|
|
67
62
|
children: PropTypes.node,
|
|
68
|
-
|
|
69
63
|
/** Class for component. */
|
|
70
64
|
className: PropTypes.string,
|
|
71
|
-
|
|
72
65
|
/** The number of columns. */
|
|
73
66
|
columns: PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.number), PropTypes.number, PropTypes.object]),
|
|
74
|
-
|
|
75
67
|
/** Defines the horizontal space between the type `Col` components. It overrides the value of the `spacing` prop. */
|
|
76
68
|
columnSpacing: PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.number, PropTypes.string])), PropTypes.number, PropTypes.object, PropTypes.string]),
|
|
77
|
-
|
|
78
69
|
/** Defines the `flex-direction` style property. It is applied for all screen sizes. */
|
|
79
70
|
direction: PropTypes.oneOfType([PropTypes.oneOf(['column-reverse', 'column', 'row-reverse', 'row']), PropTypes.arrayOf(PropTypes.oneOf(['column-reverse', 'column', 'row-reverse', 'row'])), PropTypes.object]),
|
|
80
|
-
|
|
81
71
|
/** If a number, it sets the number of columns the grid item uses. It can't be greater than the total number of columns of the container (12 by default). If 'auto', the grid item's width matches its content. If false, the prop is ignored. If true, the grid item's width grows to use the space available in the grid container. The value is applied for the `lg` breakpoint and wider screens if not overridden. */
|
|
82
72
|
lg: PropTypes.oneOfType([PropTypes.oneOf(['auto']), PropTypes.number, PropTypes.bool]),
|
|
83
|
-
|
|
84
73
|
/** If a number, it sets the number of columns the grid item uses. It can't be greater than the total number of columns of the container (12 by default). If 'auto', the grid item's width matches its content. If false, the prop is ignored. If true, the grid item's width grows to use the space available in the grid container. The value is applied for the `md` breakpoint and wider screens if not overridden. */
|
|
85
74
|
md: PropTypes.oneOfType([PropTypes.oneOf(['auto']), PropTypes.number, PropTypes.bool]),
|
|
86
|
-
|
|
87
75
|
/** Defines the vertical space between the type `Col` components. It overrides the value of the `spacing` prop. */
|
|
88
76
|
rowSpacing: PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.number, PropTypes.string])), PropTypes.number, PropTypes.object, PropTypes.string]),
|
|
89
|
-
|
|
90
77
|
/** If a number, it sets the number of columns the grid item uses. It can't be greater than the total number of columns of the container (12 by default). If 'auto', the grid item's width matches its content. If false, the prop is ignored. If true, the grid item's width grows to use the space available in the grid container. The value is applied for the `sm` breakpoint and wider screens if not overridden. */
|
|
91
78
|
sm: PropTypes.oneOfType([PropTypes.oneOf(['auto']), PropTypes.number, PropTypes.bool]),
|
|
92
|
-
|
|
93
79
|
/** Defines the space between the type `Col` components */
|
|
94
80
|
spacing: PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.number, PropTypes.string])), PropTypes.number, PropTypes.object, PropTypes.string]),
|
|
95
|
-
|
|
96
81
|
/** Style inline of component. */
|
|
97
82
|
style: PropTypes.object,
|
|
98
|
-
|
|
99
83
|
/** Defines the flex-wrap style property. It's applied for all screen sizes. */
|
|
100
84
|
wrap: PropTypes.oneOf(['nowrap', 'wrap-reverse', 'wrap']),
|
|
101
|
-
|
|
102
85
|
/** If a number, it sets the number of columns the grid item uses. It can't be greater than the total number of columns of the container (12 by default). If 'auto', the grid item's width matches its content. If false, the prop is ignored. If true, the grid item's width grows to use the space available in the grid container. The value is applied for the `xl` breakpoint and wider screens if not overridden. */
|
|
103
86
|
xl: PropTypes.oneOfType([PropTypes.oneOf(['auto']), PropTypes.number, PropTypes.bool]),
|
|
104
|
-
|
|
105
87
|
/** If a number, it sets the number of columns the grid item uses. It can't be greater than the total number of columns of the container (12 by default). If 'auto', the grid item's width matches its content. If false, the prop is ignored. If true, the grid item's width grows to use the space available in the grid container. The value is applied for all the screen sizes with the lowest priority. */
|
|
106
88
|
xs: PropTypes.oneOfType([PropTypes.oneOf(['auto']), PropTypes.number, PropTypes.bool]),
|
|
107
|
-
|
|
108
89
|
/** If `true`, it sets `min-width: 0` on the item. Refer to the limitations section of the documentation to better understand the use case. */
|
|
109
90
|
zeroMinWidth: PropTypes.bool
|
|
110
91
|
};
|
package/components/grid/Row.js
CHANGED
|
@@ -1,32 +1,27 @@
|
|
|
1
1
|
/** @jsxRuntime classic */
|
|
2
|
-
|
|
3
2
|
/** @jsx jsx */
|
|
4
3
|
import PropTypes from 'prop-types';
|
|
5
4
|
import { jsx } from '@emotion/core';
|
|
6
5
|
import Grid from '.';
|
|
7
6
|
import { classNames } from '../../utils';
|
|
8
|
-
|
|
9
7
|
const checkChildren = children => {
|
|
10
8
|
if (!children) return false;
|
|
11
|
-
|
|
12
9
|
if (Array.isArray(children)) {
|
|
13
10
|
return !children.every(v => v === false);
|
|
14
11
|
}
|
|
15
|
-
|
|
16
12
|
return true;
|
|
17
13
|
};
|
|
18
|
-
|
|
19
14
|
const Row = props => {
|
|
20
15
|
const {
|
|
21
16
|
className,
|
|
22
17
|
children
|
|
23
18
|
} = props;
|
|
24
|
-
return checkChildren(children) ? jsx(Grid, {
|
|
19
|
+
return checkChildren(children) ? jsx(Grid, {
|
|
20
|
+
...props,
|
|
25
21
|
className: classNames('DGN-UI-Row', className),
|
|
26
22
|
container: true
|
|
27
23
|
}) : null;
|
|
28
24
|
};
|
|
29
|
-
|
|
30
25
|
Row.defaultProps = {
|
|
31
26
|
className: '',
|
|
32
27
|
columns: 12,
|
|
@@ -58,46 +53,32 @@ Row.defaultProps = {
|
|
|
58
53
|
Row.propTypes = {
|
|
59
54
|
/** The content of the component. */
|
|
60
55
|
children: PropTypes.node,
|
|
61
|
-
|
|
62
56
|
/** Class for component. */
|
|
63
57
|
className: PropTypes.string,
|
|
64
|
-
|
|
65
58
|
/** The number of columns. */
|
|
66
59
|
columns: PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.number), PropTypes.number, PropTypes.object]),
|
|
67
|
-
|
|
68
60
|
/** Defines the horizontal space between the type `Col` components. It overrides the value of the `spacing` prop. */
|
|
69
61
|
columnSpacing: PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.number, PropTypes.string])), PropTypes.number, PropTypes.object, PropTypes.string]),
|
|
70
|
-
|
|
71
62
|
/** Defines the `flex-direction` style property. It is applied for all screen sizes. */
|
|
72
63
|
direction: PropTypes.oneOfType([PropTypes.oneOf(['column-reverse', 'column', 'row-reverse', 'row']), PropTypes.arrayOf(PropTypes.oneOf(['column-reverse', 'column', 'row-reverse', 'row'])), PropTypes.object]),
|
|
73
|
-
|
|
74
64
|
/** If a number, it sets the number of columns the grid item uses. It can't be greater than the total number of columns of the container (12 by default). If 'auto', the grid item's width matches its content. If false, the prop is ignored. If true, the grid item's width grows to use the space available in the grid container. The value is applied for the `lg` breakpoint and wider screens if not overridden. */
|
|
75
65
|
lg: PropTypes.oneOfType([PropTypes.oneOf(['auto']), PropTypes.number, PropTypes.bool]),
|
|
76
|
-
|
|
77
66
|
/** If a number, it sets the number of columns the grid item uses. It can't be greater than the total number of columns of the container (12 by default). If 'auto', the grid item's width matches its content. If false, the prop is ignored. If true, the grid item's width grows to use the space available in the grid container. The value is applied for the `md` breakpoint and wider screens if not overridden. */
|
|
78
67
|
md: PropTypes.oneOfType([PropTypes.oneOf(['auto']), PropTypes.number, PropTypes.bool]),
|
|
79
|
-
|
|
80
68
|
/** Defines the vertical space between the type `Col` components. It overrides the value of the `spacing` prop. */
|
|
81
69
|
rowSpacing: PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.number, PropTypes.string])), PropTypes.number, PropTypes.object, PropTypes.string]),
|
|
82
|
-
|
|
83
70
|
/** If a number, it sets the number of columns the grid item uses. It can't be greater than the total number of columns of the container (12 by default). If 'auto', the grid item's width matches its content. If false, the prop is ignored. If true, the grid item's width grows to use the space available in the grid container. The value is applied for the `sm` breakpoint and wider screens if not overridden. */
|
|
84
71
|
sm: PropTypes.oneOfType([PropTypes.oneOf(['auto']), PropTypes.number, PropTypes.bool]),
|
|
85
|
-
|
|
86
72
|
/** Defines the space between the type `Col` components */
|
|
87
73
|
spacing: PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.number, PropTypes.string])), PropTypes.number, PropTypes.object, PropTypes.string]),
|
|
88
|
-
|
|
89
74
|
/** Style inline of component. */
|
|
90
75
|
style: PropTypes.object,
|
|
91
|
-
|
|
92
76
|
/** Defines the flex-wrap style property. It's applied for all screen sizes. */
|
|
93
77
|
wrap: PropTypes.oneOf(['nowrap', 'wrap-reverse', 'wrap']),
|
|
94
|
-
|
|
95
78
|
/** If a number, it sets the number of columns the grid item uses. It can't be greater than the total number of columns of the container (12 by default). If 'auto', the grid item's width matches its content. If false, the prop is ignored. If true, the grid item's width grows to use the space available in the grid container. The value is applied for the `xl` breakpoint and wider screens if not overridden. */
|
|
96
79
|
xl: PropTypes.oneOfType([PropTypes.oneOf(['auto']), PropTypes.number, PropTypes.bool]),
|
|
97
|
-
|
|
98
80
|
/** If a number, it sets the number of columns the grid item uses. It can't be greater than the total number of columns of the container (12 by default). If 'auto', the grid item's width matches its content. If false, the prop is ignored. If true, the grid item's width grows to use the space available in the grid container. The value is applied for all the screen sizes with the lowest priority. */
|
|
99
81
|
xs: PropTypes.oneOfType([PropTypes.oneOf(['auto']), PropTypes.number, PropTypes.bool]),
|
|
100
|
-
|
|
101
82
|
/** If `true`, it sets `min-width: 0` on the item. Refer to the limitations section of the documentation to better understand the use case. */
|
|
102
83
|
zeroMinWidth: PropTypes.bool
|
|
103
84
|
};
|
package/components/grid/index.js
CHANGED
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
/** @jsxRuntime classic */
|
|
2
|
-
|
|
3
2
|
/** @jsx jsx */
|
|
4
3
|
import { memo, useContext, useRef, useMemo, forwardRef, useImperativeHandle } from 'react';
|
|
5
4
|
import PropTypes from 'prop-types';
|
|
@@ -43,21 +42,16 @@ const Grid = /*#__PURE__*/memo( /*#__PURE__*/forwardRef(({
|
|
|
43
42
|
const topSpacing = topSpacingProp !== null && topSpacingProp !== void 0 ? topSpacingProp : rowSpacing;
|
|
44
43
|
const leftSpacing = leftSpacingProp !== null && leftSpacingProp !== void 0 ? leftSpacingProp : columnSpacing;
|
|
45
44
|
const ref = useRef(null);
|
|
46
|
-
|
|
47
45
|
const _GridCSS = GridCSS(direction, zeroMinWidth, container, item, wrap);
|
|
48
|
-
|
|
49
46
|
const _GridSpacingCSS = GridSpacingCSS(rowSpacing, columnSpacing, topSpacing, leftSpacing);
|
|
50
|
-
|
|
51
47
|
const _HandleGridCSS = HandleGridCSS([xs, sm, md, lg, xl], columns);
|
|
52
|
-
|
|
53
48
|
useImperativeHandle(reference, () => {
|
|
54
49
|
const currentRef = ref.current || {};
|
|
55
50
|
currentRef.element = ref.current;
|
|
56
|
-
const _instance = {
|
|
51
|
+
const _instance = {
|
|
52
|
+
...action
|
|
57
53
|
}; // methods
|
|
58
|
-
|
|
59
54
|
_instance.__proto__ = {}; // hidden methods
|
|
60
|
-
|
|
61
55
|
currentRef.instance = _instance;
|
|
62
56
|
return currentRef;
|
|
63
57
|
});
|
|
@@ -73,12 +67,10 @@ const Grid = /*#__PURE__*/memo( /*#__PURE__*/forwardRef(({
|
|
|
73
67
|
}, children));
|
|
74
68
|
}, [columns, columnSpacing, leftSpacing, rowSpacing, topSpacing, children, className, container, direction, id, item, lg, md, sm, spacing, style, wrap, xl, xs, zeroMinWidth]);
|
|
75
69
|
}));
|
|
76
|
-
|
|
77
70
|
const getOffset = val => {
|
|
78
71
|
const parse = parseFloat(val);
|
|
79
72
|
return `${parse}${String(val).replace(String(parse), '') || 'px'}`;
|
|
80
73
|
};
|
|
81
|
-
|
|
82
74
|
const processSizeArray = sizeArr => {
|
|
83
75
|
let lastValue = false;
|
|
84
76
|
sizeArr = sizeArr.map(item => {
|
|
@@ -87,10 +79,8 @@ const processSizeArray = sizeArr => {
|
|
|
87
79
|
});
|
|
88
80
|
return sizeArr;
|
|
89
81
|
};
|
|
90
|
-
|
|
91
82
|
const handleGrid = (size, value, columns) => {
|
|
92
83
|
let css = '';
|
|
93
|
-
|
|
94
84
|
if (value === true) {
|
|
95
85
|
css = `
|
|
96
86
|
flex-basis: 0;
|
|
@@ -114,12 +104,10 @@ const handleGrid = (size, value, columns) => {
|
|
|
114
104
|
`;
|
|
115
105
|
});
|
|
116
106
|
}
|
|
117
|
-
|
|
118
107
|
return `${themeBreakpoints.up(size)} {
|
|
119
108
|
${css}
|
|
120
109
|
}`;
|
|
121
110
|
};
|
|
122
|
-
|
|
123
111
|
const GridCSS = (direction, zeroMinWidth, container, item, wrap) => css`
|
|
124
112
|
${borderBox};
|
|
125
113
|
${container && `
|
|
@@ -135,22 +123,18 @@ const GridCSS = (direction, zeroMinWidth, container, item, wrap) => css`
|
|
|
135
123
|
return `flex-direction: ${propValue}`;
|
|
136
124
|
})};
|
|
137
125
|
`;
|
|
138
|
-
|
|
139
126
|
const GridSpacingCSS = (rowSpacing, columnSpacing, topSpacing, leftSpacing) => css`
|
|
140
127
|
${topSpacing && handleBreakpoints(topSpacing, propValue => {
|
|
141
128
|
const spacing = typeof propValue === 'number' ? themeSpacing(propValue) : propValue;
|
|
142
|
-
|
|
143
129
|
if (spacing !== '0px') {
|
|
144
130
|
return `
|
|
145
131
|
margin-top: -${getOffset(spacing)};
|
|
146
132
|
`;
|
|
147
133
|
}
|
|
148
|
-
|
|
149
134
|
return '';
|
|
150
135
|
})};
|
|
151
136
|
${rowSpacing && handleBreakpoints(rowSpacing, propValue => {
|
|
152
137
|
const spacing = typeof propValue === 'number' ? themeSpacing(propValue) : propValue;
|
|
153
|
-
|
|
154
138
|
if (spacing !== '0px') {
|
|
155
139
|
return `
|
|
156
140
|
& > .DGN-UI-Grid-item {
|
|
@@ -158,23 +142,19 @@ const GridSpacingCSS = (rowSpacing, columnSpacing, topSpacing, leftSpacing) => c
|
|
|
158
142
|
}
|
|
159
143
|
`;
|
|
160
144
|
}
|
|
161
|
-
|
|
162
145
|
return '';
|
|
163
146
|
})};
|
|
164
147
|
${leftSpacing && handleBreakpoints(leftSpacing, propValue => {
|
|
165
148
|
const spacing = typeof propValue === 'number' ? themeSpacing(propValue) : propValue;
|
|
166
|
-
|
|
167
149
|
if (spacing !== '0px') {
|
|
168
150
|
return `
|
|
169
151
|
margin-left: -${getOffset(spacing)};
|
|
170
152
|
`;
|
|
171
153
|
}
|
|
172
|
-
|
|
173
154
|
return '';
|
|
174
155
|
})};
|
|
175
156
|
${columnSpacing && handleBreakpoints(columnSpacing, propValue => {
|
|
176
157
|
const spacing = typeof propValue === 'number' ? themeSpacing(propValue) : propValue;
|
|
177
|
-
|
|
178
158
|
if (spacing !== '0px') {
|
|
179
159
|
return `
|
|
180
160
|
width: calc(100% + ${getOffset(spacing)});
|
|
@@ -183,17 +163,14 @@ const GridSpacingCSS = (rowSpacing, columnSpacing, topSpacing, leftSpacing) => c
|
|
|
183
163
|
}
|
|
184
164
|
`;
|
|
185
165
|
}
|
|
186
|
-
|
|
187
166
|
return '';
|
|
188
167
|
})};
|
|
189
168
|
`;
|
|
190
|
-
|
|
191
169
|
const HandleGridCSS = (sizeArr, columns) => css`
|
|
192
170
|
${processSizeArray(sizeArr).map((item, idx) => {
|
|
193
171
|
return handleGrid(breakpointKeys[idx], item, columns);
|
|
194
172
|
})}
|
|
195
173
|
`;
|
|
196
|
-
|
|
197
174
|
Grid.defaultProps = {
|
|
198
175
|
className: '',
|
|
199
176
|
columns: 12,
|
|
@@ -213,58 +190,40 @@ Grid.defaultProps = {
|
|
|
213
190
|
Grid.propTypes = {
|
|
214
191
|
/** The content of the component. */
|
|
215
192
|
children: PropTypes.node,
|
|
216
|
-
|
|
217
193
|
/** Style inline of component. */
|
|
218
194
|
style: PropTypes.object,
|
|
219
|
-
|
|
220
195
|
/** Class for component. */
|
|
221
196
|
className: PropTypes.string,
|
|
222
|
-
|
|
223
197
|
/** The number of columns. */
|
|
224
198
|
columns: PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.number), PropTypes.number, PropTypes.object]),
|
|
225
|
-
|
|
226
199
|
/** Defines the horizontal space between the type `item` components. It overrides the value of the `spacing` prop. */
|
|
227
200
|
columnSpacing: PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.number, PropTypes.string])), PropTypes.number, PropTypes.object, PropTypes.string]),
|
|
228
|
-
|
|
229
201
|
/** If true, the component will have the flex *container* behavior. You should be wrapping *items* with a *container*. */
|
|
230
202
|
container: PropTypes.bool,
|
|
231
|
-
|
|
232
203
|
/** Defines the `flex-direction` style property. It is applied for all screen sizes. */
|
|
233
204
|
direction: PropTypes.oneOfType([PropTypes.oneOf(['column-reverse', 'column', 'row-reverse', 'row']), PropTypes.arrayOf(PropTypes.oneOf(['column-reverse', 'column', 'row-reverse', 'row'])), PropTypes.object]),
|
|
234
|
-
|
|
235
205
|
/** If `true`, the component will have the flex *item* behavior. You should be wrapping *items* with a *container*. */
|
|
236
206
|
item: PropTypes.bool,
|
|
237
|
-
|
|
238
207
|
/** Defines the horizontal space of `container` components. */
|
|
239
208
|
leftSpacing: PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.number, PropTypes.string])), PropTypes.number, PropTypes.object, PropTypes.string]),
|
|
240
|
-
|
|
241
209
|
/** If a number, it sets the number of columns the grid item uses. It can't be greater than the total number of columns of the container (12 by default). If 'auto', the grid item's width matches its content. If false, the prop is ignored. If true, the grid item's width grows to use the space available in the grid container. The value is applied for the `lg` breakpoint and wider screens if not overridden. */
|
|
242
210
|
lg: PropTypes.oneOfType([PropTypes.oneOf(['auto']), PropTypes.number, PropTypes.bool]),
|
|
243
|
-
|
|
244
211
|
/** If a number, it sets the number of columns the grid item uses. It can't be greater than the total number of columns of the container (12 by default). If 'auto', the grid item's width matches its content. If false, the prop is ignored. If true, the grid item's width grows to use the space available in the grid container. The value is applied for the `md` breakpoint and wider screens if not overridden. */
|
|
245
212
|
md: PropTypes.oneOfType([PropTypes.oneOf(['auto']), PropTypes.number, PropTypes.bool]),
|
|
246
|
-
|
|
247
213
|
/** Defines the vertical space between the type `item` components. It overrides the value of the `spacing` prop. */
|
|
248
214
|
rowSpacing: PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.number, PropTypes.string])), PropTypes.number, PropTypes.object, PropTypes.string]),
|
|
249
|
-
|
|
250
215
|
/** If a number, it sets the number of columns the grid item uses. It can't be greater than the total number of columns of the container (12 by default). If 'auto', the grid item's width matches its content. If false, the prop is ignored. If true, the grid item's width grows to use the space available in the grid container. The value is applied for the `sm` breakpoint and wider screens if not overridden. */
|
|
251
216
|
sm: PropTypes.oneOfType([PropTypes.oneOf(['auto']), PropTypes.number, PropTypes.bool]),
|
|
252
|
-
|
|
253
217
|
/** Defines the space between the type `item` components. It can only be used on a type `container` component. */
|
|
254
218
|
spacing: PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.number, PropTypes.string])), PropTypes.number, PropTypes.object, PropTypes.string]),
|
|
255
|
-
|
|
256
219
|
/** Defines the vertical space of `container` components. */
|
|
257
220
|
topSpacing: PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.number, PropTypes.string])), PropTypes.number, PropTypes.object, PropTypes.string]),
|
|
258
|
-
|
|
259
221
|
/** Defines the flex-wrap style property. It's applied for all screen sizes. */
|
|
260
222
|
wrap: PropTypes.oneOf(['nowrap', 'wrap-reverse', 'wrap']),
|
|
261
|
-
|
|
262
223
|
/** If a number, it sets the number of columns the grid item uses. It can't be greater than the total number of columns of the container (12 by default). If 'auto', the grid item's width matches its content. If false, the prop is ignored. If true, the grid item's width grows to use the space available in the grid container. The value is applied for the `xl` breakpoint and wider screens if not overridden. */
|
|
263
224
|
xl: PropTypes.oneOfType([PropTypes.oneOf(['auto']), PropTypes.number, PropTypes.bool]),
|
|
264
|
-
|
|
265
225
|
/** If a number, it sets the number of columns the grid item uses. It can't be greater than the total number of columns of the container (12 by default). If 'auto', the grid item's width matches its content. If false, the prop is ignored. If true, the grid item's width grows to use the space available in the grid container. The value is applied for all the screen sizes with the lowest priority. */
|
|
266
226
|
xs: PropTypes.oneOfType([PropTypes.oneOf(['auto']), PropTypes.number, PropTypes.bool]),
|
|
267
|
-
|
|
268
227
|
/** If `true`, it sets `min-width: 0` on the item. Refer to the limitations section of the documentation to better understand the use case. */
|
|
269
228
|
zeroMinWidth: PropTypes.bool
|
|
270
229
|
};
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
/** @jsxRuntime classic */
|
|
2
|
-
|
|
3
2
|
/** @jsx jsx */
|
|
4
3
|
import { forwardRef, Fragment, memo, useEffect, useImperativeHandle, useMemo, useRef, useState } from 'react';
|
|
5
4
|
import PropTypes from 'prop-types';
|
|
@@ -38,21 +37,17 @@ const Image = /*#__PURE__*/memo( /*#__PURE__*/forwardRef(({
|
|
|
38
37
|
useIntersection(ref, () => {
|
|
39
38
|
setIsInView(true);
|
|
40
39
|
});
|
|
41
|
-
|
|
42
40
|
const _ImageCSS = ImageCSS(width, height, circular);
|
|
43
|
-
|
|
44
41
|
useEffect(() => {
|
|
45
42
|
if (src) {
|
|
46
43
|
if (isInView || !lazyLoading) {
|
|
47
44
|
const img = document.createElement('img');
|
|
48
45
|
img.src = src;
|
|
49
46
|
img.alt = '';
|
|
50
|
-
|
|
51
47
|
img.onerror = () => {
|
|
52
48
|
setSrcState(defaultSrc);
|
|
53
49
|
onError === null || onError === void 0 ? void 0 : onError();
|
|
54
50
|
};
|
|
55
|
-
|
|
56
51
|
img.onload = () => {
|
|
57
52
|
setSrcState(src);
|
|
58
53
|
};
|
|
@@ -62,15 +57,13 @@ const Image = /*#__PURE__*/memo( /*#__PURE__*/forwardRef(({
|
|
|
62
57
|
useImperativeHandle(reference, () => {
|
|
63
58
|
const currentRef = ref.current || {};
|
|
64
59
|
currentRef.element = ref.current;
|
|
65
|
-
const _instance = {
|
|
60
|
+
const _instance = {
|
|
61
|
+
...action
|
|
66
62
|
}; // methods
|
|
67
|
-
|
|
68
63
|
_instance.__proto__ = {}; // hidden methods
|
|
69
|
-
|
|
70
64
|
currentRef.instance = _instance;
|
|
71
65
|
return currentRef;
|
|
72
66
|
});
|
|
73
|
-
|
|
74
67
|
const renderImage = () => {
|
|
75
68
|
const defaultImage = jsx("img", {
|
|
76
69
|
src: defaultSrc,
|
|
@@ -92,12 +85,10 @@ const Image = /*#__PURE__*/memo( /*#__PURE__*/forwardRef(({
|
|
|
92
85
|
width: width,
|
|
93
86
|
height: height
|
|
94
87
|
}));
|
|
95
|
-
|
|
96
88
|
if (lazyLoading) {
|
|
97
89
|
return isInView ? image : defaultImage;
|
|
98
90
|
} else return image;
|
|
99
91
|
};
|
|
100
|
-
|
|
101
92
|
return useMemo(() => {
|
|
102
93
|
return jsx("div", {
|
|
103
94
|
ref: ref,
|
|
@@ -108,7 +99,6 @@ const Image = /*#__PURE__*/memo( /*#__PURE__*/forwardRef(({
|
|
|
108
99
|
}, renderImage());
|
|
109
100
|
}, [alt, circular, className, defaultSrc, height, id, lazyLoading, src, style, width, isInView, onLoaded, srcState]);
|
|
110
101
|
}));
|
|
111
|
-
|
|
112
102
|
const ImageCSS = (width, height, circular) => css`
|
|
113
103
|
${inlineFlex};
|
|
114
104
|
${positionRelative};
|
|
@@ -117,7 +107,6 @@ const ImageCSS = (width, height, circular) => css`
|
|
|
117
107
|
${parseWidthHeight(width, height)};
|
|
118
108
|
${circular && `border-radius: 50%`};
|
|
119
109
|
`;
|
|
120
|
-
|
|
121
110
|
const blurAnimationCSS = css`
|
|
122
111
|
animation: ${blurKeyframe} 1s ease;
|
|
123
112
|
`;
|
|
@@ -132,31 +121,22 @@ Image.defaultProps = {
|
|
|
132
121
|
Image.propTypes = {
|
|
133
122
|
/** Image description. */
|
|
134
123
|
alt: PropTypes.string,
|
|
135
|
-
|
|
136
124
|
/** If `true`, image is circular.*/
|
|
137
125
|
circular: PropTypes.bool,
|
|
138
|
-
|
|
139
126
|
/** Class for component. */
|
|
140
127
|
className: PropTypes.string,
|
|
141
|
-
|
|
142
128
|
/** Default img when src error. */
|
|
143
129
|
defaultSrc: PropTypes.string,
|
|
144
|
-
|
|
145
130
|
/** Height of component. */
|
|
146
131
|
height: PropTypes.oneOfType([PropTypes.number, PropTypes.string]),
|
|
147
|
-
|
|
148
132
|
/** If `true`, lazy loading image.*/
|
|
149
133
|
lazyLoading: PropTypes.bool,
|
|
150
|
-
|
|
151
134
|
/** Callback fired when the src is error. */
|
|
152
135
|
onError: PropTypes.func,
|
|
153
|
-
|
|
154
136
|
/** Image path. */
|
|
155
137
|
src: PropTypes.string,
|
|
156
|
-
|
|
157
138
|
/** Style inline of component. */
|
|
158
139
|
style: PropTypes.object,
|
|
159
|
-
|
|
160
140
|
/** Width of component. */
|
|
161
141
|
width: PropTypes.oneOfType([PropTypes.number, PropTypes.string])
|
|
162
142
|
};
|
package/components/index.js
CHANGED
|
@@ -1,47 +1,62 @@
|
|
|
1
|
-
import * as components from '.';
|
|
1
|
+
import * as components from '.';
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
//TOOLTIP
|
|
4
|
+
export { default as Tooltip } from './tooltip/index';
|
|
4
5
|
|
|
5
|
-
|
|
6
|
+
//TEXT
|
|
7
|
+
export { default as Typography } from './typography';
|
|
6
8
|
|
|
9
|
+
// PROGRESS
|
|
7
10
|
export { default as CircularProgress } from './progress/circular';
|
|
8
|
-
export { default as LinearProgress } from './progress/linear';
|
|
11
|
+
export { default as LinearProgress } from './progress/linear';
|
|
9
12
|
|
|
13
|
+
// ACCORDION
|
|
10
14
|
export { default as Accordion } from './accordion';
|
|
11
15
|
export { default as AccordionSummary } from './accordion/summary';
|
|
12
16
|
export { default as AccordionDetails } from './accordion/details';
|
|
13
|
-
export { default as AccordionGroup } from './accordion/group';
|
|
17
|
+
export { default as AccordionGroup } from './accordion/group';
|
|
14
18
|
|
|
19
|
+
// ALERT
|
|
15
20
|
export { default as Alert } from './alert';
|
|
16
|
-
export { default as Notify } from './alert/notify';
|
|
21
|
+
export { default as Notify } from './alert/notify';
|
|
17
22
|
|
|
18
|
-
|
|
23
|
+
// AVATAR
|
|
24
|
+
export { default as Avatar } from './avatar';
|
|
19
25
|
|
|
20
|
-
|
|
26
|
+
// BADGE
|
|
27
|
+
export { default as Badge } from './badge';
|
|
21
28
|
|
|
29
|
+
// BUTTON
|
|
22
30
|
export { default as Button } from './button';
|
|
23
|
-
export { default as ButtonIcon } from './button/icon';
|
|
31
|
+
export { default as ButtonIcon } from './button/icon';
|
|
24
32
|
|
|
33
|
+
// CARD
|
|
25
34
|
export { default as Card } from './card';
|
|
26
35
|
export { default as CardHeader } from './card/header';
|
|
27
36
|
export { default as CardBody } from './card/body';
|
|
28
37
|
export { default as CardFooter } from './card/footer';
|
|
29
|
-
export { default as CardExtra } from './card/extra';
|
|
38
|
+
export { default as CardExtra } from './card/extra';
|
|
30
39
|
|
|
40
|
+
// CHART
|
|
31
41
|
export { default as PieChart } from './chart/Pie';
|
|
32
42
|
export { default as ColumnChart } from './chart/bar';
|
|
33
|
-
export { default as LineChart } from './chart/line';
|
|
43
|
+
export { default as LineChart } from './chart/line';
|
|
34
44
|
|
|
45
|
+
// CHECK-TEXT
|
|
35
46
|
export { default as CheckTextConfirmation } from './check-text/interview-confirmation';
|
|
36
|
-
export { default as CheckTextStatus } from './check-text/interview-status';
|
|
47
|
+
export { default as CheckTextStatus } from './check-text/interview-status';
|
|
37
48
|
|
|
49
|
+
// CHIP
|
|
38
50
|
export { default as Chip } from './chip';
|
|
39
|
-
export { default as AttachChip } from './chip/attach';
|
|
51
|
+
export { default as AttachChip } from './chip/attach';
|
|
40
52
|
|
|
41
|
-
|
|
53
|
+
// COLLAPSE
|
|
54
|
+
export { default as Collapse } from './collapse';
|
|
42
55
|
|
|
43
|
-
|
|
56
|
+
// DIVIDER
|
|
57
|
+
export { default as Divider } from './divider';
|
|
44
58
|
|
|
59
|
+
// FORM CONTROL
|
|
45
60
|
export { default as Attachment } from './form-control/attachment';
|
|
46
61
|
export { default as Checkbox } from './form-control/checkbox';
|
|
47
62
|
export { default as DatePicker } from './form-control/date-picker';
|
|
@@ -57,60 +72,76 @@ export { default as HelperText } from './form-control/helper-text';
|
|
|
57
72
|
export { default as TextInput } from './form-control/text-input';
|
|
58
73
|
export { default as MoneyInput } from './form-control/money-input';
|
|
59
74
|
export { default as NumberInput } from './form-control/number-input/index2';
|
|
60
|
-
export { default as Toggle } from './form-control/toggle';
|
|
75
|
+
export { default as Toggle } from './form-control/toggle';
|
|
61
76
|
|
|
77
|
+
// Grid
|
|
62
78
|
export { default as Grid } from './grid';
|
|
63
79
|
export { default as Row } from './grid/Row';
|
|
64
80
|
export { default as Col } from './grid/Col';
|
|
65
|
-
export { default as Container } from './grid/Container';
|
|
81
|
+
export { default as Container } from './grid/Container';
|
|
66
82
|
|
|
67
|
-
|
|
83
|
+
//Icon
|
|
84
|
+
export { default as Icon } from '../icons/index';
|
|
68
85
|
|
|
69
|
-
|
|
86
|
+
//Image
|
|
87
|
+
export { default as Image } from './image';
|
|
70
88
|
|
|
89
|
+
// List
|
|
71
90
|
export { default as List } from './list/list';
|
|
72
91
|
export { default as ListItem } from './list/list-item';
|
|
73
92
|
export { default as ListItemIcon } from './list/list-item-icon';
|
|
74
93
|
export { default as ListItemText } from './list/list-item-text';
|
|
75
|
-
export { default as ListItemAction } from './list/list-item-action';
|
|
94
|
+
export { default as ListItemAction } from './list/list-item-action';
|
|
76
95
|
|
|
96
|
+
// MODAL
|
|
77
97
|
export { default as ModalSample } from './modal';
|
|
78
98
|
export { default as Modal } from './modal/modal';
|
|
79
99
|
export { default as ModalHeader } from './modal/header';
|
|
80
100
|
export { default as ModalBody } from './modal/body';
|
|
81
|
-
export { default as ModalFooter } from './modal/footer';
|
|
101
|
+
export { default as ModalFooter } from './modal/footer';
|
|
82
102
|
|
|
103
|
+
// PAGING
|
|
83
104
|
export { default as PagingInfo } from './paging/page-info';
|
|
84
|
-
export { default as PagingSelector } from './paging/page-selector2';
|
|
105
|
+
export { default as PagingSelector } from './paging/page-selector2';
|
|
85
106
|
|
|
86
|
-
|
|
107
|
+
// PAPER
|
|
108
|
+
export { default as Paper } from './paper';
|
|
87
109
|
|
|
110
|
+
// POPOVER
|
|
88
111
|
export { default as Popover } from './popover';
|
|
89
112
|
export { default as PopoverHeader } from './popover/header';
|
|
90
113
|
export { default as PopoverBody } from './popover/body';
|
|
91
|
-
export { default as PopoverFooter } from './popover/footer';
|
|
114
|
+
export { default as PopoverFooter } from './popover/footer';
|
|
92
115
|
|
|
116
|
+
// POPUP
|
|
93
117
|
export { default as Popup } from './popup';
|
|
94
118
|
export { default as PopupV2 } from './popup/v2';
|
|
95
119
|
export { default as DangerPopup } from './popup/danger_popup';
|
|
96
|
-
export { default as ProposalsPopup } from './popup/proposals_popup';
|
|
120
|
+
export { default as ProposalsPopup } from './popup/proposals_popup';
|
|
97
121
|
|
|
122
|
+
// SLIDER
|
|
98
123
|
export { default as Slider } from './slider/slider-container';
|
|
99
|
-
export { default as SliderItem } from './slider/slider-item';
|
|
124
|
+
export { default as SliderItem } from './slider/slider-item';
|
|
100
125
|
|
|
101
|
-
|
|
126
|
+
// Rating
|
|
127
|
+
export { default as Rating } from './rating';
|
|
102
128
|
|
|
103
|
-
|
|
129
|
+
// STATUS
|
|
130
|
+
export { default as Status } from './status';
|
|
104
131
|
|
|
132
|
+
// TAB
|
|
105
133
|
export { default as TabContainer } from './tab/tab-container';
|
|
106
134
|
export { default as TabHeader } from './tab/tab-header';
|
|
107
135
|
export { default as TabPanel } from './tab/tab-panel';
|
|
108
|
-
export { default as TabItem } from './tab/tab';
|
|
136
|
+
export { default as TabItem } from './tab/tab';
|
|
109
137
|
|
|
110
|
-
|
|
138
|
+
// TREE VIEW
|
|
139
|
+
export { default as Transfer } from './transfer';
|
|
111
140
|
|
|
112
|
-
|
|
141
|
+
// TREE VIEW
|
|
142
|
+
export { default as TreeView } from './tree-view';
|
|
113
143
|
|
|
144
|
+
// OTHERS
|
|
114
145
|
export { default as Extra } from './others/extra';
|
|
115
146
|
export { default as ScrollBar } from './others/scrollbar';
|
|
116
147
|
export default components;
|