@adia-ai/web-components 0.8.21 → 0.8.23
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 +56 -0
- package/MIGRATION.md +9 -0
- package/components/agent-trace/agent-trace.js +4 -1
- package/components/alert/alert.a2ui.json +1 -1
- package/components/alert/alert.css +44 -5
- package/components/alert/alert.yaml +8 -4
- package/components/canvas/canvas.js +4 -1
- package/components/chat-thread/chat-input.js +4 -1
- package/components/code/code.css +29 -26
- package/components/combobox/combobox.a2ui.json +1 -1
- package/components/combobox/combobox.class.js +14 -4
- package/components/combobox/combobox.css +52 -4
- package/components/combobox/combobox.yaml +5 -1
- package/components/description-list/description-list.css +9 -0
- package/components/drawer/drawer.css +16 -0
- package/components/field/field.css +4 -1
- package/components/list/list.css +12 -1
- package/components/nav-group/nav-group.class.js +45 -2
- package/components/nav-group/nav-group.css +11 -2
- package/components/progress-row/progress-row.class.js +10 -2
- package/components/richtext/richtext.css +7 -0
- package/components/select/select.a2ui.json +5 -0
- package/components/select/select.class.js +39 -9
- package/components/select/select.yaml +13 -0
- package/components/stat/stat.js +4 -1
- package/components/stepper/stepper.css +25 -20
- package/components/table/table.a2ui.json +15 -1
- package/components/table/table.class.js +14 -1
- package/components/table/table.css +68 -3
- package/components/table/table.d.ts +5 -1
- package/components/table/table.yaml +34 -1
- package/components/tabs/tab.js +4 -1
- package/components/tag/tag.css +15 -9
- package/core/provider.js +5 -1
- package/dist/host.min.css +1 -1
- package/dist/host.sheet.js +1 -1
- package/dist/scale.min.css +1 -1
- package/dist/scale.sheet.js +1 -1
- package/dist/theme-provider.min.js +2 -2
- 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/patterns/access-requests/access-requests.examples.html +12 -3
- package/patterns/admin-keys-and-export/admin-keys-and-export.examples.html +20 -5
- package/patterns/agent-cost/agent-cost.examples.html +12 -3
- package/patterns/agent-memory/agent-memory.examples.html +12 -3
- package/patterns/agent-prompt-library/agent-prompt-library.examples.html +12 -3
- package/patterns/agent-tool-call/agent-tool-call.examples.html +16 -4
- package/patterns/alert-dialog/alert-dialog.examples.html +12 -3
- package/patterns/app-nav/app-nav.examples.html +36 -9
- package/patterns/approvals/approvals.examples.html +14 -10
- package/patterns/audit-log/audit-log.examples.html +5 -2
- package/patterns/bulk-action-toolbar/bulk-action-toolbar.examples.html +210 -32
- package/patterns/bulk-action-toolbar/bulk-action-toolbar.examples.js +83 -4
- package/patterns/bulk-action-toolbar/bulk-action-toolbar.html +68 -0
- package/patterns/changelog-feed/changelog-feed.examples.html +4 -1
- package/patterns/chart-in-card/chart-in-card.examples.html +28 -7
- package/patterns/comments-and-collaboration/comments-and-collaboration.examples.html +20 -5
- package/patterns/conversion-funnel/conversion-funnel.examples.html +24 -15
- package/patterns/data-tables-inline-edit-and-tree/data-tables-inline-edit-and-tree.examples.html +15 -6
- package/patterns/diff-review/diff-review.examples.html +12 -3
- package/patterns/export-flow/export-flow.examples.html +12 -3
- package/patterns/filter-bar/filter-bar.examples.html +13 -4
- package/patterns/form-drawer/form-drawer.examples.html +15 -6
- package/patterns/form-system/form-system.examples.html +4 -1
- package/patterns/forms-conditional-and-autocomplete/forms-conditional-and-autocomplete.examples.html +12 -3
- package/patterns/inline-dialog/inline-dialog.examples.html +12 -3
- package/patterns/kanban-board/kanban-board.examples.html +4 -1
- package/patterns/marketing-engagement/marketing-engagement.examples.html +24 -6
- package/patterns/notifications-bell-and-digest/notifications-bell-and-digest.examples.html +12 -3
- package/patterns/permissions-matrix/permissions-matrix.examples.html +9 -3
- package/patterns/permissions-role-picker/permissions-role-picker.examples.html +8 -2
- package/patterns/permissions-sharing/permissions-sharing.examples.html +12 -3
- package/patterns/profile-public-and-verification/profile-public-and-verification.examples.html +16 -4
- package/patterns/record-detail-drawer/record-detail-drawer.examples.html +10 -4
- package/patterns/retention-cohort/retention-cohort.examples.html +15 -6
- package/patterns/search-discovery/search-discovery.examples.html +16 -4
- package/patterns/system-banners/system-banners.examples.html +54 -48
- package/patterns/timezone-selector/timezone-selector.examples.html +8 -2
- package/patterns/timezone-selector/timezone-selector.examples.js +3 -1
- package/patterns/wizard-drawer/wizard-drawer.examples.html +25 -23
- package/patterns/wizard-drawer/wizard-drawer.examples.js +12 -1
- package/styles/foundation/radius.css +2 -2
- package/styles/scale.css +2 -2
- package/styles/type/scale.css +6 -6
package/components/tabs/tab.js
CHANGED
|
@@ -7,6 +7,7 @@
|
|
|
7
7
|
* The tab button is rendered by the parent tabs-ui, not by tab-ui itself.
|
|
8
8
|
*/
|
|
9
9
|
|
|
10
|
+
import { defineIfFree } from '../../core/register.js';
|
|
10
11
|
import { UIElement } from '../../core/element.js';
|
|
11
12
|
|
|
12
13
|
class UITab extends UIElement {
|
|
@@ -29,6 +30,8 @@ class UITab extends UIElement {
|
|
|
29
30
|
else this.removeAttribute('aria-disabled');
|
|
30
31
|
}
|
|
31
32
|
}
|
|
32
|
-
|
|
33
|
+
// defineIfFree (gh#534): the prod bundle + module graph load in parallel;
|
|
34
|
+
// second registration must no-op, not throw.
|
|
35
|
+
defineIfFree('tab-ui', UITab);
|
|
33
36
|
|
|
34
37
|
export { UITab };
|
package/components/tag/tag.css
CHANGED
|
@@ -51,15 +51,21 @@ tag-ui[removable]:not([disabled]):hover {
|
|
|
51
51
|
box-sizing: border-box;
|
|
52
52
|
display: inline-flex;
|
|
53
53
|
align-items: center;
|
|
54
|
-
/*
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
54
|
+
/* width: fit-content — the TKT-0021 guard, re-cut for gh#503. The old
|
|
55
|
+
`align-self: start` defeated col-ui's stretch, but align-self acts on
|
|
56
|
+
whichever cross axis the PARENT has: in a flex-ROW parent (every
|
|
57
|
+
table-ui body cell, row-ui, toolbars) it governed the vertical axis
|
|
58
|
+
and top-pinned bare chips in tall rows (measured −34px off-center,
|
|
59
|
+
adia-v2 console). A definite inline size defeats stretch in a column
|
|
60
|
+
stack the same way (stretch applies only at auto cross size; the item
|
|
61
|
+
then sits at cross-start — identical content-sized, left-aligned
|
|
62
|
+
result), while a row parent's align-items: center regains control of
|
|
63
|
+
vertical placement. justify-content: center is the matching defensive
|
|
64
|
+
default badge-ui/button-ui already carry (badge.css/button.css) — if
|
|
65
|
+
the box is ever wider than its content for any other reason, the
|
|
66
|
+
label still centers instead of reading left-aligned in an oversized
|
|
67
|
+
pill. */
|
|
68
|
+
width: fit-content;
|
|
63
69
|
justify-content: center;
|
|
64
70
|
gap: var(--tag-gap);
|
|
65
71
|
padding: var(--tag-py) var(--tag-px);
|
package/core/provider.js
CHANGED
|
@@ -23,6 +23,7 @@
|
|
|
23
23
|
*/
|
|
24
24
|
|
|
25
25
|
import { UIElement } from './element.js';
|
|
26
|
+
import { defineIfFree } from './register.js';
|
|
26
27
|
import { BaseController } from './controller.js';
|
|
27
28
|
|
|
28
29
|
// ═══════════════════════════════════════════════════════════════
|
|
@@ -295,4 +296,7 @@ export class UIRouter extends UIProvider {
|
|
|
295
296
|
}
|
|
296
297
|
}
|
|
297
298
|
|
|
298
|
-
|
|
299
|
+
// defineIfFree, not a bare define (gh#534): the site's prod bootstrap loads
|
|
300
|
+
// the prebuilt everything-bundle ALONGSIDE the module graph — whichever
|
|
301
|
+
// registers second must no-op, not throw.
|
|
302
|
+
defineIfFree('router-ui', UIRouter);
|