@alexgorbatchev/shadcn 0.0.175 → 0.0.177
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-zvvs917e.js → chunk-010hp4k9.js} +1 -1
- package/dist/{chunk-tjy21ppg.js → chunk-2pjgj1pn.js} +2 -2
- package/dist/{chunk-1n63jgaq.js → chunk-2ppdgpwt.js} +4 -4
- package/dist/{chunk-pbyj8rja.js → chunk-3vme6asz.js} +1 -1
- package/dist/{chunk-26t5yajy.js → chunk-4fdcjb73.js} +18 -7
- package/dist/{chunk-0evygc14.js → chunk-99086h5y.js} +1 -1
- package/dist/{chunk-2hahvm8t.js → chunk-9gh1vxcp.js} +8 -8
- package/dist/{chunk-my884zez.js → chunk-9rhmytrk.js} +1 -1
- package/dist/{chunk-dthve8hk.js → chunk-asp04tyc.js} +1 -1
- package/dist/{chunk-bvzjbk43.js → chunk-b28egcxt.js} +2 -2
- package/dist/{chunk-tqwb4mfs.js → chunk-bx9s8n7h.js} +1 -1
- package/dist/{chunk-e4bd3aax.js → chunk-c5z3zkh7.js} +1 -1
- package/dist/{chunk-9crjmpxq.js → chunk-c78ze1d9.js} +2 -2
- package/dist/{chunk-jjxrk4vk.js → chunk-cfqn6fxt.js} +2 -2
- package/dist/{chunk-f7sjzbtx.js → chunk-eets6334.js} +1 -1
- package/dist/{chunk-ggek1mdz.js → chunk-em42ypzv.js} +33 -10
- package/dist/{chunk-vspw38yj.js → chunk-ensvs5mj.js} +2 -2
- package/dist/{chunk-cc35g6sr.js → chunk-fs7g0ys5.js} +1 -1
- package/dist/{chunk-s731w97q.js → chunk-g4q8555z.js} +1 -1
- package/dist/{chunk-21pbbe1z.js → chunk-gaxdgfm9.js} +1 -1
- package/dist/{chunk-d3x4abk0.js → chunk-j5gaa3qq.js} +1 -1
- package/dist/{chunk-trahv0ax.js → chunk-jpywbx5p.js} +2 -2
- package/dist/{chunk-a7ktat27.js → chunk-ks3c6erk.js} +1 -1
- package/dist/{chunk-55vpb7v2.js → chunk-nqvemk3q.js} +1 -1
- package/dist/{chunk-6cf0q7v2.js → chunk-p96v9t9q.js} +1 -1
- package/dist/{chunk-v0mygtss.js → chunk-scas6etd.js} +1 -1
- package/dist/{chunk-sv7343sv.js → chunk-stkypf55.js} +1 -1
- package/dist/{chunk-5xekygak.js → chunk-t58fms99.js} +1 -1
- package/dist/{chunk-r6c6a6vj.js → chunk-tyjyqe6n.js} +1 -1
- package/dist/{chunk-f5e7ez2z.js → chunk-v6gt2jzw.js} +3 -3
- package/dist/{chunk-z4gg2ny5.js → chunk-x1tachv6.js} +1 -1
- package/dist/chunk-yz1ft8hs.js +24 -0
- package/dist/{chunk-nhn079xz.js → chunk-zrrmttha.js} +2 -2
- package/dist/components/Bubble.d.ts +2 -1
- package/dist/components/Field.d.ts +5 -2
- package/dist/components/assistant-ui/elements/CommandPalette.js +3 -3
- package/dist/components/assistant-ui/elements/ComposerCommandItem.js +3 -3
- package/dist/components/assistant-ui/elements/ComposerMenuItem.js +2 -2
- package/dist/components/assistant-ui/elements/ComposerModelItem.js +3 -3
- package/dist/components/assistant-ui/elements/ComposerPersonItem.js +3 -3
- package/dist/components/assistant-ui/elements/EditMessage.js +2 -2
- package/dist/components/assistant-ui/elements/ElicitationForm.js +3 -3
- package/dist/components/assistant-ui/elements/FeedbackDialog.js +3 -3
- package/dist/components/assistant-ui/elements/MessageActions.js +2 -2
- package/dist/components/assistant-ui/elements/ModelPicker.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/elements/ReasoningEffort.js +2 -2
- package/dist/components/assistant-ui/elements/ScheduleCard.js +2 -2
- package/dist/components/assistant-ui/elements/SettingsPanel.js +3 -3
- package/dist/components/assistant-ui/index.js +28 -28
- package/dist/components/assistant-ui/native/ModelSelector.js +10 -10
- package/dist/components/assistant-ui/native/index.js +10 -10
- package/dist/components/assistant-ui/utils/diffViewer/constants.d.ts +2 -2
- package/dist/components/command/index.js +1 -1
- package/dist/components/event-calendar/index.js +1 -1
- package/dist/components/gantt/index.js +1 -1
- package/dist/components/image-viewer/index.js +7 -7
- package/dist/components/input-otp/index.js +1 -1
- package/dist/components/json-render/index.js +11 -11
- package/dist/components/resizable/index.js +1 -1
- package/dist/components/tree/TreeItem.d.ts +1 -1
- package/dist/components/tree/index.js +15 -10
- package/dist/index.js +9 -9
- package/dist/prototype.js +1 -1
- package/package.json +1 -1
- package/dist/chunk-g187prhe.js +0 -24
|
@@ -16,7 +16,7 @@ import {
|
|
|
16
16
|
Toggle2,
|
|
17
17
|
ToggleGroup2,
|
|
18
18
|
ToggleGroupItem2
|
|
19
|
-
} from "../../chunk-
|
|
19
|
+
} from "../../chunk-3vme6asz.js";
|
|
20
20
|
import {
|
|
21
21
|
ThemeContext
|
|
22
22
|
} from "../../chunk-dpedhp0c.js";
|
|
@@ -27,7 +27,7 @@ import {
|
|
|
27
27
|
import {
|
|
28
28
|
Field2,
|
|
29
29
|
FieldLabel2
|
|
30
|
-
} from "../../chunk-
|
|
30
|
+
} from "../../chunk-2pjgj1pn.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-stkypf55.js";
|
|
52
52
|
import"../../chunk-5mydsjp3.js";
|
|
53
53
|
|
|
54
54
|
// src/components/image-viewer/ImageViewer.tsx
|
|
@@ -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,
|
|
@@ -69,13 +69,13 @@ import {
|
|
|
69
69
|
import {
|
|
70
70
|
Field2,
|
|
71
71
|
FieldLabel2
|
|
72
|
-
} from "../../chunk-
|
|
72
|
+
} from "../../chunk-2pjgj1pn.js";
|
|
73
73
|
import {
|
|
74
74
|
Slider2
|
|
75
|
-
} from "../../chunk-
|
|
75
|
+
} from "../../chunk-nqvemk3q.js";
|
|
76
76
|
import {
|
|
77
77
|
Switch2
|
|
78
|
-
} from "../../chunk-
|
|
78
|
+
} from "../../chunk-stkypf55.js";
|
|
79
79
|
import {
|
|
80
80
|
Textarea2
|
|
81
81
|
} from "../../chunk-vfgp11y4.js";
|
|
@@ -100,7 +100,7 @@ import {
|
|
|
100
100
|
TabsList2,
|
|
101
101
|
TabsTrigger2,
|
|
102
102
|
TabsContent2
|
|
103
|
-
} from "../../chunk-
|
|
103
|
+
} from "../../chunk-c78ze1d9.js";
|
|
104
104
|
import"../../chunk-4e96tpw0.js";
|
|
105
105
|
import {
|
|
106
106
|
Checkbox2
|
|
@@ -118,14 +118,14 @@ 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 {
|
|
125
125
|
Toggle2,
|
|
126
126
|
ToggleGroup2,
|
|
127
127
|
ToggleGroupItem2
|
|
128
|
-
} from "../../chunk-
|
|
128
|
+
} from "../../chunk-3vme6asz.js";
|
|
129
129
|
import {
|
|
130
130
|
Avatar2,
|
|
131
131
|
AvatarImage2,
|
|
@@ -151,14 +151,14 @@ import {
|
|
|
151
151
|
TableCell2,
|
|
152
152
|
TableCaption2
|
|
153
153
|
} from "../../chunk-qn4a3gg4.js";
|
|
154
|
-
import"../../chunk-
|
|
154
|
+
import"../../chunk-yz1ft8hs.js";
|
|
155
155
|
import"../../chunk-m4geb1s5.js";
|
|
156
156
|
import"../../chunk-9ecf92s6.js";
|
|
157
157
|
import"../../chunk-rgh3yp6f.js";
|
|
158
158
|
import"../../chunk-tcefvfr8.js";
|
|
159
159
|
import"../../chunk-38barrma.js";
|
|
160
160
|
import"../../chunk-5nch5bsy.js";
|
|
161
|
-
import"../../chunk-
|
|
161
|
+
import"../../chunk-b28egcxt.js";
|
|
162
162
|
import {
|
|
163
163
|
Carousel2,
|
|
164
164
|
CarouselContent2,
|
|
@@ -1197,10 +1197,10 @@ var JsonSwitch = ({ props, bindings, emit }) => {
|
|
|
1197
1197
|
/* @__PURE__ */ jsx29(JsonFieldTags, {
|
|
1198
1198
|
field
|
|
1199
1199
|
}),
|
|
1200
|
-
isNotSet && /* @__PURE__ */ jsx29(
|
|
1200
|
+
isNotSet && /* @__PURE__ */ jsx29(Badge2, {
|
|
1201
1201
|
id: notSetId,
|
|
1202
|
+
variant: "outline",
|
|
1202
1203
|
"data-slot": "json-field-not-set",
|
|
1203
|
-
className: "shrink-0 text-sm whitespace-nowrap text-muted-foreground",
|
|
1204
1204
|
children: NOT_SET_TEXT
|
|
1205
1205
|
})
|
|
1206
1206
|
]
|
|
@@ -84,7 +84,7 @@ export declare function TreeItemAction({ variant, size, ...props }: TreeItemActi
|
|
|
84
84
|
* A row's hand-back state, drawn by `TreeItemStatusIcon`: two waiting states, waiting with unsent answers, failed,
|
|
85
85
|
* held for an Undo window, handed back, and handed back with unsent changes.
|
|
86
86
|
*/
|
|
87
|
-
export type TreeItemStatus = "needs-answers" | "needs-review" | "unsent" | "failed" | "held" | "handed-back" | "handed-back-unsent";
|
|
87
|
+
export type TreeItemStatus = "needs-answers" | "needs-review" | "unsent" | "failed" | "held" | "handed-back" | "handed-back-unsent" | "archived";
|
|
88
88
|
interface ITreeItemStatusIconProps {
|
|
89
89
|
status: TreeItemStatus;
|
|
90
90
|
className?: string;
|
|
@@ -6,7 +6,7 @@ import {
|
|
|
6
6
|
} from "../../chunk-en44w1pn.js";
|
|
7
7
|
import {
|
|
8
8
|
StatusDot2
|
|
9
|
-
} from "../../chunk-
|
|
9
|
+
} from "../../chunk-b28egcxt.js";
|
|
10
10
|
import"../../chunk-8ssktt4b.js";
|
|
11
11
|
import"../../chunk-e6hk39ev.js";
|
|
12
12
|
import"../../chunk-x90xmrba.js";
|
|
@@ -29,6 +29,7 @@ import {
|
|
|
29
29
|
import { mergeProps } from "@base-ui/react/merge-props";
|
|
30
30
|
import { useRender } from "@base-ui/react/use-render";
|
|
31
31
|
import {
|
|
32
|
+
ArchiveIcon,
|
|
32
33
|
ChevronRightIcon,
|
|
33
34
|
CircleAlertIcon,
|
|
34
35
|
CircleCheckIcon,
|
|
@@ -62,7 +63,8 @@ var STATUS_ICONS = {
|
|
|
62
63
|
failed: CircleAlertIcon,
|
|
63
64
|
held: HourglassIcon,
|
|
64
65
|
"handed-back": CircleCheckIcon,
|
|
65
|
-
"handed-back-unsent": CircleCheckIcon
|
|
66
|
+
"handed-back-unsent": CircleCheckIcon,
|
|
67
|
+
archived: ArchiveIcon
|
|
66
68
|
};
|
|
67
69
|
function TreeItemStatusIcon({ status, className }) {
|
|
68
70
|
const Icon = STATUS_ICONS[status];
|
|
@@ -195,7 +197,7 @@ function TreeItem({
|
|
|
195
197
|
props: mergeProps({
|
|
196
198
|
...nativeProps,
|
|
197
199
|
ref: undefined,
|
|
198
|
-
className: cn2("flex min-w-0 flex-1 items-center gap-2 self-stretch -my-1 py-1 outline-none focus-visible:ring-2 focus-visible:ring-ring", faded),
|
|
200
|
+
className: cn2("flex min-w-0 flex-1 items-center gap-2 self-stretch -my-1 py-1 outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-inset", faded),
|
|
199
201
|
children: label,
|
|
200
202
|
onFocus: () => item.setFocused(),
|
|
201
203
|
onClick: (event) => {
|
|
@@ -249,7 +251,7 @@ function TreeItem({
|
|
|
249
251
|
onDragStart: undefined
|
|
250
252
|
} : {},
|
|
251
253
|
style: { paddingInlineStart: `${item.getItemMeta().level * (item.getTree().getConfig().indent ?? 20) + 8}px` },
|
|
252
|
-
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", (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"), 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"),
|
|
253
255
|
children: /* @__PURE__ */ jsxs(Fragment, {
|
|
254
256
|
children: [
|
|
255
257
|
item.isFolder() && expandOn === "disclosure" ? /* @__PURE__ */ jsx(Button2, {
|
|
@@ -269,15 +271,18 @@ function TreeItem({
|
|
|
269
271
|
children: /* @__PURE__ */ jsx(ChevronRightIcon, {
|
|
270
272
|
className: cn2(isExpanded && "rotate-90")
|
|
271
273
|
})
|
|
272
|
-
}) : item.isFolder() ? /* @__PURE__ */ jsx(
|
|
274
|
+
}) : item.isFolder() ? /* @__PURE__ */ jsx("span", {
|
|
273
275
|
"aria-hidden": "true",
|
|
274
|
-
className: cn2("size-
|
|
275
|
-
|
|
276
|
-
|
|
277
|
-
|
|
276
|
+
className: cn2("inline-flex size-4 shrink-0 items-center justify-center", faded),
|
|
277
|
+
children: /* @__PURE__ */ jsx(ChevronRightIcon, {
|
|
278
|
+
className: cn2("size-3.5", isExpanded && "rotate-90")
|
|
279
|
+
})
|
|
280
|
+
}) : leading === undefined ? /* @__PURE__ */ jsx("span", {
|
|
281
|
+
className: cn2("shrink-0", expandOn === "disclosure" ? "size-control-xs" : "size-4")
|
|
282
|
+
}) : null,
|
|
278
283
|
leading !== undefined && /* @__PURE__ */ jsx("div", {
|
|
279
284
|
"data-slot": "tree-item-leading",
|
|
280
|
-
className: cn2("flex
|
|
285
|
+
className: cn2("flex shrink-0 items-center justify-center", expandOn === "disclosure" ? "size-control-xs" : "size-4 has-[>button]:size-control-xs", faded),
|
|
281
286
|
onClick: (event) => event.stopPropagation(),
|
|
282
287
|
onDoubleClick: (event) => event.stopPropagation(),
|
|
283
288
|
onKeyDown: (event) => event.stopPropagation(),
|
package/dist/index.js
CHANGED
|
@@ -188,11 +188,11 @@ 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
|
|
195
|
-
} from "./chunk-
|
|
195
|
+
} from "./chunk-b28egcxt.js";
|
|
196
196
|
import {
|
|
197
197
|
Combobox2,
|
|
198
198
|
ComboboxValue2,
|
|
@@ -225,7 +225,7 @@ import {
|
|
|
225
225
|
useDropTarget2,
|
|
226
226
|
DropTarget2,
|
|
227
227
|
Kanban2
|
|
228
|
-
} from "./chunk-
|
|
228
|
+
} from "./chunk-c78ze1d9.js";
|
|
229
229
|
import {
|
|
230
230
|
NumberField2,
|
|
231
231
|
NumberFieldGroup2,
|
|
@@ -245,7 +245,7 @@ import {
|
|
|
245
245
|
} from "./chunk-5nch5bsy.js";
|
|
246
246
|
import {
|
|
247
247
|
Slider2
|
|
248
|
-
} from "./chunk-
|
|
248
|
+
} from "./chunk-nqvemk3q.js";
|
|
249
249
|
import {
|
|
250
250
|
MenuPortal,
|
|
251
251
|
MenuPopup,
|
|
@@ -301,17 +301,17 @@ import {
|
|
|
301
301
|
Toggle2,
|
|
302
302
|
ToggleGroup2,
|
|
303
303
|
ToggleGroupItem2
|
|
304
|
-
} from "./chunk-
|
|
304
|
+
} from "./chunk-3vme6asz.js";
|
|
305
305
|
import {
|
|
306
306
|
Checkbox2
|
|
307
307
|
} from "./chunk-b5s5y5wq.js";
|
|
308
308
|
import {
|
|
309
309
|
Kbd2,
|
|
310
310
|
KbdGroup2
|
|
311
|
-
} from "./chunk-
|
|
311
|
+
} from "./chunk-yz1ft8hs.js";
|
|
312
312
|
import {
|
|
313
313
|
Switch2
|
|
314
|
-
} from "./chunk-
|
|
314
|
+
} from "./chunk-stkypf55.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-2pjgj1pn.js";
|
|
340
340
|
import {
|
|
341
341
|
Spinner2
|
|
342
342
|
} from "./chunk-t3p4dn1p.js";
|
|
@@ -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.177",
|
|
2055
2055
|
description: "Sharp, monospace React components with compact, comfortable, and touch densities.",
|
|
2056
2056
|
license: "MIT",
|
|
2057
2057
|
repository: {
|
package/package.json
CHANGED
package/dist/chunk-g187prhe.js
DELETED
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
import {
|
|
2
|
-
cn2
|
|
3
|
-
} from "./chunk-en44w1pn.js";
|
|
4
|
-
|
|
5
|
-
// src/components/Kbd.tsx
|
|
6
|
-
import { jsx } from "react/jsx-runtime";
|
|
7
|
-
function Kbd2({ density, className, ...props }) {
|
|
8
|
-
return /* @__PURE__ */ jsx("kbd", {
|
|
9
|
-
"data-density": density,
|
|
10
|
-
"data-slot": "kbd",
|
|
11
|
-
className: cn2("pointer-events-none inline-flex h-tag w-fit min-w-5 items-center justify-center gap-1 rounded-sm bg-muted px-1 font-sans text-xs font-medium text-muted-foreground select-none in-data-[size=xs]:h-auto in-data-[size=xs]:min-w-4 in-data-[size=xs]:px-1 in-data-[size=xs]:py-0.5 in-data-[size=xs]:text-[10px] in-data-[size=xs]:leading-none in-data-[slot=tooltip-content]:bg-muted in-data-[slot=tooltip-content]:text-foreground in-data-[variant=default]:bg-primary-foreground/15 in-data-[variant=default]:text-primary-foreground in-data-[variant=success]:bg-success-foreground/15 in-data-[variant=success]:text-success-foreground in-data-[variant=warning]:bg-warning-foreground/15 in-data-[variant=warning]:text-warning-foreground [&_svg:not([class*='size-'])]:size-3", className),
|
|
12
|
-
...props
|
|
13
|
-
});
|
|
14
|
-
}
|
|
15
|
-
function KbdGroup2({ density, className, ...props }) {
|
|
16
|
-
return /* @__PURE__ */ jsx("kbd", {
|
|
17
|
-
"data-density": density,
|
|
18
|
-
"data-slot": "kbd-group",
|
|
19
|
-
className: cn2("inline-flex items-center gap-1", className),
|
|
20
|
-
...props
|
|
21
|
-
});
|
|
22
|
-
}
|
|
23
|
-
|
|
24
|
-
export { Kbd2, KbdGroup2 };
|