import templateOnly from '@ember/component/template-only';
import { setComponentTemplate } from '@ember/component';
import { precompileTemplate } from '@ember/template-compilation';
import { concat } from '@ember/helper';
import argOrDefault from '../helpers/arg-or-default.js';
import classNames from '../helpers/class-names.js';

const EuiRangeLabel = setComponentTemplate(precompileTemplate(`
  <label
    class={{classNames
      "euiRangeLabel"
      (concat "euiRangeLabel--" (argOrDefault @side "max"))
      (if @disabled "euiRangeLabel--isDisabled")
    }}
  >
    {{yield}}
  </label>
`, {
  strictMode: true,
  scope: () => ({
    classNames,
    concat,
    argOrDefault
  })
}), templateOnly("eui-range-label", "EuiRangeLabel"));

export { EuiRangeLabel as default };
//# sourceMappingURL=eui-range-label.js.map
