@rbxts/uiblox 0.2.0-alpha.3 → 0.2.0-alpha.30

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 +27 -109
  2. package/out/hooks/index.d.ts +1 -0
  3. package/out/hooks/init.luau +3 -0
  4. package/out/hooks/useBreakpoints.luau +2 -11
  5. package/out/hooks/viewportObserver.d.ts +10 -0
  6. package/out/hooks/viewportObserver.luau +75 -0
  7. package/out/theme/interfaces/theme/Theme.d.ts +15 -0
  8. package/out/theme/styles/utilities/componentStyles.luau +45 -3
  9. package/out/theme/styles/utilities/componentTheme.d.ts +15 -0
  10. package/out/theme/styles/utilities/index.d.ts +2 -0
  11. package/out/theme/styles/utilities/init.luau +7 -0
  12. package/out/theme/styles/utilities/resolveStyle.d.ts +10 -2
  13. package/out/theme/styles/utilities/resolveStyle.luau +7 -3
  14. package/out/theme/styles/utilities/resolveSx.d.ts +110 -0
  15. package/out/theme/styles/utilities/resolveSx.luau +479 -0
  16. package/out/theme/styles/utilities/styleCache.d.ts +2 -0
  17. package/out/theme/styles/utilities/styleCache.luau +9 -0
  18. package/out/ui/packages/accordion/components/Accordion.d.ts +2 -0
  19. package/out/ui/packages/accordion/components/Accordion.luau +46 -30
  20. package/out/ui/packages/accordion/components/Accordion.styles.d.ts +1 -0
  21. package/out/ui/packages/accordion/components/Accordion.styles.luau +16 -4
  22. package/out/ui/packages/accordion/components/accordionOpen.d.ts +1 -0
  23. package/out/ui/packages/accordion/components/accordionOpen.luau +4 -0
  24. package/out/ui/packages/alert/components/Alert.d.ts +2 -0
  25. package/out/ui/packages/alert/components/Alert.luau +48 -42
  26. package/out/ui/packages/alert/components/Alert.styles.d.ts +2 -0
  27. package/out/ui/packages/alert/components/Alert.styles.luau +17 -8
  28. package/out/ui/packages/appBar/components/AppBar.d.ts +2 -1
  29. package/out/ui/packages/appBar/components/AppBar.luau +47 -36
  30. package/out/ui/packages/appBar/components/AppBar.styles.d.ts +2 -0
  31. package/out/ui/packages/appBar/components/AppBar.styles.luau +16 -5
  32. package/out/ui/packages/assetField/components/AssetField.luau +12 -16
  33. package/out/ui/packages/autocomplete/components/Autocomplete.luau +8 -0
  34. package/out/ui/packages/avatar/components/Avatar.d.ts +2 -0
  35. package/out/ui/packages/avatar/components/Avatar.luau +27 -26
  36. package/out/ui/packages/avatar/components/Avatar.styles.d.ts +2 -0
  37. package/out/ui/packages/avatar/components/Avatar.styles.luau +5 -1
  38. package/out/ui/packages/backdrop/components/Backdrop.d.ts +10 -0
  39. package/out/ui/packages/backdrop/components/Backdrop.luau +51 -0
  40. package/out/ui/packages/backdrop/components/Backdrop.styles.d.ts +4 -0
  41. package/out/ui/packages/backdrop/components/Backdrop.styles.luau +24 -0
  42. package/out/ui/packages/backdrop/index.d.ts +2 -0
  43. package/out/ui/packages/backdrop/init.luau +5 -0
  44. package/out/ui/packages/badge/components/Badge.d.ts +3 -0
  45. package/out/ui/packages/badge/components/Badge.luau +32 -24
  46. package/out/ui/packages/badge/components/Badge.styles.d.ts +5 -1
  47. package/out/ui/packages/badge/components/Badge.styles.luau +20 -8
  48. package/out/ui/packages/bottomNavigation/components/BottomNavigation.d.ts +1 -0
  49. package/out/ui/packages/bottomNavigation/components/BottomNavigation.luau +20 -18
  50. package/out/ui/packages/bottomNavigation/components/BottomNavigation.styles.d.ts +3 -1
  51. package/out/ui/packages/bottomNavigation/components/BottomNavigation.styles.luau +6 -2
  52. package/out/ui/packages/breadcrumbs/components/Breadcrumbs.d.ts +1 -0
  53. package/out/ui/packages/breadcrumbs/components/Breadcrumbs.luau +67 -40
  54. package/out/ui/packages/breadcrumbs/components/breadcrumbItems.d.ts +9 -0
  55. package/out/ui/packages/breadcrumbs/components/breadcrumbItems.luau +68 -0
  56. package/out/ui/packages/breadcrumbs/index.d.ts +1 -0
  57. package/out/ui/packages/breadcrumbs/init.luau +3 -0
  58. package/out/ui/packages/brickColorPicker/components/BrickColorPicker.luau +12 -16
  59. package/out/ui/packages/button/components/Button.luau +28 -22
  60. package/out/ui/packages/card/components/Card.d.ts +3 -1
  61. package/out/ui/packages/card/components/Card.luau +10 -0
  62. package/out/ui/packages/cframeEditor/components/CFrameEditor.luau +75 -53
  63. package/out/ui/packages/cframeEditor/components/CFrameEditor.styles.luau +26 -9
  64. package/out/ui/packages/checkbox/components/Checkbox.luau +16 -16
  65. package/out/ui/packages/checkbox/components/checkboxLook.d.ts +1 -1
  66. package/out/ui/packages/chip/components/Chip.d.ts +6 -1
  67. package/out/ui/packages/chip/components/Chip.luau +61 -17
  68. package/out/ui/packages/chip/components/Chip.styles.d.ts +6 -0
  69. package/out/ui/packages/chip/components/Chip.styles.luau +54 -9
  70. package/out/ui/packages/circularProgress/components/CircularProgress.luau +29 -18
  71. package/out/ui/packages/colorPicker/components/ColorPicker.luau +16 -20
  72. package/out/ui/packages/colorPicker/components/ColorPicker.styles.luau +34 -20
  73. package/out/ui/packages/colorPicker/components/ColorSequenceEditor.luau +34 -35
  74. package/out/ui/packages/colorPicker/components/NumberSequenceEditor.luau +65 -62
  75. package/out/ui/packages/dialog/components/Dialog.d.ts +3 -2
  76. package/out/ui/packages/dialog/components/Dialog.luau +41 -21
  77. package/out/ui/packages/divider/components/Divider.d.ts +1 -0
  78. package/out/ui/packages/divider/components/Divider.luau +52 -17
  79. package/out/ui/packages/divider/components/Divider.styles.luau +32 -0
  80. package/out/ui/packages/divider/components/dividerLabel.d.ts +1 -0
  81. package/out/ui/packages/divider/components/dividerLabel.luau +10 -0
  82. package/out/ui/packages/drawer/components/Drawer.d.ts +3 -1
  83. package/out/ui/packages/drawer/components/Drawer.luau +71 -37
  84. package/out/ui/packages/drawer/components/Drawer.styles.d.ts +3 -1
  85. package/out/ui/packages/drawer/components/Drawer.styles.luau +3 -2
  86. package/out/ui/packages/fab/components/Fab.d.ts +3 -0
  87. package/out/ui/packages/fab/components/Fab.luau +79 -37
  88. package/out/ui/packages/fab/components/Fab.styles.d.ts +3 -0
  89. package/out/ui/packages/fab/components/Fab.styles.luau +39 -3
  90. package/out/ui/packages/fab/components/fabSize.d.ts +1 -0
  91. package/out/ui/packages/fab/components/fabSize.luau +4 -0
  92. package/out/ui/packages/fab/index.d.ts +1 -1
  93. package/out/ui/packages/fab/init.luau +1 -0
  94. package/out/ui/packages/fontEditor/components/FontEditor.luau +12 -16
  95. package/out/ui/packages/formText/components/FormHelperText.d.ts +8 -0
  96. package/out/ui/packages/formText/components/FormHelperText.luau +40 -0
  97. package/out/ui/packages/formText/components/FormLabel.d.ts +9 -0
  98. package/out/ui/packages/formText/components/FormLabel.luau +42 -0
  99. package/out/ui/packages/formText/components/FormText.styles.d.ts +5 -0
  100. package/out/ui/packages/formText/components/FormText.styles.luau +33 -0
  101. package/out/ui/packages/formText/index.d.ts +4 -0
  102. package/out/ui/packages/formText/init.luau +6 -0
  103. package/out/ui/packages/gradientEditor/components/GradientEditor.luau +56 -42
  104. package/out/ui/packages/gradientEditor/components/GradientEditor.styles.luau +37 -4
  105. package/out/ui/packages/host/components/SxHost.d.ts +18 -0
  106. package/out/ui/packages/host/components/SxHost.luau +202 -0
  107. package/out/ui/packages/host/hostPaint.d.ts +11 -0
  108. package/out/ui/packages/host/hostPaint.luau +33 -0
  109. package/out/ui/packages/host/hostRules.d.ts +15 -0
  110. package/out/ui/packages/host/hostRules.luau +92 -0
  111. package/out/ui/packages/host/index.d.ts +3 -0
  112. package/out/ui/packages/host/init.luau +13 -0
  113. package/out/ui/packages/icon/components/Icon.luau +9 -16
  114. package/out/ui/packages/iconButton/components/IconButton.luau +22 -17
  115. package/out/ui/packages/iconButton/components/IconButton.styles.luau +3 -0
  116. package/out/ui/packages/imageList/components/ImageList.d.ts +14 -0
  117. package/out/ui/packages/imageList/components/ImageList.luau +93 -0
  118. package/out/ui/packages/imageList/components/ImageList.styles.d.ts +6 -0
  119. package/out/ui/packages/imageList/components/ImageList.styles.luau +73 -0
  120. package/out/ui/packages/imageList/components/imageListLayout.d.ts +4 -0
  121. package/out/ui/packages/imageList/components/imageListLayout.luau +31 -0
  122. package/out/ui/packages/imageList/index.d.ts +2 -0
  123. package/out/ui/packages/imageList/init.luau +5 -0
  124. package/out/ui/packages/index.d.ts +8 -0
  125. package/out/ui/packages/init.luau +24 -0
  126. package/out/ui/packages/input/components/Input.d.ts +1 -0
  127. package/out/ui/packages/input/components/Input.luau +22 -19
  128. package/out/ui/packages/layout/components/Box.d.ts +11 -0
  129. package/out/ui/packages/layout/components/Box.luau +40 -0
  130. package/out/ui/packages/layout/components/Box.styles.d.ts +7 -0
  131. package/out/ui/packages/layout/components/Box.styles.luau +34 -0
  132. package/out/ui/packages/layout/components/Container.d.ts +10 -0
  133. package/out/ui/packages/layout/components/Container.luau +45 -0
  134. package/out/ui/packages/layout/components/Container.styles.d.ts +6 -0
  135. package/out/ui/packages/layout/components/Container.styles.luau +41 -0
  136. package/out/ui/packages/layout/components/FlexItem.d.ts +12 -0
  137. package/out/ui/packages/layout/components/FlexItem.luau +40 -0
  138. package/out/ui/packages/layout/components/FlexItem.styles.d.ts +8 -0
  139. package/out/ui/packages/layout/components/FlexItem.styles.luau +66 -0
  140. package/out/ui/packages/layout/components/Grid.d.ts +5 -1
  141. package/out/ui/packages/layout/components/Grid.luau +41 -19
  142. package/out/ui/packages/layout/components/List.luau +9 -16
  143. package/out/ui/packages/layout/components/Stack.d.ts +14 -0
  144. package/out/ui/packages/layout/components/Stack.luau +44 -0
  145. package/out/ui/packages/layout/components/Stack.styles.d.ts +10 -0
  146. package/out/ui/packages/layout/components/Stack.styles.luau +101 -0
  147. package/out/ui/packages/layout/components/boxPad.d.ts +14 -0
  148. package/out/ui/packages/layout/components/boxPad.luau +59 -0
  149. package/out/ui/packages/layout/components/containerWidth.d.ts +2 -0
  150. package/out/ui/packages/layout/components/containerWidth.luau +17 -0
  151. package/out/ui/packages/layout/components/flexItemMode.d.ts +6 -0
  152. package/out/ui/packages/layout/components/flexItemMode.luau +36 -0
  153. package/out/ui/packages/layout/components/gridProps.d.ts +3 -0
  154. package/out/ui/packages/layout/components/gridProps.luau +20 -0
  155. package/out/ui/packages/layout/components/stackAlign.d.ts +10 -0
  156. package/out/ui/packages/layout/components/stackAlign.luau +43 -0
  157. package/out/ui/packages/layout/index.d.ts +14 -0
  158. package/out/ui/packages/layout/init.luau +5 -0
  159. package/out/ui/packages/link/components/Link.d.ts +11 -0
  160. package/out/ui/packages/link/components/Link.luau +80 -0
  161. package/out/ui/packages/link/components/Link.styles.d.ts +8 -0
  162. package/out/ui/packages/link/components/Link.styles.luau +59 -0
  163. package/out/ui/packages/link/index.d.ts +3 -0
  164. package/out/ui/packages/link/init.luau +5 -0
  165. package/out/ui/packages/listItem/components/ListItem.d.ts +4 -1
  166. package/out/ui/packages/listItem/components/ListItem.luau +44 -4
  167. package/out/ui/packages/listItem/components/ListItem.styles.d.ts +1 -0
  168. package/out/ui/packages/listItem/components/ListItem.styles.luau +16 -5
  169. package/out/ui/packages/loadingStroke/components/LoadingStroke.d.ts +7 -1
  170. package/out/ui/packages/loadingStroke/components/LoadingStroke.luau +23 -19
  171. package/out/ui/packages/loadingStroke/components/loadingStrokeSx.d.ts +11 -0
  172. package/out/ui/packages/loadingStroke/components/loadingStrokeSx.luau +2 -0
  173. package/out/ui/packages/markdown/components/Markdown.d.ts +6 -0
  174. package/out/ui/packages/markdown/components/Markdown.luau +221 -0
  175. package/out/ui/packages/markdown/components/Markdown.styles.d.ts +2 -0
  176. package/out/ui/packages/markdown/components/Markdown.styles.luau +101 -0
  177. package/out/ui/packages/markdown/components/MarkdownEditor.d.ts +16 -0
  178. package/out/ui/packages/markdown/components/MarkdownEditor.luau +315 -0
  179. package/out/ui/packages/markdown/components/MarkdownEditor.styles.d.ts +6 -0
  180. package/out/ui/packages/markdown/components/MarkdownEditor.styles.luau +132 -0
  181. package/out/ui/packages/markdown/htmlToMarkdown.d.ts +2 -0
  182. package/out/ui/packages/markdown/htmlToMarkdown.luau +350 -0
  183. package/out/ui/packages/markdown/index.d.ts +8 -0
  184. package/out/ui/packages/markdown/init.luau +11 -0
  185. package/out/ui/packages/markdown/parseMarkdown.d.ts +42 -0
  186. package/out/ui/packages/markdown/parseMarkdown.luau +459 -0
  187. package/out/ui/packages/menu/components/Menu.d.ts +7 -1
  188. package/out/ui/packages/menu/components/Menu.luau +68 -26
  189. package/out/ui/packages/menu/components/Menu.styles.luau +5 -1
  190. package/out/ui/packages/modal/components/Modal.d.ts +2 -1
  191. package/out/ui/packages/modal/components/Modal.luau +79 -37
  192. package/out/ui/packages/motion/index.d.ts +1 -1
  193. package/out/ui/packages/motion/init.luau +1 -0
  194. package/out/ui/packages/motion/unit.d.ts +5 -0
  195. package/out/ui/packages/motion/unit.luau +23 -0
  196. package/out/ui/packages/numberInput/components/NumberInput.d.ts +2 -0
  197. package/out/ui/packages/numberInput/components/NumberInput.luau +16 -3
  198. package/out/ui/packages/numberInput/components/numberValue.d.ts +1 -0
  199. package/out/ui/packages/numberInput/components/numberValue.luau +45 -0
  200. package/out/ui/packages/numberRangeEditor/components/NumberRangeEditor.luau +12 -16
  201. package/out/ui/packages/pagination/components/Pagination.d.ts +6 -1
  202. package/out/ui/packages/pagination/components/Pagination.luau +62 -38
  203. package/out/ui/packages/pagination/components/Pagination.styles.d.ts +6 -1
  204. package/out/ui/packages/pagination/components/Pagination.styles.luau +36 -4
  205. package/out/ui/packages/pagination/components/pageRange.d.ts +2 -1
  206. package/out/ui/packages/pagination/components/pageRange.luau +91 -8
  207. package/out/ui/packages/pagination/index.d.ts +1 -0
  208. package/out/ui/packages/pagination/init.luau +1 -0
  209. package/out/ui/packages/paper/components/Paper.d.ts +4 -2
  210. package/out/ui/packages/paper/components/Paper.luau +31 -9
  211. package/out/ui/packages/paper/components/Paper.styles.d.ts +1 -1
  212. package/out/ui/packages/paper/components/Paper.styles.luau +6 -0
  213. package/out/ui/packages/physicalPropertiesEditor/components/PhysicalPropertiesEditor.luau +63 -38
  214. package/out/ui/packages/physicalPropertiesEditor/components/PhysicalPropertiesEditor.styles.luau +21 -7
  215. package/out/ui/packages/physicalPropertiesEditor/components/physicalParts.d.ts +2 -0
  216. package/out/ui/packages/physicalPropertiesEditor/components/physicalParts.luau +14 -0
  217. package/out/ui/packages/popup/components/Popup.d.ts +2 -1
  218. package/out/ui/packages/popup/components/Popup.luau +35 -18
  219. package/out/ui/packages/popup/index.d.ts +1 -0
  220. package/out/ui/packages/popup/init.luau +1 -0
  221. package/out/ui/packages/preloader/components/Preloader.luau +9 -16
  222. package/out/ui/packages/progressBar/components/ProgressBar.luau +12 -16
  223. package/out/ui/packages/radioGroup/components/RadioGroup.d.ts +1 -0
  224. package/out/ui/packages/radioGroup/components/RadioGroup.luau +16 -18
  225. package/out/ui/packages/radioGroup/components/RadioGroup.styles.d.ts +1 -0
  226. package/out/ui/packages/radioGroup/components/RadioGroup.styles.luau +4 -1
  227. package/out/ui/packages/rating/components/Rating.d.ts +11 -0
  228. package/out/ui/packages/rating/components/Rating.luau +97 -0
  229. package/out/ui/packages/rating/components/Rating.styles.d.ts +6 -0
  230. package/out/ui/packages/rating/components/Rating.styles.luau +44 -0
  231. package/out/ui/packages/rating/index.d.ts +2 -0
  232. package/out/ui/packages/rating/init.luau +5 -0
  233. package/out/ui/packages/rayEditor/components/RayEditor.luau +12 -16
  234. package/out/ui/packages/rectEditor/components/RectEditor.luau +86 -43
  235. package/out/ui/packages/rectEditor/components/RectEditor.styles.luau +30 -7
  236. package/out/ui/packages/select/components/Select.d.ts +5 -0
  237. package/out/ui/packages/select/components/Select.luau +61 -77
  238. package/out/ui/packages/select/components/Select.styles.luau +1 -1
  239. package/out/ui/packages/shadow/components/Shadow.d.ts +2 -1
  240. package/out/ui/packages/shadow/components/Shadow.luau +39 -17
  241. package/out/ui/packages/shadow/components/Shadow.styles.luau +7 -2
  242. package/out/ui/packages/sidebar/components/Sidebar.luau +9 -16
  243. package/out/ui/packages/skeleton/components/Skeleton.luau +22 -30
  244. package/out/ui/packages/skeleton/components/Skeleton.styles.luau +7 -2
  245. package/out/ui/packages/skeleton/components/skeletonMotion.luau +1 -1
  246. package/out/ui/packages/skeleton/components/skeletonTone.d.ts +20 -0
  247. package/out/ui/packages/skeleton/components/skeletonTone.luau +14 -0
  248. package/out/ui/packages/slider/components/Slider.d.ts +3 -0
  249. package/out/ui/packages/slider/components/Slider.luau +47 -19
  250. package/out/ui/packages/slider/components/Slider.styles.d.ts +2 -0
  251. package/out/ui/packages/slider/components/Slider.styles.luau +14 -1
  252. package/out/ui/packages/slider/components/sliderMarks.d.ts +1 -0
  253. package/out/ui/packages/slider/components/sliderMarks.luau +37 -0
  254. package/out/ui/packages/snackbar/components/Snackbar.d.ts +2 -0
  255. package/out/ui/packages/snackbar/components/Snackbar.luau +5 -0
  256. package/out/ui/packages/snackbar/components/snackbarAction.d.ts +1 -0
  257. package/out/ui/packages/snackbar/components/snackbarAction.luau +10 -0
  258. package/out/ui/packages/speedDial/components/SpeedDial.d.ts +19 -0
  259. package/out/ui/packages/speedDial/components/SpeedDial.luau +97 -0
  260. package/out/ui/packages/speedDial/components/SpeedDial.styles.d.ts +5 -0
  261. package/out/ui/packages/speedDial/components/SpeedDial.styles.luau +31 -0
  262. package/out/ui/packages/speedDial/index.d.ts +3 -0
  263. package/out/ui/packages/speedDial/init.luau +5 -0
  264. package/out/ui/packages/splitPane/components/SplitPane.luau +13 -17
  265. package/out/ui/packages/splitPane/components/splitLook.d.ts +1 -1
  266. package/out/ui/packages/stateMatrix.d.ts +2 -0
  267. package/out/ui/packages/stateMatrix.luau +872 -881
  268. package/out/ui/packages/stepper/components/Stepper.d.ts +1 -0
  269. package/out/ui/packages/stepper/components/Stepper.luau +16 -17
  270. package/out/ui/packages/stepper/components/Stepper.styles.d.ts +3 -1
  271. package/out/ui/packages/stepper/components/Stepper.styles.luau +6 -2
  272. package/out/ui/packages/switch/components/Switch.d.ts +2 -0
  273. package/out/ui/packages/switch/components/Switch.luau +21 -16
  274. package/out/ui/packages/switch/components/Switch.styles.d.ts +2 -0
  275. package/out/ui/packages/switch/components/Switch.styles.luau +6 -1
  276. package/out/ui/packages/switch/components/switchLook.d.ts +1 -1
  277. package/out/ui/packages/table/components/Table.d.ts +1 -0
  278. package/out/ui/packages/table/components/Table.luau +15 -19
  279. package/out/ui/packages/table/components/Table.styles.d.ts +3 -1
  280. package/out/ui/packages/table/components/Table.styles.luau +10 -6
  281. package/out/ui/packages/tabs/components/Tabs.d.ts +3 -0
  282. package/out/ui/packages/tabs/components/Tabs.luau +24 -19
  283. package/out/ui/packages/tabs/components/Tabs.styles.d.ts +5 -1
  284. package/out/ui/packages/tabs/components/Tabs.styles.luau +26 -10
  285. package/out/ui/packages/tabs/components/tabsOrientation.d.ts +2 -0
  286. package/out/ui/packages/tabs/components/tabsOrientation.luau +7 -0
  287. package/out/ui/packages/tabs/index.d.ts +1 -0
  288. package/out/ui/packages/tabs/init.luau +1 -0
  289. package/out/ui/packages/toast/components/Toast.d.ts +2 -0
  290. package/out/ui/packages/toast/components/Toast.luau +41 -13
  291. package/out/ui/packages/toast/components/Toast.styles.luau +23 -5
  292. package/out/ui/packages/toggleButton/components/ToggleButton.d.ts +21 -0
  293. package/out/ui/packages/toggleButton/components/ToggleButton.luau +129 -0
  294. package/out/ui/packages/toggleButton/components/ToggleButton.styles.d.ts +9 -0
  295. package/out/ui/packages/toggleButton/components/ToggleButton.styles.luau +69 -0
  296. package/out/ui/packages/toggleButton/index.d.ts +2 -0
  297. package/out/ui/packages/toggleButton/init.luau +7 -0
  298. package/out/ui/packages/tooltip/components/Tooltip.luau +9 -16
  299. package/out/ui/packages/treeView/components/TreeView.luau +9 -16
  300. package/out/ui/packages/typography/components/Typography.luau +13 -14
  301. package/out/ui/packages/udimEditor/components/UDimEditor.luau +12 -16
  302. package/out/ui/packages/vectorEditor/components/VectorEditor.luau +12 -16
  303. package/out/ui/packages/virtualList/components/EmptyListHint.d.ts +7 -0
  304. package/out/ui/packages/virtualList/components/EmptyListHint.luau +43 -0
  305. package/out/ui/packages/virtualList/components/EmptyListHint.styles.d.ts +5 -0
  306. package/out/ui/packages/virtualList/components/EmptyListHint.styles.luau +26 -0
  307. package/out/ui/packages/virtualList/components/VirtualList.luau +9 -16
  308. package/out/ui/packages/virtualList/index.d.ts +2 -0
  309. package/out/ui/packages/virtualList/init.luau +1 -0
  310. package/package.json +2 -2
  311. package/out/ui/packages/select/components/selectMotion.d.ts +0 -2
  312. package/out/ui/packages/select/components/selectMotion.luau +0 -12
