@fluid-topics/ft-reader-topic-content 1.0.0-alpha.1 → 1.0.0
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.
|
@@ -50,6 +50,7 @@
|
|
|
50
50
|
|
|
51
51
|
/* Ugly fix because font is broken */
|
|
52
52
|
font-size: calc(0.75 * ${m});
|
|
53
|
+
line-height: ${m};
|
|
53
54
|
position: relative;
|
|
54
55
|
top: -4%;
|
|
55
56
|
justify-content: center;
|
|
@@ -63,7 +64,7 @@
|
|
|
63
64
|
font-family: ${w}, "Material Icons", sans-serif;
|
|
64
65
|
}
|
|
65
66
|
`;var j;!function(t){t.fluid_topics="fluid-topics",t.file_format="file-format",t.material="material"}(j||(j={}));var $=function(t,e,i,s){for(var o,n=arguments.length,a=n<3?e:null===s?s=Object.getOwnPropertyDescriptor(e,i):s,r=t.length-1;r>=0;r--)(o=t[r])&&(a=(n<3?o(a):n>3?o(e,i,a):o(e,i))||a);return n>3&&a&&Object.defineProperty(e,i,a),a};class k extends e.FtLitElement{constructor(){super(...arguments),this.resolvedIcon=i.nothing}render(){const t=this.variant&&Object.values(j).includes(this.variant)?this.variant:j.fluid_topics,e=t!==j.material||!!this.value;return i.html`
|
|
66
|
-
<i class="ft-icon
|
|
67
|
+
<i class="ft-icon ft-icon--${t}" part="icon icon-${t}">
|
|
67
68
|
${o.unsafeHTML(this.resolvedIcon)}
|
|
68
69
|
<slot ?hidden=${e}></slot>
|
|
69
70
|
</i>
|
|
@@ -151,6 +151,7 @@ var lt,ft;let ht=class extends R{constructor(){super(...arguments),this.renderOp
|
|
|
151
151
|
|
|
152
152
|
/* Ugly fix because font is broken */
|
|
153
153
|
font-size: calc(0.75 * ${In});
|
|
154
|
+
line-height: ${In};
|
|
154
155
|
position: relative;
|
|
155
156
|
top: -4%;
|
|
156
157
|
justify-content: center;
|
|
@@ -164,7 +165,7 @@ var lt,ft;let ht=class extends R{constructor(){super(...arguments),this.renderOp
|
|
|
164
165
|
font-family: ${Bn}, "Material Icons", sans-serif;
|
|
165
166
|
}
|
|
166
167
|
`;var Kn;!function(t){t.fluid_topics="fluid-topics",t.file_format="file-format",t.material="material"}(Kn||(Kn={}));var zn=function(t,e,n,i){for(var r,o=arguments.length,s=o<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,n):i,a=t.length-1;a>=0;a--)(r=t[a])&&(s=(o<3?r(s):o>3?r(e,n,s):r(e,n))||s);return o>3&&s&&Object.defineProperty(e,n,s),s};class Hn extends Ot{constructor(){super(...arguments),this.resolvedIcon=X}render(){const t=this.variant&&Object.values(Kn).includes(this.variant)?this.variant:Kn.fluid_topics,e=t!==Kn.material||!!this.value;return Z`
|
|
167
|
-
<i class="ft-icon
|
|
168
|
+
<i class="ft-icon ft-icon--${t}" part="icon icon-${t}">
|
|
168
169
|
${Pn(this.resolvedIcon)}
|
|
169
170
|
<slot ?hidden=${e}></slot>
|
|
170
171
|
</i>
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@fluid-topics/ft-reader-topic-content",
|
|
3
|
-
"version": "1.0.0
|
|
3
|
+
"version": "1.0.0",
|
|
4
4
|
"description": "Content of a topic in integrated reader.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"Lit"
|
|
@@ -19,14 +19,14 @@
|
|
|
19
19
|
"url": "ssh://git@scm.mrs.antidot.net:2222/fluidtopics/ft-web-components.git"
|
|
20
20
|
},
|
|
21
21
|
"dependencies": {
|
|
22
|
-
"@fluid-topics/ft-chip": "1.0.0
|
|
23
|
-
"@fluid-topics/ft-i18n": "1.0.0
|
|
24
|
-
"@fluid-topics/ft-reader-context": "1.0.0
|
|
25
|
-
"@fluid-topics/ft-reader-topic-context": "1.0.0
|
|
26
|
-
"@fluid-topics/ft-tooltip": "1.0.0
|
|
27
|
-
"@fluid-topics/ft-wc-utils": "1.0.0
|
|
22
|
+
"@fluid-topics/ft-chip": "1.0.0",
|
|
23
|
+
"@fluid-topics/ft-i18n": "1.0.0",
|
|
24
|
+
"@fluid-topics/ft-reader-context": "1.0.0",
|
|
25
|
+
"@fluid-topics/ft-reader-topic-context": "1.0.0",
|
|
26
|
+
"@fluid-topics/ft-tooltip": "1.0.0",
|
|
27
|
+
"@fluid-topics/ft-wc-utils": "1.0.0",
|
|
28
28
|
"@fluid-topics/public-api": "1.0.33",
|
|
29
29
|
"lit": "2.7.2"
|
|
30
30
|
},
|
|
31
|
-
"gitHead": "
|
|
31
|
+
"gitHead": "90895771e0ea740f1a0d972b9fd3796051757255"
|
|
32
32
|
}
|