@toolr/ui-design 0.1.4 → 0.1.6

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 (70) hide show
  1. package/agent-rules.json +91 -0
  2. package/ai-manifest.json +190 -0
  3. package/components/content/info-panel-primitives.tsx +14 -14
  4. package/components/lib/ai-tools.tsx +1 -1
  5. package/components/sections/ai-tools-paths/tools-paths-panel.tsx +7 -7
  6. package/components/sections/captured-issues/captured-issues-panel.tsx +11 -11
  7. package/components/sections/golden-snapshots/file-diff-viewer.tsx +13 -13
  8. package/components/sections/golden-snapshots/golden-sync-panel.tsx +5 -5
  9. package/components/sections/golden-snapshots/snapshot-manager.tsx +11 -11
  10. package/components/sections/golden-snapshots/status-overview.tsx +20 -20
  11. package/components/sections/golden-snapshots/version-manager.tsx +8 -8
  12. package/components/sections/prompt-editor/file-type-tabbed-prompt-editor.tsx +4 -4
  13. package/components/sections/prompt-editor/simulator-prompt-editor.tsx +5 -5
  14. package/components/sections/prompt-editor/tabbed-prompt-editor.tsx +10 -10
  15. package/components/sections/report-bug/report-bug-form.tsx +14 -14
  16. package/components/sections/report-bug/screenshot-uploader.tsx +6 -6
  17. package/components/sections/snapshot-browser/snapshot-browser-panel.tsx +3 -3
  18. package/components/sections/snapshot-browser/snapshot-tree.tsx +8 -8
  19. package/components/sections/snippets-editor/snippets-editor.tsx +81 -22
  20. package/components/settings/SettingsHeader.tsx +1 -1
  21. package/components/settings/SettingsTreeNav.tsx +22 -4
  22. package/components/ui/action-dialog.tsx +5 -5
  23. package/components/ui/badge.tsx +4 -4
  24. package/components/ui/bottom-panel-header.tsx +4 -4
  25. package/components/ui/breadcrumb.tsx +2 -2
  26. package/components/ui/collapsible-section.tsx +1 -1
  27. package/components/ui/cookie-consent.tsx +5 -5
  28. package/components/ui/detail-section.tsx +3 -3
  29. package/components/ui/editor-placeholder-card.tsx +7 -7
  30. package/components/ui/editor-toolbar.tsx +12 -0
  31. package/components/ui/execution-details-panel.tsx +6 -6
  32. package/components/ui/extension-list-card.tsx +3 -3
  33. package/components/ui/file-structure-section.tsx +17 -17
  34. package/components/ui/file-tree.tsx +3 -1
  35. package/components/ui/files-panel.tsx +27 -9
  36. package/components/ui/filter-dropdown.tsx +5 -5
  37. package/components/ui/form-actions.tsx +1 -1
  38. package/components/ui/frontmatter-form-header.tsx +4 -4
  39. package/components/ui/icon-button.tsx +1 -1
  40. package/components/ui/input.tsx +7 -7
  41. package/components/ui/label.tsx +4 -4
  42. package/components/ui/layout-tab-bar.tsx +4 -4
  43. package/components/ui/modal.tsx +2 -2
  44. package/components/ui/nav-card.tsx +18 -11
  45. package/components/ui/navigation-bar.tsx +5 -5
  46. package/components/ui/number-input.tsx +4 -4
  47. package/components/ui/registry-browser.tsx +6 -6
  48. package/components/ui/registry-card.tsx +13 -13
  49. package/components/ui/registry-detail.tsx +6 -6
  50. package/components/ui/segmented-toggle.tsx +4 -4
  51. package/components/ui/select.tsx +5 -5
  52. package/components/ui/selection-grid.tsx +4 -4
  53. package/components/ui/setting-row.tsx +1 -1
  54. package/components/ui/settings-card.tsx +3 -3
  55. package/components/ui/settings-info-box.tsx +1 -1
  56. package/components/ui/settings-section-title.tsx +1 -1
  57. package/components/ui/snapshot-card.tsx +7 -7
  58. package/components/ui/snippets-panel.tsx +10 -10
  59. package/components/ui/sort-dropdown.tsx +2 -2
  60. package/components/ui/status-card.tsx +4 -4
  61. package/components/ui/tab-bar.tsx +2 -2
  62. package/components/ui/tooltip.tsx +3 -3
  63. package/dist/content.js +14 -14
  64. package/dist/index.d.ts +24 -7
  65. package/dist/index.js +440 -346
  66. package/dist/tokens/primitives.css +9 -2
  67. package/dist/tokens/semantic.css +1 -1
  68. package/package.json +13 -3
  69. package/tokens/primitives.css +9 -2
  70. package/tokens/semantic.css +1 -1
