@dreamcommerce/aurora 3.0.0-16 → 3.0.0-17

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.
@@ -18,13 +18,17 @@ var Typography = function Typography(_ref) {
18
18
  style = _ref.style,
19
19
  color = _ref.color,
20
20
  weight = _ref.weight,
21
+ size = _ref.size,
22
+ lineHeight = _ref.lineHeight,
21
23
  transform = _ref.transform,
22
24
  children = _ref.children;
23
25
  return /*#__PURE__*/React__default['default'].createElement(as, {
24
26
  className: cn.cn(typography_variants.typographyVariants({
25
27
  variant: variant,
26
28
  transform: transform,
27
- weight: weight
29
+ weight: weight,
30
+ size: size,
31
+ lineHeight: lineHeight
28
32
  }), _rollupPluginBabelHelpers.defineProperty({}, "aurora-text-".concat(color), !!color)),
29
33
  style: style
30
34
  }, children);
@@ -1 +1 @@
1
- {"version":3,"file":null,"sources":[null],"sourcesContent":[null],"names":[],"mappings":"AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;"}
1
+ {"version":3,"file":null,"sources":[null],"sourcesContent":[null],"names":[],"mappings":"AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;"}
@@ -1,6 +1,6 @@
1
1
  import React, { PropsWithChildren } from 'react';
2
2
  import { TTypographyProps } from "./typography_types";
3
- export declare const Typography: ({ variant, as, style, color, weight, transform, children }: PropsWithChildren<TTypographyProps>) => React.DetailedReactHTMLElement<{
3
+ export declare const Typography: ({ variant, as, style, color, weight, size, lineHeight, transform, children }: PropsWithChildren<TTypographyProps>) => React.DetailedReactHTMLElement<{
4
4
  className: string;
5
5
  style: React.CSSProperties | undefined;
6
6
  }, HTMLElement>;
@@ -10,13 +10,17 @@ var Typography = function Typography(_ref) {
10
10
  style = _ref.style,
11
11
  color = _ref.color,
12
12
  weight = _ref.weight,
13
+ size = _ref.size,
14
+ lineHeight = _ref.lineHeight,
13
15
  transform = _ref.transform,
14
16
  children = _ref.children;
15
17
  return /*#__PURE__*/React__default.createElement(as, {
16
18
  className: cn(typographyVariants({
17
19
  variant: variant,
18
20
  transform: transform,
19
- weight: weight
21
+ weight: weight,
22
+ size: size,
23
+ lineHeight: lineHeight
20
24
  }), _defineProperty({}, "aurora-text-".concat(color), !!color)),
21
25
  style: style
22
26
  }, children);
@@ -1 +1 @@
1
- {"version":3,"file":null,"sources":[null],"sourcesContent":[null],"names":[],"mappings":"AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;"}
1
+ {"version":3,"file":null,"sources":[null],"sourcesContent":[null],"names":[],"mappings":"AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;"}
package/package.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "name": "@dreamcommerce/aurora",
3
3
  "packageManager": "yarn@3.2.0",
4
4
  "sideEffects": false,
5
- "version": "3.0.0-16",
5
+ "version": "3.0.0-17",
6
6
  "description": "aurora",
7
7
  "author": "k0ssak",
8
8
  "license": "MIT",