@gem-sdk/components 2.0.0-dev.356 → 2.0.0-dev.358
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/article/next.js +41 -31
- package/dist/cjs/banner/components/HeroBannerItem.js +15 -13
- package/dist/cjs/banner/components/HeroBannerItem.liquid.js +1 -1
- package/dist/cjs/post-purchase/product/settings/product-image/setting-v2.js +2 -5
- package/dist/cjs/post-purchase/product/settings/product-image/uiV2.js +1 -1
- package/dist/esm/article/next.js +41 -31
- package/dist/esm/banner/components/HeroBannerItem.js +15 -13
- package/dist/esm/banner/components/HeroBannerItem.liquid.js +1 -1
- package/dist/esm/post-purchase/product/settings/product-image/setting-v2.js +2 -5
- package/dist/esm/post-purchase/product/settings/product-image/uiV2.js +1 -1
- package/dist/types/index.d.ts +10 -0
- package/package.json +1 -1
package/dist/cjs/article/next.js
CHANGED
|
@@ -11,38 +11,48 @@ require('@gem-sdk/core');
|
|
|
11
11
|
const ArticleList = dynamic(()=>Promise.resolve().then(function () { return require('./components/ArticleList.js'); }), {
|
|
12
12
|
loading: Loading.default
|
|
13
13
|
});
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
14
|
+
const ArticleTitle = dynamic(()=>Promise.resolve().then(function () { return require('./components/ArticleTitle.js'); }), {
|
|
15
|
+
loading: Loading.default
|
|
16
|
+
});
|
|
17
|
+
const ArticleExcerpt = dynamic(()=>Promise.resolve().then(function () { return require('./components/ArticleExcerpt.js'); }), {
|
|
18
|
+
loading: Loading.default
|
|
19
|
+
});
|
|
20
|
+
const ArticleContent = dynamic(()=>Promise.resolve().then(function () { return require('./components/ArticleContent.js'); }), {
|
|
21
|
+
loading: Loading.default
|
|
22
|
+
});
|
|
23
|
+
const ArticleImage = dynamic(()=>Promise.resolve().then(function () { return require('./components/ArticleImage.js'); }), {
|
|
24
|
+
loading: Loading.default
|
|
25
|
+
});
|
|
26
|
+
const ArticlePagination = dynamic(()=>Promise.resolve().then(function () { return require('./components/ArticlePagination.js'); }), {
|
|
27
|
+
loading: Loading.default
|
|
28
|
+
});
|
|
29
|
+
const ArticleAuthor = dynamic(()=>Promise.resolve().then(function () { return require('./components/ArticleAuthor.js'); }), {
|
|
30
|
+
loading: Loading.default
|
|
31
|
+
});
|
|
32
|
+
const ArticleTag = dynamic(()=>Promise.resolve().then(function () { return require('./components/ArticleTag.js'); }), {
|
|
33
|
+
loading: Loading.default
|
|
34
|
+
});
|
|
35
|
+
const ArticleCategory = dynamic(()=>Promise.resolve().then(function () { return require('./components/ArticleCategory.js'); }), {
|
|
36
|
+
loading: Loading.default
|
|
37
|
+
});
|
|
38
|
+
const ArticleDate = dynamic(()=>Promise.resolve().then(function () { return require('./components/ArticleDate.js'); }), {
|
|
39
|
+
loading: Loading.default
|
|
40
|
+
});
|
|
41
|
+
const ArticleReadMore = dynamic(()=>Promise.resolve().then(function () { return require('./components/ArticleReadMore.js'); }), {
|
|
42
|
+
loading: Loading.default
|
|
43
|
+
});
|
|
44
44
|
var article = {
|
|
45
|
-
ArticleList
|
|
45
|
+
ArticleList,
|
|
46
|
+
ArticleTitle,
|
|
47
|
+
ArticleExcerpt,
|
|
48
|
+
ArticleContent,
|
|
49
|
+
ArticleImage,
|
|
50
|
+
ArticlePagination,
|
|
51
|
+
ArticleAuthor,
|
|
52
|
+
ArticleTag,
|
|
53
|
+
ArticleCategory,
|
|
54
|
+
ArticleDate,
|
|
55
|
+
ArticleReadMore
|
|
46
56
|
};
|
|
47
57
|
|
|
48
58
|
exports.default = article;
|
|
@@ -126,24 +126,26 @@ const HeroBannerItem = (props)=>{
|
|
|
126
126
|
className: containerClasses,
|
|
127
127
|
style: containerStyle,
|
|
128
128
|
children: [
|
|
129
|
-
/*#__PURE__*/ jsxRuntime.
|
|
129
|
+
/*#__PURE__*/ jsxRuntime.jsxs("div", {
|
|
130
130
|
ref: elementRef,
|
|
131
131
|
"aria-label": "Background Image",
|
|
132
132
|
role: "banner",
|
|
133
133
|
className: containBackgroundClasses,
|
|
134
134
|
style: containBackground,
|
|
135
|
-
children:
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
135
|
+
children: [
|
|
136
|
+
/*#__PURE__*/ jsxRuntime.jsx("div", {
|
|
137
|
+
ref: bgRef,
|
|
138
|
+
className: backgroundClasses,
|
|
139
|
+
style: backgroundStyle,
|
|
140
|
+
children: embed
|
|
141
|
+
}),
|
|
142
|
+
!!overlayColor && /*#__PURE__*/ jsxRuntime.jsx("div", {
|
|
143
|
+
"aria-label": "Overlay",
|
|
144
|
+
role: "banner",
|
|
145
|
+
className: overlayClasses,
|
|
146
|
+
style: overlayStyle
|
|
147
|
+
})
|
|
148
|
+
]
|
|
147
149
|
}),
|
|
148
150
|
/*#__PURE__*/ jsxRuntime.jsx(Row.default, {
|
|
149
151
|
className: rowClasses,
|
|
@@ -145,8 +145,8 @@ const HeroBannerItem = (props)=>{
|
|
|
145
145
|
${backgroundImageLazyload()}
|
|
146
146
|
${embed()}
|
|
147
147
|
</div>
|
|
148
|
+
${system.If(!!overlayColor, core.template`<div aria-label="Overlay" role="banner" class="${overlayClasses}" style="${overlayStyle}"></div>`)}
|
|
148
149
|
</div>
|
|
149
|
-
${system.If(!!overlayColor?.normal, core.template`<div aria-label="Overlay" role="banner" class="${overlayClasses}" style="${overlayStyle}"></div>`)}
|
|
150
150
|
${Row_liquid.default({
|
|
151
151
|
className: rowClasses,
|
|
152
152
|
style: rowStyle,
|
package/dist/esm/article/next.js
CHANGED
|
@@ -7,38 +7,48 @@ import '@gem-sdk/core';
|
|
|
7
7
|
const ArticleList = dynamic(()=>import('./components/ArticleList.js'), {
|
|
8
8
|
loading: Loading
|
|
9
9
|
});
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
10
|
+
const ArticleTitle = dynamic(()=>import('./components/ArticleTitle.js'), {
|
|
11
|
+
loading: Loading
|
|
12
|
+
});
|
|
13
|
+
const ArticleExcerpt = dynamic(()=>import('./components/ArticleExcerpt.js'), {
|
|
14
|
+
loading: Loading
|
|
15
|
+
});
|
|
16
|
+
const ArticleContent = dynamic(()=>import('./components/ArticleContent.js'), {
|
|
17
|
+
loading: Loading
|
|
18
|
+
});
|
|
19
|
+
const ArticleImage = dynamic(()=>import('./components/ArticleImage.js'), {
|
|
20
|
+
loading: Loading
|
|
21
|
+
});
|
|
22
|
+
const ArticlePagination = dynamic(()=>import('./components/ArticlePagination.js'), {
|
|
23
|
+
loading: Loading
|
|
24
|
+
});
|
|
25
|
+
const ArticleAuthor = dynamic(()=>import('./components/ArticleAuthor.js'), {
|
|
26
|
+
loading: Loading
|
|
27
|
+
});
|
|
28
|
+
const ArticleTag = dynamic(()=>import('./components/ArticleTag.js'), {
|
|
29
|
+
loading: Loading
|
|
30
|
+
});
|
|
31
|
+
const ArticleCategory = dynamic(()=>import('./components/ArticleCategory.js'), {
|
|
32
|
+
loading: Loading
|
|
33
|
+
});
|
|
34
|
+
const ArticleDate = dynamic(()=>import('./components/ArticleDate.js'), {
|
|
35
|
+
loading: Loading
|
|
36
|
+
});
|
|
37
|
+
const ArticleReadMore = dynamic(()=>import('./components/ArticleReadMore.js'), {
|
|
38
|
+
loading: Loading
|
|
39
|
+
});
|
|
40
40
|
var article = {
|
|
41
|
-
ArticleList
|
|
41
|
+
ArticleList,
|
|
42
|
+
ArticleTitle,
|
|
43
|
+
ArticleExcerpt,
|
|
44
|
+
ArticleContent,
|
|
45
|
+
ArticleImage,
|
|
46
|
+
ArticlePagination,
|
|
47
|
+
ArticleAuthor,
|
|
48
|
+
ArticleTag,
|
|
49
|
+
ArticleCategory,
|
|
50
|
+
ArticleDate,
|
|
51
|
+
ArticleReadMore
|
|
42
52
|
};
|
|
43
53
|
|
|
44
54
|
export { article as default };
|
|
@@ -122,24 +122,26 @@ const HeroBannerItem = (props)=>{
|
|
|
122
122
|
className: containerClasses,
|
|
123
123
|
style: containerStyle,
|
|
124
124
|
children: [
|
|
125
|
-
/*#__PURE__*/
|
|
125
|
+
/*#__PURE__*/ jsxs("div", {
|
|
126
126
|
ref: elementRef,
|
|
127
127
|
"aria-label": "Background Image",
|
|
128
128
|
role: "banner",
|
|
129
129
|
className: containBackgroundClasses,
|
|
130
130
|
style: containBackground,
|
|
131
|
-
children:
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
131
|
+
children: [
|
|
132
|
+
/*#__PURE__*/ jsx("div", {
|
|
133
|
+
ref: bgRef,
|
|
134
|
+
className: backgroundClasses,
|
|
135
|
+
style: backgroundStyle,
|
|
136
|
+
children: embed
|
|
137
|
+
}),
|
|
138
|
+
!!overlayColor && /*#__PURE__*/ jsx("div", {
|
|
139
|
+
"aria-label": "Overlay",
|
|
140
|
+
role: "banner",
|
|
141
|
+
className: overlayClasses,
|
|
142
|
+
style: overlayStyle
|
|
143
|
+
})
|
|
144
|
+
]
|
|
143
145
|
}),
|
|
144
146
|
/*#__PURE__*/ jsx(Row, {
|
|
145
147
|
className: rowClasses,
|
|
@@ -141,8 +141,8 @@ const HeroBannerItem = (props)=>{
|
|
|
141
141
|
${backgroundImageLazyload()}
|
|
142
142
|
${embed()}
|
|
143
143
|
</div>
|
|
144
|
+
${If(!!overlayColor, template`<div aria-label="Overlay" role="banner" class="${overlayClasses}" style="${overlayStyle}"></div>`)}
|
|
144
145
|
</div>
|
|
145
|
-
${If(!!overlayColor?.normal, template`<div aria-label="Overlay" role="banner" class="${overlayClasses}" style="${overlayStyle}"></div>`)}
|
|
146
146
|
${Row({
|
|
147
147
|
className: rowClasses,
|
|
148
148
|
style: rowStyle,
|
package/dist/types/index.d.ts
CHANGED
|
@@ -5771,6 +5771,16 @@ declare const _default$2: {
|
|
|
5771
5771
|
Breadcrumb: React.ComponentType<BreadcrumbProps>;
|
|
5772
5772
|
HeroBanner: React.ComponentType<HeroBannerProps>;
|
|
5773
5773
|
ArticleList: React.ComponentType<ArticleListProps>;
|
|
5774
|
+
ArticleTitle: React.ComponentType<ArticleTitleProps>;
|
|
5775
|
+
ArticleExcerpt: React.ComponentType<ArticleExcerptProps>;
|
|
5776
|
+
ArticleContent: React.ComponentType<ArticleContentProps>;
|
|
5777
|
+
ArticleImage: React.ComponentType<ArticleImageProps>;
|
|
5778
|
+
ArticlePagination: React.ComponentType<CollectionPaginatorProps>;
|
|
5779
|
+
ArticleAuthor: React.ComponentType<ArticleAuthorProps>;
|
|
5780
|
+
ArticleTag: React.ComponentType<ArticleTagProps>;
|
|
5781
|
+
ArticleCategory: React.ComponentType<ArticleCategoryProps>;
|
|
5782
|
+
ArticleDate: React.ComponentType<ArticleDateProps>;
|
|
5783
|
+
ArticleReadMore: React.ComponentType<ArticleReadMoreProps>;
|
|
5774
5784
|
Accordion: React.ComponentType<AccordionProps>;
|
|
5775
5785
|
AccordionItem: React.ComponentType<AccordionItemProps>;
|
|
5776
5786
|
};
|