fix(build): migrate smart config and update build tooling for latest tsbundle and TypeScript defaults

This commit is contained in:
2026-04-12 10:19:03 +00:00
parent 0e816379a5
commit ee8b5dc3ff
11 changed files with 1927 additions and 1610 deletions

View File

@@ -293,6 +293,25 @@ export class MyButton extends DeesElement {
Each demo appears as a numbered item in an expandable folder in the sidebar.
### 🗂️ Demo Groups
Organize elements into groups within a section for better discoverability:
```typescript
@customElement('my-input')
export class MyInput extends DeesElement {
// Single group
public static demoGroups = 'Form Controls';
// Or multiple groups — element appears in each
public static demoGroups = ['Form Controls', 'Inputs'];
public static demo = () => html`<my-input></my-input>`;
}
```
Groups appear as collapsible headers in the sidebar, sorted alphabetically. Searching matches group names too — searching "Form Controls" shows all elements in that group.
### ⏳ Async Demos
Return a `Promise` from `demo` for async setup:
@@ -462,7 +481,7 @@ my-component-library/
## License and Legal Information
This repository contains open-source code licensed under the MIT License. A copy of the license can be found in the [LICENSE](./LICENSE) file.
This repository contains open-source code licensed under the MIT License. A copy of the license can be found in the [license](./license) file.
**Please note:** The MIT License does not grant permission to use the trade names, trademarks, service marks, or product names of the project, except as required for reasonable and customary use in describing the origin of the work and reproducing the content of the NOTICE file.