@rbxts/uiblox 0.2.0-alpha.29 → 0.2.0-alpha.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 (312) hide show
  1. package/README.md +109 -27
  2. package/out/hooks/index.d.ts +0 -1
  3. package/out/hooks/init.luau +0 -3
  4. package/out/hooks/useBreakpoints.luau +11 -2
  5. package/out/theme/interfaces/theme/Theme.d.ts +0 -15
  6. package/out/theme/styles/utilities/componentStyles.luau +3 -45
  7. package/out/theme/styles/utilities/componentTheme.d.ts +0 -15
  8. package/out/theme/styles/utilities/index.d.ts +0 -2
  9. package/out/theme/styles/utilities/init.luau +0 -7
  10. package/out/theme/styles/utilities/resolveStyle.d.ts +2 -10
  11. package/out/theme/styles/utilities/resolveStyle.luau +3 -7
  12. package/out/theme/styles/utilities/styleCache.d.ts +0 -2
  13. package/out/theme/styles/utilities/styleCache.luau +0 -9
  14. package/out/ui/packages/accordion/components/Accordion.d.ts +0 -2
  15. package/out/ui/packages/accordion/components/Accordion.luau +30 -46
  16. package/out/ui/packages/accordion/components/Accordion.styles.d.ts +0 -1
  17. package/out/ui/packages/accordion/components/Accordion.styles.luau +4 -16
  18. package/out/ui/packages/accordion/components/accordionOpen.d.ts +0 -1
  19. package/out/ui/packages/accordion/components/accordionOpen.luau +0 -4
  20. package/out/ui/packages/alert/components/Alert.d.ts +0 -2
  21. package/out/ui/packages/alert/components/Alert.luau +42 -48
  22. package/out/ui/packages/alert/components/Alert.styles.d.ts +0 -2
  23. package/out/ui/packages/alert/components/Alert.styles.luau +8 -17
  24. package/out/ui/packages/appBar/components/AppBar.d.ts +1 -2
  25. package/out/ui/packages/appBar/components/AppBar.luau +16 -14
  26. package/out/ui/packages/appBar/components/AppBar.styles.d.ts +0 -2
  27. package/out/ui/packages/appBar/components/AppBar.styles.luau +2 -6
  28. package/out/ui/packages/assetField/components/AssetField.luau +16 -12
  29. package/out/ui/packages/autocomplete/components/Autocomplete.luau +0 -8
  30. package/out/ui/packages/avatar/components/Avatar.d.ts +0 -2
  31. package/out/ui/packages/avatar/components/Avatar.luau +26 -27
  32. package/out/ui/packages/avatar/components/Avatar.styles.d.ts +0 -2
  33. package/out/ui/packages/avatar/components/Avatar.styles.luau +1 -5
  34. package/out/ui/packages/badge/components/Badge.d.ts +0 -3
  35. package/out/ui/packages/badge/components/Badge.luau +24 -32
  36. package/out/ui/packages/badge/components/Badge.styles.d.ts +1 -5
  37. package/out/ui/packages/badge/components/Badge.styles.luau +8 -20
  38. package/out/ui/packages/bottomNavigation/components/BottomNavigation.d.ts +0 -1
  39. package/out/ui/packages/bottomNavigation/components/BottomNavigation.luau +18 -20
  40. package/out/ui/packages/bottomNavigation/components/BottomNavigation.styles.d.ts +1 -3
  41. package/out/ui/packages/bottomNavigation/components/BottomNavigation.styles.luau +2 -6
  42. package/out/ui/packages/breadcrumbs/components/Breadcrumbs.d.ts +0 -1
  43. package/out/ui/packages/breadcrumbs/components/Breadcrumbs.luau +40 -67
  44. package/out/ui/packages/breadcrumbs/components/breadcrumbItems.d.ts +0 -9
  45. package/out/ui/packages/breadcrumbs/components/breadcrumbItems.luau +0 -68
  46. package/out/ui/packages/breadcrumbs/index.d.ts +0 -1
  47. package/out/ui/packages/breadcrumbs/init.luau +0 -3
  48. package/out/ui/packages/brickColorPicker/components/BrickColorPicker.luau +16 -12
  49. package/out/ui/packages/button/components/Button.luau +22 -28
  50. package/out/ui/packages/card/components/Card.d.ts +1 -3
  51. package/out/ui/packages/card/components/Card.luau +0 -10
  52. package/out/ui/packages/cframeEditor/components/CFrameEditor.luau +53 -75
  53. package/out/ui/packages/cframeEditor/components/CFrameEditor.styles.luau +9 -26
  54. package/out/ui/packages/checkbox/components/Checkbox.luau +16 -16
  55. package/out/ui/packages/checkbox/components/checkboxLook.d.ts +1 -1
  56. package/out/ui/packages/chip/components/Chip.d.ts +1 -6
  57. package/out/ui/packages/chip/components/Chip.luau +17 -61
  58. package/out/ui/packages/chip/components/Chip.styles.d.ts +0 -6
  59. package/out/ui/packages/chip/components/Chip.styles.luau +9 -54
  60. package/out/ui/packages/circularProgress/components/CircularProgress.luau +18 -29
  61. package/out/ui/packages/colorPicker/components/ColorPicker.luau +20 -16
  62. package/out/ui/packages/colorPicker/components/ColorPicker.styles.luau +20 -34
  63. package/out/ui/packages/colorPicker/components/ColorSequenceEditor.luau +35 -34
  64. package/out/ui/packages/colorPicker/components/NumberSequenceEditor.luau +62 -65
  65. package/out/ui/packages/dialog/components/Dialog.d.ts +2 -3
  66. package/out/ui/packages/dialog/components/Dialog.luau +21 -41
  67. package/out/ui/packages/divider/components/Divider.d.ts +0 -1
  68. package/out/ui/packages/divider/components/Divider.luau +17 -52
  69. package/out/ui/packages/divider/components/Divider.styles.luau +0 -32
  70. package/out/ui/packages/drawer/components/Drawer.d.ts +1 -3
  71. package/out/ui/packages/drawer/components/Drawer.luau +37 -71
  72. package/out/ui/packages/drawer/components/Drawer.styles.d.ts +1 -3
  73. package/out/ui/packages/drawer/components/Drawer.styles.luau +2 -3
  74. package/out/ui/packages/fab/components/Fab.d.ts +0 -3
  75. package/out/ui/packages/fab/components/Fab.luau +37 -79
  76. package/out/ui/packages/fab/components/Fab.styles.d.ts +0 -3
  77. package/out/ui/packages/fab/components/Fab.styles.luau +3 -39
  78. package/out/ui/packages/fab/components/fabSize.d.ts +0 -1
  79. package/out/ui/packages/fab/components/fabSize.luau +0 -4
  80. package/out/ui/packages/fab/index.d.ts +1 -1
  81. package/out/ui/packages/fab/init.luau +0 -1
  82. package/out/ui/packages/fontEditor/components/FontEditor.luau +16 -12
  83. package/out/ui/packages/gradientEditor/components/GradientEditor.luau +42 -56
  84. package/out/ui/packages/gradientEditor/components/GradientEditor.styles.luau +4 -37
  85. package/out/ui/packages/icon/components/Icon.luau +16 -9
  86. package/out/ui/packages/iconButton/components/IconButton.luau +17 -22
  87. package/out/ui/packages/iconButton/components/IconButton.styles.luau +0 -3
  88. package/out/ui/packages/index.d.ts +0 -8
  89. package/out/ui/packages/init.luau +0 -24
  90. package/out/ui/packages/input/components/Input.d.ts +0 -1
  91. package/out/ui/packages/input/components/Input.luau +19 -22
  92. package/out/ui/packages/layout/components/Grid.d.ts +1 -5
  93. package/out/ui/packages/layout/components/Grid.luau +19 -41
  94. package/out/ui/packages/layout/components/List.luau +16 -9
  95. package/out/ui/packages/layout/index.d.ts +0 -14
  96. package/out/ui/packages/layout/init.luau +0 -5
  97. package/out/ui/packages/listItem/components/ListItem.d.ts +1 -4
  98. package/out/ui/packages/listItem/components/ListItem.luau +4 -44
  99. package/out/ui/packages/listItem/components/ListItem.styles.d.ts +0 -1
  100. package/out/ui/packages/listItem/components/ListItem.styles.luau +5 -16
  101. package/out/ui/packages/loadingStroke/components/LoadingStroke.d.ts +1 -7
  102. package/out/ui/packages/loadingStroke/components/LoadingStroke.luau +19 -23
  103. package/out/ui/packages/menu/components/Menu.d.ts +1 -7
  104. package/out/ui/packages/menu/components/Menu.luau +26 -68
  105. package/out/ui/packages/menu/components/Menu.styles.luau +1 -5
  106. package/out/ui/packages/modal/components/Modal.d.ts +1 -2
  107. package/out/ui/packages/modal/components/Modal.luau +37 -79
  108. package/out/ui/packages/motion/index.d.ts +1 -1
  109. package/out/ui/packages/motion/init.luau +0 -1
  110. package/out/ui/packages/motion/unit.d.ts +0 -5
  111. package/out/ui/packages/motion/unit.luau +0 -23
  112. package/out/ui/packages/numberInput/components/NumberInput.d.ts +0 -2
  113. package/out/ui/packages/numberInput/components/NumberInput.luau +3 -16
  114. package/out/ui/packages/numberInput/components/numberValue.d.ts +0 -1
  115. package/out/ui/packages/numberInput/components/numberValue.luau +0 -45
  116. package/out/ui/packages/numberRangeEditor/components/NumberRangeEditor.luau +16 -12
  117. package/out/ui/packages/pagination/components/Pagination.d.ts +1 -6
  118. package/out/ui/packages/pagination/components/Pagination.luau +38 -62
  119. package/out/ui/packages/pagination/components/Pagination.styles.d.ts +1 -6
  120. package/out/ui/packages/pagination/components/Pagination.styles.luau +4 -36
  121. package/out/ui/packages/pagination/components/pageRange.d.ts +1 -2
  122. package/out/ui/packages/pagination/components/pageRange.luau +8 -91
  123. package/out/ui/packages/pagination/index.d.ts +0 -1
  124. package/out/ui/packages/pagination/init.luau +0 -1
  125. package/out/ui/packages/paper/components/Paper.d.ts +2 -4
  126. package/out/ui/packages/paper/components/Paper.luau +9 -31
  127. package/out/ui/packages/paper/components/Paper.styles.d.ts +1 -1
  128. package/out/ui/packages/paper/components/Paper.styles.luau +0 -6
  129. package/out/ui/packages/physicalPropertiesEditor/components/PhysicalPropertiesEditor.luau +38 -63
  130. package/out/ui/packages/physicalPropertiesEditor/components/PhysicalPropertiesEditor.styles.luau +7 -21
  131. package/out/ui/packages/physicalPropertiesEditor/components/physicalParts.d.ts +0 -2
  132. package/out/ui/packages/physicalPropertiesEditor/components/physicalParts.luau +0 -14
  133. package/out/ui/packages/popup/components/Popup.d.ts +1 -2
  134. package/out/ui/packages/popup/components/Popup.luau +18 -35
  135. package/out/ui/packages/popup/index.d.ts +0 -1
  136. package/out/ui/packages/popup/init.luau +0 -1
  137. package/out/ui/packages/preloader/components/Preloader.luau +16 -9
  138. package/out/ui/packages/progressBar/components/ProgressBar.luau +16 -12
  139. package/out/ui/packages/radioGroup/components/RadioGroup.d.ts +0 -1
  140. package/out/ui/packages/radioGroup/components/RadioGroup.luau +18 -16
  141. package/out/ui/packages/radioGroup/components/RadioGroup.styles.d.ts +0 -1
  142. package/out/ui/packages/radioGroup/components/RadioGroup.styles.luau +1 -4
  143. package/out/ui/packages/rayEditor/components/RayEditor.luau +16 -12
  144. package/out/ui/packages/rectEditor/components/RectEditor.luau +43 -86
  145. package/out/ui/packages/rectEditor/components/RectEditor.styles.luau +7 -30
  146. package/out/ui/packages/select/components/Select.d.ts +0 -5
  147. package/out/ui/packages/select/components/Select.luau +77 -61
  148. package/out/ui/packages/select/components/Select.styles.luau +1 -1
  149. package/out/ui/packages/select/components/selectMotion.d.ts +2 -0
  150. package/out/ui/packages/select/components/selectMotion.luau +12 -0
  151. package/out/ui/packages/shadow/components/Shadow.d.ts +1 -2
  152. package/out/ui/packages/shadow/components/Shadow.luau +17 -39
  153. package/out/ui/packages/shadow/components/Shadow.styles.luau +2 -7
  154. package/out/ui/packages/sidebar/components/Sidebar.luau +16 -9
  155. package/out/ui/packages/skeleton/components/Skeleton.luau +30 -22
  156. package/out/ui/packages/skeleton/components/Skeleton.styles.luau +2 -7
  157. package/out/ui/packages/skeleton/components/skeletonMotion.luau +1 -1
  158. package/out/ui/packages/slider/components/Slider.d.ts +0 -3
  159. package/out/ui/packages/slider/components/Slider.luau +19 -47
  160. package/out/ui/packages/slider/components/Slider.styles.d.ts +0 -2
  161. package/out/ui/packages/slider/components/Slider.styles.luau +1 -14
  162. package/out/ui/packages/snackbar/components/Snackbar.d.ts +0 -2
  163. package/out/ui/packages/snackbar/components/Snackbar.luau +0 -5
  164. package/out/ui/packages/splitPane/components/SplitPane.luau +17 -13
  165. package/out/ui/packages/splitPane/components/splitLook.d.ts +1 -1
  166. package/out/ui/packages/stateMatrix.d.ts +0 -2
  167. package/out/ui/packages/stateMatrix.luau +881 -872
  168. package/out/ui/packages/stepper/components/Stepper.d.ts +0 -1
  169. package/out/ui/packages/stepper/components/Stepper.luau +17 -16
  170. package/out/ui/packages/stepper/components/Stepper.styles.d.ts +1 -3
  171. package/out/ui/packages/stepper/components/Stepper.styles.luau +2 -6
  172. package/out/ui/packages/switch/components/Switch.d.ts +0 -2
  173. package/out/ui/packages/switch/components/Switch.luau +16 -21
  174. package/out/ui/packages/switch/components/Switch.styles.d.ts +0 -2
  175. package/out/ui/packages/switch/components/Switch.styles.luau +1 -6
  176. package/out/ui/packages/switch/components/switchLook.d.ts +1 -1
  177. package/out/ui/packages/table/components/Table.d.ts +0 -1
  178. package/out/ui/packages/table/components/Table.luau +19 -15
  179. package/out/ui/packages/table/components/Table.styles.d.ts +1 -3
  180. package/out/ui/packages/table/components/Table.styles.luau +6 -10
  181. package/out/ui/packages/tabs/components/Tabs.d.ts +0 -3
  182. package/out/ui/packages/tabs/components/Tabs.luau +19 -24
  183. package/out/ui/packages/tabs/components/Tabs.styles.d.ts +1 -5
  184. package/out/ui/packages/tabs/components/Tabs.styles.luau +10 -26
  185. package/out/ui/packages/tabs/index.d.ts +0 -1
  186. package/out/ui/packages/tabs/init.luau +0 -1
  187. package/out/ui/packages/toast/components/Toast.d.ts +0 -2
  188. package/out/ui/packages/toast/components/Toast.luau +13 -41
  189. package/out/ui/packages/toast/components/Toast.styles.luau +5 -23
  190. package/out/ui/packages/tooltip/components/Tooltip.luau +16 -9
  191. package/out/ui/packages/treeView/components/TreeView.luau +16 -9
  192. package/out/ui/packages/typography/components/Typography.luau +14 -13
  193. package/out/ui/packages/udimEditor/components/UDimEditor.luau +16 -12
  194. package/out/ui/packages/vectorEditor/components/VectorEditor.luau +16 -12
  195. package/out/ui/packages/virtualList/components/VirtualList.luau +16 -9
  196. package/out/ui/packages/virtualList/index.d.ts +0 -2
  197. package/out/ui/packages/virtualList/init.luau +0 -1
  198. package/package.json +2 -2
  199. package/out/hooks/viewportObserver.d.ts +0 -10
  200. package/out/hooks/viewportObserver.luau +0 -75
  201. package/out/theme/styles/utilities/resolveSx.d.ts +0 -110
  202. package/out/theme/styles/utilities/resolveSx.luau +0 -479
  203. package/out/ui/packages/backdrop/components/Backdrop.d.ts +0 -10
  204. package/out/ui/packages/backdrop/components/Backdrop.luau +0 -51
  205. package/out/ui/packages/backdrop/components/Backdrop.styles.d.ts +0 -4
  206. package/out/ui/packages/backdrop/components/Backdrop.styles.luau +0 -24
  207. package/out/ui/packages/backdrop/index.d.ts +0 -2
  208. package/out/ui/packages/backdrop/init.luau +0 -5
  209. package/out/ui/packages/divider/components/dividerLabel.d.ts +0 -1
  210. package/out/ui/packages/divider/components/dividerLabel.luau +0 -10
  211. package/out/ui/packages/formText/components/FormHelperText.d.ts +0 -8
  212. package/out/ui/packages/formText/components/FormHelperText.luau +0 -40
  213. package/out/ui/packages/formText/components/FormLabel.d.ts +0 -9
  214. package/out/ui/packages/formText/components/FormLabel.luau +0 -42
  215. package/out/ui/packages/formText/components/FormText.styles.d.ts +0 -5
  216. package/out/ui/packages/formText/components/FormText.styles.luau +0 -33
  217. package/out/ui/packages/formText/index.d.ts +0 -4
  218. package/out/ui/packages/formText/init.luau +0 -6
  219. package/out/ui/packages/host/components/SxHost.d.ts +0 -18
  220. package/out/ui/packages/host/components/SxHost.luau +0 -202
  221. package/out/ui/packages/host/hostPaint.d.ts +0 -11
  222. package/out/ui/packages/host/hostPaint.luau +0 -33
  223. package/out/ui/packages/host/hostRules.d.ts +0 -15
  224. package/out/ui/packages/host/hostRules.luau +0 -92
  225. package/out/ui/packages/host/index.d.ts +0 -3
  226. package/out/ui/packages/host/init.luau +0 -13
  227. package/out/ui/packages/imageList/components/ImageList.d.ts +0 -14
  228. package/out/ui/packages/imageList/components/ImageList.luau +0 -93
  229. package/out/ui/packages/imageList/components/ImageList.styles.d.ts +0 -6
  230. package/out/ui/packages/imageList/components/ImageList.styles.luau +0 -73
  231. package/out/ui/packages/imageList/components/imageListLayout.d.ts +0 -4
  232. package/out/ui/packages/imageList/components/imageListLayout.luau +0 -31
  233. package/out/ui/packages/imageList/index.d.ts +0 -2
  234. package/out/ui/packages/imageList/init.luau +0 -5
  235. package/out/ui/packages/layout/components/Box.d.ts +0 -11
  236. package/out/ui/packages/layout/components/Box.luau +0 -40
  237. package/out/ui/packages/layout/components/Box.styles.d.ts +0 -7
  238. package/out/ui/packages/layout/components/Box.styles.luau +0 -34
  239. package/out/ui/packages/layout/components/Container.d.ts +0 -10
  240. package/out/ui/packages/layout/components/Container.luau +0 -45
  241. package/out/ui/packages/layout/components/Container.styles.d.ts +0 -6
  242. package/out/ui/packages/layout/components/Container.styles.luau +0 -41
  243. package/out/ui/packages/layout/components/FlexItem.d.ts +0 -12
  244. package/out/ui/packages/layout/components/FlexItem.luau +0 -40
  245. package/out/ui/packages/layout/components/FlexItem.styles.d.ts +0 -8
  246. package/out/ui/packages/layout/components/FlexItem.styles.luau +0 -66
  247. package/out/ui/packages/layout/components/Stack.d.ts +0 -14
  248. package/out/ui/packages/layout/components/Stack.luau +0 -44
  249. package/out/ui/packages/layout/components/Stack.styles.d.ts +0 -10
  250. package/out/ui/packages/layout/components/Stack.styles.luau +0 -101
  251. package/out/ui/packages/layout/components/boxPad.d.ts +0 -14
  252. package/out/ui/packages/layout/components/boxPad.luau +0 -59
  253. package/out/ui/packages/layout/components/containerWidth.d.ts +0 -2
  254. package/out/ui/packages/layout/components/containerWidth.luau +0 -17
  255. package/out/ui/packages/layout/components/flexItemMode.d.ts +0 -6
  256. package/out/ui/packages/layout/components/flexItemMode.luau +0 -36
  257. package/out/ui/packages/layout/components/gridProps.d.ts +0 -3
  258. package/out/ui/packages/layout/components/gridProps.luau +0 -20
  259. package/out/ui/packages/layout/components/stackAlign.d.ts +0 -10
  260. package/out/ui/packages/layout/components/stackAlign.luau +0 -43
  261. package/out/ui/packages/link/components/Link.d.ts +0 -11
  262. package/out/ui/packages/link/components/Link.luau +0 -80
  263. package/out/ui/packages/link/components/Link.styles.d.ts +0 -8
  264. package/out/ui/packages/link/components/Link.styles.luau +0 -59
  265. package/out/ui/packages/link/index.d.ts +0 -3
  266. package/out/ui/packages/link/init.luau +0 -5
  267. package/out/ui/packages/loadingStroke/components/loadingStrokeSx.d.ts +0 -11
  268. package/out/ui/packages/loadingStroke/components/loadingStrokeSx.luau +0 -2
  269. package/out/ui/packages/markdown/components/Markdown.d.ts +0 -6
  270. package/out/ui/packages/markdown/components/Markdown.luau +0 -221
  271. package/out/ui/packages/markdown/components/Markdown.styles.d.ts +0 -2
  272. package/out/ui/packages/markdown/components/Markdown.styles.luau +0 -101
  273. package/out/ui/packages/markdown/components/MarkdownEditor.d.ts +0 -16
  274. package/out/ui/packages/markdown/components/MarkdownEditor.luau +0 -315
  275. package/out/ui/packages/markdown/components/MarkdownEditor.styles.d.ts +0 -6
  276. package/out/ui/packages/markdown/components/MarkdownEditor.styles.luau +0 -132
  277. package/out/ui/packages/markdown/htmlToMarkdown.d.ts +0 -2
  278. package/out/ui/packages/markdown/htmlToMarkdown.luau +0 -350
  279. package/out/ui/packages/markdown/index.d.ts +0 -8
  280. package/out/ui/packages/markdown/init.luau +0 -11
  281. package/out/ui/packages/markdown/parseMarkdown.d.ts +0 -42
  282. package/out/ui/packages/markdown/parseMarkdown.luau +0 -459
  283. package/out/ui/packages/rating/components/Rating.d.ts +0 -11
  284. package/out/ui/packages/rating/components/Rating.luau +0 -97
  285. package/out/ui/packages/rating/components/Rating.styles.d.ts +0 -6
  286. package/out/ui/packages/rating/components/Rating.styles.luau +0 -44
  287. package/out/ui/packages/rating/index.d.ts +0 -2
  288. package/out/ui/packages/rating/init.luau +0 -5
  289. package/out/ui/packages/skeleton/components/skeletonTone.d.ts +0 -20
  290. package/out/ui/packages/skeleton/components/skeletonTone.luau +0 -14
  291. package/out/ui/packages/slider/components/sliderMarks.d.ts +0 -1
  292. package/out/ui/packages/slider/components/sliderMarks.luau +0 -37
  293. package/out/ui/packages/snackbar/components/snackbarAction.d.ts +0 -1
  294. package/out/ui/packages/snackbar/components/snackbarAction.luau +0 -10
  295. package/out/ui/packages/speedDial/components/SpeedDial.d.ts +0 -19
  296. package/out/ui/packages/speedDial/components/SpeedDial.luau +0 -97
  297. package/out/ui/packages/speedDial/components/SpeedDial.styles.d.ts +0 -5
  298. package/out/ui/packages/speedDial/components/SpeedDial.styles.luau +0 -31
  299. package/out/ui/packages/speedDial/index.d.ts +0 -3
  300. package/out/ui/packages/speedDial/init.luau +0 -5
  301. package/out/ui/packages/tabs/components/tabsOrientation.d.ts +0 -2
  302. package/out/ui/packages/tabs/components/tabsOrientation.luau +0 -7
  303. package/out/ui/packages/toggleButton/components/ToggleButton.d.ts +0 -21
  304. package/out/ui/packages/toggleButton/components/ToggleButton.luau +0 -129
  305. package/out/ui/packages/toggleButton/components/ToggleButton.styles.d.ts +0 -9
  306. package/out/ui/packages/toggleButton/components/ToggleButton.styles.luau +0 -69
  307. package/out/ui/packages/toggleButton/index.d.ts +0 -2
  308. package/out/ui/packages/toggleButton/init.luau +0 -7
  309. package/out/ui/packages/virtualList/components/EmptyListHint.d.ts +0 -7
  310. package/out/ui/packages/virtualList/components/EmptyListHint.luau +0 -43
  311. package/out/ui/packages/virtualList/components/EmptyListHint.styles.d.ts +0 -5
  312. package/out/ui/packages/virtualList/components/EmptyListHint.styles.luau +0 -26
