@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.
@@ -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
- // const ArticleTitle = dynamic(() => import('./components/ArticleTitle'), {
15
- // loading: Loading,
16
- // });
17
- // const ArticleExcerpt = dynamic(() => import('./components/ArticleExcerpt'), {
18
- // loading: Loading,
19
- // });
20
- // const ArticleContent = dynamic(() => import('./components/ArticleContent'), {
21
- // loading: Loading,
22
- // });
23
- // const ArticleImage = dynamic(() => import('./components/ArticleImage'), {
24
- // loading: Loading,
25
- // });
26
- // const ArticlePagination = dynamic(() => import('./components/ArticlePagination'), {
27
- // loading: Loading,
28
- // });
29
- // const ArticleAuthor = dynamic(() => import('./components/ArticleAuthor'), {
30
- // loading: Loading,
31
- // });
32
- // const ArticleTag = dynamic(() => import('./components/ArticleTag'), {
33
- // loading: Loading,
34
- // });
35
- // const ArticleCategory = dynamic(() => import('./components/ArticleCategory'), {
36
- // loading: Loading,
37
- // });
38
- // const ArticleDate = dynamic(() => import('./components/ArticleDate'), {
39
- // loading: Loading,
40
- // });
41
- // const ArticleReadMore = dynamic(() => import('./components/ArticleReadMore'), {
42
- // loading: Loading,
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.jsx("div", {
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: /*#__PURE__*/ jsxRuntime.jsx("div", {
136
- ref: bgRef,
137
- className: backgroundClasses,
138
- style: backgroundStyle,
139
- children: embed
140
- })
141
- }),
142
- !!overlayColor?.normal && /*#__PURE__*/ jsxRuntime.jsx("div", {
143
- "aria-label": "Overlay",
144
- role: "banner",
145
- className: overlayClasses,
146
- style: overlayStyle
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,
@@ -74,14 +74,11 @@ const SettingV2 = [
74
74
  },
75
75
  {
76
76
  id: 'spacingHoz',
77
- type: 'range',
77
+ type: 'input:slider',
78
78
  min: 0,
79
79
  max: 100,
80
80
  step: 1,
81
- units: [
82
- '%'
83
- ],
84
- default: '8%'
81
+ default: '8'
85
82
  },
86
83
  {
87
84
  id: 'spacingVertical',
@@ -136,7 +136,7 @@ const SettingUIV2 = [
136
136
  },
137
137
  {
138
138
  label: {
139
- en: 'Item gap'
139
+ en: 'Image gap'
140
140
  },
141
141
  setting: {
142
142
  id: 'ilSpacing'
@@ -7,38 +7,48 @@ import '@gem-sdk/core';
7
7
  const ArticleList = dynamic(()=>import('./components/ArticleList.js'), {
8
8
  loading: Loading
9
9
  });
10
- // const ArticleTitle = dynamic(() => import('./components/ArticleTitle'), {
11
- // loading: Loading,
12
- // });
13
- // const ArticleExcerpt = dynamic(() => import('./components/ArticleExcerpt'), {
14
- // loading: Loading,
15
- // });
16
- // const ArticleContent = dynamic(() => import('./components/ArticleContent'), {
17
- // loading: Loading,
18
- // });
19
- // const ArticleImage = dynamic(() => import('./components/ArticleImage'), {
20
- // loading: Loading,
21
- // });
22
- // const ArticlePagination = dynamic(() => import('./components/ArticlePagination'), {
23
- // loading: Loading,
24
- // });
25
- // const ArticleAuthor = dynamic(() => import('./components/ArticleAuthor'), {
26
- // loading: Loading,
27
- // });
28
- // const ArticleTag = dynamic(() => import('./components/ArticleTag'), {
29
- // loading: Loading,
30
- // });
31
- // const ArticleCategory = dynamic(() => import('./components/ArticleCategory'), {
32
- // loading: Loading,
33
- // });
34
- // const ArticleDate = dynamic(() => import('./components/ArticleDate'), {
35
- // loading: Loading,
36
- // });
37
- // const ArticleReadMore = dynamic(() => import('./components/ArticleReadMore'), {
38
- // loading: Loading,
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__*/ jsx("div", {
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: /*#__PURE__*/ jsx("div", {
132
- ref: bgRef,
133
- className: backgroundClasses,
134
- style: backgroundStyle,
135
- children: embed
136
- })
137
- }),
138
- !!overlayColor?.normal && /*#__PURE__*/ jsx("div", {
139
- "aria-label": "Overlay",
140
- role: "banner",
141
- className: overlayClasses,
142
- style: overlayStyle
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,
@@ -72,14 +72,11 @@ const SettingV2 = [
72
72
  },
73
73
  {
74
74
  id: 'spacingHoz',
75
- type: 'range',
75
+ type: 'input:slider',
76
76
  min: 0,
77
77
  max: 100,
78
78
  step: 1,
79
- units: [
80
- '%'
81
- ],
82
- default: '8%'
79
+ default: '8'
83
80
  },
84
81
  {
85
82
  id: 'spacingVertical',
@@ -134,7 +134,7 @@ const SettingUIV2 = [
134
134
  },
135
135
  {
136
136
  label: {
137
- en: 'Item gap'
137
+ en: 'Image gap'
138
138
  },
139
139
  setting: {
140
140
  id: 'ilSpacing'
@@ -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
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@gem-sdk/components",
3
- "version": "2.0.0-dev.356",
3
+ "version": "2.0.0-dev.358",
4
4
  "license": "MIT",
5
5
  "sideEffects": false,
6
6
  "main": "dist/cjs/index.js",