@aeolus-fleet/ui 0.0.0-stage → 0.36.0

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 (59) hide show
  1. package/LICENSE +201 -0
  2. package/README.md +10 -2
  3. package/dist/atoms/avatar.d.ts +16 -0
  4. package/dist/atoms/avatar.js +44 -0
  5. package/dist/atoms/avatar.js.map +1 -0
  6. package/dist/atoms/button.d.ts +22 -0
  7. package/dist/atoms/button.js +48 -0
  8. package/dist/atoms/button.js.map +1 -0
  9. package/dist/atoms/dialog-surface.d.ts +19 -0
  10. package/dist/atoms/dialog-surface.js +32 -0
  11. package/dist/atoms/dialog-surface.js.map +1 -0
  12. package/dist/atoms/dialog.d.ts +19 -0
  13. package/dist/atoms/dialog.js +37 -0
  14. package/dist/atoms/dialog.js.map +1 -0
  15. package/dist/atoms/dropdown-menu.d.ts +21 -0
  16. package/dist/atoms/dropdown-menu.js +42 -0
  17. package/dist/atoms/dropdown-menu.js.map +1 -0
  18. package/dist/atoms/kbd.d.ts +7 -0
  19. package/dist/atoms/kbd.js +11 -0
  20. package/dist/atoms/kbd.js.map +1 -0
  21. package/dist/atoms/sheet.d.ts +23 -0
  22. package/dist/atoms/sheet.js +52 -0
  23. package/dist/atoms/sheet.js.map +1 -0
  24. package/dist/atoms/tooltip.d.ts +10 -0
  25. package/dist/atoms/tooltip.js +24 -0
  26. package/dist/atoms/tooltip.js.map +1 -0
  27. package/dist/class-names.d.ts +3 -0
  28. package/dist/class-names.js +29 -0
  29. package/dist/class-names.js.map +1 -0
  30. package/dist/index.d.ts +23 -0
  31. package/dist/index.js +24 -0
  32. package/dist/index.js.map +1 -0
  33. package/dist/molecules/app-switcher.d.ts +20 -0
  34. package/dist/molecules/app-switcher.js +57 -0
  35. package/dist/molecules/app-switcher.js.map +1 -0
  36. package/dist/molecules/avatar-entry.d.ts +21 -0
  37. package/dist/molecules/avatar-entry.js +6 -0
  38. package/dist/molecules/avatar-entry.js.map +1 -0
  39. package/dist/molecules/avatar-menu.d.ts +43 -0
  40. package/dist/molecules/avatar-menu.js +111 -0
  41. package/dist/molecules/avatar-menu.js.map +1 -0
  42. package/dist/molecules/signed-in-as.d.ts +4 -0
  43. package/dist/molecules/signed-in-as.js +6 -0
  44. package/dist/molecules/signed-in-as.js.map +1 -0
  45. package/dist/organisms/app-header.d.ts +27 -0
  46. package/dist/organisms/app-header.js +18 -0
  47. package/dist/organisms/app-header.js.map +1 -0
  48. package/dist/organisms/command-palette.d.ts +44 -0
  49. package/dist/organisms/command-palette.js +77 -0
  50. package/dist/organisms/command-palette.js.map +1 -0
  51. package/dist/organisms/sign-in-background.d.ts +10 -0
  52. package/dist/organisms/sign-in-background.js +48 -0
  53. package/dist/organisms/sign-in-background.js.map +1 -0
  54. package/dist/organisms/sign-in-backgrounds.d.ts +40 -0
  55. package/dist/organisms/sign-in-backgrounds.js +135 -0
  56. package/dist/organisms/sign-in-backgrounds.js.map +1 -0
  57. package/dist/theme.css +168 -0
  58. package/dist/tokens.css +154 -0
  59. package/package.json +57 -4
