@galaxy-io/dls 1.4.6 → 1.4.7

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.
@@ -17,7 +17,7 @@ var _exp4 = () => ({ theme, $weight }) => {
17
17
  return match($weight).with(TextWeight.REGULAR, () => theme.font.sans.weight.regular).with(TextWeight.MEDIUM, () => theme.font.sans.weight.medium).exhaustive();
18
18
  };
19
19
  var _exp5 = () => ({ theme, $size }) => {
20
- return match($size).with(TextSize.CAPTION, () => theme.font.sans.height.caption).with(TextSize.BODY_SM, () => theme.font.sans.height.body_sm).with(TextSize.BODY_MD, () => theme.font.sans.height.body_md).with(TextSize.BODY_LG, () => theme.font.sans.height.body_lg).with(TextSize.HEADING_SM, () => theme.font.sans.height.heading_sm).with(TextSize.HEADING_MD, () => theme.font.sans.height.heading_md).with(TextSize.HEADING_LG, () => theme.font.sans.height.heading_lg).exhaustive();
20
+ return match($size).with(TextSize.CAPTION, () => `calc(${theme.font.sans.height.caption} * 1.25)`).with(TextSize.BODY_SM, () => `calc(${theme.font.sans.height.body_sm} * 1.25)`).with(TextSize.BODY_MD, () => `calc(${theme.font.sans.height.body_md} * 1.25)`).with(TextSize.BODY_LG, () => `calc(${theme.font.sans.height.body_lg} * 1.25)`).with(TextSize.HEADING_SM, () => `calc(${theme.font.sans.height.heading_sm} * 1.25)`).with(TextSize.HEADING_MD, () => `calc(${theme.font.sans.height.heading_md} * 1.25)`).with(TextSize.HEADING_LG, () => `calc(${theme.font.sans.height.heading_lg} * 1.25)`).exhaustive();
21
21
  };
22
22
  var _exp6 = () => ({ theme, $size }) => {
23
23
  return match($size).with(TextSize.CAPTION, () => theme.font.sans.spacing.caption).with(TextSize.BODY_SM, () => theme.font.sans.spacing.body_sm).with(TextSize.BODY_MD, () => theme.font.sans.spacing.body_md).with(TextSize.BODY_LG, () => theme.font.sans.spacing.body_lg).with(TextSize.HEADING_SM, () => theme.font.sans.spacing.heading_sm).with(TextSize.HEADING_MD, () => theme.font.sans.spacing.heading_md).with(TextSize.HEADING_LG, () => theme.font.sans.spacing.heading_lg).exhaustive();
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@galaxy-io/dls",
3
- "version": "1.4.6",
3
+ "version": "1.4.7",
4
4
  "description": "Galaxy Design Language System",
5
5
  "license": "UNLICENSED",
6
6
  "type": "module",