aboutsummaryrefslogtreecommitdiffstats
path: root/resources/lib/oojs-ui/oojs-ui.js
Commit message (Collapse)AuthorAgeFilesLines
...
* Update OOjs UI to v0.6.4James D. Forrester2015-01-301-397/+907
| | | | | | | Release notes: https://git.wikimedia.org/blob/oojs%2Fui.git/v0.6.4/History.md Change-Id: I75746e6f702e2108e5282f9a37827a1a533ab57a
* Update OOjs UI to v0.6.3James D. Forrester2015-01-151-6/+381
| | | | | | | Release notes: https://git.wikimedia.org/blob/oojs%2Fui.git/v0.6.3/History.md Change-Id: If0fc682b3a7f186d53ca70fdb66dded66a7f4814
* Update OOjs UI to v0.6.2James D. Forrester2015-01-091-5/+13
| | | | | | | Release notes: https://git.wikimedia.org/blob/oojs%2Fui.git/v0.6.2/History.md Change-Id: Ia694c95107e88dd21db358daf503875cb13c5059
* Update OOjs UI to v0.6.1James D. Forrester2015-01-051-16/+17
| | | | | | | Release notes: https://git.wikimedia.org/blob/oojs%2Fui.git/v0.6.1/History.md Change-Id: Iafe5770c74b671dc04a92b9dfab6f121e7fe718d
* Update OOjs UI to v0.6.0James D. Forrester2014-12-161-19/+26
| | | | | | | Release notes: https://git.wikimedia.org/blob/oojs%2Fui.git/v0.6.0/History.md Change-Id: I0386c3f622355de2d5771427fbcaeedd6d3bff04
* Update OOjs UI to v0.5.0James D. Forrester2014-12-121-62/+100
| | | | | | | Release notes: https://git.wikimedia.org/blob/oojs%2Fui.git/v0.5.0/History.md Change-Id: I8503e846b8d240facb7a579952104285d7f9a7fc
* Update OOjs UI to v0.4.0James D. Forrester2014-12-051-122/+462
| | | | | | | Release notes: https://git.wikimedia.org/blob/oojs%2Fui.git/v0.4.0/History.md Change-Id: I8c81656d4f95138d7c187e71e52ee60b669a46a5
* Update OOjs UI to v0.2.4James D. Forrester2014-12-021-21/+91
| | | | | | | Release notes: https://git.wikimedia.org/blob/oojs%2Fui.git/v0.2.4/History.md Change-Id: Ic1afd83022ad8e6eee0ca89d94f6df23ba938684
* Update OOjs UI to v0.2.3James D. Forrester2014-11-261-16/+77
| | | | | | | Release notes: https://git.wikimedia.org/blob/oojs%2Fui.git/v0.2.3/History.md Change-Id: Ia3d8a5a9df0efffd2b5cb1466e600cc0b77d7ef2
* Update OOjs UI to v0.2.2Timo Tijhof2014-11-251-20/+33
| | | | | | | Release notes: https://git.wikimedia.org/blob/oojs%2Fui.git/v0.2.2/History.md Change-Id: I889b41ca2cee87ab9aab373a11e64de9a536b095
* Update OOjs UI to v0.1.0-pre (9ed4cf2557)James D. Forrester2014-11-211-80/+98
| | | | | | | | New changes: 649a6c6 [BREAKING CHANGE] Allow options with similar data afbedc7 Add a getMenu() getter to ComboBoxWidget Change-Id: I23782a6e728951dab8cde3d28e30cfe0a2074b50
* Update OOjs UI to v0.1.0-pre (8f8896196f)James D. Forrester2014-11-211-7/+147
| | | | | | | | New changes: 56587a8 [BREAKING CHANGE] Rename InputWidget#sanitizeValue → #cleanUpValue 4253739 Implement radio button widgets Change-Id: If10927a4e595de9b6d0ad45182470e84f335683c
* Update OOjs UI to v0.1.0-pre (23565e7519)James D. Forrester2014-11-211-56/+61
| | | | | | | | | | | | | | New changes: 0557719 Use README.md as doxygen main page 290f8a9 Remove accidental double try-catch from 76800b47 e7039d0 Revert "Revert "Show the modal overlay as soon as openWindow is called"" 61ac646 Fix lots of spelling mistakes and typos 5b381ae build: Create a 'typos' task to detect common typos f21c8eb FieldLayout: Only use <label> for InputWidgets 39e8522 Localisation updates from https://translatewiki.net. 16eb98d PHP: Reject malformed and potentially evil input when outputting HTML Change-Id: Ie039a451cf03eaf21e16538cfca270b1d9b8f7f9
* Update OOjs UI to v0.1.0-pre (d4cfcce969)James D. Forrester2014-11-201-11/+15
| | | | | | | | | | | | New changes: f6adfbc Give help content box a reasonable line height for legibility af5d71c Remove CSS hack for positioning popupButtonWidget c0768f9 PHP: Add missing OOUI\Exception class 76800b4 PHP: Wrap __toString() in try-catch to avoid unhelpful fatals d399920 Revert "Followup ca6a16f: use parent selector both for hiding and showing windows" 234cd9f Revert "Show the modal overlay as soon as openWindow is called" Change-Id: I317b4a747389de35411aca4ffdbbc2306b5b74cc
* Update OOjs UI to v0.1.0-pre (20c61ec865)James D. Forrester2014-11-201-3/+5
| | | | | | | New changes: 20c61ec Follow-up Id9597fde: Restore toolbar-bar class Change-Id: Ia16292b3ee46f5b38ee216927a9796a8fdf9235d
* Update OOjs UI to v0.1.0-pre (1fa4eb7a73)James D. Forrester2014-11-191-101/+101
| | | | | | | New changes: 549ff9a [BREAKING CHANGE] Rename *Menu and *MenuItem widgets Change-Id: Ifded7f9e17923dbb56a722b7424ccd2854194c21
* Update OOjs UI to v0.1.0-pre (7922a50558)Roan Kattouw2014-11-191-8/+13
| | | | | | | | | | | | | | | | | | | | | | New changes: 491d279 Change document order of tools and actions to fix floating 25840d5 Add lang and dir attributes to the accelerator element 8a87ddf build: Update various devDependencies to latest b0de093 Fixed RuboCop Style/AndOr offense 577ed71 Fixed RuboCop Style/AsciiComments offense 565251b Fixed RuboCop Style/EmptyLineBetweenDefs offence 328710e Fixed RuboCop Style/EmptyLines offense f2a1811 Fixed RuboCop Style/NegatedIf offense 51e041a Fixed RuboCop Style/SignalException offense 6b3bc5c Fixed RuboCop Style/SpaceAroundEqualsInParameterDefault offense 9224811 Fixed RuboCop Style/NilComparison offense 6ff2b19 Fixed RuboCop Style/SpaceAfterComma offense 22c86e2 Fixed RuboCop Style/TrailingBlankLines offense 33fc646 Consistently use @return annotation 709546c Localisation updates from https://translatewiki.net. 6e6dfae build: Clean up fileExists config Change-Id: I528111c92b89e0302d679ed817a98671035cd8aa
* Update OOjs UI to v0.1.0-pre (f1abca8e82)Roan Kattouw2014-11-171-8/+14
| | | | | | | | | | | | | | New changes: 5883e65 Add 'indeterminate' state to progress bar widget fbe9248 Fix documentation for getRelativeSelectableItem 27f8805 Localisation updates from https://translatewiki.net. 2edfdaa Localisation updates from https://translatewiki.net. 40d08f0 Localisation updates from https://translatewiki.net. ce8438f Update OOjs to v1.1.3 5721411 Prepare repository for RuboCop f1abca8 Followup ca6a16f: use parent selector both for hiding and showing windows Change-Id: I7b49bbc81e9b8ba501f0593daaacf7025f16bf00
* Update OOjs UI to v0.1.0-pre (fe4076af75)James D. Forrester2014-11-131-4/+33
| | | | | | | | | | New changes: b758cff Localisation updates from https://translatewiki.net. 2584648 MenuWidget: Don't close menu when you click the scroll bar 16d057c Don't close PopupToolGroups when the scroll bar is clicked fe4076a Localisation updates from https://translatewiki.net. Change-Id: I1872d16e33e8ad8f4d0e13ce7533587ab3b0614a
* Update OOjs UI to v0.1.0-pre (05f0fefc3f)James D. Forrester2014-11-111-17/+12
| | | | | | | | | | | | | | | | | New changes: e784137 mediawiki: Replace instances of 0.3em border-radius with variable 9b47eff Update OOjs to v1.1.2 3ad3295 Localisation updates from https://translatewiki.net. 59e926f Murdering OptionWidget's `rel` config option ca6a16f Show the modal overlay as soon as openWindow is called 69fb4a0 Localisation updates from https://translatewiki.net. d579dbd Localisation updates from https://translatewiki.net. af5f5b9 Match 'color' rules to 'background-color' rules for accessibility f1efb3b .theme-oo-ui-textInputWidget cleanup 845bb0a Localisation updates from https://translatewiki.net. 05f0fef Add missing config documentation for PendingElement Change-Id: Iec009d9e535cd4427c2bb1100e29cf78b4494152
* Update OOjs UI to v0.1.0-pre (12b66051ff)James D. Forrester2014-11-061-14/+11
| | | | | | | | | | | New changes: 0bcb0a1 Style mediawiki theme checkbox 227aefa paralell -> parallel 51ee44c Remove nonfunctional $icon/$indicator code from OptionWidget 735ba0e Use Object.prototype.hasOwnProperty where appropriate 324b8cb Localisation updates from https://translatewiki.net. Change-Id: I2919d80b9ea5231f45b1e14ae1393a0f7665ec0c
* Update OOjs UI to v0.1.0-pre (b38d485723)James D. Forrester2014-11-041-39/+76
| | | | | | | | | | | | New changes: 5a88296 Further mute keyboard shortcuts when disabled 0cdba98 Allow errors to be warnings, and give continue rather than retry button 31a1cbb Normalize configuration initialization 42ce966 Populate LookupInputWidget on mousedown too 3ed0d9c Removing text-shadow from readonly/disabled text in TextInputWidget 68eb012 Add missing message docs for ooui-dialog-process-continue Change-Id: Ie55491851f7509295fdddbc5229bab2a32e83e8e
* Update OOjs UI to v0.1.0-pre (571f26d0ab)James D. Forrester2014-11-031-2/+4
| | | | | | | | | | New changes: 8ada8cd OOUI PHP: Use 'OOUI' namespace instead of 'OoUi' class name prefix 4c56ad5 More random documentation fixes 3eb27b9 Recompute ComboBox selection when adding/removing items e596cc5 Followup d3367bb: make FieldsetLayout <label>s display: block; Change-Id: I5525a6285f4f24fa0fd997482c1735bef5639dc6
* Update OOjs UI to v0.1.0-pre (eee616d664)James D. Forrester2014-10-311-159/+223
| | | | | | | | | | | | | New changes: f2e316a JS/PHP comparison test suite tweaks d6dbeb1 [BREAKING CHANGE] Rename InlineMenuWidget → DropdownWidget 2c53fc3 ButtonElement: Add 'font-family: inherit;' to support ButtonInputWidgets ac42c94 More documentation tweaks 71b3ebc FieldLayout: Add 'help' config option support to PHP 5265427 OOUI PHP: Support RTL text direction 9204727 Clean up horrible things in LookupInputWidget Change-Id: Ifb7ffb180033422b5c3abfe56eb63a5b44d6789e
* Update OOjs UI to v0.1.0-pre (da4b0d5c14)James D. Forrester2014-10-291-61/+100
| | | | | | | | | | | | | | | | New changes: e830a4d Conf for doxygen based PHP doc 80ecf60 Semiautomatically compare and synchronise JS and PHP docs 521fa21 Move 'readOnly' from InputWidget to TextInputWidget 9130eb3 OoUiTag: HTML-escape everything by default 0488141 Generate and run a JS/PHP comparison test suite c552fea ButtonInputWidget: Explicitly disallow setting value when using <input/> ab69d96 Apex, MediaWiki themes: Move colour definitions into LESS variables d3367bb Turn FieldLayout into a <label/> 8a38c10 Provide abstract getLookupCacheItemFromData in LookupInputWidget da4b0d5 Set input/menu widgets to have a max-width expanding to 100% rather than hard-coded Change-Id: Id3e280a03fc305dc5cb706bc1208246275d169cb
* Update OOjs UI to v0.1.0-pre (deccd11549)James D. Forrester2014-10-281-19/+17
| | | | | | | | | | | | | | | New changes: be1f468 Localisation updates from https://translatewiki.net. de6d500 Localisation updates from https://translatewiki.net. 049b28f Localisation updates from https://translatewiki.net. a926d7d Fix a number of documentation syntax issues throughout the codebase df625c4 Use primary colours for progress bar d721cc1 Localisation updates from https://translatewiki.net. c3aa4e1 [BREAKING CHANGE] Apply font-size: 0.8em; to non-isolated windows too 140509d [BREAKING CHANGE] If no $overlay is specified, default to this.$element deccd11 Localisation updates from https://translatewiki.net. Change-Id: Idf1f1c047dd414edc8cb80a6187055fc811dc95e
* Update OOjs UI to v0.1.0-pre (40de4dabe6)James D. Forrester2014-10-221-2/+2
| | | | | | | | New changes: 849a687 Mute text color of accelerators in tool groups 40de4da Remind people to run composer install Change-Id: I91c369da9170b6561906d27d193ce42b02ade021
* Update OOjs UI to v0.1.0-pre (531d497d3b)James D. Forrester2014-10-211-27/+32
| | | | | | | | | | | | | | | New changes: 3cd90ee TextInputWidget: Allow changing 'type' attribute 8bf9c29 FormLayout: Accept HTML form attributes as config options fadc51d OOUI PHP: Unbreak ButtonWidget 50b926c build: Introduce 'quick-build' task 8e71673 Make padding between popup and container configurable e432f9f Fix anchor positioning on popups 16ae17a PopupWidget: Remove references to 'show' and 'hide' events cfe286f Localisation updates from https://translatewiki.net. 272476b GridLayout: Set dimensions.visibility = '' again if we have a height and a width Change-Id: Ia2a6125e0da7659b08252b4ea2c2ddd9f6baa88a
* Update OOjs UI to v0.1.0-pre (44db8292bf)James D. Forrester2014-10-211-10/+76
| | | | | | | | | | | | New changes: bcc2927 Display keyboard shortcuts in right gutter of toolbar menus f73d2b6 Localisation updates from https://translatewiki.net. 42be2b7 Progress bar widget 9833d47 Fix consoles in widgets demo 83645c4 OoUiPHP: Improve theme singleton handling b4f0bc7 Add composer.json, use it for autoloading Change-Id: I8770f4359eb912e01371cd6843da6dd61d832c3a
* Update OOjs UI to v0.1.0-pre (db065e5a9f)James D. Forrester2014-10-201-2/+245
| | | | | | | | | | | | New changes: 8e1a057 ListToolGroup: Implement collapsible/expandable tools 35b58b5 Introduce ButtonInputWidget 9ca3b79 FlaggedElement: Fix PHP notice db065e5 Localisation updates from https://translatewiki.net. Locally, add the two new messages to the Resources.php manifest. Change-Id: I27a925d3f8799fe1f5635cb41de95f5d555d1f5a
* OOjs UI: Re-build pull-through from scratch to vet for unused filesJames D. Forrester2014-10-171-1/+1
| | | | Change-Id: Ic1625794af28f986c0f40d1289983f474602ec9e
* Update OOjs UI to v0.1.0-pre (0d358b167a)James D. Forrester2014-10-171-133/+144
| | | | | | | | | | | | | | | | | New changes: 630586d noflip left: 0; rule for overlays 03e5106 Rewrite OO.ui.Element.getRelativePosition() to be smarter 90d4eef Replace calls to OO.ui.bind( fn, ... ) with fn.bind( ... ) 77f0cd3 [BREAKING CHANGE] Remove deprecated Minerva theme 3e415f0 Clean up unneeded use of bind() 21c5b18 PHP Implementation of OOjs UI 3eb2ee5 OOUI PHP: TitledElement 70b35b2 OOUI PHP: GroupElement, ButtonGroupWidget 2f0df0d OOUI PHP: Layouts: Field, Fieldset, Form, Panel, Grid d856e81 OOUI PHP: Widgets: Icon, Indicator, Label, Input, TextInput, CheckboxInput 0d358b1 build: Fix PNG image generation Change-Id: I2d02d29c267a1b0db0cd1e1c19b93f488d02a9c2
* Update OOjs UI to v0.1.0-pre (99ec31d9b9)James D. Forrester2014-10-161-9/+13
| | | | | | | | | | | | New changes: 6298415 ButtonWidget: Fix titled button 918ebed MediaWiki theme: Fix styling of SearchWidget bd03644 Refine global event handling in non-isolated window managers 9a7633c WindowManager: Wait for window to open before trying to close it 5516490 Element: Correct method name reference in documentation 99ec31d Position popups and their anchors correctly in RTL Change-Id: I4266c58ec1a2e6cee54ffc55891a5c2097f0222f
* Update OOjs UI to v0.1.0-pre (1829141230)James D. Forrester2014-10-151-3/+3
| | | | | | | New changes: 393fd80 TextInputMenuWidget: Handle undefined value properly when toggling visibility Change-Id: I4f6a7f62803d441de53271c645f07f76d23b3d06
* Update OOjs UI to v0.1.0-pre (98cecf304d)James D. Forrester2014-10-151-5/+19
| | | | | | | New changes: 98cecf3 Support MenuWidget's config.widget being in a different document Change-Id: Ifc30790e67926bbdda0a8d5ec9464e7046f984ea
* Update OOjs UI to v0.1.0-pre (d74a46ca6a)James D. Forrester2014-10-141-3/+5
| | | | | | | New changes: d74a46c Introduce oo-ui-window-inner-overlay Change-Id: I3f325f3c514d334179de46d0ea092b48f13b9dfd
* Update OOjs UI to v0.1.0-pre (837b2f733e)James D. Forrester2014-10-101-18/+7
| | | | | | | | | | | | | | | | New changes: d40dd30 build: Update grunt-contrib-uglify to v0.6.0 0d89c99 test: Load a theme for the test HTML file so the tests don't fail f245aa4 Element: Remove test for deprecated onDOMEvent() cd15f18 Follow-up I730e3d7d: Tab not spaces a923881 build: Use Karma instead of grunt-contrib-qunit 381864c build: Use Chrome and Firefox for tests instead of PhantomJS 044faa5 Follow-up If2da01a2: Fix grunt watch d6e7af8 Adding OO.ui.TitledElement as mixin to label widget 6385af7 MediaWiki theme: Add filled white background to toolbars 837b2f7 Revert "Try to stop user from tabbing outside of open dialog box" Change-Id: I63d51311f73d1295a2a35ebadf7d9ac835dec5c7
* Update OOjs UI to v0.1.0-pre (26dadbc60f)James D. Forrester2014-10-061-19/+25
| | | | | | | | | | | | | | | New changes: 6c91643 Make buttons respond to :active events 9137aaf Move window overlay up to be a sibling of the frame 19d8c83 ComboBoxWidget: Append menu to $overlay option eb0fcb8 InlineMenuWidget: Fix documentation 19d2c2b SelectWidget: Fix typos in documentation 495d281 TextInputMenuWidget: Fix typo in documentation b4ae961 Toolbar: Correctly display "More" label on catch-all groups 32e769e Toolbar demo: Fix tool name mismatch e9983b6 build: Clean up Grunt config and add missing csscomb run Change-Id: I1ee2e51460c709fa01934ae7d58ac8411b124867
* Update OOjs UI to v0.1.0-pre (48980881f3)James D. Forrester2014-10-031-35/+33
| | | | | | | | | New changes: aafebc4 LookupInputWidget: Fix whitespace and documentation cf89618 Element: Remove unneeded IIFE 4898088 build: Create minified JS and CSS distribution files Change-Id: Iaea30c2429401be4061f30d98a8edc7cce5567b1
* Update OOjs UI to v0.1.0-pre (30b0407428)James D. Forrester2014-09-301-24/+45
| | | | | | | | | | | | | New changes: 3386c39 Make this.$.$iframe actually point to an iframe again bb7bbf5 ClippableElement: Use 'overflow-[xy]: scroll' rather than 'auto' 71176eb TextInputWidget: Don't mix inner and outer heights in calculations f1dd60e TextInputWidget: Work around Blink height miscalculation 954a369 WindowManager: Emit 'resize' event when a window is resized 3232d6f Try to stop user from tabbing outside of open dialog box 6c4baa3 Tool: Use FlaggedElement mixin to let tools be flagged Change-Id: Ia0a0b45e5f210314592733114a05583973b011d6
* Update OOjs UI to v0.1.0-pre (afa3241e8e)Roan Kattouw2014-09-301-12/+119
| | | | | | | | | | | | | | New changes: 8daef61 TextInputWidget: Add setValidation function to change pattern used to validate text 953c46c [BREAKING CHANGE] Create a MediaWiki theme e2a3bae PopupWidget: Position body/anchor using 'margin-left' instead of 'left' 4f50c34 Correct the left positioning of a popup wrapper afa3241 Move references to pending.gif to the themes that provide it Update changes: * Update links to OOjs UI distribution files Change-Id: Ic59650b56de44807348db4df46c538756ed9329e
* Update OOjs UI to v0.1.0-pre (98e770ce46)Roan Kattouw2014-09-261-3/+3
| | | | | | | | New changes: 888f1c6 Fix for endless loop in SelectWidget 28f6b94 PopupWidget: Make $element not be a 0x0 box Change-Id: Id9c9e79e4a1fb4d3a42f7fec65c1360b3b192bfd
* Update OOjs UI to v0.1.0-pre (880100c45e)James D. Forrester2014-09-231-2/+5
| | | | | | | New changes: e43584b Re-clip popups after resizing them Change-Id: Ic4fa16be8e7bb0af9b05c9ad46ddbb45880b9ccc
* Update OOjs UI to v0.1.0-pre (4ea8e2cba9)James D. Forrester2014-09-231-3/+48
| | | | | | | | | | | New changes: 5d58e70 Documentation: ActionWidget is non-framed by default 7ecfa7c TextInputWidget: Determine validity on blur and change. 7c0834d Localisation updates from https://translatewiki.net. 948b303 build: Split test into a lint task for quickly running those tasks bab8bef Localisation updates from https://translatewiki.net. Change-Id: I5ccdeb9b5815ffef674dd17fe713a6b0e87ec2a4
* Update OOjs UI to v0.1.0-pre (f2c3f12959)James D. Forrester2014-09-181-4/+14
| | | | | | | | | | New changes: f8e3599 Fix automatic sizing of windows 427b9a4 README: Add devDependencies badge 5018f7b build: Use csscomb to prettify the CSS f2c3f12 Followup ec785c2: re-evaluate clipping state after positioning Change-Id: I0e1d5d44a6e90a66cfa280c782b6e75ba44ce7c4
* Update OOjs UI to v0.1.0-pre (ec785c2c64)James D. Forrester2014-09-171-6/+15
| | | | | | | | New changes: 09e9d2c Fix documentation lies about dialog labels ec785c2 Followup 6c862e8: position before AND after showing in TextInputMenuWidget Change-Id: Ia1c9aa039503f0f18ac1da7748e7f87bfcdf7092
* Update OOjs UI to v0.1.0-pre (24ac83a472)James D. Forrester2014-09-171-8/+13
| | | | | | | | | | New changes: 91a7fab build: Bump miscellaneous devDependencies to latest 18c32c5 Localisation updates from https://translatewiki.net. 283e2a1 When updating the ideal size while not clipping, set that size 6c862e8 Update width of TextInputMenuWidget before fitting labels, not after Change-Id: If825e0ec0e294b2569c98b5340be436ba896eceb
* Update OOjs UI to v0.1.0-pre (49b64bdba7)Roan Kattouw2014-09-151-86/+98
| | | | | | | | New changes: c82b429 Work around position: fixed; bug in Safari 9e1432e Split out isPending, pushPending, popPending, etc. into PendingElement Change-Id: Ifd213123adfc9c96de2f16379c8ed3d706c210f8
* Update OOjs UI to v0.1.0-pre (073f37e258)James D. Forrester2014-09-151-6/+10
| | | | | | | New changes: 073f37e Improve FieldLayout help popup appearance Change-Id: I6f201a99f40a8504a4c42d8f2220a3a7319a6025
* Update OOjs UI to v0.1.0-pre (bd008e8aed)Roan Kattouw2014-09-111-27/+42
| | | | | | | | New changes: 845287a Update OOjs to v1.1.1 f7d11f7 Make popups position themselves correctly when dimensions change Change-Id: I16ae22e6a921666de5b7ada7d7750621eb3ca5a7