@intentic/extension-ui 1.324.0 → 1.326.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/dist/index.js CHANGED
@@ -62,6 +62,7 @@ export const ScrollFrame = m["ScrollFrame"];
62
62
  export const SearchBar = m["SearchBar"];
63
63
  export const SegmentedControl = m["SegmentedControl"];
64
64
  export const SkeletonRows = m["SkeletonRows"];
65
+ export const SkeletonSnapshot = m["SkeletonSnapshot"];
65
66
  export const SplitView = m["SplitView"];
66
67
  export const StatStrip = m["StatStrip"];
67
68
  export const StatusBadge = m["StatusBadge"];
@@ -119,4 +120,5 @@ export const useScrollReset = m["useScrollReset"];
119
120
  export const useStickyTop = m["useStickyTop"];
120
121
  export const useTheme = m["useTheme"];
121
122
  export const vAction = m["vAction"];
123
+ export const vSkeletonSource = m["vSkeletonSource"];
122
124
  export const wordDiff = m["wordDiff"];
@@ -1,4 +1,4 @@
1
- export { AgentRunButton, type AgentRunAttempt, type AgentRunChoice, type AgentRunPicker, type ModelPicking, useAgentRunPick, type FixStanceLook, fixStanceLook, AnchoredOverlay, Avatar, Button, vAction, BarChart, BottomSheet, BrandMark, Card, clipboardOf, browserOwnsClick, appLink, openForwardedPort, ChangeStatusMark, type ChangeStatus, ui, Code, CodeField, ConfirmDialog, ContextMenu, OverflowActions, ActionSheet, type ActionItem, CopyButton, StatusTally, type TallyItem, DagEditor, DagGraph, type DagEdge, type DagNode, DiffStat, DisclosureRow, FilterBar, Icon, type IconName, ImageView, InfoDialog, InfoHint, InfoTable, type FileFormat, formatOf, Markdown, MarkdownDocument, MarkdownFigure, Modal, type NavGroup, NavRail, NoteEditor, type NoteDraft, type NoteDraftOptions, useNoteDraft, useKeyedDraft, type NoticeModel, type NoticeTone, type NoticeAction, Notice, NoticeStack, Page, PageAction, PageHeader, ScrollFrame, PersonaFace, type PersonaLike, Picker, ProjectChip, type PickerGroup, type PickerOption, type PickerOptions, ProgressRing, RepoRail, type RepoRailAll, type RepoRailGroup, type RepoRailRow, ProseField, ResizeSeam, ResponsiveOverlay, Row, RowGroup, SearchBar, SegmentedControl, seriesColor, sinceOf, useLoadingReveal, SkeletonRows, SplitView, StatStrip, StatusBadge, type StatusVariant, StepSection, timeWindows, type TimeWindow, timeWindowWords, useCompact, useDevice, useListNavigation, useNow, useLatest, errorMessage, noticeFrom, noticeOf, useAsyncAction, useNarrow, useRailMemory, useScrollReset, type StickyTop, useStickyTop, useTheme, } from "../../ui/src/index.js";
1
+ export { AgentRunButton, type AgentRunAttempt, type AgentRunChoice, type AgentRunPicker, type ModelPicking, useAgentRunPick, type FixStanceLook, fixStanceLook, AnchoredOverlay, Avatar, Button, vAction, BarChart, BottomSheet, BrandMark, Card, clipboardOf, browserOwnsClick, appLink, openForwardedPort, ChangeStatusMark, type ChangeStatus, ui, Code, CodeField, ConfirmDialog, ContextMenu, OverflowActions, ActionSheet, type ActionItem, CopyButton, StatusTally, type TallyItem, DagEditor, DagGraph, type DagEdge, type DagNode, DiffStat, DisclosureRow, FilterBar, Icon, type IconName, ImageView, InfoDialog, InfoHint, InfoTable, type FileFormat, formatOf, Markdown, MarkdownDocument, MarkdownFigure, Modal, type NavGroup, NavRail, NoteEditor, type NoteDraft, type NoteDraftOptions, useNoteDraft, useKeyedDraft, type NoticeModel, type NoticeTone, type NoticeAction, Notice, NoticeStack, Page, PageAction, PageHeader, ScrollFrame, PersonaFace, type PersonaLike, Picker, ProjectChip, type PickerGroup, type PickerOption, type PickerOptions, ProgressRing, RepoRail, type RepoRailAll, type RepoRailGroup, type RepoRailRow, ProseField, ResizeSeam, ResponsiveOverlay, Row, RowGroup, SearchBar, SegmentedControl, seriesColor, sinceOf, useLoadingReveal, SkeletonRows, SkeletonSnapshot, vSkeletonSource, SplitView, StatStrip, StatusBadge, type StatusVariant, StepSection, timeWindows, type TimeWindow, timeWindowWords, useCompact, useDevice, useListNavigation, useNow, useLatest, errorMessage, noticeFrom, noticeOf, useAsyncAction, useNarrow, useRailMemory, useScrollReset, type StickyTop, useStickyTop, useTheme, } from "../../ui/src/index.js";
2
2
  export { formatBytes, formatDate, formatDateTime, formatDayMonth, formatDayMonthTime, formatDuration, formatTime, formatTimestamp, formatTokens, formatWeekdayTime, formatWhen, freshness, timeAgo, } from "./format.js";
