@aceshooting/lyra-ui 0.1.1 → 0.1.2
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 +77 -6
- package/custom-elements.json +12015 -0
- package/dist/components/chart/bar-chart.d.ts +14 -0
- package/dist/components/chart/bar-chart.js +14 -0
- package/dist/components/chart/box-plot.d.ts +46 -0
- package/dist/components/chart/box-plot.js +145 -0
- package/dist/components/chart/box-plot.styles.d.ts +1 -0
- package/dist/components/chart/box-plot.styles.js +22 -0
- package/dist/components/chart/bubble-chart.d.ts +19 -0
- package/dist/components/chart/bubble-chart.js +18 -0
- package/dist/components/chart/chart-loader.d.ts +8 -0
- package/dist/components/chart/chart-loader.js +26 -0
- package/dist/components/chart/chart.d.ts +91 -0
- package/dist/components/chart/chart.js +275 -0
- package/dist/components/chart/chart.styles.d.ts +1 -0
- package/dist/components/chart/chart.styles.js +33 -0
- package/dist/components/chart/doughnut-chart.d.ts +15 -0
- package/dist/components/chart/doughnut-chart.js +14 -0
- package/dist/components/chart/histogram-bin.d.ts +6 -0
- package/dist/components/chart/histogram-bin.js +19 -0
- package/dist/components/chart/histogram.d.ts +20 -0
- package/dist/components/chart/histogram.js +70 -0
- package/dist/components/chart/histogram.styles.d.ts +1 -0
- package/dist/components/chart/histogram.styles.js +1 -0
- package/dist/components/chart/line-chart.d.ts +14 -0
- package/dist/components/chart/line-chart.js +14 -0
- package/dist/components/chart/pie-chart.d.ts +16 -0
- package/dist/components/chart/pie-chart.js +15 -0
- package/dist/components/chart/polar-area-chart.d.ts +15 -0
- package/dist/components/chart/polar-area-chart.js +14 -0
- package/dist/components/chart/radar-chart.d.ts +15 -0
- package/dist/components/chart/radar-chart.js +14 -0
- package/dist/components/chart/scatter-chart.d.ts +15 -0
- package/dist/components/chart/scatter-chart.js +15 -0
- package/dist/components/combobox/combobox.d.ts +16 -0
- package/dist/components/combobox/combobox.js +113 -6
- package/dist/components/combobox/combobox.styles.js +68 -7
- package/dist/components/combobox/option.d.ts +2 -2
- package/dist/components/combobox/option.js +11 -7
- package/dist/components/date-picker/date-input.d.ts +12 -1
- package/dist/components/date-picker/date-input.js +68 -6
- package/dist/components/date-picker/date-input.styles.js +58 -6
- package/dist/components/date-picker/date-picker.js +5 -2
- package/dist/components/date-picker/date-picker.styles.js +9 -2
- package/dist/components/empty/empty.d.ts +1 -0
- package/dist/components/empty/empty.js +14 -2
- package/dist/components/export-button/csv.d.ts +10 -0
- package/dist/components/export-button/csv.js +28 -0
- package/dist/components/export-button/export-button.d.ts +41 -0
- package/dist/components/export-button/export-button.js +151 -0
- package/dist/components/export-button/export-button.styles.d.ts +1 -0
- package/dist/components/export-button/export-button.styles.js +79 -0
- package/dist/components/file-input/accept.d.ts +14 -0
- package/dist/components/file-input/accept.js +30 -0
- package/dist/components/file-input/file-input.d.ts +47 -0
- package/dist/components/file-input/file-input.js +182 -0
- package/dist/components/file-input/file-input.styles.d.ts +1 -0
- package/dist/components/file-input/file-input.styles.js +44 -0
- package/dist/components/flag/flag.d.ts +4 -0
- package/dist/components/flag/flag.js +24 -1
- package/dist/components/flag/flag.styles.js +1 -1
- package/dist/components/gauge/gauge.d.ts +29 -0
- package/dist/components/gauge/gauge.js +133 -0
- package/dist/components/gauge/gauge.styles.d.ts +1 -0
- package/dist/components/gauge/gauge.styles.js +60 -0
- package/dist/components/graph/graph.d.ts +68 -0
- package/dist/components/graph/graph.js +276 -0
- package/dist/components/graph/graph.styles.d.ts +1 -0
- package/dist/components/graph/graph.styles.js +34 -0
- package/dist/components/heatmap/heatmap-scale.d.ts +8 -0
- package/dist/components/heatmap/heatmap-scale.js +17 -0
- package/dist/components/heatmap/heatmap.d.ts +66 -0
- package/dist/components/heatmap/heatmap.js +252 -0
- package/dist/components/heatmap/heatmap.styles.d.ts +1 -0
- package/dist/components/heatmap/heatmap.styles.js +39 -0
- package/dist/components/map/map-loader.d.ts +8 -0
- package/dist/components/map/map-loader.js +17 -0
- package/dist/components/map/map.d.ts +49 -0
- package/dist/components/map/map.js +189 -0
- package/dist/components/map/map.styles.d.ts +1 -0
- package/dist/components/map/map.styles.js +48 -0
- package/dist/components/playback/playback.d.ts +51 -0
- package/dist/components/playback/playback.js +146 -0
- package/dist/components/playback/playback.styles.d.ts +1 -0
- package/dist/components/playback/playback.styles.js +40 -0
- package/dist/components/split/split.d.ts +41 -0
- package/dist/components/split/split.js +171 -0
- package/dist/components/split/split.styles.d.ts +1 -0
- package/dist/components/split/split.styles.js +51 -0
- package/dist/components/stat/stat.d.ts +9 -0
- package/dist/components/stat/stat.js +52 -7
- package/dist/components/stat/stat.styles.js +15 -5
- package/dist/components/table/table.d.ts +18 -6
- package/dist/components/table/table.js +76 -24
- package/dist/components/table/table.styles.js +32 -0
- package/dist/components/time-range/time-range.d.ts +40 -0
- package/dist/components/time-range/time-range.js +219 -0
- package/dist/components/time-range/time-range.styles.d.ts +1 -0
- package/dist/components/time-range/time-range.styles.js +78 -0
- package/dist/components/toast/toast-item.js +10 -2
- package/dist/components/toast/toast-item.styles.js +13 -4
- package/dist/components/toast/toast.styles.js +0 -1
- package/dist/components/tree/tree-node.d.ts +50 -0
- package/dist/components/tree/tree-node.js +196 -0
- package/dist/components/tree/tree.d.ts +65 -0
- package/dist/components/tree/tree.js +227 -0
- package/dist/components/tree/tree.styles.d.ts +1 -0
- package/dist/components/tree/tree.styles.js +13 -0
- package/dist/internal/form-associated.js +49 -1
- package/dist/internal/icons.d.ts +11 -0
- package/dist/internal/icons.js +64 -0
- package/dist/internal/tokens.styles.js +41 -1
- package/dist/lyra.d.ts +67 -0
- package/dist/lyra.js +55 -0
- package/llms-full.txt +1425 -0
- package/llms.txt +47 -0
- package/package.json +53 -4
package/llms.txt
ADDED
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
# @aceshooting/lyra-ui
|
|
2
|
+
|
|
3
|
+
> Free, clean-room Lit web components — a companion to Web Awesome that reimplements several
|
|
4
|
+
> Web Awesome Pro components as open-source equivalents (same attributes/slots/events/CSS parts,
|
|
5
|
+
> just a `lyra-` prefix instead of `wa-`) plus a number of extras with no Web Awesome counterpart.
|
|
6
|
+
> Token-compatible with Web Awesome — every component resolves its styling through Web Awesome's
|
|
7
|
+
> `--wa-*` design tokens first, with `--lyra-*` fallbacks — so it looks native inside a Web
|
|
8
|
+
> Awesome-themed app and works standalone with no theme at all.
|
|
9
|
+
|
|
10
|
+
## Docs
|
|
11
|
+
|
|
12
|
+
- [llms-full.txt](./llms-full.txt): Complete component-by-component API reference (properties,
|
|
13
|
+
events, slots, CSS parts, themeable custom properties, optional peer deps, usage snippets, and
|
|
14
|
+
known gotchas) for every tag in the library — the primary resource for a coding assistant
|
|
15
|
+
integrating `@aceshooting/lyra-ui`.
|
|
16
|
+
- [README.md](./README.md): Install instructions, the full tag/tier table, `<wa-*>` →
|
|
17
|
+
`<lyra-*>` migration notes, theming, and package-level development commands.
|
|
18
|
+
|
|
19
|
+
## Component tiers
|
|
20
|
+
|
|
21
|
+
The library shipped in five incremental batches; `llms-full.txt` is ordered the same way:
|
|
22
|
+
|
|
23
|
+
- **v1 core** — form controls, toasts, sparkline, and flags: `lyra-combobox`/`lyra-option`,
|
|
24
|
+
`lyra-date-picker`/`lyra-date-input`, `lyra-toast`/`lyra-toast-item`/`toast()`, `lyra-sparkline`,
|
|
25
|
+
`lyra-flag` (needs the optional peer `@aceshooting/lyra-flags`).
|
|
26
|
+
- **Dashboard atoms** — first-party, no-Web-Awesome-equivalent building blocks for dashboards:
|
|
27
|
+
`lyra-empty`, `lyra-skeleton`, `lyra-stat`, `lyra-table`, `lyra-gauge`, `lyra-export-button`,
|
|
28
|
+
`lyra-split`.
|
|
29
|
+
- **Temporal & graph** — time-series and hierarchy/network widgets: `lyra-time-range`,
|
|
30
|
+
`lyra-playback`, `lyra-heatmap` (matrix layout only), `lyra-graph` (needs the optional peer deps
|
|
31
|
+
`d3-force`/`d3-drag`/`d3-zoom`/`d3-selection`), `lyra-tree`/`lyra-tree-node`.
|
|
32
|
+
- **Chart family** — a Chart.js wrapper and its typed subclasses, plus two bespoke chart types:
|
|
33
|
+
`lyra-chart` (core) and its locked-`type` subclasses (`lyra-line-chart`, `lyra-bar-chart`,
|
|
34
|
+
`lyra-pie-chart`, `lyra-doughnut-chart`, `lyra-radar-chart`, `lyra-polar-area-chart`,
|
|
35
|
+
`lyra-bubble-chart`, `lyra-scatter-chart`), `lyra-histogram`, `lyra-box-plot` (needs
|
|
36
|
+
`@sgratzl/chartjs-chart-boxplot`) — the `lyra-chart` family needs the optional peer deps
|
|
37
|
+
`chart.js`/`chartjs-plugin-zoom`.
|
|
38
|
+
- **Map & file-input** — `lyra-map` (`maplibre-gl` wrapper with legend + choropleth layer, needs
|
|
39
|
+
the optional peer `maplibre-gl`), `lyra-file-input` (drag-drop + click-to-browse dropzone,
|
|
40
|
+
emits raw `File[]`).
|
|
41
|
+
|
|
42
|
+
## Also useful
|
|
43
|
+
|
|
44
|
+
- Shared internals every tag builds on (`LyraElement` base class, the `FormAssociated` mixin, the
|
|
45
|
+
floating-ui `positioner`, and the `--lyra-*`/`--wa-*` design-token layer) are documented at the
|
|
46
|
+
top of `llms-full.txt`, along with cross-cutting notes on packaging and adoption status that
|
|
47
|
+
apply to the whole library.
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aceshooting/lyra-ui",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.2",
|
|
4
4
|
"description": "Free, clean-room Lit web components — a companion to Web Awesome.",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"type": "module",
|
|
@@ -21,7 +21,10 @@
|
|
|
21
21
|
"access": "public"
|
|
22
22
|
},
|
|
23
23
|
"files": [
|
|
24
|
-
"dist"
|
|
24
|
+
"dist",
|
|
25
|
+
"custom-elements.json",
|
|
26
|
+
"llms.txt",
|
|
27
|
+
"llms-full.txt"
|
|
25
28
|
],
|
|
26
29
|
"exports": {
|
|
27
30
|
".": "./dist/lyra.js",
|
|
@@ -37,21 +40,67 @@
|
|
|
37
40
|
"lit": "^3.3.3"
|
|
38
41
|
},
|
|
39
42
|
"peerDependencies": {
|
|
40
|
-
"@aceshooting/lyra-flags": "^0.1.0"
|
|
43
|
+
"@aceshooting/lyra-flags": "^0.1.0",
|
|
44
|
+
"@sgratzl/chartjs-chart-boxplot": "^4.4.0",
|
|
45
|
+
"chart.js": "^4.5.0",
|
|
46
|
+
"chartjs-plugin-zoom": "^2.2.0",
|
|
47
|
+
"d3-drag": "^3.0.0",
|
|
48
|
+
"d3-force": "^3.0.0",
|
|
49
|
+
"d3-selection": "^3.0.0",
|
|
50
|
+
"d3-zoom": "^3.0.0",
|
|
51
|
+
"maplibre-gl": "^5.24.0"
|
|
41
52
|
},
|
|
42
53
|
"peerDependenciesMeta": {
|
|
43
54
|
"@aceshooting/lyra-flags": {
|
|
44
55
|
"optional": true
|
|
56
|
+
},
|
|
57
|
+
"@sgratzl/chartjs-chart-boxplot": {
|
|
58
|
+
"optional": true
|
|
59
|
+
},
|
|
60
|
+
"d3-force": {
|
|
61
|
+
"optional": true
|
|
62
|
+
},
|
|
63
|
+
"d3-drag": {
|
|
64
|
+
"optional": true
|
|
65
|
+
},
|
|
66
|
+
"d3-zoom": {
|
|
67
|
+
"optional": true
|
|
68
|
+
},
|
|
69
|
+
"d3-selection": {
|
|
70
|
+
"optional": true
|
|
71
|
+
},
|
|
72
|
+
"chart.js": {
|
|
73
|
+
"optional": true
|
|
74
|
+
},
|
|
75
|
+
"chartjs-plugin-zoom": {
|
|
76
|
+
"optional": true
|
|
77
|
+
},
|
|
78
|
+
"maplibre-gl": {
|
|
79
|
+
"optional": true
|
|
45
80
|
}
|
|
46
81
|
},
|
|
47
82
|
"devDependencies": {
|
|
48
83
|
"@aceshooting/lyra-flags": "^0.1.0",
|
|
49
84
|
"@custom-elements-manifest/analyzer": "^0.11.0",
|
|
50
85
|
"@open-wc/testing": "^4.0.0",
|
|
86
|
+
"@sgratzl/chartjs-chart-boxplot": "^4.4.5",
|
|
87
|
+
"@types/d3-drag": "^3.0.7",
|
|
88
|
+
"@types/d3-force": "^3.0.10",
|
|
89
|
+
"@types/d3-selection": "^3.0.11",
|
|
90
|
+
"@types/d3-zoom": "^3.0.8",
|
|
91
|
+
"@types/geojson": "^7946.0.16",
|
|
51
92
|
"@web/dev-server-esbuild": "^2.0.0",
|
|
52
93
|
"@web/test-runner": "^1.0.0",
|
|
53
94
|
"@web/test-runner-playwright": "^1.0.0",
|
|
54
|
-
"
|
|
95
|
+
"chart.js": "^4.5.1",
|
|
96
|
+
"chartjs-plugin-zoom": "^2.2.0",
|
|
97
|
+
"d3-drag": "^3.0.0",
|
|
98
|
+
"d3-force": "^3.0.0",
|
|
99
|
+
"d3-selection": "^3.0.0",
|
|
100
|
+
"d3-zoom": "^3.0.0",
|
|
101
|
+
"maplibre-gl": "^5.24.0",
|
|
102
|
+
"playwright": "^1.61.1",
|
|
103
|
+
"typescript": "^7.0.2"
|
|
55
104
|
},
|
|
56
105
|
"customElements": "custom-elements.json",
|
|
57
106
|
"scripts": {
|