@nysds/nys-globalfooter 1.19.3 → 1.19.4
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/nys-globalfooter.js
CHANGED
|
@@ -5,7 +5,7 @@ import { property as f, state as m } from "lit/decorators.js";
|
|
|
5
5
|
* █ █ █ █▄▄▄█ ▀▀▀▄▄ █ █ ▀▀▀▄▄
|
|
6
6
|
* █ ▀█ █ █▄▄▄█ █▄▄▀ █▄▄▄█
|
|
7
7
|
*
|
|
8
|
-
* Global Footer Component v1.19.
|
|
8
|
+
* Global Footer Component v1.19.4
|
|
9
9
|
* Part of the New York State Design System
|
|
10
10
|
* Repository: https://github.com/its-hcd/nysds
|
|
11
11
|
* License: MIT
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@nysds/nys-globalfooter",
|
|
3
|
-
"version": "1.19.
|
|
3
|
+
"version": "1.19.4",
|
|
4
4
|
"description": "The Globalfooter component from the NYS Design System.",
|
|
5
5
|
"module": "dist/nys-globalfooter.js",
|
|
6
6
|
"types": "dist/index.d.ts",
|
|
@@ -23,7 +23,7 @@
|
|
|
23
23
|
"lit-analyze": "lit-analyzer '**/*.ts'"
|
|
24
24
|
},
|
|
25
25
|
"dependencies": {
|
|
26
|
-
"@nysds/nys-divider": "^1.19.
|
|
26
|
+
"@nysds/nys-divider": "^1.19.4"
|
|
27
27
|
},
|
|
28
28
|
"devDependencies": {
|
|
29
29
|
"lit": "^3.3.1",
|
|
@@ -1,88 +0,0 @@
|
|
|
1
|
-
import { LitElement } from "lit";
|
|
2
|
-
/**
|
|
3
|
-
* Agency-branded footer with agency name and slotted content sections. Auto-layouts based on content structure.
|
|
4
|
-
*
|
|
5
|
-
* Place above `nys-unavfooter`. Slot contact info, links, or other content. Use `<h4>` elements
|
|
6
|
-
* to create multi-column layouts; without `<h4>`, renders as compact single section.
|
|
7
|
-
*
|
|
8
|
-
* @summary Agency footer with auto-layout for contact info and link sections.
|
|
9
|
-
* @element nys-globalfooter
|
|
10
|
-
*
|
|
11
|
-
* @slot - Footer content (links, contact info). Use `<h4>` for column headings.
|
|
12
|
-
*
|
|
13
|
-
* @example Basic
|
|
14
|
-
* ```html
|
|
15
|
-
* <nys-globalfooter agencyName="Office of Information Technology Services"></nys-globalfooter>
|
|
16
|
-
* ```
|
|
17
|
-
*
|
|
18
|
-
* @example Homepage Link
|
|
19
|
-
* ```html
|
|
20
|
-
* <nys-globalfooter
|
|
21
|
-
* agencyName="Office of Information Technology Services"
|
|
22
|
-
* homepageLink="https://its.ny.gov"
|
|
23
|
-
* ></nys-globalfooter>
|
|
24
|
-
* ```
|
|
25
|
-
*
|
|
26
|
-
* @example Menu Links
|
|
27
|
-
* ```html
|
|
28
|
-
* <nys-globalfooter agencyName="Office of Information Technology Services">
|
|
29
|
-
* <ul>
|
|
30
|
-
* <li><a href="https://its.ny.gov">ITS Home</a></li>
|
|
31
|
-
* <li><a href="https://its.ny.gov/about-us">About ITS</a></li>
|
|
32
|
-
* </ul>
|
|
33
|
-
* </nys-globalfooter>
|
|
34
|
-
* ```
|
|
35
|
-
*
|
|
36
|
-
* @example Column Links
|
|
37
|
-
* ```html
|
|
38
|
-
* <nys-globalfooter agencyName="Office of Information Technology Services">
|
|
39
|
-
* <ul>
|
|
40
|
-
* <li>
|
|
41
|
-
* <span>About</span>
|
|
42
|
-
* <ul>
|
|
43
|
-
* <li><a href="https://its.ny.gov/about-us">About ITS</a></li>
|
|
44
|
-
* <li><a href="https://its.ny.gov/contact-us">Contact</a></li>
|
|
45
|
-
* <li><a href="https://its.ny.gov/policies">Policies</a></li>
|
|
46
|
-
* </ul>
|
|
47
|
-
* </li>
|
|
48
|
-
* <li>
|
|
49
|
-
* <span>Resources</span>
|
|
50
|
-
* <ul>
|
|
51
|
-
* <li><a href="https://its.ny.gov/resources">Developer Tools</a></li>
|
|
52
|
-
* <li><a href="https://its.ny.gov/accessibility">Accessibility</a></li>
|
|
53
|
-
* <li><a href="https://its.ny.gov/privacy">Privacy</a></li>
|
|
54
|
-
* </ul>
|
|
55
|
-
* </li>
|
|
56
|
-
* </ul>
|
|
57
|
-
* </nys-globalfooter>
|
|
58
|
-
* ```
|
|
59
|
-
*
|
|
60
|
-
* @example Subheading
|
|
61
|
-
* ```html
|
|
62
|
-
* <nys-globalfooter
|
|
63
|
-
* agencyName="Office of Information Technology Services"
|
|
64
|
-
* agencySubheading="Innovating Technology for a Better New York"
|
|
65
|
-
* ></nys-globalfooter>
|
|
66
|
-
* ```
|
|
67
|
-
*/
|
|
68
|
-
export declare class NysGlobalFooter extends LitElement {
|
|
69
|
-
static styles: import("lit").CSSResult;
|
|
70
|
-
/** Agency name displayed as the footer heading. */
|
|
71
|
-
agencyName: string;
|
|
72
|
-
/** Optional subheading displayed below the agency name. */
|
|
73
|
-
agencySubheading: string;
|
|
74
|
-
/** URL for the agency name link. If empty, name is not clickable. */
|
|
75
|
-
homepageLink: string;
|
|
76
|
-
private slotHasContent;
|
|
77
|
-
/**
|
|
78
|
-
* Lifecycle Methods
|
|
79
|
-
* --------------------------------------------------------------------------
|
|
80
|
-
*/
|
|
81
|
-
firstUpdated(): void;
|
|
82
|
-
/**
|
|
83
|
-
* Functions
|
|
84
|
-
* --------------------------------------------------------------------------
|
|
85
|
-
*/
|
|
86
|
-
private _handleSlotChange;
|
|
87
|
-
render(): import("lit-html").TemplateResult<1>;
|
|
88
|
-
}
|