@rovula/ui 0.0.13 → 0.0.14

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 (95) hide show
  1. package/dist/cjs/bundle.css +227 -16
  2. package/dist/cjs/bundle.js +3 -3
  3. package/dist/cjs/bundle.js.map +1 -1
  4. package/dist/cjs/types/components/ActionButton/ActionButton.d.ts +20 -0
  5. package/dist/cjs/types/components/ActionButton/ActionButton.stories.d.ts +311 -0
  6. package/dist/cjs/types/components/ActionButton/ActionButton.styles.d.ts +6 -0
  7. package/dist/cjs/types/components/Avatar/Avatar.d.ts +32 -0
  8. package/dist/cjs/types/components/Avatar/Avatar.stories.d.ts +64 -0
  9. package/dist/cjs/types/components/Avatar/Avatar.styles.d.ts +4 -0
  10. package/dist/cjs/types/components/Avatar/AvatarBase.d.ts +6 -0
  11. package/dist/cjs/types/components/Avatar/AvatarGroup.d.ts +11 -0
  12. package/dist/cjs/types/components/Avatar/AvatarGroup.stories.d.ts +31 -0
  13. package/dist/cjs/types/components/Input/Input.d.ts +21 -4
  14. package/dist/cjs/types/components/Input/Input.stories.d.ts +340 -22
  15. package/dist/cjs/types/components/Input/Input.styles.d.ts +9 -0
  16. package/dist/cjs/types/components/Label/Label.d.ts +6 -1
  17. package/dist/cjs/types/components/Label/Label.stories.d.ts +10 -1
  18. package/dist/cjs/types/components/Label/Label.styles.d.ts +6 -0
  19. package/dist/cjs/types/components/Navbar/Navbar.d.ts +12 -0
  20. package/dist/cjs/types/components/Navbar/Navbar.stories.d.ts +35 -0
  21. package/dist/cjs/types/components/Search/Search.d.ts +2 -0
  22. package/dist/cjs/types/components/Search/Search.stories.d.ts +21 -0
  23. package/dist/cjs/types/components/ThemeToggle.d.ts +2 -0
  24. package/dist/components/ActionButton/ActionButton.js +38 -0
  25. package/dist/components/ActionButton/ActionButton.stories.js +45 -0
  26. package/dist/components/ActionButton/ActionButton.styles.js +71 -0
  27. package/dist/components/Avatar/Avatar.js +22 -0
  28. package/dist/components/Avatar/Avatar.stories.js +47 -0
  29. package/dist/components/Avatar/Avatar.styles.js +23 -0
  30. package/dist/components/Avatar/AvatarBase.js +43 -0
  31. package/dist/components/Avatar/AvatarGroup.js +21 -0
  32. package/dist/components/Avatar/AvatarGroup.stories.js +47 -0
  33. package/dist/components/Button/Button.styles.js +6 -6
  34. package/dist/components/Input/Input.js +5 -4
  35. package/dist/components/Input/Input.stories.js +2 -4
  36. package/dist/components/Input/Input.styles.js +45 -0
  37. package/dist/components/Label/Label.js +7 -3
  38. package/dist/components/Label/Label.styles.js +57 -0
  39. package/dist/components/Navbar/Navbar.js +9 -0
  40. package/dist/components/Navbar/Navbar.stories.js +41 -0
  41. package/dist/components/Search/Search.js +19 -0
  42. package/dist/components/Search/Search.stories.js +36 -0
  43. package/dist/components/Text/Text.js +2 -1
  44. package/dist/components/ThemeToggle.js +17 -0
  45. package/dist/esm/bundle.css +227 -16
  46. package/dist/esm/bundle.js +3 -3
  47. package/dist/esm/bundle.js.map +1 -1
  48. package/dist/esm/types/components/ActionButton/ActionButton.d.ts +20 -0
  49. package/dist/esm/types/components/ActionButton/ActionButton.stories.d.ts +311 -0
  50. package/dist/esm/types/components/ActionButton/ActionButton.styles.d.ts +6 -0
  51. package/dist/esm/types/components/Avatar/Avatar.d.ts +32 -0
  52. package/dist/esm/types/components/Avatar/Avatar.stories.d.ts +64 -0
  53. package/dist/esm/types/components/Avatar/Avatar.styles.d.ts +4 -0
  54. package/dist/esm/types/components/Avatar/AvatarBase.d.ts +6 -0
  55. package/dist/esm/types/components/Avatar/AvatarGroup.d.ts +11 -0
  56. package/dist/esm/types/components/Avatar/AvatarGroup.stories.d.ts +31 -0
  57. package/dist/esm/types/components/Input/Input.d.ts +21 -4
  58. package/dist/esm/types/components/Input/Input.stories.d.ts +340 -22
  59. package/dist/esm/types/components/Input/Input.styles.d.ts +9 -0
  60. package/dist/esm/types/components/Label/Label.d.ts +6 -1
  61. package/dist/esm/types/components/Label/Label.stories.d.ts +10 -1
  62. package/dist/esm/types/components/Label/Label.styles.d.ts +6 -0
  63. package/dist/esm/types/components/Navbar/Navbar.d.ts +12 -0
  64. package/dist/esm/types/components/Navbar/Navbar.stories.d.ts +35 -0
  65. package/dist/esm/types/components/Search/Search.d.ts +2 -0
  66. package/dist/esm/types/components/Search/Search.stories.d.ts +21 -0
  67. package/dist/esm/types/components/ThemeToggle.d.ts +2 -0
  68. package/dist/index.d.ts +22 -10
  69. package/dist/src/theme/global.css +290 -21
  70. package/dist/theme/global.css +11 -0
  71. package/dist/theme/presets/colors.js +28 -0
  72. package/package.json +2 -1
  73. package/src/components/ActionButton/ActionButton.stories.tsx +176 -0
  74. package/src/components/ActionButton/ActionButton.styles.ts +79 -0
  75. package/src/components/ActionButton/ActionButton.tsx +42 -0
  76. package/src/components/Avatar/Avatar.stories.tsx +107 -0
  77. package/src/components/Avatar/Avatar.styles.ts +28 -0
  78. package/src/components/Avatar/Avatar.tsx +88 -0
  79. package/src/components/Avatar/AvatarBase.tsx +50 -0
  80. package/src/components/Avatar/AvatarGroup.stories.tsx +77 -0
  81. package/src/components/Avatar/AvatarGroup.tsx +55 -0
  82. package/src/components/Button/Button.styles.ts +6 -6
  83. package/src/components/Input/Input.stories.tsx +8 -6
  84. package/src/components/Input/Input.styles.tsx +51 -0
  85. package/src/components/Input/Input.tsx +30 -6
  86. package/src/components/Label/Label.styles.ts +61 -0
  87. package/src/components/Label/Label.tsx +13 -7
  88. package/src/components/Navbar/Navbar.stories.tsx +86 -0
  89. package/src/components/Navbar/Navbar.tsx +56 -0
  90. package/src/components/Search/Search.stories.tsx +44 -0
  91. package/src/components/Search/Search.tsx +25 -0
  92. package/src/components/Text/Text.tsx +2 -1
  93. package/src/components/ThemeToggle.tsx +19 -0
  94. package/src/theme/global.css +11 -0
  95. package/src/theme/presets/colors.js +28 -0
