@trackunit/react-form-components 0.0.115 → 0.0.117

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/index.cjs.js CHANGED
@@ -15083,3 +15083,4 @@ exports.cvaSelectXIcon = cvaSelectXIcon;
15083
15083
  exports.getOrderedOptions = getOrderedOptions;
15084
15084
  exports.isMultiValue = isMultiValue;
15085
15085
  exports.useCustomComponents = useCustomComponents;
15086
+ exports.usePhoneInput = usePhoneInput;
package/index.esm.js CHANGED
@@ -15003,4 +15003,4 @@ const UploadField = forwardRef((_a, ref) => {
15003
15003
  */
15004
15004
  setupLibraryTranslations();
15005
15005
 
15006
- export { ActionButton, BaseInput, Checkbox, CreatableSelect, DateField, DateInput, DropZone, EmailField, EmailInput, FormGroup, Label, MultiSelectMenuItem, NumberField, NumberInput, OptionCard, PhoneField, PhoneInput, RadioGroup, RadioItem, Schedule, Search, Select, SingleSelectMenuItem, TextArea, TextAreaField, TextField, TextInput, TimeRange, TimeRangeField, Toggle, UploadField, UploadInput, StateManagedSelect$1 as ValueType, cvaInput, cvaInputAddon, cvaInputAddonAfter, cvaInputAddonBefore, cvaInputBase, cvaInputBaseDisabled, cvaInputBaseInvalid, cvaInputField, cvaInputPrefix, cvaInputSuffix, cvaSelect, cvaSelectCounter, cvaSelectDynamicTagContainer, cvaSelectIcon, cvaSelectMenu, cvaSelectMenuList, cvaSelectPrefix, cvaSelectXIcon, getOrderedOptions, isMultiValue, useCustomComponents };
15006
+ export { ActionButton, BaseInput, Checkbox, CreatableSelect, DateField, DateInput, DropZone, EmailField, EmailInput, FormGroup, Label, MultiSelectMenuItem, NumberField, NumberInput, OptionCard, PhoneField, PhoneInput, RadioGroup, RadioItem, Schedule, Search, Select, SingleSelectMenuItem, TextArea, TextAreaField, TextField, TextInput, TimeRange, TimeRangeField, Toggle, UploadField, UploadInput, StateManagedSelect$1 as ValueType, cvaInput, cvaInputAddon, cvaInputAddonAfter, cvaInputAddonBefore, cvaInputBase, cvaInputBaseDisabled, cvaInputBaseInvalid, cvaInputField, cvaInputPrefix, cvaInputSuffix, cvaSelect, cvaSelectCounter, cvaSelectDynamicTagContainer, cvaSelectIcon, cvaSelectMenu, cvaSelectMenuList, cvaSelectPrefix, cvaSelectXIcon, getOrderedOptions, isMultiValue, useCustomComponents, usePhoneInput };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@trackunit/react-form-components",
3
- "version": "0.0.115",
3
+ "version": "0.0.117",
4
4
  "repository": "https://github.com/Trackunit/manager",
5
5
  "license": "SEE LICENSE IN LICENSE.txt",
6
6
  "engines": {
@@ -9,7 +9,7 @@
9
9
  "dependencies": {
10
10
  "@trackunit/css-class-variance-utilities": "0.0.11",
11
11
  "@trackunit/i18n-library-translation": "0.0.68",
12
- "@trackunit/react-components": "0.1.146",
12
+ "@trackunit/react-components": "0.1.147",
13
13
  "date-fns": "2.29.3",
14
14
  "libphonenumber-js": "1.10.36",
15
15
  "react": "18.2.0",
@@ -1,7 +1,7 @@
1
1
  /// <reference types="react" />
2
2
  import { BaseInputProps } from "../BaseInput";
3
3
  type BaseInputExposedProps = Omit<BaseInputProps, "actions">;
4
- interface PhoneNumberProps {
4
+ export interface PhoneNumberProps {
5
5
  countryCode: string;
6
6
  phoneNumber: string;
7
7
  }
package/src/index.d.ts CHANGED
@@ -26,3 +26,4 @@ export * from "./components/TimeRangeField/TimeRangeField";
26
26
  export * from "./components/Toggle";
27
27
  export * from "./components/UploadField/UploadField";
28
28
  export * from "./components/UploadInput/UploadInput";
29
+ export * from "./utilities/usePhoneInput";