@imfusion/web-ui 0.11.1-dev.56.gc2cf627a → 0.11.1-dev.57.g3cec18fa
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 +1 -0
- package/dist/components/rich-link/rich-link.d.ts +1 -1
- package/dist/index.js +1 -2
- package/dist/style.css +1 -1
- package/package.json +1 -1
- package/src/docgen/doc.gen.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -139,6 +139,7 @@
|
|
|
139
139
|
- Combobox and Autocomplete stories start at the same top-left corner, so clicking through them does not shift the
|
|
140
140
|
layout. A story resizes its frame with `parameters.frame`, which `withFrame` reads.
|
|
141
141
|
- The Autocomplete interaction test reads the popup's height after it reopens, so it passes on every run.
|
|
142
|
+
- `RichLink` sets every label in the strong weight, with or without a `description`. [RichLink](src/components/rich-link/rich-link.mdx) — Nikolaus Brunner <brunner@imfusion.com>
|
|
142
143
|
|
|
143
144
|
### Fixed
|
|
144
145
|
|
|
@@ -2,7 +2,7 @@ import { IconComponent } from '../icon';
|
|
|
2
2
|
type Props = React.ComponentProps<"a"> & {
|
|
3
3
|
/** Leading icon from `@imfusion/web-ui/icons`, shown on a tile in the primary color. */
|
|
4
4
|
glyph?: IconComponent;
|
|
5
|
-
/** Second line under the label.
|
|
5
|
+
/** Second line under the label. */
|
|
6
6
|
description?: React.ReactNode;
|
|
7
7
|
/** Link target scope. `"external"` (default) opens in a new tab with a diagonal `ArrowUpRight` icon; `"internal"` stays in the current tab with a horizontal `ArrowRight` icon. */
|
|
8
8
|
kind?: "external" | "internal";
|
package/dist/index.js
CHANGED
|
@@ -152,7 +152,6 @@ var Ct = {
|
|
|
152
152
|
description: "imf-ui-rich-link-module-description",
|
|
153
153
|
end: "imf-ui-rich-link-module-end",
|
|
154
154
|
label: "imf-ui-rich-link-module-label",
|
|
155
|
-
labelStrong: "imf-ui-rich-link-module-labelStrong",
|
|
156
155
|
root: "imf-ui-rich-link-module-root",
|
|
157
156
|
text: "imf-ui-rich-link-module-text",
|
|
158
157
|
tile: "imf-ui-rich-link-module-tile",
|
|
@@ -180,7 +179,7 @@ function Et({ glyph: e, description: t, kind: n = "external", endGlyph: r, child
|
|
|
180
179
|
/* @__PURE__ */ C("span", {
|
|
181
180
|
className: wt.text,
|
|
182
181
|
children: [/* @__PURE__ */ S("span", {
|
|
183
|
-
className:
|
|
182
|
+
className: wt.label,
|
|
184
183
|
children: i
|
|
185
184
|
}), t && /* @__PURE__ */ S("span", {
|
|
186
185
|
className: wt.description,
|