Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@react-pdf/types

Package Overview
Dependencies
Maintainers
1
Versions
32
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@react-pdf/types - npm Package Compare versions

Comparing version 2.3.5 to 2.3.6

6

CHANGELOG.md
# @react-pdf/types
## 2.3.6
### Patch Changes
- [#2525](https://github.com/diegomura/react-pdf/pull/2525) [`9e5842b`](https://github.com/diegomura/react-pdf/commit/9e5842bbecca6e249af2c5fc50078bb7ddd5420f) Thanks [@wojtekmaj](https://github.com/wojtekmaj)! - Fix rowGap and columnGap style properties not accepting strings
## 2.3.5

@@ -4,0 +10,0 @@

2

package.json
{
"name": "@react-pdf/types",
"version": "2.3.5",
"version": "2.3.6",
"license": "MIT",

@@ -5,0 +5,0 @@ "description": "React-pdf TypeScript definitions",

export interface Style {
// Flexbox
alignContent?: 'flex-start' | 'flex-end' | 'center' | 'stretch' | 'space-between' | 'space-around';
alignContent?:
| 'flex-start'
| 'flex-end'
| 'center'
| 'stretch'
| 'space-between'
| 'space-around';
alignItems?: 'flex-start' | 'flex-end' | 'center' | 'stretch' | 'baseline';
alignSelf?: 'auto' | 'flex-start' | 'flex-end' | 'center' | 'baseline' | 'stretch';
alignSelf?:
| 'auto'
| 'flex-start'
| 'flex-end'
| 'center'
| 'baseline'
| 'stretch';
flex?: number | string;

@@ -14,6 +26,12 @@ flexDirection?: 'row' | 'row-reverse' | 'column' | 'column-reverse';

flexBasis?: number | string;
justifyContent?: 'flex-start' | 'flex-end' | 'center' | 'space-around' | 'space-between' | 'space-evenly';
justifyContent?:
| 'flex-start'
| 'flex-end'
| 'center'
| 'space-around'
| 'space-between'
| 'space-evenly';
gap?: number | string;
rowGap?: number;
columnGap?: number;
rowGap?: number | string;
columnGap?: number | string;

@@ -52,3 +70,18 @@ // Layout

fontStyle?: string | 'normal';
fontWeight?: number | 'thin' | 'hairline' | 'ultralight' | 'extralight' | 'light' | 'normal' | 'medium' | 'semibold' | 'demibold' | 'bold' | 'ultrabold' | 'extrabold' | 'heavy' | 'black';
fontWeight?:
| number
| 'thin'
| 'hairline'
| 'ultralight'
| 'extralight'
| 'light'
| 'normal'
| 'medium'
| 'semibold'
| 'demibold'
| 'bold'
| 'ultrabold'
| 'extrabold'
| 'heavy'
| 'black';
letterSpacing?: number | string;

@@ -58,5 +91,10 @@ lineHeight?: number | string;

textAlign?: 'left' | 'right' | 'center' | 'justify'; // ?
textDecoration?: 'line-through' | 'underline' | 'none' | 'line-through underline' | 'underline line-through';
textDecoration?:
| 'line-through'
| 'underline'
| 'none'
| 'line-through underline'
| 'underline line-through';
textDecorationColor?: string;
textDecorationStyle?: "dashed" | "dotted" | "solid" | string; // ?
textDecorationStyle?: 'dashed' | 'dotted' | 'solid' | string; // ?
textIndent?: any; // ?

@@ -103,18 +141,18 @@ textOverflow?: 'ellipsis';

borderColor?: string;
borderStyle?: "dashed" | "dotted" | "solid";
borderStyle?: 'dashed' | 'dotted' | 'solid';
borderTop?: number | string;
borderTopColor?: string;
borderTopStyle?: "dashed" | "dotted" | "solid"; // ?
borderTopStyle?: 'dashed' | 'dotted' | 'solid'; // ?
borderTopWidth?: number | string;
borderRight?: number | string;
borderRightColor?: string;
borderRightStyle?: "dashed" | "dotted" | "solid"; // ?
borderRightStyle?: 'dashed' | 'dotted' | 'solid'; // ?
borderRightWidth?: number | string;
borderBottom?: number | string;
borderBottomColor?: string;
borderBottomStyle?: "dashed" | "dotted" | "solid"; // ?
borderBottomStyle?: 'dashed' | 'dotted' | 'solid'; // ?
borderBottomWidth?: number | string;
borderLeft?: number | string;
borderLeftColor?: string;
borderLeftStyle?: "dashed" | "dotted" | "solid"; // ?
borderLeftStyle?: 'dashed' | 'dotted' | 'solid'; // ?
borderLeftWidth?: number | string;

@@ -125,3 +163,3 @@ borderTopLeftRadius?: number | string;

borderBottomLeftRadius?: number | string;
borderRadius?: number | string
borderRadius?: number | string;
}
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc