@agent-ui-kit/web-components 0.0.14 → 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 +3878 -636
- package/dist/api.tokens.json +35 -3
- package/dist/api.tokens.yaml +27 -3
- package/dist/chunks/{agent-C72JZNe6.js → agent-XMhz_6OA.js} +85 -76
- package/dist/chunks/{agent-C72JZNe6.js.map → agent-XMhz_6OA.js.map} +1 -1
- package/dist/chunks/{empty-state-5M3uR5CM.js → form-oekEhwja.js} +1409 -960
- package/dist/chunks/form-oekEhwja.js.map +1 -0
- package/dist/components/agent.js +6 -6
- package/dist/components/avatar/avatar.d.ts +0 -0
- package/dist/components/badge/badge.d.ts +0 -0
- package/dist/components/bar/bar.d.ts +0 -0
- package/dist/components/breadcrumb/breadcrumb.d.ts +2 -0
- package/dist/components/button-group/button-group.d.ts +0 -0
- package/dist/components/checkbox-group/checkbox-group.d.ts +14 -0
- package/dist/components/checkbox-group/index.d.ts +1 -0
- package/dist/components/code/code.d.ts +0 -0
- package/dist/components/color-area/color-area.d.ts +2 -1
- package/dist/components/color-picker/color-picker.d.ts +1 -0
- package/dist/components/color-picker/oklch-utils.d.ts +18 -0
- package/dist/components/color-slider/color-slider.d.ts +1 -1
- package/dist/components/color-swatch/color-swatch.d.ts +0 -0
- package/dist/components/content/content.d.ts +0 -0
- package/dist/components/description-list/description-list.d.ts +0 -0
- package/dist/components/divider/divider.d.ts +0 -0
- package/dist/components/editor.js +1 -1
- package/dist/components/fieldset/fieldset.d.ts +0 -0
- package/dist/components/footer/footer.d.ts +0 -0
- 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/grid/grid.d.ts +0 -0
- package/dist/components/header/header.d.ts +0 -0
- package/dist/components/heading/heading.d.ts +0 -0
- package/dist/components/index.d.ts +2 -0
- package/dist/components/input-group/input-group.d.ts +0 -0
- package/dist/components/inset/inset.d.ts +0 -0
- package/dist/components/kbd/kbd.d.ts +0 -0
- package/dist/components/noodles/noodle-controller.d.ts +1 -1
- package/dist/components/stack/stack.d.ts +0 -0
- package/dist/components/stat/stat.d.ts +4 -0
- package/dist/components/text/text.d.ts +0 -0
- package/dist/components/time-field/time-field.d.ts +1 -0
- package/dist/components/wrap/wrap.d.ts +0 -0
- package/dist/components.js +115 -126
- package/dist/components.js.map +1 -1
- 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 +42 -22
- 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 +22 -16
- 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/accordion-item.yaml +13 -21
- package/dist/docs/components/accordion.yaml +23 -29
- package/dist/docs/components/agent-activity.yaml +49 -41
- package/dist/docs/components/agent-feed.yaml +15 -22
- package/dist/docs/components/agent-input.yaml +238 -0
- package/dist/docs/components/agent-message.yaml +29 -48
- package/dist/docs/components/agent-panel.yaml +21 -24
- package/dist/docs/components/agent-prompt.yaml +29 -47
- package/dist/docs/components/agent-seeds.yaml +16 -24
- package/dist/docs/components/agent-text.yaml +14 -24
- package/dist/docs/components/agent-thread.yaml +15 -24
- package/dist/docs/components/alert.yaml +41 -39
- package/dist/docs/components/avatar-group.yaml +72 -45
- package/dist/docs/components/avatar.yaml +99 -0
- package/dist/docs/components/badge.yaml +110 -0
- package/dist/docs/components/bar.yaml +84 -0
- package/dist/docs/components/breadcrumb-item.yaml +8 -17
- package/dist/docs/components/breadcrumb.yaml +91 -29
- package/dist/docs/components/button-group.yaml +93 -0
- package/dist/docs/components/button.yaml +188 -261
- package/dist/docs/components/calendar-picker.yaml +16 -35
- package/dist/docs/components/calendar-range-picker.yaml +11 -29
- package/dist/docs/components/calendar.yaml +11 -29
- package/dist/docs/components/canvas.yaml +44 -61
- package/dist/docs/components/checkbox.yaml +37 -49
- package/dist/docs/components/chip.yaml +89 -55
- package/dist/docs/components/code-block.yaml +54 -53
- package/dist/docs/components/code.yaml +37 -0
- package/dist/docs/components/color-area.yaml +119 -0
- package/dist/docs/components/color-field.yaml +121 -0
- package/dist/docs/components/color-picker.yaml +87 -35
- package/dist/docs/components/color-slider.yaml +153 -0
- package/dist/docs/components/color-swatch.yaml +98 -0
- package/dist/docs/components/command.yaml +13 -18
- package/dist/docs/components/container.yaml +84 -73
- package/dist/docs/components/content.yaml +100 -0
- package/dist/docs/components/context-menu.yaml +11 -20
- package/dist/docs/components/date-field.yaml +81 -33
- package/dist/docs/components/description-list.yaml +81 -0
- package/dist/docs/components/disclosure-group.yaml +61 -42
- package/dist/docs/components/disclosure.yaml +60 -46
- package/dist/docs/components/divider.yaml +63 -0
- package/dist/docs/components/dropdown-menu.yaml +16 -25
- package/dist/docs/components/feed.yaml +15 -24
- package/dist/docs/components/field.yaml +50 -71
- package/dist/docs/components/fieldset.yaml +92 -0
- package/dist/docs/components/footer.yaml +147 -0
- package/dist/docs/components/grid.yaml +87 -0
- package/dist/docs/components/gripper.yaml +11 -23
- package/dist/docs/components/header.yaml +168 -0
- package/dist/docs/components/heading.yaml +58 -0
- package/dist/docs/components/hover-card.yaml +17 -25
- package/dist/docs/components/icon.yaml +32 -65
- package/dist/docs/components/index.yaml +11 -1
- package/dist/docs/components/input-group.yaml +102 -0
- package/dist/docs/components/input-otp.yaml +20 -19
- package/dist/docs/components/input.yaml +100 -139
- package/dist/docs/components/inset.yaml +59 -0
- package/dist/docs/components/kbd.yaml +57 -0
- package/dist/docs/components/link.yaml +36 -45
- package/dist/docs/components/meter.yaml +54 -42
- package/dist/docs/components/nav-item.yaml +54 -43
- package/dist/docs/components/noodles.yaml +72 -104
- package/dist/docs/components/option.yaml +12 -23
- package/dist/docs/components/pagination.yaml +21 -18
- package/dist/docs/components/pane.yaml +18 -32
- package/dist/docs/components/panes.yaml +19 -27
- package/dist/docs/components/progress-circle.yaml +64 -55
- package/dist/docs/components/progress.yaml +35 -51
- package/dist/docs/components/radio-group.yaml +99 -40
- package/dist/docs/components/radio.yaml +40 -41
- package/dist/docs/components/range.yaml +24 -27
- package/dist/docs/components/segmented-control.yaml +58 -17
- package/dist/docs/components/select.yaml +80 -100
- package/dist/docs/components/skeleton.yaml +39 -39
- package/dist/docs/components/sparkline.yaml +28 -45
- package/dist/docs/components/spinner.yaml +32 -33
- package/dist/docs/components/stack.yaml +126 -0
- package/dist/docs/components/stat.yaml +164 -0
- package/dist/docs/components/stepper.yaml +46 -53
- package/dist/docs/components/switch.yaml +36 -47
- package/dist/docs/components/tab-panel.yaml +27 -18
- package/dist/docs/components/tab.yaml +25 -22
- package/dist/docs/components/table-header.yaml +22 -12
- package/dist/docs/components/tabs.yaml +103 -20
- package/dist/docs/components/tag-group.yaml +63 -47
- package/dist/docs/components/text.yaml +67 -0
- package/dist/docs/components/textarea.yaml +43 -60
- package/dist/docs/components/time-field.yaml +108 -34
- package/dist/docs/components/toast.yaml +13 -30
- package/dist/docs/components/tooltip.yaml +56 -49
- package/dist/docs/components/tree-item.yaml +9 -10
- package/dist/docs/components/tree.yaml +127 -10
- package/dist/docs/components/wrap.yaml +60 -0
- package/dist/docs/traits/toggle-theme.yaml +34 -0
- package/dist/element.js +1 -1
- package/dist/icons.js +79 -59
- package/dist/icons.js.map +1 -1
- package/dist/reactivity.js +2 -2
- package/dist/register.d.ts +0 -1
- package/dist/register.js +368 -352
- package/dist/register.js.map +1 -1
- package/dist/store.js +1 -1
- package/dist/traits/toggle-theme/toggle-theme.d.ts +0 -0
- package/dist/traits/toggle-theme/toggle-theme.trait.d.ts +2 -0
- package/dist/traits.js +528 -485
- package/dist/traits.js.map +1 -1
- package/package.json +1 -1
- package/dist/chunks/empty-state-5M3uR5CM.js.map +0 -1
|
@@ -1,16 +1,26 @@
|
|
|
1
1
|
name: settings-form
|
|
2
2
|
type: block
|
|
3
3
|
summary: Card with header, form fields, and action footer.
|
|
4
|
-
description:
|
|
5
|
-
A structured settings form inside a bordered card container.
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
4
|
+
description: |
|
|
5
|
+
A structured settings form inside a bordered card container. Header holds the title and description, content holds the fields, footer uses aui-button-group for cancel and save actions.
|
|
6
|
+
components:
|
|
7
|
+
- aui-container
|
|
8
|
+
- aui-header
|
|
9
|
+
- aui-content
|
|
10
|
+
- aui-footer
|
|
11
|
+
- aui-inset
|
|
12
|
+
- aui-stack
|
|
13
|
+
- aui-heading
|
|
14
|
+
- aui-text
|
|
15
|
+
- aui-field
|
|
16
|
+
- aui-input
|
|
17
|
+
- aui-textarea
|
|
18
|
+
- aui-button
|
|
19
|
+
- aui-button-group
|
|
10
20
|
kind: card
|
|
11
|
-
|
|
12
21
|
examples:
|
|
13
|
-
-
|
|
22
|
+
- description: Card with header, form fields, and action footer.
|
|
23
|
+
html: |-
|
|
14
24
|
<aui-container kind="card" bordered max-width="prose">
|
|
15
25
|
<aui-header>
|
|
16
26
|
<span slot="leading">
|
|
@@ -34,9 +44,8 @@ examples:
|
|
|
34
44
|
</aui-content>
|
|
35
45
|
<aui-footer>
|
|
36
46
|
<aui-button-group>
|
|
37
|
-
<aui-button primary grow="1">Save changes</aui-button>
|
|
38
|
-
<aui-button scrim grow="1">Cancel</aui-button>
|
|
47
|
+
<aui-button primary grow="1" basis="0">Save changes</aui-button>
|
|
48
|
+
<aui-button scrim grow="1" basis="0">Cancel</aui-button>
|
|
39
49
|
</aui-button-group>
|
|
40
50
|
</aui-footer>
|
|
41
51
|
</aui-container>
|
|
42
|
-
description: Project settings form with name and description fields.
|
|
@@ -1,17 +1,25 @@
|
|
|
1
1
|
name: settings-panel
|
|
2
2
|
type: block
|
|
3
3
|
summary: Settings card with toggles, descriptions, and grouped controls.
|
|
4
|
-
description:
|
|
5
|
-
A settings panel showing configuration options with inline descriptions. Each
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
4
|
+
description: |
|
|
5
|
+
A settings panel showing configuration options with inline descriptions. Each setting is a row with a label, description, and a trailing control (switch, button, or badge). Commonly used for account preferences, notification settings, or feature toggles.
|
|
6
|
+
components:
|
|
7
|
+
- aui-container
|
|
8
|
+
- aui-header
|
|
9
|
+
- aui-content
|
|
10
|
+
- aui-inset
|
|
11
|
+
- aui-stack
|
|
12
|
+
- aui-heading
|
|
13
|
+
- aui-text
|
|
14
|
+
- aui-switch
|
|
15
|
+
- aui-button
|
|
16
|
+
- aui-badge
|
|
17
|
+
- aui-divider
|
|
18
|
+
- aui-icon
|
|
11
19
|
kind: card
|
|
12
|
-
|
|
13
20
|
examples:
|
|
14
|
-
-
|
|
21
|
+
- description: Settings card with toggles, descriptions, and grouped controls.
|
|
22
|
+
html: |-
|
|
15
23
|
<aui-container kind="card" bordered max-width="lg">
|
|
16
24
|
<aui-header>
|
|
17
25
|
<span slot="leading">
|
|
@@ -32,23 +40,16 @@ examples:
|
|
|
32
40
|
<aui-button primary size="sm">Enable</aui-button>
|
|
33
41
|
</aui-stack>
|
|
34
42
|
<aui-divider></aui-divider>
|
|
35
|
-
<aui-stack
|
|
36
|
-
<aui-stack gap="
|
|
37
|
-
<aui-heading size="md">Wallpaper tinting</aui-heading>
|
|
38
|
-
<aui-
|
|
43
|
+
<aui-stack gap="1">
|
|
44
|
+
<aui-stack direction="row" gap="3" align-items="center">
|
|
45
|
+
<aui-heading size="md" spacer>Wallpaper tinting</aui-heading>
|
|
46
|
+
<aui-switch checked></aui-switch>
|
|
39
47
|
</aui-stack>
|
|
40
|
-
<aui-
|
|
48
|
+
<aui-text muted size="sm">Allow the wallpaper to be tinted.</aui-text>
|
|
41
49
|
</aui-stack>
|
|
42
50
|
<aui-divider></aui-divider>
|
|
43
|
-
<aui-
|
|
44
|
-
<aui-icon name="check" style="flex-shrink: 0;"></aui-icon>
|
|
45
|
-
<aui-stack gap="1" spacer>
|
|
46
|
-
<aui-heading size="md">Profile verified</aui-heading>
|
|
47
|
-
</aui-stack>
|
|
48
|
-
<aui-icon name="caret-right" muted></aui-icon>
|
|
49
|
-
</aui-stack>
|
|
51
|
+
<aui-alert success icon="check">Your profile has been verified.</aui-alert>
|
|
50
52
|
</aui-stack>
|
|
51
53
|
</aui-inset>
|
|
52
54
|
</aui-content>
|
|
53
55
|
</aui-container>
|
|
54
|
-
description: Security settings panel with 2FA button, wallpaper tinting switch, and verified profile row.
|
|
@@ -1,23 +1,32 @@
|
|
|
1
1
|
name: sidebar-nav
|
|
2
2
|
type: block
|
|
3
3
|
summary: Compact app sidebar with icon navigation and user footer.
|
|
4
|
-
description:
|
|
5
|
-
A fixed-width sidebar for app-level navigation. Uses card kind for
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
4
|
+
description: |
|
|
5
|
+
A fixed-width sidebar for app-level navigation. Uses card kind for tighter padding than panel. Nav items use aui-nav-item elements — the active item uses the active attribute for visual distinction. Footer shows the signed-in user with avatar and email. Designed to sit at the left edge of a layout at 14-16rem width.
|
|
6
|
+
components:
|
|
7
|
+
- aui-container
|
|
8
|
+
- aui-header
|
|
9
|
+
- aui-content
|
|
10
|
+
- aui-footer
|
|
11
|
+
- aui-inset
|
|
12
|
+
- aui-stack
|
|
13
|
+
- aui-heading
|
|
14
|
+
- aui-text
|
|
15
|
+
- aui-icon
|
|
16
|
+
- aui-avatar
|
|
17
|
+
- aui-divider
|
|
18
|
+
- aui-nav-item
|
|
12
19
|
kind: card
|
|
13
|
-
|
|
14
20
|
examples:
|
|
15
|
-
-
|
|
21
|
+
- description: Compact app sidebar with icon navigation and user footer.
|
|
22
|
+
html: |-
|
|
16
23
|
<aui-container kind="card" bordered elevation="2" max-width="xs">
|
|
17
|
-
<aui-
|
|
18
|
-
<
|
|
19
|
-
|
|
20
|
-
|
|
24
|
+
<aui-inset>
|
|
25
|
+
<aui-stack direction="row" gap="2" align-items="center">
|
|
26
|
+
<aui-avatar square size="sm"><img src="/icon.svg" alt="Acme Inc"></aui-avatar>
|
|
27
|
+
<aui-heading size="md">Acme Inc</aui-heading>
|
|
28
|
+
</aui-stack>
|
|
29
|
+
</aui-inset>
|
|
21
30
|
<aui-content>
|
|
22
31
|
<aui-inset>
|
|
23
32
|
<aui-stack gap="2">
|
|
@@ -52,4 +61,3 @@ examples:
|
|
|
52
61
|
</span>
|
|
53
62
|
</aui-footer>
|
|
54
63
|
</aui-container>
|
|
55
|
-
description: App sidebar with active Dashboard item, three inactive links, and user footer.
|
|
@@ -1,17 +1,24 @@
|
|
|
1
1
|
name: signup-form
|
|
2
2
|
type: block
|
|
3
3
|
summary: Signup card with name, email, password, and terms notice.
|
|
4
|
-
description:
|
|
5
|
-
A registration card for new-user onboarding. Collects full name, email,
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
4
|
+
description: |
|
|
5
|
+
A registration card for new-user onboarding. Collects full name, email, and password in a clean vertical stack with a terms-of-service notice near the submit button. Pair with the login-form block to cover both sides of the authentication flow.
|
|
6
|
+
components:
|
|
7
|
+
- aui-container
|
|
8
|
+
- aui-header
|
|
9
|
+
- aui-content
|
|
10
|
+
- aui-footer
|
|
11
|
+
- aui-inset
|
|
12
|
+
- aui-stack
|
|
13
|
+
- aui-heading
|
|
14
|
+
- aui-text
|
|
15
|
+
- aui-field
|
|
16
|
+
- aui-input
|
|
17
|
+
- aui-button
|
|
11
18
|
kind: panel
|
|
12
|
-
|
|
13
19
|
examples:
|
|
14
|
-
-
|
|
20
|
+
- description: Signup card with name, email, password, and terms notice.
|
|
21
|
+
html: |-
|
|
15
22
|
<aui-container kind="panel" bordered max-width="md">
|
|
16
23
|
<aui-header>
|
|
17
24
|
<span slot="leading">
|
|
@@ -23,7 +30,7 @@ examples:
|
|
|
23
30
|
</aui-header>
|
|
24
31
|
<aui-content>
|
|
25
32
|
<aui-inset>
|
|
26
|
-
<aui-stack
|
|
33
|
+
<aui-stack>
|
|
27
34
|
<aui-field label="Full name" width="full">
|
|
28
35
|
<aui-input placeholder="Jane Smith" width="full"></aui-input>
|
|
29
36
|
</aui-field>
|
|
@@ -44,4 +51,3 @@ examples:
|
|
|
44
51
|
<span slot="content"><aui-text muted size="sm">Already have an account? <a href="#">Sign in</a></aui-text></span>
|
|
45
52
|
</aui-footer>
|
|
46
53
|
</aui-container>
|
|
47
|
-
description: Signup card with name, email, and password fields plus terms notice.
|
|
@@ -1,32 +1,31 @@
|
|
|
1
1
|
name: stat-cards
|
|
2
2
|
type: block
|
|
3
3
|
summary: Row of compact KPI stat widgets.
|
|
4
|
-
description:
|
|
5
|
-
Dashboard-style stat cards in a horizontal row using aui-stat. Each
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
4
|
+
description: |
|
|
5
|
+
Dashboard-style stat cards in a horizontal row using aui-stat. Each widget shows a label, large value, and optional change text. Intent attrs (success) color the value for positive status. Uses widget kind for compact padding.
|
|
6
|
+
components:
|
|
7
|
+
- aui-container
|
|
8
|
+
- aui-inset
|
|
9
|
+
- aui-wrap
|
|
10
|
+
- aui-stat
|
|
11
11
|
kind: widget
|
|
12
|
-
|
|
13
12
|
examples:
|
|
14
|
-
-
|
|
13
|
+
- description: Row of compact KPI stat widgets.
|
|
14
|
+
html: |-
|
|
15
15
|
<aui-wrap gap="3">
|
|
16
|
-
<aui-container kind="widget" bordered spacer
|
|
16
|
+
<aui-container kind="widget" bordered spacer min-width="12">
|
|
17
17
|
<aui-inset>
|
|
18
18
|
<aui-stat label="Active Users" value="12" trend="up" change="+3 today"></aui-stat>
|
|
19
19
|
</aui-inset>
|
|
20
20
|
</aui-container>
|
|
21
|
-
<aui-container kind="widget" bordered spacer
|
|
21
|
+
<aui-container kind="widget" bordered spacer min-width="12">
|
|
22
22
|
<aui-inset>
|
|
23
23
|
<aui-stat label="Uptime" value="99.9%" success change="All systems operational"></aui-stat>
|
|
24
24
|
</aui-inset>
|
|
25
25
|
</aui-container>
|
|
26
|
-
<aui-container kind="widget" bordered spacer
|
|
26
|
+
<aui-container kind="widget" bordered spacer min-width="12">
|
|
27
27
|
<aui-inset>
|
|
28
28
|
<aui-stat label="Open Issues" value="3" change="Needs review"></aui-stat>
|
|
29
29
|
</aui-inset>
|
|
30
30
|
</aui-container>
|
|
31
31
|
</aui-wrap>
|
|
32
|
-
description: Three KPI stat cards using aui-stat with trend and status change text.
|
|
@@ -1,17 +1,22 @@
|
|
|
1
1
|
name: status-card
|
|
2
2
|
type: block
|
|
3
3
|
summary: Centered confirmation or alert card with icon and CTA.
|
|
4
|
-
description:
|
|
5
|
-
A card surface for status messages — confirmations, success states,
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
4
|
+
description: |
|
|
5
|
+
A card surface for status messages — confirmations, success states, or error alerts. Centered layout with icon, heading, description, and a primary call-to-action. Uses intent to set the color family.
|
|
6
|
+
components:
|
|
7
|
+
- aui-container
|
|
8
|
+
- aui-inset
|
|
9
|
+
- aui-stack
|
|
10
|
+
- aui-heading
|
|
11
|
+
- aui-text
|
|
12
|
+
- aui-icon
|
|
13
|
+
- aui-button
|
|
14
|
+
- aui-button-group
|
|
10
15
|
kind: card
|
|
11
|
-
|
|
12
16
|
examples:
|
|
13
|
-
-
|
|
14
|
-
|
|
17
|
+
- description: Success confirmation after payment
|
|
18
|
+
html: |-
|
|
19
|
+
<aui-container kind="card" bordered shadow="2" success max-width="sm">
|
|
15
20
|
<aui-inset>
|
|
16
21
|
<aui-stack gap="4" align-items="center" text="center">
|
|
17
22
|
<aui-icon name="check-circle" size="2xl"></aui-icon>
|
|
@@ -21,20 +26,18 @@ examples:
|
|
|
21
26
|
</aui-stack>
|
|
22
27
|
</aui-inset>
|
|
23
28
|
</aui-container>
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
<aui-container kind="card" bordered shadow="2" danger max-width="md">
|
|
29
|
+
- description: Error state with retry and support actions
|
|
30
|
+
html: |-
|
|
31
|
+
<aui-container kind="card" bordered shadow="2" danger max-width="sm">
|
|
28
32
|
<aui-inset>
|
|
29
33
|
<aui-stack gap="4" align-items="center" text="center">
|
|
30
34
|
<aui-icon name="warning-circle" size="2xl"></aui-icon>
|
|
31
35
|
<aui-heading size="xl">Something went wrong</aui-heading>
|
|
32
36
|
<aui-text muted>We couldn't process your request. Please try again or contact support if the issue persists.</aui-text>
|
|
33
|
-
<aui-button-group>
|
|
34
|
-
<aui-button
|
|
35
|
-
<aui-button
|
|
37
|
+
<aui-button-group direction="column">
|
|
38
|
+
<aui-button primary grow="1" basis="0">Try Again</aui-button>
|
|
39
|
+
<aui-button ghost grow="1" basis="0">Contact Support</aui-button>
|
|
36
40
|
</aui-button-group>
|
|
37
41
|
</aui-stack>
|
|
38
42
|
</aui-inset>
|
|
39
43
|
</aui-container>
|
|
40
|
-
description: Error state with retry and support actions.
|
|
@@ -1,17 +1,25 @@
|
|
|
1
1
|
name: suggested-labs
|
|
2
2
|
type: block
|
|
3
3
|
summary: Lab order card with categorized tests and routing actions.
|
|
4
|
-
description:
|
|
5
|
-
A clinical decision-support card listing suggested laboratory tests.
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
4
|
+
description: |
|
|
5
|
+
A clinical decision-support card listing suggested laboratory tests. Each row shows the test panel name, a brief rationale, and a condition badge. A primary action routes the order to the assigned physician, with secondary actions in an aui-button-group for drafting or staging.
|
|
6
|
+
components:
|
|
7
|
+
- aui-container
|
|
8
|
+
- aui-header
|
|
9
|
+
- aui-content
|
|
10
|
+
- aui-footer
|
|
11
|
+
- aui-inset
|
|
12
|
+
- aui-stack
|
|
13
|
+
- aui-heading
|
|
14
|
+
- aui-text
|
|
15
|
+
- aui-badge
|
|
16
|
+
- aui-button
|
|
17
|
+
- aui-button-group
|
|
18
|
+
- aui-divider
|
|
11
19
|
kind: card
|
|
12
|
-
|
|
13
20
|
examples:
|
|
14
|
-
-
|
|
21
|
+
- description: Lab order card with categorized tests and routing actions.
|
|
22
|
+
html: |-
|
|
15
23
|
<aui-container kind="card" bordered max-width="lg">
|
|
16
24
|
<aui-header>
|
|
17
25
|
<span slot="leading">
|
|
@@ -67,13 +75,12 @@ examples:
|
|
|
67
75
|
</aui-inset>
|
|
68
76
|
</aui-content>
|
|
69
77
|
<aui-footer>
|
|
70
|
-
<aui-stack gap="
|
|
78
|
+
<aui-stack gap="4">
|
|
71
79
|
<aui-button primary width="full">Order Now — Route to Dr. Martinez</aui-button>
|
|
72
80
|
<aui-button-group>
|
|
73
|
-
<aui-button scrim grow="1">Add to Draft Order</aui-button>
|
|
74
|
-
<aui-button scrim grow="1">Build Draft for Doctor</aui-button>
|
|
81
|
+
<aui-button scrim grow="1" basis="0">Add to Draft Order</aui-button>
|
|
82
|
+
<aui-button scrim grow="1" basis="0">Build Draft for Doctor</aui-button>
|
|
75
83
|
</aui-button-group>
|
|
76
84
|
</aui-stack>
|
|
77
85
|
</aui-footer>
|
|
78
86
|
</aui-container>
|
|
79
|
-
description: Suggested lab panel card with condition badges and physician routing actions.
|
|
@@ -1,7 +1,163 @@
|
|
|
1
1
|
name: supply-chain
|
|
2
2
|
type: block
|
|
3
3
|
summary: Supply Chain Network — 12 nodes, 13 connections.
|
|
4
|
-
description:
|
|
5
|
-
Visual graph block rendered from the Supply Chain Network dataset using
|
|
6
|
-
|
|
7
|
-
|
|
4
|
+
description: |
|
|
5
|
+
Visual graph block rendered from the Supply Chain Network dataset using aui-graph components with port-selector noodle connections.
|
|
6
|
+
components:
|
|
7
|
+
- aui-container
|
|
8
|
+
- aui-text
|
|
9
|
+
- aui-graph-ui
|
|
10
|
+
- aui-graph-layer
|
|
11
|
+
- aui-graph-node
|
|
12
|
+
- aui-graph-noodle
|
|
13
|
+
- aui-graph-port
|
|
14
|
+
examples:
|
|
15
|
+
- description: Supply Chain Network — 12 nodes, 13 connections.
|
|
16
|
+
html: |-
|
|
17
|
+
<aui-graph-ui connectable style="width: 100%; height: 37.25rem; min-width: 71.125rem;">
|
|
18
|
+
<aui-graph-layer name="wires" type="svg">
|
|
19
|
+
<!-- Raw Material Supplier → Assembly Line -->
|
|
20
|
+
<aui-graph-noodle from="sc-raw:right" to="sc-assembly:left" color="accent" weight="2"></aui-graph-noodle>
|
|
21
|
+
<!-- Component Supplier A → Assembly Line -->
|
|
22
|
+
<aui-graph-noodle from="sc-comp-a:right" to="sc-assembly:left" color="accent" weight="2"></aui-graph-noodle>
|
|
23
|
+
<!-- Component Supplier B → Assembly Line -->
|
|
24
|
+
<aui-graph-noodle from="sc-comp-b:right" to="sc-assembly:left" color="accent" weight="2"></aui-graph-noodle>
|
|
25
|
+
<!-- Assembly Line → Quality Control -->
|
|
26
|
+
<aui-graph-noodle from="sc-assembly:right" to="sc-qc:left" color="accent" weight="2"></aui-graph-noodle>
|
|
27
|
+
<!-- Quality Control → Inventory Buffer -->
|
|
28
|
+
<aui-graph-noodle from="sc-qc:right" to="sc-inventory:left" color="accent" weight="2"></aui-graph-noodle>
|
|
29
|
+
<!-- Inventory Buffer → Distribution Hub East -->
|
|
30
|
+
<aui-graph-noodle from="sc-inventory:right" to="sc-hub-east:left" color="accent" weight="2"></aui-graph-noodle>
|
|
31
|
+
<!-- Inventory Buffer → Distribution Hub West -->
|
|
32
|
+
<aui-graph-noodle from="sc-inventory:right" to="sc-hub-west:left" color="accent" weight="2"></aui-graph-noodle>
|
|
33
|
+
<!-- Distribution Hub East → Retail Fulfillment -->
|
|
34
|
+
<aui-graph-noodle from="sc-hub-east:right" to="sc-retail:left" color="accent" weight="2"></aui-graph-noodle>
|
|
35
|
+
<!-- Distribution Hub West → Retail Fulfillment -->
|
|
36
|
+
<aui-graph-noodle from="sc-hub-west:right" to="sc-retail:left" color="accent" weight="2"></aui-graph-noodle>
|
|
37
|
+
<!-- Retail Fulfillment → Returns Processing -->
|
|
38
|
+
<aui-graph-noodle from="sc-retail:right" to="sc-returns:left" color="danger" weight="2"></aui-graph-noodle>
|
|
39
|
+
<!-- Returns Processing → Demand Forecast -->
|
|
40
|
+
<aui-graph-noodle from="sc-returns:right" to="sc-demand:left" color="accent" weight="2"></aui-graph-noodle>
|
|
41
|
+
<!-- Demand Forecast → Procurement Engine -->
|
|
42
|
+
<aui-graph-noodle from="sc-demand:left" to="sc-procurement:right" color="warning" weight="2"></aui-graph-noodle>
|
|
43
|
+
<!-- Procurement Engine → Assembly Line -->
|
|
44
|
+
<aui-graph-noodle from="sc-procurement:left" to="sc-assembly:left" color="warning" weight="2"></aui-graph-noodle>
|
|
45
|
+
</aui-graph-layer>
|
|
46
|
+
<aui-graph-layer name="content">
|
|
47
|
+
<!-- Raw Material Supplier -->
|
|
48
|
+
<aui-graph-node x="24" y="46" node-id="sc-raw">
|
|
49
|
+
<aui-container kind="card" bordered padding="3" accent>
|
|
50
|
+
<aui-text weight="medium">Raw Material Supplier</aui-text>
|
|
51
|
+
<aui-graph-port port-id="right" side="right" type="output"></aui-graph-port>
|
|
52
|
+
<aui-graph-port port-id="bottom" side="bottom" type="output"></aui-graph-port>
|
|
53
|
+
</aui-container>
|
|
54
|
+
</aui-graph-node>
|
|
55
|
+
<!-- Component Supplier A -->
|
|
56
|
+
<aui-graph-node x="24" y="186" node-id="sc-comp-a">
|
|
57
|
+
<aui-container kind="card" bordered padding="3" accent>
|
|
58
|
+
<aui-text weight="medium">Component Supplier A</aui-text>
|
|
59
|
+
<aui-graph-port port-id="right" side="right" type="output"></aui-graph-port>
|
|
60
|
+
<aui-graph-port port-id="top" side="top" type="input"></aui-graph-port>
|
|
61
|
+
<aui-graph-port port-id="bottom" side="bottom" type="output"></aui-graph-port>
|
|
62
|
+
</aui-container>
|
|
63
|
+
</aui-graph-node>
|
|
64
|
+
<!-- Component Supplier B -->
|
|
65
|
+
<aui-graph-node x="24" y="326" node-id="sc-comp-b">
|
|
66
|
+
<aui-container kind="card" bordered padding="3" accent>
|
|
67
|
+
<aui-text weight="medium">Component Supplier B</aui-text>
|
|
68
|
+
<aui-graph-port port-id="right" side="right" type="output"></aui-graph-port>
|
|
69
|
+
<aui-graph-port port-id="top" side="top" type="input"></aui-graph-port>
|
|
70
|
+
</aui-container>
|
|
71
|
+
</aui-graph-node>
|
|
72
|
+
<!-- Assembly Line -->
|
|
73
|
+
<aui-graph-node x="240" y="186" node-id="sc-assembly">
|
|
74
|
+
<aui-container kind="card" bordered padding="3" info>
|
|
75
|
+
<aui-text weight="medium">Assembly Line</aui-text>
|
|
76
|
+
<aui-graph-port port-id="left" side="left" type="input"></aui-graph-port>
|
|
77
|
+
<aui-graph-port port-id="right" side="right" type="output"></aui-graph-port>
|
|
78
|
+
<aui-graph-port port-id="top" side="top" type="input"></aui-graph-port>
|
|
79
|
+
<aui-graph-port port-id="bottom" side="bottom" type="output"></aui-graph-port>
|
|
80
|
+
</aui-container>
|
|
81
|
+
</aui-graph-node>
|
|
82
|
+
<!-- Quality Control -->
|
|
83
|
+
<aui-graph-node x="456" y="116" node-id="sc-qc">
|
|
84
|
+
<aui-container kind="card" bordered padding="3" warning>
|
|
85
|
+
<aui-text weight="medium">Quality Control</aui-text>
|
|
86
|
+
<aui-graph-port port-id="left" side="left" type="input"></aui-graph-port>
|
|
87
|
+
<aui-graph-port port-id="right" side="right" type="output"></aui-graph-port>
|
|
88
|
+
<aui-graph-port port-id="top" side="top" type="input"></aui-graph-port>
|
|
89
|
+
<aui-graph-port port-id="bottom" side="bottom" type="output"></aui-graph-port>
|
|
90
|
+
</aui-container>
|
|
91
|
+
</aui-graph-node>
|
|
92
|
+
<!-- Inventory Buffer -->
|
|
93
|
+
<aui-graph-node x="456" y="256" node-id="sc-inventory">
|
|
94
|
+
<aui-container kind="card" bordered padding="3" warning>
|
|
95
|
+
<aui-text weight="medium">Inventory Buffer</aui-text>
|
|
96
|
+
<aui-graph-port port-id="left" side="left" type="input"></aui-graph-port>
|
|
97
|
+
<aui-graph-port port-id="right" side="right" type="output"></aui-graph-port>
|
|
98
|
+
<aui-graph-port port-id="top" side="top" type="input"></aui-graph-port>
|
|
99
|
+
<aui-graph-port port-id="bottom" side="bottom" type="output"></aui-graph-port>
|
|
100
|
+
</aui-container>
|
|
101
|
+
</aui-graph-node>
|
|
102
|
+
<!-- Distribution Hub East -->
|
|
103
|
+
<aui-graph-node x="672" y="116" node-id="sc-hub-east">
|
|
104
|
+
<aui-container kind="card" bordered padding="3" success>
|
|
105
|
+
<aui-text weight="medium">Distribution Hub East</aui-text>
|
|
106
|
+
<aui-graph-port port-id="left" side="left" type="input"></aui-graph-port>
|
|
107
|
+
<aui-graph-port port-id="right" side="right" type="output"></aui-graph-port>
|
|
108
|
+
<aui-graph-port port-id="top" side="top" type="input"></aui-graph-port>
|
|
109
|
+
<aui-graph-port port-id="bottom" side="bottom" type="output"></aui-graph-port>
|
|
110
|
+
</aui-container>
|
|
111
|
+
</aui-graph-node>
|
|
112
|
+
<!-- Distribution Hub West -->
|
|
113
|
+
<aui-graph-node x="672" y="256" node-id="sc-hub-west">
|
|
114
|
+
<aui-container kind="card" bordered padding="3" success>
|
|
115
|
+
<aui-text weight="medium">Distribution Hub West</aui-text>
|
|
116
|
+
<aui-graph-port port-id="left" side="left" type="input"></aui-graph-port>
|
|
117
|
+
<aui-graph-port port-id="right" side="right" type="output"></aui-graph-port>
|
|
118
|
+
<aui-graph-port port-id="top" side="top" type="input"></aui-graph-port>
|
|
119
|
+
<aui-graph-port port-id="bottom" side="bottom" type="output"></aui-graph-port>
|
|
120
|
+
</aui-container>
|
|
121
|
+
</aui-graph-node>
|
|
122
|
+
<!-- Retail Fulfillment -->
|
|
123
|
+
<aui-graph-node x="888" y="46" node-id="sc-retail">
|
|
124
|
+
<aui-container kind="card" bordered padding="3" danger>
|
|
125
|
+
<aui-text weight="medium">Retail Fulfillment</aui-text>
|
|
126
|
+
<aui-graph-port port-id="left" side="left" type="input"></aui-graph-port>
|
|
127
|
+
<aui-graph-port port-id="right" side="right" type="output"></aui-graph-port>
|
|
128
|
+
<aui-graph-port port-id="top" side="top" type="input"></aui-graph-port>
|
|
129
|
+
<aui-graph-port port-id="bottom" side="bottom" type="output"></aui-graph-port>
|
|
130
|
+
</aui-container>
|
|
131
|
+
</aui-graph-node>
|
|
132
|
+
<!-- Returns Processing -->
|
|
133
|
+
<aui-graph-node x="888" y="186" node-id="sc-returns">
|
|
134
|
+
<aui-container kind="card" bordered padding="3" danger>
|
|
135
|
+
<aui-text weight="medium">Returns Processing</aui-text>
|
|
136
|
+
<aui-graph-port port-id="left" side="left" type="input"></aui-graph-port>
|
|
137
|
+
<aui-graph-port port-id="right" side="right" type="output"></aui-graph-port>
|
|
138
|
+
<aui-graph-port port-id="top" side="top" type="input"></aui-graph-port>
|
|
139
|
+
<aui-graph-port port-id="bottom" side="bottom" type="output"></aui-graph-port>
|
|
140
|
+
</aui-container>
|
|
141
|
+
</aui-graph-node>
|
|
142
|
+
<!-- Demand Forecast -->
|
|
143
|
+
<aui-graph-node x="888" y="326" node-id="sc-demand">
|
|
144
|
+
<aui-container kind="card" bordered padding="3" info>
|
|
145
|
+
<aui-text weight="medium">Demand Forecast</aui-text>
|
|
146
|
+
<aui-graph-port port-id="left" side="left" type="input"></aui-graph-port>
|
|
147
|
+
<aui-graph-port port-id="right" side="right" type="output"></aui-graph-port>
|
|
148
|
+
<aui-graph-port port-id="top" side="top" type="input"></aui-graph-port>
|
|
149
|
+
<aui-graph-port port-id="bottom" side="bottom" type="output"></aui-graph-port>
|
|
150
|
+
</aui-container>
|
|
151
|
+
</aui-graph-node>
|
|
152
|
+
<!-- Procurement Engine -->
|
|
153
|
+
<aui-graph-node x="240" y="396" node-id="sc-procurement">
|
|
154
|
+
<aui-container kind="card" bordered padding="3" info>
|
|
155
|
+
<aui-text weight="medium">Procurement Engine</aui-text>
|
|
156
|
+
<aui-graph-port port-id="left" side="left" type="input"></aui-graph-port>
|
|
157
|
+
<aui-graph-port port-id="right" side="right" type="output"></aui-graph-port>
|
|
158
|
+
<aui-graph-port port-id="top" side="top" type="input"></aui-graph-port>
|
|
159
|
+
<aui-graph-port port-id="bottom" side="bottom" type="output"></aui-graph-port>
|
|
160
|
+
</aui-container>
|
|
161
|
+
</aui-graph-node>
|
|
162
|
+
</aui-graph-layer>
|
|
163
|
+
</aui-graph-ui>
|
|
@@ -1,18 +1,27 @@
|
|
|
1
1
|
name: survey-card
|
|
2
2
|
type: block
|
|
3
3
|
summary: Survey question card with checkbox options and submit action.
|
|
4
|
-
description:
|
|
5
|
-
A card presenting a multiple-choice survey question. Checkbox options
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
4
|
+
description: |
|
|
5
|
+
A card presenting a multiple-choice survey question. Checkbox options are grouped in an aui-fieldset legend="Sources" (borderless) for semantic grouping. Footer uses aui-button-group for skip/continue actions. Useful for onboarding flows, feedback, or preference selection.
|
|
6
|
+
components:
|
|
7
|
+
- aui-container
|
|
8
|
+
- aui-header
|
|
9
|
+
- aui-content
|
|
10
|
+
- aui-footer
|
|
11
|
+
- aui-inset
|
|
12
|
+
- aui-stack
|
|
13
|
+
- aui-heading
|
|
14
|
+
- aui-text
|
|
15
|
+
- aui-field
|
|
16
|
+
- aui-fieldset
|
|
17
|
+
- aui-checkbox
|
|
18
|
+
- aui-button
|
|
19
|
+
- aui-button-group
|
|
11
20
|
kind: card
|
|
12
|
-
|
|
13
21
|
examples:
|
|
14
|
-
-
|
|
15
|
-
|
|
22
|
+
- description: Survey question card with checkbox options and submit action.
|
|
23
|
+
html: |-
|
|
24
|
+
<aui-container kind="card" bordered max-width="prose" min-width="22">
|
|
16
25
|
<aui-header>
|
|
17
26
|
<span slot="leading">
|
|
18
27
|
<aui-stack gap="1">
|
|
@@ -44,9 +53,8 @@ examples:
|
|
|
44
53
|
</aui-content>
|
|
45
54
|
<aui-footer>
|
|
46
55
|
<aui-button-group>
|
|
47
|
-
<aui-button
|
|
48
|
-
<aui-button
|
|
56
|
+
<aui-button primary grow="1" basis="0">Continue</aui-button>
|
|
57
|
+
<aui-button scrim grow="1" basis="0">Skip</aui-button>
|
|
49
58
|
</aui-button-group>
|
|
50
59
|
</aui-footer>
|
|
51
60
|
</aui-container>
|
|
52
|
-
description: Survey with checkbox options, header/content/footer structure, and skip/continue actions.
|