@raketa-cloud/admin 1.4.0 → 1.5.1

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.
@@ -749,542 +749,6 @@ select {
749
749
  --tw-contain-style: ;
750
750
  }
751
751
 
752
- .container {
753
- width: 100%;
754
- }
755
-
756
- @media (min-width: 640px) {
757
- .container {
758
- max-width: 640px;
759
- }
760
- }
761
-
762
- @media (min-width: 768px) {
763
- .container {
764
- max-width: 768px;
765
- }
766
- }
767
-
768
- @media (min-width: 1024px) {
769
- .container {
770
- max-width: 1024px;
771
- }
772
- }
773
-
774
- @media (min-width: 1280px) {
775
- .container {
776
- max-width: 1280px;
777
- }
778
- }
779
-
780
- @media (min-width: 1536px) {
781
- .container {
782
- max-width: 1536px;
783
- }
784
- }
785
-
786
- .prose {
787
- color: var(--tw-prose-body);
788
- max-width: 65ch;
789
- }
790
-
791
- .prose :where(p):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
792
- margin-top: 1.25em;
793
- margin-bottom: 1.25em;
794
- }
795
-
796
- .prose :where([class~="lead"]):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
797
- color: var(--tw-prose-lead);
798
- font-size: 1.25em;
799
- line-height: 1.6;
800
- margin-top: 1.2em;
801
- margin-bottom: 1.2em;
802
- }
803
-
804
- .prose :where(a):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
805
- color: var(--tw-prose-links);
806
- text-decoration: underline;
807
- font-weight: 500;
808
- }
809
-
810
- .prose :where(strong):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
811
- color: var(--tw-prose-bold);
812
- font-weight: 600;
813
- }
814
-
815
- .prose :where(a strong):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
816
- color: inherit;
817
- }
818
-
819
- .prose :where(blockquote strong):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
820
- color: inherit;
821
- }
822
-
823
- .prose :where(thead th strong):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
824
- color: inherit;
825
- }
826
-
827
- .prose :where(ol):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
828
- list-style-type: decimal;
829
- margin-top: 1.25em;
830
- margin-bottom: 1.25em;
831
- padding-inline-start: 1.625em;
832
- }
833
-
834
- .prose :where(ol[type="A"]):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
835
- list-style-type: upper-alpha;
836
- }
837
-
838
- .prose :where(ol[type="a"]):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
839
- list-style-type: lower-alpha;
840
- }
841
-
842
- .prose :where(ol[type="A" s]):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
843
- list-style-type: upper-alpha;
844
- }
845
-
846
- .prose :where(ol[type="a" s]):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
847
- list-style-type: lower-alpha;
848
- }
849
-
850
- .prose :where(ol[type="I"]):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
851
- list-style-type: upper-roman;
852
- }
853
-
854
- .prose :where(ol[type="i"]):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
855
- list-style-type: lower-roman;
856
- }
857
-
858
- .prose :where(ol[type="I" s]):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
859
- list-style-type: upper-roman;
860
- }
861
-
862
- .prose :where(ol[type="i" s]):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
863
- list-style-type: lower-roman;
864
- }
865
-
866
- .prose :where(ol[type="1"]):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
867
- list-style-type: decimal;
868
- }
869
-
870
- .prose :where(ul):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
871
- list-style-type: disc;
872
- margin-top: 1.25em;
873
- margin-bottom: 1.25em;
874
- padding-inline-start: 1.625em;
875
- }
876
-
877
- .prose :where(ol > li):not(:where([class~="not-prose"],[class~="not-prose"] *))::marker {
878
- font-weight: 400;
879
- color: var(--tw-prose-counters);
880
- }
881
-
882
- .prose :where(ul > li):not(:where([class~="not-prose"],[class~="not-prose"] *))::marker {
883
- color: var(--tw-prose-bullets);
884
- }
885
-
886
- .prose :where(dt):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
887
- color: var(--tw-prose-headings);
888
- font-weight: 600;
889
- margin-top: 1.25em;
890
- }
891
-
892
- .prose :where(hr):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
893
- border-color: var(--tw-prose-hr);
894
- border-top-width: 1px;
895
- margin-top: 3em;
896
- margin-bottom: 3em;
897
- }
898
-
899
- .prose :where(blockquote):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
900
- font-weight: 500;
901
- font-style: italic;
902
- color: var(--tw-prose-quotes);
903
- border-inline-start-width: 0.25rem;
904
- border-inline-start-color: var(--tw-prose-quote-borders);
905
- quotes: "\201C""\201D""\2018""\2019";
906
- margin-top: 1.6em;
907
- margin-bottom: 1.6em;
908
- padding-inline-start: 1em;
909
- }
910
-
911
- .prose :where(blockquote p:first-of-type):not(:where([class~="not-prose"],[class~="not-prose"] *))::before {
912
- content: open-quote;
913
- }
914
-
915
- .prose :where(blockquote p:last-of-type):not(:where([class~="not-prose"],[class~="not-prose"] *))::after {
916
- content: close-quote;
917
- }
918
-
919
- .prose :where(h1):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
920
- color: var(--tw-prose-headings);
921
- font-weight: 800;
922
- font-size: 2.25em;
923
- margin-top: 0;
924
- margin-bottom: 0.8888889em;
925
- line-height: 1.1111111;
926
- }
927
-
928
- .prose :where(h1 strong):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
929
- font-weight: 900;
930
- color: inherit;
931
- }
932
-
933
- .prose :where(h2):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
934
- color: var(--tw-prose-headings);
935
- font-weight: 700;
936
- font-size: 1.5em;
937
- margin-top: 2em;
938
- margin-bottom: 1em;
939
- line-height: 1.3333333;
940
- }
941
-
942
- .prose :where(h2 strong):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
943
- font-weight: 800;
944
- color: inherit;
945
- }
946
-
947
- .prose :where(h3):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
948
- color: var(--tw-prose-headings);
949
- font-weight: 600;
950
- font-size: 1.25em;
951
- margin-top: 1.6em;
952
- margin-bottom: 0.6em;
953
- line-height: 1.6;
954
- }
955
-
956
- .prose :where(h3 strong):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
957
- font-weight: 700;
958
- color: inherit;
959
- }
960
-
961
- .prose :where(h4):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
962
- color: var(--tw-prose-headings);
963
- font-weight: 600;
964
- margin-top: 1.5em;
965
- margin-bottom: 0.5em;
966
- line-height: 1.5;
967
- }
968
-
969
- .prose :where(h4 strong):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
970
- font-weight: 700;
971
- color: inherit;
972
- }
973
-
974
- .prose :where(img):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
975
- margin-top: 2em;
976
- margin-bottom: 2em;
977
- }
978
-
979
- .prose :where(picture):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
980
- display: block;
981
- margin-top: 2em;
982
- margin-bottom: 2em;
983
- }
984
-
985
- .prose :where(video):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
986
- margin-top: 2em;
987
- margin-bottom: 2em;
988
- }
989
-
990
- .prose :where(kbd):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
991
- font-weight: 500;
992
- font-family: inherit;
993
- color: var(--tw-prose-kbd);
994
- box-shadow: 0 0 0 1px rgb(var(--tw-prose-kbd-shadows) / 10%), 0 3px 0 rgb(var(--tw-prose-kbd-shadows) / 10%);
995
- font-size: 0.875em;
996
- border-radius: 0.3125rem;
997
- padding-top: 0.1875em;
998
- padding-inline-end: 0.375em;
999
- padding-bottom: 0.1875em;
1000
- padding-inline-start: 0.375em;
1001
- }
1002
-
1003
- .prose :where(code):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
1004
- color: var(--tw-prose-code);
1005
- font-weight: 600;
1006
- font-size: 0.875em;
1007
- }
1008
-
1009
- .prose :where(code):not(:where([class~="not-prose"],[class~="not-prose"] *))::before {
1010
- content: "`";
1011
- }
1012
-
1013
- .prose :where(code):not(:where([class~="not-prose"],[class~="not-prose"] *))::after {
1014
- content: "`";
1015
- }
1016
-
1017
- .prose :where(a code):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
1018
- color: inherit;
1019
- }
1020
-
1021
- .prose :where(h1 code):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
1022
- color: inherit;
1023
- }
1024
-
1025
- .prose :where(h2 code):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
1026
- color: inherit;
1027
- font-size: 0.875em;
1028
- }
1029
-
1030
- .prose :where(h3 code):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
1031
- color: inherit;
1032
- font-size: 0.9em;
1033
- }
1034
-
1035
- .prose :where(h4 code):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
1036
- color: inherit;
1037
- }
1038
-
1039
- .prose :where(blockquote code):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
1040
- color: inherit;
1041
- }
1042
-
1043
- .prose :where(thead th code):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
1044
- color: inherit;
1045
- }
1046
-
1047
- .prose :where(pre):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
1048
- color: var(--tw-prose-pre-code);
1049
- background-color: var(--tw-prose-pre-bg);
1050
- overflow-x: auto;
1051
- font-weight: 400;
1052
- font-size: 0.875em;
1053
- line-height: 1.7142857;
1054
- margin-top: 1.7142857em;
1055
- margin-bottom: 1.7142857em;
1056
- border-radius: 0.375rem;
1057
- padding-top: 0.8571429em;
1058
- padding-inline-end: 1.1428571em;
1059
- padding-bottom: 0.8571429em;
1060
- padding-inline-start: 1.1428571em;
1061
- }
1062
-
1063
- .prose :where(pre code):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
1064
- background-color: transparent;
1065
- border-width: 0;
1066
- border-radius: 0;
1067
- padding: 0;
1068
- font-weight: inherit;
1069
- color: inherit;
1070
- font-size: inherit;
1071
- font-family: inherit;
1072
- line-height: inherit;
1073
- }
1074
-
1075
- .prose :where(pre code):not(:where([class~="not-prose"],[class~="not-prose"] *))::before {
1076
- content: none;
1077
- }
1078
-
1079
- .prose :where(pre code):not(:where([class~="not-prose"],[class~="not-prose"] *))::after {
1080
- content: none;
1081
- }
1082
-
1083
- .prose :where(table):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
1084
- width: 100%;
1085
- table-layout: auto;
1086
- text-align: start;
1087
- margin-top: 2em;
1088
- margin-bottom: 2em;
1089
- font-size: 0.875em;
1090
- line-height: 1.7142857;
1091
- }
1092
-
1093
- .prose :where(thead):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
1094
- border-bottom-width: 1px;
1095
- border-bottom-color: var(--tw-prose-th-borders);
1096
- }
1097
-
1098
- .prose :where(thead th):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
1099
- color: var(--tw-prose-headings);
1100
- font-weight: 600;
1101
- vertical-align: bottom;
1102
- padding-inline-end: 0.5714286em;
1103
- padding-bottom: 0.5714286em;
1104
- padding-inline-start: 0.5714286em;
1105
- }
1106
-
1107
- .prose :where(tbody tr):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
1108
- border-bottom-width: 1px;
1109
- border-bottom-color: var(--tw-prose-td-borders);
1110
- }
1111
-
1112
- .prose :where(tbody tr:last-child):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
1113
- border-bottom-width: 0;
1114
- }
1115
-
1116
- .prose :where(tbody td):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
1117
- vertical-align: baseline;
1118
- }
1119
-
1120
- .prose :where(tfoot):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
1121
- border-top-width: 1px;
1122
- border-top-color: var(--tw-prose-th-borders);
1123
- }
1124
-
1125
- .prose :where(tfoot td):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
1126
- vertical-align: top;
1127
- }
1128
-
1129
- .prose :where(figure > *):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
1130
- margin-top: 0;
1131
- margin-bottom: 0;
1132
- }
1133
-
1134
- .prose :where(figcaption):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
1135
- color: var(--tw-prose-captions);
1136
- font-size: 0.875em;
1137
- line-height: 1.4285714;
1138
- margin-top: 0.8571429em;
1139
- }
1140
-
1141
- .prose {
1142
- --tw-prose-body: #374151;
1143
- --tw-prose-headings: #111827;
1144
- --tw-prose-lead: #4b5563;
1145
- --tw-prose-links: #111827;
1146
- --tw-prose-bold: #111827;
1147
- --tw-prose-counters: #6b7280;
1148
- --tw-prose-bullets: #d1d5db;
1149
- --tw-prose-hr: #e5e7eb;
1150
- --tw-prose-quotes: #111827;
1151
- --tw-prose-quote-borders: #e5e7eb;
1152
- --tw-prose-captions: #6b7280;
1153
- --tw-prose-kbd: #111827;
1154
- --tw-prose-kbd-shadows: 17 24 39;
1155
- --tw-prose-code: #111827;
1156
- --tw-prose-pre-code: #e5e7eb;
1157
- --tw-prose-pre-bg: #1f2937;
1158
- --tw-prose-th-borders: #d1d5db;
1159
- --tw-prose-td-borders: #e5e7eb;
1160
- --tw-prose-invert-body: #d1d5db;
1161
- --tw-prose-invert-headings: #fff;
1162
- --tw-prose-invert-lead: #9ca3af;
1163
- --tw-prose-invert-links: #fff;
1164
- --tw-prose-invert-bold: #fff;
1165
- --tw-prose-invert-counters: #9ca3af;
1166
- --tw-prose-invert-bullets: #4b5563;
1167
- --tw-prose-invert-hr: #374151;
1168
- --tw-prose-invert-quotes: #f3f4f6;
1169
- --tw-prose-invert-quote-borders: #374151;
1170
- --tw-prose-invert-captions: #9ca3af;
1171
- --tw-prose-invert-kbd: #fff;
1172
- --tw-prose-invert-kbd-shadows: 255 255 255;
1173
- --tw-prose-invert-code: #fff;
1174
- --tw-prose-invert-pre-code: #d1d5db;
1175
- --tw-prose-invert-pre-bg: rgb(0 0 0 / 50%);
1176
- --tw-prose-invert-th-borders: #4b5563;
1177
- --tw-prose-invert-td-borders: #374151;
1178
- font-size: 1rem;
1179
- line-height: 1.75;
1180
- }
1181
-
1182
- .prose :where(picture > img):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
1183
- margin-top: 0;
1184
- margin-bottom: 0;
1185
- }
1186
-
1187
- .prose :where(li):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
1188
- margin-top: 0.5em;
1189
- margin-bottom: 0.5em;
1190
- }
1191
-
1192
- .prose :where(ol > li):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
1193
- padding-inline-start: 0.375em;
1194
- }
1195
-
1196
- .prose :where(ul > li):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
1197
- padding-inline-start: 0.375em;
1198
- }
1199
-
1200
- .prose :where(.prose > ul > li p):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
1201
- margin-top: 0.75em;
1202
- margin-bottom: 0.75em;
1203
- }
1204
-
1205
- .prose :where(.prose > ul > li > p:first-child):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
1206
- margin-top: 1.25em;
1207
- }
1208
-
1209
- .prose :where(.prose > ul > li > p:last-child):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
1210
- margin-bottom: 1.25em;
1211
- }
1212
-
1213
- .prose :where(.prose > ol > li > p:first-child):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
1214
- margin-top: 1.25em;
1215
- }
1216
-
1217
- .prose :where(.prose > ol > li > p:last-child):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
1218
- margin-bottom: 1.25em;
1219
- }
1220
-
1221
- .prose :where(ul ul, ul ol, ol ul, ol ol):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
1222
- margin-top: 0.75em;
1223
- margin-bottom: 0.75em;
1224
- }
1225
-
1226
- .prose :where(dl):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
1227
- margin-top: 1.25em;
1228
- margin-bottom: 1.25em;
1229
- }
1230
-
1231
- .prose :where(dd):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
1232
- margin-top: 0.5em;
1233
- padding-inline-start: 1.625em;
1234
- }
1235
-
1236
- .prose :where(hr + *):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
1237
- margin-top: 0;
1238
- }
1239
-
1240
- .prose :where(h2 + *):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
1241
- margin-top: 0;
1242
- }
1243
-
1244
- .prose :where(h3 + *):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
1245
- margin-top: 0;
1246
- }
1247
-
1248
- .prose :where(h4 + *):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
1249
- margin-top: 0;
1250
- }
1251
-
1252
- .prose :where(thead th:first-child):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
1253
- padding-inline-start: 0;
1254
- }
1255
-
1256
- .prose :where(thead th:last-child):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
1257
- padding-inline-end: 0;
1258
- }
1259
-
1260
- .prose :where(tbody td, tfoot td):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
1261
- padding-top: 0.5714286em;
1262
- padding-inline-end: 0.5714286em;
1263
- padding-bottom: 0.5714286em;
1264
- padding-inline-start: 0.5714286em;
1265
- }
1266
-
1267
- .prose :where(tbody td:first-child, tfoot td:first-child):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
1268
- padding-inline-start: 0;
1269
- }
1270
-
1271
- .prose :where(tbody td:last-child, tfoot td:last-child):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
1272
- padding-inline-end: 0;
1273
- }
1274
-
1275
- .prose :where(figure):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
1276
- margin-top: 2em;
1277
- margin-bottom: 2em;
1278
- }
1279
-
1280
- .prose :where(.prose > :first-child):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
1281
- margin-top: 0;
1282
- }
1283
-
1284
- .prose :where(.prose > :last-child):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
1285
- margin-bottom: 0;
1286
- }
1287
-
1288
752
  /* Utils */
