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
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* Auto-generated from SVG files in src/icons/
|
|
5
5
|
* DO NOT EDIT MANUALLY - Run "npm run icons:generate" to regenerate
|
|
6
6
|
*
|
|
7
|
-
* Generated: 2026-04-
|
|
7
|
+
* Generated: 2026-04-14T20:02:24.340Z
|
|
8
8
|
*/
|
|
9
9
|
export declare const iconRegistry: Record<string, {
|
|
10
10
|
path: string;
|
package/package.json
CHANGED
|
@@ -97,7 +97,7 @@ function Button({
|
|
|
97
97
|
const lineHeight = getVariableByName('button/lineHeight', modes) || 19
|
|
98
98
|
const fontSize = getVariableByName('button/fontSize', modes) || 16
|
|
99
99
|
const textColor = getVariableByName('button/foreground', modes) || '#0f0d0a'
|
|
100
|
-
const iconColor =
|
|
100
|
+
const iconColor = textColor
|
|
101
101
|
const iconSize = getVariableByName('button/icon/size', modes) ?? 18
|
|
102
102
|
|
|
103
103
|
const [isHovered, setIsHovered] = useState(false)
|
|
@@ -48,7 +48,7 @@ function ButtonGroup({
|
|
|
48
48
|
style,
|
|
49
49
|
}: ButtonGroupProps) {
|
|
50
50
|
// Resolve design tokens
|
|
51
|
-
const gap = getVariableByName('buttonGroup/
|
|
51
|
+
const gap = getVariableByName('buttonGroup/gap', modes) ?? 12
|
|
52
52
|
const paddingHorizontal = getVariableByName('buttonGroup/padding/horizontal', modes) ?? 0
|
|
53
53
|
const paddingVertical = getVariableByName('buttonGroup/padding/vertical', modes) ?? 0
|
|
54
54
|
|
|
@@ -276,7 +276,7 @@ function Drawer({
|
|
|
276
276
|
|
|
277
277
|
// Design Tokens
|
|
278
278
|
const backgroundColor = getVariableByName('drawer/background', modes) || '#f5f5f5'
|
|
279
|
-
const radius = getVariableByName('drawer/radius', modes) || 12
|
|
279
|
+
const radius = getVariableByName('drawer/radius/top', modes) || 12
|
|
280
280
|
|
|
281
281
|
// Handle
|
|
282
282
|
const handleColor = getVariableByName('drawer/handlebar/background', modes) || '#e0e0e3'
|
package/src/icons/registry.ts
CHANGED