@thekestongroup/ui 0.20.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.
- package/dist/components/Header/Header.vue.d.ts +5 -0
- package/dist/components/Popover/popover.d.ts +1 -1
- package/dist/keston-ui.js +503 -489
- package/package.json +1 -1
- package/src/components/Header/Header.stories.ts +20 -0
- package/src/components/Header/Header.vue +35 -9
- package/src/components/Popover/popover.ts +2 -2
- package/src/components/Tooltip/Tooltip.vue +1 -1
|
@@ -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
|
|
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
|
*/
|