vueless 0.0.744 → 0.0.745

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "vueless",
3
- "version": "0.0.744",
3
+ "version": "0.0.745",
4
4
  "license": "MIT",
5
5
  "description": "Vue Styleless UI Component Library, powered by Tailwind CSS.",
6
6
  "keywords": [
@@ -71,14 +71,9 @@ const dynamicComponent = computed(() => {
71
71
  if (!name) return "";
72
72
 
73
73
  function getIcon(name: string, params: (string | number)[] = []) {
74
- // eslint-disable-next-line prettier/prettier
75
- const iconName = isFill
76
- ? name + FILL_SUFFIX + ICON_EXTENSION
77
- : name + ICON_EXTENSION;
78
-
79
74
  const [, component] =
80
75
  generatedIcons.value.find(([path]) =>
81
- [iconName, ...params].every((param) => path.includes(String(param))),
76
+ [name + ICON_EXTENSION, ...params].every((param) => path.includes(String(param))),
82
77
  ) || [];
83
78
 
84
79
  return component;