1289
753
 
1290
754
  .chip {
@@ -2102,22 +1566,6 @@ select {
2102
1566
  pointer-events: none;
2103
1567
  }
2104
1568
 
2105
- .visible {
2106
- visibility: visible;
2107
- }
2108
-
2109
- .collapse {
2110
- visibility: collapse;
2111
- }
2112
-
2113
- .static {
2114
- position: static;
2115
- }
2116
-
2117
- .fixed {
2118
- position: fixed;
2119
- }
2120
-
2121
1569
  .absolute {
2122
1570
  position: absolute;
2123
1571
  }
@@ -2138,10 +1586,6 @@ select {
2138
1586
  bottom: 5rem;
2139
1587
  }
2140
1588
 
2141
- .end-1 {
2142
- inset-inline-end: 0.25rem;
2143
- }
2144
-
2145
1589
  .left-0 {
2146
1590
  left: 0px;
2147
1591
  }
@@ -2162,10 +1606,6 @@ select {
2162
1606
  right: 1rem;
2163
1607
  }
2164
1608
 
2165
- .start-1 {
2166
- inset-inline-start: 0.25rem;
2167
- }
2168
-
2169
1609
  .top-0 {
2170
1610
  top: 0px;
2171
1611
  }
@@ -2194,10 +1634,6 @@ select {
2194
1634
  z-index: 50;
2195
1635
  }
2196
1636
 
2197
- .m-1 {
2198
- margin: 0.25rem;
2199
- }
2200
-
2201
1637
  .-my-4 {
2202
1638
  margin-top: -1rem;
2203
1639
  margin-bottom: -1rem;
@@ -2277,10 +1713,6 @@ select {
2277
1713
  display: inline-block;
2278
1714
  }
2279
1715
 
2280
- .inline {
2281
- display: inline;
2282
- }
2283
-
2284
1716
  .flex {
2285
1717
  display: flex;
2286
1718
  }
@@ -2293,54 +1725,10 @@ select {
2293
1725
  display: table;
2294
1726
  }
2295
1727
 
2296
- .table-caption {
2297
- display: table-caption;
2298
- }
2299
-
2300
- .table-cell {
2301
- display: table-cell;
2302
- }
2303
-
2304
- .table-column {
2305
- display: table-column;
2306
- }
2307
-
2308
- .table-column-group {
2309
- display: table-column-group;
2310
- }
2311
-
2312
- .table-footer-group {
2313
- display: table-footer-group;
2314
- }
2315
-
2316
- .table-header-group {
2317
- display: table-header-group;
2318
- }
2319
-
2320
- .table-row-group {
2321
- display: table-row-group;
2322
- }
2323
-
2324
- .table-row {
2325
- display: table-row;
2326
- }
2327
-
2328
1728
  .grid {
2329
1729
  display: grid;
2330
1730
  }
2331
1731
 
2332
- .contents {
2333
- display: contents;
2334
- }
2335
-
2336
- .list-item {
2337
- display: list-item;
2338
- }
2339
-
2340
- .\!hidden {
2341
- display: none !important;
2342
- }
2343
-
2344
1732
  .hidden {
2345
1733
  display: none;
2346
1734
  }
@@ -2374,14 +1762,6 @@ select {
2374
1762
  height: 2rem;
2375
1763
  }
2376
1764
 
2377
- .h-1 {
2378
- height: 0.25rem;
2379
- }
2380
-
2381
- .h-2 {
2382
- height: 0.5rem;
2383
- }
2384
-
2385
1765
  .h-5 {
2386
1766
  height: 1.25rem;
2387
1767
  }
@@ -2455,10 +1835,6 @@ select {
2455
1835
  flex: none;
2456
1836
  }
2457
1837
 
2458
- .grow {
2459
- flex-grow: 1;
2460
- }
2461
-
2462
1838
  .rotate-180 {
2463
1839
  --tw-rotate: 180deg;
2464
1840
  transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));
@@ -2476,10 +1852,6 @@ select {
2476
1852
  cursor: pointer;
2477
1853
  }
2478
1854
 
2479
- .resize {
2480
- resize: both;
2481
- }
2482
-
2483
1855
  .flex-col {
2484
1856
  flex-direction: column;
2485
1857
  }
@@ -2532,12 +1904,6 @@ select {
2532
1904
  overflow-y: auto;
2533
1905
  }
2534
1906
 
2535
- .truncate {
2536
- overflow: hidden;
2537
- text-overflow: ellipsis;
2538
- white-space: nowrap;
2539
- }
2540
-
2541
1907
  .whitespace-nowrap {
2542
1908
  white-space: nowrap;
2543
1909
  }
@@ -2661,10 +2027,6 @@ select {
2661
2027
  fill: #fbbc05;
2662
2028
  }
2663
2029
 
2664
- .p-1 {
2665
- padding: 0.25rem;
2666
- }
2667
-
2668
2030
  .p-2 {
2669
2031
  padding: 0.5rem;
2670
2032
  }
@@ -2761,10 +2123,6 @@ select {
2761
2123
  font-weight: 600;
2762
2124
  }
2763
2125
 
2764
- .uppercase {
2765
- text-transform: uppercase;
2766
- }
2767
-
2768
2126
  .lowercase {
2769
2127
  text-transform: lowercase;
2770
2128
  }
@@ -2855,12 +2213,6 @@ select {
2855
2213
  opacity: 0.6;
2856
2214
  }
2857
2215
 
2858
- .shadow {
2859
- --tw-shadow: 0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1);
2860
- --tw-shadow-colored: 0 1px 3px 0 var(--tw-shadow-color), 0 1px 2px -1px var(--tw-shadow-color);
2861
- box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);
2862
- }
2863
-
2864
2216
  .shadow-lg {
2865
2217
  --tw-shadow: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
2866
2218
  --tw-shadow-colored: 0 10px 15px -3px var(--tw-shadow-color), 0 4px 6px -4px var(--tw-shadow-color);
@@ -2873,17 +2225,6 @@ select {
2873
2225
  box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);
2874
2226
  }
