namirasoft-site-react 1.3.17 → 1.3.18
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/components/NSCard.module.css +0 -11
- package/dist/components/NSEntityCardBackground.module.css +0 -11
- package/dist/components/NSLinkBlue.js +1 -1
- package/dist/components/NSLinkBlue.js.map +1 -1
- package/dist/components/NSLinkBlue.module.css +13 -2
- package/package.json +1 -1
- package/src/components/NSCard.module.css +0 -11
- package/src/components/NSEntityCardBackground.module.css +0 -11
- package/src/components/NSLinkBlue.module.css +13 -2
- package/src/components/NSLinkBlue.tsx +1 -1
|
@@ -80,17 +80,6 @@
|
|
|
80
80
|
width: 100%;
|
|
81
81
|
}
|
|
82
82
|
|
|
83
|
-
.ns_link_absolute {
|
|
84
|
-
position: absolute;
|
|
85
|
-
width: 100%;
|
|
86
|
-
height: 100%;
|
|
87
|
-
left: 0;
|
|
88
|
-
right: 0;
|
|
89
|
-
top: 0;
|
|
90
|
-
bottom: 0;
|
|
91
|
-
cursor: pointer;
|
|
92
|
-
}
|
|
93
|
-
|
|
94
83
|
|
|
95
84
|
@media only screen and (min-width: 576px) {
|
|
96
85
|
.ns_card {
|
|
@@ -15,7 +15,7 @@ export class NSLinkBlue extends React.Component {
|
|
|
15
15
|
}
|
|
16
16
|
render() {
|
|
17
17
|
var _a, _b;
|
|
18
|
-
return (_jsx("div", { className: Styles.ns_link_parent, style: this.props.style, children: _jsx("a", { className:
|
|
18
|
+
return (_jsx("div", { className: Styles.ns_link_parent, style: this.props.style, children: _jsx("a", { className: `text-white text-decoration-none ${this.props.title ? Styles.ns_link : Styles.ns_link_absolute}`, href: this.state.href, target: (_b = (_a = this.state) === null || _a === void 0 ? void 0 : _a.target) !== null && _b !== void 0 ? _b : "_self", children: this.state.title }) }));
|
|
19
19
|
}
|
|
20
20
|
}
|
|
21
21
|
//# sourceMappingURL=NSLinkBlue.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"NSLinkBlue.js","sourceRoot":"","sources":["../../src/components/NSLinkBlue.tsx"],"names":[],"mappings":"AAAA,YAAY,CAAC;;AAEb,OAAO,MAAM,MAAM,yBAAyB,CAAC;AAC7C,OAAO,KAAK,MAAM,OAAO,CAAC;AAiB1B,MAAM,OAAO,UAAW,SAAQ,KAAK,CAAC,SAA2C;IAEhF,YAAY,KAAsB;QAEjC,KAAK,CAAC,KAAK,CAAC,CAAC;QACb,IAAI,CAAC,KAAK,GAAG,EAAE,KAAK,EAAE,KAAK,CAAC,KAAK,EAAG,IAAI,EAAE,KAAK,CAAC,IAAI,EAAG,MAAM,EAAE,KAAK,CAAC,MAAM,EAAC,CAAC;IAC9E,CAAC;IACD,QAAQ,CAAC,KAAa;QAErB,IAAI,CAAC,QAAQ,CAAC,EAAE,KAAK,EAAE,CAAC,CAAC;IAC1B,CAAC;IACD,OAAO,CAAC,IAAY;QAEnB,IAAI,CAAC,QAAQ,CAAC,EAAE,IAAI,EAAE,CAAC,CAAC;IACzB,CAAC;IACQ,MAAM;;QAEd,OAAO,CAEN,cAAK,SAAS,EAAE,MAAM,CAAC,cAAc,EAAE,KAAK,EAAE,IAAI,CAAC,KAAK,CAAC,KAAK,YAC7D,YAAG,SAAS,
|
|
1
|
+
{"version":3,"file":"NSLinkBlue.js","sourceRoot":"","sources":["../../src/components/NSLinkBlue.tsx"],"names":[],"mappings":"AAAA,YAAY,CAAC;;AAEb,OAAO,MAAM,MAAM,yBAAyB,CAAC;AAC7C,OAAO,KAAK,MAAM,OAAO,CAAC;AAiB1B,MAAM,OAAO,UAAW,SAAQ,KAAK,CAAC,SAA2C;IAEhF,YAAY,KAAsB;QAEjC,KAAK,CAAC,KAAK,CAAC,CAAC;QACb,IAAI,CAAC,KAAK,GAAG,EAAE,KAAK,EAAE,KAAK,CAAC,KAAK,EAAG,IAAI,EAAE,KAAK,CAAC,IAAI,EAAG,MAAM,EAAE,KAAK,CAAC,MAAM,EAAC,CAAC;IAC9E,CAAC;IACD,QAAQ,CAAC,KAAa;QAErB,IAAI,CAAC,QAAQ,CAAC,EAAE,KAAK,EAAE,CAAC,CAAC;IAC1B,CAAC;IACD,OAAO,CAAC,IAAY;QAEnB,IAAI,CAAC,QAAQ,CAAC,EAAE,IAAI,EAAE,CAAC,CAAC;IACzB,CAAC;IACQ,MAAM;;QAEd,OAAO,CAEN,cAAK,SAAS,EAAE,MAAM,CAAC,cAAc,EAAE,KAAK,EAAE,IAAI,CAAC,KAAK,CAAC,KAAK,YAC7D,YAAG,SAAS,EAAE,mCAAmC,IAAI,CAAC,KAAK,CAAC,KAAK,CAAC,CAAC,CAAC,MAAM,CAAC,OAAO,CAAC,CAAC,CAAC,MAAM,CAAC,gBAAgB,EAAE,EAAE,IAAI,EAAE,IAAI,CAAC,KAAK,CAAC,IAAI,EAAE,MAAM,EAAE,MAAA,MAAA,IAAI,CAAC,KAAK,0CAAE,MAAM,mCAAI,OAAO,YAC1K,IAAI,CAAC,KAAK,CAAC,KAAK,GACd,GACC,CACN,CAAA;IACF,CAAC;CACD"}
|
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
gap: 24px;
|
|
8
8
|
}
|
|
9
9
|
|
|
10
|
-
.
|
|
10
|
+
.ns_link {
|
|
11
11
|
text-decoration: none;
|
|
12
12
|
background-color: #366EFF;
|
|
13
13
|
box-shadow: inset 2px 2px 2px 0 #1754F3;
|
|
@@ -22,4 +22,15 @@
|
|
|
22
22
|
border-radius: 24px;
|
|
23
23
|
max-width: 358px;
|
|
24
24
|
width: 100%;
|
|
25
|
-
}
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
.ns_link_absolute {
|
|
28
|
+
position: absolute;
|
|
29
|
+
width: 100%;
|
|
30
|
+
height: 100%;
|
|
31
|
+
left: 0;
|
|
32
|
+
right: 0;
|
|
33
|
+
top: 0;
|
|
34
|
+
bottom: 0;
|
|
35
|
+
cursor: pointer;
|
|
36
|
+
}
|
package/package.json
CHANGED
|
@@ -80,17 +80,6 @@
|
|
|
80
80
|
width: 100%;
|
|
81
81
|
}
|
|
82
82
|
|
|
83
|
-
.ns_link_absolute {
|
|
84
|
-
position: absolute;
|
|
85
|
-
width: 100%;
|
|
86
|
-
height: 100%;
|
|
87
|
-
left: 0;
|
|
88
|
-
right: 0;
|
|
89
|
-
top: 0;
|
|
90
|
-
bottom: 0;
|
|
91
|
-
cursor: pointer;
|
|
92
|
-
}
|
|
93
|
-
|
|
94
83
|
|
|
95
84
|
@media only screen and (min-width: 576px) {
|
|
96
85
|
.ns_card {
|
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
gap: 24px;
|
|
8
8
|
}
|
|
9
9
|
|
|
10
|
-
.
|
|
10
|
+
.ns_link {
|
|
11
11
|
text-decoration: none;
|
|
12
12
|
background-color: #366EFF;
|
|
13
13
|
box-shadow: inset 2px 2px 2px 0 #1754F3;
|
|
@@ -22,4 +22,15 @@
|
|
|
22
22
|
border-radius: 24px;
|
|
23
23
|
max-width: 358px;
|
|
24
24
|
width: 100%;
|
|
25
|
-
}
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
.ns_link_absolute {
|
|
28
|
+
position: absolute;
|
|
29
|
+
width: 100%;
|
|
30
|
+
height: 100%;
|
|
31
|
+
left: 0;
|
|
32
|
+
right: 0;
|
|
33
|
+
top: 0;
|
|
34
|
+
bottom: 0;
|
|
35
|
+
cursor: pointer;
|
|
36
|
+
}
|
|
@@ -38,7 +38,7 @@ export class NSLinkBlue extends React.Component<NSLinkBlueProps, NSLinkBlueState
|
|
|
38
38
|
return (
|
|
39
39
|
|
|
40
40
|
<div className={Styles.ns_link_parent} style={this.props.style}>
|
|
41
|
-
<a className=
|
|
41
|
+
<a className={`text-white text-decoration-none ${this.props.title ? Styles.ns_link : Styles.ns_link_absolute}`} href={this.state.href} target={this.state?.target ?? "_self"} >
|
|
42
42
|
{this.state.title}
|
|
43
43
|
</a>
|
|
44
44
|
</div>
|