@rbxts/react-clean-ui 1.0.38 → 1.1.0
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.
- package/out/Components/Decorator/Corners.luau +5 -1
- package/out/Components/Decorator/Padding.luau +1 -1
- package/out/Components/Input/Checkbox.luau +1 -1
- package/out/Components/Input/Input.luau +11 -21
- package/out/Components/Input/Input.validation.d.ts +1 -0
- package/out/Components/Input/Input.validation.luau +21 -0
- package/out/Components/Layout/Accordion.d.ts +3 -3
- package/out/Components/Layout/Accordion.luau +68 -17
- package/out/Components/Layout/Fieldset.luau +40 -6
- package/out/Components/Layout/Group.luau +30 -8
- package/out/Components/Layout/HStack.luau +1 -0
- package/out/Components/Layout/Row.luau +43 -9
- package/out/Components/Layout/Scroller.luau +19 -4
- package/out/Components/Layout/Tabs.d.ts +4 -2
- package/out/Components/Layout/Tabs.luau +11 -9
- package/out/Components/Navigation/Menu.luau +2 -0
- package/out/Components/Surface/Box.luau +21 -27
- package/out/Components/Surface/Card.d.ts +6 -2
- package/out/Components/Surface/Card.luau +93 -55
- package/out/Helpers/spacing.helper.d.ts +3 -2
- package/out/Helpers/spacing.helper.luau +102 -18
- package/out/Interfaces/css.types.d.ts +2 -0
- package/out/Interfaces/css.types.luau +4 -0
- package/out/Interfaces/index.d.ts +4 -4
- package/out/Interfaces/init.luau +0 -12
- package/out/Theme/theme.template.d.ts +14 -3
- package/out/Theme/themes/wooden.theme.luau +113 -2
- package/package.json +2 -2
|
@@ -118,7 +118,60 @@ local WoodenTheme = createTheme({
|
|
|
118
118
|
},
|
|
119
119
|
},
|
|
120
120
|
},
|
|
121
|
+
accordion = {
|
|
122
|
+
borderColor = Color3.fromHex("#3D2712"),
|
|
123
|
+
borderThickness = 2,
|
|
124
|
+
cornerRadius = 0,
|
|
125
|
+
header = {
|
|
126
|
+
indicatorSize = 14,
|
|
127
|
+
indicatorColor = Color3.fromHex("#FFF7CF"),
|
|
128
|
+
intents = {
|
|
129
|
+
primary = {
|
|
130
|
+
default = {
|
|
131
|
+
textColor = Color3.fromHex("#FFF7CF"),
|
|
132
|
+
backgroundTransparency = 1,
|
|
133
|
+
backgroundImage = {
|
|
134
|
+
image = 92016395170536,
|
|
135
|
+
slice = "10 5 240 40",
|
|
136
|
+
tintColor = Color3.fromHex("#7A4A20"),
|
|
137
|
+
},
|
|
138
|
+
},
|
|
139
|
+
hover = {
|
|
140
|
+
textColor = Color3.fromHex("#FFF7CF"),
|
|
141
|
+
backgroundImage = {
|
|
142
|
+
tintColor = Color3.fromHex("#A16B30"),
|
|
143
|
+
},
|
|
144
|
+
},
|
|
145
|
+
focus = {
|
|
146
|
+
textColor = Color3.fromHex("#FFF7CF"),
|
|
147
|
+
backgroundImage = {
|
|
148
|
+
tintColor = Color3.fromHex("#BA854A"),
|
|
149
|
+
},
|
|
150
|
+
},
|
|
151
|
+
disabled = {
|
|
152
|
+
textColor = Color3.fromHex("#a4a29f"),
|
|
153
|
+
backgroundTransparency = 1,
|
|
154
|
+
backgroundImage = {
|
|
155
|
+
transparency = 0.3,
|
|
156
|
+
},
|
|
157
|
+
},
|
|
158
|
+
},
|
|
159
|
+
},
|
|
160
|
+
},
|
|
161
|
+
content = {
|
|
162
|
+
backgroundColor = Color3.fromHex("#5C3A18"),
|
|
163
|
+
backgroundTransparency = 0,
|
|
164
|
+
},
|
|
165
|
+
},
|
|
121
166
|
tabs = {
|
|
167
|
+
backgroundImage = {
|
|
168
|
+
image = 137043424796720,
|
|
169
|
+
tintColor = Color3.fromHex("#8a5a28"),
|
|
170
|
+
size = "Tile",
|
|
171
|
+
tileSize = "200px",
|
|
172
|
+
},
|
|
173
|
+
borderColor = Color3.fromHex("#331d07"),
|
|
174
|
+
cornerRadius = 8,
|
|
122
175
|
list = {
|
|
123
176
|
borderThickness = 0,
|
|
124
177
|
cornerRadius = 0,
|
|
@@ -243,6 +296,9 @@ local WoodenTheme = createTheme({
|
|
|
243
296
|
card = {
|
|
244
297
|
borderThickness = 0,
|
|
245
298
|
cornerRadius = 0,
|
|
299
|
+
body = {
|
|
300
|
+
padding = "10px 40px",
|
|
301
|
+
},
|
|
246
302
|
header = {
|
|
247
303
|
intents = {
|
|
248
304
|
primary = {
|
|
@@ -293,7 +349,7 @@ local WoodenTheme = createTheme({
|
|
|
293
349
|
position = {
|
|
294
350
|
position = "absolute",
|
|
295
351
|
center = "x",
|
|
296
|
-
top = "
|
|
352
|
+
top = "0px",
|
|
297
353
|
zIndex = 2,
|
|
298
354
|
},
|
|
299
355
|
},
|
|
@@ -353,7 +409,7 @@ local WoodenTheme = createTheme({
|
|
|
353
409
|
},
|
|
354
410
|
position = {
|
|
355
411
|
position = "absolute",
|
|
356
|
-
bottom = "
|
|
412
|
+
bottom = "0px",
|
|
357
413
|
left = "50px",
|
|
358
414
|
right = "50px",
|
|
359
415
|
zIndex = 2,
|
|
@@ -436,6 +492,61 @@ local WoodenTheme = createTheme({
|
|
|
436
492
|
},
|
|
437
493
|
},
|
|
438
494
|
},
|
|
495
|
+
slider = {
|
|
496
|
+
height = 20,
|
|
497
|
+
bar = {
|
|
498
|
+
height = "50%",
|
|
499
|
+
padding = 10,
|
|
500
|
+
backgroundColor = Color3.fromHex("#5C3A18"),
|
|
501
|
+
backgroundTransparency = 0,
|
|
502
|
+
borderThickness = 1,
|
|
503
|
+
borderColor = Color3.fromHex("#3D2712"),
|
|
504
|
+
cornerRadius = 4,
|
|
505
|
+
highlight = {
|
|
506
|
+
backgroundColor = Color3.fromHex("#A16B30"),
|
|
507
|
+
backgroundTransparency = 0,
|
|
508
|
+
borderColor = Color3.fromHex("#3D2712"),
|
|
509
|
+
},
|
|
510
|
+
},
|
|
511
|
+
handle = {
|
|
512
|
+
boxShadow = "0px 0px 5px 5px",
|
|
513
|
+
backgroundColor = Color3.fromHex("#BA854A"),
|
|
514
|
+
backgroundTransparency = 0,
|
|
515
|
+
borderThickness = 2,
|
|
516
|
+
borderColor = Color3.fromHex("#3D2712"),
|
|
517
|
+
cornerRadius = "100%",
|
|
518
|
+
},
|
|
519
|
+
},
|
|
520
|
+
toast = {
|
|
521
|
+
intents = {
|
|
522
|
+
primary = {
|
|
523
|
+
backgroundTransparency = 1,
|
|
524
|
+
},
|
|
525
|
+
},
|
|
526
|
+
},
|
|
527
|
+
tooltip = {
|
|
528
|
+
cornerRadius = 0,
|
|
529
|
+
intents = {
|
|
530
|
+
primary = {
|
|
531
|
+
textColor = Color3.fromHex("#FFF7CF"),
|
|
532
|
+
backgroundColor = Color3.fromHex("#7A4A20"),
|
|
533
|
+
borderColor = Color3.fromHex("#3D2712"),
|
|
534
|
+
backgroundTransparency = 0,
|
|
535
|
+
},
|
|
536
|
+
success = {
|
|
537
|
+
backgroundColor = Color3.fromHex("#4E6A24"),
|
|
538
|
+
},
|
|
539
|
+
info = {
|
|
540
|
+
backgroundColor = Color3.fromHex("#2C5270"),
|
|
541
|
+
},
|
|
542
|
+
warning = {
|
|
543
|
+
backgroundColor = Color3.fromHex("#A67A20"),
|
|
544
|
+
},
|
|
545
|
+
danger = {
|
|
546
|
+
backgroundColor = Color3.fromHex("#7A3220"),
|
|
547
|
+
},
|
|
548
|
+
},
|
|
549
|
+
},
|
|
439
550
|
},
|
|
440
551
|
})
|
|
441
552
|
return {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@rbxts/react-clean-ui",
|
|
3
|
-
"version": "1.0
|
|
3
|
+
"version": "1.1.0",
|
|
4
4
|
"description": "A clean UI library for Roblox TypeScript projects",
|
|
5
5
|
"main": "out/init.lua",
|
|
6
6
|
"scripts": {
|
|
@@ -35,7 +35,7 @@
|
|
|
35
35
|
"devDependencies": {
|
|
36
36
|
"@rbxts/compiler-types": "^3.0.0-types.0",
|
|
37
37
|
"@rbxts/lunit": "^4.0.2",
|
|
38
|
-
"@rbxts/react-screenshot-plugin": "^0.1.
|
|
38
|
+
"@rbxts/react-screenshot-plugin": "^0.1.7",
|
|
39
39
|
"@rbxts/types": "^1.0.938",
|
|
40
40
|
"@typescript-eslint/eslint-plugin": "^8.63.0",
|
|
41
41
|
"@typescript-eslint/parser": "^8.63.0",
|