@signal9/era-ui 12.0.4 → 12.1.1

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.
Files changed (75) hide show
  1. package/dist/docs/badge.md +1 -1
  2. package/dist/docs/button.md +1 -1
  3. package/dist/docs/chip.md +1 -1
  4. package/dist/docs/component-docs-core.js +2 -1
  5. package/dist/docs/package-name.d.ts +18 -0
  6. package/dist/docs/package-name.js +18 -0
  7. package/dist/docs/quickstart.md +1 -1
  8. package/dist/docs/separator.md +1 -1
  9. package/dist/docs/table.md +1 -1
  10. package/dist/era-ui.css +1 -1
  11. package/dist/generated-docs/accordion.md +1 -1
  12. package/dist/generated-docs/alert-dialog.md +1 -1
  13. package/dist/generated-docs/aspect-ratio.md +1 -1
  14. package/dist/generated-docs/avatar.md +1 -1
  15. package/dist/generated-docs/badge.md +2 -2
  16. package/dist/generated-docs/bar.md +1 -1
  17. package/dist/generated-docs/button-group.md +1 -1
  18. package/dist/generated-docs/button.md +2 -2
  19. package/dist/generated-docs/calendar.md +1 -1
  20. package/dist/generated-docs/card.md +1 -1
  21. package/dist/generated-docs/checkbox.md +1 -1
  22. package/dist/generated-docs/chip.md +2 -2
  23. package/dist/generated-docs/code-block.md +1 -1
  24. package/dist/generated-docs/collapsible.md +1 -1
  25. package/dist/generated-docs/combobox.md +1 -1
  26. package/dist/generated-docs/command.md +1 -1
  27. package/dist/generated-docs/context-menu.md +1 -1
  28. package/dist/generated-docs/copy-button.md +1 -1
  29. package/dist/generated-docs/cycle.md +1 -1
  30. package/dist/generated-docs/date-field.md +1 -1
  31. package/dist/generated-docs/date-picker.md +1 -1
  32. package/dist/generated-docs/date-range-field.md +1 -1
  33. package/dist/generated-docs/date-range-picker.md +1 -1
  34. package/dist/generated-docs/dialog.md +1 -1
  35. package/dist/generated-docs/dropdown-menu.md +1 -1
  36. package/dist/generated-docs/file-upload.md +1 -1
  37. package/dist/generated-docs/input.md +1 -1
  38. package/dist/generated-docs/kv.md +1 -1
  39. package/dist/generated-docs/label.md +1 -1
  40. package/dist/generated-docs/link-preview.md +1 -1
  41. package/dist/generated-docs/llms-full.txt +66 -66
  42. package/dist/generated-docs/logo.md +1 -1
  43. package/dist/generated-docs/manifest.json +61 -61
  44. package/dist/generated-docs/menu.md +1 -1
  45. package/dist/generated-docs/menubar.md +1 -1
  46. package/dist/generated-docs/meter.md +1 -1
  47. package/dist/generated-docs/mode.md +1 -1
  48. package/dist/generated-docs/navigation-menu.md +1 -1
  49. package/dist/generated-docs/pagination.md +1 -1
  50. package/dist/generated-docs/pane.md +1 -1
  51. package/dist/generated-docs/pin-input.md +1 -1
  52. package/dist/generated-docs/popover.md +1 -1
  53. package/dist/generated-docs/progress.md +1 -1
  54. package/dist/generated-docs/radio-group.md +1 -1
  55. package/dist/generated-docs/range-calendar.md +1 -1
  56. package/dist/generated-docs/rating-group.md +1 -1
  57. package/dist/generated-docs/scroll-area.md +1 -1
  58. package/dist/generated-docs/select.md +1 -1
  59. package/dist/generated-docs/separator.md +2 -2
  60. package/dist/generated-docs/sheet.md +1 -1
  61. package/dist/generated-docs/skeleton.md +1 -1
  62. package/dist/generated-docs/slider.md +1 -1
  63. package/dist/generated-docs/step.md +1 -1
  64. package/dist/generated-docs/switch.md +1 -1
  65. package/dist/generated-docs/table.md +2 -2
  66. package/dist/generated-docs/tabs.md +1 -1
  67. package/dist/generated-docs/time-field.md +1 -1
  68. package/dist/generated-docs/time-range-field.md +1 -1
  69. package/dist/generated-docs/toggle-group.md +1 -1
  70. package/dist/generated-docs/toggle.md +1 -1
  71. package/dist/generated-docs/toolbar.md +1 -1
  72. package/dist/generated-docs/tooltip.md +1 -1
  73. package/dist/generated-docs/video-player.md +1 -1
  74. package/dist/styles/themes.css +39 -39
  75. package/package.json +2 -2
