@melodicdev/components 1.5.5 → 1.5.6

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.icon}</i>`, ii = () => w`
14513
+ const oi = (e) => i`<i class="${e.format === "regular" ? "ph" : `ph-${e.format}`} ph-${e.icon}"></i>`, ii = () => w`
14514
14514
  :host {
14515
14515
  display: inline-flex;
14516
14516
  align-items: center;
@@ -1,5 +1,5 @@
1
1
  import { html } from '@melodicdev/core';
2
2
  export const iconTemplate = (c) => {
3
- const className = c.format === 'regular' ? 'ph' : `ph-${c.format}`;
4
- return html `<i class="${className}">${c.icon}</i>`;
3
+ const baseClass = c.format === 'regular' ? 'ph' : `ph-${c.format}`;
4
+ return html `<i class="${baseClass} ph-${c.icon}"></i>`;
5
5
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@melodicdev/components",
3
- "version": "1.5.5",
3
+ "version": "1.5.6",
4
4
  "description": "Themeable UI component library built on the Melodic Framework",
5
5
  "license": "MIT",
6
6
  "author": "Melodic Development",
@@ -279,6 +279,7 @@
279
279
  "@melodicdev/core": "^1.4.7"
280
280
  },
281
281
  "devDependencies": {
282
+ "@phosphor-icons/web": "^2.1.2",
282
283
  "typescript": "~5.9.3",
283
284
  "vite": "npm:rolldown-vite@7.2.5"
284
285
  }