@carbon/ibmdotcom-web-components 2.44.0 → 2.46.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.
Files changed (36) hide show
  1. package/dist/dotcom-shell.js +5 -5
  2. package/dist/dotcom-shell.min.js +5 -5
  3. package/dist/ibmdotcom-web-components-dotcom-shell.js +5 -5
  4. package/dist/ibmdotcom-web-components-dotcom-shell.min.js +5 -5
  5. package/dist/{index-61a58423.js → index-2a27319c.js} +11 -29
  6. package/dist/{index-ec9bb3a7.js → index-6499062e.js} +9 -9
  7. package/dist/{left-nav-menu-7d664773.js → left-nav-menu-87cb8009.js} +5 -5
  8. package/dist/{left-nav-menu-category-heading-df0252db.js → left-nav-menu-category-heading-8d21b7ff.js} +5 -5
  9. package/dist/{left-nav-menu-category-heading-3fda0fd5.js → left-nav-menu-category-heading-f24e3053.js} +5 -5
  10. package/dist/{left-nav-menu-1ff7160b.js → left-nav-menu-d2fd2328.js} +5 -5
  11. package/dist/{left-nav-menu-item-b217b8fd.js → left-nav-menu-item-65681d32.js} +5 -5
  12. package/dist/{left-nav-menu-item-caa0c565.js → left-nav-menu-item-c7dd7954.js} +5 -5
  13. package/dist/{left-nav-menu-section-d00e6604.js → left-nav-menu-section-8f88f76b.js} +5 -5
  14. package/dist/{left-nav-menu-section-dbde241d.js → left-nav-menu-section-dfce35ff.js} +5 -5
  15. package/dist/{left-nav-overlay-f5867fdc.js → left-nav-overlay-69e1d9a3.js} +5 -5
  16. package/dist/{left-nav-overlay-cd84d0bc.js → left-nav-overlay-da850571.js} +5 -5
  17. package/dist/{megamenu-category-group-802948a9.js → megamenu-category-group-6674efc2.js} +5 -5
  18. package/dist/{megamenu-category-group-251cebcf.js → megamenu-category-group-c3e817e7.js} +5 -5
  19. package/dist/{megamenu-category-group-copy-7efee05a.js → megamenu-category-group-copy-49c71042.js} +5 -5
  20. package/dist/{megamenu-category-group-copy-484e9b27.js → megamenu-category-group-copy-5da065ae.js} +5 -5
  21. package/dist/{megamenu-category-heading-315eb114.js → megamenu-category-heading-7cf0e3e0.js} +5 -5
  22. package/dist/{megamenu-category-heading-2190977a.js → megamenu-category-heading-e38dad42.js} +5 -5
  23. package/dist/{megamenu-category-link-84c22ab0.js → megamenu-category-link-46334ebb.js} +5 -5
  24. package/dist/{megamenu-category-link-3d42179f.js → megamenu-category-link-fc2fc4fe.js} +5 -5
  25. package/dist/{megamenu-category-link-group-94e4b16c.js → megamenu-category-link-group-20985052.js} +5 -5
  26. package/dist/{megamenu-category-link-group-3cdb6bfc.js → megamenu-category-link-group-240c9051.js} +5 -5
  27. package/dist/{megamenu-left-navigation-b5b03849.js → megamenu-left-navigation-6245546d.js} +5 -5
  28. package/dist/{megamenu-left-navigation-ee2dc6e8.js → megamenu-left-navigation-f119bbfc.js} +5 -5
  29. package/dist/{megamenu-overlay-646b736f.js → megamenu-overlay-6350b555.js} +5 -5
  30. package/dist/{megamenu-overlay-6a12d82a.js → megamenu-overlay-babb8218.js} +5 -5
  31. package/dist/{megamenu-tab-99df887a.js → megamenu-tab-320d35fa.js} +5 -5
  32. package/dist/{megamenu-tab-5490376a.js → megamenu-tab-f8d14ecf.js} +5 -5
  33. package/es/components/masthead/masthead-cart.d.ts +0 -1
  34. package/es/components/masthead/masthead-cart.js +5 -23
  35. package/es/components/masthead/masthead-cart.js.map +1 -1
  36. package/package.json +5 -5
@@ -20,16 +20,16 @@
20
20
  * This source code is licensed under the Apache-2.0 license found in the
21
21
  * LICENSE file in the root directory of this source tree.
22
22
  *
23
- * lit-element:
23
+ * lit-html:
24
24
  *
25
25
  * @license
