@inbeat/ui 0.12.1 → 0.13.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/CHANGELOG.md CHANGED
@@ -1,5 +1,24 @@
1
1
  # Changelog
2
2
 
3
+ ## [0.13.0](https://github.com/Genoux/ib-toolkit/compare/ui-v0.12.2...ui-v0.13.0) (2026-11-12)
4
+
5
+
6
+ ### Features
7
+
8
+ * **ui:** add opt-in fieldtrip brand layer ([#68](https://github.com/Genoux/ib-toolkit/issues/68)) ([1e8f629](https://github.com/Genoux/ib-toolkit/commit/1e8f6296336e8e76c69787f374ba6b782c690abe))
9
+
10
+
11
+ ### Bug Fixes
12
+
13
+ * **standards:** keep markdown out of biome in new apps ([1e8f629](https://github.com/Genoux/ib-toolkit/commit/1e8f6296336e8e76c69787f374ba6b782c690abe))
14
+
15
+ ## [0.12.2](https://github.com/Genoux/ib-toolkit/compare/ui-v0.12.1...ui-v0.12.2) (2026-10-19)
16
+
17
+
18
+ ### Bug Fixes
19
+
20
+ * **ui:** plain dim dialog overlays, pretty-wrap descriptions ([#64](https://github.com/Genoux/ib-toolkit/issues/64)) ([c640ef7](https://github.com/Genoux/ib-toolkit/commit/c640ef78becfc03ec7b7e32da16c11b20758eab4))
21
+
3
22
  ## [0.12.1](https://github.com/Genoux/ib-toolkit/compare/ui-v0.12.0...ui-v0.12.1) (2026-10-15)
4
23
 
5
24
 
package/fieldtrip.css ADDED
@@ -0,0 +1,38 @@
1
+ /*
2
+ * Opt-in Fieldtrip brand layer. Import after theme.css in the app's globals.css:
3
+ * @import "@inbeat/ui/theme.css";
4
+ * @import "@inbeat/ui/fieldtrip.css";
5
+ * The licensed font files stay in the app (this package is public): load SwissNow and Diplomat
6
+ * with next/font/local and put the --font-swiss-now and --font-diplomat variables on <html>.
7
+ */
8
+ @theme inline {
9
+ --font-sans: var(--font-swiss-now);
10
+ --font-serif: var(--font-diplomat);
11
+ }
12
+
13
+ /* static: apps read these through var(--color-fieldtrip-<name>), which Tailwind cannot see, so unused ones would be dropped. */
14
+ /* Base/light pairs from the "Fieldtrip - Brand" Figma palette; ink has no light pair there, so it takes grey-3. */
15
+ @theme static {
16
+ --color-fieldtrip-ink: #191910;
17
+ --color-fieldtrip-ink-light: #e4e4df;
18
+ --color-fieldtrip-olive: #8e8003;
19
+ --color-fieldtrip-olive-light: #d2cc9a;
20
+ --color-fieldtrip-orange: #ea4112;
21
+ --color-fieldtrip-orange-light: #f6b3a0;
22
+ --color-fieldtrip-mauve: #b398ad;
23
+ --color-fieldtrip-mauve-light: #e1d6de;
24
+ --color-fieldtrip-brown: #ad7b53;
25
+ --color-fieldtrip-brown-light: #decaba;
26
+ --color-fieldtrip-green: #157428;
27
+ --color-fieldtrip-green-light: #a1c8a9;
28
+ --color-fieldtrip-spring: #46b832;
29
+ --color-fieldtrip-spring-light: #b5e3ad;
30
+ --color-fieldtrip-yellow: #f9d317;
31
+ --color-fieldtrip-yellow-light: #fdeda2;
32
+ --color-fieldtrip-sky: #46bdf0;
33
+ --color-fieldtrip-sky-light: #b5e5f9;
34
+ --color-fieldtrip-pink: #ff97ab;
35
+ --color-fieldtrip-pink-light: #ffd5dd;
36
+ --color-fieldtrip-powder: #bccfef;
37
+ --color-fieldtrip-powder-light: #e4ecf9;
38
+ }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@inbeat/ui",
3
- "version": "0.12.1",
3
+ "version": "0.13.0",
4
4
  "description": "inBeat design tokens and primitives (Radix + Tailwind v4), shipped as source",
5
5
  "type": "module",
6
6
  "sideEffects": [
@@ -8,11 +8,13 @@
8
8
  ],
9
9
  "files": [
10
10
  "CHANGELOG.md",
11
+ "fieldtrip.css",
11
12
  "src",
12
13
  "theme.css"
13
14
  ],
14
15
  "exports": {
15
16
  "./theme.css": "./theme.css",
17
+ "./fieldtrip.css": "./fieldtrip.css",
16
18
  "./components/*": "./src/components/*.tsx",
17
19
  "./hooks/*": "./src/hooks/*.ts",
18
20
  "./lib/*": "./src/lib/*.ts"
@@ -64,7 +66,7 @@
64
66
  "@base-ui/react": "^1.2.0",
65
67
  "@fontsource-variable/geist": "^5.3.0",
66
68
  "@fontsource-variable/geist-mono": "^5.3.0",
67
- "@inbeat/config": "^0.12.1",
69
+ "@inbeat/config": "^0.13.0",
68
70
  "@storybook/addon-a11y": "^10.6.0",
69
71
  "@storybook/addon-docs": "^10.6.0",
70
72
  "@storybook/addon-themes": "^10.6.0",
@@ -79,7 +79,7 @@ function AlertDialogContent({
79
79
  exit={{ opacity: 0 }}
80
80
  transition={{ duration: 0.15, ease: EASING_FUNCTION.dialog }}
81
81
  style={{ willChange: "opacity" }}
82
- className="fixed inset-0 z-50 bg-black/20 backdrop-blur-sm supports-backdrop-filter:backdrop-blur-sm"
82
+ className="fixed inset-0 z-50 bg-black/30"
83
83
  />
84
84
  </AlertDialogPrimitive.Overlay>
85
85
  )}
@@ -177,7 +177,7 @@ function AlertDialogDescription({
177
177
  return (
178
178
  <AlertDialogPrimitive.Description
179
179
  data-slot="alert-dialog-description"
180
- className={cn("text-muted-foreground *:[a]:hover:text-foreground text-sm text-balance md:text-pretty *:[a]:underline *:[a]:underline-offset-3", className)}
180
+ className={cn("text-muted-foreground *:[a]:hover:text-foreground text-sm text-pretty *:[a]:underline *:[a]:underline-offset-3", className)}
181
181
  {...props}
182
182
  />
183
183
  )
@@ -69,7 +69,7 @@ export function DestructiveActionDialog({
69
69
  <AlertDialogContent>
70
70
  <AlertDialogHeader>
71
71
  <AlertDialogTitle>{title}</AlertDialogTitle>
72
- <AlertDialogDescription className="text-muted-foreground text-sm text-balance">
72
+ <AlertDialogDescription>
73
73
  {description}
74
74
  </AlertDialogDescription>
75
75
  </AlertDialogHeader>
@@ -74,7 +74,7 @@ function DialogContent({
74
74
  exit={{ opacity: 0 }}
75
75
  transition={{ duration: 0.15, ease: EASING_FUNCTION.dialog }}
76
76
  style={{ willChange: "opacity" }}
77
- className="fixed inset-0 z-50 bg-black/20 backdrop-blur-sm supports-backdrop-filter:backdrop-blur-sm"
77
+ className="fixed inset-0 z-50 bg-black/30"
78
78
  />
79
79
  </DialogPrimitive.Overlay>
80
80
  )}