@chenyqthu/tp-mobile-ui-kit 0.1.0 → 0.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.
Files changed (37) hide show
  1. package/README.md +5 -5
  2. package/dist/catalog.json +1302 -72
  3. package/dist/chunks/{OmadaAppDemo-BP4a4ch_.js → OmadaAppDemo-BO8a6A-m.js} +2005 -1206
  4. package/dist/chunks/{TPPrompt-Csg5YasJ.js → TPPrompt-DLd32rsN.js} +1191 -195
  5. package/dist/core.js +2 -2
  6. package/dist/index.js +7 -7
  7. package/dist/omada.js +7 -7
  8. package/dist/standalone.js +341 -341
  9. package/dist/style.css +1 -1
  10. package/dist/types/core/components/TPAvatar.d.ts +7 -0
  11. package/dist/types/core/components/TPCheckbox.d.ts +11 -0
  12. package/dist/types/core/components/TPDivider.d.ts +7 -0
  13. package/dist/types/core/components/TPFixedToast.d.ts +7 -0
  14. package/dist/types/core/components/TPIconButton.d.ts +11 -0
  15. package/dist/types/core/components/TPLast7DaysPicker.d.ts +7 -0
  16. package/dist/types/core/components/TPLiquidGlass.d.ts +8 -0
  17. package/dist/types/core/components/TPMonthPicker.d.ts +7 -0
  18. package/dist/types/core/components/TPPinInput.d.ts +7 -0
  19. package/dist/types/core/components/TPProgress.d.ts +7 -0
  20. package/dist/types/core/components/TPRadio.d.ts +11 -0
  21. package/dist/types/core/components/TPSkeleton.d.ts +7 -0
  22. package/dist/types/core/components/TPStepText.d.ts +7 -0
  23. package/dist/types/core/components/TPStepper.d.ts +7 -0
  24. package/dist/types/core/components/TPSwipeRow.d.ts +8 -0
  25. package/dist/types/core/components/TPTooltip.d.ts +7 -0
  26. package/dist/types/core/index.d.ts +16 -0
  27. package/dist/types/core/types.d.ts +232 -0
  28. package/dist/types/omada/blocks/OmadaFirmwareUpdateBlock.d.ts +23 -0
  29. package/dist/types/omada/blocks/OmadaPortPanelBlock.d.ts +31 -0
  30. package/dist/types/omada/blocks/OmadaScheduleBlock.d.ts +33 -0
  31. package/dist/types/omada/blocks/OmadaTopologyBlock.d.ts +26 -0
  32. package/dist/types/omada/index.d.ts +4 -0
  33. package/dist/types/omada/pages/OmadaAppDemo.d.ts +1 -1
  34. package/dist/types/omada/pages/OmadaSiteSettingsPage.d.ts +4 -2
  35. package/package.json +2 -2
  36. package/skills/tp-mobile-ui-kit/SKILL.md +5 -4
  37. package/skills/tp-mobile-ui-kit/references/catalog.json +1302 -72
package/dist/catalog.json CHANGED
@@ -1,10 +1,10 @@
1
1
  {
2
2
  "schemaVersion": 1,
3
- "generatedAt": "2026-11-23T19:48:37.406Z",
3
+ "generatedAt": "2026-11-23T22:48:47.952Z",
4
4
  "package": {
5
5
  "name": "@chenyqthu/tp-mobile-ui-kit",
6
- "version": "0.1.0",
7
- "description": "TP-Link multi-brand mobile React UI component library (TP-Design 10-mode Theme Engine + Omada APP 5.3 Blocks & Real PAG Motion Assets + Single-file HTML standalone bundle)",
6
+ "version": "0.2.0",
7
+ "description": "TP-Link multi-brand mobile React UI component library (TP-Design 12-mode Theme Engine + Omada APP 5.3 Blocks & Real PAG Motion Assets + Single-file HTML standalone bundle)",
8
8
  "entries": {
9
9
  ".": "@chenyqthu/tp-mobile-ui-kit",
10
10
  "./core": "@chenyqthu/tp-mobile-ui-kit/core",
@@ -18,13 +18,13 @@
18
18
  "jsdelivrCss": "https://cdn.jsdelivr.net/npm/@chenyqthu/tp-mobile-ui-kit@latest/dist/style.css",
19
19
  "jsdelivrStandalone": "https://cdn.jsdelivr.net/npm/@chenyqthu/tp-mobile-ui-kit@latest/dist/standalone.js",
20
20
  "jsdelivrWasm": "https://cdn.jsdelivr.net/npm/libpag@4.5.85/lib/libpag.wasm",
21
- "pinnedCss": "https://cdn.jsdelivr.net/npm/@chenyqthu/tp-mobile-ui-kit@0.1.0/dist/style.css",
22
- "pinnedStandalone": "https://cdn.jsdelivr.net/npm/@chenyqthu/tp-mobile-ui-kit@0.1.0/dist/standalone.js"
21
+ "pinnedCss": "https://cdn.jsdelivr.net/npm/@chenyqthu/tp-mobile-ui-kit@0.2.0/dist/style.css",
22
+ "pinnedStandalone": "https://cdn.jsdelivr.net/npm/@chenyqthu/tp-mobile-ui-kit@0.2.0/dist/standalone.js"
23
23
  }
24
24
  },
25
25
  "counts": {
26
- "components": 54,
27
- "blocks": 3,
26
+ "components": 77,
27
+ "blocks": 7,
28
28
  "pages": 10,
29
29
  "hooksAndHelpers": 9,
30
30
  "brands": 6,
@@ -343,6 +343,62 @@
343
343
  }
344
344
  ]
345
345
  },
346
+ {
347
+ "name": "TPAvatar",
348
+ "category": "core-lists-inputs",
349
+ "kind": "component",
350
+ "subpath": "@chenyqthu/tp-mobile-ui-kit/core",
351
+ "sourcePath": "src/core/components/TPAvatar.tsx",
352
+ "description": "User / account / device avatar supporting image, name initials, TPIcon, shape, and presence status dot.",
353
+ "propsType": "TPAvatarProps",
354
+ "props": [
355
+ {
356
+ "name": "src",
357
+ "type": "string",
358
+ "optional": true
359
+ },
360
+ {
361
+ "name": "name",
362
+ "type": "string",
363
+ "optional": true
364
+ },
365
+ {
366
+ "name": "icon",
367
+ "type": "TPIconName | React.ReactNode",
368
+ "optional": true
369
+ },
370
+ {
371
+ "name": "size",
372
+ "type": "'sm' | 'md' | 'lg'",
373
+ "optional": true
374
+ },
375
+ {
376
+ "name": "status",
377
+ "type": "'online' | 'offline' | 'busy' | 'none'",
378
+ "optional": true
379
+ },
380
+ {
381
+ "name": "shape",
382
+ "type": "'circle' | 'rounded'",
383
+ "optional": true
384
+ },
385
+ {
386
+ "name": "alt",
387
+ "type": "string",
388
+ "optional": true
389
+ },
390
+ {
391
+ "name": "className",
392
+ "type": "string",
393
+ "optional": true
394
+ },
395
+ {
396
+ "name": "style",
397
+ "type": "React.CSSProperties",
398
+ "optional": true
399
+ }
400
+ ]
401
+ },
346
402
  {
347
403
  "name": "TPBadge",
348
404
  "category": "core-lists-inputs",
@@ -394,6 +450,118 @@
394
450
  }