26
- * Copyright 2017 Google LLC
26
+ * Copyright 2022 Google LLC
27
27
  * SPDX-License-Identifier: BSD-3-Clause
28
28
  *
29
- * lit-html:
29
+ * lit-element:
30
30
  *
31
31
  * @license
32
- * Copyright 2022 Google LLC
32
+ * Copyright 2017 Google LLC
33
33
  * SPDX-License-Identifier: BSD-3-Clause
34
34
  *
35
35
  * @lit/reactive-element:
@@ -88,4 +88,4 @@
88
88
  */
89
89
 
90
90
  let process = { env: {} };
91
- import './index-61a58423.js';
91
+ import './index-2a27319c.js';
@@ -20,16 +20,16 @@
20
20
  * This source code is licensed under the Apache-2.0 license found in the
21
21
  * LICENSE file in the root directory of this source tree.
22
22
  *
23
- * lit-element:
23
+ * lit-html:
24
24
  *
25
25
  * @license
26
- * Copyright 2017 Google LLC
26
+ * Copyright 2022 Google LLC
27
27
  * SPDX-License-Identifier: BSD-3-Clause
28
28
  *
29
- * lit-html:
29
+ * lit-element:
30
30
  *
31
31
  * @license
32
- * Copyright 2022 Google LLC
32
+ * Copyright 2017 Google LLC
33
33
  * SPDX-License-Identifier: BSD-3-Clause
34
34
  *
35
35
  * @lit/reactive-element:
@@ -87,4 +87,4 @@
87
87
  * https://www.npmjs.com/package/striptags
88
88
  */
89
89
 
90
- import"./index-ec9bb3a7.js";
90
+ import"./index-6499062e.js";
@@ -20,16 +20,16 @@
20
20
  * This source code is licensed under the Apache-2.0 license found in the
21
21
  * LICENSE file in the root directory of this source tree.
22
22
  *
23
- * lit-element:
23
+ * lit-html:
24
24
  *
25
25
  * @license
26
- * Copyright 2017 Google LLC
26
+ * Copyright 2022 Google LLC
27
27
  * SPDX-License-Identifier: BSD-3-Clause
28
28
  *
29
- * lit-html:
29
+ * lit-element:
30
30
  *
31
31
  * @license
32
- * Copyright 2022 Google LLC
32
+ * Copyright 2017 Google LLC
33
33
  * SPDX-License-Identifier: BSD-3-Clause
34
34
  *
35
35
  * @lit/reactive-element:
@@ -88,4 +88,4 @@
88
88
  */
89
89
 
90
90
  let process = { env: {} };
91
- import './index-61a58423.js';
91
+ import './index-2a27319c.js';
@@ -20,16 +20,16 @@
20
20
  * This source code is licensed under the Apache-2.0 license found in the
21
21
  * LICENSE file in the root directory of this source tree.
22
22
  *
23
- * lit-element:
23
+ * lit-html:
24
24
  *
25
25
  * @license
26
- * Copyright 2017 Google LLC
26
+ * Copyright 2022 Google LLC
27
27
  * SPDX-License-Identifier: BSD-3-Clause
28
28
  *
29
- * lit-html:
29
+ * lit-element:
30
30
  *
31
31
  * @license
32
- * Copyright 2022 Google LLC
32
+ * Copyright 2017 Google LLC
33
33
  * SPDX-License-Identifier: BSD-3-Clause
34
34
  *
35
35
  * @lit/reactive-element:
@@ -87,4 +87,4 @@
87
87
  * https://www.npmjs.com/package/striptags
88
88
  */
89
89
 
90
- import"./index-ec9bb3a7.js";
90
+ import"./index-6499062e.js";
@@ -20,16 +20,16 @@
20
20
  * This source code is licensed under the Apache-2.0 license found in the
21
21
  * LICENSE file in the root directory of this source tree.
22
22
  *
23
- * lit-element:
23
+ * lit-html:
24
24
  *
25
25
  * @license
26
- * Copyright 2017 Google LLC
26
+ * Copyright 2022 Google LLC
27
27
  * SPDX-License-Identifier: BSD-3-Clause
28
28
  *
29
- * lit-html:
29
+ * lit-element:
30
30
  *
31
31
  * @license
32
- * Copyright 2022 Google LLC
32
+ * Copyright 2017 Google LLC
33
33
  * SPDX-License-Identifier: BSD-3-Clause
34
34
  *
35
35
  * @lit/reactive-element:
