@dfds-ui/experiences 2.2.0-alpha.c2f773c5 → 2.2.0-alpha.c79adffa

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 (92) hide show
  1. package/cjs/dynamic-table/Body/TableBody.d.ts +1 -1
  2. package/cjs/dynamic-table/Body/TableBody.js +13 -14
  3. package/cjs/dynamic-table/Body/TableBody.types.d.ts +1 -1
  4. package/cjs/dynamic-table/Body/TableCell.d.ts +1 -1
  5. package/cjs/dynamic-table/Body/TableCell.js +6 -7
  6. package/cjs/dynamic-table/Body/TableCell.styles.d.ts +1 -1
  7. package/cjs/dynamic-table/Body/TableCell.styles.js +8 -9
  8. package/cjs/dynamic-table/Body/TableCell.types.d.ts +2 -1
  9. package/cjs/dynamic-table/Body/TableRow.d.ts +1 -1
  10. package/cjs/dynamic-table/Body/TableRow.js +33 -35
  11. package/cjs/dynamic-table/Body/TableRow.styles.d.ts +1 -1
  12. package/cjs/dynamic-table/Body/TableRow.styles.js +6 -3
  13. package/cjs/dynamic-table/Body/TableRow.types.d.ts +3 -2
  14. package/cjs/dynamic-table/Body/TableRowGroup.d.ts +1 -1
  15. package/cjs/dynamic-table/Body/TableRowGroup.js +37 -29
  16. package/cjs/dynamic-table/Body/TableRowGroup.types.d.ts +2 -2
  17. package/cjs/dynamic-table/DynamicTable.js +66 -53
  18. package/cjs/dynamic-table/DynamicTable.styles.d.ts +1 -1
  19. package/cjs/dynamic-table/DynamicTable.types.d.ts +4 -4
  20. package/cjs/dynamic-table/Head/TableHead.d.ts +1 -1
  21. package/cjs/dynamic-table/Head/TableHead.js +39 -47
  22. package/cjs/dynamic-table/Head/TableHead.styles.js +21 -24
  23. package/cjs/dynamic-table/Head/TableHead.types.d.ts +5 -5
  24. package/cjs/dynamic-table/Skeleton/SkeletonTable.styles.js +2 -1
  25. package/cjs/dynamic-table/Skeleton/helpers/createSkeletonRows.js +4 -4
  26. package/cjs/dynamic-table/stories/tableRows.js +13 -50
  27. package/cjs/dynamic-table/stories/tableRowsExpandable.js +13 -50
  28. package/cjs/footer/Footer.d.ts +1 -1
  29. package/cjs/footer/Footer.js +51 -60
  30. package/cjs/footer/FooterColumn.d.ts +1 -1
  31. package/cjs/footer/FooterColumn.js +16 -18
  32. package/cjs/footer/FooterColumnItem.d.ts +1 -1
  33. package/cjs/footer/FooterColumnItem.js +15 -13
  34. package/cjs/footer/FooterMetaLink.d.ts +1 -1
  35. package/cjs/footer/FooterMetaLink.js +15 -12
  36. package/cjs/footer/index.js +4 -4
  37. package/cjs/index.js +5 -5
  38. package/cjs/internet-explorer-modal/IEModal.d.ts +2 -2
  39. package/cjs/internet-explorer-modal/IEModal.js +75 -64
  40. package/cjs/locale-selector/LocaleOption.d.ts +3 -3
  41. package/cjs/locale-selector/LocaleOption.js +6 -7
  42. package/cjs/locale-selector/LocaleSelector.d.ts +7 -9
  43. package/cjs/locale-selector/LocaleSelector.js +43 -38
  44. package/cjs/locale-selector/index.js +1 -1
  45. package/cjs/swiper/Swiper.d.ts +4 -5
  46. package/cjs/swiper/Swiper.js +5 -6
  47. package/cjs/swiper/SwiperCard.d.ts +4 -5
  48. package/cjs/swiper/SwiperCard.js +5 -6
  49. package/cjs/swiper/index.js +2 -2
  50. package/dynamic-table/Body/TableBody.d.ts +1 -1
  51. package/dynamic-table/Body/TableBody.js +14 -15
  52. package/dynamic-table/Body/TableBody.types.d.ts +1 -1
  53. package/dynamic-table/Body/TableCell.d.ts +1 -1
  54. package/dynamic-table/Body/TableCell.js +4 -5
  55. package/dynamic-table/Body/TableCell.styles.d.ts +1 -1
  56. package/dynamic-table/Body/TableCell.types.d.ts +2 -1
  57. package/dynamic-table/Body/TableRow.d.ts +1 -1
  58. package/dynamic-table/Body/TableRow.js +34 -37
  59. package/dynamic-table/Body/TableRow.styles.d.ts +1 -1
  60. package/dynamic-table/Body/TableRow.types.d.ts +3 -2
  61. package/dynamic-table/Body/TableRowGroup.d.ts +1 -1
  62. package/dynamic-table/Body/TableRowGroup.js +22 -23
  63. package/dynamic-table/Body/TableRowGroup.types.d.ts +2 -2
  64. package/dynamic-table/DynamicTable.js +30 -38
  65. package/dynamic-table/DynamicTable.styles.d.ts +1 -1
  66. package/dynamic-table/DynamicTable.types.d.ts +4 -4
  67. package/dynamic-table/Head/TableHead.d.ts +1 -1
  68. package/dynamic-table/Head/TableHead.js +40 -48
  69. package/dynamic-table/Head/TableHead.types.d.ts +5 -5
  70. package/dynamic-table/Skeleton/SkeletonTable.styles.js +2 -1
  71. package/dynamic-table/Skeleton/helpers/createSkeletonRows.js +4 -3
  72. package/dynamic-table/stories/tableRows.js +13 -50
  73. package/dynamic-table/stories/tableRowsExpandable.js +13 -50
  74. package/footer/Footer.d.ts +1 -1
  75. package/footer/Footer.js +34 -49
  76. package/footer/FooterColumn.d.ts +1 -1
  77. package/footer/FooterColumn.js +9 -18
  78. package/footer/FooterColumnItem.d.ts +1 -1
  79. package/footer/FooterColumnItem.js +4 -11
  80. package/footer/FooterMetaLink.d.ts +1 -1
  81. package/footer/FooterMetaLink.js +6 -12
  82. package/internet-explorer-modal/IEModal.d.ts +2 -2
  83. package/internet-explorer-modal/IEModal.js +41 -52
  84. package/locale-selector/LocaleOption.d.ts +3 -3
  85. package/locale-selector/LocaleOption.js +7 -7
  86. package/locale-selector/LocaleSelector.d.ts +7 -9
  87. package/locale-selector/LocaleSelector.js +35 -38
  88. package/package.json +14 -14
  89. package/swiper/Swiper.d.ts +4 -5
  90. package/swiper/Swiper.js +6 -6
  91. package/swiper/SwiperCard.d.ts +4 -5
  92. package/swiper/SwiperCard.js +6 -6
