@inploi/plugin-kin 2.0.0 → 2.1.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/kin.d.ts CHANGED
@@ -18,13 +18,24 @@ export type KinPluginParams = {
18
18
  theme?: KinTheme;
19
19
  /** Starter prompts shown in empty state to help users begin */
20
20
  starterPrompts?: StarterPrompt[];
21
+ /**
22
+ * Display mode:
23
+ * - 'floating' (default): Renders as a floating launcher + panel overlay
24
+ * - 'embedded': Renders inline within a container element
25
+ */
26
+ mode?: 'floating' | 'embedded';
27
+ /**
28
+ * Container element or selector for embedded mode.
29
+ * If not provided in embedded mode, creates its own container.
30
+ */
31
+ container?: HTMLElement | string;
21
32
  };
22
33
  export type KinPlugin = typeof kinPlugin;
23
34
  export type Kin = ReturnType<ReturnType<KinPlugin>>;
24
35
  /**
25
36
  * Creates the Kin plugin
26
37
  */
27
- export declare const kinPlugin: ({ serviceUrl, publishableKey, theme, starterPrompts }: KinPluginParams) => ({ logger }: {
38
+ export declare const kinPlugin: ({ serviceUrl, publishableKey, theme, starterPrompts, mode, container: containerOption, }: KinPluginParams) => ({ logger }: {
28
39
  apiClient: import('@inploi/sdk').ApiClient;
29
40
  rpcClient: import('@inploi/sdk').InploiRpcClient;
30
41
  logger: import('@inploi/sdk').Logger;
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./index-ac748070.cjs");require("@inploi/sdk");exports.Mermaid=e.tt;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./index-5fda7aab.cjs");require("@inploi/sdk");exports.Mermaid=e.tt;
@@ -1,4 +1,4 @@
1
- import { t } from "./index-e5dbdc11.js";
1
+ import { t } from "./index-40023a17.js";
2
2
  import "@inploi/sdk";
3
3
  export {
4
4
  t as Mermaid
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./index-ac748070.cjs");require("@inploi/sdk");exports.BRAND_THEMES=e.BRAND_THEMES;exports.kinPlugin=e.kinPlugin;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./index-5fda7aab.cjs");require("@inploi/sdk");exports.BRAND_THEMES=e.BRAND_THEMES;exports.kinPlugin=e.kinPlugin;
@@ -1,4 +1,4 @@
1
- import { B as a, k } from "./index-e5dbdc11.js";
1
+ import { B as a, k } from "./index-40023a17.js";
2
2
  import "@inploi/sdk";
3
3
  export {
4
4
  a as BRAND_THEMES,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@inploi/plugin-kin",
3
- "version": "2.0.0",
3
+ "version": "2.1.0",
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",