@particle-network/ui-react 0.5.1-beta.7 → 0.5.1-beta.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 (37) hide show
  1. package/dist/components/ProgressWrapper/index.js +1 -1
  2. package/dist/components/UXButton/button-theme.js +2 -2
  3. package/dist/components/UXCheckbox/checkbox.extend.js +1 -1
  4. package/dist/components/UXColorPicker/color-input.js +1 -1
  5. package/dist/components/UXColorPicker/color-picker.js +2 -2
  6. package/dist/components/UXCopy/index.js +1 -1
  7. package/dist/components/UXEmpty/index.js +1 -1
  8. package/dist/components/UXHint/index.js +1 -1
  9. package/dist/components/UXInput/index.d.ts +2 -2
  10. package/dist/components/UXInput/input.extend.d.ts +2 -2
  11. package/dist/components/UXRadio/radio.extend.js +3 -3
  12. package/dist/components/UXSlider/use-slider.js +1 -1
  13. package/dist/components/UXSpinner/spinner.js +1 -1
  14. package/dist/components/UXSwitch/switch.extend.js +6 -6
  15. package/dist/components/UXTable/index.d.ts +2 -2
  16. package/dist/components/UXTable/table.extend.d.ts +2 -2
  17. package/dist/components/UXTabs/tabs.classes.js +4 -4
  18. package/dist/components/UXThemeSwitch/custom-theme-config.js +7 -5
  19. package/dist/components/UXThemeSwitch/theme-item.js +3 -3
  20. package/dist/components/UXThemeSwitch/theme-switch.js +1 -1
  21. package/dist/components/UXThemeSwitch/use-theme-store.js +1 -1
  22. package/dist/components/UXThemeSwitch/utils.js +29 -9
  23. package/dist/components/UXToast/index.js +3 -3
  24. package/dist/components/layout/Box/box-theme.d.ts +456 -39
  25. package/dist/components/layout/Box/box-theme.js +30 -10
  26. package/dist/components/layout/Box/box.js +4 -4
  27. package/dist/components/layout/Square.js +2 -4
  28. package/dist/components/typography/Text.js +4 -4
  29. package/dist/hooks/useI18n.d.ts +14 -10
  30. package/dist/hooks/useI18n.js +14 -10
  31. package/dist/utils/cn.d.ts +2 -0
  32. package/dist/utils/cn.js +258 -0
  33. package/dist/utils/index.d.ts +1 -0
  34. package/dist/utils/index.js +2 -1
  35. package/dist/utils/input-classes.js +2 -2
  36. package/package.json +5 -5
  37. package/tailwind-preset.js +62 -12
