@synopackageland/ui 0.14.1 → 0.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/CHANGELOG.md +6 -0
- package/README.md +1 -1
- package/dist/components/primitives/loading/LoadingMask.vue.d.ts +3 -0
- package/dist/index.js +474 -460
- package/dist/reka-runtime.json +1 -1
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,11 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## 0.14.2 (2026-10-22)
|
|
4
|
+
|
|
5
|
+
Additive only: existing props, defaults and DOM stay as they were.
|
|
6
|
+
|
|
7
|
+
- `LoadingMask`: `delay` (ms, default 0) shows the mask only once `loading` has lasted that long, so a quick load does not flash it; it hides as soon as `loading` ends. The region is `aria-busy` from the start.
|
|
8
|
+
|
|
3
9
|
## 0.14.1 (2026-10-22)
|
|
4
10
|
|
|
5
11
|
Additive only: existing props, defaults and DOM stay as they were.
|
package/README.md
CHANGED
|
@@ -628,7 +628,7 @@ phone; use `DataGrid` for anything a user searches or arranges.
|
|
|
628
628
|
|
|
629
629
|
### Loading
|
|
630
630
|
|
|
631
|
-
`Spinner` is the DSM ring (`size` is the box in px, default 24). `LoadingMask` wraps content and covers it with a white 60% mask and a centred message box while `loading
|
|
631
|
+
`Spinner` is the DSM ring (`size` is the box in px, default 24). `LoadingMask` wraps content and covers it with a white 60% mask and a centred message box while `loading` (`delay` in ms holds the mask back so a quick load never flashes it; the region is `aria-busy` at once, so disable the actions it gates yourself); `LoadingArea` fills its container (give the parent a height) and centres the indicator, for whole-page or whole-panel waits. `Button loading` shows the 16px ring inline. Do not place a bare `Spinner` in a block container and expect it to be centred: use `LoadingArea`.
|
|
632
632
|
|
|
633
633
|
### Toolbar
|
|
634
634
|
|
|
@@ -1,6 +1,8 @@
|
|
|
1
1
|
type __VLS_Props = {
|
|
2
2
|
loading?: boolean;
|
|
3
3
|
text?: string;
|
|
4
|
+
/** Milliseconds `loading` must last before the overlay shows, so a quick load does not flash it. The region is `aria-busy` at once. */
|
|
5
|
+
delay?: number;
|
|
4
6
|
};
|
|
5
7
|
declare var __VLS_1: {};
|
|
6
8
|
type __VLS_Slots = {} & {
|
|
@@ -9,6 +11,7 @@ type __VLS_Slots = {} & {
|
|
|
9
11
|
declare const __VLS_base: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
|
|
10
12
|
text: string;
|
|
11
13
|
loading: boolean;
|
|
14
|
+
delay: number;
|
|
12
15
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
13
16
|
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
14
17
|
declare const _default: typeof __VLS_export;
|