@gem-sdk/components 2.0.0-dev.266 → 2.0.0-dev.268

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.
@@ -93,7 +93,7 @@ require('../../icon-list-v2/setting/configs/settings.js');
93
93
  require('../../post-purchase/image/components/Img.js');
94
94
  require('../../post-purchase/callout-banner/components/common/getStyles.js');
95
95
  require('../../post-purchase/line/components/PostPurchaseLine.js');
96
- require('@gem-sdk/core/src/types/control-types/typography-post-purchase');
96
+ require('../../post-purchase/link/constants/index.js');
97
97
  require('../../estimate-delivery/setting/configs/settings.js');
98
98
  require('../../accordion/next.js');
99
99
  require('../../breadcrumb/next.js');
@@ -19,10 +19,10 @@ const getBreadcrumbChildItemStyles = (args)=>{
19
19
  ...core.makeStyle({
20
20
  c: core.getSingleColorVariable(breadcrumbItemIndex + 1 === lengthOfBreadcrumb ? labelColor?.active : labelColor?.normal)
21
21
  }),
22
+ ...appendTypoStyle,
22
23
  ...core.removeNullUndefined({
23
24
  ...index.makeStyleStateConditionActive('weight', fontWeight, breadcrumbItemIndex + 1 === lengthOfBreadcrumb)
24
- }),
25
- ...appendTypoStyle
25
+ })
26
26
  };
27
27
  };
