Skip to content

Commit

Permalink
Jooa11y/enhancements (joomla#132)
Browse files Browse the repository at this point in the history
* Add some enhancements

* Fix wrong name

Co-authored-by: Benjamin Trenkle <[email protected]>
  • Loading branch information
brianteeman and bembelimen authored Nov 29, 2021
1 parent af113ba commit caff6bf
Show file tree
Hide file tree
Showing 14 changed files with 253 additions and 4,180 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -224,12 +224,12 @@ function (Toolbar $childBar) use ($checkedOut, $itemEditable, $canDo, $user)
->bodyHeight(80)
->modalWidth(90);

if (PluginHelper::isEnabled('system', 'jooa11y'))
{
$toolbar->jooa11y($url, 'JGLOBAL_JOOA11Y')
if (PluginHelper::isEnabled('system', 'jooa11y'))
{
$toolbar->jooa11y($url, 'JGLOBAL_JOOA11Y')
->bodyHeight(80)
->modalWidth(90);
}
}

if (Associations::isEnabled() && ComponentHelper::isEnabled('com_associations'))
{
Expand Down
96 changes: 96 additions & 0 deletions build/build-modules-js/settings.json
Original file line number Diff line number Diff line change
Expand Up @@ -427,6 +427,48 @@
],
"licenseFilename": "LICENSE.txt"
},
"joomla-a11y-checker": {
"name": "joomla-a11y-checker",
"js": {
"dist/js/joomla-a11y-checker.umd.js": "js/joomla-a11y-checker.es5.js",
"dist/js/joomla-a11y-checker.umd.min.js": "js/joomla-a11y-checker.min.es5.js"
},
"css": {
"dist/css/joomla-a11y-checker.css": "css/joomla-a11y-checker.css",
"dist/css/joomla-a11y-checker.min.css": "css/joomla-a11y-checker.min.css"
},
"filesExtra": {
"src/scss/jooa11y.scss": "scss/joomla-a11y-checker.scss"
},
"provideAssets": [
{
"name": "joomla-a11y-checker",
"type": "style",
"uri": "joomla-a11y-checker.min.css"
},
{
"name": "joomla-a11y-checker",
"type": "script",
"uri": "joomla-a11y-checker.min.js",
"attributes": {
"defer": true
},
"dependencies": [
"core",
"tippy"
]
},
{
"name": "joomla-a11y-checker",
"type": "preset",
"dependencies": [
"joomla-a11y-checker#style",
"joomla-a11y-checker#script"
]
}
],
"licenseFilename": "LICENSE.md"
},
"joomla-ui-custom-elements": {
"name": "joomla-custom-elements",
"js": {
Expand Down Expand Up @@ -714,6 +756,60 @@
}
]
},
"@popperjs/core": {
"name": "popperjs",
"js": {
"dist/umd/popper.js": "js/popper.es5.js",
"dist/umd/popper.min.js": "js/popper.min.es5.js"
},
"provideAssets": [
{
"name": "popperjs",
"type": "script",
"uri": "popper.min.es5.js"
},
{
"name": "popperjs",
"type": "preset",
"dependencies": [
"popper#script"
]
}
]
},
"tippy.js": {
"name": "tippy.js",
"js": {
"dist/tippy-bundle.umd.js": "js/tippy.es5.js",
"dist/tippy-bundle.umd.min.js": "js/tippy.min.es5.js"
},
"css" : {
"dist/tippy.css": "css/tippy.css"
},
"provideAssets": [
{
"name": "tippy",
"type": "style",
"uri": "tippy.css"
},
{
"name": "tippy",
"type": "script",
"uri": "tippy.min.es5.js",
"dependencies": [
"popperjs"
]
},
{
"name": "tippy",
"type": "preset",
"dependencies": [
"tippy#style",
"tippy#script"
]
}
]
},
"qrcode-generator": {
"name": "qrcode",
"js": {
Expand Down
Loading

0 comments on commit caff6bf

Please sign in to comment.