@verifiedinc-public/shared-ui-elements 3.2.1 → 3.3.1
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/components/form/TimezoneInput/index.d.ts +19 -0
- package/dist/components/form/TimezoneInput/timezones.json.d.ts +1701 -0
- package/dist/components/form/index.d.ts +1 -0
- package/dist/components/index.mjs +1 -1
- package/dist/index.mjs +1 -1
- package/dist/shared/index-CmfEgJAn.mjs +105 -0
- package/package.json +1 -1
- package/dist/shared/index-5BCABZr1.mjs +0 -105
@@ -0,0 +1,19 @@
|
|
1
|
+
import { ReactElement } from 'react';
|
2
|
+
/**
|
3
|
+
* Props for the TimezoneInput component.
|
4
|
+
*/
|
5
|
+
interface TimezoneInputProps {
|
6
|
+
/**
|
7
|
+
* The currently selected timezone code.
|
8
|
+
* This should be a valid IANA timezone identifier (e.g., 'America/New_York', 'Europe/London').
|
9
|
+
* The value must match one of the timezone codes from the timezones.json file.
|
10
|
+
*/
|
11
|
+
value: string;
|
12
|
+
/**
|
13
|
+
* Callback fired when the timezone selection changes.
|
14
|
+
* @param value - The new timezone code selected by the user
|
15
|
+
*/
|
16
|
+
onChange: (value: string) => void;
|
17
|
+
}
|
18
|
+
export declare function TimezoneInput({ value, onChange, }: TimezoneInputProps): ReactElement;
|
19
|
+
export {};
|