@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 CHANGED
@@ -5,7 +5,7 @@
5
5
  [![ARB Approved](https://img.shields.io/badge/Utah_ARB-Approved-2e7114?style=for-the-badge)](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 State of Utah websites and applications. This code also renders the [Utah Footer](https://designsystem.utah.gov/library/patterns/utahFooter).
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 const childrenMenuType = {
18
- FLYOUT: 'flyout',
19
- INLINE: 'inline',
20
- MEGA_MENU: '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 const events = {
25
- HEADER_LOADED: 'utahHeaderLoaded',
26
- HEADER_UNLOADED: 'utahHeaderUnloaded',
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 const 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
- };
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 const size = {
50
- SMALL: 'SMALL',
51
- MEDIUM: 'MEDIUM',
52
- LARGE: '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;