@everchron/ec-shards 9.14.0 → 9.14.2

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/dist/ec-shards.js CHANGED
@@ -14874,7 +14874,7 @@ const J_ = /* @__PURE__ */ y(Ab, [["render", Lb], ["__scopeId", "data-v-4334fe7e
14874
14874
  form: "p",
14875
14875
  "label-1": "label",
14876
14876
  "label-2": "label",
14877
- body: "span"
14877
+ body: "p"
14878
14878
  }[this.preset] : "span";
14879
14879
  },
14880
14880
  weightClass() {
@@ -14893,8 +14893,16 @@ const J_ = /* @__PURE__ */ y(Ab, [["render", Lb], ["__scopeId", "data-v-4334fe7e
14893
14893
  }[this.preset]}` : "font-weight-normal";
14894
14894
  },
14895
14895
  colorStyle() {
14896
- if (this.color)
14897
- return { color: this.color };
14896
+ if (this.color) {
14897
+ const e = {
14898
+ warning: "var(--color-yellow-11)",
14899
+ positive: "var(--color-green-11)",
14900
+ success: "var(--color-green-11)",
14901
+ error: "var(--color-red-11)",
14902
+ negative: "var(--color-red-11)"
14903
+ };
14904
+ return this.color in e ? { color: e[this.color] } : { color: this.color };
14905
+ }
14898
14906
  if (this.preset) {
14899
14907
  const s = {
14900
14908
  "headline-6": "var(--color-gray-10)",
@@ -14971,7 +14979,7 @@ function Nb(e, s, t, a, n, i) {
14971
14979
  _: 3
14972
14980
  }, 8, ["class", "style"]));
14973
14981
  }
14974
- const Q_ = /* @__PURE__ */ y(Db, [["render", Nb], ["__scopeId", "data-v-6b6fc041"]]), Vb = {
14982
+ const Q_ = /* @__PURE__ */ y(Db, [["render", Nb], ["__scopeId", "data-v-6119f3ec"]]), Vb = {
14975
14983
  name: "ecs-toast",
14976
14984
  emits: ["action"],
14977
14985
  components: { EcsFocusRing: D },