diginet-core-ui 1.3.94-beta.9 → 1.3.95-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.
@@ -611,7 +611,7 @@ Popover.propTypes = {
611
611
  /** Width of the component. */
612
612
  width: PropTypes.oneOfType([PropTypes.number, PropTypes.string]),
613
613
  /** Config z-index of the component. */
614
- zIndex: PropTypes.number,
614
+ zIndex: PropTypes.number
615
615
  /**
616
616
  * ref methods (ref.current.instance.*method*)
617
617
  *
@@ -631,7 +631,7 @@ Popover.propTypes = {
631
631
  * * option(options): Updates the values of several properties
632
632
  * * @param {options} - object
633
633
  */
634
- ref: ref
635
634
  };
635
+
636
636
  export { Popover };
637
637
  export default OptionWrapper(Popover);
@@ -10,7 +10,7 @@ import { animations } from "../../../styles/animation";
10
10
  import { hexToRGBA } from "../../../styles/color-helper";
11
11
  import { bgColor, border, borderRadius, borderRadius50, boxBorder, breakWord, cursorPointer, displayBlock, displayFlex, flexCol, flexRow, inset, itemsCenter, justifyCenter, justifyEnd, mg, mgb, mgr, mgt, overflowAuto, overflowHidden, parseHeight, parseMaxWidthHeight, parseMinHeight, parseMinWidth, parseWidth, parseWidthHeight, pd, positionFixed, positionRelative, textColor, textEllipsis, textUnderline, truncate, z } from "../../../styles/general";
12
12
  import { useTheme } from "../../../theme";
