Commit Graph
2 Commits
Author SHA1 Message Date
Lisa Kim b86c9bcdfe [2/3] Prettify shared, build, and teleport packages (#955)
* Update prettier ignore
2022-07-06 14:57:40 +00:00
Jeff Pihach 4417d755cb Create a LabelPicker component (#823)
* Create Pill component for Label manager component.

* Fixed some styling issues when using the Pill component.

* Initial layout for the Label Selector component.

* Add basic new label input scaffold

* Added label format validation and error message.

* When hitting enter or clicking add, add a label to the list.

* Added tooltip to add labels header.

* Support dismissing labels and focus the input when opening.

* Create clickoutside hook and use it in the label picker.

* Create and use a onescape hook in the label picker.

* Remove the temp ability to pass in existing labels.

* added tests for LabelSelector component

* fix validation regex to allow numbers hyphens and periods.

* remove incorrectly added component instance.

* do not use default imports and other tweaks.

* use flexbox instead of floats for label input labels.

* use utility methods for tests to make it easier to understand.

* remove remaining floats and some review cleanup.

* added missing license messages.

* Move useCallback usage into parent component from hook.
2022-05-24 10:02:29 -06:00