@devopness/ui-react 2.174.0 → 2.175.0

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.
@@ -0,0 +1,31 @@
1
+ type ContainerProps = {
2
+ /** Removes the default top margin (42px)
3
+ * @default false
4
+ */
5
+ shouldRemoveTopMargin?: boolean;
6
+ /** Optional styles for the inner content wrapper */
7
+ styles?: {
8
+ /** Background color for content wrapper */
9
+ backgroundWrapperContent?: string;
10
+ /** Height (in px) for content wrapper */
11
+ height?: number;
12
+ };
13
+ /** React children to render inside */
14
+ children?: React.ReactNode;
15
+ };
16
+ /**
17
+ * Container Component
18
+ *
19
+ * Provides a 12-column grid layout with responsive adjustments
20
+ * and an optional styled content wrapper.
21
+ *
22
+ * @example
23
+ * ```tsx
24
+ * <Container shouldRemoveTopMargin styles={{ backgroundWrapperContent: '#f5f5f5', height: 400 }}>
25
+ * <p>Page content here</p>
26
+ * </Container>
27
+ * ```
28
+ */
29
+ declare const Container: ({ shouldRemoveTopMargin, styles, children, }: ContainerProps) => import("react/jsx-runtime").JSX.Element;
30
+ export { Container };
31
+ export type { ContainerProps };
@@ -0,0 +1,5 @@
1
+ import { ContainerProps } from './Container';
2
+ type StyledProps = Pick<ContainerProps, 'shouldRemoveTopMargin' | 'styles'>;
3
+ declare const ContainerStyled: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components/dist/types').Substitute<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, StyledProps>> & string;
4
+ declare const WrapperContent: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components/dist/types').Substitute<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLElement>, HTMLElement>, StyledProps>> & string;
5
+ export { ContainerStyled, WrapperContent };
@@ -0,0 +1 @@
1
+ export * from './Container';
@@ -1,2 +1,3 @@
1
1
  export * from './Alert';
2
2
  export * from './Input';
3
+ export * from './Container';