@rbxts/react-clean-ui 1.0.14 → 1.0.19

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 (43) hide show
  1. package/out/Components/Chart/Pie.d.ts +27 -0
  2. package/out/Components/Chart/Pie.luau +281 -0
  3. package/out/Components/Chart/index.d.ts +1 -0
  4. package/out/Components/Chart/init.luau +7 -0
  5. package/out/Components/Decorator/BoxShadow.d.ts +2 -1
  6. package/out/Components/Decorator/BoxShadow.luau +51 -28
  7. package/out/Components/Input/Select.d.ts +6 -14
  8. package/out/Components/Input/Select.luau +111 -151
  9. package/out/Components/Input/Slider.d.ts +3 -37
  10. package/out/Components/Input/Slider.luau +271 -300
  11. package/out/Components/Layout/Column.d.ts +2 -8
  12. package/out/Components/Layout/Column.luau +28 -48
  13. package/out/Components/Layout/Draggable.d.ts +7 -31
  14. package/out/Components/Layout/Draggable.luau +190 -214
  15. package/out/Components/Layout/Fieldset.d.ts +8 -18
  16. package/out/Components/Layout/Fieldset.luau +42 -84
  17. package/out/Components/Layout/Group.d.ts +7 -14
  18. package/out/Components/Layout/Group.luau +111 -129
  19. package/out/Components/Layout/Row.d.ts +2 -11
  20. package/out/Components/Layout/Row.luau +46 -71
  21. package/out/Components/Layout/Tabs.d.ts +10 -18
  22. package/out/Components/Layout/Tabs.luau +85 -104
  23. package/out/Components/Navigation/Menu.d.ts +6 -10
  24. package/out/Components/Navigation/Menu.luau +38 -65
  25. package/out/Components/Surface/Card.d.ts +8 -11
  26. package/out/Components/Surface/Card.luau +28 -48
  27. package/out/Components/Surface/index.d.ts +0 -1
  28. package/out/Components/Surface/init.luau +0 -3
  29. package/out/Components/index.d.ts +1 -0
  30. package/out/Components/init.luau +3 -0
  31. package/out/Helpers/css.helper.d.ts +2 -1
  32. package/out/Helpers/css.helper.luau +25 -0
  33. package/out/Helpers/size.helper.luau +1 -1
  34. package/out/Interfaces/clean.element.props.d.ts +5 -0
  35. package/out/Providers/registry.provider.d.ts +1 -0
  36. package/out/Providers/registry.provider.luau +5 -0
  37. package/out/Theme/theme.template.d.ts +15 -1
  38. package/out/Theme/themes/dark.theme.luau +3 -0
  39. package/out/Theme/themes/default.theme.luau +15 -0
  40. package/out/Theme/themes/sandstone.theme.luau +13 -0
  41. package/package.json +1 -1
  42. package/out/Components/Surface/Panel.d.ts +0 -4
  43. package/out/Components/Surface/Panel.luau +0 -33
@@ -336,6 +336,9 @@ local DarkTheme = createTheme({
336
336
  header = {},
337
337
  body = {},
338
338
  },
339
+ pie = {
340
+ colors = { Color3.fromHex("#4CC47A"), Color3.fromHex("#E35B5B"), Color3.fromHex("#F0B74A"), Color3.fromHex("#4D9EEA"), Color3.fromHex("#A676F0"), Color3.fromHex("#43C2BA"), Color3.fromHex("#F48A52"), Color3.fromHex("#E06AAE"), Color3.fromHex("#6FA8DC"), Color3.fromHex("#9CCC4A") },
341
+ },
339
342
  },
340
343
  icons = {
341
344
  ["shopping-cart"] = 112388431913339,
@@ -468,6 +468,21 @@ local DefaultTheme = {
468
468
  },
469
469
  },
470
470
  },
471
+ pie = {
472
+ hoverDarken = 0.2,
473
+ boxShadow = {
474
+ shadow = "0px 0px 8px 3px",
475
+ color = Color3.fromHex("#000000"),
476
+ transparency = 0.6,
477
+ },
478
+ colors = { Color3.fromHex("#2E9D63"), Color3.fromHex("#D64545"), Color3.fromHex("#E7A92F"), Color3.fromHex("#3187C8"), Color3.fromHex("#8E5AD7"), Color3.fromHex("#2FA7A1"), Color3.fromHex("#F26D4F"), Color3.fromHex("#D94F9D"), Color3.fromHex("#6B7C93"), Color3.fromHex("#7CB342") },
479
+ labels = {
480
+ cornerRadius = 4,
481
+ typography = {
482
+ weight = Enum.FontWeight.Bold,
483
+ },
484
+ },
485
+ },
471
486
  },
472
487
  icons = {
473
488
  ["shopping-cart"] = 112388431913339,
@@ -336,6 +336,19 @@ local SandstoneTheme = createTheme({
336
336
  header = {},
337
337
  body = {},
338
338
  },
339
+ pie = {
340
+ boxShadow = {
341
+ shadow = "0px 0px",
342
+ color = Color3.fromHex("#FFFFFF"),
343
+ transparency = 1,
344
+ },
345
+ colors = { Color3.fromHex("#7A9E7E"), Color3.fromHex("#A66C5D"), Color3.fromHex("#B89A5A"), Color3.fromHex("#6E97A8"), Color3.fromHex("#8A729E"), Color3.fromHex("#6F9A90"), Color3.fromHex("#C97A4A"), Color3.fromHex("#C58A9A"), Color3.fromHex("#8F7B5E"), Color3.fromHex("#8C9B5E") },
346
+ labels = {
347
+ backgroundColor = Color3.fromHex("#FFF9ED"),
348
+ backgroundTransparency = 0,
349
+ borderColor = Color3.fromHex("#D8CDBA"),
350
+ },
351
+ },
339
352
  },
340
353
  icons = {
341
354
  ["shopping-cart"] = 112388431913339,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rbxts/react-clean-ui",
3
- "version": "1.0.14",
3
+ "version": "1.0.19",
4
4
  "description": "",
5
5
  "main": "out/init.lua",
6
6
  "scripts": {
@@ -1,4 +0,0 @@
1
- import React, { Component } from "@rbxts/react";
2
- export declare class Panel extends Component {
3
- render(): React.ReactNode;
4
- }
@@ -1,33 +0,0 @@
1
- -- Compiled with roblox-ts v3.0.0
2
- local TS = _G[script]
3
- local _react = TS.import(script, TS.getModule(script, "@rbxts", "react"))
4
- local React = _react
5
- local Component = _react.Component
6
- local ReactComponent = _react.ReactComponent
7
- local Box = TS.import(script, script.Parent, "Box").Box
8
- local VStack = TS.import(script, script.Parent.Parent, "Layout", "VStack").VStack
9
- local Panel
10
- do
11
- local super = Component
12
- Panel = setmetatable({}, {
13
- __tostring = function()
14
- return "Panel"
15
- end,
16
- __index = super,
17
- })
18
- Panel.__index = Panel
19
- function Panel.new(...)
20
- local self = setmetatable({}, Panel)
21
- return self:constructor(...) or self
22
- end
23
- function Panel:constructor(...)
24
- super.constructor(self, ...)
25
- end
26
- function Panel:render()
27
- return React.createElement(Box, nil, React.createElement(VStack))
28
- end
29
- Panel = ReactComponent(Panel) or Panel
30
- end
31
- return {
32
- Panel = Panel,
33
- }