@draftbit/core 46.8.2-088bf8.2 → 46.8.2-5a685f.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.
@@ -6,7 +6,7 @@ Object.defineProperty(exports, "__esModule", {
6
6
  exports.radioButtonGroupContext = exports.Direction = void 0;
7
7
  exports.useRadioButtonGroupContext = useRadioButtonGroupContext;
8
8
  var _react = require("react");
9
- var Direction;
9
+ let Direction;
10
10
  exports.Direction = Direction;
11
11
  (function (Direction) {
12
12
  Direction["Horizontal"] = "horizontal";
@@ -0,0 +1,46 @@
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
+ paintInside = false,
24
+ style,
25
+ ...rest
26
+ } = _ref;
27
+ return /*#__PURE__*/_react.default.createElement(_reactNativeShadow.Shadow, _extends({
28
+ offset: [offsetX, offsetY],
29
+ sides: {
30
+ start: showShadowSideStart,
31
+ end: showShadowSideEnd,
32
+ top: showShadowSideTop,
33
+ bottom: showShadowSideBottom
34
+ },
35
+ corners: {
36
+ topStart: showShadowCornerTopStart,
37
+ topEnd: showShadowCornerTopEnd,
38
+ bottomStart: showShadowCornerBottomStart,
39
+ bottomEnd: showShadowCornerBottomEnd
40
+ },
41
+ containerStyle: style,
42
+ paintInside: paintInside
43
+ }, rest));
44
+ };
45
+ var _default = Shadow;
46
+ exports.default = _default;
@@ -11,6 +11,7 @@ var _IconButton = _interopRequireDefault(require("./IconButton"));
11
11
  function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
12
12
  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); }
13
13
  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; }
14
+ 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); }
14
15
  const ToggleButton = _ref => {
15
16
  let {
16
17
  Icon,
@@ -46,7 +47,7 @@ const ToggleButton = _ref => {
46
47
  setInternalValue(!internalValue);
47
48
  onPress(!internalValue);
48
49
  };
49
- return /*#__PURE__*/React.createElement(_IconButton.default, {
50
+ return /*#__PURE__*/React.createElement(_IconButton.default, _extends({
50
51
  Icon: Icon,
51
52
  icon: icon,
52
53
  size: iconSize,
@@ -58,20 +59,6 @@ const ToggleButton = _ref => {
58
59
  height,
59
60
  backgroundColor: internalValue ? colors[colorSecondary] : colors[color],
60
61
  borderColor: colors[borderColor]
61
- }, style],
62
- ...rest
63
- });
64
- };
65
- const styles = _reactNative.StyleSheet.create({
66
- mainContainer: {
67
- borderWidth: 1
68
- }
69
- });
70
- var _default = (0, _theming.withTheme)(ToggleButton);
71
- exports.default = _default;idth,
72
- height,
73
- backgroundColor: internalValue ? colors[colorSecondary] : colors[color],
74
- borderColor: colors[borderColor]
75
62
  }, style]
76
63
  }, rest));
77
64
  };
@@ -10,11 +10,12 @@ function usePrevious(value) {
10
10
  // The ref object is a generic container whose current property is mutable
11
11
  // and can hold any value, similar to an instance property on a class
12
12
  const ref = _react.default.useRef();
13
+
13
14
  // Store current value in ref
14
15
  _react.default.useEffect(() => {
15
16
  ref.current = value;
16
17
  }, [value]);
18
+
17
19
  // Return previous value (happens before update in useEffect above)
18
20
  return ref.current;
19
- }
20
21
  }
