diginet-core-ui 1.3.77 → 1.3.78

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.
@@ -285,8 +285,8 @@ const DateRangePickerV2 = /*#__PURE__*/memo( /*#__PURE__*/forwardRef(({
285
285
  tableData = [],
286
286
  weekDateFirst = getDateOfWeek(firstDay),
287
287
  weekDateLast = getDateOfWeek(lastDay);
288
- /**
289
- * days of previous month
288
+ /**
289
+ * days of previous month
290
290
  */
291
291
 
292
292
  for (let i = weekDateFirst; i > 0; i--) {
@@ -299,8 +299,8 @@ const DateRangePickerV2 = /*#__PURE__*/memo( /*#__PURE__*/forwardRef(({
299
299
  className: unique.day.day
300
300
  })));
301
301
  }
302
- /**
303
- * days of current month
302
+ /**
303
+ * days of current month
304
304
  */
305
305
 
306
306
 
@@ -328,8 +328,8 @@ const DateRangePickerV2 = /*#__PURE__*/memo( /*#__PURE__*/forwardRef(({
328
328
  type: 'h6'
329
329
  }, i + 1)));
330
330
  }
331
- /**
332
- * days of next month
331
+ /**
332
+ * days of next month
333
333
  */
334
334
 
335
335
 
@@ -137,7 +137,7 @@ const Dropdown = /*#__PURE__*/memo( /*#__PURE__*/forwardRef(({
137
137
  const [openState, setOpenState] = useState(false);
138
138
  const [showClear, setShowClear] = useState(false);
139
139
  const [textValue, setTextValue] = useState('');
140
- let valueTemp = valueProp || defaultValue; // only mode multi
140
+ let valueTemp = valueProp || defaultValue || []; // only mode multi
141
141
 
142
142
  if (multiple) {
143
143
  valueTemp = convertData(valueTemp, valueExpr);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "diginet-core-ui",
3
- "version": "1.3.77",
3
+ "version": "1.3.78",
4
4
  "description": "The DigiNet core ui",
5
5
  "homepage": "https://diginet.com.vn",
6
6
  "main": "index.js",
package/readme.md CHANGED
@@ -38,6 +38,9 @@ npm test
38
38
  ```
39
39
 
40
40
  ## Changelog
41
+ ## 1.3.78
42
+ - \[Changed\]: DropDown – Update UI mode multi and optimize render multi selected
43
+
41
44
  ## 1.3.77
42
45
  - \[Changed\]: DateRangePicker – Add method show to ref
43
46
  - \[Changed\]: Avatar – Add propTypes node for prop data