vueless 0.0.744 → 0.0.746

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.
@@ -130,8 +130,9 @@ export default function useUI<T>(
130
130
  const attrs = useAttrs() as KeyAttrs;
131
131
 
132
132
  const reactiveProps = computed(() => ({ ...props }));
133
+ const reactiveClass = computed(() => attrs.class);
133
134
 
134
- watch([config, reactiveProps, classes], updateVuelessAttrs, { immediate: true });
135
+ watch([config, reactiveProps, classes, reactiveClass], updateVuelessAttrs, { immediate: true });
135
136
 
136
137
  /**
137
138
  * Updating Vueless attributes.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "vueless",
3
- "version": "0.0.744",
3
+ "version": "0.0.746",
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;