@gem-sdk/components 2.0.0-dev.250 → 2.0.0-dev.253
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/post-purchase/advanced-list/types/index.js +15 -10
- package/dist/cjs/post-purchase/button/setting/configs/settings.js +7 -20
- package/dist/cjs/post-purchase/callout-banner/setting/config/callout-box/setting.js +12 -22
- package/dist/cjs/post-purchase/callout-banner/setting/config/callout-text/setting.js +16 -25
- package/dist/cjs/post-purchase/link/components/PostPurchaseLink.js +1 -1
- package/dist/cjs/post-purchase/link/components/common/common.js +1 -1
- package/dist/cjs/post-purchase/link/components/common/getClasses.js +2 -2
- package/dist/cjs/post-purchase/link/setting/configs/settings.js +6 -11
- package/dist/cjs/post-purchase/link/setting/configs/uiV2.js +3 -2
- package/dist/cjs/post-purchase/product/settings/accept-button/configs/settings.js +7 -20
- package/dist/cjs/post-purchase/product/settings/product-price-breakdown/configs/settings.js +7 -20
- package/dist/cjs/post-purchase/product/settings/product-quantity/configs/settings.js +9 -21
- package/dist/cjs/post-purchase/text/settings/text/settingV2.js +8 -4
- package/dist/cjs/post-purchase/text/settings/text/uiV2.js +1 -1
- package/dist/esm/post-purchase/advanced-list/types/index.js +15 -10
- package/dist/esm/post-purchase/button/setting/configs/settings.js +7 -20
- package/dist/esm/post-purchase/callout-banner/setting/config/callout-box/setting.js +12 -22
- package/dist/esm/post-purchase/callout-banner/setting/config/callout-text/setting.js +16 -25
- package/dist/esm/post-purchase/link/components/PostPurchaseLink.js +1 -1
- package/dist/esm/post-purchase/link/components/common/common.js +1 -1
- package/dist/esm/post-purchase/link/components/common/getClasses.js +2 -2
- package/dist/esm/post-purchase/link/setting/configs/settings.js +6 -11
- package/dist/esm/post-purchase/link/setting/configs/uiV2.js +3 -2
- package/dist/esm/post-purchase/product/settings/accept-button/configs/settings.js +7 -20
- package/dist/esm/post-purchase/product/settings/product-price-breakdown/configs/settings.js +7 -20
- package/dist/esm/post-purchase/product/settings/product-quantity/configs/settings.js +9 -21
- package/dist/esm/post-purchase/text/settings/text/settingV2.js +8 -4
- package/dist/esm/post-purchase/text/settings/text/uiV2.js +1 -1
- package/dist/types/index.d.ts +1 -4
- package/package.json +2 -2
|
@@ -3,28 +3,33 @@
|
|
|
3
3
|
const postPurchaseSpacingV2 = [
|
|
4
4
|
{
|
|
5
5
|
label: 'XSmall',
|
|
6
|
-
|
|
7
|
-
value: 'xtight'
|
|
6
|
+
displayValue: '5px',
|
|
7
|
+
value: 'xtight',
|
|
8
|
+
showValue: true
|
|
8
9
|
},
|
|
9
10
|
{
|
|
10
11
|
label: 'Small',
|
|
11
|
-
|
|
12
|
-
value: 'tight'
|
|
12
|
+
displayValue: '9px',
|
|
13
|
+
value: 'tight',
|
|
14
|
+
showValue: true
|
|
13
15
|
},
|
|
14
16
|
{
|
|
15
17
|
label: 'Medium',
|
|
16
|
-
|
|
17
|
-
value: 'medium'
|
|
18
|
+
displayValue: '14px',
|
|
19
|
+
value: 'medium',
|
|
20
|
+
showValue: true
|
|
18
21
|
},
|
|
19
22
|
{
|
|
20
23
|
label: 'Large',
|
|
21
|
-
|
|
22
|
-
value: 'large'
|
|
24
|
+
displayValue: '21px',
|
|
25
|
+
value: 'large',
|
|
26
|
+
showValue: true
|
|
23
27
|
},
|
|
24
28
|
{
|
|
25
29
|
label: 'XLarge',
|
|
26
|
-
|
|
27
|
-
value: 'xlarge'
|
|
30
|
+
displayValue: '38px',
|
|
31
|
+
value: 'xlarge',
|
|
32
|
+
showValue: true
|
|
28
33
|
}
|
|
29
34
|
];
|
|
30
35
|
const postPurchaseSpacingValueV2 = {
|
|
@@ -91,38 +91,25 @@ const DeclineButtonSettings = [
|
|
|
91
91
|
label: 'Left',
|
|
92
92
|
value: 'start',
|
|
93
93
|
type: 'align',
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
<path fill-rule="evenodd" clip-rule="evenodd" d="M4.72916 6.25C4.72916 5.21447 5.56863 4.375 6.60416 4.375H12.8542C13.8897 4.375 14.7292 5.21447 14.7292 6.25V7.5C14.7292 8.53553 13.8897 9.375 12.8542 9.375H6.60416C5.56863 9.375 4.72916 8.53553 4.72916 7.5V6.25ZM6.60416 5.625C6.25899 5.625 5.97916 5.90482 5.97916 6.25V7.5C5.97916 7.84518 6.25899 8.125 6.60416 8.125H12.8542C13.1993 8.125 13.4792 7.84518 13.4792 7.5V6.25C13.4792 5.90482 13.1993 5.625 12.8542 5.625H6.60416Z" fill="currentColor"/>
|
|
97
|
-
<path fill-rule="evenodd" clip-rule="evenodd" d="M6.60416 10.625C5.56863 10.625 4.72916 11.4645 4.72916 12.5V13.75C4.72916 14.7855 5.56863 15.625 6.60416 15.625H16.6042C17.6397 15.625 18.4792 14.7855 18.4792 13.75V12.5C18.4792 11.4645 17.6397 10.625 16.6042 10.625H6.60416ZM5.97916 12.5C5.97916 12.1548 6.25899 11.875 6.60416 11.875H16.6042C16.9493 11.875 17.2292 12.1548 17.2292 12.5V13.75C17.2292 14.0952 16.9493 14.375 16.6042 14.375H6.60416C6.25899 14.375 5.97916 14.0952 5.97916 13.75V12.5Z" fill="currentColor"/>
|
|
98
|
-
</svg>
|
|
99
|
-
`,
|
|
100
|
-
tooltip: 'Align left'
|
|
94
|
+
tooltip: 'Align left',
|
|
95
|
+
iconName: 'gp-align-left'
|
|
101
96
|
},
|
|
102
97
|
{
|
|
103
98
|
label: 'Center',
|
|
104
99
|
value: 'center',
|
|
105
100
|
type: 'align',
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
</svg>
|
|
109
|
-
`,
|
|
110
|
-
tooltip: 'Align center'
|
|
101
|
+
tooltip: 'Align center',
|
|
102
|
+
iconName: 'gp-align-center'
|
|
111
103
|
},
|
|
112
104
|
{
|
|
113
105
|
label: 'Right',
|
|
114
106
|
value: 'end',
|
|
115
107
|
type: 'align',
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
<path fill-rule="evenodd" clip-rule="evenodd" d="M6.27083 7.5C6.27083 8.53553 7.11029 9.375 8.14583 9.375H14.3958C15.4314 9.375 16.2708 8.53553 16.2708 7.5V6.25C16.2708 5.21447 15.4314 4.375 14.3958 4.375H8.14583C7.11029 4.375 6.27083 5.21447 6.27083 6.25V7.5ZM8.14583 8.125C7.80065 8.125 7.52083 7.84518 7.52083 7.5V6.25C7.52083 5.90482 7.80065 5.625 8.14583 5.625H14.3958C14.741 5.625 15.0208 5.90482 15.0208 6.25V7.5C15.0208 7.84518 14.741 8.125 14.3958 8.125H8.14583Z" fill="currentColor"/>
|
|
119
|
-
<path fill-rule="evenodd" clip-rule="evenodd" d="M4.39583 15.625C3.36029 15.625 2.52083 14.7855 2.52083 13.75V12.5C2.52083 11.4645 3.36029 10.625 4.39583 10.625H14.3958C15.4314 10.625 16.2708 11.4645 16.2708 12.5V13.75C16.2708 14.7855 15.4314 15.625 14.3958 15.625H4.39583ZM3.77083 13.75C3.77083 14.0952 4.05065 14.375 4.39583 14.375H14.3958C14.741 14.375 15.0208 14.0952 15.0208 13.75V12.5C15.0208 12.1548 14.741 11.875 14.3958 11.875H4.39583C4.05065 11.875 3.77083 12.1548 3.77083 12.5V13.75Z" fill="currentColor"/>
|
|
120
|
-
</svg>
|
|
121
|
-
`,
|
|
122
|
-
tooltip: 'Align right'
|
|
108
|
+
tooltip: 'Align right',
|
|
109
|
+
iconName: 'gp-align-right'
|
|
123
110
|
}
|
|
124
111
|
],
|
|
125
|
-
default: '
|
|
112
|
+
default: 'start'
|
|
126
113
|
},
|
|
127
114
|
{
|
|
128
115
|
id: 'direction',
|
|
@@ -20,38 +20,28 @@ const CalloutBoxSettings = [
|
|
|
20
20
|
},
|
|
21
21
|
{
|
|
22
22
|
id: 'horizontalAlign',
|
|
23
|
-
type: '
|
|
23
|
+
type: 'option:value',
|
|
24
24
|
options: [
|
|
25
25
|
{
|
|
26
|
-
label: '
|
|
26
|
+
label: 'Left',
|
|
27
27
|
value: 'start',
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
<path fill-rule="evenodd" clip-rule="evenodd" d="M4.41699 8.5C3.58857 8.5 2.91699 9.17157 2.91699 10V11C2.91699 11.8284 3.58857 12.5 4.41699 12.5H12.417C13.2454 12.5 13.917 11.8284 13.917 11V10C13.917 9.17157 13.2454 8.5 12.417 8.5H4.41699ZM3.91699 10C3.91699 9.72386 4.14085 9.5 4.41699 9.5H12.417C12.6931 9.5 12.917 9.72386 12.917 10V11C12.917 11.2761 12.6931 11.5 12.417 11.5H4.41699C4.14085 11.5 3.91699 11.2761 3.91699 11V10Z" fill="currentColor"/>
|
|
32
|
-
</svg>
|
|
33
|
-
`,
|
|
34
|
-
tooltip: 'Start'
|
|
28
|
+
type: 'align',
|
|
29
|
+
tooltip: 'Align left',
|
|
30
|
+
iconName: 'gp-align-left'
|
|
35
31
|
},
|
|
36
32
|
{
|
|
37
33
|
label: 'Center',
|
|
38
34
|
value: 'center',
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
`,
|
|
43
|
-
tooltip: 'Center'
|
|
35
|
+
type: 'align',
|
|
36
|
+
tooltip: 'Align center',
|
|
37
|
+
iconName: 'gp-align-center'
|
|
44
38
|
},
|
|
45
39
|
{
|
|
46
|
-
label: '
|
|
40
|
+
label: 'Right',
|
|
47
41
|
value: 'end',
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
<path fill-rule="evenodd" clip-rule="evenodd" d="M3.58398 12.5C2.75556 12.5 2.08398 11.8284 2.08398 11L2.08398 10C2.08398 9.17157 2.75556 8.5 3.58398 8.5H11.584C12.4124 8.5 13.084 9.17157 13.084 10V11C13.084 11.8284 12.4124 12.5 11.584 12.5L3.58398 12.5ZM3.08398 11C3.08398 11.2761 3.30784 11.5 3.58398 11.5L11.584 11.5C11.8601 11.5 12.084 11.2761 12.084 11V10C12.084 9.72386 11.8601 9.5 11.584 9.5L3.58398 9.5C3.30784 9.5 3.08398 9.72386 3.08398 10L3.08398 11Z" fill="currentColor"/>
|
|
52
|
-
</svg>
|
|
53
|
-
`,
|
|
54
|
-
tooltip: 'End'
|
|
42
|
+
type: 'align',
|
|
43
|
+
tooltip: 'Align right',
|
|
44
|
+
iconName: 'gp-align-right'
|
|
55
45
|
}
|
|
56
46
|
],
|
|
57
47
|
devices: {
|
|
@@ -60,31 +60,35 @@ const CalloutTextSettings = [
|
|
|
60
60
|
{
|
|
61
61
|
id: 'textAlign',
|
|
62
62
|
label: 'Alignment',
|
|
63
|
-
type: '
|
|
63
|
+
type: 'option:value',
|
|
64
64
|
options: [
|
|
65
65
|
{
|
|
66
66
|
label: 'Left',
|
|
67
67
|
value: 'left',
|
|
68
68
|
type: 'text',
|
|
69
|
-
tooltip: 'Align left'
|
|
69
|
+
tooltip: 'Align left',
|
|
70
|
+
iconName: 'polaris-text-align-left'
|
|
70
71
|
},
|
|
71
72
|
{
|
|
72
73
|
label: 'Center',
|
|
73
74
|
value: 'center',
|
|
74
75
|
type: 'text',
|
|
75
|
-
tooltip: 'Align center'
|
|
76
|
+
tooltip: 'Align center',
|
|
77
|
+
iconName: 'polaris-text-align-center'
|
|
76
78
|
},
|
|
77
79
|
{
|
|
78
80
|
label: 'Right',
|
|
79
81
|
value: 'right',
|
|
80
82
|
type: 'text',
|
|
81
|
-
tooltip: 'Align right'
|
|
83
|
+
tooltip: 'Align right',
|
|
84
|
+
iconName: 'polaris-text-align-right'
|
|
82
85
|
},
|
|
83
86
|
{
|
|
84
87
|
label: 'Justify',
|
|
85
88
|
value: 'justify',
|
|
86
89
|
type: 'text',
|
|
87
|
-
tooltip: 'Align justify'
|
|
90
|
+
tooltip: 'Align justify',
|
|
91
|
+
iconName: 'gp-text-align-justify'
|
|
88
92
|
}
|
|
89
93
|
],
|
|
90
94
|
default: 'left'
|
|
@@ -147,41 +151,28 @@ const CalloutTextSettings = [
|
|
|
147
151
|
{
|
|
148
152
|
id: 'align',
|
|
149
153
|
label: 'Alignment',
|
|
150
|
-
type: '
|
|
154
|
+
type: 'option:value',
|
|
151
155
|
options: [
|
|
152
156
|
{
|
|
153
157
|
label: 'Left',
|
|
154
158
|
value: 'left',
|
|
155
159
|
type: 'align',
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
<path fill-rule="evenodd" clip-rule="evenodd" d="M4.72916 6.25C4.72916 5.21447 5.56863 4.375 6.60416 4.375H12.8542C13.8897 4.375 14.7292 5.21447 14.7292 6.25V7.5C14.7292 8.53553 13.8897 9.375 12.8542 9.375H6.60416C5.56863 9.375 4.72916 8.53553 4.72916 7.5V6.25ZM6.60416 5.625C6.25899 5.625 5.97916 5.90482 5.97916 6.25V7.5C5.97916 7.84518 6.25899 8.125 6.60416 8.125H12.8542C13.1993 8.125 13.4792 7.84518 13.4792 7.5V6.25C13.4792 5.90482 13.1993 5.625 12.8542 5.625H6.60416Z" fill="currentColor"/>
|
|
159
|
-
<path fill-rule="evenodd" clip-rule="evenodd" d="M6.60416 10.625C5.56863 10.625 4.72916 11.4645 4.72916 12.5V13.75C4.72916 14.7855 5.56863 15.625 6.60416 15.625H16.6042C17.6397 15.625 18.4792 14.7855 18.4792 13.75V12.5C18.4792 11.4645 17.6397 10.625 16.6042 10.625H6.60416ZM5.97916 12.5C5.97916 12.1548 6.25899 11.875 6.60416 11.875H16.6042C16.9493 11.875 17.2292 12.1548 17.2292 12.5V13.75C17.2292 14.0952 16.9493 14.375 16.6042 14.375H6.60416C6.25899 14.375 5.97916 14.0952 5.97916 13.75V12.5Z" fill="currentColor"/>
|
|
160
|
-
</svg>
|
|
161
|
-
`,
|
|
162
|
-
tooltip: 'Align left'
|
|
160
|
+
tooltip: 'Align left',
|
|
161
|
+
iconName: 'gp-align-left'
|
|
163
162
|
},
|
|
164
163
|
{
|
|
165
164
|
label: 'Center',
|
|
166
165
|
value: 'center',
|
|
167
166
|
type: 'align',
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
</svg>
|
|
171
|
-
`,
|
|
172
|
-
tooltip: 'Align center'
|
|
167
|
+
tooltip: 'Align center',
|
|
168
|
+
iconName: 'gp-align-center'
|
|
173
169
|
},
|
|
174
170
|
{
|
|
175
171
|
label: 'Right',
|
|
176
172
|
value: 'right',
|
|
177
173
|
type: 'align',
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
<path fill-rule="evenodd" clip-rule="evenodd" d="M6.27083 7.5C6.27083 8.53553 7.11029 9.375 8.14583 9.375H14.3958C15.4314 9.375 16.2708 8.53553 16.2708 7.5V6.25C16.2708 5.21447 15.4314 4.375 14.3958 4.375H8.14583C7.11029 4.375 6.27083 5.21447 6.27083 6.25V7.5ZM8.14583 8.125C7.80065 8.125 7.52083 7.84518 7.52083 7.5V6.25C7.52083 5.90482 7.80065 5.625 8.14583 5.625H14.3958C14.741 5.625 15.0208 5.90482 15.0208 6.25V7.5C15.0208 7.84518 14.741 8.125 14.3958 8.125H8.14583Z" fill="currentColor"/>
|
|
181
|
-
<path fill-rule="evenodd" clip-rule="evenodd" d="M4.39583 15.625C3.36029 15.625 2.52083 14.7855 2.52083 13.75V12.5C2.52083 11.4645 3.36029 10.625 4.39583 10.625H14.3958C15.4314 10.625 16.2708 11.4645 16.2708 12.5V13.75C16.2708 14.7855 15.4314 15.625 14.3958 15.625H4.39583ZM3.77083 13.75C3.77083 14.0952 4.05065 14.375 4.39583 14.375H14.3958C14.741 14.375 15.0208 14.0952 15.0208 13.75V12.5C15.0208 12.1548 14.741 11.875 14.3958 11.875H4.39583C4.05065 11.875 3.77083 12.1548 3.77083 12.5V13.75Z" fill="currentColor"/>
|
|
182
|
-
</svg>
|
|
183
|
-
`,
|
|
184
|
-
tooltip: 'Align right'
|
|
174
|
+
tooltip: 'Align right',
|
|
175
|
+
iconName: 'gp-align-right'
|
|
185
176
|
}
|
|
186
177
|
],
|
|
187
178
|
default: 'left'
|
|
@@ -42,7 +42,7 @@ const Link = ({ builderAttrs, setting = {}, styles, builderProps })=>{
|
|
|
42
42
|
children: /*#__PURE__*/ jsxRuntime.jsx("div", {
|
|
43
43
|
style: wrapperStyle,
|
|
44
44
|
children: /*#__PURE__*/ jsxRuntime.jsx(Component, {
|
|
45
|
-
href: link
|
|
45
|
+
href: link,
|
|
46
46
|
target: "_blank",
|
|
47
47
|
rel: "noreferrer",
|
|
48
48
|
className: componentClasses,
|
|
@@ -17,13 +17,13 @@ const getClasses = ({ builderProps, styles })=>{
|
|
|
17
17
|
};
|
|
18
18
|
};
|
|
19
19
|
const getComponentClasses = (link)=>{
|
|
20
|
-
const isValidLink = helper.checkIsValidURL(link
|
|
20
|
+
const isValidLink = helper.checkIsValidURL(link || '');
|
|
21
21
|
return {
|
|
22
22
|
'gp-underline': !isValidLink
|
|
23
23
|
};
|
|
24
24
|
};
|
|
25
25
|
const getTextClasses = (link)=>{
|
|
26
|
-
const isValidLink = helper.checkIsValidURL(link
|
|
26
|
+
const isValidLink = helper.checkIsValidURL(link || '');
|
|
27
27
|
const classList = '!gp-break-normal gp-leading-[15px] gp-min-w-fit [&>*]:gp-text-center [&>*]:gp-inline-block ';
|
|
28
28
|
return {
|
|
29
29
|
...core.composeClasses(classList),
|
|
@@ -6,23 +6,18 @@ const PostPurchaseLinkSettings = [
|
|
|
6
6
|
controls: [
|
|
7
7
|
{
|
|
8
8
|
id: 'link',
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
link: '',
|
|
14
|
-
target: '_blank'
|
|
15
|
-
},
|
|
16
|
-
isHiddenInsertLink: true,
|
|
17
|
-
isHiddenOpenLinkSelect: true
|
|
9
|
+
label: 'Link',
|
|
10
|
+
type: 'input',
|
|
11
|
+
default: '',
|
|
12
|
+
placeholder: 'E.g. gempages.net'
|
|
18
13
|
},
|
|
19
14
|
{
|
|
20
15
|
id: 'label',
|
|
21
16
|
label: 'Text',
|
|
22
|
-
type: '
|
|
17
|
+
type: 'textarea',
|
|
23
18
|
default: 'Preview Sample',
|
|
24
19
|
autoHeight: true,
|
|
25
|
-
|
|
20
|
+
lazyUpdate: true
|
|
26
21
|
},
|
|
27
22
|
{
|
|
28
23
|
id: 'width',
|
|
@@ -97,38 +97,25 @@ const AcceptButtonSettings = [
|
|
|
97
97
|
label: 'Left',
|
|
98
98
|
value: 'start',
|
|
99
99
|
type: 'align',
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
<path fill-rule="evenodd" clip-rule="evenodd" d="M4.72916 6.25C4.72916 5.21447 5.56863 4.375 6.60416 4.375H12.8542C13.8897 4.375 14.7292 5.21447 14.7292 6.25V7.5C14.7292 8.53553 13.8897 9.375 12.8542 9.375H6.60416C5.56863 9.375 4.72916 8.53553 4.72916 7.5V6.25ZM6.60416 5.625C6.25899 5.625 5.97916 5.90482 5.97916 6.25V7.5C5.97916 7.84518 6.25899 8.125 6.60416 8.125H12.8542C13.1993 8.125 13.4792 7.84518 13.4792 7.5V6.25C13.4792 5.90482 13.1993 5.625 12.8542 5.625H6.60416Z" fill="currentColor"/>
|
|
103
|
-
<path fill-rule="evenodd" clip-rule="evenodd" d="M6.60416 10.625C5.56863 10.625 4.72916 11.4645 4.72916 12.5V13.75C4.72916 14.7855 5.56863 15.625 6.60416 15.625H16.6042C17.6397 15.625 18.4792 14.7855 18.4792 13.75V12.5C18.4792 11.4645 17.6397 10.625 16.6042 10.625H6.60416ZM5.97916 12.5C5.97916 12.1548 6.25899 11.875 6.60416 11.875H16.6042C16.9493 11.875 17.2292 12.1548 17.2292 12.5V13.75C17.2292 14.0952 16.9493 14.375 16.6042 14.375H6.60416C6.25899 14.375 5.97916 14.0952 5.97916 13.75V12.5Z" fill="currentColor"/>
|
|
104
|
-
</svg>
|
|
105
|
-
`,
|
|
106
|
-
tooltip: 'Align left'
|
|
100
|
+
tooltip: 'Align left',
|
|
101
|
+
iconName: 'gp-align-left'
|
|
107
102
|
},
|
|
108
103
|
{
|
|
109
104
|
label: 'Center',
|
|
110
105
|
value: 'center',
|
|
111
106
|
type: 'align',
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
</svg>
|
|
115
|
-
`,
|
|
116
|
-
tooltip: 'Align center'
|
|
107
|
+
tooltip: 'Align center',
|
|
108
|
+
iconName: 'gp-align-center'
|
|
117
109
|
},
|
|
118
110
|
{
|
|
119
111
|
label: 'Right',
|
|
120
112
|
value: 'end',
|
|
121
113
|
type: 'align',
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
<path fill-rule="evenodd" clip-rule="evenodd" d="M6.27083 7.5C6.27083 8.53553 7.11029 9.375 8.14583 9.375H14.3958C15.4314 9.375 16.2708 8.53553 16.2708 7.5V6.25C16.2708 5.21447 15.4314 4.375 14.3958 4.375H8.14583C7.11029 4.375 6.27083 5.21447 6.27083 6.25V7.5ZM8.14583 8.125C7.80065 8.125 7.52083 7.84518 7.52083 7.5V6.25C7.52083 5.90482 7.80065 5.625 8.14583 5.625H14.3958C14.741 5.625 15.0208 5.90482 15.0208 6.25V7.5C15.0208 7.84518 14.741 8.125 14.3958 8.125H8.14583Z" fill="currentColor"/>
|
|
125
|
-
<path fill-rule="evenodd" clip-rule="evenodd" d="M4.39583 15.625C3.36029 15.625 2.52083 14.7855 2.52083 13.75V12.5C2.52083 11.4645 3.36029 10.625 4.39583 10.625H14.3958C15.4314 10.625 16.2708 11.4645 16.2708 12.5V13.75C16.2708 14.7855 15.4314 15.625 14.3958 15.625H4.39583ZM3.77083 13.75C3.77083 14.0952 4.05065 14.375 4.39583 14.375H14.3958C14.741 14.375 15.0208 14.0952 15.0208 13.75V12.5C15.0208 12.1548 14.741 11.875 14.3958 11.875H4.39583C4.05065 11.875 3.77083 12.1548 3.77083 12.5V13.75Z" fill="currentColor"/>
|
|
126
|
-
</svg>
|
|
127
|
-
`,
|
|
128
|
-
tooltip: 'Align right'
|
|
114
|
+
tooltip: 'Align right',
|
|
115
|
+
iconName: 'gp-align-right'
|
|
129
116
|
}
|
|
130
117
|
],
|
|
131
|
-
default: '
|
|
118
|
+
default: 'start'
|
|
132
119
|
},
|
|
133
120
|
{
|
|
134
121
|
id: 'direction',
|
|
@@ -139,38 +139,25 @@ const ProductPriceBreakdownSettings = [
|
|
|
139
139
|
label: 'Left',
|
|
140
140
|
value: 'left',
|
|
141
141
|
type: 'align',
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
<path fill-rule="evenodd" clip-rule="evenodd" d="M4.72916 6.25C4.72916 5.21447 5.56863 4.375 6.60416 4.375H12.8542C13.8897 4.375 14.7292 5.21447 14.7292 6.25V7.5C14.7292 8.53553 13.8897 9.375 12.8542 9.375H6.60416C5.56863 9.375 4.72916 8.53553 4.72916 7.5V6.25ZM6.60416 5.625C6.25899 5.625 5.97916 5.90482 5.97916 6.25V7.5C5.97916 7.84518 6.25899 8.125 6.60416 8.125H12.8542C13.1993 8.125 13.4792 7.84518 13.4792 7.5V6.25C13.4792 5.90482 13.1993 5.625 12.8542 5.625H6.60416Z" fill="currentColor"/>
|
|
145
|
-
<path fill-rule="evenodd" clip-rule="evenodd" d="M6.60416 10.625C5.56863 10.625 4.72916 11.4645 4.72916 12.5V13.75C4.72916 14.7855 5.56863 15.625 6.60416 15.625H16.6042C17.6397 15.625 18.4792 14.7855 18.4792 13.75V12.5C18.4792 11.4645 17.6397 10.625 16.6042 10.625H6.60416ZM5.97916 12.5C5.97916 12.1548 6.25899 11.875 6.60416 11.875H16.6042C16.9493 11.875 17.2292 12.1548 17.2292 12.5V13.75C17.2292 14.0952 16.9493 14.375 16.6042 14.375H6.60416C6.25899 14.375 5.97916 14.0952 5.97916 13.75V12.5Z" fill="currentColor"/>
|
|
146
|
-
</svg>
|
|
147
|
-
`,
|
|
148
|
-
tooltip: 'Align left'
|
|
142
|
+
tooltip: 'Align left',
|
|
143
|
+
iconName: 'gp-align-left'
|
|
149
144
|
},
|
|
150
145
|
{
|
|
151
146
|
label: 'Center',
|
|
152
147
|
value: 'center',
|
|
153
148
|
type: 'align',
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
</svg>
|
|
157
|
-
`,
|
|
158
|
-
tooltip: 'Align center'
|
|
149
|
+
tooltip: 'Align center',
|
|
150
|
+
iconName: 'gp-align-center'
|
|
159
151
|
},
|
|
160
152
|
{
|
|
161
153
|
label: 'Right',
|
|
162
154
|
value: 'right',
|
|
163
155
|
type: 'align',
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
<path fill-rule="evenodd" clip-rule="evenodd" d="M6.27083 7.5C6.27083 8.53553 7.11029 9.375 8.14583 9.375H14.3958C15.4314 9.375 16.2708 8.53553 16.2708 7.5V6.25C16.2708 5.21447 15.4314 4.375 14.3958 4.375H8.14583C7.11029 4.375 6.27083 5.21447 6.27083 6.25V7.5ZM8.14583 8.125C7.80065 8.125 7.52083 7.84518 7.52083 7.5V6.25C7.52083 5.90482 7.80065 5.625 8.14583 5.625H14.3958C14.741 5.625 15.0208 5.90482 15.0208 6.25V7.5C15.0208 7.84518 14.741 8.125 14.3958 8.125H8.14583Z" fill="currentColor"/>
|
|
167
|
-
<path fill-rule="evenodd" clip-rule="evenodd" d="M4.39583 15.625C3.36029 15.625 2.52083 14.7855 2.52083 13.75V12.5C2.52083 11.4645 3.36029 10.625 4.39583 10.625H14.3958C15.4314 10.625 16.2708 11.4645 16.2708 12.5V13.75C16.2708 14.7855 15.4314 15.625 14.3958 15.625H4.39583ZM3.77083 13.75C3.77083 14.0952 4.05065 14.375 4.39583 14.375H14.3958C14.741 14.375 15.0208 14.0952 15.0208 13.75V12.5C15.0208 12.1548 14.741 11.875 14.3958 11.875H4.39583C4.05065 11.875 3.77083 12.1548 3.77083 12.5V13.75Z" fill="currentColor"/>
|
|
168
|
-
</svg>
|
|
169
|
-
`,
|
|
170
|
-
tooltip: 'Align right'
|
|
156
|
+
tooltip: 'Align right',
|
|
157
|
+
iconName: 'gp-align-right'
|
|
171
158
|
}
|
|
172
159
|
],
|
|
173
|
-
default: '
|
|
160
|
+
default: 'left'
|
|
174
161
|
},
|
|
175
162
|
{
|
|
176
163
|
id: 'width',
|
|
@@ -16,7 +16,8 @@ const ProductQuantitySettings = [
|
|
|
16
16
|
label: 'Text',
|
|
17
17
|
type: 'input:stepper',
|
|
18
18
|
min: 1,
|
|
19
|
-
default: 1
|
|
19
|
+
default: 1,
|
|
20
|
+
disableDecimal: true
|
|
20
21
|
}
|
|
21
22
|
]
|
|
22
23
|
},
|
|
@@ -71,38 +72,25 @@ const ProductQuantitySettings = [
|
|
|
71
72
|
label: 'Left',
|
|
72
73
|
value: 'start',
|
|
73
74
|
type: 'align',
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
<path fill-rule="evenodd" clip-rule="evenodd" d="M4.72916 6.25C4.72916 5.21447 5.56863 4.375 6.60416 4.375H12.8542C13.8897 4.375 14.7292 5.21447 14.7292 6.25V7.5C14.7292 8.53553 13.8897 9.375 12.8542 9.375H6.60416C5.56863 9.375 4.72916 8.53553 4.72916 7.5V6.25ZM6.60416 5.625C6.25899 5.625 5.97916 5.90482 5.97916 6.25V7.5C5.97916 7.84518 6.25899 8.125 6.60416 8.125H12.8542C13.1993 8.125 13.4792 7.84518 13.4792 7.5V6.25C13.4792 5.90482 13.1993 5.625 12.8542 5.625H6.60416Z" fill="currentColor"/>
|
|
77
|
-
<path fill-rule="evenodd" clip-rule="evenodd" d="M6.60416 10.625C5.56863 10.625 4.72916 11.4645 4.72916 12.5V13.75C4.72916 14.7855 5.56863 15.625 6.60416 15.625H16.6042C17.6397 15.625 18.4792 14.7855 18.4792 13.75V12.5C18.4792 11.4645 17.6397 10.625 16.6042 10.625H6.60416ZM5.97916 12.5C5.97916 12.1548 6.25899 11.875 6.60416 11.875H16.6042C16.9493 11.875 17.2292 12.1548 17.2292 12.5V13.75C17.2292 14.0952 16.9493 14.375 16.6042 14.375H6.60416C6.25899 14.375 5.97916 14.0952 5.97916 13.75V12.5Z" fill="currentColor"/>
|
|
78
|
-
</svg>
|
|
79
|
-
`,
|
|
80
|
-
tooltip: 'Align left'
|
|
75
|
+
tooltip: 'Align left',
|
|
76
|
+
iconName: 'gp-align-left'
|
|
81
77
|
},
|
|
82
78
|
{
|
|
83
79
|
label: 'Center',
|
|
84
80
|
value: 'center',
|
|
85
81
|
type: 'align',
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
</svg>
|
|
89
|
-
`,
|
|
90
|
-
tooltip: 'Align center'
|
|
82
|
+
tooltip: 'Align center',
|
|
83
|
+
iconName: 'gp-align-center'
|
|
91
84
|
},
|
|
92
85
|
{
|
|
93
86
|
label: 'Right',
|
|
94
87
|
value: 'end',
|
|
95
88
|
type: 'align',
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
<path fill-rule="evenodd" clip-rule="evenodd" d="M6.27083 7.5C6.27083 8.53553 7.11029 9.375 8.14583 9.375H14.3958C15.4314 9.375 16.2708 8.53553 16.2708 7.5V6.25C16.2708 5.21447 15.4314 4.375 14.3958 4.375H8.14583C7.11029 4.375 6.27083 5.21447 6.27083 6.25V7.5ZM8.14583 8.125C7.80065 8.125 7.52083 7.84518 7.52083 7.5V6.25C7.52083 5.90482 7.80065 5.625 8.14583 5.625H14.3958C14.741 5.625 15.0208 5.90482 15.0208 6.25V7.5C15.0208 7.84518 14.741 8.125 14.3958 8.125H8.14583Z" fill="currentColor"/>
|
|
99
|
-
<path fill-rule="evenodd" clip-rule="evenodd" d="M4.39583 15.625C3.36029 15.625 2.52083 14.7855 2.52083 13.75V12.5C2.52083 11.4645 3.36029 10.625 4.39583 10.625H14.3958C15.4314 10.625 16.2708 11.4645 16.2708 12.5V13.75C16.2708 14.7855 15.4314 15.625 14.3958 15.625H4.39583ZM3.77083 13.75C3.77083 14.0952 4.05065 14.375 4.39583 14.375H14.3958C14.741 14.375 15.0208 14.0952 15.0208 13.75V12.5C15.0208 12.1548 14.741 11.875 14.3958 11.875H4.39583C4.05065 11.875 3.77083 12.1548 3.77083 12.5V13.75Z" fill="currentColor"/>
|
|
100
|
-
</svg>
|
|
101
|
-
`,
|
|
102
|
-
tooltip: 'Align right'
|
|
89
|
+
tooltip: 'Align right',
|
|
90
|
+
iconName: 'gp-align-right'
|
|
103
91
|
}
|
|
104
92
|
],
|
|
105
|
-
default: '
|
|
93
|
+
default: 'start'
|
|
106
94
|
}
|
|
107
95
|
]
|
|
108
96
|
}
|
|
@@ -81,25 +81,29 @@ const settingV2 = [
|
|
|
81
81
|
label: 'Left',
|
|
82
82
|
value: 'left',
|
|
83
83
|
type: 'text',
|
|
84
|
-
tooltip: 'Align left'
|
|
84
|
+
tooltip: 'Align left',
|
|
85
|
+
iconName: 'polaris-text-align-left'
|
|
85
86
|
},
|
|
86
87
|
{
|
|
87
88
|
label: 'Center',
|
|
88
89
|
value: 'center',
|
|
89
90
|
type: 'text',
|
|
90
|
-
tooltip: 'Align center'
|
|
91
|
+
tooltip: 'Align center',
|
|
92
|
+
iconName: 'polaris-text-align-center'
|
|
91
93
|
},
|
|
92
94
|
{
|
|
93
95
|
label: 'Right',
|
|
94
96
|
value: 'right',
|
|
95
97
|
type: 'text',
|
|
96
|
-
tooltip: 'Align right'
|
|
98
|
+
tooltip: 'Align right',
|
|
99
|
+
iconName: 'polaris-text-align-right'
|
|
97
100
|
},
|
|
98
101
|
{
|
|
99
102
|
label: 'Justify',
|
|
100
103
|
value: 'justify',
|
|
101
104
|
type: 'text',
|
|
102
|
-
tooltip: 'Align justify'
|
|
105
|
+
tooltip: 'Align justify',
|
|
106
|
+
iconName: 'gp-text-align-justify'
|
|
103
107
|
}
|
|
104
108
|
],
|
|
105
109
|
default: 'left'
|
|
@@ -1,28 +1,33 @@
|
|
|
1
1
|
const postPurchaseSpacingV2 = [
|
|
2
2
|
{
|
|
3
3
|
label: 'XSmall',
|
|
4
|
-
|
|
5
|
-
value: 'xtight'
|
|
4
|
+
displayValue: '5px',
|
|
5
|
+
value: 'xtight',
|
|
6
|
+
showValue: true
|
|
6
7
|
},
|
|
7
8
|
{
|
|
8
9
|
label: 'Small',
|
|
9
|
-
|
|
10
|
-
value: 'tight'
|
|
10
|
+
displayValue: '9px',
|
|
11
|
+
value: 'tight',
|
|
12
|
+
showValue: true
|
|
11
13
|
},
|
|
12
14
|
{
|
|
13
15
|
label: 'Medium',
|
|
14
|
-
|
|
15
|
-
value: 'medium'
|
|
16
|
+
displayValue: '14px',
|
|
17
|
+
value: 'medium',
|
|
18
|
+
showValue: true
|
|
16
19
|
},
|
|
17
20
|
{
|
|
18
21
|
label: 'Large',
|
|
19
|
-
|
|
20
|
-
value: 'large'
|
|
22
|
+
displayValue: '21px',
|
|
23
|
+
value: 'large',
|
|
24
|
+
showValue: true
|
|
21
25
|
},
|
|
22
26
|
{
|
|
23
27
|
label: 'XLarge',
|
|
24
|
-
|
|
25
|
-
value: 'xlarge'
|
|
28
|
+
displayValue: '38px',
|
|
29
|
+
value: 'xlarge',
|
|
30
|
+
showValue: true
|
|
26
31
|
}
|
|
27
32
|
];
|
|
28
33
|
const postPurchaseSpacingValueV2 = {
|
|
@@ -89,38 +89,25 @@ const DeclineButtonSettings = [
|
|
|
89
89
|
label: 'Left',
|
|
90
90
|
value: 'start',
|
|
91
91
|
type: 'align',
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
<path fill-rule="evenodd" clip-rule="evenodd" d="M4.72916 6.25C4.72916 5.21447 5.56863 4.375 6.60416 4.375H12.8542C13.8897 4.375 14.7292 5.21447 14.7292 6.25V7.5C14.7292 8.53553 13.8897 9.375 12.8542 9.375H6.60416C5.56863 9.375 4.72916 8.53553 4.72916 7.5V6.25ZM6.60416 5.625C6.25899 5.625 5.97916 5.90482 5.97916 6.25V7.5C5.97916 7.84518 6.25899 8.125 6.60416 8.125H12.8542C13.1993 8.125 13.4792 7.84518 13.4792 7.5V6.25C13.4792 5.90482 13.1993 5.625 12.8542 5.625H6.60416Z" fill="currentColor"/>
|
|
95
|
-
<path fill-rule="evenodd" clip-rule="evenodd" d="M6.60416 10.625C5.56863 10.625 4.72916 11.4645 4.72916 12.5V13.75C4.72916 14.7855 5.56863 15.625 6.60416 15.625H16.6042C17.6397 15.625 18.4792 14.7855 18.4792 13.75V12.5C18.4792 11.4645 17.6397 10.625 16.6042 10.625H6.60416ZM5.97916 12.5C5.97916 12.1548 6.25899 11.875 6.60416 11.875H16.6042C16.9493 11.875 17.2292 12.1548 17.2292 12.5V13.75C17.2292 14.0952 16.9493 14.375 16.6042 14.375H6.60416C6.25899 14.375 5.97916 14.0952 5.97916 13.75V12.5Z" fill="currentColor"/>
|
|
96
|
-
</svg>
|
|
97
|
-
`,
|
|
98
|
-
tooltip: 'Align left'
|
|
92
|
+
tooltip: 'Align left',
|
|
93
|
+
iconName: 'gp-align-left'
|
|
99
94
|
},
|
|
100
95
|
{
|
|
101
96
|
label: 'Center',
|
|
102
97
|
value: 'center',
|
|
103
98
|
type: 'align',
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
</svg>
|
|
107
|
-
`,
|
|
108
|
-
tooltip: 'Align center'
|
|
99
|
+
tooltip: 'Align center',
|
|
100
|
+
iconName: 'gp-align-center'
|
|
109
101
|
},
|
|
110
102
|
{
|
|
111
103
|
label: 'Right',
|
|
112
104
|
value: 'end',
|
|
113
105
|
type: 'align',
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
<path fill-rule="evenodd" clip-rule="evenodd" d="M6.27083 7.5C6.27083 8.53553 7.11029 9.375 8.14583 9.375H14.3958C15.4314 9.375 16.2708 8.53553 16.2708 7.5V6.25C16.2708 5.21447 15.4314 4.375 14.3958 4.375H8.14583C7.11029 4.375 6.27083 5.21447 6.27083 6.25V7.5ZM8.14583 8.125C7.80065 8.125 7.52083 7.84518 7.52083 7.5V6.25C7.52083 5.90482 7.80065 5.625 8.14583 5.625H14.3958C14.741 5.625 15.0208 5.90482 15.0208 6.25V7.5C15.0208 7.84518 14.741 8.125 14.3958 8.125H8.14583Z" fill="currentColor"/>
|
|
117
|
-
<path fill-rule="evenodd" clip-rule="evenodd" d="M4.39583 15.625C3.36029 15.625 2.52083 14.7855 2.52083 13.75V12.5C2.52083 11.4645 3.36029 10.625 4.39583 10.625H14.3958C15.4314 10.625 16.2708 11.4645 16.2708 12.5V13.75C16.2708 14.7855 15.4314 15.625 14.3958 15.625H4.39583ZM3.77083 13.75C3.77083 14.0952 4.05065 14.375 4.39583 14.375H14.3958C14.741 14.375 15.0208 14.0952 15.0208 13.75V12.5C15.0208 12.1548 14.741 11.875 14.3958 11.875H4.39583C4.05065 11.875 3.77083 12.1548 3.77083 12.5V13.75Z" fill="currentColor"/>
|
|
118
|
-
</svg>
|
|
119
|
-
`,
|
|
120
|
-
tooltip: 'Align right'
|
|
106
|
+
tooltip: 'Align right',
|
|
107
|
+
iconName: 'gp-align-right'
|
|
121
108
|
}
|
|
122
109
|
],
|
|
123
|
-
default: '
|
|
110
|
+
default: 'start'
|
|
124
111
|
},
|
|
125
112
|
{
|
|
126
113
|
id: 'direction',
|
|
@@ -18,38 +18,28 @@ const CalloutBoxSettings = [
|
|
|
18
18
|
},
|
|
19
19
|
{
|
|
20
20
|
id: 'horizontalAlign',
|
|
21
|
-
type: '
|
|
21
|
+
type: 'option:value',
|
|
22
22
|
options: [
|
|
23
23
|
{
|
|
24
|
-
label: '
|
|
24
|
+
label: 'Left',
|
|
25
25
|
value: 'start',
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
<path fill-rule="evenodd" clip-rule="evenodd" d="M4.41699 8.5C3.58857 8.5 2.91699 9.17157 2.91699 10V11C2.91699 11.8284 3.58857 12.5 4.41699 12.5H12.417C13.2454 12.5 13.917 11.8284 13.917 11V10C13.917 9.17157 13.2454 8.5 12.417 8.5H4.41699ZM3.91699 10C3.91699 9.72386 4.14085 9.5 4.41699 9.5H12.417C12.6931 9.5 12.917 9.72386 12.917 10V11C12.917 11.2761 12.6931 11.5 12.417 11.5H4.41699C4.14085 11.5 3.91699 11.2761 3.91699 11V10Z" fill="currentColor"/>
|
|
30
|
-
</svg>
|
|
31
|
-
`,
|
|
32
|
-
tooltip: 'Start'
|
|
26
|
+
type: 'align',
|
|
27
|
+
tooltip: 'Align left',
|
|
28
|
+
iconName: 'gp-align-left'
|
|
33
29
|
},
|
|
34
30
|
{
|
|
35
31
|
label: 'Center',
|
|
36
32
|
value: 'center',
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
`,
|
|
41
|
-
tooltip: 'Center'
|
|
33
|
+
type: 'align',
|
|
34
|
+
tooltip: 'Align center',
|
|
35
|
+
iconName: 'gp-align-center'
|
|
42
36
|
},
|
|
43
37
|
{
|
|
44
|
-
label: '
|
|
38
|
+
label: 'Right',
|
|
45
39
|
value: 'end',
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
<path fill-rule="evenodd" clip-rule="evenodd" d="M3.58398 12.5C2.75556 12.5 2.08398 11.8284 2.08398 11L2.08398 10C2.08398 9.17157 2.75556 8.5 3.58398 8.5H11.584C12.4124 8.5 13.084 9.17157 13.084 10V11C13.084 11.8284 12.4124 12.5 11.584 12.5L3.58398 12.5ZM3.08398 11C3.08398 11.2761 3.30784 11.5 3.58398 11.5L11.584 11.5C11.8601 11.5 12.084 11.2761 12.084 11V10C12.084 9.72386 11.8601 9.5 11.584 9.5L3.58398 9.5C3.30784 9.5 3.08398 9.72386 3.08398 10L3.08398 11Z" fill="currentColor"/>
|
|
50
|
-
</svg>
|
|
51
|
-
`,
|
|
52
|
-
tooltip: 'End'
|
|
40
|
+
type: 'align',
|
|
41
|
+
tooltip: 'Align right',
|
|
42
|
+
iconName: 'gp-align-right'
|
|
53
43
|
}
|
|
54
44
|
],
|
|
55
45
|
devices: {
|
|
@@ -58,31 +58,35 @@ const CalloutTextSettings = [
|
|
|
58
58
|
{
|
|
59
59
|
id: 'textAlign',
|
|
60
60
|
label: 'Alignment',
|
|
61
|
-
type: '
|
|
61
|
+
type: 'option:value',
|
|
62
62
|
options: [
|
|
63
63
|
{
|
|
64
64
|
label: 'Left',
|
|
65
65
|
value: 'left',
|
|
66
66
|
type: 'text',
|
|
67
|
-
tooltip: 'Align left'
|
|
67
|
+
tooltip: 'Align left',
|
|
68
|
+
iconName: 'polaris-text-align-left'
|
|
68
69
|
},
|
|
69
70
|
{
|
|
70
71
|
label: 'Center',
|
|
71
72
|
value: 'center',
|
|
72
73
|
type: 'text',
|
|
73
|
-
tooltip: 'Align center'
|
|
74
|
+
tooltip: 'Align center',
|
|
75
|
+
iconName: 'polaris-text-align-center'
|
|
74
76
|
},
|
|
75
77
|
{
|
|
76
78
|
label: 'Right',
|
|
77
79
|
value: 'right',
|
|
78
80
|
type: 'text',
|
|
79
|
-
tooltip: 'Align right'
|
|
81
|
+
tooltip: 'Align right',
|
|
82
|
+
iconName: 'polaris-text-align-right'
|
|
80
83
|
},
|
|
81
84
|
{
|
|
82
85
|
label: 'Justify',
|
|
83
86
|
value: 'justify',
|
|
84
87
|
type: 'text',
|
|
85
|
-
tooltip: 'Align justify'
|
|
88
|
+
tooltip: 'Align justify',
|
|
89
|
+
iconName: 'gp-text-align-justify'
|
|
86
90
|
}
|
|
87
91
|
],
|
|
88
92
|
default: 'left'
|
|
@@ -145,41 +149,28 @@ const CalloutTextSettings = [
|
|
|
145
149
|
{
|
|
146
150
|
id: 'align',
|
|
147
151
|
label: 'Alignment',
|
|
148
|
-
type: '
|
|
152
|
+
type: 'option:value',
|
|
149
153
|
options: [
|
|
150
154
|
{
|
|
151
155
|
label: 'Left',
|
|
152
156
|
value: 'left',
|
|
153
157
|
type: 'align',
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
<path fill-rule="evenodd" clip-rule="evenodd" d="M4.72916 6.25C4.72916 5.21447 5.56863 4.375 6.60416 4.375H12.8542C13.8897 4.375 14.7292 5.21447 14.7292 6.25V7.5C14.7292 8.53553 13.8897 9.375 12.8542 9.375H6.60416C5.56863 9.375 4.72916 8.53553 4.72916 7.5V6.25ZM6.60416 5.625C6.25899 5.625 5.97916 5.90482 5.97916 6.25V7.5C5.97916 7.84518 6.25899 8.125 6.60416 8.125H12.8542C13.1993 8.125 13.4792 7.84518 13.4792 7.5V6.25C13.4792 5.90482 13.1993 5.625 12.8542 5.625H6.60416Z" fill="currentColor"/>
|
|
157
|
-
<path fill-rule="evenodd" clip-rule="evenodd" d="M6.60416 10.625C5.56863 10.625 4.72916 11.4645 4.72916 12.5V13.75C4.72916 14.7855 5.56863 15.625 6.60416 15.625H16.6042C17.6397 15.625 18.4792 14.7855 18.4792 13.75V12.5C18.4792 11.4645 17.6397 10.625 16.6042 10.625H6.60416ZM5.97916 12.5C5.97916 12.1548 6.25899 11.875 6.60416 11.875H16.6042C16.9493 11.875 17.2292 12.1548 17.2292 12.5V13.75C17.2292 14.0952 16.9493 14.375 16.6042 14.375H6.60416C6.25899 14.375 5.97916 14.0952 5.97916 13.75V12.5Z" fill="currentColor"/>
|
|
158
|
-
</svg>
|
|
159
|
-
`,
|
|
160
|
-
tooltip: 'Align left'
|
|
158
|
+
tooltip: 'Align left',
|
|
159
|
+
iconName: 'gp-align-left'
|
|
161
160
|
},
|
|
162
161
|
{
|
|
163
162
|
label: 'Center',
|
|
164
163
|
value: 'center',
|
|
165
164
|
type: 'align',
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
</svg>
|
|
169
|
-
`,
|
|
170
|
-
tooltip: 'Align center'
|
|
165
|
+
tooltip: 'Align center',
|
|
166
|
+
iconName: 'gp-align-center'
|
|
171
167
|
},
|
|
172
168
|
{
|
|
173
169
|
label: 'Right',
|
|
174
170
|
value: 'right',
|
|
175
171
|
type: 'align',
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
<path fill-rule="evenodd" clip-rule="evenodd" d="M6.27083 7.5C6.27083 8.53553 7.11029 9.375 8.14583 9.375H14.3958C15.4314 9.375 16.2708 8.53553 16.2708 7.5V6.25C16.2708 5.21447 15.4314 4.375 14.3958 4.375H8.14583C7.11029 4.375 6.27083 5.21447 6.27083 6.25V7.5ZM8.14583 8.125C7.80065 8.125 7.52083 7.84518 7.52083 7.5V6.25C7.52083 5.90482 7.80065 5.625 8.14583 5.625H14.3958C14.741 5.625 15.0208 5.90482 15.0208 6.25V7.5C15.0208 7.84518 14.741 8.125 14.3958 8.125H8.14583Z" fill="currentColor"/>
|
|
179
|
-
<path fill-rule="evenodd" clip-rule="evenodd" d="M4.39583 15.625C3.36029 15.625 2.52083 14.7855 2.52083 13.75V12.5C2.52083 11.4645 3.36029 10.625 4.39583 10.625H14.3958C15.4314 10.625 16.2708 11.4645 16.2708 12.5V13.75C16.2708 14.7855 15.4314 15.625 14.3958 15.625H4.39583ZM3.77083 13.75C3.77083 14.0952 4.05065 14.375 4.39583 14.375H14.3958C14.741 14.375 15.0208 14.0952 15.0208 13.75V12.5C15.0208 12.1548 14.741 11.875 14.3958 11.875H4.39583C4.05065 11.875 3.77083 12.1548 3.77083 12.5V13.75Z" fill="currentColor"/>
|
|
180
|
-
</svg>
|
|
181
|
-
`,
|
|
182
|
-
tooltip: 'Align right'
|
|
172
|
+
tooltip: 'Align right',
|
|
173
|
+
iconName: 'gp-align-right'
|
|
183
174
|
}
|
|
184
175
|
],
|
|
185
176
|
default: 'left'
|
|
@@ -38,7 +38,7 @@ const Link = ({ builderAttrs, setting = {}, styles, builderProps })=>{
|
|
|
38
38
|
children: /*#__PURE__*/ jsx("div", {
|
|
39
39
|
style: wrapperStyle,
|
|
40
40
|
children: /*#__PURE__*/ jsx(Component, {
|
|
41
|
-
href: link
|
|
41
|
+
href: link,
|
|
42
42
|
target: "_blank",
|
|
43
43
|
rel: "noreferrer",
|
|
44
44
|
className: componentClasses,
|
|
@@ -15,13 +15,13 @@ const getClasses = ({ builderProps, styles })=>{
|
|
|
15
15
|
};
|
|
16
16
|
};
|
|
17
17
|
const getComponentClasses = (link)=>{
|
|
18
|
-
const isValidLink = checkIsValidURL(link
|
|
18
|
+
const isValidLink = checkIsValidURL(link || '');
|
|
19
19
|
return {
|
|
20
20
|
'gp-underline': !isValidLink
|
|
21
21
|
};
|
|
22
22
|
};
|
|
23
23
|
const getTextClasses = (link)=>{
|
|
24
|
-
const isValidLink = checkIsValidURL(link
|
|
24
|
+
const isValidLink = checkIsValidURL(link || '');
|
|
25
25
|
const classList = '!gp-break-normal gp-leading-[15px] gp-min-w-fit [&>*]:gp-text-center [&>*]:gp-inline-block ';
|
|
26
26
|
return {
|
|
27
27
|
...composeClasses(classList),
|
|
@@ -4,23 +4,18 @@ const PostPurchaseLinkSettings = [
|
|
|
4
4
|
controls: [
|
|
5
5
|
{
|
|
6
6
|
id: 'link',
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
link: '',
|
|
12
|
-
target: '_blank'
|
|
13
|
-
},
|
|
14
|
-
isHiddenInsertLink: true,
|
|
15
|
-
isHiddenOpenLinkSelect: true
|
|
7
|
+
label: 'Link',
|
|
8
|
+
type: 'input',
|
|
9
|
+
default: '',
|
|
10
|
+
placeholder: 'E.g. gempages.net'
|
|
16
11
|
},
|
|
17
12
|
{
|
|
18
13
|
id: 'label',
|
|
19
14
|
label: 'Text',
|
|
20
|
-
type: '
|
|
15
|
+
type: 'textarea',
|
|
21
16
|
default: 'Preview Sample',
|
|
22
17
|
autoHeight: true,
|
|
23
|
-
|
|
18
|
+
lazyUpdate: true
|
|
24
19
|
},
|
|
25
20
|
{
|
|
26
21
|
id: 'width',
|
|
@@ -95,38 +95,25 @@ const AcceptButtonSettings = [
|
|
|
95
95
|
label: 'Left',
|
|
96
96
|
value: 'start',
|
|
97
97
|
type: 'align',
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
<path fill-rule="evenodd" clip-rule="evenodd" d="M4.72916 6.25C4.72916 5.21447 5.56863 4.375 6.60416 4.375H12.8542C13.8897 4.375 14.7292 5.21447 14.7292 6.25V7.5C14.7292 8.53553 13.8897 9.375 12.8542 9.375H6.60416C5.56863 9.375 4.72916 8.53553 4.72916 7.5V6.25ZM6.60416 5.625C6.25899 5.625 5.97916 5.90482 5.97916 6.25V7.5C5.97916 7.84518 6.25899 8.125 6.60416 8.125H12.8542C13.1993 8.125 13.4792 7.84518 13.4792 7.5V6.25C13.4792 5.90482 13.1993 5.625 12.8542 5.625H6.60416Z" fill="currentColor"/>
|
|
101
|
-
<path fill-rule="evenodd" clip-rule="evenodd" d="M6.60416 10.625C5.56863 10.625 4.72916 11.4645 4.72916 12.5V13.75C4.72916 14.7855 5.56863 15.625 6.60416 15.625H16.6042C17.6397 15.625 18.4792 14.7855 18.4792 13.75V12.5C18.4792 11.4645 17.6397 10.625 16.6042 10.625H6.60416ZM5.97916 12.5C5.97916 12.1548 6.25899 11.875 6.60416 11.875H16.6042C16.9493 11.875 17.2292 12.1548 17.2292 12.5V13.75C17.2292 14.0952 16.9493 14.375 16.6042 14.375H6.60416C6.25899 14.375 5.97916 14.0952 5.97916 13.75V12.5Z" fill="currentColor"/>
|
|
102
|
-
</svg>
|
|
103
|
-
`,
|
|
104
|
-
tooltip: 'Align left'
|
|
98
|
+
tooltip: 'Align left',
|
|
99
|
+
iconName: 'gp-align-left'
|
|
105
100
|
},
|
|
106
101
|
{
|
|
107
102
|
label: 'Center',
|
|
108
103
|
value: 'center',
|
|
109
104
|
type: 'align',
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
</svg>
|
|
113
|
-
`,
|
|
114
|
-
tooltip: 'Align center'
|
|
105
|
+
tooltip: 'Align center',
|
|
106
|
+
iconName: 'gp-align-center'
|
|
115
107
|
},
|
|
116
108
|
{
|
|
117
109
|
label: 'Right',
|
|
118
110
|
value: 'end',
|
|
119
111
|
type: 'align',
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
<path fill-rule="evenodd" clip-rule="evenodd" d="M6.27083 7.5C6.27083 8.53553 7.11029 9.375 8.14583 9.375H14.3958C15.4314 9.375 16.2708 8.53553 16.2708 7.5V6.25C16.2708 5.21447 15.4314 4.375 14.3958 4.375H8.14583C7.11029 4.375 6.27083 5.21447 6.27083 6.25V7.5ZM8.14583 8.125C7.80065 8.125 7.52083 7.84518 7.52083 7.5V6.25C7.52083 5.90482 7.80065 5.625 8.14583 5.625H14.3958C14.741 5.625 15.0208 5.90482 15.0208 6.25V7.5C15.0208 7.84518 14.741 8.125 14.3958 8.125H8.14583Z" fill="currentColor"/>
|
|
123
|
-
<path fill-rule="evenodd" clip-rule="evenodd" d="M4.39583 15.625C3.36029 15.625 2.52083 14.7855 2.52083 13.75V12.5C2.52083 11.4645 3.36029 10.625 4.39583 10.625H14.3958C15.4314 10.625 16.2708 11.4645 16.2708 12.5V13.75C16.2708 14.7855 15.4314 15.625 14.3958 15.625H4.39583ZM3.77083 13.75C3.77083 14.0952 4.05065 14.375 4.39583 14.375H14.3958C14.741 14.375 15.0208 14.0952 15.0208 13.75V12.5C15.0208 12.1548 14.741 11.875 14.3958 11.875H4.39583C4.05065 11.875 3.77083 12.1548 3.77083 12.5V13.75Z" fill="currentColor"/>
|
|
124
|
-
</svg>
|
|
125
|
-
`,
|
|
126
|
-
tooltip: 'Align right'
|
|
112
|
+
tooltip: 'Align right',
|
|
113
|
+
iconName: 'gp-align-right'
|
|
127
114
|
}
|
|
128
115
|
],
|
|
129
|
-
default: '
|
|
116
|
+
default: 'start'
|
|
130
117
|
},
|
|
131
118
|
{
|
|
132
119
|
id: 'direction',
|
|
@@ -137,38 +137,25 @@ const ProductPriceBreakdownSettings = [
|
|
|
137
137
|
label: 'Left',
|
|
138
138
|
value: 'left',
|
|
139
139
|
type: 'align',
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
<path fill-rule="evenodd" clip-rule="evenodd" d="M4.72916 6.25C4.72916 5.21447 5.56863 4.375 6.60416 4.375H12.8542C13.8897 4.375 14.7292 5.21447 14.7292 6.25V7.5C14.7292 8.53553 13.8897 9.375 12.8542 9.375H6.60416C5.56863 9.375 4.72916 8.53553 4.72916 7.5V6.25ZM6.60416 5.625C6.25899 5.625 5.97916 5.90482 5.97916 6.25V7.5C5.97916 7.84518 6.25899 8.125 6.60416 8.125H12.8542C13.1993 8.125 13.4792 7.84518 13.4792 7.5V6.25C13.4792 5.90482 13.1993 5.625 12.8542 5.625H6.60416Z" fill="currentColor"/>
|
|
143
|
-
<path fill-rule="evenodd" clip-rule="evenodd" d="M6.60416 10.625C5.56863 10.625 4.72916 11.4645 4.72916 12.5V13.75C4.72916 14.7855 5.56863 15.625 6.60416 15.625H16.6042C17.6397 15.625 18.4792 14.7855 18.4792 13.75V12.5C18.4792 11.4645 17.6397 10.625 16.6042 10.625H6.60416ZM5.97916 12.5C5.97916 12.1548 6.25899 11.875 6.60416 11.875H16.6042C16.9493 11.875 17.2292 12.1548 17.2292 12.5V13.75C17.2292 14.0952 16.9493 14.375 16.6042 14.375H6.60416C6.25899 14.375 5.97916 14.0952 5.97916 13.75V12.5Z" fill="currentColor"/>
|
|
144
|
-
</svg>
|
|
145
|
-
`,
|
|
146
|
-
tooltip: 'Align left'
|
|
140
|
+
tooltip: 'Align left',
|
|
141
|
+
iconName: 'gp-align-left'
|
|
147
142
|
},
|
|
148
143
|
{
|
|
149
144
|
label: 'Center',
|
|
150
145
|
value: 'center',
|
|
151
146
|
type: 'align',
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
</svg>
|
|
155
|
-
`,
|
|
156
|
-
tooltip: 'Align center'
|
|
147
|
+
tooltip: 'Align center',
|
|
148
|
+
iconName: 'gp-align-center'
|
|
157
149
|
},
|
|
158
150
|
{
|
|
159
151
|
label: 'Right',
|
|
160
152
|
value: 'right',
|
|
161
153
|
type: 'align',
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
<path fill-rule="evenodd" clip-rule="evenodd" d="M6.27083 7.5C6.27083 8.53553 7.11029 9.375 8.14583 9.375H14.3958C15.4314 9.375 16.2708 8.53553 16.2708 7.5V6.25C16.2708 5.21447 15.4314 4.375 14.3958 4.375H8.14583C7.11029 4.375 6.27083 5.21447 6.27083 6.25V7.5ZM8.14583 8.125C7.80065 8.125 7.52083 7.84518 7.52083 7.5V6.25C7.52083 5.90482 7.80065 5.625 8.14583 5.625H14.3958C14.741 5.625 15.0208 5.90482 15.0208 6.25V7.5C15.0208 7.84518 14.741 8.125 14.3958 8.125H8.14583Z" fill="currentColor"/>
|
|
165
|
-
<path fill-rule="evenodd" clip-rule="evenodd" d="M4.39583 15.625C3.36029 15.625 2.52083 14.7855 2.52083 13.75V12.5C2.52083 11.4645 3.36029 10.625 4.39583 10.625H14.3958C15.4314 10.625 16.2708 11.4645 16.2708 12.5V13.75C16.2708 14.7855 15.4314 15.625 14.3958 15.625H4.39583ZM3.77083 13.75C3.77083 14.0952 4.05065 14.375 4.39583 14.375H14.3958C14.741 14.375 15.0208 14.0952 15.0208 13.75V12.5C15.0208 12.1548 14.741 11.875 14.3958 11.875H4.39583C4.05065 11.875 3.77083 12.1548 3.77083 12.5V13.75Z" fill="currentColor"/>
|
|
166
|
-
</svg>
|
|
167
|
-
`,
|
|
168
|
-
tooltip: 'Align right'
|
|
154
|
+
tooltip: 'Align right',
|
|
155
|
+
iconName: 'gp-align-right'
|
|
169
156
|
}
|
|
170
157
|
],
|
|
171
|
-
default: '
|
|
158
|
+
default: 'left'
|
|
172
159
|
},
|
|
173
160
|
{
|
|
174
161
|
id: 'width',
|
|
@@ -14,7 +14,8 @@ const ProductQuantitySettings = [
|
|
|
14
14
|
label: 'Text',
|
|
15
15
|
type: 'input:stepper',
|
|
16
16
|
min: 1,
|
|
17
|
-
default: 1
|
|
17
|
+
default: 1,
|
|
18
|
+
disableDecimal: true
|
|
18
19
|
}
|
|
19
20
|
]
|
|
20
21
|
},
|
|
@@ -69,38 +70,25 @@ const ProductQuantitySettings = [
|
|
|
69
70
|
label: 'Left',
|
|
70
71
|
value: 'start',
|
|
71
72
|
type: 'align',
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
<path fill-rule="evenodd" clip-rule="evenodd" d="M4.72916 6.25C4.72916 5.21447 5.56863 4.375 6.60416 4.375H12.8542C13.8897 4.375 14.7292 5.21447 14.7292 6.25V7.5C14.7292 8.53553 13.8897 9.375 12.8542 9.375H6.60416C5.56863 9.375 4.72916 8.53553 4.72916 7.5V6.25ZM6.60416 5.625C6.25899 5.625 5.97916 5.90482 5.97916 6.25V7.5C5.97916 7.84518 6.25899 8.125 6.60416 8.125H12.8542C13.1993 8.125 13.4792 7.84518 13.4792 7.5V6.25C13.4792 5.90482 13.1993 5.625 12.8542 5.625H6.60416Z" fill="currentColor"/>
|
|
75
|
-
<path fill-rule="evenodd" clip-rule="evenodd" d="M6.60416 10.625C5.56863 10.625 4.72916 11.4645 4.72916 12.5V13.75C4.72916 14.7855 5.56863 15.625 6.60416 15.625H16.6042C17.6397 15.625 18.4792 14.7855 18.4792 13.75V12.5C18.4792 11.4645 17.6397 10.625 16.6042 10.625H6.60416ZM5.97916 12.5C5.97916 12.1548 6.25899 11.875 6.60416 11.875H16.6042C16.9493 11.875 17.2292 12.1548 17.2292 12.5V13.75C17.2292 14.0952 16.9493 14.375 16.6042 14.375H6.60416C6.25899 14.375 5.97916 14.0952 5.97916 13.75V12.5Z" fill="currentColor"/>
|
|
76
|
-
</svg>
|
|
77
|
-
`,
|
|
78
|
-
tooltip: 'Align left'
|
|
73
|
+
tooltip: 'Align left',
|
|
74
|
+
iconName: 'gp-align-left'
|
|
79
75
|
},
|
|
80
76
|
{
|
|
81
77
|
label: 'Center',
|
|
82
78
|
value: 'center',
|
|
83
79
|
type: 'align',
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
</svg>
|
|
87
|
-
`,
|
|
88
|
-
tooltip: 'Align center'
|
|
80
|
+
tooltip: 'Align center',
|
|
81
|
+
iconName: 'gp-align-center'
|
|
89
82
|
},
|
|
90
83
|
{
|
|
91
84
|
label: 'Right',
|
|
92
85
|
value: 'end',
|
|
93
86
|
type: 'align',
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
<path fill-rule="evenodd" clip-rule="evenodd" d="M6.27083 7.5C6.27083 8.53553 7.11029 9.375 8.14583 9.375H14.3958C15.4314 9.375 16.2708 8.53553 16.2708 7.5V6.25C16.2708 5.21447 15.4314 4.375 14.3958 4.375H8.14583C7.11029 4.375 6.27083 5.21447 6.27083 6.25V7.5ZM8.14583 8.125C7.80065 8.125 7.52083 7.84518 7.52083 7.5V6.25C7.52083 5.90482 7.80065 5.625 8.14583 5.625H14.3958C14.741 5.625 15.0208 5.90482 15.0208 6.25V7.5C15.0208 7.84518 14.741 8.125 14.3958 8.125H8.14583Z" fill="currentColor"/>
|
|
97
|
-
<path fill-rule="evenodd" clip-rule="evenodd" d="M4.39583 15.625C3.36029 15.625 2.52083 14.7855 2.52083 13.75V12.5C2.52083 11.4645 3.36029 10.625 4.39583 10.625H14.3958C15.4314 10.625 16.2708 11.4645 16.2708 12.5V13.75C16.2708 14.7855 15.4314 15.625 14.3958 15.625H4.39583ZM3.77083 13.75C3.77083 14.0952 4.05065 14.375 4.39583 14.375H14.3958C14.741 14.375 15.0208 14.0952 15.0208 13.75V12.5C15.0208 12.1548 14.741 11.875 14.3958 11.875H4.39583C4.05065 11.875 3.77083 12.1548 3.77083 12.5V13.75Z" fill="currentColor"/>
|
|
98
|
-
</svg>
|
|
99
|
-
`,
|
|
100
|
-
tooltip: 'Align right'
|
|
87
|
+
tooltip: 'Align right',
|
|
88
|
+
iconName: 'gp-align-right'
|
|
101
89
|
}
|
|
102
90
|
],
|
|
103
|
-
default: '
|
|
91
|
+
default: 'start'
|
|
104
92
|
}
|
|
105
93
|
]
|
|
106
94
|
}
|
|
@@ -79,25 +79,29 @@ const settingV2 = [
|
|
|
79
79
|
label: 'Left',
|
|
80
80
|
value: 'left',
|
|
81
81
|
type: 'text',
|
|
82
|
-
tooltip: 'Align left'
|
|
82
|
+
tooltip: 'Align left',
|
|
83
|
+
iconName: 'polaris-text-align-left'
|
|
83
84
|
},
|
|
84
85
|
{
|
|
85
86
|
label: 'Center',
|
|
86
87
|
value: 'center',
|
|
87
88
|
type: 'text',
|
|
88
|
-
tooltip: 'Align center'
|
|
89
|
+
tooltip: 'Align center',
|
|
90
|
+
iconName: 'polaris-text-align-center'
|
|
89
91
|
},
|
|
90
92
|
{
|
|
91
93
|
label: 'Right',
|
|
92
94
|
value: 'right',
|
|
93
95
|
type: 'text',
|
|
94
|
-
tooltip: 'Align right'
|
|
96
|
+
tooltip: 'Align right',
|
|
97
|
+
iconName: 'polaris-text-align-right'
|
|
95
98
|
},
|
|
96
99
|
{
|
|
97
100
|
label: 'Justify',
|
|
98
101
|
value: 'justify',
|
|
99
102
|
type: 'text',
|
|
100
|
-
tooltip: 'Align justify'
|
|
103
|
+
tooltip: 'Align justify',
|
|
104
|
+
iconName: 'gp-text-align-justify'
|
|
101
105
|
}
|
|
102
106
|
],
|
|
103
107
|
default: 'left'
|
package/dist/types/index.d.ts
CHANGED
|
@@ -5011,10 +5011,7 @@ declare const _default$7: {
|
|
|
5011
5011
|
};
|
|
5012
5012
|
|
|
5013
5013
|
type PostPurchaseLinkProps = BasePropsWrap<{
|
|
5014
|
-
link?:
|
|
5015
|
-
link?: string;
|
|
5016
|
-
target?: string;
|
|
5017
|
-
};
|
|
5014
|
+
link?: string;
|
|
5018
5015
|
label?: string;
|
|
5019
5016
|
width?: ObjectDevices<string>;
|
|
5020
5017
|
}, {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@gem-sdk/components",
|
|
3
|
-
"version": "2.0.0-dev.
|
|
3
|
+
"version": "2.0.0-dev.253",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"sideEffects": false,
|
|
6
6
|
"main": "dist/cjs/index.js",
|
|
@@ -22,7 +22,7 @@
|
|
|
22
22
|
"relationship": "rollup -c ./scripts/rollup.config.settings.mjs && node ./scripts/get-control-relationship.js && node ./scripts/get-element-relationship.js"
|
|
23
23
|
},
|
|
24
24
|
"devDependencies": {
|
|
25
|
-
"@gem-sdk/core": "2.0.0-dev.
|
|
25
|
+
"@gem-sdk/core": "2.0.0-dev.251",
|
|
26
26
|
"@gem-sdk/styles": "2.0.0-dev.234",
|
|
27
27
|
"@gem-sdk/system": "2.0.0-dev.234",
|
|
28
28
|
"@types/react-transition-group": "^4.4.5"
|