@imfusion/web-ui 0.5.1-dev.51.gad24cd6e → 0.5.1-dev.52.gcaa229a7

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.
Files changed (39) hide show
  1. package/README.md +1 -1
  2. package/dist/chunk-DA_OvQe2.js +11 -0
  3. package/dist/code-BRy_lg-h.js +135 -0
  4. package/dist/codegen/gen-icons.d.ts +24 -0
  5. package/dist/components/callout/callout.d.ts +1 -1
  6. package/dist/components/chip-link/chip-link.d.ts +1 -1
  7. package/dist/components/icon/icon.d.ts +16 -0
  8. package/dist/components/icon/icon.meta.d.ts +2 -0
  9. package/dist/components/icon/index.d.ts +4 -0
  10. package/dist/components/icon/types.d.ts +2 -0
  11. package/dist/components/input/input.d.ts +3 -1
  12. package/dist/components/typo/typo.d.ts +2 -2
  13. package/dist/docgen/component-sources.d.ts +7 -0
  14. package/dist/hooks/index.d.ts +1 -0
  15. package/dist/hooks/use-resize-observer.d.ts +2 -0
  16. package/dist/icons/catalog.gen.d.ts +8357 -0
  17. package/dist/icons/icon-config-provider.d.ts +8 -0
  18. package/dist/icons/icon-context.d.ts +4 -0
  19. package/dist/icons/icons.gen.d.ts +1672 -0
  20. package/dist/icons/index.d.ts +3 -0
  21. package/dist/icons-BhogvWBV.js +77 -0
  22. package/dist/icons.js +2 -0
  23. package/dist/index.d.ts +1 -0
  24. package/dist/index.js +5026 -5059
  25. package/dist/integrations/code-highlight.js +3 -2
  26. package/dist/integrations/image-display-options.js +56 -56
  27. package/dist/meta-BwCupYyq.js +64 -0
  28. package/dist/provider/web-ui-provider.d.ts +4 -1
  29. package/dist/style.css +1 -1
  30. package/dist/{tabs-CVp_SgBl.js → tabs-CYqtw1q9.js} +2 -1
  31. package/package.json +8 -2
  32. package/src/docgen/doc.gen.json +40 -3
  33. package/src/llms/icon-catalog.gen.json +11203 -0
  34. package/src/llms/llms.gen.txt +5 -0
  35. package/src/llms/skills/imf-web-ui-components/SKILL.md +55 -3
  36. package/src/llms/skills/imf-web-ui-conventions/topics/library-boundary.md +2 -0
  37. package/src/llms/tokens.gen.json +2 -2
  38. package/dist/code-B83kAmnS.js +0 -196
  39. package/dist/meta-B8C51eyL.js +0 -74
@@ -1,4 +1,5 @@
1
- import { a as e, i as t, n } from "./meta-B8C51eyL.js";
1
+ import { n as e, t } from "./chunk-DA_OvQe2.js";
2
+ import { n } from "./meta-BwCupYyq.js";
2
3
  import * as r from "react";
3
4
  import { Children as i, createElement as a } from "react";
4
5
  import { jsx as o, jsxs as s } from "react/jsx-runtime";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@imfusion/web-ui",
3
- "version": "0.5.1-dev.51.gad24cd6e",
3
+ "version": "0.5.1-dev.52.gcaa229a7",
4
4
  "description": "The official Web UI component library for ImFusion web apps",
5
5
  "author": "ImFusion GmbH",
6
6
  "license": "UNLICENSED",
@@ -34,6 +34,10 @@
34
34
  "types": "./dist/build/*/index.d.ts",
35
35
  "import": "./dist/build/*.js"
36
36
  },
37
+ "./icons": {
38
+ "types": "./dist/icons/index.d.ts",
39
+ "import": "./dist/icons.js"
40
+ },
37
41
  "./styles.css": "./dist/style.css",
38
42
  "./docgen.json": "./src/docgen/doc.gen.json",
39
43
  "./llms.txt": "./src/llms/llms.gen.txt",
@@ -44,6 +48,7 @@
44
48
  "src/llms/install-templates",
45
49
  "src/docgen/doc.gen.json",
46
50
  "src/llms/llms.gen.txt",
51
+ "src/llms/icon-catalog.gen.json",
47
52
  "src/llms/tokens.gen.json",
48
53
  "src/llms/skills",
49
54
  "bin"
@@ -68,6 +73,7 @@
68
73
  "verify:tests": "vitest run",
69
74
  "verify:knip": "knip",
70
75
  "verify:deps": "tsx scripts/check-pinned-dependencies.ts",
76
+ "verify:icons": "tsx scripts/verify/icons-public-api.ts",
71
77
  "verify:changelog": "tsx scripts/verify/changelog.ts",
