@carbon/ibmdotcom-web-components 2.16.1 → 2.16.2
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/custom-elements.json +20 -0
- package/dist/dotcom-shell.js +5 -5
- package/dist/dotcom-shell.min.js +4 -4
- package/dist/ibmdotcom-web-components-dotcom-shell.js +5 -5
- package/dist/ibmdotcom-web-components-dotcom-shell.min.js +4 -4
- package/dist/{index-b11b8d66.js → index-c31eba2d.js} +12 -10
- package/dist/{index-776b5b51.js → index-f264f467.js} +7 -7
- package/dist/{left-nav-menu-e2770796.js → left-nav-menu-09650a4d.js} +4 -4
- package/dist/{left-nav-menu-fb6b2844.js → left-nav-menu-a350581d.js} +5 -5
- package/dist/{left-nav-menu-category-heading-bc9e2f54.js → left-nav-menu-category-heading-848b835a.js} +5 -5
- package/dist/{left-nav-menu-category-heading-7a036c86.js → left-nav-menu-category-heading-d28036c5.js} +4 -4
- package/dist/{left-nav-menu-item-bdb22314.js → left-nav-menu-item-57b2019a.js} +5 -5
- package/dist/{left-nav-menu-item-0481fe82.js → left-nav-menu-item-a577adc2.js} +4 -4
- package/dist/{left-nav-menu-section-403848ea.js → left-nav-menu-section-79f20136.js} +5 -5
- package/dist/{left-nav-menu-section-ffb56134.js → left-nav-menu-section-89c52fb4.js} +4 -4
- package/dist/{left-nav-overlay-30cd22eb.js → left-nav-overlay-4d66f4ad.js} +4 -4
- package/dist/{left-nav-overlay-38070a4f.js → left-nav-overlay-dca31de9.js} +5 -5
- package/dist/{megamenu-category-group-copy-6ecebfe0.js → megamenu-category-group-copy-3b86f004.js} +5 -5
- package/dist/{megamenu-category-group-copy-51dc4cc1.js → megamenu-category-group-copy-6fd7ca2f.js} +4 -4
- package/dist/{megamenu-category-group-84ac8e56.js → megamenu-category-group-ee1ae2b6.js} +5 -5
- package/dist/{megamenu-category-group-241b720d.js → megamenu-category-group-fd3a2b7a.js} +4 -4
- package/dist/{megamenu-category-heading-9f7b896f.js → megamenu-category-heading-72794dad.js} +5 -5
- package/dist/{megamenu-category-heading-3a7bbbb8.js → megamenu-category-heading-80dff2fc.js} +4 -4
- package/dist/{megamenu-category-link-fa99b274.js → megamenu-category-link-1c050d50.js} +5 -5
- package/dist/{megamenu-category-link-5801d16b.js → megamenu-category-link-839d6f52.js} +8 -8
- package/dist/{megamenu-category-link-group-2776f6bc.js → megamenu-category-link-group-7077d29f.js} +5 -5
- package/dist/{megamenu-category-link-group-c8fede86.js → megamenu-category-link-group-93dcceed.js} +4 -4
- package/dist/{megamenu-left-navigation-eccd672d.js → megamenu-left-navigation-34280704.js} +5 -5
- package/dist/{megamenu-left-navigation-e2feec37.js → megamenu-left-navigation-76f28d35.js} +4 -4
- package/dist/{megamenu-overlay-caed4511.js → megamenu-overlay-3e0f7727.js} +5 -5
- package/dist/{megamenu-overlay-a5314e74.js → megamenu-overlay-61b067b4.js} +4 -4
- package/dist/{megamenu-tab-df9b43dd.js → megamenu-tab-03b420bb.js} +4 -4
- package/dist/{megamenu-tab-fffc3892.js → megamenu-tab-a4943602.js} +5 -5
- package/es/components/back-to-top/__stories__/back-to-top.stories.css.js +1 -1
- package/es/components/card/card.d.ts +1 -1
- package/es/components/card/card.js +4 -2
- package/es/components/card/card.js.map +1 -1
- package/es/components/card-group/card-group.css.js +1 -1
- package/es/components/content-block/content-block.css.js +1 -1
- package/es/components/cta/button-cta.d.ts +4 -0
- package/es/components/cta/button-cta.js +10 -0
- package/es/components/cta/button-cta.js.map +1 -1
- package/es/components/cta/cta.d.ts +1 -0
- package/es/components/cta/cta.js +11 -2
- package/es/components/cta/cta.js.map +1 -1
- package/es/components/cta/video-cta-composite.d.ts +7 -1
- package/es/components/cta/video-cta-composite.js +0 -5
- package/es/components/cta/video-cta-composite.js.map +1 -1
- package/es/components/cta-block/cta-block.css.js +1 -1
- package/es/components/table-of-contents/table-of-contents-cdn.css.js +1 -1
- package/es/components/table-of-contents/table-of-contents.css.js +1 -1
- package/es/internal/vendor/@carbon/ibmdotcom-utilities/utilities/settings/settings.js +2 -2
- package/lib/internal/vendor/@carbon/ibmdotcom-utilities/utilities/settings/settings.js +2 -2
- package/package.json +6 -6
- package/scss/components/cta-block/cta-block.scss +1 -0
package/custom-elements.json
CHANGED
|
@@ -6274,6 +6274,11 @@
|
|
|
6274
6274
|
"description": "The video description.",
|
|
6275
6275
|
"type": "string | undefined"
|
|
6276
6276
|
},
|
|
6277
|
+
{
|
|
6278
|
+
"name": "href",
|
|
6279
|
+
"description": "Link `href`.",
|
|
6280
|
+
"type": "string | undefined"
|
|
6281
|
+
},
|
|
6277
6282
|
{
|
|
6278
6283
|
"name": "isExpressive",
|
|
6279
6284
|
"description": "`true` if expressive theme enabled.",
|
|
@@ -6350,6 +6355,12 @@
|
|
|
6350
6355
|
"description": "`true` if there is a non-icon content.",
|
|
6351
6356
|
"type": "boolean"
|
|
6352
6357
|
},
|
|
6358
|
+
{
|
|
6359
|
+
"name": "href",
|
|
6360
|
+
"attribute": "href",
|
|
6361
|
+
"description": "Link `href`.",
|
|
6362
|
+
"type": "string | undefined"
|
|
6363
|
+
},
|
|
6353
6364
|
{
|
|
6354
6365
|
"name": "hreflang",
|
|
6355
6366
|
"description": "The language of what `href` points to, if this button is rendered as `<a>`.",
|
|
@@ -7396,6 +7407,10 @@
|
|
|
7396
7407
|
},
|
|
7397
7408
|
{
|
|
7398
7409
|
"name": "thumbnail"
|
|
7410
|
+
},
|
|
7411
|
+
{
|
|
7412
|
+
"name": "href",
|
|
7413
|
+
"type": "string | undefined"
|
|
7399
7414
|
}
|
|
7400
7415
|
],
|
|
7401
7416
|
"properties": [
|
|
@@ -7425,6 +7440,11 @@
|
|
|
7425
7440
|
"name": "thumbnail",
|
|
7426
7441
|
"attribute": "thumbnail"
|
|
7427
7442
|
},
|
|
7443
|
+
{
|
|
7444
|
+
"name": "href",
|
|
7445
|
+
"attribute": "href",
|
|
7446
|
+
"type": "string | undefined"
|
|
7447
|
+
},
|
|
7428
7448
|
{
|
|
7429
7449
|
"name": "styles",
|
|
7430
7450
|
"default": "\"styles\""
|
package/dist/dotcom-shell.js
CHANGED
|
@@ -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-
|
|
23
|
+
* lit-element:
|
|
24
24
|
*
|
|
25
25
|
* @license
|
|
26
|
-
* Copyright
|
|
26
|
+
* Copyright 2017 Google LLC
|
|
27
27
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
28
28
|
*
|
|
29
|
-
* lit-
|
|
29
|
+
* lit-html:
|
|
30
30
|
*
|
|
31
31
|
* @license
|
|
32
|
-
* Copyright
|
|
32
|
+
* Copyright 2022 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-
|
|
91
|
+
import './index-c31eba2d.js';
|
package/dist/dotcom-shell.min.js
CHANGED
|
@@ -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-
|
|
23
|
+
* lit-element:
|
|
24
24
|
*
|
|
25
25
|
* @license
|
|
26
26
|
* Copyright 2017 Google LLC
|
|
27
27
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
28
28
|
*
|
|
29
|
-
* lit-
|
|
29
|
+
* lit-html:
|
|
30
30
|
*
|
|
31
31
|
* @license
|
|
32
|
-
* Copyright
|
|
32
|
+
* Copyright 2022 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-
|
|
90
|
+
import"./index-f264f467.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-
|
|
23
|
+
* lit-element:
|
|
24
24
|
*
|
|
25
25
|
* @license
|
|
26
|
-
* Copyright
|
|
26
|
+
* Copyright 2017 Google LLC
|
|
27
27
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
28
28
|
*
|
|
29
|
-
* lit-
|
|
29
|
+
* lit-html:
|
|
30
30
|
*
|
|
31
31
|
* @license
|
|
32
|
-
* Copyright
|
|
32
|
+
* Copyright 2022 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-
|
|
91
|
+
import './index-c31eba2d.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-
|
|
23
|
+
* lit-element:
|
|
24
24
|
*
|
|
25
25
|
* @license
|
|
26
26
|
* Copyright 2017 Google LLC
|
|
27
27
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
28
28
|
*
|
|
29
|
-
* lit-
|
|
29
|
+
* lit-html:
|
|
30
30
|
*
|
|
31
31
|
* @license
|
|
32
|
-
* Copyright
|
|
32
|
+
* Copyright 2022 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-
|
|
90
|
+
import"./index-f264f467.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-
|
|
23
|
+
* lit-element:
|
|
24
24
|
*
|
|
25
25
|
* @license
|
|
26
|
-
* Copyright
|
|
26
|
+
* Copyright 2017 Google LLC
|
|
27
27
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
28
28
|
*
|
|
29
|
-
* lit-
|
|
29
|
+
* lit-html:
|
|
30
30
|
*
|
|
31
31
|
* @license
|
|
32
|
-
* Copyright
|
|
32
|
+
* Copyright 2022 Google LLC
|
|
33
33
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
34
34
|
*
|
|
35
35
|
* @lit/reactive-element:
|
|
@@ -102,10 +102,10 @@ let process = { env: {} };
|
|
|
102
102
|
* @type {object} Settings object
|
|
103
103
|
* @property {string} [stablePrefix=c4d] stable prefix
|
|
104
104
|
* @property {string} [prefix=cds] core Carbon prefix
|
|
105
|
-
* Carbon for IBM.com v2.16.
|
|
105
|
+
* Carbon for IBM.com v2.16.2',
|
|
106
106
|
*/
|
|
107
107
|
var settings = {
|
|
108
|
-
version: 'Carbon for IBM.com v2.16.
|
|
108
|
+
version: 'Carbon for IBM.com v2.16.2',
|
|
109
109
|
stablePrefix: 'c4d',
|
|
110
110
|
prefix: 'cds'
|
|
111
111
|
};
|
|
@@ -24264,8 +24264,10 @@ let C4DCard = _decorate$P([carbonElement(`${c4dPrefix$P}-card`)], function (_ini
|
|
|
24264
24264
|
}, {
|
|
24265
24265
|
kind: "method",
|
|
24266
24266
|
key: "_handleCopySlotChange",
|
|
24267
|
-
value: function _handleCopySlotChange(
|
|
24268
|
-
|
|
24267
|
+
value: function _handleCopySlotChange({
|
|
24268
|
+
target
|
|
24269
|
+
}) {
|
|
24270
|
+
this._hasCopy = target.assignedNodes().some(node => node.nodeType !== Node.TEXT_NODE || node.textContent.trim());
|
|
24269
24271
|
}
|
|
24270
24272
|
|
|
24271
24273
|
/**
|
|
@@ -32195,7 +32197,7 @@ let C4DMegaMenuTopNavMenu = _decorate$r([carbonElement(`${c4dPrefix$r}-megamenu-
|
|
|
32195
32197
|
var _this$parentElement;
|
|
32196
32198
|
// Import needed subcomponents on first expansion
|
|
32197
32199
|
if (!((_this$parentElement = this.parentElement) !== null && _this$parentElement !== void 0 && _this$parentElement.importedMegamenu)) {
|
|
32198
|
-
await Promise.all([import('./megamenu-left-navigation-
|
|
32200
|
+
await Promise.all([import('./megamenu-left-navigation-34280704.js'), import('./megamenu-category-link-1c050d50.js'), import('./megamenu-category-link-group-7077d29f.js'), import('./megamenu-category-group-ee1ae2b6.js'), import('./megamenu-category-group-copy-3b86f004.js'), import('./megamenu-category-heading-72794dad.js'), Promise.resolve().then(function () { return megamenuLinkWithIcon; }), import('./megamenu-overlay-3e0f7727.js'), import('./megamenu-tab-a4943602.js'), Promise.resolve().then(function () { return megamenuTabs; })]);
|
|
32199
32201
|
this.parentElement.importedMegamenu = true;
|
|
32200
32202
|
}
|
|
32201
32203
|
|
|
@@ -37675,7 +37677,7 @@ let C4DLeftNav = _decorate$b([carbonElement(`${c4dPrefix$b}-left-nav`)], functio
|
|
|
37675
37677
|
value() {
|
|
37676
37678
|
return async event => {
|
|
37677
37679
|
if (!this._importedSideNav) {
|
|
37678
|
-
await Promise.all([Promise.resolve().then(function () { return leftNavName; }), import('./left-nav-menu-
|
|
37680
|
+
await Promise.all([Promise.resolve().then(function () { return leftNavName; }), import('./left-nav-menu-a350581d.js'), import('./left-nav-menu-section-79f20136.js'), import('./left-nav-menu-item-57b2019a.js'), import('./left-nav-menu-category-heading-848b835a.js'), import('./left-nav-overlay-dca31de9.js')]);
|
|
37679
37681
|
this._importedSideNav = true;
|
|
37680
37682
|
}
|
|
37681
37683
|
this.expanded = event.detail.active;
|