ferns-ui 0.2.2 → 0.2.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (319) hide show
  1. package/dist/ActionSheet.js.map +1 -1
  2. package/dist/Common.d.ts +1 -1
  3. package/dist/DateTimeActionSheet.js.map +1 -1
  4. package/dist/DecimalRangeActionSheet.js.map +1 -1
  5. package/dist/ErrorBoundary.d.ts +1 -1
  6. package/dist/Field.d.ts +12 -14
  7. package/dist/Field.js +95 -98
  8. package/dist/Field.js.map +1 -1
  9. package/dist/HeightActionSheet.js.map +1 -1
  10. package/dist/NumberPickerActionSheet.js.map +1 -1
  11. package/dist/PickerSelect.d.ts +4 -4
  12. package/dist/SplitPage.js.map +1 -1
  13. package/dist/TextField.js.map +1 -1
  14. package/dist/TextFieldNumberActionSheet.js.map +1 -1
  15. package/dist/Unifier.js +1 -9
  16. package/dist/Unifier.js.map +1 -1
  17. package/package.json +26 -25
  18. package/src/Field.tsx +91 -98
  19. package/src/TextFieldNumberActionSheet.tsx +1 -1
  20. package/dist/Banner.stories.d.ts +0 -1
  21. package/dist/Banner.stories.js +0 -13
  22. package/dist/Banner.stories.js.map +0 -1
  23. package/dist/Box.stories.d.ts +0 -1
  24. package/dist/Box.stories.js +0 -45
  25. package/dist/Box.stories.js.map +0 -1
  26. package/dist/Button.stories.d.ts +0 -1
  27. package/dist/Button.stories.js +0 -41
  28. package/dist/Button.stories.js.map +0 -1
  29. package/dist/Card.stories.d.ts +0 -6
  30. package/dist/Card.stories.js +0 -18
  31. package/dist/Card.stories.js.map +0 -1
  32. package/dist/CheckBox.stories.d.ts +0 -1
  33. package/dist/CheckBox.stories.js +0 -28
  34. package/dist/CheckBox.stories.js.map +0 -1
  35. package/dist/Field.stories.d.ts +0 -6
  36. package/dist/Field.stories.js +0 -38
  37. package/dist/Field.stories.js.map +0 -1
  38. package/dist/Form.stories.d.ts +0 -6
  39. package/dist/Form.stories.js +0 -36
  40. package/dist/Form.stories.js.map +0 -1
  41. package/dist/HeaderButtons.stories.d.ts +0 -6
  42. package/dist/HeaderButtons.stories.js +0 -6
  43. package/dist/HeaderButtons.stories.js.map +0 -1
  44. package/dist/Heading.stories.d.ts +0 -1
  45. package/dist/Heading.stories.js +0 -22
  46. package/dist/Heading.stories.js.map +0 -1
  47. package/dist/Icon.stories.d.ts +0 -1
  48. package/dist/Icon.stories.js +0 -30
  49. package/dist/Icon.stories.js.map +0 -1
  50. package/dist/IconButton.stories.d.ts +0 -1
  51. package/dist/IconButton.stories.js +0 -16
  52. package/dist/IconButton.stories.js.map +0 -1
  53. package/dist/Link.stories.d.ts +0 -1
  54. package/dist/Link.stories.js +0 -18
  55. package/dist/Link.stories.js.map +0 -1
  56. package/dist/Mask.stories.d.ts +0 -1
  57. package/dist/Mask.stories.js +0 -28
  58. package/dist/Mask.stories.js.map +0 -1
  59. package/dist/Pill.stories.d.ts +0 -1
  60. package/dist/Pill.stories.js +0 -38
  61. package/dist/Pill.stories.js.map +0 -1
  62. package/dist/SegmentedControl.stories.d.ts +0 -1
  63. package/dist/SegmentedControl.stories.js +0 -31
  64. package/dist/SegmentedControl.stories.js.map +0 -1
  65. package/dist/SelectList.stories.d.ts +0 -1
  66. package/dist/SelectList.stories.js +0 -26
  67. package/dist/SelectList.stories.js.map +0 -1
  68. package/dist/Spinner.stories.d.ts +0 -1
  69. package/dist/Spinner.stories.js +0 -12
  70. package/dist/Spinner.stories.js.map +0 -1
  71. package/dist/SplitPage.stories.d.ts +0 -1
  72. package/dist/SplitPage.stories.js +0 -15
  73. package/dist/SplitPage.stories.js.map +0 -1
  74. package/dist/StorybookContainer.d.ts +0 -4
  75. package/dist/StorybookContainer.js +0 -8
  76. package/dist/StorybookContainer.js.map +0 -1
  77. package/dist/Switch.stories.d.ts +0 -1
  78. package/dist/Switch.stories.js +0 -34
  79. package/dist/Switch.stories.js.map +0 -1
  80. package/dist/Text.stories.d.ts +0 -1
  81. package/dist/Text.stories.js +0 -37
  82. package/dist/Text.stories.js.map +0 -1
  83. package/dist/TextArea.stories.d.ts +0 -10
  84. package/dist/TextArea.stories.js +0 -24
  85. package/dist/TextArea.stories.js.map +0 -1
  86. package/dist/TextField.stories.d.ts +0 -6
  87. package/dist/TextField.stories.js +0 -18
  88. package/dist/TextField.stories.js.map +0 -1
  89. package/dist/dist/ActionSheet.d.ts +0 -139
  90. package/dist/dist/ActionSheet.js +0 -637
  91. package/dist/dist/ActionSheet.js.map +0 -1
  92. package/dist/dist/Banner.d.ts +0 -12
  93. package/dist/dist/Banner.js +0 -49
  94. package/dist/dist/Banner.js.map +0 -1
  95. package/dist/dist/Banner.stories.d.ts +0 -1
  96. package/dist/dist/Banner.stories.js +0 -9
  97. package/dist/dist/Banner.stories.js.map +0 -1
  98. package/dist/dist/BlurBox.d.ts +0 -7
  99. package/dist/dist/BlurBox.js +0 -29
  100. package/dist/dist/BlurBox.js.map +0 -1
  101. package/dist/dist/BlurBox.native.d.ts +0 -9
  102. package/dist/dist/BlurBox.native.js +0 -32
  103. package/dist/dist/BlurBox.native.js.map +0 -1
  104. package/dist/dist/Body.d.ts +0 -12
  105. package/dist/dist/Body.js +0 -19
  106. package/dist/dist/Body.js.map +0 -1
  107. package/dist/dist/Box.d.ts +0 -205
  108. package/dist/dist/Box.js +0 -229
  109. package/dist/dist/Box.js.map +0 -1
  110. package/dist/dist/Box.stories.d.ts +0 -1
  111. package/dist/dist/Box.stories.js +0 -37
  112. package/dist/dist/Box.stories.js.map +0 -1
  113. package/dist/dist/Button.d.ts +0 -16
  114. package/dist/dist/Button.js +0 -98
  115. package/dist/dist/Button.js.map +0 -1
  116. package/dist/dist/Button.stories.d.ts +0 -13
  117. package/dist/dist/Button.stories.js +0 -26
  118. package/dist/dist/Button.stories.js.map +0 -1
  119. package/dist/dist/Card.d.ts +0 -6
  120. package/dist/dist/Card.js +0 -9
  121. package/dist/dist/Card.js.map +0 -1
  122. package/dist/dist/Card.stories.d.ts +0 -6
  123. package/dist/dist/Card.stories.js +0 -11
  124. package/dist/dist/Card.stories.js.map +0 -1
  125. package/dist/dist/CheckBox.d.ts +0 -8
  126. package/dist/dist/CheckBox.js +0 -23
  127. package/dist/dist/CheckBox.js.map +0 -1
  128. package/dist/dist/CheckBox.stories.d.ts +0 -1
  129. package/dist/dist/CheckBox.stories.js +0 -22
  130. package/dist/dist/CheckBox.stories.js.map +0 -1
  131. package/dist/dist/Common.d.ts +0 -5
  132. package/dist/dist/Common.js +0 -47
  133. package/dist/dist/Common.js.map +0 -1
  134. package/dist/dist/DateTimeActionSheet.d.ts +0 -5
  135. package/dist/dist/DateTimeActionSheet.js +0 -24
  136. package/dist/dist/DateTimeActionSheet.js.map +0 -1
  137. package/dist/dist/DecimalRangeActionSheet.d.ts +0 -9
  138. package/dist/dist/DecimalRangeActionSheet.js +0 -57
  139. package/dist/dist/DecimalRangeActionSheet.js.map +0 -1
  140. package/dist/dist/ErrorBoundary.d.ts +0 -12
  141. package/dist/dist/ErrorBoundary.js +0 -32
  142. package/dist/dist/ErrorBoundary.js.map +0 -1
  143. package/dist/dist/ErrorPage.d.ts +0 -7
  144. package/dist/dist/ErrorPage.js +0 -15
  145. package/dist/dist/ErrorPage.js.map +0 -1
  146. package/dist/dist/Field.d.ts +0 -17
  147. package/dist/dist/Field.js +0 -136
  148. package/dist/dist/Field.js.map +0 -1
  149. package/dist/dist/Field.stories.d.ts +0 -6
  150. package/dist/dist/Field.stories.js +0 -25
  151. package/dist/dist/Field.stories.js.map +0 -1
  152. package/dist/dist/FieldWithLabels.d.ts +0 -10
  153. package/dist/dist/FieldWithLabels.js +0 -7
  154. package/dist/dist/FieldWithLabels.js.map +0 -1
  155. package/dist/dist/FlatList.d.ts +0 -1
  156. package/dist/dist/FlatList.js +0 -4
  157. package/dist/dist/FlatList.js.map +0 -1
  158. package/dist/dist/Form.d.ts +0 -15
  159. package/dist/dist/Form.js +0 -56
  160. package/dist/dist/Form.js.map +0 -1
  161. package/dist/dist/Form.stories.d.ts +0 -6
  162. package/dist/dist/Form.stories.js +0 -27
  163. package/dist/dist/Form.stories.js.map +0 -1
  164. package/dist/dist/HeaderButtons.d.ts +0 -39
  165. package/dist/dist/HeaderButtons.js +0 -50
  166. package/dist/dist/HeaderButtons.js.map +0 -1
  167. package/dist/dist/HeaderButtons.stories.d.ts +0 -6
  168. package/dist/dist/HeaderButtons.stories.js +0 -7
  169. package/dist/dist/HeaderButtons.stories.js.map +0 -1
  170. package/dist/dist/Heading.d.ts +0 -32
  171. package/dist/dist/Heading.js +0 -47
  172. package/dist/dist/Heading.js.map +0 -1
  173. package/dist/dist/Heading.stories.d.ts +0 -1
  174. package/dist/dist/Heading.stories.js +0 -11
  175. package/dist/dist/Heading.stories.js.map +0 -1
  176. package/dist/dist/HeightActionSheet.d.ts +0 -9
  177. package/dist/dist/HeightActionSheet.js +0 -50
  178. package/dist/dist/HeightActionSheet.js.map +0 -1
  179. package/dist/dist/Icon.d.ts +0 -12
  180. package/dist/dist/Icon.js +0 -126
  181. package/dist/dist/Icon.js.map +0 -1
  182. package/dist/dist/Icon.stories.d.ts +0 -1
  183. package/dist/dist/Icon.stories.js +0 -11
  184. package/dist/dist/Icon.stories.js.map +0 -1
  185. package/dist/dist/IconButton.d.ts +0 -42
  186. package/dist/dist/IconButton.js +0 -41
  187. package/dist/dist/IconButton.js.map +0 -1
  188. package/dist/dist/IconButton.stories.d.ts +0 -1
  189. package/dist/dist/IconButton.stories.js +0 -8
  190. package/dist/dist/IconButton.stories.js.map +0 -1
  191. package/dist/dist/Image.d.ts +0 -9
  192. package/dist/dist/Image.js +0 -37
  193. package/dist/dist/Image.js.map +0 -1
  194. package/dist/dist/ImageBackground.d.ts +0 -6
  195. package/dist/dist/ImageBackground.js +0 -9
  196. package/dist/dist/ImageBackground.js.map +0 -1
  197. package/dist/dist/Layer.d.ts +0 -5
  198. package/dist/dist/Layer.js +0 -13
  199. package/dist/dist/Layer.js.map +0 -1
  200. package/dist/dist/Link.d.ts +0 -7
  201. package/dist/dist/Link.js +0 -13
  202. package/dist/dist/Link.js.map +0 -1
  203. package/dist/dist/Link.stories.d.ts +0 -1
  204. package/dist/dist/Link.stories.js +0 -8
  205. package/dist/dist/Link.stories.js.map +0 -1
  206. package/dist/dist/Mask.d.ts +0 -5
  207. package/dist/dist/Mask.js +0 -23
  208. package/dist/dist/Mask.js.map +0 -1
  209. package/dist/dist/Mask.stories.d.ts +0 -1
  210. package/dist/dist/Mask.stories.js +0 -13
  211. package/dist/dist/Mask.stories.js.map +0 -1
  212. package/dist/dist/MediaQuery.d.ts +0 -2
  213. package/dist/dist/MediaQuery.js +0 -34
  214. package/dist/dist/MediaQuery.js.map +0 -1
  215. package/dist/dist/Meta.d.ts +0 -6
  216. package/dist/dist/Meta.js +0 -8
  217. package/dist/dist/Meta.js.map +0 -1
  218. package/dist/dist/ModalSheet.d.ts +0 -3
  219. package/dist/dist/ModalSheet.js +0 -43
  220. package/dist/dist/ModalSheet.js.map +0 -1
  221. package/dist/dist/NumberPickerActionSheet.d.ts +0 -5
  222. package/dist/dist/NumberPickerActionSheet.js +0 -25
  223. package/dist/dist/NumberPickerActionSheet.js.map +0 -1
  224. package/dist/dist/Page.d.ts +0 -9
  225. package/dist/dist/Page.js +0 -26
  226. package/dist/dist/Page.js.map +0 -1
  227. package/dist/dist/Permissions.d.ts +0 -1
  228. package/dist/dist/Permissions.js +0 -36
  229. package/dist/dist/Permissions.js.map +0 -1
  230. package/dist/dist/PickerSelect.d.ts +0 -172
  231. package/dist/dist/PickerSelect.js +0 -403
  232. package/dist/dist/PickerSelect.js.map +0 -1
  233. package/dist/dist/Pill.d.ts +0 -7
  234. package/dist/dist/Pill.js +0 -10
  235. package/dist/dist/Pill.js.map +0 -1
  236. package/dist/dist/Pill.stories.d.ts +0 -1
  237. package/dist/dist/Pill.stories.js +0 -36
  238. package/dist/dist/Pill.stories.js.map +0 -1
  239. package/dist/dist/Pog.d.ts +0 -7
  240. package/dist/dist/Pog.js +0 -144
  241. package/dist/dist/Pog.js.map +0 -1
  242. package/dist/dist/ProgressBar.d.ts +0 -16
  243. package/dist/dist/ProgressBar.js +0 -40
  244. package/dist/dist/ProgressBar.js.map +0 -1
  245. package/dist/dist/ScrollView.d.ts +0 -1
  246. package/dist/dist/ScrollView.js +0 -4
  247. package/dist/dist/ScrollView.js.map +0 -1
  248. package/dist/dist/SegmentedControl.d.ts +0 -9
  249. package/dist/dist/SegmentedControl.js +0 -18
  250. package/dist/dist/SegmentedControl.js.map +0 -1
  251. package/dist/dist/SegmentedControl.stories.d.ts +0 -1
  252. package/dist/dist/SegmentedControl.stories.js +0 -32
  253. package/dist/dist/SegmentedControl.stories.js.map +0 -1
  254. package/dist/dist/SelectList.d.ts +0 -9
  255. package/dist/dist/SelectList.js +0 -29
  256. package/dist/dist/SelectList.js.map +0 -1
  257. package/dist/dist/SelectList.stories.d.ts +0 -1
  258. package/dist/dist/SelectList.stories.js +0 -24
  259. package/dist/dist/SelectList.stories.js.map +0 -1
  260. package/dist/dist/Spinner.d.ts +0 -44
  261. package/dist/dist/Spinner.js +0 -58
  262. package/dist/dist/Spinner.js.map +0 -1
  263. package/dist/dist/Spinner.stories.d.ts +0 -1
  264. package/dist/dist/Spinner.stories.js +0 -10
  265. package/dist/dist/Spinner.stories.js.map +0 -1
  266. package/dist/dist/SplitPage.d.ts +0 -7
  267. package/dist/dist/SplitPage.js +0 -20
  268. package/dist/dist/SplitPage.js.map +0 -1
  269. package/dist/dist/SplitPage.stories.d.ts +0 -1
  270. package/dist/dist/SplitPage.stories.js +0 -7
  271. package/dist/dist/SplitPage.stories.js.map +0 -1
  272. package/dist/dist/StorybookContainer.d.ts +0 -7
  273. package/dist/dist/StorybookContainer.js +0 -9
  274. package/dist/dist/StorybookContainer.js.map +0 -1
  275. package/dist/dist/Switch.d.ts +0 -6
  276. package/dist/dist/Switch.js +0 -10
  277. package/dist/dist/Switch.js.map +0 -1
  278. package/dist/dist/Switch.stories.d.ts +0 -1
  279. package/dist/dist/Switch.stories.js +0 -27
  280. package/dist/dist/Switch.stories.js.map +0 -1
  281. package/dist/dist/TapToEdit.d.ts +0 -9
  282. package/dist/dist/TapToEdit.js +0 -27
  283. package/dist/dist/TapToEdit.js.map +0 -1
  284. package/dist/dist/Text.d.ts +0 -36
  285. package/dist/dist/Text.js +0 -86
  286. package/dist/dist/Text.js.map +0 -1
  287. package/dist/dist/Text.stories.d.ts +0 -1
  288. package/dist/dist/Text.stories.js +0 -13
  289. package/dist/dist/Text.stories.js.map +0 -1
  290. package/dist/dist/TextArea.d.ts +0 -6
  291. package/dist/dist/TextArea.js +0 -13
  292. package/dist/dist/TextArea.js.map +0 -1
  293. package/dist/dist/TextArea.stories.d.ts +0 -12
  294. package/dist/dist/TextArea.stories.js +0 -21
  295. package/dist/dist/TextArea.stories.js.map +0 -1
  296. package/dist/dist/TextField.d.ts +0 -47
  297. package/dist/dist/TextField.js +0 -199
  298. package/dist/dist/TextField.js.map +0 -1
  299. package/dist/dist/TextField.stories.d.ts +0 -6
  300. package/dist/dist/TextField.stories.js +0 -15
  301. package/dist/dist/TextField.stories.js.map +0 -1
  302. package/dist/dist/TextFieldNumberActionSheet.d.ts +0 -5
  303. package/dist/dist/TextFieldNumberActionSheet.js +0 -24
  304. package/dist/dist/TextFieldNumberActionSheet.js.map +0 -1
  305. package/dist/dist/UnifiedScreens.d.ts +0 -2
  306. package/dist/dist/UnifiedScreens.js +0 -26
  307. package/dist/dist/UnifiedScreens.js.map +0 -1
  308. package/dist/dist/Unifier.d.ts +0 -131
  309. package/dist/dist/Unifier.js +0 -198
  310. package/dist/dist/Unifier.js.map +0 -1
  311. package/dist/dist/Utilities.d.ts +0 -51
  312. package/dist/dist/Utilities.js +0 -77
  313. package/dist/dist/Utilities.js.map +0 -1
  314. package/dist/dist/WithLabel.d.ts +0 -6
  315. package/dist/dist/WithLabel.js +0 -23
  316. package/dist/dist/WithLabel.js.map +0 -1
  317. package/dist/dist/index.d.ts +0 -43
  318. package/dist/dist/index.js +0 -49
  319. package/dist/dist/index.js.map +0 -1
