@tangle-network/sandbox-ui 0.38.0 → 0.39.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.
package/dist/globals.css CHANGED
@@ -619,6 +619,10 @@
619
619
  .aspect-square {
620
620
  aspect-ratio: 1 / 1;
621
621
  }
622
+ .size-3 {
623
+ width: calc(var(--spacing) * 3);
624
+ height: calc(var(--spacing) * 3);
625
+ }
622
626
  .h-1 {
623
627
  height: calc(var(--spacing) * 1);
624
628
  }
@@ -706,6 +710,9 @@
706
710
  .h-\[500px\] {
707
711
  height: 500px;
708
712
  }
713
+ .h-\[560px\] {
714
+ height: 560px;
715
+ }
709
716
  .h-\[var\(--avatar-size\)\] {
710
717
  height: var(--avatar-size);
711
718
  }
@@ -982,6 +989,9 @@
982
989
  .w-\[680px\] {
983
990
  width: 680px;
984
991
  }
992
+ .w-\[760px\] {
993
+ width: 760px;
994
+ }
985
995
  .w-\[900px\] {
986
996
  width: 900px;
987
997
  }
@@ -1821,14 +1831,11 @@
1821
1831
  .border-t-transparent {
1822
1832
  border-top-color: transparent;
1823
1833
  }
