@multiplatform.one/components 0.7.1 → 0.7.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (612) hide show
  1. package/LICENSE +1 -1
  2. package/dist/cjs/code/Code/Code.stories.js.map +1 -1
  3. package/dist/cjs/code/Code/Code.stories.native.js.map +1 -1
  4. package/dist/cjs/code/Code/index.js.map +1 -1
  5. package/dist/cjs/code/Code/index.native.js.map +1 -1
  6. package/dist/cjs/forms/FormCheckBox/index.js.map +1 -1
  7. package/dist/cjs/forms/FormCheckBox/index.native.js.map +1 -1
  8. package/dist/cjs/forms/FormField.js.map +1 -1
  9. package/dist/cjs/forms/FormField.native.js.map +1 -1
  10. package/dist/cjs/forms/FormRadioGroup/FormRadioGroup.stories.js +17 -9
  11. package/dist/cjs/forms/FormRadioGroup/FormRadioGroup.stories.js.map +1 -1
  12. package/dist/cjs/forms/FormRadioGroup/FormRadioGroup.stories.native.js +16 -10
  13. package/dist/cjs/forms/FormRadioGroup/FormRadioGroup.stories.native.js.map +1 -1
  14. package/dist/cjs/forms/FormRadioGroup/index.js +7 -8
  15. package/dist/cjs/forms/FormRadioGroup/index.js.map +2 -2
  16. package/dist/cjs/forms/FormRadioGroup/index.native.js +5 -6
  17. package/dist/cjs/forms/FormRadioGroup/index.native.js.map +1 -1
  18. package/dist/cjs/forms/FormSwitch/FormSwitch.stories.js +15 -11
  19. package/dist/cjs/forms/FormSwitch/FormSwitch.stories.js.map +1 -1
  20. package/dist/cjs/forms/FormSwitch/FormSwitch.stories.native.js +5 -4
  21. package/dist/cjs/forms/FormSwitch/FormSwitch.stories.native.js.map +1 -1
  22. package/dist/cjs/forms/FormSwitch/index.js +2 -4
  23. package/dist/cjs/forms/FormSwitch/index.js.map +1 -1
  24. package/dist/cjs/forms/FormSwitch/index.native.js +2 -4
  25. package/dist/cjs/forms/FormSwitch/index.native.js.map +1 -1
  26. package/dist/cjs/forms/SimpleForm/SimpleForm.stories.js +1 -14
  27. package/dist/cjs/forms/SimpleForm/SimpleForm.stories.js.map +1 -1
  28. package/dist/cjs/forms/SimpleForm/SimpleForm.stories.native.js +2 -14
  29. package/dist/cjs/forms/SimpleForm/SimpleForm.stories.native.js.map +1 -1
  30. package/dist/cjs/images/SimpleImage/index.stories.js.map +1 -1
  31. package/dist/cjs/images/SimpleImage/index.stories.native.js.map +1 -1
  32. package/dist/cjs/organize/SimpleAccordion/SimpleAccordion.stories.js +10 -8
  33. package/dist/cjs/organize/SimpleAccordion/SimpleAccordion.stories.js.map +1 -1
  34. package/dist/cjs/organize/SimpleAccordion/SimpleAccordion.stories.native.js +6 -8
  35. package/dist/cjs/organize/SimpleAccordion/SimpleAccordion.stories.native.js.map +1 -1
  36. package/dist/cjs/organize/SimpleAccordion/index.js +11 -3
  37. package/dist/cjs/organize/SimpleAccordion/index.js.map +1 -1
  38. package/dist/cjs/organize/SimpleAccordion/index.native.js +8 -3
  39. package/dist/cjs/organize/SimpleAccordion/index.native.js.map +1 -1
  40. package/dist/cjs/organize/SimpleCarousel/Carousel.stories.js +40 -0
  41. package/dist/cjs/organize/SimpleCarousel/Carousel.stories.js.map +6 -0
  42. package/dist/cjs/{panels/SimpleToast/SimpleToast.stories.native.js → organize/SimpleCarousel/Carousel.stories.native.js} +12 -15
  43. package/dist/cjs/organize/SimpleCarousel/Carousel.stories.native.js.map +6 -0
  44. package/dist/cjs/organize/SimpleCarousel/index.js +131 -0
  45. package/dist/cjs/organize/SimpleCarousel/index.js.map +6 -0
  46. package/dist/cjs/organize/SimpleCarousel/index.native.js +124 -0
  47. package/dist/cjs/organize/SimpleCarousel/index.native.js.map +6 -0
  48. package/dist/cjs/{component → organize}/SimpleInput/SimpleInput.stories.js +1 -1
  49. package/dist/cjs/organize/SimpleInput/SimpleInput.stories.js.map +6 -0
  50. package/dist/cjs/{component → organize}/SimpleInput/SimpleInput.stories.native.js +1 -1
  51. package/dist/cjs/organize/SimpleInput/SimpleInput.stories.native.js.map +6 -0
  52. package/dist/cjs/organize/SimpleInput/index.js.map +6 -0
  53. package/dist/cjs/organize/SimpleInput/index.native.js.map +6 -0
  54. package/dist/cjs/organize/SimpleListItem/SimpleListItem.stories.js +58 -0
  55. package/dist/cjs/organize/SimpleListItem/SimpleListItem.stories.js.map +6 -0
  56. package/dist/cjs/organize/SimpleListItem/SimpleListItem.stories.native.js +45 -0
  57. package/dist/cjs/organize/SimpleListItem/SimpleListItem.stories.native.js.map +6 -0
  58. package/dist/cjs/organize/SimpleListItem/index.js +49 -0
  59. package/dist/cjs/organize/SimpleListItem/index.js.map +6 -0
  60. package/dist/cjs/organize/SimpleListItem/index.native.js +49 -0
  61. package/dist/cjs/organize/SimpleListItem/index.native.js.map +6 -0
  62. package/dist/cjs/organize/SimpleTabs/SimpleTabs.stories.js.map +1 -1
  63. package/dist/cjs/organize/SimpleTabs/SimpleTabs.stories.native.js.map +1 -1
  64. package/dist/cjs/organize/SimpleTabs/index.js.map +1 -1
  65. package/dist/cjs/organize/SimpleTabs/index.native.js.map +1 -1
  66. package/dist/cjs/organize/index.js +25 -0
  67. package/dist/cjs/organize/index.js.map +6 -0
  68. package/dist/cjs/organize/index.native.js +25 -0
  69. package/dist/cjs/organize/index.native.js.map +6 -0
  70. package/dist/cjs/panels/SimpleAlertDialog/{SImpleAlertDialog.stories.js → SimpleAlertDialog.stories.js} +6 -6
  71. package/dist/cjs/panels/SimpleAlertDialog/{SImpleAlertDialog.stories.js.map → SimpleAlertDialog.stories.js.map} +2 -2
  72. package/dist/cjs/panels/SimpleAlertDialog/{SImpleAlertDialog.stories.native.js → SimpleAlertDialog.stories.native.js} +6 -6
  73. package/dist/cjs/panels/SimpleAlertDialog/{SImpleAlertDialog.stories.native.js.map → SimpleAlertDialog.stories.native.js.map} +2 -2
  74. package/dist/cjs/panels/SimpleDialog/SimpleDialog.stories.js +65 -8
  75. package/dist/cjs/panels/SimpleDialog/SimpleDialog.stories.js.map +2 -2
  76. package/dist/cjs/panels/SimpleDialog/SimpleDialog.stories.native.js +53 -4
  77. package/dist/cjs/panels/SimpleDialog/SimpleDialog.stories.native.js.map +2 -2
  78. package/dist/cjs/panels/SimpleDialog/index.js +67 -28
  79. package/dist/cjs/panels/SimpleDialog/index.js.map +1 -1
  80. package/dist/cjs/panels/SimpleDialog/index.native.js +62 -22
  81. package/dist/cjs/panels/SimpleDialog/index.native.js.map +1 -1
  82. package/dist/cjs/panels/SimplePopover/SimplePopover.stories.js +20 -3
  83. package/dist/cjs/panels/SimplePopover/SimplePopover.stories.js.map +1 -1
  84. package/dist/cjs/panels/SimplePopover/SimplePopover.stories.native.js +19 -3
  85. package/dist/cjs/panels/SimplePopover/SimplePopover.stories.native.js.map +1 -1
  86. package/dist/cjs/panels/SimplePopover/index.js +1 -1
  87. package/dist/cjs/panels/SimplePopover/index.js.map +1 -1
  88. package/dist/cjs/panels/SimplePopover/index.native.js +1 -1
  89. package/dist/cjs/panels/SimplePopover/index.native.js.map +1 -1
  90. package/dist/cjs/panels/SimpleTooltip/SimpleTooltip.stories.js +1 -7
  91. package/dist/cjs/panels/SimpleTooltip/SimpleTooltip.stories.js.map +1 -1
  92. package/dist/cjs/panels/SimpleTooltip/SimpleTooltip.stories.native.js +1 -7
  93. package/dist/cjs/panels/SimpleTooltip/SimpleTooltip.stories.native.js.map +1 -1
  94. package/dist/cjs/panels/SimpleTooltip/index.js +3 -10
  95. package/dist/cjs/panels/SimpleTooltip/index.js.map +1 -1
  96. package/dist/cjs/panels/SimpleTooltip/index.native.js +3 -10
  97. package/dist/cjs/panels/SimpleTooltip/index.native.js.map +1 -1
  98. package/dist/esm/ErrorBoundary/index.native.js +19 -0
  99. package/dist/esm/ErrorBoundary/index.native.js.map +6 -0
  100. package/dist/esm/code/Code/Code.stories.js.map +1 -1
  101. package/dist/esm/code/Code/Code.stories.native.js +19 -0
  102. package/dist/esm/code/Code/Code.stories.native.js.map +6 -0
  103. package/dist/esm/code/Code/index.js.map +1 -1
  104. package/dist/esm/code/Code/index.native.js +40 -0
  105. package/dist/esm/code/Code/index.native.js.map +6 -0
  106. package/dist/esm/code/CodeBlock/CodeBlock.stories.native.js +30 -0
  107. package/dist/esm/code/CodeBlock/CodeBlock.stories.native.js.map +6 -0
  108. package/dist/esm/code/CodeBlock/index.native.js +16 -0
  109. package/dist/esm/code/CodeBlock/index.native.js.map +6 -0
  110. package/dist/esm/code/Pre/index.native.js +12 -0
  111. package/dist/esm/code/Pre/index.native.js.map +6 -0
  112. package/dist/esm/code/index.native.js +4 -0
  113. package/dist/esm/code/index.native.js.map +6 -0
  114. package/dist/esm/forms/FormCheckBox/FormCheckBox.stories.native.js +43 -0
  115. package/dist/esm/forms/FormCheckBox/FormCheckBox.stories.native.js.map +6 -0
  116. package/dist/esm/forms/FormCheckBox/index.js.map +1 -1
  117. package/dist/esm/forms/FormCheckBox/index.native.js +95 -0
  118. package/dist/esm/forms/FormCheckBox/index.native.js.map +6 -0
  119. package/dist/esm/forms/FormField.js.map +1 -1
  120. package/dist/esm/forms/FormField.native.js +9 -0
  121. package/dist/esm/forms/FormField.native.js.map +6 -0
  122. package/dist/esm/forms/FormInput/FormInput.stories.native.js +17 -0
  123. package/dist/esm/forms/FormInput/FormInput.stories.native.js.map +6 -0
  124. package/dist/esm/forms/FormInput/index.native.js +55 -0
  125. package/dist/esm/forms/FormInput/index.native.js.map +6 -0
  126. package/dist/esm/forms/FormProgress/FormProgress.stories.native.js +18 -0
  127. package/dist/esm/forms/FormProgress/FormProgress.stories.native.js.map +6 -0
  128. package/dist/esm/forms/FormProgress/index.native.js +65 -0
  129. package/dist/esm/forms/FormProgress/index.native.js.map +6 -0
  130. package/dist/esm/forms/FormRadioGroup/FormRadioGroup.stories.js +20 -10
  131. package/dist/esm/forms/FormRadioGroup/FormRadioGroup.stories.js.map +1 -1
  132. package/dist/esm/forms/FormRadioGroup/FormRadioGroup.stories.native.js +36 -0
  133. package/dist/esm/forms/FormRadioGroup/FormRadioGroup.stories.native.js.map +6 -0
  134. package/dist/esm/forms/FormRadioGroup/index.js +7 -9
  135. package/dist/esm/forms/FormRadioGroup/index.js.map +1 -1
  136. package/dist/esm/forms/FormRadioGroup/index.native.js +61 -0
  137. package/dist/esm/forms/FormRadioGroup/index.native.js.map +6 -0
  138. package/dist/esm/forms/FormSelectSimple/FormSelectSimple.stories.native.js +16 -0
  139. package/dist/esm/forms/FormSelectSimple/FormSelectSimple.stories.native.js.map +6 -0
  140. package/dist/esm/forms/FormSelectSimple/index.native.js +52 -0
  141. package/dist/esm/forms/FormSelectSimple/index.native.js.map +6 -0
  142. package/dist/esm/forms/FormSlider/FormSlider.stories.native.js +16 -0
  143. package/dist/esm/forms/FormSlider/FormSlider.stories.native.js.map +6 -0
  144. package/dist/esm/forms/FormSlider/index.native.js +70 -0
  145. package/dist/esm/forms/FormSlider/index.native.js.map +6 -0
  146. package/dist/esm/forms/FormSubmitButton/FormSubmitButton.stories.native.js +17 -0
  147. package/dist/esm/forms/FormSubmitButton/FormSubmitButton.stories.native.js.map +6 -0
  148. package/dist/esm/forms/FormSubmitButton/index.native.js +25 -0
  149. package/dist/esm/forms/FormSubmitButton/index.native.js.map +6 -0
  150. package/dist/esm/forms/FormSwitch/FormSwitch.stories.js +17 -11
  151. package/dist/esm/forms/FormSwitch/FormSwitch.stories.js.map +1 -1
  152. package/dist/esm/forms/FormSwitch/FormSwitch.stories.native.js +28 -0
  153. package/dist/esm/forms/FormSwitch/FormSwitch.stories.native.js.map +6 -0
  154. package/dist/esm/forms/FormSwitch/index.js +2 -4
  155. package/dist/esm/forms/FormSwitch/index.js.map +1 -1
  156. package/dist/esm/forms/FormSwitch/index.native.js +60 -0
  157. package/dist/esm/forms/FormSwitch/index.native.js.map +6 -0
  158. package/dist/esm/forms/FormTextArea/FormTextArea.stories.native.js +25 -0
  159. package/dist/esm/forms/FormTextArea/FormTextArea.stories.native.js.map +6 -0
  160. package/dist/esm/forms/FormTextArea/index.native.js +55 -0
  161. package/dist/esm/forms/FormTextArea/index.native.js.map +6 -0
  162. package/dist/esm/forms/SelectButton/OptionButton.native.js +59 -0
  163. package/dist/esm/forms/SelectButton/OptionButton.native.js.map +6 -0
  164. package/dist/esm/forms/SelectButton/SelectButton.stories.native.js +18 -0
  165. package/dist/esm/forms/SelectButton/SelectButton.stories.native.js.map +6 -0
  166. package/dist/esm/forms/SelectButton/context.native.js +6 -0
  167. package/dist/esm/forms/SelectButton/context.native.js.map +6 -0
  168. package/dist/esm/forms/SelectButton/index.native.js +42 -0
  169. package/dist/esm/forms/SelectButton/index.native.js.map +6 -0
  170. package/dist/esm/forms/SelectSimple/SelectSimple.stories.native.js +17 -0
  171. package/dist/esm/forms/SelectSimple/SelectSimple.stories.native.js.map +6 -0
  172. package/dist/esm/forms/SelectSimple/index.native.js +21 -0
  173. package/dist/esm/forms/SelectSimple/index.native.js.map +6 -0
  174. package/dist/esm/forms/SimpleForm/SimpleForm.stories.js +0 -14
  175. package/dist/esm/forms/SimpleForm/SimpleForm.stories.js.map +1 -1
  176. package/dist/esm/forms/SimpleForm/SimpleForm.stories.native.js +22 -0
  177. package/dist/esm/forms/SimpleForm/SimpleForm.stories.native.js.map +6 -0
  178. package/dist/esm/forms/SimpleForm/index.native.js +39 -0
  179. package/dist/esm/forms/SimpleForm/index.native.js.map +6 -0
  180. package/dist/esm/forms/index.native.js +13 -0
  181. package/dist/esm/forms/index.native.js.map +6 -0
  182. package/dist/esm/forms/types.native.js +1 -0
  183. package/dist/esm/forms/types.native.js.map +6 -0
  184. package/dist/esm/global.native.js +1 -0
  185. package/dist/esm/global.native.js.map +6 -0
  186. package/dist/esm/helpers.native.js +10 -0
  187. package/dist/esm/helpers.native.js.map +6 -0
  188. package/dist/esm/hooks/index.native.js +3 -0
  189. package/dist/esm/hooks/index.native.js.map +6 -0
  190. package/dist/esm/hooks/useAnimationDriverToggle.native.js +12 -0
  191. package/dist/esm/hooks/useAnimationDriverToggle.native.js.map +6 -0
  192. package/dist/esm/hooks/useAssets/index.native.js +3 -12
  193. package/dist/esm/hooks/useAssets/index.native.js.map +1 -1
  194. package/dist/esm/hooks/useClipboard.native.js +21 -0
  195. package/dist/esm/hooks/useClipboard.native.js.map +6 -0
  196. package/dist/esm/images/SimpleImage/index.native.js +92 -0
  197. package/dist/esm/images/SimpleImage/index.native.js.map +6 -0
  198. package/dist/esm/images/SimpleImage/index.stories.js.map +1 -1
  199. package/dist/esm/images/SimpleImage/index.stories.native.js +79 -0
  200. package/dist/esm/images/SimpleImage/index.stories.native.js.map +6 -0
  201. package/dist/esm/images/Svg/Svg.stories.native.js +25 -0
  202. package/dist/esm/images/Svg/Svg.stories.native.js.map +6 -0
  203. package/dist/esm/images/index.native.js +3 -0
  204. package/dist/esm/images/index.native.js.map +6 -0
  205. package/dist/esm/index.native.js +11 -0
  206. package/dist/esm/index.native.js.map +6 -0
  207. package/dist/esm/layouts/Debug/DebugLayout.stories.native.js +16 -0
  208. package/dist/esm/layouts/Debug/DebugLayout.stories.native.js.map +6 -0
  209. package/dist/esm/layouts/Debug/index.native.js +82 -0
  210. package/dist/esm/layouts/Debug/index.native.js.map +6 -0
  211. package/dist/esm/layouts/index.native.js +2 -0
  212. package/dist/esm/layouts/index.native.js.map +6 -0
  213. package/dist/esm/mdx/ExternalIcon/ExternalIcon.stories.native.js +13 -0
  214. package/dist/esm/mdx/ExternalIcon/ExternalIcon.stories.native.js.map +6 -0
  215. package/dist/esm/mdx/ExternalIcon/index.native.js +15 -0
  216. package/dist/esm/mdx/ExternalIcon/index.native.js.map +6 -0
  217. package/dist/esm/mdx/HR/HR.stories.native.js +13 -0
  218. package/dist/esm/mdx/HR/HR.stories.native.js.map +6 -0
  219. package/dist/esm/mdx/HR/index.native.js +7 -0
  220. package/dist/esm/mdx/HR/index.native.js.map +6 -0
  221. package/dist/esm/mdx/LI/LI.stories.native.js +14 -0
  222. package/dist/esm/mdx/LI/LI.stories.native.js.map +6 -0
  223. package/dist/esm/mdx/LI/index.native.js +11 -0
  224. package/dist/esm/mdx/LI/index.native.js.map +6 -0
  225. package/dist/esm/mdx/MDX/MDX.stories.native.js +50 -0
  226. package/dist/esm/mdx/MDX/MDX.stories.native.js.map +6 -0
  227. package/dist/esm/mdx/MDX/index.native.js +22 -0
  228. package/dist/esm/mdx/MDX/index.native.js.map +6 -0
  229. package/dist/esm/mdx/MDXCodeBlock/MDXCodeBlock.stories.native.js +22 -0
  230. package/dist/esm/mdx/MDXCodeBlock/MDXCodeBlock.stories.native.js.map +6 -0
  231. package/dist/esm/mdx/MDXCodeBlock/MDXCodeBlockContext.native.js +6 -0
  232. package/dist/esm/mdx/MDXCodeBlock/MDXCodeBlockContext.native.js.map +6 -0
  233. package/dist/esm/mdx/MDXCodeBlock/index.native.js +111 -0
  234. package/dist/esm/mdx/MDXCodeBlock/index.native.js.map +6 -0
  235. package/dist/esm/mdx/UL/UL.stories.native.js +14 -0
  236. package/dist/esm/mdx/UL/UL.stories.native.js.map +6 -0
  237. package/dist/esm/mdx/UL/index.native.js +11 -0
  238. package/dist/esm/mdx/UL/index.native.js.map +6 -0
  239. package/dist/esm/mdx/components.native.js +99 -0
  240. package/dist/esm/mdx/components.native.js.map +6 -0
  241. package/dist/esm/mdx/hooks/index.native.js +4 -0
  242. package/dist/esm/mdx/hooks/index.native.js.map +6 -0
  243. package/dist/esm/mdx/hooks/useCompileAndEvaluateMdx.native.js +10 -0
  244. package/dist/esm/mdx/hooks/useCompileAndEvaluateMdx.native.js.map +6 -0
  245. package/dist/esm/mdx/hooks/useCompileMdx.native.js +49 -0
  246. package/dist/esm/mdx/hooks/useCompileMdx.native.js.map +6 -0
  247. package/dist/esm/mdx/hooks/useEvaluateMdx.native.js +22 -0
  248. package/dist/esm/mdx/hooks/useEvaluateMdx.native.js.map +6 -0
  249. package/dist/esm/mdx/index.native.js +9 -0
  250. package/dist/esm/mdx/index.native.js.map +6 -0
  251. package/dist/esm/mdx/util/rehypeHighlightCode.native.js +25 -0
  252. package/dist/esm/mdx/util/rehypeHighlightCode.native.js.map +6 -0
  253. package/dist/esm/mdx/util/rehypeHighlightLine.native.js +79 -0
  254. package/dist/esm/mdx/util/rehypeHighlightLine.native.js.map +6 -0
  255. package/dist/esm/mdx/util/rehypeHighlightWord.native.js +12 -0
  256. package/dist/esm/mdx/util/rehypeHighlightWord.native.js.map +6 -0
  257. package/dist/esm/mdx/util/rehypeMetaAttributes.native.js +17 -0
  258. package/dist/esm/mdx/util/rehypeMetaAttributes.native.js.map +6 -0
  259. package/dist/esm/organize/SimpleAccordion/SimpleAccordion.stories.js +10 -7
  260. package/dist/esm/organize/SimpleAccordion/SimpleAccordion.stories.js.map +1 -1
  261. package/dist/esm/organize/SimpleAccordion/SimpleAccordion.stories.native.js +16 -0
  262. package/dist/esm/organize/SimpleAccordion/SimpleAccordion.stories.native.js.map +6 -0
  263. package/dist/esm/organize/SimpleAccordion/index.js +11 -4
  264. package/dist/esm/organize/SimpleAccordion/index.js.map +1 -1
  265. package/dist/esm/organize/SimpleAccordion/index.native.js +13 -0
  266. package/dist/esm/organize/SimpleAccordion/index.native.js.map +6 -0
  267. package/dist/esm/organize/SimpleCarousel/Carousel.stories.js +23 -0
  268. package/dist/esm/organize/SimpleCarousel/Carousel.stories.js.map +6 -0
  269. package/dist/esm/organize/SimpleCarousel/Carousel.stories.native.js +18 -0
  270. package/dist/esm/organize/SimpleCarousel/Carousel.stories.native.js.map +6 -0
  271. package/dist/esm/organize/SimpleCarousel/index.js +103 -0
  272. package/dist/esm/organize/SimpleCarousel/index.js.map +6 -0
  273. package/dist/esm/organize/SimpleCarousel/index.native.js +95 -0
  274. package/dist/esm/organize/SimpleCarousel/index.native.js.map +6 -0
  275. package/dist/esm/{component → organize}/SimpleInput/SimpleInput.stories.js +1 -1
  276. package/dist/esm/organize/SimpleInput/SimpleInput.stories.js.map +6 -0
  277. package/dist/esm/organize/SimpleInput/SimpleInput.stories.native.js +19 -0
  278. package/dist/esm/organize/SimpleInput/SimpleInput.stories.native.js.map +6 -0
  279. package/dist/esm/organize/SimpleInput/index.js.map +6 -0
  280. package/dist/esm/organize/SimpleInput/index.native.js +128 -0
  281. package/dist/esm/organize/SimpleInput/index.native.js.map +6 -0
  282. package/dist/esm/organize/SimpleListItem/SimpleListItem.stories.js +35 -0
  283. package/dist/esm/organize/SimpleListItem/SimpleListItem.stories.js.map +6 -0
  284. package/dist/esm/organize/SimpleListItem/SimpleListItem.stories.native.js +21 -0
  285. package/dist/esm/organize/SimpleListItem/SimpleListItem.stories.native.js.map +6 -0
  286. package/dist/esm/organize/SimpleListItem/index.js +22 -0
  287. package/dist/esm/organize/SimpleListItem/index.js.map +6 -0
  288. package/dist/esm/organize/SimpleListItem/index.native.js +21 -0
  289. package/dist/esm/organize/SimpleListItem/index.native.js.map +6 -0
  290. package/dist/esm/organize/SimpleTabs/SimpleTabs.stories.js.map +1 -1
  291. package/dist/esm/organize/SimpleTabs/SimpleTabs.stories.native.js +19 -0
  292. package/dist/esm/organize/SimpleTabs/SimpleTabs.stories.native.js.map +6 -0
  293. package/dist/esm/organize/SimpleTabs/index.js.map +1 -1
  294. package/dist/esm/organize/SimpleTabs/index.native.js +93 -0
  295. package/dist/esm/organize/SimpleTabs/index.native.js.map +6 -0
  296. package/dist/esm/organize/index.js +5 -0
  297. package/dist/esm/organize/index.js.map +6 -0
  298. package/dist/esm/organize/index.native.js +5 -0
  299. package/dist/esm/organize/index.native.js.map +6 -0
  300. package/dist/esm/panels/SimpleAlertDialog/{SImpleAlertDialog.stories.js → SimpleAlertDialog.stories.js} +3 -3
  301. package/dist/esm/panels/SimpleAlertDialog/SimpleAlertDialog.stories.js.map +6 -0
  302. package/dist/esm/panels/SimpleAlertDialog/SimpleAlertDialog.stories.native.js +49 -0
  303. package/dist/esm/panels/SimpleAlertDialog/SimpleAlertDialog.stories.native.js.map +6 -0
  304. package/dist/esm/panels/SimpleAlertDialog/index.native.js +58 -0
  305. package/dist/esm/panels/SimpleAlertDialog/index.native.js.map +6 -0
  306. package/dist/esm/panels/SimpleDialog/SimpleDialog.stories.js +61 -6
  307. package/dist/esm/panels/SimpleDialog/SimpleDialog.stories.js.map +1 -1
  308. package/dist/esm/panels/SimpleDialog/SimpleDialog.stories.native.js +74 -0
  309. package/dist/esm/panels/SimpleDialog/SimpleDialog.stories.native.js.map +6 -0
  310. package/dist/esm/panels/SimpleDialog/index.js +67 -28
  311. package/dist/esm/panels/SimpleDialog/index.js.map +1 -1
  312. package/dist/esm/panels/SimpleDialog/index.native.js +98 -0
  313. package/dist/esm/panels/SimpleDialog/index.native.js.map +6 -0
  314. package/dist/esm/panels/SimplePopover/SimplePopover.stories.js +21 -4
  315. package/dist/esm/panels/SimplePopover/SimplePopover.stories.js.map +1 -1
  316. package/dist/esm/panels/SimplePopover/SimplePopover.stories.native.js +65 -0
  317. package/dist/esm/panels/SimplePopover/SimplePopover.stories.native.js.map +6 -0
  318. package/dist/esm/panels/SimplePopover/index.js +1 -1
  319. package/dist/esm/panels/SimplePopover/index.js.map +1 -1
  320. package/dist/esm/panels/SimplePopover/index.native.js +60 -0
  321. package/dist/esm/panels/SimplePopover/index.native.js.map +6 -0
  322. package/dist/esm/panels/SimpleSheet/SimpleSheet.stories.native.js +14 -0
  323. package/dist/esm/panels/SimpleSheet/SimpleSheet.stories.native.js.map +6 -0
  324. package/dist/esm/panels/SimpleSheet/index.native.js +66 -0
  325. package/dist/esm/panels/SimpleSheet/index.native.js.map +6 -0
  326. package/dist/esm/panels/SimpleTooltip/SimpleTooltip.stories.js +2 -8
  327. package/dist/esm/panels/SimpleTooltip/SimpleTooltip.stories.js.map +1 -1
  328. package/dist/esm/panels/SimpleTooltip/SimpleTooltip.stories.native.js +14 -0
  329. package/dist/esm/panels/SimpleTooltip/SimpleTooltip.stories.native.js.map +6 -0
  330. package/dist/esm/panels/SimpleTooltip/index.js +4 -11
  331. package/dist/esm/panels/SimpleTooltip/index.js.map +1 -1
  332. package/dist/esm/panels/SimpleTooltip/index.native.js +29 -0
  333. package/dist/esm/panels/SimpleTooltip/index.native.js.map +6 -0
  334. package/dist/esm/panels/index.native.js +6 -0
  335. package/dist/esm/panels/index.native.js.map +6 -0
  336. package/dist/esm/providers/AnimationDriverTogglerContextProvider.native.js +26 -0
  337. package/dist/esm/providers/AnimationDriverTogglerContextProvider.native.js.map +6 -0
  338. package/dist/esm/table/Table/Table.stories.native.js +15 -0
  339. package/dist/esm/table/Table/Table.stories.native.js.map +6 -0
  340. package/dist/esm/table/Table/index.native.js +21 -0
  341. package/dist/esm/table/Table/index.native.js.map +6 -0
  342. package/dist/esm/table/TableCell/index.native.js +35 -0
  343. package/dist/esm/table/TableCell/index.native.js.map +6 -0
  344. package/dist/esm/table/TableCol/index.native.js +15 -0
  345. package/dist/esm/table/TableCol/index.native.js.map +6 -0
  346. package/dist/esm/table/TableContext.native.js +6 -0
  347. package/dist/esm/table/TableContext.native.js.map +6 -0
  348. package/dist/esm/table/index.native.js +4 -0
  349. package/dist/esm/table/index.native.js.map +6 -0
  350. package/dist/esm/utils/setTinted.native.js +13 -0
  351. package/dist/esm/utils/setTinted.native.js.map +6 -0
  352. package/dist/esm/utils/unwrapText.native.js +8 -0
  353. package/dist/esm/utils/unwrapText.native.js.map +6 -0
  354. package/dist/jsx/code/Code/Code.stories.js.map +1 -1
  355. package/dist/jsx/code/Code/Code.stories.native.js.map +1 -1
  356. package/dist/jsx/code/Code/index.js.map +1 -1
  357. package/dist/jsx/code/Code/index.native.js.map +1 -1
  358. package/dist/jsx/forms/FormCheckBox/index.js.map +1 -1
  359. package/dist/jsx/forms/FormCheckBox/index.native.js.map +1 -1
  360. package/dist/jsx/forms/FormField.js.map +1 -1
  361. package/dist/jsx/forms/FormField.native.js.map +1 -1
  362. package/dist/jsx/forms/FormRadioGroup/FormRadioGroup.stories.js +17 -8
  363. package/dist/jsx/forms/FormRadioGroup/FormRadioGroup.stories.js.map +1 -1
  364. package/dist/jsx/forms/FormRadioGroup/FormRadioGroup.stories.native.js +17 -8
  365. package/dist/jsx/forms/FormRadioGroup/FormRadioGroup.stories.native.js.map +1 -1
  366. package/dist/jsx/forms/FormRadioGroup/index.js +7 -8
  367. package/dist/jsx/forms/FormRadioGroup/index.js.map +1 -1
  368. package/dist/jsx/forms/FormRadioGroup/index.native.js +7 -8
  369. package/dist/jsx/forms/FormRadioGroup/index.native.js.map +1 -1
  370. package/dist/jsx/forms/FormSwitch/FormSwitch.stories.js +13 -7
  371. package/dist/jsx/forms/FormSwitch/FormSwitch.stories.js.map +1 -1
  372. package/dist/jsx/forms/FormSwitch/FormSwitch.stories.native.js +13 -7
  373. package/dist/jsx/forms/FormSwitch/FormSwitch.stories.native.js.map +1 -1
  374. package/dist/jsx/forms/FormSwitch/index.js +2 -4
  375. package/dist/jsx/forms/FormSwitch/index.js.map +1 -1
  376. package/dist/jsx/forms/FormSwitch/index.native.js +2 -4
  377. package/dist/jsx/forms/FormSwitch/index.native.js.map +1 -1
  378. package/dist/jsx/forms/SimpleForm/SimpleForm.stories.js +15 -11
  379. package/dist/jsx/forms/SimpleForm/SimpleForm.stories.js.map +1 -1
  380. package/dist/jsx/forms/SimpleForm/SimpleForm.stories.native.js +15 -11
  381. package/dist/jsx/forms/SimpleForm/SimpleForm.stories.native.js.map +1 -1
  382. package/dist/jsx/images/SimpleImage/index.stories.js.map +1 -1
  383. package/dist/jsx/images/SimpleImage/index.stories.native.js.map +1 -1
  384. package/dist/jsx/organize/SimpleAccordion/SimpleAccordion.stories.js +9 -6
  385. package/dist/jsx/organize/SimpleAccordion/SimpleAccordion.stories.js.map +1 -1
  386. package/dist/jsx/organize/SimpleAccordion/SimpleAccordion.stories.native.js +9 -6
  387. package/dist/jsx/organize/SimpleAccordion/SimpleAccordion.stories.native.js.map +1 -1
  388. package/dist/jsx/organize/SimpleAccordion/index.js +10 -3
  389. package/dist/jsx/organize/SimpleAccordion/index.js.map +1 -1
  390. package/dist/jsx/organize/SimpleAccordion/index.native.js +10 -3
  391. package/dist/jsx/organize/SimpleAccordion/index.native.js.map +1 -1
  392. package/dist/jsx/organize/SimpleCarousel/Carousel.stories.js +22 -0
  393. package/dist/jsx/organize/SimpleCarousel/Carousel.stories.js.map +6 -0
  394. package/dist/jsx/organize/SimpleCarousel/Carousel.stories.native.js +22 -0
  395. package/dist/jsx/organize/SimpleCarousel/Carousel.stories.native.js.map +6 -0
  396. package/dist/jsx/organize/SimpleCarousel/index.js +83 -0
  397. package/dist/jsx/organize/SimpleCarousel/index.js.map +6 -0
  398. package/dist/jsx/organize/SimpleCarousel/index.native.js +86 -0
  399. package/dist/jsx/organize/SimpleCarousel/index.native.js.map +6 -0
  400. package/dist/jsx/{component → organize}/SimpleInput/SimpleInput.stories.js +1 -1
  401. package/dist/jsx/organize/SimpleInput/SimpleInput.stories.js.map +6 -0
  402. package/dist/jsx/{component → organize}/SimpleInput/SimpleInput.stories.native.js +1 -1
  403. package/dist/jsx/organize/SimpleInput/SimpleInput.stories.native.js.map +6 -0
  404. package/dist/jsx/organize/SimpleInput/index.js.map +6 -0
  405. package/dist/jsx/organize/SimpleInput/index.native.js.map +6 -0
  406. package/dist/jsx/organize/SimpleListItem/SimpleListItem.stories.js +34 -0
  407. package/dist/jsx/organize/SimpleListItem/SimpleListItem.stories.js.map +6 -0
  408. package/dist/jsx/organize/SimpleListItem/SimpleListItem.stories.native.js +34 -0
  409. package/dist/jsx/organize/SimpleListItem/SimpleListItem.stories.native.js.map +6 -0
  410. package/dist/jsx/organize/SimpleListItem/index.js +21 -0
  411. package/dist/jsx/organize/SimpleListItem/index.js.map +6 -0
  412. package/dist/jsx/organize/SimpleListItem/index.native.js +21 -0
  413. package/dist/jsx/organize/SimpleListItem/index.native.js.map +6 -0
  414. package/dist/jsx/organize/SimpleTabs/SimpleTabs.stories.js.map +1 -1
  415. package/dist/jsx/organize/SimpleTabs/SimpleTabs.stories.native.js.map +1 -1
  416. package/dist/jsx/organize/SimpleTabs/index.js.map +1 -1
  417. package/dist/jsx/organize/SimpleTabs/index.native.js.map +1 -1
  418. package/dist/jsx/organize/index.js +5 -0
  419. package/dist/jsx/organize/index.js.map +6 -0
  420. package/dist/jsx/organize/index.native.js +5 -0
  421. package/dist/jsx/organize/index.native.js.map +6 -0
  422. package/dist/jsx/panels/SimpleAlertDialog/{SImpleAlertDialog.stories.js → SimpleAlertDialog.stories.js} +3 -3
  423. package/dist/jsx/panels/SimpleAlertDialog/SimpleAlertDialog.stories.js.map +6 -0
  424. package/dist/jsx/panels/SimpleAlertDialog/{SImpleAlertDialog.stories.native.js → SimpleAlertDialog.stories.native.js} +3 -3
  425. package/dist/jsx/panels/SimpleAlertDialog/SimpleAlertDialog.stories.native.js.map +6 -0
  426. package/dist/jsx/panels/SimpleDialog/SimpleDialog.stories.js +41 -2
  427. package/dist/jsx/panels/SimpleDialog/SimpleDialog.stories.js.map +1 -1
  428. package/dist/jsx/panels/SimpleDialog/SimpleDialog.stories.native.js +41 -2
  429. package/dist/jsx/panels/SimpleDialog/SimpleDialog.stories.native.js.map +1 -1
  430. package/dist/jsx/panels/SimpleDialog/index.js +37 -5
  431. package/dist/jsx/panels/SimpleDialog/index.js.map +1 -1
  432. package/dist/jsx/panels/SimpleDialog/index.native.js +37 -5
  433. package/dist/jsx/panels/SimpleDialog/index.native.js.map +1 -1
  434. package/dist/jsx/panels/SimplePopover/SimplePopover.stories.js +8 -4
  435. package/dist/jsx/panels/SimplePopover/SimplePopover.stories.js.map +1 -1
  436. package/dist/jsx/panels/SimplePopover/SimplePopover.stories.native.js +8 -4
  437. package/dist/jsx/panels/SimplePopover/SimplePopover.stories.native.js.map +1 -1
  438. package/dist/jsx/panels/SimplePopover/index.js +1 -1
  439. package/dist/jsx/panels/SimplePopover/index.js.map +1 -1
  440. package/dist/jsx/panels/SimplePopover/index.native.js +1 -1
  441. package/dist/jsx/panels/SimplePopover/index.native.js.map +1 -1
  442. package/dist/jsx/panels/SimpleTooltip/SimpleTooltip.stories.js +2 -4
  443. package/dist/jsx/panels/SimpleTooltip/SimpleTooltip.stories.js.map +1 -1
  444. package/dist/jsx/panels/SimpleTooltip/SimpleTooltip.stories.native.js +2 -4
  445. package/dist/jsx/panels/SimpleTooltip/SimpleTooltip.stories.native.js.map +1 -1
  446. package/dist/jsx/panels/SimpleTooltip/index.js +4 -11
  447. package/dist/jsx/panels/SimpleTooltip/index.js.map +1 -1
  448. package/dist/jsx/panels/SimpleTooltip/index.native.js +4 -11
  449. package/dist/jsx/panels/SimpleTooltip/index.native.js.map +1 -1
  450. package/package.json +24 -23
  451. package/src/code/Code/Code.stories.tsx +21 -0
  452. package/src/code/Code/index.ts +21 -0
  453. package/src/forms/FormCheckBox/index.tsx +24 -1
  454. package/src/forms/FormField.tsx +22 -1
  455. package/src/forms/FormRadioGroup/FormRadioGroup.stories.tsx +55 -14
  456. package/src/forms/FormRadioGroup/index.tsx +38 -46
  457. package/src/forms/FormSwitch/FormSwitch.stories.tsx +34 -7
  458. package/src/forms/FormSwitch/index.tsx +23 -4
  459. package/src/forms/SimpleForm/SimpleForm.stories.tsx +25 -3
  460. package/src/images/SimpleImage/index.stories.tsx +21 -0
  461. package/src/organize/SimpleAccordion/SimpleAccordion.stories.tsx +43 -5
  462. package/src/organize/SimpleAccordion/index.tsx +53 -3
  463. package/src/organize/SimpleCarousel/Carousel.stories.tsx +45 -0
  464. package/src/organize/SimpleCarousel/index.tsx +151 -0
  465. package/src/{component → organize}/SimpleInput/SimpleInput.stories.tsx +22 -1
  466. package/src/{component → organize}/SimpleInput/index.tsx +22 -1
  467. package/src/organize/SimpleListItem/SimpleListItem.stories.tsx +59 -0
  468. package/src/organize/SimpleListItem/index.tsx +36 -0
  469. package/src/organize/SimpleTabs/SimpleTabs.stories.tsx +21 -0
  470. package/src/organize/SimpleTabs/index.tsx +22 -0
  471. package/src/organize/index.ts +24 -0
  472. package/src/panels/SimpleAlertDialog/{SImpleAlertDialog.stories.tsx → SimpleAlertDialog.stories.tsx} +1 -1
  473. package/src/panels/SimpleDialog/SimpleDialog.stories.tsx +77 -1
  474. package/src/panels/SimpleDialog/index.tsx +79 -10
  475. package/src/panels/SimplePopover/SimplePopover.stories.tsx +35 -5
  476. package/src/panels/SimplePopover/index.tsx +40 -20
  477. package/src/panels/SimpleTooltip/SimpleTooltip.stories.tsx +26 -12
  478. package/src/panels/SimpleTooltip/index.tsx +28 -18
  479. package/types/code/Code/Code.stories.d.ts +20 -0
  480. package/types/code/Code/Code.stories.d.ts.map +1 -1
  481. package/types/code/Code/index.d.ts +46 -163
  482. package/types/code/Code/index.d.ts.map +1 -1
  483. package/types/code/Pre/index.d.ts +279 -38
  484. package/types/code/Pre/index.d.ts.map +1 -1
  485. package/types/forms/FormCheckBox/index.d.ts +21 -3
  486. package/types/forms/FormCheckBox/index.d.ts.map +1 -1
  487. package/types/forms/FormField.d.ts +21 -1
  488. package/types/forms/FormField.d.ts.map +1 -1
  489. package/types/forms/FormRadioGroup/FormRadioGroup.stories.d.ts +27 -1
  490. package/types/forms/FormRadioGroup/FormRadioGroup.stories.d.ts.map +1 -1
  491. package/types/forms/FormRadioGroup/index.d.ts +25 -16
  492. package/types/forms/FormRadioGroup/index.d.ts.map +1 -1
  493. package/types/forms/FormSwitch/FormSwitch.stories.d.ts +20 -0
  494. package/types/forms/FormSwitch/FormSwitch.stories.d.ts.map +1 -1
  495. package/types/forms/FormSwitch/index.d.ts +20 -0
  496. package/types/forms/FormSwitch/index.d.ts.map +1 -1
  497. package/types/forms/SimpleForm/SimpleForm.stories.d.ts +20 -0
  498. package/types/forms/SimpleForm/SimpleForm.stories.d.ts.map +1 -1
  499. package/types/hooks/useAnimationDriverToggle.d.ts +1 -3
  500. package/types/hooks/useAnimationDriverToggle.d.ts.map +1 -1
  501. package/types/images/SimpleImage/index.d.ts +1 -1
  502. package/types/images/SimpleImage/index.d.ts.map +1 -1
  503. package/types/images/SimpleImage/index.stories.d.ts +21 -1
  504. package/types/images/SimpleImage/index.stories.d.ts.map +1 -1
  505. package/types/images/Svg/Svg.stories.d.ts +1 -9
  506. package/types/images/Svg/Svg.stories.d.ts.map +1 -1
  507. package/types/images/Svg/index.d.ts +1 -9
  508. package/types/images/Svg/index.d.ts.map +1 -1
  509. package/types/images/Svg/index.native.d.ts +1 -9
  510. package/types/images/Svg/index.native.d.ts.map +1 -1
  511. package/types/images/SvgUri/index.native.d.ts +4 -12
  512. package/types/images/SvgUri/index.native.d.ts.map +1 -1
  513. package/types/mdx/LI/LI.stories.d.ts +20 -110
  514. package/types/mdx/LI/LI.stories.d.ts.map +1 -1
  515. package/types/mdx/LI/index.d.ts +20 -110
  516. package/types/mdx/LI/index.d.ts.map +1 -1
  517. package/types/mdx/UL/UL.stories.d.ts +279 -38
  518. package/types/mdx/UL/UL.stories.d.ts.map +1 -1
  519. package/types/mdx/UL/index.d.ts +279 -38
  520. package/types/mdx/UL/index.d.ts.map +1 -1
  521. package/types/mdx/components.d.ts +279 -38
  522. package/types/mdx/components.d.ts.map +1 -1
  523. package/types/organize/SimpleAccordion/SimpleAccordion.stories.d.ts +22 -2
  524. package/types/organize/SimpleAccordion/SimpleAccordion.stories.d.ts.map +1 -1
  525. package/types/organize/SimpleAccordion/index.d.ts +35 -1
  526. package/types/organize/SimpleAccordion/index.d.ts.map +1 -1
  527. package/types/organize/SimpleCarousel/Carousel.stories.d.ts +34 -0
  528. package/types/organize/SimpleCarousel/Carousel.stories.d.ts.map +1 -0
  529. package/types/organize/SimpleCarousel/index.d.ts +34 -0
  530. package/types/organize/SimpleCarousel/index.d.ts.map +1 -0
  531. package/types/organize/SimpleInput/SimpleInput.stories.d.ts +38 -0
  532. package/types/organize/SimpleInput/SimpleInput.stories.d.ts.map +1 -0
  533. package/types/{component → organize}/SimpleInput/index.d.ts +21 -1
  534. package/types/organize/SimpleInput/index.d.ts.map +1 -0
  535. package/types/organize/SimpleListItem/SimpleListItem.stories.d.ts +34 -0
  536. package/types/organize/SimpleListItem/SimpleListItem.stories.d.ts.map +1 -0
  537. package/types/organize/SimpleListItem/index.d.ts +10 -0
  538. package/types/organize/SimpleListItem/index.d.ts.map +1 -0
  539. package/types/organize/SimpleTabs/SimpleTabs.stories.d.ts +20 -0
  540. package/types/organize/SimpleTabs/SimpleTabs.stories.d.ts.map +1 -1
  541. package/types/organize/SimpleTabs/index.d.ts +20 -0
  542. package/types/organize/SimpleTabs/index.d.ts.map +1 -1
  543. package/types/organize/index.d.ts +5 -0
  544. package/types/organize/index.d.ts.map +1 -0
  545. package/types/panels/SimpleAlertDialog/{SImpleAlertDialog.stories.d.ts → SimpleAlertDialog.stories.d.ts} +1 -1
  546. package/types/panels/SimpleAlertDialog/{SImpleAlertDialog.stories.d.ts.map → SimpleAlertDialog.stories.d.ts.map} +1 -1
  547. package/types/panels/SimpleDialog/SimpleDialog.stories.d.ts +23 -0
  548. package/types/panels/SimpleDialog/SimpleDialog.stories.d.ts.map +1 -1
  549. package/types/panels/SimpleDialog/index.d.ts +28 -2
  550. package/types/panels/SimpleDialog/index.d.ts.map +1 -1
  551. package/types/panels/SimplePopover/SimplePopover.stories.d.ts +20 -0
  552. package/types/panels/SimplePopover/SimplePopover.stories.d.ts.map +1 -1
  553. package/types/panels/SimplePopover/index.d.ts +22 -5
  554. package/types/panels/SimplePopover/index.d.ts.map +1 -1
  555. package/types/panels/SimpleTooltip/SimpleTooltip.stories.d.ts +20 -0
  556. package/types/panels/SimpleTooltip/SimpleTooltip.stories.d.ts.map +1 -1
  557. package/types/panels/SimpleTooltip/index.d.ts +23 -6
  558. package/types/panels/SimpleTooltip/index.d.ts.map +1 -1
  559. package/types/table/Table/Table.stories.d.ts +407 -196
  560. package/types/table/Table/Table.stories.d.ts.map +1 -1
  561. package/types/table/Table/index.d.ts +407 -196
  562. package/types/table/Table/index.d.ts.map +1 -1
  563. package/types/table/TableCell/index.d.ts +30 -57
  564. package/types/table/TableCell/index.d.ts.map +1 -1
  565. package/types/table/TableCol/index.d.ts +377 -139
  566. package/types/table/TableCol/index.d.ts.map +1 -1
  567. package/dist/cjs/component/SimpleInput/SimpleInput.stories.js.map +0 -6
  568. package/dist/cjs/component/SimpleInput/SimpleInput.stories.native.js.map +0 -6
  569. package/dist/cjs/component/SimpleInput/index.js.map +0 -6
  570. package/dist/cjs/component/SimpleInput/index.native.js.map +0 -6
  571. package/dist/cjs/panels/SimpleToast/SimpleToast.stories.js +0 -41
  572. package/dist/cjs/panels/SimpleToast/SimpleToast.stories.js.map +0 -6
  573. package/dist/cjs/panels/SimpleToast/SimpleToast.stories.native.js.map +0 -6
  574. package/dist/cjs/panels/SimpleToast/index.js +0 -45
  575. package/dist/cjs/panels/SimpleToast/index.js.map +0 -6
  576. package/dist/cjs/panels/SimpleToast/index.native.js +0 -50
  577. package/dist/cjs/panels/SimpleToast/index.native.js.map +0 -6
  578. package/dist/esm/component/SimpleInput/SimpleInput.stories.js.map +0 -6
  579. package/dist/esm/component/SimpleInput/index.js.map +0 -6
  580. package/dist/esm/panels/SimpleAlertDialog/SImpleAlertDialog.stories.js.map +0 -6
  581. package/dist/esm/panels/SimpleToast/SimpleToast.stories.js +0 -25
  582. package/dist/esm/panels/SimpleToast/SimpleToast.stories.js.map +0 -6
  583. package/dist/esm/panels/SimpleToast/index.js +0 -27
  584. package/dist/esm/panels/SimpleToast/index.js.map +0 -6
  585. package/dist/jsx/component/SimpleInput/SimpleInput.stories.js.map +0 -6
  586. package/dist/jsx/component/SimpleInput/SimpleInput.stories.native.js.map +0 -6
  587. package/dist/jsx/component/SimpleInput/index.js.map +0 -6
  588. package/dist/jsx/component/SimpleInput/index.native.js.map +0 -6
  589. package/dist/jsx/panels/SimpleAlertDialog/SImpleAlertDialog.stories.js.map +0 -6
  590. package/dist/jsx/panels/SimpleAlertDialog/SImpleAlertDialog.stories.native.js.map +0 -6
  591. package/dist/jsx/panels/SimpleToast/SimpleToast.stories.js +0 -24
  592. package/dist/jsx/panels/SimpleToast/SimpleToast.stories.js.map +0 -6
  593. package/dist/jsx/panels/SimpleToast/SimpleToast.stories.native.js +0 -24
  594. package/dist/jsx/panels/SimpleToast/SimpleToast.stories.native.js.map +0 -6
  595. package/dist/jsx/panels/SimpleToast/index.js +0 -22
  596. package/dist/jsx/panels/SimpleToast/index.js.map +0 -6
  597. package/dist/jsx/panels/SimpleToast/index.native.js +0 -22
  598. package/dist/jsx/panels/SimpleToast/index.native.js.map +0 -6
  599. package/src/panels/SimpleToast/SimpleToast.stories.tsx +0 -27
  600. package/src/panels/SimpleToast/index.tsx +0 -27
  601. package/types/component/SimpleInput/SimpleInput.stories.d.ts +0 -18
  602. package/types/component/SimpleInput/SimpleInput.stories.d.ts.map +0 -1
  603. package/types/component/SimpleInput/index.d.ts.map +0 -1
  604. package/types/panels/SimpleToast/SimpleToast.stories.d.ts +0 -14
  605. package/types/panels/SimpleToast/SimpleToast.stories.d.ts.map +0 -1
  606. package/types/panels/SimpleToast/index.d.ts +0 -3
  607. package/types/panels/SimpleToast/index.d.ts.map +0 -1
  608. /package/dist/cjs/{component → organize}/SimpleInput/index.js +0 -0
  609. /package/dist/cjs/{component → organize}/SimpleInput/index.native.js +0 -0
  610. /package/dist/esm/{component → organize}/SimpleInput/index.js +0 -0
  611. /package/dist/jsx/{component → organize}/SimpleInput/index.js +0 -0
  612. /package/dist/jsx/{component → organize}/SimpleInput/index.native.js +0 -0
