{"version":3,"sources":["components/file-uploader/file-uploader.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAEH,OAAO,EAAiC,UAAU,EAAE,MAAM,aAAa,CAAC;AAMxE;;;;;GAKG;AACH,cACM,cAAe,SAAQ,UAAU;IACrC;;OAEG;IAEH,UAAU,SAAM;IAEhB;;OAEG;IAEH,SAAS,SAAM;IAEf,MAAM;IAYN,MAAM,CAAC,MAAM,MAAU;CACxB;AAED,eAAe,cAAc,CAAC","file":"file-uploader.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, property, customElement, LitElement } from 'lit-element';\nimport settings from 'carbon-components/es/globals/js/settings';\nimport styles from './file-uploader.scss';\n\nconst { prefix } = settings;\n\n/**\n * The shell UI for file uploader.\n * @element bx-file-uploader\n * @slot helper-text The helper text.\n * @slot label-text The label text.\n */\n@customElement(`${prefix}-file-uploader`)\nclass BXFileUploader extends LitElement {\n  /**\n   * The helper text.\n   */\n  @property({ attribute: 'helper-text' })\n  helperText = '';\n\n  /**\n   * The label text.\n   */\n  @property({ attribute: 'label-text' })\n  labelText = '';\n\n  render() {\n    const { helperText, labelText } = this;\n    return html`\n      <strong class=\"${prefix}--file--label\"><slot name=\"label-text\">${labelText}</slot></strong>\n      <p class=\"${prefix}--label-description\"><slot name=\"helperText-text\">${helperText}</slot></p>\n      <slot name=\"drop-container\"></slot>\n      <div class=\"${prefix}--file-container\">\n        <slot></slot>\n      </div>\n    `;\n  }\n\n  static styles = styles;\n}\n\nexport default BXFileUploader;\n"]}