// Jest Snapshot v1, https://goo.gl/fbAQLP

exports[`Repository Modal - packages section creates snapshot 1`] = `
<DocumentFragment>
  <div>
    <div
      class="modal-backdrop activeBackdrop"
      data-testid="modalBackdrop"
    />
    <div
      class="modal modal active d-block"
      role="dialog"
    >
      <div
        class="modal-dialog modal-lg modal-dialog-centered modal-dialog-scrollable"
      >
        <div
          class="modal-content content modal"
        >
          <div
            class="modal-header d-flex flex-row align-items-center header"
          >
            <div
              class="h3 m-2 title"
            >
              Add repository
            </div>
            <button
              class="close"
              data-testid="closeModalBtn"
              type="button"
            >
              <span
                aria-hidden="true"
              >
                ×
              </span>
            </button>
          </div>
          <div
            class="modal-body p-4 h-100 d-flex flex-column"
          >
            <div
              class="w-100 body"
            >
              <form
                autocomplete="on"
                class="w-100 needs-validation"
                data-testid="repoForm"
                novalidate=""
              >
                <div
                  class="form-group w-75 mb-2"
                >
                  <div
                    class="mb-4"
                  >
                    <label
                      class="font-weight-bold label"
                      for="description"
                    >
                      Kind
                    </label>
                    <div
                      class=" css-2b097c-container"
                    >
                      <div
                        class=" css-1dtax8q-control"
                      >
                        <div
                          class=" css-g1d714-ValueContainer"
                        >
                          <div
                            class="d-flex flex-row align-items-center option"
                          >
                            <span
                              class="mr-2"
                            >
                              <div
                                class="kindIcon"
                              >
                                <img
                                  alt="Icon"
                                  class="mw-100 mh-100"
                                  src="/static/media/helm-chart.svg"
                                />
                              </div>
                            </span>
                            <div>
                              Helm charts
                            </div>
                          </div>
                          <div
                            class="css-b8ldur-Input"
                          >
                            <div
                              class=""
                              style="display: inline-block;"
                            >
                              <input
                                aria-autocomplete="list"
                                autocapitalize="none"
                                autocomplete="off"
                                autocorrect="off"
                                id="react-select-2-input"
                                spellcheck="false"
                                style="box-sizing: content-box; width: 2px; border: 0px; opacity: 1; outline: 0; padding: 0px;"
                                tabindex="0"
                                type="text"
                                value=""
                              />
                              <div
                                style="position: absolute; top: 0px; left: 0px; visibility: hidden; height: 0px; overflow: scroll; white-space: pre; font-family: -webkit-small-control; letter-spacing: normal; text-transform: none;"
                              />
                            </div>
                          </div>
                        </div>
                        <div
                          class=" css-1hb7zxy-IndicatorsContainer"
                        >
                          <span
                            class=" css-1okebmr-indicatorSeparator"
                          />
                          <div
                            aria-hidden="true"
                            class=" css-tlfecz-indicatorContainer"
                          >
                            <svg
                              aria-hidden="true"
                              class="css-6q0nyr-Svg"
                              focusable="false"
                              height="20"
                              viewBox="0 0 20 20"
                              width="20"
                            >
                              <path
                                d="M4.516 7.548c0.436-0.446 1.043-0.481 1.576 0l3.908 3.747 3.908-3.747c0.533-0.481 1.141-0.446 1.574 0 0.436 0.445 0.408 1.197 0 1.615-0.406 0.418-4.695 4.502-4.695 4.502-0.217 0.223-0.502 0.335-0.787 0.335s-0.57-0.112-0.789-0.335c0 0-4.287-4.084-4.695-4.502s-0.436-1.17 0-1.615z"
                              />
                            </svg>
                          </div>
                        </div>
                      </div>
                    </div>
                  </div>
                </div>
                <div
                  class="form-group mb-4 position-relative undefined"
                >
                  <label
                    class="font-weight-bold label"
                    for="name"
                  >
                    <span
                      class="font-weight-bold"
                    >
                      Name
                    </span>
                    <small
                      class="ml-1 font-italic"
                    >
                      (Required)
                    </small>
                  </label>
                  <input
                    autocomplete="off"
                    class="form-control"
                    data-testid="nameInput"
                    name="name"
                    pattern="[a-z][a-z0-9-]*"
                    required=""
                    spellcheck="false"
                    type="text"
                    value=""
                  />
                  <div
                    class="invalid-feedback mt-0 inputFeedback"
                  >
                    This field is required
                  </div>
                </div>
                <div
                  class="form-group mb-4 position-relative undefined"
                >
                  <label
                    class="font-weight-bold label"
                    for="displayName"
                  >
                    <span
                      class="font-weight-bold"
                    >
                      Display name
                    </span>
                  </label>
                  <input
                    class="form-control"
                    data-testid="displayNameInput"
                    name="displayName"
                    spellcheck="false"
                    type="text"
                    value=""
                  />
                  <div
                    class="invalid-feedback mt-0 inputFeedback"
                  />
                </div>
                <div
                  class="form-group mb-4 position-relative undefined"
                >
                  <label
                    class="font-weight-bold label"
                    for="url"
                  >
                    <span
                      class="font-weight-bold"
                    >
                      Url
                    </span>
                    <small
                      class="ml-1 font-italic"
                    >
                      (Required)
                    </small>
                  </label>
                  <input
                    class="form-control"
                    data-testid="urlInput"
                    name="url"
                    required=""
                    spellcheck="false"
                    type="url"
                    value=""
                  />
                  <div
                    class="invalid-feedback mt-0 inputFeedback"
                  >
                    This field is required
                  </div>
                  <div
                    class="alert p-0 mt-4"
                  >
                    <small
                      class="text-muted text-break mt-1"
                    >
                      <p>
                        Base URL of the repository where the index.yaml and optionally some package charts are hosted.
                      </p>
                      <p>
                        If you host your charts in Github, you can use 
                        <a
                          class="link text-reset"
                          href="https://helm.sh/docs/topics/chart_repository/#github-pages-example"
                          rel="noopener noreferrer"
                          role="button"
                          target="_blank"
                        >
                          <u>
                            GitHub Pages
                          </u>
                        </a>
                         to serve them or you can use a URL like the one below:
                      </p>
                      <p
                        class="font-italic ml-1 ml-md-3 inputAdditionalInfoURL"
                      >
                        https://raw.githubusercontent.com/USERNAME/REPO/BRANCH/PATH/TO/CHARTS
                      </p>
                      <p
                        class="mb-0"
                      >
                        For more information about how to create and host your own chart repository please visit the 
                        <a
                          class="link text-reset"
                          href="https://helm.sh/docs/topics/chart_repository/"
                          rel="noopener noreferrer"
                          role="button"
                          target="_blank"
                        >
                          <u>
                            Helm chart repository guide
                          </u>
                        </a>
                        .
                      </p>
                    </small>
                  </div>
                </div>
              </form>
            </div>
          </div>
          <div
            class="modal-footer p-3"
          >
            <button
              class="btn btn-secondary"
              data-testid="repoBtn"
              type="button"
            >
              Add
            </button>
          </div>
        </div>
      </div>
    </div>
  </div>
</DocumentFragment>
`;
