@melodicdev/components 1.5.4 → 1.5.5
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.
|
@@ -14510,7 +14510,7 @@ Wt = g([_({
|
|
|
14510
14510
|
"hide-add-button"
|
|
14511
14511
|
]
|
|
14512
14512
|
})], Wt);
|
|
14513
|
-
const oi = (e) => i`<i class="${e.format === "regular" ? "ph" : `ph-${e.format}`}">${e.
|
|
14513
|
+
const oi = (e) => i`<i class="${e.format === "regular" ? "ph" : `ph-${e.format}`}">${e.icon}</i>`, ii = () => w`
|
|
14514
14514
|
:host {
|
|
14515
14515
|
display: inline-flex;
|
|
14516
14516
|
align-items: center;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"icon.template.d.ts","sourceRoot":"","sources":["../../../../src/components/general/icon/icon.template.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,qBAAqB,CAAC;AAEzD,eAAO,MAAM,YAAY,GAAI,GAAG,aAAa,
|
|
1
|
+
{"version":3,"file":"icon.template.d.ts","sourceRoot":"","sources":["../../../../src/components/general/icon/icon.template.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,qBAAqB,CAAC;AAEzD,eAAO,MAAM,YAAY,GAAI,GAAG,aAAa,8CAI5C,CAAC"}
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import { html } from '@melodicdev/core';
|
|
2
2
|
export const iconTemplate = (c) => {
|
|
3
3
|
const className = c.format === 'regular' ? 'ph' : `ph-${c.format}`;
|
|
4
|
-
|
|
5
|
-
return html `<i class="${className}">${iconLigature}</i>`;
|
|
4
|
+
return html `<i class="${className}">${c.icon}</i>`;
|
|
6
5
|
};
|