@rbxts/react-clean-ui 1.2.2 → 1.2.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/out/Components/Chart/Pie.luau +0 -1
- package/out/Components/Decorator/Gradient.d.ts +8 -0
- package/out/Components/Decorator/Gradient.luau +23 -0
- package/out/Components/Decorator/index.d.ts +1 -0
- package/out/Components/Decorator/init.luau +3 -0
- package/out/Components/Input/Button.luau +5 -1
- package/out/Components/Input/Checkbox.luau +6 -2
- package/out/Components/Input/HoverButton.luau +0 -2
- package/out/Components/Input/Input.luau +8 -6
- package/out/Components/Input/Select.d.ts +2 -1
- package/out/Components/Input/Select.luau +10 -11
- package/out/Components/Input/Slider.luau +0 -24
- package/out/Components/Input/Switch.luau +0 -2
- package/out/Components/Interaction/Modal.luau +0 -14
- package/out/Components/Interaction/Tooltip.luau +0 -1
- package/out/Components/Layout/Container.d.ts +2 -0
- package/out/Components/Layout/Container.luau +4 -1
- package/out/Components/Layout/Grid.d.ts +10 -0
- package/out/Components/Layout/Grid.luau +172 -0
- package/out/Components/Layout/Group.luau +38 -33
- package/out/Components/Layout/Pagination.luau +0 -5
- package/out/Components/Layout/Tabs.d.ts +2 -1
- package/out/Components/Layout/Tabs.luau +12 -33
- package/out/Components/Layout/index.d.ts +1 -0
- package/out/Components/Layout/init.luau +3 -0
- package/out/Components/Surface/Box.d.ts +2 -1
- package/out/Components/Surface/Box.luau +3 -0
- package/out/Components/Surface/Card.luau +2 -103
- package/out/Components/Surface/ProgressBar.d.ts +14 -0
- package/out/Components/Surface/ProgressBar.luau +230 -0
- package/out/Components/Surface/index.d.ts +1 -0
- package/out/Components/Surface/init.luau +3 -0
- package/out/Components/Typography/Text.luau +0 -6
- package/out/Contexts/modal.context.luau +0 -3
- package/out/Helpers/color.helper.luau +28 -0
- package/out/Helpers/css.helper.d.ts +4 -1
- package/out/Helpers/css.helper.luau +76 -6
- package/out/Helpers/gui.helper.luau +0 -3
- package/out/Helpers/size.helper.luau +0 -2
- package/out/Helpers/spacing.helper.luau +0 -3
- package/out/Helpers/typography.helper.luau +0 -2
- package/out/Interfaces/css.types.d.ts +7 -0
- package/out/Interfaces/css.types.luau +0 -20
- package/out/Providers/registry.provider.luau +0 -2
- package/out/Theme/theme.style.d.ts +2 -1
- package/out/Theme/theme.template.d.ts +41 -1
- package/out/Theme/themes/dark.theme.luau +122 -0
- package/out/Theme/themes/default.theme.luau +80 -0
- package/out/Theme/themes/sandstone.theme.luau +70 -0
- package/out/Theme/themes/wooden.theme.luau +73 -0
- package/package.json +1 -1
|
@@ -158,16 +158,30 @@ local DarkTheme = createTheme({
|
|
|
158
158
|
primary = {
|
|
159
159
|
default = {
|
|
160
160
|
textColor = Color3.fromHex("#FFFFFF"),
|
|
161
|
+
backgroundColor = Color3.fromHex("#FFFFFF"),
|
|
162
|
+
borderColor = Color3.fromHex("#6B96F0"),
|
|
163
|
+
backgroundGradient = {
|
|
164
|
+
colors = { Color3.fromHex("#365FAF"), Color3.fromHex("#4775CC") },
|
|
165
|
+
rotation = 90,
|
|
166
|
+
},
|
|
161
167
|
},
|
|
162
168
|
disabled = {
|
|
163
169
|
backgroundColor = Color3.fromHex("#1D222B"),
|
|
164
170
|
borderColor = Color3.fromHex("#343B49"),
|
|
165
171
|
textColor = Color3.fromHex("#697386"),
|
|
166
172
|
},
|
|
173
|
+
hover = {
|
|
174
|
+
backgroundColor = Color3.fromHex("#b8b8b8"),
|
|
175
|
+
},
|
|
167
176
|
},
|
|
168
177
|
success = {
|
|
169
178
|
default = {
|
|
170
179
|
textColor = Color3.fromHex("#FFFFFF"),
|
|
180
|
+
borderColor = Color3.fromHex("#42C982"),
|
|
181
|
+
backgroundGradient = {
|
|
182
|
+
colors = { Color3.fromHex("#237A4D"), Color3.fromHex("#2D965F") },
|
|
183
|
+
rotation = 90,
|
|
184
|
+
},
|
|
171
185
|
},
|
|
172
186
|
disabled = {
|
|
173
187
|
backgroundColor = Color3.fromHex("#1D222B"),
|
|
@@ -178,6 +192,11 @@ local DarkTheme = createTheme({
|
|
|
178
192
|
info = {
|
|
179
193
|
default = {
|
|
180
194
|
textColor = Color3.fromHex("#FFFFFF"),
|
|
195
|
+
borderColor = Color3.fromHex("#3ED6E8"),
|
|
196
|
+
backgroundGradient = {
|
|
197
|
+
colors = { Color3.fromHex("#0E7C8C"), Color3.fromHex("#20B4C4") },
|
|
198
|
+
rotation = 90,
|
|
199
|
+
},
|
|
181
200
|
},
|
|
182
201
|
disabled = {
|
|
183
202
|
backgroundColor = Color3.fromHex("#1D222B"),
|
|
@@ -188,6 +207,11 @@ local DarkTheme = createTheme({
|
|
|
188
207
|
warning = {
|
|
189
208
|
default = {
|
|
190
209
|
textColor = Color3.fromHex("#FFFFFF"),
|
|
210
|
+
borderColor = Color3.fromHex("#E0AD3E"),
|
|
211
|
+
backgroundGradient = {
|
|
212
|
+
colors = { Color3.fromHex("#916B1D"), Color3.fromHex("#AF8427") },
|
|
213
|
+
rotation = 90,
|
|
214
|
+
},
|
|
191
215
|
},
|
|
192
216
|
disabled = {
|
|
193
217
|
backgroundColor = Color3.fromHex("#1D222B"),
|
|
@@ -198,6 +222,11 @@ local DarkTheme = createTheme({
|
|
|
198
222
|
danger = {
|
|
199
223
|
default = {
|
|
200
224
|
textColor = Color3.fromHex("#FFFFFF"),
|
|
225
|
+
borderColor = Color3.fromHex("#EB6262"),
|
|
226
|
+
backgroundGradient = {
|
|
227
|
+
colors = { Color3.fromHex("#A63737"), Color3.fromHex("#C64646") },
|
|
228
|
+
rotation = 90,
|
|
229
|
+
},
|
|
201
230
|
},
|
|
202
231
|
disabled = {
|
|
203
232
|
backgroundColor = Color3.fromHex("#1D222B"),
|
|
@@ -263,6 +292,13 @@ local DarkTheme = createTheme({
|
|
|
263
292
|
borderColor = Color3.fromHex("#3A4352"),
|
|
264
293
|
borderThickness = 1,
|
|
265
294
|
cornerRadius = 8,
|
|
295
|
+
intents = {
|
|
296
|
+
primary = {
|
|
297
|
+
default = {
|
|
298
|
+
backgroundColor = Color3.fromHex("#2A303B"),
|
|
299
|
+
},
|
|
300
|
+
},
|
|
301
|
+
},
|
|
266
302
|
spacing = {
|
|
267
303
|
xs = 1,
|
|
268
304
|
sm = 2,
|
|
@@ -490,6 +526,92 @@ local DarkTheme = createTheme({
|
|
|
490
526
|
cornerRadius = "100%",
|
|
491
527
|
},
|
|
492
528
|
},
|
|
529
|
+
progressBar = {
|
|
530
|
+
animation = {
|
|
531
|
+
duration = 0.2,
|
|
532
|
+
},
|
|
533
|
+
header = {
|
|
534
|
+
spacing = {
|
|
535
|
+
xs = 2,
|
|
536
|
+
sm = 4,
|
|
537
|
+
md = 6,
|
|
538
|
+
lg = 8,
|
|
539
|
+
xl = 10,
|
|
540
|
+
},
|
|
541
|
+
label = {
|
|
542
|
+
typography = {
|
|
543
|
+
size = Enum.FontSize.Size18,
|
|
544
|
+
color = Color3.fromHex("#E8EDF8"),
|
|
545
|
+
},
|
|
546
|
+
},
|
|
547
|
+
value = {
|
|
548
|
+
typography = {
|
|
549
|
+
size = Enum.FontSize.Size18,
|
|
550
|
+
color = Color3.fromHex("#697386"),
|
|
551
|
+
},
|
|
552
|
+
},
|
|
553
|
+
},
|
|
554
|
+
track = {
|
|
555
|
+
backgroundColor = Color3.fromHex("#2A303B"),
|
|
556
|
+
backgroundTransparency = 0,
|
|
557
|
+
borderColor = Color3.fromHex("#3A4352"),
|
|
558
|
+
borderThickness = 1,
|
|
559
|
+
cornerRadius = "100%",
|
|
560
|
+
},
|
|
561
|
+
fill = {
|
|
562
|
+
cornerRadius = "100%",
|
|
563
|
+
intents = {
|
|
564
|
+
primary = {
|
|
565
|
+
default = {
|
|
566
|
+
backgroundColor = Color3.fromHex("#FFFFFF"),
|
|
567
|
+
backgroundGradient = {
|
|
568
|
+
colors = { Color3.fromHex("#5A87DE"), Color3.fromHex("#345FAF") },
|
|
569
|
+
rotation = 90,
|
|
570
|
+
},
|
|
571
|
+
},
|
|
572
|
+
},
|
|
573
|
+
success = {
|
|
574
|
+
default = {
|
|
575
|
+
backgroundColor = Color3.fromHex("#FFFFFF"),
|
|
576
|
+
backgroundGradient = {
|
|
577
|
+
colors = { Color3.fromHex("#40A871"), Color3.fromHex("#237A4D") },
|
|
578
|
+
rotation = 90,
|
|
579
|
+
},
|
|
580
|
+
},
|
|
581
|
+
},
|
|
582
|
+
info = {
|
|
583
|
+
default = {
|
|
584
|
+
backgroundColor = Color3.fromHex("#FFFFFF"),
|
|
585
|
+
backgroundGradient = {
|
|
586
|
+
colors = { Color3.fromHex("#4799D0"), Color3.fromHex("#286D9F") },
|
|
587
|
+
rotation = 90,
|
|
588
|
+
},
|
|
589
|
+
},
|
|
590
|
+
},
|
|
591
|
+
warning = {
|
|
592
|
+
default = {
|
|
593
|
+
backgroundColor = Color3.fromHex("#FFFFFF"),
|
|
594
|
+
backgroundGradient = {
|
|
595
|
+
colors = { Color3.fromHex("#C29639"), Color3.fromHex("#916B1D") },
|
|
596
|
+
rotation = 90,
|
|
597
|
+
},
|
|
598
|
+
},
|
|
599
|
+
},
|
|
600
|
+
danger = {
|
|
601
|
+
default = {
|
|
602
|
+
backgroundColor = Color3.fromHex("#FFFFFF"),
|
|
603
|
+
backgroundGradient = {
|
|
604
|
+
colors = { Color3.fromHex("#D95858"), Color3.fromHex("#A63737") },
|
|
605
|
+
rotation = 90,
|
|
606
|
+
},
|
|
607
|
+
},
|
|
608
|
+
},
|
|
609
|
+
},
|
|
610
|
+
stripe = {
|
|
611
|
+
enabled = false,
|
|
612
|
+
},
|
|
613
|
+
},
|
|
614
|
+
},
|
|
493
615
|
toast = {
|
|
494
616
|
width = 300,
|
|
495
617
|
fadeDuration = 0.5,
|
|
@@ -574,6 +574,86 @@ local DefaultTheme = {
|
|
|
574
574
|
aspectRatio = 1,
|
|
575
575
|
},
|
|
576
576
|
},
|
|
577
|
+
progressBar = {
|
|
578
|
+
height = {
|
|
579
|
+
xs = 8,
|
|
580
|
+
sm = 12,
|
|
581
|
+
md = 16,
|
|
582
|
+
lg = 20,
|
|
583
|
+
xl = 30,
|
|
584
|
+
},
|
|
585
|
+
animation = {
|
|
586
|
+
duration = 0.2,
|
|
587
|
+
},
|
|
588
|
+
header = {
|
|
589
|
+
spacing = {
|
|
590
|
+
xs = 2,
|
|
591
|
+
sm = 4,
|
|
592
|
+
md = 6,
|
|
593
|
+
lg = 8,
|
|
594
|
+
xl = 10,
|
|
595
|
+
},
|
|
596
|
+
label = {
|
|
597
|
+
typography = {
|
|
598
|
+
size = Enum.FontSize.Size18,
|
|
599
|
+
color = Color3.fromHex("#1D2433"),
|
|
600
|
+
},
|
|
601
|
+
},
|
|
602
|
+
value = {
|
|
603
|
+
typography = {
|
|
604
|
+
size = Enum.FontSize.Size18,
|
|
605
|
+
color = Color3.fromHex("#5C6577"),
|
|
606
|
+
},
|
|
607
|
+
},
|
|
608
|
+
},
|
|
609
|
+
track = {
|
|
610
|
+
backgroundColor = Color3.fromHex("#F5F5F5"),
|
|
611
|
+
backgroundTransparency = 0,
|
|
612
|
+
borderColor = Color3.fromHex("#D9DEE8"),
|
|
613
|
+
borderThickness = 1,
|
|
614
|
+
cornerRadius = 4,
|
|
615
|
+
},
|
|
616
|
+
fill = {
|
|
617
|
+
cornerRadius = 4,
|
|
618
|
+
intents = {
|
|
619
|
+
primary = {
|
|
620
|
+
default = {
|
|
621
|
+
backgroundColor = Color3.fromHex("#477FE8"),
|
|
622
|
+
},
|
|
623
|
+
},
|
|
624
|
+
success = {
|
|
625
|
+
default = {
|
|
626
|
+
backgroundColor = Color3.fromHex("#2E9D63"),
|
|
627
|
+
},
|
|
628
|
+
},
|
|
629
|
+
info = {
|
|
630
|
+
default = {
|
|
631
|
+
backgroundColor = Color3.fromHex("#3187C8"),
|
|
632
|
+
},
|
|
633
|
+
},
|
|
634
|
+
warning = {
|
|
635
|
+
default = {
|
|
636
|
+
backgroundColor = Color3.fromHex("#E7A92F"),
|
|
637
|
+
},
|
|
638
|
+
},
|
|
639
|
+
danger = {
|
|
640
|
+
default = {
|
|
641
|
+
backgroundColor = Color3.fromHex("#D64545"),
|
|
642
|
+
},
|
|
643
|
+
},
|
|
644
|
+
},
|
|
645
|
+
stripe = {
|
|
646
|
+
enabled = true,
|
|
647
|
+
image = {
|
|
648
|
+
image = 86644568183933,
|
|
649
|
+
tileSize = "16px",
|
|
650
|
+
transparency = 0.9,
|
|
651
|
+
},
|
|
652
|
+
duration = 0.75,
|
|
653
|
+
direction = 1,
|
|
654
|
+
},
|
|
655
|
+
},
|
|
656
|
+
},
|
|
577
657
|
toast = {
|
|
578
658
|
fadeDuration = 0.5,
|
|
579
659
|
width = 300,
|
|
@@ -487,6 +487,76 @@ local SandstoneTheme = createTheme({
|
|
|
487
487
|
cornerRadius = 4,
|
|
488
488
|
},
|
|
489
489
|
},
|
|
490
|
+
progressBar = {
|
|
491
|
+
header = {
|
|
492
|
+
spacing = {
|
|
493
|
+
xs = 2,
|
|
494
|
+
sm = 4,
|
|
495
|
+
md = 6,
|
|
496
|
+
lg = 8,
|
|
497
|
+
xl = 10,
|
|
498
|
+
},
|
|
499
|
+
label = {
|
|
500
|
+
typography = {
|
|
501
|
+
size = Enum.FontSize.Size18,
|
|
502
|
+
color = Color3.fromHex("#244F4A"),
|
|
503
|
+
},
|
|
504
|
+
},
|
|
505
|
+
value = {
|
|
506
|
+
typography = {
|
|
507
|
+
size = Enum.FontSize.Size18,
|
|
508
|
+
color = Color3.fromHex("#9B8B73"),
|
|
509
|
+
},
|
|
510
|
+
},
|
|
511
|
+
},
|
|
512
|
+
track = {
|
|
513
|
+
backgroundColor = Color3.fromHex("#EFE5D3"),
|
|
514
|
+
backgroundTransparency = 0,
|
|
515
|
+
borderColor = Color3.fromHex("#CDBFA8"),
|
|
516
|
+
borderThickness = 1,
|
|
517
|
+
cornerRadius = 4,
|
|
518
|
+
},
|
|
519
|
+
fill = {
|
|
520
|
+
cornerRadius = 4,
|
|
521
|
+
intents = {
|
|
522
|
+
primary = {
|
|
523
|
+
default = {
|
|
524
|
+
backgroundColor = Color3.fromHex("#4E8179"),
|
|
525
|
+
},
|
|
526
|
+
},
|
|
527
|
+
success = {
|
|
528
|
+
default = {
|
|
529
|
+
backgroundColor = Color3.fromHex("#5B8A6A"),
|
|
530
|
+
},
|
|
531
|
+
},
|
|
532
|
+
info = {
|
|
533
|
+
default = {
|
|
534
|
+
backgroundColor = Color3.fromHex("#6F98AE"),
|
|
535
|
+
},
|
|
536
|
+
},
|
|
537
|
+
warning = {
|
|
538
|
+
default = {
|
|
539
|
+
backgroundColor = Color3.fromHex("#C3994C"),
|
|
540
|
+
},
|
|
541
|
+
},
|
|
542
|
+
danger = {
|
|
543
|
+
default = {
|
|
544
|
+
backgroundColor = Color3.fromHex("#B46861"),
|
|
545
|
+
},
|
|
546
|
+
},
|
|
547
|
+
},
|
|
548
|
+
stripe = {
|
|
549
|
+
enabled = false,
|
|
550
|
+
image = {
|
|
551
|
+
image = 86644568183933,
|
|
552
|
+
tileSize = "16px",
|
|
553
|
+
transparency = 0.85,
|
|
554
|
+
},
|
|
555
|
+
duration = 0.75,
|
|
556
|
+
direction = 1,
|
|
557
|
+
},
|
|
558
|
+
},
|
|
559
|
+
},
|
|
490
560
|
toast = {
|
|
491
561
|
width = 300,
|
|
492
562
|
fadeDuration = 0.5,
|
|
@@ -569,6 +569,79 @@ local WoodenTheme = createTheme({
|
|
|
569
569
|
borderColor = Color3.fromHex("#3D2712"),
|
|
570
570
|
},
|
|
571
571
|
},
|
|
572
|
+
progressBar = {
|
|
573
|
+
animation = {
|
|
574
|
+
duration = 0.2,
|
|
575
|
+
},
|
|
576
|
+
header = {
|
|
577
|
+
spacing = {
|
|
578
|
+
xs = 2,
|
|
579
|
+
sm = 4,
|
|
580
|
+
md = 6,
|
|
581
|
+
lg = 8,
|
|
582
|
+
xl = 10,
|
|
583
|
+
},
|
|
584
|
+
label = {
|
|
585
|
+
typography = {
|
|
586
|
+
size = Enum.FontSize.Size18,
|
|
587
|
+
color = Color3.fromHex("#FFF7CF"),
|
|
588
|
+
},
|
|
589
|
+
},
|
|
590
|
+
value = {
|
|
591
|
+
typography = {
|
|
592
|
+
size = Enum.FontSize.Size18,
|
|
593
|
+
color = Color3.fromHex("#D3CBA3"),
|
|
594
|
+
},
|
|
595
|
+
},
|
|
596
|
+
},
|
|
597
|
+
track = {
|
|
598
|
+
backgroundColor = Color3.fromHex("#5C3A18"),
|
|
599
|
+
backgroundTransparency = 0,
|
|
600
|
+
borderColor = Color3.fromHex("#3D2712"),
|
|
601
|
+
borderThickness = 2,
|
|
602
|
+
cornerRadius = 0,
|
|
603
|
+
},
|
|
604
|
+
fill = {
|
|
605
|
+
cornerRadius = 0,
|
|
606
|
+
intents = {
|
|
607
|
+
primary = {
|
|
608
|
+
default = {
|
|
609
|
+
backgroundColor = Color3.fromHex("#A16B30"),
|
|
610
|
+
},
|
|
611
|
+
},
|
|
612
|
+
success = {
|
|
613
|
+
default = {
|
|
614
|
+
backgroundColor = Color3.fromHex("#4E6A24"),
|
|
615
|
+
},
|
|
616
|
+
},
|
|
617
|
+
info = {
|
|
618
|
+
default = {
|
|
619
|
+
backgroundColor = Color3.fromHex("#2C5270"),
|
|
620
|
+
},
|
|
621
|
+
},
|
|
622
|
+
warning = {
|
|
623
|
+
default = {
|
|
624
|
+
backgroundColor = Color3.fromHex("#A67A20"),
|
|
625
|
+
},
|
|
626
|
+
},
|
|
627
|
+
danger = {
|
|
628
|
+
default = {
|
|
629
|
+
backgroundColor = Color3.fromHex("#7A3220"),
|
|
630
|
+
},
|
|
631
|
+
},
|
|
632
|
+
},
|
|
633
|
+
stripe = {
|
|
634
|
+
enabled = false,
|
|
635
|
+
image = {
|
|
636
|
+
image = 86644568183933,
|
|
637
|
+
tileSize = "16px",
|
|
638
|
+
transparency = 0.65,
|
|
639
|
+
},
|
|
640
|
+
duration = 0.85,
|
|
641
|
+
direction = 1,
|
|
642
|
+
},
|
|
643
|
+
},
|
|
644
|
+
},
|
|
572
645
|
slider = {
|
|
573
646
|
height = 20,
|
|
574
647
|
bar = {
|