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
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
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
Nathan Knowler
e7de7b256a
feat: remove x-ua-compatible tag ( #2742 )
...
This is redundant in IE 11.
2021-06-16 12:41:53 -05: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
QWp6t
99160be992
Move required theme files to sage/resources
...
* Resolves issue with WP only looking one-level deep for templates #1870
* get_template_dir() and related functions now point to sage/resources
* Use collect() when assembling views paths
* Update tree in README
2017-04-15 18:52:03 -07:00
QWp6t
0d83ed4b8b
Refactor Blade implementation. Use Container
2016-12-06 03:42:41 -08:00
kalenjohnson
0918597d4a
First pass at Blade templating
2016-12-03 10:27:22 -08:00
QWp6t
fb19145d42
Theme activation updates 'stylesheet' option instead of 'template'
2016-11-07 00:57:41 -08:00
QWp6t
f598ca9a0b
Only use root editorconfig, allow warnings in travis
2016-03-11 18:06:27 -05:00
QWp6t
9eaffa3a2d
Restructure theme, use autoloader
2016-03-11 18:00:05 -05:00
Ben Word
2a68daa30e
Ref #1033 - better support for CPT templates
2015-02-12 23:38:58 -06:00
Ben Word
d328bfec91
Use new core navigation template tag
2015-01-18 04:18:11 -06:00
Ben Word
030c084134
Rename to Sage
2015-01-09 20:52:29 -06:00
Weslly Honorato
71d099af83
Updated alerts to bootstrap v3
2013-09-08 16:27:26 -03:00
Ben Word
b6e4e92278
Fix #720 - Re-organize archives template
...
- Move posts exists check and post navigation to index.php
- templates/content.php now only contains the post that's pulled
in from index.php
- Specific post format templates now properly work
2013-03-24 17:07:23 -05:00
Ben Word
edfb82618a
Close #645 - Fix for search with no result
2013-01-27 20:37:20 -06:00
Ben Word
1724452e35
Fix #643 - Fix PHP notice on search with no results
2013-01-20 15:21:04 -06:00
Ben Word
db41099f5b
Add theme wrapper, re-organize template files
...
- Implement scribu’s Theme Wrapper (see base.php)
- Move templates, comments.php, and searchform.php to templates/ folder
- Rename loop- files to content-
- Remove all hooks except roots_head and roots_footer
- Use templates/page-header.php for page titles
- Use head.php for everything in <head>
2012-08-18 18:49:45 -05:00
Ben Word
3c3b71fac0
Remove all frameworks except Bootstrap ( #251 )
...
- Remove all frameworks except Bootstrap
- Remove roots-options.php and replace with a more simple
roots-config.php
- Include all Bootstrap Javascript plugins by default in
js/plugins.js
- Use Bootstrap Responsive and Topbar navigation by default
- Use Bootstrap markup on forms, page titles, image galleries,
alerts and errors, post and comment navigation
- Remove Roots styles from style.css and introduce app.css for
site-specific CSS. Remove almost all previous default Roots
styles.
- Add latest updates from H5BP project
2012-02-03 12:10:44 -07:00
Scott Walkinshaw
39b0eb190f
Whitespace fixes
...
Replaced all hard tabs with spaces. Removed all trailing whitespace.
2011-10-23 19:29:54 -06:00
Ben Word
c6788dc99b
removing blank line and end of file
2011-07-31 21:51:51 -06:00
Ben Word
72cdfe7dea
doing some clean up to the new options (which are awesome btw)
2011-05-31 19:51:50 -06:00
Ben Word
97ed6f4f2d
updating #main and #sidebar CSS classes to use the new options
2011-05-31 10:48:00 -06:00
Ben Word
f3c1b46d18
adding hooks & actions
2011-05-26 00:27:06 -06:00
Ben Word
369b6a45f5
adding support for 960.gs
2011-04-01 14:42:22 -06:00
Joanthan Liuti
816b1ab28c
[ADD] Added the max content width for 960gs + clear div
2011-04-01 11:32:40 +02:00
Joanthan Liuti
5872c57923
[ADD] Added support for 960gs - TODO: add the clear div required by 960gs in the markup + test that no classes from the framework are conflicting with roots's existing css (2)
2011-03-31 19:01:31 +02:00
Ben Word
8e177235ff
roots 3.0.0
2011-03-27 13:46:21 -06:00