Compare commits

..

696 Commits

Author SHA1 Message Date
f2e92651aa add simple lightbox 2026-02-06 21:42:37 +00:00
f5288491f9 remove unused line 2026-02-06 16:36:11 +00:00
497deb045a remove commented out lines 2026-02-05 20:46:07 +00:00
5283b4a567 core/image: only output <figure> rather than complete html document 2026-02-05 20:45:54 +00:00
07769eee07 add article block editor style overrides 2026-02-05 14:34:54 +00:00
a7e409e5da wp core image block: parse html and add lightbox link 2026-02-05 14:34:36 +00:00
2a36528e8e article block: more core block styles 2026-02-05 11:59:32 +00:00
1a37a59c62 article block: organise styles by core block 2026-02-04 13:55:13 +00:00
e06777c10d base article block styles 2026-02-03 22:54:29 +00:00
ce96924705 app/blocks: comments for filters and actions 2026-02-03 17:18:39 +00:00
6d1aa73f5e add condition for disabling lazy background image 2026-02-03 13:03:02 +00:00
c55d89224d fix background condition in block classname js function 2026-02-03 13:01:17 +00:00
2b81774667 block settings: toggle for text contrast and fix colour/tint 2026-02-03 13:00:27 +00:00
14c82d623a remove core block styles from wordpress block editor 2026-02-03 12:59:28 +00:00
0d2ffea904 remove wysiwyg class from article block wrapper 2026-02-03 12:58:46 +00:00
54c0939bb7 fix indent 2026-02-03 12:57:39 +00:00
ddb5cd2524 remove inline css output from core wp blocks 2026-02-03 12:54:19 +00:00
8bd7186f97 expose new image sizes to javascript and properly get specified image sizes in react 2026-01-05 17:23:59 +00:00
abde60aecc BackgroundImage component: support specific image sizes and lazy loading 2026-01-05 14:49:33 +00:00
b5a751e237 add lazy background image 2026-01-05 13:39:42 +00:00
4b6c093a1c add hero image size 2026-01-05 13:39:24 +00:00
e3bb5274ad add block READMEs 2026-01-04 18:03:17 +00:00
af0fb75d22 add placeholder markup to example block editor file 2026-01-04 18:02:58 +00:00
fd44d8d091 add placeholder js to example block 2026-01-04 18:02:36 +00:00
3325eab953 remove unused styles and scripts from article block 2026-01-04 18:01:53 +00:00
e5de979f94 remove unused js function 2026-01-04 18:01:18 +00:00
71646f253f acf footer block can have buttons or blurb 2026-01-04 18:00:37 +00:00
b37583f3b2 add some placeholder markup to dynamic example block 2026-01-04 18:00:05 +00:00
e876dd1ca8 article block : add wysiwyg class to container 2026-01-04 17:59:40 +00:00
b58c88a425 background tint no longer requires background image 2026-01-04 17:59:01 +00:00
4241670ace allow extra classes in className js function 2026-01-04 17:57:51 +00:00
7342503e4a use json lists in editor.js 2026-01-04 17:57:20 +00:00
7d1cfa3323 adjust framework css 2026-01-04 17:56:40 +00:00
a4cc7a8e6f acf blocks: adjust padding and contrast controls 2026-01-04 17:55:34 +00:00
9b87639974 most block lists to json files 2026-01-04 17:54:46 +00:00
eb4980d64b adjust colour php functions 2026-01-04 17:53:45 +00:00
799115fd37 article block front end rendering 2026-01-03 13:33:13 +00:00
b362bc290e package-lock.json 2026-01-03 10:32:26 +00:00
8d8ccedbf2 basic article block backend working 2026-01-03 10:31:24 +00:00
0576d05dfb block background image settings 2026-01-02 20:21:33 +00:00
39458e4f11 cleanup unused theme hook 2026-01-02 18:54:16 +00:00
70e995cbd5 block background colours and tint 2026-01-02 01:15:56 +00:00
b0d6d90616 add css class name helper functions for blocks 2025-12-19 12:29:38 +00:00
d005f549bf move restAPI class to utilities 2025-12-19 12:28:59 +00:00
3c16535444 fix editor styles after wp update 2025-12-19 12:28:25 +00:00
9a8df23529 remove console.log from block js 2025-12-18 11:01:52 +00:00
1d3a8477ee remove unused css 2025-12-18 11:00:43 +00:00
fc49265cb9 setup endpoints class and add container widths for blocks 2025-12-18 10:59:25 +00:00
8ffec45182 integrating attributes 2025-12-18 10:57:50 +00:00
002f33c5e1 remove autoload_psr4 for old block approach 2025-12-18 10:54:43 +00:00
fd4ee11d26 tweak editor styles 2025-12-15 18:34:09 +00:00
ae6eec5848 remove old style acf block 2025-12-15 18:24:46 +00:00
f0d8cb2065 use standard block.json method with ACF blocks 2025-12-15 18:10:06 +00:00
d47b3fdb07 auto-registering blocks in php and javascript with dynamic enqueuing of associated styles and scripts with support for scss and blade 2025-12-13 14:22:42 +00:00
da8097e7c3 cleanup allowed_blocks logic and add mechanism for disabling blade template for specific block 2025-12-12 13:12:37 +00:00
917150bbe6 a working react/php dynamic wordpress block example integrated with the Vite build process 2025-12-10 19:44:32 +00:00
b16bd77355 restrict core blocks to inner blocks of specified parent blocks. blocks blocks blocks 2025-12-09 22:40:44 +00:00
7d1beee2da stop loading blocks in main app.js 2025-12-09 22:11:20 +00:00
292fc01370 block whitelist json 2025-12-09 22:10:55 +00:00
68a42deebb remove BadExample css 2025-12-09 22:10:35 +00:00
f6ba2ea71b remove old code 2025-12-09 22:09:49 +00:00
ab4aad0fc6 move Blocks.php stuff alongside top level includes 2025-12-09 22:07:50 +00:00
5558a60696 use json file for block whitelist 2025-12-09 22:06:47 +00:00
2ee1171474 basic block styles within editor 2025-12-09 22:04:29 +00:00
046da1742e remove blocks.js 2025-12-09 22:02:59 +00:00
65bc75b56e tweak acf block settings 2025-12-09 22:02:24 +00:00
8ac6583758 add $wpblue var 2025-12-09 22:01:52 +00:00
b03bdc2139 fix container width in blocks 2025-12-09 22:01:23 +00:00
0055a25420 new text editor block that contains core blocks as inner blocks and prevents them from being used at top level 2025-11-27 07:14:31 +00:00
00d0861014 default content block that uses core inner blocks 2025-11-23 17:34:49 +00:00
de94d0e68e update vite base path 2025-11-22 20:51:28 +00:00
b31aa7550b Merge pull request 'Upgrade to version 11.0.1' (#1) from v11.0.1 into main 2025-10-30 22:14:45 +00:00
b258482ca3 replace deprecated scss 2025-10-30 22:01:23 +00:00
010160ce46 pull in v11.0.1 from upstream 2025-10-30 21:40:17 +00:00
Brandon
ddf23d2c29 🔖 v11.0.1 2025-03-26 21:39:02 -05:00
Brandon
5ffb5636b2 🎨 Simplify the default Composers (#3250) 2025-03-26 21:24:04 -05:00
Brandon
3d87ce1f6a 🔥 Remove unnecessary HMR client setup (#3241) 2025-03-26 21:21:13 -05:00
Brandon
cf25bcd20f 🔥 Remove package-lock.json (#3251)
* 👷 Update workflow to not depend on package lock file
2025-03-26 21:08:22 -05:00
Johan van der Molen
20d1d07c21 🧑‍💻 Always import editor.css in block editor settings (#3248) 2025-03-26 20:57:56 -05:00
Brandon
afbebbe816 🔧 Set a default layout content size (#3240) 2025-03-07 14:34:28 -06:00
Andréas Lundgren
9864d7cf36 🎨 Remove unused use statement in setup.php (#3238) 2025-03-04 05:35:32 -06:00
Ben Word
da70c86f5e 🔧 11.x-dev 2025-03-03 08:48:15 -05:00
Ben Word
9ecea45705 🔖 v11.0.0 2025-03-03 08:46:56 -05:00
Ben Word
86864166f9 🔧 Acorn v5 (#3235) 2025-03-03 08:45:46 -05:00
renovate[bot]
c8a7dcdf05 ⬆️ Bump @roots/vite-plugin to ^1.0.2 (#3236)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-03-03 08:45:30 -05:00
Joshua Fredrickson
b134d39172 Avoid missing folder error when running dev (#3224) 2025-02-27 13:48:43 -05:00
Ben Word
194ab5af52 🔧 WordPress 6.6+ required 2025-02-26 13:17:15 -05:00
Ben Word
3012d2875c 🩹 static 2025-02-26 10:51:55 -05:00
Ben Word
be72015657 ⬆️ Bump deps 2025-02-26 10:49:06 -05:00
Ben Word
5948da928d 👷 Update labeler 2025-02-23 11:17:23 -05:00
Ben Word
2f2d67fb7f Use @roots/vite-plugin (#3231)
Co-authored-by: Brandon <brandon@tendency.me>
2025-02-22 15:13:42 -05:00
Ben Word
8cc24bab95 📝 Update README [ci skip] 2025-02-22 13:57:28 -05:00
Ben Word
24bb08f02e 📝 Update README [ci skip] 2025-02-20 14:23:03 -05:00
Ben Word
9ec39fb246 ⬆️ Bump Pint 2025-02-12 09:20:23 -05:00
Ben Word
677d658ecb ⬆️ Upgrade npm deps 2025-02-12 09:18:51 -05:00
Ben Word
77eda834d4 👷 Renovate: Move rangeStrategy to root config 2025-02-12 09:10:40 -05:00
Ben Word
57cf6ab817 👷 Renovate: Enable version bumps in package.json 2025-02-12 09:08:21 -05:00
renovate[bot]
f6385cd4a3 Migrate config .github/renovate.json (#3227)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-02-12 09:01:27 -05:00
Ben Word
1e9790c37d 🔥 Remove assets config 2025-02-12 08:58:49 -05:00
Ben Word
0656c7ba68 brb
This reverts commit 8d81e1ba3e.
2025-02-06 11:56:39 -05:00
Ben Word
8d81e1ba3e 🔥 Remove assets config 2025-02-06 11:53:28 -05:00
Ben Word
a3b9e82240 🔧 Add Acorn's postAutoloadDump script 2025-02-06 11:40:49 -05:00
Ben Word
464e977d5a ♻️ Improve theme.json generation with more robust CSS parsing (#3223) 2025-02-06 08:52:03 -05:00
Matthias
47a48480bd fix tailwind css regex mismatch (#3221) 2025-02-05 17:58:57 -05:00
Pavol Caban
6012bf1886 Fix Vite dependency extract (#3219)
* Fix Vite dependency extract regex

* Fix Vite Typescript compatibility
2025-02-05 17:50:31 -05:00
Steve Jones
04b2404e47 🩹 Compact fix for color generation in theme.json (#3222)
* Fix for incorrect theme.json generation of colours

* Fix for theme.json color generation

* Compact fix for colour theme.json generation

---------

Co-authored-by: Steve Jones <steve@codewithfeeling.com>
2025-02-05 17:47:11 -05:00
Marcin Lis
8c91368c4f Fix default aliases paths for assets (#3218)
Setting absolute paths in aliases to prevent warnings in Vite.js and fix the background-image reference to an image using eg. @images/bg.svg
2025-02-03 06:21:37 -05:00
Ben Word
a9fa2433a5 🔧 Update Renovate config 2025-02-02 08:07:20 -05:00
Ben Word
7d3bbd2122 ⬆️ Bump dev dependencies 2025-02-02 08:03:30 -05:00
renovate[bot]
487716a1ac ⬆️ Bump tailwindcss monorepo to v4.0.3 (#3217)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-02-02 07:55:31 -05:00
Ben Word
723506daba Tailwind v4 (#3208)
Co-authored-by: Brandon <brandon@tendency.me>
Co-authored-by: csorrentino <cjsorren@gmail.com>
Co-authored-by: stuart <stuartjwong@gmail.com>
2025-02-02 07:53:33 -05:00
csorrentino
8d5a1ac4f4 Add default aliases for assets (#3215)
* add default aliases for assets

Adds the same default aliases as the @roots/sage bud extension

* Remove beginning slash

---------

Co-authored-by: Ben Word <ben@benword.com>
2025-02-02 07:52:49 -05:00
csorrentino
3f808812dd Support external WP dependencies in JSX files (#3209) 2025-01-20 18:02:59 -05:00
Ben Word
37e3773d88 🩹 Dev server: fix WP dependency handling (#3207)
* Revert "🎨 Simplify WordPress dependency handling" (#3202)
* 🩹 Fix dev server error
2025-01-20 15:57:09 -05:00
Ben Word
2ff215a3df 🔧 Set public base path 2025-01-15 18:45:57 -05:00
Ben Word
0755a90847 🔧 Set public base path (#3205) 2025-01-15 18:37:47 -05:00
tombroucke
e5f46df7bc 🔧 Import static assets (#3204)
Similar to `.assets(["images"])` in bud, we can add static assets in vite.
2025-01-15 18:10:41 -05:00
Ben Word
41e232bcdd 🎨 Simplify WordPress dependency handling (#3202) 2025-01-14 08:10:27 -05:00
Ben Word
713594d768 🔧 PHP 8.2 is required 2025-01-04 10:14:33 -05:00
Ben Word
0957f59fcd ⬆️ Update build deps 2025-01-04 10:03:25 -05:00
Ben Word
9362ba6c26 🙈 Update .gitignore 2025-01-04 09:52:29 -05:00
Ben Word
fbb87394f3 🔧 Don't declare providers in composer.json 2025-01-04 09:14:11 -05:00
Ben Word
89e5ebcd55 🔧 Minimal bootloader 2025-01-04 09:09:31 -05:00
Ben Word
e7a87f09c5 📝 Update README [ci skip] 2025-01-04 09:06:41 -05:00
Ben Word
25ef858d58 🔧 Bootloader: Remove unnecessary wrapping action from inside theme 2025-01-04 09:03:59 -05:00
Ben Word
256128b0cc 🔧⬆️ Acorn v5 (#3201) 2025-01-04 08:57:07 -05:00
Ben Word
a969be597c 🔧 11.x-dev 2025-01-04 08:46:07 -05:00
Ben Word
a482791397 🔧 Use Vite for build (#3199)
Co-authored-by: Brandon Nifong <brandon@tendency.me>
2025-01-04 08:45:24 -05:00
Ben Word
bc60adb1b5 📝 Update README [ci skip] 2024-12-22 13:34:01 -05:00
Ben Word
b26907ad79 📝 Update README [ci skip] 2024-12-22 13:31:34 -05:00
Steve Ross
586da211df updates from most recent website build 2024-12-20 17:09:16 +00:00
Ben Word
b81a59e682 📝 Update README [ci skip] 2024-11-13 04:53:25 -05:00
Ben Word
33d0146a4c 📄 Update name 2024-11-13 04:52:57 -05:00
Steve Ross
c437137134 disable comments 2024-11-06 22:56:03 +00:00
Steve Ross
93d9838cbd acf-json 2024-11-06 22:55:01 +00:00
Steve Ross
feebb7c94a custom post type and ACF json syncing 2024-11-06 22:42:07 +00:00
Steve Ross
d0733bfc01 set theme name and details 2024-11-06 21:00:00 +00:00
Steve Ross
6cd48fdd31 add base framework styles 2024-11-05 17:19:47 +00:00
Steve Ross
2204d6691c remove tailwind-css 2024-11-05 15:10:13 +00:00
Steve Ross
3bfd6c6c9d badegg screenshot.png 2024-11-05 14:58:55 +00:00
Steve Ross
c85142272e build theme assets 2024-11-05 14:58:44 +00:00
Steve Ross
d203a49bab composer install 2024-11-05 14:14:26 +00:00
renovate[bot]
c6a21c4611 chore(deps): ⬆️ bump bud to v6.23.3 (#3193)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-09-19 10:10:29 -05:00
renovate[bot]
a31f120492 chore(deps): ⬆️ bump bud to v6.23.2 (#3187)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-08-19 11:39:07 -05:00
Ben Word
f1b9646655 📝 Update README [ci skip] 2024-06-02 15:26:58 -05:00
Marcelo
d58fcc7976 🩹 Add missing text domain to skip link (#3190) 2024-05-29 13:59:43 -05:00
Ben Word
56a121182d 📝 Update README [ci skip] 2024-04-04 09:17:11 -05:00
Ben Word
5693139abc 🔧 10.x-dev 2024-02-06 08:50:26 -06:00
Ben Word
081782f05e 🔖 v10.8.2 2024-02-06 08:48:58 -06:00
Brandon
308cc20859 🩹 Fix the comment list output (#3184) 2024-02-02 09:36:33 -06:00
Darshan Gada
a86946e39f 👷 Fix deprecation errors in CI Action (#3183) 2024-02-02 09:35:54 -06:00
Ben Word
3932435866 🔧 10.x-dev 2024-02-01 16:58:33 -06:00
Ben Word
947831ac1c 🔖 v10.8.1 2024-02-01 16:57:46 -06:00
Brandon
4ff19c77ca 🩹 Fix exception being thrown when listing comments (#3182) 2024-02-01 16:56:58 -06:00
Daniel Sturm
0fe7047fa3 🔧 Bump minimum PHP version to 8.1 in style.css (#3181) 2024-02-01 09:25:39 -06:00
Ben Word
f0c5224112 🔧 10.x-dev 2024-01-30 15:29:01 -06:00
Ben Word
c6ff21662b 🔖 v10.8.0 2024-01-30 15:28:18 -06:00
Ben Word
68898723a1 🔧 Build 2024-01-30 15:20:18 -06:00
Ben Word
2e17f81c5d 🔧 Remove sage-svg suggestion
https://roots.io/sage/docs/use-blade-icons/
2024-01-26 09:59:32 -06:00
Ben Word
0365fb2515 ️ Add accessible names to nav elements (#3179)
* ️ Add accessible names to nav elements

---------

Co-authored-by: Nathan Knowler <nathan@knowler.me>
2024-01-18 13:18:02 -06:00
renovate[bot]
c841a02361 chore(deps): ⬆️ bump actions/cache action to v4 (#3180)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-01-18 13:09:32 -06:00
Ben Word
8bbc14e781 🩹 Comments title: Fix make-pot warning (#3178) 2024-01-18 12:56:13 -06:00
Sandro Würmli
e5b06d37d9 Fix for multiple .po files (#3155)
Co-authored-by: Ben Word <ben@benword.com>
2024-01-18 12:48:38 -06:00
Brandon
c72f14c68d 🎨 Move comment logic into a dedicated Composer (#3162)
* 🎨 Move comment logic into a dedicated Composer

* 🎨 Swap the method order
2024-01-18 12:37:47 -06:00
Ben Word
ad93e8b8c7 👷 Fix labeler action (#3177) 2024-01-18 12:36:07 -06:00
Brandon
e27af6282b 👷 Replace phpcs with Pint (#3161)
 Add `laravel/pint` to the project
 Remove `squizlabs/php_codesniffer` from the project
🔧 Remove deprecated Composer scripts
👷 Replace phpcs with Pint
🎨 Run Pint

---------

Co-authored-by: Ben Word <ben@benword.com>
2024-01-18 12:01:21 -06:00
renovate[bot]
a3807c7e94 chore(deps): ⬆️ bump actions/labeler action to v5 (#3164)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-01-18 11:53:44 -06:00
renovate[bot]
4301b2827a chore(deps): ⬆️ bump squizlabs/php_codesniffer to v3.8.1 (#3163)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-01-18 11:53:31 -06:00
strarsis
f44d6b8c72 Use npm for translate scripts execution (#3174) 2024-01-18 11:50:47 -06:00
Ben Word
bf4c7759ba 🔧 Bump minimum PHP version to 8.1 (#3176) 2024-01-18 11:45:42 -06:00
Ben Word
eccb8ba90e 🔧 Bump minimum Node.js version to v20 (#3175) 2024-01-18 11:42:55 -06:00
renovate[bot]
cca3ffaed1 chore(deps): ⬆️ bump bud to v6.20.0 (#3137)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-01-18 11:36:49 -06:00
Ben Word
6bb5325f66 🔥 Remove Soil features (#3172) 2024-01-16 09:17:15 -06:00
Brandon
f57d9aab30 🎨 Make the Alert component anonymous (#3173) 2024-01-05 11:10:05 -06:00
Brandon
6f46605b83 🎨 Move default theme markup to the app layout (#3167) 2024-01-05 11:08:58 -06:00
Brandon
5b07f46c2c 🎨 Make the Alert component anonymous 2024-01-04 12:05:48 -06:00
Brandon
94a1787838 🩹 Move get_header hook above wp_head() (Fixes #3171) 2024-01-04 00:30:48 -06:00
Ben Word
5cd2c43847 Editor: Add background image support (#3169) 2023-12-19 10:31:29 -06:00
Brandon
66a39822ee 🚨 Run phpcbf 2023-12-18 23:37:35 -06:00
Brandon
3c07fae355 👷 Stop the madness (#3168) 2023-12-18 23:25:08 -06:00
Log1x
aa2d27699b 🎨 Run Pint 2023-12-19 02:21:37 +00:00
Brandon
b94e545e82 🔧 Remove index.php from the Tailwind config 2023-12-18 20:20:26 -06:00
Brandon
dd114a4798 🎨 Move default theme markup to the app layout
🐛 Fix uncontrollable HTML output (Fixes #3166)
2023-12-18 20:15:03 -06:00
Ben Word
588297f063 📝 Update README [ci skip] 2023-12-11 10:48:10 -06:00
Jacek Gajewski
8109f7d039 ♻️ Check wp_link_pages before rendering in content-single.blade.php (#3157)
Co-authored-by: Brandon <brandon@tendency.me>
2023-12-08 10:44:28 -06:00
renovate[bot]
f53aee2c1f chore(deps): ⬆️ bump actions/setup-node action to v4 (#3156)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-12-08 10:26:38 -06:00
renovate[bot]
4495474c9f chore(deps): ⬆️ bump stefanzweifel/git-auto-commit-action action to v5 (#3153)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-12-08 10:26:16 -06:00
strarsis
2208c11c62 🌐 Include theme.json; patterns/ in translation scan command (#3076) 2023-12-08 10:25:42 -06:00
Adrian Enriquez
00691cbeac 💡 Update links in bud.config.js (#3154) 2023-12-08 10:16:46 -06:00
Ben Word
285a273030 📝 Update README [ci skip] 2023-12-07 10:53:44 -06:00
Ben Word
be5281cdd1 📝 Update README [ci skip] 2023-10-10 19:25:36 -05:00
Ben Word
be730d90df 📝 Update README [ci skip] 2023-09-27 10:10:04 -05:00
Ben Word
806993d4f9 🔧 10.x-dev 2023-09-27 09:27:31 -05:00
Ben Word
14f2f9ade4 🔖 v10.7.0 2023-09-27 09:26:40 -05:00
Tom Lawton
c6e9191686 fix: update default app.css tailwind syntax to use @tailwind (#3149) (#3150) 2023-09-27 09:22:49 -05:00
renovate[bot]
3c366a8f3d chore(deps): ⬆️ bump actions/checkout action to v4 (#3147)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-09-27 09:14:35 -05:00
renovate[bot]
b123a6bf58 chore(deps): ⬆️ bump actions/setup-node action to v3 (#3084)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-09-27 09:13:43 -05:00
renovate[bot]
b022da215c chore(deps): ⬆️ bump squizlabs/php_codesniffer to v3.7.2 (#3127)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-09-27 09:13:26 -05:00
Kelly Mears
1bbd32b6ad 📦 deps: upgrade @roots/bud to 6.16.1 (#3146) 2023-09-27 09:12:32 -05:00
Ben Word
c0d3dd87f7 🔧 10.x-dev 2023-05-09 09:30:16 -05:00
Ben Word
3159cadabb 🔖 v10.6.0 2023-05-09 09:22:08 -05:00
Kelly Mears
27a63ecacd 🩹 fix: core/button block style (#3130) 2023-05-09 09:20:41 -05:00
renovate[bot]
505c310d1f chore(deps): ⬆️ bump bud to v6.12.2 (#3135)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-05-02 21:26:02 -05:00
renovate[bot]
a2c29f4949 chore(deps): ⬆️ bump bud to v6.12.1 (#3134)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-04-28 10:05:44 -05:00
Kelly Mears
cc94b1bc47 bump: bud@6.12.0 & improvements (#3128)
This PR contains various improvements and cleanups to the configuration and JavaScript code. Key changes include:

- Adding simple comments to `jsconfig.json`.
- Improving config: `bud.wpjson.set` replaces `bud.wpjson.settings`. Note that `bud.wpjson.settings` is not deprecated.
- `bud.wpjson.settings` now disables `dropCap` by default.
- `app.js` and `editor.js` now use `if (import.meta.webpackHot)` instead of optional chaining, since `import.meta.webpackHot` is not a real method and using optional chaining might cause errors.
2023-04-05 13:42:27 -04:00
Ben Word
102778abcf 📝 Update README [ci skip] 2023-03-25 11:33:33 -05:00
renovate[bot]
fe34ad86d0 chore(deps): ⬆️ bump bud to v6.11.0 (#3126)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-03-09 17:39:45 -06:00
Ben Word
46e0a8407a 📝 Update README [ci skip] 2023-03-07 18:36:57 -06:00
Ben Word
41c7f2c508 📝 Update README 2023-02-28 00:03:07 -06:00
strarsis
d6e6e21339 🔧 Use wp i18n update-po for updating PO files (#3081) 2023-02-22 17:41:27 -06:00
renovate[bot]
d1e1c8ea90 chore(deps): ⬆️ bump bud to v6.9.0 (#3123)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-02-07 18:51:09 -06:00
Joshua Fredrickson
d22e3935cb 🔧 Bump required PHP version in style.css (#3125) 2023-02-06 12:00:30 -06:00
Daniel Sturm
e99867daca 📝 Update README, update requirement for Acorn v3 (#3124) 2023-02-06 11:59:56 -06:00
Ben Word
eb41bd8c63 🔧 10.x-dev 2023-02-05 12:24:13 -06:00
Ben Word
40dedd67a5 🔖 v10.5.1 2023-02-05 12:22:40 -06:00
renovate[bot]
7129b9b4df ⬆️ Bump Bud to v6.8.0 (#3120)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Ben Word <ben@benword.com>
2023-02-04 17:28:30 -06:00
Brandon
07f28076ca 🧑‍💻 Check that the Acorn bootloader exists before booting (#3121) 2023-02-03 16:52:36 -06:00
Ben Word
51d60f9c43 🔧 10.x-dev 2023-01-27 16:47:14 -06:00
Ben Word
d5f5fbef27 🔖 v10.5.0 2023-01-27 16:45:38 -06:00
Ben Word
03386f06ab 🔧 Acorn v3 (Laravel 9.x), drop PHP 7.4 support (#3097)
Co-authored-by: retlehs <retlehs@users.noreply.github.com>
Co-authored-by: Brandon Nifong <brandon@tendency.me>
2023-01-27 16:43:23 -06:00
Ben Word
523c99c4ec 🔧 10.x-dev 2023-01-26 16:32:32 -06:00
Ben Word
3b4b261e3e 🔖 v10.4.1 2023-01-26 16:31:00 -06:00
renovate[bot]
e0f9f7cd1c chore(deps): ⬆️ bump bud to v6.7.3 (#3117)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-01-26 12:51:45 -06:00
renovate[bot]
6f2b46dbae chore(deps): ⬆️ bump bud to v6.7.2 (#3116)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-01-25 12:41:52 -06:00
renovate[bot]
9aa9c00f0b chore(deps): ⬆️ bump bud to v6.7.1 (#3106)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-01-24 10:37:56 -06:00
Ben Word
353a60711d 🔍️ Posts: Use latest h-entry microformat (#3115) 2023-01-23 20:46:47 -06:00
Ben Word
d644887612 📝 Update README 2023-01-23 11:05:06 -06:00
Ben Word
7eb78a0789 📝 Update README 2023-01-10 14:43:41 -06:00
Ben Word
cd5285864d 🔧 10.x-dev 2023-01-04 09:26:31 -06:00
Ben Word
4c9308983f 🔖 v10.4.0 2023-01-04 09:24:27 -06:00
Ben Word
8e310aeed6 🩹 Fix badge 2023-01-03 14:26:47 -06:00
Kelly Mears
b63f8773a6 Merge pull request #3111 from roots/km-6.6.6
📦 bump: 6.6.6
2023-01-03 12:17:57 -08:00
Kelly Mears
d23fcfb5a4 6.6.9 2023-01-03 10:04:20 -08:00
Kelly Mears
fce1ab7da6 📦 update: 6.6.8 2022-12-31 11:20:49 -08:00
Kelly Mears
0f0fd6995a 📦 yarn.lock 2022-12-23 10:54:24 -08:00
Kelly Mears
fe2885dd9e improve: js boilerplate 2022-12-23 10:53:52 -08:00
Kelly Mears
f4474ecb00 bud.config.mjs -> bud.config.js 2022-12-23 10:53:11 -08:00
Kelly Mears
8865b86bef sage as esm; bump to 6.6.6 2022-12-23 10:50:38 -08:00
Kelly Mears
8a62486cdf improve: jsconfig.json 2022-12-23 10:49:26 -08:00
Kelly Mears
009298f1c0 improve: .editorconfig quote_type 2022-12-23 10:48:53 -08:00
Joshua Fredrickson
c7d5324d89 💡 Update WordPress documentation links (#3107) 2022-12-01 16:09:54 -06:00
renovate[bot]
2aef9a2b40 chore(deps): ⬆️ bump bud to v6.6.2 (#3103)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-11-20 13:10:08 -06:00
renovate[bot]
fd72d7a21e chore(deps): ⬆️ bump bud to v6.6.1 (#3102)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-11-17 09:41:24 -06:00
renovate[bot]
3d767ac76b chore(deps): ⬆️ bump bud to v6.6.0 (#3096)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-11-16 10:17:35 -06:00
Joshua Fredrickson
026e1e58c4 🔥 Remove default duotone filters from theme.json (#3101) 2022-11-04 09:27:30 -05:00
Ben Word
20f92ebe64 🔧 10.x-dev 2022-10-04 09:26:52 -05:00
Ben Word
6235f2fc53 🔖 v10.3.1 2022-10-04 09:24:58 -05:00
renovate[bot]
b0adc8b781 chore(deps): ⬆️ bump bud to v6.4.5 (#3094)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-10-04 09:23:15 -05:00
Ben Word
05be790280 👷 CI: Run Pint (#3088) 2022-10-04 09:22:41 -05:00
Ben Word
634e1f3182 🔧 Update Renovate config 2022-10-04 09:15:24 -05:00
Ben Word
c326d50595 🔧 10.x-dev 2022-09-28 11:54:43 -06:00
Ben Word
3d7dc7a128 🔖 v10.3.0 2022-09-28 11:50:04 -06:00
renovate[bot]
2e05b35205 ⬆️ Bump Bud to v6.4.4 (#3091)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-09-28 11:49:31 -06:00
Kelly Mears
1b79a949c4 Merge pull request #2999 from roots/feat-bud-config 2022-09-25 10:08:02 -07:00
Ben Word
b063fa030d 🔧 Generated theme.json 2022-09-24 10:28:56 -05:00
Ben Word
74bad62814 🔧 Remove test color 2022-09-24 10:28:56 -05:00
Ben Word
8e37498eaa 🔧 theme.json generator - move Tailwind to end 2022-09-24 10:28:56 -05:00
Ben Word
a2bd26a4af 🚧 theme.json generator updates 2022-09-24 10:28:56 -05:00
Ben Word
fb8de9a301 🔧 account for #3002 2022-09-24 10:28:56 -05:00
Kelly Mears
972f4cd55c improve: set theme.json colors in tailwind conf 2022-09-24 10:28:56 -05:00
renovate[bot]
7332184315 ⬆️ Bump Bud to v6.4.3 (#3090)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-09-24 10:28:41 -05:00
renovate[bot]
5544c50bc6 ⬆️ Bump Bud to v6.4.2 (#3089)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-09-23 15:10:30 -05:00
renovate[bot]
dec43c4d37 ⬆️ Bump Bud to v6.4.1 (#3087)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-09-20 18:13:35 -05:00
luotao
7bafa7c89a Fix broken doc URL (#3086) 2022-09-19 08:05:37 -05:00
Ben Word
7f45932ce1 📝 update README 2022-08-11 10:11:09 -05:00
renovate[bot]
15e81e5a7a Bump Bud to v6.3.5 (#3083)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-07-28 17:08:46 -05:00
renovate[bot]
034d18ed6a Bump Bud to v6.3.4 (#3082)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-07-27 09:37:21 -05:00
Ben Word
3540877dd0 🔧 10.x-dev 2022-07-19 17:14:31 -05:00
Ben Word
46babd52df 🔖 v10.2.0 2022-07-19 17:10:59 -05:00
renovate[bot]
76efb28b63 Bump Bud to v6.3.3 (#3080)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-07-19 17:04:40 -05:00
renovate[bot]
bc73bebdf7 Pin 📦 update squizlabs/php_codesniffer to 3.7.1 (#3065)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-07-12 11:54:49 -05:00
renovate[bot]
fd674fa18b Bump actions/labeler action to v4 (#3073)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-07-12 11:52:05 -05:00
renovate[bot]
9838a8e4c1 Bump actions/checkout action to v3 (#3072)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-07-12 11:51:37 -05:00
renovate[bot]
cce6f19292 Bump actions/cache action to v3 (#3066)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-07-12 11:51:26 -05:00
renovate[bot]
108a7fd671 Bump Bud to v6.3.1 (#3079)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Ben Word <ben@benword.com>
2022-07-12 11:50:54 -05:00
Brandon
d488b670c0 chore(lint): run pint (#3075) 2022-07-12 11:29:07 -05:00
Kelly Mears
8192a15e50 📦 improve(patch): bud@6.2.0 (#3074) 2022-07-12 11:27:24 -05:00
Ben Word
16d99623a9 🔧 bud config: set the public path by default (#3064) 2022-06-20 14:31:26 -05:00
Ben Word
8b0df45311 💬 update README 2022-05-31 13:55:02 -05:00
Ben Word
830ceaf3f2 🔧 10.x-dev 2022-05-30 19:14:31 -05:00
Ben Word
b04dc3fae6 🔖 v10.1.7 2022-05-30 19:12:16 -05:00
renovate[bot]
b73f3a8fdd ⬆️ Bump bud to v5.8.7 (#3063)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-05-24 10:56:33 -05:00
Kelly Mears
d6f53f5e3c 👷 dependabot --> renovate (#3060) 2022-05-24 10:46:58 -05:00
strarsis
03921768f3 🐛 Fix i18n warnings (#3039) 2022-05-11 14:30:48 -05:00
Joshua Fredrickson
112bec8628 🎨 Add trailing commas (#3032) 2022-04-27 13:27:04 -05:00
strarsis
828e5709e9 🔧 Improve translation scripts (#3013) 2022-04-06 23:24:04 -05:00
Ben Word
0ccb907838 ⬆️ bud 5.7.7 (#3029) 2022-04-05 18:00:37 -05:00
Gabriel Giordano
90a1680639 🔧 Add index.php to tailwindcss purge list (#3025) 2022-04-02 08:22:14 -05:00
Ben Word
bd97fb26a8 🔧 10.x-dev 2022-03-30 19:45:21 -05:00
Ben Word
a2e21df741 🔖 v10.1.6 2022-03-30 19:44:34 -05:00
Ben Word
82ad056fae ⬆️ bud 5.7.6 (#3024) 2022-03-30 19:44:13 -05:00
Ben Word
7abdb7490c 🔧 10.x-dev 2022-03-29 08:59:47 -05:00
Ben Word
a6f1c8c49f 🔖 v10.1.5 2022-03-29 08:58:38 -05:00
Ben Word
9eb1b7af41 ⬆️ bud 5.7.4 (#3023) 2022-03-29 08:57:02 -05:00
Ben Word
ef6913f286 ⬆️ bud 5.7.3 2022-03-28 08:26:52 -05:00
Ben Word
614d47f0d9 🔧 10.x-dev 2022-03-27 09:49:38 -05:00
Ben Word
9df7a7ccb4 ⬆️ bud 5.7.2 2022-03-27 09:48:16 -05:00
Ben Word
9e6d73fdca 🔧 10.x-dev 2022-03-25 08:44:06 -05:00
Ben Word
6b5789c05c 🔖 v10.1.3 2022-03-25 08:41:13 -05:00
dependabot[bot]
019506d69a chore(deps-dev): bump @roots/bud-tailwindcss from 5.6.2 to 5.7.0 (#3016)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-03-25 08:39:50 -05:00
dependabot[bot]
2dc6fe908b chore(deps-dev): bump @roots/sage from 5.6.2 to 5.7.0 (#3017)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-03-25 08:32:48 -05:00
dependabot[bot]
8035e1d49d chore(deps-dev): bump @roots/bud from 5.6.2 to 5.7.0 (#3015)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-03-25 08:27:14 -05:00
Ben Word
12eb244d03 📄 update name 2022-03-18 00:07:06 -05:00
Ben Word
2494f6d73b 🔧 10.x-dev 2022-03-17 11:45:59 -05:00
Ben Word
2d05b855ca 🔖 v10.1.2 2022-03-17 11:44:03 -05:00
Ben Word
93ea049113 ⬆️ bud v5.6.2 (#3012)
Co-authored-by: Kelly Mears <developers@tinypixel.dev>
2022-03-17 11:42:27 -05:00
Ben Word
d76b6c93c2 🔥 remove add_theme_support('align-wide') (#3008) 2022-03-16 09:01:38 -05:00
Ben Word
74709f31e0 add discourse topic release workflow (#3003) 2022-03-14 11:34:06 -05:00
Ben Word
500b3e4c8b 🔧 10.x-dev 2022-03-09 12:52:31 -06:00
Ben Word
eb85b33f69 🔖 v10.1.1 2022-03-09 12:51:11 -06:00
Mike Sheppard
ed89b07f4c 🔥 remove default palette + gradients from theme.json (#3002) 2022-03-09 12:49:57 -06:00
Ben Word
ffd3f94701 🔧 10.x-dev 2022-03-08 09:11:28 -06:00
Ben Word
8f109a9261 🔖 v10.1.0 2022-03-08 09:09:20 -06:00
Brandon
260672b786 chore(deps): Remove deprecated variant configuration from tailwind config (#2994) 2022-03-07 16:20:50 -06:00
Ben Word
8b4031a029 🔥 remove linting (#2998)
Co-authored-by: Kelly Mears <developers@tinypixel.dev>
2022-03-07 16:20:31 -06:00
Ben Word
cf2dc5430a 🔥 improve: no need to watch tailwind.config.js (#3000)
Co-authored-by: Kelly Mears <developers@tinypixel.dev>
2022-03-05 09:41:56 -06:00
Ben Word
7a89349347 ⬆️ bud v5.5.0 (#2997) 2022-03-04 19:25:23 -06:00
Ben Word
f04d35f717 🔧 10.x-dev 2022-03-01 20:43:16 -06:00
Ben Word
67805292e2 🔖 v10.0.0 (#2993) 2022-03-01 08:24:26 -06:00
Kelly Mears
f297df0942 bud 5.4.0 (#2983)
Co-authored-by: Ben Word <ben@benword.com>
2022-02-23 08:45:08 -06:00
Ben Word
fc93185a7a 🔧 10.0.0-dev 2022-02-14 08:47:56 -06:00
Ben Word
5a95a6200c 🔧 sage 10.0.0-beta.3 (#2977) 2022-02-14 08:37:01 -06:00
Ben Word
c51960bada ✏️ readme: update bud url 2022-02-13 23:54:30 -06:00
Ben Word
42f4344a91 📝 acorn: clarify version 2022-02-13 22:59:19 -06:00
Ben Word
7900dd3748 📝 simplify acorn notes 2022-02-13 21:31:37 -06:00
Ben Word
52add4944d 💬 acorn requirement error: add link to install docs (#2979) 2022-02-11 21:00:58 -06:00
Ben Word
c630a224d0 🔧 remove acorn post-autoload-dump (#2978) 2022-02-10 18:05:56 -06:00
Ben
cd1e3af50f Remove Acorn as dependency; treat as requirement (#2827) 2022-02-10 17:04:35 -06:00
Ben Word
0bd1f42982 📝 update changelog 2022-02-10 16:50:04 -06:00
Ben Word
9fad6e758d ⬆️ bump roots/acorn to v2.0.0-beta.9 (#2968) 2022-02-10 16:44:34 -06:00
Ben Word
5c7587f8d6 ⬆️ bump bud to v5.3.2 (#2976) 2022-02-10 16:44:24 -06:00
Ben Word
7080c225a6 📝 update changelog 2022-02-10 15:00:33 -06:00
Ben Word
b1d291e63f 🔧 migrate global settings to theme.json (#2964) 2022-02-10 14:52:33 -06:00
strarsis
9857121ed0 Re-add i18n related scripts/tasks (#2958)
Scripts were accidentally removed in PR #2643.
2022-02-08 17:29:54 -06:00
Pascal GAULT
85366aeb06 chore(header): allow unescaped siteName data (#2967) 2022-02-06 11:27:02 -06:00
Ben Word
258d1f9675 Update README.md 2022-01-31 17:59:39 -06:00
Ben Word
60e4c24d97 Bud v5.2.0 (#2959)
* chore(deps): Bump @roots/bud to v5.2.0

* lockfile

* remove `setPublicPath`

* suggestions (#2961)

* suggestions

* unneccessary

Co-authored-by: Kelly Mears <developers@tinypixel.dev>
2022-01-25 19:33:04 -06:00
Ben Word
f63033ef3a chore(deps): Bump roots/acorn to v2.0.0-beta.8 (#2953) 2022-01-19 15:33:57 -06:00
Ben Word
c036636022 Bud v5.1.0 (#2952)
Co-authored-by: Kelly Mears <developers@tinypixel.dev>
2022-01-19 15:31:46 -06:00
dependabot[bot]
c26b7691ee chore(deps-dev): bump postcss-preset-env from 7.2.0 to 7.2.3 (#2945)
Bumps [postcss-preset-env](https://github.com/csstools/postcss-plugins/tree/HEAD/plugin-packs/postcss-preset-env) from 7.2.0 to 7.2.3.
- [Release notes](https://github.com/csstools/postcss-plugins/releases)
- [Changelog](https://github.com/csstools/postcss-plugins/blob/main/plugin-packs/postcss-preset-env/CHANGELOG.md)
- [Commits](https://github.com/csstools/postcss-plugins/commits/HEAD/plugin-packs/postcss-preset-env)

---
updated-dependencies:
- dependency-name: postcss-preset-env
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-01-14 11:12:10 -06:00
Ben Word
ea4da9c211 fix(bundle-editor): remove @wordpress/edit-post (#2932) 2022-01-14 11:11:44 -06:00
Nathan Knowler
4281ffff90 feat(search): use a button element (#2943)
This is trivial. The only real benefit is that it might be easier to add an icon and easier to style.
2022-01-11 10:05:35 -06:00
dependabot[bot]
90c9fe1da8 chore(deps-dev): bump tailwindcss from 3.0.12 to 3.0.13 (#2944)
Bumps [tailwindcss](https://github.com/tailwindlabs/tailwindcss) from 3.0.12 to 3.0.13.
- [Release notes](https://github.com/tailwindlabs/tailwindcss/releases)
- [Changelog](https://github.com/tailwindlabs/tailwindcss/blob/master/CHANGELOG.md)
- [Commits](https://github.com/tailwindlabs/tailwindcss/compare/v3.0.12...v3.0.13)

---
updated-dependencies:
- dependency-name: tailwindcss
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-01-11 09:53:36 -06:00
Brandon
16f3330a4a chore(readme): Add sections directory to theme structure (#2942) 2022-01-10 16:28:36 -06:00
Brandon
fc53cf18b8 fix(views): Use dot notation on entry-meta view includes (#2941) 2022-01-10 16:16:14 -06:00
Ben Word
21491ce84f enhance(views): Move page section views to a sections directory (#2936)
Co-authored-by: Brandon Nifong <brandon@tendency.me>
2022-01-10 16:00:11 -06:00
dependabot[bot]
489fd5af6b chore(deps-dev): bump postcss-preset-env from 7.1.0 to 7.2.0 (#2926)
Bumps [postcss-preset-env](https://github.com/csstools/postcss-plugins/tree/HEAD/plugin-packs/postcss-preset-env) from 7.1.0 to 7.2.0.
- [Release notes](https://github.com/csstools/postcss-plugins/releases)
- [Changelog](https://github.com/csstools/postcss-plugins/blob/main/plugin-packs/postcss-preset-env/CHANGELOG.md)
- [Commits](https://github.com/csstools/postcss-plugins/commits/HEAD/plugin-packs/postcss-preset-env)

---
updated-dependencies:
- dependency-name: postcss-preset-env
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-01-10 10:18:06 -06:00
dependabot[bot]
1d3d60ba0a chore(deps-dev): bump tailwindcss from 3.0.9 to 3.0.12 (#2939)
Bumps [tailwindcss](https://github.com/tailwindlabs/tailwindcss) from 3.0.9 to 3.0.12.
- [Release notes](https://github.com/tailwindlabs/tailwindcss/releases)
- [Changelog](https://github.com/tailwindlabs/tailwindcss/blob/master/CHANGELOG.md)
- [Commits](https://github.com/tailwindlabs/tailwindcss/compare/v3.0.9...v3.0.12)

---
updated-dependencies:
- dependency-name: tailwindcss
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-01-10 10:10:09 -06:00
dependabot[bot]
fee03bf186 chore(deps-dev): bump autoprefixer from 10.4.1 to 10.4.2 (#2938)
Bumps [autoprefixer](https://github.com/postcss/autoprefixer) from 10.4.1 to 10.4.2.
- [Release notes](https://github.com/postcss/autoprefixer/releases)
- [Changelog](https://github.com/postcss/autoprefixer/blob/main/CHANGELOG.md)
- [Commits](https://github.com/postcss/autoprefixer/compare/10.4.1...10.4.2)

---
updated-dependencies:
- dependency-name: autoprefixer
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-01-10 10:09:41 -06:00
Nathan Knowler
7b427c42e0 fix: app/setup.php doesn’t need to be executable (#2933) 2022-01-05 01:06:27 -06:00
dependabot[bot]
7a66350da9 chore(deps-dev): bump tailwindcss from 3.0.8 to 3.0.9 (#2930)
Bumps [tailwindcss](https://github.com/tailwindlabs/tailwindcss) from 3.0.8 to 3.0.9.
- [Release notes](https://github.com/tailwindlabs/tailwindcss/releases)
- [Changelog](https://github.com/tailwindlabs/tailwindcss/blob/master/CHANGELOG.md)
- [Commits](https://github.com/tailwindlabs/tailwindcss/compare/v3.0.8...v3.0.9)

---
updated-dependencies:
- dependency-name: tailwindcss
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-01-04 11:34:18 -06:00
Nathan Knowler
443e493161 chore(php): bump minimum PHP version to 7.4 (#2925) 2022-01-03 05:40:40 -06:00
Simon
0eeda78340 Bump eslint to 8.6.0 (#2922)
babel-eslint is deprecated and should be replaced with @babel/eslint-parser

Co-authored-by: Simon Hammes <simonhammes@users.noreply.github.com>
2022-01-02 15:25:21 -06:00
dependabot[bot]
339e718806 chore(deps-dev): bump autoprefixer from 10.4.0 to 10.4.1 (#2918)
Bumps [autoprefixer](https://github.com/postcss/autoprefixer) from 10.4.0 to 10.4.1.
- [Release notes](https://github.com/postcss/autoprefixer/releases)
- [Changelog](https://github.com/postcss/autoprefixer/blob/main/CHANGELOG.md)
- [Commits](https://github.com/postcss/autoprefixer/compare/10.4.0...10.4.1)

---
updated-dependencies:
- dependency-name: autoprefixer
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-01-02 14:13:18 -06:00
Nathan Knowler
6523ebccb7 refactor: remove JavaScript detection (#2916)
JavaScript detection with a class name on the body or html element tends
to go unused even by websites that have it set up. Instead, we recommend
that developers write progressively enhanced components that are styled
for non-JS usage by default. Increase specificity, use the cascade, or
code split to apply progressively enhanced styles.
2022-01-02 14:12:20 -06:00
Brandon
ee889edf16 chore: remove helpers.php (#2917)
* chore: remove helpers.php

* chore(docs): remove helpers.php reference from readme
2022-01-02 14:11:43 -06:00
Ben Word
0cea0c3c86 10.0.0-dev 2021-12-29 17:02:53 -06:00
dependabot[bot]
f1adf08902 chore(deps-dev): bump tailwindcss from 3.0.7 to 3.0.8 (#2914)
Bumps [tailwindcss](https://github.com/tailwindlabs/tailwindcss) from 3.0.7 to 3.0.8.
- [Release notes](https://github.com/tailwindlabs/tailwindcss/releases)
- [Changelog](https://github.com/tailwindlabs/tailwindcss/blob/master/CHANGELOG.md)
- [Commits](https://github.com/tailwindlabs/tailwindcss/compare/v3.0.7...v3.0.8)

---
updated-dependencies:
- dependency-name: tailwindcss
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-12-29 15:42:41 -06:00
Ben Word
ed8a80c052 Switch to zero-config setup, remove config and bootstrap dirs (#2839)
* Remove config directory

* feat(zeroconfig): Add support for zero-config

* test(php-lint): remove config directory

* chore(readme): update dir structure

* admin/customizer has been removed

Co-authored-by: QWp6t <hi@qwp6t.me>
2021-12-29 15:42:29 -06:00
Ben Word
85db9c25ca chore(deps): Bump roots/acorn to v2.0.0-beta.7 (#2913) 2021-12-29 15:41:50 -06:00
Ben Word
a2f8e0242e chore(labeler): fix labeler (#2915) 2021-12-29 09:58:31 -06:00
dependabot[bot]
0eae57f278 chore(deps-dev): bump postcss-preset-env from 7.0.1 to 7.1.0 (#2912)
Bumps [postcss-preset-env](https://github.com/csstools/postcss-plugins/tree/HEAD/plugin-packs/postcss-preset-env) from 7.0.1 to 7.1.0.
- [Release notes](https://github.com/csstools/postcss-plugins/releases)
- [Changelog](https://github.com/csstools/postcss-plugins/blob/main/plugin-packs/postcss-preset-env/CHANGELOG.md)
- [Commits](https://github.com/csstools/postcss-plugins/commits/HEAD/plugin-packs/postcss-preset-env)

---
updated-dependencies:
- dependency-name: postcss-preset-env
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-12-23 12:01:31 -06:00
Ben Word
1274cbcafc Add PR labeler (#2909)
* Add PR labeler
2021-12-23 11:56:54 -06:00
Ben Word
27f565a63a Sage 10.0.0-beta.2 (#2908) 2021-12-21 08:36:11 -06:00
Ben Word
a870896df9 chore(deps): Bump roots/acorn to v2.0.0-beta.6 (#2911) 2021-12-21 08:31:57 -06:00
Ben Word
358ae364d7 Remove all base styles followup (#2900) 2021-12-20 08:32:50 -06:00
dependabot[bot]
c74afa4789 chore(deps-dev): bump tailwindcss from 3.0.6 to 3.0.7 (#2910)
Bumps [tailwindcss](https://github.com/tailwindlabs/tailwindcss) from 3.0.6 to 3.0.7.
- [Release notes](https://github.com/tailwindlabs/tailwindcss/releases)
- [Changelog](https://github.com/tailwindlabs/tailwindcss/blob/master/CHANGELOG.md)
- [Commits](https://github.com/tailwindlabs/tailwindcss/compare/v3.0.6...v3.0.7)

---
updated-dependencies:
- dependency-name: tailwindcss
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-12-20 08:31:55 -06:00
Ben Word
09234d21f0 Remove customizer starter (#2904) 2021-12-19 09:19:09 -06:00
Ben Word
83ced2339c chore(deps-dev): Bump @roots/bud to v5.0.0 (#2906) 2021-12-19 09:16:13 -06:00
Ben Word
0bc00b0907 chore(deps-dev): Bump @roots/bud to v5.0.0-next.20 (#2905) 2021-12-17 11:00:28 -06:00
dependabot[bot]
0af9543b6b chore(deps-dev): bump tailwindcss from 3.0.5 to 3.0.6 (#2901)
Bumps [tailwindcss](https://github.com/tailwindlabs/tailwindcss) from 3.0.5 to 3.0.6.
- [Release notes](https://github.com/tailwindlabs/tailwindcss/releases)
- [Changelog](https://github.com/tailwindlabs/tailwindcss/blob/master/CHANGELOG.md)
- [Commits](https://github.com/tailwindlabs/tailwindcss/compare/v3.0.5...v3.0.6)

---
updated-dependencies:
- dependency-name: tailwindcss
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-12-17 10:15:39 -06:00
dependabot[bot]
bb8e4be381 chore(deps-dev): bump tailwindcss from 3.0.2 to 3.0.5 (#2896)
Bumps [tailwindcss](https://github.com/tailwindlabs/tailwindcss) from 3.0.2 to 3.0.5.
- [Release notes](https://github.com/tailwindlabs/tailwindcss/releases)
- [Changelog](https://github.com/tailwindlabs/tailwindcss/blob/master/CHANGELOG.md)
- [Commits](https://github.com/tailwindlabs/tailwindcss/compare/v3.0.2...v3.0.5)

---
updated-dependencies:
- dependency-name: tailwindcss
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-12-15 09:17:06 -06:00
QWp6t
fd94cff640 chore(deps-dev): Bump @roots/bud to v5.0.0-next.19 (#2895) 2021-12-15 09:14:19 -06:00
Kelly Mears
d1d9dc03bf update watch glob for views directory (#2892) 2021-12-13 17:40:12 -06:00
Kelly Mears
4e1d4ccfaf update tailwind.config.js (#2891) 2021-12-13 17:39:55 -06:00
Ben Word
2331f43a84 Fix Bud proxy (#2890) 2021-12-13 13:09:44 -06:00
Ben Word
44c09a6212 Remove all base styles (#2889) 2021-12-13 13:08:37 -06:00
dependabot[bot]
7b5d7a9bce chore(deps-dev): bump prettier from 2.5.0 to 2.5.1 (#2877)
Bumps [prettier](https://github.com/prettier/prettier) from 2.5.0 to 2.5.1.
- [Release notes](https://github.com/prettier/prettier/releases)
- [Changelog](https://github.com/prettier/prettier/blob/main/CHANGELOG.md)
- [Commits](https://github.com/prettier/prettier/compare/2.5.0...2.5.1)

---
updated-dependencies:
- dependency-name: prettier
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-12-13 09:39:29 -06:00
dependabot[bot]
11bbb913bf chore(deps-dev): bump postcss from 8.4.4 to 8.4.5 (#2885)
Bumps [postcss](https://github.com/postcss/postcss) from 8.4.4 to 8.4.5.
- [Release notes](https://github.com/postcss/postcss/releases)
- [Changelog](https://github.com/postcss/postcss/blob/main/CHANGELOG.md)
- [Commits](https://github.com/postcss/postcss/compare/8.4.4...8.4.5)

---
updated-dependencies:
- dependency-name: postcss
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-12-13 09:34:06 -06:00
dependabot[bot]
f011851803 chore(deps-dev): bump tailwindcss from 3.0.0 to 3.0.2 (#2888)
Bumps [tailwindcss](https://github.com/tailwindlabs/tailwindcss) from 3.0.0 to 3.0.2.
- [Release notes](https://github.com/tailwindlabs/tailwindcss/releases)
- [Changelog](https://github.com/tailwindlabs/tailwindcss/blob/master/CHANGELOG.md)
- [Commits](https://github.com/tailwindlabs/tailwindcss/compare/v3.0.0...v3.0.2)

---
updated-dependencies:
- dependency-name: tailwindcss
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-12-13 09:28:50 -06:00
dependabot[bot]
4cbbf5ba9c chore(deps-dev): bump @roots/sage from 5.0.0-next.17 to 5.0.0-next.18 (#2886)
Bumps [@roots/sage](https://github.com/roots/bud/tree/HEAD/packages/@roots/sage) from 5.0.0-next.17 to 5.0.0-next.18.
- [Release notes](https://github.com/roots/bud/releases)
- [Changelog](https://github.com/roots/bud/blob/main/CHANGELOG.md)
- [Commits](https://github.com/roots/bud/commits/v5.0.0-next.18/packages/@roots/sage)

---
updated-dependencies:
- dependency-name: "@roots/sage"
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-12-13 09:25:37 -06:00
dependabot[bot]
b7961a8b95 chore(deps-dev): bump @roots/bud from 5.0.0-next.17 to 5.0.0-next.18 (#2887)
Bumps [@roots/bud](https://github.com/roots/bud/tree/HEAD/packages/@roots/bud) from 5.0.0-next.17 to 5.0.0-next.18.
- [Release notes](https://github.com/roots/bud/releases)
- [Changelog](https://github.com/roots/bud/blob/main/CHANGELOG.md)
- [Commits](https://github.com/roots/bud/commits/v5.0.0-next.18/packages/@roots/bud)

---
updated-dependencies:
- dependency-name: "@roots/bud"
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-12-13 09:21:34 -06:00
Ben Word
26ff3fa9ff Tailwind CSS v3.0 (#2882) 2021-12-10 09:43:41 -06:00
Ben Word
60271ef7e6 Update docs link [ci skip] 2021-12-08 13:13:38 -06:00
Ben Word
0ae5f93e17 Switch primary branch from master to main (#2851)
* Switch primary branch from master to main

Co-authored-by: QWp6t <hi@qwp6t.me>
2021-12-08 13:12:30 -06:00
Ben Word
a8266b98ec Remove issue closer (#2878) 2021-12-06 15:59:08 -06:00
dependabot[bot]
c58deddd61 chore(deps-dev): bump postcss from 8.4.1 to 8.4.4 (#2867)
Bumps [postcss](https://github.com/postcss/postcss) from 8.4.1 to 8.4.4.
- [Release notes](https://github.com/postcss/postcss/releases)
- [Changelog](https://github.com/postcss/postcss/blob/main/CHANGELOG.md)
- [Commits](https://github.com/postcss/postcss/compare/8.4.1...8.4.4)

---
updated-dependencies:
- dependency-name: postcss
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-12-04 12:29:09 -06:00
dependabot[bot]
a18d02713b chore(deps-dev): bump @roots/sage from 5.0.0-next.16 to 5.0.0-next.17 (#2865)
Bumps [@roots/sage](https://github.com/roots/bud/tree/HEAD/packages/@roots/sage) from 5.0.0-next.16 to 5.0.0-next.17.
- [Release notes](https://github.com/roots/bud/releases)
- [Changelog](https://github.com/roots/bud/blob/main/CHANGELOG.md)
- [Commits](https://github.com/roots/bud/commits/v5.0.0-next.17/packages/@roots/sage)

---
updated-dependencies:
- dependency-name: "@roots/sage"
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-12-04 12:22:44 -06:00
dependabot[bot]
eb9bcf9d1a chore(deps-dev): bump @roots/bud from 5.0.0-next.16 to 5.0.0-next.17 (#2866)
Bumps [@roots/bud](https://github.com/roots/bud/tree/HEAD/packages/@roots/bud) from 5.0.0-next.16 to 5.0.0-next.17.
- [Release notes](https://github.com/roots/bud/releases)
- [Changelog](https://github.com/roots/bud/blob/main/CHANGELOG.md)
- [Commits](https://github.com/roots/bud/commits/v5.0.0-next.17/packages/@roots/bud)

---
updated-dependencies:
- dependency-name: "@roots/bud"
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-12-04 11:46:25 -06:00
Ben Word
a19f9df351 README: Mention Sage 10 beta releases (#2873) 2021-12-04 11:44:05 -06:00
Nathan Knowler
0976ced31f feat(theme-wrapper): remove shrink-to-fit=no (#2870)
See:
https://www.matuzo.at/blog/html-boilerplate/
https://www.scottohara.me/blog/2018/12/11/shrink-to-fit.html
HTML 5 Boilerplate
2021-12-02 07:51:13 -06:00
Ben Word
759eb08030 chore(theme): misc cleanup (#2862) 2021-11-28 13:48:29 -06:00
Altan S
9717df84de Fix assets path for static images (#2864) 2021-11-28 13:48:00 -06:00
Ben Word
174c64f261 chore(deps): Bump roots/acorn to v2.0.0-beta.5 (#2861) 2021-11-28 13:39:55 -06:00
dependabot[bot]
54b2711c01 chore(deps-dev): bump postcss-preset-env from 7.0.0 to 7.0.1 (#2846)
Bumps [postcss-preset-env](https://github.com/csstools/postcss-preset-env) from 7.0.0 to 7.0.1.
- [Release notes](https://github.com/csstools/postcss-preset-env/releases)
- [Changelog](https://github.com/csstools/postcss-preset-env/blob/main/CHANGELOG.md)
- [Commits](https://github.com/csstools/postcss-preset-env/compare/7.0.0...7.0.1)

---
updated-dependencies:
- dependency-name: postcss-preset-env
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-11-26 11:04:56 -06:00
dependabot[bot]
6d2ecce590 chore(deps-dev): bump prettier from 2.4.1 to 2.5.0 (#2857)
Bumps [prettier](https://github.com/prettier/prettier) from 2.4.1 to 2.5.0.
- [Release notes](https://github.com/prettier/prettier/releases)
- [Changelog](https://github.com/prettier/prettier/blob/main/CHANGELOG.md)
- [Commits](https://github.com/prettier/prettier/compare/2.4.1...2.5.0)

---
updated-dependencies:
- dependency-name: prettier
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-11-26 10:52:56 -06:00
dependabot[bot]
6957fa7531 chore(deps-dev): bump postcss from 8.3.11 to 8.4.1 (#2859)
Bumps [postcss](https://github.com/postcss/postcss) from 8.3.11 to 8.4.1.
- [Release notes](https://github.com/postcss/postcss/releases)
- [Changelog](https://github.com/postcss/postcss/blob/main/CHANGELOG.md)
- [Commits](https://github.com/postcss/postcss/compare/8.3.11...8.4.1)

---
updated-dependencies:
- dependency-name: postcss
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-11-26 10:52:15 -06:00
dependabot[bot]
64c9dea8eb chore(deps-dev): bump @roots/sage from 5.0.0-next.14 to 5.0.0-next.16 (#2860)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-11-25 08:18:57 -08:00
dependabot[bot]
7383c9892d chore(deps-dev): bump @roots/bud from 5.0.0-next.14 to 5.0.0-next.16 (#2858)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-11-25 07:44:16 -08:00
Joshua Fredrickson
319d5ad1a0 fix(lint): Add additional known at-rules (#2811)
Allows use of `@use`, `@forward` and `@layer` in `.scss` files.
2021-11-23 11:39:21 -06:00
Nathan Knowler
771db437cd doc(readme): replace Mix with Bud (#2850)
[skip ci]
2021-11-23 10:35:54 -06:00
Ben Word
652b7ae24c Update CHANGELOG [ci skip] 2021-11-21 23:56:55 -06:00
Kelly Mears
69dfbfc65c Replace Laravel Mix with Bud (#2643)
Co-authored-by: QWp6t <hi@qwp6t.me>
Co-authored-by: Ben Word <ben@benword.com>
2021-11-21 23:53:01 -06:00
QWp6t
e533e1bd15 chore(deps): Bump roots/acorn to v2.0.0-beta.4 (#2844) 2021-11-19 12:13:47 -08:00
Ben Word
2f50547c20 Move compiled views back to cache dir by default (#2837)
* chore(cache-views): move compiled views to [wp-content]/cache/acorn/views

Co-authored-by: QWp6t <QWp6t@users.noreply.github.com>
2021-11-02 18:06:03 -05:00
QWp6t
7c034f42c6 Revert "Remove Acorn as dependency; treat as requirement (#2825)" (#2826)
This reverts commit 653832edb2.
2021-10-22 17:57:29 -05:00
Ben
653832edb2 Remove Acorn as dependency; treat as requirement (#2825) 2021-10-22 15:48:51 -07:00
Brandon
385452469a chore(views): nitpick blade syntax 2021-10-21 15:19:13 -05:00
Ben Word
66014d7770 Update CHANGELOG [ci skip] 2021-10-21 15:12:38 -05:00
Nathan Knowler
8cb0124750 Use menu name as accessible name of <nav> 2021-10-08 09:13:37 -05:00
Nathan Knowler
824a2cc18c Only display <nav> if primary_navigation is set
The contents of the menu were being conditionally displayed, but it
would display an empty `<nav>` element if the menu location wasn’t set.
2021-10-08 09:13:37 -05:00
Ben Word
a03f55880a Update sponsors [ci skip] 2021-10-07 17:16:57 -05:00
Joshua Fredrickson
acb7bc59a2 Enable Webpack 5's automatic unique naming (#2745) (Fixes #2733) 2021-08-04 18:51:39 -05:00
Ben Word
982ab458bb Update sponsors [ci skip] 2021-07-01 12:16:45 -06:00
Nathan Knowler
e7de7b256a feat: remove x-ua-compatible tag (#2742)
This is redundant in IE 11.
2021-06-16 12:41:53 -05:00
Nathan Knowler
933f9ad8a5 refactor: remove deprecated jQuery .ready() syntax (#2738)
jQuery 3 recommends `$( handler )` syntax.

Reference: https://api.jquery.com/ready/
2021-06-16 12:41:36 -05:00
strarsis
6d66debe17 chore(i18n): Fix/add proper translator comments (#2716)
Co-authored-by: Brandon <brandon@tendency.me>
2021-05-26 20:10:21 -05:00
Brandon Nifong
cb5a5b57fe chore(deps): Bump dependencies 2021-05-26 20:05:16 -05:00
Joshua Fredrickson
926c71eb30 enhance(theme): Disable full-site editing support (#2692) 2021-05-26 19:59:44 -05:00
Brandon
ff62e351aa chore(deps): Bump dependencies (#2723) 2021-05-26 19:40:53 -05:00
Nathan Knowler
e5a59753c7 chore(deps): make jQuery ^3.5.1 a peer dependency (#2721)
Co-authored-by: Austin Pray <austin@austinpray.com>
2021-05-26 19:32:17 -05:00
Greg Hunt
0808d80063 enhance(assets): Shorter pattern for purge files (#2722) 2021-05-26 19:22:03 -05:00
Ben Word
3c985bf416 Update sponsors [ci skip] 2021-05-24 16:32:09 -06:00
dependabot-preview[bot]
b4146f9af6 Upgrade to GitHub-native Dependabot (#2693)
Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2021-05-14 11:57:49 -07:00
Ben Word
428f456a20 Update sponsors [ci skip] 2021-04-08 14:53:49 -06:00
QWp6t
90abb3197f fix(assets): use PhpAsset::load()
closes #2660
2021-03-31 12:40:36 -07:00
QWp6t
f19e1a52a6 chore(deps): update acorn to 2.0.0-alpha.0 2021-03-31 04:12:35 -07:00
Ben Word
b4e63a5922 Update sponsors [ci skip] 2021-03-15 16:30:20 -06:00
QWp6t
f19b1dd360 chore(config-log): use generic application.log 2021-02-28 21:52:43 -08:00
QWp6t
749d9d4798 fix(config-view): use acorn helper functions 2021-02-28 20:44:05 -08:00
QWp6t
8d5df52eb7 fix(bootstrap): use static bootloader to prevent rebooting 2021-02-26 22:20:46 -08:00
Brandon
6ca0aa6b74 chore(docs): Fix link to Blade in README 2021-02-16 01:16:08 -06:00
Brandon
19e59450ae chore(docs): Bump minimum requirements
* chore(docs): Change mention of Bootstrap to TailwindCSS
2021-02-16 01:14:33 -06:00
Brandon
af960211f6 chore(docs): Add style to build status badge 2021-02-16 01:11:40 -06:00
Brandon
ac7312ea15 fix(lint): Update eslint path 2021-02-16 01:08:50 -06:00
Brandon
9b1241997e chore(deps): Bump dependencies
revert(assets): Rename js/ back to scripts/
revert(assets): Rename css/ back to styles/
2021-02-16 01:08:50 -06:00
Ben Word
78855e51c8 Update sponsors [ci skip] 2021-02-16 01:08:50 -06:00
Mosaad
b13f4dd85d fix(composer): use proper wp cli command name (#2636) 2021-02-16 01:08:50 -06:00
Brandon
171b1a7aef chore(deps): Bump dependencies 2021-02-16 01:08:50 -06:00
Brandon
e845481fc2 chore(deps): Bump dependencies
chore(view): Remove tabindex from main selector
2021-02-16 01:08:50 -06:00
Brandon
a3d3e54a9d chore(deps): optimize tailwind's purgecss dirs 2021-02-16 01:08:50 -06:00
Michael W. Delaney
23e374d773 enhance(view): Add "skip to content" link (#2622) 2021-02-16 01:08:50 -06:00
Brandon
a5836af8d3 chore(theme): reword soil docblock 2021-02-16 01:08:50 -06:00
Brandon
6d4a52b46c fix(deps): Remove wildcards from .copyDirectory() in webpack.mix.js
chore(deps): Remove reundently passed tailwind config location
chore(deps): Slightly reorganize webpack.mix.js
chore(deps): Bump dependencies
2021-02-16 01:08:50 -06:00
Brandon
648ad5de25 chore(deps): Bump dependencies 2021-02-16 01:08:50 -06:00
Brandon
e1d55e5254 chore(ci): Add --frozen-lockfile arg to yarn install 2021-02-16 01:08:50 -06:00
Brandon
cfb446e78e chore(lint): Tone down the lint script 2021-02-16 01:08:50 -06:00
Brandon
be1b316a83 chore(deps): Bump dependencies 2021-02-16 01:08:50 -06:00
Brandon
ddb46a868f chore(project): Remove .circleci and add .github to .gitattributes
chore(docs): Change build badge to GitHub actions
2021-02-16 01:08:50 -06:00
Brandon
d8dad85a0e chore(ci): Change workflow event to only target master 2021-02-16 01:08:50 -06:00
Brandon
23fd09baea enhance(ci): Change from CircleCI to GitHub actions 2021-02-16 01:08:50 -06:00
Brandon
7c247fa5d8 wip 2021-02-16 01:08:50 -06:00
Brandon
08716e6a78 wip(ci): Change from CircleCI to GitHub actions 2021-02-16 01:08:50 -06:00
Brandon
a5398d2830 wip(ci): Change from CircleCI to GitHub actions 2021-02-16 01:08:50 -06:00
Brandon
57c24f8ba7 chore(theme): Remove specificity from custom-units theme support 2021-02-16 01:08:50 -06:00
Brandon
38cae9f8e5 enhance(theme): Add theme support for custom-line-height 2021-02-16 01:08:50 -06:00
Brandon
6269cee56a chore(theme): Fix docblock link 2021-02-16 01:08:50 -06:00
Brandon
cc2d02d7de chore(theme): Move custom-spacing up for visibility 2021-02-16 01:08:50 -06:00
Brandon
efbb13f282 enhance(theme): Add theme support for custom-units 2021-02-16 01:08:50 -06:00
Brandon
96974bf20a enhance(theme): Add theme support for editor-gradient-presets, editor-font-sizes, disable-custom-colors, disable-custom-gradients, disable-custom-font-sizes, custom-spacing
enhance(theme): Remove theme support for default block patterns
chore(theme): Reorder actions inside of the `after_setup_theme` hook by usefulness
chore(ci): Add `8.0` to version matrix
2021-02-16 01:08:50 -06:00
Brandon
3e2d9baac3 fix(ci): Add test to package.json scripts 2021-02-16 01:08:50 -06:00
Brandon
b3bdf487fb fix(ci): Drop PHP 7.2 from test matrix 2021-02-16 01:08:50 -06:00
Brandon
8f2779a99d chore(readme): Update theme structure example 2021-02-16 01:08:50 -06:00
Brandon
098f2fcfe5 chore(view): Remove redundant selector 2021-02-16 01:08:50 -06:00
Brandon
f64c975375 chore(deps): Remove cross-env as it is no longer necessary 2021-02-16 01:08:50 -06:00
Brandon
5518ea165a feat(assets): Change default CSS framework to Tailwind
* enhance(view): Add light default styling for Tailwind
* chore(view): Clean up unnecessary selectors and spacing
* feat(acorn): Update Acorn for Laravel 8.x
* chore(acorn): Create default `bootstrap/` project directory for Laravel 8.x
* refactor(acorn): Split the Acorn bootloader between `functions.php` and `bootstrap/app.php` to coincide with Laravel
* refactor(assets): Lighten the out of the box CSS boilerplate
* refactor(assets): Rename `dist/` to `public/` to coincide with Laravel
* refactor(assets): Flatten the `assets/` directory into `resources/` to coincide with Laravel
* refactor(assets): Rename `scripts/` to `js/` to coincide with Laravel
* refactor(assets): Rename `styles/` to `css/` to coincide with Laravel
* feat(deps): Update to Laravel Mix ^6.0
* chore(deps): Change Mix-related package.json `scripts` to the new `mix` binary
* chore(deps): Remove PurgeCSS in favor of Tailwind's built in purge
* chore(deps): Remove deprecated/unnecessary/unused dependencies
* chore(deps): Bump minimum PHP version to 7.3 to coincide with Laravel 8.x
2021-02-16 01:08:50 -06:00
Ben Word
33005e59b4 Update sponsors [ci skip] 2020-12-04 09:10:06 -07:00
Mosaad
af2089a7f5 Correct "trailingComma" value for prettier (#2582)
For "trailingComma" in `.prettierrc`, the value "true" is not accepted. Valid values are: "es5", "none", "all" https://prettier.io/docs/en/options.html#trailing-commas
2020-11-23 16:03:42 -06:00
dependabot-preview[bot]
a54a2a1221 Bump squizlabs/php_codesniffer from 3.5.6 to 3.5.8 (#2562)
Bumps [squizlabs/php_codesniffer](https://github.com/squizlabs/PHP_CodeSniffer) from 3.5.6 to 3.5.8.
- [Release notes](https://github.com/squizlabs/PHP_CodeSniffer/releases)
- [Commits](https://github.com/squizlabs/PHP_CodeSniffer/compare/3.5.6...3.5.8)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2020-11-09 18:15:08 -07:00
dependabot-preview[bot]
21cef41ecd Bump bootstrap from 4.5.2 to 4.5.3 (#2554)
Bumps [bootstrap](https://github.com/twbs/bootstrap) from 4.5.2 to 4.5.3.
- [Release notes](https://github.com/twbs/bootstrap/releases)
- [Commits](https://github.com/twbs/bootstrap/compare/v4.5.2...v4.5.3)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2020-11-09 18:14:34 -07:00
Tang Rufus
f70de3d052 package.json: Specify supported node versions (#2555) 2020-11-09 18:12:49 -07:00
Ben Word
36937b4cea Update sponsors [ci skip] 2020-10-03 10:13:24 -06:00
Ben Word
1d4f5675c8 Soil: Activation updates for latest version (#2527) 2020-08-30 10:04:32 -06:00
Brandon
24ac51d510 Housekeeping (#2520)
* enhance(project): Add .prettierrc to project
* chore(deps): Bump dependencies
* chore(view): Improve readability of the search form view
* chore(admin): Improve language used in the customize_register filter docblock
* chore(lint): Lint project assets
* chore(change-log): Improve/prepare the changelog for actual release
* chore(readme): Improve README feature list
* chore(readme): Update README theme directory structure
* chore(readme): Add GitHub sponsors badge
* chore(readme): Clean up various wording
* fix(ci): Fix failing tests
* fix(mix): Add index.php to purgecss scope (Supersedes #2423) (Credit @oxyc)
2020-08-20 13:35:15 -05:00
Smeedijzer Internet
5535ea6184 Update setup.php (#2499)
add_theme_support('html5, [.... 'script', 'style']); removes type="text/javascript" and type=”text/css” from enqueued scripts and styles.
2020-08-18 09:34:01 -06:00
Daniel Sturm
be73e2c2dd Fix typos in latest changes (#2502) 2020-07-02 02:42:59 -05:00
dependabot-preview[bot]
fc292199e5 Bump roots/acorn from 1.0.8 to 1.0.9 (#2500)
Bumps [roots/acorn](https://github.com/roots/acorn) from 1.0.8 to 1.0.9.
- [Release notes](https://github.com/roots/acorn/releases)
- [Commits](https://github.com/roots/acorn/compare/v1.0.8...v1.0.9)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2020-07-01 11:27:52 -05:00
Tang Rufus
c1fe8fb22a ci: Use offical CircleCI PHP and Node orbs, and next-gen docker images (#2484) 2020-06-27 19:59:27 -07:00
Ben Word
3ae83c7e57 Update sponsors [ci skip] 2020-05-18 19:32:57 -06:00
Ben Word
eb93c64b6c Update CHANGELOG [ci skip] 2020-05-16 04:39:04 -06:00
dependabot-preview[bot]
41d8239271 Bump bootstrap from 4.4.1 to 4.5.0 (#2467)
Bumps [bootstrap](https://github.com/twbs/bootstrap) from 4.4.1 to 4.5.0.
- [Release notes](https://github.com/twbs/bootstrap/releases)
- [Commits](https://github.com/twbs/bootstrap/compare/v4.4.1...v4.5.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2020-05-16 04:37:15 -06:00
dependabot-preview[bot]
604f3ccc92 Bump @wordpress/babel-preset-default from 4.12.1 to 4.13.0 (#2468)
Bumps [@wordpress/babel-preset-default](https://github.com/WordPress/gutenberg/tree/HEAD/packages/babel-preset-default) from 4.12.1 to 4.13.0.
- [Release notes](https://github.com/WordPress/gutenberg/releases)
- [Changelog](https://github.com/WordPress/gutenberg/blob/master/changelog.txt)
- [Commits](https://github.com/WordPress/gutenberg/commits/@wordpress/babel-preset-default@4.13.0/packages/babel-preset-default)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2020-05-16 04:37:04 -06:00
dependabot-preview[bot]
7ef97a583a Bump roots/acorn from 1.0.6 to 1.0.8 (#2469)
Bumps [roots/acorn](https://github.com/roots/acorn) from 1.0.6 to 1.0.8.
- [Release notes](https://github.com/roots/acorn/releases)
- [Commits](https://github.com/roots/acorn/compare/v1.0.6...v1.0.8)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2020-05-16 04:36:47 -06:00
Brandon
a4f3392da2 Update README [ci skip] 2020-05-10 16:39:50 -06:00
QWp6t
2c5479995d Sage 10 (#2138)
* Sage 10 (#2122)

There's a new version of Sage in the pipeline. The most significant change is the introduction of Acorn. I'll release more information about Acorn as it nears completion.

TODO

- [ ] Restructure templates (@retlehs)
- [ ] Code splitting (@austinpray, @QWp6t, @swalkinshaw)
- [ ] WooCommerce compatibility (@QWp6t, @retlehs)
- [ ] API for build process (possibly extend Laravel Mix) (@QWp6t, @austinpray)
- [ ] Acorn - https://github.com/QWp6t/acorn/issues/1 (@QWp6t)
- [ ] Documentation

Sage 10 and Acorn are both still works in progress so you should definitely not start any projects with them in their current state unless you're willing to do an inordinate amount of debugging and go through the hassle of keeping up with updates as we push them.

* Add wp_body_open hook (WP 5.2+)

* Add missing search blade
Enable preflight by default
Bump version to 10.0.0 in package.json and style.css
Change PHP requirement to 7.1.3
Upgrade roots/sage-installer
Remove deprecated qwp6t/acorn repository from composer.json
Add some sane optimizations to composer.json
Remove excessive linebreaks from helpers.php
Make config linebreaking uniform
Add missing space to ! conditionals to stay consistent with PSR-1/2
Update the file structure in README.md and add the new sponsor
Revert to shorthand @php()
Add aside markup to sidebar and wrap it in @hasSection
Add a document wrapper
Add ARIA roles to the document, main, aside, header, nav, and footer wrappers
Change entry-meta conditional in content-search.blade.php to an @includeWhen
Add some sane linebreaks throughout the views and codebase to increase readability
Add docblocks to the example Title.php composer

* Add WP Blade Check

* Remove redundant ARIA roles

* Revert language_attributes() to get_language_attributes()
Remove roots/wp-blade-check until we decide on where to put it
Only enable preflight when not in production

* Make searchform translations match WordPress core

* Update Travis conf

* rmdist is gone in Sage 10

* Change to Laravel Mix
Clean up and refactor starter styles
Remove autoload from styles/scripts
Remove $ import on customizer.js as Mix autoload will handle that
Fix conditional on comments.blade.php
Bump PHP version to 7.1.3 on Travis
Remove unnecessary fields in package.json as it will never be published
Rename main.css/main.js to app.css/app.js
Automatically remove Blade cache when theme is activated, changed, or removed

* Simplify Blade cache removal

* Use ->uri() on asset for sanity purposes

* Fix app.js typo

* Add npm-run-all

This lets us run related scripts together pretty easily since we can
use glob patterns (e.g. `lint:*` — `**` is supported too). You can
either run scripts sequentially with `run-s` or in parallel with
`run-p`.

See: https://github.com/mysticatea/npm-run-all

* Add -c (continue on error) flag to lint command

This way lint issues for the scripts doesn’t block the styles from being
linted.

* run-s all the things

* Break up `build:production`
* Refine `start` script to call `build` but using `--watch`
  * Since the base command is the same, this makes it easier to
    maintain.
* Use run-s for `test` script for consistency.

* Refactor build commands

The only thing that differs between `build` and `build:production` is
the Node environment variable. We can use `run-s build:mix` preceeded by
the correspinding environment setting.

* Fix start command

We need to pass `--watch` to the `build:mix` not `build`. Also, this
means we need to set the Node environment beforehand since `build:mix`
doesn’t have that.

* Fix hot command

`dist` needs to exist for HMR to work since it looks for `dist/hot`.
This means we should probably build once before starting HMR. This also
renames `build:mix` to just `mix` to keep a consistent naming scheme.

* Move cache location to `storage/`
Add app.name to configuration
Add a ServiceProvider stub
Add missing trailing commas to config
Remove automatic Blade cache removal action as it is no longer necessary
Clean up .gitignore
Clean up JavaScript docblocks
Remove home.js example
Remove leftover Sage 9 information from README

* Remove redundent $asset in setup.php

* Add clean:views npm script (#2176)

Since views are in a predictable location within the theme, this might
be handy. A side effect of adding this is that generated views are now
cleared on every production build, which might be a good thing. If not,
it’s not hard to change.

* [Sage 10] Add src and public mix path helpers (#2177)

Since Mix uses the `webpack.mix.js` path as the webpack context and
doesn’t let us change the context, having a helper can make it easier to
add new assets. It also provides a single source of truth for the assets
source directory.

Also, this adds a `public` function which just makes it easy for setting
the `to` path in the `copyDirectory` task.

By including the definitions of these functions within the
`webpack.mix.js` file itself it makes it clear to Sage users that they
are not a part of Mix.

* Typo [ci skip]

* Syntax optimizations

* Combine watch rules using extended glob patterns
* Use template literals for mix helpers (src + public). Makes it seem
  less cluttered.

* Use out instead of public for publicPath helper

`public` is a future reserved word in JS

* Use publicPath instead of out

* Use Roots\Acorn\ServiceProvider (#2180)

* Make editorconfig account for Blade's outside of resources/views

* non-Blade files located in resources/views should also be indent_size = 2

* [Sage 10] Replace jQuery’s .ready() (#2182)

* Use DOMContentLoaded listener for document ready
* Account for DOMContentLoaded not firing
* Extract ready() to utils.js

Also uses `window.setTimeout(fn, 0)` to cover async.

In a commit/PR in the near future, the `util` directory will be going
away since the DOM router has been extracted to its own package
(https://github.com/roots/js-dom-router). `utils.js` will function as a
place for custom utilities, similar to what `app/helpers.php` is on the
PHP side of things.

* Replace Travis CI with CircleCI (#2185)

* Replace Travis CI with CircleCI

* Replace badge [ci skip]

* Optimize CircleCI (#2186)

* Optimize CircleCI

* Change cache keys

* Update .gitattributes

* Update .gitattributes

* Optimize CircleCI config (#2188)

* Update composer dependencies

* Bump required WordPress version (#2193)

* Change WordPress requirement to 5.2

* Restructure (#2200)

* Restructure Sage
* Composer test -> lint

* Fix version_compare() operators (#2195)

* Simplify Mix Browsersync API (#2198)

* New DOM router + dynamic imports (#2190)

* Use new js-dom-router 
* add dynamic import support with example
* Use babel-eslint as eslint parser

* Update dependencies

* Add post-autoload-dump script for package discovery (#2201)

* CircleCI: `yarn install` with `--frozen-lockfile` (#2203)

* Bump babel-eslint from 10.0.1 to 10.0.2 (#2209)

Bumps [babel-eslint](https://github.com/babel/babel-eslint) from 10.0.1 to 10.0.2.
- [Release notes](https://github.com/babel/babel-eslint/releases)
- [Commits](https://github.com/babel/babel-eslint/compare/v10.0.1...v10.0.2)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>

* Bump sass from 1.21.0 to 1.22.0 (#2211)

Bumps [sass](https://github.com/sass/dart-sass) from 1.21.0 to 1.22.0.
- [Release notes](https://github.com/sass/dart-sass/releases)
- [Changelog](https://github.com/sass/dart-sass/blob/master/CHANGELOG.md)
- [Commits](https://github.com/sass/dart-sass/compare/1.21.0...1.22.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>

* Bump eslint-plugin-import from 2.17.3 to 2.18.0 (#2210)

Bumps [eslint-plugin-import](https://github.com/benmosher/eslint-plugin-import) from 2.17.3 to 2.18.0.
- [Release notes](https://github.com/benmosher/eslint-plugin-import/releases)
- [Changelog](https://github.com/benmosher/eslint-plugin-import/blob/master/CHANGELOG.md)
- [Commits](https://github.com/benmosher/eslint-plugin-import/compare/v2.17.3...v2.18.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>

* Bump eslint from 5.16.0 to 6.0.1 (#2212)

Bumps [eslint](https://github.com/eslint/eslint) from 5.16.0 to 6.0.1.
- [Release notes](https://github.com/eslint/eslint/releases)
- [Changelog](https://github.com/eslint/eslint/blob/master/CHANGELOG.md)
- [Commits](https://github.com/eslint/eslint/compare/v5.16.0...v6.0.1)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>

* Fix npm run start script options not forwarded with npm (#2205)

This is a known difference between yarn and npm and will eventually
break with yarn once backwards compatibility is removed.

* Use WordPress’ Browserslist config (#2214)

Co-authored-by: Ben Word <ben@benword.com>

* Bump sass from 1.22.0 to 1.22.1 (#2216)

Bumps [sass](https://github.com/sass/dart-sass) from 1.22.0 to 1.22.1.
- [Release notes](https://github.com/sass/dart-sass/releases)
- [Changelog](https://github.com/sass/dart-sass/blob/master/CHANGELOG.md)
- [Commits](https://github.com/sass/dart-sass/compare/1.22.0...1.22.1)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>

* Bump sass from 1.22.1 to 1.22.3 (#2218)

Bumps [sass](https://github.com/sass/dart-sass) from 1.22.1 to 1.22.3.
- [Release notes](https://github.com/sass/dart-sass/releases)
- [Changelog](https://github.com/sass/dart-sass/blob/master/CHANGELOG.md)
- [Commits](https://github.com/sass/dart-sass/compare/1.22.1...1.22.3)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>

* Bump laravel-mix from 4.0.16 to 4.1.2 (#2219)

Bumps [laravel-mix](https://github.com/JeffreyWay/laravel-mix) from 4.0.16 to 4.1.2.
- [Release notes](https://github.com/JeffreyWay/laravel-mix/releases)
- [Commits](https://github.com/JeffreyWay/laravel-mix/commits)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>

* Update README [ci skip]

* [Security] Bump lodash from 4.17.11 to 4.17.14 (#2259)

Bumps [lodash](https://github.com/lodash/lodash) from 4.17.11 to 4.17.14. **This update includes security fixes.**
- [Release notes](https://github.com/lodash/lodash/releases)
- [Commits](https://github.com/lodash/lodash/compare/4.17.11...4.17.14)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>

* Bump sass from 1.22.3 to 1.22.4 (#2260)

Bumps [sass](https://github.com/sass/dart-sass) from 1.22.3 to 1.22.4.
- [Release notes](https://github.com/sass/dart-sass/releases)
- [Changelog](https://github.com/sass/dart-sass/blob/master/CHANGELOG.md)
- [Commits](https://github.com/sass/dart-sass/compare/1.22.3...1.22.4)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>

* chore(readme): Use brand color for Twitter follow badge

[ci skip]

* Acorn asset manager config (#2220)

* Add logs directory

* Bump sass from 1.22.4 to 1.22.5 (#2263)

Bumps [sass](https://github.com/sass/dart-sass) from 1.22.4 to 1.22.5.
- [Release notes](https://github.com/sass/dart-sass/releases)
- [Changelog](https://github.com/sass/dart-sass/blob/master/CHANGELOG.md)
- [Commits](https://github.com/sass/dart-sass/compare/1.22.4...1.22.5)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>

* Add alert component with view composer (#2267)

Resolves #2262

* Fix broken source maps + remove unnecessary conditionals (#2268)

Resolves #2266

Laravel Mix has a bug where source maps are not generated if you do not
specify the source map type (the second argument). This corrects that.

Co-authored-by: Matt Mirus <matt@mattmirus.com>

* chore(config): add alert component alias to view config (#2272)

This also updates Acorn.

* Bump sass from 1.22.5 to 1.22.7 (#2273)

Bumps [sass](https://github.com/sass/dart-sass) from 1.22.5 to 1.22.7.
- [Release notes](https://github.com/sass/dart-sass/releases)
- [Changelog](https://github.com/sass/dart-sass/blob/master/CHANGELOG.md)
- [Commits](https://github.com/sass/dart-sass/compare/1.22.5...1.22.7)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>

* Bump eslint-plugin-import from 2.18.0 to 2.18.2 (#2275)

Bumps [eslint-plugin-import](https://github.com/benmosher/eslint-plugin-import) from 2.18.0 to 2.18.2.
- [Release notes](https://github.com/benmosher/eslint-plugin-import/releases)
- [Changelog](https://github.com/benmosher/eslint-plugin-import/blob/master/CHANGELOG.md)
- [Commits](https://github.com/benmosher/eslint-plugin-import/compare/v2.18.0...v2.18.2)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>

* No scripts/suggests during `composer install` on CircleCI [ci skip]

* Add timezone, globals, and locale app config [ci skip]

* Add logging config

* Update theme structure in README [ci skip]

* Move get_search_form and body_class to Acorn
comments_template() now defaults to `partials/comments.blade.php`
Composers are now autoloaded

* Bump sass from 1.22.7 to 1.22.9 (#2281)

Bumps [sass](https://github.com/sass/dart-sass) from 1.22.7 to 1.22.9.
- [Release notes](https://github.com/sass/dart-sass/releases)
- [Changelog](https://github.com/sass/dart-sass/blob/master/CHANGELOG.md)
- [Commits](https://github.com/sass/dart-sass/compare/1.22.7...1.22.9)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>

* Bump eslint from 6.0.1 to 6.1.0 (#2276)

Bumps [eslint](https://github.com/eslint/eslint) from 6.0.1 to 6.1.0.
- [Release notes](https://github.com/eslint/eslint/releases)
- [Changelog](https://github.com/eslint/eslint/blob/master/CHANGELOG.md)
- [Commits](https://github.com/eslint/eslint/compare/v6.0.1...v6.1.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>

* Update sponsors [ci skip]

* Keep a commented out example of calling a Composer class

* Bump dependencies
Add sage-svg (#2270)
Add sage-directives (#2265)
Start changelog (Related to #2271)

* Set `wp_nav_menu` echo to `false` (#2278)

* Bump @wordpress/browserslist-config from 2.5.0 to 2.6.0 (#2282)

Bumps [@wordpress/browserslist-config](https://github.com/WordPress/gutenberg/tree/HEAD/packages/browserslist-config) from 2.5.0 to 2.6.0.
- [Release notes](https://github.com/WordPress/gutenberg/releases)
- [Changelog](https://github.com/WordPress/gutenberg/blob/master/packages/browserslist-config/CHANGELOG.md)
- [Commits](https://github.com/WordPress/gutenberg/commits/@wordpress/browserslist-config@2.6.0/packages/browserslist-config)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>

* chore(deps): log1x/sage-directives from 1.0.9 to 1.1.2 (#2286)

Bumps [log1x/sage-directives](https://github.com/Log1x/sage-directives) from 1.0.9 to 1.1.2.
- [Release notes](https://github.com/Log1x/sage-directives/releases)
- [Changelog](https://github.com/Log1x/sage-directives/blob/master/CHANGELOG.md)
- [Commits](https://github.com/Log1x/sage-directives/compare/v1.0.9...v1.1.2)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>

* Bump sass-loader from 7.1.0 to 7.2.0 (#2287)

Bumps [sass-loader](https://github.com/webpack-contrib/sass-loader) from 7.1.0 to 7.2.0.
- [Release notes](https://github.com/webpack-contrib/sass-loader/releases)
- [Changelog](https://github.com/webpack-contrib/sass-loader/blob/master/CHANGELOG.md)
- [Commits](https://github.com/webpack-contrib/sass-loader/compare/v7.1.0...v7.2.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>

* Remove unnecessary linebreak [ci skip]

* docs(changelog): Use lowercase for "webpack"

Keeps it consistent with [their brand](https://webpack.js.org/branding/#the-name).

[ci skip]

* Bump rimraf from 2.6.3 to 3.0.0 (#2289)

Bumps [rimraf](https://github.com/isaacs/rimraf) from 2.6.3 to 3.0.0.
- [Release notes](https://github.com/isaacs/rimraf/releases)
- [Commits](https://github.com/isaacs/rimraf/compare/v2.6.3...v3.0.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>

* Bump sass from 1.22.9 to 1.22.10 (#2292)

Bumps [sass](https://github.com/sass/dart-sass) from 1.22.9 to 1.22.10.
- [Release notes](https://github.com/sass/dart-sass/releases)
- [Changelog](https://github.com/sass/dart-sass/blob/master/CHANGELOG.md)
- [Commits](https://github.com/sass/dart-sass/compare/1.22.9...1.22.10)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>

* Bump sass-loader from 7.2.0 to 7.3.1 (#2293)

Bumps [sass-loader](https://github.com/webpack-contrib/sass-loader) from 7.2.0 to 7.3.1.
- [Release notes](https://github.com/webpack-contrib/sass-loader/releases)
- [Changelog](https://github.com/webpack-contrib/sass-loader/blob/master/CHANGELOG.md)
- [Commits](https://github.com/webpack-contrib/sass-loader/compare/v7.2.0...v7.3.1)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>

* Bump eslint from 6.1.0 to 6.2.1 (#2294)

Bumps [eslint](https://github.com/eslint/eslint) from 6.1.0 to 6.2.1.
- [Release notes](https://github.com/eslint/eslint/releases)
- [Changelog](https://github.com/eslint/eslint/blob/master/CHANGELOG.md)
- [Commits](https://github.com/eslint/eslint/compare/v6.1.0...v6.2.1)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>

* Bump babel-eslint from 10.0.2 to 10.0.3 (#2295)

Bumps [babel-eslint](https://github.com/babel/babel-eslint) from 10.0.2 to 10.0.3.
- [Release notes](https://github.com/babel/babel-eslint/releases)
- [Commits](https://github.com/babel/babel-eslint/compare/v10.0.2...v10.0.3)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>

* Bump eslint from 6.2.1 to 6.2.2 (#2296)

Bumps [eslint](https://github.com/eslint/eslint) from 6.2.1 to 6.2.2.
- [Release notes](https://github.com/eslint/eslint/releases)
- [Changelog](https://github.com/eslint/eslint/blob/master/CHANGELOG.md)
- [Commits](https://github.com/eslint/eslint/compare/v6.2.1...v6.2.2)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>

* Bump log1x/sage-directives from 1.1.2 to 1.1.3 (#2297)

Bumps [log1x/sage-directives](https://github.com/Log1x/sage-directives) from 1.1.2 to 1.1.3.
- [Release notes](https://github.com/Log1x/sage-directives/releases)
- [Changelog](https://github.com/Log1x/sage-directives/blob/master/CHANGELOG.md)
- [Commits](https://github.com/Log1x/sage-directives/compare/v1.1.2...v1.1.3)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>

* Adds i18n support (#2290)

Adds translation commands to package.json. Includes support for Javascript strings.

Adds translator comment to example app/Composers/Title.php.

Does not implement the loading of translated strings as this is a costly operation and implementations can be opinionated.

* Update Composers to work with the latest Acorn
- Bump dependencies
- Run all translate commands with translate:*

* Use $this->data in the Alert Composer (#2300)

* Use $this->data for handling data in the example Alert composer
* Bump Acorn

* Update sponsors [ci skip]

* Update sponsors [ci skip]

* Update sponsors [ci skip]

* Call ->render() on view instead of relying on toString (#2330)

* Bump for Acorn (#2337)

* Breaking Change: Bump required PHP version to 7.2
* chore(deps): Bump dependencies
* fix(app): Change app.env and app.debug default values (important*)
* chore(deps-dev): Add filp/whoops to required-dev
* chore(ci): Remove php-71 from CircleCI

* Use mix-manifest.json (Fixes #2329)

* Pre-Sage 10 Alpha (#2338)

- Refactor default styles and scripts
- Clean up default view markup
- Change `Title.php` to `Post.php` to suggest a more organized workflow (Supersedes #2320)
- Create an `App` composer to show an example of a global variable
- Add `align-wide` and `responsive-embeds` to `add_theme_support` by default
- Remove deprecated `soil-jquery-cdn` from `add_theme_support`
- Clean up docblocks project-wide
- Update linting to match the latest PSR-12 standards (e.g. the license docblocks)
- Add an appropriate `#app` wrapper to make the project ready for frameworks like Vue
- Add `laravel-mix-purgecss` for purgeCSS in production
- Add `laravel-mix-copy-watched` for asset watching & versioning
- Add `laravel-mix-wp-blocks` to handle compiling blocks
- Reduce the footprint of the default `webpack.mix.js`
- Append filetypes to asset names
- Add default block editor assets
- Add handling for the WordPress asset manifest
- Remove visual editor styling (Fixes #2269)
- Add sensible default styles and folders
- Remove unused `phpcs.xml`
- Move `sage-directives` and `sage-svg` to suggests
- Bump dependencies
- Add Brandon Nifong as an author
- Change license URI to https
- Remove unused function namespaces from setup.php
- Append filetypes to asset names
- Add default block editor assets
- Add handling for the WordPress asset manifest
- Ignore dist when running phpcs
- Change the search input class the the WP default

* Inline manifest.js when enqueueing editor.js (#2344)

* Add theme color palette support (#2352)

* Bump bootstrap from 4.3.1 to 4.4.1 (#2350)

Bumps [bootstrap](https://github.com/twbs/bootstrap) from 4.3.1 to 4.4.1.
- [Release notes](https://github.com/twbs/bootstrap/releases)
- [Commits](https://github.com/twbs/bootstrap/compare/v4.3.1...v4.4.1)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>

* Bump eslint from 6.6.0 to 6.7.2 (#2354)

Bumps [eslint](https://github.com/eslint/eslint) from 6.6.0 to 6.7.2.
- [Release notes](https://github.com/eslint/eslint/releases)
- [Changelog](https://github.com/eslint/eslint/blob/master/CHANGELOG.md)
- [Commits](https://github.com/eslint/eslint/compare/v6.6.0...v6.7.2)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>

* Bump sass from 1.23.3 to 1.23.7 (#2345)

Bumps [sass](https://github.com/sass/dart-sass) from 1.23.3 to 1.23.7.
- [Release notes](https://github.com/sass/dart-sass/releases)
- [Changelog](https://github.com/sass/dart-sass/blob/master/CHANGELOG.md)
- [Commits](https://github.com/sass/dart-sass/compare/1.23.3...1.23.7)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>

* Sage 10 editor scripts & styles (#2351)

* adds alternate button style and super basic starter css

* Adds transition variable

* Add bootstrap max-width to editor-styles

* updates button scss, editor wrapper scss, and registration

* rename is-style-ghost to is-style-outline

* simplify structure and cleanup css

* Protect Ben Word's typographic holdings

* Remove scoping from .has-xyz-color classes

* Restore scss partial import structure

* rename partials, move color util, apply bootstrap font

* alphabetical selectors ¯\_(ツ)_/¯

* Bump stylelint from 11.1.1 to 12.0.0 (#2342)

Bumps [stylelint](https://github.com/stylelint/stylelint) from 11.1.1 to 12.0.0.
- [Release notes](https://github.com/stylelint/stylelint/releases)
- [Changelog](https://github.com/stylelint/stylelint/blob/master/CHANGELOG.md)
- [Commits](https://github.com/stylelint/stylelint/compare/11.1.1...12.0.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>

* Bump squizlabs/php_codesniffer from 3.5.2 to 3.5.3 (#2356)

Bumps [squizlabs/php_codesniffer](https://github.com/squizlabs/PHP_CodeSniffer) from 3.5.2 to 3.5.3.
- [Release notes](https://github.com/squizlabs/PHP_CodeSniffer/releases)
- [Commits](https://github.com/squizlabs/PHP_CodeSniffer/compare/3.5.2...3.5.3)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>

* README updates for 10.0.0-alpha.1 (#2271)

* Update theme structure + files in README

* Update setup.php

* Keep hierarchical assets directory structure (#2372)

* fix(stylelint): Fix broken tests (#2375)

feat(stylelint): Set `at-rule-empty-line-before` to `null` to allow sane seperation of imports

* chore(deps): Bump dependencies (#2376)

* update laravel-mix-wp-blocks (#2381)

* Update sponsors [ci skip]

* Sage 10 fixes/cleanup (#2413)

* fix(templates): Move the document wrapper from app.blade.php to index.php to fix hook run sequence (See: #2123)
* feat(mix): Add purgecss-with-wordpress whitelists by default
* chore(docblocks): Remove copyright/license from PHP docblocks
* chore(babel): Remove unused dynamic import plugin until Webpack 5
* chore(babel): Remove unused .babelrc
* chore(deps): Bump dependencies

* Laravel 7.x (#2429)

* enhance(acorn): Update to Laravel 7.x
* enhance(blade): Convert existing alert component to a new View Component
* chore(deps): Bump minimum PHP version to 7.2.5
* chore(deps): Bump dependencies
* chore(configs): Clean up configs
* BREAKING(config): Bump configs to support Laravel 7.x
* BREAKING(components): @Alert() has been replaced with <x-alert ...>
* BREAKING(composers): View co

* enhance(deps): Add `Requires PHP` and `Requires at least` to theme style headers. Bump WordPress requirement to v5.4 (#2409)

* Sage 10 Chores (#2431)

* enhance(functions): Make functions.php pretty
* fix(component): Fix improper use of translation on the Alert component
* enhance(component): Add `$slot` fallback ternary to the Alert component view
* chore(component): Move Alert component message to a slot by default to properly pass the translated string.
* chore(component): Properly set default values for Alert
* chore(deps): Bump dependencies
* chore(theme): Fix required PHP version in style.css

* Bump roots/acorn from 1.0.2 to 1.0.3 (#2433)

Bumps [roots/acorn](https://github.com/roots/acorn) from 1.0.2 to 1.0.3.
- [Release notes](https://github.com/roots/acorn/releases)
- [Commits](https://github.com/roots/acorn/compare/v1.0.2...v1.0.3)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>

* Bump roots/acorn from 1.0.3 to 1.0.4 (#2440)

Bumps [roots/acorn](https://github.com/roots/acorn) from 1.0.3 to 1.0.4.
- [Release notes](https://github.com/roots/acorn/releases)
- [Commits](https://github.com/roots/acorn/compare/v1.0.3...v1.0.4)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>

* Bump stylelint from 13.2.1 to 13.3.0 (#2439)

Bumps [stylelint](https://github.com/stylelint/stylelint) from 13.2.1 to 13.3.0.
- [Release notes](https://github.com/stylelint/stylelint/releases)
- [Changelog](https://github.com/stylelint/stylelint/blob/master/CHANGELOG.md)
- [Commits](https://github.com/stylelint/stylelint/compare/13.2.1...13.3.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>

* Update sponsors [ci skip]

* Bump roots/acorn from 1.0.4 to 1.0.6 (#2444)

Bumps [roots/acorn](https://github.com/roots/acorn) from 1.0.4 to 1.0.6.
- [Release notes](https://github.com/roots/acorn/releases)
- [Commits](https://github.com/roots/acorn/compare/v1.0.4...v1.0.6)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>

* Bump @wordpress/dependency-extraction-webpack-plugin from 2.4.0 to 2.5.0 (#2448)

Bumps [@wordpress/dependency-extraction-webpack-plugin](https://github.com/WordPress/gutenberg/tree/HEAD/packages/dependency-extraction-webpack-plugin) from 2.4.0 to 2.5.0.
- [Release notes](https://github.com/WordPress/gutenberg/releases)
- [Changelog](https://github.com/WordPress/gutenberg/blob/master/packages/dependency-extraction-webpack-plugin/CHANGELOG.md)
- [Commits](https://github.com/WordPress/gutenberg/commits/@wordpress/dependency-extraction-webpack-plugin@2.5.0/packages/dependency-extraction-webpack-plugin)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>

* Bump @wordpress/babel-preset-default from 4.11.0 to 4.12.1 (#2450)

Bumps [@wordpress/babel-preset-default](https://github.com/WordPress/gutenberg/tree/HEAD/packages/babel-preset-default) from 4.11.0 to 4.12.1.
- [Release notes](https://github.com/WordPress/gutenberg/releases)
- [Changelog](https://github.com/WordPress/gutenberg/blob/master/changelog.txt)
- [Commits](https://github.com/WordPress/gutenberg/commits/@wordpress/babel-preset-default@4.12.1/packages/babel-preset-default)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>

* Bump squizlabs/php_codesniffer from 3.5.4 to 3.5.5 (#2451)

Bumps [squizlabs/php_codesniffer](https://github.com/squizlabs/PHP_CodeSniffer) from 3.5.4 to 3.5.5.
- [Release notes](https://github.com/squizlabs/PHP_CodeSniffer/releases)
- [Commits](https://github.com/squizlabs/PHP_CodeSniffer/compare/3.5.4...3.5.5)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>

* Bump laravel-mix-copy-watched from 2.2.3 to 2.2.4 (#2452)

Bumps [laravel-mix-copy-watched](https://github.com/dsktschy/laravel-mix-copy-watched) from 2.2.3 to 2.2.4.
- [Release notes](https://github.com/dsktschy/laravel-mix-copy-watched/releases)
- [Commits](https://github.com/dsktschy/laravel-mix-copy-watched/compare/v2.2.3...v2.2.4)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>

* Bump jquery from 3.4.1 to 3.5.0 (#2445)

Bumps [jquery](https://github.com/jquery/jquery) from 3.4.1 to 3.5.0.
- [Release notes](https://github.com/jquery/jquery/releases)
- [Commits](https://github.com/jquery/jquery/compare/3.4.1...3.5.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>

* Bump stylelint from 13.3.0 to 13.3.3 (#2453)

Bumps [stylelint](https://github.com/stylelint/stylelint) from 13.3.0 to 13.3.3.
- [Release notes](https://github.com/stylelint/stylelint/releases)
- [Changelog](https://github.com/stylelint/stylelint/blob/master/CHANGELOG.md)
- [Commits](https://github.com/stylelint/stylelint/compare/13.3.0...13.3.3)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>

* Update README.md

Co-authored-by: Ben Word <ben@benword.com>
Co-authored-by: Brandon Nifong <brandon@tendency.me>
Co-authored-by: Nathan Knowler <nathan@knowler.me>
Co-authored-by: Tang Rufus <tangrufus@gmail.com>
Co-authored-by: dependabot-preview[bot] <dependabot-preview[bot]@users.noreply.github.com>
Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
Co-authored-by: Oskar Schöldström <m@oxy.fi>
Co-authored-by: Matt Mirus <matt@mattmirus.com>
Co-authored-by: Kelly Mears <developers@tinypixel.dev>
2020-05-10 16:22:44 -06:00
Ben Word
d2d5df8295 Update sponsors 2020-05-09 12:20:53 -06:00
Ben Word
95cbfd155d Update sponsors [ci skip] 2020-04-12 10:02:56 -06:00
Ben Word
dcde0c47e3 Update sponsors [ci skip] 2020-02-11 15:45:39 -07:00
Ben Word
bd38502616 Update sponsors [ci skip] 2019-10-01 18:33:23 -06:00
Ben Word
56680bb5e5 Update sponsors [ci skip] 2019-09-30 19:13:28 -06:00
Ben Word
8255e0feaf Update sponsors [ci skip] 2019-09-30 17:35:49 -06:00
Scott Walkinshaw
f6e5b08569 Fix issue-close-message 2019-09-01 23:25:42 -04:00
Scott Walkinshaw
b430525f14 Add issue closer github action 2019-09-01 23:24:17 -04:00
Ben Word
9100cea66b Update sponsors [ci skip] 2019-07-31 19:58:49 -06:00
Ben Word
9a8ca10365 Update sponsors [ci skip] 2019-04-01 07:39:30 -06:00
Ben Word
e7b2d27569 Merge pull request #2160 from roots/default-health-files
Remove community health files so that defaults from roots/.github are used
2019-03-12 16:47:38 -06:00
Ben Word
03e7d0c430 Remove community health files so that defaults from roots/.github are used 2019-03-12 16:35:08 -06:00
Ben Word
f3e794a093 Merge pull request #2153 from roots/bs-4-3.1
Update to Bootstrap 4.3.1 (9.0.9)
2019-02-13 18:30:50 -07:00
Ben Word
ba30b01456 Update to Bootstrap 4.3.1 2019-02-13 18:18:40 -07:00
Ben Word
fbf041b9d8 Merge pull request #2152 from roots/bs-4-3.0
Update to Bootstrap 4.3.0 (9.0.8)
2019-02-11 20:35:05 -07:00
Ben Word
cee92a97fd Update to Bootstrap 4.3.0 2019-02-11 20:23:44 -07:00
Matt Mirus
19057f60be Filter template hierarchy for embed templates (#2145) 2019-01-15 16:42:00 -08:00
Michael Van Der Velden
899ceac132 Decrease optipng level (#2143)
After seeing the following graph [here](http://sweetme.at/2013/09/11/how-to-maximize-png-image-compression-with-optipng/) we decided to test optimsation level 2 for OptiPNG instead of 7. This is because, acording to the graph we would notice no real difference in avarage file size but would notice a speed increase with our builds.

![image](https://user-images.githubusercontent.com/9092863/50760280-39a7c480-125f-11e9-9bd6-d28171289abe.png)

After testing , we noticed our theme build go from a build time of over 10 mins (just on the 94% asset optimisation step) to an avarage of `150.75s`. All the while, we only gained 10-15kb per png file which we believe more than reasonable for a build speed increase of this magnatude.
2019-01-15 01:03:38 -08:00
Ben Word
889e13f8c0 Merge pull request #2141 from roots/unescape-titles
Unescape post titles
2019-01-08 14:12:47 -07:00
Ben Word
64cf06058d Update sponsors [ci skip] 2019-01-02 14:49:30 -06:00
Matt Mirus
3b36eb5b41 Unescape post titles 2018-12-31 16:06:17 -05:00
Ben Word
0cb6bf2a89 Merge pull request #2137 from roots/9.0.7
9.0.7
2018-12-28 11:05:30 -07:00
Ben Word
c7faf46591 9.0.7 2018-12-28 10:56:37 -07:00
Ben Word
7a9ac5ccde When you're sloppy and forget things 😇 2018-12-21 14:22:59 -07:00
Ben Word
788cec525c Merge pull request #2136 from roots/bootstrap-4.2.1
Sage 9.0.6: Update to Bootstrap 4.2.1
2018-12-21 13:40:29 -07:00
Ben Word
1e31a901b1 Require Node 8+, also test PHP 7.2 and 7.3 2018-12-21 13:28:51 -07:00
Ben Word
d60f1f675d Shoutout to npm: https://npm.community/t/npm-install-downgrading-resolved-packages-from-https-to-http-registry-in-package-lock-json/1818 2018-12-21 12:44:36 -07:00
Ben Word
f3a2e6ab6a Update to Bootstrap 4.2.1 2018-12-21 12:39:33 -07:00
Naokazu Terada
96ad12a650 gitignore /vendors not vendors 2018-11-27 01:43:48 -08:00
Matt Mirus
33832739fe Merge pull request #2131 from roots/tailwind-at-rules
Fix stylelint and eslint validation errors
2018-11-26 20:51:54 -05:00
Matt Mirus
c9252f4180 Fix no-extra-semi 2018-11-26 20:40:17 -05:00
Matt Mirus
7f61dc8682 Update sage-installer 2018-11-26 20:28:29 -05:00
Matt Mirus
dfe4b878a3 Add Tailwind custom at-rules 2018-11-26 20:13:04 -05:00
Ben Word
f793a212d1 Update README.md 2018-11-26 11:34:14 -07:00
Ben Word
2ccaa47f06 Add CodeFirst 2018-11-22 11:34:02 -07:00
Ben Word
fbd2f552b5 Merge pull request #2127 from roots/update-deps
Update a few dependencies
2018-11-16 12:14:22 -07:00
Ben Word
524d1e2f9d Merge pull request #2080 from tormjens/patch-1
Dispatch event when firing routes
2018-11-16 12:13:34 -07:00
Ben Word
b06e4aebe6 Update a few dependencies - close #2117 2018-11-16 12:03:04 -07:00
Ben Word
517b7ff62f Merge pull request #2076 from rbraunschweig/normalize-quotes
Normalize and enforce single quotes
2018-11-16 11:46:16 -07:00
Ben Word
7773e7db41 Double quotes for styles 2018-11-16 11:41:47 -07:00
Ben Word
eee07a84f4 Merge branch 'master' into normalize-quotes 2018-11-16 11:34:28 -07:00
Ben Word
93ee95dfac Merge pull request #2123 from kimhf/hook-run-sequence
Hook run sequence fix
2018-11-16 11:16:13 -07:00
Ben Word
863bbb5b3a Merge pull request #2120 from roots/webpack-preset-note
Add note regarding webpack.config.preset.js usage
2018-11-15 16:12:44 -06:00
Ben Word
28acba4f09 Merge pull request #2125 from roots/fix-sage-dist-path-example
Fix SAGE_DIST_PATH example path
2018-11-15 16:12:26 -06:00
Nathan Knowler
e9bf0beaa2 Fix SAGE_DIST_PATH example path
Needs the trailing slash.
2018-11-07 16:19:19 -07:00
Kim Helge Frimanslund
435e9f26dc More descriptive variable name 2018-10-28 23:37:54 +01:00
Kim Helge Frimanslund
79fddf944f Remove no longer needed script enqueue fix 2018-10-27 11:54:30 +02:00
Kim Helge Frimanslund
ede699368e Bring hook run sequence in line with expected WordPress behaviour 2018-10-27 11:53:52 +02:00
Nathan Knowler
37c7e0dd93 Add note regarding webpack.config.preset.js usage
See #2119
2018-10-19 09:49:31 -06:00
Ben Word
a33bbe5091 Merge pull request #2114 from roots/9.0.5
9.0.5
2018-09-17 11:21:39 -06:00
Ben Word
60e547aa19 9.0.5 2018-09-17 11:13:10 -06:00
Ben Word
f087320908 Update comment [ci skip] 2018-09-17 11:09:24 -06:00
MWDelaney
e72b490626 Workaround for Bootstrap incompatibility with webpack. Fixes #2017 2018-09-17 10:17:14 -04:00
Ben Word
375b06a22b Merge pull request #2112 from roots/9.0.4
9.0.4: Force `illuminate/support` to `5.6.*`
2018-09-07 09:36:32 -06:00
Ben Word
ed0b52bddc Force illuminate/support to 5.6.* 2018-09-07 09:30:38 -06:00
Ben Word
dc53b90a37 Merge pull request #2111 from roots/9.0.3
9.0.3
2018-09-07 08:17:53 -06:00
Ben Word
c9d2c8a223 9.0.3 2018-09-07 08:02:01 -06:00
Ben Word
c9bb05a93d Merge pull request #2110 from roots/revert-2090-master
Revert "Add searchform partial and function to replace default WordPress functionality"
2018-09-07 07:57:23 -06:00
Ben Word
b8c0ebc3ae Merge pull request #2100 from mejta/comments-template-data
Add data from controller to comments template
2018-09-06 19:14:22 -06:00
Ben Word
b7aeb66655 Revert "Add searchform partial and function to replace default WordPress functionality" 2018-09-06 19:12:32 -06:00
Matt Mirus
798e1a2ef1 Merge pull request #2108 from roots/unescape-language-attributes
Unescape get_language_attributes()
2018-09-06 11:44:57 -04:00
Matt Mirus
931ffd39c7 Unescape get_language_attributes() 2018-09-06 11:30:46 -04:00
Daniel Mejta
190e828cfd Revert "Final filter that renders template should have PHP_INT_MAX priority."
This reverts commit 68f8d9791d.
2018-09-05 00:46:31 +02:00
Daniel Mejta
b16e619da6 $comments_template fix 2018-09-03 08:43:51 +02:00
Ben Word
81925de598 Patreon 2018-08-30 13:36:35 -06:00
Daniel Mejta
68f8d9791d Final filter that renders template should have PHP_INT_MAX priority. 2018-08-28 07:23:58 +02:00
Daniel Mejta
fa1681dad9 Add data from controller to comments template 2018-08-28 07:19:59 +02:00
Ben Word
8a023b4307 Merge pull request #2099 from roots/9.0.2
9.0.2
2018-08-21 15:54:44 -06:00
Ben Word
d7acd3a04f 9.0.2 2018-08-21 15:48:26 -06:00
Ben Word
0d4b251130 Merge pull request #2095 from mejta/comments-template-fix
Comments template fix
2018-08-21 15:37:22 -06:00
Ben Word
907825ee88 Merge pull request #2025 from darrenjacoby/master
Upgrade to Controller 2.1.0
2018-08-21 15:35:49 -06:00
Ben Word
3377d94f69 Merge pull request #2098 from roots/update-deps
Update dependencies
2018-08-21 15:33:09 -06:00
Ben Word
53d67e1755 Merge branch 'master' into master 2018-08-21 15:30:05 -06:00
Ben Word
b298b969cc Merge pull request #2092 from LubomirGeorgiev/uglifyjs-es5
UglifyJs: Change the ecma option from 8 to 5
2018-08-21 15:26:17 -06:00
Ben Word
c2abb7f8d4 Update dependencies 2018-08-21 15:24:47 -06:00
Ben Word
351394fb2f Merge pull request #2097 from roots/bootstrap-4.1.3
Update to Bootstrap 4.1.3
2018-08-21 15:19:46 -06:00
Ben Word
7016fa48ed Update to Bootstrap 4.1.3 2018-08-21 15:13:27 -06:00
Ben Word
32ecc08e38 Merge pull request #2096 from roots/update-sage-installer
Bump sage-installer
2018-08-21 15:08:46 -06:00
Matt Mirus
5c947b2aff Bump sage-installer 2018-08-21 14:54:35 -04:00
Daniel Mejta
75a68059f8 Fix 2018-08-21 15:40:11 +02:00
Darren Jacoby
372415045f Update composer.json 2018-08-17 10:15:25 +02:00
Lubomir Georgiev
6280fc97db UglifyJs: Change the ecma option from 8 to 5 2018-08-14 17:23:15 +03:00
Nathan Knowler
157c97b6ae Use smartStrategy to replace loaders with preset (#2084)
Using `merge.smartStrategy` with `'module.loaders' = 'replace'` to load
the preset config allows presets to override the the default webpack
config. This is necessary for the coming Tailwind preset which requires
`resolve-url-loader` and source maps to be disabled.
2018-08-11 19:32:19 -07:00
Ben Word
165a38f4d4 Merge pull request #2081 from kukac7/patch-2
missing semicolon
2018-08-09 15:11:47 -06:00
Ben Word
21b578b593 Merge pull request #2089 from Log1x/patch-1
Change language_attributes() to get_language_attributes()
2018-08-09 15:11:20 -06:00
Ben Word
7d13888557 Merge pull request #2090 from MWDelaney/master
Add searchform partial and function to replace default WordPress functionality
2018-08-09 15:05:09 -06:00
Michael W. Delaney
c1bc6ef596 Update filters.php 2018-08-08 09:55:54 -04:00
Michael W. Delaney
d13e8fd9be Update filters.php 2018-08-08 08:51:00 -04:00
Ben
e898cf1f4d Extract logic from search form template
This removes all logic from the search form Blade template, and extracts
it to the "Controller" level via Sage's filter system. It also adds a
global 'app' filter to hook into, so that the search form data will be
served on every page.
2018-08-06 13:06:34 -07:00
MWDelaney
b41047f5a1 Add text domain 2018-08-05 21:15:08 -04:00
MWDelaney
d93964b9c4 Remove gross WPCS 2018-08-05 21:06:46 -04:00
MWDelaney
1ccc2eed76 Add searchform partial and function to replace (and maintain) default WordPress functionality 2018-08-05 12:07:32 -04:00
Brandon
e84108c44d Change language_attributes() to get_language_attributes() 2018-07-31 17:25:45 -05:00
Daniel Roe
a9312c0633 Fix missing comment-reply JS (#2085) 2018-07-18 16:37:51 -06:00
Nathan Knowler
61f923413a Add support for preset specific Webpack config (#2083) 2018-07-17 10:58:16 -07:00
béla
6325f11cd6 missing semicolon 2018-07-02 00:22:37 +02:00
Tor Morten Jensen
2d9b9d16bf Fix comma dangle lint error 2018-06-20 14:50:43 +02:00
Tor Morten Jensen
2af688c4f1 Rename to event 2018-06-20 14:48:28 +02:00
Tor Morten Jensen
8f039f1944 Dispatch event when firing routes
It is especially neat when importing the scripts from the parent theme in a child theme. In one of my themes I do it like this:

```js
// routes.js
import home from './routes/home'

export default {
    home: {
      init() {
        console.log('Home route fired.')
      }
    }
}
```

  ```js
// main.js
/**
 * Parent Themes Script
 */
import '../../../../core-theme/resources/assets/scripts/main';

/**
 * Internal modules
 */
import routes from './routes'

/**
 * Hook in to the parent themes router
 */
document.addEventListener('routed', e => {
  let route = e.detail.route,
    fn = e.detail.fn;

  if (routes[route] && typeof routes[route][fn] === 'function') {
    routes[route][fn]();
  }
});
```
2018-06-20 14:08:10 +02:00
Jason Baciulis
fd2a94fa1b Add uglifyjs plugin (#2070)
* Add uglifyjs plugin and replace -p flag with --env.production
* Add uglifyjs plugin
* Configure UglifyJsPlugin to drop console and prevent eslint error
* Turn off no-console rule because uglifyjs plugin drops it in prod
2018-06-16 08:33:41 -07:00
Ben Word
093b5a6500 Merge pull request #2078 from knowler/enable-sass-comments
Enable Sass comments and run prefixing before minification
2018-06-11 11:05:12 -06:00
Nathan Knowler
4a9094b12d Add missing trailing commas in 2f51b51
Forgot to lint.
2018-06-09 10:34:55 -06:00
Nathan Knowler
405aedfb13 Run autoprefixer before minification 2018-06-09 09:49:34 -06:00
Nathan Knowler
2f51b51c95 Enable source comments in Sass 2018-06-09 09:49:08 -06:00
Rhys Braunschweig
248c569bff Normalize and enforce single quotes in styles
- Replace stylelint property in package.json with .stylelintrc.js
- Add string-quotes stylelint rule
- Fix quotes
2018-05-29 12:12:21 +02:00
Rhys Braunschweig
9040a3dc75 Normalize and enforce single quotes in scripts
- Add quotes and semi rules to ESLint
- Fix quotes and semicolons
2018-05-29 12:11:44 +02:00
Ben Word
987a1d8bb2 Merge pull request #2075 from E-VANCE/master
Proposal: Set removeViewBox to 'false' in webpack's optimization settings
2018-05-28 19:20:06 -06:00
Henning Orth
9dd101f56c Fix travis CI build error (missing trailing comma) 2018-05-28 16:50:49 +02:00
Henning Orth
d1c8a2eee7 Tweaked SVGO settings
Disable removal of the SVG viewBox by default to improve compatibility. See this Discourse thread: https://discourse.roots.io/t/svg-size-change-upon-yarn-build-production/12320
2018-05-28 16:44:12 +02:00
Ben Word
ab3763856e Merge pull request #2068 from kimhf/template-admin-compatibility
Make template() compatible with wp admin
2018-05-10 09:02:30 -06:00
Kim Helge Frimanslund
9a4b81c43a Make template() compatible with wp admin 2018-05-06 13:42:31 +02:00
Ben Word
b1f645b825 Merge pull request #2066 from roots/9.0.1
9.0.1
2018-04-30 12:52:11 -06:00
Ben Word
b6f89bf652 9.0.1 2018-04-30 12:44:52 -06:00
Ben Word
29f4b2fc62 Merge pull request #2065 from roots/bootstrap-4.1.1
Update to Bootstrap 4.1.1
2018-04-30 12:42:32 -06:00
Ben Word
82618b7441 Update to Bootstrap 4.1.1 2018-04-30 12:33:53 -06:00
Ben Word
fa6e6f93a3 Merge pull request #2063 from valentinocossar/remove-whitespace
Remove useless whitespace
2018-04-30 08:11:51 -06:00
Valentino Cossar
b08db80c7b Remove useless whitespace 2018-04-27 15:50:26 +02:00
Ben Word
8d001c7571 Merge pull request #2062 from roots/auto-detect-proxyurl-scheme
Auto-detect proxyUrl scheme
2018-04-25 15:57:46 -06:00
Ben Word
922ed72ad9 Auto-detect scheme 2018-04-25 15:37:28 -06:00
Ben Word
571c49f698 Close #2028 - Increase priority on comments_template filter 2018-04-25 12:18:52 -06:00
Ben Word
061d3ad700 Merge pull request #1980 from dmgawel/patch-1
Update template hierarchy
2018-04-25 12:16:01 -06:00
Ben Word
8df602fb50 Remove Font Awesome reference [ci skip] 2018-04-25 12:09:14 -06:00
Ben Word
ef28dae253 Merge pull request #2032 from juniorgarcia/master
Added support to .otf fonts
2018-04-25 12:07:12 -06:00
Ben Word
9834098dd1 Merge pull request #2061 from roots/laravel-5.6
Bump to Laravel 5.6
2018-04-25 12:05:01 -06:00
Ben Word
5103f511c6 Bump sage-lib 2018-04-25 11:54:08 -06:00
Ben Word
77e7ce0c64 Close #1962 - Bump to Laravel 5.6 2018-04-25 11:50:58 -06:00
Ben Word
fb7dabe369 Merge pull request #2060 from ttamnedlog/remove-php-shorthand
Remove php blade shorthand
2018-04-22 22:11:56 -06:00
Matt Golden
d44a6b0332 Remove php blade shorthand 2018-04-18 19:20:06 -05:00
Ben Word
9d5de7db39 Stable vs dev install messaging, ref https://github.com/roots/docs/issues/140 [ci skip] 2018-04-12 20:10:43 -06:00
Ben Word
c60bf29dc2 Update some dependencies 2018-04-12 19:56:22 -06:00
Ben Word
8d8b158ad4 Merge pull request #2056 from roots/bootstrap-4.1.0
Bootstrap 4.1.0
2018-04-12 19:46:05 -06:00
Ben Word
de1796e1b6 Update CHANGELOG [ci skip] 2018-04-12 19:44:28 -06:00
Ben Word
cdc49cbf86 Bootstrap 4.1.0 2018-04-12 19:39:22 -06:00
Ben Word
8766826f17 Remove run 👀 [ci skip] 2018-04-12 19:27:31 -06:00
Ben Word
9947b1d591 Merge pull request #2055 from MWDelaney/master
New Sage primary purple
2018-04-12 19:08:59 -06:00
Michael W. Delaney
d3267f06d7 New Sage primary purple 2018-04-12 20:40:22 -04:00
Darren Jacoby
022c4aafcd Update Controller to 2.0.1 2018-04-03 21:41:19 +02:00
Ben Word
ffad63566a Merge pull request #2048 from chancestrickland/master
Update node-sass
2018-03-29 00:24:59 -06:00
Charalambos Poulikidis
be1b8887f4 changed inline @php directive to full form (#2042)
closes #2012
2018-03-27 15:38:28 -07:00
chance
c59b373c27 upgrade node-sass 2018-03-27 08:42:27 -05:00
Ben Word
f2c47cf41b Merge pull request #2044 from HJGreen/svgo-configuration
Fix default SVG optimisation configuration
2018-03-19 16:57:35 -06:00
Harry Green
0c11974859 Fix default SVG optimisation configuration 2018-03-19 21:42:47 +00:00
Ben Word
ea76b61cd5 Merge pull request #2037 from roots/php-7.1
PHP 7.1+ is now required
2018-03-13 22:47:56 -06:00
Ben Word
8088207e75 PHP 7.1.3+ [ci skip] 2018-03-13 22:47:14 -06:00
Ben Word
8096f74a7a PHP 7.1+ is now required 2018-03-06 18:40:13 -07:00
Ben Word
808e37a085 Force 5.4.27 version of illuminate/support 2018-03-06 15:31:05 -07:00
Ben Word
a4a19a5375 Force 5.4 versions of illuminate/support 2018-03-06 14:32:52 -07:00
Ben Word
c5a1782c50 Update Composer dependencies 2018-03-06 14:11:50 -07:00
Ben Word
0c53b57ffd Merge pull request #2033 from roots/sponsors
Add sponsors
2018-02-21 09:16:33 -07:00
Ben Word
a62cb8be04 Add sponsors [ci skip] 2018-02-20 19:33:41 -07:00
Júnior Garcia
393215507d Added support to .otf fonts 2018-02-19 21:35:58 -03:00
Ben Word
de27307b82 Merge pull request #2026 from nacm/patch-1
Update CHANGELOG.md
2018-02-07 22:36:06 -07:00
Ahmed Naseem
87560e7eed Update CHANGELOG.md 2018-02-08 12:59:05 +08:00
Darren Jacoby
e5edc8dd5f Controller 2.0.0 2018-02-07 19:05:00 +02:00
Ben Word
6e3d873784 Merge pull request #2024 from roots/9.0.0
9.0.0
2018-02-07 08:47:46 -07:00
Darren Jacoby
b3a0b7ff08 PSR4 loading for Controller 2.0.0 2018-02-07 17:43:50 +02:00
Darren Jacoby
11e37a5184 PSR4 loading for Controller 2.0.0 2018-02-07 17:43:24 +02:00
Darren Jacoby
4470c26ddd PSR4 loading for Controller 2.0.0 2018-02-07 17:39:35 +02:00
Ben Word
c46e073cf6 9.0.0 2018-02-07 08:28:33 -07:00
Ben Word
4981becae9 Update README [ci skip] 2018-02-06 12:08:02 -07:00
Ben Word
ffe2aa4cb3 Update CHANGELOG [ci skip] 2018-02-06 12:03:50 -07:00
Ben Word
f7b182df6d Merge pull request #2021 from roots/update-deps
Update dependencies
2018-02-06 11:53:45 -07:00
Ben Word
f6bfff16bd npm lockfile 2018-02-06 11:38:37 -07:00
Ben Word
77a601df68 Update dependencies 2018-02-06 11:33:57 -07:00
Ben Word
623217c524 Merge pull request #2015 from slackday/bootstrap4.0.0
Updated bootstrap to release version 4.0.0
2018-01-23 11:48:28 -07:00
Stefan Lindberg
62f86043e6 Updated bootstrap to release version 4.0.0
Updated popper.js to version 1.12.9
2018-01-23 14:39:29 +01:00
QWp6t
951274bb15 Add php-mbstring to list of requirements
Fixes #2013
2018-01-19 13:03:02 -08:00
Ben Word
42db9f9c99 Merge pull request #2008 from alwaysblank/allow-console-on-dev
Allow `no-console` development
2017-12-19 10:01:21 -07:00
Ben Martinez-Bateman
ca76f57316 Don't need this any more! :( 2017-12-18 11:55:42 -08:00
Ben Martinez-Bateman
789eec1a57 This moves our eslint config in .eslint.js, which allows us to use conditionals in the config file itself, significantly simpliying rule creation. For small-scale differences, this seems to be the simplest solution. 2017-12-18 11:51:12 -08:00
Ben Martinez-Bateman
ea2d4070aa Rename production eslint file from .eslintrcProd to .eslint.production.json as per suggestion from @swalkinshaw: https://github.com/roots/sage/pull/2008#issuecomment-352520506 2017-12-18 10:50:49 -08:00
Ben Martinez-Bateman
626c9e6535 Build process now allows console.log, except when the production flag is set on yarn build, in which case it will throw an error. 2017-12-18 10:37:32 -08:00
Ben Word
80a00245ab Delete .eslintrc
https://discourse.roots.io/t/console-log-sage-9-eslint/10316/6
2017-12-14 23:04:44 -07:00
Ben Word
bb840aa126 Merge pull request #2001 from raziraz/patch-1
Update README.md
2017-12-11 17:27:10 -07:00
Ben Word
f6d8c9fd6e Merge pull request #2003 from iamandrewluca/remove-bower-traces
Remove some Bower traces
2017-12-11 17:26:31 -07:00
Andrew Luca
985fb5e830 Remove some Bower traces 2017-12-11 13:32:32 +02:00
razitazi
6dbb3614b1 Update README.md
Added Bulma as a an installation option for css framework.
2017-12-01 12:05:53 +01:00
Ben Word
2cae6148d5 Merge pull request #1999 from roots/contributor-covenant
Add Code of Conduct
2017-11-27 17:18:31 -07:00
Ben Word
9073a29fd5 Add Code of Conduct [ci skip] 2017-11-27 17:03:24 -07:00
Ben Word
5c4c500716 Merge pull request #1995 from roots/dev-to-test
Change .dev to .test for default local dev TLD
2017-11-18 17:43:54 -07:00
Ben Word
52c08d1454 Change .dev to .test for default local dev TLD per https://github.com/roots/trellis/pull/923 2017-11-18 17:40:46 -07:00
Ben Word
2b53c6997f Merge pull request #1993 from MWDelaney/master
Move variables and Bootstrap lines to autoload
2017-11-13 15:04:55 -07:00
mwdelaney
412740e644 Bootstrap function in _variables.scss to play nice with other frameworks 2017-11-13 16:59:29 -05:00
Michael W. Delaney
7deb83faf2 Move variables and Bootstrap imports to autoload 2017-11-13 16:10:39 -05:00
Michael W. Delaney
e6b15b6e3b Remove explicit Bootstrap lines 2017-11-13 16:10:01 -05:00
Ben Word
db78e401e2 Merge pull request #1992 from MWDelaney/master
Adapt to use Bootstrap 4 Beta 2 functions and variables
2017-11-13 12:18:07 -07:00
mwdelaney
059a89e715 Example $theme-color 2017-11-13 12:44:54 -05:00
Michael W. Delaney
72bfc1ff57 Update main.scss 2017-11-13 12:29:54 -05:00
Ben Word
7e9744b377 Merge pull request #1986 from roots/update-controller-default-examples
Update controller examples
2017-11-01 10:24:35 -06:00
Ben Word
fe66ed52cd Update controller examples 2017-10-30 09:53:47 -06:00
Ben Word
59cd31540d Merge pull request #1981 from roots/bootstrap-4-beta-2
Update to Bootstrap 4 Beta 2
2017-10-20 16:08:35 -06:00
Ben Word
182a7d6595 Update dependencies 2017-10-19 14:06:04 -06:00
Ben Word
8bcd754d59 Update CHANGELOG [ci skip] 2017-10-19 13:46:50 -06:00
Ben Word
4b37859008 Bootstrap 4 Beta 2 2017-10-19 13:41:02 -06:00
Dawid Gaweł
3f9d31c19a Update template hierarchy
All sage/filter_templates/paths have now higher priority than stand-alone template files. Fixes #1979
2017-10-19 12:59:24 +02:00
Ben Word
b4421be269 Merge pull request #1964 from roots/retlehs-patch-1
Remove get_the_posts_navigation from 404
2017-09-12 16:04:32 -06:00
Ben Word
7bfe868afb Remove get_the_posts_navigation from 404 2017-09-12 16:04:15 -06:00
DieGOs
7ce252939c Update config.json (#1963)
Remove old watch path to controllers
2017-08-31 14:05:59 -07:00
Ben Word
c2a7b5edd0 Add friendly-errors-webpack-plugin (#1961) 2017-08-23 09:50:59 -07:00
Ben Word
ea7186b15b Merge pull request #1960 from greatislander/controller-readme
Move /controllers to app, remove app/lib/Sage in readme
2017-08-22 13:00:31 -06:00
Ned Zimmerman
219babfda5 Move /controllers to app, remove app/lib/Sage in readme. 2017-08-22 15:56:26 -03:00
Ben Word
d27ac38e93 Merge pull request #1959 from darrenjacoby/master
Controller 9.0.0-beta.4
2017-08-22 11:54:19 -06:00
Darren Jacoby
681ad997a2 Controller 9.0.0-beta.4 2017-08-22 19:49:09 +02:00
Ben Word
eb3164cb85 Merge pull request #1954 from darrenjacoby/master
Change default Controller path to app/controllers
2017-08-22 10:52:12 -06:00
Ben Word
739fac8131 Merge pull request #1955 from oxyc/followup-1950
Followup #1950: Fix lint:styles task with cmd.exe
2017-08-22 10:03:31 -06:00
Oskar Schöldström
2c777ec5f8 Followup #1950: Fix lint:styles task with cmd.exe 2017-08-20 12:36:19 -05:00
Darren Jacoby
dcbd5a7366 Change default Controller path to app/controllers 2017-08-20 19:14:46 +02:00
Ben Word
499f809c6e Merge pull request #1941 from kaisermann/fix-template-controller
Ensure templates filenames without path and extension.
2017-08-17 10:53:52 -06:00
Ben Word
e00eaf7e8f Merge pull request #1912 from kaisermann/title-on-controller
Moved title() helper to app.php controller
2017-08-16 21:24:52 -06:00
Ben Word
6022309d33 Merge pull request #1951 from oxyc/patch-1
Issue #1950: Fix lint:styles script not matching files in deep subdirectories
2017-08-16 21:20:20 -06:00
Oskar Schöldström
fb55b6464a Fix lint:styles script not matching files in deep subdirectories 2017-08-16 22:00:52 -05:00
35 changed files with 14012 additions and 852 deletions

View File

@@ -108,7 +108,9 @@ class Dynamic
'0' => '<i class="fa-solid"></i> <span>Please select an icon</span>',
];
foreach($icons as $slug):
foreach($icons as $slug => $props):
if(in_array($slug, range(0,9))) continue;
$choices[$slug] = '<i class="fa-'.$set.' fa-'.$slug.'" style="color: #2271b1;"></i> <span>' . (ucwords(str_replace('-', ' ', $slug))) . '</span>';
endforeach;
@@ -135,8 +137,6 @@ class Dynamic
'bg_colour',
'angle_colour',
'fontawesome_brands',
'fontawesome_regular',
'fontawesome_solid',
];
// do something to the original_value to override the default escaping, then return it.

View File

@@ -13,9 +13,9 @@ class Enqueue
{
wp_enqueue_style(
'fontawesome',
'https://cdnjs.cloudflare.com/ajax/libs/font-awesome/7.0.1/css/all.min.css',
'https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.5.2/css/all.min.css',
false,
'7.0.1',
'6.5.2',
'all'
);
}

View File

@@ -7,7 +7,6 @@ class Integrations
public function __construct()
{
add_action( 'wp_head', [$this, 'FathomAnalytics']);
add_action( 'wp_footer', [$this, 'FontAwesomeKit'], 100);
}
public function FathomAnalytics()
@@ -22,17 +21,4 @@ class Integrations
<?php endif;
}
public function FontAwesomeKit()
{
$kit = get_field('badegg_integrations_fontawesome_kit', 'option');
if($kit): ?>
<!-- FontAwesome Kit -->
<script src="https://kit.fontawesome.com/<?= $kit ?>.js" crossorigin="anonymous"></script>
<!-- / FontAwesome Kit -->
<?php endif;
}
}

View File

@@ -32,7 +32,7 @@ class Colour
$values = [];
if(function_exists('get_field')):
$colours = @get_field('badegg_colours', 'option');
$colours = get_field('badegg_colours', 'option');
if($colours):
foreach($colours as $index => $props):

View File

@@ -268,8 +268,6 @@ function core_details_modified($content, $block)
function core_image_modified($content, $block)
{
if(!$content) return '';
$dom = new \DomDocument();
$dom->strictErrorChecking = false;
@$dom->loadHTML($content);
@@ -282,7 +280,6 @@ function core_image_modified($content, $block)
// get image data
$imageID = @$block['attrs']['id'];
$lazy = wp_get_attachment_image_src($imageID, 'lazy');
$specifiedSize = @wp_get_attachment_image_src($imageID, $block['sizeSlug']);
$large = wp_get_attachment_image_src($imageID, '2048x2048');
// create lightbox link node
@@ -306,11 +303,6 @@ function core_image_modified($content, $block)
$image->setAttribute('data-srcset', $srcset);
$image->setAttribute('class', $class . ' lazy');
if($specifiedSize) {
$image->setAttribute('width', $specifiedSize[1]);
$image->setAttribute('height', $specifiedSize[2]);
}
// clone lightbox link
$linkClone = $link->cloneNode();
@@ -325,4 +317,5 @@ function core_image_modified($content, $block)
}
return $dom->saveHTML($figures[0]);
}

View File

@@ -164,13 +164,8 @@ function cors() {
if(WP_ENV == 'development'):
header( 'Access-Control-Allow-Origin: *' );
endif;
}
add_action('wp_head', function(){
if(file_exists(get_theme_file_path('resources/images/favicon/site.webmanifest'))) {
echo \Roots\view("partials.favicon")->render();
}
});
}
add_action('after_setup_theme', function(){
$image_srcset = new Utilities\ImageSrcset;

View File

@@ -17,8 +17,7 @@
"id": ""
},
"placement": "top",
"endpoint": 0,
"selected": 0
"endpoint": 0
},
{
"key": "field_67658e49aba4f",
@@ -59,10 +58,7 @@
"default_value": "",
"enable_opacity": 0,
"return_format": "string",
"parent_repeater": "field_67658e49aba4f",
"custom_palette_source": "",
"palette_colors": "",
"show_color_wheel": true
"parent_repeater": "field_67658e49aba4f"
},
{
"key": "field_67658fba41889",
@@ -171,7 +167,6 @@
"id": ""
},
"layout": "block",
"parent_repeater": "field_67658e49aba4f",
"sub_fields": [
{
"key": "field_676590414188c",
@@ -189,10 +184,7 @@
},
"default_value": "",
"enable_opacity": 0,
"return_format": "string",
"custom_palette_source": "",
"palette_colors": "",
"show_color_wheel": true
"return_format": "string"
},
{
"key": "field_676590684188d",
@@ -210,10 +202,7 @@
},
"default_value": "",
"enable_opacity": 0,
"return_format": "string",
"custom_palette_source": "",
"palette_colors": "",
"show_color_wheel": true
"return_format": "string"
},
{
"key": "field_6765907f4188e",
@@ -231,10 +220,7 @@
},
"default_value": "",
"enable_opacity": 0,
"return_format": "string",
"custom_palette_source": "",
"palette_colors": "",
"show_color_wheel": true
"return_format": "string"
},
{
"key": "field_676590924188f",
@@ -252,10 +238,7 @@
},
"default_value": "",
"enable_opacity": 0,
"return_format": "string",
"custom_palette_source": "",
"palette_colors": "",
"show_color_wheel": true
"return_format": "string"
},
{
"key": "field_6765909941890",
@@ -273,10 +256,7 @@
},
"default_value": "",
"enable_opacity": 0,
"return_format": "string",
"custom_palette_source": "",
"palette_colors": "",
"show_color_wheel": true
"return_format": "string"
},
{
"key": "field_6765909f41891",
@@ -294,12 +274,10 @@
},
"default_value": "",
"enable_opacity": 0,
"return_format": "string",
"custom_palette_source": "",
"palette_colors": "",
"show_color_wheel": true
"return_format": "string"
}
]
],
"parent_repeater": "field_67658e49aba4f"
}
]
},
@@ -318,8 +296,7 @@
"id": ""
},
"placement": "top",
"endpoint": 0,
"selected": 0
"endpoint": 0
},
{
"key": "field_67659cb08081e",
@@ -395,8 +372,7 @@
"id": ""
},
"placement": "top",
"endpoint": 0,
"selected": 0
"endpoint": 0
},
{
"key": "field_676594615ead2",
@@ -417,27 +393,6 @@
"placeholder": "",
"prepend": "",
"append": ""
},
{
"key": "field_698b36010d055",
"label": "Font Awesome Kit ID",
"name": "badegg_integrations_fontawesome_kit",
"aria-label": "",
"type": "text",
"instructions": "The internet's icon library + toolkit. Used by millions of designers, devs, & content creators. Open-source. Always free. Always awesome. <a href=\"https:\/\/fontawesome.com\/\" target=\"_blank\" rel=\"noopener nofollow noindex\">Visit website<\/a>",
"required": 0,
"conditional_logic": 0,
"wrapper": {
"width": "",
"class": "",
"id": ""
},
"default_value": "",
"maxlength": "",
"allow_in_bindings": 1,
"placeholder": "",
"prepend": "",
"append": ""
}
],
"location": [
@@ -458,6 +413,5 @@
"active": true,
"description": "",
"show_in_rest": 0,
"display_title": "",
"modified": 1770736471
"modified": 1734712625
}

File diff suppressed because it is too large Load Diff

View File

@@ -1,25 +1,25 @@
// Global Variables, Mixins, and Framework
@forward "global/variables";
@forward "global/mixins";
@forward "global/fonts";
@forward "global/typography";
@forward "global/framework";
@use "global/variables";
@use "global/mixins";
@use "global/fonts";
@use "global/typography";
@use "global/framework";
// Third Party Plugins
@forward "plugins/contact-form-7";
@forward "plugins/mce";
@use "plugins/contact-form-7";
@use "plugins/mce";
// Components
@forward "components/block";
@forward "components/forms";
@forward "components/button";
@forward "components/card";
@forward "components/BadEggLightbox";
@use "components/block";
@use "components/forms";
@use "components/button";
@use "components/card";
@use "components/BadEggLightbox";
// Sections
@forward "../views/sections/header/header";
@forward "../views/sections/footer/footer";
@use "sections/header";
@use "sections/footer";
// Page Styles
@forward "views/page";
@use "views/page";

View File

@@ -1,5 +1,5 @@
@use "app";
@use "global/variables";
@use "global/variables/colours";
html :where(.wp-block) {
max-width: none;
@@ -8,7 +8,7 @@ html :where(.wp-block) {
.block-editor-block-list__layout .block-editor-block-list__block:not([contenteditable=true]) {
&:hover:after {
content: '';
outline: 2px solid variables.$wpblue;
outline: 2px solid colours.$wpblue;
position: absolute;
inset: 0;
}
@@ -36,7 +36,7 @@ html :where(.wp-block) {
}
.editor-styles-wrapper {
background: variables.$grey-lightest;
background: colours.$grey-lightest;
.block-list-appender {
width: 350px;

View File

@@ -1,4 +1,4 @@
@forward "framework/breakpoints";
@forward "framework/normalise";
@forward "framework/colours";
@forward "framework/spacing";
@use "framework/breakpoints";
@use "framework/normalise";
@use "framework/colours";
@use "framework/spacing";

View File

@@ -1,4 +1,4 @@
@forward "mixins/linear-gradient";
@forward "mixins/text-contrast";
@forward "mixins/generate-colour-classes";
@forward "mixins/generate-button-classes";
@use "mixins/linear-gradient";
@use "mixins/text-contrast";
@use "mixins/generate-colour-classes";
@use "mixins/generate-button-classes";

View File

@@ -1,4 +1,7 @@
@use "variables";
@use "variables/fonts";
@use "variables/breakpoints";
@use "variables/colours";
@use "variables/spacing";
.wysiwyg {
> *:first-child {
@@ -16,9 +19,9 @@ h3,
h4,
h5,
h6 {
color: variables.$primary;
color: colours.$primary;
font-weight: 700;
font-family: variables.$font;
font-family: fonts.$font;
line-height: 1.1em;
margin: 1.5em 0 0.25em;
padding: 0;
@@ -29,7 +32,7 @@ h6 {
@media screen {
.knockout & {
color: variables.$white;
color: colours.$white;
}
}
}
@@ -45,7 +48,7 @@ h3 { font-size: 1.25em; }
h4,
h5 { font-size: 1.15em; }
@media (min-width: variables.$screen-sm) {
@media (min-width: breakpoints.$screen-sm) {
h1 { font-size: 2.5em; }
h2 { font-size: 2em; }
h3 { font-size: 1.5em; }
@@ -60,8 +63,8 @@ p,
li,
td,
label {
color: variables.$grey-darker;
font-family: variables.$font;
color: colours.$grey-darker;
font-family: fonts.$font;
font-weight: 400;
line-height: 1.5em;
margin: 0 0 0.8em;
@@ -69,30 +72,30 @@ label {
@media screen {
.knockout & {
color: variables.$white;
color: colours.$white;
}
}
}
a {
color: variables.$primary;
color: colours.$primary;
text-decoration: none;
outline: none;
transition: all 300ms ease;
&:hover,
&:focus {
color: variables.$primary-dark;
color: colours.$primary-dark;
text-decoration: none;
}
@media screen {
.knockout & {
color: variables.$white;
color: colours.$white;
&:hover,
&:focus {
color: variables.$primary-light;
color: colours.$primary-light;
}
}
}
@@ -110,6 +113,7 @@ ul,
ol {
margin: 0 0 0.7em;
padding: 0 0 0 1.2em;
text-align: left;
}
.nolist {
@@ -127,12 +131,12 @@ ol {
hr {
margin: 2em auto;
height: 0;
border: 0 solid variables.$grey-light;
border-width: variables.$borderThin 0 0;
border: 0 solid colours.$grey-light;
border-width: spacing.$borderThin 0 0;
@media screen {
.knockout & {
border-color: variables.$white;
border-color: colours.$white;
}
}
}

View File

@@ -1,4 +1,4 @@
@forward "variables/fonts";
@forward "variables/colours";
@forward "variables/breakpoints";
@forward "variables/spacing";
@use "variables/fonts";
@use "variables/colours";
@use "variables/breakpoints";
@use "variables/spacing";

View File

@@ -1,6 +1,6 @@
@use "../variables";
@use "../variables/breakpoints";
@each $label, $value in variables.$breakpoints {
@each $label, $value in breakpoints.$breakpoints {
.min-#{$label} {
@media (min-width: $value) {
display: none;

View File

@@ -1,12 +1,13 @@
@use "../mixins";
@use "../variables";
@use "../mixins/generate-button-classes";
@use "../mixins/generate-colour-classes";
@use "../variables/colours";
::selection {
color: variables.$white;
background: variables.$primary;
color: colours.$white;
background: colours.$primary;
}
@each $color, $hex in variables.$colors {
@include mixins.generate_colour_classes($color, $hex);
@include mixins.generate_button_colors($color, $hex);
@each $color, $hex in colours.$colors {
@include generate-colour-classes.generate_colour_classes($color, $hex);
@include generate-button-classes.generate_button_colors($color, $hex);
}

View File

@@ -1,4 +1,4 @@
@use "../variables";
@use "../variables/colours";
* {
box-sizing: border-box;
@@ -13,7 +13,7 @@ body,
html {
margin: 0;
padding: 0;
background: variables.$white;
background: colours.$white;
}
.visually-hidden {

View File

@@ -1,25 +1,26 @@
@use "../variables";
@use "../variables/colours";
@use "../variables/spacing";
.brand {
display: block;
width: variables.$brandWidth;
height: variables.$brandHeight;
width: spacing.$brandWidth;
height: spacing.$brandHeight;
svg,
img {
display: block;
width: variables.$brandWidth;
height: variables.$brandHeight;
width: spacing.$brandWidth;
height: spacing.$brandHeight;
}
.knockout & {
@media screen {
.fill-primary {
fill: variables.$white;
fill: colours.$white;
}
.fill-grey {
fill: rgba(variables.$white, 0.8);
fill: rgba(colours.$white, 0.8);
}
}
}
@@ -31,90 +32,46 @@ figure {
}
.container {
width: calc(100% - variables.$innerMedium * 2);
width: calc(100% - spacing.$innerMedium * 2);
margin: auto;
@container (min-width: #{variables.$screen-md}) {
width: calc(100% - variables.$innerLarge * 3);
}
@container (min-width: #{variables.$screen-lg}) {
width: calc(100% - variables.$innerLarge * 4);
}
&-full { width: auto; }
&-larger { max-width: variables.$containerLarger; }
&-large { max-width: variables.$containerLarge; }
&-medium { max-width: variables.$containerMedium; }
&-small { max-width: variables.$containerSmall; }
&-narrow { max-width: variables.$containerNarrow; }
&-large { max-width: spacing.$containerLarge; }
&-medium { max-width: spacing.$containerMedium; }
&-small { max-width: spacing.$containerSmall; }
&-narrow { max-width: spacing.$containerNarrow; }
}
.section {
padding: variables.$sectionMedium 0;
padding: spacing.$sectionMedium 0;
&-small { padding: variables.$sectionSmall unset; }
&-medium { padding: variables.$sectionMedium unset; }
&-large { padding: variables.$sectionLarge unset; }
&-small { padding: spacing.$sectionSmall 0; }
&-medium { padding: spacing.$sectionMedium 0; }
&-large { padding: spacing.$sectionLarge 0; }
@container (min-width: #{variables.$screen-md}) {
padding: (variables.$sectionMedium * 1.5) unset;
&-small { padding: (variables.$sectionSmall * 1.5) unset; }
&-medium { padding: (variables.$sectionMedium * 1.5) unset; }
&-large { padding: (variables.$sectionLarge * 1.5) unset; }
}
@container (min-width: #{variables.$screen-lg}) {
padding: (variables.$sectionMedium * 2) 0;
&-small { padding: (variables.$sectionSmall * 2) 0; }
&-medium { padding: (variables.$sectionMedium * 2) 0; }
&-large { padding: (variables.$sectionLarge * 2) 0; }
}
&-zero-top { padding-top: unset; }
&-zero-bottom { padding-bottom: unset; }
&-zero-top { padding-top: 0; }
&-zero-bottom { padding-bottom: 0; }
}
.inner {
padding: variables.$innerMedium;
padding: spacing.$innerMedium;
&-largest { padding: variables.$innerLargest; }
&-larger { padding: variables.$innerLarger; }
&-large { padding: variables.$innerLarge; }
&-small { padding: variables.$innerSmall; }
&-smaller { padding: variables.$innerSmaller; }
&-smallest { padding: variables.$innerSmallest; }
&-small { padding: spacing.$innerSmall; }
&-large { padding: spacing.$innerLarge; }
@container (min-width: #{variables.$screen-md}) {
padding: (variables.$innerMedium * 1.5);
&-largest { padding: (variables.$innerLargest * 1.25); }
&-larger { padding: (variables.$innerLarger * 1.25); }
&-large { padding: (variables.$innerLarge * 1.25); }
&-small { padding: (variables.$innerSmall * 1.25); }
&-smaller { padding: (variables.$innerSmaller * 1.25); }
&-smallest { padding: (variables.$innerSmallest * 1.25); }
&-zero-x {
padding-left: 0;
padding-right: 0;
}
@container (min-width: #{variables.$screen-lg}) {
padding: (variables.$innerMedium * 2);
&-largest { padding: (variables.$innerLargest * 1.5); }
&-larger { padding: (variables.$innerLarger * 1.5); }
&-large { padding: (variables.$innerLarge * 1.5); }
&-small { padding: (variables.$innerSmall * 1.5); }
&-smaller { padding: (variables.$innerSmaller * 1.5); }
&-smallest { padding: (variables.$innerSmallest * 1.5); }
&-zero-y {
padding-top: 0;
padding-top: 0;
}
&-zero-x { padding-left: unset; padding-right: unset; }
&-zero-y { padding-top: unset; padding-top: unset; }
}
.rounded {
border-radius: variables.$borderRadius;
border-radius: spacing.$borderRadius;
&-top {
border-bottom-right-radius: 0;
@@ -129,12 +86,12 @@ figure {
.border {
border-style: solid;
border-width: variables.$borderWidth;
border-width: spacing.$borderWidth;
&-thin { border-width: 0.0625em; }
&-regular { border-width: variables.$borderWidth; }
&-thick { border-width: variables.$borderThick; }
&-thicker { border-width: variables.$borderThicker; }
&-regular { border-width: spacing.$borderWidth; }
&-thick { border-width: spacing.$borderThick; }
&-thicker { border-width: spacing.$borderThicker; }
&-top {
border-right-width: 0;

View File

@@ -1,4 +1,4 @@
@use "../variables";
@use "../variables/colours";
@use "sass:color";
@@ -12,13 +12,13 @@
@each $button in $buttons {
#{$button}.#{$name} {
color: variables.$white;
color: colours.$white;
background: $hex;
border-color: $hex;
&:hover,
&:focus {
color: variables.$white;
color: colours.$white;
background: color.adjust($hex, $lightness: 10%);
border-color: color.adjust($hex, $lightness: 10%);
}

View File

@@ -1,5 +1,4 @@
@use "text-contrast";
@use "../variables";
@use "sass:color";
@@ -23,16 +22,6 @@
::selection {
@include text-contrast.text_contrast(color.invert($hex));
background: color.invert($hex);
@if($name == "white") {
color: variables.$white;
background: variables.$primary;
} @else if($name == "black") {
color: variables.$white;
background: variables.$primary-lighter;
} @else {
@include text-contrast.text_contrast(color.invert($hex));
background: color.invert($hex);
}
}
}
}

View File

@@ -1,11 +1,11 @@
@use "../variables/colours";
@use "sass:color";
@use "sass:math";
@use "../variables";
@mixin text-contrast($n, $dark: variables.$black, $light: variables.$white, $cutoff: 1.667) {
@mixin text-contrast($n, $dark: colours.$black, $light: colours.$white, $cutoff: 1.667) {
$brightness: math.round((color.channel($n, "red") * 299) + (color.channel($n, "green") * 587) + math.div((color.channel($n, "blue") * 114), 1000));
$light-color: math.round((color.channel(variables.$white, "red") * 299) + (color.channel(variables.$white, "green") * 587) + math.div((color.channel(variables.$white, "blue") * 114), 1000));
$light-color: math.round((color.channel(colours.$white, "red") * 299) + (color.channel(colours.$white, "green") * 587) + math.div((color.channel(colours.$white, "blue") * 114), 1000));
@if math.abs($brightness) < (math.div($light-color, $cutoff)) {
color: $light;

View File

@@ -17,13 +17,12 @@ $sectionLarge: 5.000em;
$sectionLarger: 7.500em;
$sectionLargest: 10.000em;
$containerLarger: 87.000em;
$containerLarge: 73.125em;
$containerMedium: 60.000em;
$containerSmall: 50.000em;
$containerNarrow: 34.000em;
$innerLargest: 5.000em;
$innerLarger: 5.000em;
$innerLarger: 3.000em;
$innerLarge: 2.000em;
$innerMedium: 1.500em;

View File

@@ -1,4 +1,4 @@
@use "../global/variables";
@use "../global/variables/colours";
.wpcf7 .screen-reader-response {
display: none;
@@ -11,11 +11,11 @@
padding: 1em 0 0;
margin-top: 2em;
border: 1px solid variables.$grey-light;
border: 1px solid colours.$grey-light;
border-width: 1px 0 0;
.knockout & {
border-color: rgba(variables.$white, 0.3);
border-color: rgba(colours.$white, 0.3);
}
}

View File

@@ -1,14 +1,14 @@
@use "../global/variables";
@use "../global/variables/colours";
#mce-responses {
.response {
padding: 0 0 1em;
margin: 0 0 1em;
font-size: 0.875em;
border-bottom: 1px solid variables.$grey-lighter;
border-bottom: 1px solid colours.$grey-lighter;
}
}
.knockout #mce-responses .response {
border-bottom-color: rgba(variables.$white, 0.3);
border-bottom-color: rgba(colours.$white, 0.3);
}

View File

View File

@@ -5,7 +5,7 @@ export function containerClassNames(attributes, extraClasses = [])
'container',
];
if('container_width' in attributes && !['', '0'].includes(attributes.container_width))
if('container_width' in attributes)
classNames.push(`container-${attributes.container_width}`);
if('alignment' in attributes)

File diff suppressed because one or more lines are too long

File diff suppressed because it is too large Load Diff

File diff suppressed because one or more lines are too long

View File

@@ -1,31 +1,8 @@
@use "../../../css/global/variables/spacing";
.wp-block-badegg-article {
position: relative;
.wp-block-pullquote {
padding: 0;
margin: spacing.$innerLarge auto;
}
.badegg-article-select-parent {
appearance: none;
display: block;
position: absolute;
inset: 0;
background: transparent;
border: none;
}
.block-editor-block-list {
&__layout {
> *:first-child {
margin-top: 0;
}
> *:last-child {
margin-bottom: 0;
}
}
}
}

View File

@@ -15,28 +15,18 @@ import BackgroundImage from '../../../js/blocks/components/BackgroundImage';
import BlockSettings from '../../../js/blocks/components/BlockSettings';
registerBlockType(metadata.name, {
edit({ attributes, setAttributes, clientId }) {
edit({ attributes, setAttributes }) {
const blockProps = useBlockProps();
blockProps.className = containerClassNames(attributes, [ 'wysiwyg' ]).join(' ');
blockProps.className = sectionClassNames(attributes, blockProps.className).join(' ');
return (
<div className={ sectionClassNames(attributes, 'wp-block-badegg-article').join(' ') }>
<div { ...blockProps }>
<BlockSettings
attributes={ attributes }
setAttributes={ setAttributes }
/>
<button
className="badegg-article-select-parent"
onClick={() => {
wp.data.dispatch('core/block-editor').selectBlock(clientId);
}}
>
<span className="visually-hidden">Select Block</span>
</button>
<div { ...blockProps }>
<div className={ containerClassNames(attributes, [ 'wysiwyg' ]).join(' ') }>
<InnerBlocks
allowedBlocks={ allowedBlocks }
defaultBlock={
@@ -57,11 +47,11 @@ registerBlockType(metadata.name, {
},
save({ attributes }) {
const blockProps = useBlockProps.save();
blockProps.className = containerClassNames(attributes, [ 'wysiwyg' ]).join(' ');
blockProps.className = sectionClassNames(attributes, blockProps.className ).join(' ');
return (
<div className={ sectionClassNames(attributes, 'wp-block-badegg-article').join(' ') }>
<div { ...blockProps }>
<div { ...blockProps }>
<div className={ containerClassNames(attributes, [ 'wysiwyg' ]).join(' ') }>
<InnerBlocks.Content />
</div>

View File

@@ -1,12 +1,12 @@
@if($socials)
<ul class="socials nolist">
@foreach($socials as $social)
<li>
<a href="{{ get_field('url', $social) }}" rel="noopener nofollow noreferrer me" target="_blank">
<i class="fa-brands fa-{{ get_field('fontawesome_brands', $social) }}"></i>
<span class="visually-hidden">{{ get_the_title($social) }}</span>
</a>
</li>
@endforeach
</ul>
@endif
<ul class="socials nolist">
@foreach($socials as $social)
<li>
<a
class="fa-brands fa-{{ get_field('fontawesome_brands', $social) }}"
href="{{ get_field('url', $social) }}"
rel="noopener nofollow noreferrer"
target="_blank"
><span class="visually-hidden">{{ get_the_title($social) }}</span></a>
</li>
@endforeach
</ul>

View File

@@ -1,6 +0,0 @@
<link rel="icon" type="image/png" href="{{ Vite::asset('resources/images/favicon/favicon-96x96.png') }}" sizes="96x96" />
<link rel="icon" type="image/svg+xml" href="{{ Vite::asset('resources/images/favicon/favicon.svg') }}" />
<link rel="shortcut icon" href="{{ Vite::asset('resources/images/favicon/favicon.ico') }}" />
<link rel="apple-touch-icon" sizes="180x180" href="{{ Vite::asset('resources/images/favicon/apple-touch-icon.png') }}" />
<meta name="apple-mobile-web-app-title" content="{!! $siteName !!}" />
<link rel="manifest" href="{{ Vite::asset('resources/images/favicon/site.webmanifest') }}" />

View File

@@ -1,4 +1,3 @@
<footer class="content-info">
@php(dynamic_sidebar('sidebar-footer'))
@include('components.socials')
</footer>