@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.
Files changed (41) hide show
  1. package/cjs/dynamic-table/Body/TableBody.types.d.ts +1 -1
  2. package/cjs/dynamic-table/Body/TableCell.styles.d.ts +5 -5
  3. package/cjs/dynamic-table/Body/TableCell.types.d.ts +1 -1
  4. package/cjs/dynamic-table/Body/TableRow.styles.d.ts +4 -4
  5. package/cjs/dynamic-table/Body/TableRow.types.d.ts +2 -2
  6. package/cjs/dynamic-table/Body/TableRowGroup.types.d.ts +2 -2
  7. package/cjs/dynamic-table/DynamicTable.styles.d.ts +3 -3
  8. package/cjs/dynamic-table/DynamicTable.types.d.ts +4 -4
  9. package/cjs/dynamic-table/Head/TableHead.styles.d.ts +4 -4
  10. package/cjs/dynamic-table/Head/TableHead.types.d.ts +5 -5
  11. package/cjs/dynamic-table/Skeleton/SkeletonTable.styles.d.ts +1 -1
  12. package/cjs/footer/Footer.d.ts +1 -1
  13. package/cjs/footer/FooterColumn.d.ts +1 -1
  14. package/cjs/footer/FooterColumnItem.d.ts +1 -1
  15. package/cjs/footer/FooterMetaLink.d.ts +1 -1
  16. package/cjs/internet-explorer-modal/IEModal.d.ts +1 -1
  17. package/cjs/locale-selector/LocaleOption.d.ts +1 -1
  18. package/cjs/locale-selector/LocaleSelector.d.ts +6 -6
  19. package/cjs/swiper/Swiper.d.ts +1 -1
  20. package/cjs/swiper/SwiperCard.d.ts +1 -1
  21. package/dynamic-table/Body/TableBody.types.d.ts +1 -1
  22. package/dynamic-table/Body/TableCell.styles.d.ts +5 -5
  23. package/dynamic-table/Body/TableCell.types.d.ts +1 -1
  24. package/dynamic-table/Body/TableRow.styles.d.ts +4 -4
  25. package/dynamic-table/Body/TableRow.types.d.ts +2 -2
  26. package/dynamic-table/Body/TableRowGroup.types.d.ts +2 -2
  27. package/dynamic-table/DynamicTable.styles.d.ts +3 -3
  28. package/dynamic-table/DynamicTable.types.d.ts +4 -4
  29. package/dynamic-table/Head/TableHead.styles.d.ts +4 -4
  30. package/dynamic-table/Head/TableHead.types.d.ts +5 -5
  31. package/dynamic-table/Skeleton/SkeletonTable.styles.d.ts +1 -1
  32. package/footer/Footer.d.ts +1 -1
  33. package/footer/FooterColumn.d.ts +1 -1
  34. package/footer/FooterColumnItem.d.ts +1 -1
  35. package/footer/FooterMetaLink.d.ts +1 -1
  36. package/internet-explorer-modal/IEModal.d.ts +1 -1
  37. package/locale-selector/LocaleOption.d.ts +1 -1
  38. package/locale-selector/LocaleSelector.d.ts +6 -6
  39. package/package.json +11 -11
  40. package/swiper/Swiper.d.ts +1 -1
  41. package/swiper/SwiperCard.d.ts +1 -1
@@ -1,5 +1,5 @@
1
1
  import { Header, Row } from '../DynamicTable.types';
