-
Notifications
You must be signed in to change notification settings - Fork 4.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #6626 from hashicorp/ui-toolbar
UI: Add Toolbar
- v1.19.0
- v1.19.0-rc1
- v1.18.5
- v1.18.4
- v1.18.3
- v1.18.2
- v1.18.1
- v1.18.0
- v1.18.0-rc1
- v1.17.6
- v1.17.5
- v1.17.4
- v1.17.3
- v1.17.2
- v1.17.1
- v1.17.0
- v1.17.0-rc1
- v1.16.3
- v1.16.2
- v1.16.1
- v1.16.0
- v1.16.0-rc3
- v1.16.0-rc2
- v1.16.0-rc1
- v1.15.8+ent
- v1.15.7+ent
- v1.15.6
- v1.15.5
- v1.15.4
- v1.15.3
- v1.15.2
- v1.15.1
- v1.15.0
- v1.15.0-rc1
- v1.14.12+ent
- v1.14.11+ent
- v1.14.10
- v1.14.9
- v1.14.8
- v1.14.7
- v1.14.6
- v1.14.5
- v1.14.4
- v1.14.3
- v1.14.2
- v1.14.1
- v1.14.0
- v1.14.0-rc1
- v1.13.13
- v1.13.12
- v1.13.11
- v1.13.10
- v1.13.9
- v1.13.8
- v1.13.7
- v1.13.6
- v1.13.5
- v1.13.4
- v1.13.3
- v1.13.2
- v1.13.1
- v1.13.0
- v1.13.0-rc1
- v1.12.11
- v1.12.10
- v1.12.9
- v1.12.8
- v1.12.7
- v1.12.6
- v1.12.5
- v1.12.4
- v1.12.3
- v1.12.2
- v1.12.1
- v1.12.0
- v1.12.0-rc1
- v1.11.12
- v1.11.11
- v1.11.10
- v1.11.9
- v1.11.8
- v1.11.7
- v1.11.6
- v1.11.5
- v1.11.4
- v1.11.3
- v1.11.2
- v1.11.1
- v1.11.0
- v1.11.0-rc1
- v1.10.11
- v1.10.10
- v1.10.9
- v1.10.8
- v1.10.7
- v1.10.6
- v1.10.5
- v1.10.4
- v1.10.3
- v1.10.2
- v1.10.1
- v1.10.0
- v1.10.0-rc1
- v1.9.10
- v1.9.9
- v1.9.8
- v1.9.7
- v1.9.6
- v1.9.5
- v1.9.4
- v1.9.3
- v1.9.2
- v1.9.1
- v1.9.0
- v1.9.0-rc1
- v1.8.12
- v1.8.11
- v1.8.10
- v1.8.9
- v1.8.8
- v1.8.7
- v1.8.6
- v1.8.5
- v1.8.4
- v1.8.3
- v1.8.2
- v1.8.1
- v1.8.0
- v1.8.0-rc2
- v1.8.0-rc1
- v1.7.10
- v1.7.9
- v1.7.8
- v1.7.7
- v1.7.6
- v1.7.5
- v1.7.4
- v1.7.3
- v1.7.2
- v1.7.1
- v1.7.0
- v1.7.0-rc2
- v1.7.0-rc1
- v1.6.7
- v1.6.6
- v1.6.5
- v1.6.4
- v1.6.3
- v1.6.2
- v1.6.1
- v1.6.0
- v1.6.0-rc
- v1.5.9
- v1.5.8
- v1.5.7
- v1.5.6
- v1.5.5
- v1.5.4
- v1.5.3
- v1.5.2
- v1.5.1
- v1.5.0
- v1.5.0-rc
- v1.4.7
- v1.4.6
- v1.4.5
- v1.4.4
- v1.4.3
- v1.4.2
- v1.4.1
- v1.4.0
- v1.4.0-rc1
- v1.4.0-beta1
- v1.3.10
- v1.3.9
- v1.3.8
- v1.3.7
- v1.3.6
- v1.3.5
- v1.3.4
- v1.3.3
- v1.3.2
- v1.3.1
- v1.3.0
- v1.3.0-beta1
- v1.2.7
- v1.2.6
- v1.2.5
- v1.2.4
- v1.2.3
- v1.2.2
- v1.2.1
- v1.2.0
- v1.2.0-rc1
- v1.2.0-beta2
- v1.2.0-beta1
- sdk/v0.15.2
- sdk/v0.15.1
- sdk/v0.15.0
- sdk/v0.14.1
- sdk/v0.14.0
- sdk/v0.13.0
- sdk/v0.12.0
- sdk/v0.11.1
- sdk/v0.11.0
- sdk/v0.10.2
- sdk/v0.10.1
- sdk/v0.10.0
- sdk/v0.9.2
- sdk/v0.9.1
- sdk/v0.9.0
- sdk/v0.8.1
- sdk/v0.8.0
- sdk/v0.7.0
- sdk/v0.6.2
- sdk/v0.6.1
- sdk/v0.6.0
- sdk/v0.5.3
- sdk/v0.5.2
- sdk/v0.5.1
- sdk/v0.5.0
- sdk/v0.4.1
- sdk/v0.4.0
- sdk/v0.3.0
- sdk/v0.2.1
- sdk/v0.2.0
- sdk/v0.1.13
- sdk/v0.1.12
- sdk/v0.1.11
- old-stable-website-20210728
- old-stable-website
- main-creation
- last-go-modable
- ent-changelog-1.15.9
- ent-changelog-1.15.8
- ent-changelog-1.15.7
- ent-changelog-1.14.13
- ent-changelog-1.14.12
- ent-changelog-1.14.11
- api/v1.16.0
- api/v1.15.0
- api/v1.14.0
- api/v1.13.0
- api/v1.12.2
- api/v1.12.1
- api/v1.12.0
- api/v1.11.0
- api/v1.10.0
- api/v1.9.2
- api/v1.9.1
- api/v1.9.0
- api/v1.8.3
- api/v1.8.2
- api/v1.8.1
- api/v1.8.0
- api/v1.7.2
- api/v1.7.1
- api/v1.7.0
- api/v1.6.0
- api/v1.5.0
- api/v1.4.1
- api/v1.4.0
- api/v1.3.1
- api/v1.3.0
- api/v1.2.0
- api/v1.1.1
- api/v1.1.0
- api/v1.0.4
- api/v1.0.3
- api/auth/userpass/v0.9.0
- api/auth/userpass/v0.8.0
- api/auth/userpass/v0.7.0
- api/auth/userpass/v0.6.0
- api/auth/userpass/v0.5.0
- api/auth/userpass/v0.4.1
- api/auth/userpass/v0.4.0
- api/auth/userpass/v0.3.0
- api/auth/userpass/v0.2.0
- api/auth/userpass/v0.1.0
- api/auth/ldap/v0.9.0
- api/auth/ldap/v0.8.0
- api/auth/ldap/v0.7.0
- api/auth/ldap/v0.6.0
- api/auth/ldap/v0.5.0
- api/auth/ldap/v0.4.1
- api/auth/ldap/v0.4.0
- api/auth/ldap/v0.3.0
- api/auth/ldap/v0.2.0
- api/auth/ldap/v0.1.0
- api/auth/kubernetes/v0.9.0
- api/auth/kubernetes/v0.8.0
- api/auth/kubernetes/v0.7.0
- api/auth/kubernetes/v0.6.0
- api/auth/kubernetes/v0.5.0
- api/auth/kubernetes/v0.4.1
- api/auth/kubernetes/v0.4.0
- api/auth/kubernetes/v0.3.0
- api/auth/kubernetes/v0.2.0
- api/auth/kubernetes/v0.1.0
- api/auth/gcp/v0.9.0
- api/auth/gcp/v0.8.0
- api/auth/gcp/v0.7.0
- api/auth/gcp/v0.6.0
- api/auth/gcp/v0.5.0
- api/auth/gcp/v0.4.1
- api/auth/gcp/v0.4.0
- api/auth/gcp/v0.3.0
- api/auth/gcp/v0.2.0
- api/auth/gcp/v0.1.0
- api/auth/azure/v0.8.0
- api/auth/azure/v0.7.0
- api/auth/azure/v0.6.0
- api/auth/azure/v0.5.0
- api/auth/azure/v0.4.1
- api/auth/azure/v0.4.0
- api/auth/azure/v0.3.0
- api/auth/azure/v0.2.0
- api/auth/azure/v0.1.0
- api/auth/aws/v0.9.0
- api/auth/aws/v0.8.0
- api/auth/aws/v0.7.0
- api/auth/aws/v0.6.0
- api/auth/aws/v0.5.0
- api/auth/aws/v0.4.1
- api/auth/aws/v0.4.0
- api/auth/aws/v0.3.0
- api/auth/aws/v0.2.0
- api/auth/aws/v0.1.0
- api/auth/approle/v0.9.0
- api/auth/approle/v0.8.0
- api/auth/approle/v0.7.0
- api/auth/approle/v0.6.0
- api/auth/approle/v0.5.0
- api/auth/approle/v0.4.1
- api/auth/approle/v0.4.0
- api/auth/approle/v0.3.0
- api/auth/approle/v0.2.0
- api/auth/approle/v0.1.1
- api/auth/approle/v0.1.0
Showing
73 changed files
with
1,025 additions
and
746 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -9,4 +9,5 @@ export default Component.extend({ | |
baseKey: null, | ||
backendCrumb: null, | ||
model: null, | ||
options: null, | ||
}); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
import OuterHTML from './outer-html'; | ||
|
||
export default OuterHTML.extend({}); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
import DownloadButton from './download-button'; | ||
|
||
export default DownloadButton.extend({ | ||
classNames: ['toolbar-link'], | ||
}); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
import OuterHTML from './outer-html'; | ||
|
||
export default OuterHTML.extend({}); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
import OuterHTML from './outer-html'; | ||
import { computed } from '@ember/object'; | ||
|
||
export default OuterHTML.extend({ | ||
glyph: computed('type', function() { | ||
if (this.type == 'add') { | ||
return 'plus-plain'; | ||
} else { | ||
return 'chevron-right'; | ||
} | ||
}), | ||
tagName: '', | ||
type: null, | ||
supportsDataTestProperties: true, | ||
}); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
import OuterHTML from './outer-html'; | ||
import { computed } from '@ember/object'; | ||
|
||
export default OuterHTML.extend({ | ||
glyph: computed('type', function() { | ||
if (this.type == 'add') { | ||
return 'plus-plain'; | ||
} else { | ||
return 'chevron-right'; | ||
} | ||
}), | ||
tagName: '', | ||
supportsDataTestProperties: true, | ||
}); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
import OuterHTML from './outer-html'; | ||
|
||
export default OuterHTML.extend({ | ||
classNames: ['toolbar'], | ||
tagName: 'nav', | ||
}); |
9 changes: 9 additions & 0 deletions
9
ui/app/controllers/vault/cluster/secrets/backend/configuration.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
import { computed } from '@ember/object'; | ||
import Controller from '@ember/controller'; | ||
|
||
export default Controller.extend({ | ||
isConfigurable: computed('model.type', function() { | ||
const configurableEngines = ['aws', 'ssh', 'pki']; | ||
return configurableEngines.includes(this.get('model.type')); | ||
}), | ||
}); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,98 @@ | ||
.tabs-container + .toolbar { | ||
border-top: 0; | ||
} | ||
|
||
.toolbar { | ||
background-color: $ui-gray-010; | ||
border: 1px solid $ui-gray-100; | ||
border-bottom-color: $ui-gray-300; | ||
border-top-color: $ui-gray-300; | ||
position: relative; | ||
|
||
&::after { | ||
background: linear-gradient(to right, $ui-gray-010, rgba($ui-gray-010, 0)); | ||
bottom: 0; | ||
content: ''; | ||
position: absolute; | ||
right: 0; | ||
top: 0; | ||
width: $spacing-xxs; | ||
z-index: 2; | ||
} | ||
|
||
.input, | ||
.select { | ||
min-width: 160px; | ||
} | ||
} | ||
|
||
.toolbar-scroller { | ||
align-items: center; | ||
display: flex; | ||
height: 44px; | ||
justify-content: space-between; | ||
overflow-x: auto; | ||
width: 100%; | ||
|
||
@include from($mobile) { | ||
padding: 0 $spacing-xxs; | ||
} | ||
|
||
&::-webkit-scrollbar { | ||
border-bottom: $base-border; | ||
height: $spacing-xxs; | ||
} | ||
|
||
&::-webkit-scrollbar-thumb { | ||
background: $ui-gray-300; | ||
border-radius: $spacing-xxs; | ||
} | ||
} | ||
|
||
.toolbar-filters, | ||
.toolbar-actions { | ||
align-items: center; | ||
display: flex; | ||
flex: 1; | ||
white-space: nowrap; | ||
} | ||
|
||
.toolbar-filters + .toolbar-actions { | ||
@include until($mobile) { | ||
border-left: $base-border; | ||
margin-left: $spacing-xs; | ||
padding-left: $spacing-xs; | ||
} | ||
} | ||
|
||
.toolbar-actions { | ||
@include from($mobile) { | ||
justify-content: flex-end; | ||
} | ||
} | ||
|
||
.toolbar-link { | ||
@extend .button; | ||
@extend .is-ghost; | ||
@extend .has-icon-right; | ||
border: 0; | ||
color: $black; | ||
transition: background-color $speed; | ||
|
||
&:hover { | ||
background-color: $ui-gray-100; | ||
border: 0; | ||
color: $blue; | ||
} | ||
|
||
&:active { | ||
box-shadow: none; | ||
} | ||
} | ||
|
||
.toolbar-separator { | ||
border-right: $light-border; | ||
height: 32px; | ||
margin: 0 $spacing-xs; | ||
width: 0; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.