@utahdts/utah-design-system-header 1.12.1 → 1.13.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/README.md +1 -1
- package/dist/index.d.ts +31 -31
- package/dist/style.css +1 -1
- package/dist/utah-design-system-header.es.js +165 -162
- package/dist/utah-design-system-header.umd.js +18 -18
- package/package.json +7 -2
- package/src/css/_logos.scss +1 -0
- package/src/css/index.scss +1 -1
package/README.md
CHANGED
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
[](https://dts.utah.gov/standards/architecture-review-board)
|
|
6
6
|
|
|
7
7
|
|
|
8
|
-
The Utah Header is part of the Utah Design System. It provides a common experience for users of
|
|
8
|
+
The Utah Header is part of the Utah Design System. It provides a common experience for users of state of Utah websites and applications. This code also renders the [Utah Footer](https://designsystem.utah.gov/library/patterns/utahFooter).
|
|
9
9
|
|
|
10
10
|
## What's included
|
|
11
11
|
|
package/dist/index.d.ts
CHANGED
|
@@ -14,43 +14,43 @@
|
|
|
14
14
|
*/
|
|
15
15
|
declare module "@utahdts/utah-design-system-header" {
|
|
16
16
|
export type ChildrenMenuType = ('flyout' | 'inline' | 'mega-menu');
|
|
17
|
-
export
|
|
18
|
-
FLYOUT
|
|
19
|
-
INLINE
|
|
20
|
-
MEGA_MENU
|
|
21
|
-
}
|
|
17
|
+
export enum childrenMenuType {
|
|
18
|
+
FLYOUT = 'flyout',
|
|
19
|
+
INLINE = 'inline',
|
|
20
|
+
MEGA_MENU = 'mega-menu',
|
|
21
|
+
}
|
|
22
22
|
|
|
23
23
|
export type Events = 'utahHeaderLoaded' | 'utahHeaderUnloaded';
|
|
24
|
-
export
|
|
25
|
-
HEADER_LOADED
|
|
26
|
-
HEADER_UNLOADED
|
|
27
|
-
}
|
|
24
|
+
export enum events {
|
|
25
|
+
HEADER_LOADED = 'utahHeaderLoaded',
|
|
26
|
+
HEADER_UNLOADED = 'utahHeaderUnloaded',
|
|
27
|
+
}
|
|
28
28
|
|
|
29
29
|
export type PopupPlacement = 'auto' | 'auto-start' | 'auto-end' | 'bottom' | 'bottom-start' | 'bottom-end' | 'left' | 'left-start' | 'left-end' | 'right' | 'right-start' | 'right-end' | 'top' | 'top-start' | 'top-end';
|
|
30
|
-
export
|
|
31
|
-
AUTO
|
|
32
|
-
AUTO_START
|
|
33
|
-
AUTO_END
|
|
34
|
-
BOTTOM
|
|
35
|
-
BOTTOM_START
|
|
36
|
-
BOTTOM_END
|
|
37
|
-
LEFT
|
|
38
|
-
LEFT_START
|
|
39
|
-
LEFT_END
|
|
40
|
-
RIGHT
|
|
41
|
-
RIGHT_START
|
|
42
|
-
RIGHT_END
|
|
43
|
-
TOP
|
|
44
|
-
TOP_START
|
|
45
|
-
TOP_END
|
|
46
|
-
}
|
|
30
|
+
export enum popupPlacement {
|
|
31
|
+
AUTO = 'auto',
|
|
32
|
+
AUTO_START = 'auto-start',
|
|
33
|
+
AUTO_END = 'auto-end',
|
|
34
|
+
BOTTOM = 'bottom',
|
|
35
|
+
BOTTOM_START = 'bottom-start',
|
|
36
|
+
BOTTOM_END = 'bottom-end',
|
|
37
|
+
LEFT = 'left',
|
|
38
|
+
LEFT_START = 'left-start',
|
|
39
|
+
LEFT_END = 'left-end',
|
|
40
|
+
RIGHT = 'right',
|
|
41
|
+
RIGHT_START = 'right-start',
|
|
42
|
+
RIGHT_END = 'right-end',
|
|
43
|
+
TOP = 'top',
|
|
44
|
+
TOP_START = 'top-start',
|
|
45
|
+
TOP_END = 'top-end',
|
|
46
|
+
}
|
|
47
47
|
|
|
48
48
|
export type Sizes = 'SMALL' | 'MEDIUM' | 'LARGE';
|
|
49
|
-
export
|
|
50
|
-
SMALL
|
|
51
|
-
MEDIUM
|
|
52
|
-
LARGE
|
|
53
|
-
}
|
|
49
|
+
export enum sizes {
|
|
50
|
+
SMALL = 'SMALL',
|
|
51
|
+
MEDIUM = 'MEDIUM',
|
|
52
|
+
LARGE = 'LARGE',
|
|
53
|
+
}
|
|
54
54
|
|
|
55
55
|
export function renderDOMSingle(str: string | HTMLElement): HTMLElement;
|
|
56
56
|
export const defaultSettings: Settings;
|