@@ -5,7 +5,7 @@ A visual divider between content.
5
5
  ## Import
6
6
 
7
7
  ```ts
8
- import { Separator } from "$lib/ui/separator";
8
+ import { Separator } from "@signal9/era-ui/separator";
9
9
  ```
10
10
 
11
11
  ## Props
@@ -21,7 +21,7 @@ Inherits all props from `Separator.RootProps`.
21
21
 
22
22
  ```svelte
23
23
  <script>
24
- import { Separator } from '$lib/ui/separator';
24
+ import { Separator } from '@signal9/era-ui/separator';
25
25
  </script>
26
26
 
27
27
  <p>
@@ -5,7 +5,7 @@ A dialog anchored to a screen edge — a mobile drawer.
5
5
  ## Import
6
6
 
7
7
  ```ts
8
- import { Sheet } from "$lib/ui/sheet";
8
+ import { Sheet } from "@signal9/era-ui/sheet";
9
9
  ```
10
10
 
11
11
  Composed from sub-components — compose explicitly at the call site:
@@ -5,7 +5,7 @@ A placeholder shimmer for loading states.
5
5
  ## Import
6
6
 
7
7
  ```ts
8
- import { Skeleton } from "$lib/ui/skeleton";
8
+ import { Skeleton } from "@signal9/era-ui/skeleton";
9
9
  ```
10
10
 
11
11
  ## Props
@@ -5,7 +5,7 @@ Enables value selection from a continuous range.
5
5
  ## Import
6
6
 
7
7
  ```ts
8
- import { Slider } from "$lib/ui/slider";
8
+ import { Slider } from "@signal9/era-ui/slider";
9
9
  ```
10
10
 
11
11
  Composed from sub-components — compose explicitly at the call site:
@@ -5,7 +5,7 @@ Expandable inline step — tool calls, thinking, agent actions.
5
5
  ## Import
6
6
 
7
7
  ```ts
8
- import { Step } from "$lib/ui/step";
8
+ import { Step } from "@signal9/era-ui/step";
9
9
  ```
10
10
 
11
11
  Composed from sub-components — compose explicitly at the call site:
@@ -5,7 +5,7 @@ A toggle switch control.
5
5
  ## Import
6
6
 
7
7
  ```ts
8
- import { Switch } from "$lib/ui/switch";
8
+ import { Switch } from "@signal9/era-ui/switch";
9
9
  ```
10
10
 
11
11
  ## Props
@@ -5,7 +5,7 @@ A tabular data display with rows, headers, and cells.
5
5
  ## Import
6
6
 
7
7
  ```ts
8
- import { Table } from "$lib/ui/table";
8
+ import { Table } from "@signal9/era-ui/table";
9
9
  ```
10
10
 
11
11
  Composed from sub-components — compose explicitly at the call site:
@@ -80,7 +80,7 @@ Inherits all props from `HTMLTdAttributes`.
80
80
 
81
81
  ```svelte
82
82
  <script lang="ts">
83
- import { Table } from '$lib/ui/table';
83
+ import { Table } from '@signal9/era-ui/table';
84
84
 
