@rbxts/uiblox 0.1.7 → 0.1.9

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 (227) hide show
  1. package/out/index.d.ts +2 -2
  2. package/out/{init.lua → init.luau} +1 -1
  3. package/out/theme/components/ThemeProvider.d.ts +3 -3
  4. package/out/theme/components/{ThemeProvider.lua → ThemeProvider.luau} +6 -22
  5. package/out/theme/components/ThemeStore.d.ts +1 -2
  6. package/out/theme/components/{ThemeStore.lua → ThemeStore.luau} +1 -1
  7. package/out/theme/components/ThemeWrapper.d.ts +3 -3
  8. package/out/theme/components/{ThemeWrapper.lua → ThemeWrapper.luau} +7 -21
  9. package/out/theme/components/{init.lua → init.luau} +1 -1
  10. package/out/theme/constants/NumberConstants.d.ts +1 -1
  11. package/out/theme/constants/{NumberConstants.lua → NumberConstants.luau} +1 -1
  12. package/out/theme/constants/ThemeConstants.d.ts +2 -2
  13. package/out/theme/constants/{ThemeConstants.lua → ThemeConstants.luau} +1 -1
  14. package/out/theme/constants/{init.lua → init.luau} +1 -1
  15. package/out/theme/index.d.ts +17 -17
  16. package/out/theme/{init.lua → init.luau} +1 -1
  17. package/out/theme/interfaces/iconSizes/IconSizes.luau +2 -0
  18. package/out/theme/interfaces/iconSizes/init.luau +2 -0
  19. package/out/theme/interfaces/index.d.ts +13 -13
  20. package/out/theme/interfaces/{init.lua → init.luau} +1 -1
  21. package/out/theme/interfaces/palette/Palette.d.ts +0 -1
  22. package/out/theme/interfaces/palette/Palette.luau +2 -0
  23. package/out/theme/interfaces/palette/colorTokens/ColorTokens.d.ts +1 -2
  24. package/out/theme/interfaces/palette/colorTokens/ColorTokens.luau +2 -0
  25. package/out/theme/interfaces/palette/colorTokens/init.luau +2 -0
  26. package/out/theme/interfaces/palette/colors/{Blue.lua → Blue.luau} +1 -1
  27. package/out/theme/interfaces/palette/colors/Colors.d.ts +0 -1
  28. package/out/theme/interfaces/palette/colors/Colors.luau +2 -0
  29. package/out/theme/interfaces/palette/colors/Common.d.ts +0 -1
  30. package/out/theme/interfaces/palette/colors/{Common.lua → Common.luau} +1 -1
  31. package/out/theme/interfaces/palette/colors/{Dark.lua → Dark.luau} +1 -1
  32. package/out/theme/interfaces/palette/colors/{Gray.lua → Gray.luau} +1 -1
  33. package/out/theme/interfaces/palette/colors/{Green.lua → Green.luau} +1 -1
  34. package/out/theme/interfaces/palette/colors/{Light.lua → Light.luau} +1 -1
  35. package/out/theme/interfaces/palette/colors/{Magenta.lua → Magenta.luau} +1 -1
  36. package/out/theme/interfaces/palette/colors/{Orange.lua → Orange.luau} +1 -1
  37. package/out/theme/interfaces/palette/colors/{Purple.lua → Purple.luau} +1 -1
  38. package/out/theme/interfaces/palette/colors/{Red.lua → Red.luau} +1 -1
  39. package/out/theme/interfaces/palette/colors/{Turquoise.lua → Turquoise.luau} +1 -1
  40. package/out/theme/interfaces/palette/colors/{Yellow.lua → Yellow.luau} +1 -1
  41. package/out/theme/interfaces/palette/colors/{init.lua → init.luau} +1 -1
  42. package/out/theme/interfaces/palette/index.d.ts +2 -2
  43. package/out/theme/interfaces/palette/{init.lua → init.luau} +1 -1
  44. package/out/theme/interfaces/spacing/Borders.luau +2 -0
  45. package/out/theme/interfaces/spacing/Padding.luau +2 -0
  46. package/out/theme/interfaces/spacing/Shape.luau +2 -0
  47. package/out/theme/interfaces/spacing/Spacing.luau +2 -0
  48. package/out/theme/interfaces/spacing/init.luau +2 -0
  49. package/out/theme/interfaces/theme/Theme.d.ts +3 -3
  50. package/out/theme/interfaces/theme/Theme.luau +2 -0
  51. package/out/theme/interfaces/theme/ThemeConstants.d.ts +4 -4
  52. package/out/theme/interfaces/theme/ThemeConstants.luau +2 -0
  53. package/out/theme/interfaces/theme/ThemeOptions.luau +2 -0
  54. package/out/theme/interfaces/theme/init.luau +2 -0
  55. package/out/theme/interfaces/tokens/Tokens.luau +2 -0
  56. package/out/theme/interfaces/tokens/init.luau +2 -0
  57. package/out/theme/interfaces/typography/{FontFamilies.lua → FontFamilies.luau} +1 -1
  58. package/out/theme/interfaces/typography/FontFamilyOptions.d.ts +0 -2
  59. package/out/theme/interfaces/typography/FontFamilyOptions.luau +2 -0
  60. package/out/theme/interfaces/typography/FontSizeOptions.d.ts +0 -1
  61. package/out/theme/interfaces/typography/FontSizeOptions.luau +2 -0
  62. package/out/theme/interfaces/typography/{FontSizes.lua → FontSizes.luau} +1 -1
  63. package/out/theme/interfaces/typography/ThemeTypography.luau +2 -0
  64. package/out/theme/interfaces/typography/{Variants.lua → Variants.luau} +1 -1
  65. package/out/theme/interfaces/typography/{init.lua → init.luau} +1 -1
  66. package/out/theme/styles/index.d.ts +5 -5
  67. package/out/theme/styles/{init.lua → init.luau} +1 -1
  68. package/out/theme/styles/types/WriteableStyle.d.ts +0 -2
  69. package/out/theme/styles/types/WriteableStyle.luau +2 -0
  70. package/out/theme/styles/types/init.luau +2 -0
  71. package/out/theme/styles/types/styles.d.ts +0 -2
  72. package/out/theme/styles/types/styles.luau +2 -0
  73. package/out/theme/styles/utilities/classNames.d.ts +2 -3
  74. package/out/theme/styles/utilities/classNames.luau +33 -0
  75. package/out/theme/styles/utilities/{createStyles.lua → createStyles.luau} +1 -1
  76. package/out/theme/styles/utilities/{init.lua → init.luau} +1 -1
  77. package/out/theme/styles/utilities/makeStyles.d.ts +1 -1
  78. package/out/theme/styles/utilities/{makeStyles.lua → makeStyles.luau} +1 -1
  79. package/out/theme/themes/DarkTheme.d.ts +1 -1
  80. package/out/theme/themes/{DarkTheme.lua → DarkTheme.luau} +1 -1
  81. package/out/theme/themes/LightTheme.d.ts +1 -1
  82. package/out/theme/themes/{LightTheme.lua → LightTheme.luau} +1 -1
  83. package/out/theme/themes/{init.lua → init.luau} +1 -1
  84. package/out/theme/types/init.luau +2 -0
  85. package/out/theme/types/types.d.ts +5 -8
  86. package/out/theme/types/{types.lua → types.luau} +1 -1
  87. package/out/theme/utilites/{Color3FromHex.lua → Color3FromHex.luau} +2 -2
  88. package/out/theme/utilites/{init.lua → init.luau} +1 -1
  89. package/out/ui/constants/{ImageConstants.lua → ImageConstants.luau} +1 -1
  90. package/out/ui/constants/{LayoutConstants.lua → LayoutConstants.luau} +1 -1
  91. package/out/ui/constants/{init.lua → init.luau} +1 -1
  92. package/out/ui/enums/Directions.luau +12 -0
  93. package/out/ui/enums/Icons.luau +44 -0
  94. package/out/ui/enums/Orientations.luau +8 -0
  95. package/out/ui/enums/{init.lua → init.luau} +1 -1
  96. package/out/ui/index.d.ts +34 -34
  97. package/out/ui/{init.lua → init.luau} +1 -1
  98. package/out/ui/packages/button/components/Button.d.ts +3 -5
  99. package/out/ui/packages/button/components/{Button.lua → Button.luau} +64 -85
  100. package/out/ui/packages/button/components/Button.styles.d.ts +1 -1
  101. package/out/ui/packages/button/components/{Button.styles.lua → Button.styles.luau} +1 -1
  102. package/out/ui/packages/button/index.d.ts +3 -3
  103. package/out/ui/packages/button/{init.lua → init.luau} +1 -1
  104. package/out/ui/packages/button/types/ButtonColor.luau +2 -0
  105. package/out/ui/packages/button/types/ButtonSize.luau +2 -0
  106. package/out/ui/packages/button/types/ButtonVariant.luau +2 -0
  107. package/out/ui/packages/button/types/init.luau +2 -0
  108. package/out/ui/packages/divider/components/Divider.d.ts +2 -6
  109. package/out/ui/packages/divider/components/{Divider.lua → Divider.luau} +7 -7
  110. package/out/ui/packages/divider/components/Divider.styles.d.ts +1 -1
  111. package/out/ui/packages/divider/components/{Divider.styles.lua → Divider.styles.luau} +1 -1
  112. package/out/ui/packages/divider/{init.lua → init.luau} +1 -1
  113. package/out/ui/packages/icon/components/Icon.d.ts +2 -5
  114. package/out/ui/packages/icon/components/{Icon.lua → Icon.luau} +6 -6
  115. package/out/ui/packages/icon/components/Icon.styles.d.ts +1 -1
  116. package/out/ui/packages/icon/components/{Icon.styles.lua → Icon.styles.luau} +1 -1
  117. package/out/ui/packages/icon/{init.lua → init.luau} +1 -1
  118. package/out/ui/packages/iconButton/components/IconButton.d.ts +2 -5
  119. package/out/ui/packages/iconButton/components/{IconButton.lua → IconButton.luau} +19 -17
  120. package/out/ui/packages/iconButton/components/IconButton.styles.d.ts +1 -1
  121. package/out/ui/packages/iconButton/components/{IconButton.styles.lua → IconButton.styles.luau} +1 -1
  122. package/out/ui/packages/iconButton/{init.lua → init.luau} +1 -1
  123. package/out/ui/packages/index.d.ts +11 -11
  124. package/out/ui/packages/{init.lua → init.luau} +1 -1
  125. package/out/ui/packages/input/components/Input.d.ts +2 -6
  126. package/out/ui/packages/input/components/{Input.lua → Input.luau} +42 -57
  127. package/out/ui/packages/input/components/Input.styles.d.ts +1 -1
  128. package/out/ui/packages/input/components/{Input.styles.lua → Input.styles.luau} +1 -1
  129. package/out/ui/packages/input/index.d.ts +3 -3
  130. package/out/ui/packages/input/{init.lua → init.luau} +1 -1
  131. package/out/ui/packages/input/types/InputColor.luau +2 -0
  132. package/out/ui/packages/input/types/InputMargin.luau +2 -0
  133. package/out/ui/packages/input/types/InputVariant.luau +2 -0
  134. package/out/ui/packages/input/types/init.luau +2 -0
  135. package/out/ui/packages/progressBar/components/ProgressBar.d.ts +1 -3
  136. package/out/ui/packages/progressBar/components/ProgressBar.luau +66 -0
  137. package/out/ui/packages/progressBar/components/ProgressBar.styles.d.ts +1 -1
  138. package/out/ui/packages/progressBar/components/{ProgressBar.styles.lua → ProgressBar.styles.luau} +1 -1
  139. package/out/ui/packages/progressBar/{init.lua → init.luau} +1 -1
  140. package/out/ui/packages/shadow/components/Shadow.d.ts +0 -1
  141. package/out/ui/packages/shadow/components/{Shadow.lua → Shadow.luau} +16 -21
  142. package/out/ui/packages/shadow/components/Shadow.styles.d.ts +1 -1
  143. package/out/ui/packages/shadow/components/{Shadow.styles.lua → Shadow.styles.luau} +1 -1
  144. package/out/ui/packages/shadow/{init.lua → init.luau} +1 -1
  145. package/out/ui/packages/sidebar/components/Sidebar.d.ts +1 -3
  146. package/out/ui/packages/sidebar/components/Sidebar.luau +34 -0
  147. package/out/ui/packages/sidebar/components/Sidebar.styles.d.ts +1 -1
  148. package/out/ui/packages/sidebar/components/{Sidebar.styles.lua → Sidebar.styles.luau} +1 -1
  149. package/out/ui/packages/sidebar/index.d.ts +1 -1
  150. package/out/ui/packages/sidebar/{init.lua → init.luau} +1 -1
  151. package/out/ui/packages/sidebar/types/SidebarType.luau +2 -0
  152. package/out/ui/packages/sidebar/types/init.luau +2 -0
  153. package/out/ui/packages/toast/components/Toast.d.ts +0 -1
  154. package/out/ui/packages/toast/components/{Toast.lua → Toast.luau} +24 -22
  155. package/out/ui/packages/toast/components/Toast.styles.d.ts +1 -1
  156. package/out/ui/packages/toast/components/{Toast.styles.lua → Toast.styles.luau} +1 -1
  157. package/out/ui/packages/toast/enums/ToastVariants.luau +11 -0
  158. package/out/ui/packages/toast/{init.lua → init.luau} +1 -1
  159. package/out/ui/packages/toast/interfaces/ToastEvent.luau +2 -0
  160. package/out/ui/packages/treeView/components/TreeView.d.ts +2 -4
  161. package/out/ui/packages/treeView/components/{TreeView.lua → TreeView.luau} +120 -137
  162. package/out/ui/packages/treeView/components/TreeView.styles.d.ts +1 -1
  163. package/out/ui/packages/treeView/components/{TreeView.styles.lua → TreeView.styles.luau} +1 -1
  164. package/out/ui/packages/treeView/{init.lua → init.luau} +1 -1
  165. package/out/ui/packages/treeView/interfaces/Branch.luau +2 -0
  166. package/out/ui/packages/treeView/interfaces/Leaf.luau +2 -0
  167. package/out/ui/packages/treeView/interfaces/Tree.luau +2 -0
  168. package/out/ui/packages/typography/components/Typography.d.ts +2 -4
  169. package/out/ui/packages/typography/components/{Typography.lua → Typography.luau} +8 -19
  170. package/out/ui/packages/typography/components/Typography.styles.d.ts +1 -1
  171. package/out/ui/packages/typography/components/{Typography.styles.lua → Typography.styles.luau} +1 -1
  172. package/out/ui/packages/typography/index.d.ts +3 -3
  173. package/out/ui/packages/typography/{init.lua → init.luau} +1 -1
  174. package/out/ui/packages/typography/types/TypographyAlignment.luau +2 -0
  175. package/out/ui/packages/typography/types/TypographyColor.luau +2 -0
  176. package/out/ui/packages/typography/types/TypographyDisplay.luau +2 -0
  177. package/out/ui/packages/typography/types/init.luau +2 -0
  178. package/package.json +16 -19
  179. package/out/theme/interfaces/iconSizes/IconSizes.lua +0 -2
  180. package/out/theme/interfaces/iconSizes/init.lua +0 -2
  181. package/out/theme/interfaces/palette/Palette.lua +0 -2
  182. package/out/theme/interfaces/palette/colorTokens/ColorTokens.lua +0 -2
  183. package/out/theme/interfaces/palette/colorTokens/init.lua +0 -2
  184. package/out/theme/interfaces/palette/colors/Colors.lua +0 -2
  185. package/out/theme/interfaces/spacing/Borders.lua +0 -2
  186. package/out/theme/interfaces/spacing/Padding.lua +0 -2
  187. package/out/theme/interfaces/spacing/Shape.lua +0 -2
  188. package/out/theme/interfaces/spacing/Spacing.lua +0 -2
  189. package/out/theme/interfaces/spacing/init.lua +0 -2
  190. package/out/theme/interfaces/theme/Theme.lua +0 -2
  191. package/out/theme/interfaces/theme/ThemeConstants.lua +0 -2
  192. package/out/theme/interfaces/theme/ThemeOptions.lua +0 -2
  193. package/out/theme/interfaces/theme/init.lua +0 -2
  194. package/out/theme/interfaces/tokens/Tokens.lua +0 -2
  195. package/out/theme/interfaces/tokens/init.lua +0 -2
  196. package/out/theme/interfaces/typography/FontFamilyOptions.lua +0 -2
  197. package/out/theme/interfaces/typography/FontSizeOptions.lua +0 -2
  198. package/out/theme/interfaces/typography/ThemeTypography.lua +0 -2
  199. package/out/theme/styles/types/WriteableStyle.lua +0 -2
  200. package/out/theme/styles/types/init.lua +0 -2
  201. package/out/theme/styles/types/styles.lua +0 -2
  202. package/out/theme/styles/utilities/classNames.lua +0 -31
  203. package/out/theme/types/init.lua +0 -2
  204. package/out/ui/enums/Directions.lua +0 -23
  205. package/out/ui/enums/Icons.lua +0 -87
  206. package/out/ui/enums/Orientations.lua +0 -15
  207. package/out/ui/packages/button/types/ButtonColor.lua +0 -2
  208. package/out/ui/packages/button/types/ButtonSize.lua +0 -2
  209. package/out/ui/packages/button/types/ButtonVariant.lua +0 -2
  210. package/out/ui/packages/button/types/init.lua +0 -2
  211. package/out/ui/packages/input/types/InputColor.lua +0 -2
  212. package/out/ui/packages/input/types/InputMargin.lua +0 -2
  213. package/out/ui/packages/input/types/InputVariant.lua +0 -2
  214. package/out/ui/packages/input/types/init.lua +0 -2
  215. package/out/ui/packages/progressBar/components/ProgressBar.lua +0 -76
  216. package/out/ui/packages/sidebar/components/Sidebar.lua +0 -46
  217. package/out/ui/packages/sidebar/types/SidebarType.lua +0 -2
  218. package/out/ui/packages/sidebar/types/init.lua +0 -2
  219. package/out/ui/packages/toast/enums/ToastVariants.lua +0 -20
  220. package/out/ui/packages/toast/interfaces/ToastEvent.lua +0 -2
  221. package/out/ui/packages/treeView/interfaces/Branch.lua +0 -2
  222. package/out/ui/packages/treeView/interfaces/Leaf.lua +0 -2
  223. package/out/ui/packages/treeView/interfaces/Tree.lua +0 -2
  224. package/out/ui/packages/typography/types/TypographyAlignment.lua +0 -2
  225. package/out/ui/packages/typography/types/TypographyColor.lua +0 -2
  226. package/out/ui/packages/typography/types/TypographyDisplay.lua +0 -2
  227. package/out/ui/packages/typography/types/init.lua +0 -2