@@ -8,6 +8,8 @@ module.exports = {
8
8
  extend: {
9
9
  colors: {
10
10
  brand: '#D745FF',
11
+ blue: '#0ea5e9',
12
+ 'blue-foreground': '#000000',
11
13
  'background-pure': 'var(--background-pure)',
12
14
  },
13
15
  gap: {
@@ -118,7 +120,7 @@ module.exports = {
118
120
  DEFAULT: '#000000',
119
121
  },
120
122
  foreground: {
121
- 100: '#4E4E56',
123
+ 100: '#75757E',
122
124
  300: '#A1A1AA',
123
125
  500: '#FFFFFF',
124
126
  DEFAULT: '#FFFFFF',
@@ -145,6 +147,10 @@ module.exports = {
145
147
  foreground: '#000000',
146
148
  },
147
149
  tertiary: {
150
+ DEFAULT: '#75757E',
151
+ foreground: '#000000',
152
+ },
153
+ cursor: {
148
154
  DEFAULT: '#4E4E56',
149
155
  foreground: '#FFFFFF',
150
156
  },
@@ -197,7 +203,7 @@ module.exports = {
197
203
  DEFAULT: '#F8F8FA',
198
204
  },
199
205
  foreground: {
200
- 100: '#D8D8DE',
206
+ 100: '#83878D',
201
207
  300: '#61656B',
202
208
  500: '#0C0C0F',
203
209
  DEFAULT: '#0C0C0F',
@@ -224,6 +230,10 @@ module.exports = {
224
230
  foreground: '#FFFFFF',
225
231
  },
226
232
  tertiary: {
233
+ DEFAULT: '#83878D',
234
+ foreground: '#FFFFFF',
235
+ },
236
+ cursor: {
227
237
  DEFAULT: '#D8D8DE',
228
238
  foreground: '#000000',
229
239
  },
@@ -276,7 +286,7 @@ module.exports = {
276
286
  DEFAULT: '#000000',
277
287
  },
278
288
  foreground: {
279
- 100: '#4E4E56',
289
+ 100: '#75757E',
280
290
  300: '#A1A1AA',
281
291
  500: '#FFFFFF',
282
292
  DEFAULT: '#FFFFFF',
@@ -303,6 +313,10 @@ module.exports = {
303
313
  foreground: '#000000',
304
314
  },
305
315
  tertiary: {
316
+ DEFAULT: '#75757E',
317
+ foreground: '#000000',
318
+ },
319
+ cursor: {
306
320
  DEFAULT: '#4E4E56',
307
321
  foreground: '#FFFFFF',
308
322
  },
@@ -355,7 +369,7 @@ module.exports = {
355
369
  DEFAULT: '#F8F8FA',
356
370
  },
357
371
  foreground: {
358
- 100: '#D8D8DE',
372
+ 100: '#83878D',
359
373
  300: '#61656B',
360
374
  500: '#000000',
361
375
  DEFAULT: '#000000',
@@ -382,6 +396,10 @@ module.exports = {
382
396
  foreground: '#FFFFFF',
383
397
  },
384
398
  tertiary: {
399
+ DEFAULT: '#83878D',
400
+ foreground: '#FFFFFF',
401
+ },
402
+ cursor: {
385
403
  DEFAULT: '#D8D8DE',
386
404
  foreground: '#000000',
387
405
  },
@@ -434,7 +452,7 @@ module.exports = {
434
452
  DEFAULT: '#100E11',
435
453
  },
436
454
  foreground: {
437
- 100: '#4E4E56',
455
+ 100: '#888891',
438
456
  300: '#BBBBC4',
439
457
  500: '#FDFDFE',
440
458
  DEFAULT: '#FDFDFE',
@@ -461,6 +479,10 @@ module.exports = {
461
479
  foreground: '#000000',
462
480
  },
463
481
  tertiary: {
482
+ DEFAULT: '#888891',
483
+ foreground: '#000000',
484
+ },
485
+ cursor: {
464
486
  DEFAULT: '#4E4E56',
465
487
  foreground: '#FFFFFF',
466
488
  },
@@ -513,7 +535,7 @@ module.exports = {
513
535
  DEFAULT: '#F6F6F6',
514
536
  },
515
537
  foreground: {
516
- 100: '#CFCFD7',
538
+ 100: '#7A7E84',
517
539
  300: '#55585C',
518
540
  500: '#000000',
519
541
  DEFAULT: '#000000',
@@ -540,6 +562,10 @@ module.exports = {
540
562
  foreground: '#FFFFFF',
541
563
  },
542
564
  tertiary: {
565
+ DEFAULT: '#7A7E84',
566
+ foreground: '#FFFFFF',
567
+ },
568
+ cursor: {
543
569
  DEFAULT: '#CFCFD7',
544
570
  foreground: '#000000',
545
571
  },
@@ -592,7 +618,7 @@ module.exports = {
592
618
  DEFAULT: '#0C0C0F',
593
619
  },
594
620
  foreground: {
595
- 100: '#5D6466',
621
+ 100: '#757E80',
596
622
  300: '#C4CCCC',
597
623
  500: '#F0F5F5',
598
624
  DEFAULT: '#F0F5F5',
@@ -619,6 +645,10 @@ module.exports = {
619
645
  foreground: '#000000',
620
646
  },
621
647
  tertiary: {
648
+ DEFAULT: '#757E80',
649
+ foreground: '#000000',
650
+ },
651
+ cursor: {
622
652
  DEFAULT: '#5D6466',
623
653
  foreground: '#FFFFFF',
624
654
  },
@@ -671,7 +701,7 @@ module.exports = {
671
701
  DEFAULT: '#0C0C0F',
672
702
  },
673
703
  foreground: {
674
- 100: '#4A4D5E',
704
+ 100: '#777A8C',
675
705
  300: '#C8C9D1',
676
706
  500: '#FCFCFC',
677
707
  DEFAULT: '#FCFCFC',
@@ -698,6 +728,10 @@ module.exports = {
698
728
  foreground: '#000000',
699
729
  },
700
730
  tertiary: {
731
+ DEFAULT: '#777A8C',
732
+ foreground: '#000000',
733
+ },
734
+ cursor: {
701
735
  DEFAULT: '#4A4D5E',
702
736
  foreground: '#FFFFFF',
703
737
  },
@@ -750,7 +784,7 @@ module.exports = {
750
784
  DEFAULT: '#0A1318',
751
785
  },
752
786
  foreground: {
753
- 100: '#5D6466',
787
+ 100: '#949E9C',
754
788
  300: '#D1D4DC',
755
789
  500: '#F6FEFD',
756
790
  DEFAULT: '#F6FEFD',
@@ -777,6 +811,10 @@ module.exports = {
777
811
  foreground: '#000000',
778
812
  },
779
813
  tertiary: {
814
+ DEFAULT: '#949E9C',
815
+ foreground: '#000000',
816
+ },
817
+ cursor: {
780
818
  DEFAULT: '#5D6466',
781
819
  foreground: '#FFFFFF',
782
820
  },
@@ -829,7 +867,7 @@ module.exports = {
829
867
  DEFAULT: '#13121A',
830
868
  },
831
869
  foreground: {
832
- 100: '#54515E',
870
+ 100: '#717373',
833
871
  300: '#999999',
834
872
  500: '#FFFFFF',
835
873
  DEFAULT: '#FFFFFF',
@@ -856,6 +894,10 @@ module.exports = {
856
894
  foreground: '#000000',
857
895
  },
858
896
  tertiary: {
897
+ DEFAULT: '#717373',
898
+ foreground: '#000000',
899
+ },
900
+ cursor: {
859
901
  DEFAULT: '#54515E',
860
902
  foreground: '#FFFFFF',
861
903
  },
@@ -908,7 +950,7 @@ module.exports = {
908
950
  DEFAULT: '#0B0E11',
909
951
  },
910
952
  foreground: {
911
- 100: '#444A56',
953
+ 100: '#707A8A',
912
954
  300: '#929AA5',
913
955
  500: '#EAECEF',
914
956
  DEFAULT: '#EAECEF',
@@ -935,6 +977,10 @@ module.exports = {
935
977
  foreground: '#000000',
936
978
  },
937
979
  tertiary: {
980
+ DEFAULT: '#707A8A',
981
+ foreground: '#000000',
982
+ },
983
+ cursor: {
938
984
  DEFAULT: '#444A56',
939
985
  foreground: '#FFFFFF',
940
986
  },
@@ -987,7 +1033,7 @@ module.exports = {
987
1033
  DEFAULT: '#09090B',
988
1034
  },
989
1035
  foreground: {
990
- 100: '#4B4D51',
1036
+ 100: '#686A6D',
991
1037
  300: '#98989B',
992
1038
  500: '#E9E9E9',
993
1039
  DEFAULT: '#E9E9E9',
@@ -1014,6 +1060,10 @@ module.exports = {
1014
1060
  foreground: '#000000',
1015
1061
  },
1016
1062
  tertiary: {
1063
+ DEFAULT: '#686A6D',
1064
+ foreground: '#000000',
1065
+ },
1066
+ cursor: {
1017
1067
  DEFAULT: '#4B4D51',
1018
1068
  foreground: '#FFFFFF',
1019
1069
  },