@pocketprep/ui-kit 3.5.29 → 3.5.30

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.
@@ -21196,20 +21196,31 @@ function mf(e, t, s, o, i, n) {
21196
21196
  const vf = /* @__PURE__ */ Le(Mt, [["render", mf]]), yf = { class: "info-message" }, wf = { class: "info-message__content" }, Mf = /* @__PURE__ */ pt({
21197
21197
  __name: "InfoMessage",
21198
21198
  props: {
21199
- isDarkMode: { type: Boolean }
21199
+ isDarkMode: { type: Boolean },
21200
+ showCloseButton: { type: Boolean }
21200
21201
  },
21201
- setup(e) {
21202
- return (t, s) => ae((J(), _("div", yf, [
21202
+ emits: ["close"],
21203
+ setup(e, { emit: t }) {
21204
+ const s = t;
21205
+ return (o, i) => ae((J(), _("div", yf, [
21203
21206
  ae((J(), _("div", wf, [
21204
- Ee(t.$slots, "default", {}, void 0, !0)
21207
+ Ee(o.$slots, "default", {}, void 0, !0)
21205
21208
  ])), [
21206
- [H(Be), t.isDarkMode]
21207
- ])
21209
+ [H(Be), o.isDarkMode]
21210
+ ]),
21211
+ o.showCloseButton ? ae((J(), we(We, {
21212
+ key: 0,
21213
+ class: "info-message__close-btn",
21214
+ type: "close",
21215
+ onClick: i[0] || (i[0] = (n) => s("close"))
21216
+ }, null, 512)), [
21217
+ [H(Be), o.isDarkMode]
21218
+ ]) : Me("", !0)
21208
21219
  ])), [
21209
- [H(Be), t.isDarkMode]
21220
+ [H(Be), o.isDarkMode]
21210
21221
  ]);
21211
21222
  }
21212
- }), bf = /* @__PURE__ */ Le(Mf, [["__scopeId", "data-v-a66805e4"]]), TC = {
21223
+ }), bf = /* @__PURE__ */ Le(Mf, [["__scopeId", "data-v-30985729"]]), TC = {
21213
21224
  Banner: _l,
21214
21225
  Bar: l2,
21215
21226
  Pie: p2,