395
451
  ]
396
452
  },
453
+ {
454
+ "name": "TPCheckbox",
455
+ "category": "core-lists-inputs",
456
+ "kind": "component",
457
+ "subpath": "@chenyqthu/tp-mobile-ui-kit/core",
458
+ "sourcePath": "src/core/components/TPCheckbox.tsx",
459
+ "description": "TP-Design theme-adaptive checkbox with optional indeterminate state, label, and description.",
460
+ "propsType": "TPCheckboxProps",
461
+ "props": [
462
+ {
463
+ "name": "checked",
464
+ "type": "boolean",
465
+ "optional": true
466
+ },
467
+ {
468
+ "name": "defaultChecked",
469
+ "type": "boolean",
470
+ "optional": true
471
+ },
472
+ {
473
+ "name": "indeterminate",
474
+ "type": "boolean",
475
+ "optional": true
476
+ },
477
+ {
478
+ "name": "disabled",
479
+ "type": "boolean",
480
+ "optional": true
481
+ },
482
+ {
483
+ "name": "label",
484
+ "type": "React.ReactNode",
485
+ "optional": true
486
+ },
487
+ {
488
+ "name": "description",
489
+ "type": "React.ReactNode",
490
+ "optional": true
491
+ },
492
+ {
493
+ "name": "onChange",
494
+ "type": "(checked: boolean) => void",
495
+ "optional": true
496
+ },
497
+ {
498
+ "name": "ariaLabel",
499
+ "type": "string",
500
+ "optional": true
501
+ },
502
+ {
503
+ "name": "className",
504
+ "type": "string",
505
+ "optional": true
506
+ },
507
+ {
508
+ "name": "style",
509
+ "type": "React.CSSProperties",
510
+ "optional": true
511
+ }
512
+ ]
513
+ },
514
+ {
515
+ "name": "TPCheckboxGroup",
516
+ "category": "core-lists-inputs",
517
+ "kind": "component",
518
+ "subpath": "@chenyqthu/tp-mobile-ui-kit/core",
519
+ "sourcePath": "src/core/components/TPCheckbox.tsx",
520
+ "description": "Vertical or horizontal group of TPCheckbox options.",
521
+ "propsType": "TPCheckboxGroupProps",
522
+ "props": [
523
+ {
524
+ "name": "options",
525
+ "type": "readonly TPCheckboxOption[]",
526
+ "optional": false
527
+ },
528
+ {
529
+ "name": "value",
530
+ "type": "readonly string[]",
531
+ "optional": true
532
+ },
533
+ {
534
+ "name": "defaultValue",
535
+ "type": "readonly string[]",
536
+ "optional": true
537
+ },
538
+ {
539
+ "name": "onChange",
540
+ "type": "(values: string[]) => void",
541
+ "optional": true
542
+ },
543
+ {
544
+ "name": "direction",
545
+ "type": "'vertical' | 'horizontal'",
546
+ "optional": true
547
+ },
548
+ {
549
+ "name": "disabled",
550
+ "type": "boolean",
551
+ "optional": true
552
+ },
553
+ {
554
+ "name": "className",
555
+ "type": "string",
556
+ "optional": true
557
+ },
558
+ {
559
+ "name": "style",
560
+ "type": "React.CSSProperties",
561
+ "optional": true
562
+ }
563
+ ]
564
+ },
397
565
  {
398
566
  "name": "TPDatePicker",
399
567
  "category": "core-lists-inputs",
@@ -501,6 +669,42 @@
501
669
  }
502
670
  ]
503
671
  },
672
+ {
673
+ "name": "TPDivider",
674
+ "category": "core-lists-inputs",
675
+ "kind": "component",
676
+ "subpath": "@chenyqthu/tp-mobile-ui-kit/core",
677
+ "sourcePath": "src/core/components/TPDivider.tsx",
678
+ "description": "Hairline separator supporting inset alignment, optional centered label, and spacing presets.",
679
+ "propsType": "TPDividerProps",
680
+ "props": [
681
+ {
682
+ "name": "inset",
683
+ "type": "boolean",
684
+ "optional": true
685
+ },
686
+ {
687
+ "name": "label",
688
+ "type": "React.ReactNode",
689
+ "optional": true
690
+ },
691
+ {
692
+ "name": "spacing",
693
+ "type": "'sm' | 'md' | 'lg'",
694
+ "optional": true
695
+ },
696
+ {
697
+ "name": "className",
698
+ "type": "string",
699
+ "optional": true
700
+ },
701
+ {
702
+ "name": "style",
703
+ "type": "React.CSSProperties",
704
+ "optional": true
705
+ }
706
+ ]
707
+ },
504
708
  {
505
709
  "name": "TPEmptyState",
506
710
  "category": "core-lists-inputs",
@@ -571,6 +775,11 @@
571
775
  "description": "Form input supporting labels, controlled/uncontrolled value, clearable button, password visibility toggle, helper/error text, prefix/suffix, and multiline mode.",
572
776
  "propsType": "TPInputProps",
573
777
  "props": [
778
+ {
779
+ "name": "variant",
780
+ "type": "'standard' | 'list' | 'borderless' | 'icon'",
781
+ "optional": true
782
+ },
574
783
  {
575
784
  "name": "label",
576
785
  "type": "React.ReactNode",
@@ -695,6 +904,57 @@
695
904
  }
696
905
  ]
697
906
  },
907
+ {
908
+ "name": "TPLast7DaysPicker",
909
+ "category": "core-lists-inputs",
910
+ "kind": "component",
911
+ "subpath": "@chenyqthu/tp-mobile-ui-kit/core",
912
+ "sourcePath": "src/core/components/TPLast7DaysPicker.tsx",
913
+ "description": "Horizontal 7-day rolling calendar strip matching Figma `Picker / Last 7 Days 过去7天`.",
914
+ "propsType": "TPLast7DaysPickerProps",
915
+ "props": [
916
+ {
917
+ "name": "value",
918
+ "type": "Date",
919
+ "optional": true
920
+ },
921
+ {
922
+ "name": "defaultValue",
923
+ "type": "Date",
924
+ "optional": true
925
+ },
926
+ {
927
+ "name": "referenceDate",
928
+ "type": "Date",
929
+ "optional": true
930
+ },
931
+ {
932
+ "name": "markedDates",
933
+ "type": "readonly string[]",
934
+ "optional": true
935
+ },
936
+ {
937
+ "name": "locale",
938
+ "type": "'en' | 'zh'",
939
+ "optional": true
940
+ },
941
+ {
942
+ "name": "onChange",
943
+ "type": "(date: Date) => void",
944
+ "optional": true
945
+ },
946
+ {
947
+ "name": "className",
948
+ "type": "string",
949
+ "optional": true
950
+ },
951
+ {
952
+ "name": "style",
953
+ "type": "React.CSSProperties",
954
+ "optional": true
955
+ }
956
+ ]
957
+ },
698
958
  {
699
959
  "name": "TPListButton",
700
960
  "category": "core-lists-inputs",
@@ -879,52 +1139,496 @@
879
1139
  ]
880
1140
  },
