@carto/meridian-ds 2.2.0-alpha-filter-dropdown.8 → 2.2.0-alpha-filter-dropdown.9
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.
|
@@ -1657,7 +1657,8 @@ function _FilterDropdown({
|
|
|
1657
1657
|
id: buttonId,
|
|
1658
1658
|
"aria-controls": isOpen ? menuId : void 0,
|
|
1659
1659
|
"aria-haspopup": !disabled,
|
|
1660
|
-
"aria-expanded": isOpen
|
|
1660
|
+
"aria-expanded": isOpen,
|
|
1661
|
+
"data-color": buttonColor
|
|
1661
1662
|
};
|
|
1662
1663
|
return /* @__PURE__ */ jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [
|
|
1663
1664
|
/* @__PURE__ */ jsxRuntime.jsx(material.Tooltip, { title: tooltipLabel, placement: tooltipPlacement, children: /* @__PURE__ */ jsxRuntime.jsx(ButtonWrapper, { isOpen, buttonColor, ref, children: isIcon ? /* @__PURE__ */ jsxRuntime.jsx(Link.IconButton, { ...commonButtonProps, icon }) : /* @__PURE__ */ jsxRuntime.jsx(
|
|
@@ -1682,12 +1683,14 @@ function _FilterDropdown({
|
|
|
1682
1683
|
...slotProps,
|
|
1683
1684
|
paper: {
|
|
1684
1685
|
"data-name": "filter-dropdown",
|
|
1685
|
-
"data-dense": dense,
|
|
1686
1686
|
...slotProps == null ? void 0 : slotProps.paper
|
|
1687
1687
|
}
|
|
1688
1688
|
},
|
|
1689
1689
|
MenuListProps: {
|
|
1690
1690
|
"aria-labelledby": buttonId,
|
|
1691
|
+
...dense && {
|
|
1692
|
+
"data-dense": dense
|
|
1693
|
+
},
|
|
1691
1694
|
autoFocus: true,
|
|
1692
1695
|
// To allow keyboard navigation
|
|
1693
1696
|
...MenuListProps
|
package/dist/components/index.js
CHANGED
|
@@ -1657,7 +1657,8 @@ function _FilterDropdown({
|
|
|
1657
1657
|
id: buttonId,
|
|
1658
1658
|
"aria-controls": isOpen ? menuId : void 0,
|
|
1659
1659
|
"aria-haspopup": !disabled,
|
|
1660
|
-
"aria-expanded": isOpen
|
|
1660
|
+
"aria-expanded": isOpen,
|
|
1661
|
+
"data-color": buttonColor
|
|
1661
1662
|
};
|
|
1662
1663
|
return /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
1663
1664
|
/* @__PURE__ */ jsx(Tooltip, { title: tooltipLabel, placement: tooltipPlacement, children: /* @__PURE__ */ jsx(ButtonWrapper, { isOpen, buttonColor, ref, children: isIcon ? /* @__PURE__ */ jsx(IconButton$1, { ...commonButtonProps, icon }) : /* @__PURE__ */ jsx(
|
|
@@ -1682,12 +1683,14 @@ function _FilterDropdown({
|
|
|
1682
1683
|
...slotProps,
|
|
1683
1684
|
paper: {
|
|
1684
1685
|
"data-name": "filter-dropdown",
|
|
1685
|
-
"data-dense": dense,
|
|
1686
1686
|
...slotProps == null ? void 0 : slotProps.paper
|
|
1687
1687
|
}
|
|
1688
1688
|
},
|
|
1689
1689
|
MenuListProps: {
|
|
1690
1690
|
"aria-labelledby": buttonId,
|
|
1691
|
+
...dense && {
|
|
1692
|
+
"data-dense": dense
|
|
1693
|
+
},
|
|
1691
1694
|
autoFocus: true,
|
|
1692
1695
|
// To allow keyboard navigation
|
|
1693
1696
|
...MenuListProps
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"FilterDropdown.d.ts","sourceRoot":"","sources":["../../../../../src/components/molecules/FilterDropdown/FilterDropdown.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAoC,YAAY,EAAE,MAAM,OAAO,CAAA;AAQ7E,OAAO,EAA2B,mBAAmB,EAAE,MAAM,SAAS,CAAA;AA0BtE,wBAAgB,eAAe,CAC7B,EACE,SAAS,EACT,WAAW,EACX,KAAK,EACL,YAA2B,EAC3B,SAAS,EACT,WAAW,EACX,QAAQ,EACR,IAAI,EACJ,KAAK,EACL,UAAU,EACV,WAAuB,EACvB,KAAa,EACb,QAAgB,EAChB,YAAY,EAAE,SAAS,EACvB,UAAU,EACV,YAAY,EACZ,gBAAgB,EAChB,SAAS,EACT,aAAa,EACb,GAAG,KAAK,EACT,EAAE,mBAAmB,EACtB,GAAG,EAAE,YAAY,CAAC,cAAc,CAAC,
|
|
1
|
+
{"version":3,"file":"FilterDropdown.d.ts","sourceRoot":"","sources":["../../../../../src/components/molecules/FilterDropdown/FilterDropdown.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAoC,YAAY,EAAE,MAAM,OAAO,CAAA;AAQ7E,OAAO,EAA2B,mBAAmB,EAAE,MAAM,SAAS,CAAA;AA0BtE,wBAAgB,eAAe,CAC7B,EACE,SAAS,EACT,WAAW,EACX,KAAK,EACL,YAA2B,EAC3B,SAAS,EACT,WAAW,EACX,QAAQ,EACR,IAAI,EACJ,KAAK,EACL,UAAU,EACV,WAAuB,EACvB,KAAa,EACb,QAAgB,EAChB,YAAY,EAAE,SAAS,EACvB,UAAU,EACV,YAAY,EACZ,gBAAgB,EAChB,SAAS,EACT,aAAa,EACb,GAAG,KAAK,EACT,EAAE,mBAAmB,EACtB,GAAG,EAAE,YAAY,CAAC,cAAc,CAAC,2CAuGlC;AAID,QAAA,MAAM,cAAc,yGAEnB,CAAA;AACD,eAAe,cAAc,CAAA"}
|