elseware-ui 2.7.1 → 2.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/build/components/navigation/footer-nav/FooterNav.d.ts +25 -0
- package/build/components/navigation/footer-nav/FooterNavGroup.d.ts +13 -0
- package/build/components/navigation/footer-nav/FooterNavItem.d.ts +12 -0
- package/build/components/navigation/footer-nav/FooterNavItemContext.d.ts +9 -0
- package/build/components/navigation/footer-nav/FooterNavItemTitle.d.ts +10 -0
- package/build/components/navigation/footer-nav/index.d.ts +6 -0
- package/build/components/navigation/header-nav/index.d.ts +2 -1
- package/build/index.d.ts +3 -3
- package/build/index.es.js +102 -7
- package/build/index.js +107 -7
- package/package.json +1 -1
- package/build/components/data-entry/input/Input.d.ts +0 -11
- package/build/components/data-entry/input/InputResponse.d.ts +0 -9
- package/build/components/data-entry/input-list/InputList.d.ts +0 -6
- package/build/components/general/footer-navbar/FooterNavbar.d.ts +0 -2
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
/// <reference types="@types/react" />
|
|
2
|
+
import React from "react";
|
|
3
|
+
interface I_FooterNavItem {
|
|
4
|
+
component: any;
|
|
5
|
+
icon?: React.ReactNode;
|
|
6
|
+
name: string;
|
|
7
|
+
badge?: React.ReactNode;
|
|
8
|
+
to?: string;
|
|
9
|
+
onClick?: () => void;
|
|
10
|
+
}
|
|
11
|
+
interface I_FooterNavGroup {
|
|
12
|
+
component: any;
|
|
13
|
+
icon?: React.ReactNode;
|
|
14
|
+
name: string;
|
|
15
|
+
badge?: React.ReactNode;
|
|
16
|
+
to?: string;
|
|
17
|
+
items: I_FooterNavItem[];
|
|
18
|
+
}
|
|
19
|
+
export type FooterDataItemProps = I_FooterNavItem | I_FooterNavGroup;
|
|
20
|
+
export interface FooterNavProps {
|
|
21
|
+
data: FooterDataItemProps[];
|
|
22
|
+
styles?: string;
|
|
23
|
+
}
|
|
24
|
+
declare function FooterNav({ data, styles }: FooterNavProps): import("react/jsx-runtime").JSX.Element;
|
|
25
|
+
export default FooterNav;
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
/// <reference types="@types/react" />
|
|
2
|
+
import React from "react";
|
|
3
|
+
export interface FooterNavGroupProps {
|
|
4
|
+
icon?: React.ReactNode;
|
|
5
|
+
name: string;
|
|
6
|
+
description: string;
|
|
7
|
+
badge?: React.ReactNode;
|
|
8
|
+
to?: string;
|
|
9
|
+
children: React.ReactNode;
|
|
10
|
+
styles?: string;
|
|
11
|
+
}
|
|
12
|
+
export declare const FooterNavGroup: ({ icon, name, description, badge, to, styles, children, }: FooterNavGroupProps) => import("react/jsx-runtime").JSX.Element;
|
|
13
|
+
export default FooterNavGroup;
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
/// <reference types="@types/react" />
|
|
2
|
+
import React from "react";
|
|
3
|
+
export interface FooterNavItemProps {
|
|
4
|
+
icon?: React.ReactNode;
|
|
5
|
+
name: string;
|
|
6
|
+
description: string;
|
|
7
|
+
badge?: React.ReactNode;
|
|
8
|
+
to?: string;
|
|
9
|
+
onClick?: () => void;
|
|
10
|
+
styles?: string;
|
|
11
|
+
}
|
|
12
|
+
export declare const FooterNavItem: ({ icon, name, description, badge, to, onClick, styles, }: FooterNavItemProps) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
/// <reference types="@types/react" />
|
|
2
|
+
import React from "react";
|
|
3
|
+
export interface FooterNavItemContextProps {
|
|
4
|
+
icon?: React.ReactNode;
|
|
5
|
+
name: string;
|
|
6
|
+
description: string;
|
|
7
|
+
badge?: React.ReactNode;
|
|
8
|
+
}
|
|
9
|
+
export declare const FooterNavItemContext: ({ icon, name, description, badge, }: FooterNavItemContextProps) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
/// <reference types="@types/react" />
|
|
2
|
+
import React from "react";
|
|
3
|
+
export interface FooterNavItemTitleProps {
|
|
4
|
+
icon?: React.ReactNode;
|
|
5
|
+
name: string;
|
|
6
|
+
description: string;
|
|
7
|
+
badge?: React.ReactNode;
|
|
8
|
+
styles?: string;
|
|
9
|
+
}
|
|
10
|
+
export declare const FooterNavItemTitle: ({ icon, name, description, badge, styles, }: FooterNavItemTitleProps) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import FooterNav from "./FooterNav";
|
|
2
|
+
import FooterNavGroup from "./FooterNavGroup";
|
|
3
|
+
import { FooterNavItem } from "./FooterNavItem";
|
|
4
|
+
import { FooterNavItemTitle } from "./FooterNavItemTitle";
|
|
5
|
+
import { FooterNavItemContext } from "./FooterNavItemContext";
|
|
6
|
+
export { FooterNav, FooterNavGroup, FooterNavItem, FooterNavItemTitle, FooterNavItemContext, };
|
|
@@ -2,4 +2,5 @@ import HeaderNav from "./HeaderNav";
|
|
|
2
2
|
import HeaderNavGroup from "./HeaderNavGroup";
|
|
3
3
|
import { HeaderNavItem } from "./HeaderNavItem";
|
|
4
4
|
import { HeaderNavItemTitle } from "./HeaderNavItemTitle";
|
|
5
|
-
|
|
5
|
+
import { HeaderNavItemContext } from "./HeaderNavItemContext";
|
|
6
|
+
export { HeaderNav, HeaderNavGroup, HeaderNavItem, HeaderNavItemTitle, HeaderNavItemContext, };
|
package/build/index.d.ts
CHANGED
|
@@ -35,7 +35,6 @@ import { Skeleton } from "./components/feedback/skeleton/Skeleton";
|
|
|
35
35
|
import { Toast, sendToast } from "./components/feedback/toast/Toast";
|
|
36
36
|
import Transition from "./components/feedback/transition";
|
|
37
37
|
import ContentArea from "./components/general/content-area/ContentArea";
|
|
38
|
-
import FooterNavbar from "./components/general/footer-navbar/FooterNavbar";
|
|
39
38
|
import { Sidebar } from "./components/general/sidebar";
|
|
40
39
|
import { Flex, FlexCol, FlexRow } from "./components/layout/flex";
|
|
41
40
|
import Grid from "./components/layout/grid/Grid";
|
|
@@ -43,7 +42,8 @@ import { Layout, Header, Content, Footer } from "./components/layout/layout";
|
|
|
43
42
|
import { Breadcrumb, BreadcrumbItem } from "./components/navigation/breadcrumb";
|
|
44
43
|
import { Drawer } from "./components/navigation/drawer/Drawer";
|
|
45
44
|
import DrawerToggler from "./components/navigation/drawer/DrawerToggler";
|
|
46
|
-
import {
|
|
45
|
+
import { FooterNav, FooterNavGroup, FooterNavItem, FooterNavItemTitle, FooterNavItemContext } from "./components/navigation/footer-nav";
|
|
46
|
+
import { HeaderNav, HeaderNavGroup, HeaderNavItem, HeaderNavItemTitle, HeaderNavItemContext } from "./components/navigation/header-nav";
|
|
47
47
|
import { Link } from "./components/navigation/link/Link";
|
|
48
48
|
import { Menu, MenuGroup, MenuItem, MenuItemTitle } from "./components/navigation/menu";
|
|
49
49
|
import RouteTab from "./components/navigation/route-tabs/RouteTab";
|
|
@@ -59,4 +59,4 @@ import useModal from "./utils/hooks/components/useModal";
|
|
|
59
59
|
import useDrawer from "./utils/hooks/components/useDrawer";
|
|
60
60
|
import useClickOutside from "./utils/hooks/useClickOutside";
|
|
61
61
|
import useIsMobile from "./utils/hooks/useIsMobile";
|
|
62
|
-
export { Avatar, Badge, TitleBanner, Brand, BarChart, LineChart, PieChart, Chip, Image, CloudinaryImage, Info, List, ListItem, PriceTag, StarRating, StarRatingDistribution, Slider, Table, Tag, Typography, Chapter, Section, Paragraph, Quote, YoutubeVideoPlayer, Button, Checkbox, DateSelector, Form, FormResponse, ImageInput, InputResponse, InputLabel, Input, InputFile, InputList, InputListGroup, MultiImageInput, Radio, StarRatingInput, Select, Switch, TextArea, Backdrop, Skeleton, Toast, sendToast, Transition, ContentArea,
|
|
62
|
+
export { Avatar, Badge, TitleBanner, Brand, BarChart, LineChart, PieChart, Chip, Image, CloudinaryImage, Info, List, ListItem, PriceTag, StarRating, StarRatingDistribution, Slider, Table, Tag, Typography, Chapter, Section, Paragraph, Quote, YoutubeVideoPlayer, Button, Checkbox, DateSelector, Form, FormResponse, ImageInput, InputResponse, InputLabel, Input, InputFile, InputList, InputListGroup, MultiImageInput, Radio, StarRatingInput, Select, Switch, TextArea, Backdrop, Skeleton, Toast, sendToast, Transition, ContentArea, Sidebar, Flex, FlexCol, FlexRow, Grid, Layout, Header, Content, Footer, Breadcrumb, BreadcrumbItem, Drawer, DrawerToggler, FooterNav, FooterNavGroup, FooterNavItem, FooterNavItemTitle, FooterNavItemContext, HeaderNav, HeaderNavGroup, HeaderNavItem, HeaderNavItemTitle, HeaderNavItemContext, Link, Menu, MenuGroup, MenuItem, MenuItemTitle, RouteTab, RouteTabs, Modal, Accordion, Card, CardHeader, CardContent, CardFooter, ThemeContext, ThemeProvider, ThemeSwitch, AsyncComponentWrapper, ShowMore, useModal, useDrawer, useClickOutside, useIsMobile, };
|