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

Simple multi select/development #19

Merged
merged 10 commits into from
Sep 15, 2023
Merged

Conversation

vigoren
Copy link
Owner

@vigoren vigoren commented Sep 15, 2023

Initial release of the Simple Multi-Select

…es a new Simple Multi Select for them.

Added functionality to transform a select element into our styles multi select.
Flushed out main button styles and functionality for opening/closing the select options.
Flushed out the select options styles.
Added functionality for selecting/deselecting options.
Added functionality for adding a "Select All" type option and having that work as expected.
Added functionality and styles for disabled options.
Add some icons from the Bootstrap Icon library into a folder with appropriate license info.
Added aria labels to all elements.
Updated the InitializeAllMultiSelects function to ignore multiple selects that are wrapped in our wrapper.
…over/focus.

Adjusted the padding on the button.

Changed the multi select constructor so that it can accept null for the label. If null is passed in then a label is created.

Added an onChangeCallback function that can be set through the constructor or through a public function registerOnChangeCallback.
This function is passed the multiSelectID and a list of selected values.
… simple multi select documentation.

Added documentation about the multi selects CSS variables, how to install and initialize the multiple selects.
Added a custom documentation component to show examples of the multiple select.
…dden with an ellipsis shown.

Documented the entire multi select class.
Moved the logic for finding an associated label to its own function within the multi select and is used during the contructor of the class.
Removed the label element to be passed in to the multi select class.
Added a new public function get the currently selected values.
Fixed issues with importing local types.
Updated tags in the package.json
Changesets created.
@changeset-bot
Copy link

changeset-bot bot commented Sep 15, 2023

🦋 Changeset detected

Latest commit: 731b829

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 2 packages
Name Type
@simple-web-utilities/simple-multi-select Major
@simple-web-utilities/documentation Minor

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@vigoren vigoren merged commit ff66e4e into main Sep 15, 2023
3 checks passed
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.

1 participant