@alexgorbatchev/shadcn 0.0.191 → 0.0.192
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-hh5wsw6k.js → chunk-0d3nt7qz.js} +1 -1
- package/dist/{chunk-t5rs254n.js → chunk-wc0kxk18.js} +1 -1
- package/dist/components/assistant-ui/native/AssistantSidebar.js +2 -2
- package/dist/components/assistant-ui/native/index.js +2 -2
- package/dist/components/resizable/index.js +2 -2
- package/dist/prototype.js +1 -1
- package/package.json +1 -1
|
@@ -37,7 +37,7 @@ function ResizableHandle2({
|
|
|
37
37
|
return /* @__PURE__ */ jsxs(Separator, {
|
|
38
38
|
"data-slot": "resizable-handle",
|
|
39
39
|
"data-thickness": thickness,
|
|
40
|
-
className: cn2("group/handle relative z-10 flex items-center justify-center bg-transparent outline-none
|
|
40
|
+
className: cn2("group/handle relative z-10 flex items-center justify-center bg-transparent outline-none", "w-6 [clip-path:inset(0_8px)] aria-[orientation=horizontal]:h-6 aria-[orientation=horizontal]:w-full aria-[orientation=horizontal]:[clip-path:inset(8px_0)]", isStrong ? "-mx-[11px] aria-[orientation=horizontal]:mx-0 aria-[orientation=horizontal]:-my-[11px]" : "-mx-[11.5px] aria-[orientation=horizontal]:mx-0 aria-[orientation=horizontal]:-my-[11.5px]", "before:pointer-events-none before:absolute before:bg-border before:content-[''] group-hover/handle:before:bg-input group-data-[separator=active]/handle:before:bg-primary", isStrong ? "before:inset-y-0 before:left-1/2 before:w-0.5 before:-translate-x-1/2 aria-[orientation=horizontal]:before:inset-x-0 aria-[orientation=horizontal]:before:inset-y-auto aria-[orientation=horizontal]:before:top-1/2 aria-[orientation=horizontal]:before:left-0 aria-[orientation=horizontal]:before:h-0.5 aria-[orientation=horizontal]:before:w-full aria-[orientation=horizontal]:before:translate-x-0 aria-[orientation=horizontal]:before:-translate-y-1/2" : "before:inset-y-0 before:left-1/2 before:w-px before:-translate-x-1/2 aria-[orientation=horizontal]:before:inset-x-0 aria-[orientation=horizontal]:before:inset-y-auto aria-[orientation=horizontal]:before:top-1/2 aria-[orientation=horizontal]:before:left-0 aria-[orientation=horizontal]:before:h-px aria-[orientation=horizontal]:before:w-full aria-[orientation=horizontal]:before:translate-x-0 aria-[orientation=horizontal]:before:-translate-y-1/2", "focus-visible:before:bg-ring aria-[orientation=vertical]:focus-visible:before:w-1 aria-[orientation=horizontal]:focus-visible:before:h-1", "[&[aria-orientation=horizontal]>div]:rotate-90", className),
|
|
41
41
|
...props,
|
|
42
42
|
children: [
|
|
43
43
|
withHandle && /* @__PURE__ */ jsx("div", {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AssistantSidebar2
|
|
3
|
-
} from "../../../chunk-
|
|
3
|
+
} from "../../../chunk-0d3nt7qz.js";
|
|
4
4
|
import"../../../chunk-2betnfpa.js";
|
|
5
5
|
import"../../../chunk-eg6qxck8.js";
|
|
6
6
|
import"../../../chunk-j2n8684w.js";
|
|
@@ -31,7 +31,7 @@ import"../../../chunk-tcefvfr8.js";
|
|
|
31
31
|
import"../../../chunk-2d3npxat.js";
|
|
32
32
|
import"../../../chunk-vfgp11y4.js";
|
|
33
33
|
import"../../../chunk-7jpsybag.js";
|
|
34
|
-
import"../../../chunk-
|
|
34
|
+
import"../../../chunk-wc0kxk18.js";
|
|
35
35
|
import"../../../chunk-n63meq6q.js";
|
|
36
36
|
import"../../../chunk-x90xmrba.js";
|
|
37
37
|
import"../../../chunk-jpvw9xqy.js";
|
|
@@ -82,10 +82,10 @@ import"../../../chunk-t9ms87s9.js";
|
|
|
82
82
|
import {
|
|
83
83
|
AssistantModal2
|
|
84
84
|
} from "../../../chunk-ww425e8k.js";
|
|
85
|
-
import"../../../chunk-
|
|
85
|
+
import"../../../chunk-wc0kxk18.js";
|
|
86
86
|
import {
|
|
87
87
|
AssistantSidebar2
|
|
88
|
-
} from "../../../chunk-
|
|
88
|
+
} from "../../../chunk-0d3nt7qz.js";
|
|
89
89
|
import {
|
|
90
90
|
ComposerQuotePreviewRoot2,
|
|
91
91
|
ComposerQuotePreviewIcon2,
|
|
@@ -7,7 +7,7 @@ import {
|
|
|
7
7
|
Resizable2,
|
|
8
8
|
ResizablePanel2,
|
|
9
9
|
ResizableHandle2
|
|
10
|
-
} from "../../chunk-
|
|
10
|
+
} from "../../chunk-wc0kxk18.js";
|
|
11
11
|
import {
|
|
12
12
|
Separator2
|
|
13
13
|
} from "../../chunk-52aadmkc.js";
|
|
@@ -213,7 +213,7 @@ function SplitView({
|
|
|
213
213
|
openSize.current = size.inPixels;
|
|
214
214
|
},
|
|
215
215
|
defaultSize: openSize.current,
|
|
216
|
-
groupResizeBehavior: "preserve-pixel-size",
|
|
216
|
+
groupResizeBehavior: sidebarExpanded ? "preserve-relative-size" : "preserve-pixel-size",
|
|
217
217
|
minSize: minSidebarSize,
|
|
218
218
|
maxSize: maxSidebarSize,
|
|
219
219
|
children: sidebarSlot
|
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.192",
|
|
2055
2055
|
description: "Sharp, monospace React components with compact, comfortable, and touch densities.",
|
|
2056
2056
|
license: "MIT",
|
|
2057
2057
|
repository: {
|