@appquality/unguess-design-system 2.10.0 → 2.10.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
CHANGED
|
@@ -1,3 +1,15 @@
|
|
|
1
|
+
# v2.10.1 (Mon May 02 2022)
|
|
2
|
+
|
|
3
|
+
#### 🐛 Bug Fix
|
|
4
|
+
|
|
5
|
+
- Cup 647 radio cards [#48](https://github.com/AppQuality/unguess-design-system/pull/48) ([@marcbon](https://github.com/marcbon))
|
|
6
|
+
|
|
7
|
+
#### Authors: 1
|
|
8
|
+
|
|
9
|
+
- Marco Bonomo ([@marcbon](https://github.com/marcbon))
|
|
10
|
+
|
|
11
|
+
---
|
|
12
|
+
|
|
1
13
|
# v2.10.0 (Mon May 02 2022)
|
|
2
14
|
|
|
3
15
|
#### 🚀 Enhancement
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import { CardProps } from "../../../cards/_types";
|
|
3
|
+
import { RadioArgs } from "../_types";
|
|
4
|
+
export interface RadioCardArgs extends RadioArgs {
|
|
5
|
+
card?: CardProps;
|
|
6
|
+
label: string;
|
|
7
|
+
icon: React.ReactNode;
|
|
8
|
+
iconActive?: React.ReactNode;
|
|
9
|
+
value: string;
|
|
10
|
+
onChecked?: (value: string) => void;
|
|
11
|
+
}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import { ComponentMeta, Story } from "@storybook/react";
|
|
3
|
+
import { RadioCardArgs } from "./_types";
|
|
4
|
+
interface FormProps {
|
|
5
|
+
cards: RadioCardArgs[];
|
|
6
|
+
form: {
|
|
7
|
+
onSubmit: (e: any) => void;
|
|
8
|
+
};
|
|
9
|
+
}
|
|
10
|
+
export declare const SingleCard: Story<RadioCardArgs>;
|
|
11
|
+
export declare const MultipleCards: Story<FormProps>;
|
|
12
|
+
declare const _default: ComponentMeta<({ card, icon, iconActive, ...props }: RadioCardArgs) => JSX.Element>;
|
|
13
|
+
export default _default;
|