@digital-ai/dot-components 2.10.0 → 2.10.2
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 +31 -3
- package/index.esm.js +33 -14
- package/index.umd.js +22 -4
- package/lib/components/table/Table.data.d.ts +2 -2
- package/package.json +1 -1
package/CHANGE_LOG.md
CHANGED
|
@@ -1,5 +1,29 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## [2.10.2](https://www.npmjs.com/package/@digital-ai/dot-components) (07/11/2023)
|
|
4
|
+
|
|
5
|
+
[Full Changelog](https://digital-ai.github.io/dot-components/?path=/story/introduction--page/digital-ai/dot-components/compare/2.10.1...2.10.2)
|
|
6
|
+
|
|
7
|
+
**Fixed bugs:**
|
|
8
|
+
|
|
9
|
+
- D-25823: adjust breadcrumb & link styles to match latest figma [\#1539](https://github.com/digital-ai/dot-components/pull/1539) ([CWSites](https://github.com/CWSites))
|
|
10
|
+
- D-25822: Remove improper capitalization of `onclick` [\#1538](https://github.com/digital-ai/dot-components/pull/1538) ([CWSites](https://github.com/CWSites))
|
|
11
|
+
|
|
12
|
+
**Misc:**
|
|
13
|
+
|
|
14
|
+
- S-91990: LinearProgress add aria-label [\#1537](https://github.com/digital-ai/dot-components/pull/1537) ([CWSites](https://github.com/CWSites))
|
|
15
|
+
- S-91989: remove default aria-label, add link label to missing link [\#1536](https://github.com/digital-ai/dot-components/pull/1536) ([CWSites](https://github.com/CWSites))
|
|
16
|
+
- S-91989: update link to have aria-label [\#1534](https://github.com/digital-ai/dot-components/pull/1534) ([CWSites](https://github.com/CWSites))
|
|
17
|
+
- `master` \> `develop` [\#1532](https://github.com/digital-ai/dot-components/pull/1532) ([angel-git](https://github.com/angel-git))
|
|
18
|
+
|
|
19
|
+
## [2.10.1](https://www.npmjs.com/package/@digital-ai/dot-components) (06/29/2023)
|
|
20
|
+
|
|
21
|
+
[Full Changelog](https://digital-ai.github.io/dot-components/?path=/story/introduction--page/digital-ai/dot-components/compare/2.10.0...2.10.1)
|
|
22
|
+
|
|
23
|
+
**Fixed bugs:**
|
|
24
|
+
|
|
25
|
+
- D-25690: DotRadioButtons missing name prop [\#1530](https://github.com/digital-ai/dot-components/pull/1530) ([ryangamble](https://github.com/ryangamble))
|
|
26
|
+
|
|
3
27
|
## [2.10.0](https://www.npmjs.com/package/@digital-ai/dot-components) (06/22/2023)
|
|
4
28
|
|
|
5
29
|
[Full Changelog](https://digital-ai.github.io/dot-components/?path=/story/introduction--page/digital-ai/dot-components/compare/2.9.0...2.10.0)
|
|
@@ -565,7 +589,6 @@
|
|
|
565
589
|
**Fixed bugs:**
|
|
566
590
|
|
|
567
591
|
- D-20378: update input margin to account for helper text [\#1212](https://github.com/digital-ai/dot-components/pull/1212) ([CWSites](https://github.com/CWSites))
|
|
568
|
-
- D-21918: Update `DotAlertBanner` to match Figma [\#1208](https://github.com/digital-ai/dot-components/pull/1208) ([CWSites](https://github.com/CWSites))
|
|
569
592
|
|
|
570
593
|
## [1.19.1](https://www.npmjs.com/package/@digital-ai/dot-components) (07/18/2022)
|
|
571
594
|
|
|
@@ -577,6 +600,7 @@
|
|
|
577
600
|
- D-20693: `DotSidebar` updates to match Figma [\#1214](https://github.com/digital-ai/dot-components/pull/1214) ([CWSites](https://github.com/CWSites))
|
|
578
601
|
- D-20329: add href to application logo [\#1213](https://github.com/digital-ai/dot-components/pull/1213) ([CWSites](https://github.com/CWSites))
|
|
579
602
|
- D-20404: update table border color [\#1211](https://github.com/digital-ai/dot-components/pull/1211) ([CWSites](https://github.com/CWSites))
|
|
603
|
+
- D-21918: Update `DotAlertBanner` to match Figma [\#1208](https://github.com/digital-ai/dot-components/pull/1208) ([CWSites](https://github.com/CWSites))
|
|
580
604
|
- D-21972: Adds props for custom tooltip position in ListItemProps [\#1207](https://github.com/digital-ai/dot-components/pull/1207) ([s-zimm](https://github.com/s-zimm))
|
|
581
605
|
|
|
582
606
|
## [1.19.0](https://www.npmjs.com/package/@digital-ai/dot-components) (07/11/2022)
|
|
@@ -851,6 +875,10 @@
|
|
|
851
875
|
|
|
852
876
|
[Full Changelog](https://digital-ai.github.io/dot-components/?path=/story/introduction--page/digital-ai/dot-components/compare/1.8.0...1.8.1)
|
|
853
877
|
|
|
878
|
+
**Fixed bugs:**
|
|
879
|
+
|
|
880
|
+
- D-19803: Fix DotDrawer regression [\#980](https://github.com/digital-ai/dot-components/pull/980) ([selsemore](https://github.com/selsemore))
|
|
881
|
+
|
|
854
882
|
**Misc:**
|
|
855
883
|
|
|
856
884
|
- S-76846: NX major upgrade to `13.7.3` [\#952](https://github.com/digital-ai/dot-components/pull/952) ([CWSites](https://github.com/CWSites))
|
|
@@ -866,7 +894,6 @@
|
|
|
866
894
|
|
|
867
895
|
**Fixed bugs:**
|
|
868
896
|
|
|
869
|
-
- D-19803: Fix DotDrawer regression [\#980](https://github.com/digital-ai/dot-components/pull/980) ([selsemore](https://github.com/selsemore))
|
|
870
897
|
- 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))
|
|
871
898
|
- 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))
|
|
872
899
|
|
|
@@ -1171,7 +1198,6 @@
|
|
|
1171
1198
|
- D-18997: when specified width of sidebar, it should be applied properly [\#737](https://github.com/digital-ai/dot-components/pull/737) ([CWSites](https://github.com/CWSites))
|
|
1172
1199
|
- 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))
|
|
1173
1200
|
- 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))
|
|
1174
|
-
- D-18963: add ariaLabel to sidebar collapse button [\#731](https://github.com/digital-ai/dot-components/pull/731) ([CWSites](https://github.com/CWSites))
|
|
1175
1201
|
|
|
1176
1202
|
**Misc:**
|
|
1177
1203
|
|
|
@@ -1189,6 +1215,7 @@
|
|
|
1189
1215
|
|
|
1190
1216
|
**Fixed bugs:**
|
|
1191
1217
|
|
|
1218
|
+
- D-18963: add ariaLabel to sidebar collapse button [\#731](https://github.com/digital-ai/dot-components/pull/731) ([CWSites](https://github.com/CWSites))
|
|
1192
1219
|
- D-18979: export `Tooltip` component [\#729](https://github.com/digital-ai/dot-components/pull/729) ([CWSites](https://github.com/CWSites))
|
|
1193
1220
|
|
|
1194
1221
|
**Misc:**
|
|
@@ -1421,6 +1448,7 @@
|
|
|
1421
1448
|
- Upload of commit icon [\#575](https://github.com/digital-ai/dot-components/pull/575) ([BojanKocijan](https://github.com/BojanKocijan))
|
|
1422
1449
|
- S-76321: Remove PB-related code from dot-components repo [\#570](https://github.com/digital-ai/dot-components/pull/570) ([dmiletic85](https://github.com/dmiletic85))
|
|
1423
1450
|
- Issue \#562: Fix EmptyState behavior when no imageSrc prop is passed [\#568](https://github.com/digital-ai/dot-components/pull/568) ([selsemore](https://github.com/selsemore))
|
|
1451
|
+
- Issue \#566: Fix DotPill console warning message [\#567](https://github.com/digital-ai/dot-components/pull/567) ([selsemore](https://github.com/selsemore))
|
|
1424
1452
|
- Navigation rail improvements [\#565](https://github.com/digital-ai/dot-components/pull/565) ([dmiletic85](https://github.com/dmiletic85))
|
|
1425
1453
|
- New icons 27 5 2021 [\#564](https://github.com/digital-ai/dot-components/pull/564) ([BojanKocijan](https://github.com/BojanKocijan))
|
|
1426
1454
|
- Add isUnderToolbar property to Sidebar for use beneath AppToolbar [\#560](https://github.com/digital-ai/dot-components/pull/560) ([selsemore](https://github.com/selsemore))
|
package/index.esm.js
CHANGED
|
@@ -1825,7 +1825,7 @@ const rootClassName$_ = 'dot-link';
|
|
|
1825
1825
|
const StyledLink = styled(Link).withConfig({
|
|
1826
1826
|
displayName: "Linkstyles__StyledLink",
|
|
1827
1827
|
componentId: "sc-1lpmaww-0"
|
|
1828
|
-
})(["", ""], () => css(["&.", "{cursor:pointer;&:hover
|
|
1828
|
+
})(["", ""], () => css(["&.", "{cursor:pointer;&:hover.MuiLink-underlineHover{text-decoration:none;}}"], rootClassName$_));
|
|
1829
1829
|
|
|
1830
1830
|
const DotLink = ({
|
|
1831
1831
|
ariaLabel,
|
|
@@ -1842,9 +1842,15 @@ const DotLink = ({
|
|
|
1842
1842
|
tabIndex: _tabIndex = 0,
|
|
1843
1843
|
target,
|
|
1844
1844
|
tooltip,
|
|
1845
|
-
underline
|
|
1845
|
+
underline: _underline = 'always'
|
|
1846
1846
|
}) => {
|
|
1847
1847
|
const rootClasses = useStylesWithRootClass(rootClassName$_, className);
|
|
1848
|
+
useEffect(() => {
|
|
1849
|
+
// Include a console warning if the link is not a string and no ariaLabel is provided
|
|
1850
|
+
if (!isString$1(children) && !ariaLabel) {
|
|
1851
|
+
console.warn(`a11y: Consider adding an 'ariaLabel' to 'DotLink' when used without text`);
|
|
1852
|
+
}
|
|
1853
|
+
}, []);
|
|
1848
1854
|
const handleKeyPress = event => {
|
|
1849
1855
|
if (onClick && event.key === 'Enter') {
|
|
1850
1856
|
event.preventDefault();
|
|
@@ -1870,7 +1876,7 @@ const DotLink = ({
|
|
|
1870
1876
|
role: _ariaRole,
|
|
1871
1877
|
tabIndex: _tabIndex,
|
|
1872
1878
|
target: target,
|
|
1873
|
-
underline:
|
|
1879
|
+
underline: _underline
|
|
1874
1880
|
}, {
|
|
1875
1881
|
children: children
|
|
1876
1882
|
}), void 0)
|
|
@@ -4209,6 +4215,7 @@ const DotAppToolbar = ({
|
|
|
4209
4215
|
className: "dot-branding"
|
|
4210
4216
|
}, {
|
|
4211
4217
|
children: [jsx(DotLink, Object.assign({
|
|
4218
|
+
ariaLabel: "Digital.ai Logo",
|
|
4212
4219
|
className: "primary-logo",
|
|
4213
4220
|
"data-testid": "primary-logo",
|
|
4214
4221
|
href: _primaryLogoHref
|
|
@@ -4220,6 +4227,7 @@ const DotAppToolbar = ({
|
|
|
4220
4227
|
children: jsx(ForwardRef, {}, void 0)
|
|
4221
4228
|
}), void 0)
|
|
4222
4229
|
}), void 0), displayAppLogo && jsx(DotLink, Object.assign({
|
|
4230
|
+
ariaLabel: "Application Logo",
|
|
4223
4231
|
href: _appLogoHref,
|
|
4224
4232
|
"data-testid": "app-logo"
|
|
4225
4233
|
}, {
|
|
@@ -4759,7 +4767,7 @@ const StyledBreadcrumbs = styled(Breadcrumbs).withConfig({
|
|
|
4759
4767
|
componentId: "sc-7cg374-1"
|
|
4760
4768
|
})(["", ""], ({
|
|
4761
4769
|
theme
|
|
4762
|
-
}) => css(["&.", "{margin-bottom:0;.MuiBreadcrumbs-ol{flex-wrap:nowrap;}.MuiBreadcrumbs-li,.separator{color:", ";margin:0;white-space:nowrap;}.separator{font-size:12px;width:20px;height:20px;padding:0;i{line-height:20px;}}.MuiBreadcrumbs-separator{margin:0;}.MuiLink-underlineHover{cursor:pointer;}.MuiBreadcrumbs-li:last-child{overflow:hidden;text-overflow:ellipsis;}.breadcrumb{padding:", ";}.current-page{color:", ";cursor:default;}}"], rootClassName$F, theme.palette.grey[
|
|
4770
|
+
}) => css(["&.", "{margin-bottom:0;.MuiBreadcrumbs-ol{flex-wrap:nowrap;}.MuiBreadcrumbs-li,.separator{color:", ";margin:0;white-space:nowrap;}.separator{font-size:12px;width:20px;height:20px;padding:0;i{line-height:20px;}}.MuiBreadcrumbs-separator{margin:0;}.MuiLink-underlineHover{cursor:pointer;}.MuiBreadcrumbs-li:last-child{overflow:hidden;text-overflow:ellipsis;}.breadcrumb{padding:", ";}.current-page{color:", ";cursor:default;}}"], rootClassName$F, theme.palette.grey[700], theme.spacing(0.5, 2), theme.palette.grey[700]));
|
|
4763
4771
|
|
|
4764
4772
|
const compareWidth = (parentEl, childEl) => {
|
|
4765
4773
|
return parentEl.getBoundingClientRect().width < childEl.getBoundingClientRect().width;
|
|
@@ -6406,6 +6414,7 @@ const DotRadioGroup = ({
|
|
|
6406
6414
|
disabled: optionDisabled || disableGroup,
|
|
6407
6415
|
label: optionLabel,
|
|
6408
6416
|
labelPlacement: _labelPlacement,
|
|
6417
|
+
name: name,
|
|
6409
6418
|
size: _size,
|
|
6410
6419
|
value: optionValue
|
|
6411
6420
|
}, optionValue);
|
|
@@ -8273,16 +8282,21 @@ const DotBodyCell = ({
|
|
|
8273
8282
|
iconSize: "small",
|
|
8274
8283
|
onClick: () => onActionMenuTrigger(wrapperRef.current, value),
|
|
8275
8284
|
size: "small"
|
|
8276
|
-
}, void 0) : value.map((item, index) =>
|
|
8277
|
-
|
|
8278
|
-
|
|
8279
|
-
|
|
8280
|
-
|
|
8281
|
-
|
|
8282
|
-
|
|
8283
|
-
|
|
8284
|
-
|
|
8285
|
-
|
|
8285
|
+
}, void 0) : value.map((item, index) => {
|
|
8286
|
+
if (item.onclick) {
|
|
8287
|
+
console.warn('The onclick property is deprecated, please use onClick instead');
|
|
8288
|
+
}
|
|
8289
|
+
return jsx(DotIconButton, {
|
|
8290
|
+
className: "dot-table-action-icon",
|
|
8291
|
+
"data-testid": item.dataTestId,
|
|
8292
|
+
disabled: item.disabled,
|
|
8293
|
+
iconId: item.iconId,
|
|
8294
|
+
iconSize: "small",
|
|
8295
|
+
onClick: item.onClick || item.onclick,
|
|
8296
|
+
size: "small",
|
|
8297
|
+
tooltip: item.tooltip
|
|
8298
|
+
}, `${cellKey}-icon-${index}`);
|
|
8299
|
+
})
|
|
8286
8300
|
}), void 0);
|
|
8287
8301
|
}
|
|
8288
8302
|
return getFormattedTableCellValue(value, typography);
|
|
@@ -9614,6 +9628,11 @@ const DotLinearProgress = ({
|
|
|
9614
9628
|
variant: _variant = 'indeterminate'
|
|
9615
9629
|
}) => {
|
|
9616
9630
|
const rootClasses = useStylesWithRootClass(rootClassName$2, className);
|
|
9631
|
+
useEffect(() => {
|
|
9632
|
+
if (!ariaLabel) {
|
|
9633
|
+
console.warn('a11y: DotLinearProgress must have an ariaLabel to describe the progress bar');
|
|
9634
|
+
}
|
|
9635
|
+
}, []);
|
|
9617
9636
|
return jsx(StyledLinearProgress, {
|
|
9618
9637
|
"aria-label": ariaLabel,
|
|
9619
9638
|
classes: {
|
package/index.umd.js
CHANGED
|
@@ -2064,7 +2064,7 @@
|
|
|
2064
2064
|
displayName: "Linkstyles__StyledLink",
|
|
2065
2065
|
componentId: "sc-1lpmaww-0"
|
|
2066
2066
|
})(templateObject_2$$ || (templateObject_2$$ = __makeTemplateObject(["\n ", "\n"], ["\n ", "\n"])), function () {
|
|
2067
|
-
return styled.css(templateObject_1$13 || (templateObject_1$13 = __makeTemplateObject(["\n &.", " {\n cursor: pointer;\n\n &:hover
|
|
2067
|
+
return styled.css(templateObject_1$13 || (templateObject_1$13 = __makeTemplateObject(["\n &.", " {\n cursor: pointer;\n\n &:hover.MuiLink-underlineHover {\n text-decoration: none;\n }\n }\n "], ["\n &.", " {\n cursor: pointer;\n\n &:hover.MuiLink-underlineHover {\n text-decoration: none;\n }\n }\n "])), rootClassName$_);
|
|
2068
2068
|
});
|
|
2069
2069
|
var templateObject_1$13, templateObject_2$$;
|
|
2070
2070
|
|
|
@@ -2087,8 +2087,15 @@
|
|
|
2087
2087
|
tabIndex = _e === void 0 ? 0 : _e,
|
|
2088
2088
|
target = _a.target,
|
|
2089
2089
|
tooltip = _a.tooltip,
|
|
2090
|
-
|
|
2090
|
+
_f = _a.underline,
|
|
2091
|
+
underline = _f === void 0 ? 'always' : _f;
|
|
2091
2092
|
var rootClasses = useStylesWithRootClass(rootClassName$_, className);
|
|
2093
|
+
React.useEffect(function () {
|
|
2094
|
+
// Include a console warning if the link is not a string and no ariaLabel is provided
|
|
2095
|
+
if (!isString$1(children) && !ariaLabel) {
|
|
2096
|
+
console.warn("a11y: Consider adding an 'ariaLabel' to 'DotLink' when used without text");
|
|
2097
|
+
}
|
|
2098
|
+
}, []);
|
|
2092
2099
|
var handleKeyPress = function handleKeyPress(event) {
|
|
2093
2100
|
if (onClick && event.key === 'Enter') {
|
|
2094
2101
|
event.preventDefault();
|
|
@@ -4637,6 +4644,7 @@
|
|
|
4637
4644
|
className: "dot-branding"
|
|
4638
4645
|
}, {
|
|
4639
4646
|
children: [jsxRuntime.jsx(DotLink, __assign({
|
|
4647
|
+
ariaLabel: "Digital.ai Logo",
|
|
4640
4648
|
className: "primary-logo",
|
|
4641
4649
|
"data-testid": "primary-logo",
|
|
4642
4650
|
href: primaryLogoHref
|
|
@@ -4648,6 +4656,7 @@
|
|
|
4648
4656
|
children: jsxRuntime.jsx(ForwardRef, {}, void 0)
|
|
4649
4657
|
}), void 0)
|
|
4650
4658
|
}), void 0), displayAppLogo && jsxRuntime.jsx(DotLink, __assign({
|
|
4659
|
+
ariaLabel: "Application Logo",
|
|
4651
4660
|
href: appLogoHref,
|
|
4652
4661
|
"data-testid": "app-logo"
|
|
4653
4662
|
}, {
|
|
@@ -5239,7 +5248,7 @@
|
|
|
5239
5248
|
componentId: "sc-7cg374-1"
|
|
5240
5249
|
})(templateObject_4$7 || (templateObject_4$7 = __makeTemplateObject(["\n ", "\n"], ["\n ", "\n"])), function (_a) {
|
|
5241
5250
|
var theme = _a.theme;
|
|
5242
|
-
return styled.css(templateObject_3$9 || (templateObject_3$9 = __makeTemplateObject(["\n &.", " {\n margin-bottom: 0;\n\n .MuiBreadcrumbs-ol {\n flex-wrap: nowrap;\n }\n .MuiBreadcrumbs-li,\n .separator {\n color: ", ";\n margin: 0;\n white-space: nowrap;\n }\n .separator {\n font-size: 12px;\n width: 20px;\n height: 20px;\n padding: 0;\n\n i {\n line-height: 20px;\n }\n }\n .MuiBreadcrumbs-separator {\n margin: 0;\n }\n .MuiLink-underlineHover {\n cursor: pointer;\n }\n\n .MuiBreadcrumbs-li:last-child {\n overflow: hidden;\n text-overflow: ellipsis;\n }\n\n .breadcrumb {\n padding: ", ";\n }\n\n .current-page {\n color: ", ";\n cursor: default;\n }\n }\n "], ["\n &.", " {\n margin-bottom: 0;\n\n .MuiBreadcrumbs-ol {\n flex-wrap: nowrap;\n }\n .MuiBreadcrumbs-li,\n .separator {\n color: ", ";\n margin: 0;\n white-space: nowrap;\n }\n .separator {\n font-size: 12px;\n width: 20px;\n height: 20px;\n padding: 0;\n\n i {\n line-height: 20px;\n }\n }\n .MuiBreadcrumbs-separator {\n margin: 0;\n }\n .MuiLink-underlineHover {\n cursor: pointer;\n }\n\n .MuiBreadcrumbs-li:last-child {\n overflow: hidden;\n text-overflow: ellipsis;\n }\n\n .breadcrumb {\n padding: ", ";\n }\n\n .current-page {\n color: ", ";\n cursor: default;\n }\n }\n "])), rootClassName$F, theme.palette.grey[
|
|
5251
|
+
return styled.css(templateObject_3$9 || (templateObject_3$9 = __makeTemplateObject(["\n &.", " {\n margin-bottom: 0;\n\n .MuiBreadcrumbs-ol {\n flex-wrap: nowrap;\n }\n .MuiBreadcrumbs-li,\n .separator {\n color: ", ";\n margin: 0;\n white-space: nowrap;\n }\n .separator {\n font-size: 12px;\n width: 20px;\n height: 20px;\n padding: 0;\n\n i {\n line-height: 20px;\n }\n }\n .MuiBreadcrumbs-separator {\n margin: 0;\n }\n .MuiLink-underlineHover {\n cursor: pointer;\n }\n\n .MuiBreadcrumbs-li:last-child {\n overflow: hidden;\n text-overflow: ellipsis;\n }\n\n .breadcrumb {\n padding: ", ";\n }\n\n .current-page {\n color: ", ";\n cursor: default;\n }\n }\n "], ["\n &.", " {\n margin-bottom: 0;\n\n .MuiBreadcrumbs-ol {\n flex-wrap: nowrap;\n }\n .MuiBreadcrumbs-li,\n .separator {\n color: ", ";\n margin: 0;\n white-space: nowrap;\n }\n .separator {\n font-size: 12px;\n width: 20px;\n height: 20px;\n padding: 0;\n\n i {\n line-height: 20px;\n }\n }\n .MuiBreadcrumbs-separator {\n margin: 0;\n }\n .MuiLink-underlineHover {\n cursor: pointer;\n }\n\n .MuiBreadcrumbs-li:last-child {\n overflow: hidden;\n text-overflow: ellipsis;\n }\n\n .breadcrumb {\n padding: ", ";\n }\n\n .current-page {\n color: ", ";\n cursor: default;\n }\n }\n "])), rootClassName$F, theme.palette.grey[700], theme.spacing(0.5, 2), theme.palette.grey[700]);
|
|
5243
5252
|
});
|
|
5244
5253
|
var templateObject_1$I, templateObject_2$F, templateObject_3$9, templateObject_4$7;
|
|
5245
5254
|
|
|
@@ -6971,6 +6980,7 @@
|
|
|
6971
6980
|
disabled: optionDisabled || disableGroup,
|
|
6972
6981
|
label: optionLabel,
|
|
6973
6982
|
labelPlacement: labelPlacement,
|
|
6983
|
+
name: name,
|
|
6974
6984
|
size: size,
|
|
6975
6985
|
value: optionValue
|
|
6976
6986
|
}, optionValue);
|
|
@@ -8994,13 +9004,16 @@
|
|
|
8994
9004
|
},
|
|
8995
9005
|
size: "small"
|
|
8996
9006
|
}, void 0) : value.map(function (item, index) {
|
|
9007
|
+
if (item.onclick) {
|
|
9008
|
+
console.warn('The onclick property is deprecated, please use onClick instead');
|
|
9009
|
+
}
|
|
8997
9010
|
return jsxRuntime.jsx(DotIconButton, {
|
|
8998
9011
|
className: "dot-table-action-icon",
|
|
8999
9012
|
"data-testid": item.dataTestId,
|
|
9000
9013
|
disabled: item.disabled,
|
|
9001
9014
|
iconId: item.iconId,
|
|
9002
9015
|
iconSize: "small",
|
|
9003
|
-
onClick: item.onclick,
|
|
9016
|
+
onClick: item.onClick || item.onclick,
|
|
9004
9017
|
size: "small",
|
|
9005
9018
|
tooltip: item.tooltip
|
|
9006
9019
|
}, cellKey + "-icon-" + index);
|
|
@@ -10466,6 +10479,11 @@
|
|
|
10466
10479
|
_b = _a.variant,
|
|
10467
10480
|
variant = _b === void 0 ? 'indeterminate' : _b;
|
|
10468
10481
|
var rootClasses = useStylesWithRootClass(rootClassName$2, className);
|
|
10482
|
+
React.useEffect(function () {
|
|
10483
|
+
if (!ariaLabel) {
|
|
10484
|
+
console.warn('a11y: DotLinearProgress must have an ariaLabel to describe the progress bar');
|
|
10485
|
+
}
|
|
10486
|
+
}, []);
|
|
10469
10487
|
return jsxRuntime.jsx(StyledLinearProgress, {
|
|
10470
10488
|
"aria-label": ariaLabel,
|
|
10471
10489
|
classes: {
|
|
@@ -4,7 +4,7 @@ export declare const actionItemArray: {
|
|
|
4
4
|
actions: {
|
|
5
5
|
children: JSX.Element;
|
|
6
6
|
key: string;
|
|
7
|
-
|
|
7
|
+
onClick: () => void;
|
|
8
8
|
}[];
|
|
9
9
|
}[];
|
|
10
10
|
export declare const actionCol: {
|
|
@@ -18,7 +18,7 @@ export declare const tableData: {
|
|
|
18
18
|
actions: {
|
|
19
19
|
children: JSX.Element;
|
|
20
20
|
key: string;
|
|
21
|
-
|
|
21
|
+
onClick: () => void;
|
|
22
22
|
}[];
|
|
23
23
|
}[];
|
|
24
24
|
type: string;
|