85
85
  const rows = [
86
86
  { id: 1, name: 'Ada', role: 'Engineer' },
@@ -5,7 +5,7 @@ Organizes content into tabbed sections.
5
5
  ## Import
6
6
 
7
7
  ```ts
8
- import { Tabs } from "$lib/ui/tabs";
8
+ import { Tabs } from "@signal9/era-ui/tabs";
9
9
  ```
10
10
 
11
11
  Composed from sub-components — compose explicitly at the call site:
@@ -5,7 +5,7 @@ Segmented time input with keyboard navigation.
5
5
  ## Import
6
6
 
7
7
  ```ts
8
- import { TimeField } from "$lib/ui/time-field";
8
+ import { TimeField } from "@signal9/era-ui/time-field";
9
9
  ```
10
10
 
11
11
  Composed from sub-components — compose explicitly at the call site:
@@ -5,7 +5,7 @@ Segmented start/end time input.
5
5
  ## Import
6
6
 
7
7
  ```ts
8
- import { TimeRangeField } from "$lib/ui/time-range-field";
8
+ import { TimeRangeField } from "@signal9/era-ui/time-range-field";
9
9
  ```
10
10
 
11
11
  Composed from sub-components — compose explicitly at the call site:
@@ -5,7 +5,7 @@ A set of toggle buttons with single or multiple selection.
5
5
  ## Import
6
6
 
7
7
  ```ts
8
- import { ToggleGroup } from "$lib/ui/toggle-group";
8
+ import { ToggleGroup } from "@signal9/era-ui/toggle-group";
9
9
  ```
10
10
 
11
11
  Composed from sub-components — compose explicitly at the call site:
@@ -5,7 +5,7 @@ A two-state toggle button.
5
5
  ## Import
6
6
 
7
7
  ```ts
8
- import { Toggle } from "$lib/ui/toggle";
8
+ import { Toggle } from "@signal9/era-ui/toggle";
9
9
  ```
10
10
 
11
11
  ## Props
@@ -5,7 +5,7 @@ Headless toolbar primitives re-exported from bits-ui.
5
5
  ## Import
6
6
 
7
7
  ```ts
8
- import { Toolbar } from "$lib/ui/toolbar";
8
+ import { Toolbar } from "@signal9/era-ui/toolbar";
9
9
  ```
10
10
 
11
11
  Composed from sub-components — compose explicitly at the call site:
@@ -5,7 +5,7 @@ Supplementary info on hover or focus.
5
5
  ## Import
6
6
 
7
7
  ```ts
8
- import { Tooltip } from "$lib/ui/tooltip";
8
+ import { Tooltip } from "@signal9/era-ui/tooltip";
9
9
  ```
10
10
 
11
11
  Composed from sub-components — compose explicitly at the call site:
@@ -5,7 +5,7 @@ A vidstack-powered player with support for MP4, HLS, and live streams.
5
5
  ## Import
6
6
 
7
7
  ```ts
8
- import { VideoPlayer } from "$lib/ui/video-player";
8
+ import { VideoPlayer } from "@signal9/era-ui/video-player";
9
9
  ```
10
10
 
11
11
  ## Props
@@ -485,18 +485,18 @@
485
485
  * own #1d1f21 — that read too light beside the other dark themes. Everything
486
486
  * from step 2 up re-spaces evenly from the new floor to the comment anchor,
487
487
  * so lowering the page did not leave a cliff between it and the panels. */
488
- --color-1: oklch(0.168 0.004 84); /* graphite floor, amber-cast */
489
- --color-2: oklch(0.225 0.005 84);
490
- --color-3: oklch(0.29 0.007 84);
491
- --color-4: oklch(0.355 0.008 84);
492
- --color-5: oklch(0.435 0.008 84);
493
- --color-6: oklch(0.515 0.008 84);
494
- --color-7: oklch(0.596 0.007 84);
495
- --color-8: oklch(0.677 0.006 84); /* comment grey, warmed */
496
- --color-9: oklch(0.73 0.005 84);
497
- --color-10: oklch(0.78 0.005 84);
498
- --color-11: oklch(0.83 0.005 84); /* foreground, warmed */
499
- --color-12: oklch(0.9 0.005 84);
488
+ --color-1: oklch(0.168 0.002 84);
489
+ --color-2: oklch(0.225 0.002 84);
490
+ --color-3: oklch(0.29 0.003 84);
491
+ --color-4: oklch(0.355 0.003 84);
492
+ --color-5: oklch(0.435 0.003 84);
493
+ --color-6: oklch(0.515 0.003 84);
494
+ --color-7: oklch(0.6 0 none); /* Win98 ButtonShadow #808080 */
495
+ --color-8: oklch(0.677 0.003 84);
496
+ --color-9: oklch(0.73 0.002 84);
497
+ --color-10: oklch(0.768 0.002 84);
498
+ --color-11: oklch(0.808 0 none); /* Win98 ButtonFace #c0c0c0 — the foreground */
499
+ --color-12: oklch(0.904 0 none); /* Win98 ButtonLight #dfdfdf */
500
500
 
501
501
  /* Border sits a step LOWER than the usual 5. Tomorrow's own rules are
502
502
  * quiet — its border colour is the current-line grey — and at step 5 the
@@ -504,7 +504,7 @@
504
504
  * page, inside the 1.7–3.2 the other dark themes hold. */
505
505
  --color-border: var(--color-4);
506
506
  --color-surface: var(--color-2);
507
- --color-hover: oklch(0.255 0.006 84);
507
+ --color-hover: oklch(0.255 0.002 84);
508
508
  --color-fg: var(--color-11);
509
509
  /* Tomorrow's comment grey, which is what it uses for de-emphasised text. */
510
510
  --color-muted: var(--color-8);
@@ -515,14 +515,14 @@
515
515
  * pastel restraint of the Tomorrow accents it replaces, so it still takes
516
516
  * DARK text (the page colour) rather than white. */
517
517
  --color-primary: oklch(0.76 0.115 84); /* cool amber */
518
- --color-primary-fg: oklch(0.168 0.004 84);
518
+ --color-primary-fg: oklch(0.168 0.002 84);
519
519
  --color-primary-hover: color-mix(in oklch, var(--color-primary) 85%, oklch(0 0 none));
520
520
  --color-destructive: oklch(0.6308 0.1298 21.4); /* #cc6666 red */
521
- --color-destructive-fg: oklch(0.168 0.004 84);
521
+ --color-destructive-fg: oklch(0.168 0.002 84);
522
522
  --color-success: oklch(0.7733 0.1095 113.4); /* #b5bd68 green */
523
- --color-success-fg: oklch(0.168 0.004 84);
523
+ --color-success-fg: oklch(0.168 0.002 84);
524
524
  --color-warning: oklch(0.8462 0.1115 82.9); /* #f0c674 yellow */
525
- --color-warning-fg: oklch(0.168 0.004 84);
525
+ --color-warning-fg: oklch(0.168 0.002 84);
526
526
  }
