ish-ui 1.0.0-alpha.30 → 1.0.0-alpha.32
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.
|
@@ -23,7 +23,7 @@ function AddTagMenuItem({ setActiveTag, tag, classes, handleAdd, allowParentSele
|
|
|
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
25
|
(allowParentSelect || !hasChildren) && React.createElement(Checkbox, { onClick: toggleChecked, classes: { root: 'smallIconButton' }, checked: tag.active }),
|
|
26
|
-
|
|
26
|
+
hasChildren && React.createElement(IconButton, { size: "small", onClick: openSubmenu },
|
|
27
27
|
React.createElement(KeyboardArrowRight, { className: clsx('d-flex textSecondaryColor', classes.proceedIcon) }))));
|
|
28
28
|
}
|
|
29
29
|
export default AddTagMenuItem;
|
|
@@ -29,7 +29,7 @@ import { getAllMenuTags, getHighlightedPartLabel, getMenuTags } from '../utils';
|
|
|
29
29
|
import { stubComponent } from '../utils/stubs';
|
|
30
30
|
import getCaretCoordinates from '../utils/DOM/getCaretCoordinates';
|
|
31
31
|
import { makeAppStyles } from '../styles';
|
|
32
|
-
const useStyles = makeAppStyles((theme) => (Object.assign({ inputEndAdornment: {
|
|
32
|
+
const useStyles = makeAppStyles((theme) => (Object.assign(Object.assign({}, selectStyles(theme)), { inputEndAdornment: {
|
|
33
33
|
visibility: 'hidden',
|
|
34
34
|
display: 'flex',
|
|
35
35
|
color: theme.palette.primary.main,
|
|
@@ -46,7 +46,7 @@ const useStyles = makeAppStyles((theme) => (Object.assign({ inputEndAdornment: {
|
|
|
46
46
|
borderRadius: '100%'
|
|
47
47
|
}, listbox: {
|
|
48
48
|
whiteSpace: 'break-spaces'
|
|
49
|
-
}, invalid: {} }
|
|
49
|
+
}, invalid: {} })));
|
|
50
50
|
const endTagRegex = /#\s*[^\w\d]*$/;
|
|
51
51
|
const getCurrentInputString = (input, formTagIds = [], allMenuTags = []) => {
|
|
52
52
|
let substr = input;
|