<commit_before># [component-name]

## Summary

[This is an executive summary of why my component exists and what it does.]

## Next Step

If you are a consumer of this component, see guidance on [usage](README.usage.md).

If you are a contributor to this component's development, see guidance on [contributing](README.contribute.md).<commit_msg>Create README<commit_after># pagination

## Summary

Provides pagination links component. Shows page buttons up to the maxButtons value as well as a Prev and Next button. Will show ellipses button(s) when applicable. Will highlight the activePage. Will always show first and last page buttons.

## Usage

Constructor (vanilla JS)

	```JS
	// Constructor
	new Pagination({
		elementId: 'ID of element to attach to',
		items: 'number of pages total',
		activePage: '(optional) defaults to 1'
	});

	// Fires when user clicks a page button. Provides a corresponding page number. Sets activePage.
	document.addEventListener('o-pagination-select', (event) => console.log(''))

	// Use this event to manually set activePage
	document.dispatchEvent(new CustomEvent('o-pagination-setActive', {detail: {activePage: 1}}))
	```
React props

	- `items` (number) shows ...
	- `activePage` (number) corresponds to highlighted page button and is centered in component unless it's near the beginning or end of page list
	- `onSelect` (function) callback fired when a button is clicked
	- `maxButtons` (number) defaults to 7. Determines the number of page buttons to show

## Next Step

If you are a consumer of this component, see guidance on [usage](README.usage.md).

If you are a contributor to this component's development, see guidance on [contributing](README.contribute.md).
{'fraction_non_alphanumeric': 0.09239766081871345, 'fraction_numerical': 0.0017543859649122807, 'mean_word_length': 4.5372168284789645, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 4, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '5020749', 'n_tokens_mistral': 484, 'n_tokens_neox': 467, 'n_words': 215}