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.
@@ -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,4CA2GA,CAAA;AAED,eAAO,MAAM,KAAK,GAAI,OAAO,KAAK,CAAC,cAAc,CAAC,OAAO,SAAS,CAAC,4CAclE,CAAA"}
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 = "";