@@ -1,10 +1,5 @@
1
- function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, _typeof(o); }
2
1
  var _excluded = ["activeRow", "descending", "expandable", "height", "headerRow", "isLoading", "onClickRow", "onSelectRow", "onSort", "rows", "selectedRows", "sortingBy", "stickyHeader"];
3
- function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
4
- function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
5
- function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }
6
- function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : i + ""; }
7
- function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != _typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
2
+ function _extends() { return _extends = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends.apply(null, arguments); }
8
3
  function _slicedToArray(r, e) { return _arrayWithHoles(r) || _iterableToArrayLimit(r, e) || _unsupportedIterableToArray(r, e) || _nonIterableRest(); }
9
4
  function _nonIterableRest() { throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); }
10
5
  function _unsupportedIterableToArray(r, a) { if (r) { if ("string" == typeof r) return _arrayLikeToArray(r, a); var t = {}.toString.call(r).slice(8, -1); return "Object" === t && r.constructor && (t = r.constructor.name), "Map" === t || "Set" === t ? Array.from(r) : "Arguments" === t || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t) ? _arrayLikeToArray(r, a) : void 0; } }
@@ -19,7 +14,7 @@ import { tableStyles, tableWrapperStyles } from './DynamicTable.styles';
19
14
  import TableHead from './Head/TableHead';
20
15
  import createSkeletonRows from './Skeleton/helpers/createSkeletonRows';
21
16
  import { fadeStyles } from './Skeleton/SkeletonTable.styles';
22
- import { jsx as _jsx, jsxs as _jsxs } from "@emotion/react/jsx-runtime";
17
+ import { jsx as ___EmotionJSX } from "@emotion/react";
23
18
  var DynamicTable = function DynamicTable(_ref) {
24
19
  var activeRow = _ref.activeRow,
25
20
  descending = _ref.descending,
@@ -54,40 +49,37 @@ var DynamicTable = function DynamicTable(_ref) {
54
49
  onSort(sortByKeyValue, sortDescending);
55
50
  }
56
51
  }, [sortDescending, onSort, sortByKeyValue]);