72
78
  "verify:staged": "tsx scripts/verify/staged.ts",
73
79
  "verify:full": "tsx scripts/verify/full.ts && npm run verify:tests",
@@ -105,7 +111,7 @@
105
111
  "@base-ui/react": "1.6.0",
106
112
  "@clack/prompts": "1.7.0",
107
113
  "class-variance-authority": "0.7.1",
108
- "lucide-react": "1.16.0"
114
+ "iconoir-react": "7.12.1"
109
115
  },
110
116
  "devDependencies": {
111
117
  "@eslint/compat": "1.4.1",
@@ -177,7 +177,7 @@
177
177
  },
178
178
  {
179
179
  "name": "Callout.Icon",
180
- "description": "Callout.Icon — the leading status glyph. With no children it renders the\nvariant's default lucide icon; pass a custom icon as children to override.\n`aria-hidden` (the variant is conveyed by copy, not the glyph) and inherits\nthe status colour via `currentColor`.",
180
+ "description": "Callout.Icon — the leading status glyph. With no children it renders the\nvariant's default local icon; pass a custom icon as children to override.\n`aria-hidden` (the variant is conveyed by copy, not the glyph) and inherits\nthe status colour via `currentColor`.",
181
181
  "props": []
182
182
  },
183
183
  {
@@ -448,7 +448,7 @@
448
448
  "chip-link": {
449
449
  "root": {
450
450
  "name": "ChipLink",
451
- "description": "ChipLink — anchor styled as a Chip. Reuses Chip's shared variants so the\nvariant and appearance axes stay aligned, and auto-appends a directional icon\n(Lucide `ArrowUpRight` for external, `ArrowRight` for internal).",
451
+ "description": "ChipLink — anchor styled as a Chip. Reuses Chip's shared variants so the\nvariant and appearance axes stay aligned, and auto-appends a directional icon\n(local Web UI `ArrowUpRight` for external, `ArrowRight` for internal).",
452
452
  "props": [
453
453
  {
454
454
  "name": "appearance",
@@ -1507,6 +1507,36 @@
1507
1507
  }
1508
1508
  ]
1509
1509
  },
1510
+ "icon": {
1511
+ "root": {
1512
+ "name": "Icon",
1513
+ "description": "Icon — renders an icon component with a semantic Web UI foreground color.",
1514
+ "props": [
1515
+ {
1516
+ "name": "glyph",
1517
+ "required": true,
1518
+ "type": "IconComponent",
1519
+ "defaultValue": null,
1520
+ "description": "Icon component imported from `@imfusion/web-ui/icons`."
1521
+ },
1522
+ {
1523
+ "name": "size",
1524
+ "required": false,
1525
+ "type": "string | number",
1526
+ "defaultValue": null,
1527
+ "description": "Sets both SVG dimensions unless `width` or `height` is provided."
1528
+ },
1529
+ {
1530
+ "name": "variant",
1531
+ "required": false,
1532
+ "type": "| \"inherit\"\n| \"main\"\n| \"support\"\n| \"minor\"\n| \"brand\"\n| \"primary\"\n| \"positive\"\n| \"negative\"\n| \"warning\"\n| \"info\"\n| \"oncolor\"\n| \"accent-1\"\n| \"accent-2\"\n| \"accent-3\"\n| null",
1533
+ "defaultValue": "inherit",
1534
+ "description": ""
1535
+ }
1536
+ ]
1537
+ },
1538
+ "subComponents": []
1539
+ },
1510
1540
  "input": {
1511
1541
  "root": {
1512
1542
  "name": "Input",
@@ -1519,6 +1549,13 @@
1519
1549
  "defaultValue": null,
1520
1550
  "description": ""
1521
1551
  },
1552
+ {
1553
+ "name": "onClear",
1554
+ "required": false,
1555
+ "type": "() => void",
1556
+ "defaultValue": null,
1557
+ "description": "Called when the search input's clear button is pressed."
1558
+ },
1522
1559
  {
1523
1560
  "name": "onValueChange",
1524
1561
  "required": false,
@@ -4792,7 +4829,7 @@
4792
4829
  },
4793
4830
  {
4794
4831
  "name": "Typo.Link",
4795
- "description": "Typo.Link — inline anchor. Auto-appends a directional icon (Lucide `ArrowUpRight` for external, `ArrowRight` for internal), mirroring ChipLink's affordance for prose links.",
4832
+ "description": "Typo.Link — inline anchor. Auto-appends a local Web UI directional icon (`ArrowUpRight` for external, `ArrowRight` for internal), mirroring ChipLink's affordance for prose links.",
4796
4833
  "props": [
4797
4834
  {
4798
4835
  "name": "kind",