@developer_tribe/react-builder 1.0.2 → 1.0.3
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/AttributesEditor.d.ts +3 -1
- package/dist/RenderPage.d.ts +2 -1
- package/dist/attributes-editor/Field.d.ts +2 -1
- package/dist/attributes-editor/SpecialCategorySection.d.ts +2 -1
- package/dist/build-components/BackgroundImage/BackgroundImage.d.ts +5 -0
- package/dist/build-components/BackgroundImage/BackgroundImageProps.generated.d.ts +44 -0
- package/dist/build-components/Button/ButtonProps.generated.d.ts +7 -0
- package/dist/build-components/Carousel/CarouselProps.generated.d.ts +7 -0
- package/dist/build-components/CarouselButtons/CarouselButtonsProps.generated.d.ts +7 -0
- package/dist/build-components/CarouselDots/CarouselDotsProps.generated.d.ts +7 -0
- package/dist/build-components/CarouselItem/CarouselItemProps.generated.d.ts +7 -0
- package/dist/build-components/CarouselProvider/CarouselProviderProps.generated.d.ts +7 -0
- package/dist/build-components/Image/ImageProps.generated.d.ts +7 -0
- package/dist/build-components/Onboard/OnboardProps.generated.d.ts +7 -0
- package/dist/build-components/OnboardButton/OnboardButtonProps.generated.d.ts +7 -0
- package/dist/build-components/OnboardButtons/OnboardButtonsProps.generated.d.ts +7 -0
- package/dist/build-components/OnboardDot/OnboardDotProps.generated.d.ts +7 -0
- package/dist/build-components/OnboardFooter/OnboardFooterProps.generated.d.ts +7 -0
- package/dist/build-components/OnboardImage/OnboardImageProps.generated.d.ts +7 -0
- package/dist/build-components/OnboardItem/OnboardItemProps.generated.d.ts +7 -0
- package/dist/build-components/OnboardProvider/OnboardProviderProps.generated.d.ts +7 -1
- package/dist/build-components/OnboardSubtitle/OnboardSubtitleProps.generated.d.ts +7 -0
- package/dist/build-components/OnboardTitle/OnboardTitleProps.generated.d.ts +7 -0
- package/dist/build-components/Text/TextProps.generated.d.ts +7 -0
- package/dist/build-components/View/ViewProps.generated.d.ts +7 -0
- package/dist/build-components/index.d.ts +2 -1
- package/dist/build-components/patterns.generated.d.ts +1444 -15
- package/dist/components/AttributesEditorPanel.d.ts +3 -4
- package/dist/components/Builder.d.ts +2 -1
- package/dist/components/BuilderButton.d.ts +9 -0
- package/dist/index.cjs.js +5 -5
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.d.ts +2 -2
- package/dist/index.esm.js +5 -5
- package/dist/index.esm.js.map +1 -1
- package/dist/modals/ColorModal.d.ts +3 -1
- package/dist/pages/ProjectPage.d.ts +3 -3
- package/dist/pages/tabs/BuilderPanel.d.ts +8 -0
- package/dist/pages/tabs/{DebugTab.d.ts → SideTool.d.ts} +2 -2
- package/dist/store.d.ts +7 -1
- package/dist/styles.css +1 -1
- package/dist/types/Project.d.ts +11 -0
- package/dist/utils/analyseNode.d.ts +1 -0
- package/dist/utils/extractTextStyle.d.ts +8 -1
- package/dist/utils/extractViewStyle.d.ts +8 -1
- package/dist/utils/parseColor.d.ts +7 -0
- package/package.json +1 -1
- package/src/AttributesEditor.tsx +76 -14
- package/src/RenderPage.tsx +82 -4
- package/src/attributes-editor/Field.tsx +12 -5
- package/src/attributes-editor/SpecialCategorySection.tsx +2 -1
- package/src/build-components/BackgroundImage/BackgroundImage.tsx +87 -0
- package/src/build-components/BackgroundImage/BackgroundImageProps.generated.ts +60 -0
- package/src/build-components/BackgroundImage/pattern.json +45 -0
- package/src/build-components/Button/Button.tsx +31 -4
- package/src/build-components/Button/ButtonProps.generated.ts +7 -0
- package/src/build-components/Carousel/Carousel.tsx +27 -3
- package/src/build-components/Carousel/CarouselProps.generated.ts +7 -0
- package/src/build-components/CarouselButtons/CarouselButtons.tsx +19 -4
- package/src/build-components/CarouselButtons/CarouselButtonsProps.generated.ts +7 -0
- package/src/build-components/CarouselDots/CarouselDots.tsx +13 -4
- package/src/build-components/CarouselDots/CarouselDotsProps.generated.ts +7 -0
- package/src/build-components/CarouselItem/CarouselItem.tsx +20 -4
- package/src/build-components/CarouselItem/CarouselItemProps.generated.ts +7 -0
- package/src/build-components/CarouselProvider/CarouselProvider.tsx +14 -3
- package/src/build-components/CarouselProvider/CarouselProviderProps.generated.ts +7 -0
- package/src/build-components/Image/Image.tsx +29 -4
- package/src/build-components/Image/ImageProps.generated.ts +7 -0
- package/src/build-components/Onboard/Onboard.tsx +2 -2
- package/src/build-components/Onboard/OnboardProps.generated.ts +7 -0
- package/src/build-components/OnboardButton/OnboardButton.tsx +11 -4
- package/src/build-components/OnboardButton/OnboardButtonProps.generated.ts +7 -0
- package/src/build-components/OnboardButtons/OnboardButtons.tsx +17 -5
- package/src/build-components/OnboardButtons/OnboardButtonsProps.generated.ts +7 -0
- package/src/build-components/OnboardDot/OnboardDot.tsx +15 -6
- package/src/build-components/OnboardDot/OnboardDotProps.generated.ts +7 -0
- package/src/build-components/OnboardDot/pattern.json +1 -1
- package/src/build-components/OnboardFooter/OnboardFooter.tsx +15 -5
- package/src/build-components/OnboardFooter/OnboardFooterProps.generated.ts +7 -0
- package/src/build-components/OnboardImage/OnboardImage.tsx +28 -6
- package/src/build-components/OnboardImage/OnboardImageProps.generated.ts +7 -0
- package/src/build-components/OnboardItem/OnboardItem.tsx +14 -3
- package/src/build-components/OnboardItem/OnboardItemProps.generated.ts +7 -0
- package/src/build-components/OnboardProvider/OnboardProvider.tsx +34 -12
- package/src/build-components/OnboardProvider/OnboardProviderProps.generated.ts +7 -1
- package/src/build-components/OnboardProvider/pattern.json +0 -8
- package/src/build-components/OnboardSubtitle/OnboardSubtitleProps.generated.ts +7 -0
- package/src/build-components/OnboardSubtitle/pattern.json +1 -1
- package/src/build-components/OnboardTitle/OnboardTitleProps.generated.ts +7 -0
- package/src/build-components/OnboardTitle/pattern.json +1 -1
- package/src/build-components/RenderNode.generated.tsx +3 -0
- package/src/build-components/Text/Text.tsx +33 -9
- package/src/build-components/Text/TextProps.generated.ts +7 -0
- package/src/build-components/View/View.tsx +27 -3
- package/src/build-components/View/ViewProps.generated.ts +7 -0
- package/src/build-components/View/pattern.json +59 -1
- package/src/build-components/index.ts +5 -0
- package/src/build-components/patterns.generated.ts +1452 -15
- package/src/components/AttributesEditorPanel.tsx +13 -6
- package/src/components/Builder.tsx +140 -40
- package/src/components/BuilderButton.tsx +127 -0
- package/src/index.ts +2 -2
- package/src/mockOS/components/MockOSRouter.tsx +11 -3
- package/src/modals/ColorModal.tsx +212 -55
- package/src/pages/ProjectPage.tsx +293 -55
- package/src/pages/tabs/{BuilderTab.tsx → BuilderPanel.tsx} +13 -9
- package/src/pages/tabs/SideTool.tsx +259 -0
- package/src/size-matters/index.ts +6 -0
- package/src/store.ts +13 -1
- package/src/styles/base/_global.scss +158 -7
- package/src/styles/components/_attributes-editor.scss +12 -0
- package/src/styles/components/_editor-shell.scss +23 -0
- package/src/styles/foundation/_sizes.scss +1 -1
- package/src/styles/layout/_builder.scss +66 -10
- package/src/styles/modals/_color-modal.scss +29 -0
- package/src/types/Project.ts +14 -0
- package/src/utils/analyseNode.ts +98 -0
- package/src/utils/extractTextStyle.ts +24 -8
- package/src/utils/extractViewStyle.ts +27 -3
- package/src/utils/parseColor.ts +43 -0
- package/dist/pages/tabs/BuilderTab.d.ts +0 -9
- package/dist/pages/tabs/PreviewTab.d.ts +0 -3
- package/src/pages/tabs/DebugTab.tsx +0 -64
- package/src/pages/tabs/PreviewTab.tsx +0 -206
|
@@ -2,6 +2,349 @@
|
|
|
2
2
|
|
|
3
3
|
// Export resolved patterns (after extends resolution)
|
|
4
4
|
export const patterns = [
|
|
5
|
+
{
|
|
6
|
+
schemaVersion: 1,
|
|
7
|
+
allowUnknownAttributes: false,
|
|
8
|
+
pattern: {
|
|
9
|
+
type: 'background-image',
|
|
10
|
+
children: 'never',
|
|
11
|
+
attributes: {
|
|
12
|
+
scrollable: 'boolean',
|
|
13
|
+
flexDirection: ['row', 'column'],
|
|
14
|
+
alignItems: ['flex-start', 'center', 'flex-end', 'stretch', 'baseline'],
|
|
15
|
+
justifyContent: [
|
|
16
|
+
'flex-start',
|
|
17
|
+
'center',
|
|
18
|
+
'flex-end',
|
|
19
|
+
'space-between',
|
|
20
|
+
'space-around',
|
|
21
|
+
'space-evenly',
|
|
22
|
+
],
|
|
23
|
+
gap: 'size',
|
|
24
|
+
padding: 'size',
|
|
25
|
+
paddingHorizontal: 'size',
|
|
26
|
+
paddingVertical: 'size',
|
|
27
|
+
paddingTop: 'size',
|
|
28
|
+
paddingBottom: 'size',
|
|
29
|
+
paddingLeft: 'size',
|
|
30
|
+
paddingRight: 'size',
|
|
31
|
+
margin: 'size',
|
|
32
|
+
marginVertical: 'size',
|
|
33
|
+
marginTop: 'size',
|
|
34
|
+
marginBottom: 'size',
|
|
35
|
+
marginLeft: 'size',
|
|
36
|
+
marginRight: 'size',
|
|
37
|
+
backgroundColor: 'color',
|
|
38
|
+
borderRadius: 'size',
|
|
39
|
+
width: 'size',
|
|
40
|
+
height: 'size',
|
|
41
|
+
position: ['relative', 'absolute'],
|
|
42
|
+
top: 'size',
|
|
43
|
+
bottom: 'size',
|
|
44
|
+
left: 'size',
|
|
45
|
+
right: 'size',
|
|
46
|
+
zIndex: 'number',
|
|
47
|
+
src: 'string',
|
|
48
|
+
resizeMode: ['cover', 'contain', 'stretch', 'center'],
|
|
49
|
+
},
|
|
50
|
+
defaults: {
|
|
51
|
+
resizeMode: 'cover',
|
|
52
|
+
width: '100%',
|
|
53
|
+
height: '100%',
|
|
54
|
+
position: 'fixed',
|
|
55
|
+
top: 0,
|
|
56
|
+
left: 0,
|
|
57
|
+
right: 0,
|
|
58
|
+
bottom: 0,
|
|
59
|
+
zIndex: 0,
|
|
60
|
+
},
|
|
61
|
+
},
|
|
62
|
+
meta: {
|
|
63
|
+
desiredParent: ['all', 'background'],
|
|
64
|
+
label: 'Background Image',
|
|
65
|
+
description: 'Background image.',
|
|
66
|
+
specialCategories: {
|
|
67
|
+
padding: {
|
|
68
|
+
label: 'Padding',
|
|
69
|
+
description: 'Uniform padding on all sides.',
|
|
70
|
+
category: 'container',
|
|
71
|
+
sort: 1,
|
|
72
|
+
},
|
|
73
|
+
margin: {
|
|
74
|
+
label: 'Margin',
|
|
75
|
+
description: 'Uniform margin on all sides.',
|
|
76
|
+
category: 'container',
|
|
77
|
+
sort: 2,
|
|
78
|
+
},
|
|
79
|
+
size: {
|
|
80
|
+
label: 'Size',
|
|
81
|
+
description: 'Fixed dimensions.',
|
|
82
|
+
category: 'container',
|
|
83
|
+
sort: 3,
|
|
84
|
+
},
|
|
85
|
+
offset: {
|
|
86
|
+
label: 'Offset',
|
|
87
|
+
description: 'Absolute positioning offsets.',
|
|
88
|
+
category: 'container',
|
|
89
|
+
sort: 4,
|
|
90
|
+
},
|
|
91
|
+
},
|
|
92
|
+
attributes: {
|
|
93
|
+
scrollable: {
|
|
94
|
+
label: 'Scrollable',
|
|
95
|
+
description: 'Turns scroll interaction on.',
|
|
96
|
+
category: 'container',
|
|
97
|
+
specialCategory: null,
|
|
98
|
+
sort: -1,
|
|
99
|
+
},
|
|
100
|
+
flexDirection: {
|
|
101
|
+
label: 'Flex Direction',
|
|
102
|
+
description: 'Sets row or column layout.',
|
|
103
|
+
category: 'container',
|
|
104
|
+
specialCategory: null,
|
|
105
|
+
sort: 4,
|
|
106
|
+
},
|
|
107
|
+
alignItems: {
|
|
108
|
+
label: 'Align Items',
|
|
109
|
+
description: 'Controls cross-axis alignment.',
|
|
110
|
+
category: 'container',
|
|
111
|
+
specialCategory: null,
|
|
112
|
+
sort: 3,
|
|
113
|
+
},
|
|
114
|
+
justifyContent: {
|
|
115
|
+
label: 'Justify Content',
|
|
116
|
+
description: 'Controls main-axis alignment.',
|
|
117
|
+
category: 'container',
|
|
118
|
+
specialCategory: null,
|
|
119
|
+
sort: 5,
|
|
120
|
+
},
|
|
121
|
+
gap: {
|
|
122
|
+
label: 'Gap',
|
|
123
|
+
description: 'Space between children.',
|
|
124
|
+
category: 'container',
|
|
125
|
+
specialCategory: null,
|
|
126
|
+
sort: 10,
|
|
127
|
+
preferedScale: 's',
|
|
128
|
+
},
|
|
129
|
+
padding: {
|
|
130
|
+
label: 'Padding',
|
|
131
|
+
description: 'Uniform padding on all sides.',
|
|
132
|
+
category: 'container',
|
|
133
|
+
specialCategory: 'padding',
|
|
134
|
+
sort: 6,
|
|
135
|
+
preferedScale: 's',
|
|
136
|
+
},
|
|
137
|
+
paddingHorizontal: {
|
|
138
|
+
label: 'Padding Horizontal',
|
|
139
|
+
description: 'Left and right padding.',
|
|
140
|
+
category: 'container',
|
|
141
|
+
specialCategory: 'padding',
|
|
142
|
+
sort: 7,
|
|
143
|
+
preferedScale: 's',
|
|
144
|
+
},
|
|
145
|
+
paddingVertical: {
|
|
146
|
+
label: 'Padding Vertical',
|
|
147
|
+
description: 'Top and bottom padding.',
|
|
148
|
+
category: 'container',
|
|
149
|
+
specialCategory: 'padding',
|
|
150
|
+
sort: 8,
|
|
151
|
+
preferedScale: 'vs',
|
|
152
|
+
},
|
|
153
|
+
paddingTop: {
|
|
154
|
+
label: 'Padding Top',
|
|
155
|
+
description: 'Top padding only.',
|
|
156
|
+
category: 'container',
|
|
157
|
+
specialCategory: 'padding',
|
|
158
|
+
sort: 9,
|
|
159
|
+
preferedScale: 'vs',
|
|
160
|
+
},
|
|
161
|
+
paddingBottom: {
|
|
162
|
+
label: 'Padding Bottom',
|
|
163
|
+
description: 'Bottom padding only.',
|
|
164
|
+
category: 'container',
|
|
165
|
+
specialCategory: 'padding',
|
|
166
|
+
sort: 10,
|
|
167
|
+
preferedScale: 'vs',
|
|
168
|
+
},
|
|
169
|
+
paddingLeft: {
|
|
170
|
+
label: 'Padding Left',
|
|
171
|
+
description: 'Left padding only.',
|
|
172
|
+
category: 'container',
|
|
173
|
+
specialCategory: 'padding',
|
|
174
|
+
sort: 11,
|
|
175
|
+
preferedScale: 's',
|
|
176
|
+
},
|
|
177
|
+
paddingRight: {
|
|
178
|
+
label: 'Padding Right',
|
|
179
|
+
description: 'Right padding only.',
|
|
180
|
+
category: 'container',
|
|
181
|
+
specialCategory: 'padding',
|
|
182
|
+
sort: 12,
|
|
183
|
+
preferedScale: 's',
|
|
184
|
+
},
|
|
185
|
+
margin: {
|
|
186
|
+
label: 'Margin',
|
|
187
|
+
description: 'Uniform margin on all sides.',
|
|
188
|
+
category: 'container',
|
|
189
|
+
specialCategory: 'margin',
|
|
190
|
+
sort: 13,
|
|
191
|
+
preferedScale: 's',
|
|
192
|
+
},
|
|
193
|
+
marginHorizontal: {
|
|
194
|
+
label: 'Margin Horizontal',
|
|
195
|
+
description: 'Left and right margin.',
|
|
196
|
+
category: 'container',
|
|
197
|
+
specialCategory: 'margin',
|
|
198
|
+
sort: 14,
|
|
199
|
+
preferedScale: 's',
|
|
200
|
+
},
|
|
201
|
+
marginVertical: {
|
|
202
|
+
label: 'Margin Vertical',
|
|
203
|
+
description: 'Top and bottom margin.',
|
|
204
|
+
category: 'container',
|
|
205
|
+
specialCategory: 'margin',
|
|
206
|
+
sort: 15,
|
|
207
|
+
preferedScale: 'vs',
|
|
208
|
+
},
|
|
209
|
+
marginTop: {
|
|
210
|
+
label: 'Margin Top',
|
|
211
|
+
description: 'Top margin only.',
|
|
212
|
+
category: 'container',
|
|
213
|
+
specialCategory: 'margin',
|
|
214
|
+
sort: 16,
|
|
215
|
+
preferedScale: 'vs',
|
|
216
|
+
},
|
|
217
|
+
marginBottom: {
|
|
218
|
+
label: 'Margin Bottom',
|
|
219
|
+
description: 'Bottom margin only.',
|
|
220
|
+
category: 'container',
|
|
221
|
+
specialCategory: 'margin',
|
|
222
|
+
sort: 17,
|
|
223
|
+
preferedScale: 'vs',
|
|
224
|
+
},
|
|
225
|
+
marginLeft: {
|
|
226
|
+
label: 'Margin Left',
|
|
227
|
+
description: 'Left margin only.',
|
|
228
|
+
category: 'container',
|
|
229
|
+
specialCategory: 'margin',
|
|
230
|
+
sort: 18,
|
|
231
|
+
preferedScale: 's',
|
|
232
|
+
},
|
|
233
|
+
marginRight: {
|
|
234
|
+
label: 'Margin Right',
|
|
235
|
+
description: 'Right margin only.',
|
|
236
|
+
category: 'container',
|
|
237
|
+
specialCategory: 'margin',
|
|
238
|
+
sort: 19,
|
|
239
|
+
preferedScale: 's',
|
|
240
|
+
},
|
|
241
|
+
backgroundColor: {
|
|
242
|
+
label: 'Background Color',
|
|
243
|
+
description: 'Background fill color.',
|
|
244
|
+
category: 'style',
|
|
245
|
+
specialCategory: null,
|
|
246
|
+
sort: 20,
|
|
247
|
+
},
|
|
248
|
+
borderRadius: {
|
|
249
|
+
label: 'Border Radius',
|
|
250
|
+
description: 'Corner rounding amount.',
|
|
251
|
+
category: 'style',
|
|
252
|
+
specialCategory: null,
|
|
253
|
+
sort: 21,
|
|
254
|
+
preferedScale: 's',
|
|
255
|
+
},
|
|
256
|
+
width: {
|
|
257
|
+
label: 'Width',
|
|
258
|
+
description: 'Fixed width value.',
|
|
259
|
+
category: 'container',
|
|
260
|
+
specialCategory: 'size',
|
|
261
|
+
sort: 0,
|
|
262
|
+
preferedScale: 's',
|
|
263
|
+
},
|
|
264
|
+
height: {
|
|
265
|
+
label: 'Height',
|
|
266
|
+
description: 'Fixed height value.',
|
|
267
|
+
category: 'container',
|
|
268
|
+
specialCategory: 'size',
|
|
269
|
+
sort: 1,
|
|
270
|
+
preferedScale: 'vs',
|
|
271
|
+
},
|
|
272
|
+
position: {
|
|
273
|
+
label: 'Position',
|
|
274
|
+
description: 'Sets layout positioning mode.',
|
|
275
|
+
category: 'container',
|
|
276
|
+
specialCategory: null,
|
|
277
|
+
sort: 2,
|
|
278
|
+
},
|
|
279
|
+
top: {
|
|
280
|
+
label: 'Top',
|
|
281
|
+
description: 'Offset from the top edge.',
|
|
282
|
+
category: 'container',
|
|
283
|
+
specialCategory: 'offset',
|
|
284
|
+
sort: 22,
|
|
285
|
+
preferedScale: 'vs',
|
|
286
|
+
},
|
|
287
|
+
bottom: {
|
|
288
|
+
label: 'Bottom',
|
|
289
|
+
description: 'Offset from the bottom edge.',
|
|
290
|
+
category: 'container',
|
|
291
|
+
specialCategory: 'offset',
|
|
292
|
+
sort: 23,
|
|
293
|
+
preferedScale: 'vs',
|
|
294
|
+
},
|
|
295
|
+
left: {
|
|
296
|
+
label: 'Left',
|
|
297
|
+
description: 'Offset from the left edge.',
|
|
298
|
+
category: 'container',
|
|
299
|
+
specialCategory: 'offset',
|
|
300
|
+
sort: 24,
|
|
301
|
+
preferedScale: 's',
|
|
302
|
+
},
|
|
303
|
+
right: {
|
|
304
|
+
label: 'Right',
|
|
305
|
+
description: 'Offset from the right edge.',
|
|
306
|
+
category: 'container',
|
|
307
|
+
specialCategory: 'offset',
|
|
308
|
+
sort: 25,
|
|
309
|
+
preferedScale: 's',
|
|
310
|
+
},
|
|
311
|
+
zIndex: {
|
|
312
|
+
label: 'Z-Index',
|
|
313
|
+
description: 'Controls stacking order.',
|
|
314
|
+
category: 'container',
|
|
315
|
+
specialCategory: null,
|
|
316
|
+
sort: 26,
|
|
317
|
+
},
|
|
318
|
+
src: {
|
|
319
|
+
label: 'Src',
|
|
320
|
+
description: 'Image source URL.',
|
|
321
|
+
category: 'other',
|
|
322
|
+
specialCategory: null,
|
|
323
|
+
sort: 1,
|
|
324
|
+
},
|
|
325
|
+
resizeMode: {
|
|
326
|
+
label: 'Resize Mode',
|
|
327
|
+
description: 'How the image fits its container.',
|
|
328
|
+
category: 'style',
|
|
329
|
+
specialCategory: null,
|
|
330
|
+
sort: 4,
|
|
331
|
+
},
|
|
332
|
+
},
|
|
333
|
+
},
|
|
334
|
+
types: {},
|
|
335
|
+
defaults: {
|
|
336
|
+
resizeMode: 'cover',
|
|
337
|
+
width: '100%',
|
|
338
|
+
height: '100%',
|
|
339
|
+
position: 'fixed',
|
|
340
|
+
top: 0,
|
|
341
|
+
left: 0,
|
|
342
|
+
right: 0,
|
|
343
|
+
bottom: 0,
|
|
344
|
+
zIndex: 0,
|
|
345
|
+
flexDirection: 'column',
|
|
346
|
+
},
|
|
347
|
+
},
|
|
5
348
|
{
|
|
6
349
|
schemaVersion: 1,
|
|
7
350
|
allowUnknownAttributes: false,
|
|
@@ -38,6 +381,12 @@ export const patterns = [
|
|
|
38
381
|
borderRadius: 'size',
|
|
39
382
|
width: 'size',
|
|
40
383
|
height: 'size',
|
|
384
|
+
position: ['relative', 'absolute'],
|
|
385
|
+
top: 'size',
|
|
386
|
+
bottom: 'size',
|
|
387
|
+
left: 'size',
|
|
388
|
+
right: 'size',
|
|
389
|
+
zIndex: 'number',
|
|
41
390
|
color: 'color',
|
|
42
391
|
fontSize: 'size',
|
|
43
392
|
fontWeight: [
|
|
@@ -79,6 +428,12 @@ export const patterns = [
|
|
|
79
428
|
category: 'container',
|
|
80
429
|
sort: 3,
|
|
81
430
|
},
|
|
431
|
+
offset: {
|
|
432
|
+
label: 'Offset',
|
|
433
|
+
description: 'Absolute positioning offsets.',
|
|
434
|
+
category: 'container',
|
|
435
|
+
sort: 4,
|
|
436
|
+
},
|
|
82
437
|
},
|
|
83
438
|
attributes: {
|
|
84
439
|
scrollable: {
|
|
@@ -260,6 +615,52 @@ export const patterns = [
|
|
|
260
615
|
sort: 1,
|
|
261
616
|
preferedScale: 'vs',
|
|
262
617
|
},
|
|
618
|
+
position: {
|
|
619
|
+
label: 'Position',
|
|
620
|
+
description: 'Sets layout positioning mode.',
|
|
621
|
+
category: 'container',
|
|
622
|
+
specialCategory: null,
|
|
623
|
+
sort: 2,
|
|
624
|
+
},
|
|
625
|
+
top: {
|
|
626
|
+
label: 'Top',
|
|
627
|
+
description: 'Offset from the top edge.',
|
|
628
|
+
category: 'container',
|
|
629
|
+
specialCategory: 'offset',
|
|
630
|
+
sort: 22,
|
|
631
|
+
preferedScale: 'vs',
|
|
632
|
+
},
|
|
633
|
+
bottom: {
|
|
634
|
+
label: 'Bottom',
|
|
635
|
+
description: 'Offset from the bottom edge.',
|
|
636
|
+
category: 'container',
|
|
637
|
+
specialCategory: 'offset',
|
|
638
|
+
sort: 23,
|
|
639
|
+
preferedScale: 'vs',
|
|
640
|
+
},
|
|
641
|
+
left: {
|
|
642
|
+
label: 'Left',
|
|
643
|
+
description: 'Offset from the left edge.',
|
|
644
|
+
category: 'container',
|
|
645
|
+
specialCategory: 'offset',
|
|
646
|
+
sort: 24,
|
|
647
|
+
preferedScale: 's',
|
|
648
|
+
},
|
|
649
|
+
right: {
|
|
650
|
+
label: 'Right',
|
|
651
|
+
description: 'Offset from the right edge.',
|
|
652
|
+
category: 'container',
|
|
653
|
+
specialCategory: 'offset',
|
|
654
|
+
sort: 25,
|
|
655
|
+
preferedScale: 's',
|
|
656
|
+
},
|
|
657
|
+
zIndex: {
|
|
658
|
+
label: 'Z-Index',
|
|
659
|
+
description: 'Controls stacking order.',
|
|
660
|
+
category: 'container',
|
|
661
|
+
specialCategory: null,
|
|
662
|
+
sort: 26,
|
|
663
|
+
},
|
|
263
664
|
color: {
|
|
264
665
|
label: 'Color',
|
|
265
666
|
description: 'Text color of the button.',
|
|
@@ -322,6 +723,12 @@ export const patterns = [
|
|
|
322
723
|
borderRadius: 'size',
|
|
323
724
|
width: 'size',
|
|
324
725
|
height: 'size',
|
|
726
|
+
position: ['relative', 'absolute'],
|
|
727
|
+
top: 'size',
|
|
728
|
+
bottom: 'size',
|
|
729
|
+
left: 'size',
|
|
730
|
+
right: 'size',
|
|
731
|
+
zIndex: 'number',
|
|
325
732
|
},
|
|
326
733
|
defaults: { flexDirection: 'row' },
|
|
327
734
|
},
|
|
@@ -348,6 +755,12 @@ export const patterns = [
|
|
|
348
755
|
category: 'container',
|
|
349
756
|
sort: 3,
|
|
350
757
|
},
|
|
758
|
+
offset: {
|
|
759
|
+
label: 'Offset',
|
|
760
|
+
description: 'Absolute positioning offsets.',
|
|
761
|
+
category: 'container',
|
|
762
|
+
sort: 4,
|
|
763
|
+
},
|
|
351
764
|
},
|
|
352
765
|
attributes: {
|
|
353
766
|
scrollable: {
|
|
@@ -529,6 +942,52 @@ export const patterns = [
|
|
|
529
942
|
sort: 1,
|
|
530
943
|
preferedScale: 'vs',
|
|
531
944
|
},
|
|
945
|
+
position: {
|
|
946
|
+
label: 'Position',
|
|
947
|
+
description: 'Sets layout positioning mode.',
|
|
948
|
+
category: 'container',
|
|
949
|
+
specialCategory: null,
|
|
950
|
+
sort: 2,
|
|
951
|
+
},
|
|
952
|
+
top: {
|
|
953
|
+
label: 'Top',
|
|
954
|
+
description: 'Offset from the top edge.',
|
|
955
|
+
category: 'container',
|
|
956
|
+
specialCategory: 'offset',
|
|
957
|
+
sort: 22,
|
|
958
|
+
preferedScale: 'vs',
|
|
959
|
+
},
|
|
960
|
+
bottom: {
|
|
961
|
+
label: 'Bottom',
|
|
962
|
+
description: 'Offset from the bottom edge.',
|
|
963
|
+
category: 'container',
|
|
964
|
+
specialCategory: 'offset',
|
|
965
|
+
sort: 23,
|
|
966
|
+
preferedScale: 'vs',
|
|
967
|
+
},
|
|
968
|
+
left: {
|
|
969
|
+
label: 'Left',
|
|
970
|
+
description: 'Offset from the left edge.',
|
|
971
|
+
category: 'container',
|
|
972
|
+
specialCategory: 'offset',
|
|
973
|
+
sort: 24,
|
|
974
|
+
preferedScale: 's',
|
|
975
|
+
},
|
|
976
|
+
right: {
|
|
977
|
+
label: 'Right',
|
|
978
|
+
description: 'Offset from the right edge.',
|
|
979
|
+
category: 'container',
|
|
980
|
+
specialCategory: 'offset',
|
|
981
|
+
sort: 25,
|
|
982
|
+
preferedScale: 's',
|
|
983
|
+
},
|
|
984
|
+
zIndex: {
|
|
985
|
+
label: 'Z-Index',
|
|
986
|
+
description: 'Controls stacking order.',
|
|
987
|
+
category: 'container',
|
|
988
|
+
specialCategory: null,
|
|
989
|
+
sort: 26,
|
|
990
|
+
},
|
|
532
991
|
},
|
|
533
992
|
},
|
|
534
993
|
types: {},
|
|
@@ -570,6 +1029,12 @@ export const patterns = [
|
|
|
570
1029
|
borderRadius: 'size',
|
|
571
1030
|
width: 'size',
|
|
572
1031
|
height: 'size',
|
|
1032
|
+
position: ['relative', 'absolute'],
|
|
1033
|
+
top: 'size',
|
|
1034
|
+
bottom: 'size',
|
|
1035
|
+
left: 'size',
|
|
1036
|
+
right: 'size',
|
|
1037
|
+
zIndex: 'number',
|
|
573
1038
|
buttonType: ['previous_button', 'next_button', 'skip_button'],
|
|
574
1039
|
skipNumber: 'number',
|
|
575
1040
|
},
|
|
@@ -598,6 +1063,12 @@ export const patterns = [
|
|
|
598
1063
|
category: 'container',
|
|
599
1064
|
sort: 3,
|
|
600
1065
|
},
|
|
1066
|
+
offset: {
|
|
1067
|
+
label: 'Offset',
|
|
1068
|
+
description: 'Absolute positioning offsets.',
|
|
1069
|
+
category: 'container',
|
|
1070
|
+
sort: 4,
|
|
1071
|
+
},
|
|
601
1072
|
},
|
|
602
1073
|
attributes: {
|
|
603
1074
|
scrollable: {
|
|
@@ -779,6 +1250,52 @@ export const patterns = [
|
|
|
779
1250
|
sort: 1,
|
|
780
1251
|
preferedScale: 'vs',
|
|
781
1252
|
},
|
|
1253
|
+
position: {
|
|
1254
|
+
label: 'Position',
|
|
1255
|
+
description: 'Sets layout positioning mode.',
|
|
1256
|
+
category: 'container',
|
|
1257
|
+
specialCategory: null,
|
|
1258
|
+
sort: 2,
|
|
1259
|
+
},
|
|
1260
|
+
top: {
|
|
1261
|
+
label: 'Top',
|
|
1262
|
+
description: 'Offset from the top edge.',
|
|
1263
|
+
category: 'container',
|
|
1264
|
+
specialCategory: 'offset',
|
|
1265
|
+
sort: 22,
|
|
1266
|
+
preferedScale: 'vs',
|
|
1267
|
+
},
|
|
1268
|
+
bottom: {
|
|
1269
|
+
label: 'Bottom',
|
|
1270
|
+
description: 'Offset from the bottom edge.',
|
|
1271
|
+
category: 'container',
|
|
1272
|
+
specialCategory: 'offset',
|
|
1273
|
+
sort: 23,
|
|
1274
|
+
preferedScale: 'vs',
|
|
1275
|
+
},
|
|
1276
|
+
left: {
|
|
1277
|
+
label: 'Left',
|
|
1278
|
+
description: 'Offset from the left edge.',
|
|
1279
|
+
category: 'container',
|
|
1280
|
+
specialCategory: 'offset',
|
|
1281
|
+
sort: 24,
|
|
1282
|
+
preferedScale: 's',
|
|
1283
|
+
},
|
|
1284
|
+
right: {
|
|
1285
|
+
label: 'Right',
|
|
1286
|
+
description: 'Offset from the right edge.',
|
|
1287
|
+
category: 'container',
|
|
1288
|
+
specialCategory: 'offset',
|
|
1289
|
+
sort: 25,
|
|
1290
|
+
preferedScale: 's',
|
|
1291
|
+
},
|
|
1292
|
+
zIndex: {
|
|
1293
|
+
label: 'Z-Index',
|
|
1294
|
+
description: 'Controls stacking order.',
|
|
1295
|
+
category: 'container',
|
|
1296
|
+
specialCategory: null,
|
|
1297
|
+
sort: 26,
|
|
1298
|
+
},
|
|
782
1299
|
buttonType: {
|
|
783
1300
|
label: 'Button Type',
|
|
784
1301
|
description: 'Which carousel button to show.',
|
|
@@ -834,6 +1351,12 @@ export const patterns = [
|
|
|
834
1351
|
borderRadius: 'size',
|
|
835
1352
|
width: 'size',
|
|
836
1353
|
height: 'size',
|
|
1354
|
+
position: ['relative', 'absolute'],
|
|
1355
|
+
top: 'size',
|
|
1356
|
+
bottom: 'size',
|
|
1357
|
+
left: 'size',
|
|
1358
|
+
right: 'size',
|
|
1359
|
+
zIndex: 'number',
|
|
837
1360
|
dotType: [
|
|
838
1361
|
'expanding_dot',
|
|
839
1362
|
'normal_dot',
|
|
@@ -868,6 +1391,12 @@ export const patterns = [
|
|
|
868
1391
|
category: 'container',
|
|
869
1392
|
sort: 3,
|
|
870
1393
|
},
|
|
1394
|
+
offset: {
|
|
1395
|
+
label: 'Offset',
|
|
1396
|
+
description: 'Absolute positioning offsets.',
|
|
1397
|
+
category: 'container',
|
|
1398
|
+
sort: 4,
|
|
1399
|
+
},
|
|
871
1400
|
},
|
|
872
1401
|
attributes: {
|
|
873
1402
|
scrollable: {
|
|
@@ -1049,6 +1578,52 @@ export const patterns = [
|
|
|
1049
1578
|
sort: 1,
|
|
1050
1579
|
preferedScale: 'vs',
|
|
1051
1580
|
},
|
|
1581
|
+
position: {
|
|
1582
|
+
label: 'Position',
|
|
1583
|
+
description: 'Sets layout positioning mode.',
|
|
1584
|
+
category: 'container',
|
|
1585
|
+
specialCategory: null,
|
|
1586
|
+
sort: 2,
|
|
1587
|
+
},
|
|
1588
|
+
top: {
|
|
1589
|
+
label: 'Top',
|
|
1590
|
+
description: 'Offset from the top edge.',
|
|
1591
|
+
category: 'container',
|
|
1592
|
+
specialCategory: 'offset',
|
|
1593
|
+
sort: 22,
|
|
1594
|
+
preferedScale: 'vs',
|
|
1595
|
+
},
|
|
1596
|
+
bottom: {
|
|
1597
|
+
label: 'Bottom',
|
|
1598
|
+
description: 'Offset from the bottom edge.',
|
|
1599
|
+
category: 'container',
|
|
1600
|
+
specialCategory: 'offset',
|
|
1601
|
+
sort: 23,
|
|
1602
|
+
preferedScale: 'vs',
|
|
1603
|
+
},
|
|
1604
|
+
left: {
|
|
1605
|
+
label: 'Left',
|
|
1606
|
+
description: 'Offset from the left edge.',
|
|
1607
|
+
category: 'container',
|
|
1608
|
+
specialCategory: 'offset',
|
|
1609
|
+
sort: 24,
|
|
1610
|
+
preferedScale: 's',
|
|
1611
|
+
},
|
|
1612
|
+
right: {
|
|
1613
|
+
label: 'Right',
|
|
1614
|
+
description: 'Offset from the right edge.',
|
|
1615
|
+
category: 'container',
|
|
1616
|
+
specialCategory: 'offset',
|
|
1617
|
+
sort: 25,
|
|
1618
|
+
preferedScale: 's',
|
|
1619
|
+
},
|
|
1620
|
+
zIndex: {
|
|
1621
|
+
label: 'Z-Index',
|
|
1622
|
+
description: 'Controls stacking order.',
|
|
1623
|
+
category: 'container',
|
|
1624
|
+
specialCategory: null,
|
|
1625
|
+
sort: 26,
|
|
1626
|
+
},
|
|
1052
1627
|
dotType: {
|
|
1053
1628
|
label: 'Dot Type',
|
|
1054
1629
|
description: 'Style used for the dots.',
|
|
@@ -1097,6 +1672,12 @@ export const patterns = [
|
|
|
1097
1672
|
borderRadius: 'size',
|
|
1098
1673
|
width: 'size',
|
|
1099
1674
|
height: 'size',
|
|
1675
|
+
position: ['relative', 'absolute'],
|
|
1676
|
+
top: 'size',
|
|
1677
|
+
bottom: 'size',
|
|
1678
|
+
left: 'size',
|
|
1679
|
+
right: 'size',
|
|
1680
|
+
zIndex: 'number',
|
|
1100
1681
|
},
|
|
1101
1682
|
defaults: { flexDirection: 'column' },
|
|
1102
1683
|
},
|
|
@@ -1123,6 +1704,12 @@ export const patterns = [
|
|
|
1123
1704
|
category: 'container',
|
|
1124
1705
|
sort: 3,
|
|
1125
1706
|
},
|
|
1707
|
+
offset: {
|
|
1708
|
+
label: 'Offset',
|
|
1709
|
+
description: 'Absolute positioning offsets.',
|
|
1710
|
+
category: 'container',
|
|
1711
|
+
sort: 4,
|
|
1712
|
+
},
|
|
1126
1713
|
},
|
|
1127
1714
|
attributes: {
|
|
1128
1715
|
scrollable: {
|
|
@@ -1304,6 +1891,52 @@ export const patterns = [
|
|
|
1304
1891
|
sort: 1,
|
|
1305
1892
|
preferedScale: 'vs',
|
|
1306
1893
|
},
|
|
1894
|
+
position: {
|
|
1895
|
+
label: 'Position',
|
|
1896
|
+
description: 'Sets layout positioning mode.',
|
|
1897
|
+
category: 'container',
|
|
1898
|
+
specialCategory: null,
|
|
1899
|
+
sort: 2,
|
|
1900
|
+
},
|
|
1901
|
+
top: {
|
|
1902
|
+
label: 'Top',
|
|
1903
|
+
description: 'Offset from the top edge.',
|
|
1904
|
+
category: 'container',
|
|
1905
|
+
specialCategory: 'offset',
|
|
1906
|
+
sort: 22,
|
|
1907
|
+
preferedScale: 'vs',
|
|
1908
|
+
},
|
|
1909
|
+
bottom: {
|
|
1910
|
+
label: 'Bottom',
|
|
1911
|
+
description: 'Offset from the bottom edge.',
|
|
1912
|
+
category: 'container',
|
|
1913
|
+
specialCategory: 'offset',
|
|
1914
|
+
sort: 23,
|
|
1915
|
+
preferedScale: 'vs',
|
|
1916
|
+
},
|
|
1917
|
+
left: {
|
|
1918
|
+
label: 'Left',
|
|
1919
|
+
description: 'Offset from the left edge.',
|
|
1920
|
+
category: 'container',
|
|
1921
|
+
specialCategory: 'offset',
|
|
1922
|
+
sort: 24,
|
|
1923
|
+
preferedScale: 's',
|
|
1924
|
+
},
|
|
1925
|
+
right: {
|
|
1926
|
+
label: 'Right',
|
|
1927
|
+
description: 'Offset from the right edge.',
|
|
1928
|
+
category: 'container',
|
|
1929
|
+
specialCategory: 'offset',
|
|
1930
|
+
sort: 25,
|
|
1931
|
+
preferedScale: 's',
|
|
1932
|
+
},
|
|
1933
|
+
zIndex: {
|
|
1934
|
+
label: 'Z-Index',
|
|
1935
|
+
description: 'Controls stacking order.',
|
|
1936
|
+
category: 'container',
|
|
1937
|
+
specialCategory: null,
|
|
1938
|
+
sort: 26,
|
|
1939
|
+
},
|
|
1307
1940
|
},
|
|
1308
1941
|
},
|
|
1309
1942
|
types: {},
|
|
@@ -1345,6 +1978,12 @@ export const patterns = [
|
|
|
1345
1978
|
borderRadius: 'size',
|
|
1346
1979
|
width: 'size',
|
|
1347
1980
|
height: 'size',
|
|
1981
|
+
position: ['relative', 'absolute'],
|
|
1982
|
+
top: 'size',
|
|
1983
|
+
bottom: 'size',
|
|
1984
|
+
left: 'size',
|
|
1985
|
+
right: 'size',
|
|
1986
|
+
zIndex: 'number',
|
|
1348
1987
|
},
|
|
1349
1988
|
defaults: { flexDirection: 'column' },
|
|
1350
1989
|
},
|
|
@@ -1371,6 +2010,12 @@ export const patterns = [
|
|
|
1371
2010
|
category: 'container',
|
|
1372
2011
|
sort: 3,
|
|
1373
2012
|
},
|
|
2013
|
+
offset: {
|
|
2014
|
+
label: 'Offset',
|
|
2015
|
+
description: 'Absolute positioning offsets.',
|
|
2016
|
+
category: 'container',
|
|
2017
|
+
sort: 4,
|
|
2018
|
+
},
|
|
1374
2019
|
},
|
|
1375
2020
|
attributes: {
|
|
1376
2021
|
scrollable: {
|
|
@@ -1552,6 +2197,52 @@ export const patterns = [
|
|
|
1552
2197
|
sort: 1,
|
|
1553
2198
|
preferedScale: 'vs',
|
|
1554
2199
|
},
|
|
2200
|
+
position: {
|
|
2201
|
+
label: 'Position',
|
|
2202
|
+
description: 'Sets layout positioning mode.',
|
|
2203
|
+
category: 'container',
|
|
2204
|
+
specialCategory: null,
|
|
2205
|
+
sort: 2,
|
|
2206
|
+
},
|
|
2207
|
+
top: {
|
|
2208
|
+
label: 'Top',
|
|
2209
|
+
description: 'Offset from the top edge.',
|
|
2210
|
+
category: 'container',
|
|
2211
|
+
specialCategory: 'offset',
|
|
2212
|
+
sort: 22,
|
|
2213
|
+
preferedScale: 'vs',
|
|
2214
|
+
},
|
|
2215
|
+
bottom: {
|
|
2216
|
+
label: 'Bottom',
|
|
2217
|
+
description: 'Offset from the bottom edge.',
|
|
2218
|
+
category: 'container',
|
|
2219
|
+
specialCategory: 'offset',
|
|
2220
|
+
sort: 23,
|
|
2221
|
+
preferedScale: 'vs',
|
|
2222
|
+
},
|
|
2223
|
+
left: {
|
|
2224
|
+
label: 'Left',
|
|
2225
|
+
description: 'Offset from the left edge.',
|
|
2226
|
+
category: 'container',
|
|
2227
|
+
specialCategory: 'offset',
|
|
2228
|
+
sort: 24,
|
|
2229
|
+
preferedScale: 's',
|
|
2230
|
+
},
|
|
2231
|
+
right: {
|
|
2232
|
+
label: 'Right',
|
|
2233
|
+
description: 'Offset from the right edge.',
|
|
2234
|
+
category: 'container',
|
|
2235
|
+
specialCategory: 'offset',
|
|
2236
|
+
sort: 25,
|
|
2237
|
+
preferedScale: 's',
|
|
2238
|
+
},
|
|
2239
|
+
zIndex: {
|
|
2240
|
+
label: 'Z-Index',
|
|
2241
|
+
description: 'Controls stacking order.',
|
|
2242
|
+
category: 'container',
|
|
2243
|
+
specialCategory: null,
|
|
2244
|
+
sort: 26,
|
|
2245
|
+
},
|
|
1555
2246
|
},
|
|
1556
2247
|
},
|
|
1557
2248
|
types: {},
|
|
@@ -1593,6 +2284,12 @@ export const patterns = [
|
|
|
1593
2284
|
borderRadius: 'size',
|
|
1594
2285
|
width: 'size',
|
|
1595
2286
|
height: 'size',
|
|
2287
|
+
position: ['relative', 'absolute'],
|
|
2288
|
+
top: 'size',
|
|
2289
|
+
bottom: 'size',
|
|
2290
|
+
left: 'size',
|
|
2291
|
+
right: 'size',
|
|
2292
|
+
zIndex: 'number',
|
|
1596
2293
|
src: 'string',
|
|
1597
2294
|
resizeMode: ['cover', 'contain', 'stretch', 'center'],
|
|
1598
2295
|
},
|
|
@@ -1621,6 +2318,12 @@ export const patterns = [
|
|
|
1621
2318
|
category: 'container',
|
|
1622
2319
|
sort: 3,
|
|
1623
2320
|
},
|
|
2321
|
+
offset: {
|
|
2322
|
+
label: 'Offset',
|
|
2323
|
+
description: 'Absolute positioning offsets.',
|
|
2324
|
+
category: 'container',
|
|
2325
|
+
sort: 4,
|
|
2326
|
+
},
|
|
1624
2327
|
},
|
|
1625
2328
|
attributes: {
|
|
1626
2329
|
scrollable: {
|
|
@@ -1799,6 +2502,52 @@ export const patterns = [
|
|
|
1799
2502
|
specialCategory: null,
|
|
1800
2503
|
sort: 3,
|
|
1801
2504
|
},
|
|
2505
|
+
position: {
|
|
2506
|
+
label: 'Position',
|
|
2507
|
+
description: 'Sets layout positioning mode.',
|
|
2508
|
+
category: 'container',
|
|
2509
|
+
specialCategory: null,
|
|
2510
|
+
sort: 2,
|
|
2511
|
+
},
|
|
2512
|
+
top: {
|
|
2513
|
+
label: 'Top',
|
|
2514
|
+
description: 'Offset from the top edge.',
|
|
2515
|
+
category: 'container',
|
|
2516
|
+
specialCategory: 'offset',
|
|
2517
|
+
sort: 22,
|
|
2518
|
+
preferedScale: 'vs',
|
|
2519
|
+
},
|
|
2520
|
+
bottom: {
|
|
2521
|
+
label: 'Bottom',
|
|
2522
|
+
description: 'Offset from the bottom edge.',
|
|
2523
|
+
category: 'container',
|
|
2524
|
+
specialCategory: 'offset',
|
|
2525
|
+
sort: 23,
|
|
2526
|
+
preferedScale: 'vs',
|
|
2527
|
+
},
|
|
2528
|
+
left: {
|
|
2529
|
+
label: 'Left',
|
|
2530
|
+
description: 'Offset from the left edge.',
|
|
2531
|
+
category: 'container',
|
|
2532
|
+
specialCategory: 'offset',
|
|
2533
|
+
sort: 24,
|
|
2534
|
+
preferedScale: 's',
|
|
2535
|
+
},
|
|
2536
|
+
right: {
|
|
2537
|
+
label: 'Right',
|
|
2538
|
+
description: 'Offset from the right edge.',
|
|
2539
|
+
category: 'container',
|
|
2540
|
+
specialCategory: 'offset',
|
|
2541
|
+
sort: 25,
|
|
2542
|
+
preferedScale: 's',
|
|
2543
|
+
},
|
|
2544
|
+
zIndex: {
|
|
2545
|
+
label: 'Z-Index',
|
|
2546
|
+
description: 'Controls stacking order.',
|
|
2547
|
+
category: 'container',
|
|
2548
|
+
specialCategory: null,
|
|
2549
|
+
sort: 26,
|
|
2550
|
+
},
|
|
1802
2551
|
src: {
|
|
1803
2552
|
label: 'Src',
|
|
1804
2553
|
description: 'Image source URL.',
|
|
@@ -1854,6 +2603,12 @@ export const patterns = [
|
|
|
1854
2603
|
borderRadius: 'size',
|
|
1855
2604
|
width: 'size',
|
|
1856
2605
|
height: 'size',
|
|
2606
|
+
position: ['relative', 'absolute'],
|
|
2607
|
+
top: 'size',
|
|
2608
|
+
bottom: 'size',
|
|
2609
|
+
left: 'size',
|
|
2610
|
+
right: 'size',
|
|
2611
|
+
zIndex: 'number',
|
|
1857
2612
|
},
|
|
1858
2613
|
defaults: { flexDirection: 'row' },
|
|
1859
2614
|
},
|
|
@@ -1880,6 +2635,12 @@ export const patterns = [
|
|
|
1880
2635
|
category: 'container',
|
|
1881
2636
|
sort: 3,
|
|
1882
2637
|
},
|
|
2638
|
+
offset: {
|
|
2639
|
+
label: 'Offset',
|
|
2640
|
+
description: 'Absolute positioning offsets.',
|
|
2641
|
+
category: 'container',
|
|
2642
|
+
sort: 4,
|
|
2643
|
+
},
|
|
1883
2644
|
},
|
|
1884
2645
|
attributes: {
|
|
1885
2646
|
scrollable: {
|
|
@@ -2053,13 +2814,59 @@ export const patterns = [
|
|
|
2053
2814
|
sort: 0,
|
|
2054
2815
|
preferedScale: 's',
|
|
2055
2816
|
},
|
|
2056
|
-
height: {
|
|
2057
|
-
label: 'Height',
|
|
2058
|
-
description: 'Fixed height value.',
|
|
2817
|
+
height: {
|
|
2818
|
+
label: 'Height',
|
|
2819
|
+
description: 'Fixed height value.',
|
|
2820
|
+
category: 'container',
|
|
2821
|
+
specialCategory: 'size',
|
|
2822
|
+
sort: 1,
|
|
2823
|
+
preferedScale: 'vs',
|
|
2824
|
+
},
|
|
2825
|
+
position: {
|
|
2826
|
+
label: 'Position',
|
|
2827
|
+
description: 'Sets layout positioning mode.',
|
|
2828
|
+
category: 'container',
|
|
2829
|
+
specialCategory: null,
|
|
2830
|
+
sort: 2,
|
|
2831
|
+
},
|
|
2832
|
+
top: {
|
|
2833
|
+
label: 'Top',
|
|
2834
|
+
description: 'Offset from the top edge.',
|
|
2835
|
+
category: 'container',
|
|
2836
|
+
specialCategory: 'offset',
|
|
2837
|
+
sort: 22,
|
|
2838
|
+
preferedScale: 'vs',
|
|
2839
|
+
},
|
|
2840
|
+
bottom: {
|
|
2841
|
+
label: 'Bottom',
|
|
2842
|
+
description: 'Offset from the bottom edge.',
|
|
2843
|
+
category: 'container',
|
|
2844
|
+
specialCategory: 'offset',
|
|
2845
|
+
sort: 23,
|
|
2846
|
+
preferedScale: 'vs',
|
|
2847
|
+
},
|
|
2848
|
+
left: {
|
|
2849
|
+
label: 'Left',
|
|
2850
|
+
description: 'Offset from the left edge.',
|
|
2851
|
+
category: 'container',
|
|
2852
|
+
specialCategory: 'offset',
|
|
2853
|
+
sort: 24,
|
|
2854
|
+
preferedScale: 's',
|
|
2855
|
+
},
|
|
2856
|
+
right: {
|
|
2857
|
+
label: 'Right',
|
|
2858
|
+
description: 'Offset from the right edge.',
|
|
2859
|
+
category: 'container',
|
|
2860
|
+
specialCategory: 'offset',
|
|
2861
|
+
sort: 25,
|
|
2862
|
+
preferedScale: 's',
|
|
2863
|
+
},
|
|
2864
|
+
zIndex: {
|
|
2865
|
+
label: 'Z-Index',
|
|
2866
|
+
description: 'Controls stacking order.',
|
|
2059
2867
|
category: 'container',
|
|
2060
|
-
specialCategory:
|
|
2061
|
-
sort:
|
|
2062
|
-
preferedScale: 'vs',
|
|
2868
|
+
specialCategory: null,
|
|
2869
|
+
sort: 26,
|
|
2063
2870
|
},
|
|
2064
2871
|
},
|
|
2065
2872
|
desiredChildren: ['=OnboardItem'],
|
|
@@ -2103,6 +2910,12 @@ export const patterns = [
|
|
|
2103
2910
|
borderRadius: 'size',
|
|
2104
2911
|
width: 'size',
|
|
2105
2912
|
height: 'size',
|
|
2913
|
+
position: ['relative', 'absolute'],
|
|
2914
|
+
top: 'size',
|
|
2915
|
+
bottom: 'size',
|
|
2916
|
+
left: 'size',
|
|
2917
|
+
right: 'size',
|
|
2918
|
+
zIndex: 'number',
|
|
2106
2919
|
labelKey: 'string',
|
|
2107
2920
|
button_text_color: 'color',
|
|
2108
2921
|
animation: [
|
|
@@ -2142,6 +2955,12 @@ export const patterns = [
|
|
|
2142
2955
|
category: 'container',
|
|
2143
2956
|
sort: 3,
|
|
2144
2957
|
},
|
|
2958
|
+
offset: {
|
|
2959
|
+
label: 'Offset',
|
|
2960
|
+
description: 'Absolute positioning offsets.',
|
|
2961
|
+
category: 'container',
|
|
2962
|
+
sort: 4,
|
|
2963
|
+
},
|
|
2145
2964
|
},
|
|
2146
2965
|
attributes: {
|
|
2147
2966
|
scrollable: {
|
|
@@ -2323,6 +3142,52 @@ export const patterns = [
|
|
|
2323
3142
|
sort: 1,
|
|
2324
3143
|
preferedScale: 'vs',
|
|
2325
3144
|
},
|
|
3145
|
+
position: {
|
|
3146
|
+
label: 'Position',
|
|
3147
|
+
description: 'Sets layout positioning mode.',
|
|
3148
|
+
category: 'container',
|
|
3149
|
+
specialCategory: null,
|
|
3150
|
+
sort: 2,
|
|
3151
|
+
},
|
|
3152
|
+
top: {
|
|
3153
|
+
label: 'Top',
|
|
3154
|
+
description: 'Offset from the top edge.',
|
|
3155
|
+
category: 'container',
|
|
3156
|
+
specialCategory: 'offset',
|
|
3157
|
+
sort: 22,
|
|
3158
|
+
preferedScale: 'vs',
|
|
3159
|
+
},
|
|
3160
|
+
bottom: {
|
|
3161
|
+
label: 'Bottom',
|
|
3162
|
+
description: 'Offset from the bottom edge.',
|
|
3163
|
+
category: 'container',
|
|
3164
|
+
specialCategory: 'offset',
|
|
3165
|
+
sort: 23,
|
|
3166
|
+
preferedScale: 'vs',
|
|
3167
|
+
},
|
|
3168
|
+
left: {
|
|
3169
|
+
label: 'Left',
|
|
3170
|
+
description: 'Offset from the left edge.',
|
|
3171
|
+
category: 'container',
|
|
3172
|
+
specialCategory: 'offset',
|
|
3173
|
+
sort: 24,
|
|
3174
|
+
preferedScale: 's',
|
|
3175
|
+
},
|
|
3176
|
+
right: {
|
|
3177
|
+
label: 'Right',
|
|
3178
|
+
description: 'Offset from the right edge.',
|
|
3179
|
+
category: 'container',
|
|
3180
|
+
specialCategory: 'offset',
|
|
3181
|
+
sort: 25,
|
|
3182
|
+
preferedScale: 's',
|
|
3183
|
+
},
|
|
3184
|
+
zIndex: {
|
|
3185
|
+
label: 'Z-Index',
|
|
3186
|
+
description: 'Controls stacking order.',
|
|
3187
|
+
category: 'container',
|
|
3188
|
+
specialCategory: null,
|
|
3189
|
+
sort: 26,
|
|
3190
|
+
},
|
|
2326
3191
|
labelKey: {
|
|
2327
3192
|
label: 'Label Key',
|
|
2328
3193
|
description: 'Localization key for the button text.',
|
|
@@ -2420,6 +3285,12 @@ export const patterns = [
|
|
|
2420
3285
|
borderRadius: 'size',
|
|
2421
3286
|
width: 'size',
|
|
2422
3287
|
height: 'size',
|
|
3288
|
+
position: ['relative', 'absolute'],
|
|
3289
|
+
top: 'size',
|
|
3290
|
+
bottom: 'size',
|
|
3291
|
+
left: 'size',
|
|
3292
|
+
right: 'size',
|
|
3293
|
+
zIndex: 'number',
|
|
2423
3294
|
buttonType: ['previous_button', 'next_button', 'skip_button'],
|
|
2424
3295
|
skipNumber: 'number',
|
|
2425
3296
|
buttons_direction: ['row', 'column'],
|
|
@@ -2453,6 +3324,12 @@ export const patterns = [
|
|
|
2453
3324
|
category: 'container',
|
|
2454
3325
|
sort: 3,
|
|
2455
3326
|
},
|
|
3327
|
+
offset: {
|
|
3328
|
+
label: 'Offset',
|
|
3329
|
+
description: 'Absolute positioning offsets.',
|
|
3330
|
+
category: 'container',
|
|
3331
|
+
sort: 4,
|
|
3332
|
+
},
|
|
2456
3333
|
},
|
|
2457
3334
|
attributes: {
|
|
2458
3335
|
scrollable: {
|
|
@@ -2634,6 +3511,52 @@ export const patterns = [
|
|
|
2634
3511
|
sort: 1,
|
|
2635
3512
|
preferedScale: 'vs',
|
|
2636
3513
|
},
|
|
3514
|
+
position: {
|
|
3515
|
+
label: 'Position',
|
|
3516
|
+
description: 'Sets layout positioning mode.',
|
|
3517
|
+
category: 'container',
|
|
3518
|
+
specialCategory: null,
|
|
3519
|
+
sort: 2,
|
|
3520
|
+
},
|
|
3521
|
+
top: {
|
|
3522
|
+
label: 'Top',
|
|
3523
|
+
description: 'Offset from the top edge.',
|
|
3524
|
+
category: 'container',
|
|
3525
|
+
specialCategory: 'offset',
|
|
3526
|
+
sort: 22,
|
|
3527
|
+
preferedScale: 'vs',
|
|
3528
|
+
},
|
|
3529
|
+
bottom: {
|
|
3530
|
+
label: 'Bottom',
|
|
3531
|
+
description: 'Offset from the bottom edge.',
|
|
3532
|
+
category: 'container',
|
|
3533
|
+
specialCategory: 'offset',
|
|
3534
|
+
sort: 23,
|
|
3535
|
+
preferedScale: 'vs',
|
|
3536
|
+
},
|
|
3537
|
+
left: {
|
|
3538
|
+
label: 'Left',
|
|
3539
|
+
description: 'Offset from the left edge.',
|
|
3540
|
+
category: 'container',
|
|
3541
|
+
specialCategory: 'offset',
|
|
3542
|
+
sort: 24,
|
|
3543
|
+
preferedScale: 's',
|
|
3544
|
+
},
|
|
3545
|
+
right: {
|
|
3546
|
+
label: 'Right',
|
|
3547
|
+
description: 'Offset from the right edge.',
|
|
3548
|
+
category: 'container',
|
|
3549
|
+
specialCategory: 'offset',
|
|
3550
|
+
sort: 25,
|
|
3551
|
+
preferedScale: 's',
|
|
3552
|
+
},
|
|
3553
|
+
zIndex: {
|
|
3554
|
+
label: 'Z-Index',
|
|
3555
|
+
description: 'Controls stacking order.',
|
|
3556
|
+
category: 'container',
|
|
3557
|
+
specialCategory: null,
|
|
3558
|
+
sort: 26,
|
|
3559
|
+
},
|
|
2637
3560
|
buttonType: {
|
|
2638
3561
|
label: 'Button Type',
|
|
2639
3562
|
description: 'Which onboard button to show.',
|
|
@@ -2693,7 +3616,7 @@ export const patterns = [
|
|
|
2693
3616
|
allowUnknownAttributes: false,
|
|
2694
3617
|
pattern: {
|
|
2695
3618
|
type: 'OnboardDot',
|
|
2696
|
-
children: '
|
|
3619
|
+
children: 'never',
|
|
2697
3620
|
attributes: {
|
|
2698
3621
|
scrollable: 'boolean',
|
|
2699
3622
|
flexDirection: 'never',
|
|
@@ -2717,6 +3640,12 @@ export const patterns = [
|
|
|
2717
3640
|
borderRadius: 'size',
|
|
2718
3641
|
width: 'size',
|
|
2719
3642
|
height: 'size',
|
|
3643
|
+
position: ['relative', 'absolute'],
|
|
3644
|
+
top: 'size',
|
|
3645
|
+
bottom: 'size',
|
|
3646
|
+
left: 'size',
|
|
3647
|
+
right: 'size',
|
|
3648
|
+
zIndex: 'number',
|
|
2720
3649
|
dotType: [
|
|
2721
3650
|
'expanding_dot',
|
|
2722
3651
|
'normal_dot',
|
|
@@ -2756,6 +3685,12 @@ export const patterns = [
|
|
|
2756
3685
|
category: 'container',
|
|
2757
3686
|
sort: 3,
|
|
2758
3687
|
},
|
|
3688
|
+
offset: {
|
|
3689
|
+
label: 'Offset',
|
|
3690
|
+
description: 'Absolute positioning offsets.',
|
|
3691
|
+
category: 'container',
|
|
3692
|
+
sort: 4,
|
|
3693
|
+
},
|
|
2759
3694
|
},
|
|
2760
3695
|
attributes: {
|
|
2761
3696
|
scrollable: {
|
|
@@ -2937,6 +3872,52 @@ export const patterns = [
|
|
|
2937
3872
|
sort: 1,
|
|
2938
3873
|
preferedScale: 'vs',
|
|
2939
3874
|
},
|
|
3875
|
+
position: {
|
|
3876
|
+
label: 'Position',
|
|
3877
|
+
description: 'Sets layout positioning mode.',
|
|
3878
|
+
category: 'container',
|
|
3879
|
+
specialCategory: null,
|
|
3880
|
+
sort: 2,
|
|
3881
|
+
},
|
|
3882
|
+
top: {
|
|
3883
|
+
label: 'Top',
|
|
3884
|
+
description: 'Offset from the top edge.',
|
|
3885
|
+
category: 'container',
|
|
3886
|
+
specialCategory: 'offset',
|
|
3887
|
+
sort: 22,
|
|
3888
|
+
preferedScale: 'vs',
|
|
3889
|
+
},
|
|
3890
|
+
bottom: {
|
|
3891
|
+
label: 'Bottom',
|
|
3892
|
+
description: 'Offset from the bottom edge.',
|
|
3893
|
+
category: 'container',
|
|
3894
|
+
specialCategory: 'offset',
|
|
3895
|
+
sort: 23,
|
|
3896
|
+
preferedScale: 'vs',
|
|
3897
|
+
},
|
|
3898
|
+
left: {
|
|
3899
|
+
label: 'Left',
|
|
3900
|
+
description: 'Offset from the left edge.',
|
|
3901
|
+
category: 'container',
|
|
3902
|
+
specialCategory: 'offset',
|
|
3903
|
+
sort: 24,
|
|
3904
|
+
preferedScale: 's',
|
|
3905
|
+
},
|
|
3906
|
+
right: {
|
|
3907
|
+
label: 'Right',
|
|
3908
|
+
description: 'Offset from the right edge.',
|
|
3909
|
+
category: 'container',
|
|
3910
|
+
specialCategory: 'offset',
|
|
3911
|
+
sort: 25,
|
|
3912
|
+
preferedScale: 's',
|
|
3913
|
+
},
|
|
3914
|
+
zIndex: {
|
|
3915
|
+
label: 'Z-Index',
|
|
3916
|
+
description: 'Controls stacking order.',
|
|
3917
|
+
category: 'container',
|
|
3918
|
+
specialCategory: null,
|
|
3919
|
+
sort: 26,
|
|
3920
|
+
},
|
|
2940
3921
|
dotType: {
|
|
2941
3922
|
label: 'Dot Type',
|
|
2942
3923
|
description: 'Dot animation style.',
|
|
@@ -3036,6 +4017,12 @@ export const patterns = [
|
|
|
3036
4017
|
borderRadius: 'size',
|
|
3037
4018
|
width: 'size',
|
|
3038
4019
|
height: 'size',
|
|
4020
|
+
position: ['relative', 'absolute'],
|
|
4021
|
+
top: 'size',
|
|
4022
|
+
bottom: 'size',
|
|
4023
|
+
left: 'size',
|
|
4024
|
+
right: 'size',
|
|
4025
|
+
zIndex: 'number',
|
|
3039
4026
|
textLocalizationKey: 'string',
|
|
3040
4027
|
linkedWordFirstLocalizationKey: 'string',
|
|
3041
4028
|
linkedWordFirstColor: 'color',
|
|
@@ -3259,6 +4246,52 @@ export const patterns = [
|
|
|
3259
4246
|
sort: 1,
|
|
3260
4247
|
preferedScale: 'vs',
|
|
3261
4248
|
},
|
|
4249
|
+
position: {
|
|
4250
|
+
label: 'Position',
|
|
4251
|
+
description: 'Sets layout positioning mode.',
|
|
4252
|
+
category: 'container',
|
|
4253
|
+
specialCategory: null,
|
|
4254
|
+
sort: 2,
|
|
4255
|
+
},
|
|
4256
|
+
top: {
|
|
4257
|
+
label: 'Top',
|
|
4258
|
+
description: 'Offset from the top edge.',
|
|
4259
|
+
category: 'container',
|
|
4260
|
+
specialCategory: 'offset',
|
|
4261
|
+
sort: 22,
|
|
4262
|
+
preferedScale: 'vs',
|
|
4263
|
+
},
|
|
4264
|
+
bottom: {
|
|
4265
|
+
label: 'Bottom',
|
|
4266
|
+
description: 'Offset from the bottom edge.',
|
|
4267
|
+
category: 'container',
|
|
4268
|
+
specialCategory: 'offset',
|
|
4269
|
+
sort: 23,
|
|
4270
|
+
preferedScale: 'vs',
|
|
4271
|
+
},
|
|
4272
|
+
left: {
|
|
4273
|
+
label: 'Left',
|
|
4274
|
+
description: 'Offset from the left edge.',
|
|
4275
|
+
category: 'container',
|
|
4276
|
+
specialCategory: 'offset',
|
|
4277
|
+
sort: 24,
|
|
4278
|
+
preferedScale: 's',
|
|
4279
|
+
},
|
|
4280
|
+
right: {
|
|
4281
|
+
label: 'Right',
|
|
4282
|
+
description: 'Offset from the right edge.',
|
|
4283
|
+
category: 'container',
|
|
4284
|
+
specialCategory: 'offset',
|
|
4285
|
+
sort: 25,
|
|
4286
|
+
preferedScale: 's',
|
|
4287
|
+
},
|
|
4288
|
+
zIndex: {
|
|
4289
|
+
label: 'Z-Index',
|
|
4290
|
+
description: 'Controls stacking order.',
|
|
4291
|
+
category: 'container',
|
|
4292
|
+
specialCategory: null,
|
|
4293
|
+
sort: 26,
|
|
4294
|
+
},
|
|
3262
4295
|
textLocalizationKey: {
|
|
3263
4296
|
label: 'Text Localization Key',
|
|
3264
4297
|
description: 'Localization key for the footer text.',
|
|
@@ -3328,6 +4361,12 @@ export const patterns = [
|
|
|
3328
4361
|
category: 'container',
|
|
3329
4362
|
sort: 3,
|
|
3330
4363
|
},
|
|
4364
|
+
offset: {
|
|
4365
|
+
label: 'Offset',
|
|
4366
|
+
description: 'Absolute positioning offsets.',
|
|
4367
|
+
category: 'container',
|
|
4368
|
+
sort: 4,
|
|
4369
|
+
},
|
|
3331
4370
|
},
|
|
3332
4371
|
},
|
|
3333
4372
|
defaults: { flexDirection: 'column', paddingHorizontal: '24@s' },
|
|
@@ -3371,6 +4410,12 @@ export const patterns = [
|
|
|
3371
4410
|
marginLeft: 'size',
|
|
3372
4411
|
marginRight: 'size',
|
|
3373
4412
|
backgroundColor: 'color',
|
|
4413
|
+
position: ['relative', 'absolute'],
|
|
4414
|
+
top: 'size',
|
|
4415
|
+
bottom: 'size',
|
|
4416
|
+
left: 'size',
|
|
4417
|
+
right: 'size',
|
|
4418
|
+
zIndex: 'number',
|
|
3374
4419
|
video_url: 'string',
|
|
3375
4420
|
lottie: 'string',
|
|
3376
4421
|
},
|
|
@@ -3574,6 +4619,52 @@ export const patterns = [
|
|
|
3574
4619
|
specialCategory: null,
|
|
3575
4620
|
sort: 20,
|
|
3576
4621
|
},
|
|
4622
|
+
position: {
|
|
4623
|
+
label: 'Position',
|
|
4624
|
+
description: 'Sets layout positioning mode.',
|
|
4625
|
+
category: 'container',
|
|
4626
|
+
specialCategory: null,
|
|
4627
|
+
sort: 2,
|
|
4628
|
+
},
|
|
4629
|
+
top: {
|
|
4630
|
+
label: 'Top',
|
|
4631
|
+
description: 'Offset from the top edge.',
|
|
4632
|
+
category: 'container',
|
|
4633
|
+
specialCategory: 'offset',
|
|
4634
|
+
sort: 22,
|
|
4635
|
+
preferedScale: 'vs',
|
|
4636
|
+
},
|
|
4637
|
+
bottom: {
|
|
4638
|
+
label: 'Bottom',
|
|
4639
|
+
description: 'Offset from the bottom edge.',
|
|
4640
|
+
category: 'container',
|
|
4641
|
+
specialCategory: 'offset',
|
|
4642
|
+
sort: 23,
|
|
4643
|
+
preferedScale: 'vs',
|
|
4644
|
+
},
|
|
4645
|
+
left: {
|
|
4646
|
+
label: 'Left',
|
|
4647
|
+
description: 'Offset from the left edge.',
|
|
4648
|
+
category: 'container',
|
|
4649
|
+
specialCategory: 'offset',
|
|
4650
|
+
sort: 24,
|
|
4651
|
+
preferedScale: 's',
|
|
4652
|
+
},
|
|
4653
|
+
right: {
|
|
4654
|
+
label: 'Right',
|
|
4655
|
+
description: 'Offset from the right edge.',
|
|
4656
|
+
category: 'container',
|
|
4657
|
+
specialCategory: 'offset',
|
|
4658
|
+
sort: 25,
|
|
4659
|
+
preferedScale: 's',
|
|
4660
|
+
},
|
|
4661
|
+
zIndex: {
|
|
4662
|
+
label: 'Z-Index',
|
|
4663
|
+
description: 'Controls stacking order.',
|
|
4664
|
+
category: 'container',
|
|
4665
|
+
specialCategory: null,
|
|
4666
|
+
sort: 26,
|
|
4667
|
+
},
|
|
3577
4668
|
video_url: {
|
|
3578
4669
|
label: 'Video Url',
|
|
3579
4670
|
description: 'URL for the onboarding video.',
|
|
@@ -3608,6 +4699,12 @@ export const patterns = [
|
|
|
3608
4699
|
category: 'container',
|
|
3609
4700
|
sort: 3,
|
|
3610
4701
|
},
|
|
4702
|
+
offset: {
|
|
4703
|
+
label: 'Offset',
|
|
4704
|
+
description: 'Absolute positioning offsets.',
|
|
4705
|
+
category: 'container',
|
|
4706
|
+
sort: 4,
|
|
4707
|
+
},
|
|
3611
4708
|
},
|
|
3612
4709
|
},
|
|
3613
4710
|
types: {},
|
|
@@ -3649,6 +4746,12 @@ export const patterns = [
|
|
|
3649
4746
|
borderRadius: 'size',
|
|
3650
4747
|
width: 'size',
|
|
3651
4748
|
height: 'size',
|
|
4749
|
+
position: ['relative', 'absolute'],
|
|
4750
|
+
top: 'size',
|
|
4751
|
+
bottom: 'size',
|
|
4752
|
+
left: 'size',
|
|
4753
|
+
right: 'size',
|
|
4754
|
+
zIndex: 'number',
|
|
3652
4755
|
display: ['flex', 'block'],
|
|
3653
4756
|
},
|
|
3654
4757
|
defaults: { flexDirection: 'column' },
|
|
@@ -3676,6 +4779,12 @@ export const patterns = [
|
|
|
3676
4779
|
category: 'container',
|
|
3677
4780
|
sort: 3,
|
|
3678
4781
|
},
|
|
4782
|
+
offset: {
|
|
4783
|
+
label: 'Offset',
|
|
4784
|
+
description: 'Absolute positioning offsets.',
|
|
4785
|
+
category: 'container',
|
|
4786
|
+
sort: 4,
|
|
4787
|
+
},
|
|
3679
4788
|
},
|
|
3680
4789
|
attributes: {
|
|
3681
4790
|
scrollable: {
|
|
@@ -3855,6 +4964,52 @@ export const patterns = [
|
|
|
3855
4964
|
sort: 1,
|
|
3856
4965
|
preferedScale: 'vs',
|
|
3857
4966
|
},
|
|
4967
|
+
position: {
|
|
4968
|
+
label: 'Position',
|
|
4969
|
+
description: 'Sets layout positioning mode.',
|
|
4970
|
+
category: 'container',
|
|
4971
|
+
specialCategory: null,
|
|
4972
|
+
sort: 2,
|
|
4973
|
+
},
|
|
4974
|
+
top: {
|
|
4975
|
+
label: 'Top',
|
|
4976
|
+
description: 'Offset from the top edge.',
|
|
4977
|
+
category: 'container',
|
|
4978
|
+
specialCategory: 'offset',
|
|
4979
|
+
sort: 22,
|
|
4980
|
+
preferedScale: 'vs',
|
|
4981
|
+
},
|
|
4982
|
+
bottom: {
|
|
4983
|
+
label: 'Bottom',
|
|
4984
|
+
description: 'Offset from the bottom edge.',
|
|
4985
|
+
category: 'container',
|
|
4986
|
+
specialCategory: 'offset',
|
|
4987
|
+
sort: 23,
|
|
4988
|
+
preferedScale: 'vs',
|
|
4989
|
+
},
|
|
4990
|
+
left: {
|
|
4991
|
+
label: 'Left',
|
|
4992
|
+
description: 'Offset from the left edge.',
|
|
4993
|
+
category: 'container',
|
|
4994
|
+
specialCategory: 'offset',
|
|
4995
|
+
sort: 24,
|
|
4996
|
+
preferedScale: 's',
|
|
4997
|
+
},
|
|
4998
|
+
right: {
|
|
4999
|
+
label: 'Right',
|
|
5000
|
+
description: 'Offset from the right edge.',
|
|
5001
|
+
category: 'container',
|
|
5002
|
+
specialCategory: 'offset',
|
|
5003
|
+
sort: 25,
|
|
5004
|
+
preferedScale: 's',
|
|
5005
|
+
},
|
|
5006
|
+
zIndex: {
|
|
5007
|
+
label: 'Z-Index',
|
|
5008
|
+
description: 'Controls stacking order.',
|
|
5009
|
+
category: 'container',
|
|
5010
|
+
specialCategory: null,
|
|
5011
|
+
sort: 26,
|
|
5012
|
+
},
|
|
3858
5013
|
display: {
|
|
3859
5014
|
label: 'Display',
|
|
3860
5015
|
description: 'Controls layout display mode.',
|
|
@@ -3908,7 +5063,12 @@ export const patterns = [
|
|
|
3908
5063
|
borderRadius: 'never',
|
|
3909
5064
|
width: 'size',
|
|
3910
5065
|
height: 'size',
|
|
3911
|
-
|
|
5066
|
+
position: ['relative', 'absolute'],
|
|
5067
|
+
top: 'size',
|
|
5068
|
+
bottom: 'size',
|
|
5069
|
+
left: 'size',
|
|
5070
|
+
right: 'size',
|
|
5071
|
+
zIndex: 'number',
|
|
3912
5072
|
use_safe_area_inset: 'boolean',
|
|
3913
5073
|
},
|
|
3914
5074
|
defaults: { flexDirection: 'column' },
|
|
@@ -3936,6 +5096,12 @@ export const patterns = [
|
|
|
3936
5096
|
category: 'container',
|
|
3937
5097
|
sort: 3,
|
|
3938
5098
|
},
|
|
5099
|
+
offset: {
|
|
5100
|
+
label: 'Offset',
|
|
5101
|
+
description: 'Absolute positioning offsets.',
|
|
5102
|
+
category: 'container',
|
|
5103
|
+
sort: 4,
|
|
5104
|
+
},
|
|
3939
5105
|
},
|
|
3940
5106
|
attributes: {
|
|
3941
5107
|
scrollable: {
|
|
@@ -4113,12 +5279,51 @@ export const patterns = [
|
|
|
4113
5279
|
sort: 1,
|
|
4114
5280
|
preferedScale: 'vs',
|
|
4115
5281
|
},
|
|
4116
|
-
|
|
4117
|
-
label: '
|
|
4118
|
-
description: '
|
|
4119
|
-
category: '
|
|
5282
|
+
position: {
|
|
5283
|
+
label: 'Position',
|
|
5284
|
+
description: 'Sets layout positioning mode.',
|
|
5285
|
+
category: 'container',
|
|
4120
5286
|
specialCategory: null,
|
|
4121
|
-
sort:
|
|
5287
|
+
sort: 2,
|
|
5288
|
+
},
|
|
5289
|
+
top: {
|
|
5290
|
+
label: 'Top',
|
|
5291
|
+
description: 'Offset from the top edge.',
|
|
5292
|
+
category: 'container',
|
|
5293
|
+
specialCategory: 'offset',
|
|
5294
|
+
sort: 22,
|
|
5295
|
+
preferedScale: 'vs',
|
|
5296
|
+
},
|
|
5297
|
+
bottom: {
|
|
5298
|
+
label: 'Bottom',
|
|
5299
|
+
description: 'Offset from the bottom edge.',
|
|
5300
|
+
category: 'container',
|
|
5301
|
+
specialCategory: 'offset',
|
|
5302
|
+
sort: 23,
|
|
5303
|
+
preferedScale: 'vs',
|
|
5304
|
+
},
|
|
5305
|
+
left: {
|
|
5306
|
+
label: 'Left',
|
|
5307
|
+
description: 'Offset from the left edge.',
|
|
5308
|
+
category: 'container',
|
|
5309
|
+
specialCategory: 'offset',
|
|
5310
|
+
sort: 24,
|
|
5311
|
+
preferedScale: 's',
|
|
5312
|
+
},
|
|
5313
|
+
right: {
|
|
5314
|
+
label: 'Right',
|
|
5315
|
+
description: 'Offset from the right edge.',
|
|
5316
|
+
category: 'container',
|
|
5317
|
+
specialCategory: 'offset',
|
|
5318
|
+
sort: 25,
|
|
5319
|
+
preferedScale: 's',
|
|
5320
|
+
},
|
|
5321
|
+
zIndex: {
|
|
5322
|
+
label: 'Z-Index',
|
|
5323
|
+
description: 'Controls stacking order.',
|
|
5324
|
+
category: 'container',
|
|
5325
|
+
specialCategory: null,
|
|
5326
|
+
sort: 26,
|
|
4122
5327
|
},
|
|
4123
5328
|
use_safe_area_inset: {
|
|
4124
5329
|
label: 'Use Safe Area Inset',
|
|
@@ -4143,7 +5348,7 @@ export const patterns = [
|
|
|
4143
5348
|
allowUnknownAttributes: false,
|
|
4144
5349
|
pattern: {
|
|
4145
5350
|
type: 'OnboardSubtitle',
|
|
4146
|
-
children: '
|
|
5351
|
+
children: 'string',
|
|
4147
5352
|
attributes: {
|
|
4148
5353
|
color: 'color',
|
|
4149
5354
|
fontSize: 'size',
|
|
@@ -4190,6 +5395,12 @@ export const patterns = [
|
|
|
4190
5395
|
borderRadius: 'size',
|
|
4191
5396
|
width: 'size',
|
|
4192
5397
|
height: 'size',
|
|
5398
|
+
position: ['relative', 'absolute'],
|
|
5399
|
+
top: 'size',
|
|
5400
|
+
bottom: 'size',
|
|
5401
|
+
left: 'size',
|
|
5402
|
+
right: 'size',
|
|
5403
|
+
zIndex: 'number',
|
|
4193
5404
|
},
|
|
4194
5405
|
defaults: { flexDirection: 'column' },
|
|
4195
5406
|
},
|
|
@@ -4406,6 +5617,52 @@ export const patterns = [
|
|
|
4406
5617
|
sort: 1,
|
|
4407
5618
|
preferedScale: 'vs',
|
|
4408
5619
|
},
|
|
5620
|
+
position: {
|
|
5621
|
+
label: 'Position',
|
|
5622
|
+
description: 'Sets layout positioning mode.',
|
|
5623
|
+
category: 'container',
|
|
5624
|
+
specialCategory: null,
|
|
5625
|
+
sort: 2,
|
|
5626
|
+
},
|
|
5627
|
+
top: {
|
|
5628
|
+
label: 'Top',
|
|
5629
|
+
description: 'Offset from the top edge.',
|
|
5630
|
+
category: 'container',
|
|
5631
|
+
specialCategory: 'offset',
|
|
5632
|
+
sort: 22,
|
|
5633
|
+
preferedScale: 'vs',
|
|
5634
|
+
},
|
|
5635
|
+
bottom: {
|
|
5636
|
+
label: 'Bottom',
|
|
5637
|
+
description: 'Offset from the bottom edge.',
|
|
5638
|
+
category: 'container',
|
|
5639
|
+
specialCategory: 'offset',
|
|
5640
|
+
sort: 23,
|
|
5641
|
+
preferedScale: 'vs',
|
|
5642
|
+
},
|
|
5643
|
+
left: {
|
|
5644
|
+
label: 'Left',
|
|
5645
|
+
description: 'Offset from the left edge.',
|
|
5646
|
+
category: 'container',
|
|
5647
|
+
specialCategory: 'offset',
|
|
5648
|
+
sort: 24,
|
|
5649
|
+
preferedScale: 's',
|
|
5650
|
+
},
|
|
5651
|
+
right: {
|
|
5652
|
+
label: 'Right',
|
|
5653
|
+
description: 'Offset from the right edge.',
|
|
5654
|
+
category: 'container',
|
|
5655
|
+
specialCategory: 'offset',
|
|
5656
|
+
sort: 25,
|
|
5657
|
+
preferedScale: 's',
|
|
5658
|
+
},
|
|
5659
|
+
zIndex: {
|
|
5660
|
+
label: 'Z-Index',
|
|
5661
|
+
description: 'Controls stacking order.',
|
|
5662
|
+
category: 'container',
|
|
5663
|
+
specialCategory: null,
|
|
5664
|
+
sort: 26,
|
|
5665
|
+
},
|
|
4409
5666
|
},
|
|
4410
5667
|
specialCategories: {
|
|
4411
5668
|
padding: {
|
|
@@ -4426,6 +5683,12 @@ export const patterns = [
|
|
|
4426
5683
|
category: 'container',
|
|
4427
5684
|
sort: 3,
|
|
4428
5685
|
},
|
|
5686
|
+
offset: {
|
|
5687
|
+
label: 'Offset',
|
|
5688
|
+
description: 'Absolute positioning offsets.',
|
|
5689
|
+
category: 'container',
|
|
5690
|
+
sort: 4,
|
|
5691
|
+
},
|
|
4429
5692
|
},
|
|
4430
5693
|
},
|
|
4431
5694
|
defaults: { flexDirection: 'column', fontSize: '14@fs', fontWeight: '600' },
|
|
@@ -4436,7 +5699,7 @@ export const patterns = [
|
|
|
4436
5699
|
allowUnknownAttributes: false,
|
|
4437
5700
|
pattern: {
|
|
4438
5701
|
type: 'OnboardTitle',
|
|
4439
|
-
children: '
|
|
5702
|
+
children: 'string',
|
|
4440
5703
|
attributes: {
|
|
4441
5704
|
color: 'color',
|
|
4442
5705
|
fontSize: 'size',
|
|
@@ -4483,6 +5746,12 @@ export const patterns = [
|
|
|
4483
5746
|
borderRadius: 'size',
|
|
4484
5747
|
width: 'size',
|
|
4485
5748
|
height: 'size',
|
|
5749
|
+
position: ['relative', 'absolute'],
|
|
5750
|
+
top: 'size',
|
|
5751
|
+
bottom: 'size',
|
|
5752
|
+
left: 'size',
|
|
5753
|
+
right: 'size',
|
|
5754
|
+
zIndex: 'number',
|
|
4486
5755
|
},
|
|
4487
5756
|
defaults: { flexDirection: 'column' },
|
|
4488
5757
|
},
|
|
@@ -4699,6 +5968,52 @@ export const patterns = [
|
|
|
4699
5968
|
sort: 1,
|
|
4700
5969
|
preferedScale: 'vs',
|
|
4701
5970
|
},
|
|
5971
|
+
position: {
|
|
5972
|
+
label: 'Position',
|
|
5973
|
+
description: 'Sets layout positioning mode.',
|
|
5974
|
+
category: 'container',
|
|
5975
|
+
specialCategory: null,
|
|
5976
|
+
sort: 2,
|
|
5977
|
+
},
|
|
5978
|
+
top: {
|
|
5979
|
+
label: 'Top',
|
|
5980
|
+
description: 'Offset from the top edge.',
|
|
5981
|
+
category: 'container',
|
|
5982
|
+
specialCategory: 'offset',
|
|
5983
|
+
sort: 22,
|
|
5984
|
+
preferedScale: 'vs',
|
|
5985
|
+
},
|
|
5986
|
+
bottom: {
|
|
5987
|
+
label: 'Bottom',
|
|
5988
|
+
description: 'Offset from the bottom edge.',
|
|
5989
|
+
category: 'container',
|
|
5990
|
+
specialCategory: 'offset',
|
|
5991
|
+
sort: 23,
|
|
5992
|
+
preferedScale: 'vs',
|
|
5993
|
+
},
|
|
5994
|
+
left: {
|
|
5995
|
+
label: 'Left',
|
|
5996
|
+
description: 'Offset from the left edge.',
|
|
5997
|
+
category: 'container',
|
|
5998
|
+
specialCategory: 'offset',
|
|
5999
|
+
sort: 24,
|
|
6000
|
+
preferedScale: 's',
|
|
6001
|
+
},
|
|
6002
|
+
right: {
|
|
6003
|
+
label: 'Right',
|
|
6004
|
+
description: 'Offset from the right edge.',
|
|
6005
|
+
category: 'container',
|
|
6006
|
+
specialCategory: 'offset',
|
|
6007
|
+
sort: 25,
|
|
6008
|
+
preferedScale: 's',
|
|
6009
|
+
},
|
|
6010
|
+
zIndex: {
|
|
6011
|
+
label: 'Z-Index',
|
|
6012
|
+
description: 'Controls stacking order.',
|
|
6013
|
+
category: 'container',
|
|
6014
|
+
specialCategory: null,
|
|
6015
|
+
sort: 26,
|
|
6016
|
+
},
|
|
4702
6017
|
},
|
|
4703
6018
|
specialCategories: {
|
|
4704
6019
|
padding: {
|
|
@@ -4719,6 +6034,12 @@ export const patterns = [
|
|
|
4719
6034
|
category: 'container',
|
|
4720
6035
|
sort: 3,
|
|
4721
6036
|
},
|
|
6037
|
+
offset: {
|
|
6038
|
+
label: 'Offset',
|
|
6039
|
+
description: 'Absolute positioning offsets.',
|
|
6040
|
+
category: 'container',
|
|
6041
|
+
sort: 4,
|
|
6042
|
+
},
|
|
4722
6043
|
},
|
|
4723
6044
|
},
|
|
4724
6045
|
defaults: {
|
|
@@ -4765,6 +6086,12 @@ export const patterns = [
|
|
|
4765
6086
|
borderRadius: 'size',
|
|
4766
6087
|
width: 'size',
|
|
4767
6088
|
height: 'size',
|
|
6089
|
+
position: ['relative', 'absolute'],
|
|
6090
|
+
top: 'size',
|
|
6091
|
+
bottom: 'size',
|
|
6092
|
+
left: 'size',
|
|
6093
|
+
right: 'size',
|
|
6094
|
+
zIndex: 'number',
|
|
4768
6095
|
color: 'color',
|
|
4769
6096
|
fontSize: 'size',
|
|
4770
6097
|
fontWeight: [
|
|
@@ -4807,6 +6134,12 @@ export const patterns = [
|
|
|
4807
6134
|
category: 'container',
|
|
4808
6135
|
sort: 3,
|
|
4809
6136
|
},
|
|
6137
|
+
offset: {
|
|
6138
|
+
label: 'Offset',
|
|
6139
|
+
description: 'Absolute positioning offsets.',
|
|
6140
|
+
category: 'container',
|
|
6141
|
+
sort: 4,
|
|
6142
|
+
},
|
|
4810
6143
|
},
|
|
4811
6144
|
attributes: {
|
|
4812
6145
|
scrollable: {
|
|
@@ -4988,6 +6321,52 @@ export const patterns = [
|
|
|
4988
6321
|
sort: 1,
|
|
4989
6322
|
preferedScale: 'vs',
|
|
4990
6323
|
},
|
|
6324
|
+
position: {
|
|
6325
|
+
label: 'Position',
|
|
6326
|
+
description: 'Sets layout positioning mode.',
|
|
6327
|
+
category: 'container',
|
|
6328
|
+
specialCategory: null,
|
|
6329
|
+
sort: 2,
|
|
6330
|
+
},
|
|
6331
|
+
top: {
|
|
6332
|
+
label: 'Top',
|
|
6333
|
+
description: 'Offset from the top edge.',
|
|
6334
|
+
category: 'container',
|
|
6335
|
+
specialCategory: 'offset',
|
|
6336
|
+
sort: 22,
|
|
6337
|
+
preferedScale: 'vs',
|
|
6338
|
+
},
|
|
6339
|
+
bottom: {
|
|
6340
|
+
label: 'Bottom',
|
|
6341
|
+
description: 'Offset from the bottom edge.',
|
|
6342
|
+
category: 'container',
|
|
6343
|
+
specialCategory: 'offset',
|
|
6344
|
+
sort: 23,
|
|
6345
|
+
preferedScale: 'vs',
|
|
6346
|
+
},
|
|
6347
|
+
left: {
|
|
6348
|
+
label: 'Left',
|
|
6349
|
+
description: 'Offset from the left edge.',
|
|
6350
|
+
category: 'container',
|
|
6351
|
+
specialCategory: 'offset',
|
|
6352
|
+
sort: 24,
|
|
6353
|
+
preferedScale: 's',
|
|
6354
|
+
},
|
|
6355
|
+
right: {
|
|
6356
|
+
label: 'Right',
|
|
6357
|
+
description: 'Offset from the right edge.',
|
|
6358
|
+
category: 'container',
|
|
6359
|
+
specialCategory: 'offset',
|
|
6360
|
+
sort: 25,
|
|
6361
|
+
preferedScale: 's',
|
|
6362
|
+
},
|
|
6363
|
+
zIndex: {
|
|
6364
|
+
label: 'Z-Index',
|
|
6365
|
+
description: 'Controls stacking order.',
|
|
6366
|
+
category: 'container',
|
|
6367
|
+
specialCategory: null,
|
|
6368
|
+
sort: 26,
|
|
6369
|
+
},
|
|
4991
6370
|
color: {
|
|
4992
6371
|
label: 'Color',
|
|
4993
6372
|
description: 'Text color.',
|
|
@@ -5058,6 +6437,12 @@ export const patterns = [
|
|
|
5058
6437
|
borderRadius: 'size',
|
|
5059
6438
|
width: 'size',
|
|
5060
6439
|
height: 'size',
|
|
6440
|
+
position: ['relative', 'absolute'],
|
|
6441
|
+
top: 'size',
|
|
6442
|
+
bottom: 'size',
|
|
6443
|
+
left: 'size',
|
|
6444
|
+
right: 'size',
|
|
6445
|
+
zIndex: 'number',
|
|
5061
6446
|
},
|
|
5062
6447
|
defaults: { flexDirection: 'column' },
|
|
5063
6448
|
},
|
|
@@ -5084,6 +6469,12 @@ export const patterns = [
|
|
|
5084
6469
|
category: 'container',
|
|
5085
6470
|
sort: 3,
|
|
5086
6471
|
},
|
|
6472
|
+
offset: {
|
|
6473
|
+
label: 'Offset',
|
|
6474
|
+
description: 'Absolute positioning offsets.',
|
|
6475
|
+
category: 'container',
|
|
6476
|
+
sort: 4,
|
|
6477
|
+
},
|
|
5087
6478
|
},
|
|
5088
6479
|
attributes: {
|
|
5089
6480
|
scrollable: {
|
|
@@ -5265,6 +6656,52 @@ export const patterns = [
|
|
|
5265
6656
|
sort: 1,
|
|
5266
6657
|
preferedScale: 'vs',
|
|
5267
6658
|
},
|
|
6659
|
+
position: {
|
|
6660
|
+
label: 'Position',
|
|
6661
|
+
description: 'Sets layout positioning mode.',
|
|
6662
|
+
category: 'container',
|
|
6663
|
+
specialCategory: null,
|
|
6664
|
+
sort: 2,
|
|
6665
|
+
},
|
|
6666
|
+
top: {
|
|
6667
|
+
label: 'Top',
|
|
6668
|
+
description: 'Offset from the top edge.',
|
|
6669
|
+
category: 'container',
|
|
6670
|
+
specialCategory: 'offset',
|
|
6671
|
+
sort: 22,
|
|
6672
|
+
preferedScale: 'vs',
|
|
6673
|
+
},
|
|
6674
|
+
bottom: {
|
|
6675
|
+
label: 'Bottom',
|
|
6676
|
+
description: 'Offset from the bottom edge.',
|
|
6677
|
+
category: 'container',
|
|
6678
|
+
specialCategory: 'offset',
|
|
6679
|
+
sort: 23,
|
|
6680
|
+
preferedScale: 'vs',
|
|
6681
|
+
},
|
|
6682
|
+
left: {
|
|
6683
|
+
label: 'Left',
|
|
6684
|
+
description: 'Offset from the left edge.',
|
|
6685
|
+
category: 'container',
|
|
6686
|
+
specialCategory: 'offset',
|
|
6687
|
+
sort: 24,
|
|
6688
|
+
preferedScale: 's',
|
|
6689
|
+
},
|
|
6690
|
+
right: {
|
|
6691
|
+
label: 'Right',
|
|
6692
|
+
description: 'Offset from the right edge.',
|
|
6693
|
+
category: 'container',
|
|
6694
|
+
specialCategory: 'offset',
|
|
6695
|
+
sort: 25,
|
|
6696
|
+
preferedScale: 's',
|
|
6697
|
+
},
|
|
6698
|
+
zIndex: {
|
|
6699
|
+
label: 'Z-Index',
|
|
6700
|
+
description: 'Controls stacking order.',
|
|
6701
|
+
category: 'container',
|
|
6702
|
+
specialCategory: null,
|
|
6703
|
+
sort: 26,
|
|
6704
|
+
},
|
|
5268
6705
|
},
|
|
5269
6706
|
},
|
|
5270
6707
|
defaults: { flexDirection: 'column' },
|