@universityofmaryland/web-components-library 1.18.1 → 1.18.4

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/index.js CHANGED
@@ -1,5 +1,5 @@
1
- import { u as a } from "./loader-D4cxDAWo.js";
2
- import { L as t, l as i } from "./loader-D4cxDAWo.js";
1
+ import { u as a } from "./loader-CD8tNz2T.js";
2
+ import { L as t, l as i } from "./loader-CD8tNz2T.js";
3
3
  import { A as n, a as p } from "./index-DfPIaBDn.js";
4
4
  import { A as m, a as f } from "./index-ttzsIJeg.js";
5
5
  import { A as c, a as u, b as C, c as g } from "./index-Cl0QSfTe.js";
@@ -11,7 +11,7 @@ import { F as _, f as $ } from "./index-C8QF5Yaz.js";
11
11
  import { H as ea, a as sa, b as oa, c as ra, d as ta, e as ia, h as da } from "./index-yQgu19Cg.js";
12
12
  import { L as pa, a as la, b as ma, c as fa, d as xa, e as ca, f as ua, l as Ca } from "./index-CjOuk67A.js";
13
13
  import { M as ya, a as Sa, m as va } from "./index-BIivaL9F.js";
14
- import { N as Fa, a as ba, b as Ea, c as ha, d as Aa, e as Ha, n as Ia } from "./index-BLm1QedK.js";
14
+ import { N as Fa, a as ba, b as Ea, c as ha, d as Aa, e as Ha, n as Ia } from "./index-BGK3DZ1i.js";
15
15
  import { P as Ba, a as Pa, p as wa } from "./index-D-Cxht6b.js";
16
16
  import { P as Ta, a as Ga, b as Ma, p as ka } from "./index-Dh2smeN4.js";
17
17
  import { Q as Oa, q as Qa } from "./index-gc3fkzDA.js";
@@ -3,7 +3,7 @@ import { f as t } from "./index-C8YoHmAp.js";
3
3
  import { f as r } from "./index-C8QF5Yaz.js";
4
4
  import { s as a } from "./index-D_H6cdkS.js";
5
5
  import { t as m } from "./index-BbC8gAkR.js";
