@draftbit/ui 46.4.4-746597.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 +106 -7
- package/lib/module/index.js +5 -5
- package/lib/typescript/src/index.d.ts +992 -994
- package/package.json +4 -4
- package/src/index.js +2 -1
- package/src/index.tsx +20 -1
- 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,11 +40,18 @@ Object.defineProperty(exports, "Avatar", {
|
|
|
34
40
|
return _core.Avatar;
|
|
35
41
|
}
|
|
36
42
|
});
|
|
37
|
-
exports.
|
|
38
|
-
Object.defineProperty(exports, "
|
|
43
|
+
exports.AvatarEdit = void 0;
|
|
44
|
+
Object.defineProperty(exports, "BR", {
|
|
39
45
|
enumerable: true,
|
|
40
46
|
get: function () {
|
|
41
|
-
return _core.
|
|
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;
|
|
42
55
|
}
|
|
43
56
|
});
|
|
44
57
|
exports.Card = exports.ButtonSolid = exports.ButtonOutline = exports.Button = void 0;
|
|
@@ -87,6 +100,12 @@ Object.defineProperty(exports, "CircleImage", {
|
|
|
87
100
|
return _core.CircleImage;
|
|
88
101
|
}
|
|
89
102
|
});
|
|
103
|
+
Object.defineProperty(exports, "Code", {
|
|
104
|
+
enumerable: true,
|
|
105
|
+
get: function () {
|
|
106
|
+
return _core.Code;
|
|
107
|
+
}
|
|
108
|
+
});
|
|
90
109
|
Object.defineProperty(exports, "Container", {
|
|
91
110
|
enumerable: true,
|
|
92
111
|
get: function () {
|
|
@@ -106,7 +125,50 @@ Object.defineProperty(exports, "Divider", {
|
|
|
106
125
|
return _core.Divider;
|
|
107
126
|
}
|
|
108
127
|
});
|
|
109
|
-
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;
|
|
110
172
|
Object.defineProperty(exports, "Icon", {
|
|
111
173
|
enumerable: true,
|
|
112
174
|
get: function () {
|
|
@@ -114,6 +176,12 @@ Object.defineProperty(exports, "Icon", {
|
|
|
114
176
|
}
|
|
115
177
|
});
|
|
116
178
|
exports.IconButton = void 0;
|
|
179
|
+
Object.defineProperty(exports, "LI", {
|
|
180
|
+
enumerable: true,
|
|
181
|
+
get: function () {
|
|
182
|
+
return _core.LI;
|
|
183
|
+
}
|
|
184
|
+
});
|
|
117
185
|
Object.defineProperty(exports, "LinearGradient", {
|
|
118
186
|
enumerable: true,
|
|
119
187
|
get: function () {
|
|
@@ -121,13 +189,31 @@ Object.defineProperty(exports, "LinearGradient", {
|
|
|
121
189
|
}
|
|
122
190
|
});
|
|
123
191
|
exports.Link = void 0;
|
|
192
|
+
Object.defineProperty(exports, "Mark", {
|
|
193
|
+
enumerable: true,
|
|
194
|
+
get: function () {
|
|
195
|
+
return _core.Mark;
|
|
196
|
+
}
|
|
197
|
+
});
|
|
124
198
|
Object.defineProperty(exports, "NumberInput", {
|
|
125
199
|
enumerable: true,
|
|
126
200
|
get: function () {
|
|
127
201
|
return _core.NumberInput;
|
|
128
202
|
}
|
|
129
203
|
});
|
|
204
|
+
Object.defineProperty(exports, "P", {
|
|
205
|
+
enumerable: true,
|
|
206
|
+
get: function () {
|
|
207
|
+
return _core.P;
|
|
208
|
+
}
|
|
209
|
+
});
|
|
130
210
|
exports.Picker = void 0;
|
|
211
|
+
Object.defineProperty(exports, "Pre", {
|
|
212
|
+
enumerable: true,
|
|
213
|
+
get: function () {
|
|
214
|
+
return _core.Pre;
|
|
215
|
+
}
|
|
216
|
+
});
|
|
131
217
|
Object.defineProperty(exports, "ProgressBar", {
|
|
132
218
|
enumerable: true,
|
|
133
219
|
get: function () {
|
|
@@ -243,6 +329,12 @@ Object.defineProperty(exports, "ThemeProvider", {
|
|
|
243
329
|
return _core.ThemeProvider;
|
|
244
330
|
}
|
|
245
331
|
});
|
|
332
|
+
Object.defineProperty(exports, "Time", {
|
|
333
|
+
enumerable: true,
|
|
334
|
+
get: function () {
|
|
335
|
+
return _core.Time;
|
|
336
|
+
}
|
|
337
|
+
});
|
|
246
338
|
exports.ToggleButton = void 0;
|
|
247
339
|
Object.defineProperty(exports, "Touchable", {
|
|
248
340
|
enumerable: true,
|
|
@@ -250,6 +342,12 @@ Object.defineProperty(exports, "Touchable", {
|
|
|
250
342
|
return _core.Touchable;
|
|
251
343
|
}
|
|
252
344
|
});
|
|
345
|
+
Object.defineProperty(exports, "UL", {
|
|
346
|
+
enumerable: true,
|
|
347
|
+
get: function () {
|
|
348
|
+
return _core.UL;
|
|
349
|
+
}
|
|
350
|
+
});
|
|
253
351
|
Object.defineProperty(exports, "WebView", {
|
|
254
352
|
enumerable: true,
|
|
255
353
|
get: function () {
|
|
@@ -268,15 +366,17 @@ Object.defineProperty(exports, "withTheme", {
|
|
|
268
366
|
return _core.withTheme;
|
|
269
367
|
}
|
|
270
368
|
});
|
|
369
|
+
|
|
271
370
|
var _native = require("@draftbit/native");
|
|
371
|
+
|
|
272
372
|
var _core = require("@draftbit/core");
|
|
373
|
+
|
|
273
374
|
/**
|
|
274
375
|
* Components with Injected Dependencies
|
|
275
376
|
*
|
|
276
377
|
* Inject a native module from `@draftbit/native` into these components for use
|
|
277
378
|
* is snack / expo / react-native
|
|
278
379
|
*/
|
|
279
|
-
|
|
280
380
|
const AvatarEdit = (0, _core.injectIcon)(_core.AvatarEdit, _native.Icon);
|
|
281
381
|
exports.AvatarEdit = AvatarEdit;
|
|
282
382
|
const Banner = (0, _core.injectIcon)(_core.Banner, _native.Icon);
|
|
@@ -336,5 +436,4 @@ exports.Slider = Slider;
|
|
|
336
436
|
const AccordionGroup = (0, _core.injectIcon)(_core.AccordionGroup, _native.Icon);
|
|
337
437
|
exports.AccordionGroup = AccordionGroup;
|
|
338
438
|
const AccordionItem = (0, _core.injectIcon)(_core.AccordionItem, _native.Icon);
|
|
339
|
-
exports.AccordionItem = AccordionItem;
|
|
340
|
-
//# 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,
|
|
4
|
-
|
|
5
|
-
|
|
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 */
|
|
5
|
+
CardBlock, CardInline, ProgressBar, ProgressCircle, RowHeadlineImageCaption, ActionSheet, ActionSheetItem, ActionSheetCancel, Swiper, SwiperItem } from "@draftbit/core";
|
|
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);
|