@gem-sdk/components 2.0.0-dev.438 → 2.0.0-dev.441

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.
@@ -735,7 +735,7 @@ const config = {
735
735
  typo: {
736
736
  type: 'subheading-3',
737
737
  attrs: {
738
- color: '#212121'
738
+ color: 'text-1'
739
739
  }
740
740
  },
741
741
  color: {
@@ -22,21 +22,6 @@ const ArticleDatePresets = [
22
22
  styles: {
23
23
  typo: {
24
24
  type: 'paragraph-3',
25
- custom: {
26
- fontSize: {
27
- desktop: '12px',
28
- tablet: '12px',
29
- mobile: '12px',
30
- edited: [
31
- 'desktop'
32
- ]
33
- },
34
- lineHeight: {
35
- desktop: '120%',
36
- tablet: '120%',
37
- mobile: '120%'
38
- }
39
- },
40
25
  attrs: {
41
26
  color: '#212121'
42
27
  }
@@ -238,8 +238,7 @@ const SettingUIV2 = [
238
238
  en: 'Shadow'
239
239
  },
240
240
  setting: {
241
- id: 'shadowBg',
242
- state: 'normal'
241
+ id: 'shadowBg'
243
242
  }
244
243
  }
245
244
  ]
@@ -82,7 +82,10 @@ const ProductSkuSettings = [
82
82
  id: 'typo',
83
83
  type: 'typography-v2',
84
84
  default: {
85
- type: 'paragraph-1'
85
+ type: 'paragraph-1',
86
+ attrs: {
87
+ transform: 'none'
88
+ }
86
89
  },
87
90
  ignoreReRender: true,
88
91
  hiddenSetting: {
@@ -97,7 +97,10 @@ const ProductVendorSettings = [
97
97
  id: 'typo',
98
98
  type: 'typography-v2',
99
99
  default: {
100
- type: 'paragraph-1'
100
+ type: 'paragraph-1',
101
+ attrs: {
102
+ transform: 'none'
103
+ }
101
104
  },
102
105
  ignoreReRender: true,
103
106
  hiddenSetting: {
@@ -21,7 +21,8 @@ const Sticky = ({ children, builderAttrs, setting, style, builderProps, advanced
21
21
  const createDataState = system.createStateOrContext({
22
22
  uid: builderProps?.uid,
23
23
  setting: {
24
- display
24
+ display,
25
+ isScrollToTop
25
26
  },
26
27
  advanced: {
27
28
  d: advancedDisplay
@@ -731,7 +731,7 @@ const config = {
731
731
  typo: {
732
732
  type: 'subheading-3',
733
733
  attrs: {
734
- color: '#212121'
734
+ color: 'text-1'
735
735
  }
736
736
  },
737
737
  color: {
@@ -20,21 +20,6 @@ const ArticleDatePresets = [
20
20
  styles: {
21
21
  typo: {
22
22
  type: 'paragraph-3',
23
- custom: {
24
- fontSize: {
25
- desktop: '12px',
26
- tablet: '12px',
27
- mobile: '12px',
28
- edited: [
29
- 'desktop'
30
- ]
31
- },
32
- lineHeight: {
33
- desktop: '120%',
34
- tablet: '120%',
35
- mobile: '120%'
36
- }
37
- },
38
23
  attrs: {
39
24
  color: '#212121'
40
25
  }
@@ -236,8 +236,7 @@ const SettingUIV2 = [
236
236
  en: 'Shadow'
237
237
  },
238
238
  setting: {
239
- id: 'shadowBg',
240
- state: 'normal'
239
+ id: 'shadowBg'
241
240
  }
242
241
  }
243
242
  ]
@@ -80,7 +80,10 @@ const ProductSkuSettings = [
80
80
  id: 'typo',
81
81
  type: 'typography-v2',
82
82
  default: {
83
- type: 'paragraph-1'
83
+ type: 'paragraph-1',
84
+ attrs: {
85
+ transform: 'none'
86
+ }
84
87
  },
85
88
  ignoreReRender: true,
86
89
  hiddenSetting: {
@@ -95,7 +95,10 @@ const ProductVendorSettings = [
95
95
  id: 'typo',
96
96
  type: 'typography-v2',
97
97
  default: {
98
- type: 'paragraph-1'
98
+ type: 'paragraph-1',
99
+ attrs: {
100
+ transform: 'none'
101
+ }
99
102
  },
100
103
  ignoreReRender: true,
101
104
  hiddenSetting: {
@@ -17,7 +17,8 @@ const Sticky = ({ children, builderAttrs, setting, style, builderProps, advanced
17
17
  const createDataState = createStateOrContext({
18
18
  uid: builderProps?.uid,
19
19
  setting: {
20
- display
20
+ display,
21
+ isScrollToTop
21
22
  },
22
23
  advanced: {
23
24
  d: advancedDisplay
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@gem-sdk/components",
3
- "version": "2.0.0-dev.438",
3
+ "version": "2.0.0-dev.441",
4
4
  "license": "MIT",
5
5
  "sideEffects": false,
6
6
  "main": "dist/cjs/index.js",
@@ -25,7 +25,7 @@
25
25
  "devDependencies": {
26
26
  "@gem-sdk/core": "2.0.0-dev.435",
27
27
  "@gem-sdk/styles": "2.0.0-dev.381",
28
- "@gem-sdk/system": "2.0.0-dev.433",
28
+ "@gem-sdk/system": "2.0.0-dev.439",
29
29
  "@types/react-transition-group": "^4.4.5"
30
30
  },
31
31
  "dependencies": {