@universityofmaryland/web-components-library 1.7.0-beta.4 → 1.7.0-beta.6

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.
@@ -54,10 +54,6 @@
54
54
  !*** ./source/api/tabs/index.ts ***!
55
55
  \**********************************/
56
56
 
57
- /*!**********************************!*\
58
- !*** ./source/utilities/date.ts ***!
59
- \**********************************/
60
-
61
57
  /*!***********************************!*\
62
58
  !*** ./source/api/event/index.ts ***!
63
59
  \***********************************/
@@ -158,10 +154,6 @@
158
154
  !*** ./source/model/slots/mapping.ts ***!
159
155
  \***************************************/
160
156
 
161
- /*!***************************************!*\
162
- !*** ./source/utilities/animation.ts ***!
163
- \***************************************/
164
-
165
157
  /*!****************************************!*\
166
158
  !*** ../variables/dist/layout/grid.js ***!
167
159
  \****************************************/
@@ -186,6 +178,10 @@
186
178
  !*** ./source/api/scroll-top/index.ts ***!
187
179
  \****************************************/
188
180
 
181
+ /*!****************************************!*\
182
+ !*** ./source/utilities/animations.ts ***!
183
+ \****************************************/
184
+
189
185
  /*!*****************************************!*\
190
186
  !*** ../variables/dist/layout/index.js ***!
191
187
  \*****************************************/
@@ -306,6 +302,10 @@
306
302
  !*** ./source/utilities/markup/event.ts ***!
307
303
  \******************************************/
308
304
 
305
+ /*!******************************************!*\
306
+ !*** ./source/utilities/markup/index.ts ***!
307
+ \******************************************/
308
+
309
309
  /*!*******************************************!*\
310
310
  !*** ../../node_modules/cssesc/cssesc.js ***!
311
311
  \*******************************************/
