@raketa-builder/image-input 0.8.0 → 0.9.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.
@@ -1,5 +1,5 @@
1
1
 
2
- > @raketa-builder/image-input@0.8.0 build
2
+ > @raketa-builder/image-input@0.9.0 build
3
3
  > tsup src/index.js --format cjs --loader ".js=jsx"
4
4
 
5
5
  CLI Building entry: src/index.js
@@ -7,5 +7,5 @@ CLI Using tsconfig: tsconfig.json
7
7
  CLI tsup v6.5.0
8
8
  CLI Target: es6
9
9
  CJS Build start
10
- CJS dist/index.js 307.83 KB
11
- CJS ⚡️ Build success in 272ms
10
+ CJS dist/index.js 307.82 KB
11
+ CJS ⚡️ Build success in 101ms
package/dist/index.js CHANGED
@@ -6794,7 +6794,7 @@ var ImageItem = ({ image, selected, onSelect, onFastSelect }) => /* @__PURE__ */
6794
6794
  onClick: () => onSelect(image),
6795
6795
  onDoubleClick: () => onFastSelect(image),
6796
6796
  children: /* @__PURE__ */ (0, import_jsx_runtime3.jsx)(ImageWrapper, { title: image.name, children: /* @__PURE__ */ (0, import_jsx_runtime3.jsx)(
6797
- import_support.default,
6797
+ import_support.Image,
6798
6798
  {
6799
6799
  src: getPreviewImage(image),
6800
6800
  variant: "thumb",
@@ -6833,7 +6833,7 @@ var isImageEditable = (image) => {
6833
6833
  var ImagePreview = ({ image, onDelete }) => {
6834
6834
  return /* @__PURE__ */ (0, import_jsx_runtime3.jsxs)(ImageInspector, { children: [
6835
6835
  /* @__PURE__ */ (0, import_jsx_runtime3.jsxs)(ImagePreviewWrapper, { children: [
6836
- /* @__PURE__ */ (0, import_jsx_runtime3.jsx)(import_support.default, { src: image, variant: "original", alt: "" }),
6836
+ /* @__PURE__ */ (0, import_jsx_runtime3.jsx)(import_support.Image, { src: image, variant: "original", alt: "" }),
6837
6837
  isImageEditable(image) && /* @__PURE__ */ (0, import_jsx_runtime3.jsxs)(import_react3.default.Fragment, { children: [
6838
6838
  /* @__PURE__ */ (0, import_jsx_runtime3.jsx)(
6839
6839
  import_ui3.H,
@@ -7203,7 +7203,7 @@ var ImagePicker = ({
7203
7203
  return /* @__PURE__ */ (0, import_jsx_runtime7.jsxs)("div", { children: [
7204
7204
  /* @__PURE__ */ (0, import_jsx_runtime7.jsxs)(ImageControl, { children: [
7205
7205
  /* @__PURE__ */ (0, import_jsx_runtime7.jsxs)(ImageWrapper2, { children: [
7206
- image && /* @__PURE__ */ (0, import_jsx_runtime7.jsx)(import_support2.default, { src: image, variant: "thumb", title: image.name, alt: "" }),
7206
+ image && /* @__PURE__ */ (0, import_jsx_runtime7.jsx)(import_support2.Image, { src: image, variant: "thumb", title: image.name, alt: "" }),
7207
7207
  !image && /* @__PURE__ */ (0, import_jsx_runtime7.jsx)(ImagePlaceholder, {})
7208
7208
  ] }),
7209
7209
  /* @__PURE__ */ (0, import_jsx_runtime7.jsxs)(import_ui8.FormGroup, { children: [
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@raketa-builder/image-input",
3
- "version": "0.8.0",
3
+ "version": "0.9.0",
4
4
  "main": "./dist/index.js",
5
5
  "types": "./dist/index.d.ts",
6
6
  "license": "MIT",
@@ -1,6 +1,6 @@
1
1
  import React from "react";
2
2
  import { Button, Stack, H, cn } from "@raketa-builder/ui";
3
- import Image from "@raketa-builder/support";
3
+ import { Image } from "@raketa-builder/support";
4
4
  import TextInput from "../../forms/TextInput";
5
5
 
6
6
  const ImageList = ({ className, ...rest }) => (
@@ -1,6 +1,6 @@
1
1
  import React from "react";
2
2
  import { cn } from "@raketa-builder/ui";
3
- import Image from "@raketa-builder/support";
3
+ import { Image } from "@raketa-builder/support";
4
4
  import TextInput from "../../forms/TextInput";
5
5
  import Dialog from "../../dialogs/Dialog";
6
6
  import BrowseTab from "./BrowseTab";