oddsgate-ds 1.0.35 → 1.0.36

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "oddsgate-ds",
3
- "version": "1.0.35",
3
+ "version": "1.0.36",
4
4
  "description": "Miew theme component library",
5
5
  "main": "dist/cjs/index.js",
6
6
  "module": "dist/esm/index.js",
@@ -313,7 +313,7 @@ export function generateUtilities(utility: string, breakpoint: string): string {
313
313
 
314
314
  Object.keys(values || {}).map((key: string, i: number) => {
315
315
  cssSelector += `.${`${className}-${key}`}{
316
- ${property}: ${values?.[key]}${important && " !important"};
316
+ ${property}: ${values?.[key]}${important ? " !important" : ""};
317
317
  }`;
318
318
  });
319
319
 
@@ -322,12 +322,12 @@ export function generateUtilities(utility: string, breakpoint: string): string {
322
322
  cssSelector += `
323
323
  ${`.${className}-md-${key}`}{
324
324
  @media (min-width: ${grid_conf.breakpoints.$md as string}){
325
- ${property}: ${values?.[key]};
325
+ ${property}: ${values?.[key]}${important ? " !important" : ""};
326
326
  }
327
327
  }
328
328
  ${`.${className}-lg-${key}`}{
329
329
  @media (min-width: ${grid_conf.breakpoints.$lg}){
330
- ${property}: ${values?.[key]};
330
+ ${property}: ${values?.[key]}${important ? " !important" : ""};
331
331
  }
332
332
  }
333
333
  `;