Commit Graph

7358 Commits

Author SHA1 Message Date
dependabot[bot]
044b114e85
Build: Bump express from 4.19.2 to 4.20.0
Bumps [express](https://github.com/expressjs/express) from 4.19.2 to 4.20.0.
- [Release notes](https://github.com/expressjs/express/releases)
- [Changelog](https://github.com/expressjs/express/blob/master/History.md)
- [Commits](https://github.com/expressjs/express/compare/4.19.2...4.20.0)

---
updated-dependencies:
- dependency-name: express
  dependency-type: direct:development
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-09-21 06:14:49 +00:00
Michał Gołębiowski-Owczarek
36ed9fc3b0
Effect: Remove demos & visual tests of the transfer effect
The transfer effect is deprecated and not present unless `$.uiBackCompat` is set
to `true`. In previous UI versions, the default was including the backwards
compat layer so these demos & tests worked; now they do not by default. Just
remove them.

Fixes gh-2278
Closes gh-2291
2024-09-16 17:16:40 +02:00
Daniel García
c934995efa
Resizable: Fix content shrink on resize
Make resizable elements not shrink on resize when they have scrollbars
and "box-sizing: content-box".

Fixes: gh-2277
Closes gh-2281
2024-09-09 23:51:57 +02:00
Ralf Koller
d564731f20
Dialog: Add option to put the dialog title in a header element
Implement a new option: `uiDialogTitleHeadingLevel`, allowing to change
the `span` wrapping the dialog title into a heading element (`h1`-`h6`).
Value `0` represents the `span`, values 1-6 - a heading at the specified
level.

Fixes gh-2271
Closes gh-2275
2024-09-09 17:55:58 +02:00
Michał Gołębiowski-Owczarek
fd1b8a03b2
Tests: Properly check $.uiBackCompat in common widget tests
The "common widget" tests, checking if a widget doesn't overwrite some
core widget APIs wasn't running as it was incorrectly checking for
`$.uiBackCompat === false` instead of `$.uiBackCompat !== true` after the
default changed in gh-2250.

Fixing the check uncovered that the draggable & sortable modules do
overwrite the `_trigger` method. Add an exception in the test for that;
at this stage of the project we don't plan to change the implementation.

Closes gh-2286
Ref gh-2250
2024-09-09 17:52:53 +02:00
Michał Gołębiowski-Owczarek
54f96eea31
Release: Update download.jqueryui.com from 2.3.7 to 2.3.10 2024-08-05 22:52:56 +02:00
Michał Gołębiowski-Owczarek
1e67c0d593
Build: Updating the main version to 1.14.1-pre. 2024-08-05 20:58:10 +02:00
Michał Gołębiowski-Owczarek
2fb378e860
Docs: Update AUTHORS.txt 2024-08-05 19:54:51 +02:00
Porter Clevidence
02a6e6bcb0
Datepicker: Hide the UI on destroy
When the datepicker UI is shown and then destroyed programmatically:
```js
$( "#datepicker" ).datepicker( "destroy" );
```
hide the datepicker UI without the need for an explicit user action.
Previously, in 1.12 the UI would not disappear immediately but only after the
first `mousedown`. In later 1.13 versions, the UI would not disappear at all.

Fixes gh-2178
Closes gh-2268
2024-08-05 19:30:53 +02:00
dependabot[bot]
a0c5b12e82
Build: Bump actions/setup-node from 4.0.2 to 4.0.3 in the github-actions group
Bumps the github-actions group with 1 update: [actions/setup-node](https://github.com/actions/setup-node).

Updates `actions/setup-node` from 4.0.2 to 4.0.3
- [Release notes](https://github.com/actions/setup-node/releases)
- [Commits](60edb5dd54...1e60f620b9)

Closes gh-2276

---
updated-dependencies:
- dependency-name: actions/setup-node
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: github-actions
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-08-05 18:32:29 +02:00
Michał Gołębiowski-Owczarek
cd41c45d91
Tests: Update jQuery Migrate from 3.4.1 to 3.5.2, simplify Migrate setup
Apart from updating jQuery Migrate, the setup is now changed so that exact
Migrate versions are only references when fetching npm packages; other than
that, they're represented as `jquery-migrate-1.x` & `jquery-migrate-3.x`. This
will allow smaller changes when updating jQuery Migrate in the future.

Closes gh-2273
2024-07-30 17:53:47 +02:00
Michał Gołębiowski-Owczarek
600057f59c
Demos: Make autocomplete demos work on jqueryui.com
The `jqueryui.com` demos build process deAMDifies HTML files, replacing required
JS files with direct script tags. On the other hand, when running demos locally
from the jQuery UI repository, RequireJS is used.

This used to work fine until we got a new `search.js` file introduced in
gh-2187. The deAMDifying process doesn't touch non-HTML files which made loading
autocomplete demos crash on "require is not a function"

To resolve the issues without a major rearchitecture of the build process,
the `search.js` file now detects AMD and uses `require`, falling back to relying
on the `jQuery` global in the other case.

Closes gh-2274
Ref gh-2187
Ref jquery/jqueryui.com#216
2024-07-30 08:31:10 +02:00
Michał Gołębiowski-Owczarek
5665215a85
Build: Group dependabot PRs updating GitHub Actions
We have monthly automatic dependabot PRs for GitHub Actions. Unfortunately,
as of now we get a separate PR for every dependency which is a bit spammy
compared to regular commits updating source.

Thankfully, there's now a way to tell dependabot to submit a single PR per
a defined group. This change defines a single group to have a single dependabot
PR for all action updates.

Closes gh-2267
Ref jquery/jquery#5503
2024-07-08 19:04:44 +02:00
Michał Gołębiowski-Owczarek
7f0e920a97
Release: Update download.jqueryui.com from 2.3.6 to 2.3.7 2024-07-05 18:53:40 +02:00
dependabot[bot]
872c28a94e
Build: Bump actions/checkout from 4.1.6 to 4.1.7
Bumps [actions/checkout](https://github.com/actions/checkout) from 4.1.6 to 4.1.7.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](a5ac7e51b4...692973e3d9)

Closes gh-2266

---
updated-dependencies:
- dependency-name: actions/checkout
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-07-05 18:26:55 +02:00
Michał Gołębiowski-Owczarek
2735f7d939
Release: Update download.jqueryui.com from 2.3.5 to 2.3.6 2024-06-15 00:31:33 +02:00
Michał Gołębiowski-Owczarek
fdb5ee3a0f
Release: Update download.jqueryui.com from 2.3.4 to 2.3.5 2024-06-15 00:16:36 +02:00
Michał Gołębiowski-Owczarek
b76883ad3f
Release: Fix the release script 2024-06-14 19:05:41 +02:00
Michał Gołębiowski-Owczarek
2f1f1eadf3
Release: Update download.jqueryui.com from 2.2.14 to 2.3.4 2024-06-14 18:56:20 +02:00
Michał Gołębiowski-Owczarek
04b0fd5cee
Build: Update AUTHORS.txt 2024-06-14 18:53:54 +02:00
Ralf Koller
376f142b9d
Dialog: Add aria-modal support
Reflect the `modal` dialog option into the `aria-modal` attribute -
when `modal` is `true`, set `aria-modal` to `"true"`.

This helps some accessibility tools like VoiceOver with their rotor
functionality as it reduces the number of elements presented.

Fixes gh-2246
Closes gh-2257

Co-authored-by: Michał Gołębiowski-Owczarek <m.goleb@gmail.com>
2024-06-14 13:04:00 +02:00
Timmy Willison
1f251ca399
Tests: remove testswarm grunt task
Closes gh-2263
2024-06-11 18:05:06 +02:00
Timmy Willison
d45638abfa
Tests: conslidate GH actions runs; separate git & stable jQuery versions
- also add hard retries to runs

Closes gh-2260
2024-06-05 09:41:25 -04:00
dependabot[bot]
0326f1ee86
Build: Bump actions/checkout from 4.1.4 to 4.1.6
Bumps [actions/checkout](https://github.com/actions/checkout) from 4.1.4 to 4.1.6.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](0ad4b8fada...a5ac7e51b4)

Closes gh-2259

---
updated-dependencies:
- dependency-name: actions/checkout
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-06-04 00:21:45 +02:00
Michał Gołębiowski-Owczarek
aa06be9813
Build: Test on more jQuery Core versions
The initial 1.14.0 announcement only promised support for the latest version
of jQuery Core within each major. The main goal was to avoid testing on too many
old versions. However, just testing on the latest one seems too drastic. For
now, add `3.6.4` to the mix; we'll work on a more detailed policy soon.

Closes gh-2258
2024-06-03 18:32:13 +02:00
Michał Gołębiowski-Owczarek
9180a8180b
Build: Report compressed sizes in compare_size
Just like it has always worked in Core. This will help with size comparisons
between 1.13 & 1.14.

After this PR:

```
$ grunt sizer
Running "requirejs:js" (requirejs) task

Running "uglify:main" (uglify) task
>> 1 file created 549 kB → 267 kB

Running "compare_size:all" (compare_size) task
   raw     gz Sizes
549319 128757 dist/jquery-ui.js
266710  69612 dist/jquery-ui.min.js

Done.
```

Before, only the less interesting `raw` sizes were reported.

Closes gh-2254
Ref gh-2248
2024-05-20 18:59:58 +02:00
Timmy Willison
f47c7fe44d
Tests: remove code supporting jenkins and testswarm
Close gh-2251
2024-05-15 15:19:23 -04:00
Michał Gołębiowski-Owczarek
ec3edb6876
Core: Update compatible jQuery versions
Instead of `>=1.8.0 <4.0.0`, specify `>=1.12.0 <5.0.0`.
2024-05-15 18:13:35 +02:00
Michał Gołębiowski-Owczarek
68fda5beb2
Effect: Update jQuery Color from 2.2.0 to 3.0.0
Breaking changes applicable to jQuery UI:
* Use a space when serializing, remove the transparent case ([#88](https://github.com/jquery/jquery-color/issues/88), [aaf03cc](aaf03ccec3))

See https://github.com/jquery/jquery-color/releases/tag/3.0.0 for more
information.

Fixes gh-2240
2024-05-15 18:13:35 +02:00
Michał Gołębiowski-Owczarek
f849c50db1
Build: Add /.github, /build & /external to .gitignore
Also, make some `.gitignore` paths absolute.

Fixes gh-2075
2024-05-15 14:18:07 +02:00
Michał Gołębiowski-Owczarek
5f615c275d
Tests: Fix form-reset-mixin test module name, add to the tests HTML
Ref gh-2249
2024-05-15 00:38:40 +02:00
Michał Gołębiowski-Owczarek
99250fe517
Build: Drop support for Node 10
Ref gh-2249
2024-05-15 00:38:40 +02:00
Michał Gołębiowski-Owczarek
fb19b03dc6
Docs: Fix the link to Mongoose
Ref gh-2249
2024-05-15 00:38:40 +02:00
Michał Gołębiowski-Owczarek
448df32bb1
Build: Remove unused build/themes
Ref gh-2249
2024-05-15 00:38:40 +02:00
Michał Gołębiowski-Owczarek
03cde342cd
All: Remove the deprecated ui/core.js file
Also, fix checkboxradio visual tests.

Ref gh-2249
2024-05-15 00:38:40 +02:00
Michał Gołębiowski-Owczarek
9887579b61
All: Stop relying on jquery-patch.js internally, add tests
Avoid relying on jQuery patches. Instead:
* use `CSS.escape` instead of `jQuery.escapeSelector`
* use `.filter()` with a proper handler instead of `.even()`

Keep `jquery-patch.js` for backwards compatibility, though.

Also, add tests for jquery-patch.

Ref gh-2249
2024-05-15 00:38:40 +02:00
Michał Gołębiowski-Owczarek
f90eab84b5
Sortable: Rename storedStylesheet to _storedStylesheet
This follows the naming strategy for other internal properties.

Ref gh-2249
2024-05-15 00:38:40 +02:00
Michał Gołębiowski-Owczarek
bb49bd794b
All: Drop support for IE & some other browsers (but mostly IE)
Closes gh-2249
2024-05-15 00:38:40 +02:00
Michał Gołębiowski-Owczarek
daa6fb55b3
All: Drop support for jQueries different than the latest for each major
Also, remove the ability to run the test suite in jQuery <1.12.4 & <2.2.4.

Closes gh-2249
2024-05-15 00:38:30 +02:00
Michał Gołębiowski-Owczarek
ac8b1e4eee
Core: Make back compat disabled by default
Closes gh-2250
2024-05-13 18:11:57 +02:00
dependabot[bot]
969d182963
Build: Bump actions/checkout from 4.1.2 to 4.1.4
Bumps [actions/checkout](https://github.com/actions/checkout) from 4.1.2 to 4.1.4.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](9bb56186c3...0ad4b8fada)

Closes gh-2247

---
updated-dependencies:
- dependency-name: actions/checkout
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-05-06 22:48:53 +02:00
Michał Gołębiowski-Owczarek
a3d44f2860
Build: Updating the main version to 1.14.0-pre 2024-04-27 01:10:15 +02:00
Michał Gołębiowski-Owczarek
798a82dfc3
Build: Updating the main version to 1.13.4-pre. 2024-04-26 17:48:43 +02:00
Michał Gołębiowski-Owczarek
8622684eed
Build: Update AUTHORS.txt 2024-04-26 17:36:36 +02:00
Michał Gołębiowski-Owczarek
8e34aa6155
Docs: Update leftover HTTP Trac URLs to HTTPS 2024-04-26 17:28:11 +02:00
Michał Gołębiowski-Owczarek
f4a97881ef
Build: Update download.jqueryui.com from 2.2.12 to 2.2.14 2024-04-26 17:22:46 +02:00
Michał Gołębiowski-Owczarek
4966aea381
Docs: Change a few most common domains from HTTP to HTTPS
Also, update a few stale URLs to what they redirect now to.

Closes gh-2244
2024-04-26 16:25:34 +02:00
mark van tilburg
28895912d7
Update custom_render.html (#2242)
This fixes mixed content errors on the selectmenu demo page at jqueryui.com.

Closes gh-2242
2024-04-25 23:53:11 +02:00
Michał Gołębiowski-Owczarek
9fcae942a6
Build: Update release dependencies
In particular, the `node-packager` update is required for the release process
to work on newer Node.js versions.

Closes gh-2239
2024-04-22 18:08:44 +02:00
divdeploy
4da7a30ff4
Docs: remove a duplicated "be" in an accordion demo
Closes gh-2233

Signed-off-by: divdeploy <chenguangxue@outlook.com>
2024-04-12 17:12:36 +02:00