@dfds-ui/experiences 2.2.0-alpha.98e68873 → 2.2.0-alpha.9bb1ab0f
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/cjs/dynamic-table/Body/TableBody.types.d.ts +1 -1
- package/cjs/dynamic-table/Body/TableCell.styles.d.ts +5 -5
- package/cjs/dynamic-table/Body/TableCell.types.d.ts +1 -1
- package/cjs/dynamic-table/Body/TableRow.styles.d.ts +4 -4
- package/cjs/dynamic-table/Body/TableRow.types.d.ts +2 -2
- package/cjs/dynamic-table/Body/TableRowGroup.types.d.ts +2 -2
- package/cjs/dynamic-table/DynamicTable.styles.d.ts +3 -3
- package/cjs/dynamic-table/DynamicTable.types.d.ts +4 -4
- package/cjs/dynamic-table/Head/TableHead.styles.d.ts +4 -4
- package/cjs/dynamic-table/Head/TableHead.types.d.ts +5 -5
- package/cjs/dynamic-table/Skeleton/SkeletonTable.styles.d.ts +1 -1
- package/cjs/footer/Footer.d.ts +1 -1
- package/cjs/footer/FooterColumn.d.ts +1 -1
- package/cjs/footer/FooterColumnItem.d.ts +1 -1
- package/cjs/footer/FooterMetaLink.d.ts +1 -1
- package/cjs/internet-explorer-modal/IEModal.d.ts +1 -1
- package/cjs/locale-selector/LocaleOption.d.ts +1 -1
- package/cjs/locale-selector/LocaleSelector.d.ts +6 -6
- package/cjs/swiper/Swiper.d.ts +1 -1
- package/cjs/swiper/SwiperCard.d.ts +1 -1
- package/dynamic-table/Body/TableBody.types.d.ts +1 -1
- package/dynamic-table/Body/TableCell.styles.d.ts +5 -5
- package/dynamic-table/Body/TableCell.types.d.ts +1 -1
- package/dynamic-table/Body/TableRow.styles.d.ts +4 -4
- package/dynamic-table/Body/TableRow.types.d.ts +2 -2
- package/dynamic-table/Body/TableRowGroup.types.d.ts +2 -2
- package/dynamic-table/DynamicTable.styles.d.ts +3 -3
- package/dynamic-table/DynamicTable.types.d.ts +4 -4
- package/dynamic-table/Head/TableHead.styles.d.ts +4 -4
- package/dynamic-table/Head/TableHead.types.d.ts +5 -5
- package/dynamic-table/Skeleton/SkeletonTable.styles.d.ts +1 -1
- package/footer/Footer.d.ts +1 -1
- package/footer/FooterColumn.d.ts +1 -1
- package/footer/FooterColumnItem.d.ts +1 -1
- package/footer/FooterMetaLink.d.ts +1 -1
- package/internet-explorer-modal/IEModal.d.ts +1 -1
- package/locale-selector/LocaleOption.d.ts +1 -1
- package/locale-selector/LocaleSelector.d.ts +6 -6
- package/package.json +11 -11
- package/swiper/Swiper.d.ts +1 -1
- package/swiper/SwiperCard.d.ts +1 -1
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
export declare const genericTableCellStyles: import("@emotion/
|
|
2
|
-
|
|
1
|
+
export declare const genericTableCellStyles: import("@emotion/utils").SerializedStyles;
|
|
2
|
+
type TableCellProps = {
|
|
3
3
|
align?: 'center' | 'left' | 'right';
|
|
4
4
|
customWidth?: string;
|
|
5
5
|
};
|
|
6
|
-
export declare const tableCellStyles: ({ align, customWidth }: TableCellProps) => import("@emotion/
|
|
7
|
-
export declare const tableCellExpanderStyles: (isExpandable: boolean) => import("@emotion/
|
|
8
|
-
export declare const tableCellCheckboxStyles: import("@emotion/
|
|
6
|
+
export declare const tableCellStyles: ({ align, customWidth }: TableCellProps) => import("@emotion/utils").SerializedStyles;
|
|
7
|
+
export declare const tableCellExpanderStyles: (isExpandable: boolean) => import("@emotion/utils").SerializedStyles;
|
|
8
|
+
export declare const tableCellCheckboxStyles: import("@emotion/utils").SerializedStyles;
|
|
9
9
|
export {};
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { ChevronProps } from './TableRow.types';
|
|
2
|
-
export declare const genericTableRowStyles: import("@emotion/
|
|
3
|
-
|
|
2
|
+
export declare const genericTableRowStyles: import("@emotion/utils").SerializedStyles;
|
|
3
|
+
type TableRowProps = {
|
|
4
4
|
active?: boolean;
|
|
5
5
|
expanded: boolean;
|
|
6
6
|
hoverColor: boolean;
|
|
7
7
|
subRow: boolean;
|
|
8
8
|
};
|
|
9
|
-
export declare const tableRowStyles: ({ active, expanded, hoverColor, subRow }: TableRowProps) => import("@emotion/
|
|
10
|
-
export declare const chevronStyles: ({ expanded }: ChevronProps) => import("@emotion/
|
|
9
|
+
export declare const tableRowStyles: ({ active, expanded, hoverColor, subRow }: TableRowProps) => import("@emotion/utils").SerializedStyles;
|
|
10
|
+
export declare const chevronStyles: ({ expanded }: ChevronProps) => import("@emotion/utils").SerializedStyles;
|
|
11
11
|
export {};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { Header, Row } from '../DynamicTable.types';
|
|
2
|
-
export
|
|
2
|
+
export type TableRowProps = {
|
|
3
3
|
expandable?: boolean;
|
|
4
4
|
headerRow: Header[];
|
|
5
5
|
isActive: boolean;
|
|
@@ -13,6 +13,6 @@ export declare type TableRowProps = {
|
|
|
13
13
|
setIsExpanded: React.Dispatch<React.SetStateAction<boolean>>;
|
|
14
14
|
showExpander?: boolean;
|
|
15
15
|
};
|
|
16
|
-
export
|
|
16
|
+
export type ChevronProps = {
|
|
17
17
|
expanded: boolean;
|
|
18
18
|
};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { Header, Row } from '../DynamicTable.types';
|
|
2
|
-
export
|
|
2
|
+
export type TableRowGroupProps = {
|
|
3
3
|
activeRow?: string;
|
|
4
4
|
expandable?: boolean;
|
|
5
5
|
headerRow: Header[];
|
|
@@ -9,6 +9,6 @@ export declare type TableRowGroupProps = {
|
|
|
9
9
|
selectableRows: boolean;
|
|
10
10
|
selectedRows: string[];
|
|
11
11
|
};
|
|
12
|
-
export
|
|
12
|
+
export type ChevronProps = {
|
|
13
13
|
expanded: boolean;
|
|
14
14
|
};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
|
|
1
|
+
type TableWrapperProps = {
|
|
2
2
|
height?: string;
|
|
3
3
|
};
|
|
4
|
-
export declare const tableWrapperStyles: ({ height }: TableWrapperProps) => import("@emotion/
|
|
5
|
-
export declare const tableStyles: import("@emotion/
|
|
4
|
+
export declare const tableWrapperStyles: ({ height }: TableWrapperProps) => import("@emotion/utils").SerializedStyles;
|
|
5
|
+
export declare const tableStyles: import("@emotion/utils").SerializedStyles;
|
|
6
6
|
export {};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
export
|
|
2
|
+
export type Header = {
|
|
3
3
|
displayName: string | React.ReactElement;
|
|
4
4
|
key: string;
|
|
5
5
|
sortKey?: string;
|
|
@@ -7,18 +7,18 @@ export declare type Header = {
|
|
|
7
7
|
textAlign?: 'center' | 'left' | 'right';
|
|
8
8
|
width?: string;
|
|
9
9
|
};
|
|
10
|
-
export
|
|
10
|
+
export type SubRow = {
|
|
11
11
|
className?: string;
|
|
12
12
|
id?: string;
|
|
13
13
|
[name: string]: any;
|
|
14
14
|
};
|
|
15
|
-
export
|
|
15
|
+
export type Row = {
|
|
16
16
|
className?: string;
|
|
17
17
|
id?: string;
|
|
18
18
|
subRows?: SubRow[];
|
|
19
19
|
[name: string]: any;
|
|
20
20
|
};
|
|
21
|
-
export
|
|
21
|
+
export type DynamicTableProps = {
|
|
22
22
|
activeRow?: string;
|
|
23
23
|
descending?: boolean;
|
|
24
24
|
expandable?: boolean;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { ChevronProps, TableHeadCellCExpanderProps, TableHeadCellCheckboxProps, TableHeadCellProps } from './TableHead.types';
|
|
2
|
-
export declare const tableHeadCellStyles: ({ align, customWidth, sortable, sortByKey, stickyHeader, }: TableHeadCellProps) => import("@emotion/
|
|
3
|
-
export declare const tableHeadCellExpanderStyles: ({ stickyHeader }: TableHeadCellCExpanderProps) => import("@emotion/
|
|
4
|
-
export declare const tableHeadCellCheckboxStyles: ({ stickyHeader }: TableHeadCellCheckboxProps) => import("@emotion/
|
|
5
|
-
export declare const chevronStyles: ({ descending, show }: ChevronProps) => import("@emotion/
|
|
2
|
+
export declare const tableHeadCellStyles: ({ align, customWidth, sortable, sortByKey, stickyHeader, }: TableHeadCellProps) => import("@emotion/utils").SerializedStyles;
|
|
3
|
+
export declare const tableHeadCellExpanderStyles: ({ stickyHeader }: TableHeadCellCExpanderProps) => import("@emotion/utils").SerializedStyles;
|
|
4
|
+
export declare const tableHeadCellCheckboxStyles: ({ stickyHeader }: TableHeadCellCheckboxProps) => import("@emotion/utils").SerializedStyles;
|
|
5
|
+
export declare const chevronStyles: ({ descending, show }: ChevronProps) => import("@emotion/utils").SerializedStyles;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { Header, Row } from '../DynamicTable.types';
|
|
2
|
-
export
|
|
2
|
+
export type TableHeadProps = {
|
|
3
3
|
expandable?: boolean;
|
|
4
4
|
headerRow: Header[];
|
|
5
5
|
onSelectRow?: (list: string[]) => void;
|
|
@@ -13,7 +13,7 @@ export declare type TableHeadProps = {
|
|
|
13
13
|
sortByKeyValue: string;
|
|
14
14
|
stickyHeader?: boolean;
|
|
15
15
|
};
|
|
16
|
-
export
|
|
16
|
+
export type GenericTableHeadCellProps = {
|
|
17
17
|
sortable?: boolean;
|
|
18
18
|
sortByKey?: (value: string, sortDescending: boolean) => void;
|
|
19
19
|
stickyHeader?: boolean;
|
|
@@ -24,13 +24,13 @@ export interface TableHeadCellProps extends GenericTableHeadCellProps {
|
|
|
24
24
|
sortByKey?: (value: string, sortDescending: boolean) => void;
|
|
25
25
|
stickyHeader?: boolean;
|
|
26
26
|
}
|
|
27
|
-
export
|
|
27
|
+
export type TableHeadCellCExpanderProps = {
|
|
28
28
|
stickyHeader?: boolean;
|
|
29
29
|
};
|
|
30
|
-
export
|
|
30
|
+
export type TableHeadCellCheckboxProps = {
|
|
31
31
|
stickyHeader?: boolean;
|
|
32
32
|
};
|
|
33
|
-
export
|
|
33
|
+
export type ChevronProps = {
|
|
34
34
|
descending: string;
|
|
35
35
|
show: string;
|
|
36
36
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const fadeStyles: import("@emotion/
|
|
1
|
+
export declare const fadeStyles: import("@emotion/utils").SerializedStyles;
|
package/cjs/footer/Footer.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import { FooterMetaLinkProps } from './FooterMetaLink';
|
|
3
3
|
import { FooterColumnProps } from './FooterColumn';
|
|
4
|
-
export
|
|
4
|
+
export type FooterProps = {
|
|
5
5
|
/**
|
|
6
6
|
* Content to be displayed above footer columns
|
|
7
7
|
*/
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { FC, ReactElement, ReactNode } from 'react';
|
|
2
2
|
import { FooterColumnItemProps } from './FooterColumnItem';
|
|
3
|
-
export
|
|
3
|
+
export type FooterColumnProps = {
|
|
4
4
|
children: ReactElement<FooterColumnItemProps> | ReactElement<FooterColumnItemProps>[];
|
|
5
5
|
/**
|
|
6
6
|
* Column title
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { FC } from 'react';
|
|
2
2
|
import { LinkButtonProps } from '@dfds-ui/react-components';
|
|
3
|
-
export
|
|
3
|
+
export type FooterColumnItemProps = {
|
|
4
4
|
className?: string;
|
|
5
5
|
} & LinkButtonProps;
|
|
6
6
|
export declare const FooterColumnItem: FC<FooterColumnItemProps>;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { FC } from 'react';
|
|
2
2
|
import { LinkButtonProps } from '@dfds-ui/react-components';
|
|
3
|
-
export
|
|
3
|
+
export type FooterMetaLinkProps = {
|
|
4
4
|
className?: string;
|
|
5
5
|
} & LinkButtonProps;
|
|
6
6
|
export declare const FooterMetaLink: FC<FooterMetaLinkProps>;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import React, { PropsWithChildren } from 'react';
|
|
2
2
|
import { Locale } from '@dfds-ui/react-components';
|
|
3
3
|
import { ModalProps } from '@dfds-ui/modal';
|
|
4
|
-
export
|
|
4
|
+
export type LocaleSelectorProps = PropsWithChildren<{
|
|
5
5
|
/**
|
|
6
6
|
* Provide limited set of locales to choose from
|
|
7
7
|
*/
|
|
@@ -31,12 +31,12 @@ export declare const LocaleSelector: React.ForwardRefExoticComponent<{
|
|
|
31
31
|
/**
|
|
32
32
|
* Provide limited set of locales to choose from
|
|
33
33
|
*/
|
|
34
|
-
locales?:
|
|
34
|
+
locales?: ReadonlyArray<Locale>;
|
|
35
35
|
/**
|
|
36
36
|
* Text to display on button that open the selector as
|
|
37
37
|
* well as in the heading of the selector
|
|
38
38
|
*/
|
|
39
|
-
label?: string
|
|
39
|
+
label?: string;
|
|
40
40
|
/**
|
|
41
41
|
* Current locale of the application
|
|
42
42
|
*/
|
|
@@ -44,12 +44,12 @@ export declare const LocaleSelector: React.ForwardRefExoticComponent<{
|
|
|
44
44
|
/** Callback function that fires with locale as an argument */
|
|
45
45
|
onChange: (locale: Locale) => void;
|
|
46
46
|
/** Disabled visual appearance and interaction disabled. */
|
|
47
|
-
disabled?: boolean
|
|
47
|
+
disabled?: boolean;
|
|
48
48
|
/**
|
|
49
49
|
* className to be assigned to component.
|
|
50
50
|
*/
|
|
51
|
-
className?: string
|
|
51
|
+
className?: string;
|
|
52
52
|
} & Pick<ModalProps, "renderWhenClosed"> & {
|
|
53
|
-
children?: React.ReactNode;
|
|
53
|
+
children?: React.ReactNode | undefined;
|
|
54
54
|
} & React.RefAttributes<unknown>>;
|
|
55
55
|
export default LocaleSelector;
|
package/cjs/swiper/Swiper.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
export
|
|
2
|
+
export type SwiperCardProps = React.PropsWithChildren<{
|
|
3
3
|
className?: string;
|
|
4
4
|
}>;
|
|
5
5
|
export declare const SwiperCard: ({ className, children }: SwiperCardProps) => React.JSX.Element;
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
export declare const genericTableCellStyles: import("@emotion/
|
|
2
|
-
|
|
1
|
+
export declare const genericTableCellStyles: import("@emotion/utils").SerializedStyles;
|
|
2
|
+
type TableCellProps = {
|
|
3
3
|
align?: 'center' | 'left' | 'right';
|
|
4
4
|
customWidth?: string;
|
|
5
5
|
};
|
|
6
|
-
export declare const tableCellStyles: ({ align, customWidth }: TableCellProps) => import("@emotion/
|
|
7
|
-
export declare const tableCellExpanderStyles: (isExpandable: boolean) => import("@emotion/
|
|
8
|
-
export declare const tableCellCheckboxStyles: import("@emotion/
|
|
6
|
+
export declare const tableCellStyles: ({ align, customWidth }: TableCellProps) => import("@emotion/utils").SerializedStyles;
|
|
7
|
+
export declare const tableCellExpanderStyles: (isExpandable: boolean) => import("@emotion/utils").SerializedStyles;
|
|
8
|
+
export declare const tableCellCheckboxStyles: import("@emotion/utils").SerializedStyles;
|
|
9
9
|
export {};
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { ChevronProps } from './TableRow.types';
|
|
2
|
-
export declare const genericTableRowStyles: import("@emotion/
|
|
3
|
-
|
|
2
|
+
export declare const genericTableRowStyles: import("@emotion/utils").SerializedStyles;
|
|
3
|
+
type TableRowProps = {
|
|
4
4
|
active?: boolean;
|
|
5
5
|
expanded: boolean;
|
|
6
6
|
hoverColor: boolean;
|
|
7
7
|
subRow: boolean;
|
|
8
8
|
};
|
|
9
|
-
export declare const tableRowStyles: ({ active, expanded, hoverColor, subRow }: TableRowProps) => import("@emotion/
|
|
10
|
-
export declare const chevronStyles: ({ expanded }: ChevronProps) => import("@emotion/
|
|
9
|
+
export declare const tableRowStyles: ({ active, expanded, hoverColor, subRow }: TableRowProps) => import("@emotion/utils").SerializedStyles;
|
|
10
|
+
export declare const chevronStyles: ({ expanded }: ChevronProps) => import("@emotion/utils").SerializedStyles;
|
|
11
11
|
export {};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { Header, Row } from '../DynamicTable.types';
|
|
2
|
-
export
|
|
2
|
+
export type TableRowProps = {
|
|
3
3
|
expandable?: boolean;
|
|
4
4
|
headerRow: Header[];
|
|
5
5
|
isActive: boolean;
|
|
@@ -13,6 +13,6 @@ export declare type TableRowProps = {
|
|
|
13
13
|
setIsExpanded: React.Dispatch<React.SetStateAction<boolean>>;
|
|
14
14
|
showExpander?: boolean;
|
|
15
15
|
};
|
|
16
|
-
export
|
|
16
|
+
export type ChevronProps = {
|
|
17
17
|
expanded: boolean;
|
|
18
18
|
};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { Header, Row } from '../DynamicTable.types';
|
|
2
|
-
export
|
|
2
|
+
export type TableRowGroupProps = {
|
|
3
3
|
activeRow?: string;
|
|
4
4
|
expandable?: boolean;
|
|
5
5
|
headerRow: Header[];
|
|
@@ -9,6 +9,6 @@ export declare type TableRowGroupProps = {
|
|
|
9
9
|
selectableRows: boolean;
|
|
10
10
|
selectedRows: string[];
|
|
11
11
|
};
|
|
12
|
-
export
|
|
12
|
+
export type ChevronProps = {
|
|
13
13
|
expanded: boolean;
|
|
14
14
|
};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
|
|
1
|
+
type TableWrapperProps = {
|
|
2
2
|
height?: string;
|
|
3
3
|
};
|
|
4
|
-
export declare const tableWrapperStyles: ({ height }: TableWrapperProps) => import("@emotion/
|
|
5
|
-
export declare const tableStyles: import("@emotion/
|
|
4
|
+
export declare const tableWrapperStyles: ({ height }: TableWrapperProps) => import("@emotion/utils").SerializedStyles;
|
|
5
|
+
export declare const tableStyles: import("@emotion/utils").SerializedStyles;
|
|
6
6
|
export {};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
export
|
|
2
|
+
export type Header = {
|
|
3
3
|
displayName: string | React.ReactElement;
|
|
4
4
|
key: string;
|
|
5
5
|
sortKey?: string;
|
|
@@ -7,18 +7,18 @@ export declare type Header = {
|
|
|
7
7
|
textAlign?: 'center' | 'left' | 'right';
|
|
8
8
|
width?: string;
|
|
9
9
|
};
|
|
10
|
-
export
|
|
10
|
+
export type SubRow = {
|
|
11
11
|
className?: string;
|
|
12
12
|
id?: string;
|
|
13
13
|
[name: string]: any;
|
|
14
14
|
};
|
|
15
|
-
export
|
|
15
|
+
export type Row = {
|
|
16
16
|
className?: string;
|
|
17
17
|
id?: string;
|
|
18
18
|
subRows?: SubRow[];
|
|
19
19
|
[name: string]: any;
|
|
20
20
|
};
|
|
21
|
-
export
|
|
21
|
+
export type DynamicTableProps = {
|
|
22
22
|
activeRow?: string;
|
|
23
23
|
descending?: boolean;
|
|
24
24
|
expandable?: boolean;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { ChevronProps, TableHeadCellCExpanderProps, TableHeadCellCheckboxProps, TableHeadCellProps } from './TableHead.types';
|
|
2
|
-
export declare const tableHeadCellStyles: ({ align, customWidth, sortable, sortByKey, stickyHeader, }: TableHeadCellProps) => import("@emotion/
|
|
3
|
-
export declare const tableHeadCellExpanderStyles: ({ stickyHeader }: TableHeadCellCExpanderProps) => import("@emotion/
|
|
4
|
-
export declare const tableHeadCellCheckboxStyles: ({ stickyHeader }: TableHeadCellCheckboxProps) => import("@emotion/
|
|
5
|
-
export declare const chevronStyles: ({ descending, show }: ChevronProps) => import("@emotion/
|
|
2
|
+
export declare const tableHeadCellStyles: ({ align, customWidth, sortable, sortByKey, stickyHeader, }: TableHeadCellProps) => import("@emotion/utils").SerializedStyles;
|
|
3
|
+
export declare const tableHeadCellExpanderStyles: ({ stickyHeader }: TableHeadCellCExpanderProps) => import("@emotion/utils").SerializedStyles;
|
|
4
|
+
export declare const tableHeadCellCheckboxStyles: ({ stickyHeader }: TableHeadCellCheckboxProps) => import("@emotion/utils").SerializedStyles;
|
|
5
|
+
export declare const chevronStyles: ({ descending, show }: ChevronProps) => import("@emotion/utils").SerializedStyles;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { Header, Row } from '../DynamicTable.types';
|
|
2
|
-
export
|
|
2
|
+
export type TableHeadProps = {
|
|
3
3
|
expandable?: boolean;
|
|
4
4
|
headerRow: Header[];
|
|
5
5
|
onSelectRow?: (list: string[]) => void;
|
|
@@ -13,7 +13,7 @@ export declare type TableHeadProps = {
|
|
|
13
13
|
sortByKeyValue: string;
|
|
14
14
|
stickyHeader?: boolean;
|
|
15
15
|
};
|
|
16
|
-
export
|
|
16
|
+
export type GenericTableHeadCellProps = {
|
|
17
17
|
sortable?: boolean;
|
|
18
18
|
sortByKey?: (value: string, sortDescending: boolean) => void;
|
|
19
19
|
stickyHeader?: boolean;
|
|
@@ -24,13 +24,13 @@ export interface TableHeadCellProps extends GenericTableHeadCellProps {
|
|
|
24
24
|
sortByKey?: (value: string, sortDescending: boolean) => void;
|
|
25
25
|
stickyHeader?: boolean;
|
|
26
26
|
}
|
|
27
|
-
export
|
|
27
|
+
export type TableHeadCellCExpanderProps = {
|
|
28
28
|
stickyHeader?: boolean;
|
|
29
29
|
};
|
|
30
|
-
export
|
|
30
|
+
export type TableHeadCellCheckboxProps = {
|
|
31
31
|
stickyHeader?: boolean;
|
|
32
32
|
};
|
|
33
|
-
export
|
|
33
|
+
export type ChevronProps = {
|
|
34
34
|
descending: string;
|
|
35
35
|
show: string;
|
|
36
36
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const fadeStyles: import("@emotion/
|
|
1
|
+
export declare const fadeStyles: import("@emotion/utils").SerializedStyles;
|
package/footer/Footer.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import { FooterMetaLinkProps } from './FooterMetaLink';
|
|
3
3
|
import { FooterColumnProps } from './FooterColumn';
|
|
4
|
-
export
|
|
4
|
+
export type FooterProps = {
|
|
5
5
|
/**
|
|
6
6
|
* Content to be displayed above footer columns
|
|
7
7
|
*/
|
package/footer/FooterColumn.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { FC, ReactElement, ReactNode } from 'react';
|
|
2
2
|
import { FooterColumnItemProps } from './FooterColumnItem';
|
|
3
|
-
export
|
|
3
|
+
export type FooterColumnProps = {
|
|
4
4
|
children: ReactElement<FooterColumnItemProps> | ReactElement<FooterColumnItemProps>[];
|
|
5
5
|
/**
|
|
6
6
|
* Column title
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { FC } from 'react';
|
|
2
2
|
import { LinkButtonProps } from '@dfds-ui/react-components';
|
|
3
|
-
export
|
|
3
|
+
export type FooterColumnItemProps = {
|
|
4
4
|
className?: string;
|
|
5
5
|
} & LinkButtonProps;
|
|
6
6
|
export declare const FooterColumnItem: FC<FooterColumnItemProps>;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { FC } from 'react';
|
|
2
2
|
import { LinkButtonProps } from '@dfds-ui/react-components';
|
|
3
|
-
export
|
|
3
|
+
export type FooterMetaLinkProps = {
|
|
4
4
|
className?: string;
|
|
5
5
|
} & LinkButtonProps;
|
|
6
6
|
export declare const FooterMetaLink: FC<FooterMetaLinkProps>;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import React, { PropsWithChildren } from 'react';
|
|
2
2
|
import { Locale } from '@dfds-ui/react-components';
|
|
3
3
|
import { ModalProps } from '@dfds-ui/modal';
|
|
4
|
-
export
|
|
4
|
+
export type LocaleSelectorProps = PropsWithChildren<{
|
|
5
5
|
/**
|
|
6
6
|
* Provide limited set of locales to choose from
|
|
7
7
|
*/
|
|
@@ -31,12 +31,12 @@ export declare const LocaleSelector: React.ForwardRefExoticComponent<{
|
|
|
31
31
|
/**
|
|
32
32
|
* Provide limited set of locales to choose from
|
|
33
33
|
*/
|
|
34
|
-
locales?:
|
|
34
|
+
locales?: ReadonlyArray<Locale>;
|
|
35
35
|
/**
|
|
36
36
|
* Text to display on button that open the selector as
|
|
37
37
|
* well as in the heading of the selector
|
|
38
38
|
*/
|
|
39
|
-
label?: string
|
|
39
|
+
label?: string;
|
|
40
40
|
/**
|
|
41
41
|
* Current locale of the application
|
|
42
42
|
*/
|
|
@@ -44,12 +44,12 @@ export declare const LocaleSelector: React.ForwardRefExoticComponent<{
|
|
|
44
44
|
/** Callback function that fires with locale as an argument */
|
|
45
45
|
onChange: (locale: Locale) => void;
|
|
46
46
|
/** Disabled visual appearance and interaction disabled. */
|
|
47
|
-
disabled?: boolean
|
|
47
|
+
disabled?: boolean;
|
|
48
48
|
/**
|
|
49
49
|
* className to be assigned to component.
|
|
50
50
|
*/
|
|
51
|
-
className?: string
|
|
51
|
+
className?: string;
|
|
52
52
|
} & Pick<ModalProps, "renderWhenClosed"> & {
|
|
53
|
-
children?: React.ReactNode;
|
|
53
|
+
children?: React.ReactNode | undefined;
|
|
54
54
|
} & React.RefAttributes<unknown>>;
|
|
55
55
|
export default LocaleSelector;
|
package/package.json
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
"description": "React components for building experiences",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"private": false,
|
|
6
|
-
"version": "2.2.0-alpha.
|
|
6
|
+
"version": "2.2.0-alpha.9bb1ab0f",
|
|
7
7
|
"sideEffects": false,
|
|
8
8
|
"main": "./cjs/index.js",
|
|
9
9
|
"module": "./index.js",
|
|
@@ -11,21 +11,21 @@
|
|
|
11
11
|
"typings": "./index.d.ts",
|
|
12
12
|
"peerDependencies": {
|
|
13
13
|
"@emotion/react": "11.14.0",
|
|
14
|
-
"@emotion/styled": "11.14.
|
|
14
|
+
"@emotion/styled": "11.14.1",
|
|
15
15
|
"react": ">= 18.3.1",
|
|
16
16
|
"react-dom": ">= 18.3.1"
|
|
17
17
|
},
|
|
18
18
|
"dependencies": {
|
|
19
|
-
"@dfds-ui/colors": "2.2.0-alpha.
|
|
20
|
-
"@dfds-ui/forms": "2.2.0-alpha.
|
|
21
|
-
"@dfds-ui/grid": "2.2.0-alpha.
|
|
22
|
-
"@dfds-ui/icons": "2.2.0-alpha.
|
|
23
|
-
"@dfds-ui/modal": "2.2.0-alpha.
|
|
24
|
-
"@dfds-ui/react-components": "2.2.0-alpha.
|
|
25
|
-
"@dfds-ui/theme": "2.2.0-alpha.
|
|
26
|
-
"@dfds-ui/typography": "2.2.0-alpha.
|
|
19
|
+
"@dfds-ui/colors": "2.2.0-alpha.9bb1ab0f",
|
|
20
|
+
"@dfds-ui/forms": "2.2.0-alpha.9bb1ab0f",
|
|
21
|
+
"@dfds-ui/grid": "2.2.0-alpha.9bb1ab0f",
|
|
22
|
+
"@dfds-ui/icons": "2.2.0-alpha.9bb1ab0f",
|
|
23
|
+
"@dfds-ui/modal": "2.2.0-alpha.9bb1ab0f",
|
|
24
|
+
"@dfds-ui/react-components": "2.2.0-alpha.9bb1ab0f",
|
|
25
|
+
"@dfds-ui/theme": "2.2.0-alpha.9bb1ab0f",
|
|
26
|
+
"@dfds-ui/typography": "2.2.0-alpha.9bb1ab0f"
|
|
27
27
|
},
|
|
28
|
-
"gitHead": "
|
|
28
|
+
"gitHead": "9bb1ab0fca74964da6edd580e53f175a223b4f49",
|
|
29
29
|
"publishConfig": {
|
|
30
30
|
"access": "public"
|
|
31
31
|
}
|
package/swiper/Swiper.d.ts
CHANGED
package/swiper/SwiperCard.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
export
|
|
2
|
+
export type SwiperCardProps = React.PropsWithChildren<{
|
|
3
3
|
className?: string;
|
|
4
4
|
}>;
|
|
5
5
|
export declare const SwiperCard: ({ className, children }: SwiperCardProps) => React.JSX.Element;
|