@carto/meridian-ds 2.12.0 → 2.12.1
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 +5 -0
- package/dist/components/index.cjs +2 -1
- package/dist/components/index.js +2 -1
- package/dist/custom-icons/index.cjs +1434 -1306
- package/dist/custom-icons/index.js +1434 -1306
- package/dist/types/components/SelectField/MultipleSelectField/MultipleSelectField.d.ts +5 -2
- package/dist/types/components/SelectField/MultipleSelectField/MultipleSelectField.d.ts.map +1 -1
- package/dist/types/components/SelectField/MultipleSelectField/MultipleSelectField.stories.d.ts +13 -1
- package/dist/types/components/SelectField/MultipleSelectField/MultipleSelectField.stories.d.ts.map +1 -1
- package/dist/types/components/SelectField/types.d.ts +8 -2
- package/dist/types/components/SelectField/types.d.ts.map +1 -1
- package/dist/types/custom-icons/McpServer.d.ts +4 -0
- package/dist/types/custom-icons/McpServer.d.ts.map +1 -0
- package/dist/types/custom-icons/SelectFeature.d.ts.map +1 -1
- package/dist/types/custom-icons/SortAscending.d.ts +4 -0
- package/dist/types/custom-icons/SortAscending.d.ts.map +1 -0
- package/dist/types/custom-icons/SortDescending.d.ts +4 -0
- package/dist/types/custom-icons/SortDescending.d.ts.map +1 -0
- package/dist/types/custom-icons/WorkflowExecution.d.ts +4 -0
- package/dist/types/custom-icons/WorkflowExecution.d.ts.map +1 -0
- package/dist/types/custom-icons/__docs__/CustomIcons.stories.d.ts +1 -1
- package/dist/types/custom-icons/index.d.ts +4 -0
- package/dist/types/custom-icons/index.d.ts.map +1 -1
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -4,6 +4,11 @@
|
|
|
4
4
|
|
|
5
5
|
## 2.0
|
|
6
6
|
|
|
7
|
+
### 2.12.1
|
|
8
|
+
|
|
9
|
+
- Allow customization of menu item label in MultipleSelectField [#359](https://github.com/CartoDB/meridian-ds/pull/359)
|
|
10
|
+
- Custom Icons [#374](https://github.com/CartoDB/meridian-ds/pull/374)
|
|
11
|
+
|
|
7
12
|
### 2.12.0
|
|
8
13
|
|
|
9
14
|
- Added onBack button functionality to the DialogHeader component [#372](https://github.com/CartoDB/meridian-ds/pull/372)
|
|
@@ -638,6 +638,7 @@ function _MultipleSelectField({
|
|
|
638
638
|
noneSelectedText,
|
|
639
639
|
selectedText,
|
|
640
640
|
selectAllText,
|
|
641
|
+
renderItemLabel,
|
|
641
642
|
...props
|
|
642
643
|
}, ref) {
|
|
643
644
|
const {
|
|
@@ -771,7 +772,7 @@ function _MultipleSelectField({
|
|
|
771
772
|
checked: currentOptions.includes(option.value)
|
|
772
773
|
}
|
|
773
774
|
),
|
|
774
|
-
/* @__PURE__ */ jsxRuntime.jsx(material.ListItemText, { primary: option.label })
|
|
775
|
+
renderItemLabel ? renderItemLabel(option) : /* @__PURE__ */ jsxRuntime.jsx(material.ListItemText, { primary: option.label })
|
|
775
776
|
]
|
|
776
777
|
},
|
|
777
778
|
option.value
|
package/dist/components/index.js
CHANGED
|
@@ -622,6 +622,7 @@ function _MultipleSelectField({
|
|
|
622
622
|
noneSelectedText,
|
|
623
623
|
selectedText,
|
|
624
624
|
selectAllText,
|
|
625
|
+
renderItemLabel,
|
|
625
626
|
...props
|
|
626
627
|
}, ref) {
|
|
627
628
|
const {
|
|
@@ -755,7 +756,7 @@ function _MultipleSelectField({
|
|
|
755
756
|
checked: currentOptions.includes(option.value)
|
|
756
757
|
}
|
|
757
758
|
),
|
|
758
|
-
/* @__PURE__ */ jsx(ListItemText$1, { primary: option.label })
|
|
759
|
+
renderItemLabel ? renderItemLabel(option) : /* @__PURE__ */ jsx(ListItemText$1, { primary: option.label })
|
|
759
760
|
]
|
|
760
761
|
},
|
|
761
762
|
option.value
|