@intentic/extension-ui 1.234.0 → 1.236.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 +2 -0
- package/dist/types/extension-ui/src/index.d.ts +1 -1
- package/dist/types/ui/src/components/NoteEditor.vue.d.ts +1 -0
- package/dist/types/ui/src/components/ScrollFrame.vue.d.ts +8 -3
- package/dist/types/ui/src/components/SplitView.vue.d.ts +1 -0
- package/dist/types/ui/src/composables/useScrollReset.d.ts +2 -0
- package/dist/types/ui/src/composables/useStickyTop.d.ts +6 -0
- package/dist/types/ui/src/index.d.ts +2 -0
- package/names.mjs +2 -0
- package/package.json +1 -1
- package/src/index.ts +8 -0
package/dist/index.js
CHANGED
|
@@ -98,5 +98,7 @@ export const useNarrow = m["useNarrow"];
|
|
|
98
98
|
export const useNoteDraft = m["useNoteDraft"];
|
|
99
99
|
export const useNow = m["useNow"];
|
|
100
100
|
export const useRailMemory = m["useRailMemory"];
|
|
101
|
+
export const useScrollReset = m["useScrollReset"];
|
|
102
|
+
export const useStickyTop = m["useStickyTop"];
|
|
101
103
|
export const useTheme = m["useTheme"];
|
|
102
104
|
export const vAction = m["vAction"];
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { AgentRunButton, type AgentRunChoice, type AgentRunPicker, type ModelPicking, useAgentRunPick, AnchoredOverlay, Avatar, Button, vAction, BarChart, BottomSheet, BrandMark, Card, clipboardOf, browserOwnsClick, appLink, openForwardedPort, ChangeStatusMark, type ChangeStatus, ui, Code, CodeField, ConfirmDialog, ContextMenu, CopyButton, StatusTally, type TallyItem, DagEditor, DagGraph, type DagEdge, type DagNode, DiffStat, DisclosureRow, FilterBar, Icon, type IconName, ImageView, InfoDialog, InfoHint, InfoTable, isRenderableImage, Markdown, 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, 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";
|
|
1
|
+
export { AgentRunButton, type AgentRunChoice, type AgentRunPicker, type ModelPicking, useAgentRunPick, AnchoredOverlay, Avatar, Button, vAction, BarChart, BottomSheet, BrandMark, Card, clipboardOf, browserOwnsClick, appLink, openForwardedPort, ChangeStatusMark, type ChangeStatus, ui, Code, CodeField, ConfirmDialog, ContextMenu, CopyButton, StatusTally, type TallyItem, DagEditor, DagGraph, type DagEdge, type DagNode, DiffStat, DisclosureRow, FilterBar, Icon, type IconName, ImageView, InfoDialog, InfoHint, InfoTable, isRenderableImage, Markdown, 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, 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, useScrollReset, type StickyTop, useStickyTop, 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 Checkbox } from "primevue/checkbox";
|
|
@@ -3,8 +3,9 @@ type __VLS_Props = {
|
|
|
3
3
|
description?: string;
|
|
4
4
|
grow?: boolean;
|
|
5
5
|
scroll?: boolean;
|
|
6
|
+
sticky?: boolean;
|
|
6
7
|
};
|
|
7
|
-
declare var __VLS_1: {}, __VLS_3: {}, __VLS_5: {}, __VLS_7: {}, __VLS_9: {}, __VLS_11: {}, __VLS_13: {}, __VLS_15: {}, __VLS_17: {};
|
|
8
|
+
declare var __VLS_1: {}, __VLS_3: {}, __VLS_5: {}, __VLS_7: {}, __VLS_9: {}, __VLS_11: {}, __VLS_13: {}, __VLS_15: {}, __VLS_17: {}, __VLS_19: {}, __VLS_21: {};
|
|
8
9
|
type __VLS_Slots = {} & {
|
|
9
10
|
lead?: (props: typeof __VLS_1) => any;
|
|
10
11
|
} & {
|
|
@@ -20,9 +21,13 @@ type __VLS_Slots = {} & {
|
|
|
20
21
|
} & {
|
|
21
22
|
strips?: (props: typeof __VLS_13) => any;
|
|
22
23
|
} & {
|
|
23
|
-
|
|
24
|
+
description?: (props: typeof __VLS_15) => any;
|
|
24
25
|
} & {
|
|
25
|
-
|
|
26
|
+
meta?: (props: typeof __VLS_17) => any;
|
|
27
|
+
} & {
|
|
28
|
+
default?: (props: typeof __VLS_19) => any;
|
|
29
|
+
} & {
|
|
30
|
+
default?: (props: typeof __VLS_21) => any;
|
|
26
31
|
};
|
|
27
32
|
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>;
|
|
28
33
|
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { type ComputedRef, type Ref } from "vue";
|
|
2
|
+
export interface StickyTop {
|
|
3
|
+
readonly style: ComputedRef<Record<string, string>>;
|
|
4
|
+
readonly height: ComputedRef<number>;
|
|
5
|
+
}
|
|
6
|
+
export declare function useStickyTop(element: Readonly<Ref<HTMLElement | undefined>>): StickyTop;
|
|
@@ -73,6 +73,8 @@ export { type IconName } from "./icons/iconSets.js";
|
|
|
73
73
|
export { useDevice } from "./composables/useDevice.js";
|
|
74
74
|
export { useNarrow } from "./composables/useNarrow.js";
|
|
75
75
|
export { useListNavigation } from "./composables/useListNavigation.js";
|
|
76
|
+
export { useScrollReset } from "./composables/useScrollReset.js";
|
|
77
|
+
export { type StickyTop, useStickyTop } from "./composables/useStickyTop.js";
|
|
76
78
|
export { useRailMemory } from "./composables/useRailMemory.js";
|
|
77
79
|
export { useNow } from "./composables/useNow.js";
|
|
78
80
|
export { useLoadingReveal } from "./composables/loadingReveal.js";
|
package/names.mjs
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@intentic/extension-ui",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.236.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
|
@@ -239,6 +239,14 @@ export {
|
|
|
239
239
|
* tile again, because a tile opens a view at its bare address. Solving that per extension would be three
|
|
240
240
|
* copies of one rule about what a link means versus what a memory is allowed to guess. */
|
|
241
241
|
useRailMemory,
|
|
242
|
+
/* The other half of `scroll="page"`. A view whose rail SELECTS something (a note, a package page) hands the
|
|
243
|
+
* page scrollport a position that stops meaning anything the moment the selection moves, and every such
|
|
244
|
+
* view would otherwise re-derive the same answer: find the shell's scroller, put it back at the top. */
|
|
245
|
+
useScrollReset,
|
|
246
|
+
/* And what the next pinned thing under it has to clear, since a page-scrolling view that pins a filter bar
|
|
247
|
+
* over its content is the shape three of these sections now are. */
|
|
248
|
+
type StickyTop,
|
|
249
|
+
useStickyTop,
|
|
242
250
|
useTheme,
|
|
243
251
|
} from "@intentic/ui";
|
|
244
252
|
// Also reachable as `@intentic/extension-ui/format`, see the note there for why an extension's pure logic
|