@draftbit/core 46.8.1-e9e820.2 → 46.8.1-fb7984.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 (51) hide show
  1. package/lib/commonjs/components/Accordion/AccordionItem.js +4 -23
  2. package/lib/commonjs/components/Shadow.js +44 -0
  3. package/lib/commonjs/index.js +7 -13
  4. package/lib/commonjs/mappings/Shadow.js +94 -0
  5. package/lib/module/components/Accordion/AccordionItem.js +4 -25
  6. package/lib/module/components/Shadow.js +36 -0
  7. package/lib/module/constants.js +0 -1
  8. package/lib/module/index.js +1 -1
  9. package/lib/module/mappings/Shadow.js +87 -0
  10. package/lib/typescript/src/components/Shadow.d.ts +24 -0
  11. package/lib/typescript/src/components/Shadow.d.ts.map +1 -0
  12. package/lib/typescript/src/index.d.ts +1 -1
  13. package/lib/typescript/src/index.d.ts.map +1 -1
  14. package/lib/typescript/src/mappings/{TabView.d.ts → Shadow.d.ts} +82 -32
  15. package/lib/typescript/src/mappings/Shadow.d.ts.map +1 -0
  16. package/package.json +4 -5
  17. package/src/components/Shadow.js +16 -0
  18. package/src/components/Shadow.tsx +60 -0
  19. package/src/index.js +1 -1
  20. package/src/index.tsx +2 -2
  21. package/src/mappings/Shadow.js +87 -0
  22. package/src/mappings/Shadow.ts +95 -0
  23. package/lib/commonjs/components/TabView/TabView.js +0 -100
  24. package/lib/commonjs/components/TabView/TabViewItem.js +0 -25
  25. package/lib/commonjs/components/TabView/index.js +0 -20
  26. package/lib/commonjs/mappings/TabView.js +0 -73
  27. package/lib/commonjs/mappings/TabViewItem.js +0 -35
  28. package/lib/module/components/TabView/TabView.js +0 -90
  29. package/lib/module/components/TabView/TabViewItem.js +0 -20
  30. package/lib/module/components/TabView/index.js +0 -2
  31. package/lib/module/mappings/TabView.js +0 -66
  32. package/lib/module/mappings/TabViewItem.js +0 -28
  33. package/lib/typescript/src/components/TabView/TabView.d.ts +0 -26
  34. package/lib/typescript/src/components/TabView/TabView.d.ts.map +0 -1
  35. package/lib/typescript/src/components/TabView/TabViewItem.d.ts +0 -11
  36. package/lib/typescript/src/components/TabView/TabViewItem.d.ts.map +0 -1
  37. package/lib/typescript/src/components/TabView/index.d.ts +0 -3
  38. package/lib/typescript/src/components/TabView/index.d.ts.map +0 -1
  39. package/lib/typescript/src/mappings/TabView.d.ts.map +0 -1
  40. package/lib/typescript/src/mappings/TabViewItem.d.ts +0 -25
  41. package/lib/typescript/src/mappings/TabViewItem.d.ts.map +0 -1
  42. package/src/components/TabView/TabView.js +0 -45
  43. package/src/components/TabView/TabView.tsx +0 -129
  44. package/src/components/TabView/TabViewItem.js +0 -11
  45. package/src/components/TabView/TabViewItem.tsx +0 -25
  46. package/src/components/TabView/index.js +0 -2
  47. package/src/components/TabView/index.tsx +0 -2
  48. package/src/mappings/TabView.js +0 -69
  49. package/src/mappings/TabView.ts +0 -79
  50. package/src/mappings/TabViewItem.js +0 -28
  51. package/src/mappings/TabViewItem.ts +0 -35
@@ -12,6 +12,7 @@ var _theming = require("../../theming");
12
12
  function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
13
13
  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); }
14
14
  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; }
