@discourser/design-system 0.22.0 → 0.22.2
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/dist/{chunk-VJN7TIGL.js → chunk-GLPWI7OF.js} +3 -3
- package/dist/chunk-GLPWI7OF.js.map +1 -0
- package/dist/{chunk-IGCGVSG4.cjs → chunk-NN4YW27E.cjs} +3 -3
- package/dist/chunk-NN4YW27E.cjs.map +1 -0
- package/dist/figma-codex.json +2 -2
- package/dist/index.cjs +4 -4
- package/dist/index.js +1 -1
- package/dist/languages/transform.d.ts +1 -1
- package/dist/preset/index.cjs +2 -2
- package/dist/preset/index.js +1 -1
- package/dist/stories/foundations/components/ColorSwatch.d.ts +1 -15
- package/dist/stories/foundations/components/ColorSwatch.d.ts.map +1 -1
- package/dist/stories/foundations/components/ElevationCard.d.ts +3 -6
- package/dist/stories/foundations/components/ElevationCard.d.ts.map +1 -1
- package/dist/stories/foundations/components/SpacingBox.d.ts.map +1 -1
- package/dist/stories/foundations/components/TypeSpecimen.d.ts +2 -1
- package/dist/stories/foundations/components/TypeSpecimen.d.ts.map +1 -1
- package/package.json +4 -3
- package/src/languages/transform.ts +1 -1
- package/src/stories/foundations/Borders.stories.tsx +138 -0
- package/src/stories/foundations/ColorScale.stories.tsx +737 -0
- package/src/stories/foundations/Colors.mdx +2 -131
- package/src/stories/foundations/Elevation.mdx +26 -45
- package/src/stories/foundations/Motion.stories.tsx +306 -0
- package/src/stories/foundations/Shape.stories.tsx +159 -0
- package/src/stories/foundations/Spacing.mdx +24 -25
- package/src/stories/foundations/Typography.mdx +93 -79
- package/src/stories/foundations/components/ColorSwatch.tsx +72 -109
- package/src/stories/foundations/components/ElevationCard.tsx +19 -22
- package/src/stories/foundations/components/SpacingBox.tsx +15 -2
- package/src/stories/foundations/components/TypeSpecimen.tsx +20 -21
- package/dist/chunk-IGCGVSG4.cjs.map +0 -1
- package/dist/chunk-VJN7TIGL.js.map +0 -1
|
@@ -409,7 +409,7 @@ function transformTextStyles(language) {
|
|
|
409
409
|
name,
|
|
410
410
|
{
|
|
411
411
|
value: {
|
|
412
|
-
fontFamily: style.fontFamily || "body"
|
|
412
|
+
fontFamily: `{fonts.${style.fontFamily || "body"}}`,
|
|
413
413
|
fontSize: style.fontSize,
|
|
414
414
|
lineHeight: style.lineHeight,
|
|
415
415
|
fontWeight: style.fontWeight,
|
|
@@ -4485,5 +4485,5 @@ var discourserPandaPreset = definePreset({
|
|
|
4485
4485
|
});
|
|
4486
4486
|
|
|
4487
4487
|
export { discourserPandaPreset, material3Language, transformToPandaTheme };
|
|
4488
|
-
//# sourceMappingURL=chunk-
|
|
4489
|
-
//# sourceMappingURL=chunk-
|
|
4488
|
+
//# sourceMappingURL=chunk-GLPWI7OF.js.map
|
|
4489
|
+
//# sourceMappingURL=chunk-GLPWI7OF.js.map
|