@inkeep/cxkit-styled 0.5.114 → 0.5.115

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.
@@ -0,0 +1,58 @@
1
+ "use client";
2
+ import { cva as a } from "class-variance-authority";
3
+ import { input as t } from "./input.js";
4
+ const d = a("", {
5
+ variants: {
6
+ slot: {
7
+ control: [
8
+ t({ size: "md", variant: "outline" }),
9
+ "!h-auto min-h-10 py-1 px-4 flex flex-wrap items-center gap-1.5 rounded-md",
10
+ "data-[invalid]:border-[--error-border-color] data-[invalid]:shadow-[0_0_0_1px_var(--error-border-color)]"
11
+ ],
12
+ input: [
13
+ "flex-1 min-w-28 bg-transparent border-0 outline-none",
14
+ "placeholder:text-gray-500 dark:placeholder:text-gray-dark-500",
15
+ "data-[invalid]:placeholder-opacity-80"
16
+ ],
17
+ trigger: [
18
+ "flex items-center justify-center shrink-0 h-full",
19
+ "opacity-45",
20
+ "data-[disabled]:opacity-30 data-[disabled]:pointer-events-none"
21
+ ],
22
+ content: [
23
+ "relative p-1 z-dropdown max-h-96",
24
+ "overflow-auto rounded-md border",
25
+ "[scrollbar-width:thin] [--scrollbar-color:var(--color-gray-300)]",
26
+ "dark:[--scrollbar-color:var(--color-gray-dark-600)]",
27
+ "[scrollbar-color:var(--scrollbar-color)_transparent]",
28
+ "bg-white dark:bg-gray-dark-950 shadow-md",
29
+ "data-[state=open]:animate-fade-in data-[state=closed]:animate-fade-out"
30
+ ],
31
+ item: [
32
+ "hover:bg-gray-100 dark:hover:bg-gray-dark-800",
33
+ "data-[highlighted]:bg-gray-100 dark:data-[highlighted]:bg-gray-dark-800",
34
+ "relative flex w-full text-md cursor-pointer py-1.5",
35
+ "select-none outline-none pl-2 pr-8 rounded-md items-center",
36
+ "data-[disabled]:pointer-events-none data-[disabled]:opacity-50",
37
+ "data-[state=checked]:font-medium"
38
+ ],
39
+ itemText: ["flex-1 truncate"],
40
+ itemIndicator: [
41
+ "absolute right-2 flex h-3.5 w-3.5 items-center justify-center"
42
+ ],
43
+ selectedTags: [
44
+ "flex flex-row flex-wrap items-center gap-1.5 min-h-0 min-w-0",
45
+ /* flex-grow-0 so input flows after tags; flex-shrink allows tags to wrap instead of overflow */
46
+ "flex-grow-0 flex-shrink",
47
+ "[&_[data-part=tag]]:inline-flex [&_[data-part=tag]]:gap-1 [&_[data-part=tag]]:flex-shrink-0 [&_[data-part=tag]]:items-center [&_[data-part=tag]]:rounded-md [&_[data-part=tag]]:whitespace-nowrap",
48
+ "[&_[data-part=tag]]:bg-gray-100 [&_[data-part=tag]]:dark:bg-gray-dark-800 [&_[data-part=tag]]:text-gray-800 [&_[data-part=tag]]:dark:text-gray-dark-50",
49
+ "[&_[data-part=tag]]:text-sm [&_[data-part=tag]]:py-0.5 [&_[data-part=tag]]:pl-2 [&_[data-part=tag]]:pr-1",
50
+ "[&_[data-part=tag-clear]]:flex [&_[data-part=tag-clear]]:items-center [&_[data-part=tag-clear]]:justify-center [&_[data-part=tag-clear]]:w-5 [&_[data-part=tag-clear]]:h-5 [&_[data-part=tag-clear]]:rounded-md [&_[data-part=tag-clear]]:shrink-0",
51
+ "[&_[data-part=tag-clear]:hover]:bg-gray-200 [&_[data-part=tag-clear]:hover]:dark:bg-gray-dark-600 [&_[data-part=tag-clear]]:text-current [&_[data-part=tag-clear]]:cursor-pointer [&_[data-part=tag-clear]]:outline-none"
52
+ ]
53
+ }
54
+ }
55
+ });
56
+ export {
57
+ d as combobox
58
+ };
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("./ai-chat-page-wrapper.cjs"),o=require("./attachment.cjs"),r=require("./button.cjs"),c=require("./checkbox.cjs"),i=require("./citation.cjs"),n=require("./icon.cjs"),a=require("./input.cjs"),l=require("./link.cjs"),e=require("./markdown.cjs"),s=require("./modal.cjs"),u=require("./popover.cjs"),p=require("./scrollable.cjs"),g=require("./select.cjs"),b=require("./skeleton.cjs"),d=require("./widget-toggle.cjs");exports.aiChatPageWrapper=t.aiChatPageWrapper;exports.attachment=o.attachment;exports.button=r.button;exports.checkbox=c.checkbox;exports.citation=i.citation;exports.icon=n.icon;exports.input=a.input;exports.link=l.link;exports.code=e.code;exports.codeblock=e.codeblock;exports.heading=e.heading;exports.list=e.list;exports.sup=e.sup;exports.table=e.table;exports.modal=s.modal;exports.popover=u.popover;exports.scrollable=p.scrollable;exports.select=g.select;exports.skeleton=b.skeleton;exports.widgetToggle=d.widgetToggle;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const o=require("./ai-chat-page-wrapper.cjs"),t=require("./attachment.cjs"),r=require("./button.cjs"),c=require("./checkbox.cjs"),i=require("./citation.cjs"),n=require("./combobox.cjs"),a=require("./icon.cjs"),l=require("./input.cjs"),s=require("./link.cjs"),e=require("./markdown.cjs"),u=require("./modal.cjs"),b=require("./popover.cjs"),p=require("./scrollable.cjs"),g=require("./select.cjs"),q=require("./skeleton.cjs"),d=require("./widget-toggle.cjs");exports.aiChatPageWrapper=o.aiChatPageWrapper;exports.attachment=t.attachment;exports.button=r.button;exports.checkbox=c.checkbox;exports.citation=i.citation;exports.combobox=n.combobox;exports.icon=a.icon;exports.input=l.input;exports.link=s.link;exports.code=e.code;exports.codeblock=e.codeblock;exports.heading=e.heading;exports.list=e.list;exports.sup=e.sup;exports.table=e.table;exports.modal=u.modal;exports.popover=b.popover;exports.scrollable=p.scrollable;exports.select=g.select;exports.skeleton=q.skeleton;exports.widgetToggle=d.widgetToggle;
@@ -2,36 +2,38 @@ import { aiChatPageWrapper as e } from "./ai-chat-page-wrapper.js";
2
2
  import { attachment as p } from "./attachment.js";
