@draftbit/core 46.10.2-f194c1.2 → 46.10.3-0bad1e.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 (75) hide show
  1. package/lib/commonjs/components/Checkbox/CheckboxRow.js +23 -6
  2. package/lib/commonjs/components/FAB.js +18 -4
  3. package/lib/commonjs/components/YoutubePlayer/YoutubePlayer.js +40 -0
  4. package/lib/commonjs/components/{YotubePlayer.js → YoutubePlayer/YoutubePlayer.native.js} +4 -10
  5. package/lib/commonjs/components/YoutubePlayer/YoutubePlayerProps.js +5 -0
  6. package/lib/commonjs/components/YoutubePlayer/index.js +13 -0
  7. package/lib/commonjs/constants.js +1 -1
  8. package/lib/commonjs/index.js +2 -23
  9. package/lib/commonjs/mappings/NativeBase/Layout.js +97 -0
  10. package/lib/commonjs/mappings/YoutubePlayer.js +0 -6
  11. package/lib/module/components/YoutubePlayer/YoutubePlayer.js +32 -0
  12. package/lib/module/components/YoutubePlayer/YoutubePlayer.native.js +24 -0
  13. package/lib/module/components/YoutubePlayer/YoutubePlayerProps.js +1 -0
  14. package/lib/module/components/YoutubePlayer/index.js +1 -0
  15. package/lib/module/index.js +1 -4
  16. package/lib/module/mappings/NativeBase/Layout.js +90 -0
  17. package/lib/module/mappings/YoutubePlayer.js +0 -6
  18. package/lib/typescript/src/components/YoutubePlayer/YoutubePlayer.d.ts +5 -0
  19. package/lib/typescript/src/components/YoutubePlayer/YoutubePlayer.d.ts.map +1 -0
  20. package/lib/typescript/src/components/YoutubePlayer/YoutubePlayer.native.d.ts +5 -0
  21. package/lib/typescript/src/components/YoutubePlayer/YoutubePlayer.native.d.ts.map +1 -0
  22. package/lib/typescript/src/components/YoutubePlayer/YoutubePlayerProps.d.ts +8 -0
  23. package/lib/typescript/src/components/YoutubePlayer/YoutubePlayerProps.d.ts.map +1 -0
  24. package/lib/typescript/src/components/YoutubePlayer/index.d.ts +2 -0
  25. package/lib/typescript/src/components/YoutubePlayer/index.d.ts.map +1 -0
  26. package/lib/typescript/src/index.d.ts +1 -4
  27. package/lib/typescript/src/index.d.ts.map +1 -1
  28. package/lib/typescript/src/mappings/NativeBase/Layout.d.ts +107 -0
  29. package/lib/typescript/src/mappings/NativeBase/Layout.d.ts.map +1 -0
  30. package/lib/typescript/src/mappings/YoutubePlayer.d.ts +0 -10
  31. package/lib/typescript/src/mappings/YoutubePlayer.d.ts.map +1 -1
  32. package/package.json +5 -5
  33. package/src/components/YoutubePlayer/YoutubePlayer.js +20 -0
  34. package/src/components/YoutubePlayer/YoutubePlayer.native.js +9 -0
  35. package/src/components/YoutubePlayer/YoutubePlayer.native.tsx +27 -0
  36. package/src/components/YoutubePlayer/YoutubePlayer.tsx +36 -0
  37. package/src/components/YoutubePlayer/YoutubePlayerProps.js +1 -0
  38. package/src/components/YoutubePlayer/YoutubePlayerProps.ts +8 -0
  39. package/src/components/YoutubePlayer/index.js +1 -0
  40. package/src/components/YoutubePlayer/index.ts +1 -0
  41. package/src/index.js +1 -4
  42. package/src/index.tsx +1 -4
  43. package/src/mappings/NativeBase/Layout.js +101 -0
  44. package/src/mappings/NativeBase/Layout.ts +116 -0
  45. package/src/mappings/YoutubePlayer.js +0 -6
  46. package/src/mappings/YoutubePlayer.ts +0 -6
  47. package/lib/commonjs/components/Row.js +0 -73
  48. package/lib/commonjs/components/RowBodyIcon.js +0 -45
  49. package/lib/commonjs/components/RowHeadlineImageCaption.js +0 -45
  50. package/lib/commonjs/components/RowHeadlineImageIcon.js +0 -51
  51. package/lib/module/components/Row.js +0 -63
  52. package/lib/module/components/RowBodyIcon.js +0 -35
  53. package/lib/module/components/RowHeadlineImageCaption.js +0 -35
  54. package/lib/module/components/RowHeadlineImageIcon.js +0 -41
  55. package/lib/module/components/YotubePlayer.js +0 -30
  56. package/lib/typescript/src/components/Row.d.ts +0 -21
  57. package/lib/typescript/src/components/Row.d.ts.map +0 -1
  58. package/lib/typescript/src/components/RowBodyIcon.d.ts +0 -16
  59. package/lib/typescript/src/components/RowBodyIcon.d.ts.map +0 -1
  60. package/lib/typescript/src/components/RowHeadlineImageCaption.d.ts +0 -16
  61. package/lib/typescript/src/components/RowHeadlineImageCaption.d.ts.map +0 -1
  62. package/lib/typescript/src/components/RowHeadlineImageIcon.d.ts +0 -18
  63. package/lib/typescript/src/components/RowHeadlineImageIcon.d.ts.map +0 -1
  64. package/lib/typescript/src/components/YotubePlayer.d.ts +0 -12
  65. package/lib/typescript/src/components/YotubePlayer.d.ts.map +0 -1
  66. package/src/components/Row.js +0 -48
  67. package/src/components/Row.tsx +0 -108
  68. package/src/components/RowBodyIcon.js +0 -8
  69. package/src/components/RowBodyIcon.tsx +0 -47
  70. package/src/components/RowHeadlineImageCaption.js +0 -12
  71. package/src/components/RowHeadlineImageCaption.tsx +0 -49
  72. package/src/components/RowHeadlineImageIcon.js +0 -14
  73. package/src/components/RowHeadlineImageIcon.tsx +0 -61
  74. package/src/components/YotubePlayer.js +0 -10
  75. package/src/components/YotubePlayer.tsx +0 -38
