@webx-ui/module-admin 0.11.0 → 0.12.1

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.
@@ -0,0 +1,27 @@
1
+ /**
2
+ * Whether the work is saved, said in the smallest way that says it.
3
+ *
4
+ * A word in the bar — "Saved" — is a word that is right nearly all of the time and therefore
5
+ * reads as furniture: it is on screen when nothing is happening, which is exactly when nobody
6
+ * is asking. What anyone actually wants to know is whether *this* save landed, and only for
7
+ * as long as it takes to land. So: a wheel while it is in flight, a tick when it lands, and
8
+ * nothing a couple of seconds later.
9
+ *
10
+ * Nothing at all for unsaved work either. That is not a small decision, and it holds because
11
+ * the screens that use this say so twice over: the head carries a badge beside the name, and
12
+ * the save button is enabled — a button offering to do something is the clearest statement
13
+ * that there is something to do.
14
+ *
15
+ * The words stay, for whoever is not looking at the bar: the element is a live region and the
16
+ * icon carries the sentence, so a screen reader hears "Saving…" and then "Saved".
17
+ */
18
+ type __VLS_Props = {
19
+ /** What the screen is doing. Anything but `saving` and `saved` shows nothing. */
20
+ state: 'saving' | 'unsaved' | 'saved' | string;
21
+ /** How long the tick stays after a save lands, in milliseconds. */
22
+ linger?: number;
23
+ };
24
+ declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
25
+ linger: number;
26
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLSpanElement>;
27
+ export default _default;
package/dist/index.d.ts CHANGED
@@ -17,6 +17,7 @@ export { default as WxListScreen } from './ListScreen';
17
17
  export { default as WxScreenHead } from './ScreenHead';
18
18
  export { rowMenuWidth } from './rowMenu';
19
19
  export { default as WxRowMenu } from './RowMenu';
20
+ export { default as WxSaveState } from './SaveState';
20
21
  export { default as WxFilterChips } from './FilterChips';
21
22
  export { default as WxBackButton } from './BackButton';
22
23
  export { default as WxRenameButton } from './RenameButton';