{"version":3,"sources":["components/breadcrumb/breadcrumb.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAEH,OAAO,EAAuB,UAAU,EAAE,MAAM,aAAa,CAAC;AAM9D;;;GAGG;AACH,cACM,YAAa,SAAQ,UAAU;IACnC,iBAAiB;IAOjB,MAAM;IAQN,MAAM,CAAC,MAAM,MAAU;CACxB;AAED,eAAe,YAAY,CAAC","file":"breadcrumb.d.ts","sourcesContent":["/**\n * @license\n *\n * Copyright IBM Corp. 2019, 2020\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 */\n\nimport { html, customElement, LitElement } from 'lit-element';\nimport settings from 'carbon-components/es/globals/js/settings';\nimport styles from './breadcrumb.scss';\n\nconst { prefix } = settings;\n\n/**\n * Breadcrumb.\n * @element bx-breadcrumb\n */\n@customElement(`${prefix}-breadcrumb`)\nclass BXBreadcrumb extends LitElement {\n  connectedCallback() {\n    if (!this.hasAttribute('role')) {\n      this.setAttribute('role', 'nav');\n    }\n    super.connectedCallback();\n  }\n\n  render() {\n    return html`\n      <ol class=\"${prefix}--breadcrumb ${prefix}--breadcrumb--no-trailing-slash\">\n        <slot></slot>\n      </ol>\n    `;\n  }\n\n  static styles = styles; // `styles` here is a `CSSResult` generated by custom WebPack loader\n}\n\nexport default BXBreadcrumb;\n"]}