@@ -1,5 +1,5 @@
1
- declare const StylesTemplate: ({ styles }: {
1
+ declare const stylesTemplate: ({ styles }: {
2
2
  styles: string;
3
3
  }) => HTMLTemplateElement;
4
- export default StylesTemplate;
4
+ export default stylesTemplate;
5
5
  //# sourceMappingURL=styles.d.ts.map
@@ -0,0 +1,2 @@
1
+ export declare const loadIntersectionObserver: () => void;
2
+ //# sourceMappingURL=animations.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"animations.d.ts","sourceRoot":"","sources":["../../source/utilities/animations.ts"],"names":[],"mappings":"AAGA,eAAO,MAAM,wBAAwB,YA+FpC,CAAC"}
@@ -1,9 +1,4 @@
1
- import Animation from './animation';
2
- import DateUtility from './date';
3
- import MarkupCreate from './markup/create';
4
- import MarkupEvent from './markup/event';
5
- import MarkupModify from './markup/modify';
6
- import MarkupValidate from './markup/validate';
7
- import Styles from './styles';
8
- export { Animation, DateUtility, MarkupCreate, MarkupEvent, MarkupModify, MarkupValidate, Styles, };
1
+ export * as Animations from './animations';
2
+ export * as Markup from './markup';
3
+ export * as Styles from './styles';
9
4
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../source/utilities/index.ts"],"names":[],"mappings":"AAAA,OAAO,SAAS,MAAM,aAAa,CAAC;AACpC,OAAO,WAAW,MAAM,QAAQ,CAAC;AACjC,OAAO,YAAY,MAAM,iBAAiB,CAAC;AAC3C,OAAO,WAAW,MAAM,gBAAgB,CAAC;AACzC,OAAO,YAAY,MAAM,iBAAiB,CAAC;AAC3C,OAAO,cAAc,MAAM,mBAAmB,CAAC;AAC/C,OAAO,MAAM,MAAM,UAAU,CAAC;AAE9B,OAAO,EACL,SAAS,EACT,WAAW,EACX,YAAY,EACZ,WAAW,EACX,YAAY,EACZ,cAAc,EACd,MAAM,GACP,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../source/utilities/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,UAAU,MAAM,cAAc,CAAC;AAC3C,OAAO,KAAK,MAAM,MAAM,UAAU,CAAC;AAGnC,OAAO,KAAK,MAAM,MAAM,UAAU,CAAC"}
@@ -1,41 +1,28 @@
1
+ export declare const Node: {
2
+ slot: ({ type }: {
3
+ type: string;
4
+ }) => HTMLSlotElement;
5
+ linkWithSpan: ({ url, title, label, }: {
6
+ url: string;
7
+ title: string;
8
+ label?: string;
9
+ }) => HTMLAnchorElement;
10
+ stylesTemplate: ({ styles }: {
11
+ styles: string;
12
+ }) => HTMLTemplateElement;
13
+ };
1
14
  export declare const SlotWithDefaultStyling: ({ element, slotRef, }: {
2
15
  element: HTMLElement;
3
16
  slotRef: string;
4
17
  }) => HTMLElement | null;
5
- declare const _default: {
6
- Node: {
7
- span: ({ text }: {
8
- text: string;
9
- }) => HTMLSpanElement;
10
- slot: ({ type }: {
11
- type: string;
12
- }) => HTMLSlotElement;
13
- imageFromSvg: ({ SVG }: {
14
- SVG: string;
15
- }) => HTMLImageElement;
16
- linkWithSpan: ({ url, title, label, }: {
17
- url: string;
18
- title: string;
19
- label?: string;
20
- }) => HTMLAnchorElement;
21
- stylesTemplate: ({ styles }: {
22
- styles: string;
23
- }) => HTMLTemplateElement;
18
+ export declare const SlotOberserver: ({ element, shadowDom, slots, CreateShadowDom, }: {
19
+ element: HTMLElement;
20
+ shadowDom: ShadowRoot;
21
+ slots: {
22
+ [key: string]: string;
24
23
  };
25
- SlotWithDefaultStyling: ({ element, slotRef, }: {
26
- element: HTMLElement;
27
- slotRef: string;
28
- }) => HTMLElement | null;
29
- SlotOberserver: ({ element, shadowDom, slots, CreateShadowDom, }: {
30
- element: HTMLElement;
31
- shadowDom: ShadowRoot;
32
- slots: {
33
- [key: string]: string;
34
- };
35
- CreateShadowDom: ({ element }: {
36
- element: any;
37
- }) => void;
24
+ CreateShadowDom: ({ element }: {
25
+ element: any;
38
26
  }) => void;
39
- };
40
- export default _default;
27
+ }) => void;
41
28
  //# sourceMappingURL=create.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"create.d.ts","sourceRoot":"","sources":["../../../source/utilities/markup/create.ts"],"names":[],"mappings":"AAsDA,eAAO,MAAM,sBAAsB,0BAGhC;IACD,OAAO,EAAE,WAAW,CAAC;IACrB,OAAO,EAAE,MAAM,CAAC;CACjB,uBAeA,CAAC;;;yBA1EiB;YAAE,IAAI,EAAE,MAAM,CAAA;SAAE;yBAOhB;YAAE,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GAAG,CAAA;KAAE,KAAK,IAAI,CAAC;CAC1D,SAiCA,CAAC"}
@@ -1,17 +1,14 @@
1
- declare const _default: {
2
- CreateDate: ({ element }: {
3
- element: HTMLElement | Element | null;
4
- }) => {
5
- dayOfWeek: string;
6
- month: string;
7
- day: string;
8
- time: string;
9
- } | null;
10
- CreateDetailsData: ({ locationElement, startDate, endDate, }: {
11
- locationElement?: HTMLElement | Element | null;
12
- startDate: Record<string, string>;
13
- endDate?: Record<string, string> | null;
14
- }) => any;
15
- };
16
- export default _default;
1
+ export declare const createDate: ({ element, }: {
2
+ element: HTMLElement | Element | null;
3
+ }) => {
4
+ dayOfWeek: string;
5
+ month: string;
6
+ day: string;
7
+ time: string;
8
+ } | null;
9
+ export declare const createDetailsData: ({ locationElement, startDate, endDate, }: {
10
+ locationElement?: HTMLElement | Element | null;
11
+ startDate: Record<string, string>;
12
+ endDate?: Record<string, string> | null;
13
+ }) => any;
17
14
  //# sourceMappingURL=event.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"event.d.ts","sourceRoot":"","sources":["../../../source/utilities/markup/event.ts"],"names":[],"mappings":";8BAEiC;QAAE,OAAO,EAAE,WAAW,GAAG,OAAO,GAAG,IAAI,CAAA;KAAE;;;;;;kEAsBvE;QACD,eAAe,CAAC,EAAE,WAAW,GAAG,OAAO,GAAG,IAAI,CAAC;QAC/C,SAAS,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;QAClC,OAAO,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,GAAG,IAAI,CAAC;KACzC;;AAsBD,wBAGE"}
1
+ {"version":3,"file":"event.d.ts","sourceRoot":"","sources":["../../../source/utilities/markup/event.ts"],"names":[],"mappings":"AA6BA,eAAO,MAAM,UAAU,iBAEpB;IACD,OAAO,EAAE,WAAW,GAAG,OAAO,GAAG,IAAI,CAAC;CACvC;;;;;QAgBA,CAAC;AAEF,eAAO,MAAM,iBAAiB,6CAI3B;IACD,eAAe,CAAC,EAAE,WAAW,GAAG,OAAO,GAAG,IAAI,CAAC;IAC/C,SAAS,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;IAClC,OAAO,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,GAAG,IAAI,CAAC;CACzC,QAoBA,CAAC"}
@@ -0,0 +1,5 @@
1
+ export * as event from './event';
2
+ export * as create from './create';
3
+ export * as modify from './modify';
4
+ export * as validate from './validate';
5
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../source/utilities/markup/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,SAAS,CAAC;AAGjC,OAAO,KAAK,MAAM,MAAM,UAAU,CAAC;AAGnC,OAAO,KAAK,MAAM,MAAM,UAAU,CAAC;AAGnC,OAAO,KAAK,QAAQ,MAAM,YAAY,CAAC"}
@@ -1,27 +1,4 @@
1
- declare const _default: {
2
- AnimationLinkSpan: ({ element, }: {
3
- element: HTMLElement | HTMLAnchorElement;
4
- }) => void;
5
- CleanCopy: ({ element }: {
6
- element: HTMLElement;
7
- }) => HTMLAnchorElement;
8
- CtaStyle: ({ element, styleClass, }: {
9
- element: HTMLElement | HTMLAnchorElement;
10
- styleClass: string;
11
- }) => void;
12
- TruncateTextBasedOnSize: ({ text, size, breakpointLarge, breakpointMax, textSizeSmall, textSizeLarge, textSizeMax, }: {
13
- text: string;
14
- size: number;
15
- breakpointLarge?: number;
16
- breakpointMax?: number;
17
- textSizeSmall?: number;
18
- textSizeLarge?: number;
19
- textSizeMax?: number;
20
- }) => string;
21
- TruncateText: ({ text, maxTextSize, }: {
22
- text: string;
23
- maxTextSize: number;
24
- }) => string;
25
- };
26
- export default _default;
1
+ export declare const AnimationLinkSpan: ({ element, }: {
2
+ element: HTMLElement | HTMLAnchorElement;
3
+ }) => void;
27
4
  //# sourceMappingURL=modify.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"modify.d.ts","sourceRoot":"","sources":["../../../source/utilities/markup/modify.ts"],"names":[],"mappings":";sCAEG;QACD,OAAO,EAAE,WAAW,GAAG,iBAAiB,CAAC;KAC1C;6BAiH+B;QAAE,OAAO,EAAE,WAAW,CAAA;KAAE;yCAzFrD;QACD,OAAO,EAAE,WAAW,GAAG,iBAAiB,CAAC;QACzC,UAAU,EAAE,MAAM,CAAC;KACpB;0HAmEE;QACD,IAAI,EAAE,MAAM,CAAC;QACb,IAAI,EAAE,MAAM,CAAC;QACb,eAAe,CAAC,EAAE,MAAM,CAAC;QACzB,aAAa,CAAC,EAAE,MAAM,CAAC;QACvB,aAAa,CAAC,EAAE,MAAM,CAAC;QACvB,aAAa,CAAC,EAAE,MAAM,CAAC;QACvB,WAAW,CAAC,EAAE,MAAM,CAAC;KACtB;2CA7DE;QACD,IAAI,EAAE,MAAM,CAAC;QACb,WAAW,EAAE,MAAM,CAAC;KACrB;;AAoFD,wBAME"}
1
+ {"version":3,"file":"modify.d.ts","sourceRoot":"","sources":["../../../source/utilities/markup/modify.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,iBAAiB,iBAE3B;IACD,OAAO,EAAE,WAAW,GAAG,iBAAiB,CAAC;CAC1C,SAiBA,CAAC"}
@@ -1,15 +1,12 @@
1
- declare const _default: {
2
- ImageHasAlt: ({ image }: {
3
- image: HTMLImageElement;
4
- }) => boolean;
5
- ImageAlt: ({ element, slotRef, }: {
6
- element: HTMLElement;
7
- slotRef: string;
8
- }) => boolean;
9
- ImageSlot: ({ element, ImageSlot, }: {
10
- element: HTMLElement;
11
- ImageSlot: string;
12
- }) => HTMLImageElement | null;
13
- };
14
- export default _default;
1
+ export declare const imageAlt: ({ element, slotRef, }: {
2
+ element: HTMLElement;
3
+ slotRef: string;
4
+ }) => boolean;
5
+ export declare const ImageHasAlt: ({ image }: {
6
+ image: HTMLImageElement;
7
+ }) => boolean;
8
+ export declare const ImageSlot: ({ element, ImageSlot, }: {
9
+ element: HTMLElement;
10
+ ImageSlot: string;
11
+ }) => HTMLImageElement | null;
15
12
  //# sourceMappingURL=validate.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"validate.d.ts","sourceRoot":"","sources":["../../../source/utilities/markup/validate.ts"],"names":[],"mappings":";6BAEgC;QAAE,KAAK,EAAE,gBAAgB,CAAA;KAAE;sCAexD;QACD,OAAO,EAAE,WAAW,CAAC;QACrB,OAAO,EAAE,MAAM,CAAC;KACjB;yCAiBE;QACD,OAAO,EAAE,WAAW,CAAC;QACrB,SAAS,EAAE,MAAM,CAAC;KACnB;;AAWD,wBAIE"}
1
+ {"version":3,"file":"validate.d.ts","sourceRoot":"","sources":["../../../source/utilities/markup/validate.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,QAAQ,0BAGlB;IACD,OAAO,EAAE,WAAW,CAAC;IACrB,OAAO,EAAE,MAAM,CAAC;CACjB,YAYA,CAAC;AAEF,eAAO,MAAM,WAAW,cAAe;IAAE,KAAK,EAAE,gBAAgB,CAAA;CAAE,YAUjE,CAAC;AAEF,eAAO,MAAM,SAAS,4BAGnB;IACD,OAAO,EAAE,WAAW,CAAC;IACrB,SAAS,EAAE,MAAM,CAAC;CACnB,4BASA,CAAC"}
@@ -1,8 +1,5 @@
1
- declare const _default: {
2
- ResetString: string;
3
- convertJSSObjectToStyles: ({ styleObj }: {
4
- styleObj: any;
5
- }) => string;
6
- };
7
- export default _default;
1
+ export declare const reset: string;
2
+ export declare const convertJSSObjectToStyles: ({ styleObj }: {
3
+ styleObj: any;
4
+ }) => string;
8
5
  //# sourceMappingURL=styles.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"styles.d.ts","sourceRoot":"","sources":["../../source/utilities/styles.ts"],"names":[],"mappings":";;6CA+EgD;QAAE,QAAQ,EAAE,GAAG,CAAA;KAAE;;AAKjE,wBAGE"}
1
+ {"version":3,"file":"styles.d.ts","sourceRoot":"","sources":["../../source/utilities/styles.ts"],"names":[],"mappings":"AAQA,eAAO,MAAM,KAAK,QAqEjB,CAAC;AAEF,eAAO,MAAM,wBAAwB,iBAAkB;IAAE,QAAQ,EAAE,GAAG,CAAA;CAAE,WAGhE,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@universityofmaryland/web-components-library",
3
- "version": "1.7.0-beta.4",
3
+ "version": "1.7.0-beta.6",
4
4
  "description": "UMD Web Components",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.js",
@@ -1,5 +0,0 @@
1
- declare const _default: {
2
- Load: () => void;
3
- };
4
- export default _default;
5
- //# sourceMappingURL=animation.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"animation.d.ts","sourceRoot":"","sources":["../../source/utilities/animation.ts"],"names":[],"mappings":";;;AAoGA,wBAEE"}
@@ -1,15 +0,0 @@
1
- declare const _default: {
2
- CreateVisualFormattedDate: (date: Date) => {
3
- full: string;
4
- dayOfWeekLong: string;
5
- dayOfWeek: string;
6
- month: string;
7
- day: string;
8
- time: string;
9
- };
10
- CreateDateCompareString: (date: Date) => {
11
- palindromeTruncated: string;
12
- };
13
- };
14
- export default _default;
15
- //# sourceMappingURL=date.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"date.d.ts","sourceRoot":"","sources":["../../source/utilities/date.ts"],"names":[],"mappings":";sCAAyC,IAAI;;;;;;;;oCA6BN,IAAI;;;;AAO3C,wBAGE"}