@panneau/lists 5.0.0-alpha.20 → 5.0.0-alpha.22
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/ListView.d.ts +6 -1
- package/dist/ListView.d.ts.map +1 -1
- package/dist/ListView.js +281 -248
- package/dist/ListView.js.map +1 -1
- package/dist/displays/displays.js +1 -1
- package/dist/filters/controls.d.ts.map +1 -1
- package/dist/filters/controls.js +4 -2
- package/dist/filters/controls.js.map +1 -1
- package/dist/images.d.ts +1 -6
- package/dist/images.d.ts.map +1 -1
- package/dist/images.js +1 -39
- package/dist/index.js +1 -1
- package/dist/inline/InlineCell.js +1 -1
- package/dist/layouts/CalendarLayout.d.ts +1 -1
- package/dist/layouts/CalendarLayout.d.ts.map +1 -1
- package/dist/layouts/CalendarLayout.js +75 -71
- package/dist/layouts/CalendarLayout.js.map +1 -1
- package/dist/layouts/CardsLayout.d.ts +1 -1
- package/dist/layouts/CardsLayout.d.ts.map +1 -1
- package/dist/layouts/CardsLayout.js +6 -2
- package/dist/layouts/CardsLayout.js.map +1 -1
- package/dist/layouts/GalleryLayout.d.ts +1 -1
- package/dist/layouts/GalleryLayout.d.ts.map +1 -1
- package/dist/layouts/GalleryLayout.js +49 -43
- package/dist/layouts/GalleryLayout.js.map +1 -1
- package/dist/layouts/TableLayout.d.ts +1 -1
- package/dist/layouts/TableLayout.d.ts.map +1 -1
- package/dist/layouts/TableLayout.js +53 -47
- package/dist/layouts/TableLayout.js.map +1 -1
- package/dist/layouts/highlight.css +28 -0
- package/dist/layouts/highlight.module.js +12 -0
- package/dist/layouts/highlight.module.js.map +1 -0
- package/dist/types.d.ts +5 -0
- package/dist/types.d.ts.map +1 -1
- package/package.json +7 -7
- package/dist/images.js.map +0 -1
package/dist/ListView.d.ts
CHANGED
|
@@ -105,6 +105,11 @@ export interface ListViewProps {
|
|
|
105
105
|
* the link of its title is the current page.
|
|
106
106
|
*/
|
|
107
107
|
currentItemId?: string | null;
|
|
108
|
+
/**
|
|
109
|
+
* An item that just appeared, such as one just created (decision 0066): once it is among the
|
|
110
|
+
* items, it is scrolled into view, and its background shows it for a moment, then fades.
|
|
111
|
+
*/
|
|
112
|
+
highlightedItemId?: string | null;
|
|
108
113
|
/** Displays by name, over the built-in ones and those of the plugins. */
|
|
109
114
|
displays?: Readonly<Record<string, DisplayEntry>>;
|
|
110
115
|
/** Layouts by id, over the built-in ones and those of the plugins. */
|
|
@@ -137,5 +142,5 @@ export interface ListViewProps {
|
|
|
137
142
|
* cards), with sorting, search, filters and their chips, pagination, selection and actions. It
|
|
138
143
|
* fetches nothing: the caller gives the items of the list's query and their total.
|
|
139
144
|
*/
|
|
140
|
-
export declare function ListView({ list, items, columns: allColumns, columnChoice, total, cursors, isLoading, error, onRetry, filters: filtersProp, fields, search, layouts: layoutsProp, layout: controlledLayout, onLayoutChange, perPageOptions, selectable: selectableProp, actions: actionsProp, onAction, previewAction, actionIcons, itemTitle, itemImage, calendar, primaryAction: primaryActionProp, getItemLabel: getItemLabelProp, getItemHref, getLinkHref, currentItemId, displays, layoutComponents, filterControls, inlineEdit, onInlineEdit, formatError, toolbar, emptyMessage, 'aria-label': ariaLabel, className, }: ListViewProps): import("react").JSX.Element;
|
|
145
|
+
export declare function ListView({ list, items, columns: allColumns, columnChoice, total, cursors, isLoading, error, onRetry, filters: filtersProp, fields, search, layouts: layoutsProp, layout: controlledLayout, onLayoutChange, perPageOptions, selectable: selectableProp, actions: actionsProp, onAction, previewAction, actionIcons, itemTitle, itemImage, calendar, primaryAction: primaryActionProp, getItemLabel: getItemLabelProp, getItemHref, getLinkHref, currentItemId, highlightedItemId, displays, layoutComponents, filterControls, inlineEdit, onInlineEdit, formatError, toolbar, emptyMessage, 'aria-label': ariaLabel, className, }: ListViewProps): import("react").JSX.Element;
|
|
141
146
|
//# sourceMappingURL=ListView.d.ts.map
|
package/dist/ListView.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ListView.d.ts","sourceRoot":"","sources":["../src/ListView.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,SAAS,
|
|
1
|
+
{"version":3,"file":"ListView.d.ts","sourceRoot":"","sources":["../src/ListView.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,SAAS,EAA+B,MAAM,OAAO,CAAC;AAEpE,OAAO,KAAK,EAAE,IAAI,EAAE,gBAAgB,EAAE,MAAM,eAAe,CAAC;AAS5D,OAAO,KAAK,EAAE,MAAM,EAAE,KAAK,EAAE,MAAM,EAAE,WAAW,EAAE,MAAM,mBAAmB,CAAC;AAQ5E,OAAO,EACH,KAAK,WAAW,EAKnB,MAAM,mBAAmB,CAAC;AAC3B,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,iBAAiB,CAAC;AAgBnD,OAAO,KAAK,EACR,YAAY,EACZ,WAAW,EAEX,iBAAiB,EACjB,mBAAmB,EACnB,UAAU,EACV,qBAAqB,EACrB,QAAQ,EACR,eAAe,EAClB,MAAM,SAAS,CAAC;AAKjB,MAAM,WAAW,aAAa;IAC1B,4EAA4E;IAC5E,IAAI,EAAE,IAAI,CAAC;IACX;;;OAGG;IACH,KAAK,EAAE,SAAS,QAAQ,EAAE,GAAG,SAAS,CAAC;IACvC;;;OAGG;IACH,OAAO,EAAE,SAAS,UAAU,EAAE,CAAC;IAC/B,+EAA+E;IAC/E,YAAY,CAAC,EAAE,OAAO,CAAC;IACvB;;;OAGG;IACH,KAAK,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAC3B;;;;OAIG;IACH,OAAO,CAAC,EAAE;QAAE,IAAI,EAAE,MAAM,GAAG,IAAI,CAAC;QAAC,QAAQ,CAAC,EAAE,MAAM,GAAG,IAAI,GAAG,SAAS,CAAA;KAAE,GAAG,SAAS,CAAC;IACpF,sEAAsE;IACtE,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,wEAAwE;IACxE,KAAK,CAAC,EAAE,KAAK,GAAG,IAAI,C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