@cjlapao/ui-kit-vue 0.2.43 → 0.2.45

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.
Files changed (29) hide show
  1. package/dist/index.cjs +18 -18
  2. package/dist/index.css +261 -0
  3. package/dist/index.js +12354 -11950
  4. package/dist/types/common/gantt/time.d.ts +23 -6
  5. package/dist/types/common/gantt/types.d.ts +23 -4
  6. package/dist/types/common/theme/Theme.d.ts +41 -0
  7. package/dist/types/common/theme/nestedPanel.d.ts +10 -0
  8. package/dist/types/vue/src/components/ActivityFeed.vue.d.ts +123 -2
  9. package/dist/types/vue/src/components/Gantt/index.d.ts +1 -1
  10. package/dist/types/vue/src/components/Panel.nesting.test.d.ts +1 -0
  11. package/dist/types/vue/src/components/Panel.vue.d.ts +28 -0
  12. package/dist/types/vue/src/components/index.d.ts +1 -1
  13. package/dist/types/vue/src/contexts/NestedPanelContext.d.ts +3 -0
  14. package/dist/types/vue/src/icons/components/Code.d.ts +3 -0
  15. package/dist/types/vue/src/icons/components/CodeCommit.d.ts +3 -0
  16. package/dist/types/vue/src/icons/components/CodeCompare.d.ts +3 -0
  17. package/dist/types/vue/src/icons/components/CodeFork.d.ts +3 -0
  18. package/dist/types/vue/src/icons/components/CodeMerge.d.ts +3 -0
  19. package/dist/types/vue/src/icons/components/Github.d.ts +3 -0
  20. package/dist/types/vue/src/icons/components/GraduationHat.d.ts +3 -0
  21. package/dist/types/vue/src/icons/components/Link.d.ts +3 -0
  22. package/dist/types/vue/src/icons/components/LinkAlt.d.ts +3 -0
  23. package/dist/types/vue/src/icons/components/LinkSlash.d.ts +3 -0
  24. package/dist/types/vue/src/icons/components/List.d.ts +3 -0
  25. package/dist/types/vue/src/icons/components/Map.d.ts +3 -0
  26. package/dist/types/vue/src/icons/components/RobotSolid.d.ts +3 -0
  27. package/dist/types/vue/src/icons/index.d.ts +13 -0
  28. package/dist/types/vue/src/icons/registry.d.ts +1 -1
  29. package/package.json +1 -1
@@ -17,7 +17,14 @@ export declare function msToIso(ms: number): string;
17
17
  /** Whole days between two ms values (fractional). */
18
18
  export declare function daysBetween(a: number, b: number): number;
19
19
  export declare function startOfDay(ms: number): number;
20
+ export declare function startOfHour(ms: number): number;
20
21
  export declare function addDays(ms: number, days: number): number;
22
+ /**
23
+ * Wall-clock hours (DST-safe): unlike `ms + n * MS_PER_HOUR`, a skipped or
24
+ * repeated DST hour follows the calendar, so hour columns never duplicate
25
+ * or go missing.
26
+ */
27
+ export declare function addHours(ms: number, hours: number): number;
21
28
  /** `weekday` 1 = Monday … 7 = Sunday, matching the ISO week (0 unused). */
22
29
  export declare function startOfWeek(ms: number, weekday?: number): number;
23
30
  export declare function startOfMonth(ms: number): number;
@@ -29,6 +36,12 @@ export declare function addMonths(ms: number, months: number): number;
29
36
  type LabelLocale = string | undefined;
30
37
  export declare function formatDay(ms: number, locale?: LabelLocale): string;
31
38
  export declare function formatDayNumber(ms: number, locale?: LabelLocale): string;
39
+ /**
40
+ * Hour column label: a bare 24-hour number ("0"…"23"). Always short enough
41
+ * for the narrow hour columns; the 12-hour "AM/PM" form truncates at this
42
+ * width, and a time-of-day header is inherently 24-hour.
43
+ */
44
+ export declare function formatHour(ms: number, locale?: LabelLocale): string;
32
45
  export declare function formatWeekday(ms: number, locale?: LabelLocale): string;
33
46
  export declare function formatMonth(ms: number, locale?: LabelLocale): string;
34
47
  export declare function formatMonthName(ms: number, locale?: LabelLocale): string;
@@ -52,16 +65,20 @@ export declare function dateToX(ms: number, viewStart: number, pxPerDay: number)
52
65
  export declare function xToDate(x: number, viewStart: number, pxPerDay: number): number;
53
66
  /**
54
67
  * Snap a timestamp to the configured unit. `week` snaps to the start of the
55
- * week. `none` passes through (still clamped to the hour when the timeline is
56
- * hour-fine, i.e. pxPerDay > 120).
68
+ * week. `none` passes through.
69
+ *
70
+ * When `pxPerDay` is past the hour-fine threshold (`GANTT_HOUR_PX_PER_DAY`)
71
+ * the snap auto-refines to follow the visible grid: `day` behaves as `hour`
72
+ * and `none` clamps to the hour. Omitting `pxPerDay` keeps the classic
73
+ * day/none semantics.
57
74
  */
