@developer_tribe/react-builder 1.0.2 → 1.0.4
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/android.svg +43 -0
- package/dist/apple.svg +16 -0
- package/dist/attributes-editor/Field.d.ts +4 -2
- package/dist/attributes-editor/SizeField.d.ts +9 -0
- 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 +45 -0
- package/dist/build-components/Button/ButtonProps.generated.d.ts +8 -0
- package/dist/build-components/Carousel/CarouselProps.generated.d.ts +8 -0
- package/dist/build-components/CarouselButtons/CarouselButtonsProps.generated.d.ts +8 -0
- package/dist/build-components/CarouselDots/CarouselDotsProps.generated.d.ts +8 -0
- package/dist/build-components/CarouselItem/CarouselItemProps.generated.d.ts +8 -0
- package/dist/build-components/CarouselProvider/CarouselProviderProps.generated.d.ts +8 -0
- package/dist/build-components/Image/ImageProps.generated.d.ts +8 -0
- package/dist/build-components/Onboard/OnboardProps.generated.d.ts +8 -0
- package/dist/build-components/OnboardButton/OnboardButtonProps.generated.d.ts +8 -1
- package/dist/build-components/OnboardButtons/OnboardButtonsProps.generated.d.ts +8 -0
- package/dist/build-components/OnboardDot/OnboardDotProps.generated.d.ts +9 -3
- package/dist/build-components/OnboardFooter/OnboardFooterProps.generated.d.ts +8 -0
- package/dist/build-components/OnboardImage/OnboardImageProps.generated.d.ts +9 -1
- package/dist/build-components/OnboardItem/OnboardItemProps.generated.d.ts +8 -0
- package/dist/build-components/OnboardProvider/OnboardProviderProps.generated.d.ts +8 -1
- package/dist/build-components/OnboardSubtitle/OnboardSubtitleProps.generated.d.ts +8 -0
- package/dist/build-components/OnboardTitle/OnboardTitleProps.generated.d.ts +8 -0
- package/dist/build-components/Text/TextProps.generated.d.ts +8 -0
- package/dist/build-components/View/ViewProps.generated.d.ts +8 -0
- package/dist/build-components/index.d.ts +2 -1
- package/dist/build-components/patterns.generated.d.ts +1612 -46
- 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/components/JsonTextEditor.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/SideTool.d.ts +8 -0
- package/dist/store.d.ts +9 -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/extractImageStyle.d.ts +2 -1
- package/dist/utils/extractTextStyle.d.ts +8 -1
- package/dist/utils/extractViewStyle.d.ts +7 -1
- package/dist/utils/parseColor.d.ts +7 -0
- package/dist/utils/selection.d.ts +7 -0
- package/dist/utils/useMergedStyle.d.ts +2 -0
- package/package.json +2 -5
- package/src/.DS_Store +0 -0
- package/src/AttributesEditor.tsx +83 -16
- package/src/RenderPage.tsx +86 -4
- package/src/attributes-editor/Field.tsx +60 -165
- package/src/attributes-editor/SizeField.tsx +184 -0
- package/src/attributes-editor/SpecialCategorySection.tsx +12 -4
- package/src/build-components/BackgroundImage/BackgroundImage.tsx +77 -0
- package/src/build-components/BackgroundImage/BackgroundImageProps.generated.ts +61 -0
- package/src/build-components/BackgroundImage/pattern.json +45 -0
- package/src/build-components/Button/Button.tsx +29 -4
- package/src/build-components/Button/ButtonProps.generated.ts +8 -0
- package/src/build-components/Carousel/Carousel.tsx +25 -3
- package/src/build-components/Carousel/CarouselProps.generated.ts +8 -0
- package/src/build-components/CarouselButtons/CarouselButtons.tsx +19 -4
- package/src/build-components/CarouselButtons/CarouselButtonsProps.generated.ts +8 -0
- package/src/build-components/CarouselDots/CarouselDots.tsx +13 -4
- package/src/build-components/CarouselDots/CarouselDotsProps.generated.ts +8 -0
- package/src/build-components/CarouselItem/CarouselItem.tsx +20 -4
- package/src/build-components/CarouselItem/CarouselItemProps.generated.ts +8 -0
- package/src/build-components/CarouselProvider/CarouselProvider.tsx +14 -3
- package/src/build-components/CarouselProvider/CarouselProviderProps.generated.ts +8 -0
- package/src/build-components/Image/Image.tsx +27 -9
- package/src/build-components/Image/ImageProps.generated.ts +8 -0
- package/src/build-components/Image/pattern.json +1 -9
- package/src/build-components/Onboard/Onboard.tsx +2 -2
- package/src/build-components/Onboard/OnboardProps.generated.ts +8 -0
- package/src/build-components/OnboardButton/OnboardButton.tsx +11 -7
- package/src/build-components/OnboardButton/OnboardButtonProps.generated.ts +8 -1
- package/src/build-components/OnboardButtons/OnboardButtons.tsx +17 -5
- package/src/build-components/OnboardButtons/OnboardButtonsProps.generated.ts +8 -0
- package/src/build-components/OnboardDot/OnboardDot.tsx +68 -39
- package/src/build-components/OnboardDot/OnboardDotProps.generated.ts +9 -3
- package/src/build-components/OnboardDot/pattern.json +3 -19
- package/src/build-components/OnboardFooter/OnboardFooter.tsx +37 -14
- package/src/build-components/OnboardFooter/OnboardFooterProps.generated.ts +8 -0
- package/src/build-components/OnboardImage/OnboardImage.tsx +28 -6
- package/src/build-components/OnboardImage/OnboardImageProps.generated.ts +9 -1
- package/src/build-components/OnboardItem/OnboardItem.tsx +15 -14
- package/src/build-components/OnboardItem/OnboardItemProps.generated.ts +8 -0
- package/src/build-components/OnboardProvider/OnboardProvider.tsx +35 -20
- package/src/build-components/OnboardProvider/OnboardProviderProps.generated.ts +8 -1
- package/src/build-components/OnboardProvider/pattern.json +0 -8
- package/src/build-components/OnboardSubtitle/OnboardSubtitleProps.generated.ts +8 -0
- package/src/build-components/OnboardSubtitle/pattern.json +1 -1
- package/src/build-components/OnboardTitle/OnboardTitleProps.generated.ts +8 -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 +28 -10
- package/src/build-components/Text/TextProps.generated.ts +8 -0
- package/src/build-components/View/View.tsx +25 -3
- package/src/build-components/View/ViewProps.generated.ts +8 -0
- package/src/build-components/View/pattern.json +67 -1
- package/src/build-components/index.ts +5 -0
- package/src/build-components/patterns.generated.ts +1620 -46
- package/src/components/AttributesEditorPanel.tsx +13 -6
- package/src/components/Builder.tsx +200 -56
- package/src/components/BuilderButton.tsx +127 -0
- package/src/components/DeviceNavigationBar.tsx +0 -1
- package/src/components/EditorHeader.tsx +11 -1
- package/src/components/JsonTextEditor.tsx +185 -0
- package/src/index.ts +2 -2
- package/src/mockOS/components/MockOSRouter.tsx +17 -3
- package/src/mockOS/context/MockOSContext.tsx +0 -5
- package/src/mockOS/managers/mockPermissionManager.ts +0 -4
- package/src/mockOS/managers/navigationManager.ts +1 -6
- package/src/modals/ColorModal.tsx +306 -71
- package/src/modals/LocalicationModal.tsx +4 -5
- package/src/modals/Modal.tsx +8 -1
- package/src/pages/ProjectPage.tsx +299 -55
- package/src/pages/tabs/{BuilderTab.tsx → BuilderPanel.tsx} +13 -9
- package/src/pages/tabs/SideTool.tsx +260 -0
- package/src/size-matters/index.ts +6 -0
- package/src/store.ts +18 -1
- package/src/styles/base/_global.scss +163 -7
- package/src/styles/components/_attributes-editor.scss +12 -0
- package/src/styles/components/_editor-shell.scss +25 -0
- package/src/styles/foundation/_sizes.scss +1 -1
- package/src/styles/layout/_builder.scss +66 -10
- package/src/styles/modals/_color-modal.scss +59 -1
- package/src/styles/utilities/_carousel.scss +9 -8
- package/src/types/Project.ts +14 -0
- package/src/utils/analyseNode.ts +98 -0
- package/src/utils/extractImageStyle.ts +3 -6
- package/src/utils/extractTextStyle.ts +19 -82
- package/src/utils/extractViewStyle.ts +41 -12
- package/src/utils/parseColor.ts +43 -0
- package/src/utils/selection.ts +24 -0
- package/src/utils/useMergedStyle.ts +16 -0
- package/dist/pages/tabs/BuilderTab.d.ts +0 -9
- package/dist/pages/tabs/DebugTab.d.ts +0 -7
- 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,357 @@
|
|
|
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
|
+
flex: 'number',
|
|
42
|
+
position: ['relative', 'absolute'],
|
|
43
|
+
top: 'size',
|
|
44
|
+
bottom: 'size',
|
|
45
|
+
left: 'size',
|
|
46
|
+
right: 'size',
|
|
47
|
+
zIndex: 'number',
|
|
48
|
+
src: 'string',
|
|
49
|
+
resizeMode: ['cover', 'contain', 'stretch', 'center'],
|
|
50
|
+
},
|
|
51
|
+
defaults: {
|
|
52
|
+
resizeMode: 'cover',
|
|
53
|
+
width: '100%',
|
|
54
|
+
height: '100%',
|
|
55
|
+
position: 'fixed',
|
|
56
|
+
top: 0,
|
|
57
|
+
left: 0,
|
|
58
|
+
right: 0,
|
|
59
|
+
bottom: 0,
|
|
60
|
+
zIndex: 0,
|
|
61
|
+
},
|
|
62
|
+
},
|
|
63
|
+
meta: {
|
|
64
|
+
desiredParent: ['all', 'background'],
|
|
65
|
+
label: 'Background Image',
|
|
66
|
+
description: 'Background image.',
|
|
67
|
+
specialCategories: {
|
|
68
|
+
padding: {
|
|
69
|
+
label: 'Padding',
|
|
70
|
+
description: 'Uniform padding on all sides.',
|
|
71
|
+
category: 'container',
|
|
72
|
+
sort: 1,
|
|
73
|
+
},
|
|
74
|
+
margin: {
|
|
75
|
+
label: 'Margin',
|
|
76
|
+
description: 'Uniform margin on all sides.',
|
|
77
|
+
category: 'container',
|
|
78
|
+
sort: 2,
|
|
79
|
+
},
|
|
80
|
+
size: {
|
|
81
|
+
label: 'Size',
|
|
82
|
+
description: 'Fixed dimensions.',
|
|
83
|
+
category: 'container',
|
|
84
|
+
sort: 3,
|
|
85
|
+
},
|
|
86
|
+
offset: {
|
|
87
|
+
label: 'Offset',
|
|
88
|
+
description: 'Absolute positioning offsets.',
|
|
89
|
+
category: 'container',
|
|
90
|
+
sort: 4,
|
|
91
|
+
},
|
|
92
|
+
},
|
|
93
|
+
attributes: {
|
|
94
|
+
scrollable: {
|
|
95
|
+
label: 'Scrollable',
|
|
96
|
+
description: 'Turns scroll interaction on.',
|
|
97
|
+
category: 'container',
|
|
98
|
+
specialCategory: null,
|
|
99
|
+
sort: -1,
|
|
100
|
+
},
|
|
101
|
+
flexDirection: {
|
|
102
|
+
label: 'Flex Direction',
|
|
103
|
+
description: 'Sets row or column layout.',
|
|
104
|
+
category: 'container',
|
|
105
|
+
specialCategory: null,
|
|
106
|
+
sort: 4,
|
|
107
|
+
},
|
|
108
|
+
alignItems: {
|
|
109
|
+
label: 'Align Items',
|
|
110
|
+
description: 'Controls cross-axis alignment.',
|
|
111
|
+
category: 'container',
|
|
112
|
+
specialCategory: null,
|
|
113
|
+
sort: 3,
|
|
114
|
+
},
|
|
115
|
+
justifyContent: {
|
|
116
|
+
label: 'Justify Content',
|
|
117
|
+
description: 'Controls main-axis alignment.',
|
|
118
|
+
category: 'container',
|
|
119
|
+
specialCategory: null,
|
|
120
|
+
sort: 5,
|
|
121
|
+
},
|
|
122
|
+
gap: {
|
|
123
|
+
label: 'Gap',
|
|
124
|
+
description: 'Space between children.',
|
|
125
|
+
category: 'container',
|
|
126
|
+
specialCategory: null,
|
|
127
|
+
sort: 10,
|
|
128
|
+
preferedScale: 's',
|
|
129
|
+
},
|
|
130
|
+
padding: {
|
|
131
|
+
label: 'Padding',
|
|
132
|
+
description: 'Uniform padding on all sides.',
|
|
133
|
+
category: 'container',
|
|
134
|
+
specialCategory: 'padding',
|
|
135
|
+
sort: 6,
|
|
136
|
+
preferedScale: 's',
|
|
137
|
+
},
|
|
138
|
+
paddingHorizontal: {
|
|
139
|
+
label: 'Padding Horizontal',
|
|
140
|
+
description: 'Left and right padding.',
|
|
141
|
+
category: 'container',
|
|
142
|
+
specialCategory: 'padding',
|
|
143
|
+
sort: 7,
|
|
144
|
+
preferedScale: 's',
|
|
145
|
+
},
|
|
146
|
+
paddingVertical: {
|
|
147
|
+
label: 'Padding Vertical',
|
|
148
|
+
description: 'Top and bottom padding.',
|
|
149
|
+
category: 'container',
|
|
150
|
+
specialCategory: 'padding',
|
|
151
|
+
sort: 8,
|
|
152
|
+
preferedScale: 'vs',
|
|
153
|
+
},
|
|
154
|
+
paddingTop: {
|
|
155
|
+
label: 'Padding Top',
|
|
156
|
+
description: 'Top padding only.',
|
|
157
|
+
category: 'container',
|
|
158
|
+
specialCategory: 'padding',
|
|
159
|
+
sort: 9,
|
|
160
|
+
preferedScale: 'vs',
|
|
161
|
+
},
|
|
162
|
+
paddingBottom: {
|
|
163
|
+
label: 'Padding Bottom',
|
|
164
|
+
description: 'Bottom padding only.',
|
|
165
|
+
category: 'container',
|
|
166
|
+
specialCategory: 'padding',
|
|
167
|
+
sort: 10,
|
|
168
|
+
preferedScale: 'vs',
|
|
169
|
+
},
|
|
170
|
+
paddingLeft: {
|
|
171
|
+
label: 'Padding Left',
|
|
172
|
+
description: 'Left padding only.',
|
|
173
|
+
category: 'container',
|
|
174
|
+
specialCategory: 'padding',
|
|
175
|
+
sort: 11,
|
|
176
|
+
preferedScale: 's',
|
|
177
|
+
},
|
|
178
|
+
paddingRight: {
|
|
179
|
+
label: 'Padding Right',
|
|
180
|
+
description: 'Right padding only.',
|
|
181
|
+
category: 'container',
|
|
182
|
+
specialCategory: 'padding',
|
|
183
|
+
sort: 12,
|
|
184
|
+
preferedScale: 's',
|
|
185
|
+
},
|
|
186
|
+
margin: {
|
|
187
|
+
label: 'Margin',
|
|
188
|
+
description: 'Uniform margin on all sides.',
|
|
189
|
+
category: 'container',
|
|
190
|
+
specialCategory: 'margin',
|
|
191
|
+
sort: 13,
|
|
192
|
+
preferedScale: 's',
|
|
193
|
+
},
|
|
194
|
+
marginHorizontal: {
|
|
195
|
+
label: 'Margin Horizontal',
|
|
196
|
+
description: 'Left and right margin.',
|
|
197
|
+
category: 'container',
|
|
198
|
+
specialCategory: 'margin',
|
|
199
|
+
sort: 14,
|
|
200
|
+
preferedScale: 's',
|
|
201
|
+
},
|
|
202
|
+
marginVertical: {
|
|
203
|
+
label: 'Margin Vertical',
|
|
204
|
+
description: 'Top and bottom margin.',
|
|
205
|
+
category: 'container',
|
|
206
|
+
specialCategory: 'margin',
|
|
207
|
+
sort: 15,
|
|
208
|
+
preferedScale: 'vs',
|
|
209
|
+
},
|
|
210
|
+
marginTop: {
|
|
211
|
+
label: 'Margin Top',
|
|
212
|
+
description: 'Top margin only.',
|
|
213
|
+
category: 'container',
|
|
214
|
+
specialCategory: 'margin',
|
|
215
|
+
sort: 16,
|
|
216
|
+
preferedScale: 'vs',
|
|
217
|
+
},
|
|
218
|
+
marginBottom: {
|
|
219
|
+
label: 'Margin Bottom',
|
|
220
|
+
description: 'Bottom margin only.',
|
|
221
|
+
category: 'container',
|
|
222
|
+
specialCategory: 'margin',
|
|
223
|
+
sort: 17,
|
|
224
|
+
preferedScale: 'vs',
|
|
225
|
+
},
|
|
226
|
+
marginLeft: {
|
|
227
|
+
label: 'Margin Left',
|
|
228
|
+
description: 'Left margin only.',
|
|
229
|
+
category: 'container',
|
|
230
|
+
specialCategory: 'margin',
|
|
231
|
+
sort: 18,
|
|
232
|
+
preferedScale: 's',
|
|
233
|
+
},
|
|
234
|
+
marginRight: {
|
|
235
|
+
label: 'Margin Right',
|
|
236
|
+
description: 'Right margin only.',
|
|
237
|
+
category: 'container',
|
|
238
|
+
specialCategory: 'margin',
|
|
239
|
+
sort: 19,
|
|
240
|
+
preferedScale: 's',
|
|
241
|
+
},
|
|
242
|
+
backgroundColor: {
|
|
243
|
+
label: 'Background Color',
|
|
244
|
+
description: 'Background fill color.',
|
|
245
|
+
category: 'style',
|
|
246
|
+
specialCategory: null,
|
|
247
|
+
sort: 20,
|
|
248
|
+
},
|
|
249
|
+
borderRadius: {
|
|
250
|
+
label: 'Border Radius',
|
|
251
|
+
description: 'Corner rounding amount.',
|
|
252
|
+
category: 'style',
|
|
253
|
+
specialCategory: null,
|
|
254
|
+
sort: 21,
|
|
255
|
+
preferedScale: 's',
|
|
256
|
+
},
|
|
257
|
+
width: {
|
|
258
|
+
label: 'Width',
|
|
259
|
+
description: 'Fixed width value.',
|
|
260
|
+
category: 'container',
|
|
261
|
+
specialCategory: 'size',
|
|
262
|
+
sort: 0,
|
|
263
|
+
preferedScale: 's',
|
|
264
|
+
},
|
|
265
|
+
height: {
|
|
266
|
+
label: 'Height',
|
|
267
|
+
description: 'Fixed height value.',
|
|
268
|
+
category: 'container',
|
|
269
|
+
specialCategory: 'size',
|
|
270
|
+
sort: 1,
|
|
271
|
+
preferedScale: 'vs',
|
|
272
|
+
},
|
|
273
|
+
flex: {
|
|
274
|
+
label: 'Flex',
|
|
275
|
+
description: 'Flex grow factor (e.g. 1 fills available space).',
|
|
276
|
+
category: 'container',
|
|
277
|
+
specialCategory: 'size',
|
|
278
|
+
sort: 2,
|
|
279
|
+
},
|
|
280
|
+
position: {
|
|
281
|
+
label: 'Position',
|
|
282
|
+
description: 'Sets layout positioning mode.',
|
|
283
|
+
category: 'container',
|
|
284
|
+
specialCategory: null,
|
|
285
|
+
sort: 3,
|
|
286
|
+
},
|
|
287
|
+
top: {
|
|
288
|
+
label: 'Top',
|
|
289
|
+
description: 'Offset from the top edge.',
|
|
290
|
+
category: 'container',
|
|
291
|
+
specialCategory: 'offset',
|
|
292
|
+
sort: 22,
|
|
293
|
+
preferedScale: 'vs',
|
|
294
|
+
},
|
|
295
|
+
bottom: {
|
|
296
|
+
label: 'Bottom',
|
|
297
|
+
description: 'Offset from the bottom edge.',
|
|
298
|
+
category: 'container',
|
|
299
|
+
specialCategory: 'offset',
|
|
300
|
+
sort: 23,
|
|
301
|
+
preferedScale: 'vs',
|
|
302
|
+
},
|
|
303
|
+
left: {
|
|
304
|
+
label: 'Left',
|
|
305
|
+
description: 'Offset from the left edge.',
|
|
306
|
+
category: 'container',
|
|
307
|
+
specialCategory: 'offset',
|
|
308
|
+
sort: 24,
|
|
309
|
+
preferedScale: 's',
|
|
310
|
+
},
|
|
311
|
+
right: {
|
|
312
|
+
label: 'Right',
|
|
313
|
+
description: 'Offset from the right edge.',
|
|
314
|
+
category: 'container',
|
|
315
|
+
specialCategory: 'offset',
|
|
316
|
+
sort: 25,
|
|
317
|
+
preferedScale: 's',
|
|
318
|
+
},
|
|
319
|
+
zIndex: {
|
|
320
|
+
label: 'Z-Index',
|
|
321
|
+
description: 'Controls stacking order.',
|
|
322
|
+
category: 'container',
|
|
323
|
+
specialCategory: null,
|
|
324
|
+
sort: 26,
|
|
325
|
+
},
|
|
326
|
+
src: {
|
|
327
|
+
label: 'Src',
|
|
328
|
+
description: 'Image source URL.',
|
|
329
|
+
category: 'other',
|
|
330
|
+
specialCategory: null,
|
|
331
|
+
sort: 1,
|
|
332
|
+
},
|
|
333
|
+
resizeMode: {
|
|
334
|
+
label: 'Resize Mode',
|
|
335
|
+
description: 'How the image fits its container.',
|
|
336
|
+
category: 'style',
|
|
337
|
+
specialCategory: null,
|
|
338
|
+
sort: 4,
|
|
339
|
+
},
|
|
340
|
+
},
|
|
341
|
+
},
|
|
342
|
+
types: {},
|
|
343
|
+
defaults: {
|
|
344
|
+
resizeMode: 'cover',
|
|
345
|
+
width: '100%',
|
|
346
|
+
height: '100%',
|
|
347
|
+
position: 'fixed',
|
|
348
|
+
top: 0,
|
|
349
|
+
left: 0,
|
|
350
|
+
right: 0,
|
|
351
|
+
bottom: 0,
|
|
352
|
+
zIndex: 0,
|
|
353
|
+
flexDirection: 'column',
|
|
354
|
+
},
|
|
355
|
+
},
|
|
5
356
|
{
|
|
6
357
|
schemaVersion: 1,
|
|
7
358
|
allowUnknownAttributes: false,
|
|
@@ -38,6 +389,13 @@ export const patterns = [
|
|
|
38
389
|
borderRadius: 'size',
|
|
39
390
|
width: 'size',
|
|
40
391
|
height: 'size',
|
|
392
|
+
flex: 'number',
|
|
393
|
+
position: ['relative', 'absolute'],
|
|
394
|
+
top: 'size',
|
|
395
|
+
bottom: 'size',
|
|
396
|
+
left: 'size',
|
|
397
|
+
right: 'size',
|
|
398
|
+
zIndex: 'number',
|
|
41
399
|
color: 'color',
|
|
42
400
|
fontSize: 'size',
|
|
43
401
|
fontWeight: [
|
|
@@ -79,6 +437,12 @@ export const patterns = [
|
|
|
79
437
|
category: 'container',
|
|
80
438
|
sort: 3,
|
|
81
439
|
},
|
|
440
|
+
offset: {
|
|
441
|
+
label: 'Offset',
|
|
442
|
+
description: 'Absolute positioning offsets.',
|
|
443
|
+
category: 'container',
|
|
444
|
+
sort: 4,
|
|
445
|
+
},
|
|
82
446
|
},
|
|
83
447
|
attributes: {
|
|
84
448
|
scrollable: {
|
|
@@ -260,6 +624,59 @@ export const patterns = [
|
|
|
260
624
|
sort: 1,
|
|
261
625
|
preferedScale: 'vs',
|
|
262
626
|
},
|
|
627
|
+
flex: {
|
|
628
|
+
label: 'Flex',
|
|
629
|
+
description: 'Flex grow factor (e.g. 1 fills available space).',
|
|
630
|
+
category: 'container',
|
|
631
|
+
specialCategory: 'size',
|
|
632
|
+
sort: 2,
|
|
633
|
+
},
|
|
634
|
+
position: {
|
|
635
|
+
label: 'Position',
|
|
636
|
+
description: 'Sets layout positioning mode.',
|
|
637
|
+
category: 'container',
|
|
638
|
+
specialCategory: null,
|
|
639
|
+
sort: 3,
|
|
640
|
+
},
|
|
641
|
+
top: {
|
|
642
|
+
label: 'Top',
|
|
643
|
+
description: 'Offset from the top edge.',
|
|
644
|
+
category: 'container',
|
|
645
|
+
specialCategory: 'offset',
|
|
646
|
+
sort: 22,
|
|
647
|
+
preferedScale: 'vs',
|
|
648
|
+
},
|
|
649
|
+
bottom: {
|
|
650
|
+
label: 'Bottom',
|
|
651
|
+
description: 'Offset from the bottom edge.',
|
|
652
|
+
category: 'container',
|
|
653
|
+
specialCategory: 'offset',
|
|
654
|
+
sort: 23,
|
|
655
|
+
preferedScale: 'vs',
|
|
656
|
+
},
|
|
657
|
+
left: {
|
|
658
|
+
label: 'Left',
|
|
659
|
+
description: 'Offset from the left edge.',
|
|
660
|
+
category: 'container',
|
|
661
|
+
specialCategory: 'offset',
|
|
662
|
+
sort: 24,
|
|
663
|
+
preferedScale: 's',
|
|
664
|
+
},
|
|
665
|
+
right: {
|
|
666
|
+
label: 'Right',
|
|
667
|
+
description: 'Offset from the right edge.',
|
|
668
|
+
category: 'container',
|
|
669
|
+
specialCategory: 'offset',
|
|
670
|
+
sort: 25,
|
|
671
|
+
preferedScale: 's',
|
|
672
|
+
},
|
|
673
|
+
zIndex: {
|
|
674
|
+
label: 'Z-Index',
|
|
675
|
+
description: 'Controls stacking order.',
|
|
676
|
+
category: 'container',
|
|
677
|
+
specialCategory: null,
|
|
678
|
+
sort: 26,
|
|
679
|
+
},
|
|
263
680
|
color: {
|
|
264
681
|
label: 'Color',
|
|
265
682
|
description: 'Text color of the button.',
|
|
@@ -322,6 +739,13 @@ export const patterns = [
|
|
|
322
739
|
borderRadius: 'size',
|
|
323
740
|
width: 'size',
|
|
324
741
|
height: 'size',
|
|
742
|
+
flex: 'number',
|
|
743
|
+
position: ['relative', 'absolute'],
|
|
744
|
+
top: 'size',
|
|
745
|
+
bottom: 'size',
|
|
746
|
+
left: 'size',
|
|
747
|
+
right: 'size',
|
|
748
|
+
zIndex: 'number',
|
|
325
749
|
},
|
|
326
750
|
defaults: { flexDirection: 'row' },
|
|
327
751
|
},
|
|
@@ -348,6 +772,12 @@ export const patterns = [
|
|
|
348
772
|
category: 'container',
|
|
349
773
|
sort: 3,
|
|
350
774
|
},
|
|
775
|
+
offset: {
|
|
776
|
+
label: 'Offset',
|
|
777
|
+
description: 'Absolute positioning offsets.',
|
|
778
|
+
category: 'container',
|
|
779
|
+
sort: 4,
|
|
780
|
+
},
|
|
351
781
|
},
|
|
352
782
|
attributes: {
|
|
353
783
|
scrollable: {
|
|
@@ -529,6 +959,59 @@ export const patterns = [
|
|
|
529
959
|
sort: 1,
|
|
530
960
|
preferedScale: 'vs',
|
|
531
961
|
},
|
|
962
|
+
flex: {
|
|
963
|
+
label: 'Flex',
|
|
964
|
+
description: 'Flex grow factor (e.g. 1 fills available space).',
|
|
965
|
+
category: 'container',
|
|
966
|
+
specialCategory: 'size',
|
|
967
|
+
sort: 2,
|
|
968
|
+
},
|
|
969
|
+
position: {
|
|
970
|
+
label: 'Position',
|
|
971
|
+
description: 'Sets layout positioning mode.',
|
|
972
|
+
category: 'container',
|
|
973
|
+
specialCategory: null,
|
|
974
|
+
sort: 3,
|
|
975
|
+
},
|
|
976
|
+
top: {
|
|
977
|
+
label: 'Top',
|
|
978
|
+
description: 'Offset from the top edge.',
|
|
979
|
+
category: 'container',
|
|
980
|
+
specialCategory: 'offset',
|
|
981
|
+
sort: 22,
|
|
982
|
+
preferedScale: 'vs',
|
|
983
|
+
},
|
|
984
|
+
bottom: {
|
|
985
|
+
label: 'Bottom',
|
|
986
|
+
description: 'Offset from the bottom edge.',
|
|
987
|
+
category: 'container',
|
|
988
|
+
specialCategory: 'offset',
|
|
989
|
+
sort: 23,
|
|
990
|
+
preferedScale: 'vs',
|
|
991
|
+
},
|
|
992
|
+
left: {
|
|
993
|
+
label: 'Left',
|
|
994
|
+
description: 'Offset from the left edge.',
|
|
995
|
+
category: 'container',
|
|
996
|
+
specialCategory: 'offset',
|
|
997
|
+
sort: 24,
|
|
998
|
+
preferedScale: 's',
|
|
999
|
+
},
|
|
1000
|
+
right: {
|
|
1001
|
+
label: 'Right',
|
|
1002
|
+
description: 'Offset from the right edge.',
|
|
1003
|
+
category: 'container',
|
|
1004
|
+
specialCategory: 'offset',
|
|
1005
|
+
sort: 25,
|
|
1006
|
+
preferedScale: 's',
|
|
1007
|
+
},
|
|
1008
|
+
zIndex: {
|
|
1009
|
+
label: 'Z-Index',
|
|
1010
|
+
description: 'Controls stacking order.',
|
|
1011
|
+
category: 'container',
|
|
1012
|
+
specialCategory: null,
|
|
1013
|
+
sort: 26,
|
|
1014
|
+
},
|
|
532
1015
|
},
|
|
533
1016
|
},
|
|
534
1017
|
types: {},
|
|
@@ -570,6 +1053,13 @@ export const patterns = [
|
|
|
570
1053
|
borderRadius: 'size',
|
|
571
1054
|
width: 'size',
|
|
572
1055
|
height: 'size',
|
|
1056
|
+
flex: 'number',
|
|
1057
|
+
position: ['relative', 'absolute'],
|
|
1058
|
+
top: 'size',
|
|
1059
|
+
bottom: 'size',
|
|
1060
|
+
left: 'size',
|
|
1061
|
+
right: 'size',
|
|
1062
|
+
zIndex: 'number',
|
|
573
1063
|
buttonType: ['previous_button', 'next_button', 'skip_button'],
|
|
574
1064
|
skipNumber: 'number',
|
|
575
1065
|
},
|
|
@@ -598,6 +1088,12 @@ export const patterns = [
|
|
|
598
1088
|
category: 'container',
|
|
599
1089
|
sort: 3,
|
|
600
1090
|
},
|
|
1091
|
+
offset: {
|
|
1092
|
+
label: 'Offset',
|
|
1093
|
+
description: 'Absolute positioning offsets.',
|
|
1094
|
+
category: 'container',
|
|
1095
|
+
sort: 4,
|
|
1096
|
+
},
|
|
601
1097
|
},
|
|
602
1098
|
attributes: {
|
|
603
1099
|
scrollable: {
|
|
@@ -779,6 +1275,59 @@ export const patterns = [
|
|
|
779
1275
|
sort: 1,
|
|
780
1276
|
preferedScale: 'vs',
|
|
781
1277
|
},
|
|
1278
|
+
flex: {
|
|
1279
|
+
label: 'Flex',
|
|
1280
|
+
description: 'Flex grow factor (e.g. 1 fills available space).',
|
|
1281
|
+
category: 'container',
|
|
1282
|
+
specialCategory: 'size',
|
|
1283
|
+
sort: 2,
|
|
1284
|
+
},
|
|
1285
|
+
position: {
|
|
1286
|
+
label: 'Position',
|
|
1287
|
+
description: 'Sets layout positioning mode.',
|
|
1288
|
+
category: 'container',
|
|
1289
|
+
specialCategory: null,
|
|
1290
|
+
sort: 3,
|
|
1291
|
+
},
|
|
1292
|
+
top: {
|
|
1293
|
+
label: 'Top',
|
|
1294
|
+
description: 'Offset from the top edge.',
|
|
1295
|
+
category: 'container',
|
|
1296
|
+
specialCategory: 'offset',
|
|
1297
|
+
sort: 22,
|
|
1298
|
+
preferedScale: 'vs',
|
|
1299
|
+
},
|
|
1300
|
+
bottom: {
|
|
1301
|
+
label: 'Bottom',
|
|
1302
|
+
description: 'Offset from the bottom edge.',
|
|
1303
|
+
category: 'container',
|
|
1304
|
+
specialCategory: 'offset',
|
|
1305
|
+
sort: 23,
|
|
1306
|
+
preferedScale: 'vs',
|
|
1307
|
+
},
|
|
1308
|
+
left: {
|
|
1309
|
+
label: 'Left',
|
|
1310
|
+
description: 'Offset from the left edge.',
|
|
1311
|
+
category: 'container',
|
|
1312
|
+
specialCategory: 'offset',
|
|
1313
|
+
sort: 24,
|
|
1314
|
+
preferedScale: 's',
|
|
1315
|
+
},
|
|
1316
|
+
right: {
|
|
1317
|
+
label: 'Right',
|
|
1318
|
+
description: 'Offset from the right edge.',
|
|
1319
|
+
category: 'container',
|
|
1320
|
+
specialCategory: 'offset',
|
|
1321
|
+
sort: 25,
|
|
1322
|
+
preferedScale: 's',
|
|
1323
|
+
},
|
|
1324
|
+
zIndex: {
|
|
1325
|
+
label: 'Z-Index',
|
|
1326
|
+
description: 'Controls stacking order.',
|
|
1327
|
+
category: 'container',
|
|
1328
|
+
specialCategory: null,
|
|
1329
|
+
sort: 26,
|
|
1330
|
+
},
|
|
782
1331
|
buttonType: {
|
|
783
1332
|
label: 'Button Type',
|
|
784
1333
|
description: 'Which carousel button to show.',
|
|
@@ -834,6 +1383,13 @@ export const patterns = [
|
|
|
834
1383
|
borderRadius: 'size',
|
|
835
1384
|
width: 'size',
|
|
836
1385
|
height: 'size',
|
|
1386
|
+
flex: 'number',
|
|
1387
|
+
position: ['relative', 'absolute'],
|
|
1388
|
+
top: 'size',
|
|
1389
|
+
bottom: 'size',
|
|
1390
|
+
left: 'size',
|
|
1391
|
+
right: 'size',
|
|
1392
|
+
zIndex: 'number',
|
|
837
1393
|
dotType: [
|
|
838
1394
|
'expanding_dot',
|
|
839
1395
|
'normal_dot',
|
|
@@ -868,6 +1424,12 @@ export const patterns = [
|
|
|
868
1424
|
category: 'container',
|
|
869
1425
|
sort: 3,
|
|
870
1426
|
},
|
|
1427
|
+
offset: {
|
|
1428
|
+
label: 'Offset',
|
|
1429
|
+
description: 'Absolute positioning offsets.',
|
|
1430
|
+
category: 'container',
|
|
1431
|
+
sort: 4,
|
|
1432
|
+
},
|
|
871
1433
|
},
|
|
872
1434
|
attributes: {
|
|
873
1435
|
scrollable: {
|
|
@@ -1049,6 +1611,59 @@ export const patterns = [
|
|
|
1049
1611
|
sort: 1,
|
|
1050
1612
|
preferedScale: 'vs',
|
|
1051
1613
|
},
|
|
1614
|
+
flex: {
|
|
1615
|
+
label: 'Flex',
|
|
1616
|
+
description: 'Flex grow factor (e.g. 1 fills available space).',
|
|
1617
|
+
category: 'container',
|
|
1618
|
+
specialCategory: 'size',
|
|
1619
|
+
sort: 2,
|
|
1620
|
+
},
|
|
1621
|
+
position: {
|
|
1622
|
+
label: 'Position',
|
|
1623
|
+
description: 'Sets layout positioning mode.',
|
|
1624
|
+
category: 'container',
|
|
1625
|
+
specialCategory: null,
|
|
1626
|
+
sort: 3,
|
|
1627
|
+
},
|
|
1628
|
+
top: {
|
|
1629
|
+
label: 'Top',
|
|
1630
|
+
description: 'Offset from the top edge.',
|
|
1631
|
+
category: 'container',
|
|
1632
|
+
specialCategory: 'offset',
|
|
1633
|
+
sort: 22,
|
|
1634
|
+
preferedScale: 'vs',
|
|
1635
|
+
},
|
|
1636
|
+
bottom: {
|
|
1637
|
+
label: 'Bottom',
|
|
1638
|
+
description: 'Offset from the bottom edge.',
|
|
1639
|
+
category: 'container',
|
|
1640
|
+
specialCategory: 'offset',
|
|
1641
|
+
sort: 23,
|
|
1642
|
+
preferedScale: 'vs',
|
|
1643
|
+
},
|
|
1644
|
+
left: {
|
|
1645
|
+
label: 'Left',
|
|
1646
|
+
description: 'Offset from the left edge.',
|
|
1647
|
+
category: 'container',
|
|
1648
|
+
specialCategory: 'offset',
|
|
1649
|
+
sort: 24,
|
|
1650
|
+
preferedScale: 's',
|
|
1651
|
+
},
|
|
1652
|
+
right: {
|
|
1653
|
+
label: 'Right',
|
|
1654
|
+
description: 'Offset from the right edge.',
|
|
1655
|
+
category: 'container',
|
|
1656
|
+
specialCategory: 'offset',
|
|
1657
|
+
sort: 25,
|
|
1658
|
+
preferedScale: 's',
|
|
1659
|
+
},
|
|
1660
|
+
zIndex: {
|
|
1661
|
+
label: 'Z-Index',
|
|
1662
|
+
description: 'Controls stacking order.',
|
|
1663
|
+
category: 'container',
|
|
1664
|
+
specialCategory: null,
|
|
1665
|
+
sort: 26,
|
|
1666
|
+
},
|
|
1052
1667
|
dotType: {
|
|
1053
1668
|
label: 'Dot Type',
|
|
1054
1669
|
description: 'Style used for the dots.',
|
|
@@ -1097,6 +1712,13 @@ export const patterns = [
|
|
|
1097
1712
|
borderRadius: 'size',
|
|
1098
1713
|
width: 'size',
|
|
1099
1714
|
height: 'size',
|
|
1715
|
+
flex: 'number',
|
|
1716
|
+
position: ['relative', 'absolute'],
|
|
1717
|
+
top: 'size',
|
|
1718
|
+
bottom: 'size',
|
|
1719
|
+
left: 'size',
|
|
1720
|
+
right: 'size',
|
|
1721
|
+
zIndex: 'number',
|
|
1100
1722
|
},
|
|
1101
1723
|
defaults: { flexDirection: 'column' },
|
|
1102
1724
|
},
|
|
@@ -1123,6 +1745,12 @@ export const patterns = [
|
|
|
1123
1745
|
category: 'container',
|
|
1124
1746
|
sort: 3,
|
|
1125
1747
|
},
|
|
1748
|
+
offset: {
|
|
1749
|
+
label: 'Offset',
|
|
1750
|
+
description: 'Absolute positioning offsets.',
|
|
1751
|
+
category: 'container',
|
|
1752
|
+
sort: 4,
|
|
1753
|
+
},
|
|
1126
1754
|
},
|
|
1127
1755
|
attributes: {
|
|
1128
1756
|
scrollable: {
|
|
@@ -1304,6 +1932,59 @@ export const patterns = [
|
|
|
1304
1932
|
sort: 1,
|
|
1305
1933
|
preferedScale: 'vs',
|
|
1306
1934
|
},
|
|
1935
|
+
flex: {
|
|
1936
|
+
label: 'Flex',
|
|
1937
|
+
description: 'Flex grow factor (e.g. 1 fills available space).',
|
|
1938
|
+
category: 'container',
|
|
1939
|
+
specialCategory: 'size',
|
|
1940
|
+
sort: 2,
|
|
1941
|
+
},
|
|
1942
|
+
position: {
|
|
1943
|
+
label: 'Position',
|
|
1944
|
+
description: 'Sets layout positioning mode.',
|
|
1945
|
+
category: 'container',
|
|
1946
|
+
specialCategory: null,
|
|
1947
|
+
sort: 3,
|
|
1948
|
+
},
|
|
1949
|
+
top: {
|
|
1950
|
+
label: 'Top',
|
|
1951
|
+
description: 'Offset from the top edge.',
|
|
1952
|
+
category: 'container',
|
|
1953
|
+
specialCategory: 'offset',
|
|
1954
|
+
sort: 22,
|
|
1955
|
+
preferedScale: 'vs',
|
|
1956
|
+
},
|
|
1957
|
+
bottom: {
|
|
1958
|
+
label: 'Bottom',
|
|
1959
|
+
description: 'Offset from the bottom edge.',
|
|
1960
|
+
category: 'container',
|
|
1961
|
+
specialCategory: 'offset',
|
|
1962
|
+
sort: 23,
|
|
1963
|
+
preferedScale: 'vs',
|
|
1964
|
+
},
|
|
1965
|
+
left: {
|
|
1966
|
+
label: 'Left',
|
|
1967
|
+
description: 'Offset from the left edge.',
|
|
1968
|
+
category: 'container',
|
|
1969
|
+
specialCategory: 'offset',
|
|
1970
|
+
sort: 24,
|
|
1971
|
+
preferedScale: 's',
|
|
1972
|
+
},
|
|
1973
|
+
right: {
|
|
1974
|
+
label: 'Right',
|
|
1975
|
+
description: 'Offset from the right edge.',
|
|
1976
|
+
category: 'container',
|
|
1977
|
+
specialCategory: 'offset',
|
|
1978
|
+
sort: 25,
|
|
1979
|
+
preferedScale: 's',
|
|
1980
|
+
},
|
|
1981
|
+
zIndex: {
|
|
1982
|
+
label: 'Z-Index',
|
|
1983
|
+
description: 'Controls stacking order.',
|
|
1984
|
+
category: 'container',
|
|
1985
|
+
specialCategory: null,
|
|
1986
|
+
sort: 26,
|
|
1987
|
+
},
|
|
1307
1988
|
},
|
|
1308
1989
|
},
|
|
1309
1990
|
types: {},
|
|
@@ -1345,6 +2026,13 @@ export const patterns = [
|
|
|
1345
2026
|
borderRadius: 'size',
|
|
1346
2027
|
width: 'size',
|
|
1347
2028
|
height: 'size',
|
|
2029
|
+
flex: 'number',
|
|
2030
|
+
position: ['relative', 'absolute'],
|
|
2031
|
+
top: 'size',
|
|
2032
|
+
bottom: 'size',
|
|
2033
|
+
left: 'size',
|
|
2034
|
+
right: 'size',
|
|
2035
|
+
zIndex: 'number',
|
|
1348
2036
|
},
|
|
1349
2037
|
defaults: { flexDirection: 'column' },
|
|
1350
2038
|
},
|
|
@@ -1371,6 +2059,12 @@ export const patterns = [
|
|
|
1371
2059
|
category: 'container',
|
|
1372
2060
|
sort: 3,
|
|
1373
2061
|
},
|
|
2062
|
+
offset: {
|
|
2063
|
+
label: 'Offset',
|
|
2064
|
+
description: 'Absolute positioning offsets.',
|
|
2065
|
+
category: 'container',
|
|
2066
|
+
sort: 4,
|
|
2067
|
+
},
|
|
1374
2068
|
},
|
|
1375
2069
|
attributes: {
|
|
1376
2070
|
scrollable: {
|
|
@@ -1552,6 +2246,59 @@ export const patterns = [
|
|
|
1552
2246
|
sort: 1,
|
|
1553
2247
|
preferedScale: 'vs',
|
|
1554
2248
|
},
|
|
2249
|
+
flex: {
|
|
2250
|
+
label: 'Flex',
|
|
2251
|
+
description: 'Flex grow factor (e.g. 1 fills available space).',
|
|
2252
|
+
category: 'container',
|
|
2253
|
+
specialCategory: 'size',
|
|
2254
|
+
sort: 2,
|
|
2255
|
+
},
|
|
2256
|
+
position: {
|
|
2257
|
+
label: 'Position',
|
|
2258
|
+
description: 'Sets layout positioning mode.',
|
|
2259
|
+
category: 'container',
|
|
2260
|
+
specialCategory: null,
|
|
2261
|
+
sort: 3,
|
|
2262
|
+
},
|
|
2263
|
+
top: {
|
|
2264
|
+
label: 'Top',
|
|
2265
|
+
description: 'Offset from the top edge.',
|
|
2266
|
+
category: 'container',
|
|
2267
|
+
specialCategory: 'offset',
|
|
2268
|
+
sort: 22,
|
|
2269
|
+
preferedScale: 'vs',
|
|
2270
|
+
},
|
|
2271
|
+
bottom: {
|
|
2272
|
+
label: 'Bottom',
|
|
2273
|
+
description: 'Offset from the bottom edge.',
|
|
2274
|
+
category: 'container',
|
|
2275
|
+
specialCategory: 'offset',
|
|
2276
|
+
sort: 23,
|
|
2277
|
+
preferedScale: 'vs',
|
|
2278
|
+
},
|
|
2279
|
+
left: {
|
|
2280
|
+
label: 'Left',
|
|
2281
|
+
description: 'Offset from the left edge.',
|
|
2282
|
+
category: 'container',
|
|
2283
|
+
specialCategory: 'offset',
|
|
2284
|
+
sort: 24,
|
|
2285
|
+
preferedScale: 's',
|
|
2286
|
+
},
|
|
2287
|
+
right: {
|
|
2288
|
+
label: 'Right',
|
|
2289
|
+
description: 'Offset from the right edge.',
|
|
2290
|
+
category: 'container',
|
|
2291
|
+
specialCategory: 'offset',
|
|
2292
|
+
sort: 25,
|
|
2293
|
+
preferedScale: 's',
|
|
2294
|
+
},
|
|
2295
|
+
zIndex: {
|
|
2296
|
+
label: 'Z-Index',
|
|
2297
|
+
description: 'Controls stacking order.',
|
|
2298
|
+
category: 'container',
|
|
2299
|
+
specialCategory: null,
|
|
2300
|
+
sort: 26,
|
|
2301
|
+
},
|
|
1555
2302
|
},
|
|
1556
2303
|
},
|
|
1557
2304
|
types: {},
|
|
@@ -1593,6 +2340,13 @@ export const patterns = [
|
|
|
1593
2340
|
borderRadius: 'size',
|
|
1594
2341
|
width: 'size',
|
|
1595
2342
|
height: 'size',
|
|
2343
|
+
flex: 'number',
|
|
2344
|
+
position: ['relative', 'absolute'],
|
|
2345
|
+
top: 'size',
|
|
2346
|
+
bottom: 'size',
|
|
2347
|
+
left: 'size',
|
|
2348
|
+
right: 'size',
|
|
2349
|
+
zIndex: 'number',
|
|
1596
2350
|
src: 'string',
|
|
1597
2351
|
resizeMode: ['cover', 'contain', 'stretch', 'center'],
|
|
1598
2352
|
},
|
|
@@ -1621,6 +2375,12 @@ export const patterns = [
|
|
|
1621
2375
|
category: 'container',
|
|
1622
2376
|
sort: 3,
|
|
1623
2377
|
},
|
|
2378
|
+
offset: {
|
|
2379
|
+
label: 'Offset',
|
|
2380
|
+
description: 'Absolute positioning offsets.',
|
|
2381
|
+
category: 'container',
|
|
2382
|
+
sort: 4,
|
|
2383
|
+
},
|
|
1624
2384
|
},
|
|
1625
2385
|
attributes: {
|
|
1626
2386
|
scrollable: {
|
|
@@ -1780,10 +2540,11 @@ export const patterns = [
|
|
|
1780
2540
|
},
|
|
1781
2541
|
borderRadius: {
|
|
1782
2542
|
label: 'Border Radius',
|
|
1783
|
-
description: 'Corner rounding.',
|
|
2543
|
+
description: 'Corner rounding amount.',
|
|
1784
2544
|
category: 'style',
|
|
1785
2545
|
specialCategory: null,
|
|
1786
|
-
sort:
|
|
2546
|
+
sort: 21,
|
|
2547
|
+
preferedScale: 's',
|
|
1787
2548
|
},
|
|
1788
2549
|
width: {
|
|
1789
2550
|
label: 'Width',
|
|
@@ -1799,6 +2560,59 @@ export const patterns = [
|
|
|
1799
2560
|
specialCategory: null,
|
|
1800
2561
|
sort: 3,
|
|
1801
2562
|
},
|
|
2563
|
+
flex: {
|
|
2564
|
+
label: 'Flex',
|
|
2565
|
+
description: 'Flex grow factor (e.g. 1 fills available space).',
|
|
2566
|
+
category: 'container',
|
|
2567
|
+
specialCategory: 'size',
|
|
2568
|
+
sort: 2,
|
|
2569
|
+
},
|
|
2570
|
+
position: {
|
|
2571
|
+
label: 'Position',
|
|
2572
|
+
description: 'Sets layout positioning mode.',
|
|
2573
|
+
category: 'container',
|
|
2574
|
+
specialCategory: null,
|
|
2575
|
+
sort: 3,
|
|
2576
|
+
},
|
|
2577
|
+
top: {
|
|
2578
|
+
label: 'Top',
|
|
2579
|
+
description: 'Offset from the top edge.',
|
|
2580
|
+
category: 'container',
|
|
2581
|
+
specialCategory: 'offset',
|
|
2582
|
+
sort: 22,
|
|
2583
|
+
preferedScale: 'vs',
|
|
2584
|
+
},
|
|
2585
|
+
bottom: {
|
|
2586
|
+
label: 'Bottom',
|
|
2587
|
+
description: 'Offset from the bottom edge.',
|
|
2588
|
+
category: 'container',
|
|
2589
|
+
specialCategory: 'offset',
|
|
2590
|
+
sort: 23,
|
|
2591
|
+
preferedScale: 'vs',
|
|
2592
|
+
},
|
|
2593
|
+
left: {
|
|
2594
|
+
label: 'Left',
|
|
2595
|
+
description: 'Offset from the left edge.',
|
|
2596
|
+
category: 'container',
|
|
2597
|
+
specialCategory: 'offset',
|
|
2598
|
+
sort: 24,
|
|
2599
|
+
preferedScale: 's',
|
|
2600
|
+
},
|
|
2601
|
+
right: {
|
|
2602
|
+
label: 'Right',
|
|
2603
|
+
description: 'Offset from the right edge.',
|
|
2604
|
+
category: 'container',
|
|
2605
|
+
specialCategory: 'offset',
|
|
2606
|
+
sort: 25,
|
|
2607
|
+
preferedScale: 's',
|
|
2608
|
+
},
|
|
2609
|
+
zIndex: {
|
|
2610
|
+
label: 'Z-Index',
|
|
2611
|
+
description: 'Controls stacking order.',
|
|
2612
|
+
category: 'container',
|
|
2613
|
+
specialCategory: null,
|
|
2614
|
+
sort: 26,
|
|
2615
|
+
},
|
|
1802
2616
|
src: {
|
|
1803
2617
|
label: 'Src',
|
|
1804
2618
|
description: 'Image source URL.',
|
|
@@ -1854,6 +2668,13 @@ export const patterns = [
|
|
|
1854
2668
|
borderRadius: 'size',
|
|
1855
2669
|
width: 'size',
|
|
1856
2670
|
height: 'size',
|
|
2671
|
+
flex: 'number',
|
|
2672
|
+
position: ['relative', 'absolute'],
|
|
2673
|
+
top: 'size',
|
|
2674
|
+
bottom: 'size',
|
|
2675
|
+
left: 'size',
|
|
2676
|
+
right: 'size',
|
|
2677
|
+
zIndex: 'number',
|
|
1857
2678
|
},
|
|
1858
2679
|
defaults: { flexDirection: 'row' },
|
|
1859
2680
|
},
|
|
@@ -1880,6 +2701,12 @@ export const patterns = [
|
|
|
1880
2701
|
category: 'container',
|
|
1881
2702
|
sort: 3,
|
|
1882
2703
|
},
|
|
2704
|
+
offset: {
|
|
2705
|
+
label: 'Offset',
|
|
2706
|
+
description: 'Absolute positioning offsets.',
|
|
2707
|
+
category: 'container',
|
|
2708
|
+
sort: 4,
|
|
2709
|
+
},
|
|
1883
2710
|
},
|
|
1884
2711
|
attributes: {
|
|
1885
2712
|
scrollable: {
|
|
@@ -2061,6 +2888,59 @@ export const patterns = [
|
|
|
2061
2888
|
sort: 1,
|
|
2062
2889
|
preferedScale: 'vs',
|
|
2063
2890
|
},
|
|
2891
|
+
flex: {
|
|
2892
|
+
label: 'Flex',
|
|
2893
|
+
description: 'Flex grow factor (e.g. 1 fills available space).',
|
|
2894
|
+
category: 'container',
|
|
2895
|
+
specialCategory: 'size',
|
|
2896
|
+
sort: 2,
|
|
2897
|
+
},
|
|
2898
|
+
position: {
|
|
2899
|
+
label: 'Position',
|
|
2900
|
+
description: 'Sets layout positioning mode.',
|
|
2901
|
+
category: 'container',
|
|
2902
|
+
specialCategory: null,
|
|
2903
|
+
sort: 3,
|
|
2904
|
+
},
|
|
2905
|
+
top: {
|
|
2906
|
+
label: 'Top',
|
|
2907
|
+
description: 'Offset from the top edge.',
|
|
2908
|
+
category: 'container',
|
|
2909
|
+
specialCategory: 'offset',
|
|
2910
|
+
sort: 22,
|
|
2911
|
+
preferedScale: 'vs',
|
|
2912
|
+
},
|
|
2913
|
+
bottom: {
|
|
2914
|
+
label: 'Bottom',
|
|
2915
|
+
description: 'Offset from the bottom edge.',
|
|
2916
|
+
category: 'container',
|
|
2917
|
+
specialCategory: 'offset',
|
|
2918
|
+
sort: 23,
|
|
2919
|
+
preferedScale: 'vs',
|
|
2920
|
+
},
|
|
2921
|
+
left: {
|
|
2922
|
+
label: 'Left',
|
|
2923
|
+
description: 'Offset from the left edge.',
|
|
2924
|
+
category: 'container',
|
|
2925
|
+
specialCategory: 'offset',
|
|
2926
|
+
sort: 24,
|
|
2927
|
+
preferedScale: 's',
|
|
2928
|
+
},
|
|
2929
|
+
right: {
|
|
2930
|
+
label: 'Right',
|
|
2931
|
+
description: 'Offset from the right edge.',
|
|
2932
|
+
category: 'container',
|
|
2933
|
+
specialCategory: 'offset',
|
|
2934
|
+
sort: 25,
|
|
2935
|
+
preferedScale: 's',
|
|
2936
|
+
},
|
|
2937
|
+
zIndex: {
|
|
2938
|
+
label: 'Z-Index',
|
|
2939
|
+
description: 'Controls stacking order.',
|
|
2940
|
+
category: 'container',
|
|
2941
|
+
specialCategory: null,
|
|
2942
|
+
sort: 26,
|
|
2943
|
+
},
|
|
2064
2944
|
},
|
|
2065
2945
|
desiredChildren: ['=OnboardItem'],
|
|
2066
2946
|
},
|
|
@@ -2103,6 +2983,13 @@ export const patterns = [
|
|
|
2103
2983
|
borderRadius: 'size',
|
|
2104
2984
|
width: 'size',
|
|
2105
2985
|
height: 'size',
|
|
2986
|
+
flex: 'number',
|
|
2987
|
+
position: ['relative', 'absolute'],
|
|
2988
|
+
top: 'size',
|
|
2989
|
+
bottom: 'size',
|
|
2990
|
+
left: 'size',
|
|
2991
|
+
right: 'size',
|
|
2992
|
+
zIndex: 'number',
|
|
2106
2993
|
labelKey: 'string',
|
|
2107
2994
|
button_text_color: 'color',
|
|
2108
2995
|
animation: [
|
|
@@ -2114,7 +3001,6 @@ export const patterns = [
|
|
|
2114
3001
|
],
|
|
2115
3002
|
animation_color: 'color',
|
|
2116
3003
|
button_background_color: 'color',
|
|
2117
|
-
flex: 'number',
|
|
2118
3004
|
events: 'EventObject[]',
|
|
2119
3005
|
},
|
|
2120
3006
|
defaults: { flexDirection: 'column' },
|
|
@@ -2142,6 +3028,12 @@ export const patterns = [
|
|
|
2142
3028
|
category: 'container',
|
|
2143
3029
|
sort: 3,
|
|
2144
3030
|
},
|
|
3031
|
+
offset: {
|
|
3032
|
+
label: 'Offset',
|
|
3033
|
+
description: 'Absolute positioning offsets.',
|
|
3034
|
+
category: 'container',
|
|
3035
|
+
sort: 4,
|
|
3036
|
+
},
|
|
2145
3037
|
},
|
|
2146
3038
|
attributes: {
|
|
2147
3039
|
scrollable: {
|
|
@@ -2323,6 +3215,59 @@ export const patterns = [
|
|
|
2323
3215
|
sort: 1,
|
|
2324
3216
|
preferedScale: 'vs',
|
|
2325
3217
|
},
|
|
3218
|
+
flex: {
|
|
3219
|
+
label: 'Flex',
|
|
3220
|
+
description: 'Flex grow value in layout.',
|
|
3221
|
+
category: 'container',
|
|
3222
|
+
specialCategory: null,
|
|
3223
|
+
sort: 6,
|
|
3224
|
+
},
|
|
3225
|
+
position: {
|
|
3226
|
+
label: 'Position',
|
|
3227
|
+
description: 'Sets layout positioning mode.',
|
|
3228
|
+
category: 'container',
|
|
3229
|
+
specialCategory: null,
|
|
3230
|
+
sort: 3,
|
|
3231
|
+
},
|
|
3232
|
+
top: {
|
|
3233
|
+
label: 'Top',
|
|
3234
|
+
description: 'Offset from the top edge.',
|
|
3235
|
+
category: 'container',
|
|
3236
|
+
specialCategory: 'offset',
|
|
3237
|
+
sort: 22,
|
|
3238
|
+
preferedScale: 'vs',
|
|
3239
|
+
},
|
|
3240
|
+
bottom: {
|
|
3241
|
+
label: 'Bottom',
|
|
3242
|
+
description: 'Offset from the bottom edge.',
|
|
3243
|
+
category: 'container',
|
|
3244
|
+
specialCategory: 'offset',
|
|
3245
|
+
sort: 23,
|
|
3246
|
+
preferedScale: 'vs',
|
|
3247
|
+
},
|
|
3248
|
+
left: {
|
|
3249
|
+
label: 'Left',
|
|
3250
|
+
description: 'Offset from the left edge.',
|
|
3251
|
+
category: 'container',
|
|
3252
|
+
specialCategory: 'offset',
|
|
3253
|
+
sort: 24,
|
|
3254
|
+
preferedScale: 's',
|
|
3255
|
+
},
|
|
3256
|
+
right: {
|
|
3257
|
+
label: 'Right',
|
|
3258
|
+
description: 'Offset from the right edge.',
|
|
3259
|
+
category: 'container',
|
|
3260
|
+
specialCategory: 'offset',
|
|
3261
|
+
sort: 25,
|
|
3262
|
+
preferedScale: 's',
|
|
3263
|
+
},
|
|
3264
|
+
zIndex: {
|
|
3265
|
+
label: 'Z-Index',
|
|
3266
|
+
description: 'Controls stacking order.',
|
|
3267
|
+
category: 'container',
|
|
3268
|
+
specialCategory: null,
|
|
3269
|
+
sort: 26,
|
|
3270
|
+
},
|
|
2326
3271
|
labelKey: {
|
|
2327
3272
|
label: 'Label Key',
|
|
2328
3273
|
description: 'Localization key for the button text.',
|
|
@@ -2358,13 +3303,6 @@ export const patterns = [
|
|
|
2358
3303
|
specialCategory: null,
|
|
2359
3304
|
sort: 5,
|
|
2360
3305
|
},
|
|
2361
|
-
flex: {
|
|
2362
|
-
label: 'Flex',
|
|
2363
|
-
description: 'Flex grow value in layout.',
|
|
2364
|
-
category: 'container',
|
|
2365
|
-
specialCategory: null,
|
|
2366
|
-
sort: 6,
|
|
2367
|
-
},
|
|
2368
3306
|
events: {
|
|
2369
3307
|
label: 'Events',
|
|
2370
3308
|
description: 'List of events fired by the button.',
|
|
@@ -2420,6 +3358,13 @@ export const patterns = [
|
|
|
2420
3358
|
borderRadius: 'size',
|
|
2421
3359
|
width: 'size',
|
|
2422
3360
|
height: 'size',
|
|
3361
|
+
flex: 'number',
|
|
3362
|
+
position: ['relative', 'absolute'],
|
|
3363
|
+
top: 'size',
|
|
3364
|
+
bottom: 'size',
|
|
3365
|
+
left: 'size',
|
|
3366
|
+
right: 'size',
|
|
3367
|
+
zIndex: 'number',
|
|
2423
3368
|
buttonType: ['previous_button', 'next_button', 'skip_button'],
|
|
2424
3369
|
skipNumber: 'number',
|
|
2425
3370
|
buttons_direction: ['row', 'column'],
|
|
@@ -2453,6 +3398,12 @@ export const patterns = [
|
|
|
2453
3398
|
category: 'container',
|
|
2454
3399
|
sort: 3,
|
|
2455
3400
|
},
|
|
3401
|
+
offset: {
|
|
3402
|
+
label: 'Offset',
|
|
3403
|
+
description: 'Absolute positioning offsets.',
|
|
3404
|
+
category: 'container',
|
|
3405
|
+
sort: 4,
|
|
3406
|
+
},
|
|
2456
3407
|
},
|
|
2457
3408
|
attributes: {
|
|
2458
3409
|
scrollable: {
|
|
@@ -2634,6 +3585,59 @@ export const patterns = [
|
|
|
2634
3585
|
sort: 1,
|
|
2635
3586
|
preferedScale: 'vs',
|
|
2636
3587
|
},
|
|
3588
|
+
flex: {
|
|
3589
|
+
label: 'Flex',
|
|
3590
|
+
description: 'Flex grow factor (e.g. 1 fills available space).',
|
|
3591
|
+
category: 'container',
|
|
3592
|
+
specialCategory: 'size',
|
|
3593
|
+
sort: 2,
|
|
3594
|
+
},
|
|
3595
|
+
position: {
|
|
3596
|
+
label: 'Position',
|
|
3597
|
+
description: 'Sets layout positioning mode.',
|
|
3598
|
+
category: 'container',
|
|
3599
|
+
specialCategory: null,
|
|
3600
|
+
sort: 3,
|
|
3601
|
+
},
|
|
3602
|
+
top: {
|
|
3603
|
+
label: 'Top',
|
|
3604
|
+
description: 'Offset from the top edge.',
|
|
3605
|
+
category: 'container',
|
|
3606
|
+
specialCategory: 'offset',
|
|
3607
|
+
sort: 22,
|
|
3608
|
+
preferedScale: 'vs',
|
|
3609
|
+
},
|
|
3610
|
+
bottom: {
|
|
3611
|
+
label: 'Bottom',
|
|
3612
|
+
description: 'Offset from the bottom edge.',
|
|
3613
|
+
category: 'container',
|
|
3614
|
+
specialCategory: 'offset',
|
|
3615
|
+
sort: 23,
|
|
3616
|
+
preferedScale: 'vs',
|
|
3617
|
+
},
|
|
3618
|
+
left: {
|
|
3619
|
+
label: 'Left',
|
|
3620
|
+
description: 'Offset from the left edge.',
|
|
3621
|
+
category: 'container',
|
|
3622
|
+
specialCategory: 'offset',
|
|
3623
|
+
sort: 24,
|
|
3624
|
+
preferedScale: 's',
|
|
3625
|
+
},
|
|
3626
|
+
right: {
|
|
3627
|
+
label: 'Right',
|
|
3628
|
+
description: 'Offset from the right edge.',
|
|
3629
|
+
category: 'container',
|
|
3630
|
+
specialCategory: 'offset',
|
|
3631
|
+
sort: 25,
|
|
3632
|
+
preferedScale: 's',
|
|
3633
|
+
},
|
|
3634
|
+
zIndex: {
|
|
3635
|
+
label: 'Z-Index',
|
|
3636
|
+
description: 'Controls stacking order.',
|
|
3637
|
+
category: 'container',
|
|
3638
|
+
specialCategory: null,
|
|
3639
|
+
sort: 26,
|
|
3640
|
+
},
|
|
2637
3641
|
buttonType: {
|
|
2638
3642
|
label: 'Button Type',
|
|
2639
3643
|
description: 'Which onboard button to show.',
|
|
@@ -2693,7 +3697,7 @@ export const patterns = [
|
|
|
2693
3697
|
allowUnknownAttributes: false,
|
|
2694
3698
|
pattern: {
|
|
2695
3699
|
type: 'OnboardDot',
|
|
2696
|
-
children: '
|
|
3700
|
+
children: 'never',
|
|
2697
3701
|
attributes: {
|
|
2698
3702
|
scrollable: 'boolean',
|
|
2699
3703
|
flexDirection: 'never',
|
|
@@ -2717,6 +3721,13 @@ export const patterns = [
|
|
|
2717
3721
|
borderRadius: 'size',
|
|
2718
3722
|
width: 'size',
|
|
2719
3723
|
height: 'size',
|
|
3724
|
+
flex: 'number',
|
|
3725
|
+
position: ['relative', 'absolute'],
|
|
3726
|
+
top: 'size',
|
|
3727
|
+
bottom: 'size',
|
|
3728
|
+
left: 'size',
|
|
3729
|
+
right: 'size',
|
|
3730
|
+
zIndex: 'number',
|
|
2720
3731
|
dotType: [
|
|
2721
3732
|
'expanding_dot',
|
|
2722
3733
|
'normal_dot',
|
|
@@ -2726,9 +3737,7 @@ export const patterns = [
|
|
|
2726
3737
|
'liquid_like',
|
|
2727
3738
|
],
|
|
2728
3739
|
inactive_dot_opacity: 'number',
|
|
2729
|
-
expanding_dot_width: '
|
|
2730
|
-
dot_style: 'string',
|
|
2731
|
-
container_style: 'string',
|
|
3740
|
+
expanding_dot_width: 'size',
|
|
2732
3741
|
active_dot_color: 'color',
|
|
2733
3742
|
},
|
|
2734
3743
|
defaults: { flexDirection: 'column' },
|
|
@@ -2756,6 +3765,12 @@ export const patterns = [
|
|
|
2756
3765
|
category: 'container',
|
|
2757
3766
|
sort: 3,
|
|
2758
3767
|
},
|
|
3768
|
+
offset: {
|
|
3769
|
+
label: 'Offset',
|
|
3770
|
+
description: 'Absolute positioning offsets.',
|
|
3771
|
+
category: 'container',
|
|
3772
|
+
sort: 4,
|
|
3773
|
+
},
|
|
2759
3774
|
},
|
|
2760
3775
|
attributes: {
|
|
2761
3776
|
scrollable: {
|
|
@@ -2937,6 +3952,59 @@ export const patterns = [
|
|
|
2937
3952
|
sort: 1,
|
|
2938
3953
|
preferedScale: 'vs',
|
|
2939
3954
|
},
|
|
3955
|
+
flex: {
|
|
3956
|
+
label: 'Flex',
|
|
3957
|
+
description: 'Flex grow factor (e.g. 1 fills available space).',
|
|
3958
|
+
category: 'container',
|
|
3959
|
+
specialCategory: 'size',
|
|
3960
|
+
sort: 2,
|
|
3961
|
+
},
|
|
3962
|
+
position: {
|
|
3963
|
+
label: 'Position',
|
|
3964
|
+
description: 'Sets layout positioning mode.',
|
|
3965
|
+
category: 'container',
|
|
3966
|
+
specialCategory: null,
|
|
3967
|
+
sort: 3,
|
|
3968
|
+
},
|
|
3969
|
+
top: {
|
|
3970
|
+
label: 'Top',
|
|
3971
|
+
description: 'Offset from the top edge.',
|
|
3972
|
+
category: 'container',
|
|
3973
|
+
specialCategory: 'offset',
|
|
3974
|
+
sort: 22,
|
|
3975
|
+
preferedScale: 'vs',
|
|
3976
|
+
},
|
|
3977
|
+
bottom: {
|
|
3978
|
+
label: 'Bottom',
|
|
3979
|
+
description: 'Offset from the bottom edge.',
|
|
3980
|
+
category: 'container',
|
|
3981
|
+
specialCategory: 'offset',
|
|
3982
|
+
sort: 23,
|
|
3983
|
+
preferedScale: 'vs',
|
|
3984
|
+
},
|
|
3985
|
+
left: {
|
|
3986
|
+
label: 'Left',
|
|
3987
|
+
description: 'Offset from the left edge.',
|
|
3988
|
+
category: 'container',
|
|
3989
|
+
specialCategory: 'offset',
|
|
3990
|
+
sort: 24,
|
|
3991
|
+
preferedScale: 's',
|
|
3992
|
+
},
|
|
3993
|
+
right: {
|
|
3994
|
+
label: 'Right',
|
|
3995
|
+
description: 'Offset from the right edge.',
|
|
3996
|
+
category: 'container',
|
|
3997
|
+
specialCategory: 'offset',
|
|
3998
|
+
sort: 25,
|
|
3999
|
+
preferedScale: 's',
|
|
4000
|
+
},
|
|
4001
|
+
zIndex: {
|
|
4002
|
+
label: 'Z-Index',
|
|
4003
|
+
description: 'Controls stacking order.',
|
|
4004
|
+
category: 'container',
|
|
4005
|
+
specialCategory: null,
|
|
4006
|
+
sort: 26,
|
|
4007
|
+
},
|
|
2940
4008
|
dotType: {
|
|
2941
4009
|
label: 'Dot Type',
|
|
2942
4010
|
description: 'Dot animation style.',
|
|
@@ -2958,26 +4026,12 @@ export const patterns = [
|
|
|
2958
4026
|
specialCategory: null,
|
|
2959
4027
|
sort: 3,
|
|
2960
4028
|
},
|
|
2961
|
-
dot_style: {
|
|
2962
|
-
label: 'Dot Style',
|
|
2963
|
-
description: 'Custom style for each dot.',
|
|
2964
|
-
category: 'style',
|
|
2965
|
-
specialCategory: null,
|
|
2966
|
-
sort: 4,
|
|
2967
|
-
},
|
|
2968
|
-
container_style: {
|
|
2969
|
-
label: 'Container Style',
|
|
2970
|
-
description: 'Style for the dot wrapper.',
|
|
2971
|
-
category: 'style',
|
|
2972
|
-
specialCategory: null,
|
|
2973
|
-
sort: 5,
|
|
2974
|
-
},
|
|
2975
4029
|
active_dot_color: {
|
|
2976
4030
|
label: 'Active Dot Color',
|
|
2977
4031
|
description: 'Color of the active dot.',
|
|
2978
4032
|
category: 'style',
|
|
2979
4033
|
specialCategory: null,
|
|
2980
|
-
sort:
|
|
4034
|
+
sort: 4,
|
|
2981
4035
|
},
|
|
2982
4036
|
},
|
|
2983
4037
|
},
|
|
@@ -3036,6 +4090,13 @@ export const patterns = [
|
|
|
3036
4090
|
borderRadius: 'size',
|
|
3037
4091
|
width: 'size',
|
|
3038
4092
|
height: 'size',
|
|
4093
|
+
flex: 'number',
|
|
4094
|
+
position: ['relative', 'absolute'],
|
|
4095
|
+
top: 'size',
|
|
4096
|
+
bottom: 'size',
|
|
4097
|
+
left: 'size',
|
|
4098
|
+
right: 'size',
|
|
4099
|
+
zIndex: 'number',
|
|
3039
4100
|
textLocalizationKey: 'string',
|
|
3040
4101
|
linkedWordFirstLocalizationKey: 'string',
|
|
3041
4102
|
linkedWordFirstColor: 'color',
|
|
@@ -3259,6 +4320,59 @@ export const patterns = [
|
|
|
3259
4320
|
sort: 1,
|
|
3260
4321
|
preferedScale: 'vs',
|
|
3261
4322
|
},
|
|
4323
|
+
flex: {
|
|
4324
|
+
label: 'Flex',
|
|
4325
|
+
description: 'Flex grow factor (e.g. 1 fills available space).',
|
|
4326
|
+
category: 'container',
|
|
4327
|
+
specialCategory: 'size',
|
|
4328
|
+
sort: 2,
|
|
4329
|
+
},
|
|
4330
|
+
position: {
|
|
4331
|
+
label: 'Position',
|
|
4332
|
+
description: 'Sets layout positioning mode.',
|
|
4333
|
+
category: 'container',
|
|
4334
|
+
specialCategory: null,
|
|
4335
|
+
sort: 3,
|
|
4336
|
+
},
|
|
4337
|
+
top: {
|
|
4338
|
+
label: 'Top',
|
|
4339
|
+
description: 'Offset from the top edge.',
|
|
4340
|
+
category: 'container',
|
|
4341
|
+
specialCategory: 'offset',
|
|
4342
|
+
sort: 22,
|
|
4343
|
+
preferedScale: 'vs',
|
|
4344
|
+
},
|
|
4345
|
+
bottom: {
|
|
4346
|
+
label: 'Bottom',
|
|
4347
|
+
description: 'Offset from the bottom edge.',
|
|
4348
|
+
category: 'container',
|
|
4349
|
+
specialCategory: 'offset',
|
|
4350
|
+
sort: 23,
|
|
4351
|
+
preferedScale: 'vs',
|
|
4352
|
+
},
|
|
4353
|
+
left: {
|
|
4354
|
+
label: 'Left',
|
|
4355
|
+
description: 'Offset from the left edge.',
|
|
4356
|
+
category: 'container',
|
|
4357
|
+
specialCategory: 'offset',
|
|
4358
|
+
sort: 24,
|
|
4359
|
+
preferedScale: 's',
|
|
4360
|
+
},
|
|
4361
|
+
right: {
|
|
4362
|
+
label: 'Right',
|
|
4363
|
+
description: 'Offset from the right edge.',
|
|
4364
|
+
category: 'container',
|
|
4365
|
+
specialCategory: 'offset',
|
|
4366
|
+
sort: 25,
|
|
4367
|
+
preferedScale: 's',
|
|
4368
|
+
},
|
|
4369
|
+
zIndex: {
|
|
4370
|
+
label: 'Z-Index',
|
|
4371
|
+
description: 'Controls stacking order.',
|
|
4372
|
+
category: 'container',
|
|
4373
|
+
specialCategory: null,
|
|
4374
|
+
sort: 26,
|
|
4375
|
+
},
|
|
3262
4376
|
textLocalizationKey: {
|
|
3263
4377
|
label: 'Text Localization Key',
|
|
3264
4378
|
description: 'Localization key for the footer text.',
|
|
@@ -3328,6 +4442,12 @@ export const patterns = [
|
|
|
3328
4442
|
category: 'container',
|
|
3329
4443
|
sort: 3,
|
|
3330
4444
|
},
|
|
4445
|
+
offset: {
|
|
4446
|
+
label: 'Offset',
|
|
4447
|
+
description: 'Absolute positioning offsets.',
|
|
4448
|
+
category: 'container',
|
|
4449
|
+
sort: 4,
|
|
4450
|
+
},
|
|
3331
4451
|
},
|
|
3332
4452
|
},
|
|
3333
4453
|
defaults: { flexDirection: 'column', paddingHorizontal: '24@s' },
|
|
@@ -3344,7 +4464,6 @@ export const patterns = [
|
|
|
3344
4464
|
width: 'size',
|
|
3345
4465
|
height: 'size',
|
|
3346
4466
|
resizeMode: ['cover', 'contain', 'stretch', 'center'],
|
|
3347
|
-
borderRadius: 'size',
|
|
3348
4467
|
scrollable: 'boolean',
|
|
3349
4468
|
flexDirection: ['row', 'column'],
|
|
3350
4469
|
alignItems: ['flex-start', 'center', 'flex-end', 'stretch', 'baseline'],
|
|
@@ -3371,6 +4490,14 @@ export const patterns = [
|
|
|
3371
4490
|
marginLeft: 'size',
|
|
3372
4491
|
marginRight: 'size',
|
|
3373
4492
|
backgroundColor: 'color',
|
|
4493
|
+
borderRadius: 'size',
|
|
4494
|
+
flex: 'number',
|
|
4495
|
+
position: ['relative', 'absolute'],
|
|
4496
|
+
top: 'size',
|
|
4497
|
+
bottom: 'size',
|
|
4498
|
+
left: 'size',
|
|
4499
|
+
right: 'size',
|
|
4500
|
+
zIndex: 'number',
|
|
3374
4501
|
video_url: 'string',
|
|
3375
4502
|
lottie: 'string',
|
|
3376
4503
|
},
|
|
@@ -3411,14 +4538,6 @@ export const patterns = [
|
|
|
3411
4538
|
specialCategory: null,
|
|
3412
4539
|
sort: 4,
|
|
3413
4540
|
},
|
|
3414
|
-
borderRadius: {
|
|
3415
|
-
label: 'Border Radius',
|
|
3416
|
-
description: 'Corner rounding amount.',
|
|
3417
|
-
category: 'style',
|
|
3418
|
-
specialCategory: null,
|
|
3419
|
-
sort: 21,
|
|
3420
|
-
preferedScale: 's',
|
|
3421
|
-
},
|
|
3422
4541
|
scrollable: {
|
|
3423
4542
|
label: 'Scrollable',
|
|
3424
4543
|
description: 'Turns scroll interaction on.',
|
|
@@ -3574,6 +4693,67 @@ export const patterns = [
|
|
|
3574
4693
|
specialCategory: null,
|
|
3575
4694
|
sort: 20,
|
|
3576
4695
|
},
|
|
4696
|
+
borderRadius: {
|
|
4697
|
+
label: 'Border Radius',
|
|
4698
|
+
description: 'Corner rounding amount.',
|
|
4699
|
+
category: 'style',
|
|
4700
|
+
specialCategory: null,
|
|
4701
|
+
sort: 21,
|
|
4702
|
+
preferedScale: 's',
|
|
4703
|
+
},
|
|
4704
|
+
flex: {
|
|
4705
|
+
label: 'Flex',
|
|
4706
|
+
description: 'Flex grow factor (e.g. 1 fills available space).',
|
|
4707
|
+
category: 'container',
|
|
4708
|
+
specialCategory: 'size',
|
|
4709
|
+
sort: 2,
|
|
4710
|
+
},
|
|
4711
|
+
position: {
|
|
4712
|
+
label: 'Position',
|
|
4713
|
+
description: 'Sets layout positioning mode.',
|
|
4714
|
+
category: 'container',
|
|
4715
|
+
specialCategory: null,
|
|
4716
|
+
sort: 3,
|
|
4717
|
+
},
|
|
4718
|
+
top: {
|
|
4719
|
+
label: 'Top',
|
|
4720
|
+
description: 'Offset from the top edge.',
|
|
4721
|
+
category: 'container',
|
|
4722
|
+
specialCategory: 'offset',
|
|
4723
|
+
sort: 22,
|
|
4724
|
+
preferedScale: 'vs',
|
|
4725
|
+
},
|
|
4726
|
+
bottom: {
|
|
4727
|
+
label: 'Bottom',
|
|
4728
|
+
description: 'Offset from the bottom edge.',
|
|
4729
|
+
category: 'container',
|
|
4730
|
+
specialCategory: 'offset',
|
|
4731
|
+
sort: 23,
|
|
4732
|
+
preferedScale: 'vs',
|
|
4733
|
+
},
|
|
4734
|
+
left: {
|
|
4735
|
+
label: 'Left',
|
|
4736
|
+
description: 'Offset from the left edge.',
|
|
4737
|
+
category: 'container',
|
|
4738
|
+
specialCategory: 'offset',
|
|
4739
|
+
sort: 24,
|
|
4740
|
+
preferedScale: 's',
|
|
4741
|
+
},
|
|
4742
|
+
right: {
|
|
4743
|
+
label: 'Right',
|
|
4744
|
+
description: 'Offset from the right edge.',
|
|
4745
|
+
category: 'container',
|
|
4746
|
+
specialCategory: 'offset',
|
|
4747
|
+
sort: 25,
|
|
4748
|
+
preferedScale: 's',
|
|
4749
|
+
},
|
|
4750
|
+
zIndex: {
|
|
4751
|
+
label: 'Z-Index',
|
|
4752
|
+
description: 'Controls stacking order.',
|
|
4753
|
+
category: 'container',
|
|
4754
|
+
specialCategory: null,
|
|
4755
|
+
sort: 26,
|
|
4756
|
+
},
|
|
3577
4757
|
video_url: {
|
|
3578
4758
|
label: 'Video Url',
|
|
3579
4759
|
description: 'URL for the onboarding video.',
|
|
@@ -3608,6 +4788,12 @@ export const patterns = [
|
|
|
3608
4788
|
category: 'container',
|
|
3609
4789
|
sort: 3,
|
|
3610
4790
|
},
|
|
4791
|
+
offset: {
|
|
4792
|
+
label: 'Offset',
|
|
4793
|
+
description: 'Absolute positioning offsets.',
|
|
4794
|
+
category: 'container',
|
|
4795
|
+
sort: 4,
|
|
4796
|
+
},
|
|
3611
4797
|
},
|
|
3612
4798
|
},
|
|
3613
4799
|
types: {},
|
|
@@ -3649,6 +4835,13 @@ export const patterns = [
|
|
|
3649
4835
|
borderRadius: 'size',
|
|
3650
4836
|
width: 'size',
|
|
3651
4837
|
height: 'size',
|
|
4838
|
+
flex: 'number',
|
|
4839
|
+
position: ['relative', 'absolute'],
|
|
4840
|
+
top: 'size',
|
|
4841
|
+
bottom: 'size',
|
|
4842
|
+
left: 'size',
|
|
4843
|
+
right: 'size',
|
|
4844
|
+
zIndex: 'number',
|
|
3652
4845
|
display: ['flex', 'block'],
|
|
3653
4846
|
},
|
|
3654
4847
|
defaults: { flexDirection: 'column' },
|
|
@@ -3676,6 +4869,12 @@ export const patterns = [
|
|
|
3676
4869
|
category: 'container',
|
|
3677
4870
|
sort: 3,
|
|
3678
4871
|
},
|
|
4872
|
+
offset: {
|
|
4873
|
+
label: 'Offset',
|
|
4874
|
+
description: 'Absolute positioning offsets.',
|
|
4875
|
+
category: 'container',
|
|
4876
|
+
sort: 4,
|
|
4877
|
+
},
|
|
3679
4878
|
},
|
|
3680
4879
|
attributes: {
|
|
3681
4880
|
scrollable: {
|
|
@@ -3855,6 +5054,59 @@ export const patterns = [
|
|
|
3855
5054
|
sort: 1,
|
|
3856
5055
|
preferedScale: 'vs',
|
|
3857
5056
|
},
|
|
5057
|
+
flex: {
|
|
5058
|
+
label: 'Flex',
|
|
5059
|
+
description: 'Flex grow factor (e.g. 1 fills available space).',
|
|
5060
|
+
category: 'container',
|
|
5061
|
+
specialCategory: 'size',
|
|
5062
|
+
sort: 2,
|
|
5063
|
+
},
|
|
5064
|
+
position: {
|
|
5065
|
+
label: 'Position',
|
|
5066
|
+
description: 'Sets layout positioning mode.',
|
|
5067
|
+
category: 'container',
|
|
5068
|
+
specialCategory: null,
|
|
5069
|
+
sort: 3,
|
|
5070
|
+
},
|
|
5071
|
+
top: {
|
|
5072
|
+
label: 'Top',
|
|
5073
|
+
description: 'Offset from the top edge.',
|
|
5074
|
+
category: 'container',
|
|
5075
|
+
specialCategory: 'offset',
|
|
5076
|
+
sort: 22,
|
|
5077
|
+
preferedScale: 'vs',
|
|
5078
|
+
},
|
|
5079
|
+
bottom: {
|
|
5080
|
+
label: 'Bottom',
|
|
5081
|
+
description: 'Offset from the bottom edge.',
|
|
5082
|
+
category: 'container',
|
|
5083
|
+
specialCategory: 'offset',
|
|
5084
|
+
sort: 23,
|
|
5085
|
+
preferedScale: 'vs',
|
|
5086
|
+
},
|
|
5087
|
+
left: {
|
|
5088
|
+
label: 'Left',
|
|
5089
|
+
description: 'Offset from the left edge.',
|
|
5090
|
+
category: 'container',
|
|
5091
|
+
specialCategory: 'offset',
|
|
5092
|
+
sort: 24,
|
|
5093
|
+
preferedScale: 's',
|
|
5094
|
+
},
|
|
5095
|
+
right: {
|
|
5096
|
+
label: 'Right',
|
|
5097
|
+
description: 'Offset from the right edge.',
|
|
5098
|
+
category: 'container',
|
|
5099
|
+
specialCategory: 'offset',
|
|
5100
|
+
sort: 25,
|
|
5101
|
+
preferedScale: 's',
|
|
5102
|
+
},
|
|
5103
|
+
zIndex: {
|
|
5104
|
+
label: 'Z-Index',
|
|
5105
|
+
description: 'Controls stacking order.',
|
|
5106
|
+
category: 'container',
|
|
5107
|
+
specialCategory: null,
|
|
5108
|
+
sort: 26,
|
|
5109
|
+
},
|
|
3858
5110
|
display: {
|
|
3859
5111
|
label: 'Display',
|
|
3860
5112
|
description: 'Controls layout display mode.',
|
|
@@ -3908,7 +5160,13 @@ export const patterns = [
|
|
|
3908
5160
|
borderRadius: 'never',
|
|
3909
5161
|
width: 'size',
|
|
3910
5162
|
height: 'size',
|
|
3911
|
-
|
|
5163
|
+
flex: 'number',
|
|
5164
|
+
position: ['relative', 'absolute'],
|
|
5165
|
+
top: 'size',
|
|
5166
|
+
bottom: 'size',
|
|
5167
|
+
left: 'size',
|
|
5168
|
+
right: 'size',
|
|
5169
|
+
zIndex: 'number',
|
|
3912
5170
|
use_safe_area_inset: 'boolean',
|
|
3913
5171
|
},
|
|
3914
5172
|
defaults: { flexDirection: 'column' },
|
|
@@ -3936,6 +5194,12 @@ export const patterns = [
|
|
|
3936
5194
|
category: 'container',
|
|
3937
5195
|
sort: 3,
|
|
3938
5196
|
},
|
|
5197
|
+
offset: {
|
|
5198
|
+
label: 'Offset',
|
|
5199
|
+
description: 'Absolute positioning offsets.',
|
|
5200
|
+
category: 'container',
|
|
5201
|
+
sort: 4,
|
|
5202
|
+
},
|
|
3939
5203
|
},
|
|
3940
5204
|
attributes: {
|
|
3941
5205
|
scrollable: {
|
|
@@ -4113,12 +5377,58 @@ export const patterns = [
|
|
|
4113
5377
|
sort: 1,
|
|
4114
5378
|
preferedScale: 'vs',
|
|
4115
5379
|
},
|
|
4116
|
-
|
|
4117
|
-
label: '
|
|
4118
|
-
description: '
|
|
4119
|
-
category: '
|
|
5380
|
+
flex: {
|
|
5381
|
+
label: 'Flex',
|
|
5382
|
+
description: 'Flex grow factor (e.g. 1 fills available space).',
|
|
5383
|
+
category: 'container',
|
|
5384
|
+
specialCategory: 'size',
|
|
5385
|
+
sort: 2,
|
|
5386
|
+
},
|
|
5387
|
+
position: {
|
|
5388
|
+
label: 'Position',
|
|
5389
|
+
description: 'Sets layout positioning mode.',
|
|
5390
|
+
category: 'container',
|
|
4120
5391
|
specialCategory: null,
|
|
4121
|
-
sort:
|
|
5392
|
+
sort: 3,
|
|
5393
|
+
},
|
|
5394
|
+
top: {
|
|
5395
|
+
label: 'Top',
|
|
5396
|
+
description: 'Offset from the top edge.',
|
|
5397
|
+
category: 'container',
|
|
5398
|
+
specialCategory: 'offset',
|
|
5399
|
+
sort: 22,
|
|
5400
|
+
preferedScale: 'vs',
|
|
5401
|
+
},
|
|
5402
|
+
bottom: {
|
|
5403
|
+
label: 'Bottom',
|
|
5404
|
+
description: 'Offset from the bottom edge.',
|
|
5405
|
+
category: 'container',
|
|
5406
|
+
specialCategory: 'offset',
|
|
5407
|
+
sort: 23,
|
|
5408
|
+
preferedScale: 'vs',
|
|
5409
|
+
},
|
|
5410
|
+
left: {
|
|
5411
|
+
label: 'Left',
|
|
5412
|
+
description: 'Offset from the left edge.',
|
|
5413
|
+
category: 'container',
|
|
5414
|
+
specialCategory: 'offset',
|
|
5415
|
+
sort: 24,
|
|
5416
|
+
preferedScale: 's',
|
|
5417
|
+
},
|
|
5418
|
+
right: {
|
|
5419
|
+
label: 'Right',
|
|
5420
|
+
description: 'Offset from the right edge.',
|
|
5421
|
+
category: 'container',
|
|
5422
|
+
specialCategory: 'offset',
|
|
5423
|
+
sort: 25,
|
|
5424
|
+
preferedScale: 's',
|
|
5425
|
+
},
|
|
5426
|
+
zIndex: {
|
|
5427
|
+
label: 'Z-Index',
|
|
5428
|
+
description: 'Controls stacking order.',
|
|
5429
|
+
category: 'container',
|
|
5430
|
+
specialCategory: null,
|
|
5431
|
+
sort: 26,
|
|
4122
5432
|
},
|
|
4123
5433
|
use_safe_area_inset: {
|
|
4124
5434
|
label: 'Use Safe Area Inset',
|
|
@@ -4143,7 +5453,7 @@ export const patterns = [
|
|
|
4143
5453
|
allowUnknownAttributes: false,
|
|
4144
5454
|
pattern: {
|
|
4145
5455
|
type: 'OnboardSubtitle',
|
|
4146
|
-
children: '
|
|
5456
|
+
children: 'string',
|
|
4147
5457
|
attributes: {
|
|
4148
5458
|
color: 'color',
|
|
4149
5459
|
fontSize: 'size',
|
|
@@ -4190,6 +5500,13 @@ export const patterns = [
|
|
|
4190
5500
|
borderRadius: 'size',
|
|
4191
5501
|
width: 'size',
|
|
4192
5502
|
height: 'size',
|
|
5503
|
+
flex: 'number',
|
|
5504
|
+
position: ['relative', 'absolute'],
|
|
5505
|
+
top: 'size',
|
|
5506
|
+
bottom: 'size',
|
|
5507
|
+
left: 'size',
|
|
5508
|
+
right: 'size',
|
|
5509
|
+
zIndex: 'number',
|
|
4193
5510
|
},
|
|
4194
5511
|
defaults: { flexDirection: 'column' },
|
|
4195
5512
|
},
|
|
@@ -4406,6 +5723,59 @@ export const patterns = [
|
|
|
4406
5723
|
sort: 1,
|
|
4407
5724
|
preferedScale: 'vs',
|
|
4408
5725
|
},
|
|
5726
|
+
flex: {
|
|
5727
|
+
label: 'Flex',
|
|
5728
|
+
description: 'Flex grow factor (e.g. 1 fills available space).',
|
|
5729
|
+
category: 'container',
|
|
5730
|
+
specialCategory: 'size',
|
|
5731
|
+
sort: 2,
|
|
5732
|
+
},
|
|
5733
|
+
position: {
|
|
5734
|
+
label: 'Position',
|
|
5735
|
+
description: 'Sets layout positioning mode.',
|
|
5736
|
+
category: 'container',
|
|
5737
|
+
specialCategory: null,
|
|
5738
|
+
sort: 3,
|
|
5739
|
+
},
|
|
5740
|
+
top: {
|
|
5741
|
+
label: 'Top',
|
|
5742
|
+
description: 'Offset from the top edge.',
|
|
5743
|
+
category: 'container',
|
|
5744
|
+
specialCategory: 'offset',
|
|
5745
|
+
sort: 22,
|
|
5746
|
+
preferedScale: 'vs',
|
|
5747
|
+
},
|
|
5748
|
+
bottom: {
|
|
5749
|
+
label: 'Bottom',
|
|
5750
|
+
description: 'Offset from the bottom edge.',
|
|
5751
|
+
category: 'container',
|
|
5752
|
+
specialCategory: 'offset',
|
|
5753
|
+
sort: 23,
|
|
5754
|
+
preferedScale: 'vs',
|
|
5755
|
+
},
|
|
5756
|
+
left: {
|
|
5757
|
+
label: 'Left',
|
|
5758
|
+
description: 'Offset from the left edge.',
|
|
5759
|
+
category: 'container',
|
|
5760
|
+
specialCategory: 'offset',
|
|
5761
|
+
sort: 24,
|
|
5762
|
+
preferedScale: 's',
|
|
5763
|
+
},
|
|
5764
|
+
right: {
|
|
5765
|
+
label: 'Right',
|
|
5766
|
+
description: 'Offset from the right edge.',
|
|
5767
|
+
category: 'container',
|
|
5768
|
+
specialCategory: 'offset',
|
|
5769
|
+
sort: 25,
|
|
5770
|
+
preferedScale: 's',
|
|
5771
|
+
},
|
|
5772
|
+
zIndex: {
|
|
5773
|
+
label: 'Z-Index',
|
|
5774
|
+
description: 'Controls stacking order.',
|
|
5775
|
+
category: 'container',
|
|
5776
|
+
specialCategory: null,
|
|
5777
|
+
sort: 26,
|
|
5778
|
+
},
|
|
4409
5779
|
},
|
|
4410
5780
|
specialCategories: {
|
|
4411
5781
|
padding: {
|
|
@@ -4426,6 +5796,12 @@ export const patterns = [
|
|
|
4426
5796
|
category: 'container',
|
|
4427
5797
|
sort: 3,
|
|
4428
5798
|
},
|
|
5799
|
+
offset: {
|
|
5800
|
+
label: 'Offset',
|
|
5801
|
+
description: 'Absolute positioning offsets.',
|
|
5802
|
+
category: 'container',
|
|
5803
|
+
sort: 4,
|
|
5804
|
+
},
|
|
4429
5805
|
},
|
|
4430
5806
|
},
|
|
4431
5807
|
defaults: { flexDirection: 'column', fontSize: '14@fs', fontWeight: '600' },
|
|
@@ -4436,7 +5812,7 @@ export const patterns = [
|
|
|
4436
5812
|
allowUnknownAttributes: false,
|
|
4437
5813
|
pattern: {
|
|
4438
5814
|
type: 'OnboardTitle',
|
|
4439
|
-
children: '
|
|
5815
|
+
children: 'string',
|
|
4440
5816
|
attributes: {
|
|
4441
5817
|
color: 'color',
|
|
4442
5818
|
fontSize: 'size',
|
|
@@ -4483,6 +5859,13 @@ export const patterns = [
|
|
|
4483
5859
|
borderRadius: 'size',
|
|
4484
5860
|
width: 'size',
|
|
4485
5861
|
height: 'size',
|
|
5862
|
+
flex: 'number',
|
|
5863
|
+
position: ['relative', 'absolute'],
|
|
5864
|
+
top: 'size',
|
|
5865
|
+
bottom: 'size',
|
|
5866
|
+
left: 'size',
|
|
5867
|
+
right: 'size',
|
|
5868
|
+
zIndex: 'number',
|
|
4486
5869
|
},
|
|
4487
5870
|
defaults: { flexDirection: 'column' },
|
|
4488
5871
|
},
|
|
@@ -4699,6 +6082,59 @@ export const patterns = [
|
|
|
4699
6082
|
sort: 1,
|
|
4700
6083
|
preferedScale: 'vs',
|
|
4701
6084
|
},
|
|
6085
|
+
flex: {
|
|
6086
|
+
label: 'Flex',
|
|
6087
|
+
description: 'Flex grow factor (e.g. 1 fills available space).',
|
|
6088
|
+
category: 'container',
|
|
6089
|
+
specialCategory: 'size',
|
|
6090
|
+
sort: 2,
|
|
6091
|
+
},
|
|
6092
|
+
position: {
|
|
6093
|
+
label: 'Position',
|
|
6094
|
+
description: 'Sets layout positioning mode.',
|
|
6095
|
+
category: 'container',
|
|
6096
|
+
specialCategory: null,
|
|
6097
|
+
sort: 3,
|
|
6098
|
+
},
|
|
6099
|
+
top: {
|
|
6100
|
+
label: 'Top',
|
|
6101
|
+
description: 'Offset from the top edge.',
|
|
6102
|
+
category: 'container',
|
|
6103
|
+
specialCategory: 'offset',
|
|
6104
|
+
sort: 22,
|
|
6105
|
+
preferedScale: 'vs',
|
|
6106
|
+
},
|
|
6107
|
+
bottom: {
|
|
6108
|
+
label: 'Bottom',
|
|
6109
|
+
description: 'Offset from the bottom edge.',
|
|
6110
|
+
category: 'container',
|
|
6111
|
+
specialCategory: 'offset',
|
|
6112
|
+
sort: 23,
|
|
6113
|
+
preferedScale: 'vs',
|
|
6114
|
+
},
|
|
6115
|
+
left: {
|
|
6116
|
+
label: 'Left',
|
|
6117
|
+
description: 'Offset from the left edge.',
|
|
6118
|
+
category: 'container',
|
|
6119
|
+
specialCategory: 'offset',
|
|
6120
|
+
sort: 24,
|
|
6121
|
+
preferedScale: 's',
|
|
6122
|
+
},
|
|
6123
|
+
right: {
|
|
6124
|
+
label: 'Right',
|
|
6125
|
+
description: 'Offset from the right edge.',
|
|
6126
|
+
category: 'container',
|
|
6127
|
+
specialCategory: 'offset',
|
|
6128
|
+
sort: 25,
|
|
6129
|
+
preferedScale: 's',
|
|
6130
|
+
},
|
|
6131
|
+
zIndex: {
|
|
6132
|
+
label: 'Z-Index',
|
|
6133
|
+
description: 'Controls stacking order.',
|
|
6134
|
+
category: 'container',
|
|
6135
|
+
specialCategory: null,
|
|
6136
|
+
sort: 26,
|
|
6137
|
+
},
|
|
4702
6138
|
},
|
|
4703
6139
|
specialCategories: {
|
|
4704
6140
|
padding: {
|
|
@@ -4719,6 +6155,12 @@ export const patterns = [
|
|
|
4719
6155
|
category: 'container',
|
|
4720
6156
|
sort: 3,
|
|
4721
6157
|
},
|
|
6158
|
+
offset: {
|
|
6159
|
+
label: 'Offset',
|
|
6160
|
+
description: 'Absolute positioning offsets.',
|
|
6161
|
+
category: 'container',
|
|
6162
|
+
sort: 4,
|
|
6163
|
+
},
|
|
4722
6164
|
},
|
|
4723
6165
|
},
|
|
4724
6166
|
defaults: {
|
|
@@ -4765,6 +6207,13 @@ export const patterns = [
|
|
|
4765
6207
|
borderRadius: 'size',
|
|
4766
6208
|
width: 'size',
|
|
4767
6209
|
height: 'size',
|
|
6210
|
+
flex: 'number',
|
|
6211
|
+
position: ['relative', 'absolute'],
|
|
6212
|
+
top: 'size',
|
|
6213
|
+
bottom: 'size',
|
|
6214
|
+
left: 'size',
|
|
6215
|
+
right: 'size',
|
|
6216
|
+
zIndex: 'number',
|
|
4768
6217
|
color: 'color',
|
|
4769
6218
|
fontSize: 'size',
|
|
4770
6219
|
fontWeight: [
|
|
@@ -4807,6 +6256,12 @@ export const patterns = [
|
|
|
4807
6256
|
category: 'container',
|
|
4808
6257
|
sort: 3,
|
|
4809
6258
|
},
|
|
6259
|
+
offset: {
|
|
6260
|
+
label: 'Offset',
|
|
6261
|
+
description: 'Absolute positioning offsets.',
|
|
6262
|
+
category: 'container',
|
|
6263
|
+
sort: 4,
|
|
6264
|
+
},
|
|
4810
6265
|
},
|
|
4811
6266
|
attributes: {
|
|
4812
6267
|
scrollable: {
|
|
@@ -4988,6 +6443,59 @@ export const patterns = [
|
|
|
4988
6443
|
sort: 1,
|
|
4989
6444
|
preferedScale: 'vs',
|
|
4990
6445
|
},
|
|
6446
|
+
flex: {
|
|
6447
|
+
label: 'Flex',
|
|
6448
|
+
description: 'Flex grow factor (e.g. 1 fills available space).',
|
|
6449
|
+
category: 'container',
|
|
6450
|
+
specialCategory: 'size',
|
|
6451
|
+
sort: 2,
|
|
6452
|
+
},
|
|
6453
|
+
position: {
|
|
6454
|
+
label: 'Position',
|
|
6455
|
+
description: 'Sets layout positioning mode.',
|
|
6456
|
+
category: 'container',
|
|
6457
|
+
specialCategory: null,
|
|
6458
|
+
sort: 3,
|
|
6459
|
+
},
|
|
6460
|
+
top: {
|
|
6461
|
+
label: 'Top',
|
|
6462
|
+
description: 'Offset from the top edge.',
|
|
6463
|
+
category: 'container',
|
|
6464
|
+
specialCategory: 'offset',
|
|
6465
|
+
sort: 22,
|
|
6466
|
+
preferedScale: 'vs',
|
|
6467
|
+
},
|
|
6468
|
+
bottom: {
|
|
6469
|
+
label: 'Bottom',
|
|
6470
|
+
description: 'Offset from the bottom edge.',
|
|
6471
|
+
category: 'container',
|
|
6472
|
+
specialCategory: 'offset',
|
|
6473
|
+
sort: 23,
|
|
6474
|
+
preferedScale: 'vs',
|
|
6475
|
+
},
|
|
6476
|
+
left: {
|
|
6477
|
+
label: 'Left',
|
|
6478
|
+
description: 'Offset from the left edge.',
|
|
6479
|
+
category: 'container',
|
|
6480
|
+
specialCategory: 'offset',
|
|
6481
|
+
sort: 24,
|
|
6482
|
+
preferedScale: 's',
|
|
6483
|
+
},
|
|
6484
|
+
right: {
|
|
6485
|
+
label: 'Right',
|
|
6486
|
+
description: 'Offset from the right edge.',
|
|
6487
|
+
category: 'container',
|
|
6488
|
+
specialCategory: 'offset',
|
|
6489
|
+
sort: 25,
|
|
6490
|
+
preferedScale: 's',
|
|
6491
|
+
},
|
|
6492
|
+
zIndex: {
|
|
6493
|
+
label: 'Z-Index',
|
|
6494
|
+
description: 'Controls stacking order.',
|
|
6495
|
+
category: 'container',
|
|
6496
|
+
specialCategory: null,
|
|
6497
|
+
sort: 26,
|
|
6498
|
+
},
|
|
4991
6499
|
color: {
|
|
4992
6500
|
label: 'Color',
|
|
4993
6501
|
description: 'Text color.',
|
|
@@ -5058,6 +6566,13 @@ export const patterns = [
|
|
|
5058
6566
|
borderRadius: 'size',
|
|
5059
6567
|
width: 'size',
|
|
5060
6568
|
height: 'size',
|
|
6569
|
+
flex: 'number',
|
|
6570
|
+
position: ['relative', 'absolute'],
|
|
6571
|
+
top: 'size',
|
|
6572
|
+
bottom: 'size',
|
|
6573
|
+
left: 'size',
|
|
6574
|
+
right: 'size',
|
|
6575
|
+
zIndex: 'number',
|
|
5061
6576
|
},
|
|
5062
6577
|
defaults: { flexDirection: 'column' },
|
|
5063
6578
|
},
|
|
@@ -5084,6 +6599,12 @@ export const patterns = [
|
|
|
5084
6599
|
category: 'container',
|
|
5085
6600
|
sort: 3,
|
|
5086
6601
|
},
|
|
6602
|
+
offset: {
|
|
6603
|
+
label: 'Offset',
|
|
6604
|
+
description: 'Absolute positioning offsets.',
|
|
6605
|
+
category: 'container',
|
|
6606
|
+
sort: 4,
|
|
6607
|
+
},
|
|
5087
6608
|
},
|
|
5088
6609
|
attributes: {
|
|
5089
6610
|
scrollable: {
|
|
@@ -5265,6 +6786,59 @@ export const patterns = [
|
|
|
5265
6786
|
sort: 1,
|
|
5266
6787
|
preferedScale: 'vs',
|
|
5267
6788
|
},
|
|
6789
|
+
flex: {
|
|
6790
|
+
label: 'Flex',
|
|
6791
|
+
description: 'Flex grow factor (e.g. 1 fills available space).',
|
|
6792
|
+
category: 'container',
|
|
6793
|
+
specialCategory: 'size',
|
|
6794
|
+
sort: 2,
|
|
6795
|
+
},
|
|
6796
|
+
position: {
|
|
6797
|
+
label: 'Position',
|
|
6798
|
+
description: 'Sets layout positioning mode.',
|
|
6799
|
+
category: 'container',
|
|
6800
|
+
specialCategory: null,
|
|
6801
|
+
sort: 3,
|
|
6802
|
+
},
|
|
6803
|
+
top: {
|
|
6804
|
+
label: 'Top',
|
|
6805
|
+
description: 'Offset from the top edge.',
|
|
6806
|
+
category: 'container',
|
|
6807
|
+
specialCategory: 'offset',
|
|
6808
|
+
sort: 22,
|
|
6809
|
+
preferedScale: 'vs',
|
|
6810
|
+
},
|
|
6811
|
+
bottom: {
|
|
6812
|
+
label: 'Bottom',
|
|
6813
|
+
description: 'Offset from the bottom edge.',
|
|
6814
|
+
category: 'container',
|
|
6815
|
+
specialCategory: 'offset',
|
|
6816
|
+
sort: 23,
|
|
6817
|
+
preferedScale: 'vs',
|
|
6818
|
+
},
|
|
6819
|
+
left: {
|
|
6820
|
+
label: 'Left',
|
|
6821
|
+
description: 'Offset from the left edge.',
|
|
6822
|
+
category: 'container',
|
|
6823
|
+
specialCategory: 'offset',
|
|
6824
|
+
sort: 24,
|
|
6825
|
+
preferedScale: 's',
|
|
6826
|
+
},
|
|
6827
|
+
right: {
|
|
6828
|
+
label: 'Right',
|
|
6829
|
+
description: 'Offset from the right edge.',
|
|
6830
|
+
category: 'container',
|
|
6831
|
+
specialCategory: 'offset',
|
|
6832
|
+
sort: 25,
|
|
6833
|
+
preferedScale: 's',
|
|
6834
|
+
},
|
|
6835
|
+
zIndex: {
|
|
6836
|
+
label: 'Z-Index',
|
|
6837
|
+
description: 'Controls stacking order.',
|
|
6838
|
+
category: 'container',
|
|
6839
|
+
specialCategory: null,
|
|
6840
|
+
sort: 26,
|
|
6841
|
+
},
|
|
5268
6842
|
},
|
|
5269
6843
|
},
|
|
5270
6844
|
defaults: { flexDirection: 'column' },
|