2
- export declare type TableBodyProps = {
2
+ export type TableBodyProps = {
3
3
  activeRow?: string;
4
4
  expandable?: boolean;
5
5
  headerRow: Header[];
@@ -1,9 +1,9 @@
1
- export declare const genericTableCellStyles: import("@emotion/react").SerializedStyles;
2
- declare type TableCellProps = {
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/react").SerializedStyles;
7
- export declare const tableCellExpanderStyles: (isExpandable: boolean) => import("@emotion/react").SerializedStyles;
8
- export declare const tableCellCheckboxStyles: import("@emotion/react").SerializedStyles;
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,5 +1,5 @@
1
1
  import { Header } from '../DynamicTable.types';
2
- export declare type TableCellProps = {
2
+ export type TableCellProps = {
3
3
  children: React.ReactNode;
4
4
  headerCell?: Header;
5
5
  };
@@ -1,11 +1,11 @@
1
1
  import { ChevronProps } from './TableRow.types';
2
- export declare const genericTableRowStyles: import("@emotion/react").SerializedStyles;
3
- declare type TableRowProps = {
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/react").SerializedStyles;
10
- export declare const chevronStyles: ({ expanded }: ChevronProps) => import("@emotion/react").SerializedStyles;
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 declare type TableRowProps = {
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 declare type ChevronProps = {
16
+ export type ChevronProps = {
17
17
  expanded: boolean;
18
18
  };
@@ -1,5 +1,5 @@
1
1
  import { Header, Row } from '../DynamicTable.types';
2
- export declare type TableRowGroupProps = {
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 declare type ChevronProps = {
12
+ export type ChevronProps = {
13
13
  expanded: boolean;
14
14
  };
@@ -1,6 +1,6 @@
1
- declare type TableWrapperProps = {
1
+ type TableWrapperProps = {
2
2
  height?: string;
3
3
  };
4
- export declare const tableWrapperStyles: ({ height }: TableWrapperProps) => import("@emotion/react").SerializedStyles;
5
- export declare const tableStyles: import("@emotion/react").SerializedStyles;
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 declare type Header = {
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 declare type SubRow = {
10
+ export type SubRow = {
11
11
  className?: string;
12
12
  id?: string;
13
13
  [name: string]: any;
14
14
  };
15
- export declare type Row = {
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 declare type DynamicTableProps = {
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/react").SerializedStyles;
3
- export declare const tableHeadCellExpanderStyles: ({ stickyHeader }: TableHeadCellCExpanderProps) => import("@emotion/react").SerializedStyles;
4
- export declare const tableHeadCellCheckboxStyles: ({ stickyHeader }: TableHeadCellCheckboxProps) => import("@emotion/react").SerializedStyles;
5
- export declare const chevronStyles: ({ descending, show }: ChevronProps) => import("@emotion/react").SerializedStyles;
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 declare type TableHeadProps = {
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 declare type GenericTableHeadCellProps = {
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 declare type TableHeadCellCExpanderProps = {
27
+ export type TableHeadCellCExpanderProps = {
28
28
  stickyHeader?: boolean;
29
29
  };
30
- export declare type TableHeadCellCheckboxProps = {
30
+ export type TableHeadCellCheckboxProps = {
31
31
  stickyHeader?: boolean;
32
32
  };
33
- export declare type ChevronProps = {
33
+ export type ChevronProps = {
34
34
  descending: string;
35
35
  show: string;
36
36
  };
@@ -1 +1 @@
1
- export declare const fadeStyles: import("@emotion/react").SerializedStyles;
1
+ export declare const fadeStyles: import("@emotion/utils").SerializedStyles;
@@ -1,7 +1,7 @@
1
1
  import React from 'react';
2
2
  import { FooterMetaLinkProps } from './FooterMetaLink';
3
3
  import { FooterColumnProps } from './FooterColumn';
4
- export declare type FooterProps = {
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 declare type FooterColumnProps = {
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 declare type FooterColumnItemProps = {
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 declare type FooterMetaLinkProps = {
3
+ export type FooterMetaLinkProps = {
4
4
  className?: string;
5
5
  } & LinkButtonProps;
6
6
  export declare const FooterMetaLink: FC<FooterMetaLinkProps>;
@@ -1,6 +1,6 @@
1
1
  import React from 'react';
2
2
  import { ModalSizes } from '@dfds-ui/modal';
3
- export declare type IEModalProps = React.PropsWithChildren<{
3
+ export type IEModalProps = React.PropsWithChildren<{
4
4
  className?: string;
5
5
  /**
6
6
  * Add heading on the Modal.
@@ -1,6 +1,6 @@
1
1
  import React from 'react';
2
2
  import { Locale } from '@dfds-ui/react-components';
3
- export declare type LocaleOptionProps = {
3
+ export type LocaleOptionProps = {
4
4
  label: string;
5
5
  locale: Locale;
6
6
  onClick: () => void;
@@ -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 declare type LocaleSelectorProps = PropsWithChildren<{
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?: readonly ("en" | "nl-BE" | "bg-BG" | "pt-BR" | "en-CA" | "zh-CN" | "cs-CZ" | "da-DK" | "et-EE" | "fi-FI" | "fr-BE" | "fr-FR" | "fr-MA" | "de-DE" | "hu-HU" | "it-IT" | "ja-JP" | "lv-LV" | "lt-LT" | "nl-NL" | "nb-NO" | "pl-PL" | "ro-RO" | "ru-RU" | "sk-SK" | "ko-KR" | "es-ES" | "sv-SE" | "tr-TR" | "en-GB" | "en-US")[] | undefined;
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 | undefined;
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 | undefined;
47
+ disabled?: boolean;
48
48
  /**
49
49
  * className to be assigned to component.
50
50
  */
51
- className?: string | undefined;
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;
@@ -1,5 +1,5 @@
1
1
  import React from 'react';
2
- export declare type SwiperProps = React.PropsWithChildren<{
2
+ export type SwiperProps = React.PropsWithChildren<{
3
3
  className?: string;
4
4
  }>;
5
5
  export declare const Swiper: ({ className, children }: SwiperProps) => React.JSX.Element;
@@ -1,5 +1,5 @@
1
1
  import React from 'react';
2
- export declare type SwiperCardProps = React.PropsWithChildren<{
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,5 +1,5 @@
1
1
  import { Header, Row } from '../DynamicTable.types';
2
- export declare type TableBodyProps = {
2
+ export type TableBodyProps = {
3
3
  activeRow?: string;
4
4
  expandable?: boolean;
5
5
  headerRow: Header[];
@@ -1,9 +1,9 @@
1
- export declare const genericTableCellStyles: import("@emotion/react").SerializedStyles;
2
- declare type TableCellProps = {
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/react").SerializedStyles;
7
- export declare const tableCellExpanderStyles: (isExpandable: boolean) => import("@emotion/react").SerializedStyles;
8
- export declare const tableCellCheckboxStyles: import("@emotion/react").SerializedStyles;
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,5 +1,5 @@
1
1
  import { Header } from '../DynamicTable.types';
2
- export declare type TableCellProps = {
2
+ export type TableCellProps = {
3
3
  children: React.ReactNode;
4
4
  headerCell?: Header;
5
5
  };
@@ -1,11 +1,11 @@
1
1
  import { ChevronProps } from './TableRow.types';
2
- export declare const genericTableRowStyles: import("@emotion/react").SerializedStyles;
3
- declare type TableRowProps = {
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/react").SerializedStyles;
10
- export declare const chevronStyles: ({ expanded }: ChevronProps) => import("@emotion/react").SerializedStyles;
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 declare type TableRowProps = {
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 declare type ChevronProps = {
16
+ export type ChevronProps = {
17
17
  expanded: boolean;
18
18
  };
@@ -1,5 +1,5 @@
1
1
  import { Header, Row } from '../DynamicTable.types';
2
- export declare type TableRowGroupProps = {
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 declare type ChevronProps = {
12
+ export type ChevronProps = {
13
13
  expanded: boolean;
14
14
  };
@@ -1,6 +1,6 @@
1
- declare type TableWrapperProps = {
1
+ type TableWrapperProps = {
2
2
  height?: string;
3
3
  };
4
- export declare const tableWrapperStyles: ({ height }: TableWrapperProps) => import("@emotion/react").SerializedStyles;
5
- export declare const tableStyles: import("@emotion/react").SerializedStyles;
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 declare type Header = {
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 declare type SubRow = {
10
+ export type SubRow = {
11
11
  className?: string;
12
12
  id?: string;
13
13
  [name: string]: any;
14
14
  };
15
- export declare type Row = {
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 declare type DynamicTableProps = {
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/react").SerializedStyles;
3
- export declare const tableHeadCellExpanderStyles: ({ stickyHeader }: TableHeadCellCExpanderProps) => import("@emotion/react").SerializedStyles;
4
- export declare const tableHeadCellCheckboxStyles: ({ stickyHeader }: TableHeadCellCheckboxProps) => import("@emotion/react").SerializedStyles;
5
- export declare const chevronStyles: ({ descending, show }: ChevronProps) => import("@emotion/react").SerializedStyles;
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 declare type TableHeadProps = {
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 declare type GenericTableHeadCellProps = {
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 declare type TableHeadCellCExpanderProps = {
27
+ export type TableHeadCellCExpanderProps = {
28
28
  stickyHeader?: boolean;
29
29
  };
30
- export declare type TableHeadCellCheckboxProps = {
30
+ export type TableHeadCellCheckboxProps = {
31
31
  stickyHeader?: boolean;
32
32
  };
33
- export declare type ChevronProps = {
33
+ export type ChevronProps = {
34
34
  descending: string;
35
35
  show: string;
36
36
  };
@@ -1 +1 @@
1
- export declare const fadeStyles: import("@emotion/react").SerializedStyles;
1
+ export declare const fadeStyles: import("@emotion/utils").SerializedStyles;
@@ -1,7 +1,7 @@
1
1
  import React from 'react';
2
2
  import { FooterMetaLinkProps } from './FooterMetaLink';
3
3
  import { FooterColumnProps } from './FooterColumn';
4
- export declare type FooterProps = {
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 declare type FooterColumnProps = {
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 declare type FooterColumnItemProps = {
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 declare type FooterMetaLinkProps = {
3
+ export type FooterMetaLinkProps = {
4
4
  className?: string;
5
5
  } & LinkButtonProps;
6
6
  export declare const FooterMetaLink: FC<FooterMetaLinkProps>;
@@ -1,6 +1,6 @@
1
1
  import React from 'react';
2
2
  import { ModalSizes } from '@dfds-ui/modal';
3
- export declare type IEModalProps = React.PropsWithChildren<{
3
+ export type IEModalProps = React.PropsWithChildren<{
4
4
  className?: string;
5
5
  /**
6
6
  * Add heading on the Modal.
@@ -1,6 +1,6 @@
1
1
  import React from 'react';
2
2
  import { Locale } from '@dfds-ui/react-components';
3
- export declare type LocaleOptionProps = {
3
+ export type LocaleOptionProps = {
4
4
  label: string;
5
5
  locale: Locale;
6
6
  onClick: () => void;
@@ -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 declare type LocaleSelectorProps = PropsWithChildren<{
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?: readonly ("en" | "nl-BE" | "bg-BG" | "pt-BR" | "en-CA" | "zh-CN" | "cs-CZ" | "da-DK" | "et-EE" | "fi-FI" | "fr-BE" | "fr-FR" | "fr-MA" | "de-DE" | "hu-HU" | "it-IT" | "ja-JP" | "lv-LV" | "lt-LT" | "nl-NL" | "nb-NO" | "pl-PL" | "ro-RO" | "ru-RU" | "sk-SK" | "ko-KR" | "es-ES" | "sv-SE" | "tr-TR" | "en-GB" | "en-US")[] | undefined;
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 | undefined;
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 | undefined;
47
+ disabled?: boolean;
48
48
  /**
49
49
  * className to be assigned to component.
50
50
  */
51
- className?: string | undefined;
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.98e68873",
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.0",
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.98e68873",
20
- "@dfds-ui/forms": "2.2.0-alpha.98e68873",
21
- "@dfds-ui/grid": "2.2.0-alpha.98e68873",
22
- "@dfds-ui/icons": "2.2.0-alpha.98e68873",
23
- "@dfds-ui/modal": "2.2.0-alpha.98e68873",
24
- "@dfds-ui/react-components": "2.2.0-alpha.98e68873",
25
- "@dfds-ui/theme": "2.2.0-alpha.98e68873",
26
- "@dfds-ui/typography": "2.2.0-alpha.98e68873"
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": "98e68873ace8ad4db37fd407dfe757396da57ac8",
28
+ "gitHead": "9bb1ab0fca74964da6edd580e53f175a223b4f49",
29
29
  "publishConfig": {
30
30
  "access": "public"
31
31
  }
@@ -1,5 +1,5 @@
1
1
  import React from 'react';
2
- export declare type SwiperProps = React.PropsWithChildren<{
2
+ export type SwiperProps = React.PropsWithChildren<{
3
3
  className?: string;
4
4
  }>;
5
5
  export declare const Swiper: ({ className, children }: SwiperProps) => React.JSX.Element;
@@ -1,5 +1,5 @@
1
1
  import React from 'react';
2
- export declare type SwiperCardProps = React.PropsWithChildren<{
2
+ export type SwiperCardProps = React.PropsWithChildren<{
3
3
  className?: string;
4
4
  }>;
5
5
  export declare const SwiperCard: ({ className, children }: SwiperCardProps) => React.JSX.Element;