@@ -21,8 +21,15 @@
21
21
  --color-neutral-100: #f0f0f0;
22
22
  --color-neutral-50: #fafafa;
23
23
 
24
- /* Typography minimum font size */
25
- --font-size-xss: 11px;
24
+ /* Type scale */
25
+ --text-xss: 10px;
26
+ --text-xss--line-height: 1;
27
+ --text-xs: 11px;
28
+ --text-xs--line-height: 1.2;
29
+ --text-sm: 12px;
30
+ --text-sm--line-height: 1.33;
31
+ --text-md: 14px;
32
+ --text-md--line-height: 1.43;
26
33
 
27
34
  /* Breakpoints */
28
35
  --breakpoint-3xl: 100rem;
@@ -21,7 +21,7 @@
21
21
  --surface-hover: var(--color-neutral-750);
22
22
 
23
23
  /* Dialog backdrop: modal/dialog overlays */
24
- --dialog-backdrop: rgba(0, 0, 0, 0.85);
24
+ --dialog-backdrop: rgba(0, 0, 0, 0.95);
25
25
 
26
26
  /* Popover: floating panels, dropdown menus */
27
27
  --popover: rgba(0, 0, 0, 0.8);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@toolr/ui-design",
3
- "version": "0.1.4",
3
+ "version": "0.1.6",
4
4
  "private": false,
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",
@@ -24,6 +24,12 @@
24
24
  "source": "./components/diagrams/diagram-utils.tsx",
25
25
  "import": "./dist/diagrams.js",
26
26
  "types": "./dist/diagrams.d.ts"
27
+ },
28
+ "./manifest": {
29
+ "default": "./ai-manifest.json"
30
+ },
31
+ "./agent-rules": {
32
+ "default": "./agent-rules.json"
27
33
  }
28
34
  },
29
35
  "repository": {
@@ -34,11 +40,15 @@
34
40
  "dist",
35
41
  "index.ts",
36
42
  "components",
37
- "tokens"
43
+ "tokens",
44
+ "ai-manifest.json",
45
+ "agent-rules.json"
38
46
  ],
39
47
  "scripts": {
40
48
  "build": "tsup",
41
- "postbuild": "rm -rf dist/tokens && cp -r tokens dist/tokens"
49
+ "postbuild": "rm -rf dist/tokens && cp -r tokens dist/tokens",
50
+ "sync-check": "node scripts/sync-check.ts",
51
+ "prepare": "[ -d .git ] && git config core.hooksPath .githooks || true"
42
52
  },
43
53
  "peerDependencies": {
44
54
  "react": "^18 || ^19",
@@ -21,8 +21,15 @@
21
21
  --color-neutral-100: #f0f0f0;
22
22
  --color-neutral-50: #fafafa;
23
23
 
24
- /* Typography minimum font size */
25
- --font-size-xss: 11px;
24
+ /* Type scale */
25
+ --text-xss: 10px;
26
+ --text-xss--line-height: 1;
27
+ --text-xs: 11px;
28
+ --text-xs--line-height: 1.2;
29
+ --text-sm: 12px;
30
+ --text-sm--line-height: 1.33;
31
+ --text-md: 14px;
32
+ --text-md--line-height: 1.43;
26
33
 
27
34
  /* Breakpoints */
28
35
  --breakpoint-3xl: 100rem;
@@ -21,7 +21,7 @@
21
21
  --surface-hover: var(--color-neutral-750);
22
22
 
23
23
  /* Dialog backdrop: modal/dialog overlays */
24
- --dialog-backdrop: rgba(0, 0, 0, 0.85);
24
+ --dialog-backdrop: rgba(0, 0, 0, 0.95);
25
25
 
26
26
  /* Popover: floating panels, dropdown menus */
27
27
  --popover: rgba(0, 0, 0, 0.8);