2875
2227
 
2876
- .ring {
2877
- --tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);
2878
- --tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(3px + var(--tw-ring-offset-width)) var(--tw-ring-color);
2879
- box-shadow: var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow, 0 0 #0000);
2880
- }
2881
-
2882
- .blur {
2883
- --tw-blur: blur(8px);
2884
- filter: var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow);
2885
- }
2886
-
2887
2228
  .filter {
2888
2229
  filter: var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow);
2889
2230
  }
@@ -2906,10 +2247,6 @@ select {
2906
2247
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
2907
2248
  }
2908
2249
 
2909
- .\[a-zA-Z0-9\:\\\\-\\\\\._\$\] {
2910
- a-z-a--z0-9: \\-\\. $;
2911
- }
2912
-
2913
2250
  :root {
2914
2251
  --background: 255, 255, 255;
2915
2252
  --foreground: 0, 0, 0;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@raketa-cloud/admin",
3
- "version": "1.4.0",
3
+ "version": "1.5.1",
4
4
  "main": "src/index.js",
5
5
  "files": [
6
6
  "src/",
@@ -12,19 +12,19 @@
12
12
  "prepare": "npx tailwindcss -i ./src/styles/application.css -o ./dist/application.css"
13
13
  },
14
14
  "devDependencies": {
15
- "@babel/core": "7.24.7",
16
- "@babel/preset-env": "7.24.7",
17
- "@babel/preset-typescript": "7.24.7",
15
+ "@babel/core": "7.26.10",
16
+ "@babel/preset-env": "7.26.9",
17
+ "@babel/preset-typescript": "7.26.0",
18
18
  "@repo/typescript-config": "*",
19
19
  "@tailwindcss/forms": "0.5.7",
20
20
  "@tailwindcss/typography": "0.5.13",
21
- "@types/node": "20.11.24",
21
+ "@types/node": "22.13.10",
22
22
  "jest": "29.7.0",
23
23
  "tailwindcss": "3.4.4",
24
- "typescript": "5.3.3"
24
+ "typescript": "5.8.2"
25
25
  },
26
26
  "dependencies": {
27
27
  "ejs": "3.1.10",
28
- "graphql-request": "5.1.0"
28
+ "graphql-request": "7.1.2"
29
29
  }
30
30
  }
