@react-pdf/stylesheet 4.1.8 → 4.2.0
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/lib/{index.cjs.js → index.cjs} +2 -2
- package/lib/{index.es.js → index.js} +2 -2
- package/package.json +15 -7
- package/CHANGELOG.md +0 -123
|
@@ -3,8 +3,8 @@
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
5
|
var fns = require('@react-pdf/fns');
|
|
6
|
-
var parse$1 = require('postcss-value-parser/lib/parse');
|
|
7
|
-
var parseUnit = require('postcss-value-parser/lib/unit');
|
|
6
|
+
var parse$1 = require('postcss-value-parser/lib/parse.js');
|
|
7
|
+
var parseUnit = require('postcss-value-parser/lib/unit.js');
|
|
8
8
|
var hlsToHex = require('hsl-to-hex');
|
|
9
9
|
var colorString = require('color-string');
|
|
10
10
|
var _extends = require('@babel/runtime/helpers/extends');
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { compose, castArray } from '@react-pdf/fns';
|
|
2
|
-
import parse$1 from 'postcss-value-parser/lib/parse';
|
|
3
|
-
import parseUnit from 'postcss-value-parser/lib/unit';
|
|
2
|
+
import parse$1 from 'postcss-value-parser/lib/parse.js';
|
|
3
|
+
import parseUnit from 'postcss-value-parser/lib/unit.js';
|
|
4
4
|
import hlsToHex from 'hsl-to-hex';
|
|
5
5
|
import colorString from 'color-string';
|
|
6
6
|
import _extends from '@babel/runtime/helpers/extends';
|
package/package.json
CHANGED
|
@@ -1,27 +1,35 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@react-pdf/stylesheet",
|
|
3
|
-
"version": "4.
|
|
3
|
+
"version": "4.2.0",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"description": "A styles engine for Node and the browser",
|
|
6
6
|
"author": "Diego Muracciole <diegomuracciole@gmail.com>",
|
|
7
7
|
"homepage": "https://github.com/diegomura/react-pdf#readme",
|
|
8
|
-
"
|
|
9
|
-
"
|
|
8
|
+
"type": "module",
|
|
9
|
+
"main": "./lib/index.cjs",
|
|
10
|
+
"module": "./lib/index.js",
|
|
11
|
+
"exports": {
|
|
12
|
+
".": {
|
|
13
|
+
"import": "./lib/index.js",
|
|
14
|
+
"require": "./lib/index.cjs",
|
|
15
|
+
"default": "./lib/index.js"
|
|
16
|
+
}
|
|
17
|
+
},
|
|
10
18
|
"repository": {
|
|
11
19
|
"type": "git",
|
|
12
20
|
"url": "https://github.com/diegomura/react-pdf.git",
|
|
13
21
|
"directory": "packages/stylesheet"
|
|
14
22
|
},
|
|
15
23
|
"scripts": {
|
|
16
|
-
"test": "jest",
|
|
24
|
+
"test": "NODE_OPTIONS=\"--experimental-vm-modules\" jest",
|
|
17
25
|
"build": "rimraf ./lib && rollup -c",
|
|
18
26
|
"watch": "rimraf ./lib && rollup -c -w"
|
|
19
27
|
},
|
|
20
28
|
"dependencies": {
|
|
21
29
|
"@babel/runtime": "^7.20.13",
|
|
22
|
-
"@react-pdf/fns": "2.0
|
|
23
|
-
"@react-pdf/types": "^2.3.
|
|
24
|
-
"color-string": "^1.
|
|
30
|
+
"@react-pdf/fns": "2.1.0",
|
|
31
|
+
"@react-pdf/types": "^2.3.5",
|
|
32
|
+
"color-string": "^1.9.1",
|
|
25
33
|
"hsl-to-hex": "^1.0.0",
|
|
26
34
|
"media-engine": "^1.0.3",
|
|
27
35
|
"postcss-value-parser": "^4.1.0"
|
package/CHANGELOG.md
DELETED
|
@@ -1,123 +0,0 @@
|
|
|
1
|
-
# @react-pdf/stylesheet
|
|
2
|
-
|
|
3
|
-
## 4.1.8
|
|
4
|
-
|
|
5
|
-
### Patch Changes
|
|
6
|
-
|
|
7
|
-
- Updated dependencies [[`4a55c1b`](https://github.com/diegomura/react-pdf/commit/4a55c1b2ed19e460ccae6e749ed94c16729a23c4)]:
|
|
8
|
-
- @react-pdf/types@2.3.4
|
|
9
|
-
|
|
10
|
-
## 4.1.7
|
|
11
|
-
|
|
12
|
-
### Patch Changes
|
|
13
|
-
|
|
14
|
-
- Updated dependencies [[`1e1fbdc`](https://github.com/diegomura/react-pdf/commit/1e1fbdc3c33ced46d8c7ebba7a196733cb789d59), [`8636812`](https://github.com/diegomura/react-pdf/commit/86368122ed87621d19ae3bc248080e17703d9fcb)]:
|
|
15
|
-
- @react-pdf/types@2.3.3
|
|
16
|
-
|
|
17
|
-
## 4.1.6
|
|
18
|
-
|
|
19
|
-
### Patch Changes
|
|
20
|
-
|
|
21
|
-
- Updated dependencies [[`a25dbcb`](https://github.com/diegomura/react-pdf/commit/a25dbcb32b65c300f5b088e8b210bb0c1abca5c2)]:
|
|
22
|
-
- @react-pdf/types@2.3.2
|
|
23
|
-
|
|
24
|
-
## 4.1.5
|
|
25
|
-
|
|
26
|
-
### Patch Changes
|
|
27
|
-
|
|
28
|
-
- Updated dependencies [[`47e91cb`](https://github.com/diegomura/react-pdf/commit/47e91cbd8016046bb4e8389ba0d1c7ede9edce59)]:
|
|
29
|
-
- @react-pdf/types@2.3.1
|
|
30
|
-
|
|
31
|
-
## 4.1.4
|
|
32
|
-
|
|
33
|
-
### Patch Changes
|
|
34
|
-
|
|
35
|
-
- Updated dependencies [[`2db67a3`](https://github.com/diegomura/react-pdf/commit/2db67a38b9be98b7816a2b5aa4733446b95e3724), [`eff1ff0`](https://github.com/diegomura/react-pdf/commit/eff1ff0fefcd710994e4654904ef55843af76a17)]:
|
|
36
|
-
- @react-pdf/types@2.3.0
|
|
37
|
-
- @react-pdf/fns@2.0.1
|
|
38
|
-
|
|
39
|
-
## 4.1.3
|
|
40
|
-
|
|
41
|
-
### Patch Changes
|
|
42
|
-
|
|
43
|
-
- [#2205](https://github.com/diegomura/react-pdf/pull/2205) [`9a5e0be`](https://github.com/diegomura/react-pdf/commit/9a5e0befb89756db07ce053192a136df9d4ba905) Thanks [@jeetiss](https://github.com/jeetiss)! - update babel
|
|
44
|
-
|
|
45
|
-
## 4.1.2
|
|
46
|
-
|
|
47
|
-
### Patch Changes
|
|
48
|
-
|
|
49
|
-
- [#2191](https://github.com/diegomura/react-pdf/pull/2191) [`37c3d74`](https://github.com/diegomura/react-pdf/commit/37c3d741fc9ad7eb91508b5caf6a5a554243f7ff) Thanks [@jeetiss](https://github.com/jeetiss)! - revert flex shorthand defaults
|
|
50
|
-
|
|
51
|
-
## 4.1.1
|
|
52
|
-
|
|
53
|
-
### Patch Changes
|
|
54
|
-
|
|
55
|
-
- [#2186](https://github.com/diegomura/react-pdf/pull/2186) [`72435bd`](https://github.com/diegomura/react-pdf/commit/72435bd81afdada5b811a1d82af0c873cfb62fa0) Thanks [@jeetiss](https://github.com/jeetiss)! - update yoga-layout to support flexBasis auto
|
|
56
|
-
|
|
57
|
-
## 4.1.0
|
|
58
|
-
|
|
59
|
-
### Minor Changes
|
|
60
|
-
|
|
61
|
-
- [#2160](https://github.com/diegomura/react-pdf/pull/2160) [`a743c90`](https://github.com/diegomura/react-pdf/commit/a743c905fb5d201d2382bc9175fa36b83cc47284) Thanks [@jeetiss](https://github.com/jeetiss)! - implement flex gap
|
|
62
|
-
|
|
63
|
-
### Patch Changes
|
|
64
|
-
|
|
65
|
-
- Updated dependencies [[`a743c90`](https://github.com/diegomura/react-pdf/commit/a743c905fb5d201d2382bc9175fa36b83cc47284)]:
|
|
66
|
-
- @react-pdf/types@2.2.0
|
|
67
|
-
|
|
68
|
-
## 4.0.0
|
|
69
|
-
|
|
70
|
-
### Major Changes
|
|
71
|
-
|
|
72
|
-
- [#1891](https://github.com/diegomura/react-pdf/pull/1891) [`a5a933c`](https://github.com/diegomura/react-pdf/commit/a5a933c9733e4c77338ef76a2b3545b84a646a81) Thanks [@carlobeltrame](https://github.com/carlobeltrame)! - feat: compatibility with modern web bundlers and browsers
|
|
73
|
-
|
|
74
|
-
### Patch Changes
|
|
75
|
-
|
|
76
|
-
- Updated dependencies [[`a5a933c`](https://github.com/diegomura/react-pdf/commit/a5a933c9733e4c77338ef76a2b3545b84a646a81)]:
|
|
77
|
-
- @react-pdf/fns@2.0.0
|
|
78
|
-
|
|
79
|
-
## 3.2.0
|
|
80
|
-
|
|
81
|
-
### Minor Changes
|
|
82
|
-
|
|
83
|
-
- [#1892](https://github.com/diegomura/react-pdf/pull/1892) [`035d3f8`](https://github.com/diegomura/react-pdf/commit/035d3f8d24fa4f4af9f350950d81b51547858367) Thanks [@diegomura](https://github.com/diegomura)! - feat: add skew transformation support
|
|
84
|
-
|
|
85
|
-
## 3.1.0
|
|
86
|
-
|
|
87
|
-
### Minor Changes
|
|
88
|
-
|
|
89
|
-
- [#1869](https://github.com/diegomura/react-pdf/pull/1869) [`5d2c308`](https://github.com/diegomura/react-pdf/commit/5d2c3088cf438a8abf1038b14a21117fecf59d57) Thanks [@diegomura](https://github.com/diegomura)! - feat: variable dpi
|
|
90
|
-
|
|
91
|
-
### Patch Changes
|
|
92
|
-
|
|
93
|
-
- Updated dependencies [[`1411d16`](https://github.com/diegomura/react-pdf/commit/1411d162e04ca237bad93729695c363fdf4bdbeb), [`4fadb48`](https://github.com/diegomura/react-pdf/commit/4fadb48983d7269452f89f80c7e341ece859aaee), [`ce8762f`](https://github.com/diegomura/react-pdf/commit/ce8762f6de5c796e69ec5a225c7f3ff9c619a960), [`5d2c308`](https://github.com/diegomura/react-pdf/commit/5d2c3088cf438a8abf1038b14a21117fecf59d57)]:
|
|
94
|
-
- @react-pdf/types@2.1.0
|
|
95
|
-
|
|
96
|
-
## 3.0.0
|
|
97
|
-
|
|
98
|
-
### Major Changes
|
|
99
|
-
|
|
100
|
-
- [#1829](https://github.com/diegomura/react-pdf/pull/1829) [`5458a00`](https://github.com/diegomura/react-pdf/commit/5458a00979d883341c6df094243cae859344d2b9) Thanks [@diegomura](https://github.com/diegomura)! - refactor: remove ramda from stylesheet package
|
|
101
|
-
|
|
102
|
-
### Patch Changes
|
|
103
|
-
|
|
104
|
-
- [#1838](https://github.com/diegomura/react-pdf/pull/1838) [`9bdb5c9`](https://github.com/diegomura/react-pdf/commit/9bdb5c934a822340754cd4c892d399f91f6218de) Thanks [@diegomura](https://github.com/diegomura)! - feat: create fns package
|
|
105
|
-
|
|
106
|
-
- Updated dependencies [[`9bdb5c9`](https://github.com/diegomura/react-pdf/commit/9bdb5c934a822340754cd4c892d399f91f6218de), [`fe0f214`](https://github.com/diegomura/react-pdf/commit/fe0f214dbbf2f632b852ebfe65f886ecc4dd6953)]:
|
|
107
|
-
- @react-pdf/fns@1.0.0
|
|
108
|
-
- @react-pdf/types@2.0.9
|
|
109
|
-
|
|
110
|
-
## 2.1.0
|
|
111
|
-
|
|
112
|
-
### Minor Changes
|
|
113
|
-
|
|
114
|
-
- [#1535](https://github.com/diegomura/react-pdf/pull/1535) [`1f0eb6e`](https://github.com/diegomura/react-pdf/commit/1f0eb6e0d4e75480de6745a204924d5075859db7) Thanks [@jeetiss](https://github.com/jeetiss)! - fixed `margin: auto` parsing
|
|
115
|
-
|
|
116
|
-
* [#1654](https://github.com/diegomura/react-pdf/pull/1654) [`ccf3bf2`](https://github.com/diegomura/react-pdf/commit/ccf3bf22867a9bd49668cdd3543ec32492a40e4b) Thanks [@jeetiss](https://github.com/jeetiss)! - added `@babel/runtime` to dependencies
|
|
117
|
-
|
|
118
|
-
### Patch Changes
|
|
119
|
-
|
|
120
|
-
- [#1581](https://github.com/diegomura/react-pdf/pull/1581) [`04449ab`](https://github.com/diegomura/react-pdf/commit/04449ab352db0cca2155024dd3e8c690e42193ca) Thanks [@jeetiss](https://github.com/jeetiss)! - added changelog with changesets
|
|
121
|
-
|
|
122
|
-
- Updated dependencies [[`04449ab`](https://github.com/diegomura/react-pdf/commit/04449ab352db0cca2155024dd3e8c690e42193ca)]:
|
|
123
|
-
- @react-pdf/types@2.0.8
|