@@ -33015,7 +33015,7 @@ let C4DMegaMenuTopNavMenu = _decorate$s([carbonElement(`${c4dPrefix$s}-megamenu-
33015
33015
  var _this$parentElement;
33016
33016
  // Import needed subcomponents on first expansion
33017
33017
  if (!((_this$parentElement = this.parentElement) !== null && _this$parentElement !== void 0 && _this$parentElement.importedMegamenu)) {
33018
- await Promise.all([import('./megamenu-left-navigation-ee2dc6e8.js'), import('./megamenu-category-link-84c22ab0.js'), import('./megamenu-category-link-group-3cdb6bfc.js'), import('./megamenu-category-group-802948a9.js'), import('./megamenu-category-group-copy-7efee05a.js'), import('./megamenu-category-heading-2190977a.js'), Promise.resolve().then(function () { return megamenuLinkWithIcon; }), import('./megamenu-overlay-6a12d82a.js'), import('./megamenu-tab-5490376a.js'), Promise.resolve().then(function () { return megamenuTabs; })]);
33018
+ await Promise.all([import('./megamenu-left-navigation-f119bbfc.js'), import('./megamenu-category-link-46334ebb.js'), import('./megamenu-category-link-group-240c9051.js'), import('./megamenu-category-group-6674efc2.js'), import('./megamenu-category-group-copy-49c71042.js'), import('./megamenu-category-heading-e38dad42.js'), Promise.resolve().then(function () { return megamenuLinkWithIcon; }), import('./megamenu-overlay-babb8218.js'), import('./megamenu-tab-f8d14ecf.js'), Promise.resolve().then(function () { return megamenuTabs; })]);
33019
33019
  this.parentElement.importedMegamenu = true;
33020
33020
  }
33021
33021
 
@@ -36682,42 +36682,24 @@ _decorate$i([carbonElement(`${c4dPrefix$i}-masthead-cart`)], function (_initiali
36682
36682
  }
36683
36683
  }, {
36684
36684
  kind: "method",
36685
- key: "handleURL",
36686
- value: function handleURL() {
36685
+ key: "render",
36686
+ value: function render() {
36687
36687
  const {
36688
+ linkLabel,
36688
36689
  locale: {
36689
36690
  cc,
36690
36691
  lc
36691
36692
  }
36692
36693
  } = this;
36693
- switch (cc) {
36694
- case 'uk':
36695
- return `/store/en/gb/checkout`;
36696
- case 'ae':
36697
- return `/store/en/ae/checkout`;
36698
- case 'sa':
36699
- return `/store/en/sa/checkout`;
36700
- default:
36701
- return `/store/${lc}/${cc}/checkout`;
36702
- }
36703
- }
36704
- }, {
36705
- kind: "method",
36706
- key: "render",
36707
- value: function render() {
36708
- const {
36709
- linkLabel,
36710
- handleURL
36711
- } = this;
36712
36694
  return x(_t$f || (_t$f = _$f`
36713
36695
  <a
36714
36696
  part="cart-link"
36715
- href="${0}"
36697
+ href="/store/${0}/${0}/checkout"
36716
36698
  class="${0}--header__menu-item ${0}--header__menu-title"
36717
36699
  aria-label="${0}"
36718
36700
  >${0}</a
36719
36701
  >
36720
- `), handleURL(), prefix$9, prefix$9, linkLabel, svgResultCarbonIcon$3());
36702
+ `), lc, cc, prefix$9, prefix$9, linkLabel, svgResultCarbonIcon$3());
36721
36703
  }
36722
36704
  }, {
36723
36705
  kind: "get",
@@ -39096,7 +39078,7 @@ let C4DLeftNav = _decorate$b([carbonElement(`${c4dPrefix$b}-left-nav`)], functio
39096
39078
  value() {
39097
39079
  return async event => {
39098
39080
  if (!this._importedSideNav) {
39099
- await Promise.all([Promise.resolve().then(function () { return leftNavName; }), import('./left-nav-menu-1ff7160b.js'), import('./left-nav-menu-section-dbde241d.js'), import('./left-nav-menu-item-b217b8fd.js'), import('./left-nav-menu-category-heading-df0252db.js'), import('./left-nav-overlay-cd84d0bc.js')]);
39081
+ await Promise.all([Promise.resolve().then(function () { return leftNavName; }), import('./left-nav-menu-d2fd2328.js'), import('./left-nav-menu-section-dfce35ff.js'), import('./left-nav-menu-item-65681d32.js'), import('./left-nav-menu-category-heading-8d21b7ff.js'), import('./left-nav-overlay-da850571.js')]);
39100
39082
  this._importedSideNav = true;
39101
39083
  }
39102
39084
  this.expanded = event.detail.active;