@cobre-npm/ds-v3 0.121.1 → 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
  }, [
@@ -6249,7 +6253,8 @@ const y0 = { class: "co-input" }, _0 = {
6249
6253
  size: { default: "xs" },
6250
6254
  hasCloseButton: { type: Boolean, default: !1 },
6251
6255
  theme: { default: "light" },
6252
- overflow: { default: "auto" }
6256
+ overflow: { default: "auto" },
6257
+ flushContent: { type: Boolean, default: !1 }
6253
6258
  },
6254
6259
  emits: ["close"],
6255
6260
  setup(a, { expose: e, emit: t }) {
@@ -6268,7 +6273,7 @@ const y0 = { class: "co-input" }, _0 = {
6268
6273
  default: de(() => [
6269
6274
  o.value ? (p(), b("div", Hg, [
6270
6275
  C("aside", {
6271
- class: R(["co-modal", `co-modal--${l.size} ${l.theme === "dark" ? "co-bg-primary-95" : "co-bg-white"} overflow-${l.overflow}`])
6276
+ class: R(["co-modal", [`co-modal--${l.size}`, l.theme === "dark" ? "co-bg-primary-95" : "co-bg-white", `overflow-${l.overflow}`, { "co-modal--flush": l.flushContent }]])
6272
6277
  }, [
6273
6278
  C("header", Wg, [
6274
6279
  l.hasCloseButton ? (p(), b("div", Ug, [
@@ -6298,7 +6303,7 @@ const y0 = { class: "co-input" }, _0 = {
6298
6303
  _: 3
6299
6304
  }));
6300
6305
  }
6301
- }), oc = /* @__PURE__ */ Me(zg, [["__scopeId", "data-v-504b65c8"]]), $P = /* @__PURE__ */ le({
6306
+ }), oc = /* @__PURE__ */ Me(zg, [["__scopeId", "data-v-facaf087"]]), $P = /* @__PURE__ */ le({
6302
6307
  __name: "CobreModalAction",
6303
6308
  props: {
6304
6309
  title: {},