nhb-toolbox 4.10.96 → 4.10.97

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/index.js CHANGED
@@ -1824,7 +1824,9 @@ var Color = class _Color {
1824
1824
  this.hsl = newColor.hsl;
1825
1825
  this.hsla = newColor.hsla;
1826
1826
  } else {
1827
- const colors = this.#convertColorToOthers(color);
1827
+ const colors = this.#convertColorToOthers(
1828
+ color?.trim()
1829
+ );
1828
1830
  if ("hex8" in colors) {
1829
1831
  const rgbaValues = extractAlphaColorValues(colors.rgba);
1830
1832
  const hslaValues = extractAlphaColorValues(colors.hsla);