Skip to content

Commit

Permalink
v0.1.0, it's alive!
Browse files Browse the repository at this point in the history
  • Loading branch information
mrwweb committed Jul 29, 2021
0 parents commit d74832d
Show file tree
Hide file tree
Showing 30 changed files with 19,824 additions and 0 deletions.
14 changes: 14 additions & 0 deletions .editorconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
# This file is for unifying the coding style for different editors and IDEs
# editorconfig.org

# WordPress Coding Standards
# https://make.wordpress.org/core/handbook/coding-standards/

root = true

[*]
charset = utf-8
end_of_line = lf
insert_final_newline = true
trim_trailing_whitespace = true
indent_style = tab
27 changes: 27 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
# Logs
logs
*.log
npm-debug.log*
yarn-debug.log*
yarn-error.log*

# Coverage directory used by tools like istanbul
coverage

# Compiled binary addons (https://nodejs.org/api/addons.html)
build/Release

# Dependency directories
node_modules/

# Optional npm cache directory
.npm

# Optional eslint cache
.eslintcache

# Output of 'npm pack'
*.tgz

# dotenv environment variables file
.env
17 changes: 17 additions & 0 deletions accordion-content/block.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
{
"apiVersion": 2,
"name": "mrw/accordion-content",
"version": "0.1.0",
"title": "MRW Accordion Content",
"category": "design",
"icon": "text",
"description": "An accessible accordion block that's a joy to edit",
"keywords": [ "faq", "expand", "collapse" ],
"supports": {
"html": false,
"inserter": false
},
"parent": [ "mrw/accordion" ],
"textdomain": "mrw-accordion",
"editorScript": "file:../build/accordion-content.js"
}
17 changes: 17 additions & 0 deletions block.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
{
"apiVersion": 2,
"name": "mrw/accordion",
"version": "0.1.0",
"title": "MRW Accordion",
"category": "design",
"icon": "plus-alt",
"description": "An accessible accordion block that's a joy to edit. Accordion does not expand/collapse in editor.",
"supports": {
"html": false
},
"textdomain": "mrw-accordion",
"editorScript": "file:./build/accordion.js",
"editorStyle": "file:./build/accordion.css",
"style": "file:./build/style-accordion.css",
"script": "file:./build/accordion-script.js"
}
1 change: 1 addition & 0 deletions build/accordion-content.asset.php
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
<?php return array('dependencies' => array('wp-block-editor', 'wp-blocks', 'wp-element', 'wp-i18n', 'wp-polyfill'), 'version' => '578510b5ae685ec160a1d084e8813837');
276 changes: 276 additions & 0 deletions build/accordion-content.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit d74832d

Please sign in to comment.