28
28
  const generateBreadcrumbChildIconStyles = (iconWidth, color)=>{
@@ -16,7 +16,7 @@ const SettingUIV2 = [
16
16
  },
17
17
  {
18
18
  label: {
19
- en: 'Column Spacing'
19
+ en: 'Column spacing'
20
20
  },
21
21
  conditionEnable: '!!layout.cols && layout.cols.length > 1',
22
22
  controls: [
@@ -87,7 +87,7 @@ require('../../icon-list-v2/setting/configs/settings.js');
87
87
  require('../../post-purchase/image/components/Img.js');
88
88
  require('../../post-purchase/callout-banner/components/common/getStyles.js');
89
89
  require('../../post-purchase/line/components/PostPurchaseLine.js');
90
- require('@gem-sdk/core/src/types/control-types/typography-post-purchase');
90
+ require('../../post-purchase/link/constants/index.js');
91
91
  require('../setting/configs/settings.js');
92
92
  var _const = require('../const.js');
93
93
  var TextInline = require('../../text/components/TextInline.js');
@@ -72,7 +72,7 @@ const SettingUIV2 = [
72
72
  },
73
73
  {
74
74
  label: {
75
- en: 'Column Spacing'
75
+ en: 'Column spacing'
76
76
  },
77
77
  controls: [
78
78
  {
@@ -29,7 +29,7 @@ const SettingUIV2 = [
29
29
  },
30
30
  {
31
31
  label: {
32
- en: 'Column Spacing'
32
+ en: 'Column spacing'
33
33
  },
34
34
  conditionDisplay: `pageType !== "POST_PURCHASE" && childrens > 1`,
35
35
  controls: [
@@ -9,7 +9,7 @@ var system = require('@gem-sdk/system');
9
9
  var getClasses = require('./common/getClasses.js');
10
10
  var getStyles = require('./common/getStyles.js');
11
11
  var common = require('./common/common.js');
12
- var typographyPostPurchase = require('@gem-sdk/core/src/types/control-types/typography-post-purchase');
12
+ var index = require('../constants/index.js');
13
13
 
14
14
  const Link = ({ builderAttrs, setting = {}, styles, builderProps })=>{
15
15
  const { link, width, label } = setting;
@@ -60,7 +60,7 @@ const Link = ({ builderAttrs, setting = {}, styles, builderProps })=>{
60
60
  textClass: textClasses
61
61
  })
62
62
  }),
63
- typo?.fontSize === typographyPostPurchase.PostPurchaseFontSizeValue.XLarge && /*#__PURE__*/ jsxRuntime.jsx("div", {
63
+ typo?.fontSize === index.PostPurchaseFontSizeValue.XLarge && /*#__PURE__*/ jsxRuntime.jsx("div", {
64
64
  className: elementMarginClasses
65
65
  })
66
66
  ]
@@ -0,0 +1,10 @@
1
+ 'use strict';
2
+
3
+ exports.PostPurchaseFontSizeValue = void 0;
4
+ (function(PostPurchaseFontSizeValue) {
5
+ PostPurchaseFontSizeValue["Default"] = 'default';
6
+ PostPurchaseFontSizeValue["Small"] = 'small';
7
+ PostPurchaseFontSizeValue["Medium"] = 'medium';
8
+ PostPurchaseFontSizeValue["Large"] = 'large';
9
+ PostPurchaseFontSizeValue["XLarge"] = 'xlarge';
10
+ })(exports.PostPurchaseFontSizeValue || (exports.PostPurchaseFontSizeValue = {}));
@@ -84,7 +84,7 @@ require('../../../../../icon-list-v2/setting/configs/settings.js');
84
84
  require('../../../../../post-purchase/image/components/Img.js');
85
85
  require('../../../../../post-purchase/callout-banner/components/common/getStyles.js');
86
86
  require('../../../../../post-purchase/line/components/PostPurchaseLine.js');
87
- require('@gem-sdk/core/src/types/control-types/typography-post-purchase');
87
+ require('../../../../../post-purchase/link/constants/index.js');
88
88
  require('../../../../../estimate-delivery/setting/configs/settings.js');
89
89
  require('../../../../../accordion/next.js');
90
90
  require('../../../../../breadcrumb/next.js');
@@ -29,7 +29,7 @@ const SettingUIV2 = [
29
29
  },
30
30
  {
31
31
  label: {
32
- en: 'Column Spacing'
32
+ en: 'Column spacing'
33
33
  },
34
34
  conditionDisplay: `pageType !== "POST_PURCHASE" && childrens > 1`,
35
35
  controls: [
@@ -131,7 +131,7 @@ require('./post-purchase/line/components/PostPurchaseLine.js');
131
131
  var index$M = require('./post-purchase/advanced-list/setting/index.js');
132
132
  var index$N = require('./post-purchase/countdown-timer/settings/index.js');
133
133
  var index$L = require('./post-purchase/link/setting/index.js');
134
- require('@gem-sdk/core/src/types/control-types/typography-post-purchase');
134
+ require('./post-purchase/link/constants/index.js');
135
135
  var index$O = require('./estimate-delivery/setting/index.js');
136
136
  var index$P = require('./article/setting/index.js');
137
137
  var index$Q = require('./marquee/setting/index.js');
@@ -89,7 +89,7 @@ import '../../icon-list-v2/setting/configs/settings.js';
89
89
  import '../../post-purchase/image/components/Img.js';
90
90
  import '../../post-purchase/callout-banner/components/common/getStyles.js';
91
91
  import '../../post-purchase/line/components/PostPurchaseLine.js';
92
- import '@gem-sdk/core/src/types/control-types/typography-post-purchase';
92
+ import '../../post-purchase/link/constants/index.js';
93
93
  import '../../estimate-delivery/setting/configs/settings.js';
94
94
  import '../../accordion/next.js';
95
95
  import '../../breadcrumb/next.js';
@@ -17,10 +17,10 @@ const getBreadcrumbChildItemStyles = (args)=>{
17
17
  ...makeStyle({
18
18
  c: getSingleColorVariable(breadcrumbItemIndex + 1 === lengthOfBreadcrumb ? labelColor?.active : labelColor?.normal)
19
19
  }),
20
+ ...appendTypoStyle,
20
21
  ...removeNullUndefined({
21
22
  ...makeStyleStateConditionActive('weight', fontWeight, breadcrumbItemIndex + 1 === lengthOfBreadcrumb)
22
- }),
23
- ...appendTypoStyle
23
+ })
24
24
  };
25
25
  };
26
26
  const generateBreadcrumbChildIconStyles = (iconWidth, color)=>{
@@ -14,7 +14,7 @@ const SettingUIV2 = [
14
14
  },
15
15
  {
16
16
  label: {
17
- en: 'Column Spacing'
17
+ en: 'Column spacing'
18
18
  },
19
19
  conditionEnable: '!!layout.cols && layout.cols.length > 1',
20
20
  controls: [
@@ -83,7 +83,7 @@ import '../../icon-list-v2/setting/configs/settings.js';
83
83
  import '../../post-purchase/image/components/Img.js';
84
84
  import '../../post-purchase/callout-banner/components/common/getStyles.js';
85
85
  import '../../post-purchase/line/components/PostPurchaseLine.js';
86
- import '@gem-sdk/core/src/types/control-types/typography-post-purchase';
86
+ import '../../post-purchase/link/constants/index.js';
87
87
  import '../setting/configs/settings.js';
88
88
  import { OUT_OF_STOCK } from '../const.js';
89
89
  import TextInline from '../../text/components/TextInline.js';
@@ -70,7 +70,7 @@ const SettingUIV2 = [
70
70
  },
71
71
  {
72
72
  label: {
73
- en: 'Column Spacing'
73
+ en: 'Column spacing'
74
74
  },
75
75
  controls: [
76
76
  {
@@ -27,7 +27,7 @@ const SettingUIV2 = [
27
27
  },
28
28
  {
29
29
  label: {
30
- en: 'Column Spacing'
30
+ en: 'Column spacing'
31
31
  },
32
32
  conditionDisplay: `pageType !== "POST_PURCHASE" && childrens > 1`,
33
33
  controls: [
@@ -5,7 +5,7 @@ import { createClass, createStyle } from '@gem-sdk/system';
5
5
  import { getClasses, getComponentClasses, getTextClasses, getElementMarginClasses } from './common/getClasses.js';
6
6
  import { getStyle, getComponentStyles, getTextStyle } from './common/getStyles.js';
7
7
  import { getComponentTag } from './common/common.js';
8
- import { PostPurchaseFontSizeValue } from '@gem-sdk/core/src/types/control-types/typography-post-purchase';
8
+ import { PostPurchaseFontSizeValue } from '../constants/index.js';
9
9
 
10
10
  const Link = ({ builderAttrs, setting = {}, styles, builderProps })=>{
11
11
  const { link, width, label } = setting;
@@ -0,0 +1,10 @@
1
+ var PostPurchaseFontSizeValue;
2
+ (function(PostPurchaseFontSizeValue) {
3
+ PostPurchaseFontSizeValue["Default"] = 'default';
4
+ PostPurchaseFontSizeValue["Small"] = 'small';
5
+ PostPurchaseFontSizeValue["Medium"] = 'medium';
6
+ PostPurchaseFontSizeValue["Large"] = 'large';
7
+ PostPurchaseFontSizeValue["XLarge"] = 'xlarge';
8
+ })(PostPurchaseFontSizeValue || (PostPurchaseFontSizeValue = {}));
9
+
10
+ export { PostPurchaseFontSizeValue };
@@ -82,7 +82,7 @@ import '../../../../../icon-list-v2/setting/configs/settings.js';
82
82
  import '../../../../../post-purchase/image/components/Img.js';
83
83
  import '../../../../../post-purchase/callout-banner/components/common/getStyles.js';
84
84
  import '../../../../../post-purchase/line/components/PostPurchaseLine.js';
85
- import '@gem-sdk/core/src/types/control-types/typography-post-purchase';
85
+ import '../../../../../post-purchase/link/constants/index.js';
86
86
  import '../../../../../estimate-delivery/setting/configs/settings.js';
87
87
  import '../../../../../accordion/next.js';
88
88
  import '../../../../../breadcrumb/next.js';
@@ -27,7 +27,7 @@ const SettingUIV2 = [
27
27
  },
28
28
  {
29
29
  label: {
30
- en: 'Column Spacing'
30
+ en: 'Column spacing'
31
31
  },
32
32
  conditionDisplay: `pageType !== "POST_PURCHASE" && childrens > 1`,
33
33
  controls: [
@@ -127,7 +127,7 @@ import './post-purchase/line/components/PostPurchaseLine.js';
127
127
  import postPurchaseAdvancedListSetting from './post-purchase/advanced-list/setting/index.js';
128
128
  import postPurchaseCountdownTimerSetting from './post-purchase/countdown-timer/settings/index.js';
129
129
  import postPurchaseLinkSetting from './post-purchase/link/setting/index.js';
130
- import '@gem-sdk/core/src/types/control-types/typography-post-purchase';
130
+ import './post-purchase/link/constants/index.js';
131
131
  import estimateDeliverySetting from './estimate-delivery/setting/index.js';
132
132
  import articleListSetting from './article/setting/index.js';
133
133
  import marqueeSetting from './marquee/setting/index.js';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@gem-sdk/components",
3
- "version": "2.0.0-dev.266",
3
+ "version": "2.0.0-dev.268",
4
4
  "license": "MIT",
5
5
  "sideEffects": false,
6
6
  "main": "dist/cjs/index.js",
@@ -22,7 +22,7 @@
22
22
  "relationship": "rollup -c ./scripts/rollup.config.settings.mjs && node ./scripts/get-control-relationship.js && node ./scripts/get-element-relationship.js"
23
23
  },
24
24
  "devDependencies": {
25
- "@gem-sdk/core": "2.0.0-dev.264",
25
+ "@gem-sdk/core": "2.0.0-dev.267",
26
26
  "@gem-sdk/styles": "2.0.0-dev.263",
27
27
  "@gem-sdk/system": "2.0.0-dev.263",
28
28
  "@types/react-transition-group": "^4.4.5"