consul/ui/packages/consul-ui/app/components
John Cowen 92f0eb3bdc
ui: Re-organize our %h* placeholders (#9584)
We've always had this idea of being able to markup up information
semantically without thinking about what it should look like, then
applying our %h* placeholder styles to control what the information
should look like.

Back when we originally made our set of %h* placeholders, we tried to
follow Structure as much as possible, which defined the largest header
(which we thought would have been the h1 style) as a super large 3.5rem.

Therefore we made our set of %h* placeholders the same as Structure
beginning at a huge 3.5 size. We then re-overwrote those sizes only in
Consul specific CSS files thinking that this was due to us existing
before Structure did.

Lately we saw an extra clue in Structure - the extra large 3.5 header was
called 'h0'.

This commit moves all our headers to use a zero based scale, and
additionally uses our 3 digit scale as opposed to 1 digit (h1 vs h100),
similar to our color scales (note we don't use a hypen, which we can
alter later if need be), which means we can insert additional h150 etc
if need be.

Additional we stop styling our headers globally (h1 { @extend %h100; }
). This means there is no reason not to use headers for marking up
content depending on what it is rather than what it should look like,
and as a consequence means we can be more purposeful in ordering h*
tags.

Lastly, we use the new scale over the entire codebase and update a
couple of places where we were using using header tags due to what the
styleing for them looked like rather than what the meaning/order was.
2021-01-26 17:53:45 +00:00
..
action ui: Search/filtering 'Filtered by:' search status (#9442) 2021-01-25 18:13:54 +00:00
anonymous ui: Notice component (#9011) 2020-10-23 09:26:32 +01:00
app ui: Sidebar navigation / redesign (#9553) 2021-01-26 17:40:33 +00:00
app-error ui: Move AppError and ErrorState to glimmer components (#9095) 2020-11-06 09:24:17 +00:00
app-view ui: document-attrs helper (#9336) 2020-12-09 09:22:01 +00:00
aria-menu ui: Move to Workspaced Structure (#8994) 2020-10-21 15:23:16 +01:00
auth-dialog ui: Move to Workspaced Structure (#8994) 2020-10-21 15:23:16 +01:00
auth-form ui: Upgrade the rest of the UI to use the new Notice component (#9035) 2020-10-26 16:51:53 +00:00
auth-profile ui: Move to Workspaced Structure (#8994) 2020-10-21 15:23:16 +01:00
child-selector ui: [BUGFIX] Role/Policy selector default sort (#9434) 2021-01-04 18:28:35 +00:00
code-editor ui: Move to Workspaced Structure (#8994) 2020-10-21 15:23:16 +01:00
confirmation-alert ui: Search/filtering 'Filtered by:' search status (#9442) 2021-01-25 18:13:54 +00:00
confirmation-dialog ui: Move to Workspaced Structure (#8994) 2020-10-21 15:23:16 +01:00
consul ui: Re-organize our %h* placeholders (#9584) 2021-01-26 17:53:45 +00:00
copy-button ui: Modifier based tooltips (#9288) 2020-11-30 16:52:13 +00:00
data-collection ui: Search/filtering 'Filtered by:' search status (#9442) 2021-01-25 18:13:54 +00:00
data-form ui: Change URI helper to a template based approach (#9344) 2020-12-09 09:22:46 +00:00
data-loader ui: Move to Workspaced Structure (#8994) 2020-10-21 15:23:16 +01:00
data-sink ui: Move to Workspaced Structure (#8994) 2020-10-21 15:23:16 +01:00
data-source ui: Nestable DataSources (plus glimmer upgrade) (#9275) 2020-11-30 15:05:16 +00:00
data-writer ui: Move to Workspaced Structure (#8994) 2020-10-21 15:23:16 +01:00
delete-confirmation ui: Move to Workspaced Structure (#8994) 2020-10-21 15:23:16 +01:00
empty-state ui: Surface 'detail' of API errors in the error page (#9237) 2020-11-19 16:07:23 +00:00
error-state ui: Surface 'detail' of API errors in the error page (#9237) 2020-11-19 16:07:23 +00:00
event-source ui: Move to Workspaced Structure (#8994) 2020-10-21 15:23:16 +01:00
filter-bar ui: Add 'Search Across' for finer grained searching (#9282) 2020-12-01 15:45:09 +00:00
form-component ui: Move linting to the `node:test` script (#9385) 2020-12-14 15:28:35 +00:00
form-group ui: Move to Workspaced Structure (#8994) 2020-10-21 15:23:16 +01:00
freetext-filter ui: Add 'Search Across' for finer grained searching (#9282) 2020-12-01 15:45:09 +00:00
hashicorp-consul ui: Sidebar navigation / redesign (#9553) 2021-01-26 17:40:33 +00:00
informed-action ui: Re-organize our %h* placeholders (#9584) 2021-01-26 17:53:45 +00:00
jwt-source ui: Move to Workspaced Structure (#8994) 2020-10-21 15:23:16 +01:00
list-collection ui: Move linting to the `node:test` script (#9385) 2020-12-14 15:28:35 +00:00
main-header-horizontal ui: Sidebar navigation / redesign (#9553) 2021-01-26 17:40:33 +00:00
main-nav-horizontal ui: Sidebar navigation / redesign (#9553) 2021-01-26 17:40:33 +00:00
main-nav-vertical ui: Sidebar navigation / redesign (#9553) 2021-01-26 17:40:33 +00:00
menu-panel ui: Sidebar navigation / redesign (#9553) 2021-01-26 17:40:33 +00:00
modal-dialog ui: Re-organize our %h* placeholders (#9584) 2021-01-26 17:53:45 +00:00
modal-layer ui: Move to Workspaced Structure (#8994) 2020-10-21 15:23:16 +01:00
more-popover-menu ui: Add 'Search Across' for finer grained searching (#9282) 2020-12-01 15:45:09 +00:00
notice ui: Re-organize our %h* placeholders (#9584) 2021-01-26 17:53:45 +00:00
notification ui: Move to Workspaced Structure (#8994) 2020-10-21 15:23:16 +01:00
oidc-select ui: Move to Workspaced Structure (#8994) 2020-10-21 15:23:16 +01:00
outlet ui: Move to Workspaced Structure (#8994) 2020-10-21 15:23:16 +01:00
overlay ui: New overlays (#9305) 2020-12-02 09:43:34 +00:00
policy-form ui: Move identity components (#9298) 2020-11-30 18:42:59 +00:00
policy-selector ui: Move identity components (#9298) 2020-11-30 18:42:59 +00:00
popover-menu ui: Add 'Search Across' for finer grained searching (#9282) 2020-12-01 15:45:09 +00:00
popover-select ui: Search/filtering 'Filtered by:' search status (#9442) 2021-01-25 18:13:54 +00:00
power-select ui: Initial Intention Permission Integration and acceptance testing (#9003) 2020-10-23 17:26:06 +01:00
radio-card ui: Move to Workspaced Structure (#8994) 2020-10-21 15:23:16 +01:00
radio-group ui: Move to Workspaced Structure (#8994) 2020-10-21 15:23:16 +01:00
ref ui: Move to Workspaced Structure (#8994) 2020-10-21 15:23:16 +01:00
role-form ui: Move to Workspaced Structure (#8994) 2020-10-21 15:23:16 +01:00
role-selector ui: Run Ember native class code mod (#9093) 2020-11-09 09:25:35 +00:00
search-bar ui: Search/filtering 'Filtered by:' search status (#9442) 2021-01-25 18:13:54 +00:00
secret-button ui: Move to Workspaced Structure (#8994) 2020-10-21 15:23:16 +01:00
skip-links ui: Sidebar navigation / redesign (#9553) 2021-01-26 17:40:33 +00:00
state ui: Move to Workspaced Structure (#8994) 2020-10-21 15:23:16 +01:00
state-chart ui: Move to Workspaced Structure (#8994) 2020-10-21 15:23:16 +01:00
tab-nav ui: Accessibility scan improvements (#9485) 2021-01-05 10:05:59 +00:00
tabular-collection ui: Remove ember-computed-style to avoid deprecation error (#9218) 2020-11-18 18:55:30 +00:00
tabular-details ui: Move to Workspaced Structure (#8994) 2020-10-21 15:23:16 +01:00
tag-list ui: Move to Workspaced Structure (#8994) 2020-10-21 15:23:16 +01:00
toggle-button ui: Add 'Search Across' for finer grained searching (#9282) 2020-12-01 15:45:09 +00:00
token-list ui: Move to Workspaced Structure (#8994) 2020-10-21 15:23:16 +01:00
token-source ui: Move to Workspaced Structure (#8994) 2020-10-21 15:23:16 +01:00
tooltip ui: New overlays (#9305) 2020-12-02 09:43:34 +00:00
topology-metrics ui: Topology intention saving improvements (#9513) 2021-01-19 15:40:39 +00:00