@@ -1,6 +1,6 @@
1
- -- Compiled with roblox-ts v2.2.0
1
+ -- Compiled with roblox-ts v3.0.0
2
2
  local TS = _G[script]
3
- local Roact = TS.import(script, TS.getModule(script, "@rbxts", "roact").src)
3
+ local Roact = TS.import(script, TS.getModule(script, "@rbxts", "roact").src.ts)
4
4
  local useTypographyStyles = TS.import(script, script.Parent, "Typography.styles").default
5
5
  local function Typography(props)
6
6
  local _binding = props
@@ -9,16 +9,18 @@ local function Typography(props)
9
9
  text = ""
10
10
  end
11
11
  local className = _binding.className
12
- local children = _binding[Roact.Children]
12
+ local children = _binding.children
13
13
  local _binding_1 = useTypographyStyles(props)
14
14
  local root = _binding_1.root
15
15
  local variantToken = _binding_1.variantToken
16
- local _attributes = {}
16
+ local _attributes = {
17
+ Key = "Typography",
18
+ }
17
19
  for _k, _v in root do
18
20
  _attributes[_k] = _v
19
21
  end
20
22
  _attributes.Text = text
21
- if className then
23
+ if className ~= 0 and className == className and className ~= "" and className then
22
24
  for _k, _v in className do