58
- export declare function snapDate(ms: number, snap: GanttSnap): number;
75
+ export declare function snapDate(ms: number, snap: GanttSnap, pxPerDay?: number): number;
59
76
  /**
60
77
  * Pick the base header unit for a zoom. Two levels are produced: a coarse
61
- * level (month/year/quarter) and a fine level whose columns are the grid
62
- * lines of the timeline.
78
+ * level (year/month/day) and a fine level whose columns are the grid lines
79
+ * of the timeline.
63
80
  */
64
- export declare function pickBaseUnit(pxPerDay: number): "day" | "week" | "month" | "quarter";
81
+ export declare function pickBaseUnit(pxPerDay: number): "hour" | "day" | "week" | "month" | "quarter";
65
82
  /**
66
83
  * Build the two header levels for the visible range. Columns align to real
67
84
  * calendar boundaries and carry their true widths (a February is narrower
@@ -105,8 +105,9 @@ export interface GanttColumn {
105
105
  export type GanttSnap = "none" | "hour" | "day" | "week";
106
106
  /**
107
107
  * Zoom, expressed as pixels per day. Presets (see `GANTT_ZOOM_PRESETS`):
108
- * `day` = 48, `week` = 16, `month` = 5, `quarter` = 1.6. Continuous values in
109
- * between are valid — the time scale re-derives its header levels for any.
108
+ * `hour` = 288, `day` = 48, `week` = 16, `month` = 5, `quarter` = 1.6.
109
+ * Continuous values in between are valid — the time scale re-derives its
110
+ * header levels for any.
110
111
  */
111
112
  export type GanttZoom = number;
