@witchcraft/ui 0.4.0-beta.3 → 0.4.0-beta.4
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/README.md
CHANGED
|
@@ -206,7 +206,7 @@ usePreHydrationValue(finalId, modelValue)
|
|
|
206
206
|
* If the component requires general docs, they should be written here over the export default.
|
|
207
207
|
*/
|
|
208
208
|
export default {
|
|
209
|
-
name: "
|
|
209
|
+
name: "WComponentName"
|
|
210
210
|
// https://v3.vuejs.org/guide/typescript-support.html#annotating-props
|
|
211
211
|
}
|
|
212
212
|
</script>```
|
package/dist/module.json
CHANGED
|
@@ -5,7 +5,7 @@ export const WitchcraftUiResolver = ({
|
|
|
5
5
|
} = {}) => (componentName) => {
|
|
6
6
|
if (componentName.startsWith(prefix)) {
|
|
7
7
|
const n = componentName.slice(1);
|
|
8
|
-
const filename = prefixless.includes(n) ? n : `
|
|
8
|
+
const filename = prefixless.includes(n) ? n : `W${n}`;
|
|
9
9
|
if (!filter(n)) {
|
|
10
10
|
return void 0;
|
|
11
11
|
}
|
package/package.json
CHANGED
|
@@ -15,7 +15,7 @@ export const WitchcraftUiResolver = (
|
|
|
15
15
|
): { from: string } | undefined => {
|
|
16
16
|
if (componentName.startsWith(prefix)) {
|
|
17
17
|
const n = componentName.slice(1)
|
|
18
|
-
const filename = prefixless.includes(n) ? n : `
|
|
18
|
+
const filename = prefixless.includes(n) ? n : `W${n}`
|
|
19
19
|
if (!filter(n)) {
|
|
20
20
|
return undefined
|
|
21
21
|
}
|