@draftbit/core 46.8.1-fe4ccb.2 → 46.8.2-088bf8.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/DeckSwiper/DeckSwiper.js +38 -4
- package/lib/commonjs/components/Picker/Picker.js +8 -9
- package/lib/commonjs/components/RadioButton/context.js +1 -1
- package/lib/commonjs/components/ScreenContainer.js +2 -1
- package/lib/commonjs/components/ToggleButton.js +15 -2
- package/lib/commonjs/hooks.js +1 -2
- package/lib/commonjs/index.js +0 -7
- package/lib/commonjs/mappings/Accordion.js +1 -0
- package/lib/commonjs/mappings/AccordionItem.js +1 -0
- package/lib/commonjs/mappings/ActionSheet.js +1 -0
- package/lib/commonjs/mappings/ActionSheetCancel.js +1 -0
- package/lib/commonjs/mappings/ActionSheetItem.js +1 -0
- package/lib/commonjs/mappings/HtmlElements.js +177 -0
- package/lib/commonjs/mappings/LinearGradient.js +1 -0
- package/lib/commonjs/mappings/MapCallout.js +1 -0
- package/lib/commonjs/mappings/MapMarker.js +1 -0
- package/lib/commonjs/mappings/MapView.js +1 -0
- package/lib/commonjs/mappings/Swiper.js +1 -0
- package/lib/commonjs/mappings/SwiperItem.js +2 -1
- package/lib/commonjs/mappings/TextArea.js +1 -0
- package/lib/commonjs/mappings/TextField.js +1 -0
- package/lib/module/components/DeckSwiper/DeckSwiper.js +38 -4
- package/lib/module/components/Picker/Picker.js +8 -9
- package/lib/module/components/Picker/PickerComponent.android.js +8 -11
- package/lib/module/components/ScreenContainer.js +2 -1
- package/lib/module/index.js +0 -1
- package/lib/module/mappings/Accordion.js +2 -1
- package/lib/module/mappings/AccordionItem.js +2 -1
- package/lib/module/mappings/ActionSheet.js +2 -1
- package/lib/module/mappings/ActionSheetCancel.js +2 -1
- package/lib/module/mappings/ActionSheetItem.js +2 -1
- package/lib/module/mappings/HtmlElements.js +170 -0
- package/lib/module/mappings/LinearGradient.js +2 -1
- package/lib/module/mappings/MapCallout.js +2 -1
- package/lib/module/mappings/MapMarker.js +2 -1
- package/lib/module/mappings/MapView.js +2 -1
- package/lib/module/mappings/Swiper.js +2 -1
- package/lib/module/mappings/SwiperItem.js +3 -2
- package/lib/module/mappings/TextArea.js +2 -1
- package/lib/module/mappings/TextField.js +1 -0
- package/lib/typescript/src/components/DeckSwiper/DeckSwiper.d.ts +8 -2
- package/lib/typescript/src/components/DeckSwiper/DeckSwiper.d.ts.map +1 -1
- package/lib/typescript/src/components/DeckSwiper/DeckSwiperCard.d.ts +2 -3
- package/lib/typescript/src/components/DeckSwiper/DeckSwiperCard.d.ts.map +1 -1
- package/lib/typescript/src/components/Picker/Picker.d.ts.map +1 -1
- package/lib/typescript/src/components/ScreenContainer.d.ts.map +1 -1
- package/lib/typescript/src/index.d.ts +0 -1
- package/lib/typescript/src/index.d.ts.map +1 -1
- package/lib/typescript/src/mappings/Accordion.d.ts +1 -0
- package/lib/typescript/src/mappings/Accordion.d.ts.map +1 -1
- package/lib/typescript/src/mappings/AccordionItem.d.ts +1 -0
- package/lib/typescript/src/mappings/AccordionItem.d.ts.map +1 -1
- package/lib/typescript/src/mappings/ActionSheet.d.ts +1 -0
- package/lib/typescript/src/mappings/ActionSheet.d.ts.map +1 -1
- package/lib/typescript/src/mappings/ActionSheetCancel.d.ts +1 -0
- package/lib/typescript/src/mappings/ActionSheetCancel.d.ts.map +1 -1
- package/lib/typescript/src/mappings/ActionSheetItem.d.ts +1 -0
- package/lib/typescript/src/mappings/ActionSheetItem.d.ts.map +1 -1
- package/lib/typescript/src/mappings/HtmlElements.d.ts +77 -0
- package/lib/typescript/src/mappings/HtmlElements.d.ts.map +1 -0
- package/lib/typescript/src/mappings/LinearGradient.d.ts +1 -0
- package/lib/typescript/src/mappings/LinearGradient.d.ts.map +1 -1
- package/lib/typescript/src/mappings/MapCallout.d.ts +1 -0
- package/lib/typescript/src/mappings/MapCallout.d.ts.map +1 -1
- package/lib/typescript/src/mappings/MapMarker.d.ts +1 -0
- package/lib/typescript/src/mappings/MapMarker.d.ts.map +1 -1
- package/lib/typescript/src/mappings/MapView.d.ts +1 -0
- package/lib/typescript/src/mappings/MapView.d.ts.map +1 -1
- package/lib/typescript/src/mappings/Swiper.d.ts +1 -0
- package/lib/typescript/src/mappings/Swiper.d.ts.map +1 -1
- package/lib/typescript/src/mappings/SwiperItem.d.ts +1 -0
- package/lib/typescript/src/mappings/SwiperItem.d.ts.map +1 -1
- package/lib/typescript/src/mappings/TextArea.d.ts +1 -0
- package/lib/typescript/src/mappings/TextArea.d.ts.map +1 -1
- package/lib/typescript/src/mappings/TextField.d.ts +1 -1
- package/lib/typescript/src/mappings/TextField.d.ts.map +1 -1
- package/package.json +4 -4
- package/src/components/DeckSwiper/DeckSwiper.js +33 -3
- package/src/components/DeckSwiper/DeckSwiper.tsx +51 -9
- package/src/components/DeckSwiper/DeckSwiperCard.js +1 -1
- package/src/components/DeckSwiper/DeckSwiperCard.tsx +3 -6
- package/src/components/Picker/Picker.js +7 -8
- package/src/components/Picker/Picker.tsx +7 -9
- package/src/components/ScreenContainer.js +2 -1
- package/src/components/ScreenContainer.tsx +2 -1
- package/src/index.js +0 -1
- package/src/index.tsx +0 -2
- package/src/mappings/Accordion.js +10 -1
- package/src/mappings/Accordion.ts +10 -0
- package/src/mappings/AccordionItem.js +2 -1
- package/src/mappings/AccordionItem.ts +2 -0
- package/src/mappings/ActionSheet.js +2 -1
- package/src/mappings/ActionSheet.ts +7 -1
- package/src/mappings/ActionSheetCancel.js +2 -1
- package/src/mappings/ActionSheetCancel.ts +2 -0
- package/src/mappings/ActionSheetItem.js +2 -1
- package/src/mappings/ActionSheetItem.ts +2 -0
- package/src/mappings/HtmlElements.js +193 -0
- package/src/mappings/HtmlElements.ts +207 -0
- package/src/mappings/LinearGradient.js +6 -1
- package/src/mappings/LinearGradient.ts +6 -0
- package/src/mappings/MapCallout.js +2 -1
- package/src/mappings/MapCallout.ts +2 -0
- package/src/mappings/MapMarker.js +2 -1
- package/src/mappings/MapMarker.ts +2 -0
- package/src/mappings/MapView.js +2 -1
- package/src/mappings/MapView.ts +2 -0
- package/src/mappings/Swiper.js +10 -1
- package/src/mappings/Swiper.ts +10 -0
- package/src/mappings/SwiperItem.js +2 -1
- package/src/mappings/SwiperItem.ts +5 -1
- package/src/mappings/TextArea.js +10 -1
- package/src/mappings/TextArea.ts +10 -0
- package/src/mappings/TextField.js +9 -0
- package/src/mappings/TextField.ts +9 -0
- package/lib/commonjs/components/Shadow.js +0 -42
- package/lib/commonjs/mappings/Shadow.js +0 -94
- package/lib/module/components/Shadow.js +0 -34
- package/lib/module/mappings/Shadow.js +0 -87
- package/lib/typescript/src/components/Shadow.d.ts +0 -24
- package/lib/typescript/src/components/Shadow.d.ts.map +0 -1
- package/lib/typescript/src/mappings/Shadow.d.ts +0 -173
- package/lib/typescript/src/mappings/Shadow.d.ts.map +0 -1
- package/src/components/Shadow.js +0 -16
- package/src/components/Shadow.tsx +0 -58
- package/src/mappings/Shadow.js +0 -87
- package/src/mappings/Shadow.ts +0 -95
|
@@ -1,4 +1,3 @@
|
|
|
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
1
|
import * as React from "react";
|
|
3
2
|
import { View, StyleSheet } from "react-native";
|
|
4
3
|
import omit from "lodash.omit";
|
|
@@ -8,7 +7,6 @@ import { extractStyles } from "../../utilities";
|
|
|
8
7
|
import TextField from "../TextField";
|
|
9
8
|
import Touchable from "../Touchable";
|
|
10
9
|
const Picker = _ref => {
|
|
11
|
-
var _options$find$label, _options$find;
|
|
12
10
|
let {
|
|
13
11
|
style,
|
|
14
12
|
options,
|
|
@@ -18,6 +16,7 @@ const Picker = _ref => {
|
|
|
18
16
|
onValueChange: onValueChangeOverride = () => {},
|
|
19
17
|
...props
|
|
20
18
|
} = _ref;
|
|
19
|
+
var _a, _b;
|
|
21
20
|
const {
|
|
22
21
|
viewStyles: {
|
|
23
22
|
borderRadius,
|
|
@@ -62,7 +61,7 @@ const Picker = _ref => {
|
|
|
62
61
|
};
|
|
63
62
|
|
|
64
63
|
const stylesWithoutMargin = style && omit(StyleSheet.flatten(style), ["margin", "marginTop", "marginRight", "marginBottom", "marginLeft"]);
|
|
65
|
-
const selectedLabel = selectedValue && ((
|
|
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);
|
|
66
65
|
return /*#__PURE__*/React.createElement(Touchable, {
|
|
67
66
|
disabled: disabled,
|
|
68
67
|
onPress: toggleFocus,
|
|
@@ -86,18 +85,16 @@ const Picker = _ref => {
|
|
|
86
85
|
key: o.value
|
|
87
86
|
}))), /*#__PURE__*/React.createElement(View, {
|
|
88
87
|
pointerEvents: "none"
|
|
89
|
-
}, /*#__PURE__*/React.createElement(TextField,
|
|
88
|
+
}, /*#__PURE__*/React.createElement(TextField, {
|
|
89
|
+
...props,
|
|
90
90
|
value: selectedLabel,
|
|
91
|
-
placeholder: placeholder
|
|
91
|
+
placeholder: placeholder,
|
|
92
92
|
// @ts-ignore
|
|
93
|
-
,
|
|
94
|
-
|
|
95
|
-
,
|
|
96
|
-
disabled: disabled
|
|
93
|
+
ref: textField,
|
|
94
|
+
disabled: disabled,
|
|
97
95
|
// @ts-expect-error
|
|
98
|
-
,
|
|
99
96
|
style: stylesWithoutMargin
|
|
100
|
-
}))))
|
|
97
|
+
}))));
|
|
101
98
|
};
|
|
102
99
|
const styles = StyleSheet.create({
|
|
103
100
|
container: {
|
|
@@ -4,6 +4,7 @@ import { StyleSheet, ScrollView, View } from "react-native";
|
|
|
4
4
|
import { SafeAreaView } from "react-native-safe-area-context";
|
|
5
5
|
import { withTheme } from "../theming";
|
|
6
6
|
function ScreenContainer(_ref) {
|
|
7
|
+
var _StyleSheet$flatten;
|
|
7
8
|
let {
|
|
8
9
|
scrollable = false,
|
|
9
10
|
hasSafeArea = false,
|
|
@@ -14,7 +15,7 @@ function ScreenContainer(_ref) {
|
|
|
14
15
|
children,
|
|
15
16
|
...rest
|
|
16
17
|
} = _ref;
|
|
17
|
-
const backgroundColor = theme.colors.background;
|
|
18
|
+
const backgroundColor = ((_StyleSheet$flatten = StyleSheet.flatten(style)) === null || _StyleSheet$flatten === void 0 ? void 0 : _StyleSheet$flatten.backgroundColor) || theme.colors.background;
|
|
18
19
|
const edges = ["left", "right"];
|
|
19
20
|
if (hasSafeArea || hasTopSafeArea) {
|
|
20
21
|
edges.push("top");
|
package/lib/module/index.js
CHANGED
|
@@ -31,7 +31,6 @@ 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";
|
|
35
34
|
export { DeckSwiper, DeckSwiperCard } from "./components/DeckSwiper";
|
|
36
35
|
|
|
37
36
|
/* Deprecated: Fix or Delete! */
|
|
@@ -1,9 +1,10 @@
|
|
|
1
|
-
import { COMPONENT_TYPES, createNumberProp, createIconProp, createTextProp, createStaticBoolProp, createColorProp } from "@draftbit/types";
|
|
1
|
+
import { COMPONENT_TYPES, createNumberProp, createIconProp, createTextProp, createStaticBoolProp, createColorProp, StylesPanelSections } from "@draftbit/types";
|
|
2
2
|
export const SEED_DATA = {
|
|
3
3
|
name: "Accordion",
|
|
4
4
|
tag: "AccordionGroup",
|
|
5
5
|
description: "An expandable container containing components",
|
|
6
6
|
category: COMPONENT_TYPES.container,
|
|
7
|
+
stylesPanelSections: [StylesPanelSections.LayoutSelectedItem, StylesPanelSections.Background, StylesPanelSections.Size, StylesPanelSections.MarginsAndPaddings, StylesPanelSections.Position, StylesPanelSections.Borders, StylesPanelSections.Effects],
|
|
7
8
|
layout: {
|
|
8
9
|
paddingTop: 8,
|
|
9
10
|
paddingRight: 8,
|
|
@@ -1,9 +1,10 @@
|
|
|
1
|
-
import { COMPONENT_TYPES, createIconProp, createTextProp, createColorProp } from "@draftbit/types";
|
|
1
|
+
import { COMPONENT_TYPES, createIconProp, createTextProp, createColorProp, CONTAINER_COMPONENT_STYLES_SECTIONS } from "@draftbit/types";
|
|
2
2
|
export const SEED_DATA = {
|
|
3
3
|
name: "Accordion Item",
|
|
4
4
|
tag: "AccordionItem",
|
|
5
5
|
description: "Item to be used in Accordion",
|
|
6
6
|
category: COMPONENT_TYPES.deprecated,
|
|
7
|
+
stylesPanelSections: CONTAINER_COMPONENT_STYLES_SECTIONS,
|
|
7
8
|
props: {
|
|
8
9
|
icon: createIconProp(),
|
|
9
10
|
label: createTextProp({
|
|
@@ -1,9 +1,10 @@
|
|
|
1
|
-
import { COMPONENT_TYPES, createStaticBoolProp, GROUPS } from "@draftbit/types";
|
|
1
|
+
import { COMPONENT_TYPES, createStaticBoolProp, GROUPS, StylesPanelSections } from "@draftbit/types";
|
|
2
2
|
export const SEED_DATA = {
|
|
3
3
|
name: "Action Sheet",
|
|
4
4
|
tag: "ActionSheet",
|
|
5
5
|
description: "Action Sheet container",
|
|
6
6
|
category: COMPONENT_TYPES.actionsheet,
|
|
7
|
+
stylesPanelSections: [StylesPanelSections.Size, StylesPanelSections.Margins],
|
|
7
8
|
props: {
|
|
8
9
|
visible: createStaticBoolProp({
|
|
9
10
|
group: GROUPS.data,
|
|
@@ -1,8 +1,9 @@
|
|
|
1
|
-
import { COMPONENT_TYPES, createActionProp, createColorProp, createTextProp, GROUPS, Triggers } from "@draftbit/types";
|
|
1
|
+
import { COMPONENT_TYPES, createActionProp, createColorProp, createTextProp, GROUPS, Triggers, StylesPanelSections } from "@draftbit/types";
|
|
2
2
|
export const SEED_DATA = {
|
|
3
3
|
name: "Action Sheet Cancel",
|
|
4
4
|
tag: "ActionSheetCancel",
|
|
5
5
|
description: "Action Sheet cancel",
|
|
6
|
+
stylesPanelSections: [StylesPanelSections.Size, StylesPanelSections.Margins],
|
|
6
7
|
category: COMPONENT_TYPES.actionsheet,
|
|
7
8
|
triggers: [Triggers.OnPress],
|
|
8
9
|
props: {
|
|
@@ -1,9 +1,10 @@
|
|
|
1
|
-
import { COMPONENT_TYPES, createActionProp, createColorProp, createTextProp, GROUPS, Triggers } from "@draftbit/types";
|
|
1
|
+
import { COMPONENT_TYPES, createActionProp, createColorProp, createTextProp, GROUPS, Triggers, StylesPanelSections } from "@draftbit/types";
|
|
2
2
|
export const SEED_DATA = {
|
|
3
3
|
name: "Action Sheet Item",
|
|
4
4
|
tag: "ActionSheetItem",
|
|
5
5
|
description: "Action Sheet item",
|
|
6
6
|
category: COMPONENT_TYPES.actionsheet,
|
|
7
|
+
stylesPanelSections: [StylesPanelSections.Size, StylesPanelSections.Margins],
|
|
7
8
|
triggers: [Triggers.OnPress],
|
|
8
9
|
layout: {
|
|
9
10
|
textAlign: "center"
|
|
@@ -0,0 +1,170 @@
|
|
|
1
|
+
import { COMPONENT_TYPES, createTextProp, FORM_TYPES, PROP_TYPES, GROUPS, StylesPanelSections, Triggers } from "@draftbit/types";
|
|
2
|
+
const SEED_DATA_TRIGGERS = [Triggers.OnValueChange];
|
|
3
|
+
const ELEMENT_SEED_DATA = {
|
|
4
|
+
doc_link: "https://www.npmjs.com/package/@expo/html-elements",
|
|
5
|
+
code_link: "https://github.com/expo/expo/tree/master/packages/html-elements",
|
|
6
|
+
packageName: "@expo/html-elements",
|
|
7
|
+
stylesPanelSections: [StylesPanelSections.Typography, StylesPanelSections.LayoutSelectedItem, StylesPanelSections.MarginsAndPaddings, StylesPanelSections.Effects],
|
|
8
|
+
layout: {
|
|
9
|
+
margin: 0
|
|
10
|
+
},
|
|
11
|
+
triggers: SEED_DATA_TRIGGERS,
|
|
12
|
+
category: COMPONENT_TYPES.webelement
|
|
13
|
+
};
|
|
14
|
+
const HEADING_SEED_DATA = {
|
|
15
|
+
...ELEMENT_SEED_DATA,
|
|
16
|
+
category: COMPONENT_TYPES.text,
|
|
17
|
+
props: {
|
|
18
|
+
accessibilityLabel: {
|
|
19
|
+
group: GROUPS.accessibility,
|
|
20
|
+
name: "accessibilityLabel",
|
|
21
|
+
label: "accessibilityLabel",
|
|
22
|
+
description: "Overrides the text that's read by the screen reader when the user interacts with the element. By default, the label is constructed by traversing all the children and accumulating all the Text nodes separated by space.",
|
|
23
|
+
editable: true,
|
|
24
|
+
required: false,
|
|
25
|
+
formType: FORM_TYPES.string,
|
|
26
|
+
propType: PROP_TYPES.STRING,
|
|
27
|
+
defaultValue: null
|
|
28
|
+
},
|
|
29
|
+
selectable: {
|
|
30
|
+
group: GROUPS.advanced,
|
|
31
|
+
name: "selectable",
|
|
32
|
+
label: "selectable",
|
|
33
|
+
description: "Lets the user select text, to use the native copy and paste functionality.",
|
|
34
|
+
editable: true,
|
|
35
|
+
required: false,
|
|
36
|
+
formType: FORM_TYPES.boolean,
|
|
37
|
+
propType: PROP_TYPES.BOOLEAN,
|
|
38
|
+
defaultValue: null
|
|
39
|
+
},
|
|
40
|
+
children: {
|
|
41
|
+
group: GROUPS.data,
|
|
42
|
+
label: "Text",
|
|
43
|
+
description: "Text",
|
|
44
|
+
editable: true,
|
|
45
|
+
required: true,
|
|
46
|
+
formType: FORM_TYPES.string,
|
|
47
|
+
propType: PROP_TYPES.STRING,
|
|
48
|
+
defaultValue: "Your Headline Here"
|
|
49
|
+
}
|
|
50
|
+
}
|
|
51
|
+
};
|
|
52
|
+
const TEXT_SEED_DATA = {
|
|
53
|
+
...ELEMENT_SEED_DATA,
|
|
54
|
+
category: COMPONENT_TYPES.text,
|
|
55
|
+
props: {
|
|
56
|
+
children: {
|
|
57
|
+
group: GROUPS.data,
|
|
58
|
+
label: "Text",
|
|
59
|
+
description: "Text",
|
|
60
|
+
defaultValue: "Your Text Here",
|
|
61
|
+
editable: true,
|
|
62
|
+
required: true,
|
|
63
|
+
formType: FORM_TYPES.string,
|
|
64
|
+
propType: PROP_TYPES.STRING
|
|
65
|
+
}
|
|
66
|
+
}
|
|
67
|
+
};
|
|
68
|
+
export const SEED_DATA = [{
|
|
69
|
+
name: "H1",
|
|
70
|
+
tag: "H1",
|
|
71
|
+
...HEADING_SEED_DATA
|
|
72
|
+
}, {
|
|
73
|
+
name: "H2",
|
|
74
|
+
tag: "H2",
|
|
75
|
+
...HEADING_SEED_DATA
|
|
76
|
+
}, {
|
|
77
|
+
name: "H3",
|
|
78
|
+
tag: "H3",
|
|
79
|
+
...HEADING_SEED_DATA
|
|
80
|
+
}, {
|
|
81
|
+
name: "H4",
|
|
82
|
+
tag: "H4",
|
|
83
|
+
...HEADING_SEED_DATA
|
|
84
|
+
}, {
|
|
85
|
+
name: "H5",
|
|
86
|
+
tag: "H5",
|
|
87
|
+
...HEADING_SEED_DATA
|
|
88
|
+
}, {
|
|
89
|
+
name: "H6",
|
|
90
|
+
tag: "H6",
|
|
91
|
+
...HEADING_SEED_DATA
|
|
92
|
+
}, {
|
|
93
|
+
name: "Anchor",
|
|
94
|
+
tag: "A",
|
|
95
|
+
...TEXT_SEED_DATA,
|
|
96
|
+
props: {
|
|
97
|
+
href: createTextProp({
|
|
98
|
+
label: "href",
|
|
99
|
+
description: "Specify the URL",
|
|
100
|
+
defaultValue: ""
|
|
101
|
+
}),
|
|
102
|
+
target: {
|
|
103
|
+
group: GROUPS.basic,
|
|
104
|
+
label: "target",
|
|
105
|
+
description: "decide where link should open",
|
|
106
|
+
formType: FORM_TYPES.flatArray,
|
|
107
|
+
defaultValue: "_blank",
|
|
108
|
+
options: ["_blank", "_self", "_parent", "_top"]
|
|
109
|
+
}
|
|
110
|
+
}
|
|
111
|
+
}, {
|
|
112
|
+
name: "Paragraph",
|
|
113
|
+
tag: "P",
|
|
114
|
+
...TEXT_SEED_DATA,
|
|
115
|
+
props: {
|
|
116
|
+
// NOTE - Keeping the props commented until we figure out a way to use this props from draftbit side.
|
|
117
|
+
// strong: createBoolProp({
|
|
118
|
+
// label: "Strong",
|
|
119
|
+
// description: "Strong",
|
|
120
|
+
// }),
|
|
121
|
+
// strike: createBoolProp({
|
|
122
|
+
// label: "Strike",
|
|
123
|
+
// description: "Strike through",
|
|
124
|
+
// }),
|
|
125
|
+
// italic: createBoolProp({
|
|
126
|
+
// label: "Italic",
|
|
127
|
+
// description: "Italic Fonts",
|
|
128
|
+
// }),
|
|
129
|
+
// bold: createBoolProp({
|
|
130
|
+
// label: "Bold",
|
|
131
|
+
// description: "Bold",
|
|
132
|
+
// }),
|
|
133
|
+
}
|
|
134
|
+
}, {
|
|
135
|
+
name: "Code",
|
|
136
|
+
tag: "Code",
|
|
137
|
+
...TEXT_SEED_DATA
|
|
138
|
+
}, {
|
|
139
|
+
name: "Pre",
|
|
140
|
+
tag: "Pre",
|
|
141
|
+
...TEXT_SEED_DATA
|
|
142
|
+
}, {
|
|
143
|
+
name: "Mark",
|
|
144
|
+
tag: "Mark",
|
|
145
|
+
...TEXT_SEED_DATA
|
|
146
|
+
}, {
|
|
147
|
+
name: "BR",
|
|
148
|
+
tag: "BR",
|
|
149
|
+
...TEXT_SEED_DATA
|
|
150
|
+
}, {
|
|
151
|
+
name: "BlockQuote",
|
|
152
|
+
tag: "BlockQuote",
|
|
153
|
+
...TEXT_SEED_DATA
|
|
154
|
+
}, {
|
|
155
|
+
name: "HR",
|
|
156
|
+
tag: "HR",
|
|
157
|
+
...TEXT_SEED_DATA
|
|
158
|
+
}, {
|
|
159
|
+
name: "Time",
|
|
160
|
+
tag: "Time",
|
|
161
|
+
...ELEMENT_SEED_DATA
|
|
162
|
+
}, {
|
|
163
|
+
name: "UL",
|
|
164
|
+
tag: "UL",
|
|
165
|
+
...ELEMENT_SEED_DATA
|
|
166
|
+
}, {
|
|
167
|
+
name: "LI",
|
|
168
|
+
tag: "LI",
|
|
169
|
+
...ELEMENT_SEED_DATA
|
|
170
|
+
}];
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { createColorProp, FORM_TYPES, GROUPS, PROP_TYPES } from "@draftbit/types";
|
|
1
|
+
import { createColorProp, FORM_TYPES, GROUPS, PROP_TYPES, StylesPanelSections } from "@draftbit/types";
|
|
2
2
|
export const SEED_DATA = {
|
|
3
3
|
name: "Linear Gradient",
|
|
4
4
|
tag: "LinearGradient",
|
|
@@ -7,6 +7,7 @@ export const SEED_DATA = {
|
|
|
7
7
|
width: "100%",
|
|
8
8
|
height: "100%"
|
|
9
9
|
},
|
|
10
|
+
stylesPanelSections: [StylesPanelSections.MarginsAndPaddings, StylesPanelSections.Borders, StylesPanelSections.Effects],
|
|
10
11
|
props: {
|
|
11
12
|
endY: {
|
|
12
13
|
group: GROUPS.basic,
|
|
@@ -1,8 +1,9 @@
|
|
|
1
|
-
import { COMPONENT_TYPES, createActionProp, createBoolProp, GROUPS, Triggers } from "@draftbit/types";
|
|
1
|
+
import { COMPONENT_TYPES, createActionProp, createBoolProp, GROUPS, Triggers, CONTAINER_COMPONENT_STYLES_SECTIONS } from "@draftbit/types";
|
|
2
2
|
export const SEED_DATA = {
|
|
3
3
|
name: "Map Callout",
|
|
4
4
|
tag: "MapCallout",
|
|
5
5
|
packageName: "@draftbit/maps",
|
|
6
|
+
stylesPanelSections: CONTAINER_COMPONENT_STYLES_SECTIONS,
|
|
6
7
|
description: "An info window to display on top of a marker when it is clicked",
|
|
7
8
|
category: COMPONENT_TYPES.map,
|
|
8
9
|
triggers: [Triggers.OnPress],
|
|
@@ -1,10 +1,11 @@
|
|
|
1
|
-
import { COMPONENT_TYPES, createBoolProp, createColorProp, createNumberProp, createTextProp, GROUPS } from "@draftbit/types";
|
|
1
|
+
import { COMPONENT_TYPES, createBoolProp, createColorProp, createNumberProp, createTextProp, GROUPS, CONTAINER_COMPONENT_STYLES_SECTIONS } from "@draftbit/types";
|
|
2
2
|
export const SEED_DATA = {
|
|
3
3
|
name: "Map Marker",
|
|
4
4
|
tag: "MapMarker",
|
|
5
5
|
packageName: "@draftbit/maps",
|
|
6
6
|
description: "A marker to show inside map view",
|
|
7
7
|
category: COMPONENT_TYPES.map,
|
|
8
|
+
stylesPanelSections: CONTAINER_COMPONENT_STYLES_SECTIONS,
|
|
8
9
|
layout: {},
|
|
9
10
|
props: {
|
|
10
11
|
latitude: createNumberProp({
|
|
@@ -1,10 +1,11 @@
|
|
|
1
|
-
import { COMPONENT_TYPES, createBoolProp, createColorProp, createNumberProp, createTextProp, GROUPS, FORM_TYPES, PROP_TYPES } from "@draftbit/types";
|
|
1
|
+
import { COMPONENT_TYPES, createBoolProp, createColorProp, createNumberProp, createTextProp, GROUPS, FORM_TYPES, PROP_TYPES, StylesPanelSections } from "@draftbit/types";
|
|
2
2
|
export const SEED_DATA = {
|
|
3
3
|
name: "Map View",
|
|
4
4
|
tag: "MapView",
|
|
5
5
|
packageName: "@draftbit/maps",
|
|
6
6
|
description: "A map view",
|
|
7
7
|
category: COMPONENT_TYPES.map,
|
|
8
|
+
stylesPanelSections: [StylesPanelSections.Size, StylesPanelSections.Margins],
|
|
8
9
|
layout: {
|
|
9
10
|
flex: 1,
|
|
10
11
|
width: "100%",
|
|
@@ -1,9 +1,10 @@
|
|
|
1
|
-
import { COMPONENT_TYPES, createBoolProp, createNumberProp, createTextProp, createColorProp, GROUPS, Triggers, createActionProp } from "@draftbit/types";
|
|
1
|
+
import { COMPONENT_TYPES, createBoolProp, createNumberProp, createTextProp, createColorProp, GROUPS, Triggers, createActionProp, StylesPanelSections } from "@draftbit/types";
|
|
2
2
|
export const SEED_DATA = {
|
|
3
3
|
name: "Swiper",
|
|
4
4
|
tag: "Swiper",
|
|
5
5
|
description: "Swiper container",
|
|
6
6
|
category: COMPONENT_TYPES.swiper,
|
|
7
|
+
stylesPanelSections: [StylesPanelSections.LayoutSelectedItem, StylesPanelSections.Background, StylesPanelSections.Size, StylesPanelSections.MarginsAndPaddings, StylesPanelSections.Position, StylesPanelSections.Borders, StylesPanelSections.Effects],
|
|
7
8
|
layout: {
|
|
8
9
|
height: 300,
|
|
9
10
|
width: "100%"
|
|
@@ -1,8 +1,9 @@
|
|
|
1
|
-
import { COMPONENT_TYPES } from "@draftbit/types";
|
|
1
|
+
import { COMPONENT_TYPES, CONTAINER_COMPONENT_STYLES_SECTIONS } from "@draftbit/types";
|
|
2
2
|
export const SEED_DATA = {
|
|
3
3
|
name: "Swiper Item",
|
|
4
4
|
tag: "SwiperItem",
|
|
5
5
|
description: "Swiper item",
|
|
6
6
|
category: COMPONENT_TYPES.swiper,
|
|
7
|
-
props: {}
|
|
7
|
+
props: {},
|
|
8
|
+
stylesPanelSections: CONTAINER_COMPONENT_STYLES_SECTIONS
|
|
8
9
|
};
|
|
@@ -1,9 +1,10 @@
|
|
|
1
|
-
import { GROUPS, COMPONENT_TYPES, FORM_TYPES, PROP_TYPES, FIELD_NAME, Triggers, createDisabledProp } from "@draftbit/types";
|
|
1
|
+
import { GROUPS, COMPONENT_TYPES, FORM_TYPES, PROP_TYPES, FIELD_NAME, Triggers, createDisabledProp, StylesPanelSections } from "@draftbit/types";
|
|
2
2
|
export const SEED_DATA = {
|
|
3
3
|
name: "Text Area",
|
|
4
4
|
tag: "TextInput",
|
|
5
5
|
description: "An input field that allows for multiple lines.",
|
|
6
6
|
category: COMPONENT_TYPES.input,
|
|
7
|
+
stylesPanelSections: [StylesPanelSections.Typography, StylesPanelSections.Background, StylesPanelSections.Size, StylesPanelSections.MarginsAndPaddings, StylesPanelSections.Position, StylesPanelSections.Borders, StylesPanelSections.Effects],
|
|
7
8
|
layout: {
|
|
8
9
|
borderLeftWidth: 1,
|
|
9
10
|
borderRightWidth: 1,
|
|
@@ -273,6 +273,7 @@ export const SEED_DATA = [{
|
|
|
273
273
|
preview_image_url: "{CLOUDINARY_URL}/Textfield.png",
|
|
274
274
|
supports_list_render: false,
|
|
275
275
|
triggers: SEED_DATA_TRIGGERS,
|
|
276
|
+
stylesPanelSections: [StylesPanelSections.Typography, StylesPanelSections.Background, StylesPanelSections.Size, StylesPanelSections.MarginsAndPaddings, StylesPanelSections.Position, StylesPanelSections.Borders, StylesPanelSections.Effects],
|
|
276
277
|
props: {
|
|
277
278
|
...SEED_DATA_PROPS,
|
|
278
279
|
type: {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import React from "react";
|
|
2
2
|
import { StyleProp, ViewStyle } from "react-native";
|
|
3
|
-
export interface DeckSwiperProps {
|
|
3
|
+
export interface DeckSwiperProps<T> {
|
|
4
4
|
onIndexChanged?: (index: number) => void;
|
|
5
5
|
onEndReached?: () => void;
|
|
6
6
|
startCardIndex?: number;
|
|
@@ -8,8 +8,14 @@ export interface DeckSwiperProps {
|
|
|
8
8
|
verticalEnabled?: boolean;
|
|
9
9
|
horizontalEnabled?: boolean;
|
|
10
10
|
visibleCardCount?: number;
|
|
11
|
+
data?: Array<T>;
|
|
12
|
+
keyExtractor?: (item: T) => string;
|
|
13
|
+
renderItem?: ({ item, index }: {
|
|
14
|
+
item: T;
|
|
15
|
+
index: number;
|
|
16
|
+
}) => JSX.Element;
|
|
11
17
|
style?: StyleProp<ViewStyle>;
|
|
12
18
|
}
|
|
13
|
-
declare const DeckSwiper:
|
|
19
|
+
declare const DeckSwiper: <T extends object>({ onIndexChanged, onEndReached, startCardIndex, infiniteSwiping, verticalEnabled, horizontalEnabled, visibleCardCount, data, keyExtractor, renderItem, style, children, }: React.PropsWithChildren<DeckSwiperProps<T>>) => JSX.Element;
|
|
14
20
|
export default DeckSwiper;
|
|
15
21
|
//# sourceMappingURL=DeckSwiper.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DeckSwiper.d.ts","sourceRoot":"","sources":["../../../../../src/components/DeckSwiper/DeckSwiper.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAE,SAAS,EAAE,SAAS,EAAoB,MAAM,cAAc,CAAC;AAGtE,MAAM,WAAW,eAAe;
|
|
1
|
+
{"version":3,"file":"DeckSwiper.d.ts","sourceRoot":"","sources":["../../../../../src/components/DeckSwiper/DeckSwiper.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAE,SAAS,EAAE,SAAS,EAAoB,MAAM,cAAc,CAAC;AAGtE,MAAM,WAAW,eAAe,CAAC,CAAC;IAChC,cAAc,CAAC,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;IACzC,YAAY,CAAC,EAAE,MAAM,IAAI,CAAC;IAC1B,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB,eAAe,CAAC,EAAE,OAAO,CAAC;IAC1B,eAAe,CAAC,EAAE,OAAO,CAAC;IAC1B,iBAAiB,CAAC,EAAE,OAAO,CAAC;IAC5B,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAC1B,IAAI,CAAC,EAAE,KAAK,CAAC,CAAC,CAAC,CAAC;IAChB,YAAY,CAAC,EAAE,CAAC,IAAI,EAAE,CAAC,KAAK,MAAM,CAAC;IACnC,UAAU,CAAC,EAAE,CAAC,EAAE,IAAI,EAAE,KAAK,EAAE,EAAE;QAAE,IAAI,EAAE,CAAC,CAAC;QAAC,KAAK,EAAE,MAAM,CAAA;KAAE,KAAK,GAAG,CAAC,OAAO,CAAC;IAC1E,KAAK,CAAC,EAAE,SAAS,CAAC,SAAS,CAAC,CAAC;CAC9B;AAED,QAAA,MAAM,UAAU,2PAoGf,CAAC;AAiBF,eAAe,UAAU,CAAC"}
|
|
@@ -3,11 +3,10 @@ import { StyleProp, ViewStyle } from "react-native";
|
|
|
3
3
|
import type { Theme } from "../../styles/DefaultTheme";
|
|
4
4
|
export interface DeckSwiperCardProps {
|
|
5
5
|
style?: StyleProp<ViewStyle>;
|
|
6
|
-
children: React.ReactNode;
|
|
7
6
|
theme: Theme;
|
|
8
7
|
}
|
|
9
|
-
declare const _default: React.ComponentType<import("@draftbit/react-theme-provider").$Without<DeckSwiperCardProps
|
|
8
|
+
declare const _default: React.ComponentType<import("@draftbit/react-theme-provider").$Without<React.PropsWithChildren<DeckSwiperCardProps>, "theme"> & {
|
|
10
9
|
theme?: import("@draftbit/react-theme-provider").$DeepPartial<any> | undefined;
|
|
11
|
-
}> & import("@draftbit/react-theme-provider/typings/hoist-non-react-statics").NonReactStatics<React.ComponentType<DeckSwiperCardProps
|
|
10
|
+
}> & import("@draftbit/react-theme-provider/typings/hoist-non-react-statics").NonReactStatics<React.ComponentType<React.PropsWithChildren<DeckSwiperCardProps>> & React.FC<React.PropsWithChildren<DeckSwiperCardProps>>, {}>;
|
|
12
11
|
export default _default;
|
|
13
12
|
//# sourceMappingURL=DeckSwiperCard.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DeckSwiperCard.d.ts","sourceRoot":"","sources":["../../../../../src/components/DeckSwiper/DeckSwiperCard.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAoB,SAAS,EAAE,SAAS,EAAE,MAAM,cAAc,CAAC;AACtE,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,2BAA2B,CAAC;AAGvD,MAAM,WAAW,mBAAmB;IAClC,KAAK,CAAC,EAAE,SAAS,CAAC,SAAS,CAAC,CAAC;IAC7B,
|
|
1
|
+
{"version":3,"file":"DeckSwiperCard.d.ts","sourceRoot":"","sources":["../../../../../src/components/DeckSwiper/DeckSwiperCard.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAoB,SAAS,EAAE,SAAS,EAAE,MAAM,cAAc,CAAC;AACtE,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,2BAA2B,CAAC;AAGvD,MAAM,WAAW,mBAAmB;IAClC,KAAK,CAAC,EAAE,SAAS,CAAC,SAAS,CAAC,CAAC;IAC7B,KAAK,EAAE,KAAK,CAAC;CACd;;;;AA6BD,wBAAyC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AC;IAC9B,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,IAAI,CAAC,EAAE,OAAO,GAAG,WAAW,CAAC;IAC7B,mBAAmB,CAAC,EAAE,OAAO,CAAC;IAC9B,KAAK,EAAE,KAAK,CAAC;IACb,IAAI,EAAE,QAAQ,CAAC,MAAM,CAAC,CAAC;CACxB,CAAC;;;;AAyaF,wBAAiC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ScreenContainer.d.ts","sourceRoot":"","sources":["../../../../src/components/ScreenContainer.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,EAGL,SAAS,EACT,SAAS,EAEV,MAAM,cAAc,CAAC;AAItB,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,wBAAwB,CAAC;AAEpD,aAAK,oBAAoB,GAAG;IAC1B,UAAU,EAAE,OAAO,CAAC;IACpB,WAAW,EAAE,OAAO,CAAC;IACrB,cAAc,EAAE,OAAO,CAAC;IACxB,iBAAiB,EAAE,OAAO,CAAC;IAC3B,KAAK,EAAE,KAAK,CAAC;IACb,KAAK,CAAC,EAAE,SAAS,CAAC,SAAS,CAAC,CAAC;IAC7B,QAAQ,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;CAC5B,CAAC;AAEF,iBAAS,eAAe,CAAC,EACvB,UAAkB,EAClB,WAAmB,EACnB,iBAAyB,EACzB,cAAsB,EACtB,KAAK,EACL,KAAK,EACL,QAAQ,EACR,GAAG,IAAI,EACR,EAAE,oBAAoB,
|
|
1
|
+
{"version":3,"file":"ScreenContainer.d.ts","sourceRoot":"","sources":["../../../../src/components/ScreenContainer.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,EAGL,SAAS,EACT,SAAS,EAEV,MAAM,cAAc,CAAC;AAItB,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,wBAAwB,CAAC;AAEpD,aAAK,oBAAoB,GAAG;IAC1B,UAAU,EAAE,OAAO,CAAC;IACpB,WAAW,EAAE,OAAO,CAAC;IACrB,cAAc,EAAE,OAAO,CAAC;IACxB,iBAAiB,EAAE,OAAO,CAAC;IAC3B,KAAK,EAAE,KAAK,CAAC;IACb,KAAK,CAAC,EAAE,SAAS,CAAC,SAAS,CAAC,CAAC;IAC7B,QAAQ,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;CAC5B,CAAC;AAEF,iBAAS,eAAe,CAAC,EACvB,UAAkB,EAClB,WAAmB,EACnB,iBAAyB,EACzB,cAAsB,EACtB,KAAK,EACL,KAAK,EACL,QAAQ,EACR,GAAG,IAAI,EACR,EAAE,oBAAoB,eAyCtB;;;;AAYD,wBAA0C"}
|
|
@@ -31,7 +31,6 @@ 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";
|
|
35
34
|
export { DeckSwiper, DeckSwiperCard } from "./components/DeckSwiper";
|
|
36
35
|
export { default as DatePicker } from "./components/DatePicker/DatePicker";
|
|
37
36
|
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,E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sourceRoot":"","sources":["../../../../src/mappings/Accordion.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"Accordion.d.ts","sourceRoot":"","sources":["../../../../src/mappings/Accordion.ts"],"names":[],"mappings":"AAUA,eAAO,MAAM,SAAS;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAiDrB,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"AccordionItem.d.ts","sourceRoot":"","sources":["../../../../src/mappings/AccordionItem.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"AccordionItem.d.ts","sourceRoot":"","sources":["../../../../src/mappings/AccordionItem.ts"],"names":[],"mappings":"AAQA,eAAO,MAAM,SAAS;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAerB,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ActionSheet.d.ts","sourceRoot":"","sources":["../../../../src/mappings/ActionSheet.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"ActionSheet.d.ts","sourceRoot":"","sources":["../../../../src/mappings/ActionSheet.ts"],"names":[],"mappings":"AAOA,eAAO,MAAM,SAAS;;;;;;;;;;;;;;;;;;CAYrB,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ActionSheetCancel.d.ts","sourceRoot":"","sources":["../../../../src/mappings/ActionSheetCancel.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"ActionSheetCancel.d.ts","sourceRoot":"","sources":["../../../../src/mappings/ActionSheetCancel.ts"],"names":[],"mappings":"AAUA,eAAO,MAAM,SAAS;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAkBrB,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ActionSheetItem.d.ts","sourceRoot":"","sources":["../../../../src/mappings/ActionSheetItem.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"ActionSheetItem.d.ts","sourceRoot":"","sources":["../../../../src/mappings/ActionSheetItem.ts"],"names":[],"mappings":"AAUA,eAAO,MAAM,SAAS;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAsBrB,CAAC"}
|