@antscorp/antsomi-ui 1.3.5-beta.821 → 1.3.5-beta.822

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.
@@ -4,7 +4,7 @@ import { useRef, useEffect, useCallback, useMemo, memo, forwardRef, useImperativ
4
4
  import _ from 'lodash';
5
5
  import htmlEntities from 'he';
6
6
  // Assets
7
- import iconWarningSvg from '../../../assets/svg/warning-icon.svg';
7
+ import iconWarning from '@antscorp/antsomi-ui/es/assets/images/warning-icon.png';
8
8
  // Hooks
9
9
  import { useDeepCompareMemo } from '@antscorp/antsomi-ui/es/hooks/useDeepCompareMemo';
10
10
  import { useDebounce } from '@antscorp/antsomi-ui/es/hooks/useDebounce';
@@ -566,7 +566,7 @@ const TagifyInput = forwardRef((props, ref) => {
566
566
  }
567
567
  }
568
568
  }, [initialValue, mapAttributes, escapeHTML, acceptableTagPattern, makeValidLabelTags]);
569
- return (_jsxs(TagifyWrapper, { ref: tagifyWrapperRef, "$cssTagifyVariables": cssVariablesMemoized, className: "tagify-container", id: "tagify-container", "data-test": "tagify-wrapper", "$status": status, "$maxHeight": maxHeight, "$minWidth": minWidth, "$tagifyFullWidth": isLineBreak, "$placeholder": placeholder, "$tagInvalidIcon": iconWarningSvg, onClick: onTagifyWrapperClick, children: [_jsx(TagTextArea, { id: "tagify-textarea", ref: inputRef, name: name, defaultValue: parsedDefaultValue, "data-test": "tagify-input" }), _jsx(WrapperPlaceHolder, { "data-test": "wrapper-placeholder", ref: placeholderRef, "$isShow": !!children, children: children })] }));
569
+ return (_jsxs(TagifyWrapper, { ref: tagifyWrapperRef, "$cssTagifyVariables": cssVariablesMemoized, className: "tagify-container", id: "tagify-container", "data-test": "tagify-wrapper", "$status": status, "$maxHeight": maxHeight, "$minWidth": minWidth, "$tagifyFullWidth": isLineBreak, "$placeholder": placeholder, "$tagInvalidIcon": iconWarning, onClick: onTagifyWrapperClick, children: [_jsx(TagTextArea, { id: "tagify-textarea", ref: inputRef, name: name, defaultValue: parsedDefaultValue, "data-test": "tagify-input" }), _jsx(WrapperPlaceHolder, { "data-test": "wrapper-placeholder", ref: placeholderRef, "$isShow": !!children, children: children })] }));
570
570
  });
571
571
  TagifyInput.defaultProps = tagifyDefaultProps;
572
572
  export default memo(TagifyInput);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@antscorp/antsomi-ui",
3
- "version": "1.3.5-beta.821",
3
+ "version": "1.3.5-beta.822",
4
4
  "description": "An enterprise-class UI design language and React UI library.",
5
5
  "sideEffects": [
6
6
  "dist/*",