881
1141
  {
882
- "name": "TPSearchBar",
1142
+ "name": "TPMonthPicker",
883
1143
  "category": "core-lists-inputs",
884
1144
  "kind": "component",
885
1145
  "subpath": "@chenyqthu/tp-mobile-ui-kit/core",
886
- "sourcePath": "src/core/components/TPSearchBar.tsx",
887
- "description": "Mobile pill search bar with magnifying glass icon, clear button, and optional Cancel action.",
888
- "propsType": "TPSearchBarProps",
1146
+ "sourcePath": "src/core/components/TPMonthPicker.tsx",
1147
+ "description": "Year navigation + 12-month grid selector matching Figma `Picker / Month Picker 选择月份`.",
1148
+ "propsType": "TPMonthPickerProps",
889
1149
  "props": [
890
1150
  {
891
1151
  "name": "value",
892
- "type": "string",
1152
+ "type": "TPMonthPickerValue",
893
1153
  "optional": true
894
1154
  },
895
1155
  {
896
1156
  "name": "defaultValue",
897
- "type": "string",
1157
+ "type": "TPMonthPickerValue",
898
1158
  "optional": true
899
1159
  },
900
1160
  {
901
- "name": "placeholder",
902
- "type": "string",
1161
+ "name": "minYear",
1162
+ "type": "number",
1163
+ "optional": true
1164
+ },
1165
+ {
1166
+ "name": "maxYear",
1167
+ "type": "number",
1168
+ "optional": true
1169
+ },
1170
+ {
1171
+ "name": "locale",
1172
+ "type": "'en' | 'zh'",
903
1173
  "optional": true
904
1174
  },
905
1175
  {
906
1176
  "name": "onChange",
907
- "type": "(value: string) => void",
1177
+ "type": "(val: TPMonthPickerValue) => void",
908
1178
  "optional": true
909
1179
  },
910
1180
  {
911
- "name": "onSearch",
912
- "type": "(value: string) => void",
1181
+ "name": "className",
1182
+ "type": "string",
913
1183
  "optional": true
914
1184
  },
915
1185
  {
916
- "name": "onCancel",
917
- "type": "() => void",
1186
+ "name": "style",
1187
+ "type": "React.CSSProperties",
918
1188
  "optional": true
1189
+ }
1190
+ ]
1191
+ },
1192
+ {
1193
+ "name": "TPPinInput",
1194
+ "category": "core-lists-inputs",
1195
+ "kind": "component",
1196
+ "subpath": "@chenyqthu/tp-mobile-ui-kit/core",
1197
+ "sourcePath": "src/core/components/TPPinInput.tsx",
1198
+ "description": "Multi-cell OTP / verification PIN code input with auto-advance, backspace stepping, and paste distribution.",
1199
+ "propsType": "TPPinInputProps",
1200
+ "props": [
1201
+ {
1202
+ "name": "length",
1203
+ "type": "number",
1204
+ "optional": true
1205
+ },
1206
+ {
1207
+ "name": "value",
1208
+ "type": "string",
1209
+ "optional": true
1210
+ },
1211
+ {
1212
+ "name": "defaultValue",
1213
+ "type": "string",
1214
+ "optional": true
1215
+ },
1216
+ {
1217
+ "name": "masked",
1218
+ "type": "boolean",
1219
+ "optional": true
1220
+ },
1221
+ {
1222
+ "name": "error",
1223
+ "type": "string",
1224
+ "optional": true
1225
+ },
1226
+ {
1227
+ "name": "disabled",
1228
+ "type": "boolean",
1229
+ "optional": true
1230
+ },
1231
+ {
1232
+ "name": "onChange",
1233
+ "type": "(value: string) => void",
1234
+ "optional": true
1235
+ },
1236
+ {
1237
+ "name": "onComplete",
1238
+ "type": "(value: string) => void",
1239
+ "optional": true
1240
+ },
1241
+ {
1242
+ "name": "ariaLabel",
1243
+ "type": "string",
1244
+ "optional": true
1245
+ },
1246
+ {
1247
+ "name": "className",
1248
+ "type": "string",
1249
+ "optional": true
1250
+ },
1251
+ {
1252
+ "name": "style",
1253
+ "type": "React.CSSProperties",
1254
+ "optional": true
1255
+ }
1256
+ ]
1257
+ },
1258
+ {
1259
+ "name": "TPProgress",
1260
+ "category": "core-lists-inputs",
1261
+ "kind": "component",
1262
+ "subpath": "@chenyqthu/tp-mobile-ui-kit/core",
1263
+ "sourcePath": "src/core/components/TPProgress.tsx",
1264
+ "description": "Linear bar and circular SVG progress indicator driven by semantic `--tp-*` colors.",
1265
+ "propsType": "TPProgressProps",
1266
+ "props": [
1267
+ {
1268
+ "name": "variant",
1269
+ "type": "'linear' | 'circular'",
1270
+ "optional": true
1271
+ },
1272
+ {
1273
+ "name": "percent",
1274
+ "type": "number",
1275
+ "optional": false
1276
+ },
1277
+ {
1278
+ "name": "tone",
1279
+ "type": "'focus' | 'success' | 'warning' | 'alert' | 'info'",
1280
+ "optional": true
1281
+ },
1282
+ {
1283
+ "name": "size",
1284
+ "type": "number",
1285
+ "optional": true
1286
+ },
1287
+ {
1288
+ "name": "strokeWidth",
1289
+ "type": "number",
1290
+ "optional": true
1291
+ },
1292
+ {
1293
+ "name": "showValue",
1294
+ "type": "boolean",
1295
+ "optional": true
1296
+ },
1297
+ {
1298
+ "name": "label",
1299
+ "type": "React.ReactNode",
1300
+ "optional": true
1301
+ },
1302
+ {
1303
+ "name": "className",
1304
+ "type": "string",
1305
+ "optional": true
1306
+ },
1307
+ {
1308
+ "name": "style",
1309
+ "type": "React.CSSProperties",
1310
+ "optional": true
1311
+ }
1312
+ ]
1313
+ },
1314
+ {
1315
+ "name": "TPRadio",
1316
+ "category": "core-lists-inputs",
1317
+ "kind": "component",
1318
+ "subpath": "@chenyqthu/tp-mobile-ui-kit/core",
1319
+ "sourcePath": "src/core/components/TPRadio.tsx",
1320
+ "description": "TP-Design theme-adaptive radio selection button.",
1321
+ "propsType": "TPRadioProps",
1322
+ "props": [
1323
+ {
1324
+ "name": "checked",
1325
+ "type": "boolean",
1326
+ "optional": true
1327
+ },
1328
+ {
1329
+ "name": "defaultChecked",
1330
+ "type": "boolean",
1331
+ "optional": true
1332
+ },
1333
+ {
1334
+ "name": "disabled",
1335
+ "type": "boolean",
1336
+ "optional": true
1337
+ },
1338
+ {
1339
+ "name": "label",
1340
+ "type": "React.ReactNode",
1341
+ "optional": true
1342
+ },
1343
+ {
1344
+ "name": "description",
1345
+ "type": "React.ReactNode",
1346
+ "optional": true
1347
+ },
1348
+ {
1349
+ "name": "value",
1350
+ "type": "string",
1351
+ "optional": true
1352
+ },
1353
+ {
1354
+ "name": "name",
1355
+ "type": "string",
1356
+ "optional": true
1357
+ },
1358
+ {
1359
+ "name": "onChange",
1360
+ "type": "(checked: boolean) => void",
1361
+ "optional": true
1362
+ },
1363
+ {
1364
+ "name": "ariaLabel",
1365
+ "type": "string",
1366
+ "optional": true
1367
+ },
1368
+ {
1369
+ "name": "className",
1370
+ "type": "string",
1371
+ "optional": true
1372
+ },
1373
+ {
1374
+ "name": "style",
1375
+ "type": "React.CSSProperties",
1376
+ "optional": true
1377
+ }
1378
+ ]
1379
+ },
1380
+ {
1381
+ "name": "TPRadioGroup",
1382
+ "category": "core-lists-inputs",
1383
+ "kind": "component",
1384
+ "subpath": "@chenyqthu/tp-mobile-ui-kit/core",
1385
+ "sourcePath": "src/core/components/TPRadio.tsx",
1386
+ "description": "Exclusive selection TPRadioGroup supporting vertical and horizontal layouts.",
1387
+ "propsType": "TPRadioGroupProps",
1388
+ "props": [
1389
+ {
1390
+ "name": "options",
1391
+ "type": "readonly TPRadioOption[]",
1392
+ "optional": false
1393
+ },
1394
+ {
1395
+ "name": "value",
1396
+ "type": "string",
1397
+ "optional": true
1398
+ },
1399
+ {
1400
+ "name": "defaultValue",
1401
+ "type": "string",
1402
+ "optional": true
1403
+ },
1404
+ {
1405
+ "name": "onChange",
1406
+ "type": "(value: string) => void",
1407
+ "optional": true
1408
+ },
1409
+ {
1410
+ "name": "direction",
1411
+ "type": "'vertical' | 'horizontal'",
1412
+ "optional": true
1413
+ },
1414
+ {
1415
+ "name": "disabled",
1416
+ "type": "boolean",
1417
+ "optional": true
1418
+ },
1419
+ {
1420
+ "name": "name",
1421
+ "type": "string",
1422
+ "optional": true
1423
+ },
1424
+ {
1425
+ "name": "className",
1426
+ "type": "string",
1427
+ "optional": true
1428
+ },
1429
+ {
1430
+ "name": "style",
1431
+ "type": "React.CSSProperties",
1432
+ "optional": true
1433
+ }
1434
+ ]
1435
+ },
1436
+ {
1437
+ "name": "TPSearchBar",
1438
+ "category": "core-lists-inputs",
1439
+ "kind": "component",
1440
+ "subpath": "@chenyqthu/tp-mobile-ui-kit/core",
1441
+ "sourcePath": "src/core/components/TPSearchBar.tsx",
1442
+ "description": "Mobile pill search bar with magnifying glass icon, clear button, and optional Cancel action.",
1443
+ "propsType": "TPSearchBarProps",
1444
+ "props": [
1445
+ {
1446
+ "name": "value",
1447
+ "type": "string",
1448
+ "optional": true
1449
+ },
1450
+ {
1451
+ "name": "defaultValue",
1452
+ "type": "string",
1453
+ "optional": true
1454
+ },
1455
+ {
1456
+ "name": "placeholder",
1457
+ "type": "string",
1458
+ "optional": true
1459
+ },
1460
+ {
1461
+ "name": "onChange",
1462
+ "type": "(value: string) => void",
1463
+ "optional": true
1464
+ },
1465
+ {
1466
+ "name": "onSearch",
1467
+ "type": "(value: string) => void",
1468
+ "optional": true
1469
+ },
1470
+ {
1471
+ "name": "onCancel",
1472
+ "type": "() => void",
1473
+ "optional": true
1474
+ },
1475
+ {
1476
+ "name": "showCancel",
1477
+ "type": "boolean",
1478
+ "optional": true
1479
+ },
1480
+ {
1481
+ "name": "autoFocus",
1482
+ "type": "boolean",
1483
+ "optional": true
1484
+ },
1485
+ {
1486
+ "name": "className",
1487
+ "type": "string",
1488
+ "optional": true
1489
+ },
1490
+ {
1491
+ "name": "style",
1492
+ "type": "React.CSSProperties",
1493
+ "optional": true
1494
+ }
1495
+ ]
1496
+ },
1497
+ {
1498
+ "name": "TPSectionHeader",
1499
+ "category": "core-lists-inputs",
1500
+ "kind": "component",
1501
+ "subpath": "@chenyqthu/tp-mobile-ui-kit/core",
1502
+ "sourcePath": "src/core/components/TPSectionHeader.tsx",
1503
+ "description": "Muted section header placed above grouped list cards.",
1504
+ "propsType": "TPSectionHeaderProps",
1505
+ "props": [
1506
+ {
1507
+ "name": "title",
1508
+ "type": "React.ReactNode",
1509
+ "optional": false
1510
+ },
1511
+ {
1512
+ "name": "count",
1513
+ "type": "number | string",
1514
+ "optional": true
1515
+ },
1516
+ {
1517
+ "name": "action",
1518
+ "type": "React.ReactNode",
1519
+ "optional": true
1520
+ },
1521
+ {
1522
+ "name": "className",
1523
+ "type": "string",
1524
+ "optional": true
1525
+ },
1526
+ {
1527
+ "name": "style",
1528
+ "type": "React.CSSProperties",
1529
+ "optional": true
1530
+ }
1531
+ ]
1532
+ },
1533
+ {
1534
+ "name": "TPSectionNote",
1535
+ "category": "core-lists-inputs",
1536
+ "kind": "component",
1537
+ "subpath": "@chenyqthu/tp-mobile-ui-kit/core",
1538
+ "sourcePath": "src/core/components/TPSectionNote.tsx",
1539
+ "description": "Helper/caption footer note placed beneath grouped cards or form fields.",
1540
+ "propsType": "TPSectionNoteProps",
1541
+ "props": [
1542
+ {
1543
+ "name": "children",
1544
+ "type": "React.ReactNode",
1545
+ "optional": false
1546
+ },
1547
+ {
1548
+ "name": "tone",
1549
+ "type": "'default' | 'warning' | 'alert'",
1550
+ "optional": true
1551
+ },
1552
+ {
1553
+ "name": "className",
1554
+ "type": "string",
1555
+ "optional": true
1556
+ },
1557
+ {
1558
+ "name": "style",
1559
+ "type": "React.CSSProperties",
1560
+ "optional": true
1561
+ }
1562
+ ]
1563
+ },
1564
+ {
1565
+ "name": "TPSkeleton",
1566
+ "category": "core-lists-inputs",
1567
+ "kind": "component",
1568
+ "subpath": "@chenyqthu/tp-mobile-ui-kit/core",
1569
+ "sourcePath": "src/core/components/TPSkeleton.tsx",
1570
+ "description": "Shimmer placeholder supporting text line stacks, rect, circle, and dashboard card geometries.",
1571
+ "propsType": "TPSkeletonProps",
1572
+ "props": [
1573
+ {
1574
+ "name": "variant",
1575
+ "type": "'text' | 'rect' | 'circle' | 'card'",
1576
+ "optional": true
1577
+ },
1578
+ {
1579
+ "name": "width",
1580
+ "type": "number | string",
1581
+ "optional": true
1582
+ },
1583
+ {
1584
+ "name": "height",
1585
+ "type": "number | string",
1586
+ "optional": true
1587
+ },
1588
+ {
1589
+ "name": "lines",
1590
+ "type": "number",
1591
+ "optional": true
1592
+ },
1593
+ {
1594
+ "name": "animated",
1595
+ "type": "boolean",
1596
+ "optional": true
1597
+ },
1598
+ {
1599
+ "name": "className",
1600
+ "type": "string",
1601
+ "optional": true
1602
+ },
1603
+ {
1604
+ "name": "style",
1605
+ "type": "React.CSSProperties",
1606
+ "optional": true
1607
+ }
1608
+ ]
1609
+ },
1610
+ {
1611
+ "name": "TPStepper",
1612
+ "category": "core-lists-inputs",
1613
+ "kind": "component",
1614
+ "subpath": "@chenyqthu/tp-mobile-ui-kit/core",
1615
+ "sourcePath": "src/core/components/TPStepper.tsx",
1616
+ "description": "Horizontal or vertical multi-step progress stepper for onboarding and device setup flows.",
1617
+ "propsType": "TPStepperProps",
1618
+ "props": [
1619
+ {
1620
+ "name": "steps",
1621
+ "type": "readonly TPStepperItem[]",
1622
+ "optional": false
919
1623
  },
920
1624
  {
921
- "name": "showCancel",
922
- "type": "boolean",
923
- "optional": true
1625
+ "name": "current",
1626
+ "type": "number",
1627
+ "optional": false
924
1628
  },
925
1629
  {
926
- "name": "autoFocus",
927
- "type": "boolean",
1630
+ "name": "direction",
1631
+ "type": "'horizontal' | 'vertical'",
928
1632
  "optional": true
929
1633
  },
930
1634
  {
@@ -940,28 +1644,23 @@
940
1644
  ]
941
1645
  },
942
1646
  {
943
- "name": "TPSectionHeader",
1647
+ "name": "TPStepText",
944
1648
  "category": "core-lists-inputs",
945
1649
  "kind": "component",
946
1650
  "subpath": "@chenyqthu/tp-mobile-ui-kit/core",
947
- "sourcePath": "src/core/components/TPSectionHeader.tsx",
948
- "description": "Muted section header placed above grouped list cards.",
949
- "propsType": "TPSectionHeaderProps",
1651
+ "sourcePath": "src/core/components/TPStepText.tsx",
1652
+ "description": "Structured instructional list matching Figma `Text / Step Text`, `Numbered Text`, and `Bullet Point`.",
1653
+ "propsType": "TPStepTextProps",
950
1654
  "props": [
951
1655
  {
952
- "name": "title",
953
- "type": "React.ReactNode",
954
- "optional": false
955
- },
956
- {
957
- "name": "count",
958
- "type": "number | string",
1656
+ "name": "variant",
1657
+ "type": "'step' | 'numbered' | 'bullet'",
959
1658
  "optional": true
960
1659
  },
961
1660
  {
962
- "name": "action",
963
- "type": "React.ReactNode",
964
- "optional": true
1661
+ "name": "items",
1662
+ "type": "readonly TPStepTextItem[]",
1663
+ "optional": false
965
1664
  },
966
1665
  {
967
1666
  "name": "className",
@@ -976,24 +1675,44 @@
976
1675
  ]
977
1676
  },
978
1677
  {
979
- "name": "TPSectionNote",
1678
+ "name": "TPSwipeRow",
980
1679
  "category": "core-lists-inputs",
981
1680
  "kind": "component",
982
1681
  "subpath": "@chenyqthu/tp-mobile-ui-kit/core",
983
- "sourcePath": "src/core/components/TPSectionNote.tsx",
984
- "description": "Helper/caption footer note placed beneath grouped cards or form fields.",
985
- "propsType": "TPSectionNoteProps",
1682
+ "sourcePath": "src/core/components/TPSwipeRow.tsx",
1683
+ "description": "Mobile swipeable list row exposing trailing actions (`neutral`, `focus`, `warning`, `alert`). Supports pointer horizontal drag gestures as well as accessible click/controlled `open`.",
1684
+ "propsType": "TPSwipeRowProps",
986
1685
  "props": [
987
1686
  {
988
- "name": "children",
989
- "type": "React.ReactNode",
1687
+ "name": "actions",
1688
+ "type": "readonly TPSwipeAction[]",
990
1689
  "optional": false
991
1690
  },
992
1691
  {
993
- "name": "tone",
994
- "type": "'default' | 'warning' | 'alert'",
1692
+ "name": "open",
1693
+ "type": "boolean",
1694
+ "optional": true
1695
+ },
1696
+ {
1697
+ "name": "defaultOpen",
1698
+ "type": "boolean",
1699
+ "optional": true
1700
+ },
1701
+ {
1702
+ "name": "onOpenChange",
1703
+ "type": "(open: boolean) => void",
1704
+ "optional": true
1705
+ },
1706
+ {
1707
+ "name": "disabled",
1708
+ "type": "boolean",
995
1709
  "optional": true
996
1710
  },
1711
+ {
1712
+ "name": "children",
1713
+ "type": "React.ReactNode",
1714
+ "optional": false
1715
+ },
997
1716
  {
998
1717
  "name": "className",
999
1718
  "type": "string",
@@ -1374,6 +2093,154 @@
1374
2093
  }
1375
2094
  ]
1376
2095
  },
2096
+ {
2097
+ "name": "TPIconButton",
2098
+ "category": "core-nav-controls",
2099
+ "kind": "component",
2100
+ "subpath": "@chenyqthu/tp-mobile-ui-kit/core",
2101
+ "sourcePath": "src/core/components/TPIconButton.tsx",
2102
+ "description": "Circular mobile icon button supporting Apple Liquid Glass, filled, tonal, and ghost variants.",
2103
+ "propsType": "TPIconButtonProps",
2104
+ "props": [
2105
+ {
2106
+ "name": "icon",
2107
+ "type": "TPIconName | React.ReactNode",
2108
+ "optional": false
2109
+ },
2110
+ {
2111
+ "name": "variant",
2112
+ "type": "'glass' | 'filled' | 'tonal' | 'ghost'",
2113
+ "optional": true
2114
+ },
2115
+ {
2116
+ "name": "size",
2117
+ "type": "'sm' | 'md' | 'lg'",
2118
+ "optional": true
2119
+ },
2120
+ {
2121
+ "name": "badge",
2122
+ "type": "number | string | boolean",
2123
+ "optional": true
2124
+ },
2125
+ {
2126
+ "name": "disabled",
2127
+ "type": "boolean",
2128
+ "optional": true
2129
+ },
2130
+ {
2131
+ "name": "ariaLabel",
2132
+ "type": "string",
2133
+ "optional": false
2134
+ },
2135
+ {
2136
+ "name": "onClick",
2137
+ "type": "(event: React.MouseEvent<HTMLButtonElement>) => void",
2138
+ "optional": true
2139
+ },
2140
+ {
2141
+ "name": "className",
2142
+ "type": "string",
2143
+ "optional": true
2144
+ },
2145
+ {
2146
+ "name": "style",
2147
+ "type": "React.CSSProperties",
2148
+ "optional": true
2149
+ }
2150
+ ]
2151
+ },
2152
+ {
2153
+ "name": "TPIconButtonGroup",
2154
+ "category": "core-nav-controls",
2155
+ "kind": "component",
2156
+ "subpath": "@chenyqthu/tp-mobile-ui-kit/core",
2157
+ "sourcePath": "src/core/components/TPIconButton.tsx",
2158
+ "description": "Floating pill capsule grouping multiple TPIconButton actions with shared Liquid Glass or solid backing.",
2159
+ "propsType": "TPIconButtonGroupProps",
2160
+ "props": [
2161
+ {
2162
+ "name": "variant",
2163
+ "type": "'glass' | 'solid'",
2164
+ "optional": true
2165
+ },
2166
+ {
2167
+ "name": "children",
2168
+ "type": "React.ReactNode",
2169
+ "optional": false
2170
+ },
2171
+ {
2172
+ "name": "className",
2173
+ "type": "string",
2174
+ "optional": true
2175
+ },
2176
+ {
2177
+ "name": "style",
2178
+ "type": "React.CSSProperties",
2179
+ "optional": true
2180
+ }
2181
+ ]
2182
+ },
2183
+ {
2184
+ "name": "TPLiquidGlass",
2185
+ "category": "core-nav-controls",
2186
+ "kind": "component",
2187
+ "subpath": "@chenyqthu/tp-mobile-ui-kit/core",
2188
+ "sourcePath": "src/core/components/TPLiquidGlass.tsx",
2189
+ "description": "Apple iOS 26/27 Liquid Glass surface primitive combining translucent refractive backdrop blur, a directional 135-degree specular rim highlight, and inner meniscus depth lighting.",
2190
+ "propsType": "TPLiquidGlassProps",
2191
+ "props": [
2192
+ {
2193
+ "name": "shape",
2194
+ "type": "'pill' | 'circle' | 'rounded'",
2195
+ "optional": true
2196
+ },
2197
+ {
2198
+ "name": "tint",
2199
+ "type": "'clear' | 'brand' | 'dark'",
2200
+ "optional": true
2201
+ },
2202
+ {
2203
+ "name": "interactive",
2204
+ "type": "boolean",
2205
+ "optional": true
2206
+ },
2207
+ {
2208
+ "name": "as",
2209
+ "type": "'div' | 'button' | 'nav' | 'section'",
2210
+ "optional": true
2211
+ },
2212
+ {
2213
+ "name": "ariaLabel",
2214
+ "type": "string",
2215
+ "optional": true
2216
+ },
2217
+ {
2218
+ "name": "disabled",
2219
+ "type": "boolean",
2220
+ "optional": true
2221
+ },
2222
+ {
2223
+ "name": "onClick",
2224
+ "type": "(event: React.MouseEvent<HTMLElement>) => void",
2225
+ "optional": true
2226
+ },
2227
+ {
2228
+ "name": "className",
2229
+ "type": "string",
2230
+ "optional": true
2231
+ },
2232
+ {
2233
+ "name": "style",
2234
+ "type": "React.CSSProperties",
2235
+ "optional": true
2236
+ },
2237
+ {
2238
+ "name": "children",
2239
+ "type": "React.ReactNode",
2240
+ "optional": true
2241
+ }
2242
+ ]
2243
+ },
1377
2244
  {
1378
2245
  "name": "TPPageControl",
1379
2246
  "category": "core-nav-controls",
@@ -1454,6 +2321,16 @@
1454
2321
  "type": "boolean",
1455
2322
  "optional": true
1456
2323
  },
2324
+ {
2325
+ "name": "overlayTop",
2326
+ "type": "boolean",
2327
+ "optional": true
2328
+ },
2329
+ {
2330
+ "name": "overlayBottom",
2331
+ "type": "boolean",
2332
+ "optional": true
2333
+ },
1457
2334
  {
1458
2335
  "name": "statusBar",
1459
2336
  "type": "React.ReactNode",
@@ -1586,6 +2463,31 @@
1586
2463
  "type": "boolean",
1587
2464
  "optional": true
1588
2465
  },
2466
+ {
2467
+ "name": "range",
2468
+ "type": "boolean",
2469
+ "optional": true
2470
+ },
2471
+ {
2472
+ "name": "rangeValue",
2473
+ "type": "readonly [number, number]",
2474
+ "optional": true
2475
+ },
2476
+ {
2477
+ "name": "defaultRangeValue",
2478
+ "type": "readonly [number, number]",
2479
+ "optional": true
2480
+ },
2481
+ {
2482
+ "name": "onRangeChange",
2483
+ "type": "(value: [number, number]) => void",
2484
+ "optional": true
2485
+ },
2486
+ {
2487
+ "name": "onRangeAfterChange",
2488
+ "type": "(value: [number, number]) => void",
2489
+ "optional": true
2490
+ },
1589
2491
  {
1590
2492
  "name": "onChange",
1591
2493
  "type": "(value: number) => void",
@@ -1759,6 +2661,11 @@
1759
2661
  "type": "'floating-pill' | 'docked'",
1760
2662
  "optional": true
1761
2663
  },
2664
+ {
2665
+ "name": "extraAction",
2666
+ "type": "React.ReactNode",
2667
+ "optional": true
2668
+ },
1762
2669
  {
1763
2670
  "name": "className",
1764
2671
  "type": "string",
@@ -1888,49 +2795,100 @@
1888
2795
  "propsType": "TPBottomSheetProps",
1889
2796
  "props": [
1890
2797
  {
1891
- "name": "open",
1892
- "type": "boolean",
1893
- "optional": false
2798
+ "name": "open",
2799
+ "type": "boolean",
2800
+ "optional": false
2801
+ },
2802
+ {
2803
+ "name": "title",
2804
+ "type": "React.ReactNode",
2805
+ "optional": true
2806
+ },
2807
+ {
2808
+ "name": "subtitle",
2809
+ "type": "React.ReactNode",
2810
+ "optional": true
2811
+ },
2812
+ {
2813
+ "name": "onClose",
2814
+ "type": "() => void",
2815
+ "optional": false
2816
+ },
2817
+ {
2818
+ "name": "showCloseButton",
2819
+ "type": "boolean",
2820
+ "optional": true
2821
+ },
2822
+ {
2823
+ "name": "showGrabber",
2824
+ "type": "boolean",
2825
+ "optional": true
2826
+ },
2827
+ {
2828
+ "name": "footer",
2829
+ "type": "React.ReactNode",
2830
+ "optional": true
2831
+ },
2832
+ {
2833
+ "name": "maxHeight",
2834
+ "type": "number | string",
2835
+ "optional": true
2836
+ },
2837
+ {
2838
+ "name": "children",
2839
+ "type": "React.ReactNode",
2840
+ "optional": false
2841
+ }
2842
+ ]
2843
+ },
2844
+ {
2845
+ "name": "TPFixedToast",
2846
+ "category": "core-overlays",
2847
+ "kind": "component",
2848
+ "subpath": "@chenyqthu/tp-mobile-ui-kit/core",
2849
+ "sourcePath": "src/core/components/TPFixedToast.tsx",
2850
+ "description": "Persistent inline/sticky notification bar matching Figma `Toast / Fixed Toast`.",
2851
+ "propsType": "TPFixedToastProps",
2852
+ "props": [
2853
+ {
2854
+ "name": "status",
2855
+ "type": "'default' | 'info' | 'success' | 'warning' | 'danger'",
2856
+ "optional": true
1894
2857
  },
1895
2858
  {
1896
- "name": "title",
1897
- "type": "React.ReactNode",
2859
+ "name": "action",
2860
+ "type": "'none' | 'close' | 'go-to' | 'button'",
1898
2861
  "optional": true
1899
2862
  },
1900
2863
  {
1901
- "name": "subtitle",
1902
- "type": "React.ReactNode",
2864
+ "name": "actionLabel",
2865
+ "type": "string",
1903
2866
  "optional": true
1904
2867
  },
1905
2868
  {
1906
- "name": "onClose",
2869
+ "name": "onAction",
1907
2870
  "type": "() => void",
1908
- "optional": false
1909
- },
1910
- {
1911
- "name": "showCloseButton",
1912
- "type": "boolean",
1913
2871
  "optional": true
1914
2872
  },
1915
2873
  {
1916
- "name": "showGrabber",
1917
- "type": "boolean",
2874
+ "name": "onClose",
2875
+ "type": "() => void",
1918
2876
  "optional": true
1919
2877
  },
1920
2878
  {
1921
- "name": "footer",
2879
+ "name": "message",
1922
2880
  "type": "React.ReactNode",
1923
- "optional": true
2881
+ "optional": false
1924
2882
  },
1925
2883
  {
1926
- "name": "maxHeight",
1927
- "type": "number | string",
2884
+ "name": "className",
2885
+ "type": "string",
1928
2886
  "optional": true
1929
2887
  },
1930
2888
  {
1931
- "name": "children",
1932
- "type": "React.ReactNode",
1933
- "optional": false
2889
+ "name": "style",
2890
+ "type": "React.CSSProperties",
2891
+ "optional": true
1934
2892
  }
1935
2893
  ]
1936
2894
  },
@@ -2164,6 +3122,62 @@
2164
3122
  }
2165
3123
  ]
