ish-ui 1.0.0-alpha.28 → 1.0.0-alpha.30
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.
|
@@ -19,11 +19,11 @@ function AddTagMenuItem({ setActiveTag, tag, classes, handleAdd, allowParentSele
|
|
|
19
19
|
handleAdd(tag);
|
|
20
20
|
};
|
|
21
21
|
const hasChildren = Boolean(tag.children.length);
|
|
22
|
-
return (React.createElement(MenuItem, { classes: { root: classes.listItem }, onClick: allowParentSelect ? null : (hasChildren ? openSubmenu : toggleChecked) },
|
|
22
|
+
return (React.createElement(MenuItem, { classes: { root: classes.listItem }, onClick: allowParentSelect ? null : (hasChildren ? openSubmenu : toggleChecked), disableRipple: allowParentSelect },
|
|
23
23
|
React.createElement("div", { className: clsx(classes.tagColorDotSmall, 'mr-1'), style: { background: '#' + tag.tagBody.color } }),
|
|
24
24
|
React.createElement("span", { className: "mr-2 flex-fill" }, tag.tagBody.name),
|
|
25
|
+
(allowParentSelect || !hasChildren) && React.createElement(Checkbox, { onClick: toggleChecked, classes: { root: 'smallIconButton' }, checked: tag.active }),
|
|
25
26
|
(allowParentSelect || hasChildren) && React.createElement(IconButton, { size: "small", onClick: openSubmenu },
|
|
26
|
-
React.createElement(KeyboardArrowRight, { className: clsx('d-flex textSecondaryColor', classes.proceedIcon) }))
|
|
27
|
-
(allowParentSelect || !hasChildren) && React.createElement(Checkbox, { onClick: toggleChecked, classes: { root: 'smallIconButton' }, checked: tag.active })));
|
|
27
|
+
React.createElement(KeyboardArrowRight, { className: clsx('d-flex textSecondaryColor', classes.proceedIcon) }))));
|
|
28
28
|
}
|
|
29
29
|
export default AddTagMenuItem;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "ish-ui",
|
|
3
|
-
"version": "1.0.0-alpha.
|
|
3
|
+
"version": "1.0.0-alpha.30",
|
|
4
4
|
"description": "UI elements for onCourse and other ish apps",
|
|
5
5
|
"main": "main.ts",
|
|
6
6
|
"devDependencies": {
|
|
@@ -76,7 +76,7 @@
|
|
|
76
76
|
"date-fns-tz": "^2.0.0",
|
|
77
77
|
"decimal.js-light": "^2.5.1",
|
|
78
78
|
"lodash.debounce": "^4.0.8",
|
|
79
|
-
"re-resizable": "^6.9.
|
|
79
|
+
"re-resizable": "^6.9.11",
|
|
80
80
|
"react": "^18.2.0",
|
|
81
81
|
"react-ace": "^10.1.0",
|
|
82
82
|
"react-color": "^2.19.3",
|