@inploi/plugin-kin 2.4.4 → 2.4.5
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/cdn/index.js +75 -75
- package/dist/{highlighted-body-B3W2YXNL-a9f26142.cjs → highlighted-body-B3W2YXNL-83627bd5.cjs} +1 -1
- package/dist/{highlighted-body-B3W2YXNL-8dac2ba2.js → highlighted-body-B3W2YXNL-cf1dd1b0.js} +1 -1
- package/dist/{index-3ffc9af2.js → index-f5004342.js} +3922 -3969
- package/dist/{index-516b7de7.cjs → index-f96f6514.cjs} +73 -73
- package/dist/index.d.ts +1 -1
- package/dist/kin.d.ts +8 -4
- package/dist/kin.vars.d.ts +3 -0
- package/dist/{mermaid-3ZIDBTTL-f596aef3.cjs → mermaid-3ZIDBTTL-5bd83464.cjs} +1 -1
- package/dist/{mermaid-3ZIDBTTL-0b3f7dc5.js → mermaid-3ZIDBTTL-600263e6.js} +1 -1
- package/dist/plugin-kin.cjs +1 -1
- package/dist/plugin-kin.js +1 -2
- package/package.json +1 -1
- package/dist/kin.theme.d.ts +0 -39
package/dist/index.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export { kinPlugin, type Kin, type KinPlugin, type KinPluginParams, type KinTheme
|
|
1
|
+
export { kinPlugin, type Kin, type KinPlugin, type KinPluginParams, type KinTheme } from './kin';
|
package/dist/kin.d.ts
CHANGED
|
@@ -1,7 +1,3 @@
|
|
|
1
|
-
import { KinTheme } from './kin.theme';
|
|
2
|
-
|
|
3
|
-
export type { KinTheme } from './kin.theme';
|
|
4
|
-
export { BRAND_THEMES } from './kin.theme';
|
|
5
1
|
/** A starter prompt button shown in the empty state */
|
|
6
2
|
export type StarterPrompt = {
|
|
7
3
|
/** Text displayed on the button */
|
|
@@ -9,6 +5,14 @@ export type StarterPrompt = {
|
|
|
9
5
|
/** Message sent when clicked (can differ from label) */
|
|
10
6
|
message: string;
|
|
11
7
|
};
|
|
8
|
+
export type KinTheme = {
|
|
9
|
+
/** Primary accent color as HEX (e.g., "#FF4D00") */
|
|
10
|
+
accentColor: string;
|
|
11
|
+
/** Optional neutral base color as HEX (e.g., "#555555"). Defaults to medium gray. */
|
|
12
|
+
neutralColor?: string;
|
|
13
|
+
/** Light or dark mode */
|
|
14
|
+
mode: 'light' | 'dark';
|
|
15
|
+
};
|
|
12
16
|
export type KinPluginParams = {
|
|
13
17
|
/** Override the agents service URL. Defaults to production (wss://agents.inploi.com). Only needed for local development. */
|
|
14
18
|
serviceUrl?: string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./index-
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./index-f96f6514.cjs");require("@inploi/sdk");exports.Mermaid=e.Nt;
|
package/dist/plugin-kin.cjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./index-
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./index-f96f6514.cjs");require("@inploi/sdk");exports.kinPlugin=e.kinPlugin;
|
package/dist/plugin-kin.js
CHANGED
package/package.json
CHANGED
package/dist/kin.theme.d.ts
DELETED
|
@@ -1,39 +0,0 @@
|
|
|
1
|
-
export type KinTheme = {
|
|
2
|
-
/** Primary accent color as HEX (e.g., "#FF4D00") */
|
|
3
|
-
accentColor: string;
|
|
4
|
-
/** Light or dark mode */
|
|
5
|
-
mode: 'light' | 'dark';
|
|
6
|
-
};
|
|
7
|
-
/**
|
|
8
|
-
* Generates CSS custom properties for the theme
|
|
9
|
-
*/
|
|
10
|
-
export declare function generateThemeCss(theme: KinTheme): string;
|
|
11
|
-
/**
|
|
12
|
-
* Default theme - Inploi Tangerine
|
|
13
|
-
*/
|
|
14
|
-
export declare const DEFAULT_THEME: KinTheme;
|
|
15
|
-
/**
|
|
16
|
-
* Preset brand themes with exact HEX colors
|
|
17
|
-
*/
|
|
18
|
-
export declare const BRAND_THEMES: {
|
|
19
|
-
/** Inploi - Tangerine orange, light mode */
|
|
20
|
-
readonly inploi: {
|
|
21
|
-
readonly accentColor: "#FF4D00";
|
|
22
|
-
readonly mode: "light";
|
|
23
|
-
};
|
|
24
|
-
/** Boots - Deep navy blue, light mode */
|
|
25
|
-
readonly boots: {
|
|
26
|
-
readonly accentColor: "#05054b";
|
|
27
|
-
readonly mode: "light";
|
|
28
|
-
};
|
|
29
|
-
/** Wagamama - Red/orange, dark mode */
|
|
30
|
-
readonly wagamama: {
|
|
31
|
-
readonly accentColor: "#df3228";
|
|
32
|
-
readonly mode: "dark";
|
|
33
|
-
};
|
|
34
|
-
/** Gail's - Red, light mode */
|
|
35
|
-
readonly gails: {
|
|
36
|
-
readonly accentColor: "#cf2030";
|
|
37
|
-
readonly mode: "light";
|
|
38
|
-
};
|
|
39
|
-
};
|