@@ -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 () {
@@ -413,6 +419,7 @@ var _ActionSheet = require("./components/ActionSheet");
413
419
  var _Swiper = require("./components/Swiper");
414
420
  var _Layout = require("./components/Layout");
415
421
  var _index = require("./components/RadioButton/index");
422
+ var _Shadow = _interopRequireDefault(require("./components/Shadow"));
416
423
  var _DeckSwiper = require("./components/DeckSwiper");
417
424
  var _DatePicker = _interopRequireDefault(require("./components/DatePicker/DatePicker"));
418
425
  var _Picker = _interopRequireDefault(require("./components/Picker/Picker"));
@@ -0,0 +1,102 @@
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: false
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
+ group: _types.GROUPS.advanced
57
+ }),
58
+ showShadowSideEnd: (0, _types.createStaticBoolProp)({
59
+ label: "Show Shadow End",
60
+ description: "Whether to show shadow on the end side or not",
61
+ defaultValue: true,
62
+ group: _types.GROUPS.advanced
63
+ }),
64
+ showShadowSideTop: (0, _types.createStaticBoolProp)({
65
+ label: "Show Shadow Top",
66
+ description: "Whether to show shadow on the top side or not",
67
+ defaultValue: true,
68
+ group: _types.GROUPS.advanced
69
+ }),
70
+ showShadowSideBottom: (0, _types.createStaticBoolProp)({
71
+ label: "Show Shadow Bottom",
72
+ description: "Whether to show shadow on the bottom side or not",
73
+ defaultValue: true,
74
+ group: _types.GROUPS.advanced
75
+ }),
76
+ showShadowCornerTopStart: (0, _types.createStaticBoolProp)({
77
+ label: "Show Shadow Top Start Corner",
78
+ description: "Whether to show shadow on the top start corner or not",
79
+ defaultValue: true,
80
+ group: _types.GROUPS.advanced
81
+ }),
82
+ showShadowCornerTopEnd: (0, _types.createStaticBoolProp)({
83
+ label: "Show Shadow Top End Corner",
84
+ description: "Whether to show shadow on the top end corner or not",
85
+ defaultValue: true,
86
+ group: _types.GROUPS.advanced
87
+ }),
88
+ showShadowCornerBottomStart: (0, _types.createStaticBoolProp)({
89
+ label: "Show Shadow Bottom Start Corner",
90
+ description: "Whether to show shadow on the bottom start corner or not",
91
+ defaultValue: true,
92
+ group: _types.GROUPS.advanced
93
+ }),
94
+ showShadowCornerBottomEnd: (0, _types.createStaticBoolProp)({
95
+ label: "Show Shadow Bottom End Corner",
96
+ description: "Whether to show shadow on the bottom end corner or not",
97
+ defaultValue: true,
98
+ group: _types.GROUPS.advanced
99
+ })
100
+ }
101
+ };
102
+ 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 { View, StyleSheet } from "react-native";
3
4
  import omit from "lodash.omit";
@@ -7,6 +8,7 @@ import { extractStyles } from "../../utilities";
7
8
  import TextField from "../TextField";
8
9
  import Touchable from "../Touchable";
9
10
  const Picker = _ref => {
11
+ var _options$find$label, _options$find;
10
12
  let {
11
13
  style,
12
14
  options,
@@ -16,7 +18,6 @@ const Picker = _ref => {
16
18
  onValueChange: onValueChangeOverride = () => {},
17
19
  ...props
18
20
  } = _ref;
19
- var _a, _b;
20
21
  const {
21
22
  viewStyles: {
22
23
  borderRadius,
@@ -61,7 +62,7 @@ const Picker = _ref => {
61
62
  };
62
63
 
63
64
  const stylesWithoutMargin = style && omit(StyleSheet.flatten(style), ["margin", "marginTop", "marginRight", "marginBottom", "marginLeft"]);
64
- const selectedLabel = selectedValue && ((_b = (_a = options.find(o => o.value === selectedValue)) === null || _a === void 0 ? void 0 : _a.label) !== null && _b !== void 0 ? _b : selectedValue);
65
+ 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);
65
66
  return /*#__PURE__*/React.createElement(Touchable, {
66
67
  disabled: disabled,
67
68
  onPress: toggleFocus,
@@ -85,16 +86,18 @@ const Picker = _ref => {
85
86
  key: o.value
86
87
  }))), /*#__PURE__*/React.createElement(View, {
87
88
  pointerEvents: "none"
88
- }, /*#__PURE__*/React.createElement(TextField, {
89
- ...props,
89
+ }, /*#__PURE__*/React.createElement(TextField, _extends({}, props, {
90
90
  value: selectedLabel,
91
- placeholder: placeholder,
91
+ placeholder: placeholder
92
92
  // @ts-ignore
93
- ref: textField,
94
- disabled: disabled,
93
+ ,
94
+ ref: textField // cannot determine if ref is of correct type due to component being wrapped in a withTheme()
95
+ ,
96
+ disabled: disabled
95
97
  // @ts-expect-error
98
+ ,
96
99
  style: stylesWithoutMargin
97
- }))));
100
+ })))));
98
101
  };
