namirasoft-site-react 1.4.226 → 1.4.227

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.
@@ -3,10 +3,10 @@ import { NSSpace, NSSpaceSizeType } from './NSSpace';
3
3
  import { NSLinkBlue } from './NSLinkBlue';
4
4
  import Styles from './NSCard.module.css';
5
5
  export function NSCard(props) {
6
- var _a, _b, _c;
7
- return (_jsxs("div", { id: props.id, className: `${Styles.ns_card} ${(_b = (_a = props.classList) === null || _a === void 0 ? void 0 : _a.join(" ")) !== null && _b !== void 0 ? _b : ""}`, style: props.style, children: [_jsxs("a", { href: props.link.href, target: props.link.target, rel: "noreferrer", className: Styles.ns_card_detail_container, children: [_jsxs("div", { className: Styles.ns_card_title_img, children: [_jsx("img", Object.assign({ className: Styles.ns_card_img, alt: 'Card' }, props.image)), props.headline &&
8
- _jsxs("span", { className: Styles.ns_card_headline, style: { color: (_c = props.headline) === null || _c === void 0 ? void 0 : _c.color }, children: [" ", props.headline.text, " "] }), _jsx("h3", { className: Styles.ns_card_title, children: props.title })] }), props.description &&
6
+ var _a, _b, _c, _d, _e;
7
+ return (_jsxs("div", { id: props.id, className: `${Styles.ns_card} ${(_b = (_a = props.classList) === null || _a === void 0 ? void 0 : _a.join(" ")) !== null && _b !== void 0 ? _b : ""}`, style: props.style, children: [_jsxs("a", { href: props.link.href, target: (_c = props.link.target) !== null && _c !== void 0 ? _c : "_blank", rel: "noreferrer", className: Styles.ns_card_detail_container, children: [_jsxs("div", { className: Styles.ns_card_title_img, children: [_jsx("img", Object.assign({ className: Styles.ns_card_img, alt: 'Card' }, props.image)), props.headline &&
8
+ _jsxs("span", { className: Styles.ns_card_headline, style: { color: (_d = props.headline) === null || _d === void 0 ? void 0 : _d.color }, children: [" ", props.headline.text, " "] }), _jsx("h3", { className: Styles.ns_card_title, children: props.title })] }), props.description &&
9
9
  _jsx("p", { className: Styles.ns_card_description, children: props.description })] }), props.link.title &&
10
- _jsxs("div", { className: Styles.ns_card_link_container, children: [_jsx(NSLinkBlue, { title: props.link.title, href: props.link.href, target: props.link.target, style: { marginTop: "24px" } }), _jsx(NSSpace, { size: NSSpaceSizeType.SMALL })] })] }));
10
+ _jsxs("div", { className: Styles.ns_card_link_container, children: [_jsx(NSLinkBlue, { title: props.link.title, href: props.link.href, target: (_e = props.link.target) !== null && _e !== void 0 ? _e : "_blank", style: { marginTop: "24px" } }), _jsx(NSSpace, { size: NSSpaceSizeType.SMALL })] })] }));
11
11
  }
12
12
  //# sourceMappingURL=NSCard.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"NSCard.js","sourceRoot":"","sources":["../../src/components/NSCard.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,OAAO,EAAE,eAAe,EAAE,MAAM,WAAW,CAAC;AACrD,OAAO,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AAI1C,OAAO,MAAM,MAAM,qBAAqB,CAAA;AAcxC,MAAM,UAAU,MAAM,CAAC,KAAkB;;IAExC,OAAO,CACN,eACC,EAAE,EAAE,KAAK,CAAC,EAAE,EACZ,SAAS,EAAE,GAAG,MAAM,CAAC,OAAO,IAAI,MAAA,MAAA,KAAK,CAAC,SAAS,0CAAE,IAAI,CAAC,GAAG,CAAC,mCAAI,EAAE,EAAE,EAClE,KAAK,EAAE,KAAK,CAAC,KAAK,aAElB,aACC,IAAI,EAAE,KAAK,CAAC,IAAI,CAAC,IAAI,EACrB,MAAM,EAAE,KAAK,CAAC,IAAI,CAAC,MAAM,EACzB,GAAG,EAAC,YAAY,EAChB,SAAS,EAAE,MAAM,CAAC,wBAAwB,aAE1C,eAAK,SAAS,EAAE,MAAM,CAAC,iBAAiB,aACvC,4BAAK,SAAS,EAAE,MAAM,CAAC,WAAW,EAAE,GAAG,EAAC,MAAM,IAAK,KAAK,CAAC,KAAK,EAAI,EACjE,KAAK,CAAC,QAAQ;gCACd,gBAAM,SAAS,EAAE,MAAM,CAAC,gBAAgB,EAAE,KAAK,EAAE,EAAE,KAAK,EAAE,MAAA,KAAK,CAAC,QAAQ,0CAAE,KAAK,EAAE,kBAAI,KAAK,CAAC,QAAQ,CAAC,IAAI,SAAS,EAElH,aAAI,SAAS,EAAE,MAAM,CAAC,aAAa,YACjC,KAAK,CAAC,KAAK,GACR,IACA,EAEL,KAAK,CAAC,WAAW;wBACjB,YAAG,SAAS,EAAE,MAAM,CAAC,mBAAmB,YACtC,KAAK,CAAC,WAAW,GACf,IAEF,EAEH,KAAK,CAAC,IAAI,CAAC,KAAK;gBAChB,eAAK,SAAS,EAAE,MAAM,CAAC,sBAAsB,aAC5C,KAAC,UAAU,IACV,KAAK,EAAE,KAAK,CAAC,IAAI,CAAC,KAAK,EACvB,IAAI,EAAE,KAAK,CAAC,IAAI,CAAC,IAAI,EACrB,MAAM,EAAE,KAAK,CAAC,IAAI,CAAC,MAAM,EACzB,KAAK,EAAE,EAAE,SAAS,EAAE,MAAM,EAAE,GAC3B,EACF,KAAC,OAAO,IAAC,IAAI,EAAE,eAAe,CAAC,KAAK,GAAI,IACnC,IAED,CACP,CAAC;AACH,CAAC"}
1
+ {"version":3,"file":"NSCard.js","sourceRoot":"","sources":["../../src/components/NSCard.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,OAAO,EAAE,eAAe,EAAE,MAAM,WAAW,CAAC;AACrD,OAAO,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AAI1C,OAAO,MAAM,MAAM,qBAAqB,CAAA;AAcxC,MAAM,UAAU,MAAM,CAAC,KAAkB;;IAExC,OAAO,CACN,eACC,EAAE,EAAE,KAAK,CAAC,EAAE,EACZ,SAAS,EAAE,GAAG,MAAM,CAAC,OAAO,IAAI,MAAA,MAAA,KAAK,CAAC,SAAS,0CAAE,IAAI,CAAC,GAAG,CAAC,mCAAI,EAAE,EAAE,EAClE,KAAK,EAAE,KAAK,CAAC,KAAK,aAElB,aACC,IAAI,EAAE,KAAK,CAAC,IAAI,CAAC,IAAI,EACrB,MAAM,EAAE,MAAA,KAAK,CAAC,IAAI,CAAC,MAAM,mCAAI,QAAQ,EACrC,GAAG,EAAC,YAAY,EAChB,SAAS,EAAE,MAAM,CAAC,wBAAwB,aAE1C,eAAK,SAAS,EAAE,MAAM,CAAC,iBAAiB,aACvC,4BAAK,SAAS,EAAE,MAAM,CAAC,WAAW,EAAE,GAAG,EAAC,MAAM,IAAK,KAAK,CAAC,KAAK,EAAI,EACjE,KAAK,CAAC,QAAQ;gCACd,gBAAM,SAAS,EAAE,MAAM,CAAC,gBAAgB,EAAE,KAAK,EAAE,EAAE,KAAK,EAAE,MAAA,KAAK,CAAC,QAAQ,0CAAE,KAAK,EAAE,kBAAI,KAAK,CAAC,QAAQ,CAAC,IAAI,SAAS,EAElH,aAAI,SAAS,EAAE,MAAM,CAAC,aAAa,YACjC,KAAK,CAAC,KAAK,GACR,IACA,EAEL,KAAK,CAAC,WAAW;wBACjB,YAAG,SAAS,EAAE,MAAM,CAAC,mBAAmB,YACtC,KAAK,CAAC,WAAW,GACf,IAEF,EAEH,KAAK,CAAC,IAAI,CAAC,KAAK;gBAChB,eAAK,SAAS,EAAE,MAAM,CAAC,sBAAsB,aAC5C,KAAC,UAAU,IACV,KAAK,EAAE,KAAK,CAAC,IAAI,CAAC,KAAK,EACvB,IAAI,EAAE,KAAK,CAAC,IAAI,CAAC,IAAI,EACrB,MAAM,EAAE,MAAA,KAAK,CAAC,IAAI,CAAC,MAAM,mCAAI,QAAQ,EACrC,KAAK,EAAE,EAAE,SAAS,EAAE,MAAM,EAAE,GAC3B,EACF,KAAC,OAAO,IAAC,IAAI,EAAE,eAAe,CAAC,KAAK,GAAI,IACnC,IAED,CACP,CAAC;AACH,CAAC"}
@@ -2,8 +2,8 @@ import { jsx as _jsx, jsxs as _jsxs, Fragment as _Fragment } from "react/jsx-run
2
2
  import Styles from './NSEntityCardBackground.module.css';
3
3
  import { NSLinkBlue } from './NSLinkBlue';
4
4
  export function NSEntityCardBackground(props) {
5
- var _a, _b;
5
+ var _a, _b, _c;
6
6
  return (_jsx(_Fragment, { children: _jsxs("article", { id: props.id, className: `${Styles.card_background} ${(_b = (_a = props.classList) === null || _a === void 0 ? void 0 : _a.join(" ")) !== null && _b !== void 0 ? _b : ""}`, style: props.style, children: [_jsx("h3", { className: Styles.card_background_text, children: props.title }), props.link &&
7
- _jsx("div", { className: Styles.ns_card_link_container, children: _jsx(NSLinkBlue, { href: props.link.href, target: props.link.target }) })] }) }));
7
+ _jsx("div", { className: Styles.ns_card_link_container, children: _jsx(NSLinkBlue, { href: props.link.href, target: (_c = props.link.target) !== null && _c !== void 0 ? _c : "_blank" }) })] }) }));
8
8
  }
