@digital-ai/dot-components 1.6.2 → 1.9.0

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.
Files changed (45) hide show
  1. package/CHANGE_LOG.md +108 -6
  2. package/{dot-components.esm.js → index.esm.js} +3433 -3402
  3. package/{dot-components.umd.js → index.umd.js} +1114 -542
  4. package/lib/components/accordion/Accordion.styles.d.ts +0 -1
  5. package/lib/components/app-toolbar/AppToolbar.d.ts +4 -2
  6. package/lib/components/app-toolbar/AppToolbar.stories.data.d.ts +15 -0
  7. package/lib/components/app-toolbar/AppToolbar.stories.styles.d.ts +2 -0
  8. package/lib/components/auto-complete/AutoComplete.d.ts +23 -8
  9. package/lib/components/auto-complete/AutoComplete.styles.d.ts +2 -0
  10. package/lib/components/auto-complete/Autocomplete.stories.data.d.ts +21 -0
  11. package/lib/components/auto-complete/utils/helpers.d.ts +7 -0
  12. package/lib/components/breadcrumbs/Breadcrumbs.d.ts +1 -1
  13. package/lib/components/button-toggle/ButtonToggle.d.ts +9 -9
  14. package/lib/components/button-toggle/index.d.ts +1 -0
  15. package/lib/components/divider/Divider.d.ts +17 -0
  16. package/lib/components/divider/Divider.stories.styles.d.ts +2 -0
  17. package/lib/components/divider/Divider.styles.d.ts +2 -0
  18. package/lib/components/divider/index.d.ts +1 -0
  19. package/lib/components/drawer/Drawer.d.ts +4 -4
  20. package/lib/components/index.d.ts +9 -3
  21. package/lib/components/input-form-fields/Input.stories.data.d.ts +13 -0
  22. package/lib/components/input-form-fields/InputFormFields.propTypes.d.ts +1 -1
  23. package/lib/components/input-form-fields/InputSelect.d.ts +8 -1
  24. package/lib/components/list/ListItem.styles.d.ts +1 -1
  25. package/lib/components/menu/Menu.d.ts +7 -1
  26. package/lib/components/menu/Menu.stories.data.d.ts +1 -0
  27. package/lib/components/menu/Menu.stories.styles.d.ts +2 -0
  28. package/lib/components/menu/MenuList.d.ts +26 -0
  29. package/lib/components/menu/MenuList.styles.d.ts +5 -0
  30. package/lib/components/menu/utils/helpers.d.ts +4 -0
  31. package/lib/components/popper/Popper.d.ts +18 -0
  32. package/lib/components/popper/Popper.data.d.ts +7 -0
  33. package/lib/components/popper/Popper.stories.data.d.ts +6 -0
  34. package/lib/components/popper/Popper.stories.styles.d.ts +4 -0
  35. package/lib/components/popper/Popper.styles.d.ts +3 -0
  36. package/lib/components/popper/index.d.ts +2 -0
  37. package/lib/components/sidebar/Sidebar.stories.data.d.ts +8 -0
  38. package/lib/components/split-button/SplitButton.styles.d.ts +1 -1
  39. package/lib/components/table/Table.data.d.ts +43 -0
  40. package/lib/components/table/Table.stories.data.d.ts +2 -0
  41. package/lib/components/table/Table.styles.d.ts +1 -1
  42. package/lib/components/table/TableSelectionToolbar.d.ts +2 -1
  43. package/lib/components/table/utils/models.d.ts +1 -0
  44. package/lib/testing-utils/index.d.ts +60 -0
  45. package/package.json +4 -4
package/CHANGE_LOG.md CHANGED
@@ -1,5 +1,107 @@
1
1
  # Changelog
2
2
 
