@dfds-ui/experiences 2.0.29-alpha.f605f2f9 → 2.0.29-alpha.fae844df
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 -2
- package/cjs/dynamic-table/Body/TableCell.styles.js +6 -4
- package/cjs/dynamic-table/Body/TableRow.js +11 -7
- package/cjs/dynamic-table/Body/TableRow.styles.js +13 -7
- package/cjs/dynamic-table/Body/TableRowGroup.js +9 -7
- package/cjs/dynamic-table/Head/TableHead.js +5 -1
- package/cjs/dynamic-table/Head/TableHead.styles.js +17 -5
- package/cjs/dynamic-table/Skeleton/helpers/createSkeletonRows.js +3 -2
- package/dynamic-table/Body/TableBody.js +2 -2
- package/dynamic-table/Body/TableCell.styles.d.ts +1 -1
- package/dynamic-table/Body/TableCell.styles.js +6 -4
- package/dynamic-table/Body/TableRow.d.ts +1 -1
- package/dynamic-table/Body/TableRow.js +13 -7
- package/dynamic-table/Body/TableRow.styles.js +3 -3
- package/dynamic-table/Body/TableRow.types.d.ts +1 -0
- package/dynamic-table/Body/TableRowGroup.js +9 -7
- package/dynamic-table/Head/TableHead.js +6 -2
- package/dynamic-table/Head/TableHead.styles.d.ts +2 -1
- package/dynamic-table/Head/TableHead.styles.js +16 -8
- package/dynamic-table/Head/TableHead.types.d.ts +3 -0
- package/dynamic-table/Skeleton/helpers/createSkeletonRows.js +3 -2
- package/package.json +10 -10
- package/cjs/dynamic-table/Body/TableBody.d.ts +0 -4
- package/cjs/dynamic-table/Body/TableBody.types.d.ts +0 -11
- package/cjs/dynamic-table/Body/TableCell.d.ts +0 -4
- package/cjs/dynamic-table/Body/TableCell.styles.d.ts +0 -9
- package/cjs/dynamic-table/Body/TableCell.types.d.ts +0 -6
- package/cjs/dynamic-table/Body/TableRow.d.ts +0 -4
- package/cjs/dynamic-table/Body/TableRow.styles.d.ts +0 -11
- package/cjs/dynamic-table/Body/TableRow.types.d.ts +0 -17
- package/cjs/dynamic-table/Body/TableRowGroup.d.ts +0 -4
- package/cjs/dynamic-table/Body/TableRowGroup.types.d.ts +0 -14
- package/cjs/dynamic-table/DynamicTable.d.ts +0 -4
- package/cjs/dynamic-table/DynamicTable.styles.d.ts +0 -6
- package/cjs/dynamic-table/DynamicTable.types.d.ts +0 -36
- package/cjs/dynamic-table/Head/TableHead.d.ts +0 -4
- package/cjs/dynamic-table/Head/TableHead.styles.d.ts +0 -4
- package/cjs/dynamic-table/Head/TableHead.types.d.ts +0 -33
- package/cjs/dynamic-table/Skeleton/SkeletonTable.styles.d.ts +0 -1
- package/cjs/dynamic-table/Skeleton/helpers/createSkeletonRows.d.ts +0 -3
- package/cjs/dynamic-table/helpers/getHeaderRow.d.ts +0 -3
- package/cjs/dynamic-table/stories/headerRow.d.ts +0 -3
- package/cjs/dynamic-table/stories/headerRowSortable.d.ts +0 -3
- package/cjs/dynamic-table/stories/tableRows.d.ts +0 -3
- package/cjs/dynamic-table/stories/tableRowsExpandable.d.ts +0 -3
- package/cjs/footer/Footer.d.ts +0 -23
- package/cjs/footer/FooterColumn.d.ts +0 -11
- package/cjs/footer/FooterColumnItem.d.ts +0 -7
- package/cjs/footer/FooterMetaLink.d.ts +0 -7
- package/cjs/footer/index.d.ts +0 -4
- package/cjs/index.d.ts +0 -5
- package/cjs/internet-explorer-modal/IEModal.d.ts +0 -69
- package/cjs/locale-selector/LocaleOption.d.ts +0 -9
- package/cjs/locale-selector/LocaleSelector.d.ts +0 -53
- package/cjs/locale-selector/index.d.ts +0 -1
- package/cjs/swiper/Swiper.d.ts +0 -5
- package/cjs/swiper/SwiperCard.d.ts +0 -5
- package/cjs/swiper/index.d.ts +0 -2
|
@@ -1,69 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import { ModalSizes } from '@dfds-ui/modal';
|
|
3
|
-
export declare type IEModalProps = React.PropsWithChildren<{
|
|
4
|
-
className?: string;
|
|
5
|
-
/**
|
|
6
|
-
* Add heading on the Modal.
|
|
7
|
-
*/
|
|
8
|
-
heading?: React.ReactNode;
|
|
9
|
-
/**
|
|
10
|
-
* Class name to be added to the header of the Modal.
|
|
11
|
-
*/
|
|
12
|
-
headerClassName?: string;
|
|
13
|
-
/**
|
|
14
|
-
* Description to be shown a main text in the modal.
|
|
15
|
-
* Placeholders '{Edge}', '{Chrome}' and '{Firefox}' will be replaced with links to download the individual browser.
|
|
16
|
-
*/
|
|
17
|
-
description: string;
|
|
18
|
-
/**
|
|
19
|
-
* Text to be displayed on the 'Go to front page' button
|
|
20
|
-
*/
|
|
21
|
-
goToFrontPageText: string;
|
|
22
|
-
/**
|
|
23
|
-
* Text to be displayed on the 'Open page in Microsoft Edge' button
|
|
24
|
-
*/
|
|
25
|
-
openPageInEdgeText: string;
|
|
26
|
-
/**
|
|
27
|
-
* Add or remove padding inside the Modal.
|
|
28
|
-
*/
|
|
29
|
-
noContentPadding?: boolean;
|
|
30
|
-
/**
|
|
31
|
-
* Add a z-index prop to modal to specify the stack order.
|
|
32
|
-
*/
|
|
33
|
-
zIndex?: number;
|
|
34
|
-
/**
|
|
35
|
-
* Display content in a column direction.
|
|
36
|
-
*/
|
|
37
|
-
column?: boolean;
|
|
38
|
-
/**
|
|
39
|
-
* Sizes (width) of the modal for the different breakpoints.
|
|
40
|
-
* Apart from normal css units a special value of `fullscreen` is also
|
|
41
|
-
* supported.
|
|
42
|
-
* @example
|
|
43
|
-
* sizes={{ s: 'fullscreen', m: 'fullscreen', l: '80%', xl: '80%', xxl: '80%' }}
|
|
44
|
-
*/
|
|
45
|
-
sizes?: ModalSizes;
|
|
46
|
-
/**
|
|
47
|
-
* If set to `true` the modal will not be vertically centered.
|
|
48
|
-
* Only applies to larger screensizes
|
|
49
|
-
*/
|
|
50
|
-
fixedTopPosition?: boolean;
|
|
51
|
-
/**
|
|
52
|
-
* If set to `true` the area around the modal is semi transparent and the close button becomes visible.
|
|
53
|
-
*/
|
|
54
|
-
canClose?: boolean;
|
|
55
|
-
/**
|
|
56
|
-
* Removes the modal from the default navigation flow and also allows it to receive programmatic focus.
|
|
57
|
-
*/
|
|
58
|
-
closeTabIndex?: number;
|
|
59
|
-
/**
|
|
60
|
-
* Close the Modal after invoking the provided callback.
|
|
61
|
-
*/
|
|
62
|
-
onRequestClose?: () => void;
|
|
63
|
-
/**
|
|
64
|
-
* Callback is invoked when IEModal detects the browser is IE.
|
|
65
|
-
*/
|
|
66
|
-
onCompatibleBrowserDetected?: () => void;
|
|
67
|
-
}>;
|
|
68
|
-
export declare const IEModal: ({ heading, description, goToFrontPageText, openPageInEdgeText, headerClassName, noContentPadding, column, zIndex, sizes, canClose, closeTabIndex, onRequestClose, onCompatibleBrowserDetected, ...rest }: IEModalProps) => JSX.Element | null;
|
|
69
|
-
export default IEModal;
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
|
-
import { Locale } from '@dfds-ui/react-components';
|
|
3
|
-
export declare type LocaleOptionProps = {
|
|
4
|
-
label: string;
|
|
5
|
-
locale: Locale;
|
|
6
|
-
onClick: () => void;
|
|
7
|
-
};
|
|
8
|
-
export declare const LocaleOption: ({ label, locale, onClick }: LocaleOptionProps) => JSX.Element;
|
|
9
|
-
export default LocaleOption;
|
|
@@ -1,53 +0,0 @@
|
|
|
1
|
-
import React, { PropsWithChildren } from 'react';
|
|
2
|
-
import { Locale } from '@dfds-ui/react-components';
|
|
3
|
-
import { ModalProps } from '@dfds-ui/modal';
|
|
4
|
-
export declare type LocaleSelectorProps = PropsWithChildren<{
|
|
5
|
-
/**
|
|
6
|
-
* Provide limited set of locales to choose from
|
|
7
|
-
*/
|
|
8
|
-
locales?: ReadonlyArray<Locale>;
|
|
9
|
-
/**
|
|
10
|
-
* Text to display on button that open the selector as
|
|
11
|
-
* well as in the heading of the selector
|
|
12
|
-
*/
|
|
13
|
-
label?: string;
|
|
14
|
-
/**
|
|
15
|
-
* Current locale of the application
|
|
16
|
-
*/
|
|
17
|
-
currentLocale: Locale;
|
|
18
|
-
/** Callback function that fires with locale as an argument */
|
|
19
|
-
onChange: (locale: Locale) => void;
|
|
20
|
-
/** Disabled visual appearance and interaction disabled. */
|
|
21
|
-
disabled?: boolean;
|
|
22
|
-
/**
|
|
23
|
-
* className to be assigned to component.
|
|
24
|
-
*/
|
|
25
|
-
className?: string;
|
|
26
|
-
} & Pick<ModalProps, 'renderWhenClosed'>>;
|
|
27
|
-
/**
|
|
28
|
-
* A component to display a modal window where the user can select a locale.
|
|
29
|
-
*/
|
|
30
|
-
export declare const LocaleSelector: React.ForwardRefExoticComponent<{
|
|
31
|
-
/**
|
|
32
|
-
* Provide limited set of locales to choose from
|
|
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;
|
|
35
|
-
/**
|
|
36
|
-
* Text to display on button that open the selector as
|
|
37
|
-
* well as in the heading of the selector
|
|
38
|
-
*/
|
|
39
|
-
label?: string | undefined;
|
|
40
|
-
/**
|
|
41
|
-
* Current locale of the application
|
|
42
|
-
*/
|
|
43
|
-
currentLocale: Locale;
|
|
44
|
-
/** Callback function that fires with locale as an argument */
|
|
45
|
-
onChange: (locale: Locale) => void;
|
|
46
|
-
/** Disabled visual appearance and interaction disabled. */
|
|
47
|
-
disabled?: boolean | undefined;
|
|
48
|
-
/**
|
|
49
|
-
* className to be assigned to component.
|
|
50
|
-
*/
|
|
51
|
-
className?: string | undefined;
|
|
52
|
-
} & Pick<ModalProps, "renderWhenClosed"> & React.RefAttributes<unknown>>;
|
|
53
|
-
export default LocaleSelector;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from './LocaleSelector';
|
package/cjs/swiper/Swiper.d.ts
DELETED
package/cjs/swiper/index.d.ts
DELETED