@thekestongroup/ui 0.6.0 → 0.7.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.
@@ -19,12 +19,15 @@ export interface PageHeaderAction {
19
19
  *
20
20
  * `toolbar`: the everyday things people do to what the page is about (e.g.
21
21
  * on a user: Reset password, Unblock sign-in, Delete user), as a row of quiet
22
- * buttons under the title. Keep the one main action (Save, Add…) in the
22
+ * buttons under the title. Those that don't fit go in a "⋯" Menu at its
23
+ * right-hand end (and come back as it widens). `toolbar-start` and `toolbar-end` slots put
24
+ * something before or after them, e.g. "2 users selected". Keep the one main action (Save, Add…) in the
23
25
  * actions slot on the right; the toolbar is for the rest.
24
26
  *
25
27
  * Slots: badge (after the title, e.g. a Badge), description (instead of the
26
- * prop, for links or formatting), actions (e.g. Buttons), default (anything
27
- * under, e.g. an alert or tabs).
28
+ * prop, for links or formatting), actions (e.g. Buttons), toolbar-start and
29
+ * toolbar-end (in the toolbar, before and after its buttons), default
30
+ * (anything under, e.g. an alert or tabs).
28
31
  */
29
32
  export interface PageHeaderProps {
30
33
  /** The page's name: its h1. */
@@ -50,6 +53,8 @@ type __VLS_Slots = {
50
53
  badge?(): unknown;
51
54
  description?(): unknown;
52
55
  actions?(): unknown;
56
+ 'toolbar-start'?(): unknown;
57
+ 'toolbar-end'?(): unknown;
53
58
  default?(): unknown;
54
59
  };
55
60
  declare const __VLS_base: import('vue').DefineComponent<PageHeaderProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<PageHeaderProps> & Readonly<{}>, {