@cjlapao/ui-kit-vue 0.2.32 → 0.2.33
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.cjs +14 -14
- package/dist/index.css +747 -0
- package/dist/index.js +7454 -7342
- package/dist/types/vue/src/components/ConnectionFlow/ConnectionFlow.vue.d.ts +3 -2
- package/dist/types/vue/src/components/HelpButton.vue.d.ts +4 -1
- package/dist/types/vue/src/components/InfiniteScrollPanel.vue.d.ts +2 -2
- package/dist/types/vue/src/components/SplitView.vue.d.ts +2 -1
- package/dist/types/vue/src/components/StatCountTile.vue.d.ts +5 -0
- package/dist/types/vue/src/components/StatGraphTile.vue.d.ts +3 -1
- package/dist/types/vue/src/components/StatTile.vue.d.ts +5 -0
- package/dist/types/vue/src/components/VariablePicker.vue.d.ts +5 -0
- package/package.json +1 -1
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { type LaidOutNode } from "../../connectionFlow";
|
|
2
|
+
import { type SurfaceTone } from "../../theme/Theme";
|
|
2
3
|
import { CONNECTION_FLOW_EDGE_STYLES, CONNECTION_FLOW_PROGRESS_TYPES, CONNECTION_FLOW_ITEM_PROGRESS, CONNECTION_FLOW_RING_SIZES, CONNECTION_STATES, type ConnectionFlowEdgeStyle, type ConnectionFlowItemProgress, type ConnectionFlowLoader, type ConnectionFlowNode, type ConnectionFlowProgressType, type ConnectionFlowRingSize, type ConnectionState } from "../../connectionFlow";
|
|
3
4
|
import type { ControlSize, PlainSurfaceVariant, SurfaceCorner, TrueColor } from "../../theme/Theme";
|
|
4
5
|
import type { PillVariant } from "../Pill.vue";
|
|
@@ -9,7 +10,7 @@ export interface ConnectionFlowProps {
|
|
|
9
10
|
/** Surface treatment of the frame. @default "outlined" */
|
|
10
11
|
variant?: PlainSurfaceVariant;
|
|
11
12
|
/** @default "neutral" */
|
|
12
|
-
tone?:
|
|
13
|
+
tone?: SurfaceTone;
|
|
13
14
|
/** Node box scale, on the shared control scale. @default "md" */
|
|
14
15
|
size?: ControlSize;
|
|
15
16
|
/** Node corner radius, on the shared container scale. */
|
|
@@ -128,7 +129,7 @@ declare const _default: __VLS_WithSlots<import("vue").DefineComponent<Connection
|
|
|
128
129
|
height: number | string;
|
|
129
130
|
size: ControlSize;
|
|
130
131
|
loading: boolean;
|
|
131
|
-
tone:
|
|
132
|
+
tone: SurfaceTone;
|
|
132
133
|
variant: PlainSurfaceVariant;
|
|
133
134
|
corner: SurfaceCorner;
|
|
134
135
|
animated: boolean;
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import type { SurfaceTone } from "../theme/Theme";
|
|
1
2
|
import { type VNode } from "vue";
|
|
2
3
|
import { type ControlSize, type SurfaceCorner, type SurfaceVariant, type TrueColor } from "../theme/Theme";
|
|
3
4
|
import type { IconName } from "../icons/registry";
|
|
@@ -16,8 +17,10 @@ export interface HelpButtonProps {
|
|
|
16
17
|
* "auto" (default) picks the side with the most available space.
|
|
17
18
|
*/
|
|
18
19
|
placement?: HelpButtonPlacement;
|
|
19
|
-
/** Accent color for the trigger button
|
|
20
|
+
/** Accent color for the trigger button. @default "blue" */
|
|
20
21
|
color?: TrueColor;
|
|
22
|
+
/** Panel tint is independent of the trigger accent. @default "none" */
|
|
23
|
+
tone?: SurfaceTone;
|
|
21
24
|
/** Surface treatment of the panel — the shared container family. @default "elevated" */
|
|
22
25
|
variant?: SurfaceVariant;
|
|
23
26
|
/** Corner radius of the panel, on the shared container scale. @default "rounded-md" */
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import type { PanelCorner, PanelPadding, PanelSpecularMode } from "./Panel.vue";
|
|
2
2
|
import type { GlassOpacity, GlassVibrancy } from "../theme/glass";
|
|
3
|
-
import type { ControlSize, PlainSurfaceVariant,
|
|
3
|
+
import type { ControlSize, PlainSurfaceVariant, SurfaceTone } from "../theme/Theme";
|
|
4
4
|
/** Every container surface, plus `plain` for use inside a card that exists. */
|
|
5
5
|
export type InfiniteScrollPanelVariant = PlainSurfaceVariant;
|
|
6
6
|
/**
|
|
@@ -54,7 +54,7 @@ export interface InfiniteScrollPanelProps<T> {
|
|
|
54
54
|
emptyMessage?: string;
|
|
55
55
|
/** @default "plain" — this is usually dropped into a card the app owns. */
|
|
56
56
|
variant?: InfiniteScrollPanelVariant;
|
|
57
|
-
tone?:
|
|
57
|
+
tone?: SurfaceTone;
|
|
58
58
|
corner?: PanelCorner;
|
|
59
59
|
padding?: PanelPadding;
|
|
60
60
|
glassOpacity?: GlassOpacity;
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import type { SurfaceTone } from "../theme/Theme";
|
|
1
2
|
import type { VNodeChild } from "vue";
|
|
2
3
|
import { type TrueColor } from "../theme/Theme";
|
|
3
4
|
import type { IconName } from "../icons/registry";
|
|
@@ -45,7 +46,7 @@ export interface SplitViewHeaderDetails {
|
|
|
45
46
|
* When provided, it overrides title/subtitle/description/tags content.
|
|
46
47
|
*/
|
|
47
48
|
headerBody?: VNodeChild;
|
|
48
|
-
tone?:
|
|
49
|
+
tone?: SurfaceTone;
|
|
49
50
|
variant?: PanelVariant;
|
|
50
51
|
/** Alias for `variant` */
|
|
51
52
|
variants?: PanelVariant;
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import type { SurfaceTone, SurfaceVariant } from "../theme/Theme";
|
|
1
2
|
import type { TrueColor } from "../theme";
|
|
2
3
|
import type { IconName } from "../icons/registry";
|
|
3
4
|
export interface StatCountTileBreakdown {
|
|
@@ -6,6 +7,8 @@ export interface StatCountTileBreakdown {
|
|
|
6
7
|
color?: TrueColor;
|
|
7
8
|
}
|
|
8
9
|
export interface StatCountTileProps {
|
|
10
|
+
variant?: SurfaceVariant;
|
|
11
|
+
tone?: SurfaceTone;
|
|
9
12
|
title?: string;
|
|
10
13
|
count?: string | number;
|
|
11
14
|
breakdown?: StatCountTileBreakdown[];
|
|
@@ -32,7 +35,9 @@ export interface StatCountTileProps {
|
|
|
32
35
|
}
|
|
33
36
|
declare const _default: __VLS_WithSlots<import("vue").DefineComponent<StatCountTileProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<StatCountTileProps> & Readonly<{}>, {
|
|
34
37
|
loading: boolean;
|
|
38
|
+
tone: SurfaceTone;
|
|
35
39
|
color: TrueColor;
|
|
40
|
+
variant: SurfaceVariant;
|
|
36
41
|
withDecoration: boolean;
|
|
37
42
|
withHoverEffect: boolean;
|
|
38
43
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>, {
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import type { SurfaceVariant } from "../theme/Theme";
|
|
1
2
|
import type { TrueColor } from "../theme";
|
|
2
3
|
import type { StatTileProps } from "./StatTile.vue";
|
|
3
4
|
export interface StatGraphSeries {
|
|
@@ -6,7 +7,8 @@ export interface StatGraphSeries {
|
|
|
6
7
|
/** Omit to auto-assign from the theme palette. */
|
|
7
8
|
color?: TrueColor;
|
|
8
9
|
}
|
|
9
|
-
export interface StatGraphTileProps extends Omit<StatTileProps, "body" | "progress" | "trend" | "meta" | "footer"> {
|
|
10
|
+
export interface StatGraphTileProps extends Omit<StatTileProps, "body" | "progress" | "trend" | "meta" | "footer" | "variant"> {
|
|
11
|
+
panelVariant?: SurfaceVariant;
|
|
10
12
|
data: any[];
|
|
11
13
|
variant: "bar" | "sparkline";
|
|
12
14
|
series: StatGraphSeries[];
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import type { SurfaceTone, SurfaceVariant } from "../theme/Theme";
|
|
1
2
|
import type { VNode } from "vue";
|
|
2
3
|
import type { TrueColor } from "../theme";
|
|
3
4
|
import type { IconName } from "../icons/registry";
|
|
@@ -27,6 +28,8 @@ export interface StatTileProgress {
|
|
|
27
28
|
color?: TrueColor;
|
|
28
29
|
}
|
|
29
30
|
export interface StatTileProps {
|
|
31
|
+
variant?: SurfaceVariant;
|
|
32
|
+
tone?: SurfaceTone;
|
|
30
33
|
title?: string;
|
|
31
34
|
value?: string | number;
|
|
32
35
|
subtitle?: string;
|
|
@@ -49,7 +52,9 @@ export interface StatTileProps {
|
|
|
49
52
|
}
|
|
50
53
|
declare const _default: __VLS_WithSlots<import("vue").DefineComponent<StatTileProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<StatTileProps> & Readonly<{}>, {
|
|
51
54
|
loading: boolean;
|
|
55
|
+
tone: SurfaceTone;
|
|
52
56
|
color: TrueColor;
|
|
57
|
+
variant: SurfaceVariant;
|
|
53
58
|
withDecoration: boolean;
|
|
54
59
|
withHoverEffect: boolean;
|
|
55
60
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>, {
|
|
@@ -1,6 +1,9 @@
|
|
|
1
|
+
import type { SurfaceTone, SurfaceVariant } from "../theme/Theme";
|
|
1
2
|
import type { SmartVariable, SmartVariableGroup, SmartVariableResolver } from "../types/Variables";
|
|
2
3
|
import type { TrueColor } from "../theme/Theme";
|
|
3
4
|
export interface VariablePickerProps {
|
|
5
|
+
variant?: SurfaceVariant;
|
|
6
|
+
panelTone?: SurfaceTone;
|
|
4
7
|
/** The groups to offer, one tab each. */
|
|
5
8
|
groups: SmartVariableGroup[];
|
|
6
9
|
/** Shows each variable's resolved value beside it. */
|
|
@@ -26,6 +29,8 @@ declare const _default: import("vue").DefineComponent<VariablePickerProps, {}, {
|
|
|
26
29
|
}>, {
|
|
27
30
|
size: "sm" | "md" | "lg";
|
|
28
31
|
tone: TrueColor;
|
|
32
|
+
variant: SurfaceVariant;
|
|
33
|
+
panelTone: SurfaceTone;
|
|
29
34
|
initialSearch: string;
|
|
30
35
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
31
36
|
export default _default;
|