jfs-components 0.0.58 → 0.0.59
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/lib/commonjs/components/Button/Button.js +1 -1
- package/lib/commonjs/components/ButtonGroup/ButtonGroup.js +1 -1
- package/lib/commonjs/components/Drawer/Drawer.js +1 -1
- package/lib/commonjs/icons/registry.js +1 -1
- package/lib/module/components/Button/Button.js +1 -1
- package/lib/module/components/ButtonGroup/ButtonGroup.js +1 -1
- package/lib/module/components/Drawer/Drawer.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/Button/Button.tsx +1 -1
- package/src/components/ButtonGroup/ButtonGroup.tsx +1 -1
- package/src/components/Drawer/Drawer.tsx +1 -1
- package/src/icons/registry.ts +1 -1
|
@@ -63,7 +63,7 @@ function Button({
|
|
|
63
63
|
const lineHeight = (0, _figmaVariablesResolver.getVariableByName)('button/lineHeight', modes) || 19;
|
|
64
64
|
const fontSize = (0, _figmaVariablesResolver.getVariableByName)('button/fontSize', modes) || 16;
|
|
65
65
|
const textColor = (0, _figmaVariablesResolver.getVariableByName)('button/foreground', modes) || '#0f0d0a';
|
|
66
|
-
const iconColor =
|
|
66
|
+
const iconColor = textColor;
|
|
67
67
|
const iconSize = (0, _figmaVariablesResolver.getVariableByName)('button/icon/size', modes) ?? 18;
|
|
68
68
|
const [isHovered, setIsHovered] = (0, _react.useState)(false);
|
|
69
69
|
const [isPressed, setIsPressed] = (0, _react.useState)(false);
|
|
@@ -34,7 +34,7 @@ function ButtonGroup({
|
|
|
34
34
|
style
|
|
35
35
|
}) {
|
|
36
36
|
// Resolve design tokens
|
|
37
|
-
const gap = (0, _figmaVariablesResolver.getVariableByName)('buttonGroup/
|
|
37
|
+
const gap = (0, _figmaVariablesResolver.getVariableByName)('buttonGroup/gap', modes) ?? 12;
|
|
38
38
|
const paddingHorizontal = (0, _figmaVariablesResolver.getVariableByName)('buttonGroup/padding/horizontal', modes) ?? 0;
|
|
39
39
|
const paddingVertical = (0, _figmaVariablesResolver.getVariableByName)('buttonGroup/padding/vertical', modes) ?? 0;
|
|
40
40
|
|
|
@@ -229,7 +229,7 @@ function Drawer({
|
|
|
229
229
|
|
|
230
230
|
// Design Tokens
|
|
231
231
|
const backgroundColor = (0, _figmaVariablesResolver.getVariableByName)('drawer/background', modes) || '#f5f5f5';
|
|
232
|
-
const radius = (0, _figmaVariablesResolver.getVariableByName)('drawer/radius', modes) || 12;
|
|
232
|
+
const radius = (0, _figmaVariablesResolver.getVariableByName)('drawer/radius/top', modes) || 12;
|
|
233
233
|
|
|
234
234
|
// Handle
|
|
235
235
|
const handleColor = (0, _figmaVariablesResolver.getVariableByName)('drawer/handlebar/background', modes) || '#e0e0e3';
|