@@ -1,14 +1,52 @@
1
- import { SimpleAccordion } from '.';
1
+ /**
2
+ * File: /src/organize/SimpleAccordion/SimpleAccordion.stories.tsx
3
+ * Project: @multiplatform.one/components
4
+ * File Created: 13-10-2023 12:02:11
5
+ * Author: Lalit rajak
6
+ * -----
7
+ * BitSpur (c) Copyright 2021 - 2023
8
+ *
9
+ * Licensed under the Apache License, Version 2.0 (the "License");
10
+ * you may not use this file except in compliance with the License.
11
+ * You may obtain a copy of the License at
12
+ *
13
+ * http://www.apache.org/licenses/LICENSE-2.0
14
+ *
15
+ * Unless required by applicable law or agreed to in writing, software
16
+ * distributed under the License is distributed on an "AS IS" BASIS,
17
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
18
+ * See the License for the specific language governing permissions and
19
+ * limitations under the License.
20
+ */
21
+
2
22
  import React from 'react';
23
+ import { AccordionItem, SimpleAccordion } from './index';
24
+ import { YStack, Text } from 'tamagui';
3
25
 
4
26
  export default {
5
27
  title: 'organize/SimpleAccordion',
6
28
  component: SimpleAccordion,
7
29
  parameters: {
8
- status: {
9
- type: 'beta',
10
- },
30
+ status: { type: 'beta' },
11
31
  },
12
32
  };
