Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

oojs-ui

Package Overview
Dependencies
Maintainers
3
Versions
232
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

oojs-ui - npm Package Compare versions

Comparing version 0.6.0 to 0.6.1

4

build/tasks/typos.js

@@ -86,5 +86,5 @@ /*!

grunt.log.ok( 'No typos found; ' +
fileCount + ' file' + ( fileCount !== 1 ? 's' : '') + ' checked for ' +
typoCount + ' typo' + ( typoCount !== 1 ? 's' : '') + '.' );
fileCount + ' file' + ( fileCount !== 1 ? 's' : '' ) + ' checked for ' +
typoCount + ' typo' + ( typoCount !== 1 ? 's' : '' ) + '.' );
} );
};

@@ -373,3 +373,3 @@ /**

.text( val ),
$('<div>')
$( '<div>' )
.addClass( 'oo-ui-demo-console-log-line oo-ui-demo-console-log-line-return' )

@@ -380,3 +380,3 @@ .text( logval || result.value )

if ( result.error ) {
$log.append( $('<div>').addClass( 'oo-ui-demo-console-log-line oo-ui-demo-console-log-line-error' ).text( result.error ) );
$log.append( $( '<div>' ).addClass( 'oo-ui-demo-console-log-line oo-ui-demo-console-log-line-error' ).text( result.error ) );
}

@@ -383,0 +383,0 @@

@@ -28,5 +28,5 @@ OO.ui.Demo.static.pages.dialogs = function ( demo ) {

} );
closeButton.on('click', function () {
closeButton.on( 'click', function () {
dialog.close();
});
} );

@@ -76,3 +76,5 @@ this.content.$element.append( closeButton.$element );

SearchWidgetDialog.super.prototype.initialize.apply( this, arguments );
var i, items = [], searchWidget = new OO.ui.SearchWidget( { $: this.$ } );
var i,
items = [],
searchWidget = new OO.ui.SearchWidget( { $: this.$ } );
for ( i = 1; i <= 20; i++ ) {

@@ -79,0 +81,0 @@ items.push( new OO.ui.OptionWidget( { $: this.$, data: i, label: 'Item ' + i } ) );

@@ -12,3 +12,4 @@ {

"مشعل الحربي",
"ترجمان05"
"ترجمان05",
"Abanima"
]

@@ -20,2 +21,4 @@ },

"ooui-toolbar-more": "مزيد",
"ooui-toolgroup-expand": "مزيد",
"ooui-toolgroup-collapse": "أقل",
"ooui-dialog-message-accept": "موافق",

@@ -25,3 +28,4 @@ "ooui-dialog-message-reject": "ألغ",

"ooui-dialog-process-dismiss": "أغلق",
"ooui-dialog-process-retry": "حاول مرة أخرى"
"ooui-dialog-process-retry": "حاول مرة أخرى",
"ooui-dialog-process-continue": "استمر"
}

@@ -18,2 +18,4 @@ {

"ooui-toolbar-more": "Περισσότερα",
"ooui-toolgroup-expand": "Περισσότερα",
"ooui-toolgroup-collapse": "Λιγότερα",
"ooui-dialog-message-accept": "ΟΚ",

@@ -23,3 +25,4 @@ "ooui-dialog-message-reject": "Ακύρωση",

"ooui-dialog-process-dismiss": "Απόρριψη",
"ooui-dialog-process-retry": "Δοκιμάστε ξανά"
"ooui-dialog-process-retry": "Δοκιμάστε ξανά",
"ooui-dialog-process-continue": "Συνέχεια"
}

@@ -6,3 +6,4 @@ {

"Kscanne",
"Toliño"
"Toliño",
"Elisardojm"
]

@@ -14,2 +15,4 @@ },

"ooui-toolbar-more": "Máis",
"ooui-toolgroup-expand": "Máis",
"ooui-toolgroup-collapse": "Menos",
"ooui-dialog-message-accept": "Aceptar",

@@ -19,3 +22,4 @@ "ooui-dialog-message-reject": "Cancelar",

"ooui-dialog-process-dismiss": "Agochar",
"ooui-dialog-process-retry": "Inténteo de novo"
"ooui-dialog-process-retry": "Inténteo de novo",
"ooui-dialog-process-continue": "Continuar"
}

@@ -23,3 +23,4 @@ {

"ooui-dialog-process-dismiss": "Verwerfen",
"ooui-dialog-process-retry": "Nach eng Kéier probéieren"
"ooui-dialog-process-retry": "Nach eng Kéier probéieren",
"ooui-dialog-process-continue": "Virufueren"
}

@@ -9,3 +9,4 @@ {

"Njardarlogar",
"Jdforrester"
"Jdforrester",
"Apple farmer"
]

@@ -18,3 +19,3 @@ },

"ooui-toolgroup-expand": "Mer",
"ooui-toolgroup-collapse": "Mindre",
"ooui-toolgroup-collapse": "Færre",
"ooui-dialog-message-accept": "OK",

@@ -21,0 +22,0 @@ "ooui-dialog-message-reject": "Avbryt",

/*!
* OOjs UI v0.6.0
* OOjs UI v0.6.1
* https://www.mediawiki.org/wiki/OOjs_UI
*
* Copyright 2011–2014 OOjs Team and other contributors.
* Copyright 2011–2015 OOjs Team and other contributors.
* Released under the MIT license
* http://oojs.mit-license.org
*
* Date: 2014-12-16T21:00:55Z
* Date: 2015-01-05T13:04:40Z
*/

