@pixpilot/shadcn 0.1.0
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/LICENSE +21 -0
- package/README.md +3 -0
- package/dist/OrContinueWithSeparator-BvOMy_0X.d.ts +11 -0
- package/dist/OrContinueWithSeparator-Cs96m5UB.js +28 -0
- package/dist/alert-DUygh_xL.d.ts +24 -0
- package/dist/alert-DuQQzE0M.js +39 -0
- package/dist/alert-dialog-BQBvTsjx.d.ts +48 -0
- package/dist/avatar-4_qFkDQq.d.ts +19 -0
- package/dist/avatar-DWlyZZC1.js +31 -0
- package/dist/badge-BtexTWYL.d.ts +19 -0
- package/dist/badge-ChGpGKfr.js +27 -0
- package/dist/button-BlGZakU_.d.ts +21 -0
- package/dist/button-CoM3CepB.js +46 -0
- package/dist/calendar-5J34tX7L.js +107 -0
- package/dist/calendar-DK_qW8tK.d.ts +26 -0
- package/dist/card-8btbTKaB.d.ts +34 -0
- package/dist/card-Bf0-1Hox.js +58 -0
- package/dist/checkbox-BfAe26dy.d.ts +11 -0
- package/dist/checkbox-ChqHvI5Y.js +23 -0
- package/dist/command-BzJMrpFw.js +88 -0
- package/dist/command-CTOqnzSx.d.ts +52 -0
- package/dist/components/index-DVJl6H4Z.d.ts +30 -0
- package/dist/components/index.js +33 -0
- package/dist/components/ui/OrContinueWithSeparator-DT1kKIwU.d.ts +2 -0
- package/dist/components/ui/OrContinueWithSeparator.js +7 -0
- package/dist/components/ui/alert-Dnyd20KB.d.ts +2 -0
- package/dist/components/ui/alert-dialog-D6vR-1Jz.d.ts +2 -0
- package/dist/components/ui/alert-dialog.js +35 -0
- package/dist/components/ui/alert.js +6 -0
- package/dist/components/ui/avatar-CBM6Rxkl.d.ts +2 -0
- package/dist/components/ui/avatar.js +6 -0
- package/dist/components/ui/badge-tZQG9OGU.d.ts +2 -0
- package/dist/components/ui/badge.js +6 -0
- package/dist/components/ui/button-B1jOU2SH.d.ts +2 -0
- package/dist/components/ui/button.js +6 -0
- package/dist/components/ui/calendar-CJJGD2Mp.d.ts +2 -0
- package/dist/components/ui/calendar.js +7 -0
- package/dist/components/ui/card-Dw7UFh1G.d.ts +2 -0
- package/dist/components/ui/card.js +6 -0
- package/dist/components/ui/checkbox-B4Zt92ES.d.ts +2 -0
- package/dist/components/ui/checkbox.js +8 -0
- package/dist/components/ui/command-Bo9iT_Mm.d.ts +2 -0
- package/dist/components/ui/command.js +9 -0
- package/dist/components/ui/dialog-DwFy7VXb.d.ts +2 -0
- package/dist/components/ui/dialog.js +6 -0
- package/dist/components/ui/dropdown-menu-CUC5b1yi.d.ts +2 -0
- package/dist/components/ui/dropdown-menu.js +6 -0
- package/dist/components/ui/file-upload-BKYxasJe.d.ts +2 -0
- package/dist/components/ui/file-upload.js +8 -0
- package/dist/components/ui/form-Ui-fGegs.d.ts +2 -0
- package/dist/components/ui/form.js +7 -0
- package/dist/components/ui/index-BDJfgHZT.d.ts +30 -0
- package/dist/components/ui/index.js +33 -0
- package/dist/components/ui/input-O6aZyiJl.d.ts +2 -0
- package/dist/components/ui/input.js +6 -0
- package/dist/components/ui/label-CiFY9QCm.d.ts +2 -0
- package/dist/components/ui/label.js +6 -0
- package/dist/components/ui/pagination-CLlEoufd.d.ts +2 -0
- package/dist/components/ui/pagination.js +33 -0
- package/dist/components/ui/popover-BuE9HJFI.d.ts +2 -0
- package/dist/components/ui/popover.js +6 -0
- package/dist/components/ui/radio-group-BNV5xVaA.d.ts +2 -0
- package/dist/components/ui/radio-group.js +6 -0
- package/dist/components/ui/select-BAT_xUS6.d.ts +2 -0
- package/dist/components/ui/select.js +8 -0
- package/dist/components/ui/separator-rI7QiaxO.d.ts +2 -0
- package/dist/components/ui/separator.js +6 -0
- package/dist/components/ui/shadcn-io/tags/index-NcbrE1RX.d.ts +2 -0
- package/dist/components/ui/shadcn-io/tags/index.js +13 -0
- package/dist/components/ui/shadcn-io/tags-input-inline/index-CAYAMlWT.d.ts +2 -0
- package/dist/components/ui/shadcn-io/tags-input-inline/index.js +5 -0
- package/dist/components/ui/sheet-CPsrps2C.d.ts +2 -0
- package/dist/components/ui/sheet.js +6 -0
- package/dist/components/ui/slider-DqROXr79.d.ts +2 -0
- package/dist/components/ui/slider.js +6 -0
- package/dist/components/ui/switch-BF2c_Zn9.d.ts +2 -0
- package/dist/components/ui/switch.js +8 -0
- package/dist/components/ui/tabs-DRhGRCqD.d.ts +2 -0
- package/dist/components/ui/tabs.js +6 -0
- package/dist/components/ui/textarea-BoOWHGtB.d.ts +2 -0
- package/dist/components/ui/textarea.js +6 -0
- package/dist/components/ui/tooltip-BcAxWshO.d.ts +2 -0
- package/dist/components/ui/tooltip.js +6 -0
- package/dist/dialog-C4wKr521.d.ts +47 -0
- package/dist/dialog-CnHQjTPX.js +88 -0
- package/dist/dropdown-menu-BytmAQI6.js +125 -0
- package/dist/dropdown-menu-CnrLe3nb.d.ts +77 -0
- package/dist/file-upload-BEeMesnR.js +907 -0
- package/dist/file-upload-BLSfy-1K.d.ts +94 -0
- package/dist/form-BSwltNo1.d.ts +45 -0
- package/dist/form-BjnyYpgw.js +89 -0
- package/dist/index-BSKUD7fA.d.ts +39 -0
- package/dist/index-Bpvi7gIc.d.ts +31 -0
- package/dist/index-CZUtOTjh.d.ts +1 -0
- package/dist/index-CkSrVqpn.d.ts +31 -0
- package/dist/index-DwHkYD1A.d.ts +70 -0
- package/dist/index.js +33 -0
- package/dist/input-CUeyj64L.js +17 -0
- package/dist/input-Mvgjlh3F.d.ts +11 -0
- package/dist/jsx-runtime-CjFsk39Z.js +274 -0
- package/dist/label-CaJMuv7i.d.ts +11 -0
- package/dist/label-DGznqsHm.js +17 -0
- package/dist/lib/index-ChuxSUKt.d.ts +2 -0
- package/dist/lib/index.js +4 -0
- package/dist/lib/utils-45Ez8x6p.d.ts +2 -0
- package/dist/lib/utils.js +3 -0
- package/dist/lib-B_fww26I.js +1 -0
- package/dist/popover-CV48KL0e.js +37 -0
- package/dist/popover-DpSyC3-j.d.ts +22 -0
- package/dist/radio-group-Cfa4brdK.d.ts +15 -0
- package/dist/radio-group-jaFHISZ7.js +30 -0
- package/dist/select-B3Zt7fRL.d.ts +52 -0
- package/dist/select-C96xvMSx.js +99 -0
- package/dist/separator-C71XEO3E.js +19 -0
- package/dist/separator-Cucb_6O4.d.ts +13 -0
- package/dist/sheet-B3Ak6LSw.d.ts +40 -0
- package/dist/sheet-BlZGrRNt.js +84 -0
- package/dist/slider-CdK5O4pc.js +38 -0
- package/dist/slider-D8tCfiZV.d.ts +15 -0
- package/dist/src-DQlJgy1h.js +157 -0
- package/dist/switch-Bz5Iiy2_.js +21 -0
- package/dist/switch-DXaptB6g.d.ts +11 -0
- package/dist/tabs-B0X-LEdY.d.ts +23 -0
- package/dist/tabs-BjolTUEI.js +38 -0
- package/dist/tags-BnJCu0NQ.js +131 -0
- package/dist/tags-input-inline-DnEu3Dyw.js +58 -0
- package/dist/textarea-09eXlo5q.d.ts +10 -0
- package/dist/textarea-BNZyZgAM.js +16 -0
- package/dist/tooltip-BQpFgVRJ.d.ts +23 -0
- package/dist/tooltip-CuYs-__e.js +38 -0
- package/dist/utils-D2WOFi-N.js +10 -0
- package/dist/utils-_VBxPjie.d.ts +6 -0
- package/package.json +101 -0
|
@@ -0,0 +1,274 @@
|
|
|
1
|
+
import { createRequire } from "node:module";
|
|
2
|
+
|
|
3
|
+
//#region rolldown:runtime
|
|
4
|
+
var __create = Object.create;
|
|
5
|
+
var __defProp = Object.defineProperty;
|
|
6
|
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
7
|
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
8
|
+
var __getProtoOf = Object.getPrototypeOf;
|
|
9
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
10
|
+
var __commonJSMin = (cb, mod) => () => (mod || cb((mod = { exports: {} }).exports, mod), mod.exports);
|
|
11
|
+
var __copyProps = (to, from, except, desc) => {
|
|
12
|
+
if (from && typeof from === "object" || typeof from === "function") {
|
|
13
|
+
for (var keys = __getOwnPropNames(from), i = 0, n = keys.length, key; i < n; i++) {
|
|
14
|
+
key = keys[i];
|
|
15
|
+
if (!__hasOwnProp.call(to, key) && key !== except) {
|
|
16
|
+
__defProp(to, key, {
|
|
17
|
+
get: ((k) => from[k]).bind(null, key),
|
|
18
|
+
enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable
|
|
19
|
+
});
|
|
20
|
+
}
|
|
21
|
+
}
|
|
22
|
+
}
|
|
23
|
+
return to;
|
|
24
|
+
};
|
|
25
|
+
var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", {
|
|
26
|
+
value: mod,
|
|
27
|
+
enumerable: true
|
|
28
|
+
}) : target, mod));
|
|
29
|
+
var __require = /* @__PURE__ */ createRequire(import.meta.url);
|
|
30
|
+
|
|
31
|
+
//#endregion
|
|
32
|
+
//#region ../../node_modules/.pnpm/react@19.2.0/node_modules/react/cjs/react-jsx-runtime.production.js
|
|
33
|
+
/**
|
|
34
|
+
* @license React
|
|
35
|
+
* react-jsx-runtime.production.js
|
|
36
|
+
*
|
|
37
|
+
* Copyright (c) Meta Platforms, Inc. and affiliates.
|
|
38
|
+
*
|
|
39
|
+
* This source code is licensed under the MIT license found in the
|
|
40
|
+
* LICENSE file in the root directory of this source tree.
|
|
41
|
+
*/
|
|
42
|
+
var require_react_jsx_runtime_production = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
43
|
+
var REACT_ELEMENT_TYPE = Symbol.for("react.transitional.element"), REACT_FRAGMENT_TYPE = Symbol.for("react.fragment");
|
|
44
|
+
function jsxProd(type, config, maybeKey) {
|
|
45
|
+
var key = null;
|
|
46
|
+
void 0 !== maybeKey && (key = "" + maybeKey);
|
|
47
|
+
void 0 !== config.key && (key = "" + config.key);
|
|
48
|
+
if ("key" in config) {
|
|
49
|
+
maybeKey = {};
|
|
50
|
+
for (var propName in config) "key" !== propName && (maybeKey[propName] = config[propName]);
|
|
51
|
+
} else maybeKey = config;
|
|
52
|
+
config = maybeKey.ref;
|
|
53
|
+
return {
|
|
54
|
+
$$typeof: REACT_ELEMENT_TYPE,
|
|
55
|
+
type,
|
|
56
|
+
key,
|
|
57
|
+
ref: void 0 !== config ? config : null,
|
|
58
|
+
props: maybeKey
|
|
59
|
+
};
|
|
60
|
+
}
|
|
61
|
+
exports.Fragment = REACT_FRAGMENT_TYPE;
|
|
62
|
+
exports.jsx = jsxProd;
|
|
63
|
+
exports.jsxs = jsxProd;
|
|
64
|
+
}));
|
|
65
|
+
|
|
66
|
+
//#endregion
|
|
67
|
+
//#region ../../node_modules/.pnpm/react@19.2.0/node_modules/react/cjs/react-jsx-runtime.development.js
|
|
68
|
+
/**
|
|
69
|
+
* @license React
|
|
70
|
+
* react-jsx-runtime.development.js
|
|
71
|
+
*
|
|
72
|
+
* Copyright (c) Meta Platforms, Inc. and affiliates.
|
|
73
|
+
*
|
|
74
|
+
* This source code is licensed under the MIT license found in the
|
|
75
|
+
* LICENSE file in the root directory of this source tree.
|
|
76
|
+
*/
|
|
77
|
+
var require_react_jsx_runtime_development = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
78
|
+
"production" !== process.env.NODE_ENV && (function() {
|
|
79
|
+
function getComponentNameFromType(type) {
|
|
80
|
+
if (null == type) return null;
|
|
81
|
+
if ("function" === typeof type) return type.$$typeof === REACT_CLIENT_REFERENCE ? null : type.displayName || type.name || null;
|
|
82
|
+
if ("string" === typeof type) return type;
|
|
83
|
+
switch (type) {
|
|
84
|
+
case REACT_FRAGMENT_TYPE$1: return "Fragment";
|
|
85
|
+
case REACT_PROFILER_TYPE: return "Profiler";
|
|
86
|
+
case REACT_STRICT_MODE_TYPE: return "StrictMode";
|
|
87
|
+
case REACT_SUSPENSE_TYPE: return "Suspense";
|
|
88
|
+
case REACT_SUSPENSE_LIST_TYPE: return "SuspenseList";
|
|
89
|
+
case REACT_ACTIVITY_TYPE: return "Activity";
|
|
90
|
+
}
|
|
91
|
+
if ("object" === typeof type) switch ("number" === typeof type.tag && console.error("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."), type.$$typeof) {
|
|
92
|
+
case REACT_PORTAL_TYPE: return "Portal";
|
|
93
|
+
case REACT_CONTEXT_TYPE: return type.displayName || "Context";
|
|
94
|
+
case REACT_CONSUMER_TYPE: return (type._context.displayName || "Context") + ".Consumer";
|
|
95
|
+
case REACT_FORWARD_REF_TYPE:
|
|
96
|
+
var innerType = type.render;
|
|
97
|
+
type = type.displayName;
|
|
98
|
+
type || (type = innerType.displayName || innerType.name || "", type = "" !== type ? "ForwardRef(" + type + ")" : "ForwardRef");
|
|
99
|
+
return type;
|
|
100
|
+
case REACT_MEMO_TYPE: return innerType = type.displayName || null, null !== innerType ? innerType : getComponentNameFromType(type.type) || "Memo";
|
|
101
|
+
case REACT_LAZY_TYPE:
|
|
102
|
+
innerType = type._payload;
|
|
103
|
+
type = type._init;
|
|
104
|
+
try {
|
|
105
|
+
return getComponentNameFromType(type(innerType));
|
|
106
|
+
} catch (x) {}
|
|
107
|
+
}
|
|
108
|
+
return null;
|
|
109
|
+
}
|
|
110
|
+
function testStringCoercion(value) {
|
|
111
|
+
return "" + value;
|
|
112
|
+
}
|
|
113
|
+
function checkKeyStringCoercion(value) {
|
|
114
|
+
try {
|
|
115
|
+
testStringCoercion(value);
|
|
116
|
+
var JSCompiler_inline_result = !1;
|
|
117
|
+
} catch (e) {
|
|
118
|
+
JSCompiler_inline_result = !0;
|
|
119
|
+
}
|
|
120
|
+
if (JSCompiler_inline_result) {
|
|
121
|
+
JSCompiler_inline_result = console;
|
|
122
|
+
var JSCompiler_temp_const = JSCompiler_inline_result.error;
|
|
123
|
+
var JSCompiler_inline_result$jscomp$0 = "function" === typeof Symbol && Symbol.toStringTag && value[Symbol.toStringTag] || value.constructor.name || "Object";
|
|
124
|
+
JSCompiler_temp_const.call(JSCompiler_inline_result, "The provided key is an unsupported type %s. This value must be coerced to a string before using it here.", JSCompiler_inline_result$jscomp$0);
|
|
125
|
+
return testStringCoercion(value);
|
|
126
|
+
}
|
|
127
|
+
}
|
|
128
|
+
function getTaskName(type) {
|
|
129
|
+
if (type === REACT_FRAGMENT_TYPE$1) return "<>";
|
|
130
|
+
if ("object" === typeof type && null !== type && type.$$typeof === REACT_LAZY_TYPE) return "<...>";
|
|
131
|
+
try {
|
|
132
|
+
var name = getComponentNameFromType(type);
|
|
133
|
+
return name ? "<" + name + ">" : "<...>";
|
|
134
|
+
} catch (x) {
|
|
135
|
+
return "<...>";
|
|
136
|
+
}
|
|
137
|
+
}
|
|
138
|
+
function getOwner() {
|
|
139
|
+
var dispatcher = ReactSharedInternals.A;
|
|
140
|
+
return null === dispatcher ? null : dispatcher.getOwner();
|
|
141
|
+
}
|
|
142
|
+
function UnknownOwner() {
|
|
143
|
+
return Error("react-stack-top-frame");
|
|
144
|
+
}
|
|
145
|
+
function hasValidKey(config) {
|
|
146
|
+
if (hasOwnProperty.call(config, "key")) {
|
|
147
|
+
var getter = Object.getOwnPropertyDescriptor(config, "key").get;
|
|
148
|
+
if (getter && getter.isReactWarning) return !1;
|
|
149
|
+
}
|
|
150
|
+
return void 0 !== config.key;
|
|
151
|
+
}
|
|
152
|
+
function defineKeyPropWarningGetter(props, displayName) {
|
|
153
|
+
function warnAboutAccessingKey() {
|
|
154
|
+
specialPropKeyWarningShown || (specialPropKeyWarningShown = !0, console.error("%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://react.dev/link/special-props)", displayName));
|
|
155
|
+
}
|
|
156
|
+
warnAboutAccessingKey.isReactWarning = !0;
|
|
157
|
+
Object.defineProperty(props, "key", {
|
|
158
|
+
get: warnAboutAccessingKey,
|
|
159
|
+
configurable: !0
|
|
160
|
+
});
|
|
161
|
+
}
|
|
162
|
+
function elementRefGetterWithDeprecationWarning() {
|
|
163
|
+
var componentName = getComponentNameFromType(this.type);
|
|
164
|
+
didWarnAboutElementRef[componentName] || (didWarnAboutElementRef[componentName] = !0, console.error("Accessing element.ref was removed in React 19. ref is now a regular prop. It will be removed from the JSX Element type in a future release."));
|
|
165
|
+
componentName = this.props.ref;
|
|
166
|
+
return void 0 !== componentName ? componentName : null;
|
|
167
|
+
}
|
|
168
|
+
function ReactElement(type, key, props, owner, debugStack, debugTask) {
|
|
169
|
+
var refProp = props.ref;
|
|
170
|
+
type = {
|
|
171
|
+
$$typeof: REACT_ELEMENT_TYPE$1,
|
|
172
|
+
type,
|
|
173
|
+
key,
|
|
174
|
+
props,
|
|
175
|
+
_owner: owner
|
|
176
|
+
};
|
|
177
|
+
null !== (void 0 !== refProp ? refProp : null) ? Object.defineProperty(type, "ref", {
|
|
178
|
+
enumerable: !1,
|
|
179
|
+
get: elementRefGetterWithDeprecationWarning
|
|
180
|
+
}) : Object.defineProperty(type, "ref", {
|
|
181
|
+
enumerable: !1,
|
|
182
|
+
value: null
|
|
183
|
+
});
|
|
184
|
+
type._store = {};
|
|
185
|
+
Object.defineProperty(type._store, "validated", {
|
|
186
|
+
configurable: !1,
|
|
187
|
+
enumerable: !1,
|
|
188
|
+
writable: !0,
|
|
189
|
+
value: 0
|
|
190
|
+
});
|
|
191
|
+
Object.defineProperty(type, "_debugInfo", {
|
|
192
|
+
configurable: !1,
|
|
193
|
+
enumerable: !1,
|
|
194
|
+
writable: !0,
|
|
195
|
+
value: null
|
|
196
|
+
});
|
|
197
|
+
Object.defineProperty(type, "_debugStack", {
|
|
198
|
+
configurable: !1,
|
|
199
|
+
enumerable: !1,
|
|
200
|
+
writable: !0,
|
|
201
|
+
value: debugStack
|
|
202
|
+
});
|
|
203
|
+
Object.defineProperty(type, "_debugTask", {
|
|
204
|
+
configurable: !1,
|
|
205
|
+
enumerable: !1,
|
|
206
|
+
writable: !0,
|
|
207
|
+
value: debugTask
|
|
208
|
+
});
|
|
209
|
+
Object.freeze && (Object.freeze(type.props), Object.freeze(type));
|
|
210
|
+
return type;
|
|
211
|
+
}
|
|
212
|
+
function jsxDEVImpl(type, config, maybeKey, isStaticChildren, debugStack, debugTask) {
|
|
213
|
+
var children = config.children;
|
|
214
|
+
if (void 0 !== children) if (isStaticChildren) if (isArrayImpl(children)) {
|
|
215
|
+
for (isStaticChildren = 0; isStaticChildren < children.length; isStaticChildren++) validateChildKeys(children[isStaticChildren]);
|
|
216
|
+
Object.freeze && Object.freeze(children);
|
|
217
|
+
} else console.error("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");
|
|
218
|
+
else validateChildKeys(children);
|
|
219
|
+
if (hasOwnProperty.call(config, "key")) {
|
|
220
|
+
children = getComponentNameFromType(type);
|
|
221
|
+
var keys = Object.keys(config).filter(function(k) {
|
|
222
|
+
return "key" !== k;
|
|
223
|
+
});
|
|
224
|
+
isStaticChildren = 0 < keys.length ? "{key: someKey, " + keys.join(": ..., ") + ": ...}" : "{key: someKey}";
|
|
225
|
+
didWarnAboutKeySpread[children + isStaticChildren] || (keys = 0 < keys.length ? "{" + keys.join(": ..., ") + ": ...}" : "{}", console.error("A props object containing a \"key\" prop is being spread into JSX:\n let props = %s;\n <%s {...props} />\nReact keys must be passed directly to JSX without using spread:\n let props = %s;\n <%s key={someKey} {...props} />", isStaticChildren, children, keys, children), didWarnAboutKeySpread[children + isStaticChildren] = !0);
|
|
226
|
+
}
|
|
227
|
+
children = null;
|
|
228
|
+
void 0 !== maybeKey && (checkKeyStringCoercion(maybeKey), children = "" + maybeKey);
|
|
229
|
+
hasValidKey(config) && (checkKeyStringCoercion(config.key), children = "" + config.key);
|
|
230
|
+
if ("key" in config) {
|
|
231
|
+
maybeKey = {};
|
|
232
|
+
for (var propName in config) "key" !== propName && (maybeKey[propName] = config[propName]);
|
|
233
|
+
} else maybeKey = config;
|
|
234
|
+
children && defineKeyPropWarningGetter(maybeKey, "function" === typeof type ? type.displayName || type.name || "Unknown" : type);
|
|
235
|
+
return ReactElement(type, children, maybeKey, getOwner(), debugStack, debugTask);
|
|
236
|
+
}
|
|
237
|
+
function validateChildKeys(node) {
|
|
238
|
+
isValidElement(node) ? node._store && (node._store.validated = 1) : "object" === typeof node && null !== node && node.$$typeof === REACT_LAZY_TYPE && ("fulfilled" === node._payload.status ? isValidElement(node._payload.value) && node._payload.value._store && (node._payload.value._store.validated = 1) : node._store && (node._store.validated = 1));
|
|
239
|
+
}
|
|
240
|
+
function isValidElement(object) {
|
|
241
|
+
return "object" === typeof object && null !== object && object.$$typeof === REACT_ELEMENT_TYPE$1;
|
|
242
|
+
}
|
|
243
|
+
var React = __require("react"), REACT_ELEMENT_TYPE$1 = Symbol.for("react.transitional.element"), REACT_PORTAL_TYPE = Symbol.for("react.portal"), REACT_FRAGMENT_TYPE$1 = Symbol.for("react.fragment"), REACT_STRICT_MODE_TYPE = Symbol.for("react.strict_mode"), REACT_PROFILER_TYPE = Symbol.for("react.profiler"), REACT_CONSUMER_TYPE = Symbol.for("react.consumer"), REACT_CONTEXT_TYPE = Symbol.for("react.context"), REACT_FORWARD_REF_TYPE = Symbol.for("react.forward_ref"), REACT_SUSPENSE_TYPE = Symbol.for("react.suspense"), REACT_SUSPENSE_LIST_TYPE = Symbol.for("react.suspense_list"), REACT_MEMO_TYPE = Symbol.for("react.memo"), REACT_LAZY_TYPE = Symbol.for("react.lazy"), REACT_ACTIVITY_TYPE = Symbol.for("react.activity"), REACT_CLIENT_REFERENCE = Symbol.for("react.client.reference"), ReactSharedInternals = React.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE, hasOwnProperty = Object.prototype.hasOwnProperty, isArrayImpl = Array.isArray, createTask = console.createTask ? console.createTask : function() {
|
|
244
|
+
return null;
|
|
245
|
+
};
|
|
246
|
+
React = { react_stack_bottom_frame: function(callStackForError) {
|
|
247
|
+
return callStackForError();
|
|
248
|
+
} };
|
|
249
|
+
var specialPropKeyWarningShown;
|
|
250
|
+
var didWarnAboutElementRef = {};
|
|
251
|
+
var unknownOwnerDebugStack = React.react_stack_bottom_frame.bind(React, UnknownOwner)();
|
|
252
|
+
var unknownOwnerDebugTask = createTask(getTaskName(UnknownOwner));
|
|
253
|
+
var didWarnAboutKeySpread = {};
|
|
254
|
+
exports.Fragment = REACT_FRAGMENT_TYPE$1;
|
|
255
|
+
exports.jsx = function(type, config, maybeKey) {
|
|
256
|
+
var trackActualOwner = 1e4 > ReactSharedInternals.recentlyCreatedOwnerStacks++;
|
|
257
|
+
return jsxDEVImpl(type, config, maybeKey, !1, trackActualOwner ? Error("react-stack-top-frame") : unknownOwnerDebugStack, trackActualOwner ? createTask(getTaskName(type)) : unknownOwnerDebugTask);
|
|
258
|
+
};
|
|
259
|
+
exports.jsxs = function(type, config, maybeKey) {
|
|
260
|
+
var trackActualOwner = 1e4 > ReactSharedInternals.recentlyCreatedOwnerStacks++;
|
|
261
|
+
return jsxDEVImpl(type, config, maybeKey, !0, trackActualOwner ? Error("react-stack-top-frame") : unknownOwnerDebugStack, trackActualOwner ? createTask(getTaskName(type)) : unknownOwnerDebugTask);
|
|
262
|
+
};
|
|
263
|
+
})();
|
|
264
|
+
}));
|
|
265
|
+
|
|
266
|
+
//#endregion
|
|
267
|
+
//#region ../../node_modules/.pnpm/react@19.2.0/node_modules/react/jsx-runtime.js
|
|
268
|
+
var require_jsx_runtime = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
269
|
+
if (process.env.NODE_ENV === "production") module.exports = require_react_jsx_runtime_production();
|
|
270
|
+
else module.exports = require_react_jsx_runtime_development();
|
|
271
|
+
}));
|
|
272
|
+
|
|
273
|
+
//#endregion
|
|
274
|
+
export { __toESM as n, require_jsx_runtime as t };
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import * as React from "react";
|
|
2
|
+
import * as LabelPrimitive from "@radix-ui/react-label";
|
|
3
|
+
import * as react_jsx_runtime86 from "react/jsx-runtime";
|
|
4
|
+
|
|
5
|
+
//#region src/components/ui/label.d.ts
|
|
6
|
+
declare function Label({
|
|
7
|
+
className,
|
|
8
|
+
...props
|
|
9
|
+
}: React.ComponentProps<typeof LabelPrimitive.Root>): react_jsx_runtime86.JSX.Element;
|
|
10
|
+
//#endregion
|
|
11
|
+
export { Label as t };
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { n as __toESM, t as require_jsx_runtime } from "./jsx-runtime-CjFsk39Z.js";
|
|
2
|
+
import { t as cn } from "./utils-D2WOFi-N.js";
|
|
3
|
+
import "react";
|
|
4
|
+
import * as LabelPrimitive from "@radix-ui/react-label";
|
|
5
|
+
|
|
6
|
+
//#region src/components/ui/label.tsx
|
|
7
|
+
var import_jsx_runtime = /* @__PURE__ */ __toESM(require_jsx_runtime());
|
|
8
|
+
function Label({ className, ...props }) {
|
|
9
|
+
return /* @__PURE__ */ (0, import_jsx_runtime.jsx)(LabelPrimitive.Root, {
|
|
10
|
+
"data-slot": "label",
|
|
11
|
+
className: cn("flex items-center gap-2 text-sm leading-none font-medium select-none group-data-[disabled=true]:pointer-events-none group-data-[disabled=true]:opacity-50 peer-disabled:cursor-not-allowed peer-disabled:opacity-50", className),
|
|
12
|
+
...props
|
|
13
|
+
});
|
|
14
|
+
}
|
|
15
|
+
|
|
16
|
+
//#endregion
|
|
17
|
+
export { Label as t };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { };
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
import { n as __toESM, t as require_jsx_runtime } from "./jsx-runtime-CjFsk39Z.js";
|
|
2
|
+
import { t as cn } from "./utils-D2WOFi-N.js";
|
|
3
|
+
import "react";
|
|
4
|
+
import * as PopoverPrimitive from "@radix-ui/react-popover";
|
|
5
|
+
|
|
6
|
+
//#region src/components/ui/popover.tsx
|
|
7
|
+
var import_jsx_runtime = /* @__PURE__ */ __toESM(require_jsx_runtime());
|
|
8
|
+
function Popover({ ...props }) {
|
|
9
|
+
return /* @__PURE__ */ (0, import_jsx_runtime.jsx)(PopoverPrimitive.Root, {
|
|
10
|
+
"data-slot": "popover",
|
|
11
|
+
...props
|
|
12
|
+
});
|
|
13
|
+
}
|
|
14
|
+
function PopoverTrigger({ ...props }) {
|
|
15
|
+
return /* @__PURE__ */ (0, import_jsx_runtime.jsx)(PopoverPrimitive.Trigger, {
|
|
16
|
+
"data-slot": "popover-trigger",
|
|
17
|
+
...props
|
|
18
|
+
});
|
|
19
|
+
}
|
|
20
|
+
function PopoverContent({ className, align = "center", sideOffset = 4, ...props }) {
|
|
21
|
+
return /* @__PURE__ */ (0, import_jsx_runtime.jsx)(PopoverPrimitive.Portal, { children: /* @__PURE__ */ (0, import_jsx_runtime.jsx)(PopoverPrimitive.Content, {
|
|
22
|
+
"data-slot": "popover-content",
|
|
23
|
+
align,
|
|
24
|
+
sideOffset,
|
|
25
|
+
className: cn("bg-popover text-popover-foreground data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 z-50 w-72 origin-(--radix-popover-content-transform-origin) rounded-md border p-4 shadow-md outline-hidden", className),
|
|
26
|
+
...props
|
|
27
|
+
}) });
|
|
28
|
+
}
|
|
29
|
+
function PopoverAnchor({ ...props }) {
|
|
30
|
+
return /* @__PURE__ */ (0, import_jsx_runtime.jsx)(PopoverPrimitive.Anchor, {
|
|
31
|
+
"data-slot": "popover-anchor",
|
|
32
|
+
...props
|
|
33
|
+
});
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
//#endregion
|
|
37
|
+
export { PopoverTrigger as i, PopoverAnchor as n, PopoverContent as r, Popover as t };
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import * as React from "react";
|
|
2
|
+
import * as PopoverPrimitive from "@radix-ui/react-popover";
|
|
3
|
+
import * as react_jsx_runtime134 from "react/jsx-runtime";
|
|
4
|
+
|
|
5
|
+
//#region src/components/ui/popover.d.ts
|
|
6
|
+
declare function Popover({
|
|
7
|
+
...props
|
|
8
|
+
}: React.ComponentProps<typeof PopoverPrimitive.Root>): react_jsx_runtime134.JSX.Element;
|
|
9
|
+
declare function PopoverTrigger({
|
|
10
|
+
...props
|
|
11
|
+
}: React.ComponentProps<typeof PopoverPrimitive.Trigger>): react_jsx_runtime134.JSX.Element;
|
|
12
|
+
declare function PopoverContent({
|
|
13
|
+
className,
|
|
14
|
+
align,
|
|
15
|
+
sideOffset,
|
|
16
|
+
...props
|
|
17
|
+
}: React.ComponentProps<typeof PopoverPrimitive.Content>): react_jsx_runtime134.JSX.Element;
|
|
18
|
+
declare function PopoverAnchor({
|
|
19
|
+
...props
|
|
20
|
+
}: React.ComponentProps<typeof PopoverPrimitive.Anchor>): react_jsx_runtime134.JSX.Element;
|
|
21
|
+
//#endregion
|
|
22
|
+
export { PopoverTrigger as i, PopoverAnchor as n, PopoverContent as r, Popover as t };
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import * as React from "react";
|
|
2
|
+
import * as RadioGroupPrimitive from "@radix-ui/react-radio-group";
|
|
3
|
+
import * as react_jsx_runtime90 from "react/jsx-runtime";
|
|
4
|
+
|
|
5
|
+
//#region src/components/ui/radio-group.d.ts
|
|
6
|
+
declare function RadioGroup({
|
|
7
|
+
className,
|
|
8
|
+
...props
|
|
9
|
+
}: React.ComponentProps<typeof RadioGroupPrimitive.Root>): react_jsx_runtime90.JSX.Element;
|
|
10
|
+
declare function RadioGroupItem({
|
|
11
|
+
className,
|
|
12
|
+
...props
|
|
13
|
+
}: React.ComponentProps<typeof RadioGroupPrimitive.Item>): react_jsx_runtime90.JSX.Element;
|
|
14
|
+
//#endregion
|
|
15
|
+
export { RadioGroupItem as n, RadioGroup as t };
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import { n as __toESM, t as require_jsx_runtime } from "./jsx-runtime-CjFsk39Z.js";
|
|
2
|
+
import { t as cn } from "./utils-D2WOFi-N.js";
|
|
3
|
+
import "react";
|
|
4
|
+
import { CircleIcon } from "lucide-react";
|
|
5
|
+
import * as RadioGroupPrimitive from "@radix-ui/react-radio-group";
|
|
6
|
+
|
|
7
|
+
//#region src/components/ui/radio-group.tsx
|
|
8
|
+
var import_jsx_runtime = /* @__PURE__ */ __toESM(require_jsx_runtime());
|
|
9
|
+
function RadioGroup({ className, ...props }) {
|
|
10
|
+
return /* @__PURE__ */ (0, import_jsx_runtime.jsx)(RadioGroupPrimitive.Root, {
|
|
11
|
+
"data-slot": "radio-group",
|
|
12
|
+
className: cn("grid gap-3", className),
|
|
13
|
+
...props
|
|
14
|
+
});
|
|
15
|
+
}
|
|
16
|
+
function RadioGroupItem({ className, ...props }) {
|
|
17
|
+
return /* @__PURE__ */ (0, import_jsx_runtime.jsx)(RadioGroupPrimitive.Item, {
|
|
18
|
+
"data-slot": "radio-group-item",
|
|
19
|
+
className: cn("border-input text-primary focus-visible:border-ring focus-visible:ring-ring/50 aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40 aria-invalid:border-destructive dark:bg-input/30 aspect-square size-4 shrink-0 rounded-full border shadow-xs transition-[color,box-shadow] outline-none focus-visible:ring-[3px] disabled:cursor-not-allowed disabled:opacity-50", className),
|
|
20
|
+
...props,
|
|
21
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime.jsx)(RadioGroupPrimitive.Indicator, {
|
|
22
|
+
"data-slot": "radio-group-indicator",
|
|
23
|
+
className: "relative flex items-center justify-center",
|
|
24
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime.jsx)(CircleIcon, { className: "fill-primary absolute top-1/2 left-1/2 size-2 -translate-x-1/2 -translate-y-1/2" })
|
|
25
|
+
})
|
|
26
|
+
});
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
//#endregion
|
|
30
|
+
export { RadioGroupItem as n, RadioGroup as t };
|
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
import * as React from "react";
|
|
2
|
+
import * as SelectPrimitive from "@radix-ui/react-select";
|
|
3
|
+
import * as react_jsx_runtime50 from "react/jsx-runtime";
|
|
4
|
+
|
|
5
|
+
//#region src/components/ui/select.d.ts
|
|
6
|
+
declare function Select({
|
|
7
|
+
...props
|
|
8
|
+
}: React.ComponentProps<typeof SelectPrimitive.Root>): react_jsx_runtime50.JSX.Element;
|
|
9
|
+
declare function SelectGroup({
|
|
10
|
+
...props
|
|
11
|
+
}: React.ComponentProps<typeof SelectPrimitive.Group>): react_jsx_runtime50.JSX.Element;
|
|
12
|
+
declare function SelectValue({
|
|
13
|
+
...props
|
|
14
|
+
}: React.ComponentProps<typeof SelectPrimitive.Value>): react_jsx_runtime50.JSX.Element;
|
|
15
|
+
declare function SelectTrigger({
|
|
16
|
+
className,
|
|
17
|
+
size,
|
|
18
|
+
children,
|
|
19
|
+
...props
|
|
20
|
+
}: React.ComponentProps<typeof SelectPrimitive.Trigger> & {
|
|
21
|
+
size?: 'sm' | 'default';
|
|
22
|
+
}): react_jsx_runtime50.JSX.Element;
|
|
23
|
+
declare function SelectContent({
|
|
24
|
+
className,
|
|
25
|
+
children,
|
|
26
|
+
position,
|
|
27
|
+
align,
|
|
28
|
+
...props
|
|
29
|
+
}: React.ComponentProps<typeof SelectPrimitive.Content>): react_jsx_runtime50.JSX.Element;
|
|
30
|
+
declare function SelectLabel({
|
|
31
|
+
className,
|
|
32
|
+
...props
|
|
33
|
+
}: React.ComponentProps<typeof SelectPrimitive.Label>): react_jsx_runtime50.JSX.Element;
|
|
34
|
+
declare function SelectItem({
|
|
35
|
+
className,
|
|
36
|
+
children,
|
|
37
|
+
...props
|
|
38
|
+
}: React.ComponentProps<typeof SelectPrimitive.Item>): react_jsx_runtime50.JSX.Element;
|
|
39
|
+
declare function SelectSeparator({
|
|
40
|
+
className,
|
|
41
|
+
...props
|
|
42
|
+
}: React.ComponentProps<typeof SelectPrimitive.Separator>): react_jsx_runtime50.JSX.Element;
|
|
43
|
+
declare function SelectScrollUpButton({
|
|
44
|
+
className,
|
|
45
|
+
...props
|
|
46
|
+
}: React.ComponentProps<typeof SelectPrimitive.ScrollUpButton>): react_jsx_runtime50.JSX.Element;
|
|
47
|
+
declare function SelectScrollDownButton({
|
|
48
|
+
className,
|
|
49
|
+
...props
|
|
50
|
+
}: React.ComponentProps<typeof SelectPrimitive.ScrollDownButton>): react_jsx_runtime50.JSX.Element;
|
|
51
|
+
//#endregion
|
|
52
|
+
export { SelectLabel as a, SelectSeparator as c, SelectItem as i, SelectTrigger as l, SelectContent as n, SelectScrollDownButton as o, SelectGroup as r, SelectScrollUpButton as s, Select as t, SelectValue as u };
|
|
@@ -0,0 +1,99 @@
|
|
|
1
|
+
import { n as __toESM, t as require_jsx_runtime } from "./jsx-runtime-CjFsk39Z.js";
|
|
2
|
+
import { t as cn } from "./utils-D2WOFi-N.js";
|
|
3
|
+
import "react";
|
|
4
|
+
import { CheckIcon, ChevronDownIcon, ChevronUpIcon } from "lucide-react";
|
|
5
|
+
import * as SelectPrimitive from "@radix-ui/react-select";
|
|
6
|
+
|
|
7
|
+
//#region src/components/ui/select.tsx
|
|
8
|
+
var import_jsx_runtime = /* @__PURE__ */ __toESM(require_jsx_runtime());
|
|
9
|
+
function Select({ ...props }) {
|
|
10
|
+
return /* @__PURE__ */ (0, import_jsx_runtime.jsx)(SelectPrimitive.Root, {
|
|
11
|
+
"data-slot": "select",
|
|
12
|
+
...props
|
|
13
|
+
});
|
|
14
|
+
}
|
|
15
|
+
function SelectGroup({ ...props }) {
|
|
16
|
+
return /* @__PURE__ */ (0, import_jsx_runtime.jsx)(SelectPrimitive.Group, {
|
|
17
|
+
"data-slot": "select-group",
|
|
18
|
+
...props
|
|
19
|
+
});
|
|
20
|
+
}
|
|
21
|
+
function SelectValue({ ...props }) {
|
|
22
|
+
return /* @__PURE__ */ (0, import_jsx_runtime.jsx)(SelectPrimitive.Value, {
|
|
23
|
+
"data-slot": "select-value",
|
|
24
|
+
...props
|
|
25
|
+
});
|
|
26
|
+
}
|
|
27
|
+
function SelectTrigger({ className, size = "default", children, ...props }) {
|
|
28
|
+
return /* @__PURE__ */ (0, import_jsx_runtime.jsxs)(SelectPrimitive.Trigger, {
|
|
29
|
+
"data-slot": "select-trigger",
|
|
30
|
+
"data-size": size,
|
|
31
|
+
className: cn("border-input data-[placeholder]:text-muted-foreground [&_svg:not([class*='text-'])]:text-muted-foreground focus-visible:border-ring focus-visible:ring-ring/50 aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40 aria-invalid:border-destructive dark:bg-input/30 dark:hover:bg-input/50 flex w-fit items-center justify-between gap-2 rounded-md border bg-transparent px-3 py-2 text-sm whitespace-nowrap shadow-xs transition-[color,box-shadow] outline-none focus-visible:ring-[3px] disabled:cursor-not-allowed disabled:opacity-50 data-[size=default]:h-9 data-[size=sm]:h-8 *:data-[slot=select-value]:line-clamp-1 *:data-[slot=select-value]:flex *:data-[slot=select-value]:items-center *:data-[slot=select-value]:gap-2 [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4", className),
|
|
32
|
+
...props,
|
|
33
|
+
children: [children, /* @__PURE__ */ (0, import_jsx_runtime.jsx)(SelectPrimitive.Icon, {
|
|
34
|
+
asChild: true,
|
|
35
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime.jsx)(ChevronDownIcon, { className: "size-4 opacity-50" })
|
|
36
|
+
})]
|
|
37
|
+
});
|
|
38
|
+
}
|
|
39
|
+
function SelectContent({ className, children, position = "popper", align = "center", ...props }) {
|
|
40
|
+
return /* @__PURE__ */ (0, import_jsx_runtime.jsx)(SelectPrimitive.Portal, { children: /* @__PURE__ */ (0, import_jsx_runtime.jsxs)(SelectPrimitive.Content, {
|
|
41
|
+
"data-slot": "select-content",
|
|
42
|
+
className: cn("bg-popover text-popover-foreground data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 relative z-50 max-h-(--radix-select-content-available-height) min-w-[8rem] origin-(--radix-select-content-transform-origin) overflow-x-hidden overflow-y-auto rounded-md border shadow-md", position === "popper" && "data-[side=bottom]:translate-y-1 data-[side=left]:-translate-x-1 data-[side=right]:translate-x-1 data-[side=top]:-translate-y-1", className),
|
|
43
|
+
position,
|
|
44
|
+
align,
|
|
45
|
+
...props,
|
|
46
|
+
children: [
|
|
47
|
+
/* @__PURE__ */ (0, import_jsx_runtime.jsx)(SelectScrollUpButton, {}),
|
|
48
|
+
/* @__PURE__ */ (0, import_jsx_runtime.jsx)(SelectPrimitive.Viewport, {
|
|
49
|
+
className: cn("p-1", position === "popper" && "h-[var(--radix-select-trigger-height)] w-full min-w-[var(--radix-select-trigger-width)] scroll-my-1"),
|
|
50
|
+
children
|
|
51
|
+
}),
|
|
52
|
+
/* @__PURE__ */ (0, import_jsx_runtime.jsx)(SelectScrollDownButton, {})
|
|
53
|
+
]
|
|
54
|
+
}) });
|
|
55
|
+
}
|
|
56
|
+
function SelectLabel({ className, ...props }) {
|
|
57
|
+
return /* @__PURE__ */ (0, import_jsx_runtime.jsx)(SelectPrimitive.Label, {
|
|
58
|
+
"data-slot": "select-label",
|
|
59
|
+
className: cn("text-muted-foreground px-2 py-1.5 text-xs", className),
|
|
60
|
+
...props
|
|
61
|
+
});
|
|
62
|
+
}
|
|
63
|
+
function SelectItem({ className, children, ...props }) {
|
|
64
|
+
return /* @__PURE__ */ (0, import_jsx_runtime.jsxs)(SelectPrimitive.Item, {
|
|
65
|
+
"data-slot": "select-item",
|
|
66
|
+
className: cn("focus:bg-accent focus:text-accent-foreground [&_svg:not([class*='text-'])]:text-muted-foreground relative flex w-full cursor-default items-center gap-2 rounded-sm py-1.5 pr-8 pl-2 text-sm outline-hidden select-none data-[disabled]:pointer-events-none data-[disabled]:opacity-50 [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4 *:[span]:last:flex *:[span]:last:items-center *:[span]:last:gap-2", className),
|
|
67
|
+
...props,
|
|
68
|
+
children: [/* @__PURE__ */ (0, import_jsx_runtime.jsx)("span", {
|
|
69
|
+
className: "absolute right-2 flex size-3.5 items-center justify-center",
|
|
70
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime.jsx)(SelectPrimitive.ItemIndicator, { children: /* @__PURE__ */ (0, import_jsx_runtime.jsx)(CheckIcon, { className: "size-4" }) })
|
|
71
|
+
}), /* @__PURE__ */ (0, import_jsx_runtime.jsx)(SelectPrimitive.ItemText, { children })]
|
|
72
|
+
});
|
|
73
|
+
}
|
|
74
|
+
function SelectSeparator({ className, ...props }) {
|
|
75
|
+
return /* @__PURE__ */ (0, import_jsx_runtime.jsx)(SelectPrimitive.Separator, {
|
|
76
|
+
"data-slot": "select-separator",
|
|
77
|
+
className: cn("bg-border pointer-events-none -mx-1 my-1 h-px", className),
|
|
78
|
+
...props
|
|
79
|
+
});
|
|
80
|
+
}
|
|
81
|
+
function SelectScrollUpButton({ className, ...props }) {
|
|
82
|
+
return /* @__PURE__ */ (0, import_jsx_runtime.jsx)(SelectPrimitive.ScrollUpButton, {
|
|
83
|
+
"data-slot": "select-scroll-up-button",
|
|
84
|
+
className: cn("flex cursor-default items-center justify-center py-1", className),
|
|
85
|
+
...props,
|
|
86
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime.jsx)(ChevronUpIcon, { className: "size-4" })
|
|
87
|
+
});
|
|
88
|
+
}
|
|
89
|
+
function SelectScrollDownButton({ className, ...props }) {
|
|
90
|
+
return /* @__PURE__ */ (0, import_jsx_runtime.jsx)(SelectPrimitive.ScrollDownButton, {
|
|
91
|
+
"data-slot": "select-scroll-down-button",
|
|
92
|
+
className: cn("flex cursor-default items-center justify-center py-1", className),
|
|
93
|
+
...props,
|
|
94
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime.jsx)(ChevronDownIcon, { className: "size-4" })
|
|
95
|
+
});
|
|
96
|
+
}
|
|
97
|
+
|
|
98
|
+
//#endregion
|
|
99
|
+
export { SelectLabel as a, SelectSeparator as c, SelectItem as i, SelectTrigger as l, SelectContent as n, SelectScrollDownButton as o, SelectGroup as r, SelectScrollUpButton as s, Select as t, SelectValue as u };
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { n as __toESM, t as require_jsx_runtime } from "./jsx-runtime-CjFsk39Z.js";
|
|
2
|
+
import { t as cn } from "./utils-D2WOFi-N.js";
|
|
3
|
+
import "react";
|
|
4
|
+
import * as SeparatorPrimitive from "@radix-ui/react-separator";
|
|
5
|
+
|
|
6
|
+
//#region src/components/ui/separator.tsx
|
|
7
|
+
var import_jsx_runtime = /* @__PURE__ */ __toESM(require_jsx_runtime());
|
|
8
|
+
function Separator({ className, orientation = "horizontal", decorative = true, ...props }) {
|
|
9
|
+
return /* @__PURE__ */ (0, import_jsx_runtime.jsx)(SeparatorPrimitive.Root, {
|
|
10
|
+
"data-slot": "separator",
|
|
11
|
+
decorative,
|
|
12
|
+
orientation,
|
|
13
|
+
className: cn("bg-border shrink-0 data-[orientation=horizontal]:h-px data-[orientation=horizontal]:w-full data-[orientation=vertical]:h-full data-[orientation=vertical]:w-px", className),
|
|
14
|
+
...props
|
|
15
|
+
});
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
//#endregion
|
|
19
|
+
export { Separator as t };
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import * as React from "react";
|
|
2
|
+
import * as SeparatorPrimitive from "@radix-ui/react-separator";
|
|
3
|
+
import * as react_jsx_runtime92 from "react/jsx-runtime";
|
|
4
|
+
|
|
5
|
+
//#region src/components/ui/separator.d.ts
|
|
6
|
+
declare function Separator({
|
|
7
|
+
className,
|
|
8
|
+
orientation,
|
|
9
|
+
decorative,
|
|
10
|
+
...props
|
|
11
|
+
}: React.ComponentProps<typeof SeparatorPrimitive.Root>): react_jsx_runtime92.JSX.Element;
|
|
12
|
+
//#endregion
|
|
13
|
+
export { Separator as t };
|