@alexgorbatchev/shadcn 0.0.83 → 0.0.84
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-hn4se2j1.js → chunk-6fj02yzp.js} +3 -3
- package/dist/{chunk-8fk1cene.js → chunk-afegpa2s.js} +1 -1
- package/dist/{chunk-nz2exxhn.js → chunk-bdsdkjcq.js} +1 -1
- package/dist/{chunk-wncennvw.js → chunk-fkxhe17e.js} +1 -1
- package/dist/{chunk-wg3g8pyt.js → chunk-fnqdw884.js} +1 -1
- package/dist/{chunk-gfrg1484.js → chunk-hyhr09xy.js} +1 -1
- package/dist/{chunk-4ak25cx4.js → chunk-j2tm6kjm.js} +2 -1
- package/dist/{chunk-29xw11s7.js → chunk-mjxhvwgg.js} +4 -4
- package/dist/{chunk-ghfmc1t4.js → chunk-s8qhybtb.js} +1 -1
- package/dist/{chunk-yeh4zh4b.js → chunk-tz7zjkw3.js} +1 -1
- package/dist/{chunk-84ezpzmn.js → chunk-w67bf59k.js} +1 -1
- package/dist/{chunk-ygmp2qax.js → chunk-wrm689qy.js} +8 -8
- package/dist/components/assistant-ui/elements/CommandPalette.js +2 -2
- package/dist/components/assistant-ui/elements/ModelSelector.js +8 -8
- package/dist/components/assistant-ui/elements/ModelSelectorContent.js +7 -7
- package/dist/components/assistant-ui/elements/ModelSelectorEmpty.js +2 -2
- package/dist/components/assistant-ui/elements/ModelSelectorFocusAnchor.js +2 -2
- package/dist/components/assistant-ui/elements/ModelSelectorGroup.js +2 -2
- package/dist/components/assistant-ui/elements/ModelSelectorItem.js +2 -2
- package/dist/components/assistant-ui/elements/ModelSelectorList.js +4 -4
- package/dist/components/assistant-ui/elements/ModelSelectorSearch.js +2 -2
- package/dist/components/assistant-ui/elements/ModelSelectorSeparator.js +2 -2
- package/dist/components/assistant-ui/index.js +11 -11
- package/dist/components/assistant-ui/native/ModelSelector.js +10 -10
- package/dist/components/assistant-ui/native/index.js +10 -10
- package/dist/components/command/Command.d.ts +3 -1
- package/dist/components/command/index.js +1 -1
- package/dist/prototype.js +1 -1
- package/llms/components/navigation/Command.md +1 -1
- package/package.json +1 -1
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import {
|
|
2
2
|
CommandList2,
|
|
3
3
|
CommandGroup2
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-j2tm6kjm.js";
|
|
5
5
|
import {
|
|
6
6
|
useModelSelectorContext
|
|
7
7
|
} from "./chunk-ydfx8r6d.js";
|
|
8
8
|
import {
|
|
9
9
|
ModelSelectorEmpty2
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-afegpa2s.js";
|
|
11
11
|
import {
|
|
12
12
|
ModelSelectorItem2
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-tz7zjkw3.js";
|
|
14
14
|
|
|
15
15
|
// src/components/assistant-ui/elements/ModelSelectorList.tsx
|
|
16
16
|
import { jsx, jsxs, Fragment } from "react/jsx-runtime";
|
|
@@ -205,6 +205,7 @@ function CommandItem2({
|
|
|
205
205
|
disabledReason,
|
|
206
206
|
onDisabledSelect,
|
|
207
207
|
ref,
|
|
208
|
+
touchTarget,
|
|
208
209
|
...props
|
|
209
210
|
}) {
|
|
210
211
|
const trackedOnSelect = useAnalyticsCallback("CommandItem", analytics, { name: "ui.activate" }, props.onSelect);
|
|
@@ -227,7 +228,7 @@ function CommandItem2({
|
|
|
227
228
|
ref: mergedRef,
|
|
228
229
|
"data-slot": "command-item",
|
|
229
230
|
"data-disabled-reason": disabledReason ? "" : undefined,
|
|
230
|
-
className: cn2("group/command-item relative flex min-h-control cursor-default items-center gap-control-gap px-control-x text-sm outline-none select-none data-[disabled=true]:pointer-events-none data-[disabled=true]:opacity-50 data-[selected=true]:bg-muted data-[selected=true]:text-foreground data-disabled-reason:flex-wrap data-disabled-reason:py-1 data-disabled-reason:data-[disabled=true]:pointer-events-auto data-disabled-reason:data-[disabled=true]:opacity-100 data-disabled-reason:data-[disabled=true]:text-muted-foreground [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg]:size-4", className),
|
|
231
|
+
className: cn2("group/command-item relative flex min-h-control cursor-default items-center gap-control-gap px-control-x text-sm outline-none select-none data-[disabled=true]:pointer-events-none data-[disabled=true]:opacity-50 data-[selected=true]:bg-muted data-[selected=true]:text-foreground data-disabled-reason:flex-wrap data-disabled-reason:py-1 data-disabled-reason:data-[disabled=true]:pointer-events-auto data-disabled-reason:data-[disabled=true]:opacity-100 data-disabled-reason:data-[disabled=true]:text-muted-foreground [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg]:size-4", touchTarget && "pointer-coarse:min-h-11", className),
|
|
231
232
|
...props,
|
|
232
233
|
disabled: Boolean(disabledReason) || props.disabled,
|
|
233
234
|
"aria-describedby": [props["aria-describedby"], disabledReason ? reasonId : undefined].filter(Boolean).join(" ") || undefined,
|
|
@@ -4,19 +4,19 @@ import {
|
|
|
4
4
|
} from "./chunk-bf8kbj33.js";
|
|
5
5
|
import {
|
|
6
6
|
Command2
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-j2tm6kjm.js";
|
|
8
8
|
import {
|
|
9
9
|
useModelSelectorContext
|
|
10
10
|
} from "./chunk-ydfx8r6d.js";
|
|
11
11
|
import {
|
|
12
12
|
ModelSelectorFocusAnchor2
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-fnqdw884.js";
|
|
14
14
|
import {
|
|
15
15
|
ModelSelectorSearch2
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-s8qhybtb.js";
|
|
17
17
|
import {
|
|
18
18
|
ModelSelectorList2
|
|
19
|
-
} from "./chunk-
|
|
19
|
+
} from "./chunk-6fj02yzp.js";
|
|
20
20
|
import {
|
|
21
21
|
ModelSelectorEffort2
|
|
22
22
|
} from "./chunk-pzr1f2tz.js";
|
|
@@ -12,31 +12,31 @@ import {
|
|
|
12
12
|
} from "./chunk-gb16cwpw.js";
|
|
13
13
|
import {
|
|
14
14
|
ModelSelectorFocusAnchor2
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-fnqdw884.js";
|
|
16
16
|
import {
|
|
17
17
|
ModelSelectorSearch2
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-s8qhybtb.js";
|
|
19
19
|
import {
|
|
20
20
|
ModelSelectorEmpty2
|
|
21
|
-
} from "./chunk-
|
|
21
|
+
} from "./chunk-afegpa2s.js";
|
|
22
22
|
import {
|
|
23
23
|
ModelSelectorItem2
|
|
24
|
-
} from "./chunk-
|
|
24
|
+
} from "./chunk-tz7zjkw3.js";
|
|
25
25
|
import {
|
|
26
26
|
ModelSelectorList2
|
|
27
|
-
} from "./chunk-
|
|
27
|
+
} from "./chunk-6fj02yzp.js";
|
|
28
28
|
import {
|
|
29
29
|
ModelSelectorEffort2
|
|
30
30
|
} from "./chunk-pzr1f2tz.js";
|
|
31
31
|
import {
|
|
32
32
|
ModelSelectorContent2
|
|
33
|
-
} from "./chunk-
|
|
33
|
+
} from "./chunk-mjxhvwgg.js";
|
|
34
34
|
import {
|
|
35
35
|
ModelSelectorGroup2
|
|
36
|
-
} from "./chunk-
|
|
36
|
+
} from "./chunk-bdsdkjcq.js";
|
|
37
37
|
import {
|
|
38
38
|
ModelSelectorSeparator2
|
|
39
|
-
} from "./chunk-
|
|
39
|
+
} from "./chunk-fkxhe17e.js";
|
|
40
40
|
|
|
41
41
|
// src/components/assistant-ui/native/ModelSelector.tsx
|
|
42
42
|
import { memo, useEffect } from "react";
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import {
|
|
2
2
|
CommandPalette2
|
|
3
|
-
} from "../../../chunk-
|
|
3
|
+
} from "../../../chunk-w67bf59k.js";
|
|
4
4
|
import"../../../chunk-7vnpp3ya.js";
|
|
5
|
-
import"../../../chunk-
|
|
5
|
+
import"../../../chunk-j2tm6kjm.js";
|
|
6
6
|
import"../../../chunk-t6gbcj27.js";
|
|
7
7
|
import"../../../chunk-4j3fsft3.js";
|
|
8
8
|
import"../../../chunk-er6e5fj8.js";
|
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
import {
|
|
2
2
|
ModelSelector2
|
|
3
|
-
} from "../../../chunk-
|
|
3
|
+
} from "../../../chunk-hyhr09xy.js";
|
|
4
4
|
import"../../../chunk-k2t9ey7z.js";
|
|
5
5
|
import"../../../chunk-gb16cwpw.js";
|
|
6
|
-
import"../../../chunk-
|
|
7
|
-
import"../../../chunk-
|
|
6
|
+
import"../../../chunk-mjxhvwgg.js";
|
|
7
|
+
import"../../../chunk-6fj02yzp.js";
|
|
8
8
|
import"../../../chunk-pzr1f2tz.js";
|
|
9
|
-
import"../../../chunk-
|
|
10
|
-
import"../../../chunk-
|
|
11
|
-
import"../../../chunk-
|
|
12
|
-
import"../../../chunk-
|
|
9
|
+
import"../../../chunk-afegpa2s.js";
|
|
10
|
+
import"../../../chunk-fnqdw884.js";
|
|
11
|
+
import"../../../chunk-s8qhybtb.js";
|
|
12
|
+
import"../../../chunk-tz7zjkw3.js";
|
|
13
13
|
import"../../../chunk-0qkdp68h.js";
|
|
14
14
|
import"../../../chunk-ydfx8r6d.js";
|
|
15
15
|
import"../../../chunk-kp3jgjng.js";
|
|
16
16
|
import"../../../chunk-tcefvfr8.js";
|
|
17
17
|
import"../../../chunk-bf8kbj33.js";
|
|
18
|
-
import"../../../chunk-
|
|
18
|
+
import"../../../chunk-j2tm6kjm.js";
|
|
19
19
|
import"../../../chunk-t6gbcj27.js";
|
|
20
20
|
import"../../../chunk-4j3fsft3.js";
|
|
21
21
|
import"../../../chunk-er6e5fj8.js";
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import {
|
|
2
2
|
ModelSelectorContent2
|
|
3
|
-
} from "../../../chunk-
|
|
4
|
-
import"../../../chunk-
|
|
3
|
+
} from "../../../chunk-mjxhvwgg.js";
|
|
4
|
+
import"../../../chunk-6fj02yzp.js";
|
|
5
5
|
import"../../../chunk-pzr1f2tz.js";
|
|
6
|
-
import"../../../chunk-
|
|
7
|
-
import"../../../chunk-
|
|
8
|
-
import"../../../chunk-
|
|
9
|
-
import"../../../chunk-
|
|
6
|
+
import"../../../chunk-afegpa2s.js";
|
|
7
|
+
import"../../../chunk-fnqdw884.js";
|
|
8
|
+
import"../../../chunk-s8qhybtb.js";
|
|
9
|
+
import"../../../chunk-tz7zjkw3.js";
|
|
10
10
|
import"../../../chunk-ydfx8r6d.js";
|
|
11
11
|
import"../../../chunk-kp3jgjng.js";
|
|
12
12
|
import"../../../chunk-tcefvfr8.js";
|
|
13
13
|
import"../../../chunk-bf8kbj33.js";
|
|
14
|
-
import"../../../chunk-
|
|
14
|
+
import"../../../chunk-j2tm6kjm.js";
|
|
15
15
|
import"../../../chunk-t6gbcj27.js";
|
|
16
16
|
import"../../../chunk-4j3fsft3.js";
|
|
17
17
|
import"../../../chunk-er6e5fj8.js";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import {
|
|
2
2
|
ModelSelectorEmpty2
|
|
3
|
-
} from "../../../chunk-
|
|
4
|
-
import"../../../chunk-
|
|
3
|
+
} from "../../../chunk-afegpa2s.js";
|
|
4
|
+
import"../../../chunk-j2tm6kjm.js";
|
|
5
5
|
import"../../../chunk-t6gbcj27.js";
|
|
6
6
|
import"../../../chunk-4j3fsft3.js";
|
|
7
7
|
import"../../../chunk-er6e5fj8.js";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import {
|
|
2
2
|
ModelSelectorFocusAnchor2
|
|
3
|
-
} from "../../../chunk-
|
|
4
|
-
import"../../../chunk-
|
|
3
|
+
} from "../../../chunk-fnqdw884.js";
|
|
4
|
+
import"../../../chunk-j2tm6kjm.js";
|
|
5
5
|
import"../../../chunk-t6gbcj27.js";
|
|
6
6
|
import"../../../chunk-4j3fsft3.js";
|
|
7
7
|
import"../../../chunk-er6e5fj8.js";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import {
|
|
2
2
|
ModelSelectorGroup2
|
|
3
|
-
} from "../../../chunk-
|
|
4
|
-
import"../../../chunk-
|
|
3
|
+
} from "../../../chunk-bdsdkjcq.js";
|
|
4
|
+
import"../../../chunk-j2tm6kjm.js";
|
|
5
5
|
import"../../../chunk-t6gbcj27.js";
|
|
6
6
|
import"../../../chunk-4j3fsft3.js";
|
|
7
7
|
import"../../../chunk-er6e5fj8.js";
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
ModelSelectorItem2
|
|
3
|
-
} from "../../../chunk-
|
|
3
|
+
} from "../../../chunk-tz7zjkw3.js";
|
|
4
4
|
import"../../../chunk-ydfx8r6d.js";
|
|
5
5
|
import"../../../chunk-kp3jgjng.js";
|
|
6
|
-
import"../../../chunk-
|
|
6
|
+
import"../../../chunk-j2tm6kjm.js";
|
|
7
7
|
import"../../../chunk-t6gbcj27.js";
|
|
8
8
|
import"../../../chunk-4j3fsft3.js";
|
|
9
9
|
import"../../../chunk-er6e5fj8.js";
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import {
|
|
2
2
|
ModelSelectorList2
|
|
3
|
-
} from "../../../chunk-
|
|
4
|
-
import"../../../chunk-
|
|
5
|
-
import"../../../chunk-
|
|
3
|
+
} from "../../../chunk-6fj02yzp.js";
|
|
4
|
+
import"../../../chunk-afegpa2s.js";
|
|
5
|
+
import"../../../chunk-tz7zjkw3.js";
|
|
6
6
|
import"../../../chunk-ydfx8r6d.js";
|
|
7
7
|
import"../../../chunk-kp3jgjng.js";
|
|
8
|
-
import"../../../chunk-
|
|
8
|
+
import"../../../chunk-j2tm6kjm.js";
|
|
9
9
|
import"../../../chunk-t6gbcj27.js";
|
|
10
10
|
import"../../../chunk-4j3fsft3.js";
|
|
11
11
|
import"../../../chunk-er6e5fj8.js";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import {
|
|
2
2
|
ModelSelectorSearch2
|
|
3
|
-
} from "../../../chunk-
|
|
4
|
-
import"../../../chunk-
|
|
3
|
+
} from "../../../chunk-s8qhybtb.js";
|
|
4
|
+
import"../../../chunk-j2tm6kjm.js";
|
|
5
5
|
import"../../../chunk-t6gbcj27.js";
|
|
6
6
|
import"../../../chunk-4j3fsft3.js";
|
|
7
7
|
import"../../../chunk-er6e5fj8.js";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import {
|
|
2
2
|
ModelSelectorSeparator2
|
|
3
|
-
} from "../../../chunk-
|
|
4
|
-
import"../../../chunk-
|
|
3
|
+
} from "../../../chunk-fkxhe17e.js";
|
|
4
|
+
import"../../../chunk-j2tm6kjm.js";
|
|
5
5
|
import"../../../chunk-t6gbcj27.js";
|
|
6
6
|
import"../../../chunk-4j3fsft3.js";
|
|
7
7
|
import"../../../chunk-er6e5fj8.js";
|
|
@@ -86,11 +86,11 @@ import {
|
|
|
86
86
|
CodeRunner2
|
|
87
87
|
} from "../../chunk-r1qyx0ke.js";
|
|
88
88
|
import"../../chunk-t6gbcj27.js";
|
|
89
|
-
import"../../chunk-
|
|
89
|
+
import"../../chunk-j2tm6kjm.js";
|
|
90
90
|
import"../../chunk-7vnpp3ya.js";
|
|
91
91
|
import {
|
|
92
92
|
CommandPalette2
|
|
93
|
-
} from "../../chunk-
|
|
93
|
+
} from "../../chunk-w67bf59k.js";
|
|
94
94
|
import {
|
|
95
95
|
ComparisonCard2
|
|
96
96
|
} from "../../chunk-d93zpy8g.js";
|
|
@@ -387,34 +387,34 @@ import {
|
|
|
387
387
|
} from "../../chunk-gb16cwpw.js";
|
|
388
388
|
import {
|
|
389
389
|
ModelSelectorFocusAnchor2
|
|
390
|
-
} from "../../chunk-
|
|
390
|
+
} from "../../chunk-fnqdw884.js";
|
|
391
391
|
import {
|
|
392
392
|
ModelSelectorSearch2
|
|
393
|
-
} from "../../chunk-
|
|
393
|
+
} from "../../chunk-s8qhybtb.js";
|
|
394
394
|
import {
|
|
395
395
|
ModelSelectorEmpty2
|
|
396
|
-
} from "../../chunk-
|
|
396
|
+
} from "../../chunk-afegpa2s.js";
|
|
397
397
|
import {
|
|
398
398
|
ModelSelectorItem2
|
|
399
|
-
} from "../../chunk-
|
|
399
|
+
} from "../../chunk-tz7zjkw3.js";
|
|
400
400
|
import {
|
|
401
401
|
ModelSelectorList2
|
|
402
|
-
} from "../../chunk-
|
|
402
|
+
} from "../../chunk-6fj02yzp.js";
|
|
403
403
|
import {
|
|
404
404
|
ModelSelectorEffort2
|
|
405
405
|
} from "../../chunk-pzr1f2tz.js";
|
|
406
406
|
import {
|
|
407
407
|
ModelSelectorContent2
|
|
408
|
-
} from "../../chunk-
|
|
408
|
+
} from "../../chunk-mjxhvwgg.js";
|
|
409
409
|
import {
|
|
410
410
|
ModelSelector2
|
|
411
|
-
} from "../../chunk-
|
|
411
|
+
} from "../../chunk-hyhr09xy.js";
|
|
412
412
|
import {
|
|
413
413
|
ModelSelectorGroup2
|
|
414
|
-
} from "../../chunk-
|
|
414
|
+
} from "../../chunk-bdsdkjcq.js";
|
|
415
415
|
import {
|
|
416
416
|
ModelSelectorSeparator2
|
|
417
|
-
} from "../../chunk-
|
|
417
|
+
} from "../../chunk-fkxhe17e.js";
|
|
418
418
|
import {
|
|
419
419
|
NumberRoll2
|
|
420
420
|
} from "../../chunk-wtf2qczs.js";
|
|
@@ -1,23 +1,23 @@
|
|
|
1
1
|
import {
|
|
2
2
|
ModelSelector3
|
|
3
|
-
} from "../../../chunk-
|
|
3
|
+
} from "../../../chunk-wrm689qy.js";
|
|
4
4
|
import"../../../chunk-k2t9ey7z.js";
|
|
5
5
|
import"../../../chunk-gb16cwpw.js";
|
|
6
|
-
import"../../../chunk-
|
|
7
|
-
import"../../../chunk-
|
|
8
|
-
import"../../../chunk-
|
|
9
|
-
import"../../../chunk-
|
|
6
|
+
import"../../../chunk-bdsdkjcq.js";
|
|
7
|
+
import"../../../chunk-fkxhe17e.js";
|
|
8
|
+
import"../../../chunk-mjxhvwgg.js";
|
|
9
|
+
import"../../../chunk-6fj02yzp.js";
|
|
10
10
|
import"../../../chunk-pzr1f2tz.js";
|
|
11
|
-
import"../../../chunk-
|
|
12
|
-
import"../../../chunk-
|
|
13
|
-
import"../../../chunk-
|
|
14
|
-
import"../../../chunk-
|
|
11
|
+
import"../../../chunk-afegpa2s.js";
|
|
12
|
+
import"../../../chunk-fnqdw884.js";
|
|
13
|
+
import"../../../chunk-s8qhybtb.js";
|
|
14
|
+
import"../../../chunk-tz7zjkw3.js";
|
|
15
15
|
import"../../../chunk-0qkdp68h.js";
|
|
16
16
|
import"../../../chunk-ydfx8r6d.js";
|
|
17
17
|
import"../../../chunk-kp3jgjng.js";
|
|
18
18
|
import"../../../chunk-tcefvfr8.js";
|
|
19
19
|
import"../../../chunk-bf8kbj33.js";
|
|
20
|
-
import"../../../chunk-
|
|
20
|
+
import"../../../chunk-j2tm6kjm.js";
|
|
21
21
|
import"../../../chunk-t6gbcj27.js";
|
|
22
22
|
import"../../../chunk-4j3fsft3.js";
|
|
23
23
|
import"../../../chunk-er6e5fj8.js";
|
|
@@ -153,19 +153,19 @@ import"../../../chunk-k2t9ey7z.js";
|
|
|
153
153
|
import"../../../chunk-0qkdp68h.js";
|
|
154
154
|
import"../../../chunk-gb16cwpw.js";
|
|
155
155
|
import"../../../chunk-4j3fsft3.js";
|
|
156
|
-
import"../../../chunk-
|
|
157
|
-
import"../../../chunk-
|
|
158
|
-
import"../../../chunk-
|
|
159
|
-
import"../../../chunk-
|
|
160
|
-
import"../../../chunk-
|
|
161
|
-
import"../../../chunk-
|
|
156
|
+
import"../../../chunk-j2tm6kjm.js";
|
|
157
|
+
import"../../../chunk-fnqdw884.js";
|
|
158
|
+
import"../../../chunk-s8qhybtb.js";
|
|
159
|
+
import"../../../chunk-afegpa2s.js";
|
|
160
|
+
import"../../../chunk-tz7zjkw3.js";
|
|
161
|
+
import"../../../chunk-6fj02yzp.js";
|
|
162
162
|
import"../../../chunk-pzr1f2tz.js";
|
|
163
|
-
import"../../../chunk-
|
|
164
|
-
import"../../../chunk-
|
|
165
|
-
import"../../../chunk-
|
|
163
|
+
import"../../../chunk-mjxhvwgg.js";
|
|
164
|
+
import"../../../chunk-bdsdkjcq.js";
|
|
165
|
+
import"../../../chunk-fkxhe17e.js";
|
|
166
166
|
import {
|
|
167
167
|
ModelSelector3
|
|
168
|
-
} from "../../../chunk-
|
|
168
|
+
} from "../../../chunk-wrm689qy.js";
|
|
169
169
|
import {
|
|
170
170
|
QuoteBlockRoot2,
|
|
171
171
|
QuoteBlockIcon2,
|
|
@@ -25,7 +25,9 @@ type CommandItemProps = ComponentProps<typeof CommandPrimitive.Item> & IAnalytic
|
|
|
25
25
|
disabledReason?: string;
|
|
26
26
|
/** Runs instead of `onSelect` when Enter or a click selects an item with a disabled reason, to announce it. */
|
|
27
27
|
onDisabledSelect?: () => void;
|
|
28
|
+
/** Gives the item a minimum height of 44px when the primary pointer is coarse. */
|
|
29
|
+
touchTarget?: boolean;
|
|
28
30
|
};
|
|
29
|
-
declare function CommandItem({ analytics, className, children, disabledReason, onDisabledSelect, ref, ...props }: CommandItemProps): ReactElement;
|
|
31
|
+
declare function CommandItem({ analytics, className, children, disabledReason, onDisabledSelect, ref, touchTarget, ...props }: CommandItemProps): ReactElement;
|
|
30
32
|
declare function CommandShortcut({ className, ...props }: ComponentProps<"span">): ReactElement;
|
|
31
33
|
export { Command, CommandDialog, CommandInput, CommandList, CommandEmpty, CommandGroup, CommandItem, CommandSeparator, CommandShortcut, };
|
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.84",
|
|
2055
2055
|
description: "Sharp, monospace React components with compact and comfortable densities.",
|
|
2056
2056
|
license: "MIT",
|
|
2057
2057
|
repository: {
|
|
@@ -43,7 +43,7 @@ function Render(args) {
|
|
|
43
43
|
<CommandList label="Commands">
|
|
44
44
|
<CommandEmpty>No results found.</CommandEmpty>
|
|
45
45
|
<CommandGroup heading="Workspace">
|
|
46
|
-
<CommandItem value="new-file" keywords={["create"]} onSelect={setAction}>
|
|
46
|
+
<CommandItem value="new-file" keywords={["create"]} onSelect={setAction} touchTarget>
|
|
47
47
|
New file<CommandShortcut>Ctrl+N</CommandShortcut>
|
|
48
48
|
</CommandItem>
|
|
49
49
|
<CommandItem value="delete" disabled>
|