jfs-components 0.1.54 → 0.1.55
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/.cursor/D2C-SCREEN.md +2 -1
- package/.cursor/commands/D2C.md +2 -1
- package/CHANGELOG.md +6 -0
- package/lib/commonjs/components/CircularProgressBarDoted/CircularProgressBarDoted.js +1 -1
- package/lib/commonjs/icons/registry.js +1 -1
- package/lib/module/components/CircularProgressBarDoted/CircularProgressBarDoted.js +1 -1
- package/lib/module/icons/registry.js +1 -1
- package/lib/typescript/src/icons/registry.d.ts +1 -1
- package/package.json +1 -1
- package/src/components/CircularProgressBarDoted/CircularProgressBarDoted.tsx +1 -1
- package/src/icons/registry.ts +1 -1
package/.cursor/D2C-SCREEN.md
CHANGED
|
@@ -52,7 +52,8 @@ Resolve modes:
|
|
|
52
52
|
3. Merge root → leaf; deeper entries override.
|
|
53
53
|
4. Match name/position; use `nodeId` for duplicates.
|
|
54
54
|
|
|
55
|
-
If `unresolved` exists, report every item/reason
|
|
55
|
+
If `unresolved` exists, report every item/reason to the user, then ignore those
|
|
56
|
+
entries and continue with the resolved modes:
|
|
56
57
|
|
|
57
58
|
- `local collection`: packaged data cannot resolve a file-local collection.
|
|
58
59
|
- `key not in variables JSON` / `mode not in collection`: packaged tokens stale.
|
package/.cursor/commands/D2C.md
CHANGED
|
@@ -9,7 +9,8 @@ implementation.**
|
|
|
9
9
|
- User-stated behavior is authoritative. Figma defines visuals and designed
|
|
10
10
|
states, not unspecified product logic.
|
|
11
11
|
- Use Figma MCP. Never recreate an unreadable design from assumptions.
|
|
12
|
-
- Use real package exports/props and extracted modes.
|
|
12
|
+
- Use real package exports/props and extracted modes. On unresolved modes,
|
|
13
|
+
notify the user then continue without them.
|
|
13
14
|
- Fake demos stay local unless the user explicitly requests a service.
|
|
14
15
|
- This may be recorded: present a clean first implementation. Never mention
|
|
15
16
|
prior attempts, cached knowledge, mistakes, or “fixes.” Be concise:
|
package/CHANGELOG.md
CHANGED
|
@@ -4,6 +4,12 @@ All notable changes to this project are documented in this file.
|
|
|
4
4
|
|
|
5
5
|
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/).
|
|
6
6
|
|
|
7
|
+
## [0.1.55] - 2026-07-27
|
|
8
|
+
|
|
9
|
+
- D2C playbooks (`.cursor/commands/D2C.md`, `.cursor/D2C-FLOW.md`, `.cursor/D2C-SCREEN.md`) — on unresolved mode pairs, notify the user then continue with resolved modes (no longer stop execution).
|
|
10
|
+
|
|
11
|
+
---
|
|
12
|
+
|
|
7
13
|
## [0.1.54] - 2026-07-27
|
|
8
14
|
|
|
9
15
|
- Token / mode resolution pass against Figma Code Connect + Coin Variables:
|
|
@@ -76,7 +76,7 @@ function CircularProgressBarDoted({
|
|
|
76
76
|
const activeDots = normalizedValue <= 0 ? 0 : Math.ceil(normalizedValue / 100 * resolvedDotCount);
|
|
77
77
|
const dotShadowSize = toNumber((0, _figmaVariablesResolver.getVariableByName)('circularProgressBarDoted/dot/shadow/size', modes), 6);
|
|
78
78
|
const baseDotSize = toNumber((0, _figmaVariablesResolver.getVariableByName)('circularProgressBarDoted/dot/size', modes), 6);
|
|
79
|
-
const dotSize = baseDotSize + dotShadowSize;
|
|
79
|
+
const dotSize = baseDotSize + dotShadowSize * 2;
|
|
80
80
|
const outerDotSize = dotSize;
|
|
81
81
|
const ringSize = layoutSize;
|
|
82
82
|
const ringRadius = Math.max(0, (ringSize - outerDotSize) / 2);
|