<!--
  Copyright IBM Corp. 2016, 2018

  This source code is licensed under the Apache-2.0 license found in the
  LICENSE file in the root directory of this source tree.
-->

<div class="{{prefix}}--form-item">
  <label for="time-picker-1" class="{{prefix}}--label">Select a time</label>
  <div class="{{prefix}}--time-picker">
    <div class="{{prefix}}--time-picker__input">
      <input id="time-picker-1" type="text" class="{{prefix}}--text-input {{prefix}}--time-picker__input-field"
        pattern="(1[012]|[1-9]):[0-5][0-9](\\s)?" placeholder="hh:mm" maxlength="5" />
    </div>
    <div class="{{prefix}}--time-picker__select {{prefix}}--select">
      <label for="select-id-1" class="{{prefix}}--label {{prefix}}--visually-hidden">Select AM/PM</label>
      <select id="select-id-1" class="{{prefix}}--select-input">
        <option class="{{prefix}}--select-option" value="AM">AM</option>
        <option class="{{prefix}}--select-option" value="PM">PM</option>
      </select>
      {{ carbon-icon 'ChevronDown16' class=(add prefix '--select__arrow') }}
    </div>
    <div class="{{prefix}}--time-picker__select {{prefix}}--select">
      <label for="select-id-2" class="{{prefix}}--label {{prefix}}--visually-hidden">Select time
        zone</label>
      <select id="select-id-2" class="{{prefix}}--select-input">
        <option class="{{prefix}}--select-option" value="option-1">Time zone 1</option>
        <option class="{{prefix}}--select-option" value="option-2">Time zone 2</option>
        <option class="{{prefix}}--select-option" value="option-3">Time zone 3</option>
      </select>
      {{ carbon-icon 'ChevronDown16' class=(add prefix '--select__arrow') }}
    </div>
  </div>
</div>
<div class="{{prefix}}--form-item">
  <label for="time-picker-2" class="{{prefix}}--label">Select a time</label>
  <div class="{{prefix}}--time-picker" data-invalid>
    <div class="{{prefix}}--time-picker__input">
      <input id="time-picker-2" type="text" class="{{prefix}}--text-input {{prefix}}--time-picker__input-field"
        pattern="(1[012]|[1-9]):[0-5][0-9](\\s)?" placeholder="hh:mm" maxlength="5" />
    </div>
    <div class="{{prefix}}--time-picker__select {{prefix}}--select">
      <label for="select-id-3" class="{{prefix}}--label {{prefix}}--visually-hidden">Select AM/PM</label>
      <select id="select-id-3" class="{{prefix}}--select-input">
        <option class="{{prefix}}--select-option" value="AM">AM</option>
        <option class="{{prefix}}--select-option" value="PM">PM</option>
      </select>
      {{ carbon-icon 'ChevronDown16' class=(add prefix '--select__arrow') }}
    </div>
    <div class="{{prefix}}--time-picker__select {{prefix}}--select">
      <label for="select-id-4" class="{{prefix}}--label {{prefix}}--visually-hidden">Select time
        zone</label>
      <select id="select-id-4" class="{{prefix}}--select-input">
        <option class="{{prefix}}--select-option" value="option-1">Time zone 1</option>
        <option class="{{prefix}}--select-option" value="option-2">Time zone 2</option>
        <option class="{{prefix}}--select-option" value="option-3">Time zone 3</option>
      </select>
      {{ carbon-icon 'ChevronDown16' class=(add prefix '--select__arrow') }}
    </div>
  </div>
  <div class="{{prefix}}--form-requirement">
    Invalid time.
  </div>
</div>
<div class="{{prefix}}--form-item">
  <label for="time-picker-3" class="{{prefix}}--label {{prefix}}--label--disabled">Select a time</label>
  <div class="{{prefix}}--time-picker">
    <div class="{{prefix}}--time-picker__input">
      <input id="time-picker-3" type="text" class="{{prefix}}--text-input {{prefix}}--time-picker__input-field"
        pattern="(1[012]|[1-9]):[0-5][0-9](\\s)?" placeholder="hh:mm" maxlength="5" disabled />
    </div>
    <div class="{{prefix}}--time-picker__select {{prefix}}--select">
      <label for="select-id-5" class="{{prefix}}--label {{prefix}}--visually-hidden">Select AM/PM</label>
      <select id="select-id-5" class="{{prefix}}--select-input" disabled>
        <option class="{{prefix}}--select-option" value="AM">AM</option>
        <option class="{{prefix}}--select-option" value="PM">PM</option>
      </select>
      {{ carbon-icon 'ChevronDown16' class=(add prefix '--select__arrow') }}
    </div>
    <div class="{{prefix}}--time-picker__select {{prefix}}--select">
      <label for="select-id-6" class="{{prefix}}--label {{prefix}}--visually-hidden">Select time
        zone</label>
      <select id="select-id-6" class="{{prefix}}--select-input" disabled>
        <option class="{{prefix}}--select-option" value="option-1">Time zone 1</option>
        <option class="{{prefix}}--select-option" value="option-2">Time zone 2</option>
        <option class="{{prefix}}--select-option" value="option-3">Time zone 3</option>
      </select>
      {{ carbon-icon 'ChevronDown16' class=(add prefix '--select__arrow') }}
    </div>
  </div>
</div>
<div class="{{prefix}}--form-item">
  <label for="time-picker-4" class="{{prefix}}--label {{prefix}}--label--disabled">Select a time</label>
  <div class="{{prefix}}--time-picker" data-invalid>
    <div class="{{prefix}}--time-picker__input">
      <input id="time-picker-4" type="text" class="{{prefix}}--text-input {{prefix}}--time-picker__input-field"
        pattern="(1[012]|[1-9]):[0-5][0-9](\\s)?" placeholder="hh:mm" maxlength="5" disabled />
    </div>
    <div class="{{prefix}}--time-picker__select {{prefix}}--select">
      <label for="select-id-7" class="{{prefix}}--label {{prefix}}--visually-hidden">Select AM/PM</label>
      <select id="select-id-7" class="{{prefix}}--select-input" disabled>
        <option class="{{prefix}}--select-option" value="AM">AM</option>
        <option class="{{prefix}}--select-option" value="PM">PM</option>
      </select>
      {{ carbon-icon 'ChevronDown16' class=(add prefix '--select__arrow') }}
    </div>
    <div class="{{prefix}}--time-picker__select {{prefix}}--select">
      <label for="select-id-8" class="{{prefix}}--label {{prefix}}--visually-hidden">Select time
        zone</label>
      <select id="select-id-8" class="{{prefix}}--select-input" disabled>
        <option class="{{prefix}}--select-option" value="option-1">Time zone 1</option>
        <option class="{{prefix}}--select-option" value="option-2">Time zone 2</option>
        <option class="{{prefix}}--select-option" value="option-3">Time zone 3</option>
      </select>
      {{ carbon-icon 'ChevronDown16' class=(add prefix '--select__arrow') }}
    </div>
  </div>
  <div class="{{prefix}}--form-requirement">
    Invalid time.
  </div>
</div>
