@carbon/charts-vue 1.23.13 → 1.23.14
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +13 -0
- package/dist/index.mjs +2 -1
- package/dist/index.mjs.map +1 -1
- package/package.json +3 -3
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,19 @@
|
|
|
3
3
|
All notable changes to this project will be documented in this file. See
|
|
4
4
|
[Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
5
5
|
|
|
6
|
+
## 1.23.14 (2025-07-22)
|
|
7
|
+
|
|
8
|
+
### Bug Fixes
|
|
9
|
+
|
|
10
|
+
- **Toolbar:** add `type=button` to buttons
|
|
11
|
+
([#2016](https://github.com/carbon-design-system/carbon-charts/issues/2016))
|
|
12
|
+
([1e0e7fe](https://github.com/carbon-design-system/carbon-charts/commit/1e0e7fe89b14236b0dbaf8061d07ff78d816cfb1))
|
|
13
|
+
|
|
14
|
+
# Change Log
|
|
15
|
+
|
|
16
|
+
All notable changes to this project will be documented in this file. See
|
|
17
|
+
[Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
18
|
+
|
|
6
19
|
## 1.23.13 (2025-06-20)
|
|
7
20
|
|
|
8
21
|
### Bug Fixes
|
package/dist/index.mjs
CHANGED
|
@@ -11945,6 +11945,7 @@ const Us = (e) => tu.sanitize(e, {
|
|
|
11945
11945
|
const a = s.enter().append("div").attr("class", "toolbar-control cds--overflow-menu cds--overflow-menu"), o = this;
|
|
11946
11946
|
a.merge(s).classed("disabled", (l) => l.shouldBeDisabled()).attr("role", "button").attr("aria-disabled", (l) => l.shouldBeDisabled()).attr("aria-label", (l) => l.title).html((l) => `
|
|
11947
11947
|
<button
|
|
11948
|
+
type="button"
|
|
11948
11949
|
class="cds--overflow-menu__trigger cds--overflow-menu__trigger"
|
|
11949
11950
|
aria-haspopup="true" aria-expanded="false" id="${this.services.domUtils.generateElementIDString(
|
|
11950
11951
|
`control-${tn(l.id)}`
|
|
@@ -11980,7 +11981,7 @@ const Us = (e) => tu.sanitize(e, {
|
|
|
11980
11981
|
const { overflowMenuItemList: t } = this.getControlConfigs(), n = this.overflowMenu.select("ul").selectAll("li.cds--overflow-menu-options__option").data(t, (i) => y(i, "id"));
|
|
11981
11982
|
n.exit().remove();
|
|
11982
11983
|
const r = n.enter().append("li").attr("id", (i) => this.services.domUtils.generateElementIDString(`control-${i.id}`)).attr("class", "cds--overflow-menu-options__option cds--overflow-menu-options__option").attr("role", "menuitem").attr("tabindex", 1);
|
|
11983
|
-
r.append("button").attr("class", "cds--overflow-menu-options__btn cds--overflow-menu-options__btn"), r.merge(n).classed("cds--overflow-menu-options__option--disabled", (i) => i.shouldBeDisabled()).classed("cds--overflow-menu-options__option--disabled", (i) => i.shouldBeDisabled()).attr("aria-disabled", (i) => i.shouldBeDisabled()).selectAll("button").text((i) => i.title);
|
|
11984
|
+
r.append("button").attr("type", "button").attr("class", "cds--overflow-menu-options__btn cds--overflow-menu-options__btn"), r.merge(n).classed("cds--overflow-menu-options__option--disabled", (i) => i.shouldBeDisabled()).classed("cds--overflow-menu-options__option--disabled", (i) => i.shouldBeDisabled()).attr("aria-disabled", (i) => i.shouldBeDisabled()).selectAll("button").text((i) => i.title);
|
|
11984
11985
|
}
|
|
11985
11986
|
isOverflowMenuOpen() {
|
|
11986
11987
|
return this.overflowMenu.classed("is-open");
|