wacomm 1.32.0 → 1.33.0

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.
@@ -1,6 +1,6 @@
1
1
  import { PostPrivacy } from 'wenum';
2
2
  interface PostPrivacyDisplayProps {
3
- postprivacy: PostPrivacy;
3
+ value: PostPrivacy;
4
4
  }
5
- declare function PostPrivacyDisplay({ postprivacy }: PostPrivacyDisplayProps): import("react/jsx-runtime").JSX.Element;
5
+ declare function PostPrivacyDisplay({ value }: PostPrivacyDisplayProps): import("react/jsx-runtime").JSX.Element;
6
6
  export default PostPrivacyDisplay;
@@ -1,2 +1,8 @@
1
- declare function PostPrivacyPicker(): import("react/jsx-runtime").JSX.Element;
1
+ import { PostPrivacy } from 'wenum';
2
+ interface PostPrivacyPickerProps {
3
+ onChange: (p: PostPrivacy) => void;
4
+ className?: string;
5
+ value?: PostPrivacy;
6
+ }
7
+ declare function PostPrivacyPicker({ onChange, className, value }: PostPrivacyPickerProps): import("react/jsx-runtime").JSX.Element;
2
8
  export default PostPrivacyPicker;
@@ -1,6 +1,6 @@
1
1
  import { Gender } from 'wenum';
2
2
  interface GenderDisplayProps {
3
- gender: Gender;
3
+ value: Gender;
4
4
  }
5
- declare function GenderDisplay({ gender }: GenderDisplayProps): import("react/jsx-runtime").JSX.Element;
5
+ declare function GenderDisplay({ value }: GenderDisplayProps): import("react/jsx-runtime").JSX.Element;
6
6
  export default GenderDisplay;
@@ -2,7 +2,7 @@ import { Gender } from 'wenum';
2
2
  interface GenderPickerProps {
3
3
  onChange: (p: Gender) => void;
4
4
  className?: string;
5
- defaultValue?: Gender;
5
+ value?: Gender;
6
6
  }
7
- declare function GenderPicker({ onChange, className, defaultValue }: GenderPickerProps): import("react/jsx-runtime").JSX.Element;
7
+ declare function GenderPicker({ onChange, className, value }: GenderPickerProps): import("react/jsx-runtime").JSX.Element;
8
8
  export default GenderPicker;
@@ -2,7 +2,7 @@ import { Handedness } from 'wenum';
2
2
  interface HandednessPickerProps {
3
3
  onChange: (p: Handedness) => void;
4
4
  className?: string;
5
- defaultValue?: Handedness;
5
+ value?: Handedness;
6
6
  }
7
- declare function HandednessPicker({ onChange, className, defaultValue }: HandednessPickerProps): import("react/jsx-runtime").JSX.Element;
7
+ declare function HandednessPicker({ onChange, className, value }: HandednessPickerProps): import("react/jsx-runtime").JSX.Element;
8
8
  export default HandednessPicker;
@@ -1,6 +1,6 @@
1
1
  import { ProfilePrivacy } from 'wenum';
2
2
  interface ProfilePrivacyDisplayProps {
3
- profileprivacy: ProfilePrivacy;
3
+ value: ProfilePrivacy;
4
4
  }
5
- declare function ProfilePrivacyDisplay({ profileprivacy }: ProfilePrivacyDisplayProps): import("react/jsx-runtime").JSX.Element;
5
+ declare function ProfilePrivacyDisplay({ value }: ProfilePrivacyDisplayProps): import("react/jsx-runtime").JSX.Element;
6
6
  export default ProfilePrivacyDisplay;
@@ -1,2 +1,8 @@
1
- declare function ProfilePrivacyPicker(): import("react/jsx-runtime").JSX.Element;
1
+ import { ProfilePrivacy } from 'wenum';
2
+ interface ProfilePrivacyPickerProps {
3
+ onChange: (p: ProfilePrivacy) => void;
4
+ className?: string;
5
+ value?: ProfilePrivacy;
6
+ }
7
+ declare function ProfilePrivacyPicker({ onChange, className, value }: ProfilePrivacyPickerProps): import("react/jsx-runtime").JSX.Element;
2
8
  export default ProfilePrivacyPicker;
@@ -2,7 +2,7 @@ import { Pronoun } from 'wenum';
2
2
  interface PronounPickerProps {
3
3
  onChange: (p: Pronoun) => void;
4
4
  className?: string;
5
- defaultValue?: Pronoun;
5
+ value?: Pronoun;
6
6
  }
7
- declare function PronounPicker({ onChange, className, defaultValue }: PronounPickerProps): import("react/jsx-runtime").JSX.Element;
7
+ declare function PronounPicker({ onChange, className, value }: PronounPickerProps): import("react/jsx-runtime").JSX.Element;
8
8
  export default PronounPicker;