@dimasbaguspm/versaur 0.0.55 → 0.0.56

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.
@@ -26,12 +26,13 @@ export interface TextInputAsButtonProps extends Omit<ButtonHTMLAttributes<HTMLBu
26
26
  /**
27
27
  * Actual value to store in the hidden input (can be any serializable type)
28
28
  * Used for form submission when name is provided
29
+ * This is NOT displayed to the user - use displayValue for that
29
30
  */
30
31
  value?: string | number | boolean | string[] | number[] | object;
31
32
  /**
32
33
  * Display value to show in the button UI
33
- * If not provided, will attempt to stringify the value
34
- * Useful when value is a FK/ID and displayValue is the human-readable representation
34
+ * This is what the user sees in the button
35
+ * If not provided or empty, placeholder will be shown instead
35
36
  */
36
37
  displayValue?: string;
37
38
  /**
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dimasbaguspm/versaur",
3
- "version": "0.0.55",
3
+ "version": "0.0.56",
4
4
  "description": "React UI library with Tailwind CSS",
5
5
  "author": "Dimas Bagus Prayogo Mukti<dimas.bagus.pm@gmail.com>",
6
6
  "license": "MIT",