@imfusion/web-ui 0.7.2-dev.6.g1f49e9fa → 0.8.1-dev.1.g11d9ffbe

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 (34) hide show
  1. package/CHANGELOG.md +103 -0
  2. package/README.md +32 -0
  3. package/dist/components/account-card/account-card.d.ts +53 -0
  4. package/dist/components/account-card/account-card.meta.d.ts +2 -0
  5. package/dist/components/account-card/index.d.ts +2 -0
  6. package/dist/components/avatar/avatar.d.ts +40 -0
  7. package/dist/components/avatar/avatar.meta.d.ts +2 -0
  8. package/dist/components/avatar/index.d.ts +2 -0
  9. package/dist/components/navigation-menu/subs/link.d.ts +1 -4
  10. package/dist/components/prose/index.d.ts +2 -0
  11. package/dist/components/prose/prose.d.ts +1 -0
  12. package/dist/components/prose/prose.meta.d.ts +2 -0
  13. package/dist/components/separator/separator.d.ts +1 -2
  14. package/dist/components/typo/typo.d.ts +12 -16
  15. package/dist/index.d.ts +3 -0
  16. package/dist/index.js +1358 -1213
  17. package/dist/paths-Oi0v8x-w.js +26 -0
  18. package/dist/style.css +1 -1
  19. package/dist/vite/index.d.ts +1 -0
  20. package/dist/vite/local-web-ui-link.d.ts +8 -0
  21. package/dist/vite.js +32 -17
  22. package/dist/web-ui-cli.js +121 -146
  23. package/docs/user-guide/Changelog.mdx +1 -1
  24. package/package.json +1 -1
  25. package/src/docgen/doc.gen.json +209 -78
  26. package/src/llms/llms.gen.txt +16 -0
  27. package/src/llms/skills/imf-web-ui-conventions/SKILL.md +1 -1
  28. package/src/llms/skills/imf-web-ui-conventions/templates/AUDIT_CHECKLIST.md +5 -4
  29. package/src/llms/skills/imf-web-ui-conventions/topics/library-boundary.md +13 -0
  30. package/src/llms/skills/imf-web-ui-conventions/topics/react.md +1 -1
  31. package/src/llms/skills/imf-web-ui-conventions/topics/styling.md +25 -0
  32. package/src/llms/skills/imf-web-ui-conventions/topics/tooling.md +3 -0
  33. package/src/llms/skills/imf-web-ui-update/SKILL.md +2 -1
  34. package/src/llms/skills/imf-web-ui-ux/SKILL.md +2 -1
@@ -0,0 +1,26 @@
1
+ import { existsSync as e } from "node:fs";
2
+ import { dirname as t, resolve as n } from "node:path";
3
+ import { fileURLToPath as r } from "node:url";
4
+ import { spawnSync as i } from "node:child_process";
5
+ //#region src/cli/paths.ts
6
+ function a(r) {
7
+ let i = r;
8
+ for (; !e(n(i, "package.json"));) {
9
+ let e = t(i);
10
+ if (e === i) throw Error(`Could not find package.json above ${r}`);
11
+ i = e;
12
+ }
13
+ return i;
14
+ }
15
+ var o = a(t(r(import.meta.url))), s = process.cwd();
16
+ function c(r) {
17
+ let a = s;
18
+ for (; a !== t(a) && !e(n(a, "node_modules", ".bin"));) a = t(a);
19
+ let o = n(a, "node_modules", ".bin", "prettier");
20
+ e(o) && i(o, ["--write", ...r], {
21
+ cwd: s,
22
+ stdio: "ignore"
23
+ });
24
+ }
25
+ //#endregion
26
+ export { o as n, s as r, c as t };