@imfusion/web-ui 0.6.1-dev.9.g317bd6f2 → 0.6.2-dev.1.gf73fc5d3
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/LICENSE.txt +30 -0
- package/README.md +99 -173
- package/THIRD_PARTY_NOTICES.md +34 -0
- package/bin/install.js +28 -10
- package/dist/code-BFMQnmu9.js +147 -0
- package/dist/codegen/gen-code-highlight-theme.d.ts +1 -0
- package/dist/components/code/code.d.ts +5 -4
- package/dist/components/stack/stack.d.ts +1 -1
- package/dist/components/toast/index.d.ts +2 -0
- package/dist/components/toast/toast.d.ts +200 -0
- package/dist/components/toast/toast.meta.d.ts +2 -0
- package/dist/components/typo/typo.d.ts +23 -22
- package/dist/icons/icon-config.d.ts +12 -0
- package/dist/{icons-wBmF0U2x.js → icons-Cy1HAosO.js} +1 -1
- package/dist/icons.js +1 -1
- package/dist/index.d.ts +1 -0
- package/dist/index.js +1278 -1069
- package/dist/integrations/code-highlight/highlighter.d.ts +24 -0
- package/dist/integrations/code-highlight.js +80 -47
- package/dist/integrations/image-display-options.js +2 -2
- package/dist/provider/web-ui-provider.d.ts +3 -3
- package/dist/style.css +1 -1
- package/dist/{tabs-CMKvMF4E.js → tabs-DIe1Utiy.js} +2 -0
- package/docs/assets/imfusion-banner.svg +16 -0
- package/package.json +10 -8
- package/src/docgen/doc.gen.json +515 -1
- package/src/llms/install-templates/AGENTS.md +15 -18
- package/src/llms/llms.gen.txt +39 -33
- package/src/llms/skills/imf-web-ui/SKILL.md +30 -39
- package/src/llms/skills/imf-web-ui-audit/SKILL.md +50 -102
- package/src/llms/skills/imf-web-ui-components/SKILL.md +47 -104
- package/src/llms/skills/imf-web-ui-conventions/SKILL.md +44 -52
- package/src/llms/skills/imf-web-ui-conventions/templates/AUDIT_CHECKLIST.md +1 -0
- package/src/llms/skills/imf-web-ui-conventions/topics/agent-tooling.md +40 -62
- package/src/llms/skills/imf-web-ui-conventions/topics/assets.md +11 -12
- package/src/llms/skills/imf-web-ui-conventions/topics/authentication.md +31 -46
- package/src/llms/skills/imf-web-ui-conventions/topics/class-names.md +18 -23
- package/src/llms/skills/imf-web-ui-conventions/topics/components.md +20 -69
- package/src/llms/skills/imf-web-ui-conventions/topics/data.md +50 -146
- package/src/llms/skills/imf-web-ui-conventions/topics/docs-structure.md +17 -23
- package/src/llms/skills/imf-web-ui-conventions/topics/git.md +15 -20
- package/src/llms/skills/imf-web-ui-conventions/topics/library-boundary.md +28 -19
- package/src/llms/skills/imf-web-ui-conventions/topics/library-setup.md +20 -16
- package/src/llms/skills/imf-web-ui-conventions/topics/npm-project.md +28 -42
- package/src/llms/skills/imf-web-ui-conventions/topics/project-structure.md +28 -30
- package/src/llms/skills/imf-web-ui-conventions/topics/react.md +28 -74
- package/src/llms/skills/imf-web-ui-conventions/topics/styling.md +65 -62
- package/src/llms/skills/imf-web-ui-conventions/topics/testing.md +12 -14
- package/src/llms/skills/imf-web-ui-conventions/topics/tokens.md +9 -4
- package/src/llms/skills/imf-web-ui-conventions/topics/tooling.md +40 -68
- package/src/llms/skills/imf-web-ui-conventions/topics/typescript.md +26 -50
- package/src/llms/skills/imf-web-ui-conventions/topics/validation.md +19 -25
- package/src/llms/skills/imf-web-ui-setup/SKILL.md +45 -64
- package/src/llms/skills/imf-web-ui-update/SKILL.md +48 -114
- package/src/llms/skills/imf-web-ui-ux/SKILL.md +64 -92
- package/src/llms/skills/imf-web-ui-ux/references/forms.md +16 -36
- package/src/llms/skills/imf-web-ui-ux/references/usability-heuristics.md +14 -27
- package/src/llms/skills/imf-web-ui-ux/references/visual-design.md +22 -38
- package/src/llms/tokens.gen.json +5 -5
- package/bin/install.test.ts +0 -329
- package/dist/code-Blo48PGr.js +0 -136
- package/dist/icons/icon-config-provider.d.ts +0 -8
- package/dist/icons/icon-context.d.ts +0 -4
|
@@ -237,6 +237,7 @@ var L = {
|
|
|
237
237
|
alignEnd: "imf-ui-stack-module-alignEnd",
|
|
238
238
|
alignStart: "imf-ui-stack-module-alignStart",
|
|
239
239
|
alignStretch: "imf-ui-stack-module-alignStretch",
|
|
240
|
+
gap0: "imf-ui-stack-module-gap0",
|
|
240
241
|
gap1: "imf-ui-stack-module-gap1",
|
|
241
242
|
gap10: "imf-ui-stack-module-gap10",
|
|
242
243
|
gap2: "imf-ui-stack-module-gap2",
|
|
@@ -256,6 +257,7 @@ var L = {
|
|
|
256
257
|
root: "imf-ui-stack-module-root"
|
|
257
258
|
}, R = t(L.root, { variants: {
|
|
258
259
|
gap: {
|
|
260
|
+
0: L.gap0,
|
|
259
261
|
1: L.gap1,
|
|
260
262
|
2: L.gap2,
|
|
261
263
|
3: L.gap3,
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 240" role="img" aria-labelledby="title">
|
|
2
|
+
<title id="title">ImFusion</title>
|
|
3
|
+
<rect width="1200" height="240" fill="#F9FDFE" />
|
|
4
|
+
<svg x="273.745" y="75" width="652.51" height="90" viewBox="50 50 652.51 90" fill="#245EFF" aria-hidden="true">
|
|
5
|
+
<path d="M642.11,74.66h15.13v9.25h1.22c3.42-6.78,9.64-10.48,20.5-10.48,10.13,0,23.55,5.55,23.55,22.81v42.53h-15.86v-41.3c0-8.75-5.25-11.96-12.2-11.96-10,0-16.47,6.41-16.47,19.11v34.15h-15.86v-64.11Z" />
|
|
6
|
+
<path d="M585.58,106.71c0,13.32,6.34,20.96,17.45,20.96s17.45-7.64,17.45-20.96-6.34-20.96-17.45-20.96-17.45,7.64-17.45,20.96ZM569.47,106.71c0-21.45,14.4-33.29,33.55-33.29s33.55,11.84,33.55,33.29-14.4,33.29-33.55,33.29-33.55-11.84-33.55-33.29Z" />
|
|
7
|
+
<path d="M548.09,74.66h15.86v64.11h-15.86v-64.11ZM548.09,50.62h15.86v16.02h-15.86v-16.02Z" />
|
|
8
|
+
<path d="M486.09,93.4c0-10.97,9.88-19.97,27.7-19.97s27.45,8.38,28.79,19.72v1.85h-15.01c-.24-7.27-5.25-9.98-13.66-9.98s-12.44,3.33-12.44,7.52c0,3.7,2.93,5.42,7.2,6.16l12.93,2.34c11.22,2.1,21.59,6.16,21.59,18.12,0,11.34-9.27,20.84-28.92,20.84s-29.77-10.11-30.75-21.45v-1.85h15.37c.37,7.15,6.34,11.47,15.62,11.47,8.17,0,13.3-2.84,13.3-7.77,0-4.19-3.9-5.67-9.88-6.78l-12.93-2.34c-9.76-1.73-18.91-5.67-18.91-17.88Z" />
|
|
9
|
+
<path d="M418.91,74.66h15.86v41.3c0,8.75,5.25,11.96,12.2,11.96,10,0,16.47-6.41,16.47-19.11v-34.15h15.86v64.11h-15.13v-9.25h-1.22c-3.42,6.78-9.76,10.48-20.5,10.48-10.13,0-23.55-5.55-23.55-22.81v-42.53Z" />
|
|
10
|
+
<polygon points="360.86 50 418.91 50 418.91 62.82 377.69 62.82 377.69 87.97 411.44 87.98 411.44 100.8 377.69 100.79 377.69 138.77 360.86 138.77 360.86 50" />
|
|
11
|
+
<path d="M254.56,74.66h14.88v7.4h1.22c3.29-4.93,8.91-8.63,18.67-8.63s14.88,4.07,18.91,10.11h1.22c3.29-4.81,9.15-10.11,21.23-10.11,12.69,0,22.69,7.89,22.69,22.07v43.27h-15.86v-42.04c0-7.4-3.9-11.22-11.35-11.22-8.54,0-14.27,5.18-14.27,15.16v38.1h-15.86v-42.04c0-7.4-3.9-11.22-11.35-11.22-8.54,0-14.27,5.18-14.27,15.16v38.1h-15.86v-64.11Z" />
|
|
12
|
+
<rect x="230" y="50" width="17.08" height="88.77" />
|
|
13
|
+
<polygon points="208 139 50 139 50 128.93 167.06 113.32 208 82.6 208 139" />
|
|
14
|
+
<polygon points="208 60.06 90.94 75.68 50 106.4 50 50 208 50 208 60.06" />
|
|
15
|
+
</svg>
|
|
16
|
+
</svg>
|
package/package.json
CHANGED
|
@@ -1,12 +1,13 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@imfusion/web-ui",
|
|
3
|
-
"version": "0.6.
|
|
3
|
+
"version": "0.6.2-dev.1.gf73fc5d3",
|
|
4
4
|
"description": "The official Web UI component library for ImFusion web apps",
|
|
5
5
|
"author": "ImFusion GmbH",
|
|
6
|
-
"
|
|
6
|
+
"homepage": "https://imfusion.com",
|
|
7
|
+
"license": "SEE LICENSE IN LICENSE.txt",
|
|
7
8
|
"publishConfig": {
|
|
8
9
|
"registry": "https://registry.npmjs.org",
|
|
9
|
-
"access": "
|
|
10
|
+
"access": "public"
|
|
10
11
|
},
|
|
11
12
|
"type": "module",
|
|
12
13
|
"engines": {
|
|
@@ -45,13 +46,15 @@
|
|
|
45
46
|
},
|
|
46
47
|
"files": [
|
|
47
48
|
"dist",
|
|
49
|
+
"docs/assets/imfusion-banner.svg",
|
|
50
|
+
"THIRD_PARTY_NOTICES.md",
|
|
48
51
|
"src/llms/install-templates",
|
|
49
52
|
"src/docgen/doc.gen.json",
|
|
50
53
|
"src/llms/llms.gen.txt",
|
|
51
54
|
"src/llms/icon-catalog.gen.json",
|
|
52
55
|
"src/llms/tokens.gen.json",
|
|
53
56
|
"src/llms/skills",
|
|
54
|
-
"bin"
|
|
57
|
+
"bin/install.js"
|
|
55
58
|
],
|
|
56
59
|
"scripts": {
|
|
57
60
|
"dev": "tsx scripts/dev.ts",
|
|
@@ -59,7 +62,7 @@
|
|
|
59
62
|
"dev:lib": "concurrently -n codegen,lib -c yellow,blue \"npm run codegen:watch\" \"vite build --watch\"",
|
|
60
63
|
"build": "npm run codegen && rm -rf dist && vite build && npm run codegen:docgen && npm run codegen:llms && npm run codegen:tokens",
|
|
61
64
|
"build:storybook": "npm run codegen:storybook && storybook build",
|
|
62
|
-
"ci:status": "teamcity run list --job WebSDK_WebUI_BuildTest --limit 3",
|
|
65
|
+
"ci:status": "teamcity run list --job WebSDK_WebUI_BuildTest --limit 3 --json=id,number,status,state,branchName,buildType.name,triggered.type,triggered.user.name,startDate,finishDate,webUrl | tsx scripts/ci-status.ts",
|
|
63
66
|
"storybook": "npm run codegen:storybook && storybook dev -p 6006 --no-open",
|
|
64
67
|
"storybook:free-ports": "tsx scripts/free-storybook-ports.ts",
|
|
65
68
|
"codegen": "tsx src/codegen/run.ts",
|
|
@@ -78,7 +81,6 @@
|
|
|
78
81
|
"verify:changelog": "tsx scripts/verify/changelog.ts",
|
|
79
82
|
"verify:staged": "tsx scripts/verify/staged.ts",
|
|
80
83
|
"verify:full": "tsx scripts/verify/full.ts",
|
|
81
|
-
"release": "tsx scripts/release.ts",
|
|
82
84
|
"format": "prettier --write .",
|
|
83
85
|
"lint": "eslint . --cache --fix",
|
|
84
86
|
"lint:inspect": "npx @eslint/config-inspector@latest",
|
|
@@ -92,8 +94,8 @@
|
|
|
92
94
|
"git:config": "git config core.hooksPath .githooks && git config pull.rebase true && git config merge.ff only"
|
|
93
95
|
},
|
|
94
96
|
"peerDependencies": {
|
|
95
|
-
"@imfusion/sdk": "^1.0.0",
|
|
96
|
-
"@imfusion/sdk-react": "^1.0.0",
|
|
97
|
+
"@imfusion/sdk": "^1.0.0 || >=1.1.1-dev.0 <1.1.1",
|
|
98
|
+
"@imfusion/sdk-react": "^1.0.0 || >=1.1.1-dev.0 <1.1.1",
|
|
97
99
|
"@tanstack/highlight": "^0.0.9",
|
|
98
100
|
"react": "^19.0.0",
|
|
99
101
|
"react-dom": "^19.0.0"
|