<commit_before><link rel="import" href="../../../bower_components/polymer/polymer.html">
<link rel="import" href="../../../bower_components/iron-flex-layout/iron-flex-layout.html">

<dom-module id="data-table-row">

  <template>

    <style>
      *[hidden] {
        display: none !important;
      }

      :host {
        --row-width: {
          width: calc(100% - 96px);
        }
        display: block;
        border-bottom: 1px solid var(--dark-divider-color, rgba(0, 0, 0, 0.12));
      }

      :host(:hover) paper-material {
        background-color: #EEEEEE; /* TODO: replace with app-theme var */
        @apply(--hover-setting);
      }

      paper-material {
        @apply(--layout-horizontal);
        @apply(--layout-center);
        padding-right: 24px;
        font-size: 13px;
        color: var(--primary-text-color, rgba(0, 0, 0, 0.87));
        background-color: var(--primary-background-color, #FFFFFF);
      }

      paper-material ::slotted(*) {
        @apply(--row-width);
        text-overflow: ellipsis;
      }

      #iconWrapper {
        height: 48px;
        line-height: 48px;
        padding: 0 24px;
        cursor: pointer;
      }

      iron-icon {
        color: var(--dark-icon-color, rgba(0, 0, 0, 0.54));
      }

      #collapse-wrapper {
        padding: 15px 24px 15px 72px;
        background-color: #EEEEEE; /* TODO: replace with app-theme var */
        border-top: 1px solid var(--dark-divider-color, rgba(0, 0, 0, 0.12));
      }

    </style>

    <paper-material id="wrapper" elevation="0">
      <div id="iconWrapper">
        <iron-icon id="more" icon="expand-more" hidden$="[[detailsOpened]]" on-tap="_toggleRowDetails"></iron-icon>
        <iron-icon id="less" icon="expand-less" hidden$="[[!detailsOpened]]" on-tap="_toggleRowDetails"></iron-icon>
      </div>
      <slot name="row-data"></slot>
    </paper-material>

    <iron-collapse id="details" opened="{{detailsOpened}}">
      <div id="collapse-wrapper">
        <slot name="row-data-details"></slot>
      </div>
    </iron-collapse><commit_msg>feature(refresh-govts-list-on-edit): Fixed an issue with list styling on ff<commit_after><link rel="import" href="../../../bower_components/polymer/polymer.html">
<link rel="import" href="../../../bower_components/iron-flex-layout/iron-flex-layout.html">

<dom-module id="data-table-row">

  <template>

    <style>
      *[hidden] {
        display: none !important;
      }

      :host {
        --row-width: {
          width: calc(100% - 96px);
        }
        display: block;
        border-bottom: 1px solid var(--dark-divider-color, rgba(0, 0, 0, 0.12));
      }

      :host(:hover) paper-material {
        background-color: #EEEEEE; /* TODO: replace with app-theme var */
        @apply(--hover-setting);
      }

      paper-material {
        @apply(--layout-horizontal);
        @apply(--layout-center);
        padding-right: 24px;
        font-size: 13px;
        color: var(--primary-text-color, rgba(0, 0, 0, 0.87));
        background-color: var(--primary-background-color, #FFFFFF);
      }

      paper-material ::slotted(*) {
        @apply(--row-width);
        text-overflow: ellipsis;
      }

      #iconWrapper {
        height: 48px;
        line-height: 48px;
        padding: 0 24px;
        cursor: pointer;
        width: 24px;
      }

      iron-icon {
        color: var(--dark-icon-color, rgba(0, 0, 0, 0.54));
      }

      #collapse-wrapper {
        padding: 15px 24px 15px 72px;
        background-color: #EEEEEE; /* TODO: replace with app-theme var */
        border-top: 1px solid var(--dark-divider-color, rgba(0, 0, 0, 0.12));
      }

    </style>

    <paper-material id="wrapper" elevation="0">
      <div id="iconWrapper">
        <iron-icon id="more" icon="expand-more" hidden$="[[detailsOpened]]" on-tap="_toggleRowDetails"></iron-icon>
        <iron-icon id="less" icon="expand-less" hidden$="[[!detailsOpened]]" on-tap="_toggleRowDetails"></iron-icon>
      </div>
      <slot name="row-data"></slot>
    </paper-material>

    <iron-collapse id="details" opened="{{detailsOpened}}">
      <div id="collapse-wrapper">
        <slot name="row-data-details"></slot>
      </div>
    </iron-collapse>
{'fraction_non_alphanumeric': 0.17981520966595593, 'fraction_numerical': 0.024638711205875383, 'mean_word_length': 2.200909780136467, 'pattern_counts': {'":': 0, '<': 47, '<?xml version=': 0, '>': 47, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '7241616', 'n_tokens_mistral': 1492, 'n_tokens_neox': 1346, 'n_words': 263}