@rbxts/react-clean-ui 1.0.38 → 1.2.2

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 (97) hide show
  1. package/out/Components/Chart/BarChart.d.ts +1 -0
  2. package/out/Components/Chart/BarChart.luau +149 -112
  3. package/out/Components/Chart/Pie.d.ts +1 -0
  4. package/out/Components/Chart/Pie.luau +21 -5
  5. package/out/Components/Decorator/BoxShadow.d.ts +1 -0
  6. package/out/Components/Decorator/BoxShadow.luau +12 -5
  7. package/out/Components/Decorator/Corners.d.ts +1 -0
  8. package/out/Components/Decorator/Corners.luau +12 -3
  9. package/out/Components/Decorator/Padding.d.ts +3 -1
  10. package/out/Components/Decorator/Padding.luau +12 -7
  11. package/out/Components/Input/Button.d.ts +1 -0
  12. package/out/Components/Input/Button.luau +44 -33
  13. package/out/Components/Input/Checkbox.d.ts +1 -0
  14. package/out/Components/Input/Checkbox.luau +23 -17
  15. package/out/Components/Input/HoverButton.d.ts +1 -0
  16. package/out/Components/Input/HoverButton.luau +44 -40
  17. package/out/Components/Input/Increment.d.ts +1 -0
  18. package/out/Components/Input/Increment.luau +10 -3
  19. package/out/Components/Input/Input.d.ts +3 -1
  20. package/out/Components/Input/Input.luau +96 -87
  21. package/out/Components/Input/Input.validation.d.ts +1 -0
  22. package/out/Components/Input/Input.validation.luau +21 -0
  23. package/out/Components/Input/Select.d.ts +9 -0
  24. package/out/Components/Input/Select.luau +311 -34
  25. package/out/Components/Input/Slider.luau +44 -29
  26. package/out/Components/Input/Switch.d.ts +9 -0
  27. package/out/Components/Input/Switch.luau +147 -0
  28. package/out/Components/Input/index.d.ts +1 -0
  29. package/out/Components/Input/init.luau +3 -0
  30. package/out/Components/Interaction/Modal.d.ts +14 -0
  31. package/out/Components/Interaction/Modal.luau +276 -0
  32. package/out/Components/Interaction/Toast.d.ts +2 -1
  33. package/out/Components/Interaction/Toast.luau +53 -28
  34. package/out/Components/Interaction/Tooltip.luau +36 -24
  35. package/out/Components/Interaction/index.d.ts +1 -0
  36. package/out/Components/Interaction/init.luau +3 -0
  37. package/out/Components/Layout/Accordion.d.ts +4 -3
  38. package/out/Components/Layout/Accordion.luau +68 -21
  39. package/out/Components/Layout/Column.d.ts +1 -0
  40. package/out/Components/Layout/Column.luau +11 -6
  41. package/out/Components/Layout/Container.d.ts +1 -0
  42. package/out/Components/Layout/Container.luau +22 -16
  43. package/out/Components/Layout/Draggable.luau +25 -3
  44. package/out/Components/Layout/Fieldset.d.ts +1 -0
  45. package/out/Components/Layout/Fieldset.luau +14 -8
  46. package/out/Components/Layout/FlexItem.luau +7 -0
  47. package/out/Components/Layout/Group.d.ts +1 -0
  48. package/out/Components/Layout/Group.luau +14 -9
  49. package/out/Components/Layout/HStack.d.ts +4 -0
  50. package/out/Components/Layout/HStack.luau +17 -9
  51. package/out/Components/Layout/Pagination.d.ts +32 -0
  52. package/out/Components/Layout/Pagination.luau +405 -0
  53. package/out/Components/Layout/Row.d.ts +1 -0
  54. package/out/Components/Layout/Row.luau +22 -16
  55. package/out/Components/Layout/Scroller.d.ts +1 -0
  56. package/out/Components/Layout/Scroller.luau +22 -15
  57. package/out/Components/Layout/Table.d.ts +31 -0
  58. package/out/Components/Layout/Table.luau +342 -0
  59. package/out/Components/Layout/Tabs.d.ts +22 -11
  60. package/out/Components/Layout/Tabs.luau +139 -122
  61. package/out/Components/Layout/VStack.d.ts +3 -0
  62. package/out/Components/Layout/VStack.luau +17 -10
  63. package/out/Components/Layout/index.d.ts +2 -0
  64. package/out/Components/Layout/init.luau +6 -0
  65. package/out/Components/Navigation/Menu.d.ts +1 -0
  66. package/out/Components/Navigation/Menu.luau +14 -3
  67. package/out/Components/Surface/Box.d.ts +1 -0
  68. package/out/Components/Surface/Box.luau +29 -27
  69. package/out/Components/Surface/Card.d.ts +7 -2
  70. package/out/Components/Surface/Card.luau +106 -65
  71. package/out/Components/Surface/Icon.d.ts +1 -0
  72. package/out/Components/Surface/Icon.luau +25 -16
  73. package/out/Components/Typography/Text.d.ts +1 -0
  74. package/out/Components/Typography/Text.luau +57 -47
  75. package/out/Contexts/index.d.ts +1 -0
  76. package/out/Contexts/init.luau +3 -0
  77. package/out/Contexts/modal.context.d.ts +15 -0
  78. package/out/Contexts/modal.context.luau +26 -0
  79. package/out/Contexts/toast.context.d.ts +1 -0
  80. package/out/Helpers/spacing.helper.d.ts +3 -2
  81. package/out/Helpers/spacing.helper.luau +102 -18
  82. package/out/Interfaces/css.types.d.ts +2 -0
  83. package/out/Interfaces/css.types.luau +4 -0
  84. package/out/Interfaces/index.d.ts +4 -4
  85. package/out/Interfaces/init.luau +0 -12
  86. package/out/Providers/app.provider.luau +2 -1
  87. package/out/Providers/index.d.ts +1 -0
  88. package/out/Providers/init.luau +3 -0
  89. package/out/Providers/modal.provider.d.ts +6 -0
  90. package/out/Providers/modal.provider.luau +86 -0
  91. package/out/Providers/overlay.provider.luau +1 -0
  92. package/out/Theme/theme.template.d.ts +99 -3
  93. package/out/Theme/themes/dark.theme.luau +103 -0
  94. package/out/Theme/themes/default.theme.luau +130 -0
  95. package/out/Theme/themes/sandstone.theme.luau +103 -0
  96. package/out/Theme/themes/wooden.theme.luau +235 -2
  97. package/package.json +2 -2
