@gem-sdk/components 2.2.0-staging.71 → 2.2.0-staging.72
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.
|
@@ -170,7 +170,7 @@ const Button = ({ className, builderProps, customAttrs, pageContext, setting = {
|
|
|
170
170
|
>${iconSvg}</span>`)}
|
|
171
171
|
<span
|
|
172
172
|
data-gp-text
|
|
173
|
-
class="${`gp-content-product-button group-hover/button:!gp-text-inherit gp-button-text-only gp-break-words group-data-[state=loading]/button:gp-invisible [&_p]:gp-whitespace-pre-line gp-z-1 gp-h-full gp-flex gp-items-center gp-overflow-hidden ${nodePrice ? appendTypoClass : ''}
|
|
173
|
+
class="${`gp-content-product-button group-hover/button:!gp-text-inherit group-active/button:!gp-text-inherit gp-button-text-only gp-break-words group-data-[state=loading]/button:gp-invisible [&_p]:gp-whitespace-pre-line gp-z-1 gp-h-full gp-flex gp-items-center gp-overflow-hidden ${nodePrice ? appendTypoClass : ''}
|
|
174
174
|
${styles?.typo?.attrs?.italic ? '[&:not(:has(p))]:gp-pr-[0.2em] [&_p]:[&:has(p)]:gp-pr-[0.2em]' : ''}`}"
|
|
175
175
|
style="${{
|
|
176
176
|
...nodePrice && appendTypoStyle,
|
|
@@ -166,7 +166,7 @@ const Button = ({ className, builderProps, customAttrs, pageContext, setting = {
|
|
|
166
166
|
>${iconSvg}</span>`)}
|
|
167
167
|
<span
|
|
168
168
|
data-gp-text
|
|
169
|
-
class="${`gp-content-product-button group-hover/button:!gp-text-inherit gp-button-text-only gp-break-words group-data-[state=loading]/button:gp-invisible [&_p]:gp-whitespace-pre-line gp-z-1 gp-h-full gp-flex gp-items-center gp-overflow-hidden ${nodePrice ? appendTypoClass : ''}
|
|
169
|
+
class="${`gp-content-product-button group-hover/button:!gp-text-inherit group-active/button:!gp-text-inherit gp-button-text-only gp-break-words group-data-[state=loading]/button:gp-invisible [&_p]:gp-whitespace-pre-line gp-z-1 gp-h-full gp-flex gp-items-center gp-overflow-hidden ${nodePrice ? appendTypoClass : ''}
|
|
170
170
|
${styles?.typo?.attrs?.italic ? '[&:not(:has(p))]:gp-pr-[0.2em] [&_p]:[&:has(p)]:gp-pr-[0.2em]' : ''}`}"
|
|
171
171
|
style="${{
|
|
172
172
|
...nodePrice && appendTypoStyle,
|