112
113
  export interface GANTT_ZOOM_PRESET {
@@ -118,7 +119,13 @@ export interface GANTT_ZOOM_PRESET {
118
119
  export declare const GANTT_ZOOM_PRESETS: GANTT_ZOOM_PRESET[];
119
120
  /** Inclusive zoom bounds applied to wheel/button zoom. */
120
121
  export declare const GANTT_MIN_ZOOM = 0.4;
121
- export declare const GANTT_MAX_ZOOM = 96;
122
+ export declare const GANTT_MAX_ZOOM = 576;
123
+ /**
124
+ * Zoom (px per day) at which the timeline becomes "hour-fine": the header
125
+ * gains whole-hour columns (≥ 8 px per hour) and dragging refines day/none
126
+ * snapping to the hour. Drives both `pickBaseUnit` and `snapDate`.
127
+ */
128
+ export declare const GANTT_HOUR_PX_PER_DAY = 192;
122
129
  /** Time scale header column. */
123
130
  export interface GanttTimeColumn {
124
131
  id: string;
@@ -132,10 +139,22 @@ export interface GanttTimeColumn {
132
139
  end: number;
133
140
  /** Rendered width in px. */
134
141
  width: number;
142
+ /**
143
+ * Day-boundary emphasis: true on the midnight hour column at the hour
144
+ * tier, so the scale and body grid draw a stronger border there.
145
+ */
146
+ major?: boolean;
147
+ /**
148
+ * Merged label: this column draws the level's label, centered across
149
+ * itself plus the next `labelSpan − 1` columns. Absent on levels that
150
+ * label every column, and on the unlabeled members of a merged level
151
+ * (borders still draw there).
152
+ */
153
+ labelSpan?: number;
135
154
  }
136
155
  /** A resolved time scale level (one row of headers). */
137
156
  export interface GanttTimeScaleLevel {
138
- /** Stable level id: "year" | "quarter" | "month" | "week" | "day" */
157
+ /** Stable level id: "year" | "quarter" | "month" | "week" | "day" | "hour" */
139
158
  id: string;
140
159
  columns: GanttTimeColumn[];
141
160
  }
@@ -236,6 +236,19 @@ export type FieldSizeTokens = {
236
236
  /** Padding and type scale, so any two fields line up when stacked. */
237
237
  export declare const FIELD_SIZE_STYLES: Record<ControlSize, FieldSizeTokens>;
238
238
  export declare const getFieldSizeTokens: (size: ControlSize) => FieldSizeTokens;
239
+ /**
240
+ * Floor heights for a field trigger that reserves N text lines, so controls
241
+ * next to a two-line `Picker` (title + subtitle) share one height instead of
242
+ * shrinking to their own content. Derived from the same scale
243
+ * `FIELD_SIZE_STYLES` lays out: the size's text line (text-xs 16 / text-sm
244
+ * 20 / text-base 24), a reserved second line at the subtitle scale
245
+ * (text-xs 16), both `py` pads, and the 1px box border. Static literal
246
+ * classes — the Tailwind source scan covers `common/`, and the
247
+ * style-contract test must see every value.
248
+ */
249
+ export declare const FIELD_LINE_MIN_HEIGHTS: Record<ControlSize, Record<1 | 2, string>>;
250
+ /** Literal min-height class reserving `lines` text lines at `size`. */
251
+ export declare const getFieldMinHeightClass: (size: ControlSize, lines: 1 | 2) => string;
239
252
  /**
240
253
  * Border only at rest; the ring is part of the focus state, exactly as it is
241
254
  * for the tone tokens. A status used to add a bare `ring-2 ring-inset` at rest
@@ -358,6 +371,34 @@ export type SurfaceHoverTokens = {
358
371
  * 21 tones and fails the build when one is missing from the stylesheet.
359
372
  */
360
373
  export declare const getSurfaceHoverTokens: (variant: SurfaceVariant, tone?: SurfaceTone, rimKind?: SurfaceRimKind) => SurfaceHoverTokens;
374
+ export type SurfaceActiveTokens = {
375
+ /** The sustained-selection rim: 2px, drawn inside the edge. */
376
+ rim: string;
377
+ };
378
+ /**
379
+ * The selected/current rim for a container surface — `Panel active`.
380
+ *
381
+ * Drawn as an inset outline, not a border or a ring, for the reasons
382
+ * `Panel`'s variants make painful: a second `border-N`/`ring-N` class would
383
+ * fight the variant's resting width for one property (stylesheet order
384
+ * decides), and an overlay layer seams at small radii because an inset
385
+ * border radius does not shrink. Outline is its own paint layer: it follows
386
+ * the border radius natively, paints over the resting hairline, is not
387
+ * clipped by the Panel's `overflow-hidden`, and costs no layout — the same
388
+ * technique the Knowledge Explorer's `[data-selected]` card already uses.
389
+ *
390
+ * The colour pair is the kit's translucent-rim grammar from
391
+ * `getSurfaceHoverTokens` — `{c}-500` light / `{c}-400` dark — at width 2;
392
+ * the extra weight is what makes a selection read at a glance, so the shade
393
+ * does not have to step darker.
394
+ *
395
+ * The hue is resolved by the caller (`Panel` passes
396
+ * `borderColor ?? tone`, blue floor when untinted) — this getter only
397
+ * renders it. Template-literal classes, so both shapes need
398
+ * `@source inline()` lines in `scripts/generate-safelist.mjs`;
399
+ * `themeSafelist.test.ts` walks this getter per tone.
400
+ */
401
+ export declare const getSurfaceActiveTokens: (tone: TrueColor) => SurfaceActiveTokens;
361
402
  /**
362
403
  * The untinted hover: a panel with no tone and no `hoverColor` has no hue to
363
404
  * wash with, so it takes a neutral veil instead.
@@ -0,0 +1,10 @@
1
+ import type { SurfaceTone, SurfaceVariant } from "./Theme";
2
+ export interface NestedPanelSurface {
3
+ variant: SurfaceVariant;
4
+ tone: SurfaceTone;
5
+ depth: number;
6
+ eligible: boolean;
7
+ }
8
+ /** Compute a bounded step from the nearest panel, not the nearest DOM element. */
9
+ export declare function nestedPanelSurface(parent: NestedPanelSurface | null, variant: SurfaceVariant, tone: SurfaceTone, eligible: boolean): NestedPanelSurface;
10
+ export declare const NESTED_PANEL_WASH: readonly ["", "bg-black/[0.04] dark:bg-white/[0.04]", "bg-black/[0.08] dark:bg-white/[0.08]", "bg-black/[0.12] dark:bg-white/[0.12]"];
@@ -1,6 +1,7 @@
1
1
  import { type ButtonVariant } from "./Button.vue";
2
2
  import { type SurfaceCorner, type SurfacePadding, type SurfaceVariant, type TrueColor } from "../theme";
3
3
  import { type SurfaceTone } from "../theme/Theme";
4
+ import type { VNodeChild } from "vue";
4
5
  /** One entry in the feed. */
5
6
  export interface ActivityFeedItem {
6
7
  id: string;
@@ -20,12 +21,55 @@ export interface ActivityFeedItem {
20
21
  category?: string;
21
22
  /** Entries this one aggregates — rendered as a count badge. */
22
23
  count?: number;
24
+ /**
25
+ * Replaces the row's entire content. Set and the dot, actor, title,
26
+ * description, code and timestamp all stop being drawn — the node you
27
+ * give is rendered inside the row instead, for complex UI the fixed
28
+ * layout can't express. The row itself stays the kit's: same padding
29
+ * and dividers. `undefined` or `null` draws the default row.
30
+ */
31
+ body?: VNodeChild;
32
+ /**
33
+ * Activates the whole row: the template row is a Panel, and this becomes
34
+ * its card action — the pointer cursor and the toned hover wash included.
35
+ * (The Vue Panel's card action is click-only, as everywhere in this kit;
36
+ * the React row adds role, tabIndex and Enter/Space through its Panel.)
37
+ */
38
+ onClick?: () => void;
39
+ /**
40
+ * Marks the row as the current one. The row's Panel takes the Panel API's
41
+ * `active`: a 2px inset rim in the row's hue plus a light tone-tinted
42
+ * fill, layered under the hover wash rather than replacing it.
43
+ */
44
+ active?: boolean;
45
+ /**
46
+ * Asks for the reader's attention. The row's Panel takes the Panel API's
47
+ * `pulse`: a glow swelling inward from the row's own rim in the same hue
48
+ * the selection rim would wear, following the corner radius and spilling
49
+ * into no layout.
50
+ */
51
+ attention?: boolean;
52
+ /**
53
+ * Overrides the hue that attention wears — the Panel's own override,
54
+ * handed to the row Panel's `borderColor`: `borderColor ?? tone` with the
55
+ * kit's blue as floor, and the selection rim shares the hue, so an active
56
+ * and pulsing row always agrees. Unset follows the row's tone. On bordered
57
+ * row variants the hairline follows the override too, as it does on any
58
+ * Panel given a `borderColor`.
59
+ */
60
+ attentionTone?: TrueColor;
23
61
  }
24
62
  /** A feed filter; the value `"all"` always matches. */
25
63
  export interface ActivityFeedFilter {
26
64
  label: string;
27
65
  value: string;
28
66
  }
67
+ /**
68
+ * The three loading styles a feed can show, matching the Table and Panel.
69
+ * `"spinner"` and `"progress"` draw a Loader overlay pinned to the feed
70
+ * body; `"skeleton"` replaces the body with pulsing placeholders.
71
+ */
72
+ export type ActivityFeedLoaderType = "spinner" | "progress" | "skeleton";
29
73
  declare const _default: import("vue").DefineComponent<{
30
74
  /** @default "Recent activity" */
31
75
  title?: string;
@@ -56,9 +100,30 @@ declare const _default: import("vue").DefineComponent<{
56
100
  hasMore?: boolean;
57
101
  /**
58
102
  * Draws the feed's own shape in placeholder ink while the events are in
59
- * flight — same row rhythm, nothing jumps when they land.
103
+ * flight — same row rhythm, nothing jumps when they land. The style is
104
+ * `loaderType`'s call.
60
105
  */
61
106
  loading?: boolean;
107
+ /**
108
+ * Style of the loading indicator, matching the Table and Panel:
109
+ * - `"spinner"` / `"progress"` — a Loader overlay pinned to the feed
110
+ * body: the rows (or the empty state) stay beneath it while the
111
+ * header, tag and filters hold their places, so nothing jumps when
112
+ * the events land.
113
+ * - `"skeleton"` — the body is replaced by pulsing placeholders shaped
114
+ * like the feed's own rows.
115
+ * @default "skeleton"
116
+ */
117
+ loaderType?: ActivityFeedLoaderType;
118
+ /** The bar fill for `loaderType="progress"`, 0–100. */
119
+ loaderProgress?: number;
120
+ /** The label the spinner/progress overlay publishes. */
121
+ loadingMessage?: string;
122
+ /**
123
+ * Placeholder rows drawn by `loaderType="skeleton"`. Unset follows the
124
+ * pending page — `min(max(items.length, 3), 6)`.
125
+ */
126
+ skeletonRows?: number;
62
127
  /** @default "Load more" */
63
128
  loadMoreLabel?: string;
64
129
  /** Shown in the header when the caller knows the true total. */
@@ -70,6 +135,20 @@ declare const _default: import("vue").DefineComponent<{
70
135
  /** @default "md" */
71
136
  padding?: SurfacePadding;
72
137
  corner?: SurfaceCorner;
138
+ /**
139
+ * The surface every template row's Panel wears. @default "none"
140
+ */
141
+ rowVariant?: SurfaceVariant;
142
+ /**
143
+ * The tone every template row's Panel wears. Unset follows the feed's
144
+ * own `tone`, so rows wear the card's hue (and its toned hover wash).
145
+ */
146
+ rowTone?: SurfaceTone;
147
+ /**
148
+ * The corner every template row's Panel wears.
149
+ * @default "rounded" — the corner scale's xs step
150
+ */
151
+ rowCorner?: SurfaceCorner;
73
152
  }, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
74
153
  link: () => any;
75
154
  loadMore: () => any;
@@ -104,9 +183,30 @@ declare const _default: import("vue").DefineComponent<{
104
183
  hasMore?: boolean;
105
184
  /**
106
185
  * Draws the feed's own shape in placeholder ink while the events are in
107
- * flight — same row rhythm, nothing jumps when they land.
186
+ * flight — same row rhythm, nothing jumps when they land. The style is
187
+ * `loaderType`'s call.
108
188
  */
109
189
  loading?: boolean;
190
+ /**
191
+ * Style of the loading indicator, matching the Table and Panel:
192
+ * - `"spinner"` / `"progress"` — a Loader overlay pinned to the feed
193
+ * body: the rows (or the empty state) stay beneath it while the
194
+ * header, tag and filters hold their places, so nothing jumps when
195
+ * the events land.
196
+ * - `"skeleton"` — the body is replaced by pulsing placeholders shaped
197
+ * like the feed's own rows.
198
+ * @default "skeleton"
199
+ */
200
+ loaderType?: ActivityFeedLoaderType;
201
+ /** The bar fill for `loaderType="progress"`, 0–100. */
202
+ loaderProgress?: number;
203
+ /** The label the spinner/progress overlay publishes. */
204
+ loadingMessage?: string;
205
+ /**
206
+ * Placeholder rows drawn by `loaderType="skeleton"`. Unset follows the
207
+ * pending page — `min(max(items.length, 3), 6)`.
208
+ */
209
+ skeletonRows?: number;
110
210
  /** @default "Load more" */
111
211
  loadMoreLabel?: string;
112
212
  /** Shown in the header when the caller knows the true total. */
@@ -118,6 +218,20 @@ declare const _default: import("vue").DefineComponent<{
118
218
  /** @default "md" */
119
219
  padding?: SurfacePadding;
120
220
  corner?: SurfaceCorner;
221
+ /**
222
+ * The surface every template row's Panel wears. @default "none"
223
+ */
224
+ rowVariant?: SurfaceVariant;
225
+ /**
226
+ * The tone every template row's Panel wears. Unset follows the feed's
227
+ * own `tone`, so rows wear the card's hue (and its toned hover wash).
228
+ */
229
+ rowTone?: SurfaceTone;
230
+ /**
231
+ * The corner every template row's Panel wears.
232
+ * @default "rounded" — the corner scale's xs step
233
+ */
234
+ rowCorner?: SurfaceCorner;
121
235
  }> & Readonly<{
122
236
  onLink?: (() => any) | undefined;
123
237
  onLoadMore?: (() => any) | undefined;
@@ -130,13 +244,20 @@ declare const _default: import("vue").DefineComponent<{
130
244
  variant: SurfaceVariant;
131
245
  tag: string;
132
246
  padding: SurfacePadding;
247
+ loaderType: ActivityFeedLoaderType;
248
+ loaderProgress: number;
249
+ loadingMessage: string;
133
250
  defaultFilter: string;
134
251
  linkLabel: string;
135
252
  ctaVariant: ButtonVariant;
136
253
  loadMoreVariant: ButtonVariant;
137
254
  filterVariant: SurfaceVariant;
138
255
  hasMore: boolean;
256
+ skeletonRows: number;
139
257
  loadMoreLabel: string;
140
258
  totalCount: number;
259
+ rowVariant: SurfaceVariant;
260
+ rowTone: SurfaceTone;
261
+ rowCorner: SurfaceCorner;
141
262
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
142
263
  export default _default;
@@ -14,5 +14,5 @@
14
14
  export { default as Gantt } from "./Gantt.vue";
15
15
  export type { GanttProps, GanttEmits, GanttVariant, GanttCorner, GanttPadding, } from "./Gantt.vue";
16
16
  export { mergeGanttLabels } from "./labels";
17
- export { sampleGantt, sampleGanttLanes, sampleGanttTasks, sampleGanttLinks, GANTT_ZOOM_PRESETS, GANTT_MIN_ZOOM, GANTT_MAX_ZOOM, DEFAULT_GANTT_LABELS, } from "../../../../common/gantt";
17
+ export { sampleGantt, sampleGanttLanes, sampleGanttTasks, sampleGanttLinks, GANTT_ZOOM_PRESETS, GANTT_MIN_ZOOM, GANTT_MAX_ZOOM, GANTT_HOUR_PX_PER_DAY, DEFAULT_GANTT_LABELS, } from "../../../../common/gantt";
18
18
  export type { GanttTask, GanttLink, GanttLane, GanttColumn, GanttSnap, GanttLabels, GanttDate, GanttTaskType, GanttLinkType, TrueColor, } from "../../../../common/gantt";
@@ -75,6 +75,29 @@ export interface PanelProps {
75
75
  * because it is measured against the variant's fill.
76
76
  */
77
77
  hoverColor?: TrueColor;
78
+ /**
79
+ * The sustained selected/current state: a 2px inset rim in the active hue
80
+ * and a light tone-tinted fill, on the variant's own fill scale. This is
81
+ * selection, not the pointer — the `hoverable` wash and the pressed step
82
+ * keep layering over it, and it stays visible under the `disabled` veil.
83
+ * The hue is `borderColor ?? tone`, with the kit's blue as floor when
84
+ * untinted; an explicit `backgroundColor` wins over the active fill while
85
+ * the rim still ignites. `data-active` is exposed for caller CSS.
86
+ * @default false
87
+ */
88
+ active?: boolean;
89
+ /**
90
+ * The attention call: a glow that swells INWARD from the card's own rim
91
+ * in the accent hue, clipped to the border-box and following the corner
92
+ * radius, so it never spills into the layout. On while set, off while
93
+ * `disabled` — a dimmed card may not demand attention, unlike the
94
+ * selection rim, which is information. The hue is the rim's
95
+ * `borderColor ?? tone` with the blue floor, so a card that is both
96
+ * `active` and pulsing always agrees. Reduced-motion users get a static
97
+ * inner glow instead of the swell.
98
+ * @default false
99
+ */
100
+ pulse?: boolean;
78
101
  /**
79
102
  * Override the default border color.
80
103
  * If not provided, it defaults to the `tone` or `color` prop depending on variant.
@@ -84,6 +107,8 @@ export interface PanelProps {
84
107
  * Override the default background color.
85
108
  */
86
109
  backgroundColor?: TrueColor;
110
+ /** Set false to keep the normal fill inside a matching parent panel. */
111
+ nestedSurface?: boolean;
87
112
  /**
88
113
  * controls if the panel body should be scrollable
89
114
  * @default true
@@ -127,6 +152,8 @@ declare const _default: __VLS_WithSlots<import("vue").DefineComponent<PanelProps
127
152
  glassOpacity: "frosted" | "light" | "clear" | number;
128
153
  vibrancy: "low" | "medium" | "high" | number;
129
154
  specularMode: PanelSpecularMode;
155
+ pulse: boolean;
156
+ active: boolean;
130
157
  mediaPlacement: PanelMediaPlacement;
131
158
  actionLayout: PanelActionLayout;
132
159
  padding: PanelPadding;
@@ -135,6 +162,7 @@ declare const _default: __VLS_WithSlots<import("vue").DefineComponent<PanelProps
135
162
  hoverShadow: boolean;
136
163
  decoration: PanelDecoration;
137
164
  hoverable: boolean;
165
+ nestedSurface: boolean;
138
166
  scrollable: boolean;
139
167
  specularHighlight: boolean;
140
168
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>, {
@@ -48,7 +48,7 @@ export type { ChatProps } from "./Chat.vue";
48
48
  export { createLocalChatStorage, createRestChatStorage, usageTotals, } from "../chat";
49
49
  export type { ChatEvent, ChatFolder, ChatMessage, ChatMeta, ChatModel, ChatPage, ChatRecord, ChatStorage, ChatUsage, } from "../chat";
50
50
  export { default as ActivityFeed } from "./ActivityFeed.vue";
51
- export type { ActivityFeedItem, ActivityFeedFilter } from "./ActivityFeed.vue";
51
+ export type { ActivityFeedItem, ActivityFeedFilter, ActivityFeedLoaderType } from "./ActivityFeed.vue";
52
52
  export { default as BreakdownCard } from "./BreakdownCard.vue";
53
53
  export type { BreakdownItem, BreakdownStat } from "./BreakdownCard.vue";
54
54
  export { default as TruncatedText, type TruncatedTextProps, } from "./TruncatedText.vue";
@@ -0,0 +1,3 @@
1
+ import type { ComputedRef, InjectionKey } from "vue";
2
+ import type { NestedPanelSurface } from "../../../common/theme/nestedPanel";
3
+ export declare const NestedPanelKey: InjectionKey<ComputedRef<NestedPanelSurface>>;
@@ -0,0 +1,3 @@
1
+ export declare const Code: import("vue").DefineComponent<{}, () => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
2
+ [key: string]: any;
3
+ }>, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
@@ -0,0 +1,3 @@
1
+ export declare const CodeCommit: import("vue").DefineComponent<{}, () => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
2
+ [key: string]: any;
3
+ }>, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
@@ -0,0 +1,3 @@
1
+ export declare const CodeCompare: import("vue").DefineComponent<{}, () => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
2
+ [key: string]: any;
3
+ }>, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
@@ -0,0 +1,3 @@
1
+ export declare const CodeFork: import("vue").DefineComponent<{}, () => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
2
+ [key: string]: any;
3
+ }>, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
@@ -0,0 +1,3 @@
1
+ export declare const CodeMerge: import("vue").DefineComponent<{}, () => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
2
+ [key: string]: any;
3
+ }>, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
@@ -0,0 +1,3 @@
1
+ export declare const Github: import("vue").DefineComponent<{}, () => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
2
+ [key: string]: any;
3
+ }>, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
@@ -0,0 +1,3 @@
1
+ export declare const GraduationHat: import("vue").DefineComponent<{}, () => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
2
+ [key: string]: any;
3
+ }>, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
@@ -0,0 +1,3 @@
1
+ export declare const Link: import("vue").DefineComponent<{}, () => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
2
+ [key: string]: any;
3
+ }>, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
@@ -0,0 +1,3 @@
1
+ export declare const LinkAlt: import("vue").DefineComponent<{}, () => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
2
+ [key: string]: any;
3
+ }>, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
@@ -0,0 +1,3 @@
1
+ export declare const LinkSlash: import("vue").DefineComponent<{}, () => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
2
+ [key: string]: any;
3
+ }>, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
@@ -0,0 +1,3 @@
1
+ export declare const List: import("vue").DefineComponent<{}, () => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
2
+ [key: string]: any;
3
+ }>, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
@@ -0,0 +1,3 @@
1
+ export declare const Map: import("vue").DefineComponent<{}, () => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
2
+ [key: string]: any;
3
+ }>, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
@@ -0,0 +1,3 @@
1
+ export declare const RobotSolid: import("vue").DefineComponent<{}, () => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
2
+ [key: string]: any;
3
+ }>, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
@@ -47,6 +47,11 @@ export * from "./components/Clone";
47
47
  export * from "./components/Close";
48
48
  export * from "./components/Close1";
49
49
  export * from "./components/CloudOff";
50
+ export * from "./components/Code";
51
+ export * from "./components/CodeCommit";
52
+ export * from "./components/CodeCompare";
53
+ export * from "./components/CodeFork";
54
+ export * from "./components/CodeMerge";
50
55
  export * from "./components/Cog";
51
56
  export * from "./components/Cogs";
52
57
  export * from "./components/Comments";
@@ -77,7 +82,9 @@ export * from "./components/Folder";
77
82
  export * from "./components/Gantt";
78
83
  export * from "./components/Gate";
79
84
  export * from "./components/Gauge";
85
+ export * from "./components/Github";
80
86
  export * from "./components/Globe";
87
+ export * from "./components/GraduationHat";
81
88
  export * from "./components/Group";
82
89
  export * from "./components/HalfCogs";
83
90
  export * from "./components/HandUp";
@@ -97,10 +104,15 @@ export * from "./components/LXC";
97
104
  export * from "./components/LXCOld";
98
105
  export * from "./components/Launch";
99
106
  export * from "./components/Library";
107
+ export * from "./components/Link";
108
+ export * from "./components/LinkAlt";
109
+ export * from "./components/LinkSlash";
110
+ export * from "./components/List";
100
111
  export * from "./components/Live";
101
112
  export * from "./components/Log";
102
113
  export * from "./components/Login";
103
114
  export * from "./components/Logout";
115
+ export * from "./components/Map";
104
116
  export * from "./components/Memory";
105
117
  export * from "./components/Minio";
106
118
  export * from "./components/Moon";
@@ -142,6 +154,7 @@ export * from "./components/Revert";
142
154
  export * from "./components/Revoke";
143
155
  export * from "./components/Roadmap";
144
156
  export * from "./components/Robot";
157
+ export * from "./components/RobotSolid";
145
158
  export * from "./components/Rocket";
146
159
  export * from "./components/Role";
147
160
  export * from "./components/Roles";
@@ -1,3 +1,3 @@
1
1
  import type { Component } from "vue";
2
- export type IconName = "Accordion" | "Activity" | "Add" | "AgentFlow" | "AiAgent" | "Alarm" | "Apple" | "ArrowChevronLeft" | "ArrowChevronRight" | "ArrowDown" | "ArrowLeft" | "ArrowRight" | "ArrowUp" | "Artifactory" | "Attached" | "Attachment" | "Automation" | "Aws" | "Azure" | "Back" | "Backup" | "Blocked" | "BlockerCircular" | "Blueprint" | "Box" | "Brain" | "Bug" | "Cache" | "Calendar" | "CatalogManifest" | "CatalogVersion" | "CentOS" | "ChartLine" | "Chat" | "ChatApproved" | "Check" | "CheckCircle" | "CheckeredFlag" | "CheckmarkSeal" | "ChevronLeft" | "ChevronRight" | "Claim" | "Claims" | "Clean" | "CleanBrush" | "Clone" | "Close" | "Close1" | "CloudOff" | "Cog" | "Cogs" | "Comments" | "Complete" | "Container" | "Copy" | "CopyClipboard" | "Dashboard" | "Database" | "Debian" | "Details" | "Docker" | "DockerCopy" | "Dots" | "DotsVertical" | "Download" | "Drag" | "Edit" | "Equal" | "Error" | "Export" | "EyeClosed" | "EyeOpen" | "Fedora" | "File" | "FlowChart" | "Folder" | "Gantt" | "Gate" | "Gauge" | "Globe" | "Group" | "HalfCogs" | "HandUp" | "HealthCheck" | "Help" | "History" | "Host" | "Idea" | "Image" | "Info" | "Investigator" | "Jobs" | "KaliLinux" | "Key" | "KeyManagement" | "LXC" | "LXCOld" | "Launch" | "Library" | "Live" | "Log" | "Login" | "Logout" | "Memory" | "Minio" | "Moon" | "NetworkNodes" | "Notification" | "Official" | "Offline" | "OpenApp" | "Orchestrator" | "PaperPlane" | "Parameter" | "Pause" | "PauseCircular" | "Pin" | "Podman" | "PodmanDesktop" | "Policeman" | "Praise" | "Project" | "Pull" | "Push" | "RedHat" | "Refresh" | "RemoteHost" | "ReportFeedback" | "Reset" | "Restart" | "ReverseProxy" | "ReverseProxyCORS" | "ReverseProxyFrom" | "ReverseProxyHTTP" | "ReverseProxyHeadersRequest" | "ReverseProxyHeadersResponse" | "ReverseProxyRoutes" | "ReverseProxyTCP" | "ReverseProxyTLS" | "ReverseProxyTo" | "Revert" | "Revoke" | "Roadmap" | "Robot" | "Rocket" | "Role" | "Roles" | "Run" | "Save" | "Scale" | "Script" | "Search" | "Send" | "Settings" | "SettingsVertical" | "Shield" | "Shop" | "Snapshot" | "Sorting" | "Stamp" | "Star" | "Stop" | "Sun" | "Suspend" | "Taint" | "Target" | "Task" | "ThemeAuto" | "ThemeDark" | "ThemeLight" | "ThumbsUp" | "Trash" | "UX" | "Ubuntu" | "Unlock" | "User" | "Users" | "Verified" | "ViewGrid" | "ViewRows" | "VirtualMachine" | "Warning" | "Whiteboard" | "Windows" | "Work" | "flow-chart" | (string & {});
2
+ export type IconName = "Accordion" | "Activity" | "Add" | "AgentFlow" | "AiAgent" | "Alarm" | "Apple" | "ArrowChevronLeft" | "ArrowChevronRight" | "ArrowDown" | "ArrowLeft" | "ArrowRight" | "ArrowUp" | "Artifactory" | "Attached" | "Attachment" | "Automation" | "Aws" | "Azure" | "Back" | "Backup" | "Blocked" | "BlockerCircular" | "Blueprint" | "Box" | "Brain" | "Bug" | "Cache" | "Calendar" | "CatalogManifest" | "CatalogVersion" | "CentOS" | "ChartLine" | "Chat" | "ChatApproved" | "Check" | "CheckCircle" | "CheckeredFlag" | "CheckmarkSeal" | "ChevronLeft" | "ChevronRight" | "Claim" | "Claims" | "Clean" | "CleanBrush" | "Clone" | "Close" | "Close1" | "CloudOff" | "Code" | "CodeCommit" | "CodeCompare" | "CodeFork" | "CodeMerge" | "Cog" | "Cogs" | "Comments" | "Complete" | "Container" | "Copy" | "CopyClipboard" | "Dashboard" | "Database" | "Debian" | "Details" | "Docker" | "DockerCopy" | "Dots" | "DotsVertical" | "Download" | "Drag" | "Edit" | "Equal" | "Error" | "Export" | "EyeClosed" | "EyeOpen" | "Fedora" | "File" | "FlowChart" | "Folder" | "Gantt" | "Gate" | "Gauge" | "Github" | "Globe" | "GraduationHat" | "Group" | "HalfCogs" | "HandUp" | "HealthCheck" | "Help" | "History" | "Host" | "Idea" | "Image" | "Info" | "Investigator" | "Jobs" | "KaliLinux" | "Key" | "KeyManagement" | "LXC" | "LXCOld" | "Launch" | "Library" | "Link" | "LinkAlt" | "LinkSlash" | "List" | "Live" | "Log" | "Login" | "Logout" | "Map" | "Memory" | "Minio" | "Moon" | "NetworkNodes" | "Notification" | "Official" | "Offline" | "OpenApp" | "Orchestrator" | "PaperPlane" | "Parameter" | "Pause" | "PauseCircular" | "Pin" | "Podman" | "PodmanDesktop" | "Policeman" | "Praise" | "Project" | "Pull" | "Push" | "RedHat" | "Refresh" | "RemoteHost" | "ReportFeedback" | "Reset" | "Restart" | "ReverseProxy" | "ReverseProxyCORS" | "ReverseProxyFrom" | "ReverseProxyHTTP" | "ReverseProxyHeadersRequest" | "ReverseProxyHeadersResponse" | "ReverseProxyRoutes" | "ReverseProxyTCP" | "ReverseProxyTLS" | "ReverseProxyTo" | "Revert" | "Revoke" | "Roadmap" | "Robot" | "RobotSolid" | "Rocket" | "Role" | "Roles" | "Run" | "Save" | "Scale" | "Script" | "Search" | "Send" | "Settings" | "SettingsVertical" | "Shield" | "Shop" | "Snapshot" | "Sorting" | "Stamp" | "Star" | "Stop" | "Sun" | "Suspend" | "Taint" | "Target" | "Task" | "ThemeAuto" | "ThemeDark" | "ThemeLight" | "ThumbsUp" | "Trash" | "UX" | "Ubuntu" | "Unlock" | "User" | "Users" | "Verified" | "ViewGrid" | "ViewRows" | "VirtualMachine" | "Warning" | "Whiteboard" | "Windows" | "Work" | "flow-chart" | (string & {});
3
3
  export declare const iconRegistry: Record<IconName, Component>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cjlapao/ui-kit-vue",
3
- "version": "0.2.43",
3
+ "version": "0.2.45",
4
4
  "repository": {
5
5
  "type": "git",
6
6
  "url": "git+https://github.com/cjlapao/ui-kit.git",