@@ -14,8 +14,7 @@ var _Checkbox = _interopRequireDefault(require("./Checkbox"));
14
14
  function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
15
15
  function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "function") return null; var cacheBabelInterop = new WeakMap(); var cacheNodeInterop = new WeakMap(); return (_getRequireWildcardCache = function (nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); }
16
16
  function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj && obj.__esModule) { return obj; } if (obj === null || typeof obj !== "object" && typeof obj !== "function") { return { default: obj }; } var cache = _getRequireWildcardCache(nodeInterop); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (key !== "default" && Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj.default = obj; if (cache) { cache.set(obj, newObj); } return newObj; }
17
- 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); }
18
- let Direction;
17
+ var Direction;
19
18
  exports.Direction = Direction;
20
19
  (function (Direction) {
21
20
  Direction["Row"] = "row";
@@ -58,7 +57,6 @@ const CheckboxRow = _ref => {
58
57
  setInternalValue(status);
59
58
  }
60
59
  }, [status]);
61
-
62
60
  // This special logic is to handle weird APIs like Airtable that return
63
61
  // true or undefined for a boolean
64
62
  const previousDefaultValue = (0, _hooks.usePrevious)(defaultValue);
@@ -82,13 +80,14 @@ const CheckboxRow = _ref => {
82
80
  textStyles,
83
81
  viewStyles
84
82
  } = (0, _utilities.extractStyles)(style);
