@mtngtools/frame-vue 0.0.8-experimental.0 → 0.0.10-experimental.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -3,12 +3,24 @@
3
3
  > [!WARNING]
4
4
  > This package is currently **experimental** and in early development. APIs are subject to frequent breaking changes.
5
5
 
6
- Vue.js component and composable library for mtngTOOLS. Built for use in Nuxt apps via a Nuxt module (to be added).
6
+ Vue.js component and composable library for mtngTOOLS. Built for use in Nuxt apps via a Nuxt module.
7
7
 
8
- ## Contents
8
+ ## Components
9
9
 
10
- - **Components** Vue 3 SFCs (Composition API). Sample: `SampleGreeting`.
11
- - **Composables** Shared logic. Sample: `useCounter`.
10
+ | Component | Description |
11
+ | --- | --- |
12
+ | [`LiveFrame`](./src/components/live/LiveFrame) | Full-screen wrapper for live video players with responsive layout support. |
13
+ | [`LoggedInOut`](./src/components/LoggedInOut) | Component that toggles content visibility based on authentication status. |
14
+ | [`SidePanelFrame`](./src/components/live/SidePanelFrame) | Wrapper for controlling and displaying side panel content. |
15
+ | [`SidePanelHeader`](./src/components/live/SidePanelHeader) | Standardized header component for the side panel. |
16
+ | [`SidePanelButtonGroup`](./src/components/live/SidePanelButtonGroup) | Control group for managing panel selection buttons. |
17
+ | [`SidePanelControlButton`](./src/components/live/SidePanelControlButton) | Interactive button for switching side panel states. |
18
+
19
+ ## Composables
20
+
21
+ | Composable | Description |
22
+ | --- | --- |
23
+ | [`useSimpleLoggedIn`](./src/composables/useSimpleLoggedIn) | Shared reactive state for basic mobile/web "logged in" status. |
12
24
 
13
25
  ## Usage
14
26
 
@@ -18,11 +30,20 @@ Install in an app that already uses Vue 3 (e.g. a Nuxt app):
18
30
  pnpm add @mtngtools/frame-vue vue
19
31
  ```
20
32
 
33
+ ### Regular Imports
34
+
21
35
  ```ts
22
- import { SampleGreeting, useCounter } from '@mtngtools/frame-vue';
36
+ import { LiveFrame, LoggedInOut } from '@mtngtools/frame-vue';
23
37
  ```
24
38
 
25
- In a Nuxt app, a Nuxt module can register these for auto-import (module to be created separately).
39
+ ### Direct Subpath Imports
40
+
41
+ For specific needs or smaller bundle sizes, you can import directly from subpaths:
42
+
43
+ ```ts
44
+ import { LoggedInOut } from '@mtngtools/frame-vue/components';
45
+ import { useSimpleLoggedIn } from '@mtngtools/frame-vue/composables';
46
+ ```
26
47
 
27
48
  ## Requirements
28
49