@@ -194,6 +194,7 @@ local DefaultTheme = {
194
194
  placeholder = {
195
195
  color = Color3.fromHex("#8A8A8A"),
196
196
  },
197
+ iconColor = Color3.fromHex("#8A8A8A"),
197
198
  },
198
199
  select = {
199
200
  dropDownBackgroundColor = Color3.fromHex("#FFFFFF"),
@@ -216,6 +217,25 @@ local DefaultTheme = {
216
217
  },
217
218
  },
218
219
  },
220
+ optGroup = {
221
+ textColor = Color3.fromHex("#5C6577"),
222
+ spacing = {
223
+ xs = 4,
224
+ sm = 6,
225
+ md = 8,
226
+ lg = 10,
227
+ xl = 12,
228
+ },
229
+ },
230
+ search = {
231
+ spacing = {
232
+ xs = 4,
233
+ sm = 6,
234
+ md = 8,
235
+ lg = 10,
236
+ xl = 12,
237
+ },
238
+ },
219
239
  },
220
240
  checkbox = {
221
241
  borderColor = Color3.fromHex("#D9DEE8"),
@@ -229,6 +249,30 @@ local DefaultTheme = {
229
249
  xl = 8,
230
250
  },
231
251
  },
252
+ switch = {
253
+ width = 40,
254
+ height = 22,
255
+ cornerRadius = "100%",
256
+ borderThickness = 1,
257
+ disabledTransparency = 0.5,
258
+ animation = {
259
+ duration = 0.15,
260
+ },
261
+ track = {
262
+ backgroundColor = Color3.fromHex("#D9DEE8"),
263
+ backgroundTransparency = 0,
264
+ borderColor = Color3.fromHex("#D9DEE8"),
265
+ },
266
+ thumb = {
267
+ inset = 2,
268
+ cornerRadius = "100%",
269
+ backgroundColor = Color3.fromHex("#FFFFFF"),
270
+ backgroundTransparency = 0,
271
+ borderColor = Color3.fromHex("#D9DEE8"),
272
+ borderThickness = 1,
273
+ boxShadow = "0px 0px 2px 1px",
274
+ },
275
+ },
232
276
  tabs = {
233
277
  borderColor = Color3.fromHex("#D9DEE8"),
234
278
  backgroundColor = Color3.fromHex("#FFFFFF"),
@@ -279,6 +323,57 @@ local DefaultTheme = {
279
323
  },
280
324
  },
