@adia-ai/web-components 0.8.6 → 0.8.8
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 +14 -0
- package/README.md +3 -3
- package/dist/host.min.css +1 -1
- package/dist/host.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 +1 -1
- package/dist/web-components.sheet.js +1 -1
- package/package.json +2 -1
- package/patterns/access-requests/access-requests.examples.html +132 -0
- package/patterns/access-requests/access-requests.html +60 -0
- package/patterns/admin-keys-and-export/admin-keys-and-export.examples.html +236 -0
- package/patterns/admin-keys-and-export/admin-keys-and-export.html +64 -0
- package/patterns/admin-shell/admin-shell.examples.html +327 -0
- package/patterns/admin-shell/admin-shell.html +44 -0
- package/patterns/agent-cost/agent-cost.examples.html +111 -0
- package/patterns/agent-cost/agent-cost.html +62 -0
- package/patterns/agent-memory/agent-memory.examples.html +155 -0
- package/patterns/agent-memory/agent-memory.html +64 -0
- package/patterns/agent-prompt-library/agent-prompt-library.examples.html +181 -0
- package/patterns/agent-prompt-library/agent-prompt-library.html +64 -0
- package/patterns/agent-tool-call/agent-tool-call.examples.html +123 -0
- package/patterns/agent-tool-call/agent-tool-call.html +60 -0
- package/patterns/alert-dialog/alert-dialog.examples.html +105 -0
- package/patterns/alert-dialog/alert-dialog.html +57 -0
- package/patterns/app-nav/app-nav.examples.html +421 -0
- package/patterns/app-nav/app-nav.html +50 -0
- package/patterns/approvals/approvals.examples.html +131 -0
- package/patterns/approvals/approvals.html +58 -0
- package/patterns/audit-log/audit-log.examples.html +74 -0
- package/patterns/audit-log/audit-log.examples.js +60 -0
- package/patterns/audit-log/audit-log.html +63 -0
- package/patterns/bulk-action-toolbar/bulk-action-toolbar.examples.html +89 -0
- package/patterns/bulk-action-toolbar/bulk-action-toolbar.examples.js +69 -0
- package/patterns/bulk-action-toolbar/bulk-action-toolbar.html +62 -0
- package/patterns/changelog-feed/changelog-feed.examples.html +151 -0
- package/patterns/changelog-feed/changelog-feed.html +57 -0
- package/patterns/chart-in-card/chart-in-card.examples.html +193 -0
- package/patterns/chart-in-card/chart-in-card.examples.js +46 -0
- package/patterns/chart-in-card/chart-in-card.html +66 -0
- package/patterns/chat-shell/chat-shell.examples.html +129 -0
- package/patterns/chat-shell/chat-shell.html +46 -0
- package/patterns/comments-and-collaboration/comments-and-collaboration.examples.html +241 -0
- package/patterns/comments-and-collaboration/comments-and-collaboration.html +66 -0
- package/patterns/component-tokens/component-tokens.examples.html +483 -0
- package/patterns/component-tokens/component-tokens.html +42 -0
- package/patterns/conversion-funnel/conversion-funnel.examples.html +158 -0
- package/patterns/conversion-funnel/conversion-funnel.examples.js +4 -0
- package/patterns/conversion-funnel/conversion-funnel.html +64 -0
- package/patterns/data-tables-inline-edit-and-tree/data-tables-inline-edit-and-tree.examples.html +196 -0
- package/patterns/data-tables-inline-edit-and-tree/data-tables-inline-edit-and-tree.html +58 -0
- package/patterns/diff-review/diff-review.examples.html +147 -0
- package/patterns/diff-review/diff-review.html +56 -0
- package/patterns/editor-shell/editor-shell.examples.html +139 -0
- package/patterns/editor-shell/editor-shell.html +62 -0
- package/patterns/export-flow/export-flow.examples.html +152 -0
- package/patterns/export-flow/export-flow.examples.js +37 -0
- package/patterns/export-flow/export-flow.html +65 -0
- package/patterns/filter-bar/filter-bar.examples.html +116 -0
- package/patterns/filter-bar/filter-bar.examples.js +23 -0
- package/patterns/filter-bar/filter-bar.html +70 -0
- package/patterns/form-drawer/form-drawer.examples.html +210 -0
- package/patterns/form-drawer/form-drawer.html +64 -0
- package/patterns/form-system/form-system.examples.html +383 -0
- package/patterns/form-system/form-system.html +48 -0
- package/patterns/forms-conditional-and-autocomplete/forms-conditional-and-autocomplete.examples.html +189 -0
- package/patterns/forms-conditional-and-autocomplete/forms-conditional-and-autocomplete.html +64 -0
- package/patterns/inline-dialog/inline-dialog.examples.html +143 -0
- package/patterns/inline-dialog/inline-dialog.html +59 -0
- package/patterns/kanban-board/kanban-board.examples.html +224 -0
- package/patterns/kanban-board/kanban-board.html +58 -0
- package/patterns/layout/layout.examples.html +365 -0
- package/patterns/layout/layout.html +54 -0
- package/patterns/marketing-engagement/marketing-engagement.examples.html +280 -0
- package/patterns/marketing-engagement/marketing-engagement.html +64 -0
- package/patterns/notifications-bell-and-digest/notifications-bell-and-digest.examples.html +213 -0
- package/patterns/notifications-bell-and-digest/notifications-bell-and-digest.html +58 -0
- package/patterns/overview/overview.examples.html +119 -0
- package/patterns/overview/overview.html +42 -0
- package/patterns/permissions-matrix/permissions-matrix.examples.html +91 -0
- package/patterns/permissions-matrix/permissions-matrix.examples.js +28 -0
- package/patterns/permissions-matrix/permissions-matrix.html +56 -0
- package/patterns/permissions-role-picker/permissions-role-picker.examples.html +81 -0
- package/patterns/permissions-role-picker/permissions-role-picker.html +56 -0
- package/patterns/permissions-sharing/permissions-sharing.examples.html +175 -0
- package/patterns/permissions-sharing/permissions-sharing.html +66 -0
- package/patterns/profile-public-and-verification/profile-public-and-verification.examples.html +227 -0
- package/patterns/profile-public-and-verification/profile-public-and-verification.html +70 -0
- package/patterns/record-detail-drawer/record-detail-drawer.examples.html +164 -0
- package/patterns/record-detail-drawer/record-detail-drawer.html +64 -0
- package/patterns/responsive-shell-sidebar/README.md +37 -0
- package/patterns/responsive-shell-sidebar/responsive-shell-sidebar.css +39 -0
- package/patterns/responsive-shell-sidebar/responsive-shell-sidebar.examples.html +208 -0
- package/patterns/responsive-shell-sidebar/responsive-shell-sidebar.html +47 -0
- package/patterns/retention-cohort/retention-cohort.examples.html +149 -0
- package/patterns/retention-cohort/retention-cohort.examples.js +37 -0
- package/patterns/retention-cohort/retention-cohort.html +62 -0
- package/patterns/search-discovery/search-discovery.examples.html +263 -0
- package/patterns/search-discovery/search-discovery.html +58 -0
- package/patterns/system-banners/system-banners.examples.html +150 -0
- package/patterns/system-banners/system-banners.html +52 -0
- package/patterns/timezone-selector/timezone-selector.examples.html +82 -0
- package/patterns/timezone-selector/timezone-selector.examples.js +72 -0
- package/patterns/timezone-selector/timezone-selector.html +57 -0
- package/patterns/wizard-drawer/wizard-drawer.examples.html +144 -0
- package/patterns/wizard-drawer/wizard-drawer.examples.js +33 -0
- package/patterns/wizard-drawer/wizard-drawer.html +72 -0
- package/styles/type/roles.css +8 -8
|
@@ -0,0 +1,72 @@
|
|
|
1
|
+
<!DOCTYPE html>
|
|
2
|
+
<html lang="en" theme="auto">
|
|
3
|
+
<head>
|
|
4
|
+
<meta charset="utf-8">
|
|
5
|
+
<meta name="viewport" content="width=device-width, initial-scale=1">
|
|
6
|
+
<title>Wizard Drawer (pattern) — AdiaUI</title>
|
|
7
|
+
|
|
8
|
+
<!-- Token base -->
|
|
9
|
+
<link rel="stylesheet" href="../../styles/resets.css">
|
|
10
|
+
<link rel="stylesheet" href="../../styles/tokens.css">
|
|
11
|
+
|
|
12
|
+
<!-- Component CSS — primitives this pattern composes -->
|
|
13
|
+
<link rel="stylesheet" href="../../components/alert/alert.css">
|
|
14
|
+
<link rel="stylesheet" href="../../components/button/button.css">
|
|
15
|
+
<link rel="stylesheet" href="../../components/code/code.css">
|
|
16
|
+
<link rel="stylesheet" href="../../components/col/col.css">
|
|
17
|
+
<link rel="stylesheet" href="../../components/description-list/description-list.css">
|
|
18
|
+
<link rel="stylesheet" href="../../components/drawer/drawer.css">
|
|
19
|
+
<link rel="stylesheet" href="../../components/field/field.css">
|
|
20
|
+
<link rel="stylesheet" href="../../components/input/input.css">
|
|
21
|
+
<link rel="stylesheet" href="../../components/select/select.css">
|
|
22
|
+
<link rel="stylesheet" href="../../components/stepper/stepper.css">
|
|
23
|
+
<link rel="stylesheet" href="../../components/switch/switch.css">
|
|
24
|
+
<link rel="stylesheet" href="../../components/tag/tag.css">
|
|
25
|
+
<link rel="stylesheet" href="../../components/text/text.css">
|
|
26
|
+
<link rel="stylesheet" href="../../components/textarea/textarea.css">
|
|
27
|
+
|
|
28
|
+
<!-- Component JS -->
|
|
29
|
+
<script type="module" src="../../components/alert/alert.js"></script>
|
|
30
|
+
<script type="module" src="../../components/button/button.js"></script>
|
|
31
|
+
<script type="module" src="../../components/code/code.js"></script>
|
|
32
|
+
<script type="module" src="../../components/col/col.js"></script>
|
|
33
|
+
<script type="module" src="../../components/description-list/description-list.js"></script>
|
|
34
|
+
<script type="module" src="../../components/drawer/drawer.js"></script>
|
|
35
|
+
<script type="module" src="../../components/field/field.js"></script>
|
|
36
|
+
<script type="module" src="../../components/input/input.js"></script>
|
|
37
|
+
<script type="module" src="../../components/select/select.js"></script>
|
|
38
|
+
<script type="module" src="../../components/stepper/stepper.js"></script>
|
|
39
|
+
<script type="module" src="../../components/switch/switch.js"></script>
|
|
40
|
+
<script type="module" src="../../components/tag/tag.js"></script>
|
|
41
|
+
<script type="module" src="../../components/text/text.js"></script>
|
|
42
|
+
<script type="module" src="../../components/textarea/textarea.js"></script>
|
|
43
|
+
|
|
44
|
+
<style>
|
|
45
|
+
:where(html, body) { margin: 0; min-height: 100vh; background: var(--md-sys-color-neutral-background); color: var(--md-sys-color-neutral-on-surface); font-family: var(--a-font-family); }
|
|
46
|
+
main { max-width: 960px; margin-inline: auto; padding: var(--a-space-6) var(--a-space-5); }
|
|
47
|
+
</style>
|
|
48
|
+
</head>
|
|
49
|
+
<body>
|
|
50
|
+
|
|
51
|
+
<main id="demo-root">
|
|
52
|
+
<p>Loading examples…</p>
|
|
53
|
+
</main>
|
|
54
|
+
|
|
55
|
+
<script type="module">
|
|
56
|
+
const root = document.getElementById('demo-root');
|
|
57
|
+
try {
|
|
58
|
+
const res = await fetch('./wizard-drawer.examples.html');
|
|
59
|
+
if (!res.ok) throw new Error(`fetch failed (${res.status})`);
|
|
60
|
+
root.innerHTML = await res.text();
|
|
61
|
+
try {
|
|
62
|
+
const mod = await import(/* @vite-ignore */ './wizard-drawer.examples.js');
|
|
63
|
+
mod.default?.(root);
|
|
64
|
+
} catch (e) { console.error('[wizard-drawer.html] setup failed:', e); }
|
|
65
|
+
} catch (err) {
|
|
66
|
+
root.innerHTML = `<p style="color:var(--a-danger-strong);">Failed to load wizard-drawer.examples.html — ${err.message}</p>`;
|
|
67
|
+
console.error('[wizard-drawer.html]', err);
|
|
68
|
+
}
|
|
69
|
+
</script>
|
|
70
|
+
|
|
71
|
+
</body>
|
|
72
|
+
</html>
|
package/styles/type/roles.css
CHANGED
|
@@ -188,11 +188,11 @@
|
|
|
188
188
|
--a-ui-family: var(--a-font-family-ui);
|
|
189
189
|
--a-ui-weight: var(--a-weight-medium);
|
|
190
190
|
--a-ui-tiny: 10px;
|
|
191
|
-
--a-ui-2xs:
|
|
192
|
-
--a-ui-xs:
|
|
193
|
-
--a-ui-sm:
|
|
194
|
-
--a-ui-md:
|
|
195
|
-
--a-ui-lg:
|
|
191
|
+
--a-ui-2xs: 10px; /* unused (pre-staged); floors with --a-ui-tiny at the 10px minimum */
|
|
192
|
+
--a-ui-xs: 11px;
|
|
193
|
+
--a-ui-sm: 12px;
|
|
194
|
+
--a-ui-md: 13px;
|
|
195
|
+
--a-ui-lg: 14px;
|
|
196
196
|
--a-ui-size: var(--a-ui-md);
|
|
197
197
|
--a-ui-leading: 1;
|
|
198
198
|
--a-ui-line-height: var(--a-body-leading); /* §230-bundle (v0.5.9): alias for prose-style line-height inside UI body copy (e.g. alert message text). 1.5 by default. Closes the alert.css orphaned reference. */
|
|
@@ -211,9 +211,9 @@
|
|
|
211
211
|
/* body — default running text */
|
|
212
212
|
--a-body-family: var(--a-font-family-text);
|
|
213
213
|
--a-body-weight: var(--a-weight-normal);
|
|
214
|
-
--a-body-sm:
|
|
215
|
-
--a-body-md:
|
|
216
|
-
--a-body-lg:
|
|
214
|
+
--a-body-sm: 13px;
|
|
215
|
+
--a-body-md: 14px;
|
|
216
|
+
--a-body-lg: 15px;
|
|
217
217
|
--a-body-size: var(--a-body-md);
|
|
218
218
|
--a-body-leading: var(--a-font-leading-loose);
|
|
219
219
|
--a-body-tracking: var(--a-font-tracking-normal);
|