3
+ ## [1.9.0](https://github.com/digital-ai/dot-components/tree/1.9.0) (02/15/2022)
4
+
5
+ [Full Changelog](https://github.com/digital-ai/dot-components/compare/1.8.1...1.9.0)
6
+
7
+ **Features:**
8
+
9
+ - Add class prop into `ButtonToggleProps` [\#990](https://github.com/digital-ai/dot-components/issues/990)
10
+ - Expose `Divider` [\#989](https://github.com/digital-ai/dot-components/issues/989)
11
+ - Expose `Popper` [\#975](https://github.com/digital-ai/dot-components/issues/975)
12
+ - 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))
13
+ - S-81966: `Divider`: Create and expose `Divider` component [\#992](https://github.com/digital-ai/dot-components/pull/992) ([dmiletic85](https://github.com/dmiletic85))
14
+ - S-81656: `Popper`: Create and expose `Popper` component [\#988](https://github.com/digital-ai/dot-components/pull/988) ([dmiletic85](https://github.com/dmiletic85))
15
+ - 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))
16
+ - S-81693: `Menu`: add multi-level support [\#981](https://github.com/digital-ai/dot-components/pull/981) ([dmiletic85](https://github.com/dmiletic85))
17
+
18
+ **Fixed bugs:**
19
+
20
+ - `Drawer` close icon doesn't have enough padding [\#994](https://github.com/digital-ai/dot-components/issues/994)
21
+ - `Avatar` tooltip appears in wrong position [\#991](https://github.com/digital-ai/dot-components/issues/991)
22
+ - `data-testid` is assigned to multiple elements on SplitButton [\#982](https://github.com/digital-ai/dot-components/issues/982)
23
+ - D-19944: `Drawer` close icon doesn't have enough padding [\#996](https://github.com/digital-ai/dot-components/pull/996) ([dmiletic85](https://github.com/dmiletic85))
24
+ - D-19932: `Avatar` tooltip appears in wrong position [\#995](https://github.com/digital-ai/dot-components/pull/995) ([dmiletic85](https://github.com/dmiletic85))
25
+ - D-19816: `SplitButton`: `data-testid` is assigned to multiple elements [\#986](https://github.com/digital-ai/dot-components/pull/986) ([dmiletic85](https://github.com/dmiletic85))
26
+ - D-19820: Failing `Table` unit tests on NX major upgrade branch [\#983](https://github.com/digital-ai/dot-components/pull/983) ([dmiletic85](https://github.com/dmiletic85))
27
+
28
+ ## [1.8.1](https://github.com/digital-ai/dot-components/tree/1.8.1) (02/07/2022)
29
+
30
+ [Full Changelog](https://github.com/digital-ai/dot-components/compare/1.8.0...1.8.1)
31
+
32
+ **Fixed bugs:**
33
+
34
+ - 1.8.0 reintroduces DotDrawer layout problem originally fixed by D-19474 [\#979](https://github.com/digital-ai/dot-components/issues/979)
35
+ - DotAlertBanner shows close icon when no onClose callback is provided [\#972](https://github.com/digital-ai/dot-components/issues/972)
36
+ - D-19803: Fix DotDrawer regression [\#980](https://github.com/digital-ai/dot-components/pull/980) ([selsemore](https://github.com/selsemore))
37
+
38
+ **Merged pull requests:**
39
+
40
+ - S-76846: NX major upgrade to `13.7.3` [\#952](https://github.com/digital-ai/dot-components/pull/952) ([CWSites](https://github.com/CWSites))
41
+
42
+ ## [1.8.0](https://github.com/digital-ai/dot-components/tree/1.8.0) (02/02/2022)
43
+
44
+ [Full Changelog](https://github.com/digital-ai/dot-components/compare/1.7.0...1.8.0)
45
+
46
+ **Features:**
47
+
48
+ - Add option for autocomplete component [\#956](https://github.com/digital-ai/dot-components/issues/956)
49
+ - S-76952: `AutoComplete`: Add dense prop [\#976](https://github.com/digital-ai/dot-components/pull/976) ([dmiletic85](https://github.com/dmiletic85))
50
+ - S-81503: `Autocomplete` Improve functionality for adding new item [\#957](https://github.com/digital-ai/dot-components/pull/957) ([dmiletic85](https://github.com/dmiletic85))
51
+
52
+ **Fixed bugs:**
53
+
54
+ - D-19722: `Table`: Fix Storybook issues by refactoring Table's story. [\#974](https://github.com/digital-ai/dot-components/pull/974) ([dmiletic85](https://github.com/dmiletic85))
55
+ - D-19713: Do not show alert banner close button if onClose not provided [\#973](https://github.com/digital-ai/dot-components/pull/973) ([selsemore](https://github.com/selsemore))
56
+
57
+ **Merged pull requests:**
58
+
59
+ - S-76846: update to webpack 5 [\#940](https://github.com/digital-ai/dot-components/pull/940) ([CWSites](https://github.com/CWSites))
60
+
61
+ ## [1.7.0](https://github.com/digital-ai/dot-components/tree/1.7.0) (01/28/2022)
62
+
63
+ [Full Changelog](https://github.com/digital-ai/dot-components/compare/1.6.2...1.7.0)
64
+
65
+ **Features:**
66
+
67
+ - Allow option/value pairs as DotInputSelect options in addition to strings [\#958](https://github.com/digital-ai/dot-components/issues/958)
68
+ - `Autocomplete` expose internal `onInputChange` [\#948](https://github.com/digital-ai/dot-components/issues/948)
69
+ - `Autocomplete` async options [\#946](https://github.com/digital-ai/dot-components/issues/946)
70
+ - `InputText` Component, Ability to add htmlElement\(hyperlink\) inside helperText property [\#831](https://github.com/digital-ai/dot-components/issues/831)
71
+ - `Menu` Improve support for custom open/close of `mainMenu` [\#773](https://github.com/digital-ai/dot-components/issues/773)
72
+ - S-81597: Allow for option/value pairs as DotInputSelect options [\#960](https://github.com/digital-ai/dot-components/pull/960) ([selsemore](https://github.com/selsemore))
73
+ - S-81394: `AppToolbar`: Improve support for custom open/close of `mainMenu` [\#953](https://github.com/digital-ai/dot-components/pull/953) ([dmiletic85](https://github.com/dmiletic85))
74
+ - S-81346: `Autocomplete` expose internal `onInputChange` [\#949](https://github.com/digital-ai/dot-components/pull/949) ([dmiletic85](https://github.com/dmiletic85))
75
+ - S-81317: `Autocomplete` async options [\#947](https://github.com/digital-ai/dot-components/pull/947) ([dmiletic85](https://github.com/dmiletic85))
76
+ - S-81304: `InputText`: Ability to add htmlElement\(hyperlink\) inside `helperText` property [\#945](https://github.com/digital-ai/dot-components/pull/945) ([dmiletic85](https://github.com/dmiletic85))
77
+
78
+ **Fixed bugs:**
79
+
80
+ - `Accordion`: `startIcon` is not aligned with the rest of the text [\#967](https://github.com/digital-ai/dot-components/issues/967)
81
+ - `IconButton`: `titleTooltip` deprecation console warning is displaying in the Storybook [\#965](https://github.com/digital-ai/dot-components/issues/965)
82
+ - `AppToolbar`: `fontSize` deprecation console warning is displaying [\#962](https://github.com/digital-ai/dot-components/issues/962)
83
+ - `Accordion`: Overflowing text when `noWrap` is set to `true` [\#959](https://github.com/digital-ai/dot-components/issues/959)
84
+ - Hamburger menu back button color is wrong [\#943](https://github.com/digital-ai/dot-components/issues/943)
85
+ - DotIconButton disableRipple prop is ignored [\#851](https://github.com/digital-ai/dot-components/issues/851)
86
+ - `Table` action menu items should be left aligned [\#794](https://github.com/digital-ai/dot-components/issues/794)
87
+ - D-19705: `Accordion`: `startIcon` is not aligned with the rest of the text [\#968](https://github.com/digital-ai/dot-components/pull/968) ([dmiletic85](https://github.com/dmiletic85))
88
+ - D-19700: `IconButton`: `titleTooltip` deprecation console warning is displaying in the Storybook [\#966](https://github.com/digital-ai/dot-components/pull/966) ([dmiletic85](https://github.com/dmiletic85))
89
+ - D-19697: `AppToolbar`: `fontSize` deprecation console warning is displaying [\#963](https://github.com/digital-ai/dot-components/pull/963) ([dmiletic85](https://github.com/dmiletic85))
90
+ - D-19691: `Accordion`: Overflowing text when `noWrap` is set to `true` [\#961](https://github.com/digital-ai/dot-components/pull/961) ([dmiletic85](https://github.com/dmiletic85))
91
+ - D-19558: `AppToolbar`: Hamburger menu back button color is wrong [\#955](https://github.com/digital-ai/dot-components/pull/955) ([dmiletic85](https://github.com/dmiletic85))
92
+ - D-19633: `Table` action menu items should be left aligned [\#954](https://github.com/digital-ai/dot-components/pull/954) ([dmiletic85](https://github.com/dmiletic85))
93
+
94
+ **Closed issues:**
95
+
96
+ - Deprecate `minWidth` prop on `Breadcrumbs` [\#777](https://github.com/digital-ai/dot-components/issues/777)
97
+
98
+ **Merged pull requests:**
99
+
100
+ - S-76846: upgrade to NX & storybook to latest `minor` release [\#951](https://github.com/digital-ai/dot-components/pull/951) ([CWSites](https://github.com/CWSites))
101
+ - S-76846: upgrade NX to latest [\#950](https://github.com/digital-ai/dot-components/pull/950) ([CWSites](https://github.com/CWSites))
102
+ - D-19517: Deprecate `minWidth` prop on Breadcrumbs [\#944](https://github.com/digital-ai/dot-components/pull/944) ([dmiletic85](https://github.com/dmiletic85))
103
+ - S-76846: Storybook updates [\#936](https://github.com/digital-ai/dot-components/pull/936) ([CWSites](https://github.com/CWSites))
104
+
3
105
  ## [1.6.2](https://github.com/digital-ai/dot-components/tree/1.6.2) (01/14/2022)
4
106
 
5
107
  [Full Changelog](https://github.com/digital-ai/dot-components/compare/1.6.1...1.6.2)
@@ -63,6 +165,7 @@
63
165
  - D-19376: `Menu`: `maxVisibleItems` prop does not control visible items anymore [\#911](https://github.com/digital-ai/dot-components/pull/911) ([dmiletic85](https://github.com/dmiletic85))
64
166
  - D-19366: `Menu`: Circular dependency [\#909](https://github.com/digital-ai/dot-components/pull/909) ([dmiletic85](https://github.com/dmiletic85))
65
167
  - D-19355: `Breadcrumbs`: invalid combination of props [\#907](https://github.com/digital-ai/dot-components/pull/907) ([dmiletic85](https://github.com/dmiletic85))
168
+ - D-19129: `Table`: Cells in the Table component should be wrapped by `DotTypography` [\#900](https://github.com/digital-ai/dot-components/pull/900) ([dmiletic85](https://github.com/dmiletic85))
66
169
 
67
170
  ## [1.5.4](https://github.com/digital-ai/dot-components/tree/1.5.4) (12/28/2021)
68
171
 
@@ -74,13 +177,13 @@
74
177
  - `Breadcrumbs` Display tooltip on last item \(on hover\) when it is clipped with ellipsis [\#878](https://github.com/digital-ai/dot-components/issues/878)
75
178
  - 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))
76
179
  - S-80871: `Sidebar` Changes on back arrow [\#896](https://github.com/digital-ai/dot-components/pull/896) ([dmiletic85](https://github.com/dmiletic85))
180
+ - 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))
77
181
 
78
182
  **Fixed bugs:**
79
183
 
80
184
  - Circular dependency [\#895](https://github.com/digital-ai/dot-components/issues/895)
81
185
  - `AppToolbar` shouldn't have grey dividers [\#889](https://github.com/digital-ai/dot-components/issues/889)
82
186
  - `List` Nested list drawer is not rendering correctly. [\#835](https://github.com/digital-ai/dot-components/issues/835)
83
- - D-19129: `Table`: Cells in the Table component should be wrapped by `DotTypography` [\#900](https://github.com/digital-ai/dot-components/pull/900) ([dmiletic85](https://github.com/dmiletic85))
84
187
  - D-19337: `List`: Circular dependency [\#897](https://github.com/digital-ai/dot-components/pull/897) ([dmiletic85](https://github.com/dmiletic85))
85
188
  - D-19330: `AppToolbar` shouldn't have grey dividers [\#891](https://github.com/digital-ai/dot-components/pull/891) ([dmiletic85](https://github.com/dmiletic85))
86
189
  - D-19200: `List` Nested list drawer is not rendering correctly [\#869](https://github.com/digital-ai/dot-components/pull/869) ([dmiletic85](https://github.com/dmiletic85))
@@ -109,10 +212,6 @@
109
212
 
110
213
  [Full Changelog](https://github.com/digital-ai/dot-components/compare/1.5.1...1.5.2)
111
214
 
112
- **Features:**
113
-
114
- - 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))
115
-
116
215
  **Fixed bugs:**
117
216
 
118
217
  - `Apptoolbar`: primary logo link is hardcoded to `/` [\#879](https://github.com/digital-ai/dot-components/issues/879)
@@ -534,6 +633,10 @@
534
633
 
535
634
  [Full Changelog](https://github.com/digital-ai/dot-components/compare/1.0.6...1.0.7)
536
635
 
636
+ **Features:**
637
+
638
+ - Custom main logo in the AppToolbar [\#637](https://github.com/digital-ai/dot-components/pull/637) ([monapatel91](https://github.com/monapatel91))
639
+
537
640
  **Fixed bugs:**
538
641
 
539
642
  - Link color is hardcoded for agility product [\#641](https://github.com/digital-ai/dot-components/issues/641)
@@ -557,7 +660,6 @@
557
660
 
558
661
  **Features:**
559
662
 
560
- - Custom main logo in the AppToolbar [\#637](https://github.com/digital-ai/dot-components/pull/637) ([monapatel91](https://github.com/monapatel91))
561
663
  - New component alert banner [\#625](https://github.com/digital-ai/dot-components/pull/625) ([monapatel91](https://github.com/monapatel91))
562
664
 
563
665
  **Fixed bugs:**