@cleen/ui 0.1.216 → 0.1.218

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 CHANGED
@@ -1585,7 +1585,7 @@ declare const checkedVariants: {
1585
1585
  readonly error: "cleen-bg-error cleen-transition-all cleen-duration-200 hover:cleen-bg-error hover:cleen-shadow-[0px_0px_0px_4px_rgba(var(--cleen-error),0.25)]";
1586
1586
  };
1587
1587
 
1588
- type CheckboxProps = Omit<ComponentProps<'input'>, 'title'> & {
1588
+ type CheckboxProps = Omit<ComponentProps<'input'>, 'title' | 'checked'> & {
1589
1589
  inputRef?: RefObject<HTMLInputElement | null>;
1590
1590
  checked?: boolean | null;
1591
1591
  defaultChecked?: boolean;
@@ -2030,6 +2030,12 @@ 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;
2033
2039
  /** Renders an inline segmented bar filtering the rows by status */
2034
2040
  showStatusFilter?: boolean;
2035
2041
  /** Renders the amount of matching items next to each status filter option */
@@ -2087,6 +2093,7 @@ interface StackedProgressTrackerProps extends NativeDivProps$1 {
2087
2093
  * - Renders `null` when there are no items to show.
2088
2094
  * - Truncates the list past `maxVisibleItems` with a "+N more" expand control.
2089
2095
  * - Optionally renders an inline status filter bar with `showStatusFilter`, defaulting to the in progress rows.
2096
+ * - Optionally calls `onDismiss` on its own once every item is done, through `autoDismissOnUploadCompleteAfterMilliSeconds`.
2090
2097
  */
2091
2098
  declare const StackedProgressTracker: react.ForwardRefExoticComponent<Omit<StackedProgressTrackerProps, "ref"> & react.RefAttributes<HTMLDivElement>>;
2092
2099