anentrypoint-design 0.0.103 → 0.0.104

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": "anentrypoint-design",
3
- "version": "0.0.103",
3
+ "version": "0.0.104",
4
4
  "description": "247420 design system SDK — webjsx + modified ripple-ui, single-file ESM bundle for reproducible use of the AnEntrypoint design.",
5
5
  "type": "module",
6
6
  "main": "./dist/247420.js",
package/src/index.js CHANGED
@@ -12,7 +12,7 @@ import { renderMarkdown, ensureReady as ensureMarkdownReady } from './markdown.j
12
12
  import { ensurePrism, highlightAllUnder } from './highlight.js';
13
13
  import { renderPageHtml } from './page-html.js';
14
14
  import { mountKit } from './bootstrap.js';
15
- import { registerChatElement } from './web-components/ds-chat.js';
15
+ import { registerChatElement, DsChat } from './web-components/ds-chat.js';
16
16
 
17
17
  let _installed = false;
18
18
  export async function installStyles(target) {
@@ -59,7 +59,7 @@ export {
59
59
  components, motion, debug, mountKit,
60
60
  renderMarkdown, ensureMarkdownReady,
61
61
  ensurePrism, highlightAllUnder,
62
- registerChatElement,
62
+ registerChatElement, DsChat,
63
63
  renderPageHtml
64
64
  };
65
65
  export const h = webjsx.createElement;
package/src/page-html.js CHANGED
@@ -3,7 +3,7 @@
3
3
 
4
4
  const SCOPE = 'ds-247420';
5
5
 
6
- export function renderPageHtml({ title = '247420', body = '', headExtra = '', theme = 'light', cssHref } = {}) {
6
+ export function renderPageHtml({ title = '247420', body = '', headExtra = '', theme = 'auto', cssHref } = {}) {
7
7
  const cssLink = cssHref
8
8
  ? `<link rel="stylesheet" href="${cssHref}">`
9
9
  : `<link rel="stylesheet" href="https://unpkg.com/anentrypoint-design@latest/dist/247420.css">`;
@@ -33,6 +33,8 @@ class DsChat extends HTMLElement {
33
33
  }
34
34
  }
35
35
 
36
+ export { DsChat };
37
+
36
38
  let _registered = false;
37
39
  export function registerChatElement() {
38
40
  if (_registered) return;