Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
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
16 changes: 16 additions & 0 deletions modules/edw_paragraphs_gallery/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -43,9 +43,25 @@ lightgallery library.
}
}
```
and
```
{
"type": "package",
"package": {
"name": "miromannino/justified-gallery",
"version": "v3.8.1",
"type": "drupal-library",
"dist": {
"url": "https://github.com/miromannino/Justified-Gallery/archive/master.zip",
"type": "zip"
}
}
}
```

After this you can install the library using composer and the library will be
downloaded into the libraries folder.
```php
$ composer require 'sachinchoolur/lightgallery'
$ composer require 'miromannino/justified-gallery'
```
51 changes: 51 additions & 0 deletions modules/edw_paragraphs_gallery/composer.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,51 @@
{
"name": "eaudeweb/edw_paragraphs_gallery",
"description": "This module provides a number of Paragraph types",
"type": "drupal-module",
"authors": [
{
"name": "dtabirca",
"email": "dtabirca@1029792.no-reply.drupal.org"
}
],
"minimum-stability": "dev",
"repositories": [
{
"type": "composer",
"url": "https://packages.drupal.org/8"
},
{
"type": "composer",
"url": "https://asset-packagist.org"
},
{
"type": "package",
"package": {
"name": "sachinchoolur/lightgallery",
"version": "v2.8.3",
"type": "drupal-library",
"dist": {
"url": "https://github.com/sachinchoolur/lightGallery/archive/master.zip",
"type": "zip"
}
}
},
{
"type": "package",
"package": {
"name": "miromannino/justified-gallery",
"version": "v3.8.1",
"type": "drupal-library",
"dist": {
"url": "https://github.com/miromannino/Justified-Gallery/archive/master.zip",
"type": "zip"
}
}
}
],
"require": {
"drupal/paragraphs": "^1.19",
"eaudeweb/edw_media": "^1.0",
"miromannino/justified-gallery": "^3.8"
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,6 @@ name: EDW Paragraphs Gallery
description: Provides a paragraph type that displays a gallery of media entities.
package: Eau de Web
type: module
core_version_requirement: ^9.4 || ^10 || ^11
core_version_requirement: ^11
dependencies:
- edw_paragraphs:edw_paragraphs
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,13 @@ light_gallery:
css:
theme:
css/lightgallery.css: { }
/libraries/lightgallery/site/v1/lightgallery/css/lightgallery.css: { }
/libraries/lightgallery/dist/css/lightgallery.css: { }
/libraries/lightgallery/dist/css/lightgallery-bundle.min.css: { }
//cdn.jsdelivr.net/npm/justifiedGallery@3.8.1/dist/css/justifiedGallery.min.css: { type: external, minified: true }
/libraries/justified-gallery/dist/css/justifiedGallery.min.css: { minified: true }
js:
/libraries/lightgallery/dist/plugins/zoom/lg-zoom.min.js: { minified: true }
/libraries/lightgallery/dist/lightgallery.min.js: { minified: true }
//cdn.jsdelivr.net/npm/justifiedGallery@3.8.1/dist/js/jquery.justifiedGallery.min.js: { type: external, minified: true }
/libraries/justified-gallery/dist/js/jquery.justifiedGallery.min.js: { minified: true }
/libraries/lightgallery/dist/plugins/autoplay/lg-autoplay.min.js: { minified: true }
/libraries/lightgallery/dist/plugins/fullscreen/lg-fullscreen.min.js: { minified: true }
/libraries/lightgallery/dist/plugins/thumbnail/lg-thumbnail.min.js: { minified: true }
Expand Down