unipo-ui 1.2.0 → 1.3.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.
Files changed (173) hide show
  1. package/cli/index.mjs +53 -4
  2. package/dist/admisi-YCOE3DMH.cjs +20 -0
  3. package/dist/admisi-YXCTBECZ.js +11 -0
  4. package/dist/akademik-PJGL6MSP.cjs +20 -0
  5. package/dist/akademik-TPDFEZGF.js +11 -0
  6. package/dist/akses-AUPQD6YN.cjs +20 -0
  7. package/dist/akses-V5XIMBWT.js +11 -0
  8. package/dist/arsip-2T7IEION.cjs +20 -0
  9. package/dist/arsip-LDRV7FYX.js +11 -0
  10. package/dist/cbt-4N6COVIN.js +11 -0
  11. package/dist/cbt-GMQSR7TP.cjs +20 -0
  12. package/dist/chunk-34OKV63Q.js +122 -0
  13. package/dist/chunk-34OKV63Q.js.map +1 -0
  14. package/dist/chunk-3O5ELKBH.cjs +18 -0
  15. package/dist/chunk-3O5ELKBH.cjs.map +1 -0
  16. package/dist/chunk-4BQOABRV.js +462 -0
  17. package/dist/chunk-4BQOABRV.js.map +1 -0
  18. package/dist/{chunk-DEF5CA7C.cjs → chunk-5VNCBW4R.cjs} +282 -1165
  19. package/dist/chunk-5VNCBW4R.cjs.map +1 -0
  20. package/dist/{chunk-SJ4DJOMZ.js → chunk-7AJ4LW5H.js} +163 -1019
  21. package/dist/chunk-7AJ4LW5H.js.map +1 -0
  22. package/dist/chunk-JASW45YF.cjs +510 -0
  23. package/dist/chunk-JASW45YF.cjs.map +1 -0
  24. package/dist/chunk-JSUHAYQ4.js +15 -0
  25. package/dist/chunk-JSUHAYQ4.js.map +1 -0
  26. package/dist/chunk-LN6HZMPI.js +1006 -0
  27. package/dist/chunk-LN6HZMPI.js.map +1 -0
  28. package/dist/chunk-LNJTDEQR.cjs +1937 -0
  29. package/dist/chunk-LNJTDEQR.cjs.map +1 -0
  30. package/dist/chunk-MKQEH7QS.cjs +1058 -0
  31. package/dist/chunk-MKQEH7QS.cjs.map +1 -0
  32. package/dist/chunk-TAKLMRU7.cjs +150 -0
  33. package/dist/chunk-TAKLMRU7.cjs.map +1 -0
  34. package/dist/chunk-TYCRRYCQ.js +1843 -0
  35. package/dist/chunk-TYCRRYCQ.js.map +1 -0
  36. package/dist/crm-C4XGSG6O.js +11 -0
  37. package/dist/crm-LTVCDNMK.cjs +20 -0
  38. package/dist/dasbor-OJLMSFTF.cjs +20 -0
  39. package/dist/dasbor-Y3UPFYFE.js +11 -0
  40. package/dist/edom-3GZUUB7H.cjs +20 -0
  41. package/dist/edom-K4Y2NV4K.js +11 -0
  42. package/dist/fakultas-DJRUVJBV.js +11 -0
  43. package/dist/fakultas-VVAQOPUX.cjs +20 -0
  44. package/dist/filter-D54KALbB.d.cts +436 -0
  45. package/dist/filter-D54KALbB.d.ts +436 -0
  46. package/dist/helpdesk-AWVC7BPE.cjs +20 -0
  47. package/dist/helpdesk-BAOXAU6G.js +11 -0
  48. package/dist/humas-7BMMJ3WF.js +11 -0
  49. package/dist/humas-H56JFUW6.cjs +20 -0
  50. package/dist/ikon.cjs +125 -0
  51. package/dist/ikon.cjs.map +1 -0
  52. package/dist/ikon.d.cts +140 -0
  53. package/dist/ikon.d.ts +140 -0
  54. package/dist/ikon.js +6 -0
  55. package/dist/ikon.js.map +1 -0
  56. package/dist/iku-7JLF2NIH.js +11 -0
  57. package/dist/iku-F47ZLMYJ.cjs +20 -0
  58. package/dist/index.cjs +544 -257
  59. package/dist/index.cjs.map +1 -1
  60. package/dist/index.d.cts +192 -2
  61. package/dist/index.d.ts +192 -2
  62. package/dist/index.js +126 -4
  63. package/dist/index.js.map +1 -1
  64. package/dist/induk-BGTGKRLL.js +11 -0
  65. package/dist/induk-DLYDMZAM.cjs +20 -0
  66. package/dist/integrasi-4VXNGA3V.cjs +20 -0
  67. package/dist/integrasi-IP3WWDO7.js +11 -0
  68. package/dist/kalender-DGQDGJCL.cjs +20 -0
  69. package/dist/kalender-FGGUBYKZ.js +11 -0
  70. package/dist/karier-H3HBFCQQ.js +11 -0
  71. package/dist/karier-QTU2P5YD.cjs +20 -0
  72. package/dist/katalog.cjs +1709 -0
  73. package/dist/katalog.cjs.map +1 -0
  74. package/dist/katalog.d.cts +645 -0
  75. package/dist/katalog.d.ts +645 -0
  76. package/dist/katalog.js +1626 -0
  77. package/dist/katalog.js.map +1 -0
  78. package/dist/kelulusan-BHFQM5N4.cjs +20 -0
  79. package/dist/kelulusan-ZR7CM6I5.js +11 -0
  80. package/dist/kemahasiswaan-EINWXAY7.cjs +20 -0
  81. package/dist/kemahasiswaan-NH2LEDH7.js +11 -0
  82. package/dist/kerjasama-FAOHZCML.js +11 -0
  83. package/dist/kerjasama-TXWJOU4Y.cjs +20 -0
  84. package/dist/keu-4TXF4FEP.cjs +20 -0
  85. package/dist/keu-SD7UOCDB.js +11 -0
  86. package/dist/kurikulum-SRO7TJYI.cjs +20 -0
  87. package/dist/kurikulum-XT7PZJOK.js +11 -0
  88. package/dist/layanan-RQ2AWCQ5.cjs +20 -0
  89. package/dist/layanan-Y6WUCSD2.js +11 -0
  90. package/dist/lms-5JYOSLBI.cjs +20 -0
  91. package/dist/lms-NTXMSHG2.js +11 -0
  92. package/dist/lppm-7DH7PRF3.cjs +20 -0
  93. package/dist/lppm-UXYGIOIF.js +11 -0
  94. package/dist/master-GKTTAKLF.cjs +20 -0
  95. package/dist/master-ZG4SPPDU.js +11 -0
  96. package/dist/mbkm-OGR72BTB.js +11 -0
  97. package/dist/mbkm-URKJHUIQ.cjs +20 -0
  98. package/dist/notifikasi-FMA26M4I.js +11 -0
  99. package/dist/notifikasi-QDCYIX7G.cjs +20 -0
  100. package/dist/pddikti-RJVYY2J4.cjs +20 -0
  101. package/dist/pddikti-VF2PXDKA.js +11 -0
  102. package/dist/{content-DaJPx5LX.d.cts → pemeliharaan-D5S-1lqW.d.ts} +38 -434
  103. package/dist/{content-DaJPx5LX.d.ts → pemeliharaan-Dr0HSxvZ.d.cts} +38 -434
  104. package/dist/perpustakaan-5RL33XG2.js +11 -0
  105. package/dist/perpustakaan-JXZW43MJ.cjs +20 -0
  106. package/dist/pilih-BEes_D3n.d.cts +205 -0
  107. package/dist/pilih-CEKqXMUS.d.ts +205 -0
  108. package/dist/pmb-EGTWW2ZH.cjs +20 -0
  109. package/dist/pmb-G7EAFJ3R.js +11 -0
  110. package/dist/portal-EI7TXN7H.cjs +20 -0
  111. package/dist/portal-MMUYX3RA.js +11 -0
  112. package/dist/portal-api-BJLO6AGI.js +11 -0
  113. package/dist/portal-api-Q6B3X6ZV.cjs +20 -0
  114. package/dist/profil-46FV46VH.cjs +20 -0
  115. package/dist/profil-4BIXIM6D.js +11 -0
  116. package/dist/referensi-HNYOJGNX.js +11 -0
  117. package/dist/referensi-VOT5BRCL.cjs +20 -0
  118. package/dist/registry.json +606 -4
  119. package/dist/repositori-2MJ43NXM.js +11 -0
  120. package/dist/repositori-KFXVJB7B.cjs +20 -0
  121. package/dist/rpl-2ZXHNSPF.js +11 -0
  122. package/dist/rpl-YF5MV2YA.cjs +20 -0
  123. package/dist/sarpras-CQ7QKVUN.js +11 -0
  124. package/dist/sarpras-XGPHHFCG.cjs +20 -0
  125. package/dist/scss/components/_animasi.scss +280 -0
  126. package/dist/scss/components/_ikon.scss +249 -0
  127. package/dist/scss/components/_katalog.scss +662 -0
  128. package/dist/scss/components/_platform.scss +364 -0
  129. package/dist/scss/index.scss +4 -0
  130. package/dist/sdm-N6LE66PP.cjs +20 -0
  131. package/dist/sdm-QKBXH3JF.js +11 -0
  132. package/dist/siakad.cjs +1389 -2915
  133. package/dist/siakad.cjs.map +1 -1
  134. package/dist/siakad.d.cts +31 -196
  135. package/dist/siakad.d.ts +31 -196
  136. package/dist/siakad.js +446 -2194
  137. package/dist/siakad.js.map +1 -1
  138. package/dist/spmi-J37NEYIU.js +11 -0
  139. package/dist/spmi-N6EU7KNC.cjs +20 -0
  140. package/dist/tracer-G6DDXVXC.cjs +20 -0
  141. package/dist/tracer-M3FTNWBG.js +11 -0
  142. package/dist/ui-unipo.css +1650 -0
  143. package/dist/ui-unipo.min.css +1 -1
  144. package/package.json +25 -3
  145. package/src/components/animasi.tsx +186 -0
  146. package/src/components/modal.tsx +113 -0
  147. package/src/components/overlays.tsx +6 -1
  148. package/src/components/pemeliharaan.tsx +152 -0
  149. package/src/components/platform.tsx +94 -0
  150. package/src/ikon/ilustrasi.tsx +283 -0
  151. package/src/ikon/index.ts +7 -0
  152. package/src/ikon/kotak.tsx +30 -0
  153. package/src/ikon/unipo.tsx +326 -0
  154. package/src/index.ts +8 -0
  155. package/src/katalog/aturan.ts +488 -0
  156. package/src/katalog/data/id.ts +749 -0
  157. package/src/katalog/data/indeks.json +1 -0
  158. package/src/katalog/data/muat.ts +47 -0
  159. package/src/katalog/ikon.tsx +11 -0
  160. package/src/katalog/index.ts +13 -0
  161. package/src/katalog/isian.tsx +372 -0
  162. package/src/katalog/katalog.tsx +138 -0
  163. package/src/katalog/kelola.tsx +620 -0
  164. package/src/katalog/modul.tsx +336 -0
  165. package/src/katalog/tampil.tsx +147 -0
  166. package/src/katalog/tipe.ts +141 -0
  167. package/src/katalog/wizard.tsx +155 -0
  168. package/src/lib/platform.ts +91 -0
  169. package/src/siakad/index.ts +1 -0
  170. package/src/siakad/pemeliharaan.tsx +118 -0
  171. package/src/siakad/provider.tsx +2 -0
  172. package/dist/chunk-DEF5CA7C.cjs.map +0 -1
  173. package/dist/chunk-SJ4DJOMZ.js.map +0 -1
