@carto/meridian-ds 2.2.0-alpha-filter-dropdown.9 → 2.2.0-alpha-filter-dropdown.10
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.
|
@@ -1551,7 +1551,8 @@ const FilterDropdownMenuItem = ({
|
|
|
1551
1551
|
subtitle,
|
|
1552
1552
|
divider,
|
|
1553
1553
|
fixed,
|
|
1554
|
-
selected
|
|
1554
|
+
selected,
|
|
1555
|
+
iconColor
|
|
1555
1556
|
} = item;
|
|
1556
1557
|
const [menuItemId] = React.useState(() => `filter-dropdown-item-${uniqueId()}`);
|
|
1557
1558
|
const isSelected = selected || (selectedValue == null ? void 0 : selectedValue.id) === id;
|
|
@@ -1568,6 +1569,7 @@ const FilterDropdownMenuItem = ({
|
|
|
1568
1569
|
subtitle,
|
|
1569
1570
|
divider,
|
|
1570
1571
|
fixed,
|
|
1572
|
+
iconColor,
|
|
1571
1573
|
"aria-label": ariaLabel,
|
|
1572
1574
|
"aria-labelledby": menuItemId,
|
|
1573
1575
|
"aria-selected": isSelected,
|
package/dist/components/index.js
CHANGED
|
@@ -1551,7 +1551,8 @@ const FilterDropdownMenuItem = ({
|
|
|
1551
1551
|
subtitle,
|
|
1552
1552
|
divider,
|
|
1553
1553
|
fixed,
|
|
1554
|
-
selected
|
|
1554
|
+
selected,
|
|
1555
|
+
iconColor
|
|
1555
1556
|
} = item;
|
|
1556
1557
|
const [menuItemId] = useState(() => `filter-dropdown-item-${uniqueId()}`);
|
|
1557
1558
|
const isSelected = selected || (selectedValue == null ? void 0 : selectedValue.id) === id;
|
|
@@ -1568,6 +1569,7 @@ const FilterDropdownMenuItem = ({
|
|
|
1568
1569
|
subtitle,
|
|
1569
1570
|
divider,
|
|
1570
1571
|
fixed,
|
|
1572
|
+
iconColor,
|
|
1571
1573
|
"aria-label": ariaLabel,
|
|
1572
1574
|
"aria-labelledby": menuItemId,
|
|
1573
1575
|
"aria-selected": isSelected,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"FilterDropdownMenuItem.d.ts","sourceRoot":"","sources":["../../../../../src/components/molecules/FilterDropdown/FilterDropdownMenuItem.tsx"],"names":[],"mappings":"AAIA,OAAO,EAAE,2BAA2B,EAAE,MAAM,SAAS,CAAA;AAErD,eAAO,MAAM,sBAAsB,4DAMhC,2BAA2B,
|
|
1
|
+
{"version":3,"file":"FilterDropdownMenuItem.d.ts","sourceRoot":"","sources":["../../../../../src/components/molecules/FilterDropdown/FilterDropdownMenuItem.tsx"],"names":[],"mappings":"AAIA,OAAO,EAAE,2BAA2B,EAAE,MAAM,SAAS,CAAA;AAErD,eAAO,MAAM,sBAAsB,4DAMhC,2BAA2B,mDAsD7B,CAAA"}
|