@rbxts/uiblox 0.2.0-alpha.36 → 0.2.0-alpha.5

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 (313) 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/theme/types/types.d.ts +1 -2
  15. package/out/ui/packages/accordion/components/Accordion.d.ts +0 -2
  16. package/out/ui/packages/accordion/components/Accordion.luau +30 -46
  17. package/out/ui/packages/accordion/components/Accordion.styles.d.ts +0 -1
  18. package/out/ui/packages/accordion/components/Accordion.styles.luau +4 -16
  19. package/out/ui/packages/accordion/components/accordionOpen.d.ts +0 -1
  20. package/out/ui/packages/accordion/components/accordionOpen.luau +0 -4
  21. package/out/ui/packages/alert/components/Alert.d.ts +0 -2
  22. package/out/ui/packages/alert/components/Alert.luau +42 -48
  23. package/out/ui/packages/alert/components/Alert.styles.d.ts +0 -2
  24. package/out/ui/packages/alert/components/Alert.styles.luau +8 -17
  25. package/out/ui/packages/appBar/components/AppBar.d.ts +1 -2
  26. package/out/ui/packages/appBar/components/AppBar.luau +36 -47
  27. package/out/ui/packages/appBar/components/AppBar.styles.d.ts +0 -2
  28. package/out/ui/packages/appBar/components/AppBar.styles.luau +5 -16
  29. package/out/ui/packages/assetField/components/AssetField.luau +16 -12
  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 +18 -20
  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 -5
  57. package/out/ui/packages/chip/components/Chip.luau +16 -25
  58. package/out/ui/packages/chip/components/Chip.styles.d.ts +0 -5
  59. package/out/ui/packages/chip/components/Chip.styles.luau +13 -30
  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/formText/components/FormHelperText.luau +16 -12
  84. package/out/ui/packages/formText/components/FormLabel.luau +16 -12
  85. package/out/ui/packages/gradientEditor/components/GradientEditor.luau +42 -56
  86. package/out/ui/packages/gradientEditor/components/GradientEditor.styles.luau +4 -37
  87. package/out/ui/packages/icon/components/Icon.luau +16 -9
  88. package/out/ui/packages/iconButton/components/IconButton.luau +16 -16
  89. package/out/ui/packages/index.d.ts +0 -6
  90. package/out/ui/packages/init.luau +0 -18
  91. package/out/ui/packages/input/components/Input.d.ts +0 -1
  92. package/out/ui/packages/input/components/Input.luau +18 -21
  93. package/out/ui/packages/layout/components/Grid.d.ts +1 -5
  94. package/out/ui/packages/layout/components/Grid.luau +19 -41
  95. package/out/ui/packages/layout/components/List.luau +16 -9
  96. package/out/ui/packages/layout/components/Stack.d.ts +0 -2
  97. package/out/ui/packages/layout/components/Stack.luau +15 -10
  98. package/out/ui/packages/layout/components/Stack.styles.d.ts +0 -2
  99. package/out/ui/packages/layout/components/Stack.styles.luau +5 -34
  100. package/out/ui/packages/layout/components/stackAlign.d.ts +2 -4
  101. package/out/ui/packages/layout/components/stackAlign.luau +2 -16
  102. package/out/ui/packages/layout/index.d.ts +0 -11
  103. package/out/ui/packages/layout/init.luau +0 -4
  104. package/out/ui/packages/link/components/Link.luau +16 -13
  105. package/out/ui/packages/listItem/components/ListItem.d.ts +1 -4
  106. package/out/ui/packages/listItem/components/ListItem.luau +4 -44
  107. package/out/ui/packages/listItem/components/ListItem.styles.d.ts +0 -1
  108. package/out/ui/packages/listItem/components/ListItem.styles.luau +5 -16
  109. package/out/ui/packages/loadingStroke/components/LoadingStroke.d.ts +1 -5
  110. package/out/ui/packages/menu/components/Menu.d.ts +1 -4
  111. package/out/ui/packages/menu/components/Menu.luau +15 -32
  112. package/out/ui/packages/modal/components/Modal.d.ts +1 -2
  113. package/out/ui/packages/modal/components/Modal.luau +37 -79
  114. package/out/ui/packages/motion/index.d.ts +1 -1
  115. package/out/ui/packages/motion/init.luau +0 -1
  116. package/out/ui/packages/motion/unit.d.ts +0 -5
  117. package/out/ui/packages/motion/unit.luau +0 -23
  118. package/out/ui/packages/numberInput/components/NumberInput.d.ts +0 -2
  119. package/out/ui/packages/numberInput/components/NumberInput.luau +3 -16
  120. package/out/ui/packages/numberInput/components/numberValue.d.ts +0 -1
  121. package/out/ui/packages/numberInput/components/numberValue.luau +0 -45
  122. package/out/ui/packages/numberRangeEditor/components/NumberRangeEditor.luau +16 -12
  123. package/out/ui/packages/pagination/components/Pagination.d.ts +1 -6
  124. package/out/ui/packages/pagination/components/Pagination.luau +38 -62
  125. package/out/ui/packages/pagination/components/Pagination.styles.d.ts +1 -6
  126. package/out/ui/packages/pagination/components/Pagination.styles.luau +4 -36
  127. package/out/ui/packages/pagination/components/pageRange.d.ts +1 -2
  128. package/out/ui/packages/pagination/components/pageRange.luau +8 -91
  129. package/out/ui/packages/pagination/index.d.ts +0 -1
  130. package/out/ui/packages/pagination/init.luau +0 -1
  131. package/out/ui/packages/paper/components/Paper.d.ts +2 -4
  132. package/out/ui/packages/paper/components/Paper.luau +9 -31
  133. package/out/ui/packages/paper/components/Paper.styles.d.ts +1 -1
  134. package/out/ui/packages/paper/components/Paper.styles.luau +0 -6
  135. package/out/ui/packages/physicalPropertiesEditor/components/PhysicalPropertiesEditor.luau +38 -63
  136. package/out/ui/packages/physicalPropertiesEditor/components/PhysicalPropertiesEditor.styles.luau +7 -21
  137. package/out/ui/packages/physicalPropertiesEditor/components/physicalParts.d.ts +0 -2
  138. package/out/ui/packages/physicalPropertiesEditor/components/physicalParts.luau +0 -14
  139. package/out/ui/packages/popup/components/Popup.d.ts +1 -2
  140. package/out/ui/packages/popup/components/Popup.luau +18 -35
  141. package/out/ui/packages/popup/index.d.ts +0 -1
  142. package/out/ui/packages/popup/init.luau +0 -1
  143. package/out/ui/packages/preloader/components/Preloader.luau +16 -9
  144. package/out/ui/packages/progressBar/components/ProgressBar.luau +16 -12
  145. package/out/ui/packages/radioGroup/components/RadioGroup.d.ts +0 -1
  146. package/out/ui/packages/radioGroup/components/RadioGroup.luau +18 -16
  147. package/out/ui/packages/radioGroup/components/RadioGroup.styles.d.ts +0 -1
  148. package/out/ui/packages/radioGroup/components/RadioGroup.styles.luau +1 -4
  149. package/out/ui/packages/rating/components/Rating.d.ts +1 -3
  150. package/out/ui/packages/rating/components/Rating.luau +17 -19
  151. package/out/ui/packages/rating/components/Rating.styles.d.ts +0 -2
  152. package/out/ui/packages/rating/components/Rating.styles.luau +2 -7
  153. package/out/ui/packages/rayEditor/components/RayEditor.luau +16 -12
  154. package/out/ui/packages/rectEditor/components/RectEditor.luau +43 -86
  155. package/out/ui/packages/rectEditor/components/RectEditor.styles.luau +7 -30
  156. package/out/ui/packages/scroll/index.d.ts +0 -2
  157. package/out/ui/packages/scroll/init.luau +0 -1
  158. package/out/ui/packages/select/components/Select.luau +55 -15
  159. package/out/ui/packages/select/components/selectMotion.d.ts +2 -0
  160. package/out/ui/packages/select/components/selectMotion.luau +12 -0
  161. package/out/ui/packages/shadow/components/Shadow.d.ts +1 -2
  162. package/out/ui/packages/shadow/components/Shadow.luau +17 -39
  163. package/out/ui/packages/shadow/components/Shadow.styles.luau +2 -7
  164. package/out/ui/packages/sidebar/components/Sidebar.luau +16 -9
  165. package/out/ui/packages/skeleton/components/Skeleton.luau +28 -19
  166. package/out/ui/packages/skeleton/components/Skeleton.styles.luau +3 -7
  167. package/out/ui/packages/slider/components/Slider.d.ts +0 -3
  168. package/out/ui/packages/slider/components/Slider.luau +19 -47
  169. package/out/ui/packages/slider/components/Slider.styles.d.ts +0 -2
  170. package/out/ui/packages/slider/components/Slider.styles.luau +1 -14
  171. package/out/ui/packages/snackbar/components/Snackbar.d.ts +0 -2
  172. package/out/ui/packages/snackbar/components/Snackbar.luau +0 -5
  173. package/out/ui/packages/speedDial/components/SpeedDial.d.ts +0 -2
  174. package/out/ui/packages/speedDial/components/SpeedDial.luau +20 -25
  175. package/out/ui/packages/speedDial/components/SpeedDial.styles.d.ts +1 -4
  176. package/out/ui/packages/speedDial/components/SpeedDial.styles.luau +4 -9
  177. package/out/ui/packages/speedDial/index.d.ts +0 -1
  178. package/out/ui/packages/splitPane/components/SplitPane.luau +17 -13
  179. package/out/ui/packages/splitPane/components/splitLook.d.ts +1 -1
  180. package/out/ui/packages/stateMatrix.d.ts +0 -2
  181. package/out/ui/packages/stateMatrix.luau +997 -793
  182. package/out/ui/packages/stepper/components/Stepper.d.ts +0 -1
  183. package/out/ui/packages/stepper/components/Stepper.luau +17 -16
  184. package/out/ui/packages/stepper/components/Stepper.styles.d.ts +1 -3
  185. package/out/ui/packages/stepper/components/Stepper.styles.luau +2 -6
  186. package/out/ui/packages/switch/components/Switch.d.ts +0 -2
  187. package/out/ui/packages/switch/components/Switch.luau +16 -21
  188. package/out/ui/packages/switch/components/Switch.styles.d.ts +0 -2
  189. package/out/ui/packages/switch/components/Switch.styles.luau +1 -6
  190. package/out/ui/packages/switch/components/switchLook.d.ts +1 -1
  191. package/out/ui/packages/table/components/Table.d.ts +2 -16
  192. package/out/ui/packages/table/components/Table.luau +53 -136
  193. package/out/ui/packages/table/components/Table.styles.d.ts +1 -3
  194. package/out/ui/packages/table/components/Table.styles.luau +6 -10
  195. package/out/ui/packages/table/index.d.ts +1 -2
  196. package/out/ui/packages/tabs/components/Tabs.d.ts +0 -3
  197. package/out/ui/packages/tabs/components/Tabs.luau +19 -24
  198. package/out/ui/packages/tabs/components/Tabs.styles.d.ts +1 -5
  199. package/out/ui/packages/tabs/components/Tabs.styles.luau +10 -26
  200. package/out/ui/packages/tabs/index.d.ts +0 -1
  201. package/out/ui/packages/tabs/init.luau +0 -1
  202. package/out/ui/packages/toast/components/Toast.d.ts +0 -2
  203. package/out/ui/packages/toast/components/Toast.luau +13 -41
  204. package/out/ui/packages/toast/components/Toast.styles.luau +5 -23
  205. package/out/ui/packages/toggleButton/components/ToggleButton.d.ts +1 -5
  206. package/out/ui/packages/toggleButton/components/ToggleButton.luau +33 -36
  207. package/out/ui/packages/toggleButton/components/ToggleButton.styles.d.ts +0 -4
  208. package/out/ui/packages/toggleButton/components/ToggleButton.styles.luau +5 -16
  209. package/out/ui/packages/tooltip/components/Tooltip.luau +16 -9
  210. package/out/ui/packages/treeView/components/TreeView.luau +16 -9
  211. package/out/ui/packages/typography/components/Typography.luau +14 -13
  212. package/out/ui/packages/udimEditor/components/UDimEditor.luau +16 -12
  213. package/out/ui/packages/vectorEditor/components/VectorEditor.luau +16 -12
  214. package/out/ui/packages/virtualList/components/EmptyListHint.d.ts +1 -2
  215. package/out/ui/packages/virtualList/components/EmptyListHint.luau +4 -15
  216. package/out/ui/packages/virtualList/components/VirtualList.luau +16 -9
  217. package/package.json +2 -2
  218. package/out/hooks/viewportObserver.d.ts +0 -10
  219. package/out/hooks/viewportObserver.luau +0 -75
  220. package/out/theme/styles/utilities/resolveSx.d.ts +0 -120
  221. package/out/theme/styles/utilities/resolveSx.luau +0 -524
  222. package/out/ui/packages/backdrop/components/Backdrop.d.ts +0 -10
  223. package/out/ui/packages/backdrop/components/Backdrop.luau +0 -51
  224. package/out/ui/packages/backdrop/components/Backdrop.styles.d.ts +0 -4
  225. package/out/ui/packages/backdrop/components/Backdrop.styles.luau +0 -24
  226. package/out/ui/packages/backdrop/index.d.ts +0 -2
  227. package/out/ui/packages/backdrop/init.luau +0 -5
  228. package/out/ui/packages/dateRange/components/DateRangePicker.d.ts +0 -11
  229. package/out/ui/packages/dateRange/components/DateRangePicker.luau +0 -253
  230. package/out/ui/packages/dateRange/dateRangeValue.d.ts +0 -18
  231. package/out/ui/packages/dateRange/dateRangeValue.luau +0 -121
  232. package/out/ui/packages/dateRange/index.d.ts +0 -3
  233. package/out/ui/packages/dateRange/init.luau +0 -16
  234. package/out/ui/packages/divider/components/dividerLabel.d.ts +0 -1
  235. package/out/ui/packages/divider/components/dividerLabel.luau +0 -10
  236. package/out/ui/packages/host/components/SxHost.d.ts +0 -18
  237. package/out/ui/packages/host/components/SxHost.luau +0 -210
  238. package/out/ui/packages/host/hostPaint.d.ts +0 -12
  239. package/out/ui/packages/host/hostPaint.luau +0 -34
  240. package/out/ui/packages/host/hostRules.d.ts +0 -15
  241. package/out/ui/packages/host/hostRules.luau +0 -92
  242. package/out/ui/packages/host/index.d.ts +0 -3
  243. package/out/ui/packages/host/init.luau +0 -13
  244. package/out/ui/packages/imageList/components/ImageList.d.ts +0 -14
  245. package/out/ui/packages/imageList/components/ImageList.luau +0 -93
  246. package/out/ui/packages/imageList/components/ImageList.styles.d.ts +0 -6
  247. package/out/ui/packages/imageList/components/ImageList.styles.luau +0 -73
  248. package/out/ui/packages/imageList/components/imageListLayout.d.ts +0 -4
  249. package/out/ui/packages/imageList/components/imageListLayout.luau +0 -31
  250. package/out/ui/packages/imageList/index.d.ts +0 -2
  251. package/out/ui/packages/imageList/init.luau +0 -5
  252. package/out/ui/packages/layout/components/Box.d.ts +0 -11
  253. package/out/ui/packages/layout/components/Box.luau +0 -40
  254. package/out/ui/packages/layout/components/Box.styles.d.ts +0 -7
  255. package/out/ui/packages/layout/components/Box.styles.luau +0 -34
  256. package/out/ui/packages/layout/components/Container.d.ts +0 -10
  257. package/out/ui/packages/layout/components/Container.luau +0 -45
  258. package/out/ui/packages/layout/components/Container.styles.d.ts +0 -6
  259. package/out/ui/packages/layout/components/Container.styles.luau +0 -41
  260. package/out/ui/packages/layout/components/FlexItem.d.ts +0 -12
  261. package/out/ui/packages/layout/components/FlexItem.luau +0 -40
  262. package/out/ui/packages/layout/components/FlexItem.styles.d.ts +0 -8
  263. package/out/ui/packages/layout/components/FlexItem.styles.luau +0 -66
  264. package/out/ui/packages/layout/components/boxPad.d.ts +0 -14
  265. package/out/ui/packages/layout/components/boxPad.luau +0 -59
  266. package/out/ui/packages/layout/components/containerWidth.d.ts +0 -2
  267. package/out/ui/packages/layout/components/containerWidth.luau +0 -17
  268. package/out/ui/packages/layout/components/flexItemMode.d.ts +0 -6
  269. package/out/ui/packages/layout/components/flexItemMode.luau +0 -36
  270. package/out/ui/packages/layout/components/gridProps.d.ts +0 -3
  271. package/out/ui/packages/layout/components/gridProps.luau +0 -20
  272. package/out/ui/packages/loadingStroke/components/loadingStrokeSx.d.ts +0 -11
  273. package/out/ui/packages/loadingStroke/components/loadingStrokeSx.luau +0 -2
  274. package/out/ui/packages/markdown/components/Markdown.d.ts +0 -6
  275. package/out/ui/packages/markdown/components/Markdown.luau +0 -221
  276. package/out/ui/packages/markdown/components/Markdown.styles.d.ts +0 -2
  277. package/out/ui/packages/markdown/components/Markdown.styles.luau +0 -101
  278. package/out/ui/packages/markdown/components/MarkdownEditor.d.ts +0 -22
  279. package/out/ui/packages/markdown/components/MarkdownEditor.luau +0 -433
  280. package/out/ui/packages/markdown/components/MarkdownEditor.styles.d.ts +0 -6
  281. package/out/ui/packages/markdown/components/MarkdownEditor.styles.luau +0 -161
  282. package/out/ui/packages/markdown/components/markdownEditorHeight.d.ts +0 -1
  283. package/out/ui/packages/markdown/components/markdownEditorHeight.luau +0 -13
  284. package/out/ui/packages/markdown/htmlToMarkdown.d.ts +0 -2
  285. package/out/ui/packages/markdown/htmlToMarkdown.luau +0 -350
  286. package/out/ui/packages/markdown/index.d.ts +0 -8
  287. package/out/ui/packages/markdown/init.luau +0 -11
  288. package/out/ui/packages/markdown/parseMarkdown.d.ts +0 -42
  289. package/out/ui/packages/markdown/parseMarkdown.luau +0 -459
  290. package/out/ui/packages/reorder/index.d.ts +0 -2
  291. package/out/ui/packages/reorder/init.luau +0 -14
  292. package/out/ui/packages/reorder/reorder.d.ts +0 -24
  293. package/out/ui/packages/reorder/reorder.luau +0 -178
  294. package/out/ui/packages/reorder/useReorderDrag.d.ts +0 -15
  295. package/out/ui/packages/reorder/useReorderDrag.luau +0 -129
  296. package/out/ui/packages/scroll/components/ScrollView.d.ts +0 -7
  297. package/out/ui/packages/scroll/components/ScrollView.luau +0 -42
  298. package/out/ui/packages/skeleton/components/skeletonTone.d.ts +0 -20
  299. package/out/ui/packages/skeleton/components/skeletonTone.luau +0 -14
  300. package/out/ui/packages/slider/components/sliderMarks.d.ts +0 -1
  301. package/out/ui/packages/slider/components/sliderMarks.luau +0 -37
  302. package/out/ui/packages/snackbar/components/snackbarAction.d.ts +0 -1
  303. package/out/ui/packages/snackbar/components/snackbarAction.luau +0 -10
  304. package/out/ui/packages/sparkline/components/Sparkline.d.ts +0 -9
  305. package/out/ui/packages/sparkline/components/Sparkline.luau +0 -66
  306. package/out/ui/packages/sparkline/index.d.ts +0 -3
  307. package/out/ui/packages/sparkline/init.luau +0 -6
  308. package/out/ui/packages/sparkline/sparklineLayout.d.ts +0 -8
  309. package/out/ui/packages/sparkline/sparklineLayout.luau +0 -75
  310. package/out/ui/packages/table/components/tableColumns.d.ts +0 -26
  311. package/out/ui/packages/table/components/tableColumns.luau +0 -92
  312. package/out/ui/packages/tabs/components/tabsOrientation.d.ts +0 -2
  313. package/out/ui/packages/tabs/components/tabsOrientation.luau +0 -7
