@6thbridge/hexa 0.0.79 → 0.0.81

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/dist/index.d.mts CHANGED
@@ -178,8 +178,14 @@ type PhoneInputProps = Omit<React$1.InputHTMLAttributes<HTMLInputElement>, "onCh
178
178
  showAsterisk?: boolean;
179
179
  description?: React$1.ReactNode;
180
180
  error?: string;
181
+ disableCountrySelect?: boolean;
182
+ countryOptions?: CountrySelectOption[];
181
183
  };
182
184
  declare const PhoneInput: React$1.ForwardRefExoticComponent<PhoneInputProps>;
185
+ type CountrySelectOption = {
186
+ label: string;
187
+ value: RPNInput.Country;
188
+ };
183
189
  type FlagComponentProps = RPNInput.FlagProps & {
184
190
  className?: string;
185
191
  };
@@ -670,21 +676,33 @@ declare function Tabs({ tabs, defaultValue, onChange }: TabsProps): react_jsx_ru
670
676
  declare const featureBannerVariants: (props?: ({
671
677
  variant?: "success" | "pending" | "default" | "danger" | null | undefined;
672
678
  } & class_variance_authority_dist_types.ClassProp) | undefined) => string;
679
+
680
+ type FeatureBannerActionVariant = "primary" | "outlined";
681
+ type FeatureBannerAlign = "start" | "center";
682
+ type FeatureBannerClassNames = {
683
+ root?: string;
684
+ title?: string;
685
+ message?: string;
686
+ icon?: string;
687
+ action?: string;
688
+ };
673
689
  type FeatureBannerProps = {
674
690
  title: string;
675
691
  message?: ReactNode;
676
692
  icon?: ReactNode;
677
693
  action?: {
678
694
  label: string;
695
+ variant?: FeatureBannerActionVariant;
679
696
  onClick: () => void;
680
- className?: string;
681
697
  };
682
698
  dismissible?: boolean;
683
699
  onDismiss?: () => void;
684
700
  isOpen?: boolean;
685
- className?: string;
701
+ align?: FeatureBannerAlign;
702
+ classNames?: FeatureBannerClassNames;
686
703
  } & VariantProps<typeof featureBannerVariants>;
687
- declare const FeatureBanner: ({ title, message, variant, icon, action, dismissible, onDismiss, isOpen, className, }: FeatureBannerProps) => react_jsx_runtime.JSX.Element | null;
704
+
705
+ declare const FeatureBanner: ({ title, message, variant, icon, action, dismissible, onDismiss, isOpen, align, classNames, }: FeatureBannerProps) => react_jsx_runtime.JSX.Element | null;
688
706
 
689
707
  type EditorControl = "bold" | "italic" | "underline" | "strike" | "heading1" | "bulletList" | "orderedList" | "blockquote" | "textStyle" | "link";
690
708
 
package/dist/index.d.ts CHANGED
@@ -178,8 +178,14 @@ type PhoneInputProps = Omit<React$1.InputHTMLAttributes<HTMLInputElement>, "onCh
178
178
  showAsterisk?: boolean;
179
179
  description?: React$1.ReactNode;
180
180
  error?: string;
181
+ disableCountrySelect?: boolean;
182
+ countryOptions?: CountrySelectOption[];
181
183
  };
182
184
  declare const PhoneInput: React$1.ForwardRefExoticComponent<PhoneInputProps>;
185
+ type CountrySelectOption = {
186
+ label: string;
187
+ value: RPNInput.Country;
188
+ };
183
189
  type FlagComponentProps = RPNInput.FlagProps & {
184
190
  className?: string;
185
191
  };
@@ -670,21 +676,33 @@ declare function Tabs({ tabs, defaultValue, onChange }: TabsProps): react_jsx_ru
670
676
  declare const featureBannerVariants: (props?: ({
671
677
  variant?: "success" | "pending" | "default" | "danger" | null | undefined;
672
678
  } & class_variance_authority_dist_types.ClassProp) | undefined) => string;
679
+
680
+ type FeatureBannerActionVariant = "primary" | "outlined";
681
+ type FeatureBannerAlign = "start" | "center";
682
+ type FeatureBannerClassNames = {
683
+ root?: string;
684
+ title?: string;
685
+ message?: string;
686
+ icon?: string;
687
+ action?: string;
688
+ };
673
689
  type FeatureBannerProps = {
674
690
  title: string;
675
691
  message?: ReactNode;
676
692
  icon?: ReactNode;
677
693
  action?: {
678
694
  label: string;
695
+ variant?: FeatureBannerActionVariant;
679
696
  onClick: () => void;
680
- className?: string;
681
697
  };
682
698
  dismissible?: boolean;
683
699
  onDismiss?: () => void;
684
700
  isOpen?: boolean;
685
- className?: string;
701
+ align?: FeatureBannerAlign;
702
+ classNames?: FeatureBannerClassNames;
686
703
  } & VariantProps<typeof featureBannerVariants>;
687
- declare const FeatureBanner: ({ title, message, variant, icon, action, dismissible, onDismiss, isOpen, className, }: FeatureBannerProps) => react_jsx_runtime.JSX.Element | null;
704
+
705
+ declare const FeatureBanner: ({ title, message, variant, icon, action, dismissible, onDismiss, isOpen, align, classNames, }: FeatureBannerProps) => react_jsx_runtime.JSX.Element | null;
688
706
 
689
707
  type EditorControl = "bold" | "italic" | "underline" | "strike" | "heading1" | "bulletList" | "orderedList" | "blockquote" | "textStyle" | "link";
690
708