Skip to content

Commit

Permalink
MC-17868: Break jQuery UI into widgets and make a prototype
Browse files Browse the repository at this point in the history
- Add separate jquery ui widget component v1.9.2 for adminhtml area;
- Update jquery ui components description;
- Update requirejs config;
  • Loading branch information
adifucan committed Jul 23, 2019
1 parent 2e5aeb4 commit a5c6783
Show file tree
Hide file tree
Showing 37 changed files with 623 additions and 105 deletions.
41 changes: 21 additions & 20 deletions app/code/Magento/Theme/view/adminhtml/requirejs-config.js
Original file line number Diff line number Diff line change
Expand Up @@ -28,26 +28,27 @@ var config = {
},
'map': {
'*': {
'translateInline': 'mage/translate-inline',
'form': 'mage/backend/form',
'button': 'mage/backend/button',
'accordion': 'mage/accordion',
'actionLink': 'mage/backend/action-link',
'validation': 'mage/backend/validation',
'notification': 'mage/backend/notification',
'loader': 'mage/loader_old',
'loaderAjax': 'mage/loader_old',
'floatingHeader': 'mage/backend/floating-header',
'suggest': 'mage/backend/suggest',
'mediabrowser': 'jquery/jstree/jquery.jstree',
'tabs': 'mage/backend/tabs',
'treeSuggest': 'mage/backend/tree-suggest',
'calendar': 'mage/calendar',
'dropdown': 'mage/dropdown_old',
'collapsible': 'mage/collapsible',
'menu': 'mage/backend/menu',
'jstree': 'jquery/jstree/jquery.jstree',
'details': 'jquery/jquery.details'
'translateInline': 'mage/translate-inline',
'form': 'mage/backend/form',
'button': 'mage/backend/button',
'accordion': 'mage/accordion',
'actionLink': 'mage/backend/action-link',
'validation': 'mage/backend/validation',
'notification': 'mage/backend/notification',
'loader': 'mage/loader_old',
'loaderAjax': 'mage/loader_old',
'floatingHeader': 'mage/backend/floating-header',
'suggest': 'mage/backend/suggest',
'mediabrowser': 'jquery/jstree/jquery.jstree',
'tabs': 'mage/backend/tabs',
'treeSuggest': 'mage/backend/tree-suggest',
'calendar': 'mage/calendar',
'dropdown': 'mage/dropdown_old',
'collapsible': 'mage/collapsible',
'menu': 'mage/backend/menu',
'jstree': 'jquery/jstree/jquery.jstree',
'details': 'jquery/jquery.details',
'jquery-ui-modules/widget': 'jquery/jquery-ui-widget-1.9.2'
}
},
'deps': [
Expand Down
3 changes: 0 additions & 3 deletions app/code/Magento/Theme/view/frontend/requirejs-config.js
Original file line number Diff line number Diff line change
Expand Up @@ -33,9 +33,6 @@ var config = {
'jquery/ui': 'jquery/compat'
}
},
paths: {
'jquery/ui': 'jquery/jquery-ui'
},
deps: [
'jquery/jquery.mobile.custom',
'mage/common',
Expand Down
Loading

0 comments on commit a5c6783

Please sign in to comment.