@@ -11,0 +11,0 @@ /* Instantiation */

@@ -1,3 +0,3 @@

/*! OOjs UI v0.6.0 | http://oojs.mit-license.org */
/*! OOjs UI v0.6.1 | http://oojs.mit-license.org */
OO.ui.theme=new OO.ui.Theme;
//# sourceMappingURL=oojs-ui-apex.min.js.map
/*!
* OOjs UI v0.6.0
* OOjs UI v0.6.1
* https://www.mediawiki.org/wiki/OOjs_UI
*
* Copyright 2011–2014 OOjs Team and other contributors.
* Copyright 2011–2015 OOjs Team and other contributors.
* Released under the MIT license
* http://oojs.mit-license.org
*
* Date: 2014-12-16T21:00:55Z
* Date: 2015-01-05T13:04:40Z
*/

@@ -11,0 +11,0 @@ /**

@@ -1,3 +0,3 @@

/*! OOjs UI v0.6.0 | http://oojs.mit-license.org */
/*! OOjs UI v0.6.1 | http://oojs.mit-license.org */
OO.ui.MediaWikiTheme=function(){OO.ui.MediaWikiTheme.super.call(this)},OO.inheritClass(OO.ui.MediaWikiTheme,OO.ui.Theme),OO.ui.MediaWikiTheme.prototype.getElementClasses=function(a){var b,c={invert:!1,progressive:!1,constructive:!1,destructive:!1},d=OO.ui.MediaWikiTheme.super.prototype.getElementClasses.call(this,a);a.supports(["isFramed","isDisabled","hasFlag"])&&(!a.isDisabled()&&a.isFramed()&&a.hasFlag("primary")?c.invert=!0:(c.progressive=a.hasFlag("progressive"),c.constructive=a.hasFlag("constructive"),c.destructive=a.hasFlag("destructive")));for(b in c)d[c[b]?"on":"off"].push("oo-ui-image-"+b);return d},OO.ui.theme=new OO.ui.MediaWikiTheme;
//# sourceMappingURL=oojs-ui-mediawiki.min.js.map
# OOjs UI Release History
## v0.6.1 / 2015-01-05
* Remove use of Math.round() for offset and position pixel values (Bartosz Dziewoński)
* Update JSPHP-suite.json (Bartosz Dziewoński)
* ButtonElement: Inherit all 'font' styles, not only 'font-family' (Bartosz Dziewoński)
* FieldsetLayout: Shrink size of label and bump the weight to compensate (James D. Forrester)
* IndicatorElement: Fix 'indicatorTitle' config option (Bartosz Dziewoński)
* Error: Unmark as @abstract (Bartosz Dziewoński)
* build: Update various devDependencies (James D. Forrester)
* readme: Update badges (Timo Tijhof)
* readme: No need to put the same heading in twice (James D. Forrester)
## v0.6.0 / 2014-12-16