13
33
 
14
- export const simpleAccordion = (args) => <SimpleAccordion {...args} />;
34
+ export const main = (args) => (
35
+ <SimpleAccordion {...args}>
36
+ <AccordionItem trigger={<Text>Trigger Apple </Text>} value="apple">
37
+ <YStack padding="$4">
38
+ <Text> Apple Content</Text>
39
+ </YStack>
40
+ </AccordionItem>
41
+ <AccordionItem trigger={<Text>Trigger Banana </Text>} value="banana">
42
+ <YStack padding="$4">
43
+ <Text>Banana Content</Text>
44
+ </YStack>
45
+ </AccordionItem>
46
+ <AccordionItem trigger={<Text>Trigger Orange </Text>} value="orange">
47
+ <YStack padding="$4">
48
+ <Text>Orange Content</Text>
49
+ </YStack>
50
+ </AccordionItem>
51
+ </SimpleAccordion>
52
+ );
@@ -1,6 +1,56 @@
1
- import { Text } from 'tamagui';
1
+ /**
2
+ * File: /src/organize/SimpleAccordion/index.tsx
3
+ * Project: @multiplatform.one/components
4
+ * File Created: 18-10-2023 15:23:17
5
+ * Author: Lalit rajak
6
+ * -----
7
+ * BitSpur (c) Copyright 2021 - 2023
8
+ *
9
+ * Licensed under the Apache License, Version 2.0 (the "License");
10
+ * you may not use this file except in compliance with the License.
11
+ * You may obtain a copy of the License at
12
+ *
13
+ * http://www.apache.org/licenses/LICENSE-2.0
14
+ *
15
+ * Unless required by applicable law or agreed to in writing, software
16
+ * distributed under the License is distributed on an "AS IS" BASIS,
17
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
18
+ * See the License for the specific language governing permissions and
19
+ * limitations under the License.
20
+ */
21
+
22
+ import type { AccordionContentProps, AccordionItemProps, AccordionTriggerProps } from 'ui';
23
+ import { Accordion } from 'ui';
2
24
  import React from 'react';