@@ -0,0 +1,154 @@
1
+ /* Aeolus design tokens, exported from the Claude Design system page. Light on :root, dark on .dark. */
2
+ :root {
3
+ --background:oklch(0.99 0.002 247);
4
+ --card:oklch(1 0 0);
5
+ --popover:oklch(1 0 0);
6
+ --muted:oklch(0.967 0.005 247);
7
+ --secondary:oklch(0.955 0.007 247);
8
+ --accent:oklch(0.95 0.009 247);
9
+ --sidebar:oklch(0.976 0.004 247);
10
+ --highlight:oklch(0.95 0.035 250);
11
+ --overlay:oklch(0.2 0.02 257 / 0.42);
12
+ --foreground:oklch(0.22 0.02 257);
13
+ --muted-foreground:oklch(0.5 0.02 257);
14
+ --destructive-text:oklch(0.53 0.2 27);
15
+ --border:oklch(0.912 0.008 247);
16
+ --input:oklch(0.885 0.01 247);
17
+ --ring:oklch(0.56 0.12 257);
18
+ --primary:oklch(0.34 0.08 257);
19
+ --primary-hover:oklch(0.29 0.075 257);
20
+ --primary-foreground:oklch(0.985 0.003 247);
21
+ --destructive:oklch(0.53 0.2 27);
22
+ --destructive-foreground:oklch(0.99 0 0);
23
+ --tone-waiting-bg:oklch(0.965 0.045 85);
24
+ --tone-waiting-fg:oklch(0.47 0.1 62);
25
+ --tone-waiting-border:oklch(0.87 0.08 80);
26
+ --tone-active-bg:oklch(0.955 0.03 250);
27
+ --tone-active-fg:oklch(0.45 0.14 257);
28
+ --tone-active-border:oklch(0.86 0.06 252);
29
+ --tone-ok-bg:oklch(0.96 0.04 155);
30
+ --tone-ok-fg:oklch(0.44 0.1 155);
31
+ --tone-ok-border:oklch(0.86 0.07 155);
32
+ --tone-attention-bg:oklch(0.957 0.028 25);
33
+ --tone-attention-fg:oklch(0.5 0.19 27);
34
+ --tone-attention-border:oklch(0.86 0.07 25);
35
+ --tone-ended-bg:oklch(0.957 0.005 247);
36
+ --tone-ended-fg:oklch(0.47 0.015 257);
37
+ --tone-ended-border:oklch(0.87 0.01 247);
38
+ --card-foreground:var(--foreground);
39
+ --popover-foreground:var(--foreground);
40
+ --secondary-foreground:var(--foreground);
41
+ --accent-foreground:var(--foreground);
42
+ --sidebar-foreground:var(--foreground);
43
+ --font-sans:var(--font-geist-sans, "Geist"), ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
44
+ --font-mono:var(--font-geist-mono, "Geist Mono"), ui-monospace, "SF Mono", Menlo, Consolas, monospace;
45
+ --shadow-sm:0 1px 2px oklch(0.2 0.02 257 / 0.06);
46
+ --shadow-md:0 2px 6px oklch(0.2 0.02 257 / 0.08);
47
+ --shadow-lg:0 16px 40px oklch(0.2 0.02 257 / 0.16), 0 2px 8px oklch(0.2 0.02 257 / 0.08);
48
+ --radius:8px;
49
+ --radius-xs:4px;
50
+ --radius-sm:6px;
51
+ --radius-md:8px;
52
+ --radius-lg:10px;
53
+ --radius-xl:12px;
54
+ --radius-2xl:18px;
55
+ --radius-full:9999px;
56
+ --spacing:4px;
57
+ --text-micro:11px;
58
+ --text-micro--line-height:14px;
59
+ --text-caption:12px;
60
+ --text-caption--line-height:16px;
61
+ --text-meta:13px;
62
+ --text-meta--line-height:18px;
63
+ --text-body:14px;
64
+ --text-body--line-height:20px;
65
+ --text-section:15px;
66
+ --text-section--line-height:20px;
67
+ --text-body-touch:15px;
68
+ --text-body-touch--line-height:22px;
69
+ --text-input-touch:16px;
70
+ --text-input-touch--line-height:24px;
71
+ --text-heading:18px;
72
+ --text-heading--line-height:24px;
73
+ --text-heading-touch:20px;
74
+ --text-heading-touch--line-height:26px;
75
+ --text-title:22px;
76
+ --text-title--line-height:28px;
77
+ --text-title-touch:24px;
78
+ --text-title-touch--line-height:30px;
79
+ --text-metric:28px;
80
+ --text-metric--line-height:32px;
81
+ --text-id:12px;
82
+ --text-id--line-height:16px;
83
+ --text-code:13px;
84
+ --text-code--line-height:20px;
85
+ --size-control-xs:28px;
86
+ --size-control-sm:32px;
87
+ --size-control:36px;
88
+ --size-control-touch:44px;
89
+ --size-row-header:40px;
90
+ --size-row:48px;
91
+ --size-sidebar:256px;
92
+ --size-rail:64px;
93
+ --size-header:56px;
94
+ --size-tabbar:68px;
95
+ --size-dialog-sm:512px;
96
+ --size-dialog-md:560px;
97
+ --size-palette:600px;
98
+ --size-sheet:560px;
99
+ --size-toast:380px;
100
+ --size-icon-sm:14px;
101
+ --size-icon:16px;
102
+ --size-icon-lg:20px;
103
+ --size-icon-tab:22px;
104
+ --size-icon-xl:24px;
105
+ --duration-fast:150ms;
106
+ --duration-base:200ms;
107
+ --duration-slow:300ms;
108
+ --duration-highlight:600ms;
109
+ --duration-pulse:1800ms;
110
+ --ease-standard:cubic-bezier(0.2, 0, 0, 1);
111
+ --ease-exit:cubic-bezier(0.4, 0, 1, 1);
112
+ }
113
+
114
+ .dark {
115
+ color-scheme:dark;
116
+ --background:oklch(0.172 0.012 257);
117
+ --card:oklch(0.2 0.013 257);
118
+ --popover:oklch(0.215 0.013 257);
119
+ --muted:oklch(0.228 0.012 257);
120
+ --secondary:oklch(0.255 0.013 257);
121
+ --accent:oklch(0.26 0.014 257);
122
+ --sidebar:oklch(0.19 0.012 257);
123
+ --highlight:oklch(0.27 0.045 255);
124
+ --overlay:oklch(0.08 0.01 257 / 0.62);
125
+ --foreground:oklch(0.955 0.005 247);
126
+ --muted-foreground:oklch(0.72 0.016 257);
127
+ --destructive-text:oklch(0.7 0.16 25);
128
+ --border:oklch(0.29 0.014 257);
129
+ --input:oklch(0.34 0.015 257);
130
+ --ring:oklch(0.7 0.1 252);
131
+ --primary:oklch(0.86 0.055 250);
132
+ --primary-hover:oklch(0.92 0.035 250);
133
+ --primary-foreground:oklch(0.21 0.035 257);
134
+ --destructive:oklch(0.56 0.19 25);
135
+ --destructive-foreground:oklch(0.99 0 0);
136
+ --tone-waiting-bg:oklch(0.29 0.055 72);
137
+ --tone-waiting-fg:oklch(0.87 0.11 82);
138
+ --tone-waiting-border:oklch(0.41 0.075 72);
139
+ --tone-active-bg:oklch(0.29 0.06 257);
140
+ --tone-active-fg:oklch(0.85 0.08 252);
141
+ --tone-active-border:oklch(0.42 0.09 257);
142
+ --tone-ok-bg:oklch(0.29 0.05 155);
143
+ --tone-ok-fg:oklch(0.86 0.1 155);
144
+ --tone-ok-border:oklch(0.41 0.07 155);
145
+ --tone-attention-bg:oklch(0.3 0.07 25);
146
+ --tone-attention-fg:oklch(0.84 0.09 25);
147
+ --tone-attention-border:oklch(0.45 0.11 25);
148
+ --tone-ended-bg:oklch(0.255 0.01 257);
149
+ --tone-ended-fg:oklch(0.78 0.015 257);
150
+ --tone-ended-border:oklch(0.36 0.012 257);
151
+ --shadow-sm:0 1px 2px oklch(0 0 0 / 0.3);
152
+ --shadow-md:0 2px 6px oklch(0 0 0 / 0.35);
153
+ --shadow-lg:0 16px 40px oklch(0 0 0 / 0.55), 0 2px 8px oklch(0 0 0 / 0.3);
154
+ }
package/package.json CHANGED
@@ -1,6 +1,59 @@
1
1
  {
2
2
  "name": "@aeolus-fleet/ui",
3
- "version": "0.0.0-stage",
4
- "stub": true,
5
- "description": "Temporary package placeholder for staged publishing"
6
- }
3
+ "version": "0.36.0",
4
+ "description": "The UI parts every Aeolus web app shows: atoms, molecules and organisms, props only, and the design tokens.",
5
+ "keywords": [
6
+ "aeolus"
7
+ ],
8
+ "license": "Apache-2.0",
9
+ "type": "module",
10
+ "sideEffects": false,
11
+ "repository": {
12
+ "type": "git",
13
+ "url": "git+https://github.com/ThomasHendrickx/aeolus-fleet.git",
14
+ "directory": "packages/ui"
15
+ },
16
+ "engines": {
17
+ "node": ">=26"
18
+ },
19
+ "exports": {
20
+ ".": {
21
+ "types": "./dist/index.d.ts",
22
+ "default": "./dist/index.js"
23
+ },
24
+ "./tokens.css": "./dist/tokens.css",
25
+ "./theme.css": "./dist/theme.css"
26
+ },
27
+ "files": [
28
+ "dist"
29
+ ],
30
+ "scripts": {
31
+ "build": "tsc --project tsconfig.build.json && cp src/tokens.css src/theme.css dist/",
32
+ "typecheck": "tsc --project tsconfig.json",
33
+ "storybook": "storybook dev --port 6007",
34
+ "build-storybook": "storybook build --output-dir storybook-static",
35
+ "prepack": "cp ../../LICENSE LICENSE",
36
+ "postpack": "rm LICENSE"
37
+ },
38
+ "peerDependencies": {
39
+ "@aeolus-fleet/common": "0.36.0",
40
+ "@base-ui/react": "^1.8.0",
41
+ "class-variance-authority": "^0.7.1",
42
+ "clsx": "^2.1.1",
43
+ "lucide-react": "^1.51.0",
44
+ "react": "^19.3.0",
45
+ "react-dom": "^19.3.0",
46
+ "tailwind-merge": "^3.7.0"
47
+ },
48
+ "devDependencies": {
49
+ "@storybook/addon-vitest": "^10.6.1",
50
+ "@storybook/react-vite": "^10.6.1",
51
+ "@tailwindcss/vite": "^4.3.3",
52
+ "@types/react": "^19.3.0",
53
+ "@types/react-dom": "^19.3.0",
54
+ "storybook": "^10.6.1",
55
+ "tailwindcss": "^4.3.3",
56
+ "tw-animate-css": "^1.4.0",
57
+ "vite": "^8.3.1"
58
+ }
59
+ }