2166
3124
  },
3125
+ {
3126
+ "name": "TPTooltip",
3127
+ "category": "core-overlays",
3128
+ "kind": "component",
3129
+ "subpath": "@chenyqthu/tp-mobile-ui-kit/core",
3130
+ "sourcePath": "src/core/components/TPTooltip.tsx",
3131
+ "description": "Callout tooltip bubble matching Figma `Prompt 提示气泡` with 6 arrow placements and optional click toggle.",
3132
+ "propsType": "TPTooltipProps",
3133
+ "props": [
3134
+ {
3135
+ "name": "content",
3136
+ "type": "React.ReactNode",
3137
+ "optional": false
3138
+ },
3139
+ {
3140
+ "name": "arrowPosition",
3141
+ "type": "'top-left' | 'top-right' | 'bottom-left' | 'bottom-right' | 'left' | 'right'",
3142
+ "optional": true
3143
+ },
3144
+ {
3145
+ "name": "contextAdaptive",
3146
+ "type": "boolean",
3147
+ "optional": true
3148
+ },
3149
+ {
3150
+ "name": "open",
3151
+ "type": "boolean",
3152
+ "optional": true
3153
+ },
3154
+ {
3155
+ "name": "defaultOpen",
3156
+ "type": "boolean",
3157
+ "optional": true
3158
+ },
3159
+ {
3160
+ "name": "onOpenChange",
3161
+ "type": "(open: boolean) => void",
3162
+ "optional": true
3163
+ },
3164
+ {
3165
+ "name": "children",
3166
+ "type": "React.ReactNode",
3167
+ "optional": true
3168
+ },
3169
+ {
3170
+ "name": "className",
3171
+ "type": "string",
3172
+ "optional": true
3173
+ },
3174
+ {
3175
+ "name": "style",
3176
+ "type": "React.CSSProperties",
3177
+ "optional": true
3178
+ }
3179
+ ]
3180
+ },
2167
3181
  {
2168
3182
  "name": "useTPToast",
2169
3183
  "category": "core-overlays",
@@ -2173,6 +3187,14 @@
2173
3187
  "description": "Hook returning { show, dismiss } to trigger imperative TPToast notifications.",
2174
3188
  "signature": "(): TPToastContextValue"
2175
3189
  },
