@builder.io/sdk-qwik 0.0.22 → 0.0.24

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.
@@ -2,24 +2,6 @@
2
2
  Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toStringTag]: { value: "Module" } });
3
3
  const qwik = require("@builder.io/qwik");
4
4
  const jsxRuntime = require("@builder.io/qwik/jsx-runtime");
5
- function _interopNamespace(e) {
6
- if (e && e.__esModule)
7
- return e;
8
- const n = Object.create(null, { [Symbol.toStringTag]: { value: "Module" } });
9
- if (e) {
10
- for (const k in e) {
11
- if (k !== "default") {
12
- const d = Object.getOwnPropertyDescriptor(e, k);
13
- Object.defineProperty(n, k, d.get ? d : {
14
- enumerable: true,
15
- get: () => e[k]
16
- });
17
- }
18
- }
19
- }
20
- n.default = e;
21
- return Object.freeze(n);
22
- }
23
5
  const TARGET = "qwik";
24
6
  function isBrowser() {
25
7
  return typeof window !== "undefined" && typeof document !== "undefined";
@@ -329,8 +311,7 @@ function getBlockProperties(block) {
329
311
  const convertStyleObject = (obj) => {
330
312
  return obj;
331
313
  };
332
- const sanitizeBlockStyles = (_styles) => {
333
- };
314
+ const sanitizeBlockStyles = (styles) => styles;
334
315
  const getStyleForTarget = (styles) => {
335
316
  switch (TARGET) {
336
317
  case "reactNative":
@@ -355,8 +336,8 @@ function getBlockStyles(block) {
355
336
  if (!block.responsiveStyles)
356
337
  return {};
357
338
  const styles = getStyleForTarget(block.responsiveStyles);
358
- sanitizeBlockStyles();
359
- return styles;
339
+ const newStyles = sanitizeBlockStyles(styles);
340
+ return newStyles;
360
341
  }
361
342
  function getBlockTag(block) {
362
343
  return block.tagName || "div";
@@ -617,6 +598,7 @@ const RenderBlocks = /* @__PURE__ */ qwik.componentQrl(qwik.inlinedQrl((props) =
617
598
  class: className(props) + " div-RenderBlocks",
618
599
  "builder-path": props.path,
619
600
  "builder-parent-id": props.parent,
601
+ style: props.style,
620
602
  onClick$: qwik.inlinedQrl((event) => {
621
603
  const [builderContext2, props2, state2] = qwik.useLexicalScope();
622
604
  return (event2) => onClick$1(props2);
@@ -710,7 +692,10 @@ const Columns = /* @__PURE__ */ qwik.componentQrl(qwik.inlinedQrl((props) => {
710
692
  children: /* @__PURE__ */ jsxRuntime.jsx(RenderBlocks$1, {
711
693
  blocks: markMutable(column.blocks),
712
694
  path: `component.options.columns.${index}.blocks`,
713
- parent: props.builderBlock.id
695
+ parent: props.builderBlock.id,
696
+ style: {
697
+ flexGrow: "1"
698
+ }
714
699
  })
715
700
  }, index);
716
701
  })
@@ -723,7 +708,9 @@ align-items: stretch;
723
708
  line-height: normal; }@media (max-width: 991px) { .div-Columns {
724
709
  flex-direction: var(--flex-dir-tablet); } }@media (max-width: 639px) { .div-Columns {
725
710
  flex-direction: var(--flex-dir); } }.div-Columns-2 {
726
- flex-grow: 1; }@media (max-width: 991px) { .div-Columns-2 {
711
+ display: flex;
712
+ flex-direction: column;
713
+ align-items: stretch; }@media (max-width: 991px) { .div-Columns-2 {
727
714
  width: var(--column-width-tablet) !important;
728
715
  margin-left: var(--column-margin-left-tablet) !important; } }@media (max-width: 639px) { .div-Columns-2 {
729
716
  width: var(--column-width) !important;
@@ -1917,10 +1904,8 @@ function getGlobalThis() {
1917
1904
  }
1918
1905
  async function getFetch() {
1919
1906
  const globalFetch = getGlobalThis().fetch;
1920
- if (typeof globalFetch === "undefined" && typeof global !== "undefined") {
1921
- const nodeFetch = Promise.resolve().then(() => /* @__PURE__ */ _interopNamespace(require("node-fetch"))).then((d) => d.default);
1922
- return nodeFetch.default || nodeFetch;
1923
- }
1907
+ if (typeof globalFetch === "undefined" && typeof global !== "undefined")
1908
+ throw new Error("`fetch()` not found, ensure you have it as part of your polyfills.");
1924
1909
  return globalFetch.default || globalFetch;
1925
1910
  }
1926
1911
  const handleABTesting = (item, testGroups) => {
@@ -309,8 +309,7 @@ function getBlockProperties(block) {
309
309
  const convertStyleObject = (obj) => {
310
310
  return obj;
311
311
  };
312
- const sanitizeBlockStyles = (_styles) => {
313
- };
312
+ const sanitizeBlockStyles = (styles) => styles;
314
313
  const getStyleForTarget = (styles) => {
315
314
  switch (TARGET) {
316
315
  case "reactNative":
@@ -335,8 +334,8 @@ function getBlockStyles(block) {
335
334
  if (!block.responsiveStyles)
336
335
  return {};
337
336
  const styles = getStyleForTarget(block.responsiveStyles);
338
- sanitizeBlockStyles();
339
- return styles;
337
+ const newStyles = sanitizeBlockStyles(styles);
338
+ return newStyles;
340
339
  }
341
340
  function getBlockTag(block) {
342
341
  return block.tagName || "div";
@@ -597,6 +596,7 @@ const RenderBlocks = /* @__PURE__ */ componentQrl(inlinedQrl((props) => {
597
596
  class: className(props) + " div-RenderBlocks",
598
597
  "builder-path": props.path,
599
598
  "builder-parent-id": props.parent,
599
+ style: props.style,
600
600
  onClick$: inlinedQrl((event) => {
601
601
  const [builderContext2, props2, state2] = useLexicalScope();
602
602
  return (event2) => onClick$1(props2);
@@ -690,7 +690,10 @@ const Columns = /* @__PURE__ */ componentQrl(inlinedQrl((props) => {
690
690
  children: /* @__PURE__ */ jsx(RenderBlocks$1, {
691
691
  blocks: markMutable(column.blocks),
692
692
  path: `component.options.columns.${index}.blocks`,
693
- parent: props.builderBlock.id
693
+ parent: props.builderBlock.id,
694
+ style: {
695
+ flexGrow: "1"
696
+ }
694
697
  })
695
698
  }, index);
696
699
  })
@@ -703,7 +706,9 @@ align-items: stretch;
703
706
  line-height: normal; }@media (max-width: 991px) { .div-Columns {
704
707
  flex-direction: var(--flex-dir-tablet); } }@media (max-width: 639px) { .div-Columns {
705
708
  flex-direction: var(--flex-dir); } }.div-Columns-2 {
706
- flex-grow: 1; }@media (max-width: 991px) { .div-Columns-2 {
709
+ display: flex;
710
+ flex-direction: column;
711
+ align-items: stretch; }@media (max-width: 991px) { .div-Columns-2 {
707
712
  width: var(--column-width-tablet) !important;
708
713
  margin-left: var(--column-margin-left-tablet) !important; } }@media (max-width: 639px) { .div-Columns-2 {
709
714
  width: var(--column-width) !important;
@@ -1897,10 +1902,8 @@ function getGlobalThis() {
1897
1902
  }
1898
1903
  async function getFetch() {
1899
1904
  const globalFetch = getGlobalThis().fetch;
1900
- if (typeof globalFetch === "undefined" && typeof global !== "undefined") {
1901
- const nodeFetch = import("node-fetch").then((d) => d.default);
1902
- return nodeFetch.default || nodeFetch;
1903
- }
1905
+ if (typeof globalFetch === "undefined" && typeof global !== "undefined")
1906
+ throw new Error("`fetch()` not found, ensure you have it as part of your polyfills.");
1904
1907
  return globalFetch.default || globalFetch;
1905
1908
  }
1906
1909
  const handleABTesting = (item, testGroups) => {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@builder.io/sdk-qwik",
3
- "version": "0.0.22",
3
+ "version": "0.0.24",
4
4
  "description": "Builder.io Qwik SDK",
5
5
  "type": "module",
6
6
  "main": "./lib/index.qwik.cjs",
@@ -29,4 +29,4 @@ export declare const columnCssVars: (props: any, state: any) => {
29
29
  };
30
30
  export declare const Columns: import("@builder.io/qwik").Component<ColumnProps>;
31
31
  export default Columns;
32
- export declare const STYLES = ".div-Columns { \ndisplay: flex;\nalign-items: stretch;\nline-height: normal; }@media (max-width: 991px) { .div-Columns { \nflex-direction: var(--flex-dir-tablet); } }@media (max-width: 639px) { .div-Columns { \nflex-direction: var(--flex-dir); } }.div-Columns-2 { \nflex-grow: 1; }@media (max-width: 991px) { .div-Columns-2 { \nwidth: var(--column-width-tablet) !important;\nmargin-left: var(--column-margin-left-tablet) !important; } }@media (max-width: 639px) { .div-Columns-2 { \nwidth: var(--column-width) !important;\nmargin-left: var(--column-margin-left) !important; } }";
32
+ export declare const STYLES = ".div-Columns { \ndisplay: flex;\nalign-items: stretch;\nline-height: normal; }@media (max-width: 991px) { .div-Columns { \nflex-direction: var(--flex-dir-tablet); } }@media (max-width: 639px) { .div-Columns { \nflex-direction: var(--flex-dir); } }.div-Columns-2 { \ndisplay: flex;\nflex-direction: column;\nalign-items: stretch; }@media (max-width: 991px) { .div-Columns-2 { \nwidth: var(--column-width-tablet) !important;\nmargin-left: var(--column-margin-left-tablet) !important; } }@media (max-width: 639px) { .div-Columns-2 { \nwidth: var(--column-width) !important;\nmargin-left: var(--column-margin-left) !important; } }";
@@ -11,473 +11,7 @@ export declare const componentRef: (props: any, state: any) => any;
11
11
  export declare const tagName: (props: any, state: any) => string;
12
12
  export declare const useBlock: (props: any, state: any) => any;
13
13
  export declare const attributes: (props: any, state: any) => {
14
- style: {
15
- [x: number]: string | undefined;
16
- accentColor?: string | undefined;
17
- alignContent?: string | undefined;
18
- alignItems?: string | undefined;
19
- alignSelf?: string | undefined;
20
- alignmentBaseline?: string | undefined;
21
- all?: string | undefined;
22
- animation?: string | undefined;
23
- animationDelay?: string | undefined;
24
- animationDirection?: string | undefined;
25
- animationDuration?: string | undefined;
26
- animationFillMode?: string | undefined;
27
- animationIterationCount?: string | undefined;
28
- animationName?: string | undefined;
29
- animationPlayState?: string | undefined;
30
- animationTimingFunction?: string | undefined;
31
- appearance?: string | undefined;
32
- aspectRatio?: string | undefined;
33
- backfaceVisibility?: string | undefined;
34
- background?: string | undefined;
35
- backgroundAttachment?: string | undefined;
36
- backgroundBlendMode?: string | undefined;
37
- backgroundClip?: string | undefined;
38
- backgroundColor?: string | undefined;
39
- backgroundImage?: string | undefined;
40
- backgroundOrigin?: string | undefined;
41
- backgroundPosition?: string | undefined;
42
- backgroundPositionX?: string | undefined;
43
- backgroundPositionY?: string | undefined;
44
- backgroundRepeat?: string | undefined;
45
- backgroundSize?: string | undefined;
46
- baselineShift?: string | undefined;
47
- blockSize?: string | undefined;
48
- border?: string | undefined;
49
- borderBlock?: string | undefined;
50
- borderBlockColor?: string | undefined;
51
- borderBlockEnd?: string | undefined;
52
- borderBlockEndColor?: string | undefined;
53
- borderBlockEndStyle?: string | undefined;
54
- borderBlockEndWidth?: string | undefined;
55
- borderBlockStart?: string | undefined;
56
- borderBlockStartColor?: string | undefined;
57
- borderBlockStartStyle?: string | undefined;
58
- borderBlockStartWidth?: string | undefined;
59
- borderBlockStyle?: string | undefined;
60
- borderBlockWidth?: string | undefined;
61
- borderBottom?: string | undefined;
62
- borderBottomColor?: string | undefined;
63
- borderBottomLeftRadius?: string | undefined;
64
- borderBottomRightRadius?: string | undefined;
65
- borderBottomStyle?: string | undefined;
66
- borderBottomWidth?: string | undefined;
67
- borderCollapse?: string | undefined;
68
- borderColor?: string | undefined;
69
- borderEndEndRadius?: string | undefined;
70
- borderEndStartRadius?: string | undefined;
71
- borderImage?: string | undefined;
72
- borderImageOutset?: string | undefined;
73
- borderImageRepeat?: string | undefined;
74
- borderImageSlice?: string | undefined;
75
- borderImageSource?: string | undefined;
76
- borderImageWidth?: string | undefined;
77
- borderInline?: string | undefined;
78
- borderInlineColor?: string | undefined;
79
- borderInlineEnd?: string | undefined;
80
- borderInlineEndColor?: string | undefined;
81
- borderInlineEndStyle?: string | undefined;
82
- borderInlineEndWidth?: string | undefined;
83
- borderInlineStart?: string | undefined;
84
- borderInlineStartColor?: string | undefined;
85
- borderInlineStartStyle?: string | undefined;
86
- borderInlineStartWidth?: string | undefined;
87
- borderInlineStyle?: string | undefined;
88
- borderInlineWidth?: string | undefined;
89
- borderLeft?: string | undefined;
90
- borderLeftColor?: string | undefined;
91
- borderLeftStyle?: string | undefined;
92
- borderLeftWidth?: string | undefined;
93
- borderRadius?: string | undefined;
94
- borderRight?: string | undefined;
95
- borderRightColor?: string | undefined;
96
- borderRightStyle?: string | undefined;
97
- borderRightWidth?: string | undefined;
98
- borderSpacing?: string | undefined;
99
- borderStartEndRadius?: string | undefined;
100
- borderStartStartRadius?: string | undefined;
101
- borderStyle?: string | undefined;
102
- borderTop?: string | undefined;
103
- borderTopColor?: string | undefined;
104
- borderTopLeftRadius?: string | undefined;
105
- borderTopRightRadius?: string | undefined;
106
- borderTopStyle?: string | undefined;
107
- borderTopWidth?: string | undefined;
108
- borderWidth?: string | undefined;
109
- bottom?: string | undefined;
110
- boxShadow?: string | undefined;
111
- boxSizing?: string | undefined;
112
- breakAfter?: string | undefined;
113
- breakBefore?: string | undefined;
114
- breakInside?: string | undefined;
115
- captionSide?: string | undefined;
116
- caretColor?: string | undefined;
117
- clear?: string | undefined;
118
- clip?: string | undefined;
119
- clipPath?: string | undefined;
120
- clipRule?: string | undefined;
121
- color?: string | undefined;
122
- colorInterpolation?: string | undefined;
123
- colorInterpolationFilters?: string | undefined;
124
- colorScheme?: string | undefined;
125
- columnCount?: string | undefined;
126
- columnFill?: string | undefined;
127
- columnGap?: string | undefined;
128
- columnRule?: string | undefined;
129
- columnRuleColor?: string | undefined;
130
- columnRuleStyle?: string | undefined;
131
- columnRuleWidth?: string | undefined;
132
- columnSpan?: string | undefined;
133
- columnWidth?: string | undefined;
134
- columns?: string | undefined;
135
- contain?: string | undefined;
136
- content?: string | undefined;
137
- counterIncrement?: string | undefined;
138
- counterReset?: string | undefined;
139
- counterSet?: string | undefined;
140
- cssFloat?: string | undefined;
141
- cssText?: string | undefined;
142
- cursor?: string | undefined;
143
- direction?: string | undefined;
144
- display?: string | undefined;
145
- dominantBaseline?: string | undefined;
146
- emptyCells?: string | undefined;
147
- fill?: string | undefined;
148
- fillOpacity?: string | undefined;
149
- fillRule?: string | undefined;
150
- filter?: string | undefined;
151
- flex?: string | undefined;
152
- flexBasis?: string | undefined;
153
- flexDirection?: string | undefined;
154
- flexFlow?: string | undefined;
155
- flexGrow?: string | undefined;
156
- flexShrink?: string | undefined;
157
- flexWrap?: string | undefined;
158
- float?: string | undefined;
159
- floodColor?: string | undefined;
160
- floodOpacity?: string | undefined;
161
- font?: string | undefined;
162
- fontFamily?: string | undefined;
163
- fontFeatureSettings?: string | undefined;
164
- fontKerning?: string | undefined;
165
- fontOpticalSizing?: string | undefined;
166
- fontSize?: string | undefined;
167
- fontSizeAdjust?: string | undefined;
168
- fontStretch?: string | undefined;
169
- fontStyle?: string | undefined;
170
- fontSynthesis?: string | undefined;
171
- fontVariant?: string | undefined;
172
- fontVariantAlternates?: string | undefined;
173
- fontVariantCaps?: string | undefined;
174
- fontVariantEastAsian?: string | undefined;
175
- fontVariantLigatures?: string | undefined;
176
- fontVariantNumeric?: string | undefined;
177
- fontVariantPosition?: string | undefined;
178
- fontVariationSettings?: string | undefined;
179
- fontWeight?: string | undefined;
180
- gap?: string | undefined;
181
- grid?: string | undefined;
182
- gridArea?: string | undefined;
183
- gridAutoColumns?: string | undefined;
184
- gridAutoFlow?: string | undefined;
185
- gridAutoRows?: string | undefined;
186
- gridColumn?: string | undefined;
187
- gridColumnEnd?: string | undefined;
188
- gridColumnGap?: string | undefined;
189
- gridColumnStart?: string | undefined;
190
- gridGap?: string | undefined;
191
- gridRow?: string | undefined;
192
- gridRowEnd?: string | undefined;
193
- gridRowGap?: string | undefined;
194
- gridRowStart?: string | undefined;
195
- gridTemplate?: string | undefined;
196
- gridTemplateAreas?: string | undefined;
197
- gridTemplateColumns?: string | undefined;
198
- gridTemplateRows?: string | undefined;
199
- height?: string | undefined;
200
- hyphens?: string | undefined;
201
- imageOrientation?: string | undefined;
202
- imageRendering?: string | undefined;
203
- inlineSize?: string | undefined;
204
- inset?: string | undefined;
205
- insetBlock?: string | undefined;
206
- insetBlockEnd?: string | undefined;
207
- insetBlockStart?: string | undefined;
208
- insetInline?: string | undefined;
209
- insetInlineEnd?: string | undefined;
210
- insetInlineStart?: string | undefined;
211
- isolation?: string | undefined;
212
- justifyContent?: string | undefined;
213
- justifyItems?: string | undefined;
214
- justifySelf?: string | undefined;
215
- left?: string | undefined;
216
- length?: number | undefined;
217
- letterSpacing?: string | undefined;
218
- lightingColor?: string | undefined;
219
- lineBreak?: string | undefined;
220
- lineHeight?: string | undefined;
221
- listStyle?: string | undefined;
222
- listStyleImage?: string | undefined;
223
- listStylePosition?: string | undefined;
224
- listStyleType?: string | undefined;
225
- margin?: string | undefined;
226
- marginBlock?: string | undefined;
227
- marginBlockEnd?: string | undefined;
228
- marginBlockStart?: string | undefined;
229
- marginBottom?: string | undefined;
230
- marginInline?: string | undefined;
231
- marginInlineEnd?: string | undefined;
232
- marginInlineStart?: string | undefined;
233
- marginLeft?: string | undefined;
234
- marginRight?: string | undefined;
235
- marginTop?: string | undefined;
236
- marker?: string | undefined;
237
- markerEnd?: string | undefined;
238
- markerMid?: string | undefined;
239
- markerStart?: string | undefined;
240
- mask?: string | undefined;
241
- maskClip?: string | undefined;
242
- maskComposite?: string | undefined;
243
- maskImage?: string | undefined;
244
- maskMode?: string | undefined;
245
- maskOrigin?: string | undefined;
246
- maskPosition?: string | undefined;
247
- maskRepeat?: string | undefined;
248
- maskSize?: string | undefined;
249
- maskType?: string | undefined;
250
- maxBlockSize?: string | undefined;
251
- maxHeight?: string | undefined;
252
- maxInlineSize?: string | undefined;
253
- maxWidth?: string | undefined;
254
- minBlockSize?: string | undefined;
255
- minHeight?: string | undefined;
256
- minInlineSize?: string | undefined;
257
- minWidth?: string | undefined;
258
- mixBlendMode?: string | undefined;
259
- objectFit?: string | undefined;
260
- objectPosition?: string | undefined;
261
- offset?: string | undefined;
262
- offsetDistance?: string | undefined;
263
- offsetPath?: string | undefined;
264
- offsetRotate?: string | undefined;
265
- opacity?: string | undefined;
266
- order?: string | undefined;
267
- orphans?: string | undefined;
268
- outline?: string | undefined;
269
- outlineColor?: string | undefined;
270
- outlineOffset?: string | undefined;
271
- outlineStyle?: string | undefined;
272
- outlineWidth?: string | undefined;
273
- overflow?: string | undefined;
274
- overflowAnchor?: string | undefined;
275
- overflowWrap?: string | undefined;
276
- overflowX?: string | undefined;
277
- overflowY?: string | undefined;
278
- overscrollBehavior?: string | undefined;
279
- overscrollBehaviorBlock?: string | undefined;
280
- overscrollBehaviorInline?: string | undefined;
281
- overscrollBehaviorX?: string | undefined;
282
- overscrollBehaviorY?: string | undefined;
283
- padding?: string | undefined;
284
- paddingBlock?: string | undefined;
285
- paddingBlockEnd?: string | undefined;
286
- paddingBlockStart?: string | undefined;
287
- paddingBottom?: string | undefined;
288
- paddingInline?: string | undefined;
289
- paddingInlineEnd?: string | undefined;
290
- paddingInlineStart?: string | undefined;
291
- paddingLeft?: string | undefined;
292
- paddingRight?: string | undefined;
293
- paddingTop?: string | undefined;
294
- pageBreakAfter?: string | undefined;
295
- pageBreakBefore?: string | undefined;
296
- pageBreakInside?: string | undefined;
297
- paintOrder?: string | undefined;
298
- parentRule?: CSSRule | null | undefined;
299
- perspective?: string | undefined;
300
- perspectiveOrigin?: string | undefined;
301
- placeContent?: string | undefined;
302
- placeItems?: string | undefined;
303
- placeSelf?: string | undefined;
304
- pointerEvents?: string | undefined;
305
- position?: string | undefined;
306
- printColorAdjust?: string | undefined;
307
- quotes?: string | undefined;
308
- resize?: string | undefined;
309
- right?: string | undefined;
310
- rotate?: string | undefined;
311
- rowGap?: string | undefined;
312
- rubyPosition?: string | undefined;
313
- scale?: string | undefined;
314
- scrollBehavior?: string | undefined;
315
- scrollMargin?: string | undefined;
316
- scrollMarginBlock?: string | undefined;
317
- scrollMarginBlockEnd?: string | undefined;
318
- scrollMarginBlockStart?: string | undefined;
319
- scrollMarginBottom?: string | undefined;
320
- scrollMarginInline?: string | undefined;
321
- scrollMarginInlineEnd?: string | undefined;
322
- scrollMarginInlineStart?: string | undefined;
323
- scrollMarginLeft?: string | undefined;
324
- scrollMarginRight?: string | undefined;
325
- scrollMarginTop?: string | undefined;
326
- scrollPadding?: string | undefined;
327
- scrollPaddingBlock?: string | undefined;
328
- scrollPaddingBlockEnd?: string | undefined;
329
- scrollPaddingBlockStart?: string | undefined;
330
- scrollPaddingBottom?: string | undefined;
331
- scrollPaddingInline?: string | undefined;
332
- scrollPaddingInlineEnd?: string | undefined;
333
- scrollPaddingInlineStart?: string | undefined;
334
- scrollPaddingLeft?: string | undefined;
335
- scrollPaddingRight?: string | undefined;
336
- scrollPaddingTop?: string | undefined;
337
- scrollSnapAlign?: string | undefined;
338
- scrollSnapStop?: string | undefined;
339
- scrollSnapType?: string | undefined;
340
- scrollbarGutter?: string | undefined;
341
- shapeImageThreshold?: string | undefined;
342
- shapeMargin?: string | undefined;
343
- shapeOutside?: string | undefined;
344
- shapeRendering?: string | undefined;
345
- stopColor?: string | undefined;
346
- stopOpacity?: string | undefined;
347
- stroke?: string | undefined;
348
- strokeDasharray?: string | undefined;
349
- strokeDashoffset?: string | undefined;
350
- strokeLinecap?: string | undefined;
351
- strokeLinejoin?: string | undefined;
352
- strokeMiterlimit?: string | undefined;
353
- strokeOpacity?: string | undefined;
354
- strokeWidth?: string | undefined;
355
- tabSize?: string | undefined;
356
- tableLayout?: string | undefined;
357
- textAlign?: string | undefined;
358
- textAlignLast?: string | undefined;
359
- textAnchor?: string | undefined;
360
- textCombineUpright?: string | undefined;
361
- textDecoration?: string | undefined;
362
- textDecorationColor?: string | undefined;
363
- textDecorationLine?: string | undefined;
364
- textDecorationSkipInk?: string | undefined;
365
- textDecorationStyle?: string | undefined;
366
- textDecorationThickness?: string | undefined;
367
- textEmphasis?: string | undefined;
368
- textEmphasisColor?: string | undefined;
369
- textEmphasisPosition?: string | undefined;
370
- textEmphasisStyle?: string | undefined;
371
- textIndent?: string | undefined;
372
- textOrientation?: string | undefined;
373
- textOverflow?: string | undefined;
374
- textRendering?: string | undefined;
375
- textShadow?: string | undefined;
376
- textTransform?: string | undefined;
377
- textUnderlineOffset?: string | undefined;
378
- textUnderlinePosition?: string | undefined;
379
- top?: string | undefined;
380
- touchAction?: string | undefined;
381
- transform?: string | undefined;
382
- transformBox?: string | undefined;
383
- transformOrigin?: string | undefined;
384
- transformStyle?: string | undefined;
385
- transition?: string | undefined;
386
- transitionDelay?: string | undefined;
387
- transitionDuration?: string | undefined;
388
- transitionProperty?: string | undefined;
389
- transitionTimingFunction?: string | undefined;
390
- translate?: string | undefined;
391
- unicodeBidi?: string | undefined;
392
- userSelect?: string | undefined;
393
- verticalAlign?: string | undefined;
394
- visibility?: string | undefined;
395
- webkitAlignContent?: string | undefined;
396
- webkitAlignItems?: string | undefined;
397
- webkitAlignSelf?: string | undefined;
398
- webkitAnimation?: string | undefined;
399
- webkitAnimationDelay?: string | undefined;
400
- webkitAnimationDirection?: string | undefined;
401
- webkitAnimationDuration?: string | undefined;
402
- webkitAnimationFillMode?: string | undefined;
403
- webkitAnimationIterationCount?: string | undefined;
404
- webkitAnimationName?: string | undefined;
405
- webkitAnimationPlayState?: string | undefined;
406
- webkitAnimationTimingFunction?: string | undefined;
407
- webkitAppearance?: string | undefined;
408
- webkitBackfaceVisibility?: string | undefined;
409
- webkitBackgroundClip?: string | undefined;
410
- webkitBackgroundOrigin?: string | undefined;
411
- webkitBackgroundSize?: string | undefined;
412
- webkitBorderBottomLeftRadius?: string | undefined;
413
- webkitBorderBottomRightRadius?: string | undefined;
414
- webkitBorderRadius?: string | undefined;
415
- webkitBorderTopLeftRadius?: string | undefined;
416
- webkitBorderTopRightRadius?: string | undefined;
417
- webkitBoxAlign?: string | undefined;
418
- webkitBoxFlex?: string | undefined;
419
- webkitBoxOrdinalGroup?: string | undefined;
420
- webkitBoxOrient?: string | undefined;
421
- webkitBoxPack?: string | undefined;
422
- webkitBoxShadow?: string | undefined;
423
- webkitBoxSizing?: string | undefined;
424
- webkitFilter?: string | undefined;
425
- webkitFlex?: string | undefined;
426
- webkitFlexBasis?: string | undefined;
427
- webkitFlexDirection?: string | undefined;
428
- webkitFlexFlow?: string | undefined;
429
- webkitFlexGrow?: string | undefined;
430
- webkitFlexShrink?: string | undefined;
431
- webkitFlexWrap?: string | undefined;
432
- webkitJustifyContent?: string | undefined;
433
- webkitLineClamp?: string | undefined;
434
- webkitMask?: string | undefined;
435
- webkitMaskBoxImage?: string | undefined;
436
- webkitMaskBoxImageOutset?: string | undefined;
437
- webkitMaskBoxImageRepeat?: string | undefined;
438
- webkitMaskBoxImageSlice?: string | undefined;
439
- webkitMaskBoxImageSource?: string | undefined;
440
- webkitMaskBoxImageWidth?: string | undefined;
441
- webkitMaskClip?: string | undefined;
442
- webkitMaskComposite?: string | undefined;
443
- webkitMaskImage?: string | undefined;
444
- webkitMaskOrigin?: string | undefined;
445
- webkitMaskPosition?: string | undefined;
446
- webkitMaskRepeat?: string | undefined;
447
- webkitMaskSize?: string | undefined;
448
- webkitOrder?: string | undefined;
449
- webkitPerspective?: string | undefined;
450
- webkitPerspectiveOrigin?: string | undefined;
451
- webkitTextFillColor?: string | undefined;
452
- webkitTextSizeAdjust?: string | undefined;
453
- webkitTextStroke?: string | undefined;
454
- webkitTextStrokeColor?: string | undefined;
455
- webkitTextStrokeWidth?: string | undefined;
456
- webkitTransform?: string | undefined;
457
- webkitTransformOrigin?: string | undefined;
458
- webkitTransformStyle?: string | undefined;
459
- webkitTransition?: string | undefined;
460
- webkitTransitionDelay?: string | undefined;
461
- webkitTransitionDuration?: string | undefined;
462
- webkitTransitionProperty?: string | undefined;
463
- webkitTransitionTimingFunction?: string | undefined;
464
- webkitUserSelect?: string | undefined;
465
- whiteSpace?: string | undefined;
466
- widows?: string | undefined;
467
- width?: string | undefined;
468
- willChange?: string | undefined;
469
- wordBreak?: string | undefined;
470
- wordSpacing?: string | undefined;
471
- wordWrap?: string | undefined;
472
- writingMode?: string | undefined;
473
- zIndex?: string | undefined;
474
- getPropertyPriority?: ((property: string) => string) | undefined;
475
- getPropertyValue?: ((property: string) => string) | undefined;
476
- item?: ((index: number) => string) | undefined;
477
- removeProperty?: ((property: string) => string) | undefined;
478
- setProperty?: ((property: string, value: string | null, priority?: string | undefined) => void) | undefined;
479
- [Symbol.iterator]?: (() => IterableIterator<string>) | undefined;
480
- };
14
+ style: Partial<CSSStyleDeclaration>;
481
15
  'builder-id': string | undefined;
482
16
  class: string;
483
17
  };
@@ -3,6 +3,7 @@ export declare type RenderBlockProps = {
3
3
  blocks?: BuilderBlock[];
4
4
  parent?: string;
5
5
  path?: string;
6
+ style?: Record<string, any>;
6
7
  };
7
8
  export declare const className: (props: any, state: any, builderContext: any) => string;
8
9
  export declare const onClick: (props: any, state: any, builderContext: any) => void;
@@ -1,468 +1,2 @@
1
1
  import { BuilderBlock } from '../types/builder-block.js';
2
- export declare function getBlockStyles(block: BuilderBlock): {
3
- [x: number]: string | undefined;
4
- accentColor?: string | undefined;
5
- alignContent?: string | undefined;
6
- alignItems?: string | undefined;
7
- alignSelf?: string | undefined;
8
- alignmentBaseline?: string | undefined;
9
- all?: string | undefined;
10
- animation?: string | undefined;
11
- animationDelay?: string | undefined;
12
- animationDirection?: string | undefined;
13
- animationDuration?: string | undefined;
14
- animationFillMode?: string | undefined;
15
- animationIterationCount?: string | undefined;
16
- animationName?: string | undefined;
17
- animationPlayState?: string | undefined;
18
- animationTimingFunction?: string | undefined;
19
- appearance?: string | undefined;
20
- aspectRatio?: string | undefined;
21
- backfaceVisibility?: string | undefined;
22
- background?: string | undefined;
23
- backgroundAttachment?: string | undefined;
24
- backgroundBlendMode?: string | undefined;
25
- backgroundClip?: string | undefined;
26
- backgroundColor?: string | undefined;
27
- backgroundImage?: string | undefined;
28
- backgroundOrigin?: string | undefined;
29
- backgroundPosition?: string | undefined;
30
- backgroundPositionX?: string | undefined;
31
- backgroundPositionY?: string | undefined;
32
- backgroundRepeat?: string | undefined;
33
- backgroundSize?: string | undefined;
34
- baselineShift?: string | undefined;
35
- blockSize?: string | undefined;
36
- border?: string | undefined;
37
- borderBlock?: string | undefined;
38
- borderBlockColor?: string | undefined;
39
- borderBlockEnd?: string | undefined;
40
- borderBlockEndColor?: string | undefined;
41
- borderBlockEndStyle?: string | undefined;
42
- borderBlockEndWidth?: string | undefined;
43
- borderBlockStart?: string | undefined;
44
- borderBlockStartColor?: string | undefined;
45
- borderBlockStartStyle?: string | undefined;
46
- borderBlockStartWidth?: string | undefined;
47
- borderBlockStyle?: string | undefined;
48
- borderBlockWidth?: string | undefined;
49
- borderBottom?: string | undefined;
50
- borderBottomColor?: string | undefined;
51
- borderBottomLeftRadius?: string | undefined;
52
- borderBottomRightRadius?: string | undefined;
53
- borderBottomStyle?: string | undefined;
54
- borderBottomWidth?: string | undefined;
55
- borderCollapse?: string | undefined;
56
- borderColor?: string | undefined;
57
- borderEndEndRadius?: string | undefined;
58
- borderEndStartRadius?: string | undefined;
59
- borderImage?: string | undefined;
60
- borderImageOutset?: string | undefined;
61
- borderImageRepeat?: string | undefined;
62
- borderImageSlice?: string | undefined;
63
- borderImageSource?: string | undefined;
64
- borderImageWidth?: string | undefined;
65
- borderInline?: string | undefined;
66
- borderInlineColor?: string | undefined;
67
- borderInlineEnd?: string | undefined;
68
- borderInlineEndColor?: string | undefined;
69
- borderInlineEndStyle?: string | undefined;
70
- borderInlineEndWidth?: string | undefined;
71
- borderInlineStart?: string | undefined;
72
- borderInlineStartColor?: string | undefined;
73
- borderInlineStartStyle?: string | undefined;
74
- borderInlineStartWidth?: string | undefined;
75
- borderInlineStyle?: string | undefined;
76
- borderInlineWidth?: string | undefined;
77
- borderLeft?: string | undefined;
78
- borderLeftColor?: string | undefined;
79
- borderLeftStyle?: string | undefined;
80
- borderLeftWidth?: string | undefined;
81
- borderRadius?: string | undefined;
82
- borderRight?: string | undefined;
83
- borderRightColor?: string | undefined;
84
- borderRightStyle?: string | undefined;
85
- borderRightWidth?: string | undefined;
86
- borderSpacing?: string | undefined;
87
- borderStartEndRadius?: string | undefined;
88
- borderStartStartRadius?: string | undefined;
89
- borderStyle?: string | undefined;
90
- borderTop?: string | undefined;
91
- borderTopColor?: string | undefined;
92
- borderTopLeftRadius?: string | undefined;
93
- borderTopRightRadius?: string | undefined;
94
- borderTopStyle?: string | undefined;
95
- borderTopWidth?: string | undefined;
96
- borderWidth?: string | undefined;
97
- bottom?: string | undefined;
98
- boxShadow?: string | undefined;
99
- boxSizing?: string | undefined;
100
- breakAfter?: string | undefined;
101
- breakBefore?: string | undefined;
102
- breakInside?: string | undefined;
103
- captionSide?: string | undefined;
104
- caretColor?: string | undefined;
105
- clear?: string | undefined;
106
- clip?: string | undefined;
107
- clipPath?: string | undefined;
108
- clipRule?: string | undefined;
109
- color?: string | undefined;
110
- colorInterpolation?: string | undefined;
111
- colorInterpolationFilters?: string | undefined;
112
- colorScheme?: string | undefined;
113
- columnCount?: string | undefined;
114
- columnFill?: string | undefined;
115
- columnGap?: string | undefined;
116
- columnRule?: string | undefined;
117
- columnRuleColor?: string | undefined;
118
- columnRuleStyle?: string | undefined;
119
- columnRuleWidth?: string | undefined;
120
- columnSpan?: string | undefined;
121
- columnWidth?: string | undefined;
122
- columns?: string | undefined;
123
- contain?: string | undefined;
124
- content?: string | undefined;
125
- counterIncrement?: string | undefined;
126
- counterReset?: string | undefined;
127
- counterSet?: string | undefined;
128
- cssFloat?: string | undefined;
129
- cssText?: string | undefined;
130
- cursor?: string | undefined;
131
- direction?: string | undefined;
132
- display?: string | undefined;
133
- dominantBaseline?: string | undefined;
134
- emptyCells?: string | undefined;
135
- fill?: string | undefined;
136
- fillOpacity?: string | undefined;
137
- fillRule?: string | undefined;
138
- filter?: string | undefined;
139
- flex?: string | undefined;
140
- flexBasis?: string | undefined;
141
- flexDirection?: string | undefined;
142
- flexFlow?: string | undefined;
143
- flexGrow?: string | undefined;
144
- flexShrink?: string | undefined;
145
- flexWrap?: string | undefined;
146
- float?: string | undefined;
147
- floodColor?: string | undefined;
148
- floodOpacity?: string | undefined;
149
- font?: string | undefined;
150
- fontFamily?: string | undefined;
151
- fontFeatureSettings?: string | undefined;
152
- fontKerning?: string | undefined;
153
- fontOpticalSizing?: string | undefined;
154
- fontSize?: string | undefined;
155
- fontSizeAdjust?: string | undefined;
156
- fontStretch?: string | undefined;
157
- fontStyle?: string | undefined;
158
- fontSynthesis?: string | undefined;
159
- fontVariant?: string | undefined;
160
- fontVariantAlternates?: string | undefined;
161
- fontVariantCaps?: string | undefined;
162
- fontVariantEastAsian?: string | undefined;
163
- fontVariantLigatures?: string | undefined;
164
- fontVariantNumeric?: string | undefined;
165
- fontVariantPosition?: string | undefined;
166
- fontVariationSettings?: string | undefined;
167
- fontWeight?: string | undefined;
168
- gap?: string | undefined;
169
- grid?: string | undefined;
170
- gridArea?: string | undefined;
171
- gridAutoColumns?: string | undefined;
172
- gridAutoFlow?: string | undefined;
173
- gridAutoRows?: string | undefined;
174
- gridColumn?: string | undefined;
175
- gridColumnEnd?: string | undefined;
176
- gridColumnGap?: string | undefined;
177
- gridColumnStart?: string | undefined;
178
- gridGap?: string | undefined;
179
- gridRow?: string | undefined;
180
- gridRowEnd?: string | undefined;
181
- gridRowGap?: string | undefined;
182
- gridRowStart?: string | undefined;
183
- gridTemplate?: string | undefined;
184
- gridTemplateAreas?: string | undefined;
185
- gridTemplateColumns?: string | undefined;
186
- gridTemplateRows?: string | undefined;
187
- height?: string | undefined;
188
- hyphens?: string | undefined;
189
- imageOrientation?: string | undefined;
190
- imageRendering?: string | undefined;
191
- inlineSize?: string | undefined;
192
- inset?: string | undefined;
193
- insetBlock?: string | undefined;
194
- insetBlockEnd?: string | undefined;
195
- insetBlockStart?: string | undefined;
196
- insetInline?: string | undefined;
197
- insetInlineEnd?: string | undefined;
198
- insetInlineStart?: string | undefined;
199
- isolation?: string | undefined;
200
- justifyContent?: string | undefined;
201
- justifyItems?: string | undefined;
202
- justifySelf?: string | undefined;
203
- left?: string | undefined;
204
- length?: number | undefined;
205
- letterSpacing?: string | undefined;
206
- lightingColor?: string | undefined;
207
- lineBreak?: string | undefined;
208
- lineHeight?: string | undefined;
209
- listStyle?: string | undefined;
210
- listStyleImage?: string | undefined;
211
- listStylePosition?: string | undefined;
212
- listStyleType?: string | undefined;
213
- margin?: string | undefined;
214
- marginBlock?: string | undefined;
215
- marginBlockEnd?: string | undefined;
216
- marginBlockStart?: string | undefined;
217
- marginBottom?: string | undefined;
218
- marginInline?: string | undefined;
219
- marginInlineEnd?: string | undefined;
220
- marginInlineStart?: string | undefined;
221
- marginLeft?: string | undefined;
222
- marginRight?: string | undefined;
223
- marginTop?: string | undefined;
224
- marker?: string | undefined;
225
- markerEnd?: string | undefined;
226
- markerMid?: string | undefined;
227
- markerStart?: string | undefined;
228
- mask?: string | undefined;
229
- maskClip?: string | undefined;
230
- maskComposite?: string | undefined;
231
- maskImage?: string | undefined;
232
- maskMode?: string | undefined;
233
- maskOrigin?: string | undefined;
234
- maskPosition?: string | undefined;
235
- maskRepeat?: string | undefined;
236
- maskSize?: string | undefined;
237
- maskType?: string | undefined;
238
- maxBlockSize?: string | undefined;
239
- maxHeight?: string | undefined;
240
- maxInlineSize?: string | undefined;
241
- maxWidth?: string | undefined;
242
- minBlockSize?: string | undefined;
243
- minHeight?: string | undefined;
244
- minInlineSize?: string | undefined;
245
- minWidth?: string | undefined;
246
- mixBlendMode?: string | undefined;
247
- objectFit?: string | undefined;
248
- objectPosition?: string | undefined;
249
- offset?: string | undefined;
250
- offsetDistance?: string | undefined;
251
- offsetPath?: string | undefined;
252
- offsetRotate?: string | undefined;
253
- opacity?: string | undefined;
254
- order?: string | undefined;
255
- orphans?: string | undefined;
256
- outline?: string | undefined;
257
- outlineColor?: string | undefined;
258
- outlineOffset?: string | undefined;
259
- outlineStyle?: string | undefined;
260
- outlineWidth?: string | undefined;
261
- overflow?: string | undefined;
262
- overflowAnchor?: string | undefined;
263
- overflowWrap?: string | undefined;
264
- overflowX?: string | undefined;
265
- overflowY?: string | undefined;
266
- overscrollBehavior?: string | undefined;
267
- overscrollBehaviorBlock?: string | undefined;
268
- overscrollBehaviorInline?: string | undefined;
269
- overscrollBehaviorX?: string | undefined;
270
- overscrollBehaviorY?: string | undefined;
271
- padding?: string | undefined;
272
- paddingBlock?: string | undefined;
273
- paddingBlockEnd?: string | undefined;
274
- paddingBlockStart?: string | undefined;
275
- paddingBottom?: string | undefined;
276
- paddingInline?: string | undefined;
277
- paddingInlineEnd?: string | undefined;
278
- paddingInlineStart?: string | undefined;
279
- paddingLeft?: string | undefined;
280
- paddingRight?: string | undefined;
281
- paddingTop?: string | undefined;
282
- pageBreakAfter?: string | undefined;
283
- pageBreakBefore?: string | undefined;
284
- pageBreakInside?: string | undefined;
285
- paintOrder?: string | undefined;
286
- parentRule?: CSSRule | null | undefined;
287
- perspective?: string | undefined;
288
- perspectiveOrigin?: string | undefined;
289
- placeContent?: string | undefined;
290
- placeItems?: string | undefined;
291
- placeSelf?: string | undefined;
292
- pointerEvents?: string | undefined;
293
- position?: string | undefined;
294
- printColorAdjust?: string | undefined;
295
- quotes?: string | undefined;
296
- resize?: string | undefined;
297
- right?: string | undefined;
298
- rotate?: string | undefined;
299
- rowGap?: string | undefined;
300
- rubyPosition?: string | undefined;
301
- scale?: string | undefined;
302
- scrollBehavior?: string | undefined;
303
- scrollMargin?: string | undefined;
304
- scrollMarginBlock?: string | undefined;
305
- scrollMarginBlockEnd?: string | undefined;
306
- scrollMarginBlockStart?: string | undefined;
307
- scrollMarginBottom?: string | undefined;
308
- scrollMarginInline?: string | undefined;
309
- scrollMarginInlineEnd?: string | undefined;
310
- scrollMarginInlineStart?: string | undefined;
311
- scrollMarginLeft?: string | undefined;
312
- scrollMarginRight?: string | undefined;
313
- scrollMarginTop?: string | undefined;
314
- scrollPadding?: string | undefined;
315
- scrollPaddingBlock?: string | undefined;
316
- scrollPaddingBlockEnd?: string | undefined;
317
- scrollPaddingBlockStart?: string | undefined;
318
- scrollPaddingBottom?: string | undefined;
319
- scrollPaddingInline?: string | undefined;
320
- scrollPaddingInlineEnd?: string | undefined;
321
- scrollPaddingInlineStart?: string | undefined;
322
- scrollPaddingLeft?: string | undefined;
323
- scrollPaddingRight?: string | undefined;
324
- scrollPaddingTop?: string | undefined;
325
- scrollSnapAlign?: string | undefined;
326
- scrollSnapStop?: string | undefined;
327
- scrollSnapType?: string | undefined;
328
- scrollbarGutter?: string | undefined;
329
- shapeImageThreshold?: string | undefined;
330
- shapeMargin?: string | undefined;
331
- shapeOutside?: string | undefined;
332
- shapeRendering?: string | undefined;
333
- stopColor?: string | undefined;
334
- stopOpacity?: string | undefined;
335
- stroke?: string | undefined;
336
- strokeDasharray?: string | undefined;
337
- strokeDashoffset?: string | undefined;
338
- strokeLinecap?: string | undefined;
339
- strokeLinejoin?: string | undefined;
340
- strokeMiterlimit?: string | undefined;
341
- strokeOpacity?: string | undefined;
342
- strokeWidth?: string | undefined;
343
- tabSize?: string | undefined;
344
- tableLayout?: string | undefined;
345
- textAlign?: string | undefined;
346
- textAlignLast?: string | undefined;
347
- textAnchor?: string | undefined;
348
- textCombineUpright?: string | undefined;
349
- textDecoration?: string | undefined;
350
- textDecorationColor?: string | undefined;
351
- textDecorationLine?: string | undefined;
352
- textDecorationSkipInk?: string | undefined;
353
- textDecorationStyle?: string | undefined;
354
- textDecorationThickness?: string | undefined;
355
- textEmphasis?: string | undefined;
356
- textEmphasisColor?: string | undefined;
357
- textEmphasisPosition?: string | undefined;
358
- textEmphasisStyle?: string | undefined;
359
- textIndent?: string | undefined;
360
- textOrientation?: string | undefined;
361
- textOverflow?: string | undefined;
362
- textRendering?: string | undefined;
363
- textShadow?: string | undefined;
364
- textTransform?: string | undefined;
365
- textUnderlineOffset?: string | undefined;
366
- textUnderlinePosition?: string | undefined;
367
- top?: string | undefined;
368
- touchAction?: string | undefined;
369
- transform?: string | undefined;
370
- transformBox?: string | undefined;
371
- transformOrigin?: string | undefined;
372
- transformStyle?: string | undefined;
373
- transition?: string | undefined;
374
- transitionDelay?: string | undefined;
375
- transitionDuration?: string | undefined;
376
- transitionProperty?: string | undefined;
377
- transitionTimingFunction?: string | undefined;
378
- translate?: string | undefined;
379
- unicodeBidi?: string | undefined;
380
- userSelect?: string | undefined;
381
- verticalAlign?: string | undefined;
382
- visibility?: string | undefined;
383
- webkitAlignContent?: string | undefined;
384
- webkitAlignItems?: string | undefined;
385
- webkitAlignSelf?: string | undefined;
386
- webkitAnimation?: string | undefined;
387
- webkitAnimationDelay?: string | undefined;
388
- webkitAnimationDirection?: string | undefined;
389
- webkitAnimationDuration?: string | undefined;
390
- webkitAnimationFillMode?: string | undefined;
391
- webkitAnimationIterationCount?: string | undefined;
392
- webkitAnimationName?: string | undefined;
393
- webkitAnimationPlayState?: string | undefined;
394
- webkitAnimationTimingFunction?: string | undefined;
395
- webkitAppearance?: string | undefined;
396
- webkitBackfaceVisibility?: string | undefined;
397
- webkitBackgroundClip?: string | undefined;
398
- webkitBackgroundOrigin?: string | undefined;
399
- webkitBackgroundSize?: string | undefined;
400
- webkitBorderBottomLeftRadius?: string | undefined;
401
- webkitBorderBottomRightRadius?: string | undefined;
402
- webkitBorderRadius?: string | undefined;
403
- webkitBorderTopLeftRadius?: string | undefined;
404
- webkitBorderTopRightRadius?: string | undefined;
405
- webkitBoxAlign?: string | undefined;
406
- webkitBoxFlex?: string | undefined;
407
- webkitBoxOrdinalGroup?: string | undefined;
408
- webkitBoxOrient?: string | undefined;
409
- webkitBoxPack?: string | undefined;
410
- webkitBoxShadow?: string | undefined;
411
- webkitBoxSizing?: string | undefined;
412
- webkitFilter?: string | undefined;
413
- webkitFlex?: string | undefined;
414
- webkitFlexBasis?: string | undefined;
415
- webkitFlexDirection?: string | undefined;
416
- webkitFlexFlow?: string | undefined;
417
- webkitFlexGrow?: string | undefined;
418
- webkitFlexShrink?: string | undefined;
419
- webkitFlexWrap?: string | undefined;
420
- webkitJustifyContent?: string | undefined;
421
- webkitLineClamp?: string | undefined;
422
- webkitMask?: string | undefined;
423
- webkitMaskBoxImage?: string | undefined;
424
- webkitMaskBoxImageOutset?: string | undefined;
425
- webkitMaskBoxImageRepeat?: string | undefined;
426
- webkitMaskBoxImageSlice?: string | undefined;
427
- webkitMaskBoxImageSource?: string | undefined;
428
- webkitMaskBoxImageWidth?: string | undefined;
429
- webkitMaskClip?: string | undefined;
430
- webkitMaskComposite?: string | undefined;
431
- webkitMaskImage?: string | undefined;
432
- webkitMaskOrigin?: string | undefined;
433
- webkitMaskPosition?: string | undefined;
434
- webkitMaskRepeat?: string | undefined;
435
- webkitMaskSize?: string | undefined;
436
- webkitOrder?: string | undefined;
437
- webkitPerspective?: string | undefined;
438
- webkitPerspectiveOrigin?: string | undefined;
439
- webkitTextFillColor?: string | undefined;
440
- webkitTextSizeAdjust?: string | undefined;
441
- webkitTextStroke?: string | undefined;
442
- webkitTextStrokeColor?: string | undefined;
443
- webkitTextStrokeWidth?: string | undefined;
444
- webkitTransform?: string | undefined;
445
- webkitTransformOrigin?: string | undefined;
446
- webkitTransformStyle?: string | undefined;
447
- webkitTransition?: string | undefined;
448
- webkitTransitionDelay?: string | undefined;
449
- webkitTransitionDuration?: string | undefined;
450
- webkitTransitionProperty?: string | undefined;
451
- webkitTransitionTimingFunction?: string | undefined;
452
- webkitUserSelect?: string | undefined;
453
- whiteSpace?: string | undefined;
454
- widows?: string | undefined;
455
- width?: string | undefined;
456
- willChange?: string | undefined;
457
- wordBreak?: string | undefined;
458
- wordSpacing?: string | undefined;
459
- wordWrap?: string | undefined;
460
- writingMode?: string | undefined;
461
- zIndex?: string | undefined;
462
- getPropertyPriority?: ((property: string) => string) | undefined;
463
- getPropertyValue?: ((property: string) => string) | undefined;
464
- item?: ((index: number) => string) | undefined;
465
- removeProperty?: ((property: string) => string) | undefined;
466
- setProperty?: ((property: string, value: string | null, priority?: string | undefined) => void) | undefined;
467
- [Symbol.iterator]?: (() => IterableIterator<string>) | undefined;
468
- };
2
+ export declare function getBlockStyles(block: BuilderBlock): Partial<CSSStyleDeclaration>;
@@ -1,4 +1,4 @@
1
1
  /**
2
2
  * No-op function, sanitize on a per-framework basis by overriding.
3
3
  */
4
- export declare const sanitizeBlockStyles: (_styles: Partial<CSSStyleDeclaration>) => void;
4
+ export declare const sanitizeBlockStyles: (styles: Partial<CSSStyleDeclaration>) => Partial<CSSStyleDeclaration>;