mtrl-addons 0.3.3 → 0.3.5

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.
@@ -43,6 +43,8 @@ export declare const FORM_CLASSES: {
43
43
  readonly SUBMITTING: "submitting";
44
44
  /** Applied when form is disabled */
45
45
  readonly DISABLED: "disabled";
46
+ /** Applied when form body is scrolled away from top */
47
+ readonly SCROLLED: "mtrl-form--scrolled";
46
48
  };
47
49
  /**
48
50
  * Default form configuration
@@ -7,5 +7,6 @@ export declare const withLayout: (config: FormConfig) => <T extends BaseFormComp
7
7
  form: HTMLFormElement;
8
8
  ui: Record<string, unknown>;
9
9
  layoutResult: unknown;
10
+ _cleanupScrollIndicator?: () => void;
10
11
  };
11
12
  export default withLayout;
@@ -19,4 +19,6 @@ export declare const VLIST_CLASSES: {
19
19
  readonly SELECTED: "viewport-item--selected";
20
20
  /** Empty state */
21
21
  readonly EMPTY: "vlist--empty";
22
+ /** Scrolled state - list is not at the top */
23
+ readonly SCROLLED: "vlist--scrolled";
22
24
  };