@antscorp/antsomi-ui 1.3.5-beta.906 → 1.3.5-beta.907

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.
@@ -390,6 +390,11 @@ const TagifyInput = forwardRef((props, ref) => {
390
390
  throw new Error('Tagify instance is not initialized');
391
391
  }
392
392
  },
393
+ reset() {
394
+ if (tagifyRef.current) {
395
+ tagifyRef.current.removeAllTags();
396
+ }
397
+ },
393
398
  }), [onInjectTagAtCaret, placeCaretAfterNode]);
394
399
  const onTagItemClick = useCallback((event) => {
395
400
  event.stopPropagation();
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@antscorp/antsomi-ui",
3
- "version": "1.3.5-beta.906",
3
+ "version": "1.3.5-beta.907",
4
4
  "description": "An enterprise-class UI design language and React UI library.",
5
5
  "sideEffects": [
6
6
  "dist/*",