3
3
  import { button as x } from "./button.js";
4
4
  import { checkbox as a } from "./checkbox.js";
5
- import { citation as c } from "./citation.js";
6
- import { icon as n } from "./icon.js";
7
- import { input as d } from "./input.js";
8
- import { link as s } from "./link.js";
9
- import { code as k, codeblock as u, heading as v, list as w, sup as C, table as P } from "./markdown.js";
10
- import { modal as W } from "./modal.js";
11
- import { popover as q } from "./popover.js";
12
- import { scrollable as z } from "./scrollable.js";
13
- import { select as B } from "./select.js";
14
- import { skeleton as E } from "./skeleton.js";
15
- import { widgetToggle as G } from "./widget-toggle.js";
5
+ import { citation as l } from "./citation.js";
6
+ import { combobox as n } from "./combobox.js";
7
+ import { icon as d } from "./icon.js";
8
+ import { input as s } from "./input.js";
9
+ import { link as k } from "./link.js";
10
+ import { code as v, codeblock as w, heading as C, list as P, sup as T, table as W } from "./markdown.js";
11
+ import { modal as q } from "./modal.js";
12
+ import { popover as z } from "./popover.js";
13
+ import { scrollable as B } from "./scrollable.js";
14
+ import { select as E } from "./select.js";
15
+ import { skeleton as G } from "./skeleton.js";
16
+ import { widgetToggle as I } from "./widget-toggle.js";
16
17
  export {
17
18
  e as aiChatPageWrapper,
18
19
  p as attachment,
19
20
  x as button,
20
21
  a as checkbox,
21
- c as citation,
22
- k as code,
23
- u as codeblock,
24
- v as heading,
25
- n as icon,
26
- d as input,
27
- s as link,
28
- w as list,
29
- W as modal,
30
- q as popover,
31
- z as scrollable,
32
- B as select,
33
- E as skeleton,
34
- C as sup,
35
- P as table,
36
- G as widgetToggle
22
+ l as citation,
23
+ v as code,
24
+ w as codeblock,
25
+ n as combobox,
26
+ C as heading,
27
+ d as icon,
28
+ s as input,
29
+ k as link,
30
+ P as list,
31
+ q as modal,
32
+ z as popover,
33
+ B as scrollable,
34
+ E as select,
35
+ G as skeleton,
36
+ T as sup,
37
+ W as table,
38
+ I as widgetToggle
37
39
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@inkeep/cxkit-styled",
3
- "version": "0.5.114",
3
+ "version": "0.5.115",
4
4
  "description": "",
5
5
  "license": "Inkeep, Inc. Customer License (IICL) v1.1",
6
6
  "homepage": "",
@@ -39,7 +39,7 @@
39
39
  "clsx": "2.1.1",
40
40
  "merge-anything": "5.1.7",
41
41
  "tailwind-merge": "2.6.0",
42
- "@inkeep/cxkit-primitives": "0.5.114"
42
+ "@inkeep/cxkit-primitives": "0.5.115"
43
43
  },
44
44
  "devDependencies": {
45
45
  "@biomejs/biome": "1.9.4",
@@ -59,8 +59,8 @@
59
59
  "typescript": "5.7.3",
60
60
  "vite": "5.4.11",
61
61
  "vite-plugin-dts": "4.4.0",
62
- "@inkeep/cxkit-theme": "0.5.114",
63
- "@inkeep/cxkit-types": "0.5.114"
62
+ "@inkeep/cxkit-theme": "0.5.115",
63
+ "@inkeep/cxkit-types": "0.5.115"
64
64
  },
65
65
  "module": "dist/index.js",
66
66
  "types": "dist/index.d.ts",