@alexgorbatchev/shadcn 0.0.176 → 0.0.178
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-277gskfc.js → chunk-2mtre3ns.js} +1 -1
- package/dist/{chunk-078csjnf.js → chunk-3f18ga1g.js} +1 -1
- package/dist/{chunk-847akg71.js → chunk-3n4cjqqd.js} +8 -8
- package/dist/{chunk-kcptvw8y.js → chunk-4fdcjb73.js} +1 -1
- package/dist/{chunk-hqeb9ah0.js → chunk-6v754900.js} +1 -1
- package/dist/{chunk-0vj8xax9.js → chunk-dax55ykt.js} +1 -1
- package/dist/{chunk-cc35g6sr.js → chunk-fs7g0ys5.js} +1 -1
- package/dist/{chunk-q56p3jvx.js → chunk-fzd9sd0x.js} +3 -3
- package/dist/{chunk-vzckkf6b.js → chunk-gqgrvwxe.js} +4 -4
- package/dist/{chunk-0ymgqgtm.js → chunk-k7860m8y.js} +1 -1
- package/dist/{chunk-jq5jdbfz.js → chunk-mzx00vpn.js} +1 -1
- package/dist/{chunk-ew47kns7.js → chunk-nter6mh5.js} +1 -1
- package/dist/{chunk-g0hkpc2x.js → chunk-qcs52j8a.js} +32 -9
- package/dist/{chunk-qdptn0n5.js → chunk-szvd2drh.js} +1 -1
- 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/index.js +1 -1
- package/dist/components/image-viewer/index.js +4 -4
- package/dist/components/json-render/index.js +2 -2
- package/dist/components/resizable/index.js +1 -1
- package/dist/index.js +2 -2
- package/dist/prototype.js +1 -1
- package/package.json +1 -1
|
@@ -12,31 +12,31 @@ import {
|
|
|
12
12
|
} from "./chunk-gb16cwpw.js";
|
|
13
13
|
import {
|
|
14
14
|
ModelSelectorFocusAnchor2
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-k7860m8y.js";
|
|
16
16
|
import {
|
|
17
17
|
ModelSelectorSearch2
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-2mtre3ns.js";
|
|
19
19
|
import {
|
|
20
20
|
ModelSelectorEmpty2
|
|
21
|
-
} from "./chunk-
|
|
21
|
+
} from "./chunk-szvd2drh.js";
|
|
22
22
|
import {
|
|
23
23
|
ModelSelectorItem2
|
|
24
|
-
} from "./chunk-
|
|
24
|
+
} from "./chunk-dax55ykt.js";
|
|
25
25
|
import {
|
|
26
26
|
ModelSelectorList2
|
|
27
|
-
} from "./chunk-
|
|
27
|
+
} from "./chunk-fzd9sd0x.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-gqgrvwxe.js";
|
|
34
34
|
import {
|
|
35
35
|
ModelSelectorGroup2
|
|
36
|
-
} from "./chunk-
|
|
36
|
+
} from "./chunk-mzx00vpn.js";
|
|
37
37
|
import {
|
|
38
38
|
ModelSelectorSeparator2
|
|
39
|
-
} from "./chunk-
|
|
39
|
+
} from "./chunk-3f18ga1g.js";
|
|
40
40
|
|
|
41
41
|
// src/components/assistant-ui/native/ModelSelector.tsx
|
|
42
42
|
import { memo, useEffect } from "react";
|
|
@@ -99,7 +99,7 @@ function DrawerSwipeHandle2({ density, className, ...props }) {
|
|
|
99
99
|
"data-density": density,
|
|
100
100
|
"data-slot": "drawer-swipe-handle",
|
|
101
101
|
"aria-hidden": "true",
|
|
102
|
-
className: cn2("relative
|
|
102
|
+
className: cn2("relative flex shrink-0 cursor-grab transition-opacity duration-200 group-data-nested-drawer-open/drawer-popup:opacity-0 group-data-nested-drawer-swiping/drawer-popup:opacity-100 group-data-[swipe-axis=x]/drawer-popup:absolute group-data-[swipe-axis=x]/drawer-popup:inset-y-0 group-data-[swipe-axis=x]/drawer-popup:z-10 group-data-[swipe-axis=x]/drawer-popup:h-full group-data-[swipe-axis=x]/drawer-popup:w-2.5 group-data-[swipe-axis=x]/drawer-popup:items-center group-data-[swipe-axis=x]/drawer-popup:justify-center group-data-[swipe-axis=y]/drawer-popup:h-3 group-data-[swipe-axis=y]/drawer-popup:w-full group-data-[swipe-axis=y]/drawer-popup:justify-center group-data-[swipe-direction=down]/drawer-popup:items-end group-data-[swipe-direction=left]/drawer-popup:right-0 group-data-[swipe-direction=right]/drawer-popup:left-0 group-data-[swipe-direction=up]/drawer-popup:order-last group-data-[swipe-direction=up]/drawer-popup:items-start after:block after:shrink-0 after:rounded-full after:bg-muted after:transition-opacity after:duration-150 group-data-[swipe-axis=x]/drawer-popup:after:h-24 group-data-[swipe-axis=x]/drawer-popup:after:w-1 group-data-[swipe-axis=x]/drawer-popup:after:opacity-0 group-data-[swipe-axis=x]/drawer-popup:hover:after:opacity-100 group-data-[swipe-axis=x]/drawer-popup:group-data-swiping/drawer-popup:after:opacity-100 group-data-[swipe-axis=y]/drawer-popup:after:h-1 group-data-[swipe-axis=y]/drawer-popup:after:w-24 active:cursor-grabbing", className),
|
|
103
103
|
...props
|
|
104
104
|
});
|
|
105
105
|
}
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import {
|
|
2
2
|
CommandList2,
|
|
3
3
|
CommandGroup2
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-qcs52j8a.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-szvd2drh.js";
|
|
11
11
|
import {
|
|
12
12
|
ModelSelectorItem2
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-dax55ykt.js";
|
|
14
14
|
|
|
15
15
|
// src/components/assistant-ui/elements/ModelSelectorList.tsx
|
|
16
16
|
import { jsx, jsxs, Fragment } from "react/jsx-runtime";
|
|
@@ -4,19 +4,19 @@ import {
|
|
|
4
4
|
} from "./chunk-bf8kbj33.js";
|
|
5
5
|
import {
|
|
6
6
|
Command2
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-qcs52j8a.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-k7860m8y.js";
|
|
14
14
|
import {
|
|
15
15
|
ModelSelectorSearch2
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-2mtre3ns.js";
|
|
17
17
|
import {
|
|
18
18
|
ModelSelectorList2
|
|
19
|
-
} from "./chunk-
|
|
19
|
+
} from "./chunk-fzd9sd0x.js";
|
|
20
20
|
import {
|
|
21
21
|
ModelSelectorEffort2
|
|
22
22
|
} from "./chunk-pzr1f2tz.js";
|
|
@@ -19,6 +19,8 @@ import {
|
|
|
19
19
|
|
|
20
20
|
// src/components/command/Command.tsx
|
|
21
21
|
import {
|
|
22
|
+
Children,
|
|
23
|
+
isValidElement,
|
|
22
24
|
useEffect,
|
|
23
25
|
useId,
|
|
24
26
|
useLayoutEffect,
|
|
@@ -175,7 +177,7 @@ function CommandInput2({ className, ...props }) {
|
|
|
175
177
|
function CommandList2({ className, ...props }) {
|
|
176
178
|
return /* @__PURE__ */ jsx(CommandPrimitive.List, {
|
|
177
179
|
"data-slot": "command-list",
|
|
178
|
-
className: cn2("max-h-
|
|
180
|
+
className: cn2("max-h-[min(28rem,60dvh)] scroll-py-1 overflow-x-hidden overflow-y-auto pt-1 pb-1 outline-none", className),
|
|
179
181
|
...props
|
|
180
182
|
});
|
|
181
183
|
}
|
|
@@ -226,27 +228,48 @@ function CommandItem2({
|
|
|
226
228
|
element.addEventListener(DISABLED_SELECT, select);
|
|
227
229
|
return () => element.removeEventListener(DISABLED_SELECT, select);
|
|
228
230
|
}, [disabledReason]);
|
|
231
|
+
let contentChildren = children;
|
|
232
|
+
const shortcutChildren = [];
|
|
233
|
+
if (disabledReason) {
|
|
234
|
+
const rest = [];
|
|
235
|
+
for (const child of Children.toArray(children)) {
|
|
236
|
+
if (isValidElement(child) && child.type === CommandShortcut2)
|
|
237
|
+
shortcutChildren.push(child);
|
|
238
|
+
else
|
|
239
|
+
rest.push(child);
|
|
240
|
+
}
|
|
241
|
+
contentChildren = rest;
|
|
242
|
+
}
|
|
229
243
|
return /* @__PURE__ */ jsxs(CommandPrimitive.Item, {
|
|
230
244
|
ref: mergedRef,
|
|
231
245
|
"data-slot": "command-item",
|
|
232
246
|
"data-disabled-reason": disabledReason ? "" : undefined,
|
|
233
|
-
className: cn2("group/command-item relative flex min-h-control cursor-default
|
|
247
|
+
className: cn2("group/command-item relative flex min-h-control cursor-default items-center gap-control-gap rounded-sm 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: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),
|
|
234
248
|
...props,
|
|
235
249
|
disabled: Boolean(disabledReason) || props.disabled,
|
|
236
250
|
"aria-describedby": [props["aria-describedby"], disabledReason ? reasonId : undefined].filter(Boolean).join(" ") || undefined,
|
|
237
251
|
onClickCapture: disabledReason ? () => onDisabledSelect?.() : props.onClickCapture,
|
|
238
252
|
onSelect: trackedOnSelect,
|
|
239
253
|
children: [
|
|
240
|
-
|
|
254
|
+
disabledReason ? /* @__PURE__ */ jsxs("span", {
|
|
255
|
+
className: "flex min-w-0 flex-1 flex-col",
|
|
256
|
+
children: [
|
|
257
|
+
/* @__PURE__ */ jsx("span", {
|
|
258
|
+
className: "flex min-w-0 items-center gap-control-gap",
|
|
259
|
+
children: contentChildren
|
|
260
|
+
}),
|
|
261
|
+
/* @__PURE__ */ jsx("span", {
|
|
262
|
+
id: reasonId,
|
|
263
|
+
"data-slot": "command-item-reason",
|
|
264
|
+
className: "text-xs text-muted-foreground",
|
|
265
|
+
children: disabledReason
|
|
266
|
+
})
|
|
267
|
+
]
|
|
268
|
+
}) : children,
|
|
269
|
+
disabledReason && shortcutChildren,
|
|
241
270
|
/* @__PURE__ */ jsx(CheckIcon, {
|
|
242
271
|
"aria-hidden": "true",
|
|
243
272
|
className: "ms-auto opacity-0 group-has-data-[slot=command-shortcut]/command-item:hidden group-data-[checked=true]/command-item:opacity-100"
|
|
244
|
-
}),
|
|
245
|
-
disabledReason && /* @__PURE__ */ jsx("span", {
|
|
246
|
-
id: reasonId,
|
|
247
|
-
"data-slot": "command-item-reason",
|
|
248
|
-
className: "basis-full text-xs text-muted-foreground",
|
|
249
|
-
children: disabledReason
|
|
250
273
|
})
|
|
251
274
|
]
|
|
252
275
|
});
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import {
|
|
2
2
|
CommandPalette2
|
|
3
|
-
} from "../../../chunk-
|
|
3
|
+
} from "../../../chunk-nter6mh5.js";
|
|
4
4
|
import"../../../chunk-yz1ft8hs.js";
|
|
5
|
-
import"../../../chunk-
|
|
5
|
+
import"../../../chunk-qcs52j8a.js";
|
|
6
6
|
import"../../../chunk-2d3npxat.js";
|
|
7
7
|
import"../../../chunk-a8e3x6q7.js";
|
|
8
8
|
import"../../../chunk-vfgp11y4.js";
|
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
import {
|
|
2
2
|
ModelSelector2
|
|
3
|
-
} from "../../../chunk-
|
|
3
|
+
} from "../../../chunk-6v754900.js";
|
|
4
4
|
import"../../../chunk-k2t9ey7z.js";
|
|
5
5
|
import"../../../chunk-gb16cwpw.js";
|
|
6
|
-
import"../../../chunk-
|
|
7
|
-
import"../../../chunk-
|
|
6
|
+
import"../../../chunk-gqgrvwxe.js";
|
|
7
|
+
import"../../../chunk-fzd9sd0x.js";
|
|
8
8
|
import"../../../chunk-pzr1f2tz.js";
|
|
9
|
-
import"../../../chunk-
|
|
10
|
-
import"../../../chunk-
|
|
11
|
-
import"../../../chunk-
|
|
12
|
-
import"../../../chunk-
|
|
9
|
+
import"../../../chunk-szvd2drh.js";
|
|
10
|
+
import"../../../chunk-k7860m8y.js";
|
|
11
|
+
import"../../../chunk-2mtre3ns.js";
|
|
12
|
+
import"../../../chunk-dax55ykt.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-qcs52j8a.js";
|
|
19
19
|
import"../../../chunk-2d3npxat.js";
|
|
20
20
|
import"../../../chunk-a8e3x6q7.js";
|
|
21
21
|
import"../../../chunk-vfgp11y4.js";
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import {
|
|
2
2
|
ModelSelectorContent2
|
|
3
|
-
} from "../../../chunk-
|
|
4
|
-
import"../../../chunk-
|
|
3
|
+
} from "../../../chunk-gqgrvwxe.js";
|
|
4
|
+
import"../../../chunk-fzd9sd0x.js";
|
|
5
5
|
import"../../../chunk-pzr1f2tz.js";
|
|
6
|
-
import"../../../chunk-
|
|
7
|
-
import"../../../chunk-
|
|
8
|
-
import"../../../chunk-
|
|
9
|
-
import"../../../chunk-
|
|
6
|
+
import"../../../chunk-szvd2drh.js";
|
|
7
|
+
import"../../../chunk-k7860m8y.js";
|
|
8
|
+
import"../../../chunk-2mtre3ns.js";
|
|
9
|
+
import"../../../chunk-dax55ykt.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-qcs52j8a.js";
|
|
15
15
|
import"../../../chunk-2d3npxat.js";
|
|
16
16
|
import"../../../chunk-a8e3x6q7.js";
|
|
17
17
|
import"../../../chunk-vfgp11y4.js";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import {
|
|
2
2
|
ModelSelectorEmpty2
|
|
3
|
-
} from "../../../chunk-
|
|
4
|
-
import"../../../chunk-
|
|
3
|
+
} from "../../../chunk-szvd2drh.js";
|
|
4
|
+
import"../../../chunk-qcs52j8a.js";
|
|
5
5
|
import"../../../chunk-2d3npxat.js";
|
|
6
6
|
import"../../../chunk-a8e3x6q7.js";
|
|
7
7
|
import"../../../chunk-vfgp11y4.js";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import {
|
|
2
2
|
ModelSelectorFocusAnchor2
|
|
3
|
-
} from "../../../chunk-
|
|
4
|
-
import"../../../chunk-
|
|
3
|
+
} from "../../../chunk-k7860m8y.js";
|
|
4
|
+
import"../../../chunk-qcs52j8a.js";
|
|
5
5
|
import"../../../chunk-2d3npxat.js";
|
|
6
6
|
import"../../../chunk-a8e3x6q7.js";
|
|
7
7
|
import"../../../chunk-vfgp11y4.js";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import {
|
|
2
2
|
ModelSelectorGroup2
|
|
3
|
-
} from "../../../chunk-
|
|
4
|
-
import"../../../chunk-
|
|
3
|
+
} from "../../../chunk-mzx00vpn.js";
|
|
4
|
+
import"../../../chunk-qcs52j8a.js";
|
|
5
5
|
import"../../../chunk-2d3npxat.js";
|
|
6
6
|
import"../../../chunk-a8e3x6q7.js";
|
|
7
7
|
import"../../../chunk-vfgp11y4.js";
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
ModelSelectorItem2
|
|
3
|
-
} from "../../../chunk-
|
|
3
|
+
} from "../../../chunk-dax55ykt.js";
|
|
4
4
|
import"../../../chunk-ydfx8r6d.js";
|
|
5
5
|
import"../../../chunk-kp3jgjng.js";
|
|
6
|
-
import"../../../chunk-
|
|
6
|
+
import"../../../chunk-qcs52j8a.js";
|
|
7
7
|
import"../../../chunk-2d3npxat.js";
|
|
8
8
|
import"../../../chunk-a8e3x6q7.js";
|
|
9
9
|
import"../../../chunk-vfgp11y4.js";
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import {
|
|
2
2
|
ModelSelectorList2
|
|
3
|
-
} from "../../../chunk-
|
|
4
|
-
import"../../../chunk-
|
|
5
|
-
import"../../../chunk-
|
|
3
|
+
} from "../../../chunk-fzd9sd0x.js";
|
|
4
|
+
import"../../../chunk-szvd2drh.js";
|
|
5
|
+
import"../../../chunk-dax55ykt.js";
|
|
6
6
|
import"../../../chunk-ydfx8r6d.js";
|
|
7
7
|
import"../../../chunk-kp3jgjng.js";
|
|
8
|
-
import"../../../chunk-
|
|
8
|
+
import"../../../chunk-qcs52j8a.js";
|
|
9
9
|
import"../../../chunk-2d3npxat.js";
|
|
10
10
|
import"../../../chunk-a8e3x6q7.js";
|
|
11
11
|
import"../../../chunk-vfgp11y4.js";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import {
|
|
2
2
|
ModelSelectorSearch2
|
|
3
|
-
} from "../../../chunk-
|
|
4
|
-
import"../../../chunk-
|
|
3
|
+
} from "../../../chunk-2mtre3ns.js";
|
|
4
|
+
import"../../../chunk-qcs52j8a.js";
|
|
5
5
|
import"../../../chunk-2d3npxat.js";
|
|
6
6
|
import"../../../chunk-a8e3x6q7.js";
|
|
7
7
|
import"../../../chunk-vfgp11y4.js";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import {
|
|
2
2
|
ModelSelectorSeparator2
|
|
3
|
-
} from "../../../chunk-
|
|
4
|
-
import"../../../chunk-
|
|
3
|
+
} from "../../../chunk-3f18ga1g.js";
|
|
4
|
+
import"../../../chunk-qcs52j8a.js";
|
|
5
5
|
import"../../../chunk-2d3npxat.js";
|
|
6
6
|
import"../../../chunk-a8e3x6q7.js";
|
|
7
7
|
import"../../../chunk-vfgp11y4.js";
|
|
@@ -86,11 +86,11 @@ import {
|
|
|
86
86
|
CodeRunner2
|
|
87
87
|
} from "../../chunk-d5mm4gyx.js";
|
|
88
88
|
import"../../chunk-2d3npxat.js";
|
|
89
|
-
import"../../chunk-
|
|
89
|
+
import"../../chunk-qcs52j8a.js";
|
|
90
90
|
import"../../chunk-yz1ft8hs.js";
|
|
91
91
|
import {
|
|
92
92
|
CommandPalette2
|
|
93
|
-
} from "../../chunk-
|
|
93
|
+
} from "../../chunk-nter6mh5.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-k7860m8y.js";
|
|
391
391
|
import {
|
|
392
392
|
ModelSelectorSearch2
|
|
393
|
-
} from "../../chunk-
|
|
393
|
+
} from "../../chunk-2mtre3ns.js";
|
|
394
394
|
import {
|
|
395
395
|
ModelSelectorEmpty2
|
|
396
|
-
} from "../../chunk-
|
|
396
|
+
} from "../../chunk-szvd2drh.js";
|
|
397
397
|
import {
|
|
398
398
|
ModelSelectorItem2
|
|
399
|
-
} from "../../chunk-
|
|
399
|
+
} from "../../chunk-dax55ykt.js";
|
|
400
400
|
import {
|
|
401
401
|
ModelSelectorList2
|
|
402
|
-
} from "../../chunk-
|
|
402
|
+
} from "../../chunk-fzd9sd0x.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-gqgrvwxe.js";
|
|
409
409
|
import {
|
|
410
410
|
ModelSelector2
|
|
411
|
-
} from "../../chunk-
|
|
411
|
+
} from "../../chunk-6v754900.js";
|
|
412
412
|
import {
|
|
413
413
|
ModelSelectorGroup2
|
|
414
|
-
} from "../../chunk-
|
|
414
|
+
} from "../../chunk-mzx00vpn.js";
|
|
415
415
|
import {
|
|
416
416
|
ModelSelectorSeparator2
|
|
417
|
-
} from "../../chunk-
|
|
417
|
+
} from "../../chunk-3f18ga1g.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-3n4cjqqd.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-mzx00vpn.js";
|
|
7
|
+
import"../../../chunk-3f18ga1g.js";
|
|
8
|
+
import"../../../chunk-gqgrvwxe.js";
|
|
9
|
+
import"../../../chunk-fzd9sd0x.js";
|
|
10
10
|
import"../../../chunk-pzr1f2tz.js";
|
|
11
|
-
import"../../../chunk-
|
|
12
|
-
import"../../../chunk-
|
|
13
|
-
import"../../../chunk-
|
|
14
|
-
import"../../../chunk-
|
|
11
|
+
import"../../../chunk-szvd2drh.js";
|
|
12
|
+
import"../../../chunk-k7860m8y.js";
|
|
13
|
+
import"../../../chunk-2mtre3ns.js";
|
|
14
|
+
import"../../../chunk-dax55ykt.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-qcs52j8a.js";
|
|
21
21
|
import"../../../chunk-2d3npxat.js";
|
|
22
22
|
import"../../../chunk-a8e3x6q7.js";
|
|
23
23
|
import"../../../chunk-vfgp11y4.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-a8e3x6q7.js";
|
|
156
|
-
import"../../../chunk-
|
|
157
|
-
import"../../../chunk-
|
|
158
|
-
import"../../../chunk-
|
|
159
|
-
import"../../../chunk-
|
|
160
|
-
import"../../../chunk-
|
|
161
|
-
import"../../../chunk-
|
|
156
|
+
import"../../../chunk-qcs52j8a.js";
|
|
157
|
+
import"../../../chunk-k7860m8y.js";
|
|
158
|
+
import"../../../chunk-2mtre3ns.js";
|
|
159
|
+
import"../../../chunk-szvd2drh.js";
|
|
160
|
+
import"../../../chunk-dax55ykt.js";
|
|
161
|
+
import"../../../chunk-fzd9sd0x.js";
|
|
162
162
|
import"../../../chunk-pzr1f2tz.js";
|
|
163
|
-
import"../../../chunk-
|
|
164
|
-
import"../../../chunk-
|
|
165
|
-
import"../../../chunk-
|
|
163
|
+
import"../../../chunk-gqgrvwxe.js";
|
|
164
|
+
import"../../../chunk-mzx00vpn.js";
|
|
165
|
+
import"../../../chunk-3f18ga1g.js";
|
|
166
166
|
import {
|
|
167
167
|
ModelSelector3
|
|
168
|
-
} from "../../../chunk-
|
|
168
|
+
} from "../../../chunk-3n4cjqqd.js";
|
|
169
169
|
import {
|
|
170
170
|
QuoteBlockRoot2,
|
|
171
171
|
QuoteBlockIcon2,
|
|
@@ -581,7 +581,7 @@ function ImageViewer({
|
|
|
581
581
|
children: [
|
|
582
582
|
(showZoomControl || toolbar !== undefined) && /* @__PURE__ */ jsxs3("div", {
|
|
583
583
|
"data-slot": "image-viewer-toolbar",
|
|
584
|
-
className: "flex shrink-0 flex-wrap items-center gap-
|
|
584
|
+
className: "flex shrink-0 flex-wrap items-center gap-2 *:shrink-0",
|
|
585
585
|
children: [
|
|
586
586
|
showZoomControl && /* @__PURE__ */ jsx3(ImageZoomControl, {
|
|
587
587
|
zoom: shownZoom,
|
|
@@ -959,7 +959,7 @@ function DiagramViewer({
|
|
|
959
959
|
children: [
|
|
960
960
|
hasToolbar && /* @__PURE__ */ jsxs5("div", {
|
|
961
961
|
ref: toolbarContainerRef,
|
|
962
|
-
className: "flex min-w-0 shrink-0 items-center gap-
|
|
962
|
+
className: "flex min-w-0 shrink-0 items-center gap-2",
|
|
963
963
|
children: [
|
|
964
964
|
toolbarOverflow.left && /* @__PURE__ */ jsx5(Button2, {
|
|
965
965
|
type: "button",
|
|
@@ -976,7 +976,7 @@ function DiagramViewer({
|
|
|
976
976
|
"data-slot": "diagram-viewer-toolbar",
|
|
977
977
|
onScroll: updateToolbarOverflow,
|
|
978
978
|
style: toolbarMaskImage ? { maskImage: toolbarMaskImage, WebkitMaskImage: toolbarMaskImage } : undefined,
|
|
979
|
-
className: "flex min-w-0 flex-1 flex-wrap items-center gap-
|
|
979
|
+
className: "flex min-w-0 flex-1 flex-wrap items-center gap-2 *:shrink-0 [@media(max-height:280px)]:flex-nowrap [@media(max-height:280px)]:overflow-x-auto [@media(max-height:280px)]:[scrollbar-width:none] [@media(max-height:280px)]:[&::-webkit-scrollbar]:hidden",
|
|
980
980
|
children: [
|
|
981
981
|
showZoomControl && /* @__PURE__ */ jsx5(ImageZoomControl, {
|
|
982
982
|
zoom: shownZoom,
|
|
@@ -1695,7 +1695,7 @@ function ImageGallery({
|
|
|
1695
1695
|
children: [
|
|
1696
1696
|
/* @__PURE__ */ jsxs8("div", {
|
|
1697
1697
|
"data-slot": "image-gallery-toolbar",
|
|
1698
|
-
className: "flex shrink-0 flex-wrap items-center gap-
|
|
1698
|
+
className: "flex shrink-0 flex-wrap items-center gap-2 border-b border-border pb-2 *:shrink-0",
|
|
1699
1699
|
children: [
|
|
1700
1700
|
/* @__PURE__ */ jsx10(ImageZoomToggle, {
|
|
1701
1701
|
zoom: compareZoom,
|
|
@@ -26,7 +26,7 @@ import {
|
|
|
26
26
|
PaginationPrevious2,
|
|
27
27
|
PaginationNext2,
|
|
28
28
|
PaginationEllipsis2
|
|
29
|
-
} from "../../chunk-
|
|
29
|
+
} from "../../chunk-4fdcjb73.js";
|
|
30
30
|
import {
|
|
31
31
|
MenuPopup,
|
|
32
32
|
MenuItem2,
|
|
@@ -118,7 +118,7 @@ import {
|
|
|
118
118
|
DrawerHeader2,
|
|
119
119
|
DrawerTitle2,
|
|
120
120
|
DrawerDescription2
|
|
121
|
-
} from "../../chunk-
|
|
121
|
+
} from "../../chunk-fs7g0ys5.js";
|
|
122
122
|
import"../../chunk-dpedhp0c.js";
|
|
123
123
|
import"../../chunk-3kb1gkke.js";
|
|
124
124
|
import {
|
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-4fdcjb73.js";
|
|
192
192
|
import {
|
|
193
193
|
statusDotVariants2,
|
|
194
194
|
StatusDot2
|
|
@@ -477,7 +477,7 @@ import {
|
|
|
477
477
|
DrawerFooter2,
|
|
478
478
|
DrawerTitle2,
|
|
479
479
|
DrawerDescription2
|
|
480
|
-
} from "./chunk-
|
|
480
|
+
} from "./chunk-fs7g0ys5.js";
|
|
481
481
|
import {
|
|
482
482
|
Separator2
|
|
483
483
|
} from "./chunk-52aadmkc.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.178",
|
|
2055
2055
|
description: "Sharp, monospace React components with compact, comfortable, and touch densities.",
|
|
2056
2056
|
license: "MIT",
|
|
2057
2057
|
repository: {
|