@imfusion/web-ui 0.11.1-dev.69.g3e238cc2 → 0.11.1-dev.71.g25428988

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
@@ -81,6 +81,12 @@
81
81
 
82
82
  ### Changed
83
83
 
84
+ - In dark mode, primary fills are lighter and primary text darker, so a primary heading and a primary button read as one
85
+ blue: `--imf-ui-color-primary-bg-luma-dark` defaults to 0.66 and `--imf-ui-color-primary-fg-luma-dark` to 0.72.
86
+ [Color system](docs/color-system.md) — Nikolaus Brunner <brunner@imfusion.com>
87
+ - `Button`'s `shortcut` key sits inline after the label and before an end icon, and the button grows to fit it, so a long key such as `Ctrl Enter` fits
88
+ beside a short label. `IconButton` keeps it in the top-right corner. [Button](src/components/button/button.mdx)
89
+ — Nikolaus Brunner <brunner@imfusion.com>
84
90
  - `Button`, `IconButton`, and `CopyButton` keep their hover look while the popup, menu, or drawer they open is shown
85
91
  (`data-popup-open` with `aria-expanded`). A tooltip does not trigger it. This includes a `Button` passed as `render` to a
86
92
  `Popover.Trigger`, `Menu.Trigger`, or `Drawer.Trigger`.
package/dist/index.js CHANGED
@@ -3,7 +3,7 @@ import { $A as t, Dt as n, F_ as r, Ma as i, Qj as a, Tb as o, Xo as s, Yt as c,
3
3
  import { t as g } from "./meta-V_KyLeGn.js";
4
4
  import { a as de, i as fe, n as pe, t as me } from "./toggle-group-CVQzM3lQ.js";
5
5
  import { a as _, i as he, n as ge, o as _e, r as v, t as ve } from "./utils-J6vbjIt1.js";
6
- import { i as ye, n as be, r as xe, t as Se } from "./icon-button-Crda0wHe.js";
6
+ import { i as ye, n as be, r as xe, t as Se } from "./icon-button-kVghav2z.js";
7
7
  import { a as Ce, o as we, r as Te, t as Ee } from "./code-72NzL5Cp.js";
8
8
  import { n as De, t as Oe } from "./toggle-group-ghJtINie.js";
9
9
  import { n as ke, t as Ae } from "./row-CImu8yXV.js";
@@ -1,7 +1,7 @@
1
1
  import { hl as e, pM as t, tk as n, vM as r, yC as i } from "../icons-CMetKl2x.js";
2
2
  import { t as a } from "../meta-V_KyLeGn.js";
3
3
  import { n as o, t as s } from "../toggle-group-CVQzM3lQ.js";
4
- import { n as c } from "../icon-button-Crda0wHe.js";
4
+ import { n as c } from "../icon-button-kVghav2z.js";
5
5
  import { n as l, t as u } from "../row-CImu8yXV.js";
6
6
  import { cva as d } from "class-variance-authority";
7
7
  import { jsx as f, jsxs as p } from "react/jsx-runtime";