@actioneer/ads 1.0.4 → 1.0.5
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/DESIGN.md +75 -75
- package/components/ai-elements/agent-trace.js +14 -14
- package/components/ai-elements/chain-of-thought.js +3 -3
- package/components/ai-elements/chart.js +3 -3
- package/components/ai-elements/inline-citation.js +2 -2
- package/components/ai-elements/message.js +1 -1
- package/components/ai-elements/research-activity.js +4 -4
- package/components/answer-sources.js +3 -3
- package/components/answer.js +3 -3
- package/components/assistant-ui/action-bar.js +2 -2
- package/components/assistant-ui/attachment.js +5 -5
- package/components/assistant-ui/badge.js +1 -1
- package/components/assistant-ui/branch-picker.js +1 -1
- package/components/assistant-ui/composer-add-context.js +7 -7
- package/components/assistant-ui/composer-deep-research.js +3 -3
- package/components/assistant-ui/composer-harness.js +1 -1
- package/components/assistant-ui/composer-trigger-popover.js +8 -8
- package/components/assistant-ui/composer.js +45 -45
- package/components/assistant-ui/file.js +9 -9
- package/components/assistant-ui/image.js +1 -1
- package/components/assistant-ui/markdown-text.js +1 -1
- package/components/assistant-ui/message-timing.js +1 -1
- package/components/assistant-ui/reasoning.js +10 -10
- package/components/assistant-ui/thread.js +1 -1
- package/components/assistant-ui/tool-fallback.js +2 -2
- package/components/assistant-ui/tool-group.js +3 -3
- package/components/autocomplete.js +28 -27
- package/components/brand-loader.d.ts +1 -1
- package/components/brand-loader.js +9 -9
- package/components/chart.js +5 -5
- package/components/checkbox.js +16 -16
- package/components/chip.js +33 -33
- package/components/collapsible.js +14 -12
- package/components/command-palette.js +37 -37
- package/components/connector-card.js +1 -1
- package/components/date-range-picker.js +2 -2
- package/components/dropdown.js +1 -1
- package/components/field.js +1 -1
- package/components/file-dropzone.js +2 -2
- package/components/infinite-canvas.js +1 -1
- package/components/modal.js +6 -6
- package/components/pagination.js +23 -23
- package/components/radio.js +1 -1
- package/components/segmented.js +23 -23
- package/components/selection-action-bar.js +13 -13
- package/components/sidebar.js +5 -5
- package/components/stepper.d.ts +1 -1
- package/components/stepper.js +4 -4
- package/components/switch.js +7 -7
- package/components/tooltip.js +1 -1
- package/components/tree.js +20 -20
- package/components/ui/button.js +21 -21
- package/components/ui/tooltip.js +3 -3
- package/llms.txt +6 -6
- package/manifest.json +13 -13
- package/package.json +1 -1
- package/styles.css +49 -56
- package/theme.css +49 -56
package/theme.css
CHANGED
|
@@ -28,13 +28,13 @@
|
|
|
28
28
|
|
|
29
29
|
/* ---- Type scale ---- seven canonical steps: XS · S · M · L · XL · 2XL · 3XL.
|
|
30
30
|
Roles follow the agent workflow. Root stays 16px so spacing is unaffected. */
|
|
31
|
-
--text-xs: 0.625rem; /* 10px ·
|
|
31
|
+
--text-xs: 0.625rem; /* 10px · noninteractive micro metadata */
|
|
32
32
|
--text-xs--line-height: 0.875rem; /* 14px */
|
|
33
|
-
--text-s: 0.75rem; /* 12px · table headers and
|
|
33
|
+
--text-s: 0.75rem; /* 12px · compact controls, table headers and kickers */
|
|
34
34
|
--text-s--line-height: 1rem; /* 16px */
|
|
35
|
-
--text-m: 0.875rem; /* 14px ·
|
|
35
|
+
--text-m: 0.875rem; /* 14px · body, table cells, form labels and controls */
|
|
36
36
|
--text-m--line-height: 1.25rem; /* 20px */
|
|
37
|
-
--text-l: 1rem; /* 16px · tabs
|
|
37
|
+
--text-l: 1rem; /* 16px · tabs and section titles */
|
|
38
38
|
--text-l--line-height: 1.375rem; /* 22px */
|
|
39
39
|
--text-xl: 1.125rem; /* 18px · metric values and subtitles */
|
|
40
40
|
--text-xl--line-height: 1.5rem; /* 24px */
|
|
@@ -79,18 +79,18 @@
|
|
|
79
79
|
--color-t11: #016159;
|
|
80
80
|
--color-t12: #0f3c37;
|
|
81
81
|
|
|
82
|
-
--color-wg1: #
|
|
83
|
-
--color-wg2: #
|
|
84
|
-
--color-wg3: #
|
|
85
|
-
--color-wg4: #
|
|
86
|
-
--color-wg5: #
|
|
87
|
-
--color-wg6: #
|
|
88
|
-
--color-wg7: #
|
|
89
|
-
--color-wg8: #
|
|
90
|
-
--color-wg9: #
|
|
91
|
-
--color-wg10: #
|
|
92
|
-
--color-wg11: #
|
|
93
|
-
--color-wg12: #
|
|
82
|
+
--color-wg1: #f9f7f0;
|
|
83
|
+
--color-wg2: #f3f1e9;
|
|
84
|
+
--color-wg3: #efece3;
|
|
85
|
+
--color-wg4: #e8e5db;
|
|
86
|
+
--color-wg5: #dfdcd0;
|
|
87
|
+
--color-wg6: #d4d1c4;
|
|
88
|
+
--color-wg7: #c6c2b3;
|
|
89
|
+
--color-wg8: #aaa698;
|
|
90
|
+
--color-wg9: #79766a;
|
|
91
|
+
--color-wg10: #6b685e;
|
|
92
|
+
--color-wg11: #4d4b44;
|
|
93
|
+
--color-wg12: #21201d;
|
|
94
94
|
|
|
95
95
|
/* Deprecated Neutral Grey names resolve to the canonical Warm Grey ramp.
|
|
96
96
|
Keep these aliases so existing consumer utilities continue to render. */
|
|
@@ -165,16 +165,15 @@
|
|
|
165
165
|
--color-ink-950: var(--color-wg12);
|
|
166
166
|
|
|
167
167
|
/* ---- Semantic accent ramps ---- */
|
|
168
|
-
/*
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
--color-success-
|
|
172
|
-
--color-success-
|
|
173
|
-
--color-success-
|
|
174
|
-
--color-success-
|
|
175
|
-
--color-success-
|
|
176
|
-
--color-success-
|
|
177
|
-
--color-success-700: #516923;
|
|
168
|
+
/* Grass green keeps positive states distinct from primary-action teal.
|
|
169
|
+
Soft fills use 50/100; 700 carries accessible status text and solid fills. */
|
|
170
|
+
--color-success-50: #f2fbef;
|
|
171
|
+
--color-success-100: #e1f3d8;
|
|
172
|
+
--color-success-300: #b2dda0;
|
|
173
|
+
--color-success-400: #8acb70;
|
|
174
|
+
--color-success-500: #4d9f38;
|
|
175
|
+
--color-success-600: #3b852b;
|
|
176
|
+
--color-success-700: #2d6b22;
|
|
178
177
|
|
|
179
178
|
--color-warning-50: #fffaeb;
|
|
180
179
|
--color-warning-100: #fef0c7;
|
|
@@ -210,8 +209,8 @@
|
|
|
210
209
|
--color-amber-base: #f3a72e;
|
|
211
210
|
--color-amber-deep: #b57414;
|
|
212
211
|
|
|
213
|
-
/*
|
|
214
|
-
--color-brand-mark:
|
|
212
|
+
/* Brand mark and artifact canvas wash share the product teal. */
|
|
213
|
+
--color-brand-mark: var(--brand);
|
|
215
214
|
|
|
216
215
|
/* ---- Radii ---- four canonical steps: XS · S · M · L.
|
|
217
216
|
M (6px) is the default corner radius. */
|
|
@@ -372,7 +371,7 @@
|
|
|
372
371
|
--color-action-primary-soft: var(--action-primary-soft);
|
|
373
372
|
--color-field-focus: var(--field-focus);
|
|
374
373
|
|
|
375
|
-
/*
|
|
374
|
+
/* Shared brand roles for control states, primary accents, and marks. */
|
|
376
375
|
--color-brand: var(--brand);
|
|
377
376
|
--color-brand-foreground: var(--brand-foreground);
|
|
378
377
|
--color-brand-hover: var(--brand-hover);
|
|
@@ -393,9 +392,7 @@
|
|
|
393
392
|
--color-accent: var(--accent);
|
|
394
393
|
--color-accent-foreground: var(--accent-foreground);
|
|
395
394
|
|
|
396
|
-
/*
|
|
397
|
-
success-600 is reserved for non-text marks because its 3.73:1 contrast
|
|
398
|
-
on White does not clear body-text AA. */
|
|
395
|
+
/* Grass green 700 clears AA on White and both success soft fills. */
|
|
399
396
|
--color-success: var(--color-success-700);
|
|
400
397
|
--color-success-foreground: var(--color-white);
|
|
401
398
|
/* Amber-500 fill kept (it IS the caution signal); dark ink foreground
|
|
@@ -449,8 +446,7 @@
|
|
|
449
446
|
|
|
450
447
|
/* ---- Theme (light only) ---- */
|
|
451
448
|
:root {
|
|
452
|
-
/* Surfaces and
|
|
453
|
-
points into G. */
|
|
449
|
+
/* Surfaces and neutral text use WG; actions and controls share Teal. */
|
|
454
450
|
--background: var(--color-wg2); /* step 2 · canvas */
|
|
455
451
|
--foreground: var(--color-wg12); /* step 12 */
|
|
456
452
|
|
|
@@ -458,18 +454,18 @@
|
|
|
458
454
|
WG9 is the tertiary/de-emphasis step for nonessential metadata. It clears
|
|
459
455
|
normal-text AA on White; use Secondary when normal text on WG2 must clear
|
|
460
456
|
AA. */
|
|
461
|
-
--text-on-white-primary: var(--color-wg12); /* 16.
|
|
462
|
-
--text-on-white-secondary: var(--color-wg11); /* 8.
|
|
463
|
-
--text-on-white-tertiary: var(--color-wg9); /* 4.
|
|
464
|
-
--text-on-warm-grey-primary: var(--color-wg12); /* 14.
|
|
465
|
-
--text-on-warm-grey-secondary: var(--color-wg11); /* 7.
|
|
466
|
-
--text-on-warm-grey-tertiary: var(--color-wg9); /*
|
|
457
|
+
--text-on-white-primary: var(--color-wg12); /* 16.29:1 · AAA */
|
|
458
|
+
--text-on-white-secondary: var(--color-wg11); /* 8.73:1 · AAA */
|
|
459
|
+
--text-on-white-tertiary: var(--color-wg9); /* 4.55:1 · AA */
|
|
460
|
+
--text-on-warm-grey-primary: var(--color-wg12); /* 14.41:1 on WG2 · AAA */
|
|
461
|
+
--text-on-warm-grey-secondary: var(--color-wg11); /* 7.72:1 on WG2 · AAA */
|
|
462
|
+
--text-on-warm-grey-tertiary: var(--color-wg9); /* 4.03:1 on WG2 · large text AA */
|
|
467
463
|
|
|
468
464
|
/* Existing context-free utilities remain conservative compatibility aliases
|
|
469
465
|
across WG2–WG4 and White until their call sites adopt a surface role. */
|
|
470
466
|
--text-primary: var(--color-wg12); /* 12.93:1 AAA (WG4 min surf) */
|
|
471
|
-
--text-secondary: var(--color-wg11); /* 6.
|
|
472
|
-
--text-tertiary: color-mix(in srgb, var(--color-wg10) 80%, var(--color-wg11)); /* 4.
|
|
467
|
+
--text-secondary: var(--color-wg11); /* 6.93:1 AA (WG4 min surf) */
|
|
468
|
+
--text-tertiary: color-mix(in srgb, var(--color-wg10) 80%, var(--color-wg11)); /* 4.83:1 AA (WG4) */
|
|
473
469
|
|
|
474
470
|
--surface: var(--color-wg3); /* step 3 · tinted canvas */
|
|
475
471
|
--surface-foreground: var(--color-wg12);
|
|
@@ -481,25 +477,22 @@
|
|
|
481
477
|
--card: var(--color-white); /* pure white base */
|
|
482
478
|
--card-foreground: var(--color-wg12);
|
|
483
479
|
|
|
484
|
-
/*
|
|
485
|
-
5–10% of a screen). Selection controls keep using neutral `brand` below,
|
|
486
|
-
so tabs, switches, radios, and progress never inherit CTA color. */
|
|
480
|
+
/* One teal action palette shared by CTAs and component interaction states. */
|
|
487
481
|
--action-primary: var(--color-t9);
|
|
488
482
|
--action-primary-foreground: var(--color-white);
|
|
489
483
|
--action-primary-hover: var(--color-t10);
|
|
490
484
|
--action-primary-text: var(--color-t11);
|
|
491
485
|
--action-primary-soft: var(--color-t3);
|
|
492
486
|
|
|
493
|
-
/*
|
|
494
|
-
|
|
495
|
-
--brand: var(--
|
|
496
|
-
--brand-
|
|
497
|
-
--brand-
|
|
498
|
-
--brand-text: var(--color-wg12); /* action text / links */
|
|
487
|
+
/* Brand aliases follow the action roles so every consumer stays in sync. */
|
|
488
|
+
--brand: var(--action-primary);
|
|
489
|
+
--brand-foreground: var(--action-primary-foreground);
|
|
490
|
+
--brand-hover: var(--action-primary-hover);
|
|
491
|
+
--brand-text: var(--action-primary-text);
|
|
499
492
|
|
|
500
493
|
/* Interactive row hover/focus uses the WG2 highlight wash. */
|
|
501
494
|
--table-row-hover: var(--color-wg2);
|
|
502
|
-
--table-row-selected: var(--
|
|
495
|
+
--table-row-selected: var(--action-primary-soft);
|
|
503
496
|
|
|
504
497
|
/* Quiet component fill. WG3 is the first interactive-background
|
|
505
498
|
step, so this remains visible on both white cards and the step-2 canvas. */
|
|
@@ -532,7 +525,7 @@
|
|
|
532
525
|
|
|
533
526
|
/* Stroke width — every standard UI border is exactly 1px. */
|
|
534
527
|
--stroke-width: 1px;
|
|
535
|
-
--ring:
|
|
528
|
+
--ring: var(--brand); /* visible teal focus */
|
|
536
529
|
--overlay: color-mix(in srgb, var(--color-wg12) 50%, transparent); /* WG12 @ 50% */
|
|
537
530
|
|
|
538
531
|
/* Functional / domain tokens — named for their render role, pointing into
|
|
@@ -545,7 +538,7 @@
|
|
|
545
538
|
--chart-context: var(--color-wg6); /* de-emphasised context series */
|
|
546
539
|
--chart-active-bar-opacity: 0.68; /* hover lightens a bar while preserving its series hue */
|
|
547
540
|
--canvas-edge: var(--border-secondary);/* infinite-canvas edges / connectors */
|
|
548
|
-
--texture-ink: var(--
|
|
541
|
+
--texture-ink: var(--brand); /* brand-texture / pixel-blast marks */
|
|
549
542
|
--table-shell: var(--color-white); /* simplified single-surface table */
|
|
550
543
|
--table-stroke: var(--color-wg3); /* table outline + row separators */
|
|
551
544
|
--table-header-foreground: var(--text-tertiary); /* 12px tertiary table heading text */
|
|
@@ -564,8 +557,8 @@
|
|
|
564
557
|
--sidebar-foreground: var(--foreground);
|
|
565
558
|
--sidebar-primary: var(--brand);
|
|
566
559
|
--sidebar-primary-foreground: var(--brand-foreground);
|
|
567
|
-
--sidebar-accent: var(--
|
|
568
|
-
--sidebar-accent-foreground: var(--
|
|
560
|
+
--sidebar-accent: var(--action-primary-soft);
|
|
561
|
+
--sidebar-accent-foreground: var(--brand-text);
|
|
569
562
|
--sidebar-border: var(--border);
|
|
570
563
|
--sidebar-ring: var(--ring);
|
|
571
564
|
--popover: var(--elevated);
|