@draftbit/core 46.10.1 → 46.10.2-14170b.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/components/Checkbox/CheckboxGroup.js +2 -17
- package/lib/commonjs/components/Checkbox/CheckboxRow.js +23 -6
- package/lib/commonjs/components/CircleImage.js +1 -15
- package/lib/commonjs/components/CircularProgress.js +8 -26
- package/lib/commonjs/components/Container.js +4 -15
- package/lib/commonjs/components/Picker/PickerComponent.android.js +3 -20
- package/lib/commonjs/components/Pressable.js +2 -15
- package/lib/commonjs/components/RadioButton/RadioButtonRow.js +5 -23
- package/lib/commonjs/components/RadioButton/context.js +1 -1
- package/lib/commonjs/components/Slider.js +4 -21
- package/lib/commonjs/components/TabView/TabView.js +7 -13
- package/lib/commonjs/components/YoutubePlayer/YoutubePlayer.js +40 -0
- package/lib/commonjs/components/{YotubePlayer.js → YoutubePlayer/YoutubePlayer.native.js} +4 -10
- package/lib/commonjs/components/YoutubePlayer/YoutubePlayerProps.js +5 -0
- package/lib/commonjs/components/YoutubePlayer/index.js +13 -0
- package/lib/commonjs/constants.js +1 -1
- package/lib/commonjs/index.js +2 -23
- package/lib/commonjs/mappings/NativeBase/Layout.js +97 -0
- package/lib/commonjs/mappings/StarRating.js +2 -6
- package/lib/commonjs/mappings/YoutubePlayer.js +0 -6
- package/lib/module/components/DeckSwiper/DeckSwiper.js +3 -0
- package/lib/module/components/Picker/PickerComponent.ios.js +11 -36
- package/lib/module/components/YoutubePlayer/YoutubePlayer.js +32 -0
- package/lib/module/components/YoutubePlayer/YoutubePlayer.native.js +24 -0
- package/lib/module/components/YoutubePlayer/YoutubePlayerProps.js +1 -0
- package/lib/module/components/YoutubePlayer/index.js +1 -0
- package/lib/module/hooks.js +1 -2
- package/lib/module/index.js +1 -4
- package/lib/module/mappings/NativeBase/Layout.js +90 -0
- package/lib/module/mappings/YoutubePlayer.js +0 -6
- package/lib/typescript/src/components/YoutubePlayer/YoutubePlayer.d.ts +5 -0
- package/lib/typescript/src/components/YoutubePlayer/YoutubePlayer.d.ts.map +1 -0
- package/lib/typescript/src/components/YoutubePlayer/YoutubePlayer.native.d.ts +5 -0
- package/lib/typescript/src/components/YoutubePlayer/YoutubePlayer.native.d.ts.map +1 -0
- package/lib/typescript/src/components/YoutubePlayer/YoutubePlayerProps.d.ts +8 -0
- package/lib/typescript/src/components/YoutubePlayer/YoutubePlayerProps.d.ts.map +1 -0
- package/lib/typescript/src/components/YoutubePlayer/index.d.ts +2 -0
- package/lib/typescript/src/components/YoutubePlayer/index.d.ts.map +1 -0
- package/lib/typescript/src/index.d.ts +1 -4
- package/lib/typescript/src/index.d.ts.map +1 -1
- package/lib/typescript/src/mappings/NativeBase/Layout.d.ts +107 -0
- package/lib/typescript/src/mappings/NativeBase/Layout.d.ts.map +1 -0
- package/lib/typescript/src/mappings/YoutubePlayer.d.ts +0 -10
- package/lib/typescript/src/mappings/YoutubePlayer.d.ts.map +1 -1
- package/package.json +5 -5
- package/src/components/YoutubePlayer/YoutubePlayer.js +20 -0
- package/src/components/YoutubePlayer/YoutubePlayer.native.js +9 -0
- package/src/components/YoutubePlayer/YoutubePlayer.native.tsx +27 -0
- package/src/components/YoutubePlayer/YoutubePlayer.tsx +36 -0
- package/src/components/YoutubePlayer/YoutubePlayerProps.js +1 -0
- package/src/components/YoutubePlayer/YoutubePlayerProps.ts +8 -0
- package/src/components/YoutubePlayer/index.js +1 -0
- package/src/components/YoutubePlayer/index.ts +1 -0
- package/src/index.js +1 -4
- package/src/index.tsx +1 -4
- package/src/mappings/NativeBase/Layout.js +101 -0
- package/src/mappings/NativeBase/Layout.ts +116 -0
- package/src/mappings/YoutubePlayer.js +0 -6
- package/src/mappings/YoutubePlayer.ts +0 -6
- package/lib/commonjs/components/Row.js +0 -73
- package/lib/commonjs/components/RowBodyIcon.js +0 -45
- package/lib/commonjs/components/RowHeadlineImageCaption.js +0 -45
- package/lib/commonjs/components/RowHeadlineImageIcon.js +0 -51
- package/lib/module/components/Row.js +0 -63
- package/lib/module/components/RowBodyIcon.js +0 -35
- package/lib/module/components/RowHeadlineImageCaption.js +0 -35
- package/lib/module/components/RowHeadlineImageIcon.js +0 -41
- package/lib/module/components/YotubePlayer.js +0 -30
- package/lib/typescript/src/components/Row.d.ts +0 -21
- package/lib/typescript/src/components/Row.d.ts.map +0 -1
- package/lib/typescript/src/components/RowBodyIcon.d.ts +0 -16
- package/lib/typescript/src/components/RowBodyIcon.d.ts.map +0 -1
- package/lib/typescript/src/components/RowHeadlineImageCaption.d.ts +0 -16
- package/lib/typescript/src/components/RowHeadlineImageCaption.d.ts.map +0 -1
- package/lib/typescript/src/components/RowHeadlineImageIcon.d.ts +0 -18
- package/lib/typescript/src/components/RowHeadlineImageIcon.d.ts.map +0 -1
- package/lib/typescript/src/components/YotubePlayer.d.ts +0 -12
- package/lib/typescript/src/components/YotubePlayer.d.ts.map +0 -1
- package/src/components/Row.js +0 -48
- package/src/components/Row.tsx +0 -108
- package/src/components/RowBodyIcon.js +0 -8
- package/src/components/RowBodyIcon.tsx +0 -47
- package/src/components/RowHeadlineImageCaption.js +0 -12
- package/src/components/RowHeadlineImageCaption.tsx +0 -49
- package/src/components/RowHeadlineImageIcon.js +0 -14
- package/src/components/RowHeadlineImageIcon.tsx +0 -61
- package/src/components/YotubePlayer.js +0 -10
- package/src/components/YotubePlayer.tsx +0 -38
|
@@ -0,0 +1,97 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
exports.SEED_DATA = void 0;
|
|
7
|
+
var _types = require("@draftbit/types");
|
|
8
|
+
const SHARED_SEED_DATA = {
|
|
9
|
+
category: _types.COMPONENT_TYPES.layout,
|
|
10
|
+
packageName: "native-base",
|
|
11
|
+
stylesPanelSections: _types.CONTAINER_COMPONENT_STYLES_SECTIONS
|
|
12
|
+
};
|
|
13
|
+
const SEED_DATA = [{
|
|
14
|
+
name: "Aspect Ratio",
|
|
15
|
+
tag: "AspectRatio",
|
|
16
|
+
description: "Controls the size of the undefined dimension of a node or child component using an aspect ratio",
|
|
17
|
+
...SHARED_SEED_DATA,
|
|
18
|
+
props: {
|
|
19
|
+
ratio: (0, _types.createStaticNumberProp)({
|
|
20
|
+
label: "Ratio",
|
|
21
|
+
description: "The aspect ratio of the container in decimal format (ex: 3/4 -> 1.33)",
|
|
22
|
+
defaultValue: 1.33
|
|
23
|
+
})
|
|
24
|
+
}
|
|
25
|
+
}, {
|
|
26
|
+
name: "Box",
|
|
27
|
+
tag: "Box",
|
|
28
|
+
description: "This is a generic component for low level layout needs. It is similar to a div in HTML",
|
|
29
|
+
...SHARED_SEED_DATA
|
|
30
|
+
}, {
|
|
31
|
+
name: "Center",
|
|
32
|
+
tag: "Center",
|
|
33
|
+
description: "Center aligns its contents to the center within itself",
|
|
34
|
+
...SHARED_SEED_DATA
|
|
35
|
+
}, {
|
|
36
|
+
name: "Circle",
|
|
37
|
+
tag: "Circle",
|
|
38
|
+
description: "Center aligns its contents to the center within itself with a round border radius",
|
|
39
|
+
...SHARED_SEED_DATA
|
|
40
|
+
}, {
|
|
41
|
+
name: "Container",
|
|
42
|
+
tag: "Container",
|
|
43
|
+
description: "The Container restricts a content's width according to current breakpoint, while keeping the size fluid",
|
|
44
|
+
...SHARED_SEED_DATA
|
|
45
|
+
}, {
|
|
46
|
+
name: "Column",
|
|
47
|
+
tag: "Column",
|
|
48
|
+
description: "Column aligns items vertically",
|
|
49
|
+
...SHARED_SEED_DATA
|
|
50
|
+
}, {
|
|
51
|
+
name: "Row",
|
|
52
|
+
tag: "Row",
|
|
53
|
+
description: "Column aligns items horizontally",
|
|
54
|
+
...SHARED_SEED_DATA
|
|
55
|
+
}, {
|
|
56
|
+
name: "Spacer",
|
|
57
|
+
tag: "Spacer",
|
|
58
|
+
description: "An adjustable, empty space that can be used to tune the spacing between child elements within Flex",
|
|
59
|
+
...SHARED_SEED_DATA
|
|
60
|
+
}, {
|
|
61
|
+
name: "Stack",
|
|
62
|
+
tag: "Stack",
|
|
63
|
+
description: "Stack aligns items vertically or horizontally based on the direction prop",
|
|
64
|
+
...SHARED_SEED_DATA,
|
|
65
|
+
props: {
|
|
66
|
+
direction: (0, _types.createTextEnumProp)({
|
|
67
|
+
label: "Direction",
|
|
68
|
+
description: "The direction of the Stack",
|
|
69
|
+
options: ["row", "column"],
|
|
70
|
+
defaultValue: "column"
|
|
71
|
+
}),
|
|
72
|
+
reversed: (0, _types.createBoolProp)({
|
|
73
|
+
label: "Reversed",
|
|
74
|
+
description: "Determines whether to reverse the direction of items"
|
|
75
|
+
}),
|
|
76
|
+
isDisabled: (0, _types.createBoolProp)({
|
|
77
|
+
label: "Disabled",
|
|
78
|
+
description: "If true, the Stack will be disabled"
|
|
79
|
+
}),
|
|
80
|
+
isInvalid: (0, _types.createBoolProp)({
|
|
81
|
+
label: "Invalid",
|
|
82
|
+
description: "If true, the Stack will be invalid"
|
|
83
|
+
})
|
|
84
|
+
}
|
|
85
|
+
}, {
|
|
86
|
+
name: "ZStack",
|
|
87
|
+
tag: "ZStack",
|
|
88
|
+
description: "ZStack aligns items to the z-axis",
|
|
89
|
+
...SHARED_SEED_DATA,
|
|
90
|
+
props: {
|
|
91
|
+
reversed: (0, _types.createBoolProp)({
|
|
92
|
+
label: "Reversed",
|
|
93
|
+
description: "Determines whether to reverse the direction of items"
|
|
94
|
+
})
|
|
95
|
+
}
|
|
96
|
+
}];
|
|
97
|
+
exports.SEED_DATA = SEED_DATA;
|
|
@@ -23,7 +23,9 @@ const SEED_DATA = {
|
|
|
23
23
|
}),
|
|
24
24
|
fieldName: (0, _types.createFieldNameProp)({
|
|
25
25
|
defaultValue: "ratingValue",
|
|
26
|
+
// this is the name of the variable declared on the screen in Draftbit
|
|
26
27
|
handlerPropName: "onPress",
|
|
28
|
+
// the change handler prop in this component
|
|
27
29
|
valuePropName: "rating" // the value prop in this component
|
|
28
30
|
}),
|
|
29
31
|
|
|
@@ -48,10 +50,4 @@ const SEED_DATA = {
|
|
|
48
50
|
})
|
|
49
51
|
}
|
|
50
52
|
};
|
|
51
|
-
exports.SEED_DATA = SEED_DATA;pes.createColorProp)({
|
|
52
|
-
label: "Inactive Color",
|
|
53
|
-
defaultValue: "divider"
|
|
54
|
-
})
|
|
55
|
-
}
|
|
56
|
-
};
|
|
57
53
|
exports.SEED_DATA = SEED_DATA;
|
|
@@ -27,12 +27,6 @@ const SEED_DATA = {
|
|
|
27
27
|
description: "Playlist of the Youtube videos.",
|
|
28
28
|
defaultValue: null
|
|
29
29
|
}),
|
|
30
|
-
mute: (0, _types.createStaticBoolProp)({
|
|
31
|
-
label: "Mute Audio",
|
|
32
|
-
description: "Mute the audio of the video.",
|
|
33
|
-
defaultValue: false,
|
|
34
|
-
required: false
|
|
35
|
-
}),
|
|
36
30
|
autoplay: (0, _types.createStaticBoolProp)({
|
|
37
31
|
label: "Auto Play",
|
|
38
32
|
description: "Autoplay the video on load.",
|
|
@@ -24,6 +24,7 @@ const DeckSwiper = _ref => {
|
|
|
24
24
|
console.warn("'children' of DeckSwiper ignored due to usage of 'data' and 'renderItem'");
|
|
25
25
|
}
|
|
26
26
|
const childrenArray = React.useMemo(() => React.Children.toArray(children), [children]);
|
|
27
|
+
|
|
27
28
|
// an array of indices based on children count
|
|
28
29
|
const cardsFillerData = React.useMemo(() => Array.from(Array(childrenArray.length).keys()), [childrenArray]);
|
|
29
30
|
const cardsData = data || cardsFillerData;
|
|
@@ -50,6 +51,7 @@ const DeckSwiper = _ref => {
|
|
|
50
51
|
return card === null || card === void 0 ? void 0 : card.toString();
|
|
51
52
|
}
|
|
52
53
|
};
|
|
54
|
+
|
|
53
55
|
/**
|
|
54
56
|
* By default react-native-deck-swiper positions everything with absolute position.
|
|
55
57
|
* To overcome this, it is wrapped in a View to be able to add the component in any layout structure.
|
|
@@ -59,6 +61,7 @@ const DeckSwiper = _ref => {
|
|
|
59
61
|
* To fix/mitage this without setting a static height, the first card is rendered in invisible state to take up space.
|
|
60
62
|
* This effectivley makes the default height of the container be the height of the first card.
|
|
61
63
|
*/
|
|
64
|
+
|
|
62
65
|
return /*#__PURE__*/React.createElement(View, null, /*#__PURE__*/React.createElement(View, {
|
|
63
66
|
style: styles.containerHeightFiller
|
|
64
67
|
}, renderFirstCard()), /*#__PURE__*/React.createElement(DeckSwiperComponent, {
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
function _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
|
|
1
2
|
import * as React from "react";
|
|
2
3
|
import { View, StyleSheet } from "react-native";
|
|
3
4
|
import { SafeAreaView } from "react-native-safe-area-context";
|
|
@@ -10,6 +11,7 @@ import TextField from "../TextField";
|
|
|
10
11
|
import Touchable from "../Touchable";
|
|
11
12
|
import { extractStyles } from "../../utilities";
|
|
12
13
|
const Picker = _ref => {
|
|
14
|
+
var _options$find$label, _options$find;
|
|
13
15
|
let {
|
|
14
16
|
Icon,
|
|
15
17
|
style,
|
|
@@ -23,7 +25,6 @@ const Picker = _ref => {
|
|
|
23
25
|
},
|
|
24
26
|
...props
|
|
25
27
|
} = _ref;
|
|
26
|
-
var _a, _b;
|
|
27
28
|
const {
|
|
28
29
|
viewStyles: {
|
|
29
30
|
borderRadius,
|
|
@@ -64,24 +65,26 @@ const Picker = _ref => {
|
|
|
64
65
|
};
|
|
65
66
|
|
|
66
67
|
const stylesWithoutMargin = style && omit(StyleSheet.flatten(style), ["margin", "marginTop", "marginRight", "marginBottom", "marginLeft"]);
|
|
67
|
-
const selectedLabel = selectedValue && ((
|
|
68
|
+
const selectedLabel = selectedValue && ((_options$find$label = (_options$find = options.find(o => o.value === selectedValue)) === null || _options$find === void 0 ? void 0 : _options$find.label) !== null && _options$find$label !== void 0 ? _options$find$label : selectedValue);
|
|
68
69
|
return /*#__PURE__*/React.createElement(View, {
|
|
69
70
|
style: [styles.container, viewStyles]
|
|
70
71
|
}, /*#__PURE__*/React.createElement(Touchable, {
|
|
71
72
|
disabled: disabled,
|
|
72
73
|
onPress: toggleVisibility
|
|
73
|
-
}, /*#__PURE__*/React.createElement(TextField, {
|
|
74
|
-
...props,
|
|
74
|
+
}, /*#__PURE__*/React.createElement(TextField, _extends({}, props, {
|
|
75
75
|
value: String(selectedLabel),
|
|
76
|
-
placeholder: placeholder
|
|
76
|
+
placeholder: placeholder
|
|
77
77
|
// @ts-ignore
|
|
78
|
-
|
|
78
|
+
,
|
|
79
|
+
ref: textField // cannot determine if ref is of correct type due to component being wrapped in a withTheme()
|
|
80
|
+
,
|
|
79
81
|
disabled: disabled,
|
|
80
|
-
pointerEvents: "none"
|
|
82
|
+
pointerEvents: "none"
|
|
81
83
|
// @ts-expect-error
|
|
84
|
+
,
|
|
82
85
|
style: stylesWithoutMargin,
|
|
83
86
|
Icon: Icon
|
|
84
|
-
})), pickerVisible && /*#__PURE__*/React.createElement(Portal, null, /*#__PURE__*/React.createElement(View, {
|
|
87
|
+
}))), pickerVisible && /*#__PURE__*/React.createElement(Portal, null, /*#__PURE__*/React.createElement(View, {
|
|
85
88
|
style: [styles.picker, {
|
|
86
89
|
backgroundColor: colors.divider
|
|
87
90
|
}]
|
|
@@ -125,32 +128,4 @@ const styles = StyleSheet.create({
|
|
|
125
128
|
alignSelf: "flex-end"
|
|
126
129
|
}
|
|
127
130
|
});
|
|
128
|
-
export default withTheme(Picker);nValueChange
|
|
129
|
-
}, options.map(o => /*#__PURE__*/React.createElement(NativePicker.Item, {
|
|
130
|
-
label: o.label,
|
|
131
|
-
value: o.value,
|
|
132
|
-
key: o.value
|
|
133
|
-
})))))));
|
|
134
|
-
};
|
|
135
|
-
const styles = StyleSheet.create({
|
|
136
|
-
container: {
|
|
137
|
-
alignSelf: "stretch"
|
|
138
|
-
},
|
|
139
|
-
picker: {
|
|
140
|
-
position: "absolute",
|
|
141
|
-
bottom: 0,
|
|
142
|
-
left: 0,
|
|
143
|
-
right: 0,
|
|
144
|
-
flexDirection: "row",
|
|
145
|
-
justifyContent: "center"
|
|
146
|
-
},
|
|
147
|
-
pickerContainer: {
|
|
148
|
-
backgroundColor: "white",
|
|
149
|
-
flexDirection: "column",
|
|
150
|
-
width: "100%"
|
|
151
|
-
},
|
|
152
|
-
closeButton: {
|
|
153
|
-
alignSelf: "flex-end"
|
|
154
|
-
}
|
|
155
|
-
});
|
|
156
131
|
export default withTheme(Picker);
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
import React from "react";
|
|
2
|
+
import { View } from "react-native";
|
|
3
|
+
import { extractStyles } from "../../utilities";
|
|
4
|
+
import YouTube from "react-youtube";
|
|
5
|
+
const YoutubePlayer = _ref => {
|
|
6
|
+
let {
|
|
7
|
+
videoId,
|
|
8
|
+
playlist,
|
|
9
|
+
autoplay = false,
|
|
10
|
+
style
|
|
11
|
+
} = _ref;
|
|
12
|
+
const {
|
|
13
|
+
viewStyles
|
|
14
|
+
} = extractStyles(style);
|
|
15
|
+
const defaultVideoId = "nwMUpDESXrI";
|
|
16
|
+
const options = {
|
|
17
|
+
width: viewStyles.width,
|
|
18
|
+
height: viewStyles.height,
|
|
19
|
+
playerVars: {
|
|
20
|
+
autoplay: autoplay ? 1 : 0,
|
|
21
|
+
list: playlist,
|
|
22
|
+
listType: "playlist"
|
|
23
|
+
}
|
|
24
|
+
};
|
|
25
|
+
return /*#__PURE__*/React.createElement(View, {
|
|
26
|
+
style: viewStyles
|
|
27
|
+
}, /*#__PURE__*/React.createElement(YouTube, {
|
|
28
|
+
videoId: !videoId && !playlist ? defaultVideoId : videoId,
|
|
29
|
+
opts: options
|
|
30
|
+
}));
|
|
31
|
+
};
|
|
32
|
+
export default YoutubePlayer;
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import React from "react";
|
|
2
|
+
import YoutubePlayerIFrame from "react-native-youtube-iframe";
|
|
3
|
+
import { extractStyles } from "../../utilities";
|
|
4
|
+
const YoutubePlayer = _ref => {
|
|
5
|
+
let {
|
|
6
|
+
videoId,
|
|
7
|
+
playlist,
|
|
8
|
+
autoplay = false,
|
|
9
|
+
style
|
|
10
|
+
} = _ref;
|
|
11
|
+
const {
|
|
12
|
+
viewStyles
|
|
13
|
+
} = extractStyles(style);
|
|
14
|
+
const defaultVideoId = "nwMUpDESXrI";
|
|
15
|
+
return /*#__PURE__*/React.createElement(YoutubePlayerIFrame, {
|
|
16
|
+
width: viewStyles.width,
|
|
17
|
+
height: viewStyles.height,
|
|
18
|
+
play: autoplay,
|
|
19
|
+
videoId: !videoId && !playlist ? defaultVideoId : videoId,
|
|
20
|
+
playList: playlist,
|
|
21
|
+
webViewStyle: viewStyles
|
|
22
|
+
});
|
|
23
|
+
};
|
|
24
|
+
export default YoutubePlayer;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default as YoutubePlayer } from "./YoutubePlayer";
|
package/lib/module/hooks.js
CHANGED
|
@@ -3,12 +3,11 @@ export function usePrevious(value) {
|
|
|
3
3
|
// The ref object is a generic container whose current property is mutable
|
|
4
4
|
// and can hold any value, similar to an instance property on a class
|
|
5
5
|
const ref = React.useRef();
|
|
6
|
-
|
|
7
6
|
// Store current value in ref
|
|
8
7
|
React.useEffect(() => {
|
|
9
8
|
ref.current = value;
|
|
10
9
|
}, [value]);
|
|
11
|
-
|
|
12
10
|
// Return previous value (happens before update in useEffect above)
|
|
13
11
|
return ref.current;
|
|
12
|
+
}
|
|
14
13
|
}
|
package/lib/module/index.js
CHANGED
|
@@ -36,16 +36,13 @@ export { DeckSwiper, DeckSwiperCard } from "./components/DeckSwiper";
|
|
|
36
36
|
export { TabView, TabViewItem } from "./components/TabView";
|
|
37
37
|
export { default as Markdown } from "./components/Markdown";
|
|
38
38
|
export { BottomSheet } from "./components/BottomSheet";
|
|
39
|
-
export {
|
|
39
|
+
export { YoutubePlayer } from "./components/YoutubePlayer";
|
|
40
40
|
|
|
41
41
|
/* Deprecated: Fix or Delete! */
|
|
42
42
|
export { default as DatePicker } from "./components/DatePicker/DatePicker";
|
|
43
43
|
export { default as Picker } from "./components/Picker/Picker";
|
|
44
44
|
export { default as ProgressBar } from "./components/ProgressBar";
|
|
45
45
|
export { default as ProgressCircle } from "./components/ProgressCircle";
|
|
46
|
-
export { default as RowBodyIcon } from "./components/RowBodyIcon";
|
|
47
|
-
export { default as RowHeadlineImageCaption } from "./components/RowHeadlineImageCaption";
|
|
48
|
-
export { default as RowHeadlineImageIcon } from "./components/RowHeadlineImageIcon";
|
|
49
46
|
export { default as Slider } from "./components/Slider";
|
|
50
47
|
export { default as Stepper } from "./components/Stepper";
|
|
51
48
|
export { useAuthState } from "./components/useAuthState";
|
|
@@ -0,0 +1,90 @@
|
|
|
1
|
+
import { COMPONENT_TYPES, createTextEnumProp, createBoolProp, CONTAINER_COMPONENT_STYLES_SECTIONS, createStaticNumberProp } from "@draftbit/types";
|
|
2
|
+
const SHARED_SEED_DATA = {
|
|
3
|
+
category: COMPONENT_TYPES.layout,
|
|
4
|
+
packageName: "native-base",
|
|
5
|
+
stylesPanelSections: CONTAINER_COMPONENT_STYLES_SECTIONS
|
|
6
|
+
};
|
|
7
|
+
export const SEED_DATA = [{
|
|
8
|
+
name: "Aspect Ratio",
|
|
9
|
+
tag: "AspectRatio",
|
|
10
|
+
description: "Controls the size of the undefined dimension of a node or child component using an aspect ratio",
|
|
11
|
+
...SHARED_SEED_DATA,
|
|
12
|
+
props: {
|
|
13
|
+
ratio: createStaticNumberProp({
|
|
14
|
+
label: "Ratio",
|
|
15
|
+
description: "The aspect ratio of the container in decimal format (ex: 3/4 -> 1.33)",
|
|
16
|
+
defaultValue: 1.33
|
|
17
|
+
})
|
|
18
|
+
}
|
|
19
|
+
}, {
|
|
20
|
+
name: "Box",
|
|
21
|
+
tag: "Box",
|
|
22
|
+
description: "This is a generic component for low level layout needs. It is similar to a div in HTML",
|
|
23
|
+
...SHARED_SEED_DATA
|
|
24
|
+
}, {
|
|
25
|
+
name: "Center",
|
|
26
|
+
tag: "Center",
|
|
27
|
+
description: "Center aligns its contents to the center within itself",
|
|
28
|
+
...SHARED_SEED_DATA
|
|
29
|
+
}, {
|
|
30
|
+
name: "Circle",
|
|
31
|
+
tag: "Circle",
|
|
32
|
+
description: "Center aligns its contents to the center within itself with a round border radius",
|
|
33
|
+
...SHARED_SEED_DATA
|
|
34
|
+
}, {
|
|
35
|
+
name: "Container",
|
|
36
|
+
tag: "Container",
|
|
37
|
+
description: "The Container restricts a content's width according to current breakpoint, while keeping the size fluid",
|
|
38
|
+
...SHARED_SEED_DATA
|
|
39
|
+
}, {
|
|
40
|
+
name: "Column",
|
|
41
|
+
tag: "Column",
|
|
42
|
+
description: "Column aligns items vertically",
|
|
43
|
+
...SHARED_SEED_DATA
|
|
44
|
+
}, {
|
|
45
|
+
name: "Row",
|
|
46
|
+
tag: "Row",
|
|
47
|
+
description: "Column aligns items horizontally",
|
|
48
|
+
...SHARED_SEED_DATA
|
|
49
|
+
}, {
|
|
50
|
+
name: "Spacer",
|
|
51
|
+
tag: "Spacer",
|
|
52
|
+
description: "An adjustable, empty space that can be used to tune the spacing between child elements within Flex",
|
|
53
|
+
...SHARED_SEED_DATA
|
|
54
|
+
}, {
|
|
55
|
+
name: "Stack",
|
|
56
|
+
tag: "Stack",
|
|
57
|
+
description: "Stack aligns items vertically or horizontally based on the direction prop",
|
|
58
|
+
...SHARED_SEED_DATA,
|
|
59
|
+
props: {
|
|
60
|
+
direction: createTextEnumProp({
|
|
61
|
+
label: "Direction",
|
|
62
|
+
description: "The direction of the Stack",
|
|
63
|
+
options: ["row", "column"],
|
|
64
|
+
defaultValue: "column"
|
|
65
|
+
}),
|
|
66
|
+
reversed: createBoolProp({
|
|
67
|
+
label: "Reversed",
|
|
68
|
+
description: "Determines whether to reverse the direction of items"
|
|
69
|
+
}),
|
|
70
|
+
isDisabled: createBoolProp({
|
|
71
|
+
label: "Disabled",
|
|
72
|
+
description: "If true, the Stack will be disabled"
|
|
73
|
+
}),
|
|
74
|
+
isInvalid: createBoolProp({
|
|
75
|
+
label: "Invalid",
|
|
76
|
+
description: "If true, the Stack will be invalid"
|
|
77
|
+
})
|
|
78
|
+
}
|
|
79
|
+
}, {
|
|
80
|
+
name: "ZStack",
|
|
81
|
+
tag: "ZStack",
|
|
82
|
+
description: "ZStack aligns items to the z-axis",
|
|
83
|
+
...SHARED_SEED_DATA,
|
|
84
|
+
props: {
|
|
85
|
+
reversed: createBoolProp({
|
|
86
|
+
label: "Reversed",
|
|
87
|
+
description: "Determines whether to reverse the direction of items"
|
|
88
|
+
})
|
|
89
|
+
}
|
|
90
|
+
}];
|
|
@@ -21,12 +21,6 @@ export const SEED_DATA = {
|
|
|
21
21
|
description: "Playlist of the Youtube videos.",
|
|
22
22
|
defaultValue: null
|
|
23
23
|
}),
|
|
24
|
-
mute: createStaticBoolProp({
|
|
25
|
-
label: "Mute Audio",
|
|
26
|
-
description: "Mute the audio of the video.",
|
|
27
|
-
defaultValue: false,
|
|
28
|
-
required: false
|
|
29
|
-
}),
|
|
30
24
|
autoplay: createStaticBoolProp({
|
|
31
25
|
label: "Auto Play",
|
|
32
26
|
description: "Autoplay the video on load.",
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"YoutubePlayer.d.ts","sourceRoot":"","sources":["../../../../../src/components/YoutubePlayer/YoutubePlayer.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAG1B,OAAO,EAAE,kBAAkB,EAAE,MAAM,sBAAsB,CAAC;AAG1D,QAAA,MAAM,aAAa,EAAE,KAAK,CAAC,EAAE,CAAC,kBAAkB,CA2B/C,CAAC;AAEF,eAAe,aAAa,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"YoutubePlayer.native.d.ts","sourceRoot":"","sources":["../../../../../src/components/YoutubePlayer/YoutubePlayer.native.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAG1B,OAAO,EAAE,kBAAkB,EAAE,MAAM,sBAAsB,CAAC;AAE1D,QAAA,MAAM,aAAa,EAAE,KAAK,CAAC,EAAE,CAAC,kBAAkB,CAmB/C,CAAC;AAEF,eAAe,aAAa,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"YoutubePlayerProps.d.ts","sourceRoot":"","sources":["../../../../../src/components/YoutubePlayer/YoutubePlayerProps.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,SAAS,EAAE,MAAM,cAAc,CAAC;AAEpD,MAAM,WAAW,kBAAkB;IACjC,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,KAAK,CAAC,EAAE,SAAS,CAAC,SAAS,CAAC,CAAC;CAC9B"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/components/YoutubePlayer/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,IAAI,aAAa,EAAE,MAAM,iBAAiB,CAAC"}
|
|
@@ -36,14 +36,11 @@ export { DeckSwiper, DeckSwiperCard } from "./components/DeckSwiper";
|
|
|
36
36
|
export { TabView, TabViewItem } from "./components/TabView";
|
|
37
37
|
export { default as Markdown } from "./components/Markdown";
|
|
38
38
|
export { BottomSheet } from "./components/BottomSheet";
|
|
39
|
-
export {
|
|
39
|
+
export { YoutubePlayer } from "./components/YoutubePlayer";
|
|
40
40
|
export { default as DatePicker } from "./components/DatePicker/DatePicker";
|
|
41
41
|
export { default as Picker } from "./components/Picker/Picker";
|
|
42
42
|
export { default as ProgressBar } from "./components/ProgressBar";
|
|
43
43
|
export { default as ProgressCircle } from "./components/ProgressCircle";
|
|
44
|
-
export { default as RowBodyIcon } from "./components/RowBodyIcon";
|
|
45
|
-
export { default as RowHeadlineImageCaption } from "./components/RowHeadlineImageCaption";
|
|
46
|
-
export { default as RowHeadlineImageIcon } from "./components/RowHeadlineImageIcon";
|
|
47
44
|
export { default as Slider } from "./components/Slider";
|
|
48
45
|
export { default as Stepper } from "./components/Stepper";
|
|
49
46
|
export { useAuthState } from "./components/useAuthState";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,mBAAmB,CAAC;AAC/C,OAAO,EAAE,SAAS,EAAE,aAAa,EAAE,MAAM,WAAW,CAAC;AACrD,OAAO,EAAE,OAAO,IAAI,QAAQ,EAAE,MAAM,YAAY,CAAC;AACjD,OAAO,EAAE,OAAO,IAAI,YAAY,EAAE,MAAM,uBAAuB,CAAC;AAEhE,OAAO,EAAE,IAAI,EAAE,MAAM,mBAAmB,CAAC;AACzC,OAAO,EAAE,OAAO,IAAI,MAAM,EAAE,MAAM,qBAAqB,CAAC;AACxD,OAAO,EAAE,MAAM,EAAE,WAAW,EAAE,aAAa,EAAE,MAAM,qBAAqB,CAAC;AACzE,OAAO,EAAE,OAAO,IAAI,MAAM,EAAE,MAAM,0BAA0B,CAAC;AAC7D,OAAO,EAAE,OAAO,IAAI,UAAU,EAAE,MAAM,yBAAyB,CAAC;AAChE,OAAO,EAAE,OAAO,IAAI,IAAI,EAAE,MAAM,mBAAmB,CAAC;AACpD,OAAO,EAAE,QAAQ,EAAE,aAAa,EAAE,WAAW,EAAE,MAAM,uBAAuB,CAAC;AAC7E,OAAO,EAAE,OAAO,IAAI,WAAW,EAAE,MAAM,0BAA0B,CAAC;AAClE,OAAO,EAAE,OAAO,IAAI,SAAS,EAAE,MAAM,wBAAwB,CAAC;AAC9D,OAAO,EAAE,OAAO,IAAI,OAAO,EAAE,MAAM,sBAAsB,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ACN,MAAM,EACN,MAAM,EACN,GAAG,EACH,KAAK,EACL,MAAM,GACP,MAAM,qBAAqB,CAAC;AAE7B,OAAO,EACL,WAAW,EACX,gBAAgB,EAChB,cAAc,EACd,qBAAqB,GACtB,MAAM,gCAAgC,CAAC;AAExC,OAAO,EAAE,OAAO,IAAI,MAAM,EAAE,MAAM,qBAAqB,CAAC;AAExD,OAAO,EAAE,UAAU,EAAE,cAAc,EAAE,MAAM,yBAAyB,CAAC;AAErE,OAAO,EAAE,OAAO,EAAE,WAAW,EAAE,MAAM,sBAAsB,CAAC;AAC5D,OAAO,EAAE,OAAO,IAAI,QAAQ,EAAE,MAAM,uBAAuB,CAAC;AAE5D,OAAO,EAAE,WAAW,EAAE,MAAM,0BAA0B,CAAC;AAEvD,OAAO,EAAE,aAAa,EAAE,MAAM,4BAA4B,CAAC;AAG3D,OAAO,EAAE,OAAO,IAAI,UAAU,EAAE,MAAM,oCAAoC,CAAC;AAC3E,OAAO,EAAE,OAAO,IAAI,MAAM,EAAE,MAAM,4BAA4B,CAAC;AAC/D,OAAO,EAAE,OAAO,IAAI,WAAW,EAAE,MAAM,0BAA0B,CAAC;AAClE,OAAO,EAAE,OAAO,IAAI,cAAc,EAAE,MAAM,6BAA6B,CAAC;AACxE,OAAO,EAAE,OAAO,IAAI,MAAM,EAAE,MAAM,qBAAqB,CAAC;AACxD,OAAO,EAAE,OAAO,IAAI,OAAO,EAAE,MAAM,sBAAsB,CAAC;AAC1D,OAAO,EAAE,YAAY,EAAE,MAAM,2BAA2B,CAAC"}
|
|
@@ -0,0 +1,107 @@
|
|
|
1
|
+
export declare const SEED_DATA: ({
|
|
2
|
+
props: {
|
|
3
|
+
ratio: {
|
|
4
|
+
label: string;
|
|
5
|
+
description: string;
|
|
6
|
+
formType: string;
|
|
7
|
+
propType: string;
|
|
8
|
+
group: string;
|
|
9
|
+
defaultValue: null;
|
|
10
|
+
editable: boolean;
|
|
11
|
+
required: boolean;
|
|
12
|
+
step: number;
|
|
13
|
+
};
|
|
14
|
+
direction?: undefined;
|
|
15
|
+
reversed?: undefined;
|
|
16
|
+
isDisabled?: undefined;
|
|
17
|
+
isInvalid?: undefined;
|
|
18
|
+
};
|
|
19
|
+
category: string;
|
|
20
|
+
packageName: string;
|
|
21
|
+
stylesPanelSections: string[];
|
|
22
|
+
name: string;
|
|
23
|
+
tag: string;
|
|
24
|
+
description: string;
|
|
25
|
+
} | {
|
|
26
|
+
category: string;
|
|
27
|
+
packageName: string;
|
|
28
|
+
stylesPanelSections: string[];
|
|
29
|
+
name: string;
|
|
30
|
+
tag: string;
|
|
31
|
+
description: string;
|
|
32
|
+
} | {
|
|
33
|
+
props: {
|
|
34
|
+
direction: {
|
|
35
|
+
group: string;
|
|
36
|
+
label: string;
|
|
37
|
+
description: string;
|
|
38
|
+
editable: boolean;
|
|
39
|
+
required: boolean;
|
|
40
|
+
formType: string;
|
|
41
|
+
propType: string;
|
|
42
|
+
defaultValue: null;
|
|
43
|
+
options: never[];
|
|
44
|
+
};
|
|
45
|
+
reversed: {
|
|
46
|
+
label: string;
|
|
47
|
+
description: string;
|
|
48
|
+
formType: string;
|
|
49
|
+
propType: string;
|
|
50
|
+
defaultValue: boolean;
|
|
51
|
+
editable: boolean;
|
|
52
|
+
required: boolean;
|
|
53
|
+
group: string;
|
|
54
|
+
};
|
|
55
|
+
isDisabled: {
|
|
56
|
+
label: string;
|
|
57
|
+
description: string;
|
|
58
|
+
formType: string;
|
|
59
|
+
propType: string;
|
|
60
|
+
defaultValue: boolean;
|
|
61
|
+
editable: boolean;
|
|
62
|
+
required: boolean;
|
|
63
|
+
group: string;
|
|
64
|
+
};
|
|
65
|
+
isInvalid: {
|
|
66
|
+
label: string;
|
|
67
|
+
description: string;
|
|
68
|
+
formType: string;
|
|
69
|
+
propType: string;
|
|
70
|
+
defaultValue: boolean;
|
|
71
|
+
editable: boolean;
|
|
72
|
+
required: boolean;
|
|
73
|
+
group: string;
|
|
74
|
+
};
|
|
75
|
+
ratio?: undefined;
|
|
76
|
+
};
|
|
77
|
+
category: string;
|
|
78
|
+
packageName: string;
|
|
79
|
+
stylesPanelSections: string[];
|
|
80
|
+
name: string;
|
|
81
|
+
tag: string;
|
|
82
|
+
description: string;
|
|
83
|
+
} | {
|
|
84
|
+
props: {
|
|
85
|
+
reversed: {
|
|
86
|
+
label: string;
|
|
87
|
+
description: string;
|
|
88
|
+
formType: string;
|
|
89
|
+
propType: string;
|
|
90
|
+
defaultValue: boolean;
|
|
91
|
+
editable: boolean;
|
|
92
|
+
required: boolean;
|
|
93
|
+
group: string;
|
|
94
|
+
};
|
|
95
|
+
ratio?: undefined;
|
|
96
|
+
direction?: undefined;
|
|
97
|
+
isDisabled?: undefined;
|
|
98
|
+
isInvalid?: undefined;
|
|
99
|
+
};
|
|
100
|
+
category: string;
|
|
101
|
+
packageName: string;
|
|
102
|
+
stylesPanelSections: string[];
|
|
103
|
+
name: string;
|
|
104
|
+
tag: string;
|
|
105
|
+
description: string;
|
|
106
|
+
})[];
|
|
107
|
+
//# sourceMappingURL=Layout.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Layout.d.ts","sourceRoot":"","sources":["../../../../../src/mappings/NativeBase/Layout.ts"],"names":[],"mappings":"AAcA,eAAO,MAAM,SAAS;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IAqGrB,CAAC"}
|
|
@@ -12,16 +12,6 @@ export declare const SEED_DATA: {
|
|
|
12
12
|
props: {
|
|
13
13
|
videoId: any;
|
|
14
14
|
playlist: any;
|
|
15
|
-
mute: {
|
|
16
|
-
label: string;
|
|
17
|
-
description: string;
|
|
18
|
-
formType: string;
|
|
19
|
-
propType: string;
|
|
20
|
-
defaultValue: boolean;
|
|
21
|
-
editable: boolean;
|
|
22
|
-
required: boolean;
|
|
23
|
-
group: string;
|
|
24
|
-
};
|
|
25
15
|
autoplay: {
|
|
26
16
|
label: string;
|
|
27
17
|
description: string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"YoutubePlayer.d.ts","sourceRoot":"","sources":["../../../../src/mappings/YoutubePlayer.ts"],"names":[],"mappings":"AAOA,eAAO,MAAM,SAAS
|
|
1
|
+
{"version":3,"file":"YoutubePlayer.d.ts","sourceRoot":"","sources":["../../../../src/mappings/YoutubePlayer.ts"],"names":[],"mappings":"AAOA,eAAO,MAAM,SAAS;;;;;;;;;;;;;;;;;;;;;;;;;CA6BrB,CAAC"}
|