diginet-core-ui 1.3.83-beta.1 → 1.3.84

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.
@@ -1078,8 +1078,6 @@ const Attachment = /*#__PURE__*/memo( /*#__PURE__*/forwardRef(({
1078
1078
  title: "",
1079
1079
  onDrop: onDropInput,
1080
1080
  onDragLeave: onDropInput,
1081
- onClick: e => e.target.value = null // Fix not fire onChange when select same file
1082
- ,
1083
1081
  ...inputProps
1084
1082
  })), [inputProps]);
1085
1083
  const AttachedView = useMemo(() => jsx(ScrollBar, {
@@ -1440,14 +1438,12 @@ Attachment.defaultProps = {
1440
1438
  maxFile: Infinity,
1441
1439
  multiple: true,
1442
1440
  readOnly: false,
1443
- style: {},
1444
1441
  uploadErrorInfo: {
1445
1442
  maxFile: getGlobal(['errorDefault', 'maxFile']),
1446
1443
  maxSize: getGlobal(['errorDefault', 'maxSize']),
1447
1444
  fileType: getGlobal(['errorDefault', 'fileType']),
1448
1445
  existingFile: getGlobal(['errorDefault', 'existingFile'])
1449
- },
1450
- viewType: 'detail'
1446
+ }
1451
1447
  };
1452
1448
  Attachment.propTypes = {
1453
1449
  /** File types that can be accepted. */
@@ -1,33 +1,32 @@
1
1
  /** @jsxRuntime classic */
2
2
  /** @jsx jsx */
3
- import { css, jsx } from '@emotion/core';
4
- import { ButtonIcon, Divider, Dropdown, NumberInput, Typography } from "./..";
3
+ import { memo, useState, useRef, useEffect, useMemo, forwardRef, useImperativeHandle, useLayoutEffect, useCallback } from 'react';
4
+ import PropTypes from 'prop-types';
5
+ import { jsx, css } from '@emotion/core';
5
6
  import OptionWrapper from "../others/option-wrapper";
7
+ import { ButtonIcon, NumberInput, Dropdown, Typography, Divider } from "../";
6
8
  import { getGlobal } from "../../global";
7
- import PropTypes from 'prop-types';
8
- import { forwardRef, memo, useCallback, useEffect, useImperativeHandle, useLayoutEffect, useMemo, useRef, useState } from 'react';
9
- import { alignCenter, borderBox, cursorPointer, flexRow, justifyCenter, noPadding, parseHeight, parseMinHeight, parseMinWidth, parseMinWidthHeight, parseWidthHeight, textCenter, whiteSpaceNoWrap } from "../../styles/general";
10
- import { useTheme } from "../../theme";
11
- import { classNames, refType as ref } from "../../utils";
9
+ import theme from "../../theme/settings";
10
+ import { alignCenter, borderBox, flexRow, noPadding, textCenter, cursorPointer, parseHeight, whiteSpaceNoWrap, justifyCenter } from "../../styles/general";
12
11
  const {
13
12
  colors: {
14
13
  system: {
15
- active: systemActive,
16
- white: systemWhite
14
+ active,
15
+ white
17
16
  },
18
17
  line: {
19
- system: lineSystem,
20
- category: lineCategory
18
+ system,
19
+ category
21
20
  },
22
21
  text: {
23
- main: textMain
22
+ main
24
23
  }
25
24
  },
26
25
  typography: {
27
26
  paragraph2
28
27
  },
29
28
  spacing
30
- } = useTheme();
29
+ } = theme;
31
30
  const getLastPage = (totalItems, itemsPerPage) => {
32
31
  let _lastPage = 0;
33
32
  if (totalItems && totalItems >= 0 && itemsPerPage && itemsPerPage > 0) {
@@ -54,8 +53,7 @@ const PagingInfo = /*#__PURE__*/memo( /*#__PURE__*/forwardRef(({
54
53
  totalItems,
55
54
  typeShort
56
55
  }, reference) => {
57
- if (!reference) reference = useRef(null);
58
- const ref = useRef(null);
56
+ let ref = useRef(null);
59
57
  const timer = useRef(null);
60
58
  const currentPageRef = useRef(null);
61
59
  const numberRef = useRef(null);
@@ -68,6 +66,8 @@ const PagingInfo = /*#__PURE__*/memo( /*#__PURE__*/forwardRef(({
68
66
  const [disableNextState, setDisableNextState] = useState(!(totalItems > itemsPerPage));
69
67
  const [inputPageValue, setInputPageValue] = useState(currentPage);
70
68
  const _pagingInfoCSS = pagingInfoCSS(bgColor, typeShort);
69
+ // const _dynamicWidthCSS = dynamicWidthCSS(currentPageState.toString()?.length || 3);
70
+
71
71
  const _onChangePage = async ({
72
72
  page,
73
73
  e,
@@ -139,6 +139,9 @@ const PagingInfo = /*#__PURE__*/memo( /*#__PURE__*/forwardRef(({
139
139
  }
140
140
  }
141
141
  setItemsPerPageState(per);
142
+ // currentPageRef.current = 0;
143
+ // setCurrentPageState(0);
144
+ // setInputPageValue(0);
142
145
  _onChangePage({
143
146
  page: 0
144
147
  });
@@ -250,13 +253,13 @@ const PagingInfo = /*#__PURE__*/memo( /*#__PURE__*/forwardRef(({
250
253
  // getBoundingClientRect includes margin => phải trừ đi margin
251
254
  const style = window.getComputedStyle(child) || child.currentStyle;
252
255
  const margin = parseInt((style === null || style === void 0 ? void 0 : style.marginLeft) || 0) + parseInt((style === null || style === void 0 ? void 0 : style.marginRight) || 0);
253
- if (infoChild.right - margin >= infoParent.right) {
256
+ if (infoChild.right - margin >= infoParent.width) {
254
257
  child.style.opacity = 0;
255
258
  child.style.setProperty('display', 'none', 'important');
256
259
  } else {
257
260
  child.style.opacity = 1;
258
261
  }
259
- return infoChild.right >= infoParent.right;
262
+ return infoChild.right >= infoParent.width;
260
263
  });
261
264
  };
262
265
  const setWithNumber = useCallback((totalRefs = totalRef, numberRefs = numberRef) => {
@@ -294,12 +297,12 @@ const PagingInfo = /*#__PURE__*/memo( /*#__PURE__*/forwardRef(({
294
297
  listPerPageData = [...new Map(listPerPageData.map(v => [JSON.stringify(v), v])).values()];
295
298
  listPerPageData.sort((a, b) => a.id - b.id);
296
299
  const showPaging = checkShowPaging();
297
- return showPaging ? jsx("div", {
300
+ return showPaging && jsx("div", {
298
301
  ref: ref,
299
302
  css: _pagingInfoCSS,
300
303
  id: id,
301
304
  style: style,
302
- className: classNames('DGN-UI-PagingInfo', className)
305
+ className: ['DGN-UI-PagingInfo', className].join(' ').trim().replace(/\s+/g, ' ')
303
306
  }, jsx(ButtonIcon, {
304
307
  circular: true,
305
308
  viewType: 'ghost',
@@ -357,15 +360,15 @@ const PagingInfo = /*#__PURE__*/memo( /*#__PURE__*/forwardRef(({
357
360
  placeholder: '',
358
361
  max: lastPage,
359
362
  onKeyDown: checkKeyPress,
360
- onChange: onTypePaging
363
+ onChange: e => onTypePaging(e)
361
364
  }), "/", jsx(Typography, {
362
365
  ref: refs => {
363
366
  totalRef.current = refs;
364
367
  setWithNumber(refs, null);
365
368
  },
366
369
  css: css`
367
- ${whiteSpaceNoWrap}
368
- `,
370
+ ${whiteSpaceNoWrap}
371
+ `,
369
372
  type: 'p2'
370
373
  }, lastPage)), jsx(ButtonIcon, {
371
374
  circular: true,
@@ -412,7 +415,7 @@ const PagingInfo = /*#__PURE__*/memo( /*#__PURE__*/forwardRef(({
412
415
  }, typeShort ? jsx(Divider, {
413
416
  direction: 'vertical',
414
417
  height: 24,
415
- color: lineCategory
418
+ color: category
416
419
  }) : getGlobal('lineNumber'), jsx(Dropdown, {
417
420
  allowSearch: false,
418
421
  viewType: 'underlined',
@@ -426,7 +429,7 @@ const PagingInfo = /*#__PURE__*/memo( /*#__PURE__*/forwardRef(({
426
429
  readOnly: true
427
430
  },
428
431
  dropdownItemStyle: {
429
- color: systemActive
432
+ color: active
430
433
  }
431
434
  })), jsx(Typography, {
432
435
  type: 'p2',
@@ -435,9 +438,9 @@ const PagingInfo = /*#__PURE__*/memo( /*#__PURE__*/forwardRef(({
435
438
  }, typeShort ? jsx(Divider, {
436
439
  direction: 'vertical',
437
440
  height: 24,
438
- color: lineCategory
439
- }) : getGlobal('total') + ':', totalItemsState)) : null;
440
- }, [bgColor, className, hideWithPage, style, typeShort, currentPageState, disableNextState, disablePrevState, inputPageValue, itemsPerPageState, listPerPageState, totalItemsState]);
441
+ color: category
442
+ }) : getGlobal('total') + ':', totalItemsState));
443
+ }, [typeShort, bgColor, style, className, hideWithPage, totalItemsState, itemsPerPageState, currentPageState, listPerPageState, disablePrevState, disableNextState, inputPageValue]);
441
444
  }));
442
445
  const ViewNumberInput = css`
443
446
  ${flexRow};
@@ -451,11 +454,11 @@ const pagingInfoCSS = (bgColor, typeShort) => css`
451
454
  ${alignCenter};
452
455
  ${paragraph2};
453
456
  ${borderBox};
454
- ${parseHeight(40)};
455
- border-top: solid 1px ${lineSystem};
457
+ ${parseHeight(40)}
458
+ border-top: solid 1px ${system};
456
459
  padding: ${spacing([1, 0])};
457
460
  background-color: ${bgColor};
458
- color: ${textMain};
461
+ color: ${main};
459
462
  .inputPage {
460
463
  ${textCenter};
461
464
  margin: ${spacing([0, 0.5])};
@@ -464,7 +467,7 @@ const pagingInfoCSS = (bgColor, typeShort) => css`
464
467
  input {
465
468
  ${paragraph2};
466
469
  ${textCenter};
467
- color: ${systemActive};
470
+ color: ${active};
468
471
  text-align: left;
469
472
  }
470
473
  }
@@ -482,9 +485,9 @@ const pagingInfoCSS = (bgColor, typeShort) => css`
482
485
  .DGN-UI-Dropdown {
483
486
  margin-left: ${`${spacing(typeShort ? [0] : [2])}`};
484
487
  margin-bottom: 0;
485
- ${parseMinWidth(52)};
488
+ min-width: 52px;
486
489
  .DGN-UI-Dropdown-Form {
487
- ${parseMinHeight(24)};
490
+ min-height: 24px;
488
491
  padding: 0;
489
492
  input,
490
493
  span {
@@ -493,12 +496,14 @@ const pagingInfoCSS = (bgColor, typeShort) => css`
493
496
  ${cursorPointer};
494
497
  }
495
498
  .DGN-UI-Dropdown-Icon {
496
- margin-left: ${spacing([1.5])};
499
+ margin-left: 6px;
497
500
  div,
498
501
  span,
499
502
  svg {
500
- ${parseWidthHeight(20)};
501
- ${parseMinWidthHeight(20)};
503
+ width: 20px;
504
+ min-width: 20px;
505
+ height: 20px;
506
+ min-height: 20px;
502
507
  }
503
508
  }
504
509
  }
@@ -513,14 +518,14 @@ const pagingInfoCSS = (bgColor, typeShort) => css`
513
518
  }
514
519
  `;
515
520
  PagingInfo.defaultProps = {
516
- bgColor: systemWhite,
521
+ typeShort: false,
522
+ bgColor: white,
523
+ style: {},
517
524
  className: '',
525
+ totalItems: 0,
518
526
  currentPage: 0,
519
- hideWithPage: 'none',
520
527
  listPerPage: [10, 15, 20, 30, 50],
521
- style: {},
522
- totalItems: 0,
523
- typeShort: false
528
+ hideWithPage: 'none'
524
529
  };
525
530
  PagingInfo.propTypes = {
526
531
  /** Background color for component. */
@@ -573,7 +578,9 @@ PagingInfo.propTypes = {
573
578
  * * setTotalItems(items): Set total items
574
579
  * * @param {items} - number
575
580
  */
576
- reference: ref
581
+ reference: PropTypes.oneOfType([PropTypes.func, PropTypes.shape({
582
+ current: PropTypes.instanceOf(Element)
583
+ })])
577
584
  };
578
585
  export { PagingInfo };
579
586
  export default OptionWrapper(PagingInfo);
@@ -102,7 +102,7 @@ const TabItem = /*#__PURE__*/memo( /*#__PURE__*/forwardRef(({
102
102
  css: _IndicatorCSS,
103
103
  className: 'Indicator'
104
104
  }));
105
- }, [children, className, color, disabled, endIcon, index, label, labelProps, level, onClick, props, startIcon, style, isVertical, tabIndexState]);
105
+ }, [children, className, color, disabled, endIcon, index, label, level, onClick, props, startIcon, style, isVertical, tabIndexState]);
106
106
  }));
107
107
  const TabButtonCSS = (color, isVertical) => css`
108
108
  ${flexRow};
package/icons/effect.js CHANGED
@@ -1,37 +1,50 @@
1
1
  /** @jsxRuntime classic */
2
2
  /** @jsx jsx */
3
- import { css, jsx } from '@emotion/core';
4
- import OptionWrapper from "../components/others/option-wrapper";
3
+ import { memo, useRef, useMemo, forwardRef, useImperativeHandle } from 'react';
5
4
  import PropTypes from 'prop-types';
6
- import { forwardRef, memo, useImperativeHandle, useMemo, useRef } from 'react';
7
- import { alignCenter, borderBox, flexRow, justifyCenter, outlineNone, parseMinWidthHeight, parseWidthHeight, userSelectNone } from "../styles/general";
8
- import { useColor as colors, useTheme } from "../theme";
9
- import { capitalize, classNames, refType as ref } from "../utils";
5
+ import { jsx, css } from '@emotion/core';
6
+ import OptionWrapper from "../components/others/option-wrapper";
7
+ import { color as colors } from "../styles/colors";
10
8
  import * as Icons from "./basic";
9
+ import { capitalize } from "../utils";
10
+ import { alignCenter, borderBox, flexRow, justifyCenter, outlineNone, userSelectNone } from "../styles/general";
11
11
  const {
12
- colors: {
13
- system: {
14
- rest: systemRest
15
- }
12
+ system: {
13
+ rest
16
14
  }
17
- } = useTheme();
15
+ } = colors;
18
16
  const Icon = /*#__PURE__*/memo( /*#__PURE__*/forwardRef(({
19
17
  action = {},
18
+ name,
20
19
  className,
20
+ style,
21
21
  color,
22
+ width,
22
23
  height,
23
- id,
24
- name,
25
- onClick,
26
- style,
27
24
  viewBox,
28
- width,
25
+ onClick,
29
26
  ...props
30
27
  }, reference) => {
31
- if (!reference) reference = useRef(null);
32
28
  const ref = useRef(null);
33
- const _IconCSS = IconCSS(width, height);
34
- const _NotFoundIconCSS = NotFoundIconCSS(width);
29
+ const IconCss = css`
30
+ ${flexRow};
31
+ ${justifyCenter};
32
+ ${alignCenter};
33
+ ${borderBox};
34
+ ${outlineNone};
35
+ ${userSelectNone};
36
+ width: max-content;
37
+ height: max-content;
38
+ min-width: ${width ? isNaN(width) ? width : width + 'px' : '24px'};
39
+ min-height: ${width ? isNaN(height) ? height : height + 'px' : '24px'};
40
+ `;
41
+ const NotFoundIcon = css`
42
+ ${flexRow};
43
+ ${borderBox};
44
+ width: ${width ? isNaN(width) ? width : width + 'px' : '24px'};
45
+ height: ${width ? isNaN(width) ? width : width + 'px' : '24px'};
46
+ border: 1px dashed ${rest};
47
+ `;
35
48
  useImperativeHandle(reference, () => {
36
49
  const currentRef = ref.current || {};
37
50
  currentRef.element = ref.current;
@@ -55,61 +68,48 @@ const Icon = /*#__PURE__*/memo( /*#__PURE__*/forwardRef(({
55
68
  });
56
69
  } else {
57
70
  node = jsx("span", {
58
- css: _NotFoundIconCSS
71
+ css: NotFoundIcon
59
72
  });
60
73
  }
61
74
  return jsx("span", {
62
- css: _IconCSS,
63
- ref: ref,
64
- id: id,
65
- className: classNames('DGN-UI-Icon', className),
75
+ className: 'DGN-UI-Icon ' + className,
66
76
  style: style,
77
+ css: IconCss,
78
+ ref: ref,
67
79
  onClick: onClick,
68
80
  ...props
69
81
  }, node);
70
- }, [className, color, height, id, name, onClick, style, viewBox, width, props]);
82
+ }, [name, color, width, height, className, style, viewBox, onClick]);
71
83
  }));
72
- const IconCSS = (width = 24, height = 24) => css`
73
- ${flexRow};
74
- ${justifyCenter};
75
- ${alignCenter};
76
- ${borderBox};
77
- ${outlineNone};
78
- ${userSelectNone};
79
- ${parseWidthHeight('max-content')};
80
- ${parseMinWidthHeight(width, height)};
81
- `;
82
- const NotFoundIconCSS = (width = 24) => css`
83
- ${flexRow};
84
- ${borderBox};
85
- ${parseWidthHeight(width)};
86
- border: 1px dashed ${systemRest};
87
- `;
88
84
  Icon.defaultProps = {
89
85
  className: '',
90
- color: 'dark6',
91
- height: 24,
92
86
  style: {},
87
+ color: 'dark6',
93
88
  viewBox: true,
94
- width: 24
89
+ width: 24,
90
+ height: 24
95
91
  };
96
92
  Icon.propTypes = {
97
- /** Class for component. */
98
- className: PropTypes.string,
99
- /** The color of the component. */
100
- color: PropTypes.string,
101
- /** Height of the component. */
102
- height: PropTypes.oneOfType([PropTypes.string, PropTypes.number]),
103
- /** Name of icon in [Basic Icon](https://core.diginet.com.vn/ui/?path=/story/icon-basic) */
93
+ /** name of icon in icons store */
104
94
  name: PropTypes.string.isRequired,
105
- /** Style inline of component. */
95
+ /** color of icon<br />
96
+ * default: #7F828E
97
+ */
98
+ color: PropTypes.string,
99
+ /** className of icon in icons store */
100
+ className: PropTypes.string,
101
+ /** style of icon in icons store */
106
102
  style: PropTypes.object,
107
- /** If `true`, component have view box. */
108
- viewBox: PropTypes.bool,
109
- /** Width of the component. */
103
+ /** the width of icon */
110
104
  width: PropTypes.oneOfType([PropTypes.string, PropTypes.number]),
105
+ /** the height of icon */
106
+ height: PropTypes.oneOfType([PropTypes.string, PropTypes.number]),
107
+ /** have view box if true */
108
+ viewBox: PropTypes.bool,
109
+ /** have view box if true */
110
+ onClick: PropTypes.func,
111
111
  /**
112
- * ref methods (ref.current.instance.*method*)
112
+ * ref methods
113
113
  *
114
114
  * * option(): Gets all UI component properties
115
115
  * * Returns value - object
@@ -122,7 +122,9 @@ Icon.propTypes = {
122
122
  * * option(options): Updates the values of several properties
123
123
  * * @param {options} - object
124
124
  */
125
- reference: ref
125
+ reference: PropTypes.oneOfType([PropTypes.func, PropTypes.shape({
126
+ current: PropTypes.instanceOf(Element)
127
+ })])
126
128
  };
127
129
  export { Icon };
128
130
  export default OptionWrapper(Icon);
package/package.json CHANGED
@@ -1,73 +1,42 @@
1
1
  {
2
2
  "name": "diginet-core-ui",
3
- "version": "1.3.83-beta.1",
4
- "description": "",
3
+ "version": "1.3.84",
4
+ "description": "The DigiNet core ui",
5
+ "homepage": "https://diginet.com.vn",
5
6
  "main": "index.js",
6
- "license": "UNLICENSED",
7
7
  "scripts": {
8
- "start": "npm-run-all --parallel start-sb eslint-test",
9
- "start-sb": "start-storybook -p 9050",
10
- "build-storybook": "build-storybook -c .storybook -s src",
11
- "build": "run-script-os",
12
- "build:windows": "rimraf dist && mkdirp dist/components && npm run compile && sass --style=compressed src/scss:dist/css && xcopy src\\\\assets dist\\\\assets\\ /e /y",
13
- "build:darwin:linux:default": "rm -rf dist && npm run compile && sass --style=compressed src/scss:dist/css && cp -rf src/assets dist/assets",
14
- "compile": "babel src --out-dir dist --ignore **/*.stories.js",
15
- "pack": "npm run build && cp *.md dist/ && npm run version:bump --silent && npm run version:add --silent && cd dist && npm pack",
16
- "production-keep-version": "npm run build && cp *.md dist/ && cp package.json dist/ && cd dist && npm publish",
17
- "beta": "npm run build && cp *.md dist/ && cp package.json dist/ && cd dist && npm publish --tag beta",
18
- "production": "npm run build && cp *.md dist/ && npm run version:bump --silent && npm run version:add --silent && cd dist && npm publish",
19
- "version:add": "run-script-os",
20
- "version:add:windows": "cat package.json.tmp | sed \"s/0.0.0/%npm_package_version%/g\" > dist/package.json",
21
- "version:add:darwin:linux:default": "VERSION=$(npm run version:extract --silent) && cat package.json.tmp | sed \"s/0.0.0/${VERSION}/g\" > dist/package.json",
22
- "version:bump": "npm version patch --no-git-tag-version --silent",
23
- "version:extract": "cat package.json | grep version | head -1 | awk -F: '{ print $2 }' | sed 's/[\",]//g' | tr -d '[[:space:]]'",
24
- "test": "echo \"Error: no test specified\" && exit 1",
25
- "lint": "eslint --fix --config .eslintrc.js \"**/*.js\"",
26
- "eslint-test": "onchange \"src/**/*.{js,jsx,json}\" -- eslint . --fix",
27
- "test-storybook": "test-storybook --url http://localhost:9050"
8
+ "start-js": "react-scripts start --max_old_space_size=4096",
9
+ "start": "npx npm-run-all -p start-js",
10
+ "build": "GENERATE_SOURCEMAP=false && react-scripts build --env=production --max_old_space_size=8192",
11
+ "eject": "react-scripts eject",
12
+ "test": "echo \"Error: no test specified\" && exit 1"
28
13
  },
29
14
  "dependencies": {
30
15
  "@emotion/core": "^10.0.35",
31
- "babel-plugin-module-resolver": "^4.1.0",
32
16
  "prop-types": "^15.7.2"
33
17
  },
34
- "lint-staged": {
35
- "*/**/*.{js,jsx,json}": [
36
- "prettier --write",
37
- "git add"
38
- ]
18
+ "repository": {
19
+ "type": "git",
20
+ "url": "git+https://diginetvn@bitbucket.org/diginetvn/diginet-core-ui.git"
39
21
  },
40
- "devDependencies": {
41
- "@babel/cli": "^7.14.3",
42
- "@babel/plugin-proposal-class-properties": "^7.13.0",
43
- "@babel/plugin-proposal-logical-assignment-operators": "^7.16.0",
44
- "@babel/plugin-proposal-nullish-coalescing-operator": "^7.16.0",
45
- "@babel/plugin-proposal-optional-chaining": "^7.14.2",
46
- "@babel/plugin-proposal-private-methods": "^7.18.6",
47
- "@babel/plugin-proposal-private-property-in-object": "^7.18.6",
48
- "@babel/preset-react": "^7.13.13",
49
- "@storybook/addon-actions": "6.2.9",
50
- "@storybook/addon-essentials": "6.2.9",
51
- "@storybook/addon-links": "6.2.9",
52
- "@storybook/addon-postcss": "^2.0.0",
53
- "@storybook/react": "6.2.9",
54
- "@storybook/test-runner": "^0.7.1",
55
- "autoprefixer": "^10.3.1",
56
- "babel-loader": "^8.2.2",
57
- "eslint": "^8.4.1",
58
- "eslint-plugin-react": "^7.27.1",
59
- "eslint-plugin-regex": "^1.10.0",
60
- "husky": "^7.0.4",
61
- "jest": "^27.5.1",
62
- "lint-staged": "^12.1.2",
63
- "mkdirp": "^1.0.4",
64
- "npm-run-all": "^4.1.5",
65
- "onchange": "^7.1.0",
66
- "postcss-flexbugs-fixes": "^5.0.2",
67
- "react": "^17.0.1",
68
- "react-dom": "^17.0.1",
69
- "rimraf": "^3.0.2",
70
- "run-script-os": "^1.1.6",
71
- "sass": "^1.37.0"
72
- }
22
+ "keywords": [
23
+ "core ui",
24
+ "diginet"
25
+ ],
26
+ "author": "rocachien",
27
+ "contributors": [
28
+ {
29
+ "name": "Chien Do",
30
+ "email": "rocachien@gmail.com"
31
+ },
32
+ {
33
+ "name": "Nhat Tran",
34
+ "email": "tranminhnhat1005@gmail.com"
35
+ },
36
+ {
37
+ "name": "Thuan Nguyen",
38
+ "email": "nt.thuan.hutech@gmail.com"
39
+ }
40
+ ],
41
+ "license": "MIT"
73
42
  }
package/readme.md CHANGED
@@ -38,6 +38,10 @@ npm test
38
38
  ```
39
39
 
40
40
  ## Changelog
41
+ ## 1.3.84
42
+ - \[Fixed\]: Badge – Remove animation, conditional rendering with prop invisible
43
+ - \[Fixed\]: InputBase – Fix css focus when readOnly
44
+
41
45
  ## 1.3.83
42
46
  - \[Changed\]: IconMenu – Add prop className, style
43
47
  - \[Changed\]: Grid – Add prop verticalAlign