@webx-ui/module-pages 0.1.0 → 0.2.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.
@@ -1,17 +1,17 @@
1
1
  import { PageRow } from './types';
2
2
  /**
3
- * What a row offers, in a table cell or on a card.
3
+ * What a row of the page tree offers.
4
4
  *
5
- * Written once as a list and drawn twice: a row is read by shape, a menu is read by name, and
6
- * seven unlabelled icons in a dropdown would be worse than the row they replaced. On a card
7
- * there is no row at all — at that width the card is the screen, and a menu of words is easier
8
- * to hit than seven targets the size of a fingernail.
5
+ * A list of actions rather than markup, handed to the panel's one row menu: a table cell and
6
+ * a card on a phone both get the same `···` in the same place, and so does every other
7
+ * section (§20). What is written here is only which actions this row has — a page that is the
8
+ * home page has no copy and nowhere else to be, and a page in the bin has one way out.
9
+ *
10
+ * Nothing here is offered and then refused: an action somebody has no right to is left out.
9
11
  */
10
12
  type __VLS_Props = {
11
13
  page: PageRow;
12
14
  inBin?: boolean;
13
- /** Only the menu, for a card. */
14
- menuOnly?: boolean;
15
15
  };
16
16
  declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
17
17
  open: (page: PageRow) => any;
@@ -31,6 +31,5 @@ declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {
31
31
  onCopy?: ((page: PageRow) => any) | undefined;
32
32
  }>, {
33
33
  inBin: boolean;
34
- menuOnly: boolean;
35
34
  }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
36
35
  export default _default;
@@ -2,9 +2,9 @@
2
2
  * The editor of one page: a head that stays put, and the described screen under it.
3
3
  *
4
4
  * What the page itself owns is the head — where this page sits, what state it is in, and the
5
- * three things that change that state — and the saving. Everything below the head is
6
- * `pages.form`, so a module or a project adds a tab to the editor with a patch (§12) rather
7
- * than with a fork of this file.
5
+ * way out to the site — and the bar along the bottom, which is where the page is saved and
6
+ * published. Everything between them is `pages.form`, so a module or a project adds a tab to
7
+ * the editor with a patch (§12) rather than with a fork of this file.
8
8
  *
9
9
  * Saving is by autosave: a pause after the last keystroke, and the moment a field is left. The
10
10
  * explicit button is still there, because a button that says "saved" is the only way a person
@@ -14,7 +14,5 @@ type __VLS_Props = {
14
14
  };
15
15
  declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
16
16
  base: string;
17
- }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
18
- root: HTMLDivElement;
19
- }, HTMLDivElement>;
17
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
20
18
  export default _default;