6
- import { l as s } from "./loader-D4cxDAWo.js";
6
+ import { l as s } from "./loader-CD8tNz2T.js";
7
7
  const i = {
8
8
  accordion: o,
9
9
  carousel: t,
@@ -9,7 +9,7 @@ import { F as U, f as q } from "./index-C8QF5Yaz.js";
9
9
  import { H as z, a as Q, b as V, c as W, d as K, e as R, h as J } from "./index-yQgu19Cg.js";
10
10
  import { L as X, a as Y, b as Z, c as $, d as aa, e as oa, f as sa, l as ea } from "./index-CjOuk67A.js";
11
11
  import { M as ra, a as ta, m as ia } from "./index-BIivaL9F.js";
12
- import { N as na, a as da, b as ma, c as la, d as pa, e as ca, n as fa } from "./index-BLm1QedK.js";
12
+ import { N as na, a as da, b as ma, c as la, d as pa, e as ca, n as fa } from "./index-BGK3DZ1i.js";
13
13
  import { P as ua, a as ya, p as Ca } from "./index-D-Cxht6b.js";
14
14
  import { P as ba, a as ga, b as Sa, p as va } from "./index-Dh2smeN4.js";
15
15
  import { Q as La, q as Ea } from "./index-gc3fkzDA.js";
@@ -122,4 +122,4 @@ export {
122
122
  Oa as l,
123
123
  Ta as u
124
124
  };
125
- //# sourceMappingURL=loader-D4cxDAWo.js.map
125
+ //# sourceMappingURL=loader-CD8tNz2T.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"loader-D4cxDAWo.js","sources":["../source/exports/loader.ts"],"sourcesContent":["/**\n * Shared component loading utilities\n * Extracted to avoid circular dependencies\n */\nimport * as umdComponents from '../web-components';\n\n/**\n * Type definition for a map of component registration functions.\n * Used to organize components by category and variant.\n */\nexport interface ComponentMap {\n [key: string]: {\n [subKey: string]: () => void;\n };\n}\n\n/**\n * Utility function to register a collection of UMD web components.\n * Iterates through a ComponentMap and calls each registration function.\n */\nexport const loadComponentClass = (componentMap: ComponentMap) => {\n for (const key in componentMap) {\n if (Object.prototype.hasOwnProperty.call(componentMap, key)) {\n const component = componentMap[key];\n\n for (const subKey in component) {\n if (Object.prototype.hasOwnProperty.call(component, subKey)) {\n component[subKey]();\n }\n }\n }\n }\n};\n\nconst allList = umdComponents as unknown as ComponentMap;\n\n/**\n * @deprecated This function is deprecated and will be removed in version 2.0.\n * Use the bundle export instead:\n * ```typescript\n * import { initializeBundle } from '@universityofmaryland/web-components-library/bundle';\n * initializeBundle();\n * ```\n */\nexport const LoadUmdComponents = () => {\n console.error(\n '[DEPRECATED] LoadUmdComponents is deprecated.\\n' +\n 'Use: import { initializeBundle } from \"@universityofmaryland/web-components-library/bundle\"',\n );\n\n loadComponentClass(allList);\n};"],"names":["loadComponentClass","componentMap","key","component","subKey","allList","umdComponents","LoadUmdComponents"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;8CAoBaA,KAAqB,CAACC,MAA+B;AAChE,aAAWC,KAAOD;AAChB,QAAI,OAAO,UAAU,eAAe,KAAKA,GAAcC,CAAG,GAAG;AAC3D,YAAMC,IAAYF,EAAaC,CAAG;AAElC,iBAAWE,KAAUD;AACnB,QAAI,OAAO,UAAU,eAAe,KAAKA,GAAWC,CAAM,KACxDD,EAAUC,CAAM,EAAA;AAAA,IAGtB;AAEJ,GAEMC,KAAUC,IAUHC,KAAoB,MAAM;AACrC,UAAQ;AAAA,IACN;AAAA;AAAA,EAAA,GAIFP,GAAmBK,EAAO;AAC5B;"}
1
+ {"version":3,"file":"loader-CD8tNz2T.js","sources":["../source/exports/loader.ts"],"sourcesContent":["/**\n * Shared component loading utilities\n * Extracted to avoid circular dependencies\n */\nimport * as umdComponents from '../web-components';\n\n/**\n * Type definition for a map of component registration functions.\n * Used to organize components by category and variant.\n */\nexport interface ComponentMap {\n [key: string]: {\n [subKey: string]: () => void;\n };\n}\n\n/**\n * Utility function to register a collection of UMD web components.\n * Iterates through a ComponentMap and calls each registration function.\n */\nexport const loadComponentClass = (componentMap: ComponentMap) => {\n for (const key in componentMap) {\n if (Object.prototype.hasOwnProperty.call(componentMap, key)) {\n const component = componentMap[key];\n\n for (const subKey in component) {\n if (Object.prototype.hasOwnProperty.call(component, subKey)) {\n component[subKey]();\n }\n }\n }\n }\n};\n\nconst allList = umdComponents as unknown as ComponentMap;\n\n/**\n * @deprecated This function is deprecated and will be removed in version 2.0.\n * Use the bundle export instead:\n * ```typescript\n * import { initializeBundle } from '@universityofmaryland/web-components-library/bundle';\n * initializeBundle();\n * ```\n */\nexport const LoadUmdComponents = () => {\n console.error(\n '[DEPRECATED] LoadUmdComponents is deprecated.\\n' +\n 'Use: import { initializeBundle } from \"@universityofmaryland/web-components-library/bundle\"',\n );\n\n loadComponentClass(allList);\n};"],"names":["loadComponentClass","componentMap","key","component","subKey","allList","umdComponents","LoadUmdComponents"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;8CAoBaA,KAAqB,CAACC,MAA+B;AAChE,aAAWC,KAAOD;AAChB,QAAI,OAAO,UAAU,eAAe,KAAKA,GAAcC,CAAG,GAAG;AAC3D,YAAMC,IAAYF,EAAaC,CAAG;AAElC,iBAAWE,KAAUD;AACnB,QAAI,OAAO,UAAU,eAAe,KAAKA,GAAWC,CAAM,KACxDD,EAAUC,CAAM,EAAA;AAAA,IAGtB;AAEJ,GAEMC,KAAUC,IAUHC,KAAoB,MAAM;AACrC,UAAQ;AAAA,IACN;AAAA;AAAA,EAAA,GAIFP,GAAmBK,EAAO;AAC5B;"}
@@ -1,8 +1,8 @@
1
1
  import { a as o } from "./index-ttzsIJeg.js";
2
2
  import { h as t } from "./index-yQgu19Cg.js";
3
3
  import { p as a } from "./index-D-Cxht6b.js";
4
- import { n as r } from "./index-BLm1QedK.js";
5
- import { l as m } from "./loader-D4cxDAWo.js";
4
+ import { n as r } from "./index-BGK3DZ1i.js";
5
+ import { l as m } from "./loader-CD8tNz2T.js";
6
6
  const s = {
7
7
  actions: o,
8
8
  hero: t,
@@ -10,11 +10,12 @@ type TypeSliderRequirements = {
10
10
  PRIMARY_SLIDE_LINKS: string;
11
11
  PRIMARY_SLIDE_SECONDARY_LINKS: string;
12
12
  CHILDREN_SLIDES: string;
13
+ excludeSlots?: string[];
13
14
  };
14
15
  type TypeNavDrawerRequirements = TypeSliderRequirements & {
15
16
  displayType?: string;
16
17
  };
17
- export declare const MakeSliderData: ({ element, PRIMARY_SLIDE_CONTENT, PRIMARY_SLIDE_LINKS, PRIMARY_SLIDE_SECONDARY_LINKS, CHILDREN_SLIDES, }: TypeSliderRequirements) => {
18
+ export declare const MakeSliderData: ({ element, PRIMARY_SLIDE_CONTENT, PRIMARY_SLIDE_LINKS, PRIMARY_SLIDE_SECONDARY_LINKS, CHILDREN_SLIDES, excludeSlots, }: TypeSliderRequirements) => {
18
19
  primarySlideLinks: HTMLElement | undefined;
19
20
  primarySlidesSecondaryLinks: HTMLElement | undefined;
20
21
  childrenSlides: HTMLElement | undefined;
@@ -1 +1 @@
1
- {"version":3,"file":"common.d.ts","sourceRoot":"","sources":["../../../source/web-components/navigation/common.ts"],"names":[],"mappings":"AAUA,eAAO,MAAM,KAAK;;;;;CAEjB,CAAC;AAEF,KAAK,sBAAsB,GAAG;IAC5B,OAAO,EAAE,WAAW,CAAC;IACrB,qBAAqB,EAAE,MAAM,CAAC;IAC9B,mBAAmB,EAAE,MAAM,CAAC;IAC5B,6BAA6B,EAAE,MAAM,CAAC;IACtC,eAAe,EAAE,MAAM,CAAC;CACzB,CAAC;AAEF,KAAK,yBAAyB,GAAG,sBAAsB,GAAG;IACxD,WAAW,CAAC,EAAE,MAAM,CAAC;CACtB,CAAC;AAEF,eAAO,MAAM,cAAc,GAAI,0GAM5B,sBAAsB;;;;;;CAgExB,CAAC;AAEF,eAAO,MAAM,aAAa,GAAI,OAAO,yBAAyB;;;;;QAO7D,CAAC;AAEF,eAAO,MAAM,aAAa,GAAI,OAAO,sBAAsB;;;;;CAIvD,CAAC"}
1
+ {"version":3,"file":"common.d.ts","sourceRoot":"","sources":["../../../source/web-components/navigation/common.ts"],"names":[],"mappings":"AAUA,eAAO,MAAM,KAAK;;;;;CAEjB,CAAC;AAEF,KAAK,sBAAsB,GAAG;IAC5B,OAAO,EAAE,WAAW,CAAC;IACrB,qBAAqB,EAAE,MAAM,CAAC;IAC9B,mBAAmB,EAAE,MAAM,CAAC;IAC5B,6BAA6B,EAAE,MAAM,CAAC;IACtC,eAAe,EAAE,MAAM,CAAC;IACxB,YAAY,CAAC,EAAE,MAAM,EAAE,CAAC;CACzB,CAAC;AAEF,KAAK,yBAAyB,GAAG,sBAAsB,GAAG;IACxD,WAAW,CAAC,EAAE,MAAM,CAAC;CACtB,CAAC;AAEF,eAAO,MAAM,cAAc,GAAI,wHAO5B,sBAAsB;;;;;;CAwExB,CAAC;AAEF,eAAO,MAAM,aAAa,GAAI,OAAO,yBAAyB;;;;;QAO7D,CAAC;AAEF,eAAO,MAAM,aAAa,GAAI,OAAO,sBAAsB;;;;;CAIvD,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"drawer.d.ts","sourceRoot":"","sources":["../../../source/web-components/navigation/drawer.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,qBAAqB,EAAE,MAAM,cAAc,CAAC;AAIrD,eAAO,MAAM,MAAM,QAQlB,CAAC;AA+EF,eAAO,MAAM,gBAAgB,EAAE,qBAGX,CAAC;AAGrB,OAAO,EAAE,gBAAgB,IAAI,MAAM,EAAE,CAAC"}
1
+ {"version":3,"file":"drawer.d.ts","sourceRoot":"","sources":["../../../source/web-components/navigation/drawer.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,qBAAqB,EAAE,MAAM,cAAc,CAAC;AAIrD,eAAO,MAAM,MAAM,QAQlB,CAAC;AAgHF,eAAO,MAAM,gBAAgB,EAAE,qBAIX,CAAC;AAGrB,OAAO,EAAE,gBAAgB,IAAI,MAAM,EAAE,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"header.d.ts","sourceRoot":"","sources":["../../../source/web-components/navigation/header.ts"],"names":[],"mappings":"AAQA,OAAO,EAAE,qBAAqB,EAAE,MAAM,cAAc,CAAC;AAuMrD,eAAO,MAAM,gBAAgB,EAAE,qBAIX,CAAC;AAGrB,OAAO,EAAE,gBAAgB,IAAI,MAAM,EAAE,CAAC"}
1
+ {"version":3,"file":"header.d.ts","sourceRoot":"","sources":["../../../source/web-components/navigation/header.ts"],"names":[],"mappings":"AAQA,OAAO,EAAE,qBAAqB,EAAE,MAAM,cAAc,CAAC;AAoPrD,eAAO,MAAM,gBAAgB,EAAE,qBAIX,CAAC;AAGrB,OAAO,EAAE,gBAAgB,IAAI,MAAM,EAAE,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@universityofmaryland/web-components-library",
3
- "version": "1.18.1",
3
+ "version": "1.18.4",
4
4
  "description": "UMD Web Components",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",
@@ -54,11 +54,11 @@
54
54
  "postcss-js": "^4.0.1",
55
55
  "postcss-nesting": "^13.0.1",
56
56
  "tw-to-css": "^0.0.12",
57
- "@universityofmaryland/web-builder-library": "^1.0.3",
58
57
  "@universityofmaryland/web-elements-library": "^1.6.11",
58
+ "@universityofmaryland/web-feeds-library": "^1.3.10",
59
+ "@universityofmaryland/web-model-library": "^1.1.1",
60
+ "@universityofmaryland/web-builder-library": "^1.0.3",
59
61
  "@universityofmaryland/web-icons-library": "^1.0.4",
60
- "@universityofmaryland/web-feeds-library": "^1.3.9",
61
- "@universityofmaryland/web-model-library": "^1.1.0",
62
62
  "@universityofmaryland/web-styles-library": "^1.8.6",
63
63
  "@universityofmaryland/web-token-library": "^1.0.1",
64
64
  "@universityofmaryland/web-utilities-library": "^1.0.5"