@xmesh/system-design 0.0.2 → 0.0.4

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.
Files changed (73) hide show
  1. package/dist/lit/components/alert/index.d.ts +1 -1
  2. package/dist/lit/components/alert/index.js +1 -0
  3. package/dist/lit/components/app-bar/index.d.ts +1 -1
  4. package/dist/lit/components/app-bar/index.js +1 -0
  5. package/dist/lit/components/artifact/index.d.ts +1 -1
  6. package/dist/lit/components/artifact/index.js +16 -2
  7. package/dist/lit/components/avatar/index.d.ts +1 -1
  8. package/dist/lit/components/avatar/index.js +1 -0
  9. package/dist/lit/components/avatar-group/index.d.ts +1 -1
  10. package/dist/lit/components/avatar-group/index.js +1 -0
  11. package/dist/lit/components/badge/index.d.ts +1 -2
  12. package/dist/lit/components/badge/index.js +1 -0
  13. package/dist/lit/components/brand-mark/index.d.ts +2 -2
  14. package/dist/lit/components/brand-mark/index.js +14 -0
  15. package/dist/lit/components/breadcrumbs/index.d.ts +1 -1
  16. package/dist/lit/components/breadcrumbs/index.js +1 -0
  17. package/dist/lit/components/bubble/index.d.ts +4 -4
  18. package/dist/lit/components/bubble/index.js +18 -0
  19. package/dist/lit/components/button/index.d.ts +1 -1
  20. package/dist/lit/components/button/index.js +1 -0
  21. package/dist/lit/components/card/index.d.ts +1 -1
  22. package/dist/lit/components/card/index.js +1 -0
  23. package/dist/lit/components/chat/index.d.ts +1 -2
  24. package/dist/lit/components/chat/index.js +16 -2
  25. package/dist/lit/components/checkbox/index.d.ts +1 -2
  26. package/dist/lit/components/checkbox/index.js +1 -0
  27. package/dist/lit/components/chip/index.d.ts +1 -1
  28. package/dist/lit/components/chip/index.js +1 -0
  29. package/dist/lit/components/chip-group/index.d.ts +1 -1
  30. package/dist/lit/components/chip-group/index.js +1 -0
  31. package/dist/lit/components/code/index.d.ts +1 -2
  32. package/dist/lit/components/code/index.js +1 -0
  33. package/dist/lit/components/composer/index.d.ts +1 -2
  34. package/dist/lit/components/composer/index.js +14 -0
  35. package/dist/lit/components/date-range/index.css +324 -0
  36. package/dist/lit/components/date-range/index.d.ts +57 -0
  37. package/dist/lit/components/date-range/index.js +702 -0
  38. package/dist/lit/components/divider/index.d.ts +1 -1
  39. package/dist/lit/components/divider/index.js +1 -0
  40. package/dist/lit/components/expansion-panel/index.d.ts +1 -2
  41. package/dist/lit/components/expansion-panel/index.js +1 -0
  42. package/dist/lit/components/grid/index.d.ts +1 -1
  43. package/dist/lit/components/grid/index.js +1 -0
  44. package/dist/lit/components/kbd/index.d.ts +1 -2
  45. package/dist/lit/components/kbd/index.js +1 -0
  46. package/dist/lit/components/list/index.d.ts +1 -1
  47. package/dist/lit/components/list/index.js +1 -0
  48. package/dist/lit/components/list-item/index.d.ts +1 -2
  49. package/dist/lit/components/list-item/index.js +1 -0
  50. package/dist/lit/components/navigation-drawer/index.d.ts +1 -2
  51. package/dist/lit/components/navigation-drawer/index.js +1 -0
  52. package/dist/lit/components/pagination/index.d.ts +1 -1
  53. package/dist/lit/components/pagination/index.js +1 -0
  54. package/dist/lit/components/popover/index.css +34 -0
  55. package/dist/lit/components/popover/index.d.ts +29 -0
  56. package/dist/lit/components/popover/index.js +204 -0
  57. package/dist/lit/components/primitives/index.d.ts +2 -2
  58. package/dist/lit/components/primitives/index.js +14 -0
  59. package/dist/lit/components/sidebar-item/index.d.ts +1 -1
  60. package/dist/lit/components/sidebar-item/index.js +13 -0
  61. package/dist/lit/components/snackbar/index.d.ts +1 -2
  62. package/dist/lit/components/snackbar/index.js +16 -2
  63. package/dist/lit/components/stack/index.d.ts +1 -1
  64. package/dist/lit/components/stack/index.js +1 -0
  65. package/dist/lit/components/table/index.d.ts +1 -2
  66. package/dist/lit/components/table/index.js +5 -9
  67. package/dist/lit/components/tabs/index.d.ts +3 -3
  68. package/dist/lit/components/tabs/index.js +3 -0
  69. package/dist/lit/components/validation/index.d.ts +1 -2
  70. package/dist/lit/components/validation/index.js +16 -1
  71. package/dist/lit/index.d.ts +2 -0
  72. package/dist/lit/index.js +2 -0
  73. package/package.json +1 -1
