@intentic/extension-ui 1.300.1 → 1.302.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/format.js +2 -0
- package/dist/index.js +2 -0
- package/dist/types/extension-ui/src/format.d.ts +1 -1
- package/dist/types/extension-ui/src/index.d.ts +1 -1
- package/dist/types/ui/src/components/brand/PersonaFace.vue.d.ts +1 -1
- package/dist/types/ui/src/components/brand/personaFace.d.ts +5 -0
- package/dist/types/ui/src/components/rows/DisclosureRow.vue.d.ts +3 -2
- package/dist/types/ui/src/components/rows/Row.vue.d.ts +3 -2
- package/dist/types/ui/src/components/rows/row.d.ts +3 -0
- package/dist/types/ui/src/lib/format.d.ts +2 -0
- package/dist/types/ui/src/markdown/frontmatter.d.ts +15 -0
- package/dist/types/ui/src/markdown/index.d.ts +1 -0
- package/names.mjs +2 -0
- package/package.json +1 -1
- package/src/format.ts +2 -0
- package/src/index.ts +2 -0
package/dist/format.js
CHANGED
|
@@ -9,10 +9,12 @@ export const formatBytes = m["formatBytes"];
|
|
|
9
9
|
export const formatDate = m["formatDate"];
|
|
10
10
|
export const formatDateTime = m["formatDateTime"];
|
|
11
11
|
export const formatDayMonth = m["formatDayMonth"];
|
|
12
|
+
export const formatDayMonthTime = m["formatDayMonthTime"];
|
|
12
13
|
export const formatDuration = m["formatDuration"];
|
|
13
14
|
export const formatTime = m["formatTime"];
|
|
14
15
|
export const formatTimestamp = m["formatTimestamp"];
|
|
15
16
|
export const formatTokens = m["formatTokens"];
|
|
16
17
|
export const formatWeekdayTime = m["formatWeekdayTime"];
|
|
18
|
+
export const formatWhen = m["formatWhen"];
|
|
17
19
|
export const freshness = m["freshness"];
|
|
18
20
|
export const timeAgo = m["timeAgo"];
|
package/dist/index.js
CHANGED
|
@@ -78,11 +78,13 @@ export const formatBytes = m["formatBytes"];
|
|
|
78
78
|
export const formatDate = m["formatDate"];
|
|
79
79
|
export const formatDateTime = m["formatDateTime"];
|
|
80
80
|
export const formatDayMonth = m["formatDayMonth"];
|
|
81
|
+
export const formatDayMonthTime = m["formatDayMonthTime"];
|
|
81
82
|
export const formatDuration = m["formatDuration"];
|
|
82
83
|
export const formatTime = m["formatTime"];
|
|
83
84
|
export const formatTimestamp = m["formatTimestamp"];
|
|
84
85
|
export const formatTokens = m["formatTokens"];
|
|
85
86
|
export const formatWeekdayTime = m["formatWeekdayTime"];
|
|
87
|
+
export const formatWhen = m["formatWhen"];
|
|
86
88
|
export const freshness = m["freshness"];
|
|
87
89
|
export const isRenderableImage = m["isRenderableImage"];
|
|
88
90
|
export const noticeFrom = m["noticeFrom"];
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export { formatBytes, formatDate, formatDateTime, formatDayMonth, formatDuration, formatTime, formatTimestamp, formatTokens, formatWeekdayTime, freshness, timeAgo, } from "../../ui/src/lib/format.js";
|
|
1
|
+
export { formatBytes, formatDate, formatDateTime, formatDayMonth, formatDayMonthTime, formatDuration, formatTime, formatTimestamp, formatTokens, formatWeekdayTime, formatWhen, freshness, timeAgo, } from "../../ui/src/lib/format.js";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
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, CopyButton, StatusTally, type TallyItem, DagEditor, DagGraph, type DagEdge, type DagNode, DiffStat, DisclosureRow, FilterBar, Icon, type IconName, ImageView, InfoDialog, InfoHint, InfoTable, isRenderableImage, 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, errorMessage, noticeFrom, noticeOf, useAsyncAction, useNarrow, useRailMemory, useScrollReset, type StickyTop, useStickyTop, useTheme, } from "../../ui/src/index.js";
|
|
2
|
-
export { formatBytes, formatDate, formatDateTime, formatDayMonth, formatDuration, formatTime, formatTimestamp, formatTokens, formatWeekdayTime, freshness, timeAgo, } from "./format.js";
|
|
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 { activeLocale, extensionT } from "./i18n.js";
|
|
5
5
|
export type { BarsFigure, BarsFigureItem, DagFigure, DagFigureEdge, DagFigureNode, Figure, FigureAccent, MermaidFigure, StatsFigure, StatsFigureItem, } from "../../ui/src/markdown/index.js";
|
|
@@ -3,6 +3,7 @@ import { type RowDensity, type RowTone } from "./row.js";
|
|
|
3
3
|
type __VLS_Props = {
|
|
4
4
|
open?: boolean;
|
|
5
5
|
density?: RowDensity;
|
|
6
|
+
lead?: `icon` | `face`;
|
|
6
7
|
hit?: `header` | `pair`;
|
|
7
8
|
body?: `rail` | `drawer`;
|
|
8
9
|
icon?: IconName;
|
|
@@ -13,10 +14,10 @@ type __VLS_Props = {
|
|
|
13
14
|
disabled?: boolean;
|
|
14
15
|
};
|
|
15
16
|
declare var __VLS_1: {}, __VLS_26: {
|
|
16
|
-
mark: 22 | 18 | 28;
|
|
17
|
+
mark: 22 | 18 | 28 | 36;
|
|
17
18
|
iconClass: "text-xl" | "text-lg" | "text-base";
|
|
18
19
|
}, __VLS_29: {}, __VLS_32: {}, __VLS_35: {}, __VLS_38: {}, __VLS_46: {
|
|
19
|
-
mark: 22 | 18 | 28;
|
|
20
|
+
mark: 22 | 18 | 28 | 36;
|
|
20
21
|
iconClass: "text-xl" | "text-lg" | "text-base";
|
|
21
22
|
}, __VLS_48: {}, __VLS_50: {};
|
|
22
23
|
type __VLS_Slots = {} & {
|
|
@@ -10,6 +10,7 @@ type __VLS_Props = {
|
|
|
10
10
|
chevron?: boolean;
|
|
11
11
|
tone?: RowTone;
|
|
12
12
|
density?: RowDensity;
|
|
13
|
+
lead?: `icon` | `face`;
|
|
13
14
|
selected?: boolean;
|
|
14
15
|
heading?: 2 | 3;
|
|
15
16
|
spin?: boolean;
|
|
@@ -22,10 +23,10 @@ type __VLS_Props = {
|
|
|
22
23
|
spine?: boolean;
|
|
23
24
|
};
|
|
24
25
|
declare var __VLS_8: {}, __VLS_18: {
|
|
25
|
-
mark: 22 | 18 | 28;
|
|
26
|
+
mark: 22 | 18 | 28 | 36;
|
|
26
27
|
iconClass: "text-xl" | "text-lg" | "text-base";
|
|
27
28
|
}, __VLS_31: {}, __VLS_33: {}, __VLS_35: {}, __VLS_37: {}, __VLS_44: {}, __VLS_46: {
|
|
28
|
-
mark: 22 | 18 | 28;
|
|
29
|
+
mark: 22 | 18 | 28 | 36;
|
|
29
30
|
iconClass: "text-xl" | "text-lg" | "text-base";
|
|
30
31
|
}, __VLS_53: {}, __VLS_55: {};
|
|
31
32
|
type __VLS_Slots = {} & {
|
|
@@ -4,6 +4,7 @@ export type RowTone = `default` | `danger` | `warning` | `success` | `info`;
|
|
|
4
4
|
export declare const ROW_TIERS: {
|
|
5
5
|
readonly comfortable: {
|
|
6
6
|
readonly pad: "px-4.5 py-3.5";
|
|
7
|
+
readonly facePad: "px-4.5 py-2.5";
|
|
7
8
|
readonly gap: "gap-3";
|
|
8
9
|
readonly icon: "text-xl";
|
|
9
10
|
readonly title: "font-semibold leading-tight";
|
|
@@ -13,6 +14,7 @@ export declare const ROW_TIERS: {
|
|
|
13
14
|
};
|
|
14
15
|
readonly compact: {
|
|
15
16
|
readonly pad: "px-4 py-2.5";
|
|
17
|
+
readonly facePad: "px-4 py-1";
|
|
16
18
|
readonly gap: "gap-3";
|
|
17
19
|
readonly icon: "text-lg";
|
|
18
20
|
readonly title: "text-sm font-medium leading-tight";
|
|
@@ -22,6 +24,7 @@ export declare const ROW_TIERS: {
|
|
|
22
24
|
};
|
|
23
25
|
readonly dense: {
|
|
24
26
|
readonly pad: "px-2.5 py-2";
|
|
27
|
+
readonly facePad: "px-2.5 py-0.5";
|
|
25
28
|
readonly gap: "gap-2.5";
|
|
26
29
|
readonly icon: "text-base";
|
|
27
30
|
readonly title: "text-xs font-medium leading-tight";
|
|
@@ -10,6 +10,8 @@ export declare const formatTimestamp: (at: number) => string;
|
|
|
10
10
|
export declare const formatTime: (at: number) => string;
|
|
11
11
|
export declare const formatClock: (at: number) => string;
|
|
12
12
|
export declare const formatWeekdayTime: (at: number) => string;
|
|
13
|
+
export declare const formatDayMonthTime: (at: number) => string;
|
|
14
|
+
export declare const formatWhen: (at: number, now?: number) => string;
|
|
13
15
|
export declare const timeAgo: (at: number, { now, days }?: {
|
|
14
16
|
now?: number;
|
|
15
17
|
days?: boolean;
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
export interface FrontmatterField {
|
|
2
|
+
readonly key: string;
|
|
3
|
+
readonly values: readonly string[];
|
|
4
|
+
readonly sequence: boolean;
|
|
5
|
+
}
|
|
6
|
+
export interface Frontmatter {
|
|
7
|
+
readonly raw: string;
|
|
8
|
+
readonly body: string;
|
|
9
|
+
readonly fields: readonly FrontmatterField[] | undefined;
|
|
10
|
+
}
|
|
11
|
+
export declare const splitFrontmatter: (source: string) => {
|
|
12
|
+
readonly matter: Frontmatter;
|
|
13
|
+
readonly rest: string;
|
|
14
|
+
} | undefined;
|
|
15
|
+
export declare const frontmatterHtml: (matter: Frontmatter) => string;
|
|
@@ -4,4 +4,5 @@ export { continueList, indentLines, insertLink, type ListEnter, onListLine, outd
|
|
|
4
4
|
export { createMarkdownHistory, type DocumentState, type EditKind, type MarkdownHistory } from "./history.js";
|
|
5
5
|
export { blockBody, buildBlockElement, caretAtOffset, offsetOfCaret } from "./sourceDom.js";
|
|
6
6
|
export { type BarsFigure, type BarsFigureItem, type DagFigure, type DagFigureEdge, type DagFigureNode, type Figure, FIGURE_ACCENTS, type FigureAccent, FIGURE_LANGS, JSON_FIGURE_LANGS, type MarkdownSegment, MERMAID_LANG, type MermaidFigure, parseFigure, splitFigureSegments, type StatsFigure, type StatsFigureItem, } from "./figures.js";
|
|
7
|
+
export { type Frontmatter, type FrontmatterField, frontmatterHtml, splitFrontmatter } from "./frontmatter.js";
|
|
7
8
|
export { createStreamingMarkdown, lexBlocks, lexInline, type MarkdownDecorator, type MarkdownPart, markdownParseCount, type MarkdownToken, renderMarkdown, renderMarkdownParts, type RenderedMarkdown, settledEnd, type StreamingMarkdown, } from "./render.js";
|
package/names.mjs
CHANGED
|
@@ -33,11 +33,13 @@ export const extensionUiNames = [
|
|
|
33
33
|
"formatDate",
|
|
34
34
|
"formatDateTime",
|
|
35
35
|
"formatDayMonth",
|
|
36
|
+
"formatDayMonthTime",
|
|
36
37
|
"formatDuration",
|
|
37
38
|
"formatTime",
|
|
38
39
|
"formatTimestamp",
|
|
39
40
|
"formatTokens",
|
|
40
41
|
"formatWeekdayTime",
|
|
42
|
+
"formatWhen",
|
|
41
43
|
"freshness",
|
|
42
44
|
"activeLocale",
|
|
43
45
|
"extensionT",
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@intentic/extension-ui",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.302.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/format.ts
CHANGED
|
@@ -7,11 +7,13 @@ export {
|
|
|
7
7
|
formatDate,
|
|
8
8
|
formatDateTime,
|
|
9
9
|
formatDayMonth,
|
|
10
|
+
formatDayMonthTime,
|
|
10
11
|
formatDuration,
|
|
11
12
|
formatTime,
|
|
12
13
|
formatTimestamp,
|
|
13
14
|
formatTokens,
|
|
14
15
|
formatWeekdayTime,
|
|
16
|
+
formatWhen,
|
|
15
17
|
freshness,
|
|
16
18
|
timeAgo,
|
|
17
19
|
} from "@intentic/ui/format";
|
package/src/index.ts
CHANGED
|
@@ -161,11 +161,13 @@ export {
|
|
|
161
161
|
formatDate,
|
|
162
162
|
formatDateTime,
|
|
163
163
|
formatDayMonth,
|
|
164
|
+
formatDayMonthTime,
|
|
164
165
|
formatDuration,
|
|
165
166
|
formatTime,
|
|
166
167
|
formatTimestamp,
|
|
167
168
|
formatTokens,
|
|
168
169
|
formatWeekdayTime,
|
|
170
|
+
formatWhen,
|
|
169
171
|
freshness,
|
|
170
172
|
timeAgo,
|
|
171
173
|
} from "./format.js";
|