@cobre-npm/ds-v3 0.122.0 → 0.123.0

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.
@@ -245,6 +245,10 @@ const xf = ["title", "data-bs-original-title"], Of = /* @__PURE__ */ le({
245
245
  type: String,
246
246
  default: "primary"
247
247
  },
248
+ color: {
249
+ type: String,
250
+ default: "default"
251
+ },
248
252
  size: {
249
253
  type: String,
250
254
  default: "medium"
@@ -289,7 +293,7 @@ const xf = ["title", "data-bs-original-title"], Of = /* @__PURE__ */ le({
289
293
  function Wf(a, e, t, n, o, r) {
290
294
  return a.isLoading && a.theme.includes("icon") ? (p(), b("span", Vf)) : (p(), b("button", {
291
295
  key: 1,
292
- class: R(["co-btn-v3", `co-btn-v3--${a.theme} ${a.theme.includes("icon") ? `co-btn-v3--icon-${a.size}` : `co-btn-v3--${a.size}`} ${a.isInline ? "d-inline" : "co-center"}`]),
296
+ class: R(["co-btn-v3", [`co-btn-v3--${a.theme}`, a.color !== "default" && `co-btn-v3--color-${a.color}`, a.theme.includes("icon") ? `co-btn-v3--icon-${a.size}` : `co-btn-v3--${a.size}`, a.isInline ? "d-inline" : "co-center"]]),
293
297
  type: "button",
294
298
  disabled: a.disabled || a.isLoading
295
299
  }, [