@imfusion/web-ui 0.11.1-dev.37.gdba3f9f4 → 0.11.1-dev.42.ge966e634
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/package.json
CHANGED
package/src/docgen/doc.gen.json
CHANGED
|
@@ -1776,7 +1776,7 @@
|
|
|
1776
1776
|
"card": {
|
|
1777
1777
|
"root": {
|
|
1778
1778
|
"name": "Card.Root",
|
|
1779
|
-
"description": "Card.Root — a surface container composed of slots: an optional `Card.Image`\n(bleeds edge-to-edge, no padding), then `Card.Header` / `Card.Content` /\n`Card.Footer`. `density` sets one scale that drives both each slot's padding\nand the gap between slots. `variant` picks the look — neutral tonal surfaces\n(`main`/`support`/`minor`) carry a hairline border; coloured intent fills\n(`primary`/`brand`)
|
|
1779
|
+
"description": "Card.Root — a surface container composed of slots: an optional `Card.Image`\n(bleeds edge-to-edge, no padding), then `Card.Header` / `Card.Content` /\n`Card.Footer`. `density` sets one scale that drives both each slot's padding\nand the gap between slots. `variant` picks the look — neutral tonal surfaces\n(`main`/`support`/`minor`) carry a hairline border; coloured intent fills\n(`primary`/`brand`) set the background only and are borderless. Put `oncolor`\ncontent inside them, e.g. `Typo variant=\"oncolor\"` and `Button context=\"oncolor\"`.\n`shadow` and `radius` layer on top. Also called a panel, tile, or paper.\n\nThe image is always the first entry in the stack, so `orientation` just\nswitches the stack between a column and a row without reordering slots.\n\n`shadow` defaults to `lg`; `shadow=\"none\"` gives the flat surface. It picks the elevation level only: how hard or\nspread the shadow reads is global, set by `--imf-ui-shadow-hardness` and `--imf-ui-shadow-spread`.",
|
|
1780
1780
|
"props": [
|
|
1781
1781
|
{
|
|
1782
1782
|
"name": "density",
|
|
@@ -8367,7 +8367,7 @@
|
|
|
8367
8367
|
"name": "sideOffset",
|
|
8368
8368
|
"required": false,
|
|
8369
8369
|
"type": "number | OffsetFunction",
|
|
8370
|
-
"defaultValue": "
|
|
8370
|
+
"defaultValue": "4",
|
|
8371
8371
|
"description": "Distance between the anchor and the popup in pixels.\nAlso accepts a function that returns the distance to read the dimensions of the anchor\nand positioner elements, along with its side and alignment.\n\nThe function takes a `data` object parameter with the following properties:\n- `data.anchor`: the dimensions of the anchor element with properties `width` and `height`.\n- `data.positioner`: the dimensions of the positioner element with properties `width` and `height`.\n- `data.side`: which side of the anchor element the positioner is aligned against.\n- `data.align`: how the positioner is aligned relative to the specified side.\n@example ```jsx\n<Positioner\n sideOffset={({ side, align, anchor, positioner }) => {\n return side === 'top' || side === 'bottom'\n ? anchor.height\n : anchor.width;\n }}\n/>\n```"
|
|
8372
8372
|
},
|
|
8373
8373
|
{
|