@momo-webplatform/mobase 0.2.23 → 0.2.25

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.
@@ -113,7 +113,7 @@ declare const DialogContent: React$1.ForwardRefExoticComponent<Omit<DialogPrimit
113
113
  /**
114
114
  * Determines whether the close button should be positioned on the right side.
115
115
  */
116
- isRightCloseButton?: boolean | undefined;
116
+ positionRightCloseBtn?: boolean | undefined;
117
117
  /**
118
118
  * Size of the modal window
119
119
  */
@@ -122,6 +122,10 @@ declare const DialogContent: React$1.ForwardRefExoticComponent<Omit<DialogPrimit
122
122
  * Position of the modal window
123
123
  */
124
124
  position?: "center" | "left" | "right" | "bottom" | undefined;
125
+ /**
126
+ * Determines whether the close button hide or not
127
+ */
128
+ hideCloseBtn?: boolean | undefined;
125
129
  /**
126
130
  * Height of the modal window
127
131
  */
@@ -720,35 +724,8 @@ declare const LightboxGallery: ({ children, className, open, onOpenChange, }: Li
720
724
  children: ReactNode;
721
725
  }) => react_jsx_runtime.JSX.Element;
722
726
 
723
- interface ChoiceboxGroupProps {
724
- direction?: "row" | "col";
725
- label?: string;
726
- type: "checkbox" | "radio";
727
- value: string;
728
- disabled?: boolean;
729
- hiddenInput?: boolean;
730
- onChange: (value: string | boolean) => void;
731
- className?: string;
732
- }
733
- interface ChoiceboxGroupItemProps {
734
- description?: string;
735
- title?: string;
736
- value: string;
737
- type?: "checkbox" | "radio";
738
- name?: string;
739
- checked?: boolean;
740
- hiddenInput?: boolean;
741
- onChange?: (value: string | boolean) => void;
742
- disabled?: boolean;
743
- children?: ReactNode;
744
- classNameDescription?: string;
745
- classNameTitle?: string;
746
- className?: string;
747
- }
748
- declare const ChoiceboxGroupItem: ({ title, description, value, type, name, checked, disabled, hiddenInput, classNameDescription, classNameTitle, className, onChange, children, }: ChoiceboxGroupItemProps) => react_jsx_runtime.JSX.Element;
749
- declare const ChoiceboxGroup: ({ direction, label, type, value, children, disabled, hiddenInput, onChange, className, ...props }: ChoiceboxGroupProps & {
750
- children: React__default.ReactNode;
751
- }) => react_jsx_runtime.JSX.Element;
727
+ declare const ChoiceboxGroup: React$1.ForwardRefExoticComponent<Omit<RadioGroupPrimitive.RadioGroupProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
728
+ declare const ChoiceboxGroupItem: React$1.ForwardRefExoticComponent<Omit<RadioGroupPrimitive.RadioGroupItemProps & React$1.RefAttributes<HTMLButtonElement>, "ref"> & React$1.RefAttributes<HTMLButtonElement>>;
752
729
 
753
730
  declare const badgeVariants: (props?: ({
754
731
  variant?: "default" | "secondary" | "outline" | "danger" | null | undefined;
@@ -113,7 +113,7 @@ declare const DialogContent: React$1.ForwardRefExoticComponent<Omit<DialogPrimit
113
113
  /**
114
114
  * Determines whether the close button should be positioned on the right side.
115
115
  */
116
- isRightCloseButton?: boolean | undefined;
116
+ positionRightCloseBtn?: boolean | undefined;
117
117
  /**
118
118
  * Size of the modal window
119
119
  */
@@ -122,6 +122,10 @@ declare const DialogContent: React$1.ForwardRefExoticComponent<Omit<DialogPrimit
122
122
  * Position of the modal window
123
123
  */
124
124
  position?: "center" | "left" | "right" | "bottom" | undefined;
125
+ /**
126
+ * Determines whether the close button hide or not
127
+ */
128
+ hideCloseBtn?: boolean | undefined;
125
129
  /**
126
130
  * Height of the modal window
127
131
  */
@@ -720,35 +724,8 @@ declare const LightboxGallery: ({ children, className, open, onOpenChange, }: Li
720
724
  children: ReactNode;
721
725
  }) => react_jsx_runtime.JSX.Element;
722
726
 
723
- interface ChoiceboxGroupProps {
724
- direction?: "row" | "col";
725
- label?: string;
726
- type: "checkbox" | "radio";
727
- value: string;
728
- disabled?: boolean;
729
- hiddenInput?: boolean;
730
- onChange: (value: string | boolean) => void;
731
- className?: string;
732
- }
733
- interface ChoiceboxGroupItemProps {
734
- description?: string;
735
- title?: string;
736
- value: string;
737
- type?: "checkbox" | "radio";
738
- name?: string;
739
- checked?: boolean;
740
- hiddenInput?: boolean;
741
- onChange?: (value: string | boolean) => void;
742
- disabled?: boolean;
743
- children?: ReactNode;
744
- classNameDescription?: string;
745
- classNameTitle?: string;
746
- className?: string;
747
- }
748
- declare const ChoiceboxGroupItem: ({ title, description, value, type, name, checked, disabled, hiddenInput, classNameDescription, classNameTitle, className, onChange, children, }: ChoiceboxGroupItemProps) => react_jsx_runtime.JSX.Element;
749
- declare const ChoiceboxGroup: ({ direction, label, type, value, children, disabled, hiddenInput, onChange, className, ...props }: ChoiceboxGroupProps & {
750
- children: React__default.ReactNode;
751
- }) => react_jsx_runtime.JSX.Element;
727
+ declare const ChoiceboxGroup: React$1.ForwardRefExoticComponent<Omit<RadioGroupPrimitive.RadioGroupProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
728
+ declare const ChoiceboxGroupItem: React$1.ForwardRefExoticComponent<Omit<RadioGroupPrimitive.RadioGroupItemProps & React$1.RefAttributes<HTMLButtonElement>, "ref"> & React$1.RefAttributes<HTMLButtonElement>>;
752
729
 
753
730
  declare const badgeVariants: (props?: ({
754
731
  variant?: "secondary" | "outline" | "danger" | "default" | null | undefined;