@intentic/extension-ui 1.215.0 → 1.217.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
@@ -55,6 +55,7 @@ export const RowGroup = m["RowGroup"];
55
55
  export const ScrollFrame = m["ScrollFrame"];
56
56
  export const SearchBar = m["SearchBar"];
57
57
  export const SegmentedControl = m["SegmentedControl"];
58
+ export const SkeletonRows = m["SkeletonRows"];
58
59
  export const SplitView = m["SplitView"];
59
60
  export const StatStrip = m["StatStrip"];
60
61
  export const StatusBadge = m["StatusBadge"];
@@ -86,6 +87,7 @@ export const useAsyncAction = m["useAsyncAction"];
86
87
  export const useCompact = m["useCompact"];
87
88
  export const useDevice = m["useDevice"];
88
89
  export const useListNavigation = m["useListNavigation"];
90
+ export const useLoadingReveal = m["useLoadingReveal"];
89
91
  export const useNarrow = m["useNarrow"];
90
92
  export const useNoteDraft = m["useNoteDraft"];
91
93
  export const useNow = m["useNow"];
@@ -1,4 +1,4 @@
1
- export { AgentRunButton, type AgentRunChoice, type AgentRunPicker, type ModelPicking, useAgentRunPick, AnchoredOverlay, Avatar, BarChart, BottomSheet, BrandMark, Card, clipboardOf, ChangeStatusMark, type ChangeStatus, ui, Code, CodeField, ConfirmDialog, ContextMenu, CopyButton, StatusTally, type TallyItem, DagEditor, DagGraph, type DagEdge, type DagNode, DiffStat, FilterBar, Icon, type IconName, ImageView, InfoDialog, InfoHint, InfoTable, isRenderableImage, Markdown, MarkdownFigure, Modal, type NavGroup, NavRail, NoteEditor, type NoteDraft, type NoteDraftOptions, useNoteDraft, type NoticeModel, type NoticeTone, type NoticeAction, Notice, NoticeStack, Page, PageAction, PageHeader, ScrollFrame, Picker, type PickerGroup, type PickerOption, type PickerOptions, ProgressRing, RepoRail, type RepoRailAll, type RepoRailGroup, type RepoRailRow, ProseField, ResizeSeam, ResponsiveOverlay, Row, RowGroup, SearchBar, SegmentedControl, seriesColor, sinceOf, SplitView, StatStrip, StatusBadge, type StatusVariant, StepSection, TIME_WINDOWS, type TimeWindow, timeWindowWords, useCompact, useDevice, useListNavigation, useNow, errorMessage, noticeFrom, noticeOf, useAsyncAction, useNarrow, useRailMemory, useTheme, } from "../../ui/src/index.js";
1
+ export { AgentRunButton, type AgentRunChoice, type AgentRunPicker, type ModelPicking, useAgentRunPick, AnchoredOverlay, Avatar, BarChart, BottomSheet, BrandMark, Card, clipboardOf, ChangeStatusMark, type ChangeStatus, ui, Code, CodeField, ConfirmDialog, ContextMenu, CopyButton, StatusTally, type TallyItem, DagEditor, DagGraph, type DagEdge, type DagNode, DiffStat, FilterBar, Icon, type IconName, ImageView, InfoDialog, InfoHint, InfoTable, isRenderableImage, Markdown, MarkdownFigure, Modal, type NavGroup, NavRail, NoteEditor, type NoteDraft, type NoteDraftOptions, useNoteDraft, type NoticeModel, type NoticeTone, type NoticeAction, Notice, NoticeStack, Page, PageAction, PageHeader, ScrollFrame, Picker, 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, TIME_WINDOWS, type TimeWindow, timeWindowWords, useCompact, useDevice, useListNavigation, useNow, errorMessage, noticeFrom, noticeOf, useAsyncAction, useNarrow, useRailMemory, useTheme, } from "../../ui/src/index.js";
2
2
  export { formatBytes, formatDate, formatDateTime, formatDayMonth, formatTime, formatTimestamp, formatTokens, formatWeekdayTime, freshness, timeAgo, } from "./format.js";