15
+ 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); }
15
16
  const AccordionItem = _ref => {
16
17
  let {
17
18
  Icon,
@@ -26,10 +27,9 @@ const AccordionItem = _ref => {
26
27
  textStyles,
27
28
  viewStyles
28
29
  } = (0, _utilities.extractStyles)(style);
29
- return /*#__PURE__*/React.createElement(_reactNative.Pressable, {
30
- style: [styles.container, viewStyles],
31
- ...rest
32
- }, /*#__PURE__*/React.createElement(_reactNative.View, {
30
+ return /*#__PURE__*/React.createElement(_reactNative.Pressable, _extends({
31
+ style: [styles.container, viewStyles]
32
+ }, rest), /*#__PURE__*/React.createElement(_reactNative.View, {
33
33
  style: styles.row
34
34
  }, icon ? /*#__PURE__*/React.createElement(Icon, {
35
35
  name: icon,
@@ -61,23 +61,4 @@ const styles = _reactNative.StyleSheet.create({
61
61
  }
62
62
  });
63
63
  var _default = (0, _theming.withTheme)(AccordionItem);
64
- exports.default = _default;.StyleSheet.create({
65
- container: {
66
- padding: 8
67
- },
68
- row: {
69
- flexDirection: "row",
70
- alignItems: "center",
71
- paddingLeft: 8
72
- },
73
- item: {
74
- marginVertical: 6,
75
- paddingLeft: 8
76
- },
77
- content: {
78
- flex: 1,
79
- justifyContent: "center"
80
- }
81
- });
82
- var _default = (0, _theming.withTheme)(AccordionItem);
83
64
  exports.default = _default;
@@ -0,0 +1,44 @@
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 _reactNativeShadow = require("react-native-shadow-2");
9
+ function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
10
+ 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); }
11
+ const Shadow = _ref => {
12
+ let {
13
+ offsetX = 0,
14
+ offsetY = 0,
15
+ showShadowSideStart = true,
16
+ showShadowSideEnd = true,
17
+ showShadowSideTop = true,
18
+ showShadowSideBottom = true,
19
+ showShadowCornerTopStart = true,
20
+ showShadowCornerTopEnd = true,
21
+ showShadowCornerBottomStart = true,
22
+ showShadowCornerBottomEnd = true,
23
+ style,
24
+ ...rest
25
+ } = _ref;
26
+ return /*#__PURE__*/_react.default.createElement(_reactNativeShadow.Shadow, _extends({
27
+ offset: [offsetX, offsetY],
28
+ sides: {
29
+ start: showShadowSideStart,
30
+ end: showShadowSideEnd,
31
+ top: showShadowSideTop,
32
+ bottom: showShadowSideBottom
33
+ },
34
+ corners: {
35
+ topStart: showShadowCornerTopStart,
36
+ topEnd: showShadowCornerTopEnd,
37
+ bottomStart: showShadowCornerBottomStart,
38
+ bottomEnd: showShadowCornerBottomEnd
39
+ },
40
+ containerStyle: style
41
+ }, rest));
42
+ };
43
+ var _default = Shadow;
44
+ exports.default = _default;
@@ -273,6 +273,12 @@ Object.defineProperty(exports, "ScreenContainer", {
273
273
  return _ScreenContainer.default;
274
274
  }
275
275
  });
276
+ Object.defineProperty(exports, "Shadow", {
277
+ enumerable: true,
278
+ get: function () {
279
+ return _Shadow.default;
280
+ }
281
+ });
276
282
  Object.defineProperty(exports, "Slider", {
277
283
  enumerable: true,
278
284
  get: function () {
@@ -339,18 +345,6 @@ Object.defineProperty(exports, "SwitchRow", {
339
345
  return _Switch.SwitchRow;
340
346
  }
341
347
  });
342
- Object.defineProperty(exports, "TabView", {
343
- enumerable: true,
344
- get: function () {
345
- return _TabView.TabView;
346
- }
347
- });
348
- Object.defineProperty(exports, "TabViewItem", {
349
- enumerable: true,
350
- get: function () {
351
- return _TabView.TabViewItem;
352
- }
353
- });
354
348
  Object.defineProperty(exports, "TextField", {
355
349
  enumerable: true,
356
350
  get: function () {
@@ -425,8 +419,8 @@ var _ActionSheet = require("./components/ActionSheet");
425
419
  var _Swiper = require("./components/Swiper");
426
420
  var _Layout = require("./components/Layout");
427
421
  var _index = require("./components/RadioButton/index");
422
+ var _Shadow = _interopRequireDefault(require("./components/Shadow"));
428
423
  var _DeckSwiper = require("./components/DeckSwiper");
429
- var _TabView = require("./components/TabView");
430
424
  var _DatePicker = _interopRequireDefault(require("./components/DatePicker/DatePicker"));
431
425
  var _Picker = _interopRequireDefault(require("./components/Picker/Picker"));
432
426
  var _ProgressBar = _interopRequireDefault(require("./components/ProgressBar"));
@@ -0,0 +1,94 @@
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 SEED_DATA = {
9
+ name: "Shadow",
10
+ tag: "Shadow",
11
+ description: "A cross-platform, universal shadow.",
12
+ category: _types.COMPONENT_TYPES.view,
13
+ stylesPanelSections: _types.CONTAINER_COMPONENT_STYLES_SECTIONS,
14
+ props: {
15
+ disabled: (0, _types.createDisabledProp)({
16
+ description: "Disables the shadow."
17
+ }),
18
+ startColor: (0, _types.createColorProp)({
19
+ label: "Start Color",
20
+ description: "The initial gradient color of the shadow.",
21
+ defaultValue: null
22
+ }),
23
+ endColor: (0, _types.createColorProp)({
24
+ label: "End Color",
25
+ description: "The final gradient color of the shadow.",
26
+ defaultValue: null
27
+ }),
28
+ distance: (0, _types.createStaticNumberProp)({
29
+ label: "Distance",
30
+ description: "The distance of the shadow."
31
+ }),
32
+ paintInside: (0, _types.createStaticBoolProp)({
33
+ label: "Paint Inside",
34
+ description: "Apply the shadow below/inside the content.",
35
+ defaultValue: null
36
+ }),
37
+ stretch: (0, _types.createStaticBoolProp)({
38
+ label: "Stretch",
39
+ description: "Force children to occupy all available horizontal space.",
40
+ defaultValue: null
41
+ }),
42
+ offsetX: (0, _types.createStaticNumberProp)({
43
+ label: "Offset X",
44
+ description: "Moves the shadow in the x direction",
45
+ defeaultValue: 0
46
+ }),
47
+ offsetY: (0, _types.createStaticNumberProp)({
48
+ label: "Offset Y",
49
+ description: "Moves the shadow in the y direction",
50
+ defeaultValue: 0
51
+ }),
52
+ showShadowSideStart: (0, _types.createStaticBoolProp)({
53
+ label: "Show Shadow Start",
54
+ description: "Whether to show shadow on the start side or not",
55
+ defaultValue: true
56
+ }),
57
+ showShadowSideEnd: (0, _types.createStaticBoolProp)({
58
+ label: "Show Shadow End",
59
+ description: "Whether to show shadow on the end side or not",
60
+ defaultValue: true
61
+ }),
62
+ showShadowSideTop: (0, _types.createStaticBoolProp)({
63
+ label: "Show Shadow Top",
64
+ description: "Whether to show shadow on the top side or not",
65
+ defaultValue: true
66
+ }),
67
+ showShadowSideBottom: (0, _types.createStaticBoolProp)({
68
+ label: "Show Shadow Bottom",
69
+ description: "Whether to show shadow on the bottom side or not",
70
+ defaultValue: true
71
+ }),
72
+ showShadowCornerTopStart: (0, _types.createStaticBoolProp)({
73
+ label: "Show Shadow Top Start Corner",
74
+ description: "Whether to show shadow on the top start corner or not",
75
+ defaultValue: true
76
+ }),
77
+ showShadowCornerTopEnd: (0, _types.createStaticBoolProp)({
78
+ label: "Show Shadow Top End Corner",
79
+ description: "Whether to show shadow on the top end corner or not",
80
+ defaultValue: true
81
+ }),
82
+ showShadowCornerBottomStart: (0, _types.createStaticBoolProp)({
83
+ label: "Show Shadow Bottom Start Corner",
84
+ description: "Whether to show shadow on the bottom start corner or not",
85
+ defaultValue: true
86
+ }),
87
+ showShadowCornerBottomEnd: (0, _types.createStaticBoolProp)({
88
+ label: "Show Shadow Bottom End Corner",
89
+ description: "Whether to show shadow on the bottom end corner or not",
90
+ defaultValue: true
91
+ })
92
+ }
93
+ };
94
+ exports.SEED_DATA = SEED_DATA;
@@ -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 { Pressable, StyleSheet, View } from "react-native";
3
4
  import Text from "../Text";
@@ -17,10 +18,9 @@ const AccordionItem = _ref => {
17
18
  textStyles,
18
19
  viewStyles
19
20
  } = extractStyles(style);
20
- return /*#__PURE__*/React.createElement(Pressable, {
21
- style: [styles.container, viewStyles],
22
- ...rest
23
- }, /*#__PURE__*/React.createElement(View, {
21
+ return /*#__PURE__*/React.createElement(Pressable, _extends({
22
+ style: [styles.container, viewStyles]
23
+ }, rest), /*#__PURE__*/React.createElement(View, {
24
24
  style: styles.row
25
25
  }, icon ? /*#__PURE__*/React.createElement(Icon, {
26
26
  name: icon,
@@ -51,25 +51,4 @@ const styles = StyleSheet.create({
51
51
  justifyContent: "center"
52
52
  }
53
53
  });
54
- export default withTheme(AccordionItem);xtStyles
55
- }, label))));
56
- };
57
- const styles = StyleSheet.create({
58
- container: {
59
- padding: 8
60
- },
61
- row: {
62
- flexDirection: "row",
63
- alignItems: "center",
64
- paddingLeft: 8
65
- },
66
- item: {
67
- marginVertical: 6,
68
- paddingLeft: 8
69
- },
70
- content: {
71
- flex: 1,
72
- justifyContent: "center"
73
- }
74
- });
75
54
  export default withTheme(AccordionItem);
@@ -0,0 +1,36 @@
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); }
2
+ import React from "react";
3
+ import { Shadow as ShadowComponent } from "react-native-shadow-2";
4
+ const Shadow = _ref => {
5
+ let {
6
+ offsetX = 0,
7
+ offsetY = 0,
8
+ showShadowSideStart = true,
9
+ showShadowSideEnd = true,
10
+ showShadowSideTop = true,
11
+ showShadowSideBottom = true,
12
+ showShadowCornerTopStart = true,
13
+ showShadowCornerTopEnd = true,
14
+ showShadowCornerBottomStart = true,
15
+ showShadowCornerBottomEnd = true,
16
+ style,
17
+ ...rest
18
+ } = _ref;
19
+ return /*#__PURE__*/React.createElement(ShadowComponent, _extends({
20
+ offset: [offsetX, offsetY],
21
+ sides: {
22
+ start: showShadowSideStart,
23
+ end: showShadowSideEnd,
24
+ top: showShadowSideTop,
25
+ bottom: showShadowSideBottom
26
+ },
27
+ corners: {
28
+ topStart: showShadowCornerTopStart,
29
+ topEnd: showShadowCornerTopEnd,
30
+ bottomStart: showShadowCornerBottomStart,
31
+ bottomEnd: showShadowCornerBottomEnd
32
+ },
33
+ containerStyle: style
34
+ }, rest));
35
+ };
36
+ export default Shadow;
@@ -6,5 +6,4 @@ const DEFAULT_STATUSBAR_HEIGHT_EXPO = expo !== null && expo !== void 0 && expo.C
6
6
  export const APPROX_STATUSBAR_HEIGHT = Platform.select({
7
7
  android: DEFAULT_STATUSBAR_HEIGHT_EXPO,
8
8
  ios: Platform.Version < 11 ? DEFAULT_STATUSBAR_HEIGHT_EXPO : 0
9
- });O : 0
10
9
  });
@@ -31,8 +31,8 @@ export { ActionSheet, ActionSheetItem, ActionSheetCancel } from "./components/Ac
31
31
  export { Swiper, SwiperItem } from "./components/Swiper";
32
32
  export { Center, Circle, Square, Row, Stack, Spacer } from "./components/Layout";
33
33
  export { RadioButton, RadioButtonGroup, RadioButtonRow, RadioButtonFieldGroup } from "./components/RadioButton/index";
34
+ export { default as Shadow } from "./components/Shadow";
34
35
  export { DeckSwiper, DeckSwiperCard } from "./components/DeckSwiper";
35
- export { TabView, TabViewItem } from "./components/TabView";
36
36
 
37
37
  /* Deprecated: Fix or Delete! */
38
38
  export { default as DatePicker } from "./components/DatePicker/DatePicker";
@@ -0,0 +1,87 @@
1
+ import { COMPONENT_TYPES, CONTAINER_COMPONENT_STYLES_SECTIONS, createColorProp, createStaticNumberProp, createStaticBoolProp, createDisabledProp } from "@draftbit/types";
2
+ export const SEED_DATA = {
3
+ name: "Shadow",
4
+ tag: "Shadow",
5
+ description: "A cross-platform, universal shadow.",
6
+ category: COMPONENT_TYPES.view,
7
+ stylesPanelSections: CONTAINER_COMPONENT_STYLES_SECTIONS,
8
+ props: {
9
+ disabled: createDisabledProp({
10
+ description: "Disables the shadow."
11
+ }),
12
+ startColor: createColorProp({
13
+ label: "Start Color",
14
+ description: "The initial gradient color of the shadow.",
15
+ defaultValue: null
16
+ }),
17
+ endColor: createColorProp({
18
+ label: "End Color",
19
+ description: "The final gradient color of the shadow.",
20
+ defaultValue: null
21
+ }),
22
+ distance: createStaticNumberProp({
23
+ label: "Distance",
24
+ description: "The distance of the shadow."
25
+ }),
26
+ paintInside: createStaticBoolProp({
27
+ label: "Paint Inside",
28
+ description: "Apply the shadow below/inside the content.",
29
+ defaultValue: null
30
+ }),
31
+ stretch: createStaticBoolProp({
32
+ label: "Stretch",
33
+ description: "Force children to occupy all available horizontal space.",
34
+ defaultValue: null
35
+ }),
36
+ offsetX: createStaticNumberProp({
37
+ label: "Offset X",
38
+ description: "Moves the shadow in the x direction",
39
+ defeaultValue: 0
40
+ }),
41
+ offsetY: createStaticNumberProp({
42
+ label: "Offset Y",
43
+ description: "Moves the shadow in the y direction",
44
+ defeaultValue: 0
45
+ }),
46
+ showShadowSideStart: createStaticBoolProp({
47
+ label: "Show Shadow Start",
48
+ description: "Whether to show shadow on the start side or not",
49
+ defaultValue: true
50
+ }),
51
+ showShadowSideEnd: createStaticBoolProp({
52
+ label: "Show Shadow End",
53
+ description: "Whether to show shadow on the end side or not",
54
+ defaultValue: true
55
+ }),
56
+ showShadowSideTop: createStaticBoolProp({
57
+ label: "Show Shadow Top",
58
+ description: "Whether to show shadow on the top side or not",
59
+ defaultValue: true
60
+ }),
61
+ showShadowSideBottom: createStaticBoolProp({
62
+ label: "Show Shadow Bottom",
63
+ description: "Whether to show shadow on the bottom side or not",
64
+ defaultValue: true
65
+ }),
66
+ showShadowCornerTopStart: createStaticBoolProp({
67
+ label: "Show Shadow Top Start Corner",
68
+ description: "Whether to show shadow on the top start corner or not",
69
+ defaultValue: true
70
+ }),
71
+ showShadowCornerTopEnd: createStaticBoolProp({
72
+ label: "Show Shadow Top End Corner",
73
+ description: "Whether to show shadow on the top end corner or not",
74
+ defaultValue: true
75
+ }),
76
+ showShadowCornerBottomStart: createStaticBoolProp({
77
+ label: "Show Shadow Bottom Start Corner",
78
+ description: "Whether to show shadow on the bottom start corner or not",
79
+ defaultValue: true
80
+ }),
81
+ showShadowCornerBottomEnd: createStaticBoolProp({
82
+ label: "Show Shadow Bottom End Corner",
83
+ description: "Whether to show shadow on the bottom end corner or not",
84
+ defaultValue: true
85
+ })
86
+ }
87
+ };
@@ -0,0 +1,24 @@
1
+ import React from "react";
2
+ import { StyleProp, ViewStyle } from "react-native";
3
+ interface ShadowProps {
4
+ disabled?: boolean;
5
+ startColor?: string;
6
+ endColor?: string;
7
+ distance?: number;
8
+ paintInside?: boolean;
9
+ stretch?: boolean;
10
+ offsetX?: number;
11
+ offsetY?: number;
12
+ showShadowSideStart?: boolean;
13
+ showShadowSideEnd?: boolean;
14
+ showShadowSideTop?: boolean;
15
+ showShadowSideBottom?: boolean;
16
+ showShadowCornerTopStart?: boolean;
17
+ showShadowCornerTopEnd?: boolean;
18
+ showShadowCornerBottomStart?: boolean;
19
+ showShadowCornerBottomEnd?: boolean;
20
+ style?: StyleProp<ViewStyle>;
21
+ }
22
+ declare const Shadow: React.FC<React.PropsWithChildren<ShadowProps>>;
23
+ export default Shadow;
24
+ //# sourceMappingURL=Shadow.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Shadow.d.ts","sourceRoot":"","sources":["../../../../src/components/Shadow.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAE,SAAS,EAAE,SAAS,EAAE,MAAM,cAAc,CAAC;AAGpD,UAAU,WAAW;IACnB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,WAAW,CAAC,EAAE,OAAO,CAAC;IACtB,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,mBAAmB,CAAC,EAAE,OAAO,CAAC;IAC9B,iBAAiB,CAAC,EAAE,OAAO,CAAC;IAC5B,iBAAiB,CAAC,EAAE,OAAO,CAAC;IAC5B,oBAAoB,CAAC,EAAE,OAAO,CAAC;IAC/B,wBAAwB,CAAC,EAAE,OAAO,CAAC;IACnC,sBAAsB,CAAC,EAAE,OAAO,CAAC;IACjC,2BAA2B,CAAC,EAAE,OAAO,CAAC;IACtC,yBAAyB,CAAC,EAAE,OAAO,CAAC;IACpC,KAAK,CAAC,EAAE,SAAS,CAAC,SAAS,CAAC,CAAC;CAC9B;AAED,QAAA,MAAM,MAAM,EAAE,KAAK,CAAC,EAAE,CAAC,KAAK,CAAC,iBAAiB,CAAC,WAAW,CAAC,CAiC1D,CAAC;AAEF,eAAe,MAAM,CAAC"}
@@ -31,8 +31,8 @@ export { ActionSheet, ActionSheetItem, ActionSheetCancel, } from "./components/A
31
31
  export { Swiper, SwiperItem } from "./components/Swiper";
32
32
  export { Center, Circle, Square, Row, Stack, Spacer, } from "./components/Layout";
33
33
  export { RadioButton, RadioButtonGroup, RadioButtonRow, RadioButtonFieldGroup, } from "./components/RadioButton/index";
34
+ export { default as Shadow } from "./components/Shadow";
34
35
  export { DeckSwiper, DeckSwiperCard } from "./components/DeckSwiper";
35
- export { TabView, TabViewItem } from "./components/TabView";
36
36
  export { default as DatePicker } from "./components/DatePicker/DatePicker";
37
37
  export { default as Picker } from "./components/Picker/Picker";
38
38
  export { default as Prog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C;AACvE,OAAO,EACL,WAAW,EACX,eAAe,EACf,iBAAiB,GAClB,MAAM,0BAA0B,CAAC;AAClC,OAAO,EAAE,MAAM,EAAE,UAAU,EAAE,MAAM,qBAAqB,CAAC;AAEzD,OAAO,EACL,MAAM,EACN,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;AAGrE,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,WAAW,EAAE,MAAM,0BAA0B,CAAC;AAClE,OAAO,EAAE,OAAO,IAAI,uBAAuB,EAAE,MAAM,sCAAsC,CAAC;AAC1F,OAAO,EAAE,OAAO,IAAI,oBAAoB,EAAE,MAAM,mCAAmC,CAAC;AACpF,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"}
@@ -4,51 +4,49 @@ export declare const SEED_DATA: {
4
4
  description: string;
5
5
  category: string;
6
6
  stylesPanelSections: string[];
7
- triggers: string[];
8
7
  props: {
9
- onIndexChanged: {
8
+ disabled: {
10
9
  label: string;
11
10
  description: string;
11
+ group: string;
12
12
  editable: boolean;
13
13
  required: boolean;
14
14
  formType: string;
15
15
  propType: string;
16
16
  defaultValue: null;
17
- group: string;
18
17
  };
19
- onEndReached: {
18
+ startColor: {
19
+ group: string;
20
20
  label: string;
21
21
  description: string;
22
22
  editable: boolean;
23
23
  required: boolean;
24
+ defaultValue: null;
24
25
  formType: string;
25
26
  propType: string;
26
- defaultValue: null;
27
- group: string;
28
27
  };
29
- tabBarPosition: {
28
+ endColor: {
30
29
  group: string;
31
30
  label: string;
32
31
  description: string;
33
32
  editable: boolean;
34
33
  required: boolean;
34
+ defaultValue: null;
35
35
  formType: string;
36
36
  propType: string;
37
- defaultValue: null;
38
- options: never[];
39
37
  };
40
- keyboardDismissMode: {
41
- group: string;
38
+ distance: {
42
39
  label: string;
43
40
  description: string;
44
- editable: boolean;
45
- required: boolean;
46
41
  formType: string;
47
42
  propType: string;
43
+ group: string;
48
44
  defaultValue: null;
49
- options: never[];
45
+ editable: boolean;
46
+ required: boolean;
47
+ step: number;
50
48
  };
51
- swipeEnabled: {
49
+ paintInside: {
52
50
  label: string;
53
51
  description: string;
54
52
  formType: string;
@@ -58,7 +56,7 @@ export declare const SEED_DATA: {
58
56
  required: boolean;
59
57
  group: string;
60
58
  };
61
- scrollEnabled: {
59
+ stretch: {
62
60
  label: string;
63
61
  description: string;
64
62
  formType: string;
@@ -68,56 +66,108 @@ export declare const SEED_DATA: {
68
66
  required: boolean;
69
67
  group: string;
70
68
  };
71
- activeColor: {
72
- group: string;
69
+ offsetX: {
73
70
  label: string;
74
71
  description: string;
72
+ formType: string;
73
+ propType: string;
74
+ group: string;
75
+ defaultValue: null;
75
76
  editable: boolean;
76
77
  required: boolean;
77
- defaultValue: null;
78
+ step: number;
79
+ };
80
+ offsetY: {
81
+ label: string;
82
+ description: string;
78
83
  formType: string;
79
84
  propType: string;
80
- };
81
- inactiveColor: {
82
85
  group: string;
86
+ defaultValue: null;
87
+ editable: boolean;
88
+ required: boolean;
89
+ step: number;
90
+ };
91
+ showShadowSideStart: {
83
92
  label: string;
84
93
  description: string;
94
+ formType: string;
95
+ propType: string;
96
+ defaultValue: boolean;
85
97
  editable: boolean;
86
98
  required: boolean;
87
- defaultValue: null;
99
+ group: string;
100
+ };
101
+ showShadowSideEnd: {
102
+ label: string;
103
+ description: string;
88
104
  formType: string;
89
105
  propType: string;
90
- };
91
- pressColor: {
106
+ defaultValue: boolean;
107
+ editable: boolean;
108
+ required: boolean;
92
109
  group: string;
110
+ };
111
+ showShadowSideTop: {
93
112
  label: string;
94
113
  description: string;
114
+ formType: string;
115
+ propType: string;
116
+ defaultValue: boolean;
95
117
  editable: boolean;
96
118
  required: boolean;
97
- defaultValue: null;
119
+ group: string;
120
+ };
121
+ showShadowSideBottom: {
122
+ label: string;
123
+ description: string;
98
124
  formType: string;
99
125
  propType: string;
100
- };
101
- indicatorColor: {
126
+ defaultValue: boolean;
127
+ editable: boolean;
128
+ required: boolean;
102
129
  group: string;
130
+ };
131
+ showShadowCornerTopStart: {
103
132
  label: string;
104
133
  description: string;
134
+ formType: string;
135
+ propType: string;
136
+ defaultValue: boolean;
105
137
  editable: boolean;
106
138
  required: boolean;
107
- defaultValue: null;
139
+ group: string;
140
+ };
141
+ showShadowCornerTopEnd: {
142
+ label: string;
143
+ description: string;
108
144
  formType: string;
109
145
  propType: string;
110
- };
111
- tabsBackgroundColor: {
146
+ defaultValue: boolean;
147
+ editable: boolean;
148
+ required: boolean;
112
149
  group: string;
150
+ };
151
+ showShadowCornerBottomStart: {
113
152
  label: string;
114
153
  description: string;
154
+ formType: string;
155
+ propType: string;
156
+ defaultValue: boolean;
115
157
  editable: boolean;
116
158
  required: boolean;
117
- defaultValue: null;
159
+ group: string;
160
+ };
161
+ showShadowCornerBottomEnd: {
162
+ label: string;
163
+ description: string;
118
164
  formType: string;
119
165
  propType: string;
166
+ defaultValue: boolean;
167
+ editable: boolean;
168
+ required: boolean;
169
+ group: string;
120
170
  };
121
171
  };
122
172
  };
123
- //# sourceMappingURL=TabView.d.ts.map
173
+ //# sourceMappingURL=Shadow.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Shadow.d.ts","sourceRoot":"","sources":["../../../../src/mappings/Shadow.ts"],"names":[],"mappings":"AASA,eAAO,MAAM,SAAS;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAqFrB,CAAC"}