@timmo001/groundwork-ui 0.3.1 → 0.4.1
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 +10 -1
- package/custom-elements.json +20865 -0
- package/package.json +7 -2
- package/src/events.ts +44 -0
- package/src/fields.ts +34 -0
- package/src/gw-app-bar.ts +343 -0
- package/src/gw-command-menu.ts +1 -1
- package/src/gw-dialog.ts +1 -1
- package/src/gw-expansion.ts +1 -1
- package/src/gw-menu-button.ts +1 -1
- package/src/gw-notification-center.ts +1 -1
- package/src/gw-notification.ts +1 -1
- package/src/gw-option-list.ts +51 -5
- package/src/gw-popover.ts +1 -1
- package/src/gw-segmented.ts +1 -1
- package/src/gw-select.ts +87 -9
- package/src/gw-theme-picker.ts +200 -0
- package/src/index.ts +6 -0
- package/src/on.ts +52 -0
package/README.md
CHANGED
|
@@ -22,7 +22,7 @@ import "@timmo001/groundwork-ui";
|
|
|
22
22
|
|
|
23
23
|
```html
|
|
24
24
|
<html data-gw-theme="base" data-gw-mode="dark">
|
|
25
|
-
<gw-button
|
|
25
|
+
<gw-button appearance="filled">Save</gw-button>
|
|
26
26
|
</html>
|
|
27
27
|
```
|
|
28
28
|
|
|
@@ -31,3 +31,12 @@ such as Vite, Astro or Bun.
|
|
|
31
31
|
|
|
32
32
|
Every component, its attributes, slots, parts and events are documented at
|
|
33
33
|
[groundwork.timmo.dev/components](https://groundwork.timmo.dev/components).
|
|
34
|
+
|
|
35
|
+
## Custom Elements Manifest
|
|
36
|
+
|
|
37
|
+
The package ships `custom-elements.json`, a
|
|
38
|
+
[Custom Elements Manifest](https://custom-elements-manifest.open-wc.org/)
|
|
39
|
+
generated from each element's class docstring, and points to it from
|
|
40
|
+
`customElements` in `package.json`. Editors, `lit-analyzer` and framework
|
|
41
|
+
wrappers read it for the elements' attributes, properties, slots, parts and
|
|
42
|
+
events. `mise run gen` writes it, and `mise run check` fails when it's stale.
|