Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions .changeset/594-base-control-affordance.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"svforge": patch
---

Base primitives: `Checkbox` and `Toggle` now follow the project-wide pointer-affordance contract — an enabled control shows `cursor-pointer`, a disabled one shows `cursor-not-allowed` (Skeleton v5 sets neither for these controls). The `Checkbox` label no longer advertises clickability when the input is disabled, and the `Toggle` forwards the same states to its Skeleton `Switch` control and label. No API or behavior change beyond the cursor affordance.
92 changes: 91 additions & 1 deletion graphify-out/graph.json
Original file line number Diff line number Diff line change
Expand Up @@ -1403,6 +1403,14 @@
"source_location": "L59",
"_origin": "ast"
},
{
"id": "package_overrides_undici",
"label": "undici",
"file_type": "code",
"source_file": "package.json",
"source_location": "L60",
"_origin": "ast"
},
{
"id": "packages_addon_kit_package",
"label": "addon-kit/package.json",
Expand Down Expand Up @@ -25372,6 +25380,14 @@
"source_location": "L1",
"_origin": "ast"
},
{
"id": "tests_primitives_cursor_affordance_test",
"label": "primitives-cursor-affordance.test.ts",
"file_type": "code",
"source_file": "tests/primitives-cursor-affordance.test.ts",
"source_location": "L1",
"_origin": "ast"
},
{
"id": "tests_primitives_fields_test",
"label": "primitives-fields.test.ts",
Expand Down Expand Up @@ -27644,6 +27660,15 @@
"source_location": "L1",
"_origin": "ast"
},
{
"id": "changeset_594_base_control_affordance",
"label": "594-base-control-affordance.md",
"file_type": "document",
"node_kind": "page",
"source_file": ".changeset/594-base-control-affordance.md",
"source_location": "L1",
"_origin": "ast"
},
{
"id": "changeset_dashboard_admin_polish",
"label": "dashboard-admin-polish.md",
Expand Down Expand Up @@ -36322,6 +36347,16 @@
"weight": 1,
"_origin": "ast"
},
{
"source": "package_overrides",
"target": "package_overrides_undici",
"relation": "contains",
"confidence": "EXTRACTED",
"source_file": "package.json",
"source_location": "L60",
"weight": 1,
"_origin": "ast"
},
{
"source": "packages_addon_kit_package",
"target": "packages_addon_kit_package_name",
Expand Down Expand Up @@ -43196,7 +43231,7 @@
},
{
"source": "packages_jobs_templates_src_lib_server_jobs_jobs_claim_test",
"target": "home_loops_1dev_svforge_hub_svforge_worktrees_547_phase_c_packages_jobs_templates_src_lib_server_test_db",
"target": "repo_packages_jobs_templates_src_lib_server_test_db",
"relation": "imports_from",
"context": "import",
"deferred": true,
Expand Down Expand Up @@ -87748,6 +87783,61 @@
"weight": 1,
"_origin": "ast"
},
{
"source": "tests_primitives_cursor_affordance_test",
"target": "ref_vitest",
"relation": "imports_from",
"context": "import",
"confidence": "EXTRACTED",
"source_file": "tests/primitives-cursor-affordance.test.ts",
"source_location": "L2",
"weight": 1,
"_origin": "ast"
},
{
"source": "tests_primitives_cursor_affordance_test",
"target": "ref_testing_library_svelte",
"relation": "imports_from",
"context": "import",
"confidence": "EXTRACTED",
"source_file": "tests/primitives-cursor-affordance.test.ts",
"source_location": "L3",
"weight": 1,
"_origin": "ast"
},
{
"source": "tests_primitives_cursor_affordance_test",
"target": "ref_testing_library_jest_dom",
"relation": "imports_from",
"context": "import",
"confidence": "EXTRACTED",
"source_file": "tests/primitives-cursor-affordance.test.ts",
"source_location": "L4",
"weight": 1,
"_origin": "ast"
},
{
"source": "tests_primitives_cursor_affordance_test",
"target": "packages_svforge_templates_base_src_lib_components_svforge_primitives_checkbox",
"relation": "imports_from",
"context": "import",
"confidence": "EXTRACTED",
"source_file": "tests/primitives-cursor-affordance.test.ts",
"source_location": "L5",
"weight": 1,
"_origin": "ast"
},
{
"source": "tests_primitives_cursor_affordance_test",
"target": "packages_svforge_templates_base_src_lib_components_svforge_primitives_toggle",
"relation": "imports_from",
"context": "import",
"confidence": "EXTRACTED",
"source_file": "tests/primitives-cursor-affordance.test.ts",
"source_location": "L6",
"weight": 1,
"_origin": "ast"
},
{
"source": "tests_primitives_fields_test",
"target": "ref_vitest",
Expand Down
18 changes: 13 additions & 5 deletions graphify-out/manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
"semantic_hash": ""
},
"package.json": {
"ast_hash": "b001f29b1460e5e4b34363c044366483",
"ast_hash": "dbc4228d98f0ab516bb62cf683fce033",
"semantic_hash": ""
},
"packages/addon-kit/package.json": {
Expand Down Expand Up @@ -488,7 +488,7 @@
"semantic_hash": ""
},
"packages/svforge/src/templates.ts": {
"ast_hash": "3b84b6a66f457e6485549ac2aaff8ddb",
"ast_hash": "7a88610d3f6514d92f5f2d559425033e",
"semantic_hash": ""
},
"packages/svforge/src/upgrade.ts": {
Expand Down Expand Up @@ -568,7 +568,7 @@
"semantic_hash": ""
},
"packages/svforge/templates/base/src/lib/components/svforge/primitives/Checkbox.svelte": {
"ast_hash": "d0eb443bb614a57749eabe7960a7439f",
"ast_hash": "7f9ca2bebd3c8ae8121b2ddc38888b75",
"semantic_hash": ""
},
"packages/svforge/templates/base/src/lib/components/svforge/primitives/Input.svelte": {
Expand All @@ -584,7 +584,7 @@
"semantic_hash": ""
},
"packages/svforge/templates/base/src/lib/components/svforge/primitives/Toggle.svelte": {
"ast_hash": "c636c0e9cb6ec40424133f5f43202c8a",
"ast_hash": "e894fe252dff108ee3cc164e7b8e86ee",
"semantic_hash": ""
},
"packages/svforge/templates/base/src/lib/components/svforge/primitives/index.ts": {
Expand All @@ -596,7 +596,7 @@
"semantic_hash": ""
},
"packages/svforge/templates/base/src/lib/components/svforge/ui/Alert.svelte": {
"ast_hash": "f76f5ea141808a7bbdbdf68026e0cd69",
"ast_hash": "b07fb0e0646b55950f4ff7e2a326a2e3",
"semantic_hash": ""
},
"packages/svforge/templates/base/src/lib/components/svforge/ui/Card.svelte": {
Expand Down Expand Up @@ -2170,5 +2170,13 @@
".changeset/547-phase-c-direct-add.md": {
"ast_hash": "a3936d26fe026ac5bedbe58e43e8a7e7",
"semantic_hash": ""
},
"tests/primitives-cursor-affordance.test.ts": {
"ast_hash": "c5980a0bc2e108c5cc25a7f7c67e19fb",
"semantic_hash": ""
},
".changeset/594-base-control-affordance.md": {
"ast_hash": "f0e5647799063f9adf1d9791e6d63cff",
"semantic_hash": ""
}
}
Loading
Loading