@gem-sdk/components 2.0.0-dev.342 → 2.0.0-dev.343
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.
|
@@ -21,7 +21,7 @@ const IconListHoz = (props)=>{
|
|
|
21
21
|
uid: builderProps?.uid || ''
|
|
22
22
|
})
|
|
23
23
|
});
|
|
24
|
-
const
|
|
24
|
+
const wrapperStyle = system.createStyle({
|
|
25
25
|
...getStyle.getWrapperStyle(style, background)
|
|
26
26
|
});
|
|
27
27
|
const containClasses = system.createClass({
|
|
@@ -63,7 +63,7 @@ const IconListHoz = (props)=>{
|
|
|
63
63
|
...attrs,
|
|
64
64
|
...builderAttrs,
|
|
65
65
|
"data-id": builderProps?.uid,
|
|
66
|
-
style:
|
|
66
|
+
style: wrapperStyle,
|
|
67
67
|
children: system.If(core.isEmptyChildren(children), /*#__PURE__*/ jsxRuntime.jsx("div", {
|
|
68
68
|
children: "Icons not found"
|
|
69
69
|
}), /*#__PURE__*/ jsxRuntime.jsxs(jsxRuntime.Fragment, {
|
|
@@ -18,7 +18,7 @@ const IconListHoz = (props)=>{
|
|
|
18
18
|
uid: builderProps?.uid || ''
|
|
19
19
|
})
|
|
20
20
|
});
|
|
21
|
-
const
|
|
21
|
+
const wrapperStyle = system.createStyle({
|
|
22
22
|
...getStyle.getWrapperStyle(style, background)
|
|
23
23
|
});
|
|
24
24
|
const containClasses = system.createClass({
|
|
@@ -36,12 +36,10 @@ const IconListHoz = (props)=>{
|
|
|
36
36
|
...attrs
|
|
37
37
|
}} ${{
|
|
38
38
|
...builderAttrs
|
|
39
|
-
}} style="${
|
|
40
|
-
${system.If(core.isEmptyChildren(children), `<div>${helpers.getStaticLocale('IconListHoz', 'icons_not_found')}</div>`,
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
</div>
|
|
44
|
-
</>`)}
|
|
39
|
+
}} style="${wrapperStyle}">
|
|
40
|
+
${system.If(core.isEmptyChildren(children), `<div>${helpers.getStaticLocale('IconListHoz', 'icons_not_found')}</div>`, core.template`<div class="${containClasses}" style="${containStyle}">
|
|
41
|
+
${renderChildren()}
|
|
42
|
+
</div>`)}
|
|
45
43
|
</div>
|
|
46
44
|
`;
|
|
47
45
|
};
|
|
@@ -17,7 +17,7 @@ const IconListHoz = (props)=>{
|
|
|
17
17
|
uid: builderProps?.uid || ''
|
|
18
18
|
})
|
|
19
19
|
});
|
|
20
|
-
const
|
|
20
|
+
const wrapperStyle = createStyle({
|
|
21
21
|
...getWrapperStyle(style, background)
|
|
22
22
|
});
|
|
23
23
|
const containClasses = createClass({
|
|
@@ -59,7 +59,7 @@ const IconListHoz = (props)=>{
|
|
|
59
59
|
...attrs,
|
|
60
60
|
...builderAttrs,
|
|
61
61
|
"data-id": builderProps?.uid,
|
|
62
|
-
style:
|
|
62
|
+
style: wrapperStyle,
|
|
63
63
|
children: If(isEmptyChildren(children), /*#__PURE__*/ jsx("div", {
|
|
64
64
|
children: "Icons not found"
|
|
65
65
|
}), /*#__PURE__*/ jsxs(Fragment, {
|
|
@@ -14,7 +14,7 @@ const IconListHoz = (props)=>{
|
|
|
14
14
|
uid: builderProps?.uid || ''
|
|
15
15
|
})
|
|
16
16
|
});
|
|
17
|
-
const
|
|
17
|
+
const wrapperStyle = createStyle({
|
|
18
18
|
...getWrapperStyle(style, background)
|
|
19
19
|
});
|
|
20
20
|
const containClasses = createClass({
|
|
@@ -32,12 +32,10 @@ const IconListHoz = (props)=>{
|
|
|
32
32
|
...attrs
|
|
33
33
|
}} ${{
|
|
34
34
|
...builderAttrs
|
|
35
|
-
}} style="${
|
|
36
|
-
${If(isEmptyChildren(children), `<div>${getStaticLocale('IconListHoz', 'icons_not_found')}</div>`,
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
</div>
|
|
40
|
-
</>`)}
|
|
35
|
+
}} style="${wrapperStyle}">
|
|
36
|
+
${If(isEmptyChildren(children), `<div>${getStaticLocale('IconListHoz', 'icons_not_found')}</div>`, template`<div class="${containClasses}" style="${containStyle}">
|
|
37
|
+
${renderChildren()}
|
|
38
|
+
</div>`)}
|
|
41
39
|
</div>
|
|
42
40
|
`;
|
|
43
41
|
};
|