@gem-sdk/components 2.0.0-dev.388 → 2.0.0-dev.390
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/product/components/ProductBundle/components/ProductBundleDiscount.liquid.js +7 -2
- package/dist/cjs/tab/index.js +2 -2
- package/dist/esm/product/components/ProductBundle/components/ProductBundleDiscount.liquid.js +7 -2
- package/dist/esm/tab/index.js +2 -2
- package/dist/types/index.d.ts +4 -4
- package/package.json +1 -1
package/dist/cjs/product/components/ProductBundle/components/ProductBundleDiscount.liquid.js
CHANGED
|
@@ -52,11 +52,16 @@ const ProductBundleDiscount = ({ rawChildren, setting, styles: styles$1, advance
|
|
|
52
52
|
return core.template`
|
|
53
53
|
{% for productBundle in productBundleItem %}
|
|
54
54
|
${system.Liquid(`
|
|
55
|
-
{%
|
|
55
|
+
{% assign attrs = productBundle | split: '($3)' %}
|
|
56
56
|
{% assign parsedAttrs = '' %}
|
|
57
57
|
{% for attr in attrs %}
|
|
58
58
|
{% assign attrParts = attr | split: '($:)' %}
|
|
59
|
-
{% assign
|
|
59
|
+
{% assign attrKey = attrParts[0] %}
|
|
60
|
+
{% assign attrValue = attrParts[2] | strip %}
|
|
61
|
+
|
|
62
|
+
{% if attrValue != '' %}
|
|
63
|
+
{% assign parsedAttrs = parsedAttrs | append: attrKey | append: '=' | append: attrValue | append: ' ' %}
|
|
64
|
+
{% endif %}
|
|
60
65
|
{% endfor %}
|
|
61
66
|
`)}
|
|
62
67
|
${system.LiquidIf(`forloop.index0 == ${i}`, renderBundleItem('{{ parsedAttrs | strip }}', i))}
|
package/dist/cjs/tab/index.js
CHANGED
|
@@ -9,8 +9,8 @@ var Tabs$1 = require('./setting/Tabs.js');
|
|
|
9
9
|
var TabItem$1 = require('./setting/TabItem.js');
|
|
10
10
|
|
|
11
11
|
const tabSetting = {
|
|
12
|
-
|
|
13
|
-
|
|
12
|
+
Tabs: Tabs$1.default,
|
|
13
|
+
TabItem: TabItem$1.default
|
|
14
14
|
};
|
|
15
15
|
|
|
16
16
|
exports.tabSetting = tabSetting;
|
package/dist/esm/product/components/ProductBundle/components/ProductBundleDiscount.liquid.js
CHANGED
|
@@ -48,11 +48,16 @@ const ProductBundleDiscount = ({ rawChildren, setting, styles, advanced, style }
|
|
|
48
48
|
return template`
|
|
49
49
|
{% for productBundle in productBundleItem %}
|
|
50
50
|
${Liquid(`
|
|
51
|
-
{%
|
|
51
|
+
{% assign attrs = productBundle | split: '($3)' %}
|
|
52
52
|
{% assign parsedAttrs = '' %}
|
|
53
53
|
{% for attr in attrs %}
|
|
54
54
|
{% assign attrParts = attr | split: '($:)' %}
|
|
55
|
-
{% assign
|
|
55
|
+
{% assign attrKey = attrParts[0] %}
|
|
56
|
+
{% assign attrValue = attrParts[2] | strip %}
|
|
57
|
+
|
|
58
|
+
{% if attrValue != '' %}
|
|
59
|
+
{% assign parsedAttrs = parsedAttrs | append: attrKey | append: '=' | append: attrValue | append: ' ' %}
|
|
60
|
+
{% endif %}
|
|
56
61
|
{% endfor %}
|
|
57
62
|
`)}
|
|
58
63
|
${LiquidIf(`forloop.index0 == ${i}`, renderBundleItem('{{ parsedAttrs | strip }}', i))}
|
package/dist/esm/tab/index.js
CHANGED
package/dist/types/index.d.ts
CHANGED
|
@@ -4155,8 +4155,8 @@ declare const Tabs$1: (props: TabsProps) => React.JSX.Element;
|
|
|
4155
4155
|
declare const TabItem$1: React.FC<TabItemProps>;
|
|
4156
4156
|
|
|
4157
4157
|
declare const tabSetting: {
|
|
4158
|
-
|
|
4159
|
-
|
|
4158
|
+
Tabs: _gem_sdk_core.ComponentSetting<TabsProps>;
|
|
4159
|
+
TabItem: _gem_sdk_core.ComponentSetting<TabItemProps>;
|
|
4160
4160
|
};
|
|
4161
4161
|
|
|
4162
4162
|
type MixedProps = BaseProps<{
|
|
@@ -7625,8 +7625,8 @@ declare const _default: {
|
|
|
7625
7625
|
Video: _gem_sdk_core.ComponentSetting<VideoProps>;
|
|
7626
7626
|
Textarea: _gem_sdk_core.ComponentSetting<TextareaProps>;
|
|
7627
7627
|
Text: _gem_sdk_core.ComponentSetting<TextProps>;
|
|
7628
|
-
|
|
7629
|
-
|
|
7628
|
+
Tabs: _gem_sdk_core.ComponentSetting<TabsProps>;
|
|
7629
|
+
TabItem: _gem_sdk_core.ComponentSetting<TabItemProps>;
|
|
7630
7630
|
Select: _gem_sdk_core.ComponentSetting<SelectProps>;
|
|
7631
7631
|
Radio: _gem_sdk_core.ComponentSetting<RadioProps>;
|
|
7632
7632
|
Product: _gem_sdk_core.ComponentSetting<ProductProps>;
|