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

[WIP] Define default id parameter values for various components #5171

Draft
wants to merge 10 commits into
base: main
Choose a base branch
from

Commits on Jul 24, 2024

  1. Set default ID for accordion component

    If unset, the accordion uses the string "accordion" as the ID and prefix for child element IDs.
    querkmachine committed Jul 24, 2024
    Configuration menu
    Copy the full SHA
    59769c0 View commit details
    Browse the repository at this point in the history
  2. Set default ID for character count component

    If unset, the character count uses the value of the `name` parameter as an ID and prefix for child element IDs.
    querkmachine committed Jul 24, 2024
    Configuration menu
    Copy the full SHA
    65316b8 View commit details
    Browse the repository at this point in the history
  3. Set default ID for date input component

    If unset, the component will first use the value of the `namePrefix` parameter. If that is also unset, it will use the string “date-input”.
    querkmachine committed Jul 24, 2024
    Configuration menu
    Copy the full SHA
    dbea025 View commit details
    Browse the repository at this point in the history
  4. Set default ID for file upload component

    If unset, the component uses the `name` parameter value for the ID
    querkmachine committed Jul 24, 2024
    Configuration menu
    Copy the full SHA
    25dabac View commit details
    Browse the repository at this point in the history
  5. Set default ID for select component

    If unset, the ID defaults to match the value of the `name` parameter
    querkmachine committed Jul 24, 2024
    Configuration menu
    Copy the full SHA
    a86a51a View commit details
    Browse the repository at this point in the history
  6. Set default ID and prefix ID on Tabs component

    If `id` is unset, default to the string “tabs”.
    
    If `prefixId` is unset, default to match the `id`.
    querkmachine committed Jul 24, 2024
    Configuration menu
    Copy the full SHA
    4aa2b9c View commit details
    Browse the repository at this point in the history
  7. Set default ID for inputs

    If unset, use the `name` parameter for the ID.
    querkmachine committed Jul 24, 2024
    Configuration menu
    Copy the full SHA
    1620a1a View commit details
    Browse the repository at this point in the history
  8. Set default ID for textarea component

    If unset, uses the `name` parameter for the component ID.
    querkmachine committed Jul 24, 2024
    Configuration menu
    Copy the full SHA
    3c1a6ca View commit details
    Browse the repository at this point in the history

Commits on Jul 29, 2024

  1. Set default ID and prefix ID on Tabs component

    If `id` is unset, default to the string “tabs”.
    
    If `idPrefix` is unset, default to match the `id`.
    querkmachine committed Jul 29, 2024
    Configuration menu
    Copy the full SHA
    5a90762 View commit details
    Browse the repository at this point in the history
  2. Update tests

    querkmachine committed Jul 29, 2024
    Configuration menu
    Copy the full SHA
    fcb885e View commit details
    Browse the repository at this point in the history