@paubox/ui 1.2.0 → 1.2.1
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/index.esm.js
CHANGED
|
@@ -24833,7 +24833,7 @@ var StyledTypography = styled.div(_templateObject$c(), function(param) {
|
|
|
24833
24833
|
return $srOnly ? '-9999px' : undefined;
|
|
24834
24834
|
});
|
|
24835
24835
|
var Typography = function(_param) {
|
|
24836
|
-
var
|
|
24836
|
+
var _param_variant = _param.variant, variant = _param_variant === void 0 ? 'paragraph100Regular' : _param_variant, children = _param.children, _param_color = _param.color, color = _param_color === void 0 ? 'primary' : _param_color, _param_srOnly = _param.srOnly, srOnly = _param_srOnly === void 0 ? false : _param_srOnly, rest = _object_without_properties$a(_param, [
|
|
24837
24837
|
"variant",
|
|
24838
24838
|
"children",
|
|
24839
24839
|
"color",
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { SerializedStyles } from '@emotion/react';
|
|
2
2
|
import React from 'react';
|
|
3
3
|
export type TypographyProps = {
|
|
4
|
-
variant
|
|
4
|
+
variant?: 'headline100Regular' | 'headline100Semibold' | 'headline200Regular' | 'headline200Semibold' | 'headline300Regular' | 'headline300Semibold' | 'paragraph100Regular' | 'paragraph100Semibold' | 'paragraph200Regular' | 'paragraph200Semibold' | 'paragraph300Regular' | 'paragraph300Medium' | 'paragraph300Semibold' | 'paragraph300Bold' | 'button100Medium' | 'button200Medium' | 'label100Regular' | 'label100Medium' | 'label100Semibold' | 'label200Regular' | 'label200Medium' | 'label200Semibold' | 'label300Regular' | 'label300Medium' | 'label300Semibold';
|
|
5
5
|
/**
|
|
6
6
|
* The color of the text. This can be any css color string or one of the following:
|
|
7
7
|
*
|