@carbon/ibmdotcom-web-components 1.48.0 → 1.49.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 (85) hide show
  1. package/custom-elements.json +122 -0
  2. package/dist/{20-3432915b.js → 20-46a4593b.js} +2 -2
  3. package/dist/{20-687b2ef2.js → 20-49858335.js} +2 -2
  4. package/dist/{20-f54ccc50.js → 20-a242ba72.js} +2 -2
  5. package/dist/{20-37eecf8a.js → 20-f842a2f9.js} +2 -2
  6. package/dist/cloud-masthead.js +3 -3
  7. package/dist/cloud-masthead.min.js +2 -2
  8. package/dist/cloud-masthead.rtl.js +3 -3
  9. package/dist/cloud-masthead.rtl.min.js +2 -2
  10. package/dist/dotcom-shell.js +3 -3
  11. package/dist/dotcom-shell.min.js +2 -2
  12. package/dist/dotcom-shell.rtl.js +3 -3
  13. package/dist/dotcom-shell.rtl.min.js +2 -2
  14. package/dist/ibmdotcom-web-components-dotcom-shell.js +5 -5
  15. package/dist/ibmdotcom-web-components-dotcom-shell.min.js +3 -3
  16. package/dist/ibmdotcom-web-components-dotcom-shell.rtl.js +5 -5
  17. package/dist/ibmdotcom-web-components-dotcom-shell.rtl.min.js +3 -3
  18. package/dist/{left-nav-menu-2feadd76.js → left-nav-menu-079d1751.js} +2 -2
  19. package/dist/{left-nav-menu-429cc81f.js → left-nav-menu-86556fa2.js} +2 -2
  20. package/dist/{left-nav-menu-category-heading-02606e56.js → left-nav-menu-category-heading-297c0990.js} +2 -2
  21. package/dist/{left-nav-menu-category-heading-59751bd0.js → left-nav-menu-category-heading-2bb8340c.js} +2 -2
  22. package/dist/{left-nav-menu-category-heading-02fa5005.js → left-nav-menu-category-heading-61176214.js} +2 -2
  23. package/dist/{left-nav-menu-category-heading-8e919aa4.js → left-nav-menu-category-heading-d36767b5.js} +2 -2
  24. package/dist/{left-nav-menu-77b7cf91.js → left-nav-menu-e61aea79.js} +2 -2
  25. package/dist/{left-nav-menu-45f757e4.js → left-nav-menu-f65db6a0.js} +3 -3
  26. package/dist/{left-nav-menu-item-35eb7f77.js → left-nav-menu-item-288cc620.js} +2 -2
  27. package/dist/{left-nav-menu-item-a4c85e64.js → left-nav-menu-item-3e849ece.js} +2 -2
  28. package/dist/{left-nav-menu-item-30362074.js → left-nav-menu-item-77ecdb79.js} +2 -2
  29. package/dist/{left-nav-menu-item-4236428a.js → left-nav-menu-item-98401102.js} +2 -2
  30. package/dist/{left-nav-menu-section-e87b970f.js → left-nav-menu-section-1d4e44ca.js} +2 -2
  31. package/dist/{left-nav-menu-section-f0ae8e38.js → left-nav-menu-section-68b4245f.js} +3 -3
  32. package/dist/{left-nav-menu-section-d3d6568f.js → left-nav-menu-section-b931114f.js} +3 -3
  33. package/dist/{left-nav-menu-section-ec210ec7.js → left-nav-menu-section-cf304f6b.js} +3 -3
  34. package/dist/{left-nav-overlay-c674550c.js → left-nav-overlay-01003c2c.js} +2 -2
  35. package/dist/{left-nav-overlay-805dcfc9.js → left-nav-overlay-9b797bed.js} +2 -2
  36. package/dist/{left-nav-overlay-d29e4432.js → left-nav-overlay-b5398b62.js} +2 -2
  37. package/dist/{left-nav-overlay-e44a6890.js → left-nav-overlay-e18cd6ad.js} +2 -2
  38. package/dist/{masthead-composite-49510571.js → masthead-composite-6fbf11a1.js} +17 -17
  39. package/dist/{masthead-composite-49f5a2c0.js → masthead-composite-867a12e1.js} +6 -6
  40. package/dist/{masthead-composite-2d470aa3.js → masthead-composite-9959d601.js} +17 -17
  41. package/dist/{masthead-composite-35b3f022.js → masthead-composite-d6740719.js} +6 -6
  42. package/dist/{megamenu-category-group-d1226b5c.js → megamenu-category-group-3dcabd63.js} +2 -2
  43. package/dist/{megamenu-category-group-3a26b43d.js → megamenu-category-group-83c187ef.js} +2 -2
  44. package/dist/{megamenu-category-group-fa7acc44.js → megamenu-category-group-8ad29744.js} +2 -2
  45. package/dist/{megamenu-category-group-copy-144f844d.js → megamenu-category-group-copy-13d2e3dc.js} +2 -2
  46. package/dist/{megamenu-category-group-copy-61cc1e58.js → megamenu-category-group-copy-432f4830.js} +2 -2
  47. package/dist/{megamenu-category-group-copy-32ef88d7.js → megamenu-category-group-copy-b63e7800.js} +2 -2
  48. package/dist/{megamenu-category-group-copy-cb32aac2.js → megamenu-category-group-copy-f093e5f8.js} +2 -2
  49. package/dist/{megamenu-category-group-68701575.js → megamenu-category-group-e643cc2d.js} +2 -2
  50. package/dist/{megamenu-category-link-211726af.js → megamenu-category-link-1d4c1f47.js} +2 -2
  51. package/dist/{megamenu-category-link-b3945ad3.js → megamenu-category-link-81fc2787.js} +2 -2
  52. package/dist/{megamenu-category-link-e2835069.js → megamenu-category-link-8fb3eff8.js} +2 -2
  53. package/dist/{megamenu-category-link-3cd5b55c.js → megamenu-category-link-cb99c30c.js} +2 -2
  54. package/dist/{megamenu-left-navigation-9e336fe9.js → megamenu-left-navigation-94669e2f.js} +2 -2
  55. package/dist/{megamenu-left-navigation-45aada1e.js → megamenu-left-navigation-b92c6858.js} +2 -2
  56. package/dist/{megamenu-left-navigation-765e5f23.js → megamenu-left-navigation-ccdb915f.js} +2 -2
  57. package/dist/{megamenu-left-navigation-f8fe0a69.js → megamenu-left-navigation-decf5b71.js} +2 -2
  58. package/dist/{megamenu-overlay-0be560fc.js → megamenu-overlay-6f4b3b74.js} +2 -2
  59. package/dist/{megamenu-overlay-1279bb56.js → megamenu-overlay-f2eacab9.js} +2 -2
  60. package/dist/{megamenu-overlay-18b01cc5.js → megamenu-overlay-f43e1ce1.js} +2 -2
  61. package/dist/{megamenu-overlay-cbd78e7e.js → megamenu-overlay-f9ad1df3.js} +2 -2
  62. package/es/components/content-item/content-item.d.ts +3 -1
  63. package/es/components/content-item/content-item.js +5 -3
  64. package/es/components/content-item/content-item.js.map +1 -1
  65. package/es/components/content-item-horizontal/content-item-horizontal-media-featured.d.ts +6 -1
  66. package/es/components/content-item-horizontal/content-item-horizontal-media-featured.js +7 -2
  67. package/es/components/content-item-horizontal/content-item-horizontal-media-featured.js.map +1 -1
  68. package/es/components/content-item-horizontal/content-item-horizontal-media.d.ts +6 -1
  69. package/es/components/content-item-horizontal/content-item-horizontal-media.js +9 -4
  70. package/es/components/content-item-horizontal/content-item-horizontal-media.js.map +1 -1
  71. package/es/components/content-item-horizontal/content-item-horizontal.d.ts +6 -1
  72. package/es/components/content-item-horizontal/content-item-horizontal.js +7 -2
  73. package/es/components/content-item-horizontal/content-item-horizontal.js.map +1 -1
  74. package/es/components/quote/quote.d.ts +1 -1
  75. package/es/components/quote/quote.js +3 -3
  76. package/es/components/quote/quote.js.map +1 -1
  77. package/es/components-react/content-item/content-item.d.ts +2 -0
  78. package/es/components-react/content-item-horizontal/content-item-horizontal-media-featured.d.ts +5 -0
  79. package/es/components-react/content-item-horizontal/content-item-horizontal-media.d.ts +5 -0
  80. package/es/components-react/content-item-horizontal/content-item-horizontal.d.ts +5 -0
  81. package/es/internal/vendor/@carbon/ibmdotcom-services/internal/vendor/@carbon/ibmdotcom-utilities/utilities/settings/settings.js +2 -2
  82. package/es/internal/vendor/@carbon/ibmdotcom-utilities/utilities/settings/settings.js +2 -2
  83. package/lib/internal/vendor/@carbon/ibmdotcom-services/internal/vendor/@carbon/ibmdotcom-utilities/utilities/settings/settings.js +2 -2
  84. package/lib/internal/vendor/@carbon/ibmdotcom-utilities/utilities/settings/settings.js +2 -2
  85. package/package.json +6 -6