85
- return /*#__PURE__*/React.createElement(_reactNative.Pressable, _extends({
83
+ return /*#__PURE__*/React.createElement(_reactNative.Pressable, {
86
84
  onPress: handlePress,
87
85
  style: [viewStyles, styles.mainParent, {
88
86
  flexDirection: direction
89
87
  }],
90
- disabled: disabled
91
- }, rest), /*#__PURE__*/React.createElement(_reactNative.View, {
88
+ disabled: disabled,
89
+ ...rest
90
+ }, /*#__PURE__*/React.createElement(_reactNative.View, {
92
91
  style: [styles.label, {
93
92
  alignItems: direction === Direction.Row ? "flex-start" : "flex-end"
94
93
  }, labelContainerStyle]
@@ -125,4 +124,22 @@ const styles = _reactNative.StyleSheet.create({
125
124
  }
126
125
  });
127
126
  var _default = CheckboxRow;
127
+ exports.default = _default;ems: "center",
128
+ justifyContent: "space-around",
129
+ paddingStart: 20,
130
+ minHeight: 50,
131
+ paddingEnd: 20,
132
+ display: "flex",
133
+ ..._reactNative.Platform.select({
134
+ web: {
135
+ cursor: "pointer",
136
+ userSelect: "none"
137
+ }
138
+ })
139
+ },
140
+ label: {
141
+ flex: 3
142
+ }
143
+ });
144
+ var _default = CheckboxRow;
128
145
  exports.default = _default;
@@ -9,7 +9,6 @@ var _reactNative = require("react-native");
9
9
  var _theming = require("../theming");
10
10
  function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "function") return null; var cacheBabelInterop = new WeakMap(); var cacheNodeInterop = new WeakMap(); return (_getRequireWildcardCache = function (nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); }
11
11
  function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj && obj.__esModule) { return obj; } if (obj === null || typeof obj !== "object" && typeof obj !== "function") { return { default: obj }; } var cache = _getRequireWildcardCache(nodeInterop); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (key !== "default" && Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj.default = obj; if (cache) { cache.set(obj, newObj); } return newObj; }
