@imfusion/web-ui 0.10.1-dev.56.ge0de2dc9 → 0.10.1-dev.58.gfb9bd6a3

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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@imfusion/web-ui",
3
- "version": "0.10.1-dev.56.ge0de2dc9",
3
+ "version": "0.10.1-dev.58.gfb9bd6a3",
4
4
  "description": "The official Web UI component library for ImFusion web apps",
5
5
  "author": "ImFusion GmbH",
6
6
  "homepage": "https://imfusion.com",
@@ -6910,9 +6910,22 @@
6910
6910
  }
6911
6911
  ]
6912
6912
  },
6913
+ {
6914
+ "name": "Select.ItemDescription",
6915
+ "description": "Select.ItemDescription — a muted second line under an item's text, such as what a role allows. It stays out of the\ntrigger, which shows only `Select.ItemText`.",
6916
+ "props": [
6917
+ {
6918
+ "name": "ref",
6919
+ "required": false,
6920
+ "type": "Ref<HTMLDivElement>",
6921
+ "defaultValue": null,
6922
+ "description": "Allows getting a ref to the component instance.\nOnce the component unmounts, React will set `ref.current` to `null`\n(or call the ref with `null` if you passed a callback ref).\n@see {@link https://react.dev/learn/referencing-values-with-refs#refs-and-the-dom React Docs}"
6923
+ }
6924
+ ]
6925
+ },
6913
6926
  {
6914
6927
  "name": "Select.ItemIndicator",
6915
- "description": "Select.ItemIndicator — visual marker (e.g. checkmark) inside the selected item.",
6928
+ "description": "Select.ItemIndicator — marker inside the selected item. Without children it draws a check icon in the item's text colour.",
6916
6929
  "props": [
6917
6930
  {
6918
6931
  "name": "className",
@@ -7241,7 +7254,7 @@
7241
7254
  "name": "sideOffset",
7242
7255
  "required": false,
7243
7256
  "type": "number | OffsetFunction",
7244
- "defaultValue": "0",
7257
+ "defaultValue": "4",
7245
7258
  "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```"
7246
7259
  },
7247
7260
  {
@@ -493,7 +493,7 @@
493
493
  },
494
494
  {
495
495
  "name": "--imf-ui-font-letterspacing-brand",
496
- "value": "-0.02em"
496
+ "value": "clamp(-0.035rem, -0.0081rem - 0.0224vw, -0.0131rem)"
497
497
  },
498
498
  {
499
499
  "name": "--imf-ui-font-letterspacing-display",
@@ -501,7 +501,7 @@
501
501
  },
502
502
  {
503
503
  "name": "--imf-ui-font-letterspacing-hero",
504
- "value": "-0.04em"
504
+ "value": "clamp(-0.225rem, -0.0312rem - 0.1615vw, -0.0675rem)"
505
505
  },
506
506
  {
507
507
  "name": "--imf-ui-font-letterspacing-loose",