@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.
- package/agent-rules.json +91 -0
- package/ai-manifest.json +190 -0
- package/components/content/info-panel-primitives.tsx +14 -14
- package/components/lib/ai-tools.tsx +1 -1
- package/components/sections/ai-tools-paths/tools-paths-panel.tsx +7 -7
- package/components/sections/captured-issues/captured-issues-panel.tsx +11 -11
- package/components/sections/golden-snapshots/file-diff-viewer.tsx +13 -13
- package/components/sections/golden-snapshots/golden-sync-panel.tsx +5 -5
- package/components/sections/golden-snapshots/snapshot-manager.tsx +11 -11
- package/components/sections/golden-snapshots/status-overview.tsx +20 -20
- package/components/sections/golden-snapshots/version-manager.tsx +8 -8
- package/components/sections/prompt-editor/file-type-tabbed-prompt-editor.tsx +4 -4
- package/components/sections/prompt-editor/simulator-prompt-editor.tsx +5 -5
- package/components/sections/prompt-editor/tabbed-prompt-editor.tsx +10 -10
- package/components/sections/report-bug/report-bug-form.tsx +14 -14
- package/components/sections/report-bug/screenshot-uploader.tsx +6 -6
- package/components/sections/snapshot-browser/snapshot-browser-panel.tsx +3 -3
- package/components/sections/snapshot-browser/snapshot-tree.tsx +8 -8
- package/components/sections/snippets-editor/snippets-editor.tsx +81 -22
- package/components/settings/SettingsHeader.tsx +1 -1
- package/components/settings/SettingsTreeNav.tsx +22 -4
- package/components/ui/action-dialog.tsx +5 -5
- package/components/ui/badge.tsx +4 -4
- package/components/ui/bottom-panel-header.tsx +4 -4
- package/components/ui/breadcrumb.tsx +2 -2
- package/components/ui/collapsible-section.tsx +1 -1
- package/components/ui/cookie-consent.tsx +5 -5
- package/components/ui/detail-section.tsx +3 -3
- package/components/ui/editor-placeholder-card.tsx +7 -7
- package/components/ui/editor-toolbar.tsx +12 -0
- package/components/ui/execution-details-panel.tsx +6 -6
- package/components/ui/extension-list-card.tsx +3 -3
- package/components/ui/file-structure-section.tsx +17 -17
- package/components/ui/file-tree.tsx +3 -1
- package/components/ui/files-panel.tsx +27 -9
- package/components/ui/filter-dropdown.tsx +5 -5
- package/components/ui/form-actions.tsx +1 -1
- package/components/ui/frontmatter-form-header.tsx +4 -4
- package/components/ui/icon-button.tsx +1 -1
- package/components/ui/input.tsx +7 -7
- package/components/ui/label.tsx +4 -4
- package/components/ui/layout-tab-bar.tsx +4 -4
- package/components/ui/modal.tsx +2 -2
- package/components/ui/nav-card.tsx +18 -11
- package/components/ui/navigation-bar.tsx +5 -5
- package/components/ui/number-input.tsx +4 -4
- package/components/ui/registry-browser.tsx +6 -6
- package/components/ui/registry-card.tsx +13 -13
- package/components/ui/registry-detail.tsx +6 -6
- package/components/ui/segmented-toggle.tsx +4 -4
- package/components/ui/select.tsx +5 -5
- package/components/ui/selection-grid.tsx +4 -4
- package/components/ui/setting-row.tsx +1 -1
- package/components/ui/settings-card.tsx +3 -3
- package/components/ui/settings-info-box.tsx +1 -1
- package/components/ui/settings-section-title.tsx +1 -1
- package/components/ui/snapshot-card.tsx +7 -7
- package/components/ui/snippets-panel.tsx +10 -10
- package/components/ui/sort-dropdown.tsx +2 -2
- package/components/ui/status-card.tsx +4 -4
- package/components/ui/tab-bar.tsx +2 -2
- package/components/ui/tooltip.tsx +3 -3
- package/dist/content.js +14 -14
- package/dist/index.d.ts +24 -7
- package/dist/index.js +440 -346
- package/dist/tokens/primitives.css +9 -2
- package/dist/tokens/semantic.css +1 -1
- package/package.json +13 -3
- package/tokens/primitives.css +9 -2
- 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
|
-
/*
|
|
25
|
-
--
|
|
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;
|
package/dist/tokens/semantic.css
CHANGED
|
@@ -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.
|
|
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.
|
|
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",
|
package/tokens/primitives.css
CHANGED
|
@@ -21,8 +21,15 @@
|
|
|
21
21
|
--color-neutral-100: #f0f0f0;
|
|
22
22
|
--color-neutral-50: #fafafa;
|
|
23
23
|
|
|
24
|
-
/*
|
|
25
|
-
--
|
|
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;
|
package/tokens/semantic.css
CHANGED
|
@@ -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.
|
|
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);
|