12
- 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); }
13
12
  const FAB = _ref => {
14
13
  let {
15
14
  onPress,
@@ -33,7 +32,7 @@ const FAB = _ref => {
33
32
  borderRadius: size / 2,
34
33
  overflow: "hidden"
35
34
  }, style]
36
- }, /*#__PURE__*/React.createElement(_reactNative.Pressable, _extends({
35
+ }, /*#__PURE__*/React.createElement(_reactNative.Pressable, {
37
36
  onPress: onPress,
38
37
  disabled: loading || disabled,
39
38
  android_ripple: {
@@ -51,8 +50,9 @@ const FAB = _ref => {
51
50
  borderRadius: size / 2,
52
51
  backgroundColor
53
52
  }];
54
- }
55
- }, props), /*#__PURE__*/React.createElement(_reactNative.View, null, loading ? /*#__PURE__*/React.createElement(_reactNative.ActivityIndicator, {
53
+ },
54
+ ...props
55
+ }, /*#__PURE__*/React.createElement(_reactNative.View, null, loading ? /*#__PURE__*/React.createElement(_reactNative.ActivityIndicator, {
56
56
  style: size > 50 ? {
57
57
  marginTop: 2,
58
58
  marginLeft: 2
@@ -79,4 +79,18 @@ const styles = _reactNative.StyleSheet.create({
79
79
  }
80
80
  });
81
81
  var _default = (0, _theming.withTheme)(FAB);
82
+ exports.default = _default; styles = _reactNative.StyleSheet.create({
83
+ button: {
84
+ backgroundColor: "#5a45ff",
85
+ justifyContent: "center",
86
+ alignItems: "center",
87
+ ..._reactNative.Platform.select({
88
+ web: {
89
+ cursor: "pointer",
90
+ userSelect: "none"
91
+ }
92
+ })
93
+ }
94
+ });
95
+ var _default = (0, _theming.withTheme)(FAB);
82
96
  exports.default = _default;
@@ -0,0 +1,40 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+ exports.default = void 0;
7
+ var _react = _interopRequireDefault(require("react"));
8
+ var _reactNative = require("react-native");
9
+ var _utilities = require("../../utilities");
10
+ var _reactYoutube = _interopRequireDefault(require("react-youtube"));
11
+ function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
12
+ const YoutubePlayer = _ref => {
13
+ let {
14
+ videoId,
15
+ playlist,
16
+ autoplay = false,
17
+ style
18
+ } = _ref;
19
+ const {
20
+ viewStyles
21
+ } = (0, _utilities.extractStyles)(style);
22
+ const defaultVideoId = "nwMUpDESXrI";
23
+ const options = {
24
+ width: viewStyles.width,
25
+ height: viewStyles.height,
26
+ playerVars: {
27
+ autoplay: autoplay ? 1 : 0,
28
+ list: playlist,
29
+ listType: "playlist"
30
+ }
31
+ };
32
+ return /*#__PURE__*/_react.default.createElement(_reactNative.View, {
33
+ style: viewStyles
34
+ }, /*#__PURE__*/_react.default.createElement(_reactYoutube.default, {
35
+ videoId: !videoId && !playlist ? defaultVideoId : videoId,
36
+ opts: options
37
+ }));
38
+ };
39
+ var _default = YoutubePlayer;
40
+ exports.default = _default;
@@ -6,32 +6,26 @@ Object.defineProperty(exports, "__esModule", {
6
6
  exports.default = void 0;
7
7
  var _react = _interopRequireDefault(require("react"));
8
8
  var _reactNativeYoutubeIframe = _interopRequireDefault(require("react-native-youtube-iframe"));
9
- var _utilities = require("../utilities");
9
+ var _utilities = require("../../utilities");
10
10
  function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
11
11
  const YoutubePlayer = _ref => {
12
12
  let {
13
13
  videoId,
14
14
  playlist,
15
- mute = false,
16
15
  autoplay = false,
17
16
  style
18
17
  } = _ref;
19
18
  const {
20
19
  viewStyles
21
20
  } = (0, _utilities.extractStyles)(style);
22
- const {
23
- height,
24
- width
25
- } = viewStyles;
26
21
  const defaultVideoId = "nwMUpDESXrI";
27
22
  return /*#__PURE__*/_react.default.createElement(_reactNativeYoutubeIframe.default, {
28
- height: height,
29
- width: width,
23
+ width: viewStyles.width,
24
+ height: viewStyles.height,
30
25
  play: autoplay,
31
26
  videoId: !videoId && !playlist ? defaultVideoId : videoId,
32
27
  playList: playlist,
33
- mute: mute,
34
- webViewStyle: style
28
+ webViewStyle: viewStyles
35
29
  });
36
30
  };
37
31
  var _default = YoutubePlayer;
@@ -0,0 +1,5 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
@@ -0,0 +1,13 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+ Object.defineProperty(exports, "YoutubePlayer", {
7
+ enumerable: true,
8
+ get: function () {
9
+ return _YoutubePlayer.default;
10
+ }
11
+ });
12
+ var _YoutubePlayer = _interopRequireDefault(require("./YoutubePlayer"));
13
+ function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
@@ -12,4 +12,4 @@ const APPROX_STATUSBAR_HEIGHT = _reactNative.Platform.select({
12
12
  android: DEFAULT_STATUSBAR_HEIGHT_EXPO,
13
13
  ios: _reactNative.Platform.Version < 11 ? DEFAULT_STATUSBAR_HEIGHT_EXPO : 0
14
14
  });
15
- exports.APPROX_STATUSBAR_HEIGHT = APPROX_STATUSBAR_HEIGHT;
15
+ exports.APPROX_STATUSBAR_HEIGHT = APPROX_STATUSBAR_HEIGHT;AR_HEIGHT;
@@ -255,24 +255,6 @@ Object.defineProperty(exports, "Row", {
255
255
  return _Layout.Row;
256
256
  }
257
257
  });
258
- Object.defineProperty(exports, "RowBodyIcon", {
259
- enumerable: true,
260
- get: function () {
261
- return _RowBodyIcon.default;
262
- }
263
- });
264
- Object.defineProperty(exports, "RowHeadlineImageCaption", {
265
- enumerable: true,
266
- get: function () {
267
- return _RowHeadlineImageCaption.default;
268
- }
269
- });
270
- Object.defineProperty(exports, "RowHeadlineImageIcon", {
271
- enumerable: true,
272
- get: function () {
273
- return _RowHeadlineImageIcon.default;
274
- }
275
- });
276
258
  Object.defineProperty(exports, "SVG", {
277
259
  enumerable: true,
278
260
  get: function () {
@@ -396,7 +378,7 @@ Object.defineProperty(exports, "Touchable", {
396
378
  Object.defineProperty(exports, "YoutubePlayer", {
397
379
  enumerable: true,
398
380
  get: function () {
399
- return _YotubePlayer.default;
381
+ return _YoutubePlayer.YoutubePlayer;
400
382
  }
401
383
  });
402
384
  Object.defineProperty(exports, "injectIcon", {
@@ -454,14 +436,11 @@ var _DeckSwiper = require("./components/DeckSwiper");
454
436
  var _TabView = require("./components/TabView");
455
437
  var _Markdown = _interopRequireDefault(require("./components/Markdown"));
456
438
  var _BottomSheet = require("./components/BottomSheet");
457
- var _YotubePlayer = _interopRequireDefault(require("./components/YotubePlayer"));
439
+ var _YoutubePlayer = require("./components/YoutubePlayer");
458
440
  var _DatePicker = _interopRequireDefault(require("./components/DatePicker/DatePicker"));
459
441
  var _Picker = _interopRequireDefault(require("./components/Picker/Picker"));
460
442
  var _ProgressBar = _interopRequireDefault(require("./components/ProgressBar"));
461
443
  var _ProgressCircle = _interopRequireDefault(require("./components/ProgressCircle"));
462
- var _RowBodyIcon = _interopRequireDefault(require("./components/RowBodyIcon"));
463
- var _RowHeadlineImageCaption = _interopRequireDefault(require("./components/RowHeadlineImageCaption"));
464
- var _RowHeadlineImageIcon = _interopRequireDefault(require("./components/RowHeadlineImageIcon"));
465
444
  var _Slider = _interopRequireDefault(require("./components/Slider"));
466
445
  var _Stepper = _interopRequireDefault(require("./components/Stepper"));
467
446
  var _useAuthState = require("./components/useAuthState");
@@ -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;
@@ -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.",
@@ -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 { default as YoutubePlayer } from "./YoutubePlayer";
@@ -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 { default as YoutubePlayer } from "./components/YotubePlayer";
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,5 @@
1
+ import React from "react";
2
+ import { YoutubePlayerProps } from "./YoutubePlayerProps";
3
+ declare const YoutubePlayer: React.FC<YoutubePlayerProps>;
4
+ export default YoutubePlayer;
5
+ //# sourceMappingURL=YoutubePlayer.d.ts.map
@@ -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,5 @@
1
+ import React from "react";
2
+ import { YoutubePlayerProps } from "./YoutubePlayerProps";
3
+ declare const YoutubePlayer: React.FC<YoutubePlayerProps>;
4
+ export default YoutubePlayer;
5
+ //# sourceMappingURL=YoutubePlayer.native.d.ts.map
@@ -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,8 @@
1
+ import { StyleProp, ViewStyle } from "react-native";
2
+ export interface YoutubePlayerProps {
3
+ videoId?: string;
4
+ playlist?: string;
5
+ autoplay?: boolean;
6
+ style?: StyleProp<ViewStyle>;
7
+ }
8
+ //# sourceMappingURL=YoutubePlayerProps.d.ts.map
@@ -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,2 @@
1
+ export { default as YoutubePlayer } from "./YoutubePlayer";
2
+ //# sourceMappingURL=index.d.ts.map
@@ -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 { default as YoutubePlayer } from "./components/YotubePlayer";
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 { useAu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