@bonprix-ds/react-wrapper-link 1.1.0 → 1.1.1

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/index.js CHANGED
@@ -1,2 +1 @@
1
- import e from "./src/Link.js";
2
- export { e as default };
1
+ export { default } from "./src/Link.js";
package/dist/src/Link.js CHANGED
@@ -2,7 +2,7 @@ import e from "./LinkRegistration.js";
2
2
  import "react";
3
3
  import { ArrowLeftIcon as t, ArrowRightIcon as n } from "@bonprix-ds/react-icon/icons";
4
4
  import { jsx as r, jsxs as i } from "react/jsx-runtime";
5
- //#region src/Link.tsx
5
+ // src/Link.tsx
6
6
  var a = "h-4 w-4 fill-current", o = ({ component: o = "a", children: s, showArrow: c = !1, arrowPosition: l = "left", small: u = !1, hideUnderline: d = !1, inverted: f, srLabel: p, ...m }) => {
7
7
  let h = o, { type: g, ..._ } = m;
8
8
  return /* @__PURE__ */ i("bpds-link", {
@@ -35,7 +35,6 @@ var a = "h-4 w-4 fill-current", o = ({ component: o = "a", children: s, showArro
35
35
  });
36
36
  };
37
37
  o.displayName = "Link";
38
- //#endregion
39
38
  export { o as default };
40
39
 
41
40
  //# sourceMappingURL=Link.js.map
@@ -1,11 +1,10 @@
1
1
  "use client";
2
2
  import "#styles";
3
- //#region src/LinkRegistration.tsx
3
+ // src/LinkRegistration.tsx
4
4
  typeof window < "u" && import("@bonprix-ds/bpds-link").then(({ Link: e }) => {
5
5
  customElements.get("bpds-link") || customElements.define("bpds-link", e);
6
6
  });
7
7
  var e = () => null;
8
- //#endregion
9
8
  export { e as default };
10
9
 
11
10
  //# sourceMappingURL=LinkRegistration.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"LinkRegistration.js","names":["LinkElement","LinkRegistration"],"sources":["../../src/LinkRegistration.tsx"],"sourcesContent":["\"use client\";\n\nimport \"@bonprix-ds/bpds-link/link.css\";\n\n// The element class is loaded lazily and only in the browser: `class X extends HTMLElement` is\n// evaluated at module scope, and `HTMLElement` does not exist in Node. The registry check sits inside\n// the callback because the tag can be taken during the await, and `define` throws on a duplicate name.\nif (typeof window !== \"undefined\") {\n void import(\"@bonprix-ds/bpds-link\").then(({ Link: LinkElement }) => {\n if (!customElements.get(\"bpds-link\")) customElements.define(\"bpds-link\", LinkElement);\n });\n}\n\nconst LinkRegistration = () => null;\n\nexport default LinkRegistration;\n"],"mappings":";;;AAOI,OAAO,SAAW,OACpB,OAAY,wBAAwB,CAAC,MAAM,EAAE,MAAMA,QAAkB;CACnE,AAAK,eAAe,IAAI,WAAW,KAAG,eAAe,OAAO,aAAaA,CAAW;AACtF,CAAC;AAGH,IAAMC,UAAyB"}
1
+ {"version":3,"file":"LinkRegistration.js","names":["LinkElement","LinkRegistration"],"sources":["../../src/LinkRegistration.tsx"],"sourcesContent":["\"use client\";\n\nimport \"@bonprix-ds/bpds-link/link.css\";\n\n// The element class is loaded lazily and only in the browser: a static import would bundle it with\n// this module and register the tag before React hydrates the markup. The registry check sits inside\n// the callback because the tag can be taken during the await, and `define` throws on a duplicate name.\nif (typeof window !== \"undefined\") {\n void import(\"@bonprix-ds/bpds-link\").then(({ Link: LinkElement }) => {\n if (!customElements.get(\"bpds-link\")) customElements.define(\"bpds-link\", LinkElement);\n });\n}\n\nconst LinkRegistration = () => null;\n\nexport default LinkRegistration;\n"],"mappings":";;;AAOI,OAAO,SAAW,OACpB,OAAY,wBAAwB,CAAC,MAAM,EAAE,MAAMA,QAAkB;CACnE,AAAK,eAAe,IAAI,WAAW,KAAG,eAAe,OAAO,aAAaA,CAAW;AACtF,CAAC;AAGH,IAAMC,UAAyB"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bonprix-ds/react-wrapper-link",
3
- "version": "1.1.0",
3
+ "version": "1.1.1",
4
4
  "description": "Link component, implemented as a React wrapper around bpds-link, for the Bonprix Design System.",
5
5
  "keywords": [],
6
6
  "license": "UNLICENSED",
@@ -41,14 +41,14 @@
41
41
  "provenance": true
42
42
  },
43
43
  "dependencies": {
44
- "@bonprix-ds/bpds-link": "1.1.0",
45
- "@bonprix-ds/react-icon": "1.3.2",
46
- "@bonprix-ds/react-link": "1.0.6"
44
+ "@bonprix-ds/bpds-link": "1.1.1",
45
+ "@bonprix-ds/react-icon": "1.3.3",
46
+ "@bonprix-ds/react-link": "1.0.7"
47
47
  },
48
48
  "devDependencies": {
49
+ "@bonprix-ds/vite-config": "0.0.0",
49
50
  "@types/react": "19.3.0",
50
- "vite": "8.3.3",
51
- "@bonprix-ds/vite-config": "0.0.0"
51
+ "vite": "8.3.5"
52
52
  },
53
53
  "peerDependencies": {
54
54
  "react": "^19",