consul/ui-v2/app/styles/base/components
Kenia b2ecc65d21 ui: Create PopoverSelect, CatalogToolbar, and update tests (#7489)
* Create PopoverSelect component and styling

* Create CatalogToolbar component and Styling

* ui: Adds `selectable-key-values` helper (#7472)

Preferably we want all copy/text to live in the template. Whilst you can
achieve what we've done here with a combination of different helpers, as
we will be using this approach in various places it's probably best to
make a helper.

We also hit an ember bug related to using the `let` helper and trying to
access `thingThatWasLet.firstObject` (which can also be worked around
using `object-at`).

Moving everything to a helper 'sorted' everything.

Probably worthwhile noting that if the sort option themselves become
dynamic, I'm not sure if the helper here would actually react as you
would expect (I'm aware that ember helpers on react on the root
arguments, not necesarily sub properties of those arguments). If we get
to that point this helper could take the same approach as what I believe
ember-composable-helpers does to get around this, or move them to the
view controller. If we do ever moved this to the view controller, we
can still use the exported function from the new helper here to keep
using the same functionality and tests we have here.

* Create tests for sorting services with CatalogToolbar

* Add rule to print 'ember/no-global-jquery' as a warning

Co-authored-by: John Cowen <johncowen@users.noreply.github.com>
2020-05-12 17:14:48 +00:00
..
action-group ui: CSS Upgrade (action-group,form-elements,sliding-toggle,breadcrumbs) (#6495) 2019-12-18 12:26:43 +00:00
anchors ui: Misc CSS amends, mainly changes to empty-state (#7743) 2020-05-12 17:14:39 +00:00
breadcrumbs ui: Update Breadcrumbs styling (#7687) 2020-05-12 17:14:30 +00:00
buttons ui: Create PopoverSelect, CatalogToolbar, and update tests (#7489) 2020-05-12 17:14:48 +00:00
checkbox-group ui: CSS Upgrade (action-group,form-elements,sliding-toggle,breadcrumbs) (#6495) 2019-12-18 12:26:43 +00:00
confirmation-alert ui: New Confirmation Dialogs (#7007) 2020-01-22 12:08:29 +00:00
display-toggle ui: New Confirmation Dialogs (#7007) 2020-01-22 12:08:29 +00:00
form-elements ui: Tab Improvements (animations/branding) (#7772) 2020-05-12 17:14:43 +00:00
inline-alert ui: CSS Upgrade (action-group,form-elements,sliding-toggle,breadcrumbs) (#6495) 2019-12-18 12:26:43 +00:00
menu-panel ui: Tab Improvements (animations/branding) (#7772) 2020-05-12 17:14:43 +00:00
modal-dialog ui: Create CSS variables for box-shadowing consistency (#7337) 2020-05-12 17:14:09 +00:00
notice ui: Add `stats-card` component, integrate more `@hashicorp/structure-icons` (#6021) 2019-09-04 08:35:11 +00:00
pill ui: Redesign - Service List page with Gateways (#7781) 2020-05-12 17:14:42 +00:00
popover-menu ui: Create PopoverSelect, CatalogToolbar, and update tests (#7489) 2020-05-12 17:14:48 +00:00
radio-group ui: CSS Upgrade (action-group,form-elements,sliding-toggle,breadcrumbs) (#6495) 2019-12-18 12:26:43 +00:00
sliding-toggle ui: CSS Upgrade (action-group,form-elements,sliding-toggle,breadcrumbs) (#6495) 2019-12-18 12:26:43 +00:00
sort-control ui: Adds a `sort-control` component for asc/desc sorting of columns etc (#6034) 2019-09-04 08:35:16 +00:00
stats-card ui: Update the shadows for radio buttons and the cards (#7391) 2020-05-12 17:14:14 +00:00
table ui: Redesign - Instance Detail Proxy Info tab (#7745) 2020-05-12 17:14:46 +00:00
tabs ui: Small CSS tweaks (#7808) 2020-05-12 17:14:47 +00:00
toggle-button ui: CSS Components Migration (#5913) 2019-09-04 08:35:01 +00:00
tooltip ui: Create CSS variables for box-shadowing consistency (#7337) 2020-05-12 17:14:09 +00:00