@rbxts/uiblox 0.2.0-alpha.35 → 0.2.0-alpha.4

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 (322) 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/autocomplete/components/Autocomplete.luau +0 -8
  31. package/out/ui/packages/avatar/components/Avatar.d.ts +0 -2
  32. package/out/ui/packages/avatar/components/Avatar.luau +26 -27
  33. package/out/ui/packages/avatar/components/Avatar.styles.d.ts +0 -2
  34. package/out/ui/packages/avatar/components/Avatar.styles.luau +1 -5
  35. package/out/ui/packages/badge/components/Badge.d.ts +0 -3
  36. package/out/ui/packages/badge/components/Badge.luau +24 -32
  37. package/out/ui/packages/badge/components/Badge.styles.d.ts +1 -5
  38. package/out/ui/packages/badge/components/Badge.styles.luau +8 -20
  39. package/out/ui/packages/bottomNavigation/components/BottomNavigation.d.ts +0 -1
  40. package/out/ui/packages/bottomNavigation/components/BottomNavigation.luau +18 -20
  41. package/out/ui/packages/bottomNavigation/components/BottomNavigation.styles.d.ts +1 -3
  42. package/out/ui/packages/bottomNavigation/components/BottomNavigation.styles.luau +2 -6
  43. package/out/ui/packages/breadcrumbs/components/Breadcrumbs.d.ts +0 -1
  44. package/out/ui/packages/breadcrumbs/components/Breadcrumbs.luau +40 -67
  45. package/out/ui/packages/breadcrumbs/components/breadcrumbItems.d.ts +0 -9
  46. package/out/ui/packages/breadcrumbs/components/breadcrumbItems.luau +0 -68
  47. package/out/ui/packages/breadcrumbs/index.d.ts +0 -1
  48. package/out/ui/packages/breadcrumbs/init.luau +0 -3
  49. package/out/ui/packages/brickColorPicker/components/BrickColorPicker.luau +16 -12
  50. package/out/ui/packages/button/components/Button.luau +18 -20
  51. package/out/ui/packages/card/components/Card.d.ts +1 -3
  52. package/out/ui/packages/card/components/Card.luau +0 -10
  53. package/out/ui/packages/cframeEditor/components/CFrameEditor.luau +53 -75
  54. package/out/ui/packages/cframeEditor/components/CFrameEditor.styles.luau +9 -26
  55. package/out/ui/packages/checkbox/components/Checkbox.luau +16 -16
  56. package/out/ui/packages/checkbox/components/checkboxLook.d.ts +1 -1
  57. package/out/ui/packages/chip/components/Chip.d.ts +1 -6
  58. package/out/ui/packages/chip/components/Chip.luau +17 -61
  59. package/out/ui/packages/chip/components/Chip.styles.d.ts +0 -6
  60. package/out/ui/packages/chip/components/Chip.styles.luau +9 -54
  61. package/out/ui/packages/circularProgress/components/CircularProgress.luau +18 -29
  62. package/out/ui/packages/colorPicker/components/ColorPicker.luau +20 -16
  63. package/out/ui/packages/colorPicker/components/ColorPicker.styles.luau +20 -34
  64. package/out/ui/packages/colorPicker/components/ColorSequenceEditor.luau +35 -34
  65. package/out/ui/packages/colorPicker/components/NumberSequenceEditor.luau +62 -65
  66. package/out/ui/packages/dialog/components/Dialog.d.ts +2 -3
  67. package/out/ui/packages/dialog/components/Dialog.luau +21 -41
  68. package/out/ui/packages/divider/components/Divider.d.ts +0 -1
  69. package/out/ui/packages/divider/components/Divider.luau +17 -52
  70. package/out/ui/packages/divider/components/Divider.styles.luau +0 -32
  71. package/out/ui/packages/drawer/components/Drawer.d.ts +1 -3
  72. package/out/ui/packages/drawer/components/Drawer.luau +37 -71
  73. package/out/ui/packages/drawer/components/Drawer.styles.d.ts +1 -3
  74. package/out/ui/packages/drawer/components/Drawer.styles.luau +2 -3
  75. package/out/ui/packages/fab/components/Fab.d.ts +0 -3
  76. package/out/ui/packages/fab/components/Fab.luau +37 -79
  77. package/out/ui/packages/fab/components/Fab.styles.d.ts +0 -3
  78. package/out/ui/packages/fab/components/Fab.styles.luau +3 -39
  79. package/out/ui/packages/fab/components/fabSize.d.ts +0 -1
  80. package/out/ui/packages/fab/components/fabSize.luau +0 -4
  81. package/out/ui/packages/fab/index.d.ts +1 -1
  82. package/out/ui/packages/fab/init.luau +0 -1
  83. package/out/ui/packages/fontEditor/components/FontEditor.luau +16 -12
  84. package/out/ui/packages/gradientEditor/components/GradientEditor.luau +42 -56
  85. package/out/ui/packages/gradientEditor/components/GradientEditor.styles.luau +4 -37
  86. package/out/ui/packages/icon/components/Icon.luau +16 -9
  87. package/out/ui/packages/iconButton/components/IconButton.luau +16 -16
  88. package/out/ui/packages/index.d.ts +0 -7
  89. package/out/ui/packages/init.luau +0 -21
  90. package/out/ui/packages/input/components/Input.d.ts +0 -1
  91. package/out/ui/packages/input/components/Input.luau +18 -21
  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/link/components/Link.luau +16 -13
  98. package/out/ui/packages/listItem/components/ListItem.d.ts +1 -4
  99. package/out/ui/packages/listItem/components/ListItem.luau +4 -44
  100. package/out/ui/packages/listItem/components/ListItem.styles.d.ts +0 -1
  101. package/out/ui/packages/listItem/components/ListItem.styles.luau +5 -16
  102. package/out/ui/packages/loadingStroke/components/LoadingStroke.d.ts +1 -5
  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/rating/components/Rating.d.ts +1 -3
  144. package/out/ui/packages/rating/components/Rating.luau +17 -19
  145. package/out/ui/packages/rating/components/Rating.styles.d.ts +0 -2
  146. package/out/ui/packages/rating/components/Rating.styles.luau +2 -7
  147. package/out/ui/packages/rayEditor/components/RayEditor.luau +16 -12
  148. package/out/ui/packages/rectEditor/components/RectEditor.luau +43 -86
  149. package/out/ui/packages/rectEditor/components/RectEditor.styles.luau +7 -30
  150. package/out/ui/packages/scroll/index.d.ts +0 -2
  151. package/out/ui/packages/scroll/init.luau +0 -1
  152. package/out/ui/packages/select/components/Select.d.ts +0 -5
  153. package/out/ui/packages/select/components/Select.luau +77 -61
  154. package/out/ui/packages/select/components/Select.styles.luau +1 -1
  155. package/out/ui/packages/select/components/selectMotion.d.ts +2 -0
  156. package/out/ui/packages/select/components/selectMotion.luau +12 -0
  157. package/out/ui/packages/shadow/components/Shadow.d.ts +1 -2
  158. package/out/ui/packages/shadow/components/Shadow.luau +17 -39
  159. package/out/ui/packages/shadow/components/Shadow.styles.luau +2 -7
  160. package/out/ui/packages/sidebar/components/Sidebar.luau +16 -9
  161. package/out/ui/packages/skeleton/components/Skeleton.luau +28 -19
  162. package/out/ui/packages/skeleton/components/Skeleton.styles.luau +3 -7
  163. package/out/ui/packages/slider/components/Slider.d.ts +0 -3
  164. package/out/ui/packages/slider/components/Slider.luau +19 -47
  165. package/out/ui/packages/slider/components/Slider.styles.d.ts +0 -2
  166. package/out/ui/packages/slider/components/Slider.styles.luau +1 -14
  167. package/out/ui/packages/snackbar/components/Snackbar.d.ts +0 -2
  168. package/out/ui/packages/snackbar/components/Snackbar.luau +0 -5
  169. package/out/ui/packages/splitPane/components/SplitPane.luau +17 -13
  170. package/out/ui/packages/splitPane/components/splitLook.d.ts +1 -1
  171. package/out/ui/packages/stateMatrix.d.ts +0 -2
  172. package/out/ui/packages/stateMatrix.luau +929 -843
  173. package/out/ui/packages/stepper/components/Stepper.d.ts +0 -1
  174. package/out/ui/packages/stepper/components/Stepper.luau +17 -16
  175. package/out/ui/packages/stepper/components/Stepper.styles.d.ts +1 -3
  176. package/out/ui/packages/stepper/components/Stepper.styles.luau +2 -6
  177. package/out/ui/packages/switch/components/Switch.d.ts +0 -2
  178. package/out/ui/packages/switch/components/Switch.luau +16 -21
  179. package/out/ui/packages/switch/components/Switch.styles.d.ts +0 -2
  180. package/out/ui/packages/switch/components/Switch.styles.luau +1 -6
  181. package/out/ui/packages/switch/components/switchLook.d.ts +1 -1
  182. package/out/ui/packages/table/components/Table.d.ts +2 -16
  183. package/out/ui/packages/table/components/Table.luau +53 -136
  184. package/out/ui/packages/table/components/Table.styles.d.ts +1 -3
  185. package/out/ui/packages/table/components/Table.styles.luau +6 -10
  186. package/out/ui/packages/table/index.d.ts +1 -2
  187. package/out/ui/packages/tabs/components/Tabs.d.ts +0 -3
  188. package/out/ui/packages/tabs/components/Tabs.luau +19 -24
  189. package/out/ui/packages/tabs/components/Tabs.styles.d.ts +1 -5
  190. package/out/ui/packages/tabs/components/Tabs.styles.luau +10 -26
  191. package/out/ui/packages/tabs/index.d.ts +0 -1
  192. package/out/ui/packages/tabs/init.luau +0 -1
  193. package/out/ui/packages/toast/components/Toast.d.ts +0 -2
  194. package/out/ui/packages/toast/components/Toast.luau +13 -41
  195. package/out/ui/packages/toast/components/Toast.styles.luau +5 -23
  196. package/out/ui/packages/toggleButton/components/ToggleButton.d.ts +1 -5
  197. package/out/ui/packages/toggleButton/components/ToggleButton.luau +33 -36
  198. package/out/ui/packages/toggleButton/components/ToggleButton.styles.d.ts +0 -4
  199. package/out/ui/packages/toggleButton/components/ToggleButton.styles.luau +5 -16
  200. package/out/ui/packages/tooltip/components/Tooltip.luau +16 -9
  201. package/out/ui/packages/treeView/components/TreeView.luau +16 -9
  202. package/out/ui/packages/typography/components/Typography.luau +14 -13
  203. package/out/ui/packages/udimEditor/components/UDimEditor.luau +16 -12
  204. package/out/ui/packages/vectorEditor/components/VectorEditor.luau +16 -12
  205. package/out/ui/packages/virtualList/components/VirtualList.luau +16 -9
  206. package/out/ui/packages/virtualList/index.d.ts +0 -2
  207. package/out/ui/packages/virtualList/init.luau +0 -1
  208. package/package.json +2 -2
  209. package/out/hooks/viewportObserver.d.ts +0 -10
  210. package/out/hooks/viewportObserver.luau +0 -75
  211. package/out/theme/styles/utilities/resolveSx.d.ts +0 -120
  212. package/out/theme/styles/utilities/resolveSx.luau +0 -524
  213. package/out/ui/packages/backdrop/components/Backdrop.d.ts +0 -10
  214. package/out/ui/packages/backdrop/components/Backdrop.luau +0 -51
  215. package/out/ui/packages/backdrop/components/Backdrop.styles.d.ts +0 -4
  216. package/out/ui/packages/backdrop/components/Backdrop.styles.luau +0 -24
  217. package/out/ui/packages/backdrop/index.d.ts +0 -2
  218. package/out/ui/packages/backdrop/init.luau +0 -5
  219. package/out/ui/packages/dateRange/components/DateRangePicker.d.ts +0 -11
  220. package/out/ui/packages/dateRange/components/DateRangePicker.luau +0 -253
  221. package/out/ui/packages/dateRange/dateRangeValue.d.ts +0 -18
  222. package/out/ui/packages/dateRange/dateRangeValue.luau +0 -121
  223. package/out/ui/packages/dateRange/index.d.ts +0 -3
  224. package/out/ui/packages/dateRange/init.luau +0 -16
  225. package/out/ui/packages/divider/components/dividerLabel.d.ts +0 -1
  226. package/out/ui/packages/divider/components/dividerLabel.luau +0 -10
  227. package/out/ui/packages/formText/components/FormHelperText.d.ts +0 -8
  228. package/out/ui/packages/formText/components/FormHelperText.luau +0 -40
  229. package/out/ui/packages/formText/components/FormLabel.d.ts +0 -9
  230. package/out/ui/packages/formText/components/FormLabel.luau +0 -42
  231. package/out/ui/packages/formText/components/FormText.styles.d.ts +0 -5
  232. package/out/ui/packages/formText/components/FormText.styles.luau +0 -33
  233. package/out/ui/packages/formText/index.d.ts +0 -4
  234. package/out/ui/packages/formText/init.luau +0 -6
  235. package/out/ui/packages/host/components/SxHost.d.ts +0 -18
  236. package/out/ui/packages/host/components/SxHost.luau +0 -210
  237. package/out/ui/packages/host/hostPaint.d.ts +0 -12
  238. package/out/ui/packages/host/hostPaint.luau +0 -34
  239. package/out/ui/packages/host/hostRules.d.ts +0 -15
  240. package/out/ui/packages/host/hostRules.luau +0 -92
  241. package/out/ui/packages/host/index.d.ts +0 -3
  242. package/out/ui/packages/host/init.luau +0 -13
  243. package/out/ui/packages/imageList/components/ImageList.d.ts +0 -14
  244. package/out/ui/packages/imageList/components/ImageList.luau +0 -93
  245. package/out/ui/packages/imageList/components/ImageList.styles.d.ts +0 -6
  246. package/out/ui/packages/imageList/components/ImageList.styles.luau +0 -73
  247. package/out/ui/packages/imageList/components/imageListLayout.d.ts +0 -4
  248. package/out/ui/packages/imageList/components/imageListLayout.luau +0 -31
  249. package/out/ui/packages/imageList/index.d.ts +0 -2
  250. package/out/ui/packages/imageList/init.luau +0 -5
  251. package/out/ui/packages/layout/components/Box.d.ts +0 -11
  252. package/out/ui/packages/layout/components/Box.luau +0 -40
  253. package/out/ui/packages/layout/components/Box.styles.d.ts +0 -7
  254. package/out/ui/packages/layout/components/Box.styles.luau +0 -34
  255. package/out/ui/packages/layout/components/Container.d.ts +0 -10
  256. package/out/ui/packages/layout/components/Container.luau +0 -45
  257. package/out/ui/packages/layout/components/Container.styles.d.ts +0 -6
  258. package/out/ui/packages/layout/components/Container.styles.luau +0 -41
  259. package/out/ui/packages/layout/components/FlexItem.d.ts +0 -12
  260. package/out/ui/packages/layout/components/FlexItem.luau +0 -40
  261. package/out/ui/packages/layout/components/FlexItem.styles.d.ts +0 -8
  262. package/out/ui/packages/layout/components/FlexItem.styles.luau +0 -66
  263. package/out/ui/packages/layout/components/Stack.d.ts +0 -14
  264. package/out/ui/packages/layout/components/Stack.luau +0 -44
  265. package/out/ui/packages/layout/components/Stack.styles.d.ts +0 -10
  266. package/out/ui/packages/layout/components/Stack.styles.luau +0 -101
  267. package/out/ui/packages/layout/components/boxPad.d.ts +0 -14
  268. package/out/ui/packages/layout/components/boxPad.luau +0 -59
  269. package/out/ui/packages/layout/components/containerWidth.d.ts +0 -2
  270. package/out/ui/packages/layout/components/containerWidth.luau +0 -17
  271. package/out/ui/packages/layout/components/flexItemMode.d.ts +0 -6
  272. package/out/ui/packages/layout/components/flexItemMode.luau +0 -36
  273. package/out/ui/packages/layout/components/gridProps.d.ts +0 -3
  274. package/out/ui/packages/layout/components/gridProps.luau +0 -20
  275. package/out/ui/packages/layout/components/stackAlign.d.ts +0 -10
  276. package/out/ui/packages/layout/components/stackAlign.luau +0 -43
  277. package/out/ui/packages/loadingStroke/components/loadingStrokeSx.d.ts +0 -11
  278. package/out/ui/packages/loadingStroke/components/loadingStrokeSx.luau +0 -2
  279. package/out/ui/packages/markdown/components/Markdown.d.ts +0 -6
  280. package/out/ui/packages/markdown/components/Markdown.luau +0 -221
  281. package/out/ui/packages/markdown/components/Markdown.styles.d.ts +0 -2
  282. package/out/ui/packages/markdown/components/Markdown.styles.luau +0 -101
  283. package/out/ui/packages/markdown/components/MarkdownEditor.d.ts +0 -22
  284. package/out/ui/packages/markdown/components/MarkdownEditor.luau +0 -433
  285. package/out/ui/packages/markdown/components/MarkdownEditor.styles.d.ts +0 -6
  286. package/out/ui/packages/markdown/components/MarkdownEditor.styles.luau +0 -161
  287. package/out/ui/packages/markdown/components/markdownEditorHeight.d.ts +0 -1
  288. package/out/ui/packages/markdown/components/markdownEditorHeight.luau +0 -13
  289. package/out/ui/packages/markdown/htmlToMarkdown.d.ts +0 -2
  290. package/out/ui/packages/markdown/htmlToMarkdown.luau +0 -350
  291. package/out/ui/packages/markdown/index.d.ts +0 -8
  292. package/out/ui/packages/markdown/init.luau +0 -11
  293. package/out/ui/packages/markdown/parseMarkdown.d.ts +0 -42
  294. package/out/ui/packages/markdown/parseMarkdown.luau +0 -459
  295. package/out/ui/packages/scroll/components/ScrollView.d.ts +0 -7
  296. package/out/ui/packages/scroll/components/ScrollView.luau +0 -42
  297. package/out/ui/packages/skeleton/components/skeletonTone.d.ts +0 -20
  298. package/out/ui/packages/skeleton/components/skeletonTone.luau +0 -14
  299. package/out/ui/packages/slider/components/sliderMarks.d.ts +0 -1
  300. package/out/ui/packages/slider/components/sliderMarks.luau +0 -37
  301. package/out/ui/packages/snackbar/components/snackbarAction.d.ts +0 -1
  302. package/out/ui/packages/snackbar/components/snackbarAction.luau +0 -10
  303. package/out/ui/packages/sparkline/components/Sparkline.d.ts +0 -9
  304. package/out/ui/packages/sparkline/components/Sparkline.luau +0 -66
  305. package/out/ui/packages/sparkline/index.d.ts +0 -3
  306. package/out/ui/packages/sparkline/init.luau +0 -6
  307. package/out/ui/packages/sparkline/sparklineLayout.d.ts +0 -8
  308. package/out/ui/packages/sparkline/sparklineLayout.luau +0 -75
  309. package/out/ui/packages/speedDial/components/SpeedDial.d.ts +0 -19
  310. package/out/ui/packages/speedDial/components/SpeedDial.luau +0 -97
  311. package/out/ui/packages/speedDial/components/SpeedDial.styles.d.ts +0 -5
  312. package/out/ui/packages/speedDial/components/SpeedDial.styles.luau +0 -31
  313. package/out/ui/packages/speedDial/index.d.ts +0 -3
  314. package/out/ui/packages/speedDial/init.luau +0 -5
  315. package/out/ui/packages/table/components/tableColumns.d.ts +0 -26
  316. package/out/ui/packages/table/components/tableColumns.luau +0 -92
  317. package/out/ui/packages/tabs/components/tabsOrientation.d.ts +0 -2
  318. package/out/ui/packages/tabs/components/tabsOrientation.luau +0 -7
  319. package/out/ui/packages/virtualList/components/EmptyListHint.d.ts +0 -7
  320. package/out/ui/packages/virtualList/components/EmptyListHint.luau +0 -43
  321. package/out/ui/packages/virtualList/components/EmptyListHint.styles.d.ts +0 -5
  322. package/out/ui/packages/virtualList/components/EmptyListHint.styles.luau +0 -26
