@timebraid/vue 1.8.0 → 1.10.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
@@ -41,13 +41,13 @@ Import `@timebraid/tokens/styles.css` once in `main.ts` (or `@timebraid/vue/styl
41
41
  | `TDot` | Status dot with a pulsing ring when running |
42
42
  | `TDur` | Duration readout, mono and tabular |
43
43
  | `TWaterfall` | Parallel-time waterfall timeline for reports, one lane per task grouped under its project; `showWs` adds a workspace tag per project |
44
- | `TPill` | The floating always-visible timer pill: count first, the longest timer leads; the `popover` slot (scoped with `running`) replaces the popover body, grouped by workspace then project, and `open` is consumer-owned through `update:open` |
44
+ | `TPill` | The floating always-visible timer pill: count first, the longest timer leads; the `popover` slot (scoped with `running`) replaces the popover body, grouped by workspace then project, and `open` is consumer-owned through `update:open`; with several timers its stop control opens the popover, where Stop all sits top right |
45
45
  | `TWsIcon` | Workspace glyph: a coloured initial square, or the app mark when `all` |
46
46
  | `TWsTag` | Small workspace label, the square plus its name; appears only in the All-workspaces scope |
47
47
  | `TWorkspaceSwitcher` | Scope selector: All workspaces or one |
48
48
  | `TWorkspaceMenu` | The workspace list shared by the switcher's popover and the drawer; `embedded` drops its shadow for inline use |
49
49
  | `TWorkspaceDrawer` | Full-height phone workspace list; drag the panel to dismiss |
50
- | `TTimerBar` | Phone bottom timer bar: takes the full `timers` array, count first with the longest leading |
50
+ | `TTimerBar` | Phone bottom timer bar: takes the full `timers` array, count first with the longest leading; with several timers its stop control emits `open` for the running sheet instead of stopping them all |
51
51
  | `TStrokes` | Oversized faded tally strokes behind sign-in and empty states |
52
52
  | `TStartHero` | The pill-shaped start field that opens Today: "Start a timer" with "Quick start" chips on desktop when nothing runs, "Start another timer" with a "Runs in parallel" hint (chips kept) when `hasRunning`, the bare pill when `mobile` |
53
53
  | `TIOSNav` | iOS nav bar under the status-bar inset (`--inset-top`); the `leading` control, the large title and the `right` actions share one line and the title collapses in place on scroll |
package/dist/index.d.ts CHANGED
@@ -199,6 +199,7 @@ declare type __VLS_Props_22 = {
199
199
  modelValue: string;
200
200
  showAll?: boolean;
201
201
  teleport?: boolean;
202
+ user?: DrawerUser | null;
202
203
  };
203
204
 
204
205
  declare type __VLS_Props_23 = {
@@ -556,6 +557,12 @@ export declare function applyTheme(root: HTMLElement, theme: ResolvedTheme): voi
556
557
  /** Where TIcon masks from when nothing overrides it. */
557
558
  export declare const DEFAULT_ICON_BASE = "https://unpkg.com/lucide-static@0.545.0/icons/";
558
559
 
560
+ export declare interface DrawerUser {
561
+ name: string;
562
+ email?: string;
563
+ avatarUrl?: string;
564
+ }
565
+
559
566
  export declare type DurationFormat = 'clock' | 'short' | 'compact';
560
567
 
561
568
  export declare const FILLED_NAMES: ReadonlySet<string>;
@@ -928,6 +935,7 @@ close: () => any;
928
935
  create: () => any;
929
936
  preferences: () => any;
930
937
  actions: () => any;
938
+ account: () => any;
931
939
  }, string, PublicProps, Readonly<__VLS_Props_22> & Readonly<{
932
940
  onHelp?: (() => any) | undefined;
933
941
  "onUpdate:modelValue"?: ((id: string) => any) | undefined;
@@ -935,9 +943,11 @@ onClose?: (() => any) | undefined;
935
943
  onCreate?: (() => any) | undefined;
936
944
  onPreferences?: (() => any) | undefined;
937
945
  onActions?: (() => any) | undefined;
946
+ onAccount?: (() => any) | undefined;
938
947
  }>, {
939
948
  teleport: boolean;
940
949
  showAll: boolean;
950
+ user: DrawerUser | null;
941
951
  }, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
942
952
 
943
953
  export declare const TWorkspaceMenu: DefineComponent<__VLS_Props_21, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {