Shim repository for the jQuery UI.
components / jqueryui Goto Github PK
View Code? Open in Web Editor NEWShim repository for jQuery UI.
Home Page: http://jqueryui.com
Shim repository for jQuery UI.
Home Page: http://jqueryui.com
How can I use minified files?
The files are in the folder:
/ui/minified/
For example, the file autocomplete.min.js:
define(["jquery","./core","./widget","./position","./menu"],t)
has dependences which can't be resolved because the min files has the suffix "min" (core.js doesn't exists, the name is core.min.js).
This can be fixed if you don't add the suffix "min" to files in minified folder.
Using requirejs and trying to use jquery ui plugins from the minified/ directory raises a "Error: Script error for: jquery-ui/core". This is because minified scripts depend on non-minified scripts (eg. "./core" instead of "./core.min").
This occurs in version 1.11.2, installed with Bower.
It would be nice with the newer release candidates in this repo.
You may be interested on what's going on at jquery/jquery-ui#951.
Just as the title says.
Thanks!
Jquery-ui 1.12.0 is available
@Nami-Doc Any reason why component.json isn't there anymore?
{
"name": "jquery-ui",
"repo": "components/jqueryui",
"version": "1.10.3",
"scripts": [
"ui/jquery-ui.custom.js"
],
"dependencies": {
"components/jquery": ">= 1.8"
}
}
We just released.
It looks like somebody picked up an unexpected hitchhiker.
… Which means that bower (and perhaps component.js) will use jquery 2.x.x has the dependency, which is probably pretty unfavourable for most people.
This is not a code issue, just a way to contact the authors of this repo. I'm on the jQuery UI team and we've been discussing bower support recently. Due to various limitations of bower itself, we currently think the best approach for bower users is to keep this separate repo up-to-date, providing both individual and compiled files (for example, ui/jquery-ui.js
). Are you okay with that? We'd be happy to keep things as-is.
If you wonder what limitations I'm talking about: It mostly comes down to the lack of publishing files, comparable to how npm handles that. If we were to take over the 'jqueryui' bower package, we'd have to go back and update old tags to include compiled files. Even then, the structure of our repo doesn't match the structure of this repo, so we'd likely end up breaking existing applications. I don't think that's in anyones interest.
We just released 1.11.2.
Hi, i have this error.
Seems that it tries to get file, which not exists already, but now i don`t know how to deal with it
Here what i see now)
[RuntimeException]
Failed to execute git checkout '44ecf3794cc56b65954cc19737234a3119d036cc' -- && git reset --hard '44ecf3794cc56b65954cc19737234a3119d036cc' --
fatal: reference is not a tree: 44ecf37
package.json was removed in the latest release, but why??
We just released.
Hi,
Is it possible to add older versions?
At least all 1.8.x
Thanks,
Dragan
Hey, we've just released jQuery UI 1.13.0: https://blog.jqueryui.com/2021/10/jquery-ui-1-13-0-released/
There seems to be an issue (maybe a misuse on my part) with loading the images for themes from the components directory in SF2 application.
Loading the js ans css files is easy with Assetic but when loading the css files, the links to the related images are broken.
Color for "ui-bg_highlight-soft_100_eeeeee_1x100.png" image doesn't seem to correspond to what you get when you download UI Lightness from jQuery UI's site.
I've attached the two images. You can't easily spot the difference unless it's on a datepicker background or something.
We've released 1.11.0 yesterday. Would be good to get this repo updated. Thanks.
Previous releases of this component had the components minified. Could we also include these minified files?
Migrating dependencies from Bower, and while attempting to swap to NPM, I found a mismatch in code versions between the two package managers.
The 1.12.1 version on Bower points to this commit, while the NPM package version is pulling a .tgz file, which does not match the Bower counterpart, and is missing quite a few widgets.
Would it be possible to update the NPM listing to use the same source as Bower?
Hey,
fyi jquery-ui.js
and jquery-ui.min.js
were not updated to version 1.10.4. The other files look fine, but it looks like those two were missed.
Thanks.
I want to add jquery ui to my yii2 advance project.
Please guide me to add this to my project using composer.I am using
composer require components/jqueryui
to add this to my project. But after update i'm unable to find asset name created after this. I recently started coding in yii2 after 1.5 year, so i'm a bit lost. Do i need to create my own assets bundle. Or is there any other way (using bower). Because after this update i am finding jquery folder in app/vendor/bower and app/vendor/components folder?
I used to be able to individually include base/core.css
and base/datepicker.css
into my app.
These are still present in 1.12.0 of jquery-ui but are not in this shim repo.
Bower json only have js file so css file is missing when we use grunt.
bower json should contain
"main": [
"ui/jquery-ui.js", "themes/base/jquery-ui.css"
],
but that css file is missing.
When I install this module using Bower, I get the following warning:
bower invalid-meta jquery-ui is missing "ignore" entry in bower.json
I don’t really have a clue about Bower, but based on bower/bower#1388 I understand that this would be fixed by simply including an empty “ignore” array in the file.
We just released.
Hi,
Sorry but the link (http://symfony.com/doc/current/cookbook/assetic/asset_management.html#including-css-stylesheets) provided in #46 gives samples on how to load either multiple css or multiple js files (using the respective blocks) but only how to load one image at a time.
My issue is that the images cannot be accessed (I'm using cssrewrite) and it works fine for all images but the jqueryui ones !
The issue may come from where the jqueryui packages copy the files (componenets directory) which is not taken into account by the cssrewrite ?
Typically with the default location you have the images loaded from css file with something like this
background-image:url("images/ui-icons_72a7cf_256x240.png")
and when dumping the assets you get in web/css something that points to
background-image:url("../../images/ui-icons_ffffff_256x240.png")
which effectively points to nowhere because the directory images is not at this location (app/images) at all, it is located in app/components/jquery-ui/themes/{theme-name}/images !
v1.10.3 themes/base is there
v1.10.4 themes/base is not there
Is it possible to only checkout one folder from the /themes
folder by using git sparse checkout
?
In that case this repo could be used to checkout themes via Bower as well. I've been searching for an easy way, but was unable to find a solid answer.
The 'showCurrentAtPos' parameter cause unexpected problems with the multi-month view. The prev button fails to work. The next button forwards 3 months at a time and when clicking any date it acts like the prev button should.
We've released 1.11.1 today.
Homepage, support links, etc.
I don't know if I`missing something, but it looks like jquery-ui.js and jquery-ui.min.js are missing from both the bower installation I just attempted and the 1.11.0 release tag archives.
tl;dr ui/jquery-ui.js
as specified in bower.json is missing from bower package for v1.11.0
Are you able to tell me the licence for the items on https://github.com/components/jqueryui?
Thanks
Antony
It is different with https://github.com/jquery/jquery-ui.
And can't build it by grunt that is mentioned in the readme file.
I must set like this in bower.json:
{
"dependencies": {
"jquery-ui": "git://github.com/jquery/jquery-ui.git#1.10.3"
}
}
jquery-ui.min.js obtained from Bower is different from that obtained from http://ajax.googleapis.com/ajax/libs/jqueryui/1.12.1/jquery-ui.min.js by a backslash character in line 7 column 12704.
I'm computing the subresource integrity hash using the file from Bower, in order to ensure that the same file on Google isn't tampered with. Would be great if this bower package can be consistent with CDN
running on Ubuntu 14.04
, installing through bower
never seems to check out the ui
folder, not sure how to debug further, adding this ticket for further investigation.
I would have expected 1.12.0 not to have breaking changes. However, many files were moved from ui to ui/widgets. Per the documentation on using jquery-ui with bower, we are encouraged to use just the parts of jquery-ui our app needs to avoid downloading the whole thing. One example of such a link is given as:
<script src="bower_components/jquery-ui/ui/accordion.js"></script>
which now won't work, because accordion.js has been moved.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.