@leabankab/component-library 8.8.0 → 8.9.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/CHANGELOG.md +21 -0
- package/dist/component-library.es.js +881 -857
- package/dist/component-library.es.js.map +1 -1
- package/dist/component-library.umd.js +2 -2
- package/dist/component-library.umd.js.map +1 -1
- package/dist/components/form/select-field.d.ts +20 -1
- package/dist/components/form/select.d.ts +13 -3
- package/dist/index.css +1 -1
- package/dist/website/alert-banner.d.ts +48 -0
- package/dist/website/arrow-reveal-link.d.ts +22 -0
- package/dist/website/flags.d.ts +7 -0
- package/dist/website/index.d.ts +4 -0
- package/dist/website/side-nav.d.ts +57 -0
- package/dist/website/site-footer.d.ts +122 -0
- package/dist/website/site-header-link.d.ts +16 -0
- package/dist/website/site-header-menu.d.ts +21 -0
- package/dist/website/site-header.d.ts +141 -0
- package/dist/website/use-side-nav-labels.d.ts +5 -0
- package/dist/website/use-site-footer-labels.d.ts +7 -0
- package/dist/website/use-site-header-labels.d.ts +7 -0
- package/dist/website.cjs +1 -1
- package/dist/website.cjs.map +1 -1
- package/dist/website.css +1 -1
- package/dist/website.mjs +1101 -394
- package/dist/website.mjs.map +1 -1
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,26 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## 8.9.0
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- 783e06d: `SiteFooter`, `SideNav` and `AlertBanner` in `@leabankab/component-library/website`, and a compact `Select` with icons on its options.
|
|
8
|
+
|
|
9
|
+
- `SiteFooter`: the footer of leabank.no. The white logo in a link to the start page (`logo`, `homeRender`), the columns of links (`columns`, each a `title` and `links`, links as in `SiteHeader`), the market select (`market`: the four markets with their flags, sorted by name, calling `onValueChange` with the market's code), the social links (`social`), a button that opens the cookie settings (`onOpenCookieSettings`) and the copyright line (`copyright`), on a near-black band. The titles are `h2` (`titleRender` for another element).
|
|
10
|
+
- `SideNav`: the two-column page of the Investor Relations pages. A beige sidebar of links (`items`, the current page marked `current`, with `aria-current="page"` and a purple arrow), a `nav` named by `label`, beside a white `Panel size="sm"` with the `breadcrumbs` and the page's content. From 1024px the sidebar is 280px wide (360 from 1312px) and stays in view.
|
|
11
|
+
- `AlertBanner`: the website's notice, a 48px icon (`icon`, Lucide's `TriangleAlert` by default) beside a `title` and a `text`, in the colour of its `Section`. Not announced and not closable.
|
|
12
|
+
- `Select`: `size="sm"`, a compact 32px field with its `label` above it; `size="md"` (the default) is unchanged. An option can take an `icon` (20px, decoration), shown before its label in the list and, once chosen, in the field, unless `startAdornment` is given. `SelectSize` is exported.
|
|
13
|
+
|
|
14
|
+
New strings: "Marked", "Sosiale medier", "Cookie-innstillinger" and "Sidemeny", in Norwegian, Swedish, Finnish and Spanish.
|
|
15
|
+
|
|
16
|
+
- 4356e2e: `SiteHeader` in `@leabankab/component-library/website`: the header of leabank.no.
|
|
17
|
+
|
|
18
|
+
- A white bar over the brand stripe with the logo (`logo`, in a link to the start page, `homeRender` for a router link), the items (`items`, and `endItems` at the end of the row), the account icon (`account`) and the call to action (`action`, an `ActionButton size="sm"`).
|
|
19
|
+
- An item is a link (`href`, or a router link in `render`) or a menu of `groups`, each with a `title`, `links` and a `cta`. From 1312px the items are pills and a menu opens under its pill on hover, on a click or from the keyboard, as a panel of links (Base UI's `NavigationMenu`, no `role="menu"`). The closed menus are in the server's markup, hidden, so crawlers find their links.
|
|
20
|
+
- Below 1312px a menu button opens the items in a dialog from the top (Base UI's `Drawer`): the focus moves into it and back to the button, the page behind does not scroll, and each menu is a row that opens under itself with the item's own page as its first link, one at a time. Its links are not in the page while it is closed, and following a link closes it.
|
|
21
|
+
|
|
22
|
+
New strings: "Hovedmeny", "Meny", "Lukk meny" and "Lea Bank, forside", in Norwegian, Swedish, Finnish and Spanish.
|
|
23
|
+
|
|
3
24
|
## 8.8.0
|
|
4
25
|
|
|
5
26
|
### Minor Changes
|