@warp-ds/elements 1.0.0-alpha.8 → 1.0.0-alpha.9

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.
Files changed (2) hide show
  1. package/dist/index.js +1 -1
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -1803,7 +1803,7 @@ ${fo.join(
1803
1803
  const e = this.variant === "primary", t = this.variant === "secondary", r = this.variant === "negative", i = this.variant === "utility", a = this.variant === "pill", n = this.variant === "link";
1804
1804
  return Wo(
1805
1805
  {
1806
- [A.buttonSecondary]: !fo.find((l) => this.variant === l) || t,
1806
+ [A.buttonSecondary]: t && !this.quiet || !fo.find((l) => this.variant === l),
1807
1807
  [A.buttonPrimary]: e,
1808
1808
  [A.buttonDestructive]: r && !this.quiet,
1809
1809
  [A.buttonFlat]: t && this.quiet,
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@warp-ds/elements",
3
3
  "type": "module",
4
- "version": "1.0.0-alpha.8",
4
+ "version": "1.0.0-alpha.9",
5
5
  "description": "Custom elements for Warp",
6
6
  "exports": {
7
7
  ".": "./dist/index.js",