99
102
  const styles = StyleSheet.create({
100
103
  container: {
@@ -0,0 +1,38 @@
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
+ paintInside = false,
17
+ style,
18
+ ...rest
19
+ } = _ref;
20
+ return /*#__PURE__*/React.createElement(ShadowComponent, _extends({
21
+ offset: [offsetX, offsetY],
22
+ sides: {
23
+ start: showShadowSideStart,
24
+ end: showShadowSideEnd,
25
+ top: showShadowSideTop,
26
+ bottom: showShadowSideBottom
27
+ },
28
+ corners: {
29
+ topStart: showShadowCornerTopStart,
30
+ topEnd: showShadowCornerTopEnd,
31
+ bottomStart: showShadowCornerBottomStart,
32
+ bottomEnd: showShadowCornerBottomEnd
33
+ },
34
+ containerStyle: style,
35
+ paintInside: paintInside
36
+ }, rest));
37
+ };
38
+ export default Shadow;
@@ -31,6 +31,7 @@ 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
36
 
36
37
  /* Deprecated: Fix or Delete! */
@@ -0,0 +1,95 @@
1
+ import { COMPONENT_TYPES, CONTAINER_COMPONENT_STYLES_SECTIONS, createColorProp, createStaticNumberProp, createStaticBoolProp, createDisabledProp, GROUPS } 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: false
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
+ group: GROUPS.advanced
51
+ }),
52
+ showShadowSideEnd: createStaticBoolProp({
53
+ label: "Show Shadow End",
54
+ description: "Whether to show shadow on the end side or not",
55
+ defaultValue: true,
56
+ group: GROUPS.advanced
57
+ }),
58
+ showShadowSideTop: createStaticBoolProp({
59
+ label: "Show Shadow Top",
60
+ description: "Whether to show shadow on the top side or not",
61
+ defaultValue: true,
62
+ group: GROUPS.advanced
63
+ }),
64
+ showShadowSideBottom: createStaticBoolProp({
65
+ label: "Show Shadow Bottom",
66
+ description: "Whether to show shadow on the bottom side or not",
67
+ defaultValue: true,
68
+ group: GROUPS.advanced
69
+ }),
70
+ showShadowCornerTopStart: createStaticBoolProp({
71
+ label: "Show Shadow Top Start Corner",
72
+ description: "Whether to show shadow on the top start corner or not",
73
+ defaultValue: true,
74
+ group: GROUPS.advanced
75
+ }),
76
+ showShadowCornerTopEnd: createStaticBoolProp({
77
+ label: "Show Shadow Top End Corner",
78
+ description: "Whether to show shadow on the top end corner or not",
79
+ defaultValue: true,
80
+ group: GROUPS.advanced
81
+ }),
82
+ showShadowCornerBottomStart: 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
+ group: GROUPS.advanced
87
+ }),
88
+ showShadowCornerBottomEnd: createStaticBoolProp({
89
+ label: "Show Shadow Bottom End Corner",
90
+ description: "Whether to show shadow on the bottom end corner or not",
91
+ defaultValue: true,
92
+ group: GROUPS.advanced
93
+ })
94
+ }
95
+ };
@@ -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,CAmC1D,CAAC;AAEF,eAAe,MAAM,CAAC"}
@@ -31,6 +31,7 @@ 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
36
  export { default as DatePicker } from "./components/DatePicker/DatePicker";
36
37
  export { default as Picker } from "./components/Picker/Picker";