@@ -1,28 +0,0 @@
1
- import React from "react";
2
- import { CheckBox } from "./CheckBox";
3
- import { WithLabel } from "./WithLabel";
4
- import { storiesOf } from "@storybook/react-native";
5
- import { StorybookContainer } from "./StorybookContainer";
6
- class Forms extends React.Component {
7
- constructor(props) {
8
- super(props);
9
- this.state = {
10
- boolean: false,
11
- withLabel: false,
12
- primary: false,
13
- small: false,
14
- };
15
- }
16
- render() {
17
- return (React.createElement(StorybookContainer, null,
18
- React.createElement(CheckBox, { id: "check", checked: this.state.boolean, onChange: (result) => this.setState({ boolean: result.value }) }),
19
- React.createElement(WithLabel, { label: "With A Label" },
20
- React.createElement(CheckBox, { id: "withLabel", checked: this.state.withLabel, onChange: (result) => this.setState({ withLabel: result.value }) })),
21
- React.createElement(WithLabel, { label: "Primary Color" },
22
- React.createElement(CheckBox, { id: "primary", checked: this.state.primary, label: "Primary Color", color: "primary", labelColor: "primary", onChange: (result) => this.setState({ primary: result.value }) })),
23
- React.createElement(WithLabel, { label: "Small" },
24
- React.createElement(CheckBox, { id: "small", checked: this.state.small, label: "Small", size: "sm", onChange: (result) => this.setState({ small: result.value }) }))));
25
- }
26
- }
27
- storiesOf("Check Box", module).add("Plain", () => React.createElement(Forms, null));
28
- //# sourceMappingURL=CheckBox.stories.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"CheckBox.stories.js","sourceRoot":"","sources":["../unifier/CheckBox.stories.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,EAAC,QAAQ,EAAC,MAAM,YAAY,CAAC;AACpC,OAAO,EAAC,SAAS,EAAC,MAAM,aAAa,CAAC;AACtC,OAAO,EAAC,SAAS,EAAC,MAAM,yBAAyB,CAAC;AAClD,OAAO,EAAC,kBAAkB,EAAC,MAAM,sBAAsB,CAAC;AASxD,MAAM,KAAM,SAAQ,KAAK,CAAC,SAAoB;IAC5C,YAAY,KAAU;QACpB,KAAK,CAAC,KAAK,CAAC,C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CAAC,MAAM,EAAE,EAAE,CAAC,IAAI,CAAC,QAAQ,CAAC,EAAC,KAAK,EAAE,MAAM,CAAC,KAAK,EAAC,CAAC,GAC1D,CACQ,CACO,CACtB,CAAC;IACJ,CAAC;CACF;AAED,SAAS,CAAC,WAAW,EAAE,MAAM,CAAC,CAAC,GAAG,CAAC,OAAO,EAAE,GAAG,EAAE,CAAC,oBAAC,KAAK,OAAG,CAAC,CAAC"}
@@ -1,6 +0,0 @@
1
- import { Field } from "./Field";
2
- declare const _default: {
3
- title: string;
4
- component: typeof Field;
5
- };
6
- export default _default;
@@ -1,38 +0,0 @@
1
- import React from "react";
2
- import { Field } from "./Field";
3
- import { storiesOf } from "@storybook/react-native";
4
- import { StorybookContainer } from "./StorybookContainer";
5
- export default {
6
- title: "Field",
7
- component: Field,
8
- };
9
- storiesOf("Field", module)
10
- .add("TextField", () => (React.createElement(StorybookContainer, null,
11
- React.createElement(Field, { label: "Text Field", type: "text", name: "text", helperText: "Here's some help text", initialValue: "Pre-filled text", handleChange: () => { } }),
12
- React.createElement(Field, { label: "Disabled Field", type: "text", name: "text", disabled: true, helperText: "Here's some help text", initialValue: "Pre-filled text", handleChange: () => { } }))))
13
- .add("Boolean Field", () => (React.createElement(StorybookContainer, null,
14
- React.createElement(Field, { label: "Boolean Field", type: "boolean", name: "text", helperText: "Here's some help text", handleChange: () => { } }))))
15
- .add("Email Text Field", () => (React.createElement(StorybookContainer, null,
16
- React.createElement(Field, { label: "Email Field", type: "email", name: "text", helperText: "Here's some help text", handleChange: () => { } }),
17
- React.createElement(Field, { label: "Email Field With Extra Validation", type: "email", name: "text", helperText: "Requires @example.com", handleChange: () => { }, validate: (value) => value.search("@example.com") > -1, validateErrorMessage: "Must be an example.com email" }))))
18
- .add("Text Area Field", () => (React.createElement(StorybookContainer, null,
19
- React.createElement(Field, { label: "TextArea Field", type: "textarea", name: "text", helperText: "Here's some help text", handleChange: () => { } }),
20
- React.createElement(Field, { label: "Large TextArea ", type: "textarea", name: "text", rows: 10, helperText: "Here's some help text", handleChange: () => { } }))))
21
- .add("Number Field", () => (React.createElement(StorybookContainer, null,
22
- React.createElement(Field, { label: "Number Field", type: "number", name: "text", helperText: "Here's some help text", handleChange: () => { } }))))
23
- .add("Currency Field", () => (React.createElement(StorybookContainer, null,
24
- React.createElement(Field, { label: "Currency Field", type: "currency", name: "text", helperText: "Here's some help text", handleChange: () => { } }))))
25
- .add("Percent Field", () => (React.createElement(StorybookContainer, null,
26
- React.createElement(Field, { label: "Percent Field", type: "percent", name: "text", helperText: "Here's some help text", handleChange: () => { } }))))
27
- .add("Select Field", () => (React.createElement(StorybookContainer, null,
28
- React.createElement(Field, { label: "Select Field", type: "select", name: "text", helperText: "Here's some help text", handleChange: () => { }, options: [
29
- { label: "Option 1", value: "Option 1" },
30
- { label: "Option 2", value: "Option 2" },
31
- ] }))))
32
- .add("Password Field", () => (React.createElement(StorybookContainer, null,
33
- React.createElement(Field, { label: "Password Field", type: "password", name: "text", helperText: "Here's some help text", handleChange: () => { } }))))
34
- .add("URL Field", () => (React.createElement(StorybookContainer, null,
35
- React.createElement(Field, { label: "Url Field", type: "url", name: "text", helperText: "Here's some help text", handleChange: () => { } }))))
36
- .add("Date Field", () => (React.createElement(StorybookContainer, null,
37
- React.createElement(Field, { label: "Date Field", type: "date", name: "text", helperText: "Here's some help text", handleChange: () => { } }))));
38
- //# sourceMappingURL=Field.stories.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"Field.stories.js","sourceRoot":"","sources":["../unifier/Field.stories.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,EAAC,KAAK,EAAC,MAAM,SAAS,CAAC;AAC9B,OAAO,EAAC,SAAS,EAAC,MAAM,yBAAyB,CAAC;AAClD,OAAO,EAAC,kBAAkB,EAAC,MAAM,sBAAsB,CAAC;AAExD,eAAe;IACb,KAAK,EAAE,OAAO;IACd,SAAS,EAAE,KAAK;CACjB,CAAC;AAEF,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"}
@@ -1,6 +0,0 @@
1
- import { FormLine } from "./Form";
2
- declare const _default: {
3
- title: string;
4
- component: typeof FormLine;
5
- };
6
- export default _default;
@@ -1,36 +0,0 @@
1
- import React from "react";
2
- import { Box } from "./Box";
3
- import { FormLine } from "./Form";
4
- import { storiesOf } from "@storybook/react-native";
5
- import { StorybookContainer } from "./StorybookContainer";
6
- export default {
7
- title: "FormLine",
8
- component: FormLine,
9
- };
10
- class Forms extends React.Component {
11
- constructor(props) {
12
- super(props);
13
- this.state = {
14
- name: "",
15
- boolean: true,
16
- textarea: "",
17
- multiboolean: { one: true, two: true, three: true },
18
- select: undefined,
19
- };
20
- }
21
- render() {
22
- return (React.createElement(StorybookContainer, null,
23
- React.createElement(Box, { paddingY: 2 },
24
- React.createElement(FormLine, { name: "name", value: this.state.name, onSave: (name) => this.setState({ name }), kind: "string" })),
25
- React.createElement(Box, { paddingY: 2 },
26
- React.createElement(FormLine, { name: "boolean", value: this.state.boolean, onSave: (boolean) => this.setState({ boolean }), kind: "boolean" })),
27
- React.createElement(Box, { paddingY: 2 },
28
- React.createElement(FormLine, { name: "textarea", value: this.state.textarea, onSave: (textarea) => this.setState({ textarea }), kind: "textarea" })),
29
- React.createElement(Box, { paddingY: 2 },
30
- React.createElement(FormLine, { name: "multiboolean", value: this.state.multiboolean, onSave: (multiboolean) => this.setState({ multiboolean }), kind: "multiboolean" })),
31
- React.createElement(Box, { paddingY: 2 },
32
- React.createElement(FormLine, { name: "select", value: this.state.select, onSave: (select) => this.setState({ select }), kind: "select", options: [undefined, "ay", "bee", "see"] }))));
33
- }
34
- }
35
- storiesOf("Form", module).add("Forms", () => React.createElement(Forms, null));
36
- //# sourceMappingURL=Form.stories.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"Form.stories.js","sourceRoot":"","sources":["../unifier/Form.stories.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAC,GAAG,EAAC,MAAM,OAAO,CA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AAU,EACf,KAAK,EAAE,IAAI,CAAC,KAAK,CAAC,QAAQ,EAC1B,MAAM,EAAE,CAAC,QAAQ,EAAE,EAAE,CAAC,IAAI,CAAC,QAAQ,CAAC,EAAC,QAAQ,EAAC,CAAC,EAC/C,IAAI,EAAC,UAAU,GACf,CACE;YACN,oBAAC,GAAG,IAAC,QAAQ,EAAE,CAAC;gBACd,oBAAC,QAAQ,IACP,IAAI,EAAC,cAAc,EACnB,KAAK,EAAE,IAAI,CAAC,KAAK,CAAC,YAAY,EAC9B,MAAM,EAAE,CAAC,YAAY,EAAE,EAAE,CAAC,IAAI,CAAC,QAAQ,CAAC,EAAC,YAAY,EAAC,CAAC,EACvD,IAAI,EAAC,cAAc,GACnB,CACE;YACN,oBAAC,GAAG,IAAC,QAAQ,EAAE,CAAC;gBACd,oBAAC,QAAQ,IACP,IAAI,EAAC,QAAQ,EACb,KAAK,EAAE,IAAI,CAAC,KAAK,CAAC,MAAM,EACxB,MAAM,EAAE,CAAC,MAAM,EAAE,EAAE,CAAC,IAAI,CAAC,QAAQ,CAAC,EAAC,MAAM,EAAC,CAAC,EAC3C,IAAI,EAAC,QAAQ,EACb,OAAO,EAAE,CAAC,SAAS,EAAE,IAAI,EAAE,KAAK,EAAE,KAAK,CAAC,GACxC,CACE,CACa,CACtB,CAAC;IACJ,CAAC;CACF;AAED,SAAS,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC,GAAG,CAAC,OAAO,EAAE,GAAG,EAAE,CAAC,oBAAC,KAAK,OAAG,CAAC,CAAC"}
@@ -1,6 +0,0 @@
1
- import { HeaderButton } from ".";
2
- declare const _default: {
3
- title: string;
4
- component: typeof HeaderButton;
5
- };
6
- export default _default;
@@ -1,6 +0,0 @@
1
- import { HeaderButton } from ".";
2
- export default {
3
- title: "HeaderButtons",
4
- component: HeaderButton,
5
- };
6
- //# sourceMappingURL=HeaderButtons.stories.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"HeaderButtons.stories.js","sourceRoot":"","sources":["../unifier/HeaderButtons.stories.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAC,YAAY,EAAC,MAAM,GAAG,CAAC;AAE/B,eAAe;IACb,KAAK,EAAE,eAAe;IACtB,SAAS,EAAE,YAAY;CACxB,CAAC"}
@@ -1 +0,0 @@
1
- export {};
@@ -1,22 +0,0 @@
1
- import React from "react";
2
- import { Box } from "./Box";
3
- import { Heading } from "./Heading";
4
- import { storiesOf } from "@storybook/react-native";
5
- import { StorybookContainer } from "./StorybookContainer";
6
- function renderText(text, props) {
7
- return (React.createElement(Box, { width: "100%", paddingY: 1 },
8
- React.createElement(Heading, Object.assign({}, props), text)));
9
- }
10
- storiesOf("Headings", module).add("Headings", () => (React.createElement(StorybookContainer, null,
11
- renderText("Default Heading - h1", {}),
12
- renderText("medium - h2", { size: "md" }),
13
- renderText("small - h3", { size: "sm" }),
14
- renderText("gray", { color: "gray" }),
15
- renderText("lightGray", { color: "lightGray" }),
16
- renderText("primary", { color: "primary" }),
17
- renderText("secondary", { color: "secondary" }),
18
- renderText("tertiary", { color: "tertiary" }),
19
- renderText("accent", { color: "accent" }),
20
- renderText("red", { color: "red" }),
21
- renderText("center", { align: "center" }))));
22
- //# sourceMappingURL=Heading.stories.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"Heading.stories.js","sourceRoot":"","sources":["../unifier/Heading.stories.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAC,GAAG,EAAC,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAC,OAAO,EAAC,MAAM,WAAW,CAAC;AAElC,OAAO,EAAC,SAAS,EAAC,MAAM,yBAAyB,CAAC;AAClD,OAAO,EAAC,kBAAkB,EAAC,MAAM,sBAAsB,CAAC;AAExD,SAAS,UAAU,CAAC,IAAY,EAAE,KAA4B;IAC5D,OAAO,CACL,oBAAC,GAAG,IAAC,KAAK,EAAC,MAAM,EAAC,QAAQ,EAAE,CAAC;QAC3B,oBAAC,OAAO,oBAAK,KAAK,GAAG,IAAI,CAAW,CAChC,CACP,CAAC;AACJ,CAAC;AAED,SAAS,CAAC,UAAU,EAAE,MAAM,CAAC,CAAC,GAAG,CAAC,UAAU,EAAE,GAAG,EAAE,CAAC,CAClD,oBAAC,kBAAkB;IAChB,UAAU,CAAC,sBAAsB,EAAE,EAAE,CAAC;IACtC,UAAU,CAAC,aAAa,EAAE,EAAC,IAAI,EAAE,IAAI,EAAC,CAAC;IACvC,UAAU,CAAC,YAAY,EAAE,EAAC,IAAI,EAAE,IAAI,EAAC,CAAC;IACtC,UAAU,CAAC,MAAM,EAAE,EAAC,KAAK,EAAE,MAAM,EAAC,CAAC;IACnC,UAAU,CAAC,WAAW,EAAE,EAAC,KAAK,EAAE,WAAW,EAAC,CAAC;IAC7C,UAAU,CAAC,SAAS,EAAE,EAAC,KAAK,EAAE,SAAS,EAAC,CAAC;IACzC,UAAU,CAAC,WAAW,EAAE,EAAC,KAAK,EAAE,WAAW,EAAC,CAAC;IAC7C,UAAU,CAAC,UAAU,EAAE,EAAC,KAAK,EAAE,UAAU,EAAC,CAAC;IAC3C,UAAU,CAAC,QAAQ,EAAE,EAAC,KAAK,EAAE,QAAQ,EAAC,CAAC;IACvC,UAAU,CAAC,KAAK,EAAE,EAAC,KAAK,EAAE,KAAK,EAAC,CAAC;IACjC,UAAU,CAAC,QAAQ,EAAE,EAAC,KAAK,EAAE,QAAQ,EAAC,CAAC,CACrB,CACtB,CAAC,CAAC"}
@@ -1 +0,0 @@
1
- export {};
@@ -1,30 +0,0 @@
1
- import React from "react";
2
- import { Box } from "./Box";
3
- import { Icon, IconExpo } from "./Icon";
4
- import { storiesOf } from "@storybook/react-native";
5
- import { StorybookContainer } from "./StorybookContainer";
6
- storiesOf("Icon", module)
7
- .add("Solid Icons", () => (React.createElement(StorybookContainer, null,
8
- React.createElement(Box, { width: "100%", height: "100%", display: "flex", direction: "row", justifyContent: "between" },
9
- React.createElement(IconExpo, { prefix: "fas", name: "heart" }),
10
- React.createElement(Icon, { prefix: "fas", name: "plus" }),
11
- React.createElement(Icon, { prefix: "fas", name: "edit" })))))
12
- .add("Regular Icons", () => (React.createElement(StorybookContainer, null,
13
- React.createElement(Box, { width: "100%", height: "100%", display: "flex", direction: "row", justifyContent: "between" },
14
- React.createElement(Icon, { prefix: "far", name: "heart" }),
15
- React.createElement(Icon, { prefix: "far", name: "plus" }),
16
- React.createElement(Icon, { prefix: "far", name: "edit" }),
17
- React.createElement(Icon, { prefix: "far", name: "heart" })))))
18
- .add("Icon Sizes", () => (React.createElement(StorybookContainer, null,
19
- React.createElement(Box, { width: "100%", height: "100%", display: "flex", direction: "row", justifyContent: "between" },
20
- React.createElement(Icon, { prefix: "fas", name: "heart", size: 8 }),
21
- React.createElement(Icon, { prefix: "far", name: "heart", size: 8 }),
22
- React.createElement(Icon, { prefix: "fas", name: "heart", size: 12 }),
23
- React.createElement(Icon, { prefix: "far", name: "heart", size: 12 }),
24
- React.createElement(Icon, { prefix: "fas", name: "heart", size: 15 }),
25
- React.createElement(Icon, { prefix: "far", name: "heart", size: 15 }),
26
- React.createElement(Icon, { prefix: "fas", name: "heart", size: 22 }),
27
- React.createElement(Icon, { prefix: "far", name: "heart", size: 22 }),
28
- React.createElement(Icon, { prefix: "fas", name: "heart", size: 28 }),
29
- React.createElement(Icon, { prefix: "far", name: "heart", size: 28 })))));
30
- //# sourceMappingURL=Icon.stories.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"Icon.stories.js","sourceRoot":"","sources":["../unifier/Icon.stories.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAC,GAAG,EAAC,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAC,IAAI,EAAE,QAAQ,EAAC,MAAM,QAAQ,CAAC;AACtC,OAAO,EAAC,SAAS,EAAC,MAAM,yBAAyB,CAAC;AAClD,OAAO,EAAC,kBAAkB,EAAC,MAAM,sBAAsB,CAAC;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QACrF,oBAAC,IAAI,IAAC,MAAM,EAAC,KAAK,EAAC,IAAI,EAAC,OAAO,EAAC,IAAI,EAAE,CAAC,GAAI;QAC3C,oBAAC,IAAI,IAAC,MAAM,EAAC,KAAK,EAAC,IAAI,EAAC,OAAO,EAAC,IAAI,EAAE,CAAC,GAAI;QAE3C,oBAAC,IAAI,IAAC,MAAM,EAAC,KAAK,EAAC,IAAI,EAAC,OAAO,EAAC,IAAI,EAAE,EAAE,GAAI;QAC5C,oBAAC,IAAI,IAAC,MAAM,EAAC,KAAK,EAAC,IAAI,EAAC,OAAO,EAAC,IAAI,EAAE,EAAE,GAAI;QAE5C,oBAAC,IAAI,IAAC,MAAM,EAAC,KAAK,EAAC,IAAI,EAAC,OAAO,EAAC,IAAI,EAAE,EAAE,GAAI;QAC5C,oBAAC,IAAI,IAAC,MAAM,EAAC,KAAK,EAAC,IAAI,EAAC,OAAO,EAAC,IAAI,EAAE,EAAE,GAAI;QAE5C,oBAAC,IAAI,IAAC,MAAM,EAAC,KAAK,EAAC,IAAI,EAAC,OAAO,EAAC,IAAI,EAAE,EAAE,GAAI;QAC5C,oBAAC,IAAI,IAAC,MAAM,EAAC,KAAK,EAAC,IAAI,EAAC,OAAO,EAAC,IAAI,EAAE,EAAE,GAAI;QAE5C,oBAAC,IAAI,IAAC,MAAM,EAAC,KAAK,EAAC,IAAI,EAAC,OAAO,EAAC,IAAI,EAAE,EAAE,GAAI;QAC5C,oBAAC,IAAI,IAAC,MAAM,EAAC,KAAK,EAAC,IAAI,EAAC,OAAO,EAAC,IAAI,EAAE,EAAE,GAAI,CACxC,CACa,CACtB,CAAC,CAAC"}
@@ -1 +0,0 @@
1
- export {};
@@ -1,16 +0,0 @@
1
- import React from "react";
2
- import { Box } from "./Box";
3
- import { IconButton } from "./IconButton";
4
- import { storiesOf } from "@storybook/react-native";
5
- import { StorybookContainer } from "./StorybookContainer";
6
- storiesOf("IconButton", module).add("Icon Buttons", () => (React.createElement(StorybookContainer, null,
7
- React.createElement(IconButton, { icon: "plus", prefix: "fas", accessibilityLabel: "label", iconColor: "primary", onClick: () => { } }),
8
- React.createElement(IconButton, { icon: "plus", prefix: "fas", accessibilityLabel: "label", iconColor: "secondary", onClick: () => { } }),
9
- React.createElement(IconButton, { icon: "plus", prefix: "fas", accessibilityLabel: "label", iconColor: "primary", onClick: () => { } }),
10
- React.createElement(IconButton, { icon: "plus", prefix: "fas", accessibilityLabel: "label", iconColor: "primary", onClick: () => { }, size: "xl" }),
11
- React.createElement(IconButton, { icon: "plus", prefix: "fas", accessibilityLabel: "label", iconColor: "primary", onClick: () => { }, bgColor: "lightGray" }),
12
- React.createElement(IconButton, { icon: "plus", prefix: "fas", accessibilityLabel: "label", iconColor: "primary", onClick: () => { }, bgColor: "gray" }),
13
- React.createElement(IconButton, { icon: "plus", prefix: "fas", accessibilityLabel: "label", iconColor: "primary", onClick: () => { }, bgColor: "transparentDarkGray" }),
14
- React.createElement(Box, { padding: 4, color: "darkGray" },
15
- React.createElement(IconButton, { icon: "plus", prefix: "fas", accessibilityLabel: "label", iconColor: "primary", onClick: () => { }, bgColor: "white" })))));
16
- //# sourceMappingURL=IconButton.stories.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"IconButton.stories.js","sourceRoot":"","sources":["../unifier/IconButton.stories.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAC,GAAG,EAAC,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAC,UAAU,EAAC,MAAM,cAAc,CAAC;AACxC,OAAO,EAAC,SAAS,EAAC,MAAM,yBAAyB,CAAC;AAClD,OAAO,EAAC,kBAAkB,EAAC,MAAM,sBAAsB,CAAC;AAExD,SAAS,CAAC,YAAY,EAAE,MAAM,CAAC,CAAC,GAAG,CAAC,cAAc,EAAE,GAAG,EAAE,CAAC,CACxD,oBAAC,kBAAkB;IACjB,oBAAC,UAAU,IACT,IAAI,EAAC,MAAM,EACX,MAAM,EAAC,KA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KAAK,EAAC,UAAU;QAC/B,oBAAC,UAAU,IACT,IAAI,EAAC,MAAM,EACX,MAAM,EAAC,KAAK,EACZ,kBAAkB,EAAC,OAAO,EAC1B,SAAS,EAAC,SAAS,EACnB,OAAO,EAAE,GAAG,EAAE,GAAE,CAAC,EACjB,OAAO,EAAC,OAAO,GACf,CACE,CACa,CACtB,CAAC,CAAC"}
@@ -1 +0,0 @@
1
- export {};
@@ -1,18 +0,0 @@
1
- import React from "react";
2
- import { Link } from "./Link";
3
- import { Text } from "./Text";
4
- import { storiesOf } from "@storybook/react-native";
5
- import { StorybookContainer } from "./StorybookContainer";
6
- storiesOf("Links", module).add("Links", () => (React.createElement(StorybookContainer, null,
7
- React.createElement(Link, { href: "http://google.com" },
8
- React.createElement(Text, null, "http://google.com")),
9
- React.createElement(Link, { href: "http://google.com", target: "blank" },
10
- React.createElement(Text, null, "Open new tab")),
11
- React.createElement(Link, { href: "http://google.com", target: "blank" },
12
- React.createElement(Text, { color: "blue" }, "Colored links")),
13
- React.createElement(Text, null,
14
- "Here is an inline link:",
15
- React.createElement(Link, { href: "http://google.com", inline: true },
16
- React.createElement(Text, null, "Some Link")),
17
- "And a bit more text."))));
18
- //# sourceMappingURL=Link.stories.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"Link.stories.js","sourceRoot":"","sources":["../unifier/Link.stories.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,EAAC,IAAI,EAAC,MAAM,QAAQ,CAAC;AAC5B,OAAO,EAAC,IAAI,EAAC,MAAM,QAAQ,CAAC;AAC5B,OAAO,EAAC,SAAS,EAAC,MAAM,yBAAyB,CAAC;AAClD,OAAO,EAAC,kBAAkB,EAAC,MAAM,sBAAsB,CAAC;AAExD,SAAS,CAAC,OAAO,EAAE,MAAM,CAAC,CAAC,GAAG,CAAC,OAAO,EAAE,GAAG,EAAE,CAAC,CAC5C,oBAAC,kBAAkB;IACjB,oBAAC,IAAI,IAAC,IAAI,EAAC,mBAAmB;QAC5B,oBAAC,IAAI,4BAAyB,CACzB;IACP,oBAAC,IAAI,IAAC,IAAI,EAAC,mBAAmB,EAAC,MAAM,EAAC,OAAO;QAC3C,oBAAC,IAAI,uBAAoB,CACpB;IACP,oBAAC,IAAI,IAAC,IAAI,EAAC,mBAAmB,EAAC,MAAM,EAAC,OAAO;QAC3C,oBAAC,IAAI,IAAC,KAAK,EAAC,MAAM,oBAAqB,CAClC;IAEP,oBAAC,IAAI;;QAEH,oBAAC,IAAI,IAAC,IAAI,EAAC,mBAAmB,EAAC,MAAM,EAAE,IAAI;YACzC,oBAAC,IAAI,oBAAiB,CACjB;+BAEF,CACY,CACtB,CAAC,CAAC"}
@@ -1 +0,0 @@
1
- export {};
@@ -1,28 +0,0 @@
1
- import React from "react";
2
- import { Box } from "./Box";
3
- import { Mask } from "./Mask";
4
- import { Text } from "./Text";
5
- import { storiesOf } from "@storybook/react-native";
6
- import { StorybookContainer } from "./StorybookContainer";
7
- storiesOf("Mask", module)
8
- .add("Rounded", () => (React.createElement(StorybookContainer, null,
9
- React.createElement(Box, { width: "100%", padding: 6, color: "primary" },
10
- React.createElement(Mask, { rounding: 3 },
11
- React.createElement(Box, { width: 50, height: 50, color: "white", display: "flex", justifyContent: "center", alignItems: "center" },
12
- React.createElement(Text, { color: "darkGray" }, "MA")))))))
13
- .add("Circle", () => (React.createElement(StorybookContainer, null,
14
- React.createElement(Box, { width: "100%", padding: 6, color: "primary" },
15
- React.createElement(Mask, { shape: "circle" },
16
- React.createElement(Box, { width: 50, height: 50, color: "white", display: "flex", justifyContent: "center", alignItems: "center" },
17
- React.createElement(Text, { color: "darkGray" }, "MA")))))))
18
- .add("Rounding", () => (React.createElement(StorybookContainer, null,
19
- React.createElement(Box, { width: "100%", padding: 6, color: "primary" },
20
- React.createElement(Mask, { rounding: 1 },
21
- React.createElement(Box, { width: 50, height: 50, color: "white", display: "flex", justifyContent: "center", alignItems: "center" },
22
- React.createElement(Text, { color: "darkGray" }, "MA")))))))
23
- .add("Washed", () => (React.createElement(StorybookContainer, null,
24
- React.createElement(Box, { width: "100%", padding: 6, color: "primary" },
25
- React.createElement(Mask, { rounding: 1, wash: true },
26
- React.createElement(Box, { width: 50, height: 50, color: "white", display: "flex", justifyContent: "center", alignItems: "center" },
27
- React.createElement(Text, { color: "darkGray" }, "MA")))))));
28
- //# sourceMappingURL=Mask.stories.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"Mask.stories.js","sourceRoot":"","sources":["../unifier/Mask.stories.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAC,GAAG,EAAC,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAC,IAAI,EAAC,MAAM,QAAQ,CAAC;AAC5B,OAAO,EAAC,IAAI,EAAC,MAAM,QAAQ,CAAC;AAC5B,OAAO,EAAC,SAAS,EAAC,MAAM,yBAAyB,CAAC;AAClD,OAAO,EAAC,kBAAkB,EAAC,MAAM,sBAAsB,CAAC;AAExD,SAAS,CAAC,MAAM,EAAE,MAAM,CAAC;KACtB,GAAG,CAAC,SAAS,EAAE,GAAG,EAAE,CAAC,CACpB,oBAAC,kBAAkB;IACjB,oBAAC,GAAG,IAAC,KAAK,EAAC,MAAM,EAAC,OAAO,EAAE,CAAC,EAAE,KAAK,EAAC,SAAS;QAC3C,oBAAC,IAAI,IAAC,QAAQ,EAAE,CAAC;YACf,oBAAC,GAAG,IACF,KAAK,EAAE,EAAE,EACT,MAAM,EAAE,EAAE,EACV,KAAK,EAAC,OAAO,EACb,OAAO,EAAC,MAAM,EACd,cAAc,EAAC,QAAQ,EACvB,UAAU,EAAC,QAAQ;gBAEnB,oBAAC,IAAI,IAAC,KAAK,EAAC,UAAU,SAAU,CAC5B,CACD,CACH,CACa,CACtB,CAAC;KACD,GAAG,CAAC,QAAQ,EAAE,GAAG,EAAE,CAAC,CACnB,oBAAC,kBAAkB;IACjB,oBAAC,GAAG,IAAC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K,EAAC,UAAU,SAAU,CAC5B,CACD,CACH,CACa,CACtB,CAAC,CAAC"}
@@ -1 +0,0 @@
1
- export {};
@@ -1,38 +0,0 @@
1
- import React from "react";
2
- import { Box } from "./Box";
3
- import { Pill } from "./Pill";
4
- import { storiesOf } from "@storybook/react-native";
5
- import { StorybookContainer } from "./StorybookContainer";
6
- const renderPill = (color) => (React.createElement(Box, { display: "flex", direction: "row", alignItems: "center", paddingY: 1 },
7
- React.createElement(Box, { marginRight: 2 },
8
- React.createElement(Pill, { text: color, color: color, onClick: () => { } })),
9
- React.createElement(Pill, { text: color, color: color, onClick: () => { }, enabled: true })));
10
- const colors = [
11
- "primary",
12
- "secondary",
13
- "tertiary",
14
- "accent",
15
- "blue",
16
- "darkGray",
17
- "eggplant",
18
- "gray",
19
- "green",
20
- "lightGray",
21
- "maroon",
22
- "midnight",
23
- "navy",
24
- "olive",
25
- "orange",
26
- "orchid",
27
- "pine",
28
- "purple",
29
- "red",
30
- "watermelon",
31
- "white",
32
- "neutral900",
33
- "neutral200",
34
- "neutral70",
35
- "neutral10",
36
- ];
37
- storiesOf("Pills", module).add("Pills", () => (React.createElement(StorybookContainer, null, colors.map((c) => renderPill(c)))));
38
- //# sourceMappingURL=Pill.stories.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"Pill.stories.js","sourceRoot":"","sources":["../unifier/Pill.stories.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAC,GAAG,EAAC,MAAM,OAAO,CAAC;AAE1B,OAAO,EAAC,IAAI,EAAC,MAAM,QAAQ,CAAC;AAC5B,OAAO,EAAC,SAAS,EAAC,MAAM,yBAAyB,CAAC;AAClD,OAAO,EAAC,kBAAkB,EAAC,MAAM,sBAAsB,CAAC;AAExD,MAAM,UAAU,GAAG,CAAC,KAAgB,EAAE,EAAE,CAAC,CACvC,oBAAC,GAAG,IAAC,OAAO,EAAC,MAAM,EAAC,SAAS,EAAC,KAAK,EAAC,UAAU,EAAC,QAAQ,EAAC,QAAQ,EAAE,CAAC;IACjE,oBAAC,GAAG,IAAC,WAAW,EAAE,CAAC;QACjB,oBAAC,IAAI,IAAC,IAAI,EAAE,KAAK,EAAE,KAAK,EAAE,KAAK,EAAE,OAAO,EAAE,GAAG,EAAE,GAAE,CAAC,GAAI,CAClD;IACN,oBAAC,IAAI,IAAC,IAAI,EAAE,KAAK,EAAE,KAAK,EAAE,KAAK,EAAE,OAAO,EAAE,GAAG,EAAE,GAAE,CAAC,EAAE,OAAO,EAAE,IAAI,GAAI,CACjE,CACP,CAAC;AAEF,MAAM,MAAM,GAAgB;IAC1B,SAAS;IACT,WAAW;IACX,UAAU;IACV,QAAQ;IACR,MAAM;IACN,UAAU;IACV,UAAU;IACV,MAAM;IACN,OAAO;IACP,WAAW;IACX,QAAQ;IACR,UAAU;IACV,MAAM;IACN,OAAO;IACP,QAAQ;IACR,QAAQ;IACR,MAAM;IACN,QAAQ;IACR,KAAK;IACL,YAAY;IACZ,OAAO;IACP,YAAY;IACZ,YAAY;IACZ,WAAW;IACX,WAAW;CACZ,CAAC;AAEF,SAAS,CAAC,OAAO,EAAE,MAAM,CAAC,CAAC,GAAG,CAAC,OAAO,EAAE,GAAG,EAAE,CAAC,CAC5C,oBAAC,kBAAkB,QAAE,MAAM,CAAC,GAAG,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,UAAU,CAAC,CAAC,CAAC,CAAC,CAAsB,CAC5E,CAAC,CAAC"}
@@ -1 +0,0 @@
1
- export {};
@@ -1,31 +0,0 @@
1
- // import React from "react";
2
- // import {Box} from "./Box";
3
- // import {SegmentedControl} from "./SegmentedControl";
4
- import { storiesOf } from "@storybook/react-native";
5
- storiesOf("SegmentedControl", module);
6
- // .add("Default Control", () => {
7
- // const [itemIndex, setItemIndex] = React.useState(0);
8
- // return (
9
- // <Box display="flex" width="100%">
10
- // <SegmentedControl
11
- // items={["One", "Two", "Three"]}
12
- // onChange={({activeIndex}) => setItemIndex(activeIndex)}
13
- // selectedItemIndex={itemIndex}
14
- // />
15
- // </Box>
16
- // );
17
- // })
18
- // .add("Large Control", () => {
19
- // const [itemIndex, setItemIndex] = React.useState(0);
20
- // return (
21
- // <Box display="flex" width="100%">
22
- // <SegmentedControl
23
- // size="lg"
24
- // items={["One", "Two", "Three"]}
25
- // onChange={({activeIndex}) => setItemIndex(activeIndex)}
26
- // selectedItemIndex={itemIndex}
27
- // />
28
- // </Box>
29
- // );
30
- // });
31
- //# sourceMappingURL=SegmentedControl.stories.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"SegmentedControl.stories.js","sourceRoot":"","sources":["../unifier/SegmentedControl.stories.tsx"],"names":[],"mappings":"AAAA,6BAA6B;AAC7B,6BAA6B;AAC7B,uDAAuD;AACvD,OAAO,EAAC,SAAS,EAAC,MAAM,yBAAyB,CAAC;AAElD,SAAS,CAAC,kBAAkB,EAAE,MAAM,CAAC,CAAC;AACtC,kCAAkC;AAClC,yDAAyD;AACzD,aAAa;AACb,wCAAwC;AACxC,0BAA0B;AAC1B,0CAA0C;AAC1C,kEAAkE;AAClE,wCAAwC;AACxC,WAAW;AACX,aAAa;AACb,OAAO;AACP,KAAK;AACL,gCAAgC;AAChC,yDAAyD;AACzD,aAAa;AACb,wCAAwC;AACxC,0BAA0B;AAC1B,oBAAoB;AACpB,0CAA0C;AAC1C,kEAAkE;AAClE,wCAAwC;AACxC,WAAW;AACX,aAAa;AACb,OAAO;AACP,MAAM"}
@@ -1 +0,0 @@
1
- export {};
@@ -1,26 +0,0 @@
1
- import React from "react";
2
- import { SelectList } from "./SelectList";
3
- import { storiesOf } from "@storybook/react-native";
4
- import { StorybookContainer } from "./StorybookContainer";
5
- const options = [
6
- { label: "First", value: "first" },
7
- { label: "Second", value: "second" },
8
- { label: "Third, A Really Long Option", value: "third" },
9
- ];
10
- storiesOf("Select List", module)
11
- .add("Select Lists", () => {
12
- const [item, setItem] = React.useState(options[0].value);
13
- return (React.createElement(StorybookContainer, null,
14
- React.createElement(SelectList, { id: "none", options: options, value: item, onChange: (item) => setItem(item), placeholder: "Here's some placeholder text." })));
15
- })
16
- .add("With Label", () => {
17
- const [item, setItem] = React.useState(options[0].value);
18
- return (React.createElement(StorybookContainer, null,
19
- React.createElement(SelectList, { id: "none", label: "Enter a bunch of text", helperText: "And some subtext", options: options, value: item, onChange: (item) => setItem(item) })));
20
- })
21
- .add("Disabled", () => {
22
- const [item, setItem] = React.useState(options[0].value);
23
- return (React.createElement(StorybookContainer, null,
24
- React.createElement(SelectList, { id: "none", options: options, value: item, onChange: (item) => setItem(item), disabled: true, placeholder: "This is disabled" })));
25
- });
26
- //# sourceMappingURL=SelectList.stories.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"SelectList.stories.js","sourceRoot":"","sources":["../unifier/SelectList.stories.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,EAAC,UAAU,EAAoB,MAAM,cAAc,CAAC;AAC3D,OAAO,EAAC,SAAS,EAAC,MAAM,yBAAyB,CAAC;AAClD,OAAO,EAAC,kBAAkB,EAAC,MAAM,sBAAsB,CAAC;AAExD,MAAM,OAAO,GAAsB;IACjC,EAAC,KAAK,EAAE,OAAO,EAAE,KAAK,EAAE,OAAO,EAAC;IAChC,EAAC,KAAK,EAAE,QAAQ,EAAE,KAAK,EAAE,QAAQ,EAAC;IAClC,EAAC,KAAK,EAAE,6BAA6B,EAAE,KAAK,EAAE,OAAO,EAAC;CACvD,CAAC;AAEF,SAAS,CAAC,aAAa,EAAE,MAAM,CAAC;KAC7B,GAAG,CAAC,cAAc,EAAE,GAAG,EAAE;IACxB,MAAM,CAAC,IAAI,EAAE,OAAO,CAAC,GAAG,KAAK,CAAC,QAAQ,CAAC,OAAO,CAAC,CAAC,CAAC,CAAC,KAAK,CAAC,CAAC;IAEzD,OAAO,CACL,oBAAC,kBAAkB;QACjB,oBAAC,UAAU,IACT,EAAE,EAAC,MAAM,EACT,OAAO,EAAE,OAAO,EAChB,KAAK,EAAE,IAAI,EACX,QAAQ,EAAE,CAAC,IAAI,EAAE,EAAE,CAAC,OAAO,CAAC,IAAI,CAAC,EACjC,WAAW,EAAC,+BAA+B,GAC3C,CACiB,CACtB,CAAC;AACJ,CAAC,CAAC;KACD,GAAG,CAAC,YAAY,EAAE,GAAG,EAAE;IACtB,MAAM,CAAC,IAAI,EAAE,OAAO,CAAC,GAAG,KAAK,CAAC,QAAQ,CAAC,OAAO,CAAC,CAAC,CAAC,CAAC,KAAK,CAAC,CAAC;IAEzD,OAAO,CACL,oBAAC,kBAAkB;QACjB,oBAAC,UAAU,IACT,EAAE,EAAC,MAAM,EACT,KAAK,EAAC,uBAAuB,EAC7B,UAAU,EAAC,kBAAkB,EAC7B,OAAO,EAAE,OAAO,EAChB,KAAK,EAAE,IAAI,EACX,QAAQ,EAAE,CAAC,IAAI,EAAE,EAAE,CAAC,OAAO,CAAC,IAAI,CAAC,GACjC,CACiB,CACtB,CAAC;AACJ,CAAC,CAAC;KACD,GAAG,CAAC,UAAU,EAAE,GAAG,EAAE;IACpB,MAAM,CAAC,IAAI,EAAE,OAAO,CAAC,GAAG,KAAK,CAAC,QAAQ,CAAC,OAAO,CAAC,CAAC,CAAC,CAAC,KAAK,CAAC,CAAC;IAEzD,OAAO,CACL,oBAAC,kBAAkB;QACjB,oBAAC,UAAU,IACT,EAAE,EAAC,MAAM,EACT,OAAO,EAAE,OAAO,EAChB,KAAK,EAAE,IAAI,EACX,QAAQ,EAAE,CAAC,IAAI,EAAE,EAAE,CAAC,OAAO,CAAC,IAAI,CAAC,EACjC,QAAQ,EAAE,IAAI,EACd,WAAW,EAAC,kBAAkB,GAC9B,CACiB,CACtB,CAAC;AACJ,CAAC,CAAC,CAAC"}
@@ -1 +0,0 @@
1
- export {};
@@ -1,12 +0,0 @@
1
- import React from "react";
2
- import { Spinner } from "./Spinner";
3
- import { Box } from "./Box";
4
- import { storiesOf } from "@storybook/react-native";
5
- storiesOf("Spinner", module)
6
- .add("Small", () => (React.createElement(Box, { width: "100%" },
7
- React.createElement(Spinner, { size: "sm" }))))
8
- .add("Big", () => (React.createElement(Box, { display: "flex" },
9
- React.createElement(Spinner, { size: "md" }))))
10
- .add("Dark", () => (React.createElement(Box, { color: "darkGray", paddingY: 6 },
11
- React.createElement(Spinner, { color: "white" }))));
12
- //# sourceMappingURL=Spinner.stories.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"Spinner.stories.js","sourceRoot":"","sources":["../unifier/Spinner.stories.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAC,OAAO,EAAC,MAAM,WAAW,CAAC;AAClC,OAAO,EAAC,GAAG,EAAC,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAC,SAAS,EAAC,MAAM,yBAAyB,CAAC;AAElD,SAAS,CAAC,SAAS,EAAE,MAAM,CAAC;KACzB,GAAG,CAAC,OAAO,EAAE,GAAG,EAAE,CAAC,CAClB,oBAAC,GAAG,IAAC,KAAK,EAAC,MAAM;IACf,oBAAC,OAAO,IAAC,IAAI,EAAC,IAAI,GAAG,CACjB,CACP,CAAC;KACD,GAAG,CAAC,KAAK,EAAE,GAAG,EAAE,CAAC,CAChB,oBAAC,GAAG,IAAC,OAAO,EAAC,MAAM;IACjB,oBAAC,OAAO,IAAC,IAAI,EAAC,IAAI,GAAG,CACjB,CACP,CAAC;KACD,GAAG,CAAC,MAAM,EAAE,GAAG,EAAE,CAAC,CACjB,oBAAC,GAAG,IAAC,KAAK,EAAC,UAAU,EAAC,QAAQ,EAAE,CAAC;IAC/B,oBAAC,OAAO,IAAC,KAAK,EAAC,OAAO,GAAG,CACrB,CACP,CAAC,CAAC"}
@@ -1 +0,0 @@
1
- export {};
@@ -1,15 +0,0 @@
1
- import React from "react";
2
- import { SplitPage } from "./SplitPage";
3
- import { Text } from "./Text";
4
- import { storiesOf } from "@storybook/react-native";
5
- import { Box } from "./Box";
6
- storiesOf("Split Page", module).add("Split", () => (React.createElement(SplitPage, { navigation: {}, listViewWidth: 250, renderListViewItem: (item) => (React.createElement(Box, { color: "blue", padding: 2 },
7
- React.createElement(Text, null,
8
- "name: ",
9
- item.item.name))), renderListViewHeader: () => (React.createElement(Box, { padding: 2, color: "red" },
10
- React.createElement(Text, { weight: "bold" }, "Users:"))), listViewData: Array.from(Array(100).keys()).map((i) => ({ name: `user${i}` })), renderContent: (index) => (React.createElement(Box, { padding: 2, color: "lightGray" },
11
- index === undefined && React.createElement(Text, { weight: "bold" }, "Nothing selected"),
12
- index !== undefined && React.createElement(Text, { weight: "bold" },
13
- "User ",
14
- index))) })));
15
- //# sourceMappingURL=SplitPage.stories.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"SplitPage.stories.js","sourceRoot":"","sources":["../unifier/SplitPage.stories.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAC,SAAS,EAAC,MAAM,aAAa,CAAC;AACtC,OAAO,EAAC,IAAI,EAAC,MAAM,QAAQ,CAAC;AAC5B,OAAO,EAAC,SAAS,EAAC,MAAM,yBAAyB,CAAC;AAClD,OAAO,EAAC,GAAG,EAAC,MAAM,OAAO,CAAC;AAE1B,SAAS,CAAC,YAAY,EAAE,MAAM,CAAC,CAAC,GAAG,CAAC,OAAO,EAAE,GAAG,EAAE,CAAC,CACjD,oBAAC,SAAS,IACR,UAAU,EAAE,EAAE,EACd,aAAa,EAAE,GAAG,EAClB,kBAAkB,EAAE,CAAC,IAAI,EAAE,EAAE,CAAC,CAC5B,oBAAC,GAAG,IAAC,KAAK,EAAC,MAAM,EAAC,OAAO,EAAE,CAAC;QAC1B,oBAAC,IAAI;;YAAQ,IAAI,CAAC,IAAI,CAAC,IAAI,CAAQ,CAC/B,CACP,EACD,oBAAoB,EAAE,GAAG,EAAE,CAAC,CAC1B,oBAAC,GAAG,IAAC,OAAO,EAAE,CAAC,EAAE,KAAK,EAAC,KAAK;QAC1B,oBAAC,IAAI,IAAC,MAAM,EAAC,MAAM,aAAc,CAC7B,CACP,EACD,YAAY,EAAE,KAAK,CAAC,IAAI,CAAC,KAAK,CAAC,GAAG,CAAC,CAAC,IAAI,EAAE,CAAC,CAAC,GAAG,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC,EAAC,IAAI,EAAE,OAAO,CAAC,EAAE,EAAC,CAAC,CAAC,EAC5E,aAAa,EAAE,CAAC,KAAK,EAAE,EAAE,CAAC,CACxB,oBAAC,GAAG,IAAC,OAAO,EAAE,CAAC,EAAE,KAAK,EAAC,WAAW;QAC/B,KAAK,KAAK,SAAS,IAAI,oBAAC,IAAI,IAAC,MAAM,EAAC,MAAM,uBAAwB;QAClE,KAAK,KAAK,SAAS,IAAI,oBAAC,IAAI,IAAC,MAAM,EAAC,MAAM;;YAAO,KAAK,CAAQ,CAC3D,CACP,GACD,CACH,CAAC,CAAC"}
@@ -1,4 +0,0 @@
1
- import React from "react";
2
- export declare class StorybookContainer extends React.Component<any, any> {
3
- render(): JSX.Element;
4
- }
@@ -1,8 +0,0 @@
1
- import { Box } from "./Box";
2
- import React from "react";
3
- export class StorybookContainer extends React.Component {
4
- render() {
5
- return (React.createElement(Box, { width: "100%", height: "100%", display: "flex", direction: "column", padding: 8, scroll: true }, this.props.children));
6
- }
7
- }
8
- //# sourceMappingURL=StorybookContainer.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"StorybookContainer.js","sourceRoot":"","sources":["../src/StorybookContainer.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAC,GAAG,EAAC,MAAM,OAAO,CAAC;AAC1B,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,MAAM,OAAO,kBAAmB,SAAQ,KAAK,CAAC,SAAmB;IAC/D,MAAM;QACJ,OAAO,CACL,oBAAC,GAAG,IAAC,KAAK,EAAC,MAAM,EAAC,MAAM,EAAC,MAAM,EAAC,OAAO,EAAC,MAAM,EAAC,SAAS,EAAC,QAAQ,EAAC,OAAO,EAAE,CAAC,EAAE,MAAM,EAAE,IAAI,IACvF,IAAI,CAAC,KAAK,CAAC,QAAQ,CAChB,CACP,CAAC;IACJ,CAAC;CACF"}
@@ -1 +0,0 @@
1
- export {};
@@ -1,34 +0,0 @@
1
- import { Switch } from "./Switch";
2
- import { storiesOf } from "@storybook/react-native";
3
- import React from "react";
4
- import { Box } from "./Box";
5
- import { WithLabel } from "./WithLabel";
6
- import { StorybookContainer } from "./StorybookContainer";
7
- class SwitchForms extends React.Component {
8
- constructor(props) {
9
- super(props);
10
- this.state = {
11
- boolean: false,
12
- withLabel: false,
13
- primary: false,
14
- small: false,
15
- };
16
- }
17
- render() {
18
- return (React.createElement(StorybookContainer, null,
19
- React.createElement(Box, { width: "100%", height: "100%", display: "flex", direction: "column" },
20
- React.createElement(Switch, { id: "check", switched: this.state.boolean, onChange: (result) => this.setState({ boolean: result }) }),
21
- React.createElement(WithLabel, { label: "With A Label" },
22
- React.createElement(Switch, { id: "withLabel", switched: this.state.withLabel, onChange: (result) => this.setState({ withLabel: result }) })),
23
- React.createElement(WithLabel, { label: "Primary Color" },
24
- React.createElement(Switch, { id: "primary", switched: this.state.primary, label: "Primary Color",
25
- // color="primary"
26
- labelColor: "primary", onChange: (result) => this.setState({ primary: result }) })),
27
- React.createElement(WithLabel, { label: "Small" },
28
- React.createElement(Switch, { id: "small", switched: this.state.small, label: "Small",
29
- // size="sm"
30
- onChange: (result) => this.setState({ small: result }) })))));
31
- }
32
- }
33
- storiesOf("Switch", module).add("Switch", () => React.createElement(SwitchForms, null));
34
- //# sourceMappingURL=Switch.stories.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"Switch.stories.js","sourceRoot":"","sources":["../unifier/Switch.stories.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAC,MAAM,EAAC,MAAM,UAAU,CAAC;AAChC,OAAO,EAAC,SAAS,EAAC,MAAM,yBAAyB,CAAC;AAClD,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OA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