dap-design-system 0.55.1 → 0.55.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.
@@ -41,6 +41,7 @@ import { default as DapDSFileInputList } from './file-input-list.component';
41
41
  * @property {boolean} showDropzone - Whether to show a separate dropzone area.
42
42
  * @property {string} dropzoneText - Text to display in the dropzone.
43
43
  * @property {string} dropzoneAriaLabel - Aria label for the dropzone.
44
+ * @property {boolean} dropzoneFocusable - Whether the dropzone is in the tab order and exposes button keyboard behavior (default: true).
44
45
  * @property {boolean} showFileList - Whether to show the built-in file list.
45
46
  * @property {boolean} confirmRemove - Whether to show confirmation dialog before removing files.
46
47
  * @property {string} showUploadButton - Whether to show the upload button. Default is `true`.
@@ -151,6 +152,12 @@ export default class DapDSFileInput extends GenericFormElement {
151
152
  showThumbnail: string;
152
153
  /** Aria label for the dropzone */
153
154
  dropzoneAriaLabel: string;
155
+ /**
156
+ * When false, the dropzone is not tab-focusable (tabindex -1), uses role="group"
157
+ * instead of role="button", and Enter/Space no longer opens the file dialog from
158
+ * the dropzone. Click and drag-and-drop still work.
159
+ */
160
+ dropzoneFocusable: string;
154
161
  /** Size of the thumbnail preview in the built-in file list */
155
162
  thumbnailSize: 'xxs' | 'xs' | 'sm' | 'md' | 'lg';
156
163
  get files(): File[];