@trackunit/react-form-components 1.8.45 → 1.8.48

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
@@ -1047,7 +1047,7 @@ const cvaInputColorField = cssClassVarianceUtilities.cvaMerge([
1047
1047
  * Validates if the given value is a valid hex color.
1048
1048
  *
1049
1049
  * @param value - The string value to be validated.
1050
- * @returns True if the value is a valid hex color, otherwise false.
1050
+ * @returns {boolean} True if the value is a valid hex color, otherwise false.
1051
1051
  */
1052
1052
  const isValidHEXColor = (value) => {
1053
1053
  const hexRegex = /^#([0-9A-F]{6})$/i;
package/index.esm.js CHANGED
@@ -1046,7 +1046,7 @@ const cvaInputColorField = cvaMerge([
1046
1046
  * Validates if the given value is a valid hex color.
1047
1047
  *
1048
1048
  * @param value - The string value to be validated.
1049
- * @returns True if the value is a valid hex color, otherwise false.
1049
+ * @returns {boolean} True if the value is a valid hex color, otherwise false.
1050
1050
  */
1051
1051
  const isValidHEXColor = (value) => {
1052
1052
  const hexRegex = /^#([0-9A-F]{6})$/i;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@trackunit/react-form-components",
3
- "version": "1.8.45",
3
+ "version": "1.8.48",
4
4
  "repository": "https://github.com/Trackunit/manager",
5
5
  "license": "SEE LICENSE IN LICENSE.txt",
6
6
  "engines": {
@@ -16,14 +16,14 @@
16
16
  "zod": "^3.23.8",
17
17
  "react-hook-form": "7.62.0",
18
18
  "tailwind-merge": "^2.0.0",
19
- "@trackunit/css-class-variance-utilities": "1.7.29",
20
- "@trackunit/react-components": "1.9.43",
21
- "@trackunit/ui-icons": "1.7.31",
22
- "@trackunit/shared-utils": "1.9.29",
23
- "@trackunit/ui-design-tokens": "1.7.30",
24
- "@trackunit/i18n-library-translation": "1.7.35",
19
+ "@trackunit/css-class-variance-utilities": "1.7.31",
20
+ "@trackunit/react-components": "1.9.46",
21
+ "@trackunit/ui-icons": "1.7.33",
22
+ "@trackunit/shared-utils": "1.9.31",
23
+ "@trackunit/ui-design-tokens": "1.7.32",
24
+ "@trackunit/i18n-library-translation": "1.7.38",
25
25
  "string-ts": "^2.0.0",
26
- "@trackunit/react-test-setup": "1.4.29",
26
+ "@trackunit/react-test-setup": "1.4.31",
27
27
  "@js-temporal/polyfill": "^0.5.1"
28
28
  },
29
29
  "module": "./index.esm.js",
@@ -5,7 +5,7 @@ type FormGroupExposedProps = Pick<FormGroupProps, "label" | "tip" | "helpText" |
5
5
  * Validates if the given value is a valid hex color.
6
6
  *
7
7
  * @param value - The string value to be validated.
8
- * @returns True if the value is a valid hex color, otherwise false.
8
+ * @returns {boolean} True if the value is a valid hex color, otherwise false.
9
9
  */
10
10
  export declare const isValidHEXColor: (value: string) => boolean;
11
11
  export interface ColorFieldProps extends FormGroupExposedProps, BaseInputProps {