@adia-ai/web-components 0.7.28 → 0.8.0
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 +19 -0
- package/components/accordion/accordion.css +13 -4
- package/components/action-list/action-list.css +3 -3
- package/components/agent-artifact/agent-artifact.css +4 -4
- package/components/agent-questions/agent-questions.css +8 -8
- package/components/agent-reasoning/agent-reasoning.css +6 -6
- package/components/agent-trace/agent-trace.css +4 -4
- package/components/agent-trace/agent-trace.js +1 -1
- package/components/alert/alert.css +16 -16
- package/components/avatar/avatar.css +3 -3
- package/components/badge/badge.css +32 -32
- package/components/blockquote/blockquote.css +1 -1
- package/components/breadcrumb/breadcrumb.css +2 -2
- package/components/button/button.css +14 -14
- package/components/calendar-grid/calendar-grid.a2ui.json +3 -3
- package/components/calendar-grid/calendar-grid.css +10 -10
- package/components/calendar-grid/calendar-grid.yaml +3 -3
- package/components/calendar-picker/calendar-picker.css +11 -11
- package/components/canvas/canvas.css +2 -2
- package/components/card/card.css +15 -15
- package/components/chart/chart.css +23 -23
- package/components/chart-legend/chart-legend.css +2 -2
- package/components/chat-thread/chat-input.css +6 -6
- package/components/chat-thread/chat-thread.css +7 -7
- package/components/check/check.css +4 -4
- package/components/code/code-editor.js +1 -1
- package/components/code/code.css +45 -22
- package/components/color-picker/color-picker.css +4 -4
- package/components/combobox/combobox.css +6 -6
- package/components/command/command.class.js +14 -3
- package/components/command/command.css +4 -4
- package/components/context-menu/context-menu.css +2 -2
- package/components/date-range-picker/date-range-picker.a2ui.json +3 -3
- package/components/date-range-picker/date-range-picker.css +8 -8
- package/components/date-range-picker/date-range-picker.yaml +3 -3
- package/components/datetime-picker/datetime-picker.css +6 -6
- package/components/demo-toggle/demo-toggle.css +4 -4
- package/components/description-list/description-list.css +1 -1
- package/components/display-field/display-field.css +2 -2
- package/components/divider/divider.css +1 -1
- package/components/drawer/drawer.css +7 -7
- package/components/embed/embed.css +1 -1
- package/components/empty-state/empty-state.css +5 -5
- package/components/feed/feed.css +7 -7
- package/components/field/field.css +2 -2
- package/components/heatmap/heatmap.css +8 -8
- package/components/inline-edit/inline-edit.a2ui.json +1 -1
- package/components/inline-edit/inline-edit.css +3 -3
- package/components/inline-edit/inline-edit.yaml +1 -1
- package/components/inline-message/inline-message.css +4 -4
- package/components/input/input.css +1 -1
- package/components/inspector/inspector.css +1 -1
- package/components/integration-card/integration-card.css +3 -3
- package/components/kbd/kbd.css +2 -2
- package/components/link/link.css +2 -2
- package/components/list/list.css +10 -10
- package/components/list-window/list-window.css +2 -2
- package/components/mark/mark.css +9 -9
- package/components/menu/menu.css +9 -9
- package/components/modal/modal.css +4 -4
- package/components/nav/nav.css +1 -1
- package/components/nav-group/nav-group.css +7 -16
- package/components/nav-item/nav-item.css +1 -1
- package/components/noodles/noodles.a2ui.json +1 -1
- package/components/noodles/noodles.css +3 -3
- package/components/noodles/noodles.d.ts +1 -1
- package/components/noodles/noodles.yaml +1 -1
- package/components/option-card/option-card.css +11 -11
- package/components/otp-input/otp-input.css +1 -1
- package/components/page/page.css +2 -2
- package/components/pane/pane.css +5 -5
- package/components/password-strength/password-strength.css +1 -1
- package/components/pipeline-status/pipeline-status.css +9 -9
- package/components/popover/popover.css +2 -2
- package/components/preview/preview.css +14 -3
- package/components/progress/progress.a2ui.json +1 -1
- package/components/progress/progress.css +1 -1
- package/components/progress/progress.d.ts +1 -1
- package/components/progress/progress.yaml +1 -1
- package/components/progress-row/progress-row.css +2 -2
- package/components/radio/radio.css +4 -4
- package/components/range/range.css +2 -2
- package/components/rating/rating.css +2 -2
- package/components/richtext/richtext.class.js +4 -0
- package/components/richtext/richtext.css +5 -5
- package/components/richtext/richtext.yaml +1 -0
- package/components/row/row.css +1 -1
- package/components/select/select.css +8 -8
- package/components/skip-nav/skip-nav.a2ui.json +2 -2
- package/components/skip-nav/skip-nav.css +3 -3
- package/components/skip-nav/skip-nav.yaml +2 -2
- package/components/slider/slider.css +5 -5
- package/components/spinner/spinner.css +2 -2
- package/components/spinner/spinner.test.js +4 -2
- package/components/stat/stat.css +1 -1
- package/components/step-progress/step-progress.a2ui.json +1 -1
- package/components/step-progress/step-progress.class.js +1 -1
- package/components/step-progress/step-progress.css +2 -2
- package/components/step-progress/step-progress.d.ts +1 -1
- package/components/step-progress/step-progress.yaml +1 -1
- package/components/stepper/stepper.css +22 -22
- package/components/stream/stream.css +2 -2
- package/components/swatch/swatch.class.js +1 -1
- package/components/swatch/swatch.css +11 -11
- package/components/swiper/swiper.css +5 -5
- package/components/switch/switch.css +5 -5
- package/components/table/cell-types.js +1 -1
- package/components/table/table.css +16 -11
- package/components/table-toolbar/table-toolbar.css +8 -8
- package/components/tabs/tabs.css +5 -5
- package/components/tag/tag.css +41 -29
- package/components/tag/tag.test.js +22 -29
- package/components/tags-input/tags-input.a2ui.json +1 -1
- package/components/tags-input/tags-input.css +3 -3
- package/components/tags-input/tags-input.yaml +5 -3
- package/components/text/text.css +4 -4
- package/components/textarea/textarea.css +1 -1
- package/components/time-picker/time-picker.css +2 -2
- package/components/timeline/timeline.css +31 -31
- package/components/toast/toast.css +19 -19
- package/components/toc/toc.a2ui.json +1 -1
- package/components/toc/toc.css +3 -3
- package/components/toc/toc.yaml +1 -1
- package/components/toggle-group/toggle-group.css +3 -3
- package/components/toolbar/toolbar.css +3 -3
- package/components/tooltip/tooltip.css +9 -9
- package/components/tour/tour.css +3 -3
- package/components/tree/tree.css +2 -2
- package/components/upload/upload.css +7 -7
- package/dist/host.min.css +1 -1
- package/dist/host.sheet.js +1 -1
- package/dist/theme-provider.min.js +7 -7
- package/dist/themes.min.css +1 -1
- package/dist/themes.sheet.js +1 -1
- package/dist/web-components.min.css +1 -1
- package/dist/web-components.min.js +34 -34
- package/dist/web-components.sheet.js +1 -1
- package/package.json +3 -3
- package/styles/api/text.css +1 -1
- package/styles/colors/bridges/material-bridge.css +30 -0
- package/styles/colors/index.css +19 -1
- package/styles/colors/material-static.css +771 -0
- package/styles/colors/parameters.css +40 -4
- package/styles/colors/primitives-primary.css +89 -0
- package/styles/colors/primitives-secondary.css +89 -0
- package/styles/colors/primitives-tertiary.css +89 -0
- package/styles/colors/primitives.css +3 -1
- package/styles/colors/scrims.css +19 -180
- package/styles/colors/semantics/aliases.css +25 -11
- package/styles/colors/semantics/buckets.css +28 -12
- package/styles/colors/semantics/core.css +323 -202
- package/styles/colors/semantics/data-viz.css +13 -13
- package/styles/colors/semantics/features.css +31 -13
- package/styles/colors/surfaces.css +41 -31
- package/styles/themes.css +15 -15
- package/styles/colors/primitives-accent.css +0 -89
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@adia-ai/web-components",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.8.0",
|
|
4
4
|
"description": "AdiaUI web components \u2014 vanilla custom elements. A2UI runtime (renderer, registry, streams, wiring) lives in @adia-ai/a2ui-runtime.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"types": "./index.d.ts",
|
|
@@ -121,7 +121,7 @@
|
|
|
121
121
|
"./core/icons-phosphor.js"
|
|
122
122
|
],
|
|
123
123
|
"dependencies": {
|
|
124
|
-
"@adia-ai/a2ui-runtime": "^0.
|
|
124
|
+
"@adia-ai/a2ui-runtime": "^0.8.0",
|
|
125
125
|
"@codemirror/commands": "^6.10.3",
|
|
126
126
|
"@codemirror/language": "^6.12.3",
|
|
127
127
|
"@codemirror/lint": "^6.9.5",
|
|
@@ -131,7 +131,7 @@
|
|
|
131
131
|
"@phosphor-icons/core": "^2.1.1"
|
|
132
132
|
},
|
|
133
133
|
"optionalDependencies": {
|
|
134
|
-
"@adia-ai/web-modules": "^0.
|
|
134
|
+
"@adia-ai/web-modules": "^0.8.0",
|
|
135
135
|
"@codemirror/lang-css": "^6.3.1",
|
|
136
136
|
"@codemirror/lang-html": "^6.4.11",
|
|
137
137
|
"@codemirror/lang-javascript": "^6.2.5",
|
package/styles/api/text.css
CHANGED
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
/* ═══════════════════════════════════════════════════════════════
|
|
2
|
+
Material Design token bridge — RETIRED (2026-07-14)
|
|
3
|
+
|
|
4
|
+
This file used to declare `--md-sys-color-X: var(--a-Y)` forward
|
|
5
|
+
aliases (Phases 1-3 of the Material adoption, contract:
|
|
6
|
+
.claude/docs/specs/material-color-bridge-contract.md) — the
|
|
7
|
+
direction was `--a-*` computes the value, `--md-sys-color-*`
|
|
8
|
+
aliases it for consumption.
|
|
9
|
+
|
|
10
|
+
The "replace the computational layer" phase (same date) inverted
|
|
11
|
+
this: `--md-sys-color-*` is now populated directly from the static
|
|
12
|
+
export (colors/material-static.css, loaded in colors/index.css
|
|
13
|
+
BEFORE this file used to load), and semantics/core.css's `--a-*`
|
|
14
|
+
family blocks now read FROM `--md-sys-color-*` instead of the other
|
|
15
|
+
way around. Keeping this file's old forward declarations active
|
|
16
|
+
would create a real circular reference — `--md-sys-color-primary:
|
|
17
|
+
var(--a-primary)` here fighting `--a-primary: var(--md-sys-color-
|
|
18
|
+
primary)` in core.css, both on `:root` — which resolves to CSS's
|
|
19
|
+
guaranteed-invalid value for both properties and blanks the whole
|
|
20
|
+
color system. So this file now declares nothing; it is no longer
|
|
21
|
+
imported by colors/index.css (removed from the active import list,
|
|
22
|
+
left as a comment there pointing here).
|
|
23
|
+
|
|
24
|
+
`scripts/refactor/adopt-material-tokens.mjs` parses this file's
|
|
25
|
+
`--md-sys-color-X: var(--a-Y)` shape to build its rename map — that
|
|
26
|
+
codemod already ran its one sweep (2472 call sites) and is a
|
|
27
|
+
disposable one-time tool per this repo's established codemod
|
|
28
|
+
pattern (see `scripts/refactor/undo-od5-token-shadowing.mjs`); it
|
|
29
|
+
is not expected to run again against this file's now-empty body.
|
|
30
|
+
═══════════════════════════════════════════════════════════════ */
|
package/styles/colors/index.css
CHANGED
|
@@ -2,5 +2,23 @@
|
|
|
2
2
|
@import './parameters.css';
|
|
3
3
|
@import './primitives.css';
|
|
4
4
|
@import './surfaces.css';
|
|
5
|
-
|
|
5
|
+
/* scrims.css — RETIRED (2026-07-14, Phase 5): its raw per-family alpha
|
|
6
|
+
ramps had zero remaining consumers once surfaces.css and semantics/
|
|
7
|
+
aliases.css were re-routed to the static scrim ladder; see its own
|
|
8
|
+
header for the full grep evidence. No longer imported. */
|
|
6
9
|
@import './semantics.css';
|
|
10
|
+
/* Material static token export — REPLACES the calc() computation above
|
|
11
|
+
as the source of truth for --md-sys-color-* (2026-07-14, "replace the
|
|
12
|
+
computational layer" phase — material-static.css's own header has the
|
|
13
|
+
full rationale + accepted tradeoff). Loaded before semantics/core.css's
|
|
14
|
+
family blocks consume it (import order doesn't gate custom-property
|
|
15
|
+
resolution, but keeping the "source" before the "alias" here mirrors
|
|
16
|
+
the real dependency direction for anyone reading top-to-bottom).
|
|
17
|
+
semantics/core.css's `--a-*` family blocks read FROM this file's
|
|
18
|
+
`--md-sys-color-*` tokens now, not the other way around. */
|
|
19
|
+
@import './material-static.css';
|
|
20
|
+
/* bridges/material-bridge.css — RETIRED (2026-07-14, same phase): its
|
|
21
|
+
old `--md-sys-color-X: var(--a-Y)` forward aliases would now form a
|
|
22
|
+
circular reference against core.css's reversed `--a-Y: var(--md-sys-
|
|
23
|
+
color-X)` aliases (both on :root). No longer imported; file kept
|
|
24
|
+
on disk with a header explaining why, per its own retirement note. */
|