@draftbit/ui 46.4.4-74e9b3.2 → 46.4.4-75acde.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.
- package/lib/commonjs/index.js +111 -5
- package/lib/module/index.js +4 -4
- package/lib/typescript/src/index.d.ts +991 -1013
- package/package.json +4 -4
- package/src/index.js +1 -0
- package/src/index.tsx +20 -0
- package/lib/commonjs/index.js.map +0 -1
- package/lib/module/index.js.map +0 -1
- package/lib/typescript/src/index.d.ts.map +0 -1
package/lib/commonjs/index.js
CHANGED
|
@@ -3,6 +3,12 @@
|
|
|
3
3
|
Object.defineProperty(exports, "__esModule", {
|
|
4
4
|
value: true
|
|
5
5
|
});
|
|
6
|
+
Object.defineProperty(exports, "A", {
|
|
7
|
+
enumerable: true,
|
|
8
|
+
get: function () {
|
|
9
|
+
return _core.A;
|
|
10
|
+
}
|
|
11
|
+
});
|
|
6
12
|
exports.AccordionItem = exports.AccordionGroup = void 0;
|
|
7
13
|
Object.defineProperty(exports, "ActionSheet", {
|
|
8
14
|
enumerable: true,
|
|
@@ -34,7 +40,21 @@ Object.defineProperty(exports, "Avatar", {
|
|
|
34
40
|
return _core.Avatar;
|
|
35
41
|
}
|
|
36
42
|
});
|
|
37
|
-
exports.
|
|
43
|
+
exports.AvatarEdit = void 0;
|
|
44
|
+
Object.defineProperty(exports, "BR", {
|
|
45
|
+
enumerable: true,
|
|
46
|
+
get: function () {
|
|
47
|
+
return _core.BR;
|
|
48
|
+
}
|
|
49
|
+
});
|
|
50
|
+
exports.Banner = void 0;
|
|
51
|
+
Object.defineProperty(exports, "BlockQuote", {
|
|
52
|
+
enumerable: true,
|
|
53
|
+
get: function () {
|
|
54
|
+
return _core.BlockQuote;
|
|
55
|
+
}
|
|
56
|
+
});
|
|
57
|
+
exports.Card = exports.ButtonSolid = exports.ButtonOutline = exports.Button = void 0;
|
|
38
58
|
Object.defineProperty(exports, "CardBlock", {
|
|
39
59
|
enumerable: true,
|
|
40
60
|
get: function () {
|
|
@@ -80,6 +100,12 @@ Object.defineProperty(exports, "CircleImage", {
|
|
|
80
100
|
return _core.CircleImage;
|
|
81
101
|
}
|
|
82
102
|
});
|
|
103
|
+
Object.defineProperty(exports, "Code", {
|
|
104
|
+
enumerable: true,
|
|
105
|
+
get: function () {
|
|
106
|
+
return _core.Code;
|
|
107
|
+
}
|
|
108
|
+
});
|
|
83
109
|
Object.defineProperty(exports, "Container", {
|
|
84
110
|
enumerable: true,
|
|
85
111
|
get: function () {
|
|
@@ -99,7 +125,50 @@ Object.defineProperty(exports, "Divider", {
|
|
|
99
125
|
return _core.Divider;
|
|
100
126
|
}
|
|
101
127
|
});
|
|
102
|
-
exports.
|
|
128
|
+
exports.FieldSearchBarFull = exports.FAB = void 0;
|
|
129
|
+
Object.defineProperty(exports, "H1", {
|
|
130
|
+
enumerable: true,
|
|
131
|
+
get: function () {
|
|
132
|
+
return _core.H1;
|
|
133
|
+
}
|
|
134
|
+
});
|
|
135
|
+
Object.defineProperty(exports, "H2", {
|
|
136
|
+
enumerable: true,
|
|
137
|
+
get: function () {
|
|
138
|
+
return _core.H2;
|
|
139
|
+
}
|
|
140
|
+
});
|
|
141
|
+
Object.defineProperty(exports, "H3", {
|
|
142
|
+
enumerable: true,
|
|
143
|
+
get: function () {
|
|
144
|
+
return _core.H3;
|
|
145
|
+
}
|
|
146
|
+
});
|
|
147
|
+
Object.defineProperty(exports, "H4", {
|
|
148
|
+
enumerable: true,
|
|
149
|
+
get: function () {
|
|
150
|
+
return _core.H4;
|
|
151
|
+
}
|
|
152
|
+
});
|
|
153
|
+
Object.defineProperty(exports, "H5", {
|
|
154
|
+
enumerable: true,
|
|
155
|
+
get: function () {
|
|
156
|
+
return _core.H5;
|
|
157
|
+
}
|
|
158
|
+
});
|
|
159
|
+
Object.defineProperty(exports, "H6", {
|
|
160
|
+
enumerable: true,
|
|
161
|
+
get: function () {
|
|
162
|
+
return _core.H6;
|
|
163
|
+
}
|
|
164
|
+
});
|
|
165
|
+
Object.defineProperty(exports, "HR", {
|
|
166
|
+
enumerable: true,
|
|
167
|
+
get: function () {
|
|
168
|
+
return _core.HR;
|
|
169
|
+
}
|
|
170
|
+
});
|
|
171
|
+
exports.HeaderOverline = exports.HeaderMedium = exports.HeaderLarge = void 0;
|
|
103
172
|
Object.defineProperty(exports, "Icon", {
|
|
104
173
|
enumerable: true,
|
|
105
174
|
get: function () {
|
|
@@ -107,6 +176,12 @@ Object.defineProperty(exports, "Icon", {
|
|
|
107
176
|
}
|
|
108
177
|
});
|
|
109
178
|
exports.IconButton = void 0;
|
|
179
|
+
Object.defineProperty(exports, "LI", {
|
|
180
|
+
enumerable: true,
|
|
181
|
+
get: function () {
|
|
182
|
+
return _core.LI;
|
|
183
|
+
}
|
|
184
|
+
});
|
|
110
185
|
Object.defineProperty(exports, "LinearGradient", {
|
|
111
186
|
enumerable: true,
|
|
112
187
|
get: function () {
|
|
@@ -114,13 +189,31 @@ Object.defineProperty(exports, "LinearGradient", {
|
|
|
114
189
|
}
|
|
115
190
|
});
|
|
116
191
|
exports.Link = void 0;
|
|
192
|
+
Object.defineProperty(exports, "Mark", {
|
|
193
|
+
enumerable: true,
|
|
194
|
+
get: function () {
|
|
195
|
+
return _core.Mark;
|
|
196
|
+
}
|
|
197
|
+
});
|
|
117
198
|
Object.defineProperty(exports, "NumberInput", {
|
|
118
199
|
enumerable: true,
|
|
119
200
|
get: function () {
|
|
120
201
|
return _core.NumberInput;
|
|
121
202
|
}
|
|
122
203
|
});
|
|
204
|
+
Object.defineProperty(exports, "P", {
|
|
205
|
+
enumerable: true,
|
|
206
|
+
get: function () {
|
|
207
|
+
return _core.P;
|
|
208
|
+
}
|
|
209
|
+
});
|
|
123
210
|
exports.Picker = void 0;
|
|
211
|
+
Object.defineProperty(exports, "Pre", {
|
|
212
|
+
enumerable: true,
|
|
213
|
+
get: function () {
|
|
214
|
+
return _core.Pre;
|
|
215
|
+
}
|
|
216
|
+
});
|
|
124
217
|
Object.defineProperty(exports, "ProgressBar", {
|
|
125
218
|
enumerable: true,
|
|
126
219
|
get: function () {
|
|
@@ -236,6 +329,12 @@ Object.defineProperty(exports, "ThemeProvider", {
|
|
|
236
329
|
return _core.ThemeProvider;
|
|
237
330
|
}
|
|
238
331
|
});
|
|
332
|
+
Object.defineProperty(exports, "Time", {
|
|
333
|
+
enumerable: true,
|
|
334
|
+
get: function () {
|
|
335
|
+
return _core.Time;
|
|
336
|
+
}
|
|
337
|
+
});
|
|
239
338
|
exports.ToggleButton = void 0;
|
|
240
339
|
Object.defineProperty(exports, "Touchable", {
|
|
241
340
|
enumerable: true,
|
|
@@ -243,6 +342,12 @@ Object.defineProperty(exports, "Touchable", {
|
|
|
243
342
|
return _core.Touchable;
|
|
244
343
|
}
|
|
245
344
|
});
|
|
345
|
+
Object.defineProperty(exports, "UL", {
|
|
346
|
+
enumerable: true,
|
|
347
|
+
get: function () {
|
|
348
|
+
return _core.UL;
|
|
349
|
+
}
|
|
350
|
+
});
|
|
246
351
|
Object.defineProperty(exports, "WebView", {
|
|
247
352
|
enumerable: true,
|
|
248
353
|
get: function () {
|
|
@@ -261,15 +366,17 @@ Object.defineProperty(exports, "withTheme", {
|
|
|
261
366
|
return _core.withTheme;
|
|
262
367
|
}
|
|
263
368
|
});
|
|
369
|
+
|
|
264
370
|
var _native = require("@draftbit/native");
|
|
371
|
+
|
|
265
372
|
var _core = require("@draftbit/core");
|
|
373
|
+
|
|
266
374
|
/**
|
|
267
375
|
* Components with Injected Dependencies
|
|
268
376
|
*
|
|
269
377
|
* Inject a native module from `@draftbit/native` into these components for use
|
|
270
378
|
* is snack / expo / react-native
|
|
271
379
|
*/
|
|
272
|
-
|
|
273
380
|
const AvatarEdit = (0, _core.injectIcon)(_core.AvatarEdit, _native.Icon);
|
|
274
381
|
exports.AvatarEdit = AvatarEdit;
|
|
275
382
|
const Banner = (0, _core.injectIcon)(_core.Banner, _native.Icon);
|
|
@@ -329,5 +436,4 @@ exports.Slider = Slider;
|
|
|
329
436
|
const AccordionGroup = (0, _core.injectIcon)(_core.AccordionGroup, _native.Icon);
|
|
330
437
|
exports.AccordionGroup = AccordionGroup;
|
|
331
438
|
const AccordionItem = (0, _core.injectIcon)(_core.AccordionItem, _native.Icon);
|
|
332
|
-
exports.AccordionItem = AccordionItem;
|
|
333
|
-
//# sourceMappingURL=index.js.map
|
|
439
|
+
exports.AccordionItem = AccordionItem;
|
package/lib/module/index.js
CHANGED
|
@@ -1,8 +1,9 @@
|
|
|
1
1
|
import { Icon } from "@draftbit/native";
|
|
2
2
|
export { AudioPlayer, Icon, LinearGradient, WebView } from "@draftbit/native";
|
|
3
|
-
export { Avatar, Carousel, Center, Circle, CircleImage, Container, CheckboxGroup, DefaultTheme, Divider, Provider, RadioButtonFieldGroup, RadioButtonGroup, Row, ScreenContainer, Spacer, Square, Stack, Surface, SVG, Switch, SwitchRow, NumberInput, ThemeProvider, Touchable, withTheme, useAuthState,
|
|
3
|
+
export { Avatar, Carousel, Center, Circle, CircleImage, Container, CheckboxGroup, DefaultTheme, Divider, Provider, RadioButtonFieldGroup, RadioButtonGroup, Row, ScreenContainer, Spacer, Square, Stack, Surface, SVG, Switch, SwitchRow, NumberInput, ThemeProvider, Touchable, withTheme, useAuthState,
|
|
4
|
+
/* Deprecated, needs fixing */
|
|
4
5
|
CardBlock, CardInline, ProgressBar, ProgressCircle, RowHeadlineImageCaption, ActionSheet, ActionSheetItem, ActionSheetCancel, Swiper, SwiperItem } from "@draftbit/core";
|
|
5
|
-
|
|
6
|
+
export { H1, H2, H3, H4, H5, H6, A, P, Code, Pre, Mark, BR, BlockQuote, Time, UL, LI, HR } from "@draftbit/core";
|
|
6
7
|
/**
|
|
7
8
|
* Components with Injected Dependencies
|
|
8
9
|
*
|
|
@@ -40,5 +41,4 @@ export const TextField = injectIcon(BaseTextField, Icon);
|
|
|
40
41
|
export const ToggleButton = injectIcon(BaseToggleButton, Icon);
|
|
41
42
|
export const Slider = injectIcon(BaseSlider, Icon);
|
|
42
43
|
export const AccordionGroup = injectIcon(BaseAccordionGroup, Icon);
|
|
43
|
-
export const AccordionItem = injectIcon(BaseAccordionItem, Icon);
|
|
44
|
-
//# sourceMappingURL=index.js.map
|
|
44
|
+
export const AccordionItem = injectIcon(BaseAccordionItem, Icon);
|