@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.
Files changed (40) hide show
  1. package/README.md +5 -5
  2. package/dist/catalog.json +1339 -71
  3. package/dist/chunks/{OmadaAppDemo-BP4a4ch_.js → OmadaAppDemo-Dwm_iU6O.js} +2050 -1239
  4. package/dist/chunks/TPPrompt-6o6zUNzO.js +3748 -0
  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 +9 -0
  17. package/dist/types/core/components/TPLiquidGlassBackdrop.d.ts +32 -0
  18. package/dist/types/core/components/TPMonthPicker.d.ts +7 -0
  19. package/dist/types/core/components/TPPinInput.d.ts +7 -0
  20. package/dist/types/core/components/TPProgress.d.ts +7 -0
  21. package/dist/types/core/components/TPRadio.d.ts +11 -0
  22. package/dist/types/core/components/TPSkeleton.d.ts +7 -0
  23. package/dist/types/core/components/TPStepText.d.ts +7 -0
  24. package/dist/types/core/components/TPStepper.d.ts +7 -0
  25. package/dist/types/core/components/TPSwipeRow.d.ts +8 -0
  26. package/dist/types/core/components/TPTooltip.d.ts +7 -0
  27. package/dist/types/core/index.d.ts +17 -0
  28. package/dist/types/core/types.d.ts +236 -0
  29. package/dist/types/core/utils/liquidGlassEngine.d.ts +37 -0
  30. package/dist/types/omada/blocks/OmadaFirmwareUpdateBlock.d.ts +23 -0
  31. package/dist/types/omada/blocks/OmadaPortPanelBlock.d.ts +31 -0
  32. package/dist/types/omada/blocks/OmadaScheduleBlock.d.ts +33 -0
  33. package/dist/types/omada/blocks/OmadaTopologyBlock.d.ts +26 -0
  34. package/dist/types/omada/index.d.ts +4 -0
  35. package/dist/types/omada/pages/OmadaAppDemo.d.ts +1 -1
  36. package/dist/types/omada/pages/OmadaSiteSettingsPage.d.ts +4 -2
  37. package/package.json +2 -2
  38. package/skills/tp-mobile-ui-kit/SKILL.md +5 -4
  39. package/skills/tp-mobile-ui-kit/references/catalog.json +1339 -71
  40. package/dist/chunks/TPPrompt-Csg5YasJ.js +0 -2460
@@ -1,12 +1,14 @@
1
1
  import React from 'react';
2
2
  import { type OmadaSiteTabKey } from '../blocks/OmadaDeviceListBlock';
3
3
  import '../../styles/tp-omada.css';
