Skip to content
Closed
Show file tree
Hide file tree
Changes from 1 commit
Commits
Show all changes
46 commits
Select commit Hold shift + click to select a range
8897a61
Initial commit.
jffng Jun 12, 2024
bb67231
Use interactivity API.
jffng Jun 12, 2024
e7bf6d4
Incorporate heading level.
jffng Jun 14, 2024
541f88a
Add text align.
jffng Jun 14, 2024
dbb822d
Scaffold an icon for the accordion title.
jffng Jun 18, 2024
7a5c73c
Convert to HTML tag processor.
jffng Jun 18, 2024
8c55763
Make classnames consistent.
jffng Jun 18, 2024
1299625
Fix accordion within accordion bug.
jffng Jun 20, 2024
71c3a4f
Add toggle and format.
jffng Jun 20, 2024
6f30b69
allow text align to work.
jffng Jun 20, 2024
dfc4070
Add layout support
jffng Jun 20, 2024
bce6ec9
Downgrade wp-scripts for now.
jffng Jun 20, 2024
b38778a
Add icon styles.
jffng Jun 21, 2024
ecf287c
Use background as mask instead.
jffng Jun 21, 2024
c206519
Rename to accordion-item.
jffng Jun 21, 2024
12ee418
Format.
jffng Jun 21, 2024
7db5ca6
Format.
jffng Jun 21, 2024
129713c
Update colors.
jffng Jun 21, 2024
b6ff4be
Add setting for icon position.
jffng Jun 24, 2024
11d2c9a
Allow no icon option.
jffng Jun 25, 2024
b03af8d
Replace with custom icon.
jffng Jun 25, 2024
8126131
Convert to two blocks.
jffng Jul 1, 2024
c27583c
Refactor iAPI.
jffng Jul 1, 2024
e6939c5
Fix icon display.
jffng Jul 1, 2024
1a2728c
Remove unused CSS for now.
jffng Jul 1, 2024
180c4db
Make id more specific.
jffng Jul 2, 2024
ec1b458
Remove zip.
jffng Jul 2, 2024
4ebfc34
Remove comments.
jffng Jul 2, 2024
1db0e5f
Allow multiple accordion items.
jffng Jul 2, 2024
d186c0a
WIP.
jffng Jul 2, 2024
c4f5737
Fix array filtering bug.
jffng Jul 9, 2024
c098b30
Cleanup unused classes.
jffng Jul 9, 2024
cbd7dee
Refactor so styles live at top level block and no need for textAlign.
jffng Jul 9, 2024
185a97f
Update server side register with correct block names.
jffng Jul 9, 2024
610031a
Simplify to accordion item.
jffng Jul 11, 2024
8cb37fe
Fix classes and format.
jffng Jul 11, 2024
ce78480
Add support for border and typography.
jffng Jul 12, 2024
9bd3ab0
Enable more typography and border support.
jffng Jul 12, 2024
c78d40f
Remove build files.
jffng Jul 16, 2024
cb175fe
Ignore package-lock
jffng Jul 16, 2024
9880187
Remove editorconfig.
jffng Jul 16, 2024
91889f5
Adds css grid based animation.
jffng Jul 16, 2024
1e1d4f0
Format.
jffng Jul 16, 2024
49ed8a7
Bump wordpress/scripts to highest 27.
jffng Jul 18, 2024
f5f7227
Add color support.
jffng Jul 18, 2024
0f06e5a
Enable multiple items to be open at once.
jffng Jul 18, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Update colors.
  • Loading branch information
jffng committed Jun 21, 2024
commit 129713c9d72a10a67354d14790da34b2f8720876
1 change: 1 addition & 0 deletions accordion-item/build/block.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@
"margin": true,
"blockGap": true
},
"shadow": true,
"layout": true
},
"attributes": {
Expand Down
2 changes: 1 addition & 1 deletion accordion-item/build/index.asset.php
Original file line number Diff line number Diff line change
@@ -1 +1 @@
<?php return array('dependencies' => array('react', 'wp-block-editor', 'wp-blocks', 'wp-components', 'wp-i18n'), 'version' => '7973084e55794b9b841c');
<?php return array('dependencies' => array('react', 'wp-block-editor', 'wp-blocks', 'wp-components', 'wp-i18n'), 'version' => '191dadd5abb3da14bfbf');
7 changes: 2 additions & 5 deletions accordion-item/build/index.js

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

2 changes: 1 addition & 1 deletion accordion-item/build/index.js.map

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion accordion-item/build/style-index.css

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

2 changes: 1 addition & 1 deletion accordion-item/build/style-index.css.map

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

1 change: 1 addition & 0 deletions accordion-item/src/block.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@
"margin": true,
"blockGap": true
},
"shadow": true,
"layout": true
},
"attributes": {
Expand Down
4 changes: 0 additions & 4 deletions accordion-item/src/edit.js
Original file line number Diff line number Diff line change
Expand Up @@ -75,10 +75,6 @@ export default function Edit( { attributes, setAttributes, isSelected } ) {
<InspectorControls key="styles">
<PanelBody title={ __( 'Display' ) }>
<PanelRow>
<BaseControl
id="icon-position"
label={ __( 'Icon Position' ) }
></BaseControl>
</PanelRow>
</PanelBody>
</InspectorControls>
Expand Down
2 changes: 1 addition & 1 deletion accordion-item/src/style.scss
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@

.wpsp-accordion-item__toggle:focus,
.wpsp-accordion-item__toggle:focus-visible {
outline: 2px solid #0073aa;
outline: 2px solid -webkit-focus-ring-color;
outline-offset: 2px;
}

Expand Down