@digital-ai/dot-components 2.17.2 → 2.17.3
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 +15 -7
- package/index.esm.js +40 -38
- package/index.umd.js +40 -38
- package/package.json +1 -1
package/CHANGE_LOG.md
CHANGED
|
@@ -1,5 +1,13 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## [2.17.3](https://www.npmjs.com/package/@digital-ai/dot-components) (10/11/2023)
|
|
4
|
+
|
|
5
|
+
[Full Changelog](https://digital-ai.github.io/dot-components/?path=/story/introduction--page/digital-ai/dot-components/compare/2.17.2...2.17.3)
|
|
6
|
+
|
|
7
|
+
**Fixed bugs:**
|
|
8
|
+
|
|
9
|
+
- D-21162: Nested List should not be a child of the parent ListItem [\#1665](https://github.com/digital-ai/dot-components/pull/1665) ([s-zimm](https://github.com/s-zimm))
|
|
10
|
+
|
|
3
11
|
## [2.17.2](https://www.npmjs.com/package/@digital-ai/dot-components) (10/10/2023)
|
|
4
12
|
|
|
5
13
|
[Full Changelog](https://digital-ai.github.io/dot-components/?path=/story/introduction--page/digital-ai/dot-components/compare/2.17.1...2.17.2)
|
|
@@ -536,6 +544,7 @@
|
|
|
536
544
|
|
|
537
545
|
**Fixed bugs:**
|
|
538
546
|
|
|
547
|
+
- S-90105 `DotAutoComplete`: fix `readOnly` input attribute [\#1357](https://github.com/digital-ai/dot-components/pull/1357) ([angel-git](https://github.com/angel-git))
|
|
539
548
|
- D-22139: date input field label [\#1353](https://github.com/digital-ai/dot-components/pull/1353) ([CWSites](https://github.com/CWSites))
|
|
540
549
|
- D-21789: display ellipsis correctly when table truncated [\#1352](https://github.com/digital-ai/dot-components/pull/1352) ([CWSites](https://github.com/CWSites))
|
|
541
550
|
- D-21193: adjust when truncated tooltip is displayed [\#1350](https://github.com/digital-ai/dot-components/pull/1350) ([CWSites](https://github.com/CWSites))
|
|
@@ -556,10 +565,6 @@
|
|
|
556
565
|
|
|
557
566
|
- S-90007 Expose ListboxComponent for `DotAutocomplete` [\#1365](https://github.com/digital-ai/dot-components/pull/1365) ([angel-git](https://github.com/angel-git))
|
|
558
567
|
|
|
559
|
-
**Fixed bugs:**
|
|
560
|
-
|
|
561
|
-
- S-90105 `DotAutoComplete`: fix `readOnly` input attribute [\#1357](https://github.com/digital-ai/dot-components/pull/1357) ([angel-git](https://github.com/angel-git))
|
|
562
|
-
|
|
563
568
|
## [2.2.0](https://www.npmjs.com/package/@digital-ai/dot-components) (12/28/2022)
|
|
564
569
|
|
|
565
570
|
[Full Changelog](https://digital-ai.github.io/dot-components/?path=/story/introduction--page/digital-ai/dot-components/compare/2.1.1...2.2.0)
|
|
@@ -894,7 +899,6 @@
|
|
|
894
899
|
|
|
895
900
|
- D-20970: DotTableActions component [\#1134](https://github.com/digital-ai/dot-components/pull/1134) ([selsemore](https://github.com/selsemore))
|
|
896
901
|
- D-20359: only display tooltip if string [\#1127](https://github.com/digital-ai/dot-components/pull/1127) ([CWSites](https://github.com/CWSites))
|
|
897
|
-
- D-20660: `DotNavigationRail`: Should be able to update the selected rail [\#1106](https://github.com/digital-ai/dot-components/pull/1106) ([dmiletic85](https://github.com/dmiletic85))
|
|
898
902
|
|
|
899
903
|
## [1.15.0](https://www.npmjs.com/package/@digital-ai/dot-components) (04/21/2022)
|
|
900
904
|
|
|
@@ -913,6 +917,7 @@
|
|
|
913
917
|
- D-20763: Fix bulk action toolbar upper corners [\#1118](https://github.com/digital-ai/dot-components/pull/1118) ([selsemore](https://github.com/selsemore))
|
|
914
918
|
- D-20736: Fix text alignment for small DotAvatar [\#1116](https://github.com/digital-ai/dot-components/pull/1116) ([selsemore](https://github.com/selsemore))
|
|
915
919
|
- D-20719: `DotTable`: Checkbox column takes up to much space in a multi-select table [\#1112](https://github.com/digital-ai/dot-components/pull/1112) ([dmiletic85](https://github.com/dmiletic85))
|
|
920
|
+
- D-20660: `DotNavigationRail`: Should be able to update the selected rail [\#1106](https://github.com/digital-ai/dot-components/pull/1106) ([dmiletic85](https://github.com/dmiletic85))
|
|
916
921
|
|
|
917
922
|
## [1.14.0](https://www.npmjs.com/package/@digital-ai/dot-components) (04/01/2022)
|
|
918
923
|
|
|
@@ -1133,7 +1138,6 @@
|
|
|
1133
1138
|
**Features:**
|
|
1134
1139
|
|
|
1135
1140
|
- S-80342: `DotTable` MultiSelect support [\#928](https://github.com/digital-ai/dot-components/pull/928) ([dmiletic85](https://github.com/dmiletic85))
|
|
1136
|
-
- S-78917: Character limit for breadcrumb items [\#921](https://github.com/digital-ai/dot-components/pull/921) ([monapatel91](https://github.com/monapatel91))
|
|
1137
1141
|
|
|
1138
1142
|
**Fixed bugs:**
|
|
1139
1143
|
|
|
@@ -1148,6 +1152,10 @@
|
|
|
1148
1152
|
|
|
1149
1153
|
[Full Changelog](https://digital-ai.github.io/dot-components/?path=/story/introduction--page/digital-ai/dot-components/compare/1.6.0...1.6.1)
|
|
1150
1154
|
|
|
1155
|
+
**Features:**
|
|
1156
|
+
|
|
1157
|
+
- S-78917: Character limit for breadcrumb items [\#921](https://github.com/digital-ai/dot-components/pull/921) ([monapatel91](https://github.com/monapatel91))
|
|
1158
|
+
|
|
1151
1159
|
**Fixed bugs:**
|
|
1152
1160
|
|
|
1153
1161
|
- 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))
|
|
@@ -1478,7 +1486,6 @@
|
|
|
1478
1486
|
**Fixed bugs:**
|
|
1479
1487
|
|
|
1480
1488
|
- D-18817: set mainMenuItems to `null` by default [\#688](https://github.com/digital-ai/dot-components/pull/688) ([CWSites](https://github.com/CWSites))
|
|
1481
|
-
- D-18664: update link to allow for keypress [\#686](https://github.com/digital-ai/dot-components/pull/686) ([CWSites](https://github.com/CWSites))
|
|
1482
1489
|
- D-18665: AppToolbar z-index update [\#685](https://github.com/digital-ai/dot-components/pull/685) ([CWSites](https://github.com/CWSites))
|
|
1483
1490
|
- D-18663: Update AutoComplete value typing [\#684](https://github.com/digital-ai/dot-components/pull/684) ([CWSites](https://github.com/CWSites))
|
|
1484
1491
|
|
|
@@ -1492,6 +1499,7 @@
|
|
|
1492
1499
|
|
|
1493
1500
|
**Fixed bugs:**
|
|
1494
1501
|
|
|
1502
|
+
- D-18664: update link to allow for keypress [\#686](https://github.com/digital-ai/dot-components/pull/686) ([CWSites](https://github.com/CWSites))
|
|
1495
1503
|
- D-18421: close hamburger on navigate [\#679](https://github.com/digital-ai/dot-components/pull/679) ([CWSites](https://github.com/CWSites))
|
|
1496
1504
|
|
|
1497
1505
|
**Misc:**
|
package/index.esm.js
CHANGED
|
@@ -2724,44 +2724,46 @@ const DotListItem = ({
|
|
|
2724
2724
|
}, void 0), renderListItemText(), showEndIcon && renderListItemEndIcon()]
|
|
2725
2725
|
}), void 0);
|
|
2726
2726
|
const ListItem = onClick || href ? StyledListItemButton : StyledListItem;
|
|
2727
|
-
return
|
|
2728
|
-
|
|
2729
|
-
|
|
2730
|
-
|
|
2731
|
-
|
|
2732
|
-
|
|
2733
|
-
|
|
2734
|
-
|
|
2735
|
-
|
|
2736
|
-
|
|
2737
|
-
|
|
2738
|
-
|
|
2739
|
-
|
|
2740
|
-
|
|
2741
|
-
|
|
2742
|
-
children:
|
|
2743
|
-
|
|
2744
|
-
|
|
2745
|
-
|
|
2746
|
-
|
|
2747
|
-
|
|
2748
|
-
children:
|
|
2749
|
-
children: startIcon
|
|
2750
|
-
|
|
2751
|
-
|
|
2752
|
-
|
|
2753
|
-
|
|
2754
|
-
|
|
2755
|
-
|
|
2756
|
-
|
|
2757
|
-
|
|
2758
|
-
|
|
2759
|
-
|
|
2760
|
-
|
|
2761
|
-
|
|
2762
|
-
|
|
2763
|
-
|
|
2764
|
-
|
|
2727
|
+
return jsxs(Fragment, {
|
|
2728
|
+
children: [jsx(ListItem, Object.assign({
|
|
2729
|
+
"aria-label": ariaLabel || tooltip,
|
|
2730
|
+
classes: {
|
|
2731
|
+
root: rootClasses
|
|
2732
|
+
},
|
|
2733
|
+
component: _component2,
|
|
2734
|
+
"data-testid": dataTestId,
|
|
2735
|
+
divider: _divider,
|
|
2736
|
+
href: onClick ? null : href,
|
|
2737
|
+
onClick: onClick || !href ? handleClick : null,
|
|
2738
|
+
role: _ariaRole2,
|
|
2739
|
+
selected: isFlyout ? isOpened : selected,
|
|
2740
|
+
target: target
|
|
2741
|
+
}, {
|
|
2742
|
+
children: jsx(Fragment, {
|
|
2743
|
+
children: jsx(DotTooltip, Object.assign({
|
|
2744
|
+
"data-testid": `${dataTestId}-tooltip`,
|
|
2745
|
+
placement: _tooltipPlacement,
|
|
2746
|
+
title: tooltip
|
|
2747
|
+
}, {
|
|
2748
|
+
children: href && !onClick ? renderListItemLink : jsxs(Fragment, {
|
|
2749
|
+
children: [startIcon && jsx(ListItemIcon, {
|
|
2750
|
+
children: startIcon
|
|
2751
|
+
}, void 0), renderListItemText(), showEndIcon && renderListItemEndIcon()]
|
|
2752
|
+
}, void 0)
|
|
2753
|
+
}), void 0)
|
|
2754
|
+
}, void 0)
|
|
2755
|
+
}), void 0), hasChildren && jsx(NestedList, {
|
|
2756
|
+
anchorEl: anchorEl,
|
|
2757
|
+
ariaLabel: "nested list",
|
|
2758
|
+
"data-testid": "nestedList",
|
|
2759
|
+
items: _items2,
|
|
2760
|
+
menuPlacement: menuPlacement,
|
|
2761
|
+
nestedDrawerLeftSpacing: nestedDrawerLeftSpacing,
|
|
2762
|
+
onMenuLeave: handleMenuLeave,
|
|
2763
|
+
open: isOpened,
|
|
2764
|
+
type: nestedListType
|
|
2765
|
+
}, void 0)]
|
|
2766
|
+
}, void 0);
|
|
2765
2767
|
};
|
|
2766
2768
|
const NestedList = ({
|
|
2767
2769
|
ariaLabel,
|
package/index.umd.js
CHANGED
|
@@ -3051,44 +3051,46 @@
|
|
|
3051
3051
|
}, void 0), renderListItemText(), showEndIcon && renderListItemEndIcon()]
|
|
3052
3052
|
}), void 0);
|
|
3053
3053
|
var ListItem = onClick || href ? StyledListItemButton : StyledListItem;
|
|
3054
|
-
return jsxRuntime.
|
|
3055
|
-
|
|
3056
|
-
|
|
3057
|
-
|
|
3058
|
-
|
|
3059
|
-
|
|
3060
|
-
|
|
3061
|
-
|
|
3062
|
-
|
|
3063
|
-
|
|
3064
|
-
|
|
3065
|
-
|
|
3066
|
-
|
|
3067
|
-
|
|
3068
|
-
|
|
3069
|
-
children:
|
|
3070
|
-
|
|
3071
|
-
|
|
3072
|
-
|
|
3073
|
-
|
|
3074
|
-
|
|
3075
|
-
children:
|
|
3076
|
-
children: startIcon
|
|
3077
|
-
|
|
3078
|
-
|
|
3079
|
-
|
|
3080
|
-
|
|
3081
|
-
|
|
3082
|
-
|
|
3083
|
-
|
|
3084
|
-
|
|
3085
|
-
|
|
3086
|
-
|
|
3087
|
-
|
|
3088
|
-
|
|
3089
|
-
|
|
3090
|
-
|
|
3091
|
-
|
|
3054
|
+
return jsxRuntime.jsxs(jsxRuntime.Fragment, {
|
|
3055
|
+
children: [jsxRuntime.jsx(ListItem, __assign({
|
|
3056
|
+
"aria-label": ariaLabel || tooltip,
|
|
3057
|
+
classes: {
|
|
3058
|
+
root: rootClasses
|
|
3059
|
+
},
|
|
3060
|
+
component: component,
|
|
3061
|
+
"data-testid": dataTestId,
|
|
3062
|
+
divider: divider,
|
|
3063
|
+
href: onClick ? null : href,
|
|
3064
|
+
onClick: onClick || !href ? handleClick : null,
|
|
3065
|
+
role: ariaRole,
|
|
3066
|
+
selected: isFlyout ? isOpened : selected,
|
|
3067
|
+
target: target
|
|
3068
|
+
}, {
|
|
3069
|
+
children: jsxRuntime.jsx(jsxRuntime.Fragment, {
|
|
3070
|
+
children: jsxRuntime.jsx(DotTooltip, __assign({
|
|
3071
|
+
"data-testid": dataTestId + "-tooltip",
|
|
3072
|
+
placement: tooltipPlacement,
|
|
3073
|
+
title: tooltip
|
|
3074
|
+
}, {
|
|
3075
|
+
children: href && !onClick ? renderListItemLink : jsxRuntime.jsxs(jsxRuntime.Fragment, {
|
|
3076
|
+
children: [startIcon && jsxRuntime.jsx(material.ListItemIcon, {
|
|
3077
|
+
children: startIcon
|
|
3078
|
+
}, void 0), renderListItemText(), showEndIcon && renderListItemEndIcon()]
|
|
3079
|
+
}, void 0)
|
|
3080
|
+
}), void 0)
|
|
3081
|
+
}, void 0)
|
|
3082
|
+
}), void 0), hasChildren && jsxRuntime.jsx(NestedList, {
|
|
3083
|
+
anchorEl: anchorEl,
|
|
3084
|
+
ariaLabel: "nested list",
|
|
3085
|
+
"data-testid": "nestedList",
|
|
3086
|
+
items: items,
|
|
3087
|
+
menuPlacement: menuPlacement,
|
|
3088
|
+
nestedDrawerLeftSpacing: nestedDrawerLeftSpacing,
|
|
3089
|
+
onMenuLeave: handleMenuLeave,
|
|
3090
|
+
open: isOpened,
|
|
3091
|
+
type: nestedListType
|
|
3092
|
+
}, void 0)]
|
|
3093
|
+
}, void 0);
|
|
3092
3094
|
};
|
|
3093
3095
|
var NestedList = function NestedList(_a) {
|
|
3094
3096
|
var ariaLabel = _a.ariaLabel,
|