3190
+ {
3191
+ "name": "DEFAULT_FIRMWARE_CANDIDATES",
3192
+ "category": "omada-blocks",
3193
+ "kind": "data",
3194
+ "subpath": "@chenyqthu/tp-mobile-ui-kit/omada",
3195
+ "sourcePath": "src/omada/blocks/OmadaFirmwareUpdateBlock.tsx",
3196
+ "description": ""
3197
+ },
2176
3198
  {
2177
3199
  "name": "DEFAULT_OMADA_DEVICES",
2178
3200
  "category": "omada-blocks",
@@ -2189,6 +3211,30 @@
2189
3211
  "sourcePath": "src/omada/blocks/OmadaIncidentsBlock.tsx",
2190
3212
  "description": ""
2191
3213
  },
3214
+ {
3215
+ "name": "DEFAULT_OMADA_PORTS",
3216
+ "category": "omada-blocks",
3217
+ "kind": "data",
3218
+ "subpath": "@chenyqthu/tp-mobile-ui-kit/omada",
3219
+ "sourcePath": "src/omada/blocks/OmadaPortPanelBlock.tsx",
3220
+ "description": ""
3221
+ },
3222
+ {
3223
+ "name": "DEFAULT_OMADA_SCHEDULES",
3224
+ "category": "omada-blocks",
3225
+ "kind": "data",
3226
+ "subpath": "@chenyqthu/tp-mobile-ui-kit/omada",
3227
+ "sourcePath": "src/omada/blocks/OmadaScheduleBlock.tsx",
3228
+ "description": ""
3229
+ },
3230
+ {
3231
+ "name": "DEFAULT_TOPOLOGY_NODES",
3232
+ "category": "omada-blocks",
3233
+ "kind": "data",
3234
+ "subpath": "@chenyqthu/tp-mobile-ui-kit/omada",
3235
+ "sourcePath": "src/omada/blocks/OmadaTopologyBlock.tsx",
3236
+ "description": ""
3237
+ },
2192
3238
  {
2193
3239
  "name": "OMADA_SITE_TABS",
2194
3240
  "category": "omada-blocks",
@@ -2243,6 +3289,47 @@
2243
3289
  }
