@universityofmaryland/web-components-library 1.13.0-beta.7 → 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
@@ -1,6 +1,6 @@
1
1
  # University of Maryland Web Components Library
2
2
 
3
- [![Components Version](https://img.shields.io/badge/Components-v1.13.0-beta.7-blue)](https://www.npmjs.com/package/@universityofmaryland/web-components-library)
3
+ [![Components Version](https://img.shields.io/badge/Components-v1.13.0-blue)](https://www.npmjs.com/package/@universityofmaryland/web-components-library)
4
4
 
5
5
  High-level web components built on the UMD Elements Library, providing feature-rich, accessible, and brand-compliant UI components for University of Maryland digital experiences.
6
6
 
@@ -1,14 +1,22 @@
1
- interface EventDataProps {
2
- element: HTMLElement;
1
+ import { Markup } from 'utilities';
2
+ import { ComponentRef } from '../_types';
3
+ interface EventComponentOptions {
4
+ isThemeDark?: boolean;
5
+ showTime?: boolean;
6
+ isLargeSize?: boolean;
7
+ isDateSignDark?: boolean;
3
8
  }
4
- interface EventDataResult {
5
- stats: HTMLElement | null;
6
- image: HTMLElement | null;
7
- video: HTMLElement | null;
8
- eventDetails: HTMLElement | null;
9
- eventSign: HTMLElement | null;
10
- includedStyles: string;
9
+ interface ParsedEventData {
10
+ detailsData: ReturnType<typeof Markup.event.createDetailsData>;
11
+ startDate: ReturnType<typeof Markup.event.createDate>;
12
+ endDate: ReturnType<typeof Markup.event.createDate>;
13
+ locationElement: Element | null;
11
14
  }
12
- export declare const createEventData: ({ element, }: EventDataProps) => EventDataResult;
15
+ interface EventComponents {
16
+ eventMeta: ComponentRef;
17
+ dateSign: ComponentRef;
18
+ }
19
+ export declare const createEventComponents: (eventData: ParsedEventData, options?: EventComponentOptions) => EventComponents;
20
+ export declare const extractEventData: (element: HTMLElement, options?: Partial<EventComponentOptions>) => EventComponents | null;
13
21
  export {};
14
22
  //# sourceMappingURL=_event.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"_event.d.ts","sourceRoot":"","sources":["../../source/api/_event.ts"],"names":[],"mappings":"AAMA,UAAU,cAAc;IACtB,OAAO,EAAE,WAAW,CAAC;CACtB;AAED,UAAU,eAAe;IACvB,KAAK,EAAE,WAAW,GAAG,IAAI,CAAC;IAC1B,KAAK,EAAE,WAAW,GAAG,IAAI,CAAC;IAC1B,KAAK,EAAE,WAAW,GAAG,IAAI,CAAC;IAC1B,YAAY,EAAE,WAAW,GAAG,IAAI,CAAC;IACjC,SAAS,EAAE,WAAW,GAAG,IAAI,CAAC;IAC9B,cAAc,EAAE,MAAM,CAAC;CACxB;AAyED,eAAO,MAAM,eAAe,iBAEzB,cAAc,KAAG,eAoCnB,CAAC"}
1
+ {"version":3,"file":"_event.d.ts","sourceRoot":"","sources":["../../source/api/_event.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,MAAM,EAAE,MAAM,WAAW,CAAC;AACnC,OAAO,EAAE,YAAY,EAAE,MAAM,WAAW,CAAC;AAKzC,UAAU,qBAAqB;IAE7B,WAAW,CAAC,EAAE,OAAO,CAAC;IAEtB,QAAQ,CAAC,EAAE,OAAO,CAAC;IAEnB,WAAW,CAAC,EAAE,OAAO,CAAC;IAEtB,cAAc,CAAC,EAAE,OAAO,CAAC;CAC1B;AAKD,UAAU,eAAe;IAEvB,WAAW,EAAE,UAAU,CAAC,OAAO,MAAM,CAAC,KAAK,CAAC,iBAAiB,CAAC,CAAC;IAE/D,SAAS,EAAE,UAAU,CAAC,OAAO,MAAM,CAAC,KAAK,CAAC,UAAU,CAAC,CAAC;IAEtD,OAAO,EAAE,UAAU,CAAC,OAAO,MAAM,CAAC,KAAK,CAAC,UAAU,CAAC,CAAC;IAEpD,eAAe,EAAE,OAAO,GAAG,IAAI,CAAC;CACjC;AAKD,UAAU,eAAe;IAEvB,SAAS,EAAE,YAAY,CAAC;IAExB,QAAQ,EAAE,YAAY,CAAC;CACxB;AA0ED,eAAO,MAAM,qBAAqB,cACrB,eAAe,YACjB,qBAAqB,KAC7B,eAoBF,CAAC;AA8BF,eAAO,MAAM,gBAAgB,YAClB,WAAW,YACV,OAAO,CAAC,qBAAqB,CAAC,KACvC,eAAe,GAAG,IAcpB,CAAC"}
@@ -1,3 +1,3 @@
1
- export { default as cardFireworks } from './fireworks';
1
+ export { default as cardStack } from './stack';
2
2
  export { default as chevronScroll } from './chevron-scroll';
3
3
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../source/api/brand/index.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,OAAO,IAAI,aAAa,EAAE,MAAM,aAAa,CAAC;AACvD,OAAO,EAAE,OAAO,IAAI,aAAa,EAAE,MAAM,kBAAkB,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../source/api/brand/index.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,OAAO,IAAI,SAAS,EAAE,MAAM,SAAS,CAAC;AAC/C,OAAO,EAAE,OAAO,IAAI,aAAa,EAAE,MAAM,kBAAkB,CAAC"}
@@ -0,0 +1,4 @@
1
+ import { ComponentRegistration } from '../_types';
2
+ declare const registration: ComponentRegistration;
3
+ export default registration;
4
+ //# sourceMappingURL=stack.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"stack.d.ts","sourceRoot":"","sources":["../../../source/api/brand/stack.ts"],"names":[],"mappings":"AAEA,OAAO,EAA2B,qBAAqB,EAAE,MAAM,WAAW,CAAC;AA8G3E,QAAA,MAAM,YAAY,EAAE,qBAIlB,CAAC;AAEH,eAAe,YAAY,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"event.d.ts","sourceRoot":"","sources":["../../../source/api/card/event.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAEV,qBAAqB,EAEtB,MAAM,WAAW,CAAC;AAoNnB,QAAA,MAAM,YAAY,EAAE,qBAIlB,CAAC;AAEH,eAAe,YAAY,CAAC"}
1
+ {"version":3,"file":"event.d.ts","sourceRoot":"","sources":["../../../source/api/card/event.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAEV,qBAAqB,EAEtB,MAAM,WAAW,CAAC;AAmLnB,QAAA,MAAM,YAAY,EAAE,qBAIlB,CAAC;AAEH,eAAe,YAAY,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"image.d.ts","sourceRoot":"","sources":["../../../source/api/pathway/image.ts"],"names":[],"mappings":";AAyLA,wBAIG"}
1
+ {"version":3,"file":"image.d.ts","sourceRoot":"","sources":["../../../source/api/pathway/image.ts"],"names":[],"mappings":";AAmMA,wBAIG"}