9
9
  //# sourceMappingURL=NSEntityCardBackground.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"NSEntityCardBackground.js","sourceRoot":"","sources":["../../src/components/NSEntityCardBackground.tsx"],"names":[],"mappings":";AAEA,OAAO,MAAM,MAAM,qCAAqC,CAAA;AACxD,OAAO,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AAU1C,MAAM,UAAU,sBAAsB,CAAC,KAAkC;;IAExE,OAAO,CACN,4BACC,mBAAS,EAAE,EAAE,KAAK,CAAC,EAAE,EACpB,SAAS,EAAE,GAAG,MAAM,CAAC,eAAe,IAAI,MAAA,MAAA,KAAK,CAAC,SAAS,0CAAE,IAAI,CAAC,GAAG,CAAC,mCAAI,EAAE,EAAE,EAC1E,KAAK,EAAE,KAAK,CAAC,KAAK,aAElB,aAAI,SAAS,EAAE,MAAM,CAAC,oBAAoB,YACxC,KAAK,CAAC,KAAK,GACR,EAEJ,KAAK,CAAC,IAAI;oBACV,cAAK,SAAS,EAAE,MAAM,CAAC,sBAAsB,YAC5C,KAAC,UAAU,IACV,IAAI,EAAE,KAAK,CAAC,IAAI,CAAC,IAAI,EACrB,MAAM,EAAE,KAAK,CAAC,IAAI,CAAC,MAAM,GACxB,GACG,IAEG,GACT,CACH,CAAC;AACH,CAAC"}
