@draftbit/core 47.2.12 → 47.2.13-f38301.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/ActionSheet/ActionSheetCancel.js.map +1 -1
- package/lib/commonjs/components/Button.js +32 -10
- package/lib/commonjs/components/Button.js.map +1 -1
- package/lib/module/components/ActionSheet/ActionSheetCancel.js.map +1 -1
- package/lib/module/components/ActionSheet/ActionSheetItem.js.map +1 -1
- package/lib/module/components/Checkbox/context.js +1 -1
- package/lib/module/components/Checkbox/context.js.map +1 -1
- package/lib/module/components/Checkbox/index.js.map +1 -1
- package/lib/module/components/DeckSwiper/DeckSwiperCard.js.map +1 -1
- package/lib/module/components/Divider.js +1 -17
- package/lib/module/components/Divider.js.map +1 -1
- package/lib/module/components/FormRow.js +2 -17
- package/lib/module/components/FormRow.js.map +1 -1
- package/lib/module/components/IconButton.js +4 -21
- package/lib/module/components/IconButton.js.map +1 -1
- package/lib/module/components/Image.js +2 -18
- package/lib/module/components/Image.js.map +1 -1
- package/lib/module/components/Picker/PickerComponent.ios.js +11 -36
- package/lib/module/components/Picker/PickerComponent.ios.js.map +1 -1
- package/lib/module/components/ProgressIndicator.js.map +1 -1
- package/lib/module/constants.js +1 -1
- package/package.json +3 -3
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["ActionSheetCancel","label","color","style","onPress"],"sourceRoot":"../../../../src","sources":["components/ActionSheet/ActionSheetCancel.
|
|
1
|
+
{"version":3,"names":["ActionSheetCancel","label","color","style","onPress","React","createElement","ActionSheetItem"],"sourceRoot":"../../../../src","sources":["components/ActionSheet/ActionSheetCancel.js"],"mappings":";;;;;;AAAA;AACA;AAAgD;AAChD,MAAMA,iBAAiB,GAAG,QAAkD;EAAA,IAAjD;IAAEC,KAAK,GAAG,QAAQ;IAAEC,KAAK;IAAEC,KAAK;IAAEC;EAAS,CAAC;EACnE,oBAAQC,cAAK,CAACC,aAAa,CAACC,wBAAe,EAAE;IAAEN,KAAK,EAAEA,KAAK;IAAEC,KAAK,EAAEA,KAAK,IAAI,SAAS;IAAEC,KAAK,EAAE,CAACA,KAAK,CAAC;IAAEC,OAAO,EAAEA;EAAQ,CAAC,CAAC;AAC/H,CAAC;AAAC,eACaJ,iBAAiB;AAAA"}
|
|
@@ -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 CONSTANTS = {
|
|
14
13
|
baseHeight: 42,
|
|
15
14
|
borderRadius: 4,
|
|
@@ -61,7 +60,7 @@ function Base(_ref) {
|
|
|
61
60
|
if (textAlign === "right") {
|
|
62
61
|
buttonStyles.justifyContent = "flex-end";
|
|
63
62
|
}
|
|
64
|
-
return /*#__PURE__*/React.createElement(_reactNative.Pressable,
|
|
63
|
+
return /*#__PURE__*/React.createElement(_reactNative.Pressable, {
|
|
65
64
|
disabled: disabled || loading,
|
|
66
65
|
style: _ref2 => {
|
|
67
66
|
let {
|
|
@@ -70,8 +69,9 @@ function Base(_ref) {
|
|
|
70
69
|
return [styles.base, {
|
|
71
70
|
opacity: pressed ? activeOpacity : disabled ? disabledOpacity : 1
|
|
72
71
|
}, buttonStyles];
|
|
73
|
-
}
|
|
74
|
-
|
|
72
|
+
},
|
|
73
|
+
...props
|
|
74
|
+
}, loading ? /*#__PURE__*/React.createElement(_reactNative.ActivityIndicator, {
|
|
75
75
|
size: "small",
|
|
76
76
|
color: color,
|
|
77
77
|
style: styles.loading
|
|
@@ -90,13 +90,14 @@ const Solid = _ref3 => {
|
|
|
90
90
|
theme,
|
|
91
91
|
...props
|
|
92
92
|
} = _ref3;
|
|
93
|
-
return /*#__PURE__*/React.createElement(Base,
|
|
93
|
+
return /*#__PURE__*/React.createElement(Base, {
|
|
94
94
|
style: [{
|
|
95
95
|
color: "#FFF",
|
|
96
96
|
borderRadius: theme.roundness,
|
|
97
97
|
backgroundColor: theme.colors.primary
|
|
98
|
-
}, style]
|
|
99
|
-
|
|
98
|
+
}, style],
|
|
99
|
+
...props
|
|
100
|
+
});
|
|
100
101
|
};
|
|
101
102
|
const ButtonSolid = (0, _theming.withTheme)(Solid);
|
|
102
103
|
exports.ButtonSolid = ButtonSolid;
|
|
@@ -108,13 +109,14 @@ const Outline = _ref4 => {
|
|
|
108
109
|
theme,
|
|
109
110
|
...props
|
|
110
111
|
} = _ref4;
|
|
111
|
-
return /*#__PURE__*/React.createElement(Base,
|
|
112
|
+
return /*#__PURE__*/React.createElement(Base, {
|
|
112
113
|
style: [styles.outline, {
|
|
113
114
|
borderRadius: theme.roundness,
|
|
114
115
|
borderColor: theme.colors.primary,
|
|
115
116
|
color: theme.colors.primary
|
|
116
|
-
}, style]
|
|
117
|
-
|
|
117
|
+
}, style],
|
|
118
|
+
...props
|
|
119
|
+
});
|
|
118
120
|
};
|
|
119
121
|
const ButtonOutline = (0, _theming.withTheme)(Outline);
|
|
120
122
|
exports.ButtonOutline = ButtonOutline;
|
|
@@ -162,4 +164,24 @@ const styles = _reactNative.StyleSheet.create({
|
|
|
162
164
|
})
|
|
163
165
|
}
|
|
164
166
|
});
|
|
167
|
+
//# sourceMappingURL=Button.js.map: undefined
|
|
168
|
+
},
|
|
169
|
+
loading: {
|
|
170
|
+
marginRight: 6
|
|
171
|
+
},
|
|
172
|
+
icon: {
|
|
173
|
+
..._reactNative.Platform.select({
|
|
174
|
+
web: {
|
|
175
|
+
marginTop: 1,
|
|
176
|
+
marginRight: 4,
|
|
177
|
+
alignSelf: "center"
|
|
178
|
+
},
|
|
179
|
+
default: {
|
|
180
|
+
marginBottom: 2,
|
|
181
|
+
marginRight: 4,
|
|
182
|
+
alignSelf: "center"
|
|
183
|
+
}
|
|
184
|
+
})
|
|
185
|
+
}
|
|
186
|
+
});
|
|
165
187
|
//# sourceMappingURL=Button.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["CONSTANTS","baseHeight","borderRadius","padding","icon","Base","Icon","title","loading","disabled","style","activeOpacity","disabledOpacity","props","color","fontFamily","fontWeight","fontSize","lineHeight","letterSpacing","textTransform","textAlign","textDecorationLine","textDecorationColor","textDecorationStyle","buttonStyles","StyleSheet","flatten","titleStyles","justifyContent","pressed","styles","base","opacity","Solid","theme","roundness","backgroundColor","colors","primary","ButtonSolid","withTheme","Button","Outline","outline","borderColor","ButtonOutline","create","position","flexDirection","alignItems","minHeight","paddingHorizontal","Platform","select","web","cursor","userSelect","borderWidth","bare","undefined","marginRight","marginTop","alignSelf","default","marginBottom"],"sourceRoot":"../../../src","sources":["components/Button.
|
|
1
|
+
{"version":3,"names":["CONSTANTS","baseHeight","borderRadius","padding","icon","Base","Icon","title","loading","disabled","style","activeOpacity","disabledOpacity","props","color","fontFamily","fontWeight","fontSize","lineHeight","letterSpacing","textTransform","textAlign","textDecorationLine","textDecorationColor","textDecorationStyle","buttonStyles","StyleSheet","flatten","titleStyles","justifyContent","React","createElement","Pressable","pressed","styles","base","opacity","ActivityIndicator","size","name","Text","Solid","theme","roundness","backgroundColor","colors","primary","ButtonSolid","withTheme","Button","Outline","outline","borderColor","ButtonOutline","create","position","flexDirection","alignItems","minHeight","paddingHorizontal","Platform","select","web","cursor","userSelect","borderWidth","bare","undefined","marginRight","marginTop","alignSelf","default","marginBottom"],"sourceRoot":"../../../src","sources":["components/Button.js"],"mappings":";;;;;;AAAA;AACA;AACA;AAAuC;AAAA;AACvC,MAAMA,SAAS,GAAG;EACdC,UAAU,EAAE,EAAE;EACdC,YAAY,EAAE,CAAC;EACfC,OAAO,EAAE,CAAC;EACVC,IAAI,EAAE;AACV,CAAC;AACD,SAASC,IAAI,OAAwG;EAAA,IAAvG;IAAEC,IAAI;IAAEF,IAAI;IAAEG,KAAK;IAAEC,OAAO;IAAEC,QAAQ;IAAEC,KAAK;IAAEC,aAAa,GAAG,GAAG;IAAEC,eAAe,GAAG,GAAG;IAAE,GAAGC;EAAM,CAAC;EAC/G,MAAM;IAAEC,KAAK;IAAEC,UAAU;IAAEC,UAAU;IAAEC,QAAQ;IAAEC,UAAU;IAAEC,aAAa;IAAEC,aAAa;IAAEC,SAAS;IAAEC,kBAAkB;IAAEC,mBAAmB;IAAEC,mBAAmB;IAAE,GAAGC;EAAa,CAAC,GAAGC,uBAAU,CAACC,OAAO,CAACjB,KAAK,IAAI,CAAC,CAAC,CAAC;EACvN,MAAMkB,WAAW,GAAG;IAChBd,KAAK;IACLC,UAAU;IACVC,UAAU;IACVC,QAAQ;IACRC,UAAU;IACVC,aAAa;IACbC,aAAa;IACbC,SAAS;IACTC,kBAAkB;IAClBC,mBAAmB;IACnBC;EACJ,CAAC;EACD,IAAIH,SAAS,KAAK,MAAM,EAAE;IACtBI,YAAY,CAACI,cAAc,GAAG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,EAAE;IACFtB,eAAe,EAAE,aAAa;IAC9BzC,OAAO,EAAE,CAAC;IACVuD,SAAS,EAAES;EACf,CAAC;EACD3D,OAAO,EAAE;IACL4D,WAAW,EAAE;EACjB,CAAC;EACDhE,IAAI,EAAE;IACF,GAAGwD,qBAAQ,CAACC,MAAM,CAAC;MACfC,GAAG,EAAE;QACDO,SAAS,EAAE,CAAC;QACZD,WAAW,EAAE,CAAC;QACdE,SAAS,EAAE;MACf,CAAC;MACDC,OAAO,EAAE;QACLC,YAAY,EAAE,CAAC;QACfJ,WAAW,EAAE,CAAC;QACdE,SAAS,EAAE;MACf;IACJ,CAAC;EACL;AACJ,CAAC,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["React","ActionSheetItem","ActionSheetCancel","label","color","style","onPress"
|
|
1
|
+
{"version":3,"names":["React","ActionSheetItem","ActionSheetCancel","label","color","style","onPress"],"sourceRoot":"../../../../src","sources":["components/ActionSheet/ActionSheetCancel.tsx"],"mappings":"AAAA,OAAOA,KAAK,MAAM,OAAO;AAEzB,OAAOC,eAAe,MAAM,mBAAmB;AAS/C,MAAMC,iBAA2D,GAAG,QAK9D;EAAA,IAL+D;IACnEC,KAAK,GAAG,QAAQ;IAChBC,KAAK;IACLC,KAAK;IACLC;EACF,CAAC;EACC,oBACE,oBAAC,eAAe;IACd,KAAK,EAAEH,KAAM;IACb,KAAK,EAAEC,KAAK,IAAI,SAAU;IAC1B,KAAK,EAAE,CAACC,KAAK,CAAE;IACf,OAAO,EAAEC;EAAQ,EACjB;AAEN,CAAC;AAED,eAAeJ,iBAAiB"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["React","Text","StyleSheet","TouchableOpacity","extractStyles","ActionSheetItem","label","style","color","onPress","textStyles","viewStyles","
|
|
1
|
+
{"version":3,"names":["React","Text","StyleSheet","TouchableOpacity","extractStyles","ActionSheetItem","label","style","color","onPress","textStyles","viewStyles","styles","wrapper","create","borderBottomWidth","hairlineWidth","borderBottomColor","backgroundColor","minHeight","overflow","display","justifyContent","fontSize","textAlign","fontWeight","paddingHorizontal","paddingVertical","alignSelf"],"sourceRoot":"../../../../src","sources":["components/ActionSheet/ActionSheetItem.tsx"],"mappings":"AAAA,OAAOA,KAAK,MAAM,OAAO;AACzB,SACEC,IAAI,EACJC,UAAU,EAEVC,gBAAgB,QAGX,cAAc;AACrB,SAASC,aAAa,QAAQ,iBAAiB;AAS/C,MAAMC,eAAyD,GAAG,QAK5D;EAAA,IAL6D;IACjEC,KAAK;IACLC,KAAK;IACLC,KAAK;IACLC;EACF,CAAC;EACC,MAAM;IAAEC,UAAU;IAAEC;EAAW,CAAC,GAAGP,aAAa,CAACG,KAAK,CAAC;EACvD,oBACE,oBAAC,gBAAgB;IACf,aAAa,EAAE,GAAI;IACnB,KAAK,EAAE,CAACK,MAAM,CAACC,OAAO,EAAEF,UAAU,CAAE;IACpC,OAAO,EAAEF;EAAQ,gBAEjB,oBAAC,IAAI;IAAC,KAAK,EAAE,CAACG,MAAM,CAACN,KAAK,EAAEI,UAAU,EAAE;MAAEF;IAAM,CAAC;EAAE,GAAEF,KAAK,CAAQ,CACjD;AAEvB,CAAC;AAED,MAAMM,MAAM,GAAGV,UAAU,CAACY,MAAM,CAAC;EAC/BD,OAAO,EAAE;IACPE,iBAAiB,EAAEb,UAAU,CAACc,aAAa;IAC3CC,iBAAiB,EAAE,SAAS;IAC5BC,eAAe,EAAE,SAAS;IAC1BC,SAAS,EAAE,EAAE;IACbC,QAAQ,EAAE,QAAQ;IAClBC,OAAO,EAAE,MAAM;IACfC,cAAc,EAAE;EAClB,CAAC;EACDhB,KAAK,EAAE;IACLiB,QAAQ,EAAE,EAAE;IACZC,SAAS,EAAE,QAAQ;IACnBhB,KAAK,EAAE,SAAS;IAChBiB,UAAU,EAAE,KAAK;IACjBL,QAAQ,EAAE,QAAQ;IAClBM,iBAAiB,EAAE,EAAE;IACrBC,eAAe,EAAE,EAAE;IACnBC,SAAS,EAAE;EACb;AACF,CAAC,CAAC;AAEF,eAAevB,eAAe"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["createContext","useContext","Direction","checkboxGroupContext","onValueChange","values","direction","undefined","useCheckboxGroupContext"],"sourceRoot":"../../../../src","sources":["components/Checkbox/context.
|
|
1
|
+
{"version":3,"names":["createContext","useContext","Direction","checkboxGroupContext","onValueChange","values","direction","undefined","useCheckboxGroupContext"],"sourceRoot":"../../../../src","sources":["components/Checkbox/context.ts"],"mappings":"AAAA,SAASA,aAAa,EAAEC,UAAU,QAAQ,OAAO;AAEjD,WAAYC,SAAS;AAGpB,WAHWA,SAAS;EAATA,SAAS;EAATA,SAAS;AAAA,GAATA,SAAS,KAATA,SAAS;AAWrB,OAAO,MAAMC,oBAAoB,gBAAGH,aAAa,CAAuB;EACtEI,aAAa,EAAE,MAAM,CAAC,CAAC;EACvBC,MAAM,EAAE,EAAE;EACVC,SAAS,EAAEC;AACb,CAAC,CAAC;AAEF,OAAO,SAASC,uBAAuB,GAAG;EACxC,OAAOP,UAAU,CAACE,oBAAoB,CAAC;AACzC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["default","Checkbox","CheckboxGroup","CheckboxRow"],"sourceRoot":"../../../../src","sources":["components/Checkbox/index.
|
|
1
|
+
{"version":3,"names":["default","Checkbox","CheckboxGroup","CheckboxRow"],"sourceRoot":"../../../../src","sources":["components/Checkbox/index.ts"],"mappings":"AAAA,SAASA,OAAO,IAAIC,QAAQ,QAAQ,YAAY;AAChD,SAASD,OAAO,IAAIE,aAAa,QAAQ,iBAAiB;AAC1D,SAASF,OAAO,IAAIG,WAAW,QAAQ,eAAe"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["React","View","StyleSheet","withTheme","DeckSwiperCard","style","children","theme","
|
|
1
|
+
{"version":3,"names":["React","View","StyleSheet","withTheme","DeckSwiperCard","style","children","theme","styles","card","backgroundColor","colors","background","borderColor","divider","create","alignItems","justifyContent","padding","borderWidth"],"sourceRoot":"../../../../src","sources":["components/DeckSwiper/DeckSwiperCard.tsx"],"mappings":"AAAA,OAAOA,KAAK,MAAM,OAAO;AACzB,SAASC,IAAI,EAAEC,UAAU,QAA8B,cAAc;AAErE,SAASC,SAAS,QAAQ,eAAe;AAOzC,MAAMC,cAEL,GAAG;EAAA,IAAC;IAAEC,KAAK;IAAEC,QAAQ;IAAEC;EAAM,CAAC;EAAA,oBAC7B,oBAAC,IAAI;IACH,KAAK,EAAE,CACLC,MAAM,CAACC,IAAI,EACX;MACEC,eAAe,EAAEH,KAAK,CAACI,MAAM,CAACC,UAAU;MACxCC,WAAW,EAAEN,KAAK,CAACI,MAAM,CAACG;IAC5B,CAAC,EACDT,KAAK;EACL,GAEDC,QAAQ,CACJ;AAAA,CACR;AAED,MAAME,MAAM,GAAGN,UAAU,CAACa,MAAM,CAAC;EAC/BN,IAAI,EAAE;IACJO,UAAU,EAAE,QAAQ;IACpBC,cAAc,EAAE,QAAQ;IACxBC,OAAO,EAAE,EAAE;IACXC,WAAW,EAAE;EACf;AACF,CAAC,CAAC;AAEF,eAAehB,SAAS,CAACC,cAAc,CAAC"}
|
|
@@ -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 { StyleSheet, View } from "react-native";
|
|
3
4
|
import { withTheme } from "../theming";
|
|
@@ -10,23 +11,6 @@ const Divider = _ref => {
|
|
|
10
11
|
},
|
|
11
12
|
...rest
|
|
12
13
|
} = _ref;
|
|
13
|
-
return /*#__PURE__*/React.createElement(View, {
|
|
14
|
-
style: [{
|
|
15
|
-
backgroundColor: color || colors.divider,
|
|
16
|
-
height: StyleSheet.hairlineWidth
|
|
17
|
-
}, style],
|
|
18
|
-
...rest
|
|
19
|
-
});
|
|
20
|
-
};
|
|
21
|
-
export default withTheme(Divider);
|
|
22
|
-
//# sourceMappingURL=Divider.js.mapt {
|
|
23
|
-
style,
|
|
24
|
-
color,
|
|
25
|
-
theme: {
|
|
26
|
-
colors
|
|
27
|
-
},
|
|
28
|
-
...rest
|
|
29
|
-
} = _ref;
|
|
30
14
|
return /*#__PURE__*/React.createElement(View, _extends({
|
|
31
15
|
style: [{
|
|
32
16
|
backgroundColor: color || colors.divider,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["React","StyleSheet","View","withTheme","Divider","style","color","theme","colors","rest","
|
|
1
|
+
{"version":3,"names":["React","StyleSheet","View","withTheme","Divider","style","color","theme","colors","rest","backgroundColor","divider","height","hairlineWidth"],"sourceRoot":"../../../src","sources":["components/Divider.tsx"],"mappings":";AAAA,OAAO,KAAKA,KAAK,MAAM,OAAO;AAC9B,SAASC,UAAU,EAAEC,IAAI,QAA8B,cAAc;AACrE,SAASC,SAAS,QAAQ,YAAY;AAStC,MAAMC,OAAiD,GAAG,QAKpD;EAAA,IALqD;IACzDC,KAAK;IACLC,KAAK;IACLC,KAAK,EAAE;MAAEC;IAAO,CAAC;IACjB,GAAGC;EACL,CAAC;EACC,oBACE,oBAAC,IAAI;IACH,KAAK,EAAE,CACL;MACEC,eAAe,EAAEJ,KAAK,IAAIE,MAAM,CAACG,OAAO;MACxCC,MAAM,EAAEX,UAAU,CAACY;IACrB,CAAC,EACDR,KAAK;EACL,GACEI,IAAI,EACR;AAEN,CAAC;AAED,eAAeN,SAAS,CAACC,OAAO,CAAC"}
|
|
@@ -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 { Text, StyleSheet } from "react-native";
|
|
3
4
|
import { extractStyles } from "../utilities";
|
|
@@ -16,27 +17,11 @@ export default function FormRow(_ref) {
|
|
|
16
17
|
textStyles,
|
|
17
18
|
viewStyles
|
|
18
19
|
} = extractStyles(style);
|
|
19
|
-
return /*#__PURE__*/React.createElement(Touchable, {
|
|
20
|
+
return /*#__PURE__*/React.createElement(Touchable, _extends({
|
|
20
21
|
disabled: disabled,
|
|
21
22
|
onPress: onPress,
|
|
22
23
|
style: [styles.row, {
|
|
23
24
|
flexDirection: direction
|
|
24
|
-
}, viewStyles],
|
|
25
|
-
...rest
|
|
26
|
-
}, /*#__PURE__*/React.createElement(Text, {
|
|
27
|
-
style: textStyles
|
|
28
|
-
}, label), children);
|
|
29
|
-
}
|
|
30
|
-
const styles = StyleSheet.create({
|
|
31
|
-
row: {
|
|
32
|
-
marginLeft: 8,
|
|
33
|
-
marginRight: 8,
|
|
34
|
-
flexDirection: "row",
|
|
35
|
-
justifyContent: "space-between",
|
|
36
|
-
alignItems: "center"
|
|
37
|
-
}
|
|
38
|
-
});
|
|
39
|
-
//# sourceMappingURL=FormRow.js.mapirection
|
|
40
25
|
}, viewStyles]
|
|
41
26
|
}, rest), /*#__PURE__*/React.createElement(Text, {
|
|
42
27
|
style: textStyles
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["React","Text","StyleSheet","extractStyles","Touchable","FormRow","disabled","direction","children","label","style","onPress","rest","textStyles","viewStyles","
|
|
1
|
+
{"version":3,"names":["React","Text","StyleSheet","extractStyles","Touchable","FormRow","disabled","direction","children","label","style","onPress","rest","textStyles","viewStyles","styles","row","flexDirection","create","marginLeft","marginRight","justifyContent","alignItems"],"sourceRoot":"../../../src","sources":["components/FormRow.tsx"],"mappings":";AAAA,OAAO,KAAKA,KAAK,MAAM,OAAO;AAC9B,SAASC,IAAI,EAAwBC,UAAU,QAAQ,cAAc;AAErE,SAASC,aAAa,QAAQ,cAAc;AAC5C,OAAOC,SAAS,MAAM,aAAa;AAWnC,eAAe,SAASC,OAAO,OAQrB;EAAA,IARsB;IAC9BC,QAAQ;IACRC,SAAS;IACTC,QAAQ;IACRC,KAAK;IACLC,KAAK;IACLC,OAAO;IACP,GAAGC;EACE,CAAC;EACN,MAAM;IAAEC,UAAU;IAAEC;EAAW,CAAC,GAAGX,aAAa,CAACO,KAAK,CAAC;EACvD,oBACE,oBAAC,SAAS;IACR,QAAQ,EAAEJ,QAAS;IACnB,OAAO,EAAEK,OAAQ;IACjB,KAAK,EAAE,CAACI,MAAM,CAACC,GAAG,EAAE;MAAEC,aAAa,EAAEV;IAAU,CAAC,EAAEO,UAAU;EAAE,GAC1DF,IAAI,gBAER,oBAAC,IAAI;IAAC,KAAK,EAAEC;EAAW,GAAEJ,KAAK,CAAQ,EACtCD,QAAQ,CACC;AAEhB;AAEA,MAAMO,MAAM,GAAGb,UAAU,CAACgB,MAAM,CAAC;EAC/BF,GAAG,EAAE;IACHG,UAAU,EAAE,CAAC;IACbC,WAAW,EAAE,CAAC;IACdH,aAAa,EAAE,KAAK;IACpBI,cAAc,EAAE,eAAe;IAC/BC,UAAU,EAAE;EACd;AACF,CAAC,CAAC"}
|
|
@@ -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, ActivityIndicator, Pressable, Platform } from "react-native";
|
|
3
4
|
import { withTheme } from "../theming";
|
|
@@ -17,7 +18,7 @@ const IconButton = _ref => {
|
|
|
17
18
|
...props
|
|
18
19
|
} = _ref;
|
|
19
20
|
const iconColor = customColor || theme.colors.primary;
|
|
20
|
-
return /*#__PURE__*/React.createElement(Pressable, {
|
|
21
|
+
return /*#__PURE__*/React.createElement(Pressable, _extends({
|
|
21
22
|
onPress: onPress,
|
|
22
23
|
disabled: disabled || loading,
|
|
23
24
|
style: _ref2 => {
|
|
@@ -31,9 +32,8 @@ const IconButton = _ref => {
|
|
|
31
32
|
alignItems: "center",
|
|
32
33
|
justifyContent: "center"
|
|
33
34
|
}, style];
|
|
34
|
-
}
|
|
35
|
-
|
|
36
|
-
}, /*#__PURE__*/React.createElement(View, null, icon && !loading ? /*#__PURE__*/React.createElement(Icon, {
|
|
35
|
+
}
|
|
36
|
+
}, props), /*#__PURE__*/React.createElement(View, null, icon && !loading ? /*#__PURE__*/React.createElement(Icon, {
|
|
37
37
|
name: icon,
|
|
38
38
|
size: size - 2,
|
|
39
39
|
color: iconColor
|
|
@@ -55,21 +55,4 @@ const styles = StyleSheet.create({
|
|
|
55
55
|
}
|
|
56
56
|
});
|
|
57
57
|
export default withTheme(IconButton);
|
|
58
|
-
//# sourceMappingURL=IconButton.js.mapmall",
|
|
59
|
-
color: iconColor
|
|
60
|
-
}) : null));
|
|
61
|
-
};
|
|
62
|
-
const styles = StyleSheet.create({
|
|
63
|
-
container: {
|
|
64
|
-
alignItems: "center",
|
|
65
|
-
justifyContent: "center",
|
|
66
|
-
...Platform.select({
|
|
67
|
-
web: {
|
|
68
|
-
cursor: "pointer",
|
|
69
|
-
userSelect: "none"
|
|
70
|
-
}
|
|
71
|
-
})
|
|
72
|
-
}
|
|
73
|
-
});
|
|
74
|
-
export default withTheme(IconButton);
|
|
75
58
|
//# sourceMappingURL=IconButton.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["React","View","StyleSheet","ActivityIndicator","Pressable","Platform","withTheme","IconButton","Icon","icon","color","customColor","size","disabled","loading","onPress","theme","style","activeOpacity","disabledOpacity","props","iconColor","colors","primary","
|
|
1
|
+
{"version":3,"names":["React","View","StyleSheet","ActivityIndicator","Pressable","Platform","withTheme","IconButton","Icon","icon","color","customColor","size","disabled","loading","onPress","theme","style","activeOpacity","disabledOpacity","props","iconColor","colors","primary","pressed","styles","container","opacity","width","height","alignItems","justifyContent","create","select","web","cursor","userSelect"],"sourceRoot":"../../../src","sources":["components/IconButton.tsx"],"mappings":";AAAA,OAAO,KAAKA,KAAK,MAAM,OAAO;AAC9B,SACEC,IAAI,EACJC,UAAU,EACVC,iBAAiB,EAGjBC,SAAS,EAETC,QAAQ,QACH,cAAc;AACrB,SAASC,SAAS,QAAQ,YAAY;AAkBtC,MAAMC,UAAoD,GAAG,QAavD;EAAA,IAbwD;IAC5DC,IAAI;IACJC,IAAI;IACJC,KAAK,EAAEC,WAAW;IAClBC,IAAI,GAAG,EAAE;IACTC,QAAQ;IACRC,OAAO,GAAG,KAAK;IACfC,OAAO;IACPC,KAAK;IACLC,KAAK;IACLC,aAAa,GAAG,GAAG;IACnBC,eAAe,GAAG,GAAG;IACrB,GAAGC;EACL,CAAC;EACC,MAAMC,SAAS,GAAGV,WAAW,IAAIK,KAAK,CAACM,MAAM,CAACC,OAAO;EAErD,oBACE,oBAAC,SAAS;IACR,OAAO,EAAER,OAAQ;IACjB,QAAQ,EAAEF,QAAQ,IAAIC,OAAQ;IAC9B,KAAK,EAAE,SAAiB;MAAA,IAAhB;QAAEU;MAAQ,CAAC;MACjB,OAAO,CACLC,MAAM,CAACC,SAAS,EAChB;QACEC,OAAO,EAAEH,OAAO,GAAGN,aAAa,GAAGL,QAAQ,GAAGM,eAAe,GAAG,CAAC;QACjES,KAAK,EAAEhB,IAAI;QACXiB,MAAM,EAAEjB,IAAI;QACZkB,UAAU,EAAE,QAAQ;QACpBC,cAAc,EAAE;MAClB,CAAC,EACDd,KAAK,CACN;IACH;EAAE,GACEG,KAAK,gBAET,oBAAC,IAAI,QACFX,IAAI,IAAI,CAACK,OAAO,gBACf,oBAAC,IAAI;IAAC,IAAI,EAAEL,IAAK;IAAC,IAAI,EAAEG,IAAI,GAAG,CAAE;IAAC,KAAK,EAAES;EAAU,EAAG,GACpD,IAAI,EACPP,OAAO,gBAAG,oBAAC,iBAAiB;IAAC,IAAI,EAAC,OAAO;IAAC,KAAK,EAAEO;EAAU,EAAG,GAAG,IAAI,CACjE,CACG;AAEhB,CAAC;AAED,MAAMI,MAAM,GAAGvB,UAAU,CAAC8B,MAAM,CAAC;EAC/BN,SAAS,EAAE;IACTI,UAAU,EAAE,QAAQ;IACpBC,cAAc,EAAE,QAAQ;IACxB,GAAG1B,QAAQ,CAAC4B,MAAM,CAAC;MACjBC,GAAG,EAAE;QACHC,MAAM,EAAE,SAAS;QACjBC,UAAU,EAAE;MACd;IACF,CAAC;EACH;AACF,CAAC,CAAC;AAEF,eAAe9B,SAAS,CAACC,UAAU,CAAC"}
|
|
@@ -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
|
/* README: Internal Image component used for stuff like Card. DO NOT EXPORT! */
|
|
2
3
|
import React from "react";
|
|
3
4
|
import { Image as NativeImage, StyleSheet } from "react-native";
|
|
@@ -55,30 +56,13 @@ const Image = _ref2 => {
|
|
|
55
56
|
height,
|
|
56
57
|
aspectRatio
|
|
57
58
|
}]
|
|
58
|
-
}, /*#__PURE__*/React.createElement(NativeImage, {
|
|
59
|
-
...props,
|
|
59
|
+
}, /*#__PURE__*/React.createElement(NativeImage, _extends({}, props, {
|
|
60
60
|
source: imageSource,
|
|
61
61
|
resizeMode: resizeMode,
|
|
62
62
|
style: [style, {
|
|
63
63
|
height: "100%",
|
|
64
64
|
width: "100%"
|
|
65
65
|
}]
|
|
66
|
-
}));
|
|
67
|
-
}
|
|
68
|
-
return /*#__PURE__*/React.createElement(NativeImage, {
|
|
69
|
-
...props,
|
|
70
|
-
source: source,
|
|
71
|
-
resizeMode: resizeMode,
|
|
72
|
-
style: style
|
|
73
|
-
});
|
|
74
|
-
};
|
|
75
|
-
export default Image;
|
|
76
|
-
//# sourceMappingURL=Image.js.map source: imageSource,
|
|
77
|
-
resizeMode: resizeMode,
|
|
78
|
-
style: [style, {
|
|
79
|
-
height: "100%",
|
|
80
|
-
width: "100%"
|
|
81
|
-
}]
|
|
82
66
|
})));
|
|
83
67
|
}
|
|
84
68
|
return /*#__PURE__*/React.createElement(NativeImage, _extends({}, props, {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["React","Image","NativeImage","StyleSheet","Config","AspectRatio","generateDimensions","aspectRatio","width","height","source","resizeMode","style","props","imageSource","undefined","placeholderImageURL","styles","flatten"
|
|
1
|
+
{"version":3,"names":["React","Image","NativeImage","StyleSheet","Config","AspectRatio","generateDimensions","aspectRatio","width","height","source","resizeMode","style","props","imageSource","undefined","placeholderImageURL","styles","flatten"],"sourceRoot":"../../../src","sources":["components/Image.tsx"],"mappings":";AAAA;AACA,OAAOA,KAAK,MAAM,OAAO;AACzB,SACEC,KAAK,IAAIC,WAAW,EAEpBC,UAAU,QAEL,cAAc;AACrB,OAAOC,MAAM,MAAM,UAAU;AAE7B,OAAOC,WAAW,MAAM,eAAe;AAQvC,MAAMC,kBAAkB,GAAG,QAAoD;EAAA,IAAnD;IAAEC,WAAW;IAAEC,KAAK;IAAEC;EAAuB,CAAC;EACxE,IAAIF,WAAW,IAAI,CAACC,KAAK,IAAI,CAACC,MAAM,EAAE;IACpC,OAAO;MACLF,WAAW;MACXC,KAAK,EAAE;IACT,CAAC;EACH;EAEA,IAAID,WAAW,IAAIE,MAAM,EAAE;IACzB,OAAO;MACLF,WAAW;MACXE,MAAM;MACND,KAAK,EAAED,WAAW,GAAGE;IACvB,CAAC;EACH;EAEA,IAAIF,WAAW,IAAIC,KAAK,EAAE;IACxB,OAAO;MACLD,WAAW;MACXC,KAAK;MACLC,MAAM,EAAED,KAAK,GAAGD;IAClB,CAAC;EACH;EAEA,OAAO;IAAEC,KAAK;IAAEC;EAAO,CAAC;AAC1B,CAAC;AAED,MAAMR,KAA2B,GAAG,SAK9B;EAAA,IAL+B;IACnCS,MAAM;IACNC,UAAU,GAAG,OAAO;IACpBC,KAAK;IACL,GAAGC;EACL,CAAC;EACC,IAAIC,WAAW,GACbJ,MAAM,KAAK,IAAI,IAAIA,MAAM,KAAKK,SAAS,GACnCX,MAAM,CAACY,mBAAmB,GAC1BN,MAAM;EAEZ,MAAMO,MAAM,GAAGd,UAAU,CAACe,OAAO,CAACN,KAAK,IAAI,CAAC,CAAC,CAAC;EAC9C,MAAM;IAAEL,WAAW;IAAEC,KAAK;IAAEC;EAAO,CAAC,GAAGH,kBAAkB,CACvDW,MAAM,CACP;EAED,IAAIV,WAAW,EAAE;IACf,oBACE,oBAAC,WAAW;MAAC,KAAK,EAAE,CAACK,KAAK,EAAE;QAAEJ,KAAK;QAAEC,MAAM;QAAEF;MAAY,CAAC;IAAE,gBAC1D,oBAAC,WAAW,eACNM,KAAK;MACT,MAAM,EAAEC,WAAmC;MAC3C,UAAU,EAAEH,UAAW;MACvB,KAAK,EAAE,CACLC,KAAK,EACL;QACEH,MAAM,EAAE,MAAM;QACdD,KAAK,EAAE;MACT,CAAC;IACD,GACF,CACU;EAElB;EAEA,oBACE,oBAAC,WAAW,eACNK,KAAK;IACT,MAAM,EAAEH,MAA8B;IACtC,UAAU,EAAEC,UAAW;IACvB,KAAK,EAAEC;EAAM,GACb;AAEN,CAAC;AAED,eAAeX,KAAK"}
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
function _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
|
|
1
2
|
import * as React from "react";
|
|
2
3
|
import { View, StyleSheet } from "react-native";
|
|
3
4
|
import { SafeAreaView } from "react-native-safe-area-context";
|
|
@@ -10,6 +11,7 @@ import TextField from "../TextField";
|
|
|
10
11
|
import Touchable from "../Touchable";
|
|
11
12
|
import { extractStyles } from "../../utilities";
|
|
12
13
|
const Picker = _ref => {
|
|
14
|
+
var _options$find$label, _options$find;
|
|
13
15
|
let {
|
|
14
16
|
Icon,
|
|
15
17
|
style,
|
|
@@ -23,7 +25,6 @@ const Picker = _ref => {
|
|
|
23
25
|
},
|
|
24
26
|
...props
|
|
25
27
|
} = _ref;
|
|
26
|
-
var _a, _b;
|
|
27
28
|
const {
|
|
28
29
|
viewStyles: {
|
|
29
30
|
borderRadius,
|
|
@@ -64,24 +65,26 @@ const Picker = _ref => {
|
|
|
64
65
|
};
|
|
65
66
|
|
|
66
67
|
const stylesWithoutMargin = style && omit(StyleSheet.flatten(style), ["margin", "marginTop", "marginRight", "marginBottom", "marginLeft"]);
|
|
67
|
-
const selectedLabel = selectedValue && ((
|
|
68
|
+
const selectedLabel = selectedValue && ((_options$find$label = (_options$find = options.find(o => o.value === selectedValue)) === null || _options$find === void 0 ? void 0 : _options$find.label) !== null && _options$find$label !== void 0 ? _options$find$label : selectedValue);
|
|
68
69
|
return /*#__PURE__*/React.createElement(View, {
|
|
69
70
|
style: [styles.container, viewStyles]
|
|
70
71
|
}, /*#__PURE__*/React.createElement(Touchable, {
|
|
71
72
|
disabled: disabled,
|
|
72
73
|
onPress: toggleVisibility
|
|
73
|
-
}, /*#__PURE__*/React.createElement(TextField, {
|
|
74
|
-
...props,
|
|
74
|
+
}, /*#__PURE__*/React.createElement(TextField, _extends({}, props, {
|
|
75
75
|
value: String(selectedLabel),
|
|
76
|
-
placeholder: placeholder
|
|
76
|
+
placeholder: placeholder
|
|
77
77
|
// @ts-ignore
|
|
78
|
-
|
|
78
|
+
,
|
|
79
|
+
ref: textField // cannot determine if ref is of correct type due to component being wrapped in a withTheme()
|
|
80
|
+
,
|
|
79
81
|
disabled: disabled,
|
|
80
|
-
pointerEvents: "none"
|
|
82
|
+
pointerEvents: "none"
|
|
81
83
|
// @ts-expect-error
|
|
84
|
+
,
|
|
82
85
|
style: stylesWithoutMargin,
|
|
83
86
|
Icon: Icon
|
|
84
|
-
})), pickerVisible && /*#__PURE__*/React.createElement(Portal, null, /*#__PURE__*/React.createElement(View, {
|
|
87
|
+
}))), pickerVisible && /*#__PURE__*/React.createElement(Portal, null, /*#__PURE__*/React.createElement(View, {
|
|
85
88
|
style: [styles.picker, {
|
|
86
89
|
backgroundColor: colors.divider
|
|
87
90
|
}]
|
|
@@ -126,32 +129,4 @@ const styles = StyleSheet.create({
|
|
|
126
129
|
}
|
|
127
130
|
});
|
|
128
131
|
export default withTheme(Picker);
|
|
129
|
-
//# sourceMappingURL=PickerComponent.ios.js.mapReact.createElement(NativePicker.Item, {
|
|
130
|
-
label: o.label,
|
|
131
|
-
value: o.value,
|
|
132
|
-
key: o.value
|
|
133
|
-
})))))));
|
|
134
|
-
};
|
|
135
|
-
const styles = StyleSheet.create({
|
|
136
|
-
container: {
|
|
137
|
-
alignSelf: "stretch"
|
|
138
|
-
},
|
|
139
|
-
picker: {
|
|
140
|
-
position: "absolute",
|
|
141
|
-
bottom: 0,
|
|
142
|
-
left: 0,
|
|
143
|
-
right: 0,
|
|
144
|
-
flexDirection: "row",
|
|
145
|
-
justifyContent: "center"
|
|
146
|
-
},
|
|
147
|
-
pickerContainer: {
|
|
148
|
-
backgroundColor: "white",
|
|
149
|
-
flexDirection: "column",
|
|
150
|
-
width: "100%"
|
|
151
|
-
},
|
|
152
|
-
closeButton: {
|
|
153
|
-
alignSelf: "flex-end"
|
|
154
|
-
}
|
|
155
|
-
});
|
|
156
|
-
export default withTheme(Picker);
|
|
157
132
|
//# sourceMappingURL=PickerComponent.ios.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["React","View","StyleSheet","SafeAreaView","omit","Picker","NativePicker","withTheme","Portal","Button","TextField","Touchable","extractStyles","Icon","style","options","placeholder","selectedValue","disabled","onValueChange","theme","colors","props","
|
|
1
|
+
{"version":3,"names":["React","View","StyleSheet","SafeAreaView","omit","Picker","NativePicker","withTheme","Portal","Button","TextField","Touchable","extractStyles","Icon","style","options","placeholder","selectedValue","disabled","onValueChange","theme","colors","props","viewStyles","borderRadius","borderWidth","borderTopWidth","borderRightWidth","borderBottomWidth","borderLeftWidth","borderColor","backgroundColor","padding","paddingTop","paddingRight","paddingBottom","paddingLeft","textField","useRef","undefined","pickerVisible","setIsPickerVisible","useState","toggleVisibility","current","toggleFocus","stylesWithoutMargin","flatten","selectedLabel","find","o","value","label","styles","container","String","picker","divider","pickerContainer","closeButton","map","create","alignSelf","position","bottom","left","right","flexDirection","justifyContent","width"],"sourceRoot":"../../../../src","sources":["components/Picker/PickerComponent.ios.tsx"],"mappings":";AAAA,OAAO,KAAKA,KAAK,MAAM,OAAO;AAC9B,SAASC,IAAI,EAAEC,UAAU,QAAQ,cAAc;AAC/C,SAASC,YAAY,QAAQ,gCAAgC;AAC7D,OAAOC,IAAI,MAAM,aAAa;AAE9B,SAASC,MAAM,IAAIC,YAAY,QAAQ,6BAA6B;AAEpE,SAASC,SAAS,QAAQ,eAAe;AAEzC,OAAOC,MAAM,MAAM,kBAAkB;AACrC,OAAOC,MAAM,MAAM,qBAAqB;AACxC,OAAOC,SAAS,MAAM,cAAc;AACpC,OAAOC,SAAS,MAAM,cAAc;AAEpC,SAASC,aAAa,QAAQ,iBAAiB;AAG/C,MAAMP,MAAiD,GAAG,QAUpD;EAAA;EAAA,IAVqD;IACzDQ,IAAI;IACJC,KAAK;IACLC,OAAO;IACPC,WAAW;IACXC,aAAa;IACbC,QAAQ,GAAG,KAAK;IAChBC,aAAa,GAAG,MAAM,CAAC,CAAC;IACxBC,KAAK,EAAE;MAAEC;IAAO,CAAC;IACjB,GAAGC;EACL,CAAC;EACC,MAAM;IACJC,UAAU,EAAE;MACVC,YAAY;MAAE;MACdC,WAAW;MAAE;MACbC,cAAc;MAAE;MAChBC,gBAAgB;MAAE;MAClBC,iBAAiB;MAAE;MACnBC,eAAe;MAAE;MACjBC,WAAW;MAAE;MACbC,eAAe;MAAE;MACjBC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names":["React","StepIndicator","withTheme","ProgressIndicator","numberOfSteps","currentStep","currentStepStrokeWidth","stepStrokeCurrentColor","stepIndicatorSize","currentStepIndicatorSize","stepIndicatorCurrentColor","stepIndicatorLabelCurrentColor","stepIndicatorLabelFontSize","stepNumberFinishedColor","stepNumberUnfinishedColor","unfinishedColor","finishedColor","theme","currentPosition","
|
|
1
|
+
{"version":3,"names":["React","StepIndicator","withTheme","ProgressIndicator","numberOfSteps","currentStep","currentStepStrokeWidth","stepStrokeCurrentColor","stepIndicatorSize","currentStepIndicatorSize","stepIndicatorCurrentColor","stepIndicatorLabelCurrentColor","stepIndicatorLabelFontSize","stepNumberFinishedColor","stepNumberUnfinishedColor","unfinishedColor","finishedColor","theme","currentPosition","stepStrokeFinishedColor","stepStrokeUnFinishedColor","separatorFinishedColor","separatorUnFinishedColor","stepIndicatorFinishedColor","stepIndicatorUnFinishedColor","stepIndicatorLabelUnFinishedColor","stepIndicatorLabelFinishedColor","labelFontFamily","typography","body1","fontFamily"],"sourceRoot":"../../../src","sources":["components/ProgressIndicator.tsx"],"mappings":"AAAA,OAAO,KAAKA,KAAK,MAAM,OAAO;AAC9B,OAAOC,aAAa,MAAM,iBAAiB;AAC3C,SAASC,SAAS,QAAQ,YAAY;AAqBtC,MAAMC,iBAA2D,GAAG,QAe9D;EAAA,IAf+D;IACnEC,aAAa;IACbC,WAAW;IACXC,sBAAsB,GAAG,CAAC;IAC1BC,sBAAsB,GAAG,SAAS;IAClCC,iBAAiB;IACjBC,wBAAwB;IACxBC,yBAAyB;IACzBC,8BAA8B;IAC9BC,0BAA0B,GAAG,EAAE;IAC/BC,uBAAuB,GAAG,eAAe;IACzCC,yBAAyB,GAAG,SAAS;IACrCC,eAAe,GAAG,OAAO;IACzBC,aAAa,GAAG,SAAS;IACzBC;EACF,CAAC;EACC,MAAMC,eAAe,GAAGb,WAAW,GAAG,CAAC;EACvC,oBACE,oBAAC,aAAa;IACZ,SAAS,EAAED,aAAc;IACzB,eAAe,EAAEc,eAAgB;IACjC,YAAY,EAAE;MACZV,iBAAiB;MACjBC,wBAAwB,EAAEA,wBAAwB,GAC9CA,wBAAwB,GACxBD,iBAAiB;MACrBW,uBAAuB,EAAEH,aAAa;MACtCI,yBAAyB,EAAEL,eAAe;MAC1CM,sBAAsB,EAAEL,aAAa;MACrCM,wBAAwB,EAAEP,eAAe;MACzCQ,0BAA0B,EAAEP,aAAa;MACzCQ,4BAA4B,EAAET,eAAe;MAC7CT,sBAAsB;MACtBC,sBAAsB,EACpBA,sBAAsB,IAAIG,yBAAyB;MACrDe,iCAAiC,EAAEX,yBAAyB;MAC5DY,+BAA+B,EAAEb,uBAAuB;MACxDH,yBAAyB,EAAEA,yBAAyB,IAAIK,eAAe;MACvEJ,8BAA8B,EAC5BA,8BAA8B,IAAIG,yBAAyB;MAC7DF,0BAA0B;MAC1Be,eAAe,EAAEV,KAAK,CAACW,UAAU,CAACC,KAAK,CAACC;IAC1C;EAAE,EACF;AAEN,CAAC;AAED,eAAe5B,SAAS,CAACC,iBAAiB,CAAC"}
|
package/lib/module/constants.js
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@draftbit/core",
|
|
3
|
-
"version": "47.2.
|
|
3
|
+
"version": "47.2.13-f38301.2+f383013",
|
|
4
4
|
"description": "Core (non-native) Components",
|
|
5
5
|
"main": "lib/commonjs/index.js",
|
|
6
6
|
"module": "lib/module/index.js",
|
|
@@ -41,7 +41,7 @@
|
|
|
41
41
|
"dependencies": {
|
|
42
42
|
"@date-io/date-fns": "^1.3.13",
|
|
43
43
|
"@draftbit/react-theme-provider": "^2.1.1",
|
|
44
|
-
"@draftbit/types": "47.2.
|
|
44
|
+
"@draftbit/types": "^47.2.13-f38301.2+f383013",
|
|
45
45
|
"@material-ui/core": "^4.11.0",
|
|
46
46
|
"@material-ui/pickers": "^3.2.10",
|
|
47
47
|
"@react-native-community/slider": "4.2.4",
|
|
@@ -94,5 +94,5 @@
|
|
|
94
94
|
"node_modules/",
|
|
95
95
|
"lib/"
|
|
96
96
|
],
|
|
97
|
-
"gitHead": "
|
|
97
|
+
"gitHead": "f383013a45d5083b35396a15905dc32ee81670f5"
|
|
98
98
|
}
|