@dimah-s3/ui 2.0.0-beta.1 → 2.0.0-beta.10
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/README.md +5 -5
- package/dist/components/dimah-s3/attachment/file-attachment.d.ts +7 -1
- package/dist/components/dimah-s3/attachment/file-attachment.d.ts.map +1 -1
- package/dist/components/dimah-s3/attachment/file-name.d.ts +11 -1
- package/dist/components/dimah-s3/attachment/file-name.d.ts.map +1 -1
- package/dist/components/dimah-s3/attachment/file-type-glyph.d.ts +17 -4
- package/dist/components/dimah-s3/attachment/file-type-glyph.d.ts.map +1 -1
- package/dist/components/dimah-s3/delete/delete-confirm-dialog.d.ts.map +1 -1
- package/dist/components/dimah-s3/delete/delete-toasts.d.ts.map +1 -1
- package/dist/components/dimah-s3/delete/delete-trigger.d.ts +6 -4
- package/dist/components/dimah-s3/delete/delete-trigger.d.ts.map +1 -1
- package/dist/components/dimah-s3/delete/delete.d.ts +22 -9
- package/dist/components/dimah-s3/delete/delete.d.ts.map +1 -1
- package/dist/components/dimah-s3/download/download-progress.d.ts +2 -2
- package/dist/components/dimah-s3/download/download-progress.d.ts.map +1 -1
- package/dist/components/dimah-s3/download/download-trigger.d.ts +1 -0
- package/dist/components/dimah-s3/download/download-trigger.d.ts.map +1 -1
- package/dist/components/dimah-s3/list/object-list-content.d.ts.map +1 -1
- package/dist/components/dimah-s3/list/object-list-context.d.ts +118 -5
- package/dist/components/dimah-s3/list/object-list-context.d.ts.map +1 -1
- package/dist/components/dimah-s3/list/object-list-controls.d.ts +0 -24
- package/dist/components/dimah-s3/list/object-list-controls.d.ts.map +1 -1
- package/dist/components/dimah-s3/list/object-list-entry.d.ts +10 -5
- package/dist/components/dimah-s3/list/object-list-entry.d.ts.map +1 -1
- package/dist/components/dimah-s3/list/object-list-feedback.d.ts +9 -2
- package/dist/components/dimah-s3/list/object-list-feedback.d.ts.map +1 -1
- package/dist/components/dimah-s3/list/object-list-header.d.ts +18 -14
- package/dist/components/dimah-s3/list/object-list-header.d.ts.map +1 -1
- package/dist/components/dimah-s3/list/object-list-item-menu.d.ts +8 -4
- package/dist/components/dimah-s3/list/object-list-item-menu.d.ts.map +1 -1
- package/dist/components/dimah-s3/list/object-list-keyboard.d.ts +13 -3
- package/dist/components/dimah-s3/list/object-list-keyboard.d.ts.map +1 -1
- package/dist/components/dimah-s3/list/object-list-rename.d.ts +11 -0
- package/dist/components/dimah-s3/list/object-list-rename.d.ts.map +1 -0
- package/dist/components/dimah-s3/list/object-list-search.d.ts +75 -0
- package/dist/components/dimah-s3/list/object-list-search.d.ts.map +1 -0
- package/dist/components/dimah-s3/list/object-list-states.d.ts +7 -2
- package/dist/components/dimah-s3/list/object-list-states.d.ts.map +1 -1
- package/dist/components/dimah-s3/list/object-list.d.ts +5 -5
- package/dist/components/dimah-s3/list/object-list.d.ts.map +1 -1
- package/dist/components/dimah-s3/preview/object-card.d.ts.map +1 -1
- package/dist/components/dimah-s3/preview/object-image.d.ts +6 -4
- package/dist/components/dimah-s3/preview/object-image.d.ts.map +1 -1
- package/dist/components/dimah-s3/upload/avatar-upload.d.ts.map +1 -1
- package/dist/components/dimah-s3/upload/upload-field.d.ts +22 -13
- package/dist/components/dimah-s3/upload/upload-field.d.ts.map +1 -1
- package/dist/components/dimah-s3/upload/upload-file-list.d.ts +3 -1
- package/dist/components/dimah-s3/upload/upload-file-list.d.ts.map +1 -1
- package/dist/components/dimah-s3/upload/upload-status.d.ts +4 -2
- package/dist/components/dimah-s3/upload/upload-status.d.ts.map +1 -1
- package/dist/components/dimah-s3/upload/upload-toasts.d.ts.map +1 -1
- package/dist/components/dimah-s3/upload/upload.d.ts +7 -6
- package/dist/components/dimah-s3/upload/upload.d.ts.map +1 -1
- package/dist/components/ui/alert-dialog.d.ts +1 -1
- package/dist/components/ui/alert-dialog.d.ts.map +1 -1
- package/dist/components/ui/attachment.d.ts +1 -1
- package/dist/components/ui/attachment.d.ts.map +1 -1
- package/dist/components/ui/breadcrumb.d.ts +1 -1
- package/dist/components/ui/breadcrumb.d.ts.map +1 -1
- package/dist/components/ui/checkbox.d.ts.map +1 -1
- package/dist/components/ui/dropdown-menu.d.ts +1 -1
- package/dist/components/ui/dropdown-menu.d.ts.map +1 -1
- package/dist/components/ui/empty.d.ts +6 -7
- package/dist/components/ui/empty.d.ts.map +1 -1
- package/dist/components/ui/item.d.ts +1 -1
- package/dist/components/ui/item.d.ts.map +1 -1
- package/dist/components/ui/skeleton.d.ts +1 -2
- package/dist/components/ui/skeleton.d.ts.map +1 -1
- package/dist/components/ui/spinner.d.ts +1 -3
- package/dist/components/ui/spinner.d.ts.map +1 -1
- package/dist/components/ui/toast.d.ts +1 -1
- package/dist/components/ui/toast.d.ts.map +1 -1
- package/dist/{lib/format-expires-in.d.ts → hooks/use-share-expiry-label.d.ts} +1 -1
- package/dist/hooks/use-share-expiry-label.d.ts.map +1 -0
- package/dist/index.d.ts +5 -4
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +1744 -748
- package/dist/index.js.map +1 -1
- package/dist/lib/toast-content.d.ts +19 -0
- package/dist/lib/toast-content.d.ts.map +1 -0
- package/package.json +14 -14
- package/dist/lib/format-expires-in.d.ts.map +0 -1
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import type { ReactNode } from "react";
|
|
2
|
+
/** Lets long file names and messages wrap inside a toast. */
|
|
3
|
+
export declare function ToastText({ children }: {
|
|
4
|
+
children: ReactNode;
|
|
5
|
+
}): import("react").JSX.Element;
|
|
6
|
+
/** Sizes and counts, isolated so localized digits and units keep their order. */
|
|
7
|
+
export declare function ToastNumbers({ children }: {
|
|
8
|
+
children: string;
|
|
9
|
+
}): import("react").JSX.Element;
|
|
10
|
+
/**
|
|
11
|
+
* One file in a toast: its name, then `detail` (such as its size), then
|
|
12
|
+
* `error` on a line of its own.
|
|
13
|
+
*/
|
|
14
|
+
export declare function ToastFile({ name, detail, error, }: {
|
|
15
|
+
name: string;
|
|
16
|
+
detail?: string | null;
|
|
17
|
+
error?: string | null;
|
|
18
|
+
}): import("react").JSX.Element;
|
|
19
|
+
//# sourceMappingURL=toast-content.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"toast-content.d.ts","sourceRoot":"","sources":["../../src/lib/toast-content.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAGvC,6DAA6D;AAC7D,wBAAgB,SAAS,CAAC,EAAE,QAAQ,EAAE,EAAE;IAAE,QAAQ,EAAE,SAAS,CAAA;CAAE,+BAE9D;AAED,iFAAiF;AACjF,wBAAgB,YAAY,CAAC,EAAE,QAAQ,EAAE,EAAE;IAAE,QAAQ,EAAE,MAAM,CAAA;CAAE,+BAM9D;AAED;;;GAGG;AACH,wBAAgB,SAAS,CAAC,EACxB,IAAI,EACJ,MAAM,EACN,KAAK,GACN,EAAE;IACD,IAAI,EAAE,MAAM,CAAC;IACb,MAAM,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IACvB,KAAK,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;CACvB,+BAeA"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@dimah-s3/ui",
|
|
3
|
-
"version": "2.0.0-beta.
|
|
3
|
+
"version": "2.0.0-beta.10",
|
|
4
4
|
"description": "Pre-built React UI components for S3 file upload, download, and delete",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"s3",
|
|
@@ -19,7 +19,7 @@
|
|
|
19
19
|
"nextjs",
|
|
20
20
|
"components"
|
|
21
21
|
],
|
|
22
|
-
"homepage": "https://
|
|
22
|
+
"homepage": "https://s3.dimah.dev/docs/react/ui",
|
|
23
23
|
"bugs": {
|
|
24
24
|
"url": "https://github.com/dimah-kz/dimah-s3/issues"
|
|
25
25
|
},
|
|
@@ -52,12 +52,12 @@
|
|
|
52
52
|
},
|
|
53
53
|
"devDependencies": {
|
|
54
54
|
"@base-ui/react": "^1.9.0",
|
|
55
|
-
"@dimah-s3/core": "2.0.0-beta.
|
|
56
|
-
"@dimah-s3/react": "2.0.0-beta.
|
|
55
|
+
"@dimah-s3/core": "2.0.0-beta.10",
|
|
56
|
+
"@dimah-s3/react": "2.0.0-beta.10",
|
|
57
57
|
"@fuma-translate/react": "^1.0.2",
|
|
58
58
|
"@testing-library/dom": "^10.4.2",
|
|
59
59
|
"@testing-library/react": "^16.3.3",
|
|
60
|
-
"@testing-library/user-event": "^14.6.
|
|
60
|
+
"@testing-library/user-event": "^14.6.10",
|
|
61
61
|
"@types/node": "^26.6.6",
|
|
62
62
|
"@types/react": "^19.3.0",
|
|
63
63
|
"@types/react-dom": "^19.3.0",
|
|
@@ -67,24 +67,24 @@
|
|
|
67
67
|
"@workspace/typescript-config": "0.0.1",
|
|
68
68
|
"@workspace/vitest-config": "0.0.7",
|
|
69
69
|
"class-variance-authority": "^0.7.1",
|
|
70
|
-
"cn": "^0.5.
|
|
71
|
-
"eslint": "^10.
|
|
72
|
-
"jsdom": "^
|
|
73
|
-
"lucide-react": "^1.
|
|
70
|
+
"cn": "^0.5.2",
|
|
71
|
+
"eslint": "^10.15.0",
|
|
72
|
+
"jsdom": "^31.0.1",
|
|
73
|
+
"lucide-react": "^1.73.0",
|
|
74
74
|
"react": "^19.3.1",
|
|
75
75
|
"react-dom": "^19.3.1",
|
|
76
76
|
"shadcn": "^4.23.0",
|
|
77
|
-
"tailwindcss": "^4.3.
|
|
77
|
+
"tailwindcss": "^4.3.5",
|
|
78
78
|
"tsc-alias": "^1.9.10",
|
|
79
79
|
"tsup": "^9.0.0",
|
|
80
80
|
"tsx": "^4.23.15",
|
|
81
81
|
"typescript": "7.0.2",
|
|
82
|
-
"vitest": "^5.0
|
|
82
|
+
"vitest": "^5.1.0"
|
|
83
83
|
},
|
|
84
84
|
"peerDependencies": {
|
|
85
85
|
"@base-ui/react": ">=1.0.0",
|
|
86
|
-
"@dimah-s3/core": "2.0.0-beta.
|
|
87
|
-
"@dimah-s3/react": "2.0.0-beta.
|
|
86
|
+
"@dimah-s3/core": "2.0.0-beta.10",
|
|
87
|
+
"@dimah-s3/react": "2.0.0-beta.10",
|
|
88
88
|
"@fuma-translate/react": "^1.0.2",
|
|
89
89
|
"class-variance-authority": ">=0.7.0",
|
|
90
90
|
"cn": ">=0.1.0",
|
|
@@ -95,7 +95,7 @@
|
|
|
95
95
|
"access": "public"
|
|
96
96
|
},
|
|
97
97
|
"scripts": {
|
|
98
|
-
"build": "pnpm run normalize-imports && tsup --config tsup.config.ts && tsc --emitDeclarationOnly -p tsconfig.build.json && tsc-alias",
|
|
98
|
+
"build": "pnpm run normalize-imports && tsup --config tsup.config.ts && tsc --emitDeclarationOnly -p tsconfig.build.json && tsc-alias && node ../../tooling/tsup-config/dts-extensions.mjs",
|
|
99
99
|
"check-types": "tsc --noEmit && tsc --noEmit -p tsconfig.registry.json",
|
|
100
100
|
"lint": "eslint --cache --cache-strategy content --max-warnings 0",
|
|
101
101
|
"normalize-imports": "node ./scripts/enforce-src-alias-imports.mjs",
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"format-expires-in.d.ts","sourceRoot":"","sources":["../../src/lib/format-expires-in.ts"],"names":[],"mappings":"AAoBA,4FAA4F;AAC5F,wBAAgB,mBAAmB,cAGhB,MAAM,GAAG,IAAI,YAuC/B"}
|