@up42/up-components 1.7.0 → 1.8.1

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@up42/up-components",
3
- "version": "1.7.0",
3
+ "version": "1.8.1",
4
4
  "description": "UP42 Component Library",
5
5
  "author": "Axel Fuhrmann axel.fuhrmann@up42.com",
6
6
  "license": "ISC",
@@ -1,30 +0,0 @@
1
- import React from 'react';
2
- import { ContainerProps as MUIContainerProps } from '@mui/material';
3
- import { MUIGlobalOmit } from '@global/utils/types';
4
- export declare type ContainerProps = MUIGlobalOmit<Omit<MUIContainerProps, 'maxWidth'>, {
5
- /**
6
- * Determine the max-width of the container.
7
- */
8
- size?: 'small' | 'medium' | 'large' | 'fluid';
9
- /**
10
- * The component used for the root node.
11
- * Either a string to use a HTML element or a component.
12
- */
13
- component?: React.ElementType;
14
- }>;
15
- /**
16
- * In order to maximize the available horizontal space of the UI we use a central column system layout.
17
- *
18
- * The header of a page is always `fluid`. The content section will use one of the following layouts:
19
- *
20
- * - `small`: 6 columns.
21
- * - `medium`: 8 columns.
22
- * - `large`: 12 columns.
23
- * - `fluid`: full width (maps).
24
- *
25
- * To now more about the requirements please check here: https://up42.atlassian.net/browse/B2B-215.
26
- *
27
- * Documentation: https://up-components.up42.com/?path=/docs/layout-container--docs
28
- * @deprecated Use `PageContainer` instead.
29
- */
30
- export declare const Container: ({ component, size, children, ...props }: ContainerProps) => JSX.Element;
@@ -1,30 +0,0 @@
1
- import React from 'react';
2
- import { ContainerProps as MUIContainerProps } from '@mui/material';
3
- import { MUIGlobalOmit } from '@global/utils/types';
4
- export declare type ContainerProps = MUIGlobalOmit<Omit<MUIContainerProps, 'maxWidth'>, {
5
- /**
6
- * Determine the max-width of the container.
7
- */
8
- size?: 'small' | 'medium' | 'large' | 'fluid';
9
- /**
10
- * The component used for the root node.
11
- * Either a string to use a HTML element or a component.
12
- */
13
- component?: React.ElementType;
14
- }>;
15
- /**
16
- * In order to maximize the available horizontal space of the UI we use a central column system layout.
17
- *
18
- * The header of a page is always `fluid`. The content section will use one of the following layouts:
19
- *
20
- * - `small`: 6 columns.
21
- * - `medium`: 8 columns.
22
- * - `large`: 12 columns.
23
- * - `fluid`: full width (maps).
24
- *
25
- * To now more about the requirements please check here: https://up42.atlassian.net/browse/B2B-215.
26
- *
27
- * Documentation: https://up-components.up42.com/?path=/docs/layout-container--docs
28
- * @deprecated Use `PageContainer` instead.
29
- */
30
- export declare const Container: ({ component, size, children, ...props }: ContainerProps) => JSX.Element;