@@ -29,1490 +29,1481 @@ local function pair(component, name, patch)
29
29
  -- ▲ ReadonlyArray.map ▲
30
30
  return _newValue
31
31
  end
32
+ local function pushPair(out, component, name, patch)
33
+ if patch == nil then
34
+ patch = {}
35
+ end
36
+ for _, row in pair(component, name, patch) do
37
+ table.insert(out, row)
38
+ end
39
+ end
32
40
  local function controlsRows()
33
- local _array = {}
34
- local _length = #_array
35
- local _array_1 = pair("Button", "default")
36
- local _Length = #_array_1
37
- table.move(_array_1, 1, _Length, _length + 1, _array)
38
- _length += _Length
39
- local _array_2 = pair("Button", "size-small", {
41
+ local out = {}
42
+ pushPair(out, "Button", "default")
43
+ pushPair(out, "Button", "size-small", {
40
44
  size = "small",
41
45
  })
42
- local _Length_1 = #_array_2
43
- table.move(_array_2, 1, _Length_1, _length + 1, _array)
44
- _length += _Length_1
45
- local _array_3 = pair("Button", "size-medium", {
46
+ pushPair(out, "Button", "size-medium", {
46
47
  size = "medium",
47
48
  })
48
- local _Length_2 = #_array_3
49
- table.move(_array_3, 1, _Length_2, _length + 1, _array)
50
- _length += _Length_2
51
- local _array_4 = pair("Button", "size-large", {
49
+ pushPair(out, "Button", "size-large", {
52
50
  size = "large",
53
51
  })
54
- local _Length_3 = #_array_4
55
- table.move(_array_4, 1, _Length_3, _length + 1, _array)
56
- _length += _Length_3
57
- local _array_5 = pair("Button", "density-compact", {
52
+ pushPair(out, "Button", "density-compact", {
58
53
  density = "compact",
59
54
  size = "small",
60
55
  })
61
- local _Length_4 = #_array_5
62
- table.move(_array_5, 1, _Length_4, _length + 1, _array)
63
- _length += _Length_4
64
- local _array_6 = pair("Button", "hover", {
56
+ pushPair(out, "Button", "hover", {
65
57
  pointer = "hover",
66
58
  })
67
- local _Length_5 = #_array_6
68
- table.move(_array_6, 1, _Length_5, _length + 1, _array)
69
- _length += _Length_5
70
- local _array_7 = pair("Button", "press", {
59
+ pushPair(out, "Button", "press", {
71
60
  pointer = "press",
72
61
  })
73
- local _Length_6 = #_array_7
74
- table.move(_array_7, 1, _Length_6, _length + 1, _array)
75
- _length += _Length_6
76
- local _array_8 = pair("Button", "focus", {
62
+ pushPair(out, "Button", "focus", {
77
63
  pointer = "focus",
78
64
  })
79
- local _Length_7 = #_array_8
80
- table.move(_array_8, 1, _Length_7, _length + 1, _array)
81
- _length += _Length_7
82
- local _array_9 = pair("Button", "disabled", {
65
+ pushPair(out, "Button", "disabled", {
83
66
  disabled = true,
84
67
  })
85
- local _Length_8 = #_array_9
86
- table.move(_array_9, 1, _Length_8, _length + 1, _array)
87
- _length += _Length_8
88
- local _array_10 = pair("Button", "loading", {
68
+ pushPair(out, "Button", "loading", {
89
69
  loading = true,
90
70
  })
91
- local _Length_9 = #_array_10
92
- table.move(_array_10, 1, _Length_9, _length + 1, _array)
93
- _length += _Length_9
94
- local _array_11 = pair("Button", "loading-disabled", {
71
+ pushPair(out, "Button", "loading-disabled", {
95
72
  loading = true,
96
73
  disabled = true,
97
74
  })
98
- local _Length_10 = #_array_11
99
- table.move(_array_11, 1, _Length_10, _length + 1, _array)
100
- _length += _Length_10
101
- local _array_12 = pair("Button", "loading-reduced", {
75
+ pushPair(out, "Button", "loading-reduced", {
102
76
  loading = true,
103
77
  reducedMotion = true,
104
78
  })
105
- local _Length_11 = #_array_12
106
- table.move(_array_12, 1, _Length_11, _length + 1, _array)
107
- _length += _Length_11
108
- local _array_13 = pair("Button", "outlined-loading", {
79
+ pushPair(out, "Button", "outlined-loading", {
109
80
  loading = true,
110
81
  variant = "outlined",
111
82
  })
112
- local _Length_12 = #_array_13
113
- table.move(_array_13, 1, _Length_12, _length + 1, _array)
114
- _length += _Length_12
115
- local _array_14 = pair("Button", "text-loading", {
83
+ pushPair(out, "Button", "text-loading", {
116
84
  loading = true,
117
85
  variant = "text",
118
86
  })
119
- local _Length_13 = #_array_14
120
- table.move(_array_14, 1, _Length_13, _length + 1, _array)
121
- _length += _Length_13
122
- local _array_15 = pair("Button", "long", {
87
+ pushPair(out, "Button", "long", {
123
88
  text = LONG,
124
89
  width = NARROW,
125
90
  })
126
- local _Length_14 = #_array_15
127
- table.move(_array_15, 1, _Length_14, _length + 1, _array)
128
- _length += _Length_14
129
- local _array_16 = pair("Input", "default", {
91
+ pushPair(out, "Button", "sx", {
92
+ variant = "sx",
93
+ })
94
+ pushPair(out, "IconButton", "sx", {
95
+ variant = "sx",
96
+ })
97
+ pushPair(out, "Input", "default", {
130
98
  text = "Story",
131
99
  })
132
- local _Length_15 = #_array_16
133
- table.move(_array_16, 1, _Length_15, _length + 1, _array)
134
- _length += _Length_15
135
- local _array_17 = pair("Input", "size-small", {
100
+ pushPair(out, "Input", "size-small", {
136
101
  text = "Story",
137
102
  size = "small",
138
103
  })
139
- local _Length_16 = #_array_17
140
- table.move(_array_17, 1, _Length_16, _length + 1, _array)
141
- _length += _Length_16
142
- local _array_18 = pair("Input", "size-medium", {
104
+ pushPair(out, "Input", "size-medium", {
143
105
  text = "Story",
144
106
  size = "medium",
145
107
  })
146
- local _Length_17 = #_array_18
147
- table.move(_array_18, 1, _Length_17, _length + 1, _array)
148
- _length += _Length_17
149
- local _array_19 = pair("Input", "size-large", {
108
+ pushPair(out, "Input", "size-large", {
150
109
  text = "Story",
151
110
  size = "large",
152
111
  })
153
- local _Length_18 = #_array_19
154
- table.move(_array_19, 1, _Length_18, _length + 1, _array)
155
- _length += _Length_18
156
- local _array_20 = pair("Input", "density-compact", {
112
+ pushPair(out, "Input", "density-compact", {
157
113
  text = "Story",
158
114
  density = "compact",
159
115
  size = "small",
160
116
  })
161
- local _Length_19 = #_array_20
162
- table.move(_array_20, 1, _Length_19, _length + 1, _array)
163
- _length += _Length_19
164
- local _array_21 = pair("Input", "focus", {
117
+ pushPair(out, "Input", "focus", {
165
118
  text = "Story",
166
119
  pointer = "focus",
167
120
  })
168
- local _Length_20 = #_array_21
169
- table.move(_array_21, 1, _Length_20, _length + 1, _array)
170
- _length += _Length_20
171
- local _array_22 = pair("Input", "disabled", {
121
+ pushPair(out, "Input", "disabled", {
172
122
  text = "Story",
173
123
  disabled = true,
174
124
  })
175
- local _Length_21 = #_array_22
176
- table.move(_array_22, 1, _Length_21, _length + 1, _array)
177
- _length += _Length_21
178
- local _array_23 = pair("Input", "loading", {
125
+ pushPair(out, "Input", "readonly", {
126
+ text = "Story",
127
+ })
128
+ pushPair(out, "Input", "loading", {
179
129
  text = "Story",
180
130
  loading = true,
181
131
  })
182
- local _Length_22 = #_array_23
183
- table.move(_array_23, 1, _Length_22, _length + 1, _array)
184
- _length += _Length_22
185
- local _array_24 = pair("Input", "loading-reduced", {
132
+ pushPair(out, "Input", "loading-reduced", {
186
133
  text = "Story",
187
134
  loading = true,
188
135
  reducedMotion = true,
189
136
  })
190
- local _Length_23 = #_array_24
191
- table.move(_array_24, 1, _Length_23, _length + 1, _array)
192
- _length += _Length_23
193
- local _array_25 = pair("Input", "error", {
137
+ pushPair(out, "Input", "error", {
194
138
  text = "Story",
195
139
  hasError = true,
196
140
  })
197
- local _Length_24 = #_array_25
198
- table.move(_array_25, 1, _Length_24, _length + 1, _array)
199
- _length += _Length_24
200
- local _array_26 = pair("Input", "placeholder", {
141
+ pushPair(out, "Input", "placeholder", {
201
142
  text = "",
202
143
  placeholder = "Search stories",
203
144
  })
204
- local _Length_25 = #_array_26
205
- table.move(_array_26, 1, _Length_25, _length + 1, _array)
206
- _length += _Length_25
207
- local _array_27 = pair("Input", "long", {
145
+ pushPair(out, "Input", "long", {
208
146
  text = LONG,
209
147
  width = NARROW,
210
148
  })
211
- local _Length_26 = #_array_27
212
- table.move(_array_27, 1, _Length_26, _length + 1, _array)
213
- _length += _Length_26
214
- local _array_28 = pair("Checkbox", "unchecked")
215
- local _Length_27 = #_array_28
216
- table.move(_array_28, 1, _Length_27, _length + 1, _array)
217
- _length += _Length_27
218
- local _array_29 = pair("Checkbox", "size-small", {
149
+ pushPair(out, "Input", "sx", {
150
+ variant = "sx",
151
+ })
152
+ pushPair(out, "Checkbox", "unchecked")
153
+ pushPair(out, "Checkbox", "size-small", {
219
154
  size = "small",
220
155
  })
221
- local _Length_28 = #_array_29
222
- table.move(_array_29, 1, _Length_28, _length + 1, _array)
223
- _length += _Length_28
224
- local _array_30 = pair("Checkbox", "size-medium", {
156
+ pushPair(out, "Checkbox", "size-medium", {
225
157
  size = "medium",
226
158
  })
227
- local _Length_29 = #_array_30
228
- table.move(_array_30, 1, _Length_29, _length + 1, _array)
229
- _length += _Length_29
230
- local _array_31 = pair("Checkbox", "size-large", {
159
+ pushPair(out, "Checkbox", "size-large", {
231
160
  size = "large",
232
161
  })
233
- local _Length_30 = #_array_31
234
- table.move(_array_31, 1, _Length_30, _length + 1, _array)
235
- _length += _Length_30
236
- local _array_32 = pair("Checkbox", "density-compact", {
162
+ pushPair(out, "Checkbox", "density-compact", {
237
163
  density = "compact",
238
164
  size = "small",
239
165
  })
240
- local _Length_31 = #_array_32
241
- table.move(_array_32, 1, _Length_31, _length + 1, _array)
242
- _length += _Length_31
243
- local _array_33 = pair("Checkbox", "checked", {
166
+ pushPair(out, "Checkbox", "checked", {
244
167
  value = true,
245
168
  })
246
- local _Length_32 = #_array_33
247
- table.move(_array_33, 1, _Length_32, _length + 1, _array)
248
- _length += _Length_32
249
- local _array_34 = pair("Checkbox", "mixed", {
169
+ pushPair(out, "Checkbox", "mixed", {
250
170
  mixed = true,
251
171
  })
252
- local _Length_33 = #_array_34
253
- table.move(_array_34, 1, _Length_33, _length + 1, _array)
254
- _length += _Length_33
255
- local _array_35 = pair("Checkbox", "disabled", {
172
+ pushPair(out, "Checkbox", "disabled", {
256
173
  disabled = true,
257
174
  })
258
- table.move(_array_35, 1, #_array_35, _length + 1, _array)
259
- return _array
175
+ return out
260
176
  end
261
177
  local function editorsRows()
262
- local _array = {}
263
- local _length = #_array
264
- local _array_1 = pair("Checkbox", "disabled-checked", {
178
+ local out = {}
179
+ pushPair(out, "Checkbox", "disabled-checked", {
265
180
  value = true,
266
181
  disabled = true,
267
182
  })
268
- local _Length = #_array_1
269
- table.move(_array_1, 1, _Length, _length + 1, _array)
270
- _length += _Length
271
- local _array_2 = pair("Checkbox", "hover", {
183
+ pushPair(out, "Checkbox", "hover", {
272
184
  pointer = "hover",
273
185
  })
274
- local _Length_1 = #_array_2
275
- table.move(_array_2, 1, _Length_1, _length + 1, _array)
276
- _length += _Length_1
277
- local _array_3 = pair("Checkbox", "press", {
186
+ pushPair(out, "Checkbox", "press", {
278
187
  pointer = "press",
279
188
  })
280
- local _Length_2 = #_array_3
281
- table.move(_array_3, 1, _Length_2, _length + 1, _array)
282
- _length += _Length_2
283
- local _array_4 = pair("Checkbox", "focus", {
189
+ pushPair(out, "Checkbox", "focus", {
284
190
  pointer = "focus",
285
191
  })
286
- local _Length_3 = #_array_4
287
- table.move(_array_4, 1, _Length_3, _length + 1, _array)
288
- _length += _Length_3
289
- local _array_5 = pair("Checkbox", "checked-press", {
192
+ pushPair(out, "Checkbox", "checked-press", {
290
193
  value = true,
291
194
  pointer = "press",
292
195
  })
293
- local _Length_4 = #_array_5
294
- table.move(_array_5, 1, _Length_4, _length + 1, _array)
295
- _length += _Length_4
296
- local _array_6 = pair("Checkbox", "checked-focus", {
196
+ pushPair(out, "Checkbox", "checked-focus", {
297
197
  value = true,
298
198
  pointer = "focus",
299
199
  })
300
- local _Length_5 = #_array_6
301
- table.move(_array_6, 1, _Length_5, _length + 1, _array)
302
- _length += _Length_5
303
- local _array_7 = pair("Checkbox", "long", {
200
+ pushPair(out, "Checkbox", "long", {
304
201
  text = LONG,
305
202
  width = NARROW,
306
203
  })
307
- local _Length_6 = #_array_7
308
- table.move(_array_7, 1, _Length_6, _length + 1, _array)
309
- _length += _Length_6
310
- local _array_8 = pair("ColorPicker", "default", {
204
+ pushPair(out, "Checkbox", "sx", {
205
+ variant = "sx",
206
+ })
207
+ pushPair(out, "ColorPicker", "default", {
311
208
  value = "#336699",
312
209
  })
313
- local _Length_7 = #_array_8
314
- table.move(_array_8, 1, _Length_7, _length + 1, _array)
315
- _length += _Length_7
316
- local _array_9 = pair("ColorPicker", "open", {
210
+ pushPair(out, "ColorPicker", "open", {
317
211
  value = "#336699",
318
212
  open = true,
319
213
  })
320
- local _Length_8 = #_array_9
321
- table.move(_array_9, 1, _Length_8, _length + 1, _array)
322
- _length += _Length_8
323
- local _array_10 = pair("ColorPicker", "focus", {
214
+ pushPair(out, "ColorPicker", "focus", {
324
215
  value = "#336699",
325
216
  pointer = "focus",
326
217
  })
327
- local _Length_9 = #_array_10
328
- table.move(_array_10, 1, _Length_9, _length + 1, _array)
329
- _length += _Length_9
330
- local _array_11 = pair("ColorPicker", "disabled", {
218
+ pushPair(out, "ColorPicker", "disabled", {
331
219
  value = "#336699",
332
220
  disabled = true,
333
221
  })
334
- local _Length_10 = #_array_11
335
- table.move(_array_11, 1, _Length_10, _length + 1, _array)
336
- _length += _Length_10
337
- local _array_12 = pair("ColorPicker", "error", {
222
+ pushPair(out, "ColorPicker", "error", {
338
223
  value = "#336699",
339
224
  hasError = true,
340
225
  })
341
- local _Length_11 = #_array_12
342
- table.move(_array_12, 1, _Length_11, _length + 1, _array)
343
- _length += _Length_11
344
- local _array_13 = pair("ColorPicker", "long", {
226
+ pushPair(out, "ColorPicker", "long", {
345
227
  value = "#336699",
346
228
  text = LONG,
347
229
  width = NARROW,
348
230
  })
349
- local _Length_12 = #_array_13
350
- table.move(_array_13, 1, _Length_12, _length + 1, _array)
351
- _length += _Length_12
352
- local _array_14 = pair("BrickColorPicker", "default", {
231
+ pushPair(out, "ColorPicker", "sx", {
232
+ value = "#336699",
233
+ })
234
+ pushPair(out, "BrickColorPicker", "default", {
353
235
  value = "Bright red",
354
236
  })
355
- local _Length_13 = #_array_14
356
- table.move(_array_14, 1, _Length_13, _length + 1, _array)
357
- _length += _Length_13
358
- local _array_15 = pair("BrickColorPicker", "open", {
237
+ pushPair(out, "BrickColorPicker", "open", {
359
238
  value = "Bright red",
360
239
  open = true,
361
240
  })
362
- local _Length_14 = #_array_15
363
- table.move(_array_15, 1, _Length_14, _length + 1, _array)
364
- _length += _Length_14
365
- local _array_16 = pair("BrickColorPicker", "disabled", {
241
+ pushPair(out, "BrickColorPicker", "disabled", {
366
242
  value = "Bright red",
367
243
  disabled = true,
368
244
  })
369
- local _Length_15 = #_array_16
370
- table.move(_array_16, 1, _Length_15, _length + 1, _array)
371
- _length += _Length_15
372
- local _array_17 = pair("VectorEditor", "default", {
245
+ pushPair(out, "BrickColorPicker", "sx", {
246
+ value = "Bright red",
247
+ })
248
+ pushPair(out, "VectorEditor", "default", {
373
249
  value = "1,2",
374
250
  })
375
- local _Length_16 = #_array_17
376
- table.move(_array_17, 1, _Length_16, _length + 1, _array)
377
- _length += _Length_16
378
- local _array_18 = pair("VectorEditor", "disabled", {
251
+ pushPair(out, "VectorEditor", "disabled", {
379
252
  value = "1,2,3",
380
253
  disabled = true,
381
254
  })
382
- local _Length_17 = #_array_18
383
- table.move(_array_18, 1, _Length_17, _length + 1, _array)
384
- _length += _Length_17
385
- local _array_19 = pair("VectorEditor", "long", {
255
+ pushPair(out, "VectorEditor", "long", {
386
256
  value = "1,2",
387
257
  text = LONG,
388
258
  width = NARROW,
389
259
  })
390
- local _Length_18 = #_array_19
391
- table.move(_array_19, 1, _Length_18, _length + 1, _array)
392
- _length += _Length_18
393
- local _array_20 = pair("UDimEditor", "default", {
260
+ pushPair(out, "VectorEditor", "sx", {
261
+ value = "1,2",
262
+ })
263
+ pushPair(out, "UDimEditor", "default", {
394
264
  value = "0.5,8",
395
265
  })
396
- local _Length_19 = #_array_20
397
- table.move(_array_20, 1, _Length_19, _length + 1, _array)
398
- _length += _Length_19
399
- local _array_21 = pair("UDimEditor", "disabled", {
266
+ pushPair(out, "UDimEditor", "disabled", {
400
267
  value = "0.5,8",
401
268
  disabled = true,
402
269
  })
403
- local _Length_20 = #_array_21
404
- table.move(_array_21, 1, _Length_20, _length + 1, _array)
405
- _length += _Length_20
406
- local _array_22 = pair("UDimEditor", "long", {
270
+ pushPair(out, "UDimEditor", "long", {
407
271
  value = "0.5,8",
408
272
  text = LONG,
409
273
  width = NARROW,
410
274
  })
411
- local _Length_21 = #_array_22
412
- table.move(_array_22, 1, _Length_21, _length + 1, _array)
413
- _length += _Length_21
414
- local _array_23 = pair("CFrameEditor", "default", {
275
+ pushPair(out, "UDimEditor", "sx", {
276
+ value = "0.5,8",
277
+ })
278
+ pushPair(out, "CFrameEditor", "default", {
415
279
  value = "0,0,0",
416
280
  })
417
- local _Length_22 = #_array_23
418
- table.move(_array_23, 1, _Length_22, _length + 1, _array)
419
- _length += _Length_22
420
- local _array_24 = pair("CFrameEditor", "disabled", {
281
+ pushPair(out, "CFrameEditor", "disabled", {
421
282
  value = "0,0,0",
422
283
  disabled = true,
423
284
  })
424
- local _Length_23 = #_array_24
425
- table.move(_array_24, 1, _Length_23, _length + 1, _array)
426
- _length += _Length_23
427
- local _array_25 = pair("EnumPicker", "default", {
285
+ pushPair(out, "CFrameEditor", "sx", {
286
+ value = "0,0,0",
287
+ })
288
+ pushPair(out, "EnumPicker", "default", {
428
289
  value = "Continue",
429
290
  options = { "Continue", "Other" },
430
291
  })
431
- local _Length_24 = #_array_25
432
- table.move(_array_25, 1, _Length_24, _length + 1, _array)
433
- _length += _Length_24
434
- local _array_26 = pair("EnumPicker", "open", {
292
+ pushPair(out, "EnumPicker", "open", {
435
293
  value = "Continue",
436
294
  options = { "Continue", "Other" },
437
295
  open = true,
438
296
  })
439
- local _Length_25 = #_array_26
440
- table.move(_array_26, 1, _Length_25, _length + 1, _array)
441
- _length += _Length_25
442
- local _array_27 = pair("EnumPicker", "disabled", {
297
+ pushPair(out, "EnumPicker", "disabled", {
443
298
  value = "Continue",
444
299
  options = { "Continue", "Other" },
445
300
  disabled = true,
446
301
  })
447
- local _Length_26 = #_array_27
448
- table.move(_array_27, 1, _Length_26, _length + 1, _array)
449
- _length += _Length_26
450
- local _array_28 = pair("NumberRangeEditor", "default", {
302
+ pushPair(out, "EnumPicker", "sx", {
303
+ value = "Continue",
304
+ options = { "Continue", "Other" },
305
+ })
306
+ pushPair(out, "NumberRangeEditor", "default", {
451
307
  value = "0,1",
452
308
  })
453
- local _Length_27 = #_array_28
454
- table.move(_array_28, 1, _Length_27, _length + 1, _array)
455
- _length += _Length_27
456
- local _array_29 = pair("NumberRangeEditor", "disabled", {
309
+ pushPair(out, "NumberRangeEditor", "disabled", {
457
310
  value = "0,1",
458
311
  disabled = true,
459
312
  })
460
- local _Length_28 = #_array_29
461
- table.move(_array_29, 1, _Length_28, _length + 1, _array)
462
- _length += _Length_28
463
- local _array_30 = pair("RectEditor", "default", {
313
+ pushPair(out, "NumberRangeEditor", "sx", {
314
+ value = "0,1",
315
+ })
316
+ pushPair(out, "RectEditor", "default", {
464
317
  value = "0,0,1,1",
465
318
  })
466
- local _Length_29 = #_array_30
467
- table.move(_array_30, 1, _Length_29, _length + 1, _array)
468
- _length += _Length_29
469
- local _array_31 = pair("RectEditor", "disabled", {
319
+ pushPair(out, "RectEditor", "disabled", {
470
320
  value = "0,0,1,1",
471
321
  disabled = true,
472
322
  })
473
- local _Length_30 = #_array_31
474
- table.move(_array_31, 1, _Length_30, _length + 1, _array)
475
- _length += _Length_30
476
- local _array_32 = pair("AssetField", "empty", {
323
+ pushPair(out, "RectEditor", "narrow", {
324
+ value = "0,0,100,50",
325
+ width = 320,
326
+ })
327
+ pushPair(out, "RectEditor", "sx", {
328
+ value = "0,0,1,1",
329
+ })
330
+ pushPair(out, "AssetField", "empty", {
477
331
  text = "",
478
332
  })
479
- local _Length_31 = #_array_32
480
- table.move(_array_32, 1, _Length_31, _length + 1, _array)
481
- _length += _Length_31
482
- local _array_33 = pair("AssetField", "default", {
333
+ pushPair(out, "AssetField", "default", {
483
334
  text = "123",
484
335
  })
485
- local _Length_32 = #_array_33
486
- table.move(_array_33, 1, _Length_32, _length + 1, _array)
487
- _length += _Length_32
488
- local _array_34 = pair("AssetField", "disabled", {
336
+ pushPair(out, "AssetField", "disabled", {
489
337
  text = "123",
490
338
  disabled = true,
491
339
  })
492
- local _Length_33 = #_array_34
493
- table.move(_array_34, 1, _Length_33, _length + 1, _array)
494
- _length += _Length_33
495
- local _array_35 = pair("GradientEditor", "default", {
340
+ pushPair(out, "AssetField", "sx", {
341
+ text = "123",
342
+ })
343
+ pushPair(out, "GradientEditor", "default", {
496
344
  value = "gradient",
497
345
  })
498
- table.move(_array_35, 1, #_array_35, _length + 1, _array)
499
- return _array
346
+ return out
500
347
  end
501
348
  local function togglesRows()
502
- local _array = {}
503
- local _length = #_array
504
- local _array_1 = pair("GradientEditor", "disabled", {
349
+ local out = {}
350
+ pushPair(out, "GradientEditor", "disabled", {
505
351
  value = "gradient",
506
352
  disabled = true,
507
353
  })
508
- local _Length = #_array_1
509
- table.move(_array_1, 1, _Length, _length + 1, _array)
510
- _length += _Length
511
- local _array_2 = pair("RayEditor", "default", {
354
+ pushPair(out, "RayEditor", "default", {
512
355
  value = "0,0,0,0,1,0",
513
356
  })
514
- local _Length_1 = #_array_2
515
- table.move(_array_2, 1, _Length_1, _length + 1, _array)
516
- _length += _Length_1
517
- local _array_3 = pair("RayEditor", "disabled", {
357
+ pushPair(out, "RayEditor", "disabled", {
518
358
  value = "0,0,0,0,1,0",
519
359
  disabled = true,
520
360
  })
521
- local _Length_2 = #_array_3
522
- table.move(_array_3, 1, _Length_2, _length + 1, _array)
523
- _length += _Length_2
524
- local _array_4 = pair("PhysicalPropertiesEditor", "default", {
361
+ pushPair(out, "PhysicalPropertiesEditor", "default", {
525
362
  value = "0.7,0.3,0.5",
526
363
  })
527
- local _Length_3 = #_array_4
528
- table.move(_array_4, 1, _Length_3, _length + 1, _array)
529
- _length += _Length_3
530
- local _array_5 = pair("PhysicalPropertiesEditor", "disabled", {
364
+ pushPair(out, "PhysicalPropertiesEditor", "disabled", {
531
365
  value = "0.7,0.3,0.5",
532
366
  disabled = true,
533
367
  })
534
- local _Length_4 = #_array_5
535
- table.move(_array_5, 1, _Length_4, _length + 1, _array)
536
- _length += _Length_4
537
- local _array_6 = pair("Switch", "off")
538
- local _Length_5 = #_array_6
539
- table.move(_array_6, 1, _Length_5, _length + 1, _array)
540
- _length += _Length_5
541
- local _array_7 = pair("Switch", "size-small", {
368
+ pushPair(out, "PhysicalPropertiesEditor", "narrow", {
369
+ value = "0.699999988079071,0.30000001192092896,0.5,1,1",
370
+ width = 320,
371
+ })
372
+ pushPair(out, "GradientEditor", "sx", {
373
+ value = "gradient",
374
+ })
375
+ pushPair(out, "RayEditor", "sx", {
376
+ value = "0,0,0,0,1,0",
377
+ })
378
+ pushPair(out, "PhysicalPropertiesEditor", "sx", {
379
+ value = "0.7,0.3,0.5",
380
+ })
381
+ pushPair(out, "FontEditor", "sx", {
382
+ value = "Gotham",
383
+ })
384
+ pushPair(out, "ColorSequenceEditor", "sx", {
385
+ value = "0,1,1",
386
+ })
387
+ pushPair(out, "NumberSequenceEditor", "sx", {
388
+ value = "0,1",
389
+ })
390
+ pushPair(out, "Switch", "off")
391
+ pushPair(out, "Switch", "size-small", {
542
392
  size = "small",
543
393
  })
544
- local _Length_6 = #_array_7
545
- table.move(_array_7, 1, _Length_6, _length + 1, _array)
546
- _length += _Length_6
547
- local _array_8 = pair("Switch", "size-medium", {
394
+ pushPair(out, "Switch", "size-medium", {
548
395
  size = "medium",
549
396
  })
550
- local _Length_7 = #_array_8
551
- table.move(_array_8, 1, _Length_7, _length + 1, _array)
552
- _length += _Length_7
553
- local _array_9 = pair("Switch", "size-large", {
397
+ pushPair(out, "Switch", "size-large", {
554
398
  size = "large",
555
399
  })
556
- local _Length_8 = #_array_9
557
- table.move(_array_9, 1, _Length_8, _length + 1, _array)
558
- _length += _Length_8
559
- local _array_10 = pair("Switch", "density-compact", {
400
+ pushPair(out, "Switch", "density-compact", {
560
401
  density = "compact",
561
402
  size = "small",
562
403
  })
563
- local _Length_9 = #_array_10
564
- table.move(_array_10, 1, _Length_9, _length + 1, _array)
565
- _length += _Length_9
566
- local _array_11 = pair("Switch", "on", {
404
+ pushPair(out, "Switch", "on", {
567
405
  value = true,
568
406
  })
569
- local _Length_10 = #_array_11
570
- table.move(_array_11, 1, _Length_10, _length + 1, _array)
571
- _length += _Length_10
572
- local _array_12 = pair("Switch", "disabled", {
407
+ pushPair(out, "Switch", "accent", {
408
+ value = true,
409
+ variant = "accent",
410
+ })
411
+ pushPair(out, "Switch", "disabled", {
573
412
  disabled = true,
574
413
  })
575
- local _Length_11 = #_array_12
576
- table.move(_array_12, 1, _Length_11, _length + 1, _array)
577
- _length += _Length_11
578
- local _array_13 = pair("Switch", "disabled-on", {
414
+ pushPair(out, "Switch", "disabled-on", {
579
415
  value = true,
580
416
  disabled = true,
581
417
  })
582
- local _Length_12 = #_array_13
583
- table.move(_array_13, 1, _Length_12, _length + 1, _array)
584
- _length += _Length_12
585
- local _array_14 = pair("Switch", "hover", {
418
+ pushPair(out, "Switch", "hover", {
586
419
  pointer = "hover",
587
420
  })
588
- local _Length_13 = #_array_14
589
- table.move(_array_14, 1, _Length_13, _length + 1, _array)
590
- _length += _Length_13
591
- local _array_15 = pair("Switch", "press", {
421
+ pushPair(out, "Switch", "press", {
592
422
  pointer = "press",
593
423
  })
594
- local _Length_14 = #_array_15
595
- table.move(_array_15, 1, _Length_14, _length + 1, _array)
596
- _length += _Length_14
597
- local _array_16 = pair("Switch", "focus", {
424
+ pushPair(out, "Switch", "focus", {
598
425
  pointer = "focus",
599
426
  })
600
- local _Length_15 = #_array_16
601
- table.move(_array_16, 1, _Length_15, _length + 1, _array)
602
- _length += _Length_15
603
- local _array_17 = pair("Switch", "on-hover", {
427
+ pushPair(out, "Switch", "on-hover", {
604
428
  value = true,
605
429
  pointer = "hover",
606
430
  })
607
- local _Length_16 = #_array_17
608
- table.move(_array_17, 1, _Length_16, _length + 1, _array)
609
- _length += _Length_16
610
- local _array_18 = pair("Switch", "on-press", {
431
+ pushPair(out, "Switch", "on-press", {
611
432
  value = true,
612
433
  pointer = "press",
613
434
  })
614
- local _Length_17 = #_array_18
615
- table.move(_array_18, 1, _Length_17, _length + 1, _array)
616
- _length += _Length_17
617
- local _array_19 = pair("Switch", "on-focus", {
435
+ pushPair(out, "Switch", "on-focus", {
618
436
  value = true,
619
437
  pointer = "focus",
620
438
  })
621
- local _Length_18 = #_array_19
622
- table.move(_array_19, 1, _Length_18, _length + 1, _array)
623
- _length += _Length_18
624
- local _array_20 = pair("Switch", "reduced", {
439
+ pushPair(out, "Switch", "reduced", {
625
440
  value = true,
626
441
  reducedMotion = true,
627
442
  })
628
- local _Length_19 = #_array_20
629
- table.move(_array_20, 1, _Length_19, _length + 1, _array)
630
- _length += _Length_19
631
- local _array_21 = pair("Switch", "long", {
443
+ pushPair(out, "Switch", "long", {
632
444
  text = LONG,
633
445
  width = NARROW,
634
446
  })
635
- local _Length_20 = #_array_21
636
- table.move(_array_21, 1, _Length_20, _length + 1, _array)
637
- _length += _Length_20
638
- local _array_22 = pair("Slider", "default", {
447
+ pushPair(out, "Switch", "sx", {
448
+ variant = "sx",
449
+ })
450
+ pushPair(out, "Slider", "default", {
639
451
  value = 0.5,
640
452
  })
641
- local _Length_21 = #_array_22
642
- table.move(_array_22, 1, _Length_21, _length + 1, _array)
643
- _length += _Length_21
644
- local _array_23 = pair("Slider", "size-small", {
453
+ pushPair(out, "Slider", "size-small", {
645
454
  value = 0.5,
646
455
  size = "small",
647
456
  })
648
- local _Length_22 = #_array_23
649
- table.move(_array_23, 1, _Length_22, _length + 1, _array)
650
- _length += _Length_22
651
- local _array_24 = pair("Slider", "size-medium", {
457
+ pushPair(out, "Slider", "size-medium", {
652
458
  value = 0.5,
653
459
  size = "medium",
654
460
  })
655
- local _Length_23 = #_array_24
656
- table.move(_array_24, 1, _Length_23, _length + 1, _array)
657
- _length += _Length_23
658
- local _array_25 = pair("Slider", "size-large", {
461
+ pushPair(out, "Slider", "size-large", {
659
462
  value = 0.5,
660
463
  size = "large",
661
464
  })
662
- local _Length_24 = #_array_25
663
- table.move(_array_25, 1, _Length_24, _length + 1, _array)
664
- _length += _Length_24
665
- local _array_26 = pair("Slider", "density-compact", {
465
+ pushPair(out, "Slider", "density-compact", {
666
466
  value = 0.5,
667
467
  density = "compact",
668
468
  size = "small",
669
469
  })
670
- local _Length_25 = #_array_26
671
- table.move(_array_26, 1, _Length_25, _length + 1, _array)
672
- _length += _Length_25
673
- local _array_27 = pair("Slider", "disabled", {
470
+ pushPair(out, "Slider", "disabled", {
674
471
  value = 0.5,
675
472
  disabled = true,
676
473
  })
677
- local _Length_26 = #_array_27
678
- table.move(_array_27, 1, _Length_26, _length + 1, _array)
679
- _length += _Length_26
680
- local _array_28 = pair("Slider", "hover", {
474
+ pushPair(out, "Slider", "marks", {
475
+ value = 0.5,
476
+ marks = true,
477
+ })
478
+ pushPair(out, "Slider", "accent", {
479
+ value = 0.5,
480
+ variant = "accent",
481
+ })
482
+ pushPair(out, "Slider", "hover", {
681
483
  value = 0.5,
682
484
  pointer = "hover",
683
485
  })
684
- local _Length_27 = #_array_28
685
- table.move(_array_28, 1, _Length_27, _length + 1, _array)
686
- _length += _Length_27
687
- local _array_29 = pair("Slider", "press", {
486
+ pushPair(out, "Slider", "press", {
688
487
  value = 0.5,
689
488
  pointer = "press",
690
489
  })
691
- local _Length_28 = #_array_29
692
- table.move(_array_29, 1, _Length_28, _length + 1, _array)
693
- _length += _Length_28
694
- local _array_30 = pair("Slider", "focus", {
490
+ pushPair(out, "Slider", "focus", {
695
491
  value = 0.5,
696
492
  pointer = "focus",
697
493
  })
698
- local _Length_29 = #_array_30
699
- table.move(_array_30, 1, _Length_29, _length + 1, _array)
700
- _length += _Length_29
701
- local _array_31 = pair("Slider", "long", {
494
+ pushPair(out, "Slider", "long", {
702
495
  value = 0.25,
703
496
  text = LONG,
704
497
  width = NARROW,
705
498
  })
706
- local _Length_30 = #_array_31
707
- table.move(_array_31, 1, _Length_30, _length + 1, _array)
708
- _length += _Length_30
709
- local _array_32 = pair("RadioGroup", "default", {
499
+ pushPair(out, "Slider", "sx", {
500
+ value = 0.5,
501
+ variant = "sx",
502
+ })
503
+ pushPair(out, "RadioGroup", "default", {
710
504
  value = "Continue",
711
505
  options = { "Continue", "Other" },
712
506
  })
713
- local _Length_31 = #_array_32
714
- table.move(_array_32, 1, _Length_31, _length + 1, _array)
715
- _length += _Length_31
716
- local _array_33 = pair("RadioGroup", "size-small", {
507
+ pushPair(out, "RadioGroup", "row", {
508
+ value = "Continue",
509
+ options = { "Continue", "Other" },
510
+ row = true,
511
+ })
512
+ pushPair(out, "RadioGroup", "size-small", {
717
513
  value = "Continue",
718
514
  options = { "Continue", "Other" },
719
515
  size = "small",
720
516
  })
721
- local _Length_32 = #_array_33
722
- table.move(_array_33, 1, _Length_32, _length + 1, _array)
723
- _length += _Length_32
724
- local _array_34 = pair("RadioGroup", "size-large", {
517
+ pushPair(out, "RadioGroup", "size-large", {
725
518
  value = "Continue",
726
519
  options = { "Continue", "Other" },
727
520
  size = "large",
728
521
  })
729
- local _Length_33 = #_array_34
730
- table.move(_array_34, 1, _Length_33, _length + 1, _array)
731
- _length += _Length_33
732
- local _array_35 = pair("RadioGroup", "density-compact", {
522
+ pushPair(out, "RadioGroup", "density-compact", {
733
523
  value = "Continue",
734
524
  options = { "Continue", "Other" },
735
525
  density = "compact",
736
526
  size = "small",
737
527
  })
738
- table.move(_array_35, 1, #_array_35, _length + 1, _array)
739
- return _array
528
+ return out
740
529
  end
741
530
  local function compositeRows()
742
- local _array = {}
743
- local _length = #_array
744
- local _array_1 = pair("RadioGroup", "disabled", {
531
+ local out = {}
532
+ pushPair(out, "RadioGroup", "disabled", {
745
533
  value = "Continue",
746
534
  options = { "Continue", "Other" },
747
535
  disabled = true,
748
536
  })
749
- local _Length = #_array_1
750
- table.move(_array_1, 1, _Length, _length + 1, _array)
751
- _length += _Length
752
- local _array_2 = pair("RadioGroup", "disabled-option", {
537
+ pushPair(out, "RadioGroup", "disabled-option", {
753
538
  value = "Continue",
754
539
  options = { "Continue", "Other" },
755
540
  disabledOption = "Other",
756
541
  })
757
- local _Length_1 = #_array_2
758
- table.move(_array_2, 1, _Length_1, _length + 1, _array)
759
- _length += _Length_1
760
- local _array_3 = pair("RadioGroup", "hover", {
542
+ pushPair(out, "RadioGroup", "hover", {
761
543
  value = "Continue",
762
544
  options = { "Continue", "Other" },
763
545
  pointer = "hover",
764
546
  })
765
- local _Length_2 = #_array_3
766
- table.move(_array_3, 1, _Length_2, _length + 1, _array)
767
- _length += _Length_2
768
- local _array_4 = pair("RadioGroup", "long", {
547
+ pushPair(out, "RadioGroup", "long", {
769
548
  value = LONG,
770
549
  options = { LONG, "Other" },
771
550
  text = LONG,
772
551
  width = NARROW,
773
552
  })
774
- local _Length_3 = #_array_4
775
- table.move(_array_4, 1, _Length_3, _length + 1, _array)
776
- _length += _Length_3
777
- local _array_5 = pair("Select", "default", {
553
+ pushPair(out, "RadioGroup", "sx", {
778
554
  value = "Continue",
779
555
  options = { "Continue", "Other" },
556
+ variant = "sx",
780
557
  })
781
- local _Length_4 = #_array_5
782
- table.move(_array_5, 1, _Length_4, _length + 1, _array)
783
- _length += _Length_4
784
- local _array_6 = pair("Select", "size-small", {
558
+ pushPair(out, "Select", "default", {
559
+ value = "Continue",
560
+ options = { "Continue", "Other" },
561
+ })
562
+ pushPair(out, "Select", "size-small", {
785
563
  value = "Continue",
786
564
  options = { "Continue", "Other" },
787
565
  size = "small",
788
566
  })
789
- local _Length_5 = #_array_6
790
- table.move(_array_6, 1, _Length_5, _length + 1, _array)
791
- _length += _Length_5
792
- local _array_7 = pair("Select", "size-large", {
567
+ pushPair(out, "Select", "size-large", {
793
568
  value = "Continue",
794
569
  options = { "Continue", "Other" },
795
570
  size = "large",
796
571
  })
797
- local _Length_6 = #_array_7
798
- table.move(_array_7, 1, _Length_6, _length + 1, _array)
799
- _length += _Length_6
800
- local _array_8 = pair("Select", "density-compact", {
572
+ pushPair(out, "Select", "density-compact", {
801
573
  value = "Continue",
802
574
  options = { "Continue", "Other" },
803
575
  density = "compact",
804
576
  size = "small",
805
577
  })
806
- local _Length_7 = #_array_8
807
- table.move(_array_8, 1, _Length_7, _length + 1, _array)
808
- _length += _Length_7
809
- local _array_9 = pair("Select", "open", {
578
+ pushPair(out, "Select", "open", {
810
579
  value = "Continue",
811
580
  options = { "Continue", "Other" },
812
581
  open = true,
813
582
  })
814
- local _Length_8 = #_array_9
815
- table.move(_array_9, 1, _Length_8, _length + 1, _array)
816
- _length += _Length_8
817
- local _array_10 = pair("Select", "disabled", {
583
+ pushPair(out, "Select", "disabled", {
818
584
  value = "Continue",
819
585
  options = { "Continue", "Other" },
820
586
  disabled = true,
821
587
  })
822
- local _Length_9 = #_array_10
823
- table.move(_array_10, 1, _Length_9, _length + 1, _array)
824
- _length += _Length_9
825
- local _array_11 = pair("Select", "loading", {
588
+ pushPair(out, "Select", "loading", {
826
589
  value = "Continue",
827
590
  options = { "Continue", "Other" },
828
591
  loading = true,
829
592
  })
830
- local _Length_10 = #_array_11
831
- table.move(_array_11, 1, _Length_10, _length + 1, _array)
832
- _length += _Length_10
833
- local _array_12 = pair("Select", "loading-reduced", {
593
+ pushPair(out, "Select", "loading-reduced", {
834
594
  value = "Continue",
835
595
  options = { "Continue", "Other" },
836
596
  loading = true,
837
597
  reducedMotion = true,
838
598
  })
839
- local _Length_11 = #_array_12
840
- table.move(_array_12, 1, _Length_11, _length + 1, _array)
841
- _length += _Length_11
842
- local _array_13 = pair("Select", "hover", {
599
+ pushPair(out, "Select", "hover", {
843
600
  value = "Continue",
844
601
  options = { "Continue", "Other" },
845
602
  open = true,
846
603
  pointer = "hover",
847
604
  })
848
- local _Length_12 = #_array_13
849
- table.move(_array_13, 1, _Length_12, _length + 1, _array)
850
- _length += _Length_12
851
- local _array_14 = pair("Select", "press", {
605
+ pushPair(out, "Select", "press", {
852
606
  value = "Continue",
853
607
  options = { "Continue", "Other" },
854
608
  pointer = "press",
855
609
  })
856
- local _Length_13 = #_array_14
857
- table.move(_array_14, 1, _Length_13, _length + 1, _array)
858
- _length += _Length_13
859
- local _array_15 = pair("Select", "focus", {
610
+ pushPair(out, "Select", "focus", {
860
611
  value = "Continue",
861
612
  options = { "Continue", "Other" },
862
613
  pointer = "focus",
863
614
  })
864
- local _Length_14 = #_array_15
865
- table.move(_array_15, 1, _Length_14, _length + 1, _array)
866
- _length += _Length_14
867
- local _array_16 = pair("Select", "long", {
615
+ pushPair(out, "Select", "long", {
868
616
  value = LONG,
869
617
  options = { LONG, "Other" },
870
618
  text = LONG,
871
619
  width = NARROW,
872
620
  open = true,
873
621
  })
874
- local _Length_15 = #_array_16
875
- table.move(_array_16, 1, _Length_15, _length + 1, _array)
876
- _length += _Length_15
877
- local _array_17 = pair("Select", "search", {
622
+ pushPair(out, "Select", "sx", {
623
+ value = "Continue",
624
+ options = { "Continue", "Other" },
625
+ variant = "sx",
626
+ })
627
+ pushPair(out, "Select", "search", {
878
628
  value = "Continue",
879
629
  options = { "Continue", "Other", "Docs", "Actions", "Source", "Settings", "Theme", "Inspector", "Controls" },
880
630
  open = true,
881
631
  filter = "con",
882
632
  })
883
- local _Length_16 = #_array_17
884
- table.move(_array_17, 1, _Length_16, _length + 1, _array)
885
- _length += _Length_16
886
- local _array_18 = pair("Tabs", "default", {
633
+ pushPair(out, "Select", "empty", {
634
+ value = "",
635
+ options = {},
636
+ open = true,
637
+ })
638
+ pushPair(out, "Select", "no-results", {
639
+ value = "Continue",
640
+ options = { "Continue", "Other" },
641
+ open = true,
642
+ filter = "zzz",
643
+ })
644
+ pushPair(out, "Tabs", "default", {
645
+ value = "Continue",
646
+ options = { "Continue", "Docs", "Actions" },
647
+ })
648
+ pushPair(out, "Tabs", "vertical", {
887
649
  value = "Continue",
888
650
  options = { "Continue", "Docs", "Actions" },
651
+ variant = "vertical",
889
652
  })
890
- local _Length_17 = #_array_18
891
- table.move(_array_18, 1, _Length_17, _length + 1, _array)
892
- _length += _Length_17
893
- local _array_19 = pair("Tabs", "disabled", {
653
+ pushPair(out, "Tabs", "disabled", {
894
654
  value = "Continue",
895
655
  options = { "Continue", "Docs", "Actions" },
896
656
  disabled = true,
897
657
  })
898
- local _Length_18 = #_array_19
899
- table.move(_array_19, 1, _Length_18, _length + 1, _array)
900
- _length += _Length_18
901
- local _array_20 = pair("Tabs", "hover", {
658
+ pushPair(out, "Tabs", "centered", {
659
+ value = "Continue",
660
+ options = { "Continue", "Docs", "Actions" },
661
+ variant = "centered",
662
+ })
663
+ pushPair(out, "Tabs", "hover", {
902
664
  value = "Continue",
903
665
  options = { "Continue", "Docs", "Actions" },
904
666
  pointer = "hover",
905
667
  })
906
- local _Length_19 = #_array_20
907
- table.move(_array_20, 1, _Length_19, _length + 1, _array)
908
- _length += _Length_19
909
- local _array_21 = pair("Tabs", "long", {
668
+ pushPair(out, "Tabs", "long", {
910
669
  value = LONG,
911
670
  options = { LONG, "Docs", "Actions", "Source", "Settings" },
912
671
  text = LONG,
913
672
  width = NARROW,
914
673
  })
915
- local _Length_20 = #_array_21
916
- table.move(_array_21, 1, _Length_20, _length + 1, _array)
917
- _length += _Length_20
918
- local _array_22 = pair("SplitPane", "default", {
674
+ pushPair(out, "Tabs", "sx", {
675
+ value = "Continue",
676
+ options = { "Continue", "Docs", "Actions" },
677
+ variant = "sx",
678
+ })
679
+ pushPair(out, "SplitPane", "default", {
919
680
  value = 160,
920
681
  })
921
- local _Length_21 = #_array_22
922
- table.move(_array_22, 1, _Length_21, _length + 1, _array)
923
- _length += _Length_21
924
- local _array_23 = pair("SplitPane", "disabled", {
682
+ pushPair(out, "SplitPane", "disabled", {
925
683
  value = 160,
926
684
  disabled = true,
927
685
  })
928
- local _Length_22 = #_array_23
929
- table.move(_array_23, 1, _Length_22, _length + 1, _array)
930
- _length += _Length_22
931
- local _array_24 = pair("SplitPane", "hover", {
686
+ pushPair(out, "SplitPane", "hover", {
932
687
  value = 160,
933
688
  pointer = "hover",
934
689
  })
935
- local _Length_23 = #_array_24
936
- table.move(_array_24, 1, _Length_23, _length + 1, _array)
937
- _length += _Length_23
938
- local _array_25 = pair("SplitPane", "drag", {
690
+ pushPair(out, "SplitPane", "drag", {
939
691
  value = 160,
940
692
  pointer = "press",
941
693
  })
942
- local _Length_24 = #_array_25
943
- table.move(_array_25, 1, _Length_24, _length + 1, _array)
944
- _length += _Length_24
945
- local _array_26 = pair("SplitPane", "long", {
694
+ pushPair(out, "SplitPane", "long", {
946
695
  value = 80,
947
696
  text = LONG,
948
697
  width = NARROW,
949
698
  })
950
- local _Length_25 = #_array_26
951
- table.move(_array_26, 1, _Length_25, _length + 1, _array)
952
- _length += _Length_25
953
- local _array_27 = pair("Tooltip", "hidden")
954
- local _Length_26 = #_array_27
955
- table.move(_array_27, 1, _Length_26, _length + 1, _array)
956
- _length += _Length_26
957
- local _array_28 = pair("Tooltip", "shown", {
699
+ pushPair(out, "SplitPane", "sx", {
700
+ value = 160,
701
+ })
702
+ pushPair(out, "Tooltip", "hidden")
703
+ pushPair(out, "Tooltip", "shown", {
958
704
  pointer = "hover",
959
705
  })
960
- local _Length_27 = #_array_28
961
- table.move(_array_28, 1, _Length_27, _length + 1, _array)
962
- _length += _Length_27
963
- local _array_29 = pair("Tooltip", "long", {
706
+ pushPair(out, "Tooltip", "long", {
964
707
  text = LONG,
965
708
  width = NARROW,
966
709
  pointer = "hover",
967
710
  })
968
- local _Length_28 = #_array_29
969
- table.move(_array_29, 1, _Length_28, _length + 1, _array)
970
- _length += _Length_28
971
- local _array_30 = pair("TreeView", "default", {
711
+ pushPair(out, "Tooltip", "sx", {
712
+ text = "Hint",
713
+ })
714
+ pushPair(out, "TreeView", "default", {
972
715
  selected = "Fixture/Styled",
973
716
  })
974
- local _Length_29 = #_array_30
975
- table.move(_array_30, 1, _Length_29, _length + 1, _array)
976
- _length += _Length_29
977
- local _array_31 = pair("TreeView", "hover", {
717
+ pushPair(out, "TreeView", "hover", {
978
718
  selected = "Fixture/Styled",
979
719
  pointer = "hover",
980
720
  })
981
- local _Length_30 = #_array_31
982
- table.move(_array_31, 1, _Length_30, _length + 1, _array)
983
- _length += _Length_30
984
- local _array_32 = pair("TreeView", "filter", {
721
+ pushPair(out, "TreeView", "filter", {
985
722
  selected = "Fixture/Styled",
986
723
  filter = "sty",
987
724
  })
988
- local _Length_31 = #_array_32
989
- table.move(_array_32, 1, _Length_31, _length + 1, _array)
990
- _length += _Length_31
991
- local _array_33 = pair("TreeView", "long", {
725
+ pushPair(out, "TreeView", "long", {
992
726
  selected = `Fixture/{LONG}`,
993
727
  text = LONG,
994
728
  width = NARROW,
995
729
  })
996
- local _Length_32 = #_array_33
997
- table.move(_array_33, 1, _Length_32, _length + 1, _array)
998
- _length += _Length_32
999
- local _array_34 = pair("IconButton", "loading", {
730
+ pushPair(out, "TreeView", "sx", {
731
+ selected = "Fixture/Styled",
732
+ })
733
+ pushPair(out, "IconButton", "loading", {
1000
734
  loading = true,
1001
735
  })
1002
- local _Length_33 = #_array_34
1003
- table.move(_array_34, 1, _Length_33, _length + 1, _array)
1004
- _length += _Length_33
1005
- local _array_35 = pair("IconButton", "loading-disabled", {
736
+ pushPair(out, "IconButton", "loading-disabled", {
1006
737
  loading = true,
1007
738
  disabled = true,
1008
739
  })
1009
- table.move(_array_35, 1, #_array_35, _length + 1, _array)
1010
- return _array
740
+ return out
1011
741
  end
1012
742
  local function surfacesRows()
1013
- local _array = {}
1014
- local _length = #_array
1015
- local _array_1 = pair("IconButton", "loading-reduced", {
743
+ local out = {}
744
+ pushPair(out, "IconButton", "loading-reduced", {
1016
745
  loading = true,
1017
746
  reducedMotion = true,
1018
747
  })
1019
- local _Length = #_array_1
1020
- table.move(_array_1, 1, _Length, _length + 1, _array)
1021
- _length += _Length
1022
- local _array_2 = pair("Skeleton", "text", {
748
+ pushPair(out, "Skeleton", "text", {
1023
749
  variant = "text",
1024
750
  animation = "pulse",
1025
751
  })
1026
- local _Length_1 = #_array_2
1027
- table.move(_array_2, 1, _Length_1, _length + 1, _array)
1028
- _length += _Length_1
1029
- local _array_3 = pair("Skeleton", "text-static", {
752
+ pushPair(out, "Skeleton", "text-static", {
1030
753
  variant = "text",
1031
754
  animation = false,
1032
755
  })
1033
- local _Length_2 = #_array_3
1034
- table.move(_array_3, 1, _Length_2, _length + 1, _array)
1035
- _length += _Length_2
1036
- local _array_4 = pair("Skeleton", "text-reduced", {
756
+ pushPair(out, "Skeleton", "text-reduced", {
1037
757
  variant = "text",
1038
758
  animation = "shimmer",
1039
759
  reducedMotion = true,
1040
760
  })
1041
- local _Length_3 = #_array_4
1042
- table.move(_array_4, 1, _Length_3, _length + 1, _array)
1043
- _length += _Length_3
1044
- local _array_5 = pair("Skeleton", "rectangular", {
761
+ pushPair(out, "Skeleton", "rectangular", {
1045
762
  variant = "rectangular",
1046
763
  animation = false,
1047
764
  })
1048
- local _Length_4 = #_array_5
1049
- table.move(_array_5, 1, _Length_4, _length + 1, _array)
1050
- _length += _Length_4
1051
- local _array_6 = pair("Skeleton", "rounded", {
765
+ pushPair(out, "Skeleton", "rounded", {
1052
766
  variant = "rounded",
1053
767
  animation = "pulse",
1054
768
  })
1055
- local _Length_5 = #_array_6
1056
- table.move(_array_6, 1, _Length_5, _length + 1, _array)
1057
- _length += _Length_5
1058
- local _array_7 = pair("Skeleton", "circular", {
769
+ pushPair(out, "Skeleton", "circular", {
1059
770
  variant = "circular",
1060
771
  animation = false,
1061
772
  })
1062
- local _Length_6 = #_array_7
1063
- table.move(_array_7, 1, _Length_6, _length + 1, _array)
1064
- _length += _Length_6
1065
- local _array_8 = pair("Skeleton", "shimmer", {
773
+ pushPair(out, "Skeleton", "shimmer", {
1066
774
  variant = "rounded",
1067
775
  animation = "shimmer",
1068
776
  })
1069
- local _Length_7 = #_array_8
1070
- table.move(_array_8, 1, _Length_7, _length + 1, _array)
1071
- _length += _Length_7
1072
- local _array_9 = pair("CircularProgress", "empty", {
777
+ pushPair(out, "Skeleton", "sx", {
778
+ variant = "text",
779
+ animation = false,
780
+ })
781
+ pushPair(out, "CircularProgress", "empty", {
1073
782
  value = 0,
1074
783
  })
1075
- local _Length_8 = #_array_9
1076
- table.move(_array_9, 1, _Length_8, _length + 1, _array)
1077
- _length += _Length_8
1078
- local _array_10 = pair("CircularProgress", "half", {
784
+ pushPair(out, "CircularProgress", "half", {
1079
785
  value = 0.5,
1080
786
  })
1081
- local _Length_9 = #_array_10
1082
- table.move(_array_10, 1, _Length_9, _length + 1, _array)
1083
- _length += _Length_9
1084
- local _array_11 = pair("CircularProgress", "full", {
787
+ pushPair(out, "CircularProgress", "full", {
1085
788
  value = 1,
1086
789
  })
1087
- local _Length_10 = #_array_11
1088
- table.move(_array_11, 1, _Length_10, _length + 1, _array)
1089
- _length += _Length_10
1090
- local _array_12 = pair("CircularProgress", "indeterminate", {
790
+ pushPair(out, "CircularProgress", "indeterminate", {
1091
791
  indeterminate = true,
1092
792
  })
1093
- local _Length_11 = #_array_12
1094
- table.move(_array_12, 1, _Length_11, _length + 1, _array)
1095
- _length += _Length_11
1096
- local _array_13 = pair("CircularProgress", "reduced", {
793
+ pushPair(out, "CircularProgress", "reduced", {
1097
794
  indeterminate = true,
1098
795
  reducedMotion = true,
1099
796
  })
1100
- local _Length_12 = #_array_13
1101
- table.move(_array_13, 1, _Length_12, _length + 1, _array)
1102
- _length += _Length_12
1103
- local _array_14 = pair("CircularProgress", "disabled", {
797
+ pushPair(out, "CircularProgress", "disabled", {
1104
798
  value = 0.4,
1105
799
  disabled = true,
1106
800
  })
1107
- local _Length_13 = #_array_14
1108
- table.move(_array_14, 1, _Length_13, _length + 1, _array)
1109
- _length += _Length_13
1110
- local _array_15 = pair("LinearProgress", "empty", {
801
+ pushPair(out, "CircularProgress", "sx", {
802
+ value = 0.4,
803
+ })
804
+ pushPair(out, "LinearProgress", "empty", {
1111
805
  value = 0,
1112
806
  })
1113
- local _Length_14 = #_array_15
1114
- table.move(_array_15, 1, _Length_14, _length + 1, _array)
1115
- _length += _Length_14
1116
- local _array_16 = pair("LinearProgress", "half", {
807
+ pushPair(out, "LinearProgress", "half", {
1117
808
  value = 0.5,
1118
809
  })
1119
- local _Length_15 = #_array_16
1120
- table.move(_array_16, 1, _Length_15, _length + 1, _array)
1121
- _length += _Length_15
1122
- local _array_17 = pair("LinearProgress", "full", {
810
+ pushPair(out, "LinearProgress", "full", {
1123
811
  value = 1,
1124
812
  })
1125
- local _Length_16 = #_array_17
1126
- table.move(_array_17, 1, _Length_16, _length + 1, _array)
1127
- _length += _Length_16
1128
- local _array_18 = pair("LinearProgress", "indeterminate", {
813
+ pushPair(out, "LinearProgress", "indeterminate", {
1129
814
  indeterminate = true,
1130
815
  })
1131
- local _Length_17 = #_array_18
1132
- table.move(_array_18, 1, _Length_17, _length + 1, _array)
1133
- _length += _Length_17
1134
- local _array_19 = pair("LinearProgress", "reduced", {
816
+ pushPair(out, "LinearProgress", "reduced", {
1135
817
  indeterminate = true,
1136
818
  reducedMotion = true,
1137
819
  })
1138
- local _Length_18 = #_array_19
1139
- table.move(_array_19, 1, _Length_18, _length + 1, _array)
1140
- _length += _Length_18
1141
- local _array_20 = pair("LinearProgress", "disabled", {
820
+ pushPair(out, "LinearProgress", "disabled", {
1142
821
  value = 0.6,
1143
822
  disabled = true,
1144
823
  })
1145
- local _Length_19 = #_array_20
1146
- table.move(_array_20, 1, _Length_19, _length + 1, _array)
1147
- _length += _Length_19
1148
- local _array_21 = pair("Dialog", "closed", {
824
+ pushPair(out, "LinearProgress", "sx", {
825
+ value = 0.5,
826
+ variant = "sx",
827
+ })
828
+ pushPair(out, "Dialog", "closed", {
1149
829
  open = false,
1150
830
  })
1151
- local _Length_20 = #_array_21
1152
- table.move(_array_21, 1, _Length_20, _length + 1, _array)
1153
- _length += _Length_20
1154
- local _array_22 = pair("Dialog", "open", {
831
+ pushPair(out, "Dialog", "open", {
832
+ open = true,
833
+ })
834
+ pushPair(out, "Dialog", "sx", {
835
+ open = true,
836
+ })
837
+ pushPair(out, "Popup", "sx")
838
+ pushPair(out, "Modal", "sx", {
1155
839
  open = true,
1156
840
  })
1157
- local _Length_21 = #_array_22
1158
- table.move(_array_22, 1, _Length_21, _length + 1, _array)
1159
- _length += _Length_21
1160
- local _array_23 = pair("Paper", "flat", {
841
+ pushPair(out, "Paper", "flat", {
1161
842
  variant = "flat",
1162
843
  })
1163
- local _Length_22 = #_array_23
1164
- table.move(_array_23, 1, _Length_22, _length + 1, _array)
1165
- _length += _Length_22
1166
- local _array_24 = pair("Paper", "raised", {
844
+ pushPair(out, "Paper", "raised", {
1167
845
  variant = "raised",
1168
846
  })
1169
- local _Length_23 = #_array_24
1170
- table.move(_array_24, 1, _Length_23, _length + 1, _array)
1171
- _length += _Length_23
1172
- local _array_25 = pair("ListItem", "default")
1173
- local _Length_24 = #_array_25
1174
- table.move(_array_25, 1, _Length_24, _length + 1, _array)
1175
- _length += _Length_24
1176
- local _array_26 = pair("ListItem", "selected", {
847
+ pushPair(out, "Paper", "square", {
848
+ variant = "square",
849
+ })
850
+ pushPair(out, "Paper", "outlined", {
851
+ variant = "outlined",
852
+ })
853
+ pushPair(out, "ListItem", "default")
854
+ pushPair(out, "ListItem", "selected", {
1177
855
  value = true,
1178
856
  })
1179
- local _Length_25 = #_array_26
1180
- table.move(_array_26, 1, _Length_25, _length + 1, _array)
1181
- _length += _Length_25
1182
- local _array_27 = pair("ListItem", "disabled", {
857
+ pushPair(out, "ListItem", "disabled", {
1183
858
  disabled = true,
1184
859
  })
1185
- local _Length_26 = #_array_27
1186
- table.move(_array_27, 1, _Length_26, _length + 1, _array)
1187
- _length += _Length_26
1188
- local _array_28 = pair("ListItem", "secondary", {
860
+ pushPair(out, "ListItem", "secondary", {
1189
861
  variant = "secondary",
1190
862
  })
1191
- local _Length_27 = #_array_28
1192
- table.move(_array_28, 1, _Length_27, _length + 1, _array)
1193
- _length += _Length_27
1194
- local _array_29 = pair("Card", "flat", {
863
+ pushPair(out, "ListItem", "dense", {
864
+ variant = "dense",
865
+ })
866
+ pushPair(out, "ListItem", "divider", {
867
+ variant = "divider",
868
+ })
869
+ pushPair(out, "ListItem", "sx")
870
+ pushPair(out, "Card", "flat", {
1195
871
  variant = "flat",
1196
872
  })
1197
- local _Length_28 = #_array_29
1198
- table.move(_array_29, 1, _Length_28, _length + 1, _array)
1199
- _length += _Length_28
1200
- local _array_30 = pair("Card", "raised", {
873
+ pushPair(out, "Card", "raised", {
1201
874
  variant = "raised",
1202
875
  })
1203
- local _Length_29 = #_array_30
1204
- table.move(_array_30, 1, _Length_29, _length + 1, _array)
1205
- _length += _Length_29
1206
- local _array_31 = pair("Chip", "default")
1207
- local _Length_30 = #_array_31
1208
- table.move(_array_31, 1, _Length_30, _length + 1, _array)
1209
- _length += _Length_30
1210
- local _array_32 = pair("Chip", "selected", {
876
+ pushPair(out, "Card", "square", {
877
+ variant = "square",
878
+ })
879
+ pushPair(out, "Card", "sx", {
880
+ variant = "flat",
881
+ })
882
+ pushPair(out, "Chip", "default")
883
+ pushPair(out, "Chip", "size-small", {
884
+ size = "small",
885
+ })
886
+ pushPair(out, "Chip", "size-large", {
887
+ size = "large",
888
+ })
889
+ pushPair(out, "Chip", "selected", {
1211
890
  value = true,
1212
891
  })
1213
- local _Length_31 = #_array_32
1214
- table.move(_array_32, 1, _Length_31, _length + 1, _array)
1215
- _length += _Length_31
1216
- local _array_33 = pair("Chip", "disabled", {
892
+ pushPair(out, "Chip", "disabled", {
1217
893
  disabled = true,
1218
894
  })
1219
- local _Length_32 = #_array_33
1220
- table.move(_array_33, 1, _Length_32, _length + 1, _array)
1221
- _length += _Length_32
1222
- local _array_34 = pair("Badge", "count", {
895
+ pushPair(out, "Chip", "deletable", {
896
+ text = "Tag",
897
+ })
898
+ pushPair(out, "Chip", "outlined", {
899
+ variant = "outlined",
900
+ })
901
+ pushPair(out, "Chip", "primary", {
902
+ variant = "primary",
903
+ })
904
+ pushPair(out, "Chip", "sx", {
905
+ variant = "sx",
906
+ })
907
+ pushPair(out, "Badge", "count", {
1223
908
  value = 3,
1224
909
  })
1225
- local _Length_33 = #_array_34
1226
- table.move(_array_34, 1, _Length_33, _length + 1, _array)
1227
- _length += _Length_33
1228
- local _array_35 = pair("Badge", "max", {
910
+ pushPair(out, "Badge", "max", {
1229
911
  value = 100,
1230
912
  })
1231
- table.move(_array_35, 1, #_array_35, _length + 1, _array)
1232
- return _array
913
+ return out
1233
914
  end
1234
915
  local function chromeRows()
1235
- local _array = {}
1236
- local _length = #_array
1237
- local _array_1 = pair("Badge", "invisible", {
916
+ local out = {}
917
+ pushPair(out, "Badge", "invisible", {
1238
918
  value = 0,
1239
919
  })
1240
- local _Length = #_array_1
1241
- table.move(_array_1, 1, _Length, _length + 1, _array)
1242
- _length += _Length
1243
- local _array_2 = pair("Avatar", "initials", {
920
+ pushPair(out, "Badge", "dot", {
921
+ variant = "dot",
922
+ })
923
+ pushPair(out, "Badge", "primary", {
924
+ variant = "primary",
925
+ })
926
+ pushPair(out, "Badge", "sx", {
927
+ value = 3,
928
+ variant = "sx",
929
+ })
930
+ pushPair(out, "Avatar", "initials", {
1244
931
  text = "BL",
1245
932
  })
1246
- local _Length_1 = #_array_2
1247
- table.move(_array_2, 1, _Length_1, _length + 1, _array)
1248
- _length += _Length_1
1249
- local _array_3 = pair("Avatar", "image", {
933
+ pushPair(out, "Avatar", "image", {
1250
934
  variant = "image",
1251
935
  })
1252
- local _Length_2 = #_array_3
1253
- table.move(_array_3, 1, _Length_2, _length + 1, _array)
1254
- _length += _Length_2
1255
- local _array_4 = pair("Avatar", "small", {
936
+ pushPair(out, "Avatar", "small", {
1256
937
  size = "small",
1257
938
  })
1258
- local _Length_3 = #_array_4
1259
- table.move(_array_4, 1, _Length_3, _length + 1, _array)
1260
- _length += _Length_3
1261
- local _array_5 = pair("Drawer", "closed", {
939
+ pushPair(out, "Avatar", "rounded", {
940
+ variant = "rounded",
941
+ })
942
+ pushPair(out, "Avatar", "sx", {
943
+ text = "BL",
944
+ variant = "sx",
945
+ })
946
+ pushPair(out, "Drawer", "closed", {
1262
947
  open = false,
1263
948
  })
1264
- local _Length_4 = #_array_5
1265
- table.move(_array_5, 1, _Length_4, _length + 1, _array)
1266
- _length += _Length_4
1267
- local _array_6 = pair("Drawer", "left", {
949
+ pushPair(out, "Drawer", "left", {
1268
950
  open = true,
1269
951
  variant = "left",
1270
952
  })
1271
- local _Length_5 = #_array_6
1272
- table.move(_array_6, 1, _Length_5, _length + 1, _array)
1273
- _length += _Length_5
1274
- local _array_7 = pair("Drawer", "right", {
953
+ pushPair(out, "Drawer", "right", {
1275
954
  open = true,
1276
955
  variant = "right",
1277
956
  })
1278
- local _Length_6 = #_array_7
1279
- table.move(_array_7, 1, _Length_6, _length + 1, _array)
1280
- _length += _Length_6
1281
- local _array_8 = pair("Breadcrumbs", "single", {
957
+ pushPair(out, "Drawer", "wide", {
958
+ open = true,
959
+ variant = "wide",
960
+ })
961
+ pushPair(out, "Drawer", "sx", {
962
+ open = true,
963
+ variant = "left",
964
+ })
965
+ pushPair(out, "Shadow", "sx")
966
+ pushPair(out, "EmptyListHint", "sx", {
967
+ text = "None",
968
+ })
969
+ pushPair(out, "Breadcrumbs", "single", {
1282
970
  text = "Home",
1283
971
  })
1284
- local _Length_7 = #_array_8
1285
- table.move(_array_8, 1, _Length_7, _length + 1, _array)
1286
- _length += _Length_7
1287
- local _array_9 = pair("Breadcrumbs", "trail", {
972
+ pushPair(out, "Breadcrumbs", "trail", {
1288
973
  text = "Home / Library / Item",
1289
974
  })
1290
- local _Length_8 = #_array_9
1291
- table.move(_array_9, 1, _Length_8, _length + 1, _array)
1292
- _length += _Length_8
1293
- local _array_10 = pair("Breadcrumbs", "custom-separator", {
975
+ pushPair(out, "Breadcrumbs", "collapsed", {
976
+ text = "Home / … / Item",
977
+ size = "small",
978
+ })
979
+ pushPair(out, "Breadcrumbs", "custom-separator", {
1294
980
  text = "Home > Item",
1295
981
  })
1296
- local _Length_9 = #_array_10
1297
- table.move(_array_10, 1, _Length_9, _length + 1, _array)
1298
- _length += _Length_9
1299
- local _array_11 = pair("Pagination", "first", {
982
+ pushPair(out, "Breadcrumbs", "sx", {
983
+ text = "Home / Item",
984
+ variant = "sx",
985
+ })
986
+ pushPair(out, "Pagination", "first", {
1300
987
  value = 1,
1301
988
  })
1302
- local _Length_10 = #_array_11
1303
- table.move(_array_11, 1, _Length_10, _length + 1, _array)
1304
- _length += _Length_10
1305
- local _array_12 = pair("Pagination", "middle", {
989
+ pushPair(out, "Pagination", "middle", {
1306
990
  value = 3,
1307
991
  })
1308
- local _Length_11 = #_array_12
1309
- table.move(_array_12, 1, _Length_11, _length + 1, _array)
1310
- _length += _Length_11
1311
- local _array_13 = pair("Pagination", "disabled", {
992
+ pushPair(out, "Pagination", "collapsed", {
993
+ value = 10,
994
+ size = "large",
995
+ })
996
+ pushPair(out, "Pagination", "disabled", {
1312
997
  value = 2,
1313
998
  disabled = true,
1314
999
  })
1315
- local _Length_12 = #_array_13
1316
- table.move(_array_13, 1, _Length_12, _length + 1, _array)
1317
- _length += _Length_12
1318
- local _array_14 = pair("Stepper", "first", {
1000
+ pushPair(out, "Pagination", "size-small", {
1001
+ value = 2,
1002
+ size = "small",
1003
+ })
1004
+ pushPair(out, "Pagination", "outlined", {
1005
+ value = 2,
1006
+ variant = "outlined",
1007
+ })
1008
+ pushPair(out, "Pagination", "sx", {
1009
+ value = 2,
1010
+ variant = "sx",
1011
+ })
1012
+ pushPair(out, "Stepper", "first", {
1319
1013
  value = 0,
1320
1014
  })
1321
- local _Length_13 = #_array_14
1322
- table.move(_array_14, 1, _Length_13, _length + 1, _array)
1323
- _length += _Length_13
1324
- local _array_15 = pair("Stepper", "middle", {
1015
+ pushPair(out, "Stepper", "middle", {
1325
1016
  value = 1,
1326
1017
  })
1327
- local _Length_14 = #_array_15
1328
- table.move(_array_15, 1, _Length_14, _length + 1, _array)
1329
- _length += _Length_14
1330
- local _array_16 = pair("Stepper", "last", {
1018
+ pushPair(out, "Stepper", "last", {
1331
1019
  value = 2,
1332
1020
  })
1333
- local _Length_15 = #_array_16
1334
- table.move(_array_16, 1, _Length_15, _length + 1, _array)
1335
- _length += _Length_15
1336
- local _array_17 = pair("Accordion", "closed", {
1021
+ pushPair(out, "Stepper", "vertical", {
1022
+ value = 1,
1023
+ variant = "vertical",
1024
+ })
1025
+ pushPair(out, "Stepper", "sx", {
1026
+ value = 1,
1027
+ variant = "sx",
1028
+ })
1029
+ pushPair(out, "Accordion", "closed", {
1337
1030
  open = false,
1338
1031
  })
1339
- local _Length_16 = #_array_17
1340
- table.move(_array_17, 1, _Length_16, _length + 1, _array)
1341
- _length += _Length_16
1342
- local _array_18 = pair("Accordion", "open", {
1032
+ pushPair(out, "Accordion", "open", {
1343
1033
  open = true,
1344
1034
  })
1345
- local _Length_17 = #_array_18
1346
- table.move(_array_18, 1, _Length_17, _length + 1, _array)
1347
- _length += _Length_17
1348
- local _array_19 = pair("Snackbar", "open", {
1035
+ pushPair(out, "Accordion", "disabled", {
1036
+ open = false,
1037
+ disabled = true,
1038
+ })
1039
+ pushPair(out, "Accordion", "indicator", {
1040
+ open = true,
1041
+ })
1042
+ pushPair(out, "Accordion", "square", {
1043
+ variant = "square",
1044
+ })
1045
+ pushPair(out, "Accordion", "sx", {
1046
+ open = true,
1047
+ variant = "sx",
1048
+ })
1049
+ pushPair(out, "Snackbar", "open", {
1349
1050
  open = true,
1350
1051
  text = "Saved",
1351
1052
  })
1352
- local _Length_18 = #_array_19
1353
- table.move(_array_19, 1, _Length_18, _length + 1, _array)
1354
- _length += _Length_18
1355
- local _array_20 = pair("Snackbar", "closed", {
1053
+ pushPair(out, "Snackbar", "closed", {
1356
1054
  open = false,
1357
1055
  text = "Saved",
1358
1056
  })
1359
- local _Length_19 = #_array_20
1360
- table.move(_array_20, 1, _Length_19, _length + 1, _array)
1361
- _length += _Length_19
1362
- local _array_21 = pair("Table", "empty", {
1057
+ pushPair(out, "Snackbar", "action", {
1058
+ open = true,
1059
+ text = "Undo",
1060
+ })
1061
+ pushPair(out, "Toast", "sx", {
1062
+ text = "Saved",
1063
+ })
1064
+ pushPair(out, "Table", "empty", {
1363
1065
  text = "",
1364
1066
  })
1365
- local _Length_20 = #_array_21
1366
- table.move(_array_21, 1, _Length_20, _length + 1, _array)
1367
- _length += _Length_20
1368
- local _array_22 = pair("Table", "default", {
1067
+ pushPair(out, "Table", "default", {
1369
1068
  text = "Name / Role",
1370
1069
  })
1371
- local _Length_21 = #_array_22
1372
- table.move(_array_22, 1, _Length_21, _length + 1, _array)
1373
- _length += _Length_21
1374
- local _array_23 = pair("Table", "selected", {
1070
+ pushPair(out, "Table", "selected", {
1375
1071
  text = "Name / Role",
1376
1072
  value = 0,
1377
1073
  })
1378
- local _Length_22 = #_array_23
1379
- table.move(_array_23, 1, _Length_22, _length + 1, _array)
1380
- _length += _Length_22
1381
- local _array_24 = pair("Autocomplete", "default", {
1074
+ pushPair(out, "Table", "dense", {
1075
+ text = "Name / Role",
1076
+ variant = "dense",
1077
+ })
1078
+ pushPair(out, "Table", "sx", {
1079
+ text = "Name / Role",
1080
+ variant = "sx",
1081
+ })
1082
+ pushPair(out, "Autocomplete", "default", {
1382
1083
  value = "Continue",
1383
1084
  options = { "Continue", "Other" },
1384
1085
  })
1385
- local _Length_23 = #_array_24
1386
- table.move(_array_24, 1, _Length_23, _length + 1, _array)
1387
- _length += _Length_23
1388
- local _array_25 = pair("Autocomplete", "open", {
1086
+ pushPair(out, "Autocomplete", "open", {
1389
1087
  value = "Continue",
1390
1088
  options = { "Continue", "Other" },
1391
1089
  open = true,
1392
1090
  })
1393
- local _Length_24 = #_array_25
1394
- table.move(_array_25, 1, _Length_24, _length + 1, _array)
1395
- _length += _Length_24
1396
- local _array_26 = pair("Autocomplete", "disabled", {
1091
+ pushPair(out, "Autocomplete", "disabled", {
1397
1092
  value = "Continue",
1398
1093
  options = { "Continue", "Other" },
1399
1094
  disabled = true,
1400
1095
  })
1401
- local _Length_25 = #_array_26
1402
- table.move(_array_26, 1, _Length_25, _length + 1, _array)
1403
- _length += _Length_25
1404
- local _array_27 = pair("Fab", "default")
1405
- local _Length_26 = #_array_27
1406
- table.move(_array_27, 1, _Length_26, _length + 1, _array)
1407
- _length += _Length_26
1408
- local _array_28 = pair("Fab", "small", {
1096
+ pushPair(out, "Autocomplete", "empty", {
1097
+ value = "",
1098
+ options = {},
1099
+ open = true,
1100
+ })
1101
+ pushPair(out, "Autocomplete", "no-results", {
1102
+ value = "Continue",
1103
+ options = { "Continue", "Other" },
1104
+ open = true,
1105
+ filter = "zzz",
1106
+ })
1107
+ pushPair(out, "Fab", "default")
1108
+ pushPair(out, "Fab", "extended", {
1109
+ text = "Compose",
1110
+ })
1111
+ pushPair(out, "Fab", "extended-narrow", {
1112
+ text = "Compose",
1113
+ width = 128,
1114
+ })
1115
+ pushPair(out, "Fab", "small", {
1409
1116
  size = "small",
1410
1117
  })
1411
- local _Length_27 = #_array_28
1412
- table.move(_array_28, 1, _Length_27, _length + 1, _array)
1413
- _length += _Length_27
1414
- local _array_29 = pair("Fab", "large", {
1118
+ pushPair(out, "Fab", "medium", {
1119
+ size = "medium",
1120
+ })
1121
+ pushPair(out, "Fab", "large", {
1415
1122
  size = "large",
1416
1123
  })
1417
- local _Length_28 = #_array_29
1418
- table.move(_array_29, 1, _Length_28, _length + 1, _array)
1419
- _length += _Length_28
1420
- local _array_30 = pair("Fab", "disabled", {
1124
+ pushPair(out, "Fab", "disabled", {
1421
1125
  disabled = true,
1422
1126
  })
1423
- local _Length_29 = #_array_30
1424
- table.move(_array_30, 1, _Length_29, _length + 1, _array)
1425
- _length += _Length_29
1426
- local _array_31 = pair("Fab", "loading", {
1127
+ pushPair(out, "Fab", "loading", {
1427
1128
  loading = true,
1428
1129
  })
1429
- local _Length_30 = #_array_31
1430
- table.move(_array_31, 1, _Length_30, _length + 1, _array)
1431
- _length += _Length_30
1432
- local _array_32 = pair("AppBar", "default", {
1130
+ pushPair(out, "Fab", "accent", {
1131
+ variant = "accent",
1132
+ })
1133
+ pushPair(out, "Fab", "sx", {
1134
+ variant = "sx",
1135
+ })
1136
+ pushPair(out, "AppBar", "default", {
1433
1137
  text = "Storyblox",
1434
1138
  })
1435
- local _Length_31 = #_array_32
1436
- table.move(_array_32, 1, _Length_31, _length + 1, _array)
1437
- _length += _Length_31
1438
- local _array_33 = pair("AppBar", "flat", {
1139
+ pushPair(out, "AppBar", "flat", {
1439
1140
  text = "Storyblox",
1440
1141
  variant = "flat",
1441
1142
  })
1442
- local _Length_32 = #_array_33
1443
- table.move(_array_33, 1, _Length_32, _length + 1, _array)
1444
- _length += _Length_32
1445
- local _array_34 = pair("AppBar", "raised", {
1143
+ pushPair(out, "AppBar", "raised", {
1446
1144
  text = "Storyblox",
1447
1145
  variant = "raised",
1448
1146
  })
1449
- local _Length_33 = #_array_34
1450
- table.move(_array_34, 1, _Length_33, _length + 1, _array)
1451
- _length += _Length_33
1452
- local _array_35 = pair("BottomNavigation", "default", {
1147
+ pushPair(out, "AppBar", "primary", {
1148
+ text = "Storyblox",
1149
+ variant = "primary",
1150
+ })
1151
+ pushPair(out, "AppBar", "sx", {
1152
+ text = "Storyblox",
1153
+ variant = "sx",
1154
+ })
1155
+ pushPair(out, "BottomNavigation", "default", {
1453
1156
  value = "Home",
1454
1157
  options = { "Home", "Search", "Profile" },
1455
1158
  })
1456
- table.move(_array_35, 1, #_array_35, _length + 1, _array)
1457
- return _array
1159
+ return out
1458
1160
  end
1459
- local function miscRows()
1460
- local _array = {}
1461
- local _length = #_array
1462
- local _array_1 = pair("BottomNavigation", "selected", {
1161
+ local function miscRowsA()
1162
+ local out = {}
1163
+ pushPair(out, "BottomNavigation", "selected", {
1463
1164
  value = "Search",
1464
1165
  options = { "Home", "Search", "Profile" },
1465
1166
  })
1466
- local _Length = #_array_1
1467
- table.move(_array_1, 1, _Length, _length + 1, _array)
1468
- _length += _Length
1469
- local _array_2 = pair("BottomNavigation", "disabled", {
1167
+ pushPair(out, "BottomNavigation", "disabled", {
1470
1168
  value = "Home",
1471
1169
  options = { "Home", "Search", "Profile" },
1472
1170
  disabled = true,
1473
1171
  })
1474
- local _Length_1 = #_array_2
1475
- table.move(_array_2, 1, _Length_1, _length + 1, _array)
1476
- _length += _Length_1
1477
- local _array_3 = pair("Alert", "info", {
1172
+ pushPair(out, "BottomNavigation", "icons", {
1173
+ value = "Home",
1174
+ options = { "Home", "Search", "Profile" },
1175
+ variant = "icons",
1176
+ })
1177
+ pushPair(out, "BottomNavigation", "sx", {
1178
+ value = "Home",
1179
+ options = { "Home", "Search", "Profile" },
1180
+ variant = "sx",
1181
+ })
1182
+ pushPair(out, "Alert", "info", {
1478
1183
  text = "Heads up",
1479
1184
  variant = "info",
1480
1185
  })
1481
- local _Length_2 = #_array_3
1482
- table.move(_array_3, 1, _Length_2, _length + 1, _array)
1483
- _length += _Length_2
1484
- local _array_4 = pair("Alert", "success", {
1186
+ pushPair(out, "Alert", "success", {
1485
1187
  text = "Saved",
1486
1188
  variant = "success",
1487
1189
  })
1488
- local _Length_3 = #_array_4
1489
- table.move(_array_4, 1, _Length_3, _length + 1, _array)
1490
- _length += _Length_3
1491
- local _array_5 = pair("Alert", "warning", {
1190
+ pushPair(out, "Alert", "warning", {
1492
1191
  text = "Check this",
1493
1192
  variant = "warning",
1494
1193
  })
1495
- local _Length_4 = #_array_5
1496
- table.move(_array_5, 1, _Length_4, _length + 1, _array)
1497
- _length += _Length_4
1498
- local _array_6 = pair("Alert", "error", {
1194
+ pushPair(out, "Alert", "error", {
1499
1195
  text = "Failed",
1500
1196
  variant = "error",
1501
1197
  })
1502
- local _Length_5 = #_array_6
1503
- table.move(_array_6, 1, _Length_5, _length + 1, _array)
1504
- _length += _Length_5
1505
- local _array_7 = pair("Menu", "closed", {
1198
+ pushPair(out, "Alert", "filled", {
1199
+ text = "Heads up",
1200
+ variant = "filled",
1201
+ })
1202
+ pushPair(out, "Alert", "square", {
1203
+ text = "Heads up",
1204
+ variant = "square",
1205
+ })
1206
+ pushPair(out, "Alert", "sx", {
1207
+ text = "Heads up",
1208
+ variant = "sx",
1209
+ })
1210
+ pushPair(out, "ToggleButton", "default")
1211
+ pushPair(out, "ToggleButton", "selected", {
1212
+ value = true,
1213
+ })
1214
+ pushPair(out, "ToggleButton", "disabled", {
1215
+ disabled = true,
1216
+ })
1217
+ pushPair(out, "ToggleButton", "size-small", {
1218
+ size = "small",
1219
+ })
1220
+ pushPair(out, "ToggleButton", "sx", {
1221
+ variant = "sx",
1222
+ })
1223
+ pushPair(out, "ToggleButtonGroup", "default", {
1224
+ value = "Left",
1225
+ options = { "Left", "Center", "Right" },
1226
+ })
1227
+ pushPair(out, "ToggleButtonGroup", "selected", {
1228
+ value = "Center",
1229
+ options = { "Left", "Center", "Right" },
1230
+ })
1231
+ pushPair(out, "ToggleButtonGroup", "vertical", {
1232
+ value = "Center",
1233
+ options = { "Left", "Center", "Right" },
1234
+ variant = "vertical",
1235
+ })
1236
+ pushPair(out, "ToggleButtonGroup", "sx", {
1237
+ value = "Left",
1238
+ options = { "Left", "Center", "Right" },
1239
+ variant = "sx",
1240
+ })
1241
+ pushPair(out, "Link", "default", {
1242
+ text = "Open docs",
1243
+ })
1244
+ pushPair(out, "Link", "hover-underline", {
1245
+ text = "Open docs",
1246
+ variant = "hover",
1247
+ pointer = "hover",
1248
+ })
1249
+ pushPair(out, "Link", "disabled", {
1250
+ text = "Open docs",
1251
+ disabled = true,
1252
+ })
1253
+ pushPair(out, "Link", "error", {
1254
+ text = "Open docs",
1255
+ variant = "error",
1256
+ })
1257
+ pushPair(out, "Link", "sx", {
1258
+ text = "Open docs",
1259
+ variant = "sx",
1260
+ })
1261
+ pushPair(out, "Rating", "default", {
1262
+ value = 0,
1263
+ })
1264
+ pushPair(out, "Rating", "filled", {
1265
+ value = 3,
1266
+ })
1267
+ pushPair(out, "Rating", "disabled", {
1268
+ value = 4,
1269
+ disabled = true,
1270
+ })
1271
+ pushPair(out, "Rating", "size-small", {
1272
+ value = 3,
1273
+ size = "small",
1274
+ })
1275
+ pushPair(out, "Rating", "readonly", {
1276
+ value = 3,
1277
+ })
1278
+ pushPair(out, "Rating", "sx", {
1279
+ value = 3,
1280
+ variant = "sx",
1281
+ })
1282
+ pushPair(out, "Stack", "column", {
1283
+ variant = "column",
1284
+ })
1285
+ pushPair(out, "Stack", "row", {
1286
+ variant = "row",
1287
+ })
1288
+ pushPair(out, "Stack", "spaced", {
1289
+ variant = "column",
1290
+ size = "large",
1291
+ })
1292
+ pushPair(out, "Stack", "wrap", {
1293
+ variant = "row",
1294
+ width = WIDE,
1295
+ })
1296
+ pushPair(out, "Stack", "justify-between", {
1297
+ variant = "space-between",
1298
+ width = WIDE,
1299
+ })
1300
+ pushPair(out, "Stack", "align-stretch", {
1301
+ variant = "stretch",
1302
+ })
1303
+ pushPair(out, "FlexItem", "grow", {
1304
+ variant = "grow",
1305
+ })
1306
+ pushPair(out, "FlexItem", "shrink", {
1307
+ variant = "shrink",
1308
+ })
1309
+ pushPair(out, "FlexItem", "fill", {
1310
+ variant = "fill",
1311
+ })
1312
+ pushPair(out, "Grid", "columns-3", {
1313
+ variant = "3",
1314
+ })
1315
+ pushPair(out, "Grid", "start-bottom-right", {
1316
+ variant = "bottom-right",
1317
+ })
1318
+ pushPair(out, "Grid", "gap", {
1319
+ size = "medium",
1320
+ })
1321
+ pushPair(out, "Box", "plain")
1322
+ pushPair(out, "Box", "padded", {
1323
+ size = "medium",
1324
+ })
1325
+ pushPair(out, "Box", "paper", {
1326
+ variant = "paper",
1327
+ })
1328
+ pushPair(out, "Box", "sx", {
1329
+ variant = "sx",
1330
+ })
1331
+ pushPair(out, "Stack", "sx", {
1332
+ variant = "sx",
1333
+ })
1334
+ pushPair(out, "Paper", "sx", {
1335
+ variant = "sx",
1336
+ })
1337
+ pushPair(out, "StyleSx", "default")
1338
+ pushPair(out, "StyleSx", "hover", {
1339
+ pointer = "hover",
1340
+ })
1341
+ pushPair(out, "StyleSx", "narrow", {
1342
+ width = NARROW,
1343
+ })
1344
+ pushPair(out, "StyleSx", "disabled", {
1345
+ disabled = true,
1346
+ })
1347
+ pushPair(out, "StyleSx", "loading", {
1348
+ loading = true,
1349
+ })
1350
+ return out
1351
+ end
1352
+ local function miscRowsB()
1353
+ local out = {}
1354
+ pushPair(out, "Container", "default", {
1355
+ variant = "lg",
1356
+ })
1357
+ pushPair(out, "Container", "sm", {
1358
+ variant = "sm",
1359
+ })
1360
+ pushPair(out, "Container", "fluid", {
1361
+ variant = "false",
1362
+ })
1363
+ pushPair(out, "Backdrop", "default")
1364
+ pushPair(out, "Backdrop", "invisible", {
1365
+ variant = "invisible",
1366
+ })
1367
+ pushPair(out, "Backdrop", "closed", {
1368
+ open = false,
1369
+ })
1370
+ pushPair(out, "Backdrop", "sx", {
1371
+ variant = "sx",
1372
+ })
1373
+ pushPair(out, "Sidebar", "sx", {
1374
+ variant = "sx",
1375
+ })
1376
+ pushPair(out, "Divider", "horizontal", {
1377
+ variant = "horizontal",
1378
+ })
1379
+ pushPair(out, "Divider", "vertical", {
1380
+ variant = "vertical",
1381
+ })
1382
+ pushPair(out, "Divider", "label", {
1383
+ text = "Or",
1384
+ })
1385
+ pushPair(out, "Divider", "sx", {
1386
+ variant = "sx",
1387
+ })
1388
+ pushPair(out, "Icon", "sx", {
1389
+ variant = "sx",
1390
+ })
1391
+ pushPair(out, "ImageList", "default")
1392
+ pushPair(out, "ImageList", "dense", {
1393
+ size = "small",
1394
+ })
1395
+ pushPair(out, "ImageList", "wide", {
1396
+ size = "large",
1397
+ })
1398
+ pushPair(out, "ImageList", "titled", {
1399
+ text = "Cove",
1400
+ })
1401
+ pushPair(out, "ImageList", "untitled", {
1402
+ text = "",
1403
+ })
1404
+ pushPair(out, "ImageList", "sx")
1405
+ pushPair(out, "SpeedDial", "closed", {
1406
+ open = false,
1407
+ })
1408
+ pushPair(out, "SpeedDial", "open", {
1409
+ open = true,
1410
+ })
1411
+ pushPair(out, "SpeedDial", "disabled", {
1412
+ open = false,
1413
+ disabled = true,
1414
+ })
1415
+ pushPair(out, "SpeedDial", "down", {
1416
+ open = true,
1417
+ variant = "down",
1418
+ })
1419
+ pushPair(out, "SpeedDial", "sx", {
1420
+ open = false,
1421
+ })
1422
+ pushPair(out, "List", "sx")
1423
+ pushPair(out, "Preloader", "sx")
1424
+ pushPair(out, "VirtualList", "sx")
1425
+ pushPair(out, "FormLabel", "default", {
1426
+ text = "Email",
1427
+ })
1428
+ pushPair(out, "FormLabel", "required", {
1429
+ text = "Email",
1430
+ value = true,
1431
+ })
1432
+ pushPair(out, "FormLabel", "error", {
1433
+ text = "Email",
1434
+ hasError = true,
1435
+ })
1436
+ pushPair(out, "FormLabel", "sx", {
1437
+ text = "Email",
1438
+ variant = "sx",
1439
+ })
1440
+ pushPair(out, "FormHelperText", "default", {
1441
+ text = "We never share this",
1442
+ })
1443
+ pushPair(out, "FormHelperText", "error", {
1444
+ text = "Required",
1445
+ hasError = true,
1446
+ })
1447
+ pushPair(out, "FormHelperText", "sx", {
1448
+ text = "Hint",
1449
+ variant = "sx",
1450
+ })
1451
+ pushPair(out, "Typography", "sx", {
1452
+ text = "Title",
1453
+ variant = "sx",
1454
+ })
1455
+ pushPair(out, "Menu", "closed", {
1506
1456
  open = false,
1507
1457
  })
1508
- local _Length_6 = #_array_7
1509
- table.move(_array_7, 1, _Length_6, _length + 1, _array)
1510
- _length += _Length_6
1511
- local _array_8 = pair("Menu", "open", {
1458
+ pushPair(out, "Menu", "open", {
1459
+ open = true,
1460
+ })
1461
+ pushPair(out, "Menu", "empty", {
1462
+ open = true,
1463
+ options = {},
1464
+ })
1465
+ pushPair(out, "Menu", "dense", {
1512
1466
  open = true,
1467
+ variant = "dense",
1468
+ })
1469
+ pushPair(out, "Menu", "selected", {
1470
+ open = true,
1471
+ selected = "a",
1472
+ })
1473
+ pushPair(out, "Menu", "sx", {
1474
+ open = true,
1475
+ })
1476
+ pushPair(out, "Markdown", "default", {
1477
+ text = "# Title\n\nHello **world**",
1513
1478
  })
1514
- table.move(_array_8, 1, #_array_8, _length + 1, _array)
1515
- return _array
1479
+ pushPair(out, "Markdown", "empty", {
1480
+ text = "",
1481
+ })
1482
+ pushPair(out, "Markdown", "sx", {
1483
+ text = "# Title",
1484
+ })
1485
+ pushPair(out, "MarkdownEditor", "split", {
1486
+ text = "# Title",
1487
+ variant = "split",
1488
+ })
1489
+ pushPair(out, "MarkdownEditor", "edit", {
1490
+ text = "# Title",
1491
+ variant = "edit",
1492
+ })
1493
+ pushPair(out, "MarkdownEditor", "preview", {
1494
+ text = "# Title",
1495
+ variant = "preview",
1496
+ })
1497
+ pushPair(out, "MarkdownEditor", "density-compact", {
1498
+ text = "# Title",
1499
+ density = "compact",
1500
+ variant = "split",
1501
+ })
1502
+ pushPair(out, "MarkdownEditor", "sx", {
1503
+ text = "# Title",
1504
+ variant = "split",
1505
+ })
1506
+ return out
1516
1507
  end
1517
1508
  local function concatRows(...)
1518
1509
  local chunks = { ... }
@@ -1524,7 +1515,7 @@ local function concatRows(...)
1524
1515
  end
1525
1516
  return out
1526
1517
  end
1527
- local stateMatrix = concatRows(controlsRows(), editorsRows(), togglesRows(), compositeRows(), surfacesRows(), chromeRows(), miscRows())
1518
+ local stateMatrix = concatRows(controlsRows(), editorsRows(), togglesRows(), compositeRows(), surfacesRows(), chromeRows(), miscRowsA(), miscRowsB())
1528
1519
  return {
1529
1520
  stateMatrix = stateMatrix,
1530
1521
  }