Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore(deps): update dependency @edx/paragon to v21 #678

Merged
merged 1 commit into from
Sep 6, 2023

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Aug 16, 2023

Mend Renovate

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
@edx/paragon 20.46.2 -> 21.1.4 age adoption passing confidence

Release Notes

openedx/paragon (@​edx/paragon)

v21.1.4

Compare Source

Bug Fixes
  • use Form.Checkbox instead of default checkboxes in DataTable filters (#​2555) (d07827d)

v21.1.3

Compare Source

Bug Fixes
  • disable browser autocomplete and edit dropdown items elements (93bf239)

v21.1.2

Compare Source

Reverts

v21.1.1

Compare Source

Bug Fixes

v21.1.0

Compare Source

Bug Fixes
  • filtered dropdown items by display value instead of event target (#​2547) (cac6984)
Features

v21.0.1

Compare Source

Bug Fixes

v21.0.0

Compare Source

BREAKING CHANGES
  • aria-label is required when not using aria-labelledby
    in the SelectableBoxSet component. An associated label for the component is a WCAG requirement.
For Consumers

In order to associate a label with the SelectableBoxSet component, developers can use the aria-labelledby attribute. The value of this attribute should match the id of the element that is to be referenced as a label, whether visible or not. If no visible or invisible label is provided in the markup, developers can either make an invisible one (e.g. <h3 className="sr-only">Hello, World</h3>) that only assistive technologies would pick up on, or they can opt to use an aria-label instead.

See the doc site page for SelectableBox to view a live example of using aria-labelledby.

Examples

Using aria-labelledby with the SelectableBoxSet component:

<div className="bg-light-200 p-3">
  {/** `id` provided to the `h3` is the same value as the `aria-labelledby` in `SelectableBox.Set` **/}
  <h3 id="cheese selection" className="mb-4">
    Select your favorite cheese
  </h3>
  <SelectableBox.Set
    value={checkedCheeses}
    type={type}
    onChange={handleChange}
    name="cheeses"
    columns={isExtraSmall ? 1 : 3}
    ariaLabelledby="cheese selection"
  >
    <SelectableBox value="swiss" inputHidden={false} type={type} aria-label="swiss checkbox">
      <h3>
        Swiss
      </h3>
    </SelectableBox>
    <SelectableBox value="cheddar" inputHidden={false} type={type} aria-label="cheddar checkbox">
      <h3>
        Cheddar
      </h3>
    </SelectableBox>
    <SelectableBox value="pepperjack" inputHidden={false} type={type} aria-label="pepperjack checkbox">
      <h3>
        Pepperjack
      </h3>
    </SelectableBox>
  </SelectableBox.Set>
</div>

If not using aria-labelledby, developers must provide an aria-label to the component:

<SelectableBox.Set
  value={checkedCheeses}
  type={type}
  onChange={handleChange}
  name="cheeses"
  columns={isExtraSmall ? 1 : 3}
  ariaLabel="cheese selection"
>
  <SelectableBox value="swiss" inputHidden={false} type={type} aria-label="swiss checkbox">
    <h3>
      Swiss
    </h3>
  </SelectableBox>
  <SelectableBox value="cheddar" inputHidden={false} type={type} aria-label="cheddar checkbox">
    <h3>
      Cheddar
    </h3>
  </SelectableBox>
  <SelectableBox value="pepperjack" inputHidden={false} type={type} aria-label="pepperjack checkbox">
    <h3>
      Pepperjack
    </h3>
  </SelectableBox>
</SelectableBox.Set>

Configuration

📅 Schedule: Branch creation - "before 6am every weekday" (UTC), Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR has been generated by Mend Renovate. View repository job log here.

@renovate renovate bot force-pushed the renovate/edx-paragon-21.x branch 6 times, most recently from 1bc0910 to 71a04e1 Compare August 23, 2023 17:52
@renovate renovate bot force-pushed the renovate/edx-paragon-21.x branch 3 times, most recently from f50e44f to 785a38d Compare September 1, 2023 20:27
@renovate renovate bot force-pushed the renovate/edx-paragon-21.x branch 3 times, most recently from 9bb322a to d2c65b8 Compare September 6, 2023 12:30
@justinhynes justinhynes force-pushed the renovate/edx-paragon-21.x branch from 0364d22 to ff7e950 Compare September 6, 2023 12:40
@justinhynes justinhynes merged commit 0fbc40b into master Sep 6, 2023
2 checks passed
@justinhynes justinhynes deleted the renovate/edx-paragon-21.x branch September 6, 2023 12:41
@edx-requirements-bot
Copy link
Contributor

A PR has been created in the credentials repo to release this new version. Please review it here: openedx/credentials#2165

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants