@prenta/plugin-media 1.0.1 → 1.0.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/CHANGELOG.md CHANGED
@@ -1,5 +1,17 @@
1
1
  # @actuate-media/plugin-media
2
2
 
3
+ ## 1.0.3
4
+
5
+ ### Patch Changes
6
+
7
+ - 9538dec: The published package now includes its LICENSE file. The licence itself is unchanged (MIT); until now the text was only in the repository and never reached npm.
8
+
9
+ ## 1.0.2
10
+
11
+ ### Patch Changes
12
+
13
+ - 5230917: Point repository links at github.com/Prenta-dev/prenta, where the source now lives. The `repository` field on npm, the importer adapters' docs links, the section editor's help link and the docs link `create-prenta` prints all moved from `actuate-media/prenta`. No behaviour changes.
14
+
3
15
  ## 1.0.1
4
16
 
5
17
  ### Patch Changes
package/README.md CHANGED
@@ -1,6 +1,6 @@
1
1
  # @prenta/plugin-media
2
2
 
3
- Media enhancements for [Prenta CMS](https://github.com/actuate-media/prenta)
3
+ Media enhancements for [Prenta CMS](https://github.com/Prenta-dev/prenta)
4
4
  — folders, focal points, and library tooling.
5
5
 
6
6
  ```bash
@@ -21,7 +21,7 @@ export default defineConfig({
21
21
  ## Release notes
22
22
 
23
23
  See [CHANGELOG.md](./CHANGELOG.md) (shipped with the package) or the
24
- [GitHub releases](https://github.com/actuate-media/prenta/releases).
24
+ [GitHub releases](https://github.com/Prenta-dev/prenta/releases).
25
25
 
26
26
  ## License
27
27
 
@@ -1,3 +1,4 @@
1
+ import React from 'react';
1
2
  import type { MediaItem } from './MediaGrid.js';
2
3
  interface MediaDetailProps {
3
4
  item: MediaItem;
@@ -6,6 +7,6 @@ interface MediaDetailProps {
6
7
  onDelete: () => void;
7
8
  }
8
9
  /** Renders a detail panel for a single media item with metadata and usage info. */
9
- export declare function MediaDetail({ item, usageCount, onUpdate, onDelete }: MediaDetailProps): import("react/jsx-runtime").JSX.Element;
10
+ export declare function MediaDetail({ item, usageCount, onUpdate, onDelete }: MediaDetailProps): React.JSX.Element;
10
11
  export {};
11
12
  //# sourceMappingURL=MediaDetail.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"MediaDetail.d.ts","sourceRoot":"","sources":["../../src/admin/MediaDetail.tsx"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,gBAAgB,CAAA;AAE/C,UAAU,gBAAgB;IACxB,IAAI,EAAE,SAAS,CAAA;IACf,UAAU,EAAE,MAAM,CAAA;IAClB,QAAQ,EAAE,CAAC,OAAO,EAAE,OAAO,CAAC,IAAI,CAAC,SAAS,EAAE,KAAK,GAAG,UAAU,CAAC,CAAC,KAAK,IAAI,CAAA;IACzE,QAAQ,EAAE,MAAM,IAAI,CAAA;CACrB;AASD,mFAAmF;AACnF,wBAAgB,WAAW,CAAC,EAAE,IAAI,EAAE,UAAU,EAAE,QAAQ,EAAE,QAAQ,EAAE,EAAE,gBAAgB,2CAqIrF"}
1
+ {"version":3,"file":"MediaDetail.d.ts","sourceRoot":"","sources":["../../src/admin/MediaDetail.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAmB,MAAM,OAAO,CAAA;AACvC,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,gBAAgB,CAAA;AAE/C,UAAU,gBAAgB;IACxB,IAAI,EAAE,SAAS,CAAA;IACf,UAAU,EAAE,MAAM,CAAA;IAClB,QAAQ,EAAE,CAAC,OAAO,EAAE,OAAO,CAAC,IAAI,CAAC,SAAS,EAAE,KAAK,GAAG,UAAU,CAAC,CAAC,KAAK,IAAI,CAAA;IACzE,QAAQ,EAAE,MAAM,IAAI,CAAA;CACrB;AASD,mFAAmF;AACnF,wBAAgB,WAAW,CAAC,EAAE,IAAI,EAAE,UAAU,EAAE,QAAQ,EAAE,QAAQ,EAAE,EAAE,gBAAgB,qBAqIrF"}
@@ -1,3 +1,4 @@
1
+ import React from 'react';
1
2
  export interface MediaItem {
2
3
  id: string;
3
4
  filename: string;
@@ -17,6 +18,6 @@ interface MediaGridProps {
17
18
  viewMode: 'grid' | 'list';
18
19
  }
19
20
  /** Displays media items in a responsive grid or list layout. */
20
- export declare function MediaGrid({ items, onSelect, onDelete, viewMode }: MediaGridProps): import("react/jsx-runtime").JSX.Element;
21
+ export declare function MediaGrid({ items, onSelect, onDelete, viewMode }: MediaGridProps): React.JSX.Element;
21
22
  export {};
22
23
  //# sourceMappingURL=MediaGrid.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"MediaGrid.d.ts","sourceRoot":"","sources":["../../src/admin/MediaGrid.tsx"],"names":[],"mappings":"AAIA,MAAM,WAAW,SAAS;IACxB,EAAE,EAAE,MAAM,CAAA;IACV,QAAQ,EAAE,MAAM,CAAA;IAChB,GAAG,EAAE,MAAM,CAAA;IACX,YAAY,CAAC,EAAE,MAAM,CAAA;IACrB,QAAQ,EAAE,MAAM,CAAA;IAChB,IAAI,EAAE,MAAM,CAAA;IACZ,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,MAAM,CAAC,EAAE,MAAM,CAAA;IACf,GAAG,CAAC,EAAE,MAAM,CAAA;IACZ,SAAS,EAAE,IAAI,CAAA;CAChB;AAED,UAAU,cAAc;IACtB,KAAK,EAAE,SAAS,EAAE,CAAA;IAClB,QAAQ,CAAC,EAAE,CAAC,IAAI,EAAE,SAAS,KAAK,IAAI,CAAA;IACpC,QAAQ,CAAC,EAAE,CAAC,IAAI,EAAE,SAAS,KAAK,IAAI,CAAA;IACpC,QAAQ,EAAE,MAAM,GAAG,MAAM,CAAA;CAC1B;AAcD,gEAAgE;AAChE,wBAAgB,SAAS,CAAC,EAAE,KAAK,EAAE,QAAQ,EAAE,QAAQ,EAAE,QAAQ,EAAE,EAAE,cAAc,2CAsJhF"}
1
+ {"version":3,"file":"MediaGrid.d.ts","sourceRoot":"","sources":["../../src/admin/MediaGrid.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAmB,MAAM,OAAO,CAAA;AAEvC,MAAM,WAAW,SAAS;IACxB,EAAE,EAAE,MAAM,CAAA;IACV,QAAQ,EAAE,MAAM,CAAA;IAChB,GAAG,EAAE,MAAM,CAAA;IACX,YAAY,CAAC,EAAE,MAAM,CAAA;IACrB,QAAQ,EAAE,MAAM,CAAA;IAChB,IAAI,EAAE,MAAM,CAAA;IACZ,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,MAAM,CAAC,EAAE,MAAM,CAAA;IACf,GAAG,CAAC,EAAE,MAAM,CAAA;IACZ,SAAS,EAAE,IAAI,CAAA;CAChB;AAED,UAAU,cAAc;IACtB,KAAK,EAAE,SAAS,EAAE,CAAA;IAClB,QAAQ,CAAC,EAAE,CAAC,IAAI,EAAE,SAAS,KAAK,IAAI,CAAA;IACpC,QAAQ,CAAC,EAAE,CAAC,IAAI,EAAE,SAAS,KAAK,IAAI,CAAA;IACpC,QAAQ,EAAE,MAAM,GAAG,MAAM,CAAA;CAC1B;AAcD,gEAAgE;AAChE,wBAAgB,SAAS,CAAC,EAAE,KAAK,EAAE,QAAQ,EAAE,QAAQ,EAAE,QAAQ,EAAE,EAAE,cAAc,qBAsJhF"}
@@ -1,3 +1,4 @@
1
+ import React from 'react';
1
2
  import type { MediaItem } from './MediaGrid.js';
2
3
  interface MediaPickerProps {
3
4
  isOpen: boolean;
@@ -6,6 +7,6 @@ interface MediaPickerProps {
6
7
  accept?: string[];
7
8
  }
8
9
  /** Modal dialog for browsing and selecting media or uploading new files. */
9
- export declare function MediaPicker({ isOpen, onClose, onSelect, accept }: MediaPickerProps): import("react/jsx-runtime").JSX.Element | null;
10
+ export declare function MediaPicker({ isOpen, onClose, onSelect, accept }: MediaPickerProps): React.JSX.Element | null;
10
11
  export {};
11
12
  //# sourceMappingURL=MediaPicker.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"MediaPicker.d.ts","sourceRoot":"","sources":["../../src/admin/MediaPicker.tsx"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,gBAAgB,CAAA;AAE/C,UAAU,gBAAgB;IACxB,MAAM,EAAE,OAAO,CAAA;IACf,OAAO,EAAE,MAAM,IAAI,CAAA;IACnB,QAAQ,EAAE,CAAC,IAAI,EAAE,SAAS,KAAK,IAAI,CAAA;IACnC,MAAM,CAAC,EAAE,MAAM,EAAE,CAAA;CAClB;AAED,4EAA4E;AAC5E,wBAAgB,WAAW,CAAC,EAAE,MAAM,EAAE,OAAO,EAAE,QAAQ,EAAE,MAAM,EAAE,EAAE,gBAAgB,kDAgKlF"}
1
+ {"version":3,"file":"MediaPicker.d.ts","sourceRoot":"","sources":["../../src/admin/MediaPicker.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAwC,MAAM,OAAO,CAAA;AAE5D,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,gBAAgB,CAAA;AAE/C,UAAU,gBAAgB;IACxB,MAAM,EAAE,OAAO,CAAA;IACf,OAAO,EAAE,MAAM,IAAI,CAAA;IACnB,QAAQ,EAAE,CAAC,IAAI,EAAE,SAAS,KAAK,IAAI,CAAA;IACnC,MAAM,CAAC,EAAE,MAAM,EAAE,CAAA;CAClB;AAED,4EAA4E;AAC5E,wBAAgB,WAAW,CAAC,EAAE,MAAM,EAAE,OAAO,EAAE,QAAQ,EAAE,MAAM,EAAE,EAAE,gBAAgB,4BAgKlF"}
package/package.json CHANGED
@@ -1,10 +1,10 @@
1
1
  {
2
2
  "name": "@prenta/plugin-media",
3
- "version": "1.0.1",
3
+ "version": "1.0.3",
4
4
  "license": "MIT",
5
5
  "repository": {
6
6
  "type": "git",
7
- "url": "https://github.com/actuate-media/prenta.git",
7
+ "url": "https://github.com/Prenta-dev/prenta.git",
8
8
  "directory": "packages/plugin-media"
9
9
  },
10
10
  "publishConfig": {
@@ -30,13 +30,13 @@
30
30
  "react-dom": "^18.0.0 || ^19.0.0"
31
31
  },
32
32
  "devDependencies": {
33
- "@types/react": "^19.0.0",
34
- "@types/react-dom": "^19.0.0",
35
- "react": "^19.2.0",
36
- "react-dom": "^19.2.0",
33
+ "@types/react": "^19.3.3",
34
+ "@types/react-dom": "^19.3.0",
35
+ "react": "^19.3.1",
36
+ "react-dom": "^19.3.1",
37
37
  "typescript": "^5.7.0",
38
- "vitest": "^4.1.0",
39
- "@prenta/core": "8.0.0"
38
+ "vitest": "^5.1.2",
39
+ "@prenta/core": "8.26.0"
40
40
  },
41
41
  "scripts": {
42
42
  "build": "tsc --project tsconfig.json",