1824
- .bg-\[\#8E59FF\] {
1825
- background-color: #8E59FF;
1826
- }
1827
- .bg-\[\#FEBC2E\] {
1828
- background-color: #FEBC2E;
1829
- }
1830
- .bg-\[\#FF5F57\] {
1831
- background-color: #FF5F57;
1834
+ .bg-\[color-mix\(in_oklch\,var\(--color-warning\,orange\)_18\%\,transparent\)\] {
1835
+ background-color: var(--color-warning,orange);
1836
+ @supports (color: color-mix(in lab, red, red)) {
1837
+ background-color: color-mix(in oklch,var(--color-warning,orange) 18%,transparent);
1838
+ }
1832
1839
  }
1833
1840
  .bg-\[color\:color-mix\(in_srgb\,var\(--bg-card\)_94\%\,transparent\)\] {
1834
1841
  background-color: var(--bg-card);
@@ -2331,9 +2338,6 @@
2331
2338
  .pr-2 {
2332
2339
  padding-right: calc(var(--spacing) * 2);
2333
2340
  }
2334
- .pr-4 {
2335
- padding-right: calc(var(--spacing) * 4);
2336
- }
2337
2341
  .pr-8 {
2338
2342
  padding-right: calc(var(--spacing) * 8);
2339
2343
  }
@@ -2397,9 +2401,6 @@
2397
2401
  .align-text-bottom {
2398
2402
  vertical-align: text-bottom;
2399
2403
  }
2400
- .align-top {
2401
- vertical-align: top;
2402
- }
2403
2404
  .font-mono {
2404
2405
  font-family: var(--font-mono);
2405
2406
  }
@@ -2669,9 +2670,6 @@
2669
2670
  .whitespace-nowrap {
2670
2671
  white-space: nowrap;
2671
2672
  }
2672
- .whitespace-pre {
2673
- white-space: pre;
2674
- }
2675
2673
  .whitespace-pre-wrap {
2676
2674
  white-space: pre-wrap;
2677
2675
  }
@@ -4305,9 +4303,9 @@
4305
4303
  --shadow-dropdown: 0 8px 30px rgba(0, 0, 0, 0.45);
4306
4304
  --shadow-glow: none;
4307
4305
  --shadow-accent: 0 1px 2px rgba(0, 0, 0, 0.3);
4308
- --shadow-status-running: 0 0 6px rgba(16, 185, 129, 0.5);
4309
- --shadow-status-creating: 0 0 6px rgba(99, 102, 241, 0.5);
4310
- --shadow-status-error: 0 0 6px rgba(255, 77, 109, 0.5);
4306
+ --shadow-status-running: none;
4307
+ --shadow-status-creating: none;
4308
+ --shadow-status-error: none;
4311
4309
  --radius-sm: 6px;
4312
4310
  --radius-md: 8px;
4313
4311
  --radius-lg: 10px;
@@ -4324,9 +4322,19 @@
4324
4322
  --font-size-base: 0.9375rem;
4325
4323
  --font-size-lg: 1rem;
4326
4324
  --font-size-xl: 1.25rem;
4325
+ --font-size-2xl: 1.5rem;
4326
+ --font-size-3xl: 1.875rem;
4327
+ --font-size-4xl: 2.25rem;
4328
+ --font-size-hero: clamp(2rem, 1.2rem + 3.2vw, 3rem);
4329
+ --font-size-display: clamp(2.5rem, 1.1rem + 5vw, 4rem);
4327
4330
  --line-height-tight: 1.3;
4328
4331
  --line-height-base: 1.6;
4329
4332
  --line-height-relaxed: 1.75;
4333
+ --line-height-display: 1.05;
4334
+ --line-height-heading: 1.15;
4335
+ --tracking-tight: -0.02em;
4336
+ --tracking-snug: -0.01em;
4337
+ --tracking-wide: 0.08em;
4330
4338
  --avatar-size: 2rem;
4331
4339
  --timeline-dot-size: 0.625rem;
4332
4340
  --indicator-dot-size: 0.25rem;
package/dist/styles.css CHANGED
@@ -619,6 +619,10 @@
619
619
  .aspect-square {
620
620
  aspect-ratio: 1 / 1;
621
621
  }
622
+ .size-3 {
623
+ width: calc(var(--spacing) * 3);
624
+ height: calc(var(--spacing) * 3);
625
+ }
622
626
  .h-1 {
623
627
  height: calc(var(--spacing) * 1);
624
628
  }
@@ -706,6 +710,9 @@
706
710
  .h-\[500px\] {
707
711
  height: 500px;
708
712
  }
713
+ .h-\[560px\] {
714
+ height: 560px;
715
+ }
709
716
  .h-\[var\(--avatar-size\)\] {
710
717
  height: var(--avatar-size);
711
718
  }
@@ -982,6 +989,9 @@
982
989
  .w-\[680px\] {
983
990
  width: 680px;
984
991
  }
992
+ .w-\[760px\] {
993
+ width: 760px;
994
+ }
985
995
  .w-\[900px\] {
986
996
  width: 900px;
987
997
  }
@@ -1821,14 +1831,11 @@
1821
1831
  .border-t-transparent {
1822
1832
  border-top-color: transparent;
1823
1833
  }
1824
- .bg-\[\#8E59FF\] {
1825
- background-color: #8E59FF;
1826
- }
1827
- .bg-\[\#FEBC2E\] {
1828
- background-color: #FEBC2E;
1829
- }
1830
- .bg-\[\#FF5F57\] {
1831
- background-color: #FF5F57;
1834
+ .bg-\[color-mix\(in_oklch\,var\(--color-warning\,orange\)_18\%\,transparent\)\] {
1835
+ background-color: var(--color-warning,orange);
1836
+ @supports (color: color-mix(in lab, red, red)) {
1837
+ background-color: color-mix(in oklch,var(--color-warning,orange) 18%,transparent);
1838
+ }
1832
1839
  }
1833
1840
  .bg-\[color\:color-mix\(in_srgb\,var\(--bg-card\)_94\%\,transparent\)\] {
1834
1841
  background-color: var(--bg-card);
@@ -2331,9 +2338,6 @@
2331
2338
  .pr-2 {
2332
2339
  padding-right: calc(var(--spacing) * 2);
2333
2340
  }
2334
- .pr-4 {
2335
- padding-right: calc(var(--spacing) * 4);
2336
- }
2337
2341
  .pr-8 {
2338
2342
  padding-right: calc(var(--spacing) * 8);
2339
2343
  }
@@ -2397,9 +2401,6 @@
2397
2401
  .align-text-bottom {
2398
2402
  vertical-align: text-bottom;
2399
2403
  }
2400
- .align-top {
2401
- vertical-align: top;
2402
- }
2403
2404
  .font-mono {
2404
2405
  font-family: var(--font-mono);
2405
2406
  }
@@ -2669,9 +2670,6 @@
2669
2670
  .whitespace-nowrap {
2670
2671
  white-space: nowrap;
2671
2672
  }
2672
- .whitespace-pre {
2673
- white-space: pre;
2674
- }
2675
2673
  .whitespace-pre-wrap {
2676
2674
  white-space: pre-wrap;
2677
2675
  }
@@ -4305,9 +4303,9 @@
4305
4303
  --shadow-dropdown: 0 8px 30px rgba(0, 0, 0, 0.45);
4306
4304
  --shadow-glow: none;
4307
4305
  --shadow-accent: 0 1px 2px rgba(0, 0, 0, 0.3);
4308
- --shadow-status-running: 0 0 6px rgba(16, 185, 129, 0.5);
4309
- --shadow-status-creating: 0 0 6px rgba(99, 102, 241, 0.5);
4310
- --shadow-status-error: 0 0 6px rgba(255, 77, 109, 0.5);
4306
+ --shadow-status-running: none;
4307
+ --shadow-status-creating: none;
4308
+ --shadow-status-error: none;
4311
4309
  --radius-sm: 6px;
4312
4310
  --radius-md: 8px;
4313
4311
  --radius-lg: 10px;
@@ -4324,9 +4322,19 @@
4324
4322
  --font-size-base: 0.9375rem;
4325
4323
  --font-size-lg: 1rem;
4326
4324
  --font-size-xl: 1.25rem;
4325
+ --font-size-2xl: 1.5rem;
4326
+ --font-size-3xl: 1.875rem;
4327
+ --font-size-4xl: 2.25rem;
4328
+ --font-size-hero: clamp(2rem, 1.2rem + 3.2vw, 3rem);
4329
+ --font-size-display: clamp(2.5rem, 1.1rem + 5vw, 4rem);
4327
4330
  --line-height-tight: 1.3;
4328
4331
  --line-height-base: 1.6;
4329
4332
  --line-height-relaxed: 1.75;
4333
+ --line-height-display: 1.05;
4334
+ --line-height-heading: 1.15;
4335
+ --tracking-tight: -0.02em;
4336
+ --tracking-snug: -0.01em;
4337
+ --tracking-wide: 0.08em;
4330
4338
  --avatar-size: 2rem;
4331
4339
  --timeline-dot-size: 0.625rem;
4332
4340
  --indicator-dot-size: 0.25rem;
package/dist/tokens.css CHANGED
@@ -222,9 +222,9 @@
222
222
  --shadow-dropdown: 0 8px 30px rgba(0, 0, 0, 0.45);
223
223
  --shadow-glow: none;
224
224
  --shadow-accent: 0 1px 2px rgba(0, 0, 0, 0.3);
225
- --shadow-status-running: 0 0 6px rgba(16, 185, 129, 0.5);
226
- --shadow-status-creating: 0 0 6px rgba(99, 102, 241, 0.5);
227
- --shadow-status-error: 0 0 6px rgba(255, 77, 109, 0.5);
225
+ --shadow-status-running: none;
226
+ --shadow-status-creating: none;
227
+ --shadow-status-error: none;
228
228
 
229
229
  /* Radii */
230
230
  --radius-sm: 6px;
@@ -247,10 +247,24 @@
247
247
  --font-size-sm: 0.75rem; /* 12px — captions, meta */
248
248
  --font-size-base: 0.9375rem; /* 15px — message body */
249
249
  --font-size-lg: 1rem; /* 16px — emphasized text */
250
- --font-size-xl: 1.25rem; /* 20px — section headers */
250
+ --font-size-xl: 1.25rem; /* 20px — section title (h2) */
251
+ /* Display tier — page titles, marketing section heads, and heroes.
252
+ Hero sizes are fluid (clamp) so they scale with the viewport without
253
+ per-breakpoint overrides; the dense-app sizes above stay fixed. */
254
+ --font-size-2xl: 1.5rem; /* 24px — large section title */
255
+ --font-size-3xl: 1.875rem; /* 30px — page title (h1) */
256
+ --font-size-4xl: 2.25rem; /* 36px — compact marketing section head */
257
+ --font-size-hero: clamp(2rem, 1.2rem + 3.2vw, 3rem); /* 32→48px — secondary hero */
258
+ --font-size-display: clamp(2.5rem, 1.1rem + 5vw, 4rem); /* 40→64px — primary hero */
251
259
  --line-height-tight: 1.3;
252
260
  --line-height-base: 1.6; /* tighter body rhythm (was 1.75) */
253
261
  --line-height-relaxed: 1.75;
262
+ --line-height-display: 1.05; /* heroes — near-solid set */
263
+ --line-height-heading: 1.15; /* page/section titles */
264
+ /* Letter-spacing — titles tighten, eyebrows/labels open up */
265
+ --tracking-tight: -0.02em; /* display + page titles */
266
+ --tracking-snug: -0.01em; /* section titles */
267
+ --tracking-wide: 0.08em; /* uppercase eyebrows / stat labels */
254
268
 
255
269
  /* Component spacing — override per-app for tighter/looser layouts */
256
270
  --avatar-size: 2rem; /* 32px — chat avatars */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tangle-network/sandbox-ui",
3
- "version": "0.38.0",
3
+ "version": "0.39.0",
4
4
  "description": "Unified UI component library for Tangle Sandbox — primitives, chat, dashboard, terminal, editor, and workspace components",
5
5
  "repository": {
6
6
  "type": "git",
@@ -114,8 +114,8 @@
114
114
  "test:bridge": "pnpm build && vitest run src/__tests__/re-export-identity.test.ts"
115
115
  },
116
116
  "peerDependencies": {
117
- "@tangle-network/brand": "^0.4.0",
118
- "@tangle-network/ui": "^1.0.1",
117
+ "@tangle-network/brand": "^0.5.0",
118
+ "@tangle-network/ui": "^4.0.0",
119
119
  "react": "^18 || ^19",
120
120
  "react-dom": "^18 || ^19",
121
121
  "@tangle-network/agent-interface": ">=0.10.0 <1.0.0"
@@ -162,8 +162,8 @@
162
162
  "@storybook/react-vite": "^8.6.18",
163
163
  "@tailwindcss/postcss": "^4.2.2",
164
164
  "@tailwindcss/vite": "^4.2.2",
165
- "@tangle-network/brand": "^0.4.0",
166
- "@tangle-network/ui": "^1.0.1",
165
+ "@tangle-network/brand": "^0.5.0",
166
+ "@tangle-network/ui": "^4.1.0",
167
167
  "@tanstack/react-query": "^5.91.0",
168
168
  "@testing-library/dom": "^10.4.1",
169
169
  "@testing-library/jest-dom": "^6.9.1",