@@ -1,66 +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 _flexItemMode = TS.import(script, script.Parent, "flexItemMode")
7
- local flexItemAlignKey = _flexItemMode.flexItemAlignKey
8
- local flexItemGrowRatio = _flexItemMode.flexItemGrowRatio
9
- local flexItemMode = _flexItemMode.flexItemMode
10
- local flexItemShrinkRatio = _flexItemMode.flexItemShrinkRatio
11
- local function modeEnum(mode)
12
- if mode == "grow" then
13
- return Enum.UIFlexMode.Grow
14
- end
15
- if mode == "shrink" then
16
- return Enum.UIFlexMode.Shrink
17
- end
18
- if mode == "fill" then
19
- return Enum.UIFlexMode.Fill
20
- end
21
- if mode == "custom" then
22
- return Enum.UIFlexMode.Custom
23
- end
24
- return Enum.UIFlexMode.None
25
- end
26
- local function alignEnum(align)
27
- if align == "start" then
28
- return Enum.ItemLineAlignment.Start
29
- end
30
- if align == "center" then
31
- return Enum.ItemLineAlignment.Center
32
- end
33
- if align == "end" then
34
- return Enum.ItemLineAlignment.End
35
- end
36
- if align == "stretch" then
37
- return Enum.ItemLineAlignment.Stretch
38
- end
39
- return Enum.ItemLineAlignment.Automatic
40
- end
41
- local useFlexItemStyles = componentStyles("FlexItem", function(_, _param)
42
- local grow = _param.grow
43
- local shrink = _param.shrink
44
- local fill = _param.fill
45
- local alignSelf = _param.alignSelf
46
- local mode = flexItemMode(grow, shrink, fill)
47
- local align = flexItemAlignKey(alignSelf)
48
- return createStyles({
49
- root = {
50
- AutomaticSize = Enum.AutomaticSize.XY,
51
- Size = UDim2.fromScale(0, 0),
52
- BackgroundTransparency = 1,
53
- BorderSizePixel = 0,
54
- },
55
- flex = {
56
- FlexMode = modeEnum(mode),
57
- GrowRatio = flexItemGrowRatio(grow),
58
- ShrinkRatio = flexItemShrinkRatio(shrink),
59
- ItemLineAlignment = alignEnum(align),
60
- },
61
- })
62
- end)
63
- local default = useFlexItemStyles
64
- return {
65
- default = default,
66
- }
@@ -1,14 +0,0 @@
1
- export type BoxPad = number | {
2
- x?: number;
3
- y?: number;
4
- top?: number;
5
- right?: number;
6
- bottom?: number;
7
- left?: number;
8
- };
9
- export declare function boxPadSides(padding?: BoxPad): {
10
- top: number;
11
- right: number;
12
- bottom: number;
13
- left: number;
14
- };
@@ -1,59 +0,0 @@
1
- -- Compiled with roblox-ts v3.0.0
2
- local function boxPadSides(padding)
3
- if padding == nil then
4
- return {
5
- top = 0,
6
- right = 0,
7
- bottom = 0,
8
- left = 0,
9
- }
10
- end
11
- local _padding = padding
12
- if type(_padding) == "number" then
13
- return {
14
- top = padding,
15
- right = padding,
16
- bottom = padding,
17
- left = padding,
18
- }
19
- end
20
- local _condition = padding.x
21
- if _condition == nil then
22
- _condition = 0
23
- end
24
- local x = _condition
25
- local _condition_1 = padding.y
26
- if _condition_1 == nil then
27
- _condition_1 = 0
28
- end
29
- local y = _condition_1
30
- local _object = {}
31
- local _left = "top"
32
- local _condition_2 = padding.top
33
- if _condition_2 == nil then
34
- _condition_2 = y
35
- end
36
- _object[_left] = _condition_2
37
- local _left_1 = "right"
38
- local _condition_3 = padding.right
39
- if _condition_3 == nil then
40
- _condition_3 = x
41
- end
42
- _object[_left_1] = _condition_3
43
- local _left_2 = "bottom"
44
- local _condition_4 = padding.bottom
45
- if _condition_4 == nil then
46
- _condition_4 = y
47
- end
48
- _object[_left_2] = _condition_4
49
- local _left_3 = "left"
50
- local _condition_5 = padding.left
51
- if _condition_5 == nil then
52
- _condition_5 = x
53
- end
54
- _object[_left_3] = _condition_5
55
- return _object
56
- end
57
- return {
58
- boxPadSides = boxPadSides,
59
- }
@@ -1,2 +0,0 @@
1
- export type ContainerMaxWidth = "xs" | "sm" | "md" | "lg" | "xl" | false;
2
- export declare function containerMaxPx(maxWidth?: ContainerMaxWidth): number | undefined;
@@ -1,17 +0,0 @@
1
- -- Compiled with roblox-ts v3.0.0
2
- local WIDTHS = {
3
- xs = 444,
4
- sm = 600,
5
- md = 900,
6
- lg = 1200,
7
- xl = 1536,
8
- }
9
- local function containerMaxPx(maxWidth)
10
- if maxWidth == false then
11
- return nil
12
- end
13
- return WIDTHS[maxWidth or "lg"]
14
- end
15
- return {
16
- containerMaxPx = containerMaxPx,
17
- }
@@ -1,6 +0,0 @@
1
- export type FlexItemAlign = "auto" | "start" | "center" | "end" | "stretch";
2
- export type FlexItemModeName = "none" | "grow" | "shrink" | "fill" | "custom";
3
- export declare function flexItemMode(grow?: number, shrink?: number, fill?: boolean): FlexItemModeName;
4
- export declare function flexItemGrowRatio(grow?: number): number;
5
- export declare function flexItemShrinkRatio(shrink?: number): number;
6
- export declare function flexItemAlignKey(align?: FlexItemAlign): FlexItemAlign;
@@ -1,36 +0,0 @@
1
- -- Compiled with roblox-ts v3.0.0
2
- local function flexItemMode(grow, shrink, fill)
3
- if fill then
4
- return "fill"
5
- end
6
- local g = grow ~= nil and grow > 0
7
- local s = shrink ~= nil and shrink > 0
8
- if g and s then
9
- return "custom"
10
- end
11
- if g then
12
- return "grow"
13
- end
14
- if s then
15
- return "shrink"
16
- end
17
- return "none"
18
- end
19
- local function flexItemGrowRatio(grow)
20
- return if grow == nil then 0 else grow
21
- end
22
- local function flexItemShrinkRatio(shrink)
23
- return if shrink == nil then 0 else shrink
24
- end
25
- local function flexItemAlignKey(align)
26
- if align == "start" or align == "center" or align == "end" or align == "stretch" then
27
- return align
28
- end
29
- return "auto"
30
- end
31
- return {
32
- flexItemMode = flexItemMode,
33
- flexItemGrowRatio = flexItemGrowRatio,
34
- flexItemShrinkRatio = flexItemShrinkRatio,
35
- flexItemAlignKey = flexItemAlignKey,
36
- }
@@ -1,3 +0,0 @@
1
- export type GridCorner = "top-left" | "top-right" | "bottom-left" | "bottom-right";
2
- export declare function gridMaxCells(columns?: number, maxColumns?: number, fillDirectionMaxCells?: number): number;
3
- export declare function gridCornerKey(corner?: GridCorner): GridCorner;
@@ -1,20 +0,0 @@
1
- -- Compiled with roblox-ts v3.0.0
2
- local function gridMaxCells(columns, maxColumns, fillDirectionMaxCells)
3
- if columns ~= nil then
4
- return columns
5
- end
6
- if maxColumns ~= nil then
7
- return maxColumns
8
- end
9
- return if fillDirectionMaxCells == nil then 0 else fillDirectionMaxCells
10
- end
11
- local function gridCornerKey(corner)
12
- if corner == "top-right" or corner == "bottom-left" or corner == "bottom-right" then
13
- return corner
14
- end
15
- return "top-left"
16
- end
17
- return {
18
- gridMaxCells = gridMaxCells,
19
- gridCornerKey = gridCornerKey,
20
- }
@@ -1,11 +0,0 @@
1
- import { WriteableStyle } from "../../../../theme/index";
2
- export type LoadingStrokeStyle = WriteableStyle<UIStroke> & {
3
- BackgroundColor3?: never;
4
- BackgroundTransparency?: never;
5
- Size?: never;
6
- Position?: never;
7
- AnchorPoint?: never;
8
- BorderSizePixel?: never;
9
- Text?: never;
10
- TextColor3?: never;
11
- };
@@ -1,2 +0,0 @@
1
- -- Compiled with roblox-ts v3.0.0
2
- return nil
@@ -1,6 +0,0 @@
1
- import { CustomizedProps } from "../../../../theme/index";
2
- export interface MarkdownProps {
3
- value?: string;
4
- }
5
- declare function Markdown(props: CustomizedProps<Frame, MarkdownProps>): JSX.Element;
6
- export default Markdown;
@@ -1,221 +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 Divider = TS.import(script, script.Parent.Parent.Parent, "divider").Divider
5
- local SxHost = TS.import(script, script.Parent.Parent.Parent, "host").SxHost
6
- local Orientations = TS.import(script, script.Parent.Parent.Parent.Parent, "enums").Orientations
7
- local _parseMarkdown = TS.import(script, script.Parent.Parent, "parseMarkdown")
8
- local inlinesToRichText = _parseMarkdown.inlinesToRichText
9
- local parseMarkdown = _parseMarkdown.parseMarkdown
10
- local useMarkdownStyles = TS.import(script, script.Parent, "Markdown.styles").default
11
- local function headingVariant(level)
12
- if level <= 1 then
13
- return "h1"
14
- end
15
- if level == 2 then
16
- return "h2"
17
- end
18
- if level == 3 then
19
- return "h3"
20
- end
21
- if level == 4 then
22
- return "h4"
23
- end
24
- if level == 5 then
25
- return "h5"
26
- end
27
- return "h6"
28
- end
29
- local function textSizeFor(variant)
30
- if variant == "h1" then
31
- return 28
32
- end
33
- if variant == "h2" then
34
- return 22
35
- end
36
- if variant == "h3" then
37
- return 18
38
- end
39
- if variant == "h4" then
40
- return 16
41
- end
42
- if variant == "h5" or variant == "h6" then
43
- return 14
44
- end
45
- return 14
46
- end
47
- local function richLabel(key, styles, inlines, variant, order)
48
- local text = inlinesToRichText(inlines)
49
- local _attributes = {
50
- key = key,
51
- }
52
- for _k, _v in styles.text do
53
- _attributes[_k] = _v
54
- end
55
- _attributes.LayoutOrder = order
56
- _attributes.Text = text
57
- _attributes.TextSize = textSizeFor(variant)
58
- _attributes.Font = if variant ~= nil and variant ~= "body" then Enum.Font.SourceSansBold else Enum.Font.SourceSans
59
- return React.createElement("textlabel", _attributes)
60
- end
61
- local function renderBlock(block, index, styles)
62
- if block.kind == "heading" then
63
- local _attributes = {
64
- key = `h-{index}`,
65
- }
66
- for _k, _v in styles.block do
67
- _attributes[_k] = _v
68
- end
69
- _attributes.LayoutOrder = index
70
- return React.createElement("frame", _attributes, richLabel("Text", styles, block.inlines, headingVariant(block.level)))
71
- end
72
- if block.kind == "paragraph" then
73
- local _attributes = {
74
- key = `p-{index}`,
75
- }
76
- for _k, _v in styles.block do
77
- _attributes[_k] = _v
78
- end
79
- _attributes.LayoutOrder = index
80
- return React.createElement("frame", _attributes, richLabel("Text", styles, block.inlines, "body"))
81
- end
82
- if block.kind == "code" then
83
- local _attributes = {
84
- key = `c-{index}`,
85
- }
86
- for _k, _v in styles.code do
87
- _attributes[_k] = _v
88
- end
89
- _attributes.LayoutOrder = index
90
- local _exp = React.createElement("uicorner", {
91
- CornerRadius = UDim.new(0, 4),
92
- })
93
- local _attributes_1 = table.clone(styles.codePad)
94
- setmetatable(_attributes_1, nil)
95
- local _exp_1 = React.createElement("uipadding", _attributes_1)
96
- local _attributes_2 = {
97
- key = "Code",
98
- }
99
- for _k, _v in styles.codeText do
100
- _attributes_2[_k] = _v
101
- end
102
- _attributes_2.Text = block.text
103
- return React.createElement("frame", _attributes, _exp, _exp_1, React.createElement("textlabel", _attributes_2))
104
- end
105
- if block.kind == "hr" then
106
- return React.createElement(Divider, {
107
- key = `hr-{index}`,
108
- orientation = Orientations.Horizontal,
109
- padding = 0,
110
- className = {
111
- LayoutOrder = index,
112
- },
113
- })
114
- end
115
- if block.kind == "blockquote" then
116
- local _attributes = {
117
- key = `q-{index}`,
118
- }
119
- for _k, _v in styles.quote do
120
- _attributes[_k] = _v
121
- end
122
- _attributes.LayoutOrder = index
123
- local _exp = React.createElement("uicorner", {
124
- CornerRadius = UDim.new(0, 4),
125
- })
126
- local _attributes_1 = {
127
- key = "Bar",
128
- }
129
- for _k, _v in styles.quoteBar do
130
- _attributes_1[_k] = _v
131
- end
132
- local _exp_1 = React.createElement("frame", _attributes_1)
133
- local _attributes_2 = table.clone(styles.quotePad)
134
- setmetatable(_attributes_2, nil)
135
- return React.createElement("frame", _attributes, _exp, _exp_1, React.createElement("uipadding", _attributes_2), richLabel("Text", styles, block.inlines, "body"))
136
- end
137
- if block.kind == "list" then
138
- local _attributes = {
139
- key = `l-{index}`,
140
- }
141
- for _k, _v in styles.block do
142
- _attributes[_k] = _v
143
- end
144
- _attributes.LayoutOrder = index
145
- local _exp = React.createElement("uilistlayout", {
146
- FillDirection = Enum.FillDirection.Vertical,
147
- HorizontalAlignment = Enum.HorizontalAlignment.Left,
148
- SortOrder = Enum.SortOrder.LayoutOrder,
149
- Padding = UDim.new(0, 2),
150
- })
151
- local _exp_1 = block.items
152
- -- ▼ ReadonlyArray.map ▼
153
- local _newValue = table.create(#_exp_1)
154
- local _callback = function(item, itemIndex)
155
- local prefix = if block.ordered then `{itemIndex + 1}. ` else "• "
156
- local _array = { {
157
- kind = "text",
158
- text = prefix,
159
- } }
160
- local _length = #_array
161
- table.move(item, 1, #item, _length + 1, _array)
162
- local labeled = _array
163
- local _attributes_1 = {
164
- key = `li-{itemIndex}`,
165
- }
166
- for _k, _v in styles.listItem do
167
- _attributes_1[_k] = _v
168
- end
169
- _attributes_1.LayoutOrder = itemIndex
170
- return React.createElement("frame", _attributes_1, richLabel("Text", styles, labeled, "body"))
171
- end
172
- for _k, _v in _exp_1 do
173
- _newValue[_k] = _callback(_v, _k - 1, _exp_1)
174
- end
175
- -- ▲ ReadonlyArray.map ▲
176
- return React.createElement("frame", _attributes, _exp, _newValue)
177
- end
178
- return nil
179
- end
180
- local function Markdown(props)
181
- local _binding = props
182
- local value = _binding.value
183
- if value == nil then
184
- value = ""
185
- end
186
- local className = _binding.className
187
- local sx = _binding.sx
188
- local id = _binding.id
189
- local ref = _binding.ref
190
- local styles = useMarkdownStyles()
191
- local blocks = parseMarkdown(value)
192
- local _attributes = {
193
- tag = "frame",
194
- }
195
- local _condition = id
196
- if not (_condition ~= 0 and _condition == _condition and _condition ~= "" and _condition) then
197
- _condition = "Markdown"
198
- end
199
- _attributes.key = _condition
200
- _attributes.hostRef = ref
201
- _attributes.base = styles.root
202
- _attributes.className = className
203
- _attributes.sx = sx
204
- local _attributes_1 = table.clone(styles.layout)
205
- setmetatable(_attributes_1, nil)
206
- local _exp = React.createElement("uilistlayout", _attributes_1)
207
- -- ▼ ReadonlyArray.map ▼
208
- local _newValue = table.create(#blocks)
209
- local _callback = function(block, index)
210
- return renderBlock(block, index, styles)
211
- end
212
- for _k, _v in blocks do
213
- _newValue[_k] = _callback(_v, _k - 1, blocks)
214
- end
215
- -- ▲ ReadonlyArray.map ▲
216
- return React.createElement(SxHost, _attributes, _exp, _newValue)
217
- end
218
- local default = Markdown
219
- return {
220
- default = default,
221
- }
@@ -1,2 +0,0 @@
1
- declare const useMarkdownStyles: () => import("../../../../theme/index").ClassNameMap<string>;
2
- export default useMarkdownStyles;
@@ -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,22 +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
- resizable?: boolean;
14
- height?: number;
15
- defaultHeight?: number;
16
- minHeight?: number;
17
- maxHeight?: number;
18
- onHeightChange?: (height: number) => void;
19
- }
20
- declare function MarkdownEditor(props: CustomizedProps<Frame, MarkdownEditorProps>): JSX.Element;
21
- export default MarkdownEditor;
22
- export type { MarkdownEditorMode };