Skip to content

Commit

Permalink
feat(sidekick): upgrade block library to use new plugin (#296)
Browse files Browse the repository at this point in the history
* feat: add new sidekick library plugin version

* feat: add json location for block-library

* feat: add plugin names

* feat: add icon path

* feat: move plugin js to new dir

* fix: spelling

* feat: move library utils file

* feat: create plugin dirs

* fix: typo in path

* fix: updated paths to scripts/

* feat: add the css files

* feat: add blocks js

* fix: testing the removal of individual js

* feature: remove rectangle size constraint

* feature: add dark purple as bg option

* feature: create Stat block library item

* fix: stat font color

* feature: remove old block lobrary lists

* feature: add sections

* feature: change to JS instead of json for section

* feature: removing plugin config since it is not a plugin

* feature: trying another way

* feature: adding full plugins now

* feature: remove old sidekick files

* add hlx.page to CSP

* feature: change icon fetch URL for testing

* feature: adding style for library plugin to csp

* feature: commenting out the css

* feature: add height

* feature: new sidekick version

* fix: moved createOptimizedPicture

* fix: block library icons host URL updated for merging

* update test

* fix: test

* fix: linting

* resolve conflicts

* fix more conflicts

* plugin sections

* linting of js

* fix: library location and compound sections will copy

* fix: prevent template and block library pages from being published

* fix: remove comment

* small update to image path

* removed comment

* removing unnecessary section code

* remove block-utils.test.js

---------

Co-authored-by: Putra Bonaccorsi <[email protected]>
  • Loading branch information
helms-charity and proeung authored Dec 4, 2023
1 parent fd4e099 commit 27e70bc
Show file tree
Hide file tree
Showing 22 changed files with 513 additions and 706 deletions.
2 changes: 1 addition & 1 deletion blocks/cards/cards.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { createOptimizedPicture } from '../../scripts/lib-franklin.js';
import { createOptimizedPicture } from '../../scripts/scripts.js';

export default function decorate(block) {
/* change to ul, li */
Expand Down
154 changes: 0 additions & 154 deletions blocks/library-config/library-config.js

This file was deleted.

103 changes: 0 additions & 103 deletions blocks/library-config/library-utils.js

This file was deleted.

19 changes: 0 additions & 19 deletions blocks/library-config/lists/assets.js

This file was deleted.

37 changes: 0 additions & 37 deletions blocks/library-config/lists/blocks.js

This file was deleted.

38 changes: 0 additions & 38 deletions blocks/library-config/lists/buttons.js

This file was deleted.

35 changes: 0 additions & 35 deletions blocks/library-config/lists/icons.js

This file was deleted.

Loading

0 comments on commit 27e70bc

Please sign in to comment.