3
3
  export { diffSequence, pairEdits, similarity, wordDiff } from "./diff.js";
4
4
  export { createWorkerCall, serveWorkerCall, WorkerCallError } from "./worker.js";
@@ -0,0 +1,17 @@
1
+ type __VLS_Props = {
2
+ of: string;
3
+ label?: string;
4
+ };
5
+ declare var __VLS_7: {};
6
+ type __VLS_Slots = {} & {
7
+ default?: (props: typeof __VLS_7) => any;
8
+ };
9
+ declare const __VLS_base: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
10
+ declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
11
+ declare const _default: typeof __VLS_export;
12
+ export default _default;
13
+ type __VLS_WithSlots<T, S> = T & {
14
+ new (): {
15
+ $slots: S;
16
+ };
17
+ };
@@ -66,6 +66,8 @@ export { default as SearchBar } from "./components/forms/SearchBar.vue";
66
66
  export { default as SegmentedControl } from "./components/forms/SegmentedControl.vue";
67
67
  export { seriesColor } from "./components/charts/seriesAccent.js";
68
68
  export { default as SkeletonRows } from "./components/feedback/SkeletonRows.vue";
69
+ export { default as SkeletonSnapshot } from "./components/feedback/SkeletonSnapshot.vue";
70
+ export { vSkeletonSource } from "./lib/skeletonSource.js";
69
71
  export { default as SplitView } from "./components/layout/SplitView.vue";
70
72
  export { useCompact } from "./components/layout/splitView.js";
71
73
  export { default as StatStrip } from "./components/charts/StatStrip.vue";
@@ -0,0 +1,2 @@
1
+ import type { Directive } from "vue";
2
+ export declare const vSkeletonSource: Directive<HTMLElement, string | undefined>;
package/names.mjs CHANGED
@@ -86,6 +86,8 @@ export const extensionUiNames = [
86
86
  "similarity",
87
87
  "sinceOf",
88
88
  "SkeletonRows",
89
+ "SkeletonSnapshot",
90
+ "vSkeletonSource",
89
91
  "SplitView",
90
92
  "StatStrip",
91
93
  "StatusBadge",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@intentic/extension-ui",
3
- "version": "1.324.0",
3
+ "version": "1.326.0",
4
4
  "description": "The UI kit intentic extensions render with, host-provided at runtime (the app's own components via the import map), so extension UI is always native to the shell",
5
5
  "license": "MIT",
6
6
  "type": "module",
package/src/index.ts CHANGED
@@ -132,6 +132,11 @@ export {
132
132
  useLoadingReveal,
133
133
  // Renders real `<Row>`s rather than divs, so its height matches what replaces it and the page doesn't jump.
134
134
  SkeletonRows,
135
+ // A placeholder drawn exactly as its content last looked in this sandbox: `v-skeleton-source="name"` on the
136
+ // content takes its imprint once settled, `<SkeletonSnapshot of="name">` draws it, its slot the fallback until then.
137
+ // Prefix the name with the extension's id, since every extension's imprints share the sandbox's store.
138
+ SkeletonSnapshot,
139
+ vSkeletonSource,
135
140
  SplitView,
136
141
  StatStrip,
137
142
  StatusBadge,