@alexgorbatchev/shadcn 0.0.99 → 0.0.100
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-t0t1c3a7.js → chunk-02220n6y.js} +1 -1
- package/dist/{chunk-dd2tnvgv.js → chunk-es5wc0hy.js} +1 -1
- package/dist/{chunk-nj2shejq.js → chunk-k7bg5ahv.js} +1 -1
- package/dist/{chunk-r3yp5xm2.js → chunk-yp77c8zn.js} +1 -1
- package/dist/{chunk-p6z2m3zp.js → chunk-yw9j9sj6.js} +2 -2
- package/dist/{chunk-xe4hy1wj.js → chunk-zt1x0wyq.js} +1 -1
- package/dist/components/assistant-ui/native/McpConfigDialog.js +2 -2
- package/dist/components/assistant-ui/native/index.js +2 -2
- package/dist/components/calendar/index.js +2 -2
- package/dist/components/data-grid/index.js +2 -2
- package/dist/components/gantt/index.js +2 -2
- package/dist/components/json-render/index.js +3 -3
- package/dist/components/persian-calendar/index.js +2 -2
- package/dist/components/virtual-data-grid/index.js +2 -2
- package/dist/index.js +3 -3
- package/dist/prototype.js +1 -1
- package/llms/components/forms/Select.md +20 -0
- package/package.json +1 -1
|
@@ -96,7 +96,7 @@ function SelectContent2({
|
|
|
96
96
|
"data-density": resolvedDensity,
|
|
97
97
|
"data-slot": "select-content",
|
|
98
98
|
"data-align-trigger": alignItemWithTrigger,
|
|
99
|
-
className: (state) => cn2("relative isolate max-h-(--available-height) w-(--anchor-width)
|
|
99
|
+
className: (state) => cn2("relative isolate max-h-(--available-height) w-max min-w-[max(--spacing(36),var(--anchor-width))] max-w-(--available-width) origin-(--transform-origin) overflow-x-hidden overflow-y-auto rounded-md bg-popover text-popover-foreground border border-frame-edge shadow-frame duration-120 data-[align-trigger=true]:animate-none data-open:animate-in data-open:fade-in-0 data-closed:animate-out data-closed:fade-out-0 motion-reduce:animate-none", typeof className === "function" ? className(state) : className),
|
|
100
100
|
...props,
|
|
101
101
|
children: [
|
|
102
102
|
/* @__PURE__ */ jsx(SelectScrollUpButton2, {}),
|
|
@@ -126,7 +126,7 @@ function SelectItem2({ density, className, children, ...props }) {
|
|
|
126
126
|
...props,
|
|
127
127
|
children: [
|
|
128
128
|
/* @__PURE__ */ jsx(SelectPrimitive.ItemText, {
|
|
129
|
-
className: "flex flex-1
|
|
129
|
+
className: "flex min-w-0 flex-1 gap-2 wrap-break-word",
|
|
130
130
|
children
|
|
131
131
|
}),
|
|
132
132
|
/* @__PURE__ */ jsx(SelectPrimitive.ItemIndicator, {
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import {
|
|
2
2
|
McpConfigDialog2
|
|
3
|
-
} from "../../../chunk-
|
|
3
|
+
} from "../../../chunk-yp77c8zn.js";
|
|
4
4
|
import"../../../chunk-m4geb1s5.js";
|
|
5
5
|
import"../../../chunk-9t530p75.js";
|
|
6
6
|
import"../../../chunk-m32ptxf3.js";
|
|
7
7
|
import"../../../chunk-tcefvfr8.js";
|
|
8
|
-
import"../../../chunk-
|
|
8
|
+
import"../../../chunk-yw9j9sj6.js";
|
|
9
9
|
import"../../../chunk-xyttc32e.js";
|
|
10
10
|
import"../../../chunk-7vg045gd.js";
|
|
11
11
|
import"../../../chunk-7jpsybag.js";
|
|
@@ -133,12 +133,12 @@ import"../../../chunk-dyg4pwcd.js";
|
|
|
133
133
|
import {
|
|
134
134
|
DirectiveText2
|
|
135
135
|
} from "../../../chunk-n8n3gp71.js";
|
|
136
|
-
import"../../../chunk-
|
|
136
|
+
import"../../../chunk-yw9j9sj6.js";
|
|
137
137
|
import"../../../chunk-m32ptxf3.js";
|
|
138
138
|
import"../../../chunk-52aadmkc.js";
|
|
139
139
|
import {
|
|
140
140
|
McpConfigDialog2
|
|
141
|
-
} from "../../../chunk-
|
|
141
|
+
} from "../../../chunk-yp77c8zn.js";
|
|
142
142
|
import"../../../chunk-59emaywr.js";
|
|
143
143
|
import"../../../chunk-22ybn8qf.js";
|
|
144
144
|
import {
|
|
@@ -7,7 +7,7 @@ import {
|
|
|
7
7
|
DataGridColumnHeader2,
|
|
8
8
|
DataGridFilter2,
|
|
9
9
|
DataGridPagination2
|
|
10
|
-
} from "../../chunk-
|
|
10
|
+
} from "../../chunk-k7bg5ahv.js";
|
|
11
11
|
import"../../chunk-7ny0vyek.js";
|
|
12
12
|
import"../../chunk-8ssktt4b.js";
|
|
13
13
|
import"../../chunk-en44w1pn.js";
|
|
@@ -18,7 +18,7 @@ import {
|
|
|
18
18
|
Button2
|
|
19
19
|
} from "../../chunk-32t5kc0y.js";
|
|
20
20
|
import"../../chunk-qn4a3gg4.js";
|
|
21
|
-
import"../../chunk-
|
|
21
|
+
import"../../chunk-yw9j9sj6.js";
|
|
22
22
|
import"../../chunk-7jpsybag.js";
|
|
23
23
|
import"../../chunk-7vg045gd.js";
|
|
24
24
|
import {
|
|
@@ -7,7 +7,7 @@ import {
|
|
|
7
7
|
DragSource2,
|
|
8
8
|
DropTarget2,
|
|
9
9
|
Kanban2
|
|
10
|
-
} from "../../chunk-
|
|
10
|
+
} from "../../chunk-02220n6y.js";
|
|
11
11
|
import"../../chunk-en44w1pn.js";
|
|
12
12
|
import"../../chunk-9t530p75.js";
|
|
13
13
|
import"../../chunk-7ny0vyek.js";
|
|
@@ -20,7 +20,7 @@ import {
|
|
|
20
20
|
} from "../../chunk-32t5kc0y.js";
|
|
21
21
|
import {
|
|
22
22
|
OptionSelect2
|
|
23
|
-
} from "../../chunk-
|
|
23
|
+
} from "../../chunk-yw9j9sj6.js";
|
|
24
24
|
import {
|
|
25
25
|
Table2,
|
|
26
26
|
TableHeader2,
|
|
@@ -26,7 +26,7 @@ import {
|
|
|
26
26
|
PaginationPrevious2,
|
|
27
27
|
PaginationNext2,
|
|
28
28
|
PaginationEllipsis2
|
|
29
|
-
} from "../../chunk-
|
|
29
|
+
} from "../../chunk-es5wc0hy.js";
|
|
30
30
|
import {
|
|
31
31
|
MenuPopup,
|
|
32
32
|
MenuItem2,
|
|
@@ -98,7 +98,7 @@ import {
|
|
|
98
98
|
TabsList2,
|
|
99
99
|
TabsTrigger2,
|
|
100
100
|
TabsContent2
|
|
101
|
-
} from "../../chunk-
|
|
101
|
+
} from "../../chunk-02220n6y.js";
|
|
102
102
|
import"../../chunk-4e96tpw0.js";
|
|
103
103
|
import {
|
|
104
104
|
Checkbox2
|
|
@@ -109,7 +109,7 @@ import {
|
|
|
109
109
|
SelectTrigger2,
|
|
110
110
|
SelectContent2,
|
|
111
111
|
SelectItem2
|
|
112
|
-
} from "../../chunk-
|
|
112
|
+
} from "../../chunk-yw9j9sj6.js";
|
|
113
113
|
import"../../chunk-1j2hz3w9.js";
|
|
114
114
|
import {
|
|
115
115
|
Drawer2,
|
|
@@ -11,8 +11,8 @@ import {
|
|
|
11
11
|
getCalendarClassNames,
|
|
12
12
|
CalendarDayButton2,
|
|
13
13
|
CalendarDropdown
|
|
14
|
-
} from "../../chunk-
|
|
15
|
-
import"../../chunk-
|
|
14
|
+
} from "../../chunk-zt1x0wyq.js";
|
|
15
|
+
import"../../chunk-yw9j9sj6.js";
|
|
16
16
|
import {
|
|
17
17
|
useAnalyticsCallback
|
|
18
18
|
} from "../../chunk-5mydsjp3.js";
|
|
@@ -10,14 +10,14 @@ import {
|
|
|
10
10
|
DataGridHeaderRows,
|
|
11
11
|
DataGridCells2,
|
|
12
12
|
DataGridColumns
|
|
13
|
-
} from "../../chunk-
|
|
13
|
+
} from "../../chunk-k7bg5ahv.js";
|
|
14
14
|
import"../../chunk-7ny0vyek.js";
|
|
15
15
|
import"../../chunk-8ssktt4b.js";
|
|
16
16
|
import"../../chunk-e6hk39ev.js";
|
|
17
17
|
import"../../chunk-x90xmrba.js";
|
|
18
18
|
import"../../chunk-jpvw9xqy.js";
|
|
19
19
|
import"../../chunk-32t5kc0y.js";
|
|
20
|
-
import"../../chunk-
|
|
20
|
+
import"../../chunk-yw9j9sj6.js";
|
|
21
21
|
import"../../chunk-7jpsybag.js";
|
|
22
22
|
import"../../chunk-7vg045gd.js";
|
|
23
23
|
import {
|
package/dist/index.js
CHANGED
|
@@ -165,7 +165,7 @@ import {
|
|
|
165
165
|
StatusTracker2,
|
|
166
166
|
DashboardLayout2,
|
|
167
167
|
BillingUsage2
|
|
168
|
-
} from "./chunk-
|
|
168
|
+
} from "./chunk-es5wc0hy.js";
|
|
169
169
|
import {
|
|
170
170
|
Combobox2,
|
|
171
171
|
ComboboxValue2,
|
|
@@ -205,7 +205,7 @@ import {
|
|
|
205
205
|
useDropTarget2,
|
|
206
206
|
DropTarget2,
|
|
207
207
|
Kanban2
|
|
208
|
-
} from "./chunk-
|
|
208
|
+
} from "./chunk-02220n6y.js";
|
|
209
209
|
import {
|
|
210
210
|
Toolbar2,
|
|
211
211
|
ToolbarButton2,
|
|
@@ -404,7 +404,7 @@ import {
|
|
|
404
404
|
SelectScrollUpButton2,
|
|
405
405
|
SelectScrollDownButton2,
|
|
406
406
|
OptionSelect2
|
|
407
|
-
} from "./chunk-
|
|
407
|
+
} from "./chunk-yw9j9sj6.js";
|
|
408
408
|
import {
|
|
409
409
|
Dialog2,
|
|
410
410
|
DialogTrigger2,
|
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.100",
|
|
2055
2055
|
description: "Sharp, monospace React components with compact and comfortable densities.",
|
|
2056
2056
|
license: "MIT",
|
|
2057
2057
|
repository: {
|
|
@@ -573,3 +573,23 @@ Storybook CSF excerpts. Default args and render apply unless overridden. Local h
|
|
|
573
573
|
]
|
|
574
574
|
}
|
|
575
575
|
```
|
|
576
|
+
|
|
577
|
+
### LongItems
|
|
578
|
+
|
|
579
|
+
```tsx
|
|
580
|
+
{
|
|
581
|
+
args: { items: fixture_longItems },
|
|
582
|
+
render: (args) => (<div className="w-80">
|
|
583
|
+
<Select {...args}>
|
|
584
|
+
<SelectTrigger aria-label="Decision">
|
|
585
|
+
<SelectValue placeholder="Choose"/>
|
|
586
|
+
</SelectTrigger>
|
|
587
|
+
<SelectContent>
|
|
588
|
+
{fixture_longItems.map((item) => (<SelectItem key={item.value} value={item.value}>
|
|
589
|
+
{item.label}
|
|
590
|
+
</SelectItem>))}
|
|
591
|
+
</SelectContent>
|
|
592
|
+
</Select>
|
|
593
|
+
</div>)
|
|
594
|
+
}
|
|
595
|
+
```
|