1
+ {"version":3,"file":"NSEntityCardBackground.js","sourceRoot":"","sources":["../../src/components/NSEntityCardBackground.tsx"],"names":[],"mappings":";AAEA,OAAO,MAAM,MAAM,qCAAqC,CAAA;AACxD,OAAO,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AAU1C,MAAM,UAAU,sBAAsB,CAAC,KAAkC;;IAExE,OAAO,CACN,4BACC,mBAAS,EAAE,EAAE,KAAK,CAAC,EAAE,EACpB,SAAS,EAAE,GAAG,MAAM,CAAC,eAAe,IAAI,MAAA,MAAA,KAAK,CAAC,SAAS,0CAAE,IAAI,CAAC,GAAG,CAAC,mCAAI,EAAE,EAAE,EAC1E,KAAK,EAAE,KAAK,CAAC,KAAK,aAElB,aAAI,SAAS,EAAE,MAAM,CAAC,oBAAoB,YACxC,KAAK,CAAC,KAAK,GACR,EAEJ,KAAK,CAAC,IAAI;oBACV,cAAK,SAAS,EAAE,MAAM,CAAC,sBAAsB,YAC5C,KAAC,UAAU,IACV,IAAI,EAAE,KAAK,CAAC,IAAI,CAAC,IAAI,EACrB,MAAM,EAAE,MAAA,KAAK,CAAC,IAAI,CAAC,MAAM,mCAAI,QAAQ,GACpC,GACG,IAEG,GACT,CACH,CAAC;AACH,CAAC"}
@@ -2,6 +2,7 @@ import { jsx as _jsx } from "react/jsx-runtime";
2
2
  import { NSBox } from "./NSBox";
