-
Notifications
You must be signed in to change notification settings - Fork 18
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Universal Blocks #679
Open
nicholasio
wants to merge
49
commits into
develop
Choose a base branch
from
feature/gutenberg-primitives
base: develop
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Universal Blocks #679
Changes from 13 commits
Commits
Show all changes
49 commits
Select commit
Hold shift + click to select a range
c514e47
feat: primitives scaffolding
nicholasio 3156938
Merge branch 'develop' into feature/gutenberg-primitives
nicholasio de04f84
Merge branch 'develop' into feature/gutenberg-primitives
nicholasio fd9ca7e
feat: introducing the RichText Primitive
nicholasio eba91cb
test: basic tests
nicholasio c15c16d
test: one more test
nicholasio e6aa3f7
test: default save handler
nicholasio 280a344
fix: ts types
nicholasio 951ad63
fix: types
nicholasio 340f15b
fix: build
nicholasio 9041f9d
Merge branch 'develop' into feature/gutenberg-primitives
nicholasio 42b9f96
Merge branch 'develop' into feature/gutenberg-primitives
nicholasio 344e464
feat: first poc
nicholasio 454f782
chore: remove test from the theme
nicholasio e2de4a6
feat: initial pass at an image primitive with MediaReplaceFlow
nicholasio ac6afee
docs: add jsdoc
nicholasio 6920541
Merge branch 'develop' into feature/gutenberg-primitives
nicholasio c6592a0
chore: remove docs project
nicholasio 45b8a7c
chore: removing express
nicholasio b9afe47
chore: component library project for testing primitives
nicholasio caf83ac
chore: fix storybook version
nicholasio fbb5234
feat: attributes
nicholasio 2f4c5fd
Merge branch 'develop' into feature/gutenberg-primitives
nicholasio b2fdcb0
chore: more fixes
nicholasio 25609da
chore: remove wp-nextjs-ts project
nicholasio 9f894e0
feat: hero example
nicholasio 1d91e64
chore: commands
nicholasio d7e933e
feat: vanilla-extract for css
nicholasio 6f66b6e
renaming package
nicholasio 148f7a3
fix: tests
nicholasio 887819f
Merge branch 'develop' into feature/gutenberg-primitives
nicholasio 0b47d5a
fix: lint
nicholasio 225ba51
fix: linting fixes
nicholasio e37be5e
fix: builds
nicholasio 9b06fb0
chore: fix bundle analyzer
nicholasio 3ef9fd5
chore: anoter fix
nicholasio e8a7c95
fix: build issues
nicholasio 686ea35
feat: link component
nicholasio 00d2f87
feat: introducing InnerBlocks Primitive
nicholasio a3e72f2
feat: inner-blocks change
nicholasio 5752792
feat: interating on rendering blocks on Gutenberg
nicholasio 2ec474f
feat: various improvements
nicholasio 05ebde2
fix: tests
nicholasio 19a4f4c
chore: remove unused code
nicholasio 4c180ad
feat: use next.js components
nicholasio 7974091
feat: refactoring
nicholasio b91cb04
fix: fixes
nicholasio f85b8ee
fix: build error
nicholasio bb2a2c1
chore: comments
nicholasio File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
module.exports = { | ||
parser: '@typescript-eslint/parser', | ||
extends: ['@10up/eslint-config/react', '@10up/eslint-config/jest'], | ||
plugins: ['@typescript-eslint'], | ||
rules: { | ||
'import/no-unresolved': 'off', | ||
'import/extensions': 'off', | ||
}, | ||
settings: { | ||
'import/resolver': 'typescript', | ||
}, | ||
}; |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
{ | ||
"*.[tj]s": [ | ||
"eslint" | ||
], | ||
"*.[tj]sx": [ | ||
"eslint" | ||
] | ||
} |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
The MIT License | ||
|
||
Permission is hereby granted, free of charge, to any person obtaining a copy | ||
of this software and associated documentation files (the "Software"), to deal | ||
in the Software without restriction, including without limitation the rights | ||
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell | ||
copies of the Software, and to permit persons to whom the Software is | ||
furnished to do so, subject to the following conditions: | ||
|
||
The above copyright notice and this permission notice shall be included in | ||
all copies or substantial portions of the Software. | ||
|
||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR | ||
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, | ||
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE | ||
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER | ||
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, | ||
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN | ||
THE SOFTWARE. |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
# @headstartwp/blocks-primitives | ||
[![Support Level](https://img.shields.io/badge/support-active-green.svg)](#support-level) [![Next Package MIT License](https://img.shields.io/badge/next%20package-MIT-green)](https://github.com/10up/headstartwp/blob/develop/packages/next/LICENSE.md) | ||
|
||
|
||
## Installation | ||
|
||
``` | ||
npm install --save @headstartwp/blocks-primitives | ||
``` | ||
|
||
## Support Level | ||
|
||
**Active:** 10up is actively working on this, and we expect to continue work for the foreseeable future including keeping tested up to the most recent version of WordPress. Bug reports, feature requests, questions, and pull requests are welcome. | ||
|
||
## Like what you see? | ||
|
||
<a href="http://10up.com/contact/"><img src="https://10up.com/uploads/2016/10/10up-Github-Banner.png" width="850" alt="10up"></a> |
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@nicholasio I'd love it if we could rename this to
@headstart/block-primitives
to be more aligned with how core names all the packages. :)