diff --git a/.browserslistrc b/.browserslistrc index 5a9dea4eb..7a4ee6176 100644 --- a/.browserslistrc +++ b/.browserslistrc @@ -1 +1,4 @@ -last 2 versions +> 0.5%, +last 2 versions, +Firefox ESR, +not dead diff --git a/package-lock.json b/package-lock.json index ec20bed4a..7b820bc3a 100644 --- a/package-lock.json +++ b/package-lock.json @@ -19,14 +19,11 @@ "@fortawesome/pro-solid-svg-icons": "^5.15.4", "@fortawesome/react-fontawesome": "^0.2.0", "@heroicons/react": "^1.0.6", - "@tailwindcss/aspect-ratio": "^0.4.2", - "@tailwindcss/forms": "^0.5.7", "adapt-auth-sdk": "^1.0.20", "algoliasearch": "^4.20.0", "body-parser": "^1.20.2", "cnbuilder": "^3.1.0", "cookie-parser": "^1.4.6", - "decanter": "^7.1.2", "fast-sort": "^3.4.0", "gatsby": "^4.25.7", "gatsby-link": "^4.25.0", @@ -70,7 +67,6 @@ "storyblok-react": "^0.1.2", "storyblok-rich-text-react-renderer-ts": "^3.2.0", "tabbable": "^5.3.3", - "tailwindcss-interaction-variants": "^5.0.0", "url-parse": "^1.5.10", "use-query-params": "^1.2.3", "xml2js": "^0.6.2" @@ -82,10 +78,12 @@ "@babel/plugin-transform-runtime": "^7.23.4", "@babel/preset-env": "^7.23.5", "@babel/preset-react": "^7.23.3", + "@tailwindcss/forms": "^0.5.7", "autoprefixer": "^10.4.16", "axios-mock-adapter": "^1.22.0", "cross-env": "^7.0.3", "cypress": "^13.6.0", + "decanter": "^7.1.2", "dotenv": "^16.3.1", "eslint": "^7.32.0", "eslint-config-airbnb": "^18.2.1", @@ -228,6 +226,7 @@ "version": "5.2.0", "resolved": "https://registry.npmjs.org/@alloc/quick-lru/-/quick-lru-5.2.0.tgz", "integrity": "sha512-UrcABB+4bUrFABwbluTIBErXwvbsU/V7TZWfmbgJfbkwiBuziS9gxdODUyuiecfdGQ85jglMW6juS3+z5TsKLw==", + "dev": true, "engines": { "node": ">=10" }, @@ -4946,6 +4945,7 @@ "version": "0.4.2", "resolved": "https://registry.npmjs.org/@tailwindcss/aspect-ratio/-/aspect-ratio-0.4.2.tgz", "integrity": "sha512-8QPrypskfBa7QIMuKHg2TA7BqES6vhBrDLOv8Unb6FcFyd3TjKbc6lcmb9UPQHxfl24sXoJ41ux/H7qQQvfaSQ==", + "dev": true, "peerDependencies": { "tailwindcss": ">=2.0.0 || >=3.0.0 || >=3.0.0-alpha.1" } @@ -4954,6 +4954,7 @@ "version": "0.5.7", "resolved": "https://registry.npmjs.org/@tailwindcss/forms/-/forms-0.5.7.tgz", "integrity": "sha512-QE7X69iQI+ZXwldE+rzasvbJiyV/ju1FGHH0Qn2W3FKbuYtqp8LKcy6iSw79fVUT5/Vvf+0XgLCeYVG+UV6hOw==", + "dev": true, "dependencies": { "mini-svg-data-uri": "^1.2.3" }, @@ -5840,7 +5841,8 @@ "node_modules/any-promise": { "version": "1.3.0", "resolved": "https://registry.npmjs.org/any-promise/-/any-promise-1.3.0.tgz", - "integrity": "sha512-7UvmKalWRt1wgjL1RrGxoSJW/0QZFIegpeGvZG9kjp8vrRu55XTHbwnqq2GpXm9uLbcuhxm3IqX9OB4MZR1b2A==" + "integrity": "sha512-7UvmKalWRt1wgjL1RrGxoSJW/0QZFIegpeGvZG9kjp8vrRu55XTHbwnqq2GpXm9uLbcuhxm3IqX9OB4MZR1b2A==", + "dev": true }, "node_modules/anymatch": { "version": "3.1.3", @@ -6906,6 +6908,7 @@ "version": "2.0.1", "resolved": "https://registry.npmjs.org/camelcase-css/-/camelcase-css-2.0.1.tgz", "integrity": "sha512-QOSvevhslijgYwRx6Rv7zKdMF8lbRmx+uQGx2+vDc+KI/eBnsy9kit5aj23AgGu3pa4t9AgwbnXWqS+iOY+2aA==", + "dev": true, "engines": { "node": ">= 6" } @@ -8512,6 +8515,7 @@ "version": "7.1.2", "resolved": "https://registry.npmjs.org/decanter/-/decanter-7.1.2.tgz", "integrity": "sha512-TxhNhB2PtcT4V2SveCjAMhCpIP6XfmYwaNROG1kRZqeHgHarktXI/Clk6sEiY8MQ5/t0pDL+I8dFhAMAQmLI1g==", + "dev": true, "dependencies": { "@tailwindcss/aspect-ratio": "^0.4.2", "@tailwindcss/forms": "^0.5.3", @@ -8773,7 +8777,8 @@ "node_modules/didyoumean": { "version": "1.2.2", "resolved": "https://registry.npmjs.org/didyoumean/-/didyoumean-1.2.2.tgz", - "integrity": "sha512-gxtyfqMg7GKyhQmb056K7M3xszy/myH8w+B4RT+QXBQsvAOdc3XymqDDPHx1BgPgsdAA5SIifona89YtRATDzw==" + "integrity": "sha512-gxtyfqMg7GKyhQmb056K7M3xszy/myH8w+B4RT+QXBQsvAOdc3XymqDDPHx1BgPgsdAA5SIifona89YtRATDzw==", + "dev": true }, "node_modules/dir-glob": { "version": "3.0.1", @@ -8789,7 +8794,8 @@ "node_modules/dlv": { "version": "1.1.3", "resolved": "https://registry.npmjs.org/dlv/-/dlv-1.1.3.tgz", - "integrity": "sha512-+HlytyjlPKnIG8XuRG8WvmBP8xs8P71y+SKKS6ZXWoEgLuePxtDoUEiH7WkdePWrQ5JBpE6aoVqfZfJUQkjXwA==" + "integrity": "sha512-+HlytyjlPKnIG8XuRG8WvmBP8xs8P71y+SKKS6ZXWoEgLuePxtDoUEiH7WkdePWrQ5JBpE6aoVqfZfJUQkjXwA==", + "dev": true }, "node_modules/doctrine": { "version": "3.0.0", @@ -14641,6 +14647,7 @@ "version": "1.21.0", "resolved": "https://registry.npmjs.org/jiti/-/jiti-1.21.0.tgz", "integrity": "sha512-gFqAIbuKyyso/3G2qhiO2OM6shY6EPP/R0+mkDbyspxKazh8BXDC5FiFsUjlczgdNz/vfra0da2y+aHrusLG/Q==", + "dev": true, "bin": { "jiti": "bin/jiti.js" } @@ -15750,6 +15757,7 @@ "version": "1.4.4", "resolved": "https://registry.npmjs.org/mini-svg-data-uri/-/mini-svg-data-uri-1.4.4.tgz", "integrity": "sha512-r9deDe9p5FJUPZAk3A59wGH7Ii9YrjjWw0jmw/liSbHl2CHiyXj6FcDXDu2K3TjVAXqiJdaw3xxwlZZr9E6nHg==", + "dev": true, "bin": { "mini-svg-data-uri": "cli.js" } @@ -15864,6 +15872,7 @@ "version": "2.7.0", "resolved": "https://registry.npmjs.org/mz/-/mz-2.7.0.tgz", "integrity": "sha512-z81GNO7nnYMEhrGh9LeymoE4+Yr0Wn5McHIZMK5cfQCl+NDX08sCZgUc9/6MHni9IWuFLm1Z3HTCXu2z9fN62Q==", + "dev": true, "dependencies": { "any-promise": "^1.0.0", "object-assign": "^4.0.1", @@ -42048,6 +42057,7 @@ "version": "3.0.0", "resolved": "https://registry.npmjs.org/object-hash/-/object-hash-3.0.0.tgz", "integrity": "sha512-RSn9F68PjH9HqtltsSnqYC1XXoWe9Bju5+213R98cNGttag9q9yAOTzdbsqvIa7aNm5WffBZFpWYr2aWrklWAw==", + "dev": true, "engines": { "node": ">= 6" } @@ -42859,6 +42869,7 @@ "version": "4.0.6", "resolved": "https://registry.npmjs.org/pirates/-/pirates-4.0.6.tgz", "integrity": "sha512-saLsH7WeYYPiD25LDuLRRY/i+6HaPYr6G1OUlN39otzkSTxKnubR9RTxS3/Kk50s1g2JTgFwWQDQyplC5/SHZg==", + "dev": true, "engines": { "node": ">= 6" } @@ -43073,6 +43084,7 @@ "version": "15.1.0", "resolved": "https://registry.npmjs.org/postcss-import/-/postcss-import-15.1.0.tgz", "integrity": "sha512-hpr+J05B2FVYUAXHeK1YyI267J/dDDhMU6B6civm8hSY1jYJnBXxzKDKDswzJmtLHryrjhnDjqqp/49t8FALew==", + "dev": true, "dependencies": { "postcss-value-parser": "^4.0.0", "read-cache": "^1.0.0", @@ -43089,6 +43101,7 @@ "version": "4.0.1", "resolved": "https://registry.npmjs.org/postcss-js/-/postcss-js-4.0.1.tgz", "integrity": "sha512-dDLF8pEO191hJMtlHFPRa8xsizHaM82MLfNkUHdUtVEV3tgTp5oj+8qbEqYM57SLfc74KSbw//4SeJma2LRVIw==", + "dev": true, "dependencies": { "camelcase-css": "^2.0.1" }, @@ -43305,6 +43318,7 @@ "version": "6.0.1", "resolved": "https://registry.npmjs.org/postcss-nested/-/postcss-nested-6.0.1.tgz", "integrity": "sha512-mEp4xPMi5bSWiMbsgoPfcP74lsWLHkQbZc3sY+jWYd65CUwXrUaTp0fmNpa01ZcETKlIgUdFN/MpS2xZtqL9dQ==", + "dev": true, "dependencies": { "postcss-selector-parser": "^6.0.11" }, @@ -44354,6 +44368,7 @@ "version": "1.0.0", "resolved": "https://registry.npmjs.org/read-cache/-/read-cache-1.0.0.tgz", "integrity": "sha512-Owdv/Ft7IjOgm/i0xvNDZ1LrRANRfew4b2prF3OWMQLxLfu3bS8FVhCsrSCMK4lR56Y9ya+AThoTpDCTxCmpRA==", + "dev": true, "dependencies": { "pify": "^2.3.0" } @@ -44362,6 +44377,7 @@ "version": "2.3.0", "resolved": "https://registry.npmjs.org/pify/-/pify-2.3.0.tgz", "integrity": "sha512-udgsAY+fTnvv7kI7aaxbqwWNb0AHiB0qBO89PZKPkoTmGOgdbrHDKD+0B2X4uTfJ/FT1R09r9gTsjUjNJotuog==", + "dev": true, "engines": { "node": ">=0.10.0" } @@ -46410,6 +46426,7 @@ "version": "3.34.0", "resolved": "https://registry.npmjs.org/sucrase/-/sucrase-3.34.0.tgz", "integrity": "sha512-70/LQEZ07TEcxiU2dz51FKaE6hCTWC6vr7FOk3Gr0U60C3shtAN+H+BFr9XlYe5xqf3RA8nrc+VIwzCfnxuXJw==", + "dev": true, "dependencies": { "@jridgewell/gen-mapping": "^0.3.2", "commander": "^4.0.0", @@ -46431,6 +46448,7 @@ "version": "0.3.3", "resolved": "https://registry.npmjs.org/@jridgewell/gen-mapping/-/gen-mapping-0.3.3.tgz", "integrity": "sha512-HLhSWOLRi875zjjMG/r+Nv0oCW8umGb0BgEhyX3dDX3egwZtB8PqLnjz3yedt8R5StBrzcg4aBpnh8UA9D1BoQ==", + "dev": true, "dependencies": { "@jridgewell/set-array": "^1.0.1", "@jridgewell/sourcemap-codec": "^1.4.10", @@ -46444,6 +46462,7 @@ "version": "4.1.1", "resolved": "https://registry.npmjs.org/commander/-/commander-4.1.1.tgz", "integrity": "sha512-NOKm8xhkzAjzFx8B2v5OAHT+u5pRQc2UCa2Vq9jYL/31o2wi9mxBA7LIFs3sV5VSC49z6pEhfbMULvShKj26WA==", + "dev": true, "engines": { "node": ">= 6" } @@ -46452,6 +46471,7 @@ "version": "7.1.6", "resolved": "https://registry.npmjs.org/glob/-/glob-7.1.6.tgz", "integrity": "sha512-LwaxwyZ72Lk7vZINtNNrywX0ZuLyStrdDtabefZKAY5ZGJhVtgdznluResxNmPitE0SAO+O26sWTHeKSI2wMBA==", + "dev": true, "dependencies": { "fs.realpath": "^1.0.0", "inflight": "^1.0.4", @@ -46574,6 +46594,7 @@ "version": "3.3.5", "resolved": "https://registry.npmjs.org/tailwindcss/-/tailwindcss-3.3.5.tgz", "integrity": "sha512-5SEZU4J7pxZgSkv7FP1zY8i2TIAOooNZ1e/OGtxIEv6GltpoiXUqWvLy89+a10qYTB1N5Ifkuw9lqQkN9sscvA==", + "dev": true, "dependencies": { "@alloc/quick-lru": "^5.2.0", "arg": "^5.0.2", @@ -46606,20 +46627,11 @@ "node": ">=14.0.0" } }, - "node_modules/tailwindcss-interaction-variants": { - "version": "5.0.0", - "resolved": "https://registry.npmjs.org/tailwindcss-interaction-variants/-/tailwindcss-interaction-variants-5.0.0.tgz", - "integrity": "sha512-Tmx9HjwuNA3G7cLUcebGkNchKkNVIZXBroxa0LBoq/KUb/xEKEM8qugUG7QczSNPhaZzpXmo3IzPkRhf4tDaOQ==", - "deprecated": "Use Tailwind's JIT engine", - "dependencies": { - "lodash": "^4.17.19", - "postcss-selector-parser": "^6.0.2" - } - }, "node_modules/tailwindcss/node_modules/glob-parent": { "version": "6.0.2", "resolved": "https://registry.npmjs.org/glob-parent/-/glob-parent-6.0.2.tgz", "integrity": "sha512-XxwI8EOhVQgWp6iDL+3b0r86f4d6AX6zSU55HfB4ydCEuXLXc5FcYeOu+nnGftS4TEju/11rt4KJPTMgbfmv4A==", + "dev": true, "dependencies": { "is-glob": "^4.0.3" }, @@ -46631,6 +46643,7 @@ "version": "4.0.2", "resolved": "https://registry.npmjs.org/postcss-load-config/-/postcss-load-config-4.0.2.tgz", "integrity": "sha512-bSVhyJGL00wMVoPUzAVAnbEoWyqRxkjv64tUl427SKnPrENtq6hJwUojroMz2VB+Q1edmi4IfrAPpami5VVgMQ==", + "dev": true, "funding": [ { "type": "opencollective", @@ -46665,6 +46678,7 @@ "version": "3.0.0", "resolved": "https://registry.npmjs.org/lilconfig/-/lilconfig-3.0.0.tgz", "integrity": "sha512-K2U4W2Ff5ibV7j7ydLr+zLAkIg5JJ4lPn1Ltsdt+Tz/IjQ8buJ55pZAxoP34lqIiwtF9iAvtLv3JGv7CAyAg+g==", + "dev": true, "engines": { "node": ">=14" } @@ -46673,6 +46687,7 @@ "version": "2.3.4", "resolved": "https://registry.npmjs.org/yaml/-/yaml-2.3.4.tgz", "integrity": "sha512-8aAvwVUSHpfEqTQ4w/KMlf3HcRdt50E5ODIQJBw1fQ5RL34xabzxtUlzTXVqc4rkZsPbvrXKWnABCD7kWSmocA==", + "dev": true, "engines": { "node": ">= 14" } @@ -46826,6 +46841,7 @@ "version": "3.3.1", "resolved": "https://registry.npmjs.org/thenify/-/thenify-3.3.1.tgz", "integrity": "sha512-RVZSIV5IG10Hk3enotrhvz0T9em6cyHBLkH/YAZuKqd8hRkKhSfCGIcP2KUY0EPxndzANBmNllzWPwak+bheSw==", + "dev": true, "dependencies": { "any-promise": "^1.0.0" } @@ -46834,6 +46850,7 @@ "version": "1.6.0", "resolved": "https://registry.npmjs.org/thenify-all/-/thenify-all-1.6.0.tgz", "integrity": "sha512-RNxQH/qI8/t3thXJDwcstUO4zeqo64+Uy/+sNVRBx4Xn2OX+OZ9oP+iJnNFqplFra2ZUVeKCSa2oVWi3T4uVmA==", + "dev": true, "dependencies": { "thenify": ">= 3.1.0 < 4" }, @@ -46990,7 +47007,8 @@ "node_modules/ts-interface-checker": { "version": "0.1.13", "resolved": "https://registry.npmjs.org/ts-interface-checker/-/ts-interface-checker-0.1.13.tgz", - "integrity": "sha512-Y/arvbn+rrz3JCKl9C4kVNfTfSm2/mEp5FSz5EsZSANGPSlQrpRI5M4PKF+mJnE52jOO90PnPSc3Ur3bTQw0gA==" + "integrity": "sha512-Y/arvbn+rrz3JCKl9C4kVNfTfSm2/mEp5FSz5EsZSANGPSlQrpRI5M4PKF+mJnE52jOO90PnPSc3Ur3bTQw0gA==", + "dev": true }, "node_modules/tsconfig-paths": { "version": "3.14.2", @@ -48660,7 +48678,8 @@ "@alloc/quick-lru": { "version": "5.2.0", "resolved": "https://registry.npmjs.org/@alloc/quick-lru/-/quick-lru-5.2.0.tgz", - "integrity": "sha512-UrcABB+4bUrFABwbluTIBErXwvbsU/V7TZWfmbgJfbkwiBuziS9gxdODUyuiecfdGQ85jglMW6juS3+z5TsKLw==" + "integrity": "sha512-UrcABB+4bUrFABwbluTIBErXwvbsU/V7TZWfmbgJfbkwiBuziS9gxdODUyuiecfdGQ85jglMW6juS3+z5TsKLw==", + "dev": true }, "@ampproject/remapping": { "version": "2.2.0", @@ -51690,12 +51709,14 @@ "version": "0.4.2", "resolved": "https://registry.npmjs.org/@tailwindcss/aspect-ratio/-/aspect-ratio-0.4.2.tgz", "integrity": "sha512-8QPrypskfBa7QIMuKHg2TA7BqES6vhBrDLOv8Unb6FcFyd3TjKbc6lcmb9UPQHxfl24sXoJ41ux/H7qQQvfaSQ==", + "dev": true, "requires": {} }, "@tailwindcss/forms": { "version": "0.5.7", "resolved": "https://registry.npmjs.org/@tailwindcss/forms/-/forms-0.5.7.tgz", "integrity": "sha512-QE7X69iQI+ZXwldE+rzasvbJiyV/ju1FGHH0Qn2W3FKbuYtqp8LKcy6iSw79fVUT5/Vvf+0XgLCeYVG+UV6hOw==", + "dev": true, "requires": { "mini-svg-data-uri": "^1.2.3" } @@ -52421,7 +52442,8 @@ "any-promise": { "version": "1.3.0", "resolved": "https://registry.npmjs.org/any-promise/-/any-promise-1.3.0.tgz", - "integrity": "sha512-7UvmKalWRt1wgjL1RrGxoSJW/0QZFIegpeGvZG9kjp8vrRu55XTHbwnqq2GpXm9uLbcuhxm3IqX9OB4MZR1b2A==" + "integrity": "sha512-7UvmKalWRt1wgjL1RrGxoSJW/0QZFIegpeGvZG9kjp8vrRu55XTHbwnqq2GpXm9uLbcuhxm3IqX9OB4MZR1b2A==", + "dev": true }, "anymatch": { "version": "3.1.3", @@ -53196,7 +53218,8 @@ "camelcase-css": { "version": "2.0.1", "resolved": "https://registry.npmjs.org/camelcase-css/-/camelcase-css-2.0.1.tgz", - "integrity": "sha512-QOSvevhslijgYwRx6Rv7zKdMF8lbRmx+uQGx2+vDc+KI/eBnsy9kit5aj23AgGu3pa4t9AgwbnXWqS+iOY+2aA==" + "integrity": "sha512-QOSvevhslijgYwRx6Rv7zKdMF8lbRmx+uQGx2+vDc+KI/eBnsy9kit5aj23AgGu3pa4t9AgwbnXWqS+iOY+2aA==", + "dev": true }, "camelcase-keys": { "version": "6.2.2", @@ -54391,6 +54414,7 @@ "version": "7.1.2", "resolved": "https://registry.npmjs.org/decanter/-/decanter-7.1.2.tgz", "integrity": "sha512-TxhNhB2PtcT4V2SveCjAMhCpIP6XfmYwaNROG1kRZqeHgHarktXI/Clk6sEiY8MQ5/t0pDL+I8dFhAMAQmLI1g==", + "dev": true, "requires": { "@tailwindcss/aspect-ratio": "^0.4.2", "@tailwindcss/forms": "^0.5.3", @@ -54590,7 +54614,8 @@ "didyoumean": { "version": "1.2.2", "resolved": "https://registry.npmjs.org/didyoumean/-/didyoumean-1.2.2.tgz", - "integrity": "sha512-gxtyfqMg7GKyhQmb056K7M3xszy/myH8w+B4RT+QXBQsvAOdc3XymqDDPHx1BgPgsdAA5SIifona89YtRATDzw==" + "integrity": "sha512-gxtyfqMg7GKyhQmb056K7M3xszy/myH8w+B4RT+QXBQsvAOdc3XymqDDPHx1BgPgsdAA5SIifona89YtRATDzw==", + "dev": true }, "dir-glob": { "version": "3.0.1", @@ -54603,7 +54628,8 @@ "dlv": { "version": "1.1.3", "resolved": "https://registry.npmjs.org/dlv/-/dlv-1.1.3.tgz", - "integrity": "sha512-+HlytyjlPKnIG8XuRG8WvmBP8xs8P71y+SKKS6ZXWoEgLuePxtDoUEiH7WkdePWrQ5JBpE6aoVqfZfJUQkjXwA==" + "integrity": "sha512-+HlytyjlPKnIG8XuRG8WvmBP8xs8P71y+SKKS6ZXWoEgLuePxtDoUEiH7WkdePWrQ5JBpE6aoVqfZfJUQkjXwA==", + "dev": true }, "doctrine": { "version": "3.0.0", @@ -58811,7 +58837,8 @@ "jiti": { "version": "1.21.0", "resolved": "https://registry.npmjs.org/jiti/-/jiti-1.21.0.tgz", - "integrity": "sha512-gFqAIbuKyyso/3G2qhiO2OM6shY6EPP/R0+mkDbyspxKazh8BXDC5FiFsUjlczgdNz/vfra0da2y+aHrusLG/Q==" + "integrity": "sha512-gFqAIbuKyyso/3G2qhiO2OM6shY6EPP/R0+mkDbyspxKazh8BXDC5FiFsUjlczgdNz/vfra0da2y+aHrusLG/Q==", + "dev": true }, "joi": { "version": "17.11.0", @@ -59684,7 +59711,8 @@ "mini-svg-data-uri": { "version": "1.4.4", "resolved": "https://registry.npmjs.org/mini-svg-data-uri/-/mini-svg-data-uri-1.4.4.tgz", - "integrity": "sha512-r9deDe9p5FJUPZAk3A59wGH7Ii9YrjjWw0jmw/liSbHl2CHiyXj6FcDXDu2K3TjVAXqiJdaw3xxwlZZr9E6nHg==" + "integrity": "sha512-r9deDe9p5FJUPZAk3A59wGH7Ii9YrjjWw0jmw/liSbHl2CHiyXj6FcDXDu2K3TjVAXqiJdaw3xxwlZZr9E6nHg==", + "dev": true }, "minimatch": { "version": "3.1.2", @@ -59774,6 +59802,7 @@ "version": "2.7.0", "resolved": "https://registry.npmjs.org/mz/-/mz-2.7.0.tgz", "integrity": "sha512-z81GNO7nnYMEhrGh9LeymoE4+Yr0Wn5McHIZMK5cfQCl+NDX08sCZgUc9/6MHni9IWuFLm1Z3HTCXu2z9fN62Q==", + "dev": true, "requires": { "any-promise": "^1.0.0", "object-assign": "^4.0.1", @@ -79318,7 +79347,8 @@ "object-hash": { "version": "3.0.0", "resolved": "https://registry.npmjs.org/object-hash/-/object-hash-3.0.0.tgz", - "integrity": "sha512-RSn9F68PjH9HqtltsSnqYC1XXoWe9Bju5+213R98cNGttag9q9yAOTzdbsqvIa7aNm5WffBZFpWYr2aWrklWAw==" + "integrity": "sha512-RSn9F68PjH9HqtltsSnqYC1XXoWe9Bju5+213R98cNGttag9q9yAOTzdbsqvIa7aNm5WffBZFpWYr2aWrklWAw==", + "dev": true }, "object-inspect": { "version": "1.13.1", @@ -79925,7 +79955,8 @@ "pirates": { "version": "4.0.6", "resolved": "https://registry.npmjs.org/pirates/-/pirates-4.0.6.tgz", - "integrity": "sha512-saLsH7WeYYPiD25LDuLRRY/i+6HaPYr6G1OUlN39otzkSTxKnubR9RTxS3/Kk50s1g2JTgFwWQDQyplC5/SHZg==" + "integrity": "sha512-saLsH7WeYYPiD25LDuLRRY/i+6HaPYr6G1OUlN39otzkSTxKnubR9RTxS3/Kk50s1g2JTgFwWQDQyplC5/SHZg==", + "dev": true }, "pkg-dir": { "version": "4.2.0", @@ -80061,6 +80092,7 @@ "version": "15.1.0", "resolved": "https://registry.npmjs.org/postcss-import/-/postcss-import-15.1.0.tgz", "integrity": "sha512-hpr+J05B2FVYUAXHeK1YyI267J/dDDhMU6B6civm8hSY1jYJnBXxzKDKDswzJmtLHryrjhnDjqqp/49t8FALew==", + "dev": true, "requires": { "postcss-value-parser": "^4.0.0", "read-cache": "^1.0.0", @@ -80071,6 +80103,7 @@ "version": "4.0.1", "resolved": "https://registry.npmjs.org/postcss-js/-/postcss-js-4.0.1.tgz", "integrity": "sha512-dDLF8pEO191hJMtlHFPRa8xsizHaM82MLfNkUHdUtVEV3tgTp5oj+8qbEqYM57SLfc74KSbw//4SeJma2LRVIw==", + "dev": true, "requires": { "camelcase-css": "^2.0.1" } @@ -80200,6 +80233,7 @@ "version": "6.0.1", "resolved": "https://registry.npmjs.org/postcss-nested/-/postcss-nested-6.0.1.tgz", "integrity": "sha512-mEp4xPMi5bSWiMbsgoPfcP74lsWLHkQbZc3sY+jWYd65CUwXrUaTp0fmNpa01ZcETKlIgUdFN/MpS2xZtqL9dQ==", + "dev": true, "requires": { "postcss-selector-parser": "^6.0.11" } @@ -80942,6 +80976,7 @@ "version": "1.0.0", "resolved": "https://registry.npmjs.org/read-cache/-/read-cache-1.0.0.tgz", "integrity": "sha512-Owdv/Ft7IjOgm/i0xvNDZ1LrRANRfew4b2prF3OWMQLxLfu3bS8FVhCsrSCMK4lR56Y9ya+AThoTpDCTxCmpRA==", + "dev": true, "requires": { "pify": "^2.3.0" }, @@ -80949,7 +80984,8 @@ "pify": { "version": "2.3.0", "resolved": "https://registry.npmjs.org/pify/-/pify-2.3.0.tgz", - "integrity": "sha512-udgsAY+fTnvv7kI7aaxbqwWNb0AHiB0qBO89PZKPkoTmGOgdbrHDKD+0B2X4uTfJ/FT1R09r9gTsjUjNJotuog==" + "integrity": "sha512-udgsAY+fTnvv7kI7aaxbqwWNb0AHiB0qBO89PZKPkoTmGOgdbrHDKD+0B2X4uTfJ/FT1R09r9gTsjUjNJotuog==", + "dev": true } } }, @@ -82506,6 +82542,7 @@ "version": "3.34.0", "resolved": "https://registry.npmjs.org/sucrase/-/sucrase-3.34.0.tgz", "integrity": "sha512-70/LQEZ07TEcxiU2dz51FKaE6hCTWC6vr7FOk3Gr0U60C3shtAN+H+BFr9XlYe5xqf3RA8nrc+VIwzCfnxuXJw==", + "dev": true, "requires": { "@jridgewell/gen-mapping": "^0.3.2", "commander": "^4.0.0", @@ -82520,6 +82557,7 @@ "version": "0.3.3", "resolved": "https://registry.npmjs.org/@jridgewell/gen-mapping/-/gen-mapping-0.3.3.tgz", "integrity": "sha512-HLhSWOLRi875zjjMG/r+Nv0oCW8umGb0BgEhyX3dDX3egwZtB8PqLnjz3yedt8R5StBrzcg4aBpnh8UA9D1BoQ==", + "dev": true, "requires": { "@jridgewell/set-array": "^1.0.1", "@jridgewell/sourcemap-codec": "^1.4.10", @@ -82529,12 +82567,14 @@ "commander": { "version": "4.1.1", "resolved": "https://registry.npmjs.org/commander/-/commander-4.1.1.tgz", - "integrity": "sha512-NOKm8xhkzAjzFx8B2v5OAHT+u5pRQc2UCa2Vq9jYL/31o2wi9mxBA7LIFs3sV5VSC49z6pEhfbMULvShKj26WA==" + "integrity": "sha512-NOKm8xhkzAjzFx8B2v5OAHT+u5pRQc2UCa2Vq9jYL/31o2wi9mxBA7LIFs3sV5VSC49z6pEhfbMULvShKj26WA==", + "dev": true }, "glob": { "version": "7.1.6", "resolved": "https://registry.npmjs.org/glob/-/glob-7.1.6.tgz", "integrity": "sha512-LwaxwyZ72Lk7vZINtNNrywX0ZuLyStrdDtabefZKAY5ZGJhVtgdznluResxNmPitE0SAO+O26sWTHeKSI2wMBA==", + "dev": true, "requires": { "fs.realpath": "^1.0.0", "inflight": "^1.0.4", @@ -82632,6 +82672,7 @@ "version": "3.3.5", "resolved": "https://registry.npmjs.org/tailwindcss/-/tailwindcss-3.3.5.tgz", "integrity": "sha512-5SEZU4J7pxZgSkv7FP1zY8i2TIAOooNZ1e/OGtxIEv6GltpoiXUqWvLy89+a10qYTB1N5Ifkuw9lqQkN9sscvA==", + "dev": true, "requires": { "@alloc/quick-lru": "^5.2.0", "arg": "^5.0.2", @@ -82661,6 +82702,7 @@ "version": "6.0.2", "resolved": "https://registry.npmjs.org/glob-parent/-/glob-parent-6.0.2.tgz", "integrity": "sha512-XxwI8EOhVQgWp6iDL+3b0r86f4d6AX6zSU55HfB4ydCEuXLXc5FcYeOu+nnGftS4TEju/11rt4KJPTMgbfmv4A==", + "dev": true, "requires": { "is-glob": "^4.0.3" } @@ -82669,6 +82711,7 @@ "version": "4.0.2", "resolved": "https://registry.npmjs.org/postcss-load-config/-/postcss-load-config-4.0.2.tgz", "integrity": "sha512-bSVhyJGL00wMVoPUzAVAnbEoWyqRxkjv64tUl427SKnPrENtq6hJwUojroMz2VB+Q1edmi4IfrAPpami5VVgMQ==", + "dev": true, "requires": { "lilconfig": "^3.0.0", "yaml": "^2.3.4" @@ -82677,26 +82720,19 @@ "lilconfig": { "version": "3.0.0", "resolved": "https://registry.npmjs.org/lilconfig/-/lilconfig-3.0.0.tgz", - "integrity": "sha512-K2U4W2Ff5ibV7j7ydLr+zLAkIg5JJ4lPn1Ltsdt+Tz/IjQ8buJ55pZAxoP34lqIiwtF9iAvtLv3JGv7CAyAg+g==" + "integrity": "sha512-K2U4W2Ff5ibV7j7ydLr+zLAkIg5JJ4lPn1Ltsdt+Tz/IjQ8buJ55pZAxoP34lqIiwtF9iAvtLv3JGv7CAyAg+g==", + "dev": true } } }, "yaml": { "version": "2.3.4", "resolved": "https://registry.npmjs.org/yaml/-/yaml-2.3.4.tgz", - "integrity": "sha512-8aAvwVUSHpfEqTQ4w/KMlf3HcRdt50E5ODIQJBw1fQ5RL34xabzxtUlzTXVqc4rkZsPbvrXKWnABCD7kWSmocA==" + "integrity": "sha512-8aAvwVUSHpfEqTQ4w/KMlf3HcRdt50E5ODIQJBw1fQ5RL34xabzxtUlzTXVqc4rkZsPbvrXKWnABCD7kWSmocA==", + "dev": true } } }, - "tailwindcss-interaction-variants": { - "version": "5.0.0", - "resolved": "https://registry.npmjs.org/tailwindcss-interaction-variants/-/tailwindcss-interaction-variants-5.0.0.tgz", - "integrity": "sha512-Tmx9HjwuNA3G7cLUcebGkNchKkNVIZXBroxa0LBoq/KUb/xEKEM8qugUG7QczSNPhaZzpXmo3IzPkRhf4tDaOQ==", - "requires": { - "lodash": "^4.17.19", - "postcss-selector-parser": "^6.0.2" - } - }, "tapable": { "version": "2.2.1", "resolved": "https://registry.npmjs.org/tapable/-/tapable-2.2.1.tgz", @@ -82789,6 +82825,7 @@ "version": "3.3.1", "resolved": "https://registry.npmjs.org/thenify/-/thenify-3.3.1.tgz", "integrity": "sha512-RVZSIV5IG10Hk3enotrhvz0T9em6cyHBLkH/YAZuKqd8hRkKhSfCGIcP2KUY0EPxndzANBmNllzWPwak+bheSw==", + "dev": true, "requires": { "any-promise": "^1.0.0" } @@ -82797,6 +82834,7 @@ "version": "1.6.0", "resolved": "https://registry.npmjs.org/thenify-all/-/thenify-all-1.6.0.tgz", "integrity": "sha512-RNxQH/qI8/t3thXJDwcstUO4zeqo64+Uy/+sNVRBx4Xn2OX+OZ9oP+iJnNFqplFra2ZUVeKCSa2oVWi3T4uVmA==", + "dev": true, "requires": { "thenify": ">= 3.1.0 < 4" } @@ -82921,7 +82959,8 @@ "ts-interface-checker": { "version": "0.1.13", "resolved": "https://registry.npmjs.org/ts-interface-checker/-/ts-interface-checker-0.1.13.tgz", - "integrity": "sha512-Y/arvbn+rrz3JCKl9C4kVNfTfSm2/mEp5FSz5EsZSANGPSlQrpRI5M4PKF+mJnE52jOO90PnPSc3Ur3bTQw0gA==" + "integrity": "sha512-Y/arvbn+rrz3JCKl9C4kVNfTfSm2/mEp5FSz5EsZSANGPSlQrpRI5M4PKF+mJnE52jOO90PnPSc3Ur3bTQw0gA==", + "dev": true }, "tsconfig-paths": { "version": "3.14.2", diff --git a/package.json b/package.json index 3a0d81e88..833a01a79 100644 --- a/package.json +++ b/package.json @@ -14,14 +14,11 @@ "@fortawesome/pro-solid-svg-icons": "^5.15.4", "@fortawesome/react-fontawesome": "^0.2.0", "@heroicons/react": "^1.0.6", - "@tailwindcss/aspect-ratio": "^0.4.2", - "@tailwindcss/forms": "^0.5.7", "adapt-auth-sdk": "^1.0.20", "algoliasearch": "^4.20.0", "body-parser": "^1.20.2", "cnbuilder": "^3.1.0", "cookie-parser": "^1.4.6", - "decanter": "^7.1.2", "fast-sort": "^3.4.0", "gatsby": "^4.25.7", "gatsby-link": "^4.25.0", @@ -65,7 +62,6 @@ "storyblok-react": "^0.1.2", "storyblok-rich-text-react-renderer-ts": "^3.2.0", "tabbable": "^5.3.3", - "tailwindcss-interaction-variants": "^5.0.0", "url-parse": "^1.5.10", "use-query-params": "^1.2.3", "xml2js": "^0.6.2" @@ -110,10 +106,12 @@ "@babel/plugin-transform-runtime": "^7.23.4", "@babel/preset-env": "^7.23.5", "@babel/preset-react": "^7.23.3", + "@tailwindcss/forms": "^0.5.7", "autoprefixer": "^10.4.16", "axios-mock-adapter": "^1.22.0", "cross-env": "^7.0.3", "cypress": "^13.6.0", + "decanter": "^7.1.2", "dotenv": "^16.3.1", "eslint": "^7.32.0", "eslint-config-airbnb": "^18.2.1", diff --git a/src/components/cards/GradientCard/GradientCard.styles.js b/src/components/cards/GradientCard/GradientCard.styles.js index b91d5cb64..f5ce2059c 100644 --- a/src/components/cards/GradientCard/GradientCard.styles.js +++ b/src/components/cards/GradientCard/GradientCard.styles.js @@ -2,24 +2,24 @@ import { dcnb } from 'cnbuilder'; export const root = ({ orientation, isDark }) => dcnb( - 'su-group su-relative su-w-full su-overflow-hidden su-bg-saa-black su-break-words su-basefont-23 su-bg-clip-padding su-border su-border-solid su-backface-hidden', + 'su-group su-relative su-w-full su-overflow-hidden su-bg-saa-black su-break-words su-basefont-23 su-bg-clip-padding su-border su-backface-hidden', { 'su-w-full md:su-flex-row xl:su-h-500': orientation === 'horizontal', 'sm:su-max-w-[42rem] md:su-max-w-full': orientation !== 'horizontal', 'su-border-black hover:su-border-black-90 focus-within:su-border-black-90': isDark || orientation === 'horizontal', - 'su-border-black-30-opacity-40 hover:su-border-black-30 focus-within:su-border-black-30': + 'su-border-black-30/40 hover:su-border-black-30 focus-within:su-border-black-30': !isDark && orientation !== 'horizontal', } ); export const imageWrapper = ({ orientation }) => dcnb('su-relative su-overflow-hidden', { - 'su-w-full su-mb-[-4em] md:su-mb-0 md:su-w-1/2 su-h-[60vw] sm:su-h-[50vw] lg:su-h-[40vw] xl:su-h-500 su-flex-shrink-0 su-h-full': + 'su-w-full su-mb-[-4em] md:su-mb-0 md:su-w-1/2 su-h-[60vw] sm:su-h-[50vw] lg:su-h-[40vw] xl:su-h-500 su-shrink-0 su-h-full': orientation === 'horizontal', 'su-aspect-w-3 su-aspect-h-2 su-mb-[-3em]': orientation !== 'horizontal', }); export const image = - 'su-w-full su-h-full su-transition-transform su-transform-gpu group-hover:su-scale-[1.03] group-focus-within:su-scale-[1.03]'; + 'su-w-full su-h-full su-transition-transform su-transform-gpu group-hocus-within:su-scale-[1.03]'; export const gradient = ({ orientation }) => dcnb( 'su-absolute su-block su-w-full su-h-[101%] su-top-0 su-left-0 su-from-transparent su-to-saa-black su-backface-hidden su-bg-gradient-to-b', @@ -31,7 +31,7 @@ export const contentWrapper = ({ orientation }) => dcnb('su-rs-px-2 su-rs-pb-3', { 'su-w-full md:su-w-9/12 lg:su-w-7/12 lg:su-max-w-[72rem] md:su-self-end md:su-rs-pt-3 md:su-pl-0 md:su-ml-[-7em]': orientation === 'horizontal', - 'su-flex-grow': orientation !== 'horizontal', + 'su-grow': orientation !== 'horizontal', }); export const link = ({ orientation }) => dcnb( @@ -43,8 +43,8 @@ export const link = ({ orientation }) => ); export const heading = 'su-relative su-inline su-type-0'; export const icon = - 'su-relative su-inline-block su-text-digital-red-xlight group-hover:su-text-white group-focus:su-text-white'; + 'su-relative su-inline-block su-text-digital-red-xlight group-hocus:su-text-white'; export const description = ({ orientation }) => - dcnb('su-relative su-text-black-20 su-flex-grow su-mb-0 su-card-paragraph', { + dcnb('su-relative su-text-black-20 su-grow su-mb-0 su-card-paragraph', { 'xl:su-big-paragraph xl:su-leading-snug': orientation === 'horizontal', }); diff --git a/src/components/cards/TripCard/TripCard.styles.js b/src/components/cards/TripCard/TripCard.styles.js index f928d8125..abcf61b88 100644 --- a/src/components/cards/TripCard/TripCard.styles.js +++ b/src/components/cards/TripCard/TripCard.styles.js @@ -3,14 +3,13 @@ export const root = export const content = 'su-rs-pt-1 su-rs-px-2 su-rs-pb-3'; export const imageWrapper = 'su-aspect-w-3 su-aspect-h-2 su-overflow-hidden'; export const image = - 'su-w-full su-h-full su-transition-transform su-transform-gpu group-hover:su-scale-[1.03] group-focus-within:su-scale-[1.03]'; + 'su-w-full su-h-full su-transition-transform su-transform-gpu group-hocus-within:su-scale-[1.03]'; export const date = 'su-rs-ml-1 su-relative su-mt-[-5.1rem] su-z-1'; export const link = 'su-stretched-link su-group su-z-20 su-mb-08em su-type-2 su-no-underline hocus:su-underline su-underline-offset-[3px] su-decoration-[0.12em] su-decoration-digital-red-xlight focus:su-outline-none'; export const heading = 'su-type-0 su-mt-0 su-font-bold su-relative su-inline su-text-white'; -export const icon = - 'su-relative su-inline-block group-hover:su-text-white group-focus:su-text-white'; +export const icon = 'su-relative su-inline-block group-hocus:su-text-white'; export const subheading = 'su-mt-4 su-mb-0 su-font-semibold su-text-white su-leading-display'; export const description = diff --git a/src/components/cards/basicCard.js b/src/components/cards/basicCard.js index 3dbd10867..da5011a5c 100644 --- a/src/components/cards/basicCard.js +++ b/src/components/cards/basicCard.js @@ -24,7 +24,7 @@ const BasicCard = ({ }) => { // Default wrapper classes for white, non-minimal cards let wrapperClasses = - 'su-bg-white su-text-black su-border su-border-solid su-border-black-30-opacity-40 su-bg-clip-padding su-shadow-sm'; + 'su-bg-white su-text-black su-border su-border-black-30/40 su-bg-clip-padding su-shadow-sm'; // Card content padding for non-minimal cards let bodyPadding = 'su-rs-px-2 su-rs-pt-2 su-rs-pb-4'; diff --git a/src/components/cards/basicCardHorizontal.js b/src/components/cards/basicCardHorizontal.js index 79611935c..b5aac6331 100644 --- a/src/components/cards/basicCardHorizontal.js +++ b/src/components/cards/basicCardHorizontal.js @@ -24,7 +24,7 @@ const BasicCardHorizontal = ({ }) => { // Default wrapper classes for white, non-minimal cards let wrapperClasses = - 'su-bg-white su-text-black su-border su-border-solid su-border-black-30-opacity-40 su-bg-clip-padding su-shadow-sm su-rs-pt-2 su-rs-px-2 su-rs-pb-3'; + 'su-bg-white su-text-black su-border su-border-black-30/40 su-bg-clip-padding su-shadow-sm su-rs-pt-2 su-rs-px-2 su-rs-pb-3'; // Basic card image has aspect ratio 3x2 for non-round option let cardImage = ( @@ -90,7 +90,7 @@ const BasicCardHorizontal = ({ cta={cta} className={dcnb( 'card-body', - `${isRound && filename ? '' : 'su-mt-[-0.3em]'}` + `${isRound && filename ? '' : 'su--mt-03em'}` )} /> diff --git a/src/components/cards/ctaCard.js b/src/components/cards/ctaCard.js index 7bb0dc970..c116d2778 100644 --- a/src/components/cards/ctaCard.js +++ b/src/components/cards/ctaCard.js @@ -34,7 +34,7 @@ const CtaCard = ({ {srText && {` ${srText}`}} diff --git a/src/components/cards/iconCard.js b/src/components/cards/iconCard.js index 60c2323ae..98e4b9c3f 100644 --- a/src/components/cards/iconCard.js +++ b/src/components/cards/iconCard.js @@ -17,23 +17,21 @@ const IconCard = ({ blok, isDark, }) => { - let cardStyles = 'su-bg-white su-border-black-30-opacity-40'; - let iconColor = - 'su-text-digital-red group-hover:!su-text-digital-red-light group-focus:!su-text-digital-red-light'; + let cardStyles = 'su-bg-white su-border-black-30/40'; + let iconColor = 'su-text-digital-red group-hocus:!su-text-digital-red-light'; let headlineColor = 'su-text-black hocus:su-text-digital-red-light'; let headlineIconStyles = 'su-relative su-inline-block'; - let headlineIconColor = - 'su-text-black group-hover:su-text-digital-red-light group-focus:su-text-digital-red-light'; + let headlineIconColor = 'su-text-black group-hocus:su-text-digital-red-light'; // isDark prop is passed from the parent ankle component // If isDark is true, then the dark themed icon card will be used automatically if (isDark) { cardStyles = 'su-bg-saa-black su-border-black-90'; iconColor = - 'su-text-digital-red-light group-hover:su-text-digital-red-xlight group-focus:su-text-digital-red-xlight'; + 'su-text-digital-red-light group-hocus:su-text-digital-red-xlight'; headlineColor = 'su-text-black-10 hocus:su-text-digital-red-xlight'; headlineIconColor = - 'su-text-black-10 group-hover:su-text-digital-red-xlight group-focus:su-text-digital-red-xlight'; + 'su-text-black-10 group-hocus:su-text-digital-red-xlight'; } headlineIconStyles = dcnb(headlineIconStyles, headlineIconColor); @@ -43,7 +41,7 @@ const IconCard = ({ diff --git a/src/components/cards/membershipCard.js b/src/components/cards/membershipCard.js index c6bcc6c6a..739c03546 100644 --- a/src/components/cards/membershipCard.js +++ b/src/components/cards/membershipCard.js @@ -62,14 +62,14 @@ const MembershipCard = ({ blok: { publicCtaGroup, ctaGroup }, blok }) => { return ( {!auth.isAuthenticating && ( -
+
{!noCard && (

Your card

)}
{ ) : (
-
+
{ />
-
+
{userType === 'saa' ? 'Alumni' : 'Affiliate'} Membership
@@ -133,12 +133,12 @@ const MembershipCard = ({ blok: { publicCtaGroup, ctaGroup }, blok }) => { You are not currently a Stanford Alumni Association (SAA) Member

-
+
) : ( -
+
)} diff --git a/src/components/cards/promoCodeBanner.js b/src/components/cards/promoCodeBanner.js index 8ba6f0405..bef82e4b2 100644 --- a/src/components/cards/promoCodeBanner.js +++ b/src/components/cards/promoCodeBanner.js @@ -20,7 +20,7 @@ const PromoCodeBanner = ({ blok }) => ( Promo code copied! @@ -28,7 +28,7 @@ const PromoCodeBanner = ({ blok }) => ( > Copy promo code diff --git a/src/components/cards/saaStoryCard.js b/src/components/cards/saaStoryCard.js index 3340e8798..4dee8c3f8 100644 --- a/src/components/cards/saaStoryCard.js +++ b/src/components/cards/saaStoryCard.js @@ -44,9 +44,9 @@ const SaaStoryCard = ({ } let wrapperClasses = - 'su-border su-border-solid su-bg-clip-padding su-shadow-sm focus-within:su-shadow-md hover:su-shadow-md su-backface-hidden'; + 'su-border su-bg-clip-padding su-shadow-sm focus-within:su-shadow-md hover:su-shadow-md su-backface-hidden'; let contentClasses = 'su-flex-1 su-bg-white su-rs-pt-2 su-rs-px-2 su-rs-pb-3'; - let borderColor = 'su-border-black-30-opacity-40'; + let borderColor = 'su-border-black-30/40'; let headlineColor = 'su-text-black hocus:su-text-black'; let headlineIconColor = 'su-text-digital-red-xlight'; let textColor = 'su-text-black'; @@ -64,8 +64,7 @@ const SaaStoryCard = ({ if (isDark) { textColor = 'su-text-black-20'; headlineColor = 'su-text-white hocus:su-text-white'; - headlineIconColor = - 'su-text-digital-red-light group-hover:su-text-white group-focus:su-text-white'; + headlineIconColor = 'su-text-digital-red-light group-hocus:su-text-white'; } } @@ -113,7 +112,7 @@ const SaaStoryCard = ({ imageFocus={cardImageFocus || imageFocus} smartFocus={focus} size="vertical" - className="su-w-full su-h-full su-object-cover su-transition-transform su-transform-gpu group-hover:su-scale-[1.03] group-focus-within:su-scale-[1.03]" + className="su-w-full su-h-full su-object-cover su-transition-transform su-transform-gpu group-hocus-within:su-scale-[1.03]" loading="lazy" width="600" height="400" diff --git a/src/components/composite/Alert/Alert.styles.js b/src/components/composite/Alert/Alert.styles.js index 2e52550c1..27b36731d 100644 --- a/src/components/composite/Alert/Alert.styles.js +++ b/src/components/composite/Alert/Alert.styles.js @@ -14,8 +14,8 @@ export const dismissButton = 'su-text-17 su-uppercase su-font-bold su-inline-block su-tracking-widest su-mr-0 su-ml-auto'; export const dismissIcon = 'su-ml-02em'; export const labelWrapper = - 'su-order-1 su-mb-15 md:su-mb-0 su-flex su-flex-shrink-0 su-rs-mr-1 su-w-full md:su-w-max'; + 'su-order-1 su-mb-15 md:su-mb-0 su-flex su-shrink-0 su-rs-mr-1 su-w-full md:su-w-max'; export const label = 'su-text-17 su-mb-0'; export const iconWrapper = 'su-inline-block su-mr-5'; -export const contentWrapper = 'su-order-2 su-flex-1 su-flex-grow su-w-full'; +export const contentWrapper = 'su-order-2 su-flex-1 su-grow su-w-full'; export const heading = 'su-rs-mb-neg1'; diff --git a/src/components/composite/HeroImage/HeroImage.styles.js b/src/components/composite/HeroImage/HeroImage.styles.js index 22755f2ff..e910dbd25 100644 --- a/src/components/composite/HeroImage/HeroImage.styles.js +++ b/src/components/composite/HeroImage/HeroImage.styles.js @@ -8,12 +8,11 @@ export const imgWrapper = ({ children }) => export const img = 'su-w-full su-h-full su-object-cover'; export const overlay = ({ overlay: overlayType }) => dcnb( - 'su-absolute su-block su-w-full su-h-full su-top-0 su-to-saa-black print:su-hidden', + 'su-absolute su-block su-w-full su-h-full su-top-0 su-from-saa-black print:su-hidden', { - 'su-bg-gradient-to-b su-from-black-true-opacity-20': - overlayType === 'dark', - 'su-bg-gradient-to-b su-from-transparent': overlayType === 'normal', - 'su-bg-gradient-to-t su-from-saa-black-opacity-30 lg:su-bg-gradient-to-l lg:su-from-saa-black-opacity-0 lg:su-to-saa-black': + 'su-bg-gradient-to-t su-to-black-true/20': overlayType === 'dark', + 'su-bg-gradient-to-t': overlayType === 'normal', + 'su-bg-gradient-to-b su-to-saa-black/30 lg:su-bg-gradient-to-r lg:su-from-saa-black': overlayType === 'formDark', } ); diff --git a/src/components/composite/Pagination/Pagination.styles.js b/src/components/composite/Pagination/Pagination.styles.js index 211fbe4ad..a0545d230 100644 --- a/src/components/composite/Pagination/Pagination.styles.js +++ b/src/components/composite/Pagination/Pagination.styles.js @@ -4,7 +4,7 @@ export const root = ''; export const listWrapper = 'su-flex su-rs-mt-6 su-rs-mb-7 su-justify-center md:su-space-x-36'; export const pagesList = - 'su-list-none su-flex su-space-x-10 md:su-space-x-15 su-p-0 su-font-serif su-text-[26px] su-font-bold'; + 'su-list-none su-flex su-space-x-10 md:su-space-x-15 su-p-0 su-font-serif su-text-26 su-font-bold'; export const pageItem = ({ page } = {}) => dcnb('su-mb-0', { 'su-px-9 md:su-px-11 su-bb': page === '...' }); export const pageLink = ({ active } = {}) => diff --git a/src/components/composite/TripFilterList/TripFilterList.styles.js b/src/components/composite/TripFilterList/TripFilterList.styles.js index 90567927a..f03e24009 100644 --- a/src/components/composite/TripFilterList/TripFilterList.styles.js +++ b/src/components/composite/TripFilterList/TripFilterList.styles.js @@ -23,7 +23,7 @@ export const toggle = ({ panelOpened }) => export const toggleHeading = 'su-type-0 su-mb-0'; export const chevron = ({ panelOpened } = {}) => dcnb( - 'su-absolute su-right-0 su-w-[3.4rem] su-pt-6 su-pb-5 su-px-5 su-rounded-full su-border-2 su-border-palo-verde-dark group-hocus:su-bg-palo-verde-dark su-mr-20 sm:su-mr-30 md:su-mr-50 su-inline-block su-text-white su-transition', + 'su-absolute su-right-0 su-w-34 su-pt-6 su-pb-5 su-px-5 su-rounded-full su-border-2 su-border-palo-verde-dark group-hocus:su-bg-palo-verde-dark su-mr-20 sm:su-mr-30 md:su-mr-50 su-inline-block su-text-white su-transition', { 'su-transform-gpu su-rotate-180': panelOpened, } diff --git a/src/components/composite/accordionItem.js b/src/components/composite/accordionItem.js index 2202b0789..a2a918bc5 100644 --- a/src/components/composite/accordionItem.js +++ b/src/components/composite/accordionItem.js @@ -40,8 +40,8 @@ const AccordionItem = React.forwardRef( aria-expanded={expanded} onClick={toggle} > - - + + {title} diff --git a/src/components/composite/hero.js b/src/components/composite/hero.js index a537a290e..714f236b2 100644 --- a/src/components/composite/hero.js +++ b/src/components/composite/hero.js @@ -37,7 +37,7 @@ const Hero = ({ let gradient = heroGradient[gradientProp]; if (isDarkGradient) { - gradient = 'su-from-black-true-opacity-20'; + gradient = 'su-to-black-true/20'; } const numCta = getNumBloks(cta); @@ -61,7 +61,7 @@ const Hero = ({ )}