57
- return _jsxs("div", _objectSpread(_objectSpread({
52
+ return ___EmotionJSX("div", _extends({
58
53
  css: tableWrapperStyles({
59
54
  height: height
60
55
  })
61
- }, rest), {}, {
62
- children: [_jsxs("table", {
63
- css: tableStyles,
64
- "data-cy": !isLoading ? "dynamic-table-isLoaded" : '',
65
- children: [headerRow && _jsx(TableHead, {
66
- expandable: expandable,
67
- headerRow: headerRow,
68
- onSelectRow: onSelectRow,
69
- onSort: onSort,
70
- rows: rows,
71
- selectableRows: selectableRows,
72
- selectedRows: selectedRows,
73
- setSortDescending: setSortDescending,
74
- setSortByKeyValue: setSortByKeyValue,
75
- sortDescending: sortDescending,
76
- sortByKeyValue: sortByKeyValue,
77
- stickyHeader: stickyHeader
78
- }), _jsx(TableBody, {
79
- activeRow: activeRow,
80
- expandable: expandable,
81
- headerRow: headerRow,
82
- onClickRow: onClickRow,
83
- onSelectRow: onSelectRow,
84
- rows: !isLoading ? rows : skeletonRows,
85
- selectableRows: selectableRows,
86
- selectedRows: selectedRows
87
- })]
88
- }), isLoading && _jsx("div", {
89
- css: fadeStyles
90
- })]
56
+ }, rest), ___EmotionJSX("table", {
57
+ css: tableStyles,
58
+ "data-cy": !isLoading ? "dynamic-table-isLoaded" : ''
59
+ }, headerRow && ___EmotionJSX(TableHead, {
60
+ expandable: expandable,
61
+ headerRow: headerRow,
62
+ onSelectRow: onSelectRow,
63
+ onSort: onSort,
64
+ rows: rows,
65
+ selectableRows: selectableRows,
66
+ selectedRows: selectedRows,
67
+ setSortDescending: setSortDescending,
68
+ setSortByKeyValue: setSortByKeyValue,
69
+ sortDescending: sortDescending,
70
+ sortByKeyValue: sortByKeyValue,
71
+ stickyHeader: stickyHeader
72
+ }), ___EmotionJSX(TableBody, {
73
+ activeRow: activeRow,
74
+ expandable: expandable,
75
+ headerRow: headerRow,
76
+ onClickRow: onClickRow,
77
+ onSelectRow: onSelectRow,
78
+ rows: !isLoading ? rows : skeletonRows,
79
+ selectableRows: selectableRows,
80
+ selectedRows: selectedRows
81
+ })), isLoading && ___EmotionJSX("div", {
82
+ css: fadeStyles
91
83
  }));
92
84
  };
93
85
  export default /*#__PURE__*/React.memo(DynamicTable);
@@ -1,4 +1,4 @@
1
- type TableWrapperProps = {
1
+ declare type TableWrapperProps = {
2
2
  height?: string;
3
3
  };
4
4
  export declare const tableWrapperStyles: ({ height }: TableWrapperProps) => import("@emotion/utils").SerializedStyles;
@@ -1,5 +1,5 @@
1
1
  import React from 'react';
2
- export type Header = {
2
+ export declare type Header = {
3
3
  displayName: string | React.ReactElement;
4
4
  key: string;
5
5
  sortKey?: string;
@@ -7,18 +7,18 @@ export type Header = {
7
7
  textAlign?: 'center' | 'left' | 'right';
8
8
  width?: string;
9
9
  };
10
- export type SubRow = {
10
+ export declare type SubRow = {
11
11
  className?: string;
12
12
  id?: string;
13
13
  [name: string]: any;
14
14
  };
15
- export type Row = {
15
+ export declare type Row = {
16
16
  className?: string;
17
17
  id?: string;
18
18
  subRows?: SubRow[];
19
19
  [name: string]: any;
20
20
  };
21
- export type DynamicTableProps = {
21
+ export declare type DynamicTableProps = {
22
22
  activeRow?: string;
23
23
  descending?: boolean;
24
24
  expandable?: boolean;
@@ -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) => React.JSX.Element>;
3
+ declare const TableHead: React.MemoExoticComponent<({ expandable, headerRow, onSelectRow, onSort, rows, selectableRows, selectedRows, setSortDescending, setSortByKeyValue, sortDescending, sortByKeyValue, stickyHeader, }: TableHeadProps) => JSX.Element>;
4
4
  export default TableHead;
@@ -3,7 +3,7 @@ import { ChevronDown } from '@dfds-ui/icons/system';
3
3
  import { Checkbox } from '@dfds-ui/react-components';
4
4
  import { chevronStyles, tableHeadCellCheckboxStyles, tableHeadCellExpanderStyles, tableHeadCellStyles } from './TableHead.styles';
5
5
  import { genericTableRowStyles } from '../Body/TableRow.styles';
6
- import { jsx as _jsx, jsxs as _jsxs } from "@emotion/react/jsx-runtime";
6
+ import { jsx as ___EmotionJSX } from "@emotion/react";
7
7
  var TableHead = /*#__PURE__*/React.memo(function (_ref) {
8
8
  var expandable = _ref.expandable,
9
9
  headerRow = _ref.headerRow,
@@ -36,53 +36,45 @@ var TableHead = /*#__PURE__*/React.memo(function (_ref) {
36
36
  setSortDescending(!sortDescending);
37
37
  }
38
38
  }, [onSort, setSortDescending, setSortByKeyValue, sortDescending]);
39
- return _jsx("thead", {
40
- children: _jsxs("tr", {
41
- css: genericTableRowStyles,
42
- children: [expandable && _jsx("th", {
43
- css: tableHeadCellExpanderStyles({
44
- stickyHeader: stickyHeader
45
- })
46
- }), selectableRows && _jsx("th", {
47
- css: tableHeadCellCheckboxStyles({
48
- stickyHeader: stickyHeader
49
- }),
50
- children: _jsx(Checkbox, {
51
- checked: selectedRows.length > 0,
52
- indeterminate: true,
53
- name: "all",
54
- onChange: toggleAll,
55
- size: "small"
56
- })
57
- }), headerRow.map(function (headerCell, i) {
58
- var sortKey = headerCell.sortKey || headerCell.key;
59
- var clickHandler = function clickHandler() {
60
- return headerCell.sortable && sort(sortByKeyValue, sortKey);
61
- };
62
- var showChevron = String(sortByKeyValue === sortKey);
63
- return _jsx("th", {
64
- align: headerCell.textAlign,
65
- css: tableHeadCellStyles({
66
- align: headerCell.textAlign,
67
- customWidth: headerCell.width,
68
- sortByKey: onSort,
69
- sortable: headerCell.sortable,
70
- stickyHeader: stickyHeader
71
- }),
72
- onClick: clickHandler,
73
- children: _jsxs("div", {
74
- children: [_jsx("span", {
75
- children: headerCell.displayName
76
- }), headerCell.sortable && onSort && _jsx(ChevronDown, {
77
- css: chevronStyles({
78
- descending: String(sortDescending),
79
- show: showChevron
80
- })
81
- })]
82
- })
83
- }, i);
84
- })]
39
+ return ___EmotionJSX("thead", null, ___EmotionJSX("tr", {
40
+ css: genericTableRowStyles
41
+ }, expandable && ___EmotionJSX("th", {
42
+ css: tableHeadCellExpanderStyles({
43
+ stickyHeader: stickyHeader
85
44
  })
86
- });
45
+ }), selectableRows && ___EmotionJSX("th", {
46
+ css: tableHeadCellCheckboxStyles({
47
+ stickyHeader: stickyHeader
48
+ })
49
+ }, ___EmotionJSX(Checkbox, {
50
+ checked: selectedRows.length > 0,
51
+ indeterminate: true,
52
+ name: "all",
53
+ onChange: toggleAll,
54
+ size: "small"
55
+ })), headerRow.map(function (headerCell, i) {
56
+ var sortKey = headerCell.sortKey || headerCell.key;
57
+ var clickHandler = function clickHandler() {
58
+ return headerCell.sortable && sort(sortByKeyValue, sortKey);
59
+ };
60
+ var showChevron = String(sortByKeyValue === sortKey);
61
+ return ___EmotionJSX("th", {
62
+ align: headerCell.textAlign,
63
+ css: tableHeadCellStyles({
64
+ align: headerCell.textAlign,
65
+ customWidth: headerCell.width,
66
+ sortByKey: onSort,
67
+ sortable: headerCell.sortable,
68
+ stickyHeader: stickyHeader
69
+ }),
70
+ key: i,
71
+ onClick: clickHandler
72
+ }, ___EmotionJSX("div", null, ___EmotionJSX("span", null, headerCell.displayName), headerCell.sortable && onSort && ___EmotionJSX(ChevronDown, {
73
+ css: chevronStyles({
74
+ descending: String(sortDescending),
75
+ show: showChevron
76
+ })
77
+ })));
78
+ })));
87
79
  });
88
80
  export default TableHead;
@@ -1,5 +1,5 @@
1
1
  import { Header, Row } from '../DynamicTable.types';
2
- export type TableHeadProps = {
2
+ export declare type TableHeadProps = {
3
3
  expandable?: boolean;
4
4
  headerRow: Header[];
5
5
  onSelectRow?: (list: string[]) => void;
@@ -13,7 +13,7 @@ export type TableHeadProps = {
13
13
  sortByKeyValue: string;
14
14
  stickyHeader?: boolean;
15
15
  };
16
- export type GenericTableHeadCellProps = {
16
+ export declare 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 type TableHeadCellCExpanderProps = {
27
+ export declare type TableHeadCellCExpanderProps = {
28
28
  stickyHeader?: boolean;
29
29
  };
30
- export type TableHeadCellCheckboxProps = {
30
+ export declare type TableHeadCellCheckboxProps = {
31
31
  stickyHeader?: boolean;
32
32
  };
33
- export type ChevronProps = {
33
+ export declare type ChevronProps = {
34
34
  descending: string;
35
35
  show: string;
36
36
  };
@@ -5,6 +5,7 @@ export var fadeStyles = process.env.NODE_ENV === "production" ? {
5
5
  styles: "background-image:linear-gradient(to bottom, rgba(255, 255, 255, 0), rgba(255, 255, 255, 0.9) 90%);height:calc(7 * 48px);margin-top:49px;pointer-events:none;position:fixed;width:100vw"
6
6
  } : {
7
7
  name: "yz1003-fadeStyles",
8
- styles: "background-image:linear-gradient(to bottom, rgba(255, 255, 255, 0), rgba(255, 255, 255, 0.9) 90%);height:calc(7 * 48px);margin-top:49px;pointer-events:none;position:fixed;width:100vw;label:fadeStyles;/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uLy4uL3NyYy9keW5hbWljLXRhYmxlL1NrZWxldG9uL1NrZWxldG9uVGFibGUuc3R5bGVzLnRzeCJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFFNkIiLCJmaWxlIjoiLi4vLi4vLi4vc3JjL2R5bmFtaWMtdGFibGUvU2tlbGV0b24vU2tlbGV0b25UYWJsZS5zdHlsZXMudHN4Iiwic291cmNlc0NvbnRlbnQiOlsiaW1wb3J0IHsgY3NzIH0gZnJvbSAnQGVtb3Rpb24vcmVhY3QnXG5cbmV4cG9ydCBjb25zdCBmYWRlU3R5bGVzID0gY3NzYFxuICBiYWNrZ3JvdW5kLWltYWdlOiBsaW5lYXItZ3JhZGllbnQodG8gYm90dG9tLCByZ2JhKDI1NSwgMjU1LCAyNTUsIDApLCByZ2JhKDI1NSwgMjU1LCAyNTUsIDAuOSkgOTAlKTtcbiAgaGVpZ2h0OiBjYWxjKDcgKiA0OHB4KTtcbiAgbWFyZ2luLXRvcDogNDlweDtcbiAgcG9pbnRlci1ldmVudHM6IG5vbmU7XG4gIHBvc2l0aW9uOiBmaXhlZDtcbiAgd2lkdGg6IDEwMHZ3O1xuYFxuIl19 */",
8
+ styles: "background-image:linear-gradient(to bottom, rgba(255, 255, 255, 0), rgba(255, 255, 255, 0.9) 90%);height:calc(7 * 48px);margin-top:49px;pointer-events:none;position:fixed;width:100vw;label:fadeStyles;",
9
+ map: "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uLy4uL3NyYy9keW5hbWljLXRhYmxlL1NrZWxldG9uL1NrZWxldG9uVGFibGUuc3R5bGVzLnRzeCJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFFNkIiLCJmaWxlIjoiLi4vLi4vLi4vc3JjL2R5bmFtaWMtdGFibGUvU2tlbGV0b24vU2tlbGV0b25UYWJsZS5zdHlsZXMudHN4Iiwic291cmNlc0NvbnRlbnQiOlsiaW1wb3J0IHsgY3NzIH0gZnJvbSAnQGVtb3Rpb24vcmVhY3QnXG5cbmV4cG9ydCBjb25zdCBmYWRlU3R5bGVzID0gY3NzYFxuICBiYWNrZ3JvdW5kLWltYWdlOiBsaW5lYXItZ3JhZGllbnQodG8gYm90dG9tLCByZ2JhKDI1NSwgMjU1LCAyNTUsIDApLCByZ2JhKDI1NSwgMjU1LCAyNTUsIDAuOSkgOTAlKTtcbiAgaGVpZ2h0OiBjYWxjKDcgKiA0OHB4KTtcbiAgbWFyZ2luLXRvcDogNDlweDtcbiAgcG9pbnRlci1ldmVudHM6IG5vbmU7XG4gIHBvc2l0aW9uOiBmaXhlZDtcbiAgd2lkdGg6IDEwMHZ3O1xuYFxuIl19 */",
9
10
  toString: _EMOTION_STRINGIFIED_CSS_ERROR__
10
11
  };
@@ -8,20 +8,21 @@ function _EMOTION_STRINGIFIED_CSS_ERROR__() { return "You have tried to stringif
8
8
  import React from 'react';
9
9
  import { Skeleton } from '@dfds-ui/react-components';
10
10
  import { css } from '@emotion/react';
11
- import { jsx as _jsx } from "@emotion/react/jsx-runtime";
11
+ import { jsx as ___EmotionJSX } from "@emotion/react";
12
12
  var _ref = process.env.NODE_ENV === "production" ? {
13
13
  name: "1m8u2wf",
14
14
  styles: "height:12px;width:100%;text-align:left"
15
15
  } : {
16
16
  name: "1m8u2wf",
17
- styles: "height:12px;width:100%;text-align:left/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uL3NyYy9keW5hbWljLXRhYmxlL1NrZWxldG9uL2hlbHBlcnMvY3JlYXRlU2tlbGV0b25Sb3dzLnRzeCJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFha0IiLCJmaWxlIjoiLi4vLi4vLi4vLi4vc3JjL2R5bmFtaWMtdGFibGUvU2tlbGV0b24vaGVscGVycy9jcmVhdGVTa2VsZXRvblJvd3MudHN4Iiwic291cmNlc0NvbnRlbnQiOlsiaW1wb3J0IFJlYWN0IGZyb20gJ3JlYWN0J1xuaW1wb3J0IHsgU2tlbGV0b24gfSBmcm9tICdAZGZkcy11aS9yZWFjdC1jb21wb25lbnRzJ1xuaW1wb3J0IHsgY3NzIH0gZnJvbSAnQGVtb3Rpb24vcmVhY3QnXG5cbmltcG9ydCB7IEhlYWRlciwgUm93IH0gZnJvbSAnLi4vLi4vRHluYW1pY1RhYmxlLnR5cGVzJ1xuXG5jb25zdCBjcmVhdGVTa2VsZXRvblJvd3MgPSAoaGVhZGVyUm93OiBIZWFkZXJbXSB8IHVuZGVmaW5lZCkgPT5cbiAgWy4uLkFycmF5KDcpXS5tYXAoKF8sIGluZGV4KSA9PiB7XG4gICAgY29uc3Qgcm93OiBSb3cgPSB7fVxuXG4gICAgaGVhZGVyUm93Py5mb3JFYWNoKChjZWxsKSA9PiB7XG4gICAgICByb3dbY2VsbC5rZXldID0gKFxuICAgICAgICA8U2tlbGV0b25cbiAgICAgICAgICBjc3M9e2Nzc2BcbiAgICAgICAgICAgIGhlaWdodDogMTJweDtcbiAgICAgICAgICAgIHdpZHRoOiAxMDAlO1xuICAgICAgICAgICAgdGV4dC1hbGlnbjogbGVmdDtcbiAgICAgICAgICBgfVxuICAgICAgICAgIHZhcmlhbnQ9XCJ0ZXh0XCJcbiAgICAgICAgLz5cbiAgICAgIClcbiAgICB9KVxuICAgIHJvdy5pZCA9IFN0cmluZyhpbmRleClcblxuICAgIHJldHVybiByb3dcbiAgfSlcblxuZXhwb3J0IGRlZmF1bHQgY3JlYXRlU2tlbGV0b25Sb3dzXG4iXX0= */",
17
+ styles: "height:12px;width:100%;text-align:left",
18
+ map: "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uL3NyYy9keW5hbWljLXRhYmxlL1NrZWxldG9uL2hlbHBlcnMvY3JlYXRlU2tlbGV0b25Sb3dzLnRzeCJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFha0IiLCJmaWxlIjoiLi4vLi4vLi4vLi4vc3JjL2R5bmFtaWMtdGFibGUvU2tlbGV0b24vaGVscGVycy9jcmVhdGVTa2VsZXRvblJvd3MudHN4Iiwic291cmNlc0NvbnRlbnQiOlsiaW1wb3J0IFJlYWN0IGZyb20gJ3JlYWN0J1xuaW1wb3J0IHsgU2tlbGV0b24gfSBmcm9tICdAZGZkcy11aS9yZWFjdC1jb21wb25lbnRzJ1xuaW1wb3J0IHsgY3NzIH0gZnJvbSAnQGVtb3Rpb24vcmVhY3QnXG5cbmltcG9ydCB7IEhlYWRlciwgUm93IH0gZnJvbSAnLi4vLi4vRHluYW1pY1RhYmxlLnR5cGVzJ1xuXG5jb25zdCBjcmVhdGVTa2VsZXRvblJvd3MgPSAoaGVhZGVyUm93OiBIZWFkZXJbXSB8IHVuZGVmaW5lZCkgPT5cbiAgWy4uLkFycmF5KDcpXS5tYXAoKF8sIGluZGV4KSA9PiB7XG4gICAgY29uc3Qgcm93OiBSb3cgPSB7fVxuXG4gICAgaGVhZGVyUm93Py5mb3JFYWNoKChjZWxsKSA9PiB7XG4gICAgICByb3dbY2VsbC5rZXldID0gKFxuICAgICAgICA8U2tlbGV0b25cbiAgICAgICAgICBjc3M9e2Nzc2BcbiAgICAgICAgICAgIGhlaWdodDogMTJweDtcbiAgICAgICAgICAgIHdpZHRoOiAxMDAlO1xuICAgICAgICAgICAgdGV4dC1hbGlnbjogbGVmdDtcbiAgICAgICAgICBgfVxuICAgICAgICAgIHZhcmlhbnQ9XCJ0ZXh0XCJcbiAgICAgICAgLz5cbiAgICAgIClcbiAgICB9KVxuICAgIHJvdy5pZCA9IFN0cmluZyhpbmRleClcblxuICAgIHJldHVybiByb3dcbiAgfSlcblxuZXhwb3J0IGRlZmF1bHQgY3JlYXRlU2tlbGV0b25Sb3dzXG4iXX0= */",
18
19
  toString: _EMOTION_STRINGIFIED_CSS_ERROR__
19
20
  };
20
21
  var createSkeletonRows = function createSkeletonRows(headerRow) {
21
22
  return _toConsumableArray(Array(7)).map(function (_, index) {
22
23
  var row = {};
23
24
  headerRow === null || headerRow === void 0 || headerRow.forEach(function (cell) {
24
- row[cell.key] = _jsx(Skeleton, {
25
+ row[cell.key] = ___EmotionJSX(Skeleton, {
25
26
  css: _ref,
26
27
  variant: "text"
27
28
  });
@@ -1,102 +1,65 @@
1
1
  import React from 'react';
2
- import { jsx as _jsx, Fragment as _Fragment, jsxs as _jsxs } from "@emotion/react/jsx-runtime";
2
+ import { jsx as ___EmotionJSX } from "@emotion/react";
3
3
  var Currency = function Currency() {
4
- return _jsx("span", {
4
+ return ___EmotionJSX("span", {
5
5
  style: {
6
6
  fontSize: '10px'
7
- },
8
- children: "EUR"
9
- });
7
+ }
8
+ }, "EUR");
10
9
  };
11
10
  var tableRows = [{
12
11
  id: '1001',
13
12
  pallets: 10,
14
13
  from: 'Copenhagen',
15
14
  to: 'Stockholm',
16
- price: _jsxs(_Fragment, {
17
- children: [_jsx(Currency, {}), " ", _jsx("strong", {
18
- children: "200"
19
- })]
20
- })
15
+ price: ___EmotionJSX(React.Fragment, null, ___EmotionJSX(Currency, null), " ", ___EmotionJSX("strong", null, "200"))
21
16
  }, {
22
17
  id: '1002',
23
18
  pallets: 41,
24
19
  from: 'Istanbul',
25
20
  to: 'London',
26
- price: _jsxs(_Fragment, {
27
- children: [_jsx(Currency, {}), " ", _jsx("strong", {
28
- children: "320"
29
- })]
30
- })
21
+ price: ___EmotionJSX(React.Fragment, null, ___EmotionJSX(Currency, null), " ", ___EmotionJSX("strong", null, "320"))
31
22
  }, {
32
23
  id: '1003',
33
24
  pallets: 9,
34
25
  from: 'Delphi',
35
26
  to: 'Madrid',
36
- price: _jsxs(_Fragment, {
37
- children: [_jsx(Currency, {}), " ", _jsx("strong", {
38
- children: "1574"
39
- })]
40
- })
27
+ price: ___EmotionJSX(React.Fragment, null, ___EmotionJSX(Currency, null), " ", ___EmotionJSX("strong", null, "1574"))
41
28
  }, {
42
29
  id: '1004',
43
30
  pallets: 52,
44
31
  from: 'Stockholm',
45
32
  to: 'Amsterdam',
46
- price: _jsxs(_Fragment, {
47
- children: [_jsx(Currency, {}), " ", _jsx("strong", {
48
- children: "945.50"
49
- })]
50
- })
33
+ price: ___EmotionJSX(React.Fragment, null, ___EmotionJSX(Currency, null), " ", ___EmotionJSX("strong", null, "945.50"))
51
34
  }, {
52
35
  id: '1005',
53
36
  pallets: 4,
54
37
  from: 'London',
55
38
  to: 'Paris',
56
- price: _jsxs(_Fragment, {
57
- children: [_jsx(Currency, {}), " ", _jsx("strong", {
58
- children: "850"
59
- })]
60
- })
39
+ price: ___EmotionJSX(React.Fragment, null, ___EmotionJSX(Currency, null), " ", ___EmotionJSX("strong", null, "850"))
61
40
  }, {
62
41
  id: '1006',
63
42
  pallets: 33,
64
43
  from: 'Madrid',
65
44
  to: 'Berlin',
66
- price: _jsxs(_Fragment, {
67
- children: [_jsx(Currency, {}), " ", _jsx("strong", {
68
- children: "2000"
69
- })]
70
- })
45
+ price: ___EmotionJSX(React.Fragment, null, ___EmotionJSX(Currency, null), " ", ___EmotionJSX("strong", null, "2000"))
71
46
  }, {
72
47
  id: '1007',
73
48
  pallets: 17,
74
49
  from: 'Berlin',
75
50
  to: 'Oslo',
76
- price: _jsxs(_Fragment, {
77
- children: [_jsx(Currency, {}), " ", _jsx("strong", {
78
- children: "887"
79
- })]
80
- })
51
+ price: ___EmotionJSX(React.Fragment, null, ___EmotionJSX(Currency, null), " ", ___EmotionJSX("strong", null, "887"))
81
52
  }, {
82
53
  id: '1008',
83
54
  pallets: 14,
84
55
  from: 'Oslo',
85
56
  to: 'Cairo',
86
- price: _jsxs(_Fragment, {
87
- children: [_jsx(Currency, {}), " ", _jsx("strong", {
88
- children: "2400"
89
- })]
90
- })
57
+ price: ___EmotionJSX(React.Fragment, null, ___EmotionJSX(Currency, null), " ", ___EmotionJSX("strong", null, "2400"))
91
58
  }, {
92
59
  id: '1009',
93
60
  pallets: 23,
94
61
  from: 'Paris',
95
62
  to: 'Rome',
96
- price: _jsxs(_Fragment, {
97
- children: [_jsx(Currency, {}), " ", _jsx("strong", {
98
- children: "1280.30"
99
- })]
100
- })
63
+ price: ___EmotionJSX(React.Fragment, null, ___EmotionJSX(Currency, null), " ", ___EmotionJSX("strong", null, "1280.30"))
101
64
  }];
102
65
  export default tableRows;
@@ -1,104 +1,67 @@
1
1
  import React from 'react';
2
- import { jsx as _jsx, Fragment as _Fragment, jsxs as _jsxs } from "@emotion/react/jsx-runtime";
2
+ import { jsx as ___EmotionJSX } from "@emotion/react";
3
3
  var Currency = function Currency() {
4
- return _jsx("span", {
4
+ return ___EmotionJSX("span", {
5
5
  style: {
6
6
  fontSize: '10px'
7
- },
8
- children: "EUR"
9
- });
7
+ }
8
+ }, "EUR");
10
9
  };
11
10
  var tableRowsExpandable = [{
12
11
  id: '1001',
13
12
  pallets: 10,
14
13
  from: 'Copenhagen',
15
14
  to: 'Stockholm',
16
- price: _jsxs(_Fragment, {
17
- children: [_jsx(Currency, {}), " ", _jsx("strong", {
18
- children: "200"
19
- })]
20
- })
15
+ price: ___EmotionJSX(React.Fragment, null, ___EmotionJSX(Currency, null), " ", ___EmotionJSX("strong", null, "200"))
21
16
  }, {
22
17
  id: '1002',
23
18
  pallets: 41,
24
19
  from: 'Istanbul',
25
20
  to: 'London',
26
- price: _jsxs(_Fragment, {
27
- children: [_jsx(Currency, {}), " ", _jsx("strong", {
28
- children: "320"
29
- })]
30
- })
21
+ price: ___EmotionJSX(React.Fragment, null, ___EmotionJSX(Currency, null), " ", ___EmotionJSX("strong", null, "320"))
31
22
  }, {
32
23
  id: '1003',
33
24
  pallets: 9,
34
25
  from: 'Delphi',
35
26
  to: 'Madrid',
36
- price: _jsxs(_Fragment, {
37
- children: [_jsx(Currency, {}), " ", _jsx("strong", {
38
- children: "1574"
39
- })]
40
- }),
27
+ price: ___EmotionJSX(React.Fragment, null, ___EmotionJSX(Currency, null), " ", ___EmotionJSX("strong", null, "1574")),
41
28
  subRows: [{
42
29
  id: '1004',
43
30
  pallets: 52,
44
31
  from: 'Stockholm',
45
32
  to: 'Amsterdam',
46
- price: _jsxs(_Fragment, {
47
- children: [_jsx(Currency, {}), " ", _jsx("strong", {
48
- children: "945.50"
49
- })]
50
- })
33
+ price: ___EmotionJSX(React.Fragment, null, ___EmotionJSX(Currency, null), " ", ___EmotionJSX("strong", null, "945.50"))
51
34
  }, {
52
35
  id: '1005',
53
36
  pallets: 4,
54
37
  from: 'London',
55
38
  to: 'Paris',
56
- price: _jsxs(_Fragment, {
57
- children: [_jsx(Currency, {}), " ", _jsx("strong", {
58
- children: "850"
59
- })]
60
- })
39
+ price: ___EmotionJSX(React.Fragment, null, ___EmotionJSX(Currency, null), " ", ___EmotionJSX("strong", null, "850"))
61
40
  }]
62
41
  }, {
63
42
  id: '1006',
64
43
  pallets: 33,
65
44
  from: 'Madrid',
66
45
  to: 'Berlin',
67
- price: _jsxs(_Fragment, {
68
- children: [_jsx(Currency, {}), " ", _jsx("strong", {
69
- children: "2000"
70
- })]
71
- })
46
+ price: ___EmotionJSX(React.Fragment, null, ___EmotionJSX(Currency, null), " ", ___EmotionJSX("strong", null, "2000"))
72
47
  }, {
73
48
  id: '1007',
74
49
  pallets: 17,
75
50
  from: 'Berlin',
76
51
  to: 'Oslo',
77
- price: _jsxs(_Fragment, {
78
- children: [_jsx(Currency, {}), " ", _jsx("strong", {
79
- children: "887"
80
- })]
81
- }),
52
+ price: ___EmotionJSX(React.Fragment, null, ___EmotionJSX(Currency, null), " ", ___EmotionJSX("strong", null, "887")),
82
53
  subRows: [{
83
54
  id: '1008',
84
55
  pallets: 14,
85
56
  from: 'Oslo',
86
57
  to: 'Cairo',
87
- price: _jsxs(_Fragment, {
88
- children: [_jsx(Currency, {}), " ", _jsx("strong", {
89
- children: "2400"
90
- })]
91
- })
58
+ price: ___EmotionJSX(React.Fragment, null, ___EmotionJSX(Currency, null), " ", ___EmotionJSX("strong", null, "2400"))
92
59
  }]
93
60
  }, {
94
61
  id: '1009',
95
62
  pallets: 23,
96
63
  from: 'Paris',
97
64
  to: 'Rome',
98
- price: _jsxs(_Fragment, {
99
- children: [_jsx(Currency, {}), " ", _jsx("strong", {
100
- children: "1280.30"
101
- })]
102
- })
65
+ price: ___EmotionJSX(React.Fragment, null, ___EmotionJSX(Currency, null), " ", ___EmotionJSX("strong", null, "1280.30"))
103
66
  }];
104
67
  export default tableRowsExpandable;
@@ -1,7 +1,7 @@
1
1
  import React from 'react';
2
2
  import { FooterMetaLinkProps } from './FooterMetaLink';
3
3
  import { FooterColumnProps } from './FooterColumn';
4
- export type FooterProps = {
4
+ export declare type FooterProps = {
5
5
  /**
6
6
  * Content to be displayed above footer columns
7
7
  */