@gem-sdk/core 2.0.0-dev.503 → 2.0.0-dev.508
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.
- package/dist/cjs/graphql/fragments/preview-theme-page.generated.js +4 -0
- package/dist/cjs/helpers/render.js +2 -2
- package/dist/cjs/hooks/useLoadScript.js +1 -1
- package/dist/esm/graphql/fragments/preview-theme-page.generated.js +4 -0
- package/dist/esm/helpers/render.js +2 -2
- package/dist/esm/hooks/useLoadScript.js +1 -1
- package/dist/types/index.d.ts +3 -2
- package/package.json +1 -1
|
@@ -7,7 +7,7 @@ const isObject = (obj)=>{
|
|
|
7
7
|
}
|
|
8
8
|
return false;
|
|
9
9
|
};
|
|
10
|
-
const props = (
|
|
10
|
+
const props = (_strings, ...keys)=>{
|
|
11
11
|
const props = keys[0];
|
|
12
12
|
const propsArr = [];
|
|
13
13
|
for(const attr in props){
|
|
@@ -28,7 +28,7 @@ const props = (strings, ...keys)=>{
|
|
|
28
28
|
}
|
|
29
29
|
return propsArr.join(' ');
|
|
30
30
|
};
|
|
31
|
-
const styles = (
|
|
31
|
+
const styles = (_strings, ...keys)=>{
|
|
32
32
|
const styles = keys[0];
|
|
33
33
|
const styleArr = [];
|
|
34
34
|
for(const attr in styles){
|
|
@@ -5,7 +5,7 @@ const isObject = (obj)=>{
|
|
|
5
5
|
}
|
|
6
6
|
return false;
|
|
7
7
|
};
|
|
8
|
-
const props = (
|
|
8
|
+
const props = (_strings, ...keys)=>{
|
|
9
9
|
const props = keys[0];
|
|
10
10
|
const propsArr = [];
|
|
11
11
|
for(const attr in props){
|
|
@@ -26,7 +26,7 @@ const props = (strings, ...keys)=>{
|
|
|
26
26
|
}
|
|
27
27
|
return propsArr.join(' ');
|
|
28
28
|
};
|
|
29
|
-
const styles = (
|
|
29
|
+
const styles = (_strings, ...keys)=>{
|
|
30
30
|
const styles = keys[0];
|
|
31
31
|
const styleArr = [];
|
|
32
32
|
for(const attr in styles){
|
package/dist/types/index.d.ts
CHANGED
|
@@ -36325,6 +36325,7 @@ type SettingUICompo = {
|
|
|
36325
36325
|
iconPrefix?: string;
|
|
36326
36326
|
disableScrollbar?: boolean;
|
|
36327
36327
|
capitalizeDisplayValue?: boolean;
|
|
36328
|
+
isTypoValue?: boolean;
|
|
36328
36329
|
enableCheckSettingsValue?: boolean;
|
|
36329
36330
|
};
|
|
36330
36331
|
type SettingUIMoreSetting = {
|
|
@@ -42631,8 +42632,8 @@ declare const composeCornerCss: (value?: CornerRadius | undefined, important?: b
|
|
|
42631
42632
|
|
|
42632
42633
|
type CallbackCondition = () => string;
|
|
42633
42634
|
declare const RenderIf: (c: boolean | null | undefined, t: string | CallbackCondition, f?: string | CallbackCondition) => string;
|
|
42634
|
-
declare const props: (
|
|
42635
|
-
declare const styles: (
|
|
42635
|
+
declare const props: (_strings: any, ...keys: any[]) => string;
|
|
42636
|
+
declare const styles: (_strings: any, ...keys: any[]) => string;
|
|
42636
42637
|
declare const dataStringify: (obj: object) => string;
|
|
42637
42638
|
declare const template: (strings: any, ...keys: any[]) => string;
|
|
42638
42639
|
declare const composeMemo: <T>(fn: () => T, _?: any[]) => T;
|