@gorgo/medusa-integration 0.0.6 → 0.0.7

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.
@@ -39,24 +39,15 @@ const IntegrationIcon = ({
39
39
  }
40
40
  );
41
41
  }
42
- return /* @__PURE__ */ jsxRuntime.jsx(
43
- "div",
42
+ return /* @__PURE__ */ jsxRuntime.jsx(jsxRuntime.Fragment, { children: showImage ? /* @__PURE__ */ jsxRuntime.jsx(
43
+ "img",
44
44
  {
45
- className: ui.clx(
46
- "bg-ui-bg-component shadow-borders-base flex shrink-0 items-center justify-center overflow-hidden rounded-md",
47
- dim
48
- ),
49
- children: showImage ? /* @__PURE__ */ jsxRuntime.jsx(
50
- "img",
51
- {
52
- src,
53
- alt,
54
- className: "h-full w-full object-cover",
55
- onError: () => setErrored(true)
56
- }
57
- ) : /* @__PURE__ */ jsxRuntime.jsx(icons.PuzzleSolid, { className: "text-ui-fg-subtle" })
45
+ src,
46
+ alt,
47
+ className: "rounded-lg object-cover border shadow-xs w-12 h-12",
48
+ onError: () => setErrored(true)
58
49
  }
59
- );
50
+ ) : /* @__PURE__ */ jsxRuntime.jsx(icons.PuzzleSolid, { className: "text-ui-fg-subtle" }) });
60
51
  };
61
52
  const PAGE_SIZE = 20;
62
53
  const DOCS_URL = "https://docs.gorgojs.com/ru/medusa-plugins/integration-module";
@@ -1,4 +1,4 @@
1
- import { jsx, jsxs, Fragment } from "react/jsx-runtime";
1
+ import { jsx, Fragment, jsxs } from "react/jsx-runtime";
2
2
  import { defineRouteConfig } from "@medusajs/admin-sdk";
3
3
  import { PuzzleSolid, CogSixTooth, Trash, Spinner, EllipsisHorizontal, PencilSquare, Plus } from "@medusajs/icons";
4
4
  import { clx, createDataTableColumnHelper, usePrompt, toast, Text, Badge, useDataTable, Container, Heading, Button, DataTable, Tabs, StatusBadge, Label, Input, Select, Switch, Textarea, Drawer, DropdownMenu, IconButton, Copy } from "@medusajs/ui";
@@ -35,24 +35,15 @@ const IntegrationIcon = ({
35
35
  }
36
36
  );
37
37
  }
38
- return /* @__PURE__ */ jsx(
39
- "div",
38
+ return /* @__PURE__ */ jsx(Fragment, { children: showImage ? /* @__PURE__ */ jsx(
39
+ "img",
40
40
  {
41
- className: clx(
42
- "bg-ui-bg-component shadow-borders-base flex shrink-0 items-center justify-center overflow-hidden rounded-md",
43
- dim
44
- ),
45
- children: showImage ? /* @__PURE__ */ jsx(
46
- "img",
47
- {
48
- src,
49
- alt,
50
- className: "h-full w-full object-cover",
51
- onError: () => setErrored(true)
52
- }
53
- ) : /* @__PURE__ */ jsx(PuzzleSolid, { className: "text-ui-fg-subtle" })
41
+ src,
42
+ alt,
43
+ className: "rounded-lg object-cover border shadow-xs w-12 h-12",
44
+ onError: () => setErrored(true)
54
45
  }
55
- );
46
+ ) : /* @__PURE__ */ jsx(PuzzleSolid, { className: "text-ui-fg-subtle" }) });
56
47
  };
57
48
  const PAGE_SIZE = 20;
58
49
  const DOCS_URL = "https://docs.gorgojs.com/ru/medusa-plugins/integration-module";
package/README.md CHANGED
@@ -79,7 +79,3 @@ npm install @gorgo/medusa-integration
79
79
  ## Documentation
80
80
 
81
81
  The complete installation, configuration, and usage guide is available on the [Gorgo documentation website](https://docs.gorgojs.com/integrations/integration).
82
-
83
- ## License
84
-
85
- Licensed under the [MIT License](LICENSE).
package/README.ru.md CHANGED
@@ -79,7 +79,3 @@ npm install @gorgo/medusa-integration
79
79
  ## Документация
80
80
 
81
81
  Полное руководство по установке, настройке и использованию доступно на [сайте документации Gorgo](https://docs.gorgojs.ru/integrations/integration).
82
-
83
- ## Лицензия
84
-
85
- Распространяется на условиях [лицензии MIT](LICENSE).
package/package.json CHANGED
@@ -1,12 +1,11 @@
1
1
  {
2
2
  "name": "@gorgo/medusa-integration",
3
- "version": "0.0.6",
3
+ "version": "0.0.7",
4
4
  "description": "Integration module for Medusa",
5
5
  "author": {
6
6
  "name": "Gorgo",
7
7
  "url": "https://gorgojs.com"
8
8
  },
9
- "license": "MIT",
10
9
  "files": [
11
10
  ".medusa/server"
12
11
  ],
package/LICENSE DELETED
@@ -1,21 +0,0 @@
1
- MIT License Copyright (c) 2025 Gorgo
2
-
3
- Permission is hereby granted, free
4
- of charge, to any person obtaining a copy of this software and associated
5
- documentation files (the "Software"), to deal in the Software without
6
- restriction, including without limitation the rights to use, copy, modify, merge,
7
- publish, distribute, sublicense, and/or sell copies of the Software, and to
8
- permit persons to whom the Software is furnished to do so, subject to the
9
- following conditions:
10
-
11
- The above copyright notice and this permission notice
12
- (including the next paragraph) shall be included in all copies or substantial
13
- portions of the Software.
14
-
15
- THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF
16
- ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
17
- MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO
18
- EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR
19
- OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
20
- FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
21
- THE SOFTWARE.