html-to-ascii 0.9.3 → 0.9.4
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/dist/components/ASCII.d.ts.map +1 -1
- package/dist/index.es.js +4 -2
- package/dist/index.es.js.map +1 -1
- package/dist/index.umd.js +2 -2
- package/dist/index.umd.js.map +1 -1
- package/dist/types/GridOptions.d.ts +1 -0
- package/dist/types/GridOptions.d.ts.map +1 -1
- package/dist/utils/defaultOptions.d.ts.map +1 -1
- package/package.json +1 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ASCII.d.ts","sourceRoot":"","sources":["../../lib/components/ASCII.tsx"],"names":[],"mappings":"AA8lBA,QAAA,MAAM,SAAS,GAAI,2CAIhB;IACF,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAA;IACzB,UAAU,CAAC,EAAE,OAAO,CAAA;IACpB,cAAc,CAAC,EAAE,MAAM,CAAA;CACvB,
|
|
1
|
+
{"version":3,"file":"ASCII.d.ts","sourceRoot":"","sources":["../../lib/components/ASCII.tsx"],"names":[],"mappings":"AA8lBA,QAAA,MAAM,SAAS,GAAI,2CAIhB;IACF,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAA;IACzB,UAAU,CAAC,EAAE,OAAO,CAAA;IACpB,cAAc,CAAC,EAAE,MAAM,CAAA;CACvB,4CA4GA,CAAA;AAED,eAAO,MAAM,KAAK,GAAI,OAAO,KAAK,CAAC,cAAc,CAAC,OAAO,SAAS,CAAC,4CAclE,CAAA"}
|
package/dist/index.es.js
CHANGED
|
@@ -26,7 +26,8 @@ const _t = {
|
|
|
26
26
|
fontSize: 18,
|
|
27
27
|
fontWeight: 400,
|
|
28
28
|
fontColor: "black",
|
|
29
|
-
bgColor: "white"
|
|
29
|
+
bgColor: "white",
|
|
30
|
+
textShadow: ""
|
|
30
31
|
}, Vt = Wn({
|
|
31
32
|
fontHeight: 0,
|
|
32
33
|
fontWidth: 0,
|
|
@@ -488,7 +489,8 @@ const Jn = ({
|
|
|
488
489
|
style: {
|
|
489
490
|
width: a.truncWidth,
|
|
490
491
|
height: a.truncHeight,
|
|
491
|
-
color: a.options.fontColor
|
|
492
|
+
color: a.options.fontColor,
|
|
493
|
+
textShadow: a.options.textShadow
|
|
492
494
|
},
|
|
493
495
|
children: Array.from({ length: a.rows }, (i, f) => {
|
|
494
496
|
let l = "";
|