2244
3290
  ]
2245
3291
  },
3292
+ {
3293
+ "name": "OmadaFirmwareUpdateBlock",
3294
+ "category": "omada-blocks",
3295
+ "kind": "component",
3296
+ "subpath": "@chenyqthu/tp-mobile-ui-kit/omada",
3297
+ "sourcePath": "src/omada/blocks/OmadaFirmwareUpdateBlock.tsx",
3298
+ "description": "Reusable Omada v5.3+ batch firmware update workflow block (`SMBNET-4894`) combining `TPFixedToast`, `TPStepText`, `TPCheckbox`, `TPProgress`, and `update-network` PAG motion.",
3299
+ "propsType": "OmadaFirmwareUpdateBlockProps",
3300
+ "props": [
3301
+ {
3302
+ "name": "candidates",
3303
+ "type": "readonly OmadaFirmwareCandidate[]",
3304
+ "optional": true
3305
+ },
3306
+ {
3307
+ "name": "showHeader",
3308
+ "type": "boolean",
3309
+ "optional": true
3310
+ },
3311
+ {
3312
+ "name": "onBack",
3313
+ "type": "() => void",
3314
+ "optional": true
3315
+ },
3316
+ {
3317
+ "name": "onUpgradeStart",
3318
+ "type": "(selectedIds: string[]) => void",
3319
+ "optional": true
3320
+ },
3321
+ {
3322
+ "name": "className",
3323
+ "type": "string",
3324
+ "optional": true
3325
+ },
3326
+ {
3327
+ "name": "style",
3328
+ "type": "React.CSSProperties",
3329
+ "optional": true
3330
+ }
3331
+ ]
3332
+ },
2246
3333
  {
2247
3334
  "name": "OmadaIncidentsBlock",
2248
3335
  "category": "omada-blocks",
@@ -2284,6 +3371,139 @@
2284
3371
  }
