@6thbridge/hexa 0.0.94 → 0.0.96

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