@cleen/ui 0.1.217 → 0.1.219
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/index.d.ts +13 -0
- package/dist/index.js +2 -2
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -2030,6 +2030,17 @@ interface StackedProgressTrackerProps extends NativeDivProps$1 {
|
|
|
2030
2030
|
onExpandedChange?: (isExpanded: boolean) => void;
|
|
2031
2031
|
/** Renders the dismiss control in the header when provided */
|
|
2032
2032
|
onDismiss?: () => void;
|
|
2033
|
+
/**
|
|
2034
|
+
* Delay, in milliseconds, before `onDismiss` is called on its own once every
|
|
2035
|
+
* item is done. `0` dismisses immediately, `null` / `undefined` never
|
|
2036
|
+
* auto dismisses. Errored items keep the panel open.
|
|
2037
|
+
*/
|
|
2038
|
+
autoDismissOnUploadCompleteAfterMilliSeconds?: number | null;
|
|
2039
|
+
/**
|
|
2040
|
+
* Renders the header bar holding the title, the contract toggle and the
|
|
2041
|
+
* dismiss control. Set to `false` when the panel dismisses itself.
|
|
2042
|
+
*/
|
|
2043
|
+
showHeader?: boolean;
|
|
2033
2044
|
/** Renders an inline segmented bar filtering the rows by status */
|
|
2034
2045
|
showStatusFilter?: boolean;
|
|
2035
2046
|
/** Renders the amount of matching items next to each status filter option */
|
|
@@ -2087,6 +2098,8 @@ interface StackedProgressTrackerProps extends NativeDivProps$1 {
|
|
|
2087
2098
|
* - Renders `null` when there are no items to show.
|
|
2088
2099
|
* - Truncates the list past `maxVisibleItems` with a "+N more" expand control.
|
|
2089
2100
|
* - Optionally renders an inline status filter bar with `showStatusFilter`, defaulting to the in progress rows.
|
|
2101
|
+
* - Optionally calls `onDismiss` on its own once every item is done, through `autoDismissOnUploadCompleteAfterMilliSeconds`.
|
|
2102
|
+
* - Optionally hides the whole header bar with `showHeader`, leaving only the rows.
|
|
2090
2103
|
*/
|
|
2091
2104
|
declare const StackedProgressTracker: react.ForwardRefExoticComponent<Omit<StackedProgressTrackerProps, "ref"> & react.RefAttributes<HTMLDivElement>>;
|
|
2092
2105
|
|