@allxsmith/bestax-bulma 5.27.2 → 5.27.3

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.
@@ -34,8 +34,9 @@ export interface FileProps extends Omit<React.InputHTMLAttributes<HTMLInputEleme
34
34
  /**
35
35
  * Show a file name area. Without `fileName` it shows what the user picked: the file's name, or
36
36
  * a count when `multiple` lets them pick several (see `pickedFilesLabel`). Before a pick there is
37
- * no name area. A reset of the input's form clears the name, but clearing the input from code
38
- * fires no change event and leaves it showing, so pass `fileName` to control the text then.
37
+ * no name area, and the root takes Bulma's `is-empty`. A reset of the input's form clears the
38
+ * name, but clearing the input from code fires no change event and leaves it showing, so pass
39
+ * `fileName` to control the text then.
39
40
  */
40
41
  hasName?: boolean;
41
42
  /** Text on the file CTA button (defaults to "Choose a file…"). */
@@ -34,8 +34,9 @@ export interface FileProps extends Omit<React.InputHTMLAttributes<HTMLInputEleme
34
34
  /**
35
35
  * Show a file name area. Without `fileName` it shows what the user picked: the file's name, or
36
36
  * a count when `multiple` lets them pick several (see `pickedFilesLabel`). Before a pick there is
37
- * no name area. A reset of the input's form clears the name, but clearing the input from code
38
- * fires no change event and leaves it showing, so pass `fileName` to control the text then.
37
+ * no name area, and the root takes Bulma's `is-empty`. A reset of the input's form clears the
38
+ * name, but clearing the input from code fires no change event and leaves it showing, so pass
39
+ * `fileName` to control the text then.
39
40
  */
40
41
  hasName?: boolean;
41
42
  /** Text on the file CTA button (defaults to "Choose a file…"). */