@sk-web-gui/react 1.2.16 → 1.2.18
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/cjs/index.js.map +1 -1
- package/dist/esm/index.js.map +1 -1
- package/dist/types/index.d.ts +70 -0
- package/package.json +38 -38
- package/dist/types/accordion/index.d.ts +0 -1
- package/dist/types/accordion/src/accordion/accordion-item.d.ts +0 -8
- package/dist/types/accordion/src/accordion/accordion.d.ts +0 -25
- package/dist/types/accordion/src/accordion/index.d.ts +0 -10
- package/dist/types/accordion/src/disclosure/disclosure.d.ts +0 -53
- package/dist/types/accordion/src/disclosure/index.d.ts +0 -4
- package/dist/types/accordion/src/disclosure/styles.d.ts +0 -1
- package/dist/types/accordion/src/index.d.ts +0 -2
- package/dist/types/breadcrumb/index.d.ts +0 -1
- package/dist/types/breadcrumb/src/breadcrumb.d.ts +0 -41
- package/dist/types/breadcrumb/src/index.d.ts +0 -11
- package/dist/types/button/index.d.ts +0 -1
- package/dist/types/button/src/button-group.d.ts +0 -15
- package/dist/types/button/src/button.d.ts +0 -49
- package/dist/types/button/src/index.d.ts +0 -11
- package/dist/types/button/src/styles.d.ts +0 -1
- package/dist/types/card/index.d.ts +0 -1
- package/dist/types/card/src/card.d.ts +0 -60
- package/dist/types/card/src/index.d.ts +0 -21
- package/dist/types/card/src/meta-card.d.ts +0 -42
- package/dist/types/cookie-consent/index.d.ts +0 -1
- package/dist/types/cookie-consent/src/cookie-consent.d.ts +0 -32
- package/dist/types/cookie-consent/src/index.d.ts +0 -15
- package/dist/types/layout/index.d.ts +0 -1
- package/dist/types/layout/src/footer/footer-list-item.d.ts +0 -4
- package/dist/types/layout/src/footer/footer-list.d.ts +0 -4
- package/dist/types/layout/src/footer/footer.d.ts +0 -6
- package/dist/types/layout/src/footer/index.d.ts +0 -14
- package/dist/types/layout/src/header/header.d.ts +0 -17
- package/dist/types/layout/src/header/index.d.ts +0 -8
- package/dist/types/layout/src/index.d.ts +0 -2
- package/dist/types/link/index.d.ts +0 -1
- package/dist/types/link/src/index.d.ts +0 -12
- package/dist/types/link/src/link.d.ts +0 -21
- package/dist/types/link/src/styles.d.ts +0 -1
- package/dist/types/list/index.d.ts +0 -1
- package/dist/types/list/src/index.d.ts +0 -12
- package/dist/types/list/src/list.d.ts +0 -28
- package/dist/types/menu-vertical/index.d.ts +0 -1
- package/dist/types/menu-vertical/src/index.d.ts +0 -25
- package/dist/types/menu-vertical/src/menu-vertical-backbutton.d.ts +0 -9
- package/dist/types/menu-vertical/src/menu-vertical-context.d.ts +0 -62
- package/dist/types/menu-vertical/src/menu-vertical-header.d.ts +0 -9
- package/dist/types/menu-vertical/src/menu-vertical-item.d.ts +0 -26
- package/dist/types/menu-vertical/src/menu-vertical-label.d.ts +0 -7
- package/dist/types/menu-vertical/src/menu-vertical-nav.d.ts +0 -9
- package/dist/types/menu-vertical/src/menu-vertical-sidebar.d.ts +0 -9
- package/dist/types/menu-vertical/src/menu-vertical-submenu-button.d.ts +0 -25
- package/dist/types/menu-vertical/src/menu-vertical-tool-item.d.ts +0 -9
- package/dist/types/menu-vertical/src/menu-vertical.d.ts +0 -14
- package/dist/types/menubar/index.d.ts +0 -1
- package/dist/types/menubar/src/index.d.ts +0 -11
- package/dist/types/menubar/src/menubar-item.d.ts +0 -15
- package/dist/types/menubar/src/menubar.d.ts +0 -18
- package/dist/types/modal/index.d.ts +0 -1
- package/dist/types/modal/src/confirm/confirm.d.ts +0 -17
- package/dist/types/modal/src/confirm/index.d.ts +0 -1
- package/dist/types/modal/src/dialog/dialog-buttons.d.ts +0 -6
- package/dist/types/modal/src/dialog/dialog-content.d.ts +0 -6
- package/dist/types/modal/src/dialog/dialog.d.ts +0 -7
- package/dist/types/modal/src/dialog/index.d.ts +0 -12
- package/dist/types/modal/src/index.d.ts +0 -3
- package/dist/types/modal/src/modal/index.d.ts +0 -13
- package/dist/types/modal/src/modal/modal-content.d.ts +0 -5
- package/dist/types/modal/src/modal/modal-footer.d.ts +0 -5
- package/dist/types/modal/src/modal/modal.d.ts +0 -27
- package/dist/types/pagination/index.d.ts +0 -1
- package/dist/types/pagination/src/index.d.ts +0 -8
- package/dist/types/pagination/src/pagination.d.ts +0 -19
- package/dist/types/pagination/src/styles.d.ts +0 -1
- package/dist/types/popup-menu/index.d.ts +0 -1
- package/dist/types/popup-menu/src/index.d.ts +0 -18
- package/dist/types/popup-menu/src/popup-menu-button.d.ts +0 -2
- package/dist/types/popup-menu/src/popup-menu-group.d.ts +0 -5
- package/dist/types/popup-menu/src/popup-menu-item.d.ts +0 -11
- package/dist/types/popup-menu/src/popup-menu-items.d.ts +0 -20
- package/dist/types/popup-menu/src/popup-menu-panel.d.ts +0 -6
- package/dist/types/popup-menu/src/popup-menu.d.ts +0 -53
- package/dist/types/popup-menu/src/popupmenu-context.d.ts +0 -18
- package/dist/types/react/src/index.d.ts +0 -35
- package/dist/types/searchfield/index.d.ts +0 -1
- package/dist/types/searchfield/src/index.d.ts +0 -18
- package/dist/types/searchfield/src/searchfield-suggestions-input.d.ts +0 -9
- package/dist/types/searchfield/src/searchfield-suggestions-list.d.ts +0 -3
- package/dist/types/searchfield/src/searchfield-suggestions-option.d.ts +0 -3
- package/dist/types/searchfield/src/searchfield-suggestions.d.ts +0 -3
- package/dist/types/searchfield/src/searchfield.d.ts +0 -27
- package/dist/types/snackbar/index.d.ts +0 -1
- package/dist/types/snackbar/src/index.d.ts +0 -8
- package/dist/types/snackbar/src/snackbar.d.ts +0 -11
- package/dist/types/table/index.d.ts +0 -1
- package/dist/types/table/src/auto-table.d.ts +0 -48
- package/dist/types/table/src/index.d.ts +0 -24
- package/dist/types/table/src/table-body.d.ts +0 -2
- package/dist/types/table/src/table-footer.d.ts +0 -2
- package/dist/types/table/src/table-header-column.d.ts +0 -6
- package/dist/types/table/src/table-header.d.ts +0 -6
- package/dist/types/table/src/table-row-column.d.ts +0 -6
- package/dist/types/table/src/table-row.d.ts +0 -2
- package/dist/types/table/src/table-sort-button.d.ts +0 -8
- package/dist/types/table/src/table.d.ts +0 -9
- package/dist/types/tabs/index.d.ts +0 -1
- package/dist/types/tabs/src/index.d.ts +0 -15
- package/dist/types/tabs/src/tabs-button.d.ts +0 -7
- package/dist/types/tabs/src/tabs-content.d.ts +0 -6
- package/dist/types/tabs/src/tabs-context.d.ts +0 -8
- package/dist/types/tabs/src/tabs-item.d.ts +0 -6
- package/dist/types/tabs/src/tabs.d.ts +0 -11
- package/dist/types/text/index.d.ts +0 -1
- package/dist/types/text/src/index.d.ts +0 -8
- package/dist/types/text/src/text.d.ts +0 -10
- package/dist/types/user-menu/index.d.ts +0 -1
- package/dist/types/user-menu/src/index.d.ts +0 -8
- package/dist/types/user-menu/src/user-menu.d.ts +0 -32
|
@@ -1,42 +0,0 @@
|
|
|
1
|
-
import { DefaultProps } from '@sk-web-gui/utils';
|
|
2
|
-
import React from 'react';
|
|
3
|
-
interface IMetaCardProps extends DefaultProps {
|
|
4
|
-
/** React node */
|
|
5
|
-
children?: React.ReactNode;
|
|
6
|
-
/** Set background color to card
|
|
7
|
-
* @default vattjom
|
|
8
|
-
*/
|
|
9
|
-
color?: 'mono' | 'vattjom';
|
|
10
|
-
/** If the card should be clickable, will apply hover style
|
|
11
|
-
* @default false;
|
|
12
|
-
*/
|
|
13
|
-
useHoverEffect?: boolean;
|
|
14
|
-
/** Make the card linkable
|
|
15
|
-
*/
|
|
16
|
-
href?: string;
|
|
17
|
-
}
|
|
18
|
-
export interface MetaCardProps extends Omit<React.ComponentPropsWithRef<'div'>, 'color'>, IMetaCardProps {
|
|
19
|
-
}
|
|
20
|
-
export declare const MetaCard: React.ForwardRefExoticComponent<Omit<MetaCardProps, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
21
|
-
interface IMetaCardBodyProps extends DefaultProps {
|
|
22
|
-
/** React node */
|
|
23
|
-
children?: React.ReactNode;
|
|
24
|
-
}
|
|
25
|
-
export interface MetaCardBodyProps extends React.ComponentPropsWithRef<'div'>, IMetaCardBodyProps {
|
|
26
|
-
}
|
|
27
|
-
export declare const MetaCardBody: React.ForwardRefExoticComponent<Omit<MetaCardBodyProps, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
28
|
-
interface IMetaCardHeaderProps extends DefaultProps {
|
|
29
|
-
/** React node */
|
|
30
|
-
children?: React.ReactNode;
|
|
31
|
-
}
|
|
32
|
-
export interface MetaCardHeaderProps extends React.ComponentPropsWithRef<'div'>, IMetaCardHeaderProps {
|
|
33
|
-
}
|
|
34
|
-
export declare const MetaCardHeader: React.ForwardRefExoticComponent<Omit<MetaCardHeaderProps, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
35
|
-
interface IMetaCardTextProps extends DefaultProps {
|
|
36
|
-
/** React node */
|
|
37
|
-
children?: React.ReactNode;
|
|
38
|
-
}
|
|
39
|
-
export interface MetaCardTextProps extends React.ComponentPropsWithRef<'div'>, IMetaCardTextProps {
|
|
40
|
-
}
|
|
41
|
-
export declare const MetaCardText: React.ForwardRefExoticComponent<Omit<MetaCardTextProps, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
42
|
-
export default MetaCard;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from './src';
|
|
@@ -1,32 +0,0 @@
|
|
|
1
|
-
import { DefaultProps } from '@sk-web-gui/utils';
|
|
2
|
-
import { CookieSetOptions } from 'universal-cookie';
|
|
3
|
-
import React from 'react';
|
|
4
|
-
export declare const defaultCookieConsentName = "SKCookieConsent";
|
|
5
|
-
export interface ConsentCookie {
|
|
6
|
-
optional: boolean;
|
|
7
|
-
displayName: string;
|
|
8
|
-
description: string;
|
|
9
|
-
cookieName: string;
|
|
10
|
-
}
|
|
11
|
-
export interface CheckableConsentCookie extends ConsentCookie {
|
|
12
|
-
isChecked: boolean;
|
|
13
|
-
}
|
|
14
|
-
export declare enum ConsentType {
|
|
15
|
-
Necessary = "Necessary",
|
|
16
|
-
All = "All",
|
|
17
|
-
Custom = "Custom"
|
|
18
|
-
}
|
|
19
|
-
export declare function getConsent(): string[];
|
|
20
|
-
export declare function resetConsent(): void;
|
|
21
|
-
export declare function getCheckableCookies(cookies: ConsentCookie[]): CheckableConsentCookie[];
|
|
22
|
-
export interface CookieConsentProps extends DefaultProps, Omit<React.ComponentPropsWithRef<'div'>, 'title'> {
|
|
23
|
-
isOpen?: boolean;
|
|
24
|
-
onConsent: (cookies: ConsentCookie[]) => void;
|
|
25
|
-
cookies: ConsentCookie[];
|
|
26
|
-
title: string;
|
|
27
|
-
body: React.ReactNode;
|
|
28
|
-
resetConsentOnInit: boolean;
|
|
29
|
-
options?: CookieSetOptions;
|
|
30
|
-
}
|
|
31
|
-
export declare const CookieConsent: React.FC<CookieConsentProps>;
|
|
32
|
-
export default CookieConsent;
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
|
-
import { ConsentType, CookieConsent, CookieConsentProps, getCheckableCookies, getConsent, resetConsent } from './cookie-consent';
|
|
3
|
-
declare const CookieConsentUtils: {
|
|
4
|
-
defaultCookieConsentName: string;
|
|
5
|
-
getConsent: typeof getConsent;
|
|
6
|
-
resetConsent: typeof resetConsent;
|
|
7
|
-
getCheckableCookies: typeof getCheckableCookies;
|
|
8
|
-
ConsentType: typeof ConsentType;
|
|
9
|
-
};
|
|
10
|
-
export { CookieConsent, CookieConsentUtils };
|
|
11
|
-
export type { CookieConsentProps };
|
|
12
|
-
declare const _default: {
|
|
13
|
-
CookieConsent: import("react").FC<CookieConsentProps>;
|
|
14
|
-
};
|
|
15
|
-
export default _default;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from './src';
|
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
export declare const FooterListItem: React.ForwardRefExoticComponent<Omit<Omit<React.DetailedHTMLProps<React.LiHTMLAttributes<HTMLLIElement>, HTMLLIElement>, "ref"> & {
|
|
3
|
-
ref?: ((instance: HTMLLIElement | null) => void) | React.RefObject<HTMLLIElement> | null | undefined;
|
|
4
|
-
}, "ref"> & React.RefAttributes<HTMLLIElement>>;
|
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
export declare const FooterList: React.ForwardRefExoticComponent<Omit<Omit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLUListElement>, HTMLUListElement>, "ref"> & {
|
|
3
|
-
ref?: ((instance: HTMLUListElement | null) => void) | React.RefObject<HTMLUListElement> | null | undefined;
|
|
4
|
-
}, "ref"> & React.RefAttributes<HTMLUListElement>>;
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
import { DefaultProps } from '@sk-web-gui/utils';
|
|
2
|
-
import React from 'react';
|
|
3
|
-
export interface FooterProps extends DefaultProps, React.ComponentPropsWithRef<'footer'> {
|
|
4
|
-
}
|
|
5
|
-
export declare const Footer: React.ForwardRefExoticComponent<Omit<FooterProps, "ref"> & React.RefAttributes<HTMLElement>>;
|
|
6
|
-
export default Footer;
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
|
-
import { FooterProps as InternalFooterProps } from './footer';
|
|
3
|
-
import { FooterList } from './footer-list';
|
|
4
|
-
import { FooterListItem } from './footer-list-item';
|
|
5
|
-
interface FooterProps extends React.ForwardRefExoticComponent<InternalFooterProps> {
|
|
6
|
-
List: typeof FooterList;
|
|
7
|
-
ListItem: typeof FooterListItem;
|
|
8
|
-
}
|
|
9
|
-
export declare const Footer: FooterProps;
|
|
10
|
-
export type { FooterProps };
|
|
11
|
-
declare const _default: {
|
|
12
|
-
Footer: FooterProps;
|
|
13
|
-
};
|
|
14
|
-
export default _default;
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import { DefaultProps } from '@sk-web-gui/utils';
|
|
3
|
-
export interface HeaderComponentProps extends DefaultProps, React.ComponentPropsWithRef<'div'> {
|
|
4
|
-
title?: string;
|
|
5
|
-
subtitle?: string;
|
|
6
|
-
children?: React.ReactNode;
|
|
7
|
-
LogoLinkWrapperComponent?: React.ReactElement;
|
|
8
|
-
logoLinkOnClick?: () => void;
|
|
9
|
-
notificationsAlert?: React.ReactNode;
|
|
10
|
-
userMenu?: React.ReactNode;
|
|
11
|
-
wrapperClasses?: string;
|
|
12
|
-
userMenuClasses?: string;
|
|
13
|
-
mainMenu?: React.ReactNode;
|
|
14
|
-
mobileMenu?: React.ReactNode;
|
|
15
|
-
}
|
|
16
|
-
export declare const HeaderComponent: React.ForwardRefExoticComponent<Omit<HeaderComponentProps, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
17
|
-
export default HeaderComponent;
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
|
-
import { HeaderComponent, HeaderComponentProps } from './header';
|
|
3
|
-
interface HeaderProps extends React.ForwardRefExoticComponent<HeaderComponentProps> {
|
|
4
|
-
Component: typeof HeaderComponent;
|
|
5
|
-
}
|
|
6
|
-
export declare const Header: HeaderProps;
|
|
7
|
-
export type { HeaderProps };
|
|
8
|
-
export default Header;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from './src';
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
|
-
import { Link, LinkProps } from './link';
|
|
3
|
-
export { Link };
|
|
4
|
-
export type { LinkProps };
|
|
5
|
-
declare const _default: {
|
|
6
|
-
Link: import("react").ForwardRefExoticComponent<Omit<LinkProps & {
|
|
7
|
-
as?: import("react").ElementType<any, keyof import("react").JSX.IntrinsicElements> | undefined;
|
|
8
|
-
} & Omit<Omit<any, "ref">, "as" | keyof LinkProps> & {
|
|
9
|
-
ref?: any;
|
|
10
|
-
}, "ref"> & import("react").RefAttributes<unknown>>;
|
|
11
|
-
};
|
|
12
|
-
export default _default;
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
import { PolymorphicComponentPropsWithRef, DefaultProps } from '@sk-web-gui/utils';
|
|
2
|
-
import React from 'react';
|
|
3
|
-
export interface LinkProps extends DefaultProps, React.AnchorHTMLAttributes<HTMLAnchorElement> {
|
|
4
|
-
/** Makes link disabled */
|
|
5
|
-
disabled?: boolean;
|
|
6
|
-
/** Makes link open in new tab */
|
|
7
|
-
external?: boolean;
|
|
8
|
-
/** React node */
|
|
9
|
-
children?: React.ReactNode;
|
|
10
|
-
/** @default false */
|
|
11
|
-
hideExternalIcon?: boolean;
|
|
12
|
-
/** @default '' */
|
|
13
|
-
size?: 'sm' | 'md' | 'lg' | 'xl';
|
|
14
|
-
/** @default false */
|
|
15
|
-
strong?: boolean;
|
|
16
|
-
/** @default primary */
|
|
17
|
-
variant?: 'primary' | 'tertiary';
|
|
18
|
-
}
|
|
19
|
-
type ILinkProps<C extends React.ElementType> = PolymorphicComponentPropsWithRef<C, LinkProps>;
|
|
20
|
-
export declare const Link: React.ForwardRefExoticComponent<Omit<ILinkProps<React.ElementType<any, keyof React.JSX.IntrinsicElements>>, "ref"> & React.RefAttributes<unknown>>;
|
|
21
|
-
export default Link;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare const useLinkClass: (args?: any) => string;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from './src';
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import { List as InternalList, ListProps as InternalListProps, ListHeader, ListItem, ListLink, ListText } from './list';
|
|
3
|
-
interface ListProps extends React.ForwardRefExoticComponent<InternalListProps> {
|
|
4
|
-
Component: typeof InternalList;
|
|
5
|
-
Item: typeof ListItem;
|
|
6
|
-
Header: typeof ListHeader;
|
|
7
|
-
Link: typeof ListLink;
|
|
8
|
-
Text: typeof ListText;
|
|
9
|
-
}
|
|
10
|
-
export declare const List: ListProps;
|
|
11
|
-
export type { ListProps };
|
|
12
|
-
export default List;
|
|
@@ -1,28 +0,0 @@
|
|
|
1
|
-
import { LinkProps } from '@sk-web-gui/link';
|
|
2
|
-
import { DefaultProps } from '@sk-web-gui/utils';
|
|
3
|
-
import React from 'react';
|
|
4
|
-
export interface ListProps extends DefaultProps, React.ComponentPropsWithRef<'ul'> {
|
|
5
|
-
/** Select style of list. */
|
|
6
|
-
listStyle?: 'bullet' | 'numbered' | 'stroke';
|
|
7
|
-
/** React Node */
|
|
8
|
-
children?: React.ReactNode;
|
|
9
|
-
}
|
|
10
|
-
export declare const List: React.ForwardRefExoticComponent<Omit<ListProps, "ref"> & React.RefAttributes<HTMLUListElement>>;
|
|
11
|
-
export interface ListItemProps extends DefaultProps, React.ComponentPropsWithRef<'li'> {
|
|
12
|
-
children?: React.ReactNode;
|
|
13
|
-
}
|
|
14
|
-
export declare const ListItem: React.ForwardRefExoticComponent<Omit<ListItemProps, "ref"> & React.RefAttributes<HTMLLIElement>>;
|
|
15
|
-
export declare const ListLink: React.ForwardRefExoticComponent<LinkProps & React.RefAttributes<React.ForwardRefExoticComponent<Omit<LinkProps & {
|
|
16
|
-
as?: React.ElementType<any, keyof React.JSX.IntrinsicElements> | undefined;
|
|
17
|
-
} & Omit<Omit<any, "ref">, "as" | keyof LinkProps> & {
|
|
18
|
-
ref?: any;
|
|
19
|
-
}, "ref"> & React.RefAttributes<unknown>>>>;
|
|
20
|
-
export interface ListHeaderProps extends DefaultProps, React.ComponentPropsWithRef<'p'> {
|
|
21
|
-
children?: React.ReactNode;
|
|
22
|
-
}
|
|
23
|
-
export declare const ListHeader: React.ForwardRefExoticComponent<Omit<ListHeaderProps, "ref"> & React.RefAttributes<HTMLParagraphElement>>;
|
|
24
|
-
export interface ListTextProps extends DefaultProps, React.ComponentPropsWithRef<'p'> {
|
|
25
|
-
children?: React.ReactNode;
|
|
26
|
-
}
|
|
27
|
-
export declare const ListText: React.ForwardRefExoticComponent<Omit<ListTextProps, "ref"> & React.RefAttributes<HTMLParagraphElement>>;
|
|
28
|
-
export default List;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from './src';
|
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
|
-
import { MenuVerticalComponentProps } from './menu-vertical';
|
|
3
|
-
import { MenuVerticalBackButton } from './menu-vertical-backbutton';
|
|
4
|
-
import { MenuVerticalItem } from './menu-vertical-item';
|
|
5
|
-
import { MenuVerticalLabel } from './menu-vertical-label';
|
|
6
|
-
import { MenuVerticalNav } from './menu-vertical-nav';
|
|
7
|
-
import { MenuVerticalSubmenuButton } from './menu-vertical-submenu-button';
|
|
8
|
-
import { MenuVerticalProvider } from './menu-vertical-context';
|
|
9
|
-
import { MenuVerticalSidebar } from './menu-vertical-sidebar';
|
|
10
|
-
import { MenuVerticalToolItem } from './menu-vertical-tool-item';
|
|
11
|
-
import { MenuVerticalHeader } from './menu-vertical-header';
|
|
12
|
-
interface MenuVerticalProps extends MenuVerticalComponentProps, React.ForwardRefExoticComponent<MenuVerticalComponentProps & React.RefAttributes<HTMLElement>> {
|
|
13
|
-
Provider: typeof MenuVerticalProvider;
|
|
14
|
-
Header: typeof MenuVerticalHeader;
|
|
15
|
-
Nav: typeof MenuVerticalNav;
|
|
16
|
-
Sidebar: typeof MenuVerticalSidebar;
|
|
17
|
-
BackButton: typeof MenuVerticalBackButton;
|
|
18
|
-
Label: typeof MenuVerticalLabel;
|
|
19
|
-
SubmenuButton: typeof MenuVerticalSubmenuButton;
|
|
20
|
-
Item: typeof MenuVerticalItem;
|
|
21
|
-
ToolItem: typeof MenuVerticalToolItem;
|
|
22
|
-
}
|
|
23
|
-
export declare const MenuVertical: MenuVerticalProps;
|
|
24
|
-
export type { MenuVerticalProps };
|
|
25
|
-
export default MenuVertical;
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import { DefaultProps } from '@sk-web-gui/utils';
|
|
2
|
-
import React from 'react';
|
|
3
|
-
interface IMenuVerticalBackButtonProps extends DefaultProps {
|
|
4
|
-
children: JSX.Element | string;
|
|
5
|
-
}
|
|
6
|
-
export interface MenuVerticalBackButtonProps extends Omit<React.HTMLAttributes<HTMLDivElement>, 'color' | 'children'>, IMenuVerticalBackButtonProps {
|
|
7
|
-
}
|
|
8
|
-
export declare const MenuVerticalBackButton: React.ForwardRefExoticComponent<IMenuVerticalBackButtonProps & React.RefAttributes<HTMLDivElement>>;
|
|
9
|
-
export {};
|
|
@@ -1,62 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import { MenuVerticalSubmenuButtonProps } from './menu-vertical-submenu-button';
|
|
3
|
-
import { MenuVerticalItemProps } from './menu-vertical-item';
|
|
4
|
-
export interface MenuItemTypes {
|
|
5
|
-
submenuItem?: React.ReactElement<MenuVerticalSubmenuButtonProps>;
|
|
6
|
-
menuItems: React.ReactElement<MenuVerticalItemProps>[];
|
|
7
|
-
}
|
|
8
|
-
export type MenuIndex = number | string | null | undefined;
|
|
9
|
-
interface Submenu extends MenuItemTypes {
|
|
10
|
-
parentMenuId: string;
|
|
11
|
-
parentLiMenuIndex: MenuIndex;
|
|
12
|
-
submenuOpen: boolean;
|
|
13
|
-
setSubmenuOpen: React.Dispatch<React.SetStateAction<boolean>>;
|
|
14
|
-
}
|
|
15
|
-
interface Menu {
|
|
16
|
-
[id: string]: Submenu;
|
|
17
|
-
}
|
|
18
|
-
interface UseMenuVerticalPropsStates {
|
|
19
|
-
rootId: string;
|
|
20
|
-
rootMenuId: string;
|
|
21
|
-
menu: Menu;
|
|
22
|
-
active: MenuIndex;
|
|
23
|
-
focused: MenuIndex;
|
|
24
|
-
activeMenuId: string;
|
|
25
|
-
current: MenuIndex;
|
|
26
|
-
currentMenuId: string;
|
|
27
|
-
}
|
|
28
|
-
interface UseMenuVerticalPropsFunctions {
|
|
29
|
-
setMenu: React.Dispatch<React.SetStateAction<Menu>>;
|
|
30
|
-
setActive: React.Dispatch<React.SetStateAction<UseMenuVerticalPropsStates['active']>>;
|
|
31
|
-
setActiveMenuId: React.Dispatch<React.SetStateAction<UseMenuVerticalPropsStates['activeMenuId']>>;
|
|
32
|
-
setCurrent: React.Dispatch<React.SetStateAction<UseMenuVerticalPropsStates['current']>>;
|
|
33
|
-
setFocused: React.Dispatch<React.SetStateAction<UseMenuVerticalPropsStates['focused']>>;
|
|
34
|
-
setCurrentMenuId: React.Dispatch<React.SetStateAction<UseMenuVerticalPropsStates['currentMenuId']>>;
|
|
35
|
-
next: () => void;
|
|
36
|
-
prev: () => void;
|
|
37
|
-
getAboveSubmenuIds: (menuId: string, menuIds?: string[]) => string[];
|
|
38
|
-
setSubmenus: (defaultOpen?: boolean, options?: {
|
|
39
|
-
openMenuIds?: string[];
|
|
40
|
-
closeMenuIds?: string[];
|
|
41
|
-
}) => void;
|
|
42
|
-
setCurrentActive: (menuIndex: UseMenuVerticalPropsStates['current']) => void;
|
|
43
|
-
setCurrentActiveFocus: (menuIndex: UseMenuVerticalPropsStates['focused']) => void;
|
|
44
|
-
setActiveFocus: (menuIndex: UseMenuVerticalPropsStates['focused']) => void;
|
|
45
|
-
}
|
|
46
|
-
export type UseMenuVerticalProps = UseMenuVerticalPropsStates & UseMenuVerticalPropsFunctions;
|
|
47
|
-
export declare const useMenuVertical: () => UseMenuVerticalProps;
|
|
48
|
-
export interface MenuVerticalProviderProps {
|
|
49
|
-
children: JSX.Element | ((parameters: UseMenuVerticalProps) => JSX.Element);
|
|
50
|
-
rootId?: UseMenuVerticalPropsStates['rootId'];
|
|
51
|
-
rootMenuId?: UseMenuVerticalPropsStates['rootMenuId'];
|
|
52
|
-
current?: UseMenuVerticalPropsStates['current'];
|
|
53
|
-
focused?: UseMenuVerticalPropsStates['focused'];
|
|
54
|
-
active?: UseMenuVerticalPropsStates['active'];
|
|
55
|
-
activeMenuId?: UseMenuVerticalPropsStates['activeMenuId'];
|
|
56
|
-
currentMenuId?: UseMenuVerticalPropsStates['currentMenuId'];
|
|
57
|
-
setCurrent?: UseMenuVerticalPropsFunctions['setCurrent'];
|
|
58
|
-
setFocused?: UseMenuVerticalPropsFunctions['setFocused'];
|
|
59
|
-
setActive?: UseMenuVerticalPropsFunctions['setActive'];
|
|
60
|
-
}
|
|
61
|
-
export declare function MenuVerticalProvider({ children, rootId: _rootId, rootMenuId: _rootMenuId, activeMenuId: _activeMenuId, currentMenuId: _currentMenuId, active: _active, focused: _focused, current: _current, setActive: _setActive, setFocused: _setFocused, setCurrent: _setCurrent, }: MenuVerticalProviderProps): import("react/jsx-runtime").JSX.Element;
|
|
62
|
-
export {};
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import { DefaultProps } from '@sk-web-gui/utils';
|
|
2
|
-
import React from 'react';
|
|
3
|
-
interface IMenuVerticalHeaderProps extends DefaultProps {
|
|
4
|
-
children: JSX.Element | JSX.Element[] | string;
|
|
5
|
-
}
|
|
6
|
-
export interface MenuVerticalHeaderProps extends Omit<React.HTMLAttributes<HTMLDivElement>, 'color' | 'children'>, IMenuVerticalHeaderProps {
|
|
7
|
-
}
|
|
8
|
-
export declare const MenuVerticalHeader: React.ForwardRefExoticComponent<IMenuVerticalHeaderProps & React.RefAttributes<HTMLDivElement>>;
|
|
9
|
-
export {};
|
|
@@ -1,26 +0,0 @@
|
|
|
1
|
-
import { DefaultProps } from '@sk-web-gui/utils';
|
|
2
|
-
import React from 'react';
|
|
3
|
-
import { MenuIndex } from './menu-vertical-context';
|
|
4
|
-
export interface IMenuVerticalItemProps extends DefaultProps {
|
|
5
|
-
/** Set true to set to current */
|
|
6
|
-
current?: boolean;
|
|
7
|
-
/** Set to override menuIndex */
|
|
8
|
-
menuIndex?: MenuIndex;
|
|
9
|
-
/** Use <a> or <button>. For dropdown, use Another <MenuVertical> with a <MenuVertical.SubmenuButton> instead of first item */
|
|
10
|
-
children: JSX.Element;
|
|
11
|
-
/** For e.g. Next Links to work, they need to be wrapped this way */
|
|
12
|
-
wrapper?: JSX.Element;
|
|
13
|
-
menuId?: string;
|
|
14
|
-
parentMenuId?: string;
|
|
15
|
-
/**
|
|
16
|
-
* @default false
|
|
17
|
-
*/
|
|
18
|
-
disabled?: boolean;
|
|
19
|
-
}
|
|
20
|
-
export interface MenuVerticalItemProps extends Omit<React.HTMLAttributes<HTMLLIElement>, 'color' | 'children' | 'onClick'>, IMenuVerticalItemProps {
|
|
21
|
-
}
|
|
22
|
-
export declare const MenuVerticalItem: React.FC<MenuVerticalItemProps>;
|
|
23
|
-
declare const _default: {
|
|
24
|
-
MenuVerticalItem: React.FC<MenuVerticalItemProps>;
|
|
25
|
-
};
|
|
26
|
-
export default _default;
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import { DividerProps } from '@sk-web-gui/divider';
|
|
3
|
-
import { DefaultProps } from '@sk-web-gui/utils';
|
|
4
|
-
interface MenuVerticalLabelProps extends DefaultProps, React.ComponentProps<DividerProps['Section']> {
|
|
5
|
-
}
|
|
6
|
-
export declare const MenuVerticalLabel: React.FC<MenuVerticalLabelProps>;
|
|
7
|
-
export {};
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import { DefaultProps } from '@sk-web-gui/utils';
|
|
2
|
-
import React from 'react';
|
|
3
|
-
interface IMenuVerticalNavProps extends DefaultProps {
|
|
4
|
-
children: React.ReactElement | React.ReactElement[] | string;
|
|
5
|
-
}
|
|
6
|
-
export interface MenuVerticalNavProps extends Omit<React.HTMLAttributes<HTMLDivElement>, 'color' | 'children'>, IMenuVerticalNavProps {
|
|
7
|
-
}
|
|
8
|
-
export declare const MenuVerticalNav: React.ForwardRefExoticComponent<IMenuVerticalNavProps & React.RefAttributes<HTMLDivElement>>;
|
|
9
|
-
export {};
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import { DefaultProps } from '@sk-web-gui/utils';
|
|
2
|
-
import React from 'react';
|
|
3
|
-
interface IMenuVerticalSidebarProps extends DefaultProps {
|
|
4
|
-
children: React.ReactElement | React.ReactElement[] | string;
|
|
5
|
-
}
|
|
6
|
-
export interface MenuVerticalSidebarProps extends Omit<React.HTMLAttributes<HTMLDivElement>, 'color' | 'children'>, IMenuVerticalSidebarProps {
|
|
7
|
-
}
|
|
8
|
-
export declare const MenuVerticalSidebar: React.ForwardRefExoticComponent<IMenuVerticalSidebarProps & React.RefAttributes<HTMLDivElement>>;
|
|
9
|
-
export {};
|
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
import { DefaultProps } from '@sk-web-gui/utils';
|
|
2
|
-
import React from 'react';
|
|
3
|
-
import { IMenuVerticalItemProps } from './menu-vertical-item';
|
|
4
|
-
export interface MenuVerticalSubmenuButtonProps extends DefaultProps, Omit<IMenuVerticalItemProps, 'children'> {
|
|
5
|
-
children: string | JSX.Element;
|
|
6
|
-
/** For e.g. Next Links to work, they need to be wrapped this way */
|
|
7
|
-
wrapper?: JSX.Element;
|
|
8
|
-
/**
|
|
9
|
-
* @default large
|
|
10
|
-
*/
|
|
11
|
-
size?: 'medium' | 'large';
|
|
12
|
-
/**
|
|
13
|
-
* @default false
|
|
14
|
-
*/
|
|
15
|
-
disabled?: boolean;
|
|
16
|
-
/**
|
|
17
|
-
* @default false
|
|
18
|
-
*/
|
|
19
|
-
treePath?: boolean;
|
|
20
|
-
}
|
|
21
|
-
export declare const MenuVerticalSubmenuButton: React.FC<MenuVerticalSubmenuButtonProps>;
|
|
22
|
-
declare const _default: {
|
|
23
|
-
MenuVerticalSubmenuButton: React.FC<MenuVerticalSubmenuButtonProps>;
|
|
24
|
-
};
|
|
25
|
-
export default _default;
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import { DefaultProps } from '@sk-web-gui/utils';
|
|
2
|
-
import React from 'react';
|
|
3
|
-
interface IMenuVerticalToolItemProps extends DefaultProps {
|
|
4
|
-
children: JSX.Element | JSX.Element[] | string;
|
|
5
|
-
}
|
|
6
|
-
export interface MenuVerticalToolItemProps extends Omit<React.HTMLAttributes<HTMLSpanElement>, 'color' | 'children'>, IMenuVerticalToolItemProps {
|
|
7
|
-
}
|
|
8
|
-
export declare const MenuVerticalToolItem: React.ForwardRefExoticComponent<IMenuVerticalToolItemProps & React.RefAttributes<HTMLSpanElement>>;
|
|
9
|
-
export {};
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
import { DefaultProps } from '@sk-web-gui/utils';
|
|
2
|
-
import React from 'react';
|
|
3
|
-
type IMenuVerticalComponentProps = DefaultProps & {
|
|
4
|
-
rootId?: string;
|
|
5
|
-
menuId?: string;
|
|
6
|
-
parentLiMenuIndex?: number | string | null;
|
|
7
|
-
};
|
|
8
|
-
export interface MenuVerticalComponentProps extends Omit<React.HTMLAttributes<HTMLUListElement>, 'color'>, IMenuVerticalComponentProps {
|
|
9
|
-
}
|
|
10
|
-
export declare const MenuVerticalComponent: React.ForwardRefExoticComponent<MenuVerticalComponentProps & React.RefAttributes<HTMLUListElement>>;
|
|
11
|
-
declare const _default: {
|
|
12
|
-
MenuVerticalComponent: React.ForwardRefExoticComponent<MenuVerticalComponentProps & React.RefAttributes<HTMLUListElement>>;
|
|
13
|
-
};
|
|
14
|
-
export default _default;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from './src';
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
|
-
import { MenuBarComponent, MenuBarComponentProps } from './menubar';
|
|
3
|
-
import { MenuBarItem } from './menubar-item';
|
|
4
|
-
interface MenuBarProps extends React.ForwardRefExoticComponent<MenuBarComponentProps> {
|
|
5
|
-
Component: typeof MenuBarComponent;
|
|
6
|
-
Item: typeof MenuBarItem;
|
|
7
|
-
}
|
|
8
|
-
declare const MenuBar: MenuBarProps;
|
|
9
|
-
export { MenuBar };
|
|
10
|
-
export type { MenuBarProps };
|
|
11
|
-
export default MenuBar;
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import { DefaultProps } from '@sk-web-gui/utils';
|
|
2
|
-
import React from 'react';
|
|
3
|
-
export interface MenuBarItemProps extends DefaultProps, Omit<React.ComponentPropsWithRef<'li'>, 'color' | 'children' | 'onClick'> {
|
|
4
|
-
/** Color for menuoption. Is inherited from MenuBar */
|
|
5
|
-
color?: 'tertiary' | 'juniskar' | 'bjornstigen' | 'gronsta' | 'vattjom';
|
|
6
|
-
/** Set true if this is the current menuoption. Can be handled by MenuBar */
|
|
7
|
-
current?: boolean;
|
|
8
|
-
/** Set automatic */
|
|
9
|
-
menuIndex?: number;
|
|
10
|
-
/** Use <a> or <button>. For dropdown, use <PopupMenu> */
|
|
11
|
-
children: JSX.Element;
|
|
12
|
-
/** For e.g. Next Links to work, they need to wrapped this way */
|
|
13
|
-
wrapper?: JSX.Element;
|
|
14
|
-
}
|
|
15
|
-
export declare const MenuBarItem: React.ForwardRefExoticComponent<Omit<MenuBarItemProps, "ref"> & React.RefAttributes<HTMLLIElement>>;
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
import { DefaultProps } from '@sk-web-gui/utils';
|
|
2
|
-
import React from 'react';
|
|
3
|
-
interface UseMenuBarProps {
|
|
4
|
-
color?: 'tertiary' | 'juniskar' | 'bjornstigen' | 'gronsta' | 'vattjom';
|
|
5
|
-
current?: number;
|
|
6
|
-
}
|
|
7
|
-
interface UseMenuBarData extends UseMenuBarProps {
|
|
8
|
-
next?: () => void;
|
|
9
|
-
prev?: () => void;
|
|
10
|
-
active?: number;
|
|
11
|
-
setCurrent?: (index: number) => void;
|
|
12
|
-
}
|
|
13
|
-
export interface MenuBarComponentProps extends DefaultProps, UseMenuBarProps, Omit<React.ComponentPropsWithRef<'ul'>, 'color'> {
|
|
14
|
-
showBackground?: boolean;
|
|
15
|
-
}
|
|
16
|
-
export declare const useMenuBar: () => UseMenuBarData;
|
|
17
|
-
export declare const MenuBarComponent: React.ForwardRefExoticComponent<Omit<MenuBarComponentProps, "ref"> & React.RefAttributes<HTMLUListElement>>;
|
|
18
|
-
export default MenuBarComponent;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from './src';
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
type UseDialogShowReturnType = {
|
|
3
|
-
show: boolean;
|
|
4
|
-
setShow: (value: boolean) => void;
|
|
5
|
-
onHide: () => void;
|
|
6
|
-
};
|
|
7
|
-
declare const useDialogShow: () => UseDialogShowReturnType;
|
|
8
|
-
type DialogContextType = {
|
|
9
|
-
showConfirmation: (title: string, message: string | JSX.Element, confirmLabel?: string, dismissLabel?: string, dialogType?: 'warning' | 'error' | 'info', icon?: 'info' | 'error' | 'question', labelAs?: React.ElementType) => Promise<boolean>;
|
|
10
|
-
};
|
|
11
|
-
type ConfirmationDialogContextProviderProps = {
|
|
12
|
-
children: React.ReactNode;
|
|
13
|
-
};
|
|
14
|
-
export declare const ConfirmationDialogContextProvider: React.FC<ConfirmationDialogContextProviderProps>;
|
|
15
|
-
declare const useConfirm: () => DialogContextType;
|
|
16
|
-
export { useConfirm, useDialogShow };
|
|
17
|
-
export default useConfirm;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from './confirm';
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
import { DefaultProps } from '@sk-web-gui/utils';
|
|
2
|
-
import React from 'react';
|
|
3
|
-
interface DialogButtonsProps extends DefaultProps, React.ComponentPropsWithRef<'div'> {
|
|
4
|
-
}
|
|
5
|
-
export declare const DialogButtons: React.ForwardRefExoticComponent<Omit<DialogButtonsProps, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
6
|
-
export default DialogButtons;
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
import { DefaultProps } from '@sk-web-gui/utils';
|
|
2
|
-
import React from 'react';
|
|
3
|
-
interface DialogContentProps extends DefaultProps, React.ComponentPropsWithRef<'div'> {
|
|
4
|
-
}
|
|
5
|
-
export declare const DialogContent: React.ForwardRefExoticComponent<Omit<DialogContentProps, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
6
|
-
export default DialogContent;
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import { Modal } from '../modal';
|
|
3
|
-
export interface InternalDialogProps extends Omit<React.ComponentProps<typeof Modal.Component>, 'onClose'>, React.ComponentPropsWithRef<'div'> {
|
|
4
|
-
onClose?: (data?: boolean | string | undefined) => void;
|
|
5
|
-
}
|
|
6
|
-
export declare const DialogComponent: React.ForwardRefExoticComponent<Omit<InternalDialogProps, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
7
|
-
export default DialogComponent;
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import { DialogComponent, InternalDialogProps } from './dialog';
|
|
3
|
-
import { DialogButtons } from './dialog-buttons';
|
|
4
|
-
import { DialogContent } from './dialog-content';
|
|
5
|
-
interface DialogProps extends React.ForwardRefExoticComponent<InternalDialogProps> {
|
|
6
|
-
Component: typeof DialogComponent;
|
|
7
|
-
Buttons: typeof DialogButtons;
|
|
8
|
-
Content: typeof DialogContent;
|
|
9
|
-
}
|
|
10
|
-
export declare const Dialog: DialogProps;
|
|
11
|
-
export type { DialogProps };
|
|
12
|
-
export default Dialog;
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
|
-
import { ModalComponent, ModalComponentProps } from './modal';
|
|
3
|
-
import { ModalContent } from './modal-content';
|
|
4
|
-
import { ModalFooter } from './modal-footer';
|
|
5
|
-
interface ModalProps extends React.ForwardRefExoticComponent<ModalComponentProps> {
|
|
6
|
-
Component: typeof ModalComponent;
|
|
7
|
-
Content: typeof ModalContent;
|
|
8
|
-
Footer: typeof ModalFooter;
|
|
9
|
-
}
|
|
10
|
-
declare const Modal: ModalProps;
|
|
11
|
-
export { Modal };
|
|
12
|
-
export type { ModalProps };
|
|
13
|
-
export default Modal;
|
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
import { DefaultProps } from '@sk-web-gui/utils';
|
|
2
|
-
import React from 'react';
|
|
3
|
-
export declare const ModalContent: React.ForwardRefExoticComponent<Omit<Omit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & {
|
|
4
|
-
ref?: ((instance: HTMLDivElement | null) => void) | React.RefObject<HTMLDivElement> | null | undefined;
|
|
5
|
-
} & DefaultProps, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
import { DefaultProps } from '@sk-web-gui/utils';
|
|
2
|
-
import React from 'react';
|
|
3
|
-
export declare const ModalFooter: React.ForwardRefExoticComponent<Omit<Omit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & {
|
|
4
|
-
ref?: ((instance: HTMLDivElement | null) => void) | React.RefObject<HTMLDivElement> | null | undefined;
|
|
5
|
-
} & DefaultProps, "ref"> & React.RefAttributes<HTMLDivElement>>;
|