@digital-ai/dot-components 2.16.0 → 2.17.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 +20 -10
- package/README.md +5 -0
- package/index.esm.js +359 -205
- package/index.umd.js +513 -349
- package/lib/components/table/Table.d.ts +4 -2
- package/lib/components/table/Table.stories.d.ts +3 -1
- package/lib/components/table/Table.stories.data.d.ts +59 -0
- package/lib/components/table/TableBody.d.ts +3 -2
- package/lib/components/table/TableBodyCollapsibleTable.d.ts +8 -0
- package/lib/components/table/TableBodyCollapsibleTable.styles.d.ts +2 -0
- package/lib/components/table/TableBodyExpandCollapseCell.d.ts +8 -0
- package/lib/components/table/TableBodyExpandCollapseCell.styles.d.ts +3 -0
- package/lib/components/table/TableHeader.d.ts +3 -2
- package/lib/components/table/TableRow.d.ts +3 -2
- package/lib/components/table/utils/helpers.d.ts +1 -0
- package/lib/components/table/utils/models.d.ts +19 -0
- package/package.json +1 -1
package/CHANGE_LOG.md
CHANGED
|
@@ -1,5 +1,21 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## [2.17.1](https://www.npmjs.com/package/@digital-ai/dot-components) (10/09/2023)
|
|
4
|
+
|
|
5
|
+
[Full Changelog](https://digital-ai.github.io/dot-components/?path=/story/introduction--page/digital-ai/dot-components/compare/2.17.0...2.17.1)
|
|
6
|
+
|
|
7
|
+
**Fixed bugs:**
|
|
8
|
+
|
|
9
|
+
- D-26963: Addressing the cosmetic bugs in collapsible feature of DotTable [\#1657](https://github.com/digital-ai/dot-components/pull/1657) ([maheswaran-cn519](https://github.com/maheswaran-cn519))
|
|
10
|
+
|
|
11
|
+
## [2.17.0](https://www.npmjs.com/package/@digital-ai/dot-components) (10/03/2023)
|
|
12
|
+
|
|
13
|
+
[Full Changelog](https://digital-ai.github.io/dot-components/?path=/story/introduction--page/digital-ai/dot-components/compare/2.16.0...2.17.0)
|
|
14
|
+
|
|
15
|
+
**Features:**
|
|
16
|
+
|
|
17
|
+
- S-95856: Added collapsible-table feature within DotTable. [\#1625](https://github.com/digital-ai/dot-components/pull/1625) ([maheswaran-cn519](https://github.com/maheswaran-cn519))
|
|
18
|
+
|
|
3
19
|
## [2.16.0](https://www.npmjs.com/package/@digital-ai/dot-components) (09/28/2023)
|
|
4
20
|
|
|
5
21
|
[Full Changelog](https://digital-ai.github.io/dot-components/?path=/story/introduction--page/digital-ai/dot-components/compare/2.15.2...2.16.0)
|
|
@@ -317,6 +333,7 @@
|
|
|
317
333
|
**Features:**
|
|
318
334
|
|
|
319
335
|
- S-92086: `DotDatePicker` improvements [\#1461](https://github.com/digital-ai/dot-components/pull/1461) ([dmiletic85](https://github.com/dmiletic85))
|
|
336
|
+
- S-91943: `DotDatePicker` - add `minDate` and `maxDate` props [\#1450](https://github.com/digital-ai/dot-components/pull/1450) ([dmiletic85](https://github.com/dmiletic85))
|
|
320
337
|
|
|
321
338
|
**Fixed bugs:**
|
|
322
339
|
|
|
@@ -326,10 +343,6 @@
|
|
|
326
343
|
|
|
327
344
|
[Full Changelog](https://digital-ai.github.io/dot-components/?path=/story/introduction--page/digital-ai/dot-components/compare/2.7.0...2.7.1)
|
|
328
345
|
|
|
329
|
-
**Features:**
|
|
330
|
-
|
|
331
|
-
- S-91943: `DotDatePicker` - add `minDate` and `maxDate` props [\#1450](https://github.com/digital-ai/dot-components/pull/1450) ([dmiletic85](https://github.com/dmiletic85))
|
|
332
|
-
|
|
333
346
|
**Fixed bugs:**
|
|
334
347
|
|
|
335
348
|
- `DotTimePicker`, `DotDatePicker`: fix issues with controlled and uncontrolled states [\#1454](https://github.com/digital-ai/dot-components/pull/1454) ([dmiletic85](https://github.com/dmiletic85))
|
|
@@ -338,6 +351,7 @@
|
|
|
338
351
|
**Misc:**
|
|
339
352
|
|
|
340
353
|
- S-91314: Remove use of deprecated `StylesProvider` [\#1457](https://github.com/digital-ai/dot-components/pull/1457) ([CWSites](https://github.com/CWSites))
|
|
354
|
+
- S-91975: `TimePicker` - Improve keyboard access [\#1455](https://github.com/digital-ai/dot-components/pull/1455) ([dmiletic85](https://github.com/dmiletic85))
|
|
341
355
|
|
|
342
356
|
## [2.7.0](https://www.npmjs.com/package/@digital-ai/dot-components) (04/14/2023)
|
|
343
357
|
|
|
@@ -352,10 +366,6 @@
|
|
|
352
366
|
|
|
353
367
|
- D-24793: `DotTimePicker` - set clock instead of calendar icon [\#1444](https://github.com/digital-ai/dot-components/pull/1444) ([dmiletic85](https://github.com/dmiletic85))
|
|
354
368
|
|
|
355
|
-
**Misc:**
|
|
356
|
-
|
|
357
|
-
- S-91975: `TimePicker` - Improve keyboard access [\#1455](https://github.com/digital-ai/dot-components/pull/1455) ([dmiletic85](https://github.com/dmiletic85))
|
|
358
|
-
|
|
359
369
|
## [2.6.1](https://www.npmjs.com/package/@digital-ai/dot-components) (04/06/2023)
|
|
360
370
|
|
|
361
371
|
[Full Changelog](https://digital-ai.github.io/dot-components/?path=/story/introduction--page/digital-ai/dot-components/compare/2.6.0...2.6.1)
|
|
@@ -707,7 +717,6 @@
|
|
|
707
717
|
|
|
708
718
|
**Fixed bugs:**
|
|
709
719
|
|
|
710
|
-
- S-86692: component cleanup [\#1238](https://github.com/digital-ai/dot-components/pull/1238) ([CWSites](https://github.com/CWSites))
|
|
711
720
|
- S-84151: fix e2e tests for Release 2.0 [\#1146](https://github.com/digital-ai/dot-components/pull/1146) ([CWSites](https://github.com/CWSites))
|
|
712
721
|
|
|
713
722
|
**Misc:**
|
|
@@ -738,6 +747,7 @@
|
|
|
738
747
|
|
|
739
748
|
**Fixed bugs:**
|
|
740
749
|
|
|
750
|
+
- S-86692: component cleanup [\#1238](https://github.com/digital-ai/dot-components/pull/1238) ([CWSites](https://github.com/CWSites))
|
|
741
751
|
- D-20931: `DotAccordion` - display top border correctly when expanded [\#1232](https://github.com/digital-ai/dot-components/pull/1232) ([CWSites](https://github.com/CWSites))
|
|
742
752
|
- D-22087: `DotRadioGroup` / `DotCheckboxGroup` helper texts do not follow the same styles as other helper texts [\#1225](https://github.com/digital-ai/dot-components/pull/1225) ([dmiletic85](https://github.com/dmiletic85))
|
|
743
753
|
|
|
@@ -1033,6 +1043,7 @@
|
|
|
1033
1043
|
- S-81968: `ButtonToggle`: Add class prop into `ButtonToggleProps` and export relevant types and interfaces [\#993](https://github.com/digital-ai/dot-components/pull/993) ([dmiletic85](https://github.com/dmiletic85))
|
|
1034
1044
|
- S-81966: `Divider`: Create and expose `Divider` component [\#992](https://github.com/digital-ai/dot-components/pull/992) ([dmiletic85](https://github.com/dmiletic85))
|
|
1035
1045
|
- S-81656: `Popper`: Create and expose `Popper` component [\#988](https://github.com/digital-ai/dot-components/pull/988) ([dmiletic85](https://github.com/dmiletic85))
|
|
1046
|
+
- S-81802: Add 'Clear all' button to DotTable multiSelect toolbar [\#987](https://github.com/digital-ai/dot-components/pull/987) ([selsemore](https://github.com/selsemore))
|
|
1036
1047
|
- S-81693: `Menu`: add multi-level support [\#981](https://github.com/digital-ai/dot-components/pull/981) ([dmiletic85](https://github.com/dmiletic85))
|
|
1037
1048
|
|
|
1038
1049
|
**Fixed bugs:**
|
|
@@ -1060,7 +1071,6 @@
|
|
|
1060
1071
|
|
|
1061
1072
|
**Features:**
|
|
1062
1073
|
|
|
1063
|
-
- S-81802: Add 'Clear all' button to DotTable multiSelect toolbar [\#987](https://github.com/digital-ai/dot-components/pull/987) ([selsemore](https://github.com/selsemore))
|
|
1064
1074
|
- S-76952: `AutoComplete`: Add dense prop [\#976](https://github.com/digital-ai/dot-components/pull/976) ([dmiletic85](https://github.com/dmiletic85))
|
|
1065
1075
|
- S-81503: `Autocomplete` Improve functionality for adding new item [\#957](https://github.com/digital-ai/dot-components/pull/957) ([dmiletic85](https://github.com/dmiletic85))
|
|
1066
1076
|
|
package/README.md
CHANGED
|
@@ -61,11 +61,15 @@ export const MyWidget = ({ text }: MyWidgetProps) => {
|
|
|
61
61
|
);
|
|
62
62
|
};
|
|
63
63
|
```
|
|
64
|
+
|
|
65
|
+
**Note:** If you would like to create a custom theme, you can do so by following [these directions](https://github.com/digital-ai/dot-components/wiki/Product-Specific-Component-&-ThemeProvider).
|
|
66
|
+
|
|
64
67
|
### Configuring Jest
|
|
65
68
|
|
|
66
69
|
We are utilizing `@digital-ai/dot-icons` which uses `@font-face`. If you are using Jest then you'll need to update the following files. The location of the files may be different based on the structure of your application
|
|
67
70
|
|
|
68
71
|
#### `jest.config.js`
|
|
72
|
+
|
|
69
73
|
```js
|
|
70
74
|
moduleNameMapper: {
|
|
71
75
|
'@digital-ai/dot-icons': '<rootDir>/testing-utils/style-mock.ts',
|
|
@@ -73,6 +77,7 @@ moduleNameMapper: {
|
|
|
73
77
|
```
|
|
74
78
|
|
|
75
79
|
#### `style-mock.ts`
|
|
80
|
+
|
|
76
81
|
```js
|
|
77
82
|
module.exports = {};
|
|
78
83
|
```
|