@inploi/plugin-kin 2.5.1 → 2.6.1

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.d.ts CHANGED
@@ -1 +1 @@
1
- export { kinPlugin, type Kin, type KinPlugin, type KinPluginParams, type KinTheme } from './kin';
1
+ export { kinPlugin, type Kin, type KinPlacement, type KinPlugin, type KinPluginParams, type KinRounded, type KinTheme, } from './kin';
package/dist/kin.d.ts CHANGED
@@ -12,7 +12,11 @@ export type KinTheme = {
12
12
  neutralColor?: string;
13
13
  /** Light or dark mode */
14
14
  mode: 'light' | 'dark';
15
+ /** Global rounding preset */
16
+ rounded?: KinRounded;
15
17
  };
18
+ export type KinPlacement = 'left' | 'center' | 'right' | 'embedded';
19
+ export type KinRounded = 'sm' | 'md' | 'lg';
16
20
  export type KinPluginParams = {
17
21
  /** Override the agents service URL. Defaults to production (wss://agents.inploi.com). Only needed for local development. */
18
22
  serviceUrl?: string;
@@ -21,14 +25,14 @@ export type KinPluginParams = {
21
25
  /** Starter prompts shown in empty state to help users begin */
22
26
  starterPrompts?: StarterPrompt[];
23
27
  /**
24
- * Display mode:
25
- * - 'floating' (default): Renders as a floating launcher + panel overlay
26
- * - 'embedded': Renders inline within a container element
28
+ * Widget placement:
29
+ * - 'left' | 'center' | 'right': Floating positions on desktop
30
+ * - 'embedded': Inline mode (fills the provided container)
27
31
  */
28
- mode?: 'floating' | 'embedded';
32
+ placement?: KinPlacement;
29
33
  /**
30
- * Container element or selector for embedded mode.
31
- * If not provided in embedded mode, creates its own container.
34
+ * Container element or selector for embedded placement.
35
+ * If not provided in embedded placement, creates its own container.
32
36
  */
33
37
  container?: HTMLElement | string;
34
38
  };
@@ -37,7 +41,7 @@ export type Kin = ReturnType<ReturnType<KinPlugin>>;
37
41
  /**
38
42
  * Creates the Kin plugin
39
43
  */
40
- export declare const kinPlugin: ({ serviceUrl, theme, starterPrompts, mode, container: containerOption, }: KinPluginParams) => ({ logger, publishableKey }: {
44
+ export declare const kinPlugin: ({ serviceUrl, theme, starterPrompts, placement, container: containerOption, }: KinPluginParams) => ({ logger, publishableKey }: {
41
45
  apiClient: import('@inploi/sdk').ApiClient;
42
46
  rpcClient: import('@inploi/sdk').InploiRpcClient;
43
47
  logger: import('@inploi/sdk').Logger;
@@ -1,3 +1,4 @@
1
- import { KinTheme } from './kin';
1
+ import { KinRounded, KinTheme } from './kin';
2
2
 
3
3
  export declare function generateVars(theme: KinTheme): string;
4
+ export declare function generateRoundedVars(rounded: KinRounded): string;
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./index-7b10ac82.cjs");require("@inploi/sdk");exports.Mermaid=e.Nt;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./index-9221fd1a.cjs");require("@inploi/sdk");exports.Mermaid=e.Nt;
@@ -1,4 +1,4 @@
1
- import { N as a } from "./index-59d4b2a8.js";
1
+ import { N as a } from "./index-dde00d97.js";
2
2
  import "@inploi/sdk";
3
3
  export {
4
4
  a as Mermaid
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./index-7b10ac82.cjs");require("@inploi/sdk");exports.kinPlugin=e.kinPlugin;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./index-9221fd1a.cjs");require("@inploi/sdk");exports.kinPlugin=e.kinPlugin;
@@ -1,4 +1,4 @@
1
- import { k } from "./index-59d4b2a8.js";
1
+ import { k } from "./index-dde00d97.js";
2
2
  import "@inploi/sdk";
3
3
  export {
4
4
  k as kinPlugin
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@inploi/plugin-kin",
3
- "version": "2.5.1",
3
+ "version": "2.6.1",
4
4
  "type": "module",
5
5
  "description": "Kin - A unified Talent Agent interface for hiring. One system, many roles.",
6
6
  "main": "dist/plugin-kin.js",