3
3
  export type { BarsFigure, BarsFigureItem, DagFigure, DagFigureEdge, DagFigureNode, Figure, FigureAccent, MermaidFigure, StatsFigure, StatsFigureItem, } from "../../ui/src/markdown/index.js";
4
4
  export { default as Button } from "primevue/button";
@@ -0,0 +1,10 @@
1
+ type __VLS_Props = {
2
+ rows?: number;
3
+ density?: `comfortable` | `compact` | `dense`;
4
+ lead?: boolean;
5
+ description?: boolean;
6
+ control?: boolean;
7
+ };
8
+ declare const __VLS_export: 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>;
9
+ declare const _default: typeof __VLS_export;
10
+ export default _default;
@@ -0,0 +1,2 @@
1
+ import { type Ref } from "vue";
2
+ export declare const useLoadingReveal: (loading: Ref<boolean>, subject: Ref<string>) => Ref<boolean>;
@@ -54,6 +54,7 @@ export { default as RowGroup } from "./components/RowGroup.vue";
54
54
  export { default as SearchBar } from "./components/SearchBar.vue";
55
55
  export { default as SegmentedControl } from "./components/SegmentedControl.vue";
56
56
  export { seriesColor } from "./components/seriesAccent.js";
57
+ export { default as SkeletonRows } from "./components/SkeletonRows.vue";
57
58
  export { default as SplitView } from "./components/SplitView.vue";
58
59
  export { useCompact } from "./components/splitView.js";
59
60
  export { default as StatStrip } from "./components/StatStrip.vue";
@@ -66,5 +67,6 @@ export { useNarrow } from "./composables/useNarrow.js";
66
67
  export { useListNavigation } from "./composables/useListNavigation.js";
67
68
  export { useRailMemory } from "./composables/useRailMemory.js";
68
69
  export { useNow } from "./composables/useNow.js";
70
+ export { useLoadingReveal } from "./composables/loadingReveal.js";
69
71
  export { errorMessage, noticeFrom, noticeOf, useAsyncAction } from "./composables/useAsyncAction.js";
70
72
  export { useTheme } from "./composables/useTheme.js";
package/names.mjs CHANGED
@@ -65,6 +65,7 @@ export const extensionUiNames = [
65
65
  "SegmentedControl",
66
66
  "seriesColor",
67
67
  "sinceOf",
68
+ "SkeletonRows",
68
69
  "SplitView",
69
70
  "StatStrip",
70
71
  "StatusBadge",
@@ -79,6 +80,7 @@ export const extensionUiNames = [
79
80
  "useCompact",
80
81
  "useDevice",
81
82
  "useListNavigation",
83
+ "useLoadingReveal",
82
84
  "useNarrow",
83
85
  "useNoteDraft",
84
86
  "useNow",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@intentic/extension-ui",
3
- "version": "1.215.0",
3
+ "version": "1.217.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
@@ -152,6 +152,19 @@ export {
152
152
  SegmentedControl,
153
153
  seriesColor,
154
154
  sinceOf,
155
+ /* The gate <SkeletonRows> and every hand-drawn outline go behind. It ships WITH the outline rather than
156
+ * after it, because the three extensions that already drew one drew it ungated: a placeholder that flashes
157
+ * for 90ms on a warm read is worse than no placeholder at all, and that is not a thing anybody notices in
158
+ * the screenshot they ship. See its note in the kit for the two thresholds. */
159
+ useLoadingReveal,
160
+ /* <SkeletonRows> ships beside <RowGroup> for the third time this file makes the argument: the container
161
+ * without the WAIT is what made three extensions write their own. Pipelines, deployments and maintenance
162
+ * each hand-rolled a placeholder board, and the row-shaped half of all three is this component — same
163
+ * bars, same widths walked in order, same `aria-hidden` under the caller's one status region. What they
164
+ * could not get right by hand is the part that does not show up in a screenshot: a bar is thinner than the
165
+ * text it replaces, so an outline built out of divs is shorter than the list that lands and the page jumps
166
+ * as it fills. This one renders REAL <Row>s, so it inherits the tier's padding and keeps the height. */
167
+ SkeletonRows,
155
168
  SplitView,
156
169
  StatStrip,
157
170
  StatusBadge,