23
25
  _attributes[_k] = _v
24
26
  end
@@ -26,20 +28,7 @@ local function Typography(props)
26
28
  for _k, _v in variantToken do
27
29
  _attributes[_k] = _v
28
30
  end
29
- local _children = {}
30
- local _length = #_children
31
- if children then
32
- for _k, _v in children do
33
- if type(_k) == "number" then
34
- _children[_length + _k] = _v
35
- else
36
- _children[_k] = _v
37
- end
38
- end
39
- end
40
- return Roact.createFragment({
41
- Typography = Roact.createElement("TextLabel", _attributes, _children),
42
- })
31
+ return Roact.jsx("textlabel", _attributes, children)
43
32
  end
44
33
  local default = Typography
45
34
  return {
@@ -1,3 +1,3 @@
1
1
  import { TypographyProps } from "./Typography";
2
- declare const useTypographyStyles: (props: TypographyProps) => import("../../../../theme").ClassNameMap<string>;
2
+ declare const useTypographyStyles: (props: TypographyProps) => import("../../../../theme/index").ClassNameMap<string>;
3
3
  export default useTypographyStyles;
@@ -1,4 +1,4 @@
1
- -- Compiled with roblox-ts v2.2.0
1
+ -- Compiled with roblox-ts v3.0.0
2
2
  local TS = _G[script]
3
3
  local _theme = TS.import(script, script.Parent.Parent.Parent.Parent.Parent, "theme")
4
4
  local createStyles = _theme.createStyles
@@ -1,6 +1,6 @@
1
1
  export { default as Typography } from "./components/Typography";
2
2
  export { TypographyProps } from "./components/Typography";
3
3
  export * from "./components/Typography";
4
- export { TypographyAlignment } from "./types";
5
- export { TypographyColor } from "./types";
6
- export { TypographyDisplay } from "./types";
4
+ export { TypographyAlignment } from "./types/index";
5
+ export { TypographyColor } from "./types/index";
6
+ export { TypographyDisplay } from "./types/index";
@@ -1,4 +1,4 @@
1
- -- Compiled with roblox-ts v2.2.0
1
+ -- Compiled with roblox-ts v3.0.0
2
2
  local TS = _G[script]
3
3
  local exports = {}
4
4
  exports.Typography = TS.import(script, script, "components", "Typography").default
@@ -0,0 +1,2 @@
1
+ -- Compiled with roblox-ts v3.0.0
2
+ return nil
@@ -0,0 +1,2 @@
1
+ -- Compiled with roblox-ts v3.0.0
2
+ return nil
@@ -0,0 +1,2 @@
1
+ -- Compiled with roblox-ts v3.0.0
2
+ return nil
@@ -0,0 +1,2 @@
1
+ -- Compiled with roblox-ts v3.0.0
2
+ return nil
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rbxts/uiblox",
3
- "version": "0.1.7",
3
+ "version": "0.1.9",
4
4
  "description": "UI Library and theming for roblox-ts projects",
5
5
  "main": "out/init.lua",
6
6
  "scripts": {
@@ -29,30 +29,27 @@
29
29
  "access": "public"
30
30
  },
31
31
  "devDependencies": {
32
- "@typescript-eslint/eslint-plugin": "^6.9.0",
33
- "@typescript-eslint/parser": "^6.9.0",
34
- "eslint": "^8.52.0",
35
- "eslint-config-prettier": "^9.0.0",
36
- "eslint-plugin-prettier": "^5.0.1",
32
+ "@typescript-eslint/eslint-plugin": "^8.14.0",
33
+ "@typescript-eslint/parser": "^8.14.0",
34
+ "eslint": "^9.14.0",
35
+ "eslint-config-prettier": "^9.1.0",
36
+ "eslint-plugin-prettier": "^5.2.1",
37
37
  "eslint-plugin-roblox-ts": "^0.0.36",
38
- "prettier": "^3.0.3"
38
+ "prettier": "^3.3.3"
39
39
  },
40
40
  "dependencies": {
41
- "roblox-ts": "^2.2.0",
42
- "typescript": "^5.2.2",
43
- "@rbxts/compiler-types": "^2.2.0-types.0",
44
- "@rbxts/roact": "^1.4.4-ts.0",
45
- "@rbxts/services": "^1.2.0",
46
- "@rbxts/types": "^1.0.729",
41
+ "@rbxts/attributes": "^1.0.0",
42
+ "@rbxts/boat-tween": "^1.0.1",
43
+ "@rbxts/compiler-types": "^3.0.0-types.0",
44
+ "@rbxts/roact": "^3.0.1",
47
45
  "@rbxts/roact-hooked": "^2.6.2",
48
46
  "@rbxts/roact-rodux-hooked": "^1.1.3",
49
47
  "@rbxts/rodux": "^3.0.0-ts.3",
50
- "@rbxts/roselect": "^0.1.1",
51
- "@rbxts/attributes": "^1.0.0",
52
- "@rbxts/boat-tween": "^1.0.1"
53
- },
54
- "peerDependencies": {
55
- "@rbxts/roact": "^1.4.4-ts.0"
48
+ "@rbxts/roselect": "^0.1.2",
49
+ "@rbxts/services": "^1.5.5",
50
+ "@rbxts/types": "^1.0.813",
51
+ "roblox-ts": "^3.0.0",
52
+ "typescript": "^5.6.3"
56
53
  },
57
54
  "directories": {
58
55
  "doc": "docs"
@@ -1,2 +0,0 @@
1
- -- Compiled with roblox-ts v2.2.0
2
- return nil
@@ -1,2 +0,0 @@
1
- -- Compiled with roblox-ts v2.2.0
2
- return nil
@@ -1,2 +0,0 @@
1
- -- Compiled with roblox-ts v2.2.0
2
- return nil
@@ -1,2 +0,0 @@
1
- -- Compiled with roblox-ts v2.2.0
2
- return nil
@@ -1,2 +0,0 @@
1
- -- Compiled with roblox-ts v2.2.0
2
- return nil
@@ -1,2 +0,0 @@
1
- -- Compiled with roblox-ts v2.2.0
2
- return nil
@@ -1,2 +0,0 @@
1
- -- Compiled with roblox-ts v2.2.0
2
- return nil
@@ -1,2 +0,0 @@
1
- -- Compiled with roblox-ts v2.2.0
2
- return nil
@@ -1,2 +0,0 @@
1
- -- Compiled with roblox-ts v2.2.0
2
- return nil
@@ -1,2 +0,0 @@
1
- -- Compiled with roblox-ts v2.2.0
2
- return nil
@@ -1,2 +0,0 @@
1
- -- Compiled with roblox-ts v2.2.0
2
- return nil
@@ -1,2 +0,0 @@
1
- -- Compiled with roblox-ts v2.2.0
2
- return nil
@@ -1,2 +0,0 @@
1
- -- Compiled with roblox-ts v2.2.0
2
- return nil
@@ -1,2 +0,0 @@
1
- -- Compiled with roblox-ts v2.2.0
2
- return nil
@@ -1,2 +0,0 @@
1
- -- Compiled with roblox-ts v2.2.0
2
- return nil
@@ -1,2 +0,0 @@
1
- -- Compiled with roblox-ts v2.2.0
2
- return nil
@@ -1,2 +0,0 @@
1
- -- Compiled with roblox-ts v2.2.0
2
- return nil
@@ -1,2 +0,0 @@
1
- -- Compiled with roblox-ts v2.2.0
2
- return nil
@@ -1,2 +0,0 @@
1
- -- Compiled with roblox-ts v2.2.0
2
- return nil
@@ -1,2 +0,0 @@
1
- -- Compiled with roblox-ts v2.2.0
2
- return nil
@@ -1,2 +0,0 @@
1
- -- Compiled with roblox-ts v2.2.0
2
- return nil
@@ -1,2 +0,0 @@
1
- -- Compiled with roblox-ts v2.2.0
2
- return nil
@@ -1,2 +0,0 @@
1
- -- Compiled with roblox-ts v2.2.0
2
- return nil
@@ -1,31 +0,0 @@
1
- -- Compiled with roblox-ts v2.2.0
2
- -- eslint-disable-next-line @typescript-eslint/no-explicit-any
3
- local classNames = function(styles)
4
- -- eslint-disable-next-line @typescript-eslint/no-explicit-any
5
- local style = {}
6
- local _styles = styles
7
- local _arg0 = function(value, key)
8
- if value then
9
- local _object = {}
10
- for _k, _v in style do
11
- _object[_k] = _v
12
- end
13
- for _k, _v in key do
14
- _object[_k] = _v
15
- end
16
- style = _object
17
- end
18
- end
19
- for _k, _v in _styles do
20
- _arg0(_v, _k, _styles)
21
- end
22
- local _object = {}
23
- for _k, _v in style do
24
- _object[_k] = _v
25
- end
26
- return _object
27
- end
28
- local default = classNames
29
- return {
30
- default = default,
31
- }
@@ -1,2 +0,0 @@
1
- -- Compiled with roblox-ts v2.2.0
2
- return nil
@@ -1,23 +0,0 @@
1
- -- Compiled with roblox-ts v2.2.0
2
- local Directions
3
- do
4
- local _inverse = {}
5
- Directions = setmetatable({}, {
6
- __index = _inverse,
7
- })
8
- Directions.In = "In"
9
- _inverse.In = "In"
10
- Directions.Out = "Out"
11
- _inverse.Out = "Out"
12
- Directions.Left = "Left"
13
- _inverse.Left = "Left"
14
- Directions.Right = "Right"
15
- _inverse.Right = "Right"
16
- Directions.Up = "Up"
17
- _inverse.Up = "Up"
18
- Directions.Down = "Down"
19
- _inverse.Down = "Down"
20
- end
21
- return {
22
- Directions = Directions,
23
- }
@@ -1,87 +0,0 @@
1
- -- Compiled with roblox-ts v2.2.0
2
- local Icons
3
- do
4
- local _inverse = {}
5
- Icons = setmetatable({}, {
6
- __index = _inverse,
7
- })
8
- Icons.Delete = "rbxassetid://8583122940"
9
- _inverse["rbxassetid://8583122940"] = "Delete"
10
- Icons.Move = "rbxassetid://8583137072"
11
- _inverse["rbxassetid://8583137072"] = "Move"
12
- Icons.OpenBox = "rbxassetid://8583122847"
13
- _inverse["rbxassetid://8583122847"] = "OpenBox"
14
- Icons.Rotate2D = "rbxassetid://8583123169"
15
- _inverse["rbxassetid://8583123169"] = "Rotate2D"
16
- Icons.Rotate3D = "rbxassetid://8583123075"
17
- _inverse["rbxassetid://8583123075"] = "Rotate3D"
18
- Icons.Swipe = "rbxassetid://8583122640"
19
- _inverse["rbxassetid://8583122640"] = "Swipe"
20
- Icons.House = "rbxassetid://8771814151"
21
- _inverse["rbxassetid://8771814151"] = "House"
22
- Icons.Furniture = "rbxassetid://8771814395"
23
- _inverse["rbxassetid://8771814395"] = "Furniture"
24
- Icons.Room = "rbxassetid://8771813821"
25
- _inverse["rbxassetid://8771813821"] = "Room"
26
- Icons.Arcade = "rbxassetid://8771986472"
27
- _inverse["rbxassetid://8771986472"] = "Arcade"
28
- Icons.Controller = "rbxassetid://8771986353"
29
- _inverse["rbxassetid://8771986353"] = "Controller"
30
- Icons.Joystick = "rbxassetid://8771986232"
31
- _inverse["rbxassetid://8771986232"] = "Joystick"
32
- Icons.Save = "rbxassetid://8772040340"
33
- _inverse["rbxassetid://8772040340"] = "Save"
34
- Icons.EditEnabled = "rbxassetid://8772040549"
35
- _inverse["rbxassetid://8772040549"] = "EditEnabled"
36
- Icons.EditDisabled = "rbxassetid://8772040755"
37
- _inverse["rbxassetid://8772040755"] = "EditDisabled"
38
- Icons.Settings = "rbxassetid://8793943638"
39
- _inverse["rbxassetid://8793943638"] = "Settings"
40
- Icons.VerticalDots = "rbxassetid://8793943269"
41
- _inverse["rbxassetid://8793943269"] = "VerticalDots"
42
- Icons.HorizontalDots = "rbxassetid://8793943828"
43
- _inverse["rbxassetid://8793943828"] = "HorizontalDots"
44
- Icons.Store = "rbxassetid://8794697193"
45
- _inverse["rbxassetid://8794697193"] = "Store"
46
- Icons.Dresser = "rbxassetid://8794697532"
47
- _inverse["rbxassetid://8794697532"] = "Dresser"
48
- Icons.Hangar = "rbxassetid://8794697340"
49
- _inverse["rbxassetid://8794697340"] = "Hangar"
50
- Icons.Friends = "rbxassetid://8794697424"
51
- _inverse["rbxassetid://8794697424"] = "Friends"
52
- Icons.Charity = "rbxassetid://8794697659"
53
- _inverse["rbxassetid://8794697659"] = "Charity"
54
- Icons.Backpack = "rbxassetid://8794716095"
55
- _inverse["rbxassetid://8794716095"] = "Backpack"
56
- Icons.HelpBubble = "rbxassetid://8794738823"
57
- _inverse["rbxassetid://8794738823"] = "HelpBubble"
58
- Icons.HelpDesk = "rbxassetid://8835822182"
59
- _inverse["rbxassetid://8835822182"] = "HelpDesk"
60
- Icons.NewspaperVariant1 = "rbxassetid://9056545367"
61
- _inverse["rbxassetid://9056545367"] = "NewspaperVariant1"
62
- Icons.NewspaperVariant2 = "rbxassetid://9056545251"
63
- _inverse["rbxassetid://9056545251"] = "NewspaperVariant2"
64
- Icons.NewspaperVariant3 = "rbxassetid://9056545032"
65
- _inverse["rbxassetid://9056545032"] = "NewspaperVariant3"
66
- Icons.Close = "rbxassetid://9070598165"
67
- _inverse["rbxassetid://9070598165"] = "Close"
68
- Icons.CloseCircle = "rbxassetid://9070597768"
69
- _inverse["rbxassetid://9070597768"] = "CloseCircle"
70
- Icons.Collapsed = "rbxassetid://9306279342"
71
- _inverse["rbxassetid://9306279342"] = "Collapsed"
72
- Icons.Expanded = "rbxassetid://9306279848"
73
- _inverse["rbxassetid://9306279848"] = "Expanded"
74
- Icons.Book = "rbxassetid://9311703342"
75
- _inverse["rbxassetid://9311703342"] = "Book"
76
- Icons.BookStack = "rbxassetid://9311703545"
77
- _inverse["rbxassetid://9311703545"] = "BookStack"
78
- Icons.ListPrimary = "rbxassetid://9306610505"
79
- _inverse["rbxassetid://9306610505"] = "ListPrimary"
80
- Icons.LightTheme = "rbxassetid://9377269022"
81
- _inverse["rbxassetid://9377269022"] = "LightTheme"
82
- Icons.DarkTheme = "rbxassetid://9377269322"
83
- _inverse["rbxassetid://9377269322"] = "DarkTheme"
84
- end
85
- return {
86
- Icons = Icons,
87
- }
@@ -1,15 +0,0 @@
1
- -- Compiled with roblox-ts v2.2.0
2
- local Orientations
3
- do
4
- local _inverse = {}
5
- Orientations = setmetatable({}, {
6
- __index = _inverse,
7
- })
8
- Orientations.Vertical = "Vertical"
9
- _inverse.Vertical = "Vertical"
10
- Orientations.Horizontal = "Horizontal"
11
- _inverse.Horizontal = "Horizontal"
12
- end
13
- return {
14
- Orientations = Orientations,
15
- }
@@ -1,2 +0,0 @@
1
- -- Compiled with roblox-ts v2.2.0
2
- return nil
@@ -1,2 +0,0 @@
1
- -- Compiled with roblox-ts v2.2.0
2
- return nil
@@ -1,2 +0,0 @@
1
- -- Compiled with roblox-ts v2.2.0
2
- return nil
@@ -1,2 +0,0 @@
1
- -- Compiled with roblox-ts v2.2.0
2
- return nil
@@ -1,2 +0,0 @@
1
- -- Compiled with roblox-ts v2.2.0
2
- return nil
@@ -1,2 +0,0 @@
1
- -- Compiled with roblox-ts v2.2.0
2
- return nil
@@ -1,2 +0,0 @@
1
- -- Compiled with roblox-ts v2.2.0
2
- return nil
@@ -1,2 +0,0 @@
1
- -- Compiled with roblox-ts v2.2.0
2
- return nil
@@ -1,76 +0,0 @@
1
- -- Compiled with roblox-ts v2.2.0
2
- local TS = _G[script]
3
- local Roact = TS.import(script, TS.getModule(script, "@rbxts", "roact").src)
4
- local markPureComponent = TS.import(script, TS.getModule(script, "@rbxts", "roact-hooked").src).markPureComponent
5
- local useProgressBarStyles = TS.import(script, script.Parent, "ProgressBar.styles").default
6
- local function ProgressBar(_param)
7
- local progress = _param.progress
8
- local className = _param.className
9
- local _binding = useProgressBarStyles()
10
- local container = _binding.container
11
- local outer = _binding.outer
12
- local stroke = _binding.stroke
13
- local inner = _binding.inner
14
- local fill = _binding.fill
15
- local corner = _binding.corner
16
- local _attributes = {}
17
- for _k, _v in container do
18
- _attributes[_k] = _v
19
- end
20
- if className then
21
- for _k, _v in className do
22
- _attributes[_k] = _v
23
- end
24
- end
25
- local _children = {}
26
- local _length = #_children
27
- local _attributes_1 = {}
28
- for _k, _v in outer do
29
- _attributes_1[_k] = _v
30
- end
31
- local _children_1 = {}
32
- local _length_1 = #_children_1
33
- local _attributes_2 = {}
34
- for _k, _v in corner do
35
- _attributes_2[_k] = _v
36
- end
37
- _children_1.Corner = Roact.createElement("UICorner", _attributes_2)
38
- local _attributes_3 = {}
39
- for _k, _v in stroke do
40
- _attributes_3[_k] = _v
41
- end
42
- _children_1[_length_1 + 1] = Roact.createElement("UIStroke", _attributes_3)
43
- local _attributes_4 = {}
44
- for _k, _v in inner do
45
- _attributes_4[_k] = _v
46
- end
47
- local _children_2 = {}
48
- local _length_2 = #_children_2
49
- local _attributes_5 = {}
50
- for _k, _v in corner do
51
- _attributes_5[_k] = _v
52
- end
53
- _children_2.Corner = Roact.createElement("UICorner", _attributes_5)
54
- local _attributes_6 = {}
55
- for _k, _v in fill do
56
- _attributes_6[_k] = _v
57
- end
58
- _attributes_6.Size = UDim2.new(progress / 100, 0, 1, 0)
59
- local _children_3 = {}
60
- local _length_3 = #_children_3
61
- local _attributes_7 = {}
62
- for _k, _v in corner do
63
- _attributes_7[_k] = _v
64
- end
65
- _children_3.Corner = Roact.createElement("UICorner", _attributes_7)
66
- _children_2[_length_2 + 1] = Roact.createElement("Frame", _attributes_6, _children_3)
67
- _children_1[_length_1 + 2] = Roact.createElement("Frame", _attributes_4, _children_2)
68
- _children.Bar = Roact.createElement("Frame", _attributes_1, _children_1)
69
- return Roact.createFragment({
70
- ProgressBar = Roact.createElement("Frame", _attributes, _children),
71
- })
72
- end
73
- local default = markPureComponent(ProgressBar)
74
- return {
75
- default = default,
76
- }
@@ -1,46 +0,0 @@
1
- -- Compiled with roblox-ts v2.2.0
2
- local TS = _G[script]
3
- local Roact = TS.import(script, TS.getModule(script, "@rbxts", "roact").src)
4
- local useSidebarStyles = TS.import(script, script.Parent, "Sidebar.styles").default
5
- local function Sidebar(props)
6
- local _binding = props
7
- local className = _binding.className
8
- local children = _binding[Roact.Children]
9
- local _binding_1 = useSidebarStyles(props)
10
- local root = _binding_1.root
11
- local container = _binding_1.container
12
- local _attributes = {}
13
- for _k, _v in root do
14
- _attributes[_k] = _v
15
- end
16
- if className then
17
- for _k, _v in className do
18
- _attributes[_k] = _v
19
- end
20
- end
21
- local _children = {}
22
- local _length = #_children
23
- local _attributes_1 = {}
24
- for _k, _v in container do
25
- _attributes_1[_k] = _v
26
- end
27
- local _children_1 = {}
28
- local _length_1 = #_children_1
29
- if children then
30
- for _k, _v in children do
31
- if type(_k) == "number" then
32
- _children_1[_length_1 + _k] = _v
33
- else
34
- _children_1[_k] = _v
35
- end
36
- end
37
- end
38
- _children.Container = Roact.createElement("Frame", _attributes_1, _children_1)
39
- return Roact.createFragment({
40
- Sidebar = Roact.createElement("Frame", _attributes, _children),
41
- })
42
- end
43
- local default = Sidebar
44
- return {
45
- default = default,
46
- }
@@ -1,2 +0,0 @@
1
- -- Compiled with roblox-ts v2.2.0
2
- return nil
@@ -1,2 +0,0 @@
1
- -- Compiled with roblox-ts v2.2.0
2
- return nil
@@ -1,20 +0,0 @@
1
- -- Compiled with roblox-ts v2.2.0
2
- local ToastVariants
3
- do
4
- local _inverse = {}
5
- ToastVariants = setmetatable({}, {
6
- __index = _inverse,
7
- })
8
- ToastVariants.default = "default"
9
- _inverse.default = "default"
10
- ToastVariants.success = "success"
11
- _inverse.success = "success"
12
- ToastVariants.error = "error"
13
- _inverse.error = "error"
14
- ToastVariants.warning = "warning"
15
- _inverse.warning = "warning"
16
- end
17
- local default = ToastVariants
18
- return {
19
- default = default,
20
- }
@@ -1,2 +0,0 @@
1
- -- Compiled with roblox-ts v2.2.0
2
- return nil
@@ -1,2 +0,0 @@
1
- -- Compiled with roblox-ts v2.2.0
2
- return nil
@@ -1,2 +0,0 @@
1
- -- Compiled with roblox-ts v2.2.0
2
- return nil
@@ -1,2 +0,0 @@
1
- -- Compiled with roblox-ts v2.2.0
2
- return nil
@@ -1,2 +0,0 @@
1
- -- Compiled with roblox-ts v2.2.0
2
- return nil
@@ -1,2 +0,0 @@
1
- -- Compiled with roblox-ts v2.2.0
2
- return nil
@@ -1,2 +0,0 @@
1
- -- Compiled with roblox-ts v2.2.0
2
- return nil
@@ -1,2 +0,0 @@
1
- -- Compiled with roblox-ts v2.2.0
2
- return nil