3
3
  import { NSLink } from "./NSLink";
4
4
  export function NSLinkBlue(props) {
5
+ var _a;
5
6
  return (_jsx(NSLink, { id: props.id, style: {
6
7
  color: "#fff",
7
8
  border: "none",
@@ -9,6 +10,6 @@ export function NSLinkBlue(props) {
9
10
  width: NSBox.width.one,
10
11
  height: NSBox.height.box,
11
12
  boxShadow: "inset 0 - 4px 4px 0px rgb(0 0 0 / 25 %)"
12
- }, title: props.title, href: props.href, target: props.target }));
13
+ }, title: props.title, href: props.href, target: (_a = props.target) !== null && _a !== void 0 ? _a : "_self" }));
13
14
  }
14
15
  //# sourceMappingURL=NSLinkBlue.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"NSLinkBlue.js","sourceRoot":"","sources":["../../src/components/NSLinkBlue.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,KAAK,EAAE,MAAM,SAAS,CAAC;AAChC,OAAO,EAAE,MAAM,EAAe,MAAM,UAAU,CAAC;AAE/C,MAAM,UAAU,UAAU,CAAC,KAAkB;IAE5C,OAAO,CACN,KAAC,MAAM,IACN,EAAE,EAAE,KAAK,CAAC,EAAE,EACZ,KAAK,EACJ;YACA,KAAK,EAAE,MAAM;YACb,MAAM,EAAE,MAAM;YACd,eAAe,EAAE,sBAAsB;YACvC,KAAK,EAAE,KAAK,CAAC,KAAK,CAAC,GAAG;YACtB,MAAM,EAAE,KAAK,CAAC,MAAM,CAAC,GAAG;YACxB,SAAS,EAAE,yCAAyC;SACpD,EACD,KAAK,EAAE,KAAK,CAAC,KAAK,EAClB,IAAI,EAAE,KAAK,CAAC,IAAI,EAChB,MAAM,EAAE,KAAK,CAAC,MAAM,GACnB,CAAC,CAAC;AACN,CAAC"}
