@kitn.ai/ui 0.14.1 → 0.15.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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kitn.ai/ui",
3
- "version": "0.14.1",
3
+ "version": "0.15.0",
4
4
  "type": "module",
5
5
  "description": "Framework-agnostic, Shadow-DOM web components for building AI chat interfaces — works in React, Vue, Angular, Svelte, or plain HTML. Authored in SolidJS.",
6
6
  "keywords": [
@@ -868,8 +868,8 @@
868
868
  "callbacks": [
869
869
  {
870
870
  "name": "host",
871
- "type": "undefined | { context: () => import(\"/Users/home/Projects/kitn-ai/kitn-chat/src/index\").CardContext; emit: (event: CardEvent) => void }",
872
- "displayType": "undefined | { context: () => import(\"/Users/home/Projects/kitn-ai/kitn-chat/src/index\").CardContext; emit: (event: CardEvent) => void }",
871
+ "type": "undefined | { context: () => import(\"/home/runner/work/ui/ui/src/index\").CardContext; emit: (event: CardEvent) => void }",
872
+ "displayType": "undefined | { context: () => import(\"/home/runner/work/ui/ui/src/index\").CardContext; emit: (event: CardEvent) => void }",
873
873
  "description": "Optional explicit CardHost (otherwise read from a CardProvider, otherwise the bubbling `kai-card` CustomEvent off `hostElement`)."
874
874
  }
875
875
  ],
@@ -1050,8 +1050,8 @@
1050
1050
  "callbacks": [
1051
1051
  {
1052
1052
  "name": "host",
1053
- "type": "undefined | { context: () => import(\"/Users/home/Projects/kitn-ai/kitn-chat/src/index\").CardContext; emit: (event: CardEvent) => void }",
1054
- "displayType": "undefined | { context: () => import(\"/Users/home/Projects/kitn-ai/kitn-chat/src/index\").CardContext; emit: (event: CardEvent) => void }",
1053
+ "type": "undefined | { context: () => import(\"/home/runner/work/ui/ui/src/index\").CardContext; emit: (event: CardEvent) => void }",
1054
+ "displayType": "undefined | { context: () => import(\"/home/runner/work/ui/ui/src/index\").CardContext; emit: (event: CardEvent) => void }",
1055
1055
  "description": "Optional explicit CardHost (otherwise read from a CardProvider, otherwise the bubbling `kai-card` CustomEvent off `hostElement`)."
1056
1056
  }
1057
1057
  ],
@@ -1817,8 +1817,8 @@
1817
1817
  "callbacks": [
1818
1818
  {
1819
1819
  "name": "host",
1820
- "type": "undefined | { context: () => import(\"/Users/home/Projects/kitn-ai/kitn-chat/src/index\").CardContext; emit: (event: CardEvent) => void }",
1821
- "displayType": "undefined | { context: () => import(\"/Users/home/Projects/kitn-ai/kitn-chat/src/index\").CardContext; emit: (event: CardEvent) => void }",
1820
+ "type": "undefined | { context: () => import(\"/home/runner/work/ui/ui/src/index\").CardContext; emit: (event: CardEvent) => void }",
1821
+ "displayType": "undefined | { context: () => import(\"/home/runner/work/ui/ui/src/index\").CardContext; emit: (event: CardEvent) => void }",
1822
1822
  "description": "Optional explicit CardHost (otherwise read from a CardProvider, otherwise the bubbling `kai-card` CustomEvent off `hostElement`)."
1823
1823
  }
1824
1824
  ],
@@ -2801,8 +2801,8 @@
2801
2801
  "callbacks": [
2802
2802
  {
2803
2803
  "name": "host",
2804
- "type": "undefined | { context: () => import(\"/Users/home/Projects/kitn-ai/kitn-chat/src/index\").CardContext; emit: (event: CardEvent) => void }",
2805
- "displayType": "undefined | { context: () => import(\"/Users/home/Projects/kitn-ai/kitn-chat/src/index\").CardContext; emit: (event: CardEvent) => void }",
2804
+ "type": "undefined | { context: () => import(\"/home/runner/work/ui/ui/src/index\").CardContext; emit: (event: CardEvent) => void }",
2805
+ "displayType": "undefined | { context: () => import(\"/home/runner/work/ui/ui/src/index\").CardContext; emit: (event: CardEvent) => void }",
2806
2806
  "description": "Optional explicit CardHost (otherwise read from a CardProvider, otherwise the bubbling `kai-card` CustomEvent off `hostElement`)."
2807
2807
  }
2808
2808
  ],
@@ -3292,8 +3292,8 @@
3292
3292
  },
3293
3293
  {
3294
3294
  "name": "onClick",
3295
- "type": "undefined | JSX.EventHandler<HTMLButtonElement, MouseEvent> | { 0: (data: any, e: MouseEvent & { currentTarget: HTMLButtonElement; target: import(\"/Users/home/Projects/kitn-ai/kitn-chat/node_modules/solid-js/types/jsx\").DOMElement; }) => void; 1: any }",
3296
- "displayType": "undefined | JSX.EventHandler<HTMLButtonElement, MouseEvent> | { 0: (data: any, e: MouseEvent & { currentTarget: HTMLButtonElement; target: import(\"/Users/home/Projects/kitn-ai/kitn-chat/node_modules/solid-js/types/jsx\").DOMElement; }) => void; 1: any }",
3295
+ "type": "undefined | JSX.EventHandler<HTMLButtonElement, MouseEvent> | { 0: (data: any, e: MouseEvent & { currentTarget: HTMLButtonElement; target: import(\"/home/runner/work/ui/ui/node_modules/solid-js/types/jsx\").DOMElement; }) => void; 1: any }",
3296
+ "displayType": "undefined | JSX.EventHandler<HTMLButtonElement, MouseEvent> | { 0: (data: any, e: MouseEvent & { currentTarget: HTMLButtonElement; target: import(\"/home/runner/work/ui/ui/node_modules/solid-js/types/jsx\").DOMElement; }) => void; 1: any }",
3297
3297
  "description": ""
3298
3298
  }
3299
3299
  ],
@@ -133,7 +133,7 @@ export function mountRemoteCard(options: MountRemoteCardOptions): RemoteCardHand
133
133
  // Replace the iframe with an inline accessible fallback + a Retry button.
134
134
  const fallback = document.createElement('div');
135
135
  fallback.setAttribute('role', 'alert');
136
- fallback.dataset.kcRemoteFallback = '';
136
+ fallback.dataset.kaiRemoteFallback = '';
137
137
  const msg = document.createElement('p');
138
138
  msg.textContent = message;
139
139
  fallback.appendChild(msg);