@@ -4,0 +15,0 @@ * [BREAKING CHANGE] PopupToolGroup and friends: Pay off technical debt (Bartosz Dziewoński)

@@ -12,3 +12,4 @@ {

"مشعل الحربي",
"ترجمان05"
"ترجمان05",
"Abanima"
]

@@ -20,2 +21,4 @@ },

"ooui-toolbar-more": "مزيد",
"ooui-toolgroup-expand": "مزيد",
"ooui-toolgroup-collapse": "أقل",
"ooui-dialog-message-accept": "موافق",

@@ -25,3 +28,4 @@ "ooui-dialog-message-reject": "ألغ",

"ooui-dialog-process-dismiss": "أغلق",
"ooui-dialog-process-retry": "حاول مرة أخرى"
"ooui-dialog-process-retry": "حاول مرة أخرى",
"ooui-dialog-process-continue": "استمر"
}

@@ -18,2 +18,4 @@ {

"ooui-toolbar-more": "Περισσότερα",
"ooui-toolgroup-expand": "Περισσότερα",
"ooui-toolgroup-collapse": "Λιγότερα",
"ooui-dialog-message-accept": "ΟΚ",

@@ -23,3 +25,4 @@ "ooui-dialog-message-reject": "Ακύρωση",

"ooui-dialog-process-dismiss": "Απόρριψη",
"ooui-dialog-process-retry": "Δοκιμάστε ξανά"
"ooui-dialog-process-retry": "Δοκιμάστε ξανά",
"ooui-dialog-process-continue": "Συνέχεια"
}

@@ -6,3 +6,4 @@ {

"Kscanne",
"Toliño"
"Toliño",
"Elisardojm"
]

@@ -14,2 +15,4 @@ },

"ooui-toolbar-more": "Máis",
"ooui-toolgroup-expand": "Máis",
"ooui-toolgroup-collapse": "Menos",
"ooui-dialog-message-accept": "Aceptar",

@@ -19,3 +22,4 @@ "ooui-dialog-message-reject": "Cancelar",

"ooui-dialog-process-dismiss": "Agochar",
"ooui-dialog-process-retry": "Inténteo de novo"
"ooui-dialog-process-retry": "Inténteo de novo",
"ooui-dialog-process-continue": "Continuar"
}

@@ -23,3 +23,4 @@ {

"ooui-dialog-process-dismiss": "Verwerfen",
"ooui-dialog-process-retry": "Nach eng Kéier probéieren"
"ooui-dialog-process-retry": "Nach eng Kéier probéieren",
"ooui-dialog-process-continue": "Virufueren"
}

@@ -9,3 +9,4 @@ {

"Njardarlogar",
"Jdforrester"
"Jdforrester",
"Apple farmer"
]

@@ -18,3 +19,3 @@ },

"ooui-toolgroup-expand": "Mer",
"ooui-toolgroup-collapse": "Mindre",
"ooui-toolgroup-collapse": "Færre",
"ooui-dialog-message-accept": "OK",

@@ -21,0 +22,0 @@ "ooui-dialog-message-reject": "Avbryt",

{
"name": "oojs-ui",
"version": "0.6.0",
"version": "0.6.1",
"description": "User interface classes built on the OOjs framework.",

@@ -33,3 +33,3 @@ "keywords": [

"grunt-contrib-jshint": "0.10.0",
"grunt-contrib-less": "0.12.0",
"grunt-contrib-less": "1.0.0",
"grunt-contrib-uglify": "0.6.0",

@@ -39,15 +39,15 @@ "grunt-contrib-watch": "0.6.1",

"grunt-cssjanus": "0.2.2",
"grunt-file-exists": "0.1.1",
"grunt-jscs": "0.8.1",
"grunt-file-exists": "0.1.2",
"grunt-jscs": "1.1.0",
"grunt-svg2png": "0.2.5",
"grunt-karma": "0.9.0",
"grunt-promise-q": "0.1.1",
"karma": "0.12.25",
"karma-chrome-launcher": "0.1.5",
"karma-coverage": "0.2.6",
"karma": "0.12.28",
"karma-chrome-launcher": "0.1.7",
"karma-coverage": "0.2.7",
"karma-firefox-launcher": "0.1.3",
"karma-qunit": "0.1.4",
"q": "1.1.1",
"qunitjs": "1.15.0"
"q": "1.1.2",
"qunitjs": "1.16.0"
}
}

