@copilotkit/web-components 1.62.2-canary.1783457132 → 1.62.3
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/README.md +1 -1
- package/dist/index.d.cts +2 -2
- package/dist/index.d.mts +2 -2
- package/dist/index.umd.js +779 -277
- package/dist/index.umd.js.map +1 -1
- package/dist/threads-drawer/copilotkit-threads-drawer.cjs +422 -119
- package/dist/threads-drawer/copilotkit-threads-drawer.cjs.map +1 -1
- package/dist/threads-drawer/copilotkit-threads-drawer.d.cts +127 -13
- package/dist/threads-drawer/copilotkit-threads-drawer.d.cts.map +1 -1
- package/dist/threads-drawer/copilotkit-threads-drawer.d.mts +127 -13
- package/dist/threads-drawer/copilotkit-threads-drawer.d.mts.map +1 -1
- package/dist/threads-drawer/copilotkit-threads-drawer.mjs +422 -119
- package/dist/threads-drawer/copilotkit-threads-drawer.mjs.map +1 -1
- package/dist/threads-drawer/index.d.cts +2 -2
- package/dist/threads-drawer/index.d.mts +2 -2
- package/dist/threads-drawer/styles.cjs +357 -156
- package/dist/threads-drawer/styles.cjs.map +1 -1
- package/dist/threads-drawer/styles.d.cts.map +1 -1
- package/dist/threads-drawer/styles.d.mts.map +1 -1
- package/dist/threads-drawer/styles.mjs +357 -156
- package/dist/threads-drawer/styles.mjs.map +1 -1
- package/dist/threads-drawer/types.d.cts +6 -1
- package/dist/threads-drawer/types.d.cts.map +1 -1
- package/dist/threads-drawer/types.d.mts +6 -1
- package/dist/threads-drawer/types.d.mts.map +1 -1
- package/package.json +1 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"styles.mjs","names":[],"sources":["../../src/threads-drawer/styles.ts"],"sourcesContent":["import { css, unsafeCSS } from \"lit\";\nimport { GENERATED_DRAWER_TOKEN_DEFAULTS } from \"./generated-tokens\";\n\n/**\n * Wraps a generated token default value so it can be safely interpolated into a\n * lit `css` template. Values come from the checked-in generated tokens file\n * (derived from react-core), never from user input, so `unsafeCSS` is safe\n * here.\n */\nconst tok = (value: string) => unsafeCSS(value);\nconst T = GENERATED_DRAWER_TOKEN_DEFAULTS;\n\n/**\n * Self-contained shadow-DOM styles for `<copilotkit-threads-drawer>`.\n *\n * Authoring rules baked in here:\n * - Every visual value is a `var(--cpk-drawer-<token>, <built default>)`. The\n * built defaults come from {@link GENERATED_DRAWER_TOKEN_DEFAULTS}, derived\n * from react-core's canonical theme at build time (anti-drift). Consumers\n * override by setting `--cpk-drawer-*` from the light DOM — CSS custom\n * properties pierce the shadow boundary by design.\n * - Inherited properties (font, color, line-height) are RE-PINNED on `:host`\n * so a hostile host stylesheet (`all: unset`, `* { ... !important }`,\n * Tailwind preflight) cannot leak into or strip styling from the element.\n * - Structural nodes expose `::part(...)` hooks for fine-grained theming.\n *\n * Token fallbacks are interpolated as literals (not runtime-read) so the CSS is\n * static and ships compiled.\n */\nexport const drawerStyles = css`\n :host {\n /* Re-pin inheritable properties to close inheritance leaks from hostile\n host CSS. These are the only properties that cross the shadow boundary\n via inheritance, so we hard-set them at the root. */\n all: initial;\n display: block;\n height: 100%;\n box-sizing: border-box;\n font-family:\n var(--cpk-drawer-font-family, ui-sans-serif, system-ui, sans-serif);\n font-size: var(--cpk-drawer-font-size, 14px);\n line-height: var(--cpk-drawer-line-height, 1.4);\n color: var(--cpk-drawer-fg, var(--foreground, ${tok(T.fg)}));\n\n /* Three-level token resolution, highest priority first:\n 1. explicit per-token override (--cpk-drawer-*),\n 2. the host app's theme variable (--background/--card/… — the standard\n react-core/shadcn names), so the drawer follows the host's light/dark\n theme by inheritance (custom properties are NOT reset by all:initial),\n 3. the built-in light default derived from react-core at build time, so a\n host with no theme still renders correctly (self-contained). */\n --_bg: var(--cpk-drawer-bg, var(--background, ${tok(T.bg)}));\n --_surface: var(--cpk-drawer-surface, var(--card, ${tok(T.surface)}));\n --_surface-fg: var(\n --cpk-drawer-surface-fg,\n var(--card-foreground, ${tok(T[\"surface-fg\"])})\n );\n --_muted: var(--cpk-drawer-muted, var(--muted, ${tok(T.muted)}));\n --_muted-fg: var(\n --cpk-drawer-muted-fg,\n var(--muted-foreground, ${tok(T[\"muted-fg\"])})\n );\n --_accent: var(--cpk-drawer-accent, var(--accent, ${tok(T.accent)}));\n --_accent-fg: var(\n --cpk-drawer-accent-fg,\n var(--accent-foreground, ${tok(T[\"accent-fg\"])})\n );\n --_primary: var(--cpk-drawer-primary, var(--primary, ${tok(T.primary)}));\n --_primary-fg: var(\n --cpk-drawer-primary-fg,\n var(--primary-foreground, ${tok(T[\"primary-fg\"])})\n );\n --_danger: var(--cpk-drawer-danger, var(--destructive, ${tok(T.danger)}));\n --_border: var(--cpk-drawer-border, var(--border, ${tok(T.border)}));\n --_ring: var(--cpk-drawer-ring, var(--ring, ${tok(T.ring)}));\n --_radius: var(--cpk-drawer-radius, var(--radius, ${tok(T.radius)}));\n --_width: var(--cpk-drawer-width, 320px);\n --_rail-width: var(--cpk-drawer-rail-width, 56px);\n }\n\n :host([hidden]) {\n display: none;\n }\n\n * {\n box-sizing: border-box;\n }\n\n .root {\n display: flex;\n flex-direction: column;\n height: 100%;\n width: var(--_width);\n background: var(--_bg);\n border-right: 1px solid var(--_border);\n overflow: hidden;\n transition: width 0.2s ease;\n /* Positioning context for the confirm-delete dialog's absolutely-positioned\n backdrop (see .dialog-backdrop). Without this the backdrop's inset:0\n resolves against the initial containing block (the viewport) and its\n low z-index competes in the light-DOM root stacking context, so on\n desktop the dialog escapes the drawer column and paints UNDER the chat\n input (which sits in a sibling column). Anchoring here confines the\n modal to the drawer, where its z-index only needs to beat the rows.\n The mobile path already establishes its own context via position:fixed. */\n position: relative;\n }\n\n .root.collapsed {\n width: var(--_rail-width);\n }\n\n /* Mobile: off-canvas overlay (modal pattern). */\n .root.mobile {\n position: fixed;\n inset: 0 auto 0 0;\n z-index: 1000;\n width: min(var(--_width), 85vw);\n transform: translateX(-100%);\n transition: transform 0.2s ease;\n box-shadow: 0 0 0 100vmax transparent;\n }\n\n .root.mobile.open {\n transform: translateX(0);\n }\n\n .backdrop {\n position: fixed;\n inset: 0;\n z-index: 999;\n background: rgba(0, 0, 0, 0.4);\n border: 0;\n padding: 0;\n margin: 0;\n cursor: pointer;\n }\n\n /* Mobile-only floating affordance to OPEN the off-canvas drawer. Rendered by\n the element itself so phones always have a way in with no host wiring. */\n .launcher {\n position: fixed;\n z-index: 998;\n /* Position is themeable so a host can line the launcher up with its own\n header controls (e.g. vertically centering it on a toggle group). */\n top: var(--cpk-drawer-launcher-top, 12px);\n left: var(--cpk-drawer-launcher-left, 12px);\n display: inline-flex;\n align-items: center;\n justify-content: center;\n width: 40px;\n height: 40px;\n border-radius: 999px;\n border: 1px solid var(--_border);\n background: var(--_surface);\n color: var(--_surface-fg);\n cursor: pointer;\n box-shadow: 0 2px 8px rgb(0 0 0 / 0.12);\n }\n\n .launcher-icon {\n width: 18px;\n height: 18px;\n display: block;\n }\n\n .header {\n display: flex;\n align-items: center;\n justify-content: space-between;\n gap: 8px;\n padding: 12px;\n border-bottom: 1px solid var(--_border);\n }\n\n .filters {\n display: flex;\n gap: 4px;\n padding: 8px 12px;\n }\n\n .filter-btn {\n flex: 1;\n padding: 6px 10px;\n border: 1px solid var(--_border);\n border-radius: var(--_radius);\n background: var(--_bg);\n color: var(--_muted-fg);\n cursor: pointer;\n font: inherit;\n }\n\n .filter-btn[aria-pressed=\"true\"] {\n background: var(--_accent);\n color: var(--_accent-fg);\n border-color: var(--_ring);\n }\n\n .list {\n flex: 1;\n min-height: 0;\n overflow-y: auto;\n padding: 8px 12px;\n margin: 0;\n list-style: none;\n display: flex;\n flex-direction: column;\n gap: 4px;\n }\n\n .row {\n display: flex;\n align-items: center;\n gap: 8px;\n padding: 8px 10px;\n border-radius: var(--_radius);\n cursor: pointer;\n background: transparent;\n color: inherit;\n border: 1px solid transparent;\n opacity: 0;\n transform: translateY(4px);\n animation: cpk-drawer-row-in 0.18s ease forwards;\n /* Positioned so the hovered row can be lifted above later rows (below). */\n position: relative;\n }\n\n /* The entry animation leaves each row with a (non-none) transform, making it\n its own stacking context — which would paint the name tooltip UNDER the\n following rows (their text bled through the bubble). Lifting the hovered\n row's z-index re-floats its tooltip above the rows beneath it. */\n .row.name-clipped:hover {\n z-index: 2;\n }\n\n @keyframes cpk-drawer-row-in {\n to {\n opacity: 1;\n transform: translateY(0);\n }\n }\n\n .row.active {\n background: var(--_accent);\n color: var(--_accent-fg);\n border-color: var(--_ring);\n }\n\n .row.archived .row-name {\n color: var(--_muted-fg);\n }\n\n .row-name {\n /* The outer name element owns NO overflow clip so it can host the name\n tooltip pseudo-element; the inner .row-name-text does the ellipsis. */\n flex: 1;\n min-width: 0;\n position: relative;\n }\n\n .row-name-text {\n display: block;\n overflow: hidden;\n text-overflow: ellipsis;\n white-space: nowrap;\n }\n\n /* Name tooltip: matches the row-action tooltip (instant primary bubble with\n an arrow), shown ONLY when the name is clipped. Positioned below the name,\n wrapping within the drawer width (a long name can't fit one line). */\n .row-name.name-clipped[data-tooltip]:hover::after {\n content: attr(data-tooltip);\n position: absolute;\n left: 0;\n top: calc(100% + 6px);\n white-space: normal;\n max-width: 240px;\n background: var(--_primary);\n color: var(--_primary-fg);\n border-radius: 6px;\n padding: 4px 8px;\n font-size: 12px;\n line-height: 1.4;\n box-shadow: 0 4px 12px rgb(0 0 0 / 0.18);\n pointer-events: none;\n z-index: 20;\n }\n\n .row-name.name-clipped[data-tooltip]:hover::before {\n content: \"\";\n position: absolute;\n left: 10px;\n top: calc(100% + 1.5px);\n transform: rotate(45deg);\n width: 7px;\n height: 7px;\n background: var(--_primary);\n border-radius: 1px;\n pointer-events: none;\n z-index: 21;\n }\n\n .row-name.placeholder {\n color: var(--_muted-fg);\n font-style: italic;\n }\n\n .row-name.revealed {\n animation: cpk-drawer-name-reveal 0.3s ease;\n }\n\n @keyframes cpk-drawer-name-reveal {\n from {\n opacity: 0.4;\n }\n to {\n opacity: 1;\n }\n }\n\n .row-action {\n position: relative;\n display: inline-flex;\n align-items: center;\n justify-content: center;\n flex: none;\n border: 0;\n background: transparent;\n color: var(--_muted-fg);\n cursor: pointer;\n font: inherit;\n padding: 5px;\n border-radius: 6px;\n }\n\n /* Instant tooltip (matches the react components' delayDuration:0) styled to\n match the CPK standard tooltip: a solid primary-colored bubble with\n primary-foreground text, rounded corners, no border, and a small arrow —\n NOT a surface/bordered box (which reads as a button). Rendered to the LEFT\n of the action so the list's vertical overflow never clips it; the native\n \\`title\\` tooltip is avoided because its show-delay is browser-fixed (~1.5s)\n and cannot be tuned. */\n .row-action[data-tooltip]:hover::after,\n .row-action[data-tooltip]:focus-visible::after {\n content: attr(data-tooltip);\n position: absolute;\n right: calc(100% + 8px);\n top: 50%;\n transform: translateY(-50%);\n white-space: nowrap;\n background: var(--_primary);\n color: var(--_primary-fg);\n border-radius: 6px;\n padding: 4px 8px;\n font-size: 12px;\n line-height: 1.4;\n box-shadow: 0 4px 12px rgb(0 0 0 / 0.18);\n pointer-events: none;\n z-index: 20;\n }\n\n /* Arrow: a small rotated square at the bubble's right edge, pointing at the\n action — same primary fill as the bubble. */\n .row-action[data-tooltip]:hover::before,\n .row-action[data-tooltip]:focus-visible::before {\n content: \"\";\n position: absolute;\n right: calc(100% + 4.5px);\n top: 50%;\n transform: translateY(-50%) rotate(45deg);\n width: 7px;\n height: 7px;\n background: var(--_primary);\n border-radius: 1px;\n pointer-events: none;\n z-index: 21;\n }\n\n /* While the delete-confirmation dialog is open, suppress row-action tooltips:\n the clicked trash button keeps :focus-visible (and may stay hovered), which\n would otherwise leave its \"Delete\" tooltip floating over the dialog. */\n .root.confirming .row-action[data-tooltip]:hover::after,\n .root.confirming .row-action[data-tooltip]:focus-visible::after,\n .root.confirming .row-action[data-tooltip]:hover::before,\n .root.confirming .row-action[data-tooltip]:focus-visible::before {\n content: none;\n display: none;\n }\n\n .row-action:hover,\n .row-action:focus-visible {\n background: var(--_muted);\n color: inherit;\n }\n\n .row-action.danger:hover,\n .row-action.danger:focus-visible {\n color: var(--_danger);\n }\n\n .row-action-icon {\n width: 15px;\n height: 15px;\n display: block;\n }\n\n button.primary {\n background: var(--_primary);\n color: var(--_primary-fg);\n border: 0;\n border-radius: var(--_radius);\n padding: 8px 12px;\n cursor: pointer;\n font: inherit;\n }\n\n .state {\n padding: 24px 16px;\n text-align: center;\n color: var(--_muted-fg);\n }\n\n .state.error {\n color: var(--_danger);\n }\n\n .fetch-more-error {\n padding: 8px 12px;\n text-align: center;\n color: var(--_danger);\n font-size: 0.9em;\n }\n\n .load-more {\n display: block;\n width: 100%;\n padding: 8px 12px;\n background: none;\n border: none;\n color: var(--_muted-fg);\n font: inherit;\n font-size: 0.9em;\n cursor: pointer;\n }\n\n .load-more:hover,\n .load-more:focus-visible {\n color: var(--_surface-fg);\n background: var(--_muted);\n }\n\n .licensed {\n padding: 24px 16px;\n text-align: center;\n display: flex;\n flex-direction: column;\n gap: 12px;\n }\n\n .memories {\n border-top: 1px solid var(--_border);\n padding: 8px 12px;\n }\n\n .memories[hidden] {\n display: none;\n }\n\n .dialog-backdrop {\n position: absolute;\n inset: 0;\n background: rgba(0, 0, 0, 0.3);\n display: flex;\n align-items: center;\n justify-content: center;\n z-index: 10;\n }\n\n .dialog {\n background: var(--_surface);\n color: var(--_surface-fg);\n border-radius: var(--_radius);\n padding: 16px;\n max-width: 80%;\n display: flex;\n flex-direction: column;\n gap: 12px;\n }\n\n .dialog-actions {\n display: flex;\n justify-content: flex-end;\n gap: 8px;\n }\n\n .footer {\n border-top: 1px solid var(--_border);\n padding: 12px;\n }\n\n .footer[hidden] {\n display: none;\n }\n`;\n"],"mappings":";;;;;;;;;;AASA,MAAM,OAAO,UAAkB,UAAU,MAAM;AAC/C,MAAM,IAAI;;;;;;;;;;;;;;;;;;AAmBV,MAAa,eAAe,GAAG;;;;;;;;;;;;;oDAaqB,IAAI,EAAE,GAAG,CAAC;;;;;;;;;oDASV,IAAI,EAAE,GAAG,CAAC;wDACN,IAAI,EAAE,QAAQ,CAAC;;;+BAGxC,IAAI,EAAE,cAAc,CAAC;;qDAEC,IAAI,EAAE,MAAM,CAAC;;;gCAGlC,IAAI,EAAE,YAAY,CAAC;;wDAEK,IAAI,EAAE,OAAO,CAAC;;;iCAGrC,IAAI,EAAE,aAAa,CAAC;;2DAEM,IAAI,EAAE,QAAQ,CAAC;;;kCAGxC,IAAI,EAAE,cAAc,CAAC;;6DAEM,IAAI,EAAE,OAAO,CAAC;wDACnB,IAAI,EAAE,OAAO,CAAC;kDACpB,IAAI,EAAE,KAAK,CAAC;wDACN,IAAI,EAAE,OAAO,CAAC"}
|
|
1
|
+
{"version":3,"file":"styles.mjs","names":[],"sources":["../../src/threads-drawer/styles.ts"],"sourcesContent":["import { css, unsafeCSS } from \"lit\";\nimport { GENERATED_DRAWER_TOKEN_DEFAULTS } from \"./generated-tokens\";\n\n/**\n * Wraps a generated token default value so it can be safely interpolated into a\n * lit `css` template. Values come from the checked-in generated tokens file\n * (derived from react-core), never from user input, so `unsafeCSS` is safe\n * here.\n */\nconst tok = (value: string) => unsafeCSS(value);\nconst T = GENERATED_DRAWER_TOKEN_DEFAULTS;\n\n/**\n * Self-contained shadow-DOM styles for `<copilotkit-threads-drawer>`.\n *\n * Authoring rules baked in here:\n * - Every visual value is a `var(--cpk-drawer-<token>, <built default>)`. The\n * built defaults come from {@link GENERATED_DRAWER_TOKEN_DEFAULTS}, derived\n * from react-core's canonical theme at build time (anti-drift). Consumers\n * override by setting `--cpk-drawer-*` from the light DOM — CSS custom\n * properties pierce the shadow boundary by design.\n * - Inherited properties (font, color, line-height) are RE-PINNED on `:host`\n * so a hostile host stylesheet (`all: unset`, `* { ... !important }`,\n * Tailwind preflight) cannot leak into or strip styling from the element.\n * - Structural nodes expose `::part(...)` hooks for fine-grained theming.\n *\n * Token fallbacks are interpolated as literals (not runtime-read) so the CSS is\n * static and ships compiled.\n */\nexport const drawerStyles = css`\n :host {\n /* Re-pin inheritable properties to close inheritance leaks from hostile\n host CSS. These are the only properties that cross the shadow boundary\n via inheritance, so we hard-set them at the root. */\n all: initial;\n display: block;\n height: 100%;\n box-sizing: border-box;\n font-family: var(\n --cpk-drawer-font-family,\n ui-sans-serif,\n system-ui,\n sans-serif\n );\n font-size: var(--cpk-drawer-font-size, 14px);\n line-height: var(--cpk-drawer-line-height, 1.4);\n color: var(--cpk-drawer-fg, var(--foreground, ${tok(T.fg)}));\n\n /* Three-level token resolution, highest priority first:\n 1. explicit per-token override (--cpk-drawer-*),\n 2. the host app's theme variable (--background/--card/… — the standard\n react-core/shadcn names), so the drawer follows the host's light/dark\n theme by inheritance (custom properties are NOT reset by all:initial),\n 3. the built-in light default derived from react-core at build time, so a\n host with no theme still renders correctly (self-contained). */\n --_bg: var(--cpk-drawer-bg, var(--background, ${tok(T.bg)}));\n --_surface: var(--cpk-drawer-surface, var(--card, ${tok(T.surface)}));\n --_surface-fg: var(\n --cpk-drawer-surface-fg,\n var(--card-foreground, ${tok(T[\"surface-fg\"])})\n );\n --_muted: var(--cpk-drawer-muted, var(--muted, ${tok(T.muted)}));\n --_muted-fg: var(\n --cpk-drawer-muted-fg,\n var(--muted-foreground, ${tok(T[\"muted-fg\"])})\n );\n --_accent: var(--cpk-drawer-accent, var(--accent, ${tok(T.accent)}));\n --_accent-fg: var(\n --cpk-drawer-accent-fg,\n var(--accent-foreground, ${tok(T[\"accent-fg\"])})\n );\n --_primary: var(--cpk-drawer-primary, var(--primary, ${tok(T.primary)}));\n --_primary-fg: var(\n --cpk-drawer-primary-fg,\n var(--primary-foreground, ${tok(T[\"primary-fg\"])})\n );\n --_danger: var(--cpk-drawer-danger, var(--destructive, ${tok(T.danger)}));\n --_border: var(--cpk-drawer-border, var(--border, ${tok(T.border)}));\n --_ring: var(--cpk-drawer-ring, var(--ring, ${tok(T.ring)}));\n --_indicator: var(--cpk-drawer-indicator, #5b94e4);\n /* Cap the corner radius at 4px (per designer) — themeable but never larger. */\n --_radius: min(\n var(--cpk-drawer-radius, var(--radius, ${tok(T.radius)})),\n 4px\n );\n --_width: var(--cpk-drawer-width, 320px);\n }\n\n :host([hidden]) {\n display: none;\n }\n\n * {\n box-sizing: border-box;\n }\n\n .root {\n display: flex;\n flex-direction: column;\n height: 100%;\n width: var(--_width);\n background: var(--_bg);\n border-right: 1px solid var(--_border);\n overflow: hidden;\n transition: width 0.2s ease;\n /* The confirm-delete dialog no longer needs a positioning context here: it\n is a native <dialog> opened with showModal(), which renders in the\n browser top layer independent of any stacking context (ENT-1051). No\n other direct child of .root is absolutely positioned (the filter and\n row-action popovers anchor to their own positioned ancestors), so .root\n stays static. The mobile path establishes its own context via\n position:fixed. */\n }\n\n /* Mobile: off-canvas overlay (modal pattern). */\n .root.mobile {\n position: fixed;\n inset: 0 auto 0 0;\n z-index: 1000;\n width: min(var(--_width), 85vw);\n transform: translateX(-100%);\n transition: transform 0.2s ease;\n box-shadow: 0 0 0 100vmax transparent;\n }\n\n .root.mobile.open {\n transform: translateX(0);\n }\n\n /* Desktop collapsed: the panel is replaced by the floating cluster, so remove\n it from the layout entirely. The host reclaims the reserved column via the\n --cpk-drawer-reserved-width:0px override the element sets on collapse. */\n .root.collapsed {\n display: none;\n }\n\n .backdrop {\n position: fixed;\n inset: 0;\n z-index: 999;\n background: rgba(0, 0, 0, 0.4);\n border: 0;\n padding: 0;\n margin: 0;\n cursor: pointer;\n }\n\n /* Floating launcher cluster (Figma \"closed\" mockup): a rounded surface card\n holding the sidebar toggle + a \"New Conversation\" (+) icon button. Rendered\n by the element itself in the mobile-closed AND desktop-collapsed states so\n there is always a way to reopen/expand — and to start a new conversation —\n with no host wiring. */\n .launcher-cluster {\n position: fixed;\n z-index: 998;\n /* Position is themeable so a host can line the cluster up with its own\n header controls (e.g. vertically centering it on a toggle group). */\n top: var(--cpk-drawer-launcher-top, 24px);\n left: var(--cpk-drawer-launcher-left, 24px);\n display: inline-flex;\n align-items: center;\n gap: 2px;\n padding: 6px;\n border-radius: var(--_radius);\n border: 1px solid var(--_border);\n background: var(--_surface);\n color: var(--_surface-fg);\n box-shadow: 0 2px 8px rgb(0 0 0 / 0.12);\n }\n\n .launcher {\n display: inline-flex;\n align-items: center;\n justify-content: center;\n width: 32px;\n height: 32px;\n padding: 6px;\n border: 0;\n border-radius: calc(var(--_radius) - 3px);\n background: transparent;\n color: var(--_surface-fg);\n cursor: pointer;\n font: inherit;\n }\n\n .launcher:hover,\n .launcher:focus-visible {\n background: var(--_muted);\n }\n\n .launcher .icon {\n width: 18px;\n height: 18px;\n display: block;\n }\n\n .header {\n display: flex;\n align-items: center;\n gap: 8px;\n padding: 12px;\n }\n\n /* The header is hidden until a consumer projects slot=\"header\" content\n (the redesign has no built-in header controls). Mirrors the memories/footer\n gating so an empty padded header bar never renders above the list. */\n .header[hidden] {\n display: none;\n }\n\n /* Optional consumer projection surface. When a consumer projects into\n slot=\"header\" it fills the header row. */\n .header slot[name=\"header\"] {\n display: flex;\n align-items: center;\n flex: 1;\n min-width: 0;\n }\n\n .icon-btn {\n position: relative;\n display: inline-flex;\n align-items: center;\n justify-content: center;\n width: 32px;\n height: 32px;\n padding: 6px;\n border: 0;\n border-radius: var(--_radius);\n background: transparent;\n color: var(--_muted-fg);\n cursor: pointer;\n font: inherit;\n }\n\n /* \"Filter applied\" indicator dot at the funnel's bottom-right (Figma archived\n view). Shown only when a non-default filter is active. */\n .filter-dot {\n position: absolute;\n right: 3px;\n bottom: 4px;\n width: 6px;\n height: 6px;\n border-radius: 50%;\n background: var(--_indicator);\n pointer-events: none;\n }\n\n .icon-btn:hover,\n .icon-btn:focus-visible {\n background: var(--_muted);\n color: inherit;\n }\n\n .icon-btn[aria-pressed=\"true\"] {\n background: var(--_muted);\n color: inherit;\n }\n\n .icon {\n width: 20px;\n height: 20px;\n display: block;\n }\n\n .new-conversation {\n display: flex;\n align-items: center;\n gap: 12px;\n /* No top margin by default: the header bar (the collapse toggle on desktop,\n the close button on mobile-open) sits above this row and supplies the top\n spacing — the header-hidden case re-adds it below. Horizontal geometry\n matches the list rows: the hover background insets 12px (like a row's\n highlight) and, with 10px inner padding, the icon's left edge lands at\n 22px — the same x as the thread names below (list padding 12 + row\n padding 10). */\n margin: 0 12px;\n padding: 8px 10px;\n border: 0;\n border-radius: var(--_radius);\n background: transparent;\n color: inherit;\n cursor: pointer;\n font: inherit;\n text-align: left;\n }\n\n /* Only when the header bar is fully hidden (collapsible=false AND no projected\n header content) is this row the first element — give it the top spacing the\n header would otherwise supply. */\n .header[hidden] + .new-conversation {\n margin-top: 12px;\n }\n\n .new-conversation:hover,\n .new-conversation:focus-visible {\n background: var(--_muted);\n }\n\n .new-conversation .icon {\n width: 16px;\n height: 16px;\n }\n\n .section-heading {\n position: relative;\n display: flex;\n align-items: center;\n justify-content: space-between;\n /* Match the list rows' content edge: \"Recent Conversations\" lands at 22px\n (margin 12 + padding 10), aligned with the thread names and the New\n Conversation icon; the funnel sits 22px from the right, over the kebabs. */\n padding: 8px 10px;\n margin: 0 12px;\n }\n\n .section-title {\n font-size: 11px;\n font-weight: 600;\n letter-spacing: 0.02em;\n color: var(--_muted-fg);\n text-transform: none;\n }\n\n .icon-btn.small {\n width: 24px;\n height: 24px;\n padding: 4px;\n }\n\n .icon-btn.small .icon {\n width: 16px;\n height: 16px;\n }\n\n .filter-popover {\n position: absolute;\n right: 0;\n top: calc(100% + 4px);\n z-index: 15;\n display: flex;\n flex-direction: column;\n min-width: 120px;\n padding: 4px;\n background: var(--_surface);\n color: var(--_surface-fg);\n border: 1px solid var(--_border);\n border-radius: var(--_radius);\n box-shadow: 0 4px 12px rgb(0 0 0 / 0.18);\n }\n\n .filter-opt {\n border: 0;\n background: transparent;\n color: inherit;\n cursor: pointer;\n font: inherit;\n text-align: left;\n padding: 6px 8px;\n border-radius: 4px;\n }\n\n .filter-opt:hover,\n .filter-opt:focus-visible {\n background: var(--_muted);\n }\n\n .filter-opt[aria-pressed=\"true\"] {\n font-weight: 600;\n }\n\n .list {\n flex: 1;\n min-height: 0;\n overflow-y: auto;\n padding: 8px 12px;\n margin: 0;\n list-style: none;\n display: flex;\n flex-direction: column;\n gap: 4px;\n }\n\n .row {\n display: flex;\n align-items: center;\n gap: 8px;\n padding: 8px 10px;\n border-radius: var(--_radius);\n cursor: pointer;\n background: transparent;\n color: inherit;\n border: 1px solid transparent;\n opacity: 0;\n transform: translateY(4px);\n animation: cpk-drawer-row-in 0.18s ease forwards;\n /* Positioned so the hovered row can be lifted above later rows (below). */\n position: relative;\n }\n\n /* Lift the interacted row above later rows so its kebab popover (which paints\n inside the row's own transform stacking context) is not clipped by / drawn\n under the rows below it. */\n .row:hover,\n .row:focus-within,\n .row.menu-open {\n z-index: 3;\n }\n\n /* While a kebab menu is open, the popover only covers part of the rows it\n overlaps, so the rest of the list would still respond to hover — revealing\n other rows' kebabs and (under a host \\`::part(row):hover\\` theme) painting a\n hover background \"through\"/around the open menu. Freeze pointer events on\n every OTHER row so the menu reads as a single focused surface. The owner\n row (\\`.menu-open\\`) and its popover stay interactive, and a pointerdown that\n lands on a frozen row still reaches the document handler that closes the\n menu, so click-away dismissal is preserved. */\n .list.menu-open .row:not(.menu-open) {\n pointer-events: none;\n }\n\n @keyframes cpk-drawer-row-in {\n to {\n opacity: 1;\n transform: translateY(0);\n }\n }\n\n .row.active {\n background: var(--_accent);\n color: var(--_accent-fg);\n /* No border on the selected row — the background change alone marks it\n (per designer). The base row keeps its 1px transparent border so the\n layout stays stable. */\n }\n\n .row.archived .row-name {\n color: var(--_muted-fg);\n font-style: italic;\n }\n\n .row-name {\n flex: 1;\n min-width: 0;\n }\n\n .row-name-text {\n display: block;\n overflow: hidden;\n text-overflow: ellipsis;\n white-space: nowrap;\n }\n\n .row-name.placeholder {\n color: var(--_muted-fg);\n font-style: italic;\n }\n\n .row-name.revealed {\n animation: cpk-drawer-name-reveal 0.3s ease;\n }\n\n @keyframes cpk-drawer-name-reveal {\n from {\n opacity: 0.4;\n }\n to {\n opacity: 1;\n }\n }\n\n .row-action {\n position: relative;\n display: inline-flex;\n align-items: center;\n justify-content: center;\n flex: none;\n border: 0;\n background: transparent;\n color: var(--_muted-fg);\n cursor: pointer;\n font: inherit;\n padding: 5px;\n border-radius: 4px;\n }\n\n .row-action:hover,\n .row-action:focus-visible {\n background: var(--_muted);\n color: inherit;\n }\n\n .row-action-icon {\n width: 15px;\n height: 15px;\n display: block;\n }\n\n /* Per-row kebab trigger: hidden at rest, revealed when the row is hovered,\n focused (keyboard), active (selected), or its menu is open. */\n .row-menu {\n flex: none;\n display: inline-flex;\n align-items: center;\n justify-content: center;\n width: 24px;\n height: 24px;\n padding: 4px;\n border: 0;\n border-radius: 4px;\n background: transparent;\n color: var(--_muted-fg);\n cursor: pointer;\n font: inherit;\n opacity: 0;\n }\n\n .row:hover .row-menu,\n .row:focus-within .row-menu,\n .row.active .row-menu,\n .row-menu[aria-expanded=\"true\"] {\n opacity: 1;\n }\n\n .row-menu:hover,\n .row-menu:focus-visible {\n background: var(--_muted);\n color: inherit;\n }\n\n .row-menu .icon {\n width: 16px;\n height: 16px;\n }\n\n .row-menu-popover {\n position: absolute;\n right: 8px;\n top: calc(100% - 4px);\n z-index: 16;\n display: flex;\n flex-direction: column;\n min-width: 140px;\n padding: 4px;\n background: var(--_surface);\n color: var(--_surface-fg);\n border: 1px solid var(--_border);\n border-radius: var(--_radius);\n box-shadow: 0 4px 12px rgb(0 0 0 / 0.18);\n }\n\n /* Rows in the lower portion of the list open their kebab menu UPWARD so it is\n not clipped by the list's overflow scroll box (.list is overflow-y:auto,\n which also clips the x-axis). Anchoring to the button's top edge via\n \\`bottom\\` keeps the popover inside the list's visible area for bottom rows. */\n .row.menu-up .row-menu-popover {\n top: auto;\n bottom: calc(100% - 4px);\n }\n\n .row-menu-item {\n display: flex;\n align-items: center;\n gap: 8px;\n border: 0;\n background: transparent;\n color: inherit;\n cursor: pointer;\n font: inherit;\n text-align: left;\n padding: 6px 8px;\n border-radius: 4px;\n }\n\n .row-menu-item:hover,\n .row-menu-item:focus-visible {\n background: var(--_muted);\n }\n\n .row-menu-item.danger:hover,\n .row-menu-item.danger:focus-visible {\n color: var(--_danger);\n }\n\n .row-menu-item .row-action-icon,\n .row-menu-item .icon {\n width: 15px;\n height: 15px;\n }\n\n button.primary {\n background: var(--_primary);\n color: var(--_primary-fg);\n border: 0;\n border-radius: var(--_radius);\n padding: 8px 12px;\n cursor: pointer;\n font: inherit;\n }\n\n .state {\n padding: 24px 16px;\n text-align: center;\n color: var(--_muted-fg);\n }\n\n .state.error {\n color: var(--_danger);\n }\n\n .fetch-more-error {\n padding: 8px 12px;\n text-align: center;\n color: var(--_danger);\n font-size: 0.9em;\n }\n\n .load-more {\n display: block;\n width: 100%;\n padding: 8px 12px;\n background: none;\n border: none;\n color: var(--_muted-fg);\n font: inherit;\n font-size: 0.9em;\n cursor: pointer;\n }\n\n .load-more:hover,\n .load-more:focus-visible {\n color: var(--_surface-fg);\n background: var(--_muted);\n }\n\n .licensed {\n padding: 24px 16px;\n text-align: center;\n display: flex;\n flex-direction: column;\n gap: 12px;\n }\n\n .memories {\n border-top: 1px solid var(--_border);\n padding: 8px 12px;\n }\n\n .memories[hidden] {\n display: none;\n }\n\n /* Confirm-delete dialog — a native <dialog> opened with showModal(). It lives\n in the browser TOP LAYER, so it can never be painted under other UI (the\n old CSS-positioned overlay was trapped in the drawer host's stacking\n context and appeared under the chat's welcome view — ENT-1051). The UA\n centers it in the viewport via margin:auto; we reset the UA chrome and\n apply the drawer's surface-card look. */\n .dialog {\n /* Top-layer (showModal) so it is never clipped, but centered over the DRAWER\n PANEL rather than the viewport: JS sets --confirm-cx/cy from the visible\n .root rect (falls back to viewport-center when unmeasured, e.g. jsdom).\n Width is capped to the drawer band so it reads as \"inside the drawer\". */\n margin: 0;\n position: fixed;\n left: var(--confirm-cx, 50%);\n top: var(--confirm-cy, 50%);\n transform: translate(-50%, -50%);\n border: 0;\n padding: 16px;\n width: max-content;\n max-width: min(80vw, calc(var(--_width) - 24px));\n background: var(--_surface);\n color: var(--_surface-fg);\n border-radius: var(--_radius);\n }\n\n /* Only lay out the card contents when open. A closed <dialog> is display:none\n via the UA stylesheet, and author display rules must not override that (or\n an empty box would leak), so the flex layout is scoped to [open]. */\n .dialog[open] {\n display: flex;\n flex-direction: column;\n gap: 12px;\n }\n\n .dialog::backdrop {\n background: rgba(0, 0, 0, 0.3);\n }\n\n .dialog-actions {\n display: flex;\n justify-content: flex-end;\n gap: 8px;\n }\n\n .footer {\n border-top: 1px solid var(--_border);\n padding: 12px;\n }\n\n .footer[hidden] {\n display: none;\n }\n`;\n"],"mappings":";;;;;;;;;;AASA,MAAM,OAAO,UAAkB,UAAU,MAAM;AAC/C,MAAM,IAAI;;;;;;;;;;;;;;;;;;AAmBV,MAAa,eAAe,GAAG;;;;;;;;;;;;;;;;;oDAiBqB,IAAI,EAAE,GAAG,CAAC;;;;;;;;;oDASV,IAAI,EAAE,GAAG,CAAC;wDACN,IAAI,EAAE,QAAQ,CAAC;;;+BAGxC,IAAI,EAAE,cAAc,CAAC;;qDAEC,IAAI,EAAE,MAAM,CAAC;;;gCAGlC,IAAI,EAAE,YAAY,CAAC;;wDAEK,IAAI,EAAE,OAAO,CAAC;;;iCAGrC,IAAI,EAAE,aAAa,CAAC;;2DAEM,IAAI,EAAE,QAAQ,CAAC;;;kCAGxC,IAAI,EAAE,cAAc,CAAC;;6DAEM,IAAI,EAAE,OAAO,CAAC;wDACnB,IAAI,EAAE,OAAO,CAAC;kDACpB,IAAI,EAAE,KAAK,CAAC;;;;+CAIf,IAAI,EAAE,OAAO,CAAC"}
|
|
@@ -54,6 +54,10 @@ interface FilterChangeDetail {
|
|
|
54
54
|
interface OpenChangeDetail {
|
|
55
55
|
readonly open: boolean;
|
|
56
56
|
}
|
|
57
|
+
/** `detail` for the `collapse-change` event (user-driven collapse toggle). */
|
|
58
|
+
interface CollapseChangeDetail {
|
|
59
|
+
readonly collapsed: boolean;
|
|
60
|
+
}
|
|
57
61
|
/**
|
|
58
62
|
* `detail` for the `retry` event, emitted from the actionable error state so a
|
|
59
63
|
* wrapper can back it with a core refetch. `scope` distinguishes an initial
|
|
@@ -88,10 +92,11 @@ interface CopilotKitThreadsDrawerEventMap {
|
|
|
88
92
|
"new-thread": CustomEvent<NewThreadDetail>;
|
|
89
93
|
"filter-change": CustomEvent<FilterChangeDetail>;
|
|
90
94
|
"open-change": CustomEvent<OpenChangeDetail>;
|
|
95
|
+
"collapse-change": CustomEvent<CollapseChangeDetail>;
|
|
91
96
|
retry: CustomEvent<RetryDetail>;
|
|
92
97
|
licensed: CustomEvent<LicensedDetail>;
|
|
93
98
|
"load-more": CustomEvent<LoadMoreDetail>;
|
|
94
99
|
}
|
|
95
100
|
//#endregion
|
|
96
|
-
export { ArchiveDetail, CopilotKitThreadsDrawerEventMap, DeleteDetail, DrawerFilter, DrawerThread, FilterChangeDetail, LicensedDetail, LoadMoreDetail, NewThreadDetail, OpenChangeDetail, RetryDetail, ThreadSelectedDetail, UnarchiveDetail };
|
|
101
|
+
export { ArchiveDetail, CollapseChangeDetail, CopilotKitThreadsDrawerEventMap, DeleteDetail, DrawerFilter, DrawerThread, FilterChangeDetail, LicensedDetail, LoadMoreDetail, NewThreadDetail, OpenChangeDetail, RetryDetail, ThreadSelectedDetail, UnarchiveDetail };
|
|
97
102
|
//# sourceMappingURL=types.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types.d.cts","names":[],"sources":["../../src/threads-drawer/types.ts"],"mappings":";;AAgBA;;;;;;;;;;;;AAgBA;;UAhBiB,YAAA;EAgBO;EAAA,SAdb,EAAA;EAiBM;EAAA,SAfN,IAAA;;WAEA,QAAA;EAcQ;EAAA,SAZR,SAAA;EAgBmB;EAAA,SAdnB,SAAA;EAeA;EAAA,SAbA,SAAA;AAAA;;KAIC,YAAA;;UAGK,oBAAA;EAAA,SACN,QAAA;AAAA;;UAIM,aAAA;EAAA,SACN,QAAA;AAAA;;UAIM,eAAA;EAAA,SACN,QAAA;AAAA;AAcX;AAAA,UAViB,YAAA;EAAA,SACN,QAAA;AAAA;;UAIM,kBAAA;EAAA,SACN,MAAA,EAAQ,YAAA;AAAA;;UAIF,gBAAA;EAAA,SACN,IAAA;AAAA
|
|
1
|
+
{"version":3,"file":"types.d.cts","names":[],"sources":["../../src/threads-drawer/types.ts"],"mappings":";;AAgBA;;;;;;;;;;;;AAgBA;;UAhBiB,YAAA;EAgBO;EAAA,SAdb,EAAA;EAiBM;EAAA,SAfN,IAAA;;WAEA,QAAA;EAcQ;EAAA,SAZR,SAAA;EAgBmB;EAAA,SAdnB,SAAA;EAeA;EAAA,SAbA,SAAA;AAAA;;KAIC,YAAA;;UAGK,oBAAA;EAAA,SACN,QAAA;AAAA;;UAIM,aAAA;EAAA,SACN,QAAA;AAAA;;UAIM,eAAA;EAAA,SACN,QAAA;AAAA;AAcX;AAAA,UAViB,YAAA;EAAA,SACN,QAAA;AAAA;;UAIM,kBAAA;EAAA,SACN,MAAA,EAAQ,YAAA;AAAA;;UAIF,gBAAA;EAAA,SACN,IAAA;AAAA;;UAIM,oBAAA;EAAA,SACN,SAAA;AAAA;;;;;AAqBX;UAbiB,WAAA;EAAA,SACN,KAAA;AAAA;;KAIC,eAAA,GAAkB,MAAA;;;;;AAoB9B;;UAZiB,cAAA;EAAA,SACN,UAAA;AAAA;;KAIC,cAAA,GAAiB,MAAA;;;;;;UAOZ,+BAAA;EACf,iBAAA,EAAmB,WAAA,CAAY,oBAAA;EAC/B,OAAA,EAAS,WAAA,CAAY,aAAA;EACrB,SAAA,EAAW,WAAA,CAAY,eAAA;EACvB,MAAA,EAAQ,WAAA,CAAY,YAAA;EACpB,YAAA,EAAc,WAAA,CAAY,eAAA;EAC1B,eAAA,EAAiB,WAAA,CAAY,kBAAA;EAC7B,aAAA,EAAe,WAAA,CAAY,gBAAA;EAC3B,iBAAA,EAAmB,WAAA,CAAY,oBAAA;EAC/B,KAAA,EAAO,WAAA,CAAY,WAAA;EACnB,QAAA,EAAU,WAAA,CAAY,cAAA;EACtB,WAAA,EAAa,WAAA,CAAY,cAAA;AAAA"}
|
|
@@ -54,6 +54,10 @@ interface FilterChangeDetail {
|
|
|
54
54
|
interface OpenChangeDetail {
|
|
55
55
|
readonly open: boolean;
|
|
56
56
|
}
|
|
57
|
+
/** `detail` for the `collapse-change` event (user-driven collapse toggle). */
|
|
58
|
+
interface CollapseChangeDetail {
|
|
59
|
+
readonly collapsed: boolean;
|
|
60
|
+
}
|
|
57
61
|
/**
|
|
58
62
|
* `detail` for the `retry` event, emitted from the actionable error state so a
|
|
59
63
|
* wrapper can back it with a core refetch. `scope` distinguishes an initial
|
|
@@ -88,10 +92,11 @@ interface CopilotKitThreadsDrawerEventMap {
|
|
|
88
92
|
"new-thread": CustomEvent<NewThreadDetail>;
|
|
89
93
|
"filter-change": CustomEvent<FilterChangeDetail>;
|
|
90
94
|
"open-change": CustomEvent<OpenChangeDetail>;
|
|
95
|
+
"collapse-change": CustomEvent<CollapseChangeDetail>;
|
|
91
96
|
retry: CustomEvent<RetryDetail>;
|
|
92
97
|
licensed: CustomEvent<LicensedDetail>;
|
|
93
98
|
"load-more": CustomEvent<LoadMoreDetail>;
|
|
94
99
|
}
|
|
95
100
|
//#endregion
|
|
96
|
-
export { ArchiveDetail, CopilotKitThreadsDrawerEventMap, DeleteDetail, DrawerFilter, DrawerThread, FilterChangeDetail, LicensedDetail, LoadMoreDetail, NewThreadDetail, OpenChangeDetail, RetryDetail, ThreadSelectedDetail, UnarchiveDetail };
|
|
101
|
+
export { ArchiveDetail, CollapseChangeDetail, CopilotKitThreadsDrawerEventMap, DeleteDetail, DrawerFilter, DrawerThread, FilterChangeDetail, LicensedDetail, LoadMoreDetail, NewThreadDetail, OpenChangeDetail, RetryDetail, ThreadSelectedDetail, UnarchiveDetail };
|
|
97
102
|
//# sourceMappingURL=types.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types.d.mts","names":[],"sources":["../../src/threads-drawer/types.ts"],"mappings":";;AAgBA;;;;;;;;;;;;AAgBA;;UAhBiB,YAAA;EAgBO;EAAA,SAdb,EAAA;EAiBM;EAAA,SAfN,IAAA;;WAEA,QAAA;EAcQ;EAAA,SAZR,SAAA;EAgBmB;EAAA,SAdnB,SAAA;EAeA;EAAA,SAbA,SAAA;AAAA;;KAIC,YAAA;;UAGK,oBAAA;EAAA,SACN,QAAA;AAAA;;UAIM,aAAA;EAAA,SACN,QAAA;AAAA;;UAIM,eAAA;EAAA,SACN,QAAA;AAAA;AAcX;AAAA,UAViB,YAAA;EAAA,SACN,QAAA;AAAA;;UAIM,kBAAA;EAAA,SACN,MAAA,EAAQ,YAAA;AAAA;;UAIF,gBAAA;EAAA,SACN,IAAA;AAAA
|
|
1
|
+
{"version":3,"file":"types.d.mts","names":[],"sources":["../../src/threads-drawer/types.ts"],"mappings":";;AAgBA;;;;;;;;;;;;AAgBA;;UAhBiB,YAAA;EAgBO;EAAA,SAdb,EAAA;EAiBM;EAAA,SAfN,IAAA;;WAEA,QAAA;EAcQ;EAAA,SAZR,SAAA;EAgBmB;EAAA,SAdnB,SAAA;EAeA;EAAA,SAbA,SAAA;AAAA;;KAIC,YAAA;;UAGK,oBAAA;EAAA,SACN,QAAA;AAAA;;UAIM,aAAA;EAAA,SACN,QAAA;AAAA;;UAIM,eAAA;EAAA,SACN,QAAA;AAAA;AAcX;AAAA,UAViB,YAAA;EAAA,SACN,QAAA;AAAA;;UAIM,kBAAA;EAAA,SACN,MAAA,EAAQ,YAAA;AAAA;;UAIF,gBAAA;EAAA,SACN,IAAA;AAAA;;UAIM,oBAAA;EAAA,SACN,SAAA;AAAA;;;;;AAqBX;UAbiB,WAAA;EAAA,SACN,KAAA;AAAA;;KAIC,eAAA,GAAkB,MAAA;;;;;AAoB9B;;UAZiB,cAAA;EAAA,SACN,UAAA;AAAA;;KAIC,cAAA,GAAiB,MAAA;;;;;;UAOZ,+BAAA;EACf,iBAAA,EAAmB,WAAA,CAAY,oBAAA;EAC/B,OAAA,EAAS,WAAA,CAAY,aAAA;EACrB,SAAA,EAAW,WAAA,CAAY,eAAA;EACvB,MAAA,EAAQ,WAAA,CAAY,YAAA;EACpB,YAAA,EAAc,WAAA,CAAY,eAAA;EAC1B,eAAA,EAAiB,WAAA,CAAY,kBAAA;EAC7B,aAAA,EAAe,WAAA,CAAY,gBAAA;EAC3B,iBAAA,EAAmB,WAAA,CAAY,oBAAA;EAC/B,KAAA,EAAO,WAAA,CAAY,WAAA;EACnB,QAAA,EAAU,WAAA,CAAY,cAAA;EACtB,WAAA,EAAa,WAAA,CAAY,cAAA;AAAA"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@copilotkit/web-components",
|
|
3
|
-
"version": "1.62.
|
|
3
|
+
"version": "1.62.3",
|
|
4
4
|
"private": false,
|
|
5
5
|
"description": "Framework-agnostic shadow-DOM web components for CopilotKit - includes the <copilotkit-threads-drawer> threads drawer element",
|
|
6
6
|
"keywords": [
|