@gem-sdk/core 1.14.0-next.54 → 1.14.0-next.59

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.
@@ -4,7 +4,7 @@ var constant = require('./constant.js');
4
4
  var makeStyle = require('./make-style.js');
5
5
 
6
6
  const getCornerCSSFromGlobal = (corner)=>{
7
- if (!corner.radiusType) return {};
7
+ if (!corner?.radiusType) return {};
8
8
  if ([
9
9
  'custom',
10
10
  'circle'
@@ -2,7 +2,7 @@ import { devicesMapping, stateMapping } from './constant.js';
2
2
  import { makeStyle } from './make-style.js';
3
3
 
4
4
  const getCornerCSSFromGlobal = (corner)=>{
5
- if (!corner.radiusType) return {};
5
+ if (!corner?.radiusType) return {};
6
6
  if ([
7
7
  'custom',
8
8
  'circle'
@@ -9299,7 +9299,7 @@ declare const composeTypographyStyle: (typo?: TypographySettingV2, typography?:
9299
9299
  vectorEffect?: csstype.Property.VectorEffect | undefined;
9300
9300
  };
9301
9301
 
9302
- declare const getCornerCSSFromGlobal: (corner: CornerRadius) => React.CSSProperties;
9302
+ declare const getCornerCSSFromGlobal: (corner?: CornerRadius) => React.CSSProperties;
9303
9303
  declare const getRadiusCSSFromGlobal: (state: StateType, key?: RoundedSize, device?: NameDevices) => React.CSSProperties;
9304
9304
  declare const getCustomRadius: (state: StateType, radius?: CornerRadius, device?: NameDevices) => React.CSSProperties;
9305
9305
  declare const composeRadius: (value?: StateProp<CornerRadius> | ResponsiveStateProp<CornerRadius>) => React.CSSProperties;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@gem-sdk/core",
3
- "version": "1.14.0-next.54",
3
+ "version": "1.14.0-next.59",
4
4
  "license": "MIT",
5
5
  "sideEffects": false,
6
6
  "main": "dist/cjs/index.js",
@@ -25,7 +25,7 @@
25
25
  },
26
26
  "devDependencies": {
27
27
  "@gem-sdk/adapter-shopify": "1.12.0",
28
- "@gem-sdk/styles": "1.14.0-next.48"
28
+ "@gem-sdk/styles": "1.14.0-next.55"
29
29
  },
30
30
  "dependencies": {
31
31
  "react-error-boundary": "4.0.3",