13
- import { classNames, refType as ref, useDelayUnmount } from "../../../utils";
13
+ import { classNames, useDelayUnmount } from "../../../utils";
14
14
  const {
15
15
  colors: {
16
16
  system: {
@@ -392,7 +392,7 @@ Popup.propTypes = {
392
392
  /** Width of the component. */
393
393
  width: PropTypes.oneOfType([PropTypes.number, PropTypes.string]),
394
394
  /** Label of confirm button. */
395
- yesText: PropTypes.string,
395
+ yesText: PropTypes.string
396
396
  /**
397
397
  * ref methods
398
398
  *
@@ -407,6 +407,6 @@ Popup.propTypes = {
407
407
  * * Callback fired after click on button (callback(true) with confirm Button and callback(false) with cancel Button). Alternate both onCancel, onConfirm methods of options
408
408
  * * close(): Close popup
409
409
  */
410
- reference: ref
411
410
  };
411
+
412
412
  export default Popup;
@@ -4,7 +4,7 @@ import { css, jsx } from '@emotion/core';
4
4
  import PropTypes from 'prop-types';
5
5
  import React, { forwardRef, memo, useEffect, useImperativeHandle, useMemo, useRef, useState } from 'react';
6
6
  import { displayFlex, flexCol, flexRow, parseWidth, positionRelative, typographyTypes } from "../../styles/general";
7
- import { classNames, randomString, refType as ref } from "../../utils";
7
+ import { classNames, randomString } from "../../utils";
8
8
  import TabContext from "./context";
9
9
  const TabContainer = /*#__PURE__*/memo( /*#__PURE__*/forwardRef(({
10
10
  action = {},
@@ -92,10 +92,10 @@ TabContainer.propTypes = {
92
92
  /** Width of component. */
93
93
  width: PropTypes.oneOfType([PropTypes.number, PropTypes.string]),
94
94
  /** Any props else. */
95
- props: PropTypes.any,
95
+ props: PropTypes.any
96
96
  /**
97
97
  * Ref methods.
98
98
  */
99
- reference: ref
100
99
  };
100
+
101
101
  export default TabContainer;
@@ -5,7 +5,7 @@ import { ButtonIcon } from "./..";
5
5
  import PropTypes from 'prop-types';
6
6
  import React, { forwardRef, memo, useContext, useImperativeHandle, useMemo, useRef, useState } from 'react';
7
7
  import { boxBorder, displayFlex, displayNone, flexCol, flexRow, justifyCenter, mg, overflowHidden, parseMaxWidth, parseWidth, parseWidthHeight, pd, positionRelative, selfCenter, whiteSpaceNoWrap } from "../../styles/general";
8
- import { classNames, refType as ref } from "../../utils";
8
+ import { classNames } from "../../utils";
9
9
  import TabContext from "./context";
10
10
  const TabHeader = /*#__PURE__*/memo( /*#__PURE__*/forwardRef(({
11
11
  action = {},
@@ -141,10 +141,10 @@ TabHeader.propTypes = {
141
141
  /** Width of component. */
142
142
  width: PropTypes.oneOfType([PropTypes.number, PropTypes.string]),
143
143
  /** Any props else. */
144
- props: PropTypes.any,
144
+ props: PropTypes.any
145
145
  /**
146
146
  * Ref methods.
147
147
  */
148
- reference: ref
149
148
  };
149
+
150
150
  export default TabHeader;
@@ -4,7 +4,7 @@ import { css, jsx } from '@emotion/core';
4
4
  import PropTypes from 'prop-types';
5
5
  import { forwardRef, memo, useContext, useEffect, useImperativeHandle, useMemo, useRef, useState } from 'react';
6
6
  import { boxBorder, displayFlex, displayNone, flexCol, parseWidthHeight, pd, positionRelative, textColor } from "../../styles/general";
7
- import { classNames, refType as ref } from "../../utils";
7
+ import { classNames } from "../../utils";
8
8
  import TabContext from "./context";
9
9
  const TabPanel = /*#__PURE__*/memo( /*#__PURE__*/forwardRef(({
10
10
  action = {},
@@ -78,10 +78,10 @@ TabPanel.propTypes = {
78
78
  /** Style inline of component. */
79
79
  style: PropTypes.object,
80
80
  /** Any props else. */
81
- props: PropTypes.any,
81
+ props: PropTypes.any
82
82
  /**
83
83
  * Ref methods.
84
84
  */
85
- reference: ref
86
85
  };
86
+
87
87
  export default TabPanel;
@@ -6,7 +6,7 @@ import Ripple from "../button/ripple-effect";
6
6
  import PropTypes from 'prop-types';
7
7
  import { forwardRef, memo, useContext, useImperativeHandle, useMemo, useRef } from 'react';
8
8
  import { bgColor, bgTransparent, borderRadius, boxBorder, breakWord, cursorDefault, cursorPointer, displayFlex, flexRow, itemsCenter, justifyCenter, justifyStart, mgl, mgr, outlineNone, overflowHidden, parseHeight, parseMaxWidth, parseMaxWidthHeight, parseMinWidth, parseWidth, pd, pointerEventsAuto, pointerEventsNone, positionAbsolute, positionRelative, shadowNone, textCenter, textColor, userSelectNone, whiteSpaceNoWrap } from "../../styles/general";
9
- import { classNames, refType as ref } from "../../utils";
9
+ import { classNames } from "../../utils";
10
10
  import TabContext from "./context";
11
11
  const TabItem = /*#__PURE__*/memo( /*#__PURE__*/forwardRef(({
12
12
  action = {},
@@ -188,10 +188,10 @@ TabItem.propTypes = {
188
188
  /** Style inline of component. */
189
189
  style: PropTypes.object,
190
190
  /** Any props else. */
191
- props: PropTypes.any,
191
+ props: PropTypes.any
192
192
  /**
193
193
  * Ref methods.
194
194
  */
195
- reference: ref
196
195
  };
196
+
197
197
  export default TabItem;
@@ -7,7 +7,7 @@ import PropTypes from 'prop-types';
7
7
  import { forwardRef, Fragment, memo, useEffect, useImperativeHandle, useMemo, useRef, useState } from 'react';
8
8
  import { render } from 'react-dom';
9
9
  import { bgColor, borderRadius, boxBorder, cursorNotAllowed, cursorPointer, displayBlock, displayFlex, displayInlineBlock, flexRow, itemsCenter, mgb, mgl, mgr, parseHeight, parseMinHeight, parseWidth, pd, pdl, positionRelative, textColor, textLeft } from "../../styles/general";
10
- import { classNames, mapParent, randomString, refType as ref, removeUnicode } from "../../utils";
10
+ import { classNames, mapParent, randomString, removeUnicode } from "../../utils";
11
11
  const separatorPattern = /\{\w+\}/g;
12
12
  const currentValue = {},
13
13
  itemsRenderAsync = {};
@@ -976,7 +976,7 @@ TreeView.propTypes = {
976
976
  /** The displayed value of component. */
977
977
  value: PropTypes.oneOfType([PropTypes.array, PropTypes.string]),
978
978
  /** The field name used for the returned result. */
979
- valueExpr: PropTypes.string,
979
+ valueExpr: PropTypes.string
980
980
  /**
981
981
  * get ref of TreeView component, insist:<br/>
982
982
  * {<br/>
@@ -994,6 +994,6 @@ TreeView.propTypes = {
994
994
  * &nbsp;&nbsp;&nbsp;&nbsp;get: get DOM of TreeView component<br/>
995
995
  * }
996
996
  */
997
- ref: ref
998
997
  };
998
+
999
999
  export default TreeView;
package/icons/effect.js CHANGED
@@ -6,7 +6,7 @@ import PropTypes from 'prop-types';
6
6
  import { forwardRef, memo, useImperativeHandle, useMemo, useRef } from 'react';
7
7
  import { border, borderDashed, boxBorder, displayFlex, flexRow, itemsCenter, justifyCenter, outlineNone, parseMinWidthHeight, parseWidthHeight, userSelectNone } from "../styles/general";
8
8
  import { getColor } from "../styles/utils";
9
- import { capitalize, classNames, refType as ref } from "../utils";
9
+ import { capitalize, classNames } from "../utils";
10
10
  import * as Icons from "./basic";
11
11
  const Icon = /*#__PURE__*/memo( /*#__PURE__*/forwardRef(({
12
12
  action = {},
@@ -104,7 +104,7 @@ Icon.propTypes = {
104
104
  /** If `true`, component have view box. */
105
105
  viewBox: PropTypes.bool,
106
106
  /** Width of the component. */
107
- width: PropTypes.oneOfType([PropTypes.string, PropTypes.number]),
107
+ width: PropTypes.oneOfType([PropTypes.string, PropTypes.number])
108
108
  /**
109
109
  * ref methods (ref.current.instance.*method*)
110
110
  *
@@ -119,7 +119,7 @@ Icon.propTypes = {
119
119
  * * option(options): Updates the values of several properties
120
120
  * * @param {options} - object
121
121
  */
122
- ref: ref
123
122
  };
123
+
124
124
  export { Icon };
125
125
  export default OptionWrapper(Icon);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "diginet-core-ui",
3
- "version": "1.3.94-beta.9",
3
+ "version": "1.3.95-beta.1",
4
4
  "description": "",
5
5
  "main": "index.js",
6
6
  "license": "UNLICENSED",
package/readme.md CHANGED
@@ -38,12 +38,20 @@ npm test
38
38
  ```
39
39
 
40
40
  ## Changelog
41
+ ## 1.3.95
42
+ - \[Added\]: IconMenu – Add WEO76APP0001, WEO76APP0002, WEO76LIS0001, WEO76LIS0002, WEO76LIS0003, WEO76REQ0001, WEO76REQ0002, MHRP09N0033, MHRP29N0029, MHRM89N0002
43
+ - \[Changed\]: Modal – Change logic of children and title in ModalHeader
44
+ - \[Fixed\]: TreeView – Fix cannot select by checkbox
45
+ - \[Fixed\]: Paging – Fix bug wrong currentPage
46
+ - \[Fixed\]: TECH – Fix warning 'ref is not a prop'
47
+
41
48
  ## 1.3.94
49
+ - \[Added\]: Icon – Add ModuleView, Update ListView, FolderPerson, FolderAdd
50
+ - \[Added\]: Icon – Add color default
42
51
  - \[Changed\]: Breadcrumb – Update design
43
52
  - \[Changed\]: Button – Add text sentence for Button
44
53
  - \[Changed\]: Accordion – Add prop fullHeight
45
54
  - \[Changed\]: Divider – Optimize code
46
- - \[Changed\]: Icon – Add color default
47
55
  - \[Fixed\]: Accordion – Fix UI background color
48
56
 
49
57
  ## 1.3.93