3
25
 
4
- export function SimpleAccordion() {
5
- return <Text>SimpleAccordion</Text>;
26
+ interface SimpleAccordionProps {
27
+ children: React.ReactNode;
28
+ overflow?: 'visible' | 'hidden' | 'scroll';
29
+ type?: 'single' | 'multiple';
30
+ }
31
+
32
+ type SimpleAccordionItemProps = AccordionItemProps & {
33
+ trigger: React.ReactNode;
34
+ triggerStyle?: AccordionTriggerProps;
35
+ contentStyle?: AccordionContentProps;
36
+ children: React.ReactNode;
37
+ };
38
+
39
+ export function SimpleAccordion({ children, ...props }: SimpleAccordionProps) {
40
+ return (
41
+ <Accordion overflow="hidden" type="single" {...props}>
42
+ {children}
43
+ </Accordion>
44
+ );
45
+ }
46
+
47
+ export function AccordionItem({ trigger, triggerStyle, children, contentStyle, ...props }: SimpleAccordionItemProps) {
48
+ return (
49
+ <Accordion.Item {...props}>
50
+ <Accordion.Trigger flexDirection="row" justifyContent="space-between" {...triggerStyle}>
51
+ {trigger}
52
+ </Accordion.Trigger>
53
+ <Accordion.Content {...contentStyle}>{children}</Accordion.Content>
54
+ </Accordion.Item>
55
+ );
6
56
  }
@@ -0,0 +1,45 @@
1
+ /**
2
+ * File: /src/organize/SimpleCarousel/Carousel.stories.tsx
3
+ * Project: @multiplatform.one/components
4
+ * File Created: 17-10-2023 14:47:51
5
+ * Author: Lalit rajak
6
+ * -----
7
+ * BitSpur (c) Copyright 2021 - 2023
8
+ *
9
+ * Licensed under the Apache License, Version 2.0 (the "License");
10
+ * you may not use this file except in compliance with the License.
11
+ * You may obtain a copy of the License at
12
+ *
13
+ * http://www.apache.org/licenses/LICENSE-2.0
14
+ *
15
+ * Unless required by applicable law or agreed to in writing, software
16
+ * distributed under the License is distributed on an "AS IS" BASIS,
17
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
18
+ * See the License for the specific language governing permissions and
19
+ * limitations under the License.
20
+ */
21
+ import { SimpleCarousel } from './index';
22
+ import React from 'react';
23
+ import { SimpleImage } from '../../images/SimpleImage';
24
+
25
+ export default {
26
+ title: 'organize/SimpleCarousel',
27
+ component: SimpleCarousel,
28
+ parameters: {
29
+ status: {
30
+ type: 'beta',
31
+ },
32
+ },
33
+ };
34
+
35
+ const mail = require('../../../assets/mail.png');
36
+ const pentagon = require('../../../assets/pentagon.svg');
37
+
38
+ export const Main = () => (
39
+ <SimpleCarousel speed={5000} defaultSlide={4}>
40
+ <SimpleImage src={mail} height={300} resizeMode="cover" />
41
+ <SimpleImage src={pentagon} height={300} resizeMode="cover" />
42
+ <SimpleImage src={mail} height={300} resizeMode="cover" />
43
+ <SimpleImage src={pentagon} height={300} resizeMode="cover" />
44
+ </SimpleCarousel>
45
+ );
@@ -0,0 +1,151 @@
1
+ /**
2
+ * File: /src/organize/SimpleCarousel/index.tsx
3
+ * Project: @multiplatform.one/components
4
+ * File Created: 17-10-2023 14:46:38
5
+ * Author: Lalit rajak
6
+ * -----
7
+ * BitSpur (c) Copyright 2021 - 2023
8
+ *
9
+ * Licensed under the Apache License, Version 2.0 (the "License");
10
+ * you may not use this file except in compliance with the License.
11
+ * You may obtain a copy of the License at
12
+ *
13
+ * http://www.apache.org/licenses/LICENSE-2.0
14
+ *
15
+ * Unless required by applicable law or agreed to in writing, software
16
+ * distributed under the License is distributed on an "AS IS" BASIS,
17
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
18
+ * See the License for the specific language governing permissions and
19
+ * limitations under the License.
20
+ */
21
+ import type { YStackProps } from 'tamagui';
22
+ import { Stack, Text, XStack, YStack } from 'tamagui';
23
+ import React, { useEffect, useState, useRef } from 'react';
24
+ import { ChevronLeft, ChevronRight } from '@tamagui/lucide-icons';
25
+ import type { IconProps } from '@tamagui/helpers-icon';
26
+
27
+ type CarouselProps = YStackProps & {
28
+ children: React.ReactNode;
29
+ speed?: number;
30
+ showCenterIndicator?: boolean;
31
+ showSideArrows?: boolean;
32
+ defaultSlide?: number;
33
+ sideArrowStyle?: IconProps;
34
+ };
35
+
36
+ export function SimpleCarousel({
37
+ children,
38
+ speed = 3000,
39
+ showCenterIndicator = true,
40
+ showSideArrows = true,
41
+ defaultSlide,
42
+ sideArrowStyle,
43
+ ...props
44
+ }: CarouselProps) {
45
+ const [currentSlide, setCurrentSlide] = useState(0);
46
+ const childrenCount = React.Children.count(children);
47
+ const carouselRef = useRef<HTMLDivElement>(null);
48
+
49
+ useEffect(() => {
50
+ const slideInterval = setInterval(() => {
51
+ setCurrentSlide((prevSlide) => (prevSlide + 1) % childrenCount);
52
+ }, speed);
53
+
54
+ return () => {
55
+ clearInterval(slideInterval);
56
+ };
57
+ }, [children, speed]);
58
+
59
+ useEffect(() => {
60
+ if (defaultSlide !== undefined && defaultSlide <= childrenCount) {
61
+ setCurrentSlide((defaultSlide - 1 + childrenCount) % childrenCount);
62
+ }
63
+ }, [defaultSlide]);
64
+
65
+ function handlePressNext() {
66
+ setCurrentSlide((prevSlide) => (prevSlide + 1) % childrenCount);
67
+ }
68
+
69
+ function handlePressPrev() {
70
+ setCurrentSlide((prevSlide) => (prevSlide - 1 + childrenCount) % childrenCount);
71
+ }
72
+
73
+ function renderSideArrows() {
74
+ return (
75
+ <>
76
+ <YStack
77
+ height={carouselRef.current?.clientHeight}
78
+ bg="$backgroundTransparent"
79
+ position="absolute"
80
+ justifyContent="center"
81
+ alignItems="center"
82
+ >
83
+ <Text onPress={handlePressPrev} cur="pointer">
84
+ <ChevronLeft color="gray" size="$4" {...sideArrowStyle} />
85
+ </Text>
86
+ </YStack>
87
+ <YStack
88
+ height={carouselRef.current?.clientHeight}
89
+ bg="$backgroundTransparent"
90
+ position="absolute"
91
+ justifyContent="center"
92
+ alignItems="center"
93
+ right={0}
94
+ >
95
+ <Text onPress={handlePressNext} cur="pointer">
96
+ <ChevronRight color="gray" size="$4" {...sideArrowStyle} />
97
+ </Text>
98
+ </YStack>
99
+ </>
100
+ );
101
+ }
102
+
103
+ function renderCenterIndicator() {
104
+ return (
105
+ <YStack
106
+ height={carouselRef.current?.clientHeight}
107
+ bg="$backgroundTransparent"
108
+ position="absolute"
109
+ justifyContent="flex-end"
110
+ alignItems="center"
111
+ left={0}
112
+ right={0}
113
+ >
114
+ <XStack space="$2" ai="center" marginBottom={20}>
115
+ {Array.from({ length: childrenCount }).map((_, index) => (
116
+ <Stack
117
+ height={index === currentSlide ? 4 : 1}
118
+ bg="$backgroundHover"
119
+ width={30}
120
+ key={index}
121
+ cursor="pointer"
122
+ marginVertical="$2"
123
+ onPress={() => setCurrentSlide(index)}
124
+ />
125
+ ))}
126
+ </XStack>
127
+ </YStack>
128
+ );
129
+ }
130
+
131
+ return (
132
+ <YStack overflow="hidden">
133
+ <XStack
134
+ transform={[{ translateX: -currentSlide * (carouselRef.current?.clientWidth || 1) }]}
135
+ // TODO: transitionDuration="transform 0.5s ease"
136
+ width="100%"
137
+ animation="lazy"
138
+ {...props}
139
+ ref={carouselRef}
140
+ >
141
+ {React.Children.map(children, (child, index) => (
142
+ <YStack key={index} flex-flexGrow={0} flexShrink={0} flexBasis="100%">
143
+ {child}
144
+ </YStack>
145
+ ))}
146
+ </XStack>
147
+ {showCenterIndicator && childrenCount > 1 && renderCenterIndicator()}
148
+ {showSideArrows && childrenCount > 1 && renderSideArrows()}
149
+ </YStack>
150
+ );
151
+ }
@@ -1,10 +1,31 @@
1
+ /**
2
+ * File: /src/organize/SimpleInput/SimpleInput.stories.tsx
3
+ * Project: @multiplatform.one/components
4
+ * File Created: 13-10-2023 09:40:26
5
+ * Author: Lalit rajak
6
+ * -----
7
+ * BitSpur (c) Copyright 2021 - 2023
8
+ *
9
+ * Licensed under the Apache License, Version 2.0 (the "License");
10
+ * you may not use this file except in compliance with the License.
11
+ * You may obtain a copy of the License at
12
+ *
13
+ * http://www.apache.org/licenses/LICENSE-2.0
14
+ *
15
+ * Unless required by applicable law or agreed to in writing, software
16
+ * distributed under the License is distributed on an "AS IS" BASIS,
17
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
18
+ * See the License for the specific language governing permissions and
19
+ * limitations under the License.
20
+ */
21
+
1
22
  import React from 'react';
2
23
  import { SimpleInput } from '.';
3
24
  import { YStack } from 'tamagui';
4
25
  import { Key, Eye } from '@tamagui/lucide-icons';
5
26
 
6
27
  export default {
7
- title: 'components/SimpleInput',
28
+ title: 'organize/SimpleInput',
8
29
  component: SimpleInput,
9
30
  parameters: { status: { type: 'beta' } },
10
31
  };
@@ -1,3 +1,24 @@
1
+ /**
2
+ * File: /src/organize/SimpleInput/index.tsx
3
+ * Project: @multiplatform.one/components
4
+ * File Created: 18-10-2023 15:23:17
5
+ * Author: Lalit rajak
6
+ * -----
7
+ * BitSpur (c) Copyright 2021 - 2023
8
+ *
9
+ * Licensed under the Apache License, Version 2.0 (the "License");
10
+ * you may not use this file except in compliance with the License.
11
+ * You may obtain a copy of the License at
12
+ *
13
+ * http://www.apache.org/licenses/LICENSE-2.0
14
+ *
15
+ * Unless required by applicable law or agreed to in writing, software
16
+ * distributed under the License is distributed on an "AS IS" BASIS,
17
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
18
+ * See the License for the specific language governing permissions and
19
+ * limitations under the License.
20
+ */
21
+
1
22
  import type { ButtonProps, ColorTokens, InputProps, SizeTokens, ThemeTokens, XStackProps } from 'tamagui';
2
23
  import { Button, Input, XGroup, XStack } from 'tamagui';
3
24
  import { Eye, EyeOff } from '@tamagui/lucide-icons';
@@ -29,7 +50,7 @@ interface CustomProps {
29
50
 
30
51
  type IconProps = SvgProps & BaseIconProps;
31
52
 
32
- export type SimpleInputProps = InputProps & CustomProps & XStackProps;
53
+ export type SimpleInputProps = Omit<InputProps & CustomProps & XStackProps, 'ref'>;
33
54
 
34
55
  export function SimpleInput({
35
56
  value,
@@ -0,0 +1,59 @@
1
+ /**
2
+ * File: /src/organize/SimpleListItem/SimpleListItem.stories.tsx
3
+ * Project: @multiplatform.one/components
4
+ * File Created: 16-10-2023 14:55:52
5
+ * Author: Lalit rajak
6
+ * -----
7
+ * BitSpur (c) Copyright 2021 - 2023
8
+ *
9
+ * Licensed under the Apache License, Version 2.0 (the "License");
10
+ * you may not use this file except in compliance with the License.
11
+ * You may obtain a copy of the License at
12
+ *
13
+ * http://www.apache.org/licenses/LICENSE-2.0
14
+ *
15
+ * Unless required by applicable law or agreed to in writing, software
16
+ * distributed under the License is distributed on an "AS IS" BASIS,
17
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
18
+ * See the License for the specific language governing permissions and
19
+ * limitations under the License.
20
+ */
21
+
22
+ import React from 'react';
23
+ import { SimpleList, SimpleListItem } from './index';
24
+ import { ChevronRight, Star } from '@tamagui/lucide-icons';
25
+ import { Label, Separator, Switch, XStack, YStack } from 'tamagui';
26
+
27
+ export default {
28
+ title: 'organize/SimpleListItem',
29
+ component: SimpleList,
30
+ parameters: {
31
+ status: { type: 'beta' },
32
+ },
33
+ };
34
+
35
+ function Main() {
36
+ const [orientation, setOrientation] = React.useState(true);
37
+ return (
38
+ <YStack fullscreen>
39
+ <XStack width={200} alignItems="center" space="$4" alignSelf="flex-start">
40
+ <Label paddingRight="$0" minWidth={90} justifyContent="flex-end" size="$2">
41
+ {orientation ? 'Horizontal' : 'Vertical'}
42
+ </Label>
43
+ <Separator minHeight={20} vertical />
44
+ <Switch size="$2" defaultChecked={orientation} onCheckedChange={setOrientation}>
45
+ <Switch.Thumb animation="quick" />
46
+ </Switch>
47
+ </XStack>
48
+ <SimpleList orientation={orientation ? 'horizontal' : 'vertical'}>
49
+ <SimpleListItem title="hello" icon={Star} subTitle="how are you" iconAfter={ChevronRight} width={200} />
50
+ <SimpleListItem title="hello" icon={Star} subTitle="how are you" iconAfter={ChevronRight} width={200} />
51
+ <SimpleListItem title="hello" icon={Star} subTitle="how are you" iconAfter={ChevronRight} width={200} />
52
+ <SimpleListItem title="hello" icon={Star} subTitle="how are you" iconAfter={ChevronRight} width={200} />
53
+ <SimpleListItem title="hello" icon={Star} subTitle="how are you" iconAfter={ChevronRight} width={200} />
54
+ </SimpleList>
55
+ </YStack>
56
+ );
57
+ }
58
+
59
+ export const main = () => <Main />;
@@ -0,0 +1,36 @@
1
+ import type { ListItemProps, YStackProps } from 'ui';
2
+ import { YGroup, ListItem, XGroup } from 'ui';
3
+ import React, { useMemo } from 'react';
4
+
5
+ type SimpleListProps = YStackProps & { orientation?: 'horizontal' | 'vertical' };
6
+ type SimpleListItemProps = ListItemProps & {};
7
+
8
+ const ListContext = React.createContext<SimpleListProps | null>(null);
9
+
10
+ export function SimpleList({ children, orientation = 'vertical', backgroundColor, bg, ...props }: SimpleListProps) {
11
+ const contextValue = useMemo(() => ({ orientation, backgroundColor, bg }), [orientation, backgroundColor, bg]);
12
+
13
+ const renderView = () => {
14
+ if (orientation === 'horizontal') {
15
+ return <XGroup {...props}>{children}</XGroup>;
16
+ }
17
+ return <YGroup {...props}>{children}</YGroup>;
18
+ };
19
+ return <ListContext.Provider value={contextValue}>{renderView()}</ListContext.Provider>;
20
+ }
21
+
22
+ export function SimpleListItem({ ...props }: SimpleListItemProps) {
23
+ const context = React.useContext(ListContext);
24
+ if (!context) {
25
+ throw new Error('SimpleListItem must be used within a SimpleList');
26
+ }
27
+
28
+ function renderItem() {
29
+ return <ListItem hoverTheme bg={context?.backgroundColor || context?.bg} {...props} />;
30
+ }
31
+
32
+ if (context.orientation === 'horizontal') {
33
+ return <XGroup.Item>{renderItem()}</XGroup.Item>;
34
+ }
35
+ return <YGroup.Item>{renderItem()}</YGroup.Item>;
36
+ }
@@ -1,3 +1,24 @@
1
+ /**
2
+ * File: /src/organize/SimpleTabs/SimpleTabs.stories.tsx
3
+ * Project: @multiplatform.one/components
4
+ * File Created: 18-10-2023 15:23:17
5
+ * Author: Lalit rajak
6
+ * -----
7
+ * BitSpur (c) Copyright 2021 - 2023
8
+ *
9
+ * Licensed under the Apache License, Version 2.0 (the "License");
10
+ * you may not use this file except in compliance with the License.
11
+ * You may obtain a copy of the License at
12
+ *
13
+ * http://www.apache.org/licenses/LICENSE-2.0
14
+ *
15
+ * Unless required by applicable law or agreed to in writing, software
16
+ * distributed under the License is distributed on an "AS IS" BASIS,
17
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
18
+ * See the License for the specific language governing permissions and
19
+ * limitations under the License.
20
+ */
21
+
1
22
  import React from 'react';
2
23
  import { SimpleTabs, TabContent, TabsList, Tab } from './index';
3
24
  import { H5, SizableText } from 'tamagui';
@@ -1,8 +1,30 @@
1
+ /**
2
+ * File: /src/organize/SimpleTabs/index.tsx
3
+ * Project: @multiplatform.one/components
4
+ * File Created: 18-10-2023 15:23:17
5
+ * Author: Lalit rajak
6
+ * -----
7
+ * BitSpur (c) Copyright 2021 - 2023
8
+ *
9
+ * Licensed under the Apache License, Version 2.0 (the "License");
10
+ * you may not use this file except in compliance with the License.
11
+ * You may obtain a copy of the License at
12
+ *
13
+ * http://www.apache.org/licenses/LICENSE-2.0
14
+ *
15
+ * Unless required by applicable law or agreed to in writing, software
16
+ * distributed under the License is distributed on an "AS IS" BASIS,
17
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
18
+ * See the License for the specific language governing permissions and
19
+ * limitations under the License.
20
+ */
21
+
1
22
  import type { PropsWithChildren } from 'react';
2
23
  import React, { useMemo } from 'react';
3
24
  import type { TabsProps, TabsContentProps, TabsTabProps, TabsListProps, ThemeValueFallback, SizeTokens } from 'tamagui';
4
25
  import { SizableText } from 'tamagui';
5
26
  import { Separator } from 'tamagui';
27
+
6
28
  import { Tabs } from 'tamagui';
7
29
 
8
30
  export type SimpleTabsProps = Omit<TabsProps, 'defaultValue'> & { fullScreen?: boolean } & { defaultRoute?: string };
@@ -0,0 +1,24 @@
1
+ /*
2
+ * File: /src/organize/index.ts
3
+ * Project: @multiplatform.one/components
4
+ * File Created: 20-10-2023 18:17:40
5
+ * Author: Lalit rajak
6
+ * -----
7
+ * BitSpur (c) Copyright 2021 - 2023
8
+ *
9
+ * Licensed under the Apache License, Version 2.0 (the "License");
10
+ * you may not use this file except in compliance with the License.
11
+ * You may obtain a copy of the License at
12
+ *
13
+ * http://www.apache.org/licenses/LICENSE-2.0
14
+ *
15
+ * Unless required by applicable law or agreed to in writing, software
16
+ * distributed under the License is distributed on an "AS IS" BASIS,
17
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
18
+ * See the License for the specific language governing permissions and
19
+ * limitations under the License.
20
+ */
21
+ export * from './SimpleCarousel';
22
+ export * from './SimpleAccordion';
23
+ export * from './SimpleInput';
24
+ export * from './SimpleTabs';
@@ -1,7 +1,7 @@
1
1
  import React from 'react';
2
2
  import { SimpleAlertDialog } from './index';
3
3
  import type { Meta } from '@storybook/react';
4
- import { AlertDialog, Button, Switch, XStack, YStack } from 'tamagui';
4
+ import { AlertDialog, Button, XStack, YStack } from 'tamagui';
5
5
 
6
6
  const meta: Meta = {
7
7
  title: 'panels/SimpleAlertDialog',
@@ -1,8 +1,30 @@
1
+ /**
2
+ * File: /src/panels/SimpleDialog/SimpleDialog.stories.tsx
3
+ * Project: @multiplatform.one/components
4
+ * File Created: 13-10-2023 09:40:26
5
+ * Author: Lalit rajak
6
+ * -----
7
+ * BitSpur (c) Copyright 2021 - 2023
8
+ *
9
+ * Licensed under the Apache License, Version 2.0 (the "License");
10
+ * you may not use this file except in compliance with the License.
11
+ * You may obtain a copy of the License at
12
+ *
13
+ * http://www.apache.org/licenses/LICENSE-2.0
14
+ *
15
+ * Unless required by applicable law or agreed to in writing, software
16
+ * distributed under the License is distributed on an "AS IS" BASIS,
17
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
18
+ * See the License for the specific language governing permissions and
19
+ * limitations under the License.
20
+ */
21
+
1
22
  import React, { useState } from 'react';
2
23
  import type { Meta } from '@storybook/react';
3
24
  import { Button, Input, Dialog, YStack } from 'tamagui';
4
25
  import { SimpleDialog } from './index';
5
26
  import { action } from '@storybook/addon-actions';
27
+ import { Text } from 'tamagui';
6
28
 
7
29
  const meta: Meta = {
8
30
  title: 'panels/SimpleDialog',
@@ -11,7 +33,12 @@ const meta: Meta = {
11
33
  };
12
34
 
13
35
  export const main = () => (
14
- <SimpleDialog onOpenChange={action('onOpenChange')} trigger={<Button>Press Me</Button>} title="Fill the details">
36
+ <SimpleDialog
37
+ onOpenChange={action('onOpenChange')}
38
+ trigger={<Button>Press Me</Button>}
39
+ title="Fill the details"
40
+ withoutCloseButton
41
+ >
15
42
  <Input placeholder="Enter your first name" />
16
43
  <Input placeholder="Enter your last name" />
17
44
  <Dialog.Close>
@@ -48,3 +75,52 @@ function OpenWithFunction() {
48
75
  export const openWithFunction = () => <OpenWithFunction />;
49
76
 
50
77
  export default meta;
78
+
79
+ export const customPosition = (args) => (
80
+ <SimpleDialog
81
+ {...args}
82
+ trigger={<Button>open Dialog</Button>}
83
+ withoutCloseButton
84
+ portalStyle={{ jc: 'flex-start', paddingTop: 10 }}
85
+ >
86
+ <YStack width={800} height={400}>
87
+ <Input placeholder="search" />
88
+ </YStack>
89
+ </SimpleDialog>
90
+ );
91
+
92
+ export const rightSideDialog = (args) => (
93
+ <SimpleDialog
94
+ trigger={<Button>open side dialog</Button>}
95
+ asRightSideSheet
96
+ withoutCloseButton
97
+ transitionWidth={400}
98
+ contentStyle={{ animation: 'quick' }}
99
+ {...args}
100
+ >
101
+ <YStack width={400}>
102
+ <Text>home</Text>
103
+ <Text>about</Text>
104
+ <Text>contact</Text>
105
+ <Text>help</Text>
106
+ </YStack>
107
+ </SimpleDialog>
108
+ );
109
+
110
+ export const leftSideDialog = (args) => (
111
+ <SimpleDialog
112
+ trigger={<Button>open side dialog</Button>}
113
+ asLeftSideSheet
114
+ withoutCloseButton
115
+ transitionWidth={300}
116
+ contentStyle={{ animation: 'lazy' }}
117
+ {...args}
118
+ >
119
+ <YStack width={300}>
120
+ <Text>home</Text>
121
+ <Text>about</Text>
122
+ <Text>contact</Text>
123
+ <Text>help</Text>
124
+ </YStack>
125
+ </SimpleDialog>
126
+ );