@6thbridge/hexa 0.0.93 → 0.0.95

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
@@ -150,6 +150,10 @@ type SearchableDataType = {
150
150
  };
151
151
 
152
152
  type CountryPropsStatus = VariantProps<typeof inputContainerVariants>["status"];
153
+ type CountrySelectOption$1 = {
154
+ label: string;
155
+ value: string;
156
+ };
153
157
  interface CountryProps {
154
158
  modal?: boolean;
155
159
  hideSearch?: boolean;
@@ -168,8 +172,9 @@ interface CountryProps {
168
172
  showAsterisk?: boolean;
169
173
  description?: React.ReactNode;
170
174
  error?: string;
175
+ countryOptions?: CountrySelectOption$1[];
171
176
  }
172
- declare const Country: ({ hideSearch, showAsterisk, label, description, error, ...props }: CountryProps) => React$1.JSX.Element;
177
+ declare const Country: ({ hideSearch, showAsterisk, label, description, error, countryOptions, ...props }: CountryProps) => React$1.JSX.Element;
173
178
 
174
179
  type SelectPropsStatus = VariantProps<typeof inputContainerVariants>["status"];
175
180
  interface SelectProps {
package/dist/index.d.ts CHANGED
@@ -150,6 +150,10 @@ type SearchableDataType = {
150
150
  };
151
151
 
152
152
  type CountryPropsStatus = VariantProps<typeof inputContainerVariants>["status"];
153
+ type CountrySelectOption$1 = {
154
+ label: string;
155
+ value: string;
156
+ };
153
157
  interface CountryProps {
154
158
  modal?: boolean;
155
159
  hideSearch?: boolean;
@@ -168,8 +172,9 @@ interface CountryProps {
168
172
  showAsterisk?: boolean;
169
173
  description?: React.ReactNode;
170
174
  error?: string;
175
+ countryOptions?: CountrySelectOption$1[];
171
176
  }
172
- declare const Country: ({ hideSearch, showAsterisk, label, description, error, ...props }: CountryProps) => React$1.JSX.Element;
177
+ declare const Country: ({ hideSearch, showAsterisk, label, description, error, countryOptions, ...props }: CountryProps) => React$1.JSX.Element;
173
178
 
174
179
  type SelectPropsStatus = VariantProps<typeof inputContainerVariants>["status"];
175
180
  interface SelectProps {