@gem-sdk/components 2.0.0-dev.407 → 2.0.0-dev.410
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.
- package/dist/cjs/accordion/index.js +0 -1
- package/dist/cjs/article/components/ArticlePagination.js +0 -1
- package/dist/cjs/article/index.js +0 -1
- package/dist/cjs/banner/components/HeroBannerItem.js +0 -1
- package/dist/cjs/banner/components/common/common.js +3 -3
- package/dist/cjs/banner/index.js +0 -1
- package/dist/cjs/banner/setting/setting.js +20 -2
- package/dist/cjs/banner/setting/uiV2.js +105 -1
- package/dist/cjs/carousel/index.js +0 -1
- package/dist/cjs/cart/index.js +0 -1
- package/dist/cjs/collection/components/collection-banner/components/CollectionBanner.js +0 -1
- package/dist/cjs/collection/index.js +0 -1
- package/dist/cjs/dialog/index.js +0 -1
- package/dist/cjs/form/index.js +0 -1
- package/dist/cjs/grid/components/ChildrenDroppable.js +1 -3
- package/dist/cjs/grid/index.js +0 -1
- package/dist/cjs/header/components/kind/basic/index.js +0 -1
- package/dist/cjs/header/components/kind/modern/index.js +0 -1
- package/dist/cjs/header/index.js +0 -1
- package/dist/cjs/icon-list-hoz/index.js +0 -1
- package/dist/cjs/marquee/index.js +0 -1
- package/dist/cjs/modal/index.js +0 -1
- package/dist/cjs/post-purchase/callout-banner/components/CalloutBox.js +0 -1
- package/dist/cjs/post-purchase/callout-banner/index.js +0 -1
- package/dist/cjs/post-purchase/product/index.js +0 -1
- package/dist/cjs/product/index.js +0 -1
- package/dist/cjs/sticky/index.js +0 -1
- package/dist/cjs/tab/index.js +0 -1
- package/dist/esm/accordion/index.js +0 -1
- package/dist/esm/article/components/ArticlePagination.js +0 -1
- package/dist/esm/article/index.js +0 -1
- package/dist/esm/banner/components/HeroBannerItem.js +0 -1
- package/dist/esm/banner/components/common/common.js +3 -3
- package/dist/esm/banner/index.js +0 -1
- package/dist/esm/banner/setting/setting.js +20 -2
- package/dist/esm/banner/setting/uiV2.js +105 -1
- package/dist/esm/carousel/index.js +0 -1
- package/dist/esm/cart/index.js +0 -1
- package/dist/esm/collection/components/collection-banner/components/CollectionBanner.js +0 -1
- package/dist/esm/collection/index.js +0 -1
- package/dist/esm/dialog/index.js +0 -1
- package/dist/esm/form/index.js +0 -1
- package/dist/esm/grid/components/ChildrenDroppable.js +1 -3
- package/dist/esm/grid/index.js +0 -1
- package/dist/esm/header/components/kind/basic/index.js +0 -1
- package/dist/esm/header/components/kind/modern/index.js +0 -1
- package/dist/esm/header/index.js +0 -1
- package/dist/esm/icon-list-hoz/index.js +0 -1
- package/dist/esm/marquee/index.js +0 -1
- package/dist/esm/modal/index.js +0 -1
- package/dist/esm/post-purchase/callout-banner/components/CalloutBox.js +0 -1
- package/dist/esm/post-purchase/callout-banner/index.js +0 -1
- package/dist/esm/post-purchase/product/index.js +0 -1
- package/dist/esm/product/index.js +0 -1
- package/dist/esm/sticky/index.js +0 -1
- package/dist/esm/tab/index.js +0 -1
- package/dist/types/index.d.ts +602 -603
- package/package.json +1 -1
package/dist/esm/cart/index.js
CHANGED
|
@@ -3,7 +3,6 @@ import { jsxs, jsx } from 'react/jsx-runtime';
|
|
|
3
3
|
import { useCollection, useEditorMode } from '@gem-sdk/core';
|
|
4
4
|
import Row from '../../../../grid/row/Row.js';
|
|
5
5
|
import 'react';
|
|
6
|
-
import 'next-i18next';
|
|
7
6
|
import { createClass, createStyle, If } from '@gem-sdk/system';
|
|
8
7
|
import { getClassContainerBanner, getClassContainerBackgoundImage, getClassOverlayBanner, getClassLinkBanner } from '../common/classes.js';
|
|
9
8
|
import { getDimension, getStyleOverlay, getStyleContainerBackgoundImage } from '../common/styles.js';
|
package/dist/esm/dialog/index.js
CHANGED
package/dist/esm/form/index.js
CHANGED
|
@@ -2,14 +2,12 @@
|
|
|
2
2
|
import { jsxs, Fragment, jsx } from 'react/jsx-runtime';
|
|
3
3
|
import { useEditorMode, cls } from '@gem-sdk/core';
|
|
4
4
|
import { useState, useRef, useEffect } from 'react';
|
|
5
|
-
import { useTranslation } from 'next-i18next';
|
|
6
5
|
|
|
7
6
|
const ChildrenDroppable = ({ className, styles })=>{
|
|
8
7
|
const [isHover, setIsHover] = useState(false);
|
|
9
8
|
const [isShowIconOnly, setIsShowIconOnly] = useState(false);
|
|
10
9
|
const slotChildren = useRef(null);
|
|
11
10
|
const mode = useEditorMode();
|
|
12
|
-
const { t } = useTranslation();
|
|
13
11
|
useEffect(()=>{
|
|
14
12
|
const observer = new ResizeObserver(()=>{
|
|
15
13
|
const slotWidth = slotChildren.current ? slotChildren.current?.offsetWidth : 0;
|
|
@@ -66,7 +64,7 @@ const ChildrenDroppable = ({ className, styles })=>{
|
|
|
66
64
|
}
|
|
67
65
|
}),
|
|
68
66
|
!isShowIconOnly && /*#__PURE__*/ jsx("div", {
|
|
69
|
-
children:
|
|
67
|
+
children: "Drop element here"
|
|
70
68
|
})
|
|
71
69
|
]
|
|
72
70
|
})
|
package/dist/esm/grid/index.js
CHANGED
package/dist/esm/header/index.js
CHANGED
package/dist/esm/modal/index.js
CHANGED
|
@@ -4,7 +4,6 @@ import { createClass, createStyle } from '@gem-sdk/system';
|
|
|
4
4
|
import Row from '../../../grid/row/Row.js';
|
|
5
5
|
import 'react';
|
|
6
6
|
import '@gem-sdk/core';
|
|
7
|
-
import 'next-i18next';
|
|
8
7
|
import { getCalloutBoxWrapperClasses } from './common/getClasses.js';
|
|
9
8
|
import { getCalloutBoxContainerStyles } from './common/getStyles.js';
|
|
10
9
|
|
|
@@ -10,7 +10,6 @@ import './components/ProductButton/common/types.js';
|
|
|
10
10
|
import './components/ProductVariants/components/variants/index.js';
|
|
11
11
|
import 'next/image';
|
|
12
12
|
import '@gem-sdk/keen-slider/react';
|
|
13
|
-
import 'next-i18next';
|
|
14
13
|
import 'react-dom';
|
|
15
14
|
import '../modal/components/confirm.js';
|
|
16
15
|
import '../video/components/Video.js';
|
package/dist/esm/sticky/index.js
CHANGED