@egov-moldova/mud-site-kit 1.0.7 → 1.0.8
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/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@egov-moldova/mud-site-kit",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.8",
|
|
4
4
|
"description": "Native custom elements (mud-*) for the AGE platforms, built on the MUD design system (@egov-moldova/mud). Ships as an ES module and a CDN script.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"web-components",
|
|
@@ -10,6 +10,8 @@ export interface FooterContext {
|
|
|
10
10
|
assetsBase?: string | null;
|
|
11
11
|
/** Addresses supplied by the host app. */
|
|
12
12
|
links?: FooterLinks;
|
|
13
|
+
/** Hides the variant's own link column (the service column). */
|
|
14
|
+
hideServiceColumn?: boolean;
|
|
13
15
|
}
|
|
14
16
|
export { footerStyles };
|
|
15
17
|
/** Ids of the app links of a variant (columns and legal), the ones the host app has to supply in `links.items`. */
|
|
@@ -10,6 +10,7 @@ import type { FooterLinks } from './types/footer.types';
|
|
|
10
10
|
* assets-base optional. Folder URL that serves the logo files (default: ./assets/footer-v2/ next to the bundle).
|
|
11
11
|
* max-width optional. Max total width of the container, padding included (content = max-width - 2 * padding-x): a CSS length (1100px, 80rem) or a number of pixels (default: 1270px).
|
|
12
12
|
* padding-x optional. Left and right padding of the content, same format (default: 16px).
|
|
13
|
+
* hide-service-column optional, boolean. Hides the variant's own link column (also the `hideServiceColumn` property).
|
|
13
14
|
* links optional. The app's own addresses as JSON, same as the `links` property: {"logo":"/","items":{"faq":"/{lang}/faq"}}.
|
|
14
15
|
*
|
|
15
16
|
* Property
|
|
@@ -23,6 +24,9 @@ export declare class MudFooterV2 extends MudComponent {
|
|
|
23
24
|
/** Addresses supplied by the host app (the property wins over the `links` attribute). */
|
|
24
25
|
get links(): FooterLinks | undefined;
|
|
25
26
|
set links(value: FooterLinks | undefined);
|
|
27
|
+
/** Boolean attribute: present (or "true") hides the service column; absent or "false" shows it. */
|
|
28
|
+
get hideServiceColumn(): boolean;
|
|
29
|
+
set hideServiceColumn(value: boolean);
|
|
26
30
|
private linksFromAttribute;
|
|
27
31
|
/** Tells the developer which app links have no address yet (once per change, not on every render). */
|
|
28
32
|
private reportMissing;
|