@antscorp/antsomi-ui 1.3.5-beta.210 → 1.3.5-beta.211

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.
@@ -45,6 +45,31 @@ export const useListingItemResize = (props) => {
45
45
  }
46
46
  return DEFAULT_RATIO;
47
47
  }, [containerWidth, gap, initialWidth, itemPerRow]);
48
+ // template-listing-wrapper
49
+ // Hooks
50
+ // useMutationObserver(
51
+ // mutationsList => {
52
+ // const templateListingElements = mutationsList?.filter(item =>
53
+ // (item.target as Element)?.classList?.contains('template-listing-wrapper'),
54
+ // );
55
+ // // console.log({ templateListingElements, mutationsList });
56
+ // // if (timeoutAfterChange) {
57
+ // // clearTimeout(timeoutAfterChange.current);
58
+ // // }
59
+ // // timeoutAfterChange.current = setTimeout(() => {
60
+ // // forceUpdate();
61
+ // // }, 500);
62
+ // },
63
+ // ref,
64
+ // {
65
+ // attributes: true,
66
+ // childList: true,
67
+ // subtree: true,
68
+ // characterData: true,
69
+ // attributeOldValue: true,
70
+ // characterDataOldValue: true,
71
+ // },
72
+ // );
48
73
  /* Events */
49
74
  window.addEventListener('resize', () => {
50
75
  if (timeoutAfterChange) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@antscorp/antsomi-ui",
3
- "version": "1.3.5-beta.210",
3
+ "version": "1.3.5-beta.211",
4
4
  "description": "An enterprise-class UI design language and React UI library.",
5
5
  "sideEffects": [
6
6
  "dist/*",