@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.
- package/dist/api/event/lockup.d.ts.map +1 -1
- package/dist/api/quote/index.d.ts.map +1 -1
- package/dist/index.d.ts +8 -134
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +1 -1
- package/dist/index.js.LICENSE.txt +8 -8
- package/dist/model/utilities/styles.d.ts +2 -2
- package/dist/utilities/animations.d.ts +2 -0
- package/dist/utilities/animations.d.ts.map +1 -0
- package/dist/utilities/index.d.ts +3 -8
- package/dist/utilities/index.d.ts.map +1 -1
- package/dist/utilities/markup/create.d.ts +21 -34
- package/dist/utilities/markup/create.d.ts.map +1 -1
- package/dist/utilities/markup/event.d.ts +13 -16
- package/dist/utilities/markup/event.d.ts.map +1 -1
- package/dist/utilities/markup/index.d.ts +5 -0
- package/dist/utilities/markup/index.d.ts.map +1 -0
- package/dist/utilities/markup/modify.d.ts +3 -26
- package/dist/utilities/markup/modify.d.ts.map +1 -1
- package/dist/utilities/markup/validate.d.ts +11 -14
- package/dist/utilities/markup/validate.d.ts.map +1 -1
- package/dist/utilities/styles.d.ts +4 -7
- package/dist/utilities/styles.d.ts.map +1 -1
- package/package.json +1 -1
- package/dist/utilities/animation.d.ts +0 -5
- package/dist/utilities/animation.d.ts.map +0 -1
- package/dist/utilities/date.d.ts +0 -15
- package/dist/utilities/date.d.ts.map +0 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"lockup.d.ts","sourceRoot":"","sources":["../../../source/api/event/lockup.ts"],"names":[],"mappings":"AAAA,OAAO,CAAC,MAAM,CAAC;IACb,UAAU,MAAM;QACd,oBAAoB,EAAE,OAAO,oBAAoB,CAAC;KACnD;CACF;
|
|
1
|
+
{"version":3,"file":"lockup.d.ts","sourceRoot":"","sources":["../../../source/api/event/lockup.ts"],"names":[],"mappings":"AAAA,OAAO,CAAC,MAAM,CAAC;IACb,UAAU,MAAM;QACd,oBAAoB,EAAE,OAAO,oBAAoB,CAAC;KACnD;CACF;AAwDD,cAAM,oBAAqB,SAAQ,WAAW;IAC5C,OAAO,EAAE,UAAU,CAAC;;IAUpB,iBAAiB;CAGlB;;;;AAYD,wBAEE"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../source/api/quote/index.ts"],"names":[],"mappings":"AAAA,OAAO,CAAC,MAAM,CAAC;IACb,UAAU,MAAM;QACd,eAAe,EAAE,OAAO,eAAe,CAAC;KACzC;CACF;
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../source/api/quote/index.ts"],"names":[],"mappings":"AAAA,OAAO,CAAC,MAAM,CAAC;IACb,UAAU,MAAM;QACd,eAAe,EAAE,OAAO,eAAe,CAAC;KACzC;CACF;AAoED,qBAAa,eAAgB,SAAQ,WAAW;IAC9C,OAAO,EAAE,UAAU,CAAC;;IAUpB,iBAAiB;CAGlB;;;;AAYD,wBAEE"}
|
package/dist/index.d.ts
CHANGED
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import * as UmdElements from '@universityofmaryland/web-elements-library';
|
|
2
|
+
import * as UmdUtilities from './utilities';
|
|
2
3
|
declare const LoadUmdComponents: () => void;
|
|
3
4
|
export declare const Components: {
|
|
4
5
|
AlertPage: {
|
|
@@ -170,7 +171,7 @@ export declare const Components: {
|
|
|
170
171
|
export declare const Elements: {
|
|
171
172
|
TypeEventFeedRequirements: any;
|
|
172
173
|
TypeNewsFeedRequirements: any;
|
|
173
|
-
|
|
174
|
+
Composite: typeof UmdElements.Composite;
|
|
174
175
|
Feeds: typeof UmdElements.Feeds;
|
|
175
176
|
Layout: typeof UmdElements.Layout;
|
|
176
177
|
Macros: typeof UmdElements.Macros;
|
|
@@ -178,142 +179,15 @@ export declare const Elements: {
|
|
|
178
179
|
};
|
|
179
180
|
export declare const Utilties: {
|
|
180
181
|
Accessibility: typeof UmdElements.Utilities.Accessibility;
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
AssetSocial: typeof UmdElements.Utilities.AssetSocial;
|
|
184
|
-
DateUtility: {
|
|
185
|
-
CreateVisualFormattedDate: (date: Date) => {
|
|
186
|
-
full: string;
|
|
187
|
-
dayOfWeekLong: string;
|
|
188
|
-
dayOfWeek: string;
|
|
189
|
-
month: string;
|
|
190
|
-
day: string;
|
|
191
|
-
time: string;
|
|
192
|
-
};
|
|
193
|
-
CreateDateCompareString: (date: Date) => {
|
|
194
|
-
palindromeTruncated: string;
|
|
195
|
-
};
|
|
196
|
-
};
|
|
197
|
-
ElementModel: {
|
|
198
|
-
headline: typeof import("@universityofmaryland/web-elements-library/dist/utilities/element-model/headline");
|
|
199
|
-
richText: typeof import("@universityofmaryland/web-elements-library/dist/utilities/element-model/rich-text");
|
|
200
|
-
};
|
|
182
|
+
Asset: typeof UmdElements.Utilities.Asset;
|
|
183
|
+
DateUtility: typeof UmdElements.Utilities.DateUtility;
|
|
201
184
|
JavascriptEvents: typeof UmdElements.Utilities.JavascriptEvents;
|
|
185
|
+
Markup: typeof UmdElements.Utilities.Markup;
|
|
202
186
|
Network: typeof UmdElements.Utilities.Network;
|
|
203
187
|
Performance: typeof UmdElements.Utilities.Performance;
|
|
204
|
-
Storage:
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
Styles: {
|
|
208
|
-
animations: typeof import("@universityofmaryland/web-elements-library/dist/utilities/styles/animations");
|
|
209
|
-
assets: typeof import("@universityofmaryland/web-elements-library/dist/utilities/styles/assets");
|
|
210
|
-
fonts: typeof import("@universityofmaryland/web-elements-library/dist/utilities/styles/fonts");
|
|
211
|
-
combineStyles: (...styles: string[]) => string;
|
|
212
|
-
convertJSSObjectToStyles: ({ styleObj }: {
|
|
213
|
-
styleObj: any;
|
|
214
|
-
}) => string;
|
|
215
|
-
convertPixelStringToNumber: (styleStr: string) => number;
|
|
216
|
-
};
|
|
217
|
-
MarkupCreate: {
|
|
218
|
-
CreateGif: ({ container, }: {
|
|
219
|
-
container: HTMLDivElement | null;
|
|
220
|
-
}) => void;
|
|
221
|
-
Node: {
|
|
222
|
-
span: ({ text }: {
|
|
223
|
-
text: string;
|
|
224
|
-
}) => HTMLSpanElement;
|
|
225
|
-
slot: ({ type }: {
|
|
226
|
-
type: string;
|
|
227
|
-
}) => HTMLSlotElement;
|
|
228
|
-
imageFromSvg: ({ SVG }: {
|
|
229
|
-
SVG: string;
|
|
230
|
-
}) => HTMLImageElement;
|
|
231
|
-
linkWithSpan: ({ url, title, label, }: {
|
|
232
|
-
url: string;
|
|
233
|
-
title: string;
|
|
234
|
-
label?: string;
|
|
235
|
-
}) => HTMLAnchorElement;
|
|
236
|
-
stylesTemplate: ({ styles }: {
|
|
237
|
-
styles: string;
|
|
238
|
-
}) => HTMLTemplateElement;
|
|
239
|
-
};
|
|
240
|
-
SlotWithDefaultStyling: ({ element, slotRef, }: {
|
|
241
|
-
element: HTMLElement;
|
|
242
|
-
slotRef: string;
|
|
243
|
-
}) => HTMLElement | null;
|
|
244
|
-
SlotOberserver: ({ element, shadowDom, slots, CreateShadowDom, }: {
|
|
245
|
-
element: HTMLElement;
|
|
246
|
-
shadowDom: ShadowRoot;
|
|
247
|
-
slots: {
|
|
248
|
-
[key: string]: string;
|
|
249
|
-
};
|
|
250
|
-
CreateShadowDom: ({ element }: {
|
|
251
|
-
element: any;
|
|
252
|
-
}) => void;
|
|
253
|
-
}) => void;
|
|
254
|
-
};
|
|
255
|
-
MarkupEvent: {
|
|
256
|
-
CreateDate: ({ element }: {
|
|
257
|
-
element: HTMLElement | Element | null;
|
|
258
|
-
}) => {
|
|
259
|
-
dayOfWeek: string;
|
|
260
|
-
month: string;
|
|
261
|
-
day: string;
|
|
262
|
-
time: string;
|
|
263
|
-
} | null;
|
|
264
|
-
CreateDetailsData: ({ locationElement, startDate, endDate, }: {
|
|
265
|
-
locationElement?: HTMLElement | Element | null;
|
|
266
|
-
startDate: Record<string, string>;
|
|
267
|
-
endDate?: Record<string, string> | null;
|
|
268
|
-
}) => any;
|
|
269
|
-
};
|
|
270
|
-
MarkupLocate: {
|
|
271
|
-
FindParent: ({ element, attr, }: {
|
|
272
|
-
element: HTMLElement;
|
|
273
|
-
attr: string;
|
|
274
|
-
}) => HTMLElement;
|
|
275
|
-
};
|
|
276
|
-
MarkupModify: {
|
|
277
|
-
AnimationLinkSpan: ({ element, }: {
|
|
278
|
-
element: HTMLElement | HTMLAnchorElement;
|
|
279
|
-
}) => void;
|
|
280
|
-
CleanCopy: ({ element }: {
|
|
281
|
-
element: HTMLElement;
|
|
282
|
-
}) => HTMLAnchorElement;
|
|
283
|
-
CtaStyle: ({ element, styleClass, }: {
|
|
284
|
-
element: HTMLElement | HTMLAnchorElement;
|
|
285
|
-
styleClass: string;
|
|
286
|
-
}) => void;
|
|
287
|
-
TruncateTextBasedOnSize: ({ text, size, breakpointLarge, breakpointMax, textSizeSmall, textSizeLarge, textSizeMax, }: {
|
|
288
|
-
text: string;
|
|
289
|
-
size: number;
|
|
290
|
-
breakpointLarge?: number;
|
|
291
|
-
breakpointMax?: number;
|
|
292
|
-
textSizeSmall?: number;
|
|
293
|
-
textSizeLarge?: number;
|
|
294
|
-
textSizeMax?: number;
|
|
295
|
-
}) => string;
|
|
296
|
-
TruncateText: ({ text, maxTextSize, }: {
|
|
297
|
-
text: string;
|
|
298
|
-
maxTextSize: number;
|
|
299
|
-
}) => string;
|
|
300
|
-
};
|
|
301
|
-
MarkupValidate: {
|
|
302
|
-
ImageHasAlt: ({ image }: {
|
|
303
|
-
image: HTMLImageElement;
|
|
304
|
-
}) => boolean;
|
|
305
|
-
ImageAlt: ({ element, slotRef, }: {
|
|
306
|
-
element: HTMLElement;
|
|
307
|
-
slotRef: string;
|
|
308
|
-
}) => boolean;
|
|
309
|
-
ImageSlot: ({ element, ImageSlot, }: {
|
|
310
|
-
element: HTMLElement;
|
|
311
|
-
ImageSlot: string;
|
|
312
|
-
}) => HTMLImageElement | null;
|
|
313
|
-
};
|
|
314
|
-
Animation: {
|
|
315
|
-
Load: () => void;
|
|
316
|
-
};
|
|
188
|
+
Storage: typeof UmdElements.Utilities.Storage;
|
|
189
|
+
Styles: typeof UmdElements.Utilities.Styles;
|
|
190
|
+
Animations: typeof UmdUtilities.Animations;
|
|
317
191
|
};
|
|
318
192
|
export default LoadUmdComponents;
|
|
319
193
|
//# sourceMappingURL=index.d.ts.map
|
package/dist/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../source/index.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,WAAW,MAAM,4CAA4C,CAAC;
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../source/index.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,WAAW,MAAM,4CAA4C,CAAC;AAC1E,OAAO,KAAK,YAAY,MAAM,aAAa,CAAC;AAE5C,QAAA,MAAM,iBAAiB,YAMtB,CAAC;AAEF,eAAO,MAAM,UAAU;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAEtB,CAAC;AAEF,eAAO,MAAM,QAAQ;;;;;;;;CAEpB,CAAC;AAEF,eAAO,MAAM,QAAQ;;;;;;;;;;;CAGpB,CAAC;AAEF,eAAe,iBAAiB,CAAC"}
|