@pixpilot/shadcn-ui 0.4.2 → 0.4.3
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/Alert.cjs +2 -1
- package/dist/Alert.js +2 -1
- package/dist/confirmation-dialog/ConfirmationDialog.d.cts +0 -1
- package/dist/file-upload/FileUpload.d.ts +2 -2
- package/dist/file-upload/index.d.cts +1 -2
- package/dist/file-upload-inline/FileUploadInline.d.ts +2 -2
- package/dist/shadcn/src/lib/index.cjs +1 -0
- package/dist/shadcn/src/lib/index.js +1 -0
- package/dist/shadcn/src/lib/utils.cjs +13 -0
- package/dist/shadcn/src/lib/utils.js +10 -0
- package/package.json +1 -1
- package/dist/file-upload/hooks/index.d.cts +0 -2
- package/dist/file-upload/hooks/use-file-upload-progress-callbacks.d.cts +0 -1
- package/dist/file-upload/hooks/use-file-upload-store.d.cts +0 -2
- package/dist/file-upload/utils/get-file-key.d.cts +0 -1
- package/dist/file-upload/utils/get-file-meta.d.cts +0 -1
- package/dist/file-upload/utils/index.d.cts +0 -4
- package/dist/file-upload/utils/is-file-equal.d.cts +0 -1
- package/dist/file-upload/utils/merge-file-metadata.d.cts +0 -1
- package/dist/node_modules/.pnpm/clsx@2.1.1/node_modules/clsx/dist/clsx.cjs +0 -18
- package/dist/node_modules/.pnpm/clsx@2.1.1/node_modules/clsx/dist/clsx.js +0 -17
- package/dist/node_modules/.pnpm/tailwind-merge@3.4.0/node_modules/tailwind-merge/dist/bundle-mjs.cjs +0 -1894
- package/dist/node_modules/.pnpm/tailwind-merge@3.4.0/node_modules/tailwind-merge/dist/bundle-mjs.js +0 -1893
- package/dist/packages/shadcn/src/lib/utils.cjs +0 -10
- package/dist/packages/shadcn/src/lib/utils.js +0 -10
package/dist/Alert.cjs
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
const require_rolldown_runtime = require('./_virtual/rolldown_runtime.cjs');
|
|
2
|
-
const require_utils = require('./
|
|
2
|
+
const require_utils = require('./shadcn/src/lib/utils.cjs');
|
|
3
|
+
require('./shadcn/src/lib/index.cjs');
|
|
3
4
|
let __pixpilot_shadcn = require("@pixpilot/shadcn");
|
|
4
5
|
__pixpilot_shadcn = require_rolldown_runtime.__toESM(__pixpilot_shadcn);
|
|
5
6
|
let lucide_react = require("lucide-react");
|
package/dist/Alert.js
CHANGED
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
import { cn as cn$1 } from "./
|
|
1
|
+
import { cn as cn$1 } from "./shadcn/src/lib/utils.js";
|
|
2
|
+
import "./shadcn/src/lib/index.js";
|
|
2
3
|
import { Alert, AlertDescription, AlertTitle } from "@pixpilot/shadcn";
|
|
3
4
|
import { CircleAlertIcon, CircleCheckBigIcon, OctagonAlertIcon } from "lucide-react";
|
|
4
5
|
import React from "react";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { FileUploadProps } from "./types/index.js";
|
|
2
|
-
import * as
|
|
2
|
+
import * as react_jsx_runtime6 from "react/jsx-runtime";
|
|
3
3
|
|
|
4
4
|
//#region src/file-upload/FileUpload.d.ts
|
|
5
|
-
declare function FileUpload(props: FileUploadProps):
|
|
5
|
+
declare function FileUpload(props: FileUploadProps): react_jsx_runtime6.JSX.Element;
|
|
6
6
|
//#endregion
|
|
7
7
|
export { FileUpload };
|
|
@@ -1,3 +1,2 @@
|
|
|
1
1
|
import { FileMetadata, FileUploadBaseProps, FileUploadProgressCallBacks, FileUploadProps, MultiFileUploadProps, OnChangeMultipleFiles, OnChangeSingleFile, SingleFileUploadProps } from "./types/index.cjs";
|
|
2
|
-
import { FileUpload } from "./FileUpload.cjs";
|
|
3
|
-
import "./hooks/index.cjs";
|
|
2
|
+
import { FileUpload } from "./FileUpload.cjs";
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { FileUploadInlineProps } from "./types.js";
|
|
2
|
-
import * as
|
|
2
|
+
import * as react_jsx_runtime7 from "react/jsx-runtime";
|
|
3
3
|
|
|
4
4
|
//#region src/file-upload-inline/FileUploadInline.d.ts
|
|
5
5
|
/**
|
|
6
6
|
* FileUploadInline - An inline file upload component using FileUpload primitives
|
|
7
7
|
*/
|
|
8
|
-
declare function FileUploadInline(props: FileUploadInlineProps):
|
|
8
|
+
declare function FileUploadInline(props: FileUploadInlineProps): react_jsx_runtime7.JSX.Element;
|
|
9
9
|
//#endregion
|
|
10
10
|
export { FileUploadInline };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
const require_utils = require('./utils.cjs');
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import { cn } from "./utils.js";
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
const require_rolldown_runtime = require('../../../_virtual/rolldown_runtime.cjs');
|
|
2
|
+
let clsx = require("clsx");
|
|
3
|
+
clsx = require_rolldown_runtime.__toESM(clsx);
|
|
4
|
+
let tailwind_merge = require("tailwind-merge");
|
|
5
|
+
tailwind_merge = require_rolldown_runtime.__toESM(tailwind_merge);
|
|
6
|
+
|
|
7
|
+
//#region ../shadcn/src/lib/utils.ts
|
|
8
|
+
function cn(...inputs) {
|
|
9
|
+
return (0, tailwind_merge.twMerge)((0, clsx.clsx)(inputs));
|
|
10
|
+
}
|
|
11
|
+
|
|
12
|
+
//#endregion
|
|
13
|
+
exports.cn = cn;
|
package/package.json
CHANGED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import "../types/index.cjs";
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import "../types/index.cjs";
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import "../types/index.cjs";
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import "../types/index.cjs";
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import "../types/index.cjs";
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
|
|
2
|
-
//#region ../../node_modules/.pnpm/clsx@2.1.1/node_modules/clsx/dist/clsx.mjs
|
|
3
|
-
function r(e) {
|
|
4
|
-
var t, f, n = "";
|
|
5
|
-
if ("string" == typeof e || "number" == typeof e) n += e;
|
|
6
|
-
else if ("object" == typeof e) if (Array.isArray(e)) {
|
|
7
|
-
var o = e.length;
|
|
8
|
-
for (t = 0; t < o; t++) e[t] && (f = r(e[t])) && (n && (n += " "), n += f);
|
|
9
|
-
} else for (f in e) e[f] && (n && (n += " "), n += f);
|
|
10
|
-
return n;
|
|
11
|
-
}
|
|
12
|
-
function clsx() {
|
|
13
|
-
for (var e, t, f = 0, n = "", o = arguments.length; f < o; f++) (e = arguments[f]) && (t = r(e)) && (n && (n += " "), n += t);
|
|
14
|
-
return n;
|
|
15
|
-
}
|
|
16
|
-
|
|
17
|
-
//#endregion
|
|
18
|
-
exports.clsx = clsx;
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
//#region ../../node_modules/.pnpm/clsx@2.1.1/node_modules/clsx/dist/clsx.mjs
|
|
2
|
-
function r(e) {
|
|
3
|
-
var t, f, n = "";
|
|
4
|
-
if ("string" == typeof e || "number" == typeof e) n += e;
|
|
5
|
-
else if ("object" == typeof e) if (Array.isArray(e)) {
|
|
6
|
-
var o = e.length;
|
|
7
|
-
for (t = 0; t < o; t++) e[t] && (f = r(e[t])) && (n && (n += " "), n += f);
|
|
8
|
-
} else for (f in e) e[f] && (n && (n += " "), n += f);
|
|
9
|
-
return n;
|
|
10
|
-
}
|
|
11
|
-
function clsx() {
|
|
12
|
-
for (var e, t, f = 0, n = "", o = arguments.length; f < o; f++) (e = arguments[f]) && (t = r(e)) && (n && (n += " "), n += t);
|
|
13
|
-
return n;
|
|
14
|
-
}
|
|
15
|
-
|
|
16
|
-
//#endregion
|
|
17
|
-
export { clsx };
|