@@ -17,12 +17,10 @@ local canActivate = TS.import(script, script.Parent.Parent.Parent, "button", "co
17
17
  local spinnerPixels = TS.import(script, script.Parent.Parent.Parent, "button", "components", "buttonLook").spinnerPixels
18
18
  local CircularProgress = TS.import(script, script.Parent.Parent.Parent, "circularProgress").CircularProgress
19
19
  local Input = TS.import(script, script.Parent.Parent.Parent, "input").Input
20
- local SxHost = TS.import(script, script.Parent.Parent.Parent, "host").SxHost
20
+ local playProperty = TS.import(script, script.Parent.Parent.Parent, "motion").playProperty
21
21
  local Popup = TS.import(script, script.Parent.Parent.Parent, "popup").Popup
22
22
  local Shadow = TS.import(script, script.Parent.Parent.Parent, "shadow").Shadow
23
- local _virtualList = TS.import(script, script.Parent.Parent.Parent, "virtualList")
24
- local EmptyListHint = _virtualList.EmptyListHint
25
- local VirtualList = _virtualList.VirtualList
23
+ local VirtualList = TS.import(script, script.Parent.Parent.Parent, "virtualList").VirtualList
26
24
  local useSelectStyles = TS.import(script, script.Parent, "Select.styles").default
27
25
  local optionLabel = TS.import(script, script.Parent, "optionLabel").optionLabel
28
26
  local _selectFilter = TS.import(script, script.Parent, "selectFilter")
@@ -33,6 +31,7 @@ local _selectGroups = TS.import(script, script.Parent, "selectGroups")
33
31
  local groupRows = _selectGroups.groupRows
34
32
  local rowForOption = _selectGroups.rowForOption
35
33
  local shouldHandleSelectKey = TS.import(script, script.Parent, "selectKey").shouldHandleSelectKey
34
+ local menuHold = TS.import(script, script.Parent, "selectMotion").menuHold
36
35
  local _selectMulti = TS.import(script, script.Parent, "selectMulti")
37
36
  local includesChoice = _selectMulti.includesChoice
38
37
  local selectionLabel = _selectMulti.selectionLabel
@@ -54,10 +53,6 @@ local function Select(props)
54
53
  placeholder = ""
55
54
  end
56
55
  local searchable = _binding.searchable
57
- local defaultOpen = _binding.defaultOpen
58
- local defaultQuery = _binding.defaultQuery
59
- local emptyText = _binding.emptyText
60
- local empty = _binding.empty
61
56
  local reducedProp = _binding.reducedMotion
62
57
  local size = _binding.size
63
58
  local className = _binding.className
@@ -73,18 +68,16 @@ local function Select(props)
73
68
  local row = controlMetrics(theme.density, size).height
74
69
  local active = canActivate(disabled, loading)
75
70
  local anchor, setAnchor = useState()
76
- local open, setOpen = useState(defaultOpen == true and not loading)
71
+ local open, setOpen = useState(false)
72
+ local held, setHeld = useState(false)
77
73
  local focused, setFocused = useState(false)
78
74
  local highlight, setHighlight = useState(-1)
79
- local _condition = defaultQuery
80
- if _condition == nil then
81
- _condition = ""
82
- end
83
- local query, setQuery = useState(_condition)
75
+ local query, setQuery = useState("")
84
76
  local recent = useRef()
85
77
  local typed = useRef()
86
78
  local onKeyRef = useRef()
87
79
  local listRef = useRef()
80
+ local menuRef = useRef()
88
81
  -- ▼ ReadonlyArray.find ▼
89
82
  local _callback = function(option)
90
83
  return option.value == value
@@ -102,20 +95,7 @@ local function Select(props)
102
95
  local search = usesSelectSearch(#options, searchable)
103
96
  local filtered = filterChoices(options, query)
104
97
  local rows = groupRows(filtered)
105
- local listHeight = if #rows == 0 then row else math.min(#rows * row, theme.spacing.calc(16))
106
- local menuHeight = listHeight + (if search then row else 0)
107
- local _condition_1 = empty
108
- if _condition_1 == nil then
109
- local _attributes = {}
110
- local _condition_2 = emptyText
111
- if _condition_2 == nil then
112
- _condition_2 = (if #query > 0 or #options > 0 then "No results" else "No options")
113
- end
114
- _attributes.text = _condition_2
115
- _attributes.height = row
116
- _condition_1 = (React.createElement(EmptyListHint, _attributes))
117
- end
118
- local emptyHint = _condition_1
98
+ local menuHeight = math.min(#rows * row, theme.spacing.calc(16)) + (if search then row else 0)
119
99
  local close = function()
120
100
  setOpen(false)
121
101
  setQuery("")
@@ -145,15 +125,15 @@ local function Select(props)
145
125
  if fromPointer == nil then
146
126
  fromPointer = false
147
127
  end
148
- local _condition_2 = fromPointer
149
- if _condition_2 then
128
+ local _condition = fromPointer
129
+ if _condition then
150
130
  local _result_1 = listRef.current
151
131
  if _result_1 ~= nil then
152
132
  _result_1 = _result_1.suppressClick()
153
133
  end
154
- _condition_2 = _result_1
134
+ _condition = _result_1
155
135
  end
156
- if _condition_2 then
136
+ if _condition then
157
137
  return nil
158
138
  end
159
139
  local choice = filtered[index + 1]
@@ -239,28 +219,60 @@ local function Select(props)
239
219
  _result_1.ensureVisible(rowForOption(rows, highlight))
240
220
  end
241
221
  end, { shown, highlight })
222
+ useEffect(function()
223
+ if shown then
224
+ setHeld(true)
225
+ end
226
+ end, { shown })
242
227
  useEffect(function()
243
228
  if loading and open then
244
229
  setOpen(false)
245
230
  setQuery("")
246
231
  end
247
232
  end, { loading, open })
248
- local _attributes = {
249
- tag = "frame",
250
- }
251
- local _condition_2 = id
252
- if not (_condition_2 ~= 0 and _condition_2 == _condition_2 and _condition_2 ~= "" and _condition_2) then
253
- _condition_2 = "Select"
233
+ useEffect(function()
234
+ local menu = menuRef.current
235
+ if not menu or not held then
236
+ return nil
237
+ end
238
+ local stop = playProperty(menu, {
239
+ GroupTransparency = if shown then 0 else 1,
240
+ }, 0.12, reducedMotion)
241
+ local seconds = menuHold(shown, reducedMotion)
242
+ if seconds == 0 then
243
+ if not shown then
244
+ setHeld(false)
245
+ end
246
+ return stop
247
+ end
248
+ local wait = task.delay(seconds, function()
249
+ return setHeld(false)
250
+ end)
251
+ return function()
252
+ stop()
253
+ task.cancel(wait)
254
+ end
255
+ end, { shown, held, reducedMotion })
256
+ local _attributes = {}
257
+ local _condition = id
258
+ if not (_condition ~= 0 and _condition == _condition and _condition ~= "" and _condition) then
259
+ _condition = "Select"
260
+ end
261
+ _attributes.key = _condition
262
+ _attributes.ref = ref
263
+ for _k, _v in styles.root do
264
+ _attributes[_k] = _v
265
+ end
266
+ if className then
267
+ for _k, _v in className do
268
+ _attributes[_k] = _v
269
+ end
270
+ end
271
+ if sx then
272
+ for _k, _v in sx do
273
+ _attributes[_k] = _v
274
+ end
254
275
  end
255
- _attributes.key = _condition_2
256
- _attributes.hostRef = ref
257
- _attributes.base = styles.root
258
- _attributes.className = className
259
- _attributes.sx = sx
260
- _attributes.state = {
261
- disabled = disabled,
262
- loading = loading,
263
- }
264
276
  local _attributes_1 = {
265
277
  key = "Trigger",
266
278
  ref = setAnchor,
@@ -278,11 +290,11 @@ local function Select(props)
278
290
  if _result_2 ~= nil then
279
291
  _result_2 = _result_2.label
280
292
  end
281
- local _condition_3 = _result_2
282
- if _condition_3 == nil then
283
- _condition_3 = placeholder
293
+ local _condition_1 = _result_2
294
+ if _condition_1 == nil then
295
+ _condition_1 = placeholder
284
296
  end
285
- _result_1 = _condition_3
297
+ _result_1 = _condition_1
286
298
  end
287
299
  _attributes_1.Text = _result_1
288
300
  _attributes_1.Active = active
@@ -325,8 +337,8 @@ local function Select(props)
325
337
  Position = UDim2.new(1, -theme.padding.calc(1), 0.5, 0),
326
338
  },
327
339
  })))