281
325
  },
326
+ pagination = {
327
+ backgroundColor = Color3.fromHex("#F5F5F5"),
328
+ backgroundTransparency = 0,
329
+ borderColor = Color3.fromHex("#D9DEE8"),
330
+ borderThickness = 1,
331
+ cornerRadius = 8,
332
+ spacing = {
333
+ xs = 2,
334
+ sm = 4,
335
+ md = 6,
336
+ lg = 8,
337
+ xl = 12,
338
+ },
339
+ item = {
340
+ borderThickness = 0,
341
+ cornerRadius = 4,
342
+ spacing = {
343
+ xs = 1,
344
+ sm = 2,
345
+ md = 4,
346
+ lg = 6,
347
+ xl = 8,
348
+ },
349
+ intents = {
350
+ primary = {
351
+ default = {
352
+ backgroundTransparency = 1,
353
+ textColor = Color3.fromHex("#4F4F4F"),
354
+ },
355
+ hover = {
356
+ backgroundTransparency = 1,
357
+ textColor = Color3.fromHex("#000000"),
358
+ },
359
+ focus = {
360
+ textColor = Color3.fromHex("#000000"),
361
+ backgroundColor = Color3.fromHex("#FFFFFF"),
362
+ backgroundTransparency = 0,
363
+ boxShadow = "2px 2px 2px 2px",
364
+ typography = {
365
+ weight = Enum.FontWeight.Bold,
366
+ },
367
+ },
368
+ disabled = {
369
+ backgroundTransparency = 1,
370
+ borderColor = Color3.fromHex("#D9DEE8"),
371
+ textColor = Color3.fromHex("#8A8A8A"),
372
+ },
373
+ },
374
+ },
375
+ },
376
+ },
282
377
  accordion = {
283
378
  borderColor = Color3.fromHex("#D9DEE8"),
284
379
  borderThickness = 1,
@@ -337,6 +432,31 @@ local DefaultTheme = {
337
432
  duration = 0.2,
338
433
  },
339
434
  },
435
+ table = {
436
+ backgroundColor = Color3.fromHex("#FFFFFF"),
437
+ backgroundTransparency = 0,
438
+ borderColor = Color3.fromHex("#D9DEE8"),
439
+ borderThickness = 1,
440
+ cornerRadius = 8,
441
+ rowDividerColor = Color3.fromHex("#D9DEE8"),
442
+ rowDividerThickness = 1,
443
+ header = {
444
+ backgroundColor = Color3.fromHex("#F2F4F8"),
445
+ backgroundTransparency = 0,
446
+ typography = {
447
+ weight = Enum.FontWeight.Bold,
448
+ },
449
+ },
450
+ cell = {
451
+ spacing = {
452
+ xs = 4,
453
+ sm = 8,
454
+ md = 12,
455
+ lg = 16,
456
+ xl = 24,
457
+ },
458
+ },
459
+ },
340
460
  draggable = {
341
461
  placeholder = {
342
462
  backgroundColor = Color3.fromHex("#D9DEE8"),
@@ -536,6 +656,16 @@ local DefaultTheme = {
536
656
  },
537
657
  },
538
658
  },
