lux-design-system 5.2.14 → 5.3.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.
@@ -64,8 +64,12 @@ const _o = /* @__PURE__ */ D(cc, [["render", fc]]), pc = {
64
64
  status: "ready",
65
65
  release: "1.0.0",
66
66
  type: "Element"
67
- }, vc = /* @__PURE__ */ l("path", { d: `M12,19c-0.1,0-0.3-0.1-0.4-0.2L0.1,5.8c-0.2-0.2-0.2-0.5,0-0.7c0.2-0.2,0.5-0.2,0.7,0L12,17.7L23.1,5.2
68
- c0.2-0.2,0.5-0.2,0.7,0c0.2,0.2,0.2,0.5,0,0.7l-11.5,13C12.3,18.9,12.1,19,12,19z` }, null, -1), mc = [
67
+ }, vc = /* @__PURE__ */ l("path", {
68
+ stroke: "black",
69
+ "stroke-width": "3",
70
+ d: `M12,19c-0.1,0-0.3-0.1-0.4-0.2L0.1,5.8c-0.2-0.2-0.2-0.5,0-0.7c0.2-0.2,0.5-0.2,0.7,0L12,17.7L23.1,5.2
71
+ c0.2-0.2,0.5-0.2,0.7,0c0.2,0.2,0.2,0.5,0,0.7l-11.5,13C12.3,18.9,12.1,19,12,19z`
72
+ }, null, -1), mc = [
69
73
  vc
70
74
  ];
71
75
  function gc(e, t, n, a, r, s) {
@@ -88,7 +92,11 @@ const wc = /* @__PURE__ */ D(yc, [["render", $c]]), Cc = {
88
92
  status: "ready",
89
93
  release: "1.0.0",
90
94
  type: "Element"
91
- }, xc = /* @__PURE__ */ l("path", { d: "M11.6,5.1L.1,18.1c-.2.2-.2.5,0,.7s.5.2.7,0L11.9,6.2l11.2,12.6c.2.2.5.2.7,0,.2-.2.2-.5,0-.7L12.3,5.2c0-.1-.3-.2-.4-.2s-.3.1-.3.1Z" }, null, -1), Sc = [
95
+ }, xc = /* @__PURE__ */ l("path", {
96
+ stroke: "black",
97
+ "stroke-width": "3",
98
+ d: "M11.6,5.1L.1,18.1c-.2.2-.2.5,0,.7s.5.2.7,0L11.9,6.2l11.2,12.6c.2.2.5.2.7,0,.2-.2.2-.5,0-.7L12.3,5.2c0-.1-.3-.2-.4-.2s-.3.1-.3.1Z"
99
+ }, null, -1), Sc = [
92
100
  xc
93
101
  ];
94
102
  function Mc(e, t, n, a, r, s) {
@@ -15326,7 +15334,9 @@ const vE = /* @__PURE__ */ D(fE, [["render", pE], ["__scopeId", "data-v-6eeba4c6
15326
15334
  default: !1
15327
15335
  },
15328
15336
  /**
15329
- * User can manually hide the notification.
15337
+ * User can manually hide the notification. This emits a dismissed
15338
+ * event that you can bind to if needed (for example, if you want to
15339
+ * record that the user hid the notification in a database or localStorage)
15330
15340
  */
15331
15341
  dismissible: {
15332
15342
  type: Boolean,
@@ -15335,14 +15345,15 @@ const vE = /* @__PURE__ */ D(fE, [["render", pE], ["__scopeId", "data-v-6eeba4c6
15335
15345
  },
15336
15346
  methods: {
15337
15347
  hideAlert() {
15338
- this.show = !1;
15348
+ this.show = !1, this.$emit("dismissed");
15339
15349
  }
15340
15350
  },
15341
15351
  mounted() {
15342
15352
  this.autoclear && setTimeout(() => {
15343
15353
  this.show = !1;
15344
15354
  }, 2e3);
15345
- }
15355
+ },
15356
+ emits: ["dismissed"]
15346
15357
  }, gE = /* @__PURE__ */ l("span", { "aria-hidden": "true" }, "×", -1), yE = [
15347
15358
  gE
15348
15359
  ];