diff --git a/.github/dependabot.yml b/.github/dependabot.yml new file mode 100644 index 00000000..aa2f7456 --- /dev/null +++ b/.github/dependabot.yml @@ -0,0 +1,13 @@ +version: 2 +updates: + - package-ecosystem: github-actions + directory: "/" + schedule: + interval: monthly + + # Group all dependabot version update PRs into one + groups: + github-actions: + applies-to: version-updates + patterns: + - "*" diff --git a/.github/workflows/node.js.yml b/.github/workflows/node.js.yml new file mode 100644 index 00000000..e9d2fe6c --- /dev/null +++ b/.github/workflows/node.js.yml @@ -0,0 +1,30 @@ +# For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-nodejs + +name: Node.js CI + +on: + pull_request: + push: + branches-ignore: "dependabot/**" + +jobs: + build: + + runs-on: ubuntu-latest + + strategy: + matrix: + node-version: [18.x, 20.x] + + steps: + - name: Checkout + uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 + - name: Install xmllint + run: sudo apt-get install -y libxml2-utils + - name: Use Node.js ${{ matrix.node-version }} + uses: actions/setup-node@1d0ff469b7ec7b3cb9d8673fde0c81c44821de2a # v4.2.0 + with: + node-version: ${{ matrix.node-version }} + cache: 'npm' + - run: npm ci + - run: npm test diff --git a/.nvmrc b/.nvmrc new file mode 100644 index 00000000..3c032078 --- /dev/null +++ b/.nvmrc @@ -0,0 +1 @@ +18 diff --git a/Gruntfile.js b/Gruntfile.js index 15d01b05..fa66dfde 100644 --- a/Gruntfile.js +++ b/Gruntfile.js @@ -22,7 +22,12 @@ grunt.initConfig({ all: "resources/**" }, wordpress: (function() { - var config = require( "./config" ); + + // There's no config for CI, but we don't need one for basic testing + var config = {}; + try { + config = require( "./config" ); + } catch ( error ) {} config.dir = "dist/wordpress"; return config; })() diff --git a/categories.xml b/categories.xml index c0ed6b44..3869a7a1 100644 --- a/categories.xml +++ b/categories.xml @@ -2,7 +2,7 @@ jQuery UI adds quite a bit of functionality on top of jQuery's built-in effects. jQuery UI adds support for animating colors and class transitions, as well as providing several additional easings. In addition, a full suite of custom effects are available for use when showing and hiding elements or just to add some visual appeal.

+

jQuery UI adds quite a bit of functionality on top of jQuery's built-in effects. jQuery UI adds support for animating colors and class transitions, as well as providing several additional easings. In addition, a full suite of custom effects are available for use when showing and hiding elements or just to add some visual appeal.

]]>
@@ -29,12 +29,12 @@ Functionality provided by jquery.ui.core.js.

+

Functionality provided by core.js.

]]>
Functionality provided by jquery.ui.effect.js. In addition to the methods listed below, jquery.ui.effect.js also includes several easings.

+

Functionality provided by effect.js. In addition to the methods listed below, effect.js also includes several easings.

]]>
diff --git a/entries/accordion.xml b/entries/accordion.xml index b4c107eb..629bb1f1 100644 --- a/entries/accordion.xml +++ b/entries/accordion.xml @@ -39,8 +39,13 @@
  • ui-accordion: The outer container of the accordion.
      -
    • ui-accordion-header: The headers of the accordion. The headers will additionally have a ui-accordion-icons class if they contain icons.
    • -
    • ui-accordion-content: The content panels of the accordion.
    • +
    • + ui-accordion-header: The headers of the accordion. The active header will additionally have a ui-accordion-header-active class, the inactive headers will have a ui-accordion-header-collapsed class. The headers will also have a ui-accordion-icons class if they contain icons. +
        +
      • ui-accordion-header-icon: Icon elements within each accordion header.
      • +
      +
    • +
    • ui-accordion-content: The content panels of the accordion. The active content panel will additionally have a ui-accordion-content-active class.
  • @@ -78,7 +83,7 @@ Name of easing to use with default duration. - Animation settings with easing and duration properties. + An object containing easing and duration properties to configure animations.
    • Can also contain a down property with any of the above options.
    • "Down" animations occur when the panel being activated has a lower index than the currently active panel.
    • @@ -86,6 +91,15 @@ + @@ -93,10 +107,28 @@ -
    -