@digital-ai/dot-components 1.5.0 → 1.5.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
CHANGED
|
@@ -1,5 +1,14 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## [1.5.1](https://github.com/digital-ai/dot-components/tree/1.5.1) (12/17/2021)
|
|
4
|
+
|
|
5
|
+
[Full Changelog](https://github.com/digital-ai/dot-components/compare/1.5.0...1.5.1)
|
|
6
|
+
|
|
7
|
+
**Fixed bugs:**
|
|
8
|
+
|
|
9
|
+
- Breaking prop type change in DotAccordion [\#850](https://github.com/digital-ai/dot-components/issues/850)
|
|
10
|
+
- D-19247: summary prop [\#873](https://github.com/digital-ai/dot-components/pull/873) ([TheKeithStewart](https://github.com/TheKeithStewart))
|
|
11
|
+
|
|
3
12
|
## [1.5.0](https://github.com/digital-ai/dot-components/tree/1.5.0) (12/15/2021)
|
|
4
13
|
|
|
5
14
|
[Full Changelog](https://github.com/digital-ai/dot-components/compare/1.4.0...1.5.0)
|
|
@@ -61,6 +70,7 @@
|
|
|
61
70
|
- S-79571: DotInput - expose onKeyDown [\#846](https://github.com/digital-ai/dot-components/pull/846) ([monapatel91](https://github.com/monapatel91))
|
|
62
71
|
- S-79357: evaluate codebase and remove old references to core Tooltip [\#844](https://github.com/digital-ai/dot-components/pull/844) ([CWSites](https://github.com/CWSites))
|
|
63
72
|
- S-80621: file upload [\#840](https://github.com/digital-ai/dot-components/pull/840) ([CWSites](https://github.com/CWSites))
|
|
73
|
+
- S-76922: file upload [\#820](https://github.com/digital-ai/dot-components/pull/820) ([CWSites](https://github.com/CWSites))
|
|
64
74
|
|
|
65
75
|
**Fixed bugs:**
|
|
66
76
|
|
|
@@ -106,7 +116,6 @@
|
|
|
106
116
|
- Add to `DotList` right arrow in some cases [\#720](https://github.com/digital-ai/dot-components/issues/720)
|
|
107
117
|
- `DotTable` Provide a way to apply custom classes to table rows and cells [\#643](https://github.com/digital-ai/dot-components/issues/643)
|
|
108
118
|
- S-80369: Create `ProgressButton` component [\#822](https://github.com/digital-ai/dot-components/pull/822) ([dmiletic85](https://github.com/dmiletic85))
|
|
109
|
-
- S-76922: file upload [\#820](https://github.com/digital-ai/dot-components/pull/820) ([CWSites](https://github.com/CWSites))
|
|
110
119
|
- S-79696: change size of collapse icon button, add tooltip [\#819](https://github.com/digital-ai/dot-components/pull/819) ([CWSites](https://github.com/CWSites))
|
|
111
120
|
- S-80264: Agility wrapper sandbox documentation [\#810](https://github.com/digital-ai/dot-components/pull/810) ([CWSites](https://github.com/CWSites))
|
|
112
121
|
|
|
@@ -228,7 +237,6 @@
|
|
|
228
237
|
- S-76892: create generator for new components [\#736](https://github.com/digital-ai/dot-components/pull/736) ([CWSites](https://github.com/CWSites))
|
|
229
238
|
- D-18986: update app toolbar to be dense by default [\#735](https://github.com/digital-ai/dot-components/pull/735) ([CWSites](https://github.com/CWSites))
|
|
230
239
|
- D-18985: update menu list to be content-box sizing [\#734](https://github.com/digital-ai/dot-components/pull/734) ([CWSites](https://github.com/CWSites))
|
|
231
|
-
- S-77126: Dynamic Form [\#717](https://github.com/digital-ai/dot-components/pull/717) ([dmiletic85](https://github.com/dmiletic85))
|
|
232
240
|
|
|
233
241
|
## [1.2.1](https://github.com/digital-ai/dot-components/tree/1.2.1) (10/15/2021)
|
|
234
242
|
|
|
@@ -270,11 +278,13 @@
|
|
|
270
278
|
- D-18970: remove color prop from Badge storybook config [\#722](https://github.com/digital-ai/dot-components/pull/722) ([CWSites](https://github.com/CWSites))
|
|
271
279
|
- MINOR release [\#719](https://github.com/digital-ai/dot-components/pull/719) ([CWSites](https://github.com/CWSites))
|
|
272
280
|
- Icons oct 13 2021 [\#718](https://github.com/digital-ai/dot-components/pull/718) ([BojanKocijan](https://github.com/BojanKocijan))
|
|
281
|
+
- S-77126: Dynamic Form [\#717](https://github.com/digital-ai/dot-components/pull/717) ([dmiletic85](https://github.com/dmiletic85))
|
|
273
282
|
- S-78918: add loading indicator to menu [\#716](https://github.com/digital-ai/dot-components/pull/716) ([CWSites](https://github.com/CWSites))
|
|
274
283
|
- S-78834: update icon buttons to follow agility theme more closely [\#715](https://github.com/digital-ai/dot-components/pull/715) ([CWSites](https://github.com/CWSites))
|
|
275
284
|
- S-77041: New component tooltip [\#713](https://github.com/digital-ai/dot-components/pull/713) ([monapatel91](https://github.com/monapatel91))
|
|
276
285
|
- S-76773: product badges in app toolbar and sidebar [\#712](https://github.com/digital-ai/dot-components/pull/712) ([CWSites](https://github.com/CWSites))
|
|
277
286
|
- Icons update oct 7th 2021 [\#709](https://github.com/digital-ai/dot-components/pull/709) ([BojanKocijan](https://github.com/BojanKocijan))
|
|
287
|
+
- Bring `master` back into `develop` [\#705](https://github.com/digital-ai/dot-components/pull/705) ([CWSites](https://github.com/CWSites))
|
|
278
288
|
- S-78833 agility sidebar [\#701](https://github.com/digital-ai/dot-components/pull/701) ([CWSites](https://github.com/CWSites))
|
|
279
289
|
|
|
280
290
|
## [1.1.1](https://github.com/digital-ai/dot-components/tree/1.1.1) (10/06/2021)
|
|
@@ -287,7 +297,6 @@
|
|
|
287
297
|
|
|
288
298
|
**Merged pull requests:**
|
|
289
299
|
|
|
290
|
-
- Bring `master` back into `develop` [\#705](https://github.com/digital-ai/dot-components/pull/705) ([CWSites](https://github.com/CWSites))
|
|
291
300
|
- MINOR RELEASE [\#704](https://github.com/digital-ai/dot-components/pull/704) ([CWSites](https://github.com/CWSites))
|
|
292
301
|
- S-79291: update nested dependencies [\#700](https://github.com/digital-ai/dot-components/pull/700) ([CWSites](https://github.com/CWSites))
|
|
293
302
|
- S-78832: Agility icon & badge updates [\#698](https://github.com/digital-ai/dot-components/pull/698) ([CWSites](https://github.com/CWSites))
|
|
@@ -526,6 +535,7 @@
|
|
|
526
535
|
- Add isUnderToolbar property to Sidebar for use beneath AppToolbar [\#560](https://github.com/digital-ai/dot-components/pull/560) ([selsemore](https://github.com/selsemore))
|
|
527
536
|
- Move approved components to "Stable" [\#559](https://github.com/digital-ai/dot-components/pull/559) ([CWSites](https://github.com/CWSites))
|
|
528
537
|
- merging master \> develop [\#557](https://github.com/digital-ai/dot-components/pull/557) ([CWSites](https://github.com/CWSites))
|
|
538
|
+
- S-75998: \[PB Tech Debt\] Avoid unnecessary form re-renders when typing application name [\#556](https://github.com/digital-ai/dot-components/pull/556) ([dmiletic85](https://github.com/dmiletic85))
|
|
529
539
|
- S-75991: \[PB Tech Debt\] Refactor and improve wrapper component in demo app [\#546](https://github.com/digital-ai/dot-components/pull/546) ([dmiletic85](https://github.com/dmiletic85))
|
|
530
540
|
|
|
531
541
|
## [1.0.1](https://github.com/digital-ai/dot-components/tree/1.0.1) (07/02/2021)
|
package/dot-components.esm.js
CHANGED
|
@@ -180,11 +180,11 @@ var DotAccordion = function DotAccordion(_ref) {
|
|
|
180
180
|
expandIcon: /*#__PURE__*/React__default.createElement(DotIcon, {
|
|
181
181
|
iconId: "chevron-down"
|
|
182
182
|
})
|
|
183
|
-
}, startIcon, /*#__PURE__*/React__default.createElement(
|
|
183
|
+
}, startIcon, /*#__PURE__*/React__default.createElement(DotTooltip, {
|
|
184
|
+
title: noWrap ? summary : ''
|
|
185
|
+
}, /*#__PURE__*/React__default.createElement(DotTypography, {
|
|
184
186
|
noWrap: noWrap,
|
|
185
187
|
variant: "body1"
|
|
186
|
-
}, /*#__PURE__*/React__default.createElement(DotTooltip, {
|
|
187
|
-
title: noWrap ? summary : ''
|
|
188
188
|
}, summary))), /*#__PURE__*/React__default.createElement(AccordionDetails, {
|
|
189
189
|
className: detailClassName,
|
|
190
190
|
"data-testid": dataTestId + "-details"
|
package/dot-components.umd.js
CHANGED
|
@@ -270,11 +270,11 @@
|
|
|
270
270
|
expandIcon: /*#__PURE__*/React__default["default"].createElement(DotIcon, {
|
|
271
271
|
iconId: "chevron-down"
|
|
272
272
|
})
|
|
273
|
-
}, startIcon, /*#__PURE__*/React__default["default"].createElement(
|
|
273
|
+
}, startIcon, /*#__PURE__*/React__default["default"].createElement(DotTooltip, {
|
|
274
|
+
title: noWrap ? summary : ''
|
|
275
|
+
}, /*#__PURE__*/React__default["default"].createElement(DotTypography, {
|
|
274
276
|
noWrap: noWrap,
|
|
275
277
|
variant: "body1"
|
|
276
|
-
}, /*#__PURE__*/React__default["default"].createElement(DotTooltip, {
|
|
277
|
-
title: noWrap ? summary : ''
|
|
278
278
|
}, summary))), /*#__PURE__*/React__default["default"].createElement(core.AccordionDetails, {
|
|
279
279
|
className: detailClassName,
|
|
280
280
|
"data-testid": dataTestId + "-details"
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { ChangeEvent,
|
|
1
|
+
import { ChangeEvent, ReactNode } from 'react';
|
|
2
2
|
import { CommonProps } from '../CommonProps';
|
|
3
3
|
export interface AccordionProps extends CommonProps {
|
|
4
4
|
/** actionable components (ex: checkbox, button) that can be nested within the expanded Accordion component */
|
|
@@ -25,6 +25,6 @@ export interface AccordionProps extends CommonProps {
|
|
|
25
25
|
/** Icon placed before the children. */
|
|
26
26
|
startIcon?: ReactNode;
|
|
27
27
|
/** The text within the expanded Accordion */
|
|
28
|
-
summary:
|
|
28
|
+
summary: ReactNode | string;
|
|
29
29
|
}
|
|
30
30
|
export declare const DotAccordion: ({ actions, ariaLabel, children, className, "data-testid": dataTestId, defaultExpanded, disabled, expanded, hasElevation, onChange, square, startIcon, summary, noWrap, }: AccordionProps) => JSX.Element;
|