328
- local _condition_3 = shown
329
- if _condition_3 then
340
+ local _condition_1 = (shown or held)
341
+ if _condition_1 then
330
342
  local _attributes_5 = {
331
343
  key = "Menu",
332
344
  }
@@ -344,8 +356,8 @@ local function Select(props)
344
356
  FillDirection = Enum.FillDirection.Vertical,
345
357
  SortOrder = Enum.SortOrder.LayoutOrder,
346
358
  })
347
- local _condition_4 = search
348
- if _condition_4 then
359
+ local _condition_2 = search
360
+ if _condition_2 then
349
361
  local _attributes_8 = {
350
362
  key = "Search",
351
363
  }
@@ -353,7 +365,7 @@ local function Select(props)
353
365
  _attributes_8[_k] = _v
354
366
  end
355
367
  _attributes_8.LayoutOrder = 1
356
- _condition_4 = (React.createElement("frame", _attributes_8, React.createElement(Input, {
368
+ _condition_2 = (React.createElement("frame", _attributes_8, React.createElement(Input, {
357
369
  text = query,
358
370
  placeholder = "Search",
359
371
  width = UDim.new(1, 0),
@@ -363,14 +375,19 @@ local function Select(props)
363
375
  end,
364
376
  })))
365
377
  end
366
- _condition_3 = (React.createElement(Popup, {
378
+ _condition_1 = (React.createElement(Popup, {
367
379
  anchor = anchor,
368
380
  preferredHeight = menuHeight,
369
381
  onDismiss = close,
370
382
  onInput = function(input)
371
383
  return onKey(input, true)
372
384
  end,
373
- }, React.createElement("frame", _attributes_5, _exp_3, _exp_4, _exp_5, _exp_6, _condition_4, React.createElement("frame", {
385
+ }, React.createElement("canvasgroup", {
386
+ ref = menuRef,
387
+ Size = UDim2.fromScale(1, 1),
388
+ BackgroundTransparency = 1,
389
+ GroupTransparency = 1,
390
+ }, React.createElement("frame", _attributes_5, _exp_3, _exp_4, _exp_5, _exp_6, _condition_2, React.createElement("frame", {
374
391
  key = "ListHost",
375
392
  Size = UDim2.new(1, 0, 1, if search then -row else 0),
376
393
  BackgroundTransparency = 1,
@@ -383,7 +400,6 @@ local function Select(props)
383
400
  end,
384
401
  itemHeight = row,
385
402
  listRef = listRef,
386
- empty = emptyHint,
387
403
  className = styles.list,
388
404
  renderItem = function(row)
389
405
  if row.kind == "header" then
@@ -429,9 +445,9 @@ local function Select(props)
429
445
  setmetatable(_attributes_9, nil)
430
446
  return React.createElement("textbutton", _attributes_8, React.createElement("uipadding", _attributes_9))
431
447
  end,
432
- })))))
448
+ }))))))
433
449
  end
434
- return React.createElement(SxHost, _attributes, _exp_2, _condition_3)
450
+ return React.createElement("frame", _attributes, _exp_2, _condition_1)
435
451
  end
436
452
  local default = Select
437
453
  return {
@@ -44,7 +44,7 @@ local useSelectStyles = componentStyles("Select", function(theme, _param)
44
44
  },
45
45
  list = {
46
46
  Size = UDim2.fromScale(1, 1),
47
- BackgroundTransparency = 1,
47
+ BackgroundColor3 = theme.palette.surface.elevated,
48
48
  BorderSizePixel = 0,
49
49
  ScrollBarThickness = theme.padding.default,
50
50
  ScrollBarImageColor3 = theme.palette.text.secondary,
@@ -0,0 +1,2 @@
1
+ export declare const SELECT_MENU_SECONDS = 0.12;
2
+ export declare function menuHold(open: boolean, reducedMotion?: boolean): 0 | 0.12;
@@ -0,0 +1,12 @@
1
+ -- Compiled with roblox-ts v3.0.0
2
+ local SELECT_MENU_SECONDS = 0.12
3
+ local function menuHold(open, reducedMotion)
4
+ if open or reducedMotion == true then
5
+ return 0
6
+ end
7
+ return SELECT_MENU_SECONDS
8
+ end
9
+ return {
10
+ menuHold = menuHold,
11
+ SELECT_MENU_SECONDS = SELECT_MENU_SECONDS,
12
+ }
@@ -1,3 +1,2 @@
1
- import { CustomizedProps } from "../../../../theme/index";
2
- declare function Shadow(props: CustomizedProps<Frame>): JSX.Element;
1
+ declare function Shadow(): JSX.Element;
3
2
  export default Shadow;
@@ -4,63 +4,49 @@ local _react = TS.import(script, TS.getModule(script, "@rbxts", "react"))
4
4
  local React = _react
5
5
  local useEffect = _react.useEffect
6
6
  local useState = _react.useState
7
- local SxHost = TS.import(script, script.Parent.Parent.Parent, "host").SxHost
8
7
  local useShadowStyles = TS.import(script, script.Parent, "Shadow.styles").default
9
- local function Shadow(props)
8
+ local function Shadow()
10
9
  local _binding = useShadowStyles()
11
10
  local container = _binding.container
12
- local blob = _binding.blob
13
11
  local parent, setParent = useState(nil)
14
12
  local cornerRadius, setCornerRadius = useState()
15
- local blobSize, setBlobSize = useState(UDim2.fromOffset(0, 0))
16
- local _binding_1 = props
17
- local className = _binding_1.className
18
- local sx = _binding_1.sx
19
- local id = _binding_1.id
20
- local ref = _binding_1.ref
21
13
  local _condition = container.ZIndex
22
14
  if _condition == nil then
23
15
  _condition = 0
24
16
  end
25
17
  local defaultZIndex = _condition
26
18
  local zIndex, setZIndex = useState(defaultZIndex)
19
+ -- Set any inherited properties
27
20
  useEffect(function()
28
21
  if not parent then
29
22
  return nil
30
23
  end
31
- local _cornerRadius = parent:FindFirstChildOfClass("UICorner")
24
+ local _cornerRadius = parent
32
25
  if _cornerRadius ~= nil then
33
- _cornerRadius = _cornerRadius.CornerRadius
26
+ _cornerRadius = _cornerRadius:FindFirstChildOfClass("UICorner")
27
+ if _cornerRadius ~= nil then
28
+ _cornerRadius = _cornerRadius.CornerRadius
29
+ end
34
30
  end
35
31
  local cornerRadius = _cornerRadius
36
32
  setCornerRadius(cornerRadius)
37
- local _condition_1 = parent.ZIndex
33
+ local _result = parent
34
+ if _result ~= nil then
35
+ _result = _result.ZIndex
36
+ end
37
+ local _condition_1 = _result
38
38
  if _condition_1 == nil then
39
39
  _condition_1 = defaultZIndex
40
40
  end
41
41
  setZIndex(_condition_1 - 1)
42
42
  parent.ClipsDescendants = false
43
- local sync = function()
44
- setBlobSize(UDim2.fromOffset(parent.AbsoluteSize.X, parent.AbsoluteSize.Y))
45
- end
46
- sync()
47
- local conn = parent:GetPropertyChangedSignal("AbsoluteSize"):Connect(sync)
48
- return function()
49
- return conn:Disconnect()
50
- end
51
43
  end, { parent })
52
44
  local _attributes = {
53
- tag = "frame",
45
+ key = "Shadow",
54
46
  }
55
- local _condition_1 = id
56
- if not (_condition_1 ~= 0 and _condition_1 == _condition_1 and _condition_1 ~= "" and _condition_1) then
57
- _condition_1 = "Shadow"
47
+ for _k, _v in container do
48
+ _attributes[_k] = _v
58
49
  end
59
- _attributes.key = _condition_1
60
- _attributes.hostRef = ref
61
- _attributes.base = container
62
- _attributes.className = className
63
- _attributes.sx = sx
64
50
  _attributes.ZIndex = zIndex
65
51
  _attributes.Event = {
66
52
  AncestryChanged = function(rbx, parent)
@@ -69,18 +55,10 @@ local function Shadow(props)
69
55
  end
70
56
  end,
71
57
  }
72
- local _attributes_1 = {
73
- key = "Blob",
74
- }
75
- for _k, _v in blob do
76
- _attributes_1[_k] = _v
77
- end
78
- _attributes_1.Size = blobSize
79
- _attributes_1.ZIndex = zIndex
80
- return React.createElement(SxHost, _attributes, React.createElement("frame", _attributes_1, cornerRadius ~= nil and React.createElement("uicorner", {
58
+ return React.createElement("frame", _attributes, cornerRadius ~= nil and React.createElement("uicorner", {
81
59
  key = "Corner",
82
60
  CornerRadius = cornerRadius,
83
- })))
61
+ }))
84
62
  end
85
63
  local default = Shadow
86
64
  return {
@@ -6,16 +6,11 @@ local componentStyles = _theme.componentStyles
6
6
  local useShadowStyles = componentStyles("Shadow", function(theme)
7
7
  return createStyles({
8
8
  container = {
9
- Size = UDim2.fromOffset(0, 0),
10
- BackgroundTransparency = 1,
11
- BorderSizePixel = 0,
12
- ZIndex = -100,
13
- },
14
- blob = {
9
+ Size = UDim2.new(1, theme.spacing.calc(0.25), 1, theme.spacing.calc(0.25)),
15
10
  BackgroundColor3 = theme.palette.shadow,
16
11
  BackgroundTransparency = 0.8,
17
12
  BorderSizePixel = 0,
18
- Position = UDim2.fromOffset(theme.spacing.calc(0.25), theme.spacing.calc(0.25)),
13
+ ZIndex = -100,
19
14
  },
20
15
  })
21
16
  end)
@@ -1,7 +1,6 @@
1
1
  -- Compiled with roblox-ts v3.0.0
2
2
  local TS = _G[script]
3
3
  local React = TS.import(script, TS.getModule(script, "@rbxts", "react"))
4
- local SxHost = TS.import(script, script.Parent.Parent.Parent, "host").SxHost
5
4
  local useSidebarStyles = TS.import(script, script.Parent, "Sidebar.styles").default
6
5
  local function Sidebar(props)
7
6
  local _binding = props
@@ -13,25 +12,33 @@ local function Sidebar(props)
13
12
  local _binding_1 = useSidebarStyles(props)
14
13
  local root = _binding_1.root
15
14
  local container = _binding_1.container
16
- local _attributes = {
17
- tag = "frame",
18
- }
15
+ local _attributes = {}
19
16
  local _condition = id
20
17
  if not (_condition ~= 0 and _condition == _condition and _condition ~= "" and _condition) then
21
18
  _condition = "Sidebar"
22
19
  end
23
20
  _attributes.key = _condition
24
- _attributes.hostRef = ref
25
- _attributes.base = root
26
- _attributes.className = className
27
- _attributes.sx = sx
21
+ _attributes.ref = ref
22
+ for _k, _v in root do
23
+ _attributes[_k] = _v
24
+ end
25
+ if className ~= 0 and className == className and className ~= "" and className then
26
+ for _k, _v in className do
27
+ _attributes[_k] = _v
28
+ end
29
+ end
30
+ if sx ~= 0 and sx == sx and sx ~= "" and sx then
31
+ for _k, _v in sx do
32
+ _attributes[_k] = _v
33
+ end
34
+ end
28
35
  local _attributes_1 = {
29
36
  key = "Container",
30
37
  }
31
38
  for _k, _v in container do
32
39
  _attributes_1[_k] = _v
33
40
  end
34
- return React.createElement(SxHost, _attributes, React.createElement("frame", _attributes_1, children))
41
+ return React.createElement("frame", _attributes, React.createElement("frame", _attributes_1, children))
35
42
  end
36
43
  local default = Sidebar
37
44
  return {
@@ -5,7 +5,6 @@ local React = _react
5
5
  local useEffect = _react.useEffect
6
6
  local useRef = _react.useRef
7
7
  local useReducedMotion = TS.import(script, script.Parent.Parent.Parent.Parent.Parent, "hooks").useReducedMotion
8
- local SxHost = TS.import(script, script.Parent.Parent.Parent, "host").SxHost
9
8
  local loopProperty = TS.import(script, script.Parent.Parent.Parent, "motion").loopProperty
10
9
  local useSkeletonStyles = TS.import(script, script.Parent, "Skeleton.styles").default
11
10
  local _skeletonMotion = TS.import(script, script.Parent, "skeletonMotion")
@@ -57,21 +56,25 @@ local function SkeletonBlock(props)
57
56
  end, { motion })
58
57
  local corner = if variant == "circular" then circular elseif variant == "rectangular" then nil else rounded
59
58
  local side = if variant == "circular" then width else nil
60
- local _attributes = {
61
- tag = "frame",
62
- }
59
+ local _attributes = {}
63
60
  local _condition = id
64
61
  if not (_condition ~= 0 and _condition == _condition and _condition ~= "" and _condition) then
65
62
  _condition = "Skeleton"
66
63
  end
67
64
  _attributes.key = _condition
68
- _attributes.hostRef = ref
69
- _attributes.base = {
70
- BackgroundTransparency = 1,
71
- BorderSizePixel = 0,
72
- }
73
- _attributes.className = className
74
- _attributes.sx = sx
65
+ _attributes.ref = ref
66
+ _attributes.BackgroundTransparency = 1
67
+ _attributes.BorderSizePixel = 0
68
+ if className then
69
+ for _k, _v in className do
70
+ _attributes[_k] = _v
71
+ end
72
+ end
73
+ if sx then
74
+ for _k, _v in sx do
75
+ _attributes[_k] = _v
76
+ end
77
+ end
75
78
  local _condition_1 = side
76
79
  if _condition_1 == nil then
77
80
  _condition_1 = width
@@ -104,7 +107,7 @@ local function SkeletonBlock(props)
104
107
  setmetatable(_attributes_2, nil)
105
108
  _condition_4 = React.createElement("uicorner", _attributes_2)
106
109
  end
107
- return React.createElement(SxHost, _attributes, React.createElement("frame", _attributes_1, _condition_3, _condition_4))
110
+ return React.createElement("frame", _attributes, React.createElement("frame", _attributes_1, _condition_3, _condition_4))
108
111
  end
109
112
  local function Skeleton(props)
110
113
  local _binding = props
@@ -167,17 +170,23 @@ local function Skeleton(props)
167
170
  end
168
171
  end
169
172
  local blockHeight = height * count + gap * (count - 1)
170
- local _attributes = {
171
- tag = "frame",
172
- }
173
+ local _attributes = {}
173
174
  local _condition = id
174
175
  if not (_condition ~= 0 and _condition == _condition and _condition ~= "" and _condition) then
175
176
  _condition = "Skeleton"
176
177
  end
177
178
  _attributes.key = _condition
178
- _attributes.hostRef = ref
179
- _attributes.className = className
180
- _attributes.sx = sx
179
+ _attributes.ref = ref
180
+ if className then
181
+ for _k, _v in className do
182
+ _attributes[_k] = _v
183
+ end
184
+ end
185
+ if sx then
186
+ for _k, _v in sx do
187
+ _attributes[_k] = _v
188
+ end
189
+ end
181
190
  _attributes.Size = UDim2.new(0, width, 0, blockHeight)
182
191
  _attributes.BackgroundTransparency = 1
183
192
  _attributes.BorderSizePixel = 0
@@ -201,7 +210,7 @@ local function Skeleton(props)
201
210
  _newValue[_k] = _callback(_v, _k - 1, rows)
202
211
  end
203
212
  -- ▲ ReadonlyArray.map ▲
204
- return React.createElement(SxHost, _attributes, _exp, React.createElement(React.Fragment, nil, _newValue))
213
+ return React.createElement("frame", _attributes, _exp, _newValue)
205
214
  end
206
215
  local function SkeletonText(props)
207
216
  local _attributes = table.clone(props)
@@ -3,20 +3,16 @@ local TS = _G[script]
3
3
  local _theme = TS.import(script, script.Parent.Parent.Parent.Parent.Parent, "theme")
4
4
  local createStyles = _theme.createStyles
5
5
  local componentStyles = _theme.componentStyles
6
- local skeletonTone = TS.import(script, script.Parent, "skeletonTone").skeletonTone
7
6
  local useSkeletonStyles = componentStyles("Skeleton", function(theme)
8
- local _binding = skeletonTone(theme)
9
- local bone = _binding.bone
10
- local shine = _binding.shine
11
7
  return createStyles({
12
8
  block = {
13
- BackgroundColor3 = bone,
9
+ BackgroundColor3 = theme.palette.divider,
14
10
  BackgroundTransparency = 0,
15
11
  BorderSizePixel = 0,
16
12
  },
17
13
  highlight = {
18
- Color = ColorSequence.new({ ColorSequenceKeypoint.new(0, bone), ColorSequenceKeypoint.new(0.5, shine), ColorSequenceKeypoint.new(1, bone) }),
19
- Transparency = NumberSequence.new({ NumberSequenceKeypoint.new(0, 0.35), NumberSequenceKeypoint.new(0.5, 0), NumberSequenceKeypoint.new(1, 0.35) }),
14
+ Color = ColorSequence.new({ ColorSequenceKeypoint.new(0, theme.palette.divider), ColorSequenceKeypoint.new(0.5, theme.palette.text.secondary), ColorSequenceKeypoint.new(1, theme.palette.divider) }),
15
+ Transparency = NumberSequence.new({ NumberSequenceKeypoint.new(0, 0.25), NumberSequenceKeypoint.new(0.5, 0), NumberSequenceKeypoint.new(1, 0.25) }),
20
16
  },
21
17
  rounded = {
22
18
  CornerRadius = UDim.new(0, theme.shape.borderRadius),
@@ -1,5 +1,4 @@
1
1
  import { ControlSize, CustomizedProps } from "../../../../theme/index";
2
- import { SliderColor } from "./Slider.styles";
3
2
  export interface SliderProps {
4
3
  value: number;
5
4
  onChange: (value: number) => void;
@@ -9,8 +8,6 @@ export interface SliderProps {
9
8
  step?: number;
10
9
  disabled?: boolean;
11
10
  size?: ControlSize;
12
- marks?: boolean | ReadonlyArray<number>;
13
- color?: SliderColor;
14
11
  }
15
12
  declare function Slider(props: CustomizedProps<Frame, SliderProps>): JSX.Element;
16
13
  export default Slider;