@digital-ai/dot-components 2.5.4 → 2.5.5
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 +22 -17
- package/index.esm.js +6 -1
- package/index.umd.js +6 -1
- package/package.json +1 -1
package/CHANGE_LOG.md
CHANGED
|
@@ -1,5 +1,14 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## [2.5.5](https://www.npmjs.com/package/@digital-ai/dot-components) (03/31/2023)
|
|
4
|
+
|
|
5
|
+
[Full Changelog](https://digital-ai.github.io/dot-components/?path=/story/introduction--page/digital-ai/dot-components/compare/2.5.4...2.5.5)
|
|
6
|
+
|
|
7
|
+
**Fixed bugs:**
|
|
8
|
+
|
|
9
|
+
- S-82103: Update InlineEdit state [\#1430](https://github.com/digital-ai/dot-components/pull/1430) ([ryangamble](https://github.com/ryangamble))
|
|
10
|
+
- D-24591: Align icon on `ButtonToggle` [\#1427](https://github.com/digital-ai/dot-components/pull/1427) ([angel-git](https://github.com/angel-git))
|
|
11
|
+
|
|
3
12
|
## [2.5.4](https://www.npmjs.com/package/@digital-ai/dot-components) (03/29/2023)
|
|
4
13
|
|
|
5
14
|
[Full Changelog](https://digital-ai.github.io/dot-components/?path=/story/introduction--page/digital-ai/dot-components/compare/2.5.3...2.5.4)
|
|
@@ -12,10 +21,6 @@
|
|
|
12
21
|
|
|
13
22
|
- D-24483: Do not hide the backdrop [\#1423](https://github.com/digital-ai/dot-components/pull/1423) ([jmcnally](https://github.com/jmcnally))
|
|
14
23
|
|
|
15
|
-
**Misc:**
|
|
16
|
-
|
|
17
|
-
- resolve build issues with vsm-hub demo [\#1424](https://github.com/digital-ai/dot-components/pull/1424) ([CWSites](https://github.com/CWSites))
|
|
18
|
-
|
|
19
24
|
## [2.5.3](https://www.npmjs.com/package/@digital-ai/dot-components) (03/21/2023)
|
|
20
25
|
|
|
21
26
|
[Full Changelog](https://digital-ai.github.io/dot-components/?path=/story/introduction--page/digital-ai/dot-components/compare/1.21.10...2.5.3)
|
|
@@ -32,6 +37,10 @@
|
|
|
32
37
|
|
|
33
38
|
- D-24419 InlineEdit: show tooltip on readonly as well [\#1417](https://github.com/digital-ai/dot-components/pull/1417) ([angel-git](https://github.com/angel-git))
|
|
34
39
|
|
|
40
|
+
**Misc:**
|
|
41
|
+
|
|
42
|
+
- resolve build issues with vsm-hub demo [\#1424](https://github.com/digital-ai/dot-components/pull/1424) ([CWSites](https://github.com/CWSites))
|
|
43
|
+
|
|
35
44
|
## [2.5.2](https://www.npmjs.com/package/@digital-ai/dot-components) (03/17/2023)
|
|
36
45
|
|
|
37
46
|
[Full Changelog](https://digital-ai.github.io/dot-components/?path=/story/introduction--page/digital-ai/dot-components/compare/2.5.1...2.5.2)
|
|
@@ -45,6 +54,7 @@
|
|
|
45
54
|
|
|
46
55
|
- D-24317 Fix height on InlineEdit [\#1414](https://github.com/digital-ai/dot-components/pull/1414) ([angel-git](https://github.com/angel-git))
|
|
47
56
|
- 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))
|
|
57
|
+
- S-89896: Still trying to get SQ off its \(non-\)duplicate obsession [\#1388](https://github.com/digital-ai/dot-components/pull/1388) ([jmcnally](https://github.com/jmcnally))
|
|
48
58
|
|
|
49
59
|
## [2.5.1](https://www.npmjs.com/package/@digital-ai/dot-components) (03/14/2023)
|
|
50
60
|
|
|
@@ -96,7 +106,6 @@
|
|
|
96
106
|
|
|
97
107
|
**Fixed bugs:**
|
|
98
108
|
|
|
99
|
-
- S-89896: Still trying to get SQ off its \(non-\)duplicate obsession [\#1388](https://github.com/digital-ai/dot-components/pull/1388) ([jmcnally](https://github.com/jmcnally))
|
|
100
109
|
- S-89896: Sort app types alphabetically [\#1384](https://github.com/digital-ai/dot-components/pull/1384) ([jmcnally](https://github.com/jmcnally))
|
|
101
110
|
- S-89896: Handle non-product apps in their own group [\#1381](https://github.com/digital-ai/dot-components/pull/1381) ([jmcnally](https://github.com/jmcnally))
|
|
102
111
|
|
|
@@ -299,6 +308,10 @@
|
|
|
299
308
|
- S-87616 Adjust left margin for helper text [\#1262](https://github.com/digital-ai/dot-components/pull/1262) ([nikolinadapic](https://github.com/nikolinadapic))
|
|
300
309
|
- S-87599: `DotAutocomplete` Add optional `persistentLabel` prop [\#1258](https://github.com/digital-ai/dot-components/pull/1258) ([dmiletic85](https://github.com/dmiletic85))
|
|
301
310
|
|
|
311
|
+
**Fixed bugs:**
|
|
312
|
+
|
|
313
|
+
- S-85900: Optional behavior for app toolbar click away to close main menu [\#1256](https://github.com/digital-ai/dot-components/pull/1256) ([ray-jonathan](https://github.com/ray-jonathan))
|
|
314
|
+
|
|
302
315
|
## [2.0.0-rc.2](https://www.npmjs.com/package/@digital-ai/dot-components) (09/15/2022)
|
|
303
316
|
|
|
304
317
|
[Full Changelog](https://digital-ai.github.io/dot-components/?path=/story/introduction--page/digital-ai/dot-components/compare/1.21.2...2.0.0-rc.2)
|
|
@@ -311,17 +324,13 @@
|
|
|
311
324
|
|
|
312
325
|
- S-87316 Add focus state for Inline Edit [\#1255](https://github.com/digital-ai/dot-components/pull/1255) ([nikolinadapic](https://github.com/nikolinadapic))
|
|
313
326
|
|
|
314
|
-
**Fixed bugs:**
|
|
315
|
-
|
|
316
|
-
- S-85900: Optional behavior for app toolbar click away to close main menu [\#1256](https://github.com/digital-ai/dot-components/pull/1256) ([ray-jonathan](https://github.com/ray-jonathan))
|
|
317
|
-
- D-22241: `DotFileListItem`: fix focus states and expose `onKeyPress` [\#1254](https://github.com/digital-ai/dot-components/pull/1254) ([dmiletic85](https://github.com/dmiletic85))
|
|
318
|
-
|
|
319
327
|
## [2.0.0-rc.1](https://www.npmjs.com/package/@digital-ai/dot-components) (08/31/2022)
|
|
320
328
|
|
|
321
329
|
[Full Changelog](https://digital-ai.github.io/dot-components/?path=/story/introduction--page/digital-ai/dot-components/compare/1.21.1...2.0.0-rc.1)
|
|
322
330
|
|
|
323
331
|
**Fixed bugs:**
|
|
324
332
|
|
|
333
|
+
- D-22241: `DotFileListItem`: fix focus states and expose `onKeyPress` [\#1254](https://github.com/digital-ai/dot-components/pull/1254) ([dmiletic85](https://github.com/dmiletic85))
|
|
325
334
|
- S-86692: component cleanup [\#1238](https://github.com/digital-ai/dot-components/pull/1238) ([CWSites](https://github.com/CWSites))
|
|
326
335
|
- S-84151: fix e2e tests for Release 2.0 [\#1146](https://github.com/digital-ai/dot-components/pull/1146) ([CWSites](https://github.com/CWSites))
|
|
327
336
|
|
|
@@ -888,6 +897,7 @@
|
|
|
888
897
|
|
|
889
898
|
- D-19151: `DotBadge` generates console warnings [\#827](https://github.com/digital-ai/dot-components/pull/827) ([dmiletic85](https://github.com/dmiletic85))
|
|
890
899
|
- D-19177: `Go back` item in `DotSidebar` is not aligned with rest of items [\#826](https://github.com/digital-ai/dot-components/pull/826) ([dmiletic85](https://github.com/dmiletic85))
|
|
900
|
+
- \#795 Address AlertBanner style issues [\#815](https://github.com/digital-ai/dot-components/pull/815) ([angel-git](https://github.com/angel-git))
|
|
891
901
|
|
|
892
902
|
## [1.3.4](https://www.npmjs.com/package/@digital-ai/dot-components) (11/30/2021)
|
|
893
903
|
|
|
@@ -902,7 +912,6 @@
|
|
|
902
912
|
|
|
903
913
|
**Fixed bugs:**
|
|
904
914
|
|
|
905
|
-
- \#795 Address AlertBanner style issues [\#815](https://github.com/digital-ai/dot-components/pull/815) ([angel-git](https://github.com/angel-git))
|
|
906
915
|
- D-19138: Remove margin-bottom from breadcrumbs [\#813](https://github.com/digital-ai/dot-components/pull/813) ([angel-git](https://github.com/angel-git))
|
|
907
916
|
- D-19148: Input elements not displaying correctly when `border-box` is used in consumer components [\#812](https://github.com/digital-ai/dot-components/pull/812) ([dmiletic85](https://github.com/dmiletic85))
|
|
908
917
|
- \[D-18631\]\[D-18632\]\[D-18802\]:Focus state of avatar button and sidebar list item and inaccurate count of nav item [\#804](https://github.com/digital-ai/dot-components/pull/804) ([monapatel91](https://github.com/monapatel91))
|
|
@@ -1033,6 +1042,7 @@
|
|
|
1033
1042
|
- S-76773: product badges in app toolbar and sidebar [\#712](https://github.com/digital-ai/dot-components/pull/712) ([CWSites](https://github.com/CWSites))
|
|
1034
1043
|
- Icons update oct 7th 2021 [\#709](https://github.com/digital-ai/dot-components/pull/709) ([BojanKocijan](https://github.com/BojanKocijan))
|
|
1035
1044
|
- S-78833 agility sidebar [\#701](https://github.com/digital-ai/dot-components/pull/701) ([CWSites](https://github.com/CWSites))
|
|
1045
|
+
- S-78832: Agility icon & badge updates [\#698](https://github.com/digital-ai/dot-components/pull/698) ([CWSites](https://github.com/CWSites))
|
|
1036
1046
|
|
|
1037
1047
|
## [1.1.1](https://www.npmjs.com/package/@digital-ai/dot-components) (10/06/2021)
|
|
1038
1048
|
|
|
@@ -1046,7 +1056,6 @@
|
|
|
1046
1056
|
|
|
1047
1057
|
- MINOR RELEASE [\#704](https://github.com/digital-ai/dot-components/pull/704) ([CWSites](https://github.com/CWSites))
|
|
1048
1058
|
- S-79291: update nested dependencies [\#700](https://github.com/digital-ai/dot-components/pull/700) ([CWSites](https://github.com/CWSites))
|
|
1049
|
-
- S-78832: Agility icon & badge updates [\#698](https://github.com/digital-ai/dot-components/pull/698) ([CWSites](https://github.com/CWSites))
|
|
1050
1059
|
- S-79251: add workflow for sonarqube scan when code merged to develop [\#697](https://github.com/digital-ai/dot-components/pull/697) ([CWSites](https://github.com/CWSites))
|
|
1051
1060
|
- S-76906: table action column [\#692](https://github.com/digital-ai/dot-components/pull/692) ([monapatel91](https://github.com/monapatel91))
|
|
1052
1061
|
|
|
@@ -1078,6 +1087,7 @@
|
|
|
1078
1087
|
**Misc:**
|
|
1079
1088
|
|
|
1080
1089
|
- Next Release [\#689](https://github.com/digital-ai/dot-components/pull/689) ([CWSites](https://github.com/CWSites))
|
|
1090
|
+
- S-78594: Update avatar component to randomly assign a color of the avatar background to the signed in user [\#680](https://github.com/digital-ai/dot-components/pull/680) ([dmiletic85](https://github.com/dmiletic85))
|
|
1081
1091
|
|
|
1082
1092
|
## [1.0.11](https://www.npmjs.com/package/@digital-ai/dot-components) (09/16/2021)
|
|
1083
1093
|
|
|
@@ -1087,10 +1097,6 @@
|
|
|
1087
1097
|
|
|
1088
1098
|
- D-18421: close hamburger on navigate [\#679](https://github.com/digital-ai/dot-components/pull/679) ([CWSites](https://github.com/CWSites))
|
|
1089
1099
|
|
|
1090
|
-
**Misc:**
|
|
1091
|
-
|
|
1092
|
-
- S-78594: Update avatar component to randomly assign a color of the avatar background to the signed in user [\#680](https://github.com/digital-ai/dot-components/pull/680) ([dmiletic85](https://github.com/dmiletic85))
|
|
1093
|
-
|
|
1094
1100
|
## [1.0.10](https://www.npmjs.com/package/@digital-ai/dot-components) (09/09/2021)
|
|
1095
1101
|
|
|
1096
1102
|
[Full Changelog](https://digital-ai.github.io/dot-components/?path=/story/introduction--page/digital-ai/dot-components/compare/1.0.9...1.0.10)
|
|
@@ -1241,7 +1247,6 @@
|
|
|
1241
1247
|
- Add isUnderToolbar property to Sidebar for use beneath AppToolbar [\#560](https://github.com/digital-ai/dot-components/pull/560) ([selsemore](https://github.com/selsemore))
|
|
1242
1248
|
- Move approved components to "Stable" [\#559](https://github.com/digital-ai/dot-components/pull/559) ([CWSites](https://github.com/CWSites))
|
|
1243
1249
|
- 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))
|
|
1244
|
-
- 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))
|
|
1245
1250
|
|
|
1246
1251
|
## [1.0.1](https://www.npmjs.com/package/@digital-ai/dot-components) (07/02/2021)
|
|
1247
1252
|
|
package/index.esm.js
CHANGED
|
@@ -4979,7 +4979,7 @@ const StyledToggleButtonGroup = styled(ToggleButtonGroup).withConfig({
|
|
|
4979
4979
|
componentId: "sc-1oh4ljv-0"
|
|
4980
4980
|
})(["", ""], ({
|
|
4981
4981
|
theme
|
|
4982
|
-
}) => css(["&.", "{button:not(.MuiToggleButton-sizeLarge):not(.MuiToggleButton-sizeSmall){height:", ";.dot-icon{width:", ";}}.dot-icon{color:", ";+ p{margin-left:", ";}i{height:auto;}}.dot-typography{margin-bottom:0;}.MuiToggleButton-label{color:", ";p{margin-bottom:0;}}.MuiToggleButtonGroup-groupedHorizontal{border:1px solid ", ";border-radius:0;}.dot-tooltip{&:first-child .MuiToggleButtonGroup-groupedHorizontal{border-top-left-radius:4px;border-bottom-left-radius:4px;margin-left:0;}&:last-child .MuiToggleButtonGroup-groupedHorizontal{border-top-right-radius:4px;border-bottom-right-radius:4px;margin-right:0;}&:not(:first-child) .MuiToggleButtonGroup-groupedHorizontal{margin-left:-1px;}}& > .MuiToggleButtonGroup-groupedHorizontal{:first-child{border-top-left-radius:4px;border-bottom-left-radius:4px;margin-left:0;}:last-child{border-top-right-radius:4px;border-bottom-right-radius:4px;margin-right:0;}}}.MuiButtonBase-root{&.Mui-disabled p,&.Mui-disabled .dot-icon{color:", ";}&.Mui-selected{&.MuiToggleButton-standard{background:", ";}.dot-typography{color:inherit;}}}"], rootClassName$C, theme.spacing(5), theme.spacing(2), theme.palette.layer.n700, theme.spacing(1), theme.palette.layer.n700, theme.palette.layer.n300, theme.palette.grey[200], selectedGray));
|
|
4982
|
+
}) => css(["&.", "{button:not(.MuiToggleButton-sizeLarge):not(.MuiToggleButton-sizeSmall){height:", ";.dot-icon{width:", ";}}.dot-icon{color:", ";display:flex;+ p{margin-left:", ";}i{height:auto;}}.dot-typography{margin-bottom:0;}.MuiToggleButton-label{color:", ";p{margin-bottom:0;}}.MuiToggleButtonGroup-groupedHorizontal{border:1px solid ", ";border-radius:0;}.dot-tooltip{&:first-child .MuiToggleButtonGroup-groupedHorizontal{border-top-left-radius:4px;border-bottom-left-radius:4px;margin-left:0;}&:last-child .MuiToggleButtonGroup-groupedHorizontal{border-top-right-radius:4px;border-bottom-right-radius:4px;margin-right:0;}&:not(:first-child) .MuiToggleButtonGroup-groupedHorizontal{margin-left:-1px;}}& > .MuiToggleButtonGroup-groupedHorizontal{:first-child{border-top-left-radius:4px;border-bottom-left-radius:4px;margin-left:0;}:last-child{border-top-right-radius:4px;border-bottom-right-radius:4px;margin-right:0;}}}.MuiButtonBase-root{&.Mui-disabled p,&.Mui-disabled .dot-icon{color:", ";}&.Mui-selected{&.MuiToggleButton-standard{background:", ";}.dot-typography{color:inherit;}}}"], rootClassName$C, theme.spacing(5), theme.spacing(2), theme.palette.layer.n700, theme.spacing(1), theme.palette.layer.n700, theme.palette.layer.n300, theme.palette.grey[200], selectedGray));
|
|
4983
4983
|
|
|
4984
4984
|
const DotButtonToggle = ({
|
|
4985
4985
|
ariaLabel,
|
|
@@ -7058,6 +7058,11 @@ const DotInlineEdit = ({
|
|
|
7058
7058
|
const [inputValue, setInputValue] = useState(_value);
|
|
7059
7059
|
const inputRef = useRef();
|
|
7060
7060
|
const inlineEditRef = useRef();
|
|
7061
|
+
useEffect(() => {
|
|
7062
|
+
if (_value !== inputValue) {
|
|
7063
|
+
setInputValue(_value);
|
|
7064
|
+
}
|
|
7065
|
+
}, [_value]);
|
|
7061
7066
|
const isSaveDisabled = checkIfEmptyValue(inputValue);
|
|
7062
7067
|
const rootClasses = useStylesWithRootClass(rootClassName$n, className, editing ? editModeClassName : '');
|
|
7063
7068
|
const handleShowTooltip = visible => {
|
package/index.umd.js
CHANGED
|
@@ -5449,7 +5449,7 @@
|
|
|
5449
5449
|
componentId: "sc-1oh4ljv-0"
|
|
5450
5450
|
})(templateObject_2$C || (templateObject_2$C = __makeTemplateObject(["\n ", "\n"], ["\n ", "\n"])), function (_a) {
|
|
5451
5451
|
var theme = _a.theme;
|
|
5452
|
-
return styled.css(templateObject_1$F || (templateObject_1$F = __makeTemplateObject(["\n &.", " {\n button:not(.MuiToggleButton-sizeLarge):not(.MuiToggleButton-sizeSmall) {\n /* Override height for medium size */\n height: ", ";\n\n .dot-icon {\n /* With this, the width of the medium size button matches its height (40px) */\n width: ", ";\n }\n }\n\n .dot-icon {\n color: ", ";\n\n + p {\n margin-left: ", ";\n }\n i {\n height: auto;\n }\n }\n\n .dot-typography {\n margin-bottom: 0;\n }\n\n .MuiToggleButton-label {\n color: ", ";\n p {\n margin-bottom: 0;\n }\n }\n\n .MuiToggleButtonGroup-groupedHorizontal {\n border: 1px solid ", ";\n border-radius: 0;\n }\n\n .dot-tooltip {\n &:first-child .MuiToggleButtonGroup-groupedHorizontal {\n border-top-left-radius: 4px;\n border-bottom-left-radius: 4px;\n margin-left: 0;\n }\n &:last-child .MuiToggleButtonGroup-groupedHorizontal {\n border-top-right-radius: 4px;\n border-bottom-right-radius: 4px;\n margin-right: 0;\n }\n &:not(:first-child) .MuiToggleButtonGroup-groupedHorizontal {\n margin-left: -1px;\n }\n }\n\n & > .MuiToggleButtonGroup-groupedHorizontal {\n :first-child {\n border-top-left-radius: 4px;\n border-bottom-left-radius: 4px;\n margin-left: 0;\n }\n :last-child {\n border-top-right-radius: 4px;\n border-bottom-right-radius: 4px;\n margin-right: 0;\n }\n }\n }\n\n .MuiButtonBase-root {\n &.Mui-disabled p,\n &.Mui-disabled .dot-icon {\n color: ", ";\n }\n\n &.Mui-selected {\n &.MuiToggleButton-standard {\n background: ", ";\n }\n\n .dot-typography {\n color: inherit;\n }\n }\n }\n "], ["\n &.", " {\n button:not(.MuiToggleButton-sizeLarge):not(.MuiToggleButton-sizeSmall) {\n /* Override height for medium size */\n height: ", ";\n\n .dot-icon {\n /* With this, the width of the medium size button matches its height (40px) */\n width: ", ";\n }\n }\n\n .dot-icon {\n color: ", ";\n\n + p {\n margin-left: ", ";\n }\n i {\n height: auto;\n }\n }\n\n .dot-typography {\n margin-bottom: 0;\n }\n\n .MuiToggleButton-label {\n color: ", ";\n p {\n margin-bottom: 0;\n }\n }\n\n .MuiToggleButtonGroup-groupedHorizontal {\n border: 1px solid ", ";\n border-radius: 0;\n }\n\n .dot-tooltip {\n &:first-child .MuiToggleButtonGroup-groupedHorizontal {\n border-top-left-radius: 4px;\n border-bottom-left-radius: 4px;\n margin-left: 0;\n }\n &:last-child .MuiToggleButtonGroup-groupedHorizontal {\n border-top-right-radius: 4px;\n border-bottom-right-radius: 4px;\n margin-right: 0;\n }\n &:not(:first-child) .MuiToggleButtonGroup-groupedHorizontal {\n margin-left: -1px;\n }\n }\n\n & > .MuiToggleButtonGroup-groupedHorizontal {\n :first-child {\n border-top-left-radius: 4px;\n border-bottom-left-radius: 4px;\n margin-left: 0;\n }\n :last-child {\n border-top-right-radius: 4px;\n border-bottom-right-radius: 4px;\n margin-right: 0;\n }\n }\n }\n\n .MuiButtonBase-root {\n &.Mui-disabled p,\n &.Mui-disabled .dot-icon {\n color: ", ";\n }\n\n &.Mui-selected {\n &.MuiToggleButton-standard {\n background: ", ";\n }\n\n .dot-typography {\n color: inherit;\n }\n }\n }\n "])), rootClassName$C, theme.spacing(5), theme.spacing(2), theme.palette.layer.n700, theme.spacing(1), theme.palette.layer.n700, theme.palette.layer.n300, theme.palette.grey[200], selectedGray);
|
|
5452
|
+
return styled.css(templateObject_1$F || (templateObject_1$F = __makeTemplateObject(["\n &.", " {\n button:not(.MuiToggleButton-sizeLarge):not(.MuiToggleButton-sizeSmall) {\n /* Override height for medium size */\n height: ", ";\n\n .dot-icon {\n /* With this, the width of the medium size button matches its height (40px) */\n width: ", ";\n }\n }\n\n .dot-icon {\n color: ", ";\n display: flex;\n\n + p {\n margin-left: ", ";\n }\n i {\n height: auto;\n }\n }\n\n .dot-typography {\n margin-bottom: 0;\n }\n\n .MuiToggleButton-label {\n color: ", ";\n p {\n margin-bottom: 0;\n }\n }\n\n .MuiToggleButtonGroup-groupedHorizontal {\n border: 1px solid ", ";\n border-radius: 0;\n }\n\n .dot-tooltip {\n &:first-child .MuiToggleButtonGroup-groupedHorizontal {\n border-top-left-radius: 4px;\n border-bottom-left-radius: 4px;\n margin-left: 0;\n }\n &:last-child .MuiToggleButtonGroup-groupedHorizontal {\n border-top-right-radius: 4px;\n border-bottom-right-radius: 4px;\n margin-right: 0;\n }\n &:not(:first-child) .MuiToggleButtonGroup-groupedHorizontal {\n margin-left: -1px;\n }\n }\n\n & > .MuiToggleButtonGroup-groupedHorizontal {\n :first-child {\n border-top-left-radius: 4px;\n border-bottom-left-radius: 4px;\n margin-left: 0;\n }\n :last-child {\n border-top-right-radius: 4px;\n border-bottom-right-radius: 4px;\n margin-right: 0;\n }\n }\n }\n\n .MuiButtonBase-root {\n &.Mui-disabled p,\n &.Mui-disabled .dot-icon {\n color: ", ";\n }\n\n &.Mui-selected {\n &.MuiToggleButton-standard {\n background: ", ";\n }\n\n .dot-typography {\n color: inherit;\n }\n }\n }\n "], ["\n &.", " {\n button:not(.MuiToggleButton-sizeLarge):not(.MuiToggleButton-sizeSmall) {\n /* Override height for medium size */\n height: ", ";\n\n .dot-icon {\n /* With this, the width of the medium size button matches its height (40px) */\n width: ", ";\n }\n }\n\n .dot-icon {\n color: ", ";\n display: flex;\n\n + p {\n margin-left: ", ";\n }\n i {\n height: auto;\n }\n }\n\n .dot-typography {\n margin-bottom: 0;\n }\n\n .MuiToggleButton-label {\n color: ", ";\n p {\n margin-bottom: 0;\n }\n }\n\n .MuiToggleButtonGroup-groupedHorizontal {\n border: 1px solid ", ";\n border-radius: 0;\n }\n\n .dot-tooltip {\n &:first-child .MuiToggleButtonGroup-groupedHorizontal {\n border-top-left-radius: 4px;\n border-bottom-left-radius: 4px;\n margin-left: 0;\n }\n &:last-child .MuiToggleButtonGroup-groupedHorizontal {\n border-top-right-radius: 4px;\n border-bottom-right-radius: 4px;\n margin-right: 0;\n }\n &:not(:first-child) .MuiToggleButtonGroup-groupedHorizontal {\n margin-left: -1px;\n }\n }\n\n & > .MuiToggleButtonGroup-groupedHorizontal {\n :first-child {\n border-top-left-radius: 4px;\n border-bottom-left-radius: 4px;\n margin-left: 0;\n }\n :last-child {\n border-top-right-radius: 4px;\n border-bottom-right-radius: 4px;\n margin-right: 0;\n }\n }\n }\n\n .MuiButtonBase-root {\n &.Mui-disabled p,\n &.Mui-disabled .dot-icon {\n color: ", ";\n }\n\n &.Mui-selected {\n &.MuiToggleButton-standard {\n background: ", ";\n }\n\n .dot-typography {\n color: inherit;\n }\n }\n }\n "])), rootClassName$C, theme.spacing(5), theme.spacing(2), theme.palette.layer.n700, theme.spacing(1), theme.palette.layer.n700, theme.palette.layer.n300, theme.palette.grey[200], selectedGray);
|
|
5453
5453
|
});
|
|
5454
5454
|
var templateObject_1$F, templateObject_2$C;
|
|
5455
5455
|
|
|
@@ -7608,6 +7608,11 @@
|
|
|
7608
7608
|
setInputValue = _j[1];
|
|
7609
7609
|
var inputRef = React.useRef();
|
|
7610
7610
|
var inlineEditRef = React.useRef();
|
|
7611
|
+
React.useEffect(function () {
|
|
7612
|
+
if (value !== inputValue) {
|
|
7613
|
+
setInputValue(value);
|
|
7614
|
+
}
|
|
7615
|
+
}, [value]);
|
|
7611
7616
|
var isSaveDisabled = checkIfEmptyValue(inputValue);
|
|
7612
7617
|
var rootClasses = useStylesWithRootClass(rootClassName$n, className, editing ? editModeClassName : '');
|
|
7613
7618
|
var handleShowTooltip = function handleShowTooltip(visible) {
|