@trackunit/react-form-components 1.14.28 → 1.14.29

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": "@trackunit/react-form-components",
3
- "version": "1.14.28",
3
+ "version": "1.14.29",
4
4
  "repository": "https://github.com/Trackunit/manager",
5
5
  "license": "SEE LICENSE IN LICENSE.txt",
6
6
  "engines": {
@@ -14,12 +14,12 @@
14
14
  "zod": "^3.23.8",
15
15
  "react-hook-form": "7.62.0",
16
16
  "tailwind-merge": "^2.0.0",
17
- "@trackunit/css-class-variance-utilities": "1.11.43",
18
- "@trackunit/react-components": "1.17.25",
19
- "@trackunit/ui-icons": "1.11.42",
20
- "@trackunit/shared-utils": "1.13.43",
21
- "@trackunit/ui-design-tokens": "1.11.43",
22
- "@trackunit/i18n-library-translation": "1.12.28",
17
+ "@trackunit/css-class-variance-utilities": "1.11.44",
18
+ "@trackunit/react-components": "1.17.26",
19
+ "@trackunit/ui-icons": "1.11.43",
20
+ "@trackunit/shared-utils": "1.13.44",
21
+ "@trackunit/ui-design-tokens": "1.11.44",
22
+ "@trackunit/i18n-library-translation": "1.12.29",
23
23
  "string-ts": "^2.0.0",
24
24
  "@js-temporal/polyfill": "^0.5.1",
25
25
  "es-toolkit": "^1.39.10"
@@ -1,26 +0,0 @@
1
- import { CommonProps } from "@trackunit/react-components";
2
- import { FocusEventHandler } from "react";
3
- import { SingleValue } from "react-select";
4
- import { CountryCode } from "./CountryCodes";
5
- interface CountryCodeSelectProps extends CommonProps {
6
- excludedCountries?: CountryCode;
7
- countryCode?: string;
8
- isInvalid?: boolean;
9
- onChange?: (option: SingleValue<{
10
- label: string;
11
- value: string;
12
- }>) => void;
13
- disabled?: boolean;
14
- readOnly?: boolean;
15
- placeholder?: string;
16
- onBlur?: FocusEventHandler<HTMLInputElement> | undefined;
17
- isClearable?: boolean;
18
- }
19
- /**
20
- * The CountryCodeSelect component is used to select a country code for a phone number.
21
- *
22
- * @param {CountryCodeSelectProps} props - The props for the CountryCodeSelect component
23
- * @returns {ReactElement} CountryCodeSelect component
24
- */
25
- export declare const CountryCodeSelect: ({ excludedCountries, countryCode, isInvalid, onChange, disabled, readOnly, "data-testid": dataTestId, placeholder, onBlur, isClearable, }: CountryCodeSelectProps) => import("react/jsx-runtime").JSX.Element;
26
- export {};
@@ -1,5 +0,0 @@
1
- export declare const countryCodes: {
2
- label: string;
3
- value: string;
4
- }[];
5
- export type CountryCode = typeof countryCodes;