@dimah-s3/ui 1.5.11 → 1.6.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/dist/components/dimah-s3/list/object-list-breadcrumb.d.ts +7 -0
- package/dist/components/dimah-s3/list/object-list-breadcrumb.d.ts.map +1 -0
- package/dist/components/dimah-s3/list/object-list-menu.d.ts +65 -0
- package/dist/components/dimah-s3/list/object-list-menu.d.ts.map +1 -0
- package/dist/components/dimah-s3/list/object-list-rows.d.ts +32 -0
- package/dist/components/dimah-s3/list/object-list-rows.d.ts.map +1 -0
- package/dist/components/dimah-s3/list/object-list-selection-state.d.ts +38 -0
- package/dist/components/dimah-s3/list/object-list-selection-state.d.ts.map +1 -0
- package/dist/components/dimah-s3/list/object-list-selection.d.ts +36 -0
- package/dist/components/dimah-s3/list/object-list-selection.d.ts.map +1 -0
- package/dist/components/dimah-s3/list/object-list-states.d.ts +24 -0
- package/dist/components/dimah-s3/list/object-list-states.d.ts.map +1 -0
- package/dist/components/dimah-s3/list/object-list-upload.d.ts +14 -0
- package/dist/components/dimah-s3/list/object-list-upload.d.ts.map +1 -0
- package/dist/components/dimah-s3/list/object-list-usage.d.ts +7 -0
- package/dist/components/dimah-s3/list/object-list-usage.d.ts.map +1 -0
- package/dist/components/dimah-s3/list/object-list.d.ts +167 -0
- package/dist/components/dimah-s3/list/object-list.d.ts.map +1 -0
- package/dist/components/ui/breadcrumb.d.ts +11 -0
- package/dist/components/ui/breadcrumb.d.ts.map +1 -0
- package/dist/components/ui/checkbox.d.ts +4 -0
- package/dist/components/ui/checkbox.d.ts.map +1 -0
- package/dist/components/ui/dropdown-menu.d.ts +30 -0
- package/dist/components/ui/dropdown-menu.d.ts.map +1 -0
- package/dist/components/ui/empty.d.ts +13 -0
- package/dist/components/ui/empty.d.ts.map +1 -0
- package/dist/components/ui/item.d.ts +23 -0
- package/dist/components/ui/item.d.ts.map +1 -0
- package/dist/components/ui/separator.d.ts +4 -0
- package/dist/components/ui/separator.d.ts.map +1 -0
- package/dist/components/ui/skeleton.d.ts +4 -0
- package/dist/components/ui/skeleton.d.ts.map +1 -0
- package/dist/components/ui/spinner.d.ts +5 -0
- package/dist/components/ui/spinner.d.ts.map +1 -0
- package/dist/index.d.ts +2 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +1853 -9
- package/dist/index.js.map +1 -1
- package/dist/lib/file-type-icon.d.ts +14 -1
- package/dist/lib/file-type-icon.d.ts.map +1 -1
- package/dist/lib/format-expires-in.d.ts +3 -0
- package/dist/lib/format-expires-in.d.ts.map +1 -0
- package/package.json +10 -10
|
@@ -3,11 +3,24 @@ export declare function resolveFileTypeExtension(fileName: string, mimeType?: st
|
|
|
3
3
|
export type FileTypeGlyphProps = {
|
|
4
4
|
fileName: string;
|
|
5
5
|
fileType?: string | null;
|
|
6
|
+
/**
|
|
7
|
+
* `fill` tracks a parent media box (attachments).
|
|
8
|
+
* `icon` is a fixed file-list glyph with no plate behind it.
|
|
9
|
+
* @default "fill"
|
|
10
|
+
*/
|
|
11
|
+
layout?: "fill" | "icon";
|
|
6
12
|
className?: string;
|
|
7
13
|
};
|
|
8
14
|
/**
|
|
9
15
|
* Colored file glyph for attachment media (no image preview).
|
|
10
16
|
* Uses `react-file-icon` + a lean curated extension map.
|
|
11
17
|
*/
|
|
12
|
-
export declare function FileTypeGlyph({ fileName, fileType, className, }: FileTypeGlyphProps): import("react").JSX.Element;
|
|
18
|
+
export declare function FileTypeGlyph({ fileName, fileType, layout, className, }: FileTypeGlyphProps): import("react").JSX.Element;
|
|
19
|
+
/**
|
|
20
|
+
* File-manager folder. The yellow is the glyph itself, in light and dark,
|
|
21
|
+
* the same way a desktop folder stays yellow.
|
|
22
|
+
*/
|
|
23
|
+
export declare function FolderGlyph({ className }: {
|
|
24
|
+
className?: string;
|
|
25
|
+
}): import("react").JSX.Element;
|
|
13
26
|
//# sourceMappingURL=file-type-icon.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"file-type-icon.d.ts","sourceRoot":"","sources":["../../src/lib/file-type-icon.tsx"],"names":[],"mappings":"AAmJA,+EAA+E;AAC/E,wBAAgB,wBAAwB,CACtC,QAAQ,EAAE,MAAM,EAChB,QAAQ,CAAC,EAAE,MAAM,GAAG,IAAI,GACvB,MAAM,GAAG,IAAI,CAYf;AAYD,MAAM,MAAM,kBAAkB,GAAG;IAC/B,QAAQ,EAAE,MAAM,CAAC;IACjB,QAAQ,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IACzB,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB,CAAC;AAEF;;;GAGG;AACH,wBAAgB,aAAa,CAAC,EAC5B,QAAQ,EACR,QAAQ,EACR,SAAS,GACV,EAAE,kBAAkB,+
|
|
1
|
+
{"version":3,"file":"file-type-icon.d.ts","sourceRoot":"","sources":["../../src/lib/file-type-icon.tsx"],"names":[],"mappings":"AAmJA,+EAA+E;AAC/E,wBAAgB,wBAAwB,CACtC,QAAQ,EAAE,MAAM,EAChB,QAAQ,CAAC,EAAE,MAAM,GAAG,IAAI,GACvB,MAAM,GAAG,IAAI,CAYf;AAYD,MAAM,MAAM,kBAAkB,GAAG;IAC/B,QAAQ,EAAE,MAAM,CAAC;IACjB,QAAQ,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IACzB;;;;OAIG;IACH,MAAM,CAAC,EAAE,MAAM,GAAG,MAAM,CAAC;IACzB,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB,CAAC;AAEF;;;GAGG;AACH,wBAAgB,aAAa,CAAC,EAC5B,QAAQ,EACR,QAAQ,EACR,MAAe,EACf,SAAS,GACV,EAAE,kBAAkB,+BAmBpB;AAED;;;GAGG;AACH,wBAAgB,WAAW,CAAC,EAAE,SAAS,EAAE,EAAE;IAAE,SAAS,CAAC,EAAE,MAAM,CAAA;CAAE,+BAiBhE"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"format-expires-in.d.ts","sourceRoot":"","sources":["../../src/lib/format-expires-in.ts"],"names":[],"mappings":"AAmBA,kEAAkE;AAClE,wBAAgB,mBAAmB,cAEhB,MAAM,YAuCxB"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@dimah-s3/ui",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.6.0",
|
|
4
4
|
"description": "Pre-built React UI components for S3 file upload, download, and delete",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"s3",
|
|
@@ -48,8 +48,8 @@
|
|
|
48
48
|
"css"
|
|
49
49
|
],
|
|
50
50
|
"dependencies": {
|
|
51
|
-
"@dimah-s3/core": "1.
|
|
52
|
-
"@dimah-s3/react": "1.
|
|
51
|
+
"@dimah-s3/core": "1.6.0",
|
|
52
|
+
"@dimah-s3/react": "1.6.0",
|
|
53
53
|
"react-file-icon": "^1.6.0"
|
|
54
54
|
},
|
|
55
55
|
"devDependencies": {
|
|
@@ -62,14 +62,14 @@
|
|
|
62
62
|
"@workspace/tsup-config": "0.0.0",
|
|
63
63
|
"@workspace/typescript-config": "0.0.1",
|
|
64
64
|
"class-variance-authority": "^0.7.1",
|
|
65
|
-
"cn": "^0.
|
|
66
|
-
"eslint": "^10.
|
|
67
|
-
"lucide-react": "^1.
|
|
68
|
-
"react": "^19.3.
|
|
69
|
-
"shadcn": "^4.
|
|
65
|
+
"cn": "^0.5.0",
|
|
66
|
+
"eslint": "^10.13.0",
|
|
67
|
+
"lucide-react": "^1.63.0",
|
|
68
|
+
"react": "^19.3.1",
|
|
69
|
+
"shadcn": "^4.23.0",
|
|
70
70
|
"tailwindcss": "^4.3.3",
|
|
71
|
-
"tsc-alias": "^1.9.
|
|
72
|
-
"tsup": "^
|
|
71
|
+
"tsc-alias": "^1.9.9",
|
|
72
|
+
"tsup": "^9.0.0",
|
|
73
73
|
"tsx": "^4.23.15",
|
|
74
74
|
"typescript": "7.0.2"
|
|
75
75
|
},
|