vueless 0.0.580 → 0.0.581

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.
@@ -47,6 +47,7 @@ export default function useUI<T>(
47
47
  : (STRATEGY_TYPE.merge as Strategies);
48
48
 
49
49
  const firstClassKey = Object.keys(defaultConfig || {})[0];
50
+ const propsConfig = props.config as ComponentConfig<T>;
50
51
  const config = ref({}) as Ref<ComponentConfig<T>>;
51
52
  const attrs = useAttrs();
52
53
 
@@ -54,7 +55,7 @@ export default function useUI<T>(
54
55
  config.value = getMergedConfig({
55
56
  defaultConfig,
56
57
  globalConfig,
57
- propsConfig: props.config,
58
+ propsConfig,
58
59
  vuelessStrategy,
59
60
  }) as ComponentConfig<T>;
60
61
  });
@@ -117,9 +118,11 @@ export default function useUI<T>(
117
118
  ...extendsClasses,
118
119
  keyAttrs.value.class?.replaceAll(EXTENDS_PATTERN_REG_EXP, ""),
119
120
  ]),
121
+ // TODO: Cannot merge several keys
120
122
  config: getMergedConfig({
121
123
  defaultConfig: config.value[extendsKeys[0]],
122
124
  globalConfig: keyAttrs.value.config,
125
+ propsConfig: propsConfig[extendsKeys[0]],
123
126
  }),
124
127
  })) as ComputedRef<KeyAttrsWithConfig<T>>;
125
128
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "vueless",
3
- "version": "0.0.580",
3
+ "version": "0.0.581",
4
4
  "license": "MIT",
5
5
  "description": "Vue Styleless UI Component Library, powered by Tailwind CSS.",
6
6
  "keywords": [
package/web-types.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "framework": "vue",
3
3
  "name": "vueless",
4
- "version": "0.0.580",
4
+ "version": "0.0.581",
5
5
  "contributions": {
6
6
  "html": {
7
7
  "description-markup": "markdown",