@gem-sdk/core 2.0.0-dev.538 → 2.0.0-dev.553

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.
@@ -242,12 +242,13 @@ const handleConvertClassColorDynamicBtn = (value)=>{
242
242
  };
243
243
  return colors.getGlobalColorStateClassDynamicBtn('border', newVal);
244
244
  };
245
- const composeBorderCss = (borderV)=>{
245
+ const composeBorderCss = (borderV, options)=>{
246
246
  if (!borderV) return '';
247
+ const sub = options?.important ? ' !important' : '';
247
248
  const { border, width, color } = borderV;
248
- return `${border ? `border-style: ${border};` : ''}
249
- ${width ? `border-width: ${width};` : ''}
250
- ${color ? `border-color: ${colors.getSingleColorVariable(color)};` : ''}
249
+ return `${border ? `border-style: ${border}${sub};` : ''}
250
+ ${width ? `border-width: ${width}${sub};` : ''}
251
+ ${color ? `border-color: ${colors.getSingleColorVariable(color)}${sub};` : ''}
251
252
  `;
252
253
  };
253
254
  const composeBorderResponsive = (borderValue)=>{
@@ -1,6 +1,6 @@
1
1
  'use strict';
2
2
 
3
- const isLocalEnv = process.env.NEXT_CONVERT_ENV === 'local';
3
+ const isLocalEnv = false;
4
4
  const baseAssetURL = process.env.GP_BASE_ASSET_URL || 'https://d3kbi0je7pp4lw.cloudfront.net';
5
5
 
6
6
  exports.baseAssetURL = baseAssetURL;
@@ -240,12 +240,13 @@ const handleConvertClassColorDynamicBtn = (value)=>{
240
240
  };
241
241
  return getGlobalColorStateClassDynamicBtn('border', newVal);
242
242
  };
243
- const composeBorderCss = (borderV)=>{
243
+ const composeBorderCss = (borderV, options)=>{
244
244
  if (!borderV) return '';
245
+ const sub = options?.important ? ' !important' : '';
245
246
  const { border, width, color } = borderV;
246
- return `${border ? `border-style: ${border};` : ''}
247
- ${width ? `border-width: ${width};` : ''}
248
- ${color ? `border-color: ${getSingleColorVariable(color)};` : ''}
247
+ return `${border ? `border-style: ${border}${sub};` : ''}
248
+ ${width ? `border-width: ${width}${sub};` : ''}
249
+ ${color ? `border-color: ${getSingleColorVariable(color)}${sub};` : ''}
249
250
  `;
250
251
  };
251
252
  const composeBorderResponsive = (borderValue)=>{
@@ -1,4 +1,4 @@
1
- const isLocalEnv = process.env.NEXT_CONVERT_ENV === 'local';
1
+ const isLocalEnv = false;
2
2
  const baseAssetURL = process.env.GP_BASE_ASSET_URL || 'https://d3kbi0je7pp4lw.cloudfront.net';
3
3
 
4
4
  export { baseAssetURL, isLocalEnv };
@@ -35390,7 +35390,9 @@ declare const handleConvertBorderColor: (value?: BorderStyle) => React.CSSProper
35390
35390
  declare const handleConvertInputBorderColor: (value?: BorderStyle) => React.CSSProperties | undefined;
35391
35391
  declare const handleConvertClassColor: (value?: BorderStyle) => string | undefined;
35392
35392
  declare const handleConvertClassColorDynamicBtn: (value?: BorderStyle) => string | undefined;
35393
- declare const composeBorderCss: (borderV?: Border | undefined) => string;
35393
+ declare const composeBorderCss: (borderV?: Border | undefined, options?: {
35394
+ important?: boolean;
35395
+ }) => string;
35394
35396
  declare const composeBorderResponsive: (borderValue?: ObjectDevices<Border>) => React.CSSProperties;
35395
35397
 
35396
35398
  declare const getCarouselContainerHeight: <T>(dotStyle?: Partial<Record<NameDevices$1, T>> | undefined) => {
@@ -35811,6 +35813,10 @@ type IconControlType<T> = SharedControlType<T> & {
35811
35813
 
35812
35814
  type ImageControlType<T> = SharedControlType<T> & {
35813
35815
  type: 'image';
35816
+ hiddenSetting?: {
35817
+ seo?: boolean;
35818
+ optimizeLCP?: boolean;
35819
+ };
35814
35820
  };
35815
35821
 
35816
35822
  type InputControlType<T> = SharedControlType<T> & {
@@ -36119,6 +36125,7 @@ type Option$4<T> = {
36119
36125
  type?: string;
36120
36126
  note?: string;
36121
36127
  maxOption?: number;
36128
+ subTitle?: string;
36122
36129
  };
36123
36130
  type Mapped$5<K, T> = NonNullable<T> extends ObjectDevices<infer U> ? {
36124
36131
  id: K;
@@ -36688,6 +36695,7 @@ type InputUnitSpacingControlType<T> = SharedControlType<T> & {
36688
36695
  units: SizeUnit$1[];
36689
36696
  readonly?: boolean;
36690
36697
  useOnlyUnitInit?: boolean;
36698
+ hideUnit?: boolean;
36691
36699
  };
36692
36700
 
36693
36701
  type SizeUnit = '%' | 'cm' | 'mm' | 'Q' | 'in' | 'pc' | 'pt' | 'px' | 'em' | 'cap' | 'ex' | 'ch' | 'ic' | 'rem' | 'lh' | 'rlh' | 'vw' | 'vh' | 'vi' | 'vb' | 'vmin' | 'vmax';
@@ -42574,7 +42582,7 @@ declare const removePaddingYInStyle: (style?: React.CSSProperties) => {
42574
42582
 
42575
42583
  declare function composeClasses(classList?: string): Record<string, boolean>;
42576
42584
 
42577
- declare const isLocalEnv: boolean;
42585
+ declare const isLocalEnv = false;
42578
42586
  declare const baseAssetURL: string;
42579
42587
 
42580
42588
  declare const convertHTML: (str: string) => string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@gem-sdk/core",
3
- "version": "2.0.0-dev.538",
3
+ "version": "2.0.0-dev.553",
4
4
  "license": "MIT",
5
5
  "sideEffects": false,
6
6
  "main": "dist/cjs/index.js",