@@ -1,101 +0,0 @@
1
- -- Compiled with roblox-ts v3.0.0
2
- local TS = _G[script]
3
- local _theme = TS.import(script, script.Parent.Parent.Parent.Parent.Parent, "theme")
4
- local componentStyles = _theme.componentStyles
5
- local createStyles = _theme.createStyles
6
- local useMarkdownStyles = componentStyles("Markdown", function(theme)
7
- local gap = if theme.density == "compact" then theme.padding.calc(1) else theme.spacing.calc(1)
8
- local _object = {
9
- root = {
10
- AutomaticSize = Enum.AutomaticSize.Y,
11
- Size = UDim2.new(1, 0, 0, 0),
12
- BackgroundTransparency = 1,
13
- BorderSizePixel = 0,
14
- },
15
- layout = {
16
- FillDirection = Enum.FillDirection.Vertical,
17
- HorizontalAlignment = Enum.HorizontalAlignment.Left,
18
- VerticalAlignment = Enum.VerticalAlignment.Top,
19
- SortOrder = Enum.SortOrder.LayoutOrder,
20
- Padding = UDim.new(0, gap),
21
- },
22
- block = {
23
- AutomaticSize = Enum.AutomaticSize.Y,
24
- Size = UDim2.new(1, 0, 0, 0),
25
- BackgroundTransparency = 1,
26
- BorderSizePixel = 0,
27
- },
28
- text = {
29
- AutomaticSize = Enum.AutomaticSize.Y,
30
- Size = UDim2.new(1, 0, 0, 0),
31
- BackgroundTransparency = 1,
32
- BorderSizePixel = 0,
33
- Font = theme.typography.fontFamilies.default,
34
- TextSize = theme.typography.fontSizes.body,
35
- TextColor3 = theme.palette.text.primary,
36
- TextXAlignment = Enum.TextXAlignment.Left,
37
- TextYAlignment = Enum.TextYAlignment.Top,
38
- TextWrapped = true,
39
- RichText = true,
40
- },
41
- code = {
42
- AutomaticSize = Enum.AutomaticSize.Y,
43
- Size = UDim2.new(1, 0, 0, 0),
44
- BackgroundColor3 = theme.palette.surface.paper,
45
- BorderSizePixel = 0,
46
- },
47
- codePad = {
48
- PaddingTop = UDim.new(0, theme.padding.calc(1)),
49
- PaddingBottom = UDim.new(0, theme.padding.calc(1)),
50
- PaddingLeft = UDim.new(0, theme.padding.calc(1.5)),
51
- PaddingRight = UDim.new(0, theme.padding.calc(1.5)),
52
- },
53
- }
54
- local _left = "codeText"
55
- local _object_1 = {
56
- AutomaticSize = Enum.AutomaticSize.Y,
57
- Size = UDim2.new(1, 0, 0, 0),
58
- BackgroundTransparency = 1,
59
- BorderSizePixel = 0,
60
- Font = Enum.Font.RobotoMono,
61
- }
62
- local _left_1 = "TextSize"
63
- local _condition = theme.typography.fontSizes.caption
64
- if _condition == nil then
65
- _condition = theme.typography.fontSizes.body
66
- end
67
- _object_1[_left_1] = _condition
68
- _object_1.TextColor3 = theme.palette.text.primary
69
- _object_1.TextXAlignment = Enum.TextXAlignment.Left
70
- _object_1.TextYAlignment = Enum.TextYAlignment.Top
71
- _object_1.TextWrapped = true
72
- _object[_left] = _object_1
73
- _object.quote = {
74
- AutomaticSize = Enum.AutomaticSize.Y,
75
- Size = UDim2.new(1, 0, 0, 0),
76
- BackgroundColor3 = theme.palette.surface.paper,
77
- BorderSizePixel = 0,
78
- }
79
- _object.quoteBar = {
80
- Size = UDim2.new(0, 3, 1, 0),
81
- BackgroundColor3 = theme.palette.primary.main,
82
- BorderSizePixel = 0,
83
- }
84
- _object.quotePad = {
85
- PaddingTop = UDim.new(0, theme.padding.calc(1)),
86
- PaddingBottom = UDim.new(0, theme.padding.calc(1)),
87
- PaddingLeft = UDim.new(0, theme.padding.calc(2)),
88
- PaddingRight = UDim.new(0, theme.padding.calc(1)),
89
- }
90
- _object.listItem = {
91
- AutomaticSize = Enum.AutomaticSize.Y,
92
- Size = UDim2.new(1, 0, 0, 0),
93
- BackgroundTransparency = 1,
94
- BorderSizePixel = 0,
95
- }
96
- return createStyles(_object)
97
- end)
98
- local default = useMarkdownStyles
99
- return {
100
- default = default,
101
- }
@@ -1,16 +0,0 @@
1
- import React from "@rbxts/react";
2
- import { CustomizedProps } from "../../../../theme/index";
3
- import { MarkdownEditorMode } from "./MarkdownEditor.styles";
4
- export interface MarkdownEditorProps {
5
- value: string;
6
- onChange: (value: string) => void;
7
- mode?: MarkdownEditorMode;
8
- onModeChange?: (mode: MarkdownEditorMode) => void;
9
- fullscreen?: boolean;
10
- onFullscreenChange?: (fullscreen: boolean) => void;
11
- preview?: (value: string) => React.Element;
12
- placeholder?: string;
13
- }
14
- declare function MarkdownEditor(props: CustomizedProps<Frame, MarkdownEditorProps>): JSX.Element;
15
- export default MarkdownEditor;
16
- export type { MarkdownEditorMode };
@@ -1,315 +0,0 @@
1
- -- Compiled with roblox-ts v3.0.0
2
- local TS = _G[script]
3
- local _react = TS.import(script, TS.getModule(script, "@rbxts", "react"))
4
- local React = _react
5
- local useEffect = _react.useEffect
6
- local useRef = _react.useRef
7
- local useState = _react.useState
8
- local useTheme = TS.import(script, script.Parent.Parent.Parent.Parent.Parent, "theme").useTheme
9
- local Button = TS.import(script, script.Parent.Parent.Parent, "button").Button
10
- local SxHost = TS.import(script, script.Parent.Parent.Parent, "host").SxHost
11
- local IconButton = TS.import(script, script.Parent.Parent.Parent, "iconButton").IconButton
12
- local Icons = TS.import(script, script.Parent.Parent.Parent.Parent, "enums").Icons
13
- local ToggleButtonGroup = TS.import(script, script.Parent.Parent.Parent, "toggleButton").ToggleButtonGroup
14
- local htmlToMarkdown = TS.import(script, script.Parent.Parent, "htmlToMarkdown").htmlToMarkdown
15
- local Markdown = TS.import(script, script.Parent, "Markdown").default
16
- local useMarkdownEditorStyles = TS.import(script, script.Parent, "MarkdownEditor.styles").default
17
- local MODE_OPTIONS = { {
18
- label = "Split",
19
- value = "split",
20
- }, {
21
- label = "Edit",
22
- value = "edit",
23
- }, {
24
- label = "Preview",
25
- value = "preview",
26
- } }
27
- local function looksLikeHtml(text)
28
- local lower = string.lower(text)
29
- return (string.find(lower, "<p", 1, true)) ~= nil or (string.find(lower, "<h1", 1, true)) ~= nil or (string.find(lower, "<h2", 1, true)) ~= nil or (string.find(lower, "<div", 1, true)) ~= nil or (string.find(lower, "<ul", 1, true)) ~= nil or (string.find(lower, "<ol", 1, true)) ~= nil or (string.find(lower, "<pre", 1, true)) ~= nil or (string.find(lower, "<blockquote", 1, true)) ~= nil or (string.find(lower, "<strong", 1, true)) ~= nil
30
- end
31
- local function MarkdownEditor(props)
32
- local _binding = props
33
- local value = _binding.value
34
- local onChange = _binding.onChange
35
- local modeProp = _binding.mode
36
- local onModeChange = _binding.onModeChange
37
- local fullscreenProp = _binding.fullscreen
38
- local onFullscreenChange = _binding.onFullscreenChange
39
- local preview = _binding.preview
40
- local placeholder = _binding.placeholder
41
- if placeholder == nil then
42
- placeholder = "Write markdown…"
43
- end
44
- local className = _binding.className
45
- local sx = _binding.sx
46
- local id = _binding.id
47
- local ref = _binding.ref
48
- local _binding_1 = useTheme()
49
- local theme = _binding_1.theme
50
- local modeState, setModeState = useState("split")
51
- local fullscreenState, setFullscreenState = useState(false)
52
- local draft, setDraft = useState(value)
53
- local htmlDraft, setHtmlDraft = useState(nil)
54
- local focused = useRef(false)
55
- local mode = modeProp or modeState
56
- local _condition = fullscreenProp
57
- if _condition == nil then
58
- _condition = fullscreenState
59
- end
60
- local fullscreen = _condition
61
- local compact = theme.density == "compact"
62
- local styles = useMarkdownEditorStyles({
63
- fullscreen = fullscreen,
64
- compact = compact,
65
- })
66
- useEffect(function()
67
- if not focused.current then
68
- setDraft(value)
69
- end
70
- end, { value })
71
- local setMode = function(modeNext)
72
- if modeProp == nil then
73
- setModeState(modeNext)
74
- end
75
- local _result = onModeChange
76
- if _result ~= nil then
77
- _result(modeNext)
78
- end
79
- end
80
- local setFullscreen = function(fullNext)
81
- if fullscreenProp == nil then
82
- setFullscreenState(fullNext)
83
- end
84
- local _result = onFullscreenChange
85
- if _result ~= nil then
86
- _result(fullNext)
87
- end
88
- end
89
- local showEdit = mode == "split" or mode == "edit"
90
- local showPreview = mode == "split" or mode == "preview"
91
- local previewNode = if preview ~= nil then preview(value) else React.createElement(Markdown, {
92
- value = value,
93
- })
94
- local _attributes = {
95
- tag = "frame",
96
- }
97
- local _condition_1 = id
98
- if not (_condition_1 ~= 0 and _condition_1 == _condition_1 and _condition_1 ~= "" and _condition_1) then
99
- _condition_1 = "MarkdownEditor"
100
- end
101
- _attributes.key = _condition_1
102
- _attributes.hostRef = ref
103
- _attributes.base = styles.root
104
- _attributes.className = className
105
- _attributes.sx = sx
106
- local _attributes_1 = table.clone(styles.corner)
107
- setmetatable(_attributes_1, nil)
108
- local _exp = React.createElement("uicorner", _attributes_1)
109
- local _attributes_2 = table.clone(styles.stroke)
110
- setmetatable(_attributes_2, nil)
111
- local _exp_1 = React.createElement("uistroke", _attributes_2)
112
- local _attributes_3 = table.clone(styles.layout)
113
- setmetatable(_attributes_3, nil)
114
- local _exp_2 = React.createElement("uilistlayout", _attributes_3)
115
- local _attributes_4 = {
116
- key = "Toolbar",
117
- }
118
- for _k, _v in styles.toolbar do
119
- _attributes_4[_k] = _v
120
- end
121
- local _attributes_5 = table.clone(styles.toolbarPad)
122
- setmetatable(_attributes_5, nil)
123
- local _exp_3 = React.createElement("uipadding", _attributes_5)
124
- local _attributes_6 = table.clone(styles.toolbarRow)
125
- setmetatable(_attributes_6, nil)
126
- local _exp_4 = React.createElement("frame", _attributes_4, _exp_3, React.createElement("uilistlayout", _attributes_6), React.createElement(ToggleButtonGroup, {
127
- value = mode,
128
- options = MODE_OPTIONS,
129
- size = if compact then "small" else "medium",
130
- onChange = setMode,
131
- className = {
132
- LayoutOrder = 1,
133
- AutomaticSize = Enum.AutomaticSize.XY,
134
- Size = UDim2.fromScale(0, 0),
135
- },
136
- }), React.createElement(Button, {
137
- text = "Paste HTML",
138
- variant = "text",
139
- size = if compact then "small" else "medium",
140
- className = {
141
- LayoutOrder = 2,
142
- AutomaticSize = Enum.AutomaticSize.XY,
143
- Size = UDim2.fromScale(0, 0),
144
- },
145
- onLeftClick = function()
146
- if looksLikeHtml(value) then
147
- onChange(htmlToMarkdown(value))
148
- else
149
- setHtmlDraft("")
150
- end
151
- end,
152
- }), React.createElement(IconButton, {
153
- icon = Icons.Expanded,
154
- size = "sm",
155
- tint = theme.palette.text.secondary,
156
- selected = fullscreen,
157
- onClick = function()
158
- return setFullscreen(not fullscreen)
159
- end,
160
- className = {
161
- LayoutOrder = 99,
162
- },
163
- }))
164
- local _exp_5 = htmlDraft ~= nil and (React.createElement("frame", {
165
- key = "HtmlPaste",
166
- Size = UDim2.new(1, 0, 0, 96),
167
- BackgroundColor3 = theme.palette.surface.elevated,
168
- BorderSizePixel = 0,
169
- LayoutOrder = 1,
170
- }, React.createElement("uipadding", {
171
- PaddingTop = UDim.new(0, theme.padding.calc(1)),
172
- PaddingBottom = UDim.new(0, theme.padding.calc(1)),
173
- PaddingLeft = UDim.new(0, theme.padding.calc(1)),
174
- PaddingRight = UDim.new(0, theme.padding.calc(1)),
175
- }), React.createElement("uilistlayout", {
176
- FillDirection = Enum.FillDirection.Vertical,
177
- SortOrder = Enum.SortOrder.LayoutOrder,
178
- Padding = UDim.new(0, theme.padding.calc(1)),
179
- }), React.createElement("textbox", {
180
- key = "HtmlField",
181
- Size = UDim2.new(1, 0, 0, 48),
182
- BackgroundColor3 = theme.palette.surface.input,
183
- BorderSizePixel = 0,
184
- ClearTextOnFocus = false,
185
- MultiLine = true,
186
- Text = htmlDraft,
187
- PlaceholderText = "Paste HTML here",
188
- TextXAlignment = Enum.TextXAlignment.Left,
189
- TextYAlignment = Enum.TextYAlignment.Top,
190
- TextSize = theme.typography.fontSizes.caption,
191
- TextColor3 = theme.palette.text.primary,
192
- Font = Enum.Font.RobotoMono,
193
- Change = {
194
- Text = function(rbx)
195
- return setHtmlDraft(rbx.Text)
196
- end,
197
- },
198
- LayoutOrder = 1,
199
- }), React.createElement("frame", {
200
- key = "HtmlActions",
201
- Size = UDim2.new(1, 0, 0, 28),
202
- BackgroundTransparency = 1,
203
- LayoutOrder = 2,
204
- }, React.createElement("uilistlayout", {
205
- FillDirection = Enum.FillDirection.Horizontal,
206
- Padding = UDim.new(0, theme.padding.calc(1)),
207
- SortOrder = Enum.SortOrder.LayoutOrder,
208
- }), React.createElement(Button, {
209
- text = "Convert",
210
- size = "small",
211
- className = {
212
- LayoutOrder = 1,
213
- AutomaticSize = Enum.AutomaticSize.XY,
214
- Size = UDim2.fromScale(0, 0),
215
- },
216
- onLeftClick = function()
217
- onChange(htmlToMarkdown(htmlDraft))
218
- setHtmlDraft(nil)
219
- setMode("preview")
220
- end,
221
- }), React.createElement(Button, {
222
- text = "Cancel",
223
- variant = "text",
224
- size = "small",
225
- className = {
226
- LayoutOrder = 2,
227
- AutomaticSize = Enum.AutomaticSize.XY,
228
- Size = UDim2.fromScale(0, 0),
229
- },
230
- onLeftClick = function()
231
- return setHtmlDraft(nil)
232
- end,
233
- }))))
234
- local _attributes_7 = {
235
- key = "Body",
236
- }
237
- for _k, _v in styles.body do
238
- _attributes_7[_k] = _v
239
- end
240
- _attributes_7.LayoutOrder = 3
241
- local _condition_2 = mode == "split"
242
- if _condition_2 then
243
- local _attributes_8 = table.clone(styles.split)
244
- setmetatable(_attributes_8, nil)
245
- _condition_2 = React.createElement("uilistlayout", _attributes_8)
246
- end
247
- local _condition_3 = showEdit
248
- if _condition_3 then
249
- local _attributes_8 = {
250
- key = "EditPane",
251
- }
252
- for _k, _v in (if mode == "split" then styles.pane else styles.paneFull) do
253
- _attributes_8[_k] = _v
254
- end
255
- _attributes_8.LayoutOrder = 1
256
- local _attributes_9 = {
257
- key = "Editor",
258
- }
259
- for _k, _v in styles.editor do
260
- _attributes_9[_k] = _v
261
- end
262
- _attributes_9.Text = draft
263
- _attributes_9.PlaceholderText = placeholder
264
- _attributes_9.Change = {
265
- Text = function(rbx)
266
- setDraft(rbx.Text)
267
- if focused.current and rbx.Text ~= value then
268
- onChange(rbx.Text)
269
- end
270
- end,
271
- }
272
- _attributes_9.Event = {
273
- Focused = function()
274
- focused.current = true
275
- end,
276
- FocusLost = function(rbx)
277
- focused.current = false
278
- setDraft(rbx.Text)
279
- onChange(rbx.Text)
280
- end,
281
- }
282
- local _attributes_10 = table.clone(styles.editorPad)
283
- setmetatable(_attributes_10, nil)
284
- _condition_3 = (React.createElement("frame", _attributes_8, React.createElement("textbox", _attributes_9, React.createElement("uipadding", _attributes_10))))
285
- end
286
- local _condition_4 = mode == "split"
287
- if _condition_4 then
288
- local _attributes_8 = {
289
- key = "SplitRule",
290
- }
291
- for _k, _v in styles.divider do
292
- _attributes_8[_k] = _v
293
- end
294
- _condition_4 = React.createElement("frame", _attributes_8)
295
- end
296
- local _condition_5 = showPreview
297
- if _condition_5 then
298
- local _attributes_8 = {
299
- key = "PreviewPane",
300
- }
301
- for _k, _v in styles.previewScroll do
302
- _attributes_8[_k] = _v
303
- end
304
- _attributes_8.Size = if mode == "split" then UDim2.fromScale(0.5, 1) else UDim2.fromScale(1, 1)
305
- _attributes_8.LayoutOrder = 3
306
- local _attributes_9 = table.clone(styles.previewPad)
307
- setmetatable(_attributes_9, nil)
308
- _condition_5 = (React.createElement("scrollingframe", _attributes_8, React.createElement("uipadding", _attributes_9), previewNode))
309
- end
310
- return React.createElement(SxHost, _attributes, _exp, _exp_1, _exp_2, _exp_4, _exp_5, React.createElement("frame", _attributes_7, _condition_2, _condition_3, _condition_4, _condition_5))
311
- end
312
- local default = MarkdownEditor
313
- return {
314
- default = default,
315
- }
@@ -1,6 +0,0 @@
1
- export type MarkdownEditorMode = "split" | "edit" | "preview";
2
- declare const useMarkdownEditorStyles: (props: {
3
- fullscreen?: boolean;
4
- compact?: boolean;
5
- }) => import("../../../../theme/index").ClassNameMap<string>;
6
- export default useMarkdownEditorStyles;
@@ -1,132 +0,0 @@
1
- -- Compiled with roblox-ts v3.0.0
2
- local TS = _G[script]
3
- local _theme = TS.import(script, script.Parent.Parent.Parent.Parent.Parent, "theme")
4
- local componentStyles = _theme.componentStyles
5
- local createStyles = _theme.createStyles
6
- local useMarkdownEditorStyles = componentStyles("MarkdownEditor", function(theme, _param)
7
- local fullscreen = _param.fullscreen
8
- local compact = _param.compact
9
- local pad = if compact == true or theme.density == "compact" then theme.padding.calc(1) else theme.padding.calc(1.5)
10
- local _object = {
11
- root = {
12
- Size = if fullscreen == true then UDim2.fromScale(1, 1) else UDim2.new(1, 0, 1, 0),
13
- BackgroundColor3 = theme.palette.surface.paper,
14
- BorderSizePixel = 0,
15
- },
16
- corner = {
17
- CornerRadius = UDim.new(0, theme.shape.borderRadius),
18
- },
19
- stroke = {
20
- Color = theme.palette.divider,
21
- Thickness = 1,
22
- ApplyStrokeMode = Enum.ApplyStrokeMode.Border,
23
- },
24
- layout = {
25
- FillDirection = Enum.FillDirection.Vertical,
26
- HorizontalAlignment = Enum.HorizontalAlignment.Left,
27
- VerticalAlignment = Enum.VerticalAlignment.Top,
28
- SortOrder = Enum.SortOrder.LayoutOrder,
29
- Padding = UDim.new(0, 0),
30
- },
31
- toolbar = {
32
- Size = UDim2.new(1, 0, 0, if compact == true or theme.density == "compact" then 32 else 36),
33
- BackgroundColor3 = theme.palette.surface.elevated,
34
- BorderSizePixel = 0,
35
- LayoutOrder = 1,
36
- },
37
- toolbarPad = {
38
- PaddingLeft = UDim.new(0, pad),
39
- PaddingRight = UDim.new(0, pad),
40
- PaddingTop = UDim.new(0, theme.padding.calc(0.5)),
41
- PaddingBottom = UDim.new(0, theme.padding.calc(0.5)),
42
- },
43
- toolbarRow = {
44
- FillDirection = Enum.FillDirection.Horizontal,
45
- HorizontalAlignment = Enum.HorizontalAlignment.Left,
46
- VerticalAlignment = Enum.VerticalAlignment.Center,
47
- SortOrder = Enum.SortOrder.LayoutOrder,
48
- Padding = UDim.new(0, theme.padding.calc(1)),
49
- },
50
- spacer = {
51
- Size = UDim2.new(1, 0, 1, 0),
52
- BackgroundTransparency = 1,
53
- BorderSizePixel = 0,
54
- LayoutOrder = 50,
55
- },
56
- body = {
57
- Size = UDim2.new(1, 0, 1, -(if compact == true or theme.density == "compact" then 32 else 36)),
58
- BackgroundTransparency = 1,
59
- BorderSizePixel = 0,
60
- LayoutOrder = 2,
61
- },
62
- pane = {
63
- Size = UDim2.fromScale(0.5, 1),
64
- BackgroundTransparency = 1,
65
- BorderSizePixel = 0,
66
- },
67
- paneFull = {
68
- Size = UDim2.fromScale(1, 1),
69
- BackgroundTransparency = 1,
70
- BorderSizePixel = 0,
71
- },
72
- }
73
- local _left = "editor"
74
- local _object_1 = {
75
- Size = UDim2.fromScale(1, 1),
76
- BackgroundColor3 = theme.palette.surface.input,
77
- BorderSizePixel = 0,
78
- ClearTextOnFocus = false,
79
- MultiLine = true,
80
- TextXAlignment = Enum.TextXAlignment.Left,
81
- TextYAlignment = Enum.TextYAlignment.Top,
82
- TextWrapped = true,
83
- Font = Enum.Font.RobotoMono,
84
- }
85
- local _left_1 = "TextSize"
86
- local _condition = theme.typography.fontSizes.caption
87
- if _condition == nil then
88
- _condition = theme.typography.fontSizes.body
89
- end
90
- _object_1[_left_1] = _condition
91
- _object_1.TextColor3 = theme.palette.text.primary
92
- _object_1.PlaceholderColor3 = theme.palette.text.secondary
93
- _object[_left] = _object_1
94
- _object.editorPad = {
95
- PaddingTop = UDim.new(0, pad),
96
- PaddingBottom = UDim.new(0, pad),
97
- PaddingLeft = UDim.new(0, pad),
98
- PaddingRight = UDim.new(0, pad),
99
- }
100
- _object.previewScroll = {
101
- Size = UDim2.fromScale(1, 1),
102
- BackgroundTransparency = 1,
103
- BorderSizePixel = 0,
104
- ScrollBarThickness = 4,
105
- CanvasSize = UDim2.new(0, 0, 0, 0),
106
- AutomaticCanvasSize = Enum.AutomaticSize.Y,
107
- }
108
- _object.previewPad = {
109
- PaddingTop = UDim.new(0, pad),
110
- PaddingBottom = UDim.new(0, pad),
111
- PaddingLeft = UDim.new(0, pad),
112
- PaddingRight = UDim.new(0, pad),
113
- }
114
- _object.split = {
115
- FillDirection = Enum.FillDirection.Horizontal,
116
- HorizontalAlignment = Enum.HorizontalAlignment.Left,
117
- VerticalAlignment = Enum.VerticalAlignment.Top,
118
- SortOrder = Enum.SortOrder.LayoutOrder,
119
- Padding = UDim.new(0, 0),
120
- }
121
- _object.divider = {
122
- Size = UDim2.new(0, 1, 1, 0),
123
- BackgroundColor3 = theme.palette.divider,
124
- BorderSizePixel = 0,
125
- LayoutOrder = 2,
126
- }
127
- return createStyles(_object)
128
- end)
129
- local default = useMarkdownEditorStyles
130
- return {
131
- default = default,
132
- }
@@ -1,2 +0,0 @@
1
- /** Map a small HTML subset to the markdown preview subset. Unknown tags unwrap to text. */
2
- export declare function htmlToMarkdown(html: string): string;