unipo-ui 1.0.2 → 1.2.0
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/dist/{chunk-SVRTAYZW.cjs → chunk-DEF5CA7C.cjs} +22 -2
- package/dist/chunk-DEF5CA7C.cjs.map +1 -0
- package/dist/{chunk-2FW3QITF.js → chunk-SJ4DJOMZ.js} +21 -3
- package/dist/chunk-SJ4DJOMZ.js.map +1 -0
- package/dist/{content-f6eK74xx.d.cts → content-DaJPx5LX.d.cts} +6 -1
- package/dist/{content-f6eK74xx.d.ts → content-DaJPx5LX.d.ts} +6 -1
- package/dist/index.cjs +208 -175
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +17 -2
- package/dist/index.d.ts +17 -2
- package/dist/index.js +31 -6
- package/dist/index.js.map +1 -1
- package/dist/registry.json +103 -9
- package/dist/scss/components/_display.scss +46 -0
- package/dist/scss/components/_layout.scss +20 -0
- package/dist/scss/components/_overlays.scss +14 -1
- package/dist/siakad.cjs +1195 -783
- package/dist/siakad.cjs.map +1 -1
- package/dist/siakad.d.cts +306 -4
- package/dist/siakad.d.ts +306 -4
- package/dist/siakad.js +426 -23
- package/dist/siakad.js.map +1 -1
- package/dist/ui-unipo.css +77 -1
- package/dist/ui-unipo.min.css +1 -1
- package/package.json +2 -2
- package/src/components/galat.tsx +33 -0
- package/src/components/layout.tsx +42 -4
- package/src/index.ts +1 -0
- package/src/siakad/akademik.tsx +2 -1
- package/src/siakad/aplikasi.tsx +4 -2
- package/src/siakad/berkas.tsx +203 -0
- package/src/siakad/dasbor.tsx +4 -2
- package/src/siakad/galat.tsx +48 -0
- package/src/siakad/index.ts +3 -0
- package/src/siakad/kalender.tsx +3 -1
- package/src/siakad/kelengkapan.tsx +3 -1
- package/src/siakad/kurikulum.tsx +2 -1
- package/src/siakad/lms.tsx +2 -1
- package/src/siakad/log.tsx +7 -3
- package/src/siakad/pilih.tsx +321 -0
- package/src/siakad/provider.tsx +12 -3
- package/dist/chunk-2FW3QITF.js.map +0 -1
- package/dist/chunk-SVRTAYZW.cjs.map +0 -1
package/dist/registry.json
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
{
|
|
2
|
-
"version": "1.0
|
|
2
|
+
"version": "1.2.0",
|
|
3
3
|
"versions": {
|
|
4
4
|
"sass": "1.108.2",
|
|
5
5
|
"tsup": "8.5.1",
|
|
@@ -14,7 +14,7 @@
|
|
|
14
14
|
"@base-ui/react": "1.9.0",
|
|
15
15
|
"lucide-react": "1.73.0",
|
|
16
16
|
"country-flag-icons": "1.6.20",
|
|
17
|
-
"unipo-ui-tokens": "1.0
|
|
17
|
+
"unipo-ui-tokens": "1.2.0"
|
|
18
18
|
},
|
|
19
19
|
"files": {
|
|
20
20
|
"components/actions.tsx": {
|
|
@@ -316,6 +316,17 @@
|
|
|
316
316
|
"lucide-react"
|
|
317
317
|
]
|
|
318
318
|
},
|
|
319
|
+
"components/galat.tsx": {
|
|
320
|
+
"exports": [
|
|
321
|
+
"requestIdDari",
|
|
322
|
+
"KodeLaporan"
|
|
323
|
+
],
|
|
324
|
+
"local": [
|
|
325
|
+
"lib/cn.ts",
|
|
326
|
+
"components/code.tsx"
|
|
327
|
+
],
|
|
328
|
+
"npm": []
|
|
329
|
+
},
|
|
319
330
|
"components/identity.tsx": {
|
|
320
331
|
"exports": [
|
|
321
332
|
"MarkShape",
|
|
@@ -577,7 +588,8 @@
|
|
|
577
588
|
"components/display.tsx",
|
|
578
589
|
"components/charts.tsx",
|
|
579
590
|
"components/overlays.tsx",
|
|
580
|
-
"siakad/provider.tsx"
|
|
591
|
+
"siakad/provider.tsx",
|
|
592
|
+
"components/galat.tsx"
|
|
581
593
|
],
|
|
582
594
|
"npm": [
|
|
583
595
|
"react",
|
|
@@ -645,6 +657,7 @@
|
|
|
645
657
|
"components/wizard.tsx",
|
|
646
658
|
"components/data-table.tsx",
|
|
647
659
|
"siakad/provider.tsx",
|
|
660
|
+
"components/galat.tsx",
|
|
648
661
|
"siakad/log.tsx"
|
|
649
662
|
],
|
|
650
663
|
"npm": [
|
|
@@ -653,6 +666,26 @@
|
|
|
653
666
|
"unipo-siakad-sdk"
|
|
654
667
|
]
|
|
655
668
|
},
|
|
669
|
+
"siakad/berkas.tsx": {
|
|
670
|
+
"exports": [
|
|
671
|
+
"BerkasTerunggah",
|
|
672
|
+
"InfoBerkas",
|
|
673
|
+
"OpsiUnggahBerkas",
|
|
674
|
+
"useInfoBerkas",
|
|
675
|
+
"useUnggahBerkas",
|
|
676
|
+
"useUrlBerkas",
|
|
677
|
+
"UnggahBerkasProps",
|
|
678
|
+
"UnggahBerkas"
|
|
679
|
+
],
|
|
680
|
+
"local": [
|
|
681
|
+
"components/calendar.tsx",
|
|
682
|
+
"siakad/provider.tsx"
|
|
683
|
+
],
|
|
684
|
+
"npm": [
|
|
685
|
+
"react",
|
|
686
|
+
"unipo-siakad-sdk"
|
|
687
|
+
]
|
|
688
|
+
},
|
|
656
689
|
"siakad/cari.tsx": {
|
|
657
690
|
"exports": [
|
|
658
691
|
"CariProps",
|
|
@@ -826,7 +859,8 @@
|
|
|
826
859
|
"components/actions.tsx",
|
|
827
860
|
"components/display.tsx",
|
|
828
861
|
"components/charts.tsx",
|
|
829
|
-
"siakad/provider.tsx"
|
|
862
|
+
"siakad/provider.tsx",
|
|
863
|
+
"components/galat.tsx"
|
|
830
864
|
],
|
|
831
865
|
"npm": [
|
|
832
866
|
"react",
|
|
@@ -869,6 +903,22 @@
|
|
|
869
903
|
"lucide-react"
|
|
870
904
|
]
|
|
871
905
|
},
|
|
906
|
+
"siakad/galat.tsx": {
|
|
907
|
+
"exports": [
|
|
908
|
+
"GalatApiProps",
|
|
909
|
+
"GalatApi"
|
|
910
|
+
],
|
|
911
|
+
"local": [
|
|
912
|
+
"components/display.tsx",
|
|
913
|
+
"components/actions.tsx",
|
|
914
|
+
"components/galat.tsx",
|
|
915
|
+
"siakad/provider.tsx"
|
|
916
|
+
],
|
|
917
|
+
"npm": [
|
|
918
|
+
"react",
|
|
919
|
+
"lucide-react"
|
|
920
|
+
]
|
|
921
|
+
},
|
|
872
922
|
"siakad/kalender.tsx": {
|
|
873
923
|
"exports": [
|
|
874
924
|
"KegiatanTerpadu",
|
|
@@ -885,7 +935,8 @@
|
|
|
885
935
|
"components/calendar.tsx",
|
|
886
936
|
"components/display.tsx",
|
|
887
937
|
"components/schedule.tsx",
|
|
888
|
-
"siakad/provider.tsx"
|
|
938
|
+
"siakad/provider.tsx",
|
|
939
|
+
"components/galat.tsx"
|
|
889
940
|
],
|
|
890
941
|
"npm": [
|
|
891
942
|
"react",
|
|
@@ -911,7 +962,8 @@
|
|
|
911
962
|
"components/forms.tsx",
|
|
912
963
|
"components/select.tsx",
|
|
913
964
|
"components/wizard.tsx",
|
|
914
|
-
"siakad/provider.tsx"
|
|
965
|
+
"siakad/provider.tsx",
|
|
966
|
+
"components/galat.tsx"
|
|
915
967
|
],
|
|
916
968
|
"npm": [
|
|
917
969
|
"react",
|
|
@@ -984,7 +1036,8 @@
|
|
|
984
1036
|
"components/display.tsx",
|
|
985
1037
|
"components/charts.tsx",
|
|
986
1038
|
"components/overlays.tsx",
|
|
987
|
-
"siakad/provider.tsx"
|
|
1039
|
+
"siakad/provider.tsx",
|
|
1040
|
+
"components/galat.tsx"
|
|
988
1041
|
],
|
|
989
1042
|
"npm": [
|
|
990
1043
|
"react",
|
|
@@ -1024,7 +1077,8 @@
|
|
|
1024
1077
|
"components/actions.tsx",
|
|
1025
1078
|
"components/display.tsx",
|
|
1026
1079
|
"components/charts.tsx",
|
|
1027
|
-
"siakad/provider.tsx"
|
|
1080
|
+
"siakad/provider.tsx",
|
|
1081
|
+
"components/galat.tsx"
|
|
1028
1082
|
],
|
|
1029
1083
|
"npm": [
|
|
1030
1084
|
"react",
|
|
@@ -1062,6 +1116,7 @@
|
|
|
1062
1116
|
"components/overlays.tsx",
|
|
1063
1117
|
"components/data-table.tsx",
|
|
1064
1118
|
"siakad/provider.tsx",
|
|
1119
|
+
"components/galat.tsx",
|
|
1065
1120
|
"siakad/aplikasi.tsx"
|
|
1066
1121
|
],
|
|
1067
1122
|
"npm": [
|
|
@@ -1106,6 +1161,26 @@
|
|
|
1106
1161
|
"country-flag-icons"
|
|
1107
1162
|
]
|
|
1108
1163
|
},
|
|
1164
|
+
"siakad/pilih.tsx": {
|
|
1165
|
+
"exports": [
|
|
1166
|
+
"SumberEntitas",
|
|
1167
|
+
"SUMBER_ENTITAS",
|
|
1168
|
+
"JenisEntitas",
|
|
1169
|
+
"jenisEntitasDariKolom",
|
|
1170
|
+
"PilihEntitasProps",
|
|
1171
|
+
"PilihEntitas"
|
|
1172
|
+
],
|
|
1173
|
+
"local": [
|
|
1174
|
+
"components/select.tsx",
|
|
1175
|
+
"components/forms.tsx",
|
|
1176
|
+
"components/display.tsx",
|
|
1177
|
+
"siakad/provider.tsx"
|
|
1178
|
+
],
|
|
1179
|
+
"npm": [
|
|
1180
|
+
"react",
|
|
1181
|
+
"lucide-react"
|
|
1182
|
+
]
|
|
1183
|
+
},
|
|
1109
1184
|
"siakad/pmb.tsx": {
|
|
1110
1185
|
"exports": [
|
|
1111
1186
|
"FormulirPmb",
|
|
@@ -1173,7 +1248,8 @@
|
|
|
1173
1248
|
"pesanGalat"
|
|
1174
1249
|
],
|
|
1175
1250
|
"local": [
|
|
1176
|
-
"components/overlays.tsx"
|
|
1251
|
+
"components/overlays.tsx",
|
|
1252
|
+
"components/galat.tsx"
|
|
1177
1253
|
],
|
|
1178
1254
|
"npm": [
|
|
1179
1255
|
"react",
|
|
@@ -1395,6 +1471,8 @@
|
|
|
1395
1471
|
"ToggleGroup": "components/forms.tsx",
|
|
1396
1472
|
"SegmentedControlProps": "components/forms.tsx",
|
|
1397
1473
|
"SegmentedControl": "components/forms.tsx",
|
|
1474
|
+
"requestIdDari": "components/galat.tsx",
|
|
1475
|
+
"KodeLaporan": "components/galat.tsx",
|
|
1398
1476
|
"MarkShape": "components/identity.tsx",
|
|
1399
1477
|
"LogoTone": "components/identity.tsx",
|
|
1400
1478
|
"UnipoMarkProps": "components/identity.tsx",
|
|
@@ -1570,6 +1648,14 @@
|
|
|
1570
1648
|
"FormAplikasiProps": "siakad/aplikasi.tsx",
|
|
1571
1649
|
"FormAplikasi": "siakad/aplikasi.tsx",
|
|
1572
1650
|
"SheetUbahAplikasi": "siakad/aplikasi.tsx",
|
|
1651
|
+
"BerkasTerunggah": "siakad/berkas.tsx",
|
|
1652
|
+
"InfoBerkas": "siakad/berkas.tsx",
|
|
1653
|
+
"OpsiUnggahBerkas": "siakad/berkas.tsx",
|
|
1654
|
+
"useInfoBerkas": "siakad/berkas.tsx",
|
|
1655
|
+
"useUnggahBerkas": "siakad/berkas.tsx",
|
|
1656
|
+
"useUrlBerkas": "siakad/berkas.tsx",
|
|
1657
|
+
"UnggahBerkasProps": "siakad/berkas.tsx",
|
|
1658
|
+
"UnggahBerkas": "siakad/berkas.tsx",
|
|
1573
1659
|
"CariProps": "siakad/cari.tsx",
|
|
1574
1660
|
"MahasiswaOption": "siakad/cari.tsx",
|
|
1575
1661
|
"CariMahasiswaProps": "siakad/cari.tsx",
|
|
@@ -1725,6 +1811,8 @@
|
|
|
1725
1811
|
"FilterBerkas": "siakad/filter-presets.tsx",
|
|
1726
1812
|
"FilterSuratMasuk": "siakad/filter-presets.tsx",
|
|
1727
1813
|
"FilterSuratKeluar": "siakad/filter-presets.tsx",
|
|
1814
|
+
"GalatApiProps": "siakad/galat.tsx",
|
|
1815
|
+
"GalatApi": "siakad/galat.tsx",
|
|
1728
1816
|
"KegiatanTerpadu": "siakad/kalender.tsx",
|
|
1729
1817
|
"JENIS_KEGIATAN": "siakad/kalender.tsx",
|
|
1730
1818
|
"keEvent": "siakad/kalender.tsx",
|
|
@@ -1850,6 +1938,12 @@
|
|
|
1850
1938
|
"Negara": "siakad/negara.tsx",
|
|
1851
1939
|
"daftarNegara": "siakad/negara.tsx",
|
|
1852
1940
|
"Bendera": "siakad/negara.tsx",
|
|
1941
|
+
"SumberEntitas": "siakad/pilih.tsx",
|
|
1942
|
+
"SUMBER_ENTITAS": "siakad/pilih.tsx",
|
|
1943
|
+
"JenisEntitas": "siakad/pilih.tsx",
|
|
1944
|
+
"jenisEntitasDariKolom": "siakad/pilih.tsx",
|
|
1945
|
+
"PilihEntitasProps": "siakad/pilih.tsx",
|
|
1946
|
+
"PilihEntitas": "siakad/pilih.tsx",
|
|
1853
1947
|
"FormulirPmb": "siakad/pmb.tsx",
|
|
1854
1948
|
"Opsi": "siakad/pmb.tsx",
|
|
1855
1949
|
"ReferensiFormulir": "siakad/pmb.tsx",
|
|
@@ -1188,3 +1188,49 @@ button.u-step-marker {
|
|
|
1188
1188
|
}
|
|
1189
1189
|
}
|
|
1190
1190
|
}
|
|
1191
|
+
|
|
1192
|
+
// ---------------------------------------------------------------- Kode laporan (request_id di bawah pesan galat)
|
|
1193
|
+
.u-kode-laporan {
|
|
1194
|
+
display: flex;
|
|
1195
|
+
flex-wrap: wrap;
|
|
1196
|
+
align-items: center;
|
|
1197
|
+
gap: 0.375rem;
|
|
1198
|
+
margin-top: 0.375rem;
|
|
1199
|
+
font-size: var(--u-text-xs);
|
|
1200
|
+
line-height: 1.5;
|
|
1201
|
+
color: var(--u-muted-foreground);
|
|
1202
|
+
.u-alert & {
|
|
1203
|
+
color: inherit;
|
|
1204
|
+
opacity: 0.9;
|
|
1205
|
+
}
|
|
1206
|
+
.u-kode-laporan-nilai {
|
|
1207
|
+
display: inline-flex;
|
|
1208
|
+
align-items: center;
|
|
1209
|
+
gap: 0.125rem;
|
|
1210
|
+
min-width: 0;
|
|
1211
|
+
}
|
|
1212
|
+
code {
|
|
1213
|
+
padding: 0.0625rem 0.375rem;
|
|
1214
|
+
border-radius: calc(var(--u-radius) - 4px);
|
|
1215
|
+
background: color-mix(in oklab, currentColor 10%, transparent);
|
|
1216
|
+
font-family: var(--u-font-mono);
|
|
1217
|
+
font-size: inherit;
|
|
1218
|
+
word-break: break-all;
|
|
1219
|
+
user-select: all;
|
|
1220
|
+
}
|
|
1221
|
+
.u-code-copy {
|
|
1222
|
+
--u-code-muted: currentColor;
|
|
1223
|
+
--u-code-fg: currentColor;
|
|
1224
|
+
width: 1.5rem;
|
|
1225
|
+
height: 1.5rem;
|
|
1226
|
+
margin: 0;
|
|
1227
|
+
svg {
|
|
1228
|
+
width: 0.8125rem;
|
|
1229
|
+
height: 0.8125rem;
|
|
1230
|
+
}
|
|
1231
|
+
}
|
|
1232
|
+
}
|
|
1233
|
+
.u-widget-error .u-kode-laporan {
|
|
1234
|
+
flex-basis: 100%;
|
|
1235
|
+
margin-top: 0;
|
|
1236
|
+
}
|
|
@@ -23,10 +23,30 @@
|
|
|
23
23
|
}
|
|
24
24
|
.u-nav-item {
|
|
25
25
|
justify-content: center;
|
|
26
|
+
gap: 0;
|
|
26
27
|
padding: 0;
|
|
27
28
|
width: 2.5rem;
|
|
28
29
|
margin-inline: auto;
|
|
29
30
|
}
|
|
31
|
+
// Rail: hanya ikon. Label, chevron, dan sub-menu tidak ikut tampil (sub-menu dibuka sebagai menu melayang).
|
|
32
|
+
.u-nav-label,
|
|
33
|
+
.u-nav-chevron,
|
|
34
|
+
.u-nav-sub,
|
|
35
|
+
.u-sidebar-user-text {
|
|
36
|
+
display: none;
|
|
37
|
+
}
|
|
38
|
+
// Lencana jadi titik kecil di pojok ikon.
|
|
39
|
+
.u-nav-badge {
|
|
40
|
+
position: absolute;
|
|
41
|
+
top: 0.25rem;
|
|
42
|
+
right: 0.25rem;
|
|
43
|
+
min-width: 0;
|
|
44
|
+
width: 0.5rem;
|
|
45
|
+
height: 0.5rem;
|
|
46
|
+
padding: 0;
|
|
47
|
+
font-size: 0;
|
|
48
|
+
box-shadow: 0 0 0 2px var(--u-sidebar-bg);
|
|
49
|
+
}
|
|
30
50
|
.u-nav-group + .u-nav-group {
|
|
31
51
|
margin-top: 0.5rem;
|
|
32
52
|
padding-top: 0.5rem;
|
|
@@ -158,8 +158,21 @@
|
|
|
158
158
|
top: 0;
|
|
159
159
|
right: 0;
|
|
160
160
|
bottom: 0;
|
|
161
|
-
|
|
161
|
+
// Lebar ikut `size`: sm 24rem, md (bawaan) 36rem, lg 44rem, xl 56rem, full layar penuh. Atur bebas lewat --u-sheet-w.
|
|
162
|
+
width: min(100vw, var(--u-sheet-w, 36rem));
|
|
162
163
|
border-width: 0 0 0 1px;
|
|
164
|
+
&[data-size='sm'] {
|
|
165
|
+
--u-sheet-w: 24rem;
|
|
166
|
+
}
|
|
167
|
+
&[data-size='lg'] {
|
|
168
|
+
--u-sheet-w: 44rem;
|
|
169
|
+
}
|
|
170
|
+
&[data-size='xl'] {
|
|
171
|
+
--u-sheet-w: 56rem;
|
|
172
|
+
}
|
|
173
|
+
&[data-size='full'] {
|
|
174
|
+
--u-sheet-w: 100vw;
|
|
175
|
+
}
|
|
163
176
|
&[data-starting-style],
|
|
164
177
|
&[data-ending-style] {
|
|
165
178
|
transform: translateX(100%);
|