@imfusion/web-ui 0.11.1-dev.37.gdba3f9f4 → 0.11.1-dev.39.g98a8338c
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 +4 -0
- package/dist/components/card/card.d.ts +3 -2
- package/dist/style.css +1 -1
- package/package.json +1 -1
- package/src/docgen/doc.gen.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -99,6 +99,8 @@
|
|
|
99
99
|
|
|
100
100
|
- `Drawer.Title` wraps a long title instead of running past the panel edge.
|
|
101
101
|
[Drawer](src/components/drawer/drawer.stories.tsx#LongTitle) — Nikolaus Brunner <brunner@imfusion.com>
|
|
102
|
+
- `Card` describes its coloured fills correctly: they set the background, and their content takes `oncolor` variants. —
|
|
103
|
+
Nikolaus Brunner <brunner@imfusion.com>
|
|
102
104
|
- Typo inside `Callout.Description`, such as `Typo.UnorderedList` or `Typo.P`, matches the description's size and takes
|
|
103
105
|
the variant's colour. [Callout](src/components/callout/callout.stories.tsx#WithList) — Nikolaus Brunner <brunner@imfusion.com>
|
|
104
106
|
- A `Select` option with `Select.ItemDescription` is named by its text alone and reads the description as its accessible
|
|
@@ -113,6 +115,8 @@
|
|
|
113
115
|
- Components — Nikolaus Brunner <brunner@imfusion.com>
|
|
114
116
|
- A `Drawer.Close` or `Popover.Close` rendered as another component, such as a `Button`, keeps that component's styles.
|
|
115
117
|
- A `Popover.Trigger` rendered as another component keeps that component's styles, so `render={<Button />}` looks like a Button.
|
|
118
|
+
- `Button variant="primary"` hovers to a blue outline on any surface. Its hover fill was the `main` background, which showed as a
|
|
119
|
+
white box on a `support` card. [Button](src/components/button/button.stories.tsx#OnSupportCard) — Nikolaus Brunner <brunner@imfusion.com>
|
|
116
120
|
|
|
117
121
|
---
|
|
118
122
|
|
|
@@ -17,8 +17,9 @@ type RootProps = React.ComponentProps<"div"> & VariantProps<typeof root> & {
|
|
|
17
17
|
* `Card.Footer`. `density` sets one scale that drives both each slot's padding
|
|
18
18
|
* and the gap between slots. `variant` picks the look — neutral tonal surfaces
|
|
19
19
|
* (`main`/`support`/`minor`) carry a hairline border; coloured intent fills
|
|
20
|
-
* (`primary`/`brand`)
|
|
21
|
-
*
|
|
20
|
+
* (`primary`/`brand`) set the background only and are borderless. Put `oncolor`
|
|
21
|
+
* content inside them, e.g. `Typo variant="oncolor"` and `Button context="oncolor"`.
|
|
22
|
+
* `shadow` and `radius` layer on top. Also called a panel, tile, or paper.
|
|
22
23
|
*
|
|
23
24
|
* The image is always the first entry in the stack, so `orientation` just
|
|
24
25
|
* switches the stack between a column and a row without reordering slots.
|