shoelace-style/webawesome

Broken links in the custom-elements-jsx type definition

Open

#2,557 创建于 2026年6月26日

在 GitHub 查看
 (1 评论) (0 反应) (0 负责人)TypeScript (157 fork)github user discovery
bughelp wanted

仓库指标

Star
 (1,104 star)
PR 合并指标
 (PR 指标待抓取)

描述

Describe the bug

In the Pro version of Web Awesome I don't get autocomplete for the values of prop in components. So fir example if I use and want to modify the appearance prop, I don't get 'filled' | 'outlined' | 'filled-outlined' as suggestions which I would expect. This happens to any typed prop of all components.

To Reproduce

Install the pro version of Web Awesome and have a look into node_modules/@awesome.me/webawesome/dist/custom-elements-jsx.d.ts to see the links. They all look like this: import type { default as WaInput } from "./_bundle_/src/components/input/input.js";

Meanwhile if I install the normal version of WebAwesome, they look like this: import type { default as WaInput } from "./components/input/input.js";

This seems to break the above-mentioned autocomplete because the link doesn't exist and the types can not be found.

Demo

Screenshots

Browser / OS

Additional information

贡献者指南