@@ -22,7 +22,7 @@ function escapeHtml(string) {
22
22
  '<': '&lt;',
23
23
  '>': '&gt;'
24
24
  };
25
-
25
+
26
26
  return String(string).replace(/["&'<>]/g, char => escape[char]);
27
27
  }
28
28
 
@@ -47,11 +47,11 @@ function putIn(result, key, value) {
47
47
 
48
48
  segments.forEach((segment, idx) => {
49
49
  const isLastSegment = idx === segments.length - 1;
50
-
50
+
51
51
  if (isLastSegment) {
52
52
  // Set value at final segment
53
- current[segment] = key.endsWith("[]") || Array.isArray(value)
54
- ? toArray(value)
53
+ current[segment] = key.endsWith("[]") || Array.isArray(value)
54
+ ? toArray(value)
55
55
  : value;
56
56
  } else {
57
57
  // Create path to next segment
@@ -71,22 +71,22 @@ function getPartialPath(partialPath, views, viewsFallback) {
71
71
  sanitizePath(`${currentPath}/views/${views}/${partialPath}`),
72
72
  viewsFallback && sanitizePath(`${currentPath}/views/${viewsFallback}/${partialPath}`)
73
73
  ].filter(Boolean);
74
-
74
+
75
75
  // Return first existing path
76
76
  const existingPath = paths.find(path => existsSync(path));
77
-
77
+
78
78
  if (existingPath) return existingPath;
79
-
79
+
80
80
  throw new Error(`Template not found: "${partialPath}"\nSearched in:\n${paths.join('\n')}`);
81
81
  }
82
82
 
83
83
  // Parse request body based on content type
84
84
  async function parseBody(req) {
85
85
  const contentType = req.header("Content-type") || "";
86
-
86
+
87
87
  if (contentType.includes("json")) return req.json();
88
88
  if (contentType === "text/plain") return req.text();
89
-
89
+
90
90
  // Default for form data and other content types
91
91
  return req.parseBody();
92
92
  }
@@ -94,11 +94,11 @@ async function parseBody(req) {
94
94
  // Convert body to request parameters
95
95
  function bodyToParams(req, parsedBody, adapter) {
96
96
  const contentType = req.header("Content-type") || "";
97
-
97
+
98
98
  if (contentType.includes("form-data") || contentType.includes("urlencoded")) {
99
99
  return adapter.parseFormBody(parsedBody);
100
100
  }
101
-
101
+
102
102
  return parsedBody;
103
103
  }
104
104
 
@@ -113,7 +113,7 @@ export default class HonoAdapter {
113
113
  // TODO: Pass in a path to redirect to after login?
114
114
  if (config) {
115
115
  setupAuthentication(router, config);
116
-
116
+
117
117
  router.get("/", (c) => {
118
118
  return c.redirect("/en");
119
119
  });
@@ -123,11 +123,11 @@ export default class HonoAdapter {
123
123
  setGlobalContext(globalCtx) {
124
124
  this.globalCtx = globalCtx;
125
125
  }
126
-
126
+
127
127
  setBeforeFilter(pattern, filter) {
128
128
  this.globalBeforeFilters.push({ pattern, filter });
129
129
  }
130
-
130
+
131
131
  setAfterFilter(pattern, filter) {
132
132
  this.globalAfterFilters.push({ pattern, filter });
133
133
  }
@@ -264,19 +264,19 @@ export default class HonoAdapter {
264
264
  async createAction([verb, path, resource, views, action, handler], resourceConfig) {
265
265
  const method = this.getMethod(verb);
266
266
  const { i18n } = this.globalConfig;
267
-
267
+
268
268
  Object.keys(i18n.locales).forEach((currentLocale) => {
269
269
  const completePath = `/${currentLocale}${path}`;
270
-
270
+
271
271
  // Clean up existing routes with same path/verb
272
- this.router.router.routes = this.router.router.routes.filter(route =>
272
+ this.router.routes = this.router.routes.filter(route =>
273
273
  route[0] !== verb || route[1] !== completePath
274
274
  );
275
275
 
276
276
  method(completePath, async (routerCtx, next) => {
277
277
  // Create context with request data
278
278
  const ctx = await this.createContext(routerCtx, next, verb, resource, action);
279
-
279
+
280
280
  // Set context properties
281
281
  Object.assign(ctx, {
282
282
  resourceConfig,
@@ -293,7 +293,7 @@ export default class HonoAdapter {
293
293
  timezones: i18n.timezones,
294
294
  locales: ctx.locales,
295
295
  locale: ctx.locale,
296
- defaultLocale: ctx.defaultLocale,
296
+ defaultLocale: ctx.defaultLocale,
297
297
  maxOpenRevisions: ctx.maxOpenRevisions,
298
298
  path: ctx.req.path,
299
299
  query: ctx.query || {},
@@ -305,7 +305,7 @@ export default class HonoAdapter {
305
305
  };
306
306
 
307
307
  ctx.logger.info(`${ctx.method} "${ctx.rawPath}" -> ${resource}/${action} | ${JSON.stringify(ctx.params)}`);
308
-
308
+
309
309
  const assigns = {
310
310
  beforeFilterAssigns: {},
311
311
  actionAssigns: {},
@@ -319,10 +319,10 @@ export default class HonoAdapter {
319
319
  for (const { pattern, filter } of this.globalBeforeFilters) {
320
320
  if (pattern.test(ctx.path)) {
321
321
  const result = filter(ctx) || {};
322
-
322
+
323
323
  if (result.redirect) return routerCtx.redirect(result.redirect);
324
324
  if (result.json) return routerCtx.json(result.json);
325
-
325
+
326
326
  Object.assign(assigns.beforeFilterAssigns, result.assigns || {});
327
327
  }
328
328
  }
@@ -330,7 +330,7 @@ export default class HonoAdapter {
330
330
  // Process action handler
331
331
  const result = await handler(ctx, resourceConfig) || {};
332
332
  assigns.actionAssigns = result.assigns || {};
333
-
333
+
334
334
  if (result.headers) this.applyHeaders(result.headers, routerCtx);
335
335
  if (result.redirect) return routerCtx.redirect(result.redirect);
336
336
  if (result.json) return routerCtx.json(result.json);
@@ -339,10 +339,10 @@ export default class HonoAdapter {
339
339
  for (const { pattern, filter } of this.globalAfterFilters) {
340
340
  if (pattern.test(ctx.path)) {
341
341
  const afterResult = filter(ctx) || {};
342
-
342
+
343
343
  if (afterResult.redirect) return routerCtx.redirect(afterResult.redirect);
344
344
  if (afterResult.json) return routerCtx.json(afterResult.json);
345
-
345
+
346
346
  Object.assign(assigns.afterFilterAssigns, afterResult.assigns || {});
347
347
  }
348
348
  }
@@ -401,4 +401,4 @@ export default class HonoAdapter {
401
401
  });
402
402
  return result;
403
403
  }
404
- }
404
+ }