1
+ {"version":3,"file":"NSLinkBlue.js","sourceRoot":"","sources":["../../src/components/NSLinkBlue.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,KAAK,EAAE,MAAM,SAAS,CAAC;AAChC,OAAO,EAAE,MAAM,EAAe,MAAM,UAAU,CAAC;AAE/C,MAAM,UAAU,UAAU,CAAC,KAAkB;;IAE5C,OAAO,CACN,KAAC,MAAM,IACN,EAAE,EAAE,KAAK,CAAC,EAAE,EACZ,KAAK,EACJ;YACA,KAAK,EAAE,MAAM;YACb,MAAM,EAAE,MAAM;YACd,eAAe,EAAE,sBAAsB;YACvC,KAAK,EAAE,KAAK,CAAC,KAAK,CAAC,GAAG;YACtB,MAAM,EAAE,KAAK,CAAC,MAAM,CAAC,GAAG;YACxB,SAAS,EAAE,yCAAyC;SACpD,EACD,KAAK,EAAE,KAAK,CAAC,KAAK,EAClB,IAAI,EAAE,KAAK,CAAC,IAAI,EAChB,MAAM,EAAE,MAAA,KAAK,CAAC,MAAM,mCAAI,OAAO,GAC9B,CAAC,CAAC;AACN,CAAC"}
@@ -1,6 +1,7 @@
1
1
  import { jsx as _jsx } from "react/jsx-runtime";
2
2
  import { NSLink } from "./NSLink";
3
3
  export function NSLinkGreen(props) {
4
- return _jsx(NSLink, { id: props.id, classList: props.classList, style: Object.assign(Object.assign({}, props.style), { backgroundColor: "#06D182" }), title: props.title, href: props.href, target: props.target });
4
+ var _a;
5
+ return _jsx(NSLink, { id: props.id, classList: props.classList, style: Object.assign(Object.assign({}, props.style), { backgroundColor: "#06D182" }), title: props.title, href: props.href, target: (_a = props.target) !== null && _a !== void 0 ? _a : "_self" });
5
6
  }
6
7
  //# sourceMappingURL=NSLinkGreen.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"NSLinkGreen.js","sourceRoot":"","sources":["../../src/components/NSLinkGreen.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,MAAM,EAAe,MAAM,UAAU,CAAC;AAE/C,MAAM,UAAU,WAAW,CAAC,KAAkB;IAE1C,OAAO,KAAC,MAAM,IAAC,EAAE,EAAE,KAAK,CAAC,EAAE,EAAE,SAAS,EAAE,KAAK,CAAC,SAAS,EAAE,KAAK,kCAAO,KAAK,CAAC,KAAK,KAAE,eAAe,EAAE,SAAS,KAAI,KAAK,EAAE,KAAK,CAAC,KAAK,EAAE,IAAI,EAAE,KAAK,CAAC,IAAI,EAAE,MAAM,EAAE,KAAK,CAAC,MAAM,GAAI,CAAC;AACnL,CAAC"}
1
+ {"version":3,"file":"NSLinkGreen.js","sourceRoot":"","sources":["../../src/components/NSLinkGreen.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,MAAM,EAAe,MAAM,UAAU,CAAC;AAE/C,MAAM,UAAU,WAAW,CAAC,KAAkB;;IAE1C,OAAO,KAAC,MAAM,IACV,EAAE,EAAE,KAAK,CAAC,EAAE,EACZ,SAAS,EAAE,KAAK,CAAC,SAAS,EAC1B,KAAK,kCAAO,KAAK,CAAC,KAAK,KAAE,eAAe,EAAE,SAAS,KACnD,KAAK,EAAE,KAAK,CAAC,KAAK,EAClB,IAAI,EAAE,KAAK,CAAC,IAAI,EAChB,MAAM,EAAE,MAAA,KAAK,CAAC,MAAM,mCAAI,OAAO,GACjC,CAAC;AACP,CAAC"}
@@ -1,6 +1,7 @@
1
1
  import { jsx as _jsx } from "react/jsx-runtime";
2
2
  import { NSLink } from "./NSLink";
3
3
  export function NSLinkRed(props) {
4
- return _jsx(NSLink, { id: props.id, classList: props.classList, style: Object.assign(Object.assign({}, props.style), { backgroundColor: "rgb(265, 63, 63, 1)" }), title: props.title, href: props.href, target: props.target });
4
+ var _a;
5
+ return _jsx(NSLink, { id: props.id, classList: props.classList, style: Object.assign(Object.assign({}, props.style), { backgroundColor: "rgb(265, 63, 63, 1)" }), title: props.title, href: props.href, target: (_a = props.target) !== null && _a !== void 0 ? _a : "_self" });
5
6
  }
6
7
  //# sourceMappingURL=NSLinkRed.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"NSLinkRed.js","sourceRoot":"","sources":["../../src/components/NSLinkRed.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,MAAM,EAAe,MAAM,UAAU,CAAC;AAE/C,MAAM,UAAU,SAAS,CAAC,KAAkB;IAExC,OAAO,KAAC,MAAM,IAAC,EAAE,EAAE,KAAK,CAAC,EAAE,EAAE,SAAS,EAAE,KAAK,CAAC,SAAS,EAAE,KAAK,kCAAO,KAAK,CAAC,KAAK,KAAE,eAAe,EAAE,qBAAqB,KAAI,KAAK,EAAE,KAAK,CAAC,KAAK,EAAE,IAAI,EAAE,KAAK,CAAC,IAAI,EAAE,MAAM,EAAE,KAAK,CAAC,MAAM,GAAI,CAAC;AAC/L,CAAC"}
1
+ {"version":3,"file":"NSLinkRed.js","sourceRoot":"","sources":["../../src/components/NSLinkRed.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,MAAM,EAAe,MAAM,UAAU,CAAC;AAE/C,MAAM,UAAU,SAAS,CAAC,KAAkB;;IAExC,OAAO,KAAC,MAAM,IACV,EAAE,EAAE,KAAK,CAAC,EAAE,EACZ,SAAS,EAAE,KAAK,CAAC,SAAS,EAC1B,KAAK,kCAAO,KAAK,CAAC,KAAK,KAAE,eAAe,EAAE,qBAAqB,KAC/D,KAAK,EAAE,KAAK,CAAC,KAAK,EAClB,IAAI,EAAE,KAAK,CAAC,IAAI,EAChB,MAAM,EAAE,MAAA,KAAK,CAAC,MAAM,mCAAI,OAAO,GACjC,CAAC;AACP,CAAC"}
package/package.json CHANGED
@@ -8,7 +8,7 @@
8
8
  "framework": "npm",
9
9
  "application": "package",
10
10
  "private": false,
11
- "version": "1.4.226",
11
+ "version": "1.4.227",
12
12
  "author": "Amir Abolhasani",
13
13
  "license": "MIT",
14
14
  "main": "./dist/main.js",
@@ -27,7 +27,7 @@ export function NSCard(props: NSCardProps)
27
27
  >
28
28
  <a
29
29
  href={props.link.href}
30
- target={props.link.target}
30
+ target={props.link.target ?? "_blank"}
31
31
  rel="noreferrer"
32
32
  className={Styles.ns_card_detail_container}
33
33
  >
@@ -53,7 +53,7 @@ export function NSCard(props: NSCardProps)
53
53
  <NSLinkBlue
54
54
  title={props.link.title}
55
55
  href={props.link.href}
56
- target={props.link.target}
56
+ target={props.link.target ?? "_blank"}
57
57
  style={{ marginTop: "24px" }}
58
58
  />
59
59
  <NSSpace size={NSSpaceSizeType.SMALL} />
@@ -27,7 +27,7 @@ export function NSEntityCardBackground(props: NSEntityCardBackgroundProps)
27
27
  <div className={Styles.ns_card_link_container}>
28
28
  <NSLinkBlue
29
29
  href={props.link.href}
30
- target={props.link.target}
30
+ target={props.link.target ?? "_blank"}
31
31
  />
32
32
  </div>
33
33
  }
@@ -17,6 +17,6 @@ export function NSLinkBlue(props: NSLinkProps)
17
17
  }}
