@dfds-ui/experiences 2.2.0-alpha.8b995955 → 2.2.0-alpha.e010e72f
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.js +2 -3
- package/cjs/dynamic-table/Body/TableBody.types.d.ts +1 -1
- package/cjs/dynamic-table/Body/TableCell.js +4 -4
- package/cjs/dynamic-table/Body/TableCell.styles.d.ts +1 -1
- package/cjs/dynamic-table/Body/TableCell.styles.js +8 -9
- package/cjs/dynamic-table/Body/TableCell.types.d.ts +1 -1
- package/cjs/dynamic-table/Body/TableRow.js +4 -3
- package/cjs/dynamic-table/Body/TableRow.styles.d.ts +1 -1
- package/cjs/dynamic-table/Body/TableRow.styles.js +6 -3
- package/cjs/dynamic-table/Body/TableRow.types.d.ts +2 -2
- package/cjs/dynamic-table/Body/TableRowGroup.js +11 -2
- package/cjs/dynamic-table/Body/TableRowGroup.types.d.ts +2 -2
- package/cjs/dynamic-table/DynamicTable.js +36 -22
- package/cjs/dynamic-table/DynamicTable.styles.d.ts +1 -1
- package/cjs/dynamic-table/DynamicTable.types.d.ts +4 -4
- package/cjs/dynamic-table/Head/TableHead.js +1 -2
- package/cjs/dynamic-table/Head/TableHead.styles.js +21 -24
- package/cjs/dynamic-table/Head/TableHead.types.d.ts +5 -5
- package/cjs/dynamic-table/Skeleton/helpers/createSkeletonRows.js +2 -2
- package/cjs/dynamic-table/stories/tableRows.js +1 -1
- package/cjs/dynamic-table/stories/tableRowsExpandable.js +1 -1
- package/cjs/footer/Footer.d.ts +1 -1
- package/cjs/footer/Footer.js +13 -12
- package/cjs/footer/FooterColumn.d.ts +1 -1
- package/cjs/footer/FooterColumn.js +9 -7
- package/cjs/footer/FooterColumnItem.d.ts +1 -1
- package/cjs/footer/FooterColumnItem.js +15 -11
- package/cjs/footer/FooterMetaLink.d.ts +1 -1
- package/cjs/footer/FooterMetaLink.js +14 -10
- package/cjs/footer/index.js +4 -4
- package/cjs/index.js +6 -6
- package/cjs/internet-explorer-modal/IEModal.d.ts +1 -1
- package/cjs/internet-explorer-modal/IEModal.js +42 -26
- package/cjs/locale-selector/LocaleOption.d.ts +1 -1
- package/cjs/locale-selector/LocaleOption.js +1 -1
- package/cjs/locale-selector/LocaleSelector.d.ts +1 -1
- package/cjs/locale-selector/LocaleSelector.js +12 -4
- package/cjs/locale-selector/index.js +1 -1
- package/cjs/swiper/Swiper.d.ts +1 -1
- package/cjs/swiper/Swiper.js +1 -1
- package/cjs/swiper/SwiperCard.d.ts +1 -1
- package/cjs/swiper/SwiperCard.js +1 -1
- package/cjs/swiper/index.js +2 -2
- package/dynamic-table/Body/TableBody.js +5 -5
- package/dynamic-table/Body/TableBody.types.d.ts +1 -1
- package/dynamic-table/Body/TableCell.styles.d.ts +1 -1
- package/dynamic-table/Body/TableCell.styles.js +1 -1
- package/dynamic-table/Body/TableCell.types.d.ts +1 -1
- package/dynamic-table/Body/TableRow.styles.d.ts +1 -1
- package/dynamic-table/Body/TableRow.styles.js +1 -1
- package/dynamic-table/Body/TableRow.types.d.ts +2 -2
- package/dynamic-table/Body/TableRowGroup.js +4 -4
- package/dynamic-table/Body/TableRowGroup.types.d.ts +2 -2
- package/dynamic-table/DynamicTable.js +7 -7
- package/dynamic-table/DynamicTable.styles.d.ts +1 -1
- package/dynamic-table/DynamicTable.types.d.ts +4 -4
- package/dynamic-table/Head/TableHead.styles.js +1 -1
- package/dynamic-table/Head/TableHead.types.d.ts +5 -5
- package/dynamic-table/Skeleton/helpers/createSkeletonRows.js +5 -5
- package/footer/Footer.d.ts +1 -1
- package/footer/Footer.js +4 -4
- package/footer/FooterColumn.d.ts +1 -1
- package/footer/FooterColumn.js +4 -4
- package/footer/FooterColumnItem.d.ts +1 -1
- package/footer/FooterColumnItem.js +4 -4
- package/footer/FooterMetaLink.d.ts +1 -1
- package/footer/FooterMetaLink.js +3 -3
- package/internet-explorer-modal/IEModal.d.ts +1 -1
- package/internet-explorer-modal/IEModal.js +7 -7
- package/locale-selector/LocaleOption.d.ts +1 -1
- package/locale-selector/LocaleSelector.d.ts +1 -1
- package/locale-selector/LocaleSelector.js +5 -5
- package/package.json +10 -10
- package/swiper/Swiper.d.ts +1 -1
- package/swiper/SwiperCard.d.ts +1 -1
package/cjs/swiper/index.js
CHANGED
|
@@ -9,7 +9,7 @@ Object.keys(_Swiper).forEach(function (key) {
|
|
|
9
9
|
if (key in exports && exports[key] === _Swiper[key]) return;
|
|
10
10
|
Object.defineProperty(exports, key, {
|
|
11
11
|
enumerable: true,
|
|
12
|
-
get: function () {
|
|
12
|
+
get: function get() {
|
|
13
13
|
return _Swiper[key];
|
|
14
14
|
}
|
|
15
15
|
});
|
|
@@ -20,7 +20,7 @@ Object.keys(_SwiperCard).forEach(function (key) {
|
|
|
20
20
|
if (key in exports && exports[key] === _SwiperCard[key]) return;
|
|
21
21
|
Object.defineProperty(exports, key, {
|
|
22
22
|
enumerable: true,
|
|
23
|
-
get: function () {
|
|
23
|
+
get: function get() {
|
|
24
24
|
return _SwiperCard[key];
|
|
25
25
|
}
|
|
26
26
|
});
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
function _toConsumableArray(
|
|
1
|
+
function _toConsumableArray(r) { return _arrayWithoutHoles(r) || _iterableToArray(r) || _unsupportedIterableToArray(r) || _nonIterableSpread(); }
|
|
2
2
|
function _nonIterableSpread() { throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); }
|
|
3
|
-
function _unsupportedIterableToArray(
|
|
4
|
-
function _iterableToArray(
|
|
5
|
-
function _arrayWithoutHoles(
|
|
6
|
-
function _arrayLikeToArray(
|
|
3
|
+
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; } }
|
|
4
|
+
function _iterableToArray(r) { if ("undefined" != typeof Symbol && null != r[Symbol.iterator] || null != r["@@iterator"]) return Array.from(r); }
|
|
5
|
+
function _arrayWithoutHoles(r) { if (Array.isArray(r)) return _arrayLikeToArray(r); }
|
|
6
|
+
function _arrayLikeToArray(r, a) { (null == a || a > r.length) && (a = r.length); for (var e = 0, n = Array(a); e < a; e++) { n[e] = r[e]; } return n; }
|
|
7
7
|
import React, { useCallback } from 'react';
|
|
8
8
|
import TableRowGroup from './TableRowGroup';
|
|
9
9
|
import { jsx as ___EmotionJSX } from "@emotion/react";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
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
2
|
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; }
|
|
3
3
|
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; }
|
|
4
|
-
function _defineProperty(
|
|
4
|
+
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; }
|
|
5
5
|
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : i + ""; }
|
|
6
6
|
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); }
|
|
7
7
|
import { theme } from '@dfds-ui/theme';
|
|
@@ -1,7 +1,7 @@
|
|
|
1
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
2
|
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; }
|
|
3
3
|
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; }
|
|
4
|
-
function _defineProperty(
|
|
4
|
+
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; }
|
|
5
5
|
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : i + ""; }
|
|
6
6
|
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); }
|
|
7
7
|
import { theme } from '@dfds-ui/theme';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
2
|
import { Header, Row } from '../DynamicTable.types';
|
|
3
|
-
export type TableRowProps = {
|
|
3
|
+
export declare type TableRowProps = {
|
|
4
4
|
expandable?: boolean;
|
|
5
5
|
headerRow: Header[];
|
|
6
6
|
isActive: boolean;
|
|
@@ -14,6 +14,6 @@ export type TableRowProps = {
|
|
|
14
14
|
setIsExpanded: React.Dispatch<React.SetStateAction<boolean>>;
|
|
15
15
|
showExpander?: boolean;
|
|
16
16
|
};
|
|
17
|
-
export type ChevronProps = {
|
|
17
|
+
export declare type ChevronProps = {
|
|
18
18
|
expanded: boolean;
|
|
19
19
|
};
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
function _slicedToArray(
|
|
1
|
+
function _slicedToArray(r, e) { return _arrayWithHoles(r) || _iterableToArrayLimit(r, e) || _unsupportedIterableToArray(r, e) || _nonIterableRest(); }
|
|
2
2
|
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."); }
|
|
3
|
-
function _unsupportedIterableToArray(
|
|
4
|
-
function _arrayLikeToArray(
|
|
3
|
+
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; } }
|
|
4
|
+
function _arrayLikeToArray(r, a) { (null == a || a > r.length) && (a = r.length); for (var e = 0, n = Array(a); e < a; e++) { n[e] = r[e]; } return n; }
|
|
5
5
|
function _iterableToArrayLimit(r, l) { var t = null == r ? null : "undefined" != typeof Symbol && r[Symbol.iterator] || r["@@iterator"]; if (null != t) { var e, n, i, u, a = [], f = !0, o = !1; try { if (i = (t = t.call(r)).next, 0 === l) { if (Object(t) !== t) return; f = !1; } else for (; !(f = (e = i.call(t)).done) && (a.push(e.value), a.length !== l); f = !0) { ; } } catch (r) { o = !0, n = r; } finally { try { if (!f && null != t["return"] && (u = t["return"](), Object(u) !== u)) return; } finally { if (o) throw n; } } return a; } }
|
|
6
|
-
function _arrayWithHoles(
|
|
6
|
+
function _arrayWithHoles(r) { if (Array.isArray(r)) return r; }
|
|
7
7
|
import React from 'react';
|
|
8
8
|
import TableRow from './TableRow';
|
|
9
9
|
import { jsx as ___EmotionJSX } from "@emotion/react";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { Header, Row } from '../DynamicTable.types';
|
|
2
|
-
export type TableRowGroupProps = {
|
|
2
|
+
export declare type TableRowGroupProps = {
|
|
3
3
|
activeRow?: string;
|
|
4
4
|
expandable?: boolean;
|
|
5
5
|
headerRow: Header[];
|
|
@@ -9,6 +9,6 @@ export type TableRowGroupProps = {
|
|
|
9
9
|
selectableRows: boolean;
|
|
10
10
|
selectedRows: string[];
|
|
11
11
|
};
|
|
12
|
-
export type ChevronProps = {
|
|
12
|
+
export declare type ChevronProps = {
|
|
13
13
|
expanded: boolean;
|
|
14
14
|
};
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
var _excluded = ["activeRow", "descending", "expandable", "height", "headerRow", "isLoading", "onClickRow", "onSelectRow", "onSort", "rows", "selectedRows", "sortingBy", "stickyHeader"];
|
|
2
|
-
function _extends() { _extends = Object.assign ? Object.assign.bind() : function (
|
|
3
|
-
function _slicedToArray(
|
|
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); }
|
|
3
|
+
function _slicedToArray(r, e) { return _arrayWithHoles(r) || _iterableToArrayLimit(r, e) || _unsupportedIterableToArray(r, e) || _nonIterableRest(); }
|
|
4
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."); }
|
|
5
|
-
function _unsupportedIterableToArray(
|
|
6
|
-
function _arrayLikeToArray(
|
|
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; } }
|
|
6
|
+
function _arrayLikeToArray(r, a) { (null == a || a > r.length) && (a = r.length); for (var e = 0, n = Array(a); e < a; e++) { n[e] = r[e]; } return n; }
|
|
7
7
|
function _iterableToArrayLimit(r, l) { var t = null == r ? null : "undefined" != typeof Symbol && r[Symbol.iterator] || r["@@iterator"]; if (null != t) { var e, n, i, u, a = [], f = !0, o = !1; try { if (i = (t = t.call(r)).next, 0 === l) { if (Object(t) !== t) return; f = !1; } else for (; !(f = (e = i.call(t)).done) && (a.push(e.value), a.length !== l); f = !0) { ; } } catch (r) { o = !0, n = r; } finally { try { if (!f && null != t["return"] && (u = t["return"](), Object(u) !== u)) return; } finally { if (o) throw n; } } return a; } }
|
|
8
|
-
function _arrayWithHoles(
|
|
9
|
-
function _objectWithoutProperties(
|
|
10
|
-
function _objectWithoutPropertiesLoose(
|
|
8
|
+
function _arrayWithHoles(r) { if (Array.isArray(r)) return r; }
|
|
9
|
+
function _objectWithoutProperties(e, t) { if (null == e) return {}; var o, r, i = _objectWithoutPropertiesLoose(e, t); if (Object.getOwnPropertySymbols) { var n = Object.getOwnPropertySymbols(e); for (r = 0; r < n.length; r++) { o = n[r], -1 === t.indexOf(o) && {}.propertyIsEnumerable.call(e, o) && (i[o] = e[o]); } } return i; }
|
|
10
|
+
function _objectWithoutPropertiesLoose(r, e) { if (null == r) return {}; var t = {}; for (var n in r) { if ({}.hasOwnProperty.call(r, n)) { if (-1 !== e.indexOf(n)) continue; t[n] = r[n]; } } return t; }
|
|
11
11
|
import React, { useEffect, useMemo, useState } from 'react';
|
|
12
12
|
import TableBody from './Body/TableBody';
|
|
13
13
|
import { tableStyles, tableWrapperStyles } from './DynamicTable.styles';
|
|
@@ -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,7 +1,7 @@
|
|
|
1
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
2
|
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; }
|
|
3
3
|
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; }
|
|
4
|
-
function _defineProperty(
|
|
4
|
+
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; }
|
|
5
5
|
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : i + ""; }
|
|
6
6
|
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); }
|
|
7
7
|
import { theme } from '@dfds-ui/theme';
|
|
@@ -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
|
};
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
function _toConsumableArray(
|
|
1
|
+
function _toConsumableArray(r) { return _arrayWithoutHoles(r) || _iterableToArray(r) || _unsupportedIterableToArray(r) || _nonIterableSpread(); }
|
|
2
2
|
function _nonIterableSpread() { throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); }
|
|
3
|
-
function _unsupportedIterableToArray(
|
|
4
|
-
function _iterableToArray(
|
|
5
|
-
function _arrayWithoutHoles(
|
|
6
|
-
function _arrayLikeToArray(
|
|
3
|
+
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; } }
|
|
4
|
+
function _iterableToArray(r) { if ("undefined" != typeof Symbol && null != r[Symbol.iterator] || null != r["@@iterator"]) return Array.from(r); }
|
|
5
|
+
function _arrayWithoutHoles(r) { if (Array.isArray(r)) return _arrayLikeToArray(r); }
|
|
6
|
+
function _arrayLikeToArray(r, a) { (null == a || a > r.length) && (a = r.length); for (var e = 0, n = Array(a); e < a; e++) { n[e] = r[e]; } return n; }
|
|
7
7
|
function _EMOTION_STRINGIFIED_CSS_ERROR__() { return "You have tried to stringify object returned from `css` function. It isn't supposed to be used directly (e.g. as value of the `className` prop), but rather handed to emotion so it can handle it (e.g. as value of `css` prop)."; }
|
|
8
8
|
import React from 'react';
|
|
9
9
|
import { Skeleton } from '@dfds-ui/react-components';
|
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 type FooterProps = {
|
|
4
|
+
export declare type FooterProps = {
|
|
5
5
|
/**
|
|
6
6
|
* Content to be displayed above footer columns
|
|
7
7
|
*/
|
package/footer/Footer.js
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
var _templateObject, _templateObject2, _templateObject3, _templateObject4, _templateObject5, _templateObject6, _templateObject7;
|
|
2
2
|
var _excluded = ["topElement", "children", "metaLinks", "features"];
|
|
3
|
-
function _extends() { _extends = Object.assign ? Object.assign.bind() : function (
|
|
4
|
-
function _taggedTemplateLiteral(
|
|
5
|
-
function _objectWithoutProperties(
|
|
6
|
-
function _objectWithoutPropertiesLoose(
|
|
3
|
+
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); }
|
|
4
|
+
function _taggedTemplateLiteral(e, t) { return t || (t = e.slice(0)), Object.freeze(Object.defineProperties(e, { raw: { value: Object.freeze(t) } })); }
|
|
5
|
+
function _objectWithoutProperties(e, t) { if (null == e) return {}; var o, r, i = _objectWithoutPropertiesLoose(e, t); if (Object.getOwnPropertySymbols) { var n = Object.getOwnPropertySymbols(e); for (r = 0; r < n.length; r++) { o = n[r], -1 === t.indexOf(o) && {}.propertyIsEnumerable.call(e, o) && (i[o] = e[o]); } } return i; }
|
|
6
|
+
function _objectWithoutPropertiesLoose(r, e) { if (null == r) return {}; var t = {}; for (var n in r) { if ({}.hasOwnProperty.call(r, n)) { if (-1 !== e.indexOf(n)) continue; t[n] = r[n]; } } return t; }
|
|
7
7
|
function _EMOTION_STRINGIFIED_CSS_ERROR__() { return "You have tried to stringify object returned from `css` function. It isn't supposed to be used directly (e.g. as value of the `className` prop), but rather handed to emotion so it can handle it (e.g. as value of `css` prop)."; }
|
|
8
8
|
import React from 'react';
|
|
9
9
|
import { theme, media, useBreakpoint } from '@dfds-ui/theme';
|
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 type FooterColumnProps = {
|
|
3
|
+
export declare type FooterColumnProps = {
|
|
4
4
|
children: ReactElement<FooterColumnItemProps> | ReactElement<FooterColumnItemProps>[];
|
|
5
5
|
/**
|
|
6
6
|
* Column title
|
package/footer/FooterColumn.js
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
var _templateObject;
|
|
2
2
|
var _excluded = ["children", "title"];
|
|
3
|
-
function _extends() { _extends = Object.assign ? Object.assign.bind() : function (
|
|
4
|
-
function _taggedTemplateLiteral(
|
|
5
|
-
function _objectWithoutProperties(
|
|
6
|
-
function _objectWithoutPropertiesLoose(
|
|
3
|
+
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); }
|
|
4
|
+
function _taggedTemplateLiteral(e, t) { return t || (t = e.slice(0)), Object.freeze(Object.defineProperties(e, { raw: { value: Object.freeze(t) } })); }
|
|
5
|
+
function _objectWithoutProperties(e, t) { if (null == e) return {}; var o, r, i = _objectWithoutPropertiesLoose(e, t); if (Object.getOwnPropertySymbols) { var n = Object.getOwnPropertySymbols(e); for (r = 0; r < n.length; r++) { o = n[r], -1 === t.indexOf(o) && {}.propertyIsEnumerable.call(e, o) && (i[o] = e[o]); } } return i; }
|
|
6
|
+
function _objectWithoutPropertiesLoose(r, e) { if (null == r) return {}; var t = {}; for (var n in r) { if ({}.hasOwnProperty.call(r, n)) { if (-1 !== e.indexOf(n)) continue; t[n] = r[n]; } } return t; }
|
|
7
7
|
import React from 'react';
|
|
8
8
|
import { FlexBox } from '@dfds-ui/react-components/flexbox';
|
|
9
9
|
import { Text } from '@dfds-ui/typography';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { FC } from 'react';
|
|
2
2
|
import { LinkButtonProps } from '@dfds-ui/react-components';
|
|
3
|
-
export type FooterColumnItemProps = {
|
|
3
|
+
export declare type FooterColumnItemProps = {
|
|
4
4
|
className?: string;
|
|
5
5
|
} & LinkButtonProps;
|
|
6
6
|
export declare const FooterColumnItem: FC<FooterColumnItemProps>;
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
var _templateObject;
|
|
2
2
|
var _excluded = ["children", "className"];
|
|
3
|
-
function _extends() { _extends = Object.assign ? Object.assign.bind() : function (
|
|
4
|
-
function _taggedTemplateLiteral(
|
|
5
|
-
function _objectWithoutProperties(
|
|
6
|
-
function _objectWithoutPropertiesLoose(
|
|
3
|
+
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); }
|
|
4
|
+
function _taggedTemplateLiteral(e, t) { return t || (t = e.slice(0)), Object.freeze(Object.defineProperties(e, { raw: { value: Object.freeze(t) } })); }
|
|
5
|
+
function _objectWithoutProperties(e, t) { if (null == e) return {}; var o, r, i = _objectWithoutPropertiesLoose(e, t); if (Object.getOwnPropertySymbols) { var n = Object.getOwnPropertySymbols(e); for (r = 0; r < n.length; r++) { o = n[r], -1 === t.indexOf(o) && {}.propertyIsEnumerable.call(e, o) && (i[o] = e[o]); } } return i; }
|
|
6
|
+
function _objectWithoutPropertiesLoose(r, e) { if (null == r) return {}; var t = {}; for (var n in r) { if ({}.hasOwnProperty.call(r, n)) { if (-1 !== e.indexOf(n)) continue; t[n] = r[n]; } } return t; }
|
|
7
7
|
import React from 'react';
|
|
8
8
|
import { theme, media } from '@dfds-ui/theme';
|
|
9
9
|
import { css } from '@emotion/react';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { FC } from 'react';
|
|
2
2
|
import { LinkButtonProps } from '@dfds-ui/react-components';
|
|
3
|
-
export type FooterMetaLinkProps = {
|
|
3
|
+
export declare type FooterMetaLinkProps = {
|
|
4
4
|
className?: string;
|
|
5
5
|
} & LinkButtonProps;
|
|
6
6
|
export declare const FooterMetaLink: FC<FooterMetaLinkProps>;
|
package/footer/FooterMetaLink.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
var _excluded = ["children", "className"];
|
|
2
|
-
function _extends() { _extends = Object.assign ? Object.assign.bind() : function (
|
|
3
|
-
function _objectWithoutProperties(
|
|
4
|
-
function _objectWithoutPropertiesLoose(
|
|
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); }
|
|
3
|
+
function _objectWithoutProperties(e, t) { if (null == e) return {}; var o, r, i = _objectWithoutPropertiesLoose(e, t); if (Object.getOwnPropertySymbols) { var n = Object.getOwnPropertySymbols(e); for (r = 0; r < n.length; r++) { o = n[r], -1 === t.indexOf(o) && {}.propertyIsEnumerable.call(e, o) && (i[o] = e[o]); } } return i; }
|
|
4
|
+
function _objectWithoutPropertiesLoose(r, e) { if (null == r) return {}; var t = {}; for (var n in r) { if ({}.hasOwnProperty.call(r, n)) { if (-1 !== e.indexOf(n)) continue; t[n] = r[n]; } } return t; }
|
|
5
5
|
function _EMOTION_STRINGIFIED_CSS_ERROR__() { return "You have tried to stringify object returned from `css` function. It isn't supposed to be used directly (e.g. as value of the `className` prop), but rather handed to emotion so it can handle it (e.g. as value of `css` prop)."; }
|
|
6
6
|
import React from 'react';
|
|
7
7
|
import { theme, media } from '@dfds-ui/theme';
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import { css as _css } from "@emotion/react";
|
|
2
2
|
var _excluded = ["heading", "description", "goToFrontPageText", "openPageInEdgeText", "headerClassName", "noContentPadding", "column", "zIndex", "sizes", "canClose", "closeTabIndex", "onRequestClose", "onCompatibleBrowserDetected"];
|
|
3
|
-
function _extends() { _extends = Object.assign ? Object.assign.bind() : function (
|
|
3
|
+
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); }
|
|
4
4
|
function _EMOTION_STRINGIFIED_CSS_ERROR__() { return "You have tried to stringify object returned from `css` function. It isn't supposed to be used directly (e.g. as value of the `className` prop), but rather handed to emotion so it can handle it (e.g. as value of `css` prop)."; }
|
|
5
|
-
function _slicedToArray(
|
|
5
|
+
function _slicedToArray(r, e) { return _arrayWithHoles(r) || _iterableToArrayLimit(r, e) || _unsupportedIterableToArray(r, e) || _nonIterableRest(); }
|
|
6
6
|
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."); }
|
|
7
|
-
function _unsupportedIterableToArray(
|
|
8
|
-
function _arrayLikeToArray(
|
|
7
|
+
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; } }
|
|
8
|
+
function _arrayLikeToArray(r, a) { (null == a || a > r.length) && (a = r.length); for (var e = 0, n = Array(a); e < a; e++) { n[e] = r[e]; } return n; }
|
|
9
9
|
function _iterableToArrayLimit(r, l) { var t = null == r ? null : "undefined" != typeof Symbol && r[Symbol.iterator] || r["@@iterator"]; if (null != t) { var e, n, i, u, a = [], f = !0, o = !1; try { if (i = (t = t.call(r)).next, 0 === l) { if (Object(t) !== t) return; f = !1; } else for (; !(f = (e = i.call(t)).done) && (a.push(e.value), a.length !== l); f = !0) { ; } } catch (r) { o = !0, n = r; } finally { try { if (!f && null != t["return"] && (u = t["return"](), Object(u) !== u)) return; } finally { if (o) throw n; } } return a; } }
|
|
10
|
-
function _arrayWithHoles(
|
|
11
|
-
function _objectWithoutProperties(
|
|
12
|
-
function _objectWithoutPropertiesLoose(
|
|
10
|
+
function _arrayWithHoles(r) { if (Array.isArray(r)) return r; }
|
|
11
|
+
function _objectWithoutProperties(e, t) { if (null == e) return {}; var o, r, i = _objectWithoutPropertiesLoose(e, t); if (Object.getOwnPropertySymbols) { var n = Object.getOwnPropertySymbols(e); for (r = 0; r < n.length; r++) { o = n[r], -1 === t.indexOf(o) && {}.propertyIsEnumerable.call(e, o) && (i[o] = e[o]); } } return i; }
|
|
12
|
+
function _objectWithoutPropertiesLoose(r, e) { if (null == r) return {}; var t = {}; for (var n in r) { if ({}.hasOwnProperty.call(r, n)) { if (-1 !== e.indexOf(n)) continue; t[n] = r[n]; } } return t; }
|
|
13
13
|
import React from 'react';
|
|
14
14
|
import { SmallHeadline } from '@dfds-ui/react-components';
|
|
15
15
|
import { ModalHeader, ModalDialog, ModalBody, defaultProps, ModalActionsContainer, ModalAction, ModalCloseButton } from '@dfds-ui/modal';
|
|
@@ -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 type LocaleSelectorProps = PropsWithChildren<{
|
|
4
|
+
export declare type LocaleSelectorProps = PropsWithChildren<{
|
|
5
5
|
/**
|
|
6
6
|
* Provide limited set of locales to choose from
|
|
7
7
|
*/
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
var _templateObject;
|
|
2
|
-
function _taggedTemplateLiteral(
|
|
3
|
-
function _slicedToArray(
|
|
2
|
+
function _taggedTemplateLiteral(e, t) { return t || (t = e.slice(0)), Object.freeze(Object.defineProperties(e, { raw: { value: Object.freeze(t) } })); }
|
|
3
|
+
function _slicedToArray(r, e) { return _arrayWithHoles(r) || _iterableToArrayLimit(r, e) || _unsupportedIterableToArray(r, e) || _nonIterableRest(); }
|
|
4
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."); }
|
|
5
|
-
function _unsupportedIterableToArray(
|
|
6
|
-
function _arrayLikeToArray(
|
|
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; } }
|
|
6
|
+
function _arrayLikeToArray(r, a) { (null == a || a > r.length) && (a = r.length); for (var e = 0, n = Array(a); e < a; e++) { n[e] = r[e]; } return n; }
|
|
7
7
|
function _iterableToArrayLimit(r, l) { var t = null == r ? null : "undefined" != typeof Symbol && r[Symbol.iterator] || r["@@iterator"]; if (null != t) { var e, n, i, u, a = [], f = !0, o = !1; try { if (i = (t = t.call(r)).next, 0 === l) { if (Object(t) !== t) return; f = !1; } else for (; !(f = (e = i.call(t)).done) && (a.push(e.value), a.length !== l); f = !0) { ; } } catch (r) { o = !0, n = r; } finally { try { if (!f && null != t["return"] && (u = t["return"](), Object(u) !== u)) return; } finally { if (o) throw n; } } return a; } }
|
|
8
|
-
function _arrayWithHoles(
|
|
8
|
+
function _arrayWithHoles(r) { if (Array.isArray(r)) return r; }
|
|
9
9
|
function _EMOTION_STRINGIFIED_CSS_ERROR__() { return "You have tried to stringify object returned from `css` function. It isn't supposed to be used directly (e.g. as value of the `className` prop), but rather handed to emotion so it can handle it (e.g. as value of `css` prop)."; }
|
|
10
10
|
import React, { useState, forwardRef } from 'react';
|
|
11
11
|
import { LinkButton, localeData, LocaleFlag, locales as allLocales } from '@dfds-ui/react-components';
|
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.e010e72f",
|
|
7
7
|
"sideEffects": false,
|
|
8
8
|
"main": "./cjs/index.js",
|
|
9
9
|
"module": "./index.js",
|
|
@@ -16,16 +16,16 @@
|
|
|
16
16
|
"react-dom": ">= 17.0.2"
|
|
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.e010e72f",
|
|
20
|
+
"@dfds-ui/forms": "2.2.0-alpha.e010e72f",
|
|
21
|
+
"@dfds-ui/grid": "2.2.0-alpha.e010e72f",
|
|
22
|
+
"@dfds-ui/icons": "2.2.0-alpha.e010e72f",
|
|
23
|
+
"@dfds-ui/modal": "2.2.0-alpha.e010e72f",
|
|
24
|
+
"@dfds-ui/react-components": "2.2.0-alpha.e010e72f",
|
|
25
|
+
"@dfds-ui/theme": "2.2.0-alpha.e010e72f",
|
|
26
|
+
"@dfds-ui/typography": "2.2.0-alpha.e010e72f"
|
|
27
27
|
},
|
|
28
|
-
"gitHead": "
|
|
28
|
+
"gitHead": "e010e72fc63a082f93fa8023dc3c751d4fbf2016",
|
|
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 type SwiperCardProps = React.PropsWithChildren<{
|
|
2
|
+
export declare type SwiperCardProps = React.PropsWithChildren<{
|
|
3
3
|
className?: string;
|
|
4
4
|
}>;
|
|
5
5
|
export declare const SwiperCard: ({ className, children }: SwiperCardProps) => JSX.Element;
|