@digital-ai/dot-components 2.10.1 → 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 +25 -9
- package/index.esm.js +32 -14
- package/index.umd.js +21 -4
- package/lib/components/table/Table.data.d.ts +2 -2
- package/package.json +1 -1
package/CHANGE_LOG.md
CHANGED
|
@@ -1,5 +1,21 @@
|
|
|
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
|
+
|
|
3
19
|
## [2.10.1](https://www.npmjs.com/package/@digital-ai/dot-components) (06/29/2023)
|
|
4
20
|
|
|
5
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)
|
|
@@ -175,7 +191,6 @@
|
|
|
175
191
|
**Fixed bugs:**
|
|
176
192
|
|
|
177
193
|
- D-24672: update icon alignment in sidebar [\#1436](https://github.com/digital-ai/dot-components/pull/1436) ([CWSites](https://github.com/CWSites))
|
|
178
|
-
- D-24483: Do not hide the backdrop [\#1423](https://github.com/digital-ai/dot-components/pull/1423) ([jmcnally](https://github.com/jmcnally))
|
|
179
194
|
|
|
180
195
|
## [2.6.0](https://www.npmjs.com/package/@digital-ai/dot-components) (04/05/2023)
|
|
181
196
|
|
|
@@ -203,6 +218,10 @@
|
|
|
203
218
|
|
|
204
219
|
- S-90953: `DatePicker` component [\#1411](https://github.com/digital-ai/dot-components/pull/1411) ([dmiletic85](https://github.com/dmiletic85))
|
|
205
220
|
|
|
221
|
+
**Fixed bugs:**
|
|
222
|
+
|
|
223
|
+
- D-24483: Do not hide the backdrop [\#1423](https://github.com/digital-ai/dot-components/pull/1423) ([jmcnally](https://github.com/jmcnally))
|
|
224
|
+
|
|
206
225
|
**Misc:**
|
|
207
226
|
|
|
208
227
|
- resolve build issues with vsm-hub demo [\#1424](https://github.com/digital-ai/dot-components/pull/1424) ([CWSites](https://github.com/CWSites))
|
|
@@ -236,7 +255,6 @@
|
|
|
236
255
|
|
|
237
256
|
- D-24317 Fix height on InlineEdit [\#1414](https://github.com/digital-ai/dot-components/pull/1414) ([angel-git](https://github.com/angel-git))
|
|
238
257
|
- D-24419 `InlineEdit` show tooltip on readonly as well [\#1413](https://github.com/digital-ai/dot-components/pull/1413) ([angel-git](https://github.com/angel-git))
|
|
239
|
-
- D-24235: Empty table pagination [\#1402](https://github.com/digital-ai/dot-components/pull/1402) ([ryangamble](https://github.com/ryangamble))
|
|
240
258
|
|
|
241
259
|
## [2.5.1](https://www.npmjs.com/package/@digital-ai/dot-components) (03/14/2023)
|
|
242
260
|
|
|
@@ -257,6 +275,7 @@
|
|
|
257
275
|
|
|
258
276
|
**Fixed bugs:**
|
|
259
277
|
|
|
278
|
+
- D-24235: Empty table pagination [\#1402](https://github.com/digital-ai/dot-components/pull/1402) ([ryangamble](https://github.com/ryangamble))
|
|
260
279
|
- D-24216: A few minor app-switcher display changes [\#1400](https://github.com/digital-ai/dot-components/pull/1400) ([jmcnally](https://github.com/jmcnally))
|
|
261
280
|
- Issue \#1271: Updates to `AutoComplete` sizing with `dense` and `size` props [\#1395](https://github.com/digital-ai/dot-components/pull/1395) ([CWSites](https://github.com/CWSites))
|
|
262
281
|
|
|
@@ -516,6 +535,7 @@
|
|
|
516
535
|
|
|
517
536
|
**Fixed bugs:**
|
|
518
537
|
|
|
538
|
+
- S-86692: component cleanup [\#1238](https://github.com/digital-ai/dot-components/pull/1238) ([CWSites](https://github.com/CWSites))
|
|
519
539
|
- S-84151: fix e2e tests for Release 2.0 [\#1146](https://github.com/digital-ai/dot-components/pull/1146) ([CWSites](https://github.com/CWSites))
|
|
520
540
|
|
|
521
541
|
**Misc:**
|
|
@@ -546,7 +566,6 @@
|
|
|
546
566
|
|
|
547
567
|
**Fixed bugs:**
|
|
548
568
|
|
|
549
|
-
- S-86692: component cleanup [\#1238](https://github.com/digital-ai/dot-components/pull/1238) ([CWSites](https://github.com/CWSites))
|
|
550
569
|
- D-20931: `DotAccordion` - display top border correctly when expanded [\#1232](https://github.com/digital-ai/dot-components/pull/1232) ([CWSites](https://github.com/CWSites))
|
|
551
570
|
- 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))
|
|
552
571
|
|
|
@@ -570,7 +589,6 @@
|
|
|
570
589
|
**Fixed bugs:**
|
|
571
590
|
|
|
572
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))
|
|
573
|
-
- D-21918: Update `DotAlertBanner` to match Figma [\#1208](https://github.com/digital-ai/dot-components/pull/1208) ([CWSites](https://github.com/CWSites))
|
|
574
592
|
|
|
575
593
|
## [1.19.1](https://www.npmjs.com/package/@digital-ai/dot-components) (07/18/2022)
|
|
576
594
|
|
|
@@ -582,6 +600,7 @@
|
|
|
582
600
|
- D-20693: `DotSidebar` updates to match Figma [\#1214](https://github.com/digital-ai/dot-components/pull/1214) ([CWSites](https://github.com/CWSites))
|
|
583
601
|
- D-20329: add href to application logo [\#1213](https://github.com/digital-ai/dot-components/pull/1213) ([CWSites](https://github.com/CWSites))
|
|
584
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))
|
|
585
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))
|
|
586
605
|
|
|
587
606
|
## [1.19.0](https://www.npmjs.com/package/@digital-ai/dot-components) (07/11/2022)
|
|
@@ -937,6 +956,7 @@
|
|
|
937
956
|
|
|
938
957
|
**Fixed bugs:**
|
|
939
958
|
|
|
959
|
+
- D-19415: `1.6.0` - Sidebar links broken, import was moved [\#926](https://github.com/digital-ai/dot-components/pull/926) ([dmiletic85](https://github.com/dmiletic85))
|
|
940
960
|
- D-19390: `Autocomplete` doesn't have `dot-input` class [\#924](https://github.com/digital-ai/dot-components/pull/924) ([dmiletic85](https://github.com/dmiletic85))
|
|
941
961
|
|
|
942
962
|
## [1.6.0](https://www.npmjs.com/package/@digital-ai/dot-components) (01/03/2022)
|
|
@@ -949,7 +969,6 @@
|
|
|
949
969
|
|
|
950
970
|
**Fixed bugs:**
|
|
951
971
|
|
|
952
|
-
- D-19415: `1.6.0` - Sidebar links broken, import was moved [\#926](https://github.com/digital-ai/dot-components/pull/926) ([dmiletic85](https://github.com/dmiletic85))
|
|
953
972
|
- D-19382: `DynamicForm`: `isRequired` with value of `false` is not respected [\#919](https://github.com/digital-ai/dot-components/pull/919) ([dmiletic85](https://github.com/dmiletic85))
|
|
954
973
|
- D-19381: `Storybook`: issue while clicking on `Docs` page of `Menu` component [\#917](https://github.com/digital-ai/dot-components/pull/917) ([dmiletic85](https://github.com/dmiletic85))
|
|
955
974
|
- D-19379: `DynamicForm` doesn't export all types [\#915](https://github.com/digital-ai/dot-components/pull/915) ([dmiletic85](https://github.com/dmiletic85))
|
|
@@ -1092,6 +1111,7 @@
|
|
|
1092
1111
|
- S-80369: Create `ProgressButton` component [\#822](https://github.com/digital-ai/dot-components/pull/822) ([dmiletic85](https://github.com/dmiletic85))
|
|
1093
1112
|
- 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))
|
|
1094
1113
|
- S-80264: Agility wrapper sandbox documentation [\#810](https://github.com/digital-ai/dot-components/pull/810) ([CWSites](https://github.com/CWSites))
|
|
1114
|
+
- S-79569: `DotTable` - ability to add classes to rows & cells [\#799](https://github.com/digital-ai/dot-components/pull/799) ([monapatel91](https://github.com/monapatel91))
|
|
1095
1115
|
|
|
1096
1116
|
**Fixed bugs:**
|
|
1097
1117
|
|
|
@@ -1109,10 +1129,6 @@
|
|
|
1109
1129
|
|
|
1110
1130
|
[Full Changelog](https://digital-ai.github.io/dot-components/?path=/story/introduction--page/digital-ai/dot-components/compare/1.3.2...1.3.3)
|
|
1111
1131
|
|
|
1112
|
-
**Features:**
|
|
1113
|
-
|
|
1114
|
-
- S-79569: `DotTable` - ability to add classes to rows & cells [\#799](https://github.com/digital-ai/dot-components/pull/799) ([monapatel91](https://github.com/monapatel91))
|
|
1115
|
-
|
|
1116
1132
|
**Fixed bugs:**
|
|
1117
1133
|
|
|
1118
1134
|
- D-19069: `AutoComplete` z-index not behaving as expected [\#793](https://github.com/digital-ai/dot-components/pull/793) ([CWSites](https://github.com/CWSites))
|
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;
|
|
@@ -8274,16 +8282,21 @@ const DotBodyCell = ({
|
|
|
8274
8282
|
iconSize: "small",
|
|
8275
8283
|
onClick: () => onActionMenuTrigger(wrapperRef.current, value),
|
|
8276
8284
|
size: "small"
|
|
8277
|
-
}, void 0) : value.map((item, index) =>
|
|
8278
|
-
|
|
8279
|
-
|
|
8280
|
-
|
|
8281
|
-
|
|
8282
|
-
|
|
8283
|
-
|
|
8284
|
-
|
|
8285
|
-
|
|
8286
|
-
|
|
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
|
+
})
|
|
8287
8300
|
}), void 0);
|
|
8288
8301
|
}
|
|
8289
8302
|
return getFormattedTableCellValue(value, typography);
|
|
@@ -9615,6 +9628,11 @@ const DotLinearProgress = ({
|
|
|
9615
9628
|
variant: _variant = 'indeterminate'
|
|
9616
9629
|
}) => {
|
|
9617
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
|
+
}, []);
|
|
9618
9636
|
return jsx(StyledLinearProgress, {
|
|
9619
9637
|
"aria-label": ariaLabel,
|
|
9620
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
|
|
|
@@ -8995,13 +9004,16 @@
|
|
|
8995
9004
|
},
|
|
8996
9005
|
size: "small"
|
|
8997
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
|
+
}
|
|
8998
9010
|
return jsxRuntime.jsx(DotIconButton, {
|
|
8999
9011
|
className: "dot-table-action-icon",
|
|
9000
9012
|
"data-testid": item.dataTestId,
|
|
9001
9013
|
disabled: item.disabled,
|
|
9002
9014
|
iconId: item.iconId,
|
|
9003
9015
|
iconSize: "small",
|
|
9004
|
-
onClick: item.onclick,
|
|
9016
|
+
onClick: item.onClick || item.onclick,
|
|
9005
9017
|
size: "small",
|
|
9006
9018
|
tooltip: item.tooltip
|
|
9007
9019
|
}, cellKey + "-icon-" + index);
|
|
@@ -10467,6 +10479,11 @@
|
|
|
10467
10479
|
_b = _a.variant,
|
|
10468
10480
|
variant = _b === void 0 ? 'indeterminate' : _b;
|
|
10469
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
|
+
}, []);
|
|
10470
10487
|
return jsxRuntime.jsx(StyledLinearProgress, {
|
|
10471
10488
|
"aria-label": ariaLabel,
|
|
10472
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;
|