@@ -2,7 +2,7 @@ import { LitElement } from "lit";
2
2
  import type { TemplateResult } from "lit";
3
3
  type AlertSeverity = "info" | "success" | "warning" | "critical";
4
4
  type AlertVariant = "inline" | "banner";
5
- declare class XmAlert extends LitElement {
5
+ export declare class XmAlert extends LitElement {
6
6
  severity: AlertSeverity;
7
7
  heading: string;
8
8
  dismissible: boolean;
@@ -189,3 +189,4 @@ __decorate([
189
189
  XmAlert = __decorate([
190
190
  customElement("xm-alert")
191
191
  ], XmAlert);
192
+ export { XmAlert };
@@ -1,7 +1,7 @@
1
1
  import { LitElement } from "lit";
2
2
  import type { TemplateResult } from "lit";
3
3
  type AppBarSize = "xs" | "sm" | "md" | "lg";
4
- declare class XmAppBar extends LitElement {
4
+ export declare class XmAppBar extends LitElement {
5
5
  size: AppBarSize;
6
6
  sticky: boolean;
7
7
  private _mo;
@@ -118,3 +118,4 @@ __decorate([
118
118
  XmAppBar = __decorate([
119
119
  customElement("xm-app-bar")
120
120
  ], XmAppBar);
121
+ export { XmAppBar };
@@ -2,7 +2,7 @@ import { LitElement } from "lit";
2
2
  import type { TemplateResult } from "lit";
3
3
  import "../button/index.js";
4
4
  type ArtifactView = "preview" | "code";
5
- declare class XmArtifact extends LitElement {
5
+ export declare class XmArtifact extends LitElement {
6
6
  title: string;
7
7
  sub: string[] | null;
8
8
  subCsv: string;
@@ -29,8 +29,8 @@
29
29
  refresh
30
30
  close
31
31
 
32
- Light DOM. components/artifact/index.css + components/button/index.css +
33
- components/primitives/index.css must be loaded in the host page.
32
+ Light DOM. This module appends its stylesheets (artifact + primitives) to
33
+ document.head on import; <xm-button> brings its own CSS via its shadow root.
34
34
  */
35
35
  var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
36
36
  var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
@@ -42,6 +42,19 @@ import { LitElement, html, svg, nothing } from "lit";
42
42
  import { customElement, property, state } from "lit/decorators.js";
43
43
  // Side-effect import: registers <xm-button> for use in the head toolbar.
44
44
  import "../button/index.js";
45
+ if (typeof document !== "undefined") {
46
+ for (const href of [
47
+ new URL("../artifact/index.css", import.meta.url).href,
48
+ new URL("../primitives/index.css", import.meta.url).href,
49
+ ]) {
50
+ if (document.querySelector(`link[rel="stylesheet"][href="${href}"]`))
51
+ continue;
52
+ const link = document.createElement("link");
53
+ link.rel = "stylesheet";
54
+ link.href = href;
55
+ document.head.appendChild(link);
56
+ }
57
+ }
45
58
  const ICON_EYE = (size = 14) => svg `
46
59
  <svg width="${size}" height="${size}" viewBox="0 0 24 24" fill="none"
47
60
  stroke="currentColor" stroke-width="1.8" stroke-linecap="round"
@@ -292,3 +305,4 @@ __decorate([
292
305
  XmArtifact = __decorate([
293
306
  customElement("xm-artifact")
294
307
  ], XmArtifact);
308
+ export { XmArtifact };
@@ -1,7 +1,7 @@
1
1
  import { LitElement } from "lit";
2
2
  import type { TemplateResult } from "lit";
3
3
  type AvatarSize = "xs" | "sm" | "md" | "lg";
4
- declare class XmAvatar extends LitElement {
4
+ export declare class XmAvatar extends LitElement {
5
5
  title: string;
6
6
  name: string;
7
7
  initials: string;
@@ -110,3 +110,4 @@ __decorate([
110
110
  XmAvatar = __decorate([
111
111
  customElement("xm-avatar")
112
112
  ], XmAvatar);
113
+ export { XmAvatar };
@@ -1,7 +1,7 @@
1
1
  import { LitElement } from "lit";
2
2
  import type { TemplateResult } from "lit";
3
3
  type AvatarSize = "xs" | "sm" | "md" | "lg";
4
- declare class XmAvatarGroup extends LitElement {
4
+ export declare class XmAvatarGroup extends LitElement {
5
5
  max: number;
6
6
  size: AvatarSize;
7
7
  private _overflow;
@@ -95,3 +95,4 @@ __decorate([
95
95
  XmAvatarGroup = __decorate([
96
96
  customElement("xm-avatar-group")
97
97
  ], XmAvatarGroup);
98
+ export { XmAvatarGroup };
@@ -1,6 +1,6 @@
1
1
  import { LitElement } from "lit";
2
2
  import type { TemplateResult } from "lit";
3
- declare class XmBadge extends LitElement {
3
+ export declare class XmBadge extends LitElement {
4
4
  count: number | null;
5
5
  dot: boolean;
6
6
  max: number;
@@ -15,4 +15,3 @@ declare global {
15
15
  "xm-badge": XmBadge;
16
16
  }
17
17
  }
18
- export {};
@@ -113,3 +113,4 @@ __decorate([
113
113
  XmBadge = __decorate([
114
114
  customElement("xm-badge")
115
115
  ], XmBadge);
116
+ export { XmBadge };
@@ -4,10 +4,10 @@ type BrandSize = "sm" | "md" | "lg";
4
4
  declare class LightElement extends LitElement {
5
5
  createRenderRoot(): HTMLElement | DocumentFragment;
6
6
  }
7
- declare class XmBrandGlyph extends LightElement {
7
+ export declare class XmBrandGlyph extends LightElement {
8
8
  render(): TemplateResult;
9
9
  }
10
- declare class XmBrandMark extends LightElement {
10
+ export declare class XmBrandMark extends LightElement {
11
11
  size: BrandSize;
12
12
  showGlyph: boolean;
13
13
  showWordmark: boolean;
@@ -23,6 +23,18 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key,
23
23
  };
24
24
  import { LitElement, html, nothing } from "lit";
25
25
  import { customElement, property } from "lit/decorators.js";
26
+ if (typeof document !== "undefined") {
27
+ for (const href of [
28
+ new URL("../brand-mark/index.css", import.meta.url).href,
29
+ ]) {
30
+ if (document.querySelector(`link[rel="stylesheet"][href="${href}"]`))
31
+ continue;
32
+ const link = document.createElement("link");
33
+ link.rel = "stylesheet";
34
+ link.href = href;
35
+ document.head.appendChild(link);
36
+ }
37
+ }
26
38
  const DEFAULT_TAGLINE = "Smart-routing AI chat. The mark is an X-mesh — four nodes routing to a single hub through the letterform itself.";
27
39
  class LightElement extends LitElement {
28
40
  createRenderRoot() {
@@ -59,6 +71,7 @@ let XmBrandGlyph = class XmBrandGlyph extends LightElement {
59
71
  XmBrandGlyph = __decorate([
60
72
  customElement("xm-brand-glyph")
61
73
  ], XmBrandGlyph);
74
+ export { XmBrandGlyph };
62
75
  let XmBrandMark = class XmBrandMark extends LightElement {
63
76
  constructor() {
64
77
  super(...arguments);
@@ -114,3 +127,4 @@ __decorate([
114
127
  XmBrandMark = __decorate([
115
128
  customElement("xm-brand-mark")
116
129
  ], XmBrandMark);
130
+ export { XmBrandMark };
@@ -5,7 +5,7 @@ export interface BreadcrumbItem {
5
5
  href?: string;
6
6
  }
7
7
  type BreadcrumbSeparator = "chevron" | "slash";
8
- declare class XmBreadcrumbs extends LitElement {
8
+ export declare class XmBreadcrumbs extends LitElement {
9
9
  items: BreadcrumbItem[];
10
10
  separator: BreadcrumbSeparator;
11
11
  render(): TemplateResult;
@@ -102,3 +102,4 @@ __decorate([
102
102
  XmBreadcrumbs = __decorate([
103
103
  customElement("xm-breadcrumbs")
104
104
  ], XmBreadcrumbs);
105
+ export { XmBreadcrumbs };
@@ -16,14 +16,14 @@ export interface BubbleArtifact {
16
16
  declare class LightElement extends LitElement {
17
17
  createRenderRoot(): HTMLElement | DocumentFragment;
18
18
  }
19
- declare class XmBubbleGroup extends LightElement {
19
+ export declare class XmBubbleGroup extends LightElement {
20
20
  variant: BubbleVariant;
21
21
  private _authoredChildren;
22
22
  connectedCallback(): void;
23
23
  render(): TemplateResult;
24
24
  updated(): void;
25
25
  }
26
- declare class XmBubble extends LightElement {
26
+ export declare class XmBubble extends LightElement {
27
27
  variant: BubbleVariant;
28
28
  attachments: BubbleAttachment[];
29
29
  artifact: BubbleArtifact | null;
@@ -39,7 +39,7 @@ declare class XmBubble extends LightElement {
39
39
  render(): TemplateResult;
40
40
  updated(): void;
41
41
  }
42
- declare class XmBubbleActions extends LightElement {
42
+ export declare class XmBubbleActions extends LightElement {
43
43
  ts: string;
44
44
  ariaLabel: string;
45
45
  private _authored;
@@ -54,7 +54,7 @@ declare class XmBubbleActions extends LightElement {
54
54
  render(): TemplateResult;
55
55
  updated(): void;
56
56
  }
57
- declare class XmArtifactChip extends LightElement {
57
+ export declare class XmArtifactChip extends LightElement {
58
58
  artifact: BubbleArtifact | null;
59
59
  download: boolean;
60
60
  private _open;
@@ -36,6 +36,20 @@ import { unsafeHTML } from "lit/directives/unsafe-html.js";
36
36
  import { customElement, property } from "lit/decorators.js";
37
37
  // Register <xm-button> for the artifact "Download" action below.
38
38
  import "../button/index.js";
39
+ if (typeof document !== "undefined") {
40
+ for (const href of [
41
+ new URL("../bubble/index.css", import.meta.url).href,
42
+ new URL("../composer/index.css", import.meta.url).href,
43
+ new URL("../primitives/index.css", import.meta.url).href,
44
+ ]) {
45
+ if (document.querySelector(`link[rel="stylesheet"][href="${href}"]`))
46
+ continue;
47
+ const link = document.createElement("link");
48
+ link.rel = "stylesheet";
49
+ link.href = href;
50
+ document.head.appendChild(link);
51
+ }
52
+ }
39
53
  class LightElement extends LitElement {
40
54
  createRenderRoot() {
41
55
  return this;
@@ -143,6 +157,7 @@ __decorate([
143
157
  XmBubbleGroup = __decorate([
144
158
  customElement("xm-bubble-group")
145
159
  ], XmBubbleGroup);
160
+ export { XmBubbleGroup };
146
161
  /* ─────────────────────────────────────────────────────────────
147
162
  <xm-bubble> — the message body.
148
163
 
@@ -349,6 +364,7 @@ __decorate([
349
364
  XmBubble = __decorate([
350
365
  customElement("xm-bubble")
351
366
  ], XmBubble);
367
+ export { XmBubble };
352
368
  /* ─────────────────────────────────────────────────────────────
353
369
  <xm-bubble-actions> — hover-reveal toolbar.
354
370
 
@@ -530,6 +546,7 @@ __decorate([
530
546
  XmBubbleActions = __decorate([
531
547
  customElement("xm-bubble-actions")
532
548
  ], XmBubbleActions);
549
+ export { XmBubbleActions };
533
550
  /* ─────────────────────────────────────────────────────────────
534
551
  <xm-artifact-chip> — standalone chip for surfaces other than
535
552
  xm-bubble (e.g. snackbar, drawer). xm-bubble renders the same
@@ -615,3 +632,4 @@ __decorate([
615
632
  XmArtifactChip = __decorate([
616
633
  customElement("xm-artifact-chip")
617
634
  ], XmArtifactChip);
635
+ export { XmArtifactChip };
@@ -4,7 +4,7 @@ type ButtonVariant = "primary" | "secondary" | "outline" | "ghost" | "ghost-acce
4
4
  type ButtonSize = "xs" | "sm" | "md" | "lg";
5
5
  type ButtonType = "button" | "submit" | "reset";
6
6
  type ForceState = "hover" | "active" | "focus" | null;
7
- declare class XmButton extends LitElement {
7
+ export declare class XmButton extends LitElement {
8
8
  static shadowRootOptions: ShadowRootInit;
9
9
  variant: ButtonVariant;
10
10
  size: ButtonSize;
@@ -200,3 +200,4 @@ __decorate([
200
200
  XmButton = __decorate([
201
201
  customElement("xm-button")
202
202
  ], XmButton);
203
+ export { XmButton };
@@ -2,7 +2,7 @@ import { LitElement } from "lit";
2
2
  import type { TemplateResult } from "lit";
3
3
  type CardSize = "xs" | "sm" | "md" | "lg";
4
4
  type CardElevation = 0 | 1 | 2 | 3 | 4 | 5;
5
- declare class XmCard extends LitElement {
5
+ export declare class XmCard extends LitElement {
6
6
  elevation: CardElevation;
7
7
  size: CardSize;
8
8
  private _mo;
@@ -131,3 +131,4 @@ __decorate([
131
131
  XmCard = __decorate([
132
132
  customElement("xm-card")
133
133
  ], XmCard);
134
+ export { XmCard };
@@ -25,7 +25,7 @@ export interface ThreadMessage {
25
25
  atts?: BubbleAttachment[];
26
26
  artifact?: BubbleArtifact | null;
27
27
  }
28
- declare class XmChatShell extends LitElement {
28
+ export declare class XmChatShell extends LitElement {
29
29
  conversations: ConversationGroup[];
30
30
  thread: ThreadMessage[];
31
31
  processing: boolean;
@@ -71,4 +71,3 @@ declare global {
71
71
  "xm-chat-shell": XmChatShell;
72
72
  }
73
73
  }
74
- export {};
@@ -31,8 +31,8 @@
31
31
  (opens the artifact slot).
32
32
  artifact-close
33
33
 
34
- Light DOM. Loads the entire palette of dependent stylesheets at the
35
- preview level. Composes the previously-ported xm-* elements.
34
+ Light DOM. This module and the xm-* elements it composes each append their
35
+ own stylesheets to document.head on import; nothing extra is needed.
36
36
  */
37
37
  var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
38
38
  var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
@@ -52,6 +52,19 @@ import "../sidebar-item/index.js";
52
52
  import "../bubble/index.js";
53
53
  import "../composer/index.js";
54
54
  import "../artifact/index.js";
55
+ if (typeof document !== "undefined") {
56
+ for (const href of [
57
+ new URL("../chat/index.css", import.meta.url).href,
58
+ new URL("../primitives/index.css", import.meta.url).href,
59
+ ]) {
60
+ if (document.querySelector(`link[rel="stylesheet"][href="${href}"]`))
61
+ continue;
62
+ const link = document.createElement("link");
63
+ link.rel = "stylesheet";
64
+ link.href = href;
65
+ document.head.appendChild(link);
66
+ }
67
+ }
55
68
  /* ---------- Inline icon SVG fragments (used in topbar / sidebar chrome) */
56
69
  const I_PANEL = (size = 16) => svg `
57
70
  <svg width="${size}" height="${size}" viewBox="0 0 24 24" fill="none"
@@ -587,3 +600,4 @@ __decorate([
587
600
  XmChatShell = __decorate([
588
601
  customElement("xm-chat-shell")
589
602
  ], XmChatShell);
603
+ export { XmChatShell };
@@ -1,6 +1,6 @@
1
1
  import type { TemplateResult } from "lit";
2
2
  import { XmField } from "../field/index.js";
3
- declare class XmCheckbox extends XmField {
3
+ export declare class XmCheckbox extends XmField {
4
4
  /** Indeterminate (mixed) state — shows the dash mark on the coral fill and
5
5
  reports aria-checked="mixed". Cleared on the first user toggle. */
6
6
  indeterminate: boolean;
@@ -18,4 +18,3 @@ declare global {
18
18
  "xm-checkbox": XmCheckbox;
19
19
  }
20
20
  }
21
- export {};
@@ -136,3 +136,4 @@ __decorate([
136
136
  XmCheckbox = __decorate([
137
137
  customElement("xm-checkbox")
138
138
  ], XmCheckbox);
139
+ export { XmCheckbox };
@@ -2,7 +2,7 @@ import { LitElement } from "lit";
2
2
  import type { TemplateResult } from "lit";
3
3
  type ChipSize = "xs" | "sm" | "md" | "lg";
4
4
  type ChipCategory = "get" | "post" | "put" | "delete" | "patch" | "yml" | "json" | "";
5
- declare class XmChip extends LitElement {
5
+ export declare class XmChip extends LitElement {
6
6
  value: string;
7
7
  size: ChipSize;
8
8
  selected: boolean;
@@ -228,3 +228,4 @@ __decorate([
228
228
  XmChip = __decorate([
229
229
  customElement("xm-chip")
230
230
  ], XmChip);
231
+ export { XmChip };
@@ -1,7 +1,7 @@
1
1
  import { LitElement } from "lit";
2
2
  import type { TemplateResult } from "lit";
3
3
  type Primitive = string | number;
4
- declare class XmChipGroup extends LitElement {
4
+ export declare class XmChipGroup extends LitElement {
5
5
  multiple: boolean;
6
6
  value: Primitive | Primitive[] | null;
7
7
  connectedCallback(): void;
@@ -169,3 +169,4 @@ __decorate([
169
169
  XmChipGroup = __decorate([
170
170
  customElement("xm-chip-group")
171
171
  ], XmChipGroup);
172
+ export { XmChipGroup };
@@ -1,6 +1,6 @@
1
1
  import { LitElement } from "lit";
2
2
  import type { TemplateResult } from "lit";
3
- declare class XmCode extends LitElement {
3
+ export declare class XmCode extends LitElement {
4
4
  block: boolean;
5
5
  render(): TemplateResult;
6
6
  }
@@ -9,4 +9,3 @@ declare global {
9
9
  "xm-code": XmCode;
10
10
  }
11
11
  }
12
- export {};
@@ -66,3 +66,4 @@ __decorate([
66
66
  XmCode = __decorate([
67
67
  customElement("xm-code")
68
68
  ], XmCode);
69
+ export { XmCode };
@@ -12,7 +12,7 @@ export interface ComposerAttachment {
12
12
  pages?: number;
13
13
  dims?: string;
14
14
  }
15
- declare class XmComposer extends LitElement {
15
+ export declare class XmComposer extends LitElement {
16
16
  initialValue: string;
17
17
  initialFocus: boolean;
18
18
  processing: boolean;
@@ -64,4 +64,3 @@ declare global {
64
64
  "xm-composer": XmComposer;
65
65
  }
66
66
  }
67
- export {};
@@ -36,6 +36,19 @@ import { LitElement, html, svg, nothing } from "lit";
36
36
  import { customElement, property, state } from "lit/decorators.js";
37
37
  // Side-effect import: registers <xm-button> for use in the toolbar.
38
38
  import "../button/index.js";
39
+ if (typeof document !== "undefined") {
40
+ for (const href of [
41
+ new URL("../composer/index.css", import.meta.url).href,
42
+ new URL("../primitives/index.css", import.meta.url).href,
43
+ ]) {
44
+ if (document.querySelector(`link[rel="stylesheet"][href="${href}"]`))
45
+ continue;
46
+ const link = document.createElement("link");
47
+ link.rel = "stylesheet";
48
+ link.href = href;
49
+ document.head.appendChild(link);
50
+ }
51
+ }
39
52
  /* ---------- attachment helpers (verbatim from JSX) ---------- */
40
53
  const STRIP_LIMIT = 10;
41
54
  const HARD_CAP = 50;
@@ -711,3 +724,4 @@ __decorate([
711
724
  XmComposer = __decorate([
712
725
  customElement("xm-composer")
713
726
  ], XmComposer);
727
+ export { XmComposer };