@recursica/mui-adapter 0.34.3 → 0.34.4
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 +6 -0
- package/package.json +1 -1
- package/src/components/Chip/Chip.stories.tsx +11 -0
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,11 @@
|
|
|
1
1
|
# @recursica/mui-adapter
|
|
2
2
|
|
|
3
|
+
## 0.34.4
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- d48149c: Chip's selected checkmark now overlays the leading icon instead of sitting to its left, matching MUI's native behavior (mui-adapter already did this; mantine-adapter now matches).
|
|
8
|
+
|
|
3
9
|
## 0.34.3
|
|
4
10
|
|
|
5
11
|
### Patch Changes
|
package/package.json
CHANGED
|
@@ -113,3 +113,14 @@ export const WithLeadingIcon: Story = {
|
|
|
113
113
|
},
|
|
114
114
|
render: (args: ChipStoryProps) => <Chip {...args} />,
|
|
115
115
|
};
|
|
116
|
+
|
|
117
|
+
// Selecting a chip with a leading icon swaps in the checkmark rather than showing both — this
|
|
118
|
+
// was already MUI-adapter's native behavior; the story exists to keep parity with mantine-adapter.
|
|
119
|
+
export const WithLeadingIconSelected: Story = {
|
|
120
|
+
args: {
|
|
121
|
+
...WithLeadingIcon.args,
|
|
122
|
+
children: "Leading Icon Selected",
|
|
123
|
+
checked: true,
|
|
124
|
+
},
|
|
125
|
+
render: (args: ChipStoryProps) => <Chip {...args} onChange={() => {}} />,
|
|
126
|
+
};
|