prlg-ui 1.8.362 → 1.8.364

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.
@@ -18913,8 +18913,9 @@ const vq = /* @__PURE__ */ g({
18913
18913
  strong: { type: Boolean },
18914
18914
  loading: { type: Boolean }
18915
18915
  },
18916
- setup(e) {
18917
- const a = q(() => [
18916
+ emits: ["click"],
18917
+ setup(e, { emit: a }) {
18918
+ const t = a, l = q(() => [
18918
18919
  "button",
18919
18920
  `button--${e.variant}`,
18920
18921
  `button--${e.size}`,
@@ -18929,23 +18930,24 @@ const vq = /* @__PURE__ */ g({
18929
18930
  "button--disabled": e.disabled
18930
18931
  }
18931
18932
  ]);
18932
- return (t, l) => {
18933
- const o = Nl("loading");
18933
+ return (o, n) => {
18934
+ const s = Nl("loading");
18934
18935
  return Dt((p(), R("button", {
18935
- class: De(a.value),
18936
- disabled: t.disabled || t.loading
18936
+ class: De(l.value),
18937
+ disabled: o.disabled || o.loading,
18938
+ onClick: n[0] || (n[0] = (i) => t("click", i))
18937
18939
  }, [
18938
- t.icon ? (p(), y(Ze(t.icon), {
18940
+ o.icon ? (p(), y(Ze(o.icon), {
18939
18941
  key: 0,
18940
18942
  class: "button__icon"
18941
18943
  })) : z("", !0),
18942
- t.iconOnly ? z("", !0) : b(t.$slots, "default", { key: 1 }, void 0, !0)
18944
+ o.iconOnly ? z("", !0) : b(o.$slots, "default", { key: 1 }, void 0, !0)
18943
18945
  ], 10, fb)), [
18944
- [o, t.loading]
18946
+ [s, o.loading]
18945
18947
  ]);
18946
18948
  };
18947
18949
  }
18948
- }), Ge = /* @__PURE__ */ N(vb, [["__scopeId", "data-v-6db413b9"]]), qq = /* @__PURE__ */ g({
18950
+ }), Ge = /* @__PURE__ */ N(vb, [["__scopeId", "data-v-7a362bb5"]]), qq = /* @__PURE__ */ g({
18949
18951
  __name: "AlertDialogCancel",
18950
18952
  props: {
18951
18953
  asChild: { type: Boolean },
@@ -21125,10 +21127,11 @@ const vq = /* @__PURE__ */ g({
21125
21127
  emits: ["escapeKeyDown", "pointerDownOutside", "focusOutside", "interactOutside", "openAutoFocus", "closeAutoFocus"],
21126
21128
  setup(e, { emit: a }) {
21127
21129
  at((i) => ({
21128
- "486a8a8d": n.value
21130
+ 82997448: n.value
21129
21131
  }));
21130
21132
  const t = e, o = Ce(t, a), n = q(() => `${t.width}px`), s = q(() => t.position === "left" || t.position === "right");
21131
21133
  return (i, u) => (p(), y(r(ar), B(r(o), {
21134
+ "aria-describedby": "",
21132
21135
  class: ["drawer-content", `drawer-content--${i.position}`]
21133
21136
  }), {
21134
21137
  default: m(() => [
@@ -21165,7 +21168,7 @@ const vq = /* @__PURE__ */ g({
21165
21168
  _: 3
21166
21169
  }, 16, ["class"]));
21167
21170
  }
21168
- }), O1 = /* @__PURE__ */ N(vw, [["__scopeId", "data-v-6eca32cc"]]), I1 = /* @__PURE__ */ g({
21171
+ }), O1 = /* @__PURE__ */ N(vw, [["__scopeId", "data-v-489d479b"]]), I1 = /* @__PURE__ */ g({
21169
21172
  __name: "DrawerOverlay",
21170
21173
  setup(e) {
21171
21174
  return (a, t) => (p(), y(r(lr), { class: "overlay drawer-overlay" }, {
package/dist/rekaUI.d.ts CHANGED
@@ -238,7 +238,11 @@ contentRef: HTMLDivElement;
238
238
  bodyRef: HTMLDivElement;
239
239
  }, any>;
240
240
 
241
- declare const __VLS_component_13: DefineComponent<IButtonProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<IButtonProps> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLButtonElement>;
241
+ declare const __VLS_component_13: DefineComponent<IButtonProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
242
+ click: (event: MouseEvent) => any;
243
+ }, string, PublicProps, Readonly<IButtonProps> & Readonly<{
244
+ onClick?: ((event: MouseEvent) => any) | undefined;
245
+ }>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLButtonElement>;
242
246
 
243
247
  declare const __VLS_component_14: DefineComponent<CalendarCellTriggerProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<CalendarCellTriggerProps> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
244
248
 
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "prlg-ui",
3
3
  "private": false,
4
- "version": "1.8.362",
4
+ "version": "1.8.364",
5
5
  "type": "module",
6
6
  "main": "dist/prlg-ui.umd.js",
7
7
  "module": "dist/prlg-ui.es.js",