@@ -1,2 +0,3 @@

[![NPM version](https://badge.fury.io/js/oojs-ui.svg)](https://badge.fury.io/js/oojs-ui) [![devDependency Status](https://david-dm.org/wikimedia/oojs-ui/dev-status.svg)](https://david-dm.org/wikimedia/oojs-ui#info=devDependencies)
[![npm](https://img.shields.io/npm/v/oojs-ui.svg?style=flat)](https://www.npmjs.com/package/oojs-ui) [![Packagist](https://img.shields.io/packagist/v/oojs/oojs-ui.svg?style=flat)](https://packagist.org/packages/oojs/oojs-ui) [![David](https://img.shields.io/david/dev/wikimedia/oojs-ui.svg?style=flat)](https://david-dm.org/wikimedia/oojs-ui#info=devDependencies)
OOjs UI

@@ -10,5 +11,2 @@ =================

Quick start
----------
This library is available as an [npm](https://npmjs.org/) package! Install it right away:

@@ -15,0 +13,0 @@ <pre lang="bash">

@@ -160,3 +160,4 @@ /**

OO.ui.msg = function ( key ) {
var message = messages[key], params = Array.prototype.slice.call( arguments, 1 );
var message = messages[key],
params = Array.prototype.slice.call( arguments, 1 );
if ( typeof message === 'string' ) {

@@ -163,0 +164,0 @@ // Perform $1 substitution

@@ -175,3 +175,3 @@ /**

bodyHeight = Math.round( this.text.$element.outerHeight( true ) );
bodyHeight = this.text.$element.outerHeight( true );
$scrollable[0].style.overflow = oldOverflow;

@@ -178,0 +178,0 @@

@@ -237,6 +237,6 @@ /**

return {
top: Math.round( top ),
left: Math.round( left ),
bottom: Math.round( bottom ),
right: Math.round( right )
top: top,
left: left,
bottom: bottom,
right: right
};

@@ -243,0 +243,0 @@ };

@@ -79,3 +79,3 @@ /**

if ( this.indicatorTitle !== null ) {
this.$indicatorTitle.attr( 'title', this.indicatorTitle );
this.$indicator.attr( 'title', this.indicatorTitle );
}

@@ -82,0 +82,0 @@ };

/**
* @abstract
* @class

@@ -4,0 +3,0 @@ *

@@ -233,4 +233,4 @@ /**

// Figure out if this will cause the popup to go beyond the edge of the container
originOffset = Math.round( this.$element.offset().left );
containerLeft = Math.round( this.$container.offset().left );
originOffset = this.$element.offset().left;
containerLeft = this.$container.offset().left;
containerWidth = this.$container.innerWidth();

@@ -237,0 +237,0 @@ containerRight = containerLeft + containerWidth;

@@ -24,3 +24,3 @@ /**

this.setProgress( config.progress !== undefined ? config.progress : false );
this.$bar.addClass( 'oo-ui-progressBarWidget-bar');
this.$bar.addClass( 'oo-ui-progressBarWidget-bar' );
this.$element

@@ -27,0 +27,0 @@ .attr( {

@@ -342,3 +342,4 @@ /**

this.withoutSizeTransitions( function () {
var oldHeight = frameStyleObj.height, oldPosition = bodyStyleObj.position;
var oldHeight = frameStyleObj.height,
oldPosition = bodyStyleObj.position;
frameStyleObj.height = '1px';

@@ -352,3 +353,3 @@ // Force body to resize to new width

return Math.round(
return (
// Add buffer for border

@@ -355,0 +356,0 @@ ( this.$frame.outerHeight() - this.$frame.innerHeight() ) +

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is too big to display

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc