@draftbit/core 46.10.3-af3058.2 → 46.10.3-b4dc15.2

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.
Files changed (51) hide show
  1. package/lib/commonjs/components/Checkbox/CheckboxRow.js +6 -23
  2. package/lib/commonjs/components/Checkbox/context.js +1 -1
  3. package/package.json +3 -3
  4. package/lib/commonjs/mappings/CardBlock.js +0 -126
  5. package/lib/commonjs/mappings/CardContainer.js +0 -108
  6. package/lib/commonjs/mappings/CardContainerRating.js +0 -130
  7. package/lib/commonjs/mappings/CardContainerShortImage.js +0 -124
  8. package/lib/commonjs/mappings/CardInline.js +0 -59
  9. package/lib/commonjs/mappings/HeaderLarge.js +0 -34
  10. package/lib/commonjs/mappings/HeaderMedium.js +0 -60
  11. package/lib/commonjs/mappings/HeaderOverline.js +0 -60
  12. package/lib/module/mappings/CardBlock.js +0 -119
  13. package/lib/module/mappings/CardContainer.js +0 -101
  14. package/lib/module/mappings/CardContainerRating.js +0 -123
  15. package/lib/module/mappings/CardContainerShortImage.js +0 -117
  16. package/lib/module/mappings/CardInline.js +0 -52
  17. package/lib/module/mappings/HeaderLarge.js +0 -27
  18. package/lib/module/mappings/HeaderMedium.js +0 -53
  19. package/lib/module/mappings/HeaderOverline.js +0 -53
  20. package/lib/typescript/src/mappings/CardBlock.d.ts +0 -289
  21. package/lib/typescript/src/mappings/CardBlock.d.ts.map +0 -1
  22. package/lib/typescript/src/mappings/CardContainer.d.ts +0 -102
  23. package/lib/typescript/src/mappings/CardContainer.d.ts.map +0 -1
  24. package/lib/typescript/src/mappings/CardContainerRating.d.ts +0 -108
  25. package/lib/typescript/src/mappings/CardContainerRating.d.ts.map +0 -1
  26. package/lib/typescript/src/mappings/CardContainerShortImage.d.ts +0 -139
  27. package/lib/typescript/src/mappings/CardContainerShortImage.d.ts.map +0 -1
  28. package/lib/typescript/src/mappings/CardInline.d.ts +0 -62
  29. package/lib/typescript/src/mappings/CardInline.d.ts.map +0 -1
  30. package/lib/typescript/src/mappings/HeaderLarge.d.ts +0 -34
  31. package/lib/typescript/src/mappings/HeaderLarge.d.ts.map +0 -1
  32. package/lib/typescript/src/mappings/HeaderMedium.d.ts +0 -53
  33. package/lib/typescript/src/mappings/HeaderMedium.d.ts.map +0 -1
  34. package/lib/typescript/src/mappings/HeaderOverline.d.ts +0 -53
  35. package/lib/typescript/src/mappings/HeaderOverline.d.ts.map +0 -1
  36. package/src/mappings/CardBlock.js +0 -123
  37. package/src/mappings/CardBlock.ts +0 -136
  38. package/src/mappings/CardContainer.js +0 -104
  39. package/src/mappings/CardContainer.ts +0 -116
  40. package/src/mappings/CardContainerRating.js +0 -126
  41. package/src/mappings/CardContainerRating.ts +0 -137
  42. package/src/mappings/CardContainerShortImage.js +0 -120
  43. package/src/mappings/CardContainerShortImage.ts +0 -130
  44. package/src/mappings/CardInline.js +0 -52
  45. package/src/mappings/CardInline.ts +0 -61
  46. package/src/mappings/HeaderLarge.js +0 -29
  47. package/src/mappings/HeaderLarge.ts +0 -38
  48. package/src/mappings/HeaderMedium.js +0 -55
  49. package/src/mappings/HeaderMedium.ts +0 -63
  50. package/src/mappings/HeaderOverline.js +0 -55
  51. package/src/mappings/HeaderOverline.ts +0 -63
@@ -1,53 +0,0 @@
1
- import { GROUPS, COMPONENT_TYPES, FORM_TYPES, PROP_TYPES, BLOCK_STYLES_SECTIONS } from "@draftbit/types";
2
- export const SEED_DATA = [{
3
- name: "Header Medium",
4
- tag: "HeaderMedium",
5
- description: "A medium header with an optional touchable right aligned text and icon.",
6
- category: COMPONENT_TYPES.header,
7
- stylesPanelSections: BLOCK_STYLES_SECTIONS,
8
- preview_image_url: "{CLOUDINARY_URL}/Header_HeadlineMediumIconText.png",
9
- supports_list_render: false,
10
- props: {
11
- title: {
12
- group: GROUPS.data,
13
- label: "Title",
14
- description: "Text to display",
15
- formType: FORM_TYPES.string,
16
- propType: PROP_TYPES.STRING,
17
- defaultValue: "Title",
18
- editable: true,
19
- required: false
20
- },
21
- buttonText: {
22
- group: GROUPS.data,
23
- label: "Button text",
24
- description: "Right aligned button text to display",
25
- formType: FORM_TYPES.string,
26
- propType: PROP_TYPES.STRING,
27
- defaultValue: "See All",
28
- editable: true,
29
- required: false
30
- },
31
- icon: {
32
- group: GROUPS.basic,
33
- label: "Icon",
34
- description: "Name of icon to display",
35
- formType: FORM_TYPES.icon,
36
- propType: PROP_TYPES.ASSET,
37
- defaultValue: null,
38
- editable: true,
39
- required: false
40
- },
41
- onPress: {
42
- group: GROUPS.basic,
43
- label: "Action",
44
- description: "Action to execute when button pressed",
45
- editable: true,
46
- required: false,
47
- formType: FORM_TYPES.action,
48
- propType: PROP_TYPES.STRING,
49
- defaultValue: null
50
- }
51
- },
52
- layout: {}
53
- }];
@@ -1,53 +0,0 @@
1
- import { GROUPS, COMPONENT_TYPES, FORM_TYPES, PROP_TYPES, BLOCK_STYLES_SECTIONS } from "@draftbit/types";
2
- export const SEED_DATA = [{
3
- name: "Header Overline",
4
- tag: "HeaderOverline",
5
- description: "A small header with an optional touchable right aligned text and icon.",
6
- category: COMPONENT_TYPES.header,
7
- stylesPanelSections: BLOCK_STYLES_SECTIONS,
8
- preview_image_url: "{CLOUDINARY_URL}/Header_OverlineIconText.png",
9
- supports_list_render: false,
10
- props: {
11
- title: {
12
- group: GROUPS.data,
13
- label: "Title",
14
- description: "Text to display",
15
- formType: FORM_TYPES.string,
16
- propType: PROP_TYPES.STRING,
17
- defaultValue: "Title",
18
- editable: true,
19
- required: false
20
- },
21
- buttonText: {
22
- group: GROUPS.data,
23
- label: "Button text",
24
- description: "Right aligned button text to display",
25
- formType: FORM_TYPES.string,
26
- propType: PROP_TYPES.STRING,
27
- defaultValue: "See All",
28
- editable: true,
29
- required: false
30
- },
31
- icon: {
32
- group: GROUPS.basic,
33
- label: "Icon",
34
- description: "Name of icon to display",
35
- formType: FORM_TYPES.icon,
36
- propType: PROP_TYPES.ASSET,
37
- defaultValue: null,
38
- editable: true,
39
- required: false
40
- },
41
- onPress: {
42
- group: GROUPS.basic,
43
- label: "Action",
44
- description: "Action to execute when button pressed",
45
- editable: true,
46
- required: false,
47
- formType: FORM_TYPES.action,
48
- propType: PROP_TYPES.STRING,
49
- defaultValue: null
50
- }
51
- },
52
- layout: {}
53
- }];
@@ -1,289 +0,0 @@
1
- export declare const SEED_DATA: ({
2
- name: string;
3
- tag: string;
4
- description: string;
5
- category: string;
6
- props: {
7
- numColumns: {
8
- label: string;
9
- description: string;
10
- group: string;
11
- formType: string;
12
- propType: string;
13
- defaultValue: number;
14
- editable: boolean;
15
- required: boolean;
16
- };
17
- image: {
18
- group: string;
19
- label: string;
20
- description: string;
21
- formType: string;
22
- propType: string;
23
- defaultValue: null;
24
- editable: boolean;
25
- required: boolean;
26
- };
27
- title: {
28
- group: string;
29
- label: string;
30
- description: string;
31
- formType: string;
32
- propType: string;
33
- defaultValue: string;
34
- editable: boolean;
35
- required: boolean;
36
- };
37
- leftDescription: {
38
- group: string;
39
- label: string;
40
- description: string;
41
- formType: string;
42
- propType: string;
43
- defaultValue: string;
44
- editable: boolean;
45
- required: boolean;
46
- };
47
- rightDescription: {
48
- group: string;
49
- label: string;
50
- description: string;
51
- formType: string;
52
- propType: string;
53
- defaultValue: string;
54
- editable: boolean;
55
- required: boolean;
56
- };
57
- aspectRatio: {
58
- group: string;
59
- label: string;
60
- description: string;
61
- formType: string;
62
- propType: string;
63
- defaultValue: number;
64
- editable: boolean;
65
- required: boolean;
66
- };
67
- titleCentered: {
68
- group: string;
69
- label: string;
70
- description: string;
71
- formType: string;
72
- propType: string;
73
- defaultValue: boolean;
74
- editable: boolean;
75
- required: boolean;
76
- };
77
- elevation: {
78
- defaultValue: any;
79
- label: string;
80
- description: string;
81
- formType: string;
82
- propType: string;
83
- options: number[];
84
- editable: boolean;
85
- required: boolean;
86
- group: string;
87
- };
88
- };
89
- stylesPanelSections?: undefined;
90
- } | {
91
- name: string;
92
- tag: string;
93
- description: string;
94
- category: string;
95
- props: {
96
- icon: {
97
- group: string;
98
- label: string;
99
- description: string;
100
- formType: string;
101
- propType: string;
102
- defaultValue: null;
103
- editable: boolean;
104
- required: boolean;
105
- };
106
- numColumns: {
107
- label: string;
108
- description: string;
109
- group: string;
110
- formType: string;
111
- propType: string;
112
- defaultValue: number;
113
- editable: boolean;
114
- required: boolean;
115
- };
116
- image: {
117
- group: string;
118
- label: string;
119
- description: string;
120
- formType: string;
121
- propType: string;
122
- defaultValue: null;
123
- editable: boolean;
124
- required: boolean;
125
- };
126
- title: {
127
- group: string;
128
- label: string;
129
- description: string;
130
- formType: string;
131
- propType: string;
132
- defaultValue: string;
133
- editable: boolean;
134
- required: boolean;
135
- };
136
- leftDescription: {
137
- group: string;
138
- label: string;
139
- description: string;
140
- formType: string;
141
- propType: string;
142
- defaultValue: string;
143
- editable: boolean;
144
- required: boolean;
145
- };
146
- rightDescription: {
147
- group: string;
148
- label: string;
149
- description: string;
150
- formType: string;
151
- propType: string;
152
- defaultValue: string;
153
- editable: boolean;
154
- required: boolean;
155
- };
156
- aspectRatio: {
157
- group: string;
158
- label: string;
159
- description: string;
160
- formType: string;
161
- propType: string;
162
- defaultValue: number;
163
- editable: boolean;
164
- required: boolean;
165
- };
166
- titleCentered: {
167
- group: string;
168
- label: string;
169
- description: string;
170
- formType: string;
171
- propType: string;
172
- defaultValue: boolean;
173
- editable: boolean;
174
- required: boolean;
175
- };
176
- elevation: {
177
- defaultValue: any;
178
- label: string;
179
- description: string;
180
- formType: string;
181
- propType: string;
182
- options: number[];
183
- editable: boolean;
184
- required: boolean;
185
- group: string;
186
- };
187
- };
188
- stylesPanelSections?: undefined;
189
- } | {
190
- name: string;
191
- tag: string;
192
- description: string;
193
- category: string;
194
- stylesPanelSections: string[];
195
- props: {
196
- icon: {
197
- group: string;
198
- label: string;
199
- description: string;
200
- formType: string;
201
- propType: string;
202
- defaultValue: null;
203
- editable: boolean;
204
- required: boolean;
205
- };
206
- numColumns: {
207
- label: string;
208
- description: string;
209
- group: string;
210
- formType: string;
211
- propType: string;
212
- defaultValue: number;
213
- editable: boolean;
214
- required: boolean;
215
- };
216
- image: {
217
- group: string;
218
- label: string;
219
- description: string;
220
- formType: string;
221
- propType: string;
222
- defaultValue: null;
223
- editable: boolean;
224
- required: boolean;
225
- };
226
- title: {
227
- group: string;
228
- label: string;
229
- description: string;
230
- formType: string;
231
- propType: string;
232
- defaultValue: string;
233
- editable: boolean;
234
- required: boolean;
235
- };
236
- leftDescription: {
237
- group: string;
238
- label: string;
239
- description: string;
240
- formType: string;
241
- propType: string;
242
- defaultValue: string;
243
- editable: boolean;
244
- required: boolean;
245
- };
246
- rightDescription: {
247
- group: string;
248
- label: string;
249
- description: string;
250
- formType: string;
251
- propType: string;
252
- defaultValue: string;
253
- editable: boolean;
254
- required: boolean;
255
- };
256
- aspectRatio: {
257
- group: string;
258
- label: string;
259
- description: string;
260
- formType: string;
261
- propType: string;
262
- defaultValue: number;
263
- editable: boolean;
264
- required: boolean;
265
- };
266
- titleCentered: {
267
- group: string;
268
- label: string;
269
- description: string;
270
- formType: string;
271
- propType: string;
272
- defaultValue: boolean;
273
- editable: boolean;
274
- required: boolean;
275
- };
276
- elevation: {
277
- defaultValue: any;
278
- label: string;
279
- description: string;
280
- formType: string;
281
- propType: string;
282
- options: number[];
283
- editable: boolean;
284
- required: boolean;
285
- group: string;
286
- };
287
- };
288
- })[];
289
- //# sourceMappingURL=CardBlock.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"CardBlock.d.ts","sourceRoot":"","sources":["../../../../src/mappings/CardBlock.ts"],"names":[],"mappings":"AA0EA,eAAO,MAAM,SAAS;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IA6DrB,CAAC"}
@@ -1,102 +0,0 @@
1
- export declare const SEED_DATA: {
2
- name: string;
3
- tag: string;
4
- description: string;
5
- category: string;
6
- stylesPanelSections: string[];
7
- layout: null;
8
- props: {
9
- numColumns: {
10
- label: string;
11
- description: string;
12
- group: string;
13
- formType: string;
14
- propType: string;
15
- defaultValue: number;
16
- editable: boolean;
17
- required: boolean;
18
- };
19
- image: {
20
- label: string;
21
- description: string;
22
- formType: string;
23
- propType: string;
24
- defaultValue: null;
25
- editable: boolean;
26
- required: boolean;
27
- group: string;
28
- };
29
- title: {
30
- label: string;
31
- description: string;
32
- formType: string;
33
- propType: string;
34
- defaultValue: string;
35
- editable: boolean;
36
- required: boolean;
37
- group: string;
38
- };
39
- leftDescription: {
40
- label: string;
41
- description: string;
42
- formType: string;
43
- propType: string;
44
- defaultValue: string;
45
- editable: boolean;
46
- required: boolean;
47
- group: string;
48
- };
49
- rightDescription: {
50
- label: string;
51
- description: string;
52
- formType: string;
53
- propType: string;
54
- defaultValue: string;
55
- editable: boolean;
56
- required: boolean;
57
- group: string;
58
- };
59
- icon: {
60
- label: string;
61
- description: string;
62
- formType: string;
63
- propType: string;
64
- defaultValue: null;
65
- editable: boolean;
66
- required: boolean;
67
- group: string;
68
- };
69
- aspectRatio: {
70
- label: string;
71
- description: string;
72
- formType: string;
73
- propType: string;
74
- defaultValue: number;
75
- editable: boolean;
76
- required: boolean;
77
- group: string;
78
- };
79
- textCentered: {
80
- label: string;
81
- description: string;
82
- formType: string;
83
- propType: string;
84
- defaultValue: boolean;
85
- editable: boolean;
86
- required: boolean;
87
- group: string;
88
- };
89
- elevation: {
90
- defaultValue: any;
91
- label: string;
92
- description: string;
93
- formType: string;
94
- propType: string;
95
- options: number[];
96
- editable: boolean;
97
- required: boolean;
98
- group: string;
99
- };
100
- };
101
- }[];
102
- //# sourceMappingURL=CardContainer.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"CardContainer.d.ts","sourceRoot":"","sources":["../../../../src/mappings/CardContainer.ts"],"names":[],"mappings":"AAoFA,eAAO,MAAM,SAAS;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA+BrB,CAAC"}
@@ -1,108 +0,0 @@
1
- export declare const SEED_DATA: {
2
- name: string;
3
- tag: string;
4
- description: string;
5
- category: string;
6
- stylesPanelSections: string[];
7
- preview_image_url: string;
8
- supports_list_render: boolean;
9
- props: {
10
- numColumns: {
11
- label: string;
12
- description: string;
13
- group: string;
14
- formType: string;
15
- propType: string;
16
- defaultValue: number;
17
- editable: boolean;
18
- required: boolean;
19
- };
20
- image: {
21
- group: string;
22
- label: string;
23
- description: string;
24
- formType: string;
25
- propType: string;
26
- defaultValue: null;
27
- editable: boolean;
28
- required: boolean;
29
- };
30
- title: {
31
- group: string;
32
- label: string;
33
- description: string;
34
- formType: string;
35
- propType: string;
36
- defaultValue: string;
37
- editable: boolean;
38
- required: boolean;
39
- };
40
- leftDescription: {
41
- group: string;
42
- label: string;
43
- description: string;
44
- formType: string;
45
- propType: string;
46
- defaultValue: string;
47
- editable: boolean;
48
- required: boolean;
49
- };
50
- rightDescription: {
51
- group: string;
52
- label: string;
53
- description: string;
54
- formType: string;
55
- propType: string;
56
- defaultValue: string;
57
- editable: boolean;
58
- required: boolean;
59
- };
60
- icon: {
61
- group: string;
62
- label: string;
63
- description: string;
64
- formType: string;
65
- propType: string;
66
- defaultValue: null;
67
- editable: boolean;
68
- required: boolean;
69
- };
70
- aspectRatio: {
71
- group: string;
72
- label: string;
73
- description: string;
74
- formType: string;
75
- propType: string;
76
- defaultValue: number;
77
- editable: boolean;
78
- required: boolean;
79
- };
80
- rating: {
81
- group: string;
82
- label: string;
83
- description: string;
84
- formType: string;
85
- propType: string;
86
- defaultValue: number;
87
- min: number;
88
- max: number;
89
- step: number;
90
- precision: number;
91
- editable: boolean;
92
- required: boolean;
93
- };
94
- elevation: {
95
- defaultValue: any;
96
- label: string;
97
- description: string;
98
- formType: string;
99
- propType: string;
100
- options: number[];
101
- editable: boolean;
102
- required: boolean;
103
- group: string;
104
- };
105
- };
106
- layout: {};
107
- }[];
108
- //# sourceMappingURL=CardContainerRating.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"CardContainerRating.d.ts","sourceRoot":"","sources":["../../../../src/mappings/CardContainerRating.ts"],"names":[],"mappings":"AAuFA,eAAO,MAAM,SAAS;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAiDrB,CAAC"}