@serkonda7/solid-components 0.4.0 → 0.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/dist/combobox.d.ts +5 -0
- package/dist/data-table.d.ts +5 -0
- package/dist/index.js +524 -492
- package/dist/styles.css +9 -0
- package/package.json +1 -1
package/dist/combobox.d.ts
CHANGED
|
@@ -41,6 +41,11 @@ export interface ComboboxProps {
|
|
|
41
41
|
searchLabel?: string;
|
|
42
42
|
/** Shown when no option matches the search. Defaults to `No matching objects`. */
|
|
43
43
|
noMatchesLabel?: string;
|
|
44
|
+
/**
|
|
45
|
+
* Float option previews at the mouse cursor while the pointer moves over the
|
|
46
|
+
* list. Keyboard navigation returns them to their place beside the list.
|
|
47
|
+
*/
|
|
48
|
+
previewAtCursor?: boolean;
|
|
44
49
|
class?: string;
|
|
45
50
|
}
|
|
46
51
|
/**
|
package/dist/data-table.d.ts
CHANGED
|
@@ -59,6 +59,11 @@ export interface DataTableProps<TRow> {
|
|
|
59
59
|
visibleColumns?: string[] | Accessor<string[]>;
|
|
60
60
|
defaultVisibleColumns?: string[];
|
|
61
61
|
onVisibleColumnsChange?: (visibleKeys: string[]) => void;
|
|
62
|
+
/**
|
|
63
|
+
* Persists the visible columns in `localStorage` under this exact key, e.g.
|
|
64
|
+
* `'myapp:columns:customers'`. Ignored while `visibleColumns` is controlled.
|
|
65
|
+
*/
|
|
66
|
+
storageKey?: string;
|
|
62
67
|
/** Controlled column order as column keys; pair with `onColumnOrderChange`. */
|
|
63
68
|
columnOrder?: string[] | Accessor<string[]>;
|
|
64
69
|
defaultColumnOrder?: string[];
|