@@ -34,13 +34,13 @@ var _stableSelector = _interopRequireDefault(require("../../globals/mixins/stabl
34
34
  var _defs = require("./defs.js");
35
35
  require("../horizontal-rule/horizontal-rule.js");
36
36
  var _carbonElement = require("../../internal/vendor/@carbon/web-components/globals/decorators/carbon-element.js");
37
- var _js = require("../../internal/vendor/@carbon/ibmdotcom-services/services/Locale/.js.js");
37
+ var _Locale = _interopRequireDefault(require("@carbon/ibmdotcom-services/es/services/Locale/Locale.js"));
38
38
  var _templateObject, _templateObject2, _templateObject3, _templateObject4, _templateObject5, _templateObject6, _templateObject7, _templateObject8, _templateObject9, _templateObject10;
39
39
  function _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = (0, _getPrototypeOf2["default"])(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = (0, _getPrototypeOf2["default"])(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return (0, _possibleConstructorReturn2["default"])(this, result); }; }
40
40
  function _isNativeReflectConstruct() { if (typeof Reflect === "undefined" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === "function") return true; try { Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); return true; } catch (e) { return false; } } /**
41
41
  * @license
42
42
  *
43
- * Copyright IBM Corp. 2020, 2023
43
+ * Copyright IBM Corp. 2020, 2024
44
44
  *
45
45
  * This source code is licensed under the Apache-2.0 license found in the
46
46
  * LICENSE file in the root directory of this source tree.
@@ -172,7 +172,7 @@ var DDSQuote = (0, _decorate2["default"])([(0, _carbonElement.carbonElement)("".
172
172
  function connectedCallback() {
173
173
  var _this2 = this;
174
174
  (0, _get2["default"])((0, _getPrototypeOf2["default"])(DDSQuote.prototype), "connectedCallback", this).call(this);
175
- _js.LocaleAPI.getLang().then(function (_ref) {
175
+ _Locale["default"].getLang().then(function (_ref) {
176
176
  var lc = _ref.lc;
177
177
  _this2.lc = lc;
178
178
  });
@@ -1 +1 @@
1
- {"version":3,"file":"quote.js","names":["_litElement","require","_settings","_interopRequireDefault","_settings2","_quoteCss","_stableSelector","_defs","_carbonElement","_js","_templateObject","_templateObject2","_templateObject3","_templateObject4","_templateObject5","_templateObject6","_templateObject7","_templateObject8","_templateObject9","_templateObject10","_createSuper","Derived","hasNativeReflectConstruct","_isNativeReflectConstruct","_createSuperInternal","Super","_getPrototypeOf2","result","NewTarget","constructor","Reflect","construct","arguments","apply","_possibleConstructorReturn2","sham","Proxy","Boolean","prototype","valueOf","call","e","prefix","settings","ddsPrefix","ddsSettings","stablePrefix","slotExistencePropertyNames","footer","DDSQuote","_decorate2","customElement","concat","_initialize","_StableSelectorMixin","_StableSelectorMixin2","_inherits2","_super","_this","_classCallCheck2","_len","length","args","Array","_key","_assertThisInitialized2","_createClass2","F","d","kind","decorators","property","reflect","attribute","key","value","QUOTE_TYPES","DEFAULT","QUOTE_COLOR_SCHEMES","REGULAR","connectedCallback","_this2","_get2","LocaleAPI","getLang","then","_ref","lc","_handleSlotChange","_ref2","target","_ref3","name","hasContent","assignedNodes","some","node","nodeType","Node","TEXT_NODE","textContent","trim","requestUpdate","_renderQuote","isLTR","getComputedStyle","direction","toLowerCase","markType","SINGLE_CURVED","html","_taggedTemplateLiteral2","DOUBLE_ANGLE","SINGLE_ANGLE","LOW_HIGH_REVERSED_DOUBLE_CURVED","CORNER_BRACKET","_renderSource","hasSourceHeading","_hasSourceHeading","hasSourceCopy","_hasSourceCopy","handleSlotChange","_renderFooter","hasFooter","_hasFooter","render","colorScheme","INVERSE","stableSelector","styles","StableSelectorMixin","LitElement","_default","exports"],"sources":["components/quote/quote.ts"],"sourcesContent":["/**\n * @license\n *\n * Copyright IBM Corp. 2020, 2023\n *\n * This source code is licensed under the Apache-2.0 license found in the\n * LICENSE file in the root directory of this source tree.\n */\nimport { html, LitElement, property } from 'lit-element';\nimport settings from 'carbon-components/es/globals/js/settings.js';\nimport ddsSettings from '@carbon/ibmdotcom-utilities/es/utilities/settings/settings.js';\nimport styles from './quote.scss';\nimport StableSelectorMixin from '../../globals/mixins/stable-selector';\nimport { QUOTE_TYPES, QUOTE_COLOR_SCHEMES } from './defs';\nimport '../horizontal-rule/horizontal-rule';\nimport { carbonElement as customElement } from '../../internal/vendor/@carbon/web-components/globals/decorators/carbon-element';\nimport { LocaleAPI } from '../../internal/vendor/@carbon/ibmdotcom-services/services/Locale/';\n\nexport { QUOTE_TYPES, QUOTE_COLOR_SCHEMES };\n\nconst { prefix } = settings;\nconst { stablePrefix: ddsPrefix } = ddsSettings;\n\nconst slotExistencePropertyNames = {\n 'source-heading': '_hasSourceHeading',\n 'source-copy': '_hasSourceCopy',\n 'source-bottom-copy': '_hasSourceBottomCopy',\n footer: '_hasFooter',\n};\n\n/**\n * Quote.\n *\n * @element dds-quote\n * @slot copy - The copy content.\n * @slot footer - The footer (CTA) content.\n * @slot source-heading - The heading content of the quote source.\n * @slot source-copy - The copy content of the quote source.\n * @slot source-bottom-copy - The copy content of the quote source placed at the bottom.\n */\n@customElement(`${ddsPrefix}-quote`)\nclass DDSQuote extends StableSelectorMixin(LitElement) {\n /**\n * Defines rendered quote mark style\n * styles:\n * `double-curved`: `“ ”`;\n * `single-curved`: `‘ ’`;\n * `single-angle`: `‹ ›`;\n * `double-angle`: `« »`;\n * `low-high-reversed-double-curved`: `„ “`;\n * `corner-bracket`: `「 」`;\n */\n @property({ reflect: true, attribute: 'mark-type' })\n markType = QUOTE_TYPES.DEFAULT;\n\n /**\n * Defines if the inverse class is included\n */\n @property({ reflect: true, attribute: 'color-scheme' })\n colorScheme = QUOTE_COLOR_SCHEMES.REGULAR;\n\n @property({ reflect: true, attribute: 'lang' })\n lc;\n\n /**\n * `true` if there is source heading.\n */\n protected _hasSourceHeading = false;\n\n /**\n * `true` if there is source copy.\n */\n protected _hasSourceCopy = false;\n\n /**\n * `true` if there is source bottom copy.\n */\n protected _hasSourceBottomCopy = false;\n\n /**\n * `true` if there is cta.\n */\n protected _hasFooter = false;\n\n connectedCallback() {\n super.connectedCallback();\n LocaleAPI.getLang().then(({ lc }) => {\n this.lc = lc;\n });\n }\n\n /**\n * Handles `slotchange` event.\n */\n protected _handleSlotChange({ target }: Event) {\n const { name } = target as HTMLSlotElement;\n const hasContent = (target as HTMLSlotElement)\n .assignedNodes()\n .some(\n (node) => node.nodeType !== Node.TEXT_NODE || node!.textContent!.trim()\n );\n this[slotExistencePropertyNames[name]] = hasContent;\n this.requestUpdate();\n }\n\n protected _renderQuote() {\n const isLTR = getComputedStyle(this).direction.toLowerCase() === 'ltr';\n switch (this.markType) {\n case QUOTE_TYPES.SINGLE_CURVED:\n return html`\n <span class=\"${prefix}--quote__mark\">${isLTR ? '‘' : '’'}</span>\n <blockquote class=\"${prefix}--quote__copy\">\n <slot></slot\n ><span class=\"${prefix}--quote__mark-closing\"\n >${!isLTR ? '‘' : '’'}</span\n >\n </blockquote>\n `;\n case QUOTE_TYPES.DOUBLE_ANGLE:\n return html`\n <span class=\"${prefix}--quote__mark\">${isLTR ? '«' : '»'}</span>\n <blockquote class=\"${prefix}--quote__copy\">\n <slot></slot\n ><span class=\"${prefix}--quote__mark-closing\"\n >${!isLTR ? '«' : '»'}</span\n >\n </blockquote>\n `;\n case QUOTE_TYPES.SINGLE_ANGLE:\n return html`\n <span class=\"${prefix}--quote__mark\">${isLTR ? '‹' : '›'}</span>\n <blockquote class=\"${prefix}--quote__copy\">\n <slot></slot\n ><span class=\"${prefix}--quote__mark-closing\"\n >${!isLTR ? '‹' : '›'}</span\n >\n </blockquote>\n `;\n case QUOTE_TYPES.LOW_HIGH_REVERSED_DOUBLE_CURVED:\n return html`\n <span class=\"${prefix}--quote__mark\">${isLTR ? '„' : '“'}</span>\n <blockquote class=\"${prefix}--quote__copy\">\n <slot></slot\n ><span class=\"${prefix}--quote__mark-closing\"\n >${!isLTR ? '„' : '“'}</span\n >\n </blockquote>\n `;\n case QUOTE_TYPES.CORNER_BRACKET:\n return html`\n <span\n class=\"${prefix}--quote__mark ${prefix}--quote__mark-corner-bracket\"\n >${isLTR ? '「' : '」'}</span\n >\n <blockquote class=\"${prefix}--quote__copy\">\n <slot></slot\n ><span class=\"${prefix}--quote__mark-closing\"\n >${!isLTR ? '「' : '」'}</span\n >\n </blockquote>\n `;\n default:\n return html`\n <span class=\"${prefix}--quote__mark\">${isLTR ? '“' : '”'}</span>\n <blockquote class=\"${prefix}--quote__copy\">\n <slot></slot\n ><span class=\"${prefix}--quote__mark-closing\"\n >${!isLTR ? '“' : '”'}</span\n >\n </blockquote>\n `;\n }\n }\n\n protected _renderSource() {\n const {\n _hasSourceHeading: hasSourceHeading,\n _hasSourceCopy: hasSourceCopy,\n _handleSlotChange: handleSlotChange,\n } = this;\n return html`\n <div\n ?hidden=\"${!hasSourceHeading || !hasSourceCopy}\"\n class=\"${prefix}--quote__source\">\n <slot @slotchange=\"${handleSlotChange}\" name=\"source-heading\"></slot>\n <slot @slotchange=\"${handleSlotChange}\" name=\"source-copy\"></slot>\n <slot\n @slotchange=\"${handleSlotChange}\"\n name=\"source-bottom-copy\"></slot>\n </div>\n `;\n }\n\n protected _renderFooter() {\n const { _hasFooter: hasFooter, _handleSlotChange: handleSlotChange } = this;\n return html`\n <div ?hidden=\"${!hasFooter}\" class=\"${prefix}--quote__footer\">\n <dds-hr></dds-hr>\n <slot name=\"footer\" @slotchange=\"${handleSlotChange}\"></slot>\n </div>\n `;\n }\n\n render() {\n if (this.colorScheme === QUOTE_COLOR_SCHEMES.INVERSE) {\n return html`\n <div class=\"${prefix}--callout__column\">\n <div class=\"${prefix}--callout__content\">\n <div class=\"${prefix}--quote__container\">\n <div class=\"${prefix}--quote__wrapper\">\n ${this._renderQuote()}${this._renderSource()}${this._renderFooter()}\n </div>\n </div>\n </div>\n </div>\n `;\n }\n\n return html`\n <div class=\"${prefix}--quote__container\">\n <div class=\"${prefix}--quote__wrapper\">\n ${this._renderQuote()}${this._renderSource()}${this._renderFooter()}\n </div>\n </div>\n `;\n }\n\n static get stableSelector() {\n return `${ddsPrefix}--quote`;\n }\n\n static styles = styles; // `styles` here is a `CSSResult` generated by custom WebPack loader\n}\n\n/* @__GENERATE_REACT_CUSTOM_ELEMENT_TYPE__ */\nexport default DDSQuote;\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;AAQA,IAAAA,WAAA,GAAAC,OAAA;AACA,IAAAC,SAAA,GAAAC,sBAAA,CAAAF,OAAA;AACA,IAAAG,UAAA,GAAAD,sBAAA,CAAAF,OAAA;AACA,IAAAI,SAAA,GAAAF,sBAAA,CAAAF,OAAA;AACA,IAAAK,eAAA,GAAAH,sBAAA,CAAAF,OA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KAAA,EAED,SAAAkD,OAAA,EAAS;QACP,IAAI,IAAI,CAACC,WAAW,KAAKhD,yBAAmB,CAACiD,OAAO,EAAE;UACpD,WAAOjB,gBAAI,EAAA5F,gBAAA,KAAAA,gBAAA,OAAA6F,uBAAA,gVACKrE,MAAM,EACJA,MAAM,EACJA,MAAM,EACJA,MAAM,EAChB,IAAI,CAAC6D,YAAY,CAAC,CAAC,EAAG,IAAI,CAACa,aAAa,CAAC,CAAC,EAAG,IAAI,CAACM,aAAa,CAAC,CAAC;QAM/E;QAEA,WAAOZ,gBAAI,EAAA3F,iBAAA,KAAAA,iBAAA,OAAA4F,uBAAA,6KACKrE,MAAM,EACJA,MAAM,EAChB,IAAI,CAAC6D,YAAY,CAAC,CAAC,EAAG,IAAI,CAACa,aAAa,CAAC,CAAC,EAAG,IAAI,CAACM,aAAa,CAAC,CAAC;MAI3E;IAAC;MAAArD,IAAA;MAAA;MAAAK,GAAA;MAAAC,KAAA,EAED,SAAAqD,eAAA,EAA4B;QAC1B,UAAA5E,MAAA,CAAUR,SAAS;MACrB;IAAC;MAAAyB,IAAA;MAAA;MAAAK,GAAA;MAAAC,KAAA,WAAAA,MAAA;QAAA,OAEesD,oBAAM;MAAA;IAAA;EAAA;AAAA,GA9LD,IAAAC,0BAAmB,EAACC,sBAAU,CAAC;AAiMtD;AAAA,IAAAC,QAAA,GAAAC,OAAA,cACepF,QAAQ"}
1
+ {"version":3,"file":"quote.js","names":["_litElement","require","_settings","_interopRequireDefault","_settings2","_quoteCss","_stableSelector","_defs","_carbonElement","_Locale","_templateObject","_templateObject2","_templateObject3","_templateObject4","_templateObject5","_templateObject6","_templateObject7","_templateObject8","_templateObject9","_templateObject10","_createSuper","Derived","hasNativeReflectConstruct","_isNativeReflectConstruct","_createSuperInternal","Super","_getPrototypeOf2","result","NewTarget","constructor","Reflect","construct","arguments","apply","_possibleConstructorReturn2","sham","Proxy","Boolean","prototype","valueOf","call","e","prefix","settings","ddsPrefix","ddsSettings","stablePrefix","slotExistencePropertyNames","footer","DDSQuote","_decorate2","customElement","concat","_initialize","_StableSelectorMixin","_StableSelectorMixin2","_inherits2","_super","_this","_classCallCheck2","_len","length","args","Array","_key","_assertThisInitialized2","_createClass2","F","d","kind","decorators","property","reflect","attribute","key","value","QUOTE_TYPES","DEFAULT","QUOTE_COLOR_SCHEMES","REGULAR","connectedCallback","_this2","_get2","LocaleAPI","getLang","then","_ref","lc","_handleSlotChange","_ref2","target","_ref3","name","hasContent","assignedNodes","some","node","nodeType","Node","TEXT_NODE","textContent","trim","requestUpdate","_renderQuote","isLTR","getComputedStyle","direction","toLowerCase","markType","SINGLE_CURVED","html","_taggedTemplateLiteral2","DOUBLE_ANGLE","SINGLE_ANGLE","LOW_HIGH_REVERSED_DOUBLE_CURVED","CORNER_BRACKET","_renderSource","hasSourceHeading","_hasSourceHeading","hasSourceCopy","_hasSourceCopy","handleSlotChange","_renderFooter","hasFooter","_hasFooter","render","colorScheme","INVERSE","stableSelector","styles","StableSelectorMixin","LitElement","_default","exports"],"sources":["components/quote/quote.ts"],"sourcesContent":["/**\n * @license\n *\n * Copyright IBM Corp. 2020, 2024\n *\n * This source code is licensed under the Apache-2.0 license found in the\n * LICENSE file in the root directory of this source tree.\n */\nimport { html, LitElement, property } from 'lit-element';\nimport settings from 'carbon-components/es/globals/js/settings.js';\nimport ddsSettings from '@carbon/ibmdotcom-utilities/es/utilities/settings/settings.js';\nimport styles from './quote.scss';\nimport StableSelectorMixin from '../../globals/mixins/stable-selector';\nimport { QUOTE_TYPES, QUOTE_COLOR_SCHEMES } from './defs';\nimport '../horizontal-rule/horizontal-rule';\nimport { carbonElement as customElement } from '../../internal/vendor/@carbon/web-components/globals/decorators/carbon-element';\nimport LocaleAPI from '@carbon/ibmdotcom-services/es/services/Locale/Locale.js';\n\nexport { QUOTE_TYPES, QUOTE_COLOR_SCHEMES };\n\nconst { prefix } = settings;\nconst { stablePrefix: ddsPrefix } = ddsSettings;\n\nconst slotExistencePropertyNames = {\n 'source-heading': '_hasSourceHeading',\n 'source-copy': '_hasSourceCopy',\n 'source-bottom-copy': '_hasSourceBottomCopy',\n footer: '_hasFooter',\n};\n\n/**\n * Quote.\n *\n * @element dds-quote\n * @slot copy - The copy content.\n * @slot footer - The footer (CTA) content.\n * @slot source-heading - The heading content of the quote source.\n * @slot source-copy - The copy content of the quote source.\n * @slot source-bottom-copy - The copy content of the quote source placed at the bottom.\n */\n@customElement(`${ddsPrefix}-quote`)\nclass DDSQuote extends StableSelectorMixin(LitElement) {\n /**\n * Defines rendered quote mark style\n * styles:\n * `double-curved`: `“ ”`;\n * `single-curved`: `‘ ’`;\n * `single-angle`: `‹ ›`;\n * `double-angle`: `« »`;\n * `low-high-reversed-double-curved`: `„ “`;\n * `corner-bracket`: `「 」`;\n */\n @property({ reflect: true, attribute: 'mark-type' })\n markType = QUOTE_TYPES.DEFAULT;\n\n /**\n * Defines if the inverse class is included\n */\n @property({ reflect: true, attribute: 'color-scheme' })\n colorScheme = QUOTE_COLOR_SCHEMES.REGULAR;\n\n @property({ reflect: true, attribute: 'lang' })\n lc;\n\n /**\n * `true` if there is source heading.\n */\n protected _hasSourceHeading = false;\n\n /**\n * `true` if there is source copy.\n */\n protected _hasSourceCopy = false;\n\n /**\n * `true` if there is source bottom copy.\n */\n protected _hasSourceBottomCopy = false;\n\n /**\n * `true` if there is cta.\n */\n protected _hasFooter = false;\n\n connectedCallback() {\n super.connectedCallback();\n LocaleAPI.getLang().then(({ lc }) => {\n this.lc = lc;\n });\n }\n\n /**\n * Handles `slotchange` event.\n */\n protected _handleSlotChange({ target }: Event) {\n const { name } = target as HTMLSlotElement;\n const hasContent = (target as HTMLSlotElement)\n .assignedNodes()\n .some(\n (node) => node.nodeType !== Node.TEXT_NODE || node!.textContent!.trim()\n );\n this[slotExistencePropertyNames[name]] = hasContent;\n this.requestUpdate();\n }\n\n protected _renderQuote() {\n const isLTR = getComputedStyle(this).direction.toLowerCase() === 'ltr';\n switch (this.markType) {\n case QUOTE_TYPES.SINGLE_CURVED:\n return html`\n <span class=\"${prefix}--quote__mark\">${isLTR ? '‘' : '’'}</span>\n <blockquote class=\"${prefix}--quote__copy\">\n <slot></slot\n ><span class=\"${prefix}--quote__mark-closing\"\n >${!isLTR ? '‘' : '’'}</span\n >\n </blockquote>\n `;\n case QUOTE_TYPES.DOUBLE_ANGLE:\n return html`\n <span class=\"${prefix}--quote__mark\">${isLTR ? '«' : '»'}</span>\n <blockquote class=\"${prefix}--quote__copy\">\n <slot></slot\n ><span class=\"${prefix}--quote__mark-closing\"\n >${!isLTR ? '«' : '»'}</span\n >\n </blockquote>\n `;\n case QUOTE_TYPES.SINGLE_ANGLE:\n return html`\n <span class=\"${prefix}--quote__mark\">${isLTR ? '‹' : '›'}</span>\n <blockquote class=\"${prefix}--quote__copy\">\n <slot></slot\n ><span class=\"${prefix}--quote__mark-closing\"\n >${!isLTR ? '‹' : '›'}</span\n >\n </blockquote>\n `;\n case QUOTE_TYPES.LOW_HIGH_REVERSED_DOUBLE_CURVED:\n return html`\n <span class=\"${prefix}--quote__mark\">${isLTR ? '„' : '“'}</span>\n <blockquote class=\"${prefix}--quote__copy\">\n <slot></slot\n ><span class=\"${prefix}--quote__mark-closing\"\n >${!isLTR ? '„' : '“'}</span\n >\n </blockquote>\n `;\n case QUOTE_TYPES.CORNER_BRACKET:\n return html`\n <span\n class=\"${prefix}--quote__mark ${prefix}--quote__mark-corner-bracket\"\n >${isLTR ? '「' : '」'}</span\n >\n <blockquote class=\"${prefix}--quote__copy\">\n <slot></slot\n ><span class=\"${prefix}--quote__mark-closing\"\n >${!isLTR ? '「' : '」'}</span\n >\n </blockquote>\n `;\n default:\n return html`\n <span class=\"${prefix}--quote__mark\">${isLTR ? '“' : '”'}</span>\n <blockquote class=\"${prefix}--quote__copy\">\n <slot></slot\n ><span class=\"${prefix}--quote__mark-closing\"\n >${!isLTR ? '“' : '”'}</span\n >\n </blockquote>\n `;\n }\n }\n\n protected _renderSource() {\n const {\n _hasSourceHeading: hasSourceHeading,\n _hasSourceCopy: hasSourceCopy,\n _handleSlotChange: handleSlotChange,\n } = this;\n return html`\n <div\n ?hidden=\"${!hasSourceHeading || !hasSourceCopy}\"\n class=\"${prefix}--quote__source\">\n <slot @slotchange=\"${handleSlotChange}\" name=\"source-heading\"></slot>\n <slot @slotchange=\"${handleSlotChange}\" name=\"source-copy\"></slot>\n <slot\n @slotchange=\"${handleSlotChange}\"\n name=\"source-bottom-copy\"></slot>\n </div>\n `;\n }\n\n protected _renderFooter() {\n const { _hasFooter: hasFooter, _handleSlotChange: handleSlotChange } = this;\n return html`\n <div ?hidden=\"${!hasFooter}\" class=\"${prefix}--quote__footer\">\n <dds-hr></dds-hr>\n <slot name=\"footer\" @slotchange=\"${handleSlotChange}\"></slot>\n </div>\n `;\n }\n\n render() {\n if (this.colorScheme === QUOTE_COLOR_SCHEMES.INVERSE) {\n return html`\n <div class=\"${prefix}--callout__column\">\n <div class=\"${prefix}--callout__content\">\n <div class=\"${prefix}--quote__container\">\n <div class=\"${prefix}--quote__wrapper\">\n ${this._renderQuote()}${this._renderSource()}${this._renderFooter()}\n </div>\n </div>\n </div>\n </div>\n `;\n }\n\n return html`\n <div class=\"${prefix}--quote__container\">\n <div class=\"${prefix}--quote__wrapper\">\n ${this._renderQuote()}${this._renderSource()}${this._renderFooter()}\n </div>\n </div>\n `;\n }\n\n static get stableSelector() {\n return `${ddsPrefix}--quote`;\n }\n\n static styles = styles; // `styles` here is a `CSSResult` generated by custom WebPack loader\n}\n\n/* @__GENERATE_REACT_CUSTOM_ELEMENT_TYPE__ */\nexport default DDSQuote;\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;AAQA,IAAAA,WAAA,GAAAC,OAAA;AACA,IAAAC,SAAA,GAAAC,sBAAA,CAAAF,OAAA;AACA,IAAAG,UAAA,GAAAD,sBAAA,CAAAF,OAAA;AACA,IAAAI,SAAA,GAAAF,sBAAA,CAAAF,OAAA;AACA,IAAAK,eAAA,GAAAH,sB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ApD,IAAA;MAAAK,GAAA;MAAAC,KAAA,EAED,SAAAkD,OAAA,EAAS;QACP,IAAI,IAAI,CAACC,WAAW,KAAKhD,yBAAmB,CAACiD,OAAO,EAAE;UACpD,WAAOjB,gBAAI,EAAA5F,gBAAA,KAAAA,gBAAA,OAAA6F,uBAAA,gVACKrE,MAAM,EACJA,MAAM,EACJA,MAAM,EACJA,MAAM,EAChB,IAAI,CAAC6D,YAAY,CAAC,CAAC,EAAG,IAAI,CAACa,aAAa,CAAC,CAAC,EAAG,IAAI,CAACM,aAAa,CAAC,CAAC;QAM/E;QAEA,WAAOZ,gBAAI,EAAA3F,iBAAA,KAAAA,iBAAA,OAAA4F,uBAAA,6KACKrE,MAAM,EACJA,MAAM,EAChB,IAAI,CAAC6D,YAAY,CAAC,CAAC,EAAG,IAAI,CAACa,aAAa,CAAC,CAAC,EAAG,IAAI,CAACM,aAAa,CAAC,CAAC;MAI3E;IAAC;MAAArD,IAAA;MAAA;MAAAK,GAAA;MAAAC,KAAA,EAED,SAAAqD,eAAA,EAA4B;QAC1B,UAAA5E,MAAA,CAAUR,SAAS;MACrB;IAAC;MAAAyB,IAAA;MAAA;MAAAK,GAAA;MAAAC,KAAA,WAAAA,MAAA;QAAA,OAEesD,oBAAM;MAAA;IAAA;EAAA;AAAA,GA9LD,IAAAC,0BAAmB,EAACC,sBAAU,CAAC;AAiMtD;AAAA,IAAAC,QAAA,GAAAC,OAAA,cACepF,QAAQ"}
@@ -17,6 +17,8 @@ export interface ComponentProps {
17
17
  * @slot media - The media content.
18
18
  * @slot heading - The heading content.
19
19
  * @slot footer - The footer (CTA) content.
20
+ * @csspart wrapper - The wrapper element around the entire shadow root. Usage: `dds-content-item::part(wrapper)`
21
+ * @csspart footer-wrapper - The wrapper element around the footer. Usage: `dds-content-item::part(footer-wrapper)`
20
22
  */
21
23
  declare class DDSContentItem extends Component<ComponentProps> {}
22
24
  export default DDSContentItem;
@@ -15,6 +15,11 @@ export interface ComponentProps {
15
15
  * media beneath.
16
16
  *
17
17
  * @element dds-content-item-horizontal-media-featured
18
+ * @csspart heading-wrapper - The wrapper element around the header. Usage: `dds-content-item-horizontal-media-featured::part(heading-wrapper)`
19
+ * @csspart row - A wrapper element around a row of content. Usage: `dds-content-item-horizontal-media-featured-media::part(row)`
20
+ * @csspart row--text - A wrapper element around the textual elements. Usage: `dds-content-item-horizontal-media-featured-media::part(row--text)`
21
+ * @csspart row--media - A wrapper element around the media. Usage: `dds-content-item-horizontal-media-featured-media::part(row--media)`
22
+ * @csspart body-wrapper - The wrapper element around the body. Usage: `dds-content-item-horizontal-media-featured::part(body-wrapper)`
18
23
  */
19
24
  declare class DDSContentItemHorizontalMediaFeatured
20
25
  extends Component<ComponentProps> {}
@@ -18,6 +18,11 @@ export interface ComponentProps {
18
18
  * A component to present content in a horizontal orientation with media.
19
19
  *
20
20
  * @element dds-content-item-horizontal-media
21
+ * @csspart row - The wrapper element around the entire shadow root. Usage: `dds-content-item-horizontal-media::part(row)`
22
+ * @csspart row--content - The wrapper element around the entire shadow root. Usage: `dds-content-item-horizontal-media::part(row--content)`
23
+ * @csspart text-column-content-wrapper - The wrapper element around the text column. Usage: `dds-content-item-horizontal-media::part(text-column-content-wrapper)`
24
+ * @csspart media-wrapper - The wrapper element around the media. Usage: `dds-content-item-horizontal-media::part(media-wrapper)`
25
+ * @csspart footer-wrapper - The wrapper element around the footer. Usage: `dds-content-item-horizontal::part(footer-wrapper)`
21
26
  */
22
27
  declare class DDSContentItemHorizontalMedia extends Component<ComponentProps> {}
23
28
  export default DDSContentItemHorizontalMedia;
@@ -18,6 +18,11 @@ export interface ComponentProps {
18
18
  * A component to present a content in a horizontal orientation.
19
19
  *
20
20
  * @element dds-content-item-horizontal
21
+ * @csspart heading-wrapper - The wrapper element around the header. Usage: `dds-content-item-horizontal::part(heading-wrapper)`
22
+ * @csspart content-wrapper - The wrapper element around the content. Usage: `dds-content-item-horizontal::part(content-wrapper)`
23
+ * @csspart body-wrapper - The wrapper element around the body. Usage: `dds-content-item-horizontal::part(body-wrapper)`
24
+ * @csspart footer-wrapper - The wrapper element around the footer. Usage: `dds-content-item-horizontal::part(footer-wrapper)`
25
+ * @csspart thumbnail-wrapper - The wrapper element around the thumbnail. Usage: `dds-content-item-horizontal::part(thumbnail-wrapper)`
21
26
  */
22
27
  declare class DDSContentItemHorizontal extends Component<ComponentProps> {}
23
28
  export default DDSContentItemHorizontal;
@@ -11,10 +11,10 @@
11
11
  * @exports ibmdotcom.settings
12
12
  * @type {object} Settings object
13
13
  * @property {string} [prefix=dds]
14
- * Carbon for IBM.com v1.63.0',
14
+ * Carbon for IBM.com v1.64.0',
15
15
  */
16
16
  var settings = {
17
- version: 'Carbon for IBM.com v1.63.0',
17
+ version: 'Carbon for IBM.com v1.64.0',
18
18
  stablePrefix: 'dds'
19
19
  };
20
20
  export default settings;
@@ -11,10 +11,10 @@
11
11
  * @exports ibmdotcom.settings
12
12
  * @type {object} Settings object
13
13
  * @property {string} [prefix=dds]
14
- * Carbon for IBM.com v1.63.0',
14
+ * Carbon for IBM.com v1.64.0',
15
15
  */
16
16
  var settings = {
17
- version: 'Carbon for IBM.com v1.63.0',
17
+ version: 'Carbon for IBM.com v1.64.0',
18
18
  stablePrefix: 'dds'
19
19
  };
20
20
  export default settings;
@@ -17,10 +17,10 @@ exports.default = void 0;
17
17
  * @exports ibmdotcom.settings
18
18
  * @type {object} Settings object
19
19
  * @property {string} [prefix=dds]
20
- * Carbon for IBM.com v1.63.0',
20
+ * Carbon for IBM.com v1.64.0',
21
21
  */
22
22
  var settings = {
23
- version: 'Carbon for IBM.com v1.63.0',
23
+ version: 'Carbon for IBM.com v1.64.0',
24
24
  stablePrefix: 'dds'
25
25
  };
26
26
  var _default = exports.default = settings;
@@ -17,10 +17,10 @@ exports.default = void 0;
17
17
  * @exports ibmdotcom.settings
18
18
  * @type {object} Settings object
19
19
  * @property {string} [prefix=dds]
20
- * Carbon for IBM.com v1.63.0',
20
+ * Carbon for IBM.com v1.64.0',
21
21
  */
22
22
  var settings = {
23
- version: 'Carbon for IBM.com v1.63.0',
23
+ version: 'Carbon for IBM.com v1.64.0',
24
24
  stablePrefix: 'dds'
25
25
  };
26
26
  var _default = exports.default = settings;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@carbon/ibmdotcom-web-components",
3
- "version": "1.48.0",
3
+ "version": "1.49.0",
4
4
  "description": "Carbon for IBM.com Web Components",
5
5
  "license": "Apache-2.0",
6
6
  "exports": {
@@ -90,12 +90,12 @@
90
90
  "wca": "web-component-analyzer analyze src --outFile custom-elements.json"
91
91
  },
92
92
  "dependencies": {
93
- "@carbon/ibmdotcom-services": "1.63.0",
94
- "@carbon/ibmdotcom-styles": "1.63.0",
95
- "@carbon/ibmdotcom-utilities": "1.63.0",
93
+ "@carbon/ibmdotcom-services": "1.64.0",
94
+ "@carbon/ibmdotcom-styles": "1.64.0",
95
+ "@carbon/ibmdotcom-utilities": "1.64.0",
96
96
  "@carbon/layout": "10.37.2",
97
97
  "@carbon/motion": "^11.0.0",
98
- "@carbon/web-components": "1.44.0",
98
+ "@carbon/web-components": "1.45.0",
99
99
  "@ibm/telemetry-js": "^1.3.0",
100
100
  "carbon-components": "10.58.12",
101
101
  "lit-element": "^2.5.1",
@@ -238,5 +238,5 @@
238
238
  "web-component-analyzer": "1.2.0-next.0",
239
239
  "webpack": "^4.46.0"
240
240
  },
241
- "gitHead": "cfb1996601f0390a5e1d3d21a30e505bff436c29"
241
+ "gitHead": "6f34326116e5d1efc3e4ddd1bf03b641baa7fc69"
242
242
  }