@digital-ai/dot-components 1.9.0 → 1.9.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.
- package/CHANGE_LOG.md +19 -2
- package/index.esm.js +2 -2
- package/index.umd.js +2 -2
- package/package.json +1 -1
package/CHANGE_LOG.md
CHANGED
|
@@ -1,5 +1,22 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## [1.9.1](https://github.com/digital-ai/dot-components/tree/1.9.1) (02/17/2022)
|
|
4
|
+
|
|
5
|
+
[Full Changelog](https://github.com/digital-ai/dot-components/compare/1.9.0...1.9.1)
|
|
6
|
+
|
|
7
|
+
**Features:**
|
|
8
|
+
|
|
9
|
+
- Remove obsolete `React` imports from Storybook files [\#998](https://github.com/digital-ai/dot-components/issues/998)
|
|
10
|
+
|
|
11
|
+
**Fixed bugs:**
|
|
12
|
+
|
|
13
|
+
- DotTable multiSelect does not work correctly across pages with dynamically paged tables [\#1004](https://github.com/digital-ai/dot-components/issues/1004)
|
|
14
|
+
- D-20004: Fix multiSelect for tables that use onUpdateData callback [\#1005](https://github.com/digital-ai/dot-components/pull/1005) ([selsemore](https://github.com/selsemore))
|
|
15
|
+
|
|
16
|
+
**Merged pull requests:**
|
|
17
|
+
|
|
18
|
+
- S-82055: Remove obsolete `React` imports from Storybook files [\#999](https://github.com/digital-ai/dot-components/pull/999) ([dmiletic85](https://github.com/dmiletic85))
|
|
19
|
+
|
|
3
20
|
## [1.9.0](https://github.com/digital-ai/dot-components/tree/1.9.0) (02/15/2022)
|
|
4
21
|
|
|
5
22
|
[Full Changelog](https://github.com/digital-ai/dot-components/compare/1.8.1...1.9.0)
|
|
@@ -176,7 +193,6 @@
|
|
|
176
193
|
- `sidebar` Changes on back arrow [\#890](https://github.com/digital-ai/dot-components/issues/890)
|
|
177
194
|
- `Breadcrumbs` Display tooltip on last item \(on hover\) when it is clipped with ellipsis [\#878](https://github.com/digital-ai/dot-components/issues/878)
|
|
178
195
|
- S-80939: `Menu`: Add option to customize item's height [\#902](https://github.com/digital-ai/dot-components/pull/902) ([dmiletic85](https://github.com/dmiletic85))
|
|
179
|
-
- S-80871: `Sidebar` Changes on back arrow [\#896](https://github.com/digital-ai/dot-components/pull/896) ([dmiletic85](https://github.com/dmiletic85))
|
|
180
196
|
- S-80855: Display tooltip on last breadcrumb item \(on hover\) when it is clipped with ellipsis [\#883](https://github.com/digital-ai/dot-components/pull/883) ([dmiletic85](https://github.com/dmiletic85))
|
|
181
197
|
|
|
182
198
|
**Fixed bugs:**
|
|
@@ -195,6 +211,7 @@
|
|
|
195
211
|
**Features:**
|
|
196
212
|
|
|
197
213
|
- `Sidebar` Ability to view the sub nav items without expanding the DotSidebar [\#787](https://github.com/digital-ai/dot-components/issues/787)
|
|
214
|
+
- S-80871: `Sidebar` Changes on back arrow [\#896](https://github.com/digital-ai/dot-components/pull/896) ([dmiletic85](https://github.com/dmiletic85))
|
|
198
215
|
|
|
199
216
|
**Fixed bugs:**
|
|
200
217
|
|
|
@@ -296,6 +313,7 @@
|
|
|
296
313
|
- Extended sidenav drawer should collapse when another drawer option is clicked [\#739](https://github.com/digital-ai/dot-components/issues/739)
|
|
297
314
|
- \#841 Fix DotDynamicForm initial form state for controls with initialValue false [\#842](https://github.com/digital-ai/dot-components/pull/842) ([selsemore](https://github.com/selsemore))
|
|
298
315
|
- D-19189: Extended sidenav drawer should collapse when another drawer option is clicked [\#830](https://github.com/digital-ai/dot-components/pull/830) ([dmiletic85](https://github.com/dmiletic85))
|
|
316
|
+
- D-19151: `DotBadge` generates console warnings [\#827](https://github.com/digital-ai/dot-components/pull/827) ([dmiletic85](https://github.com/dmiletic85))
|
|
299
317
|
|
|
300
318
|
**Merged pull requests:**
|
|
301
319
|
|
|
@@ -318,7 +336,6 @@
|
|
|
318
336
|
- Go back item in `Sidebar` is not aligned with rest of items [\#824](https://github.com/digital-ai/dot-components/issues/824)
|
|
319
337
|
- DotBadge generates console warnings [\#816](https://github.com/digital-ai/dot-components/issues/816)
|
|
320
338
|
- Sidebar scrollbar should be positioned on the very right of the sidebar [\#746](https://github.com/digital-ai/dot-components/issues/746)
|
|
321
|
-
- D-19151: `DotBadge` generates console warnings [\#827](https://github.com/digital-ai/dot-components/pull/827) ([dmiletic85](https://github.com/dmiletic85))
|
|
322
339
|
- D-19177: `Go back` item in `DotSidebar` is not aligned with rest of items [\#826](https://github.com/digital-ai/dot-components/pull/826) ([dmiletic85](https://github.com/dmiletic85))
|
|
323
340
|
|
|
324
341
|
## [1.3.4](https://github.com/digital-ai/dot-components/tree/1.3.4) (11/30/2021)
|
package/index.esm.js
CHANGED
|
@@ -6780,7 +6780,7 @@ const DotTable = ({
|
|
|
6780
6780
|
|
|
6781
6781
|
const handleCheckAllChange = isChecked => {
|
|
6782
6782
|
setSelectedRowIds(prevRowIds => {
|
|
6783
|
-
const newIds = getBulkSelectedRowIds(isChecked, prevRowIds, pageData);
|
|
6783
|
+
const newIds = getBulkSelectedRowIds(isChecked, prevRowIds, onUpdateData ? data : pageData);
|
|
6784
6784
|
multiSelect.onCheckAllChange && multiSelect.onCheckAllChange(isChecked, newIds);
|
|
6785
6785
|
return newIds;
|
|
6786
6786
|
});
|
|
@@ -6805,7 +6805,7 @@ const DotTable = ({
|
|
|
6805
6805
|
};
|
|
6806
6806
|
const multiSelectHeader = multiSelect && {
|
|
6807
6807
|
onCheckAllChange: handleCheckAllChange,
|
|
6808
|
-
pageData,
|
|
6808
|
+
pageData: onUpdateData ? data : pageData,
|
|
6809
6809
|
selectedTableRowIds: selectedRowIds
|
|
6810
6810
|
};
|
|
6811
6811
|
const selectedRowsNumber = selectedRowIds.length;
|
package/index.umd.js
CHANGED
|
@@ -7350,7 +7350,7 @@
|
|
|
7350
7350
|
|
|
7351
7351
|
var handleCheckAllChange = function handleCheckAllChange(isChecked) {
|
|
7352
7352
|
setSelectedRowIds(function (prevRowIds) {
|
|
7353
|
-
var newIds = getBulkSelectedRowIds(isChecked, prevRowIds, pageData);
|
|
7353
|
+
var newIds = getBulkSelectedRowIds(isChecked, prevRowIds, onUpdateData ? data : pageData);
|
|
7354
7354
|
multiSelect.onCheckAllChange && multiSelect.onCheckAllChange(isChecked, newIds);
|
|
7355
7355
|
return newIds;
|
|
7356
7356
|
});
|
|
@@ -7375,7 +7375,7 @@
|
|
|
7375
7375
|
};
|
|
7376
7376
|
var multiSelectHeader = multiSelect && {
|
|
7377
7377
|
onCheckAllChange: handleCheckAllChange,
|
|
7378
|
-
pageData: pageData,
|
|
7378
|
+
pageData: onUpdateData ? data : pageData,
|
|
7379
7379
|
selectedTableRowIds: selectedRowIds
|
|
7380
7380
|
};
|
|
7381
7381
|
var selectedRowsNumber = selectedRowIds.length;
|