@unifiedsoftware/react-components 1.0.3 → 1.0.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/dist/index.d.mts CHANGED
@@ -1,6 +1,8 @@
1
1
  import * as react_jsx_runtime from 'react/jsx-runtime';
2
2
  import * as react from 'react';
3
3
  import { ReactNode, FC } from 'react';
4
+ import * as styled_components from 'styled-components';
5
+ import * as _unifiedsoftware_react_router from '@unifiedsoftware/react-router';
4
6
 
5
7
  interface IDropEnumList {
6
8
  dataEnum: object;
@@ -146,21 +148,37 @@ interface Props {
146
148
  }
147
149
  declare const Title: ({ title }: Props) => react_jsx_runtime.JSX.Element;
148
150
 
149
- declare const Breadcrumb: any;
150
- declare const BreadCrumbTitle: any;
151
+ declare const Breadcrumb: styled_components.StyledComponent<"div", any, {}, never>;
152
+ declare const BreadCrumbTitle: styled_components.StyledComponent<"div", any, {}, never>;
151
153
 
152
- declare const MenuItem: any;
153
- declare const MenuTitle: any;
154
+ interface MenuItemProps {
155
+ type?: 'row' | 'col';
156
+ width?: string;
157
+ }
158
+ declare const MenuItem: styled_components.StyledComponent<react.ForwardRefExoticComponent<_unifiedsoftware_react_router.LinkProps & react.RefAttributes<HTMLAnchorElement>>, any, MenuItemProps, never>;
159
+ declare const MenuTitle: styled_components.StyledComponent<"p", any, {}, never>;
154
160
 
155
- declare const Navbar: any;
161
+ interface NavbarProps {
162
+ gradient?: boolean;
163
+ }
164
+ declare const Navbar: styled_components.StyledComponent<"nav", any, NavbarProps, never>;
156
165
 
157
- declare const MenuOptions: any;
166
+ declare const MenuOptions: styled_components.StyledComponent<"div", any, {}, never>;
158
167
 
159
- declare const ItemSidebar: any;
160
- declare const SidebarNavigation: any;
161
- declare const ItemLinkSidebar: any;
168
+ interface SidebarProps {
169
+ width?: string;
170
+ active?: boolean;
171
+ fixed?: boolean;
172
+ shadow?: boolean;
173
+ }
174
+ declare const ItemSidebar: styled_components.StyledComponent<"div", any, {}, never>;
175
+ declare const SidebarNavigation: styled_components.StyledComponent<"nav", any, SidebarProps, never>;
176
+ declare const ItemLinkSidebar: styled_components.StyledComponent<react.ForwardRefExoticComponent<_unifiedsoftware_react_router.LinkProps & react.RefAttributes<HTMLAnchorElement>>, any, {}, never>;
162
177
 
163
- declare const Main: any;
164
- declare const CloseIcon: any;
178
+ interface MainProps {
179
+ activeDrawer: boolean;
180
+ }
181
+ declare const Main: styled_components.StyledComponent<"main", any, MainProps, never>;
182
+ declare const CloseIcon: styled_components.StyledComponent<"button", any, {}, never>;
165
183
 
166
184
  export { AppBreadCrumb, AppBreadCrumbNav, AppLoader, BreadCrumbContext, BreadCrumbContextProvider, BreadCrumbTitle, Breadcrumb, CloseIcon, CustomBtns, CustomExcel, DrawerContext, DrawerContextProvider, DropEnumList, GlobalProps, GlobalProvider, HistoryContext, HistoryContextProvider, IBreadCrumbContext, ICustomizeColumns, ILoaderProps, ItemLinkSidebar, ItemSidebar, LoaderGrid, LoadingType, Main, MenuItem as MenuItems, MenuOptions, MenuTitle, NavOptions, NavOptionsProps, Navbar, SidebarMainContext, SidebarMainContextProvider, SidebarNavigation, Title };
package/dist/index.d.ts CHANGED
@@ -1,6 +1,8 @@
1
1
  import * as react_jsx_runtime from 'react/jsx-runtime';
2
2
  import * as react from 'react';
3
3
  import { ReactNode, FC } from 'react';
4
+ import * as styled_components from 'styled-components';
5
+ import * as _unifiedsoftware_react_router from '@unifiedsoftware/react-router';
4
6
 
5
7
  interface IDropEnumList {
6
8
  dataEnum: object;
@@ -146,21 +148,37 @@ interface Props {
146
148
  }
147
149
  declare const Title: ({ title }: Props) => react_jsx_runtime.JSX.Element;
148
150
 
149
- declare const Breadcrumb: any;
150
- declare const BreadCrumbTitle: any;
151
+ declare const Breadcrumb: styled_components.StyledComponent<"div", any, {}, never>;
152
+ declare const BreadCrumbTitle: styled_components.StyledComponent<"div", any, {}, never>;
151
153
 
152
- declare const MenuItem: any;
153
- declare const MenuTitle: any;
154
+ interface MenuItemProps {
155
+ type?: 'row' | 'col';
156
+ width?: string;
157
+ }
158
+ declare const MenuItem: styled_components.StyledComponent<react.ForwardRefExoticComponent<_unifiedsoftware_react_router.LinkProps & react.RefAttributes<HTMLAnchorElement>>, any, MenuItemProps, never>;
159
+ declare const MenuTitle: styled_components.StyledComponent<"p", any, {}, never>;
154
160
 
155
- declare const Navbar: any;
161
+ interface NavbarProps {
162
+ gradient?: boolean;
163
+ }
164
+ declare const Navbar: styled_components.StyledComponent<"nav", any, NavbarProps, never>;
156
165
 
157
- declare const MenuOptions: any;
166
+ declare const MenuOptions: styled_components.StyledComponent<"div", any, {}, never>;
158
167
 
159
- declare const ItemSidebar: any;
160
- declare const SidebarNavigation: any;
161
- declare const ItemLinkSidebar: any;
168
+ interface SidebarProps {
169
+ width?: string;
170
+ active?: boolean;
171
+ fixed?: boolean;
172
+ shadow?: boolean;
173
+ }
174
+ declare const ItemSidebar: styled_components.StyledComponent<"div", any, {}, never>;
175
+ declare const SidebarNavigation: styled_components.StyledComponent<"nav", any, SidebarProps, never>;
176
+ declare const ItemLinkSidebar: styled_components.StyledComponent<react.ForwardRefExoticComponent<_unifiedsoftware_react_router.LinkProps & react.RefAttributes<HTMLAnchorElement>>, any, {}, never>;
162
177
 
163
- declare const Main: any;
164
- declare const CloseIcon: any;
178
+ interface MainProps {
179
+ activeDrawer: boolean;
180
+ }
181
+ declare const Main: styled_components.StyledComponent<"main", any, MainProps, never>;
182
+ declare const CloseIcon: styled_components.StyledComponent<"button", any, {}, never>;
165
183
 
166
184
  export { AppBreadCrumb, AppBreadCrumbNav, AppLoader, BreadCrumbContext, BreadCrumbContextProvider, BreadCrumbTitle, Breadcrumb, CloseIcon, CustomBtns, CustomExcel, DrawerContext, DrawerContextProvider, DropEnumList, GlobalProps, GlobalProvider, HistoryContext, HistoryContextProvider, IBreadCrumbContext, ICustomizeColumns, ILoaderProps, ItemLinkSidebar, ItemSidebar, LoaderGrid, LoadingType, Main, MenuItem as MenuItems, MenuOptions, MenuTitle, NavOptions, NavOptionsProps, Navbar, SidebarMainContext, SidebarMainContextProvider, SidebarNavigation, Title };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@unifiedsoftware/react-components",
3
- "version": "1.0.3",
3
+ "version": "1.0.4",
4
4
  "license": "MIT",
5
5
  "main": "dist/index.js",
6
6
  "files": [