@mudakit/ui 0.3.0 → 0.4.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.
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,11 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## 0.4.0
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- 725a051: Expose the body scroll lock, click outside, keydown, resize observer, and z-index composables from the package root, along with the shared `MudaComponentSize` type.
|
|
8
|
+
|
|
3
9
|
## 0.3.0
|
|
4
10
|
|
|
5
11
|
### Minor Changes
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as e } from "../../MudaDialog-
|
|
1
|
+
import { t as e } from "../../MudaDialog-D0VZdP3Y.js";
|
|
2
2
|
export { e as MudaDialog };
|
package/dist/index.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export type { MudaComponentVariant } from "./common/components";
|
|
1
|
+
export type { MudaComponentSize, MudaComponentVariant } from "./common/components";
|
|
2
2
|
export * from "./components/MudaButton";
|
|
3
3
|
export * from "./components/MudaButtonStack";
|
|
4
4
|
export * from "./components/MudaCalendar";
|
|
@@ -25,3 +25,8 @@ export * from "./components/MudaPopover";
|
|
|
25
25
|
export * from "./components/MudaSpinner";
|
|
26
26
|
export * from "./components/MudaTable";
|
|
27
27
|
export * from "./components/MudaTag";
|
|
28
|
+
export * from "./composables/useBodyScrollLock";
|
|
29
|
+
export * from "./composables/useClickOutside";
|
|
30
|
+
export * from "./composables/useKeyDown";
|
|
31
|
+
export * from "./composables/useResizeObserver";
|
|
32
|
+
export * from "./composables/useZIndex";
|
package/dist/index.js
CHANGED
|
@@ -3,25 +3,41 @@ import { t } from "./MudaButtonStack-8z8FVezw.js";
|
|
|
3
3
|
import { a as n, c as r, i, l as a, n as o, o as s, r as c, s as l, t as u } from "./MudaCalendar-CgKIaHEr.js";
|
|
4
4
|
import { a as d, c as f, i as p, l as m, n as h, o as g, r as _, s as v, t as y, u as b } from "./MudaIcon-BwqQQnti.js";
|
|
5
5
|
import { t as x } from "./MudaFormInput-D1-kQq9y.js";
|
|
6
|
-
import { t as S } from "./
|
|
7
|
-
import { t as C } from "./
|
|
8
|
-
import {
|
|
9
|
-
import { t as
|
|
10
|
-
import { t as D } from "./
|
|
11
|
-
import { t as O } from "./
|
|
12
|
-
import { t as k } from "./
|
|
13
|
-
import { t as A } from "./
|
|
14
|
-
import {
|
|
15
|
-
import {
|
|
16
|
-
import { t as
|
|
17
|
-
import { t as
|
|
18
|
-
import { t as L } from "./
|
|
19
|
-
import { t as R } from "./
|
|
20
|
-
import { t as z } from "./
|
|
21
|
-
import { t as B } from "./
|
|
22
|
-
import { t as V } from "./
|
|
23
|
-
import { t as H } from "./
|
|
24
|
-
import { t as U } from "./
|
|
25
|
-
import {
|
|
26
|
-
import { t as
|
|
27
|
-
|
|
6
|
+
import { t as S } from "./useClickOutside-B6tdxsc3.js";
|
|
7
|
+
import { t as C } from "./useZIndex-DWnsohLZ.js";
|
|
8
|
+
import { t as w } from "./MudaPopover-C1fDWbPf.js";
|
|
9
|
+
import { t as T } from "./MudaCard-DGdFOdro.js";
|
|
10
|
+
import { n as E, t as D } from "./MudaColorPicker-CnB1MYB3.js";
|
|
11
|
+
import { t as O } from "./useKeyDown-B1jmp4nA.js";
|
|
12
|
+
import { n as ee, t as k } from "./MudaDialog-D0VZdP3Y.js";
|
|
13
|
+
import { t as A } from "./MudaFocusTrap-CGlvV_MC.js";
|
|
14
|
+
import { t as j } from "./MudaDropdown-Dhv8Mhxm.js";
|
|
15
|
+
import { t as M } from "./MudaErrorBox-B9ySoal8.js";
|
|
16
|
+
import { t as N } from "./MudaFormCheckbox-C1wTjohm.js";
|
|
17
|
+
import { n as P, t as F } from "./MudaFormCombobox-DqH-EyMV.js";
|
|
18
|
+
import { n as I, t as L } from "./MudaFormField-dOZRdslO.js";
|
|
19
|
+
import { t as R } from "./MudaFormRadio-BXj-XnwW.js";
|
|
20
|
+
import { t as z } from "./MudaFormRadioGroup-DnsZT-0C.js";
|
|
21
|
+
import { t as B } from "./MudaFormSelect-CLmsuMQG.js";
|
|
22
|
+
import { t as V } from "./MudaFormSwitch-C2Hx0mfr.js";
|
|
23
|
+
import { t as H } from "./MudaFormText-DbSiSTGh.js";
|
|
24
|
+
import { t as U } from "./MudaIconPicker-X5xJ_lbO.js";
|
|
25
|
+
import { t as W } from "./MudaMarker-DX1N2YxM.js";
|
|
26
|
+
import { t as G } from "./MudaPagination-BoqrKfPw.js";
|
|
27
|
+
import { t as K } from "./MudaSpinner-BMR0Shwx.js";
|
|
28
|
+
import { i as q, n as J, r as Y, t as X } from "./MudaTable-BxKbNx6v.js";
|
|
29
|
+
import { t as Z } from "./MudaTag-kOu3daeI.js";
|
|
30
|
+
import { onUnmounted as Q, ref as $, watch as te } from "vue";
|
|
31
|
+
//#region src/composables/useResizeObserver.ts
|
|
32
|
+
var ne = (e, t) => {
|
|
33
|
+
let n = $(!1), r = new ResizeObserver((e) => {
|
|
34
|
+
for (let n of e) t(n);
|
|
35
|
+
});
|
|
36
|
+
Q(() => {
|
|
37
|
+
e.value != null && (r.unobserve(e.value), r.disconnect(), n.value = !1);
|
|
38
|
+
}), te(e, (e) => {
|
|
39
|
+
n.value || e != null && (r.observe(e), n.value = !0);
|
|
40
|
+
}, { immediate: !0 });
|
|
41
|
+
};
|
|
42
|
+
//#endregion
|
|
43
|
+
export { i as CALENDAR_DAY_FORMAT, n as CALENDAR_MONTH_FORMAT, s as CALENDAR_VALUE_FORMAT, l as CALENDAR_YEAR_FORMAT, r as MONTH_RANGE_SIZE, b as MUDA_ICON_DELIMITER, e as MudaButton, t as MudaButtonStack, o as MudaCalendar, c as MudaCalendarDatePicker, u as MudaCalendarInput, T as MudaCard, D as MudaColorPicker, E as MudaColorPickerControl, k as MudaDialog, j as MudaDropdown, M as MudaErrorBox, A as MudaFocusTrap, N as MudaFormCheckbox, P as MudaFormComboboxMultiple, F as MudaFormComboboxSingle, L as MudaFormField, I as MudaFormFieldErrors, x as MudaFormInput, R as MudaFormRadio, z as MudaFormRadioGroup, B as MudaFormSelect, V as MudaFormSwitch, H as MudaFormText, y as MudaIcon, U as MudaIconPicker, W as MudaMarker, G as MudaPagination, w as MudaPopover, K as MudaSpinner, q as MudaTable, Y as MudaTableCell, J as MudaTableHead, X as MudaTableRow, Z as MudaTag, a as YEAR_RANGE_SIZE, h as composeIcon, _ as extractIconName, p as extractIconVariant, d as isIconName, g as isIconVariant, ee as useBodyScrollLock, S as useClickOutside, O as useKeyDown, v as useMudaIcon, f as useMudaIconNames, m as useMudaIcons, ne as useResizeObserver, C as useZIndex };
|