@gem-sdk/core 2.0.0-dev.503 → 2.0.0-dev.504
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.
|
@@ -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
|
@@ -42631,8 +42631,8 @@ declare const composeCornerCss: (value?: CornerRadius | undefined, important?: b
|
|
|
42631
42631
|
|
|
42632
42632
|
type CallbackCondition = () => string;
|
|
42633
42633
|
declare const RenderIf: (c: boolean | null | undefined, t: string | CallbackCondition, f?: string | CallbackCondition) => string;
|
|
42634
|
-
declare const props: (
|
|
42635
|
-
declare const styles: (
|
|
42634
|
+
declare const props: (_strings: any, ...keys: any[]) => string;
|
|
42635
|
+
declare const styles: (_strings: any, ...keys: any[]) => string;
|
|
42636
42636
|
declare const dataStringify: (obj: object) => string;
|
|
42637
42637
|
declare const template: (strings: any, ...keys: any[]) => string;
|
|
42638
42638
|
declare const composeMemo: <T>(fn: () => T, _?: any[]) => T;
|