@rogieking/figui3 11.6.7 → 11.6.8

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.
@@ -168,7 +168,8 @@ Handlers below assume `onInput` / `onChange` / `onClick` from [react.md](react.m
168
168
  />
169
169
  ```
170
170
 
171
- - Attrs: `preview`, `label`, `accepts`, `multiple`, `disabled`, `variant` (forwards `fig-button` variants; defaults to `property`)
171
+ - Attrs: `preview`, `label`, `accepts`, `multiple`, `remove`, `disabled`, `variant` (forwards `fig-button` variants; defaults to `property`)
172
+ - `remove` defaults to true; set `remove="false"` to omit the selected file's remove button.
172
173
  - Blank or omitted `label` defaults to `Upload audio`, `Upload image`, or `Upload file` based on the known file type. An explicit label overrides it.
173
174
  - For known audio files, `preview` shows the audio icon and filename at rest, reveals play and waveform controls on hover/focus, and keeps pause plus waveform visible while playing.
174
175
  - `accepts` controls the native chooser filter; file icons and previews are detected independently.
package/CHANGELOG.md CHANGED
@@ -2,6 +2,20 @@
2
2
 
3
3
  All notable changes to this project will be documented in this file.
4
4
 
5
+ ## [11.6.8]
6
+
7
+ ### Added
8
+
9
+ - Added a default-enabled `remove` attribute to `fig-input-file` for omitting the selected-file remove button.
10
+
11
+ ### Changed
12
+
13
+ - Marked the `fig-media-controls` play button as selected while playing.
14
+
15
+ ### Fixed
16
+
17
+ - Restored component registration inside playground plugin iframes by serving the color helper module.
18
+
5
19
  ## [11.6.7]
6
20
 
7
21
  ### Changed
package/README.md CHANGED
@@ -547,6 +547,7 @@ Requires `fig-editor.js` and `fig-editor.css`.
547
547
  | `preview` | `"true"` \| `"false"` \| `"large"` | `false` | Show compact media previews, or use `large` for an upload-enabled `fig-image`/`fig-video` preview |
548
548
  | `label` | string | generated | Empty-state button label; defaults to `Upload audio`, `Upload image`, or `Upload file` from the known file type |
549
549
  | `multiple` | boolean | `false` | Allow multiple files |
550
+ | `remove` | boolean | `true` | Show the remove button when a file is selected; set to `"false"` to omit it |
550
551
  | `disabled` | boolean | `false` | Disabled state |
551
552
  | `variant` | string | `"property"` | Internal button variant |
552
553