bernova 1.7.6 → 1.7.7

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/CHANGELOG.md CHANGED
@@ -1,5 +1,11 @@
1
1
  # Changelog
2
2
 
3
+ ## 1.7.7
4
+
5
+ ### Patch Changes
6
+
7
+ - Merge pull request #36 from kubit-ui/fix/addtional-value-condition
8
+
3
9
  ## 1.7.6
4
10
 
5
11
  ### Patch Changes
@@ -155,7 +155,7 @@ export class $_Provider_$ {
155
155
  Object.entries(additionalClassNames).forEach(([key, value]) => {
156
156
  if (!(key in structure)) {
157
157
  structure[key] = value;
158
- } else {
158
+ } else if (value) {
159
159
  const existingValue = structure[key].split(' ');
160
160
  const newValue = value.split(' ');
161
161
  const combinedValues = Array.from(
@@ -140,7 +140,7 @@ export class $_Provider_$ {
140
140
  Object.entries(additionalClassNames).forEach(([key, value]) => {
141
141
  if (!(key in structure)) {
142
142
  structure[key] = value;
143
- } else {
143
+ } else if (value) {
144
144
  const existingValue = structure[key].split(' ');
145
145
  const newValue = value.split(' ');
146
146
  const combinedValues = Array.from(
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "bernova",
3
- "version": "1.7.6",
3
+ "version": "1.7.7",
4
4
  "description": "The best way to write CSS with Javascript syntax",
5
5
  "main": "./dist/src/index.js",
6
6
  "types": "./dist/src/index.d.ts",
@@ -155,7 +155,7 @@ export class $_Provider_$ {
155
155
  Object.entries(additionalClassNames).forEach(([key, value]) => {
156
156
  if (!(key in structure)) {
157
157
  structure[key] = value;
158
- } else {
158
+ } else if (value) {
159
159
  const existingValue = structure[key].split(' ');
160
160
  const newValue = value.split(' ');
161
161
  const combinedValues = Array.from(
@@ -140,7 +140,7 @@ export class $_Provider_$ {
140
140
  Object.entries(additionalClassNames).forEach(([key, value]) => {
141
141
  if (!(key in structure)) {
142
142
  structure[key] = value;
143
- } else {
143
+ } else if (value) {
144
144
  const existingValue = structure[key].split(' ');
145
145
  const newValue = value.split(' ');
146
146
  const combinedValues = Array.from(