@dimah-s3/ui 1.5.6 → 1.5.8

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.
@@ -1,5 +1,5 @@
1
1
  import type { ComponentProps, ReactNode } from "react";
2
- import { Attachment } from "../components/ui/attachment";
2
+ import type { Attachment } from "../components/ui/attachment.d.ts";
3
3
  /**
4
4
  * Attachment layout/state types — derived from stock shadcn {@link Attachment}
5
5
  * (do not edit `components/ui/attachment.tsx`).
@@ -1 +1 @@
1
- {"version":3,"file":"attachment-layout.d.ts","sourceRoot":"","sources":["../../src/lib/attachment-layout.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AACvD,OAAO,EAAE,UAAU,EAAE,MAAM,4BAA4B,CAAC;AAExD;;;;;;GAMG;AACH,MAAM,MAAM,eAAe,GAAG,WAAW,CACvC,cAAc,CAAC,OAAO,UAAU,CAAC,CAAC,OAAO,CAAC,CAC3C,CAAC;AAEF,MAAM,MAAM,cAAc,GAAG,WAAW,CACtC,cAAc,CAAC,OAAO,UAAU,CAAC,CAAC,MAAM,CAAC,CAC1C,CAAC;AAEF,MAAM,MAAM,qBAAqB,GAAG,WAAW,CAC7C,cAAc,CAAC,OAAO,UAAU,CAAC,CAAC,aAAa,CAAC,CACjD,CAAC;AAEF,gEAAgE;AAChE,MAAM,MAAM,qBAAqB,GAAG;IAClC,IAAI,CAAC,EAAE,cAAc,CAAC;IACtB,WAAW,CAAC,EAAE,qBAAqB,CAAC;CACrC,CAAC;AAEF;;;GAGG;AACH,MAAM,MAAM,uBAAuB,GAAG;IACpC,mEAAmE;IACnE,cAAc,CAAC,EAAE,cAAc,CAAC;IAChC,oDAAoD;IACpD,qBAAqB,CAAC,EAAE,qBAAqB,CAAC;CAC/C,CAAC;AAEF,mFAAmF;AACnF,eAAO,MAAM,kCAAkC,gEACgB,CAAC;AAEhE;;;;;;GAMG;AACH,eAA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AO,MAAM,sBAAsB,8DAC0B,CAAC;AAE9D;;;;;;GAMG;AACH,MAAM,MAAM,UAAU,GAAG,OAAO,GAAG,CAAC,CAAC,IAAI,EAAE,SAAS,KAAK,SAAS,CAAC,CAAC;AAEpE;;;GAGG;AACH,wBAAgB,iBAAiB,CAC/B,IAAI,EAAE,UAAU,YAAO,EACvB,IAAI,EAAE,SAAS,EACf,IAAI,CAAC,EAAE,CAAC,IAAI,EAAE,SAAS,KAAK,SAAS,GACpC,SAAS,CAKX"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dimah-s3/ui",
3
- "version": "1.5.6",
3
+ "version": "1.5.8",
4
4
  "description": "Pre-built React UI components for S3 file upload, download, and delete",
5
5
  "keywords": [
6
6
  "s3",
@@ -19,17 +19,17 @@
19
19
  "nextjs",
20
20
  "components"
21
21
  ],
22
- "author": "Hamidrezakz",
23
- "license": "MIT",
22
+ "homepage": "https://s3.dimah.dev/docs/react/ui",
23
+ "bugs": {
24
+ "url": "https://github.com/dimah-kz/dimah-s3/issues"
25
+ },
24
26
  "repository": {
25
27
  "type": "git",
26
28
  "url": "https://github.com/dimah-kz/dimah-s3.git",
27
29
  "directory": "packages/ui"
28
30
  },
29
- "homepage": "https://s3.dimah.dev/docs/react/ui",
30
- "bugs": {
31
- "url": "https://github.com/dimah-kz/dimah-s3/issues"
32
- },
31
+ "license": "MIT",
32
+ "author": "dimah",
33
33
  "sideEffects": [
34
34
  "*.css"
35
35
  ],
@@ -48,49 +48,50 @@
48
48
  "css"
49
49
  ],
50
50
  "dependencies": {
51
- "@dimah-s3/core": "1.5.6",
52
- "@dimah-s3/react": "1.5.6",
51
+ "@dimah-s3/core": "1.5.8",
52
+ "@dimah-s3/react": "1.5.8",
53
53
  "react-file-icon": "^1.6.0"
54
54
  },
55
- "peerDependencies": {
56
- "@base-ui/react": ">=1.0.0",
57
- "@fuma-translate/react": "^1.0.2",
58
- "class-variance-authority": ">=0.7.0",
59
- "cn": ">=0.1.0",
60
- "lucide-react": ">=0.400.0",
61
- "react": ">=18"
62
- },
63
55
  "devDependencies": {
64
56
  "@base-ui/react": "^1.8.0",
65
57
  "@fuma-translate/react": "^1.0.2",
66
- "@types/node": "^26.5.1",
58
+ "@types/node": "^26.6.1",
67
59
  "@types/react": "^19.3.0",
68
60
  "@types/react-file-icon": "^1.0.5",
69
61
  "@workspace/eslint-config": "0.0.1",
70
62
  "@workspace/typescript-config": "0.0.1",
71
63
  "class-variance-authority": "^0.7.1",
72
- "cn": "^0.2.6",
64
+ "cn": "^0.3.0",
73
65
  "eslint": "^10.10.0",
74
- "lucide-react": "^1.43.0",
66
+ "lucide-react": "^1.46.0",
75
67
  "react": "^19.3.0",
76
68
  "shadcn": "^4.21.0",
77
- "tsc-alias": "^1.9.4",
69
+ "tailwindcss": "^4.3.3",
70
+ "tsc-alias": "^1.9.5",
78
71
  "tsup": "^8.5.1",
79
72
  "tsx": "^4.23.13",
80
73
  "typescript": "7.0.2"
81
74
  },
75
+ "peerDependencies": {
76
+ "@base-ui/react": ">=1.0.0",
77
+ "@fuma-translate/react": "^1.0.2",
78
+ "class-variance-authority": ">=0.7.0",
79
+ "cn": ">=0.1.0",
80
+ "lucide-react": ">=0.400.0",
81
+ "react": ">=18"
82
+ },
82
83
  "publishConfig": {
83
84
  "access": "public"
84
85
  },
85
86
  "scripts": {
86
87
  "build": "pnpm run normalize-imports && tsup --config tsup.config.ts && tsc --emitDeclarationOnly && tsc-alias",
87
- "sync:shadcn": "node scripts/sync-shadcn.mjs",
88
+ "check-types": "tsc --noEmit && tsc --noEmit -p tsconfig.registry.json",
89
+ "lint": "eslint --cache --cache-strategy content --max-warnings 0",
88
90
  "normalize-imports": "node ./scripts/enforce-src-alias-imports.mjs",
89
- "registry:items": "tsx scripts/build-registry-items.ts && pnpm -w exec prettier --write packages/ui/registry.json",
91
+ "registry:build": "pnpm registry:validate && shadcn build --output apps/docs/public/r --cwd ../..",
90
92
  "registry:check": "tsx scripts/check-registry-items.ts",
93
+ "registry:items": "tsx scripts/build-registry-items.ts && pnpm -w exec prettier --write packages/ui/registry.json",
91
94
  "registry:validate": "pnpm registry:items && pnpm registry:check && shadcn registry validate --cwd ../..",
92
- "registry:build": "pnpm registry:validate && shadcn build --output apps/docs/public/r --cwd ../..",
93
- "lint": "eslint",
94
- "check-types": "tsc --noEmit && tsc --noEmit -p tsconfig.registry.json"
95
+ "sync:shadcn": "node scripts/sync-shadcn.mjs"
95
96
  }
96
97
  }