@myissue/vue-website-page-builder 3.5.36 → 3.5.39

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/index.d.ts CHANGED
@@ -102,6 +102,8 @@ declare interface BuildProductSectionStyleOptions {
102
102
  cardStyle?: ProductCardStyle;
103
103
  roundedImages?: boolean;
104
104
  openInNewTab?: boolean;
105
+ buttonStyle?: ProductButtonStyle;
106
+ roundedButtons?: boolean;
105
107
  hidePrice?: boolean;
106
108
  hideImage?: boolean;
107
109
  hideButton?: boolean;
@@ -153,6 +155,10 @@ export declare interface InsertProductsOptions {
153
155
  roundedImages?: boolean;
154
156
  /** Adds target="_blank" rel="noopener noreferrer" to product links */
155
157
  openInNewTab?: boolean;
158
+ /** Product CTA appearance: plain text link or button style */
159
+ buttonStyle?: ProductButtonStyle;
160
+ /** Applies rounded/full corners when CTA button style is enabled */
161
+ roundedButtons?: boolean;
156
162
  /** Hides price and compare-at price when product data includes them */
157
163
  hidePrice?: boolean;
158
164
  /** Hides product photos when product data includes images */
@@ -1162,6 +1168,8 @@ export declare interface PageSettings {
1162
1168
  [key: string]: unknown;
1163
1169
  }
1164
1170
 
1171
+ declare type ProductButtonStyle = 'text' | 'button' | (string & {});
1172
+
1165
1173
  export declare type ProductCardStyle = 'minimal' | 'bordered' | 'shadow' | 'elevated' | (string & {});
1166
1174
 
1167
1175
  export declare type ProductGridLayout = 'grid-1' | 'grid-2' | 'grid-3' | 'grid-4' | 'grid-6' | (string & {});
@@ -1174,6 +1182,10 @@ export declare interface ProductSectionOptions {
1174
1182
  cardStyle?: ProductCardStyle;
1175
1183
  roundedImages?: boolean;
1176
1184
  openInNewTab?: boolean;
1185
+ /** Product CTA appearance: plain text link or button style */
1186
+ buttonStyle?: ProductButtonStyle;
1187
+ /** Applies rounded/full corners when CTA button style is enabled */
1188
+ roundedButtons?: boolean;
1177
1189
  /** Hides price and compare-at price when product data includes them */
1178
1190
  hidePrice?: boolean;
1179
1191
  /** Hides product photos when product data includes images */