659
+ modal = {
660
+ fadeDuration = 0.2,
661
+ baseZIndex = 1000,
662
+ zIndexStep = 10,
663
+ width = 420,
664
+ backdrop = {
665
+ backgroundColor = Color3.fromRGB(0, 0, 0),
666
+ backgroundTransparency = 0.5,
667
+ },
668
+ },
539
669
  charts = {
540
670
  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") },
541
671
  pie = {
@@ -211,6 +211,7 @@ local SandstoneTheme = createTheme({
211
211
  borderColor = Color3.fromHex("#CDBFA8"),
212
212
  borderThickness = 1,
213
213
  cornerRadius = 4,
214
+ iconColor = Color3.fromHex("#8A7A61"),
214
215
  },
215
216
  select = {
216
217
  dropDownBackgroundColor = Color3.fromHex("#FFF9ED"),
@@ -235,6 +236,25 @@ local SandstoneTheme = createTheme({
235
236
  },
236
237
  },
237
238
  },
239
+ optGroup = {
240
+ textColor = Color3.fromHex("#8A7A61"),
241
+ spacing = {
242
+ xs = 4,
243
+ sm = 6,
244
+ md = 8,
245
+ lg = 10,
246
+ xl = 12,
247
+ },
248
+ },
249
+ search = {
250
+ spacing = {
251
+ xs = 4,
252
+ sm = 6,
253
+ md = 8,
254
+ lg = 10,
255
+ xl = 12,
256
+ },
257
+ },
238
258
  },
239
259
  checkbox = {
240
260
  borderColor = Color3.fromHex("#CDBFA8"),
@@ -248,6 +268,30 @@ local SandstoneTheme = createTheme({
248
268
  xl = 8,
249
269
  },
250
270
  },
271
+ switch = {
272
+ width = 40,
273
+ height = 22,
274
+ cornerRadius = 4,
275
+ borderThickness = 1,
276
+ disabledTransparency = 0.5,
277
+ animation = {
278
+ duration = 0.15,
279
+ },
280
+ track = {
281
+ backgroundColor = Color3.fromHex("#EFE5D3"),
282
+ backgroundTransparency = 0,
283
+ borderColor = Color3.fromHex("#CDBFA8"),
284
+ },
285
+ thumb = {
286
+ inset = 2,
287
+ cornerRadius = 4,
288
+ backgroundColor = Color3.fromHex("#FFF9ED"),
289
+ backgroundTransparency = 0,
290
+ borderColor = Color3.fromHex("#CDBFA8"),
291
+ borderThickness = 1,
292
+ boxShadow = "0px 0px 2px 1px",
293
+ },
294
+ },
251
295
  tabs = {
252
296
  borderColor = Color3.fromHex("#D8CDBA"),
253
297
  backgroundColor = Color3.fromHex("#FFF9ED"),
@@ -298,6 +342,57 @@ local SandstoneTheme = createTheme({
298
342
  },
299
343
  },
300
344
  },
345
+ pagination = {
346
+ backgroundColor = Color3.fromHex("#EFE5D3"),
347
+ backgroundTransparency = 0,
348
+ borderColor = Color3.fromHex("#D8CDBA"),
349
+ borderThickness = 1,
350
+ cornerRadius = 2,
351
+ spacing = {
352
+ xs = 2,
353
+ sm = 4,
354
+ md = 6,
355
+ lg = 8,
356
+ xl = 12,
357
+ },
358
+ item = {
359
+ borderThickness = 0,
360
+ cornerRadius = 2,
361
+ spacing = {
362
+ xs = 1,
363
+ sm = 2,
364
+ md = 4,
365
+ lg = 6,
366
+ xl = 8,
367
+ },
368
+ intents = {
369
+ primary = {
370
+ default = {
371
+ backgroundTransparency = 1,
372
+ textColor = Color3.fromHex("#746754"),
373
+ },
374
+ hover = {
375
+ backgroundTransparency = 1,
376
+ textColor = Color3.fromHex("#244F4A"),
377
+ },
378
+ focus = {
379
+ textColor = Color3.fromHex("#244F4A"),
380
+ backgroundColor = Color3.fromHex("#FFF9ED"),
381
+ backgroundTransparency = 0,
382
+ boxShadow = "0px 2px 5px 0px",
383
+ typography = {
384
+ weight = Enum.FontWeight.SemiBold,
385
+ },
386
+ },
387
+ disabled = {
388
+ backgroundTransparency = 1,
389
+ borderColor = Color3.fromHex("#D8CDBA"),
390
+ textColor = Color3.fromHex("#9B8B73"),
391
+ },
392
+ },
393
+ },
394
+ },
395
+ },
301
396
  accordion = {
302
397
  borderColor = Color3.fromHex("#B9A98F"),
303
398
  header = {
@@ -327,6 +422,14 @@ local SandstoneTheme = createTheme({
327
422
  backgroundColor = Color3.fromHex("#FFF9ED"),
328
423
  },
329
424
  },
425
+ table = {
426
+ backgroundColor = Color3.fromHex("#FFF9ED"),
427
+ borderColor = Color3.fromHex("#B9A98F"),
428
+ rowDividerColor = Color3.fromHex("#D8CBB5"),
429
+ header = {
430
+ backgroundColor = Color3.fromHex("#EFE5D3"),
431
+ },
432
+ },
330
433
  draggable = {
331
434
  placeholder = {
332
435
  backgroundColor = Color3.fromHex("#EFE5D3"),
@@ -118,7 +118,73 @@ 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
+ },
166
+ table = {
167
+ backgroundColor = Color3.fromHex("#5C3A18"),
168
+ backgroundTransparency = 0,
169
+ borderColor = Color3.fromHex("#3D2712"),
170
+ borderThickness = 2,
171
+ cornerRadius = 0,
172
+ rowDividerColor = Color3.fromHex("#3D2712"),
173
+ rowDividerThickness = 2,
174
+ header = {
175
+ backgroundColor = Color3.fromHex("#7A4A20"),
176
+ backgroundTransparency = 0,
177
+ },
178
+ },
121
179
  tabs = {
180
+ backgroundImage = {
181
+ image = 137043424796720,
182
+ tintColor = Color3.fromHex("#8a5a28"),
183
+ size = "Tile",
184
+ tileSize = "200px",
185
+ },
186
+ borderColor = Color3.fromHex("#331d07"),
187
+ cornerRadius = 8,
122
188
  list = {
123
189
  borderThickness = 0,
124
190
  cornerRadius = 0,
@@ -239,10 +305,14 @@ local WoodenTheme = createTheme({
239
305
  placeholder = {
240
306
  color = Color3.fromHex("#546b8a"),
241
307
  },
308
+ iconColor = Color3.fromHex("#FFF7CF"),
242
309
  },
243
310
  card = {
244
311
  borderThickness = 0,
245
312
  cornerRadius = 0,
313
+ body = {
314
+ padding = "10px 40px",
315
+ },
246
316
  header = {
247
317
  intents = {
248
318
  primary = {
@@ -293,7 +363,7 @@ local WoodenTheme = createTheme({
293
363
  position = {
294
364
  position = "absolute",
295
365
  center = "x",
296
- top = "-10px",
366
+ top = "0px",
297
367
  zIndex = 2,
298
368
  },
299
369
  },
@@ -353,7 +423,7 @@ local WoodenTheme = createTheme({
353
423
  },
354
424
  position = {
355
425
  position = "absolute",
356
- bottom = "-10px",
426
+ bottom = "0px",
357
427
  left = "50px",
358
428
  right = "50px",
359
429
  zIndex = 2,
@@ -385,6 +455,27 @@ local WoodenTheme = createTheme({
385
455
  },
386
456
  },
387
457
  },
458
+ optGroup = {
459
+ textColor = Color3.fromHex("#FFF7CF"),
460
+ backgroundColor = Color3.fromHex("#1F477D"),
461
+ backgroundTransparency = 0,
462
+ spacing = {
463
+ xs = 4,
464
+ sm = 6,
465
+ md = 8,
466
+ lg = 10,
467
+ xl = 12,
468
+ },
469
+ },
470
+ search = {
471
+ spacing = {
472
+ xs = 4,
473
+ sm = 6,
474
+ md = 8,
475
+ lg = 10,
476
+ xl = 12,
477
+ },
478
+ },
388
479
  },
389
480
  increment = {
390
481
  button = {
@@ -436,6 +527,148 @@ local WoodenTheme = createTheme({
436
527
  },
437
528
  },
438
529
  },
530
+ switch = {
531
+ track = {
532
+ backgroundColor = Color3.fromHex("#5C3A18"),
533
+ borderColor = Color3.fromHex("#3D2712"),
534
+ intents = {
535
+ primary = {
536
+ default = {
537
+ backgroundColor = Color3.fromHex("#A16B30"),
538
+ borderColor = Color3.fromHex("#3D2712"),
539
+ },
540
+ },
541
+ success = {
542
+ default = {
543
+ backgroundColor = Color3.fromHex("#4E6A24"),
544
+ borderColor = Color3.fromHex("#3D2712"),
545
+ },
546
+ },
547
+ info = {
548
+ default = {
549
+ backgroundColor = Color3.fromHex("#2C5270"),
550
+ borderColor = Color3.fromHex("#3D2712"),
551
+ },
552
+ },
553
+ warning = {
554
+ default = {
555
+ backgroundColor = Color3.fromHex("#A67A20"),
556
+ borderColor = Color3.fromHex("#3D2712"),
557
+ },
558
+ },
559
+ danger = {
560
+ default = {
561
+ backgroundColor = Color3.fromHex("#7A3220"),
562
+ borderColor = Color3.fromHex("#3D2712"),
563
+ },
564
+ },
565
+ },
566
+ },
567
+ thumb = {
568
+ backgroundColor = Color3.fromHex("#BA854A"),
569
+ borderColor = Color3.fromHex("#3D2712"),
570
+ },
571
+ },
572
+ slider = {
573
+ height = 20,
574
+ bar = {
575
+ height = "50%",
576
+ padding = 10,
577
+ backgroundColor = Color3.fromHex("#5C3A18"),
578
+ backgroundTransparency = 0,
579
+ borderThickness = 1,
580
+ borderColor = Color3.fromHex("#3D2712"),
581
+ cornerRadius = 4,
582
+ highlight = {
583
+ backgroundColor = Color3.fromHex("#A16B30"),
584
+ backgroundTransparency = 0,
585
+ borderColor = Color3.fromHex("#3D2712"),
586
+ },
587
+ },
588
+ handle = {
589
+ boxShadow = "0px 0px 5px 5px",
590
+ backgroundColor = Color3.fromHex("#BA854A"),
591
+ backgroundTransparency = 0,
592
+ borderThickness = 2,
593
+ borderColor = Color3.fromHex("#3D2712"),
594
+ cornerRadius = "100%",
595
+ },
596
+ },
597
+ pagination = {
598
+ backgroundColor = Color3.fromHex("#5C3A18"),
599
+ backgroundTransparency = 1,
600
+ borderColor = Color3.fromHex("#331D07"),
601
+ borderThickness = 1,
602
+ cornerRadius = 0,
603
+ item = {
604
+ borderThickness = 0,
605
+ cornerRadius = 0,
606
+ intents = {
607
+ primary = {
608
+ default = {
609
+ textColor = Color3.fromHex("#FFF7CF"),
610
+ backgroundTransparency = 1,
611
+ backgroundImage = {
612
+ image = 92016395170536,
613
+ slice = "10 5 240 40",
614
+ tintColor = Color3.fromHex("#A16B30"),
615
+ },
616
+ },
617
+ hover = {
618
+ textColor = Color3.fromHex("#D3CBA3"),
619
+ backgroundImage = {
620
+ tintColor = Color3.fromHex("#BA854A"),
621
+ },
622
+ },
623
+ focus = {
624
+ textColor = Color3.fromHex("#FFF7CF"),
625
+ backgroundTransparency = 1,
626
+ boxShadow = 0,
627
+ backgroundImage = {
628
+ tintColor = Color3.fromHex("#7A4A20"),
629
+ },
630
+ },
631
+ disabled = {
632
+ textColor = Color3.fromHex("#a4a29f"),
633
+ backgroundTransparency = 1,
634
+ backgroundImage = {
635
+ transparency = 0.3,
636
+ },
637
+ },
638
+ },
639
+ },
640
+ },
641
+ },
642
+ toast = {
643
+ intents = {
644
+ primary = {
645
+ backgroundTransparency = 1,
646
+ },
647
+ },
648
+ },
649
+ tooltip = {
650
+ cornerRadius = 0,
651
+ intents = {
652
+ primary = {
653
+ textColor = Color3.fromHex("#FFF7CF"),
654
+ backgroundColor = Color3.fromHex("#7A4A20"),
655
+ borderColor = Color3.fromHex("#3D2712"),
656
+ backgroundTransparency = 0,
657
+ },
658
+ success = {
659
+ backgroundColor = Color3.fromHex("#4E6A24"),
660
+ },
661
+ info = {
662
+ backgroundColor = Color3.fromHex("#2C5270"),
663
+ },
664
+ warning = {
665
+ backgroundColor = Color3.fromHex("#A67A20"),
666
+ },
667
+ danger = {
668
+ backgroundColor = Color3.fromHex("#7A3220"),
669
+ },
670
+ },
671
+ },
439
672
  },
440
673
  })
441
674
  return {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rbxts/react-clean-ui",
3
- "version": "1.0.38",
3
+ "version": "1.2.2",
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.6",
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",