18
18
  title={props.title}
19
19
  href={props.href}
20
- target={props.target}
20
+ target={props.target ?? "_self"}
21
21
  />);
22
22
  }
@@ -2,5 +2,12 @@ import { NSLink, NSLinkProps } from "./NSLink";
2
2
 
3
3
  export function NSLinkGreen(props: NSLinkProps)
4
4
  {
5
- return <NSLink id={props.id} classList={props.classList} style={{ ...props.style, backgroundColor: "#06D182" }} title={props.title} href={props.href} target={props.target} />;
5
+ return <NSLink
6
+ id={props.id}
7
+ classList={props.classList}
8
+ style={{ ...props.style, backgroundColor: "#06D182" }}
9
+ title={props.title}
10
+ href={props.href}
11
+ target={props.target ?? "_self"}
12
+ />;
6
13
  }
@@ -2,5 +2,12 @@ import { NSLink, NSLinkProps } from "./NSLink";
2
2
 
3
3
  export function NSLinkRed(props: NSLinkProps)
4
4
  {
5
- return <NSLink id={props.id} classList={props.classList} style={{ ...props.style, backgroundColor: "rgb(265, 63, 63, 1)" }} title={props.title} href={props.href} target={props.target} />;
5
+ return <NSLink
6
+ id={props.id}
7
+ classList={props.classList}
8
+ style={{ ...props.style, backgroundColor: "rgb(265, 63, 63, 1)" }}
9
+ title={props.title}
10
+ href={props.href}
11
+ target={props.target ?? "_self"}
12
+ />;
6
13
  }