@fluid-topics/ft-notice 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.
package/build/ft-notice.light.js
CHANGED
|
@@ -33,6 +33,7 @@
|
|
|
33
33
|
|
|
34
34
|
/* Ugly fix because font is broken */
|
|
35
35
|
font-size: calc(0.75 * ${a.size});
|
|
36
|
+
line-height: ${a.size};
|
|
36
37
|
position: relative;
|
|
37
38
|
top: -4%;
|
|
38
39
|
justify-content: center;
|
|
@@ -46,7 +47,7 @@
|
|
|
46
47
|
font-family: ${a.materialFontFamily}, "Material Icons", sans-serif;
|
|
47
48
|
}
|
|
48
49
|
`;var f;!function(t){t.fluid_topics="fluid-topics",t.file_format="file-format",t.material="material"}(f||(f={}));var h,p=function(t,e,i,o){for(var n,s=arguments.length,r=s<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,i):o,a=t.length-1;a>=0;a--)(n=t[a])&&(r=(s<3?n(r):s>3?n(e,i,r):n(e,i))||r);return s>3&&r&&Object.defineProperty(e,i,r),r};class x extends e.FtLitElement{constructor(){super(...arguments),this.resolvedIcon=i.nothing}render(){const t=this.variant&&Object.values(f).includes(this.variant)?this.variant:f.fluid_topics,e=t!==f.material||!!this.value;return i.html`
|
|
49
|
-
<i class="ft-icon
|
|
50
|
+
<i class="ft-icon ft-icon--${t}" part="icon icon-${t}">
|
|
50
51
|
${n.unsafeHTML(this.resolvedIcon)}
|
|
51
52
|
<slot ?hidden=${e}></slot>
|
|
52
53
|
</i>
|
package/build/ft-notice.min.js
CHANGED
|
@@ -131,6 +131,7 @@ const Ot=2;class St{constructor(t){}get _$AU(){return this._$AM._$AU}_$AT(t,e,i)
|
|
|
131
131
|
|
|
132
132
|
/* Ugly fix because font is broken */
|
|
133
133
|
font-size: calc(0.75 * ${Mt.size});
|
|
134
|
+
line-height: ${Mt.size};
|
|
134
135
|
position: relative;
|
|
135
136
|
top: -4%;
|
|
136
137
|
justify-content: center;
|
|
@@ -144,7 +145,7 @@ const Ot=2;class St{constructor(t){}get _$AU(){return this._$AM._$AU}_$AT(t,e,i)
|
|
|
144
145
|
font-family: ${Mt.materialFontFamily}, "Material Icons", sans-serif;
|
|
145
146
|
}
|
|
146
147
|
`;var Ut;!function(t){t.fluid_topics="fluid-topics",t.file_format="file-format",t.material="material"}(Ut||(Ut={}));var Ft=function(t,e,i,o){for(var n,r=arguments.length,s=r<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,i):o,a=t.length-1;a>=0;a--)(n=t[a])&&(s=(r<3?n(s):r>3?n(e,i,s):n(e,i))||s);return r>3&&s&&Object.defineProperty(e,i,s),s};class jt extends bt{constructor(){super(...arguments),this.resolvedIcon=V}render(){const t=this.variant&&Object.values(Ut).includes(this.variant)?this.variant:Ut.fluid_topics,e=t!==Ut.material||!!this.value;return I`
|
|
147
|
-
<i class="ft-icon
|
|
148
|
+
<i class="ft-icon ft-icon--${t}" part="icon icon-${t}">
|
|
148
149
|
${Ct(this.resolvedIcon)}
|
|
149
150
|
<slot ?hidden=${e}></slot>
|
|
150
151
|
</i>
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@fluid-topics/ft-notice",
|
|
3
|
-
"version": "1.0.0
|
|
3
|
+
"version": "1.0.0",
|
|
4
4
|
"description": "Notice to display different messages",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"Lit"
|
|
@@ -19,10 +19,10 @@
|
|
|
19
19
|
"url": "ssh://git@scm.mrs.antidot.net:2222/fluidtopics/ft-web-components.git"
|
|
20
20
|
},
|
|
21
21
|
"dependencies": {
|
|
22
|
-
"@fluid-topics/ft-icon": "1.0.0
|
|
23
|
-
"@fluid-topics/ft-typography": "1.0.0
|
|
24
|
-
"@fluid-topics/ft-wc-utils": "1.0.0
|
|
22
|
+
"@fluid-topics/ft-icon": "1.0.0",
|
|
23
|
+
"@fluid-topics/ft-typography": "1.0.0",
|
|
24
|
+
"@fluid-topics/ft-wc-utils": "1.0.0",
|
|
25
25
|
"lit": "2.7.2"
|
|
26
26
|
},
|
|
27
|
-
"gitHead": "
|
|
27
|
+
"gitHead": "90895771e0ea740f1a0d972b9fd3796051757255"
|
|
28
28
|
}
|