{
  "name": "Details",
  "component": "details",
  "fixtures": [
    {
      "name": "default",
      "context": {
        "summaryText": "How to find your NHS number"
      },
      "callBlock": "<p>An NHS number is a 10 digit number, like <span class=\"nhsuk-u-nowrap\">999 123 4567</span>.</p>\n<p>You can find your NHS number by logging in to the NHS App or on any document the NHS has sent you, such as your:</p>\n<ul>\n  <li>prescriptions</li>\n  <li>test results</li>\n  <li>hospital referral letters</li>\n  <li>appointment letters</li>\n</ul>\n<p>Ask your GP surgery for help if you cannot find your NHS number.</p>",
      "screenshot": {
        "states": [
          "click"
        ],
        "selector": ".nhsuk-details__summary"
      },
      "options": {},
      "html": "<details class=\"nhsuk-details\">\n  <summary class=\"nhsuk-details__summary\">\n    <span class=\"nhsuk-details__summary-text\">\n      How to find your NHS number\n    </span>\n  </summary>\n  <div class=\"nhsuk-details__text\">\n    <p>An NHS number is a 10 digit number, like <span class=\"nhsuk-u-nowrap\">999 123 4567</span>.</p>\n<p>You can find your NHS number by logging in to the NHS App or on any document the NHS has sent you, such as your:</p>\n<ul>\n  <li>prescriptions</li>\n  <li>test results</li>\n  <li>hospital referral letters</li>\n  <li>appointment letters</li>\n</ul>\n<p>Ask your GP surgery for help if you cannot find your NHS number.</p>\n  </div>\n</details>"
    },
    {
      "name": "expander",
      "context": {
        "summaryText": "Opening times",
        "classes": "nhsuk-expander"
      },
      "callBlock": "<table class=\"nhsuk-table\">\n  <thead class=\"nhsuk-table__head\">\n    <tr class=\"nhsuk-table__row\">\n      <th scope=\"col\" class=\"nhsuk-table__header\">\n        Day of the week\n      </th>\n      <th scope=\"col\" class=\"nhsuk-table__header\">\n        Opening hours\n      </th>\n    </tr>\n  </thead>\n  <tbody class=\"nhsuk-table__body\">\n    <tr class=\"nhsuk-table__row\">\n      <th scope=\"row\" class=\"nhsuk-table__header\">\n        Monday\n      </th>\n      <td class=\"nhsuk-table__cell\">\n        9am to 6pm\n      </td>\n    </tr>\n    <tr class=\"nhsuk-table__row\">\n      <th scope=\"row\" class=\"nhsuk-table__header\">\n        Tuesday\n      </th>\n      <td class=\"nhsuk-table__cell\">\n        9am to 6pm\n      </td>\n    </tr>\n    <tr class=\"nhsuk-table__row\">\n      <th scope=\"row\" class=\"nhsuk-table__header\">\n        Wednesday\n      </th>\n      <td class=\"nhsuk-table__cell\">\n        9am to 6pm\n      </td>\n    </tr>\n    <tr class=\"nhsuk-table__row\">\n      <th scope=\"row\" class=\"nhsuk-table__header\">\n        Thursday\n      </th>\n      <td class=\"nhsuk-table__cell\">\n        9am to 6pm\n      </td>\n    </tr>\n    <tr class=\"nhsuk-table__row\">\n      <th scope=\"row\" class=\"nhsuk-table__header\">\n        Friday\n      </th>\n      <td class=\"nhsuk-table__cell\">\n        9am to 6pm\n      </td>\n    </tr>\n    <tr class=\"nhsuk-table__row\">\n      <th scope=\"row\" class=\"nhsuk-table__header\">\n        Saturday\n      </th>\n      <td class=\"nhsuk-table__cell\">\n        9am to 1pm\n      </td>\n    </tr>\n    <tr class=\"nhsuk-table__row\">\n      <th scope=\"row\" class=\"nhsuk-table__header\">\n        Sunday\n      </th>\n      <td class=\"nhsuk-table__cell\">\n        Closed\n      </td>\n    </tr>\n  </tbody>\n</table>\n",
      "screenshot": {
        "states": [
          "click"
        ],
        "selector": ".nhsuk-details__summary"
      },
      "options": {},
      "html": "<details class=\"nhsuk-details nhsuk-expander\">\n  <summary class=\"nhsuk-details__summary\">\n    <span class=\"nhsuk-details__summary-text\">\n      Opening times\n    </span>\n  </summary>\n  <div class=\"nhsuk-details__text\">\n    <table class=\"nhsuk-table\">\n  <thead class=\"nhsuk-table__head\">\n    <tr class=\"nhsuk-table__row\">\n      <th scope=\"col\" class=\"nhsuk-table__header\">\n        Day of the week\n      </th>\n      <th scope=\"col\" class=\"nhsuk-table__header\">\n        Opening hours\n      </th>\n    </tr>\n  </thead>\n  <tbody class=\"nhsuk-table__body\">\n    <tr class=\"nhsuk-table__row\">\n      <th scope=\"row\" class=\"nhsuk-table__header\">\n        Monday\n      </th>\n      <td class=\"nhsuk-table__cell\">\n        9am to 6pm\n      </td>\n    </tr>\n    <tr class=\"nhsuk-table__row\">\n      <th scope=\"row\" class=\"nhsuk-table__header\">\n        Tuesday\n      </th>\n      <td class=\"nhsuk-table__cell\">\n        9am to 6pm\n      </td>\n    </tr>\n    <tr class=\"nhsuk-table__row\">\n      <th scope=\"row\" class=\"nhsuk-table__header\">\n        Wednesday\n      </th>\n      <td class=\"nhsuk-table__cell\">\n        9am to 6pm\n      </td>\n    </tr>\n    <tr class=\"nhsuk-table__row\">\n      <th scope=\"row\" class=\"nhsuk-table__header\">\n        Thursday\n      </th>\n      <td class=\"nhsuk-table__cell\">\n        9am to 6pm\n      </td>\n    </tr>\n    <tr class=\"nhsuk-table__row\">\n      <th scope=\"row\" class=\"nhsuk-table__header\">\n        Friday\n      </th>\n      <td class=\"nhsuk-table__cell\">\n        9am to 6pm\n      </td>\n    </tr>\n    <tr class=\"nhsuk-table__row\">\n      <th scope=\"row\" class=\"nhsuk-table__header\">\n        Saturday\n      </th>\n      <td class=\"nhsuk-table__cell\">\n        9am to 1pm\n      </td>\n    </tr>\n    <tr class=\"nhsuk-table__row\">\n      <th scope=\"row\" class=\"nhsuk-table__header\">\n        Sunday\n      </th>\n      <td class=\"nhsuk-table__cell\">\n        Closed\n      </td>\n    </tr>\n  </tbody>\n</table>\n  </div>\n</details>"
    },
    {
      "name": "expander open",
      "context": {
        "summaryText": "Opening times",
        "classes": "nhsuk-expander",
        "open": true
      },
      "callBlock": "<table class=\"nhsuk-table\">\n  <thead class=\"nhsuk-table__head\">\n    <tr class=\"nhsuk-table__row\">\n      <th scope=\"col\" class=\"nhsuk-table__header\">\n        Day of the week\n      </th>\n      <th scope=\"col\" class=\"nhsuk-table__header\">\n        Opening hours\n      </th>\n    </tr>\n  </thead>\n  <tbody class=\"nhsuk-table__body\">\n    <tr class=\"nhsuk-table__row\">\n      <th scope=\"row\" class=\"nhsuk-table__header\">\n        Monday\n      </th>\n      <td class=\"nhsuk-table__cell\">\n        9am to 6pm\n      </td>\n    </tr>\n    <tr class=\"nhsuk-table__row\">\n      <th scope=\"row\" class=\"nhsuk-table__header\">\n        Tuesday\n      </th>\n      <td class=\"nhsuk-table__cell\">\n        9am to 6pm\n      </td>\n    </tr>\n    <tr class=\"nhsuk-table__row\">\n      <th scope=\"row\" class=\"nhsuk-table__header\">\n        Wednesday\n      </th>\n      <td class=\"nhsuk-table__cell\">\n        9am to 6pm\n      </td>\n    </tr>\n    <tr class=\"nhsuk-table__row\">\n      <th scope=\"row\" class=\"nhsuk-table__header\">\n        Thursday\n      </th>\n      <td class=\"nhsuk-table__cell\">\n        9am to 6pm\n      </td>\n    </tr>\n    <tr class=\"nhsuk-table__row\">\n      <th scope=\"row\" class=\"nhsuk-table__header\">\n        Friday\n      </th>\n      <td class=\"nhsuk-table__cell\">\n        9am to 6pm\n      </td>\n    </tr>\n    <tr class=\"nhsuk-table__row\">\n      <th scope=\"row\" class=\"nhsuk-table__header\">\n        Saturday\n      </th>\n      <td class=\"nhsuk-table__cell\">\n        9am to 1pm\n      </td>\n    </tr>\n    <tr class=\"nhsuk-table__row\">\n      <th scope=\"row\" class=\"nhsuk-table__header\">\n        Sunday\n      </th>\n      <td class=\"nhsuk-table__cell\">\n        Closed\n      </td>\n    </tr>\n  </tbody>\n</table>\n",
      "screenshot": false,
      "options": {},
      "html": "<details class=\"nhsuk-details nhsuk-expander\" open>\n  <summary class=\"nhsuk-details__summary\">\n    <span class=\"nhsuk-details__summary-text\">\n      Opening times\n    </span>\n  </summary>\n  <div class=\"nhsuk-details__text\">\n    <table class=\"nhsuk-table\">\n  <thead class=\"nhsuk-table__head\">\n    <tr class=\"nhsuk-table__row\">\n      <th scope=\"col\" class=\"nhsuk-table__header\">\n        Day of the week\n      </th>\n      <th scope=\"col\" class=\"nhsuk-table__header\">\n        Opening hours\n      </th>\n    </tr>\n  </thead>\n  <tbody class=\"nhsuk-table__body\">\n    <tr class=\"nhsuk-table__row\">\n      <th scope=\"row\" class=\"nhsuk-table__header\">\n        Monday\n      </th>\n      <td class=\"nhsuk-table__cell\">\n        9am to 6pm\n      </td>\n    </tr>\n    <tr class=\"nhsuk-table__row\">\n      <th scope=\"row\" class=\"nhsuk-table__header\">\n        Tuesday\n      </th>\n      <td class=\"nhsuk-table__cell\">\n        9am to 6pm\n      </td>\n    </tr>\n    <tr class=\"nhsuk-table__row\">\n      <th scope=\"row\" class=\"nhsuk-table__header\">\n        Wednesday\n      </th>\n      <td class=\"nhsuk-table__cell\">\n        9am to 6pm\n      </td>\n    </tr>\n    <tr class=\"nhsuk-table__row\">\n      <th scope=\"row\" class=\"nhsuk-table__header\">\n        Thursday\n      </th>\n      <td class=\"nhsuk-table__cell\">\n        9am to 6pm\n      </td>\n    </tr>\n    <tr class=\"nhsuk-table__row\">\n      <th scope=\"row\" class=\"nhsuk-table__header\">\n        Friday\n      </th>\n      <td class=\"nhsuk-table__cell\">\n        9am to 6pm\n      </td>\n    </tr>\n    <tr class=\"nhsuk-table__row\">\n      <th scope=\"row\" class=\"nhsuk-table__header\">\n        Saturday\n      </th>\n      <td class=\"nhsuk-table__cell\">\n        9am to 1pm\n      </td>\n    </tr>\n    <tr class=\"nhsuk-table__row\">\n      <th scope=\"row\" class=\"nhsuk-table__header\">\n        Sunday\n      </th>\n      <td class=\"nhsuk-table__cell\">\n        Closed\n      </td>\n    </tr>\n  </tbody>\n</table>\n  </div>\n</details>"
    },
    {
      "name": "open",
      "context": {
        "summaryText": "How to find your NHS number",
        "open": true
      },
      "callBlock": "<p>An NHS number is a 10 digit number, like <span class=\"nhsuk-u-nowrap\">999 123 4567</span>.</p>\n<p>You can find your NHS number by logging in to the NHS App or on any document the NHS has sent you, such as your:</p>\n<ul>\n  <li>prescriptions</li>\n  <li>test results</li>\n  <li>hospital referral letters</li>\n  <li>appointment letters</li>\n</ul>\n<p>Ask your GP surgery for help if you cannot find your NHS number.</p>",
      "screenshot": false,
      "options": {},
      "html": "<details class=\"nhsuk-details\" open>\n  <summary class=\"nhsuk-details__summary\">\n    <span class=\"nhsuk-details__summary-text\">\n      How to find your NHS number\n    </span>\n  </summary>\n  <div class=\"nhsuk-details__text\">\n    <p>An NHS number is a 10 digit number, like <span class=\"nhsuk-u-nowrap\">999 123 4567</span>.</p>\n<p>You can find your NHS number by logging in to the NHS App or on any document the NHS has sent you, such as your:</p>\n<ul>\n  <li>prescriptions</li>\n  <li>test results</li>\n  <li>hospital referral letters</li>\n  <li>appointment letters</li>\n</ul>\n<p>Ask your GP surgery for help if you cannot find your NHS number.</p>\n  </div>\n</details>"
    }
  ]
}
