@kenlo/kdls-design-system 2.9.0 → 2.9.2
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.d.ts +10 -0
- package/dist/fonts/manrope-cyrillic-ext.woff2 +0 -0
- package/dist/fonts/manrope-cyrillic.woff2 +0 -0
- package/dist/fonts/manrope-greek.woff2 +0 -0
- package/dist/fonts/manrope-latin-ext.woff2 +0 -0
- package/dist/fonts/manrope-latin.woff2 +0 -0
- package/dist/fonts/manrope-vietnamese.woff2 +0 -0
- package/dist/index.cjs +3 -3
- package/dist/index.css +1 -1
- package/dist/index.js +1976 -1964
- package/foundations/fonts/OFL.txt +108 -0
- package/foundations/fonts/fonts.json +152 -0
- package/foundations/fonts/manrope-cyrillic-ext.woff2 +0 -0
- package/foundations/fonts/manrope-cyrillic.woff2 +0 -0
- package/foundations/fonts/manrope-greek.woff2 +0 -0
- package/foundations/fonts/manrope-latin-ext.woff2 +0 -0
- package/foundations/fonts/manrope-latin.woff2 +0 -0
- package/foundations/fonts/manrope-vietnamese.woff2 +0 -0
- package/foundations/fonts-alt.css +974 -0
- package/foundations/manrope.css +73 -0
- package/foundations/tokens.css +1058 -2
- package/kdls-manifest.json +301 -7
- package/package.json +19 -5
|
@@ -41,6 +41,16 @@ export interface HeaderProfileMenuItem {
|
|
|
41
41
|
export interface HeaderProps {
|
|
42
42
|
/** Kenlo product that determines the logo */
|
|
43
43
|
product?: KenloLogoProduct;
|
|
44
|
+
/** Where the logo links to — normally the product's home. Always the consumer's to
|
|
45
|
+
* set: the DS is used by Kenlo products, by the CMS and by products carrying their
|
|
46
|
+
* own brand (Vira), and each one's home is somewhere else. */
|
|
47
|
+
logoHref?: string;
|
|
48
|
+
/** Called when the logo is clicked — use instead of logoHref with a client-side
|
|
49
|
+
* router, or alongside it to intercept the navigation. */
|
|
50
|
+
onLogoClick?: () => void;
|
|
51
|
+
/** Accessible name of the logo link, read out in place of the image. Default:
|
|
52
|
+
* 'Página inicial' */
|
|
53
|
+
logoLabel?: string;
|
|
44
54
|
/** Main navigation items */
|
|
45
55
|
navItems?: HeaderNavItem[];
|
|
46
56
|
/** Active items (by label) */
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|