diff --git a/finder.js b/finder.js index 9d2d5b5..01a82ca 100644 --- a/finder.js +++ b/finder.js @@ -15,7 +15,7 @@ export function finder(input, options) { tagName: (name) => true, attr: useAttr, timeoutMs: 1000, - seedMinLength: 2, + seedMinLength: 3, optimizedMinLength: 2, maxNumberOfPathChecks: Infinity, }; diff --git a/finder.ts b/finder.ts index b5ee7e1..cba63fd 100644 --- a/finder.ts +++ b/finder.ts @@ -34,7 +34,7 @@ export function finder(input: Element, options?: Partial): string { tagName: (name: string) => true, attr: useAttr, timeoutMs: 1000, - seedMinLength: 2, + seedMinLength: 3, optimizedMinLength: 2, maxNumberOfPathChecks: Infinity, } diff --git a/tests/__snapshots__/finder.test.js.snap b/tests/__snapshots__/finder.test.js.snap index b091824..4a410da 100644 --- a/tests/__snapshots__/finder.test.js.snap +++ b/tests/__snapshots__/finder.test.js.snap @@ -165,7 +165,7 @@ exports[`deployer 1`] = ` "p:nth-child(3) > .button", ".support > .grid > div:nth-of-type(2)", "div:nth-of-type(2) > h2", - ".cell > div:nth-child(2)", + ".grid > div:nth-of-type(2) > div:nth-of-type(1)", "div:nth-of-type(1) > .preview", "div:nth-of-type(1) > .preview > img", "div:nth-of-type(1) > .button", @@ -303,18 +303,18 @@ exports[`github 1`] = ` ".flex-auto", "nav", "nav > ul", - "ul:nth-child(1) > li:nth-of-type(1)", + "nav li:nth-of-type(1)", "ul:nth-child(1) > li:nth-of-type(1) > a", - "ul:nth-child(1) > li:nth-of-type(2)", + "nav li:nth-of-type(2)", "ul:nth-child(1) > li:nth-of-type(2) > a", - "ul:nth-child(1) > li:nth-of-type(3)", + "nav li:nth-of-type(3)", "ul:nth-child(1) > li:nth-of-type(3) > a", - "ul:nth-child(1) > li:nth-of-type(4)", + "nav li:nth-of-type(4)", "ul:nth-child(1) > li:nth-of-type(4) > a", - "ul:nth-child(1) > li:nth-of-type(5)", + "nav li:nth-of-type(5)", "ul:nth-child(1) > li:nth-of-type(5) > a", ".flex-auto > div", - "div:nth-child(2) > .flex-items-center", + ".flex-justify-between .flex-items-center", ".header-search", ".header-search > form", ".header-search div", @@ -323,7 +323,7 @@ exports[`github 1`] = ` ".header-search-scope", ".header-search-input", "[name="type"]", - "div:nth-child(2) > span", + ".flex-justify-between > div > span", "span > div", "span > div > a:nth-of-type(1)", "span .text-gray", @@ -356,9 +356,9 @@ exports[`github 1`] = ` ".home-hero-signup > dl:nth-of-type(2) > dd", ".home-hero-signup > dl:nth-of-type(2) .form-control", ".home-hero-signup > dl:nth-of-type(3)", - "dl:nth-child(4) > .input-label", + ".home-hero-signup > dl:nth-of-type(3) > .input-label", "dl:nth-child(4) .form-label", - "dl:nth-child(4) > dd", + ".home-hero-signup > dl:nth-of-type(3) > dd", "dl:nth-child(4) .form-control", ".form-group > .form-control-note", ".home-hero-signup > [name="source"]", @@ -366,7 +366,7 @@ exports[`github 1`] = ` ".home-hero-signup > [name="timestamp"]", ".home-hero-signup > input:nth-of-type(4)", ".home-hero-signup > .btn", - "p:nth-child(10)", + ".text-gray > .home-hero-signup > .form-control-note", "p:nth-child(10) > a:nth-of-type(1)", "p:nth-child(10) > a:nth-of-type(2)", "p:nth-child(10) > span", @@ -380,11 +380,11 @@ exports[`github 1`] = ` ".featurette > div > div:nth-child(4)", "div > .btn-outline", ".application-main > div:nth-of-type(2) > div:nth-of-type(2)", - "div:nth-of-type(2) > .position-relative", + ".featurette > div > .position-relative", ".overflow-hidden > div:nth-of-type(1)", ".position-relative > div > .width-fit", ".position-relative > div:nth-of-type(2)", - "div:nth-of-type(2) > a:nth-of-type(1)", + ".position-relative > div > a:nth-of-type(1)", "a:nth-of-type(1) > .summarylink-illustration", "a:nth-of-type(1) .width-fit", "div:nth-of-type(2) > a:nth-of-type(1) > .summarylink-btn", @@ -394,7 +394,7 @@ exports[`github 1`] = ` "a:nth-of-type(1) p > .text-blue", "a:nth-of-type(1) > .summarylink-btn > .text-blue", "a:nth-of-type(1) .text-blue > path", - "div:nth-of-type(2) > a:nth-of-type(2)", + ".position-relative > div > a:nth-of-type(2)", "a:nth-of-type(2) > .summarylink-illustration", "a:nth-of-type(2) .width-fit", "div:nth-of-type(2) > a:nth-of-type(2) > .summarylink-btn", @@ -404,7 +404,7 @@ exports[`github 1`] = ` "a:nth-of-type(2) > .summarylink-btn > div .text-blue", "div:nth-of-type(2) > a:nth-of-type(2) .octicon", "div:nth-of-type(2) > a:nth-of-type(2) path", - "div:nth-of-type(2) > a:nth-of-type(3)", + ".position-relative > div > a:nth-of-type(3)", "a:nth-of-type(3) > .summarylink-illustration", "a:nth-of-type(3) .width-fit", "div:nth-of-type(2) > a:nth-of-type(3) > .summarylink-btn", @@ -415,7 +415,7 @@ exports[`github 1`] = ` "a:nth-of-type(3) > .summarylink-btn > .text-blue", "a:nth-of-type(3) .text-blue > path", ".application-main > div:nth-of-type(3)", - "div:nth-of-type(3) > div:nth-child(1)", + ".application-main > div:nth-of-type(3) > div", "div:nth-of-type(3) .text-normal", "div:nth-of-type(3) h2", "div:nth-of-type(3) > div > .lead", @@ -425,15 +425,15 @@ exports[`github 1`] = ` ".flex-row-reverse > .text-center", ".text-center > .width-fit", ".flex-row-reverse > div:nth-of-type(2)", - "div:nth-child(2) > h3:nth-of-type(1)", + ".flex-row-reverse h3:nth-of-type(1)", ".flex-row-reverse p:nth-of-type(1)", "h3:nth-of-type(2)", - "div:nth-of-type(2) > p:nth-child(4)", + ".flex-items-center p:nth-of-type(2)", ".clearfix", ".float-left", ".float-left > svg", "svg > title", - "path:nth-child(2)", + ".float-left path:nth-of-type(1)", "path:nth-of-type(2)", ".clearfix > .overflow-hidden", ".overflow-hidden > h4", @@ -467,7 +467,7 @@ exports[`github 1`] = ` ".apps-cluster > div:nth-of-type(7)", "div:nth-of-type(7) > img", ".text-center > div:nth-of-type(3)", - "div:nth-of-type(3) > .alt-text-small", + ".text-center .alt-text-small", "div:nth-of-type(3) > p:nth-of-type(2)", "div:nth-of-type(3) > p > a", "p:nth-child(2) > a > span", @@ -538,7 +538,7 @@ exports[`github 1`] = ` "article:nth-of-type(7) .text-gray", ".featurette > div:nth-of-type(3)", "div:nth-of-type(3) > .lead", - "div:nth-of-type(3) > div:nth-child(2)", + ".featurette > div:nth-of-type(3) > div:nth-of-type(1)", "div:nth-of-type(3) .position-relative", "div > .position-relative > a:nth-of-type(1)", "a:nth-of-type(1) > .circle", @@ -555,7 +555,7 @@ exports[`github 1`] = ` "a:nth-of-type(2) span:nth-of-type(2)", ".position-relative > a:nth-of-type(2) > .summarylink-btn", "a:nth-of-type(2) > .summarylink-btn > p", - "p:nth-child(1) > .text-blue", + ".summarylink-btn > p > .text-blue", ".position-relative > .summarylink > .summarylink-btn > .text-blue", ".position-relative > .summarylink .text-blue > path", ".position-relative > a:nth-of-type(3)", @@ -598,15 +598,15 @@ exports[`github 1`] = ` ".featurette > .text-white", ".text-white > h2", "div:nth-of-type(6) > div:nth-of-type(2)", - "div:nth-of-type(2) > .home-hero-signup", + ".featurette .home-hero-signup", "div:nth-of-type(2) > .home-hero-signup > div:nth-of-type(1)", "div:nth-of-type(2) > .home-hero-signup [name="utf8"]", "div:nth-of-type(2) > .home-hero-signup > div:nth-of-type(1) > input:nth-of-type(2)", ".home-hero-signup > .flex-wrap", ".flex-wrap > dl:nth-of-type(1)", - "dl:nth-child(1) > .input-label", + ".flex-wrap > dl:nth-of-type(1) > .input-label", "dl:nth-of-type(1) .text-gray", - "dl:nth-child(1) > dd", + ".flex-wrap > dl:nth-of-type(1) > dd", "dl:nth-child(1) .form-control", ".flex-wrap > dl:nth-of-type(2)", ".flex-wrap > dl:nth-of-type(2) > .input-label", @@ -622,9 +622,9 @@ exports[`github 1`] = ` ".flex-wrap > input:nth-of-type(2)", ".flex-wrap > [name="timestamp"]", ".flex-wrap > input:nth-of-type(4)", - "div:nth-child(8)", + ".home-hero-signup > .flex-wrap > div", "div > .btn-block", - ".home-hero-signup > p:nth-child(3)", + "div:nth-of-type(2) > .home-hero-signup > .form-control-note", ".home-hero-signup > p:nth-child(3) > a:nth-of-type(1)", "p:nth-child(3) > a:nth-of-type(2)", "p:nth-child(3) > span", @@ -634,10 +634,10 @@ exports[`github 1`] = ` ".footer > .flex-wrap > div:nth-of-type(1)", ".octicon-logo-github", ".octicon-logo-github > path", - "div:nth-of-type(1) > .alt-text-small", + ".flex-wrap > div > .alt-text-small", ".footer div:nth-of-type(2)", ".flex-wrap > div:nth-of-type(2) > h4", - "div:nth-child(2) > ul", + ".flex-wrap > div:nth-of-type(2) > .text-gray", ".text-gray > li:nth-of-type(1)", ".text-gray > li:nth-of-type(1) > .muted-link", ".text-gray > li:nth-of-type(2)", @@ -659,7 +659,7 @@ exports[`github 1`] = ` "div:nth-of-type(3) li:nth-of-type(3) > .muted-link", "div:nth-of-type(3) > ul > li:nth-of-type(4)", "div:nth-of-type(3) li:nth-of-type(4) > .muted-link", - "div:nth-of-type(1) > div:nth-of-type(4)", + ".footer div:nth-of-type(4)", "div:nth-of-type(4) > h4", "div:nth-of-type(4) > ul", "div:nth-of-type(4) > ul > li:nth-of-type(1)", @@ -676,7 +676,7 @@ exports[`github 1`] = ` "div:nth-of-type(4) li:nth-of-type(6) > .muted-link", "div:nth-of-type(4) > ul > li:nth-of-type(7)", "div:nth-of-type(4) li:nth-of-type(7) > .muted-link", - "div:nth-of-type(1) > div:nth-of-type(5)", + ".footer div:nth-of-type(5)", "div:nth-of-type(5) > h4", "div:nth-of-type(5) > ul", "div:nth-of-type(5) > ul > li:nth-of-type(1)", @@ -689,7 +689,7 @@ exports[`github 1`] = ` "div:nth-of-type(5) > ul > li:nth-of-type(4) > .muted-link", "div:nth-of-type(5) > ul > li:nth-of-type(5)", "div:nth-of-type(5) > ul > li:nth-of-type(5) > .muted-link", - "div:nth-of-type(1) > div:nth-of-type(6)", + ".footer div:nth-of-type(6)", "div:nth-of-type(6) > h4", "div:nth-of-type(6) > ul", "div:nth-of-type(6) li:nth-of-type(1)", @@ -864,7 +864,7 @@ exports[`stripe 1`] = ` "li:nth-of-type(2) > .item-radar path:nth-of-type(2)", "li:nth-of-type(2) > .item-radar .hover-fillDark", ".popupContainer > div:nth-of-type(2)", - "div:nth-child(3) > ul:nth-child(1)", + ".popupContainer > div > ul:nth-of-type(1)", "div:nth-child(3) > ul:nth-child(1) > li:nth-of-type(1)", "li:nth-of-type(1) > .item-pricing", "div:nth-child(3) > ul:nth-child(1) > li:nth-of-type(2)", @@ -873,7 +873,7 @@ exports[`stripe 1`] = ` ".item-gallery", "div:nth-of-type(2) > ul:nth-child(1) > li:nth-of-type(4)", "li > .item-documentation", - "div:nth-of-type(2) > ul:nth-of-type(2)", + ".popupContainer > div > ul:nth-of-type(2)", "div:nth-of-type(2) > ul:nth-of-type(2) > li:nth-of-type(1)", "ul:nth-of-type(2) .item-about", "div:nth-of-type(2) > ul:nth-of-type(2) > li:nth-of-type(2)", @@ -920,7 +920,7 @@ exports[`stripe 1`] = ` ".dropdownContent > div:nth-of-type(2)", ".productsGroupSecondary", ".productsGroupSecondary > li:nth-of-type(1)", - "li:nth-of-type(1) > .item-sigma", + ".productsGroupSecondary .item-sigma", "li:nth-of-type(1) > .item-sigma > svg", "li:nth-of-type(1) > .item-sigma .hover-fillLight", "li:nth-of-type(1) > .item-sigma .hover-fillDark", @@ -930,7 +930,7 @@ exports[`stripe 1`] = ` ".linkTitle > .new-badge", ".item-sigma p", ".productsGroupSecondary > li:nth-of-type(2)", - "li:nth-of-type(2) > .item-atlas", + ".productsGroupSecondary .item-atlas", "li:nth-of-type(2) > .item-atlas > svg", "li:nth-of-type(2) > .item-atlas .hover-fillLight", "li:nth-of-type(2) > .item-atlas .hover-fillDark", @@ -939,7 +939,7 @@ exports[`stripe 1`] = ` ".item-atlas .linkTitle", ".item-atlas p", ".productsGroupSecondary > li:nth-of-type(3)", - "li:nth-of-type(3) > .item-radar", + ".productsGroupSecondary .item-radar", "li:nth-of-type(3) > .item-radar > svg", "li:nth-of-type(3) > .item-radar .hover-fillLight", "li:nth-of-type(3) > .item-radar path:nth-of-type(2)", @@ -949,7 +949,7 @@ exports[`stripe 1`] = ` ".item-radar p", ".prodsubGroup", ".prodsubGroup > li", - "li:nth-of-type(1) > [data-analytics-action="works-with"]", + ".prodsubGroup .linkContainer", "[data-analytics-action="works-with"] > .linkTitle", "[data-analytics-action="works-with"] svg", "[data-analytics-action="works-with"] path:nth-of-type(1)", @@ -1019,7 +1019,7 @@ exports[`stripe 1`] = ` ".item-customers .hover-fillDark", ".item-customers path:nth-of-type(3)", ".companyGroup > li:nth-of-type(3)", - "li:nth-of-type(3) > .item-jobs", + ".linkGroup .item-jobs", ".item-jobs > .linkTitle", ".item-jobs svg", ".item-jobs path:nth-of-type(1)", @@ -1063,9 +1063,9 @@ exports[`stripe 1`] = ` ".announcement", ".new-pill", ".message", - "h1:nth-child(2)", - "div:nth-child(1) > p", - "ul:nth-child(4)", + "#intro h1", + "#intro p", + "#intro ul", "ul:nth-child(4) > li:nth-of-type(1)", "ul:nth-child(4) > li:nth-of-type(1) > a", "ul:nth-child(4) > li:nth-of-type(2)", @@ -1097,7 +1097,7 @@ exports[`stripe 1`] = ` "#developers-first", "#programming-languages", "#developers-first > h2", - "h2:nth-child(2) > .heading-icon", + "#developers-first .heading-icon", "h2:nth-child(2) circle:nth-of-type(1)", "h2:nth-child(2) path:nth-of-type(1)", "circle:nth-of-type(2)", @@ -1117,15 +1117,15 @@ exports[`stripe 1`] = ` "li:nth-of-type(1) > button", "li:nth-of-type(1) > button > svg", "li:nth-of-type(1) > button path", - "ul:nth-child(3) > li:nth-of-type(2)", + "nav li:nth-of-type(2)", "li:nth-of-type(2) > button", "li:nth-of-type(2) > button > svg", "li:nth-of-type(2) > button path", - "ul:nth-child(3) > li:nth-of-type(3)", + "nav li:nth-of-type(3)", "li:nth-of-type(3) > button", "li:nth-of-type(3) > button > svg", "li:nth-of-type(3) > button path", - "ul:nth-child(3) > li:nth-of-type(4)", + "nav li:nth-of-type(4)", "li:nth-of-type(4) > button", "li:nth-of-type(4) > button > svg", "li:nth-of-type(4) > button path", @@ -1183,7 +1183,7 @@ exports[`stripe 1`] = ` ".card-sigma path:nth-of-type(1)", ".card-sigma path:nth-of-type(2)", ".card-sigma path:nth-of-type(3)", - "path:nth-child(5)", + ".card-sigma path:nth-of-type(4)", ".card-sigma > h2", ".card-sigma > p", ".card-documentation", @@ -1234,7 +1234,7 @@ exports[`stripe 1`] = ` ".columns > ul:nth-of-type(1) > li:nth-of-type(6)", ".columns > ul:nth-of-type(1) > li:nth-of-type(6) > a", ".columns > ul:nth-of-type(1) > li:nth-of-type(6) span", - "ul:nth-child(1) > li:nth-of-type(7)", + ".columns > ul:nth-of-type(1) > li:nth-of-type(7)", "ul:nth-of-type(1) > li:nth-of-type(7) > a", "ul:nth-of-type(1) > li:nth-of-type(7) span", "ul:nth-of-type(1) > li:nth-of-type(8)", @@ -1292,7 +1292,7 @@ exports[`stripe 1`] = ` ".sidebar > div", ".sidebar h4", ".sidebar h4 > a", - "div:nth-child(1) > .optionList", + ".sidebar .optionList", "div:nth-child(1) > .optionList > li:nth-of-type(1)", "div:nth-child(1) > .optionList > li:nth-of-type(1) > a", "div:nth-child(1) > .optionList > li:nth-of-type(1) span", @@ -1451,10 +1451,10 @@ exports[`tailwindcss 1`] = ` "nav > .relative", ".relative > .flex-none", ".flex-none > span", - "a:nth-of-type(1) > svg", - "svg:nth-child(2) > .fill-sky-400", - "svg:nth-child(2) > path:nth-of-type(2)", - "svg:nth-child(2) > path:nth-of-type(3)", + ".relative > .flex-none > svg", + ".flex-none .fill-sky-400", + ".flex-none > svg > path:nth-of-type(2)", + ".flex-none > svg > path:nth-of-type(3)", ".relative > .group", ".fill-sky-500", ".fill-sky-500 > path", @@ -1462,24 +1462,24 @@ exports[`tailwindcss 1`] = ` ".fill-slate-900", ".fill-slate-900 > circle", ".hidden > .font-medium", - "span:nth-of-type(2) > span", + ".group > .font-medium > span", ".group > svg:nth-of-type(3)", ".group > svg:nth-of-type(3) > path", "nav > .relative > div:nth-of-type(1)", ".relative > div:nth-of-type(1) > a:nth-of-type(1)", - "div:nth-child(3) > a:nth-of-type(2)", + ".relative > div:nth-of-type(1) > a:nth-of-type(2)", "a:nth-of-type(3)", "a:nth-of-type(4)", ".relative > button:nth-of-type(1)", - "button:nth-child(4) > span", + ".relative > button:nth-of-type(1) > span", ".fill-gray-900", ".fill-gray-900 > path", "button:nth-of-type(2)", "button:nth-of-type(2) > span", ".stroke-slate-900", ".stroke-slate-900 > path", - "div:nth-child(6)", - "div:nth-child(6) > a:nth-of-type(1)", + "nav div:nth-of-type(2)", + ".flex > div:nth-of-type(2) > a:nth-of-type(1)", ".hidden > .inline-flex", ".hidden > .inline-flex > span", ".hidden > .inline-flex > span > span", @@ -1522,15 +1522,15 @@ exports[`tailwindcss 1`] = ` ".inline-flex .flex-none", ".inline-flex path", ".inline-flex > div:nth-of-type(2)", - ".items-end > div:nth-of-type(4)", + ".flex > .relative > .relative", ".flex > div:nth-of-type(4) > div:nth-of-type(1)", ".items-end > .relative > div:nth-of-type(2)", - "div:nth-of-type(4) > div:nth-of-type(3)", - "div:nth-of-type(4) > .bottom-full", + ".items-end > .relative > div:nth-of-type(3)", + ".relative > .relative > .bottom-full", "div:nth-of-type(4) > .absolute > .flex", "div:nth-of-type(4) > .absolute > .flex > div:nth-of-type(1)", "div:nth-of-type(4) > .absolute div:nth-of-type(2)", - "div:nth-of-type(4) > .text-slate-900", + ".flex > .relative > .text-slate-900", ".relative > .text-slate-900 > div:nth-of-type(1)", ".text-slate-900 > div:nth-of-type(1) > .rounded-full", ".text-slate-900 > div:nth-of-type(1) > .flex-auto", @@ -1538,7 +1538,7 @@ exports[`tailwindcss 1`] = ` "div:nth-of-type(1) > .flex-auto > .text-slate-700", ".text-slate-900 > div:nth-of-type(1) > .text-slate-700", ".relative > .text-slate-900 > div:nth-of-type(2)", - "div:nth-of-type(2) > img:nth-child(1)", + ".text-slate-900 > div:nth-of-type(2) > .rounded-full", ".text-slate-900 > div:nth-of-type(2) > .flex-auto", "div:nth-of-type(2) > .flex-auto > .font-medium", "div:nth-of-type(2) > .flex-auto > .text-slate-700", @@ -1561,18 +1561,18 @@ exports[`tailwindcss 1`] = ` ".flex-none > path:nth-of-type(3)", "div:nth-of-type(1) > svg:nth-of-type(2)", ".flex-none > circle", - "svg:nth-of-type(2) > path:nth-child(2)", - "div:nth-of-type(1) > svg:nth-of-type(3)", - "svg:nth-child(3) > path", + "div:nth-of-type(1) > svg:nth-of-type(2) > path", + ".flex > .flex > svg:nth-of-type(3)", + "div:nth-of-type(1) > svg:nth-of-type(3) > path", ".relative > .flex > .flex-auto", ".flex > .items-center > div:nth-of-type(1)", ".flex-auto > .flex", ".rounded-full > .flex-none", - ".rounded-full > div:nth-of-type(2)", + ".flex-auto > .flex > .rounded-full", ".flex-auto > div:nth-of-type(3)", ".flex-auto > svg:nth-of-type(1)", - "svg:nth-child(4) > path:nth-of-type(1)", - "svg:nth-child(4) > path:nth-of-type(2)", + ".flex-auto > svg:nth-of-type(1) > path:nth-of-type(1)", + ".flex-auto path:nth-of-type(2)", ".flex-auto > svg:nth-of-type(2)", ".flex-auto > svg:nth-of-type(2) > path", ".origin-top > .items-start", @@ -1580,7 +1580,7 @@ exports[`tailwindcss 1`] = ` ".items-start > div > .items-end", ".justify-end > .absolute", ".items-start > div > .relative > div:nth-of-type(2)", - "div:nth-of-type(2) > .justify-end", + ".relative > div > .justify-end", ".justify-end > .overflow-hidden", ".justify-end > .overflow-hidden > div:nth-of-type(1)", ".flex > .pointer-events-auto > div:nth-of-type(2)", @@ -1594,14 +1594,14 @@ exports[`tailwindcss 1`] = ` "div:nth-of-type(2) > .bottom-full > .flex > div:nth-of-type(1)", "div:nth-of-type(2) > .bottom-full div:nth-of-type(2)", "div > .relative > .items-center", - "div:nth-of-type(5) > .stroke-slate-500", + ".relative > .flex > .stroke-slate-500", "div:nth-of-type(5) > .stroke-slate-500 > path", - "div:nth-of-type(5) > svg:nth-of-type(2)", + ".relative > .flex > svg:nth-of-type(2)", "div:nth-of-type(5) > svg:nth-of-type(2) > path", - "div:nth-of-type(5) > .justify-center", + ".relative > .items-center > .flex", ".items-center > div > svg", ".items-center > div path", - "div:nth-of-type(5) > .font-medium", + ".relative > .flex > .font-medium", ".overflow-visible", ".overflow-visible > path", "svg:nth-of-type(4)", @@ -1611,7 +1611,7 @@ exports[`tailwindcss 1`] = ` ".ring-indigo-600", ".ring-indigo-600 > .flex", ".ring-indigo-600 > .flex > .font-medium", - ".justify-between > svg:nth-child(2)", + ".ring-indigo-600 .flex-none", ".justify-between > svg:nth-child(2) > path", ".ring-indigo-600 > .text-slate-700", ".ring-indigo-600 > .font-medium", @@ -1631,7 +1631,7 @@ exports[`tailwindcss 1`] = ` "div:nth-of-type(1) > .flex > .fill-slate-400 > path", ".font-medium .text-slate-900", ".flex > .relative > .font-medium > div:nth-of-type(2)", - "div:nth-child(2) > .justify-center", + ".font-medium > div:nth-of-type(2) > .flex", "div:nth-of-type(2) > .flex-none > .fill-slate-400", "div:nth-of-type(2) > .flex-none > .fill-slate-400 > path", ".font-medium > div:nth-of-type(2) > div:nth-of-type(2)", @@ -1665,7 +1665,7 @@ exports[`tailwindcss 1`] = ` ".text-slate-400 > .stroke-slate-500", ".text-slate-400 path", ".items-start > div > .relative > .pointer-events-auto > div:nth-of-type(2)", - "div:nth-of-type(2) > .text-slate-500", + ".pointer-events-auto > div > .font-semibold", ".pointer-events-auto > div:nth-of-type(2) > .text-white", ".stroke-white", ".stroke-white > path", @@ -1693,12 +1693,12 @@ exports[`tailwindcss 1`] = ` "div:nth-of-type(1) > .text-slate-900 > div:nth-of-type(1)", "div:nth-of-type(1) > span:nth-of-type(1)", "div:nth-of-type(1) > span:nth-of-type(2)", - "div:nth-of-type(1) > span:nth-of-type(3)", + "div:nth-of-type(3) > .flex > .pointer-events-auto", "div:nth-of-type(1) > .text-slate-900 > div:nth-of-type(2)", - "div:nth-of-type(2) > span:nth-child(1)", + ".text-slate-900 > div:nth-of-type(2) > span:nth-of-type(1)", ".text-slate-900 > div:nth-of-type(2) > span:nth-of-type(2)", - "div:nth-of-type(2) > .text-indigo-600", - "span:nth-of-type(3) > span:nth-of-type(1)", + ".text-slate-900 > .flex > .flex", + ".flex > .font-medium > span:nth-of-type(1)", ".font-medium > span:nth-of-type(2)", ".font-medium > span:nth-of-type(3)", "div:nth-of-type(1) > .text-slate-900 > div:nth-of-type(3)", @@ -1747,7 +1747,7 @@ exports[`tailwindcss 1`] = ` "div > [data-headlessui-state="selected"]", "[role="tabpanel"] > .text-slate-700", "[role="tabpanel"] > div:nth-of-type(1)", - ".relative > ul", + "[role="tabpanel"] .grid", ".grid > li:nth-of-type(1)", "li:nth-of-type(1) > .group", "li:nth-of-type(1) .overflow-hidden", @@ -1848,7 +1848,7 @@ exports[`tailwindcss 1`] = ` "section:nth-of-type(2)", "section:nth-of-type(2) > div", "section:nth-of-type(2) > div > div:nth-of-type(1)", - "div:nth-child(1) > .text-sky-500", + "div > div > h2", "div:nth-child(1) > div > .text-4xl", "section:nth-of-type(2) > div > div:nth-of-type(2)", "div:nth-of-type(1) > div > p:nth-child(1)", @@ -1868,7 +1868,7 @@ exports[`tailwindcss 1`] = ` ".flex > div:nth-of-type(2) > h3", "div:nth-of-type(2) > h3 > .font-semibold", "div:nth-of-type(2) .font-semibold > .absolute", - "div:nth-child(2) > .text-slate-600", + ".flex > div:nth-of-type(2) > .text-slate-600", "div:nth-of-type(2) > .hidden", ".flex-none div:nth-of-type(3)", ".flex > div:nth-of-type(3) > h3", @@ -1885,15 +1885,15 @@ exports[`tailwindcss 1`] = ` ".transition-transform", ".transition-transform > div:nth-of-type(1)", ".transition-transform > div:nth-of-type(1) > .text-slate-700", - "div:nth-of-type(1) > img:nth-child(2)", + ".flex > div:nth-of-type(1) > img", ".transition-transform > div:nth-of-type(2)", ".transition-transform > div:nth-of-type(2) > .text-slate-700", - "div:nth-of-type(2) > img:nth-child(2)", + ".flex > div:nth-of-type(2) > img", ".transition-transform > div:nth-of-type(3)", - "div:nth-of-type(3) > p:nth-child(1)", - "div:nth-of-type(3) > img:nth-child(2)", + ".transition-transform > div:nth-of-type(3) > .text-slate-700", + ".flex > div:nth-of-type(3) > img", ".transition-transform > div:nth-of-type(4)", - "div:nth-of-type(4) > p:nth-child(1)", + ".transition-transform > div:nth-of-type(4) > .text-slate-700", "div:nth-of-type(4) > img", "footer", "#footer-heading",