@thekestongroup/ui 0.19.0 → 0.21.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.
@@ -4,6 +4,11 @@ export interface HeaderUser {
4
4
  email?: string;
5
5
  /** Organisation or school the account belongs to, shown at the top of the account menu. */
6
6
  organisation?: string;
7
+ /**
8
+ * The organisation's logo (e.g. a wordmark), shown at the top of the
9
+ * account menu instead of its name. Its alt text is the organisation's name.
10
+ */
11
+ organisationLogo?: HeaderImage;
7
12
  /** Picture URL. Initials are shown without one. */
8
13
  avatar?: string;
9
14
  }
@@ -3,7 +3,7 @@
3
3
  * Reka's popper (e.g. InputDate's calendar), so they all match.
4
4
  *
5
5
  * An elevated panel (white; a step lighter than the page in dark mode) with
6
- * the same border and radius as a basic Button, a shadow,
6
+ * the same border as a basic Button, 8px corners like a Card or dialog, a shadow,
7
7
  * and the theme's fade in / out (Reka waits for the fade-out to finish
8
8
  * before removing the panel).
9
9
  */
@@ -24,7 +24,7 @@ export interface SegmentedControlProps {
24
24
  options: SegmentedOption[];
25
25
  /**
26
26
  * Icons only: each option's label becomes its accessible name and shows
27
- * as a tooltip-style title. Every option needs an icon.
27
+ * in a Tooltip on hover or keyboard focus. Every option needs an icon.
28
28
  */
29
29
  iconOnly?: boolean;
30
30
  size?: 'sm' | 'md';
@@ -13,13 +13,14 @@ export interface ThemeSwitcherProps {
13
13
  disabled?: boolean;
14
14
  /**
15
15
  * select: a dropdown (Settings, the account menu). segmented: Light / Dark
16
- * / System side by side with icons, small: for the footer.
16
+ * / System side by side with icons, small. icons: the same with only the
17
+ * sun, moon and monitor, each named in a tooltip: for the footer.
17
18
  */
18
- appearance?: 'select' | 'segmented';
19
+ appearance?: 'select' | 'segmented' | 'icons';
19
20
  class?: HTMLAttributes['class'];
20
21
  }
21
22
  declare const __VLS_export: import('vue').DefineComponent<ThemeSwitcherProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<ThemeSwitcherProps> & Readonly<{}>, {
22
- appearance: "select" | "segmented";
23
+ appearance: "select" | "segmented" | "icons";
23
24
  }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
24
25
  declare const _default: typeof __VLS_export;
25
26
  export default _default;