@lateralus-ai/shipping-ui 1.3.2 → 1.3.4

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/README.md CHANGED
@@ -75,7 +75,7 @@ module.exports = {
75
75
  In your main CSS file:
76
76
 
77
77
  ```css
78
- @import "@lateralus-ai/shipping-ui/css";
78
+ @import "@lateralus-ai/shipping-ui/style.css";
79
79
  ```
80
80
 
81
81
  ## Theme Structure
@@ -1,7 +1,10 @@
1
1
  import { ContainerProps } from './Container';
2
+ import { ReactNode } from 'react';
2
3
  interface LayoutProps extends ContainerProps {
3
4
  isCollapsed?: boolean;
5
+ sideContainer?: ReactNode;
6
+ sideClassName?: string;
4
7
  onSwitchLayout?: (isCollapsed: boolean) => void;
5
8
  }
6
- export declare const Layout: ({ className, children, isCollapsed, onSwitchLayout, ...props }: LayoutProps) => import("react/jsx-runtime").JSX.Element;
9
+ export declare const Layout: ({ className, children, isCollapsed, sideContainer, sideClassName, onSwitchLayout, ...props }: LayoutProps) => import("react/jsx-runtime").JSX.Element;
7
10
  export {};
@@ -0,0 +1,5 @@
1
+ import { ReactNode } from 'react';
2
+ export interface SideContainerProps extends React.HTMLAttributes<HTMLDivElement> {
3
+ children?: ReactNode;
4
+ }
5
+ export declare const SideContainer: ({ className, children, ...props }: SideContainerProps) => import("react/jsx-runtime").JSX.Element;
@@ -1,5 +1,6 @@
1
1
  export { Provider } from './Provider';
2
2
  export { Container } from './Container';
3
+ export { SideContainer } from './SideContainer';
3
4
  export { Layout } from './Layout';
4
5
  export { Button } from './Button';
5
6
  export { ToggleCollapseButton } from './ToggleCollapseButton';