4
- export type OmadaSettingRowKey = 'internet' | 'lan' | 'wireless' | 'vpn' | 'security' | 'transmission' | 'authentication' | 'ddns' | 'profiles' | 'site' | 'logs';
4
+ export type OmadaSettingRowKey = 'internet' | 'lan' | 'wireless' | 'vpn' | 'security' | 'transmission' | 'authentication' | 'ddns' | 'profiles' | 'site' | 'schedule' | 'firmware' | 'logs';
5
5
  export interface OmadaSiteSettingsPageProps {
6
6
  logsCount?: number;
7
7
  activeTab?: OmadaSiteTabKey;
8
8
  onTabChange?: (tab: OmadaSiteTabKey) => void;
9
9
  onOpenWirelessNetworks?: () => void;
10
+ onOpenSchedule?: () => void;
11
+ onOpenFirmware?: () => void;
10
12
  onOpenLogs?: () => void;
11
13
  onSelectSetting?: (key: OmadaSettingRowKey) => void;
12
14
  showTabBar?: boolean;
@@ -15,6 +17,6 @@ export interface OmadaSiteSettingsPageProps {
15
17
  }
16
18
  /**
17
19
  * 1:1 restoration of `SiteSettings.png`: centered `Settings` header, live `TPSearchBar`,
18
- * 4 grouped `TPListCard`s with exact Omada `settings-*` icons, and drill-downs to Wireless Networks & Logs.
20
+ * 4 grouped `TPListCard`s with exact Omada `settings-*` icons, and drill-downs to Wireless Networks, Schedules, Firmware Updates & Logs.
19
21
  */
20
22
  export declare const OmadaSiteSettingsPage: React.FC<OmadaSiteSettingsPageProps>;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@chenyqthu/tp-mobile-ui-kit",
3
- "version": "0.1.0",
4
- "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)",
3
+ "version": "0.2.1",
4
+ "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)",
5
5
  "license": "MIT",
6
6
  "repository": {
7
7
  "type": "git",
@@ -125,9 +125,9 @@ Prefer dedicated subpath imports to keep Vite/Rollup bundles lean via tree-shaki
125
125
 
126
126
  | Subpath | Contents |
127
127
  | :--- | :--- |
128
- | `@chenyqthu/tp-mobile-ui-kit/core` | `TPThemeProvider`, `useTPTheme`, `TP_BRANDS`, `TP_THEME_PRESETS`, and all 34 `TP*` mobile core primitives + `useTPToast` |
128
+ | `@chenyqthu/tp-mobile-ui-kit/core` | `TPThemeProvider`, `useTPTheme`, `TP_BRANDS`, `TP_THEME_PRESETS`, and all `TP*` mobile core primitives (including `TPLiquidGlass`, `TPIconButton`, `TPIconButtonGroup`, `TPCheckbox`, `TPRadio`, `TPSwipeRow`, `TPTooltip`, `TPFixedToast`, `TPMonthPicker`, `TPLast7DaysPicker`, `TPStepText`, `TPProgress`, `TPSkeleton`, `TPStepper`, `TPDivider`, `TPAvatar`, `TPPinInput`, dual-thumb `TPSlider`) + `useTPToast` |
129
129
  | `@chenyqthu/tp-mobile-ui-kit/assets` | `TPIcon`, `TPIllustration`, `TPBrandLogo`, `TPMotion`, and asset manifests (`TP_ICONS`, `TP_ILLUSTRATIONS`, `TP_BRAND_LOGOS`, `TP_MOTIONS`) |
130
- | `@chenyqthu/tp-mobile-ui-kit/omada` | `OmadaStandardInput`, `OmadaDeviceThumb`, 3 V5.3 blocks, 7 restored Omada APP pages, `OmadaHealthDetailPage`, `OmadaDeviceDetailPage`, `OmadaAppDemo` |
130
+ | `@chenyqthu/tp-mobile-ui-kit/omada` | `OmadaStandardInput`, `OmadaDeviceThumb`, 7 V5.3 blocks (`OmadaDeviceListBlock`, `OmadaWirelessNetworkBlock`, `OmadaIncidentsBlock`, `OmadaScheduleBlock`, `OmadaPortPanelBlock`, `OmadaTopologyBlock`, `OmadaFirmwareUpdateBlock`), 7 restored Omada APP pages, `OmadaHealthDetailPage`, `OmadaDeviceDetailPage`, `OmadaAppDemo` |
131
131
  | `@chenyqthu/tp-mobile-ui-kit/style.css` | Complete CSS token variables and `.tp-*` component/Omada styles |
132
132
  | `@chenyqthu/tp-mobile-ui-kit/standalone` | IIFE browser bundle attaching `window.TPMobileUI` |
133
133
  | `@chenyqthu/tp-mobile-ui-kit/catalog.json` | Machine-readable component, token, and asset catalog |
@@ -172,11 +172,12 @@ Switch dynamically via `useTPTheme()`:
172
172
 
173
173
  ---
174
174
 
175
- ## 6. 7 Restored Omada APP Pages + V5.3 Blocks
175
+ ## 6. Restored Omada APP Pages, Liquid Glass Chrome & V5.3 Blocks
176
176
 
177
+ - **Apple Liquid Glass Floating Chrome**: Set `overlayTop` and `overlayBottom` on `TPPhoneFrame` (with `<TPStatusBar transparent />` and `<TPTabBar variant="floating-pill" />`) so page content scrolls behind and softly blurs beneath both the floating glass header controls and the bottom pill tab bar (`TPLiquidGlass` exposes the standalone specular surface).
177
178
  - **7 Restored APP Screens**: `OmadaLaunchLoadingPage`, `OmadaControllerListPage`, `OmadaSiteDashboardPage`, `OmadaSiteInsightsPage`, `OmadaSiteDevicesPage`, `OmadaSiteClientsPage`, `OmadaSiteSettingsPage`
178
179
  - **Drill-Downs & Orchestrator**: `OmadaHealthDetailPage`, `OmadaDeviceDetailPage`, `OmadaAppDemo` (all-in-one interactive prototype inside `TPPhoneFrame`)
179
- - **V5.3 Blocks & Inputs**: `OmadaDeviceListBlock`, `OmadaWirelessNetworkBlock`, `OmadaIncidentsBlock`, `OmadaStandardInput` (segmented IPv4, MAC, Port, Text)
180
+ - **7 V5.3 Blocks & Inputs**: `OmadaDeviceListBlock`, `OmadaWirelessNetworkBlock`, `OmadaIncidentsBlock`, `OmadaScheduleBlock`, `OmadaPortPanelBlock`, `OmadaTopologyBlock`, `OmadaFirmwareUpdateBlock`, `OmadaStandardInput` (segmented IPv4, MAC, Port, Text)
180
181
 
181
182
  ---
182
183