@@ -652,6 +652,9 @@ video {
652
652
  /* #CC3E2A */
653
653
  --error-default: var(--error-100);
654
654
  --error-foreground: var(--white);
655
+ --main-transparent-primary: 1 1 68;
656
+ --main-transparent-secondary: 234 241 255;
657
+ --main-transparent-tertiary: 47 78 255;
655
658
  /* Button */
656
659
  --btn-rounded-sm: 10px;
657
660
  --btn-rounded-md: 12px;
@@ -679,6 +682,12 @@ video {
679
682
  --popup-overlay: 0 0 0;
680
683
  --popup-overlay-alpha: 0.48;
681
684
  --popup-rounded: 24px;
685
+ /* Navbar */
686
+ --navbar-height: 58px;
687
+ --navbar-bg-color: var(--primary-default);
688
+ --navbar-text-color: var(--primary-foreground);
689
+ --navbar-border-color: var(--primary-foreground);
690
+ --navbar-gap: 16px;
682
691
  /* TODO for shadcn, wait for refactor */
683
692
  /* --background: 0 0% 100%; */
684
693
  --background: 220 100% 99%;
@@ -848,6 +857,10 @@ body {
848
857
  pointer-events: none;
849
858
  }
850
859
 
860
+ .static {
861
+ position: static;
862
+ }
863
+
851
864
  .fixed {
852
865
  position: fixed;
853
866
  }
@@ -913,6 +926,10 @@ body {
913
926
  top: 50%;
914
927
  }
915
928
 
929
+ .z-0 {
930
+ z-index: 0;
931
+ }
932
+
916
933
  .z-10 {
917
934
  z-index: 10;
918
935
  }
@@ -1046,18 +1063,75 @@ body {
1046
1063
  height: 1rem;
1047
1064
  }
1048
1065
 
1066
+ .h-\[18px\] {
1067
+ height: 18px;
1068
+ }
1069
+
1070
+ .h-\[24px\] {
1071
+ height: 24px;
1072
+ }
1073
+
1074
+ .h-\[30px\] {
1075
+ height: 30px;
1076
+ }
1077
+
1078
+ .h-\[32px\] {
1079
+ height: 32px;
1080
+ }
1081
+
1082
+ .h-\[38px\] {
1083
+ height: 38px;
1084
+ }
1085
+
1086
+ .h-\[40px\] {
1087
+ height: 40px;
1088
+ }
1089
+
1090
+ .h-\[48px\] {
1091
+ height: 48px;
1092
+ }
1093
+
1049
1094
  .h-\[54px\] {
1050
1095
  height: 54px;
1051
1096
  }
1052
1097
 
1098
+ .h-\[56px\] {
1099
+ height: 56px;
1100
+ }
1101
+
1102
+ .h-\[64px\] {
1103
+ height: 64px;
1104
+ }
1105
+
1106
+ .h-\[var\(--navbar-height\)\] {
1107
+ height: var(--navbar-height);
1108
+ }
1109
+
1110
+ .h-fit {
1111
+ height: -moz-fit-content;
1112
+ height: fit-content;
1113
+ }
1114
+
1053
1115
  .h-full {
1054
1116
  height: 100%;
1055
1117
  }
1056
1118
 
1119
+ .h-screen {
1120
+ height: 100vh;
1121
+ }
1122
+
1057
1123
  .max-h-60 {
1058
1124
  max-height: 15rem;
1059
1125
  }
1060
1126
 
1127
+ .w-1\/2 {
1128
+ width: 50%;
1129
+ }
1130
+
1131
+ .w-10 {
1132
+ width: 2.5rem;
1133
+ }
1134
+
1061
1135
  .w-4 {
1062
1136
  width: 1rem;
1063
1137
  }
@@ -1070,14 +1144,58 @@ body {
1070
1144
  width: 100px;
1071
1145
  }
1072
1146
 
1147
+ .w-\[18px\] {
1148
+ width: 18px;
1149
+ }
1150
+
1073
1151
  .w-\[200px\] {
1074
1152
  width: 200px;
1075
1153
  }
1076
1154
 
1155
+ .w-\[20px\] {
1156
+ width: 20px;
1157
+ }
1158
+
1159
+ .w-\[24px\] {
1160
+ width: 24px;
1161
+ }
1162
+
1163
+ .w-\[30px\] {
1164
+ width: 30px;
1165
+ }
1166
+
1167
+ .w-\[32px\] {
1168
+ width: 32px;
1169
+ }
1170
+
1171
+ .w-\[38px\] {
1172
+ width: 38px;
1173
+ }
1174
+
1077
1175
  .w-\[400px\] {
1078
1176
  width: 400px;
1079
1177
  }
1080
1178
 
1179
+ .w-\[40px\] {
1180
+ width: 40px;
1181
+ }
1182
+
1183
+ .w-\[46px\] {
1184
+ width: 46px;
1185
+ }
1186
+
1187
+ .w-\[48px\] {
1188
+ width: 48px;
1189
+ }
1190
+
1191
+ .w-\[56px\] {
1192
+ width: 56px;
1193
+ }
1194
+
1195
+ .w-\[64px\] {
1196
+ width: 64px;
1197
+ }
1198
+
1081
1199
  .w-auto {
1082
1200
  width: auto;
1083
1201
  }
@@ -1098,6 +1216,10 @@ body {
1098
1216
  flex: 1 1 0%;
1099
1217
  }
1100
1218
 
1219
+ .flex-shrink-0 {
1220
+ flex-shrink: 0;
1221
+ }
1222
+
1101
1223
  .shrink-0 {
1102
1224
  flex-shrink: 0;
1103
1225
  }
@@ -1161,10 +1283,18 @@ body {
1161
1283
  flex-direction: column-reverse;
1162
1284
  }
1163
1285
 
1286
+ .flex-wrap {
1287
+ flex-wrap: wrap;
1288
+ }
1289
+
1164
1290
  .items-center {
1165
1291
  align-items: center;
1166
1292
  }
1167
1293
 
1294
+ .justify-end {
1295
+ justify-content: flex-end;
1296
+ }
1297
+
1168
1298
  .justify-center {
1169
1299
  justify-content: center;
1170
1300
  }
@@ -1202,6 +1332,11 @@ body {
1202
1332
  column-gap: 2rem;
1203
1333
  }
1204
1334
 
1335
+ .gap-x-\[var\(--navbar-gap\)\] {
1336
+ -moz-column-gap: var(--navbar-gap);
1337
+ column-gap: var(--navbar-gap);
1338
+ }
1339
+
1205
1340
  .gap-y-4 {
1206
1341
  row-gap: 1rem;
1207
1342
  }
@@ -1210,6 +1345,12 @@ body {
1210
1345
  row-gap: 1.5rem;
1211
1346
  }
1212
1347
 
1348
+ .-space-x-2 > :not([hidden]) ~ :not([hidden]) {
1349
+ --tw-space-x-reverse: 0;
1350
+ margin-right: calc(-0.5rem * var(--tw-space-x-reverse));
1351
+ margin-left: calc(-0.5rem * calc(1 - var(--tw-space-x-reverse)));
1352
+ }
1353
+
1213
1354
  .space-x-2 > :not([hidden]) ~ :not([hidden]) {
1214
1355
  --tw-space-x-reverse: 0;
1215
1356
  margin-right: calc(0.5rem * var(--tw-space-x-reverse));
@@ -1252,6 +1393,12 @@ body {
1252
1393
  overflow-y: scroll;
1253
1394
  }
1254
1395
 
1396
+ .truncate {
1397
+ overflow: hidden;
1398
+ text-overflow: ellipsis;
1399
+ white-space: nowrap;
1400
+ }
1401
+
1255
1402
  .whitespace-nowrap {
1256
1403
  white-space: nowrap;
1257
1404
  }
@@ -1320,6 +1467,10 @@ body {
1320
1467
  border-top-width: 1px;
1321
1468
  }
1322
1469
 
1470
+ .border-solid {
1471
+ border-style: solid;
1472
+ }
1473
+
1323
1474
  .border-error {
1324
1475
  --tw-border-opacity: 1;
1325
1476
  border-color: rgb(var(--error-100) / var(--tw-border-opacity));
@@ -1330,6 +1481,10 @@ body {
1330
1481
  border-color: rgb(209 213 219 / var(--tw-border-opacity));
1331
1482
  }
1332
1483
 
1484
+ .border-grey2-500\/\[\.32\] {
1485
+ border-color: rgb(var(--grey2-500) / .32);
1486
+ }
1487
+
1333
1488
  .border-info {
1334
1489
  --tw-border-opacity: 1;
1335
1490
  border-color: rgb(var(--info-default) / var(--tw-border-opacity));
@@ -1340,6 +1495,14 @@ body {
1340
1495
  border-color: rgb(var(--input-default-stroke-color) / var(--tw-border-opacity));
1341
1496
  }
1342
1497
 
1498
+ .border-main-transparent-primary-48 {
1499
+ border-color: rgb(var(--main-transparent-primary) / 0.48);
1500
+ }
1501
+
1502
+ .border-main-transparent-secondary-32 {
1503
+ border-color: rgb(var(--main-transparent-secondary) / 0.32);
1504
+ }
1505
+
1343
1506
  .border-primary {
1344
1507
  --tw-border-opacity: 1;
1345
1508
  border-color: rgb(var(--primary-default) / var(--tw-border-opacity));
@@ -1389,10 +1552,23 @@ body {
1389
1552
  border-color: rgb(var(--warning-default) / var(--tw-border-opacity));
1390
1553
  }
1391
1554
 
1555
+ .border-b-\[rgb\(var\(--navbar-border-color\)\)\] {
1556
+ border-bottom-color: rgb(var(--navbar-border-color));
1557
+ }
1558
+
1559
+ .bg-\[rgb\(var\(--navbar-bg-color\)\)\] {
1560
+ background-color: rgb(var(--navbar-bg-color));
1561
+ }
1562
+
1392
1563
  .bg-background {
1393
1564
  background-color: hsl(var(--background));
1394
1565
  }
1395
1566
 
1567
+ .bg-black {
1568
+ --tw-bg-opacity: 1;
1569
+ background-color: rgb(0 0 0 / var(--tw-bg-opacity));
1570
+ }
1571
+
1396
1572
  .bg-error {
1397
1573
  --tw-bg-opacity: 1;
1398
1574
  background-color: rgb(var(--error-100) / var(--tw-bg-opacity));
@@ -1408,6 +1584,16 @@ body {
1408
1584
  background-color: rgb(var(--grey2-300) / var(--tw-bg-opacity));
1409
1585
  }
1410
1586
 
1587
+ .bg-grey2-500 {
1588
+ --tw-bg-opacity: 1;
1589
+ background-color: rgb(var(--grey2-500) / var(--tw-bg-opacity));
1590
+ }
1591
+
1592
+ .bg-grey2-700 {
1593
+ --tw-bg-opacity: 1;
1594
+ background-color: rgb(var(--grey2-700) / var(--tw-bg-opacity));
1595
+ }
1596
+
1411
1597
  .bg-info {
1412
1598
  --tw-bg-opacity: 1;
1413
1599
  background-color: rgb(var(--info-default) / var(--tw-bg-opacity));
@@ -1432,6 +1618,11 @@ body {
1432
1618
  background-color: rgb(var(--primary-default) / var(--tw-bg-opacity));
1433
1619
  }
1434
1620
 
1621
+ .bg-primary-120 {
1622
+ --tw-bg-opacity: 1;
1623
+ background-color: rgb(var(--primary-120) / var(--tw-bg-opacity));
1624
+ }
1625
+
1435
1626
  .bg-secondary-100 {
1436
1627
  --tw-bg-opacity: 1;
1437
1628
  background-color: rgb(var(--secondary-100) / var(--tw-bg-opacity));
@@ -1442,6 +1633,11 @@ body {
1442
1633
  background-color: rgb(var(--secondary-110) / var(--tw-bg-opacity));
1443
1634
  }
1444
1635
 
1636
+ .bg-secondary-20 {
1637
+ --tw-bg-opacity: 1;
1638
+ background-color: rgb(var(--secondary-20) / var(--tw-bg-opacity));
1639
+ }
1640
+
1445
1641
  .bg-secondary-80 {
1446
1642
  --tw-bg-opacity: 1;
1447
1643
  background-color: rgb(var(--secondary-80) / var(--tw-bg-opacity));
@@ -1495,10 +1691,26 @@ body {
1495
1691
  fill: rgb(var(--input-disabled-text-color) / 1);
1496
1692
  }
1497
1693
 
1694
+ .fill-red-500 {
1695
+ fill: #ef4444;
1696
+ }
1697
+
1498
1698
  .fill-secondary-110 {
1499
1699
  fill: rgb(var(--secondary-110) / 1);
1500
1700
  }
1501
1701
 
1702
+ .fill-secondary-70 {
1703
+ fill: rgb(var(--secondary-70) / 1);
1704
+ }
1705
+
1706
+ .fill-secondary-foreground {
1707
+ fill: rgb(var(--secondary-foreground) / 1);
1708
+ }
1709
+
1710
+ .fill-textcolor-medium {
1711
+ fill: rgb(var(--text-default-medium) / 1);
1712
+ }
1713
+
1502
1714
  .p-1 {
1503
1715
  padding: 0.25rem;
1504
1716
  }
@@ -1507,6 +1719,10 @@ body {
1507
1719
  padding: 0.5rem;
1508
1720
  }
1509
1721
 
1722
+ .p-20 {
1723
+ padding: 5rem;
1724
+ }
1725
+
1510
1726
  .p-4 {
1511
1727
  padding: 1rem;
1512
1728
  }
@@ -1523,11 +1739,20 @@ body {
1523
1739
  padding: 2rem;
1524
1740
  }
1525
1741
 
1742
+ .p-\[2px\] {
1743
+ padding: 2px;
1744
+ }
1745
+
1526
1746
  .px-1 {
1527
1747
  padding-left: 0.25rem;
1528
1748
  padding-right: 0.25rem;
1529
1749
  }
1530
1750
 
1751
+ .px-2 {
1752
+ padding-left: 0.5rem;
1753
+ padding-right: 0.5rem;
1754
+ }
1755
+
1531
1756
  .px-3 {
1532
1757
  padding-left: 0.75rem;
1533
1758
  padding-right: 0.75rem;
@@ -1543,6 +1768,11 @@ body {
1543
1768
  padding-right: 1.5rem;
1544
1769
  }
1545
1770
 
1771
+ .px-8 {
1772
+ padding-left: 2rem;
1773
+ padding-right: 2rem;
1774
+ }
1775
+
1546
1776
  .px-\[2px\] {
1547
1777
  padding-left: 2px;
1548
1778
  padding-right: 2px;
@@ -1573,6 +1803,11 @@ body {
1573
1803
  padding-bottom: 1rem;
1574
1804
  }
1575
1805
 
1806
+ .py-6 {
1807
+ padding-top: 1.5rem;
1808
+ padding-bottom: 1.5rem;
1809
+ }
1810
+
1576
1811
  .pe-\[30px\] {
1577
1812
  padding-inline-end: 30px;
1578
1813
  }
@@ -1741,6 +1976,11 @@ body {
1741
1976
  font-weight: 600;
1742
1977
  }
1743
1978
 
1979
+ .text-xl {
1980
+ font-size: 1.25rem;
1981
+ line-height: 1.75rem;
1982
+ }
1983
+
1744
1984
  .font-bold {
1745
1985
  font-weight: 700;
1746
1986
  }
@@ -1765,6 +2005,10 @@ body {
1765
2005
  letter-spacing: -0.025em;
1766
2006
  }
1767
2007
 
2008
+ .text-\[rgb\(var\(--navbar-text-color\)\)\] {
2009
+ color: rgb(var(--navbar-text-color));
2010
+ }
2011
+
1768
2012
  .text-black {
1769
2013
  --tw-text-opacity: 1;
1770
2014
  color: rgb(0 0 0 / var(--tw-text-opacity));
@@ -1789,6 +2033,10 @@ body {
1789
2033
  color: rgb(243 244 246 / var(--tw-text-opacity));
1790
2034
  }
1791
2035
 
2036
+ .text-grey2-500\/\[\.32\] {
2037
+ color: rgb(var(--grey2-500) / .32);
2038
+ }
2039
+
1792
2040
  .text-info {
1793
2041
  --tw-text-opacity: 1;
1794
2042
  color: rgb(var(--info-default) / var(--tw-text-opacity));
@@ -1834,6 +2082,11 @@ body {
1834
2082
  color: rgb(var(--secondary-130) / var(--tw-text-opacity));
1835
2083
  }
1836
2084
 
2085
+ .text-secondary-70 {
2086
+ --tw-text-opacity: 1;
2087
+ color: rgb(var(--secondary-70) / var(--tw-text-opacity));
2088
+ }
2089
+
1837
2090
  .text-secondary-foreground {
1838
2091
  --tw-text-opacity: 1;
1839
2092
  color: rgb(var(--secondary-foreground) / var(--tw-text-opacity));
@@ -1879,6 +2132,11 @@ body {
1879
2132
  color: rgb(var(--text-grey-medium) / var(--tw-text-opacity));
1880
2133
  }
1881
2134
 
2135
+ .text-textcolor-medium {
2136
+ --tw-text-opacity: 1;
2137
+ color: rgb(var(--text-default-medium) / var(--tw-text-opacity));
2138
+ }
2139
+
1882
2140
  .text-warning {
1883
2141
  --tw-text-opacity: 1;
1884
2142
  color: rgb(var(--warning-default) / var(--tw-text-opacity));
@@ -2135,23 +2393,6 @@ body {
2135
2393
  font-weight: 400;
2136
2394
  }
2137
2395
 
2138
- .file\:border-0::file-selector-button {
2139
- border-width: 0px;
2140
- }
2141
-
2142
- .file\:bg-transparent::file-selector-button {
2143
- background-color: transparent;
2144
- }
2145
-
2146
- .file\:text-sm::file-selector-button {
2147
- font-size: 0.875rem;
2148
- line-height: 1.25rem;
2149
- }
2150
-
2151
- .file\:font-medium::file-selector-button {
2152
- font-weight: 500;
2153
- }
2154
-
2155
2396
  .placeholder\:text-input-text-disabled::-moz-placeholder {
2156
2397
  --tw-text-opacity: 1;
2157
2398
  color: rgb(var(--input-disabled-text-color) / var(--tw-text-opacity));
@@ -2200,6 +2441,19 @@ body {
2200
2441
  background-color: rgb(var(--info-100)) / var(--tw-bg-opacity));
2201
2442
  }
2202
2443
 
2444
+ .hover\:bg-main-transparent-primary-8:hover {
2445
+ background-color: rgb(var(--main-transparent-primary) / 0.8);
2446
+ }
2447
+
2448
+ .hover\:bg-main-transparent-secondary-8:hover {
2449
+ background-color: rgb(var(--main-transparent-secondary) / 0.8);
2450
+ }
2451
+
2452
+ .hover\:bg-primary-100:hover {
2453
+ --tw-bg-opacity: 1;
2454
+ background-color: rgb(var(--primary-100) / var(--tw-bg-opacity));
2455
+ }
2456
+
2203
2457
  .hover\:bg-primary-80:hover {
2204
2458
  --tw-bg-opacity: 1;
2205
2459
  background-color: rgb(var(--primary-80) / var(--tw-bg-opacity));
@@ -2210,6 +2464,11 @@ body {
2210
2464
  background-color: rgb(var(--secondary-120) / var(--tw-bg-opacity));
2211
2465
  }
2212
2466
 
2467
+ .hover\:bg-secondary-5:hover {
2468
+ --tw-bg-opacity: 1;
2469
+ background-color: rgb(var(--secondary-5) / var(--tw-bg-opacity));
2470
+ }
2471
+
2213
2472
  .hover\:bg-success-120:hover {
2214
2473
  --tw-bg-opacity: 1;
2215
2474
  background-color: rgb(var(--success-120)) / var(--tw-bg-opacity));
@@ -2241,6 +2500,20 @@ body {
2241
2500
  fill: rgb(var(--input-default-text-color) / 1);
2242
2501
  }
2243
2502
 
2503
+ .hover\:fill-secondary-5:hover {
2504
+ fill: rgb(var(--secondary-5) / 1);
2505
+ }
2506
+
2507
+ .hover\:text-primary:hover {
2508
+ --tw-text-opacity: 1;
2509
+ color: rgb(var(--primary-default) / var(--tw-text-opacity));
2510
+ }
2511
+
2512
+ .hover\:text-secondary-5:hover {
2513
+ --tw-text-opacity: 1;
2514
+ color: rgb(var(--secondary-5) / var(--tw-text-opacity));
2515
+ }
2516
+
2244
2517
  .hover\:text-textcolor-dark:hover {
2245
2518
  --tw-text-opacity: 1;
2246
2519
  color: rgb(var(--text-default-dark) / var(--tw-text-opacity));
@@ -2352,10 +2625,6 @@ body {
2352
2625
  fill: rgb(var(--secondary-110) / 1);
2353
2626
  }
2354
2627
 
2355
- .disabled\:opacity-50:disabled {
2356
- opacity: 0.5;
2357
- }
2358
-
2359
2628
  .peer:-moz-placeholder-shown ~ .peer-placeholder-shown\:top-2 {
2360
2629
  top: 0.5rem;
2361
2630
  }
@@ -128,6 +128,10 @@
128
128
  --error-default: var(--error-100);
129
129
  --error-foreground: var(--white);
130
130
 
131
+ --main-transparent-primary: 1 1 68;
132
+ --main-transparent-secondary: 234 241 255;
133
+ --main-transparent-tertiary: 47 78 255;
134
+
131
135
  /* Button */
132
136
  --btn-rounded-sm: 10px;
133
137
  --btn-rounded-md: 12px;
@@ -162,6 +166,13 @@
162
166
  --popup-overlay: 0 0 0;
163
167
  --popup-overlay-alpha: 0.48;
164
168
  --popup-rounded: 24px;
169
+
170
+ /* Navbar */
171
+ --navbar-height: 58px;
172
+ --navbar-bg-color: var(--primary-default);
173
+ --navbar-text-color: var(--primary-foreground);
174
+ --navbar-border-color: var(--primary-foreground);
175
+ --navbar-gap: 16px;
165
176
 
166
177
  /* TODO for shadcn, wait for refactor */
167
178
  /* --background: 0 0% 100%; */
@@ -141,6 +141,34 @@ module.exports = {
141
141
  DEFAULT: "rgb(var(--error-100) / <alpha-value>)",
142
142
  foreground: "rgb(var(--error-foreground) / <alpha-value>)",
143
143
  },
144
+ main: {
145
+ transparent: {
146
+ primary: {
147
+ 8: "rgb(var(--main-transparent-primary) / 0.8)",
148
+ 12: "rgb(var(--main-transparent-primary) / 0.12)",
149
+ 16: "rgb(var(--main-transparent-primary) / 0.16)",
150
+ 24: "rgb(var(--main-transparent-primary) / 0.24)",
151
+ 32: "rgb(var(--main-transparent-primary) / 0.32)",
152
+ 48: "rgb(var(--main-transparent-primary) / 0.48)",
153
+ },
154
+ secondary: {
155
+ 8: "rgb(var(--main-transparent-secondary) / 0.8)",
156
+ 12: "rgb(var(--main-transparent-secondary) / 0.12)",
157
+ 16: "rgb(var(--main-transparent-secondary) / 0.16)",
158
+ 24: "rgb(var(--main-transparent-secondary) / 0.24)",
159
+ 32: "rgb(var(--main-transparent-secondary) / 0.32)",
160
+ 48: "rgb(var(--main-transparent-secondary) / 0.48)",
161
+ },
162
+ tertiary: {
163
+ 8: "rgb(var(--main-transparent-tertiary) / 0.8)",
164
+ 12: "rgb(var(--main-transparent-tertiary) / 0.12)",
165
+ 16: "rgb(var(--main-transparent-tertiary) / 0.16)",
166
+ 24: "rgb(var(--main-transparent-tertiary) / 0.24)",
167
+ 32: "rgb(var(--main-transparent-tertiary) / 0.32)",
168
+ 48: "rgb(var(--main-transparent-tertiary) / 0.48)",
169
+ },
170
+ },
171
+ },
144
172
  // Component color
145
173
  input: {
146
174
  text: {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rovula/ui",
3
- "version": "0.0.13",
3
+ "version": "0.0.14",
4
4
  "main": "dist/cjs/bundle.js",
5
5
  "module": "dist/esm/bundle.js",
6
6
  "types": "dist/index.d.ts",
@@ -69,6 +69,7 @@
69
69
  "@headlessui/react": "^2.0.3",
70
70
  "@heroicons/react": "^2.1.3",
71
71
  "@radix-ui/react-alert-dialog": "^1.0.5",
72
+ "@radix-ui/react-avatar": "^1.1.0",
72
73
  "@radix-ui/react-checkbox": "^1.0.4",
73
74
  "@radix-ui/react-dialog": "^1.0.5",
74
75
  "@radix-ui/react-label": "^2.0.2",