@@ -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,CAAC;AAC1D,OAAO,EAAE,OAAO,IAAI,GAAG,EAAE,MAAM,kBAAkB,CAAC;AAClD,OAAO,EAAE,OAAO,IAAI,kBAAkB,EAAE,MAAM,iCAAiC,CAAC;AAChF,OAAO,EAAE,OAAO,IAAI,UAAU,EAAE,MAAM,yBAAyB,CAAC;AAChE,OAAO,EA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,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"}
@@ -0,0 +1,173 @@
1
+ export declare const SEED_DATA: {
2
+ name: string;
3
+ tag: string;
4
+ description: string;
5
+ category: string;
6
+ stylesPanelSections: string[];
7
+ props: {
8
+ disabled: {
9
+ label: string;
10
+ description: string;
11
+ group: string;
12
+ editable: boolean;
13
+ required: boolean;
14
+ formType: string;
15
+ propType: string;
16
+ defaultValue: null;
17
+ };
18
+ startColor: {
19
+ group: string;
20
+ label: string;
21
+ description: string;
22
+ editable: boolean;
23
+ required: boolean;
24
+ defaultValue: null;
25
+ formType: string;
26
+ propType: string;
27
+ };
28
+ endColor: {
29
+ group: string;
30
+ label: string;
31
+ description: string;
32
+ editable: boolean;
33
+ required: boolean;
34
+ defaultValue: null;
35
+ formType: string;
36
+ propType: string;
37
+ };
38
+ distance: {
39
+ label: string;
40
+ description: string;
41
+ formType: string;
42
+ propType: string;
43
+ group: string;
44
+ defaultValue: null;
45
+ editable: boolean;
46
+ required: boolean;
47
+ step: number;
48
+ };
49
+ paintInside: {
50
+ label: string;
51
+ description: string;
52
+ formType: string;
53
+ propType: string;
54
+ defaultValue: boolean;
55
+ editable: boolean;
56
+ required: boolean;
57
+ group: string;
58
+ };
59
+ stretch: {
60
+ label: string;
61
+ description: string;
62
+ formType: string;
63
+ propType: string;
64
+ defaultValue: boolean;
65
+ editable: boolean;
66
+ required: boolean;
67
+ group: string;
68
+ };
69
+ offsetX: {
70
+ label: string;
71
+ description: string;
72
+ formType: string;
73
+ propType: string;
74
+ group: string;
75
+ defaultValue: null;
76
+ editable: boolean;
77
+ required: boolean;
78
+ step: number;
79
+ };
80
+ offsetY: {
81
+ label: string;
82
+ description: string;
83
+ formType: string;
84
+ propType: string;
85
+ group: string;
86
+ defaultValue: null;
87
+ editable: boolean;
88
+ required: boolean;
89
+ step: number;
90
+ };
91
+ showShadowSideStart: {
92
+ label: string;
93
+ description: string;
94
+ formType: string;
95
+ propType: string;
96
+ defaultValue: boolean;
97
+ editable: boolean;
98
+ required: boolean;
99
+ group: string;
100
+ };
101
+ showShadowSideEnd: {
102
+ label: string;
103
+ description: string;
104
+ formType: string;
105
+ propType: string;
106
+ defaultValue: boolean;
107
+ editable: boolean;
108
+ required: boolean;
109
+ group: string;
110
+ };
111
+ showShadowSideTop: {
112
+ label: string;
113
+ description: string;
114
+ formType: string;
115
+ propType: string;
116
+ defaultValue: boolean;
117
+ editable: boolean;
118
+ required: boolean;
119
+ group: string;
120
+ };
121
+ showShadowSideBottom: {
122
+ label: string;
123
+ description: string;
124
+ formType: string;
125
+ propType: string;
126
+ defaultValue: boolean;
127
+ editable: boolean;
128
+ required: boolean;
129
+ group: string;
130
+ };
131
+ showShadowCornerTopStart: {
132
+ label: string;
133
+ description: string;
134
+ formType: string;
135
+ propType: string;
136
+ defaultValue: boolean;
137
+ editable: boolean;
138
+ required: boolean;
139
+ group: string;
140
+ };
141
+ showShadowCornerTopEnd: {
142
+ label: string;
143
+ description: string;
144
+ formType: string;
145
+ propType: string;
146
+ defaultValue: boolean;
147
+ editable: boolean;
148
+ required: boolean;
149
+ group: string;
150
+ };
151
+ showShadowCornerBottomStart: {
152
+ label: string;
153
+ description: string;
154
+ formType: string;
155
+ propType: string;
156
+ defaultValue: boolean;
157
+ editable: boolean;
158
+ required: boolean;
159
+ group: string;
160
+ };
161
+ showShadowCornerBottomEnd: {
162
+ label: string;
163
+ description: string;
164
+ formType: string;
165
+ propType: string;
166
+ defaultValue: boolean;
167
+ editable: boolean;
168
+ required: boolean;
169
+ group: string;
170
+ };
171
+ };
172
+ };
173
+ //# sourceMappingURL=Shadow.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Shadow.d.ts","sourceRoot":"","sources":["../../../../src/mappings/Shadow.ts"],"names":[],"mappings":"AAUA,eAAO,MAAM,SAAS;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA6FrB,CAAC"}