mn-angular-lib 1.0.16 → 1.0.18

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.
@@ -255,6 +255,9 @@ const mnButtonVariants = tv({
255
255
  },
256
256
  disabled: {
257
257
  true: 'opacity-50 pointer-events-none',
258
+ },
259
+ noWrap: {
260
+ true: 'whitespace-nowrap',
258
261
  }
259
262
  },
260
263
  compoundVariants: [
@@ -293,6 +296,7 @@ const mnButtonVariants = tv({
293
296
  color: 'primary',
294
297
  borderRadius: 'lg',
295
298
  disabled: false,
299
+ noWrap: true,
296
300
  },
297
301
  });
298
302
 
@@ -306,6 +310,7 @@ class MnButton {
306
310
  color: this.data.color,
307
311
  borderRadius: this.data.borderRadius,
308
312
  disabled: this.data.disabled,
313
+ noWrap: this.data.noWrap,
309
314
  });
310
315
  }
311
316
  // For accessibility (works for both <button> and <a>)