@agent-ui-kit/web-components 0.0.15 → 0.0.16
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/dist/agent-ui.css +1 -1
- package/dist/api.colors.json +2 -2
- package/dist/api.colors.yaml +2 -2
- package/dist/api.components.json +463 -150
- package/dist/api.tokens.json +3 -3
- package/dist/api.tokens.yaml +3 -3
- package/dist/chunks/{agent-BF_R_HJk.js → agent-XMhz_6OA.js} +27 -22
- package/dist/chunks/{agent-BF_R_HJk.js.map → agent-XMhz_6OA.js.map} +1 -1
- package/dist/chunks/{meter-Dju8ik6C.js → form-oekEhwja.js} +402 -188
- package/dist/chunks/form-oekEhwja.js.map +1 -0
- package/dist/components/agent.js +1 -1
- package/dist/components/checkbox-group/checkbox-group.d.ts +14 -0
- package/dist/components/checkbox-group/index.d.ts +1 -0
- package/dist/components/editor.js +1 -1
- package/dist/components/form/form.d.ts +12 -0
- package/dist/components/form/index.d.ts +1 -0
- package/dist/components/graph.js +1 -1
- package/dist/components/index.d.ts +2 -0
- package/dist/components/noodles/noodle-controller.d.ts +1 -1
- package/dist/components.js +89 -87
- package/dist/docs/blocks/agent-chat.yaml +33 -25
- package/dist/docs/blocks/announcement-card.yaml +14 -10
- package/dist/docs/blocks/bpm-process.yaml +216 -4
- package/dist/docs/blocks/chart-activity.yaml +12 -10
- package/dist/docs/blocks/chart-card.yaml +14 -11
- package/dist/docs/blocks/chart-donut.yaml +27 -23
- package/dist/docs/blocks/chart-grouped.yaml +14 -11
- package/dist/docs/blocks/chart-horizontal.yaml +13 -10
- package/dist/docs/blocks/chart-interactive.yaml +20 -17
- package/dist/docs/blocks/chart-labeled.yaml +14 -11
- package/dist/docs/blocks/checkout-form.yaml +26 -16
- package/dist/docs/blocks/clinical-trial.yaml +180 -4
- package/dist/docs/blocks/contributors.yaml +17 -11
- package/dist/docs/blocks/cyber-threat.yaml +158 -4
- package/dist/docs/blocks/dashboard-layout.yaml +25 -18
- package/dist/docs/blocks/data-eng-dag.yaml +222 -6
- package/dist/docs/blocks/date-picker.yaml +11 -10
- package/dist/docs/blocks/ddx-workflow.yaml +202 -6
- package/dist/docs/blocks/empty-state.yaml +8 -11
- package/dist/docs/blocks/env-variables.yaml +29 -20
- package/dist/docs/blocks/feature-upgrade.yaml +25 -18
- package/dist/docs/blocks/financial-risk.yaml +161 -4
- package/dist/docs/blocks/flow-editor.yaml +27 -18
- package/dist/docs/blocks/gen-ai-pipeline.yaml +232 -5
- package/dist/docs/blocks/issue-assign.yaml +25 -14
- package/dist/docs/blocks/keyboard-shortcuts.yaml +14 -9
- package/dist/docs/blocks/login-branded.yaml +62 -23
- package/dist/docs/blocks/login-email-only.yaml +14 -13
- package/dist/docs/blocks/login-form.yaml +17 -11
- package/dist/docs/blocks/login-simple.yaml +18 -12
- package/dist/docs/blocks/login-social.yaml +21 -14
- package/dist/docs/blocks/login-two-column.yaml +37 -17
- package/dist/docs/blocks/marketing-automation.yaml +209 -4
- package/dist/docs/blocks/member-list.yaml +23 -18
- package/dist/docs/blocks/ml-pipeline.yaml +163 -4
- package/dist/docs/blocks/nav-card.yaml +13 -11
- package/dist/docs/blocks/notification-list.yaml +18 -13
- package/dist/docs/blocks/oncology-pathway.yaml +227 -4
- package/dist/docs/blocks/pricing-card.yaml +20 -13
- package/dist/docs/blocks/processing-state.yaml +14 -11
- package/dist/docs/blocks/profile-card.yaml +18 -12
- package/dist/docs/blocks/saas-onboarding.yaml +222 -4
- package/dist/docs/blocks/settings-form.yaml +20 -11
- package/dist/docs/blocks/settings-panel.yaml +23 -22
- package/dist/docs/blocks/sidebar-nav.yaml +23 -15
- package/dist/docs/blocks/signup-form.yaml +17 -11
- package/dist/docs/blocks/stat-cards.yaml +12 -13
- package/dist/docs/blocks/status-card.yaml +20 -17
- package/dist/docs/blocks/suggested-labs.yaml +20 -13
- package/dist/docs/blocks/supply-chain.yaml +160 -4
- package/dist/docs/blocks/survey-card.yaml +21 -13
- package/dist/docs/blocks/tabbed-panel.yaml +21 -15
- package/dist/docs/blocks/team-empty.yaml +8 -9
- package/dist/docs/blocks/usage-billing.yaml +20 -16
- package/dist/docs/components/agent-activity.yaml +27 -7
- package/dist/docs/components/agent-prompt.yaml +1 -1
- package/dist/docs/components/agent-seeds.yaml +1 -1
- package/dist/docs/components/breadcrumb.yaml +35 -8
- package/dist/docs/components/button.yaml +13 -2
- package/dist/docs/components/calendar-picker.yaml +3 -2
- package/dist/docs/components/chip.yaml +1 -1
- package/dist/docs/components/color-picker.yaml +33 -7
- package/dist/docs/components/color-slider.yaml +7 -7
- package/dist/docs/components/container.yaml +2 -1
- package/dist/docs/components/heading.yaml +4 -0
- package/dist/docs/components/index.yaml +11 -1
- package/dist/docs/components/input.yaml +10 -9
- package/dist/docs/components/meter.yaml +37 -14
- package/dist/docs/components/nav-item.yaml +7 -7
- package/dist/docs/components/stat.yaml +164 -0
- package/dist/docs/components/stepper.yaml +23 -23
- package/dist/docs/components/time-field.yaml +35 -2
- package/dist/element.js +1 -1
- package/dist/reactivity.js +1 -1
- package/dist/register.js +299 -297
- package/dist/register.js.map +1 -1
- package/dist/store.js +1 -1
- package/dist/traits.js +2 -2
- package/package.json +1 -1
- package/dist/chunks/meter-Dju8ik6C.js.map +0 -1
package/dist/api.tokens.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"package": "@agent-ui-kit/web-components",
|
|
3
|
-
"version": "0.0.
|
|
4
|
-
"generated": "2026-03-
|
|
3
|
+
"version": "0.0.16",
|
|
4
|
+
"generated": "2026-03-22T04:11:44.191Z",
|
|
5
5
|
"description": "Design tokens: sizing, typography, spacing, radius, shadow, animation.",
|
|
6
6
|
"scales": {
|
|
7
7
|
"size": [
|
|
@@ -390,7 +390,7 @@
|
|
|
390
390
|
"category": "Radius"
|
|
391
391
|
},
|
|
392
392
|
"--aui-radius-round": {
|
|
393
|
-
"value": "1.
|
|
393
|
+
"value": "1.5rem",
|
|
394
394
|
"category": "Radius"
|
|
395
395
|
},
|
|
396
396
|
"--aui-radius-rounded": {
|
package/dist/api.tokens.yaml
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
package: "@agent-ui-kit/web-components"
|
|
2
|
-
version: 0.0.
|
|
3
|
-
generated: 2026-03-
|
|
2
|
+
version: 0.0.16
|
|
3
|
+
generated: 2026-03-22T04:11:44.191Z
|
|
4
4
|
description: "Design tokens: sizing, typography, spacing, radius, shadow, animation."
|
|
5
5
|
scales:
|
|
6
6
|
size:
|
|
@@ -298,7 +298,7 @@ tokens:
|
|
|
298
298
|
value: 0.25rem
|
|
299
299
|
category: Radius
|
|
300
300
|
--aui-radius-round:
|
|
301
|
-
value: 1.
|
|
301
|
+
value: 1.5rem
|
|
302
302
|
category: Radius
|
|
303
303
|
--aui-radius-rounded:
|
|
304
304
|
value: 0.75rem
|
|
@@ -6,7 +6,7 @@ function T() {
|
|
|
6
6
|
function v(i) {
|
|
7
7
|
d = i;
|
|
8
8
|
}
|
|
9
|
-
function
|
|
9
|
+
function O() {
|
|
10
10
|
return b;
|
|
11
11
|
}
|
|
12
12
|
function P() {
|
|
@@ -82,7 +82,7 @@ function F() {
|
|
|
82
82
|
A(e);
|
|
83
83
|
}
|
|
84
84
|
}
|
|
85
|
-
class
|
|
85
|
+
class H {
|
|
86
86
|
[Symbol.toStringTag] = "Signal";
|
|
87
87
|
#t;
|
|
88
88
|
constructor(t) {
|
|
@@ -99,10 +99,10 @@ class R {
|
|
|
99
99
|
}
|
|
100
100
|
}
|
|
101
101
|
function k(i) {
|
|
102
|
-
const t = new j(i), e = new
|
|
102
|
+
const t = new j(i), e = new H(t);
|
|
103
103
|
return $.set(e, t), e;
|
|
104
104
|
}
|
|
105
|
-
class
|
|
105
|
+
class R {
|
|
106
106
|
[Symbol.toStringTag] = "Computed";
|
|
107
107
|
#t;
|
|
108
108
|
constructor(t) {
|
|
@@ -129,10 +129,10 @@ class H {
|
|
|
129
129
|
}
|
|
130
130
|
}
|
|
131
131
|
function ot(i) {
|
|
132
|
-
const t = new E(i), e = new
|
|
132
|
+
const t = new E(i), e = new R(t);
|
|
133
133
|
return $.set(e, t), e;
|
|
134
134
|
}
|
|
135
|
-
function
|
|
135
|
+
function S(i) {
|
|
136
136
|
const t = new I(i);
|
|
137
137
|
return A(t), () => {
|
|
138
138
|
t._disposed || (t._disposed = !0, L(t));
|
|
@@ -143,7 +143,7 @@ function W(i) {
|
|
|
143
143
|
try {
|
|
144
144
|
i();
|
|
145
145
|
} finally {
|
|
146
|
-
N(),
|
|
146
|
+
N(), O() === 0 && F();
|
|
147
147
|
}
|
|
148
148
|
}
|
|
149
149
|
function lt(i) {
|
|
@@ -247,7 +247,7 @@ const V = (i, t, e) => {
|
|
|
247
247
|
const l = {
|
|
248
248
|
host: i,
|
|
249
249
|
addEffect: (c) => {
|
|
250
|
-
o.push(
|
|
250
|
+
o.push(S(c));
|
|
251
251
|
},
|
|
252
252
|
emit: (c, p) => {
|
|
253
253
|
i.dispatchEvent(new CustomEvent(c, {
|
|
@@ -270,10 +270,10 @@ const V = (i, t, e) => {
|
|
|
270
270
|
for (const c of o) c();
|
|
271
271
|
o.length = 0, a && e?.anchorElement?.removeAttribute("data-aui-anchor");
|
|
272
272
|
};
|
|
273
|
-
}, y = /* @__PURE__ */ new WeakMap(),
|
|
273
|
+
}, y = /* @__PURE__ */ new WeakMap(), _ = /* @__PURE__ */ new WeakSet();
|
|
274
274
|
function Z(i) {
|
|
275
|
-
if (
|
|
276
|
-
|
|
275
|
+
if (_.has(i)) return;
|
|
276
|
+
_.add(i);
|
|
277
277
|
const t = i.attributes;
|
|
278
278
|
if (!t) return;
|
|
279
279
|
const e = Object.keys(t);
|
|
@@ -341,7 +341,7 @@ class h extends HTMLElement {
|
|
|
341
341
|
// ── Effect ownership ────────────────────────────────────
|
|
342
342
|
#o = [];
|
|
343
343
|
addEffect(t) {
|
|
344
|
-
const e =
|
|
344
|
+
const e = S(t);
|
|
345
345
|
return this.#o.push(e), e;
|
|
346
346
|
}
|
|
347
347
|
#h() {
|
|
@@ -479,7 +479,7 @@ class pt {
|
|
|
479
479
|
this.#t = t, this.#e = e, this.#s = k(s), this.#r = (n) => {
|
|
480
480
|
const r = n;
|
|
481
481
|
r.key === this.#e && (n.stopPropagation(), r.callback(this.#s.peek()), r.subscribe && this.#i.add(r.callback));
|
|
482
|
-
}, this.#t.addEventListener("context-request", this.#r), this.#n =
|
|
482
|
+
}, this.#t.addEventListener("context-request", this.#r), this.#n = S(() => {
|
|
483
483
|
const n = this.#s.value;
|
|
484
484
|
for (const r of this.#i) r(n);
|
|
485
485
|
});
|
|
@@ -1031,9 +1031,14 @@ class Ct extends h {
|
|
|
1031
1031
|
}
|
|
1032
1032
|
// ── Lifecycle ─────────────────────────────────────────────
|
|
1033
1033
|
activate() {
|
|
1034
|
-
if (!this.#t
|
|
1035
|
-
const t = this.
|
|
1036
|
-
|
|
1034
|
+
if (!this.#t) {
|
|
1035
|
+
const t = this.querySelector("template");
|
|
1036
|
+
if (t)
|
|
1037
|
+
this.#t = t.innerHTML.trim();
|
|
1038
|
+
else if (this.textContent?.trim()) {
|
|
1039
|
+
const e = this.style.whiteSpace;
|
|
1040
|
+
this.style.whiteSpace = "pre-wrap", this.#t = (this.innerText || "").trim(), this.style.whiteSpace = e;
|
|
1041
|
+
}
|
|
1037
1042
|
}
|
|
1038
1043
|
this.#e = document.createElement("div"), this.#e.setAttribute("data-agent-prose", ""), this.textContent = "", this.appendChild(this.#e), this.addEffect(() => {
|
|
1039
1044
|
this.format, this.#i();
|
|
@@ -1049,7 +1054,7 @@ class Ct extends h {
|
|
|
1049
1054
|
#n() {
|
|
1050
1055
|
if (!this.#e) return;
|
|
1051
1056
|
const t = this.#t;
|
|
1052
|
-
this.format === "plain" ? this.#e.textContent = t : this.#e.innerHTML = at(
|
|
1057
|
+
this.format === "plain" ? this.#e.textContent = t : this.#e.innerHTML = at(M(t));
|
|
1053
1058
|
}
|
|
1054
1059
|
}
|
|
1055
1060
|
const rt = /* @__PURE__ */ new Set([
|
|
@@ -1082,7 +1087,7 @@ function g(i) {
|
|
|
1082
1087
|
'<a href="$2" rel="noopener noreferrer" target="_blank">$1</a>'
|
|
1083
1088
|
), t;
|
|
1084
1089
|
}
|
|
1085
|
-
function
|
|
1090
|
+
function M(i) {
|
|
1086
1091
|
if (!i) return "";
|
|
1087
1092
|
const t = i.split(`
|
|
1088
1093
|
`), e = [];
|
|
@@ -1113,7 +1118,7 @@ function O(i) {
|
|
|
1113
1118
|
const a = [];
|
|
1114
1119
|
for (; s < t.length && t[s].startsWith("> "); )
|
|
1115
1120
|
a.push(t[s].slice(2)), s += 1;
|
|
1116
|
-
e.push(`<blockquote>${
|
|
1121
|
+
e.push(`<blockquote>${M(a.join(`
|
|
1117
1122
|
`))}</blockquote>`);
|
|
1118
1123
|
continue;
|
|
1119
1124
|
}
|
|
@@ -1232,7 +1237,7 @@ export {
|
|
|
1232
1237
|
V as o,
|
|
1233
1238
|
dt as p,
|
|
1234
1239
|
J as q,
|
|
1235
|
-
|
|
1240
|
+
M as r,
|
|
1236
1241
|
at as s,
|
|
1237
1242
|
ct as t,
|
|
1238
1243
|
lt as u,
|
|
@@ -1240,6 +1245,6 @@ export {
|
|
|
1240
1245
|
K as w,
|
|
1241
1246
|
ht as x,
|
|
1242
1247
|
ut as y,
|
|
1243
|
-
|
|
1248
|
+
S as z
|
|
1244
1249
|
};
|
|
1245
|
-
//# sourceMappingURL=agent-
|
|
1250
|
+
//# sourceMappingURL=agent-XMhz_6OA.js.map
|