jfs-components 0.0.26 → 0.0.27
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/HStack/HStack.js +5 -5
- package/lib/commonjs/design-tokens/JFS Variables-variables-full.json +1 -1
- package/lib/commonjs/design-tokens/figma-variables-resolver.js +3 -9
- package/lib/commonjs/icons/registry.js +1 -1
- package/lib/module/components/HStack/HStack.js +5 -5
- package/lib/module/design-tokens/JFS Variables-variables-full.json +1 -1
- package/lib/module/icons/registry.js +1 -1
- package/lib/typescript/icons/registry.d.ts +1 -1
- package/package.json +1 -1
- package/src/components/HStack/HStack.tsx +5 -5
- package/src/design-tokens/JFS Variables-variables-full.json +1 -1
- package/src/icons/registry.ts +1 -1
|
@@ -32,11 +32,11 @@ const HStack = ({
|
|
|
32
32
|
...globalModes,
|
|
33
33
|
...propModes
|
|
34
34
|
};
|
|
35
|
-
const paddingTop = (0, _figmaVariablesResolver.getVariableByName)('
|
|
36
|
-
const paddingBottom = (0, _figmaVariablesResolver.getVariableByName)('
|
|
37
|
-
const paddingLeft = (0, _figmaVariablesResolver.getVariableByName)('
|
|
38
|
-
const paddingRight = (0, _figmaVariablesResolver.getVariableByName)('
|
|
39
|
-
const gap = (0, _figmaVariablesResolver.getVariableByName)('
|
|
35
|
+
const paddingTop = (0, _figmaVariablesResolver.getVariableByName)('hStack/padding/top', modes);
|
|
36
|
+
const paddingBottom = (0, _figmaVariablesResolver.getVariableByName)('hStack/padding/bottom', modes);
|
|
37
|
+
const paddingLeft = (0, _figmaVariablesResolver.getVariableByName)('hStack/padding/left', modes);
|
|
38
|
+
const paddingRight = (0, _figmaVariablesResolver.getVariableByName)('hStack/padding/right', modes);
|
|
39
|
+
const gap = (0, _figmaVariablesResolver.getVariableByName)('hStack/gap', modes);
|
|
40
40
|
const flexWrap = typeof wrap === 'boolean' ? wrap ? 'wrap' : 'nowrap' : wrap;
|
|
41
41
|
const containerStyle = {
|
|
42
42
|
flexDirection: reverse ? 'row-reverse' : 'row',
|