@trackunit/react-form-components 1.3.85 → 1.3.88

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
@@ -861,10 +861,9 @@ ColorField.displayName = "ColorField";
861
861
  /**
862
862
  * A wrapper around BaseInput with a pop-up day picker.
863
863
  *
864
- * NOTE: If shown with a label, please use the `DateField` component instead.
865
- */
866
- /**
864
+ * The value is formatted to an ISO date string (YYYY-MM-DD)
867
865
  *
866
+ * NOTE: If shown with a label, please use the `DateField` component instead.
868
867
  */
869
868
  const DateInput = ({ min, max, defaultValue, value, ref, ...rest }) => {
870
869
  const formatDateToInputString = (date) => date instanceof Date
package/index.esm.js CHANGED
@@ -842,10 +842,9 @@ ColorField.displayName = "ColorField";
842
842
  /**
843
843
  * A wrapper around BaseInput with a pop-up day picker.
844
844
  *
845
- * NOTE: If shown with a label, please use the `DateField` component instead.
846
- */
847
- /**
845
+ * The value is formatted to an ISO date string (YYYY-MM-DD)
848
846
  *
847
+ * NOTE: If shown with a label, please use the `DateField` component instead.
849
848
  */
850
849
  const DateInput = ({ min, max, defaultValue, value, ref, ...rest }) => {
851
850
  const formatDateToInputString = (date) => date instanceof Date
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@trackunit/react-form-components",
3
- "version": "1.3.85",
3
+ "version": "1.3.88",
4
4
  "repository": "https://github.com/Trackunit/manager",
5
5
  "license": "SEE LICENSE IN LICENSE.txt",
6
6
  "engines": {
@@ -17,12 +17,12 @@
17
17
  "zod": "3.22.4",
18
18
  "react-hook-form": "7.53.1",
19
19
  "tailwind-merge": "^2.0.0",
20
- "@trackunit/css-class-variance-utilities": "1.3.61",
21
- "@trackunit/react-components": "1.4.75",
22
- "@trackunit/ui-icons": "1.3.61",
23
- "@trackunit/shared-utils": "1.5.61",
24
- "@trackunit/ui-design-tokens": "1.3.61",
25
- "@trackunit/i18n-library-translation": "1.3.66",
20
+ "@trackunit/css-class-variance-utilities": "1.3.63",
21
+ "@trackunit/react-components": "1.4.77",
22
+ "@trackunit/ui-icons": "1.3.63",
23
+ "@trackunit/shared-utils": "1.5.63",
24
+ "@trackunit/ui-design-tokens": "1.3.63",
25
+ "@trackunit/i18n-library-translation": "1.3.68",
26
26
  "string-ts": "^2.0.0"
27
27
  },
28
28
  "module": "./index.esm.js",
@@ -21,10 +21,9 @@ export interface DateInputProps extends BaseInputExposedProps {
21
21
  /**
22
22
  * A wrapper around BaseInput with a pop-up day picker.
23
23
  *
24
- * NOTE: If shown with a label, please use the `DateField` component instead.
25
- */
26
- /**
24
+ * The value is formatted to an ISO date string (YYYY-MM-DD)
27
25
  *
26
+ * NOTE: If shown with a label, please use the `DateField` component instead.
28
27
  */
29
28
  export declare const DateInput: {
30
29
  ({ min, max, defaultValue, value, ref, ...rest }: DateInputProps): import("react/jsx-runtime").JSX.Element;