This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// USWDS: | |
%block-input-styles { | |
margin-top: 0.5rem; | |
} | |
// ... | |
// LGDS: | |
%block-input-styles { | |
margin-top: 0.25rem; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
.usa-radio__input--tile:disabled + .usa-radio__label--illustrated, | |
.usa-checkbox__input--tile:disabled + .usa-checkbox__label--illustrated { | |
.usa-radio__image, | |
.usa-checkbox__image { | |
filter: invert(45%) sepia(1%) saturate(0%) hue-rotate(232deg) brightness(100%) contrast(80%); | |
} | |
} | |
.usa-radio__input--tile:disabled + .usa-radio__label--illustrated .usa-radio__image, | |
.usa-checkbox__input--tile:disabled + .usa-checkbox__label--illustrated .usa-checkbox__image { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
// NOTE: It would normally be recommended to split a block's JavaScript | |
// implementation to a separate file, but is authored here in a single | |
// file for convenience's sake. | |
// | |
// See: https://github.com/WordPress/gutenberg/pull/2791 | |
/** | |
* Plugin Name: Stars Block |
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
git rebase -i $(git merge-base HEAD master) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const { join } = require('path'); | |
module.exports = { | |
plugins: [ | |
[ | |
'module-resolver', | |
{ | |
root: ['./packages'], | |
alias: { | |
'^@my-scope\\/([^/]+)$': (match) => { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import log from './log.js'; | |
log(); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
( function( blocks, element ) { | |
var el = element.createElement; | |
function Stars( { stars } ) { | |
return el( 'div', { key: 'stars' }, | |
'★'.repeat( stars ), | |
( ( stars * 2 ) % 2 ) ? '½' : '' ); | |
} | |
blocks.registerBlockType( 'stars/stars-block', { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const { get } = require( 'https' ); | |
const { parse } = require( 'url' ); | |
const pulls = [ | |
'https://github.com/WordPress/gutenberg/pull/14003', | |
'https://github.com/WordPress/gutenberg/pull/14469', | |
'https://github.com/WordPress/gutenberg/pull/14475', | |
'https://github.com/WordPress/gutenberg/pull/14681', | |
'https://github.com/WordPress/gutenberg/pull/14693', | |
'https://github.com/WordPress/gutenberg/pull/14711', |
NewerOlder