@draftbit/ui 46.10.3-fbd333.2 → 46.11.1-0339d0.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 +34 -1
- package/lib/module/index.js +7 -4
- package/lib/typescript/src/index.d.ts +6036 -13
- package/lib/typescript/src/index.d.ts.map +1 -1
- package/package.json +10 -7
- package/src/index.js +6 -3
- package/src/index.tsx +10 -0
package/lib/commonjs/index.js
CHANGED
|
@@ -68,6 +68,12 @@ Object.defineProperty(exports, "CircleImage", {
|
|
|
68
68
|
return _core.CircleImage;
|
|
69
69
|
}
|
|
70
70
|
});
|
|
71
|
+
Object.defineProperty(exports, "Container", {
|
|
72
|
+
enumerable: true,
|
|
73
|
+
get: function () {
|
|
74
|
+
return _core.Container;
|
|
75
|
+
}
|
|
76
|
+
});
|
|
71
77
|
exports.DatePicker = void 0;
|
|
72
78
|
Object.defineProperty(exports, "DeckSwiper", {
|
|
73
79
|
enumerable: true,
|
|
@@ -165,6 +171,14 @@ Object.defineProperty(exports, "Row", {
|
|
|
165
171
|
return _core.Row;
|
|
166
172
|
}
|
|
167
173
|
});
|
|
174
|
+
exports.RowBodyIcon = void 0;
|
|
175
|
+
Object.defineProperty(exports, "RowHeadlineImageCaption", {
|
|
176
|
+
enumerable: true,
|
|
177
|
+
get: function () {
|
|
178
|
+
return _core.RowHeadlineImageCaption;
|
|
179
|
+
}
|
|
180
|
+
});
|
|
181
|
+
exports.RowHeadlineImageIcon = void 0;
|
|
168
182
|
Object.defineProperty(exports, "SVG", {
|
|
169
183
|
enumerable: true,
|
|
170
184
|
get: function () {
|
|
@@ -209,6 +223,19 @@ Object.defineProperty(exports, "Surface", {
|
|
|
209
223
|
return _core.Surface;
|
|
210
224
|
}
|
|
211
225
|
});
|
|
226
|
+
exports.SwipeableView = void 0;
|
|
227
|
+
Object.defineProperty(exports, "SwipeableViewButton", {
|
|
228
|
+
enumerable: true,
|
|
229
|
+
get: function () {
|
|
230
|
+
return _core.SwipeableViewButton;
|
|
231
|
+
}
|
|
232
|
+
});
|
|
233
|
+
Object.defineProperty(exports, "SwipeableViewSwipeHandler", {
|
|
234
|
+
enumerable: true,
|
|
235
|
+
get: function () {
|
|
236
|
+
return _core.SwipeableViewSwipeHandler;
|
|
237
|
+
}
|
|
238
|
+
});
|
|
212
239
|
Object.defineProperty(exports, "Swiper", {
|
|
213
240
|
enumerable: true,
|
|
214
241
|
get: function () {
|
|
@@ -337,6 +364,10 @@ const RadioButton = (0, _core.injectIcon)(_core.RadioButton, _native.Icon);
|
|
|
337
364
|
exports.RadioButton = RadioButton;
|
|
338
365
|
const RadioButtonRow = (0, _core.injectIcon)(_core.RadioButtonRow, _native.Icon);
|
|
339
366
|
exports.RadioButtonRow = RadioButtonRow;
|
|
367
|
+
const RowBodyIcon = (0, _core.injectIcon)(_core.RowBodyIcon, _native.Icon);
|
|
368
|
+
exports.RowBodyIcon = RowBodyIcon;
|
|
369
|
+
const RowHeadlineImageIcon = (0, _core.injectIcon)(_core.RowHeadlineImageIcon, _native.Icon);
|
|
370
|
+
exports.RowHeadlineImageIcon = RowHeadlineImageIcon;
|
|
340
371
|
const StarRating = (0, _core.injectIcon)(_core.StarRating, _native.Icon);
|
|
341
372
|
exports.StarRating = StarRating;
|
|
342
373
|
const Stepper = (0, _core.injectIcon)(_core.Stepper, _native.Icon);
|
|
@@ -352,4 +383,6 @@ exports.AccordionGroup = AccordionGroup;
|
|
|
352
383
|
const AccordionItem = (0, _core.injectIcon)(_core.AccordionItem, _native.Icon);
|
|
353
384
|
exports.AccordionItem = AccordionItem;
|
|
354
385
|
const TabView = (0, _core.injectIcon)(_core.TabView, _native.Icon);
|
|
355
|
-
exports.TabView = TabView;
|
|
386
|
+
exports.TabView = TabView;
|
|
387
|
+
const SwipeableView = (0, _core.injectIcon)(_core.SwipeableView, _native.Icon);
|
|
388
|
+
exports.SwipeableView = SwipeableView;
|
package/lib/module/index.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { Icon } from "@draftbit/native";
|
|
2
2
|
export { AudioPlayer, Icon, LinearGradient, WebView } from "@draftbit/native";
|
|
3
|
-
export { Avatar, Center, Circle, CircleImage, CheckboxGroup, DefaultTheme, Divider, Provider, RadioButtonFieldGroup, RadioButtonGroup, Row, ScreenContainer, Spacer, Square, Stack, Surface, SVG, Switch, SwitchRow, NumberInput, ThemeProvider, Touchable, Pressable, withTheme, useAuthState, DeckSwiper, DeckSwiperCard, Shadow, TabViewItem, Markdown, BottomSheet, YoutubePlayer, Table, TableRow, TableCell, /* Deprecated, needs fixing */
|
|
4
|
-
ProgressBar, ProgressCircle, ActionSheet, ActionSheetItem, ActionSheetCancel, Swiper, SwiperItem } from "@draftbit/core";
|
|
3
|
+
export { Avatar, Center, Circle, CircleImage, Container, CheckboxGroup, DefaultTheme, Divider, Provider, RadioButtonFieldGroup, RadioButtonGroup, Row, ScreenContainer, Spacer, Square, Stack, Surface, SVG, Switch, SwitchRow, NumberInput, ThemeProvider, Touchable, Pressable, withTheme, useAuthState, DeckSwiper, DeckSwiperCard, Shadow, TabViewItem, Markdown, BottomSheet, YoutubePlayer, Table, TableRow, TableCell, SwipeableViewButton, SwipeableViewSwipeHandler, /* Deprecated, needs fixing */
|
|
4
|
+
ProgressBar, ProgressCircle, RowHeadlineImageCaption, ActionSheet, ActionSheetItem, ActionSheetCancel, Swiper, SwiperItem } from "@draftbit/core";
|
|
5
5
|
|
|
6
6
|
/**
|
|
7
7
|
* Components with Injected Dependencies
|
|
@@ -10,7 +10,7 @@ ProgressBar, ProgressCircle, ActionSheet, ActionSheetItem, ActionSheetCancel, Sw
|
|
|
10
10
|
* is snack / expo / react-native
|
|
11
11
|
*/
|
|
12
12
|
|
|
13
|
-
import { injectIcon, AvatarEdit as BaseAvatarEdit, Banner as BaseBanner, Button as BaseDeprecatedButton, ButtonSolid as BaseButtonSolid, ButtonOutline as BaseButtonOutline, Card as BaseCard, Link as BaseLink, Checkbox as BaseCheckbox, CheckboxRow as BaseCheckboxRow, DatePicker as BaseDatePicker, FAB as BaseFab, FieldSearchBarFull as BaseFieldSearchBarFull, IconButton as BaseIconButton, Picker as BasePicker, StarRating as BaseStarRating, TextField as BaseTextField, RadioButton as BaseRadioButton, RadioButtonRow as BaseRadioButtonRow, Stepper as BaseStepper, ToggleButton as BaseToggleButton, Slider as BaseSlider, AccordionGroup as BaseAccordionGroup, AccordionItem as BaseAccordionItem, TabView as BaseTabView } from "@draftbit/core";
|
|
13
|
+
import { injectIcon, AvatarEdit as BaseAvatarEdit, Banner as BaseBanner, Button as BaseDeprecatedButton, ButtonSolid as BaseButtonSolid, ButtonOutline as BaseButtonOutline, Card as BaseCard, Link as BaseLink, Checkbox as BaseCheckbox, CheckboxRow as BaseCheckboxRow, DatePicker as BaseDatePicker, FAB as BaseFab, FieldSearchBarFull as BaseFieldSearchBarFull, IconButton as BaseIconButton, Picker as BasePicker, StarRating as BaseStarRating, TextField as BaseTextField, RadioButton as BaseRadioButton, RadioButtonRow as BaseRadioButtonRow, Stepper as BaseStepper, ToggleButton as BaseToggleButton, RowBodyIcon as BaseRowBodyIcon, RowHeadlineImageIcon as BaseRowHeadlineImageIcon, Slider as BaseSlider, AccordionGroup as BaseAccordionGroup, AccordionItem as BaseAccordionItem, TabView as BaseTabView, SwipeableView as BaseSwipeableView } from "@draftbit/core";
|
|
14
14
|
export const AvatarEdit = injectIcon(BaseAvatarEdit, Icon);
|
|
15
15
|
export const Banner = injectIcon(BaseBanner, Icon);
|
|
16
16
|
export const Button = injectIcon(BaseDeprecatedButton, Icon);
|
|
@@ -27,6 +27,8 @@ export const Link = injectIcon(BaseLink, Icon);
|
|
|
27
27
|
export const Picker = injectIcon(BasePicker, Icon);
|
|
28
28
|
export const RadioButton = injectIcon(BaseRadioButton, Icon);
|
|
29
29
|
export const RadioButtonRow = injectIcon(BaseRadioButtonRow, Icon);
|
|
30
|
+
export const RowBodyIcon = injectIcon(BaseRowBodyIcon, Icon);
|
|
31
|
+
export const RowHeadlineImageIcon = injectIcon(BaseRowHeadlineImageIcon, Icon);
|
|
30
32
|
export const StarRating = injectIcon(BaseStarRating, Icon);
|
|
31
33
|
export const Stepper = injectIcon(BaseStepper, Icon);
|
|
32
34
|
export const TextField = injectIcon(BaseTextField, Icon);
|
|
@@ -34,4 +36,5 @@ export const ToggleButton = injectIcon(BaseToggleButton, Icon);
|
|
|
34
36
|
export const Slider = injectIcon(BaseSlider, Icon);
|
|
35
37
|
export const AccordionGroup = injectIcon(BaseAccordionGroup, Icon);
|
|
36
38
|
export const AccordionItem = injectIcon(BaseAccordionItem, Icon);
|
|
37
|
-
export const TabView = injectIcon(BaseTabView, Icon);
|
|
39
|
+
export const TabView = injectIcon(BaseTabView, Icon);
|
|
40
|
+
export const SwipeableView = injectIcon(BaseSwipeableView, Icon);
|