mediawiki-extensions-Visual.../modules/ve/ui/styles/images/icons
Trevor Parscal a5aeca3ff5 Major UI refactoring and improvements
Objective:

Refactor UI widgets, improve usability and accessibility of menus, general cleanup and style improvements.

Extras:
Fixed documentation in a few other files to make descriptions of jQuery event arguments more consistent, classes inherit correctly, and made use of the @cfg functionality in jsduck.

Changes:

.docs/config.json
* Added window, HTMLDocument, HTMLElement, DocumentFragment and XMLHttpRequest to externals, so jsduck doesn't throw warnings when they are used

demos/ve/index.php, modules/ve/test/index.php, VisualEditor.php
* Moved widgets above tools (since tools use widgets)

demos/ve/index.php
* Refactored widget initialization to use options
* Renamed variables to match widget names

ve.init.mw.ViewPageTarget.css
* Adjusted text sizes to make widgets work normally
* Added margins for buttons in toolbar (since button widgets
don't have any)
* Removed styles for init buttons (button widgets now)

ve.init.mw.ViewPageTarget.js
* Switched to using button widgets (involved moving things around
a bit)

ve.ui.LinkInspector.js, ve.ui.MWLinkInspector.js
* Renamed static property "inputWidget" to
"linkTargetInputWidget" to better reflect the required base class
for the properties value

icons.ai, check.png, check.svg
* Added "check" icon, used in menu right now to show which item
is selected

ve.ui.Icons-raster.css, ve.ui.Icons-vector.css
* Added check icon
* Removed :before pseudo selectors from most of the icon classes (not need by button tool anymore, makes them more reusable now)

ve.ui.Tool.css
* Adjusted drop down tool styles so menu appears below, instead
of on top, of the label
* Adjusted paragraph font size to better match actual content
* Updated class names to still work with menu widget changes
(items are their own widgets now)
* Updated selectors as per changes in the structure of button tools

ve.ui.Widget.css
* Added styles for buttons and menu items
* Adjusted menu styles

ve.ui.*ButtonTool.js
* Added config options argument passthrough

ve.ui.ButtonTool.js
* Moved var statement to the top inside constructor
* Switched to using "a" tag to get cross-browser :active support
* Added icon to inside of button to make icon styles more reusable
* Removed disabled support (now provided by widget parent class)

ve.ui.FormatDropDownTool.js
* Updated options initialization to construct menu item objects
* Modified handling of items to account for changes in menu and
item classes
* Optimized onUpdateState method a bit, adding early exit to
inner loop

ve.ui.ButtonTool.js, ve.ui.DropdownTool.js, ve.ui.Context.js,
ve.ui.Frame, ve.ui.Tool.js, ve.ui.Widget.js
* Added chain ability to non-getter methods

ve.ui.DropdownTool.js
* Removed items argument to constructor
* Updated code as per changes in menu class
* Fixed inconsistent naming of event handler methods
* Removed item event handling (now handled by items directly)
* Made use of this.$$ to ensure tool works in other frames

ve.ui.Tool.js
* Made tools inherit from widget
* Moved trigger registry event handler to a method

ve.ui.Context.js
* Switched from using menu to contain toolbar to a simple wrapper

ve.ui.js
* Added get$$ method, a convenience function for binding jQuery
to a specific document context

ve.ui.*Widget.js
* Switched to using a config options object instead of individual arguments
* Added options
* Factored out flags and labels into their own classes
* Refactored value setting methods for inputs

ve.ui.MenuWidget.js, ve.ui.MenuItemWidget.js
* Broke items out into their own classes
* Redesigned API
* Updated code that uses these classes
* Added support for keyboard interaction
* Made items flash when selected (delaying the hiding of the menu for 200ms)

ve.ui.LinkTargetInputWidget.js, ve.ui.MWLinkTargetInputWidget
* Refactored annotation setting methods

Change-Id: I7769bd5a5b79f1ab36f258ef9f2be583ca503ce6
2013-02-26 12:29:08 -08:00
..
accept.png Icon improvements 2012-09-26 14:53:11 -07:00
accept.svg i18n icons 2013-02-01 15:29:18 -08:00
add-item.png i18n icons 2013-02-01 15:29:18 -08:00
add-item.svg i18n icons 2013-02-01 15:29:18 -08:00
alert.png i18n icons 2013-02-01 15:29:18 -08:00
alert.svg i18n icons 2013-02-01 15:29:18 -08:00
arched-arrow-ltr.png (bug 38548) Switch undo / redo buttons for RTL. 2012-09-16 08:39:18 -07:00
arched-arrow-ltr.svg i18n icons 2013-02-01 15:29:18 -08:00
arched-arrow-rtl.png (bug 38548) Switch undo / redo buttons for RTL. 2012-09-16 08:39:18 -07:00
arched-arrow-rtl.svg i18n icons 2013-02-01 15:29:18 -08:00
bold-a.png i18n icons 2013-02-01 15:29:18 -08:00
bold-a.svg i18n icons 2013-02-01 15:29:18 -08:00
bold-b.png i18n icons 2013-02-01 15:29:18 -08:00
bold-b.svg i18n icons 2013-02-01 15:29:18 -08:00
bold-f.png i18n icons 2013-02-01 15:29:18 -08:00
bold-f.svg i18n icons 2013-02-01 15:29:18 -08:00
bullet-list-ltr.png Icon improvements 2012-09-26 14:53:11 -07:00
bullet-list-ltr.svg i18n icons 2013-02-01 15:29:18 -08:00
bullet-list-rtl.png Icon improvements 2012-09-26 14:53:11 -07:00
bullet-list-rtl.svg i18n icons 2013-02-01 15:29:18 -08:00
check.png Major UI refactoring and improvements 2013-02-26 12:29:08 -08:00
check.svg Major UI refactoring and improvements 2013-02-26 12:29:08 -08:00
clear.png Improved icons 2012-08-31 13:23:04 -07:00
clear.svg i18n icons 2013-02-01 15:29:18 -08:00
close.png i18n icons 2013-02-01 15:29:18 -08:00
close.svg i18n icons 2013-02-01 15:29:18 -08:00
collapse.png Improved icons 2012-08-31 13:23:04 -07:00
collapse.svg i18n icons 2013-02-01 15:29:18 -08:00
comment.png i18n icons 2013-02-01 15:29:18 -08:00
comment.svg i18n icons 2013-02-01 15:29:18 -08:00
down.png i18n icons 2013-02-01 15:29:18 -08:00
down.svg i18n icons 2013-02-01 15:29:18 -08:00
expand.png Improved icons 2012-08-31 13:23:04 -07:00
expand.svg i18n icons 2013-02-01 15:29:18 -08:00
external-link.png i18n icons 2013-02-01 15:29:18 -08:00
external-link.svg i18n icons 2013-02-01 15:29:18 -08:00
help.png i18n icons 2013-02-01 15:29:18 -08:00
help.svg i18n icons 2013-02-01 15:29:18 -08:00
history.png Improved icons 2012-08-31 13:23:04 -07:00
history.svg i18n icons 2013-02-01 15:29:18 -08:00
indent-list-ltr.png i18n icons 2013-02-01 15:29:18 -08:00
indent-list-ltr.svg i18n icons 2013-02-01 15:29:18 -08:00
indent-list-rtl.png Icon improvements 2012-09-26 14:53:11 -07:00
indent-list-rtl.svg i18n icons 2013-02-01 15:29:18 -08:00
inspector.png i18n icons 2013-02-01 15:29:18 -08:00
inspector.svg i18n icons 2013-02-01 15:29:18 -08:00
italic-a.png i18n icons 2013-02-01 15:29:18 -08:00
italic-a.svg i18n icons 2013-02-01 15:29:18 -08:00
italic-i.png i18n icons 2013-02-01 15:29:18 -08:00
italic-i.svg i18n icons 2013-02-01 15:29:18 -08:00
italic-k.png i18n icons 2013-02-01 15:29:18 -08:00
italic-k.svg i18n icons 2013-02-01 15:29:18 -08:00
layout-ltr.png i18n icons 2013-02-01 15:29:18 -08:00
layout-ltr.svg i18n icons 2013-02-01 15:29:18 -08:00
layout-rtl.png i18n icons 2013-02-01 15:29:18 -08:00
layout-rtl.svg i18n icons 2013-02-01 15:29:18 -08:00
link.png Improved icons 2012-08-31 13:23:04 -07:00
link.svg i18n icons 2013-02-01 15:29:18 -08:00
move-ltr.png i18n icons 2013-02-01 15:29:18 -08:00
move-ltr.svg i18n icons 2013-02-01 15:29:18 -08:00
move-rtl.png Icon improvements 2012-09-26 14:53:11 -07:00
move-rtl.svg i18n icons 2013-02-01 15:29:18 -08:00
number-list-ltr.png i18n icons 2013-02-01 15:29:18 -08:00
number-list-ltr.svg i18n icons 2013-02-01 15:29:18 -08:00
number-list-rtl.png i18n icons 2013-02-01 15:29:18 -08:00
number-list-rtl.svg i18n icons 2013-02-01 15:29:18 -08:00
outdent-list-ltr.png Icon improvements 2012-09-26 14:53:11 -07:00
outdent-list-ltr.svg i18n icons 2013-02-01 15:29:18 -08:00
outdent-list-rtl.png Icon improvements 2012-09-26 14:53:11 -07:00
outdent-list-rtl.svg i18n icons 2013-02-01 15:29:18 -08:00
outline-ltr.png i18n icons 2013-02-01 15:29:18 -08:00
outline-ltr.svg i18n icons 2013-02-01 15:29:18 -08:00
outline-rtl.png i18n icons 2013-02-01 15:29:18 -08:00
outline-rtl.svg i18n icons 2013-02-01 15:29:18 -08:00
parameter-big.png Added new icons 2013-02-13 16:06:29 -08:00
parameter-big.svg Added new icons 2013-02-13 16:06:29 -08:00
parameter-set.png Added new icons 2013-02-13 16:06:29 -08:00
parameter-set.svg Added new icons 2013-02-13 16:06:29 -08:00
parameter.png Added new icons 2013-02-13 16:06:29 -08:00
parameter.svg Added new icons 2013-02-13 16:06:29 -08:00
remove-item.png i18n icons 2013-02-01 15:29:18 -08:00
remove-item.svg i18n icons 2013-02-01 15:29:18 -08:00
remove.png Icon improvements 2012-09-26 14:53:11 -07:00
remove.svg i18n icons 2013-02-01 15:29:18 -08:00
secure-link.png i18n icons 2013-02-01 15:29:18 -08:00
secure-link.svg i18n icons 2013-02-01 15:29:18 -08:00
settings.png Icon improvements 2012-09-26 14:53:11 -07:00
settings.svg i18n icons 2013-02-01 15:29:18 -08:00
source-big.png Added new icons 2013-02-13 16:06:29 -08:00
source-big.svg Added new icons 2013-02-13 16:06:29 -08:00
source.png Added new icons 2013-02-13 16:06:29 -08:00
source.svg Added new icons 2013-02-13 16:06:29 -08:00
template-big.png Added new icons 2013-02-13 16:06:29 -08:00
template-big.svg Added new icons 2013-02-13 16:06:29 -08:00
template.png Added new icons 2013-02-13 16:06:29 -08:00
template.svg Added new icons 2013-02-13 16:06:29 -08:00
up.png i18n icons 2013-02-01 15:29:18 -08:00
up.svg i18n icons 2013-02-01 15:29:18 -08:00