@reapit/elements 3.8.8 → 3.9.3
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/assets/system-icons/videoSystem.svg +3 -0
- package/dist/cjs/components/icon/icons/index.d.ts +1 -0
- package/dist/cjs/components/icon/icons/system-icons/videoSystem.d.ts +3 -0
- package/dist/cjs/components/nav/__styles__/index.d.ts +1 -1
- package/dist/cjs/components/nav/use-nav.stories.d.ts +1 -0
- package/dist/cjs/components/pagination/__styles__/index.d.ts +3 -0
- package/dist/cjs/components/pagination/pagination.d.ts +7 -2
- package/dist/cjs/components/table/__styles__/index.d.ts +3 -0
- package/dist/cjs/components/table/molecules.d.ts +4 -0
- package/dist/cjs/components/table/table.d.ts +2 -0
- package/dist/cjs/index.js +1 -1
- package/dist/cjs/index.js.map +1 -1
- package/dist/esm/components/icon/icons/index.d.ts +1 -0
- package/dist/esm/components/icon/icons/system-icons/videoSystem.d.ts +3 -0
- package/dist/esm/components/nav/__styles__/index.d.ts +1 -1
- package/dist/esm/components/nav/use-nav.stories.d.ts +1 -0
- package/dist/esm/components/pagination/__styles__/index.d.ts +3 -0
- package/dist/esm/components/pagination/pagination.d.ts +7 -2
- package/dist/esm/components/table/__styles__/index.d.ts +3 -0
- package/dist/esm/components/table/molecules.d.ts +4 -0
- package/dist/esm/components/table/table.d.ts +2 -0
- package/dist/esm/index.js +1 -1
- package/dist/esm/index.js.map +1 -1
- package/dist/index.css +149 -147
- package/package.json +12 -10
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
<svg width="1em" height="1em" viewBox="0 0 20 16" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
2
|
+
<path d="M2.82051 0C1.25797 0 0 1.31414 0 2.94643V12.0536C0 13.6859 1.25797 15 2.82051 15H17.1795C18.742 15 20 13.6859 20 12.0536V2.94643C20 1.31414 18.742 0 17.1795 0H2.82051ZM8.20513 5.21825C8.20513 4.68208 8.78322 4.34497 9.24986 4.60902L13.2823 6.89077C13.756 7.15881 13.756 7.84119 13.2823 8.10923L9.24986 10.391C8.78322 10.655 8.20513 10.3179 8.20513 9.78175V5.21825Z" fill="currentColor"/>
|
|
3
|
+
</svg>
|
|
@@ -153,4 +153,5 @@ export declare const iconSet: {
|
|
|
153
153
|
shieldInfographic: import("react").MemoExoticComponent<() => JSX.Element>;
|
|
154
154
|
webInfographic: import("react").MemoExoticComponent<() => JSX.Element>;
|
|
155
155
|
supportMenu: import("react").MemoExoticComponent<() => JSX.Element>;
|
|
156
|
+
videoSystem: import("react").MemoExoticComponent<() => JSX.Element>;
|
|
156
157
|
};
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
|
-
export declare const elNavIsDesktop: import("@linaria/core").LinariaClassName;
|
|
3
2
|
export declare const ElNavContainer: import("@linaria/core").StyledMeta & import("react").FunctionComponent<import("react").ClassAttributes<HTMLElement> & import("react").HTMLAttributes<HTMLElement> & {
|
|
4
3
|
as?: import("react").ElementType<any> | undefined;
|
|
5
4
|
}>;
|
|
@@ -19,3 +18,4 @@ export declare const ElNavSubItem: import("@linaria/core").StyledMeta & import("
|
|
|
19
18
|
export declare const elNavSubItemExpanded: import("@linaria/core").LinariaClassName;
|
|
20
19
|
export declare const elNavSubItemActive: import("@linaria/core").LinariaClassName;
|
|
21
20
|
export declare const elNavItemSecondary: import("@linaria/core").LinariaClassName;
|
|
21
|
+
export declare const elNavIsDesktop: import("@linaria/core").LinariaClassName;
|
|
@@ -5,6 +5,9 @@ export declare const ElPaginationWrap: import("@linaria/core").StyledMeta & impo
|
|
|
5
5
|
export declare const ElPaginationText: import("@linaria/core").StyledMeta & import("react").FunctionComponent<import("react").ClassAttributes<HTMLDivElement> & import("react").HTMLAttributes<HTMLDivElement> & {
|
|
6
6
|
as?: import("react").ElementType<any> | undefined;
|
|
7
7
|
}>;
|
|
8
|
+
export declare const ElPaginationInput: import("@linaria/core").StyledMeta & import("react").FunctionComponent<import("react").ClassAttributes<HTMLInputElement> & import("react").InputHTMLAttributes<HTMLInputElement> & {
|
|
9
|
+
as?: import("react").ElementType<any> | undefined;
|
|
10
|
+
}>;
|
|
8
11
|
export declare const ElPaginationButton: import("@linaria/core").StyledMeta & import("react").FunctionComponent<import("react").ClassAttributes<HTMLButtonElement> & import("react").ButtonHTMLAttributes<HTMLButtonElement> & {
|
|
9
12
|
as?: import("react").ElementType<any> | undefined;
|
|
10
13
|
}>;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { FC, HTMLAttributes } from 'react';
|
|
1
|
+
import { ChangeEvent, Dispatch, FC, HTMLAttributes, InputHTMLAttributes, SetStateAction } from 'react';
|
|
2
2
|
export interface PaginationProps extends HTMLAttributes<HTMLDivElement> {
|
|
3
3
|
callback: (nextPage: number) => void;
|
|
4
4
|
currentPage: number;
|
|
@@ -8,10 +8,15 @@ export interface PaginationWrapProps extends HTMLAttributes<HTMLDivElement> {
|
|
|
8
8
|
}
|
|
9
9
|
export interface PaginationTextProps extends HTMLAttributes<HTMLDivElement> {
|
|
10
10
|
}
|
|
11
|
+
export interface PaginationInputProps extends InputHTMLAttributes<HTMLInputElement> {
|
|
12
|
+
}
|
|
11
13
|
export interface PaginationButtonProps extends HTMLAttributes<HTMLButtonElement> {
|
|
12
14
|
}
|
|
13
|
-
export declare const handlePageChange: (nextPage: number | null, callback: (page: number) => void) => () => void;
|
|
15
|
+
export declare const handlePageChange: (nextPage: number | null, callback: (page: number) => void, setInputValue: Dispatch<SetStateAction<string>>) => () => void;
|
|
16
|
+
export declare const handlePageInputChange: (numberPages: number, currentPage: number, inputValue: string, callback: (page: number) => void) => () => void;
|
|
17
|
+
export declare const handlePageInput: (setInputValue: Dispatch<SetStateAction<string>>) => (event: ChangeEvent<HTMLInputElement>) => void;
|
|
14
18
|
export declare const PaginationWrap: FC<PaginationWrapProps>;
|
|
15
19
|
export declare const PaginationText: FC<PaginationTextProps>;
|
|
20
|
+
export declare const PaginationInput: FC<PaginationInputProps>;
|
|
16
21
|
export declare const PaginationButton: FC<PaginationButtonProps>;
|
|
17
22
|
export declare const Pagination: FC<PaginationProps>;
|
|
@@ -51,3 +51,6 @@ export declare const ElTableExpandableContainer: import("@linaria/core").StyledM
|
|
|
51
51
|
export declare const ElTable: import("@linaria/core").StyledMeta & import("react").FunctionComponent<import("react").ClassAttributes<HTMLDivElement> & import("react").HTMLAttributes<HTMLDivElement> & {
|
|
52
52
|
as?: import("react").ElementType<any> | undefined;
|
|
53
53
|
}>;
|
|
54
|
+
export declare const ElTableSortHeader: import("@linaria/core").StyledMeta & import("react").FunctionComponent<import("react").ClassAttributes<HTMLDivElement> & import("react").HTMLAttributes<HTMLDivElement> & {
|
|
55
|
+
as?: import("react").ElementType<any> | undefined;
|
|
56
|
+
}>;
|
|
@@ -23,6 +23,9 @@ export interface TableRowContainerProps extends HTMLAttributes<HTMLDivElement> {
|
|
|
23
23
|
export interface TableCtaTriggerCellProps extends HTMLAttributes<HTMLDivElement> {
|
|
24
24
|
icon?: IconNames;
|
|
25
25
|
}
|
|
26
|
+
export interface TableSortHeaderProps extends HTMLAttributes<HTMLDivElement> {
|
|
27
|
+
direction: 'up' | 'down';
|
|
28
|
+
}
|
|
26
29
|
export declare const resolveNarrowOrderClass: (order: number) => string | undefined;
|
|
27
30
|
export declare const TableHeadersRow: FC<HTMLAttributes<HTMLDivElement>>;
|
|
28
31
|
export declare const TableHeader: FC<HTMLAttributes<HTMLDivElement>>;
|
|
@@ -32,3 +35,4 @@ export declare const TableExpandableRowTriggerCell: FC<TableExpandableRowTrigger
|
|
|
32
35
|
export declare const TableCtaTriggerCell: FC<TableCtaTriggerCellProps>;
|
|
33
36
|
export declare const TableExpandableRow: FC<TableExpandableRowProps>;
|
|
34
37
|
export declare const TableRowContainer: FC<TableRowContainerProps>;
|
|
38
|
+
export declare const TableSortHeader: FC<TableSortHeaderProps>;
|