@alexgorbatchev/shadcn 0.0.186 → 0.0.188
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/dist/{chunk-zydasmhv.js → chunk-6ja4g9vr.js} +1 -1
- package/dist/{chunk-ensvs5mj.js → chunk-70qeqwmv.js} +1 -1
- package/dist/{chunk-b5s5y5wq.js → chunk-85hs5edn.js} +1 -1
- package/dist/{chunk-qp5yga27.js → chunk-9s09v1e3.js} +1 -1
- package/dist/{chunk-kgqe8gpb.js → chunk-afz40kxy.js} +2 -2
- package/dist/{chunk-jpywbx5p.js → chunk-atvnksbs.js} +1 -1
- package/dist/{chunk-x1tachv6.js → chunk-ds7zkqrv.js} +1 -1
- package/dist/{chunk-stkypf55.js → chunk-gzftvtrb.js} +2 -2
- package/dist/{chunk-bx9s8n7h.js → chunk-q9pa0srh.js} +2 -2
- package/dist/{chunk-2pjgj1pn.js → chunk-rwehk1b5.js} +1 -1
- package/dist/{chunk-8eckv8n0.js → chunk-wxsk0m64.js} +3 -3
- package/dist/{chunk-ks3c6erk.js → chunk-xkwecrsf.js} +1 -1
- package/dist/{chunk-cfqn6fxt.js → chunk-xzvjf97v.js} +3 -3
- package/dist/components/assistant-ui/elements/EditMessage.js +2 -2
- package/dist/components/assistant-ui/elements/ElicitationForm.js +4 -4
- package/dist/components/assistant-ui/elements/FeedbackDialog.js +2 -2
- package/dist/components/assistant-ui/elements/ModelPicker.js +3 -3
- package/dist/components/assistant-ui/elements/OptionList.js +2 -2
- package/dist/components/assistant-ui/elements/QuestionFlow.js +3 -3
- package/dist/components/assistant-ui/elements/ScheduleCard.js +2 -2
- package/dist/components/assistant-ui/elements/SettingsPanel.js +2 -2
- package/dist/components/assistant-ui/index.js +12 -12
- package/dist/components/data-grid/index.js +1 -1
- package/dist/components/event-calendar/index.js +2 -2
- package/dist/components/image-viewer/index.js +2 -2
- package/dist/components/input-otp/index.js +1 -1
- package/dist/components/json-render/index.js +5 -5
- package/dist/components/tree/index.js +1 -1
- package/dist/index.js +5 -5
- package/dist/prototype.js +1 -1
- package/dist/theme.css +18 -0
- package/package.json +1 -1
|
@@ -6,7 +6,7 @@ import {
|
|
|
6
6
|
} from "./chunk-vxvaaptq.js";
|
|
7
7
|
import {
|
|
8
8
|
OptionList2
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-9s09v1e3.js";
|
|
10
10
|
|
|
11
11
|
// src/components/assistant-ui/elements/QuestionFlow.tsx
|
|
12
12
|
import { useCallback, useId, useLayoutEffect, useRef, useState } from "react";
|
|
@@ -14,7 +14,7 @@ function Checkbox2({ analytics, density, className, ...props }) {
|
|
|
14
14
|
return /* @__PURE__ */ jsx(CheckboxPrimitive.Root, {
|
|
15
15
|
"data-density": density,
|
|
16
16
|
"data-slot": "checkbox",
|
|
17
|
-
className: (state) => cn2("peer relative flex size-4 shrink-0 items-center justify-center rounded-sm border border-input transition-colors outline-none group-has-disabled/field:opacity-50 group-has-[:focus-visible]/field-label:ring-0 group-has-[:focus-visible]/field-label:not-data-checked:border-input after:absolute after:-inset-x-3 after:-inset-y-2 focus-visible:border-ring focus-visible:ring-1 focus-visible:ring-ring data-disabled:cursor-not-allowed data-disabled:opacity-50 aria-invalid:border-destructive aria-invalid:ring-3 aria-invalid:ring-destructive aria-invalid:aria-checked:border-primary data-checked:border-primary data-checked:bg-primary data-checked:text-primary-foreground group-has-[:focus-visible]/field-label:data-checked:border-primary", typeof className === "function" ? className(state) : className),
|
|
17
|
+
className: (state) => cn2("peer relative flex size-4 shrink-0 items-center justify-center rounded-sm border border-input transition-colors outline-none group-has-disabled/field:opacity-50 group-has-[:focus-visible]/field-label:ring-0 group-has-[:focus-visible]/field-label:not-data-checked:border-input after:absolute after:-inset-x-3 after:-inset-y-2 focus-visible:border-ring focus-visible:ring-1 focus-visible:ring-ring data-disabled:cursor-not-allowed data-disabled:opacity-50 aria-invalid:border-destructive aria-invalid:ring-3 aria-invalid:ring-destructive aria-invalid:aria-checked:border-primary data-checked:border-primary data-checked:bg-primary data-checked:text-primary-foreground group-has-[:focus-visible]/field-label:data-checked:border-primary forced-colors:data-checked:border-[Highlight] forced-colors:data-checked:bg-[Highlight] forced-colors:data-checked:text-[HighlightText]", typeof className === "function" ? className(state) : className),
|
|
18
18
|
...props,
|
|
19
19
|
onCheckedChange: trackedOnCheckedChange,
|
|
20
20
|
children: /* @__PURE__ */ jsx(CheckboxPrimitive.Indicator, {
|
|
@@ -24,13 +24,13 @@ function RadioGroupItem2({ density, className, ...props }) {
|
|
|
24
24
|
return /* @__PURE__ */ jsx(RadioPrimitive.Root, {
|
|
25
25
|
"data-density": density,
|
|
26
26
|
"data-slot": "radio-group-item",
|
|
27
|
-
className: (state) => cn2("group/radio-group-item peer relative flex aspect-square size-4 shrink-0 rounded-full border border-input outline-none group-has-[:focus-visible]/field-label:ring-0 group-has-[:focus-visible]/field-label:not-data-checked:border-input after:absolute after:-inset-x-3 after:-inset-y-2 focus-visible:border-ring focus-visible:ring-1 focus-visible:ring-ring data-disabled:cursor-not-allowed data-disabled:opacity-50 aria-invalid:border-destructive aria-invalid:ring-3 aria-invalid:ring-destructive aria-invalid:aria-checked:border-primary data-checked:border-primary data-checked:bg-primary data-checked:text-primary-foreground group-has-[:focus-visible]/field-label:data-checked:border-primary", typeof className === "function" ? className(state) : className),
|
|
27
|
+
className: (state) => cn2("group/radio-group-item peer relative flex aspect-square size-4 shrink-0 rounded-full border border-input outline-none group-has-[:focus-visible]/field-label:ring-0 group-has-[:focus-visible]/field-label:not-data-checked:border-input after:absolute after:-inset-x-3 after:-inset-y-2 focus-visible:border-ring focus-visible:ring-1 focus-visible:ring-ring data-disabled:cursor-not-allowed data-disabled:opacity-50 aria-invalid:border-destructive aria-invalid:ring-3 aria-invalid:ring-destructive aria-invalid:aria-checked:border-primary data-checked:border-primary data-checked:bg-primary data-checked:text-primary-foreground group-has-[:focus-visible]/field-label:data-checked:border-primary forced-colors:data-checked:border-[Highlight] forced-colors:data-checked:bg-[Highlight]", typeof className === "function" ? className(state) : className),
|
|
28
28
|
...props,
|
|
29
29
|
children: /* @__PURE__ */ jsx(RadioPrimitive.Indicator, {
|
|
30
30
|
"data-slot": "radio-group-indicator",
|
|
31
31
|
className: "flex size-4 items-center justify-center",
|
|
32
32
|
children: /* @__PURE__ */ jsx("span", {
|
|
33
|
-
className: "absolute top-1/2 left-1/2 size-2 -translate-x-1/2 -translate-y-1/2 rounded-full bg-primary-foreground"
|
|
33
|
+
className: "absolute top-1/2 left-1/2 size-2 -translate-x-1/2 -translate-y-1/2 rounded-full bg-primary-foreground forced-colors:bg-[HighlightText]"
|
|
34
34
|
})
|
|
35
35
|
})
|
|
36
36
|
});
|
|
@@ -22,13 +22,13 @@ function Switch2({
|
|
|
22
22
|
"data-slot": "switch",
|
|
23
23
|
"data-size": size,
|
|
24
24
|
"data-indeterminate": indeterminate ? "" : undefined,
|
|
25
|
-
className: (state) => cn2("peer group/switch relative inline-flex shrink-0 items-center rounded-sm border border-input transition-colors outline-none group-has-[:focus-visible]/field-label:border-transparent group-has-[:focus-visible]/field-label:ring-0 after:absolute after:-inset-x-3 after:-inset-y-2 focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 focus-visible:ring-offset-background aria-invalid:border-destructive aria-invalid:ring-3 aria-invalid:ring-destructive data-[size=default]:h-6 data-[size=default]:w-10 data-[size=sm]:h-4 data-[size=sm]:w-7 data-checked:border-primary data-checked:bg-primary data-unchecked:bg-muted data-indeterminate:border-dashed data-indeterminate:border-muted-foreground data-indeterminate:bg-secondary data-disabled:cursor-not-allowed data-disabled:opacity-50", typeof className === "function" ? className(state) : className),
|
|
25
|
+
className: (state) => cn2("peer group/switch relative inline-flex shrink-0 items-center rounded-sm border border-input transition-colors outline-none group-has-[:focus-visible]/field-label:border-transparent group-has-[:focus-visible]/field-label:ring-0 after:absolute after:-inset-x-3 after:-inset-y-2 focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 focus-visible:ring-offset-background aria-invalid:border-destructive aria-invalid:ring-3 aria-invalid:ring-destructive data-[size=default]:h-6 data-[size=default]:w-10 data-[size=sm]:h-4 data-[size=sm]:w-7 data-checked:border-primary data-checked:bg-primary data-unchecked:bg-muted data-indeterminate:border-dashed data-indeterminate:border-muted-foreground data-indeterminate:bg-secondary data-disabled:cursor-not-allowed data-disabled:opacity-50 forced-colors:data-checked:border-[Highlight] forced-colors:data-checked:bg-[Highlight]", typeof className === "function" ? className(state) : className),
|
|
26
26
|
...props,
|
|
27
27
|
onCheckedChange: trackedOnCheckedChange,
|
|
28
28
|
children: /* @__PURE__ */ jsx(SwitchPrimitive.Thumb, {
|
|
29
29
|
"data-slot": "switch-thumb",
|
|
30
30
|
"data-indeterminate": indeterminate ? "" : undefined,
|
|
31
|
-
className: "pointer-events-none absolute top-1/2 start-0.5 block -translate-y-1/2 rounded-xs bg-foreground ring-0 transition-[inset-inline-start,background-color] group-data-[size=default]/switch:size-4 group-data-[size=sm]/switch:size-2.5 data-checked:bg-primary-foreground group-data-[size=default]/switch:data-checked:start-[calc(100%-1rem-2px)] group-data-[size=sm]/switch:data-checked:start-[calc(100%-0.625rem-2px)] data-indeterminate:start-1/2 data-indeterminate:h-1 data-indeterminate:-translate-x-1/2 data-indeterminate:bg-muted-foreground group-data-[size=default]/switch:data-indeterminate:w-3 group-data-[size=sm]/switch:data-indeterminate:w-2"
|
|
31
|
+
className: "pointer-events-none absolute top-1/2 start-0.5 block -translate-y-1/2 rounded-xs bg-foreground ring-0 forced-colors:bg-[CanvasText] forced-colors:data-checked:bg-[HighlightText] transition-[inset-inline-start,background-color] group-data-[size=default]/switch:size-4 group-data-[size=sm]/switch:size-2.5 data-checked:bg-primary-foreground group-data-[size=default]/switch:data-checked:start-[calc(100%-1rem-2px)] group-data-[size=sm]/switch:data-checked:start-[calc(100%-0.625rem-2px)] data-indeterminate:start-1/2 data-indeterminate:h-1 data-indeterminate:-translate-x-1/2 data-indeterminate:bg-muted-foreground group-data-[size=default]/switch:data-indeterminate:w-3 group-data-[size=sm]/switch:data-indeterminate:w-2"
|
|
32
32
|
})
|
|
33
33
|
});
|
|
34
34
|
}
|
|
@@ -12,11 +12,11 @@ import {
|
|
|
12
12
|
FieldContent2,
|
|
13
13
|
FieldLabel2,
|
|
14
14
|
FieldDescription2
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-rwehk1b5.js";
|
|
16
16
|
import {
|
|
17
17
|
RadioGroup2,
|
|
18
18
|
RadioGroupItem2
|
|
19
|
-
} from "./chunk-
|
|
19
|
+
} from "./chunk-afz40kxy.js";
|
|
20
20
|
|
|
21
21
|
// src/components/assistant-ui/elements/ModelPicker.tsx
|
|
22
22
|
import { useId } from "react";
|
|
@@ -79,7 +79,7 @@ function FieldLabel2({ density, className, selectable = false, onClick, ...props
|
|
|
79
79
|
"data-density": density,
|
|
80
80
|
"data-slot": "field-label",
|
|
81
81
|
"data-selectable": selectable || undefined,
|
|
82
|
-
className: cn2("group/field-label peer/field-label flex w-fit gap-2 leading-snug group-data-[disabled=true]/field:opacity-50 has-data-checked:border-primary/30 has-data-checked:bg-primary/5 has-[>[data-slot=field]]:rounded-sm has-[>[data-slot=field]]:border has-[>[data-slot=field]]:not-has-[:disabled,[data-disabled]]:hover:bg-muted/50 has-[>[data-slot=field]]:has-[:focus-visible]:border-ring has-[>[data-slot=field]]:has-[:focus-visible]:ring-3 has-[>[data-slot=field]]:has-[:focus-visible]:ring-ring *:data-[slot=field]:p-2.5", "has-[>[data-slot=field]]:w-full has-[>[data-slot=field]]:flex-col", selectable && "select-text", className),
|
|
82
|
+
className: cn2("group/field-label peer/field-label flex w-fit gap-2 leading-snug group-data-[disabled=true]/field:opacity-50 has-data-checked:border-primary/30 has-data-checked:bg-primary/5 forced-colors:has-data-checked:border-[Highlight] forced-colors:has-data-checked:outline forced-colors:has-data-checked:outline-[Highlight] has-[>[data-slot=field]]:rounded-sm has-[>[data-slot=field]]:border has-[>[data-slot=field]]:not-has-[:disabled,[data-disabled]]:hover:bg-muted/50 has-[>[data-slot=field]]:has-[:focus-visible]:border-ring has-[>[data-slot=field]]:has-[:focus-visible]:ring-3 has-[>[data-slot=field]]:has-[:focus-visible]:ring-ring *:data-[slot=field]:p-2.5", "has-[>[data-slot=field]]:w-full has-[>[data-slot=field]]:flex-col", selectable && "select-text", className),
|
|
83
83
|
onClick: (event) => {
|
|
84
84
|
if (selectable && hasSelectionWithin(event.currentTarget))
|
|
85
85
|
event.preventDefault();
|
|
@@ -71,13 +71,13 @@ import {
|
|
|
71
71
|
Field2,
|
|
72
72
|
FieldLabel2,
|
|
73
73
|
FieldDescription2
|
|
74
|
-
} from "./chunk-
|
|
74
|
+
} from "./chunk-rwehk1b5.js";
|
|
75
75
|
import {
|
|
76
76
|
Textarea2
|
|
77
77
|
} from "./chunk-vfgp11y4.js";
|
|
78
78
|
import {
|
|
79
79
|
RadioGroup2
|
|
80
|
-
} from "./chunk-
|
|
80
|
+
} from "./chunk-afz40kxy.js";
|
|
81
81
|
import {
|
|
82
82
|
Badge2
|
|
83
83
|
} from "./chunk-cgj3ade2.js";
|
|
@@ -112,7 +112,7 @@ import {
|
|
|
112
112
|
} from "./chunk-4e96tpw0.js";
|
|
113
113
|
import {
|
|
114
114
|
Checkbox2
|
|
115
|
-
} from "./chunk-
|
|
115
|
+
} from "./chunk-85hs5edn.js";
|
|
116
116
|
import {
|
|
117
117
|
Select2,
|
|
118
118
|
SelectGroup2,
|
|
@@ -13,11 +13,11 @@ import {
|
|
|
13
13
|
FieldGroup2,
|
|
14
14
|
Field2,
|
|
15
15
|
FieldLabel2
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-rwehk1b5.js";
|
|
17
17
|
import {
|
|
18
18
|
RadioGroup2,
|
|
19
19
|
RadioGroupItem2
|
|
20
|
-
} from "./chunk-
|
|
20
|
+
} from "./chunk-afz40kxy.js";
|
|
21
21
|
import {
|
|
22
22
|
Card2,
|
|
23
23
|
CardHeader2,
|
|
@@ -28,7 +28,7 @@ import {
|
|
|
28
28
|
} from "./chunk-jc3cbwyg.js";
|
|
29
29
|
import {
|
|
30
30
|
Switch2
|
|
31
|
-
} from "./chunk-
|
|
31
|
+
} from "./chunk-gzftvtrb.js";
|
|
32
32
|
import {
|
|
33
33
|
useReceiptFocus
|
|
34
34
|
} from "./chunk-vxvaaptq.js";
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import {
|
|
2
2
|
EditMessage2
|
|
3
|
-
} from "../../../chunk-
|
|
3
|
+
} from "../../../chunk-xkwecrsf.js";
|
|
4
4
|
import"../../../chunk-vxvaaptq.js";
|
|
5
|
-
import"../../../chunk-
|
|
5
|
+
import"../../../chunk-rwehk1b5.js";
|
|
6
6
|
import"../../../chunk-jc3cbwyg.js";
|
|
7
7
|
import"../../../chunk-4m2x9jfb.js";
|
|
8
8
|
import"../../../chunk-vfgp11y4.js";
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
2
|
ElicitationForm2
|
|
3
|
-
} from "../../../chunk-
|
|
3
|
+
} from "../../../chunk-xzvjf97v.js";
|
|
4
4
|
import"../../../chunk-vxvaaptq.js";
|
|
5
|
-
import"../../../chunk-
|
|
6
|
-
import"../../../chunk-
|
|
7
|
-
import"../../../chunk-
|
|
5
|
+
import"../../../chunk-afz40kxy.js";
|
|
6
|
+
import"../../../chunk-gzftvtrb.js";
|
|
7
|
+
import"../../../chunk-rwehk1b5.js";
|
|
8
8
|
import"../../../chunk-jc3cbwyg.js";
|
|
9
9
|
import"../../../chunk-4m2x9jfb.js";
|
|
10
10
|
import"../../../chunk-t9ms87s9.js";
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import {
|
|
2
2
|
FeedbackDialog2
|
|
3
|
-
} from "../../../chunk-
|
|
3
|
+
} from "../../../chunk-70qeqwmv.js";
|
|
4
4
|
import"../../../chunk-3vme6asz.js";
|
|
5
|
-
import"../../../chunk-
|
|
5
|
+
import"../../../chunk-rwehk1b5.js";
|
|
6
6
|
import"../../../chunk-jc3cbwyg.js";
|
|
7
7
|
import"../../../chunk-4m2x9jfb.js";
|
|
8
8
|
import"../../../chunk-vfgp11y4.js";
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import {
|
|
2
2
|
ModelPicker2
|
|
3
|
-
} from "../../../chunk-
|
|
4
|
-
import"../../../chunk-
|
|
5
|
-
import"../../../chunk-
|
|
3
|
+
} from "../../../chunk-q9pa0srh.js";
|
|
4
|
+
import"../../../chunk-afz40kxy.js";
|
|
5
|
+
import"../../../chunk-rwehk1b5.js";
|
|
6
6
|
import"../../../chunk-jc3cbwyg.js";
|
|
7
7
|
import"../../../chunk-cgj3ade2.js";
|
|
8
8
|
import"../../../chunk-4m2x9jfb.js";
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
OptionList2
|
|
3
|
-
} from "../../../chunk-
|
|
3
|
+
} from "../../../chunk-9s09v1e3.js";
|
|
4
4
|
import"../../../chunk-8xk2zeg2.js";
|
|
5
5
|
import"../../../chunk-vxvaaptq.js";
|
|
6
|
-
import"../../../chunk-
|
|
6
|
+
import"../../../chunk-85hs5edn.js";
|
|
7
7
|
import"../../../chunk-t3p4dn1p.js";
|
|
8
8
|
import"../../../chunk-n63meq6q.js";
|
|
9
9
|
import"../../../chunk-x90xmrba.js";
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
2
|
QuestionFlow2
|
|
3
|
-
} from "../../../chunk-
|
|
4
|
-
import"../../../chunk-
|
|
3
|
+
} from "../../../chunk-6ja4g9vr.js";
|
|
4
|
+
import"../../../chunk-9s09v1e3.js";
|
|
5
5
|
import"../../../chunk-8xk2zeg2.js";
|
|
6
6
|
import"../../../chunk-vxvaaptq.js";
|
|
7
|
-
import"../../../chunk-
|
|
7
|
+
import"../../../chunk-85hs5edn.js";
|
|
8
8
|
import"../../../chunk-t3p4dn1p.js";
|
|
9
9
|
import"../../../chunk-n63meq6q.js";
|
|
10
10
|
import"../../../chunk-x90xmrba.js";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import {
|
|
2
2
|
ScheduleCard2
|
|
3
|
-
} from "../../../chunk-
|
|
4
|
-
import"../../../chunk-
|
|
3
|
+
} from "../../../chunk-ds7zkqrv.js";
|
|
4
|
+
import"../../../chunk-gzftvtrb.js";
|
|
5
5
|
import"../../../chunk-5mydsjp3.js";
|
|
6
6
|
import"../../../chunk-8ssktt4b.js";
|
|
7
7
|
import"../../../chunk-7ny0vyek.js";
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import {
|
|
2
2
|
SettingsPanel2
|
|
3
|
-
} from "../../../chunk-
|
|
3
|
+
} from "../../../chunk-atvnksbs.js";
|
|
4
4
|
import"../../../chunk-nqvemk3q.js";
|
|
5
|
-
import"../../../chunk-
|
|
5
|
+
import"../../../chunk-gzftvtrb.js";
|
|
6
6
|
import"../../../chunk-vfgp11y4.js";
|
|
7
7
|
import"../../../chunk-7jpsybag.js";
|
|
8
8
|
import"../../../chunk-n63meq6q.js";
|
|
@@ -226,15 +226,15 @@ import {
|
|
|
226
226
|
} from "../../chunk-26csm20x.js";
|
|
227
227
|
import"../../chunk-4m2x9jfb.js";
|
|
228
228
|
import"../../chunk-52aadmkc.js";
|
|
229
|
-
import"../../chunk-
|
|
229
|
+
import"../../chunk-rwehk1b5.js";
|
|
230
230
|
import {
|
|
231
231
|
EditMessage2
|
|
232
|
-
} from "../../chunk-
|
|
233
|
-
import"../../chunk-
|
|
234
|
-
import"../../chunk-
|
|
232
|
+
} from "../../chunk-xkwecrsf.js";
|
|
233
|
+
import"../../chunk-afz40kxy.js";
|
|
234
|
+
import"../../chunk-gzftvtrb.js";
|
|
235
235
|
import {
|
|
236
236
|
ElicitationForm2
|
|
237
|
-
} from "../../chunk-
|
|
237
|
+
} from "../../chunk-xzvjf97v.js";
|
|
238
238
|
import"../../chunk-4e96tpw0.js";
|
|
239
239
|
import {
|
|
240
240
|
EmptyState2
|
|
@@ -262,7 +262,7 @@ import {
|
|
|
262
262
|
import"../../chunk-3vme6asz.js";
|
|
263
263
|
import {
|
|
264
264
|
FeedbackDialog2
|
|
265
|
-
} from "../../chunk-
|
|
265
|
+
} from "../../chunk-70qeqwmv.js";
|
|
266
266
|
import {
|
|
267
267
|
FileRoot2,
|
|
268
268
|
FileIconDisplay2,
|
|
@@ -373,7 +373,7 @@ import {
|
|
|
373
373
|
} from "../../chunk-6xaksr48.js";
|
|
374
374
|
import {
|
|
375
375
|
ModelPicker2
|
|
376
|
-
} from "../../chunk-
|
|
376
|
+
} from "../../chunk-q9pa0srh.js";
|
|
377
377
|
import"../../chunk-kp3jgjng.js";
|
|
378
378
|
import {
|
|
379
379
|
ModelSelectorRoot2
|
|
@@ -428,13 +428,13 @@ import {
|
|
|
428
428
|
OpenAILogo2
|
|
429
429
|
} from "../../chunk-pa07b92f.js";
|
|
430
430
|
import"../../chunk-t3p4dn1p.js";
|
|
431
|
-
import"../../chunk-
|
|
431
|
+
import"../../chunk-85hs5edn.js";
|
|
432
432
|
import {
|
|
433
433
|
OptionText2
|
|
434
434
|
} from "../../chunk-8xk2zeg2.js";
|
|
435
435
|
import {
|
|
436
436
|
OptionList2
|
|
437
|
-
} from "../../chunk-
|
|
437
|
+
} from "../../chunk-9s09v1e3.js";
|
|
438
438
|
import {
|
|
439
439
|
PermissionGrant2
|
|
440
440
|
} from "../../chunk-6djnvfb6.js";
|
|
@@ -443,7 +443,7 @@ import {
|
|
|
443
443
|
} from "../../chunk-yw6txv14.js";
|
|
444
444
|
import {
|
|
445
445
|
QuestionFlow2
|
|
446
|
-
} from "../../chunk-
|
|
446
|
+
} from "../../chunk-6ja4g9vr.js";
|
|
447
447
|
import {
|
|
448
448
|
QuotaBanner2
|
|
449
449
|
} from "../../chunk-8petembv.js";
|
|
@@ -499,7 +499,7 @@ import {
|
|
|
499
499
|
} from "../../chunk-x4rwh3pv.js";
|
|
500
500
|
import {
|
|
501
501
|
ScheduleCard2
|
|
502
|
-
} from "../../chunk-
|
|
502
|
+
} from "../../chunk-ds7zkqrv.js";
|
|
503
503
|
import {
|
|
504
504
|
ScoreBreakdown2
|
|
505
505
|
} from "../../chunk-048mry3a.js";
|
|
@@ -509,7 +509,7 @@ import {
|
|
|
509
509
|
import"../../chunk-nqvemk3q.js";
|
|
510
510
|
import {
|
|
511
511
|
SettingsPanel2
|
|
512
|
-
} from "../../chunk-
|
|
512
|
+
} from "../../chunk-atvnksbs.js";
|
|
513
513
|
import {
|
|
514
514
|
SharedConversation2
|
|
515
515
|
} from "../../chunk-pmez897k.js";
|
|
@@ -15,14 +15,14 @@ import {
|
|
|
15
15
|
FieldGroup2,
|
|
16
16
|
Field2,
|
|
17
17
|
FieldLabel2
|
|
18
|
-
} from "../../chunk-
|
|
18
|
+
} from "../../chunk-rwehk1b5.js";
|
|
19
19
|
import"../../chunk-7jpsybag.js";
|
|
20
20
|
import {
|
|
21
21
|
Input2
|
|
22
22
|
} from "../../chunk-t9ms87s9.js";
|
|
23
23
|
import {
|
|
24
24
|
Checkbox2
|
|
25
|
-
} from "../../chunk-
|
|
25
|
+
} from "../../chunk-85hs5edn.js";
|
|
26
26
|
import {
|
|
27
27
|
Spinner2
|
|
28
28
|
} from "../../chunk-t3p4dn1p.js";
|
|
@@ -27,7 +27,7 @@ import {
|
|
|
27
27
|
import {
|
|
28
28
|
Field2,
|
|
29
29
|
FieldLabel2
|
|
30
|
-
} from "../../chunk-
|
|
30
|
+
} from "../../chunk-rwehk1b5.js";
|
|
31
31
|
import {
|
|
32
32
|
NumberField2,
|
|
33
33
|
NumberFieldGroup2,
|
|
@@ -48,7 +48,7 @@ import {
|
|
|
48
48
|
} from "../../chunk-2d3npxat.js";
|
|
49
49
|
import {
|
|
50
50
|
Switch2
|
|
51
|
-
} from "../../chunk-
|
|
51
|
+
} from "../../chunk-gzftvtrb.js";
|
|
52
52
|
import"../../chunk-5mydsjp3.js";
|
|
53
53
|
|
|
54
54
|
// src/components/image-viewer/ImageViewer.tsx
|
|
@@ -26,7 +26,7 @@ import {
|
|
|
26
26
|
PaginationPrevious2,
|
|
27
27
|
PaginationNext2,
|
|
28
28
|
PaginationEllipsis2
|
|
29
|
-
} from "../../chunk-
|
|
29
|
+
} from "../../chunk-wxsk0m64.js";
|
|
30
30
|
import {
|
|
31
31
|
MenuPopup,
|
|
32
32
|
MenuItem2,
|
|
@@ -69,20 +69,20 @@ import {
|
|
|
69
69
|
import {
|
|
70
70
|
Field2,
|
|
71
71
|
FieldLabel2
|
|
72
|
-
} from "../../chunk-
|
|
72
|
+
} from "../../chunk-rwehk1b5.js";
|
|
73
73
|
import {
|
|
74
74
|
Slider2
|
|
75
75
|
} from "../../chunk-nqvemk3q.js";
|
|
76
76
|
import {
|
|
77
77
|
Switch2
|
|
78
|
-
} from "../../chunk-
|
|
78
|
+
} from "../../chunk-gzftvtrb.js";
|
|
79
79
|
import {
|
|
80
80
|
Textarea2
|
|
81
81
|
} from "../../chunk-vfgp11y4.js";
|
|
82
82
|
import {
|
|
83
83
|
RadioGroup2,
|
|
84
84
|
RadioGroupItem2
|
|
85
|
-
} from "../../chunk-
|
|
85
|
+
} from "../../chunk-afz40kxy.js";
|
|
86
86
|
import {
|
|
87
87
|
Badge2
|
|
88
88
|
} from "../../chunk-cgj3ade2.js";
|
|
@@ -104,7 +104,7 @@ import {
|
|
|
104
104
|
import"../../chunk-4e96tpw0.js";
|
|
105
105
|
import {
|
|
106
106
|
Checkbox2
|
|
107
|
-
} from "../../chunk-
|
|
107
|
+
} from "../../chunk-85hs5edn.js";
|
|
108
108
|
import {
|
|
109
109
|
Select2,
|
|
110
110
|
SelectValue2,
|
|
@@ -251,7 +251,7 @@ function TreeItem({
|
|
|
251
251
|
onDragStart: undefined
|
|
252
252
|
} : {},
|
|
253
253
|
style: { paddingInlineStart: `${item.getItemMeta().level * (item.getTree().getConfig().indent ?? 20) + 8}px` },
|
|
254
|
-
className: cn2("relative flex min-h-control min-w-0 cursor-default items-center gap-2 rounded-sm border border-transparent py-1 pr-2 text-sm outline-none pointer-coarse:min-h-11", isAriaDisabled ? "cursor-not-allowed focus-visible:outline-1 focus-visible:outline-ring/60 focus-visible:-outline-offset-1" : "hover:bg-accent focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-inset", (isSelected || isDropTarget || isInsideTarget) && (selectionStyle === "accent" && isSelected ? "border-primary bg-muted/60 font-medium text-foreground" : "bg-accent text-accent-foreground"), tone === "warning" && "before:pointer-events-none before:absolute before:inset-y-1 before:start-0 before:w-0.5 before:rounded-full before:bg-warning", isDimmed && "group/tree-item"),
|
|
254
|
+
className: cn2("relative flex min-h-control min-w-0 cursor-default items-center gap-2 rounded-sm border border-transparent py-1 pr-2 text-sm outline-none pointer-coarse:min-h-11", isAriaDisabled ? "cursor-not-allowed focus-visible:outline-1 focus-visible:outline-ring/60 focus-visible:-outline-offset-1" : "hover:bg-accent focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-inset", (isSelected || isDropTarget || isInsideTarget) && (selectionStyle === "accent" && isSelected ? "border-primary bg-muted/60 font-medium text-foreground" : "bg-accent text-accent-foreground"), isSelected && "forced-colors:bg-[Highlight] forced-colors:text-[HighlightText] forced-colors:forced-color-adjust-none forced-colors:[&_*]:text-[HighlightText]", tone === "warning" && "before:pointer-events-none before:absolute before:inset-y-1 before:start-0 before:w-0.5 before:rounded-full before:bg-warning", isDimmed && "group/tree-item"),
|
|
255
255
|
children: /* @__PURE__ */ jsxs(Fragment, {
|
|
256
256
|
children: [
|
|
257
257
|
item.isFolder() && expandOn === "disclosure" ? /* @__PURE__ */ jsx(Button2, {
|
package/dist/index.js
CHANGED
|
@@ -188,7 +188,7 @@ import {
|
|
|
188
188
|
DashboardLayout2,
|
|
189
189
|
BillingUsage2,
|
|
190
190
|
SelectionAction2
|
|
191
|
-
} from "./chunk-
|
|
191
|
+
} from "./chunk-wxsk0m64.js";
|
|
192
192
|
import {
|
|
193
193
|
statusDotVariants2,
|
|
194
194
|
StatusDot2
|
|
@@ -295,7 +295,7 @@ import {
|
|
|
295
295
|
import {
|
|
296
296
|
RadioGroup2,
|
|
297
297
|
RadioGroupItem2
|
|
298
|
-
} from "./chunk-
|
|
298
|
+
} from "./chunk-afz40kxy.js";
|
|
299
299
|
import {
|
|
300
300
|
toggleVariants2,
|
|
301
301
|
Toggle2,
|
|
@@ -304,14 +304,14 @@ import {
|
|
|
304
304
|
} from "./chunk-3vme6asz.js";
|
|
305
305
|
import {
|
|
306
306
|
Checkbox2
|
|
307
|
-
} from "./chunk-
|
|
307
|
+
} from "./chunk-85hs5edn.js";
|
|
308
308
|
import {
|
|
309
309
|
Kbd2,
|
|
310
310
|
KbdGroup2
|
|
311
311
|
} from "./chunk-yz1ft8hs.js";
|
|
312
312
|
import {
|
|
313
313
|
Switch2
|
|
314
|
-
} from "./chunk-
|
|
314
|
+
} from "./chunk-gzftvtrb.js";
|
|
315
315
|
import {
|
|
316
316
|
Progress2,
|
|
317
317
|
ProgressTrack2,
|
|
@@ -336,7 +336,7 @@ import {
|
|
|
336
336
|
FieldDescription2,
|
|
337
337
|
FieldSeparator2,
|
|
338
338
|
FieldError2
|
|
339
|
-
} from "./chunk-
|
|
339
|
+
} from "./chunk-rwehk1b5.js";
|
|
340
340
|
import {
|
|
341
341
|
Spinner2
|
|
342
342
|
} from "./chunk-t3p4dn1p.js";
|
package/dist/prototype.js
CHANGED
|
@@ -2051,7 +2051,7 @@ var program = new Command;
|
|
|
2051
2051
|
// package.json
|
|
2052
2052
|
var package_default = {
|
|
2053
2053
|
name: "@alexgorbatchev/shadcn",
|
|
2054
|
-
version: "0.0.
|
|
2054
|
+
version: "0.0.188",
|
|
2055
2055
|
description: "Sharp, monospace React components with compact, comfortable, and touch densities.",
|
|
2056
2056
|
license: "MIT",
|
|
2057
2057
|
repository: {
|
package/dist/theme.css
CHANGED
|
@@ -308,6 +308,15 @@
|
|
|
308
308
|
--sidebar-ring: oklch(0.708 0 0);
|
|
309
309
|
}
|
|
310
310
|
|
|
311
|
+
/* With Increase contrast (prefers-contrast: more), dividers and card and table borders take the input border colour,
|
|
312
|
+
at least 3:1 against the page in both schemes. */
|
|
313
|
+
@media (prefers-contrast: more) {
|
|
314
|
+
:root:not([data-theme-preset="shadcn"]),
|
|
315
|
+
[data-theme]:not([data-theme-preset="shadcn"]) {
|
|
316
|
+
--border: var(--input);
|
|
317
|
+
}
|
|
318
|
+
}
|
|
319
|
+
|
|
311
320
|
[data-density="comfortable"] {
|
|
312
321
|
--ag-text-xs: 11px;
|
|
313
322
|
--ag-control-text: 12px;
|
|
@@ -711,3 +720,12 @@
|
|
|
711
720
|
outline-offset: 0;
|
|
712
721
|
}
|
|
713
722
|
}
|
|
723
|
+
|
|
724
|
+
/* Forced colours (Windows contrast themes) drop box-shadow focus rings, so every keyboard focus gets a system outline.
|
|
725
|
+
Unlayered, so it wins over the outline-none utilities that hide the browser's own outline in normal themes. */
|
|
726
|
+
@media (forced-colors: active) {
|
|
727
|
+
:focus-visible {
|
|
728
|
+
outline: 2px solid Highlight;
|
|
729
|
+
outline-offset: -2px;
|
|
730
|
+
}
|
|
731
|
+
}
|