@adia-ai/web-components 0.8.44 → 0.8.45
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/CHANGELOG.md +24 -0
- package/components/context-menu/context-menu.a2ui.json +8 -3
- package/components/context-menu/context-menu.class.js +46 -5
- package/components/context-menu/context-menu.d.ts +6 -3
- package/components/context-menu/context-menu.examples.md +2 -2
- package/components/context-menu/context-menu.yaml +22 -5
- package/components/nav/nav.a2ui.json +2 -2
- package/components/nav/nav.css +1 -1
- package/components/nav/nav.d.ts +1 -1
- package/components/nav/nav.yaml +14 -3
- package/components/nav-group/nav-group.css +37 -3
- package/components/pagination/pagination.class.js +52 -22
- package/components/search/search.class.js +39 -5
- package/components/select/select.a2ui.json +5 -0
- package/components/select/select.class.js +20 -0
- package/components/select/select.css +25 -0
- package/components/select/select.d.ts +2 -0
- package/components/select/select.yaml +12 -0
- package/components/table/cell-types.js +9 -0
- package/components/table/table.class.js +247 -33
- package/components/table/table.css +7 -4
- package/components/table/table.yaml +6 -1
- package/components/table-toolbar/table-toolbar.a2ui.json +15 -0
- package/components/table-toolbar/table-toolbar.class.js +61 -17
- package/components/table-toolbar/table-toolbar.css +34 -0
- package/components/table-toolbar/table-toolbar.d.ts +10 -0
- package/components/table-toolbar/table-toolbar.yaml +41 -9
- package/core/data-stream.js +37 -2
- package/core/index.d.ts +1 -0
- package/core/index.js +1 -0
- package/core/provider.d.ts +9 -13
- package/core/provider.js +9 -113
- package/core/store.d.ts +46 -0
- package/core/store.js +89 -0
- package/custom-elements.json +54 -4
- package/dist/host.min.css +1 -1
- package/dist/host.sheet.js +1 -1
- package/dist/theme-provider.min.js +1 -1
- package/dist/web-components.min.css +1 -1
- package/dist/web-components.min.js +93 -93
- package/dist/web-components.sheet.js +1 -1
- package/package.json +1 -1
- package/styles/api/sizing.css +46 -0
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@adia-ai/web-components",
|
|
3
|
-
"version": "0.8.
|
|
3
|
+
"version": "0.8.45",
|
|
4
4
|
"description": "AdiaUI web components \u2014 vanilla custom elements. A2UI runtime (renderer, registry, streams, wiring) lives in @adia-ai/a2ui.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"types": "./index.d.ts",
|
package/styles/api/sizing.css
CHANGED
|
@@ -14,14 +14,60 @@
|
|
|
14
14
|
<div density="spacious">...generous layout...</div>
|
|
15
15
|
═══════════════════════════════════════════════════════════════ */
|
|
16
16
|
|
|
17
|
+
/* gh#1771: --a-space-* (foundation/space.css) is declared ONLY on :root —
|
|
18
|
+
custom-property calc() formulas resolve at their DECLARING element, then
|
|
19
|
+
inherit pre-resolved (gh#570's mechanic, documented in full in
|
|
20
|
+
./parametric-scope.css). Overriding --a-density on a non-root [density]
|
|
21
|
+
host changes the knob but nothing re-reads it unless the derived formulas
|
|
22
|
+
are re-declared at this same boundary — so each preset below duplicates
|
|
23
|
+
the --a-space-* scale verbatim (parametric-scope.css's established cure),
|
|
24
|
+
giving a scoped [density] host its own working derivation chain instead
|
|
25
|
+
of only ever affecting :root. */
|
|
26
|
+
|
|
17
27
|
[density="compact"] {
|
|
18
28
|
--a-density: 0.85;
|
|
19
29
|
--a-radius-k: 0.75;
|
|
30
|
+
|
|
31
|
+
--a-space-0-5: calc(var(--a-density) * 0.125rem);
|
|
32
|
+
--a-space-1: calc(var(--a-density) * 0.25rem);
|
|
33
|
+
--a-space-1-5: calc(var(--a-density) * 0.375rem);
|
|
34
|
+
--a-space-2: calc(var(--a-density) * 0.5rem);
|
|
35
|
+
--a-space-2-5: calc(var(--a-density) * 0.625rem);
|
|
36
|
+
--a-space-3: calc(var(--a-density) * 0.75rem);
|
|
37
|
+
--a-space-3-5: calc(var(--a-density) * 0.875rem);
|
|
38
|
+
--a-space-4: calc(var(--a-density) * 1rem);
|
|
39
|
+
--a-space-4-5: calc(var(--a-density) * 1.125rem);
|
|
40
|
+
--a-space-5: calc(var(--a-density) * 1.25rem);
|
|
41
|
+
--a-space-6: calc(var(--a-density) * 1.5rem);
|
|
42
|
+
--a-space-7: calc(var(--a-density) * 1.75rem);
|
|
43
|
+
--a-space-8: calc(var(--a-density) * 2rem);
|
|
44
|
+
--a-space-9: calc(var(--a-density) * 2.25rem);
|
|
45
|
+
--a-space-10: calc(var(--a-density) * 2.5rem);
|
|
46
|
+
--a-space-12: calc(var(--a-density) * 3rem);
|
|
47
|
+
--a-space-16: calc(var(--a-density) * 4rem);
|
|
20
48
|
}
|
|
21
49
|
|
|
22
50
|
[density="spacious"] {
|
|
23
51
|
--a-density: 1.15;
|
|
24
52
|
--a-radius-k: 1.25;
|
|
53
|
+
|
|
54
|
+
--a-space-0-5: calc(var(--a-density) * 0.125rem);
|
|
55
|
+
--a-space-1: calc(var(--a-density) * 0.25rem);
|
|
56
|
+
--a-space-1-5: calc(var(--a-density) * 0.375rem);
|
|
57
|
+
--a-space-2: calc(var(--a-density) * 0.5rem);
|
|
58
|
+
--a-space-2-5: calc(var(--a-density) * 0.625rem);
|
|
59
|
+
--a-space-3: calc(var(--a-density) * 0.75rem);
|
|
60
|
+
--a-space-3-5: calc(var(--a-density) * 0.875rem);
|
|
61
|
+
--a-space-4: calc(var(--a-density) * 1rem);
|
|
62
|
+
--a-space-4-5: calc(var(--a-density) * 1.125rem);
|
|
63
|
+
--a-space-5: calc(var(--a-density) * 1.25rem);
|
|
64
|
+
--a-space-6: calc(var(--a-density) * 1.5rem);
|
|
65
|
+
--a-space-7: calc(var(--a-density) * 1.75rem);
|
|
66
|
+
--a-space-8: calc(var(--a-density) * 2rem);
|
|
67
|
+
--a-space-9: calc(var(--a-density) * 2.25rem);
|
|
68
|
+
--a-space-10: calc(var(--a-density) * 2.5rem);
|
|
69
|
+
--a-space-12: calc(var(--a-density) * 3rem);
|
|
70
|
+
--a-space-16: calc(var(--a-density) * 4rem);
|
|
25
71
|
}
|
|
26
72
|
|
|
27
73
|
/* ── Radius presets — scoped via [radius] attribute ── */
|