@pinnacle0/web-ui 0.5.0-beta.10 → 0.5.0-beta.11
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.
|
@@ -30,8 +30,9 @@ export var WithExplanation = /** @class */ (function (_super) {
|
|
|
30
30
|
children,
|
|
31
31
|
React.createElement(Tooltip, { className: "g-with-explanation-tooltip", title: Array.isArray(explanation) ? explanation.map(function (_, index) { return React.createElement("p", { key: index }, _); }) : explanation },
|
|
32
32
|
React.createElement("div", { className: "icon-container" },
|
|
33
|
-
React.createElement("svg", { viewBox: "0 0
|
|
34
|
-
React.createElement("
|
|
33
|
+
React.createElement("svg", { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 26 24" },
|
|
34
|
+
React.createElement("circle", { cx: "8", cy: "8", r: "8", "data-name": "\u692D\u5706\u5F62", style: { fill: "none", strokeMiterlimit: 10 }, transform: "translate(3.5 4)" }),
|
|
35
|
+
React.createElement("path", { d: "M2.338 9.9a.972.972 0 0 1-.294-.715.929.929 0 0 1 .294-.714.991.991 0 0 1 .728-.28 1 1 0 0 1 .742.28.929.929 0 0 1 .294.714.994.994 0 0 1-.308.728 1.049 1.049 0 0 1-.728.28 1 1 0 0 1-.728-.293zm-.014-2.466V7.2a2.794 2.794 0 0 1 .28-1.33 6.938 6.938 0 0 1 1.582-1.74l.239-.266a1.638 1.638 0 0 0 .391-1.022 1.593 1.593 0 0 0-.406-1.148 1.624 1.624 0 0 0-1.19-.419 1.549 1.549 0 0 0-1.373.6A2.345 2.345 0 0 0 1.47 3.3H0A3.247 3.247 0 0 1 .882.9 3.245 3.245 0 0 1 3.318 0 3.131 3.131 0 0 1 5.5.742a2.53 2.53 0 0 1 .841 2 2.71 2.71 0 0 1-.531 1.71 14.388 14.388 0 0 1-1.176 1.092 2.319 2.319 0 0 0-.588.728 1.871 1.871 0 0 0-.224.924v.238z", transform: "translate(8.336 6.808)" }))))));
|
|
35
36
|
}
|
|
36
37
|
else {
|
|
37
38
|
return children || "";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/core/WithExplanation/index.tsx"],"names":[],"mappings":";;;;;;;;;;;;;;;AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAC,UAAU,EAAC,MAAM,uBAAuB,CAAC;AACjD,OAAO,EAAC,OAAO,EAAC,MAAM,YAAY,CAAC;AAGnC,OAAO,cAAc,CAAC;AAetB;IAAqC,mCAA0B;IAA/D;;
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/core/WithExplanation/index.tsx"],"names":[],"mappings":";;;;;;;;;;;;;;;AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAC,UAAU,EAAC,MAAM,uBAAuB,CAAC;AACjD,OAAO,EAAC,OAAO,EAAC,MAAM,YAAY,CAAC;AAGnC,OAAO,cAAc,CAAC;AAetB;IAAqC,mCAA0B;IAA/D;;IA8BA,CAAC;IAvBG,gCAAM,GAAN;;QACW,IAAA,QAAQ,IAAT,KAAwC,IAAI,CAAC,KAAK,cAAzC,EAAE,WAAW,iBAAA,EAAE,YAAY,kBAAA,CAAe;QACzD,IAAI,WAAW,EAAE;YACb,OAAO,CACH,6BAAK,SAAS,EAAE,UAAU,CAAC,oBAAoB,EAAE,oBAAa,YAAY,CAAE,CAAC;gBACxE,QAAQ;gBACT,oBAAC,OAAO,IAAC,SAAS,EAAC,4BAA4B,EAAC,KAAK,EAAE,KAAK,CAAC,OAAO,CAAC,WAAW,CAAC,CAAC,CAAC,CAAC,WAAW,CAAC,GAAG,CAAC,UAAC,CAAC,EAAE,KAAK,IAAK,OAAA,2BAAG,GAAG,EAAE,KAAK,IAAG,CAAC,CAAK,EAAtB,CAAsB,CAAC,CAAC,CAAC,CAAC,WAAW;oBACnJ,6BAAK,SAAS,EAAC,gBAAgB;wBAC3B,6BAAK,KAAK,EAAC,4BAA4B,EAAC,OAAO,EAAC,WAAW;4BACvD,gCAAQ,EAAE,EAAC,GAAG,EAAC,EAAE,EAAC,GAAG,EAAC,CAAC,EAAC,GAAG,eAAW,oBAAK,EAAC,KAAK,EAAE,EAAC,IAAI,EAAE,MAAM,EAAE,gBAAgB,EAAE,EAAE,EAAC,EAAE,SAAS,EAAC,kBAAkB,GAAG;4BACxH,8BACI,CAAC,EAAC,4nBAA4nB,EAC9nB,SAAS,EAAC,wBAAwB,GACpC,CACA,CACJ,CACA,CACR,CACT,CAAC;SACL;aAAM;YACH,OAAO,QAAQ,IAAI,EAAE,CAAC;SACzB;IACL,CAAC;IA5BM,2BAAW,GAAG,iBAAiB,CAAC;IAEhC,4BAAY,GAAwB;QACvC,YAAY,EAAE,OAAO;KACxB,CAAC;IAyBN,sBAAC;CAAA,AA9BD,CAAqC,KAAK,CAAC,aAAa,GA8BvD"}
|
|
@@ -1,4 +1,6 @@
|
|
|
1
1
|
.g-with-explanation {
|
|
2
|
+
@gap: 6px;
|
|
3
|
+
|
|
2
4
|
display: inline-flex;
|
|
3
5
|
justify-content: center;
|
|
4
6
|
align-items: center;
|
|
@@ -8,7 +10,7 @@
|
|
|
8
10
|
|
|
9
11
|
.icon-container {
|
|
10
12
|
margin-left: 0;
|
|
11
|
-
margin-right:
|
|
13
|
+
margin-right: @gap;
|
|
12
14
|
}
|
|
13
15
|
}
|
|
14
16
|
|
|
@@ -16,12 +18,24 @@
|
|
|
16
18
|
display: inline-flex;
|
|
17
19
|
align-items: center;
|
|
18
20
|
justify-content: center;
|
|
19
|
-
width:
|
|
20
|
-
height:
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
margin-left: 5px;
|
|
21
|
+
width: auto;
|
|
22
|
+
height: 1px;
|
|
23
|
+
margin-left: @gap;
|
|
24
|
+
color: inherit;
|
|
24
25
|
cursor: help;
|
|
26
|
+
|
|
27
|
+
svg {
|
|
28
|
+
width: auto;
|
|
29
|
+
height: 1.4em;
|
|
30
|
+
|
|
31
|
+
path {
|
|
32
|
+
fill: currentcolor;
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
circle {
|
|
36
|
+
stroke: currentcolor;
|
|
37
|
+
}
|
|
38
|
+
}
|
|
25
39
|
}
|
|
26
40
|
}
|
|
27
41
|
|