{"version":3,"sources":["components/list/ordered-list.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAKH,OAAO,eAAe,MAAM,kBAAkB,CAAC;AAI/C;;GAEG;AACH,cACM,aAAc,SAAQ,eAAe;IACzC,MAAM;CAYP;AAED,eAAe,aAAa,CAAC","file":"ordered-list.d.ts","sourcesContent":["/**\n * @license\n *\n * Copyright IBM Corp. 2019, 2021\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 { classMap } from 'lit-html/directives/class-map';\nimport { html, customElement } from 'lit-element';\nimport settings from 'carbon-components/es/globals/js/settings';\nimport BXUnorderedList from './unordered-list';\n\nconst { prefix } = settings;\n\n/**\n * Ordered list.\n */\n@customElement(`${prefix}-ordered-list`)\nclass BXOrderedList extends BXUnorderedList {\n  render() {\n    const classes = classMap({\n      [`${prefix}--list--ordered`]: true,\n      [`${prefix}--list--nested`]: this.getAttribute('slot') === 'nested',\n      [`${prefix}--list--expressive`]: this.isExpressive,\n    });\n    return html`\n      <ol class=\"${classes}\">\n        <slot></slot>\n      </ol>\n    `;\n  }\n}\n\nexport default BXOrderedList;\n"]}