-
Notifications
You must be signed in to change notification settings - Fork 180
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* chore: update to carbon 10.3.0 * chore: run yarn format
- Loading branch information
Showing
143 changed files
with
1,643 additions
and
1,201 deletions.
There are no files selected for viewing
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file added
BIN
+8.13 KB
.yarn-offline-mirror/@babel-helper-create-class-features-plugin-7.4.4.tgz
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file added
BIN
+2.05 KB
.yarn-offline-mirror/@babel-helper-split-export-declaration-7.4.4.tgz
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file added
BIN
+1.65 KB
.yarn-offline-mirror/@babel-plugin-proposal-class-properties-7.4.4.tgz
Binary file not shown.
Binary file added
BIN
+4.22 KB
.yarn-offline-mirror/@babel-plugin-proposal-object-rest-spread-7.4.4.tgz
Binary file not shown.
Binary file added
BIN
+3.01 KB
.yarn-offline-mirror/@babel-plugin-proposal-unicode-property-regex-7.4.4.tgz
Binary file not shown.
Binary file added
BIN
+1.85 KB
.yarn-offline-mirror/@babel-plugin-transform-async-to-generator-7.4.4.tgz
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file added
BIN
+1.67 KB
.yarn-offline-mirror/@babel-plugin-transform-member-expression-literals-7.2.0.tgz
Binary file not shown.
Binary file added
BIN
+3.04 KB
.yarn-offline-mirror/@babel-plugin-transform-modules-commonjs-7.4.4.tgz
Binary file not shown.
Binary file added
BIN
+4.42 KB
.yarn-offline-mirror/@babel-plugin-transform-modules-systemjs-7.4.4.tgz
Binary file not shown.
Binary file added
BIN
+1.94 KB
.yarn-offline-mirror/@babel-plugin-transform-named-capturing-groups-regex-7.4.5.tgz
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file added
BIN
+1.65 KB
.yarn-offline-mirror/@babel-plugin-transform-property-literals-7.2.0.tgz
Binary file not shown.
Binary file not shown.
Binary file added
BIN
+1.61 KB
.yarn-offline-mirror/@babel-plugin-transform-reserved-words-7.2.0.tgz
Binary file not shown.
Binary file added
BIN
+2.49 KB
.yarn-offline-mirror/@babel-plugin-transform-template-literals-7.4.4.tgz
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
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
66 changes: 66 additions & 0 deletions
66
packages/core/src/components/cv-ui-shell/cv-button-menu.vue
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,66 @@ | ||
<template> | ||
<button | ||
v-on="$listeners" | ||
class="cv-button-menu bx--header__action" | ||
:class="dataActive ? 'bx--header__action--active' : ''" | ||
type="button" | ||
aria-haspopup="true" | ||
:aria-controls="ariaControls" | ||
:aria-expanded="active" | ||
@click="gaToggle" | ||
@focusout="gaFocusout" | ||
> | ||
<slot /> | ||
</button> | ||
</template> | ||
|
||
<script> | ||
import uidMixin from '../../mixins/uid-mixin'; | ||
export default { | ||
name: 'CvButtonMenu', | ||
mixins: [uidMixin], | ||
props: { | ||
active: Boolean, | ||
ariaControls: { type: String, required: true }, | ||
}, | ||
mounted() { | ||
this.$parent.$emit('cv:panel-control-mounted', this); | ||
}, | ||
beforeDestroy() { | ||
this.$parent.$emit('cv:panel-control-beforeDestroy', this); | ||
}, | ||
data() { | ||
return { | ||
dataActive: this.active, | ||
}; | ||
}, | ||
watch: { | ||
expanded() { | ||
if (this.active !== this.dataActive) { | ||
this.gaToggle(); | ||
} | ||
}, | ||
}, | ||
computed: { | ||
internalActive: { | ||
get() { | ||
return this.dataActive; | ||
}, | ||
set(val) { | ||
// do not emit 'cv:panel-control-toggle' | ||
this.dataActive = val; | ||
}, | ||
}, | ||
}, | ||
methods: { | ||
gaToggle() { | ||
this.$el.focus(); | ||
this.$parent.$emit('cv:panel-control-toggle', this); | ||
}, | ||
gaFocusout(ev) { | ||
this.$parent.$emit('cv:panel-control-focusout', this, ev); | ||
}, | ||
}, | ||
}; | ||
</script> |
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 |
---|---|---|
|
@@ -7,10 +7,10 @@ | |
resolved "https://registry.yarnpkg.com/@carbon/icon-helpers/-/icon-helpers-10.2.0.tgz#f58ab1d14b8b63d485d31e7d785d25057eac5409" | ||
integrity sha512-PAxu8KMuSrifF4VCW7N7bgu/QKG/Q4T9ojWUEqI0zKjTCkJnzEZTYgK1FrWAdE1uAdAwLlbPIjzIS/QzP15Uvw== | ||
|
||
"@carbon/[email protected]-rc.2": | ||
version "10.3.0-rc.2" | ||
resolved "https://registry.yarnpkg.com/@carbon/icons-vue/-/icons-vue-10.3.0-rc.2.tgz#1d0fb8afbfc3c0019960c0ec199257680dac33e9" | ||
integrity sha512-6fWtsyNLc+uC4/IcucO/CvxvPf6ES/QmxbG7QkprdIg9/Oe4GDTjcv1Pj1KTSbnJGLJ25q0LXlKs7TOLtNoINA== | ||
"@carbon/[email protected]": | ||
version "10.3.0" | ||
resolved "https://registry.yarnpkg.com/@carbon/icons-vue/-/icons-vue-10.3.0.tgz#537e707c679bd69f8b61ce97691b742d6dfaa643" | ||
integrity sha512-tZJ2ZsgGi6jfX65F6LDjha3ttkrGp7UJdqapGuPuHY+kooDPr9HVlabp3BoAJXA2w8t2XK3zqSdk1lJu/txg/A== | ||
dependencies: | ||
"@carbon/icon-helpers" "10.2.0" | ||
|
||
|
@@ -1043,10 +1043,10 @@ caniuse-lite@^1.0.30000955, caniuse-lite@^1.0.30000957: | |
resolved "https://registry.yarnpkg.com/caniuse-lite/-/caniuse-lite-1.0.30000960.tgz#ec48297037e5607f582f246ae7b12bee66a78999" | ||
integrity sha512-7nK5qs17icQaX6V3/RYrJkOsZyRNnroA4+ZwxaKJzIKy+crIy0Mz5CBlLySd2SNV+4nbUZeqeNfiaEieUBu3aA== | ||
|
||
[email protected]-rc.2: | ||
version "10.3.0-rc.2" | ||
resolved "https://registry.yarnpkg.com/carbon-components/-/carbon-components-10.3.0-rc.2.tgz#b3a10eb5fa3b62ef0e2350f32247667e315c41ca" | ||
integrity sha512-8hwIk8ffFKUFr4eTiibgq8CV3H9sV2hKxP2WEcu3Kw2LZmcoC3uA5X57oLnNf39OQYV5RPZzCzc5Lhb3FsKIfQ== | ||
[email protected]: | ||
version "10.3.0" | ||
resolved "https://registry.yarnpkg.com/carbon-components/-/carbon-components-10.3.0.tgz#a2a77b97d1afb8ac5379bbf3584e2643c3f09b7e" | ||
integrity sha512-Azs+jaxDKsRmI+zmrWwahDkcfZLD1/rPSqek03UeDkhQsd/i/dOeeE4DnjMwhLGuDj/lvfeKC3eLks/cqyUKwg== | ||
dependencies: | ||
carbon-icons "^7.0.7" | ||
flatpickr "4.5.7" | ||
|
@@ -2480,6 +2480,11 @@ [email protected]: | |
resolved "https://registry.yarnpkg.com/flatpickr/-/flatpickr-4.5.7.tgz#6efc0d93c65547aa77294205c67830ebabe3565c" | ||
integrity sha512-JqPfihUc9A/j9QAsh6otoARmMyUauPE17vRBEG+ThJwbl8zAq4ssGpxlPK3wWM/i8EFxkHg9UuVo0ds7XluKxw== | ||
|
||
[email protected]: | ||
version "4.6.1" | ||
resolved "https://registry.yarnpkg.com/flatpickr/-/flatpickr-4.6.1.tgz#9eb498ab805dd27f5ae02e1ac6ac6c099ce45e94" | ||
integrity sha512-3ULSxbXmcMIRzer/2jLNweoqHpwDvsjEawO2FUd9UFR8uPwLM+LruZcPDpuZStcEgbQKhuFOfXo4nYdGladSNw== | ||
|
||
flush-write-stream@^1.0.0: | ||
version "1.1.1" | ||
resolved "https://registry.yarnpkg.com/flush-write-stream/-/flush-write-stream-1.1.1.tgz#8dd7d873a1babc207d94ead0c2e0e44276ebf2e8" | ||
|
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
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.