@tracktor/design-system 3.1.0 → 3.1.2

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.
@@ -1,4 +1,37 @@
1
1
  import { PaperProps } from '@mui/material';
2
- export type BottomFixedPaperProps = PaperProps;
2
+ export interface BottomFixedPaperProps extends PaperProps {
3
+ /**
4
+ * If true, the component will transition in.
5
+ */
6
+ in?: boolean;
7
+ /**
8
+ * The position of the paper.
9
+ * @default "fixed"
10
+ */
11
+ position?: "fixed" | "absolute" | "sticky" | "static" | "relative";
12
+ /**
13
+ * The padding of the paper.
14
+ * @default y = 3, x = 2
15
+ */
16
+ padding?: number | string;
17
+ /**
18
+ * The direction of the paper.
19
+ */
20
+ direction?: "row" | "column";
21
+ /**
22
+ * By default the child component is not mounted immediately along with the
23
+ * parent Transition component. If you want to "lazy mount" the component on
24
+ * the first `in={true}` you can set `mountOnEnter`. After the first enter
25
+ * transition the component will stay mounted, even on "exited", unless you
26
+ * also specify `unmountOnExit`.
27
+ */
28
+ mountOnEnter?: boolean | undefined;
29
+ /**
30
+ * By default the child component is unmounted after it reaches the
31
+ * 'exited' state. Set `unmountOnExit` if you'd prefer to unmount the
32
+ * component after it finishes exiting.
33
+ */
34
+ unmountOnExit?: boolean | undefined;
35
+ }
3
36
  declare const _default: import('react').ForwardRefExoticComponent<Omit<BottomFixedPaperProps, "ref"> & import('react').RefAttributes<HTMLDivElement>>;
4
37
  export default _default;
package/package.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "name": "@tracktor/design-system",
3
3
  "description": "Tracktor Design System",
4
4
  "sideEffects": false,
5
- "version": "3.1.0",
5
+ "version": "3.1.2",
6
6
  "license": "ISC",
7
7
  "type": "module",
8
8
  "types": "./dist/src/main.d.ts",