Skip to content

Commit

Permalink
Merge pull request #166 from PRX/feat/161-scroll-gallery-block
Browse files Browse the repository at this point in the history
#161: Add scroll gallery block
  • Loading branch information
rpeterman-gp authored Feb 27, 2024
2 parents 111ba4f + e29dd9a commit 776b561
Show file tree
Hide file tree
Showing 37 changed files with 30,537 additions and 6,531 deletions.
2 changes: 1 addition & 1 deletion .tool-versions
Original file line number Diff line number Diff line change
@@ -1 +1 @@
nodejs 16.16.0
nodejs 20.11.0
5 changes: 3 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,10 @@
"node": ">=16.0.0"
},
"browserslist": [
"last 1 version",
"> 1%",
"ie 11"
"last 2 version",
"Firefox ESR",
"not dead"
],
"dependencies": {
"date-fns": "^2.30.0",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@
'tw-qa-block/tw-qa-block.php',
'tw-datawrapper-block/tw-datawrapper-block.php',
'tw-resource-development-tags/tw-resource-development-tags.php',
'tw-scroll-gallery/tw-scroll-gallery.php',
'tw-segments/tw-segments.php',
'tw-story-format/tw-story-format.php',
'wordpress-importer/wordpress-importer.php',
Expand Down
3 changes: 2 additions & 1 deletion wp-content/plugins/tw-datawrapper-block/src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ const embedDataWrapperIcon = () => (
);

/*
* New `core/group` block variation.
* New `core/embed` block variation.
*/
const variation = {
name: "datawrapper",
Expand All @@ -64,6 +64,7 @@ const variation = {
description: __("Embed a DataWrapper chart."),
patterns: [/^https?:\/\/datawrapper\.dwcdn\.net\/.+/i],
attributes: { providerNameSlug: "datawrapper", responsive: true },
isDefault: true,
isActive: (blockAttributes, variationAttributes) =>
blockAttributes.providerNameSlug === variationAttributes.providerNameSlug,
};
Expand Down
2 changes: 1 addition & 1 deletion wp-content/plugins/tw-qa-block/build/index.asset.php
Original file line number Diff line number Diff line change
@@ -1 +1 @@
<?php return array('dependencies' => array('wp-block-editor', 'wp-blocks', 'wp-components', 'wp-element', 'wp-i18n'), 'version' => 'cbf0705fb32bbfc3723e');
<?php return array('dependencies' => array('react', 'wp-block-editor', 'wp-blocks', 'wp-components', 'wp-i18n'), 'version' => 'd6835b0e1f074ecd6c82');
2 changes: 1 addition & 1 deletion wp-content/plugins/tw-qa-block/build/index.js

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

Loading

0 comments on commit 776b561

Please sign in to comment.