slim-select 3.3.0 → 3.4.1

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/README.md CHANGED
@@ -149,6 +149,7 @@ new SlimSelect({
149
149
  closeOnSelect: true, // Close dropdown after selection
150
150
  contentLocation: document.body, // Where to append dropdown
151
151
  contentPosition: 'absolute', // CSS position: absolute, relative, fixed
152
+ contentWidth: '', // Content width: "500px" exact, ">500px" min-width, "<500px" max-width
152
153
  openPosition: 'auto', // Open direction: auto, up, down
153
154
  placeholderText: 'Select Value', // Placeholder text
154
155
  allowDeselect: false, // Allow deselecting in single select
package/dist/index.d.ts CHANGED
@@ -243,6 +243,7 @@ export declare class Settings {
243
243
  closeOnSelect: boolean;
244
244
  contentLocation: HTMLElement | null;
245
245
  contentPosition: 'relative' | 'absolute' | 'fixed';
246
+ contentWidth: string;
246
247
  openPosition: 'auto' | 'up' | 'down';
247
248
  placeholderText: string;
248
249
  allowDeselect: boolean;
@@ -243,6 +243,7 @@ export declare class Settings {
243
243
  closeOnSelect: boolean;
244
244
  contentLocation: HTMLElement | null;
245
245
  contentPosition: 'relative' | 'absolute' | 'fixed';
246
+ contentWidth: string;
246
247
  openPosition: 'auto' | 'up' | 'down';
247
248
  placeholderText: string;
248
249
  allowDeselect: boolean;