@chenyqthu/tp-mobile-ui-kit 0.1.0 → 0.2.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +5 -5
- package/dist/catalog.json +1339 -71
- package/dist/chunks/{OmadaAppDemo-BP4a4ch_.js → OmadaAppDemo-Dwm_iU6O.js} +2050 -1239
- package/dist/chunks/TPPrompt-6o6zUNzO.js +3748 -0
- package/dist/core.js +2 -2
- package/dist/index.js +7 -7
- package/dist/omada.js +7 -7
- package/dist/standalone.js +341 -341
- package/dist/style.css +1 -1
- package/dist/types/core/components/TPAvatar.d.ts +7 -0
- package/dist/types/core/components/TPCheckbox.d.ts +11 -0
- package/dist/types/core/components/TPDivider.d.ts +7 -0
- package/dist/types/core/components/TPFixedToast.d.ts +7 -0
- package/dist/types/core/components/TPIconButton.d.ts +11 -0
- package/dist/types/core/components/TPLast7DaysPicker.d.ts +7 -0
- package/dist/types/core/components/TPLiquidGlass.d.ts +9 -0
- package/dist/types/core/components/TPLiquidGlassBackdrop.d.ts +32 -0
- package/dist/types/core/components/TPMonthPicker.d.ts +7 -0
- package/dist/types/core/components/TPPinInput.d.ts +7 -0
- package/dist/types/core/components/TPProgress.d.ts +7 -0
- package/dist/types/core/components/TPRadio.d.ts +11 -0
- package/dist/types/core/components/TPSkeleton.d.ts +7 -0
- package/dist/types/core/components/TPStepText.d.ts +7 -0
- package/dist/types/core/components/TPStepper.d.ts +7 -0
- package/dist/types/core/components/TPSwipeRow.d.ts +8 -0
- package/dist/types/core/components/TPTooltip.d.ts +7 -0
- package/dist/types/core/index.d.ts +17 -0
- package/dist/types/core/types.d.ts +236 -0
- package/dist/types/core/utils/liquidGlassEngine.d.ts +37 -0
- package/dist/types/omada/blocks/OmadaFirmwareUpdateBlock.d.ts +23 -0
- package/dist/types/omada/blocks/OmadaPortPanelBlock.d.ts +31 -0
- package/dist/types/omada/blocks/OmadaScheduleBlock.d.ts +33 -0
- package/dist/types/omada/blocks/OmadaTopologyBlock.d.ts +26 -0
- package/dist/types/omada/index.d.ts +4 -0
- package/dist/types/omada/pages/OmadaAppDemo.d.ts +1 -1
- package/dist/types/omada/pages/OmadaSiteSettingsPage.d.ts +4 -2
- package/package.json +2 -2
- package/skills/tp-mobile-ui-kit/SKILL.md +5 -4
- package/skills/tp-mobile-ui-kit/references/catalog.json +1339 -71
- package/dist/chunks/TPPrompt-Csg5YasJ.js +0 -2460
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
{
|
|
2
2
|
"schemaVersion": 1,
|
|
3
|
-
"generatedAt": "2026-11-
|
|
3
|
+
"generatedAt": "2026-11-24T00:53:16.666Z",
|
|
4
4
|
"package": {
|
|
5
5
|
"name": "@chenyqthu/tp-mobile-ui-kit",
|
|
6
|
-
"version": "0.1
|
|
7
|
-
"description": "TP-Link multi-brand mobile React UI component library (TP-Design
|
|
6
|
+
"version": "0.2.1",
|
|
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,15 +18,15 @@
|
|
|
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
|
|
22
|
-
"pinnedStandalone": "https://cdn.jsdelivr.net/npm/@chenyqthu/tp-mobile-ui-kit@0.1
|
|
21
|
+
"pinnedCss": "https://cdn.jsdelivr.net/npm/@chenyqthu/tp-mobile-ui-kit@0.2.1/dist/style.css",
|
|
22
|
+
"pinnedStandalone": "https://cdn.jsdelivr.net/npm/@chenyqthu/tp-mobile-ui-kit@0.2.1/dist/standalone.js"
|
|
23
23
|
}
|
|
24
24
|
},
|
|
25
25
|
"counts": {
|
|
26
|
-
"components":
|
|
27
|
-
"blocks":
|
|
26
|
+
"components": 77,
|
|
27
|
+
"blocks": 7,
|
|
28
28
|
"pages": 10,
|
|
29
|
-
"hooksAndHelpers":
|
|
29
|
+
"hooksAndHelpers": 11,
|
|
30
30
|
"brands": 6,
|
|
31
31
|
"themePresets": 12,
|
|
32
32
|
"templates": 3,
|
|
@@ -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,42 @@
|
|
|
879
1139
|
]
|
|
880
1140
|
},
|
|
881
1141
|
{
|
|
882
|
-
"name": "
|
|
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/
|
|
887
|
-
"description": "
|
|
888
|
-
"propsType": "
|
|
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": "
|
|
1152
|
+
"type": "TPMonthPickerValue",
|
|
893
1153
|
"optional": true
|
|
894
1154
|
},
|
|
895
1155
|
{
|
|
896
1156
|
"name": "defaultValue",
|
|
897
|
-
"type": "
|
|
898
|
-
"optional": true
|
|
899
|
-
},
|
|
900
|
-
{
|
|
901
|
-
"name": "placeholder",
|
|
902
|
-
"type": "string",
|
|
903
|
-
"optional": true
|
|
904
|
-
},
|
|
905
|
-
{
|
|
906
|
-
"name": "onChange",
|
|
907
|
-
"type": "(value: string) => void",
|
|
1157
|
+
"type": "TPMonthPickerValue",
|
|
908
1158
|
"optional": true
|
|
909
1159
|
},
|
|
910
1160
|
{
|
|
911
|
-
"name": "
|
|
912
|
-
"type": "
|
|
1161
|
+
"name": "minYear",
|
|
1162
|
+
"type": "number",
|
|
913
1163
|
"optional": true
|
|
914
1164
|
},
|
|
915
1165
|
{
|
|
916
|
-
"name": "
|
|
917
|
-
"type": "
|
|
1166
|
+
"name": "maxYear",
|
|
1167
|
+
"type": "number",
|
|
918
1168
|
"optional": true
|
|
919
1169
|
},
|
|
920
1170
|
{
|
|
921
|
-
"name": "
|
|
922
|
-
"type": "
|
|
1171
|
+
"name": "locale",
|
|
1172
|
+
"type": "'en' | 'zh'",
|
|
923
1173
|
"optional": true
|
|
924
1174
|
},
|
|
925
1175
|
{
|
|
926
|
-
"name": "
|
|
927
|
-
"type": "
|
|
1176
|
+
"name": "onChange",
|
|
1177
|
+
"type": "(val: TPMonthPickerValue) => void",
|
|
928
1178
|
"optional": true
|
|
929
1179
|
},
|
|
930
1180
|
{
|
|
@@ -940,17 +1190,322 @@
|
|
|
940
1190
|
]
|
|
941
1191
|
},
|
|
942
1192
|
{
|
|
943
|
-
"name": "
|
|
1193
|
+
"name": "TPPinInput",
|
|
944
1194
|
"category": "core-lists-inputs",
|
|
945
1195
|
"kind": "component",
|
|
946
1196
|
"subpath": "@chenyqthu/tp-mobile-ui-kit/core",
|
|
947
|
-
"sourcePath": "src/core/components/
|
|
948
|
-
"description": "
|
|
949
|
-
"propsType": "
|
|
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",
|
|
950
1200
|
"props": [
|
|
951
1201
|
{
|
|
952
|
-
"name": "
|
|
953
|
-
"type": "
|
|
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",
|
|
954
1509
|
"optional": false
|
|
955
1510
|
},
|
|
956
1511
|
{
|
|
@@ -976,24 +1531,188 @@
|
|
|
976
1531
|
]
|
|
977
1532
|
},
|
|
978
1533
|
{
|
|
979
|
-
"name": "TPSectionNote",
|
|
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
|
|
1623
|
+
},
|
|
1624
|
+
{
|
|
1625
|
+
"name": "current",
|
|
1626
|
+
"type": "number",
|
|
1627
|
+
"optional": false
|
|
1628
|
+
},
|
|
1629
|
+
{
|
|
1630
|
+
"name": "direction",
|
|
1631
|
+
"type": "'horizontal' | 'vertical'",
|
|
1632
|
+
"optional": true
|
|
1633
|
+
},
|
|
1634
|
+
{
|
|
1635
|
+
"name": "className",
|
|
1636
|
+
"type": "string",
|
|
1637
|
+
"optional": true
|
|
1638
|
+
},
|
|
1639
|
+
{
|
|
1640
|
+
"name": "style",
|
|
1641
|
+
"type": "React.CSSProperties",
|
|
1642
|
+
"optional": true
|
|
1643
|
+
}
|
|
1644
|
+
]
|
|
1645
|
+
},
|
|
1646
|
+
{
|
|
1647
|
+
"name": "TPStepText",
|
|
1648
|
+
"category": "core-lists-inputs",
|
|
1649
|
+
"kind": "component",
|
|
1650
|
+
"subpath": "@chenyqthu/tp-mobile-ui-kit/core",
|
|
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",
|
|
1654
|
+
"props": [
|
|
1655
|
+
{
|
|
1656
|
+
"name": "variant",
|
|
1657
|
+
"type": "'step' | 'numbered' | 'bullet'",
|
|
1658
|
+
"optional": true
|
|
1659
|
+
},
|
|
1660
|
+
{
|
|
1661
|
+
"name": "items",
|
|
1662
|
+
"type": "readonly TPStepTextItem[]",
|
|
1663
|
+
"optional": false
|
|
1664
|
+
},
|
|
1665
|
+
{
|
|
1666
|
+
"name": "className",
|
|
1667
|
+
"type": "string",
|
|
1668
|
+
"optional": true
|
|
1669
|
+
},
|
|
1670
|
+
{
|
|
1671
|
+
"name": "style",
|
|
1672
|
+
"type": "React.CSSProperties",
|
|
1673
|
+
"optional": true
|
|
1674
|
+
}
|
|
1675
|
+
]
|
|
1676
|
+
},
|
|
1677
|
+
{
|
|
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/
|
|
984
|
-
"description": "
|
|
985
|
-
"propsType": "
|
|
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": "
|
|
989
|
-
"type": "
|
|
1687
|
+
"name": "actions",
|
|
1688
|
+
"type": "readonly TPSwipeAction[]",
|
|
990
1689
|
"optional": false
|
|
991
1690
|
},
|
|
992
1691
|
{
|
|
993
|
-
"name": "
|
|
994
|
-
"type": "
|
|
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",
|
|
@@ -1190,6 +1909,24 @@
|
|
|
1190
1909
|
}
|
|
1191
1910
|
]
|
|
1192
1911
|
},
|
|
1912
|
+
{
|
|
1913
|
+
"name": "computeLiquidGlassDisplacementField",
|
|
1914
|
+
"category": "core-nav-controls",
|
|
1915
|
+
"kind": "helper",
|
|
1916
|
+
"subpath": "@chenyqthu/tp-mobile-ui-kit/core",
|
|
1917
|
+
"sourcePath": "src/core/utils/liquidGlassEngine.ts",
|
|
1918
|
+
"description": "Computes a rounded-rectangle SDF displacement field using a convex squircle profile and Snell's law refraction (`n1 = 1.0 -> n2 = 1.5`), keeping interior center pixels neutral (`R = 128, G = 128`) and refracting along the curved bezel rim.",
|
|
1919
|
+
"signature": "(options: LiquidGlassFieldOptions): LiquidGlassFieldResult"
|
|
1920
|
+
},
|
|
1921
|
+
{
|
|
1922
|
+
"name": "supportsSvgBackdropFilter",
|
|
1923
|
+
"category": "core-nav-controls",
|
|
1924
|
+
"kind": "helper",
|
|
1925
|
+
"subpath": "@chenyqthu/tp-mobile-ui-kit/core",
|
|
1926
|
+
"sourcePath": "src/core/utils/liquidGlassEngine.ts",
|
|
1927
|
+
"description": "Returns true only in Chromium desktop/Android browsers where SVG `backdrop-filter: url(#...)` samples live DOM pixels behind the element. Safari/WebKit and Firefox drop the entire `backdrop-filter` rule when `url(...)` appears, so they receive CSS fallback styling instead.",
|
|
1928
|
+
"signature": "(): boolean"
|
|
1929
|
+
},
|
|
1193
1930
|
{
|
|
1194
1931
|
"name": "TPButton",
|
|
1195
1932
|
"category": "core-nav-controls",
|
|
@@ -1374,6 +2111,174 @@
|
|
|
1374
2111
|
}
|
|
1375
2112
|
]
|
|
1376
2113
|
},
|
|
2114
|
+
{
|
|
2115
|
+
"name": "TPIconButton",
|
|
2116
|
+
"category": "core-nav-controls",
|
|
2117
|
+
"kind": "component",
|
|
2118
|
+
"subpath": "@chenyqthu/tp-mobile-ui-kit/core",
|
|
2119
|
+
"sourcePath": "src/core/components/TPIconButton.tsx",
|
|
2120
|
+
"description": "Circular mobile icon button supporting Apple Liquid Glass, filled, tonal, and ghost variants.",
|
|
2121
|
+
"propsType": "TPIconButtonProps",
|
|
2122
|
+
"props": [
|
|
2123
|
+
{
|
|
2124
|
+
"name": "icon",
|
|
2125
|
+
"type": "TPIconName | React.ReactNode",
|
|
2126
|
+
"optional": false
|
|
2127
|
+
},
|
|
2128
|
+
{
|
|
2129
|
+
"name": "variant",
|
|
2130
|
+
"type": "'glass' | 'filled' | 'tonal' | 'ghost'",
|
|
2131
|
+
"optional": true
|
|
2132
|
+
},
|
|
2133
|
+
{
|
|
2134
|
+
"name": "size",
|
|
2135
|
+
"type": "'sm' | 'md' | 'lg'",
|
|
2136
|
+
"optional": true
|
|
2137
|
+
},
|
|
2138
|
+
{
|
|
2139
|
+
"name": "badge",
|
|
2140
|
+
"type": "number | string | boolean",
|
|
2141
|
+
"optional": true
|
|
2142
|
+
},
|
|
2143
|
+
{
|
|
2144
|
+
"name": "disabled",
|
|
2145
|
+
"type": "boolean",
|
|
2146
|
+
"optional": true
|
|
2147
|
+
},
|
|
2148
|
+
{
|
|
2149
|
+
"name": "ariaLabel",
|
|
2150
|
+
"type": "string",
|
|
2151
|
+
"optional": false
|
|
2152
|
+
},
|
|
2153
|
+
{
|
|
2154
|
+
"name": "onClick",
|
|
2155
|
+
"type": "(event: React.MouseEvent<HTMLButtonElement>) => void",
|
|
2156
|
+
"optional": true
|
|
2157
|
+
},
|
|
2158
|
+
{
|
|
2159
|
+
"name": "className",
|
|
2160
|
+
"type": "string",
|
|
2161
|
+
"optional": true
|
|
2162
|
+
},
|
|
2163
|
+
{
|
|
2164
|
+
"name": "style",
|
|
2165
|
+
"type": "React.CSSProperties",
|
|
2166
|
+
"optional": true
|
|
2167
|
+
}
|
|
2168
|
+
]
|
|
2169
|
+
},
|
|
2170
|
+
{
|
|
2171
|
+
"name": "TPIconButtonGroup",
|
|
2172
|
+
"category": "core-nav-controls",
|
|
2173
|
+
"kind": "component",
|
|
2174
|
+
"subpath": "@chenyqthu/tp-mobile-ui-kit/core",
|
|
2175
|
+
"sourcePath": "src/core/components/TPIconButton.tsx",
|
|
2176
|
+
"description": "Floating pill capsule grouping multiple TPIconButton actions with shared Liquid Glass or solid backing.",
|
|
2177
|
+
"propsType": "TPIconButtonGroupProps",
|
|
2178
|
+
"props": [
|
|
2179
|
+
{
|
|
2180
|
+
"name": "variant",
|
|
2181
|
+
"type": "'glass' | 'solid'",
|
|
2182
|
+
"optional": true
|
|
2183
|
+
},
|
|
2184
|
+
{
|
|
2185
|
+
"name": "children",
|
|
2186
|
+
"type": "React.ReactNode",
|
|
2187
|
+
"optional": false
|
|
2188
|
+
},
|
|
2189
|
+
{
|
|
2190
|
+
"name": "className",
|
|
2191
|
+
"type": "string",
|
|
2192
|
+
"optional": true
|
|
2193
|
+
},
|
|
2194
|
+
{
|
|
2195
|
+
"name": "style",
|
|
2196
|
+
"type": "React.CSSProperties",
|
|
2197
|
+
"optional": true
|
|
2198
|
+
}
|
|
2199
|
+
]
|
|
2200
|
+
},
|
|
2201
|
+
{
|
|
2202
|
+
"name": "TPLiquidGlass",
|
|
2203
|
+
"category": "core-nav-controls",
|
|
2204
|
+
"kind": "component",
|
|
2205
|
+
"subpath": "@chenyqthu/tp-mobile-ui-kit/core",
|
|
2206
|
+
"sourcePath": "src/core/components/TPLiquidGlass.tsx",
|
|
2207
|
+
"description": "Apple iOS 26/27 Liquid Glass surface primitive combining SDF Snell-law optical backdrop refraction (with subtle RGB dispersion in Chromium), directional 135-degree specular rim highlights, and inner meniscus depth lighting.",
|
|
2208
|
+
"propsType": "TPLiquidGlassProps",
|
|
2209
|
+
"props": [
|
|
2210
|
+
{
|
|
2211
|
+
"name": "shape",
|
|
2212
|
+
"type": "'pill' | 'circle' | 'rounded'",
|
|
2213
|
+
"optional": true
|
|
2214
|
+
},
|
|
2215
|
+
{
|
|
2216
|
+
"name": "tint",
|
|
2217
|
+
"type": "'clear' | 'brand' | 'dark'",
|
|
2218
|
+
"optional": true
|
|
2219
|
+
},
|
|
2220
|
+
{
|
|
2221
|
+
"name": "interactive",
|
|
2222
|
+
"type": "boolean",
|
|
2223
|
+
"optional": true
|
|
2224
|
+
},
|
|
2225
|
+
{
|
|
2226
|
+
"name": "refraction",
|
|
2227
|
+
"type": "number",
|
|
2228
|
+
"optional": true
|
|
2229
|
+
},
|
|
2230
|
+
{
|
|
2231
|
+
"name": "dispersion",
|
|
2232
|
+
"type": "number",
|
|
2233
|
+
"optional": true
|
|
2234
|
+
},
|
|
2235
|
+
{
|
|
2236
|
+
"name": "blur",
|
|
2237
|
+
"type": "number",
|
|
2238
|
+
"optional": true
|
|
2239
|
+
},
|
|
2240
|
+
{
|
|
2241
|
+
"name": "optical",
|
|
2242
|
+
"type": "boolean",
|
|
2243
|
+
"optional": true
|
|
2244
|
+
},
|
|
2245
|
+
{
|
|
2246
|
+
"name": "as",
|
|
2247
|
+
"type": "'div' | 'button' | 'nav' | 'section'",
|
|
2248
|
+
"optional": true
|
|
2249
|
+
},
|
|
2250
|
+
{
|
|
2251
|
+
"name": "ariaLabel",
|
|
2252
|
+
"type": "string",
|
|
2253
|
+
"optional": true
|
|
2254
|
+
},
|
|
2255
|
+
{
|
|
2256
|
+
"name": "disabled",
|
|
2257
|
+
"type": "boolean",
|
|
2258
|
+
"optional": true
|
|
2259
|
+
},
|
|
2260
|
+
{
|
|
2261
|
+
"name": "onClick",
|
|
2262
|
+
"type": "(event: React.MouseEvent<HTMLElement>) => void",
|
|
2263
|
+
"optional": true
|
|
2264
|
+
},
|
|
2265
|
+
{
|
|
2266
|
+
"name": "className",
|
|
2267
|
+
"type": "string",
|
|
2268
|
+
"optional": true
|
|
2269
|
+
},
|
|
2270
|
+
{
|
|
2271
|
+
"name": "style",
|
|
2272
|
+
"type": "React.CSSProperties",
|
|
2273
|
+
"optional": true
|
|
2274
|
+
},
|
|
2275
|
+
{
|
|
2276
|
+
"name": "children",
|
|
2277
|
+
"type": "React.ReactNode",
|
|
2278
|
+
"optional": true
|
|
2279
|
+
}
|
|
2280
|
+
]
|
|
2281
|
+
},
|
|
1377
2282
|
{
|
|
1378
2283
|
"name": "TPPageControl",
|
|
1379
2284
|
"category": "core-nav-controls",
|
|
@@ -1454,6 +2359,16 @@
|
|
|
1454
2359
|
"type": "boolean",
|
|
1455
2360
|
"optional": true
|
|
1456
2361
|
},
|
|
2362
|
+
{
|
|
2363
|
+
"name": "overlayTop",
|
|
2364
|
+
"type": "boolean",
|
|
2365
|
+
"optional": true
|
|
2366
|
+
},
|
|
2367
|
+
{
|
|
2368
|
+
"name": "overlayBottom",
|
|
2369
|
+
"type": "boolean",
|
|
2370
|
+
"optional": true
|
|
2371
|
+
},
|
|
1457
2372
|
{
|
|
1458
2373
|
"name": "statusBar",
|
|
1459
2374
|
"type": "React.ReactNode",
|
|
@@ -1586,6 +2501,31 @@
|
|
|
1586
2501
|
"type": "boolean",
|
|
1587
2502
|
"optional": true
|
|
1588
2503
|
},
|
|
2504
|
+
{
|
|
2505
|
+
"name": "range",
|
|
2506
|
+
"type": "boolean",
|
|
2507
|
+
"optional": true
|
|
2508
|
+
},
|
|
2509
|
+
{
|
|
2510
|
+
"name": "rangeValue",
|
|
2511
|
+
"type": "readonly [number, number]",
|
|
2512
|
+
"optional": true
|
|
2513
|
+
},
|
|
2514
|
+
{
|
|
2515
|
+
"name": "defaultRangeValue",
|
|
2516
|
+
"type": "readonly [number, number]",
|
|
2517
|
+
"optional": true
|
|
2518
|
+
},
|
|
2519
|
+
{
|
|
2520
|
+
"name": "onRangeChange",
|
|
2521
|
+
"type": "(value: [number, number]) => void",
|
|
2522
|
+
"optional": true
|
|
2523
|
+
},
|
|
2524
|
+
{
|
|
2525
|
+
"name": "onRangeAfterChange",
|
|
2526
|
+
"type": "(value: [number, number]) => void",
|
|
2527
|
+
"optional": true
|
|
2528
|
+
},
|
|
1589
2529
|
{
|
|
1590
2530
|
"name": "onChange",
|
|
1591
2531
|
"type": "(value: number) => void",
|
|
@@ -1759,6 +2699,11 @@
|
|
|
1759
2699
|
"type": "'floating-pill' | 'docked'",
|
|
1760
2700
|
"optional": true
|
|
1761
2701
|
},
|
|
2702
|
+
{
|
|
2703
|
+
"name": "extraAction",
|
|
2704
|
+
"type": "React.ReactNode",
|
|
2705
|
+
"optional": true
|
|
2706
|
+
},
|
|
1762
2707
|
{
|
|
1763
2708
|
"name": "className",
|
|
1764
2709
|
"type": "string",
|
|
@@ -1888,49 +2833,100 @@
|
|
|
1888
2833
|
"propsType": "TPBottomSheetProps",
|
|
1889
2834
|
"props": [
|
|
1890
2835
|
{
|
|
1891
|
-
"name": "open",
|
|
1892
|
-
"type": "boolean",
|
|
1893
|
-
"optional": false
|
|
2836
|
+
"name": "open",
|
|
2837
|
+
"type": "boolean",
|
|
2838
|
+
"optional": false
|
|
2839
|
+
},
|
|
2840
|
+
{
|
|
2841
|
+
"name": "title",
|
|
2842
|
+
"type": "React.ReactNode",
|
|
2843
|
+
"optional": true
|
|
2844
|
+
},
|
|
2845
|
+
{
|
|
2846
|
+
"name": "subtitle",
|
|
2847
|
+
"type": "React.ReactNode",
|
|
2848
|
+
"optional": true
|
|
2849
|
+
},
|
|
2850
|
+
{
|
|
2851
|
+
"name": "onClose",
|
|
2852
|
+
"type": "() => void",
|
|
2853
|
+
"optional": false
|
|
2854
|
+
},
|
|
2855
|
+
{
|
|
2856
|
+
"name": "showCloseButton",
|
|
2857
|
+
"type": "boolean",
|
|
2858
|
+
"optional": true
|
|
2859
|
+
},
|
|
2860
|
+
{
|
|
2861
|
+
"name": "showGrabber",
|
|
2862
|
+
"type": "boolean",
|
|
2863
|
+
"optional": true
|
|
2864
|
+
},
|
|
2865
|
+
{
|
|
2866
|
+
"name": "footer",
|
|
2867
|
+
"type": "React.ReactNode",
|
|
2868
|
+
"optional": true
|
|
2869
|
+
},
|
|
2870
|
+
{
|
|
2871
|
+
"name": "maxHeight",
|
|
2872
|
+
"type": "number | string",
|
|
2873
|
+
"optional": true
|
|
2874
|
+
},
|
|
2875
|
+
{
|
|
2876
|
+
"name": "children",
|
|
2877
|
+
"type": "React.ReactNode",
|
|
2878
|
+
"optional": false
|
|
2879
|
+
}
|
|
2880
|
+
]
|
|
2881
|
+
},
|
|
2882
|
+
{
|
|
2883
|
+
"name": "TPFixedToast",
|
|
2884
|
+
"category": "core-overlays",
|
|
2885
|
+
"kind": "component",
|
|
2886
|
+
"subpath": "@chenyqthu/tp-mobile-ui-kit/core",
|
|
2887
|
+
"sourcePath": "src/core/components/TPFixedToast.tsx",
|
|
2888
|
+
"description": "Persistent inline/sticky notification bar matching Figma `Toast / Fixed Toast`.",
|
|
2889
|
+
"propsType": "TPFixedToastProps",
|
|
2890
|
+
"props": [
|
|
2891
|
+
{
|
|
2892
|
+
"name": "status",
|
|
2893
|
+
"type": "'default' | 'info' | 'success' | 'warning' | 'danger'",
|
|
2894
|
+
"optional": true
|
|
1894
2895
|
},
|
|
1895
2896
|
{
|
|
1896
|
-
"name": "
|
|
1897
|
-
"type": "
|
|
2897
|
+
"name": "action",
|
|
2898
|
+
"type": "'none' | 'close' | 'go-to' | 'button'",
|
|
1898
2899
|
"optional": true
|
|
1899
2900
|
},
|
|
1900
2901
|
{
|
|
1901
|
-
"name": "
|
|
1902
|
-
"type": "
|
|
2902
|
+
"name": "actionLabel",
|
|
2903
|
+
"type": "string",
|
|
1903
2904
|
"optional": true
|
|
1904
2905
|
},
|
|
1905
2906
|
{
|
|
1906
|
-
"name": "
|
|
2907
|
+
"name": "onAction",
|
|
1907
2908
|
"type": "() => void",
|
|
1908
|
-
"optional": false
|
|
1909
|
-
},
|
|
1910
|
-
{
|
|
1911
|
-
"name": "showCloseButton",
|
|
1912
|
-
"type": "boolean",
|
|
1913
2909
|
"optional": true
|
|
1914
2910
|
},
|
|
1915
2911
|
{
|
|
1916
|
-
"name": "
|
|
1917
|
-
"type": "
|
|
2912
|
+
"name": "onClose",
|
|
2913
|
+
"type": "() => void",
|
|
1918
2914
|
"optional": true
|
|
1919
2915
|
},
|
|
1920
2916
|
{
|
|
1921
|
-
"name": "
|
|
2917
|
+
"name": "message",
|
|
1922
2918
|
"type": "React.ReactNode",
|
|
1923
|
-
"optional":
|
|
2919
|
+
"optional": false
|
|
1924
2920
|
},
|
|
1925
2921
|
{
|
|
1926
|
-
"name": "
|
|
1927
|
-
"type": "
|
|
2922
|
+
"name": "className",
|
|
2923
|
+
"type": "string",
|
|
1928
2924
|
"optional": true
|
|
1929
2925
|
},
|
|
1930
2926
|
{
|
|
1931
|
-
"name": "
|
|
1932
|
-
"type": "React.
|
|
1933
|
-
"optional":
|
|
2927
|
+
"name": "style",
|
|
2928
|
+
"type": "React.CSSProperties",
|
|
2929
|
+
"optional": true
|
|
1934
2930
|
}
|
|
1935
2931
|
]
|
|
1936
2932
|
},
|
|
@@ -2164,6 +3160,62 @@
|
|
|
2164
3160
|
}
|
|
2165
3161
|
]
|
|
2166
3162
|
},
|
|
3163
|
+
{
|
|
3164
|
+
"name": "TPTooltip",
|
|
3165
|
+
"category": "core-overlays",
|
|
3166
|
+
"kind": "component",
|
|
3167
|
+
"subpath": "@chenyqthu/tp-mobile-ui-kit/core",
|
|
3168
|
+
"sourcePath": "src/core/components/TPTooltip.tsx",
|
|
3169
|
+
"description": "Callout tooltip bubble matching Figma `Prompt 提示气泡` with 6 arrow placements and optional click toggle.",
|
|
3170
|
+
"propsType": "TPTooltipProps",
|
|
3171
|
+
"props": [
|
|
3172
|
+
{
|
|
3173
|
+
"name": "content",
|
|
3174
|
+
"type": "React.ReactNode",
|
|
3175
|
+
"optional": false
|
|
3176
|
+
},
|
|
3177
|
+
{
|
|
3178
|
+
"name": "arrowPosition",
|
|
3179
|
+
"type": "'top-left' | 'top-right' | 'bottom-left' | 'bottom-right' | 'left' | 'right'",
|
|
3180
|
+
"optional": true
|
|
3181
|
+
},
|
|
3182
|
+
{
|
|
3183
|
+
"name": "contextAdaptive",
|
|
3184
|
+
"type": "boolean",
|
|
3185
|
+
"optional": true
|
|
3186
|
+
},
|
|
3187
|
+
{
|
|
3188
|
+
"name": "open",
|
|
3189
|
+
"type": "boolean",
|
|
3190
|
+
"optional": true
|
|
3191
|
+
},
|
|
3192
|
+
{
|
|
3193
|
+
"name": "defaultOpen",
|
|
3194
|
+
"type": "boolean",
|
|
3195
|
+
"optional": true
|
|
3196
|
+
},
|
|
3197
|
+
{
|
|
3198
|
+
"name": "onOpenChange",
|
|
3199
|
+
"type": "(open: boolean) => void",
|
|
3200
|
+
"optional": true
|
|
3201
|
+
},
|
|
3202
|
+
{
|
|
3203
|
+
"name": "children",
|
|
3204
|
+
"type": "React.ReactNode",
|
|
3205
|
+
"optional": true
|
|
3206
|
+
},
|
|
3207
|
+
{
|
|
3208
|
+
"name": "className",
|
|
3209
|
+
"type": "string",
|
|
3210
|
+
"optional": true
|
|
3211
|
+
},
|
|
3212
|
+
{
|
|
3213
|
+
"name": "style",
|
|
3214
|
+
"type": "React.CSSProperties",
|
|
3215
|
+
"optional": true
|
|
3216
|
+
}
|
|
3217
|
+
]
|
|
3218
|
+
},
|
|
2167
3219
|
{
|
|
2168
3220
|
"name": "useTPToast",
|
|
2169
3221
|
"category": "core-overlays",
|
|
@@ -2173,6 +3225,14 @@
|
|
|
2173
3225
|
"description": "Hook returning { show, dismiss } to trigger imperative TPToast notifications.",
|
|
2174
3226
|
"signature": "(): TPToastContextValue"
|
|
2175
3227
|
},
|
|
3228
|
+
{
|
|
3229
|
+
"name": "DEFAULT_FIRMWARE_CANDIDATES",
|
|
3230
|
+
"category": "omada-blocks",
|
|
3231
|
+
"kind": "data",
|
|
3232
|
+
"subpath": "@chenyqthu/tp-mobile-ui-kit/omada",
|
|
3233
|
+
"sourcePath": "src/omada/blocks/OmadaFirmwareUpdateBlock.tsx",
|
|
3234
|
+
"description": ""
|
|
3235
|
+
},
|
|
2176
3236
|
{
|
|
2177
3237
|
"name": "DEFAULT_OMADA_DEVICES",
|
|
2178
3238
|
"category": "omada-blocks",
|
|
@@ -2189,6 +3249,30 @@
|
|
|
2189
3249
|
"sourcePath": "src/omada/blocks/OmadaIncidentsBlock.tsx",
|
|
2190
3250
|
"description": ""
|
|
2191
3251
|
},
|
|
3252
|
+
{
|
|
3253
|
+
"name": "DEFAULT_OMADA_PORTS",
|
|
3254
|
+
"category": "omada-blocks",
|
|
3255
|
+
"kind": "data",
|
|
3256
|
+
"subpath": "@chenyqthu/tp-mobile-ui-kit/omada",
|
|
3257
|
+
"sourcePath": "src/omada/blocks/OmadaPortPanelBlock.tsx",
|
|
3258
|
+
"description": ""
|
|
3259
|
+
},
|
|
3260
|
+
{
|
|
3261
|
+
"name": "DEFAULT_OMADA_SCHEDULES",
|
|
3262
|
+
"category": "omada-blocks",
|
|
3263
|
+
"kind": "data",
|
|
3264
|
+
"subpath": "@chenyqthu/tp-mobile-ui-kit/omada",
|
|
3265
|
+
"sourcePath": "src/omada/blocks/OmadaScheduleBlock.tsx",
|
|
3266
|
+
"description": ""
|
|
3267
|
+
},
|
|
3268
|
+
{
|
|
3269
|
+
"name": "DEFAULT_TOPOLOGY_NODES",
|
|
3270
|
+
"category": "omada-blocks",
|
|
3271
|
+
"kind": "data",
|
|
3272
|
+
"subpath": "@chenyqthu/tp-mobile-ui-kit/omada",
|
|
3273
|
+
"sourcePath": "src/omada/blocks/OmadaTopologyBlock.tsx",
|
|
3274
|
+
"description": ""
|
|
3275
|
+
},
|
|
2192
3276
|
{
|
|
2193
3277
|
"name": "OMADA_SITE_TABS",
|
|
2194
3278
|
"category": "omada-blocks",
|
|
@@ -2243,6 +3327,47 @@
|
|
|
2243
3327
|
}
|
|
2244
3328
|
]
|
|
2245
3329
|
},
|
|
3330
|
+
{
|
|
3331
|
+
"name": "OmadaFirmwareUpdateBlock",
|
|
3332
|
+
"category": "omada-blocks",
|
|
3333
|
+
"kind": "component",
|
|
3334
|
+
"subpath": "@chenyqthu/tp-mobile-ui-kit/omada",
|
|
3335
|
+
"sourcePath": "src/omada/blocks/OmadaFirmwareUpdateBlock.tsx",
|
|
3336
|
+
"description": "Reusable Omada v5.3+ batch firmware update workflow block (`SMBNET-4894`) combining `TPFixedToast`, `TPStepText`, `TPCheckbox`, `TPProgress`, and `update-network` PAG motion.",
|
|
3337
|
+
"propsType": "OmadaFirmwareUpdateBlockProps",
|
|
3338
|
+
"props": [
|
|
3339
|
+
{
|
|
3340
|
+
"name": "candidates",
|
|
3341
|
+
"type": "readonly OmadaFirmwareCandidate[]",
|
|
3342
|
+
"optional": true
|
|
3343
|
+
},
|
|
3344
|
+
{
|
|
3345
|
+
"name": "showHeader",
|
|
3346
|
+
"type": "boolean",
|
|
3347
|
+
"optional": true
|
|
3348
|
+
},
|
|
3349
|
+
{
|
|
3350
|
+
"name": "onBack",
|
|
3351
|
+
"type": "() => void",
|
|
3352
|
+
"optional": true
|
|
3353
|
+
},
|
|
3354
|
+
{
|
|
3355
|
+
"name": "onUpgradeStart",
|
|
3356
|
+
"type": "(selectedIds: string[]) => void",
|
|
3357
|
+
"optional": true
|
|
3358
|
+
},
|
|
3359
|
+
{
|
|
3360
|
+
"name": "className",
|
|
3361
|
+
"type": "string",
|
|
3362
|
+
"optional": true
|
|
3363
|
+
},
|
|
3364
|
+
{
|
|
3365
|
+
"name": "style",
|
|
3366
|
+
"type": "React.CSSProperties",
|
|
3367
|
+
"optional": true
|
|
3368
|
+
}
|
|
3369
|
+
]
|
|
3370
|
+
},
|
|
2246
3371
|
{
|
|
2247
3372
|
"name": "OmadaIncidentsBlock",
|
|
2248
3373
|
"category": "omada-blocks",
|
|
@@ -2284,6 +3409,139 @@
|
|
|
2284
3409
|
}
|
|
2285
3410
|
]
|
|
2286
3411
|
},
|
|
3412
|
+
{
|
|
3413
|
+
"name": "OmadaPortPanelBlock",
|
|
3414
|
+
"category": "omada-blocks",
|
|
3415
|
+
"kind": "component",
|
|
3416
|
+
"subpath": "@chenyqthu/tp-mobile-ui-kit/omada",
|
|
3417
|
+
"sourcePath": "src/omada/blocks/OmadaPortPanelBlock.tsx",
|
|
3418
|
+
"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.",
|
|
3419
|
+
"propsType": "OmadaPortPanelBlockProps",
|
|
3420
|
+
"props": [
|
|
3421
|
+
{
|
|
3422
|
+
"name": "deviceModel",
|
|
3423
|
+
"type": "string",
|
|
3424
|
+
"optional": true
|
|
3425
|
+
},
|
|
3426
|
+
{
|
|
3427
|
+
"name": "ports",
|
|
3428
|
+
"type": "readonly OmadaHardwarePort[]",
|
|
3429
|
+
"optional": true
|
|
3430
|
+
},
|
|
3431
|
+
{
|
|
3432
|
+
"name": "showHeader",
|
|
3433
|
+
"type": "boolean",
|
|
3434
|
+
"optional": true
|
|
3435
|
+
},
|
|
3436
|
+
{
|
|
3437
|
+
"name": "onBack",
|
|
3438
|
+
"type": "() => void",
|
|
3439
|
+
"optional": true
|
|
3440
|
+
},
|
|
3441
|
+
{
|
|
3442
|
+
"name": "onPortUpdate",
|
|
3443
|
+
"type": "(updated: OmadaHardwarePort) => void",
|
|
3444
|
+
"optional": true
|
|
3445
|
+
},
|
|
3446
|
+
{
|
|
3447
|
+
"name": "className",
|
|
3448
|
+
"type": "string",
|
|
3449
|
+
"optional": true
|
|
3450
|
+
},
|
|
3451
|
+
{
|
|
3452
|
+
"name": "style",
|
|
3453
|
+
"type": "React.CSSProperties",
|
|
3454
|
+
"optional": true
|
|
3455
|
+
}
|
|
3456
|
+
]
|
|
3457
|
+
},
|
|
3458
|
+
{
|
|
3459
|
+
"name": "OmadaScheduleBlock",
|
|
3460
|
+
"category": "omada-blocks",
|
|
3461
|
+
"kind": "component",
|
|
3462
|
+
"subpath": "@chenyqthu/tp-mobile-ui-kit/omada",
|
|
3463
|
+
"sourcePath": "src/omada/blocks/OmadaScheduleBlock.tsx",
|
|
3464
|
+
"description": "Reusable Omada v5.3+ Schedule block (`SMBNET-3501`) supporting WLAN, PoE, and Reboot schedules with `TPDaySwitcher` weekday selection and `TPTimePicker` bottom sheet editing.",
|
|
3465
|
+
"propsType": "OmadaScheduleBlockProps",
|
|
3466
|
+
"props": [
|
|
3467
|
+
{
|
|
3468
|
+
"name": "rules",
|
|
3469
|
+
"type": "readonly OmadaScheduleRule[]",
|
|
3470
|
+
"optional": true
|
|
3471
|
+
},
|
|
3472
|
+
{
|
|
3473
|
+
"name": "showHeader",
|
|
3474
|
+
"type": "boolean",
|
|
3475
|
+
"optional": true
|
|
3476
|
+
},
|
|
3477
|
+
{
|
|
3478
|
+
"name": "onBack",
|
|
3479
|
+
"type": "() => void",
|
|
3480
|
+
"optional": true
|
|
3481
|
+
},
|
|
3482
|
+
{
|
|
3483
|
+
"name": "onChange",
|
|
3484
|
+
"type": "(rules: OmadaScheduleRule[]) => void",
|
|
3485
|
+
"optional": true
|
|
3486
|
+
},
|
|
3487
|
+
{
|
|
3488
|
+
"name": "className",
|
|
3489
|
+
"type": "string",
|
|
3490
|
+
"optional": true
|
|
3491
|
+
},
|
|
3492
|
+
{
|
|
3493
|
+
"name": "style",
|
|
3494
|
+
"type": "React.CSSProperties",
|
|
3495
|
+
"optional": true
|
|
3496
|
+
}
|
|
3497
|
+
]
|
|
3498
|
+
},
|
|
3499
|
+
{
|
|
3500
|
+
"name": "OmadaTopologyBlock",
|
|
3501
|
+
"category": "omada-blocks",
|
|
3502
|
+
"kind": "component",
|
|
3503
|
+
"subpath": "@chenyqthu/tp-mobile-ui-kit/omada",
|
|
3504
|
+
"sourcePath": "src/omada/blocks/OmadaTopologyBlock.tsx",
|
|
3505
|
+
"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.",
|
|
3506
|
+
"propsType": "OmadaTopologyBlockProps",
|
|
3507
|
+
"props": [
|
|
3508
|
+
{
|
|
3509
|
+
"name": "siteName",
|
|
3510
|
+
"type": "string",
|
|
3511
|
+
"optional": true
|
|
3512
|
+
},
|
|
3513
|
+
{
|
|
3514
|
+
"name": "nodes",
|
|
3515
|
+
"type": "readonly OmadaTopologyNode[]",
|
|
3516
|
+
"optional": true
|
|
3517
|
+
},
|
|
3518
|
+
{
|
|
3519
|
+
"name": "showHeader",
|
|
3520
|
+
"type": "boolean",
|
|
3521
|
+
"optional": true
|
|
3522
|
+
},
|
|
3523
|
+
{
|
|
3524
|
+
"name": "onBack",
|
|
3525
|
+
"type": "() => void",
|
|
3526
|
+
"optional": true
|
|
3527
|
+
},
|
|
3528
|
+
{
|
|
3529
|
+
"name": "onSelectNode",
|
|
3530
|
+
"type": "(node: OmadaTopologyNode) => void",
|
|
3531
|
+
"optional": true
|
|
3532
|
+
},
|
|
3533
|
+
{
|
|
3534
|
+
"name": "className",
|
|
3535
|
+
"type": "string",
|
|
3536
|
+
"optional": true
|
|
3537
|
+
},
|
|
3538
|
+
{
|
|
3539
|
+
"name": "style",
|
|
3540
|
+
"type": "React.CSSProperties",
|
|
3541
|
+
"optional": true
|
|
3542
|
+
}
|
|
3543
|
+
]
|
|
3544
|
+
},
|
|
2287
3545
|
{
|
|
2288
3546
|
"name": "OmadaWirelessNetworkBlock",
|
|
2289
3547
|
"category": "omada-blocks",
|
|
@@ -2928,7 +4186,7 @@
|
|
|
2928
4186
|
"kind": "component",
|
|
2929
4187
|
"subpath": "@chenyqthu/tp-mobile-ui-kit/omada",
|
|
2930
4188
|
"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.",
|
|
4189
|
+
"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
4190
|
"propsType": "OmadaSiteSettingsPageProps",
|
|
2933
4191
|
"props": [
|
|
2934
4192
|
{
|
|
@@ -2951,6 +4209,16 @@
|
|
|
2951
4209
|
"type": "() => void",
|
|
2952
4210
|
"optional": true
|
|
2953
4211
|
},
|
|
4212
|
+
{
|
|
4213
|
+
"name": "onOpenSchedule",
|
|
4214
|
+
"type": "() => void",
|
|
4215
|
+
"optional": true
|
|
4216
|
+
},
|
|
4217
|
+
{
|
|
4218
|
+
"name": "onOpenFirmware",
|
|
4219
|
+
"type": "() => void",
|
|
4220
|
+
"optional": true
|
|
4221
|
+
},
|
|
2954
4222
|
{
|
|
2955
4223
|
"name": "onOpenLogs",
|
|
2956
4224
|
"type": "() => void",
|
|
@@ -11080,8 +12348,8 @@
|
|
|
11080
12348
|
"js": "https://cdn.jsdelivr.net/npm/@chenyqthu/tp-mobile-ui-kit@latest/dist/standalone.js"
|
|
11081
12349
|
},
|
|
11082
12350
|
"pinnedUrls": {
|
|
11083
|
-
"css": "https://cdn.jsdelivr.net/npm/@chenyqthu/tp-mobile-ui-kit@0.1
|
|
11084
|
-
"js": "https://cdn.jsdelivr.net/npm/@chenyqthu/tp-mobile-ui-kit@0.1
|
|
12351
|
+
"css": "https://cdn.jsdelivr.net/npm/@chenyqthu/tp-mobile-ui-kit@0.2.1/dist/style.css",
|
|
12352
|
+
"js": "https://cdn.jsdelivr.net/npm/@chenyqthu/tp-mobile-ui-kit@0.2.1/dist/standalone.js"
|
|
11085
12353
|
}
|
|
11086
12354
|
},
|
|
11087
12355
|
{
|