2285
3372
  ]
2286
3373
  },
3374
+ {
3375
+ "name": "OmadaPortPanelBlock",
3376
+ "category": "omada-blocks",
3377
+ "kind": "component",
3378
+ "subpath": "@chenyqthu/tp-mobile-ui-kit/omada",
3379
+ "sourcePath": "src/omada/blocks/OmadaPortPanelBlock.tsx",
3380
+ "description": "Reusable Omada v5.3+ hardware port panel (`SMBNET-4185` / `SMBNET-4057`) showing RJ45 & SFP+ physical faceplate indicators, PoE wattage badges, VLAN assignment, and interactive inspection.",
3381
+ "propsType": "OmadaPortPanelBlockProps",
3382
+ "props": [
3383
+ {
3384
+ "name": "deviceModel",
3385
+ "type": "string",
3386
+ "optional": true
3387
+ },
3388
+ {
3389
+ "name": "ports",
3390
+ "type": "readonly OmadaHardwarePort[]",
3391
+ "optional": true
3392
+ },
3393
+ {
3394
+ "name": "showHeader",
3395
+ "type": "boolean",
3396
+ "optional": true
3397
+ },
3398
+ {
3399
+ "name": "onBack",
3400
+ "type": "() => void",
3401
+ "optional": true
3402
+ },
3403
+ {
3404
+ "name": "onPortUpdate",
3405
+ "type": "(updated: OmadaHardwarePort) => void",
3406
+ "optional": true
3407
+ },
3408
+ {
3409
+ "name": "className",
3410
+ "type": "string",
3411
+ "optional": true
3412
+ },
3413
+ {
3414
+ "name": "style",
3415
+ "type": "React.CSSProperties",
3416
+ "optional": true
3417
+ }
3418
+ ]
3419
+ },
3420
+ {
3421
+ "name": "OmadaScheduleBlock",
3422
+ "category": "omada-blocks",
3423
+ "kind": "component",
3424
+ "subpath": "@chenyqthu/tp-mobile-ui-kit/omada",
3425
+ "sourcePath": "src/omada/blocks/OmadaScheduleBlock.tsx",
3426
+ "description": "Reusable Omada v5.3+ Schedule block (`SMBNET-3501`) supporting WLAN, PoE, and Reboot schedules with `TPDaySwitcher` weekday selection and `TPTimePicker` bottom sheet editing.",
3427
+ "propsType": "OmadaScheduleBlockProps",
3428
+ "props": [
3429
+ {
3430
+ "name": "rules",
3431
+ "type": "readonly OmadaScheduleRule[]",
3432
+ "optional": true
3433
+ },
3434
+ {
3435
+ "name": "showHeader",
3436
+ "type": "boolean",
3437
+ "optional": true
3438
+ },
3439
+ {
3440
+ "name": "onBack",
3441
+ "type": "() => void",
3442
+ "optional": true
3443
+ },
3444
+ {
3445
+ "name": "onChange",
3446
+ "type": "(rules: OmadaScheduleRule[]) => void",
3447
+ "optional": true
3448
+ },
3449
+ {
3450
+ "name": "className",
3451
+ "type": "string",
3452
+ "optional": true
3453
+ },
3454
+ {
3455
+ "name": "style",
3456
+ "type": "React.CSSProperties",
3457
+ "optional": true
3458
+ }
3459
+ ]
3460
+ },
3461
+ {
3462
+ "name": "OmadaTopologyBlock",
3463
+ "category": "omada-blocks",
3464
+ "kind": "component",
3465
+ "subpath": "@chenyqthu/tp-mobile-ui-kit/omada",
3466
+ "sourcePath": "src/omada/blocks/OmadaTopologyBlock.tsx",
3467
+ "description": "Interactive Omada v5.3+ network topology diagram (`SMBNET-4433`) showing Internet WAN uplink, Gateway root, downlink Access Points, link rates, and loop-detection status.",
3468
+ "propsType": "OmadaTopologyBlockProps",
3469
+ "props": [
3470
+ {
3471
+ "name": "siteName",
3472
+ "type": "string",
3473
+ "optional": true
3474
+ },
3475
+ {
3476
+ "name": "nodes",
3477
+ "type": "readonly OmadaTopologyNode[]",
3478
+ "optional": true
3479
+ },
3480
+ {
3481
+ "name": "showHeader",
3482
+ "type": "boolean",
3483
+ "optional": true
3484
+ },
3485
+ {
3486
+ "name": "onBack",
3487
+ "type": "() => void",
3488
+ "optional": true
3489
+ },
3490
+ {
3491
+ "name": "onSelectNode",
3492
+ "type": "(node: OmadaTopologyNode) => void",
3493
+ "optional": true
3494
+ },
3495
+ {
3496
+ "name": "className",
3497
+ "type": "string",
3498
+ "optional": true
3499
+ },
3500
+ {
3501
+ "name": "style",
3502
+ "type": "React.CSSProperties",
3503
+ "optional": true
3504
+ }
3505
+ ]
3506
+ },
2287
3507
  {
2288
3508
  "name": "OmadaWirelessNetworkBlock",
2289
3509
  "category": "omada-blocks",
@@ -2928,7 +4148,7 @@
2928
4148
  "kind": "component",
2929
4149
  "subpath": "@chenyqthu/tp-mobile-ui-kit/omada",
2930
4150
  "sourcePath": "src/omada/pages/OmadaSiteSettingsPage.tsx",
2931
- "description": "1:1 restoration of `SiteSettings.png`: centered `Settings` header, live `TPSearchBar`, 4 grouped `TPListCard`s with exact Omada `settings-*` icons, and drill-downs to Wireless Networks & Logs.",
4151
+ "description": "1:1 restoration of `SiteSettings.png`: centered `Settings` header, live `TPSearchBar`, 4 grouped `TPListCard`s with exact Omada `settings-*` icons, and drill-downs to Wireless Networks, Schedules, Firmware Updates & Logs.",
2932
4152
  "propsType": "OmadaSiteSettingsPageProps",
2933
4153
  "props": [
2934
4154
  {
@@ -2951,6 +4171,16 @@
2951
4171
  "type": "() => void",
2952
4172
  "optional": true
2953
4173
  },
4174
+ {
4175
+ "name": "onOpenSchedule",
4176
+ "type": "() => void",
4177
+ "optional": true
4178
+ },
4179
+ {
4180
+ "name": "onOpenFirmware",
4181
+ "type": "() => void",
4182
+ "optional": true
4183
+ },
2954
4184
  {
2955
4185
  "name": "onOpenLogs",
2956
4186
  "type": "() => void",
@@ -11080,8 +12310,8 @@
11080
12310
  "js": "https://cdn.jsdelivr.net/npm/@chenyqthu/tp-mobile-ui-kit@latest/dist/standalone.js"
11081
12311
  },
11082
12312
  "pinnedUrls": {
11083
- "css": "https://cdn.jsdelivr.net/npm/@chenyqthu/tp-mobile-ui-kit@0.1.0/dist/style.css",
11084
- "js": "https://cdn.jsdelivr.net/npm/@chenyqthu/tp-mobile-ui-kit@0.1.0/dist/standalone.js"
12313
+ "css": "https://cdn.jsdelivr.net/npm/@chenyqthu/tp-mobile-ui-kit@0.2.0/dist/style.css",
12314
+ "js": "https://cdn.jsdelivr.net/npm/@chenyqthu/tp-mobile-ui-kit@0.2.0/dist/standalone.js"
11085
12315
  }
11086
12316
  },
11087
12317
  {