@dfds-ui/experiences 2.2.0-alpha.07a3a716 → 2.2.0-alpha.32eece3d
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.d.ts +1 -1
- package/cjs/dynamic-table/Body/TableCell.d.ts +1 -1
- package/cjs/dynamic-table/Body/TableRow.d.ts +1 -1
- package/cjs/dynamic-table/Body/TableRowGroup.d.ts +1 -1
- package/cjs/dynamic-table/Head/TableHead.d.ts +1 -1
- package/cjs/internet-explorer-modal/IEModal.d.ts +1 -1
- package/cjs/locale-selector/LocaleOption.d.ts +2 -2
- package/cjs/locale-selector/LocaleSelector.d.ts +3 -1
- package/cjs/swiper/Swiper.d.ts +1 -1
- package/cjs/swiper/SwiperCard.d.ts +1 -1
- package/dynamic-table/Body/TableBody.d.ts +1 -1
- package/dynamic-table/Body/TableCell.d.ts +1 -1
- package/dynamic-table/Body/TableRow.d.ts +1 -1
- package/dynamic-table/Body/TableRowGroup.d.ts +1 -1
- package/dynamic-table/Head/TableHead.d.ts +1 -1
- package/internet-explorer-modal/IEModal.d.ts +1 -1
- package/locale-selector/LocaleOption.d.ts +2 -2
- package/locale-selector/LocaleSelector.d.ts +3 -1
- package/package.json +12 -12
- package/swiper/Swiper.d.ts +1 -1
- package/swiper/SwiperCard.d.ts +1 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import { TableBodyProps } from './TableBody.types';
|
|
3
|
-
declare const TableBody: React.MemoExoticComponent<({ activeRow, expandable, headerRow, onClickRow, onSelectRow, rows, selectableRows, selectedRows, }: TableBodyProps) => JSX.Element>;
|
|
3
|
+
declare const TableBody: React.MemoExoticComponent<({ activeRow, expandable, headerRow, onClickRow, onSelectRow, rows, selectableRows, selectedRows, }: TableBodyProps) => React.JSX.Element>;
|
|
4
4
|
export default TableBody;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import { TableCellProps } from './TableCell.types';
|
|
3
|
-
declare const TableCell: React.MemoExoticComponent<({ children, headerCell }: TableCellProps) => JSX.Element>;
|
|
3
|
+
declare const TableCell: React.MemoExoticComponent<({ children, headerCell }: TableCellProps) => React.JSX.Element>;
|
|
4
4
|
export default TableCell;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import { TableRowProps } from './TableRow.types';
|
|
3
|
-
declare const TableRow: React.MemoExoticComponent<({ expandable, headerRow, isActive, isExpanded, isSubRow, onClickRow, onSelectRow, row, selectableRows, selectedRows, setIsExpanded, showExpander, }: TableRowProps) => JSX.Element>;
|
|
3
|
+
declare const TableRow: React.MemoExoticComponent<({ expandable, headerRow, isActive, isExpanded, isSubRow, onClickRow, onSelectRow, row, selectableRows, selectedRows, setIsExpanded, showExpander, }: TableRowProps) => React.JSX.Element>;
|
|
4
4
|
export default TableRow;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import { TableRowGroupProps } from './TableRowGroup.types';
|
|
3
|
-
declare const TableRowGroup: React.MemoExoticComponent<({ activeRow, expandable, headerRow, onClickRow, onSelectRow, row, selectableRows, selectedRows, }: TableRowGroupProps) => JSX.Element>;
|
|
3
|
+
declare const TableRowGroup: React.MemoExoticComponent<({ activeRow, expandable, headerRow, onClickRow, onSelectRow, row, selectableRows, selectedRows, }: TableRowGroupProps) => React.JSX.Element>;
|
|
4
4
|
export default TableRowGroup;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import { TableHeadProps } from './TableHead.types';
|
|
3
|
-
declare const TableHead: React.MemoExoticComponent<({ expandable, headerRow, onSelectRow, onSort, rows, selectableRows, selectedRows, setSortDescending, setSortByKeyValue, sortDescending, sortByKeyValue, stickyHeader, }: TableHeadProps) => JSX.Element>;
|
|
3
|
+
declare const TableHead: React.MemoExoticComponent<({ expandable, headerRow, onSelectRow, onSort, rows, selectableRows, selectedRows, setSortDescending, setSortByKeyValue, sortDescending, sortByKeyValue, stickyHeader, }: TableHeadProps) => React.JSX.Element>;
|
|
4
4
|
export default TableHead;
|
|
@@ -65,5 +65,5 @@ export declare type IEModalProps = React.PropsWithChildren<{
|
|
|
65
65
|
*/
|
|
66
66
|
onCompatibleBrowserDetected?: () => void;
|
|
67
67
|
}>;
|
|
68
|
-
export declare const IEModal: ({ heading, description, goToFrontPageText, openPageInEdgeText, headerClassName, noContentPadding, column, zIndex, sizes, canClose, closeTabIndex, onRequestClose, onCompatibleBrowserDetected, ...rest }: IEModalProps) => JSX.Element | null;
|
|
68
|
+
export declare const IEModal: ({ heading, description, goToFrontPageText, openPageInEdgeText, headerClassName, noContentPadding, column, zIndex, sizes, canClose, closeTabIndex, onRequestClose, onCompatibleBrowserDetected, ...rest }: IEModalProps) => React.JSX.Element | null;
|
|
69
69
|
export default IEModal;
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
|
|
1
|
+
import React from 'react';
|
|
2
2
|
import { Locale } from '@dfds-ui/react-components';
|
|
3
3
|
export declare type LocaleOptionProps = {
|
|
4
4
|
label: string;
|
|
5
5
|
locale: Locale;
|
|
6
6
|
onClick: () => void;
|
|
7
7
|
};
|
|
8
|
-
export declare const LocaleOption: ({ label, locale, onClick }: LocaleOptionProps) => JSX.Element;
|
|
8
|
+
export declare const LocaleOption: ({ label, locale, onClick }: LocaleOptionProps) => React.JSX.Element;
|
|
9
9
|
export default LocaleOption;
|
|
@@ -49,5 +49,7 @@ export declare const LocaleSelector: React.ForwardRefExoticComponent<{
|
|
|
49
49
|
* className to be assigned to component.
|
|
50
50
|
*/
|
|
51
51
|
className?: string | undefined;
|
|
52
|
-
} & Pick<ModalProps, "renderWhenClosed"> &
|
|
52
|
+
} & Pick<ModalProps, "renderWhenClosed"> & {
|
|
53
|
+
children?: React.ReactNode;
|
|
54
|
+
} & React.RefAttributes<unknown>>;
|
|
53
55
|
export default LocaleSelector;
|
package/cjs/swiper/Swiper.d.ts
CHANGED
|
@@ -2,4 +2,4 @@ import React from 'react';
|
|
|
2
2
|
export declare type SwiperProps = React.PropsWithChildren<{
|
|
3
3
|
className?: string;
|
|
4
4
|
}>;
|
|
5
|
-
export declare const Swiper: ({ className, children }: SwiperProps) => JSX.Element;
|
|
5
|
+
export declare const Swiper: ({ className, children }: SwiperProps) => React.JSX.Element;
|
|
@@ -2,4 +2,4 @@ import React from 'react';
|
|
|
2
2
|
export declare type SwiperCardProps = React.PropsWithChildren<{
|
|
3
3
|
className?: string;
|
|
4
4
|
}>;
|
|
5
|
-
export declare const SwiperCard: ({ className, children }: SwiperCardProps) => JSX.Element;
|
|
5
|
+
export declare const SwiperCard: ({ className, children }: SwiperCardProps) => React.JSX.Element;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import { TableBodyProps } from './TableBody.types';
|
|
3
|
-
declare const TableBody: React.MemoExoticComponent<({ activeRow, expandable, headerRow, onClickRow, onSelectRow, rows, selectableRows, selectedRows, }: TableBodyProps) => JSX.Element>;
|
|
3
|
+
declare const TableBody: React.MemoExoticComponent<({ activeRow, expandable, headerRow, onClickRow, onSelectRow, rows, selectableRows, selectedRows, }: TableBodyProps) => React.JSX.Element>;
|
|
4
4
|
export default TableBody;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import { TableCellProps } from './TableCell.types';
|
|
3
|
-
declare const TableCell: React.MemoExoticComponent<({ children, headerCell }: TableCellProps) => JSX.Element>;
|
|
3
|
+
declare const TableCell: React.MemoExoticComponent<({ children, headerCell }: TableCellProps) => React.JSX.Element>;
|
|
4
4
|
export default TableCell;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import { TableRowProps } from './TableRow.types';
|
|
3
|
-
declare const TableRow: React.MemoExoticComponent<({ expandable, headerRow, isActive, isExpanded, isSubRow, onClickRow, onSelectRow, row, selectableRows, selectedRows, setIsExpanded, showExpander, }: TableRowProps) => JSX.Element>;
|
|
3
|
+
declare const TableRow: React.MemoExoticComponent<({ expandable, headerRow, isActive, isExpanded, isSubRow, onClickRow, onSelectRow, row, selectableRows, selectedRows, setIsExpanded, showExpander, }: TableRowProps) => React.JSX.Element>;
|
|
4
4
|
export default TableRow;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import { TableRowGroupProps } from './TableRowGroup.types';
|
|
3
|
-
declare const TableRowGroup: React.MemoExoticComponent<({ activeRow, expandable, headerRow, onClickRow, onSelectRow, row, selectableRows, selectedRows, }: TableRowGroupProps) => JSX.Element>;
|
|
3
|
+
declare const TableRowGroup: React.MemoExoticComponent<({ activeRow, expandable, headerRow, onClickRow, onSelectRow, row, selectableRows, selectedRows, }: TableRowGroupProps) => React.JSX.Element>;
|
|
4
4
|
export default TableRowGroup;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import { TableHeadProps } from './TableHead.types';
|
|
3
|
-
declare const TableHead: React.MemoExoticComponent<({ expandable, headerRow, onSelectRow, onSort, rows, selectableRows, selectedRows, setSortDescending, setSortByKeyValue, sortDescending, sortByKeyValue, stickyHeader, }: TableHeadProps) => JSX.Element>;
|
|
3
|
+
declare const TableHead: React.MemoExoticComponent<({ expandable, headerRow, onSelectRow, onSort, rows, selectableRows, selectedRows, setSortDescending, setSortByKeyValue, sortDescending, sortByKeyValue, stickyHeader, }: TableHeadProps) => React.JSX.Element>;
|
|
4
4
|
export default TableHead;
|
|
@@ -65,5 +65,5 @@ export declare type IEModalProps = React.PropsWithChildren<{
|
|
|
65
65
|
*/
|
|
66
66
|
onCompatibleBrowserDetected?: () => void;
|
|
67
67
|
}>;
|
|
68
|
-
export declare const IEModal: ({ heading, description, goToFrontPageText, openPageInEdgeText, headerClassName, noContentPadding, column, zIndex, sizes, canClose, closeTabIndex, onRequestClose, onCompatibleBrowserDetected, ...rest }: IEModalProps) => JSX.Element | null;
|
|
68
|
+
export declare const IEModal: ({ heading, description, goToFrontPageText, openPageInEdgeText, headerClassName, noContentPadding, column, zIndex, sizes, canClose, closeTabIndex, onRequestClose, onCompatibleBrowserDetected, ...rest }: IEModalProps) => React.JSX.Element | null;
|
|
69
69
|
export default IEModal;
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
|
|
1
|
+
import React from 'react';
|
|
2
2
|
import { Locale } from '@dfds-ui/react-components';
|
|
3
3
|
export declare type LocaleOptionProps = {
|
|
4
4
|
label: string;
|
|
5
5
|
locale: Locale;
|
|
6
6
|
onClick: () => void;
|
|
7
7
|
};
|
|
8
|
-
export declare const LocaleOption: ({ label, locale, onClick }: LocaleOptionProps) => JSX.Element;
|
|
8
|
+
export declare const LocaleOption: ({ label, locale, onClick }: LocaleOptionProps) => React.JSX.Element;
|
|
9
9
|
export default LocaleOption;
|
|
@@ -49,5 +49,7 @@ export declare const LocaleSelector: React.ForwardRefExoticComponent<{
|
|
|
49
49
|
* className to be assigned to component.
|
|
50
50
|
*/
|
|
51
51
|
className?: string | undefined;
|
|
52
|
-
} & Pick<ModalProps, "renderWhenClosed"> &
|
|
52
|
+
} & Pick<ModalProps, "renderWhenClosed"> & {
|
|
53
|
+
children?: React.ReactNode;
|
|
54
|
+
} & React.RefAttributes<unknown>>;
|
|
53
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.32eece3d",
|
|
7
7
|
"sideEffects": false,
|
|
8
8
|
"main": "./cjs/index.js",
|
|
9
9
|
"module": "./index.js",
|
|
@@ -12,20 +12,20 @@
|
|
|
12
12
|
"peerDependencies": {
|
|
13
13
|
"@emotion/react": "11.11.4",
|
|
14
14
|
"@emotion/styled": "11.11.5",
|
|
15
|
-
"react": ">=
|
|
16
|
-
"react-dom": ">=
|
|
15
|
+
"react": ">= 18.3.1",
|
|
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.32eece3d",
|
|
20
|
+
"@dfds-ui/forms": "2.2.0-alpha.32eece3d",
|
|
21
|
+
"@dfds-ui/grid": "2.2.0-alpha.32eece3d",
|
|
22
|
+
"@dfds-ui/icons": "2.2.0-alpha.32eece3d",
|
|
23
|
+
"@dfds-ui/modal": "2.2.0-alpha.32eece3d",
|
|
24
|
+
"@dfds-ui/react-components": "2.2.0-alpha.32eece3d",
|
|
25
|
+
"@dfds-ui/theme": "2.2.0-alpha.32eece3d",
|
|
26
|
+
"@dfds-ui/typography": "2.2.0-alpha.32eece3d"
|
|
27
27
|
},
|
|
28
|
-
"gitHead": "
|
|
28
|
+
"gitHead": "32eece3d9838c4d530c5e21b63815021b472c717",
|
|
29
29
|
"publishConfig": {
|
|
30
30
|
"access": "public"
|
|
31
31
|
}
|
package/swiper/Swiper.d.ts
CHANGED
|
@@ -2,4 +2,4 @@ import React from 'react';
|
|
|
2
2
|
export declare type SwiperProps = React.PropsWithChildren<{
|
|
3
3
|
className?: string;
|
|
4
4
|
}>;
|
|
5
|
-
export declare const Swiper: ({ className, children }: SwiperProps) => JSX.Element;
|
|
5
|
+
export declare const Swiper: ({ className, children }: SwiperProps) => React.JSX.Element;
|
package/swiper/SwiperCard.d.ts
CHANGED
|
@@ -2,4 +2,4 @@ import React from 'react';
|
|
|
2
2
|
export declare type SwiperCardProps = React.PropsWithChildren<{
|
|
3
3
|
className?: string;
|
|
4
4
|
}>;
|
|
5
|
-
export declare const SwiperCard: ({ className, children }: SwiperCardProps) => JSX.Element;
|
|
5
|
+
export declare const SwiperCard: ({ className, children }: SwiperCardProps) => React.JSX.Element;
|