@@ -0,0 +1,283 @@
1
+ 'use client';
2
+ import * as React from 'react';
3
+ import {
4
+ Archive,
5
+ Award,
6
+ BadgeCheck,
7
+ Bell,
8
+ BookMarked,
9
+ BookOpen,
10
+ Briefcase,
11
+ Building2,
12
+ CalendarDays,
13
+ ClipboardCheck,
14
+ Compass,
15
+ Contact,
16
+ Database,
17
+ DoorOpen,
18
+ FileCheck2,
19
+ FileSearch,
20
+ Gauge,
21
+ GraduationCap,
22
+ Handshake,
23
+ IdCard,
24
+ KeyRound,
25
+ Landmark,
26
+ Library,
27
+ LifeBuoy,
28
+ ListTree,
29
+ Lock,
30
+ Megaphone,
31
+ MessageSquareText,
32
+ MonitorPlay,
33
+ Newspaper,
34
+ PartyPopper,
35
+ Plug,
36
+ Repeat,
37
+ Route,
38
+ Search,
39
+ Send,
40
+ ShieldCheck,
41
+ Sparkles,
42
+ Target,
43
+ TriangleAlert,
44
+ UserPlus,
45
+ UserRound,
46
+ Users,
47
+ Wallet,
48
+ Warehouse,
49
+ Wrench,
50
+ } from 'lucide-react';
51
+ import { cn } from '../lib/cn';
52
+ import type { NadaIkon } from './kotak';
53
+ import { IkonAkreditasi, IkonBeasiswa, IkonKampus, IkonKhs, IkonKkn, IkonKrs, IkonKtm, IkonOrmawa, IkonPenelitian, IkonPinjamRuang, IkonSinkronPddikti, IkonSkripsi, IkonSurat, IkonToga, IkonUkt } from './unipo';
54
+
55
+ type Ik = React.ComponentType<React.SVGProps<SVGSVGElement> & { size?: number | string; strokeWidth?: number }>;
56
+ interface Adegan {
57
+ nada: NadaIkon;
58
+ /** Ikon utama di kotak besar. */
59
+ ikon: Ik;
60
+ /** Ikon kedua di kotak kecil yang miring. */
61
+ ikon2?: Ik;
62
+ /** Tampilkan tokoh. */
63
+ tokoh?: 'jalan' | 'tunjuk' | 'duduk';
64
+ }
65
+
66
+ /** Adegan ilustrasi untuk tiap modul katalog dan keadaan umum. */
67
+ export const ADEGAN: Record<string, Adegan> = {
68
+ // Grup
69
+ sistem: { nada: 'indigo', ikon: ShieldCheck, ikon2: KeyRound },
70
+ referensi: { nada: 'toska', ikon: Database, ikon2: ListTree },
71
+ akademik: { nada: 'biru', ikon: GraduationCap, ikon2: IkonKrs },
72
+ kemahasiswaan: { nada: 'merah-muda', ikon: IkonOrmawa, ikon2: Award },
73
+ alumni: { nada: 'ungu', ikon: Compass, ikon2: Briefcase },
74
+ kelembagaan: { nada: 'kuning', ikon: Landmark, ikon2: IkonAkreditasi },
75
+ layanan: { nada: 'hijau', ikon: FileCheck2, ikon2: IkonSurat },
76
+ sarana: { nada: 'oranye', ikon: Warehouse, ikon2: IkonPinjamRuang },
77
+ humas: { nada: 'mawar', ikon: Megaphone, ikon2: Newspaper },
78
+ // Modul
79
+ akses: { nada: 'indigo', ikon: ShieldCheck, ikon2: KeyRound },
80
+ 'portal-api': { nada: 'indigo', ikon: Plug, ikon2: KeyRound },
81
+ profil: { nada: 'indigo', ikon: UserRound, ikon2: IkonKtm },
82
+ notifikasi: { nada: 'indigo', ikon: Bell, ikon2: Send },
83
+ integrasi: { nada: 'indigo', ikon: Plug, ikon2: Sparkles },
84
+ pddikti: { nada: 'indigo', ikon: IkonSinkronPddikti, ikon2: Send },
85
+ dasbor: { nada: 'indigo', ikon: Gauge, ikon2: Target },
86
+ 'referensi-akademik': { nada: 'toska', ikon: ListTree, ikon2: Database },
87
+ master: { nada: 'toska', ikon: Database, ikon2: IkonKampus },
88
+ induk: { nada: 'toska', ikon: Building2, ikon2: Users },
89
+ perkuliahan: { nada: 'biru', ikon: GraduationCap, ikon2: IkonKrs },
90
+ kurikulum: { nada: 'biru', ikon: BookOpen, ikon2: Target },
91
+ kalender: { nada: 'biru', ikon: CalendarDays, ikon2: Bell },
92
+ admisi: { nada: 'biru', ikon: DoorOpen, ikon2: IkonUkt },
93
+ pmb: { nada: 'biru', ikon: UserPlus, ikon2: IkonKtm },
94
+ lms: { nada: 'biru', ikon: MonitorPlay, ikon2: BookOpen },
95
+ cbt: { nada: 'biru', ikon: ClipboardCheck, ikon2: IkonKhs },
96
+ edom: { nada: 'biru', ikon: MessageSquareText, ikon2: BadgeCheck },
97
+ mbkm: { nada: 'biru', ikon: Route, ikon2: Briefcase },
98
+ rpl: { nada: 'biru', ikon: Repeat, ikon2: IkonKhs },
99
+ kelulusan: { nada: 'biru', ikon: IkonToga, ikon2: Award },
100
+ tracer: { nada: 'ungu', ikon: Compass, ikon2: IkonToga },
101
+ karier: { nada: 'ungu', ikon: Briefcase, ikon2: Handshake },
102
+ fakultas: { nada: 'kuning', ikon: Landmark, ikon2: IkonKampus },
103
+ sdm: { nada: 'kuning', ikon: IdCard, ikon2: Users },
104
+ keu: { nada: 'kuning', ikon: Wallet, ikon2: IkonUkt },
105
+ lppm: { nada: 'kuning', ikon: IkonPenelitian, ikon2: IkonKkn },
106
+ spmi: { nada: 'kuning', ikon: BadgeCheck, ikon2: IkonAkreditasi },
107
+ iku: { nada: 'kuning', ikon: Target, ikon2: Gauge },
108
+ kerjasama: { nada: 'kuning', ikon: Handshake, ikon2: IkonSurat },
109
+ arsip: { nada: 'hijau', ikon: Archive, ikon2: IkonSurat },
110
+ helpdesk: { nada: 'hijau', ikon: LifeBuoy, ikon2: MessageSquareText },
111
+ sarpras: { nada: 'oranye', ikon: Warehouse, ikon2: IkonPinjamRuang },
112
+ perpustakaan: { nada: 'oranye', ikon: BookMarked, ikon2: Library },
113
+ repositori: { nada: 'oranye', ikon: Library, ikon2: IkonSkripsi },
114
+ portal: { nada: 'mawar', ikon: Newspaper, ikon2: Megaphone },
115
+ crm: { nada: 'mawar', ikon: Contact, ikon2: Target },
116
+ beasiswa: { nada: 'merah-muda', ikon: IkonBeasiswa, ikon2: Award },
117
+ // Keadaan
118
+ kosong: { nada: 'langit', ikon: FileSearch, tokoh: 'tunjuk' },
119
+ cari: { nada: 'langit', ikon: Search, tokoh: 'tunjuk' },
120
+ galat: { nada: 'mawar', ikon: TriangleAlert, tokoh: 'duduk' },
121
+ pemeliharaan: { nada: 'kuning', ikon: Wrench, tokoh: 'duduk' },
122
+ terkunci: { nada: 'indigo', ikon: Lock, tokoh: 'tunjuk' },
123
+ sukses: { nada: 'hijau', ikon: PartyPopper, tokoh: 'jalan' },
124
+ 'selamat-datang': { nada: 'biru', ikon: Sparkles, ikon2: IkonKampus, tokoh: 'jalan' },
125
+ };
126
+
127
+ /** Nama adegan yang tersedia. */
128
+ export type NamaIlustrasi = keyof typeof ADEGAN | (string & {});
129
+
130
+ export interface IlustrasiProps extends Omit<React.SVGProps<SVGSVGElement>, 'children'> {
131
+ /** Kunci modul katalog (akademik, keu, sarpras, …), grup, atau keadaan (kosong, galat, pemeliharaan, sukses, terkunci, cari, selamat-datang). */
132
+ nama: NamaIlustrasi;
133
+ /** Lebar (px/CSS). Tinggi ikut rasio 4:3. */
134
+ lebar?: number | string;
135
+ /** Bentuk melayang dan tokoh bergerak pelan (bawaan true; mati bila pengguna memilih kurangi gerakan). */
136
+ bergerak?: boolean;
137
+ /** Ganti warna/ikon. */
138
+ nada?: NadaIkon;
139
+ ikon?: Ik;
140
+ /** Teks alternatif; kosong = dekoratif. */
141
+ label?: string;
142
+ }
143
+
144
+ /**
145
+ * Ilustrasi vektor bergaya 3D lembut (clay) untuk modul dan keadaan: kotak ikon timbul, bentuk geometris
146
+ * melayang, dan tokoh untuk keadaan kosong/galat/sukses. Warna mengikuti tema dan mode gelap.
147
+ * <Ilustrasi nama="beasiswa" lebar={240} />
148
+ */
149
+ export function Ilustrasi({ nama, lebar = 240, bergerak = true, nada, ikon, label, className, style, ...rest }: IlustrasiProps) {
150
+ const a = ADEGAN[nama] ?? { nada: 'primary' as const, ikon: Sparkles };
151
+ const uid = React.useId().replace(/:/g, '');
152
+ const Ikon = ikon ?? a.ikon;
153
+ const Ikon2 = a.ikon2;
154
+ const g = (n: string) => `${uid}-${n}`;
155
+ const ada = Boolean(a.tokoh);
156
+ const kx = ada ? 128 : 78; // posisi kotak utama
157
+ return (
158
+ <svg
159
+ viewBox="0 0 240 180"
160
+ width={lebar}
161
+ className={cn('u-ilustrasi', className)}
162
+ data-nada={nada ?? a.nada}
163
+ data-bergerak={bergerak || undefined}
164
+ role={label ? 'img' : undefined}
165
+ aria-label={label}
166
+ aria-hidden={label ? undefined : true}
167
+ style={style}
168
+ {...rest}
169
+ >
170
+ <defs>
171
+ <radialGradient id={g('latar')} cx="50%" cy="45%" r="60%">
172
+ <stop offset="0" className="u-ilus-latar-1" />
173
+ <stop offset="1" className="u-ilus-latar-2" />
174
+ </radialGradient>
175
+ <linearGradient id={g('kotak')} x1="0" y1="0" x2="1" y2="1">
176
+ <stop offset="0" className="u-ilus-terang" />
177
+ <stop offset="1" className="u-ilus-gelap" />
178
+ </linearGradient>
179
+ <linearGradient id={g('kilap')} x1="0" y1="0" x2="0" y2="1">
180
+ <stop offset="0" stopColor="#fff" stopOpacity="0.55" />
181
+ <stop offset="0.6" stopColor="#fff" stopOpacity="0" />
182
+ </linearGradient>
183
+ <linearGradient id={g('baju')} x1="0" y1="0" x2="0.4" y2="1">
184
+ <stop offset="0" stopColor="#4aa3f0" />
185
+ <stop offset="1" stopColor="#1f6fd1" />
186
+ </linearGradient>
187
+ <linearGradient id={g('celana')} x1="0" y1="0" x2="0" y2="1">
188
+ <stop offset="0" stopColor="#3a3f55" />
189
+ <stop offset="1" stopColor="#1e2233" />
190
+ </linearGradient>
191
+ <radialGradient id={g('kulit')} cx="40%" cy="35%" r="70%">
192
+ <stop offset="0" stopColor="#ffe3cf" />
193
+ <stop offset="1" stopColor="#f2b896" />
194
+ </radialGradient>
195
+ <filter id={g('bayang')} x="-30%" y="-30%" width="160%" height="170%">
196
+ <feDropShadow dx="0" dy="6" stdDeviation="6" floodOpacity="0.18" />
197
+ </filter>
198
+ </defs>
199
+
200
+ {/* Latar lembut */}
201
+ <ellipse cx="120" cy="92" rx="104" ry="78" fill={`url(#${g('latar')})`} />
202
+
203
+ {/* Bentuk melayang (segitiga, cincin, belah ketupat) */}
204
+ <g className="u-ilus-bentuk">
205
+ <path className="u-ilus-b1" d="M28 40l10-3 -3 10z" fill="#5fd4c4" />
206
+ <path className="u-ilus-b2" d="M200 28l14 6-12 9z" fill="#ec8cc8" />
207
+ <circle className="u-ilus-b3" cx="214" cy="104" r="7" fill="none" stroke="#7c7cf0" strokeWidth="4.5" />
208
+ <circle className="u-ilus-b4" cx="26" cy="122" r="6" fill="none" stroke="#f4c95d" strokeWidth="4" />
209
+ <path className="u-ilus-b5" d="M190 146l7 -9 4 11z" fill="none" stroke="#5fd4c4" strokeWidth="2.5" strokeLinejoin="round" />
210
+ <rect className="u-ilus-b6" x="52" y="18" width="8" height="8" rx="1.5" transform="rotate(25 56 22)" fill="#5fd4c4" opacity=".85" />
211
+ </g>
212
+
213
+ {/* Bayangan lantai */}
214
+ <ellipse cx={ada ? 120 : 120} cy="160" rx={ada ? 78 : 56} ry="6" className="u-ilus-lantai" />
215
+
216
+ {/* Kotak kedua (miring di belakang) */}
217
+ {Ikon2 && (
218
+ <g className="u-ilus-kotak2" transform={`translate(${kx + 52} 70) rotate(12)`}>
219
+ <rect x="-22" y="-22" width="44" height="44" rx="12" fill={`url(#${g('kotak')})`} filter={`url(#${g('bayang')})`} opacity=".92" />
220
+ <rect x="-22" y="-22" width="44" height="44" rx="12" fill={`url(#${g('kilap')})`} />
221
+ <Ikon2 x={-11} y={-11} width={22} height={22} stroke="#fff" strokeWidth={2.2} />
222
+ </g>
223
+ )}
224
+
225
+ {/* Kotak utama timbul */}
226
+ <g className="u-ilus-kotak" transform={`translate(${kx} 96)`}>
227
+ <rect x="-38" y="-34" width="76" height="76" rx="20" className="u-ilus-sisi" />
228
+ <rect x="-38" y="-40" width="76" height="76" rx="20" fill={`url(#${g('kotak')})`} filter={`url(#${g('bayang')})`} />
229
+ <rect x="-38" y="-40" width="76" height="76" rx="20" fill={`url(#${g('kilap')})`} />
230
+ <Ikon x={-19} y={-21} width={38} height={38} stroke="#fff" strokeWidth={2} />
231
+ </g>
232
+
233
+ {/* Tokoh */}
234
+ {a.tokoh && <Tokoh pose={a.tokoh} g={g} />}
235
+ </svg>
236
+ );
237
+ }
238
+
239
+ /** Tokoh bergaya clay: rambut cepol, sweter biru, celana gelap, sepatu putih. */
240
+ function Tokoh({ pose, g }: { pose: 'jalan' | 'tunjuk' | 'duduk'; g: (n: string) => string }) {
241
+ const kaki =
242
+ pose === 'duduk' ? (
243
+ <>
244
+ <path d="M50 118 L74 120 L76 150" stroke={`url(#${g('celana')})`} strokeWidth="14" strokeLinecap="round" strokeLinejoin="round" fill="none" />
245
+ <path d="M44 120 L66 126 L64 152" stroke={`url(#${g('celana')})`} strokeWidth="14" strokeLinecap="round" strokeLinejoin="round" fill="none" />
246
+ <ellipse cx="80" cy="154" rx="9" ry="5" fill="#eef1f8" stroke="#1e2233" strokeWidth="2" />
247
+ <ellipse cx="68" cy="156" rx="9" ry="5" fill="#eef1f8" stroke="#1e2233" strokeWidth="2" />
248
+ </>
249
+ ) : (
250
+ <>
251
+ <path className="u-ilus-kaki-b" d="M52 112 L36 132 L28 150" stroke={`url(#${g('celana')})`} strokeWidth="14" strokeLinecap="round" strokeLinejoin="round" fill="none" />
252
+ <path className="u-ilus-kaki-d" d="M60 112 L72 132 L84 146" stroke={`url(#${g('celana')})`} strokeWidth="14" strokeLinecap="round" strokeLinejoin="round" fill="none" />
253
+ <ellipse cx="24" cy="153" rx="9" ry="5" transform="rotate(-20 24 153)" fill="#eef1f8" stroke="#1e2233" strokeWidth="2" />
254
+ <ellipse cx="89" cy="149" rx="9" ry="5" transform="rotate(15 89 149)" fill="#eef1f8" stroke="#1e2233" strokeWidth="2" />
255
+ </>
256
+ );
257
+ const lenganDepan = pose === 'tunjuk' ? 'M68 76 L86 66 L100 58' : pose === 'duduk' ? 'M68 78 L78 96 L90 100' : 'M68 76 L84 70 L96 62';
258
+ const tanganDepan = pose === 'tunjuk' ? [102, 56] : pose === 'duduk' ? [93, 100] : [98, 60];
259
+ return (
260
+ <g className="u-ilus-tokoh" data-pose={pose} transform={pose === 'duduk' ? 'translate(4 0)' : undefined}>
261
+ {kaki}
262
+ {/* lengan belakang */}
263
+ <path d="M44 78 L32 94 L28 104" stroke="#1f6fd1" strokeWidth="11" strokeLinecap="round" strokeLinejoin="round" fill="none" />
264
+ <circle cx="27" cy="107" r="5.5" fill={`url(#${g('kulit')})`} />
265
+ {/* badan */}
266
+ <path d="M40 72 Q40 60 54 60 L62 60 Q74 60 74 74 L72 112 Q72 120 64 120 L48 120 Q40 120 40 112 Z" fill={`url(#${g('baju')})`} />
267
+ <path d="M44 66 Q56 62 66 64" stroke="#fff" strokeOpacity=".35" strokeWidth="3" strokeLinecap="round" fill="none" />
268
+ {/* lengan depan */}
269
+ <path className="u-ilus-lengan" d={lenganDepan} stroke="#3a8ee6" strokeWidth="11" strokeLinecap="round" strokeLinejoin="round" fill="none" />
270
+ <circle cx={tanganDepan[0]} cy={tanganDepan[1]} r="5.5" fill={`url(#${g('kulit')})`} />
271
+ {/* kepala */}
272
+ <g className="u-ilus-kepala">
273
+ <circle cx="58" cy="44" r="14" fill={`url(#${g('kulit')})`} />
274
+ <path d="M44 42 Q45 28 59 29 Q72 30 72 42 Q66 36 58 37 Q50 37 44 42 Z" fill="#1e2233" />
275
+ <circle cx="57" cy="24" r="7" fill="#1e2233" />
276
+ <path d="M51 29 Q57 33 63 29" stroke="#f4c95d" strokeWidth="3" strokeLinecap="round" fill="none" />
277
+ <circle cx="64" cy="45" r="1.4" fill="#1e2233" />
278
+ <path d="M61 51 Q64 53 67 50" stroke="#1e2233" strokeWidth="1.4" strokeLinecap="round" fill="none" />
279
+ <ellipse cx="58" cy="52" rx="4" ry="2.5" fill="#f08bb3" opacity=".45" />
280
+ </g>
281
+ </g>
282
+ );
283
+ }
@@ -0,0 +1,7 @@
1
+ // Ikon UNIPO: semua ikon lucide (1.700+, gaya garis modern) + ikon khas kampus (KTM, KRS, KHS, ijazah, toga, UKT, …),
2
+ // kotak ikon bergaya clay, dan ilustrasi vektor per modul.
3
+ // import { Bell, IkonKrs, IkonKotak, Ilustrasi } from 'unipo-ui/ikon';
4
+ export * from 'lucide-react';
5
+ export * from './unipo';
6
+ export * from './kotak';
7
+ export * from './ilustrasi';
@@ -0,0 +1,30 @@
1
+ 'use client';
2
+ import * as React from 'react';
3
+ import { cn } from '../lib/cn';
4
+
5
+ /** Warna ikon dan ilustrasi. Selain nada tema (primary…info) tersedia warna fitur yang tetap. */
6
+ export type NadaIkon = 'primary' | 'secondary' | 'success' | 'warning' | 'danger' | 'info' | 'neutral' | 'biru' | 'indigo' | 'ungu' | 'merah-muda' | 'mawar' | 'oranye' | 'kuning' | 'hijau' | 'toska' | 'langit' | 'abu';
7
+
8
+ export interface IkonKotakProps extends Omit<React.HTMLAttributes<HTMLSpanElement>, 'children'> {
9
+ children: React.ReactNode;
10
+ nada?: NadaIkon;
11
+ /** sm 32, md 40, lg 48, xl 64 px. */
12
+ ukuran?: 'sm' | 'md' | 'lg' | 'xl';
13
+ /** clay: timbul lembut seperti 3D (bawaan); lembut: latar pucat datar; padat: warna penuh; garis: tepi saja. */
14
+ gaya?: 'clay' | 'lembut' | 'padat' | 'garis';
15
+ bentuk?: 'kotak' | 'bulat';
16
+ /** Gerak saat disorot: angkat (bawaan), ayun, putar, tidak. */
17
+ gerak?: 'angkat' | 'ayun' | 'putar' | 'tidak';
18
+ }
19
+
20
+ /**
21
+ * Ikon dalam kotak berwarna bergaya clay (timbul lembut), untuk kartu modul, statistik, menu, dan keadaan kosong.
22
+ * <IkonKotak nada="ungu"><IkonBeasiswa /></IkonKotak>
23
+ */
24
+ export function IkonKotak({ children, nada = 'primary', ukuran = 'md', gaya = 'clay', bentuk = 'kotak', gerak = 'angkat', className, ...rest }: IkonKotakProps) {
25
+ return (
26
+ <span className={cn('u-ikon-kotak', className)} data-nada={nada} data-ukuran={ukuran} data-gaya={gaya} data-bentuk={bentuk} data-gerak={gerak} {...rest}>
27
+ {children}
28
+ </span>
29
+ );
30
+ }
@@ -0,0 +1,326 @@
1
+ 'use client';
2
+ import * as React from 'react';
3
+ import { cn } from '../lib/cn';
4
+
5
+ export interface IkonProps extends React.SVGProps<SVGSVGElement> {
6
+ /** Ukuran (px atau CSS). Bawaan 24. */
7
+ size?: number | string;
8
+ strokeWidth?: number;
9
+ /** Isi lembut warna kedua (duotone) memakai currentColor 18%. */
10
+ duo?: boolean;
11
+ }
12
+
13
+ /** Pembuat ikon UNIPO bergaya sama dengan lucide (24×24, garis 2, ujung bulat) + opsi duotone. */
14
+ function buat(nama: string, isi: React.ReactNode, duo?: React.ReactNode) {
15
+ const C = React.forwardRef<SVGSVGElement, IkonProps>(function Ikon({ size = 24, strokeWidth = 2, duo: pakaiDuo, className, children, ...rest }, ref) {
16
+ return (
17
+ <svg
18
+ ref={ref}
19
+ xmlns="http://www.w3.org/2000/svg"
20
+ width={size}
21
+ height={size}
22
+ viewBox="0 0 24 24"
23
+ fill="none"
24
+ stroke="currentColor"
25
+ strokeWidth={strokeWidth}
26
+ strokeLinecap="round"
27
+ strokeLinejoin="round"
28
+ className={cn('u-ikon', `u-ikon-${nama}`, className)}
29
+ aria-hidden={rest['aria-label'] ? undefined : true}
30
+ {...rest}
31
+ >
32
+ {pakaiDuo && duo ? (
33
+ <g fill="currentColor" fillOpacity={0.18} stroke="none">
34
+ {duo}
35
+ </g>
36
+ ) : null}
37
+ {isi}
38
+ {children}
39
+ </svg>
40
+ );
41
+ });
42
+ C.displayName = `Ikon${nama.charAt(0).toUpperCase()}${nama.slice(1)}`;
43
+ return C;
44
+ }
45
+
46
+ // ---------------------------------------------------------------- Akademik
47
+ /** Kartu tanda mahasiswa. */
48
+ export const IkonKtm = buat(
49
+ 'ktm',
50
+ <>
51
+ <rect x="2.5" y="5" width="19" height="14" rx="2.5" />
52
+ <circle cx="8" cy="11" r="2" />
53
+ <path d="M5 16c.6-1.4 1.7-2 3-2s2.4.6 3 2" />
54
+ <path d="M14 10h4.5M14 13h3" />
55
+ </>,
56
+ <rect x="2.5" y="5" width="19" height="14" rx="2.5" />,
57
+ );
58
+ /** Ijazah: gulungan dengan pita. */
59
+ export const IkonIjazah = buat(
60
+ 'ijazah',
61
+ <>
62
+ <path d="M4 6.5A2.5 2.5 0 0 1 6.5 4H19v12H6.5A2.5 2.5 0 0 0 4 18.5z" />
63
+ <path d="M4 18.5A2.5 2.5 0 0 0 6.5 21H19v-5" />
64
+ <path d="M8 8h7M8 11h5" />
65
+ <circle cx="15.5" cy="13.5" r="1.5" />
66
+ </>,
67
+ <path d="M4 6.5A2.5 2.5 0 0 1 6.5 4H19v12H6.5A2.5 2.5 0 0 0 4 18.5z" />,
68
+ );
69
+ /** Kartu hasil studi (KHS): lembar nilai dengan grafik kecil. */
70
+ export const IkonKhs = buat(
71
+ 'khs',
72
+ <>
73
+ <path d="M14 3H6.5A1.5 1.5 0 0 0 5 4.5v15A1.5 1.5 0 0 0 6.5 21h11a1.5 1.5 0 0 0 1.5-1.5V8z" />
74
+ <path d="M14 3v5h5" />
75
+ <path d="M8.5 17v-2M12 17v-4.5M15.5 17v-3" />
76
+ </>,
77
+ <path d="M14 3H6.5A1.5 1.5 0 0 0 5 4.5v15A1.5 1.5 0 0 0 6.5 21h11a1.5 1.5 0 0 0 1.5-1.5V8z" />,
78
+ );
79
+ /** Kartu rencana studi (KRS): daftar dengan centang. */
80
+ export const IkonKrs = buat(
81
+ 'krs',
82
+ <>
83
+ <rect x="4" y="3" width="16" height="18" rx="2" />
84
+ <path d="m7.5 8 1.2 1.2L11 7M7.5 13l1.2 1.2L11 12" />
85
+ <path d="M13.5 8h3M13.5 13h3M7.5 17.5h9" />
86
+ </>,
87
+ <rect x="4" y="3" width="16" height="18" rx="2" />,
88
+ );
89
+ /** Satuan kredit semester: tumpukan buku. */
90
+ export const IkonSks = buat(
91
+ 'sks',
92
+ <>
93
+ <rect x="3.5" y="15" width="17" height="4.5" rx="1" />
94
+ <rect x="5" y="10" width="14" height="5" rx="1" />
95
+ <rect x="6.5" y="4.5" width="11" height="5.5" rx="1" />
96
+ <path d="M7 17.25h4M8.5 12.5h3M10 7.25h4" />
97
+ </>,
98
+ <rect x="5" y="10" width="14" height="5" rx="1" />,
99
+ );
100
+ /** Toga wisuda dengan tali. */
101
+ export const IkonToga = buat(
102
+ 'toga',
103
+ <>
104
+ <path d="M2 9.5 12 5l10 4.5-10 4.5z" />
105
+ <path d="M6 11.5V16c0 1.5 2.7 3 6 3s6-1.5 6-3v-4.5" />
106
+ <path d="M20 10.5v5.5" />
107
+ <circle cx="20" cy="17" r="1" />
108
+ </>,
109
+ <path d="M2 9.5 12 5l10 4.5-10 4.5z" />,
110
+ );
111
+ /** Skripsi/tugas akhir: buku tebal dengan pembatas. */
112
+ export const IkonSkripsi = buat(
113
+ 'skripsi',
114
+ <>
115
+ <path d="M5 4.5A1.5 1.5 0 0 1 6.5 3H19v15H6.5A1.5 1.5 0 0 0 5 19.5z" />
116
+ <path d="M5 19.5A1.5 1.5 0 0 0 6.5 21H19" />
117
+ <path d="M14 3v6l2-1.3L18 9V3" />
118
+ <path d="M8.5 12h6M8.5 15h4" />
119
+ </>,
120
+ <path d="M5 4.5A1.5 1.5 0 0 1 6.5 3H19v15H6.5A1.5 1.5 0 0 0 5 19.5z" />,
121
+ );
122
+ /** Uang kuliah tunggal: dompet dengan topi wisuda kecil. */
123
+ export const IkonUkt = buat(
124
+ 'ukt',
125
+ <>
126
+ <path d="M19 8V6.5A1.5 1.5 0 0 0 17.5 5h-12A2.5 2.5 0 0 0 3 7.5v9A2.5 2.5 0 0 0 5.5 19h12a1.5 1.5 0 0 0 1.5-1.5V16" />
127
+ <path d="M21 10h-4a2 2 0 0 0 0 4h4z" />
128
+ <path d="m6 10 3-1.5 3 1.5-3 1.5z" />
129
+ </>,
130
+ <path d="M19 8V6.5A1.5 1.5 0 0 0 17.5 5h-12A2.5 2.5 0 0 0 3 7.5v9A2.5 2.5 0 0 0 5.5 19h12a1.5 1.5 0 0 0 1.5-1.5V16" />,
131
+ );
132
+ /** Beasiswa: koin dengan topi wisuda. */
133
+ export const IkonBeasiswa = buat(
134
+ 'beasiswa',
135
+ <>
136
+ <circle cx="12" cy="13" r="7.5" />
137
+ <path d="m7.5 12 4.5-2 4.5 2-4.5 2z" />
138
+ <path d="M9.5 13v2c0 .7 1.1 1.3 2.5 1.3s2.5-.6 2.5-1.3v-2" />
139
+ <path d="M12 2.5v2M8 3.5l.8 1.6M16 3.5l-.8 1.6" />
140
+ </>,
141
+ <circle cx="12" cy="13" r="7.5" />,
142
+ );
143
+ /** Yudisium: palu sidang dan berkas. */
144
+ export const IkonYudisium = buat(
145
+ 'yudisium',
146
+ <>
147
+ <path d="m13 5 6 6M11.5 6.5l6 6M14 4l5 5-2.5 2.5-5-5z" />
148
+ <path d="m11 10-6.5 6.5a1.4 1.4 0 0 0 2 2L13 12" />
149
+ <path d="M13 20h8" />
150
+ </>,
151
+ <path d="M14 4l5 5-2.5 2.5-5-5z" />,
152
+ );
153
+ /** Presensi QR. */
154
+ export const IkonPresensi = buat(
155
+ 'presensi',
156
+ <>
157
+ <rect x="3" y="3" width="7" height="7" rx="1.5" />
158
+ <rect x="14" y="3" width="7" height="7" rx="1.5" />
159
+ <rect x="3" y="14" width="7" height="7" rx="1.5" />
160
+ <path d="M14 14h3v3M21 14v.01M17 21h4v-4M14 18v3" />
161
+ </>,
162
+ <>
163
+ <rect x="3" y="3" width="7" height="7" rx="1.5" />
164
+ <rect x="14" y="3" width="7" height="7" rx="1.5" />
165
+ <rect x="3" y="14" width="7" height="7" rx="1.5" />
166
+ </>,
167
+ );
168
+ /** Jadwal kuliah: kalender dengan jam. */
169
+ export const IkonJadwalKuliah = buat(
170
+ 'jadwal-kuliah',
171
+ <>
172
+ <path d="M20 11V6.5A1.5 1.5 0 0 0 18.5 5h-13A1.5 1.5 0 0 0 4 6.5v12A1.5 1.5 0 0 0 5.5 20H11" />
173
+ <path d="M8 3v4M16 3v4M4 10h16" />
174
+ <circle cx="17" cy="17" r="4" />
175
+ <path d="M17 15.5V17l1 1" />
176
+ </>,
177
+ <path d="M4 6.5A1.5 1.5 0 0 1 5.5 5h13A1.5 1.5 0 0 1 20 6.5V10H4z" />,
178
+ );
179
+
180
+ // ---------------------------------------------------------------- Kelembagaan & layanan
181
+ /** Gedung kampus berpilar. */
182
+ export const IkonKampus = buat(
183
+ 'kampus',
184
+ <>
185
+ <path d="M3 9.5 12 4l9 5.5" />
186
+ <path d="M4 9.5h16" />
187
+ <path d="M6 12v6M10 12v6M14 12v6M18 12v6" />
188
+ <path d="M3 21h18M4 18h16" />
189
+ </>,
190
+ <path d="M3 9.5 12 4l9 5.5z" />,
191
+ );
192
+ /** Akreditasi: lencana bintang dengan pita. */
193
+ export const IkonAkreditasi = buat(
194
+ 'akreditasi',
195
+ <>
196
+ <circle cx="12" cy="9" r="6" />
197
+ <path d="m12 6 1 2 2.2.3-1.6 1.5.4 2.2-2-1-2 1 .4-2.2L8.8 8.3 11 8z" />
198
+ <path d="M8.5 14 7 21l5-2.5L17 21l-1.5-7" />
199
+ </>,
200
+ <circle cx="12" cy="9" r="6" />,
201
+ );
202
+ /** Organisasi mahasiswa: tiga orang dengan bendera. */
203
+ export const IkonOrmawa = buat(
204
+ 'ormawa',
205
+ <>
206
+ <circle cx="12" cy="8" r="2.5" />
207
+ <circle cx="5.5" cy="10.5" r="2" />
208
+ <circle cx="18.5" cy="10.5" r="2" />
209
+ <path d="M7.5 20v-1.5a4.5 4.5 0 0 1 9 0V20M2 20v-1a3.5 3.5 0 0 1 4.5-3.3M22 20v-1a3.5 3.5 0 0 0-4.5-3.3" />
210
+ <path d="M12 5.5V2l3 1.2L12 4.4" />
211
+ </>,
212
+ <circle cx="12" cy="8" r="2.5" />,
213
+ );
214
+ /** KKN/pengabdian: rumah desa dengan pohon. */
215
+ export const IkonKkn = buat(
216
+ 'kkn',
217
+ <>
218
+ <path d="M3 11 9 6l6 5" />
219
+ <path d="M4.5 10v10h9V10" />
220
+ <path d="M8 20v-4h2v4" />
221
+ <circle cx="18.5" cy="10" r="2.5" />
222
+ <path d="M18.5 12.5V20M2 20h20" />
223
+ </>,
224
+ <path d="M4.5 10 9 6.3l4.5 3.7v10h-9z" />,
225
+ );
226
+ /** Penelitian: tabung dengan grafik. */
227
+ export const IkonPenelitian = buat(
228
+ 'penelitian',
229
+ <>
230
+ <path d="M9 3h6M10 3v6l-5 8.5A2.3 2.3 0 0 0 7 21h10a2.3 2.3 0 0 0 2-3.5L14 9V3" />
231
+ <path d="M7.5 15h9" />
232
+ <circle cx="11" cy="17.5" r=".6" />
233
+ <circle cx="14" cy="18" r=".6" />
234
+ </>,
235
+ <path d="M7.5 15h9l1.5 2.5A2.3 2.3 0 0 1 17 21H7a2.3 2.3 0 0 1-2-3.5z" />,
236
+ );
237
+ /** Surat resmi dengan kop dan stempel. */
238
+ export const IkonSurat = buat(
239
+ 'surat',
240
+ <>
241
+ <path d="M14 3H6.5A1.5 1.5 0 0 0 5 4.5v15A1.5 1.5 0 0 0 6.5 21h11a1.5 1.5 0 0 0 1.5-1.5V8z" />
242
+ <path d="M14 3v5h5" />
243
+ <path d="M8 7h3M8 11h8M8 14h6" />
244
+ <circle cx="15" cy="17.5" r="1.8" />
245
+ </>,
246
+ <circle cx="15" cy="17.5" r="1.8" />,
247
+ );
248
+ /** Tanda tangan elektronik. */
249
+ export const IkonTandaTangan = buat(
250
+ 'tanda-tangan',
251
+ <>
252
+ <path d="M3 17c2-3 3.5-7 5-7s.5 6 2 6 2.5-4 4-4 1 3 2.5 3 2-1.5 3.5-2" />
253
+ <path d="M3 21h18" />
254
+ <path d="m15.5 4.5 3 3-6 6H9.5v-3z" />
255
+ </>,
256
+ <path d="m15.5 4.5 3 3-6 6H9.5v-3z" />,
257
+ );
258
+ /** Sinkronisasi PDDikti/Feeder: awan dengan panah dua arah. */
259
+ export const IkonSinkronPddikti = buat(
260
+ 'sinkron-pddikti',
261
+ <>
262
+ <path d="M7 18.5A4.5 4.5 0 0 1 6.5 9.5 6 6 0 0 1 18 8a4 4 0 0 1-.5 8" />
263
+ <path d="M10 13l2-2 2 2M12 11v8M14 17l-2 2" />
264
+ </>,
265
+ <path d="M7 18.5A4.5 4.5 0 0 1 6.5 9.5 6 6 0 0 1 18 8a4 4 0 0 1-.5 8z" />,
266
+ );
267
+ /** Peminjaman ruang: pintu dengan kalender. */
268
+ export const IkonPinjamRuang = buat(
269
+ 'pinjam-ruang',
270
+ <>
271
+ <path d="M4 21V4.5A1.5 1.5 0 0 1 5.5 3h7A1.5 1.5 0 0 1 14 4.5V21" />
272
+ <path d="M2 21h20" />
273
+ <circle cx="11" cy="12" r=".8" />
274
+ <rect x="15" y="10" width="7" height="7" rx="1.2" />
275
+ <path d="M15 12.5h7M17 9v2M20 9v2" />
276
+ </>,
277
+ <path d="M4 21V4.5A1.5 1.5 0 0 1 5.5 3h7A1.5 1.5 0 0 1 14 4.5V21z" />,
278
+ );
279
+ /** Alumni/karier: koper dengan topi wisuda. */
280
+ export const IkonAlumni = buat(
281
+ 'alumni',
282
+ <>
283
+ <rect x="3" y="9" width="18" height="11" rx="2" />
284
+ <path d="M9 9V7a1.5 1.5 0 0 1 1.5-1.5h3A1.5 1.5 0 0 1 15 7v2" />
285
+ <path d="m8 14 4-1.8 4 1.8-4 1.8z" />
286
+ </>,
287
+ <rect x="3" y="9" width="18" height="11" rx="2" />,
288
+ );
289
+ /** Berita/humas: koran dengan pengeras suara. */
290
+ export const IkonBerita = buat(
291
+ 'berita',
292
+ <>
293
+ <path d="M4 5.5A1.5 1.5 0 0 1 5.5 4h10A1.5 1.5 0 0 1 17 5.5V19a2 2 0 0 0 2 2H6a2 2 0 0 1-2-2z" />
294
+ <path d="M17 9h2.5A1.5 1.5 0 0 1 21 10.5V19a2 2 0 0 1-4 0" />
295
+ <rect x="7" y="7.5" width="7" height="4" rx=".8" />
296
+ <path d="M7 15h7M7 18h5" />
297
+ </>,
298
+ <rect x="7" y="7.5" width="7" height="4" rx=".8" />,
299
+ );
300
+
301
+ /** Semua ikon khas UNIPO (untuk galeri dan pencarian). */
302
+ export const IKON_UNIPO = {
303
+ IkonKtm,
304
+ IkonIjazah,
305
+ IkonKhs,
306
+ IkonKrs,
307
+ IkonSks,
308
+ IkonToga,
309
+ IkonSkripsi,
310
+ IkonUkt,
311
+ IkonBeasiswa,
312
+ IkonYudisium,
313
+ IkonPresensi,
314
+ IkonJadwalKuliah,
315
+ IkonKampus,
316
+ IkonAkreditasi,
317
+ IkonOrmawa,
318
+ IkonKkn,
319
+ IkonPenelitian,
320
+ IkonSurat,
321
+ IkonTandaTangan,
322
+ IkonSinkronPddikti,
323
+ IkonPinjamRuang,
324
+ IkonAlumni,
325
+ IkonBerita,
326
+ };
package/src/index.ts CHANGED
@@ -21,3 +21,11 @@ export * from './components/schedule';
21
21
  export * from './components/content';
22
22
  export * from './components/wizard';
23
23
  export * from './components/charts';
24
+ export * from './components/pemeliharaan';
25
+ export * from './components/modal';
26
+ export * from './components/animasi';
27
+ export * from './ikon/unipo';
28
+ export * from './ikon/kotak';
29
+ export * from './ikon/ilustrasi';
30
+ export * from './lib/platform';
31
+ export * from './components/platform';