527
527
 
528
528
  /* Signalnine — light (yahoo.co.jp, measured) */
@@ -578,16 +578,16 @@
578
578
  :root[data-theme='signalnine']:not(.dark) {
579
579
  color-scheme: light;
580
580
 
581
- --color-1: oklch(1 0 none); /* #ffffff page */
582
- --color-2: oklch(0.9439 0.0251 271.14); /* #e6ecfe card fill */
583
- --color-3: oklch(0.887 0.0368 265.13); /* #cedaf3 border */
584
- --color-4: oklch(0.844 0.0447 265.6); /* #bcccea */
585
- --color-5: oklch(0.745 0.0645 261.83); /* #96add6 the measured rule, darkened */
586
- --color-6: oklch(0.676 0.078 263);
587
- --color-7: oklch(0.593 0.0975 260.33); /* #5c7eb8 muted text, darkened */
588
- --color-8: oklch(0.545 0.126 262);
581
+ --color-1: oklch(1 0 none); /* #ffffff page — also Win98 Window */
582
+ --color-2: oklch(0.9439 0.013 271.14);
583
+ --color-3: oklch(0.887 0.019 265.13);
584
+ --color-4: oklch(0.808 0.02 265.6); /* Win98 ButtonFace #c0c0c0 lightness */
585
+ --color-5: oklch(0.745 0.036 261.83);
586
+ --color-6: oklch(0.676 0.045 263);
587
+ --color-7: oklch(0.593 0.06 260.33);
588
+ --color-8: oklch(0.545 0.08 262);
589
589
  --color-9: oklch(0.51 0 none); /* #666666 */
590
- --color-10: oklch(0.358 0.1534 266.07); /* #17318b link text, darkened */
590
+ --color-10: oklch(0.358 0.13 266.07);
591
591
  --color-11: oklch(0.16 0.008 266);
592
592
  --color-12: oklch(0 0 none); /* #000000 body text (hue `none` — see --color-bright) */
593
593
 
@@ -598,14 +598,14 @@
598
598
  * measured dominant rule #9eb4db.) */
599
599
  --color-border: var(--color-5);
600
600
  --color-surface: var(--color-2);
601
- --color-hover: oklch(0.97 0.014 268.5); /* #f1f5ff */
601
+ --color-hover: oklch(0.97 0.008 268.5); /* #f1f5ff */
602
602
  --color-fg: var(--color-11);
603
603
  --color-muted: var(--color-7);
604
604
  --color-link: var(--color-10);
605
605
  /* Cards read --era-surface-bg, which the surface contract defines as
606
606
  * --color-2 — so the card fill follows from the scale, no override. */
607
607
 
608
- --color-primary: oklch(0.566 0.222 265.8); /* #3766f6 the CTA blue, darkened */
608
+ --color-primary: oklch(0.52 0.205 264.1); /* #285bdc the CTA blue, leaned toward Win98 navy */
609
609
  --color-primary-fg: oklch(1 0 none);
610
610
  --color-primary-hover: color-mix(in oklch, var(--color-primary) 85%, oklch(0 0 none));
611
611
  --color-destructive: oklch(0.59 0.242 27.7); /* #eb0013 */
@@ -620,16 +620,16 @@
620
620
  [data-theme='signalnine'].light {
621
621
  color-scheme: light;
622
622
 
623
- --color-1: oklch(1 0 none); /* #ffffff page */
624
- --color-2: oklch(0.9439 0.0251 271.14); /* #e6ecfe card fill */
625
- --color-3: oklch(0.887 0.0368 265.13); /* #cedaf3 border */
626
- --color-4: oklch(0.844 0.0447 265.6); /* #bcccea */
627
- --color-5: oklch(0.745 0.0645 261.83); /* #96add6 the measured rule, darkened */
628
- --color-6: oklch(0.676 0.078 263);
629
- --color-7: oklch(0.593 0.0975 260.33); /* #5c7eb8 muted text, darkened */
630
- --color-8: oklch(0.545 0.126 262);
623
+ --color-1: oklch(1 0 none); /* #ffffff page — also Win98 Window */
624
+ --color-2: oklch(0.9439 0.013 271.14);
625
+ --color-3: oklch(0.887 0.019 265.13);
626
+ --color-4: oklch(0.808 0.02 265.6); /* Win98 ButtonFace #c0c0c0 lightness */
627
+ --color-5: oklch(0.745 0.036 261.83);
628
+ --color-6: oklch(0.676 0.045 263);
629
+ --color-7: oklch(0.593 0.06 260.33);
630
+ --color-8: oklch(0.545 0.08 262);
631
631
  --color-9: oklch(0.51 0 none); /* #666666 */
632
- --color-10: oklch(0.358 0.1534 266.07); /* #17318b link text, darkened */
632
+ --color-10: oklch(0.358 0.13 266.07);
633
633
  --color-11: oklch(0.16 0.008 266);
634
634
  --color-12: oklch(0 0 none); /* #000000 body text (hue `none` — see --color-bright) */
635
635
 
@@ -640,14 +640,14 @@
640
640
  * measured dominant rule #9eb4db.) */
641
641
  --color-border: var(--color-5);
642
642
  --color-surface: var(--color-2);
643
- --color-hover: oklch(0.97 0.014 268.5); /* #f1f5ff */
643
+ --color-hover: oklch(0.97 0.008 268.5); /* #f1f5ff */
644
644
  --color-fg: var(--color-11);
645
645
  --color-muted: var(--color-7);
646
646
  --color-link: var(--color-10);
647
647
  /* Cards read --era-surface-bg, which the surface contract defines as
648
648
  * --color-2 — so the card fill follows from the scale, no override. */
649
649
 
650
- --color-primary: oklch(0.566 0.222 265.8); /* #3766f6 the CTA blue, darkened */
650
+ --color-primary: oklch(0.52 0.205 264.1); /* #285bdc the CTA blue, leaned toward Win98 navy */
651
651
  --color-primary-fg: oklch(1 0 none);
652
652
  --color-primary-hover: color-mix(in oklch, var(--color-primary) 85%, oklch(0 0 none));
653
653
  --color-destructive: oklch(0.59 0.242 27.7); /* #eb0013 */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@signal9/era-ui",
3
- "version": "12.0.4",
3
+ "version": "12.1.1",
4
4
  "scripts": {
5
5
  "dev": "vite dev --host",
6
6
  "build": "vite build && npm run prepack",
@@ -144,7 +144,7 @@
144
144
  "@types/node": "^26.2.0",
145
145
  "@types/three": "^0.185.4",
146
146
  "@xyflow/svelte": "^1.6.2",
147
- "conventional-changelog-conventionalcommits": "^10.2.1",
147
+ "conventional-changelog-conventionalcommits": "^9.3.1",
148
148
  "dompurify": "^3.4.13",
149
149
  "eslint": "^10.8.1",
150
150
  "eslint-config-prettier": "^10.1.8",