notionsoft-ui 1.0.22 → 1.0.23

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "notionsoft-ui",
3
- "version": "1.0.22",
3
+ "version": "1.0.23",
4
4
  "description": "A React UI component installer (shadcn-style). Installs components directly into your project.",
5
5
  "bin": {
6
6
  "notionsoft-ui": "./cli/index.cjs"
@@ -0,0 +1,3 @@
1
+ import PhoneInput from "./phone-input";
2
+
3
+ export default PhoneInput;
@@ -67,10 +67,9 @@ const VirtualList: React.FC<VirtualListProps> = ({
67
67
  </div>
68
68
  );
69
69
  };
70
- export type PhoneCountryPickerSize = "sm" | "md" | "lg";
70
+ export type PhoneInputSize = "sm" | "md" | "lg";
71
71
 
72
- interface PhoneCountryPickerProps
73
- extends React.InputHTMLAttributes<HTMLInputElement> {
72
+ interface PhoneInputProps extends React.InputHTMLAttributes<HTMLInputElement> {
74
73
  requiredHint?: string;
75
74
  label?: string;
76
75
  errorMessage?: string;
@@ -78,13 +77,13 @@ interface PhoneCountryPickerProps
78
77
  rootDivClassName?: string;
79
78
  iconClassName?: string;
80
79
  };
81
- measurement?: PhoneCountryPickerSize;
80
+ measurement?: PhoneInputSize;
82
81
  ROW_HEIGHT?: number;
83
82
  VISIBLE_ROWS?: number;
84
83
  BUFFER?: number;
85
84
  }
86
85
 
87
- export const PhoneCountryPicker: React.FC<PhoneCountryPickerProps> = ({
86
+ const PhoneInput: React.FC<PhoneInputProps> = ({
88
87
  measurement = "sm",
89
88
  errorMessage,
90
89
  label,
@@ -398,3 +397,4 @@ export const PhoneCountryPicker: React.FC<PhoneCountryPickerProps> = ({
398
397
  </div>
399
398
  );
400
399
  };
400
+ export default PhoneInput;